From 09f4eb1865dc0bd35c8023e997fee521055de4f7 Mon Sep 17 00:00:00 2001 From: MohammadReza Palide Date: Tue, 6 Sep 2022 14:33:50 +0430 Subject: [PATCH] build-ui --- .../static/268.575055e245c2f30e.js | 1 + .../static/268.a17065c92eb396da.js | 1 - cmd/skywire-visor/static/3rdpartylicenses.txt | 26 ------------------- .../static/431.7c14efbe17d051f7.js | 1 - .../static/431.859df310b58bc96b.js | 1 + .../static/48.1bb60b158d93cf7f.js | 1 + .../static/48.e4209ce5b3b864c8.js | 1 - .../static/502.8f399c4d17e1a00c.js | 1 - .../static/502.e715733024006b44.js | 1 + .../static/634.3594ed6527ccf574.js | 1 - .../static/634.9f8ff3633ebe9e11.js | 1 + .../static/733.0148c3717285573b.js | 1 + .../static/733.390fd337c178d445.js | 1 - .../static/974.79c671e4ba6f6aa4.js | 1 - .../static/974.cbcda0695ddb168b.js | 1 + cmd/skywire-visor/static/assets/i18n/en.json | 4 ++- cmd/skywire-visor/static/assets/i18n/es.json | 4 ++- .../static/assets/i18n/es_base.json | 4 ++- .../static/assets/scss/_forms.scss | 6 +++++ .../assets/scss/_responsive_tables.scss | 10 ++++++- cmd/skywire-visor/static/index.html | 4 +-- .../static/main.bde75594f0aa0f88.js | 1 - .../static/main.ed4ff7cb47a5250a.js | 1 + .../static/polyfills.30bbe27e0ff95dbc.js | 1 + .../static/polyfills.3470f480c4d335d9.js | 1 - .../static/runtime.003d9240ba44c77e.js | 1 - .../static/runtime.a5c78662c56a0f1b.js | 1 + ...449c824.js => scripts.b072fe148dd68f99.js} | 2 +- .../static/styles.7b510655c4f90452.css | 6 +++++ .../static/styles.eaa8e1586d4829df.css | 6 ----- static/skywire-manager-src/dist/index.html | 4 +-- 31 files changed, 45 insertions(+), 51 deletions(-) create mode 100644 cmd/skywire-visor/static/268.575055e245c2f30e.js delete mode 100644 cmd/skywire-visor/static/268.a17065c92eb396da.js delete mode 100644 cmd/skywire-visor/static/431.7c14efbe17d051f7.js create mode 100644 cmd/skywire-visor/static/431.859df310b58bc96b.js create mode 100644 cmd/skywire-visor/static/48.1bb60b158d93cf7f.js delete mode 100644 cmd/skywire-visor/static/48.e4209ce5b3b864c8.js delete mode 100644 cmd/skywire-visor/static/502.8f399c4d17e1a00c.js create mode 100644 cmd/skywire-visor/static/502.e715733024006b44.js delete mode 100644 cmd/skywire-visor/static/634.3594ed6527ccf574.js create mode 100644 cmd/skywire-visor/static/634.9f8ff3633ebe9e11.js create mode 100644 cmd/skywire-visor/static/733.0148c3717285573b.js delete mode 100644 cmd/skywire-visor/static/733.390fd337c178d445.js delete mode 100644 cmd/skywire-visor/static/974.79c671e4ba6f6aa4.js create mode 100644 cmd/skywire-visor/static/974.cbcda0695ddb168b.js delete mode 100644 cmd/skywire-visor/static/main.bde75594f0aa0f88.js create mode 100644 cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js create mode 100644 cmd/skywire-visor/static/polyfills.30bbe27e0ff95dbc.js delete mode 100644 cmd/skywire-visor/static/polyfills.3470f480c4d335d9.js delete mode 100644 cmd/skywire-visor/static/runtime.003d9240ba44c77e.js create mode 100644 cmd/skywire-visor/static/runtime.a5c78662c56a0f1b.js rename cmd/skywire-visor/static/{scripts.db15b74cd449c824.js => scripts.b072fe148dd68f99.js} (56%) create mode 100644 cmd/skywire-visor/static/styles.7b510655c4f90452.css delete mode 100644 cmd/skywire-visor/static/styles.eaa8e1586d4829df.css diff --git a/cmd/skywire-visor/static/268.575055e245c2f30e.js b/cmd/skywire-visor/static/268.575055e245c2f30e.js new file mode 100644 index 0000000000..b922a654dc --- /dev/null +++ b/cmd/skywire-visor/static/268.575055e245c2f30e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[268],{4268:e=>{e.exports=JSON.parse('{"common":{"save":"Guardar","cancel":"Cancelar","downloaded":"Recibido","uploaded":"Enviado","loading-error":"Hubo un error obteniendo los datos. Reintentando...","operation-error":"Hubo un error al intentar completar la operaci\xf3n.","no-connection-error":"No hay conexi\xf3n a Internet o conexi\xf3n con el hipervisor.","error":"Error:","refreshed":"Datos refrescados.","options":"Opciones","logout":"Cerrar sesi\xf3n","logout-error":"Error cerrando la sesi\xf3n.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"S\xed","no":"No","unknown":"Desconocido","close":"Cerrar","window-size-error":"La ventana es demasiado estrecha para el contenido."},"labeled-element":{"edit-label":"Editar etiqueta","remove-label":"Remover etiqueta","copy":"Copiar","remove-label-confirmation":"\xbfRealmente desea eliminar la etiqueta?","unnamed-element":"Sin nombre","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Haga clic para copiar la entrada o cambiar la etiqueta","tooltip-with-text":"{{ text }} (Haga clic para copiar la entrada o cambiar la etiqueta)"},"labels":{"title":"Etiquetas","info":"Etiquetas que ha introducido para identificar f\xe1cilmente visores, transportes y otros elementos, en lugar de tener que leer identificadores generados por una m\xe1quina.","list-title":"Lista de etiquetas","label":"Etiqueta","id":"ID del elemento","type":"Tipo","delete-confirmation":"\xbfSeguro que desea borrar la etiqueta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las etiquetas seleccionados?","delete":"Borrar etiqueta","deleted":"Operaci\xf3n de borrado completada.","empty":"No hay etiquetas guardadas.","empty-with-filter":"Ninguna etiqueta coincide con los criterios de filtrado seleccionados.","filter-dialog":{"label":"La etiqueta debe contener","id":"El id debe contener","type":"El tipo debe ser","type-options":{"any":"Cualquiera","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtrar","filter-info":"Lista de filtros.","press-to-remove":"(Presione para remover los filtros)","remove-confirmation":"\xbfSeguro que desea remover los filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"Etiqueta","label":"(etiqueta)","inverted-order":"(invertido)"},"start":{"title":"Inicio","loading-error":"Hubo un error obteniendo los datos iniciales. Reintentando..."},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","statuses":{"online":"Online","online-tooltip":"El visor se encuentra online.","connecting":"Conectando","connecting-tooltip":"El visor se encuentra online, pero todav\xeda est\xe1 conectando con el uptime tracker.","unknown":"Desconocido","unknown-tooltip":"El visor se encuentra online, pero no ha sido posible determinar si est\xe1 conectado con el uptime tracker.","partially-online":"Online con problemas","partially-online-tooltip":"El visor se encuentra online, pero desconectado del uptime tracker.","offline":"Offline","offline-tooltip":"El visor se encuentra offline."},"details":{"node-info":{"title":"Informaci\xf3n del visor","label":"Etiqueta:","public-key":"Llave p\xfablica:","symmetic-nat":"NAT sim\xe9trica:","public-ip":"IP p\xfablica:","ip":"IP:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Versi\xf3n del visor:","build-type":"Tipo de build:","skybian-version":"Versi\xf3n de Skybian:","unknown-build":"Desconocido","time":{"title":"Tiempo online:","seconds":"unos segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 d\xeda","days":"{{ time }} d\xedas","week":"1 semana","weeks":"{{ time }} semanas"}},"transports-info":{"title":"Informaci\xf3n de Transportes","autoconnect":"Autoconectar:","autoconnect-info":"Al activarse, el visor crear\xe1 autom\xe1ticamente los transportes necesarios cuando se solicite la conexi\xf3n a un visor p\xfablico. Al desactivarse, los transportes deber\xe1n ser creados antes de poder establecer la conexi\xf3n.","enabled":"Activado","disabled":"Desactivado","enable-button":"Activar","disable-button":"Desactivar","enable-confirmation":"\xbfSeguro que desea activar la funci\xf3n de autoconectar?","disable-confirmation":"\xbfSeguro que desea desactivar la funci\xf3n de autoconectar?","enable-done":"La funci\xf3n de autoconectar ha sido activada.","disable-done":"La funci\xf3n de autoconectar ha sido desactivada."},"router-info":{"title":"Informaci\xf3n del Enrutador","min-hops":"Saltos m\xednimos:","max-hops":"Saltos m\xe1ximos:","change-config-button":"Cambiar configuraci\xf3n"},"node-health":{"title":"Informaci\xf3n de Salud","status":"Estatus:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Datos de tr\xe1fico"},"tabs":{"info":"Info","apps":"Apps","routing":"Enrutamiento"},"error-load":"Hubo un error al intentar refrescar los datos. Reintentando..."},"router-config":{"title":"Configuraci\xf3n del Enrutador","info":"Aqu\xed podr\xe1 configurar cuantos saltos la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final. NOTA: los cambios no afectar\xe1n a las rutas ya existentes.","min-hops":"Saltos m\xednimos","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","update-all":"Actualizar todos los visores online","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado actual","label":"Etiqueta","key":"Llave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor es el Hypervisor actual.","copy-key":"Copiar llave","copy-dmsg":"Copiar llave DMSG","copy-data":"Copiar datos","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos los visores offline","error-load":"Hubo un error al intentar refrescar la lista. Reintentando...","empty":"No hay ning\xfan visor conectado a este hypervisor.","empty-with-filter":"Ningun visor coincide con los criterios de filtrado seleccionados.","delete-node-confirmation":"\xbfSeguro que desea remover el visor de la lista?","delete-all-offline-confirmation":"\xbfSeguro que desea remover todos los visores offline de la lista?","delete-all-filtered-offline-confirmation":"Todos los visores offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos de la lista. \xbfSeguro que desea continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"No hay visores para actualizar.","filter-dialog":{"online":"El visor debe estar","label":"La etiqueta debe contener","key":"La llave debe contener","dmsg":"La llave del servidor DMSG debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","checking-auth":"Revisando configuraci\xf3n de autenticaci\xf3n.","password":{"initial-config-help":"Use esta opci\xf3n para establecer la contrase\xf1a inicial. Despu\xe9s de establecer una contrase\xf1a no es posible usar esta opci\xf3n para modificarla.","help":"Opciones para cambiar la contrase\xf1a.","old-password":"Contrase\xf1a actual","new-password":"Nueva contrase\xf1a","repeat-password":"Repita la contrase\xf1a","password-changed":"Contrase\xf1a cambiada.","error-changing":"Error cambiando la contrase\xf1a.","initial-config":{"title":"Establecer contrase\xf1a inicial","password":"Contrase\xf1a","repeat-password":"Repita la contrase\xf1a","set-password":"Establecer contrase\xf1a","done":"Contrase\xf1a establecida. Por favor \xfasela para acceder al sistema.","error":"Error. Por favor aseg\xfarese de que no hubiese establecido la contrase\xf1a anteriormente."},"errors":{"bad-old-password":"La contrase\xf1a actual introducida no es correcta.","old-password-required":"La contrase\xf1a actual es requerida.","new-password-error":"La contrase\xf1a debe tener entre 6 y 64 caracteres.","passwords-not-match":"Las contrase\xf1as no coinciden.","default-password":"No utilice la contrase\xf1a por defecto (1234)."}},"updater-config":{"open-link":"Mostrar la configuraci\xf3n del actualizador","open-confirmation":"La configuraci\xf3n del actualizador es s\xf3lo para usuarios experimentados. Seguro que desea continuar?","help":"Utilice este formulario para modificar la configuraci\xf3n que utilizar\xe1 el actualizador. Se ignorar\xe1n todos los campos vac\xedos. La configuraci\xf3n se utilizar\xe1 para todas las operaciones de actualizaci\xf3n, sin importar qu\xe9 elemento se est\xe9 actualizando, as\xed que por favor tenga cuidado.","channel":"Canal","version":"Versi\xf3n","archive-url":"URL del archivo","checksum-url":"URL del checksum","not-saved":"Los cambios a\xfan no se han guardado.","save":"Guardar cambios","remove-settings":"Remover la configuraci\xf3n","saved":"Las configuracion personalizada ha sido guardada.","removed":"Las configuracion personalizada ha sido removida.","save-confirmation":"\xbfSeguro que desea aplicar la configuraci\xf3n personalizada?","remove-confirmation":"\xbfSeguro que desea remover la configuraci\xf3n personalizada?"},"change-password":"Cambiar contrase\xf1a","refresh-rate":"Frecuencia de refrescado","refresh-rate-help":"Tiempo que el sistema espera para actualizar autom\xe1ticamente los datos.","refresh-rate-confirmation":"Frecuencia de refrescado cambiada.","seconds":"segundos"},"login":{"password":"Contrase\xf1a","incorrect-password":"Contrase\xf1a incorrecta.","initial-config":"Configurar lanzamiento inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configuraci\xf3n","update":"Actualizar","reboot":"Reiniciar","logs":"Ver logs"},"reboot":{"confirmation":"\xbfSeguro que desea reiniciar el visor?","done":"El visor se est\xe1 reiniciando."},"update":{"confirmation":"Una terminal ser\xe1 abierta en una nueva pesta\xf1a y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente. \xbfDesea continuar?"},"terminal-options":{"full":"Terminal completa","simple":"Terminal simple"},"terminal":{"title":"Terminal","input-start":"Terminal de Skywire para {{address}}","error":"Error inesperado mientras se intentaba ejecutar el comando."}},"update":{"title":"Actualizar","error-title":"Error","processing":"Buscando actualizaciones...","no-update":"No hay ninguna actualizaci\xf3n para el visor. La versi\xf3n instalada actualmente es:","no-updates":"No se encontraron nuevas actualizaciones.","already-updating":"Algunos visores ya est\xe1n siendo actualizandos:","with-error":"No fue posible verificar los siguientes visores:","update-available":"Las siguientes actualizaciones fueron encontradas:","update-available-singular":"Las siguientes actualizaciones para 1 visor fueron encontradas:","update-available-plural":"Las siguientes actualizaciones para {{ number }} visores fueron encontradas:","update-available-additional-singular":"Las siguientes actualizaciones adicionales para 1 visor fueron encontradas:","update-available-additional-plural":"Las siguientes actualizaciones adicionales para {{ number }} visores fueron encontradas:","update-instructions":"Haga clic en el bot\xf3n \'Instalar actualizaciones\' para continuar.","updating":"La operaci\xf3n de actualizaci\xf3n se ha iniciado, puede abrir esta ventana nuevamente para verificar el progreso:","version-change":"De {{ currentVersion }} a {{ newVersion }}","selected-channel":"Canal seleccionado:","downloaded-file-name-prefix":"Descargando: ","speed-prefix":"Velocidad: ","time-downloading-prefix":"Tiempo descargando: ","time-left-prefix":"Tiempo aprox. faltante: ","starting":"Preparando para actualizar","finished":"Conexi\xf3n de estado terminada","install":"Instalar actualizaciones"},"update-all":{"title":"Actualizar","updatable-list-text":"Por favor, presione los botones de los visores que desea actualizar. Una terminal ser\xe1 abierta en una nueva pesta\xf1a por cada visor y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente.","non-updatable-list-text":"Los siguientes visores no pueden ser actualizados v\xeda la terminal:","update-button":"Actualizar"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","filter":{"title":"Filtro","filter":"Mostrar s\xf3lo logs generados desde","7-days":"Los \xfaltimos 7 d\xedas","1-month":"Los \xfaltimos 30 d\xedas","3-months":"Los \xfaltimos 3 meses","6-months":"Los \xfaltimos 6 meses","1-year":"El \xfaltimo a\xf1o","all":"mostrar todos"}},"apps-list":{"title":"Aplicaciones","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty":"El visor no tiene ninguna aplicaci\xf3n.","empty-with-filter":"Ninguna app coincide con los criterios de filtrado seleccionados.","disable-autostart":"Deshabilitar autoinicio","enable-autostart":"Habilitar autoinicio","autostart-disabled":"Autoinicio deshabilitado","autostart-enabled":"Autoinicio habilitado","unavailable-logs-error":"No es posible mostrar los logs mientras la aplicaci\xf3n no se est\xe1 ejecutando.","filter-dialog":{"state":"El estado debe ser","name":"El nombre debe contener","port":"El puerto debe contener","autostart":"El autoinicio debe estar","state-options":{"any":"Iniciada o detenida","running":"Iniciada","stopped":"Detenida"},"autostart-options":{"any":"Activado or desactivado","enabled":"Activado","disabled":"Desactivado"}}},"vpn-socks-server-settings":{"socks-title":"Configuraci\xf3n de Skysocks","vpn-title":"Configuraci\xf3n de VPN-Server","new-password":"Nueva contrase\xf1a (dejar en blanco para eliminar la contrase\xf1a)","repeat-password":"Repita la contrase\xf1a","netifc":"Interfaz de red predeterminada (opcional)","passwords-not-match":"Las contrase\xf1as no coinciden.","secure-mode-check":"Usar modo seguro","secure-mode-info":"Cuando est\xe1 activo, el servidor no permite SSH con los clientes y no permite ning\xfan tr\xe1fico de clientes VPN a la red local del servidor.","save":"Guardar","remove-passowrd-confirmation":"Ha dejado el campo de contrase\xf1a vac\xedo. \xbfSeguro que desea eliminar la contrase\xf1a?","change-passowrd-confirmation":"\xbfSeguro que desea cambiar la contrase\xf1a?","changes-made":"Los cambios han sido realizados."},"vpn-socks-client-settings":{"socks-title":"Configuraci\xf3n de Skysocks-Client","vpn-title":"Configuraci\xf3n de VPN-Client","discovery-tab":"Buscar","remote-visor-tab":"Introducir manualmente","settings-tab":"Configuracion","history-tab":"Historial","use":"Usar estos datos","change-note":"Cambiar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Introducido manualmente","note-obtained":"Obtenido del servicio de descubrimiento","key":"Llave:","port":"Puerto:","location":"Ubicaci\xf3n:","state-available":"Disponible","state-offline":"Offline","public-key":"Llave p\xfablica del visor remoto","password":"Contrase\xf1a","password-history-warning":"Nota: la contrase\xf1a no se guardar\xe1 en el historial.","copy-pk-info":"Copiar la llave p\xfablica.","copied-pk-info":"La llave p\xfablica ha sido copiada.","copy-pk-error":"Hubo un problema al intentar cambiar la llave p\xfablica.","no-elements":"Actualmente no hay elementos para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","no-elements-for-filters":"No hay elementos que cumplan los criterios de filtro.","no-filter":"No se ha seleccionado ning\xfan filtro","click-to-change":"Haga clic para cambiar","remote-key-length-error":"La llave p\xfablica debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","save":"Guardar","remove-from-history-confirmation":"\xbfSeguro de que desea eliminar la entrada del historial?","change-key-confirmation":"\xbfSeguro que desea cambiar la llave p\xfablica del visor remoto?","changes-made":"Los cambios han sido realizados.","no-history":"Esta pesta\xf1a mostrar\xe1 las \xfaltimas {{ number }} llaves p\xfablicas usadas.","default-note-warning":"La nota por defecto ha sido utilizada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Activar killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN est\xe1 interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","settings-changed-alert":"Los cambios a\xfan no se han guardado.","save-settings":"Guardar configuracion","change-note-dialog":{"title":"Cambiar Nota","note":"Nota"},"password-dialog":{"title":"Introducir Contrase\xf1a","password":"Contrase\xf1a","info":"Se le solicita una contrase\xf1a porque una contrase\xf1a fue utilizada cuando se cre\xf3 la entrada seleccionada, pero no fue guardada por razones de seguridad. Puede dejar la contrase\xf1a vac\xeda si es necesario.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"El pa\xeds debe ser","any-country":"Cualquiera","location":"La ubicaci\xf3n debe contener","pub-key":"La llave p\xfablica debe contener","apply":"Aplicar"}},"stop-app":"Detener","start-app":"Iniciar","view-logs":"Ver logs","settings":"Configuraci\xf3n","open":"Abrir","error":"Se produjo un error y no fue posible realizar la operaci\xf3n.","stop-confirmation":"\xbfSeguro que desea detener la aplicaci\xf3n?","stop-selected-confirmation":"\xbfSeguro que desea detener las aplicaciones seleccionadas?","disable-autostart-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de la aplicaci\xf3n?","enable-autostart-confirmation":"\xbfSeguro que desea habilitar el autoinicio de la aplicaci\xf3n?","disable-autostart-selected-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de las aplicaciones seleccionadas?","enable-autostart-selected-confirmation":"\xbfSeguro que desea habilitar el autoinicio de las aplicaciones seleccionadas?","operation-completed":"Operaci\xf3n completada.","operation-unnecessary":"La selecci\xf3n ya tiene la configuraci\xf3n solicitada.","status-running":"Corriendo","status-connecting":"Conectando","status-stopped":"Detenida","status-failed":"Finaliz\xf3 con el siguiente error: {{ error }}","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-connecting-tooltip":"La aplicaci\xf3n est\xe1 actualmente conectando","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"La app finaliz\xf3 con el siguiente error: {{ error }}"},"transports":{"title":"Transportes","info":"Conexiones que tiene con visores remotos de Skywire, para permitir que las aplicaciones Skywire locales se comuniquen con las aplicaciones que se ejecutan en esos visores remotos.","list-title":"Lista de transportes","offline":"Offline","persistent":"Persistente","persistent-tooltip":"Transportes persistentes, los cuales son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-button-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n. Presione aqu\xed para volverlo no persistente.","non-persistent-transport-button-tooltip":"Presione aqu\xed para volver persistente el transporte. Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","make-persistent":"Volver persistente","make-non-persistent":"Volver no persistente","make-selected-persistent":"Volver persistentes los seleccionados","make-selected-non-persistent":"Volver no persistentes los seleccionados","changes-made":"Cambios hechos.","no-changes-needed":"Ning\xfan cambio fue necesario.","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Crear transporte","make-persistent-confirmation":"\xbfSeguro que desea volver persistente el transporte?","make-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte?","make-selected-persistent-confirmation":"\xbfSeguro que desea volver persistentes los transportes seleccionados?","make-selected-non-persistent-confirmation":"\xbfSeguro que desea volver no persistentes los transportes seleccionados?","make-offline-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte? No seguir\xe1 siendo mostrado en la lista mientras se encuentre offline.","delete-confirmation":"\xbfSeguro que desea borrar el transporte?","delete-persistent-confirmation":"Este transporte es persistente, as\xed que puede ser recreado poco despu\xe9s de ser borrado. \xbfSeguro que desea borrarlo?","delete-selected-confirmation":"\xbfSeguro que desea borrar los transportes seleccionados?","delete":"Borrar transporte","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ning\xfan transporte.","empty-with-filter":"Ningun transporte coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","persistent":"Persistente:","id":"ID:","local-pk":"Llave p\xfablica local:","remote-pk":"Llave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmisi\xf3n de datos","uploaded":"Datos enviados:","downloaded":"Datos recibidos:"}},"dialog":{"remote-key":"Llave p\xfablica remota","label":"Nombre del transporte (opcional)","transport-type":"Tipo de transporte","make-persistent":"Hacer persistente","persistent-tooltip":"Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","only-persistent-created":"El transporte persistente fue creado, pero podr\xeda no haber sido activado.","success":"Transporte creado.","success-without-label":"El transporte fue creado, pero no fue posible guardar la etiqueta.","errors":{"remote-key-length-error":"La llave p\xfablica remota debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica remota s\xf3lo debe contener caracteres hexadecimales.","transport-type-error":"El tipo de transporte es requerido."}},"filter-dialog":{"persistent":"El transporte debe ser","id":"El id debe contener","remote-node":"La llave remota debe contener","persistent-options":{"any":"Cualquiera","persistent":"Persistente","non-persistent":"No persistente"}}},"routes":{"title":"Rutas","info":"Caminos utilizados para llegar a los visores remotos con los que se han establecido transportes. Las rutas se generan autom\xe1ticamente seg\xfan sea necesario.","list-title":"Lista de rutas","key":"Llave","type":"Tipo","source":"Inicio","destination":"Destino","delete-confirmation":"\xbfSeguro que desea borrar la ruta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las rutas seleccionadas?","delete":"Borrar ruta","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ninguna ruta.","empty-with-filter":"Ninguna ruta coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","key":"Llave:","rule":"Regla:"},"summary":{"title":"Resumen de regla","keep-alive":"Keep alive:","type":"Tipo de regla:","key-route-id":"ID de la llave de la ruta:"},"specific-fields-titles":{"app":"Campos de applicaci\xf3n","forward":"Campos de reenv\xedo","intermediary-forward":"Campos de reenv\xedo intermedio"},"specific-fields":{"route-id":"ID de la siguiente ruta:","transport-id":"ID del siguiente transporte:","destination-pk":"Llave p\xfablica de destino:","source-pk":"Llave p\xfablica de origen:","destination-port":"Puerto de destino:","source-port":"Puerto de origen:"}},"filter-dialog":{"key":"La llave debe contener","type":"El tipo debe ser","source":"El inicio debe contener","destination":"El destino debe contener","any-type-option":"Cualquiera"}},"copy":{"tooltip":"Presione para copiar","tooltip-with-text":"{{ text }} (Presione para copiar)","copied":"\xa1Copiado!"},"selection":{"select-all":"Seleccionar todo","unselect-all":"Deseleccionar todo","delete-all":"Borrar los elementos seleccionados","start-all":"Iniciar las apps seleccionadas","stop-all":"Detener las apps seleccionadas","enable-autostart-all":"Habilitar el autoinicio de las apps seleccionadas","disable-autostart-all":"Deshabilitar el autoinicio de las apps seleccionadas"},"refresh-button":{"seconds":"Refrescado hace unos segundos","minute":"Refrescado hace un minuto","minutes":"Refrescado hace {{ time }} minutos","hour":"Refrescado hace una hora","hours":"Refrescado hace {{ time }} horas","day":"Refrescado hace un d\xeda","days":"Refrescado hace {{ time }} d\xedas","week":"Refrescado hace una semana","weeks":"Refrescado hace {{ time }} semanas","error-tooltip":"Hubo un error al intentar refrescar los datos. Reintentando autom\xe1ticamente cada {{ time }} segundos..."},"view-all-link":{"label":"Ver todos los {{ number }} elementos"},"paginator":{"first":"Primera","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Seleccionar p\xe1gina"},"confirmation":{"header-text":"Confirmaci\xf3n","confirm-button":"S\xed","cancel-button":"No","close":"Cerrar","error-header-text":"Error","done-header-text":"Hecho"},"language":{"title":"Seleccionar lenguaje"},"tabs-window":{"title":"Cambiar pesta\xf1a"},"vpn":{"title":"Panel de Control de VPN","start":"Inicio","servers":"Servidores","settings":"Configuracion","unnamed":"Sin nombre","starting-blocked-server-error":"No se puede conectar con el servidor seleccionado porque se ha agregado a la lista de servidores bloqueados.","unexpedted-error":"Se produjo un error inesperado y no se pudo completar la operaci\xf3n.","remote-access-title":"Parece que est\xe1 accediendo al sistema de manera remota","remote-access-text":"Esta aplicaci\xf3n s\xf3lo permite administrar la protecci\xf3n VPN del dispositivo en el que fue instalada. Los cambios hechos con ella no afectar\xe1n a dispositivos remotos como el que parece estar usando. Tambi\xe9n es posible que los datos de IP que se muestren sean incorrectos.","server-change":{"busy-error":"El sistema est\xe1 ocupado. Por favor, espere.","backend-error":"No fue posible cambiar el servidor. Por favor, aseg\xfarese de que la clave p\xfablica sea correcta y de que la aplicaci\xf3n VPN se est\xe9 ejecutando.","already-selected-warning":"El servidor seleccionado ya est\xe1 siendo utilizando.","change-server-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se cambia el servidor y algunos datos pueden transmitirse sin protecci\xf3n durante el proceso. \xbfDesea continuar?","start-same-server-confirmation":"Ya hab\xeda seleccionado ese servidor. \xbfDesea conectarte a \xe9l?"},"error-page":{"text":"La aplicaci\xf3n de cliente VPN no est\xe1 disponible.","more-info":"No fue posible conectarse a la aplicaci\xf3n cliente VPN. Esto puede deberse a un error de configuraci\xf3n, un problema inesperado con el visor o porque utiliz\xf3 una clave p\xfablica no v\xe1lida en la URL.","text-pk":"Configuraci\xf3n inv\xe1lida.","more-info-pk":"La aplicaci\xf3n no puede ser iniciada porque no ha especificado la clave p\xfablica del visor.","text-storage":"Error al guardar los datos.","more-info-storage":"Ha habido un conflicto al intentar guardar los datos y la aplicaci\xf3n se ha cerrado para prevenir errores. Esto puede suceder si abre la aplicaci\xf3n en m\xe1s de una pesta\xf1a o ventana.","text-pk-change":"Operaci\xf3n inv\xe1lida.","more-info-pk-change":"Por favor, utilice esta aplicaci\xf3n para administrar s\xf3lo un cliente VPN."},"connection-info":{"state-title":"El estado de tu conexi\xf3n es actualmente:","state-connecting":"Conectando","state-connecting-info":"Se est\xe1 activando la protecci\xf3n VPN.","state-connected":"Conectado","state-connected-info":"La protecci\xf3n VPN est\xe1 activada.","state-disconnecting":"Desconectando","state-disconnecting-info":"Se est\xe1 desactivando la protecci\xf3n VPN.","state-reconnecting":"Reconectando","state-reconnecting-info":"Se est\xe1 restaurando la protecci\xf3n de VPN.","state-disconnected":"Desconectado","state-disconnected-info":"La protecci\xf3n VPN est\xe1 desactivada.","state-info":"Estado actual de la conexi\xf3n.","latency-info":"Latencia actual.","upload-info":"Velocidad de subida.","download-info":"Velocidad de descarga."},"connection-error":{"text":"Error de conexi\xf3n","info":"Problema conectando con la app vpn. Algunos datos mostrados podr\xedan estar desactualizados."},"status-page":{"start-title":"Iniciar VPN","no-server":"\xa1Ning\xfan servidor seleccionado!","disconnect":"Desconectar","last-error":"\xdaltimo error:","unknown-error":"Error desconocido.","disconnect-confirmation":"\xbfRealmente desea detener la protecci\xf3n VPN?","upload-info":"Estad\xedsticas de datos subidos.","download-info":"Estad\xedsticas de datos descargados.","latency-info":"Estad\xedsticas de latencia.","total-data-label":"total","problem-connecting-error":"No fue posible conectarse al servidor. El servidor puede no ser v\xe1lido o estar temporalmente inactivo.","problem-starting-error":"No fue posible iniciar la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","problem-stopping-error":"No fue posible detener la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","generic-problem-error":"No fue posible realizar la operaci\xf3n. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","select-server-warning":"Por favor, seleccione un servidor primero.","data":{"ip":"Direcci\xf3n IP:","ip-problem-info":"Hubo un problema al intentar obtener la IP. Por favor, verif\xedquela utilizando un servicio externo.","ip-country-problem-info":"Hubo un problema al intentar obtener el pa\xeds. Por favor, verif\xedquelo utilizando un servicio externo.","ip-refresh-info":"Refrescar","ip-refresh-time-warning":"Por favor, espere {{ seconds }} segundo(s) antes de refrescar los datos.","ip-refresh-loading-warning":"Por favor, espere a que finalice la operaci\xf3n anterior.","country":"Pa\xeds:","server":"Servidor:","server-note":"Nota del servidor:","original-server-note":"Nota original del servidor:","local-pk":"Llave p\xfablica del visor local:","remote-pk":"Llave p\xfablica del visor remoto:","unavailable":"No disponible"}},"server-options":{"tooltip":"Opciones","connect-without-password":"Conectarse sin contrase\xf1a","connect-without-password-confirmation":"La conexi\xf3n se realizar\xe1 sin la contrase\xf1a. \xbfSeguro que desea continuar?","connect-using-password":"Conectarse usando una contrase\xf1a","connect-using-another-password":"Conectarse usando otra contrase\xf1a","edit-name":"Nombre personalizado","edit-label":"Nota personalizada","make-favorite":"Hacer favorito","make-favorite-confirmation":"\xbfRealmente desea marcar este servidor como favorito? Se eliminar\xe1 de la lista de bloqueados.","make-favorite-done":"Agregado a la lista de favoritos.","remove-from-favorites":"Quitar de favoritos","remove-from-favorites-done":"Eliminado de la lista de favoritos.","block":"Bloquear servidor","block-done":"Agregado a la lista de bloqueados.","block-confirmation":"\xbfRealmente desea bloquear este servidor? Se eliminar\xe1 de la lista de favoritos.","block-selected-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones.","block-selected-favorite-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones y se eliminar\xe1 de la lista de favoritos.","unblock":"Desbloquear servidor","unblock-done":"Eliminado de la lista de bloqueados.","remove-from-history":"Quitar del historial","remove-from-history-confirmation":"\xbfRealmente desea quitar del historial el servidor?","remove-from-history-done":"Eliminado del historial.","edit-value":{"name-title":"Nombre Personalizado","note-title":"Nota Personalizada","name-label":"Nombre personalizado","note-label":"Nota personalizada","apply-button":"Aplicar","changes-made-confirmation":"Se ha realizado el cambio."}},"server-conditions":{"selected-info":"Este es el servidor actualmente seleccionado.","blocked-info":"Este servidor est\xe1 en la lista de bloqueados.","favorite-info":"Este servidor est\xe1 en la lista de favoritos.","history-info":"Este servidor est\xe1 en el historial de servidores.","has-password-info":"Se estableci\xf3 una contrase\xf1a para conectarse con este servidor."},"server-list":{"date-small-table-label":"Fecha","date-info":"\xdaltima vez en la que us\xf3 este servidor.","country-small-table-label":"Pa\xeds","country-info":"Pa\xeds donde se encuentra el servidor.","name-small-table-label":"Nombre","location-small-table-label":"Ubicaci\xf3n","public-key-small-table-label":"Lp","public-key-info":"Llave p\xfablica del servidor.","congestion-rating-small-table-label":"Calificaci\xf3n de congesti\xf3n","congestion-rating-info":"Calificaci\xf3n del servidor relacionada con lo congestionado que suele estar.","congestion-small-table-label":"Congesti\xf3n","congestion-info":"Congesti\xf3n actual del servidor.","latency-rating-small-table-label":"Calificaci\xf3n de latencia","latency-rating-info":"Calificaci\xf3n del servidor relacionada con la latencia que suele tener.","latency-small-table-label":"Latencia","latency-info":"Latencia actual del servidor.","hops-small-table-label":"Saltos","hops-info":"Cu\xe1ntos saltos se necesitan para conectarse con el servidor.","note-small-table-label":"Nota","note-info":"Nota acerca del servidor.","gold-rating-info":"Oro","silver-rating-info":"Plata","bronze-rating-info":"Bronce","notes-info":"Nota personalizada: {{ custom }} - Nota original: {{ original }}","empty-discovery":"Actualmente no hay servidores VPN para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","empty-history":"No hay historial que mostrar.","empty-favorites":"No hay servidores favoritos para mostrar.","empty-blocked":"No hay servidores bloqueados para mostrar.","empty-with-filter":"Ning\xfan servidor VPN coincide con los criterios de filtrado seleccionados.","add-manually-info":"Agregar el servidor manualmente.","current-filters":"Filtros actuales (presione para eliminar)","none":"Ninguno","unknown":"Desconocido","tabs":{"public":"P\xfablicos","history":"Historial","favorites":"Favoritos","blocked":"Bloqueados"},"add-server-dialog":{"title":"Ingresar manualmente","pk-label":"Llave p\xfablica del servidor","password-label":"Contrase\xf1a del servidor (si tiene)","name-label":"Nombre del servidor (opcional)","note-label":"Nota personal (opcional)","pk-length-error":"La llave p\xfablica debe tener 66 caracteres.","pk-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","use-server-button":"Usar servidor"},"password-dialog":{"title":"Introducir Contrase\xf1a","password-if-any-label":"Contrase\xf1a del servidor (si tiene)","password-label":"Contrase\xf1a del servidor","continue-button":"Continuar"},"filter-dialog":{"country":"El pa\xeds debe ser","name":"El nombre debe contener","location":"La ubicaci\xf3n debe contener","public-key":"La llave p\xfablica debe contener","congestion-rating":"La calificaci\xf3n de congesti\xf3n debe ser","latency-rating":"La calificaci\xf3n de latencia debe ser","rating-options":{"any":"Cualquiera","gold":"Oro","silver":"Plata","bronze":"Bronce"},"country-options":{"any":"Cualquiera"}}},"settings-page":{"setting-small-table-label":"Ajuste","value-small-table-label":"Valor","killswitch":"Killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN es interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","get-ip":"Obtener informaci\xf3n de IP","get-ip-info":"Cuando est\xe1 activa, la aplicaci\xf3n utilizar\xe1 servicios externos para obtener informaci\xf3n sobre la IP actual.","data-units":"Unidades de datos","data-units-info":"Permite seleccionar las unidades que se utilizar\xe1n para mostrar las estad\xedsticas de transmisi\xf3n de datos.","minimum-hops":"Saltos m\xednimos","minimum-hops-info":"Permite configurar la cantidad m\xednima de saltos que la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final.","setting-on":"Encendido","setting-off":"Apagado","working-warning":"El sistema est\xe1 ocupado. Por favor, espere a que finalice la operaci\xf3n anterior.","change-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se realiza el cambio. \xbfDesea continuar?","data-units-modal":{"title":"Unidades de Datos","only-bits":"Bits para todas las estad\xedsticas","only-bytes":"Bytes para todas las estad\xedsticas","bits-speed-and-bytes-volume":"Bits para velocidad y bytes para volumen (predeterminado)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/268.a17065c92eb396da.js b/cmd/skywire-visor/static/268.a17065c92eb396da.js deleted file mode 100644 index f58236e72a..0000000000 --- a/cmd/skywire-visor/static/268.a17065c92eb396da.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[268],{4268:function(e){e.exports=JSON.parse('{"common":{"save":"Guardar","cancel":"Cancelar","downloaded":"Recibido","uploaded":"Enviado","loading-error":"Hubo un error obteniendo los datos. Reintentando...","operation-error":"Hubo un error al intentar completar la operaci\xf3n.","no-connection-error":"No hay conexi\xf3n a Internet o conexi\xf3n con el hipervisor.","error":"Error:","refreshed":"Datos refrescados.","options":"Opciones","logout":"Cerrar sesi\xf3n","logout-error":"Error cerrando la sesi\xf3n.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"S\xed","no":"No","unknown":"Desconocido","close":"Cerrar","window-size-error":"La ventana es demasiado estrecha para el contenido."},"labeled-element":{"edit-label":"Editar etiqueta","remove-label":"Remover etiqueta","copy":"Copiar","remove-label-confirmation":"\xbfRealmente desea eliminar la etiqueta?","unnamed-element":"Sin nombre","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Haga clic para copiar la entrada o cambiar la etiqueta","tooltip-with-text":"{{ text }} (Haga clic para copiar la entrada o cambiar la etiqueta)"},"labels":{"title":"Etiquetas","info":"Etiquetas que ha introducido para identificar f\xe1cilmente visores, transportes y otros elementos, en lugar de tener que leer identificadores generados por una m\xe1quina.","list-title":"Lista de etiquetas","label":"Etiqueta","id":"ID del elemento","type":"Tipo","delete-confirmation":"\xbfSeguro que desea borrar la etiqueta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las etiquetas seleccionados?","delete":"Borrar etiqueta","deleted":"Operaci\xf3n de borrado completada.","empty":"No hay etiquetas guardadas.","empty-with-filter":"Ninguna etiqueta coincide con los criterios de filtrado seleccionados.","filter-dialog":{"label":"La etiqueta debe contener","id":"El id debe contener","type":"El tipo debe ser","type-options":{"any":"Cualquiera","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtrar","filter-info":"Lista de filtros.","press-to-remove":"(Presione para remover los filtros)","remove-confirmation":"\xbfSeguro que desea remover los filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"Etiqueta","label":"(etiqueta)","inverted-order":"(invertido)"},"start":{"title":"Inicio"},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","statuses":{"online":"Online","online-tooltip":"El visor se encuentra online.","connecting":"Conectando","connecting-tooltip":"El visor se encuentra online, pero todav\xeda est\xe1 conectando con el uptime tracker.","unknown":"Desconocido","unknown-tooltip":"El visor se encuentra online, pero no ha sido posible determinar si est\xe1 conectado con el uptime tracker.","partially-online":"Online con problemas","partially-online-tooltip":"El visor se encuentra online, pero desconectado del uptime tracker.","offline":"Offline","offline-tooltip":"El visor se encuentra offline."},"details":{"node-info":{"title":"Informaci\xf3n del visor","label":"Etiqueta:","public-key":"Llave p\xfablica:","symmetic-nat":"NAT sim\xe9trica:","public-ip":"IP p\xfablica:","ip":"IP:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Versi\xf3n del visor:","build-type":"Tipo de build:","skybian-version":"Versi\xf3n de Skybian:","unknown-build":"Desconocido","time":{"title":"Tiempo online:","seconds":"unos segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 d\xeda","days":"{{ time }} d\xedas","week":"1 semana","weeks":"{{ time }} semanas"}},"transports-info":{"title":"Informaci\xf3n de Transportes","autoconnect":"Autoconectar:","autoconnect-info":"Al activarse, el visor crear\xe1 autom\xe1ticamente los transportes necesarios cuando se solicite la conexi\xf3n a un visor p\xfablico. Al desactivarse, los transportes deber\xe1n ser creados antes de poder establecer la conexi\xf3n.","enabled":"Activado","disabled":"Desactivado","enable-button":"Activar","disable-button":"Desactivar","enable-confirmation":"\xbfSeguro que desea activar la funci\xf3n de autoconectar?","disable-confirmation":"\xbfSeguro que desea desactivar la funci\xf3n de autoconectar?","enable-done":"La funci\xf3n de autoconectar ha sido activada.","disable-done":"La funci\xf3n de autoconectar ha sido desactivada."},"router-info":{"title":"Informaci\xf3n del Enrutador","min-hops":"Saltos m\xednimos:","max-hops":"Saltos m\xe1ximos:","change-config-button":"Cambiar configuraci\xf3n"},"node-health":{"title":"Informaci\xf3n de Salud","status":"Estatus:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Datos de tr\xe1fico"},"tabs":{"info":"Info","apps":"Apps","routing":"Enrutamiento"},"error-load":"Hubo un error al intentar refrescar los datos. Reintentando..."},"router-config":{"title":"Configuraci\xf3n del Enrutador","info":"Aqu\xed podr\xe1 configurar cuantos saltos la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final. NOTA: los cambios no afectar\xe1n a las rutas ya existentes.","min-hops":"Saltos m\xednimos","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","update-all":"Actualizar todos los visores online","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado actual","label":"Etiqueta","key":"Llave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor es el Hypervisor actual.","copy-key":"Copiar llave","copy-dmsg":"Copiar llave DMSG","copy-data":"Copiar datos","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos los visores offline","error-load":"Hubo un error al intentar refrescar la lista. Reintentando...","empty":"No hay ning\xfan visor conectado a este hypervisor.","empty-with-filter":"Ningun visor coincide con los criterios de filtrado seleccionados.","delete-node-confirmation":"\xbfSeguro que desea remover el visor de la lista?","delete-all-offline-confirmation":"\xbfSeguro que desea remover todos los visores offline de la lista?","delete-all-filtered-offline-confirmation":"Todos los visores offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos de la lista. \xbfSeguro que desea continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"No hay visores para actualizar.","filter-dialog":{"online":"El visor debe estar","label":"La etiqueta debe contener","key":"La llave debe contener","dmsg":"La llave del servidor DMSG debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","password":{"initial-config-help":"Use esta opci\xf3n para establecer la contrase\xf1a inicial. Despu\xe9s de establecer una contrase\xf1a no es posible usar esta opci\xf3n para modificarla.","help":"Opciones para cambiar la contrase\xf1a.","old-password":"Contrase\xf1a actual","new-password":"Nueva contrase\xf1a","repeat-password":"Repita la contrase\xf1a","password-changed":"Contrase\xf1a cambiada.","error-changing":"Error cambiando la contrase\xf1a.","initial-config":{"title":"Establecer contrase\xf1a inicial","password":"Contrase\xf1a","repeat-password":"Repita la contrase\xf1a","set-password":"Establecer contrase\xf1a","done":"Contrase\xf1a establecida. Por favor \xfasela para acceder al sistema.","error":"Error. Por favor aseg\xfarese de que no hubiese establecido la contrase\xf1a anteriormente."},"errors":{"bad-old-password":"La contrase\xf1a actual introducida no es correcta.","old-password-required":"La contrase\xf1a actual es requerida.","new-password-error":"La contrase\xf1a debe tener entre 6 y 64 caracteres.","passwords-not-match":"Las contrase\xf1as no coinciden.","default-password":"No utilice la contrase\xf1a por defecto (1234)."}},"updater-config":{"open-link":"Mostrar la configuraci\xf3n del actualizador","open-confirmation":"La configuraci\xf3n del actualizador es s\xf3lo para usuarios experimentados. Seguro que desea continuar?","help":"Utilice este formulario para modificar la configuraci\xf3n que utilizar\xe1 el actualizador. Se ignorar\xe1n todos los campos vac\xedos. La configuraci\xf3n se utilizar\xe1 para todas las operaciones de actualizaci\xf3n, sin importar qu\xe9 elemento se est\xe9 actualizando, as\xed que por favor tenga cuidado.","channel":"Canal","version":"Versi\xf3n","archive-url":"URL del archivo","checksum-url":"URL del checksum","not-saved":"Los cambios a\xfan no se han guardado.","save":"Guardar cambios","remove-settings":"Remover la configuraci\xf3n","saved":"Las configuracion personalizada ha sido guardada.","removed":"Las configuracion personalizada ha sido removida.","save-confirmation":"\xbfSeguro que desea aplicar la configuraci\xf3n personalizada?","remove-confirmation":"\xbfSeguro que desea remover la configuraci\xf3n personalizada?"},"change-password":"Cambiar contrase\xf1a","refresh-rate":"Frecuencia de refrescado","refresh-rate-help":"Tiempo que el sistema espera para actualizar autom\xe1ticamente los datos.","refresh-rate-confirmation":"Frecuencia de refrescado cambiada.","seconds":"segundos"},"login":{"password":"Contrase\xf1a","incorrect-password":"Contrase\xf1a incorrecta.","initial-config":"Configurar lanzamiento inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configuraci\xf3n","update":"Actualizar","reboot":"Reiniciar","logs":"Ver logs"},"reboot":{"confirmation":"\xbfSeguro que desea reiniciar el visor?","done":"El visor se est\xe1 reiniciando."},"update":{"confirmation":"Una terminal ser\xe1 abierta en una nueva pesta\xf1a y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente. \xbfDesea continuar?"},"terminal-options":{"full":"Terminal completa","simple":"Terminal simple"},"terminal":{"title":"Terminal","input-start":"Terminal de Skywire para {{address}}","error":"Error inesperado mientras se intentaba ejecutar el comando."}},"update":{"title":"Actualizar","error-title":"Error","processing":"Buscando actualizaciones...","no-update":"No hay ninguna actualizaci\xf3n para el visor. La versi\xf3n instalada actualmente es:","no-updates":"No se encontraron nuevas actualizaciones.","already-updating":"Algunos visores ya est\xe1n siendo actualizandos:","with-error":"No fue posible verificar los siguientes visores:","update-available":"Las siguientes actualizaciones fueron encontradas:","update-available-singular":"Las siguientes actualizaciones para 1 visor fueron encontradas:","update-available-plural":"Las siguientes actualizaciones para {{ number }} visores fueron encontradas:","update-available-additional-singular":"Las siguientes actualizaciones adicionales para 1 visor fueron encontradas:","update-available-additional-plural":"Las siguientes actualizaciones adicionales para {{ number }} visores fueron encontradas:","update-instructions":"Haga clic en el bot\xf3n \'Instalar actualizaciones\' para continuar.","updating":"La operaci\xf3n de actualizaci\xf3n se ha iniciado, puede abrir esta ventana nuevamente para verificar el progreso:","version-change":"De {{ currentVersion }} a {{ newVersion }}","selected-channel":"Canal seleccionado:","downloaded-file-name-prefix":"Descargando: ","speed-prefix":"Velocidad: ","time-downloading-prefix":"Tiempo descargando: ","time-left-prefix":"Tiempo aprox. faltante: ","starting":"Preparando para actualizar","finished":"Conexi\xf3n de estado terminada","install":"Instalar actualizaciones"},"update-all":{"title":"Actualizar","updatable-list-text":"Por favor, presione los botones de los visores que desea actualizar. Una terminal ser\xe1 abierta en una nueva pesta\xf1a por cada visor y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente.","non-updatable-list-text":"Los siguientes visores no pueden ser actualizados v\xeda la terminal:","update-button":"Actualizar"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","filter":{"title":"Filtro","filter":"Mostrar s\xf3lo logs generados desde","7-days":"Los \xfaltimos 7 d\xedas","1-month":"Los \xfaltimos 30 d\xedas","3-months":"Los \xfaltimos 3 meses","6-months":"Los \xfaltimos 6 meses","1-year":"El \xfaltimo a\xf1o","all":"mostrar todos"}},"apps-list":{"title":"Aplicaciones","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty":"El visor no tiene ninguna aplicaci\xf3n.","empty-with-filter":"Ninguna app coincide con los criterios de filtrado seleccionados.","disable-autostart":"Deshabilitar autoinicio","enable-autostart":"Habilitar autoinicio","autostart-disabled":"Autoinicio deshabilitado","autostart-enabled":"Autoinicio habilitado","unavailable-logs-error":"No es posible mostrar los logs mientras la aplicaci\xf3n no se est\xe1 ejecutando.","filter-dialog":{"state":"El estado debe ser","name":"El nombre debe contener","port":"El puerto debe contener","autostart":"El autoinicio debe estar","state-options":{"any":"Iniciada o detenida","running":"Iniciada","stopped":"Detenida"},"autostart-options":{"any":"Activado or desactivado","enabled":"Activado","disabled":"Desactivado"}}},"vpn-socks-server-settings":{"socks-title":"Configuraci\xf3n de Skysocks","vpn-title":"Configuraci\xf3n de VPN-Server","new-password":"Nueva contrase\xf1a (dejar en blanco para eliminar la contrase\xf1a)","repeat-password":"Repita la contrase\xf1a","netifc":"Interfaz de red predeterminada (opcional)","passwords-not-match":"Las contrase\xf1as no coinciden.","secure-mode-check":"Usar modo seguro","secure-mode-info":"Cuando est\xe1 activo, el servidor no permite SSH con los clientes y no permite ning\xfan tr\xe1fico de clientes VPN a la red local del servidor.","save":"Guardar","remove-passowrd-confirmation":"Ha dejado el campo de contrase\xf1a vac\xedo. \xbfSeguro que desea eliminar la contrase\xf1a?","change-passowrd-confirmation":"\xbfSeguro que desea cambiar la contrase\xf1a?","changes-made":"Los cambios han sido realizados."},"vpn-socks-client-settings":{"socks-title":"Configuraci\xf3n de Skysocks-Client","vpn-title":"Configuraci\xf3n de VPN-Client","discovery-tab":"Buscar","remote-visor-tab":"Introducir manualmente","settings-tab":"Configuracion","history-tab":"Historial","use":"Usar estos datos","change-note":"Cambiar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Introducido manualmente","note-obtained":"Obtenido del servicio de descubrimiento","key":"Llave:","port":"Puerto:","location":"Ubicaci\xf3n:","state-available":"Disponible","state-offline":"Offline","public-key":"Llave p\xfablica del visor remoto","password":"Contrase\xf1a","password-history-warning":"Nota: la contrase\xf1a no se guardar\xe1 en el historial.","copy-pk-info":"Copiar la llave p\xfablica.","copied-pk-info":"La llave p\xfablica ha sido copiada.","copy-pk-error":"Hubo un problema al intentar cambiar la llave p\xfablica.","no-elements":"Actualmente no hay elementos para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","no-elements-for-filters":"No hay elementos que cumplan los criterios de filtro.","no-filter":"No se ha seleccionado ning\xfan filtro","click-to-change":"Haga clic para cambiar","remote-key-length-error":"La llave p\xfablica debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","save":"Guardar","remove-from-history-confirmation":"\xbfSeguro de que desea eliminar la entrada del historial?","change-key-confirmation":"\xbfSeguro que desea cambiar la llave p\xfablica del visor remoto?","changes-made":"Los cambios han sido realizados.","no-history":"Esta pesta\xf1a mostrar\xe1 las \xfaltimas {{ number }} llaves p\xfablicas usadas.","default-note-warning":"La nota por defecto ha sido utilizada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Activar killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN est\xe1 interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","settings-changed-alert":"Los cambios a\xfan no se han guardado.","save-settings":"Guardar configuracion","change-note-dialog":{"title":"Cambiar Nota","note":"Nota"},"password-dialog":{"title":"Introducir Contrase\xf1a","password":"Contrase\xf1a","info":"Se le solicita una contrase\xf1a porque una contrase\xf1a fue utilizada cuando se cre\xf3 la entrada seleccionada, pero no fue guardada por razones de seguridad. Puede dejar la contrase\xf1a vac\xeda si es necesario.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"El pa\xeds debe ser","any-country":"Cualquiera","location":"La ubicaci\xf3n debe contener","pub-key":"La llave p\xfablica debe contener","apply":"Aplicar"}},"stop-app":"Detener","start-app":"Iniciar","view-logs":"Ver logs","settings":"Configuraci\xf3n","open":"Abrir","error":"Se produjo un error y no fue posible realizar la operaci\xf3n.","stop-confirmation":"\xbfSeguro que desea detener la aplicaci\xf3n?","stop-selected-confirmation":"\xbfSeguro que desea detener las aplicaciones seleccionadas?","disable-autostart-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de la aplicaci\xf3n?","enable-autostart-confirmation":"\xbfSeguro que desea habilitar el autoinicio de la aplicaci\xf3n?","disable-autostart-selected-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de las aplicaciones seleccionadas?","enable-autostart-selected-confirmation":"\xbfSeguro que desea habilitar el autoinicio de las aplicaciones seleccionadas?","operation-completed":"Operaci\xf3n completada.","operation-unnecessary":"La selecci\xf3n ya tiene la configuraci\xf3n solicitada.","status-running":"Corriendo","status-connecting":"Conectando","status-stopped":"Detenida","status-failed":"Finaliz\xf3 con el siguiente error: {{ error }}","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-connecting-tooltip":"La aplicaci\xf3n est\xe1 actualmente conectando","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"La app finaliz\xf3 con el siguiente error: {{ error }}"},"transports":{"title":"Transportes","info":"Conexiones que tiene con visores remotos de Skywire, para permitir que las aplicaciones Skywire locales se comuniquen con las aplicaciones que se ejecutan en esos visores remotos.","list-title":"Lista de transportes","offline":"Offline","persistent":"Persistente","persistent-tooltip":"Transportes persistentes, los cuales son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-button-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n. Presione aqu\xed para volverlo no persistente.","non-persistent-transport-button-tooltip":"Presione aqu\xed para volver persistente el transporte. Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","make-persistent":"Volver persistente","make-non-persistent":"Volver no persistente","make-selected-persistent":"Volver persistentes los seleccionados","make-selected-non-persistent":"Volver no persistentes los seleccionados","changes-made":"Cambios hechos.","no-changes-needed":"Ning\xfan cambio fue necesario.","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Crear transporte","make-persistent-confirmation":"\xbfSeguro que desea volver persistente el transporte?","make-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte?","make-selected-persistent-confirmation":"\xbfSeguro que desea volver persistentes los transportes seleccionados?","make-selected-non-persistent-confirmation":"\xbfSeguro que desea volver no persistentes los transportes seleccionados?","make-offline-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte? No seguir\xe1 siendo mostrado en la lista mientras se encuentre offline.","delete-confirmation":"\xbfSeguro que desea borrar el transporte?","delete-persistent-confirmation":"Este transporte es persistente, as\xed que puede ser recreado poco despu\xe9s de ser borrado. \xbfSeguro que desea borrarlo?","delete-selected-confirmation":"\xbfSeguro que desea borrar los transportes seleccionados?","delete":"Borrar transporte","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ning\xfan transporte.","empty-with-filter":"Ningun transporte coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","persistent":"Persistente:","id":"ID:","local-pk":"Llave p\xfablica local:","remote-pk":"Llave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmisi\xf3n de datos","uploaded":"Datos enviados:","downloaded":"Datos recibidos:"}},"dialog":{"remote-key":"Llave p\xfablica remota","label":"Nombre del transporte (opcional)","transport-type":"Tipo de transporte","make-persistent":"Hacer persistente","persistent-tooltip":"Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","only-persistent-created":"El transporte persistente fue creado, pero podr\xeda no haber sido activado.","success":"Transporte creado.","success-without-label":"El transporte fue creado, pero no fue posible guardar la etiqueta.","errors":{"remote-key-length-error":"La llave p\xfablica remota debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica remota s\xf3lo debe contener caracteres hexadecimales.","transport-type-error":"El tipo de transporte es requerido."}},"filter-dialog":{"persistent":"El transporte debe ser","id":"El id debe contener","remote-node":"La llave remota debe contener","persistent-options":{"any":"Cualquiera","persistent":"Persistente","non-persistent":"No persistente"}}},"routes":{"title":"Rutas","info":"Caminos utilizados para llegar a los visores remotos con los que se han establecido transportes. Las rutas se generan autom\xe1ticamente seg\xfan sea necesario.","list-title":"Lista de rutas","key":"Llave","type":"Tipo","source":"Inicio","destination":"Destino","delete-confirmation":"\xbfSeguro que desea borrar la ruta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las rutas seleccionadas?","delete":"Borrar ruta","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ninguna ruta.","empty-with-filter":"Ninguna ruta coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","key":"Llave:","rule":"Regla:"},"summary":{"title":"Resumen de regla","keep-alive":"Keep alive:","type":"Tipo de regla:","key-route-id":"ID de la llave de la ruta:"},"specific-fields-titles":{"app":"Campos de applicaci\xf3n","forward":"Campos de reenv\xedo","intermediary-forward":"Campos de reenv\xedo intermedio"},"specific-fields":{"route-id":"ID de la siguiente ruta:","transport-id":"ID del siguiente transporte:","destination-pk":"Llave p\xfablica de destino:","source-pk":"Llave p\xfablica de origen:","destination-port":"Puerto de destino:","source-port":"Puerto de origen:"}},"filter-dialog":{"key":"La llave debe contener","type":"El tipo debe ser","source":"El inicio debe contener","destination":"El destino debe contener","any-type-option":"Cualquiera"}},"copy":{"tooltip":"Presione para copiar","tooltip-with-text":"{{ text }} (Presione para copiar)","copied":"\xa1Copiado!"},"selection":{"select-all":"Seleccionar todo","unselect-all":"Deseleccionar todo","delete-all":"Borrar los elementos seleccionados","start-all":"Iniciar las apps seleccionadas","stop-all":"Detener las apps seleccionadas","enable-autostart-all":"Habilitar el autoinicio de las apps seleccionadas","disable-autostart-all":"Deshabilitar el autoinicio de las apps seleccionadas"},"refresh-button":{"seconds":"Refrescado hace unos segundos","minute":"Refrescado hace un minuto","minutes":"Refrescado hace {{ time }} minutos","hour":"Refrescado hace una hora","hours":"Refrescado hace {{ time }} horas","day":"Refrescado hace un d\xeda","days":"Refrescado hace {{ time }} d\xedas","week":"Refrescado hace una semana","weeks":"Refrescado hace {{ time }} semanas","error-tooltip":"Hubo un error al intentar refrescar los datos. Reintentando autom\xe1ticamente cada {{ time }} segundos..."},"view-all-link":{"label":"Ver todos los {{ number }} elementos"},"paginator":{"first":"Primera","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Seleccionar p\xe1gina"},"confirmation":{"header-text":"Confirmaci\xf3n","confirm-button":"S\xed","cancel-button":"No","close":"Cerrar","error-header-text":"Error","done-header-text":"Hecho"},"language":{"title":"Seleccionar lenguaje"},"tabs-window":{"title":"Cambiar pesta\xf1a"},"vpn":{"title":"Panel de Control de VPN","start":"Inicio","servers":"Servidores","settings":"Configuracion","unnamed":"Sin nombre","starting-blocked-server-error":"No se puede conectar con el servidor seleccionado porque se ha agregado a la lista de servidores bloqueados.","unexpedted-error":"Se produjo un error inesperado y no se pudo completar la operaci\xf3n.","remote-access-title":"Parece que est\xe1 accediendo al sistema de manera remota","remote-access-text":"Esta aplicaci\xf3n s\xf3lo permite administrar la protecci\xf3n VPN del dispositivo en el que fue instalada. Los cambios hechos con ella no afectar\xe1n a dispositivos remotos como el que parece estar usando. Tambi\xe9n es posible que los datos de IP que se muestren sean incorrectos.","server-change":{"busy-error":"El sistema est\xe1 ocupado. Por favor, espere.","backend-error":"No fue posible cambiar el servidor. Por favor, aseg\xfarese de que la clave p\xfablica sea correcta y de que la aplicaci\xf3n VPN se est\xe9 ejecutando.","already-selected-warning":"El servidor seleccionado ya est\xe1 siendo utilizando.","change-server-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se cambia el servidor y algunos datos pueden transmitirse sin protecci\xf3n durante el proceso. \xbfDesea continuar?","start-same-server-confirmation":"Ya hab\xeda seleccionado ese servidor. \xbfDesea conectarte a \xe9l?"},"error-page":{"text":"La aplicaci\xf3n de cliente VPN no est\xe1 disponible.","more-info":"No fue posible conectarse a la aplicaci\xf3n cliente VPN. Esto puede deberse a un error de configuraci\xf3n, un problema inesperado con el visor o porque utiliz\xf3 una clave p\xfablica no v\xe1lida en la URL.","text-pk":"Configuraci\xf3n inv\xe1lida.","more-info-pk":"La aplicaci\xf3n no puede ser iniciada porque no ha especificado la clave p\xfablica del visor.","text-storage":"Error al guardar los datos.","more-info-storage":"Ha habido un conflicto al intentar guardar los datos y la aplicaci\xf3n se ha cerrado para prevenir errores. Esto puede suceder si abre la aplicaci\xf3n en m\xe1s de una pesta\xf1a o ventana.","text-pk-change":"Operaci\xf3n inv\xe1lida.","more-info-pk-change":"Por favor, utilice esta aplicaci\xf3n para administrar s\xf3lo un cliente VPN."},"connection-info":{"state-title":"El estado de tu conexi\xf3n es actualmente:","state-connecting":"Conectando","state-connecting-info":"Se est\xe1 activando la protecci\xf3n VPN.","state-connected":"Conectado","state-connected-info":"La protecci\xf3n VPN est\xe1 activada.","state-disconnecting":"Desconectando","state-disconnecting-info":"Se est\xe1 desactivando la protecci\xf3n VPN.","state-reconnecting":"Reconectando","state-reconnecting-info":"Se est\xe1 restaurando la protecci\xf3n de VPN.","state-disconnected":"Desconectado","state-disconnected-info":"La protecci\xf3n VPN est\xe1 desactivada.","state-info":"Estado actual de la conexi\xf3n.","latency-info":"Latencia actual.","upload-info":"Velocidad de subida.","download-info":"Velocidad de descarga."},"connection-error":{"text":"Error de conexi\xf3n","info":"Problema conectando con la app vpn. Algunos datos mostrados podr\xedan estar desactualizados."},"status-page":{"start-title":"Iniciar VPN","no-server":"\xa1Ning\xfan servidor seleccionado!","disconnect":"Desconectar","last-error":"\xdaltimo error:","unknown-error":"Error desconocido.","disconnect-confirmation":"\xbfRealmente desea detener la protecci\xf3n VPN?","upload-info":"Estad\xedsticas de datos subidos.","download-info":"Estad\xedsticas de datos descargados.","latency-info":"Estad\xedsticas de latencia.","total-data-label":"total","problem-connecting-error":"No fue posible conectarse al servidor. El servidor puede no ser v\xe1lido o estar temporalmente inactivo.","problem-starting-error":"No fue posible iniciar la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","problem-stopping-error":"No fue posible detener la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","generic-problem-error":"No fue posible realizar la operaci\xf3n. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","select-server-warning":"Por favor, seleccione un servidor primero.","data":{"ip":"Direcci\xf3n IP:","ip-problem-info":"Hubo un problema al intentar obtener la IP. Por favor, verif\xedquela utilizando un servicio externo.","ip-country-problem-info":"Hubo un problema al intentar obtener el pa\xeds. Por favor, verif\xedquelo utilizando un servicio externo.","ip-refresh-info":"Refrescar","ip-refresh-time-warning":"Por favor, espere {{ seconds }} segundo(s) antes de refrescar los datos.","ip-refresh-loading-warning":"Por favor, espere a que finalice la operaci\xf3n anterior.","country":"Pa\xeds:","server":"Servidor:","server-note":"Nota del servidor:","original-server-note":"Nota original del servidor:","local-pk":"Llave p\xfablica del visor local:","remote-pk":"Llave p\xfablica del visor remoto:","unavailable":"No disponible"}},"server-options":{"tooltip":"Opciones","connect-without-password":"Conectarse sin contrase\xf1a","connect-without-password-confirmation":"La conexi\xf3n se realizar\xe1 sin la contrase\xf1a. \xbfSeguro que desea continuar?","connect-using-password":"Conectarse usando una contrase\xf1a","connect-using-another-password":"Conectarse usando otra contrase\xf1a","edit-name":"Nombre personalizado","edit-label":"Nota personalizada","make-favorite":"Hacer favorito","make-favorite-confirmation":"\xbfRealmente desea marcar este servidor como favorito? Se eliminar\xe1 de la lista de bloqueados.","make-favorite-done":"Agregado a la lista de favoritos.","remove-from-favorites":"Quitar de favoritos","remove-from-favorites-done":"Eliminado de la lista de favoritos.","block":"Bloquear servidor","block-done":"Agregado a la lista de bloqueados.","block-confirmation":"\xbfRealmente desea bloquear este servidor? Se eliminar\xe1 de la lista de favoritos.","block-selected-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones.","block-selected-favorite-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones y se eliminar\xe1 de la lista de favoritos.","unblock":"Desbloquear servidor","unblock-done":"Eliminado de la lista de bloqueados.","remove-from-history":"Quitar del historial","remove-from-history-confirmation":"\xbfRealmente desea quitar del historial el servidor?","remove-from-history-done":"Eliminado del historial.","edit-value":{"name-title":"Nombre Personalizado","note-title":"Nota Personalizada","name-label":"Nombre personalizado","note-label":"Nota personalizada","apply-button":"Aplicar","changes-made-confirmation":"Se ha realizado el cambio."}},"server-conditions":{"selected-info":"Este es el servidor actualmente seleccionado.","blocked-info":"Este servidor est\xe1 en la lista de bloqueados.","favorite-info":"Este servidor est\xe1 en la lista de favoritos.","history-info":"Este servidor est\xe1 en el historial de servidores.","has-password-info":"Se estableci\xf3 una contrase\xf1a para conectarse con este servidor."},"server-list":{"date-small-table-label":"Fecha","date-info":"\xdaltima vez en la que us\xf3 este servidor.","country-small-table-label":"Pa\xeds","country-info":"Pa\xeds donde se encuentra el servidor.","name-small-table-label":"Nombre","location-small-table-label":"Ubicaci\xf3n","public-key-small-table-label":"Lp","public-key-info":"Llave p\xfablica del servidor.","congestion-rating-small-table-label":"Calificaci\xf3n de congesti\xf3n","congestion-rating-info":"Calificaci\xf3n del servidor relacionada con lo congestionado que suele estar.","congestion-small-table-label":"Congesti\xf3n","congestion-info":"Congesti\xf3n actual del servidor.","latency-rating-small-table-label":"Calificaci\xf3n de latencia","latency-rating-info":"Calificaci\xf3n del servidor relacionada con la latencia que suele tener.","latency-small-table-label":"Latencia","latency-info":"Latencia actual del servidor.","hops-small-table-label":"Saltos","hops-info":"Cu\xe1ntos saltos se necesitan para conectarse con el servidor.","note-small-table-label":"Nota","note-info":"Nota acerca del servidor.","gold-rating-info":"Oro","silver-rating-info":"Plata","bronze-rating-info":"Bronce","notes-info":"Nota personalizada: {{ custom }} - Nota original: {{ original }}","empty-discovery":"Actualmente no hay servidores VPN para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","empty-history":"No hay historial que mostrar.","empty-favorites":"No hay servidores favoritos para mostrar.","empty-blocked":"No hay servidores bloqueados para mostrar.","empty-with-filter":"Ning\xfan servidor VPN coincide con los criterios de filtrado seleccionados.","add-manually-info":"Agregar el servidor manualmente.","current-filters":"Filtros actuales (presione para eliminar)","none":"Ninguno","unknown":"Desconocido","tabs":{"public":"P\xfablicos","history":"Historial","favorites":"Favoritos","blocked":"Bloqueados"},"add-server-dialog":{"title":"Ingresar manualmente","pk-label":"Llave p\xfablica del servidor","password-label":"Contrase\xf1a del servidor (si tiene)","name-label":"Nombre del servidor (opcional)","note-label":"Nota personal (opcional)","pk-length-error":"La llave p\xfablica debe tener 66 caracteres.","pk-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","use-server-button":"Usar servidor"},"password-dialog":{"title":"Introducir Contrase\xf1a","password-if-any-label":"Contrase\xf1a del servidor (si tiene)","password-label":"Contrase\xf1a del servidor","continue-button":"Continuar"},"filter-dialog":{"country":"El pa\xeds debe ser","name":"El nombre debe contener","location":"La ubicaci\xf3n debe contener","public-key":"La llave p\xfablica debe contener","congestion-rating":"La calificaci\xf3n de congesti\xf3n debe ser","latency-rating":"La calificaci\xf3n de latencia debe ser","rating-options":{"any":"Cualquiera","gold":"Oro","silver":"Plata","bronze":"Bronce"},"country-options":{"any":"Cualquiera"}}},"settings-page":{"setting-small-table-label":"Ajuste","value-small-table-label":"Valor","killswitch":"Killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN es interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","get-ip":"Obtener informaci\xf3n de IP","get-ip-info":"Cuando est\xe1 activa, la aplicaci\xf3n utilizar\xe1 servicios externos para obtener informaci\xf3n sobre la IP actual.","data-units":"Unidades de datos","data-units-info":"Permite seleccionar las unidades que se utilizar\xe1n para mostrar las estad\xedsticas de transmisi\xf3n de datos.","minimum-hops":"Saltos m\xednimos","minimum-hops-info":"Permite configurar la cantidad m\xednima de saltos que la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final.","setting-on":"Encendido","setting-off":"Apagado","working-warning":"El sistema est\xe1 ocupado. Por favor, espere a que finalice la operaci\xf3n anterior.","change-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se realiza el cambio. \xbfDesea continuar?","data-units-modal":{"title":"Unidades de Datos","only-bits":"Bits para todas las estad\xedsticas","only-bytes":"Bytes para todas las estad\xedsticas","bits-speed-and-bytes-volume":"Bits para velocidad y bytes para volumen (predeterminado)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/3rdpartylicenses.txt b/cmd/skywire-visor/static/3rdpartylicenses.txt index 573adbf1fa..df858e0490 100644 --- a/cmd/skywire-visor/static/3rdpartylicenses.txt +++ b/cmd/skywire-visor/static/3rdpartylicenses.txt @@ -66,32 +66,6 @@ MIT @angular/router MIT -@babel/runtime -MIT -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @ngx-translate/core MIT diff --git a/cmd/skywire-visor/static/431.7c14efbe17d051f7.js b/cmd/skywire-visor/static/431.7c14efbe17d051f7.js deleted file mode 100644 index 91a9ea864a..0000000000 --- a/cmd/skywire-visor/static/431.7c14efbe17d051f7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[431],{3431:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/431.859df310b58bc96b.js b/cmd/skywire-visor/static/431.859df310b58bc96b.js new file mode 100644 index 0000000000..de8d20e955 --- /dev/null +++ b/cmd/skywire-visor/static/431.859df310b58bc96b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[431],{3431:e=>{e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/48.1bb60b158d93cf7f.js b/cmd/skywire-visor/static/48.1bb60b158d93cf7f.js new file mode 100644 index 0000000000..583e02b6df --- /dev/null +++ b/cmd/skywire-visor/static/48.1bb60b158d93cf7f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[48],{7048:e=>{e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","port":"Port:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/48.e4209ce5b3b864c8.js b/cmd/skywire-visor/static/48.e4209ce5b3b864c8.js deleted file mode 100644 index 4117a49816..0000000000 --- a/cmd/skywire-visor/static/48.e4209ce5b3b864c8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[48],{7048:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","port":"Port:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/502.8f399c4d17e1a00c.js b/cmd/skywire-visor/static/502.8f399c4d17e1a00c.js deleted file mode 100644 index 7154323453..0000000000 --- a/cmd/skywire-visor/static/502.8f399c4d17e1a00c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[502],{502:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","build-type":"Build type:","skybian-version":"Skybian version:","unknown-build":"Unknown","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","uptime-tracker":"Uptime tracker:","connected":"Connected","disconnected":"Disconnected"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","with-error":"It was not possible to check the following visors:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","netifc":"Default network interface (optional)","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/502.e715733024006b44.js b/cmd/skywire-visor/static/502.e715733024006b44.js new file mode 100644 index 0000000000..f64a393e0b --- /dev/null +++ b/cmd/skywire-visor/static/502.e715733024006b44.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[502],{502:e=>{e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start","loading-error":"An error occurred while getting the initial data. Retrying..."},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","build-type":"Build type:","skybian-version":"Skybian version:","unknown-build":"Unknown","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","uptime-tracker":"Uptime tracker:","connected":"Connected","disconnected":"Disconnected"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","checking-auth":"Checking authentication settings.","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","with-error":"It was not possible to check the following visors:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","netifc":"Default network interface (optional)","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/634.3594ed6527ccf574.js b/cmd/skywire-visor/static/634.3594ed6527ccf574.js deleted file mode 100644 index 18aab924f9..0000000000 --- a/cmd/skywire-visor/static/634.3594ed6527ccf574.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[634],{3634:function(e){e.exports=JSON.parse('{"common":{"save":"Speichern","cancel":"Abbrechen","downloaded":"Heruntergeladen","uploaded":"Hochgeladen","loading-error":"Beim Laden der Daten ist ein Fehler aufgetreten. Versuche es erneut...","operation-error":"Beim Ausf\xfchren der Aktion ist ein Fehler aufgetreten.","no-connection-error":"Es ist keine Internetverbindung oder Verbindung zum Hypervisor vorhanden.","error":"Fehler:","refreshed":"Daten aktualisiert.","options":"Optionen","logout":"Abmelden","logout-error":"Fehler beim Abmelden.","logout-confirmation":"Wirklich abmelden?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unbekannt","close":"Schlie\xdfen"},"labeled-element":{"edit-label":"Bezeichnung \xe4ndern","remove-label":"Bezeichnung l\xf6schen","copy":"Kopieren","remove-label-confirmation":"Bezeichnung wirklich l\xf6schen?","unnamed-element":"Unbenannt","unnamed-local-visor":"Lokaler Visor","local-element":"Lokal","tooltip":"Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern","tooltip-with-text":"{{ text }} (Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern)"},"labels":{"title":"Bezeichnung","info":"Bezeichnungen, die eingegeben wurden um Visor, Transporte und andere Elemente einfach wiederzuerkennen.","list-title":"Bezeichnunen Liste","label":"Bezeichnung","id":"Element ID","type":"Typ","delete-confirmation":"Diese Bezeichnung wirklich l\xf6schen?","delete-selected-confirmation":"Ausgew\xe4hlte Bezeichnungen wirklich l\xf6schen?","delete":"Bezeichnung l\xf6schen","deleted":"Bezeichnung gel\xf6scht.","empty":"Keine gespeicherten Bezeichnungen vorhanden.","empty-with-filter":"Keine Bezeichnung erf\xfcllt die gew\xe4hlten Filterkriterien.","filter-dialog":{"label":"Die Bezeichnung muss beinhalten","id":"Die ID muss beinhalten","type":"Der Typ muss sein","type-options":{"any":"Jeder","visor":"Visor","dmsg-server":"DMSG Server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Dr\xfccken um Filter zu l\xf6schen)","remove-confirmation":"Filter wirkliche l\xf6schen?"},"tables":{"title":"Ordnen nach","sorting-title":"Geordnet nach:","sort-by-value":"Wert","sort-by-label":"Bezeichnung","label":"(Bezeichnung)","inverted-order":"(Umgekehrt)"},"start":{"title":"Start"},"node":{"title":"Visor Details","not-found":"Visor nicht gefunden.","statuses":{"online":"Online","online-tooltip":"Visor ist online","partially-online":"Online mit Problemen","partially-online-tooltip":"Visor ist online, aber nicht alle Dienste laufen. F\xfcr Informationen bitte die Details Seite \xf6ffnen und die \\"Zustand Info\\" \xfcberpr\xfcfen.","offline":"Offline","offline-tooltip":"Visor ist offline"},"details":{"node-info":{"title":"Visor Info","label":"Bezeichnung:","public-key":"\xd6ffentlicher Schl\xfcssel:","dmsg-server":"DMSG Server:","ping":"Ping:","node-version":"Visor Version:","time":{"title":"Online seit:","seconds":"ein paar Sekunden","minute":"1 Minute","minutes":"{{ time }} Minuten","hour":"1 Stunde","hours":"{{ time }} Stunden","day":"1 Tag","days":"{{ time }} Tage","week":"1 Woche","weeks":"{{ time }} Wochen"}},"node-health":{"title":"Zustand Info","status":"Status:","transport-discovery":"Transport Entdeckung:","route-finder":"Route Finder:","setup-node":"Setup Visor:","uptime-tracker":"Verf\xfcgbarkeitsmonitor:","address-resolver":"Addressaufl\xf6ser:","element-offline":"offline"},"node-traffic-data":"Datenverkehr"},"tabs":{"info":"Info","apps":"Anwendungen","routing":"Routing"},"error-load":"Beim Aktualisieren der Visordaten ist ein Fehler aufgetreten."},"nodes":{"title":"Visor Liste","dmsg-title":"DMSG","update-all":"Alle Visor aktualisieren","hypervisor":"Hypervisor","state":"Status","state-tooltip":"Aktueller Status","label":"Bezeichnung","key":"Schl\xfcssel","dmsg-server":"DMSG Server","ping":"Ping","hypervisor-info":"Dieser Visor ist der aktuelle Hypervisor.","copy-key":"Schl\xfcssel kopieren","copy-dmsg":"DMSG Server Schl\xfcssel kopieren","copy-data":"Daten kopieren","view-node":"Visor betrachten","delete-node":"Visor l\xf6schen","delete-all-offline":"Alle offline Visor l\xf6schen","error-load":"Beim Aktualisieren der Visor-Liste ist ein Fehler aufgetreten.","empty":"Es ist kein Visor zu diesem Hypervisor verbunden.","empty-with-filter":"Kein Visor erf\xfcllt die gew\xe4hlten Filterkriterien","delete-node-confirmation":"Visor wirklich von der Liste l\xf6schen?","delete-all-offline-confirmation":"Wirklich alle offline Visor von der Liste l\xf6schen?","delete-all-filtered-offline-confirmation":"Alle offline Visor, welche die Filterkriterien erf\xfcllen werden von der Liste gel\xf6scht. Wirklich fortfahren?","deleted":"Visor gel\xf6scht.","deleted-singular":"Ein offline Visor gel\xf6scht.","deleted-plural":"{{ number }} offline Visor gel\xf6scht.","no-visors-to-update":"Kein Visor zum Aktualiseren vorhanden.","filter-dialog":{"online":"Der Visor muss","label":"Der Bezeichner muss enthalten","key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","dmsg":"Der DMSG Server Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Bezeichnung","done":"Bezeichnung gespeichert.","label-removed-warning":"Die Bezeichnung wurde gel\xf6scht."},"settings":{"title":"Einstellungen","password":{"initial-config-help":"Diese Option wird verwendet, um das erste Passwort festzulegen. Nachdem ein Passwort festgelegt wurde, ist es nicht m\xf6glich dieses, mit dieser Option zu \xe4ndern.","help":"Optionen um das Passwort zu \xe4ndern.","old-password":"Altes Passwort","new-password":"Neues Passwort","repeat-password":"Neues Passwort wiederholen","password-changed":"Passwort wurde ge\xe4ndert.","error-changing":"Fehler beim \xc4ndern des Passworts aufgetreten.","initial-config":{"title":"Erstes Passwort festlegen","password":"Passwort","repeat-password":"Passwort wiederholen","set-password":"Passwort \xe4ndern","done":"Passwort wurde ge\xe4ndert.","error":"Fehler. Es scheint ein erstes Passwort wurde schon gew\xe4hlt."},"errors":{"bad-old-password":"Altes Passwort falsch","old-password-required":"Altes Passwort wird ben\xf6tigt","new-password-error":"Passwort muss 6-64 Zeichen lang sein.","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","default-password":"Das Standardpasswort darf nicht verwendet werden (1234)."}},"updater-config":{"open-link":"Aktualisierungseinstellungen anzeigen","open-confirmation":"Es wird nur erfahrenen Benutzern empfohlen, die Aktualisierungseinstellungen zu modifizieren. Wirkich fortfahren?","help":"Dieses Formular benutzen um Einstellungen f\xfcr die Aktualisierung zu \xfcberschreiben. Alle leeren Felder werden ignoriert. Die Einstellungen werden f\xfcr alle Aktualisierungen \xfcbernommen. Dies geschieht unabh\xe4ngig davon, welches Element aktualisiert wird. Bitte Vorsicht wahren.","channel":"Kanal","version":"Version","archive-url":"Archiv-URL","checksum-url":"Pr\xfcfsummen-URL","not-saved":"Die \xc4nderungen wurden noch nicht gespeichert.","save":"\xc4nderungen speichern","remove-settings":"Einstellungen l\xf6schen","saved":"Die benutzerdefinierten Einstellungen wurden gespeichert.","removed":"Die benutzerdefinierten Einstellungen wurden gel\xf6scht.","save-confirmation":"Wirklich die benutzerdefinierten Einstellungen anwenden?","remove-confirmation":"Wirklich die benutzerdefinierten Einstellungen l\xf6schen?"},"change-password":"Passwort \xe4ndern","refresh-rate":"Aktualisierungsintervall","refresh-rate-help":"Zeit, bis das System die Daten automatisch aktualisiert.","refresh-rate-confirmation":"Aktualisierungsintervall ge\xe4ndert.","seconds":"Sekunden"},"login":{"password":"Passwort","incorrect-password":"Falsches Passwort.","initial-config":"Erste Konfiguration"},"actions":{"menu":{"terminal":"Terminal","config":"Konfiguration","update":"Aktualisieren","reboot":"Neustart"},"reboot":{"confirmation":"Den Visor wirklich neustarten?","done":"Der Visor wird neu gestartet."},"terminal-options":{"full":"Terminal","simple":"Einfaches Terminal"},"terminal":{"title":"Terminal","input-start":"Skywire Terminal f\xfcr {{address}}","error":"Bei der Ausf\xfchrung des Befehls ist ein Fehler aufgetreten."}},"update":{"title":"Aktualisierung","error-title":"Error","processing":"Suche nach Aktualisierungen...","no-update":"Keine Aktualisierung vorhanden.
Installierte Version:","no-updates":"Keine neuen Aktualisierungen gefunden.","already-updating":"Einige Visor werden schon aktualisiert:","update-available":"Folgende Aktualisierungen wurden gefunden:","update-available-singular":"Folgende Aktualisierungen wurden f\xfcr einen Visor gefunden:","update-available-plural":"Folgende Aktualisierungen wurden f\xfcr {{ number }} Visor gefunden:","update-available-additional-singular":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr einen Visor wurden gefunden:","update-available-additional-plural":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr {{ number }} Visor wurden gefunden:","update-instructions":"\'Aktualisierungen installieren\' klicken um fortzufahren.","updating":"Die Aktualisierung wurde gestartet. Das Fenster kann erneut ge\xf6ffnet werden um den Fortschritt zu sehen:","version-change":"Von {{ currentVersion }} auf {{ newVersion }}","selected-channel":"Gew\xe4hlter Kanal:","downloaded-file-name-prefix":"Herunterladen: ","speed-prefix":"Geschwindigkeit: ","time-downloading-prefix":"Dauer: ","time-left-prefix":"Dauert ungef\xe4hr noch: ","starting":"Aktualisierung wird vorbereitet","finished":"Status Verbindung beendet","install":"Aktualisierungen installieren"},"apps":{"log":{"title":"Log","empty":"Im ausgew\xe4hlten Intervall sind keine Logs vorhanden","filter-button":"Log-Intervall:","filter":{"title":"Filter","filter":"Zeige generierte Logs","7-days":"der letzten 7 Tagen","1-month":"der letzten 30 Tagen","3-months":"der letzten 3 Monaten","6-months":"der letzten 6 Monaten","1-year":"des letzten Jahres","all":"Zeige alle"}},"apps-list":{"title":"Anwendungen","list-title":"Anwendungsliste","app-name":"Name","port":"Port","state":"Status","state-tooltip":"Aktueller Status","auto-start":"Auto-Start","empty":"Visor hat keine Anwendungen.","empty-with-filter":"Keine Anwendung erf\xfcllt die Filterkriterien","disable-autostart":"Autostart ausschalten","enable-autostart":"Autostart einschalten","autostart-disabled":"Autostart aus","autostart-enabled":"Autostart ein","unavailable-logs-error":"Kann Logs nicht zeigen, solange die Anwendung gestoppt ist.","filter-dialog":{"state":"Der Status muss sein","name":"Der Name muss enthalten","port":"Der Port muss enthalten","autostart":"Autostart muss sein","state-options":{"any":"L\xe4uft oder gestoppt","running":"L\xe4uft","stopped":"Gestoppt"},"autostart-options":{"any":"An oder Aus","enabled":"An","disabled":"Aus"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Einstellungen","vpn-title":"VPN-Server Einstellungen","new-password":"Neues Passwort (Um Passwort zu entfernen leer lassen)","repeat-password":"Passwort wiederholen","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","secure-mode-check":"Sicherheitsmodus benutzen","secure-mode-info":"Wenn aktiv, erlaubt der Server kein Client/Server SSH und erlaubt kein Datenverkehr vom VPN-Client zum lokalen Netzwerk des Servers.","save":"Speichern","remove-passowrd-confirmation":"Kein Passwort eingegeben. Wirklich Passwort entfernen?","change-passowrd-confirmation":"Passwort wirklich \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Einstellungen","vpn-title":"VPN-Client Einstellungen","discovery-tab":"Suche","remote-visor-tab":"Manuelle Eingabe","history-tab":"Verlauf","settings-tab":"Einstellungen","use":"Diese Daten benutzen","change-note":"Notiz \xe4ndern","remove-entry":"Eintrag l\xf6schen","note":"Notiz:","note-entered-manually":"Manuell eingegeben","note-obtained":"Von Discovery-Service erhalten","key":"Schl\xfcssel:","port":"Port:","location":"Ort:","state-available":"Verf\xfcgbar","state-offline":"Offline","public-key":"Remote Visor \xf6ffentlicher Schl\xfcssel","password":"Passwort","password-history-warning":"Achtung: Das Passwort wird nicht im Verlauf gespeichert.","copy-pk-info":"\xd6ffentlichen Schl\xfcssel kopieren.","copied-pk-info":"\xd6ffentlicher Schl\xfcssel wurde kopiert","copy-pk-error":"Beim Kopieren des \xf6ffentlichen Schl\xfcssels ist ein Problem aufgetreten.","no-elements":"Derzeit k\xf6nnen keine Elemente angezeigt werden. Bitte sp\xe4ter versuchen.","no-elements-for-filters":"Keine Elemente, welche die Filterkriterien erf\xfcllen.","no-filter":"Es wurde kein Filter gew\xe4hlt.","click-to-change":"Zum \xc4ndern klicken","remote-key-length-error":"Der \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","save":"Speichern","remove-from-history-confirmation":"Eintrag wirklich aus dem Verlauf l\xf6schen?","change-key-confirmation":"Wirklich den \xf6ffentlichen Schl\xfcssel des remote Visors \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert.","no-history":"Dieser Tab zeigt die letzten {{ number }} \xf6ffentlichen Schl\xfcssel, die benutzt wurden.","default-note-warning":"Die Standardnotiz wurde nicht benutzt.","pagination-info":"{{ currentElementsRange }} von {{ totalElements }}","killswitch-check":"Killswitch aktivieren","killswitch-info":"Wenn aktiv, werden alle Netzwerkverbindungen deaktiviert falls die Anwendung l\xe4uft aber der VPN Schutz unterbrochen wird (f\xfcr tempor\xe4re Fehler oder andere Probleme).","settings-changed-alert":"Die \xc4nderungen wurden noch nicht gespeichert.","save-settings":"Einstellungen speichern","change-note-dialog":{"title":"Notiz \xe4ndern","note":"Notiz"},"password-dialog":{"title":"Passwort eingeben","password":"Passwort","info":"Ein Passwort wird abgefragt, da bei der Erstellung des gew\xe4hlten Eintrags ein Passwort gesetzt wurde, aus Sicherheitsgr\xfcnden aber nicht gespeichert wurde. Das Passwort kann frei gelassen werden.","continue-button":"Fortfahren"},"filter-dialog":{"title":"Filter","country":"Das Land muss sein","any-country":"Jedes","location":"Der Ort muss enthalten","pub-key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","apply":"Anwenden"}},"stop-app":"Stopp","start-app":"Start","view-logs":"Zeige Logs","settings":"Einstellungen","error":"Ein Fehler ist aufgetreten.","stop-confirmation":"Anwendung wirklich anhalten?","stop-selected-confirmation":"Ausgew\xe4hlte Anwendung wirklich anhalten?","disable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich ausschalten?","enable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich einschalten?","disable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich ausschalten?","enable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich einschalten","operation-completed":"Operation ausgef\xfchrt","operation-unnecessary":"Gew\xfcnschte Einstellungen schon aktiv.","status-running":"L\xe4uft","status-stopped":"Gestoppt","status-failed":"Fehler","status-running-tooltip":"Anwendung l\xe4uft","status-stopped-tooltip":"Anwendung gestoppt","status-failed-tooltip":"Ein Fehler ist aufgetreten. Log der Anwendung \xfcberpr\xfcfen."},"transports":{"title":"Transporte","remove-all-offline":"Alle offline Transporte l\xf6schen","remove-all-offline-confirmation":"Wirkliche alle offline Transporte l\xf6schen?","remove-all-filtered-offline-confirmation":"Alle offline Transporte, welche die Filterkriterien erf\xfcllen werden gel\xf6scht. Wirklich fortfahren?","info":"Verbindungen mit remote Skywire Visor, um lokalen Skywire Anwendungen zu erlauben mit diesen remote Visor zu kommunizieren.","list-title":"Transport-Liste","state":"Status","state-tooltip":"Aktueller Status","id":"ID","remote-node":"Remote","type":"Typ","create":"Transport erstellen","delete-confirmation":"Transport wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Transporte wirklich entfernen?","delete":"Transport entfernen","deleted":"Transport erfolgreich entfernt.","empty":"Visor hat keine Transporte.","empty-with-filter":"Kein Transport erf\xfcllt die gew\xe4hlten Filterkriterien.","statuses":{"online":"Online","online-tooltip":"Transport ist online","offline":"Offline","offline-tooltip":"Transport ist offline"},"details":{"title":"Details","basic":{"title":"Basis Info","state":"Status:","id":"ID:","local-pk":"Lokaler \xf6ffentlicher Schl\xfcssel:","remote-pk":"Remote \xf6ffentlicher Schl\xfcssel:","type":"Typ:"},"data":{"title":"Daten\xfcbertragung","uploaded":"Hochgeladen:","downloaded":"Heruntergeladen:"}},"dialog":{"remote-key":"Remote \xf6ffentlicher Schl\xfcssel:","label":"Bezeichnung (optional)","transport-type":"Transport-Typ","success":"Transport erstellt.","success-without-label":"Der Transport wurde erstellt, aber die Bezeichnung konnte nicht gespeichert werden.","errors":{"remote-key-length-error":"Der remote \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der remote \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","transport-type-error":"Ein Transport-Typ wird ben\xf6tigt."}},"filter-dialog":{"online":"Der Transport muss sein","id":"Die ID muss enthalten","remote-node":"Der remote Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routen","info":"Netzwerkpfade zum Erreichen von remote Visor. Routen werden bei Bedarf automatisch generiert.","list-title":"Routen-Liste","key":"Schl\xfcssel","type":"Typ","source":"Quelle","destination":"Ziel","delete-confirmation":"Diese Route wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Routen wirklich entfernen?","delete":"Route entfernen","deleted":"Route erfolgreich entfernt.","empty":"Visor hat keine Routen.","empty-with-filter":"Keine Route erf\xfcllt die gew\xe4hlten Filterkriterien.","details":{"title":"Details","basic":{"title":"Basis Info","key":"Schl\xfcssel:","rule":"Regel:"},"summary":{"title":"Regel Zusammenfassung","keep-alive":"Keep alive:","type":"Typ:","key-route-id":"Schl\xfcssel-Route ID:"},"specific-fields-titles":{"app":"Anwendung","forward":"Weiterleitung","intermediary-forward":"Vermittelte Weiterleitung"},"specific-fields":{"route-id":"N\xe4chste Routen ID:","transport-id":"N\xe4chste Transport ID:","destination-pk":"Ziel \xf6ffentlicher Schl\xfcssel:","source-pk":"Quelle \xf6ffentlicher Schl\xfcssel:","destination-port":"Ziel Port:","source-port":"Quelle Port:"}},"filter-dialog":{"key":"Der Schl\xfcssel muss enthalten","type":"Der Typ muss sein","source":"Die Quelle muss enhalten","destination":"Das Ziel muss enthalten","any-type-option":"Egal"}},"copy":{"tooltip":"In Zwischenablage kopieren","tooltip-with-text":"{{ text }} (In Zwischenablage kopieren)","copied":"In Zwischenablage kopiert!"},"selection":{"select-all":"Alle ausw\xe4hlen","unselect-all":"Alle abw\xe4hlen","delete-all":"Alle ausgew\xe4hlten Elemente entfernen","start-all":"Starte ausgew\xe4hlte Anwendung","stop-all":"Stoppe ausgew\xe4hlte Anwendung","enable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen einschalten","disable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen ausschalten"},"refresh-button":{"seconds":"K\xfcrzlich aktualisiert","minute":"Vor einer Minute aktualisiert","minutes":"Vor {{ time }} Minuten aktualisiert","hour":"Vor einer Stunde aktualisiert","hours":"Vor {{ time }} Stunden aktualisert","day":"Vor einem Tag aktualisiert","days":"Vor {{ time }} Tagen aktualisert","week":"Vor einer Woche aktualisiert","weeks":"Vor {{ time }} Wochen aktualisert","error-tooltip":"Fehler beim Aktualiseren aufgetreten. Versuche erneut alle {{ time }} Sekunden..."},"view-all-link":{"label":"Zeige alle {{ number }} Elemente"},"paginator":{"first":"Erste","last":"Letzte","total":"Insgesamt: {{ number }} Seiten","select-page-title":"Seite ausw\xe4hlen"},"confirmation":{"header-text":"Best\xe4tigung","confirm-button":"Ja","cancel-button":"Nein","close":"Schlie\xdfen","error-header-text":"Fehler","done-header-text":"Fertig"},"language":{"title":"Sprache ausw\xe4hlen"},"tabs-window":{"title":"Tab wechseln"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/634.9f8ff3633ebe9e11.js b/cmd/skywire-visor/static/634.9f8ff3633ebe9e11.js new file mode 100644 index 0000000000..38874380c3 --- /dev/null +++ b/cmd/skywire-visor/static/634.9f8ff3633ebe9e11.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[634],{3634:e=>{e.exports=JSON.parse('{"common":{"save":"Speichern","cancel":"Abbrechen","downloaded":"Heruntergeladen","uploaded":"Hochgeladen","loading-error":"Beim Laden der Daten ist ein Fehler aufgetreten. Versuche es erneut...","operation-error":"Beim Ausf\xfchren der Aktion ist ein Fehler aufgetreten.","no-connection-error":"Es ist keine Internetverbindung oder Verbindung zum Hypervisor vorhanden.","error":"Fehler:","refreshed":"Daten aktualisiert.","options":"Optionen","logout":"Abmelden","logout-error":"Fehler beim Abmelden.","logout-confirmation":"Wirklich abmelden?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unbekannt","close":"Schlie\xdfen"},"labeled-element":{"edit-label":"Bezeichnung \xe4ndern","remove-label":"Bezeichnung l\xf6schen","copy":"Kopieren","remove-label-confirmation":"Bezeichnung wirklich l\xf6schen?","unnamed-element":"Unbenannt","unnamed-local-visor":"Lokaler Visor","local-element":"Lokal","tooltip":"Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern","tooltip-with-text":"{{ text }} (Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern)"},"labels":{"title":"Bezeichnung","info":"Bezeichnungen, die eingegeben wurden um Visor, Transporte und andere Elemente einfach wiederzuerkennen.","list-title":"Bezeichnunen Liste","label":"Bezeichnung","id":"Element ID","type":"Typ","delete-confirmation":"Diese Bezeichnung wirklich l\xf6schen?","delete-selected-confirmation":"Ausgew\xe4hlte Bezeichnungen wirklich l\xf6schen?","delete":"Bezeichnung l\xf6schen","deleted":"Bezeichnung gel\xf6scht.","empty":"Keine gespeicherten Bezeichnungen vorhanden.","empty-with-filter":"Keine Bezeichnung erf\xfcllt die gew\xe4hlten Filterkriterien.","filter-dialog":{"label":"Die Bezeichnung muss beinhalten","id":"Die ID muss beinhalten","type":"Der Typ muss sein","type-options":{"any":"Jeder","visor":"Visor","dmsg-server":"DMSG Server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Dr\xfccken um Filter zu l\xf6schen)","remove-confirmation":"Filter wirkliche l\xf6schen?"},"tables":{"title":"Ordnen nach","sorting-title":"Geordnet nach:","sort-by-value":"Wert","sort-by-label":"Bezeichnung","label":"(Bezeichnung)","inverted-order":"(Umgekehrt)"},"start":{"title":"Start"},"node":{"title":"Visor Details","not-found":"Visor nicht gefunden.","statuses":{"online":"Online","online-tooltip":"Visor ist online","partially-online":"Online mit Problemen","partially-online-tooltip":"Visor ist online, aber nicht alle Dienste laufen. F\xfcr Informationen bitte die Details Seite \xf6ffnen und die \\"Zustand Info\\" \xfcberpr\xfcfen.","offline":"Offline","offline-tooltip":"Visor ist offline"},"details":{"node-info":{"title":"Visor Info","label":"Bezeichnung:","public-key":"\xd6ffentlicher Schl\xfcssel:","dmsg-server":"DMSG Server:","ping":"Ping:","node-version":"Visor Version:","time":{"title":"Online seit:","seconds":"ein paar Sekunden","minute":"1 Minute","minutes":"{{ time }} Minuten","hour":"1 Stunde","hours":"{{ time }} Stunden","day":"1 Tag","days":"{{ time }} Tage","week":"1 Woche","weeks":"{{ time }} Wochen"}},"node-health":{"title":"Zustand Info","status":"Status:","transport-discovery":"Transport Entdeckung:","route-finder":"Route Finder:","setup-node":"Setup Visor:","uptime-tracker":"Verf\xfcgbarkeitsmonitor:","address-resolver":"Addressaufl\xf6ser:","element-offline":"offline"},"node-traffic-data":"Datenverkehr"},"tabs":{"info":"Info","apps":"Anwendungen","routing":"Routing"},"error-load":"Beim Aktualisieren der Visordaten ist ein Fehler aufgetreten."},"nodes":{"title":"Visor Liste","dmsg-title":"DMSG","update-all":"Alle Visor aktualisieren","hypervisor":"Hypervisor","state":"Status","state-tooltip":"Aktueller Status","label":"Bezeichnung","key":"Schl\xfcssel","dmsg-server":"DMSG Server","ping":"Ping","hypervisor-info":"Dieser Visor ist der aktuelle Hypervisor.","copy-key":"Schl\xfcssel kopieren","copy-dmsg":"DMSG Server Schl\xfcssel kopieren","copy-data":"Daten kopieren","view-node":"Visor betrachten","delete-node":"Visor l\xf6schen","delete-all-offline":"Alle offline Visor l\xf6schen","error-load":"Beim Aktualisieren der Visor-Liste ist ein Fehler aufgetreten.","empty":"Es ist kein Visor zu diesem Hypervisor verbunden.","empty-with-filter":"Kein Visor erf\xfcllt die gew\xe4hlten Filterkriterien","delete-node-confirmation":"Visor wirklich von der Liste l\xf6schen?","delete-all-offline-confirmation":"Wirklich alle offline Visor von der Liste l\xf6schen?","delete-all-filtered-offline-confirmation":"Alle offline Visor, welche die Filterkriterien erf\xfcllen werden von der Liste gel\xf6scht. Wirklich fortfahren?","deleted":"Visor gel\xf6scht.","deleted-singular":"Ein offline Visor gel\xf6scht.","deleted-plural":"{{ number }} offline Visor gel\xf6scht.","no-visors-to-update":"Kein Visor zum Aktualiseren vorhanden.","filter-dialog":{"online":"Der Visor muss","label":"Der Bezeichner muss enthalten","key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","dmsg":"Der DMSG Server Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Bezeichnung","done":"Bezeichnung gespeichert.","label-removed-warning":"Die Bezeichnung wurde gel\xf6scht."},"settings":{"title":"Einstellungen","password":{"initial-config-help":"Diese Option wird verwendet, um das erste Passwort festzulegen. Nachdem ein Passwort festgelegt wurde, ist es nicht m\xf6glich dieses, mit dieser Option zu \xe4ndern.","help":"Optionen um das Passwort zu \xe4ndern.","old-password":"Altes Passwort","new-password":"Neues Passwort","repeat-password":"Neues Passwort wiederholen","password-changed":"Passwort wurde ge\xe4ndert.","error-changing":"Fehler beim \xc4ndern des Passworts aufgetreten.","initial-config":{"title":"Erstes Passwort festlegen","password":"Passwort","repeat-password":"Passwort wiederholen","set-password":"Passwort \xe4ndern","done":"Passwort wurde ge\xe4ndert.","error":"Fehler. Es scheint ein erstes Passwort wurde schon gew\xe4hlt."},"errors":{"bad-old-password":"Altes Passwort falsch","old-password-required":"Altes Passwort wird ben\xf6tigt","new-password-error":"Passwort muss 6-64 Zeichen lang sein.","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","default-password":"Das Standardpasswort darf nicht verwendet werden (1234)."}},"updater-config":{"open-link":"Aktualisierungseinstellungen anzeigen","open-confirmation":"Es wird nur erfahrenen Benutzern empfohlen, die Aktualisierungseinstellungen zu modifizieren. Wirkich fortfahren?","help":"Dieses Formular benutzen um Einstellungen f\xfcr die Aktualisierung zu \xfcberschreiben. Alle leeren Felder werden ignoriert. Die Einstellungen werden f\xfcr alle Aktualisierungen \xfcbernommen. Dies geschieht unabh\xe4ngig davon, welches Element aktualisiert wird. Bitte Vorsicht wahren.","channel":"Kanal","version":"Version","archive-url":"Archiv-URL","checksum-url":"Pr\xfcfsummen-URL","not-saved":"Die \xc4nderungen wurden noch nicht gespeichert.","save":"\xc4nderungen speichern","remove-settings":"Einstellungen l\xf6schen","saved":"Die benutzerdefinierten Einstellungen wurden gespeichert.","removed":"Die benutzerdefinierten Einstellungen wurden gel\xf6scht.","save-confirmation":"Wirklich die benutzerdefinierten Einstellungen anwenden?","remove-confirmation":"Wirklich die benutzerdefinierten Einstellungen l\xf6schen?"},"change-password":"Passwort \xe4ndern","refresh-rate":"Aktualisierungsintervall","refresh-rate-help":"Zeit, bis das System die Daten automatisch aktualisiert.","refresh-rate-confirmation":"Aktualisierungsintervall ge\xe4ndert.","seconds":"Sekunden"},"login":{"password":"Passwort","incorrect-password":"Falsches Passwort.","initial-config":"Erste Konfiguration"},"actions":{"menu":{"terminal":"Terminal","config":"Konfiguration","update":"Aktualisieren","reboot":"Neustart"},"reboot":{"confirmation":"Den Visor wirklich neustarten?","done":"Der Visor wird neu gestartet."},"terminal-options":{"full":"Terminal","simple":"Einfaches Terminal"},"terminal":{"title":"Terminal","input-start":"Skywire Terminal f\xfcr {{address}}","error":"Bei der Ausf\xfchrung des Befehls ist ein Fehler aufgetreten."}},"update":{"title":"Aktualisierung","error-title":"Error","processing":"Suche nach Aktualisierungen...","no-update":"Keine Aktualisierung vorhanden.
Installierte Version:","no-updates":"Keine neuen Aktualisierungen gefunden.","already-updating":"Einige Visor werden schon aktualisiert:","update-available":"Folgende Aktualisierungen wurden gefunden:","update-available-singular":"Folgende Aktualisierungen wurden f\xfcr einen Visor gefunden:","update-available-plural":"Folgende Aktualisierungen wurden f\xfcr {{ number }} Visor gefunden:","update-available-additional-singular":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr einen Visor wurden gefunden:","update-available-additional-plural":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr {{ number }} Visor wurden gefunden:","update-instructions":"\'Aktualisierungen installieren\' klicken um fortzufahren.","updating":"Die Aktualisierung wurde gestartet. Das Fenster kann erneut ge\xf6ffnet werden um den Fortschritt zu sehen:","version-change":"Von {{ currentVersion }} auf {{ newVersion }}","selected-channel":"Gew\xe4hlter Kanal:","downloaded-file-name-prefix":"Herunterladen: ","speed-prefix":"Geschwindigkeit: ","time-downloading-prefix":"Dauer: ","time-left-prefix":"Dauert ungef\xe4hr noch: ","starting":"Aktualisierung wird vorbereitet","finished":"Status Verbindung beendet","install":"Aktualisierungen installieren"},"apps":{"log":{"title":"Log","empty":"Im ausgew\xe4hlten Intervall sind keine Logs vorhanden","filter-button":"Log-Intervall:","filter":{"title":"Filter","filter":"Zeige generierte Logs","7-days":"der letzten 7 Tagen","1-month":"der letzten 30 Tagen","3-months":"der letzten 3 Monaten","6-months":"der letzten 6 Monaten","1-year":"des letzten Jahres","all":"Zeige alle"}},"apps-list":{"title":"Anwendungen","list-title":"Anwendungsliste","app-name":"Name","port":"Port","state":"Status","state-tooltip":"Aktueller Status","auto-start":"Auto-Start","empty":"Visor hat keine Anwendungen.","empty-with-filter":"Keine Anwendung erf\xfcllt die Filterkriterien","disable-autostart":"Autostart ausschalten","enable-autostart":"Autostart einschalten","autostart-disabled":"Autostart aus","autostart-enabled":"Autostart ein","unavailable-logs-error":"Kann Logs nicht zeigen, solange die Anwendung gestoppt ist.","filter-dialog":{"state":"Der Status muss sein","name":"Der Name muss enthalten","port":"Der Port muss enthalten","autostart":"Autostart muss sein","state-options":{"any":"L\xe4uft oder gestoppt","running":"L\xe4uft","stopped":"Gestoppt"},"autostart-options":{"any":"An oder Aus","enabled":"An","disabled":"Aus"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Einstellungen","vpn-title":"VPN-Server Einstellungen","new-password":"Neues Passwort (Um Passwort zu entfernen leer lassen)","repeat-password":"Passwort wiederholen","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","secure-mode-check":"Sicherheitsmodus benutzen","secure-mode-info":"Wenn aktiv, erlaubt der Server kein Client/Server SSH und erlaubt kein Datenverkehr vom VPN-Client zum lokalen Netzwerk des Servers.","save":"Speichern","remove-passowrd-confirmation":"Kein Passwort eingegeben. Wirklich Passwort entfernen?","change-passowrd-confirmation":"Passwort wirklich \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Einstellungen","vpn-title":"VPN-Client Einstellungen","discovery-tab":"Suche","remote-visor-tab":"Manuelle Eingabe","history-tab":"Verlauf","settings-tab":"Einstellungen","use":"Diese Daten benutzen","change-note":"Notiz \xe4ndern","remove-entry":"Eintrag l\xf6schen","note":"Notiz:","note-entered-manually":"Manuell eingegeben","note-obtained":"Von Discovery-Service erhalten","key":"Schl\xfcssel:","port":"Port:","location":"Ort:","state-available":"Verf\xfcgbar","state-offline":"Offline","public-key":"Remote Visor \xf6ffentlicher Schl\xfcssel","password":"Passwort","password-history-warning":"Achtung: Das Passwort wird nicht im Verlauf gespeichert.","copy-pk-info":"\xd6ffentlichen Schl\xfcssel kopieren.","copied-pk-info":"\xd6ffentlicher Schl\xfcssel wurde kopiert","copy-pk-error":"Beim Kopieren des \xf6ffentlichen Schl\xfcssels ist ein Problem aufgetreten.","no-elements":"Derzeit k\xf6nnen keine Elemente angezeigt werden. Bitte sp\xe4ter versuchen.","no-elements-for-filters":"Keine Elemente, welche die Filterkriterien erf\xfcllen.","no-filter":"Es wurde kein Filter gew\xe4hlt.","click-to-change":"Zum \xc4ndern klicken","remote-key-length-error":"Der \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","save":"Speichern","remove-from-history-confirmation":"Eintrag wirklich aus dem Verlauf l\xf6schen?","change-key-confirmation":"Wirklich den \xf6ffentlichen Schl\xfcssel des remote Visors \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert.","no-history":"Dieser Tab zeigt die letzten {{ number }} \xf6ffentlichen Schl\xfcssel, die benutzt wurden.","default-note-warning":"Die Standardnotiz wurde nicht benutzt.","pagination-info":"{{ currentElementsRange }} von {{ totalElements }}","killswitch-check":"Killswitch aktivieren","killswitch-info":"Wenn aktiv, werden alle Netzwerkverbindungen deaktiviert falls die Anwendung l\xe4uft aber der VPN Schutz unterbrochen wird (f\xfcr tempor\xe4re Fehler oder andere Probleme).","settings-changed-alert":"Die \xc4nderungen wurden noch nicht gespeichert.","save-settings":"Einstellungen speichern","change-note-dialog":{"title":"Notiz \xe4ndern","note":"Notiz"},"password-dialog":{"title":"Passwort eingeben","password":"Passwort","info":"Ein Passwort wird abgefragt, da bei der Erstellung des gew\xe4hlten Eintrags ein Passwort gesetzt wurde, aus Sicherheitsgr\xfcnden aber nicht gespeichert wurde. Das Passwort kann frei gelassen werden.","continue-button":"Fortfahren"},"filter-dialog":{"title":"Filter","country":"Das Land muss sein","any-country":"Jedes","location":"Der Ort muss enthalten","pub-key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","apply":"Anwenden"}},"stop-app":"Stopp","start-app":"Start","view-logs":"Zeige Logs","settings":"Einstellungen","error":"Ein Fehler ist aufgetreten.","stop-confirmation":"Anwendung wirklich anhalten?","stop-selected-confirmation":"Ausgew\xe4hlte Anwendung wirklich anhalten?","disable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich ausschalten?","enable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich einschalten?","disable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich ausschalten?","enable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich einschalten","operation-completed":"Operation ausgef\xfchrt","operation-unnecessary":"Gew\xfcnschte Einstellungen schon aktiv.","status-running":"L\xe4uft","status-stopped":"Gestoppt","status-failed":"Fehler","status-running-tooltip":"Anwendung l\xe4uft","status-stopped-tooltip":"Anwendung gestoppt","status-failed-tooltip":"Ein Fehler ist aufgetreten. Log der Anwendung \xfcberpr\xfcfen."},"transports":{"title":"Transporte","remove-all-offline":"Alle offline Transporte l\xf6schen","remove-all-offline-confirmation":"Wirkliche alle offline Transporte l\xf6schen?","remove-all-filtered-offline-confirmation":"Alle offline Transporte, welche die Filterkriterien erf\xfcllen werden gel\xf6scht. Wirklich fortfahren?","info":"Verbindungen mit remote Skywire Visor, um lokalen Skywire Anwendungen zu erlauben mit diesen remote Visor zu kommunizieren.","list-title":"Transport-Liste","state":"Status","state-tooltip":"Aktueller Status","id":"ID","remote-node":"Remote","type":"Typ","create":"Transport erstellen","delete-confirmation":"Transport wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Transporte wirklich entfernen?","delete":"Transport entfernen","deleted":"Transport erfolgreich entfernt.","empty":"Visor hat keine Transporte.","empty-with-filter":"Kein Transport erf\xfcllt die gew\xe4hlten Filterkriterien.","statuses":{"online":"Online","online-tooltip":"Transport ist online","offline":"Offline","offline-tooltip":"Transport ist offline"},"details":{"title":"Details","basic":{"title":"Basis Info","state":"Status:","id":"ID:","local-pk":"Lokaler \xf6ffentlicher Schl\xfcssel:","remote-pk":"Remote \xf6ffentlicher Schl\xfcssel:","type":"Typ:"},"data":{"title":"Daten\xfcbertragung","uploaded":"Hochgeladen:","downloaded":"Heruntergeladen:"}},"dialog":{"remote-key":"Remote \xf6ffentlicher Schl\xfcssel:","label":"Bezeichnung (optional)","transport-type":"Transport-Typ","success":"Transport erstellt.","success-without-label":"Der Transport wurde erstellt, aber die Bezeichnung konnte nicht gespeichert werden.","errors":{"remote-key-length-error":"Der remote \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der remote \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","transport-type-error":"Ein Transport-Typ wird ben\xf6tigt."}},"filter-dialog":{"online":"Der Transport muss sein","id":"Die ID muss enthalten","remote-node":"Der remote Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routen","info":"Netzwerkpfade zum Erreichen von remote Visor. Routen werden bei Bedarf automatisch generiert.","list-title":"Routen-Liste","key":"Schl\xfcssel","type":"Typ","source":"Quelle","destination":"Ziel","delete-confirmation":"Diese Route wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Routen wirklich entfernen?","delete":"Route entfernen","deleted":"Route erfolgreich entfernt.","empty":"Visor hat keine Routen.","empty-with-filter":"Keine Route erf\xfcllt die gew\xe4hlten Filterkriterien.","details":{"title":"Details","basic":{"title":"Basis Info","key":"Schl\xfcssel:","rule":"Regel:"},"summary":{"title":"Regel Zusammenfassung","keep-alive":"Keep alive:","type":"Typ:","key-route-id":"Schl\xfcssel-Route ID:"},"specific-fields-titles":{"app":"Anwendung","forward":"Weiterleitung","intermediary-forward":"Vermittelte Weiterleitung"},"specific-fields":{"route-id":"N\xe4chste Routen ID:","transport-id":"N\xe4chste Transport ID:","destination-pk":"Ziel \xf6ffentlicher Schl\xfcssel:","source-pk":"Quelle \xf6ffentlicher Schl\xfcssel:","destination-port":"Ziel Port:","source-port":"Quelle Port:"}},"filter-dialog":{"key":"Der Schl\xfcssel muss enthalten","type":"Der Typ muss sein","source":"Die Quelle muss enhalten","destination":"Das Ziel muss enthalten","any-type-option":"Egal"}},"copy":{"tooltip":"In Zwischenablage kopieren","tooltip-with-text":"{{ text }} (In Zwischenablage kopieren)","copied":"In Zwischenablage kopiert!"},"selection":{"select-all":"Alle ausw\xe4hlen","unselect-all":"Alle abw\xe4hlen","delete-all":"Alle ausgew\xe4hlten Elemente entfernen","start-all":"Starte ausgew\xe4hlte Anwendung","stop-all":"Stoppe ausgew\xe4hlte Anwendung","enable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen einschalten","disable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen ausschalten"},"refresh-button":{"seconds":"K\xfcrzlich aktualisiert","minute":"Vor einer Minute aktualisiert","minutes":"Vor {{ time }} Minuten aktualisiert","hour":"Vor einer Stunde aktualisiert","hours":"Vor {{ time }} Stunden aktualisert","day":"Vor einem Tag aktualisiert","days":"Vor {{ time }} Tagen aktualisert","week":"Vor einer Woche aktualisiert","weeks":"Vor {{ time }} Wochen aktualisert","error-tooltip":"Fehler beim Aktualiseren aufgetreten. Versuche erneut alle {{ time }} Sekunden..."},"view-all-link":{"label":"Zeige alle {{ number }} Elemente"},"paginator":{"first":"Erste","last":"Letzte","total":"Insgesamt: {{ number }} Seiten","select-page-title":"Seite ausw\xe4hlen"},"confirmation":{"header-text":"Best\xe4tigung","confirm-button":"Ja","cancel-button":"Nein","close":"Schlie\xdfen","error-header-text":"Fehler","done-header-text":"Fertig"},"language":{"title":"Sprache ausw\xe4hlen"},"tabs-window":{"title":"Tab wechseln"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/733.0148c3717285573b.js b/cmd/skywire-visor/static/733.0148c3717285573b.js new file mode 100644 index 0000000000..ed77cea32a --- /dev/null +++ b/cmd/skywire-visor/static/733.0148c3717285573b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[733],{5733:e=>{e.exports=JSON.parse('{"common":{"save":"Salvar","cancel":"Cancelar","downloaded":"Baixado","uploaded":"Enviado","loading-error":"Ocorreu um erro ao obter os dados. Tentando novamente...","operation-error":"Ocorreu um erro ao tentar concluir a opera\xe7\xe3o.","no-connection-error":"N\xe3o h\xe1 conex\xe3o com a Internet ou conex\xe3o com o Hypervisor.","error":"Erro:","refreshed":"Dados atualizados.","options":"Op\xe7\xf5es","logout":"Sair","logout-error":"Erro ao sair.","logout-confirmation":"Tem certeza que deseja sair?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Desconhecido","close":"Fechar"},"labeled-element":{"edit-label":"Editar r\xf3tulo","remove-label":"Remover r\xf3tulo","copy":"Copiar","remove-label-confirmation":"Tem certeza de que deseja remover o r\xf3tulo?","unnamed-element":"Sem nome","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Clique para copiar a entrada ou alterar o r\xf3tulo","tooltip-with-text":"{{ text }} (Clique para copiar a entrada ou alterar o r\xf3tulo)"},"labels":{"title":"R\xf3tulos","info":"R\xf3tulos que voc\xea inseriu para identificar facilmente visores, transportes e outros elementos, em vez de ter que ler identificadores gerados por m\xe1quina.","list-title":"Lista de R\xf3tulos","label":"R\xf3tulo","id":"ID do elemento","type":"Tipo","delete-confirmation":"Tem certeza de que deseja excluir o r\xf3tulo?","delete-selected-confirmation":"Tem certeza de que deseja excluir os r\xf3tulos selecionados?","delete":"Apagar r\xf3tulo","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"N\xe3o h\xe1 r\xf3tulos salvos.","empty-with-filter":"Nenhum r\xf3tulo corresponde aos crit\xe9rios de filtragem selecionados.","filter-dialog":{"label":"O r\xf3tulo deve conter","id":"O id deve conter","type":"O tipo deve ser","type-options":{"any":"Algum","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtro","press-to-remove":"(Pressione para remover os filtros)","remove-confirmation":"Tem certeza de que deseja remover os filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"R\xf3tulo","label":"(R\xf3tulo)","inverted-order":"(invertido)"},"start":{"title":"Come\xe7ar"},"node":{"title":"Detalhes do Visor","not-found":"Visor n\xe3o encontrado.","statuses":{"online":"Online","online-tooltip":"Visor est\xe1 online.","partially-online":"Online com problemas","partially-online-tooltip":"O Visor est\xe1 online, mas nem todos os servi\xe7os est\xe3o funcionando. Para mais informa\xe7\xf5es, abra a p\xe1gina de detalhes e verifique a se\xe7\xe3o \\"Informa\xe7\xf5es de sa\xfade\\".","offline":"Offline","offline-tooltip":"Visor est\xe1 offline."},"details":{"node-info":{"title":"Informa\xe7\xe3o do Visor","label":"R\xf3tulo:","public-key":"Chave p\xfablica:","port":"Porta:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Vers\xe3o do Visor:","time":{"title":"Tempo online:","seconds":"alguns segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 dia","days":"{{ time }} dias","week":"1 semana","weeks":"{{ time }} semanas"}},"node-health":{"title":"Informa\xe7\xe3o de sa\xfade","status":"Status:","transport-discovery":"Descoberta de transporte:","route-finder":"Localizador de rota:","setup-node":"Configura\xe7\xe3o de N\xf3:","uptime-tracker":"Rastreador de tempo de atividade:","address-resolver":"Resolvedor de endere\xe7os:","element-offline":"Offline"},"node-traffic-data":"Tr\xe1fego de dados"},"tabs":{"info":"Informa\xe7\xe3o","apps":"Aplicativos","routing":"Encaminhamento"},"error-load":"Ocorreu um erro ao atualizar os dados. Tentando novamente..."},"nodes":{"title":"Lista de Visor","dmsg-title":"DMSG","update-all":"Atualizar todas as Visores","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado atual","label":"R\xf3tulo","key":"Chave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor \xe9 o hipervisor atual.","copy-key":"Copiar chave","copy-dmsg":"Copiar chave do servidor DMSG","copy-data":"Copiar dados","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos visores offline","error-load":"Ocorreu um erro ao atualizar a lista. Tentando novamente...","empty":"N\xe3o h\xe1 visores conectados a este hipervisor.","empty-with-filter":"Nenhum visor corresponde aos crit\xe9rios de filtragem selecionados.","delete-node-confirmation":"Tem certeza de que deseja remover o visor da lista?","delete-all-offline-confirmation":"Tem certeza de que deseja remover todas as visores offline da lista?","delete-all-filtered-offline-confirmation":"Todos os visores offline que satisfa\xe7am os crit\xe9rios de filtragem atuais ser\xe3o removidos da lista. Voc\xea tem certeza que quer continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"N\xe3o h\xe1 visores para atualizar.","filter-dialog":{"online":"O visor deve ser","label":"O r\xf3tulo deve conter","key":"A chave p\xfablica deve conter","dmsg":"A chave do servidor DMSG deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"R\xf3tulo","done":"R\xf3tulo salvo.","label-removed-warning":"O r\xf3tulo foi removido."},"settings":{"title":"Defini\xe7\xf5es","password":{"initial-config-help":"Use esta op\xe7\xe3o para definir a senha inicial. Depois de definir uma senha, n\xe3o \xe9 poss\xedvel usar esta op\xe7\xe3o para modific\xe1-la.","help":"Op\xe7\xf5es para alterar sua senha.","old-password":"Senha Antiga","new-password":"Nova Senha","repeat-password":"Repita a senha","password-changed":"Senha alterada.","error-changing":"Erro ao alterar a senha.","initial-config":{"title":"Definir senha inicial","password":"Senha","repeat-password":"Repita a senha","set-password":"Definir senha","done":"Senha definida. Use-a para acessar o sistema.","error":"Erro. Certifique-se de que ainda n\xe3o definiu a senha."},"errors":{"bad-old-password":"A senha antiga fornecida n\xe3o est\xe1 correta.","old-password-required":"A senha antiga \xe9 necess\xe1ria.","new-password-error":"A senha deve ter de 6 a 64 caracteres.","passwords-not-match":"As senhas n\xe3o coincidem.","default-password":"N\xe3o use a senha padr\xe3o (1234)."}},"updater-config":{"open-link":"Mostrar configura\xe7\xf5es do atualizador","open-confirmation":"As configura\xe7\xf5es do atualizador s\xe3o apenas para usu\xe1rios experientes. Voc\xea tem certeza que quer continuar?","help":"Use este formul\xe1rio para substituir as configura\xe7\xf5es que ser\xe3o usadas pelo atualizador. Todos os campos vazios ser\xe3o ignorados. As configura\xe7\xf5es ser\xe3o usadas para todas as opera\xe7\xf5es de atualiza\xe7\xe3o, independentemente de qual elemento est\xe1 sendo atualizado, portanto, tome cuidado.","channel":"Canal","version":"Vers\xe3o","archive-url":"URL do arquivo","checksum-url":"URL do Checksum ","not-saved":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save":"Salvar altera\xe7\xf5es","remove-settings":"Remover as configura\xe7\xf5es","saved":"As configura\xe7\xf5es personalizadas foram salvas.","removed":"As configura\xe7\xf5es personalizadas foram removidas.","save-confirmation":"Tem certeza de que deseja aplicar as configura\xe7\xf5es personalizadas?","remove-confirmation":"Tem certeza de que deseja remover as configura\xe7\xf5es personalizadas?"},"change-password":"Mudar senha","refresh-rate":"Taxa de atualiza\xe7\xe3o","refresh-rate-help":"Tempo que o sistema espera para atualizar os dados automaticamente.","refresh-rate-confirmation":"Taxa de atualiza\xe7\xe3o alterada.","seconds":"segundos"},"login":{"password":"Senha","incorrect-password":"Senha incorreta.","initial-config":"Configurar a inicializa\xe7\xe3o inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configura\xe7\xe3o","update":"Atualizar","reboot":"Reiniciar"},"reboot":{"confirmation":"Tem certeza de que deseja reiniciar o visor?","done":"O visor est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completo","simple":"Terminal simples"},"terminal":{"title":"Terminal","input-start":"Terminal Skywire para {{address}}","error":"Erro inesperado ao tentar executar o comando."}},"update":{"title":"Atualizar","error-title":"Erro","processing":"Procurando por atualiza\xe7\xf5es...","no-update":"N\xe3o h\xe1 atualiza\xe7\xe3o para o visor. A vers\xe3o atualmente instalada \xe9:","no-updates":"Nenhuma nova atualiza\xe7\xe3o foi encontrada.","already-updating":"Algumas visores j\xe1 est\xe3o sendo atualizadas:","update-available":"As seguintes atualiza\xe7\xf5es foram encontradas:","update-available-singular":"As seguintes atualiza\xe7\xf5es para 1 visor foram encontradas:","update-available-plural":"As seguintes atualiza\xe7\xf5es para visores {{ number }} foram encontradas:","update-available-additional-singular":"As seguintes atualiza\xe7\xf5es adicionais para 1 visor foram encontradas:","update-available-additional-plural":"As seguintes atualiza\xe7\xf5es adicionais para visores {{ number }} foram encontradas:","update-instructions":"Clique no bot\xe3o \'Instalar atualiza\xe7\xf5es\' para continuar.","updating":"A opera\xe7\xe3o de atualiza\xe7\xe3o foi iniciada, voc\xea pode abrir esta janela novamente para verificar o andamento:","version-change":"De {{ currentVersion }} para {{ newVersion }}","selected-channel":"Canal selecionado:","downloaded-file-name-prefix":"Baixando: ","speed-prefix":"Velocidade: ","time-downloading-prefix":"Tempo de download: ","time-left-prefix":"Tempo restante (aprox.): ","starting":"Preparando para atualizar","finished":"Conex\xe3o de status finalizada","install":"Instalar atualiza\xe7\xf5es"},"apps":{"log":{"title":"Registro","empty":"N\xe3o h\xe1 mensagens de registro para o intervalo de tempo selecionado.","filter-button":"Mostrando apenas os registros gerados desde:","filter":{"title":"Filtro","filter":"Mostrar apenas os registros gerados desde","7-days":"\xdaltimos 7 dias","1-month":"\xdaltimos 30 dias","3-months":"\xdaltimos 03 meses","6-months":"\xdaltimos 06 meses","1-year":"\xdaltimo ano","all":"Mostrar todos"}},"apps-list":{"title":"Aplicativos","list-title":"Lista de aplicativos","app-name":"Nome","port":"Porta","state":"Estado","state-tooltip":"Estado atual","auto-start":"Inicializa\xe7\xe3o automaticamente","empty":"Visor n\xe3o tem nenhum aplicativo.","empty-with-filter":"Nenhum aplicativo corresponde aos crit\xe9rios de filtragem selecionados.","disable-autostart":"Desativar inicializa\xe7\xe3o autom\xe1tica","enable-autostart":"Habilitar inicializa\xe7\xe3o autom\xe1tica","autostart-disabled":"Inicializa\xe7\xe3o autom\xe1tica desativada","autostart-enabled":"Inicializa\xe7\xe3o autom\xe1tica ativada","unavailable-logs-error":"N\xe3o \xe9 poss\xedvel mostrar os logs enquanto o aplicativo n\xe3o est\xe1 em execu\xe7\xe3o.","filter-dialog":{"state":"O estado deve ser","name":"O nome deve conter","port":"A porta deve conter","autostart":"A inicializa\xe7\xe3o autom\xe1tica deve ser","state-options":{"any":"Executando ou parado","running":"Executando","stopped":"Parado"},"autostart-options":{"any":"Habilitado ou desabilitado","enabled":"Habilitado","disabled":"Desabilitado"}}},"vpn-socks-server-settings":{"socks-title":"Configura\xe7\xf5es do Skysocks","vpn-title":"Configura\xe7\xf5es do servidor VPN","new-password":"Nova senha (deixe em branco para remover a senha)","repeat-password":"Repita a senha","passwords-not-match":"As senhas n\xe3o coincidem.","secure-mode-check":"Use o modo seguro","secure-mode-info":"Quando ativo, o servidor n\xe3o permite SSH cliente / servidor e n\xe3o permite nenhum tr\xe1fego de clientes VPN para a rede local do servidor.","save":"Salvar","remove-passowrd-confirmation":"Voc\xea deixou o campo de senha vazio. Tem certeza de que deseja remover a senha?","change-passowrd-confirmation":"Tem certeza que deseja alterar a senha?","changes-made":"As mudan\xe7as foram feitas."},"vpn-socks-client-settings":{"socks-title":"Configura\xe7\xf5es do cliente Skysocks","vpn-title":"Configura\xe7\xf5es de cliente VPN","discovery-tab":"Procurar","remote-visor-tab":"Inserir manualmente","history-tab":"Hist\xf3rico","settings-tab":"Configura\xe7\xf5es","use":"Use estes dados","change-note":"Mudar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Inserida manualmente","note-obtained":"Obtida do servi\xe7o de descoberta","key":"Chave:","port":"Porta:","location":"Localiza\xe7\xe3o:","state-available":"Dispon\xedvel","state-offline":"Offline","public-key":"Chave p\xfablica do visor remoto","password":"Senha","password-history-warning":"Nota: a senha n\xe3o ser\xe1 salva no hist\xf3rico.","copy-pk-info":"Copiar chave p\xfablica.","copied-pk-info":"A chave p\xfablica foi copiada.","copy-pk-error":"Ocorreu um problema ao copiar a chave p\xfablica.","no-elements":"Atualmente n\xe3o h\xe1 elementos para mostrar. Por favor, tente novamente mais tarde.","no-elements-for-filters":"N\xe3o h\xe1 elementos que atendam aos crit\xe9rios do filtro.","no-filter":"Nenhum filtro foi selecionado","click-to-change":"Clique para mudar","remote-key-length-error":"A chave p\xfablica deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica deve conter apenas caracteres hexadecimais.","save":"Salvar","remove-from-history-confirmation":"Tem certeza de que deseja remover a entrada do hist\xf3rico?","change-key-confirmation":"Tem certeza de que deseja alterar a chave p\xfablica do visor remoto?","changes-made":"As mudan\xe7as foram feitas.","no-history":"Esta guia mostrar\xe1 as \xfaltimas {{ number }} chaves p\xfablicas usadas.","default-note-warning":"A nota padr\xe3o foi usada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Ativar killswitch","killswitch-info":"Quando ativo, todas as conex\xf5es de rede ser\xe3o desativadas se o aplicativo estiver em execu\xe7\xe3o, exceto a prote\xe7\xe3o VPN for interrompida (por erros tempor\xe1rios ou qualquer outro problema).","settings-changed-alert":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save-settings":"Salvar configura\xe7\xf5es","change-note-dialog":{"title":"Mudar nota","note":"Nota"},"password-dialog":{"title":"Digite a senha","password":"Senha","info":"Uma senha est\xe1 sendo solicitada porque uma senha foi definida quando a entrada selecionada foi criada, mas n\xe3o foi salva por motivos de seguran\xe7a. Voc\xea pode deixar a senha em branco, se necess\xe1rio.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"O pa\xeds deve ser","any-country":"Qualquer um","location":"O local deve conter","pub-key":"A chave p\xfablica deve conter","apply":"Aplicar"}},"stop-app":"Parar","start-app":"Iniciar","view-logs":"Ver registros","settings":"Configura\xe7\xf5es","error":"Ocorreu um erro e n\xe3o foi poss\xedvel realizar a opera\xe7\xe3o.","stop-confirmation":"Tem certeza de que deseja parar o aplicativo?","stop-selected-confirmation":"Tem certeza de que deseja parar os aplicativos selecionados?","disable-autostart-confirmation":"Tem certeza de que deseja desativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","enable-autostart-confirmation":"Tem certeza de que deseja ativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","disable-autostart-selected-confirmation":"Tem certeza de que deseja desativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","enable-autostart-selected-confirmation":"Tem certeza de que deseja ativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","operation-completed":"Opera\xe7\xe3o conclu\xedda.","operation-unnecessary":"A sele\xe7\xe3o j\xe1 possui a configura\xe7\xe3o solicitada.","status-running":"Executando","status-stopped":"Parado","status-failed":"Fracassado","status-running-tooltip":"O aplicativo est\xe1 em execu\xe7\xe3o","status-stopped-tooltip":"O aplicativo est\xe1 parado no momento","status-failed-tooltip":"Algo deu errado. Verifique as mensagens do aplicativo para obter mais informa\xe7\xf5es"},"transports":{"title":"Transportes","remove-all-offline":"Remover todos os transportes offline","remove-all-offline-confirmation":"Tem certeza de que deseja remover todos os transportes offline?","remove-all-filtered-offline-confirmation":"Todos os transportes off-line que atendem aos crit\xe9rios de filtragem atuais ser\xe3o removidos. Tem certeza de que deseja continuar?","info":"Conex\xf5es que voc\xea tem com visores Skywire remotos, para permitir que aplicativos Skywire locais se comuniquem com aplicativos executados nesses visores remotos.","list-title":"Lista de transporte","state":"Estado","state-tooltip":"Estado atual","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Criar transporte","delete-confirmation":"Tem certeza que deseja excluir o transporte?","delete-selected-confirmation":"Tem certeza que deseja excluir os transportes selecionados?","delete":"Excluir transporte","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem transportes.","empty-with-filter":"Nenhum transporte corresponde aos crit\xe9rios de filtragem selecionados.","statuses":{"online":"Online","online-tooltip":"Transporte est\xe1 online","offline":"Offline","offline-tooltip":"Transporte est\xe1 offline"},"details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","state":"Estado:","id":"ID:","local-pk":"Chave p\xfablica local:","remote-pk":"Chave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmiss\xe3o de dados","uploaded":"Dados carregados:","downloaded":"Dados baixados:"}},"dialog":{"remote-key":"Chave p\xfablica remota","label":"Nome de identifica\xe7\xe3o (opcional)","transport-type":"Tipo de transporte","success":"Transporte criado.","success-without-label":"O transporte foi criado, mas n\xe3o foi poss\xedvel salvar a etiqueta.","errors":{"remote-key-length-error":"A chave p\xfablica remota deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica remota deve conter apenas caracteres hexadecimais.","transport-type-error":"O tipo de transporte \xe9 obrigat\xf3rio."}},"filter-dialog":{"online":"O transporte deve ser","id":"O id deve conter","remote-node":"A chave remota deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Rotas","info":"Caminhos usados para alcan\xe7ar os visores remotos para os quais os transportes foram estabelecidos. As rotas s\xe3o geradas automaticamente conforme necess\xe1rio.","list-title":"Lista de rotas","key":"Chave","type":"Tipo","source":"Fonte","destination":"Destino","delete-confirmation":"Tem certeza que deseja excluir a rota?","delete-selected-confirmation":"Tem certeza que deseja excluir as rotas selecionadas?","delete":"Excluir rota","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem nenhuma rota.","empty-with-filter":"Nenhuma rota corresponde aos crit\xe9rios de filtragem selecionados.","details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","key":"Chave:","rule":"Regras:"},"summary":{"title":"Resumo da regra","keep-alive":"Ativo:","type":"Tipo de regra:","key-route-id":"ID de rota chave:"},"specific-fields-titles":{"app":"Campos de aplicativos","forward":"Campos de encaminhamento","intermediary-forward":"Campos intermedi\xe1rios de encaminhamento"},"specific-fields":{"route-id":"Pr\xf3ximo ID de rota:","transport-id":"Pr\xf3ximo ID de transporte:","destination-pk":"Chave p\xfablica de destino:","source-pk":"Chave p\xfablica de origem:","destination-port":"Porta de destino:","source-port":"Porta de origem:"}},"filter-dialog":{"key":"A chave deve conter","type":"O tipo deve ser","source":"A fonte deve conter","destination":"O destino deve conter","any-type-option":"Qualquer uma"}},"copy":{"tooltip":"Clique para copiar","tooltip-with-text":"{{ text }} (Clique para copiar)","copied":"Copiado!"},"selection":{"select-all":"Selecionar tudo","unselect-all":"Desmarque todos","delete-all":"Excluir todos os elementos selecionados","start-all":"Iniciar todos os aplicativos selecionados","stop-all":"Parar todos os aplicativos selecionados","enable-autostart-all":"Habilitar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados","disable-autostart-all":"Desativar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados"},"refresh-button":{"seconds":"Atualizado alguns segundos atr\xe1s","minute":"Atualizado 1 minuto atr\xe1s","minutes":"Atualizado {{ time }} minutos atr\xe1s","hour":"Atualizado 1 hora atr\xe1s","hours":"Atualizado {{ time }} horas atr\xe1s","day":"Atualizado 1 dia atr\xe1s","days":"Atualizado {{ time }} dias atr\xe1s","week":"Atualizado 1 semana atr\xe1s","weeks":"Atualizado {{ time }} semanas atr\xe1s","error-tooltip":"Ocorreu um erro ao atualizar os dados. Tentando novamente a cada {{ time }} segundos automaticamente..."},"view-all-link":{"label":"Ver todos os elementos {{ number }}"},"paginator":{"first":"Primeira","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Selecione a p\xe1gina"},"confirmation":{"header-text":"Confirma\xe7\xe3o","confirm-button":"Sim","cancel-button":"N\xe3o","close":"Fechar","error-header-text":"Erro","done-header-text":"Feito"},"language":{"title":"Selecione o idioma"},"tabs-window":{"title":"Alterar guia"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/733.390fd337c178d445.js b/cmd/skywire-visor/static/733.390fd337c178d445.js deleted file mode 100644 index f0afc95b43..0000000000 --- a/cmd/skywire-visor/static/733.390fd337c178d445.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[733],{5733:function(e){e.exports=JSON.parse('{"common":{"save":"Salvar","cancel":"Cancelar","downloaded":"Baixado","uploaded":"Enviado","loading-error":"Ocorreu um erro ao obter os dados. Tentando novamente...","operation-error":"Ocorreu um erro ao tentar concluir a opera\xe7\xe3o.","no-connection-error":"N\xe3o h\xe1 conex\xe3o com a Internet ou conex\xe3o com o Hypervisor.","error":"Erro:","refreshed":"Dados atualizados.","options":"Op\xe7\xf5es","logout":"Sair","logout-error":"Erro ao sair.","logout-confirmation":"Tem certeza que deseja sair?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Desconhecido","close":"Fechar"},"labeled-element":{"edit-label":"Editar r\xf3tulo","remove-label":"Remover r\xf3tulo","copy":"Copiar","remove-label-confirmation":"Tem certeza de que deseja remover o r\xf3tulo?","unnamed-element":"Sem nome","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Clique para copiar a entrada ou alterar o r\xf3tulo","tooltip-with-text":"{{ text }} (Clique para copiar a entrada ou alterar o r\xf3tulo)"},"labels":{"title":"R\xf3tulos","info":"R\xf3tulos que voc\xea inseriu para identificar facilmente visores, transportes e outros elementos, em vez de ter que ler identificadores gerados por m\xe1quina.","list-title":"Lista de R\xf3tulos","label":"R\xf3tulo","id":"ID do elemento","type":"Tipo","delete-confirmation":"Tem certeza de que deseja excluir o r\xf3tulo?","delete-selected-confirmation":"Tem certeza de que deseja excluir os r\xf3tulos selecionados?","delete":"Apagar r\xf3tulo","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"N\xe3o h\xe1 r\xf3tulos salvos.","empty-with-filter":"Nenhum r\xf3tulo corresponde aos crit\xe9rios de filtragem selecionados.","filter-dialog":{"label":"O r\xf3tulo deve conter","id":"O id deve conter","type":"O tipo deve ser","type-options":{"any":"Algum","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtro","press-to-remove":"(Pressione para remover os filtros)","remove-confirmation":"Tem certeza de que deseja remover os filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"R\xf3tulo","label":"(R\xf3tulo)","inverted-order":"(invertido)"},"start":{"title":"Come\xe7ar"},"node":{"title":"Detalhes do Visor","not-found":"Visor n\xe3o encontrado.","statuses":{"online":"Online","online-tooltip":"Visor est\xe1 online.","partially-online":"Online com problemas","partially-online-tooltip":"O Visor est\xe1 online, mas nem todos os servi\xe7os est\xe3o funcionando. Para mais informa\xe7\xf5es, abra a p\xe1gina de detalhes e verifique a se\xe7\xe3o \\"Informa\xe7\xf5es de sa\xfade\\".","offline":"Offline","offline-tooltip":"Visor est\xe1 offline."},"details":{"node-info":{"title":"Informa\xe7\xe3o do Visor","label":"R\xf3tulo:","public-key":"Chave p\xfablica:","port":"Porta:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Vers\xe3o do Visor:","time":{"title":"Tempo online:","seconds":"alguns segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 dia","days":"{{ time }} dias","week":"1 semana","weeks":"{{ time }} semanas"}},"node-health":{"title":"Informa\xe7\xe3o de sa\xfade","status":"Status:","transport-discovery":"Descoberta de transporte:","route-finder":"Localizador de rota:","setup-node":"Configura\xe7\xe3o de N\xf3:","uptime-tracker":"Rastreador de tempo de atividade:","address-resolver":"Resolvedor de endere\xe7os:","element-offline":"Offline"},"node-traffic-data":"Tr\xe1fego de dados"},"tabs":{"info":"Informa\xe7\xe3o","apps":"Aplicativos","routing":"Encaminhamento"},"error-load":"Ocorreu um erro ao atualizar os dados. Tentando novamente..."},"nodes":{"title":"Lista de Visor","dmsg-title":"DMSG","update-all":"Atualizar todas as Visores","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado atual","label":"R\xf3tulo","key":"Chave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor \xe9 o hipervisor atual.","copy-key":"Copiar chave","copy-dmsg":"Copiar chave do servidor DMSG","copy-data":"Copiar dados","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos visores offline","error-load":"Ocorreu um erro ao atualizar a lista. Tentando novamente...","empty":"N\xe3o h\xe1 visores conectados a este hipervisor.","empty-with-filter":"Nenhum visor corresponde aos crit\xe9rios de filtragem selecionados.","delete-node-confirmation":"Tem certeza de que deseja remover o visor da lista?","delete-all-offline-confirmation":"Tem certeza de que deseja remover todas as visores offline da lista?","delete-all-filtered-offline-confirmation":"Todos os visores offline que satisfa\xe7am os crit\xe9rios de filtragem atuais ser\xe3o removidos da lista. Voc\xea tem certeza que quer continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"N\xe3o h\xe1 visores para atualizar.","filter-dialog":{"online":"O visor deve ser","label":"O r\xf3tulo deve conter","key":"A chave p\xfablica deve conter","dmsg":"A chave do servidor DMSG deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"R\xf3tulo","done":"R\xf3tulo salvo.","label-removed-warning":"O r\xf3tulo foi removido."},"settings":{"title":"Defini\xe7\xf5es","password":{"initial-config-help":"Use esta op\xe7\xe3o para definir a senha inicial. Depois de definir uma senha, n\xe3o \xe9 poss\xedvel usar esta op\xe7\xe3o para modific\xe1-la.","help":"Op\xe7\xf5es para alterar sua senha.","old-password":"Senha Antiga","new-password":"Nova Senha","repeat-password":"Repita a senha","password-changed":"Senha alterada.","error-changing":"Erro ao alterar a senha.","initial-config":{"title":"Definir senha inicial","password":"Senha","repeat-password":"Repita a senha","set-password":"Definir senha","done":"Senha definida. Use-a para acessar o sistema.","error":"Erro. Certifique-se de que ainda n\xe3o definiu a senha."},"errors":{"bad-old-password":"A senha antiga fornecida n\xe3o est\xe1 correta.","old-password-required":"A senha antiga \xe9 necess\xe1ria.","new-password-error":"A senha deve ter de 6 a 64 caracteres.","passwords-not-match":"As senhas n\xe3o coincidem.","default-password":"N\xe3o use a senha padr\xe3o (1234)."}},"updater-config":{"open-link":"Mostrar configura\xe7\xf5es do atualizador","open-confirmation":"As configura\xe7\xf5es do atualizador s\xe3o apenas para usu\xe1rios experientes. Voc\xea tem certeza que quer continuar?","help":"Use este formul\xe1rio para substituir as configura\xe7\xf5es que ser\xe3o usadas pelo atualizador. Todos os campos vazios ser\xe3o ignorados. As configura\xe7\xf5es ser\xe3o usadas para todas as opera\xe7\xf5es de atualiza\xe7\xe3o, independentemente de qual elemento est\xe1 sendo atualizado, portanto, tome cuidado.","channel":"Canal","version":"Vers\xe3o","archive-url":"URL do arquivo","checksum-url":"URL do Checksum ","not-saved":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save":"Salvar altera\xe7\xf5es","remove-settings":"Remover as configura\xe7\xf5es","saved":"As configura\xe7\xf5es personalizadas foram salvas.","removed":"As configura\xe7\xf5es personalizadas foram removidas.","save-confirmation":"Tem certeza de que deseja aplicar as configura\xe7\xf5es personalizadas?","remove-confirmation":"Tem certeza de que deseja remover as configura\xe7\xf5es personalizadas?"},"change-password":"Mudar senha","refresh-rate":"Taxa de atualiza\xe7\xe3o","refresh-rate-help":"Tempo que o sistema espera para atualizar os dados automaticamente.","refresh-rate-confirmation":"Taxa de atualiza\xe7\xe3o alterada.","seconds":"segundos"},"login":{"password":"Senha","incorrect-password":"Senha incorreta.","initial-config":"Configurar a inicializa\xe7\xe3o inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configura\xe7\xe3o","update":"Atualizar","reboot":"Reiniciar"},"reboot":{"confirmation":"Tem certeza de que deseja reiniciar o visor?","done":"O visor est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completo","simple":"Terminal simples"},"terminal":{"title":"Terminal","input-start":"Terminal Skywire para {{address}}","error":"Erro inesperado ao tentar executar o comando."}},"update":{"title":"Atualizar","error-title":"Erro","processing":"Procurando por atualiza\xe7\xf5es...","no-update":"N\xe3o h\xe1 atualiza\xe7\xe3o para o visor. A vers\xe3o atualmente instalada \xe9:","no-updates":"Nenhuma nova atualiza\xe7\xe3o foi encontrada.","already-updating":"Algumas visores j\xe1 est\xe3o sendo atualizadas:","update-available":"As seguintes atualiza\xe7\xf5es foram encontradas:","update-available-singular":"As seguintes atualiza\xe7\xf5es para 1 visor foram encontradas:","update-available-plural":"As seguintes atualiza\xe7\xf5es para visores {{ number }} foram encontradas:","update-available-additional-singular":"As seguintes atualiza\xe7\xf5es adicionais para 1 visor foram encontradas:","update-available-additional-plural":"As seguintes atualiza\xe7\xf5es adicionais para visores {{ number }} foram encontradas:","update-instructions":"Clique no bot\xe3o \'Instalar atualiza\xe7\xf5es\' para continuar.","updating":"A opera\xe7\xe3o de atualiza\xe7\xe3o foi iniciada, voc\xea pode abrir esta janela novamente para verificar o andamento:","version-change":"De {{ currentVersion }} para {{ newVersion }}","selected-channel":"Canal selecionado:","downloaded-file-name-prefix":"Baixando: ","speed-prefix":"Velocidade: ","time-downloading-prefix":"Tempo de download: ","time-left-prefix":"Tempo restante (aprox.): ","starting":"Preparando para atualizar","finished":"Conex\xe3o de status finalizada","install":"Instalar atualiza\xe7\xf5es"},"apps":{"log":{"title":"Registro","empty":"N\xe3o h\xe1 mensagens de registro para o intervalo de tempo selecionado.","filter-button":"Mostrando apenas os registros gerados desde:","filter":{"title":"Filtro","filter":"Mostrar apenas os registros gerados desde","7-days":"\xdaltimos 7 dias","1-month":"\xdaltimos 30 dias","3-months":"\xdaltimos 03 meses","6-months":"\xdaltimos 06 meses","1-year":"\xdaltimo ano","all":"Mostrar todos"}},"apps-list":{"title":"Aplicativos","list-title":"Lista de aplicativos","app-name":"Nome","port":"Porta","state":"Estado","state-tooltip":"Estado atual","auto-start":"Inicializa\xe7\xe3o automaticamente","empty":"Visor n\xe3o tem nenhum aplicativo.","empty-with-filter":"Nenhum aplicativo corresponde aos crit\xe9rios de filtragem selecionados.","disable-autostart":"Desativar inicializa\xe7\xe3o autom\xe1tica","enable-autostart":"Habilitar inicializa\xe7\xe3o autom\xe1tica","autostart-disabled":"Inicializa\xe7\xe3o autom\xe1tica desativada","autostart-enabled":"Inicializa\xe7\xe3o autom\xe1tica ativada","unavailable-logs-error":"N\xe3o \xe9 poss\xedvel mostrar os logs enquanto o aplicativo n\xe3o est\xe1 em execu\xe7\xe3o.","filter-dialog":{"state":"O estado deve ser","name":"O nome deve conter","port":"A porta deve conter","autostart":"A inicializa\xe7\xe3o autom\xe1tica deve ser","state-options":{"any":"Executando ou parado","running":"Executando","stopped":"Parado"},"autostart-options":{"any":"Habilitado ou desabilitado","enabled":"Habilitado","disabled":"Desabilitado"}}},"vpn-socks-server-settings":{"socks-title":"Configura\xe7\xf5es do Skysocks","vpn-title":"Configura\xe7\xf5es do servidor VPN","new-password":"Nova senha (deixe em branco para remover a senha)","repeat-password":"Repita a senha","passwords-not-match":"As senhas n\xe3o coincidem.","secure-mode-check":"Use o modo seguro","secure-mode-info":"Quando ativo, o servidor n\xe3o permite SSH cliente / servidor e n\xe3o permite nenhum tr\xe1fego de clientes VPN para a rede local do servidor.","save":"Salvar","remove-passowrd-confirmation":"Voc\xea deixou o campo de senha vazio. Tem certeza de que deseja remover a senha?","change-passowrd-confirmation":"Tem certeza que deseja alterar a senha?","changes-made":"As mudan\xe7as foram feitas."},"vpn-socks-client-settings":{"socks-title":"Configura\xe7\xf5es do cliente Skysocks","vpn-title":"Configura\xe7\xf5es de cliente VPN","discovery-tab":"Procurar","remote-visor-tab":"Inserir manualmente","history-tab":"Hist\xf3rico","settings-tab":"Configura\xe7\xf5es","use":"Use estes dados","change-note":"Mudar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Inserida manualmente","note-obtained":"Obtida do servi\xe7o de descoberta","key":"Chave:","port":"Porta:","location":"Localiza\xe7\xe3o:","state-available":"Dispon\xedvel","state-offline":"Offline","public-key":"Chave p\xfablica do visor remoto","password":"Senha","password-history-warning":"Nota: a senha n\xe3o ser\xe1 salva no hist\xf3rico.","copy-pk-info":"Copiar chave p\xfablica.","copied-pk-info":"A chave p\xfablica foi copiada.","copy-pk-error":"Ocorreu um problema ao copiar a chave p\xfablica.","no-elements":"Atualmente n\xe3o h\xe1 elementos para mostrar. Por favor, tente novamente mais tarde.","no-elements-for-filters":"N\xe3o h\xe1 elementos que atendam aos crit\xe9rios do filtro.","no-filter":"Nenhum filtro foi selecionado","click-to-change":"Clique para mudar","remote-key-length-error":"A chave p\xfablica deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica deve conter apenas caracteres hexadecimais.","save":"Salvar","remove-from-history-confirmation":"Tem certeza de que deseja remover a entrada do hist\xf3rico?","change-key-confirmation":"Tem certeza de que deseja alterar a chave p\xfablica do visor remoto?","changes-made":"As mudan\xe7as foram feitas.","no-history":"Esta guia mostrar\xe1 as \xfaltimas {{ number }} chaves p\xfablicas usadas.","default-note-warning":"A nota padr\xe3o foi usada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Ativar killswitch","killswitch-info":"Quando ativo, todas as conex\xf5es de rede ser\xe3o desativadas se o aplicativo estiver em execu\xe7\xe3o, exceto a prote\xe7\xe3o VPN for interrompida (por erros tempor\xe1rios ou qualquer outro problema).","settings-changed-alert":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save-settings":"Salvar configura\xe7\xf5es","change-note-dialog":{"title":"Mudar nota","note":"Nota"},"password-dialog":{"title":"Digite a senha","password":"Senha","info":"Uma senha est\xe1 sendo solicitada porque uma senha foi definida quando a entrada selecionada foi criada, mas n\xe3o foi salva por motivos de seguran\xe7a. Voc\xea pode deixar a senha em branco, se necess\xe1rio.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"O pa\xeds deve ser","any-country":"Qualquer um","location":"O local deve conter","pub-key":"A chave p\xfablica deve conter","apply":"Aplicar"}},"stop-app":"Parar","start-app":"Iniciar","view-logs":"Ver registros","settings":"Configura\xe7\xf5es","error":"Ocorreu um erro e n\xe3o foi poss\xedvel realizar a opera\xe7\xe3o.","stop-confirmation":"Tem certeza de que deseja parar o aplicativo?","stop-selected-confirmation":"Tem certeza de que deseja parar os aplicativos selecionados?","disable-autostart-confirmation":"Tem certeza de que deseja desativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","enable-autostart-confirmation":"Tem certeza de que deseja ativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","disable-autostart-selected-confirmation":"Tem certeza de que deseja desativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","enable-autostart-selected-confirmation":"Tem certeza de que deseja ativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","operation-completed":"Opera\xe7\xe3o conclu\xedda.","operation-unnecessary":"A sele\xe7\xe3o j\xe1 possui a configura\xe7\xe3o solicitada.","status-running":"Executando","status-stopped":"Parado","status-failed":"Fracassado","status-running-tooltip":"O aplicativo est\xe1 em execu\xe7\xe3o","status-stopped-tooltip":"O aplicativo est\xe1 parado no momento","status-failed-tooltip":"Algo deu errado. Verifique as mensagens do aplicativo para obter mais informa\xe7\xf5es"},"transports":{"title":"Transportes","remove-all-offline":"Remover todos os transportes offline","remove-all-offline-confirmation":"Tem certeza de que deseja remover todos os transportes offline?","remove-all-filtered-offline-confirmation":"Todos os transportes off-line que atendem aos crit\xe9rios de filtragem atuais ser\xe3o removidos. Tem certeza de que deseja continuar?","info":"Conex\xf5es que voc\xea tem com visores Skywire remotos, para permitir que aplicativos Skywire locais se comuniquem com aplicativos executados nesses visores remotos.","list-title":"Lista de transporte","state":"Estado","state-tooltip":"Estado atual","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Criar transporte","delete-confirmation":"Tem certeza que deseja excluir o transporte?","delete-selected-confirmation":"Tem certeza que deseja excluir os transportes selecionados?","delete":"Excluir transporte","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem transportes.","empty-with-filter":"Nenhum transporte corresponde aos crit\xe9rios de filtragem selecionados.","statuses":{"online":"Online","online-tooltip":"Transporte est\xe1 online","offline":"Offline","offline-tooltip":"Transporte est\xe1 offline"},"details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","state":"Estado:","id":"ID:","local-pk":"Chave p\xfablica local:","remote-pk":"Chave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmiss\xe3o de dados","uploaded":"Dados carregados:","downloaded":"Dados baixados:"}},"dialog":{"remote-key":"Chave p\xfablica remota","label":"Nome de identifica\xe7\xe3o (opcional)","transport-type":"Tipo de transporte","success":"Transporte criado.","success-without-label":"O transporte foi criado, mas n\xe3o foi poss\xedvel salvar a etiqueta.","errors":{"remote-key-length-error":"A chave p\xfablica remota deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica remota deve conter apenas caracteres hexadecimais.","transport-type-error":"O tipo de transporte \xe9 obrigat\xf3rio."}},"filter-dialog":{"online":"O transporte deve ser","id":"O id deve conter","remote-node":"A chave remota deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Rotas","info":"Caminhos usados para alcan\xe7ar os visores remotos para os quais os transportes foram estabelecidos. As rotas s\xe3o geradas automaticamente conforme necess\xe1rio.","list-title":"Lista de rotas","key":"Chave","type":"Tipo","source":"Fonte","destination":"Destino","delete-confirmation":"Tem certeza que deseja excluir a rota?","delete-selected-confirmation":"Tem certeza que deseja excluir as rotas selecionadas?","delete":"Excluir rota","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem nenhuma rota.","empty-with-filter":"Nenhuma rota corresponde aos crit\xe9rios de filtragem selecionados.","details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","key":"Chave:","rule":"Regras:"},"summary":{"title":"Resumo da regra","keep-alive":"Ativo:","type":"Tipo de regra:","key-route-id":"ID de rota chave:"},"specific-fields-titles":{"app":"Campos de aplicativos","forward":"Campos de encaminhamento","intermediary-forward":"Campos intermedi\xe1rios de encaminhamento"},"specific-fields":{"route-id":"Pr\xf3ximo ID de rota:","transport-id":"Pr\xf3ximo ID de transporte:","destination-pk":"Chave p\xfablica de destino:","source-pk":"Chave p\xfablica de origem:","destination-port":"Porta de destino:","source-port":"Porta de origem:"}},"filter-dialog":{"key":"A chave deve conter","type":"O tipo deve ser","source":"A fonte deve conter","destination":"O destino deve conter","any-type-option":"Qualquer uma"}},"copy":{"tooltip":"Clique para copiar","tooltip-with-text":"{{ text }} (Clique para copiar)","copied":"Copiado!"},"selection":{"select-all":"Selecionar tudo","unselect-all":"Desmarque todos","delete-all":"Excluir todos os elementos selecionados","start-all":"Iniciar todos os aplicativos selecionados","stop-all":"Parar todos os aplicativos selecionados","enable-autostart-all":"Habilitar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados","disable-autostart-all":"Desativar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados"},"refresh-button":{"seconds":"Atualizado alguns segundos atr\xe1s","minute":"Atualizado 1 minuto atr\xe1s","minutes":"Atualizado {{ time }} minutos atr\xe1s","hour":"Atualizado 1 hora atr\xe1s","hours":"Atualizado {{ time }} horas atr\xe1s","day":"Atualizado 1 dia atr\xe1s","days":"Atualizado {{ time }} dias atr\xe1s","week":"Atualizado 1 semana atr\xe1s","weeks":"Atualizado {{ time }} semanas atr\xe1s","error-tooltip":"Ocorreu um erro ao atualizar os dados. Tentando novamente a cada {{ time }} segundos automaticamente..."},"view-all-link":{"label":"Ver todos os elementos {{ number }}"},"paginator":{"first":"Primeira","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Selecione a p\xe1gina"},"confirmation":{"header-text":"Confirma\xe7\xe3o","confirm-button":"Sim","cancel-button":"N\xe3o","close":"Fechar","error-header-text":"Erro","done-header-text":"Feito"},"language":{"title":"Selecione o idioma"},"tabs-window":{"title":"Alterar guia"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/974.79c671e4ba6f6aa4.js b/cmd/skywire-visor/static/974.79c671e4ba6f6aa4.js deleted file mode 100644 index 68eb7af3b5..0000000000 --- a/cmd/skywire-visor/static/974.79c671e4ba6f6aa4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[974],{3974:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","build-type":"Build type:","skybian-version":"Skybian version:","unknown-build":"Unknown","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","with-error":"It was not possible to check the following visors:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","netifc":"Default network interface (optional)","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/974.cbcda0695ddb168b.js b/cmd/skywire-visor/static/974.cbcda0695ddb168b.js new file mode 100644 index 0000000000..2434e4083f --- /dev/null +++ b/cmd/skywire-visor/static/974.cbcda0695ddb168b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[974],{3974:e=>{e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start","loading-error":"An error occurred while getting the initial data. Retrying..."},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","build-type":"Build type:","skybian-version":"Skybian version:","unknown-build":"Unknown","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","checking-auth":"Checking authentication settings.","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","with-error":"It was not possible to check the following visors:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","netifc":"Default network interface (optional)","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/assets/i18n/en.json b/cmd/skywire-visor/static/assets/i18n/en.json index cd1277780b..e19dfe2b1f 100644 --- a/cmd/skywire-visor/static/assets/i18n/en.json +++ b/cmd/skywire-visor/static/assets/i18n/en.json @@ -79,7 +79,8 @@ }, "start": { - "title": "Start" + "title": "Start", + "loading-error": "An error occurred while getting the initial data. Retrying..." }, "node": { @@ -217,6 +218,7 @@ "settings": { "title": "Settings", + "checking-auth": "Checking authentication settings.", "password" : { "initial-config-help": "Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.", "help": "Options for changing your password.", diff --git a/cmd/skywire-visor/static/assets/i18n/es.json b/cmd/skywire-visor/static/assets/i18n/es.json index 8b6ed52663..fab9e5105b 100644 --- a/cmd/skywire-visor/static/assets/i18n/es.json +++ b/cmd/skywire-visor/static/assets/i18n/es.json @@ -79,7 +79,8 @@ }, "start": { - "title": "Inicio" + "title": "Inicio", + "loading-error": "Hubo un error obteniendo los datos iniciales. Reintentando..." }, "node": { @@ -221,6 +222,7 @@ "settings": { "title": "Configuración", + "checking-auth": "Revisando configuración de autenticación.", "password" : { "initial-config-help": "Use esta opción para establecer la contraseña inicial. Después de establecer una contraseña no es posible usar esta opción para modificarla.", "help": "Opciones para cambiar la contraseña.", diff --git a/cmd/skywire-visor/static/assets/i18n/es_base.json b/cmd/skywire-visor/static/assets/i18n/es_base.json index d9e6b2db45..9527a1ee6d 100644 --- a/cmd/skywire-visor/static/assets/i18n/es_base.json +++ b/cmd/skywire-visor/static/assets/i18n/es_base.json @@ -79,7 +79,8 @@ }, "start": { - "title": "Start" + "title": "Start", + "loading-error": "An error occurred while getting the initial data. Retrying..." }, "node": { @@ -221,6 +222,7 @@ "settings": { "title": "Settings", + "checking-auth": "Checking authentication settings.", "password" : { "initial-config-help": "Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.", "help": "Options for changing your password.", diff --git a/cmd/skywire-visor/static/assets/scss/_forms.scss b/cmd/skywire-visor/static/assets/scss/_forms.scss index 128c4ca190..58194b6e65 100644 --- a/cmd/skywire-visor/static/assets/scss/_forms.scss +++ b/cmd/skywire-visor/static/assets/scss/_forms.scss @@ -34,3 +34,9 @@ mat-form-field { @extend .form-help-icon-container; color: scale-color($white, $alpha: -20%); } + +// Used for showing a form field disabled. +.element-disabled { + pointer-events: none !important; + opacity: 0.5 !important; +} diff --git a/cmd/skywire-visor/static/assets/scss/_responsive_tables.scss b/cmd/skywire-visor/static/assets/scss/_responsive_tables.scss index cf382edad5..aecb3c16ad 100644 --- a/cmd/skywire-visor/static/assets/scss/_responsive_tables.scss +++ b/cmd/skywire-visor/static/assets/scss/_responsive_tables.scss @@ -18,7 +18,7 @@ $responsive-table-colors: ( td, th { color: nth($colors, 3) !important; - padding: 12px 10px !important; + padding: 12px 10px; border-bottom: 1px solid $separator; } @@ -46,6 +46,14 @@ $responsive-table-colors: ( } } + .link-row { + display: table-row; + + &:hover { + text-decoration: none; + } + } + // Column used for the check boxes. .selection-col { width: 30px; diff --git a/cmd/skywire-visor/static/index.html b/cmd/skywire-visor/static/index.html index 0fd03c3f13..597c6367ad 100644 --- a/cmd/skywire-visor/static/index.html +++ b/cmd/skywire-visor/static/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.bde75594f0aa0f88.js b/cmd/skywire-visor/static/main.bde75594f0aa0f88.js deleted file mode 100644 index 2820a973c6..0000000000 --- a/cmd/skywire-visor/static/main.bde75594f0aa0f88.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{1122:function(ve,ye,H){"use strict";function O(n){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(n)}function M(n,i){for(;!Object.prototype.hasOwnProperty.call(n,i)&&null!==(n=O(n)););return n}function D(){return D="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(i,e,t){var a=M(i,e);if(a){var o=Object.getOwnPropertyDescriptor(a,e);return o.get?o.get.call(arguments.length<3?i:t):o.value}},D.apply(this,arguments)}function p(n,i){for(var e=0;en.length)&&(i=n.length);for(var e=0,t=new Array(i);e=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(f){throw f},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,s=!1;return{s:function(){e=e.call(n)},n:function(){var f=e.next();return o=f.done,f},e:function(f){s=!0,l=f},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw l}}}}function ne(n,i){return function G(n){if(Array.isArray(n))return n}(n)||function ie(n,i){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var s,l,t=[],a=!0,o=!1;try{for(e=e.call(n);!(a=(s=e.next()).done)&&(t.push(s.value),!i||t.length!==i);a=!0);}catch(u){o=!0,l=u}finally{try{!a&&null!=e.return&&e.return()}finally{if(o)throw l}}return t}}(n,i)||N(n,i)||function ce(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(n,i,e){return i in n?Object.defineProperty(n,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[i]=e,n}function ae(n){return function Q(n){if(Array.isArray(n))return I(n)}(n)||function ue(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||N(n)||function te(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function le(n,i,e){return(le=T()?Reflect.construct:function(a,o,s){var l=[null];l.push.apply(l,o);var f=new(Function.bind.apply(a,l));return s&&_(f,s.prototype),f}).apply(null,arguments)}function De(n){var i="function"==typeof Map?new Map:void 0;return De=function(t){if(null===t||!function X(n){return-1!==Function.toString.call(n).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(t))return i.get(t);i.set(t,a)}function a(){return le(t,arguments,O(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),_(a,t)},De(n)}var xe=Array.isArray||function(n){return n&&"number"==typeof n.length};function Re(n){return null!==n&&"object"==typeof n}function He(n){return"function"==typeof n}var n,Ge=function(){function n(i){return Error.call(this),this.message=i?"".concat(i.length," errors occurred during unsubscription:\n").concat(i.map(function(e,t){return"".concat(t+1,") ").concat(e.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=i,this}return n.prototype=Object.create(Error.prototype),n}(),Xe=Ge,Ne=function(){function n(i){c(this,n),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,i&&(this._unsubscribe=i)}return d(n,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var t=this._parentOrParents,a=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof n)t.remove(this);else if(null!==t)for(var s=0;s4&&void 0!==arguments[4]?arguments[4]:new nt(n,e,t);if(!a.closed)return i instanceof fe?i.subscribe(a):Wt(i)(a)}var gn=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"notifyNext",value:function(a,o,s,l,u){this.destination.next(o)}},{key:"notifyError",value:function(a,o){this.destination.error(a)}},{key:"notifyComplete",value:function(a){this.destination.complete()}}]),e}(St);function qe(n,i){return function(t){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new Sc(n,i))}}var Sc=function(){function n(i,e){c(this,n),this.project=i,this.thisArg=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Al(e,this.project,this.thisArg))}}]),n}(),Al=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).project=a,s.count=0,s.thisArg=o||x(s),s}return d(e,[{key:"_next",value:function(a){var o;try{o=this.project.call(this.thisArg,a,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(o)}}]),e}(St);function Dc(n,i){return new fe(function(e){var t=new Ne,a=0;return t.add(i.schedule(function(){a!==n.length?(e.next(n[a++]),e.closed||t.add(this.schedule())):e.complete()})),t})}function it(n,i){return i?function Tc(n,i){if(null!=n){if(function Hv(n){return n&&"function"==typeof n[re]}(n))return function Yv(n,i){return new fe(function(e){var t=new Ne;return t.add(i.schedule(function(){var a=n[re]();t.add(a.subscribe({next:function(s){t.add(i.schedule(function(){return e.next(s)}))},error:function(s){t.add(i.schedule(function(){return e.error(s)}))},complete:function(){t.add(i.schedule(function(){return e.complete()}))}}))})),t})}(n,i);if(kr(n))return function Il(n,i){return new fe(function(e){var t=new Ne;return t.add(i.schedule(function(){return n.then(function(a){t.add(i.schedule(function(){e.next(a),t.add(i.schedule(function(){return e.complete()}))}))},function(a){t.add(i.schedule(function(){return e.error(a)}))})})),t})}(n,i);if(Bi(n))return Dc(n,i);if(function Bs(n){return n&&"function"==typeof n[zt]}(n)||"string"==typeof n)return function Rl(n,i){if(!n)throw new Error("Iterable cannot be null");return new fe(function(e){var a,t=new Ne;return t.add(function(){a&&"function"==typeof a.return&&a.return()}),t.add(i.schedule(function(){a=n[zt](),t.add(i.schedule(function(){if(!e.closed){var o,s;try{var l=a.next();o=l.value,s=l.done}catch(u){return void e.error(u)}s?e.complete():(e.next(o),this.schedule())}}))})),t})}(n,i)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,i):n instanceof fe?n:new fe(Wt(n))}function Dn(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof i?function(t){return t.pipe(Dn(function(a,o){return it(n(a,o)).pipe(qe(function(s,l){return i(a,s,o,l)}))},e))}:("number"==typeof i&&(e=i),function(t){return t.lift(new Bv(n,e))})}var Bv=function(){function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;c(this,n),this.project=i,this.concurrent=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Do(e,this.project,this.concurrent))}}]),n}(),Do=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return c(this,e),(o=i.call(this,t)).project=a,o.concurrent=s,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return d(e,[{key:"_next",value:function(a){this.active0?this._next(o.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),e}(gn);function Vs(n){return n}function _n(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Dn(Vs,n)}function To(n,i){return i?Dc(n,i):new fe(mn(n))}function Mi(){for(var n=Number.POSITIVE_INFINITY,i=null,e=arguments.length,t=new Array(e),a=0;a1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===i&&1===t.length&&t[0]instanceof fe?t[0]:_n(n)(To(t,i))}function Ci(){return function(i){return i.lift(new Oa(i))}}var Oa=function(){function n(i){c(this,n),this.connectable=i}return d(n,[{key:"call",value:function(e,t){var a=this.connectable;a._refCount++;var o=new ga(e,a),s=t.subscribe(o);return o.closed||(o.connection=a.connect()),s}}]),n}(),ga=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).connectable=a,o}return d(e,[{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._refCount;if(o<=0)this.connection=null;else if(a._refCount=o-1,o>1)this.connection=null;else{var s=this.connection,l=a._connection;this.connection=null,l&&(!s||l===s)&&l.unsubscribe()}}else this.connection=null}}]),e}(St),dr=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this)).source=t,o.subjectFactory=a,o._refCount=0,o._isComplete=!1,o}return d(e,[{key:"_subscribe",value:function(a){return this.getSubject().subscribe(a)}},{key:"getSubject",value:function(){var a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var a=this._connection;return a||(this._isComplete=!1,(a=this._connection=new Ne).add(this.source.subscribe(new Aa(this.getSubject(),this))),a.closed&&(this._connection=null,a=Ne.EMPTY)),a}},{key:"refCount",value:function(){return Ci()(this)}}]),e}(fe),Ji=function(){var n=dr.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}}(),Aa=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).connectable=a,o}return d(e,[{key:"_error",value:function(a){this._unsubscribe(),D(O(e.prototype),"_error",this).call(this,a)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),D(O(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._connection;a._refCount=0,a._subject=null,a._connection=null,o&&o.unsubscribe()}}}]),e}(Ae),js=function(){function n(i,e){c(this,n),this.subjectFactory=i,this.selector=e}return d(n,[{key:"call",value:function(e,t){var a=this.selector,o=this.subjectFactory(),s=a(o).subscribe(e);return s.add(t.subscribe(o)),s}}]),n}();function Fl(){return new Ie}function Nl(){return function(n){return Ci()(function Vv(n,i){return function(t){var a;if(a="function"==typeof n?n:function(){return n},"function"==typeof i)return t.lift(new js(a,i));var o=Object.create(t,Ji);return o.source=t,o.subjectFactory=a,o}}(Fl)(n))}}function Tn(n){for(var i in n)if(n[i]===Tn)return i;throw Error("Could not find renamed property on target object.")}function to(n,i){for(var e in i)i.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=i[e])}function ln(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ln).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return"".concat(n.overriddenName);if(n.name)return"".concat(n.name);var i=n.toString();if(null==i)return""+i;var e=i.indexOf("\n");return-1===e?i:i.substring(0,e)}function Yl(n,i){return null==n||""===n?null===i?"":i:null==i||""===i?n:n+" "+i}var jv=Tn({__forward_ref__:Tn});function yn(n){return n.__forward_ref__=yn,n.toString=function(){return ln(this())},n}function Nt(n){return Qn(n)?n():n}function Qn(n){return"function"==typeof n&&n.hasOwnProperty(jv)&&n.__forward_ref__===yn}var dt=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,function Ec(n,i){var e="NG0".concat(Math.abs(n));return"".concat(e).concat(i?": "+i:"")}(t,a))).code=t,o}return d(e)}(De(Error));function Dt(n){return"string"==typeof n?n:null==n?"":String(n)}function qr(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Dt(n)}function Us(n,i){var e=i?" in ".concat(i):"";throw new dt(-201,"No provider for ".concat(qr(n)," found").concat(e))}function wi(n,i){null==n&&function Fn(n,i,e,t){throw new Error("ASSERTION ERROR: ".concat(n)+(null==t?"":" [Expected=> ".concat(e," ").concat(t," ").concat(i," <=Actual]")))}(i,n,null,"!=")}function Ue(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Pt(n){return{providers:n.providers||[],imports:n.imports||[]}}function Pc(n){return Af(n,Vl)||Af(n,Ff)}function Af(n,i){return n.hasOwnProperty(i)?n[i]:null}function Rf(n){return n&&(n.hasOwnProperty(xc)||n.hasOwnProperty(Kv))?n[xc]:null}var Oc,Vl=Tn({"\u0275prov":Tn}),xc=Tn({"\u0275inj":Tn}),Ff=Tn({ngInjectableDef:Tn}),Kv=Tn({ngInjectorDef:Tn}),Ct=function(){return(Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct}();function Zv(){return Oc}function no(n){var i=Oc;return Oc=n,i}function Nf(n,i,e){var t=Pc(n);return t&&"root"==t.providedIn?void 0===t.value?t.value=t.factory():t.value:e&Ct.Optional?null:void 0!==i?i:void Us(ln(n),"Injector")}function ro(n){return{toString:n}.toString()}var Xi=function(){return(Xi=Xi||{})[Xi.OnPush=0]="OnPush",Xi[Xi.Default=1]="Default",Xi}(),ea=function(){return function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(ea||(ea={})),ea}(),Bf="undefined"!=typeof globalThis&&globalThis,Vf="undefined"!=typeof window&&window,$v="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Qv="undefined"!=typeof global&&global,wn=Bf||Qv||Vf||$v,Vn={},cn=[],io=Tn({"\u0275cmp":Tn}),jl=Tn({"\u0275dir":Tn}),Ac=Tn({"\u0275pipe":Tn}),Ws=Tn({"\u0275mod":Tn}),fi=Tn({"\u0275fac":Tn}),Lo=Tn({__NG_ELEMENT_ID__:Tn}),Xv=0;function We(n){return ro(function(){var e={},t={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Xi.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||cn,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||ea.Emulated,id:"c",styles:n.styles||cn,_:null,setInput:null,schemas:n.schemas||null,tView:null},a=n.directives,o=n.features,s=n.pipes;return t.id+=Xv++,t.inputs=Uf(n.inputs,e),t.outputs=Uf(n.outputs),o&&o.forEach(function(l){return l(t)}),t.directiveDefs=a?function(){return("function"==typeof a?a():a).map(Ul)}:null,t.pipeDefs=s?function(){return("function"==typeof s?s():s).map(Eo)}:null,t})}function Ic(n,i,e){var t=n.\u0275cmp;t.directiveDefs=function(){return i.map(Ul)},t.pipeDefs=function(){return e.map(Eo)}}function Ul(n){return Mr(n)||function _a(n){return n[jl]||null}(n)}function Eo(n){return function Po(n){return n[Ac]||null}(n)}var jf={};function Tt(n){return ro(function(){var i={type:n.type,bootstrap:n.bootstrap||cn,declarations:n.declarations||cn,imports:n.imports||cn,exports:n.exports||cn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(jf[n.id]=n.type),i})}function Uf(n,i){if(null==n)return Vn;var e={};for(var t in n)if(n.hasOwnProperty(t)){var a=n[t],o=a;Array.isArray(a)&&(o=a[1],a=a[0]),e[a]=t,i&&(i[a]=o)}return e}var et=We;function Kr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function Mr(n){return n[io]||null}function Si(n,i){var e=n[Ws]||null;if(!e&&!0===i)throw new Error("Type ".concat(ln(n)," does not have '\u0275mod' property."));return e}function Vi(n){return Array.isArray(n)&&"object"==typeof n[1]}function ji(n){return Array.isArray(n)&&!0===n[1]}function Yc(n){return 0!=(8&n.flags)}function fs(n){return 2==(2&n.flags)}function hs(n){return 1==(1&n.flags)}function Li(n){return null!==n.template}function nm(n){return 0!=(512&n[2])}function Io(n,i){return n.hasOwnProperty(fi)?n[fi]:null}var lm=function(){function n(i,e,t){c(this,n),this.previousValue=i,this.currentValue=e,this.firstChange=t}return d(n,[{key:"isFirstChange",value:function(){return this.firstChange}}]),n}();function Fr(){return zf}function zf(n){return n.type.prototype.ngOnChanges&&(n.setInput=cm),um}function um(){var n=Gf(this),i=null==n?void 0:n.current;if(i){var e=n.previous;if(e===Vn)n.previous=i;else for(var t in i)e[t]=i[t];n.current=null,this.ngOnChanges(i)}}function cm(n,i,e,t){var a=Gf(n)||function Vc(n,i){return n[Wf]=i}(n,{previous:Vn,current:null}),o=a.current||(a.current={}),s=a.previous,l=this.declaredInputs[e],u=s[l];o[l]=new lm(u&&u.currentValue,i,s===Vn),n[t]=i}Fr.ngInherit=!0;var Wf="__ngSimpleChanges__";function Gf(n){return n[Wf]||null}var Kl=void 0;function Jn(n){return!!n.listen}var Kf={createRenderer:function(i,e){return function Zl(){return void 0!==Kl?Kl:"undefined"!=typeof document?document:void 0}()}};function fr(n){for(;Array.isArray(n);)n=n[0];return n}function $l(n,i){return fr(i[n])}function zi(n,i){return fr(i[n.index])}function Wc(n,i){return n.data[i]}function vs(n,i){return n[i]}function $r(n,i){var e=i[n];return Vi(e)?e:e[0]}function Zf(n){return 4==(4&n[2])}function Gc(n){return 128==(128&n[2])}function oo(n,i){return null==i?null:n[i]}function qc(n){n[18]=0}function Kc(n,i){n[5]+=i;for(var e=n,t=n[3];null!==t&&(1===i&&1===e[5]||-1===i&&0===e[5]);)t[5]+=i,e=t,t=t[3]}var wt={lFrame:rh(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Fa(){return wt.bindingsEnabled}function je(){return wt.lFrame.lView}function en(){return wt.lFrame.tView}function ke(n){return wt.lFrame.contextLView=n,n[8]}function Cr(){for(var n=$f();null!==n&&64===n.type;)n=n.parent;return n}function $f(){return wt.lFrame.currentTNode}function $t(n,i){var e=wt.lFrame;e.currentTNode=n,e.isParent=i}function gs(){return wt.lFrame.isParent}function Ql(){wt.lFrame.isParent=!1}function Jl(){return wt.isInCheckNoChangesMode}function Xl(n){wt.isInCheckNoChangesMode=n}function ni(){var n=wt.lFrame,i=n.bindingRootIndex;return-1===i&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function _s(){return wt.lFrame.bindingIndex++}function ka(n){var i=wt.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,e}function Xf(n,i){var e=wt.lFrame;e.bindingIndex=e.bindingRootIndex=n,eu(i)}function eu(n){wt.lFrame.currentDirectiveIndex=n}function qs(n){var i=wt.lFrame.currentDirectiveIndex;return-1===i?null:n[i]}function eh(){return wt.lFrame.currentQueryIndex}function Zc(n){wt.lFrame.currentQueryIndex=n}function so(n){var i=n[1];return 2===i.type?i.declTNode:1===i.type?n[6]:null}function th(n,i,e){if(e&Ct.SkipSelf){for(var t=i,a=n;!(null!==(t=t.parent)||e&Ct.Host||null===(t=so(a))||(a=a[15],10&t.type)););if(null===t)return!1;i=t,n=a}var o=wt.lFrame=nh();return o.currentTNode=i,o.lView=n,!0}function tu(n){var i=nh(),e=n[1];wt.lFrame=i,i.currentTNode=e.firstChild,i.lView=n,i.tView=e,i.contextLView=n,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function nh(){var n=wt.lFrame,i=null===n?null:n.child;return null===i?rh(n):i}function rh(n){var i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=i),i}function ih(){var n=wt.lFrame;return wt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var ah=ih;function nu(){var n=ih();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Lm(n){var i=wt.lFrame.contextLView=function Em(n,i){for(;n>0;)i=i[15],n--;return i}(n,wt.lFrame.contextLView);return i[8]}function ri(){return wt.lFrame.selectedIndex}function pi(n){wt.lFrame.selectedIndex=n}function Xn(){var n=wt.lFrame;return Wc(n.tView,n.selectedIndex)}function ys(){wt.lFrame.currentNamespace="svg"}function ru(n,i){for(var e=i.directiveStart,t=i.directiveEnd;e=t)break}else i[u]<0&&(n[18]+=65536),(l>11>16&&(3&n[2])===i){n[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}var Ks=d(function n(i,e,t){c(this,n),this.factory=i,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t});function oe(n,i,e){for(var t=Jn(n),a=0;ai){s=o-1;break}}}for(;o>16}(n),t=i;e>0;)t=t[15],e--;return t}var Jc=!0;function $s(n){var i=Jc;return Jc=n,i}var _P=0;function Xc(n,i){var e=Nm(n,i);if(-1!==e)return e;var t=i[1];t.firstCreatePass&&(n.injectorIndex=i.length,Fm(t.data,n),Fm(i,null),Fm(t.blueprint,null));var a=lh(n,i),o=n.injectorIndex;if(ar(a))for(var s=Nr(a),l=Ma(a,i),u=l[1].data,f=0;f<8;f++)i[o+f]=l[s+f]|u[s+f];return i[o+8]=a,o}function Fm(n,i){n.push(0,0,0,0,0,0,0,0,i)}function Nm(n,i){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===i[n.injectorIndex+8]?-1:n.injectorIndex}function lh(n,i){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;for(var e=0,t=null,a=i;null!==a;){var o=a[1],s=o.type;if(null===(t=2===s?o.declTNode:1===s?a[6]:null))return-1;if(e++,a=a[15],-1!==t.injectorIndex)return t.injectorIndex|e<<16}return-1}function uh(n,i,e){!function yP(n,i,e){var t;"string"==typeof e?t=e.charCodeAt(0)||0:e.hasOwnProperty(Lo)&&(t=e[Lo]),null==t&&(t=e[Lo]=_P++);var a=255&t;i.data[n+(a>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Ct.Default,a=arguments.length>4?arguments[4]:void 0;if(null!==n){var o=CP(e);if("function"==typeof o){if(!th(i,n,t))return t&Ct.Host?Rk(a,e,t):Fk(i,e,t,a);try{var s=o(t);if(null!=s||t&Ct.Optional)return s;Us(e)}finally{ah()}}else if("number"==typeof o){var l=null,u=Nm(n,i),f=-1,m=t&Ct.Host?i[16][6]:null;for((-1===u||t&Ct.SkipSelf)&&(-1!==(f=-1===u?lh(n,i):i[u+8])&&Bk(t,!1)?(l=i[1],u=Nr(f),i=Ma(f,i)):u=-1);-1!==u;){var w=i[1];if(Hk(o,u,w.data)){var R=MP(u,i,e,l,t,m);if(R!==Yk)return R}-1!==(f=i[u+8])&&Bk(t,i[1].data[u+8]===m)&&Hk(o,u,i)?(l=w,u=Nr(f),i=Ma(f,i)):u=-1}}}return Fk(i,e,t,a)}var Yk={};function kP(){return new au(Cr(),je())}function MP(n,i,e,t,a,o){var s=i[1],l=s.data[n+8],m=ch(l,s,e,null==t?fs(l)&&Jc:t!=s&&0!=(3&l.type),a&Ct.Host&&o===l);return null!==m?ed(i,s,m,l):Yk}function ch(n,i,e,t,a){for(var o=n.providerIndexes,s=i.data,l=1048575&o,u=n.directiveStart,m=o>>20,R=a?l+m:n.directiveEnd,B=t?l:l+m;B=u&&J.type===e)return B}if(a){var me=s[u];if(me&&Li(me)&&me.type===e)return u}return null}function ed(n,i,e,t){var a=n[e],o=i.data;if(function Qc(n){return n instanceof Ks}(a)){var s=a;s.resolving&&function Uv(n,i){var e=i?". Dependency path: ".concat(i.join(" > ")," > ").concat(n):"";throw new dt(-200,"Circular dependency in DI detected for ".concat(n).concat(e))}(qr(o[e]));var l=$s(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?no(s.injectImpl):null;th(n,t,Ct.Default);try{a=n[e]=s.factory(void 0,o,n,t),i.firstCreatePass&&e>=t.directiveStart&&function Am(n,i,e){var t=i.type.prototype,o=t.ngOnInit,s=t.ngDoCheck;if(t.ngOnChanges){var l=zf(i);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,l),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,l)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,o),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s))}(e,o[e],i)}finally{null!==u&&no(u),$s(l),s.resolving=!1,ah()}}return a}function CP(n){if("string"==typeof n)return n.charCodeAt(0)||0;var i=n.hasOwnProperty(Lo)?n[Lo]:void 0;return"number"==typeof i?i>=0?255&i:kP:i}function Hk(n,i,e){return!!(e[i+(n>>5)]&1<=n.length?n.push(e):n.splice(i,0,e)}function dh(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function rd(n,i){for(var e=[],t=0;t=0?n[1|t]=e:function LP(n,i,e,t){var a=n.length;if(a==i)n.push(e,t);else if(1===a)n.push(t,n[0]),n[0]=e;else{for(a--,n.push(n[a-1],n[a]);a>i;)n[a]=n[a-2],a--;n[i]=e,n[i+1]=t}}(n,t=~t,i,e),t}function Vm(n,i){var e=cu(n,i);if(e>=0)return n[1|e]}function cu(n,i){return function Wk(n,i,e){for(var t=0,a=n.length>>e;a!==t;){var o=t+(a-t>>1),s=n[o<i?a=o:t=o+1}return~(a<1&&void 0!==arguments[1]?arguments[1]:Ct.Default;if(void 0===ad){var e="";throw new dt(203,e)}return null===ad?Nf(n,void 0,i):ad.get(n,i&Ct.Optional?null:void 0,i)}function Le(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ct.Default;return(Zv()||HP)(Nt(n),i)}var od=Le;function zm(n){for(var i=[],e=0;e3&&void 0!==arguments[3]?arguments[3]:null;n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;var a=ln(i);if(Array.isArray(i))a=i.map(ln).join(" -> ");else if("object"==typeof i){var o=[];for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];o.push(s+":"+("string"==typeof l?JSON.stringify(l):ln(l)))}a="{".concat(o.join(", "),"}")}return"".concat(e).concat(t?"("+t+")":"","[").concat(a,"]: ").concat(n.replace(FP,"\n "))}("\n"+n.message,a,e,t),n.ngTokenPath=a,n[hh]=null,n}var mh,ph=sd(uu("Inject",function(n){return{token:n}}),-1),Ya=sd(uu("Optional"),8),du=sd(uu("SkipSelf"),4);function hu(n){var i;return(null===(i=function Gm(){if(void 0===mh&&(mh=null,wn.trustedTypes))try{mh=wn.trustedTypes.createPolicy("angular",{createHTML:function(i){return i},createScript:function(i){return i},createScriptURL:function(i){return i}})}catch(n){}return mh}())||void 0===i?void 0:i.createHTML(n))||n}var Qs=function(){function n(i){c(this,n),this.changingThisBreaksApplicationSecurity=i}return d(n,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),n}(),XP=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"HTML"}}]),e}(Qs),ex=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"Style"}}]),e}(Qs),tx=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"Script"}}]),e}(Qs),nx=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"URL"}}]),e}(Qs),rx=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),e}(Qs);function ia(n){return n instanceof Qs?n.changingThisBreaksApplicationSecurity:n}function fo(n,i){var e=r0(n);if(null!=e&&e!==i){if("ResourceURL"===e&&"URL"===i)return!0;throw new Error("Required a safe ".concat(i,", got a ").concat(e," (see https://g.co/ng/security#xss)"))}return e===i}function r0(n){return n instanceof Qs&&n.getTypeName()||null}var ux=function(){function n(i){c(this,n),this.inertDocumentHelper=i}return d(n,[{key:"getInertBodyElement",value:function(e){e=""+e;try{var t=(new window.DOMParser).parseFromString(hu(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(a){return null}}}]),n}(),cx=function(){function n(i){if(c(this,n),this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);var t=this.inertDocument.createElement("body");e.appendChild(t)}}return d(n,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=hu(e),t;var a=this.inertDocument.createElement("body");return a.innerHTML=hu(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,a=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Km.hasOwnProperty(t)&&!s0.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(d0(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),n}(),kx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mx=/([^\#-~ |!])/g;function d0(n){return n.replace(/&/g,"&").replace(kx,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(Mx,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}function f0(n,i){var e=null;try{_h=_h||function a0(n){var i=new cx(n);return function dx(){try{return!!(new window.DOMParser).parseFromString(hu(""),"text/html")}catch(n){return!1}}()?new ux(i):i}(n);var t=i?String(i):"";e=_h.getInertBodyElement(t);var a=5,o=t;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,t=o,o=e.innerHTML,e=_h.getInertBodyElement(t)}while(t!==o);return hu((new bx).sanitizeChildren(Qm(e)||e))}finally{if(e)for(var u=Qm(e)||e;u.firstChild;)u.removeChild(u.firstChild)}}function Qm(n){return"content"in n&&function Cx(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var bn=function(){return(bn=bn||{})[bn.NONE=0]="NONE",bn[bn.HTML=1]="HTML",bn[bn.STYLE=2]="STYLE",bn[bn.SCRIPT=3]="SCRIPT",bn[bn.URL=4]="URL",bn[bn.RESOURCE_URL=5]="RESOURCE_URL",bn}();function Fo(n){var i=function dd(){var n=je();return n&&n[12]}();return i?i.sanitize(bn.URL,n)||"":fo(n,"URL")?ia(n):ud(Dt(n))}var v0="__ngContext__";function vi(n,i){n[v0]=i}function Xm(n){var i=function fd(n){return n[v0]||null}(n);return i?Array.isArray(i)?i:i.lView:null}function tg(n){return n.ngOriginalError}function Bx(n){for(var i=arguments.length,e=new Array(i>1?i-1:0),t=1;t0&&(n[e-1][4]=t[4]);var o=dh(n,10+i);!function tO(n,i){pd(n,i,i[11],2,null,null),i[0]=null,i[6]=null}(t[1],t);var s=o[19];null!==s&&s.detachView(o[1]),t[3]=null,t[4]=null,t[2]&=-129}return t}}function L0(n,i){if(!(256&i[2])){var e=i[11];Jn(e)&&e.destroyNode&&pd(n,i,e,3,null,null),function iO(n){var i=n[13];if(!i)return ug(n[1],n);for(;i;){var e=null;if(Vi(i))e=i[13];else{var t=i[10];t&&(e=t)}if(!e){for(;i&&!i[4]&&i!==n;)Vi(i)&&ug(i[1],i),i=i[3];null===i&&(i=n),Vi(i)&&ug(i[1],i),e=i&&i[4]}i=e}}(i)}}function ug(n,i){if(!(256&i[2])){i[2]&=-129,i[2]|=256,function lO(n,i){var e;if(null!=n&&null!=(e=n.destroyHooks))for(var t=0;t=0?t[a=f]():t[a=-f].unsubscribe(),o+=2}else{var m=t[a=e[o+1]];e[o].call(m)}if(null!==t){for(var w=a+1;wo?"":a[w+1].toLowerCase();var B=8&t?R:null;if(B&&-1!==V0(B,f,0)||2&t&&f!==R){if(Ha(t))return!1;s=!0}}}}else{if(!s&&!Ha(t)&&!Ha(u))return!1;if(s&&Ha(u))continue;s=!1,t=u|1&t}}return Ha(t)||s}function Ha(n){return 0==(1&n)}function gO(n,i,e,t){if(null===i)return-1;var a=0;if(t||!e){for(var o=!1;a-1)for(e++;e2&&void 0!==arguments[2]&&arguments[2],t=0;t0?'="'+l+'"':"")+"]"}else 8&t?a+="."+s:4&t&&(a+=" "+s);else""!==a&&!Ha(s)&&(i+=W0(o,a),a=""),t=s,o=o||!Ha(t);e++}return""!==a&&(i+=W0(o,a)),i}var Rt={};function v(n){G0(en(),je(),ri()+n,Jl())}function G0(n,i,e,t){if(!t)if(3==(3&i[2])){var o=n.preOrderCheckHooks;null!==o&&na(i,o,e)}else{var s=n.preOrderHooks;null!==s&&Ei(i,s,0,e)}pi(e)}function Mh(n,i){return n<<17|i<<2}function Ba(n){return n>>17&32767}function pg(n){return 2|n}function No(n){return(131068&n)>>2}function vg(n,i){return-131069&n|i<<2}function mg(n){return 1|n}function r1(n,i){var e=n.contentQueries;if(null!==e)for(var t=0;t20&&G0(n,i,20,Jl()),e(t,a)}finally{pi(o)}}function o1(n,i,e){if(Yc(i))for(var a=i.directiveEnd,o=i.directiveStart;o2&&void 0!==arguments[2]?arguments[2]:zi,t=i.localNames;if(null!==t)for(var a=i.index+1,o=0;o0;){var e=n[--i];if("number"==typeof e&&e<0)return e}return 0})(l)!=u&&l.push(u),l.push(t,a,s)}}function p1(n,i){null!==n.hostBindings&&n.hostBindings(1,i)}function v1(n,i){i.flags|=2,(n.components||(n.components=[])).push(i.index)}function QO(n,i,e){if(e){if(i.exportAs)for(var t=0;t0&&Pg(e)}}function Pg(n){for(var i=ig(n);null!==i;i=ag(i))for(var e=10;e0&&Pg(t)}var s=n[1].components;if(null!==s)for(var l=0;l0&&Pg(u)}}function iA(n,i){var e=$r(i,n),t=e[1];(function aA(n,i){for(var e=i.length;e1&&void 0!==arguments[1]?arguments[1]:id;if(t===id){var a=new Error("NullInjectorError: No provider for ".concat(ln(e),"!"));throw a.name="NullInjectorError",a}return t}}]),n}(),Fg=new $e("Set Injector scope."),gd={},fA={},Ng=void 0;function D1(){return void 0===Ng&&(Ng=new S1),Ng}function T1(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3?arguments[3]:void 0,a=L1(n,i,e,t);return a._resolveInjectorDefTypes(),a}function L1(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3?arguments[3]:void 0;return new hA(n,e,i||D1(),t)}var hA=function(){function n(i,e,t){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;c(this,n),this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var s=[];e&&co(e,function(u){return a.processProvider(u,i,e)}),co([i],function(u){return a.processInjectorType(u,[],s)}),this.records.set(Rg,yu(void 0,this));var l=this.records.get(Fg);this.scope=null!=l?l.value:null,this.source=o||("object"==typeof i?null:ln(i))}return d(n,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:id,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ct.Default;this.assertNotDestroyed();var o=Kk(this),s=no(void 0);try{if(!(a&Ct.SkipSelf)){var l=this.records.get(e);if(void 0===l){var u=kA(e)&&Pc(e);l=u&&this.injectableDefInScope(u)?yu(Yg(e),gd):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}var f=a&Ct.Self?D1():this.parent;return f.get(e,t=a&Ct.Optional&&t===id?null:t)}catch(w){if("NullInjectorError"===w.name){var m=w[hh]=w[hh]||[];if(m.unshift(ln(e)),o)throw w;return VP(w,e,"R3InjectorError",this.source)}throw w}finally{no(s),Kk(o)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(a,o){return e.push(ln(o))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new dt(205,!1)}},{key:"processInjectorType",value:function(e,t,a){var o=this;if(!(e=Nt(e)))return!1;var s=Rf(e),l=null==s&&e.ngModule||void 0,u=void 0===l?e:l,w=-1!==a.indexOf(u);if(void 0!==l&&(s=Rf(l)),null==s)return!1;if(null!=s.imports&&!w){var R;a.push(u);try{co(s.imports,function(pe){o.processInjectorType(pe,t,a)&&(void 0===R&&(R=[]),R.push(pe))})}finally{}if(void 0!==R)for(var B=function(Fe){var Ye=R[Fe],ze=Ye.ngModule,rt=Ye.providers;co(rt,function(mt){return o.processProvider(mt,ze,rt||cn)})},J=0;J0)throw rd(i,"?"),new dt(204,!1);var t=function If(n){var i=n&&(n[Vl]||n[Ff]);if(i){var e=function qv(n){if(n.hasOwnProperty("name"))return n.name;var i=(""+n).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(n);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(e,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(e,'" class.')),i}return null}(n);return null!==t?function(){return t.factory(n)}:function(){return new n}}(n);throw new dt(204,!1)}function E1(n,i,e){var t=void 0;if(bu(n)){var a=Nt(n);return Io(a)||Yg(a)}if(P1(n))t=function(){return Nt(n.useValue)};else if(function gA(n){return!(!n||!n.useFactory)}(n))t=function(){return n.useFactory.apply(n,ae(zm(n.deps||[])))};else if(function mA(n){return!(!n||!n.useExisting)}(n))t=function(){return Le(Nt(n.useExisting))};else{var o=Nt(n&&(n.useClass||n.provide));if(!function yA(n){return!!n.deps}(n))return Io(o)||Yg(o);t=function(){return le(o,ae(zm(n.deps)))}}return t}function yu(n,i){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:n,value:i,multi:e?[]:void 0}}function P1(n){return null!==n&&"object"==typeof n&&YP in n}function bu(n){return"function"==typeof n}function kA(n){return"function"==typeof n||"object"==typeof n&&n instanceof $e}var Un=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"create",value:function(t,a){var o;if(Array.isArray(t))return T1({name:""},a,t,"");var s=null!==(o=t.name)&&void 0!==o?o:"";return T1({name:s},t.parent,t.providers,s)}}]),i}();return n.THROW_IF_NOT_FOUND=id,n.NULL=new S1,n.\u0275prov=Ue({token:n,providedIn:"any",factory:function(){return Le(Rg)}}),n.__NG_ELEMENT_ID__=-1,n}();function OA(n,i){ru(Xm(n)[1],Cr())}function vt(n){for(var i=function Y1(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0,t=[n];i;){var a=void 0;if(Li(n))a=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new dt(903,"");a=i.\u0275dir}if(a){if(e){t.push(a);var s=n;s.inputs=Bg(n.inputs),s.declaredInputs=Bg(n.declaredInputs),s.outputs=Bg(n.outputs);var l=a.hostBindings;l&&FA(n,l);var u=a.viewQuery,f=a.contentQueries;if(u&&IA(n,u),f&&RA(n,f),to(n.inputs,a.inputs),to(n.declaredInputs,a.declaredInputs),to(n.outputs,a.outputs),Li(a)&&a.data.animation){var m=n.data;m.animation=(m.animation||[]).concat(a.data.animation)}}var w=a.features;if(w)for(var R=0;R=0;t--){var a=n[t];a.hostVars=i+=a.hostVars,a.hostAttrs=Lt(a.hostAttrs,e=Lt(e,a.hostAttrs))}}(t)}function Bg(n){return n===Vn?{}:n===cn?[]:n}function IA(n,i){var e=n.viewQuery;n.viewQuery=e?function(t,a){i(t,a),e(t,a)}:i}function RA(n,i){var e=n.contentQueries;n.contentQueries=e?function(t,a,o){i(t,a,o),e(t,a,o)}:i}function FA(n,i){var e=n.hostBindings;n.hostBindings=e?function(t,a){i(t,a),e(t,a)}:i}var Lh=null;function ku(){if(!Lh){var n=wn.Symbol;if(n&&n.iterator)Lh=n.iterator;else for(var i=Object.getOwnPropertyNames(Map.prototype),e=0;e1&&void 0!==arguments[1]?arguments[1]:Ct.Default,e=je();if(null===e)return Le(n,i);var t=Cr();return Nk(t,e,Nt(n),i)}function Ou(){throw new Error("invalid")}function L(n,i,e){var t=je();return mi(t,_s(),i)&&oa(en(),Xn(),t,n,i,t[11],e,!1),L}function Wg(n,i,e,t,a){var s=a?"class":"style";w1(n,e,i.inputs[s],s,t)}function P(n,i,e,t){var a=je(),o=en(),s=20+n,l=a[11],u=a[s]=sg(l,i,function Om(){return wt.lFrame.currentNamespace}()),f=o.firstCreatePass?function lI(n,i,e,t,a,o,s){var l=i.consts,f=mu(i,n,2,a,oo(l,o));return Lg(i,e,f,oo(l,s)),null!==f.attrs&&Th(f,f.attrs,!1),null!==f.mergedAttrs&&Th(f,f.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,f),f}(s,o,a,0,i,e,t):o.data[s];$t(f,!0);var m=f.mergedAttrs;null!==m&&oe(l,u,m);var w=f.classes;null!==w&&hg(l,u,w);var R=f.styles;return null!==R&&B0(l,u,R),64!=(64&f.flags)&&bh(o,a,u,f),0===function bm(){return wt.lFrame.elementDepthCount}()&&vi(u,a),function km(){wt.lFrame.elementDepthCount++}(),hs(f)&&(Dg(o,a,f),o1(o,f,a)),null!==t&&Tg(a,f),P}function E(){var n=Cr();gs()?Ql():$t(n=n.parent,!1);var i=n;!function Mm(){wt.lFrame.elementDepthCount--}();var e=en();return e.firstCreatePass&&(ru(e,n),Yc(n)&&e.queries.elementEnd(n)),null!=i.classesWithoutHost&&function k(n){return 0!=(16&n.flags)}(i)&&Wg(e,i,je(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function A(n){return 0!=(32&n.flags)}(i)&&Wg(e,i,je(),i.stylesWithoutHost,!1),E}function Ee(n,i,e,t){return P(n,i,e,t),E(),Ee}function Ke(n,i,e){var t=je(),a=en(),o=n+20,s=a.firstCreatePass?function uI(n,i,e,t,a){var o=i.consts,s=oo(o,t),l=mu(i,n,8,"ng-container",s);return null!==s&&Th(l,s,!0),Lg(i,e,l,oo(o,a)),null!==i.queries&&i.queries.elementStart(i,l),l}(o,a,t,i,e):a.data[o];$t(s,!0);var l=t[o]=t[11].createComment("");return bh(a,t,l,s),vi(l,t),hs(s)&&(Dg(a,t,s),o1(a,s,t)),null!=e&&Tg(t,s),Ke}function Ze(){var n=Cr(),i=en();return gs()?Ql():$t(n=n.parent,!1),i.firstCreatePass&&(ru(i,n),Yc(n)&&i.queries.elementEnd(n)),Ze}function ws(n,i,e){return Ke(n,i,e),Ze(),ws}function tt(){return je()}function bd(n){return!!n&&"function"==typeof n.then}function aM(n){return!!n&&"function"==typeof n.subscribe}var Gg=aM;function Se(n,i,e,t){var a=je(),o=en(),s=Cr();return oM(o,a,a[11],s,n,i,!!e,t),Se}function Ph(n,i){var e=Cr(),t=je(),a=en();return oM(a,t,M1(qs(a.data),e,t),e,n,i,!1),Ph}function oM(n,i,e,t,a,o,s,l){var u=hs(t),m=n.firstCreatePass&&k1(n),w=i[8],R=b1(i),B=!0;if(3&t.type||l){var J=zi(t,i),me=l?l(J):J,we=R.length,Te=l?function(as){return l(fr(as[t.index]))}:t.index;if(Jn(e)){var pe=null;if(!l&&u&&(pe=function cI(n,i,e,t){var a=n.cleanup;if(null!=a)for(var o=0;ou?l[u]:null}"string"==typeof s&&(o+=2)}return null}(n,i,a,t.index)),null!==pe)(pe.__ngLastListenerFn__||pe).__ngNextListenerFn__=o,pe.__ngLastListenerFn__=o,B=!1;else{o=qg(t,i,w,o,!1);var Ye=e.listen(me,a,o);R.push(o,Ye),m&&m.push(a,Te,we,we+1)}}else o=qg(t,i,w,o,!0),me.addEventListener(a,o,s),R.push(o),m&&m.push(a,Te,we,s)}else o=qg(t,i,w,o,!1);var rt,ze=t.outputs;if(B&&null!==ze&&(rt=ze[a])){var mt=rt.length;if(mt)for(var on=0;on0&&void 0!==arguments[0]?arguments[0]:1;return Lm(n)}function dI(n,i){for(var e=null,t=function _O(n){var i=n.attrs;if(null!=i){var e=i.indexOf(5);if(0==(1&e))return i[e+1]}return null}(n),a=0;a1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2?arguments[2]:void 0,t=je(),a=en(),o=mu(a,20+n,16,null,e||null);null===o.projection&&(o.projection=i),Ql(),64!=(64&o.flags)&&dO(a,t,o)}function Ln(n,i,e){return Kg(n,"",i,"",e),Ln}function Kg(n,i,e,t,a){var o=je(),s=Cu(o,i,e,t);return s!==Rt&&oa(en(),Xn(),o,n,s,o[11],a,!1),Kg}function mM(n,i,e,t,a){for(var o=n[e+1],s=null===i,l=t?Ba(o):No(o),u=!1;0!==l&&(!1===u||s);){var m=n[l+1];pI(n[l],i)&&(u=!0,n[l+1]=t?mg(m):pg(m)),l=t?Ba(m):No(m)}u&&(n[e+1]=t?pg(o):mg(o))}function pI(n,i){return null===n||null==i||(Array.isArray(n)?n[1]:n)===i||!(!Array.isArray(n)||"string"!=typeof i)&&cu(n,i)>=0}var Hr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gM(n){return n.substring(Hr.key,Hr.keyEnd)}function vI(n){return n.substring(Hr.value,Hr.valueEnd)}function _M(n,i){var e=Hr.textEnd;return e===i?-1:(i=Hr.keyEnd=function _I(n,i,e){for(;i32;)i++;return i}(n,Hr.key=i,e),Au(n,i,e))}function yM(n,i){var e=Hr.textEnd,t=Hr.key=Au(n,i,e);return e===t?-1:(t=Hr.keyEnd=function yI(n,i,e){for(var t;i=65&&(-33&t)<=90||t>=48&&t<=57);)i++;return i}(n,t,e),t=kM(n,t,e),t=Hr.value=Au(n,t,e),t=Hr.valueEnd=function bI(n,i,e){for(var t=-1,a=-1,o=-1,s=i,l=s;s32&&(l=s),o=a,a=t,t=-33&u}return l}(n,t,e),kM(n,t,e))}function bM(n){Hr.key=0,Hr.keyEnd=0,Hr.value=0,Hr.valueEnd=0,Hr.textEnd=n.length}function Au(n,i,e){for(;i=0;e=yM(i,e))SM(n,gM(i),vI(i))}function sa(n){Ua(ra,go,n,!0)}function go(n,i){for(var e=function mI(n){return bM(n),_M(n,Au(n,0,Hr.textEnd))}(i);e>=0;e=_M(i,e))ra(n,gM(i),!0)}function ja(n,i,e,t){var a=je(),o=en(),s=ka(2);o.firstUpdatePass&&wM(o,n,s,t),i!==Rt&&mi(a,s,i)&&DM(o,o.data[ri()],a,a[11],n,a[s+1]=function LI(n,i){return null==n||("string"==typeof i?n+=i:"object"==typeof n&&(n=ln(ia(n)))),n}(i,e),t,s)}function Ua(n,i,e,t){var a=en(),o=ka(2);a.firstUpdatePass&&wM(a,null,o,t);var s=je();if(e!==Rt&&mi(s,o,e)){var l=a.data[ri()];if(LM(l,t)&&!CM(a,o)){var f=t?l.classesWithoutHost:l.stylesWithoutHost;null!==f&&(e=Yl(f,e||"")),Wg(a,l,s,e,t)}else!function TI(n,i,e,t,a,o,s,l){a===Rt&&(a=cn);for(var u=0,f=0,m=0=n.expandoStartIndex}function wM(n,i,e,t){var a=n.data;if(null===a[e+1]){var o=a[ri()],s=CM(n,e);LM(o,t)&&null===i&&!s&&(i=!1),i=function MI(n,i,e,t){var a=qs(n),o=t?i.residualClasses:i.residualStyles;if(null===a)0===(t?i.classBindings:i.styleBindings)&&(e=kd(e=Zg(null,n,i,e,t),i.attrs,t),o=null);else{var l=i.directiveStylingLast;if(-1===l||n[l]!==a)if(e=Zg(a,n,i,e,t),null===o){var f=function CI(n,i,e){var t=e?i.classBindings:i.styleBindings;if(0!==No(t))return n[Ba(t)]}(n,i,t);void 0!==f&&Array.isArray(f)&&function wI(n,i,e,t){n[Ba(e?i.classBindings:i.styleBindings)]=t}(n,i,t,f=kd(f=Zg(null,n,i,f[1],t),i.attrs,t))}else o=function SI(n,i,e){for(var t=void 0,a=i.directiveEnd,o=1+i.directiveStylingLast;o0)&&(f=!0):m=e,a)if(0!==u){var B=Ba(n[l+1]);n[t+1]=Mh(B,l),0!==B&&(n[B+1]=vg(n[B+1],t)),n[l+1]=function SO(n,i){return 131071&n|i<<17}(n[l+1],t)}else n[t+1]=Mh(l,0),0!==l&&(n[l+1]=vg(n[l+1],t)),l=t;else n[t+1]=Mh(u,0),0===l?l=t:n[u+1]=vg(n[u+1],t),u=t;f&&(n[t+1]=pg(n[t+1])),mM(n,m,t,!0),mM(n,m,t,!1),function hI(n,i,e,t,a){var o=a?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof i&&cu(o,i)>=0&&(e[t+1]=mg(e[t+1]))}(i,m,n,t,o),s=Mh(l,u),o?i.classBindings=s:i.styleBindings=s}(a,o,i,e,s,t)}}function Zg(n,i,e,t,a){var o=null,s=e.directiveEnd,l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){var u=n[a],f=Array.isArray(u),m=f?u[1]:u,w=null===m,R=e[a+1];R===Rt&&(R=w?cn:void 0);var B=w?Vm(R,t):m===t?R:void 0;if(f&&!xh(B)&&(B=Vm(u,t)),xh(B)&&(l=B,s))return l;var J=n[a+1];a=s?Ba(J):No(J)}if(null!==i){var me=o?i.residualClasses:i.residualStyles;null!=me&&(l=Vm(me,t))}return l}function xh(n){return void 0!==n}function LM(n,i){return 0!=(n.flags&(i?16:32))}function F(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=je(),t=en(),a=n+20,o=t.firstCreatePass?mu(t,a,1,i,null):t.data[a],s=e[a]=og(e[11],i);bh(t,e,s,o),$t(o,!1)}function _e(n){return Me("",n,""),_e}function Me(n,i,e){var t=je(),a=Cu(t,n,i,e);return a!==Rt&&Yo(t,ri(),a),Me}function la(n,i,e,t,a){var o=je(),s=wu(o,n,i,e,t,a);return s!==Rt&&Yo(o,ri(),s),la}function el(n,i,e){var t=je();return mi(t,_s(),i)&&oa(en(),Xn(),t,n,i,t[11],e,!0),el}function Oh(n,i,e){var t=je();if(mi(t,_s(),i)){var o=en(),s=Xn();oa(o,s,t,n,i,M1(qs(o.data),s,t),e,!0)}return Oh}var tl=void 0,qI=["en",[["a","p"],["AM","PM"],tl],[["AM","PM"],tl,tl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],tl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],tl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",tl,"{1} 'at' {0}",tl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function GI(n){var e=Math.floor(Math.abs(n)),t=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}],Iu={};function Pi(n){var i=function KI(n){return n.toLowerCase().replace(/_/g,"-")}(n),e=qM(i);if(e)return e;var t=i.split("-")[0];if(e=qM(t))return e;if("en"===t)return qI;throw new Error('Missing locale data for the locale "'.concat(n,'".'))}function qM(n){return n in Iu||(Iu[n]=wn.ng&&wn.ng.common&&wn.ng.common.locales&&wn.ng.common.locales[n]),Iu[n]}var st=function(){return(st=st||{})[st.LocaleId=0]="LocaleId",st[st.DayPeriodsFormat=1]="DayPeriodsFormat",st[st.DayPeriodsStandalone=2]="DayPeriodsStandalone",st[st.DaysFormat=3]="DaysFormat",st[st.DaysStandalone=4]="DaysStandalone",st[st.MonthsFormat=5]="MonthsFormat",st[st.MonthsStandalone=6]="MonthsStandalone",st[st.Eras=7]="Eras",st[st.FirstDayOfWeek=8]="FirstDayOfWeek",st[st.WeekendRange=9]="WeekendRange",st[st.DateFormat=10]="DateFormat",st[st.TimeFormat=11]="TimeFormat",st[st.DateTimeFormat=12]="DateTimeFormat",st[st.NumberSymbols=13]="NumberSymbols",st[st.NumberFormats=14]="NumberFormats",st[st.CurrencyCode=15]="CurrencyCode",st[st.CurrencySymbol=16]="CurrencySymbol",st[st.CurrencyName=17]="CurrencyName",st[st.Currencies=18]="Currencies",st[st.Directionality=19]="Directionality",st[st.PluralCase=20]="PluralCase",st[st.ExtraData=21]="ExtraData",st}(),Ah="en-US";function UR(n,i,e){var t=en();if(t.firstCreatePass){var a=Li(n);Jg(e,t.data,t.blueprint,a,!0),Jg(i,t.data,t.blueprint,a,!1)}}function Jg(n,i,e,t,a){if(n=Nt(n),Array.isArray(n))for(var o=0;o>20;if(bu(n)||!n.multi){var J=new Ks(f,a,V),me=e_(u,i,a?w:w+B,R);-1===me?(uh(Xc(m,l),s,u),Xg(s,n,i.length),i.push(u),m.directiveStart++,m.directiveEnd++,a&&(m.providerIndexes+=1048576),e.push(J),l.push(J)):(e[me]=J,l[me]=J)}else{var we=e_(u,i,w+B,R),Te=e_(u,i,w,w+B),Fe=Te>=0&&e[Te];if(a&&!Fe||!a&&!(we>=0&&e[we])){uh(Xc(m,l),s,u);var Ye=function GR(n,i,e,t,a){var o=new Ks(n,e,V);return o.multi=[],o.index=i,o.componentProviders=0,_C(o,a,t&&!e),o}(a?WR:zR,e.length,a,t,f);!a&&Fe&&(e[Te].providerFactory=Ye),Xg(s,n,i.length,0),i.push(u),m.directiveStart++,m.directiveEnd++,a&&(m.providerIndexes+=1048576),e.push(Ye),l.push(Ye)}else Xg(s,n,we>-1?we:Te,_C(e[a?Te:we],f,!a&&t));!a&&t&&Fe&&e[Te].componentProviders++}}}function Xg(n,i,e,t){var a=bu(i),o=function _A(n){return!!n.useClass}(i);if(a||o){var u=(o?Nt(i.useClass):i).prototype.ngOnDestroy;if(u){var f=n.destroyHooks||(n.destroyHooks=[]);if(!a&&i.multi){var m=f.indexOf(e);-1===m?f.push(e,[t,u]):f[m+1].push(t,u)}else f.push(e,u)}}}function _C(n,i,e){return e&&n.componentProviders++,n.multi.push(i)-1}function e_(n,i,e,t){for(var a=e;a1&&void 0!==arguments[1]?arguments[1]:[];return function(e){e.providersResolver=function(t,a){return UR(t,a?a(n):n,i)}}}var qR=d(function n(){c(this,n)}),yC=d(function n(){c(this,n)}),ZR=function(){function n(){c(this,n)}return d(n,[{key:"resolveComponentFactory",value:function(e){throw function KR(n){var i=Error("No component factory found for ".concat(ln(n),". Did you add it to @NgModule.entryComponents?"));return i.ngComponent=n,i}(e)}}]),n}(),Ds=function(){var n=d(function i(){c(this,i)});return n.NULL=new ZR,n}();function $R(){return Fu(Cr(),je())}function Fu(n,i){return new yt(zi(n,i))}var yt=function(){var n=d(function i(e){c(this,i),this.nativeElement=e});return n.__NG_ELEMENT_ID__=$R,n}();function QR(n){return n instanceof yt?n.nativeElement:n}var Dd=d(function n(){c(this,n)}),_o=function(){var n=d(function i(){c(this,i)});return n.__NG_ELEMENT_ID__=function(){return function XR(){var n=je(),e=$r(Cr().index,n);return function JR(n){return n[11]}(Vi(e)?e:n)}()},n}(),eF=function(){var n=d(function i(){c(this,i)});return n.\u0275prov=Ue({token:n,providedIn:"root",factory:function(){return null}}),n}(),nl=d(function n(i){c(this,n),this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}),tF=new nl("13.2.5"),n_={};function Yh(n,i,e,t){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==e;){var o=i[e.index];if(null!==o&&t.push(fr(o)),ji(o))for(var s=10;s-1&&(lg(e,a),dh(t,a))}this._attachedToViewContainer=!1}L0(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){c1(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){xg(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Ag(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function sA(n,i,e){Xl(!0);try{Ag(n,i,e)}finally{Xl(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new dt(902,"");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function rO(n,i){pd(n,i,i[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new dt(902,"");this._appRef=e}}]),n}(),nF=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t))._view=t,a}return d(e,[{key:"detectChanges",value:function(){y1(this._view)}},{key:"checkNoChanges",value:function(){!function lA(n){Xl(!0);try{y1(n)}finally{Xl(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),e}(Td),kC=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).ngModule=t,a}return d(e,[{key:"resolveComponentFactory",value:function(a){var o=Mr(a);return new r_(o,this.ngModule)}}]),e}(Ds);function MC(n){var i=[];for(var e in n)n.hasOwnProperty(e)&&i.push({propName:n[e],templateName:e});return i}var r_=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this)).componentDef=t,o.ngModule=a,o.componentType=t.type,o.selector=function CO(n){return n.map(MO).join(",")}(t.selectors),o.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],o.isBoundToModule=!!a,o}return d(e,[{key:"inputs",get:function(){return MC(this.componentDef.inputs)}},{key:"outputs",get:function(){return MC(this.componentDef.outputs)}},{key:"create",value:function(a,o,s,l){var pe,Fe,u=(l=l||this.ngModule)?function iF(n,i){return{get:function(t,a,o){var s=n.get(t,n_,o);return s!==n_||a===n_?s:i.get(t,a,o)}}}(a,l.injector):a,f=u.get(Dd,Kf),m=u.get(eF,null),w=f.createRenderer(null,this.componentDef),R=this.componentDef.selectors[0][0]||"div",B=s?function u1(n,i,e){if(Jn(n))return n.selectRootElement(i,e===ea.ShadowDom);var a="string"==typeof i?n.querySelector(i):i;return a.textContent="",a}(w,s,this.componentDef.encapsulation):sg(f.createRenderer(null,this.componentDef),R,function rF(n){var i=n.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(R)),J=this.componentDef.onPush?576:528,me=function N1(n,i){return{components:[],scheduler:n||$x,clean:uA,playerHandler:i||null,flags:0}}(),we=Sh(0,null,null,1,0,null,null,null,null,null),Te=vd(null,we,me,J,null,null,f,w,m,u);tu(Te);try{var Ye=function R1(n,i,e,t,a,o){var s=e[1];e[20]=n;var u=mu(s,20,2,"#host",null),f=u.mergedAttrs=i.hostAttrs;null!==f&&(Th(u,f,!0),null!==n&&(oe(a,n,f),null!==u.classes&&hg(a,n,u.classes),null!==u.styles&&B0(a,n,u.styles)));var m=t.createRenderer(n,i),w=vd(e,s1(i),null,i.onPush?64:16,e[20],u,t,m,o||null,null);return s.firstCreatePass&&(uh(Xc(u,e),s,i.type),v1(s,u),m1(u,e.length,1)),Dh(e,w),e[20]=w}(B,this.componentDef,Te,f,w);if(B)if(s)oe(w,B,["ng-version",tF.full]);else{var ze=function wO(n){for(var i=[],e=[],t=1,a=2;t0&&hg(w,B,mt.join(" "))}if(Fe=Wc(we,20),void 0!==o)for(var on=Fe.projection=[],cr=0;cr1&&void 0!==arguments[1]?arguments[1]:Un.THROW_IF_NOT_FOUND,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ct.Default;return a===Un||a===Ho||a===Rg?this:this._r3Injector.get(a,o,s)}},{key:"destroy",value:function(){var a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(function(o){return o()}),this.destroyCbs=null}},{key:"onDestroy",value:function(a){this.destroyCbs.push(a)}}]),e}(Ho),i_=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).moduleType=t,null!==Si(t)&&function lF(n){var i=new Set;!function e(t){var a=Si(t,!0),o=a.id;null!==o&&(function wC(n,i,e){if(i&&i!==e)throw new Error("Duplicate module registered for ".concat(n," - ").concat(ln(i)," vs ").concat(ln(i.name)))}(o,Nu.get(o),t),Nu.set(o,t));var f,u=z(po(a.imports));try{for(u.s();!(f=u.n()).done;){var m=f.value;i.has(m)||(i.add(m),e(m))}}catch(w){u.e(w)}finally{u.f()}}(n)}(t),a}return d(e,[{key:"create",value:function(a){return new DC(this.moduleType,a)}}]),e}(CC);function Nn(n,i,e){var t=ni()+n,a=je();return a[t]===Rt?mo(a,t,e?i.call(e):i()):function yd(n,i){return n[i]}(a,t)}function Qe(n,i,e,t){return TC(je(),ni(),n,i,e,t)}function En(n,i,e,t,a){return LC(je(),ni(),n,i,e,t,a)}function Ld(n,i){var e=n[i];return e===Rt?void 0:e}function TC(n,i,e,t,a,o){var s=i+e;return mi(n,s,a)?mo(n,s+1,o?t.call(o,a):t(a)):Ld(n,s+1)}function LC(n,i,e,t,a,o,s){var l=i+e;return Xs(n,l,a,o)?mo(n,l+2,s?t.call(s,a,o):t(a,o)):Ld(n,l+2)}function Y(n,i){var t,e=en(),a=n+20;e.firstCreatePass?(t=function mF(n,i){if(i)for(var e=i.length-1;e>=0;e--){var t=i[e];if(n===t.name)return t}}(i,e.pipeRegistry),e.data[a]=t,t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(a,t.onDestroy)):t=e.data[a];var o=t.factory||(t.factory=Io(t.type)),s=no(V);try{var l=$s(!1),u=o();return $s(l),function zA(n,i,e,t){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),i[e]=t}(e,je(),a,u),u}finally{no(s)}}function W(n,i,e){var t=n+20,a=je(),o=vs(a,t);return Ed(a,t)?TC(a,ni(),i,o.transform,e,o):o.transform(e)}function Ht(n,i,e,t){var a=n+20,o=je(),s=vs(o,a);return Ed(o,a)?LC(o,ni(),i,s.transform,e,t,s):s.transform(e,t)}function Ed(n,i){return n[1].data[i].pure}var bF=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return c(this,e),(t=i.call(this)).__isAsync=a,t}return d(e,[{key:"emit",value:function(a){D(O(e.prototype),"next",this).call(this,a)}},{key:"subscribe",value:function(a,o,s){var l,u,f,m=a,w=o||function(){return null},R=s;if(a&&"object"==typeof a){var B=a;m=null===(l=B.next)||void 0===l?void 0:l.bind(B),w=null===(u=B.error)||void 0===u?void 0:u.bind(B),R=null===(f=B.complete)||void 0===f?void 0:f.bind(B)}this.__isAsync&&(w=a_(w),m&&(m=a_(m)),R&&(R=a_(R)));var J=D(O(e.prototype),"subscribe",this).call(this,{next:m,error:w,complete:R});return a instanceof Ne&&a.add(J),J}}]),e}(Ie);function a_(n){return function(i){setTimeout(n,void 0,i)}}var pt=bF;function kF(){return this._results[ku()]()}var Pd=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(this,n),this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var e=ku(),t=n.prototype;t[e]||(t[e]=kF)}return d(n,[{key:"changes",get:function(){return this._changes||(this._changes=new pt)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){var a=this;a.dirty=!1;var o=Ca(e);(this._changesDetected=!function DP(n,i,e){if(n.length!==i.length)return!1;for(var t=0;t0;)this.remove(this.length-1)}},{key:"get",value:function(a){var o=AC(this._lContainer);return null!==o&&o[a]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(a,o,s){var l=a.createEmbeddedView(o||{});return this.insert(l,s),l}},{key:"createComponent",value:function(a,o,s,l,u){var m,f=a&&!function nd(n){return"function"==typeof n}(a);if(f)m=o;else{var w=o||{};m=w.index,s=w.injector,l=w.projectableNodes,u=w.ngModuleRef}var R=f?a:new r_(Mr(a)),B=s||this.parentInjector;if(!u&&null==R.ngModule){var me=(f?B:this.parentInjector).get(Ho,null);me&&(u=me)}var we=R.create(B,l,void 0,u);return this.insert(we.hostView,m),we}},{key:"insert",value:function(a,o){var s=a._lView,l=s[1];if(function _m(n){return ji(n[3])}(s)){var u=this.indexOf(a);if(-1!==u)this.detach(u);else{var f=s[3],m=new OC(f,f[6],f[3]);m.detach(m.indexOf(a))}}var w=this._adjustIndex(o),R=this._lContainer;!function aO(n,i,e,t){var a=10+t,o=e.length;t>0&&(e[a-1][4]=i),t1&&void 0!==arguments[1]?arguments[1]:0;return null==a?this.length+o:a}}]),e}(ii);function AC(n){return n[8]}function o_(n){return n[8]||(n[8]=[])}function IC(n,i){var e,t=i[n.index];if(ji(t))e=t;else{var a;if(8&n.type)a=fr(t);else{var o=i[11];a=o.createComment("");var s=zi(n,i);Js(o,yh(o,s),a,function cO(n,i){return Jn(n)?n.nextSibling(i):i.nextSibling}(o,s),!1)}i[n.index]=e=_1(t,i,a,n),Dh(i,e)}return new OC(e,n,i)}var EF=function(){function n(i){c(this,n),this.queryList=i,this.matches=null}return d(n,[{key:"clone",value:function(){return new n(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),n}(),PF=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,n),this.queries=i}return d(n,[{key:"createEmbeddedView",value:function(e){var t=e.queries;if(null!==t){for(var a=null!==e.contentQueries?e.contentQueries[0]:t.length,o=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:null;c(this,n),this.predicate=i,this.flags=e,this.read=t}),xF=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,n),this.queries=i}return d(n,[{key:"elementStart",value:function(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:-1;c(this,n),this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}return d(n,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new n(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,a=e.parent;null!==a&&8&a.type&&a.index!==t;)a=a.parent;return t===(null!==a?a.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var a=this.metadata.predicate;if(Array.isArray(a))for(var o=0;o0)t.push(s[l/2]);else{for(var f=o[l+1],m=i[-u],w=10;w0&&(l=setTimeout(function(){s._callbacks=s._callbacks.filter(function(u){return u.timeoutId!==l}),t(s._didWork,s.getPendingTasks())},a)),this._callbacks.push({doneCb:t,timeoutId:l,updateCb:o})}},{key:"whenStable",value:function(t,a,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,a,o),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,a,o){return[]}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),uw=function(){var n=function(){function i(){c(this,i),this._applications=new Map,b_.addToWindow(this)}return d(i,[{key:"registerApplication",value:function(t,a){this._applications.set(t,a)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return b_.findTestabilityInTree(this,t,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),f3=function(){function n(){c(this,n)}return d(n,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,a){return null}}]),n}(),b_=new f3;function p3(n,i,e){var t=new i_(e);return Promise.resolve(t)}var cw=new $e("AllowMultipleToken"),dw=d(function n(i,e){c(this,n),this.name=i,this.token=e});function m3(n){if(za&&!za.destroyed&&!za.injector.get(cw,!1))throw new dt(400,"");za=n.get(pw);var e=n.get(rw,null);return e&&e.forEach(function(t){return t()}),za}function fw(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t="Platform: ".concat(i),a=new $e(t);return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=hw();if(!s||s.injector.get(cw,!1))if(n)n(e.concat(o).concat({provide:a,useValue:!0}));else{var l=e.concat(o).concat({provide:a,useValue:!0},{provide:Fg,useValue:"platform"});m3(Un.create({providers:l,name:t}))}return g3()}}function g3(n){var i=hw();if(!i)throw new dt(401,"");return i}function hw(){return za&&!za.destroyed?za:null}var pw=function(){var n=function(){function i(e){c(this,i),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return d(i,[{key:"bootstrapModuleFactory",value:function(t,a){var o=this,f=function _3(n,i){return"noop"===n?new d3:("zone.js"===n?void 0:n)||new bt({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),m=[{provide:bt,useValue:f}];return f.run(function(){var w=Un.create({providers:m,parent:o.injector,name:t.moduleType.name}),R=t.create(w),B=R.injector.get(ks,null);if(!B)throw new dt(402,"");return f.runOutsideAngular(function(){var me=f.onError.subscribe({next:function(Te){B.handleError(Te)}});R.onDestroy(function(){k_(o._modules,R),me.unsubscribe()})}),function y3(n,i,e){try{var t=e();return bd(t)?t.catch(function(a){throw i.runOutsideAngular(function(){return n.handleError(a)}),a}):t}catch(a){throw i.runOutsideAngular(function(){return n.handleError(a)}),a}}(B,f,function(){var me=R.injector.get(p_);return me.runInitializers(),me.donePromise.then(function(){return function JI(n){wi(n,"Expected localeId to be defined"),"string"==typeof n&&n.toLowerCase().replace(/_/g,"-")}(R.injector.get(Bo,Ah)||Ah),o._moduleDoBootstrap(R),R})})})}},{key:"bootstrapModule",value:function(t){var a=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=vw({},o);return p3(0,0,t).then(function(l){return a.bootstrapModuleFactory(l,s)})}},{key:"_moduleDoBootstrap",value:function(t){var a=t.injector.get(Uh);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(s){return a.bootstrap(s)});else{if(!t.instance.ngDoBootstrap)throw new dt(403,"");t.instance.ngDoBootstrap(a)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new dt(404,"");this._modules.slice().forEach(function(a){return a.destroy()}),this._destroyListeners.forEach(function(a){return a()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Un))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function vw(n,i){return Array.isArray(i)?i.reduce(vw,n):Object.assign(Object.assign({},n),i)}var Uh=function(){var n=function(){function i(e,t,a,o,s){var l=this;c(this,i),this._zone=e,this._injector=t,this._exceptionHandler=a,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new fe(function(m){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){m.next(l._stable),m.complete()})}),f=new fe(function(m){var w;l._zone.runOutsideAngular(function(){w=l._zone.onStable.subscribe(function(){bt.assertNotInAngularZone(),m_(function(){!l._stable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks&&(l._stable=!0,m.next(!0))})})});var R=l._zone.onUnstable.subscribe(function(){bt.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){m.next(!1)}))});return function(){w.unsubscribe(),R.unsubscribe()}});this.isStable=Mi(u,f.pipe(Nl()))}return d(i,[{key:"bootstrap",value:function(t,a){var l,o=this;if(!this._initStatus.done)throw new dt(405,"");l=t instanceof yC?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(l.componentType);var u=function v3(n){return n.isBoundToModule}(l)?void 0:this._injector.get(Ho),m=l.create(Un.NULL,[],a||l.selector,u),w=m.location.nativeElement,R=m.injector.get(y_,null),B=R&&m.injector.get(uw);return R&&B&&B.registerApplication(w,R),m.onDestroy(function(){o.detachView(m.hostView),k_(o.components,m),B&&B.unregisterApplication(w)}),this._loadComponent(m),m}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new dt(101,"");try{this._runningTick=!0;var s,o=z(this._views);try{for(o.s();!(s=o.n()).done;)s.value.detectChanges()}catch(w){o.e(w)}finally{o.f()}}catch(w){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(w)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var a=t;this._views.push(a),a.attachToAppRef(this)}},{key:"detachView",value:function(t){var a=t;k_(this._views,a),a.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(iw,[]).concat(this._bootstrapListeners).forEach(function(o){return o(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(bt),Le(Un),Le(ks),Le(Ds),Le(p_))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function k_(n,i){var e=n.indexOf(i);e>-1&&n.splice(e,1)}var Kn=function(){var n=d(function i(){c(this,i)});return n.__NG_ELEMENT_ID__=M3,n}();function M3(n){return function C3(n,i,e){if(fs(n)&&!e){var t=$r(n.index,i);return new Td(t,t)}return 47&n.type?new Td(i[16],i):null}(Cr(),je(),16==(16&n))}var Mw=function(){function n(){c(this,n)}return d(n,[{key:"supports",value:function(e){return _d(e)}},{key:"create",value:function(e){return new T3(e)}}]),n}(),D3=function(i,e){return e},T3=function(){function n(i){c(this,n),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=i||D3}return d(n,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,a=this._removalsHead,o=0,s=null;t||a;){var l=!a||t&&t.currentIndex0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(o)}},{key:"getState",value:function(){return this._history.state}}]),t}(il);return n.\u0275fac=function(e){return new(e||n)(Le(xt))},n.\u0275prov=Ue({token:n,factory:function(){return function j3(){return new Lw(Le(xt))}()},providedIn:"platform"}),n}();function Ew(){return!!window.history.pushState}function T_(n,i){if(0==n.length)return i;if(0==i.length)return n;var e=0;return n.endsWith("/")&&e++,i.startsWith("/")&&e++,2==e?n+i.substring(1):1==e?n+i:n+"/"+i}function Pw(n){var i=n.match(/#|\?|$/),e=i&&i.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Vo(n){return n&&"?"!==n[0]?"?"+n:n}var Hu=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:function(){return function U3(n){var i=Le(xt).location;return new xw(Le(il),i&&i.origin||"")}()},providedIn:"root"}),n}(),L_=new $e("appBaseHref"),xw=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;if(c(this,t),(s=e.call(this))._platformLocation=a,s._removeListenerFns=[],null==o&&(o=s._platformLocation.getBaseHrefFromDOM()),null==o)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return s._baseHref=o,s}return d(t,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(o){return T_(this._baseHref,o)}},{key:"path",value:function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=this._platformLocation.pathname+Vo(this._platformLocation.search),l=this._platformLocation.hash;return l&&o?"".concat(s).concat(l):s}},{key:"pushState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Vo(u));this._platformLocation.pushState(o,s,f)}},{key:"replaceState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Vo(u));this._platformLocation.replaceState(o,s,f)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),t}(Hu);return n.\u0275fac=function(e){return new(e||n)(Le(il),Le(L_,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),z3=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._platformLocation=a,s._baseHref="",s._removeListenerFns=[],null!=o&&(s._baseHref=o),s}return d(t,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var s=this._platformLocation.hash;return null==s&&(s="#"),s.length>0?s.substring(1):s}},{key:"prepareExternalUrl",value:function(o){var s=T_(this._baseHref,o);return s.length>0?"#"+s:s}},{key:"pushState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Vo(u));0==f.length&&(f=this._platformLocation.pathname),this._platformLocation.pushState(o,s,f)}},{key:"replaceState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Vo(u));0==f.length&&(f=this._platformLocation.pathname),this._platformLocation.replaceState(o,s,f)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),t}(Hu);return n.\u0275fac=function(e){return new(e||n)(Le(il),Le(L_,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),Bu=function(){var n=function(){function i(e,t){var a=this;c(this,i),this._subject=new pt,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Pw(Ow(o)),this._platformStrategy.onPopState(function(s){a._subject.emit({url:a.path(!0),pop:!0,state:s.state,type:s.type})})}return d(i,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+Vo(a))}},{key:"normalize",value:function(t){return i.stripTrailingSlash(function G3(n,i){return n&&i.startsWith(n)?i.substring(n.length):i}(this._baseHref,Ow(t)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(o,"",t,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vo(a)),o)}},{key:"replaceState",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(o,"",t,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vo(a)),o)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var a,o,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(o=(a=this._platformStrategy).historyGo)||void 0===o||o.call(a,t)}},{key:"onUrlChange",value:function(t){var a=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(o){a._notifyUrlChangeListeners(o.url,o.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(o){return o(t,a)})}},{key:"subscribe",value:function(t,a,o){return this._subject.subscribe({next:t,error:a,complete:o})}}]),i}();return n.normalizeQueryParams=Vo,n.joinWithSlash=T_,n.stripTrailingSlash=Pw,n.\u0275fac=function(e){return new(e||n)(Le(Hu),Le(il))},n.\u0275prov=Ue({token:n,factory:function(){return function W3(){return new Bu(Le(Hu),Le(il))}()},providedIn:"root"}),n}();function Ow(n){return n.replace(/\/index.html$/,"")}var wr=function(){return(wr=wr||{})[wr.Format=0]="Format",wr[wr.Standalone=1]="Standalone",wr}(),Jt=function(){return(Jt=Jt||{})[Jt.Narrow=0]="Narrow",Jt[Jt.Abbreviated=1]="Abbreviated",Jt[Jt.Wide=2]="Wide",Jt[Jt.Short=3]="Short",Jt}(),lr=function(){return(lr=lr||{})[lr.Short=0]="Short",lr[lr.Medium=1]="Medium",lr[lr.Long=2]="Long",lr[lr.Full=3]="Full",lr}(),gt=function(){return(gt=gt||{})[gt.Decimal=0]="Decimal",gt[gt.Group=1]="Group",gt[gt.List=2]="List",gt[gt.PercentSign=3]="PercentSign",gt[gt.PlusSign=4]="PlusSign",gt[gt.MinusSign=5]="MinusSign",gt[gt.Exponential=6]="Exponential",gt[gt.SuperscriptingExponent=7]="SuperscriptingExponent",gt[gt.PerMille=8]="PerMille",gt[gt.Infinity=9]="Infinity",gt[gt.NaN=10]="NaN",gt[gt.TimeSeparator=11]="TimeSeparator",gt[gt.CurrencyDecimal=12]="CurrencyDecimal",gt[gt.CurrencyGroup=13]="CurrencyGroup",gt}();function Wh(n,i){return Ta(Pi(n)[st.DateFormat],i)}function Gh(n,i){return Ta(Pi(n)[st.TimeFormat],i)}function qh(n,i){return Ta(Pi(n)[st.DateTimeFormat],i)}function Da(n,i){var e=Pi(n),t=e[st.NumberSymbols][i];if(void 0===t){if(i===gt.CurrencyDecimal)return e[st.NumberSymbols][gt.Decimal];if(i===gt.CurrencyGroup)return e[st.NumberSymbols][gt.Group]}return t}function Iw(n){if(!n[st.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(n[st.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Ta(n,i){for(var e=i;e>-1;e--)if(void 0!==n[e])return n[e];throw new Error("Locale data API: locale data undefined")}function P_(n){var e=ne(n.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var aN=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fd={},oN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Br=function(){return(Br=Br||{})[Br.Short=0]="Short",Br[Br.ShortGMT=1]="ShortGMT",Br[Br.Long=2]="Long",Br[Br.Extended=3]="Extended",Br}(),kt=function(){return(kt=kt||{})[kt.FullYear=0]="FullYear",kt[kt.Month=1]="Month",kt[kt.Date=2]="Date",kt[kt.Hours=3]="Hours",kt[kt.Minutes=4]="Minutes",kt[kt.Seconds=5]="Seconds",kt[kt.FractionalSeconds=6]="FractionalSeconds",kt[kt.Day=7]="Day",kt}(),Ut=function(){return(Ut=Ut||{})[Ut.DayPeriods=0]="DayPeriods",Ut[Ut.Days=1]="Days",Ut[Ut.Months=2]="Months",Ut[Ut.Eras=3]="Eras",Ut}();function Rw(n,i,e,t){var a=function vN(n){if(Yw(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){var e=ne(n.split("-").map(function(w){return+w}),3),a=e[1],s=e[2];return Kh(e[0],(void 0===a?1:a)-1,void 0===s?1:s)}var f,u=parseFloat(n);if(!isNaN(n-u))return new Date(u);if(f=n.match(aN))return function mN(n){var i=new Date(0),e=0,t=0,a=n[8]?i.setUTCFullYear:i.setFullYear,o=n[8]?i.setUTCHours:i.setHours;n[9]&&(e=Number(n[9]+n[10]),t=Number(n[9]+n[11])),a.call(i,Number(n[1]),Number(n[2])-1,Number(n[3]));var s=Number(n[4]||0)-e,l=Number(n[5]||0)-t,u=Number(n[6]||0),f=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(i,s,l,u,f),i}(f)}var m=new Date(n);if(!Yw(m))throw new Error('Unable to convert "'.concat(n,'" into a date'));return m}(n);i=jo(e,i)||i;for(var l,s=[];i;){if(!(l=oN.exec(i))){s.push(i);break}var u=(s=s.concat(l.slice(1))).pop();if(!u)break;i=u}var f=a.getTimezoneOffset();t&&(f=Nw(t,f),a=function pN(n,i,e){var t=e?-1:1,a=n.getTimezoneOffset();return function hN(n,i){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+i),n}(n,t*(Nw(i,a)-a))}(a,t,!0));var m="";return s.forEach(function(w){var R=function fN(n){if(O_[n])return O_[n];var i;switch(n){case"G":case"GG":case"GGG":i=zn(Ut.Eras,Jt.Abbreviated);break;case"GGGG":i=zn(Ut.Eras,Jt.Wide);break;case"GGGGG":i=zn(Ut.Eras,Jt.Narrow);break;case"y":i=Pr(kt.FullYear,1,0,!1,!0);break;case"yy":i=Pr(kt.FullYear,2,0,!0,!0);break;case"yyy":i=Pr(kt.FullYear,3,0,!1,!0);break;case"yyyy":i=Pr(kt.FullYear,4,0,!1,!0);break;case"Y":i=Jh(1);break;case"YY":i=Jh(2,!0);break;case"YYY":i=Jh(3);break;case"YYYY":i=Jh(4);break;case"M":case"L":i=Pr(kt.Month,1,1);break;case"MM":case"LL":i=Pr(kt.Month,2,1);break;case"MMM":i=zn(Ut.Months,Jt.Abbreviated);break;case"MMMM":i=zn(Ut.Months,Jt.Wide);break;case"MMMMM":i=zn(Ut.Months,Jt.Narrow);break;case"LLL":i=zn(Ut.Months,Jt.Abbreviated,wr.Standalone);break;case"LLLL":i=zn(Ut.Months,Jt.Wide,wr.Standalone);break;case"LLLLL":i=zn(Ut.Months,Jt.Narrow,wr.Standalone);break;case"w":i=x_(1);break;case"ww":i=x_(2);break;case"W":i=x_(1,!0);break;case"d":i=Pr(kt.Date,1);break;case"dd":i=Pr(kt.Date,2);break;case"c":case"cc":i=Pr(kt.Day,1);break;case"ccc":i=zn(Ut.Days,Jt.Abbreviated,wr.Standalone);break;case"cccc":i=zn(Ut.Days,Jt.Wide,wr.Standalone);break;case"ccccc":i=zn(Ut.Days,Jt.Narrow,wr.Standalone);break;case"cccccc":i=zn(Ut.Days,Jt.Short,wr.Standalone);break;case"E":case"EE":case"EEE":i=zn(Ut.Days,Jt.Abbreviated);break;case"EEEE":i=zn(Ut.Days,Jt.Wide);break;case"EEEEE":i=zn(Ut.Days,Jt.Narrow);break;case"EEEEEE":i=zn(Ut.Days,Jt.Short);break;case"a":case"aa":case"aaa":i=zn(Ut.DayPeriods,Jt.Abbreviated);break;case"aaaa":i=zn(Ut.DayPeriods,Jt.Wide);break;case"aaaaa":i=zn(Ut.DayPeriods,Jt.Narrow);break;case"b":case"bb":case"bbb":i=zn(Ut.DayPeriods,Jt.Abbreviated,wr.Standalone,!0);break;case"bbbb":i=zn(Ut.DayPeriods,Jt.Wide,wr.Standalone,!0);break;case"bbbbb":i=zn(Ut.DayPeriods,Jt.Narrow,wr.Standalone,!0);break;case"B":case"BB":case"BBB":i=zn(Ut.DayPeriods,Jt.Abbreviated,wr.Format,!0);break;case"BBBB":i=zn(Ut.DayPeriods,Jt.Wide,wr.Format,!0);break;case"BBBBB":i=zn(Ut.DayPeriods,Jt.Narrow,wr.Format,!0);break;case"h":i=Pr(kt.Hours,1,-12);break;case"hh":i=Pr(kt.Hours,2,-12);break;case"H":i=Pr(kt.Hours,1);break;case"HH":i=Pr(kt.Hours,2);break;case"m":i=Pr(kt.Minutes,1);break;case"mm":i=Pr(kt.Minutes,2);break;case"s":i=Pr(kt.Seconds,1);break;case"ss":i=Pr(kt.Seconds,2);break;case"S":i=Pr(kt.FractionalSeconds,1);break;case"SS":i=Pr(kt.FractionalSeconds,2);break;case"SSS":i=Pr(kt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":i=$h(Br.Short);break;case"ZZZZZ":i=$h(Br.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=$h(Br.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":i=$h(Br.Long);break;default:return null}return O_[n]=i,i}(w);m+=R?R(a,e,f):"''"===w?"'":w.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function Kh(n,i,e){var t=new Date(0);return t.setFullYear(n,i,e),t.setHours(0,0,0),t}function jo(n,i){var e=function q3(n){return Pi(n)[st.LocaleId]}(n);if(Fd[e]=Fd[e]||{},Fd[e][i])return Fd[e][i];var t="";switch(i){case"shortDate":t=Wh(n,lr.Short);break;case"mediumDate":t=Wh(n,lr.Medium);break;case"longDate":t=Wh(n,lr.Long);break;case"fullDate":t=Wh(n,lr.Full);break;case"shortTime":t=Gh(n,lr.Short);break;case"mediumTime":t=Gh(n,lr.Medium);break;case"longTime":t=Gh(n,lr.Long);break;case"fullTime":t=Gh(n,lr.Full);break;case"short":var a=jo(n,"shortTime"),o=jo(n,"shortDate");t=Zh(qh(n,lr.Short),[a,o]);break;case"medium":var s=jo(n,"mediumTime"),l=jo(n,"mediumDate");t=Zh(qh(n,lr.Medium),[s,l]);break;case"long":var u=jo(n,"longTime"),f=jo(n,"longDate");t=Zh(qh(n,lr.Long),[u,f]);break;case"full":var m=jo(n,"fullTime"),w=jo(n,"fullDate");t=Zh(qh(n,lr.Full),[m,w])}return t&&(Fd[e][i]=t),t}function Zh(n,i){return i&&(n=n.replace(/\{([^}]+)}/g,function(e,t){return null!=i&&t in i?i[t]:e})),n}function Wa(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",t=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o="";(n<0||a&&n<=0)&&(a?n=1-n:(n=-n,o=e));for(var s=String(n);s.length2&&void 0!==arguments[2]?arguments[2]:0,t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,s){var l=lN(n,o);if((e>0||l>-e)&&(l+=e),n===kt.Hours)0===l&&-12===e&&(l=12);else if(n===kt.FractionalSeconds)return sN(l,i);var u=Da(s,gt.MinusSign);return Wa(l,i,u,t,a)}}function lN(n,i){switch(n){case kt.FullYear:return i.getFullYear();case kt.Month:return i.getMonth();case kt.Date:return i.getDate();case kt.Hours:return i.getHours();case kt.Minutes:return i.getMinutes();case kt.Seconds:return i.getSeconds();case kt.FractionalSeconds:return i.getMilliseconds();case kt.Day:return i.getDay();default:throw new Error('Unknown DateType value "'.concat(n,'".'))}}function zn(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:wr.Format,t=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return uN(a,o,n,i,e,t)}}function uN(n,i,e,t,a,o){switch(e){case Ut.Months:return function $3(n,i,e){var t=Pi(n),o=Ta([t[st.MonthsFormat],t[st.MonthsStandalone]],i);return Ta(o,e)}(i,a,t)[n.getMonth()];case Ut.Days:return function Z3(n,i,e){var t=Pi(n),o=Ta([t[st.DaysFormat],t[st.DaysStandalone]],i);return Ta(o,e)}(i,a,t)[n.getDay()];case Ut.DayPeriods:var s=n.getHours(),l=n.getMinutes();if(o){var u=function eN(n){var i=Pi(n);return Iw(i),(i[st.ExtraData][2]||[]).map(function(t){return"string"==typeof t?P_(t):[P_(t[0]),P_(t[1])]})}(i),f=function tN(n,i,e){var t=Pi(n);Iw(t);var o=Ta([t[st.ExtraData][0],t[st.ExtraData][1]],i)||[];return Ta(o,e)||[]}(i,a,t),m=u.findIndex(function(R){if(Array.isArray(R)){var B=ne(R,2),J=B[0],me=B[1],we=s>=J.hours&&l>=J.minutes,Te=s0?Math.floor(a/60):Math.ceil(a/60);switch(n){case Br.Short:return(a>=0?"+":"")+Wa(s,2,o)+Wa(Math.abs(a%60),2,o);case Br.ShortGMT:return"GMT"+(a>=0?"+":"")+Wa(s,1,o);case Br.Long:return"GMT"+(a>=0?"+":"")+Wa(s,2,o)+":"+Wa(Math.abs(a%60),2,o);case Br.Extended:return 0===t?"Z":(a>=0?"+":"")+Wa(s,2,o)+":"+Wa(Math.abs(a%60),2,o);default:throw new Error('Unknown zone width "'.concat(n,'"'))}}}function dN(n){var i=Kh(n,0,1).getDay();return Kh(n,0,1+(i<=4?4:11)-i)}function Fw(n){return Kh(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function x_(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){var a;if(i){var o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();a=1+Math.floor((s+o)/7)}else{var l=Fw(e),u=dN(l.getFullYear()),f=l.getTime()-u.getTime();a=1+Math.round(f/6048e5)}return Wa(a,n,Da(t,gt.MinusSign))}}function Jh(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){return Wa(Fw(e).getFullYear(),n,Da(t,gt.MinusSign),i)}}var O_={};function Nw(n,i){n=n.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?i:e}function Yw(n){return n instanceof Date&&!isNaN(n.valueOf())}function jw(n,i){i=encodeURIComponent(i);var t,e=z(n.split(";"));try{for(e.s();!(t=e.n()).done;){var a=t.value,o=a.indexOf("="),l=ne(-1==o?[a,""]:[a.slice(0,o),a.slice(o+1)],2),f=l[1];if(l[0].trim()===i)return decodeURIComponent(f)}}catch(m){e.e(m)}finally{e.f()}return null}var mr=function(){var n=function(){function i(e,t,a,o){c(this,i),this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=a,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return d(i,[{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(_d(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var a=this._keyValueDiffer.diff(this._rawClass);a&&this._applyKeyValueChanges(a)}}},{key:"_applyKeyValueChanges",value:function(t){var a=this;t.forEachAddedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),t.forEachChangedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),t.forEachRemovedItem(function(o){o.previousValue&&a._toggleClass(o.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var a=this;t.forEachAddedItem(function(o){if("string"!=typeof o.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(ln(o.item)));a._toggleClass(o.item,!0)}),t.forEachRemovedItem(function(o){return a._toggleClass(o.item,!1)})}},{key:"_applyClasses",value:function(t){var a=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(o){return a._toggleClass(o,!0)}):Object.keys(t).forEach(function(o){return a._toggleClass(o,!!t[o])}))}},{key:"_removeClasses",value:function(t){var a=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(o){return a._toggleClass(o,!1)}):Object.keys(t).forEach(function(o){return a._toggleClass(o,!1)}))}},{key:"_toggleClass",value:function(t,a){var o=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(s){a?o._renderer.addClass(o._ngEl.nativeElement,s):o._renderer.removeClass(o._ngEl.nativeElement,s)})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Id),V(Rd),V(yt),V(_o))},n.\u0275dir=et({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n}(),EN=function(){function n(i,e,t,a){c(this,n),this.$implicit=i,this.ngForOf=e,this.index=t,this.count=a}return d(n,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),n}(),xr=function(){var n=function(){function i(e,t,a){c(this,i),this._viewContainer=e,this._template=t,this._differs=a,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return d(i,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){var a=this._differ.diff(this._ngForOf);a&&this._applyChanges(a)}}},{key:"_applyChanges",value:function(t){var a=this,o=this._viewContainer;t.forEachOperation(function(m,w,R){if(null==m.previousIndex)o.createEmbeddedView(a._template,new EN(m.item,a._ngForOf,-1,-1),null===R?void 0:R);else if(null==R)o.remove(null===w?void 0:w);else if(null!==w){var B=o.get(w);o.move(B,R),Uw(B,m)}});for(var s=0,l=o.length;s1&&void 0!==arguments[1]?arguments[1]:"mediumDate",o=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return Rw(t,a,s||this.locale,null!==(l=null!=o?o:this.defaultTimezone)&&void 0!==l?l:void 0)}catch(u){throw Ga()}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Bo,16),V(VN,24))},n.\u0275pipe=Kr({name:"date",type:n,pure:!0}),n}(),bo=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),$w="browser",n4=function(){var n=d(function i(){c(this,i)});return n.\u0275prov=Ue({token:n,providedIn:"root",factory:function(){return new r4(Le(xt),window)}}),n}(),r4=function(){function n(i,e){c(this,n),this.document=i,this.window=e,this.offset=function(){return[0,0]}}return d(n,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function a4(n,i){var e=n.getElementById(i)||n.getElementsByName(i)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow))for(var t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),a=t.currentNode;a;){var o=a.shadowRoot;if(o){var s=o.getElementById(i)||o.querySelector('[name="'.concat(i,'"]'));if(s)return s}a=t.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),a=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(a-s[0],o-s[1])}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=Qw(this.window.history)||Qw(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),n}();function Qw(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}var np,V_=d(function n(){c(this,n)}),o4=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments)).supportsDOMEvents=!0,t}return d(e)}(H3),s4=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"onAndCancel",value:function(a,o,s){return a.addEventListener(o,s,!1),function(){a.removeEventListener(o,s,!1)}}},{key:"dispatchEvent",value:function(a,o){a.dispatchEvent(o)}},{key:"remove",value:function(a){a.parentNode&&a.parentNode.removeChild(a)}},{key:"createElement",value:function(a,o){return(o=o||this.getDefaultDocument()).createElement(a)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(a){return a.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(a){return a instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(a,o){return"window"===o?window:"document"===o?a:"body"===o?a.body:null}},{key:"getBaseHref",value:function(a){var o=function l4(){return(Yd=Yd||document.querySelector("base"))?Yd.getAttribute("href"):null}();return null==o?null:function u4(n){(np=np||document.createElement("a")).setAttribute("href",n);var i=np.pathname;return"/"===i.charAt(0)?i:"/".concat(i)}(o)}},{key:"resetBaseElement",value:function(){Yd=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(a){return jw(document.cookie,a)}}],[{key:"makeCurrent",value:function(){!function Y3(n){zh||(zh=n)}(new e)}}]),e}(o4),Yd=null,Jw=new $e("TRANSITION_ID"),d4=[{provide:h_,useFactory:function c4(n,i,e){return function(){e.get(p_).donePromise.then(function(){for(var t=yo(),a=i.querySelectorAll('style[ng-transition="'.concat(n,'"]')),o=0;o1&&void 0!==arguments[1])||arguments[1],s=e.findTestabilityInTree(a,o);if(null==s)throw new Error("Could not find testability for element.");return s},wn.getAllAngularTestabilities=function(){return e.getAllTestabilities()},wn.getAllAngularRootElements=function(){return e.getAllRootElements()},wn.frameworkStabilizers||(wn.frameworkStabilizers=[]),wn.frameworkStabilizers.push(function(o){var s=wn.getAllAngularTestabilities(),l=s.length,u=!1,f=function(w){u=u||w,0==--l&&o(u)};s.forEach(function(m){m.whenStable(f)})})}},{key:"findTestabilityInTree",value:function(e,t,a){if(null==t)return null;var o=e.getTestability(t);return null!=o?o:a?yo().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){!function h3(n){b_=n}(new n)}}]),n}(),h4=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"build",value:function(){return new XMLHttpRequest}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),rp=new $e("EventManagerPlugins"),ip=function(){var n=function(){function i(e,t){var a=this;c(this,i),this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(o){return o.manager=a}),this._plugins=e.slice().reverse()}return d(i,[{key:"addEventListener",value:function(t,a,o){return this._findPluginFor(a).addEventListener(t,a,o)}},{key:"addGlobalEventListener",value:function(t,a,o){return this._findPluginFor(a).addGlobalEventListener(t,a,o)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var a=this._eventNameToPlugin.get(t);if(a)return a;for(var o=this._plugins,s=0;s-1&&(s.splice(R,1),f+=w+".")}),f+=u,0!=s.length||0===u.length)return null;var m={};return m.domEventName=l,m.fullKey=f,m}},{key:"getEventFullKey",value:function(o){var s="",l=function D4(n){var i=n.key;if(null==i){if(null==(i=n.keyIdentifier))return"Unidentified";i.startsWith("U+")&&(i=String.fromCharCode(parseInt(i.substring(2),16)),3===n.location&&sS.hasOwnProperty(i)&&(i=sS[i]))}return C4[i]||i}(o);return" "===(l=l.toLowerCase())?l="space":"."===l&&(l="dot"),oS.forEach(function(u){u!=l&&(0,w4[u])(o)&&(s+=u+".")}),s+=l}},{key:"eventCallback",value:function(o,s,l){return function(u){t.getEventFullKey(u)===o&&l.runGuarded(function(){return s(u)})}}},{key:"_normalizeKey",value:function(o){return"esc"===o?"escape":o}}]),t}(Xw);return n.\u0275fac=function(e){return new(e||n)(Le(xt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),P4=[{provide:Ad,useValue:$w},{provide:rw,useValue:function T4(){s4.makeCurrent(),f4.init()},multi:!0},{provide:xt,useFactory:function E4(){return function qf(n){Kl=n}(document),document},deps:[]}],x4=fw(R3,"browser",P4),O4=[{provide:Fg,useValue:"root"},{provide:ks,useFactory:function L4(){return new ks},deps:[]},{provide:rp,useClass:k4,multi:!0,deps:[xt,bt,Ad]},{provide:rp,useClass:S4,multi:!0,deps:[xt]},{provide:op,useClass:op,deps:[ip,Hd,Od]},{provide:Dd,useExisting:op},{provide:eS,useExisting:Hd},{provide:Hd,useClass:Hd,deps:[xt]},{provide:y_,useClass:y_,deps:[bt]},{provide:ip,useClass:ip,deps:[rp,bt]},{provide:V_,useClass:h4,deps:[]}],lS=function(){var n=function(){function i(e){if(c(this,i),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return d(i,null,[{key:"withServerTransition",value:function(t){return{ngModule:i,providers:[{provide:Od,useValue:t.appId},{provide:Jw,useExisting:Od},d4]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(n,12))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:O4,imports:[bo,F3]}),n}();"undefined"!=typeof window&&window;var G_=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:function(e){return e?new(e||n):Le(dS)},providedIn:"root"}),n}(),dS=function(){var n=function(i){h(t,i);var e=y(t);function t(a){var o;return c(this,t),(o=e.call(this))._doc=a,o}return d(t,[{key:"sanitize",value:function(o,s){if(null==s)return null;switch(o){case bn.NONE:return s;case bn.HTML:return fo(s,"HTML")?ia(s):f0(this._doc,String(s)).toString();case bn.STYLE:return fo(s,"Style")?ia(s):s;case bn.SCRIPT:if(fo(s,"Script"))return ia(s);throw new Error("unsafe value used in a script context");case bn.URL:return r0(s),fo(s,"URL")?ia(s):ud(String(s));case bn.RESOURCE_URL:if(fo(s,"ResourceURL"))return ia(s);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(o," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(o){return function ix(n){return new XP(n)}(o)}},{key:"bypassSecurityTrustStyle",value:function(o){return function ax(n){return new ex(n)}(o)}},{key:"bypassSecurityTrustScript",value:function(o){return function ox(n){return new tx(n)}(o)}},{key:"bypassSecurityTrustUrl",value:function(o){return function sx(n){return new nx(n)}(o)}},{key:"bypassSecurityTrustResourceUrl",value:function(o){return function lx(n){return new rx(n)}(o)}}]),t}(G_);return n.\u0275fac=function(e){return new(e||n)(Le(xt))},n.\u0275prov=Ue({token:n,factory:function(e){var t;return t=e?new e:function B4(n){return new dS(n.get(xt))}(Le(Un)),t},providedIn:"root"}),n}(),fS=d(function n(){c(this,n)}),V4=d(function n(){c(this,n)}),Uo="*";function zo(n,i){return{type:7,name:n,definitions:i,options:{}}}function Ai(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:i,timings:n}}function hS(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:n,options:i}}function kn(n){return{type:6,styles:n,offset:null}}function Ii(n,i,e){return{type:0,name:n,styles:i,options:e}}function j4(n){return{type:5,steps:n}}function gi(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:n,animation:i,options:e}}function U4(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:n}}function z4(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:n,animation:i,options:e}}function pS(n){Promise.resolve(null).then(n)}var Bd=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c(this,n),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=i+e}return d(n,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;pS(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(a){return a()}),t.length=0}}]),n}(),vS=function(){function n(i){var e=this;c(this,n),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;var t=0,a=0,o=0,s=this.players.length;0==s?pS(function(){return e._onFinish()}):this.players.forEach(function(l){l.onDone(function(){++t==s&&e._onFinish()}),l.onDestroy(function(){++a==s&&e._onDestroy()}),l.onStart(function(){++o==s&&e._onStart()})}),this.totalTime=this.players.reduce(function(l,u){return Math.max(l,u.totalTime)},0)}return d(n,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(a){var o=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(o)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(t,a){return null===t||a.totalTime>t.totalTime?a:t},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(a){return a()}),t.length=0}}]),n}(),nn=!1;function mS(n){return new dt(3e3,nn)}function f5(n){return new dt(3502,nn)}function p5(){return new dt(3300,nn)}function v5(n){return new dt(3504,nn)}function C5(){return"undefined"!=typeof window&&void 0!==window.document}function K_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ls(n){switch(n.length){case 0:return new Bd;case 1:return n[0];default:return new vS(n)}}function gS(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],l=[],u=-1,f=null;if(t.forEach(function(m){var w=m.offset,R=w==u,B=R&&f||{};Object.keys(m).forEach(function(J){var me=J,we=m[J];if("offset"!==J)switch(me=i.normalizePropertyName(me,s),we){case"!":we=a[J];break;case Uo:we=o[J];break;default:we=i.normalizeStyleValue(J,me,we,s)}B[me]=we}),R||l.push(B),f=B,u=w}),s.length)throw f5();return l}function Z_(n,i,e,t){switch(i){case"start":n.onStart(function(){return t(e&&$_(e,"start",n))});break;case"done":n.onDone(function(){return t(e&&$_(e,"done",n))});break;case"destroy":n.onDestroy(function(){return t(e&&$_(e,"destroy",n))})}}function $_(n,i,e){var t=e.totalTime,o=Q_(n.element,n.triggerName,n.fromState,n.toState,i||n.phaseName,null==t?n.totalTime:t,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function Q_(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:n,triggerName:i,fromState:e,toState:t,phaseName:a,totalTime:o,disabled:!!s}}function ua(n,i,e){var t;return n instanceof Map?(t=n.get(i))||n.set(i,t=e):(t=n[i])||(t=n[i]=e),t}function _S(n){var i=n.indexOf(":");return[n.substring(1,i),n.substr(i+1)]}var J_=function(i,e){return!1},yS=function(i,e,t){return[]},bS=null;function X_(n){var i=n.parentNode||n.host;return i===bS?null:i}(K_()||"undefined"!=typeof Element)&&(C5()?(bS=function(){return document.documentElement}(),J_=function(i,e){for(;e;){if(e===i)return!0;e=X_(e)}return!1}):J_=function(i,e){return i.contains(e)},yS=function(i,e,t){if(t)return Array.from(i.querySelectorAll(e));var a=i.querySelector(e);return a?[a]:[]});var al=null,kS=!1;function MS(n){al||(al=function D5(){return"undefined"!=typeof document?document.body:null}()||{},kS=!!al.style&&"WebkitAppearance"in al.style);var i=!0;return al.style&&!function S5(n){return"ebkit"==n.substring(1,6)}(n)&&!(i=n in al.style)&&kS&&(i="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in al.style),i}var CS=J_,wS=yS,SS=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"validateStyleProperty",value:function(t){return MS(t)}},{key:"matchesElement",value:function(t,a){return!1}},{key:"containsElement",value:function(t,a){return CS(t,a)}},{key:"getParentElement",value:function(t){return X_(t)}},{key:"query",value:function(t,a,o){return wS(t,a,o)}},{key:"computeStyle",value:function(t,a,o){return o||""}},{key:"animate",value:function(t,a,o,s,l){return new Bd(o,s)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ey=function(){var n=d(function i(){c(this,i)});return n.NOOP=new SS,n}(),TS="ng-enter",ty="ng-leave",lp="ng-trigger",up=".ng-trigger",LS="ng-animating",ny=".ng-animating";function ol(n){if("number"==typeof n)return n;var i=n.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:ry(parseFloat(i[1]),i[2])}function ry(n,i){return"s"===i?1e3*n:n}function cp(n,i,e){return n.hasOwnProperty("duration")?n:function E5(n,i,e){var a,o=0,s="";if("string"==typeof n){var l=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return i.push(mS()),{duration:0,delay:0,easing:""};a=ry(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(o=ry(parseFloat(u),l[4]));var f=l[5];f&&(s=f)}else a=n;if(!e){var m=!1,w=i.length;a<0&&(i.push(function W4(){return new dt(3100,nn)}()),m=!0),o<0&&(i.push(function G4(){return new dt(3101,nn)}()),m=!0),m&&i.splice(w,0,mS())}return{duration:a,delay:o,easing:s}}(n,i,e)}function ju(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(n).forEach(function(e){i[e]=n[e]}),i}function Es(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i)for(var t in n)e[t]=n[t];else ju(n,e);return e}function ES(n,i,e){return e?i+":"+e+";":""}function PS(n){for(var i="",e=0;e *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(n,e);if("function"==typeof t)return void i.push(t);n=t}var a=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return e.push(function u5(n){return new dt(3015,nn)}()),i;var o=a[1],s=a[2],l=a[3];i.push(AS(o,l)),"<"==s[0]&&!("*"==o&&"*"==l)&&i.push(AS(l,o))}(t,e,i)}):e.push(n),e}var mp=new Set(["true","1"]),gp=new Set(["false","0"]);function AS(n,i){var e=mp.has(n)||gp.has(n),t=mp.has(i)||gp.has(i);return function(a,o){var s="*"==n||n==a,l="*"==i||i==o;return!s&&e&&"boolean"==typeof a&&(s=a?mp.has(n):gp.has(n)),!l&&t&&"boolean"==typeof o&&(l=o?mp.has(i):gp.has(i)),s&&l}}var B5=new RegExp("s*".concat(":self","s*,?"),"g");function RS(n,i,e,t){return new V5(n).build(i,e,t)}var V5=function(){function n(i){c(this,n),this._driver=i}return d(n,[{key:"build",value:function(e,t,a){var o=new z5(t);this._resetContextStyleTimingState(o);var s=ca(this,Vd(e),o);return o.unsupportedCSSPropertiesFound.size&&ae(o.unsupportedCSSPropertiesFound.keys()),s}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var a=this,o=t.queryCount=0,s=t.depCount=0,l=[],u=[];return"@"==e.name.charAt(0)&&t.errors.push(function Q4(){return new dt(3006,nn)}()),e.definitions.forEach(function(f){if(a._resetContextStyleTimingState(t),0==f.type){var m=f,w=m.name;w.toString().split(/\s*,\s*/).forEach(function(B){m.name=B,l.push(a.visitState(m,t))}),m.name=w}else if(1==f.type){var R=a.visitTransition(f,t);o+=R.queryCount,s+=R.depCount,u.push(R)}else t.errors.push(function J4(){return new dt(3007,nn)}())}),{type:7,name:e.name,states:l,transitions:u,queryCount:o,depCount:s,options:null}}},{key:"visitState",value:function(e,t){var a=this.visitStyle(e.styles,t),o=e.options&&e.options.params||null;if(a.containsDynamicStyles){var s=new Set,l=o||{};a.styles.forEach(function(f){if(_p(f)){var m=f;Object.keys(m).forEach(function(w){xS(m[w]).forEach(function(R){l.hasOwnProperty(R)||s.add(R)})})}}),s.size&&(fp(s.values()),t.errors.push(function X4(n,i){return new dt(3008,nn)}()))}return{type:0,name:e.name,style:a,options:o?{params:o}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var a=ca(this,Vd(e.animation),t);return{type:1,matchers:N5(e.expr,t.errors),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:ll(e.options)}}},{key:"visitSequence",value:function(e,t){var a=this;return{type:2,steps:e.steps.map(function(o){return ca(a,o,t)}),options:ll(e.options)}}},{key:"visitGroup",value:function(e,t){var a=this,o=t.currentTime,s=0,l=e.steps.map(function(u){t.currentTime=o;var f=ca(a,u,t);return s=Math.max(s,t.currentTime),f});return t.currentTime=s,{type:3,steps:l,options:ll(e.options)}}},{key:"visitAnimate",value:function(e,t){var a=function G5(n,i){var e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return oy(cp(n,i).duration,0,"");var a=n,o=a.split(/\s+/).some(function(l){return"{"==l.charAt(0)&&"{"==l.charAt(1)});if(o){var s=oy(0,0,"");return s.dynamic=!0,s.strValue=a,s}return oy((e=e||cp(a,i)).duration,e.delay,e.easing)}(e.timings,t.errors);t.currentAnimateTimings=a;var o,s=e.styles?e.styles:kn({});if(5==s.type)o=this.visitKeyframes(s,t);else{var l=e.styles,u=!1;if(!l){u=!0;var f={};a.easing&&(f.easing=a.easing),l=kn(f)}t.currentTime+=a.duration+a.delay;var m=this.visitStyle(l,t);m.isEmptyStep=u,o=m}return t.currentAnimateTimings=null,{type:4,timings:a,style:o,options:null}}},{key:"visitStyle",value:function(e,t){var a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}},{key:"_makeStyleAst",value:function(e,t){var a=[];Array.isArray(e.styles)?e.styles.forEach(function(l){"string"==typeof l?l==Uo?a.push(l):t.errors.push(function e5(n){return new dt(3002,nn)}()):a.push(l)}):a.push(e.styles);var o=!1,s=null;return a.forEach(function(l){if(_p(l)){var u=l,f=u.easing;if(f&&(s=f,delete u.easing),!o)for(var m in u)if(u[m].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:a,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}},{key:"_validateStyleAst",value:function(e,t){var a=this,o=t.currentAnimateTimings,s=t.currentTime,l=t.currentTime;o&&l>0&&(l-=o.duration+o.delay),e.styles.forEach(function(u){"string"!=typeof u&&Object.keys(u).forEach(function(f){if(!a._driver.validateStyleProperty(f))return delete u[f],void t.unsupportedCSSPropertiesFound.add(f);var m=t.collectedStyles[t.currentQuerySelector],w=m[f],R=!0;w&&(l!=s&&l>=w.startTime&&s<=w.endTime&&(t.errors.push(function t5(n,i,e,t,a){return new dt(3010,nn)}()),R=!1),l=w.startTime),R&&(m[f]={startTime:l,endTime:s}),t.options&&function P5(n,i,e){var t=i.params||{},a=xS(n);a.length&&a.forEach(function(o){t.hasOwnProperty(o)||e.push(function q4(n){return new dt(3001,nn)}())})}(u[f],t.options,t.errors)})})}},{key:"visitKeyframes",value:function(e,t){var a=this,o={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function n5(){return new dt(3011,nn)}()),o;var l=0,u=[],f=!1,m=!1,w=0,R=e.steps.map(function(Fe){var Ye=a._makeStyleAst(Fe,t),ze=null!=Ye.offset?Ye.offset:function W5(n){if("string"==typeof n)return null;var i=null;if(Array.isArray(n))n.forEach(function(t){if(_p(t)&&t.hasOwnProperty("offset")){var a=t;i=parseFloat(a.offset),delete a.offset}});else if(_p(n)&&n.hasOwnProperty("offset")){var e=n;i=parseFloat(e.offset),delete e.offset}return i}(Ye.styles),rt=0;return null!=ze&&(l++,rt=Ye.offset=ze),m=m||rt<0||rt>1,f=f||rt0&&l0?Ye==me?1:J*Ye:u[Ye],rt=ze*pe;t.currentTime=we+Te.delay+rt,Te.duration=rt,a._validateStyleAst(Fe,t),Fe.offset=ze,o.styles.push(Fe)}),o}},{key:"visitReference",value:function(e,t){return{type:8,animation:ca(this,Vd(e.animation),t),options:ll(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ll(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ll(e.options)}}},{key:"visitQuery",value:function(e,t){var a=t.currentQuerySelector,o=e.options||{};t.queryCount++,t.currentQuery=e;var s=function j5(n){var i=!!n.split(/\s*,\s*/).find(function(e){return":self"==e});return i&&(n=n.replace(B5,"")),n=n.replace(/@\*/g,up).replace(/@\w+/g,function(e){return up+"-"+e.substr(1)}).replace(/:animating/g,ny),[n,i]}(e.selector),l=ne(s,2),u=l[0],f=l[1];t.currentQuerySelector=a.length?a+" "+u:u,ua(t.collectedStyles,t.currentQuerySelector,{});var m=ca(this,Vd(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:11,selector:u,limit:o.limit||0,optional:!!o.optional,includeSelf:f,animation:m,originalSelector:e.selector,options:ll(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push(function s5(){return new dt(3013,nn)}());var a="full"===e.timings?{duration:0,delay:0,easing:"full"}:cp(e.timings,t.errors,!0);return{type:12,animation:ca(this,Vd(e.animation),t),timings:a,options:null}}}]),n}(),z5=d(function n(i){c(this,n),this.errors=i,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set});function _p(n){return!Array.isArray(n)&&"object"==typeof n}function ll(n){return n?(n=ju(n)).params&&(n.params=function U5(n){return n?ju(n):null}(n.params)):n={},n}function oy(n,i,e){return{duration:n,delay:i,easing:e}}function sy(n,i,e,t,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:n,keyframes:i,preStyleProps:e,postStyleProps:t,duration:a,delay:o,totalTime:a+o,easing:s,subTimeline:l}}var ly=function(){function n(){c(this,n),this._map=new Map}return d(n,[{key:"get",value:function(e){return this._map.get(e)||[]}},{key:"append",value:function(e,t){var a,o=this._map.get(e);o||this._map.set(e,o=[]),(a=o).push.apply(a,ae(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),n}(),Z5=new RegExp(":enter","g"),Q5=new RegExp(":leave","g");function NS(n,i,e,t,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,f=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new J5).buildKeyframes(n,i,e,t,a,o,s,l,u,f)}var J5=function(){function n(){c(this,n)}return d(n,[{key:"buildKeyframes",value:function(e,t,a,o,s,l,u,f,m){var w=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];m=m||new ly;var R=new X5(e,t,m,o,s,w,[]);R.options=f,R.currentTimeline.setStyles([l],null,R.errors,f),ca(this,a,R);var B=R.timelines.filter(function(Te){return Te.containsAnimation()});if(Object.keys(u).length){for(var J,me=B.length-1;me>=0;me--){var we=B[me];if(we.element===t){J=we;break}}J&&!J.allowOnlyTimelineStyles()&&J.setStyles([u],null,R.errors,f)}return B.length?B.map(function(Te){return Te.buildKeyframes()}):[sy(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var a=t.subInstructions.get(t.element);if(a){var o=t.createSubContext(e.options),s=t.currentTimeline.currentTime,l=this._visitSubInstructions(a,o,o.options);s!=l&&t.transformIntoNewTimeline(l)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,a){var s=t.currentTimeline.currentTime,l=null!=a.duration?ol(a.duration):null,u=null!=a.delay?ol(a.delay):null;return 0!==l&&e.forEach(function(f){var m=t.appendInstructionToTimeline(f,l,u);s=Math.max(s,m.duration+m.delay)}),s}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),ca(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var a=this,o=t.subContextCount,s=t,l=e.options;if(l&&(l.params||l.delay)&&((s=t.createSubContext(l)).transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=yp);var u=ol(l.delay);s.delayNextStep(u)}e.steps.length&&(e.steps.forEach(function(f){return ca(a,f,s)}),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>o&&s.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var a=this,o=[],s=t.currentTimeline.currentTime,l=e.options&&e.options.delay?ol(e.options.delay):0;e.steps.forEach(function(u){var f=t.createSubContext(e.options);l&&f.delayNextStep(l),ca(a,u,f),s=Math.max(s,f.currentTimeline.currentTime),o.push(f.currentTimeline)}),o.forEach(function(u){return t.currentTimeline.mergeTimelineCollectedStyles(u)}),t.transformIntoNewTimeline(s),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var a=e.strValue;return cp(t.params?dp(a,t.params,t.errors):a,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var a=t.currentAnimateTimings=this._visitTiming(e.timings,t),o=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),o.snapshotCurrentStyles());var s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(a.duration),this.visitStyle(s,t),o.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var a=t.currentTimeline,o=t.currentAnimateTimings;!o&&a.getCurrentStyleProperties().length&&a.forwardFrame();var s=o&&o.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(s):a.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var a=t.currentAnimateTimings,o=t.currentTimeline.duration,s=a.duration,u=t.createSubContext().currentTimeline;u.easing=a.easing,e.styles.forEach(function(f){u.forwardTime((f.offset||0)*s),u.setStyles(f.styles,f.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(o+s),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var a=this,o=t.currentTimeline.currentTime,s=e.options||{},l=s.delay?ol(s.delay):0;l&&(6===t.previousNode.type||0==o&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=yp);var u=o,f=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=f.length;var m=null;f.forEach(function(w,R){t.currentQueryIndex=R;var B=t.createSubContext(e.options,w);l&&B.delayNextStep(l),w===t.element&&(m=B.currentTimeline),ca(a,e.animation,B),B.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,B.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(u),m&&(t.currentTimeline.mergeTimelineCollectedStyles(m),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var a=t.parentContext,o=t.currentTimeline,s=e.timings,l=Math.abs(s.duration),u=l*(t.currentQueryTotal-1),f=l*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":f=u-f;break;case"full":f=a.currentStaggerTime}var w=t.currentTimeline;f&&w.delayNextStep(f);var R=w.currentTime;ca(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=o.currentTime-R+(o.startTime-a.currentTimeline.startTime)}}]),n}(),yp={},X5=function(){function n(i,e,t,a,o,s,l,u){c(this,n),this._driver=i,this.element=e,this.subInstructions=t,this._enterClassName=a,this._leaveClassName=o,this.errors=s,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new YS(this._driver,e,0),l.push(this.currentTimeline)}return d(n,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var a=this;if(e){var o=e,s=this.options;null!=o.duration&&(s.duration=ol(o.duration)),null!=o.delay&&(s.delay=ol(o.delay));var l=o.params;if(l){var u=s.params;u||(u=this.options.params={}),Object.keys(l).forEach(function(f){(!t||!u.hasOwnProperty(f))&&(u[f]=dp(l[f],u,a.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var a=e.params={};Object.keys(t).forEach(function(o){a[o]=t[o]})}}return e}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,o=t||this.element,s=new n(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,a||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=yp,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,a){var o={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=a?a:0)+e.delay,easing:""},s=new eY(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,o,e.stretchStartingKeyframe);return this.timelines.push(s),o}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,a,o,s,l){var u=[];if(o&&u.push(this.element),e.length>0){e=(e=e.replace(Z5,"."+this._enterClassName)).replace(Q5,"."+this._leaveClassName);var m=this._driver.query(this.element,e,1!=a);0!==a&&(m=a<0?m.slice(m.length+a,m.length):m.slice(0,a)),u.push.apply(u,ae(m))}return!s&&0==u.length&&l.push(function l5(n){return new dt(3014,nn)}()),u}}]),n}(),YS=function(){function n(i,e,t,a){c(this,n),this._driver=i,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=a,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return d(n,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(a){t._backFill[a]=t._globalTimelineStyles[a]||Uo,t._currentKeyframe[a]=Uo}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,a,o){var s=this;t&&(this._previousKeyframe.easing=t);var l=o&&o.params||{},u=function tY(n,i){var t,e={};return n.forEach(function(a){"*"===a?(t=t||Object.keys(i)).forEach(function(o){e[o]=Uo}):Es(a,!1,e)}),e}(e,this._globalTimelineStyles);Object.keys(u).forEach(function(f){var m=dp(u[f],l,a);s._pendingStyles[f]=m,s._localTimelineStyles.hasOwnProperty(f)||(s._backFill[f]=s._globalTimelineStyles.hasOwnProperty(f)?s._globalTimelineStyles[f]:Uo),s._updateStyle(f,m)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,a=Object.keys(t);0!=a.length&&(this._pendingStyles={},a.forEach(function(o){e._currentKeyframe[o]=t[o]}),Object.keys(this._localTimelineStyles).forEach(function(o){e._currentKeyframe.hasOwnProperty(o)||(e._currentKeyframe[o]=e._localTimelineStyles[o])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var a=e._localTimelineStyles[t];e._pendingStyles[t]=a,e._updateStyle(t,a)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(a){var o=t._styleSummary[a],s=e._styleSummary[a];(!o||s.time>o.time)&&t._updateStyle(a,s.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,a=new Set,o=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(w,R){var B=Es(w,!0);Object.keys(B).forEach(function(J){var me=B[J];"!"==me?t.add(J):me==Uo&&a.add(J)}),o||(B.offset=R/e.duration),s.push(B)});var l=t.size?fp(t.values()):[],u=a.size?fp(a.values()):[];if(o){var f=s[0],m=ju(f);f.offset=0,m.offset=1,s=[f,m]}return sy(this.element,s,l,u,this.duration,this.startTime,this.easing,!1)}}]),n}(),eY=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l,u){var f,m=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return c(this,e),(f=i.call(this,t,a,u.delay)).keyframes=o,f.preStyleProps=s,f.postStyleProps=l,f._stretchStartingKeyframe=m,f.timings={duration:u.duration,delay:u.delay,easing:u.easing},f}return d(e,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var a=this.keyframes,o=this.timings,s=o.delay,l=o.duration,u=o.easing;if(this._stretchStartingKeyframe&&s){var f=[],m=l+s,w=s/m,R=Es(a[0],!1);R.offset=0,f.push(R);var B=Es(a[0],!1);B.offset=HS(w),f.push(B);for(var J=a.length-1,me=1;me<=J;me++){var we=Es(a[me],!1);we.offset=HS((s+we.offset*l)/m),f.push(we)}l=m,s=0,u="",a=f}return sy(this.element,a,this.preStyleProps,this.postStyleProps,l,s,u,!0)}}]),e}(YS);function HS(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,e=Math.pow(10,i-1);return Math.round(n*e)/e}var uy=d(function n(){c(this,n)}),nY=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"normalizePropertyName",value:function(a,o){return ay(a)}},{key:"normalizeStyleValue",value:function(a,o,s,l){var u="",f=s.toString().trim();if(rY[o]&&0!==s&&"0"!==s)if("number"==typeof s)u="px";else{var m=s.match(/^[+-]?[\d\.]+([a-z]*)$/);m&&0==m[1].length&&l.push(function $4(n,i){return new dt(3005,nn)}())}return f+u}}]),e}(uy),rY=function(){return function iY(n){var i={};return n.forEach(function(e){return i[e]=!0}),i}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","))}();function BS(n,i,e,t,a,o,s,l,u,f,m,w,R){return{type:0,element:n,triggerName:i,isRemovalTransition:a,fromState:e,fromStyles:o,toState:t,toStyles:s,timelines:l,queriedElements:u,preStyleProps:f,postStyleProps:m,totalTime:w,errors:R}}var cy={},VS=function(){function n(i,e,t){c(this,n),this._triggerName=i,this.ast=e,this._stateStyles=t}return d(n,[{key:"match",value:function(e,t,a,o){return function aY(n,i,e,t,a){return n.some(function(o){return o(i,e,t,a)})}(this.ast.matchers,e,t,a,o)}},{key:"buildStyles",value:function(e,t,a){var o=this._stateStyles["*"],s=this._stateStyles[e],l=o?o.buildStyles(t,a):{};return s?s.buildStyles(t,a):l}},{key:"build",value:function(e,t,a,o,s,l,u,f,m,w){var R=[],B=this.ast.options&&this.ast.options.params||cy,me=this.buildStyles(a,u&&u.params||cy,R),we=f&&f.params||cy,Te=this.buildStyles(o,we,R),pe=new Set,Fe=new Map,Ye=new Map,ze="void"===o,rt={params:Object.assign(Object.assign({},B),we)},mt=w?[]:NS(e,t,this.ast.animation,s,l,me,Te,rt,m,R),on=0;if(mt.forEach(function(rr){on=Math.max(rr.duration+rr.delay,on)}),R.length)return BS(t,this._triggerName,a,o,ze,me,Te,[],[],Fe,Ye,on,R);mt.forEach(function(rr){var ci=rr.element,eo=ua(Fe,ci,{});rr.preStyleProps.forEach(function(va){return eo[va]=!0});var is=ua(Ye,ci,{});rr.postStyleProps.forEach(function(va){return is[va]=!0}),ci!==t&&pe.add(ci)});var cr=fp(pe.values());return BS(t,this._triggerName,a,o,ze,me,Te,mt,cr,Fe,Ye,on)}}]),n}(),oY=function(){function n(i,e,t){c(this,n),this.styles=i,this.defaultParams=e,this.normalizer=t}return d(n,[{key:"buildStyles",value:function(e,t){var a=this,o={},s=ju(this.defaultParams);return Object.keys(e).forEach(function(l){var u=e[l];null!=u&&(s[l]=u)}),this.styles.styles.forEach(function(l){if("string"!=typeof l){var u=l;Object.keys(u).forEach(function(f){var m=u[f];m.length>1&&(m=dp(m,s,t));var w=a.normalizer.normalizePropertyName(f,t);m=a.normalizer.normalizeStyleValue(f,w,m,t),o[w]=m})}}),o}}]),n}(),lY=function(){function n(i,e,t){var a=this;c(this,n),this.name=i,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(function(o){a.states[o.name]=new oY(o.style,o.options&&o.options.params||{},t)}),jS(this.states,"true","1"),jS(this.states,"false","0"),e.transitions.forEach(function(o){a.transitionFactories.push(new VS(i,o,a.states))}),this.fallbackTransition=function uY(n,i,e){return new VS(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(s,l){return!0}],options:null,queryCount:0,depCount:0},i)}(i,this.states)}return d(n,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,a,o){return this.transitionFactories.find(function(l){return l.match(e,t,a,o)})||null}},{key:"matchStyles",value:function(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}}]),n}();function jS(n,i,e){n.hasOwnProperty(i)?n.hasOwnProperty(e)||(n[e]=n[i]):n.hasOwnProperty(e)&&(n[i]=n[e])}var cY=new ly,dY=function(){function n(i,e,t){c(this,n),this.bodyNode=i,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return d(n,[{key:"register",value:function(e,t){var a=[],s=RS(this._driver,t,a,[]);if(a.length)throw function h5(n){return new dt(3503,nn)}();this._animations[e]=s}},{key:"_buildPlayer",value:function(e,t,a){var o=e.element,s=gS(this._driver,this._normalizer,o,e.keyframes,t,a);return this._driver.animate(o,s,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var u,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],l=this._animations[e],f=new Map;if(l?(u=NS(this._driver,t,l,TS,ty,{},{},o,cY,s)).forEach(function(R){var B=ua(f,R.element,{});R.postStyleProps.forEach(function(J){return B[J]=null})}):(s.push(p5()),u=[]),s.length)throw v5();f.forEach(function(R,B){Object.keys(R).forEach(function(J){R[J]=a._driver.computeStyle(B,J,Uo)})});var m=u.map(function(R){var B=f.get(R.element);return a._buildPlayer(R,{},B)}),w=Ls(m);return this._playersById[e]=w,w.onDestroy(function(){return a.destroy(e)}),this.players.push(w),w}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw function m5(n){return new dt(3301,nn)}();return t}},{key:"listen",value:function(e,t,a,o){var s=Q_(t,"","","");return Z_(this._getPlayer(e),a,s,o),function(){}}},{key:"command",value:function(e,t,a,o){if("register"!=a)if("create"!=a){var l=this._getPlayer(e);switch(a){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,o[0]||{});else this.register(e,o[0])}}]),n}(),US="ng-animate-queued",dy="ng-animate-disabled",pY="ng-star-inserted",mY=[],zS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},gY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},La="__ng_removed",fy=function(){function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";c(this,n),this.namespaceId=e;var t=i&&i.hasOwnProperty("value"),a=t?i.value:i;if(this.value=kY(a),t){var o=ju(i);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return d(n,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var a=this.options.params;Object.keys(t).forEach(function(o){null==a[o]&&(a[o]=t[o])})}}}]),n}(),jd="void",hy=new fy(jd),_Y=function(){function n(i,e,t){c(this,n),this.id=i,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Ea(e,this._hostClassName)}return d(n,[{key:"listen",value:function(e,t,a,o){var s=this;if(!this._triggers.hasOwnProperty(t))throw function g5(n,i){return new dt(3302,nn)}();if(null==a||0==a.length)throw function _5(n){return new dt(3303,nn)}();if(!function MY(n){return"start"==n||"done"==n}(a))throw function y5(n,i){return new dt(3400,nn)}();var l=ua(this._elementListeners,e,[]),u={name:t,phase:a,callback:o};l.push(u);var f=ua(this._engine.statesByElement,e,{});return f.hasOwnProperty(t)||(Ea(e,lp),Ea(e,lp+"-"+t),f[t]=hy),function(){s._engine.afterFlush(function(){var m=l.indexOf(u);m>=0&&l.splice(m,1),s._triggers[t]||delete f[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw function b5(n){return new dt(3401,nn)}();return t}},{key:"trigger",value:function(e,t,a){var o=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=this._getTrigger(t),u=new py(this.id,t,e),f=this._engine.statesByElement.get(e);f||(Ea(e,lp),Ea(e,lp+"-"+t),this._engine.statesByElement.set(e,f={}));var m=f[t],w=new fy(a,this.id),R=a&&a.hasOwnProperty("value");!R&&m&&w.absorbOptions(m.options),f[t]=w,m||(m=hy);var B=w.value===jd;if(B||m.value!==w.value){var Te=ua(this._engine.playersByElement,e,[]);Te.forEach(function(Ye){Ye.namespaceId==o.id&&Ye.triggerName==t&&Ye.queued&&Ye.destroy()});var pe=l.matchTransition(m.value,w.value,e,w.params),Fe=!1;if(!pe){if(!s)return;pe=l.fallbackTransition,Fe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:pe,fromState:m,toState:w,player:u,isFallbackTransition:Fe}),Fe||(Ea(e,US),u.onStart(function(){Uu(e,US)})),u.onDone(function(){var Ye=o.players.indexOf(u);Ye>=0&&o.players.splice(Ye,1);var ze=o._engine.playersByElement.get(e);if(ze){var rt=ze.indexOf(u);rt>=0&&ze.splice(rt,1)}}),this.players.push(u),Te.push(u),u}if(!SY(m.params,w.params)){var J=[],me=l.matchStyles(m.value,m.params,J),we=l.matchStyles(w.value,w.params,J);J.length?this._engine.reportError(J):this._engine.afterFlush(function(){sl(e,me),ko(e,we)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(a,o){delete a[e]}),this._elementListeners.forEach(function(a,o){t._elementListeners.set(o,a.filter(function(s){return s.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(a){return a.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var a=this,o=this._engine.driver.query(e,up,!0);o.forEach(function(s){if(!s[La]){var l=a._engine.fetchNamespacesByElement(s);l.size?l.forEach(function(u){return u.triggerLeaveAnimation(s,t,!1,!0)}):a.clearElementCache(s)}}),this._engine.afterFlushAnimationsDone(function(){return o.forEach(function(s){return a.clearElementCache(s)})})}},{key:"triggerLeaveAnimation",value:function(e,t,a,o){var s=this,l=this._engine.statesByElement.get(e),u=new Map;if(l){var f=[];if(Object.keys(l).forEach(function(m){if(u.set(m,l[m].value),s._triggers[m]){var w=s.trigger(e,m,jd,o);w&&f.push(w)}}),f.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,u),a&&Ls(f).onDone(function(){return s._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,a=this._elementListeners.get(e),o=this._engine.statesByElement.get(e);if(a&&o){var s=new Set;a.forEach(function(l){var u=l.name;if(!s.has(u)){s.add(u);var m=t._triggers[u].fallbackTransition,w=o[u]||hy,R=new fy(jd),B=new py(t.id,u,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:u,transition:m,fromState:w,toState:R,player:B,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var a=this,o=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var s=!1;if(o.totalAnimations){var l=o.players.length?o.playersByQueriedElement.get(e):[];if(l&&l.length)s=!0;else for(var u=e;u=u.parentNode;)if(o.statesByElement.get(u)){s=!0;break}}if(this.prepareLeaveAnimationListeners(e),s)o.markElementAsRemoved(this.id,e,!1,t);else{var m=e[La];(!m||m===zS)&&(o.afterFlush(function(){return a.clearElementCache(e)}),o.destroyInnerAnimations(e),o._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Ea(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,a=[];return this._queue.forEach(function(o){var s=o.player;if(!s.destroyed){var l=o.element,u=t._elementListeners.get(l);u&&u.forEach(function(f){if(f.name==o.triggerName){var m=Q_(l,o.triggerName,o.fromState.value,o.toState.value);m._data=e,Z_(o.player,f.phase,m,f.callback)}}),s.markedForDestroy?t._engine.afterFlush(function(){s.destroy()}):a.push(o)}}),this._queue=[],a.sort(function(o,s){var l=o.transition.ast.depCount,u=s.transition.ast.depCount;return 0==l||0==u?l-u:t._engine.driver.containsElement(o.element,s.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(a){return a.element===e})||t}}]),n}(),yY=function(){function n(i,e,t){c(this,n),this.bodyNode=i,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(a,o){}}return d(n,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(a){a.queued&&e.push(a)})}),e}},{key:"createNamespace",value:function(e,t){var a=new _Y(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}},{key:"_balanceNamespaceList",value:function(e,t){var a=this._namespaceList,o=this.namespacesByHostElement,s=a.length-1;if(s>=0){var l=!1;if(void 0!==this.driver.getParentElement)for(var u=this.driver.getParentElement(t);u;){var f=o.get(u);if(f){var m=a.indexOf(f);a.splice(m+1,0,e),l=!0;break}u=this.driver.getParentElement(u)}else for(var w=s;w>=0;w--)if(this.driver.containsElement(a[w].hostElement,t)){a.splice(w+1,0,e),l=!0;break}l||a.unshift(e)}else a.push(e);return o.set(t,e),e}},{key:"register",value:function(e,t){var a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}},{key:"registerTrigger",value:function(e,t,a){var o=this._namespaceLookup[e];o&&o.register(t,a)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var a=this;if(e){var o=this._fetchNamespace(e);this.afterFlush(function(){a.namespacesByHostElement.delete(o.hostElement),delete a._namespaceLookup[e];var s=a._namespaceList.indexOf(o);s>=0&&a._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(function(){return o.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,a=this.statesByElement.get(e);if(a)for(var o=Object.keys(a),s=0;s=0&&this.collectedLeaveElements.splice(l,1)}if(e){var u=this._fetchNamespace(e);u&&u.insertNode(t,a)}o&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ea(e,dy)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Uu(e,dy))}},{key:"removeNode",value:function(e,t,a,o){if(bp(t)){var s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,o):this.markElementAsRemoved(e,t,!1,o),a){var l=this.namespacesByHostElement.get(t);l&&l.id!==e&&l.removeNode(t,o)}}else this._onRemovalComplete(t,o)}},{key:"markElementAsRemoved",value:function(e,t,a,o,s){this.collectedLeaveElements.push(t),t[La]={namespaceId:e,setForRemoval:o,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:s}}},{key:"listen",value:function(e,t,a,o,s){return bp(t)?this._fetchNamespace(e).listen(t,a,o,s):function(){}}},{key:"_buildInstruction",value:function(e,t,a,o,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,o,e.fromState.options,e.toState.options,t,s)}},{key:"destroyInnerAnimations",value:function(e){var t=this,a=this.driver.query(e,up,!0);a.forEach(function(o){return t.destroyActiveAnimationsForElement(o)}),0!=this.playersByQueriedElement.size&&(a=this.driver.query(e,ny,!0)).forEach(function(o){return t.finishActiveQueriedAnimationOnElement(o)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(a){a.queued?a.markedForDestroy=!0:a.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(a){return a.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return Ls(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var a,t=this,o=e[La];if(o&&o.setForRemoval){if(e[La]=zS,o.namespaceId){this.destroyInnerAnimations(e);var s=this._fetchNamespace(o.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,o.setForRemoval)}(null===(a=e.classList)||void 0===a?void 0:a.contains(dy))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(l){t.markElementAsDisabled(l,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,a=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(R,B){return e._balanceNamespaceList(R,B)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var o=0;o=0;eo--)this._namespaceList[eo].drainQueuedTransitions(t).forEach(function(ft){var At=ft.player,Bt=ft.element;if(rr.push(At),a.collectedEnterElements.length){var yr=Bt[La];if(yr&&yr.setForMove){if(yr.previousTriggersValues&&yr.previousTriggersValues.has(ft.triggerName)){var wc=yr.previousTriggersValues.get(ft.triggerName),Hs=a.statesByElement.get(ft.element);Hs&&Hs[ft.triggerName]&&(Hs[ft.triggerName].value=wc)}return void At.destroy()}}var xf=!B||!a.driver.containsElement(B,Bt),Rv=on.get(Bt),ik=we.get(Bt),ti=a._buildInstruction(ft,o,ik,Rv,xf);if(ti.errors&&ti.errors.length)ci.push(ti);else{if(xf)return At.onStart(function(){return sl(Bt,ti.fromStyles)}),At.onDestroy(function(){return ko(Bt,ti.toStyles)}),void s.push(At);if(ft.isFallbackTransition)return At.onStart(function(){return sl(Bt,ti.fromStyles)}),At.onDestroy(function(){return ko(Bt,ti.toStyles)}),void s.push(At);var Fv=[];ti.timelines.forEach(function(os){os.stretchStartingKeyframe=!0,a.disabledNodes.has(os.element)||Fv.push(os)}),ti.timelines=Fv,o.append(Bt,ti.timelines),u.push({instruction:ti,player:At,element:Bt}),ti.queriedElements.forEach(function(os){return ua(f,os,[]).push(At)}),ti.preStyleProps.forEach(function(os,Of){var Nv=Object.keys(os);if(Nv.length){var Ol=m.get(Of);Ol||m.set(Of,Ol=new Set),Nv.forEach(function(ak){return Ol.add(ak)})}}),ti.postStyleProps.forEach(function(os,Of){var Nv=Object.keys(os),Ol=w.get(Of);Ol||w.set(Of,Ol=new Set),Nv.forEach(function(ak){return Ol.add(ak)})})}});if(ci.length){var va=[];ci.forEach(function(ft){va.push(function M5(n,i){return new dt(3505,nn)}())}),rr.forEach(function(ft){return ft.destroy()}),this.reportError(va)}var as=new Map,Ys=new Map;u.forEach(function(ft){var At=ft.element;o.has(At)&&(Ys.set(At,At),a._beforeAnimationBuild(ft.player.namespaceId,ft.instruction,as))}),s.forEach(function(ft){var At=ft.element;a._getPreviousPlayers(At,!1,ft.namespaceId,ft.triggerName,null).forEach(function(yr){ua(as,At,[]).push(yr),yr.destroy()})});var fP=pe.filter(function(ft){return ZS(ft,m,w)}),Iv=new Map;GS(Iv,this.driver,Ye,w,Uo).forEach(function(ft){ZS(ft,m,w)&&fP.push(ft)});var Jb=new Map;me.forEach(function(ft,At){GS(Jb,a.driver,new Set(ft),m,"!")}),fP.forEach(function(ft){var At=Iv.get(ft),Bt=Jb.get(ft);Iv.set(ft,Object.assign(Object.assign({},At),Bt))});var Xb=[],hP=[],pP={};u.forEach(function(ft){var At=ft.element,Bt=ft.player,yr=ft.instruction;if(o.has(At)){if(R.has(At))return Bt.onDestroy(function(){return ko(At,yr.toStyles)}),Bt.disabled=!0,Bt.overrideTotalTime(yr.totalTime),void s.push(Bt);var wc=pP;if(Ys.size>1){for(var Hs=At,xf=[];Hs=Hs.parentNode;){var Rv=Ys.get(Hs);if(Rv){wc=Rv;break}xf.push(Hs)}xf.forEach(function(Fv){return Ys.set(Fv,wc)})}var ik=a._buildAnimation(Bt.namespaceId,yr,as,l,Jb,Iv);if(Bt.setRealPlayer(ik),wc===pP)Xb.push(Bt);else{var ti=a.playersByElement.get(wc);ti&&ti.length&&(Bt.parentPlayer=Ls(ti)),s.push(Bt)}}else sl(At,yr.fromStyles),Bt.onDestroy(function(){return ko(At,yr.toStyles)}),hP.push(Bt),R.has(At)&&s.push(Bt)}),hP.forEach(function(ft){var At=l.get(ft.element);if(At&&At.length){var Bt=Ls(At);ft.setRealPlayer(Bt)}}),s.forEach(function(ft){ft.parentPlayer?ft.syncPlayerEvents(ft.parentPlayer):ft.destroy()});for(var ek=0;ek0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new Bd(e.duration,e.delay)}}]),n}(),py=function(){function n(i,e,t){c(this,n),this.namespaceId=i,this.triggerName=e,this.element=t,this._player=new Bd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return d(n,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(a){t._queuedCallbacks[a].forEach(function(o){return Z_(e,a,void 0,o)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,a=this._player;a.triggerCallback&&e.onStart(function(){return a.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){ua(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),n}();function kY(n){return null!=n?n:null}function bp(n){return n&&1===n.nodeType}function WS(n,i){var e=n.style.display;return n.style.display=null!=i?i:"none",e}function GS(n,i,e,t,a){var o=[];e.forEach(function(u){return o.push(WS(u))});var s=[];t.forEach(function(u,f){var m={};u.forEach(function(w){var R=m[w]=i.computeStyle(f,w,a);(!R||0==R.length)&&(f[La]=gY,s.push(f))}),n.set(f,m)});var l=0;return e.forEach(function(u){return WS(u,o[l++])}),s}function qS(n,i){var e=new Map;if(n.forEach(function(l){return e.set(l,[])}),0==i.length)return e;var a=new Set(i),o=new Map;function s(l){if(!l)return 1;var u=o.get(l);if(u)return u;var f=l.parentNode;return u=e.has(f)?f:a.has(f)?1:s(f),o.set(l,u),u}return i.forEach(function(l){var u=s(l);1!==u&&e.get(u).push(l)}),e}function Ea(n,i){var e;null===(e=n.classList)||void 0===e||e.add(i)}function Uu(n,i){var e;null===(e=n.classList)||void 0===e||e.remove(i)}function CY(n,i,e){Ls(e).onDone(function(){return n.processLeaveNode(i)})}function KS(n,i){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),n}();function DY(n,i){var e=null,t=null;return Array.isArray(i)&&i.length?(e=vy(i[0]),i.length>1&&(t=vy(i[i.length-1]))):i&&(e=vy(i)),e||t?new TY(n,e,t):null}var TY=function(){var n=function(){function i(e,t,a){c(this,i),this._element=e,this._startStyles=t,this._endStyles=a,this._state=0;var o=i.initialStylesByElement.get(e);o||i.initialStylesByElement.set(e,o={}),this._initialStyles=o}return d(i,[{key:"start",value:function(){this._state<1&&(this._startStyles&&ko(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(ko(this._element,this._initialStyles),this._endStyles&&(ko(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(sl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sl(this._element,this._endStyles),this._endStyles=null),ko(this._element,this._initialStyles),this._state=3)}}]),i}();return n.initialStylesByElement=new WeakMap,n}();function vy(n){for(var i=null,e=Object.keys(n),t=0;t5&&void 0!==arguments[5]?arguments[5]:[],u=0==o?"both":"forwards",f={duration:a,delay:o,fill:u};s&&(f.easing=s);var m={},w=l.filter(function(B){return B instanceof $S});A5(a,o)&&w.forEach(function(B){var J=B.currentSnapshot;Object.keys(J).forEach(function(me){return m[me]=J[me]})});var R=DY(e,t=I5(e,t=t.map(function(B){return Es(B,!1)}),m));return new $S(e,t,f,R)}}]),n}(),PY=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._nextAnimationId=0,s._renderer=a.createRenderer(o.body,{id:"0",encapsulation:ea.None,styles:[],data:{animation:[]}}),s}return d(t,[{key:"build",value:function(o){var s=this._nextAnimationId.toString();this._nextAnimationId++;var l=Array.isArray(o)?hS(o):o;return QS(this._renderer,null,s,"register",[l]),new xY(s,this._renderer)}}]),t}(fS);return n.\u0275fac=function(e){return new(e||n)(Le(Dd),Le(xt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),xY=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this))._id=t,o._renderer=a,o}return d(e,[{key:"create",value:function(a,o){return new OY(this._id,a,o||{},this._renderer)}}]),e}(V4),OY=function(){function n(i,e,t,a){c(this,n),this.id=i,this.element=e,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}return d(n,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o=0&&t3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,o)}},{key:"removeChild",value:function(e,t,a){this.engine.onRemove(this.namespaceId,t,this.delegate,a)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,a,o){this.delegate.setAttribute(e,t,a,o)}},{key:"removeAttribute",value:function(e,t,a){this.delegate.removeAttribute(e,t,a)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,a,o){this.delegate.setStyle(e,t,a,o)}},{key:"removeStyle",value:function(e,t,a){this.delegate.removeStyle(e,t,a)}},{key:"setProperty",value:function(e,t,a){"@"==t.charAt(0)&&t==JS?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,a){return this.delegate.listen(e,t,a)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),n}(),IY=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,a,o,s)).factory=t,l.namespaceId=a,l}return d(e,[{key:"setProperty",value:function(a,o,s){"@"==o.charAt(0)?"."==o.charAt(1)&&o==JS?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,o.substr(1),s):this.delegate.setProperty(a,o,s)}},{key:"listen",value:function(a,o,s){var l=this;if("@"==o.charAt(0)){var u=function RY(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(a),f=o.substr(1),m="";if("@"!=f.charAt(0)){var w=function FY(n){var i=n.indexOf(".");return[n.substring(0,i),n.substr(i+1)]}(f),R=ne(w,2);f=R[0],m=R[1]}return this.engine.listen(this.namespaceId,u,f,m,function(B){l.factory.scheduleListenerCallback(B._data||-1,s,B)})}return this.delegate.listen(a,o,s)}}]),e}(XS),NY=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){return c(this,t),e.call(this,a.body,o,s)}return d(t,[{key:"ngOnDestroy",value:function(){this.flush()}}]),t}(kp);return n.\u0275fac=function(e){return new(e||n)(Le(xt),Le(ey),Le(uy))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),_i=new $e("AnimationModuleType"),eD=[{provide:fS,useClass:PY},{provide:uy,useFactory:function YY(){return new nY}},{provide:kp,useClass:NY},{provide:Dd,useFactory:function HY(n,i,e){return new AY(n,i,e)},deps:[op,kp,bt]}],tD=[{provide:ey,useFactory:function(){return new EY}},{provide:_i,useValue:"BrowserAnimations"}].concat(eD),BY=[{provide:ey,useClass:SS},{provide:_i,useValue:"NoopAnimations"}].concat(eD),VY=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"withConfig",value:function(t){return{ngModule:i,providers:t.disableAnimations?BY:tD}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:tD,imports:[lS]}),n}();function Je(){for(var n=arguments.length,i=new Array(n),e=0;e0){var o=t.slice(0,a),s=o.toLowerCase(),l=t.slice(a+1).trim();e.maybeSetNormalizedName(o,s),e.headers.has(s)?e.headers.get(s).push(l):e.headers.set(s,[l])}})}:function(){e.headers=new Map,Object.keys(i).forEach(function(t){var a=i[t],o=t.toLowerCase();"string"==typeof a&&(a=[a]),a.length>0&&(e.headers.set(o,a),e.maybeSetNormalizedName(t,o))})}:this.headers=new Map}return d(n,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(a){t.headers.set(a,e.headers.get(a)),t.normalizedNames.set(a,e.normalizedNames.get(a))})}},{key:"clone",value:function(e){var t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var a=e.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(e.name,t);var o=("a"===e.op?this.headers.get(t):void 0)||[];o.push.apply(o,ae(a)),this.headers.set(t,o);break;case"d":var s=e.value;if(s){var l=this.headers.get(t);if(!l)return;0===(l=l.filter(function(u){return-1===s.indexOf(u)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,l)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(a){return e(t.normalizedNames.get(a),t.headers.get(a))})}}]),n}(),zY=function(){function n(){c(this,n)}return d(n,[{key:"encodeKey",value:function(e){return iD(e)}},{key:"encodeValue",value:function(e){return iD(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),n}();function WY(n,i){var e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(function(a){var o=a.indexOf("="),l=ne(-1==o?[i.decodeKey(a),""]:[i.decodeKey(a.slice(0,o)),i.decodeValue(a.slice(o+1))],2),u=l[0],f=l[1],m=e.get(u)||[];m.push(f),e.set(u,m)}),e}var GY=/%(\d[a-f0-9])/gi,qY={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function iD(n){return encodeURIComponent(n).replace(GY,function(i,e){var t;return null!==(t=qY[e])&&void 0!==t?t:i})}function aD(n){return"".concat(n)}var Gu=function(){function n(){var i=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,n),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new zY,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=WY(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var a=e.fromObject[t];i.map.set(t,Array.isArray(a)?a:[a])})):this.map=null}return d(n,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(a){var o=e[a];Array.isArray(o)?o.forEach(function(s){t.push({param:a,value:s,op:"a"})}):t.push({param:a,value:o,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var a=e.encoder.encodeKey(t);return e.map.get(t).map(function(o){return a+"="+e.encoder.encodeValue(o)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var a=("a"===t.op?e.map.get(t.param):void 0)||[];a.push(aD(t.value)),e.map.set(t.param,a);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var o=e.map.get(t.param)||[],s=o.indexOf(aD(t.value));-1!==s&&o.splice(s,1),o.length>0?e.map.set(t.param,o):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),n}(),KY=function(){function n(){c(this,n),this.map=new Map}return d(n,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"has",value:function(e){return this.map.has(e)}},{key:"keys",value:function(){return this.map.keys()}}]),n}();function oD(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function sD(n){return"undefined"!=typeof Blob&&n instanceof Blob}function lD(n){return"undefined"!=typeof FormData&&n instanceof FormData}var my=function(){function n(i,e,t,a){var o;if(c(this,n),this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.toUpperCase(),function ZY(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==t?t:null,o=a):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Wu),this.context||(this.context=new KY),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{var l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l0&&void 0!==arguments[0]?arguments[0]:{},a=e.method||this.method,o=e.url||this.url,s=e.responseType||this.responseType,l=void 0!==e.body?e.body:this.body,u=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,f=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,m=e.headers||this.headers,w=e.params||this.params,R=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(m=Object.keys(e.setHeaders).reduce(function(B,J){return B.set(J,e.setHeaders[J])},m)),e.setParams&&(w=Object.keys(e.setParams).reduce(function(B,J){return B.set(J,e.setParams[J])},w)),new n(a,o,l,{params:w,headers:m,context:R,reportProgress:f,responseType:s,withCredentials:u})}}]),n}(),Or=function(){return(Or=Or||{})[Or.Sent=0]="Sent",Or[Or.UploadProgress=1]="UploadProgress",Or[Or.ResponseHeader=2]="ResponseHeader",Or[Or.DownloadProgress=3]="DownloadProgress",Or[Or.Response=4]="Response",Or[Or.User=5]="User",Or}(),gy=d(function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";c(this,n),this.headers=i.headers||new Wu,this.status=void 0!==i.status?i.status:e,this.statusText=i.statusText||t,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}),QY=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,e),(t=i.call(this,a)).type=Or.ResponseHeader,t}return d(e,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),e}(gy),uD=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,e),(t=i.call(this,a)).type=Or.Response,t.body=void 0!==a.body?a.body:null,t}return d(e,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),e}(gy),cD=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",a.ok=!1,a.message=a.status>=200&&a.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),a.error=t.error||null,a}return d(e)}(gy);function _y(n,i){return{body:i,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var ul=function(){var n=function(){function i(e){c(this,i),this.handler=e}return d(i,[{key:"request",value:function(t,a){var l,o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof my)l=t;else{var u=void 0;u=s.headers instanceof Wu?s.headers:new Wu(s.headers);var f=void 0;s.params&&(f=s.params instanceof Gu?s.params:new Gu({fromObject:s.params})),l=new my(t,a,void 0!==s.body?s.body:null,{headers:u,context:s.context,params:f,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}var m=Je(l).pipe(zu(function(R){return o.handler.handle(R)}));if(t instanceof my||"events"===s.observe)return m;var w=m.pipe(Vr(function(R){return R instanceof uD}));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return w.pipe(qe(function(R){if(null!==R.body&&!(R.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return R.body}));case"blob":return w.pipe(qe(function(R){if(null!==R.body&&!(R.body instanceof Blob))throw new Error("Response is not a Blob.");return R.body}));case"text":return w.pipe(qe(function(R){if(null!==R.body&&"string"!=typeof R.body)throw new Error("Response is not a string.");return R.body}));default:return w.pipe(qe(function(R){return R.body}))}case"response":return w;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,a)}},{key:"get",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,a)}},{key:"head",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,a)}},{key:"jsonp",value:function(t,a){return this.request("JSONP",t,{params:(new Gu).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,a)}},{key:"patch",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,_y(o,a))}},{key:"post",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,_y(o,a))}},{key:"put",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,_y(o,a))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(nD))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),dD=function(){function n(i,e){c(this,n),this.next=i,this.interceptor=e}return d(n,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),n}(),fD=new $e("HTTP_INTERCEPTORS"),JY=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"intercept",value:function(t,a){return a.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),XY=/^\)\]\}',?\n/,hD=function(){var n=function(){function i(e){c(this,i),this.xhrFactory=e}return d(i,[{key:"handle",value:function(t){var a=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new fe(function(o){var s=a.xhrFactory.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach(function(Te,pe){return s.setRequestHeader(Te,pe.join(","))}),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var l=t.detectContentTypeHeader();null!==l&&s.setRequestHeader("Content-Type",l)}if(t.responseType){var u=t.responseType.toLowerCase();s.responseType="json"!==u?u:"text"}var f=t.serializeBody(),m=null,w=function(){if(null!==m)return m;var pe=s.statusText||"OK",Fe=new Wu(s.getAllResponseHeaders()),Ye=function eH(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(s)||t.url;return m=new QY({headers:Fe,status:s.status,statusText:pe,url:Ye})},R=function(){var pe=w(),Fe=pe.headers,Ye=pe.status,ze=pe.statusText,rt=pe.url,mt=null;204!==Ye&&(mt=void 0===s.response?s.responseText:s.response),0===Ye&&(Ye=mt?200:0);var on=Ye>=200&&Ye<300;if("json"===t.responseType&&"string"==typeof mt){var cr=mt;mt=mt.replace(XY,"");try{mt=""!==mt?JSON.parse(mt):null}catch(rr){mt=cr,on&&(on=!1,mt={error:rr,text:mt})}}on?(o.next(new uD({body:mt,headers:Fe,status:Ye,statusText:ze,url:rt||void 0})),o.complete()):o.error(new cD({error:mt,headers:Fe,status:Ye,statusText:ze,url:rt||void 0}))},B=function(pe){var Fe=w(),ze=new cD({error:pe,status:s.status||0,statusText:s.statusText||"Unknown Error",url:Fe.url||void 0});o.error(ze)},J=!1,me=function(pe){J||(o.next(w()),J=!0);var Fe={type:Or.DownloadProgress,loaded:pe.loaded};pe.lengthComputable&&(Fe.total=pe.total),"text"===t.responseType&&!!s.responseText&&(Fe.partialText=s.responseText),o.next(Fe)},we=function(pe){var Fe={type:Or.UploadProgress,loaded:pe.loaded};pe.lengthComputable&&(Fe.total=pe.total),o.next(Fe)};return s.addEventListener("load",R),s.addEventListener("error",B),s.addEventListener("timeout",B),s.addEventListener("abort",B),t.reportProgress&&(s.addEventListener("progress",me),null!==f&&s.upload&&s.upload.addEventListener("progress",we)),s.send(f),o.next({type:Or.Sent}),function(){s.removeEventListener("error",B),s.removeEventListener("abort",B),s.removeEventListener("load",R),s.removeEventListener("timeout",B),t.reportProgress&&(s.removeEventListener("progress",me),null!==f&&s.upload&&s.upload.removeEventListener("progress",we)),s.readyState!==s.DONE&&s.abort()}})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(V_))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),yy=new $e("XSRF_COOKIE_NAME"),by=new $e("XSRF_HEADER_NAME"),pD=d(function n(){c(this,n)}),tH=function(){var n=function(){function i(e,t,a){c(this,i),this.doc=e,this.platform=t,this.cookieName=a,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return d(i,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=jw(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(xt),Le(Ad),Le(yy))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ky=function(){var n=function(){function i(e,t){c(this,i),this.tokenService=e,this.headerName=t}return d(i,[{key:"intercept",value:function(t,a){var o=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||o.startsWith("http://")||o.startsWith("https://"))return a.handle(t);var s=this.tokenService.getToken();return null!==s&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,s)})),a.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(pD),Le(by))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),nH=function(){var n=function(){function i(e,t){c(this,i),this.backend=e,this.injector=t,this.chain=null}return d(i,[{key:"handle",value:function(t){if(null===this.chain){var a=this.injector.get(fD,[]);this.chain=a.reduceRight(function(o,s){return new dD(o,s)},this.backend)}return this.chain.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(rD),Le(Un))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),rH=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"disable",value:function(){return{ngModule:i,providers:[{provide:ky,useClass:JY}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.cookieName?{provide:yy,useValue:t.cookieName}:[],t.headerName?{provide:by,useValue:t.headerName}:[]]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[ky,{provide:fD,useExisting:ky,multi:!0},{provide:pD,useClass:tH},{provide:yy,useValue:"XSRF-TOKEN"},{provide:by,useValue:"X-XSRF-TOKEN"}]}),n}(),iH=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[ul,{provide:nD,useClass:nH},hD,{provide:rD,useExisting:hD}],imports:[[rH.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),n}(),jr=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this))._value=t,a}return d(e,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(a){var o=D(O(e.prototype),"_subscribe",this).call(this,a);return o&&!o.closed&&a.next(this._value),o}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ce;return this._value}},{key:"next",value:function(a){D(O(e.prototype),"next",this).call(this,this._value=a)}}]),e}(Ie),vD={};function mD(){for(var n=arguments.length,i=new Array(n),e=0;e=2&&(e=!0),function(a){return a.lift(new mH(n,i,e))}}var mH=function(){function n(i,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,n),this.accumulator=i,this.seed=e,this.hasSeed=t}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new gH(e,this.accumulator,this.seed,this.hasSeed))}}]),n}(),gH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t)).accumulator=a,l._seed=o,l.hasSeed=s,l.index=0,l}return d(e,[{key:"seed",get:function(){return this._seed},set:function(a){this.hasSeed=!0,this._seed=a}},{key:"_next",value:function(a){if(this.hasSeed)return this._tryNext(a);this.seed=a,this.destination.next(a)}},{key:"_tryNext",value:function(a){var s,o=this.index++;try{s=this.accumulator(this.seed,a,o)}catch(l){this.destination.error(l)}this.seed=s,this.destination.next(s)}}]),e}(St);function qi(n){return function(e){var t=new _H(n),a=e.lift(t);return t.caught=a}}var _H=function(){function n(i){c(this,n),this.selector=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new yH(e,this.selector,this.caught))}}]),n}(),yH=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).selector=a,s.caught=o,s}return d(e,[{key:"error",value:function(a){if(!this.isStopped){var o;try{o=this.selector(a,this.caught)}catch(l){return void D(O(e.prototype),"error",this).call(this,l)}this._unsubscribeAndRecycle();var s=new nt(this,void 0,void 0);this.add(s),Rn(this,o,void 0,void 0,s)}}}]),e}(gn);function Ud(n){return function(e){return 0===n?wp():e.lift(new bH(n))}}var bH=function(){function n(i){if(c(this,n),this.total=i,this.total<0)throw new gD}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new kH(e,this.total))}}]),n}(),kH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).total=a,o.ring=new Array,o.count=0,o}return d(e,[{key:"_next",value:function(a){var o=this.ring,s=this.total,l=this.count++;o.length0)for(var s=this.count>=this.total?this.total:this.count,l=this.ring,u=0;u0&&void 0!==arguments[0]?arguments[0]:wH;return function(i){return i.lift(new MH(n))}}var MH=function(){function n(i){c(this,n),this.errorFactory=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new CH(e,this.errorFactory))}}]),n}(),CH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).errorFactory=a,o.hasValue=!1,o}return d(e,[{key:"_next",value:function(a){this.hasValue=!0,this.destination.next(a)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var a;try{a=this.errorFactory()}catch(o){a=o}this.destination.error(a)}}]),e}(St);function wH(){return new Cp}function My(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(i){return i.lift(new SH(n))}}var SH=function(){function n(i){c(this,n),this.defaultValue=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new DH(e,this.defaultValue))}}]),n}(),DH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).defaultValue=a,o.isEmpty=!0,o}return d(e,[{key:"_next",value:function(a){this.isEmpty=!1,this.destination.next(a)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),e}(St);function qu(n,i){var e=arguments.length>=2;return function(t){return t.pipe(n?Vr(function(a,o){return n(a,o,t)}):Vs,tr(1),e?My(i):_D(function(){return new Cp}))}}function Ar(n,i,e){return function(a){return a.lift(new LH(n,i,e))}}var LH=function(){function n(i,e,t){c(this,n),this.nextOrObserver=i,this.error=e,this.complete=t}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new EH(e,this.nextOrObserver,this.error,this.complete))}}]),n}(),EH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t))._tapNext=se,l._tapError=se,l._tapComplete=se,l._tapError=o||se,l._tapComplete=s||se,He(a)?(l._context=x(l),l._tapNext=a):a&&(l._context=a,l._tapNext=a.next||se,l._tapError=a.error||se,l._tapComplete=a.complete||se),l}return d(e,[{key:"_next",value:function(a){try{this._tapNext.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.next(a)}},{key:"_error",value:function(a){try{this._tapError.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.error(a)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(a){return void this.destination.error(a)}return this.destination.complete()}}]),e}(St);function yD(n){return function(i){return i.lift(new PH(n))}}var PH=function(){function n(i){c(this,n),this.callback=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new xH(e,this.callback))}}]),n}(),xH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).add(new Ne(a)),o}return d(e)}(St),Wo=d(function n(i,e){c(this,n),this.id=i,this.url=e}),Cy=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return c(this,e),(o=i.call(this,t,a)).navigationTrigger=s,o.restoredState=l,o}return d(e,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(Wo),Ku=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).urlAfterRedirects=o,s}return d(e,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),e}(Wo),bD=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).reason=o,s}return d(e,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(Wo),OH=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).error=o,s}return d(e,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),e}(Wo),AH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(Wo),IH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(Wo),RH=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l){var u;return c(this,e),(u=i.call(this,t,a)).urlAfterRedirects=o,u.state=s,u.shouldActivate=l,u}return d(e,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),e}(Wo),FH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(Wo),NH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(Wo),kD=function(){function n(i){c(this,n),this.route=i}return d(n,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),n}(),MD=function(){function n(i){c(this,n),this.route=i}return d(n,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),n}(),YH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),HH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),BH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),VH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),CD=function(){function n(i,e,t){c(this,n),this.routerEvent=i,this.position=e,this.anchor=t}return d(n,[{key:"toString",value:function(){var e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}}]),n}(),qt="primary",jH=function(){function n(i){c(this,n),this.params=i||{}}return d(n,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),n}();function Zu(n){return new jH(n)}var wD="ngNavigationCancelingError";function wy(n){var i=Error("NavigationCancelingError: "+n);return i[wD]=!0,i}function zH(n,i,e){var t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(i.hasChildren()||t.length0?n[n.length-1]:null}function ai(n,i){for(var e in n)n.hasOwnProperty(e)&&i(n[e],e)}function Co(n){return Gg(n)?n:bd(n)?it(Promise.resolve(n)):Je(n)}var qH={exact:function PD(n,i,e){if(!hl(n.segments,i.segments)||!Tp(n.segments,i.segments,e)||n.numberOfChildren!==i.numberOfChildren)return!1;for(var t in i.children)if(!n.children[t]||!PD(n.children[t],i.children[t],e))return!1;return!0},subset:xD},LD={exact:function KH(n,i){return Mo(n,i)},subset:function ZH(n,i){return Object.keys(i).length<=Object.keys(n).length&&Object.keys(i).every(function(e){return SD(n[e],i[e])})},ignored:function(){return!0}};function ED(n,i,e){return qH[e.paths](n.root,i.root,e.matrixParams)&&LD[e.queryParams](n.queryParams,i.queryParams)&&!("exact"===e.fragment&&n.fragment!==i.fragment)}function xD(n,i,e){return OD(n,i,i.segments,e)}function OD(n,i,e,t){if(n.segments.length>e.length){var a=n.segments.slice(0,e.length);return!(!hl(a,e)||i.hasChildren()||!Tp(a,e,t))}if(n.segments.length===e.length){if(!hl(n.segments,e)||!Tp(n.segments,e,t))return!1;for(var o in i.children)if(!n.children[o]||!xD(n.children[o],i.children[o],t))return!1;return!0}var s=e.slice(0,n.segments.length),l=e.slice(n.segments.length);return!!(hl(n.segments,s)&&Tp(n.segments,s,t)&&n.children[qt])&&OD(n.children[qt],i,l,t)}function Tp(n,i,e){return i.every(function(t,a){return LD[e](n[a].parameters,t.parameters)})}var fl=function(){function n(i,e,t){c(this,n),this.root=i,this.queryParams=e,this.fragment=t}return d(n,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Zu(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return JH.serialize(this)}}]),n}(),rn=function(){function n(i,e){var t=this;c(this,n),this.segments=i,this.children=e,this.parent=null,ai(e,function(a,o){return a.parent=t})}return d(n,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Lp(this)}}]),n}(),zd=function(){function n(i,e){c(this,n),this.path=i,this.parameters=e}return d(n,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Zu(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return ND(this)}}]),n}();function hl(n,i){return n.length===i.length&&n.every(function(e,t){return e.path===i[t].path})}var AD=d(function n(){c(this,n)}),ID=function(){function n(){c(this,n)}return d(n,[{key:"parse",value:function(e){var t=new sB(e);return new fl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t="/".concat(Wd(e.root,!0)),a=function tB(n){var i=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(a){return"".concat(Ep(e),"=").concat(Ep(a))}).join("&"):"".concat(Ep(e),"=").concat(Ep(t))}).filter(function(e){return!!e});return i.length?"?".concat(i.join("&")):""}(e.queryParams),o="string"==typeof e.fragment?"#".concat(function XH(n){return encodeURI(n)}(e.fragment)):"";return"".concat(t).concat(a).concat(o)}}]),n}(),JH=new ID;function Lp(n){return n.segments.map(function(i){return ND(i)}).join("/")}function Wd(n,i){if(!n.hasChildren())return Lp(n);if(i){var e=n.children[qt]?Wd(n.children[qt],!1):"",t=[];return ai(n.children,function(o,s){s!==qt&&t.push("".concat(s,":").concat(Wd(o,!1)))}),t.length>0?"".concat(e,"(").concat(t.join("//"),")"):e}var a=function QH(n,i){var e=[];return ai(n.children,function(t,a){a===qt&&(e=e.concat(i(t,a)))}),ai(n.children,function(t,a){a!==qt&&(e=e.concat(i(t,a)))}),e}(n,function(o,s){return s===qt?[Wd(n.children[qt],!1)]:["".concat(s,":").concat(Wd(o,!1))]});return 1===Object.keys(n.children).length&&null!=n.children[qt]?"".concat(Lp(n),"/").concat(a[0]):"".concat(Lp(n),"/(").concat(a.join("//"),")")}function RD(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ep(n){return RD(n).replace(/%3B/gi,";")}function Sy(n){return RD(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pp(n){return decodeURIComponent(n)}function FD(n){return Pp(n.replace(/\+/g,"%20"))}function ND(n){return"".concat(Sy(n.path)).concat(function eB(n){return Object.keys(n).map(function(i){return";".concat(Sy(i),"=").concat(Sy(n[i]))}).join("")}(n.parameters))}var nB=/^[^\/()?;=#]+/;function xp(n){var i=n.match(nB);return i?i[0]:""}var rB=/^[^=?&#]+/,aB=/^[^&#]+/,sB=function(){function n(i){c(this,n),this.url=i,this.remaining=i}return d(n,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rn([],{}):new rn([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(a[qt]=new rn(e,t)),a}},{key:"parseSegment",value:function(){var e=xp(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new zd(Pp(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=xp(this.remaining);if(t){this.capture(t);var a="";if(this.consumeOptional("=")){var o=xp(this.remaining);o&&this.capture(a=o)}e[Pp(t)]=Pp(a)}}},{key:"parseQueryParam",value:function(e){var t=function iB(n){var i=n.match(rB);return i?i[0]:""}(this.remaining);if(t){this.capture(t);var a="";if(this.consumeOptional("=")){var o=function oB(n){var i=n.match(aB);return i?i[0]:""}(this.remaining);o&&this.capture(a=o)}var s=FD(t),l=FD(a);if(e.hasOwnProperty(s)){var u=e[s];Array.isArray(u)||(e[s]=u=[u]),u.push(l)}else e[s]=l}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var a=xp(this.remaining),o=this.remaining[a.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '".concat(this.url,"'"));var s=void 0;a.indexOf(":")>-1?(s=a.substr(0,a.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=qt);var l=this.parseChildren();t[s]=1===Object.keys(l).length?l[qt]:new rn([],l),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),n}(),YD=function(){function n(i){c(this,n),this._root=i}return d(n,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Dy(e,this._root);return t?t.children.map(function(a){return a.value}):[]}},{key:"firstChild",value:function(e){var t=Dy(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Ty(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(o){return o.value}).filter(function(o){return o!==e})}},{key:"pathFromRoot",value:function(e){return Ty(e,this._root).map(function(t){return t.value})}}]),n}();function Dy(n,i){if(n===i.value)return i;var t,e=z(i.children);try{for(e.s();!(t=e.n()).done;){var o=Dy(n,t.value);if(o)return o}}catch(s){e.e(s)}finally{e.f()}return null}function Ty(n,i){if(n===i.value)return[i];var t,e=z(i.children);try{for(e.s();!(t=e.n()).done;){var o=Ty(n,t.value);if(o.length)return o.unshift(i),o}}catch(s){e.e(s)}finally{e.f()}return[]}var Go=function(){function n(i,e){c(this,n),this.value=i,this.children=e}return d(n,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),n}();function $u(n){var i={};return n&&n.children.forEach(function(e){return i[e.value.outlet]=e}),i}var HD=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).snapshot=a,Ly(x(o),t),o}return d(e,[{key:"toString",value:function(){return this.snapshot.toString()}}]),e}(YD);function BD(n,i){var e=function lB(n,i){var s=new Op([],{},{},"",{},qt,i,null,n.root,-1,{});return new jD("",new Go(s,[]))}(n,i),t=new jr([new zd("",{})]),a=new jr({}),o=new jr({}),s=new jr({}),l=new jr(""),u=new oi(t,a,s,l,o,qt,i,e.root);return u.snapshot=e.root,new HD(new Go(u,[]),e)}var oi=function(){function n(i,e,t,a,o,s,l,u){c(this,n),this.url=i,this.params=e,this.queryParams=t,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this._futureSnapshot=u}return d(n,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(qe(function(e){return Zu(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(qe(function(e){return Zu(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),n}();function VD(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",e=n.pathFromRoot,t=0;if("always"!==i)for(t=e.length-1;t>=1;){var a=e[t],o=e[t-1];if(a.routeConfig&&""===a.routeConfig.path)t--;else{if(o.component)break;t--}}return uB(e.slice(t))}function uB(n){return n.reduce(function(i,e){return{params:Object.assign(Object.assign({},i.params),e.params),data:Object.assign(Object.assign({},i.data),e.data),resolve:Object.assign(Object.assign({},i.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}var Op=function(){function n(i,e,t,a,o,s,l,u,f,m,w){c(this,n),this.url=i,this.params=e,this.queryParams=t,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this.routeConfig=u,this._urlSegment=f,this._lastPathIndex=m,this._resolve=w}return d(n,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Zu(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Zu(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var e=this.url.map(function(a){return a.toString()}).join("/"),t=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(t,"')")}}]),n}(),jD=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,a)).url=t,Ly(x(o),a),o}return d(e,[{key:"toString",value:function(){return UD(this._root)}}]),e}(YD);function Ly(n,i){i.value._routerState=n,i.children.forEach(function(e){return Ly(n,e)})}function UD(n){var i=n.children.length>0?" { ".concat(n.children.map(UD).join(", ")," } "):"";return"".concat(n.value).concat(i)}function Ey(n){if(n.snapshot){var i=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Mo(i.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),i.fragment!==e.fragment&&n.fragment.next(e.fragment),Mo(i.params,e.params)||n.params.next(e.params),function WH(n,i){if(n.length!==i.length)return!1;for(var e=0;ea;){if(o-=a,!(t=t.parent))throw new Error("Invalid number of '../'");a=t.segments.length}return new Oy(t,!1,a-o)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+o,n.numberOfDoubleDots)}(o,i,n),l=s.processChildren?Ip(s.segmentGroup,s.index,o.commands):GD(s.segmentGroup,s.index,o.commands);return xy(s.segmentGroup,l,i,t,a)}function Ap(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function qd(n){return"object"==typeof n&&null!=n&&n.outlets}function xy(n,i,e,t,a){var o={};return t&&ai(t,function(s,l){o[l]=Array.isArray(s)?s.map(function(u){return"".concat(u)}):"".concat(s)}),new fl(e.root===n?i:zD(e.root,n,i),o,a)}function zD(n,i,e){var t={};return ai(n.children,function(a,o){t[o]=a===i?e:zD(a,i,e)}),new rn(n.segments,t)}var WD=function(){function n(i,e,t){if(c(this,n),this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=t,i&&t.length>0&&Ap(t[0]))throw new Error("Root segment cannot have matrix parameters");var a=t.find(qd);if(a&&a!==TD(t))throw new Error("{outlets:{}} has to be the last command")}return d(n,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),n}(),Oy=d(function n(i,e,t){c(this,n),this.segmentGroup=i,this.processChildren=e,this.index=t});function GD(n,i,e){if(n||(n=new rn([],{})),0===n.segments.length&&n.hasChildren())return Ip(n,i,e);var t=function _B(n,i,e){for(var t=0,a=i,o={match:!1,pathIndex:0,commandIndex:0};a=e.length)return o;var s=n.segments[a],l=e[t];if(qd(l))break;var u="".concat(l),f=t0&&void 0===u)break;if(u&&f&&"object"==typeof f&&void 0===f.outlets){if(!KD(u,f,s))return o;t+=2}else{if(!KD(u,{},s))return o;t++}a++}return{match:!0,pathIndex:a,commandIndex:t}}(n,i,e),a=e.slice(t.commandIndex);if(t.match&&t.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",e=0;e0)?Object.assign({},JD):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};var o=(i.matcher||zH)(e,n,i);if(!o)return Object.assign({},JD);var s={};ai(o.posParams,function(u,f){s[f]=u.path});var l=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:l,positionalParamSegments:null!==(t=o.posParams)&&void 0!==t?t:{}}}function Np(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(e.length>0&&IB(n,e,t)){var o=new rn(i,AB(n,i,t,new rn(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=i.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&RB(n,e,t)){var s=new rn(n.segments,OB(n,i,e,t,n.children,a));return s._sourceSegment=n,s._segmentIndexShift=i.length,{segmentGroup:s,slicedSegments:e}}var l=new rn(n.segments,n.children);return l._sourceSegment=n,l._segmentIndexShift=i.length,{segmentGroup:l,slicedSegments:e}}function OB(n,i,e,t,a,o){var u,s={},l=z(t);try{for(l.s();!(u=l.n()).done;){var f=u.value;if(Yp(n,e,f)&&!a[Pa(f)]){var m=new rn([],{});m._sourceSegment=n,m._segmentIndexShift="legacy"===o?n.segments.length:i.length,s[Pa(f)]=m}}}catch(w){l.e(w)}finally{l.f()}return Object.assign(Object.assign({},a),s)}function AB(n,i,e,t){var a={};a[qt]=t,t._sourceSegment=n,t._segmentIndexShift=i.length;var s,o=z(e);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(""===l.path&&Pa(l)!==qt){var u=new rn([],{});u._sourceSegment=n,u._segmentIndexShift=i.length,a[Pa(l)]=u}}}catch(f){o.e(f)}finally{o.f()}return a}function IB(n,i,e){return e.some(function(t){return Yp(n,i,t)&&Pa(t)!==qt})}function RB(n,i,e){return e.some(function(t){return Yp(n,i,t)})}function Yp(n,i,e){return(!(n.hasChildren()||i.length>0)||"full"!==e.pathMatch)&&""===e.path}function XD(n,i,e,t){return!!(Pa(n)===t||t!==qt&&Yp(i,e,n))&&("**"===n.path||Fp(i,n,e).matched)}function eT(n,i,e){return 0===i.length&&!n.children[e]}var Qd=d(function n(i){c(this,n),this.segmentGroup=i||null}),tT=d(function n(i){c(this,n),this.urlTree=i});function Hp(n){return Ri(new Qd(n))}function nT(n){return Ri(new tT(n))}function FB(n){return Ri(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(n,"'")))}var HB=function(){function n(i,e,t,a,o){c(this,n),this.configLoader=e,this.urlSerializer=t,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=i.get(Ho)}return d(n,[{key:"apply",value:function(){var e=this,t=Np(this.urlTree.root,[],[],this.config).segmentGroup,a=new rn(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,a,qt).pipe(qe(function(l){return e.createUrlTree(Fy(l),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(qi(function(l){if(l instanceof tT)return e.allowRedirects=!1,e.match(l.urlTree);throw l instanceof Qd?e.noMatchError(l):l}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,qt).pipe(qe(function(s){return t.createUrlTree(Fy(s),e.queryParams,e.fragment)})).pipe(qi(function(s){throw s instanceof Qd?t.noMatchError(s):s}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,a){var o=e.segments.length>0?new rn([],$({},qt,e)):e;return new fl(o,t,a)}},{key:"expandSegmentGroup",value:function(e,t,a,o){return 0===a.segments.length&&a.hasChildren()?this.expandChildren(e,t,a).pipe(qe(function(s){return new rn([],s)})):this.expandSegment(e,a,t,a.segments,o,!0)}},{key:"expandChildren",value:function(e,t,a){for(var o=this,s=[],l=0,u=Object.keys(a.children);l=2;return function(t){return t.pipe(n?Vr(function(a,o){return n(a,o,t)}):Vs,Ud(1),e?My(i):_D(function(){return new Cp}))}}())}},{key:"expandSegment",value:function(e,t,a,o,s,l){var u=this;return it(a).pipe(zu(function(f){return u.expandSegmentAgainstRoute(e,t,a,f,o,s,l).pipe(qi(function(w){if(w instanceof Qd)return Je(null);throw w}))}),qu(function(f){return!!f}),qi(function(f,m){if(f instanceof Cp||"EmptyError"===f.name){if(eT(t,o,s))return Je(new rn([],{}));throw new Qd(t)}throw f}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,a,o,s,l,u){return XD(o,t,s,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(e,t,o,s,l):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,a,o,s,l):Hp(t):Hp(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,a,o,s,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,a,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,a,o,s,l)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,a,o){var s=this,l=this.applyRedirectCommands([],a.redirectTo,{});return a.redirectTo.startsWith("/")?nT(l):this.lineralizeSegments(a,l).pipe(Dn(function(u){var f=new rn(u,{});return s.expandSegment(e,f,t,u,o,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,a,o,s,l){var u=this,f=Fp(t,o,s),w=f.consumedSegments,R=f.remainingSegments,B=f.positionalParamSegments;if(!f.matched)return Hp(t);var J=this.applyRedirectCommands(w,o.redirectTo,B);return o.redirectTo.startsWith("/")?nT(J):this.lineralizeSegments(o,J).pipe(Dn(function(me){return u.expandSegment(e,t,a,me.concat(R),l,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,a,o,s){var l=this;if("**"===a.path)return a.loadChildren?(a._loadedConfig?Je(a._loadedConfig):this.configLoader.load(e.injector,a)).pipe(qe(function(J){return a._loadedConfig=J,new rn(o,{})})):Je(new rn(o,{}));var f=Fp(t,a,o),w=f.consumedSegments,R=f.remainingSegments;return f.matched?this.getChildConfig(e,a,o).pipe(Dn(function(J){var me=J.module,we=J.routes,Te=Np(t,w,R,we),pe=Te.segmentGroup,Fe=Te.slicedSegments,Ye=new rn(pe.segments,pe.children);if(0===Fe.length&&Ye.hasChildren())return l.expandChildren(me,we,Ye).pipe(qe(function(on){return new rn(w,on)}));if(0===we.length&&0===Fe.length)return Je(new rn(w,{}));var rt=Pa(a)===s;return l.expandSegment(me,Ye,we,Fe,rt?qt:s,!0).pipe(qe(function(on){return new rn(w.concat(on.segments),on.children)}))})):Hp(t)}},{key:"getChildConfig",value:function(e,t,a){var o=this;return t.children?Je(new Iy(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Je(t._loadedConfig):this.runCanLoadGuards(e.injector,t,a).pipe(Dn(function(s){return s?o.configLoader.load(e.injector,t).pipe(qe(function(l){return t._loadedConfig=l,l})):function NB(n){return Ri(wy("Cannot load children because the guard of the route \"path: '".concat(n.path,"'\" returned false")))}(t)})):Je(new Iy([],e))}},{key:"runCanLoadGuards",value:function(e,t,a){var o=this,s=t.canLoad;if(!s||0===s.length)return Je(!0);var l=s.map(function(u){var m,f=e.get(u);if(function wB(n){return n&&Ps(n.canLoad)}(f))m=f.canLoad(t,a);else{if(!Ps(f))throw new Error("Invalid CanLoad guard");m=f(t,a)}return Co(m)});return Je(l).pipe(Zd(),Ar(function(u){if(pl(u)){var f=wy('Redirecting to "'.concat(o.urlSerializer.serialize(u),'"'));throw f.url=u,f}}),qe(function(u){return!0===u}))}},{key:"lineralizeSegments",value:function(e,t){for(var a=[],o=t.root;;){if(a=a.concat(o.segments),0===o.numberOfChildren)return Je(a);if(o.numberOfChildren>1||!o.children[qt])return FB(e.redirectTo);o=o.children[qt]}}},{key:"applyRedirectCommands",value:function(e,t,a){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,a)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,a,o){var s=this.createSegmentGroup(e,t.root,a,o);return new fl(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var a={};return ai(e,function(o,s){if("string"==typeof o&&o.startsWith(":")){var u=o.substring(1);a[s]=t[u]}else a[s]=o}),a}},{key:"createSegmentGroup",value:function(e,t,a,o){var s=this,l=this.createSegments(e,t.segments,a,o),u={};return ai(t.children,function(f,m){u[m]=s.createSegmentGroup(e,f,a,o)}),new rn(l,u)}},{key:"createSegments",value:function(e,t,a,o){var s=this;return t.map(function(l){return l.path.startsWith(":")?s.findPosParam(e,l,o):s.findOrReturn(l,a)})}},{key:"findPosParam",value:function(e,t,a){var o=a[t.path.substring(1)];if(!o)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return o}},{key:"findOrReturn",value:function(e,t){var s,a=0,o=z(t);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(l.path===e.path)return t.splice(a),l;a++}}catch(u){o.e(u)}finally{o.f()}return e}}]),n}();function Fy(n){for(var i={},e=0,t=Object.keys(n.children);e0||s.hasChildren())&&(i[a]=s)}return function BB(n){if(1===n.numberOfChildren&&n.children[qt]){var i=n.children[qt];return new rn(n.segments.concat(i.segments),i.children)}return n}(new rn(n.segments,i))}var rT=d(function n(i){c(this,n),this.path=i,this.route=this.path[this.path.length-1]}),Bp=d(function n(i,e){c(this,n),this.component=i,this.route=e});function jB(n,i,e){var t=n._root;return Jd(t,i?i._root:null,e,[t.value])}function Vp(n,i,e){var t=function zB(n){if(!n)return null;for(var i=n.parent;i;i=i.parent){var e=i.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(i);return(t?t.module.injector:e).get(n)}function Jd(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=$u(i);return n.children.forEach(function(s){WB(s,o[s.value.outlet],e,t.concat([s.value]),a),delete o[s.value.outlet]}),ai(o,function(s,l){return Xd(s,e.getContext(l),a)}),a}function WB(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=n.value,s=i?i.value:null,l=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=GB(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new rT(t)):(o.data=s.data,o._resolvedData=s._resolvedData),Jd(n,i,o.component?l?l.children:null:e,t,a),u&&l&&l.outlet&&l.outlet.isActivated&&a.canDeactivateChecks.push(new Bp(l.outlet.component,s))}else s&&Xd(i,l,a),a.canActivateChecks.push(new rT(t)),Jd(n,null,o.component?l?l.children:null:e,t,a);return a}function GB(n,i,e){if("function"==typeof e)return e(n,i);switch(e){case"pathParamsChange":return!hl(n.url,i.url);case"pathParamsOrQueryParamsChange":return!hl(n.url,i.url)||!Mo(n.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Py(n,i)||!Mo(n.queryParams,i.queryParams);default:return!Py(n,i)}}function Xd(n,i,e){var t=$u(n),a=n.value;ai(t,function(o,s){Xd(o,a.component?i?i.children.getContext(s):null:i,e)}),e.canDeactivateChecks.push(new Bp(a.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,a))}var tV=d(function n(){c(this,n)});function iT(n){return new fe(function(i){return i.error(n)})}var rV=function(){function n(i,e,t,a,o,s){c(this,n),this.rootComponentType=i,this.config=e,this.urlTree=t,this.url=a,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}return d(n,[{key:"recognize",value:function(){var e=Np(this.urlTree.root,[],[],this.config.filter(function(l){return void 0===l.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,qt);if(null===t)return null;var a=new Op([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},qt,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Go(a,t),s=new jD(this.url,o);return this.inheritParamsAndData(s._root),s}},{key:"inheritParamsAndData",value:function(e){var t=this,a=e.value,o=VD(a,this.paramsInheritanceStrategy);a.params=Object.freeze(o.params),a.data=Object.freeze(o.data),e.children.forEach(function(s){return t.inheritParamsAndData(s)})}},{key:"processSegmentGroup",value:function(e,t,a){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,a)}},{key:"processChildren",value:function(e,t){for(var a=[],o=0,s=Object.keys(t.children);o0?TD(a).parameters:{};s=new Op(a,f,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,lT(e),Pa(e),e.component,e,oT(t),sT(t)+a.length,uT(e))}else{var m=Fp(t,e,a);if(!m.matched)return null;u=m.remainingSegments,s=new Op(l=m.consumedSegments,m.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,lT(e),Pa(e),e.component,e,oT(t),sT(t)+l.length,uT(e))}var w=function aV(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(e),R=Np(t,l,u,w.filter(function(pe){return void 0===pe.redirectTo}),this.relativeLinkResolution),B=R.segmentGroup,J=R.slicedSegments;if(0===J.length&&B.hasChildren()){var me=this.processChildren(w,B);return null===me?null:[new Go(s,me)]}if(0===w.length&&0===J.length)return[new Go(s,[])];var we=Pa(e)===o,Te=this.processSegment(w,B,J,we?qt:o);return null===Te?null:[new Go(s,Te)]}}]),n}();function aT(n){var a,i=[],e=new Set,t=z(n);try{var o=function(){var R=a.value;if(!function oV(n){var i=n.value.routeConfig;return i&&""===i.path&&void 0===i.redirectTo}(R))return i.push(R),"continue";var J,B=i.find(function(me){return R.value.routeConfig===me.value.routeConfig});void 0!==B?((J=B.children).push.apply(J,ae(R.children)),e.add(B)):i.push(R)};for(t.s();!(a=t.n()).done;)o()}catch(w){t.e(w)}finally{t.f()}var u,l=z(e);try{for(l.s();!(u=l.n()).done;){var f=u.value,m=aT(f.children);i.push(new Go(f.value,m))}}catch(w){l.e(w)}finally{l.f()}return i.filter(function(w){return!e.has(w)})}function oT(n){for(var i=n;i._sourceSegment;)i=i._sourceSegment;return i}function sT(n){for(var i=n,e=i._segmentIndexShift?i._segmentIndexShift:0;i._sourceSegment;)e+=(i=i._sourceSegment)._segmentIndexShift?i._segmentIndexShift:0;return e-1}function lT(n){return n.data||{}}function uT(n){return n.resolve||{}}function cT(n){return[].concat(ae(Object.keys(n)),ae(Object.getOwnPropertySymbols(n)))}function Ny(n){return da(function(i){var e=n(i);return e?it(e).pipe(qe(function(){return i})):Je(i)})}var dT=d(function n(){c(this,n)}),fV=function(){function n(){c(this,n)}return d(n,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),n}(),hV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e)}(fV),Yy=new $e("ROUTES"),fT=function(){function n(i,e,t,a){c(this,n),this.injector=i,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=a}return d(n,[{key:"load",value:function(e,t){var a=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var s=this.loadModuleFactory(t.loadChildren).pipe(qe(function(l){a.onLoadEndListener&&a.onLoadEndListener(t);var u=l.create(e);return new Iy(DD(u.injector.get(Yy,void 0,Ct.Self|Ct.Optional)).map(Ry),u)}),qi(function(l){throw t._loader$=void 0,l}));return t._loader$=new dr(s,function(){return new Ie}).pipe(Ci()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return Co(e()).pipe(Dn(function(a){return a instanceof CC?Je(a):it(t.compiler.compileModuleAsync(a))}))}}]),n}(),pV=d(function n(){c(this,n)}),vV=function(){function n(){c(this,n)}return d(n,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),n}();function mV(n){throw n}function gV(n,i,e){return i.parse("/")}function hT(n,i){return Je(null)}var _V={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},an=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=a,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie,this.errorHandler=mV,this.malformedUriErrorHandler=gV,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hT,afterPreactivation:hT},this.urlHandlingStrategy=new vV,this.routeReuseStrategy=new hV,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Ho),this.console=s.get(aw);var R=s.get(bt);this.isNgZoneEnabled=R instanceof bt&&bt.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function GH(){return new fl(new rn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new fT(s,l,function(J){return f.triggerEvent(new kD(J))},function(J){return f.triggerEvent(new MD(J))}),this.routerState=BD(this.currentUrlTree,this.rootComponentType),this.transitions=new jr({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return d(i,[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var a=this,o=this.events;return t.pipe(Vr(function(s){return 0!==s.id}),qe(function(s){return Object.assign(Object.assign({},s),{extractedUrl:a.urlHandlingStrategy.extract(s.rawUrl)})}),da(function(s){var l=!1,u=!1;return Je(s).pipe(Ar(function(f){a.currentNavigation={id:f.id,initialUrl:f.currentRawUrl,extractedUrl:f.extractedUrl,trigger:f.source,extras:f.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign(Object.assign({},a.lastSuccessfulNavigation),{previousNavigation:null}):null}}),da(function(f){var m=a.browserUrlTree.toString(),w=!a.navigated||f.extractedUrl.toString()!==m||m!==a.currentUrlTree.toString();if(("reload"===a.onSameUrlNavigation||w)&&a.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return jp(f.source)&&(a.browserUrlTree=f.extractedUrl),Je(f).pipe(da(function(ze){var rt=a.transitions.getValue();return o.next(new Cy(ze.id,a.serializeUrl(ze.extractedUrl),ze.source,ze.restoredState)),rt!==a.transitions.getValue()?dl:Promise.resolve(ze)}),function VB(n,i,e,t){return da(function(a){return function YB(n,i,e,t,a){return new HB(n,i,e,t,a).apply()}(n,i,e,a.extractedUrl,t).pipe(qe(function(o){return Object.assign(Object.assign({},a),{urlAfterRedirects:o})}))})}(a.ngModule.injector,a.configLoader,a.urlSerializer,a.config),Ar(function(ze){a.currentNavigation=Object.assign(Object.assign({},a.currentNavigation),{finalUrl:ze.urlAfterRedirects})}),function sV(n,i,e,t,a){return Dn(function(o){return function nV(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new rV(n,i,e,t,a,o).recognize();return null===s?iT(new tV):Je(s)}catch(l){return iT(l)}}(n,i,o.urlAfterRedirects,e(o.urlAfterRedirects),t,a).pipe(qe(function(s){return Object.assign(Object.assign({},o),{targetSnapshot:s})}))})}(a.rootComponentType,a.config,function(ze){return a.serializeUrl(ze)},a.paramsInheritanceStrategy,a.relativeLinkResolution),Ar(function(ze){if("eager"===a.urlUpdateStrategy){if(!ze.extras.skipLocationChange){var rt=a.urlHandlingStrategy.merge(ze.urlAfterRedirects,ze.rawUrl);a.setBrowserUrl(rt,ze)}a.browserUrlTree=ze.urlAfterRedirects}var mt=new AH(ze.id,a.serializeUrl(ze.extractedUrl),a.serializeUrl(ze.urlAfterRedirects),ze.targetSnapshot);o.next(mt)}));if(w&&a.rawUrlTree&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){var me=f.extractedUrl,we=f.source,Te=f.restoredState,pe=f.extras,Fe=new Cy(f.id,a.serializeUrl(me),we,Te);o.next(Fe);var Ye=BD(me,a.rootComponentType).snapshot;return Je(Object.assign(Object.assign({},f),{targetSnapshot:Ye,urlAfterRedirects:me,extras:Object.assign(Object.assign({},pe),{skipLocationChange:!1,replaceUrl:!1})}))}return a.rawUrlTree=f.rawUrl,f.resolve(null),dl}),Ny(function(f){var J=f.extras;return a.hooks.beforePreactivation(f.targetSnapshot,{navigationId:f.id,appliedUrlTree:f.extractedUrl,rawUrlTree:f.rawUrl,skipLocationChange:!!J.skipLocationChange,replaceUrl:!!J.replaceUrl})}),Ar(function(f){var m=new IH(f.id,a.serializeUrl(f.extractedUrl),a.serializeUrl(f.urlAfterRedirects),f.targetSnapshot);a.triggerEvent(m)}),qe(function(f){return Object.assign(Object.assign({},f),{guards:jB(f.targetSnapshot,f.currentSnapshot,a.rootContexts)})}),function qB(n,i){return Dn(function(e){var t=e.targetSnapshot,a=e.currentSnapshot,o=e.guards,s=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===s.length?Je(Object.assign(Object.assign({},e),{guardsResult:!0})):function KB(n,i,e,t){return it(n).pipe(Dn(function(a){return function eV(n,i,e,t,a){var o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!o||0===o.length)return Je(!0);var s=o.map(function(l){var f,u=Vp(l,i,a);if(function TB(n){return n&&Ps(n.canDeactivate)}(u))f=Co(u.canDeactivate(n,i,e,t));else{if(!Ps(u))throw new Error("Invalid CanDeactivate guard");f=Co(u(n,i,e,t))}return f.pipe(qu())});return Je(s).pipe(Zd())}(a.component,a.route,e,i,t)}),qu(function(a){return!0!==a},!0))}(l,t,a,n).pipe(Dn(function(u){return u&&function CB(n){return"boolean"==typeof n}(u)?function ZB(n,i,e,t){return it(i).pipe(zu(function(a){return cl(function QB(n,i){return null!==n&&i&&i(new YH(n)),Je(!0)}(a.route.parent,t),function $B(n,i){return null!==n&&i&&i(new BH(n)),Je(!0)}(a.route,t),function XB(n,i,e){var t=i[i.length-1],a=i.slice(0,i.length-1).reverse().map(function(s){return function UB(n){var i=n.routeConfig?n.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:n,guards:i}:null}(s)}).filter(function(s){return null!==s}),o=a.map(function(s){return Sp(function(){var l=s.guards.map(function(u){var m,f=Vp(u,s.node,e);if(function DB(n){return n&&Ps(n.canActivateChild)}(f))m=Co(f.canActivateChild(t,n));else{if(!Ps(f))throw new Error("Invalid CanActivateChild guard");m=Co(f(t,n))}return m.pipe(qu())});return Je(l).pipe(Zd())})});return Je(o).pipe(Zd())}(n,a.path,e),function JB(n,i,e){var t=i.routeConfig?i.routeConfig.canActivate:null;if(!t||0===t.length)return Je(!0);var a=t.map(function(o){return Sp(function(){var l,s=Vp(o,i,e);if(function SB(n){return n&&Ps(n.canActivate)}(s))l=Co(s.canActivate(i,n));else{if(!Ps(s))throw new Error("Invalid CanActivate guard");l=Co(s(i,n))}return l.pipe(qu())})});return Je(a).pipe(Zd())}(n,a.route,e))}),qu(function(a){return!0!==a},!0))}(t,s,n,i):Je(u)}),qe(function(u){return Object.assign(Object.assign({},e),{guardsResult:u})}))})}(a.ngModule.injector,function(f){return a.triggerEvent(f)}),Ar(function(f){if(pl(f.guardsResult)){var m=wy('Redirecting to "'.concat(a.serializeUrl(f.guardsResult),'"'));throw m.url=f.guardsResult,m}var w=new RH(f.id,a.serializeUrl(f.extractedUrl),a.serializeUrl(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);a.triggerEvent(w)}),Vr(function(f){return!!f.guardsResult||(a.restoreHistory(f),a.cancelNavigationTransition(f,""),!1)}),Ny(function(f){if(f.guards.canActivateChecks.length)return Je(f).pipe(Ar(function(m){var w=new FH(m.id,a.serializeUrl(m.extractedUrl),a.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);a.triggerEvent(w)}),da(function(m){var w=!1;return Je(m).pipe(function lV(n,i){return Dn(function(e){var t=e.targetSnapshot,a=e.guards.canActivateChecks;if(!a.length)return Je(e);var o=0;return it(a).pipe(zu(function(s){return function uV(n,i,e,t){return function cV(n,i,e,t){var a=cT(n);if(0===a.length)return Je({});var o={};return it(a).pipe(Dn(function(s){return function dV(n,i,e,t){var a=Vp(n,i,t);return Co(a.resolve?a.resolve(i,e):a(i,e))}(n[s],i,e,t).pipe(Ar(function(l){o[s]=l}))}),Ud(1),Dn(function(){return cT(o).length===a.length?Je(o):dl}))}(n._resolve,n,i,t).pipe(qe(function(o){return n._resolvedData=o,n.data=Object.assign(Object.assign({},n.data),VD(n,e).resolve),null}))}(s.route,t,n,i)}),Ar(function(){return o++}),Ud(1),Dn(function(s){return o===a.length?Je(e):dl}))})}(a.paramsInheritanceStrategy,a.ngModule.injector),Ar({next:function(){return w=!0},complete:function(){w||(a.restoreHistory(m),a.cancelNavigationTransition(m,"At least one route resolver didn't emit any value."))}}))}),Ar(function(m){var w=new NH(m.id,a.serializeUrl(m.extractedUrl),a.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);a.triggerEvent(w)}))}),Ny(function(f){var J=f.extras;return a.hooks.afterPreactivation(f.targetSnapshot,{navigationId:f.id,appliedUrlTree:f.extractedUrl,rawUrlTree:f.rawUrl,skipLocationChange:!!J.skipLocationChange,replaceUrl:!!J.replaceUrl})}),qe(function(f){var m=function cB(n,i,e){var t=Gd(n,i._root,e?e._root:void 0);return new HD(t,i)}(a.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return Object.assign(Object.assign({},f),{targetRouterState:m})}),Ar(function(f){a.currentUrlTree=f.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(f.urlAfterRedirects,f.rawUrl),a.routerState=f.targetRouterState,"deferred"===a.urlUpdateStrategy&&(f.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,f),a.browserUrlTree=f.urlAfterRedirects)}),function(i,e,t){return qe(function(a){return new kB(e,a.targetRouterState,a.currentRouterState,t).activate(i),a})}(a.rootContexts,a.routeReuseStrategy,function(f){return a.triggerEvent(f)}),Ar({next:function(){l=!0},complete:function(){l=!0}}),yD(function(){var f;if(!l&&!u){var m="Navigation ID ".concat(s.id," is not equal to the current navigation id ").concat(a.navigationId);a.cancelNavigationTransition(s,m)}(null===(f=a.currentNavigation)||void 0===f?void 0:f.id)===s.id&&(a.currentNavigation=null)}),qi(function(f){if(u=!0,function UH(n){return n&&n[wD]}(f)){var m=pl(f.url);m||(a.navigated=!0,a.restoreHistory(s,!0));var w=new bD(s.id,a.serializeUrl(s.extractedUrl),f.message);o.next(w),m?setTimeout(function(){var B=a.urlHandlingStrategy.merge(f.url,a.rawUrlTree),J={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||jp(s.source)};a.scheduleNavigation(B,"imperative",null,J,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{a.restoreHistory(s,!0);var R=new OH(s.id,a.serializeUrl(s.extractedUrl),f);o.next(R);try{s.resolve(a.errorHandler(f))}catch(B){s.reject(B)}}return dl}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(a){var o="popstate"===a.type?"popstate":"hashchange";"popstate"===o&&setTimeout(function(){var s,l={replaceUrl:!0},u=(null===(s=a.state)||void 0===s?void 0:s.navigationId)?a.state:null;if(u){var f=Object.assign({},u);delete f.navigationId,delete f.\u0275routerPageId,0!==Object.keys(f).length&&(l.state=f)}var m=t.parseUrl(a.url);t.scheduleNavigation(m,o,u,l)},0)}))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){$D(t),this.config=t.map(Ry),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.relativeTo,s=a.queryParams,l=a.fragment,u=a.queryParamsHandling,f=a.preserveFragment,m=o||this.routerState.root,w=f?this.currentUrlTree.fragment:l,R=null;switch(u){case"merge":R=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":R=this.currentUrlTree.queryParams;break;default:R=s||null}return null!==R&&(R=this.removeEmptyProps(R)),hB(m,this.currentUrlTree,t,R,null!=w?w:null)}},{key:"navigateByUrl",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},o=pl(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,a)}},{key:"navigate",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return bV(t),this.navigateByUrl(this.createUrlTree(t,a),a)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var a;try{a=this.urlSerializer.parse(t)}catch(o){a=this.malformedUriErrorHandler(o,this.urlSerializer,t)}return a}},{key:"isActive",value:function(t,a){var o;if(o=!0===a?Object.assign({},_V):!1===a?Object.assign({},yV):a,pl(t))return ED(this.currentUrlTree,t,o);var s=this.parseUrl(t);return ED(this.currentUrlTree,s,o)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce(function(a,o){var s=t[o];return null!=s&&(a[o]=s),a},{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe(function(a){t.navigated=!0,t.lastSuccessfulId=a.id,t.currentPageId=a.targetPageId,t.events.next(new Ku(a.id,t.serializeUrl(a.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,a.resolve(!0)},function(a){t.console.warn("Unhandled Navigation Error: ".concat(a))})}},{key:"scheduleNavigation",value:function(t,a,o,s,l){var u,f,m;if(this.disposed)return Promise.resolve(!1);var we,Te,pe,w=this.transitions.value,R=jp(a)&&w&&!jp(w.source),B=w.rawUrl.toString()===t.toString(),J=w.id===(null===(u=this.currentNavigation)||void 0===u?void 0:u.id);if(R&&B&&J)return Promise.resolve(!0);l?(we=l.resolve,Te=l.reject,pe=l.promise):pe=new Promise(function(rt,mt){we=rt,Te=mt});var Ye,Fe=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),Ye=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(f=this.browserPageId)&&void 0!==f?f:0:(null!==(m=this.browserPageId)&&void 0!==m?m:0)+1):Ye=0,this.setTransition({id:Fe,targetPageId:Ye,source:a,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:s,resolve:we,reject:Te,promise:pe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),pe.catch(function(rt){return Promise.reject(rt)})}},{key:"setBrowserUrl",value:function(t,a){var o=this.urlSerializer.serialize(t),s=Object.assign(Object.assign({},a.extras.state),this.generateNgRouterState(a.id,a.targetPageId));this.location.isCurrentPathEqualTo(o)||a.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}},{key:"restoreHistory",value:function(t){var o,s,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var l=this.currentPageId-t.targetPageId,u="popstate"===t.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl);u&&0!==l?this.location.historyGo(l):this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===l&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,a){var o=new bD(t.id,this.serializeUrl(t.extractedUrl),a);this.triggerEvent(o),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,a){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":a}:{navigationId:t}}}]),i}();return n.\u0275fac=function(e){Ou()},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function bV(n){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:{};c(this,i),this.router=e,this.viewportScroller=t,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}return d(i,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(a){a instanceof Cy?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=a.navigationTrigger,t.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Ku&&(t.lastId=a.id,t.scheduleScrollEvent(a,t.router.parseUrl(a.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(a){a instanceof CD&&(a.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,a){this.router.triggerEvent(new CD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){Ou()},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ml=new $e("ROUTER_CONFIGURATION"),gT=new $e("ROUTER_FORROOT_GUARD"),wV=[Bu,{provide:AD,useClass:ID},{provide:an,useFactory:function EV(n,i,e,t,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,f=new an(null,n,i,e,t,a,DD(o));return l&&(f.urlHandlingStrategy=l),u&&(f.routeReuseStrategy=u),PV(s,f),s.enableTracing&&f.events.subscribe(function(m){var w,R;null===(w=console.group)||void 0===w||w.call(console,"Router Event: ".concat(m.constructor.name)),console.log(m.toString()),console.log(m),null===(R=console.groupEnd)||void 0===R||R.call(console)}),f},deps:[AD,$d,Bu,Un,ow,Yy,ml,[pV,new Ya],[dT,new Ya]]},$d,{provide:oi,useFactory:function xV(n){return n.routerState.root},deps:[an]},mT,vT,CV,{provide:ml,useValue:{enableTracing:!1}}];function SV(){return new dw("Router",an)}var _T=function(){var n=function(){function i(e,t){c(this,i)}return d(i,null,[{key:"forRoot",value:function(t,a){return{ngModule:i,providers:[wV,yT(t),{provide:gT,useFactory:LV,deps:[[an,new Ya,new du]]},{provide:ml,useValue:a||{}},{provide:Hu,useFactory:TV,deps:[il,[new ph(L_),new Ya],ml]},{provide:By,useFactory:DV,deps:[an,n4,ml]},{provide:pT,useExisting:a&&a.preloadingStrategy?a.preloadingStrategy:vT},{provide:dw,multi:!0,useFactory:SV},[Vy,{provide:h_,multi:!0,useFactory:OV,deps:[Vy]},{provide:bT,useFactory:AV,deps:[Vy]},{provide:iw,multi:!0,useExisting:bT}]]}}},{key:"forChild",value:function(t){return{ngModule:i,providers:[yT(t)]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(gT,8),Le(an,8))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function DV(n,i,e){return e.scrollOffset&&i.setOffset(e.scrollOffset),new By(n,i,e)}function TV(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.useHash?new z3(n,i):new xw(n,i)}function LV(n){return"guarded"}function yT(n){return[{provide:SP,multi:!0,useValue:n},{provide:Yy,multi:!0,useValue:n}]}function PV(n,i){n.errorHandler&&(i.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(i.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(i.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(i.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(i.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(i.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(i.canceledNavigationResolution=n.canceledNavigationResolution)}var Vy=function(){var n=function(){function i(e){c(this,i),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie}return d(i,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(V3,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var o=null,s=new Promise(function(f){return o=f}),l=t.injector.get(an),u=t.injector.get(ml);return"disabled"===u.initialNavigation?(l.setUpLocationChangeListener(),o(!0)):"enabled"===u.initialNavigation||"enabledBlocking"===u.initialNavigation?(l.hooks.afterPreactivation=function(){return t.initNavigation?Je(null):(t.initNavigation=!0,o(!0),t.resultOfPreactivationDone)},l.initialNavigation()):o(!0),s})}},{key:"bootstrapListener",value:function(t){var a=this.injector.get(ml),o=this.injector.get(mT),s=this.injector.get(By),l=this.injector.get(an),u=this.injector.get(Uh);t===u.components[0]&&(("enabledNonBlocking"===a.initialNavigation||void 0===a.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),s.init(),l.resetRootComponentType(u.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Un))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function OV(n){return n.appInitializer.bind(n)}function AV(n){return n.bootstrapListener.bind(n)}var bT=new $e("Router Initializer"),RV=function(n){h(e,n);var i=y(e);function e(t,a){return c(this,e),i.call(this)}return d(e,[{key:"schedule",value:function(a){return this}}]),e}(Ne),Up=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t,a)).scheduler=t,o.work=a,o.pending=!1,o}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=a;var s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,o)),this.pending=!0,this.delay=o,this.id=this.id||this.requestAsyncId(l,this.id,o),this}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(a.flush.bind(a,this),s)}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&this.delay===s&&!1===this.pending)return o;clearInterval(o)}},{key:"execute",value:function(a,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var s=this._execute(a,o);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(a,o){var s=!1,l=void 0;try{this.work(a)}catch(u){s=!0,l=!!u&&u||new Error(u)}if(s)return this.unsubscribe(),l}},{key:"_unsubscribe",value:function(){var a=this.id,o=this.scheduler,s=o.actions,l=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&s.splice(l,1),null!=a&&(this.id=this.recycleAsyncId(o,a,null)),this.delay=null}}]),e}(RV),FV=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t,a)).scheduler=t,o.work=a,o}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o>0?D(O(e.prototype),"schedule",this).call(this,a,o):(this.delay=o,this.state=a,this.scheduler.flush(this),this)}},{key:"execute",value:function(a,o){return o>0||this.closed?D(O(e.prototype),"execute",this).call(this,a,o):this._execute(a,o)}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0||null===s&&this.delay>0?D(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):a.flush(this)}}]),e}(Up),kT=function(){var n=function(){function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;c(this,i),this.SchedulerAction=e,this.now=t}return d(i,[{key:"schedule",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(o,a)}}]),i}();return n.now=function(){return Date.now()},n}(),zp=function(n){h(e,n);var i=y(e);function e(t){var a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kT.now;return c(this,e),(a=i.call(this,t,function(){return e.delegate&&e.delegate!==x(a)?e.delegate.now():o()})).actions=[],a.active=!1,a.scheduled=void 0,a}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;return e.delegate&&e.delegate!==this?e.delegate.schedule(a,o,s):D(O(e.prototype),"schedule",this).call(this,a,o,s)}},{key:"flush",value:function(a){var o=this.actions;if(this.active)o.push(a);else{var s;this.active=!0;do{if(s=a.execute(a.state,a.delay))break}while(a=o.shift());if(this.active=!1,s){for(;a=o.shift();)a.unsubscribe();throw s}}}}]),e}(kT),NV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e)}(zp),YV=new NV(FV),qo=function(){function n(i,e,t){c(this,n),this.kind=i,this.value=e,this.error=t,this.hasValue="N"===i}return d(n,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,a){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return a&&a()}}},{key:"accept",value:function(e,t,a){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,a)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Je(this.value);case"E":return Ri(this.error);case"C":return wp()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new n("N",e):n.undefinedValueNotification}},{key:"createError",value:function(e){return new n("E",void 0,e)}},{key:"createComplete",value:function(){return n.completeNotification}}]),n}();qo.completeNotification=new qo("C"),qo.undefinedValueNotification=new qo("N",void 0);var BV=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return c(this,e),(o=i.call(this,t)).scheduler=a,o.delay=s,o}return d(e,[{key:"scheduleMessage",value:function(a){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new VV(a,this.destination)))}},{key:"_next",value:function(a){this.scheduleMessage(qo.createNext(a))}},{key:"_error",value:function(a){this.scheduleMessage(qo.createError(a)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(qo.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){a.notification.observe(a.destination),this.unsubscribe()}}]),e}(St),VV=d(function n(i,e){c(this,n),this.notification=i,this.destination=e}),qa=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,s=arguments.length>2?arguments[2]:void 0;return c(this,e),(t=i.call(this)).scheduler=s,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=a<1?1:a,t._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return d(e,[{key:"nextInfiniteTimeWindow",value:function(a){var o=this._events;o.push(a),o.length>this._bufferSize&&o.shift(),D(O(e.prototype),"next",this).call(this,a)}},{key:"nextTimeWindow",value:function(a){this._events.push(new jV(this._getNow(),a)),this._trimBufferThenGetEvents(),D(O(e.prototype),"next",this).call(this,a)}},{key:"_subscribe",value:function(a){var f,o=this._infiniteTimeWindow,s=o?this._events:this._trimBufferThenGetEvents(),l=this.scheduler,u=s.length;if(this.closed)throw new Ce;if(this.isStopped||this.hasError?f=Ne.EMPTY:(this.observers.push(a),f=new Pe(this,a)),l&&a.add(a=new BV(a,l)),o)for(var m=0;mo&&(f=Math.max(f,u-o)),f>0&&l.splice(0,f),l}}]),e}(Ie),jV=d(function n(i,e){c(this,n),this.time=i,this.value=e}),MT="refreshSeconds",CT="labelsData",wT="localNodesData",ST="nodesData",si=function(){return function(n){n.Node="nd",n.Transport="tp",n.DmsgServer="ds"}(si||(si={})),si}(),Ki=function(){var n=function(){function i(){var e=this;c(this,i),this.currentRefreshTimeSubject=new qa(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set,this.storage=localStorage,this.currentRefreshTime=parseInt(this.storage.getItem(MT),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(function(o){e.savedLocalNodes.set(o.publicKey,o),o.hidden||e.savedVisibleLocalNodes.add(o.publicKey)}),this.getSavedLabels().forEach(function(o){return e.savedLabels.set(o.id,o)}),this.loadLegacyNodeData();var t=[];this.savedLocalNodes.forEach(function(o){return t.push(o)});var a=[];this.savedLabels.forEach(function(o){return a.push(o)}),this.saveLocalNodes(t),this.saveLabels(a)}return d(i,[{key:"loadLegacyNodeData",value:function(){var t=this,a=JSON.parse(this.storage.getItem(ST))||[];if(a.length>0){var o=this.getSavedLocalNodes(),s=this.getSavedLabels();a.forEach(function(l){o.push({publicKey:l.publicKey,hidden:l.deleted,ip:null}),t.savedLocalNodes.set(l.publicKey,o[o.length-1]),l.deleted||t.savedVisibleLocalNodes.add(l.publicKey),s.push({id:l.publicKey,identifiedElementType:si.Node,label:l.label}),t.savedLabels.set(l.publicKey,s[s.length-1])}),this.saveLocalNodes(o),this.saveLabels(s),this.storage.removeItem(ST)}}},{key:"setRefreshTime",value:function(t){this.storage.setItem(MT,t.toString()),this.currentRefreshTime=t,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}},{key:"getRefreshTimeObservable",value:function(){return this.currentRefreshTimeSubject.asObservable()}},{key:"getRefreshTime",value:function(){return this.currentRefreshTime}},{key:"includeVisibleLocalNodes",value:function(t,a){this.changeLocalNodesHiddenProperty(t,a,!1)}},{key:"setLocalNodesAsHidden",value:function(t,a){this.changeLocalNodesHiddenProperty(t,a,!0)}},{key:"changeLocalNodesHiddenProperty",value:function(t,a,o){var s=this;if(t.length!==a.length)throw new Error("Invalid params");var l=new Map,u=new Map;t.forEach(function(w,R){l.set(w,a[R]),u.set(w,a[R])});var f=!1,m=this.getSavedLocalNodes();m.forEach(function(w){l.has(w.publicKey)&&(u.has(w.publicKey)&&u.delete(w.publicKey),w.ip!==l.get(w.publicKey)&&(w.ip=l.get(w.publicKey),f=!0,s.savedLocalNodes.set(w.publicKey,w)),w.hidden!==o&&(w.hidden=o,f=!0,s.savedLocalNodes.set(w.publicKey,w),o?s.savedVisibleLocalNodes.delete(w.publicKey):s.savedVisibleLocalNodes.add(w.publicKey)))}),u.forEach(function(w,R){f=!0;var B={publicKey:R,hidden:o,ip:w};m.push(B),s.savedLocalNodes.set(R,B),o?s.savedVisibleLocalNodes.delete(R):s.savedVisibleLocalNodes.add(R)}),f&&this.saveLocalNodes(m)}},{key:"getSavedLocalNodes",value:function(){return JSON.parse(this.storage.getItem(wT))||[]}},{key:"getSavedVisibleLocalNodes",value:function(){return this.savedVisibleLocalNodes}},{key:"saveLocalNodes",value:function(t){this.storage.setItem(wT,JSON.stringify(t))}},{key:"getSavedLabels",value:function(){return JSON.parse(this.storage.getItem(CT))||[]}},{key:"saveLabels",value:function(t){this.storage.setItem(CT,JSON.stringify(t))}},{key:"saveLabel",value:function(t,a,o){var s=this;if(a){var f=!1,m=this.getSavedLabels().map(function(R){return R.id===t&&R.identifiedElementType===o&&(f=!0,R.label=a,s.savedLabels.set(R.id,{label:R.label,id:R.id,identifiedElementType:R.identifiedElementType})),R});if(f)this.saveLabels(m);else{var w={label:a,id:t,identifiedElementType:o};m.push(w),this.savedLabels.set(t,w),this.saveLabels(m)}}else{this.savedLabels.has(t)&&this.savedLabels.delete(t);var l=!1,u=this.getSavedLabels().filter(function(R){return R.id!==t||(l=!0,!1)});l&&this.saveLabels(u)}}},{key:"getDefaultLabel",value:function(t){return t?t.ip?t.ip:t.localPk.substr(0,8):""}},{key:"getLabelInfo",value:function(t){return this.savedLabels.has(t)?this.savedLabels.get(t):null}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function Zn(n){return null!=n&&"false"!=="".concat(n)}function Ka(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return UV(n)?Number(n):i}function UV(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Wp(n){return Array.isArray(n)?n:[n]}function Ir(n){return null==n?"":"string"==typeof n?n:"".concat(n,"px")}function Ko(n){return n instanceof yt?n.nativeElement:n}function Ju(n,i,e,t){return He(e)&&(t=e,e=void 0),t?Ju(n,i,e).pipe(qe(function(a){return xe(a)?t.apply(void 0,ae(a)):t(a)})):new fe(function(a){DT(n,i,function o(s){a.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},a,e)})}function DT(n,i,e,t,a){var o;if(function GV(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){var s=n;n.addEventListener(i,e,a),o=function(){return s.removeEventListener(i,e,a)}}else if(function WV(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){var l=n;n.on(i,e),o=function(){return l.off(i,e)}}else if(function zV(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){var u=n;n.addListener(i,e),o=function(){return u.removeListener(i,e)}}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(var f=0,m=n.length;f2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?D(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=requestAnimationFrame(function(){return a.flush(null)})))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return D(O(e.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(cancelAnimationFrame(o),a.scheduled=void 0)}}]),e}(Up),KV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?D(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=TT_setImmediate(a.flush.bind(a,null))))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return D(O(e.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(TT_clearImmediate(o),a.scheduled=void 0)}}]),e}(Up),XV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l=0}function Gp(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,t=-1;return zy(i)?t=Number(i)<1?1:Number(i):ht(i)&&(e=i),ht(e)||(e=Xu),new fe(function(a){var o=zy(n)?n:+n-e.now();return e.schedule(rj,o,{index:0,period:t,subscriber:a})})}function rj(n){var i=n.index,e=n.period,t=n.subscriber;if(t.next(i),!t.closed){if(-1===e)return t.complete();n.index=i+1,this.schedule(n,e)}}function LT(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xu;return ej(function(){return Gp(n,i)})}try{Wy="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Wy=!1}var ec,ef,_l,Gy,Sr=function(){var n=d(function i(e){c(this,i),this._platformId=e,this.isBrowser=this._platformId?function t4(n){return n===$w}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Wy)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT});return n.\u0275fac=function(e){return new(e||n)(Le(Ad))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),ET=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function PT(){if(ec)return ec;if("object"!=typeof document||!document)return ec=new Set(ET);var n=document.createElement("input");return ec=new Set(ET.filter(function(i){return n.setAttribute("type",i),n.type===i}))}function gl(n){return function ij(){if(null==ef&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ef=!0}}))}finally{ef=ef||!1}return ef}()?n:!!n.capture}function aj(){if(null==_l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return _l=!1;if("scrollBehavior"in document.documentElement.style)_l=!0;else{var n=Element.prototype.scrollTo;_l=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return _l}function xT(n){if(function oj(){if(null==Gy){var n="undefined"!=typeof document?document.head:null;Gy=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Gy}()){var i=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function qy(){for(var n="undefined"!=typeof document&&document?document.activeElement:null;n&&n.shadowRoot;){var i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function yl(n){return n.composedPath?n.composedPath()[0]:n.target}function Ky(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var sj=new $e("cdk-dir-doc",{providedIn:"root",factory:function lj(){return od(xt)}}),uj=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,ha=function(){var n=function(){function i(e){c(this,i),this.value="ltr",this.change=new pt,e&&(this.value=function cj(n){var i=(null==n?void 0:n.toLowerCase())||"";return"auto"===i&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?uj.test(navigator.language)?"rtl":"ltr":"rtl"===i?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}return d(i,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(sj,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),tf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),OT=function(){var n=function(){function i(e,t,a){c(this,i),this._ngZone=e,this._platform=t,this._scrolled=new Ie,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}return d(i,[{key:"register",value:function(t){var a=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return a._scrolled.next(t)}))}},{key:"deregister",value:function(t){var a=this.scrollContainers.get(t);a&&(a.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new fe(function(o){t._globalSubscription||t._addGlobalListener();var s=a>0?t._scrolled.pipe(LT(a)).subscribe(o):t._scrolled.subscribe(o);return t._scrolledCount++,function(){s.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Je()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(a,o){return t.deregister(o)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,a){var o=this.getAncestorScrollContainers(t);return this.scrolled(a).pipe(Vr(function(s){return!s||o.indexOf(s)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var a=this,o=[];return this.scrollContainers.forEach(function(s,l){a._scrollableContainsElement(l,t)&&o.push(l)}),o}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,a){var o=Ko(a),s=t.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Ju(t._getWindow().document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(bt),Le(Sr),Le(xt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),bl=function(){var n=function(){function i(e,t,a){var o=this;c(this,i),this._platform=e,this._change=new Ie,this._changeListener=function(s){o._change.next(s)},this._document=a,t.runOutsideAngular(function(){if(e.isBrowser){var s=o._getWindow();s.addEventListener("resize",o._changeListener),s.addEventListener("orientationchange",o._changeListener)}o.change().subscribe(function(){return o._viewportSize=null})})}return d(i,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),a=this.getViewportSize(),o=a.width,s=a.height;return{top:t.top,left:t.left,bottom:t.top+s,right:t.left+o,height:s,width:o}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,a=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||a.scrollY||o.scrollTop||0,left:-s.left||t.body.scrollLeft||a.scrollX||o.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(LT(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Sr),Le(bt),Le(xt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),nf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),AT=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[tf,nf],tf,nf]}),n}(),Zy=function(){function n(){c(this,n)}return d(n,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),n}(),tc=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this)).component=t,l.viewContainerRef=a,l.injector=o,l.componentFactoryResolver=s,l}return d(e)}(Zy),nc=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this)).templateRef=t,s.viewContainerRef=a,s.context=o,s}return d(e,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=o,D(O(e.prototype),"attach",this).call(this,a)}},{key:"detach",value:function(){return this.context=void 0,D(O(e.prototype),"detach",this).call(this)}}]),e}(Zy),hj=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).element=t instanceof yt?t.nativeElement:t,a}return d(e)}(Zy),Kp=function(){function n(){c(this,n),this._isDisposed=!1,this.attachDomPortal=null}return d(n,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof tc?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof nc?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof hj?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),n}(),pj=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l){var u,f;return c(this,e),(f=i.call(this)).outletElement=t,f._componentFactoryResolver=a,f._appRef=o,f._defaultInjector=s,f.attachDomPortal=function(m){var w=m.element,R=f._document.createComment("dom-portal");w.parentNode.insertBefore(R,w),f.outletElement.appendChild(w),f._attachedPortal=m,D((u=x(f),O(e.prototype)),"setDisposeFn",u).call(u,function(){R.parentNode&&R.parentNode.replaceChild(w,R)})},f._document=l,f}return d(e,[{key:"attachComponentPortal",value:function(a){var u,o=this,l=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);return a.viewContainerRef?(u=a.viewContainerRef.createComponent(l,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(function(){return u.destroy()})):(u=l.create(a.injector||this._defaultInjector),this._appRef.attachView(u.hostView),this.setDisposeFn(function(){o._appRef.detachView(u.hostView),u.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(u)),this._attachedPortal=a,u}},{key:"attachTemplatePortal",value:function(a){var o=this,s=a.viewContainerRef,l=s.createEmbeddedView(a.templateRef,a.context);return l.rootNodes.forEach(function(u){return o.outletElement.appendChild(u)}),l.detectChanges(),this.setDisposeFn(function(){var u=s.indexOf(l);-1!==u&&s.remove(u)}),this._attachedPortal=a,l}},{key:"dispose",value:function(){D(O(e.prototype),"dispose",this).call(this),this.outletElement.remove()}},{key:"_getComponentRootNode",value:function(a){return a.hostView.rootNodes[0]}}]),e}(Kp),kl=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l,u;return c(this,t),(u=e.call(this))._componentFactoryResolver=a,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new pt,u.attachDomPortal=function(f){var m=f.element,w=u._document.createComment("dom-portal");f.setAttachedHost(x(u)),m.parentNode.insertBefore(w,m),u._getRootNode().appendChild(m),u._attachedPortal=f,D((l=x(u),O(t.prototype)),"setDisposeFn",l).call(l,function(){w.parentNode&&w.parentNode.replaceChild(m,w)})},u._document=s,u}return d(t,[{key:"portal",get:function(){return this._attachedPortal},set:function(o){this.hasAttached()&&!o&&!this._isInitialized||(this.hasAttached()&&D(O(t.prototype),"detach",this).call(this),o&&D(O(t.prototype),"attach",this).call(this,o),this._attachedPortal=o||null)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){D(O(t.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(o){o.setAttachedHost(this);var s=null!=o.viewContainerRef?o.viewContainerRef:this._viewContainerRef,u=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component),f=s.createComponent(u,s.length,o.injector||s.injector);return s!==this._viewContainerRef&&this._getRootNode().appendChild(f.hostView.rootNodes[0]),D(O(t.prototype),"setDisposeFn",this).call(this,function(){return f.destroy()}),this._attachedPortal=o,this._attachedRef=f,this.attached.emit(f),f}},{key:"attachTemplatePortal",value:function(o){var s=this;o.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(o.templateRef,o.context);return D(O(t.prototype),"setDisposeFn",this).call(this,function(){return s._viewContainerRef.clear()}),this._attachedPortal=o,this._attachedRef=l,this.attached.emit(l),l}},{key:"_getRootNode",value:function(){var o=this._viewContainerRef.element.nativeElement;return o.nodeType===o.ELEMENT_NODE?o:o.parentNode}}]),t}(Kp);return n.\u0275fac=function(e){return new(e||n)(V(Ds),V(ii),V(xt))},n.\u0275dir=et({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[vt]}),n}(),Zp=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function hn(n){return function(i){return i.lift(new vj(n))}}var vj=function(){function n(i){c(this,n),this.notifier=i}return d(n,[{key:"call",value:function(e,t){var a=new mj(e),o=Rn(a,this.notifier);return o&&!a.seenValue?(a.add(o),t.subscribe(a)):a}}]),n}(),mj=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t)).seenValue=!1,a}return d(e,[{key:"notifyNext",value:function(a,o,s,l,u){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),e}(gn),_j=function(){function n(i,e){c(this,n),this.predicate=i,this.inclusive=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new yj(e,this.predicate,this.inclusive))}}]),n}(),yj=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).predicate=a,s.inclusive=o,s.index=0,s}return d(e,[{key:"_next",value:function(a){var s,o=this.destination;try{s=this.predicate(a,this.index++)}catch(l){return void o.error(l)}this.nextOrComplete(a,s)}},{key:"nextOrComplete",value:function(a,o){var s=this.destination;Boolean(o)?s.next(a):(this.inclusive&&s.next(a),s.complete())}}]),e}(St);function Zo(n){for(var i=arguments.length,e=new Array(i>1?i-1:0),t=1;ta.height||t.scrollWidth>a.width}}]),n}(),Oj=function(){function n(i,e,t,a){var o=this;c(this,n),this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=t,this._config=a,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return d(n,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var a=e._viewportRuler.getViewportScrollPosition().top;Math.abs(a-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),n}(),FT=function(){function n(){c(this,n)}return d(n,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),n}();function $y(n,i){return i.some(function(e){return n.bottome.bottom||n.righte.right})}function NT(n,i){return i.some(function(e){return n.tope.bottom||n.lefte.right})}var Aj=function(){function n(i,e,t,a){c(this,n),this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=a,this._scrollSubscription=null}return d(n,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var a=e._overlayRef.overlayElement.getBoundingClientRect(),o=e._viewportRuler.getViewportSize(),s=o.width,l=o.height;$y(a,[{width:s,height:l,bottom:l,right:s,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),n}(),Ij=function(){var n=d(function i(e,t,a,o){var s=this;c(this,i),this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=a,this.noop=function(){return new FT},this.close=function(l){return new Oj(s._scrollDispatcher,s._ngZone,s._viewportRuler,l)},this.block=function(){return new xj(s._viewportRuler,s._document)},this.reposition=function(l){return new Aj(s._scrollDispatcher,s._viewportRuler,s._ngZone,l)},this._document=o});return n.\u0275fac=function(e){return new(e||n)(Le(OT),Le(bl),Le(bt),Le(xt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),sf=d(function n(i){if(c(this,n),this.scrollStrategy=new FT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i)for(var t=0,a=Object.keys(i);tme&&(me=Fe,J=pe)}}catch(Ye){we.e(Ye)}finally{we.f()}return this._isPushed=!1,void this._applyPosition(J.position,J.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Ml(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(YT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&this._platform.isBrowser){var e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();var t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t,a){var o,u;if("center"==a.originX)o=e.left+e.width/2;else{var s=this._isRtl()?e.right:e.left,l=this._isRtl()?e.left:e.right;o="start"==a.originX?s:l}return t.left<0&&(o-=t.left),u="center"==a.originY?e.top+e.height/2:"top"==a.originY?e.top:e.bottom,t.top<0&&(u-=t.top),{x:o,y:u}}},{key:"_getOverlayPoint",value:function(e,t,a){var o;return o="center"==a.overlayX?-t.width/2:"start"===a.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+o,y:e.y+("center"==a.overlayY?-t.height/2:"top"==a.overlayY?0:-t.height)}}},{key:"_getOverlayFit",value:function(e,t,a,o){var s=BT(t),l=e.x,u=e.y,f=this._getOffset(o,"x"),m=this._getOffset(o,"y");f&&(l+=f),m&&(u+=m);var B=0-u,J=u+s.height-a.height,me=this._subtractOverflows(s.width,0-l,l+s.width-a.width),we=this._subtractOverflows(s.height,B,J),Te=me*we;return{visibleArea:Te,isCompletelyWithinViewport:s.width*s.height===Te,fitsInViewportVertically:we===s.height,fitsInViewportHorizontally:me==s.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,a){if(this._hasFlexibleDimensions){var o=a.bottom-t.y,s=a.right-t.x,l=HT(this._overlayRef.getConfig().minHeight),u=HT(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=l&&l<=o)&&(e.fitsInViewportHorizontally||null!=u&&u<=s)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,a){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var w,R,o=BT(t),s=this._viewportRect,l=Math.max(e.x+o.width-s.width,0),u=Math.max(e.y+o.height-s.height,0),f=Math.max(s.top-a.top-e.y,0),m=Math.max(s.left-a.left-e.x,0);return this._previousPushAmount={x:w=o.width<=s.width?m||-l:e.xm&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.y-m/2)}if("end"===t.overlayX&&!o||"start"===t.overlayX&&o)me=a.width-e.x+this._viewportMargin,B=e.x-this._viewportMargin;else if("start"===t.overlayX&&!o||"end"===t.overlayX&&o)J=e.x,B=a.right-e.x;else{var we=Math.min(a.right-e.x+a.left,e.x),Te=this._lastBoundingBoxSize.width;J=e.x-we,(B=2*we)>Te&&!this._isInitialRender&&!this._growAfterOpen&&(J=e.x-Te/2)}return{top:l,left:J,bottom:u,right:me,width:B,height:s}}},{key:"_setBoundingBoxStyles",value:function(e,t){var a=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{var s=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=Ir(a.height),o.top=Ir(a.top),o.bottom=Ir(a.bottom),o.width=Ir(a.width),o.left=Ir(a.left),o.right=Ir(a.right),o.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",o.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Ir(s)),l&&(o.maxWidth=Ir(l))}this._lastBoundingBoxSize=a,Ml(this._boundingBox.style,o)}},{key:"_resetBoundingBoxStyles",value:function(){Ml(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Ml(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var a={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){var u=this._viewportRuler.getViewportScrollPosition();Ml(a,this._getExactOverlayY(t,e,u)),Ml(a,this._getExactOverlayX(t,e,u))}else a.position="static";var f="",m=this._getOffset(t,"x"),w=this._getOffset(t,"y");m&&(f+="translateX(".concat(m,"px) ")),w&&(f+="translateY(".concat(w,"px)")),a.transform=f.trim(),l.maxHeight&&(o?a.maxHeight=Ir(l.maxHeight):s&&(a.maxHeight="")),l.maxWidth&&(o?a.maxWidth=Ir(l.maxWidth):s&&(a.maxWidth="")),Ml(this._pane.style,a)}},{key:"_getExactOverlayY",value:function(e,t,a){var o={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"bottom"===e.overlayY?o.bottom="".concat(this._document.documentElement.clientHeight-(s.y+this._overlayRect.height),"px"):o.top=Ir(s.y),o}},{key:"_getExactOverlayX",value:function(e,t,a){var o={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?o.right="".concat(this._document.documentElement.clientWidth-(s.x+this._overlayRect.width),"px"):o.left=Ir(s.x),o}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),a=this._scrollables.map(function(o){return o.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:NT(e,a),isOriginOutsideView:$y(e,a),isOverlayClipped:NT(t,a),isOverlayOutsideView:$y(t,a)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,a=this._overlayRef.getConfig(),o=a.width,s=a.height,l=a.maxWidth,u=a.maxHeight,f=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),m=!("100%"!==s&&"100vh"!==s||u&&"100%"!==u&&"100vh"!==u);e.position=this._cssPosition,e.marginLeft=f?"0":this._leftOffset,e.marginTop=m?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,f?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=m?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,a=t.style;t.classList.remove(VT),a.justifyContent=a.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),n}(),Bj=function(){var n=function(){function i(e,t,a,o){c(this,i),this._viewportRuler=e,this._document=t,this._platform=a,this._overlayContainer=o}return d(i,[{key:"global",value:function(){return new Hj}},{key:"flexibleConnectedTo",value:function(t){return new Yj(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(bl),Le(xt),Le(Sr),Le(Qy))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),jT=function(){var n=function(){function i(e){c(this,i),this._attachedOverlays=[],this._document=e}return d(i,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var a=this._attachedOverlays.indexOf(t);a>-1&&this._attachedOverlays.splice(a,1),0===this._attachedOverlays.length&&this.detach()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(xt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Vj=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this,a))._ngZone=o,s._keydownListener=function(l){for(var u=s._attachedOverlays,f=u.length-1;f>-1&&!(u[f]._keydownEvents.observers.length>0&&"break"===function(){var w=u[f]._keydownEvents;return s._ngZone?s._ngZone.run(function(){return w.next(l)}):w.next(l),"break"}());f--);},s}return d(t,[{key:"add",value:function(o){var s=this;D(O(t.prototype),"add",this).call(this,o),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return s._document.body.addEventListener("keydown",s._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),t}(jT);return n.\u0275fac=function(e){return new(e||n)(Le(xt),Le(bt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),jj=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l;return c(this,t),(l=e.call(this,a))._platform=o,l._ngZone=s,l._cursorStyleIsSet=!1,l._pointerDownListener=function(u){l._pointerDownEventTarget=yl(u)},l._clickListener=function(u){var f=yl(u),m="click"===u.type&&l._pointerDownEventTarget?l._pointerDownEventTarget:f;l._pointerDownEventTarget=null;for(var w=l._attachedOverlays.slice(),R=function(we){var Te=w[we];if(Te._outsidePointerEvents.observers.length<1||!Te.hasAttached())return"continue";if(Te.overlayElement.contains(f)||Te.overlayElement.contains(m))return"break";var pe=Te._outsidePointerEvents;l._ngZone?l._ngZone.run(function(){return pe.next(u)}):pe.next(u)},B=w.length-1;B>-1;B--){var J=R(B);if("continue"!==J&&"break"===J)break}},l}return d(t,[{key:"add",value:function(o){var s=this;if(D(O(t.prototype),"add",this).call(this,o),!this._isAttached){var l=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(function(){return s._addEventListeners(l)}):this._addEventListeners(l),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=l.style.cursor,l.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var o=this._document.body;o.removeEventListener("pointerdown",this._pointerDownListener,!0),o.removeEventListener("click",this._clickListener,!0),o.removeEventListener("auxclick",this._clickListener,!0),o.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(o.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}},{key:"_addEventListeners",value:function(o){o.addEventListener("pointerdown",this._pointerDownListener,!0),o.addEventListener("click",this._clickListener,!0),o.addEventListener("auxclick",this._clickListener,!0),o.addEventListener("contextmenu",this._clickListener,!0)}}]),t}(jT);return n.\u0275fac=function(e){return new(e||n)(Le(xt),Le(Sr),Le(bt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Uj=0,xa=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,w,R){c(this,i),this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=a,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=l,this._ngZone=u,this._document=f,this._directionality=m,this._location=w,this._outsideClickDispatcher=R}return d(i,[{key:"create",value:function(t){var a=this._createHostElement(),o=this._createPaneElement(a),s=this._createPortalOutlet(o),l=new sf(t);return l.direction=l.direction||this._directionality.value,new Fj(s,a,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var a=this._document.createElement("div");return a.id="cdk-overlay-".concat(Uj++),a.classList.add("cdk-overlay-pane"),t.appendChild(a),a}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(Uh)),new pj(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Ij),Le(Qy),Le(Ds),Le(Bj),Le(Vj),Le(Un),Le(bt),Le(xt),Le(ha),Le(Bu),Le(jj))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),zj=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],UT=new $e("cdk-connected-overlay-scroll-strategy"),zT=function(){var n=d(function i(e){c(this,i),this.elementRef=e});return n.\u0275fac=function(e){return new(e||n)(V(yt))},n.\u0275dir=et({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n}(),WT=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ne.EMPTY,this._attachSubscription=Ne.EMPTY,this._detachSubscription=Ne.EMPTY,this._positionSubscription=Ne.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new pt,this.positionChange=new pt,this.attach=new pt,this.detach=new pt,this.overlayKeydown=new pt,this.overlayOutsideClick=new pt,this._templatePortal=new nc(t,a),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return d(i,[{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Zn(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=Zn(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=Zn(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=Zn(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=Zn(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;(!this.positions||!this.positions.length)&&(this.positions=zj);var a=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=a.attachments().subscribe(function(){return t.attach.emit()}),this._detachSubscription=a.detachments().subscribe(function(){return t.detach.emit()}),a.keydownEvents().subscribe(function(o){t.overlayKeydown.next(o),27===o.keyCode&&!t.disableClose&&!Zo(o)&&(o.preventDefault(),t._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(o){t.overlayOutsideClick.next(o)})}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),a=new sf({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(a.width=this.width),(this.height||0===this.height)&&(a.height=this.height),(this.minWidth||0===this.minWidth)&&(a.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}},{key:"_updatePositionStrategy",value:function(t){var a=this,o=this.positions.map(function(s){return{originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||a.offsetX,offsetY:s.offsetY||a.offsetY,panelClass:s.panelClass||void 0}});return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}},{key:"_getFlexibleConnectedPositionStrategyOrigin",value:function(){return this.origin instanceof zT?this.origin.elementRef:this.origin}},{key:"_attachOverlay",value:function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(a){t.backdropClick.emit(a)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function gj(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){return e.lift(new _j(n,i))}}(function(){return t.positionChange.observers.length>0})).subscribe(function(a){t.positionChange.emit(a),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(xa),V(xi),V(ii),V(UT),V(ha,8))},n.\u0275dir=et({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Fr]}),n}(),Gj={provide:UT,deps:[xa],useFactory:function Wj(n){return function(){return n.scrollStrategies.reposition()}}},lf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[xa,Gj],imports:[[tf,Zp,AT],AT]}),n}();function Jy(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xu;return function(e){return e.lift(new qj(n,i))}}var qj=function(){function n(i,e){c(this,n),this.dueTime=i,this.scheduler=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Kj(e,this.dueTime,this.scheduler))}}]),n}(),Kj=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).dueTime=a,s.scheduler=o,s.debouncedSubscription=null,s.lastValue=null,s.hasValue=!1,s}return d(e,[{key:"_next",value:function(a){this.clearDebounce(),this.lastValue=a,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Zj,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var a=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(a)}}},{key:"clearDebounce",value:function(){var a=this.debouncedSubscription;null!==a&&(this.remove(a),a.unsubscribe(),this.debouncedSubscription=null)}}]),e}(St);function Zj(n){n.debouncedNext()}function qT(n){return function(i){return i.lift(new $j(n))}}var $j=function(){function n(i){c(this,n),this.total=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Qj(e,this.total))}}]),n}(),Qj=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).total=a,o.count=0,o}return d(e,[{key:"_next",value:function(a){++this.count>this.total&&this.destination.next(a)}}]),e}(St);function Xy(n,i){return function(e){return e.lift(new Jj(n,i))}}var Jj=function(){function n(i,e){c(this,n),this.compare=i,this.keySelector=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Xj(e,this.compare,this.keySelector))}}]),n}(),Xj=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).keySelector=o,s.hasKey=!1,"function"==typeof a&&(s.compare=a),s}return d(e,[{key:"compare",value:function(a,o){return a===o}},{key:"_next",value:function(a){var o;try{var s=this.keySelector;o=s?s(a):a}catch(f){return this.destination.error(f)}var l=!1;if(this.hasKey)try{l=(0,this.compare)(this.key,o)}catch(f){return this.destination.error(f)}else this.hasKey=!0;l||(this.key=o,this.destination.next(a))}}]),e}(St),KT=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),e8=function(){var n=function(){function i(e){c(this,i),this._mutationObserverFactory=e,this._observedElements=new Map}return d(i,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach(function(a,o){return t._cleanupObserver(o)})}},{key:"observe",value:function(t){var a=this,o=Ko(t);return new fe(function(s){var u=a._observeElement(o).subscribe(s);return function(){u.unsubscribe(),a._unobserveElement(o)}})}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var a=new Ie,o=this._mutationObserverFactory.create(function(s){return a.next(s)});o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:a,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var a=this._observedElements.get(t),o=a.observer,s=a.stream;o&&o.disconnect(),s.complete(),this._observedElements.delete(t)}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(KT))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),eb=function(){var n=function(){function i(e,t,a){c(this,i),this._contentObserver=e,this._elementRef=t,this._ngZone=a,this.event=new pt,this._disabled=!1,this._currentSubscription=null}return d(i,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Zn(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=Ka(t),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?a.pipe(Jy(t.debounce)):a).subscribe(t.event)})}},{key:"_unsubscribe",value:function(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(e8),V(yt),V(bt))},n.\u0275dir=et({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n}(),tv=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[KT]}),n}();function nv(n,i){return(n.getAttribute(i)||"").match(/\S+/g)||[]}var $T="cdk-describedby-message",rv="cdk-describedby-host",QT=0,r8=function(){var n=function(){function i(e,t){c(this,i),this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat(QT++),this._document=e}return d(i,[{key:"describe",value:function(t,a,o){if(this._canBeDescribed(t,a)){var s=tb(a,o);"string"!=typeof a?(JT(a),this._messageRegistry.set(s,{messageElement:a,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(a,o),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}}},{key:"removeDescription",value:function(t,a,o){var s;if(a&&this._isElementNode(t)){var l=tb(a,o);if(this._isElementDescribedByMessage(t,l)&&this._removeMessageReference(t,l),"string"==typeof a){var u=this._messageRegistry.get(l);u&&0===u.referenceCount&&this._deleteMessageElement(l)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}}},{key:"ngOnDestroy",value:function(){for(var t,a=this._document.querySelectorAll("[".concat(rv,'="').concat(this._id,'"]')),o=0;o-1&&o!==e._activeItemIndex&&(e._activeItemIndex=o)}})}return d(n,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ar(function(a){return e._pressedLetters.push(a)}),Jy(t),Vr(function(){return e._pressedLetters.length>0}),qe(function(){return e._pressedLetters.join("")})).subscribe(function(a){for(var o=e._getItemsArray(),s=1;s0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,a=e.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(function(l){return!e[l]||t._allowedModifierKeys.indexOf(l)>-1});switch(a){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Zo(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(a>=65&&a<=90||a>=48&&a<=57)&&this._letterKeyStream.next(String.fromCharCode(a))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),a="number"==typeof e?e:t.indexOf(e),o=t[a];this._activeItem=null==o?null:o,this._activeItemIndex=a}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),a=1;a<=t.length;a++){var o=(this._activeItemIndex+e*a+t.length)%t.length;if(!this._skipPredicateFn(t[o]))return void this.setActiveItem(o)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var a=this._getItemsArray();if(a[e]){for(;this._skipPredicateFn(a[e]);)if(!a[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Pd?this._items.toArray():this._items}}]),n}(),i8=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"setActiveItem",value:function(a){this.activeItem&&this.activeItem.setInactiveStyles(),D(O(e.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.setActiveStyles()}}]),e}(XT),e2=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments))._origin="program",t}return d(e,[{key:"setFocusOrigin",value:function(a){return this._origin=a,this}},{key:"setActiveItem",value:function(a){D(O(e.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.focus(this._origin)}}]),e}(XT),t2=function(){var n=function(){function i(e){c(this,i),this._platform=e}return d(i,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function o8(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var a=function a8(n){try{return n.frameElement}catch(i){return null}}(function p8(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(t));if(a&&(-1===r2(a)||!this.isVisible(a)))return!1;var o=t.nodeName.toLowerCase(),s=r2(t);return t.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function f8(n){var i=n.nodeName.toLowerCase(),e="input"===i&&n.type;return"text"===e||"password"===e||"select"===i||"textarea"===i}(t))&&("audio"===o?!!t.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,a){return function h8(n){return!function l8(n){return function c8(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function s8(n){var i=n.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(n)||function u8(n){return function d8(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||n2(n))}(t)&&!this.isDisabled(t)&&((null==a?void 0:a.ignoreVisibility)||this.isVisible(t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Sr))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function n2(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;var i=n.getAttribute("tabindex");return!(!i||isNaN(parseInt(i,10)))}function r2(n){if(!n2(n))return null;var i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}var v8=function(){function n(i,e,t,a){var o=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];c(this,n),this._element=i,this._checker=e,this._ngZone=t,this._document=a,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,s||this.attachAnchors()}return d(n,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]"));return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(e){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){var a=this._getFirstTabbableElement(t);return null==a||a.focus(e),!!a}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}},{key:"focusFirstTabbableElement",value:function(e){var t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}},{key:"focusLastTabbableElement",value:function(e){var t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children,a=0;a=0;a--){var o=t[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[a]):null;if(o)return o}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(tr(1)).subscribe(e)}}]),n}(),m8=function(){var n=function(){function i(e,t,a){c(this,i),this._checker=e,this._ngZone=t,this._document=a}return d(i,[{key:"create",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new v8(t,this._checker,this._ngZone,this._document,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(t2),Le(bt),Le(xt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function nb(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function rb(n){var i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}var g8=new $e("cdk-input-modality-detector-options"),_8={ignoreKeys:[18,17,224,91,16]},rc=gl({passive:!0,capture:!0}),y8=function(){var n=function(){function i(e,t,a,o){var s=this;c(this,i),this._platform=e,this._mostRecentTarget=null,this._modality=new jr(null),this._lastTouchMs=0,this._onKeydown=function(l){var u,f;(null===(f=null===(u=s._options)||void 0===u?void 0:u.ignoreKeys)||void 0===f?void 0:f.some(function(m){return m===l.keyCode}))||(s._modality.next("keyboard"),s._mostRecentTarget=yl(l))},this._onMousedown=function(l){Date.now()-s._lastTouchMs<650||(s._modality.next(nb(l)?"keyboard":"mouse"),s._mostRecentTarget=yl(l))},this._onTouchstart=function(l){rb(l)?s._modality.next("keyboard"):(s._lastTouchMs=Date.now(),s._modality.next("touch"),s._mostRecentTarget=yl(l))},this._options=Object.assign(Object.assign({},_8),o),this.modalityDetected=this._modality.pipe(qT(1)),this.modalityChanged=this.modalityDetected.pipe(Xy()),e.isBrowser&&t.runOutsideAngular(function(){a.addEventListener("keydown",s._onKeydown,rc),a.addEventListener("mousedown",s._onMousedown,rc),a.addEventListener("touchstart",s._onTouchstart,rc)})}return d(i,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,rc),document.removeEventListener("mousedown",this._onMousedown,rc),document.removeEventListener("touchstart",this._onTouchstart,rc))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Sr),Le(bt),Le(xt),Le(g8,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),b8=new $e("liveAnnouncerElement",{providedIn:"root",factory:function k8(){return null}}),M8=new $e("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),ib=function(){var n=function(){function i(e,t,a,o){c(this,i),this._ngZone=t,this._defaultOptions=o,this._document=a,this._liveElement=e||this._createLiveElement()}return d(i,[{key:"announce",value:function(t){for(var s,l,a=this,o=this._defaultOptions,u=arguments.length,f=new Array(u>1?u-1:0),m=1;m1&&void 0!==arguments[1]&&arguments[1],o=Ko(t);if(!this._platform.isBrowser||1!==o.nodeType)return Je(null);var s=xT(o)||this._getDocument(),l=this._elementInfo.get(o);if(l)return a&&(l.checkChildren=!0),l.subject;var u={checkChildren:a,subject:new Ie,rootNode:s};return this._elementInfo.set(o,u),this._registerGlobalListeners(u),u.subject}},{key:"stopMonitoring",value:function(t){var a=Ko(t),o=this._elementInfo.get(a);o&&(o.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(o))}},{key:"focusVia",value:function(t,a,o){var s=this,l=Ko(t);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(function(f){var m=ne(f,2);return s._originChanged(m[0],a,m[1])}):(this._setOrigin(a),"function"==typeof l.focus&&l.focus(o))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(a,o){return t.stopMonitoring(o)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(t,a){t.classList.toggle("cdk-focused",!!a),t.classList.toggle("cdk-touch-focused","touch"===a),t.classList.toggle("cdk-keyboard-focused","keyboard"===a),t.classList.toggle("cdk-mouse-focused","mouse"===a),t.classList.toggle("cdk-program-focused","program"===a)}},{key:"_setOrigin",value:function(t){var a=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){a._origin=t,a._originFromTouchInteraction="touch"===t&&o,0===a._detectionMode&&(clearTimeout(a._originTimeoutId),a._originTimeoutId=setTimeout(function(){return a._origin=null},a._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,a){var o=this._elementInfo.get(a),s=yl(t);!o||!o.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),o)}},{key:"_onBlur",value:function(t,a){var o=this._elementInfo.get(a);!o||o.checkChildren&&t.relatedTarget instanceof Node&&a.contains(t.relatedTarget)||(this._setClasses(a),this._emitOrigin(o.subject,null))}},{key:"_emitOrigin",value:function(t,a){this._ngZone.run(function(){return t.next(a)})}},{key:"_registerGlobalListeners",value:function(t){var a=this;if(this._platform.isBrowser){var o=t.rootNode,s=this._rootNodeFocusListenerCount.get(o)||0;s||this._ngZone.runOutsideAngular(function(){o.addEventListener("focus",a._rootNodeFocusAndBlurListener,iv),o.addEventListener("blur",a._rootNodeFocusAndBlurListener,iv)}),this._rootNodeFocusListenerCount.set(o,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){a._getWindow().addEventListener("focus",a._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(hn(this._stopInputModalityDetector)).subscribe(function(l){a._setOrigin(l,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var a=t.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var o=this._rootNodeFocusListenerCount.get(a);o>1?this._rootNodeFocusListenerCount.set(a,o-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,iv),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,iv),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,a,o){this._setClasses(t,a),this._emitOrigin(o.subject,a),this._lastFocusOrigin=a}},{key:"_getClosestElementsInfo",value:function(t){var a=[];return this._elementInfo.forEach(function(o,s){(s===t||o.checkChildren&&s.contains(t))&&a.push([s,o])}),a}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(bt),Le(Sr),Le(y8),Le(xt,8),Le(C8,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),w8=function(){var n=function(){function i(e,t){c(this,i),this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new pt}return d(i,[{key:"ngAfterViewInit",value:function(){var t=this,a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,1===a.nodeType&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(o){return t.cdkFocusChange.emit(o)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(yt),V(xs))},n.\u0275dir=et({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n}(),o2="cdk-high-contrast-black-on-white",s2="cdk-high-contrast-white-on-black",ab="cdk-high-contrast-active",l2=function(){var n=function(){function i(e,t){c(this,i),this._platform=e,this._document=t}return d(i,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var a=this._document.defaultView||window,o=a&&a.getComputedStyle?a.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove(ab),t.remove(o2),t.remove(s2),this._hasCheckedHighContrastMode=!0;var a=this.getHighContrastMode();1===a?(t.add(ab),t.add(o2)):2===a&&(t.add(ab),t.add(s2))}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Sr),Le(xt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),u2=function(){var n=d(function i(e){c(this,i),e._applyBodyHighContrastModeCssClasses()});return n.\u0275fac=function(e){return new(e||n)(Le(l2))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[tv]]}),n}();function S8(n,i){if(1&n&&Ee(0,"mat-pseudo-checkbox",4),2&n){var e=q();L("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D8(n,i){if(1&n&&(P(0,"span",5),F(1),E()),2&n){var e=q();v(1),Me("(",e.group.label,")")}}var T8=["*"],E8=new $e("mat-sanity-checks",{providedIn:"root",factory:function L8(){return!0}}),Pn=function(){var n=function(){function i(e,t,a){c(this,i),this._sanityChecks=t,this._document=a,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}return d(i,[{key:"_checkIsEnabled",value:function(t){return!Ky()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(l2),Le(E8,8),Le(xt))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[tf],tf]}),n}();function ic(n){return function(i){h(t,i);var e=y(t);function t(){var a;c(this,t);for(var o=arguments.length,s=new Array(o),l=0;l1&&void 0!==arguments[1]?arguments[1]:0;return function(e){h(a,e);var t=y(a);function a(){var o;c(this,a);for(var s=arguments.length,l=new Array(s),u=0;u2&&void 0!==arguments[2]?arguments[2]:{},s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},h2),o.animation);o.centered&&(e=s.left+s.width/2,t=s.top+s.height/2);var u=o.radius||F8(e,t,s),f=e-s.left,m=t-s.top,w=l.enterDuration,R=document.createElement("div");R.classList.add("mat-ripple-element"),R.style.left="".concat(f-u,"px"),R.style.top="".concat(m-u,"px"),R.style.height="".concat(2*u,"px"),R.style.width="".concat(2*u,"px"),null!=o.color&&(R.style.backgroundColor=o.color),R.style.transitionDuration="".concat(w,"ms"),this._containerElement.appendChild(R),R8(R),R.style.transform="scale(1)";var B=new O8(this,R,o);return B.state=0,this._activeRipples.add(B),o.persistent||(this._mostRecentTransientRipple=B),this._runTimeoutOutsideZone(function(){var J=B===a._mostRecentTransientRipple;B.state=1,!o.persistent&&(!J||!a._isPointerDown)&&B.fadeOut()},w),B}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var a=e.element,o=Object.assign(Object.assign({},h2),e.config.animation);a.style.transitionDuration="".concat(o.exitDuration,"ms"),a.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,a.remove()},o.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=Ko(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(p2))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(v2),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=nb(e),a=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(a){t._triggerElement.addEventListener(a,t,ob)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(p2.forEach(function(t){e._triggerElement.removeEventListener(t,e,ob)}),this._pointerUpEventsRegistered&&v2.forEach(function(t){e._triggerElement.removeEventListener(t,e,ob)}))}}]),n}();function R8(n){window.getComputedStyle(n).getPropertyValue("opacity")}function F8(n,i,e){var t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),a=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(t*t+a*a)}var m2=new $e("mat-ripple-global-options"),$o=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new I8(this,t,e,a)}return d(i,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,a,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(yt),V(bt),V(Sr),V(m2,8),V(_i,8))},n.\u0275dir=et({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&fn("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n}(),df=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn],Pn]}),n}(),N8=function(){var n=d(function i(e){c(this,i),this._animationMode=e,this.state="unchecked",this.disabled=!1});return n.\u0275fac=function(e){return new(e||n)(V(_i,8))},n.\u0275cmp=We({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&fn("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n}(),Y8=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn]]}),n}(),g2=new $e("MAT_OPTION_PARENT_COMPONENT"),_2=new $e("MatOptgroup"),H8=0,B8=d(function n(i){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(this,n),this.source=i,this.isUserInput=e}),V8=function(){var n=function(){function i(e,t,a,o){c(this,i),this._element=e,this._changeDetectorRef=t,this._parent=a,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(H8++),this.onSelectionChange=new pt,this._stateChanges=new Ie}return d(i,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=Zn(t)}},{key:"disableRipple",get:function(){return!(!this._parent||!this._parent.disableRipple)}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,a){var o=this._getHostElement();"function"==typeof o.focus&&o.focus(a)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){(13===t.keyCode||32===t.keyCode)&&!Zo(t)&&(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new B8(this,t))}}]),i}();return n.\u0275fac=function(e){Ou()},n.\u0275dir=et({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n}(),oc=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){return c(this,t),e.call(this,a,o,s,l)}return d(t)}(V8);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(Kn),V(g2,8),V(_2,8))},n.\u0275cmp=We({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Se("click",function(){return t._selectViaInteraction()})("keydown",function(o){return t._handleKeydown(o)}),2&e&&(el("id",t.id),Gt("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),fn("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[vt],ngContentSelectors:T8,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(Wi(),K(0,S8,1,2,"mat-pseudo-checkbox",0),P(1,"span",1),hr(2),E(),K(3,D8,2,1,"span",2),Ee(4,"div",3)),2&e&&(L("ngIf",t.multiple),v(3),L("ngIf",t.group&&t.group._inert),v(1),L("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[N8,Et,$o],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n}();function y2(n,i,e){if(e.length){for(var t=i.toArray(),a=e.toArray(),o=0,s=0;s*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n}(),q8=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,o,a,s))._ngZone=l,u._haltDisabledEvents=function(f){u.disabled&&(f.preventDefault(),f.stopImmediatePropagation())},u}return d(t,[{key:"ngAfterViewInit",value:function(){var o=this;D(O(t.prototype),"ngAfterViewInit",this).call(this),this._ngZone?this._ngZone.runOutsideAngular(function(){o._elementRef.nativeElement.addEventListener("click",o._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}},{key:"ngOnDestroy",value:function(){D(O(t.prototype),"ngOnDestroy",this).call(this),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}]),t}(yi);return n.\u0275fac=function(e){return new(e||n)(V(xs),V(yt),V(_i,8),V(bt,8))},n.\u0275cmp=We({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){2&e&&(Gt("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),fn("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[vt],attrs:k2,ngContentSelectors:M2,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(Wi(),P(0,"span",0),hr(1),E(),Ee(2,"span",1)(3,"span",2)),2&e&&(v(2),fn("mat-button-ripple-round",t.isRoundButton||t.isIconButton),L("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[$o],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n}(),C2=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[df,Pn],Pn]}),n}(),w2=new Set,K8=function(){var n=function(){function i(e){c(this,i),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$8}return d(i,[{key:"matchMedia",value:function(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function Z8(n){if(!w2.has(n))try{sc||((sc=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(sc)),sc.sheet&&(sc.sheet.insertRule("@media ".concat(n," {body{ }}"),0),w2.add(n))}catch(i){console.error(i)}}(t),this._matchMedia(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Sr))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function $8(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var sb=function(){var n=function(){function i(e,t){c(this,i),this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Ie}return d(i,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var a=this;return S2(Wp(t)).some(function(s){return a._registerQuery(s).mql.matches})}},{key:"observe",value:function(t){var a=this,l=mD(S2(Wp(t)).map(function(u){return a._registerQuery(u).observable}));return(l=cl(l.pipe(tr(1)),l.pipe(qT(1),Jy(0)))).pipe(qe(function(u){var f={matches:!1,breakpoints:{}};return u.forEach(function(m){var w=m.matches,R=m.query;f.matches=f.matches||w,f.breakpoints[R]=w}),f}))}},{key:"_registerQuery",value:function(t){var a=this;if(this._queries.has(t))return this._queries.get(t);var o=this._mediaMatcher.matchMedia(t),l={observable:new fe(function(u){var f=function(w){return a._zone.run(function(){return u.next(w)})};return o.addListener(f),function(){o.removeListener(f)}}).pipe(fa(o),qe(function(u){return{query:t,matches:u.matches}}),hn(this._destroySubject)),mql:o};return this._queries.set(t,l),l}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(K8),Le(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function S2(n){return n.map(function(i){return i.split(",")}).reduce(function(i,e){return i.concat(e)}).map(function(i){return i.trim()})}function Q8(n,i){if(1&n){var e=tt();P(0,"div",2)(1,"button",3),Se("click",function(){return ke(e),q().action()}),F(2),E()()}if(2&n){var t=q();v(2),_e(t.data.action)}}function J8(n,i){}var lb=new $e("MatSnackBarData"),ov=d(function n(){c(this,n),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}),X8=Math.pow(2,31)-1,sv=function(){function n(i,e){var t=this;c(this,n),this._overlayRef=e,this._afterDismissed=new Ie,this._afterOpened=new Ie,this._onAction=new Ie,this._dismissedByAction=!1,this.containerInstance=i,this.onAction().subscribe(function(){return t.dismiss()}),i._onExit.subscribe(function(){return t._finishDismiss()})}return d(n,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(e){var t=this;this._durationTimeoutId=setTimeout(function(){return t.dismiss()},Math.min(e,X8))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),n}(),e6=function(){var n=function(){function i(e,t){c(this,i),this.snackBarRef=e,this.data=t}return d(i,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(sv),V(lb))},n.\u0275cmp=We({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(P(0,"span",0),F(1),E(),K(2,Q8,3,1,"div",1)),2&e&&(v(1),_e(t.data.message),v(1),L("ngIf",t.hasAction))},directives:[yi,Et],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),n}(),t6={snackBarState:zo("state",[Ii("void, hidden",kn({transform:"scale(0.8)",opacity:0})),Ii("visible",kn({transform:"scale(1)",opacity:1})),gi("* => visible",Ai("150ms cubic-bezier(0, 0, 0.2, 1)")),gi("* => void, * => hidden",Ai("75ms cubic-bezier(0.4, 0.0, 1, 1)",kn({opacity:0})))])},n6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f;return c(this,t),(f=e.call(this))._ngZone=a,f._elementRef=o,f._changeDetectorRef=s,f._platform=l,f.snackBarConfig=u,f._announceDelay=150,f._destroyed=!1,f._onAnnounce=new Ie,f._onExit=new Ie,f._onEnter=new Ie,f._animationState="void",f.attachDomPortal=function(m){return f._assertNotAttached(),f._applySnackBarClasses(),f._portalOutlet.attachDomPortal(m)},f._live="assertive"!==u.politeness||u.announcementMessage?"off"===u.politeness?"off":"polite":"assertive",f._platform.FIREFOX&&("polite"===f._live&&(f._role="status"),"assertive"===f._live&&(f._role="alert")),f}return d(t,[{key:"attachComponentPortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(o)}},{key:"onAnimationEnd",value:function(o){var l=o.toState;if(("void"===l&&"void"!==o.fromState||"hidden"===l)&&this._completeExit(),"visible"===l){var u=this._onEnter;this._ngZone.run(function(){u.next(),u.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var o=this;this._ngZone.onMicrotaskEmpty.pipe(tr(1)).subscribe(function(){o._onExit.next(),o._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var o=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(function(l){return o.classList.add(l)}):o.classList.add(s)),"center"===this.snackBarConfig.horizontalPosition&&o.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&o.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var o=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){o._announceTimeoutId=setTimeout(function(){var s=o._elementRef.nativeElement.querySelector("[aria-hidden]"),l=o._elementRef.nativeElement.querySelector("[aria-live]");if(s&&l){var u=null;o._platform.isBrowser&&document.activeElement instanceof HTMLElement&&s.contains(document.activeElement)&&(u=document.activeElement),s.removeAttribute("aria-hidden"),l.appendChild(s),null==u||u.focus(),o._onAnnounce.next(),o._onAnnounce.complete()}},o._announceDelay)})}}]),t}(Kp);return n.\u0275fac=function(e){return new(e||n)(V(bt),V(yt),V(Kn),V(Sr),V(ov))},n.\u0275cmp=We({type:n,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var a;1&e&&_t(kl,7),2&e&<(a=ut())&&(t._portalOutlet=a.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&Ph("@state.done",function(o){return t.onAnimationEnd(o)}),2&e&&Oh("@state",t._animationState)},features:[vt],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(P(0,"div",0),K(1,J8,0,0,"ng-template",1),E(),Ee(2,"div")),2&e&&(v(2),Gt("aria-live",t._live)("role",t._role))},directives:[kl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[t6.snackBarState]}}),n}(),T2=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[lf,Zp,bo,C2,Pn],Pn]}),n}(),ub=new $e("mat-snack-bar-default-options",{providedIn:"root",factory:function r6(){return new ov}}),i6=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this._overlay=e,this._live=t,this._injector=a,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}return d(i,[{key:"_openedSnackBarRef",get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}},{key:"openFromComponent",value:function(t,a){return this._attach(t,a)}},{key:"openFromTemplate",value:function(t,a){return this._attach(t,a)}},{key:"open",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=Object.assign(Object.assign({},this._defaultConfig),o);return s.data={message:t,action:a},s.announcementMessage===t&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(t,a){var s=Un.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:ov,useValue:a}]}),l=new tc(this.snackBarContainerComponent,a.viewContainerRef,s),u=t.attach(l);return u.instance.snackBarConfig=a,u.instance}},{key:"_attach",value:function(t,a){var o=this,s=Object.assign(Object.assign(Object.assign({},new ov),this._defaultConfig),a),l=this._createOverlay(s),u=this._attachSnackBarContainer(l,s),f=new sv(u,l);if(t instanceof xi){var m=new nc(t,null,{$implicit:s.data,snackBarRef:f});f.instance=u.attachTemplatePortal(m)}else{var w=this._createInjector(s,f),R=new tc(t,void 0,w),B=u.attachComponentPortal(R);f.instance=B.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(hn(l.detachments())).subscribe(function(J){l.overlayElement.classList.toggle(o.handsetCssClass,J.matches)}),s.announcementMessage&&u._onAnnounce.subscribe(function(){o._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(f,s),this._openedSnackBarRef=f,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(t,a){var o=this;t.afterDismissed().subscribe(function(){o._openedSnackBarRef==t&&(o._openedSnackBarRef=null),a.announcementMessage&&o._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),a.duration&&a.duration>0&&t.afterOpened().subscribe(function(){return t._dismissAfter(a.duration)})}},{key:"_createOverlay",value:function(t){var a=new sf;a.direction=t.direction;var o=this._overlay.position().global(),s="rtl"===t.direction,l="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!s||"end"===t.horizontalPosition&&s,u=!l&&"center"!==t.horizontalPosition;return l?o.left("0"):u?o.right("0"):o.centerHorizontally(),"top"===t.verticalPosition?o.top("0"):o.bottom("0"),a.positionStrategy=o,this._overlay.create(a)}},{key:"_createInjector",value:function(t,a){return Un.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:sv,useValue:a},{provide:lb,useValue:t.data}]})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(xa),Le(ib),Le(Un),Le(sb),Le(n,12),Le(ub))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),a6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f){var m;return c(this,t),(m=e.call(this,a,o,s,l,u,f)).simpleSnackBarComponent=e6,m.snackBarContainerComponent=n6,m.handsetCssClass="mat-snack-bar-handset",m}return d(t)}(i6);return n.\u0275fac=function(e){return new(e||n)(Le(xa),Le(ib),Le(Un),Le(sb),Le(n,12),Le(ub))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:T2}),n}();function L2(){for(var n=arguments.length,i=new Array(n),e=0;e1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,a),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var a=this,o=this._sanitizer.sanitize(bn.RESOURCE_URL,t);if(!o)throw P2(t);var s=this._cachedIconsByUrl.get(o);return s?Je(dv(s)):this._loadSvgIconFromConfig(new Cl(t,null)).pipe(Ar(function(l){return a._cachedIconsByUrl.set(o,l)}),qe(function(l){return dv(l)}))}},{key:"getNamedSvgIcon",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=O2(a,t),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(a,t))return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);var l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(t,l):Ri(E2(o))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?Je(dv(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(qe(function(a){return dv(a)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,a){var o=this,s=this._extractIconWithNameFromAnySet(t,a);return s?Je(s):L2(a.filter(function(u){return!u.svgText}).map(function(u){return o._loadSvgIconSetFromConfig(u).pipe(qi(function(f){var m=o._sanitizer.sanitize(bn.RESOURCE_URL,u.url),w="Loading icon set URL: ".concat(m," failed: ").concat(f.message);return o._errorHandler.handleError(new Error(w)),Je(null)}))})).pipe(qe(function(){var u=o._extractIconWithNameFromAnySet(t,a);if(!u)throw E2(t);return u}))}},{key:"_extractIconWithNameFromAnySet",value:function(t,a){for(var o=a.length-1;o>=0;o--){var s=a[o];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){var l=this._svgElementFromConfig(s),u=this._extractSvgIconFromSet(l,t,s.options);if(u)return u}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var a=this;return this._fetchIcon(t).pipe(Ar(function(o){return t.svgText=o}),qe(function(){return a._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?Je(null):this._fetchIcon(t).pipe(Ar(function(a){return t.svgText=a}))}},{key:"_extractSvgIconFromSet",value:function(t,a,o){var s=t.querySelector('[id="'.concat(a,'"]'));if(!s)return null;var l=s.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);var u=this._svgElementFromString(ff(""));return u.appendChild(l),this._setSvgAttributes(u,o)}},{key:"_svgElementFromString",value:function(t){var a=this._document.createElement("DIV");a.innerHTML=t;var o=a.querySelector("svg");if(!o)throw Error(" tag not found");return o}},{key:"_toSvgElement",value:function(t){for(var a=this._svgElementFromString(ff("")),o=t.attributes,s=0;s5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];c(this,i),this.store=e,this.currentLoader=t,this.compiler=a,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=u,this.pending=!1,this._onTranslationChange=new pt,this._onLangChange=new pt,this._onDefaultLangChange=new pt,this._langs=[],this._translations={},this._translationRequests={}}return d(i,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t}},{key:"setDefaultLang",value:function(t){var a=this;if(t!==this.defaultLang){var o=this.retrieveTranslations(t);void 0!==o?(this.defaultLang||(this.defaultLang=t),o.pipe(tr(1)).subscribe(function(s){a.changeDefaultLang(t)})):this.changeDefaultLang(t)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(t){var a=this;if(t===this.currentLang)return Je(this.translations[t]);var o=this.retrieveTranslations(t);return void 0!==o?(this.currentLang||(this.currentLang=t),o.pipe(tr(1)).subscribe(function(s){a.changeLang(t)}),o):(this.changeLang(t),Je(this.translations[t]))}},{key:"retrieveTranslations",value:function(t){var a;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),a=this._translationRequests[t]),a}},{key:"getTranslation",value:function(t){var a=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(Nl()),this.loadingTranslations.pipe(tr(1)).subscribe(function(o){a.translations[t]=a.compiler.compileTranslations(o,t),a.updateLangs(),a.pending=!1},function(o){a.pending=!1}),this.loadingTranslations}},{key:"setTranslation",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a=this.compiler.compileTranslations(a,t),this.translations[t]=o&&this.translations[t]?N2(this.translations[t],a):a,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(t){var a=this;t.forEach(function(o){-1===a.langs.indexOf(o)&&a.langs.push(o)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(t,a,o){var s;if(a instanceof Array){var m,l={},u=!1,f=z(a);try{for(f.s();!(m=f.n()).done;){var w=m.value;l[w]=this.getParsedResult(t,w,o),"function"==typeof l[w].subscribe&&(u=!0)}}catch(pe){f.e(pe)}finally{f.f()}if(u){var R,J,B=z(a);try{for(B.s();!(J=B.n()).done;){var me=J.value,we="function"==typeof l[me].subscribe?l[me]:Je(l[me]);R=void 0===R?we:Mi(R,we)}}catch(pe){B.e(pe)}finally{B.f()}return R.pipe(function y6(){return function g6(n,i){return arguments.length>=2?function(t){return de(Dp(n,i),Ud(1),My(i))(t)}:function(t){return de(Dp(function(a,o,s){return n(a,o,s+1)}),Ud(1))(t)}}(_6,[])}(),qe(function(pe){var Fe={};return pe.forEach(function(Ye,ze){Fe[a[ze]]=Ye}),Fe}))}return l}if(t&&(s=this.parser.interpolate(this.parser.getValue(t,a),o)),void 0===s&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),o)),void 0===s){var Te={key:a,translateService:this};void 0!==o&&(Te.interpolateParams=o),s=this.missingTranslationHandler.handle(Te)}return void 0!==s?s:a}},{key:"get",value:function(t,a){var o=this;if(!Za(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return fe.create(function(l){var u=function(w){l.next(w),l.complete()},f=function(w){l.error(w)};o.loadingTranslations.subscribe(function(m){"function"==typeof(m=o.getParsedResult(o.compiler.compileTranslations(m,o.currentLang),t,a)).subscribe?m.subscribe(u,f):u(m)},f)});var s=this.getParsedResult(this.translations[this.currentLang],t,a);return"function"==typeof s.subscribe?s:Je(s)}},{key:"stream",value:function(t,a){var o=this;if(!Za(t)||!t.length)throw new Error('Parameter "key" required');return cl(this.get(t,a),this.onLangChange.pipe(da(function(s){var l=o.getParsedResult(s.translations,t,a);return"function"==typeof l.subscribe?l:Je(l)})))}},{key:"instant",value:function(t,a){if(!Za(t)||!t.length)throw new Error('Parameter "key" required');var o=this.getParsedResult(this.translations[this.currentLang],t,a);if(void 0!==o.subscribe){if(t instanceof Array){var s={};return t.forEach(function(l,u){s[t[u]]=t[u]}),s}return t}return o}},{key:"set",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[o][t]=this.compiler.compile(a,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}},{key:"changeLang",value:function(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang||this.changeDefaultLang(t)}},{key:"changeDefaultLang",value:function(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}},{key:"reloadLang",value:function(t){return this.resetLang(t),this.getTranslation(t)}},{key:"resetLang",value:function(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(H2),Le(hf),Le(fv),Le(hv),Le(cb),Le(hb),Le(fb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),Mt=function(){var n=function(){function i(e,t){c(this,i),this.translate=e,this._ref=t,this.value=""}return d(i,[{key:"updateValue",value:function(t,a,o){var s=this,l=function(m){s.value=void 0!==m?m:t,s.lastKey=t,s._ref.markForCheck()};if(o){var u=this.translate.getParsedResult(o,t,a);"function"==typeof u.subscribe?u.subscribe(l):l(u)}this.translate.get(t,a).subscribe(l)}},{key:"transform",value:function(t){var u,a=this;if(!t||0===t.length)return t;for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.loader||{provide:hf,useClass:I2},t.compiler||{provide:fv,useClass:F2},t.parser||{provide:hv,useClass:Y2},t.missingTranslationHandler||{provide:cb,useClass:R2},H2,{provide:fb,useValue:t.isolate},{provide:hb,useValue:t.useDefaultLang},Fi]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.loader||{provide:hf,useClass:I2},t.compiler||{provide:fv,useClass:F2},t.parser||{provide:hv,useClass:Y2},t.missingTranslationHandler||{provide:cb,useClass:R2},{provide:fb,useValue:t.isolate},{provide:hb,useValue:t.useDefaultLang},Fi]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function b6(n,i){if(1&n&&(P(0,"div",5)(1,"mat-icon",6),F(2),E()()),2&n){var e=q();v(1),L("inline",!0),v(1),_e(e.config.icon)}}function k6(n,i){if(1&n&&(P(0,"div",7),F(1),Y(2,"translate"),Y(3,"translate"),E()),2&n){var e=q();v(1),la(" ",W(2,2,"common.error")," ",Ht(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var lc=function(){return function(n){n.Error="error",n.Done="done",n.Warning="warning"}(lc||(lc={})),lc}(),uc=function(){return function(n){n.Red="red-background",n.Green="green-background",n.Yellow="yellow-background"}(uc||(uc={})),uc}(),M6=function(){var n=function(){function i(e,t){c(this,i),this.snackbarRef=t,this.config=e}return d(i,[{key:"close",value:function(){this.snackbarRef.dismiss()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(lb),V(sv))},n.\u0275cmp=We({type:n,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(e,t){1&e&&(P(0,"div"),K(1,b6,3,2,"div",0),P(2,"div",1),F(3),Y(4,"translate"),K(5,k6,4,7,"div",2),E(),Ee(6,"div",3),P(7,"mat-icon",4),Se("click",function(){return t.close()}),F(8,"close"),E()()),2&e&&(sa("main-container "+t.config.color),v(1),L("ngIf",t.config.icon),v(2),Me(" ",Ht(4,5,t.config.text,t.config.textTranslationParams)," "),v(2),L("ngIf",t.config.smallText))},directives:[Et,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:#0000004d}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;user-select:none}']}),n}(),wl=function(){return function(n){n.NoConnection="NoConnection",n.Unknown="Unknown"}(wl||(wl={})),wl}(),C6=d(function n(){c(this,n)}),V2="common.operation-error";function dn(n){if(n&&n.type&&!n.srcElement)return n;var i=new C6;if(i.originalError=n,!n||"string"==typeof n)return i.originalServerErrorMsg=n||"",i.translatableErrorMsg=n||V2,i.type=wl.Unknown,i;i.originalServerErrorMsg=function S6(n){if(n){if("string"==typeof n._body)return n._body;if(n.originalServerErrorMsg&&"string"==typeof n.originalServerErrorMsg)return n.originalServerErrorMsg;if(n.error&&"string"==typeof n.error)return n.error;if(n.error&&n.error.error&&n.error.error.message)return n.error.error.message;if(n.error&&n.error.error&&"string"==typeof n.error.error)return n.error.error;if(n.message)return n.message;if(n._body&&n._body.error)return n._body.error;try{return JSON.parse(n._body).error}catch(e){}}return null}(n);return null!=n.status&&(0===n.status||504===n.status)&&(i.type=wl.NoConnection,i.translatableErrorMsg="common.no-connection-error"),i.type||(i.type=wl.Unknown,i.translatableErrorMsg=i.originalServerErrorMsg?function w6(n){if(!n||0===n.length)return n;if(-1!==n.indexOf('"error":'))try{n=JSON.parse(n).error}catch(t){}if(n.startsWith("400")||n.startsWith("403")){var i=n.split(" - ",2);n=2===i.length?i[1]:n}var e=(n=n.trim()).substr(0,1);return e.toUpperCase()!==e&&(n=e.toUpperCase()+n.substr(1,n.length-1)),!n.endsWith(".")&&!n.endsWith(",")&&!n.endsWith(":")&&!n.endsWith(";")&&!n.endsWith("?")&&!n.endsWith("!")&&(n+="."),n}(i.originalServerErrorMsg):V2),i}var An=function(){var n=function(){function i(e){c(this,i),this.snackBar=e,this.lastWasTemporaryError=!1}return d(i,[{key:"showError",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;t=dn(t),s=s?dn(s):null,this.lastWasTemporaryError=o,this.show(t.translatableErrorMsg,a,s?s.translatableErrorMsg:null,l,lc.Error,uc.Red,15e3)}},{key:"showWarning",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.lastWasTemporaryError=!1,this.show(t,a,null,null,lc.Warning,uc.Yellow,15e3)}},{key:"showDone",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.lastWasTemporaryError=!1,this.show(t,a,null,null,lc.Done,uc.Green,5e3)}},{key:"closeCurrent",value:function(){this.snackBar.dismiss()}},{key:"closeCurrentIfTemporaryError",value:function(){this.lastWasTemporaryError&&this.snackBar.dismiss()}},{key:"show",value:function(t,a,o,s,l,u,f){this.snackBar.openFromComponent(M6,{duration:f,panelClass:"snackbar-container",data:{text:t,textTranslationParams:a,smallText:o,smallTextTranslationParams:s,icon:l,color:u}})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(a6))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function D6(n,i){}var $n=d(function n(){c(this,n),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}),T6={dialogContainer:zo("dialogContainer",[Ii("void, exit",kn({opacity:0,transform:"scale(0.7)"})),Ii("enter",kn({transform:"none"})),gi("* => enter",Ai("150ms cubic-bezier(0, 0, 0.2, 1)",kn({transform:"none",opacity:1}))),gi("* => void, * => exit",Ai("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",kn({opacity:0})))])},L6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,w){var R;return c(this,t),(R=e.call(this))._elementRef=a,R._focusTrapFactory=o,R._changeDetectorRef=s,R._config=u,R._interactivityChecker=f,R._ngZone=m,R._focusMonitor=w,R._animationStateChanged=new pt,R._elementFocusedBeforeDialogWasOpened=null,R._closeInteractionType=null,R.attachDomPortal=function(B){return R._portalOutlet.hasAttached(),R._portalOutlet.attachDomPortal(B)},R._ariaLabelledBy=u.ariaLabelledBy||null,R._document=l,R}return d(t,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}},{key:"attachComponentPortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(o)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||this._trapFocus()}},{key:"_forceFocus",value:function(o,s){this._interactivityChecker.isFocusable(o)||(o.tabIndex=-1,this._ngZone.runOutsideAngular(function(){o.addEventListener("blur",function(){return o.removeAttribute("tabindex")}),o.addEventListener("mousedown",function(){return o.removeAttribute("tabindex")})})),o.focus(s)}},{key:"_focusByCssSelector",value:function(o,s){var l=this._elementRef.nativeElement.querySelector(o);l&&this._forceFocus(l,s)}},{key:"_trapFocus",value:function(){var o=this,s=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||s.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(function(l){l||o._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}},{key:"_restoreFocus",value:function(){var o=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&o&&"function"==typeof o.focus){var s=qy(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=qy())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var o=this._elementRef.nativeElement,s=qy();return o===s||o.contains(s)}}]),t}(Kp);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(m8),V(Kn),V(xt,8),V($n),V(t2),V(bt),V(xs))},n.\u0275dir=et({type:n,viewQuery:function(e,t){var a;1&e&&_t(kl,7),2&e&<(a=ut())&&(t._portalOutlet=a.first)},features:[vt]}),n}(),E6=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments))._state="enter",a}return d(t,[{key:"_onAnimationDone",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:l})):"exit"===s&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:l}))}},{key:"_onAnimationStart",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?this._animationStateChanged.next({state:"opening",totalTime:l}):("exit"===s||"void"===s)&&this._animationStateChanged.next({state:"closing",totalTime:l})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),t}(L6);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275cmp=We({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Ph("@dialogContainer.start",function(o){return t._onAnimationStart(o)})("@dialogContainer.done",function(o){return t._onAnimationDone(o)}),2&e&&(el("id",t._id),Gt("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Oh("@dialogContainer",t._state))},features:[vt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&K(0,D6,0,0,"ng-template",0)},directives:[kl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[T6.dialogContainer]}}),n}(),P6=0,Rr=function(){function n(i,e){var t=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(P6++);c(this,n),this._overlayRef=i,this._containerInstance=e,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ie,this._afterClosed=new Ie,this._beforeClosed=new Ie,this._state=0,e._id=a,e._animationStateChanged.pipe(Vr(function(o){return"opened"===o.state}),tr(1)).subscribe(function(){t._afterOpened.next(),t._afterOpened.complete()}),e._animationStateChanged.pipe(Vr(function(o){return"closed"===o.state}),tr(1)).subscribe(function(){clearTimeout(t._closeFallbackTimeout),t._finishDialogClose()}),i.detachments().subscribe(function(){t._beforeClosed.next(t._result),t._beforeClosed.complete(),t._afterClosed.next(t._result),t._afterClosed.complete(),t.componentInstance=null,t._overlayRef.dispose()}),i.keydownEvents().pipe(Vr(function(o){return 27===o.keyCode&&!t.disableClose&&!Zo(o)})).subscribe(function(o){o.preventDefault(),pb(t,"keyboard")}),i.backdropClick().subscribe(function(){t.disableClose?t._containerInstance._recaptureFocus():pb(t,"mouse")})}return d(n,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Vr(function(a){return"closing"===a.state}),tr(1)).subscribe(function(a){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},a.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),n}();function pb(n,i,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=i),n.close(e)}var Ur=new $e("MatDialogData"),j2=new $e("mat-dialog-default-options"),U2=new $e("mat-dialog-scroll-strategy"),O6={provide:U2,deps:[xa],useFactory:function x6(n){return function(){return n.scrollStrategies.block()}}},A6=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,w){var R=this;c(this,i),this._overlay=e,this._injector=t,this._defaultOptions=a,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=u,this._dialogContainerType=f,this._dialogDataToken=m,this._animationMode=w,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ie,this._afterOpenedAtThisLevel=new Ie,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Sp(function(){return R.openDialogs.length?R._getAfterAllClosed():R._getAfterAllClosed().pipe(fa(void 0))}),this._scrollStrategy=l}return d(i,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,a){var o=this;if(a=function I6(n,i){return Object.assign(Object.assign({},i),n)}(a,this._defaultOptions||new $n),a.id&&this.getDialogById(a.id),this._dialogAnimatingOpen)return this._lastDialogRef;var s=this._createOverlay(a),l=this._attachDialogContainer(s,a);if("NoopAnimations"!==this._animationMode){var u=l._animationStateChanged.subscribe(function(m){"opening"===m.state&&(o._dialogAnimatingOpen=!0),"opened"===m.state&&(o._dialogAnimatingOpen=!1,u.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Ne),this._animationStateSubscriptions.add(u)}var f=this._attachDialogContent(t,l,s,a);return this._lastDialogRef=f,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(f),f.afterClosed().subscribe(function(){return o._removeOpenDialog(f)}),this.afterOpened.next(f),l._initializeWithAttachedContent(),f}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(a){return a.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}},{key:"_createOverlay",value:function(t){var a=this._getOverlayConfig(t);return this._overlay.create(a)}},{key:"_getOverlayConfig",value:function(t){var a=new sf({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(a.backdropClass=t.backdropClass),a}},{key:"_attachDialogContainer",value:function(t,a){var s=Un.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:$n,useValue:a}]}),l=new tc(this._dialogContainerType,a.viewContainerRef,s,a.componentFactoryResolver);return t.attach(l).instance}},{key:"_attachDialogContent",value:function(t,a,o,s){var l=new this._dialogRefConstructor(o,a,s.id);if(t instanceof xi)a.attachTemplatePortal(new nc(t,null,{$implicit:s.data,dialogRef:l}));else{var u=this._createInjector(s,l,a),f=a.attachComponentPortal(new tc(t,s.viewContainerRef,u,s.componentFactoryResolver));l.componentInstance=f.instance}return l.updateSize(s.width,s.height).updatePosition(s.position),l}},{key:"_createInjector",value:function(t,a,o){var s=t&&t.viewContainerRef&&t.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:a}];return t.direction&&(!s||!s.get(ha,null,Ct.Optional))&&l.push({provide:ha,useValue:{value:t.direction,change:Je()}}),Un.create({parent:s||this._injector,providers:l})}},{key:"_removeOpenDialog",value:function(t){var a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(o,s){o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var a=t.parentElement.children,o=a.length-1;o>-1;o--){var s=a[o];s!==t&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var a=t.length;a--;)t[a].close()}}]),i}();return n.\u0275fac=function(e){Ou()},n.\u0275dir=et({type:n}),n}(),Wn=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,w){return c(this,t),e.call(this,a,o,l,f,m,u,Rr,E6,Ur,w)}return d(t)}(A6);return n.\u0275fac=function(e){return new(e||n)(Le(xa),Le(Un),Le(Bu,8),Le(j2,8),Le(U2),Le(n,12),Le(Qy),Le(_i,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),R6=0,F6=function(){var n=function(){function i(e,t,a){c(this,i),this.dialogRef=e,this._elementRef=t,this._dialog=a,this.type="button"}return d(i,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=z2(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var a=t._matDialogClose||t._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}},{key:"_onButtonClick",value:function(t){pb(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr,8),V(yt),V(Wn))},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&Se("click",function(o){return t._onButtonClick(o)}),2&e&&Gt("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Fr]}),n}(),N6=function(){var n=function(){function i(e,t,a){c(this,i),this._dialogRef=e,this._elementRef=t,this._dialog=a,this.id="mat-dialog-title-".concat(R6++)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=z2(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var a=t._dialogRef._containerInstance;a&&!a._ariaLabelledBy&&(a._ariaLabelledBy=t.id)})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr,8),V(yt),V(Wn))},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&el("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n}(),vb=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n}();function z2(n,i){for(var e=n.nativeElement.parentElement;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?i.find(function(t){return t.id===e.id}):null}var Y6=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[Wn,O6],imports:[[lf,Zp,Pn],Pn]}),n}(),Kt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}},H6=d(function n(i){c(this,n),Object.assign(this,i)}),pv=function(){var n=function(){function i(e){c(this,i),this.translate=e,this.currentLanguage=new qa(1),this.languages=new qa(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}return d(i,[{key:"loadLanguageSettings",value:function(){var t=this;if(!this.settingsLoaded){this.settingsLoaded=!0;var a=[];Kt.languages.forEach(function(o){var s=new H6(o);t.languagesInternal.push(s),a.push(s.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(a),this.translate.setDefaultLang(Kt.defaultLanguage),this.translate.onLangChange.subscribe(function(o){return t.onLanguageChanged(o)}),this.loadCurrentLanguage()}}},{key:"changeLanguage",value:function(t){this.translate.use(t)}},{key:"onLanguageChanged",value:function(t){this.currentLanguage.next(this.languagesInternal.find(function(a){return a.code===t.lang})),localStorage.setItem(this.storageKey,t.lang)}},{key:"loadCurrentLanguage",value:function(){var t=this,a=localStorage.getItem(this.storageKey);a=a||Kt.defaultLanguage,setTimeout(function(){return t.translate.use(a)},16)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Fi))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function B6(n,i){1&n&&(P(0,"div",3)(1,"div"),Ee(2,"img",4),P(3,"div"),F(4),Y(5,"translate"),E()()()),2&n&&(v(4),_e(W(5,1,"common.window-size-error")))}var V6=function(i){return{background:i}},j6=function(){var n=d(function i(e,t,a,o,s,l){var u=this;c(this,i),this.inVpnClient=!1,s.afterOpened.subscribe(function(){return o.closeCurrent()}),a.events.subscribe(function(f){f instanceof Ku&&(o.closeCurrent(),s.closeAll(),window.scrollTo(0,0))}),s.afterAllClosed.subscribe(function(){return o.closeCurrentIfTemporaryError()}),l.loadLanguageSettings(),a.events.subscribe(function(){u.inVpnClient=a.url.includes("/vpn/")||a.url.includes("vpnlogin"),a.url.length>2&&(document.title=u.inVpnClient?"Skywire VPN":"Skywire Manager")})});return n.\u0275fac=function(e){return new(e||n)(V(Ki),V(Bu),V(an),V(An),V(Wn),V(pv))},n.\u0275cmp=We({type:n,selectors:[["app-root"]],decls:4,vars:4,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"]],template:function(e,t){1&e&&(K(0,B6,6,3,"div",0),P(1,"div",1),Ee(2,"div",2)(3,"router-outlet"),E()),2&e&&(L("ngIf",t.inVpnClient),v(2),L("ngClass",Qe(2,V6,t.inVpnClient)))},directives:[Et,mr,Rp],pipes:[Mt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),n}(),U6={url:"",deserializer:function(i){return JSON.parse(i.data)},serializer:function(i){return JSON.stringify(i)}},W6=function(n){h(e,n);var i=y(e);function e(t,a){var o;if(c(this,e),o=i.call(this),t instanceof fe)o.destination=a,o.source=t;else{var s=o._config=Object.assign({},U6);if(o._output=new Ie,"string"==typeof t)s.url=t;else for(var l in t)t.hasOwnProperty(l)&&(s[l]=t[l]);if(!s.WebSocketCtor&&WebSocket)s.WebSocketCtor=WebSocket;else if(!s.WebSocketCtor)throw new Error("no WebSocket constructor can be found");o.destination=new qa}return o}return d(e,[{key:"lift",value:function(a){var o=new e(this._config,this.destination);return o.operator=a,o.source=this,o}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new qa),this._output=new Ie}},{key:"multiplex",value:function(a,o,s){var l=this;return new fe(function(u){try{l.next(a())}catch(m){u.error(m)}var f=l.subscribe(function(m){try{s(m)&&u.next(m)}catch(w){u.error(w)}},function(m){return u.error(m)},function(){return u.complete()});return function(){try{l.next(o())}catch(m){u.error(m)}f.unsubscribe()}})}},{key:"_connectSocket",value:function(){var a=this,o=this._config,s=o.WebSocketCtor,l=o.protocol,u=o.url,f=o.binaryType,m=this._output,w=null;try{w=l?new s(u,l):new s(u),this._socket=w,f&&(this._socket.binaryType=f)}catch(B){return void m.error(B)}var R=new Ne(function(){a._socket=null,w&&1===w.readyState&&w.close()});w.onopen=function(B){if(!a._socket)return w.close(),void a._resetState();var me=a._config.openObserver;me&&me.next(B);var we=a.destination;a.destination=St.create(function(Te){if(1===w.readyState)try{w.send((0,a._config.serializer)(Te))}catch(Fe){a.destination.error(Fe)}},function(Te){var pe=a._config.closingObserver;pe&&pe.next(void 0),Te&&Te.code?w.close(Te.code,Te.reason):m.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),a._resetState()},function(){var Te=a._config.closingObserver;Te&&Te.next(void 0),w.close(),a._resetState()}),we&&we instanceof qa&&R.add(we.subscribe(a.destination))},w.onerror=function(B){a._resetState(),m.error(B)},w.onclose=function(B){a._resetState();var J=a._config.closeObserver;J&&J.next(B),B.wasClean?m.complete():m.error(B)},w.onmessage=function(B){try{m.next((0,a._config.deserializer)(B))}catch(me){m.error(me)}}}},{key:"_subscribe",value:function(a){var o=this,s=this.source;return s?s.subscribe(a):(this._socket||this._connectSocket(),this._output.subscribe(a),a.add(function(){var l=o._socket;0===o._output.observers.length&&(l&&1===l.readyState&&l.close(),o._resetState())}),a)}},{key:"unsubscribe",value:function(){var a=this._socket;a&&1===a.readyState&&a.close(),this._resetState(),D(O(e.prototype),"unsubscribe",this).call(this)}}]),e}(ct);function G6(n){return new W6(n)}var cc=function(){return function(n){n.Json="json",n.Text="text"}(cc||(cc={})),cc}(),dc=function(){return function(n){n.Json="json"}(dc||(dc={})),dc}(),Sl=d(function n(i){c(this,n),this.responseType=cc.Json,this.requestType=dc.Json,this.ignoreAuth=!1,Object.assign(this,i)}),Dl=function(){var n=function(){function i(e,t,a){c(this,i),this.http=e,this.router=t,this.ngZone=a,this.apiPrefix="api/",this.wsApiPrefix="api/"}return d(i,[{key:"get",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.request("GET",t,{},a)}},{key:"post",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("POST",t,a,o)}},{key:"put",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("PUT",t,a,o)}},{key:"delete",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.request("DELETE",t,{},a)}},{key:"ws",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=location.protocol.startsWith("https")?"wss://":"ws://",s=o+location.host+"/"+this.wsApiPrefix+t,l=G6(s);return l.next(a),l}},{key:"request",value:function(t,a,o,s){var l=this;return o=o||{},s=s||new Sl,a.startsWith("/")&&(a=a.substr(1,a.length-1)),this.http.request(t,this.apiPrefix+a,Object.assign(Object.assign({},this.getRequestOptions(s)),{responseType:s.responseType,withCredentials:!0,body:this.getPostBody(o,s)})).pipe(qe(function(u){return l.successHandler(u)}),qi(function(u){return l.errorHandler(u,s)}))}},{key:"getRequestOptions",value:function(t){var a={};return a.headers=new Wu,t.requestType===dc.Json&&(a.headers=a.headers.append("Content-Type","application/json")),a}},{key:"getPostBody",value:function(t,a){if(a.requestType===dc.Json)return JSON.stringify(t);var o=new FormData;return Object.keys(t).forEach(function(s){return o.append(s,t[s])}),o}},{key:"successHandler",value:function(t){if("string"==typeof t&&"manager token is null"===t)throw new Error(t);return t}},{key:"errorHandler",value:function(t,a){var o=this;if(!a.ignoreAuth){if(401===t.status){var s=a.vpnKeyForAuth?["vpnlogin",a.vpnKeyForAuth]:["login"];this.ngZone.run(function(){return o.router.navigate(s,{replaceUrl:!0})})}if(t.error&&"string"==typeof t.error&&t.error.includes("change password")){var l=a.vpnKeyForAuth?["vpnlogin",a.vpnKeyForAuth]:["login"];this.ngZone.run(function(){return o.router.navigate(l,{replaceUrl:!0})})}}return Ri(dn(t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(ul),Le(an),Le(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),vf=function(){var n=function(){function i(e){c(this,i),this.router=e,this.forceFailInternal=!1}return d(i,[{key:"forceFail",set:function(t){this.forceFailInternal=t}},{key:"canActivate",value:function(t,a){return this.checkIfCanActivate()}},{key:"canActivateChild",value:function(t,a){return this.checkIfCanActivate()}},{key:"checkIfCanActivate",value:function(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),Je(!1)):Je(!0)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(an))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Qo=function(){return function(n){n[n.AuthDisabled=0]="AuthDisabled",n[n.Logged=1]="Logged",n[n.NotLogged=2]="NotLogged"}(Qo||(Qo={})),Qo}(),mf=function(){var n=function(){function i(e,t,a){c(this,i),this.apiService=e,this.translateService=t,this.authGuardService=a}return d(i,[{key:"login",value:function(t){var a=this;return this.apiService.post("login",{username:"admin",password:t},new Sl({ignoreAuth:!0})).pipe(Ar(function(o){if(!0!==o)throw new Error;a.authGuardService.forceFail=!1}))}},{key:"checkLogin",value:function(){var t=this;return this.apiService.get("user",new Sl({ignoreAuth:!0})).pipe(qe(function(a){return a.username?Qo.Logged:Qo.AuthDisabled}),qi(function(a){return(a=dn(a)).originalError&&401===a.originalError.status?(t.authGuardService.forceFail=!0,Je(Qo.NotLogged)):Ri(a)}))}},{key:"logout",value:function(){var t=this;return this.apiService.post("logout",{}).pipe(Ar(function(a){if(!0!==a)throw new Error;t.authGuardService.forceFail=!0}))}},{key:"changePassword",value:function(t,a){var o=this;return this.apiService.post("change-password",{old_password:t,new_password:a},new Sl({responseType:cc.Text,ignoreAuth:!0})).pipe(qe(function(s){if("string"==typeof s&&"true"===s.trim())return!0;throw"Please do not change the default password."===s?new Error(o.translateService.instant("settings.password.errors.default-password")):new Error(o.translateService.instant("common.operation-error"))}),qi(function(s){return(s=dn(s)).originalError&&401===s.originalError.status&&(s.translatableErrorMsg="settings.password.errors.bad-old-password"),Ri(s)}))}},{key:"initialConfig",value:function(t){return this.apiService.post("create-account",{username:"admin",password:t},new Sl({responseType:cc.Text,ignoreAuth:!0})).pipe(qe(function(a){if("string"==typeof a&&"true"===a.trim())return!0;throw new Error(a)}),qi(function(a){return(a=dn(a)).originalError&&500===a.originalError.status&&(a.translatableErrorMsg="settings.password.initial-config.error"),Ri(a)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Dl),Le(Fi),Le(vf))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function q6(n,i){if(1&n&&(ys(),Ee(0,"circle",4)),2&n){var e=q(),t=sr(1);Ss("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),Gt("r",e._getCircleRadius())}}function K6(n,i){if(1&n&&(ys(),Ee(0,"circle",4)),2&n){var e=q(),t=sr(1);Ss("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),Gt("r",e._getCircleRadius())}}var $6=ac(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),Q6=new $e("mat-progress-spinner-default-options",{providedIn:"root",factory:function J6(){return{diameter:100}}}),$a=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l,u,f,m){var w;c(this,e),(w=i.call(this,t))._document=o,w._diameter=100,w._value=0,w._resizeSubscription=Ne.EMPTY,w.mode="determinate";var R=e._diameters;return w._spinnerAnimationLabel=w._getSpinnerAnimationLabel(),R.has(o.head)||R.set(o.head,new Set([100])),w._noopAnimations="NoopAnimations"===s&&!!l&&!l._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(w.mode="indeterminate"),l&&(l.diameter&&(w.diameter=l.diameter),l.strokeWidth&&(w.strokeWidth=l.strokeWidth)),a.isBrowser&&a.SAFARI&&f&&u&&m&&(w._resizeSubscription=f.change(150).subscribe(function(){"indeterminate"===w.mode&&m.run(function(){return u.markForCheck()})})),w}return d(e,[{key:"diameter",get:function(){return this._diameter},set:function(a){this._diameter=Ka(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=Ka(a)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,Ka(a)))}},{key:"ngOnInit",value:function(){var a=this._elementRef.nativeElement;this._styleRoot=xT(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}},{key:"ngOnDestroy",value:function(){this._resizeSubscription.unsubscribe()}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(a," ").concat(a)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_getCircleTransformOrigin",value:function(a){var o,s=50*(null!==(o=a.currentScale)&&void 0!==o?o:1);return"".concat(s,"% ").concat(s,"%")}},{key:"_attachStyleNode",value:function(){var a=this._styleRoot,o=this._diameter,s=e._diameters,l=s.get(a);if(!l||!l.has(o)){var u=this._document.createElement("style");u.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),u.textContent=this._getAnimationText(),a.appendChild(u),l||s.set(a,l=new Set),l.add(o)}}},{key:"_getAnimationText",value:function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,"".concat(.95*a)).replace(/END_VALUE/g,"".concat(.2*a)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),e}($6);$a._diameters=new WeakMap,$a.\u0275fac=function(i){return new(i||$a)(V(yt),V(Sr),V(xt,8),V(_i,8),V(Q6),V(Kn),V(bl),V(bt))},$a.\u0275cmp=We({type:$a,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(i,e){2&i&&(Gt("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Ss("width",e.diameter,"px")("height",e.diameter,"px"),fn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[vt],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(i,e){1&i&&(ys(),P(0,"svg",0,1),K(2,q6,1,11,"circle",2),K(3,K6,1,9,"circle",3),E()),2&i&&(Ss("width",e.diameter,"px")("height",e.diameter,"px"),L("ngSwitch","indeterminate"===e.mode),Gt("viewBox",e._getViewBox()),v(2),L("ngSwitchCase",!0),v(1),L("ngSwitchCase",!1))},directives:[Vu,ep],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});var e9=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn,bo],Pn]}),n}(),t9=function(i){return{"white-theme":i}},Jo=function(){var n=d(function i(){c(this,i),this.showWhite=!0});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,t){1&e&&(P(0,"div",0),Ee(1,"mat-spinner",1),E()),2&e&&(L("ngClass",Qe(2,t9,t.showWhite)),v(1),L("diameter",50))},directives:[mr,$a],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),n}(),n9=function(){var n=function(){function i(e,t){c(this,i),this.authService=e,this.router=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.verificationSubscription=this.authService.checkLogin().subscribe(function(a){t.router.navigate(a!==Qo.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},function(){t.router.navigate(["nodes"],{replaceUrl:!0})})}},{key:"ngOnDestroy",value:function(){this.verificationSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(mf),V(an))},n.\u0275cmp=We({type:n,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,t){1&e&&(P(0,"div",0),Ee(1,"app-loading-indicator"),E())},directives:[Jo],styles:[""]}),n}(),W2=function(){var n=function(){function i(e,t){c(this,i),this._renderer=e,this._elementRef=t,this.onChange=function(a){},this.onTouched=function(){}}return d(i,[{key:"setProperty",value:function(t,a){this._renderer.setProperty(this._elementRef.nativeElement,t,a)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"setDisabledState",value:function(t){this.setProperty("disabled",t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(_o),V(yt))},n.\u0275dir=et({type:n}),n}(),Tl=function(){var n=function(i){h(t,i);var e=y(t);function t(){return c(this,t),e.apply(this,arguments)}return d(t)}(W2);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,features:[vt]}),n}(),Qa=new $e("NgValueAccessor"),i9={provide:Qa,useExisting:yn(function(){return Qr}),multi:!0},o9=new $e("CompositionEventMode"),Qr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l;return c(this,t),(l=e.call(this,a,o))._compositionMode=s,l._composing=!1,null==l._compositionMode&&(l._compositionMode=!function a9(){var n=yo()?yo().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}()),l}return d(t,[{key:"writeValue",value:function(o){this.setProperty("value",null==o?"":o)}},{key:"_handleInput",value:function(o){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(o)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(o){this._composing=!1,this._compositionMode&&this.onChange(o)}}]),t}(W2);return n.\u0275fac=function(e){return new(e||n)(V(_o),V(yt),V(o9,8))},n.\u0275dir=et({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&Se("input",function(o){return t._handleInput(o.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(o){return t._compositionEnd(o.target.value)})},features:[un([i9]),vt]}),n}();function Os(n){return null==n||0===n.length}function q2(n){return null!=n&&"number"==typeof n.length}var li=new $e("NgValidators"),As=new $e("NgAsyncValidators"),s9=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Cn=function(){function n(){c(this,n)}return d(n,null,[{key:"min",value:function(e){return function K2(n){return function(i){if(Os(i.value)||Os(n))return null;var e=parseFloat(i.value);return!isNaN(e)&&en?{max:{max:n,actual:i.value}}:null}}(e)}},{key:"required",value:function(e){return function $2(n){return Os(n.value)?{required:!0}:null}(e)}},{key:"requiredTrue",value:function(e){return function Q2(n){return!0===n.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function J2(n){return Os(n.value)||s9.test(n.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function X2(n){return function(i){return Os(i.value)||!q2(i.value)?null:i.value.lengthn?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}}function mv(n){return null}function nL(n){return null!=n}function rL(n){var i=bd(n)?it(n):n;return Gg(i),i}function iL(n){var i={};return n.forEach(function(e){i=null!=e?Object.assign(Object.assign({},i),e):i}),0===Object.keys(i).length?null:i}function aL(n,i){return i.map(function(e){return e(n)})}function oL(n){return n.map(function(i){return function l9(n){return!n.validate}(i)?i:function(e){return i.validate(e)}})}function sL(n){if(!n)return null;var i=n.filter(nL);return 0==i.length?null:function(e){return iL(aL(e,i))}}function gb(n){return null!=n?sL(oL(n)):null}function lL(n){if(!n)return null;var i=n.filter(nL);return 0==i.length?null:function(e){return L2(aL(e,i).map(rL)).pipe(qe(iL))}}function _b(n){return null!=n?lL(oL(n)):null}function uL(n,i){return null===n?[i]:Array.isArray(n)?[].concat(ae(n),[i]):[n,i]}function cL(n){return n._rawValidators}function dL(n){return n._rawAsyncValidators}function yb(n){return n?Array.isArray(n)?n:[n]:[]}function gv(n,i){return Array.isArray(n)?n.includes(i):n===i}function fL(n,i){var e=yb(i);return yb(n).forEach(function(a){gv(e,a)||e.push(a)}),e}function hL(n,i){return yb(i).filter(function(e){return!gv(n,e)})}var pL=function(){function n(){c(this,n),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return d(n,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=gb(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=_b(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),n}(),wo=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return d(e)}(pL),Ni=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),e}(pL),vL=function(){function n(i){c(this,n),this._cd=i}return d(n,[{key:"is",value:function(e){var t,a,o;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(o=null===(a=this._cd)||void 0===a?void 0:a.control)||void 0===o?void 0:o[e])}}]),n}(),Jr=function(){var n=function(i){h(t,i);var e=y(t);function t(a){return c(this,t),e.call(this,a)}return d(t)}(vL);return n.\u0275fac=function(e){return new(e||n)(V(wo,2))},n.\u0275dir=et({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&fn("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[vt]}),n}(),Xr=function(){var n=function(i){h(t,i);var e=y(t);function t(a){return c(this,t),e.call(this,a)}return d(t)}(vL);return n.\u0275fac=function(e){return new(e||n)(V(Ni,10))},n.\u0275dir=et({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&fn("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[vt]}),n}();function gf(n,i){Mb(n,i),i.valueAccessor.writeValue(n.value),function m9(n,i){i.valueAccessor.registerOnChange(function(e){n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&gL(n,i)})}(n,i),function _9(n,i){var e=function(a,o){i.valueAccessor.writeValue(a),o&&i.viewToModelUpdate(a)};n.registerOnChange(e),i._registerOnDestroy(function(){n._unregisterOnChange(e)})}(n,i),function g9(n,i){i.valueAccessor.registerOnTouched(function(){n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&gL(n,i),"submit"!==n.updateOn&&n.markAsTouched()})}(n,i),function v9(n,i){if(i.valueAccessor.setDisabledState){var e=function(a){i.valueAccessor.setDisabledState(a)};n.registerOnDisabledChange(e),i._registerOnDestroy(function(){n._unregisterOnDisabledChange(e)})}}(n,i)}function bv(n,i){var t=function(){};i.valueAccessor&&(i.valueAccessor.registerOnChange(t),i.valueAccessor.registerOnTouched(t)),Mv(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(function(){}))}function kv(n,i){n.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function Mb(n,i){var e=cL(n);null!==i.validator?n.setValidators(uL(e,i.validator)):"function"==typeof e&&n.setValidators([e]);var t=dL(n);null!==i.asyncValidator?n.setAsyncValidators(uL(t,i.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);var a=function(){return n.updateValueAndValidity()};kv(i._rawValidators,a),kv(i._rawAsyncValidators,a)}function Mv(n,i){var e=!1;if(null!==n){if(null!==i.validator){var t=cL(n);if(Array.isArray(t)&&t.length>0){var a=t.filter(function(u){return u!==i.validator});a.length!==t.length&&(e=!0,n.setValidators(a))}}if(null!==i.asyncValidator){var o=dL(n);if(Array.isArray(o)&&o.length>0){var s=o.filter(function(u){return u!==i.asyncValidator});s.length!==o.length&&(e=!0,n.setAsyncValidators(s))}}}var l=function(){};return kv(i._rawValidators,l),kv(i._rawAsyncValidators,l),e}function gL(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function _L(n,i){Mb(n,i)}function yL(n,i){n._syncPendingControls(),i.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Sb(n,i){var e=n.indexOf(i);e>-1&&n.splice(e,1)}var _f="VALID",Cv="INVALID",fc="PENDING",yf="DISABLED";function Tb(n){return(wv(n)?n.validators:n)||null}function bL(n){return Array.isArray(n)?gb(n):n||null}function Lb(n,i){return(wv(i)?i.asyncValidators:n)||null}function kL(n){return Array.isArray(n)?_b(n):n||null}function wv(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var Eb=function(i){return i instanceof Ja},Sv=function(i){return i instanceof Ll},ML=function(i){return i instanceof DL};function CL(n){return Eb(n)?n.value:n.getRawValue()}function wL(n,i){var e=Sv(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new dt(1e3,"");if(!t[i])throw new dt(1001,"")}function SL(n,i){Sv(n),n._forEachChild(function(t,a){if(void 0===i[a])throw new dt(1002,"")})}var Pb=function(){function n(i,e){c(this,n),this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=i,this._rawAsyncValidators=e,this._composedValidatorFn=bL(this._rawValidators),this._composedAsyncValidatorFn=kL(this._rawAsyncValidators)}return d(n,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===_f}},{key:"invalid",get:function(){return this.status===Cv}},{key:"pending",get:function(){return this.status==fc}},{key:"disabled",get:function(){return this.status===yf}},{key:"enabled",get:function(){return this.status!==yf}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=bL(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=kL(e)}},{key:"addValidators",value:function(e){this.setValidators(fL(e,this._rawValidators))}},{key:"addAsyncValidators",value:function(e){this.setAsyncValidators(fL(e,this._rawAsyncValidators))}},{key:"removeValidators",value:function(e){this.setValidators(hL(e,this._rawValidators))}},{key:"removeAsyncValidators",value:function(e){this.setAsyncValidators(hL(e,this._rawAsyncValidators))}},{key:"hasValidator",value:function(e){return gv(this._rawValidators,e)}},{key:"hasAsyncValidator",value:function(e){return gv(this._rawAsyncValidators,e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=fc,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=yf,this.errors=null,this._forEachChild(function(a){a.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(a){return a(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=_f,this._forEachChild(function(a){a.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(a){return a(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_f||this.status===fc)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?yf:_f}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status=fc,this._hasOwnPendingAsyncValidator=!0;var a=rL(this.asyncValidator(this));this._asyncValidationSubscription=a.subscribe(function(o){t._hasOwnPendingAsyncValidator=!1,t.setErrors(o,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function M9(n,i,e){if(null==i||(Array.isArray(i)||(i=i.split(e)),Array.isArray(i)&&0===i.length))return null;var t=n;return i.forEach(function(a){t=Sv(t)?t.controls.hasOwnProperty(a)?t.controls[a]:null:ML(t)&&t.at(a)||null}),t}(this,e,".")}},{key:"getError",value:function(e,t){var a=t?this.get(t):this;return a&&a.errors?a.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new pt,this.statusChanges=new pt}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?yf:this.errors?Cv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fc)?fc:this._anyControlsHaveStatus(Cv)?Cv:_f}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){wv(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),n}(),Ja=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;return c(this,e),(t=i.call(this,Tb(o),Lb(s,o))).defaultValue=null,t._onChange=[],t._pendingChange=!1,t._applyFormState(a),t._setUpdateStrategy(o),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),wv(o)&&o.initialValueIsDefault&&(t.defaultValue=t._isBoxedValue(a)?a.value:a),t}return d(e,[{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=a,this._onChange.length&&!1!==s.emitModelToViewChange&&this._onChange.forEach(function(l){return l(o.value,!1!==s.emitViewToModelChange)}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(a,o)}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.defaultValue,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(a),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(a){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(a){this._onChange.push(a)}},{key:"_unregisterOnChange",value:function(a){Sb(this._onChange,a)}},{key:"registerOnDisabledChange",value:function(a){this._onDisabledChange.push(a)}},{key:"_unregisterOnDisabledChange",value:function(a){Sb(this._onDisabledChange,a)}},{key:"_forEachChild",value:function(a){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}]),e}(Pb),Ll=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,Tb(a),Lb(o,a))).controls=t,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return d(e,[{key:"registerControl",value:function(a,o){return this.controls[a]?this.controls[a]:(this.controls[a]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}},{key:"addControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],o&&this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};SL(this,a),Object.keys(a).forEach(function(l){wL(o,l),o.controls[l].setValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(Object.keys(a).forEach(function(l){o.controls[l]&&o.controls[l].patchValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(a,o,s){return a[s]=CL(o),a})}},{key:"_syncPendingControls",value:function(){var a=this._reduceChildren(!1,function(o,s){return!!s._syncPendingControls()||o});return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_forEachChild",value:function(a){var o=this;Object.keys(this.controls).forEach(function(s){var l=o.controls[s];l&&a(l,s)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){o.setParent(a),o._registerOnCollectionChange(a._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(a){for(var o=0,s=Object.keys(this.controls);o0||this.disabled}}]),e}(Pb),DL=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,Tb(a),Lb(o,a))).controls=t,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return d(e,[{key:"at",value:function(a){return this.controls[a]}},{key:"push",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(a,0,o),this._registerControl(o),this.updateValueAndValidity({emitEvent:s.emitEvent})}},{key:"removeAt",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:o.emitEvent})}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),o&&(this.controls.splice(a,0,o),this._registerControl(o)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};SL(this,a),a.forEach(function(l,u){wL(o,u),o.at(u).setValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(a.forEach(function(l,u){o.at(u)&&o.at(u).patchValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this.controls.map(function(a){return CL(a)})}},{key:"clear",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(o){return o._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}},{key:"_syncPendingControls",value:function(){var a=this.controls.reduce(function(o,s){return!!s._syncPendingControls()||o},!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_forEachChild",value:function(a){this.controls.forEach(function(o,s){a(o,s)})}},{key:"_updateValue",value:function(){var a=this;this.value=this.controls.filter(function(o){return o.enabled||a.disabled}).map(function(o){return o.value})}},{key:"_anyControls",value:function(a){return this.controls.some(function(o){return o.enabled&&a(o)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){return a._registerControl(o)})}},{key:"_allControlsDisabled",value:function(){var o,a=z(this.controls);try{for(a.s();!(o=a.n()).done;)if(o.value.enabled)return!1}catch(l){a.e(l)}finally{a.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}]),e}(Pb),C9={provide:Ni,useExisting:yn(function(){return kf})},bf=function(){return Promise.resolve(null)}(),kf=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this)).submitted=!1,s._directives=new Set,s.ngSubmit=new pt,s.form=new Ll({},gb(a),_b(o)),s}return d(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(o){var s=this;bf.then(function(){var l=s._findContainer(o.path);o.control=l.registerControl(o.name,o.control),gf(o.control,o),o.control.updateValueAndValidity({emitEvent:!1}),s._directives.add(o)})}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){var s=this;bf.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name),s._directives.delete(o)})}},{key:"addFormGroup",value:function(o){var s=this;bf.then(function(){var l=s._findContainer(o.path),u=new Ll({});_L(u,o),l.registerControl(o.name,u),u.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(o){var s=this;bf.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name)})}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){var l=this;bf.then(function(){l.form.get(o.path).setValue(s)})}},{key:"setValue",value:function(o){this.control.setValue(o)}},{key:"onSubmit",value:function(o){return this.submitted=!0,yL(this.form,this._directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(o){return o.pop(),o.length?this.form.get(o):this.form}}]),t}(Ni);return n.\u0275fac=function(e){return new(e||n)(V(li,10),V(As,10))},n.\u0275dir=et({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Se("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([C9]),vt]}),n}(),ei=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n}(),OL=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),xb=new $e("NgModelWithFormControlWarning"),x9={provide:Ni,useExisting:yn(function(){return gr})},gr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this)).validators=a,s.asyncValidators=o,s.submitted=!1,s._onCollectionChange=function(){return s._updateDomValue()},s.directives=[],s.form=null,s.ngSubmit=new pt,s._setValidators(a),s._setAsyncValidators(o),s}return d(t,[{key:"ngOnChanges",value:function(o){this._checkFormPresent(),o.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Mv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(o){var s=this.form.get(o.path);return gf(s,o),s.updateValueAndValidity({emitEvent:!1}),this.directives.push(o),s}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){bv(o.control||null,o),Sb(this.directives,o)}},{key:"addFormGroup",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormGroup",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"addFormArray",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormArray",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormArray",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){this.form.get(o.path).setValue(s)}},{key:"onSubmit",value:function(o){return this.submitted=!0,yL(this.form,this.directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_updateDomValue",value:function(){var o=this;this.directives.forEach(function(s){var l=s.control,u=o.form.get(s.path);l!==u&&(bv(l||null,s),Eb(u)&&(gf(u,s),s.control=u))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(o){var s=this.form.get(o.path);_L(s,o),s.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(o){if(this.form){var s=this.form.get(o.path);if(s){var l=function y9(n,i){return Mv(n,i)}(s,o);l&&s.updateValueAndValidity({emitEvent:!1})}}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Mb(this.form,this),this._oldForm&&Mv(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),t}(Ni);return n.\u0275fac=function(e){return new(e||n)(V(li,10),V(As,10))},n.\u0275dir=et({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Se("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([x9]),vt,Fr]}),n}(),I9={provide:wo,useExisting:yn(function(){return zr})},zr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f;return c(this,t),(f=e.call(this))._ngModelWarningConfig=u,f._added=!1,f.update=new pt,f._ngModelWarningSent=!1,f._parent=a,f._setValidators(o),f._setAsyncValidators(s),f.valueAccessor=function wb(n,i){if(!i)return null;Array.isArray(i);var e=void 0,t=void 0,a=void 0;return i.forEach(function(o){o.constructor===Qr?e=o:function k9(n){return Object.getPrototypeOf(n.constructor)===Tl}(o)?t=o:a=o}),a||t||e||null}(x(f),l),f}return d(t,[{key:"isDisabled",set:function(o){}},{key:"ngOnChanges",value:function(o){this._added||this._setUpControl(),function Cb(n,i){if(!n.hasOwnProperty("model"))return!1;var e=n.model;return!!e.isFirstChange()||!Object.is(i,e.currentValue)}(o,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"path",get:function(){return function yv(n,i){return[].concat(ae(i.path),[n])}(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),t}(wo);return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(V(Ni,13),V(li,10),V(As,10),V(Qa,10),V(xb,8))},n.\u0275dir=et({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[un([I9]),vt,Fr]}),n}();function HL(n){return"number"==typeof n?n:parseInt(n,10)}var El=function(){var n=function(){function i(){c(this,i),this._validator=mv}return d(i,[{key:"ngOnChanges",value:function(t){if(this.inputName in t){var a=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(a),this._validator=this._enabled?this.createValidator(a):mv,this._onChange&&this._onChange()}}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"enabled",value:function(t){return null!=t}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,features:[Fr]}),n}(),K9={provide:li,useExisting:yn(function(){return Yi}),multi:!0},Yi=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments)).inputName="maxlength",a.normalizeInput=function(o){return HL(o)},a.createValidator=function(o){return eL(o)},a}return d(t)}(El);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Gt("maxlength",t._enabled?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[un([K9]),vt]}),n}(),GL=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[OL]]}),n}(),$9=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[GL]}),n}(),qL=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"withConfig",value:function(t){return{ngModule:i,providers:[{provide:xb,useValue:t.warnOnNgModelWithFormControl}]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[GL]}),n}();function Q9(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}var Zi=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"group",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this._reduceControls(t),s=null,l=null,u=void 0;return null!=a&&(Q9(a)?(s=null!=a.validators?a.validators:null,l=null!=a.asyncValidators?a.asyncValidators:null,u=null!=a.updateOn?a.updateOn:void 0):(s=null!=a.validator?a.validator:null,l=null!=a.asyncValidator?a.asyncValidator:null)),new Ll(o,{asyncValidators:l,updateOn:u,validators:s})}},{key:"control",value:function(t,a,o){return new Ja(t,a,o)}},{key:"array",value:function(t,a,o){var s=this,l=t.map(function(u){return s._createControl(u)});return new DL(l,a,o)}},{key:"_reduceControls",value:function(t){var a=this,o={};return Object.keys(t).forEach(function(s){o[s]=a._createControl(t[s])}),o}},{key:"_createControl",value:function(t){return Eb(t)||Sv(t)||ML(t)?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:qL}),n}();function J9(n,i){1&n&&(P(0,"button",5)(1,"mat-icon"),F(2,"close"),E()())}function X9(n,i){1&n&&ws(0)}var KL=function(i){return{"content-margin":i}};function e7(n,i){if(1&n&&(P(0,"mat-dialog-content",6),K(1,X9,1,0,"ng-container",7),E()),2&n){var e=q(),t=sr(8);L("ngClass",Qe(2,KL,e.includeVerticalMargins)),v(1),L("ngTemplateOutlet",t)}}function t7(n,i){1&n&&ws(0)}function n7(n,i){if(1&n&&(P(0,"div",6),K(1,t7,1,0,"ng-container",7),E()),2&n){var e=q(),t=sr(8);L("ngClass",Qe(2,KL,e.includeVerticalMargins)),v(1),L("ngTemplateOutlet",t)}}function r7(n,i){1&n&&hr(0)}var a7=["*"],_r=function(){var n=d(function i(){c(this,i),this.includeScrollableArea=!0,this.includeVerticalMargins=!0});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-dialog"]],inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins"},ngContentSelectors:a7,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,t){1&e&&(Wi(),P(0,"div",0)(1,"span"),F(2),E(),K(3,J9,3,0,"button",1),E(),Ee(4,"div",2),K(5,e7,2,4,"mat-dialog-content",3),K(6,n7,2,4,"div",3),K(7,r7,1,0,"ng-template",null,4,Ts)),2&e&&(v(2),_e(t.headline),v(1),L("ngIf",!t.disableDismiss),v(2),L("ngIf",t.includeScrollableArea),v(1),L("ngIf",!t.includeScrollableArea))},directives:[N6,Et,yi,F6,Mn,vb,mr,tp],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),n}(),o7={tooltipState:zo("state",[Ii("initial, void, hidden",kn({opacity:0,transform:"scale(0)"})),Ii("visible",kn({transform:"scale(1)"})),gi("* => visible",Ai("200ms cubic-bezier(0, 0, 0.2, 1)",j4([kn({opacity:0,transform:"scale(0)",offset:0}),kn({opacity:.5,transform:"scale(0.99)",offset:.5}),kn({opacity:1,transform:"scale(1)",offset:1})]))),gi("* => hidden",Ai("100ms cubic-bezier(0, 0, 0.2, 1)",kn({opacity:0})))])},ZL="tooltip-panel",$L=gl({passive:!0}),QL=new $e("mat-tooltip-scroll-strategy"),c7={provide:QL,deps:[xa],useFactory:function u7(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:20})}}},d7=new $e("mat-tooltip-default-options",{providedIn:"root",factory:function f7(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),h7=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,w,R,B){var J=this;c(this,i),this._overlay=e,this._elementRef=t,this._scrollDispatcher=a,this._viewContainerRef=o,this._ngZone=s,this._platform=l,this._ariaDescriber=u,this._focusMonitor=f,this._dir=w,this._defaultOptions=R,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ie,this._scrollStrategy=m,this._document=B,R&&(R.position&&(this.position=R.position),R.touchGestures&&(this.touchGestures=R.touchGestures)),w.change.pipe(hn(this._destroyed)).subscribe(function(){J._overlayRef&&J._updatePosition(J._overlayRef)})}return d(i,[{key:"position",get:function(){return this._position},set:function(t){var a;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(a=this._tooltipInstance)||void 0===a||a.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Zn(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"showDelay",get:function(){return this._showDelay},set:function(t){this._showDelay=Ka(t)}},{key:"hideDelay",get:function(){return this._hideDelay},set:function(t){this._hideDelay=Ka(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},{key:"message",get:function(){return this._message},set:function(t){var a=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){a._ariaDescriber.describe(a._elementRef.nativeElement,a.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(hn(this._destroyed)).subscribe(function(a){a?"keyboard"===a&&t._ngZone.run(function(){return t.show()}):t._ngZone.run(function(){return t.hide(0)})})}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(function(a){var o=ne(a,2);t.removeEventListener(o[0],o[1],$L)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var o=this._createOverlay();this._detach(),this._portal=this._portal||new tc(this._tooltipComponent,this._viewContainerRef);var s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(hn(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(a)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var a,t=this;if(this._overlayRef)return this._overlayRef;var o=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),s=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(o);return s.positionChanges.pipe(hn(this._destroyed)).subscribe(function(l){t._updateCurrentPositionClass(l.connectionPair),t._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:s,panelClass:"".concat(this._cssClassPrefix,"-").concat(ZL),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(hn(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef.outsidePointerEvents().pipe(hn(this._destroyed)).subscribe(function(){var l;return null===(l=t._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(hn(this._destroyed)).subscribe(function(l){t._isTooltipVisible()&&27===l.keyCode&&!Zo(l)&&(l.preventDefault(),l.stopPropagation(),t._ngZone.run(function(){return t.hide(0)}))}),(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableTooltipInteractivity)&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(t){var a=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}},{key:"_addOffset",value:function(t){return t}},{key:"_getOrigin",value:function(){var o,t=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a||"below"==a?o={originX:"center",originY:"above"==a?"top":"bottom"}:"before"==a||"left"==a&&t||"right"==a&&!t?o={originX:"start",originY:"center"}:("after"==a||"right"==a&&t||"left"==a&&!t)&&(o={originX:"end",originY:"center"});var s=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s.x,originY:s.y}}}},{key:"_getOverlayPosition",value:function(){var o,t=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a?o={overlayX:"center",overlayY:"bottom"}:"below"==a?o={overlayX:"center",overlayY:"top"}:"before"==a||"left"==a&&t||"right"==a&&!t?o={overlayX:"end",overlayY:"center"}:("after"==a||"right"==a&&t||"left"==a&&!t)&&(o={overlayX:"start",overlayY:"center"});var s=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s.x,overlayY:s.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(tr(1),hn(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,a){return"above"===this.position||"below"===this.position?"top"===a?a="bottom":"bottom"===a&&(a="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:a}}},{key:"_updateCurrentPositionClass",value:function(t){var l,a=t.overlayY,o=t.originX;if((l="center"===a?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===a&&"top"===t.originY?"above":"below")!==this._currentPosition){var u=this._overlayRef;if(u){var f="".concat(this._cssClassPrefix,"-").concat(ZL,"-");u.removePanelClass(f+this._currentPosition),u.addPanelClass(f+l)}this._currentPosition=l}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var a,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var o=[];if(this._platformSupportsMouseEvents())o.push(["mouseleave",function(l){var u,f=l.relatedTarget;(!f||!(null===(u=t._overlayRef)||void 0===u?void 0:u.overlayElement.contains(f)))&&t.hide()}],["wheel",function(l){return t._wheelListener(l)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var s=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};o.push(["touchend",s],["touchcancel",s])}this._addListeners(o),(a=this._passiveListeners).push.apply(a,o)}}},{key:"_addListeners",value:function(t){var a=this;t.forEach(function(o){var s=ne(o,2);a._elementRef.nativeElement.addEventListener(s[0],s[1],$L)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(t){if(this._isTooltipVisible()){var a=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;a!==o&&!o.contains(a)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var a=this._elementRef.nativeElement,o=a.style;("on"===t||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===t||!a.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}]),i}();return n.\u0275fac=function(e){Ou()},n.\u0275dir=et({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n}(),ur=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,w,R,B,J,me){var we;return c(this,t),(we=e.call(this,a,o,s,l,u,f,m,w,R,B,J,me))._tooltipComponent=v7,we}return d(t)}(h7);return n.\u0275fac=function(e){return new(e||n)(V(xa),V(yt),V(OT),V(ii),V(bt),V(Sr),V(r8),V(xs),V(QL),V(ha,8),V(d7,8),V(xt))},n.\u0275dir=et({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[vt]}),n}(),p7=function(){var n=function(){function i(e){c(this,i),this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Ie}return d(i,[{key:"show",value:function(t){var a=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){a._visibility="visible",a._showTimeoutId=void 0,a._onShow(),a._markForCheck()},t)}},{key:"hide",value:function(t){var a=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){a._visibility="hidden",a._hideTimeoutId=void 0,a._markForCheck()},t)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var a=t.toState;"hidden"===a&&!this.isVisible()&&this._onHide.next(),("visible"===a||"hidden"===a)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_handleMouseLeave",value:function(t){var a=t.relatedTarget;(!a||!this._triggerElement.contains(a))&&this.hide(this._mouseLeaveHideDelay)}},{key:"_onShow",value:function(){}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Kn))},n.\u0275dir=et({type:n}),n}(),v7=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this,a))._breakpointObserver=o,s._isHandset=s._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),s}return d(t)}(p7);return n.\u0275fac=function(e){return new(e||n)(V(Kn),V(sb))},n.\u0275cmp=We({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Se("mouseleave",function(o){return t._handleMouseLeave(o)}),2&e&&Ss("zoom","visible"===t._visibility?1:null)},features:[vt],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var a;1&e&&(P(0,"div",0),Se("@state.start",function(){return t._animationStart()})("@state.done",function(s){return t._animationDone(s)}),Y(1,"async"),F(2),E()),2&e&&(fn("mat-tooltip-handset",null==(a=W(1,5,t._isHandset))?null:a.matches),L("ngClass",t.tooltipClass)("@state",t._visibility),v(2),_e(t.message))},directives:[mr],pipes:[qw],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}\n"],encapsulation:2,data:{animation:[o7.tooltipState]},changeDetection:0}),n}(),m7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[c7],imports:[[u2,bo,lf,Pn],Pn,nf]}),n}(),g7=["connectionContainer"],_7=["inputContainer"],y7=["label"];function b7(n,i){1&n&&(Ke(0),P(1,"div",14),Ee(2,"div",15)(3,"div",16)(4,"div",17),E(),P(5,"div",18),Ee(6,"div",15)(7,"div",16)(8,"div",17),E(),Ze())}function k7(n,i){if(1&n){var e=tt();P(0,"div",19),Se("cdkObserveContent",function(){return ke(e),q().updateOutlineGap()}),hr(1,1),E()}2&n&&L("cdkObserveContentDisabled","outline"!=q().appearance)}function M7(n,i){if(1&n&&(Ke(0),hr(1,2),P(2,"span"),F(3),E(),Ze()),2&n){var e=q(2);v(3),_e(e._control.placeholder)}}function C7(n,i){1&n&&hr(0,3,["*ngSwitchCase","true"])}function w7(n,i){1&n&&(P(0,"span",23),F(1," *"),E())}function S7(n,i){if(1&n){var e=tt();P(0,"label",20,21),Se("cdkObserveContent",function(){return ke(e),q().updateOutlineGap()}),K(2,M7,4,1,"ng-container",12),K(3,C7,1,0,"ng-content",12),K(4,w7,2,0,"span",22),E()}if(2&n){var t=q();fn("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),L("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),Gt("for",t._control.id)("aria-owns",t._control.id),v(2),L("ngSwitchCase",!1),v(1),L("ngSwitchCase",!0),v(1),L("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function D7(n,i){1&n&&(P(0,"div",24),hr(1,4),E())}function T7(n,i){if(1&n&&(P(0,"div",25),Ee(1,"span",26),E()),2&n){var e=q();v(1),fn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function L7(n,i){1&n&&(P(0,"div"),hr(1,5),E()),2&n&&L("@transitionMessages",q()._subscriptAnimationState)}function E7(n,i){if(1&n&&(P(0,"div",30),F(1),E()),2&n){var e=q(2);L("id",e._hintLabelId),v(1),_e(e.hintLabel)}}function P7(n,i){if(1&n&&(P(0,"div",27),K(1,E7,2,2,"div",28),hr(2,6),Ee(3,"div",29),hr(4,7),E()),2&n){var e=q();L("@transitionMessages",e._subscriptAnimationState),v(1),L("ngIf",e.hintLabel)}}var x7=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],O7=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],A7=0,JL=new $e("MatError"),Mf=function(){var n=d(function i(e,t){c(this,i),this.id="mat-error-".concat(A7++),e||t.nativeElement.setAttribute("aria-live","polite")});return n.\u0275fac=function(e){return new(e||n)(Ro("aria-live"),V(yt))},n.\u0275dir=et({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Gt("id",t.id)},inputs:{id:"id"},features:[un([{provide:JL,useExisting:n}])]}),n}(),I7={transitionMessages:zo("transitionMessages",[Ii("enter",kn({opacity:1,transform:"translateY(0%)"})),gi("void => enter",[kn({opacity:0,transform:"translateY(-5px)"}),Ai("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Dv=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n}),n}(),R7=new $e("MatHint"),XL=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-label"]]}),n}(),F7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-placeholder"]]}),n}(),N7=new $e("MatPrefix"),Y7=new $e("MatSuffix"),eE=0,B7=ac(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),V7=new $e("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Yb=new $e("MatFormField"),bi=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var w;return c(this,t),(w=e.call(this,a))._changeDetectorRef=o,w._dir=s,w._defaults=l,w._platform=u,w._ngZone=f,w._outlineGapCalculationNeededImmediately=!1,w._outlineGapCalculationNeededOnStable=!1,w._destroyed=new Ie,w._showAlwaysAnimate=!1,w._subscriptAnimationState="",w._hintLabel="",w._hintLabelId="mat-hint-".concat(eE++),w._labelId="mat-form-field-label-".concat(eE++),w.floatLabel=w._getDefaultFloatLabelState(),w._animationsEnabled="NoopAnimations"!==m,w.appearance=l&&l.appearance?l.appearance:"legacy",w._hideRequiredMarker=!(!l||null==l.hideRequiredMarker)&&l.hideRequiredMarker,w}return d(t,[{key:"appearance",get:function(){return this._appearance},set:function(o){var s=this._appearance;this._appearance=o||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&s!==o&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(o){this._hideRequiredMarker=Zn(o)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(o){this._hintLabel=o,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(o){o!==this._floatLabel&&(this._floatLabel=o||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(o){this._explicitFormFieldControl=o}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var o=this;this._validateControlChild();var s=this._control;s.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(s.controlType)),s.stateChanges.pipe(fa(null)).subscribe(function(){o._validatePlaceholders(),o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),s.ngControl&&s.ngControl.valueChanges&&s.ngControl.valueChanges.pipe(hn(this._destroyed)).subscribe(function(){return o._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){o._ngZone.onStable.pipe(hn(o._destroyed)).subscribe(function(){o._outlineGapCalculationNeededOnStable&&o.updateOutlineGap()})}),Mi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){o._outlineGapCalculationNeededOnStable=!0,o._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(fa(null)).subscribe(function(){o._processHints(),o._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(fa(null)).subscribe(function(){o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(hn(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?o._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return o.updateOutlineGap()})}):o.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(o){var s=this._control?this._control.ngControl:null;return s&&s[o]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var o=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Ju(this._label.nativeElement,"transitionend").pipe(tr(1)).subscribe(function(){o._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var o=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&o.push.apply(o,ae(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var s=this._hintChildren?this._hintChildren.find(function(u){return"start"===u.align}):null,l=this._hintChildren?this._hintChildren.find(function(u){return"end"===u.align}):null;s?o.push(s.id):this._hintLabel&&o.push(this._hintLabelId),l&&o.push(l.id)}else this._errorChildren&&o.push.apply(o,ae(this._errorChildren.map(function(u){return u.id})));this._control.setDescribedByIds(o)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var o=this._label?this._label.nativeElement:null,s=this._connectionContainerRef.nativeElement,l=".mat-form-field-outline-start",u=".mat-form-field-outline-gap";if("outline"===this.appearance&&this._platform.isBrowser){if(!o||!o.children.length||!o.textContent.trim()){for(var f=s.querySelectorAll("".concat(l,", ").concat(u)),m=0;m0?.75*Fe+10:0}for(var ze=0;ze-1}},{key:"_isBadInput",value:function(){var o=this._elementRef.nativeElement.validity;return o&&o.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var o=this._elementRef.nativeElement,s=o.options[0];return this.focused||o.multiple||!this.empty||!!(o.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(o){o.length?this._elementRef.nativeElement.setAttribute("aria-describedby",o.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"_isInlineSelect",value:function(){var o=this._elementRef.nativeElement;return this._isNativeSelect&&(o.multiple||o.size>1)}}]),t}(G7);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(Sr),V(wo,10),V(kf,8),V(gr,8),V(av),V(U7,10),V(j7),V(bt),V(Yb,8))},n.\u0275dir=et({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&Se("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(el("disabled",t.disabled)("required",t.required),Gt("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),fn("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[un([{provide:Dv,useExisting:n}]),vt,Fr]}),n}(),q7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[av],imports:[[rE,Tv,Pn],rE,Tv]}),n}(),K7=["button1"],Z7=["button2"];function $7(n,i){1&n&&Ee(0,"mat-spinner",4),2&n&&L("diameter",q().loadingSize)}function Q7(n,i){1&n&&(P(0,"mat-icon"),F(1,"error_outline"),E())}var J7=function(i){return{"for-dark-background":i}},X7=["*"],Is=function(){return function(n){n[n.Normal=0]="Normal",n[n.Error=1]="Error",n[n.Loading=2]="Loading"}(Is||(Is={})),Is}(),ui=function(){var n=function(){function i(){c(this,i),this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new pt,this.state=Is.Normal,this.buttonStates=Is}return d(i,[{key:"ngOnDestroy",value:function(){this.action.complete()}},{key:"click",value:function(){this.disabled||(this.reset(),this.action.emit())}},{key:"reset",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Is.Normal,t&&(this.disabled=!1)}},{key:"focus",value:function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}},{key:"showEnabled",value:function(){this.disabled=!1}},{key:"showDisabled",value:function(){this.disabled=!0}},{key:"showLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Is.Loading,t&&(this.disabled=!0)}},{key:"showError",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Is.Error,t&&(this.disabled=!1)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-button"]],viewQuery:function(e,t){var a;1&e&&(_t(K7,5),_t(Z7,5)),2&e&&(lt(a=ut())&&(t.button1=a.first),lt(a=ut())&&(t.button2=a.first))},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:X7,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,t){1&e&&(Wi(),P(0,"button",0,1),Se("click",function(){return t.click()}),K(2,$7,1,1,"mat-spinner",2),K(3,Q7,2,0,"mat-icon",3),hr(4),E()),2&e&&(L("disabled",t.disabled)("color",t.color)("ngClass",Qe(5,J7,t.forDarkBackground)),v(2),L("ngIf",t.state===t.buttonStates.Loading),v(1),L("ngIf",t.state===t.buttonStates.Error))},directives:[yi,mr,Et,$a,Mn],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),n}(),eU=["button"],tU=["firstInput"];function nU(n,i){1&n&&(P(0,"mat-form-field",10),Ee(1,"input",11),Y(2,"translate"),P(3,"mat-error"),F(4),Y(5,"translate"),E()()),2&n&&(v(1),L("placeholder",W(2,2,"settings.password.old-password")),v(3),Me(" ",W(5,4,"settings.password.errors.old-password-required")," "))}var rU=function(i){return{"rounded-elevated-box":i}},iE=function(i){return{"white-form-field":i}},iU=function(i,e){return{"mt-2 app-button":i,"float-right":e}},aE=function(){var n=function(){function i(e,t,a,o){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.forInitialConfig=!1}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=new Ll({oldPassword:new Ja("",this.forInitialConfig?null:Cn.required),newPassword:new Ja("",Cn.compose([Cn.required,Cn.minLength(6),Cn.maxLength(64)])),newPasswordConfirmation:new Ja("",[Cn.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(function(){return t.form.controls.newPasswordConfirmation.updateValueAndValidity()})}},{key:"ngAfterViewInit",value:function(){var t=this;this.forInitialConfig&&setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}},{key:"changePassword",value:function(){var t=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(function(){t.dialog.closeAll(),t.snackbarService.showDone("settings.password.initial-config.done")},function(a){t.button.showError(),a=dn(a),t.snackbarService.showError(a,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(function(){t.router.navigate(["nodes"]),t.snackbarService.showDone("settings.password.password-changed")},function(a){t.button.showError(),a=dn(a),t.snackbarService.showError(a)}))}},{key:"validatePasswords",value:function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(mf),V(an),V(An),V(Wn))},n.\u0275cmp=We({type:n,selectors:[["app-password"]],viewQuery:function(e,t){var a;1&e&&(_t(eU,5),_t(tU,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:38,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),Y(4,"translate"),F(5," help "),E()(),P(6,"form",3),K(7,nU,6,6,"mat-form-field",4),P(8,"mat-form-field",0),Ee(9,"input",5,6),Y(11,"translate"),P(12,"mat-error"),F(13),Y(14,"translate"),E()(),P(15,"mat-form-field",0),Ee(16,"input",7),Y(17,"translate"),P(18,"mat-error"),F(19),Y(20,"translate"),E()(),P(21,"app-button",8,9),Se("action",function(){return t.changePassword()}),F(23),Y(24,"translate"),E()()()()),2&e&&(L("ngClass",Qe(29,rU,!t.forInitialConfig)),v(2),sa((t.forInitialConfig?"":"white-")+"form-help-icon-container"),v(1),L("inline",!0)("matTooltip",W(4,17,t.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),v(3),L("formGroup",t.form),v(1),L("ngIf",!t.forInitialConfig),v(1),L("ngClass",Qe(31,iE,!t.forInitialConfig)),v(1),L("placeholder",W(11,19,t.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),v(4),Me(" ",W(14,21,"settings.password.errors.new-password-error")," "),v(2),L("ngClass",Qe(33,iE,!t.forInitialConfig)),v(1),L("placeholder",W(17,23,t.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),v(3),Me(" ",W(20,25,"settings.password.errors.passwords-not-match")," "),v(2),L("ngClass",En(35,iU,!t.forInitialConfig,t.forInitialConfig))("disabled",!t.form.valid)("forDarkBackground",!t.forInitialConfig),v(2),Me(" ",W(24,27,t.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},directives:[mr,Mn,ur,ei,Xr,gr,Et,bi,Qr,$i,Jr,zr,Yi,Mf,ui],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),n}(),aU=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"openDialog",value:function(t){var a=new $n;return a.autoFocus=!1,a.width=Kt.smallModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-initial-setup"]],decls:3,vars:4,consts:[[3,"headline"],[3,"forInitialConfig"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),Ee(2,"app-password",1),E()),2&e&&(L("headline",W(1,2,"settings.password.initial-config.title")),v(2),L("forInitialConfig",!0))},directives:[_r,aE],pipes:[Mt],styles:[""]}),n}();function oU(n,i){if(1&n){var e=tt();P(0,"button",3),Se("click",function(){var s=ke(e).$implicit;return q().closePopup(s)}),Ee(1,"img",4),P(2,"div",5),F(3),E()()}if(2&n){var t=i.$implicit;v(1),L("src","assets/img/lang/"+t.iconName,Fo),v(2),_e(t.name)}}var oE=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.languageService=t,this.languages=[]}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.languageService.languages.subscribe(function(a){t.languages=a})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"closePopup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&this.languageService.changeLanguage(t.code),this.dialogRef.close()}}],[{key:"openDialog",value:function(t){var a=new $n;return a.autoFocus=!1,a.width=Kt.mediumModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr),V(pv))},n.\u0275cmp=We({type:n,selectors:[["app-select-language"]],decls:4,vars:4,consts:[[3,"headline"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"div",1),K(3,oU,4,2,"button",2),E()()),2&e&&(L("headline",W(1,2,"language.title")),v(3),L("ngForOf",t.languages))},directives:[_r,xr,yi],pipes:[Mt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),n}();function sU(n,i){1&n&&Ee(0,"img",2),2&n&&L("src","assets/img/lang/"+q().language.iconName,Fo)}var lU=function(){var n=function(){function i(e,t){c(this,i),this.languageService=e,this.dialog=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.languageService.currentLanguage.subscribe(function(a){t.language=a})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"openLanguageWindow",value:function(){oE.openDialog(this.dialog)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(pv),V(Wn))},n.\u0275cmp=We({type:n,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(e,t){1&e&&(P(0,"button",0),Se("click",function(){return t.openLanguageWindow()}),Y(1,"translate"),K(2,sU,1,1,"img",1),E()),2&e&&(L("matTooltip",W(1,2,"language.title")),v(2),L("ngIf",t.language))},directives:[yi,ur,Et],pipes:[Mt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),n}(),sE=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.route=s,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.routeSubscription=this.route.paramMap.subscribe(function(a){t.vpnKey=a.get("key"),t.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),t.verificationSubscription=t.authService.checkLogin().subscribe(function(o){o!==Qo.NotLogged&&t.router.navigate(t.isForVpn?["vpn",t.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}),this.form=new Ll({password:new Ja("",Cn.required)})}},{key:"ngOnDestroy",value:function(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}},{key:"login",value:function(){var t=this;!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(function(){return t.onLoginSuccess()},function(a){return t.onLoginError(a)}))}},{key:"configure",value:function(){aU.openDialog(this.dialog)}},{key:"onLoginSuccess",value:function(){this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})}},{key:"onLoginError",value:function(t){t=dn(t),this.loading=!1,this.snackbarService.showError(t.originalError&&401===t.originalError.status?"login.incorrect-password":t.translatableErrorMsg)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(mf),V(an),V(An),V(Wn),V(oi))},n.\u0275cmp=We({type:n,selectors:[["app-login"]],decls:14,vars:8,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,t){1&e&&(P(0,"div",0),Ee(1,"app-lang-button"),P(2,"div",1),Ee(3,"img",2),P(4,"form",3)(5,"div",4)(6,"input",5),Se("keydown.enter",function(){return t.login()}),Y(7,"translate"),E(),P(8,"button",6),Se("click",function(){return t.login()}),P(9,"mat-icon"),F(10,"chevron_right"),E()()()(),P(11,"div",7),Se("click",function(){return t.configure()}),F(12),Y(13,"translate"),E()()()),2&e&&(v(4),L("formGroup",t.form),v(2),L("placeholder",W(7,4,"login.password")),v(2),L("disabled",!t.form.valid||t.loading),v(4),_e(W(13,6,"login.initial-config")))},directives:[lU,ei,Xr,gr,Qr,Jr,zr,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px #0000001a,0 6px 20px #0000001a;display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),n}();function uU(n){return n instanceof Date&&!isNaN(+n)}function ki(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xu,e=uU(n),t=e?+n-i.now():Math.abs(n);return function(a){return a.lift(new cU(t,i))}}var cU=function(){function n(i,e){c(this,n),this.delay=i,this.scheduler=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new dU(e,this.delay,this.scheduler))}}]),n}(),dU=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).delay=a,s.scheduler=o,s.queue=[],s.active=!1,s.errored=!1,s}return d(e,[{key:"_schedule",value:function(a){this.active=!0,this.destination.add(a.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:a}))}},{key:"scheduleNotification",value:function(a){if(!0!==this.errored){var o=this.scheduler,s=new fU(o.now()+this.delay,a);this.queue.push(s),!1===this.active&&this._schedule(o)}}},{key:"_next",value:function(a){this.scheduleNotification(qo.createNext(a))}},{key:"_error",value:function(a){this.errored=!0,this.queue=[],this.destination.error(a),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(qo.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){for(var o=a.source,s=o.queue,l=a.scheduler,u=a.destination;s.length>0&&s[0].time-l.now()<=0;)s.shift().notification.observe(u);if(s.length>0){var f=Math.max(0,s[0].time-l.now());this.schedule(a,f)}else this.unsubscribe(),o.active=!1}}]),e}(St),fU=d(function n(i,e){c(this,n),this.time=i,this.notification=e}),Hb=H(9774),Lv=H.n(Hb),Bb=d(function n(){c(this,n)}),hU=d(function n(){c(this,n)}),Xa=function(){return function(n){n.Connecting="connecting",n.Unhealthy="unhealthy",n.Healthy="healthy"}(Xa||(Xa={})),Xa}(),pU=d(function n(){c(this,n),this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}),nr=function(){return function(n){n.UseCustomSettings="updaterUseCustomSettings",n.Channel="updaterChannel",n.Version="updaterVersion",n.ArchiveURL="updaterArchiveURL",n.ChecksumsURL="updaterChecksumsURL"}(nr||(nr={})),nr}(),hc=function(){var n=function(){function i(e,t){var a=this;c(this,i),this.apiService=e,this.storageService=t,this.maxTrafficHistorySlots=10,this.nodeListSubject=new jr(null),this.updatingNodeListSubject=new jr(!1),this.specificNodeSubject=new jr(null),this.updatingSpecificNodeSubject=new jr(!1),this.specificNodeTrafficDataSubject=new jr(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(function(o){a.dataRefreshDelay=1e3*o,a.nodeListRefreshSubscription&&a.forceNodeListRefresh(),a.specificNodeRefreshSubscription&&a.forceSpecificNodeRefresh()})}return d(i,[{key:"nodeList",get:function(){return this.nodeListSubject.asObservable()}},{key:"updatingNodeList",get:function(){return this.updatingNodeListSubject.asObservable()}},{key:"specificNode",get:function(){return this.specificNodeSubject.asObservable()}},{key:"updatingSpecificNode",get:function(){return this.updatingSpecificNodeSubject.asObservable()}},{key:"specificNodeTrafficData",get:function(){return this.specificNodeTrafficDataSubject.asObservable()}},{key:"startRequestingNodeList",value:function(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);var a=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);this.startDataSubscription(a=a>0?a:0,!0)}},{key:"startRequestingSpecificNode",value:function(t){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===t)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);var o=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==t||0===o?(this.specificNodeKey=t,this.specificNodeTrafficDataSubject.next(new pU),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(o,!1)}},{key:"calculateRemainingTime",value:function(t){if(t<1)return 0;var a=this.dataRefreshDelay-(Date.now()-t);return a<0&&(a=0),a}},{key:"stopRequestingNodeList",value:function(){var t=this;this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=Je(1).pipe(ki(4e3)).subscribe(function(){t.nodeListRefreshSubscription.unsubscribe(),t.nodeListRefreshSubscription=null}))}},{key:"stopRequestingSpecificNode",value:function(){var t=this;this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=Je(1).pipe(ki(4e3)).subscribe(function(){t.specificNodeRefreshSubscription.unsubscribe(),t.specificNodeRefreshSubscription=null}))}},{key:"startDataSubscription",value:function(t,a){var s,l,u,o=this;a?(s=this.updatingNodeListSubject,l=this.nodeListSubject,u=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(s=this.updatingSpecificNodeSubject,l=this.specificNodeSubject,u=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());var f=Je(1).pipe(ki(t),Ar(function(){return s.next(!0)}),ki(120),Dn(function(){return u})).subscribe(function(m){var w;s.next(!1),a?w=o.dataRefreshDelay:(o.updateTrafficData(m.transports),(w=o.calculateRemainingTime(o.lastScheduledHistoryUpdateTime))<1e3&&(o.lastScheduledHistoryUpdateTime=Date.now(),w=o.dataRefreshDelay));var R={data:m,error:null,momentOfLastCorrectUpdate:Date.now()};l.next(R),o.startDataSubscription(w,a)},function(m){s.next(!1),m=dn(m);var w={data:l.value&&l.value.data?l.value.data:null,error:m,momentOfLastCorrectUpdate:l.value?l.value.momentOfLastCorrectUpdate:-1};!a&&m.originalError&&400===m.originalError.status||o.startDataSubscription(Kt.connectionRetryDelay,a),l.next(w)});a?this.nodeListRefreshSubscription=f:this.specificNodeRefreshSubscription=f}},{key:"updateTrafficData",value:function(t){var a=this.specificNodeTrafficDataSubject.value;if(a.totalSent=0,a.totalReceived=0,t&&t.length>0&&(a.totalSent=t.reduce(function(f,m){return f+m.sent},0),a.totalReceived=t.reduce(function(f,m){return f+m.recv},0)),0===a.sentHistory.length)for(var o=0;othis.maxTrafficHistorySlots&&(l=this.maxTrafficHistorySlots),0===l)a.sentHistory[a.sentHistory.length-1]=a.totalSent,a.receivedHistory[a.receivedHistory.length-1]=a.totalReceived;else for(var u=0;uthis.maxTrafficHistorySlots&&(a.sentHistory.splice(0,a.sentHistory.length-this.maxTrafficHistorySlots),a.receivedHistory.splice(0,a.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(a)}},{key:"forceNodeListRefresh",value:function(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)}},{key:"forceSpecificNodeRefresh",value:function(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)}},{key:"getNodes",value:function(){var t=this,a=[];return this.apiService.get("visors-summary").pipe(qe(function(o){o&&o.forEach(function(m){var w=new Bb;w.online=m.online,w.localPk=m.overview.local_pk,w.version=m.overview.build_info.version,w.autoconnectTransports=m.public_autoconnect,w.buildTag=m.build_tag?m.build_tag:"",w.ip=m.overview&&m.overview.local_ip&&m.overview.local_ip.trim()?m.overview.local_ip:null;var R=t.storageService.getLabelInfo(w.localPk);if(w.label=R&&R.label?R.label:t.storageService.getDefaultLabel(w),!w.online)return w.dmsgServerPk="",w.roundTripPing="",void a.push(w);w.health={servicesHealth:m.health.services_health},w.dmsgServerPk=m.dmsg_stats.server_public_key,w.roundTripPing=t.nsToMs(m.dmsg_stats.round_trip),w.isHypervisor=m.is_hypervisor,a.push(w)});var s=new Map,l=[],u=[];a.forEach(function(m){s.set(m.localPk,m),m.online&&(l.push(m.localPk),u.push(m.ip))}),t.storageService.includeVisibleLocalNodes(l,u);var f=[];return t.storageService.getSavedLocalNodes().forEach(function(m){if(!s.has(m.publicKey)&&!m.hidden){var w=new Bb;w.localPk=m.publicKey;var R=t.storageService.getLabelInfo(m.publicKey);w.label=R&&R.label?R.label:t.storageService.getDefaultLabel(w),w.online=!1,w.dmsgServerPk="",w.roundTripPing="",f.push(w)}s.has(m.publicKey)&&!s.get(m.publicKey).online&&m.hidden&&s.delete(m.publicKey)}),a=[],s.forEach(function(m){return a.push(m)}),a=a.concat(f)}))}},{key:"nsToMs",value:function(t){var a=new(Lv())(t).dividedBy(1e6);return(a=a.isLessThan(10)?a.decimalPlaces(2):a.decimalPlaces(0)).toString(10)}},{key:"getNode",value:function(t){var a=this;return this.apiService.get("visors/".concat(t,"/summary")).pipe(qe(function(o){var s=new Bb;s.localPk=o.overview.local_pk,s.version=o.overview.build_info.version,s.secondsOnline=Math.floor(Number.parseFloat(o.uptime)),s.minHops=o.min_hops,s.buildTag=o.build_tag,s.skybianBuildVersion=o.skybian_build_version,s.isSymmeticNat=o.overview.is_symmetic_nat,s.publicIp=o.overview.public_ip,s.autoconnectTransports=o.public_autoconnect,s.ip=o.overview.local_ip&&o.overview.local_ip.trim()?o.overview.local_ip:null;var l=a.storageService.getLabelInfo(s.localPk);s.label=l&&l.label?l.label:a.storageService.getDefaultLabel(s),s.health={servicesHealth:o.health.services_health},s.transports=[],o.overview.transports&&o.overview.transports.forEach(function(f){s.transports.push({id:f.id,localPk:f.local_pk,remotePk:f.remote_pk,type:f.type,recv:f.log.recv,sent:f.log.sent})}),s.persistentTransports=[],o.persistent_transports&&o.persistent_transports.forEach(function(f){s.persistentTransports.push({pk:f.pk,type:f.type})}),s.routes=[],o.routes&&o.routes.forEach(function(f){s.routes.push({key:f.key,rule:f.rule}),f.rule_summary&&(s.routes[s.routes.length-1].ruleSummary={keepAlive:f.rule_summary.keep_alive,ruleType:f.rule_summary.rule_type,keyRouteId:f.rule_summary.key_route_id},f.rule_summary.app_fields&&f.rule_summary.app_fields.route_descriptor&&(s.routes[s.routes.length-1].appFields={routeDescriptor:{dstPk:f.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:f.rule_summary.app_fields.route_descriptor.dst_port,srcPk:f.rule_summary.app_fields.route_descriptor.src_pk,srcPort:f.rule_summary.app_fields.route_descriptor.src_port}}),f.rule_summary.forward_fields&&(s.routes[s.routes.length-1].forwardFields={nextRid:f.rule_summary.forward_fields.next_rid,nextTid:f.rule_summary.forward_fields.next_tid},f.rule_summary.forward_fields.route_descriptor&&(s.routes[s.routes.length-1].forwardFields.routeDescriptor={dstPk:f.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:f.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:f.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:f.rule_summary.forward_fields.route_descriptor.src_port})),f.rule_summary.intermediary_forward_fields&&(s.routes[s.routes.length-1].intermediaryForwardFields={nextRid:f.rule_summary.intermediary_forward_fields.next_rid,nextTid:f.rule_summary.intermediary_forward_fields.next_tid}))}),s.apps=[],o.overview.apps&&o.overview.apps.forEach(function(f){s.apps.push({name:f.name,status:f.status,port:f.port,autostart:f.auto_start,detailedStatus:f.detailed_status,args:f.args})});var u=!1;return o.dmsg_stats&&(s.dmsgServerPk=o.dmsg_stats.server_public_key,s.roundTripPing=a.nsToMs(o.dmsg_stats.round_trip),u=!0),u||(s.dmsgServerPk="-",s.roundTripPing="-1"),s}))}},{key:"reboot",value:function(t){return this.apiService.post("visors/".concat(t,"/restart"))}},{key:"checkIfUpdating",value:function(t){return this.apiService.get("visors/".concat(t,"/update/ws/running"))}},{key:"checkUpdate",value:function(t){var a="stable";return a=localStorage.getItem(nr.Channel)||a,this.apiService.get("visors/".concat(t,"/update/available/").concat(a))}},{key:"update",value:function(t){var a={channel:"stable"};if(localStorage.getItem(nr.UseCustomSettings)){var s=localStorage.getItem(nr.Channel);s&&(a.channel=s);var l=localStorage.getItem(nr.Version);l&&(a.version=l);var u=localStorage.getItem(nr.ArchiveURL);u&&(a.archive_url=u);var f=localStorage.getItem(nr.ChecksumsURL);f&&(a.checksums_url=f)}return this.apiService.ws("visors/".concat(t,"/update/ws"),a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Dl),Le(Ki))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),vU=["firstInput"],Vb=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.storageService=o,this.snackbarService=s}return d(i,[{key:"ngOnInit",value:function(){this.form=this.formBuilder.group({label:[this.data.label]})}},{key:"ngAfterViewInit",value:function(){var t=this;setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"save",value:function(){var t=this.form.get("label").value.trim();t!==this.data.label?(this.storageService.saveLabel(this.data.id,t,this.data.identifiedElementType),t?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr),V(Ur),V(Zi),V(Ki),V(An))},n.\u0275cmp=We({type:n,selectors:[["app-edit-label"]],viewQuery:function(e,t){var a;1&e&&_t(vU,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"form",1)(3,"mat-form-field"),Ee(4,"input",2,3),Y(6,"translate"),E()(),P(7,"app-button",4),Se("action",function(){return t.save()}),F(8),Y(9,"translate"),E()()),2&e&&(L("headline",W(1,4,"labeled-element.edit-label")),v(2),L("formGroup",t.form),v(2),L("placeholder",W(6,6,"edit-label.label")),v(4),_e(W(9,8,"common.save")))},directives:[_r,ei,Xr,gr,bi,Qr,$i,Jr,zr,Yi,ui],pipes:[Mt],styles:[""]}),n}(),mU=["cancelButton"],gU=["confirmButton"];function _U(n,i){if(1&n&&(P(0,"div"),F(1),Y(2,"translate"),E()),2&n){var e=i.$implicit;v(1),Me(" - ",W(2,1,e)," ")}}function yU(n,i){if(1&n&&(P(0,"div",8),K(1,_U,3,3,"div",9),E()),2&n){var e=q();v(1),L("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function bU(n,i){if(1&n&&(P(0,"div",1),F(1),Y(2,"translate"),E()),2&n){var e=q();v(1),Me(" ",W(2,1,e.data.lowerText)," ")}}function kU(n,i){if(1&n){var e=tt();P(0,"app-button",10,11),Se("action",function(){return ke(e),q().closeModal()}),F(2),Y(3,"translate"),E()}if(2&n){var t=q();v(2),Me(" ",W(3,1,t.data.cancelButtonText)," ")}}var Rs=function(){return function(n){n.Asking="Asking",n.Processing="Processing",n.Done="Done"}(Rs||(Rs={})),Rs}(),MU=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.data=t,this.disableDismiss=!1,this.state=Rs.Asking,this.confirmationStates=Rs,this.operationAccepted=new pt,this.disableDismiss=!!t.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return d(i,[{key:"ngAfterViewInit",value:function(){var t=this;this.data.cancelButtonText?setTimeout(function(){return t.cancelButton.focus()}):setTimeout(function(){return t.confirmButton.focus()})}},{key:"ngOnDestroy",value:function(){this.operationAccepted.complete()}},{key:"closeModal",value:function(){this.dialogRef.close()}},{key:"sendOperationAcceptedEvent",value:function(){this.operationAccepted.emit()}},{key:"showAsking",value:function(t){t&&(this.data=t),this.state=Rs.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}},{key:"showProcessing",value:function(){this.state=Rs.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}},{key:"showDone",value:function(t,a){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.doneTitle=t||this.data.headerText,this.doneText=a,this.doneList=s,this.confirmButton.reset(),setTimeout(function(){return o.confirmButton.focus()}),this.state=Rs.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr),V(Ur))},n.\u0275cmp=We({type:n,selectors:[["app-confirmation"]],viewQuery:function(e,t){var a;1&e&&(_t(mU,5),_t(gU,5)),2&e&&(lt(a=ut())&&(t.cancelButton=a.first),lt(a=ut())&&(t.confirmButton=a.first))},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:13,consts:[[3,"headline","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"div",1),F(3),Y(4,"translate"),E(),K(5,yU,2,1,"div",2),K(6,bU,3,3,"div",3),P(7,"div",4),K(8,kU,4,3,"app-button",5),P(9,"app-button",6,7),Se("action",function(){return t.state===t.confirmationStates.Asking?t.sendOperationAcceptedEvent():t.closeModal()}),F(11),Y(12,"translate"),E()()()),2&e&&(L("headline",W(1,7,t.state!==t.confirmationStates.Done?t.data.headerText:t.doneTitle))("disableDismiss",t.disableDismiss),v(3),Me(" ",W(4,9,t.state!==t.confirmationStates.Done?t.data.text:t.doneText)," "),v(2),L("ngIf",t.data.list&&t.state!==t.confirmationStates.Done||t.doneList&&t.state===t.confirmationStates.Done),v(1),L("ngIf",t.data.lowerText&&t.state!==t.confirmationStates.Done),v(2),L("ngIf",t.data.cancelButtonText&&t.state!==t.confirmationStates.Done),v(3),Me(" ",W(12,11,t.state!==t.confirmationStates.Done?t.data.confirmButtonText:"confirmation.close")," "))},directives:[_r,Et,xr,ui],pipes:[Mt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),n}(),Zt=function(){function n(){c(this,n)}return d(n,null,[{key:"createConfirmationDialog",value:function(e,t){var a={text:t,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(MU,o)}},{key:"checkIfTagIsUpdatable",value:function(e){return!(null==e||e.toUpperCase()==="Windows".toUpperCase()||e.toUpperCase()==="Win".toUpperCase()||e.toUpperCase()==="Mac".toUpperCase()||e.toUpperCase()==="Macos".toUpperCase()||e.toUpperCase()==="Mac OS".toUpperCase()||e.toUpperCase()==="Darwin".toUpperCase())}},{key:"checkIfTagCanOpenterminal",value:function(e){return!(null==e||e.toUpperCase()==="Windows".toUpperCase()||e.toUpperCase()==="Win".toUpperCase())}}]),n}();function CU(n,i){if(1&n&&(P(0,"mat-icon",6),F(1),E()),2&n){var e=q().$implicit;L("inline",!0),v(1),_e(e.icon)}}function wU(n,i){if(1&n){var e=tt();P(0,"div",2)(1,"button",3),Se("click",function(){var s=ke(e).index;return q().closePopup(s+1)}),P(2,"div",4),K(3,CU,2,2,"mat-icon",5),P(4,"span"),F(5),Y(6,"translate"),E()()()()}if(2&n){var t=i.$implicit;v(3),L("ngIf",t.icon),v(2),_e(W(6,2,t.label))}}var Hi=function(){var n=function(){function i(e,t){c(this,i),this.data=e,this.dialogRef=t}return d(i,[{key:"closePopup",value:function(t){this.dialogRef.close(t)}}],[{key:"openDialog",value:function(t,a,o){var s=new $n;return s.data={options:a,title:o},s.autoFocus=!1,s.width=Kt.smallModalWidth,t.open(i,s)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur),V(Rr))},n.\u0275cmp=We({type:n,selectors:[["app-select-option"]],decls:3,vars:5,consts:[[3,"headline","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),K(2,wU,7,4,"div",1),E()),2&e&&(L("headline",W(1,3,t.data.title))("includeVerticalMargins",!1),v(2),L("ngForOf",t.data.options))},directives:[_r,xr,yi,Et,Mn],pipes:[Mt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),n}(),Gn=function(){return function(n){n.TextInput="TextInput",n.Select="Select"}(Gn||(Gn={})),Gn}(),Cf=function(){var n=function(){function i(e){c(this,i),this.dom=e}return d(i,[{key:"copy",value:function(t){var a=null,o=!1;try{(a=this.dom.createElement("textarea")).style.height="0px",a.style.left="-100px",a.style.opacity="0",a.style.position="fixed",a.style.top="-100px",a.style.width="0px",this.dom.body.appendChild(a),a.value=t,a.select(),this.dom.execCommand("copy"),o=!0}finally{a&&a.parentNode&&a.parentNode.removeChild(a)}return o}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(xt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function TU(n,i){if(1&n&&(Ke(0),P(1,"span",2),F(2),E(),Ze()),2&n){var e=q();v(2),_e(e.shortText)}}function LU(n,i){if(1&n&&(Ke(0),P(1,"span"),F(2),E(),Ze()),2&n){var e=q();v(2),_e(e.text)}}var EU=function(){return{"tooltip-word-break":!0}},lE=function(){var n=function(){function i(){c(this,i),this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return d(i,[{key:"shortText",get:function(){if(this.text.length>2*this.shortTextLength){var t=this.text.length,a=this.text.slice(0,this.shortTextLength),o=this.text.slice(t-this.shortTextLength,t);return"".concat(a,"...").concat(o)}return this.text}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(e,t){1&e&&(P(0,"div",0),K(1,TU,3,1,"ng-container",1),K(2,LU,3,1,"ng-container",1),E()),2&e&&(L("matTooltip",t.short&&t.showTooltip?t.text:"")("matTooltipClass",Nn(4,EU)),v(1),L("ngIf",t.short),v(1),L("ngIf",!t.short))},directives:[ur,Et],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),n}();function PU(n,i){if(1&n&&(P(0,"span"),F(1),Y(2,"translate"),E()),2&n){var e=q();v(1),Me(" ",W(2,1,e.labelComponents.prefix)," ")}}function xU(n,i){if(1&n&&(P(0,"span"),F(1),E()),2&n){var e=q();v(1),Me(" ",e.labelComponents.prefixSeparator," ")}}function OU(n,i){if(1&n&&(P(0,"span"),F(1),E()),2&n){var e=q();v(1),Me(" ",e.labelComponents.label," ")}}function AU(n,i){if(1&n&&(P(0,"span"),F(1),Y(2,"translate"),E()),2&n){var e=q();v(1),Me(" ",W(2,1,e.labelComponents.translatableLabel)," ")}}var IU=function(i){return{text:i}},RU=function(){return{"tooltip-word-break":!0}},FU=d(function n(){c(this,n),this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}),Xo=function(){var n=function(){function i(e,t,a,o){c(this,i),this.dialog=e,this.storageService=t,this.clipboardService=a,this.snackbarService=o,this.short=!1,this.shortTextLength=5,this.elementType=si.Node,this.labelEdited=new pt}return d(i,[{key:"id",get:function(){return this.idInternal?this.idInternal:""},set:function(t){this.idInternal=t,this.labelComponents=i.getLabelComponents(this.storageService,this.id)}},{key:"ngOnDestroy",value:function(){this.labelEdited.complete()}},{key:"processClick",value:function(){var t=this,a=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&a.push({icon:"close",label:"labeled-element.remove-label"}),Hi.openDialog(this.dialog,a,"common.options").afterClosed().subscribe(function(o){if(1===o)t.clipboardService.copy(t.id)&&t.snackbarService.showDone("copy.copied");else if(3===o){var s=Zt.createConfirmationDialog(t.dialog,"labeled-element.remove-label-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.componentInstance.closeModal(),t.storageService.saveLabel(t.id,null,t.elementType),t.snackbarService.showDone("edit-label.label-removed-warning"),t.labelEdited.emit()})}else if(2===o){var l=t.labelComponents.labelInfo;l||(l={id:t.id,label:"",identifiedElementType:t.elementType}),Vb.openDialog(t.dialog,l).afterClosed().subscribe(function(u){u&&t.labelEdited.emit()})}})}}],[{key:"getLabelComponents",value:function(t,a){var o;o=!!t.getSavedVisibleLocalNodes().has(a);var s=new FU;return s.labelInfo=t.getLabelInfo(a),s.labelInfo&&s.labelInfo.label?(o&&(s.prefix="labeled-element.local-element",s.prefixSeparator=" - "),s.label=s.labelInfo.label):t.getSavedVisibleLocalNodes().has(a)?s.prefix="labeled-element.unnamed-local-visor":s.translatableLabel="labeled-element.unnamed-element",s}},{key:"getCompleteLabel",value:function(t,a,o){var s=i.getLabelComponents(t,o);return(s.prefix?a.instant(s.prefix):"")+s.prefixSeparator+s.label+(s.translatableLabel?a.instant(s.translatableLabel):"")}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Wn),V(Ki),V(Cf),V(An))},n.\u0275cmp=We({type:n,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(e,t){1&e&&(P(0,"div",0),Se("click",function(o){return o.stopPropagation(),t.processClick()}),Y(1,"translate"),P(2,"span",1),K(3,PU,3,3,"span",2),K(4,xU,2,1,"span",2),K(5,OU,2,1,"span",2),K(6,AU,3,3,"span",2),E(),Ee(7,"br")(8,"app-truncated-text",3),F(9," \xa0"),P(10,"mat-icon",4),F(11,"settings"),E()()),2&e&&(L("matTooltip",Ht(1,11,t.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",Qe(14,IU,t.id)))("matTooltipClass",Nn(16,RU)),v(3),L("ngIf",t.labelComponents&&t.labelComponents.prefix),v(1),L("ngIf",t.labelComponents&&t.labelComponents.prefixSeparator),v(1),L("ngIf",t.labelComponents&&t.labelComponents.label),v(1),L("ngIf",t.labelComponents&&t.labelComponents.translatableLabel),v(2),L("short",t.short)("showTooltip",!1)("shortTextLength",t.shortTextLength)("text",t.id),v(2),L("inline",!0))},directives:[ur,Et,lE,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),n}(),xn=function(){function n(i,e,t,a){c(this,n),this.properties=i,this.label=e,this.sortingMode=t,this.labelProperties=a}return d(n,[{key:"id",get:function(){return this.properties.join("")}}]),n}(),Xt=function(){return function(n){n.Text="Text",n.Number="Number",n.NumberReversed="NumberReversed",n.Boolean="Boolean"}(Xt||(Xt={})),Xt}(),pc=function(){function n(i,e,t,a,o){c(this,n),this.dialog=i,this.translateService=e,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new Ie,this.sortableColumns=t,this.id=o,this.defaultColumnIndex=a,this.sortBy=t[a];var s=localStorage.getItem(this.columnStorageKeyPrefix+o);if(s){var l=t.find(function(u){return u.id===s});l&&(this.sortBy=l)}this.sortReverse="true"===localStorage.getItem(this.orderStorageKeyPrefix+o),this.sortByLabel="true"===localStorage.getItem(this.labelStorageKeyPrefix+o)}return d(n,[{key:"sortingArrow",get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}},{key:"currentSortingColumn",get:function(){return this.sortBy}},{key:"sortingInReverseOrder",get:function(){return this.sortReverse}},{key:"dataSorted",get:function(){return this.dataUpdatedSubject.asObservable()}},{key:"currentlySortingByLabel",get:function(){return this.sortByLabel}},{key:"dispose",value:function(){this.dataUpdatedSubject.complete()}},{key:"setTieBreakerColumnIndex",value:function(e){this.tieBreakerColumnIndex=e}},{key:"setData",value:function(e){this.data=e,this.sortData()}},{key:"changeSortingOrder",value:function(e){var t=this;if(this.sortBy===e||e.labelProperties)if(e.labelProperties){var a=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];Hi.openDialog(this.dialog,a,"tables.title").afterClosed().subscribe(function(o){o&&t.changeSortingParams(e,o>2,o%2==0)})}else this.sortReverse=!this.sortReverse,localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(e,!1,!1)}},{key:"changeSortingParams",value:function(e,t,a){this.sortBy=e,this.sortByLabel=t,this.sortReverse=a,localStorage.setItem(this.columnStorageKeyPrefix+this.id,e.id),localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),localStorage.setItem(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}},{key:"openSortingOrderModal",value:function(){var e=this,t=[],a=[];this.sortableColumns.forEach(function(o){var s=e.translateService.instant(o.label);t.push({label:s}),a.push({sortBy:o,sortReverse:!1,sortByLabel:!1}),t.push({label:s+" "+e.translateService.instant("tables.inverted-order")}),a.push({sortBy:o,sortReverse:!0,sortByLabel:!1}),o.labelProperties&&(t.push({label:s+" "+e.translateService.instant("tables.label")}),a.push({sortBy:o,sortReverse:!1,sortByLabel:!0}),t.push({label:s+" "+e.translateService.instant("tables.label")+" "+e.translateService.instant("tables.inverted-order")}),a.push({sortBy:o,sortReverse:!0,sortByLabel:!0}))}),Hi.openDialog(this.dialog,t,"tables.title").afterClosed().subscribe(function(o){o&&e.changeSortingParams(a[o-1].sortBy,a[o-1].sortByLabel,a[o-1].sortReverse)})}},{key:"sortData",value:function(){var e=this;this.data&&(this.data.sort(function(t,a){var o=e.getSortResponse(e.sortBy,t,a,!0);return 0===o&&null!==e.tieBreakerColumnIndex&&e.sortableColumns[e.tieBreakerColumnIndex]!==e.sortBy&&(o=e.getSortResponse(e.sortableColumns[e.tieBreakerColumnIndex],t,a,!1)),0===o&&e.sortableColumns[e.defaultColumnIndex]!==e.sortBy&&(o=e.getSortResponse(e.sortableColumns[e.defaultColumnIndex],t,a,!1)),o}),this.dataUpdatedSubject.next())}},{key:"getSortResponse",value:function(e,t,a,o){var l=t,u=a;(this.sortByLabel&&o&&e.labelProperties?e.labelProperties:e.properties).forEach(function(w){l=l[w],u=u[w]});var f=this.sortByLabel&&o?Xt.Text:e.sortingMode,m=0;return f===Xt.Text?m=this.sortReverse?u.localeCompare(l):l.localeCompare(u):f===Xt.NumberReversed?m=this.sortReverse?l-u:u-l:f===Xt.Number?m=this.sortReverse?u-l:l-u:f===Xt.Boolean&&(l&&!u?m=-1:!l&&u&&(m=1),m*=this.sortReverse?-1:1),m}}]),n}(),NU=function(){function n(){var i=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];c(this,n),this._multiple=e,this._emitChanges=a,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ie,t&&t.length&&(e?t.forEach(function(o){return i._markSelected(o)}):this._markSelected(t[0]),this._selectedToEmit.length=0)}return d(n,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,a=new Array(t),o=0;o void",z4("@transformPanel",[U4()],{optional:!0}))]),transformPanel:zo("transformPanel",[Ii("void",kn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ii("showing",kn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ii("showing-multiple",kn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),gi("void => *",Ai("120ms cubic-bezier(0, 0, 0.2, 1)")),gi("* => void",Ai("100ms 25ms linear",kn({opacity:0})))])},cE=0,fE=new $e("mat-select-scroll-strategy"),$U=new $e("MAT_SELECT_CONFIG"),QU={provide:fE,deps:[xa],useFactory:function ZU(n){return function(){return n.scrollStrategies.reposition()}}},JU=d(function n(i,e){c(this,n),this.source=i,this.value=e}),XU=uf(d2(ic(f2(function(){return d(function n(i,e,t,a,o){c(this,n),this._elementRef=i,this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=a,this.ngControl=o})}())))),hE=new $e("MatSelectTrigger"),ez=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-select-trigger"]],features:[un([{provide:hE,useExisting:n}])]}),n}(),tz=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,w,R,B,J,me,we,Te){var pe,Fe,Ye,ze;return c(this,t),(pe=e.call(this,u,l,m,w,B))._viewportRuler=a,pe._changeDetectorRef=o,pe._ngZone=s,pe._dir=f,pe._parentFormField=R,pe._liveAnnouncer=we,pe._defaultOptions=Te,pe._panelOpen=!1,pe._compareWith=function(rt,mt){return rt===mt},pe._uid="mat-select-".concat(cE++),pe._triggerAriaLabelledBy=null,pe._destroy=new Ie,pe._onChange=function(){},pe._onTouched=function(){},pe._valueId="mat-select-value-".concat(cE++),pe._panelDoneAnimatingStream=new Ie,pe._overlayPanelClass=(null===(Fe=pe._defaultOptions)||void 0===Fe?void 0:Fe.overlayPanelClass)||"",pe._focused=!1,pe.controlType="mat-select",pe._multiple=!1,pe._disableOptionCentering=null!==(ze=null===(Ye=pe._defaultOptions)||void 0===Ye?void 0:Ye.disableOptionCentering)&&void 0!==ze&&ze,pe.ariaLabel="",pe.optionSelectionChanges=Sp(function(){var rt=pe.options;return rt?rt.changes.pipe(fa(rt),da(function(){return Mi.apply(void 0,ae(rt.map(function(mt){return mt.onSelectionChange})))})):pe._ngZone.onStable.pipe(tr(1),da(function(){return pe.optionSelectionChanges}))}),pe.openedChange=new pt,pe._openedStream=pe.openedChange.pipe(Vr(function(rt){return rt}),qe(function(){})),pe._closedStream=pe.openedChange.pipe(Vr(function(rt){return!rt}),qe(function(){})),pe.selectionChange=new pt,pe.valueChange=new pt,pe.ngControl&&(pe.ngControl.valueAccessor=x(pe)),null!=(null==Te?void 0:Te.typeaheadDebounceInterval)&&(pe._typeaheadDebounceInterval=Te.typeaheadDebounceInterval),pe._scrollStrategyFactory=me,pe._scrollStrategy=pe._scrollStrategyFactory(),pe.tabIndex=parseInt(J)||0,pe.id=pe.id,pe}return d(t,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(o){this._placeholder=o,this.stateChanges.next()}},{key:"required",get:function(){var o,s,l,u;return null!==(u=null!==(o=this._required)&&void 0!==o?o:null===(l=null===(s=this.ngControl)||void 0===s?void 0:s.control)||void 0===l?void 0:l.hasValidator(Cn.required))&&void 0!==u&&u},set:function(o){this._required=Zn(o),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(o){this._multiple=Zn(o)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(o){this._disableOptionCentering=Zn(o)}},{key:"compareWith",get:function(){return this._compareWith},set:function(o){this._compareWith=o,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(o){(o!==this._value||this._multiple&&Array.isArray(o))&&(this.options&&this._setSelectionByValue(o),this._value=o)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(o){this._typeaheadDebounceInterval=Ka(o)}},{key:"id",get:function(){return this._id},set:function(o){this._id=o||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var o=this;this._selectionModel=new NU(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Xy(),hn(this._destroy)).subscribe(function(){return o._panelDoneAnimating(o.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var o=this;this._initKeyManager(),this._selectionModel.changed.pipe(hn(this._destroy)).subscribe(function(s){s.added.forEach(function(l){return l.select()}),s.removed.forEach(function(l){return l.deselect()})}),this.options.changes.pipe(fa(null),hn(this._destroy)).subscribe(function(){o._resetOptions(),o._initializeSelection()})}},{key:"ngDoCheck",value:function(){var o=this._getTriggerAriaLabelledby();if(o!==this._triggerAriaLabelledBy){var s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=o,o?s.setAttribute("aria-labelledby",o):s.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(o){o.disabled&&this.stateChanges.next(),o.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(o){this.value=o}},{key:"registerOnChange",value:function(o){this._onChange=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var o,s;return this.multiple?(null===(o=this._selectionModel)||void 0===o?void 0:o.selected)||[]:null===(s=this._selectionModel)||void 0===s?void 0:s.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var o=this._selectionModel.selected.map(function(s){return s.viewValue});return this._isRtl()&&o.reverse(),o.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(o){this.disabled||(this.panelOpen?this._handleOpenKeydown(o):this._handleClosedKeydown(o))}},{key:"_handleClosedKeydown",value:function(o){var s=o.keyCode,l=40===s||38===s||37===s||39===s,u=13===s||32===s,f=this._keyManager;if(!f.isTyping()&&u&&!Zo(o)||(this.multiple||o.altKey)&&l)o.preventDefault(),this.open();else if(!this.multiple){var m=this.selected;f.onKeydown(o);var w=this.selected;w&&m!==w&&this._liveAnnouncer.announce(w.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(o){var s=this._keyManager,l=o.keyCode,u=40===l||38===l,f=s.isTyping();if(u&&o.altKey)o.preventDefault(),this.close();else if(f||13!==l&&32!==l||!s.activeItem||Zo(o))if(!f&&this._multiple&&65===l&&o.ctrlKey){o.preventDefault();var m=this.options.some(function(R){return!R.disabled&&!R.selected});this.options.forEach(function(R){R.disabled||(m?R.select():R.deselect())})}else{var w=s.activeItemIndex;s.onKeydown(o),this._multiple&&u&&o.shiftKey&&s.activeItem&&s.activeItemIndex!==w&&s.activeItem._selectViaInteraction()}else o.preventDefault(),s.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var o=this;this._overlayDir.positionChange.pipe(tr(1)).subscribe(function(){o._changeDetectorRef.detectChanges(),o._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var o=this;Promise.resolve().then(function(){o.ngControl&&(o._value=o.ngControl.value),o._setSelectionByValue(o._value),o.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(o){var s=this;if(this._selectionModel.selected.forEach(function(u){return u.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&o)Array.isArray(o),o.forEach(function(u){return s._selectValue(u)}),this._sortValues();else{var l=this._selectValue(o);l?this._keyManager.updateActiveItem(l):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(o){var s=this,l=this.options.find(function(u){if(s._selectionModel.isSelected(u))return!1;try{return null!=u.value&&s._compareWith(u.value,o)}catch(f){return!1}});return l&&this._selectionModel.select(l),l}},{key:"_initKeyManager",value:function(){var o=this;this._keyManager=new i8(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(hn(this._destroy)).subscribe(function(){o.panelOpen&&(!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction(),o.focus(),o.close())}),this._keyManager.change.pipe(hn(this._destroy)).subscribe(function(){o._panelOpen&&o.panel?o._scrollOptionIntoView(o._keyManager.activeItemIndex||0):!o._panelOpen&&!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var o=this,s=Mi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(hn(s)).subscribe(function(l){o._onSelect(l.source,l.isUserInput),l.isUserInput&&!o.multiple&&o._panelOpen&&(o.close(),o.focus())}),Mi.apply(void 0,ae(this.options.map(function(l){return l._stateChanges}))).pipe(hn(s)).subscribe(function(){o._changeDetectorRef.markForCheck(),o.stateChanges.next()})}},{key:"_onSelect",value:function(o,s){var l=this._selectionModel.isSelected(o);null!=o.value||this._multiple?(l!==o.selected&&(o.selected?this._selectionModel.select(o):this._selectionModel.deselect(o)),s&&this._keyManager.setActiveItem(o),this.multiple&&(this._sortValues(),s&&this.focus())):(o.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(o.value)),l!==this._selectionModel.isSelected(o)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var o=this;if(this.multiple){var s=this.options.toArray();this._selectionModel.sort(function(l,u){return o.sortComparator?o.sortComparator(l,u,s):s.indexOf(l)-s.indexOf(u)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(o){var s;s=this.multiple?this.selected.map(function(l){return l.value}):this.selected?this.selected.value:o,this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(this._getChangeEvent(s)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var o;return!this._panelOpen&&!this.disabled&&(null===(o=this.options)||void 0===o?void 0:o.length)>0}},{key:"focus",value:function(o){this._elementRef.nativeElement.focus(o)}},{key:"_getPanelAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId();return this.ariaLabelledby?(s?s+" ":"")+this.ariaLabelledby:s}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId(),l=(s?s+" ":"")+this._valueId;return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l}},{key:"_panelDoneAnimating",value:function(o){this.openedChange.emit(o)}},{key:"setDescribedByIds",value:function(o){this._ariaDescribedby=o.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),t}(XU);return n.\u0275fac=function(e){return new(e||n)(V(bl),V(Kn),V(bt),V(av),V(yt),V(ha,8),V(kf,8),V(gr,8),V(Yb,8),V(wo,10),Ro("tabindex"),V(fE),V(ib),V($U,8))},n.\u0275dir=et({type:n,viewQuery:function(e,t){var a;1&e&&(_t(YU,5),_t(HU,5),_t(WT,5)),2&e&&(lt(a=ut())&&(t.trigger=a.first),lt(a=ut())&&(t.panel=a.first),lt(a=ut())&&(t._overlayDir=a.first))},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[vt,Fr]}),n}(),Sf=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments))._scrollTop=0,a._triggerFontSize=0,a._transformOrigin="top",a._offsetY=0,a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],a}return d(t,[{key:"_calculateOverlayScroll",value:function(o,s,l){var u=this._getItemHeight();return Math.min(Math.max(0,u*o-s+u/2),l)}},{key:"ngOnInit",value:function(){var o=this;D(O(t.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(hn(this._destroy)).subscribe(function(){o.panelOpen&&(o._triggerRect=o.trigger.nativeElement.getBoundingClientRect(),o._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var o=this;D(O(t.prototype),"_canOpen",this).call(this)&&(D(O(t.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(tr(1)).subscribe(function(){o._triggerFontSize&&o._overlayDir.overlayRef&&o._overlayDir.overlayRef.overlayElement&&(o._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(o._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(o){var s=y2(o,this.options,this.optionGroups),l=this._getItemHeight();this.panel.nativeElement.scrollTop=0===o&&1===s?0:function j8(n,i,e,t){return ne+t?Math.max(0,n-t+i):e}((o+s)*l,l,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(o){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),D(O(t.prototype),"_panelDoneAnimating",this).call(this,o)}},{key:"_getChangeEvent",value:function(o){return new JU(this,o)}},{key:"_calculateOverlayOffsetX",value:function(){var f,o=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),s=this._viewportRuler.getViewportSize(),l=this._isRtl(),u=this.multiple?56:32;if(this.multiple)f=40;else if(this.disableOptionCentering)f=16;else{var m=this._selectionModel.selected[0]||this.options.first;f=m&&m.group?32:16}l||(f*=-1);var w=0-(o.left+f-(l?u:0)),R=o.right+f-s.width+(l?0:u);w>0?f+=w+8:R>0&&(f-=R+8),this._overlayDir.offsetX=Math.round(f),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(o,s,l){var w,u=this._getItemHeight(),f=(u-this._triggerRect.height)/2,m=Math.floor(256/u);return this.disableOptionCentering?0:(w=0===this._scrollTop?o*u:this._scrollTop===l?(o-(this._getItemCount()-m))*u+(u-(this._getItemCount()*u-256)%u):s-u/2,Math.round(-1*w-f))}},{key:"_checkOverlayWithinViewport",value:function(o){var s=this._getItemHeight(),l=this._viewportRuler.getViewportSize(),u=this._triggerRect.top-8,f=l.height-this._triggerRect.bottom-8,m=Math.abs(this._offsetY),R=Math.min(this._getItemCount()*s,256)-m-this._triggerRect.height;R>f?this._adjustPanelUp(R,f):m>u?this._adjustPanelDown(m,u,o):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(o,s){var l=Math.round(o-s);this._scrollTop-=l,this._offsetY-=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(o,s,l){var u=Math.round(o-s);if(this._scrollTop+=u,this._offsetY+=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=l)return this._scrollTop=l,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var m,o=this._getItemHeight(),s=this._getItemCount(),l=Math.min(s*o,256),f=s*o-l;m=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),m+=y2(m,this.options,this.optionGroups);var w=l/2;this._scrollTop=this._calculateOverlayScroll(m,w,f),this._offsetY=this._calculateOverlayOffsetY(m,w,f),this._checkOverlayWithinViewport(f)}},{key:"_getOriginBasedOnOption",value:function(){var o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,l=Math.abs(this._offsetY)-s+o/2;return"50% ".concat(l,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),t}(tz);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275cmp=We({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,a){var o;1&e&&(vr(a,hE,5),vr(a,oc,5),vr(a,_2,5)),2&e&&(lt(o=ut())&&(t.customTrigger=o.first),lt(o=ut())&&(t.options=o),lt(o=ut())&&(t.optionGroups=o))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&Se("keydown",function(o){return t._handleKeydown(o)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Gt("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),fn("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[un([{provide:Dv,useExisting:n},{provide:g2,useExisting:n}]),vt],ngContentSelectors:GU,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(Wi(WU),P(0,"div",0,1),Se("click",function(){return t.toggle()}),P(3,"div",2),K(4,BU,2,1,"span",3),K(5,UU,3,2,"span",4),E(),P(6,"div",5),Ee(7,"div",6),E()(),K(8,zU,4,14,"ng-template",7),Se("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var a=sr(1);Gt("aria-owns",t.panelOpen?t.id+"-panel":null),v(3),L("ngSwitch",t.empty),Gt("id",t._valueId),v(1),L("ngSwitchCase",!0),v(1),L("ngSwitchCase",!1),v(3),L("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[zT,Vu,ep,Ww,WT,mr],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[uE.transformPanelWrap,uE.transformPanel]},changeDetection:0}),n}(),nz=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[QU],imports:[[bo,lf,b2,Pn],nf,Tv,b2,Pn]}),n}();function rz(n,i){if(1&n&&(Ee(0,"input",7),Y(1,"translate")),2&n){var e=q().$implicit;L("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)("placeholder",W(1,3,e.filterName))}}function iz(n,i){if(1&n&&(P(0,"div",12),Ee(1,"div",13),E()),2&n){var e=q().$implicit,t=q(2).$implicit;er("background-image: url('"+t.printableLabelGeneralSettings.defaultImage+"'); width: "+t.printableLabelGeneralSettings.imageWidth+"px; height: "+t.printableLabelGeneralSettings.imageHeight+"px;"),v(1),er("background-image: url('"+e.image+"');")}}function az(n,i){if(1&n&&(P(0,"mat-option",10),K(1,iz,2,4,"div",11),F(2),Y(3,"translate"),E()),2&n){var e=i.$implicit,t=q(2).$implicit;L("value",e.value),v(1),L("ngIf",t.printableLabelGeneralSettings&&e.image),v(1),Me(" ",W(3,3,e.label)," ")}}function oz(n,i){if(1&n&&(P(0,"mat-select",8),Y(1,"translate"),K(2,az,4,5,"mat-option",9),E()),2&n){var e=q().$implicit;L("formControlName",e.keyNameInFiltersObject)("placeholder",W(1,3,e.filterName)),v(2),L("ngForOf",e.printableLabelsForValues)}}function sz(n,i){if(1&n&&(Ke(0),P(1,"mat-form-field"),K(2,rz,2,5,"input",5),K(3,oz,3,5,"mat-select",6),E(),Ze()),2&n){var e=i.$implicit,t=q();v(2),L("ngIf",e.type===t.filterFieldTypes.TextInput),v(1),L("ngIf",e.type===t.filterFieldTypes.Select)}}var lz=function(){var n=function(){function i(e,t,a){c(this,i),this.data=e,this.dialogRef=t,this.formBuilder=a,this.filterFieldTypes=Gn}return d(i,[{key:"ngOnInit",value:function(){var t=this,a={};this.data.filterPropertiesList.forEach(function(o){a[o.keyNameInFiltersObject]=[t.data.currentFilters[o.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(a)}},{key:"apply",value:function(){var t=this,a={};this.data.filterPropertiesList.forEach(function(o){a[o.keyNameInFiltersObject]=t.form.get(o.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(a)}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur),V(Rr),V(Zi))},n.\u0275cmp=We({type:n,selectors:[["app-filters-selection"]],decls:8,vars:8,consts:[[3,"headline"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"form",1),K(3,sz,4,2,"ng-container",2),E(),P(4,"app-button",3,4),Se("action",function(){return t.apply()}),F(6),Y(7,"translate"),E()()),2&e&&(L("headline",W(1,4,"filters.filter-action")),v(2),L("formGroup",t.form),v(1),L("ngForOf",t.data.filterPropertiesList),v(3),Me(" ",W(7,6,"common.ok")," "))},directives:[_r,ei,Xr,gr,xr,bi,Et,$i,Qr,Jr,zr,Yi,Sf,oc,ui],pipes:[Mt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),n}(),mc=function(){function n(i,e,t,a,o){var s=this;c(this,n),this.dialog=i,this.route=e,this.router=t,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new Ie,this.filterPropertiesList=a,this.currentFilters={},this.filterPropertiesList.forEach(function(l){l.keyNameInFiltersObject=o+"_"+l.keyNameInElementsArray,s.currentFilters[l.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(function(l){Object.keys(s.currentFilters).forEach(function(u){l.has(u)&&(s.currentFilters[u]=l.get(u))}),s.currentUrlQueryParamsInternal={},l.keys.forEach(function(u){s.currentUrlQueryParamsInternal[u]=l.get(u)}),s.filter()})}return d(n,[{key:"currentFiltersTexts",get:function(){return this.currentFiltersTextsInternal}},{key:"currentUrlQueryParams",get:function(){return this.currentUrlQueryParamsInternal}},{key:"dataFiltered",get:function(){return this.dataUpdatedSubject.asObservable()}},{key:"dispose",value:function(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}},{key:"setData",value:function(e){this.data=e,this.filter()}},{key:"removeFilters",value:function(){var e=this,t=Zt.createConfirmationDialog(this.dialog,"filters.remove-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),e.router.navigate([],{queryParams:{}})})}},{key:"changeFilters",value:function(){var e=this;lz.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(function(a){a&&e.router.navigate([],{queryParams:a})})}},{key:"filter",value:function(){var e=this;if(this.data){var t,a=!1;Object.keys(this.currentFilters).forEach(function(o){e.currentFilters[o]&&(a=!0)}),a?(t=function SU(n,i,e){if(n){var t=[];return Object.keys(i).forEach(function(o){if(i[o]){var l,s=z(e);try{for(s.s();!(l=s.n()).done;){var u=l.value;if(u.keyNameInFiltersObject===o){t.push(u);break}}}catch(f){s.e(f)}finally{s.f()}}}),n.filter(function(o){var s=!0;return t.forEach(function(l){var u=String(o[l.keyNameInElementsArray]).toLowerCase().includes(i[l.keyNameInFiltersObject].toLowerCase()),f=l.secondaryKeyNameInElementsArray&&String(o[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(i[l.keyNameInFiltersObject].toLowerCase());!u&&!f&&(s=!1)}),s})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(t=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(t)}}},{key:"updateCurrentFilters",value:function(){this.currentFiltersTextsInternal=function DU(n,i){var e=[];return i.forEach(function(t){var a,o;n[t.keyNameInFiltersObject]&&(t.printableLabelsForValues&&t.printableLabelsForValues.forEach(function(s){s.value===n[t.keyNameInFiltersObject]&&(o=s.label)}),o||(a=n[t.keyNameInFiltersObject]),e.push({filterName:t.filterName,translatableValue:o,value:a}))}),e}(this.currentFilters,this.filterPropertiesList)}}]),n}();function uz(n,i){if(1&n){var e=tt();P(0,"div",5)(1,"div",6)(2,"div",7),F(3),E(),P(4,"div",8),F(5),E()(),P(6,"div",9)(7,"app-button",10),Se("click",function(){var s=ke(e).$implicit;return q(2).openTerminal(s.key)}),F(8),Y(9,"translate"),E()()()}if(2&n){var t=i.$implicit;v(3),_e(t.label),v(2),_e(t.version),v(3),Me(" ",W(9,3,"update-all.update-button")," ")}}function cz(n,i){if(1&n&&(Ke(0),P(1,"div",2),F(2),Y(3,"translate"),E(),P(4,"div",3),K(5,uz,10,5,"div",4),E(),Ze()),2&n){var e=q();v(2),Me(" ",W(3,2,"update-all.updatable-list-text")," "),v(3),L("ngForOf",e.updatableNodes)}}function dz(n,i){if(1&n&&(P(0,"div",8),F(1),E()),2&n){var e=q().$implicit;v(1),_e(e.tag)}}function fz(n,i){if(1&n&&(P(0,"div",5)(1,"div",6)(2,"div",7),F(3),E(),P(4,"div",8),F(5),E(),K(6,dz,2,1,"div",11),E()()),2&n){var e=i.$implicit;v(3),_e(e.label),v(2),_e(e.version),v(1),L("ngIf",e.tag)}}function hz(n,i){if(1&n&&(Ke(0),P(1,"div",2),F(2),Y(3,"translate"),E(),P(4,"div",3),K(5,fz,7,3,"div",4),E(),Ze()),2&n){var e=q();v(2),Me(" ",W(3,2,"update-all.non-updatable-list-text")," "),v(3),L("ngForOf",e.nonUpdatableNodes)}}var pz=function(){var n=function(){function i(e){c(this,i),this.updatableNodes=e[0],this.nonUpdatableNodes=e[1]}return d(i,[{key:"openTerminal",value:function(t){var a=window.location.protocol,o=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(a+"//"+o+"/pty/"+t+"?commands=update","_blank","noopener noreferrer")}}],[{key:"openDialog",value:function(t,a,o){var s=new $n;return s.data=[a,o],s.autoFocus=!1,s.width=Kt.smallModalWidth,t.open(i,s)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur))},n.\u0275cmp=We({type:n,selectors:[["app-update-all"]],decls:4,vars:5,consts:[[3,"headline"],[4,"ngIf"],[1,"text-container"],[1,"list-container"],["class","list-element",4,"ngFor","ngForOf"],[1,"list-element"],[1,"left-part"],[1,"name"],[1,"version"],[1,"right-part"],["color","primary",3,"click"],["class","version",4,"ngIf"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),K(2,cz,6,4,"ng-container",1),K(3,hz,6,4,"ng-container",1),E()),2&e&&(L("headline",W(1,3,"update-all.title")),v(2),L("ngIf",t.updatableNodes&&t.updatableNodes.length>0),v(1),L("ngIf",t.nonUpdatableNodes&&t.nonUpdatableNodes.length>0))},directives:[_r,Et,xr,ui],pipes:[Mt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;align-self:center;margin-right:10px;min-width:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575px){.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem}}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.7rem;line-height:1.5;color:#215f9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-basis:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}"]}),n}();function Df(n){return function(i){return i.lift(new vz(n,i))}}var vz=function(){function n(i,e){c(this,n),this.notifier=i,this.source=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new mz(e,this.notifier,this.source))}}]),n}(),mz=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).notifier=a,s.source=o,s}return d(e,[{key:"error",value:function(a){if(!this.isStopped){var o=this.errors,s=this.retries,l=this.retriesSubscription;if(s)this.errors=null,this.retriesSubscription=null;else{o=new Ie;try{s=(0,this.notifier)(o)}catch(f){return D(O(e.prototype),"error",this).call(this,f)}l=Rn(this,s)}this._unsubscribeAndRecycle(),this.errors=o,this.retries=s,this.retriesSubscription=l,o.next(a)}}},{key:"_unsubscribe",value:function(){var a=this.errors,o=this.retriesSubscription;a&&(a.unsubscribe(),this.errors=null),o&&(o.unsubscribe(),this.retriesSubscription=null),this.retries=null}},{key:"notifyNext",value:function(a,o,s,l,u){var f=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=f,this.source.subscribe(this)}}]),e}(gn),gc=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"changeAppState",value:function(t,a,o){return this.apiService.put("visors/".concat(t,"/apps/").concat(encodeURIComponent(a)),{status:o?1:0})}},{key:"changeAppAutostart",value:function(t,a,o){return this.changeAppSettings(t,a,{autostart:o})}},{key:"changeAppSettings",value:function(t,a,o){return this.apiService.put("visors/".concat(t,"/apps/").concat(encodeURIComponent(a)),o)}},{key:"getLogMessages",value:function(t,a,o){var l=Rw(-1!==o?Date.now()-864e5*o:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/".concat(t,"/apps/").concat(encodeURIComponent(a),"/logs?since=").concat(l)).pipe(qe(function(u){return u.logs}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Dl))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Yn=function(){return function(n){n.None="None",n.Favorite="Favorite",n.Blocked="Blocked"}(Yn||(Yn={})),Yn}(),Qi=function(){return function(n){n.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",n.OnlyBytes="OnlyBytes",n.OnlyBits="OnlyBits"}(Qi||(Qi={})),Qi}(),Pl=function(){var n=function(){function i(e){c(this,i),this.router=e,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new qa(1),this.historySubject=new qa(1),this.favoritesSubject=new qa(1),this.blockedSubject=new qa(1)}return d(i,[{key:"initialize",value:function(){var t=this;this.serversMap=new Map;var a=localStorage.getItem(this.savedServersStorageKey);if(a){var o=JSON.parse(a);o.serverList.forEach(function(s){t.serversMap.set(s.pk,s)}),this.savedDataVersion=o.version,o.selectedServerPk&&this.updateCurrentServerPk(o.selectedServerPk)}this.launchListEvents()}},{key:"currentServer",get:function(){return this.serversMap.get(this.currentServerPk)}},{key:"currentServerObservable",get:function(){return this.currentServerSubject.asObservable()}},{key:"history",get:function(){return this.historySubject.asObservable()}},{key:"favorites",get:function(){return this.favoritesSubject.asObservable()}},{key:"blocked",get:function(){return this.blockedSubject.asObservable()}},{key:"getSavedVersion",value:function(t,a){return a&&this.checkIfDataWasChanged(),this.serversMap.get(t)}},{key:"getCheckIpSetting",value:function(){var t=localStorage.getItem(this.checkIpSettingStorageKey);return null==t||"false"!==t}},{key:"setCheckIpSetting",value:function(t){localStorage.setItem(this.checkIpSettingStorageKey,t?"true":"false")}},{key:"getDataUnitsSetting",value:function(){var t=localStorage.getItem(this.dataUnitsSettingStorageKey);return null==t?Qi.BitsSpeedAndBytesVolume:t}},{key:"setDataUnitsSetting",value:function(t){localStorage.setItem(this.dataUnitsSettingStorageKey,t)}},{key:"updateFromDiscovery",value:function(t){var a=this;this.checkIfDataWasChanged(),t.forEach(function(o){if(a.serversMap.has(o.pk)){var s=a.serversMap.get(o.pk);s.countryCode=o.countryCode,s.name=o.name,s.location=o.location,s.note=o.note}}),this.saveData()}},{key:"updateServer",value:function(t){this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData()}},{key:"processFromDiscovery",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t.pk);return a?(a.countryCode=t.countryCode,a.name=t.name,a.location=t.location,a.note=t.note,this.saveData(),a):{countryCode:t.countryCode,name:t.name,customName:null,pk:t.pk,lastUsed:0,inHistory:!1,flag:Yn.None,location:t.location,personalNote:null,note:t.note,enteredManually:!1,usedWithPassword:!1}}},{key:"processFromManual",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t.pk);return a?(a.customName=t.name,a.personalNote=t.note,a.enteredManually=!0,this.saveData(),a):{countryCode:"zz",name:"",customName:t.name,pk:t.pk,lastUsed:0,inHistory:!1,flag:Yn.None,location:"",personalNote:t.note,note:"",enteredManually:!0,usedWithPassword:!1}}},{key:"changeFlag",value:function(t,a){this.checkIfDataWasChanged();var o=this.serversMap.get(t.pk);o&&(t=o),t.flag!==a&&(t.flag=a,this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData())}},{key:"removeFromHistory",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t);!a||!a.inHistory||(a.inHistory=!1,this.cleanServers(),this.saveData())}},{key:"modifyCurrentServer",value:function(t){this.checkIfDataWasChanged(),t.pk!==this.currentServerPk&&(this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.updateCurrentServerPk(t.pk),this.cleanServers(),this.saveData())}},{key:"compareCurrentServer",value:function(t){if(this.checkIfDataWasChanged(),t){if(!this.currentServerPk||this.currentServerPk!==t){if(this.currentServerPk=t,!this.serversMap.get(t)){var o=this.processFromManual({pk:t});this.serversMap.set(o.pk,o),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}},{key:"updateHistory",value:function(){var t=this;this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;var a=[];this.serversMap.forEach(function(s){s.inHistory&&a.push(s)}),a=a.sort(function(s,l){return l.lastUsed-s.lastUsed});var o=0;a.forEach(function(s){o=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}},{key:"getIpData",value:function(){var t=this;return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(Df(function(a){return cl(a.pipe(ki(t.standardWaitTime),tr(4)),Ri(""))}),qe(function(a){return[a&&a.ip_address?a.ip_address:t.translateService.instant("common.unknown"),a&&a.country_name?a.country_name:t.translateService.instant("common.unknown")]}))}},{key:"changeServerUsingHistory",value:function(t,a){return this.requestedServer=t,this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"changeServerUsingDiscovery",value:function(t,a){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(t),this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"changeServerManually",value:function(t,a){return this.requestedServer=this.vpnSavedDataService.processFromManual(t),this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"updateRequestedServerPasswordSetting",value:function(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;var t=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);t&&(t.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(t))}},{key:"changeServer",value:function(){return!this.working&&(this.stop()||this.processServerChange(),!0)}},{key:"checkNewPk",value:function(t){return this.working?pa.Busy:this.lastServiceState!==Wr.Off?t===this.vpnSavedDataService.currentServer.pk?pa.SamePkRunning:pa.MustStop:this.vpnSavedDataService.currentServer&&t===this.vpnSavedDataService.currentServer.pk?pa.SamePkStopped:pa.Ok}},{key:"processServerChange",value:function(){var t=this;this.dataSubscription&&this.dataSubscription.unsubscribe();var a={pk:this.requestedServer.pk};a.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,a).subscribe(function(){t.vpnSavedDataService.modifyCurrentServer(t.requestedServer),t.requestedServer=null,t.requestedPassword=null,t.working=!1,t.start()},function(o){o=dn(o),t.snackbarService.showError("vpn.server-change.backend-error",null,!1,o.originalServerErrorMsg),t.working=!1,t.requestedServer=null,t.requestedPassword=null,t.sendUpdate(),t.updateData()})}},{key:"changeAppState",value:function(t){var a=this;if(!this.working){this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();var o={status:1};t?(this.lastServiceState=Wr.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Wr.Disconnecting,o.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,o).pipe(qi(function(s){return a.getVpnClientState().pipe(Dn(function(l){if(l){if(t&&l.running)return Je(!0);if(!t&&!l.running)return Je(!0)}return Ri(s)}))}),Df(function(s){return cl(s.pipe(ki(a.standardWaitTime),tr(3)),s.pipe(Dn(function(l){return Ri(l)})))})).subscribe(function(s){a.working=!1;var l=a.processAppData(s);a.lastServiceState=l.running?Wr.Running:Wr.Off,a.currentEventData.vpnClientAppData=l,a.currentEventData.updateDate=Date.now(),a.sendUpdate(),a.updateData(),!t&&a.requestedServer&&a.processServerChange()},function(s){s=dn(s),a.snackbarService.showError(a.lastServiceState===Wr.Starting?"vpn.status-page.problem-starting-error":a.lastServiceState===Wr.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,s.originalServerErrorMsg),a.working=!1,a.sendUpdate(),a.updateData()})}}},{key:"continuallyUpdateData",value:function(t){var a=this;if(!this.working||this.lastServiceState===Wr.PerformingInitialCheck){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();var o=0;this.continuousUpdateSubscription=Je(0).pipe(ki(t),Dn(function(){return a.getVpnClientState()}),Df(function(s){return s.pipe(Dn(function(l){return a.errorSubject.next(!0),(l=dn(l)).originalError&&l.originalError.status&&401===l.originalError.status?Ri(l):a.lastServiceState!==Wr.PerformingInitialCheck||o<4?(o+=1,Je(l).pipe(ki(a.standardWaitTime))):Ri(l)}))})).subscribe(function(s){s?(a.errorSubject.next(!1),a.lastServiceState===Wr.PerformingInitialCheck&&(a.working=!1),a.vpnSavedDataService.compareCurrentServer(s.serverPk),a.lastServiceState=s.running?Wr.Running:Wr.Off,a.currentEventData.vpnClientAppData=s,a.currentEventData.updateDate=Date.now(),a.sendUpdate()):a.lastServiceState===Wr.PerformingInitialCheck&&(a.router.navigate(["vpn","unavailable"]),a.nodeKey=null,a.updatesStopped=!0),a.continuallyUpdateData(a.standardWaitTime)},function(s){(s=dn(s)).originalError&&s.originalError.status&&401===s.originalError.status||(a.router.navigate(["vpn","unavailable"]),a.nodeKey=null),a.updatesStopped=!0})}}},{key:"stopContinuallyUpdatingData",value:function(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}},{key:"getVpnClientState",value:function(){var a,t=this,o=new Sl;return o.vpnKeyForAuth=this.nodeKey,this.apiService.get("visors/".concat(this.nodeKey,"/summary"),o).pipe(Dn(function(s){var l;if(s&&s.overview&&s.overview.apps&&s.overview.apps.length>0&&s.overview.apps.forEach(function(f){f.name===t.vpnClientAppName&&(l=f)}),l&&(a=t.processAppData(l)),a.minHops=s.min_hops?s.min_hops:0,a&&a.running){var u=new Sl;return u.vpnKeyForAuth=t.nodeKey,t.apiService.get("visors/".concat(t.nodeKey,"/apps/").concat(t.vpnClientAppName,"/connections"),u)}return Je(null)}),qe(function(s){if(s&&s.length>0){var l=new yz;s.forEach(function(u){l.latency+=u.latency/s.length,l.uploadSpeed+=u.upload_speed/s.length,l.downloadSpeed+=u.download_speed/s.length,l.totalUploaded+=u.bandwidth_sent,l.totalDownloaded+=u.bandwidth_received,u.error&&(l.error=u.error),u.connection_duration>l.connectionDuration&&(l.connectionDuration=u.connection_duration)}),(!t.connectionHistoryPk||t.connectionHistoryPk!==a.serverPk)&&(t.connectionHistoryPk=a.serverPk,t.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],t.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],t.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),l.latency=Math.round(l.latency),l.uploadSpeed=Math.round(l.uploadSpeed),l.downloadSpeed=Math.round(l.downloadSpeed),l.totalUploaded=Math.round(l.totalUploaded),l.totalDownloaded=Math.round(l.totalDownloaded),t.uploadSpeedHistory.splice(0,1),t.uploadSpeedHistory.push(l.uploadSpeed),l.uploadSpeedHistory=t.uploadSpeedHistory,t.downloadSpeedHistory.splice(0,1),t.downloadSpeedHistory.push(l.downloadSpeed),l.downloadSpeedHistory=t.downloadSpeedHistory,t.latencyHistory.splice(0,1),t.latencyHistory.push(l.latency),l.latencyHistory=t.latencyHistory,a.connectionData=l}return a}))}},{key:"processAppData",value:function(t){var a=new _z;if(a.running=0!==t.status&&2!==t.status,a.connectionDuration=t.connection_duration,a.appState=pn.Stopped,a.running?t.detailed_status===pn.Connecting||3===t.status?a.appState=pn.Connecting:t.detailed_status===pn.Running?a.appState=pn.Running:t.detailed_status===pn.ShuttingDown?a.appState=pn.ShuttingDown:t.detailed_status===pn.Reconnecting&&(a.appState=pn.Reconnecting):2===t.status&&(a.lastErrorMsg=t.detailed_status,a.lastErrorMsg||(a.lastErrorMsg=this.translateService.instant("vpn.status-page.unknown-error"))),a.killswitch=!1,t.args&&t.args.length>0)for(var o=0;o200){if(201===m[w]){var B=!1,J=Zt.createConfirmationDialog(u,"vpn.server-options.connect-without-password-confirmation");return J.componentInstance.operationAccepted.subscribe(function(){B=!0,i.processServerChange(a,s,o,l,u,null,i.currentPk,t,null,null,null),J.componentInstance.closeModal()}),J.afterClosed().pipe(qe(function(){return B}))}return pE.openDialog(u,!1).afterClosed().pipe(qe(function(we){return!(!we||"-"===we||(i.processServerChange(a,s,o,l,u,null,i.currentPk,t,null,null,we.substr(1)),0))}))}if(m[w]>100)return kz.openDialog(u,{editName:101===m[w],server:t}).afterClosed();if(1===m[w])return i.makeFavorite(t,o,l,u);if(-1===m[w])return o.changeFlag(t,Yn.None),l.showDone("vpn.server-options.remove-from-favorites-done"),Je(!0);if(2===m[w])return i.blockServer(t,o,s,l,u);if(-2===m[w])return o.changeFlag(t,Yn.None),l.showDone("vpn.server-options.unblock-done"),Je(!0);if(-3===m[w])return i.removeFromHistory(t,o,l,u)}return Je(!1)}))}},{key:"removeFromHistory",value:function(t,a,o,s){var l=!1,u=Zt.createConfirmationDialog(s,"vpn.server-options.remove-from-history-confirmation");return u.componentInstance.operationAccepted.subscribe(function(){l=!0,a.removeFromHistory(t.pk),o.showDone("vpn.server-options.remove-from-history-done"),u.componentInstance.closeModal()}),u.afterClosed().pipe(qe(function(){return l}))}},{key:"makeFavorite",value:function(t,a,o,s){if(t.flag!==Yn.Blocked)return a.changeFlag(t,Yn.Favorite),o.showDone("vpn.server-options.make-favorite-done"),Je(!0);var l=!1,u=Zt.createConfirmationDialog(s,"vpn.server-options.make-favorite-confirmation");return u.componentInstance.operationAccepted.subscribe(function(){l=!0,a.changeFlag(t,Yn.Favorite),o.showDone("vpn.server-options.make-favorite-done"),u.componentInstance.closeModal()}),u.afterClosed().pipe(qe(function(){return l}))}},{key:"blockServer",value:function(t,a,o,s,l){if(t.flag!==Yn.Favorite&&(!a.currentServer||a.currentServer.pk!==t.pk))return a.changeFlag(t,Yn.Blocked),s.showDone("vpn.server-options.block-done"),Je(!0);var u=!1,f=a.currentServer&&a.currentServer.pk===t.pk,w=Zt.createConfirmationDialog(l,t.flag!==Yn.Favorite?"vpn.server-options.block-selected-confirmation":f?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation");return w.componentInstance.operationAccepted.subscribe(function(){u=!0,a.changeFlag(t,Yn.Blocked),s.showDone("vpn.server-options.block-done"),f&&o.stop(),w.componentInstance.closeModal()}),w.afterClosed().pipe(qe(function(){return u}))}}]),i}();return n.serverListTabStorageKey="ServerListTab",n.currentPk="",n}(),Cz=["mat-menu-item",""];function wz(n,i){1&n&&(ys(),P(0,"svg",2),Ee(1,"polygon",3),E())}var vE=["*"];function Sz(n,i){if(1&n){var e=tt();P(0,"div",0),Se("keydown",function(o){return ke(e),q()._handleKeydown(o)})("click",function(){return ke(e),q().closed.emit("click")})("@transformMenu.start",function(o){return ke(e),q()._onAnimationStart(o)})("@transformMenu.done",function(o){return ke(e),q()._onAnimationDone(o)}),P(1,"div",1),hr(2),E()()}if(2&n){var t=q();L("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),Gt("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}var Pv={transformMenu:zo("transformMenu",[Ii("void",kn({opacity:0,transform:"scale(0.8)"})),gi("void => enter",Ai("120ms cubic-bezier(0, 0, 0.2, 1)",kn({opacity:1,transform:"scale(1)"}))),gi("* => void",Ai("100ms 25ms linear",kn({opacity:0})))]),fadeInItems:zo("fadeInItems",[Ii("showing",kn({opacity:1})),gi("void => *",[kn({opacity:0}),Ai("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Dz=new $e("MatMenuContent"),jb=new $e("MAT_MENU_PANEL"),Tz=uf(ic(function(){return d(function n(){c(this,n)})}())),es=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f,m;return c(this,t),(f=e.call(this))._elementRef=a,f._document=o,f._focusMonitor=s,f._parentMenu=l,f._changeDetectorRef=u,f.role="menuitem",f._hovered=new Ie,f._focused=new Ie,f._highlighted=!1,f._triggersSubmenu=!1,null===(m=null==l?void 0:l.addItem)||void 0===m||m.call(l,x(f)),f}return d(t,[{key:"focus",value:function(o,s){this._focusMonitor&&o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(o){this.disabled&&(o.preventDefault(),o.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var o,s=this._elementRef.nativeElement.cloneNode(!0),l=s.querySelectorAll("mat-icon, .material-icons"),u=0;u0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(tr(1)).subscribe(function(){return t._focusFirstItem(a)}):this._focusFirstItem(a)}},{key:"_focusFirstItem",value:function(t){var a=this._keyManager;if(a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&this._directDescendantItems.length)for(var o=this._directDescendantItems.first._getHostElement().parentElement;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var a=this,o=Math.min(this._baseElevation+t,24),s="".concat(this._elevationPrefix).concat(o),l=Object.keys(this._classList).find(function(u){return u.startsWith(a._elevationPrefix)});(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}},{key:"setPositionClasses",value:function(){var o,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,s=this._classList;s["mat-menu-before"]="before"===t,s["mat-menu-after"]="after"===t,s["mat-menu-above"]="above"===a,s["mat-menu-below"]="below"===a,null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe(fa(this._allItems)).subscribe(function(a){t._directDescendantItems.reset(a.filter(function(o){return o._parentMenu===t})),t._directDescendantItems.notifyOnChanges()})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(yt),V(bt),V(mE),V(Kn))},n.\u0275dir=et({type:n,contentQueries:function(e,t,a){var o;1&e&&(vr(a,Dz,5),vr(a,es,5),vr(a,es,4)),2&e&&(lt(o=ut())&&(t.lazyContent=o.first),lt(o=ut())&&(t._allItems=o),lt(o=ut())&&(t.items=o))},viewQuery:function(e,t){var a;1&e&&_t(xi,5),2&e&<(a=ut())&&(t.templateRef=a.first)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n}(),yc=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,a,o,s,l))._elevationPrefix="mat-elevation-z",u._baseElevation=4,u}return d(t)}(Tf);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(bt),V(mE),V(Kn))},n.\u0275cmp=We({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Gt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[un([{provide:jb,useExisting:n}]),vt],ngContentSelectors:vE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(Wi(),K(0,Sz,3,6,"ng-template"))},directives:[mr],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Pv.transformMenu,Pv.fadeInItems]},changeDetection:0}),n}(),gE=new $e("mat-menu-scroll-strategy"),xz={provide:gE,deps:[xa],useFactory:function Pz(n){return function(){return n.scrollStrategies.reposition()}}},yE=gl({passive:!0}),Oz=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m){var w=this;c(this,i),this._overlay=e,this._element=t,this._viewContainerRef=a,this._menuItemInstance=l,this._dir=u,this._focusMonitor=f,this._ngZone=m,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ne.EMPTY,this._hoverSubscription=Ne.EMPTY,this._menuCloseSubscription=Ne.EMPTY,this._handleTouchStart=function(R){rb(R)||(w._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new pt,this.onMenuOpen=this.menuOpened,this.menuClosed=new pt,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Tf?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,yE),l&&(l._triggersSubmenu=this.triggersSubmenu())}return d(i,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var a=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(function(o){a._destroyMenu(o),("click"===o||"tab"===o)&&a._parentMaterialMenu&&a._parentMaterialMenu.closed.emit(o)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,yE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var t=this;if(!this._menuOpen){this._checkMenu();var a=this._createOverlay(),o=a.getConfig(),s=o.positionStrategy;this._setPosition(s),o.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,a.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof Tf&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(hn(this.menu.close)).subscribe(function(){s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(t,a){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,a):this._element.nativeElement.focus(a)}},{key:"updatePosition",value:function(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}},{key:"_destroyMenu",value:function(t){var a=this;if(this._overlayRef&&this.menuOpen){var o=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,o instanceof Tf?(o._resetAnimation(),o.lazyContent?o._animationDone.pipe(Vr(function(s){return"void"===s.toState}),tr(1),hn(o.lazyContent._attached)).subscribe({next:function(){return o.lazyContent.detach()},complete:function(){return a._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),o.lazyContent&&o.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,a=this.menu.parentMenu;a;)t++,a=a.parentMenu;this.menu.setElevation(t)}}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new sf({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(t){var a=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(o){var s="start"===o.connectionPair.overlayX?"after":"before",l="top"===o.connectionPair.overlayY?"below":"above";a._ngZone?a._ngZone.run(function(){return a.menu.setPositionClasses(s,l)}):a.menu.setPositionClasses(s,l)})}},{key:"_setPosition",value:function(t){var o=ne("before"===this.menu.xPosition?["end","start"]:["start","end"],2),s=o[0],l=o[1],f=ne("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),m=f[0],w=f[1],R=m,B=w,J=s,me=l,we=0;this.triggersSubmenu()?(me=s="before"===this.menu.xPosition?"start":"end",l=J="end"===s?"start":"end",we="bottom"===m?8:-8):this.menu.overlapTrigger||(R="top"===m?"bottom":"top",B="top"===w?"bottom":"top"),t.withPositions([{originX:s,originY:R,overlayX:J,overlayY:m,offsetY:we},{originX:l,originY:R,overlayX:me,overlayY:m,offsetY:we},{originX:s,originY:B,overlayX:J,overlayY:w,offsetY:-we},{originX:l,originY:B,overlayX:me,overlayY:w,offsetY:-we}])}},{key:"_menuClosingActions",value:function(){var t=this,a=this._overlayRef.backdropClick(),o=this._overlayRef.detachments();return Mi(a,this._parentMaterialMenu?this._parentMaterialMenu.closed:Je(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Vr(function(u){return u!==t._menuItemInstance}),Vr(function(){return t._menuOpen})):Je(),o)}},{key:"_handleMousedown",value:function(t){nb(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var a=t.keyCode;(13===a||32===a)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Vr(function(a){return a===t._menuItemInstance&&!a.disabled}),ki(0,Uy)).subscribe(function(){t._openedBy="mouse",t.menu instanceof Tf&&t.menu._isAnimating?t.menu._animationDone.pipe(tr(1),ki(0,Uy),hn(t._parentMaterialMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new nc(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(xa),V(yt),V(ii),V(gE),V(jb,8),V(es,10),V(ha,8),V(xs),V(bt))},n.\u0275dir=et({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&Se("click",function(o){return t._handleClick(o)})("mousedown",function(o){return t._handleMousedown(o)})("keydown",function(o){return t._handleKeydown(o)}),2&e&&Gt("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n}(),bc=function(){var n=function(i){h(t,i);var e=y(t);function t(){return c(this,t),e.apply(this,arguments)}return d(t)}(Oz);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[vt]}),n}(),Az=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[xz],imports:[[bo,Pn,df,lf],nf,Pn]}),n}(),ts=function(){return function(n){n[n.Seconds=0]="Seconds",n[n.Minutes=1]="Minutes",n[n.Hours=2]="Hours",n[n.Days=3]="Days",n[n.Weeks=4]="Weeks"}(ts||(ts={})),ts}(),Iz=d(function n(){c(this,n)}),bE=function(){function n(){c(this,n)}return d(n,null,[{key:"getElapsedTime",value:function(e){var t=new Iz;t.timeRepresentation=ts.Seconds,t.totalMinutes=Math.floor(e/60).toString(),t.translationVarName="second";var a=1;e>=60&&e<3600?(t.timeRepresentation=ts.Minutes,a=60,t.translationVarName="minute"):e>=3600&&e<86400?(t.timeRepresentation=ts.Hours,a=3600,t.translationVarName="hour"):e>=86400&&e<604800?(t.timeRepresentation=ts.Days,a=86400,t.translationVarName="day"):e>=604800&&(t.timeRepresentation=ts.Weeks,a=604800,t.translationVarName="week");var o=Math.floor(e/a);return t.elapsedTime=o.toString(),(t.timeRepresentation===ts.Seconds||o>1)&&(t.translationVarName=t.translationVarName+"s"),t}}]),n}();function Rz(n,i){1&n&&Ee(0,"mat-spinner",5),2&n&&L("diameter",14)}function Fz(n,i){1&n&&Ee(0,"mat-spinner",6),2&n&&L("diameter",18)}function Nz(n,i){1&n&&(P(0,"mat-icon",9),F(1,"refresh"),E()),2&n&&L("inline",!0)}function Yz(n,i){1&n&&(P(0,"mat-icon",10),F(1,"warning"),E()),2&n&&L("inline",!0)}function Hz(n,i){if(1&n&&(Ke(0),K(1,Nz,2,1,"mat-icon",7),K(2,Yz,2,1,"mat-icon",8),Ze()),2&n){var e=q();v(1),L("ngIf",!e.showAlert),v(1),L("ngIf",e.showAlert)}}var kE=function(i){return{time:i}};function Bz(n,i){if(1&n&&(P(0,"span",11),F(1),Y(2,"translate"),E()),2&n){var e=q();v(1),_e(Ht(2,1,"refresh-button."+e.elapsedTime.translationVarName,Qe(4,kE,e.elapsedTime.elapsedTime)))}}var Vz=function(i){return{"grey-button-background":i}},jz=function(){var n=function(){function i(){c(this,i),this.refeshRate=-1}return d(i,[{key:"secondsSinceLastUpdate",set:function(t){this.elapsedTime=bE.getElapsedTime(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(e,t){1&e&&(P(0,"button",0),Y(1,"translate"),K(2,Rz,1,1,"mat-spinner",1),K(3,Fz,1,1,"mat-spinner",2),K(4,Hz,3,2,"ng-container",3),K(5,Bz,3,6,"span",4),E()),2&e&&(L("disabled",t.showLoading)("ngClass",Qe(10,Vz,!t.showLoading))("matTooltip",t.showAlert?Ht(1,7,"refresh-button.error-tooltip",Qe(12,kE,t.refeshRate)):""),v(2),L("ngIf",t.showLoading),v(1),L("ngIf",t.showLoading),v(1),L("ngIf",!t.showLoading),v(1),L("ngIf",t.elapsedTime))},directives:[yi,mr,ur,Et,$a,Mn],pipes:[Mt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width: 767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),n}(),Lf=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"transform",value:function(t,a){var s,o=!0;a?a.showPerSecond?a.useBits?(s=i.measurementsPerSecInBits,o=!1):s=i.measurementsPerSec:a.useBits?(s=i.accumulatedMeasurementsInBits,o=!1):s=i.accumulatedMeasurements:s=i.accumulatedMeasurements;var l=new Hb.BigNumber(t);o||(l=l.multipliedBy(8));for(var u=s[0],f=0;l.dividedBy(1024).isGreaterThan(1);)l=l.dividedBy(1024),u=s[f+=1];var m="";return(!a||!!a.showValue)&&(m=a&&a.limitDecimals?new Hb.BigNumber(l).decimalPlaces(1).toString():l.toFixed(2)),(!a||!!a.showValue&&!!a.showUnit)&&(m+=" "),(!a||!!a.showUnit)&&(m+=u),m}}]),i}();return n.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],n.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],n.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],n.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Kr({name:"autoScale",type:n,pure:!0}),n}();function Uz(n,i){if(1&n){var e=tt();P(0,"button",23),Se("click",function(){return ke(e),q().requestAction(null)}),P(1,"mat-icon"),F(2,"chevron_left"),E()()}}function zz(n,i){1&n&&(Ke(0),Ee(1,"img",24),Ze())}function Wz(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q();v(1),Me(" ",W(2,1,e.titleParts[e.titleParts.length-1])," ")}}var Gz=function(i){return{transparent:i}};function qz(n,i){if(1&n){var e=tt();Ke(0),P(1,"div",26),Se("click",function(){var s=ke(e).$implicit;return q(2).requestAction(s.actionName)}),P(2,"mat-icon",27),F(3),E(),F(4),Y(5,"translate"),E(),Ze()}if(2&n){var t=i.$implicit;v(1),L("disabled",t.disabled),v(1),L("ngClass",Qe(6,Gz,t.disabled)),v(1),_e(t.icon),v(1),Me(" ",W(5,4,t.name)," ")}}function Kz(n,i){1&n&&Ee(0,"div",28)}function Zz(n,i){if(1&n&&(Ke(0),K(1,qz,6,8,"ng-container",25),K(2,Kz,1,0,"div",9),Ze()),2&n){var e=q();v(1),L("ngForOf",e.optionsData),v(1),L("ngIf",e.returnText)}}function $z(n,i){1&n&&Ee(0,"div",28)}function Qz(n,i){1&n&&Ee(0,"img",31),2&n&&L("src","assets/img/lang/"+q(2).language.iconName,Fo)}function Jz(n,i){if(1&n){var e=tt();P(0,"div",29),Se("click",function(){return ke(e),q().openLanguageWindow()}),K(1,Qz,1,1,"img",30),F(2),Y(3,"translate"),E()}if(2&n){var t=q();v(1),L("ngIf",t.language),v(1),Me(" ",W(3,2,t.language?t.language.name:"")," ")}}function Xz(n,i){if(1&n){var e=tt();P(0,"div",32)(1,"a",33),Se("click",function(){return ke(e),q().requestAction(null)}),Y(2,"translate"),P(3,"mat-icon",34),F(4,"chevron_left"),E()()()}if(2&n){var t=q();v(1),L("matTooltip",W(2,2,t.returnText)),v(2),L("inline",!0)}}function eW(n,i){if(1&n&&(P(0,"span",35),F(1),Y(2,"translate"),E()),2&n){var e=q();v(1),Me(" ",W(2,1,e.titleParts[e.titleParts.length-1])," ")}}function tW(n,i){1&n&&Ee(0,"img",36)}var nW=function(i,e){return{"d-lg-none":i,"d-none d-md-inline-block":e}},ME=function(i,e){return{"mouse-disabled":i,"grey-button-background":e}};function rW(n,i){if(1&n&&(P(0,"div",27)(1,"a",37)(2,"mat-icon",34),F(3),E(),P(4,"span"),F(5),Y(6,"translate"),E()()()),2&n){var e=i.$implicit,t=i.index,a=q();L("ngClass",En(9,nW,e.onlyIfLessThanLg,1!==a.tabsData.length)),v(1),L("disabled",t===a.selectedTabIndex)("routerLink",e.linkParts)("ngClass",En(12,ME,a.disableMouse,!a.disableMouse&&t!==a.selectedTabIndex)),v(1),L("inline",!0),v(1),_e(e.icon),v(2),_e(W(6,7,e.label))}}var iW=function(i){return{"d-none":i}};function aW(n,i){if(1&n){var e=tt();P(0,"div",38)(1,"button",39),Se("click",function(){return ke(e),q().openTabSelector()}),P(2,"mat-icon",34),F(3),E(),P(4,"span"),F(5),Y(6,"translate"),E(),P(7,"mat-icon",34),F(8,"keyboard_arrow_down"),E()()()}if(2&n){var t=q();L("ngClass",Qe(8,iW,1===t.tabsData.length)),v(1),L("ngClass",En(10,ME,t.disableMouse,!t.disableMouse)),v(1),L("inline",!0),v(1),_e(t.tabsData[t.selectedTabIndex].icon),v(2),_e(W(6,6,t.tabsData[t.selectedTabIndex].label)),v(2),L("inline",!0)}}function oW(n,i){if(1&n){var e=tt();P(0,"app-refresh-button",43),Se("click",function(){return ke(e),q(2).sendRefreshEvent()}),E()}if(2&n){var t=q(2);L("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.showLoading)("showAlert",t.showAlert)("refeshRate",t.refeshRate)}}function sW(n,i){if(1&n&&(P(0,"div",40),K(1,oW,1,4,"app-refresh-button",41),P(2,"button",42)(3,"mat-icon",34),F(4,"menu"),E()()()),2&n){var e=q(),t=sr(12);v(1),L("ngIf",e.showUpdateButton),v(1),L("matMenuTriggerFor",t),v(1),L("inline",!0)}}function lW(n,i){if(1&n){var e=tt();P(0,"div",51)(1,"div",52),Se("click",function(){return ke(e),q(2).openLanguageWindow()}),Ee(2,"img",53),F(3),Y(4,"translate"),E()()}if(2&n){var t=q(2);v(2),L("src","assets/img/lang/"+t.language.iconName,Fo),v(1),Me(" ",W(4,2,t.language?t.language.name:"")," ")}}function uW(n,i){1&n&&(P(0,"div",54),Y(1,"translate"),P(2,"mat-icon",34),F(3,"warning"),E(),F(4),Y(5,"translate"),E()),2&n&&(L("matTooltip",W(1,3,"vpn.connection-error.info")),v(2),L("inline",!0),v(2),Me(" ",W(5,5,"vpn.connection-error.text")," "))}function cW(n,i){1&n&&(P(0,"div",61)(1,"mat-icon",59),F(2,"brightness_1"),E()()),2&n&&(v(1),L("inline",!0))}var dW=function(i,e){return{"animation-container":i,"d-none":e}},fW=function(i){return{time:i}},CE=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:i}};function hW(n,i){if(1&n&&(P(0,"table",55)(1,"tr")(2,"td",56),Y(3,"translate"),P(4,"div",27)(5,"div",57)(6,"div",58)(7,"mat-icon",59),F(8,"brightness_1"),E(),F(9),Y(10,"translate"),E()()(),K(11,cW,3,1,"div",60),P(12,"mat-icon",59),F(13,"brightness_1"),E(),F(14),Y(15,"translate"),E(),P(16,"td",56),Y(17,"translate"),P(18,"mat-icon",34),F(19,"swap_horiz"),E(),F(20),Y(21,"translate"),E()(),P(22,"tr")(23,"td",56),Y(24,"translate"),P(25,"mat-icon",34),F(26,"arrow_upward"),E(),F(27),Y(28,"autoScale"),E(),P(29,"td",56),Y(30,"translate"),P(31,"mat-icon",34),F(32,"arrow_downward"),E(),F(33),Y(34,"autoScale"),E()()()),2&n){var e=q(2);v(2),sa(e.vpnData.stateClass+" state-td"),L("matTooltip",W(3,18,e.vpnData.state+"-info")),v(2),L("ngClass",En(39,dW,e.showVpnStateAnimation,!e.showVpnStateAnimation)),v(3),L("inline",!0),v(2),Me(" ",W(10,20,e.vpnData.state)," "),v(2),L("ngIf",e.showVpnStateAnimatedDot),v(1),L("inline",!0),v(2),Me(" ",W(15,22,e.vpnData.state)," "),v(2),L("matTooltip",W(17,24,"vpn.connection-info.latency-info")),v(2),L("inline",!0),v(2),Me(" ",Ht(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),Qe(42,fW,e.getPrintableLatency(e.vpnData.latency)))," "),v(3),L("matTooltip",W(24,29,"vpn.connection-info.upload-info")),v(2),L("inline",!0),v(2),Me(" ",Ht(28,31,e.vpnData.uploadSpeed,Qe(44,CE,e.showVpnDataStatsInBits))," "),v(2),L("matTooltip",W(30,34,"vpn.connection-info.download-info")),v(2),L("inline",!0),v(2),Me(" ",Ht(34,36,e.vpnData.downloadSpeed,Qe(46,CE,e.showVpnDataStatsInBits))," ")}}function pW(n,i){1&n&&Ee(0,"mat-spinner",62),2&n&&L("diameter",20)}function vW(n,i){if(1&n&&(P(0,"div")(1,"div",44),K(2,lW,5,4,"div",45),Ee(3,"div",46),K(4,uW,6,7,"div",47),E(),P(5,"div",48),K(6,hW,35,48,"table",49),K(7,pW,1,1,"mat-spinner",50),E()()),2&n){var e=q();v(2),L("ngIf",!e.hideLanguageButton&&e.language),v(2),L("ngIf",e.errorsConnectingToVpn),v(2),L("ngIf",e.vpnData),v(1),L("ngIf",!e.vpnData)}}function mW(n,i){1&n&&(P(0,"div",63)(1,"div",64)(2,"mat-icon",34),F(3,"error_outline"),E(),F(4),Y(5,"translate"),E(),P(6,"div",65),F(7),Y(8,"translate"),E()()),2&n&&(v(2),L("inline",!0),v(2),Me(" ",W(5,3,"vpn.remote-access-title")," "),v(3),Me(" ",W(8,5,"vpn.remote-access-text")," "))}var wE=function(i,e){return{"d-lg-none":i,"d-none":e}},gW=function(i){return{"normal-height":i}},_W=function(i,e){return{"d-none d-lg-flex":i,"d-flex":e}},xl=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.languageService=e,this.dialog=t,this.router=a,this.vpnClientService=o,this.vpnSavedDataService=s,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new pt,this.optionSelected=new pt,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}return d(i,[{key:"localVpnKey",set:function(t){this.localVpnKeyInternal=t,t?this.startGettingVpnInfo():this.stopGettingVpnInfo()}},{key:"ngOnInit",value:function(){var t=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(function(o){t.language=o})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(function(o){t.hideLanguageButton=!(o.length>1)}));var a=window.location.hostname;!a.toLowerCase().includes("localhost")&&!a.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}},{key:"ngOnDestroy",value:function(){this.langSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}},{key:"startGettingVpnInfo",value:function(){var t=this;this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(function(a){a&&(t.vpnData={state:"",stateClass:"",latency:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.latency:0,downloadSpeed:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.uploadSpeed:0},a.vpnClientAppData.appState===pn.Stopped?(t.vpnData.state="vpn.connection-info.state-disconnected",t.vpnData.stateClass="red-clear-text"):a.vpnClientAppData.appState===pn.Connecting?(t.vpnData.state="vpn.connection-info.state-connecting",t.vpnData.stateClass="yellow-clear-text"):a.vpnClientAppData.appState===pn.Running?(t.vpnData.state="vpn.connection-info.state-connected",t.vpnData.stateClass="green-clear-text"):a.vpnClientAppData.appState===pn.ShuttingDown?(t.vpnData.state="vpn.connection-info.state-disconnecting",t.vpnData.stateClass="yellow-clear-text"):a.vpnClientAppData.appState===pn.Reconnecting&&(t.vpnData.state="vpn.connection-info.state-reconnecting",t.vpnData.stateClass="yellow-clear-text"),t.initialVpnStateObtained?t.lastVpnState!==t.vpnData.state&&(t.lastVpnState=t.vpnData.state,t.showVpnStateAnimation=!1,t.showVpnStateChangeAnimationSubscription&&t.showVpnStateChangeAnimationSubscription.unsubscribe(),t.showVpnStateChangeAnimationSubscription=Je(0).pipe(ki(1)).subscribe(function(){return t.showVpnStateAnimation=!0})):(t.initialVpnStateObtained=!0,t.lastVpnState=t.vpnData.state),t.showVpnStateAnimatedDot=!1,t.showVpnStateAnimatedDotSubscription&&t.showVpnStateAnimatedDotSubscription.unsubscribe(),t.showVpnStateAnimatedDotSubscription=Je(0).pipe(ki(1)).subscribe(function(){return t.showVpnStateAnimatedDot=!0}))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(function(a){t.errorsConnectingToVpn=a})}},{key:"stopGettingVpnInfo",value:function(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}},{key:"getLatencyValueString",value:function(t){return Gr.getLatencyValueString(t)}},{key:"getPrintableLatency",value:function(t){return Gr.getPrintableLatency(t)}},{key:"requestAction",value:function(t){this.optionSelected.emit(t)}},{key:"openLanguageWindow",value:function(){oE.openDialog(this.dialog)}},{key:"sendRefreshEvent",value:function(){this.refreshRequested.emit()}},{key:"openTabSelector",value:function(){var t=this,a=[];this.tabsData.forEach(function(o){a.push({label:o.label,icon:o.icon})}),Hi.openDialog(this.dialog,a,"tabs-window.title").afterClosed().subscribe(function(o){o&&(o-=1)!==t.selectedTabIndex&&t.router.navigate(t.tabsData[o].linkParts)})}},{key:"updateVpnDataStatsUnit",value:function(){var t=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=t===Qi.BitsSpeedAndBytesVolume||t===Qi.OnlyBits}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(pv),V(Wn),V(an),V(_c),V(Pl))},n.\u0275cmp=We({type:n,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(e,t){if(1&e&&(P(0,"div",0)(1,"div",1),K(2,Uz,3,0,"button",2),E(),P(3,"div",3),K(4,zz,2,0,"ng-container",4),K(5,Wz,3,3,"ng-container",4),E(),P(6,"div",1)(7,"button",5)(8,"mat-icon"),F(9,"menu"),E()()()(),Ee(10,"div",6),P(11,"mat-menu",7,8),K(13,Zz,3,2,"ng-container",4),K(14,$z,1,0,"div",9),K(15,Jz,4,4,"div",10),E(),P(16,"div",11)(17,"div",12)(18,"div",13),K(19,Xz,5,4,"div",14),K(20,eW,3,3,"span",15),K(21,tW,1,0,"img",16),E(),P(22,"div",17),K(23,rW,7,15,"div",18),K(24,aW,9,13,"div",19),Ee(25,"div",20),K(26,sW,5,3,"div",21),E()(),K(27,vW,8,4,"div",4),E(),K(28,mW,9,7,"div",22)),2&e){var a=sr(12);L("ngClass",En(20,wE,!t.showVpnInfo,t.showVpnInfo)),v(2),L("ngIf",t.returnText),v(2),L("ngIf",!t.titleParts||t.titleParts.length<2),v(1),L("ngIf",t.titleParts&&t.titleParts.length>=2),v(2),L("matMenuTriggerFor",a),v(3),L("ngClass",En(23,wE,!t.showVpnInfo,t.showVpnInfo)),v(1),L("overlapTrigger",!1),v(2),L("ngIf",t.optionsData&&t.optionsData.length>=1),v(1),L("ngIf",!t.hideLanguageButton&&t.optionsData&&t.optionsData.length>=1),v(1),L("ngIf",!t.hideLanguageButton),v(1),L("ngClass",Qe(26,gW,!t.showVpnInfo)),v(2),L("ngClass",En(28,_W,!t.showVpnInfo,t.showVpnInfo)),v(1),L("ngIf",t.returnText),v(1),L("ngIf",!t.showVpnInfo),v(1),L("ngIf",t.showVpnInfo),v(2),L("ngForOf",t.tabsData),v(1),L("ngIf",t.tabsData&&t.tabsData[t.selectedTabIndex]),v(2),L("ngIf",!t.showVpnInfo),v(1),L("ngIf",t.showVpnInfo),v(1),L("ngIf",t.showVpnInfo&&t.remoteAccess)}},directives:[mr,Et,yi,Mn,bc,yc,xr,es,ur,q8,vl,jz,$a],pipes:[Mt,Lf],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:700}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;animation:state-icon-animation 1s linear 1}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;animation:state-animation 1s linear 1;opacity:0}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 0 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),n}(),SE=function(){return["1"]};function yW(n,i){if(1&n&&(P(0,"a",10)(1,"mat-icon",11),F(2,"chevron_left"),E(),F(3),Y(4,"translate"),E()),2&n){var e=q();L("routerLink",e.linkParts.concat(Nn(6,SE)))("queryParams",e.queryParams),v(1),L("inline",!0),v(2),Me(" ",W(4,4,"paginator.first")," ")}}function bW(n,i){if(1&n&&(P(0,"a",12)(1,"mat-icon",11),F(2,"chevron_left"),E(),P(3,"span",13),F(4),Y(5,"translate"),E()()),2&n){var e=q();L("routerLink",e.linkParts.concat(Nn(6,SE)))("queryParams",e.queryParams),v(1),L("inline",!0),v(3),_e(W(5,4,"paginator.first"))}}var Fs=function(i){return[i]};function kW(n,i){if(1&n&&(P(0,"a",10)(1,"div")(2,"mat-icon",11),F(3,"chevron_left"),E()()()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(3,Fs,(e.currentPage-1).toString())))("queryParams",e.queryParams),v(2),L("inline",!0)}}function MW(n,i){if(1&n&&(P(0,"a",10),F(1),E()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(3,Fs,(e.currentPage-2).toString())))("queryParams",e.queryParams),v(1),_e(e.currentPage-2)}}function CW(n,i){if(1&n&&(P(0,"a",14),F(1),E()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(3,Fs,(e.currentPage-1).toString())))("queryParams",e.queryParams),v(1),_e(e.currentPage-1)}}function wW(n,i){if(1&n&&(P(0,"a",14),F(1),E()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(3,Fs,(e.currentPage+1).toString())))("queryParams",e.queryParams),v(1),_e(e.currentPage+1)}}function SW(n,i){if(1&n&&(P(0,"a",10),F(1),E()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(3,Fs,(e.currentPage+2).toString())))("queryParams",e.queryParams),v(1),_e(e.currentPage+2)}}function DW(n,i){if(1&n&&(P(0,"a",10)(1,"div")(2,"mat-icon",11),F(3,"chevron_right"),E()()()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(3,Fs,(e.currentPage+1).toString())))("queryParams",e.queryParams),v(2),L("inline",!0)}}function TW(n,i){if(1&n&&(P(0,"a",10),F(1),Y(2,"translate"),P(3,"mat-icon",11),F(4,"chevron_right"),E()()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(6,Fs,e.numberOfPages.toString())))("queryParams",e.queryParams),v(1),Me(" ",W(2,4,"paginator.last")," "),v(2),L("inline",!0)}}function LW(n,i){if(1&n&&(P(0,"a",12)(1,"mat-icon",11),F(2,"chevron_right"),E(),P(3,"span",13),F(4),Y(5,"translate"),E()()),2&n){var e=q();L("routerLink",e.linkParts.concat(Qe(6,Fs,e.numberOfPages.toString())))("queryParams",e.queryParams),v(1),L("inline",!0),v(3),_e(W(5,4,"paginator.last"))}}var DE=function(i){return{number:i}};function EW(n,i){if(1&n&&(P(0,"div",15),F(1),Y(2,"translate"),E()),2&n){var e=q();v(1),_e(Ht(2,1,"paginator.total",Qe(4,DE,e.numberOfPages)))}}function PW(n,i){if(1&n&&(P(0,"div",16),F(1),Y(2,"translate"),E()),2&n){var e=q();v(1),_e(Ht(2,1,"paginator.total",Qe(4,DE,e.numberOfPages)))}}var kc=function(){var n=function(){function i(e,t){c(this,i),this.dialog=e,this.router=t,this.linkParts=[""],this.queryParams={}}return d(i,[{key:"openSelectionDialog",value:function(){for(var t=this,a=[],o=1;o<=this.numberOfPages;o++)a.push({label:o.toString()});Hi.openDialog(this.dialog,a,"paginator.select-page-title").afterClosed().subscribe(function(s){s&&t.router.navigate(t.linkParts.concat([s.toString()]),{queryParams:t.queryParams})})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Wn),V(an))},n.\u0275cmp=We({type:n,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),F(4,"\xa0"),Ee(5,"br"),F(6,"\xa0"),E(),K(7,yW,5,7,"a",4),K(8,bW,6,7,"a",5),K(9,kW,4,5,"a",4),K(10,MW,2,5,"a",4),K(11,CW,2,5,"a",6),P(12,"a",7),Se("click",function(){return t.openSelectionDialog()}),F(13),E(),K(14,wW,2,5,"a",6),K(15,SW,2,5,"a",4),K(16,DW,4,5,"a",4),K(17,TW,5,8,"a",4),K(18,LW,6,8,"a",5),E()(),K(19,EW,3,6,"div",8),K(20,PW,3,6,"div",9),E()),2&e&&(v(7),L("ngIf",t.currentPage>3),v(1),L("ngIf",t.currentPage>2),v(1),L("ngIf",t.currentPage>1),v(1),L("ngIf",t.currentPage>2),v(1),L("ngIf",t.currentPage>1),v(2),_e(t.currentPage),v(1),L("ngIf",t.currentPage3),v(1),L("ngIf",t.numberOfPages>2))},directives:[Et,vl,Mn],pipes:[Mt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:#f8f9f980;text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),n}(),TE=function(){return["start.title"]};function xW(n,i){if(1&n&&(P(0,"div",2)(1,"div"),Ee(2,"app-top-bar",3),E(),Ee(3,"app-loading-indicator",4),E()),2&n){var e=q();v(2),L("titleParts",Nn(4,TE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function OW(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.translatableValue))}}function AW(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),_e(e.value)}}function IW(n,i){if(1&n&&(P(0,"div",23)(1,"span"),F(2),Y(3,"translate"),E(),K(4,OW,3,3,"ng-container",24),K(5,AW,2,1,"ng-container",24),E()),2&n){var e=i.$implicit;v(2),Me("",W(3,3,e.filterName),": "),v(2),L("ngIf",e.translatableValue),v(1),L("ngIf",e.value)}}function RW(n,i){if(1&n){var e=tt();P(0,"div",20),Se("click",function(){return ke(e),q(2).dataFilterer.removeFilters()}),K(1,IW,6,5,"div",21),P(2,"div",22),F(3),Y(4,"translate"),E()()}if(2&n){var t=q(2);v(1),L("ngForOf",t.dataFilterer.currentFiltersTexts),v(2),_e(W(4,2,"filters.press-to-remove"))}}function FW(n,i){if(1&n){var e=tt();P(0,"mat-icon",25),Se("click",function(){return ke(e),q(2).dataFilterer.changeFilters()}),Y(1,"translate"),F(2,"filter_list"),E()}2&n&&L("inline",!0)("matTooltip",W(1,2,"filters.filter-action"))}function NW(n,i){1&n&&(P(0,"mat-icon",26),F(1,"more_horiz"),E()),2&n&&(q(),L("matMenuTriggerFor",sr(12)))}var LE=function(){return["/nodes","list"]},EE=function(){return["/nodes","dmsg"]};function YW(n,i){if(1&n&&Ee(0,"app-paginator",27),2&n){var e=q(2);L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Nn(5,EE):Nn(4,LE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function HW(n,i){if(1&n&&(P(0,"mat-icon",42),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function BW(n,i){if(1&n&&(P(0,"mat-icon",42),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function VW(n,i){if(1&n&&(P(0,"mat-icon",42),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function jW(n,i){if(1&n&&(P(0,"mat-icon",42),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function UW(n,i){1&n&&(Ke(0),F(1,"*"),Ze())}function zW(n,i){if(1&n&&(Ke(0),P(1,"mat-icon",42),F(2),E(),K(3,UW,2,0,"ng-container",24),Ze()),2&n){var e=q(5);v(1),L("inline",!0),v(1),_e(e.dataSorter.sortingArrow),v(1),L("ngIf",e.dataSorter.currentlySortingByLabel)}}function WW(n,i){if(1&n){var e=tt();P(0,"th",38),Se("click",function(){ke(e);var o=q(4);return o.dataSorter.changeSortingOrder(o.dmsgServerSortData)}),F(1),Y(2,"translate"),K(3,zW,4,3,"ng-container",24),E()}if(2&n){var t=q(4);v(1),Me(" ",W(2,2,"nodes.dmsg-server")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.dmsgServerSortData)}}function GW(n,i){if(1&n&&(P(0,"mat-icon",42),F(1),E()),2&n){var e=q(5);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function qW(n,i){if(1&n){var e=tt();P(0,"th",38),Se("click",function(){ke(e);var o=q(4);return o.dataSorter.changeSortingOrder(o.pingSortData)}),F(1),Y(2,"translate"),K(3,GW,2,2,"mat-icon",35),E()}if(2&n){var t=q(4);v(1),Me(" ",W(2,2,"nodes.ping")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.pingSortData)}}function KW(n,i){1&n&&(P(0,"mat-icon",49),Y(1,"translate"),F(2,"star"),E()),2&n&&L("inline",!0)("matTooltip",W(1,2,"nodes.hypervisor-info"))}function ZW(n,i){if(1&n){var e=tt();P(0,"app-labeled-element-text",51),Se("labelEdited",function(){return ke(e),q(6).forceDataRefresh()}),E()}if(2&n){var t=q(2).$implicit,a=q(4);Ln("id",t.dmsgServerPk),L("short",!0)("elementType",a.labeledElementTypes.DmsgServer)}}function $W(n,i){if(1&n&&(P(0,"td"),K(1,ZW,1,3,"app-labeled-element-text",50),E()),2&n){var e=q().$implicit;v(1),L("ngIf",e.dmsgServerPk)}}var PE=function(i){return{time:i}};function QW(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q(2).$implicit;v(1),Me(" ",Ht(2,1,"common.time-in-ms",Qe(4,PE,e.roundTripPing))," ")}}function JW(n,i){if(1&n&&(P(0,"td"),K(1,QW,3,6,"ng-container",24),E()),2&n){var e=q().$implicit;v(1),L("ngIf",e.dmsgServerPk)}}function XW(n,i){if(1&n){var e=tt();P(0,"button",47),Se("click",function(){ke(e);var a=q().$implicit;return q(4).open(a)}),Y(1,"translate"),P(2,"mat-icon",42),F(3,"chevron_right"),E()()}2&n&&(L("matTooltip",W(1,2,"nodes.view-node")),v(2),L("inline",!0))}function eG(n,i){if(1&n){var e=tt();P(0,"button",47),Se("click",function(){ke(e);var a=q().$implicit;return q(4).deleteNode(a)}),Y(1,"translate"),P(2,"mat-icon"),F(3,"close"),E()()}2&n&&L("matTooltip",W(1,1,"nodes.delete-node"))}function tG(n,i){if(1&n){var e=tt();P(0,"tr",43),Se("click",function(){var l=ke(e).$implicit;return q(4).open(l)}),P(1,"td"),K(2,KW,3,4,"mat-icon",44),E(),P(3,"td"),Ee(4,"span",45),Y(5,"translate"),E(),P(6,"td"),F(7),E(),P(8,"td"),F(9),E(),K(10,$W,2,1,"td",24),K(11,JW,2,1,"td",24),P(12,"td",46),Se("click",function(s){return s.stopPropagation()}),P(13,"button",47),Se("click",function(){var l=ke(e).$implicit;return q(4).copyToClipboard(l)}),Y(14,"translate"),P(15,"mat-icon",42),F(16,"filter_none"),E()(),P(17,"button",47),Se("click",function(){var l=ke(e).$implicit;return q(4).showEditLabelDialog(l)}),Y(18,"translate"),P(19,"mat-icon",42),F(20,"short_text"),E()(),K(21,XW,4,4,"button",48),K(22,eG,4,3,"button",48),E()()}if(2&n){var t=i.$implicit,a=q(4);v(2),L("ngIf",t.isHypervisor),v(2),sa(a.nodeStatusClass(t,!0)),L("matTooltip",W(5,14,a.nodeStatusText(t,!0))),v(3),Me(" ",t.label," "),v(2),Me(" ",t.localPk," "),v(1),L("ngIf",a.showDmsgInfo),v(1),L("ngIf",a.showDmsgInfo),v(2),L("matTooltip",W(14,16,a.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),v(2),L("inline",!0),v(2),L("matTooltip",W(18,18,"labeled-element.edit-label")),v(2),L("inline",!0),v(2),L("ngIf",t.online),v(1),L("ngIf",!t.online)}}function nG(n,i){if(1&n){var e=tt();P(0,"table",32)(1,"tr")(2,"th",33),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.hypervisorSortData)}),Y(3,"translate"),P(4,"mat-icon",34),F(5,"star_outline"),E(),K(6,HW,2,2,"mat-icon",35),E(),P(7,"th",33),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.stateSortData)}),Y(8,"translate"),Ee(9,"span",36),K(10,BW,2,2,"mat-icon",35),E(),P(11,"th",37),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.labelSortData)}),F(12),Y(13,"translate"),K(14,VW,2,2,"mat-icon",35),E(),P(15,"th",38),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.keySortData)}),F(16),Y(17,"translate"),K(18,jW,2,2,"mat-icon",35),E(),K(19,WW,4,4,"th",39),K(20,qW,4,4,"th",39),Ee(21,"th",40),E(),K(22,tG,23,20,"tr",41),E()}if(2&n){var t=q(3);v(2),L("matTooltip",W(3,11,"nodes.hypervisor")),v(4),L("ngIf",t.dataSorter.currentSortingColumn===t.hypervisorSortData),v(1),L("matTooltip",W(8,13,"nodes.state-tooltip")),v(3),L("ngIf",t.dataSorter.currentSortingColumn===t.stateSortData),v(2),Me(" ",W(13,15,"nodes.label")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.labelSortData),v(2),Me(" ",W(17,17,"nodes.key")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.keySortData),v(1),L("ngIf",t.showDmsgInfo),v(1),L("ngIf",t.showDmsgInfo),v(2),L("ngForOf",t.dataSource)}}function rG(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.label")))}function iG(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.inverted-order")))}function aG(n,i){1&n&&(P(0,"div",57)(1,"mat-icon",62),F(2,"star"),E(),F(3,"\xa0 "),P(4,"span",63),F(5),Y(6,"translate"),E()()),2&n&&(v(1),L("inline",!0),v(4),_e(W(6,2,"nodes.hypervisor")))}function oG(n,i){if(1&n){var e=tt();P(0,"div",58)(1,"span",9),F(2),Y(3,"translate"),E(),F(4,": "),P(5,"app-labeled-element-text",64),Se("labelEdited",function(){return ke(e),q(5).forceDataRefresh()}),E()()}if(2&n){var t=q().$implicit,a=q(4);v(2),_e(W(3,3,"nodes.dmsg-server")),v(3),Ln("id",t.dmsgServerPk),L("elementType",a.labeledElementTypes.DmsgServer)}}function sG(n,i){if(1&n&&(P(0,"div",57)(1,"span",9),F(2),Y(3,"translate"),E(),F(4),Y(5,"translate"),E()),2&n){var e=q().$implicit;v(2),_e(W(3,2,"nodes.ping")),v(2),Me(": ",Ht(5,4,"common.time-in-ms",Qe(7,PE,e.roundTripPing))," ")}}function lG(n,i){if(1&n){var e=tt();P(0,"tr",43),Se("click",function(){var l=ke(e).$implicit;return q(4).open(l)}),P(1,"td")(2,"div",53)(3,"div",54),K(4,aG,7,4,"div",56),P(5,"div",57)(6,"span",9),F(7),Y(8,"translate"),E(),F(9,": "),P(10,"span"),F(11),Y(12,"translate"),E()(),P(13,"div",57)(14,"span",9),F(15),Y(16,"translate"),E(),F(17),E(),P(18,"div",58)(19,"span",9),F(20),Y(21,"translate"),E(),F(22),E(),K(23,oG,6,5,"div",59),K(24,sG,6,9,"div",56),E(),Ee(25,"div",60),P(26,"div",55)(27,"button",61),Se("click",function(s){var u=ke(e).$implicit,f=q(4);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(28,"translate"),P(29,"mat-icon"),F(30),E()()()()()()}if(2&n){var t=i.$implicit,a=q(4);v(4),L("ngIf",t.isHypervisor),v(3),_e(W(8,13,"nodes.state")),v(3),sa(a.nodeStatusClass(t,!1)+" title"),v(1),_e(W(12,15,a.nodeStatusText(t,!1))),v(4),_e(W(16,17,"nodes.label")),v(2),Me(": ",t.label," "),v(3),_e(W(21,19,"nodes.key")),v(2),Me(": ",t.localPk," "),v(1),L("ngIf",a.showDmsgInfo),v(1),L("ngIf",a.showDmsgInfo),v(3),L("matTooltip",W(28,21,"common.options")),v(3),_e("add")}}function uG(n,i){if(1&n){var e=tt();P(0,"table",52)(1,"tr",43),Se("click",function(){return ke(e),q(3).dataSorter.openSortingOrderModal()}),P(2,"td")(3,"div",53)(4,"div",54)(5,"div",9),F(6),Y(7,"translate"),E(),P(8,"div"),F(9),Y(10,"translate"),K(11,rG,3,3,"ng-container",24),K(12,iG,3,3,"ng-container",24),E()(),P(13,"div",55)(14,"mat-icon",42),F(15,"keyboard_arrow_down"),E()()()()(),K(16,lG,31,23,"tr",41),E()}if(2&n){var t=q(3);v(6),_e(W(7,6,"tables.sorting-title")),v(3),Me("",W(10,8,t.dataSorter.currentSortingColumn.label)," "),v(2),L("ngIf",t.dataSorter.currentlySortingByLabel),v(1),L("ngIf",t.dataSorter.sortingInReverseOrder),v(2),L("inline",!0),v(2),L("ngForOf",t.dataSource)}}function cG(n,i){if(1&n&&(P(0,"div",28)(1,"div",29),K(2,nG,23,19,"table",30),K(3,uG,17,10,"table",31),E()()),2&n){var e=q(2);v(2),L("ngIf",e.dataSource.length>0),v(1),L("ngIf",e.dataSource.length>0)}}function dG(n,i){if(1&n&&Ee(0,"app-paginator",27),2&n){var e=q(2);L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Nn(5,EE):Nn(4,LE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function fG(n,i){1&n&&(P(0,"span",68),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"nodes.empty")))}function hG(n,i){1&n&&(P(0,"span",68),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"nodes.empty-with-filter")))}function pG(n,i){if(1&n&&(P(0,"div",28)(1,"div",65)(2,"mat-icon",66),F(3,"warning"),E(),K(4,fG,3,3,"span",67),K(5,hG,3,3,"span",67),E()()),2&n){var e=q(2);v(2),L("inline",!0),v(2),L("ngIf",0===e.allNodes.length),v(1),L("ngIf",0!==e.allNodes.length)}}var vG=function(i){return{"paginator-icons-fixer":i}};function mG(n,i){if(1&n){var e=tt();P(0,"div",5)(1,"div",6)(2,"app-top-bar",7),Se("refreshRequested",function(){return ke(e),q().forceDataRefresh(!0)})("optionSelected",function(o){return ke(e),q().performAction(o)}),E()(),P(3,"div",6)(4,"div",8)(5,"div",9),K(6,RW,5,4,"div",10),E(),P(7,"div",11)(8,"div",12),K(9,FW,3,4,"mat-icon",13),K(10,NW,2,1,"mat-icon",14),P(11,"mat-menu",15,16)(13,"div",17),Se("click",function(){return ke(e),q().removeOffline()}),F(14),Y(15,"translate"),E()()(),K(16,YW,1,6,"app-paginator",18),E()(),K(17,cG,4,2,"div",19),K(18,dG,1,6,"app-paginator",18),K(19,pG,6,3,"div",19),E()()}if(2&n){var t=q();v(2),L("titleParts",Nn(21,TE))("tabsData",t.tabsData)("selectedTabIndex",t.showDmsgInfo?1:0)("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.updating)("showAlert",t.errorsUpdating)("refeshRate",t.storageService.getRefreshTime())("optionsData",t.options),v(2),L("ngClass",Qe(22,vG,t.numberOfPages>1)),v(2),L("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),v(3),L("ngIf",t.allNodes&&t.allNodes.length>0),v(1),L("ngIf",t.dataSource.length>0),v(1),L("overlapTrigger",!1),v(2),Ln("disabled",!t.hasOfflineNodes),v(1),Me(" ",W(15,19,"nodes.delete-all-offline")," "),v(2),L("ngIf",t.numberOfPages>1),v(1),L("ngIf",0!==t.dataSource.length),v(1),L("ngIf",t.numberOfPages>1),v(1),L("ngIf",0===t.dataSource.length)}}var xE=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,w){var R=this;c(this,i),this.nodeService=e,this.router=t,this.dialog=a,this.authService=o,this.storageService=s,this.ngZone=l,this.snackbarService=u,this.clipboardService=f,this.translateService=m,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new xn(["isHypervisor"],"nodes.hypervisor",Xt.Boolean),this.stateSortData=new xn(["online"],"nodes.state",Xt.Boolean),this.labelSortData=new xn(["label"],"nodes.label",Xt.Text),this.keySortData=new xn(["localPk"],"nodes.key",Xt.Text),this.dmsgServerSortData=new xn(["dmsgServerPk"],"nodes.dmsg-server",Xt.Text,["dmsgServerPk_label"]),this.pingSortData=new xn(["roundTripPing"],"nodes.ping",Xt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.canLogOut=!0,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:Gn.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:Gn.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:Gn.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:Gn.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=si,this.updateOptionsMenu(),this.authVerificationSubscription=this.authService.checkLogin().subscribe(function(J){R.canLogOut=J!==Qo.AuthDisabled,R.updateOptionsMenu()}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);var B=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(B.push(this.dmsgServerSortData),B.push(this.pingSortData)),this.dataSorter=new pc(this.dialog,this.translateService,B,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){R.recalculateElementsToShow()}),this.dataFilterer=new mc(this.dialog,w,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(J){R.filteredNodes=J,R.hasOfflineNodes=!1,R.filteredNodes.forEach(function(me){me.online||(R.hasOfflineNodes=!0)}),R.dataSorter.setData(R.filteredNodes)}),this.navigationsSubscription=w.paramMap.subscribe(function(J){if(J.has("page")){var me=Number.parseInt(J.get("page"),10);(isNaN(me)||me<1)&&(me=1),R.currentPageInUrl=me,R.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(function(){R.nodeService.forceNodeListRefresh()})}return d(i,[{key:"updateOptionsMenu",value:function(){this.options=[],this.options.push({name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}),this.canLogOut&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}},{key:"ngOnInit",value:function(){var t=this;this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(function(){t.updateTimeSubscription=Gp(5e3,5e3).subscribe(function(){return t.ngZone.run(function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)})})})}},{key:"ngOnDestroy",value:function(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}},{key:"performAction",value:function(t){"logout"===t?this.logout():"updateAll"===t&&this.updateAll()}},{key:"nodeStatusClass",value:function(t,a){return t.online?t.health&&t.health.servicesHealth===Xa.Unhealthy?a?"dot-yellow blinking":"yellow-text":t.health&&t.health.servicesHealth===Xa.Healthy?a?"dot-green":"green-text":a?"dot-outline-gray":"":a?"dot-red":"red-text"}},{key:"nodeStatusText",value:function(t,a){return t.online?t.health&&t.health.servicesHealth===Xa.Healthy?"node.statuses.online"+(a?"-tooltip":""):t.health&&t.health.servicesHealth===Xa.Unhealthy?"node.statuses.partially-online"+(a?"-tooltip":""):t.health&&t.health.servicesHealth===Xa.Connecting?"node.statuses.connecting"+(a?"-tooltip":""):"node.statuses.unknown"+(a?"-tooltip":""):"node.statuses.offline"+(a?"-tooltip":"")}},{key:"forceDataRefresh",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()}},{key:"startGettingData",value:function(){var t=this;this.dataSubscription=this.nodeService.updatingNodeList.subscribe(function(a){return t.updating=a}),this.ngZone.runOutsideAngular(function(){t.dataSubscription.add(t.nodeService.nodeList.subscribe(function(a){t.ngZone.run(function(){a&&(a.data&&!a.error?(t.allNodes=a.data,t.showDmsgInfo&&t.allNodes.forEach(function(o){o.dmsgServerPk_label=Xo.getCompleteLabel(t.storageService,t.translateService,o.dmsgServerPk)}),t.dataFilterer.setData(t.allNodes),t.loading=!1,t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=a.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-a.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1)):a.error&&(t.errorsUpdating||t.snackbarService.showError(t.loading?"common.loading-error":"nodes.error-load",null,!0,a.error),t.errorsUpdating=!0))})}))})}},{key:"recalculateElementsToShow",value:function(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){var t=Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var a=t*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(a,a+t)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}},{key:"logout",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,"common.logout-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.authService.logout().subscribe(function(){return t.router.navigate(["login"])},function(){return t.snackbarService.showError("common.logout-error")})})}},{key:"updateAll",value:function(){if(this.dataSource&&0!==this.dataSource.length){var t=[],a=[];this.dataSource.forEach(function(o){if(o.online){var s={key:o.localPk,label:o.label,version:o.version,tag:o.buildTag};Zt.checkIfTagIsUpdatable(o.buildTag)?t.push(s):a.push(s)}}),pz.openDialog(this.dialog,t,a)}else this.snackbarService.showError("nodes.no-visors-to-update")}},{key:"recursivelyUpdateWallets",value:function(t,a){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.nodeService.update(t[t.length-1]).pipe(qi(function(){return Je(null)}),Dn(function(l){return l&&l.updated&&!l.error?o.snackbarService.showDone(o.translateService.instant("nodes.update.done",{name:a[a.length-1]})):(o.snackbarService.showError(o.translateService.instant("nodes.update.update-error",{name:a[a.length-1]})),s+=1),t.pop(),a.pop(),t.length>=1?o.recursivelyUpdateWallets(t,a,s):Je(s)}))}},{key:"showOptionsDialog",value:function(t){var a=this,o=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&o.push({icon:"filter_none",label:"nodes.copy-dmsg"}),o.push({icon:"short_text",label:"labeled-element.edit-label"}),t.online||o.push({icon:"close",label:"nodes.delete-node"}),Hi.openDialog(this.dialog,o,"common.options").afterClosed().subscribe(function(s){1===s?a.copySpecificTextToClipboard(t.localPk):a.showDmsgInfo?2===s?a.copySpecificTextToClipboard(t.dmsgServerPk):3===s?a.showEditLabelDialog(t):4===s&&a.deleteNode(t):2===s?a.showEditLabelDialog(t):3===s&&a.deleteNode(t)})}},{key:"copyToClipboard",value:function(t){var a=this;this.showDmsgInfo?Hi.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(function(s){1===s?a.copySpecificTextToClipboard(t.localPk):2===s&&a.copySpecificTextToClipboard(t.dmsgServerPk)}):this.copySpecificTextToClipboard(t.localPk)}},{key:"copySpecificTextToClipboard",value:function(t){this.clipboardService.copy(t)&&this.snackbarService.showDone("copy.copied")}},{key:"showEditLabelDialog",value:function(t){var a=this,o=this.storageService.getLabelInfo(t.localPk);o||(o={id:t.localPk,label:"",identifiedElementType:si.Node}),Vb.openDialog(this.dialog,o).afterClosed().subscribe(function(s){s&&a.forceDataRefresh()})}},{key:"deleteNode",value:function(t){var a=this,o=Zt.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.close(),a.storageService.setLocalNodesAsHidden([t.localPk],[t.ip]),a.forceDataRefresh(),a.snackbarService.showDone("nodes.deleted")})}},{key:"removeOffline",value:function(){var t=this,a="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(a="nodes.delete-all-filtered-offline-confirmation");var o=Zt.createConfirmationDialog(this.dialog,a);o.componentInstance.operationAccepted.subscribe(function(){o.close();var s=[],l=[];t.filteredNodes.forEach(function(u){u.online||(s.push(u.localPk),l.push(u.ip))}),s.length>0&&(t.storageService.setLocalNodesAsHidden(s,l),t.forceDataRefresh(),1===s.length?t.snackbarService.showDone("nodes.deleted-singular"):t.snackbarService.showDone("nodes.deleted-plural",{number:s.length}))})}},{key:"open",value:function(t){t.online&&this.router.navigate(["nodes",t.localPk])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(hc),V(an),V(Wn),V(mf),V(Ki),V(bt),V(An),V(Cf),V(Fi),V(oi))},n.\u0275cmp=We({type:n,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable",3,"click",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable",3,"click"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],[1,"actions",3,"click"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(K(0,xW,4,5,"div",0),K(1,mG,20,24,"div",1)),2&e&&(L("ngIf",t.loading),v(1),L("ngIf",!t.loading))},directives:[Et,xl,Jo,mr,xr,Mn,ur,bc,yc,es,kc,Xo,yi],pipes:[Mt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}"]}),n}(),gG=["terminal"],_G=["dialogContent"],yG=function(){var n=function(){function i(e,t,a,o){c(this,i),this.data=e,this.renderer=t,this.apiService=a,this.translate=o,this.history=[],this.historyIndex=0,this.currentInputText=""}return d(i,[{key:"ngAfterViewInit",value:function(){this.terminal=new Terminal(null),this.terminal.setWidth("100%"),this.terminal.setBackgroundColor("black"),this.terminal.setTextSize("15px"),this.terminal.blinkingCursor(!0),this.renderer.appendChild(this.terminalElement.nativeElement,this.terminal.html),this.waitForInput()}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"keyEvent",value:function(t){this.terminal.hasFocus()&&this.history.length>0&&(38===t.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===t.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(o),setTimeout(function(){a.dialogContentElement.nativeElement.scrollTop=a.dialogContentElement.nativeElement.scrollHeight})}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur),V(_o),V(Dl),V(Fi))},n.\u0275cmp=We({type:n,selectors:[["app-basic-terminal"]],viewQuery:function(e,t){var a;1&e&&(_t(gG,5),_t(_G,5)),2&e&&(lt(a=ut())&&(t.terminalElement=a.first),lt(a=ut())&&(t.dialogContentElement=a.first))},hostBindings:function(e,t){1&e&&Se("keyup",function(o){return t.keyEvent(o)},!1,b0)},decls:7,vars:5,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"mat-dialog-content",1,2),Se("click",function(){return t.focusTerminal()}),P(4,"div",3),Ee(5,"div",null,4),E()()()),2&e&&L("headline",W(1,3,"actions.terminal.title")+" - "+t.data.label+" ("+t.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)},directives:[_r,vb],pipes:[Mt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),n}(),OE=function(){function n(i,e){c(this,n),this.canBeUpdated=!1,this.canBeRestarted=!1,this.canOpenTerminal=!1,this.options=[],this.dialog=i.get(Wn),this.router=i.get(an),this.snackbarService=i.get(An),this.nodeService=i.get(hc),this.storageService=i.get(Ki),this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title",this.updateOptions()}return d(n,[{key:"updateOptions",value:function(){this.options=[],this.canOpenTerminal&&this.options.push({name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"}),this.options.push({name:"actions.menu.logs",actionName:"logs",icon:"subject"}),this.canBeRestarted&&this.options.push({name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"}),this.canBeUpdated&&this.options.push({name:"actions.menu.update",actionName:"update",icon:"get_app"})}},{key:"setCurrentNode",value:function(e){this.currentNode=e,Zt.checkIfTagIsUpdatable(e.buildTag)?(this.canBeUpdated=!0,this.canBeRestarted=!0):(this.canBeUpdated=!1,this.canBeRestarted=!1),this.canOpenTerminal=Zt.checkIfTagCanOpenterminal(e.buildTag),this.updateOptions()}},{key:"setCurrentNodeKey",value:function(e){this.currentNodeKey=e}},{key:"performAction",value:function(e,t){"terminal"===e?this.terminal():"update"===e?this.update():"logs"===e?window.open(window.location.origin+"/api/visors/"+t+"/runtime-logs","_blank"):"reboot"===e?this.reboot():null===e&&this.back()}},{key:"dispose",value:function(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()}},{key:"reboot",value:function(){var e=this,t=Zt.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing(),e.rebootSubscription=e.nodeService.reboot(e.currentNodeKey).subscribe(function(){e.snackbarService.showDone("actions.reboot.done"),t.close()},function(a){a=dn(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}},{key:"update",value:function(){var e=this,t=Zt.createConfirmationDialog(this.dialog,"actions.update.confirmation");t.componentInstance.operationAccepted.subscribe(function(){var a=window.location.protocol,o=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(a+"//"+o+"/pty/"+e.currentNodeKey+"?commands=update","_blank","noopener noreferrer"),t.close()})}},{key:"terminal",value:function(){var e=this;Hi.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(function(a){if(1===a){var o=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(o+"//"+s+"/pty/"+e.currentNodeKey,"_blank","noopener noreferrer")}else 2===a&&yG.openDialog(e.dialog,{pk:e.currentNodeKey,label:e.currentNode?e.currentNode.label:""})})}},{key:"back",value:function(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}]),n}();function bG(n,i){1&n&&Ee(0,"app-loading-indicator")}function kG(n,i){1&n&&(P(0,"div",6)(1,"div")(2,"mat-icon",7),F(3,"error"),E(),F(4),Y(5,"translate"),E()()),2&n&&(v(2),L("inline",!0),v(2),Me(" ",W(5,2,"node.not-found")," "))}function MG(n,i){if(1&n){var e=tt();P(0,"div",2)(1,"div")(2,"app-top-bar",3),Se("optionSelected",function(o){return ke(e),q().performAction(o)}),E()(),K(3,bG,1,0,"app-loading-indicator",4),K(4,kG,6,4,"div",5),E()}if(2&n){var t=q();v(2),L("titleParts",t.titleParts)("tabsData",t.tabsData)("selectedTabIndex",t.selectedTabIndex)("showUpdateButton",!1)("optionsData",t.nodeActionsHelper?t.nodeActionsHelper.options:null)("returnText",t.nodeActionsHelper?t.nodeActionsHelper.returnButtonText:""),v(1),L("ngIf",!t.notFound),v(1),L("ngIf",t.notFound)}}function CG(n,i){1&n&&Ee(0,"app-node-info-content",15),2&n&&L("nodeInfo",q(2).node)}var wG=function(i,e){return{"main-area":i,"full-size-main-area":e}},SG=function(i){return{"d-none":i}};function DG(n,i){if(1&n){var e=tt();P(0,"div",8)(1,"div",9)(2,"app-top-bar",10),Se("optionSelected",function(o){return ke(e),q().performAction(o)})("refreshRequested",function(){return ke(e),q().forceDataRefresh(!0)}),E()(),P(3,"div",9)(4,"div",11)(5,"div",12),Ee(6,"router-outlet"),E()(),P(7,"div",13),K(8,CG,1,1,"app-node-info-content",14),E()()()}if(2&n){var t=q();v(2),L("titleParts",t.titleParts)("tabsData",t.tabsData)("selectedTabIndex",t.selectedTabIndex)("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.updating)("showAlert",t.errorsUpdating)("refeshRate",t.storageService.getRefreshTime())("optionsData",t.nodeActionsHelper?t.nodeActionsHelper.options:null)("returnText",t.nodeActionsHelper?t.nodeActionsHelper.returnButtonText:""),v(2),L("ngClass",En(12,wG,!t.showingInfo&&!t.showingFullList,t.showingInfo||t.showingFullList)),v(3),L("ngClass",Qe(15,SG,t.showingInfo||t.showingFullList)),v(1),L("ngIf",!t.showingInfo&&!t.showingFullList)}}var Ot=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.storageService=e,this.nodeService=t,this.route=a,this.ngZone=o,this.snackbarService=s,this.injector=l,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,i.nodeSubject=new qa(1),i.currentInstanceInternal=this,this.navigationsSubscription=u.events.subscribe(function(m){m.urlAfterRedirects&&(i.currentNodeKey=f.route.snapshot.params.key,f.nodeActionsHelper&&f.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),f.lastUrl=m.urlAfterRedirects,f.updateTabBar(),f.navigationsSubscription.unsubscribe(),f.nodeService.startRequestingSpecificNode(i.currentNodeKey),f.startGettingData())})}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.ngZone.runOutsideAngular(function(){t.updateTimeSubscription=Gp(5e3,5e3).subscribe(function(){return t.ngZone.run(function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)})})})}},{key:"updateTabBar",value:function(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new OE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new OE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);var t="transports";this.lastUrl.includes("/routes")?t="routes":this.lastUrl.includes("/apps-list")&&(t="apps.apps-list"),this.titleParts=["nodes.title","node.title",t+".title"],this.tabsData=[{icon:"view_headline",label:t+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]}},{key:"performAction",value:function(t){this.nodeActionsHelper.performAction(t,i.currentNodeKey)}},{key:"forceDataRefresh",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()}},{key:"startGettingData",value:function(){var t=this;this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(function(a){return t.updating=a}),this.ngZone.runOutsideAngular(function(){t.dataSubscription.add(t.nodeService.specificNode.subscribe(function(a){t.ngZone.run(function(){if(a)if(a.data&&!a.error)t.node=a.data,i.nodeSubject.next(t.node),t.nodeActionsHelper&&t.nodeActionsHelper.setCurrentNode(t.node),t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=a.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-a.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1);else if(a.error){if(a.error.originalError&&400===a.error.originalError.status)return void(t.notFound=!0);t.errorsUpdating||t.snackbarService.showError(t.node?"node.error-load":"common.loading-error",null,!0,a.error),t.errorsUpdating=!0}})}))})}},{key:"ngOnDestroy",value:function(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),i.currentInstanceInternal=void 0,i.currentNodeKey=void 0,i.nodeSubject.complete(),i.nodeSubject=void 0,this.nodeActionsHelper.dispose()}}],[{key:"refreshCurrentDisplayedData",value:function(){i.currentInstanceInternal&&i.currentInstanceInternal.forceDataRefresh(!1)}},{key:"getCurrentNodeKey",value:function(){return i.currentNodeKey}},{key:"currentNode",get:function(){return i.nodeSubject.asObservable()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ki),V(hc),V(oi),V(bt),V(An),V(Un),V(an))},n.\u0275cmp=We({type:n,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(e,t){1&e&&(K(0,MG,5,8,"div",0),K(1,DG,9,17,"div",1)),2&e&&(L("ngIf",!t.node),v(1),L("ngIf",t.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),n}();function TG(n,i){if(1&n&&(P(0,"mat-option",8),F(1),Y(2,"translate"),E()),2&n){var e=i.$implicit;Ln("value",e),v(1),la(" ",e," ",W(2,3,"settings.seconds")," ")}}var LG=function(){var n=function(){function i(e,t,a){c(this,i),this.formBuilder=e,this.storageService=t,this.snackbarService=a,this.timesList=["3","5","10","15","30","60","90","150","300"]}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(function(a){t.storageService.setRefreshTime(a),t.snackbarService.showDone("settings.refresh-rate-confirmation")})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Zi),V(Ki),V(An))},n.\u0275cmp=We({type:n,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),F(5," help "),E()(),P(6,"form",4)(7,"mat-form-field",5)(8,"mat-select",6),Y(9,"translate"),K(10,TG,3,5,"mat-option",7),E()()()()()),2&e&&(v(3),L("inline",!0)("matTooltip",W(4,5,"settings.refresh-rate-help")),v(3),L("formGroup",t.form),v(2),L("placeholder",W(9,7,"settings.refresh-rate")),v(2),L("ngForOf",t.timesList))},directives:[Mn,ur,ei,Xr,gr,bi,Sf,Jr,zr,xr,oc],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),n}(),EG=["input"],PG=function(i){return{enterDuration:i}},xG=["*"],OG=new $e("mat-checkbox-default-options",{providedIn:"root",factory:AE});function AE(){return{color:"accent",clickAction:"check-indeterminate"}}var AG=0,IE=AE(),IG={provide:Qa,useExisting:yn(function(){return Ns}),multi:!0},RG=d(function n(){c(this,n)}),FG=d2(ac(uf(ic(function(){return d(function n(i){c(this,n),this._elementRef=i})}())))),Ns=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var w;return c(this,t),(w=e.call(this,a))._changeDetectorRef=o,w._focusMonitor=s,w._ngZone=l,w._animationMode=f,w._options=m,w.ariaLabel="",w.ariaLabelledby=null,w._uniqueId="mat-checkbox-".concat(++AG),w.id=w._uniqueId,w.labelPosition="after",w.name=null,w.change=new pt,w.indeterminateChange=new pt,w._onTouched=function(){},w._currentAnimationClass="",w._currentCheckState=0,w._controlValueAccessorChangeFn=function(){},w._checked=!1,w._disabled=!1,w._indeterminate=!1,w._options=w._options||IE,w.color=w.defaultColor=w._options.color||IE.color,w.tabIndex=parseInt(u)||0,w}return d(t,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(o){this._required=Zn(o)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){s||Promise.resolve().then(function(){o._onTouched(),o._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(o){o!=this.checked&&(this._checked=o,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(o){var s=Zn(o);s!==this.disabled&&(this._disabled=s,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(o){var s=o!=this._indeterminate;this._indeterminate=Zn(o),s&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(o){this.checked=!!o}},{key:"registerOnChange",value:function(o){this._controlValueAccessorChangeFn=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(o){var s=this._currentCheckState,l=this._elementRef.nativeElement;if(s!==o&&(this._currentAnimationClass.length>0&&l.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(s,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){l.classList.add(this._currentAnimationClass);var u=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){l.classList.remove(u)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var o=new RG;o.source=this,o.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(o),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(o){var l,s=this,u=null===(l=this._options)||void 0===l?void 0:l.clickAction;o.stopPropagation(),this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(function(){s._indeterminate=!1,s.indeterminateChange.emit(s._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._inputElement,o,s):this._inputElement.nativeElement.focus(s)}},{key:"_onInteractionEvent",value:function(o){o.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(o,s){if("NoopAnimations"===this._animationMode)return"";var l="";switch(o){case 0:if(1===s)l="unchecked-checked";else{if(3!=s)return"";l="unchecked-indeterminate"}break;case 2:l=1===s?"unchecked-checked":"unchecked-indeterminate";break;case 1:l=2===s?"checked-unchecked":"checked-indeterminate";break;case 3:l=1===s?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(l)}},{key:"_syncIndeterminate",value:function(o){var s=this._inputElement;s&&(s.nativeElement.indeterminate=o)}}]),t}(FG);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(Kn),V(xs),V(bt),Ro("tabindex"),V(_i,8),V(OG,8))},n.\u0275cmp=We({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var a;1&e&&(_t(EG,5),_t($o,5)),2&e&&(lt(a=ut())&&(t._inputElement=a.first),lt(a=ut())&&(t.ripple=a.first))},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,t){2&e&&(el("id",t.id),Gt("tabindex",null)("aria-label",null)("aria-labelledby",null),fn("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[un([IG]),vt],ngContentSelectors:xG,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(Wi(),P(0,"label",0,1)(2,"span",2)(3,"input",3,4),Se("change",function(l){return t._onInteractionEvent(l)})("click",function(l){return t._onInputClick(l)}),E(),P(5,"span",5),Ee(6,"span",6),E(),Ee(7,"span",7),P(8,"span",8),ys(),P(9,"svg",9),Ee(10,"path",10),E(),function oh(){!function xm(){wt.lFrame.currentNamespace=null}()}(),Ee(11,"span",11),E()(),P(12,"span",12,13),Se("cdkObserveContent",function(){return t._onLabelTextChange()}),P(14,"span",14),F(15,"\xa0"),E(),hr(16),E()()),2&e){var a=sr(1),o=sr(13);Gt("for",t.inputId),v(2),fn("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),v(1),L("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),Gt("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),v(2),L("matRippleTrigger",a)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Qe(19,PG,"NoopAnimations"===t._animationMode?0:150))}},directives:[$o,eb],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n}(),RE=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),HG=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[df,Pn,tv,RE],Pn,RE]}),n}(),BG=function(i){return{number:i}},xv=function(){var n=d(function i(){c(this,i),this.numberOfElements=0,this.linkParts=[""],this.queryParams={}});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"a",1),F(2),Y(3,"translate"),P(4,"mat-icon",2),F(5,"chevron_right"),E()()()),2&e&&(v(1),L("routerLink",t.linkParts)("queryParams",t.queryParams),v(1),Me(" ",Ht(3,4,"view-all-link.label",Qe(7,BG,t.numberOfElements))," "),v(2),L("inline",!0))},directives:[vl,Mn],pipes:[Mt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),n}();function VG(n,i){1&n&&(P(0,"span",14),F(1),Y(2,"translate"),P(3,"mat-icon",15),Y(4,"translate"),F(5,"help"),E()()),2&n&&(v(1),Me(" ",W(2,3,"labels.title")," "),v(2),L("inline",!0)("matTooltip",W(4,5,"labels.info")))}function jG(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.translatableValue))}}function UG(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),_e(e.value)}}function zG(n,i){if(1&n&&(P(0,"div",19)(1,"span"),F(2),Y(3,"translate"),E(),K(4,jG,3,3,"ng-container",20),K(5,UG,2,1,"ng-container",20),E()),2&n){var e=i.$implicit;v(2),Me("",W(3,3,e.filterName),": "),v(2),L("ngIf",e.translatableValue),v(1),L("ngIf",e.value)}}function WG(n,i){if(1&n){var e=tt();P(0,"div",16),Se("click",function(){return ke(e),q().dataFilterer.removeFilters()}),K(1,zG,6,5,"div",17),P(2,"div",18),F(3),Y(4,"translate"),E()()}if(2&n){var t=q();v(1),L("ngForOf",t.dataFilterer.currentFiltersTexts),v(2),_e(W(4,2,"filters.press-to-remove"))}}function GG(n,i){if(1&n){var e=tt();P(0,"mat-icon",21),Se("click",function(){return ke(e),q().dataFilterer.changeFilters()}),Y(1,"translate"),F(2,"filter_list"),E()}2&n&&L("inline",!0)("matTooltip",W(1,2,"filters.filter-action"))}function qG(n,i){if(1&n&&(P(0,"mat-icon",22),F(1,"more_horiz"),E()),2&n){q();var e=sr(9);L("inline",!0)("matMenuTriggerFor",e)}}var Ub=function(){return["/settings","labels"]};function KG(n,i){if(1&n&&Ee(0,"app-paginator",23),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Nn(4,Ub))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function ZG(n,i){if(1&n&&(P(0,"mat-icon",36),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function $G(n,i){if(1&n&&(P(0,"mat-icon",36),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function QG(n,i){if(1&n&&(P(0,"mat-icon",36),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function JG(n,i){if(1&n){var e=tt();P(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(3,"td"),F(4),E(),P(5,"td"),F(6),E(),P(7,"td"),F(8),Y(9,"translate"),E(),P(10,"td",29)(11,"button",40),Se("click",function(){var l=ke(e).$implicit;return q(2).delete(l.id)}),Y(12,"translate"),P(13,"mat-icon",36),F(14,"close"),E()()()()}if(2&n){var t=i.$implicit,a=q(2);v(2),L("checked",a.selections.get(t.id)),v(2),Me(" ",t.label," "),v(2),Me(" ",t.id," "),v(2),la(" ",a.getLabelTypeIdentification(t)[0]," - ",W(9,7,a.getLabelTypeIdentification(t)[1])," "),v(3),L("matTooltip",W(12,9,"labels.delete")),v(2),L("inline",!0)}}function XG(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.label")))}function eq(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.inverted-order")))}function tq(n,i){if(1&n){var e=tt();P(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(5,"div",34)(6,"div",42)(7,"span",1),F(8),Y(9,"translate"),E(),F(10),E(),P(11,"div",43)(12,"span",1),F(13),Y(14,"translate"),E(),F(15),E(),P(16,"div",42)(17,"span",1),F(18),Y(19,"translate"),E(),F(20),Y(21,"translate"),E()(),Ee(22,"div",44),P(23,"div",35)(24,"button",45),Se("click",function(s){var u=ke(e).$implicit,f=q(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(25,"translate"),P(26,"mat-icon"),F(27),E()()()()()()}if(2&n){var t=i.$implicit,a=q(2);v(4),L("checked",a.selections.get(t.id)),v(4),_e(W(9,10,"labels.label")),v(2),Me(": ",t.label," "),v(3),_e(W(14,12,"labels.id")),v(2),Me(": ",t.id," "),v(3),_e(W(19,14,"labels.type")),v(2),la(": ",a.getLabelTypeIdentification(t)[0]," - ",W(21,16,a.getLabelTypeIdentification(t)[1])," "),v(4),L("matTooltip",W(25,18,"common.options")),v(3),_e("add")}}function nq(n,i){if(1&n&&Ee(0,"app-view-all-link",46),2&n){var e=q(2);L("numberOfElements",e.filteredLabels.length)("linkParts",Nn(3,Ub))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var rq=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},iq=function(i){return{"d-lg-none d-xl-table":i}},aq=function(i){return{"d-lg-table d-xl-none":i}};function oq(n,i){if(1&n){var e=tt();P(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Ee(4,"th"),P(5,"th",27),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.labelSortData)}),F(6),Y(7,"translate"),K(8,ZG,2,2,"mat-icon",28),E(),P(9,"th",27),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.idSortData)}),F(10),Y(11,"translate"),K(12,$G,2,2,"mat-icon",28),E(),P(13,"th",27),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(14),Y(15,"translate"),K(16,QG,2,2,"mat-icon",28),E(),Ee(17,"th",29),E(),K(18,JG,15,11,"tr",30),E(),P(19,"table",31)(20,"tr",32),Se("click",function(){return ke(e),q().dataSorter.openSortingOrderModal()}),P(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),F(25),Y(26,"translate"),E(),P(27,"div"),F(28),Y(29,"translate"),K(30,XG,3,3,"ng-container",20),K(31,eq,3,3,"ng-container",20),E()(),P(32,"div",35)(33,"mat-icon",36),F(34,"keyboard_arrow_down"),E()()()()(),K(35,tq,28,20,"tr",30),E(),K(36,nq,1,4,"app-view-all-link",37),E()()}if(2&n){var t=q();v(1),L("ngClass",En(27,rq,t.showShortList_,!t.showShortList_)),v(1),L("ngClass",Qe(30,iq,t.showShortList_)),v(4),Me(" ",W(7,17,"labels.label")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.labelSortData),v(2),Me(" ",W(11,19,"labels.id")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.idSortData),v(2),Me(" ",W(15,21,"labels.type")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),v(2),L("ngForOf",t.dataSource),v(1),L("ngClass",Qe(32,aq,t.showShortList_)),v(6),_e(W(26,23,"tables.sorting-title")),v(3),Me("",W(29,25,t.dataSorter.currentSortingColumn.label)," "),v(2),L("ngIf",t.dataSorter.currentlySortingByLabel),v(1),L("ngIf",t.dataSorter.sortingInReverseOrder),v(2),L("inline",!0),v(2),L("ngForOf",t.dataSource),v(1),L("ngIf",t.showShortList_&&t.numberOfPages>1)}}function sq(n,i){1&n&&(P(0,"span",50),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"labels.empty")))}function lq(n,i){1&n&&(P(0,"span",50),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"labels.empty-with-filter")))}function uq(n,i){if(1&n&&(P(0,"div",24)(1,"div",47)(2,"mat-icon",48),F(3,"warning"),E(),K(4,sq,3,3,"span",49),K(5,lq,3,3,"span",49),E()()),2&n){var e=q();v(2),L("inline",!0),v(2),L("ngIf",0===e.allLabels.length),v(1),L("ngIf",0!==e.allLabels.length)}}function cq(n,i){if(1&n&&Ee(0,"app-paginator",23),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Nn(4,Ub))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var dq=function(i){return{"paginator-icons-fixer":i}},FE=function(){var n=function(){function i(e,t,a,o,s,l){var u=this;c(this,i),this.dialog=e,this.route=t,this.router=a,this.snackbarService=o,this.translateService=s,this.storageService=l,this.listId="ll",this.labelSortData=new xn(["label"],"labels.label",Xt.Text),this.idSortData=new xn(["id"],"labels.id",Xt.Text),this.typeSortData=new xn(["identifiedElementType_sort"],"labels.type",Xt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:Gn.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:Gn.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:Gn.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:si.Node,label:"labels.filter-dialog.type-options.visor"},{value:si.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:si.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new pc(this.dialog,this.translateService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()}),this.dataFilterer=new mc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(m){u.filteredLabels=m,u.dataSorter.setData(u.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(function(m){if(m.has("page")){var w=Number.parseInt(m.get("page"),10);(isNaN(w)||w<1)&&(w=1),u.currentPageInUrl=w,u.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredLabels)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}},{key:"loadData",value:function(){var t=this;this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(function(a){a.identifiedElementType_sort=t.getLabelTypeIdentification(a)[0]}),this.dataFilterer.setData(this.allLabels)}},{key:"getLabelTypeIdentification",value:function(t){return t.identifiedElementType===si.Node?["1","labels.filter-dialog.type-options.visor"]:t.identifiedElementType===si.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:t.identifiedElementType===si.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}},{key:"changeSelection",value:function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.selections.forEach(function(o,s){o&&t.storageService.saveLabel(s,"",null)}),t.snackbarService.showDone("labels.deleted"),t.loadData()})}},{key:"showOptionsDialog",value:function(t){var a=this;Hi.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(function(s){1===s&&a.delete(t.id)})}},{key:"delete",value:function(t){var a=this,o=Zt.createConfirmationDialog(this.dialog,"labels.delete-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.close(),a.storageService.saveLabel(t,"",null),a.snackbarService.showDone("labels.deleted"),a.loadData()})}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredLabels){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(o,o+a);var l=new Map;this.labelsToShow.forEach(function(f){l.set(f.id,!0),t.selections.has(f.id)||t.selections.set(f.id,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Wn),V(oi),V(an),V(An),V(Fi),V(Ki))},n.\u0275cmp=We({type:n,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1),K(2,VG,6,7,"span",2),K(3,WG,5,4,"div",3),E(),P(4,"div",4)(5,"div",5),K(6,GG,3,4,"mat-icon",6),K(7,qG,2,2,"mat-icon",7),P(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),F(11),Y(12,"translate"),E(),P(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),F(14),Y(15,"translate"),E(),P(16,"div",11),Se("click",function(){return t.deleteSelected()}),F(17),Y(18,"translate"),E()()(),K(19,KG,1,5,"app-paginator",12),E()(),K(20,oq,37,34,"div",13),K(21,uq,6,3,"div",13),K(22,cq,1,5,"app-paginator",12)),2&e&&(L("ngClass",Qe(20,dq,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),v(2),L("ngIf",t.showShortList_),v(1),L("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),v(3),L("ngIf",t.allLabels&&t.allLabels.length>0),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("overlapTrigger",!1),v(3),Me(" ",W(12,14,"selection.select-all")," "),v(3),Me(" ",W(15,16,"selection.unselect-all")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(18,18,"selection.delete-all")," "),v(2),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("ngIf",!t.dataSource||0===t.dataSource.length),v(1),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,xr,bc,yc,es,kc,Ns,yi,xv],pipes:[Mt],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}();function fq(n,i){1&n&&(P(0,"span")(1,"mat-icon",15),F(2,"warning"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me(" ",W(4,2,"settings.updater-config.not-saved")," "))}var hq=function(){var n=function(){function i(e,t){c(this,i),this.snackbarService=e,this.dialog=t}return d(i,[{key:"ngOnInit",value:function(){this.initialChannel=localStorage.getItem(nr.Channel),this.initialVersion=localStorage.getItem(nr.Version),this.initialArchiveURL=localStorage.getItem(nr.ArchiveURL),this.initialChecksumsURL=localStorage.getItem(nr.ChecksumsURL),this.initialChannel||(this.initialChannel=""),this.initialVersion||(this.initialVersion=""),this.initialArchiveURL||(this.initialArchiveURL=""),this.initialChecksumsURL||(this.initialChecksumsURL=""),this.hasCustomSettings=!!(this.initialChannel||this.initialVersion||this.initialArchiveURL||this.initialChecksumsURL),this.form=new Ll({channel:new Ja(this.initialChannel),version:new Ja(this.initialVersion),archiveURL:new Ja(this.initialArchiveURL),checksumsURL:new Ja(this.initialChecksumsURL)})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"dataChanged",get:function(){return this.initialChannel!==this.form.get("channel").value.trim()||this.initialVersion!==this.form.get("version").value.trim()||this.initialArchiveURL!==this.form.get("archiveURL").value.trim()||this.initialChecksumsURL!==this.form.get("checksumsURL").value.trim()}},{key:"saveSettings",value:function(){var t=this,a=this.form.get("channel").value.trim(),o=this.form.get("version").value.trim(),s=this.form.get("archiveURL").value.trim(),l=this.form.get("checksumsURL").value.trim();if(a||o||s||l){var u=Zt.createConfirmationDialog(this.dialog,"settings.updater-config.save-confirmation");u.componentInstance.operationAccepted.subscribe(function(){u.close(),t.initialChannel=a,t.initialVersion=o,t.initialArchiveURL=s,t.initialChecksumsURL=l,t.hasCustomSettings=!0,localStorage.setItem(nr.UseCustomSettings,"true"),localStorage.setItem(nr.Channel,a),localStorage.setItem(nr.Version,o),localStorage.setItem(nr.ArchiveURL,s),localStorage.setItem(nr.ChecksumsURL,l),t.snackbarService.showDone("settings.updater-config.saved")})}else this.removeSettings()}},{key:"removeSettings",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,"settings.updater-config.remove-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.initialChannel="",t.initialVersion="",t.initialArchiveURL="",t.initialChecksumsURL="",t.form.get("channel").setValue(""),t.form.get("version").setValue(""),t.form.get("archiveURL").setValue(""),t.form.get("checksumsURL").setValue(""),t.hasCustomSettings=!1,localStorage.removeItem(nr.UseCustomSettings),localStorage.removeItem(nr.Channel),localStorage.removeItem(nr.Version),localStorage.removeItem(nr.ArchiveURL),localStorage.removeItem(nr.ChecksumsURL),t.snackbarService.showDone("settings.updater-config.removed")})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(An),V(Wn))},n.\u0275cmp=We({type:n,selectors:[["app-updater-config"]],decls:28,vars:28,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","channel","maxlength","255","matInput","",3,"placeholder"],["formControlName","version","maxlength","255","matInput","",3,"placeholder"],["formControlName","archiveURL","maxlength","255","matInput","",3,"placeholder"],["formControlName","checksumsURL","maxlength","255","matInput","",3,"placeholder"],[1,"mt-2","buttons-area"],[1,"text-area","red-clear-text"],[4,"ngIf"],["color","primary",1,"app-button","left-button",3,"forDarkBackground","disabled","action"],["color","primary",1,"app-button",3,"forDarkBackground","disabled","action"],[3,"inline"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),F(5," help "),E()(),P(6,"form",4)(7,"mat-form-field",5),Ee(8,"input",6),Y(9,"translate"),E(),P(10,"mat-form-field",5),Ee(11,"input",7),Y(12,"translate"),E(),P(13,"mat-form-field",5),Ee(14,"input",8),Y(15,"translate"),E(),P(16,"mat-form-field",5),Ee(17,"input",9),Y(18,"translate"),E(),P(19,"div",10)(20,"div",11),K(21,fq,5,4,"span",12),E(),P(22,"app-button",13),Se("action",function(){return t.removeSettings()}),F(23),Y(24,"translate"),E(),P(25,"app-button",14),Se("action",function(){return t.saveSettings()}),F(26),Y(27,"translate"),E()()()()()),2&e&&(v(3),L("inline",!0)("matTooltip",W(4,14,"settings.updater-config.help")),v(3),L("formGroup",t.form),v(2),L("placeholder",W(9,16,"settings.updater-config.channel")),v(3),L("placeholder",W(12,18,"settings.updater-config.version")),v(3),L("placeholder",W(15,20,"settings.updater-config.archive-url")),v(3),L("placeholder",W(18,22,"settings.updater-config.checksum-url")),v(4),L("ngIf",t.dataChanged),v(1),L("forDarkBackground",!0)("disabled",!t.hasCustomSettings),v(1),Me(" ",W(24,24,"settings.updater-config.remove-settings")," "),v(2),L("forDarkBackground",!0)("disabled",!t.dataChanged),v(1),Me(" ",W(27,26,"settings.updater-config.save")," "))},directives:[Mn,ur,ei,Xr,gr,bi,Qr,$i,Jr,zr,Yi,Et,ui],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}.buttons-area[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:auto;flex-grow:1}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:32px!important}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px}.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{float:right;margin-right:32px;flex-grow:0}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-top:10px}}.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:5px!important}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:32px!important}}"]}),n}();function pq(n,i){if(1&n){var e=tt();P(0,"div",8),Se("click",function(){return ke(e),q().showUpdaterSettings()}),P(1,"span",9),F(2),Y(3,"translate"),E()()}2&n&&(v(2),_e(W(3,1,"settings.updater-config.open-link")))}function vq(n,i){1&n&&Ee(0,"app-updater-config",10)}var mq=function(){return["start.title"]},gq=function(){var n=function(){function i(e,t,a,o){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.tabsData=[],this.options=[],this.mustShowUpdaterSettings=!!localStorage.getItem(nr.UseCustomSettings),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}return d(i,[{key:"performAction",value:function(t){"logout"===t&&this.logout()}},{key:"logout",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,"common.logout-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.authService.logout().subscribe(function(){return t.router.navigate(["login"])},function(){return t.snackbarService.showError("common.logout-error")})})}},{key:"showUpdaterSettings",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,"settings.updater-config.open-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.mustShowUpdaterSettings=!0})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(mf),V(an),V(An),V(Wn))},n.\u0275cmp=We({type:n,selectors:[["app-settings"]],decls:9,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[3,"showShortList"],["class","d-block mt-4",3,"click",4,"ngIf"],["class","d-block mt-4",4,"ngIf"],[1,"d-block","mt-4",3,"click"],[1,"show-link"],[1,"d-block","mt-4"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Se("optionSelected",function(o){return t.performAction(o)}),E()(),P(3,"div",3),Ee(4,"app-refresh-rate",4)(5,"app-password")(6,"app-label-list",5),K(7,pq,4,3,"div",6),K(8,vq,1,0,"app-updater-config",7),E()()),2&e&&(v(2),L("titleParts",Nn(8,mq))("tabsData",t.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",t.options),v(4),L("showShortList",!0),v(1),L("ngIf",!t.mustShowUpdaterSettings),v(1),L("ngIf",t.mustShowUpdaterSettings))},directives:[xl,LG,aE,FE,Et,hq],pipes:[Mt],styles:[".show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),n}(),zb=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"create",value:function(t,a,o){var s={remote_pk:a};return o&&(s.transport_type=o),this.apiService.post("visors/".concat(t,"/transports"),s)}},{key:"delete",value:function(t,a){return this.apiService.delete("visors/".concat(t,"/transports/").concat(a))}},{key:"savePersistentTransportsData",value:function(t,a){return this.apiService.put("visors/".concat(t,"/persistent-transports"),a)}},{key:"getPersistentTransports",value:function(t){return this.apiService.get("visors/".concat(t,"/persistent-transports"))}},{key:"types",value:function(t){return this.apiService.get("visors/".concat(t,"/transport-types"))}},{key:"changeAutoconnectSetting",value:function(t,a){var o={};return o.public_autoconnect=a,this.apiService.put("visors/".concat(t,"/public-autoconnect"),o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Dl))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),_q=["button"],yq=["firstInput"];function bq(n,i){1&n&&Ee(0,"app-loading-indicator",5),2&n&&L("showWhite",!1)}function kq(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),Me(" ",W(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function Mq(n,i){1&n&&(F(0),Y(1,"translate")),2&n&&Me(" ",W(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function Cq(n,i){if(1&n&&(P(0,"mat-option",16),F(1),E()),2&n){var e=i.$implicit;L("value",e),v(1),_e(e)}}function wq(n,i){if(1&n){var e=tt();P(0,"form",6)(1,"mat-form-field"),Ee(2,"input",7,8),Y(4,"translate"),P(5,"mat-error"),K(6,kq,3,3,"ng-container",9),E(),K(7,Mq,2,3,"ng-template",null,10,Ts),E(),P(9,"mat-form-field"),Ee(10,"input",11),Y(11,"translate"),E(),P(12,"mat-form-field")(13,"mat-select",12),Y(14,"translate"),K(15,Cq,2,2,"mat-option",13),E(),P(16,"mat-error"),F(17),Y(18,"translate"),E()(),P(19,"mat-checkbox",14),Se("change",function(s){return ke(e),q().setMakePersistent(s)}),F(20),Y(21,"translate"),P(22,"mat-icon",15),Y(23,"translate"),F(24,"help"),E()()()}if(2&n){var t=sr(8),a=q();L("formGroup",a.form),v(2),L("placeholder",W(4,12,"transports.dialog.remote-key")),v(4),L("ngIf",!a.form.get("remoteKey").hasError("pattern"))("ngIfElse",t),v(4),L("placeholder",W(11,14,"transports.dialog.label")),v(3),L("placeholder",W(14,16,"transports.dialog.transport-type")),v(2),L("ngForOf",a.types),v(2),Me(" ",W(18,18,"transports.dialog.errors.transport-type-error")," "),v(2),L("checked",a.makePersistent),v(1),Me(" ",W(21,20,"transports.dialog.make-persistent")," "),v(2),L("inline",!0)("matTooltip",W(23,22,"transports.dialog.persistent-tooltip"))}}var Sq=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this.transportService=e,this.formBuilder=t,this.dialogRef=a,this.snackbarService=o,this.storageService=s,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}return d(i,[{key:"ngOnInit",value:function(){this.form=this.formBuilder.group({remoteKey:["",Cn.compose([Cn.required,Cn.minLength(66),Cn.maxLength(66),Cn.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",Cn.required]}),this.loadData(0)}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}},{key:"setMakePersistent",value:function(t){this.makePersistent=!!t.checked}},{key:"create",value:function(){var t=this;if(this.form.valid&&!this.button.disabled){this.button.showLoading();var a=this.form.get("remoteKey").value,o=this.form.get("type").value,s=this.form.get("label").value;if(this.makePersistent){var l=this.transportService.getPersistentTransports(Ot.getCurrentNodeKey());this.operationSubscription=l.subscribe(function(u){var f=u||[],m=!1;f.forEach(function(w){w.pk.toUpperCase()===a.toUpperCase()&&w.type.toUpperCase()===o.toUpperCase()&&(m=!0)}),m?t.createTransport(a,o,s,!0):t.createPersistent(f,a,o,s)},function(u){t.onError(u)})}else this.createTransport(a,o,s,!1)}}},{key:"createPersistent",value:function(t,a,o,s){var l=this;t.push({pk:a,type:o}),this.operationSubscription=this.transportService.savePersistentTransportsData(Ot.getCurrentNodeKey(),t).subscribe(function(){l.createTransport(a,o,s,!0)},function(u){l.onError(u)})}},{key:"createTransport",value:function(t,a,o,s){var l=this;this.operationSubscription=this.transportService.create(Ot.getCurrentNodeKey(),t,a).subscribe(function(u){var f=!1;o&&(u&&u.id?l.storageService.saveLabel(u.id,o,si.Transport):f=!0),Ot.refreshCurrentDisplayedData(),l.dialogRef.close(),f?l.snackbarService.showWarning("transports.dialog.success-without-label"):l.snackbarService.showDone("transports.dialog.success")},function(u){s?(Ot.refreshCurrentDisplayedData(),l.dialogRef.close(),l.snackbarService.showWarning("transports.dialog.only-persistent-created")):l.onError(u)})}},{key:"onError",value:function(t){this.button.showError(),t=dn(t),this.snackbarService.showError(t)}},{key:"loadData",value:function(t){var a=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Je(1).pipe(ki(t),Dn(function(){return a.transportService.types(Ot.getCurrentNodeKey())})).subscribe(function(o){o.sort(function(l,u){return"stcp"===l.toLowerCase()?1:"stcp"===u.toLowerCase()?-1:l.localeCompare(u)});var s=o.findIndex(function(l){return"dmsg"===l.toLowerCase()});s=-1!==s?s:0,a.types=o,a.form.get("type").setValue(o[s]),a.snackbarService.closeCurrentIfTemporaryError(),setTimeout(function(){return a.firstInput.nativeElement.focus()})},function(o){o=dn(o),a.shouldShowError&&(a.snackbarService.showError("common.loading-error",null,!0,o),a.shouldShowError=!1),a.loadData(Kt.connectionRetryDelay)})}}],[{key:"openDialog",value:function(t){var a=new $n;return a.autoFocus=!1,a.width=Kt.mediumModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(zb),V(Zi),V(Rr),V(An),V(Ki),V(hc))},n.\u0275cmp=We({type:n,selectors:[["app-create-transport"]],viewQuery:function(e,t){var a;1&e&&(_t(_q,5),_t(yq,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:8,vars:9,consts:[[3,"headline"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),K(2,bq,1,1,"app-loading-indicator",1),K(3,wq,25,24,"form",2),P(4,"app-button",3,4),Se("action",function(){return t.create()}),F(6),Y(7,"translate"),E()()),2&e&&(L("headline",W(1,5,"transports.create")),v(2),L("ngIf",!t.types),v(1),L("ngIf",t.types),v(1),L("disabled",!t.form.valid),v(2),Me(" ",W(7,7,"transports.create")," "))},directives:[_r,Et,Jo,ei,Xr,gr,bi,Qr,$i,Jr,zr,Yi,Mf,Sf,xr,oc,Ns,Mn,ur,ui],pipes:[Mt],styles:[""]}),n}();function Dq(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),P(3,"mat-icon",6),Y(4,"translate"),F(5,"help"),E(),Ze()),2&n&&(v(1),Me(" ",W(2,3,"common.yes")," "),v(2),L("inline",!0)("matTooltip",W(4,5,"transports.persistent-transport-tooltip")))}function Tq(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"common.no")))}var Lq=function(){var n=function(){function i(e){c(this,i),this.data=e}return d(i,null,[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur))},n.\u0275cmp=We({type:n,selectors:[["app-transport-details"]],decls:51,vars:44,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"div")(3,"div",1)(4,"mat-icon",2),F(5,"list"),E(),F(6),Y(7,"translate"),E(),P(8,"div",3)(9,"span"),F(10),Y(11,"translate"),E(),K(12,Dq,6,7,"ng-container",4),K(13,Tq,3,3,"ng-container",4),E(),P(14,"div",3)(15,"span"),F(16),Y(17,"translate"),E(),F(18),E(),P(19,"div",3)(20,"span"),F(21),Y(22,"translate"),E(),F(23),E(),P(24,"div",3)(25,"span"),F(26),Y(27,"translate"),E(),F(28),E(),P(29,"div",3)(30,"span"),F(31),Y(32,"translate"),E(),F(33),E(),P(34,"div",5)(35,"mat-icon",2),F(36,"import_export"),E(),F(37),Y(38,"translate"),E(),P(39,"div",3)(40,"span"),F(41),Y(42,"translate"),E(),F(43),Y(44,"autoScale"),E(),P(45,"div",3)(46,"span"),F(47),Y(48,"translate"),E(),F(49),Y(50,"autoScale"),E()()()),2&e&&(L("headline",W(1,20,"transports.details.title")),v(4),L("inline",!0),v(2),Me("",W(7,22,"transports.details.basic.title")," "),v(4),_e(W(11,24,"transports.details.basic.persistent")),v(2),L("ngIf",t.data.isPersistent),v(1),L("ngIf",!t.data.isPersistent),v(3),_e(W(17,26,"transports.details.basic.id")),v(2),Me(" ",t.data.id," "),v(3),_e(W(22,28,"transports.details.basic.local-pk")),v(2),Me(" ",t.data.localPk," "),v(3),_e(W(27,30,"transports.details.basic.remote-pk")),v(2),Me(" ",t.data.remotePk," "),v(3),_e(W(32,32,"transports.details.basic.type")),v(2),Me(" ",t.data.type," "),v(2),L("inline",!0),v(2),Me("",W(38,34,"transports.details.data.title")," "),v(4),_e(W(42,36,"transports.details.data.uploaded")),v(2),Me(" ",W(44,38,t.data.sent)," "),v(4),_e(W(48,40,"transports.details.data.downloaded")),v(2),Me(" ",W(50,42,t.data.recv)," "))},directives:[_r,Mn,Et,ur],pipes:[Mt,Lf],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),n}();function Eq(n,i){1&n&&(P(0,"span",15),F(1),Y(2,"translate"),P(3,"mat-icon",16),Y(4,"translate"),F(5,"help"),E()()),2&n&&(v(1),Me(" ",W(2,3,"transports.title")," "),v(2),L("inline",!0)("matTooltip",W(4,5,"transports.info")))}function Pq(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.translatableValue))}}function xq(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),_e(e.value)}}function Oq(n,i){if(1&n&&(P(0,"div",20)(1,"span"),F(2),Y(3,"translate"),E(),K(4,Pq,3,3,"ng-container",21),K(5,xq,2,1,"ng-container",21),E()),2&n){var e=i.$implicit;v(2),Me("",W(3,3,e.filterName),": "),v(2),L("ngIf",e.translatableValue),v(1),L("ngIf",e.value)}}function Aq(n,i){if(1&n){var e=tt();P(0,"div",17),Se("click",function(){return ke(e),q().dataFilterer.removeFilters()}),K(1,Oq,6,5,"div",18),P(2,"div",19),F(3),Y(4,"translate"),E()()}if(2&n){var t=q();v(1),L("ngForOf",t.dataFilterer.currentFiltersTexts),v(2),_e(W(4,2,"filters.press-to-remove"))}}function Iq(n,i){if(1&n){var e=tt();P(0,"mat-icon",22),Se("click",function(){return ke(e),q().dataFilterer.changeFilters()}),F(1,"filter_list"),E()}2&n&&L("inline",!0)}function Rq(n,i){if(1&n&&(P(0,"mat-icon",23),F(1,"more_horiz"),E()),2&n){q();var e=sr(11);L("inline",!0)("matMenuTriggerFor",e)}}var Wb=function(i){return["/nodes",i,"transports"]};function Fq(n,i){if(1&n&&Ee(0,"app-paginator",24),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Wb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Nq(n,i){if(1&n&&(P(0,"mat-icon",39),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function Yq(n,i){1&n&&(Ke(0),F(1,"*"),Ze())}function Hq(n,i){if(1&n&&(Ke(0),P(1,"mat-icon",39),F(2),E(),K(3,Yq,2,0,"ng-container",21),Ze()),2&n){var e=q(2);v(1),L("inline",!0),v(1),_e(e.dataSorter.sortingArrow),v(1),L("ngIf",e.dataSorter.currentlySortingByLabel)}}function Bq(n,i){1&n&&(Ke(0),F(1,"*"),Ze())}function Vq(n,i){if(1&n&&(Ke(0),P(1,"mat-icon",39),F(2),E(),K(3,Bq,2,0,"ng-container",21),Ze()),2&n){var e=q(2);v(1),L("inline",!0),v(1),_e(e.dataSorter.sortingArrow),v(1),L("ngIf",e.dataSorter.currentlySortingByLabel)}}function jq(n,i){if(1&n&&(P(0,"mat-icon",39),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function Uq(n,i){if(1&n&&(P(0,"mat-icon",39),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function zq(n,i){if(1&n&&(P(0,"mat-icon",39),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function Wq(n,i){if(1&n){var e=tt();P(0,"button",48),Se("click",function(){ke(e);var a=q().$implicit;return q(2).changeIfPersistent([a],!1)}),Y(1,"translate"),P(2,"mat-icon",49),F(3,"star"),E()()}2&n&&(L("matTooltip",W(1,2,"transports.persistent-transport-button-tooltip")),v(2),L("inline",!0))}function Gq(n,i){if(1&n){var e=tt();P(0,"button",48),Se("click",function(){ke(e);var a=q().$implicit;return q(2).changeIfPersistent([a],!0)}),Y(1,"translate"),P(2,"mat-icon",50),F(3,"star_outline"),E()()}2&n&&(L("matTooltip",W(1,2,"transports.non-persistent-transport-button-tooltip")),v(2),L("inline",!0))}function qq(n,i){1&n&&(P(0,"span"),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"transports.offline")))}function Kq(n,i){if(1&n){var e=tt();P(0,"td")(1,"app-labeled-element-text",51),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E(),K(2,qq,3,3,"span",21),E()}if(2&n){var t=q().$implicit,a=q(2);v(1),Ln("id",t.id),L("short",!0)("elementType",a.labeledElementTypes.Transport),v(1),L("ngIf",t.notFound)}}function Zq(n,i){1&n&&(P(0,"td"),F(1),Y(2,"translate"),E()),2&n&&(v(1),Me(" ",W(2,1,"transports.offline")," "))}function $q(n,i){if(1&n&&(P(0,"td"),F(1),Y(2,"autoScale"),E()),2&n){var e=q().$implicit;v(1),Me(" ",W(2,1,e.sent)," ")}}function Qq(n,i){if(1&n&&(P(0,"td"),F(1),Y(2,"autoScale"),E()),2&n){var e=q().$implicit;v(1),Me(" ",W(2,1,e.recv)," ")}}function Jq(n,i){1&n&&(P(0,"td"),F(1),Y(2,"translate"),E()),2&n&&(v(1),Me(" ",W(2,1,"transports.offline")," "))}function Xq(n,i){1&n&&(P(0,"td"),F(1),Y(2,"translate"),E()),2&n&&(v(1),Me(" ",W(2,1,"transports.offline")," "))}function eK(n,i){if(1&n){var e=tt();P(0,"button",52),Se("click",function(){ke(e);var a=q().$implicit;return q(2).details(a)}),Y(1,"translate"),P(2,"mat-icon",39),F(3,"visibility"),E()()}2&n&&(L("matTooltip",W(1,2,"transports.details.title")),v(2),L("inline",!0))}function tK(n,i){if(1&n){var e=tt();P(0,"button",52),Se("click",function(){ke(e);var a=q().$implicit;return q(2).delete(a)}),Y(1,"translate"),P(2,"mat-icon",39),F(3,"close"),E()()}2&n&&(L("matTooltip",W(1,2,"transports.delete")),v(2),L("inline",!0))}var NE=function(i){return{offline:i}};function nK(n,i){if(1&n){var e=tt();P(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(3,"td"),K(4,Wq,4,4,"button",45),K(5,Gq,4,4,"button",45),E(),K(6,Kq,3,4,"td",21),K(7,Zq,3,3,"td",21),P(8,"td")(9,"app-labeled-element-text",46),Se("labelEdited",function(){return ke(e),q(2).refreshData()}),E()(),P(10,"td"),F(11),E(),K(12,$q,3,3,"td",21),K(13,Qq,3,3,"td",21),K(14,Jq,3,3,"td",21),K(15,Xq,3,3,"td",21),P(16,"td",32),K(17,eK,4,4,"button",47),K(18,tK,4,4,"button",47),E()()}if(2&n){var t=i.$implicit,a=q(2);L("ngClass",Qe(15,NE,t.notFound)),v(2),L("checked",a.selections.get(t.id)),v(2),L("ngIf",t.isPersistent),v(1),L("ngIf",!t.isPersistent),v(1),L("ngIf",!t.notFound),v(1),L("ngIf",t.notFound),v(2),Ln("id",t.remotePk),L("short",!0),v(2),Me(" ",t.type," "),v(1),L("ngIf",!t.notFound),v(1),L("ngIf",!t.notFound),v(1),L("ngIf",t.notFound),v(1),L("ngIf",t.notFound),v(2),L("ngIf",!t.notFound),v(1),L("ngIf",!t.notFound)}}function rK(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.label")))}function iK(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.inverted-order")))}function aK(n,i){1&n&&(P(0,"div",59)(1,"div",59)(2,"mat-icon",62),F(3,"star"),E(),F(4,"\xa0 "),P(5,"span",63),F(6),Y(7,"translate"),E()()()),2&n&&(v(2),L("inline",!0),v(4),_e(W(7,2,"transports.persistent")))}function oK(n,i){if(1&n){var e=tt();P(0,"app-labeled-element-text",64),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E()}if(2&n){var t=q().$implicit,a=q(2);Ln("id",t.id),L("elementType",a.labeledElementTypes.Transport)}}function sK(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"transports.offline")))}function lK(n,i){if(1&n&&(Ke(0),F(1),Y(2,"autoScale"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.sent))}}function uK(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"transports.offline")))}function cK(n,i){if(1&n&&(Ke(0),F(1),Y(2,"autoScale"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.recv))}}function dK(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"transports.offline")))}function fK(n,i){if(1&n){var e=tt();P(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(5,"div",37),K(6,aK,8,4,"div",55),P(7,"div",56)(8,"span",1),F(9),Y(10,"translate"),E(),F(11,": "),K(12,oK,1,2,"app-labeled-element-text",57),K(13,sK,3,3,"ng-container",21),E(),P(14,"div",56)(15,"span",1),F(16),Y(17,"translate"),E(),F(18,": "),P(19,"app-labeled-element-text",58),Se("labelEdited",function(){return ke(e),q(2).refreshData()}),E()(),P(20,"div",59)(21,"span",1),F(22),Y(23,"translate"),E(),F(24),E(),P(25,"div",59)(26,"span",1),F(27),Y(28,"translate"),E(),F(29,": "),K(30,lK,3,3,"ng-container",21),K(31,uK,3,3,"ng-container",21),E(),P(32,"div",59)(33,"span",1),F(34),Y(35,"translate"),E(),F(36,": "),K(37,cK,3,3,"ng-container",21),K(38,dK,3,3,"ng-container",21),E()(),Ee(39,"div",60),P(40,"div",38)(41,"button",61),Se("click",function(s){var u=ke(e).$implicit,f=q(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(42,"translate"),P(43,"mat-icon"),F(44),E()()()()()()}if(2&n){var t=i.$implicit,a=q(2);v(2),L("ngClass",Qe(30,NE,t.notFound)),v(2),L("checked",a.selections.get(t.id)),v(2),L("ngIf",t.isPersistent),v(3),_e(W(10,18,"transports.id")),v(3),L("ngIf",!t.notFound),v(1),L("ngIf",t.notFound),v(3),_e(W(17,20,"transports.remote-node")),v(3),Ln("id",t.remotePk),v(3),_e(W(23,22,"transports.type")),v(2),Me(": ",t.type," "),v(3),_e(W(28,24,"common.uploaded")),v(3),L("ngIf",!t.notFound),v(1),L("ngIf",t.notFound),v(3),_e(W(35,26,"common.downloaded")),v(3),L("ngIf",!t.notFound),v(1),L("ngIf",t.notFound),v(3),L("matTooltip",W(42,28,"common.options")),v(3),_e("add")}}function hK(n,i){if(1&n&&Ee(0,"app-view-all-link",65),2&n){var e=q(2);L("numberOfElements",e.filteredTransports.length)("linkParts",Qe(3,Wb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var pK=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},vK=function(i){return{"d-lg-none d-xl-table":i}},mK=function(i){return{"d-lg-table d-xl-none":i}};function gK(n,i){if(1&n){var e=tt();P(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),Ee(4,"th"),P(5,"th",28),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.persistentSortData)}),Y(6,"translate"),P(7,"mat-icon",29),F(8,"star_outline"),E(),K(9,Nq,2,2,"mat-icon",30),E(),P(10,"th",31),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.idSortData)}),F(11),Y(12,"translate"),K(13,Hq,4,3,"ng-container",21),E(),P(14,"th",31),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.remotePkSortData)}),F(15),Y(16,"translate"),K(17,Vq,4,3,"ng-container",21),E(),P(18,"th",31),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(19),Y(20,"translate"),K(21,jq,2,2,"mat-icon",30),E(),P(22,"th",31),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.uploadedSortData)}),F(23),Y(24,"translate"),K(25,Uq,2,2,"mat-icon",30),E(),P(26,"th",31),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.downloadedSortData)}),F(27),Y(28,"translate"),K(29,zq,2,2,"mat-icon",30),E(),Ee(30,"th",32),E(),K(31,nK,19,17,"tr",33),E(),P(32,"table",34)(33,"tr",35),Se("click",function(){return ke(e),q().dataSorter.openSortingOrderModal()}),P(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),F(38),Y(39,"translate"),E(),P(40,"div"),F(41),Y(42,"translate"),K(43,rK,3,3,"ng-container",21),K(44,iK,3,3,"ng-container",21),E()(),P(45,"div",38)(46,"mat-icon",39),F(47,"keyboard_arrow_down"),E()()()()(),K(48,fK,45,32,"tr",40),E(),K(49,hK,1,5,"app-view-all-link",41),E()()}if(2&n){var t=q();v(1),L("ngClass",En(39,pK,t.showShortList_,!t.showShortList_)),v(1),L("ngClass",Qe(42,vK,t.showShortList_)),v(3),L("matTooltip",W(6,23,"transports.persistent-tooltip")),v(4),L("ngIf",t.dataSorter.currentSortingColumn===t.persistentSortData),v(2),Me(" ",W(12,25,"transports.id")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.idSortData),v(2),Me(" ",W(16,27,"transports.remote-node")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.remotePkSortData),v(2),Me(" ",W(20,29,"transports.type")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),v(2),Me(" ",W(24,31,"common.uploaded")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.uploadedSortData),v(2),Me(" ",W(28,33,"common.downloaded")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.downloadedSortData),v(2),L("ngForOf",t.dataSource),v(1),L("ngClass",Qe(44,mK,t.showShortList_)),v(6),_e(W(39,35,"tables.sorting-title")),v(3),Me("",W(42,37,t.dataSorter.currentSortingColumn.label)," "),v(2),L("ngIf",t.dataSorter.currentlySortingByLabel),v(1),L("ngIf",t.dataSorter.sortingInReverseOrder),v(2),L("inline",!0),v(2),L("ngForOf",t.dataSource),v(1),L("ngIf",t.showShortList_&&t.numberOfPages>1)}}function _K(n,i){1&n&&(P(0,"span",69),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"transports.empty")))}function yK(n,i){1&n&&(P(0,"span",69),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"transports.empty-with-filter")))}function bK(n,i){if(1&n&&(P(0,"div",25)(1,"div",66)(2,"mat-icon",67),F(3,"warning"),E(),K(4,_K,3,3,"span",68),K(5,yK,3,3,"span",68),E()()),2&n){var e=q();v(2),L("inline",!0),v(2),L("ngIf",0===e.allTransports.length),v(1),L("ngIf",0!==e.allTransports.length)}}function kK(n,i){if(1&n&&Ee(0,"app-paginator",24),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Wb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var MK=function(i){return{"paginator-icons-fixer":i}},YE=function(){var n=function(){function i(e,t,a,o,s,l,u,f){var m=this;c(this,i),this.dialog=e,this.transportService=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.storageService=u,this.nodeService=f,this.listId="tr",this.persistentSortData=new xn(["isPersistent"],"transports.persistent",Xt.Boolean),this.idSortData=new xn(["id"],"transports.id",Xt.Text,["id_label"]),this.remotePkSortData=new xn(["remotePk"],"transports.remote-node",Xt.Text,["remote_pk_label"]),this.typeSortData=new xn(["type"],"transports.type",Xt.Text),this.uploadedSortData=new xn(["sent"],"common.uploaded",Xt.NumberReversed),this.downloadedSortData=new xn(["recv"],"common.downloaded",Xt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:Gn.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:Gn.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:Gn.TextInput,maxlength:66}],this.labeledElementTypes=si,this.operationSubscriptionsGroup=[],this.dataSorter=new pc(this.dialog,this.translateService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){m.recalculateElementsToShow()}),this.dataFilterer=new mc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(R){m.filteredTransports=R,m.dataSorter.setData(m.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(R){if(R.has("page")){var B=Number.parseInt(R.get("page"),10);(isNaN(B)||B<1)&&(B=1),m.currentPageInUrl=B,m.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(function(){m.node=m.currentNode})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredTransports)}},{key:"node",set:function(t){var a=this;this.currentNode=t,this.allTransports=t.transports,this.nodePK=t.localPk;var o=new Map;t.persistentTransports.forEach(function(s){return o.set(a.getPersistentTransportID(s.pk,s.type),s)}),this.allTransports.forEach(function(s){o.has(a.getPersistentTransportID(s.remotePk,s.type))?(s.isPersistent=!0,o.delete(a.getPersistentTransportID(s.remotePk,s.type))):s.isPersistent=!1}),o.forEach(function(s,l){a.allTransports.push({id:a.getPersistentTransportID(s.pk,s.type),localPk:t.localPk,remotePk:s.pk,type:s.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(function(s){s.id_label=Xo.getCompleteLabel(a.storageService,a.translateService,s.id),s.remote_pk_label=Xo.getCompleteLabel(a.storageService,a.translateService,s.remotePk)}),this.dataFilterer.setData(this.allTransports)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}},{key:"changeSelection",value:function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=[];t.selections.forEach(function(s,l){s&&o.push(l)}),t.deleteRecursively(o,a)})}},{key:"create",value:function(){Sq.openDialog(this.dialog)}},{key:"showOptionsDialog",value:function(t){var a=this,o=[];o.push(t.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),t.notFound||(o.push({icon:"visibility",label:"transports.details.title"}),o.push({icon:"close",label:"transports.delete"})),Hi.openDialog(this.dialog,o,"common.options").afterClosed().subscribe(function(s){1===s?a.changeIfPersistent([t],!t.isPersistent):2===s?a.details(t):3===s&&a.delete(t)})}},{key:"changeIfPersistentOfSelected",value:function(t){var a=this,o=[];this.allTransports.forEach(function(s){a.selections.has(s.id)&&a.selections.get(s.id)&&o.push(s)}),this.changeIfPersistent(o,t)}},{key:"changeIfPersistent",value:function(t,a){var o=this;if(!(t.length<1)){var s="transports.",l=Zt.createConfirmationDialog(this.dialog,s+=1===t.length?a?"make-persistent-confirmation":"make"+(t[0].notFound?"-offline":"")+"-non-persistent-confirmation":a?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation");l.componentInstance.operationAccepted.subscribe(function(){l.componentInstance.showProcessing(),o.persistentTransportSubscription=o.transportService.getPersistentTransports(o.nodePK).subscribe(function(u){var f=u||[],m=!1,w=new Map;if(t.forEach(function(B){return w.set(o.getPersistentTransportID(B.remotePk,B.type),B)}),a)f.forEach(function(B){w.has(o.getPersistentTransportID(B.pk,B.type))&&w.delete(o.getPersistentTransportID(B.pk,B.type))}),(m=0===w.size)||w.forEach(function(B){f.push({pk:B.remotePk,type:B.type})});else{m=!0;for(var R=0;Rthis.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(o,o+a);var l=new Map;this.transportsToShow.forEach(function(f){l.set(f.id,!0),t.selections.has(f.id)||t.selections.set(f.id,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}},{key:"startDeleting",value:function(t){return this.transportService.delete(Ot.getCurrentNodeKey(),t)}},{key:"deleteRecursively",value:function(t,a){var o=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe(function(){t.pop(),0===t.length?(a.close(),Ot.refreshCurrentDisplayedData(),o.snackbarService.showDone("transports.deleted")):o.deleteRecursively(t,a)},function(s){Ot.refreshCurrentDisplayedData(),s=dn(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Wn),V(zb),V(oi),V(an),V(An),V(Fi),V(Ki),V(hc))},n.\u0275cmp=We({type:n,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1),K(2,Eq,6,7,"span",2),K(3,Aq,5,4,"div",3),E(),P(4,"div",4)(5,"div",5)(6,"mat-icon",6),Se("click",function(){return t.create()}),F(7,"add"),E(),K(8,Iq,2,1,"mat-icon",7),K(9,Rq,2,2,"mat-icon",8),P(10,"mat-menu",9,10)(12,"div",11),Se("click",function(){return t.changeAllSelections(!0)}),F(13),Y(14,"translate"),E(),P(15,"div",11),Se("click",function(){return t.changeAllSelections(!1)}),F(16),Y(17,"translate"),E(),P(18,"div",12),Se("click",function(){return t.changeIfPersistentOfSelected(!0)}),F(19),Y(20,"translate"),E(),P(21,"div",12),Se("click",function(){return t.changeIfPersistentOfSelected(!1)}),F(22),Y(23,"translate"),E(),P(24,"div",12),Se("click",function(){return t.deleteSelected()}),F(25),Y(26,"translate"),E()()(),K(27,Fq,1,6,"app-paginator",13),E()(),K(28,gK,50,46,"div",14),K(29,bK,6,3,"div",14),K(30,kK,1,6,"app-paginator",13)),2&e&&(L("ngClass",Qe(29,MK,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),v(2),L("ngIf",t.showShortList_),v(1),L("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),v(3),L("inline",!0),v(2),L("ngIf",t.allTransports&&t.allTransports.length>0),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("overlapTrigger",!1),v(3),Me(" ",W(14,19,"selection.select-all")," "),v(3),Me(" ",W(17,21,"selection.unselect-all")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(20,23,"transports.make-selected-persistent")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(23,25,"transports.make-selected-non-persistent")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(26,27,"selection.delete-all")," "),v(2),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("ngIf",!t.dataSource||0===t.dataSource.length),v(1),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,xr,bc,yc,es,kc,Ns,yi,Xo,xv],pipes:[Mt,Lf],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),n}();function CK(n,i){1&n&&(P(0,"div",5)(1,"mat-icon",2),F(2,"settings"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me("",W(4,2,"routes.details.specific-fields-titles.app")," "))}function wK(n,i){1&n&&(P(0,"div",5)(1,"mat-icon",2),F(2,"swap_horiz"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me("",W(4,2,"routes.details.specific-fields-titles.forward")," "))}function SK(n,i){1&n&&(P(0,"div",5)(1,"mat-icon",2),F(2,"arrow_forward"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me("",W(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function DK(n,i){if(1&n&&(P(0,"div")(1,"div",3)(2,"span"),F(3),Y(4,"translate"),E(),F(5),E(),P(6,"div",3)(7,"span"),F(8),Y(9,"translate"),E(),F(10),E()()),2&n){var e=q(2);v(3),_e(W(4,5,"routes.details.specific-fields.route-id")),v(2),Me(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),v(3),_e(W(9,7,"routes.details.specific-fields.transport-id")),v(2),la(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function TK(n,i){if(1&n&&(P(0,"div")(1,"div",3)(2,"span"),F(3),Y(4,"translate"),E(),F(5),E(),P(6,"div",3)(7,"span"),F(8),Y(9,"translate"),E(),F(10),E(),P(11,"div",3)(12,"span"),F(13),Y(14,"translate"),E(),F(15),E(),P(16,"div",3)(17,"span"),F(18),Y(19,"translate"),E(),F(20),E()()),2&n){var e=q(2);v(3),_e(W(4,10,"routes.details.specific-fields.destination-pk")),v(2),la(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),v(3),_e(W(9,12,"routes.details.specific-fields.source-pk")),v(2),la(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),v(3),_e(W(14,14,"routes.details.specific-fields.destination-port")),v(2),Me(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),v(3),_e(W(19,16,"routes.details.specific-fields.source-port")),v(2),Me(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function LK(n,i){if(1&n&&(P(0,"div")(1,"div",5)(2,"mat-icon",2),F(3,"list"),E(),F(4),Y(5,"translate"),E(),P(6,"div",3)(7,"span"),F(8),Y(9,"translate"),E(),F(10),E(),P(11,"div",3)(12,"span"),F(13),Y(14,"translate"),E(),F(15),E(),P(16,"div",3)(17,"span"),F(18),Y(19,"translate"),E(),F(20),E(),K(21,CK,5,4,"div",6),K(22,wK,5,4,"div",6),K(23,SK,5,4,"div",6),K(24,DK,11,9,"div",4),K(25,TK,21,18,"div",4),E()),2&n){var e=q();v(2),L("inline",!0),v(2),Me("",W(5,13,"routes.details.summary.title")," "),v(4),_e(W(9,15,"routes.details.summary.keep-alive")),v(2),Me(" ",e.routeRule.ruleSummary.keepAlive," "),v(3),_e(W(14,17,"routes.details.summary.type")),v(2),Me(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),v(3),_e(W(19,19,"routes.details.summary.key-route-id")),v(2),Me(" ",e.routeRule.ruleSummary.keyRouteId," "),v(1),L("ngIf",e.routeRule.appFields),v(1),L("ngIf",e.routeRule.forwardFields),v(1),L("ngIf",e.routeRule.intermediaryForwardFields),v(1),L("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),v(1),L("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}var EK=function(){var n=function(){function i(e,t,a){c(this,i),this.dialogRef=t,this.storageService=a,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}return d(i,[{key:"getRuleTypeName",value:function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):t.toString()}},{key:"closePopup",value:function(){this.dialogRef.close()}},{key:"getLabel",value:function(t){var a=this.storageService.getLabelInfo(t);return a?" ("+a.label+")":""}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur),V(Rr),V(Ki))},n.\u0275cmp=We({type:n,selectors:[["app-route-details"]],decls:19,vars:16,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"div")(3,"div",1)(4,"mat-icon",2),F(5,"list"),E(),F(6),Y(7,"translate"),E(),P(8,"div",3)(9,"span"),F(10),Y(11,"translate"),E(),F(12),E(),P(13,"div",3)(14,"span"),F(15),Y(16,"translate"),E(),F(17),E(),K(18,LK,26,21,"div",4),E()()),2&e&&(L("headline",W(1,8,"routes.details.title")),v(4),L("inline",!0),v(2),Me("",W(7,10,"routes.details.basic.title")," "),v(4),_e(W(11,12,"routes.details.basic.key")),v(2),Me(" ",t.routeRule.key," "),v(3),_e(W(16,14,"routes.details.basic.rule")),v(2),Me(" ",t.routeRule.rule," "),v(1),L("ngIf",t.routeRule.ruleSummary))},directives:[_r,Mn,Et],pipes:[Mt],styles:[""]}),n}(),HE=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"get",value:function(t,a){return this.apiService.get("visors/".concat(t,"/routes/").concat(a))}},{key:"delete",value:function(t,a){return this.apiService.delete("visors/".concat(t,"/routes/").concat(a))}},{key:"setMinHops",value:function(t,a){var o={min_hops:a};return this.apiService.post("visors/".concat(t,"/min-hops"),o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(Dl))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function PK(n,i){1&n&&(P(0,"span",14),F(1),Y(2,"translate"),P(3,"mat-icon",15),Y(4,"translate"),F(5,"help"),E()()),2&n&&(v(1),Me(" ",W(2,3,"routes.title")," "),v(2),L("inline",!0)("matTooltip",W(4,5,"routes.info")))}function xK(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.translatableValue))}}function OK(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),_e(e.value)}}function AK(n,i){if(1&n&&(P(0,"div",19)(1,"span"),F(2),Y(3,"translate"),E(),K(4,xK,3,3,"ng-container",20),K(5,OK,2,1,"ng-container",20),E()),2&n){var e=i.$implicit;v(2),Me("",W(3,3,e.filterName),": "),v(2),L("ngIf",e.translatableValue),v(1),L("ngIf",e.value)}}function IK(n,i){if(1&n){var e=tt();P(0,"div",16),Se("click",function(){return ke(e),q().dataFilterer.removeFilters()}),K(1,AK,6,5,"div",17),P(2,"div",18),F(3),Y(4,"translate"),E()()}if(2&n){var t=q();v(1),L("ngForOf",t.dataFilterer.currentFiltersTexts),v(2),_e(W(4,2,"filters.press-to-remove"))}}function RK(n,i){if(1&n){var e=tt();P(0,"mat-icon",21),Se("click",function(){return ke(e),q().dataFilterer.changeFilters()}),Y(1,"translate"),F(2,"filter_list"),E()}2&n&&L("inline",!0)("matTooltip",W(1,2,"filters.filter-action"))}function FK(n,i){1&n&&(P(0,"mat-icon",22),F(1,"more_horiz"),E()),2&n&&(q(),L("matMenuTriggerFor",sr(9)))}var Gb=function(i){return["/nodes",i,"routes"]};function NK(n,i){if(1&n&&Ee(0,"app-paginator",23),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Gb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function YK(n,i){if(1&n&&(P(0,"mat-icon",36),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function HK(n,i){if(1&n&&(P(0,"mat-icon",36),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function BK(n,i){if(1&n&&(P(0,"mat-icon",36),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function VK(n,i){if(1&n&&(P(0,"mat-icon",36),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function jK(n,i){if(1&n){var e=tt();Ke(0),P(1,"td")(2,"app-labeled-element-text",41),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E()(),P(3,"td")(4,"app-labeled-element-text",41),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E()(),Ze()}if(2&n){var t=q().$implicit,a=q(2);v(2),Ln("id",t.src),L("short",!0)("elementType",a.labeledElementTypes.Node),v(2),Ln("id",t.dst),L("short",!0)("elementType",a.labeledElementTypes.Node)}}function UK(n,i){if(1&n){var e=tt();Ke(0),P(1,"td"),F(2,"---"),E(),P(3,"td")(4,"app-labeled-element-text",42),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E()(),Ze()}if(2&n){var t=q().$implicit,a=q(2);v(4),Ln("id",t.dst),L("short",!0)("elementType",a.labeledElementTypes.Transport)}}function zK(n,i){1&n&&(Ke(0),P(1,"td"),F(2,"---"),E(),P(3,"td"),F(4,"---"),E(),Ze())}function WK(n,i){if(1&n){var e=tt();P(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(3,"td"),F(4),E(),P(5,"td"),F(6),E(),K(7,jK,5,6,"ng-container",20),K(8,UK,5,3,"ng-container",20),K(9,zK,5,0,"ng-container",20),P(10,"td",29)(11,"button",40),Se("click",function(){var l=ke(e).$implicit;return q(2).details(l)}),Y(12,"translate"),P(13,"mat-icon",36),F(14,"visibility"),E()(),P(15,"button",40),Se("click",function(){var l=ke(e).$implicit;return q(2).delete(l.key)}),Y(16,"translate"),P(17,"mat-icon",36),F(18,"close"),E()()()()}if(2&n){var t=i.$implicit,a=q(2);v(2),L("checked",a.selections.get(t.key)),v(2),Me(" ",t.key," "),v(2),Me(" ",a.getTypeName(t.type)," "),v(1),L("ngIf",t.appFields||t.forwardFields),v(1),L("ngIf",!t.appFields&&!t.forwardFields&&t.intermediaryForwardFields),v(1),L("ngIf",!t.appFields&&!t.forwardFields&&!t.intermediaryForwardFields),v(2),L("matTooltip",W(12,10,"routes.details.title")),v(2),L("inline",!0),v(2),L("matTooltip",W(16,12,"routes.delete")),v(2),L("inline",!0)}}function GK(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.label")))}function qK(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.inverted-order")))}function KK(n,i){if(1&n){var e=tt();Ke(0),P(1,"div",44)(2,"span",1),F(3),Y(4,"translate"),E(),F(5,": "),P(6,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E()(),P(7,"div",44)(8,"span",1),F(9),Y(10,"translate"),E(),F(11,": "),P(12,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E()(),Ze()}if(2&n){var t=q().$implicit,a=q(2);v(3),_e(W(4,6,"routes.source")),v(3),Ln("id",t.src),L("elementType",a.labeledElementTypes.Node),v(3),_e(W(10,8,"routes.destination")),v(3),Ln("id",t.dst),L("elementType",a.labeledElementTypes.Node)}}function ZK(n,i){if(1&n){var e=tt();Ke(0),P(1,"div",44)(2,"span",1),F(3),Y(4,"translate"),E(),F(5,": --- "),E(),P(6,"div",44)(7,"span",1),F(8),Y(9,"translate"),E(),F(10,": "),P(11,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),q(3).refreshData()}),E()(),Ze()}if(2&n){var t=q().$implicit,a=q(2);v(3),_e(W(4,4,"routes.source")),v(5),_e(W(9,6,"routes.destination")),v(3),Ln("id",t.dst),L("elementType",a.labeledElementTypes.Transport)}}function $K(n,i){1&n&&(Ke(0),P(1,"div",44)(2,"span",1),F(3),Y(4,"translate"),E(),F(5,": --- "),E(),P(6,"div",44)(7,"span",1),F(8),Y(9,"translate"),E(),F(10,": --- "),E(),Ze()),2&n&&(v(3),_e(W(4,2,"routes.source")),v(5),_e(W(9,4,"routes.destination")))}function QK(n,i){if(1&n){var e=tt();P(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(5,"div",34)(6,"div",44)(7,"span",1),F(8),Y(9,"translate"),E(),F(10),E(),P(11,"div",44)(12,"span",1),F(13),Y(14,"translate"),E(),F(15),E(),K(16,KK,13,10,"ng-container",20),K(17,ZK,12,8,"ng-container",20),K(18,$K,11,6,"ng-container",20),E(),Ee(19,"div",45),P(20,"div",35)(21,"button",46),Se("click",function(s){var u=ke(e).$implicit,f=q(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(22,"translate"),P(23,"mat-icon"),F(24),E()()()()()()}if(2&n){var t=i.$implicit,a=q(2);v(4),L("checked",a.selections.get(t.key)),v(4),_e(W(9,10,"routes.key")),v(2),Me(": ",t.key," "),v(3),_e(W(14,12,"routes.type")),v(2),Me(": ",a.getTypeName(t.type)," "),v(1),L("ngIf",t.appFields||t.forwardFields),v(1),L("ngIf",!t.appFields&&!t.forwardFields&&t.intermediaryForwardFields),v(1),L("ngIf",!t.appFields&&!t.forwardFields&&!t.intermediaryForwardFields),v(3),L("matTooltip",W(22,14,"common.options")),v(3),_e("add")}}function JK(n,i){if(1&n&&Ee(0,"app-view-all-link",48),2&n){var e=q(2);L("numberOfElements",e.filteredRoutes.length)("linkParts",Qe(3,Gb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var XK=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},eZ=function(i){return{"d-lg-none d-xl-table":i}},tZ=function(i){return{"d-lg-table d-xl-none":i}};function nZ(n,i){if(1&n){var e=tt();P(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Ee(4,"th"),P(5,"th",27),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.keySortData)}),F(6),Y(7,"translate"),K(8,YK,2,2,"mat-icon",28),E(),P(9,"th",27),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(10),Y(11,"translate"),K(12,HK,2,2,"mat-icon",28),E(),P(13,"th",27),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.sourceSortData)}),F(14),Y(15,"translate"),K(16,BK,2,2,"mat-icon",28),E(),P(17,"th",27),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.destinationSortData)}),F(18),Y(19,"translate"),K(20,VK,2,2,"mat-icon",28),E(),Ee(21,"th",29),E(),K(22,WK,19,14,"tr",30),E(),P(23,"table",31)(24,"tr",32),Se("click",function(){return ke(e),q().dataSorter.openSortingOrderModal()}),P(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),F(29),Y(30,"translate"),E(),P(31,"div"),F(32),Y(33,"translate"),K(34,GK,3,3,"ng-container",20),K(35,qK,3,3,"ng-container",20),E()(),P(36,"div",35)(37,"mat-icon",36),F(38,"keyboard_arrow_down"),E()()()()(),K(39,QK,25,16,"tr",30),E(),K(40,JK,1,5,"app-view-all-link",37),E()()}if(2&n){var t=q();v(1),L("ngClass",En(31,XK,t.showShortList_,!t.showShortList_)),v(1),L("ngClass",Qe(34,eZ,t.showShortList_)),v(4),Me(" ",W(7,19,"routes.key")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.keySortData),v(2),Me(" ",W(11,21,"routes.type")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),v(2),Me(" ",W(15,23,"routes.source")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.sourceSortData),v(2),Me(" ",W(19,25,"routes.destination")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.destinationSortData),v(2),L("ngForOf",t.dataSource),v(1),L("ngClass",Qe(36,tZ,t.showShortList_)),v(6),_e(W(30,27,"tables.sorting-title")),v(3),Me("",W(33,29,t.dataSorter.currentSortingColumn.label)," "),v(2),L("ngIf",t.dataSorter.currentlySortingByLabel),v(1),L("ngIf",t.dataSorter.sortingInReverseOrder),v(2),L("inline",!0),v(2),L("ngForOf",t.dataSource),v(1),L("ngIf",t.showShortList_&&t.numberOfPages>1)}}function rZ(n,i){1&n&&(P(0,"span",52),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"routes.empty")))}function iZ(n,i){1&n&&(P(0,"span",52),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"routes.empty-with-filter")))}function aZ(n,i){if(1&n&&(P(0,"div",24)(1,"div",49)(2,"mat-icon",50),F(3,"warning"),E(),K(4,rZ,3,3,"span",51),K(5,iZ,3,3,"span",51),E()()),2&n){var e=q();v(2),L("inline",!0),v(2),L("ngIf",0===e.allRoutes.length),v(1),L("ngIf",0!==e.allRoutes.length)}}function oZ(n,i){if(1&n&&Ee(0,"app-paginator",23),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Gb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var sZ=function(i){return{"paginator-icons-fixer":i}},BE=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.routeService=e,this.dialog=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.storageService=u,this.listId="rl",this.keySortData=new xn(["key"],"routes.key",Xt.Number),this.typeSortData=new xn(["type"],"routes.type",Xt.Number),this.sourceSortData=new xn(["src"],"routes.source",Xt.Text,["src_label"]),this.destinationSortData=new xn(["dst"],"routes.destination",Xt.Text,["dst_label"]),this.labeledElementTypes=si,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:Gn.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:Gn.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:Gn.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new pc(this.dialog,this.translateService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){f.recalculateElementsToShow()});var w={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:Gn.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach(function(R,B){w.printableLabelsForValues.push({value:B+"",label:R})}),this.filterProperties=[w].concat(this.filterProperties),this.dataFilterer=new mc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(R){f.filteredRoutes=R,f.dataSorter.setData(f.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(R){if(R.has("page")){var B=Number.parseInt(R.get("page"),10);(isNaN(B)||B<1)&&(B=1),f.currentPageInUrl=B,f.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredRoutes)}},{key:"routes",set:function(t){var a=this;this.allRoutes=t,this.allRoutes.forEach(function(o){if(o.type=o.ruleSummary.ruleType||0===o.ruleSummary.ruleType?o.ruleSummary.ruleType:"",o.appFields||o.forwardFields){var s=o.appFields?o.appFields.routeDescriptor:o.forwardFields.routeDescriptor;o.src=s.srcPk,o.src_label=Xo.getCompleteLabel(a.storageService,a.translateService,o.src),o.dst=s.dstPk,o.dst_label=Xo.getCompleteLabel(a.storageService,a.translateService,o.dst)}else o.intermediaryForwardFields?(o.src="",o.src_label="",o.dst=o.intermediaryForwardFields.nextTid,o.dst_label=Xo.getCompleteLabel(a.storageService,a.translateService,o.dst)):(o.src="",o.src_label="",o.dst="",o.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}},{key:"refreshData",value:function(){Ot.refreshCurrentDisplayedData()}},{key:"getTypeName",value:function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):"Unknown"}},{key:"changeSelection",value:function(t){this.selections.get(t.key)?this.selections.set(t.key,!1):this.selections.set(t.key,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=[];t.selections.forEach(function(s,l){s&&o.push(l)}),t.deleteRecursively(o,a)})}},{key:"showOptionsDialog",value:function(t){var a=this;Hi.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(function(s){1===s?a.details(t):2===s&&a.delete(t.key)})}},{key:"details",value:function(t){EK.openDialog(this.dialog,t)}},{key:"delete",value:function(t){var a=this,o=Zt.createConfirmationDialog(this.dialog,"routes.delete-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.componentInstance.showProcessing(),a.operationSubscriptionsGroup.push(a.startDeleting(t).subscribe(function(){o.close(),Ot.refreshCurrentDisplayedData(),a.snackbarService.showDone("routes.deleted")},function(s){s=dn(s),o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(o,o+a);var l=new Map;this.routesToShow.forEach(function(f){l.set(f.key,!0),t.selections.has(f.key)||t.selections.set(f.key,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}},{key:"startDeleting",value:function(t){return this.routeService.delete(Ot.getCurrentNodeKey(),t.toString())}},{key:"deleteRecursively",value:function(t,a){var o=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe(function(){t.pop(),0===t.length?(a.close(),Ot.refreshCurrentDisplayedData(),o.snackbarService.showDone("routes.deleted")):o.deleteRecursively(t,a)},function(s){Ot.refreshCurrentDisplayedData(),s=dn(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(HE),V(Wn),V(oi),V(an),V(An),V(Fi),V(Ki))},n.\u0275cmp=We({type:n,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1),K(2,PK,6,7,"span",2),K(3,IK,5,4,"div",3),E(),P(4,"div",4)(5,"div",5),K(6,RK,3,4,"mat-icon",6),K(7,FK,2,1,"mat-icon",7),P(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),F(11),Y(12,"translate"),E(),P(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),F(14),Y(15,"translate"),E(),P(16,"div",11),Se("click",function(){return t.deleteSelected()}),F(17),Y(18,"translate"),E()()(),K(19,NK,1,6,"app-paginator",12),E()(),K(20,nZ,41,38,"div",13),K(21,aZ,6,3,"div",13),K(22,oZ,1,6,"app-paginator",12)),2&e&&(L("ngClass",Qe(20,sZ,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),v(2),L("ngIf",t.showShortList_),v(1),L("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),v(3),L("ngIf",t.allRoutes&&t.allRoutes.length>0),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("overlapTrigger",!1),v(3),Me(" ",W(12,14,"selection.select-all")," "),v(3),Me(" ",W(15,16,"selection.unselect-all")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(18,18,"selection.delete-all")," "),v(2),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("ngIf",!t.dataSource||0===t.dataSource.length),v(1),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,xr,bc,yc,es,kc,Ns,Xo,yi,xv],pipes:[Mt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}(),lZ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=Ot.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.node=a,t.routes=a.routes})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,t){1&e&&Ee(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(L("node",t.node)("showShortList",!0),v(1),L("routes",t.routes)("showShortList",!0)("nodePK",t.nodePK))},directives:[YE,BE],styles:[""]}),n}();function uZ(n,i){if(1&n&&(P(0,"mat-option",4),F(1),Y(2,"translate"),E()),2&n){var e=i.$implicit;L("value",e.days),v(1),_e(W(2,2,e.text))}}var cZ=function(){var n=function(){function i(e,t,a){c(this,i),this.data=e,this.dialogRef=t,this.formBuilder=a}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe(function(a){t.dialogRef.close(t.filters.find(function(o){return o.days===a}))})}},{key:"ngOnDestroy",value:function(){this.formSubscription.unsubscribe()}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur),V(Rr),V(Zi))},n.\u0275cmp=We({type:n,selectors:[["app-log-filter"]],decls:7,vars:8,consts:[[3,"headline"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"form",1)(3,"mat-form-field")(4,"mat-select",2),Y(5,"translate"),K(6,uZ,3,4,"mat-option",3),E()()()()),2&e&&(L("headline",W(1,4,"apps.log.filter.title")),v(2),L("formGroup",t.form),v(2),L("placeholder",W(5,6,"apps.log.filter.filter")),v(2),L("ngForOf",t.filters))},directives:[_r,ei,Xr,gr,bi,Sf,Jr,zr,xr,oc],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),n}(),dZ=["content"];function fZ(n,i){if(1&n&&(P(0,"div",8)(1,"span",3),F(2),E(),F(3),E()),2&n){var e=i.$implicit;v(2),Me(" ",e.time," "),v(1),Me(" ",e.msg," ")}}function hZ(n,i){1&n&&(P(0,"div",9),F(1),Y(2,"translate"),E()),2&n&&(v(1),Me(" ",W(2,1,"apps.log.empty")," "))}function pZ(n,i){1&n&&Ee(0,"app-loading-indicator",10),2&n&&L("showWhite",!1)}var vZ=function(){var n=function(){function i(e,t,a,o){c(this,i),this.data=e,this.appsService=t,this.dialog=a,this.snackbarService=o,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return d(i,[{key:"ngOnInit",value:function(){this.loadData(0)}},{key:"ngOnDestroy",value:function(){this.removeSubscription()}},{key:"filter",value:function(){var t=this;cZ.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(function(a){a&&(t.currentFilter=a,t.logMessages=[],t.loadData(0))})}},{key:"loadData",value:function(t){var a=this;this.removeSubscription(),this.loading=!0,this.subscription=Je(1).pipe(ki(t),Dn(function(){return a.appsService.getLogMessages(Ot.getCurrentNodeKey(),a.data.name,a.currentFilter.days)})).subscribe(function(o){return a.onLogsReceived(o)},function(o){return a.onLogsError(o)})}},{key:"removeSubscription",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"onLogsReceived",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),a.forEach(function(o){var s=o.startsWith("[")?0:-1,l=-1!==s?o.indexOf("]"):-1;t.logMessages.push(-1!==s&&-1!==l?{time:o.substr(s,l+1),msg:o.substr(l+1)}:{time:"",msg:o})}),setTimeout(function(){t.content.nativeElement.scrollTop=t.content.nativeElement.scrollHeight})}},{key:"onLogsError",value:function(t){t=dn(t),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,t),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur),V(gc),V(Wn),V(An))},n.\u0275cmp=We({type:n,selectors:[["app-log"]],viewQuery:function(e,t){var a;1&e&&_t(dZ,5),2&e&<(a=ut())&&(t.content=a.first)},decls:16,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"div",1)(3,"div",2),Se("click",function(){return t.filter()}),P(4,"span",3),F(5),Y(6,"translate"),E(),F(7,"\xa0 "),P(8,"span"),F(9),Y(10,"translate"),E()()(),P(11,"mat-dialog-content",null,4),K(13,fZ,4,2,"div",5),K(14,hZ,3,3,"div",6),K(15,pZ,1,1,"app-loading-indicator",7),E()()),2&e&&(L("headline",W(1,8,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1),v(5),_e(W(6,10,"apps.log.filter-button")),v(4),_e(W(10,12,t.currentFilter.text)),v(4),L("ngForOf",t.logMessages),v(1),L("ngIf",!(t.loading||t.logMessages&&0!==t.logMessages.length)),v(1),L("ngIf",t.loading))},directives:[_r,vb,xr,Et,Jo],pipes:[Mt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#215f9e80}"]}),n}(),mZ=["button"],gZ=["firstInput"];function _Z(n,i){1&n&&(P(0,"mat-form-field"),Ee(1,"input",9),Y(2,"translate"),E()),2&n&&(v(1),L("placeholder",W(2,1,"apps.vpn-socks-server-settings.netifc")))}function yZ(n,i){if(1&n){var e=tt();P(0,"div",10)(1,"mat-checkbox",11),Se("change",function(o){return ke(e),q().setSecureMode(o)}),F(2),Y(3,"translate"),P(4,"mat-icon",12),Y(5,"translate"),F(6,"help"),E()()()}if(2&n){var t=q();v(1),L("checked",t.secureMode),v(1),Me(" ",W(3,4,"apps.vpn-socks-server-settings.secure-mode-check")," "),v(2),L("inline",!0)("matTooltip",W(5,6,"apps.vpn-socks-server-settings.secure-mode-info"))}}var bZ=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this.data=e,this.appsService=t,this.formBuilder=a,this.dialogRef=o,this.snackbarService=s,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return d(i,[{key:"ngOnInit",value:function(){var t=this;if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(function(){t.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(var a=0;a0),v(2),L("placeholder",W(6,8,"apps.vpn-socks-client-settings.filter-dialog.location")),v(3),L("placeholder",W(9,10,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),v(4),Me(" ",W(13,12,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},directives:[_r,ei,Xr,gr,Et,bi,Sf,Jr,zr,oc,xr,ez,Qr,$i,Yi,ui],pipes:[Mt],styles:[""]}),n}(),OZ=["firstInput"],AZ=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.formBuilder=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({password:[""]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"finish",value:function(){var t=this.form.get("password").value;this.dialogRef.close("-"+t)}}],[{key:"openDialog",value:function(t){var a=new $n;return a.autoFocus=!1,a.width=Kt.smallModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr),V(Zi))},n.\u0275cmp=We({type:n,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,t){var a;1&e&&_t(OZ,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:13,vars:13,consts:[[3,"headline"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"form",1)(3,"div",2),F(4),Y(5,"translate"),E(),P(6,"mat-form-field"),Ee(7,"input",3,4),Y(9,"translate"),E()(),P(10,"app-button",5),Se("action",function(){return t.finish()}),F(11),Y(12,"translate"),E()()),2&e&&(L("headline",W(1,5,"apps.vpn-socks-client-settings.password-dialog.title")),v(2),L("formGroup",t.form),v(2),_e(W(5,7,"apps.vpn-socks-client-settings.password-dialog.info")),v(3),L("placeholder",W(9,9,"apps.vpn-socks-client-settings.password-dialog.password")),v(4),Me(" ",W(12,11,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},directives:[_r,ei,Xr,gr,bi,Qr,$i,Jr,zr,Yi,ui],pipes:[Mt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),n}(),IZ=function(){var n=function(){function i(e){c(this,i),this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}return d(i,[{key:"getServices",value:function(t){var a=[];return this.http.get(this.discoveryServiceUrl+(t?"proxy":"vpn")).pipe(Df(function(o){return o.pipe(ki(4e3))}),qe(function(o){return o.forEach(function(s){var l=new hU,u=s.address.split(":");2===u.length&&(l.address=s.address,l.pk=u[0],l.port=u[1],l.location="",s.geo&&(s.geo.country&&(l.country=s.geo.country,l.location+=ns[s.geo.country.toUpperCase()]?ns[s.geo.country.toUpperCase()]:s.geo.country),s.geo.region&&s.geo.country&&(l.location+=", "),s.geo.region&&(l.region=s.geo.region,l.location+=l.region)),a.push(l))}),a}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(ul))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function RZ(n,i){1&n&&hr(0)}var jE=["*"];function FZ(n,i){}var NZ=function(i){return{animationDuration:i}},YZ=function(i,e){return{value:i,params:e}},HZ=["tabListContainer"],BZ=["tabList"],VZ=["tabListInner"],jZ=["nextPaginator"],UZ=["previousPaginator"],zZ=["tabBodyWrapper"],WZ=["tabHeader"];function GZ(n,i){}function qZ(n,i){1&n&&K(0,GZ,0,0,"ng-template",10),2&n&&L("cdkPortalOutlet",q().$implicit.templateLabel)}function KZ(n,i){1&n&&F(0),2&n&&_e(q().$implicit.textLabel)}function ZZ(n,i){if(1&n){var e=tt();P(0,"div",6),Se("click",function(){var u=ke(e),f=u.$implicit,m=u.index,w=q(),R=sr(1);return w._handleClick(f,R,m)})("cdkFocusChange",function(u){var m=ke(e).index;return q()._tabFocusChanged(u,m)}),P(1,"div",7),K(2,qZ,1,1,"ng-template",8),K(3,KZ,1,1,"ng-template",null,9,Ts),E()()}if(2&n){var t=i.$implicit,a=i.index,o=sr(4),s=q();fn("mat-tab-label-active",s.selectedIndex===a),L("id",s._getTabLabelId(a))("ngClass",t.labelClass)("disabled",t.disabled)("matRippleDisabled",t.disabled||s.disableRipple),Gt("tabIndex",s._getTabIndex(t,a))("aria-posinset",a+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(a))("aria-selected",s.selectedIndex===a)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),v(2),L("ngIf",t.templateLabel)("ngIfElse",o)}}function $Z(n,i){if(1&n){var e=tt();P(0,"mat-tab-body",11),Se("_onCentered",function(){return ke(e),q()._removeTabBodyWrapperHeight()})("_onCentering",function(l){return ke(e),q()._setTabBodyWrapperHeight(l)}),E()}if(2&n){var t=i.$implicit,a=i.index,o=q();fn("mat-tab-body-active",o.selectedIndex===a),L("id",o._getTabContentId(a))("ngClass",t.bodyClass)("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",o.animationDuration),Gt("tabindex",null!=o.contentTabIndex&&o.selectedIndex===a?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(a))}}var QZ=new $e("MatInkBarPositioner",{providedIn:"root",factory:function JZ(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),UE=function(){var n=function(){function i(e,t,a,o){c(this,i),this._elementRef=e,this._ngZone=t,this._inkBarPositioner=a,this._animationMode=o}return d(i,[{key:"alignToElement",value:function(t){var a=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return a._setStyles(t)})}):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var a=this._inkBarPositioner(t),o=this._elementRef.nativeElement;o.style.left=a.left,o.style.width=a.width}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(yt),V(bt),V(QZ),V(_i,8))},n.\u0275dir=et({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&fn("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n}(),XZ=new $e("MatTabContent"),e$=new $e("MatTabLabel"),t$=new $e("MAT_TAB"),n$=ic(function(){return d(function n(){c(this,n)})}()),zE=new $e("MAT_TAB_GROUP"),WE=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._viewContainerRef=a,s._closestTabGroup=o,s.textLabel="",s._contentPortal=null,s._stateChanges=new Ie,s.position=null,s.origin=null,s.isActive=!1,s}return d(t,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(o){this._setTemplateLabelInput(o)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(o){(o.hasOwnProperty("textLabel")||o.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new nc(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(o){o&&o._closestTab===this&&(this._templateLabel=o)}}]),t}(n$);return n.\u0275fac=function(e){return new(e||n)(V(ii),V(zE,8))},n.\u0275cmp=We({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,a){var o;1&e&&(vr(a,e$,5),vr(a,XZ,7,xi)),2&e&&(lt(o=ut())&&(t.templateLabel=o.first),lt(o=ut())&&(t._explicitContent=o.first))},viewQuery:function(e,t){var a;1&e&&_t(xi,7),2&e&<(a=ut())&&(t._implicitContent=a.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[un([{provide:t$,useExisting:n}]),vt,Fr],ngContentSelectors:jE,decls:1,vars:0,template:function(e,t){1&e&&(Wi(),K(0,RZ,1,0,"ng-template"))},encapsulation:2}),n}(),r$={translateTab:zo("translateTab",[Ii("center, void, left-origin-center, right-origin-center",kn({transform:"none"})),Ii("left",kn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Ii("right",kn({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),gi("* => left, * => right, left => center, right => center",Ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),gi("void => left-origin-center",[kn({transform:"translate3d(-100%, 0, 0)"}),Ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),gi("void => right-origin-center",[kn({transform:"translate3d(100%, 0, 0)"}),Ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},i$=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,a,o,l))._host=s,u._centeringSub=Ne.EMPTY,u._leavingSub=Ne.EMPTY,u}return d(t,[{key:"ngOnInit",value:function(){var o=this;D(O(t.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(fa(this._host._isCenterPosition(this._host._position))).subscribe(function(s){s&&!o.hasAttached()&&o.attach(o._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){o.detach()})}},{key:"ngOnDestroy",value:function(){D(O(t.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),t}(kl);return n.\u0275fac=function(e){return new(e||n)(V(Ds),V(ii),V(yn(function(){return GE})),V(xt))},n.\u0275dir=et({type:n,selectors:[["","matTabBodyHost",""]],features:[vt]}),n}(),a$=function(){var n=function(){function i(e,t,a){var o=this;c(this,i),this._elementRef=e,this._dir=t,this._dirChangeSubscription=Ne.EMPTY,this._translateTabComplete=new Ie,this._onCentering=new pt,this._beforeCentering=new pt,this._afterLeavingCenter=new pt,this._onCentered=new pt(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(function(s){o._computePositionAnimationState(s),a.markForCheck()})),this._translateTabComplete.pipe(Xy(function(s,l){return s.fromState===l.fromState&&s.toState===l.toState})).subscribe(function(s){o._isCenterPosition(s.toState)&&o._isCenterPosition(o._position)&&o._onCentered.emit(),o._isCenterPosition(s.fromState)&&!o._isCenterPosition(o._position)&&o._afterLeavingCenter.emit()})}return d(i,[{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(t){var a=this._isCenterPosition(t.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(t){var a=this._getLayoutDirection();return"ltr"==a&&t<=0||"rtl"==a&&t>0?"left-origin-center":"right-origin-center"}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(yt),V(ha,8),V(Kn))},n.\u0275dir=et({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n}(),GE=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){return c(this,t),e.call(this,a,o,s)}return d(t)}(a$);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(ha,8),V(Kn))},n.\u0275cmp=We({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var a;1&e&&_t(kl,5),2&e&<(a=ut())&&(t._portalHost=a.first)},hostAttrs:[1,"mat-tab-body"],features:[vt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(P(0,"div",0,1),Se("@translateTab.start",function(o){return t._onTranslateTabStarted(o)})("@translateTab.done",function(o){return t._translateTabComplete.next(o)}),K(2,FZ,0,0,"ng-template",2),E()),2&e&&L("@translateTab",En(3,YZ,t._position,Qe(1,NZ,t.animationDuration)))},directives:[i$],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[r$.translateTab]}}),n}(),qE=new $e("MAT_TABS_CONFIG"),o$=ic(function(){return d(function n(){c(this,n)})}()),KE=function(){var n=function(i){h(t,i);var e=y(t);function t(a){var o;return c(this,t),(o=e.call(this)).elementRef=a,o}return d(t,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),t}(o$);return n.\u0275fac=function(e){return new(e||n)(V(yt))},n.\u0275dir=et({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(Gt("aria-disabled",!!t.disabled),fn("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[vt]}),n}(),ZE=gl({passive:!0}),u$=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=a,this._dir=o,this._ngZone=s,this._platform=l,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ie,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ie,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new pt,this.indexFocused=new pt,s.runOutsideAngular(function(){Ju(e.nativeElement,"mouseleave").pipe(hn(f._destroyed)).subscribe(function(){f._stopInterval()})})}return d(i,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=Ka(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{key:"ngAfterViewInit",value:function(){var t=this;Ju(this._previousPaginator.nativeElement,"touchstart",ZE).pipe(hn(this._destroyed)).subscribe(function(){t._handlePaginatorPress("before")}),Ju(this._nextPaginator.nativeElement,"touchstart",ZE).pipe(hn(this._destroyed)).subscribe(function(){t._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var t=this,a=this._dir?this._dir.change:Je("ltr"),o=this._viewportRuler.change(150),s=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new e2(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),Mi(a,o,this._items.changes).pipe(hn(this._destroyed)).subscribe(function(){t._ngZone.run(function(){return Promise.resolve().then(s)}),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(hn(this._destroyed)).subscribe(function(l){t.indexFocused.emit(l),t._setTabFocus(l)})}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(t){if(!Zo(t))switch(t.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,a=this._elementRef.nativeElement.textContent;a!==this._currentTextContent&&(this._currentTextContent=a||"",this._ngZone.run(function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var a=this._items?this._items.toArray()[t]:null;return!!a&&!a.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var a=this._tabListContainer.nativeElement,o=this._getLayoutDirection();a.scrollLeft="ltr"==o?0:a.scrollWidth-a.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var t=this.scrollDistance,a="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(a),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){if(!this.disablePagination){var a=this._items?this._items.toArray()[t]:null;if(a){var f,m,o=this._tabListContainer.nativeElement.offsetWidth,s=a.elementRef.nativeElement,l=s.offsetLeft,u=s.offsetWidth;"ltr"==this._getLayoutDirection()?m=(f=l)+u:f=(m=this._tabListInner.nativeElement.offsetWidth-l)-u;var w=this.scrollDistance,R=this.scrollDistance+o;fR&&(this.scrollDistance+=m-R+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=t?t.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t,a){var o=this;a&&null!=a.button&&0!==a.button||(this._stopInterval(),Gp(650,100).pipe(hn(Mi(this._stopScrolling,this._destroyed))).subscribe(function(){var s=o._scrollHeader(t),u=s.distance;(0===u||u>=s.maxScrollDistance)&&o._stopInterval()}))}},{key:"_scrollTo",value:function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(yt),V(Kn),V(bl),V(ha,8),V(bt),V(Sr),V(_i,8))},n.\u0275dir=et({type:n,inputs:{disablePagination:"disablePagination"}}),n}(),c$=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var w;return c(this,t),(w=e.call(this,a,o,s,l,u,f,m))._disableRipple=!1,w}return d(t,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(o){this._disableRipple=Zn(o)}},{key:"_itemSelected",value:function(o){o.preventDefault()}}]),t}(u$);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(Kn),V(bl),V(ha,8),V(bt),V(Sr),V(_i,8))},n.\u0275dir=et({type:n,inputs:{disableRipple:"disableRipple"},features:[vt]}),n}(),d$=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){return c(this,t),e.call(this,a,o,s,l,u,f,m)}return d(t)}(c$);return n.\u0275fac=function(e){return new(e||n)(V(yt),V(Kn),V(bl),V(ha,8),V(bt),V(Sr),V(_i,8))},n.\u0275cmp=We({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,a){var o;1&e&&vr(a,KE,4),2&e&<(o=ut())&&(t._items=o)},viewQuery:function(e,t){var a;1&e&&(_t(UE,7),_t(HZ,7),_t(BZ,7),_t(VZ,7),_t(jZ,5),_t(UZ,5)),2&e&&(lt(a=ut())&&(t._inkBar=a.first),lt(a=ut())&&(t._tabListContainer=a.first),lt(a=ut())&&(t._tabList=a.first),lt(a=ut())&&(t._tabListInner=a.first),lt(a=ut())&&(t._nextPaginator=a.first),lt(a=ut())&&(t._previousPaginator=a.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&fn("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[vt],ngContentSelectors:jE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(Wi(),P(0,"button",0,1),Se("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(o){return t._handlePaginatorPress("before",o)})("touchend",function(){return t._stopInterval()}),Ee(2,"div",2),E(),P(3,"div",3,4),Se("keydown",function(o){return t._handleKeydown(o)}),P(5,"div",5,6),Se("cdkObserveContent",function(){return t._onContentChanges()}),P(7,"div",7,8),hr(9),E(),Ee(10,"mat-ink-bar"),E()(),P(11,"button",9,10),Se("mousedown",function(o){return t._handlePaginatorPress("after",o)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),Ee(13,"div",2),E()),2&e&&(fn("mat-tab-header-pagination-disabled",t._disableScrollBefore),L("matRippleDisabled",t._disableScrollBefore||t.disableRipple)("disabled",t._disableScrollBefore||null),v(5),fn("_mat-animation-noopable","NoopAnimations"===t._animationMode),v(6),fn("mat-tab-header-pagination-disabled",t._disableScrollAfter),L("matRippleDisabled",t._disableScrollAfter||t.disableRipple)("disabled",t._disableScrollAfter||null))},directives:[$o,eb,UE],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),n}(),f$=0,h$=d(function n(){c(this,n)}),p$=ac(uf(function(){return d(function n(i){c(this,n),this._elementRef=i})}()),"primary"),v$=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u,f;return c(this,t),(u=e.call(this,a))._changeDetectorRef=o,u._animationMode=l,u._tabs=new Pd,u._indexToSelect=0,u._tabBodyWrapperHeight=0,u._tabsSubscription=Ne.EMPTY,u._tabLabelSubscription=Ne.EMPTY,u._selectedIndex=null,u.headerPosition="above",u.selectedIndexChange=new pt,u.focusChange=new pt,u.animationDone=new pt,u.selectedTabChange=new pt(!0),u._groupId=f$++,u.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",u.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,u.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,u.contentTabIndex=null!==(f=null==s?void 0:s.contentTabIndex)&&void 0!==f?f:null,u}return d(t,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(o){this._dynamicHeight=Zn(o)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(o){this._indexToSelect=Ka(o,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(o){this._animationDuration=/^\d+$/.test(o+"")?o+"ms":o}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(o){this._contentTabIndex=Ka(o,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(o){var s=this._elementRef.nativeElement;s.classList.remove("mat-background-".concat(this.backgroundColor)),o&&s.classList.add("mat-background-".concat(o)),this._backgroundColor=o}},{key:"ngAfterContentChecked",value:function(){var o=this,s=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=s){var l=null==this._selectedIndex;if(!l){this.selectedTabChange.emit(this._createChangeEvent(s));var u=this._tabBodyWrapper.nativeElement;u.style.minHeight=u.clientHeight+"px"}Promise.resolve().then(function(){o._tabs.forEach(function(f,m){return f.isActive=m===s}),l||(o.selectedIndexChange.emit(s),o._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(f,m){f.position=m-s,null!=o._selectedIndex&&0==f.position&&!f.origin&&(f.origin=s-o._selectedIndex)}),this._selectedIndex!==s&&(this._selectedIndex=s,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var o=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(o._clampTabIndex(o._indexToSelect)===o._selectedIndex)for(var l=o._tabs.toArray(),u=0;u.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),n}(),g$=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[bo,Pn,Zp,df,tv,u2],Pn]}),n}(),_$=["button"],y$=["settingsButton"],b$=["firstInput"];function k$(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),Me(" ",W(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function M$(n,i){1&n&&(F(0),Y(1,"translate")),2&n&&Me(" ",W(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}function C$(n,i){1&n&&(P(0,"mat-form-field"),Ee(1,"input",20),Y(2,"translate"),E()),2&n&&(v(1),L("placeholder",W(2,1,"apps.vpn-socks-client-settings.password")))}function w$(n,i){1&n&&(P(0,"div",21)(1,"mat-icon",22),F(2,"warning"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me(" ",W(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function S$(n,i){1&n&&Ee(0,"app-loading-indicator",23),2&n&&L("showWhite",!1)}function D$(n,i){1&n&&(P(0,"div",24)(1,"mat-icon",22),F(2,"error"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me(" ",W(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function T$(n,i){1&n&&(P(0,"div",31),F(1),Y(2,"translate"),E()),2&n&&(v(1),Me(" ",W(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function L$(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e[1]))}}function E$(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),_e(e[2])}}function P$(n,i){if(1&n&&(P(0,"div",31)(1,"span"),F(2),Y(3,"translate"),E(),K(4,L$,3,3,"ng-container",7),K(5,E$,2,1,"ng-container",7),E()),2&n){var e=i.$implicit;v(2),Me("",W(3,3,e[0])," "),v(2),L("ngIf",e[1]),v(1),L("ngIf",e[2])}}function x$(n,i){1&n&&(P(0,"div",24)(1,"mat-icon",22),F(2,"error"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me(" ",W(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}var QE=function(i){return{highlighted:i}};function O$(n,i){if(1&n&&(Ke(0),P(1,"span",36),F(2),E(),Ze()),2&n){var e=i.$implicit,t=i.index;v(1),L("ngClass",Qe(2,QE,t%2!=0)),v(1),_e(e)}}function A$(n,i){if(1&n&&(Ke(0),P(1,"div",37),Ee(2,"div"),E(),Ze()),2&n){var e=q(2).$implicit;v(2),er("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function I$(n,i){if(1&n&&(Ke(0),P(1,"span",36),F(2),E(),Ze()),2&n){var e=i.$implicit,t=i.index;v(1),L("ngClass",Qe(2,QE,t%2!=0)),v(1),_e(e)}}function R$(n,i){if(1&n&&(P(0,"div",31)(1,"span"),F(2),Y(3,"translate"),E(),P(4,"span"),F(5,"\xa0 "),K(6,A$,3,2,"ng-container",7),K(7,I$,3,4,"ng-container",34),E()()),2&n){var e=q().$implicit,t=q(2);v(2),_e(W(3,3,"apps.vpn-socks-client-settings.location")),v(4),L("ngIf",e.country),v(1),L("ngForOf",t.getHighlightedTextParts(e.location,t.currentFilters.location))}}function F$(n,i){if(1&n){var e=tt();P(0,"div",32)(1,"button",25),Se("click",function(){var l=ke(e).$implicit;return q(2).saveChanges(l.pk,null,!1,l.location)}),P(2,"div",33)(3,"div",31)(4,"span"),F(5),Y(6,"translate"),E(),P(7,"span"),F(8,"\xa0"),K(9,O$,3,4,"ng-container",34),E()(),K(10,R$,8,5,"div",28),E()(),P(11,"button",35),Se("click",function(){var l=ke(e).$implicit;return q(2).copyPk(l.pk)}),Y(12,"translate"),P(13,"mat-icon",22),F(14,"filter_none"),E()()()}if(2&n){var t=i.$implicit,a=q(2);v(5),_e(W(6,5,"apps.vpn-socks-client-settings.key")),v(4),L("ngForOf",a.getHighlightedTextParts(t.pk,a.currentFilters.key)),v(1),L("ngIf",t.location),v(1),L("matTooltip",W(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),v(2),L("inline",!0)}}function N$(n,i){if(1&n){var e=tt();Ke(0),P(1,"button",25),Se("click",function(){return ke(e),q().changeFilters()}),P(2,"div",26)(3,"div",27)(4,"mat-icon",22),F(5,"filter_list"),E()(),P(6,"div"),K(7,T$,3,3,"div",28),K(8,P$,6,5,"div",29),P(9,"div",30),F(10),Y(11,"translate"),E()()()(),K(12,x$,5,4,"div",12),K(13,F$,15,9,"div",14),Ze()}if(2&n){var t=q();v(4),L("inline",!0),v(3),L("ngIf",0===t.currentFiltersTexts.length),v(1),L("ngForOf",t.currentFiltersTexts),v(2),_e(W(11,6,"apps.vpn-socks-client-settings.click-to-change")),v(2),L("ngIf",0===t.filteredProxiesFromDiscovery.length),v(1),L("ngForOf",t.proxiesFromDiscoveryToShow)}}var Y$=function(i,e){return{currentElementsRange:i,totalElements:e}};function H$(n,i){if(1&n){var e=tt();P(0,"div",38)(1,"span"),F(2),Y(3,"translate"),E(),P(4,"button",39),Se("click",function(){return ke(e),q().goToPreviousPage()}),P(5,"mat-icon"),F(6,"chevron_left"),E()(),P(7,"button",39),Se("click",function(){return ke(e),q().goToNextPage()}),P(8,"mat-icon"),F(9,"chevron_right"),E()()()}if(2&n){var t=q();v(2),_e(Ht(3,1,"apps.vpn-socks-client-settings.pagination-info",En(4,Y$,t.currentRange,t.filteredProxiesFromDiscovery.length)))}}var B$=function(i){return{number:i}};function V$(n,i){if(1&n&&(P(0,"div")(1,"div",24)(2,"mat-icon",22),F(3,"error"),E(),F(4),Y(5,"translate"),E()()),2&n){var e=q();v(2),L("inline",!0),v(2),Me(" ",Ht(5,2,"apps.vpn-socks-client-settings.no-history",Qe(5,B$,e.maxHistoryElements))," ")}}function j$(n,i){1&n&&ws(0)}function U$(n,i){1&n&&ws(0)}function z$(n,i){if(1&n&&(Ke(0),P(1,"span"),F(2),E(),Ze()),2&n){var e=q(2).$implicit;v(2),Me(" ",e.note,"")}}function W$(n,i){1&n&&(Ke(0),P(1,"span"),F(2),Y(3,"translate"),E(),Ze()),2&n&&(v(2),Me(" ",W(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function G$(n,i){if(1&n&&(Ke(0),P(1,"span"),F(2),E(),Ze()),2&n){var e=q(4).$implicit;v(2),Me(" (",e.location,")")}}function q$(n,i){if(1&n&&(Ke(0),P(1,"span"),F(2),Y(3,"translate"),E(),K(4,G$,3,1,"ng-container",7),Ze()),2&n){var e=q(3).$implicit;v(2),Me(" ",W(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),v(2),L("ngIf",e.location)}}function K$(n,i){if(1&n&&(Ke(0),K(1,W$,4,3,"ng-container",7),K(2,q$,5,4,"ng-container",7),Ze()),2&n){var e=q(2).$implicit;v(1),L("ngIf",e.enteredManually),v(1),L("ngIf",!e.enteredManually)}}function Z$(n,i){if(1&n&&(P(0,"div",45)(1,"div",46)(2,"div",31)(3,"span"),F(4),Y(5,"translate"),E(),P(6,"span"),F(7),E()(),P(8,"div",31)(9,"span"),F(10),Y(11,"translate"),E(),K(12,z$,3,1,"ng-container",7),K(13,K$,3,2,"ng-container",7),E()(),P(14,"div",47)(15,"div",48)(16,"mat-icon",22),F(17,"add"),E()()()()),2&n){var e=q().$implicit;v(4),_e(W(5,6,"apps.vpn-socks-client-settings.key")),v(3),Me(" ",e.key,""),v(3),_e(W(11,8,"apps.vpn-socks-client-settings.note")),v(2),L("ngIf",e.note),v(1),L("ngIf",!e.note),v(3),L("inline",!0)}}function $$(n,i){if(1&n){var e=tt();P(0,"div",32)(1,"button",40),Se("click",function(){var s=ke(e).$implicit;return q().useFromHistory(s)}),K(2,j$,1,0,"ng-container",41),E(),P(3,"button",42),Se("click",function(){var s=ke(e).$implicit;return q().changeNote(s)}),Y(4,"translate"),P(5,"mat-icon",22),F(6,"edit"),E()(),P(7,"button",42),Se("click",function(){var s=ke(e).$implicit;return q().removeFromHistory(s.key)}),Y(8,"translate"),P(9,"mat-icon",22),F(10,"close"),E()(),P(11,"button",43),Se("click",function(){var s=ke(e).$implicit;return q().openHistoryOptions(s)}),K(12,U$,1,0,"ng-container",41),E(),K(13,Z$,18,10,"ng-template",null,44,Ts),E()}if(2&n){var t=sr(14);v(2),L("ngTemplateOutlet",t),v(1),L("matTooltip",W(4,6,"apps.vpn-socks-client-settings.change-note")),v(2),L("inline",!0),v(2),L("matTooltip",W(8,8,"apps.vpn-socks-client-settings.remove-entry")),v(2),L("inline",!0),v(3),L("ngTemplateOutlet",t)}}function Q$(n,i){1&n&&(P(0,"div",49)(1,"mat-icon",22),F(2,"warning"),E(),F(3),Y(4,"translate"),E()),2&n&&(v(1),L("inline",!0),v(2),Me(" ",W(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}var J$=function(){var n=function(){function i(e,t,a,o,s,l,u,f){c(this,i),this.data=e,this.dialogRef=t,this.appsService=a,this.formBuilder=o,this.snackbarService=s,this.dialog=l,this.proxyDiscoveryService=u,this.clipboardService=f,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new VE,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(function(l){t.proxiesFromDiscovery=l,t.proxiesFromDiscovery.forEach(function(u){u.country&&t.countriesFromDiscovery.add(u.country.toUpperCase())}),t.filterProxies(),t.loadingFromDiscovery=!1});var a=localStorage.getItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=a?JSON.parse(a):[];var o="";if(this.data.args&&this.data.args.length>0)for(var s=0;s=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}},{key:"goToPreviousPage",value:function(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}},{key:"showCurrentPage",value:function(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPage0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if((this.form.valid||a)&&!this.working){s=!a||s,o=a?o:this.form.get("password").value,a=a||this.form.get("pk").value;var f="apps.vpn-socks-client-settings.change-key-confirmation",m=Zt.createConfirmationDialog(this.dialog,f);m.componentInstance.operationAccepted.subscribe(function(){m.close(),t.continueSavingChanges(a,o,s,l,u)})}}},{key:"saveSettings",value:function(){var t=this;if(!this.working){var a={killswitch:this.killswitch};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(Ot.getCurrentNodeKey(),this.data.name,a).subscribe(function(){t.initialKillswitchSetting=t.killswitch,t.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),t.working=!1,t.settingsButton.reset(!1),t.button.reset(!1),Ot.refreshCurrentDisplayedData()},function(o){t.working=!1,t.settingsButton.showError(!1),t.button.reset(!1),o=dn(o),t.snackbarService.showError(o)})}}},{key:"copyPk",value:function(t){this.clipboardService.copy(t)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}},{key:"continueSavingChanges",value:function(t,a,o,s,l){var u=this;if(!this.working){this.button.showLoading(!1),this.settingsButton.showLoading(!1),this.working=!0;var f={pk:t};this.configuringVpn&&(f.passcode=a||""),this.operationSubscription=this.appsService.changeAppSettings(Ot.getCurrentNodeKey(),this.data.name,f).subscribe(function(){return u.onServerDataChangeSuccess(t,!!a,o,s,l)},function(m){return u.onServerDataChangeError(m)})}}},{key:"onServerDataChangeSuccess",value:function(t,a,o,s,l){this.history=this.history.filter(function(w){return w.key!==t});var u={key:t,enteredManually:o};if(a&&(u.hasPassword=a),s&&(u.location=s),l&&(u.note=l),this.history=[u].concat(this.history),this.history.length>this.maxHistoryElements){var f=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-f,f)}this.form.get("pk").setValue(t);var m=JSON.stringify(this.history);localStorage.setItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,m),Ot.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)}},{key:"onServerDataChangeError",value:function(t){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),t=dn(t),this.snackbarService.showError(t)}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Ur),V(Rr),V(gc),V(Zi),V(An),V(Wn),V(IZ),V(Cf))},n.\u0275cmp=We({type:n,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,t){var a;1&e&&(_t(_$,5),_t(y$,5),_t(b$,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.settingsButton=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:44,vars:46,consts:[[3,"headline"],[3,"label"],[3,"formGroup"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[3,"ngClass"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(e,t){if(1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"mat-tab-group")(3,"mat-tab",1),Y(4,"translate"),P(5,"form",2)(6,"mat-form-field"),Ee(7,"input",3,4),Y(9,"translate"),P(10,"mat-error"),K(11,k$,3,3,"ng-container",5),E(),K(12,M$,2,3,"ng-template",null,6,Ts),E(),K(14,C$,3,3,"mat-form-field",7),K(15,w$,5,4,"div",8),P(16,"app-button",9,10),Se("action",function(){return t.saveChanges()}),F(18),Y(19,"translate"),E()()(),P(20,"mat-tab",1),Y(21,"translate"),K(22,S$,1,1,"app-loading-indicator",11),K(23,D$,5,4,"div",12),K(24,N$,14,8,"ng-container",7),K(25,H$,10,7,"div",13),E(),P(26,"mat-tab",1),Y(27,"translate"),K(28,V$,6,7,"div",7),K(29,$$,15,10,"div",14),E(),P(30,"mat-tab",1),Y(31,"translate"),P(32,"div",15)(33,"mat-checkbox",16),Se("change",function(s){return t.setKillswitch(s)}),F(34),Y(35,"translate"),P(36,"mat-icon",17),Y(37,"translate"),F(38,"help"),E()()(),K(39,Q$,5,4,"div",18),P(40,"app-button",9,19),Se("action",function(){return t.saveSettings()}),F(42),Y(43,"translate"),E()()()()),2&e){var a=sr(13);L("headline",W(1,26,"apps.vpn-socks-client-settings."+(t.configuringVpn?"vpn-title":"socks-title"))),v(3),L("label",W(4,28,"apps.vpn-socks-client-settings.remote-visor-tab")),v(2),L("formGroup",t.form),v(2),L("placeholder",W(9,30,"apps.vpn-socks-client-settings.public-key")),v(4),L("ngIf",!t.form.get("pk").hasError("pattern"))("ngIfElse",a),v(3),L("ngIf",t.configuringVpn),v(1),L("ngIf",t.form&&t.form.get("password").value),v(1),L("disabled",!t.form.valid||t.working),v(2),Me(" ",W(19,32,"apps.vpn-socks-client-settings.save")," "),v(2),L("label",W(21,34,"apps.vpn-socks-client-settings.discovery-tab")),v(2),L("ngIf",t.loadingFromDiscovery),v(1),L("ngIf",!t.loadingFromDiscovery&&0===t.proxiesFromDiscovery.length),v(1),L("ngIf",!t.loadingFromDiscovery&&t.proxiesFromDiscovery.length>0),v(1),L("ngIf",t.numberOfPages>1),v(1),L("label",W(27,36,"apps.vpn-socks-client-settings.history-tab")),v(2),L("ngIf",0===t.history.length),v(1),L("ngForOf",t.history),v(1),L("label",W(31,38,"apps.vpn-socks-client-settings.settings-tab")),v(3),L("checked",t.killswitch),v(1),Me(" ",W(35,40,"apps.vpn-socks-client-settings.killswitch-check")," "),v(2),L("inline",!0)("matTooltip",W(37,42,"apps.vpn-socks-client-settings.killswitch-info")),v(3),L("ngIf",t.killswitch!==t.initialKillswitchSetting),v(1),L("disabled",t.killswitch===t.initialKillswitchSetting||t.working),v(2),Me(" ",W(43,44,"apps.vpn-socks-client-settings.save-settings")," ")}},directives:[_r,m$,WE,ei,Xr,gr,bi,Qr,$i,Jr,zr,Yi,Mf,Et,Mn,ui,Jo,yi,xr,mr,ur,tp,Ns],pipes:[Mt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),n}();function X$(n,i){1&n&&(P(0,"span",14),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"apps.apps-list.title")))}function eQ(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.translatableValue))}}function tQ(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),_e(e.value)}}function nQ(n,i){if(1&n&&(P(0,"div",18)(1,"span"),F(2),Y(3,"translate"),E(),K(4,eQ,3,3,"ng-container",19),K(5,tQ,2,1,"ng-container",19),E()),2&n){var e=i.$implicit;v(2),Me("",W(3,3,e.filterName),": "),v(2),L("ngIf",e.translatableValue),v(1),L("ngIf",e.value)}}function rQ(n,i){if(1&n){var e=tt();P(0,"div",15),Se("click",function(){return ke(e),q().dataFilterer.removeFilters()}),K(1,nQ,6,5,"div",16),P(2,"div",17),F(3),Y(4,"translate"),E()()}if(2&n){var t=q();v(1),L("ngForOf",t.dataFilterer.currentFiltersTexts),v(2),_e(W(4,2,"filters.press-to-remove"))}}function iQ(n,i){if(1&n){var e=tt();P(0,"mat-icon",20),Se("click",function(){return ke(e),q().dataFilterer.changeFilters()}),Y(1,"translate"),F(2,"filter_list"),E()}2&n&&L("inline",!0)("matTooltip",W(1,2,"filters.filter-action"))}function aQ(n,i){1&n&&(P(0,"mat-icon",21),F(1,"more_horiz"),E()),2&n&&(q(),L("matMenuTriggerFor",sr(9)))}var qb=function(i){return["/nodes",i,"apps-list"]};function oQ(n,i){if(1&n&&Ee(0,"app-paginator",22),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function sQ(n,i){if(1&n&&(P(0,"mat-icon",37),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function lQ(n,i){if(1&n&&(P(0,"mat-icon",37),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function uQ(n,i){if(1&n&&(P(0,"mat-icon",37),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function cQ(n,i){if(1&n&&(P(0,"mat-icon",37),F(1),E()),2&n){var e=q(2);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function dQ(n,i){if(1&n&&(Ee(0,"i",46),Y(1,"translate")),2&n){var e=q().$implicit,t=q(2);sa(t.getStateClass(e)),L("matTooltip",W(1,3,t.getStateTooltip(e)))}}var JE=function(i){return{error:i}};function fQ(n,i){if(1&n&&(P(0,"mat-icon",47),Y(1,"translate"),F(2,"warning"),E()),2&n){var e=q().$implicit;L("inline",!0)("matTooltip",Ht(1,2,"apps.status-failed-tooltip",Qe(5,JE,e.detailedStatus?e.detailedStatus:"")))}}function hQ(n,i){if(1&n&&(P(0,"a",48)(1,"button",49),Y(2,"translate"),P(3,"mat-icon",37),F(4,"open_in_browser"),E()()()),2&n){var e=q().$implicit;L("href",q(2).getLink(e),Fo),v(1),L("matTooltip",W(2,3,"apps.open")),v(2),L("inline",!0)}}function pQ(n,i){if(1&n){var e=tt();P(0,"button",43),Se("click",function(){ke(e);var a=q().$implicit;return q(2).config(a)}),Y(1,"translate"),P(2,"mat-icon",37),F(3,"settings"),E()()}2&n&&(L("matTooltip",W(1,2,"apps.settings")),v(2),L("inline",!0))}function vQ(n,i){if(1&n){var e=tt();P(0,"tr")(1,"td",39)(2,"mat-checkbox",40),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(3,"td"),K(4,dQ,2,5,"i",41),K(5,fQ,3,7,"mat-icon",42),E(),P(6,"td"),F(7),E(),P(8,"td"),F(9),E(),P(10,"td")(11,"button",43),Se("click",function(){var l=ke(e).$implicit;return q(2).changeAppAutostart(l)}),Y(12,"translate"),P(13,"mat-icon",37),F(14),E()()(),P(15,"td",30),K(16,hQ,5,5,"a",44),K(17,pQ,4,4,"button",45),P(18,"button",43),Se("click",function(){var l=ke(e).$implicit;return q(2).viewLogs(l)}),Y(19,"translate"),P(20,"mat-icon",37),F(21,"list"),E()(),P(22,"button",43),Se("click",function(){var l=ke(e).$implicit;return q(2).changeAppState(l)}),Y(23,"translate"),P(24,"mat-icon",37),F(25),E()()()()}if(2&n){var t=i.$implicit,a=q(2);v(2),L("checked",a.selections.get(t.name)),v(2),L("ngIf",2!==t.status),v(1),L("ngIf",2===t.status),v(2),Me(" ",t.name," "),v(2),Me(" ",t.port," "),v(2),L("matTooltip",W(12,15,t.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),v(2),L("inline",!0),v(1),_e(t.autostart?"done":"close"),v(2),L("ngIf",a.getLink(t)),v(1),L("ngIf",a.appsWithConfig.has(t.name)),v(1),L("matTooltip",W(19,17,"apps.view-logs")),v(2),L("inline",!0),v(2),L("matTooltip",W(23,19,"apps."+(0===t.status||2===t.status?"start-app":"stop-app"))),v(2),L("inline",!0),v(1),_e(0===t.status||2===t.status?"play_arrow":"stop")}}function mQ(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.label")))}function gQ(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"tables.inverted-order")))}function _Q(n,i){if(1&n&&(P(0,"a",55),Se("click",function(o){return o.stopPropagation()}),P(1,"button",56),Y(2,"translate"),P(3,"mat-icon"),F(4,"open_in_browser"),E()()()),2&n){var e=q().$implicit;L("href",q(2).getLink(e),Fo),v(1),L("matTooltip",W(2,2,"apps.open"))}}function yQ(n,i){if(1&n){var e=tt();P(0,"tr")(1,"td")(2,"div",34)(3,"div",50)(4,"mat-checkbox",40),Se("change",function(){var l=ke(e).$implicit;return q(2).changeSelection(l)}),E()(),P(5,"div",35)(6,"div",51)(7,"span",1),F(8),Y(9,"translate"),E(),F(10),E(),P(11,"div",51)(12,"span",1),F(13),Y(14,"translate"),E(),F(15),E(),P(16,"div",51)(17,"span",1),F(18),Y(19,"translate"),E(),F(20,": "),P(21,"span"),F(22),Y(23,"translate"),E()(),P(24,"div",51)(25,"span",1),F(26),Y(27,"translate"),E(),F(28,": "),P(29,"span"),F(30),Y(31,"translate"),E()()(),Ee(32,"div",52),P(33,"div",36),K(34,_Q,5,4,"a",53),P(35,"button",54),Se("click",function(s){var u=ke(e).$implicit,f=q(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(36,"translate"),P(37,"mat-icon"),F(38),E()()()()()()}if(2&n){var t=i.$implicit,a=q(2);v(4),L("checked",a.selections.get(t.name)),v(4),_e(W(9,16,"apps.apps-list.app-name")),v(2),Me(": ",t.name," "),v(3),_e(W(14,18,"apps.apps-list.port")),v(2),Me(": ",t.port," "),v(3),_e(W(19,20,"apps.apps-list.state")),v(3),sa(a.getSmallScreenStateClass(t)+" title"),v(1),Me(" ",Ht(23,22,a.getSmallScreenStateTextVar(t),Qe(31,JE,t.detailedStatus?t.detailedStatus:""))," "),v(4),_e(W(27,25,"apps.apps-list.auto-start")),v(3),sa((t.autostart?"green-clear-text":"red-clear-text")+" title"),v(1),Me(" ",W(31,27,t.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),v(4),L("ngIf",a.getLink(t)),v(1),L("matTooltip",W(36,29,"common.options")),v(3),_e("add")}}function bQ(n,i){if(1&n&&Ee(0,"app-view-all-link",57),2&n){var e=q(2);L("numberOfElements",e.filteredApps.length)("linkParts",Qe(3,qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var kQ=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},MQ=function(i){return{"d-lg-none d-xl-table":i}},CQ=function(i){return{"d-lg-table d-xl-none":i}};function wQ(n,i){if(1&n){var e=tt();P(0,"div",23)(1,"div",24)(2,"table",25)(3,"tr"),Ee(4,"th"),P(5,"th",26),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.stateSortData)}),Y(6,"translate"),Ee(7,"span",27),K(8,sQ,2,2,"mat-icon",28),E(),P(9,"th",29),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.nameSortData)}),F(10),Y(11,"translate"),K(12,lQ,2,2,"mat-icon",28),E(),P(13,"th",29),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.portSortData)}),F(14),Y(15,"translate"),K(16,uQ,2,2,"mat-icon",28),E(),P(17,"th",29),Se("click",function(){ke(e);var o=q();return o.dataSorter.changeSortingOrder(o.autoStartSortData)}),F(18),Y(19,"translate"),K(20,cQ,2,2,"mat-icon",28),E(),Ee(21,"th",30),E(),K(22,vQ,26,21,"tr",31),E(),P(23,"table",32)(24,"tr",33),Se("click",function(){return ke(e),q().dataSorter.openSortingOrderModal()}),P(25,"td")(26,"div",34)(27,"div",35)(28,"div",1),F(29),Y(30,"translate"),E(),P(31,"div"),F(32),Y(33,"translate"),K(34,mQ,3,3,"ng-container",19),K(35,gQ,3,3,"ng-container",19),E()(),P(36,"div",36)(37,"mat-icon",37),F(38,"keyboard_arrow_down"),E()()()()(),K(39,yQ,39,33,"tr",31),E(),K(40,bQ,1,5,"app-view-all-link",38),E()()}if(2&n){var t=q();v(1),L("ngClass",En(31,kQ,t.showShortList_,!t.showShortList_)),v(1),L("ngClass",Qe(34,MQ,t.showShortList_)),v(3),L("matTooltip",W(6,19,"apps.apps-list.state-tooltip")),v(3),L("ngIf",t.dataSorter.currentSortingColumn===t.stateSortData),v(2),Me(" ",W(11,21,"apps.apps-list.app-name")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.nameSortData),v(2),Me(" ",W(15,23,"apps.apps-list.port")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.portSortData),v(2),Me(" ",W(19,25,"apps.apps-list.auto-start")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.autoStartSortData),v(2),L("ngForOf",t.dataSource),v(1),L("ngClass",Qe(36,CQ,t.showShortList_)),v(6),_e(W(30,27,"tables.sorting-title")),v(3),Me("",W(33,29,t.dataSorter.currentSortingColumn.label)," "),v(2),L("ngIf",t.dataSorter.currentlySortingByLabel),v(1),L("ngIf",t.dataSorter.sortingInReverseOrder),v(2),L("inline",!0),v(2),L("ngForOf",t.dataSource),v(1),L("ngIf",t.showShortList_&&t.numberOfPages>1)}}function SQ(n,i){1&n&&(P(0,"span",61),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"apps.apps-list.empty")))}function DQ(n,i){1&n&&(P(0,"span",61),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"apps.apps-list.empty-with-filter")))}function TQ(n,i){if(1&n&&(P(0,"div",23)(1,"div",58)(2,"mat-icon",59),F(3,"warning"),E(),K(4,SQ,3,3,"span",60),K(5,DQ,3,3,"span",60),E()()),2&n){var e=q();v(2),L("inline",!0),v(2),L("ngIf",0===e.allApps.length),v(1),L("ngIf",0!==e.allApps.length)}}function LQ(n,i){if(1&n&&Ee(0,"app-paginator",22),2&n){var e=q();L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var EQ=function(i){return{"paginator-icons-fixer":i}},XE=function(){var n=function(){function i(e,t,a,o,s,l){var u=this;c(this,i),this.appsService=e,this.dialog=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.listId="ap",this.stateSortData=new xn(["status"],"apps.apps-list.state",Xt.NumberReversed),this.nameSortData=new xn(["name"],"apps.apps-list.app-name",Xt.Text),this.portSortData=new xn(["port"],"apps.apps-list.port",Xt.Number),this.autoStartSortData=new xn(["autostart"],"apps.apps-list.auto-start",Xt.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:Gn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:Gn.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:Gn.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:Gn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new pc(this.dialog,this.translateService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()}),this.dataFilterer=new mc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(m){u.filteredApps=m,u.dataSorter.setData(u.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(m){if(m.has("page")){var w=Number.parseInt(m.get("page"),10);(isNaN(w)||w<1)&&(w=1),u.currentPageInUrl=w,u.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredApps)}},{key:"apps",set:function(t){this.allApps=t||[],this.dataFilterer.setData(this.allApps)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}},{key:"getLink",value:function(t){if("skychat"===t.name.toLocaleLowerCase()&&this.nodeIp&&0!==t.status&&2!==t.status){var a="8001";if(t.args)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:null;this.operationSubscriptionsGroup.push(t.subscribe(function(){o&&o.close(),setTimeout(function(){a.refreshAgain=!0,Ot.refreshCurrentDisplayedData()},50),a.snackbarService.showDone("apps.operation-completed")},function(s){s=dn(s),setTimeout(function(){a.refreshAgain=!0,Ot.refreshCurrentDisplayedData()},50),o?o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg):a.snackbarService.showError(s)}))}},{key:"viewLogs",value:function(t){0!==t.status&&2!==t.status?vZ.openDialog(this.dialog,t):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}},{key:"config",value:function(t){"skysocks"===t.name||"vpn-server"===t.name?bZ.openDialog(this.dialog,t):"skysocks-client"===t.name||"vpn-client"===t.name?J$.openDialog(this.dialog,t):this.snackbarService.showError("apps.error")}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredApps){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(o,o+a),this.appsMap=new Map,this.appsToShow.forEach(function(u){t.appsMap.set(u.name,u),t.selections.has(u.name)||t.selections.set(u.name,!1)});var l=[];this.selections.forEach(function(u,f){t.appsMap.has(f)||l.push(f)}),l.forEach(function(u){t.selections.delete(u)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(function(){return Ot.refreshCurrentDisplayedData()},2e3))}},{key:"startChangingAppState",value:function(t,a){var o=this;return this.appsService.changeAppState(Ot.getCurrentNodeKey(),t,a).pipe(qe(function(s){return null!=s.status&&o.dataSource.forEach(function(l){l.name===t&&(l.status=s.status,l.detailedStatus=s.detailed_status)}),s}))}},{key:"startChangingAppAutostart",value:function(t,a){return this.appsService.changeAppAutostart(Ot.getCurrentNodeKey(),t,a)}},{key:"changeAppsValRecursively",value:function(t,a,o){var u,s=this,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!t||0===t.length)return setTimeout(function(){return Ot.refreshCurrentDisplayedData()},50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(l&&l.close());u=a?this.startChangingAppAutostart(t[t.length-1],o):this.startChangingAppState(t[t.length-1],o),this.operationSubscriptionsGroup.push(u.subscribe(function(){t.pop(),0===t.length?(l&&l.close(),setTimeout(function(){s.refreshAgain=!0,Ot.refreshCurrentDisplayedData()},50),s.snackbarService.showDone("apps.operation-completed")):s.changeAppsValRecursively(t,a,o,l)},function(f){f=dn(f),setTimeout(function(){s.refreshAgain=!0,Ot.refreshCurrentDisplayedData()},50),l?l.componentInstance.showDone("confirmation.error-header-text",f.translatableErrorMsg):s.snackbarService.showError(f)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(gc),V(Wn),V(oi),V(an),V(An),V(Fi))},n.\u0275cmp=We({type:n,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1),K(2,X$,3,3,"span",2),K(3,rQ,5,4,"div",3),E(),P(4,"div",4)(5,"div",5),K(6,iQ,3,4,"mat-icon",6),K(7,aQ,2,1,"mat-icon",7),P(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),F(11),Y(12,"translate"),E(),P(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),F(14),Y(15,"translate"),E(),P(16,"div",11),Se("click",function(){return t.changeStateOfSelected(!0)}),F(17),Y(18,"translate"),E(),P(19,"div",11),Se("click",function(){return t.changeStateOfSelected(!1)}),F(20),Y(21,"translate"),E(),P(22,"div",11),Se("click",function(){return t.changeAutostartOfSelected(!0)}),F(23),Y(24,"translate"),E(),P(25,"div",11),Se("click",function(){return t.changeAutostartOfSelected(!1)}),F(26),Y(27,"translate"),E()()(),K(28,oQ,1,6,"app-paginator",12),E()(),K(29,wQ,41,38,"div",13),K(30,TQ,6,3,"div",13),K(31,LQ,1,6,"app-paginator",12)),2&e&&(L("ngClass",Qe(32,EQ,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),v(2),L("ngIf",t.showShortList_),v(1),L("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),v(3),L("ngIf",t.allApps&&t.allApps.length>0),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("overlapTrigger",!1),v(3),Me(" ",W(12,20,"selection.select-all")," "),v(3),Me(" ",W(15,22,"selection.unselect-all")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(18,24,"selection.start-all")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(21,26,"selection.stop-all")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(24,28,"selection.enable-autostart-all")," "),v(2),Ln("disabled",!t.hasSelectedElements()),v(1),Me(" ",W(27,30,"selection.disable-autostart-all")," "),v(2),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),v(1),L("ngIf",t.dataSource&&t.dataSource.length>0),v(1),L("ngIf",!t.dataSource||0===t.dataSource.length),v(1),L("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,xr,Mn,ur,bc,yc,es,kc,Ns,yi,xv],pipes:[Mt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),n}(),PQ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=Ot.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.apps=a.apps,t.nodeIp=a.ip})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(e,t){1&e&&Ee(0,"app-node-app-list",0),2&e&&L("apps",t.apps)("showShortList",!0)("nodePK",t.nodePK)("nodeIp",t.nodeIp)},directives:[XE],styles:[""]}),n}();function xQ(n,i){1&n&&Ee(0,"app-transport-list",1),2&n&&L("node",q().node)("showShortList",!1)}var OQ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=Ot.currentNode.subscribe(function(a){return t.node=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,t){1&e&&K(0,xQ,1,2,"app-transport-list",0),2&e&&L("ngIf",t.node)},directives:[Et,YE],styles:[""]}),n}();function AQ(n,i){if(1&n&&Ee(0,"app-route-list",1),2&n){var e=q();L("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}var IQ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=Ot.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.routes=a.routes})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,t){1&e&&K(0,AQ,1,3,"app-route-list",0),2&e&&L("ngIf",t.routes)},directives:[Et,BE],styles:[""]}),n}();function RQ(n,i){if(1&n&&Ee(0,"app-node-app-list",1),2&n){var e=q();L("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}var FQ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=Ot.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.apps=a.apps})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,t){1&e&&K(0,RQ,1,3,"app-node-app-list",0),2&e&&L("ngIf",t.apps)},directives:[Et,XE],styles:[""]}),n}(),NQ=["button"],YQ=["firstInput"],eP=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.snackbarService=o,this.routeService=s}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({min:[this.data.minHops,Cn.compose([Cn.required,Cn.maxLength(3),Cn.pattern("^[0-9]+$")])]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"ngOnDestroy",value:function(){this.operationSubscription&&this.operationSubscription.unsubscribe()}},{key:"save",value:function(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}},{key:"onSuccess",value:function(t){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}},{key:"onError",value:function(t){this.button.showError(),this.operationSubscription=null,t=dn(t),this.snackbarService.showError(t)}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr),V(Ur),V(Zi),V(An),V(HE))},n.\u0275cmp=We({type:n,selectors:[["app-router-config"]],viewQuery:function(e,t){var a;1&e&&(_t(NQ,5),_t(YQ,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:14,vars:14,consts:[[3,"headline"],[1,"info-container"],[3,"formGroup"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,t){1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"div",1),F(3),Y(4,"translate"),E(),P(5,"form",2)(6,"mat-form-field"),Ee(7,"input",3,4),Y(9,"translate"),E()(),P(10,"app-button",5,6),Se("action",function(){return t.save()}),F(12),Y(13,"translate"),E()()),2&e&&(L("headline",W(1,6,"router-config.title")),v(3),_e(W(4,8,"router-config.info")),v(2),L("formGroup",t.form),v(2),L("placeholder",W(9,10,"router-config.min-hops")),v(3),L("disabled",!t.form.valid),v(2),Me(" ",W(13,12,"router-config.save-config-button")," "))},directives:[_r,ei,Xr,gr,bi,Qr,$i,Jr,zr,Yi,ui],pipes:[Mt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),n}(),HQ=function(){var n=function(){function i(e){c(this,i),this.clipboardService=e,this.copyEvent=new pt,this.errorEvent=new pt,this.value=""}return d(i,[{key:"ngOnDestroy",value:function(){this.copyEvent.complete(),this.errorEvent.complete()}},{key:"copyToClipboard",value:function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Cf))},n.\u0275dir=et({type:n,selectors:[["","clipboard",""]],hostBindings:function(e,t){1&e&&Se("click",function(){return t.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),n}();function BQ(n,i){if(1&n&&(Ke(0),Ee(1,"app-truncated-text",3),F(2," \xa0"),P(3,"mat-icon",4),F(4,"filter_none"),E(),Ze()),2&n){var e=q();v(1),L("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),v(2),L("inline",!0)}}function VQ(n,i){if(1&n&&(P(0,"div",5)(1,"div",6),F(2),E(),F(3," \xa0"),P(4,"mat-icon",4),F(5,"filter_none"),E()()),2&n){var e=q();v(2),_e(e.text),v(2),L("inline",!0)}}var jQ=function(i){return{text:i}},UQ=function(){return{"tooltip-word-break":!0}},Kb=function(){var n=function(){function i(e){c(this,i),this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}return d(i,[{key:"onCopyToClipboardClicked",value:function(){this.snackbarService.showDone("copy.copied")}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(An))},n.\u0275cmp=We({type:n,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(e,t){1&e&&(P(0,"div",0),Se("copyEvent",function(){return t.onCopyToClipboardClicked()}),Y(1,"translate"),K(2,BQ,5,5,"ng-container",1),K(3,VQ,6,2,"div",2),E()),2&e&&(L("clipboard",t.text)("matTooltip",Ht(1,5,t.short||t.shortSimple?"copy.tooltip-with-text":"copy.tooltip",Qe(8,jQ,t.text)))("matTooltipClass",Nn(10,UQ)),v(2),L("ngIf",!t.shortSimple),v(1),L("ngIf",t.shortSimple))},directives:[HQ,ur,Et,lE,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none}']}),n}(),zQ=H(6149),WQ=["chart"],Zb=function(){var n=function(){function i(e){c(this,i),this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}return d(i,[{key:"ngAfterViewInit",value:function(){this.chart=new zQ.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:i.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}},{key:"ngDoCheck",value:function(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))}},{key:"ngOnDestroy",value:function(){this.chart&&this.chart.destroy()}},{key:"updateMinAndMax",value:function(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}]),i}();return n.topInternalMargin=5,n.\u0275fac=function(e){return new(e||n)(V(Id))},n.\u0275cmp=We({type:n,selectors:[["app-line-chart"]],viewQuery:function(e,t){var a;1&e&&_t(WQ,5),2&e&<(a=ut())&&(t.chartElement=a.first)},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,t){1&e&&(P(0,"div",0),Ee(1,"canvas",null,1),E()),2&e&&er("height: "+t.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),n}(),tP=function(){return{showValue:!0}},nP=function(){return{showUnit:!0}},GQ=function(){var n=function(){function i(e){c(this,i),this.nodeService=e}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(function(a){t.data=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(hc))},n.\u0275cmp=We({type:n,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,t){1&e&&(P(0,"div",0),Ee(1,"app-line-chart",1),P(2,"div",2)(3,"span",3),F(4),Y(5,"translate"),E(),P(6,"span",4)(7,"span",5),F(8),Y(9,"autoScale"),E(),P(10,"span",6),F(11),Y(12,"autoScale"),E()()()(),P(13,"div",0),Ee(14,"app-line-chart",1),P(15,"div",2)(16,"span",3),F(17),Y(18,"translate"),E(),P(19,"span",4)(20,"span",5),F(21),Y(22,"autoScale"),E(),P(23,"span",6),F(24),Y(25,"autoScale"),E()()()()),2&e&&(v(1),L("data",t.data.sentHistory),v(3),_e(W(5,8,"common.uploaded")),v(4),_e(Ht(9,10,t.data.totalSent,Nn(24,tP))),v(3),_e(Ht(12,13,t.data.totalSent,Nn(25,nP))),v(3),L("data",t.data.receivedHistory),v(3),_e(W(18,16,"common.downloaded")),v(4),_e(Ht(22,18,t.data.totalReceived,Nn(26,tP))),v(3),_e(Ht(25,21,t.data.totalReceived,Nn(27,nP))))},directives:[Zb],pipes:[Mt,Lf],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),n}();function qQ(n,i){if(1&n&&(P(0,"span",4)(1,"span",5),F(2),Y(3,"translate"),E(),Ee(4,"app-copy-to-clipboard-text",8),E()),2&n){var e=q(2);v(2),Me("",W(3,2,"node.details.node-info.public-ip"),"\xa0"),v(2),Ln("text",e.node.publicIp)}}function KQ(n,i){if(1&n&&(P(0,"span",4)(1,"span",5),F(2),Y(3,"translate"),E(),Ee(4,"app-copy-to-clipboard-text",8),E()),2&n){var e=q(2);v(2),Me("",W(3,2,"node.details.node-info.ip"),"\xa0"),v(2),Ln("text",e.node.ip)}}function ZQ(n,i){if(1&n&&(P(0,"span",4)(1,"span",5),F(2),Y(3,"translate"),E(),F(4),E()),2&n){var e=q(2);v(2),_e(W(3,2,"node.details.node-info.skybian-version")),v(2),Me(" ",e.node.skybianBuildVersion," ")}}var $b=function(i){return{time:i}};function $Q(n,i){if(1&n&&(P(0,"mat-icon",12),Y(1,"translate"),F(2," info "),E()),2&n){var e=q(2);L("inline",!0)("matTooltip",Ht(1,2,"node.details.node-info.time.minutes",Qe(5,$b,e.timeOnline.totalMinutes)))}}function QQ(n,i){if(1&n){var e=tt();P(0,"div",1)(1,"div",2)(2,"span",3),F(3),Y(4,"translate"),E(),P(5,"span",4)(6,"span",5),F(7),Y(8,"translate"),E(),P(9,"span",6),Se("click",function(){return ke(e),q().showEditLabelDialog()}),F(10),P(11,"mat-icon",7),F(12,"edit"),E()()(),P(13,"span",4)(14,"span",5),F(15),Y(16,"translate"),E(),Ee(17,"app-copy-to-clipboard-text",8),E(),P(18,"span",4)(19,"span",5),F(20),Y(21,"translate"),E(),F(22),Y(23,"translate"),E(),K(24,qQ,5,4,"span",9),K(25,KQ,5,4,"span",9),P(26,"span",4)(27,"span",5),F(28),Y(29,"translate"),E(),Ee(30,"app-copy-to-clipboard-text",8),E(),P(31,"span",4)(32,"span",5),F(33),Y(34,"translate"),E(),F(35),Y(36,"translate"),E(),P(37,"span",4)(38,"span",5),F(39),Y(40,"translate"),E(),F(41),Y(42,"translate"),E(),P(43,"span",4)(44,"span",5),F(45),Y(46,"translate"),E(),F(47),Y(48,"translate"),E(),K(49,ZQ,5,4,"span",9),P(50,"span",4)(51,"span",5),F(52),Y(53,"translate"),E(),F(54),Y(55,"translate"),K(56,$Q,3,7,"mat-icon",10),E()(),Ee(57,"div",11),P(58,"div",2)(59,"span",3),F(60),Y(61,"translate"),E(),P(62,"span",4)(63,"span",5),F(64),Y(65,"translate"),E(),F(66),Y(67,"translate"),P(68,"mat-icon",12),Y(69,"translate"),F(70,"info"),E()(),P(71,"div",13)(72,"app-button",14),Se("action",function(){return ke(e),q().changeTransportsConfig()}),F(73),Y(74,"translate"),E()()(),Ee(75,"div",11),P(76,"div",2)(77,"span",3),F(78),Y(79,"translate"),E(),P(80,"span",4)(81,"span",5),F(82),Y(83,"translate"),E(),F(84),E(),P(85,"div",13)(86,"app-button",14),Se("action",function(){return ke(e),q().changeRouterConfig()}),F(87),Y(88,"translate"),E()()(),Ee(89,"div",11),P(90,"div",2)(91,"span",3),F(92),Y(93,"translate"),E(),P(94,"span",4)(95,"span",5),F(96),Y(97,"translate"),E(),Ee(98,"i"),F(99),Y(100,"translate"),E()(),Ee(101,"div",11),P(102,"div",2)(103,"span",3),F(104),Y(105,"translate"),E(),Ee(106,"app-charts",15),E()()}if(2&n){var t=q();v(3),_e(W(4,40,"node.details.node-info.title")),v(4),_e(W(8,42,"node.details.node-info.label")),v(3),Me(" ",t.node.label," "),v(1),L("inline",!0),v(4),Me("",W(16,44,"node.details.node-info.public-key"),"\xa0"),v(2),Ln("text",t.node.localPk),v(3),Me("",W(21,46,"node.details.node-info.symmetic-nat"),"\xa0"),v(2),Me(" ",W(23,48,t.node.isSymmeticNat?"common.yes":"common.no")," "),v(2),L("ngIf",!t.node.isSymmeticNat),v(1),L("ngIf",t.node.ip),v(3),Me("",W(29,50,"node.details.node-info.dmsg-server"),"\xa0"),v(2),Ln("text",t.node.dmsgServerPk),v(3),Me("",W(34,52,"node.details.node-info.ping"),"\xa0"),v(2),Me(" ",Ht(36,54,"common.time-in-ms",Qe(94,$b,t.node.roundTripPing))," "),v(4),_e(W(40,57,"node.details.node-info.node-version")),v(2),Me(" ",t.node.version?t.node.version:W(42,59,"common.unknown")," "),v(4),_e(W(46,61,"node.details.node-info.build-type")),v(2),Me(" ",t.node.buildTag?t.node.buildTag:W(48,63,"node.details.node-info.unknown-build")," "),v(2),L("ngIf",t.node.skybianBuildVersion),v(3),_e(W(53,65,"node.details.node-info.time.title")),v(2),Me(" ",Ht(55,67,"node.details.node-info.time."+t.timeOnline.translationVarName,Qe(96,$b,t.timeOnline.elapsedTime))," "),v(2),L("ngIf",t.timeOnline.totalMinutes>60),v(4),_e(W(61,70,"node.details.transports-info.title")),v(4),_e(W(65,72,"node.details.transports-info.autoconnect")),v(2),Me(" ",W(67,74,"node.details.transports-info."+(t.node.autoconnectTransports?"enabled":"disabled"))," "),v(2),L("inline",!0)("matTooltip",W(69,76,"node.details.transports-info.autoconnect-info")),v(4),L("forDarkBackground",!0),v(1),Me(" ",W(74,78,"node.details.transports-info."+(t.node.autoconnectTransports?"disable":"enable")+"-button")," "),v(5),_e(W(79,80,"node.details.router-info.title")),v(4),_e(W(83,82,"node.details.router-info.min-hops")),v(2),Me(" ",t.node.minHops," "),v(2),L("forDarkBackground",!0),v(1),Me(" ",W(88,84,"node.details.router-info.change-config-button")," "),v(5),_e(W(93,86,"node.details.node-health.title")),v(4),_e(W(97,88,"node.details.node-health.uptime-tracker")),v(2),sa(t.nodeHealthClass),v(1),Me(" ",W(100,90,t.nodeHealthText)," "),v(5),_e(W(105,92,"node.details.node-traffic-data"))}}var rP=function(){var n=function(){function i(e,t,a,o){c(this,i),this.dialog=e,this.storageService=t,this.transportService=a,this.snackbarService=o}return d(i,[{key:"nodeInfo",set:function(t){this.node=t,this.timeOnline=bE.getElapsedTime(t.secondsOnline),t.health&&t.health.servicesHealth===Xa.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):t.health&&t.health.servicesHealth===Xa.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):t.health&&t.health.servicesHealth===Xa.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}},{key:"ngOnDestroy",value:function(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}},{key:"showEditLabelDialog",value:function(){var t=this.storageService.getLabelInfo(this.node.localPk);t||(t={id:this.node.localPk,label:"",identifiedElementType:si.Node}),Vb.openDialog(this.dialog,t).afterClosed().subscribe(function(a){a&&Ot.refreshCurrentDisplayedData()})}},{key:"changeRouterConfig",value:function(){eP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(function(a){a&&Ot.refreshCurrentDisplayedData()})}},{key:"changeTransportsConfig",value:function(){var t=this,a=Zt.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=t.transportService.changeAutoconnectSetting(t.node.localPk,!t.node.autoconnectTransports);t.autoconnectSubscription=o.subscribe(function(){a.close(),t.snackbarService.showDone(t.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),Ot.refreshCurrentDisplayedData()},function(s){s=dn(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)})})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Wn),V(Ki),V(zb),V(An))},n.\u0275cmp=We({type:n,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(e,t){1&e&&K(0,QQ,107,98,"div",0),2&e&&L("ngIf",t.node)},directives:[Et,Mn,Kb,ur,ui,GQ],pipes:[Mt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),n}(),JQ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=Ot.currentNode.subscribe(function(a){t.node=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(e,t){1&e&&Ee(0,"app-node-info-content",0),2&e&&L("nodeInfo",t.node)},directives:[rP],styles:[""]}),n}(),XQ=function(){return["settings.title","labels.title"]},eJ=function(){var n=function(){function i(e){c(this,i),this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}return d(i,[{key:"performAction",value:function(t){null===t&&this.router.navigate(["settings"])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(an))},n.\u0275cmp=We({type:n,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(e,t){1&e&&(P(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Se("optionSelected",function(o){return t.performAction(o)}),E()(),P(3,"div",3),Ee(4,"app-label-list",4),E()()),2&e&&(v(2),L("titleParts",Nn(5,XQ))("tabsData",t.tabsData)("showUpdateButton",!1)("returnText",t.returnButtonText),v(2),L("showShortList",!1))},directives:[xl,FE],styles:[""]}),n}(),tJ=["firstInput"];function nJ(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),Me(" ",W(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function rJ(n,i){1&n&&(F(0),Y(1,"translate")),2&n&&Me(" ",W(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}var iJ=function(){var n=function(){function i(e,t,a,o,s,l,u,f){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.dialog=o,this.router=s,this.vpnClientService=l,this.vpnSavedDataService=u,this.snackbarService=f}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({pk:["",Cn.compose([Cn.required,Cn.minLength(66),Cn.maxLength(66),Cn.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"process",value:function(){if(this.form.valid){var t={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};Gr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,t,this.form.get("password").value)}}}],[{key:"openDialog",value:function(t,a){var o=new $n;return o.data=a,o.autoFocus=!1,o.width=Kt.mediumModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Rr),V(Ur),V(Zi),V(Wn),V(an),V(_c),V(Pl),V(An))},n.\u0275cmp=We({type:n,selectors:[["app-add-vpn-server"]],viewQuery:function(e,t){var a;1&e&&_t(tJ,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:23,vars:22,consts:[[3,"headline"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,t){if(1&e&&(P(0,"app-dialog",0),Y(1,"translate"),P(2,"form",1)(3,"mat-form-field"),Ee(4,"input",2,3),Y(6,"translate"),P(7,"mat-error"),K(8,nJ,3,3,"ng-container",4),E(),K(9,rJ,2,3,"ng-template",null,5,Ts),E(),P(11,"mat-form-field"),Ee(12,"input",6),Y(13,"translate"),E(),P(14,"mat-form-field"),Ee(15,"input",7),Y(16,"translate"),E(),P(17,"mat-form-field"),Ee(18,"input",8),Y(19,"translate"),E()(),P(20,"app-button",9),Se("action",function(){return t.process()}),F(21),Y(22,"translate"),E()()),2&e){var a=sr(10);L("headline",W(1,10,"vpn.server-list.add-server-dialog.title")),v(2),L("formGroup",t.form),v(2),L("placeholder",W(6,12,"vpn.server-list.add-server-dialog.pk-label")),v(4),L("ngIf",!t.form.get("pk").hasError("pattern"))("ngIfElse",a),v(4),L("placeholder",W(13,14,"vpn.server-list.add-server-dialog.password-label")),v(3),L("placeholder",W(16,16,"vpn.server-list.add-server-dialog.name-label")),v(3),L("placeholder",W(19,18,"vpn.server-list.add-server-dialog.note-label")),v(2),L("disabled",!t.form.valid),v(1),Me(" ",W(22,20,"vpn.server-list.add-server-dialog.use-server-button")," ")}},directives:[_r,ei,Xr,gr,bi,Qr,$i,Jr,zr,Yi,Mf,Et,ui],pipes:[Mt],styles:[""]}),n}(),aJ=d(function n(){c(this,n),this.countryCode="ZZ"}),oJ=function(){var n=function(){function i(e){c(this,i),this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}return d(i,[{key:"getServers",value:function(){var t=this;return this.servers?Je(this.servers):this.http.get(this.discoveryServiceUrl).pipe(Df(function(a){return a.pipe(ki(4e3))}),qe(function(a){var o=[];return a.forEach(function(s){var l=new aJ,u=s.address.split(":");2===u.length&&(l.pk=u[0],l.location="",s.geo&&(s.geo.country&&(l.countryCode=s.geo.country),s.geo.region&&(l.location=s.geo.region)),l.name=u[0],l.note="",o.push(l))}),t.servers=o,o}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Le(ul))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function sJ(n,i){1&n&&ws(0)}var iP=function(){return["vpn.title"]};function lJ(n,i){if(1&n&&(P(0,"div",3)(1,"div",4),Ee(2,"app-top-bar",5),P(3,"div",6)(4,"div",7)(5,"div",8),K(6,sJ,1,0,"ng-container",9),E()()()(),Ee(7,"app-loading-indicator",10),E()),2&n){var e=q(),t=sr(2);v(2),L("titleParts",Nn(6,iP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),v(4),L("ngTemplateOutlet",t)}}function uJ(n,i){1&n&&(P(0,"div",22)(1,"span"),F(2),Y(3,"translate"),E()()),2&n&&(v(2),_e(W(3,1,"vpn.server-list.tabs.public")))}var Ov=function(i,e){return["/vpn",i,"servers",e,1]};function cJ(n,i){if(1&n&&(P(0,"a",23)(1,"span"),F(2),Y(3,"translate"),E()()),2&n){var e=q(2);L("routerLink",En(4,Ov,e.currentLocalPk,e.lists.Public)),v(2),_e(W(3,2,"vpn.server-list.tabs.public"))}}function dJ(n,i){1&n&&(P(0,"div",22)(1,"span"),F(2),Y(3,"translate"),E()()),2&n&&(v(2),_e(W(3,1,"vpn.server-list.tabs.history")))}function fJ(n,i){if(1&n&&(P(0,"a",23)(1,"span"),F(2),Y(3,"translate"),E()()),2&n){var e=q(2);L("routerLink",En(4,Ov,e.currentLocalPk,e.lists.History)),v(2),_e(W(3,2,"vpn.server-list.tabs.history"))}}function hJ(n,i){1&n&&(P(0,"div",22)(1,"span"),F(2),Y(3,"translate"),E()()),2&n&&(v(2),_e(W(3,1,"vpn.server-list.tabs.favorites")))}function pJ(n,i){if(1&n&&(P(0,"a",23)(1,"span"),F(2),Y(3,"translate"),E()()),2&n){var e=q(2);L("routerLink",En(4,Ov,e.currentLocalPk,e.lists.Favorites)),v(2),_e(W(3,2,"vpn.server-list.tabs.favorites"))}}function vJ(n,i){1&n&&(P(0,"div",22)(1,"span"),F(2),Y(3,"translate"),E()()),2&n&&(v(2),_e(W(3,1,"vpn.server-list.tabs.blocked")))}function mJ(n,i){if(1&n&&(P(0,"a",23)(1,"span"),F(2),Y(3,"translate"),E()()),2&n){var e=q(2);L("routerLink",En(4,Ov,e.currentLocalPk,e.lists.Blocked)),v(2),_e(W(3,2,"vpn.server-list.tabs.blocked"))}}function gJ(n,i){1&n&&Ee(0,"br")}function _J(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q().$implicit;v(1),_e(W(2,1,e.translatableValue))}}function yJ(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),_e(e.value)}}function bJ(n,i){if(1&n&&(P(0,"div",28)(1,"span"),F(2),Y(3,"translate"),E(),K(4,_J,3,3,"ng-container",21),K(5,yJ,2,1,"ng-container",21),E()),2&n){var e=i.$implicit;v(2),Me("",W(3,3,e.filterName),": "),v(2),L("ngIf",e.translatableValue),v(1),L("ngIf",e.value)}}function kJ(n,i){if(1&n){var e=tt();P(0,"div",25),Se("click",function(){return ke(e),q(3).dataFilterer.removeFilters()}),P(1,"div",26)(2,"mat-icon",19),F(3,"search"),E(),F(4),Y(5,"translate"),E(),K(6,bJ,6,5,"div",27),E()}if(2&n){var t=q(3);v(2),L("inline",!0),v(2),Me(" ",W(5,3,"vpn.server-list.current-filters"),""),v(2),L("ngForOf",t.dataFilterer.currentFiltersTexts)}}function MJ(n,i){if(1&n&&(Ke(0),K(1,gJ,1,0,"br",21),K(2,kJ,7,5,"div",24),Ze()),2&n){var e=q(2);v(1),L("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),v(1),L("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}var CJ=function(i){return{deactivated:i}};function wJ(n,i){if(1&n){var e=tt();P(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),K(4,uJ,4,3,"div",15),K(5,cJ,4,7,"a",16),K(6,dJ,4,3,"div",15),K(7,fJ,4,7,"a",16),K(8,hJ,4,3,"div",15),K(9,pJ,4,7,"a",16),K(10,vJ,4,3,"div",15),K(11,mJ,4,7,"a",16),E()()()(),P(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),Se("click",function(){ke(e);var o=q();return o.dataFilterer?o.dataFilterer.changeFilters():null}),Y(17,"translate"),P(18,"span")(19,"mat-icon",19),F(20,"search"),E()()()()()()(),P(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),Se("click",function(){return ke(e),q().enterManually()}),Y(26,"translate"),P(27,"span")(28,"mat-icon",19),F(29,"add"),E()()()()()()(),K(30,MJ,3,2,"ng-container",21)}if(2&n){var t=q();v(4),L("ngIf",t.currentList===t.lists.Public),v(1),L("ngIf",t.currentList!==t.lists.Public),v(1),L("ngIf",t.currentList===t.lists.History),v(1),L("ngIf",t.currentList!==t.lists.History),v(1),L("ngIf",t.currentList===t.lists.Favorites),v(1),L("ngIf",t.currentList!==t.lists.Favorites),v(1),L("ngIf",t.currentList===t.lists.Blocked),v(1),L("ngIf",t.currentList!==t.lists.Blocked),v(1),L("ngClass",Qe(18,CJ,t.loading)),v(4),L("matTooltip",W(17,14,"filters.filter-info")),v(3),L("inline",!0),v(6),L("matTooltip",W(26,16,"vpn.server-list.add-manually-info")),v(3),L("inline",!0),v(2),L("ngIf",t.dataFilterer)}}function SJ(n,i){1&n&&ws(0)}function DJ(n,i){if(1&n&&(P(0,"mat-icon",19),F(1),E()),2&n){var e=q(5);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function TJ(n,i){if(1&n){var e=tt();P(0,"th",50),Se("click",function(){ke(e);var o=q(4);return o.dataSorter.changeSortingOrder(o.dateSortData)}),Y(1,"translate"),P(2,"div",43)(3,"div",44),F(4),Y(5,"translate"),E(),K(6,DJ,2,2,"mat-icon",41),E()()}if(2&n){var t=q(4);L("matTooltip",W(1,3,"vpn.server-list.date-info")),v(4),Me(" ",W(5,5,"vpn.server-list.date-small-table-label")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.dateSortData)}}function LJ(n,i){if(1&n&&(P(0,"mat-icon",19),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function EJ(n,i){if(1&n&&(P(0,"mat-icon",19),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function PJ(n,i){if(1&n&&(P(0,"mat-icon",19),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function xJ(n,i){if(1&n&&(P(0,"mat-icon",19),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function OJ(n,i){if(1&n&&(P(0,"mat-icon",19),F(1),E()),2&n){var e=q(4);L("inline",!0),v(1),_e(e.dataSorter.sortingArrow)}}function AJ(n,i){if(1&n&&(P(0,"td",64),F(1),Y(2,"date"),E()),2&n){var e=q().$implicit;v(1),Me(" ",Ht(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function IJ(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q().$implicit;v(1),Me(" ",e.location," ")}}function RJ(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),Me(" ",W(2,1,"vpn.server-list.unknown")," "))}var FJ=function(i,e){return{custom:i,original:e}};function NJ(n,i){if(1&n&&(P(0,"mat-icon",65),Se("click",function(o){return o.stopPropagation()}),Y(1,"translate"),F(2,"info_outline"),E()),2&n){var e=q().$implicit,t=q(4);L("inline",!0)("matTooltip",Ht(1,2,t.getNoteVar(e),En(5,FJ,e.personalNote,e.note)))}}var YJ=function(i){return{"selectable click-effect":i}};function HJ(n,i){if(1&n){var e=tt();P(0,"tr",51),Se("click",function(){var l=ke(e).$implicit,u=q(4);return u.currentList!==u.lists.Blocked?u.selectServer(l):null}),K(1,AJ,3,4,"td",52),P(2,"td",53)(3,"div",54),Ee(4,"div",55),E()(),P(5,"td",56),Ee(6,"app-vpn-server-name",57),E(),P(7,"td",58),K(8,IJ,2,1,"ng-container",21),K(9,RJ,3,3,"ng-container",21),E(),P(10,"td",59)(11,"app-copy-to-clipboard-text",60),Se("click",function(s){return s.stopPropagation()}),E()(),P(12,"td",61),K(13,NJ,3,8,"mat-icon",62),E(),P(14,"td",48)(15,"button",63),Se("click",function(s){var u=ke(e).$implicit,f=q(4);return s.stopPropagation(),f.openOptions(u)}),Y(16,"translate"),P(17,"mat-icon",19),F(18,"settings"),E()()()()}if(2&n){var t=i.$implicit,a=q(4);L("ngClass",Qe(23,YJ,a.currentList!==a.lists.Blocked)),v(1),L("ngIf",a.currentList===a.lists.History),v(3),er("background-image: url('assets/img/big-flags/"+t.countryCode.toLocaleLowerCase()+".png');"),L("matTooltip",a.getCountryName(t.countryCode)),v(2),L("isCurrentServer",a.currentServer&&t.pk===a.currentServer.pk)("isFavorite",t.flag===a.serverFlags.Favorite&&a.currentList!==a.lists.Favorites)("isBlocked",t.flag===a.serverFlags.Blocked&&a.currentList!==a.lists.Blocked)("isInHistory",t.inHistory&&a.currentList!==a.lists.History)("hasPassword",t.usedWithPassword)("name",t.name)("pk",t.pk)("customName",t.customName)("defaultName","vpn.server-list.none"),v(2),L("ngIf",t.location),v(1),L("ngIf",!t.location),v(2),L("shortSimple",!0)("text",t.pk),v(2),L("ngIf",t.note||t.personalNote),v(2),L("matTooltip",W(16,21,"vpn.server-options.tooltip")),v(2),L("inline",!0)}}var BJ=function(i,e){return{"public-pk-column":i,"history-pk-column":e}};function VJ(n,i){if(1&n){var e=tt();P(0,"table",38)(1,"tr"),K(2,TJ,7,7,"th",39),P(3,"th",40),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.countrySortData)}),Y(4,"translate"),P(5,"mat-icon",19),F(6,"flag"),E(),K(7,LJ,2,2,"mat-icon",41),E(),P(8,"th",42),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.nameSortData)}),P(9,"div",43)(10,"div",44),F(11),Y(12,"translate"),E(),K(13,EJ,2,2,"mat-icon",41),E()(),P(14,"th",45),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.locationSortData)}),P(15,"div",43)(16,"div",44),F(17),Y(18,"translate"),E(),K(19,PJ,2,2,"mat-icon",41),E()(),P(20,"th",46),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.pkSortData)}),Y(21,"translate"),P(22,"div",43)(23,"div",44),F(24),Y(25,"translate"),E(),K(26,xJ,2,2,"mat-icon",41),E()(),P(27,"th",47),Se("click",function(){ke(e);var o=q(3);return o.dataSorter.changeSortingOrder(o.noteSortData)}),Y(28,"translate"),P(29,"div",43)(30,"mat-icon",19),F(31,"info_outline"),E(),K(32,OJ,2,2,"mat-icon",41),E()(),Ee(33,"th",48),E(),K(34,HJ,19,25,"tr",49),E()}if(2&n){var t=q(3);v(2),L("ngIf",t.currentList===t.lists.History),v(1),L("matTooltip",W(4,16,"vpn.server-list.country-info")),v(2),L("inline",!0),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.countrySortData),v(4),Me(" ",W(12,18,"vpn.server-list.name-small-table-label")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.nameSortData),v(4),Me(" ",W(18,20,"vpn.server-list.location-small-table-label")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.locationSortData),v(1),L("ngClass",En(28,BJ,t.currentList===t.lists.Public,t.currentList===t.lists.History))("matTooltip",W(21,22,"vpn.server-list.public-key-info")),v(4),Me(" ",W(25,24,"vpn.server-list.public-key-small-table-label")," "),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.pkSortData),v(1),L("matTooltip",W(28,26,"vpn.server-list.note-info")),v(3),L("inline",!0),v(2),L("ngIf",t.dataSorter.currentSortingColumn===t.noteSortData),v(2),L("ngForOf",t.dataSource)}}function jJ(n,i){if(1&n&&(P(0,"div",35)(1,"div",36),K(2,VJ,35,31,"table",37),E()()),2&n){var e=q(2);v(2),L("ngIf",e.dataSource.length>0)}}var UJ=function(i,e){return["/vpn",i,"servers",e]};function zJ(n,i){if(1&n&&Ee(0,"app-paginator",66),2&n){var e=q(2);L("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",En(4,UJ,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function WJ(n,i){1&n&&(P(0,"span",70),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"vpn.server-list.empty-discovery")))}function GJ(n,i){1&n&&(P(0,"span",70),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"vpn.server-list.empty-history")))}function qJ(n,i){1&n&&(P(0,"span",70),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"vpn.server-list.empty-favorites")))}function KJ(n,i){1&n&&(P(0,"span",70),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"vpn.server-list.empty-blocked")))}function ZJ(n,i){1&n&&(P(0,"span",70),F(1),Y(2,"translate"),E()),2&n&&(v(1),_e(W(2,1,"vpn.server-list.empty-with-filter")))}function $J(n,i){if(1&n&&(P(0,"div",35)(1,"div",67)(2,"mat-icon",68),F(3,"warning"),E(),K(4,WJ,3,3,"span",69),K(5,GJ,3,3,"span",69),K(6,qJ,3,3,"span",69),K(7,KJ,3,3,"span",69),K(8,ZJ,3,3,"span",69),E()()),2&n){var e=q(2);v(2),L("inline",!0),v(2),L("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),v(1),L("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),v(1),L("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),v(1),L("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),v(1),L("ngIf",0!==e.allServers.length)}}var QJ=function(i){return{"mb-3":i}};function JJ(n,i){if(1&n&&(P(0,"div",29)(1,"div",30),Ee(2,"app-top-bar",5),E(),P(3,"div",31)(4,"div",7)(5,"div",32),K(6,SJ,1,0,"ng-container",9),E(),K(7,jJ,3,1,"div",33),K(8,zJ,1,7,"app-paginator",34),K(9,$J,9,6,"div",33),E()()()),2&n){var e=q(),t=sr(2);v(2),L("titleParts",Nn(10,iP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),v(3),L("ngClass",Qe(11,QJ,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),v(1),L("ngTemplateOutlet",t),v(1),L("ngIf",0!==e.dataSource.length),v(1),L("ngIf",e.numberOfPages>1),v(1),L("ngIf",0===e.dataSource.length)}}var Dr=function(){return function(n){n.Public="public",n.History="history",n.Favorites="favorites",n.Blocked="blocked"}(Dr||(Dr={})),Dr}(),aP=function(){var n=function(){function i(e,t,a,o,s,l,u,f){var m=this;c(this,i),this.dialog=e,this.router=t,this.translateService=a,this.route=o,this.vpnClientDiscoveryService=s,this.vpnClientService=l,this.vpnSavedDataService=u,this.snackbarService=f,this.maxFullListElements=50,this.dateSortData=new xn(["lastUsed"],"vpn.server-list.date-small-table-label",Xt.NumberReversed),this.countrySortData=new xn(["countryName"],"vpn.server-list.country-small-table-label",Xt.Text),this.nameSortData=new xn(["name"],"vpn.server-list.name-small-table-label",Xt.Text),this.locationSortData=new xn(["location"],"vpn.server-list.location-small-table-label",Xt.Text),this.pkSortData=new xn(["pk"],"vpn.server-list.public-key-small-table-label",Xt.Text),this.noteSortData=new xn(["note"],"vpn.server-list.note-small-table-label",Xt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=Gr.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Dr.Public,this.vpnRunning=!1,this.serverFlags=Yn,this.lists=Dr,this.initialLoadStarted=!1,this.navigationsSubscription=o.paramMap.subscribe(function(w){if(w.has("type")?w.get("type")===Dr.Favorites?(m.currentList=Dr.Favorites,m.listId="vfs"):w.get("type")===Dr.Blocked?(m.currentList=Dr.Blocked,m.listId="vbs"):w.get("type")===Dr.History?(m.currentList=Dr.History,m.listId="vhs"):(m.currentList=Dr.Public,m.listId="vps"):(m.currentList=Dr.Public,m.listId="vps"),Gr.setDefaultTabForServerList(m.currentList),w.has("key")&&(m.currentLocalPk=w.get("key"),Gr.changeCurrentPk(m.currentLocalPk),m.tabsData=Gr.vpnTabsData),w.has("page")){var R=Number.parseInt(w.get("page"),10);(isNaN(R)||R<1)&&(R=1),m.currentPageInUrl=R,m.recalculateElementsToShow()}m.initialLoadStarted||(m.initialLoadStarted=!0,m.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(function(w){return m.currentServer=w}),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(function(w){w&&(m.loadingBackendData=!1,m.vpnRunning=w.vpnClientAppData.running)})}return d(i,[{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()}},{key:"enterManually",value:function(){iJ.openDialog(this.dialog,this.currentLocalPk)}},{key:"getNoteVar",value:function(t){return t.note&&t.personalNote?"vpn.server-list.notes-info":!t.note&&t.personalNote?t.personalNote:t.note}},{key:"selectServer",value:function(t){var a=this,o=this.vpnSavedDataService.getSavedVersion(t.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),o&&o.flag===Yn.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===t.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{var s=Zt.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.componentInstance.closeModal(),a.vpnClientService.start(),Gr.redirectAfterServerChange(a.router,null,a.currentLocalPk)})}return}if(o&&o.usedWithPassword)return void pE.openDialog(this.dialog,!0).afterClosed().subscribe(function(l){l&&a.makeServerChange(t,"-"===l?null:l.substr(1))});this.makeServerChange(t,null)}}},{key:"makeServerChange",value:function(t,a){Gr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,t.originalLocalData,t.originalDiscoveryData,null,a)}},{key:"openOptions",value:function(t){var a=this,o=this.vpnSavedDataService.getSavedVersion(t.pk,!0);o||(o=this.vpnSavedDataService.processFromDiscovery(t.originalDiscoveryData)),o?Gr.openServerOptions(o,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(function(s){s&&a.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}},{key:"loadData",value:function(){var t=this;this.dataSubscription=this.currentList===Dr.Public?this.vpnClientDiscoveryService.getServers().subscribe(function(o){t.allServers=o.map(function(s){return{countryCode:s.countryCode,countryName:t.getCountryName(s.countryCode),name:s.name,customName:null,location:s.location,pk:s.pk,note:s.note,personalNote:null,originalDiscoveryData:s}}),t.vpnSavedDataService.updateFromDiscovery(o),t.loading=!1,t.processAllServers()}):(this.currentList===Dr.History?this.vpnSavedDataService.history:this.currentList===Dr.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked).subscribe(function(o){var s=[];o.forEach(function(l){s.push({countryCode:l.countryCode,countryName:t.getCountryName(l.countryCode),name:l.name,customName:null,location:l.location,pk:l.pk,note:l.note,personalNote:null,lastUsed:l.lastUsed,inHistory:l.inHistory,flag:l.flag,originalLocalData:l})}),t.allServers=s,t.loading=!1,t.processAllServers()})}},{key:"processAllServers",value:function(){var t=this;this.fillFilterPropertiesArray();var a=new Set;this.allServers.forEach(function(w,R){a.add(w.countryCode);var B=t.vpnSavedDataService.getSavedVersion(w.pk,0===R);w.customName=B?B.customName:null,w.personalNote=B?B.personalNote:null,w.inHistory=!!B&&B.inHistory,w.flag=B?B.flag:Yn.None,w.enteredManually=!!B&&B.enteredManually,w.usedWithPassword=!!B&&B.usedWithPassword});var o=[];a.forEach(function(w){o.push({label:t.getCountryName(w),value:w,image:"/assets/img/big-flags/"+w.toLowerCase()+".png"})}),o.sort(function(w,R){return w.label.localeCompare(R.label)}),o=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(o),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:Gn.Select,printableLabelsForValues:o,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);var u,f,m,l=[];this.currentList===Dr.Public?(l.push(this.countrySortData),l.push(this.nameSortData),l.push(this.locationSortData),l.push(this.pkSortData),l.push(this.noteSortData),u=0,f=1):(this.currentList===Dr.History&&l.push(this.dateSortData),l.push(this.countrySortData),l.push(this.nameSortData),l.push(this.locationSortData),l.push(this.pkSortData),l.push(this.noteSortData),u=this.currentList===Dr.History?0:1,f=this.currentList===Dr.History?2:3),this.dataSorter=new pc(this.dialog,this.translateService,l,u,this.listId),this.dataSorter.setTieBreakerColumnIndex(f),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){t.recalculateElementsToShow()}),this.dataFilterer=new mc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(w){t.filteredServers=w,t.dataSorter.setData(t.filteredServers)}),m=this.currentList===Dr.Public?this.allServers.filter(function(w){return w.flag!==Yn.Blocked}):this.allServers,this.dataFilterer.setData(m)}},{key:"fillFilterPropertiesArray",value:function(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:Gn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:Gn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:Gn.TextInput,maxlength:100}]}},{key:"recalculateElementsToShow",value:function(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){var t=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var a=t*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(a,a+t)}else this.serversToShow=null;this.dataSource=this.serversToShow}},{key:"getCountryName",value:function(t){return ns[t.toUpperCase()]?ns[t.toUpperCase()]:t}}]),i}();return n.\u0275fac=function(e){return new(e||n)(V(Wn),V(an),V(Fi),V(oi),V(oJ),V(_c),V(Pl),V(An))},n.\u0275cmp=We({type:n,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(K(0,lJ,8,7,"div",0),K(1,wJ,31,20,"ng-template",null,1,Ts),K(3,JJ,10,13,"div",2)),2&e&&(L("ngIf",t.loading||t.loadingBackendData),v(3),L("ngIf",!t.loading&&!t.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:400!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}();function eX(n){var i=n.subscriber,e=n.counter,t=n.period;i.next(e),this.schedule({subscriber:i,counter:e+1,period:t},t)}var Ef=function(i,e){return{"small-text-icon":i,"big-text-icon":e}};function tX(n,i){if(1&n&&(P(0,"mat-icon",4),Y(1,"translate"),F(2,"done"),E()),2&n){var e=q();L("ngClass",En(5,Ef,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",W(1,3,"vpn.server-conditions.selected-info"))}}function nX(n,i){if(1&n&&(P(0,"mat-icon",5),Y(1,"translate"),F(2,"clear"),E()),2&n){var e=q();L("ngClass",En(5,Ef,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",W(1,3,"vpn.server-conditions.blocked-info"))}}function rX(n,i){if(1&n&&(P(0,"mat-icon",6),Y(1,"translate"),F(2,"star"),E()),2&n){var e=q();L("ngClass",En(5,Ef,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",W(1,3,"vpn.server-conditions.favorite-info"))}}function iX(n,i){if(1&n&&(P(0,"mat-icon",4),Y(1,"translate"),F(2,"history"),E()),2&n){var e=q();L("ngClass",En(5,Ef,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",W(1,3,"vpn.server-conditions.history-info"))}}function aX(n,i){if(1&n&&(P(0,"mat-icon",4),Y(1,"translate"),F(2,"lock_outlined"),E()),2&n){var e=q();L("ngClass",En(5,Ef,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",W(1,3,"vpn.server-conditions.has-password-info"))}}function oX(n,i){if(1&n&&(Ke(0),F(1),P(2,"mat-icon",7),F(3,"fiber_manual_record"),E(),F(4),Ze()),2&n){var e=q();v(1),Me(" ",e.customName," "),v(1),L("inline",!0),v(2),Me(" ",e.name,"\n")}}function sX(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q();v(1),_e(e.customName)}}function lX(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q();v(1),_e(e.name)}}function uX(n,i){if(1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n){var e=q();v(1),_e(W(2,1,e.defaultName))}}var oP=function(){var n=d(function i(){c(this,i),this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=We({type:n,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(e,t){1&e&&(K(0,tX,3,8,"mat-icon",0),K(1,nX,3,8,"mat-icon",1),K(2,rX,3,8,"mat-icon",2),K(3,iX,3,8,"mat-icon",0),K(4,aX,3,8,"mat-icon",0),K(5,oX,5,3,"ng-container",3),K(6,sX,2,1,"ng-container",3),K(7,lX,2,1,"ng-container",3),K(8,uX,3,3,"ng-container",3)),2&e&&(L("ngIf",t.isCurrentServer),v(1),L("ngIf",t.isBlocked),v(1),L("ngIf",t.isFavorite),v(1),L("ngIf",t.isInHistory),v(1),L("ngIf",t.hasPassword),v(1),L("ngIf",t.customName&&t.name&&(!t.pk||t.name!==t.pk)),v(1),L("ngIf",(!t.name||t.pk&&t.name===t.pk)&&t.customName),v(1),L("ngIf",t.name&&(!t.pk||t.name!==t.pk)&&!t.customName),v(1),L("ngIf",(!t.name||t.pk&&t.name===t.pk)&&!t.customName))},directives:[Et,Mn,mr,ur],pipes:[Mt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),n}(),sP=function(){return["vpn.title"]};function cX(n,i){if(1&n&&(P(0,"div",2)(1,"div"),Ee(2,"app-top-bar",3),E(),Ee(3,"app-loading-indicator"),E()),2&n){var e=q();v(2),L("titleParts",Nn(5,sP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function dX(n,i){1&n&&Ee(0,"mat-spinner",32),2&n&&L("diameter",40)}function fX(n,i){1&n&&(P(0,"mat-icon",33),F(1,"power_settings_new"),E()),2&n&&L("inline",!0)}function hX(n,i){if(1&n){var e=tt();Ke(0),P(1,"div",34),Ee(2,"div",35),E(),P(3,"div",36)(4,"div",37),Ee(5,"app-vpn-server-name",38),E(),P(6,"div",39),Ee(7,"app-copy-to-clipboard-text",40),E()(),P(8,"div",41),Ee(9,"div"),E(),P(10,"div",42)(11,"mat-icon",43),Se("click",function(){return ke(e),q(3).openServerOptions()}),Y(12,"translate"),F(13,"settings"),E()(),Ze()}if(2&n){var t=q(3);v(2),er("background-image: url('assets/img/big-flags/"+t.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),L("matTooltip",t.getCountryName(t.currentRemoteServer.countryCode)),v(3),L("isFavorite",t.currentRemoteServer.flag===t.serverFlags.Favorite)("isBlocked",t.currentRemoteServer.flag===t.serverFlags.Blocked)("hasPassword",t.currentRemoteServer.usedWithPassword)("name",t.currentRemoteServer.name)("pk",t.currentRemoteServer.pk)("customName",t.currentRemoteServer.customName),v(2),L("shortSimple",!0)("text",t.currentRemoteServer.pk),v(4),L("inline",!0)("matTooltip",W(12,13,"vpn.server-options.tooltip"))}}function pX(n,i){1&n&&(Ke(0),P(1,"div",44),F(2),Y(3,"translate"),E(),Ze()),2&n&&(v(2),_e(W(3,1,"vpn.status-page.no-server")))}var vX=function(i,e){return{custom:i,original:e}};function mX(n,i){if(1&n&&(P(0,"div",45)(1,"mat-icon",33),F(2,"info_outline"),E(),F(3),Y(4,"translate"),E()),2&n){var e=q(3);v(1),L("inline",!0),v(2),Me(" ",Ht(4,2,e.getNoteVar(),En(5,vX,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function gX(n,i){if(1&n&&(P(0,"div",46)(1,"mat-icon",33),F(2,"cancel"),E(),F(3),Y(4,"translate"),E()),2&n){var e=q(3);v(1),L("inline",!0),v(2),la(" ",W(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}var lP=function(i){return{"disabled-button":i}};function _X(n,i){if(1&n){var e=tt();P(0,"div",22)(1,"div",11)(2,"div",13),F(3),Y(4,"translate"),E(),P(5,"div")(6,"div",23),Se("click",function(){return ke(e),q(2).start()}),P(7,"div",24),Ee(8,"div",25),E(),P(9,"div",24),Ee(10,"div",26),E(),K(11,dX,1,1,"mat-spinner",27),K(12,fX,2,1,"mat-icon",28),E()(),P(13,"div",29),K(14,hX,14,15,"ng-container",18),K(15,pX,4,3,"ng-container",18),E(),P(16,"div"),K(17,mX,5,8,"div",30),E(),P(18,"div"),K(19,gX,5,5,"div",31),E()()()}if(2&n){var t=q(2);v(3),_e(W(4,8,"vpn.status-page.start-title")),v(3),L("ngClass",Qe(10,lP,t.showBusy)),v(5),L("ngIf",t.showBusy),v(1),L("ngIf",!t.showBusy),v(2),L("ngIf",t.currentRemoteServer),v(1),L("ngIf",!t.currentRemoteServer),v(2),L("ngIf",t.currentRemoteServer&&(t.currentRemoteServer.note||t.currentRemoteServer.personalNote)),v(2),L("ngIf",t.backendState&&t.backendState.vpnClientAppData&&t.backendState.vpnClientAppData.lastErrorMsg)}}function yX(n,i){if(1&n&&(P(0,"div",77)(1,"mat-icon",33),F(2,"cancel"),E(),F(3),Y(4,"translate"),E()),2&n){var e=q(3);v(1),L("inline",!0),v(2),la(" ",W(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function bX(n,i){1&n&&(P(0,"div"),Ee(1,"mat-spinner",32),E()),2&n&&(v(1),L("diameter",24))}function kX(n,i){1&n&&(P(0,"mat-icon",33),F(1,"power_settings_new"),E()),2&n&&L("inline",!0)}var Mc=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:i}},uP=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:i}},cP=function(i){return{showValue:!0,showUnit:!0,useBits:i}},Av=function(i){return{time:i}};function MX(n,i){if(1&n){var e=tt();P(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),F(5,"timer"),E(),P(6,"span"),F(7),E()()(),P(8,"div",50),F(9),Y(10,"translate"),E(),P(11,"div",51)(12,"div",52),F(13),Y(14,"translate"),E(),Ee(15,"div"),E(),P(16,"div",53),F(17),Y(18,"translate"),E(),K(19,yX,5,5,"div",54),P(20,"div",55)(21,"div",56),Y(22,"translate"),P(23,"div",57),Ee(24,"app-line-chart",58),E(),P(25,"div",59)(26,"div",60)(27,"div",61),F(28),Y(29,"autoScale"),E(),Ee(30,"div",62),E()(),P(31,"div",59)(32,"div",63)(33,"div",61),F(34),Y(35,"autoScale"),E(),Ee(36,"div",62),E()(),P(37,"div",59)(38,"div",64)(39,"div",61),F(40),Y(41,"autoScale"),E()()(),P(42,"div",65)(43,"mat-icon",66),F(44,"keyboard_backspace"),E(),P(45,"div",67),F(46),Y(47,"autoScale"),E(),P(48,"div",68),F(49),Y(50,"autoScale"),Y(51,"translate"),E()()(),P(52,"div",56),Y(53,"translate"),P(54,"div",57),Ee(55,"app-line-chart",58),E(),P(56,"div",69)(57,"div",60)(58,"div",61),F(59),Y(60,"autoScale"),E(),Ee(61,"div",62),E()(),P(62,"div",59)(63,"div",63)(64,"div",61),F(65),Y(66,"autoScale"),E(),Ee(67,"div",62),E()(),P(68,"div",59)(69,"div",64)(70,"div",61),F(71),Y(72,"autoScale"),E()()(),P(73,"div",65)(74,"mat-icon",70),F(75,"keyboard_backspace"),E(),P(76,"div",67),F(77),Y(78,"autoScale"),E(),P(79,"div",68),F(80),Y(81,"autoScale"),Y(82,"translate"),E()()()(),P(83,"div",71)(84,"div",72),Y(85,"translate"),P(86,"div",57),Ee(87,"app-line-chart",73),E(),P(88,"div",69)(89,"div",60)(90,"div",61),F(91),Y(92,"translate"),E(),Ee(93,"div",62),E()(),P(94,"div",59)(95,"div",63)(96,"div",61),F(97),Y(98,"translate"),E(),Ee(99,"div",62),E()(),P(100,"div",59)(101,"div",64)(102,"div",61),F(103),Y(104,"translate"),E()()(),P(105,"div",65)(106,"mat-icon",33),F(107,"swap_horiz"),E(),P(108,"div"),F(109),Y(110,"translate"),E()()()(),P(111,"div",74),Se("click",function(){return ke(e),q(2).stop()}),P(112,"div",75)(113,"div",76),K(114,bX,2,1,"div",18),K(115,kX,2,1,"mat-icon",28),P(116,"span"),F(117),Y(118,"translate"),E()()()()()()}if(2&n){var t=q(2);v(4),L("inline",!0),v(3),_e(t.connectionTimeString),v(2),_e(W(10,58,"vpn.connection-info.state-title")),v(4),_e(W(14,60,t.currentStateText)),v(2),sa("state-line "+t.currentStateLineClass),v(2),_e(W(18,62,t.currentStateText+"-info")),v(2),L("ngIf",t.backendState&&t.backendState.vpnClientAppData&&t.backendState.vpnClientAppData.connectionData&&t.backendState.vpnClientAppData.connectionData.error),v(2),L("matTooltip",W(22,64,"vpn.status-page.upload-info")),v(3),L("animated",!1)("data",t.sentHistory)("min",t.minUploadInGraph)("max",t.maxUploadInGraph),v(4),Me(" ",Ht(29,66,t.maxUploadInGraph,Qe(118,Mc,t.showSpeedsInBits))," "),v(2),er("margin-top: "+t.graphsTopInternalMargin+"px;"),v(4),Me(" ",Ht(35,69,t.midUploadInGraph,Qe(120,Mc,t.showSpeedsInBits))," "),v(2),er("margin-top: "+t.graphsTopInternalMargin/2+"px;"),v(4),Me(" ",Ht(41,72,t.minUploadInGraph,Qe(122,Mc,t.showSpeedsInBits))," "),v(3),L("inline",!0),v(3),_e(Ht(47,75,t.uploadSpeed,Qe(124,uP,t.showSpeedsInBits))),v(3),la(" ",Ht(50,78,t.totalUploaded,Qe(126,cP,t.showTotalsInBits))," ",W(51,81,"vpn.status-page.total-data-label")," "),v(3),L("matTooltip",W(53,83,"vpn.status-page.download-info")),v(3),L("animated",!1)("data",t.receivedHistory)("min",t.minDownloadInGraph)("max",t.maxDownloadInGraph),v(4),Me(" ",Ht(60,85,t.maxDownloadInGraph,Qe(128,Mc,t.showSpeedsInBits))," "),v(2),er("margin-top: "+t.graphsTopInternalMargin+"px;"),v(4),Me(" ",Ht(66,88,t.midDownloadInGraph,Qe(130,Mc,t.showSpeedsInBits))," "),v(2),er("margin-top: "+t.graphsTopInternalMargin/2+"px;"),v(4),Me(" ",Ht(72,91,t.minDownloadInGraph,Qe(132,Mc,t.showSpeedsInBits))," "),v(3),L("inline",!0),v(3),_e(Ht(78,94,t.downloadSpeed,Qe(134,uP,t.showSpeedsInBits))),v(3),la(" ",Ht(81,97,t.totalDownloaded,Qe(136,cP,t.showTotalsInBits))," ",W(82,100,"vpn.status-page.total-data-label")," "),v(4),L("matTooltip",W(85,102,"vpn.status-page.latency-info")),v(3),L("animated",!1)("data",t.latencyHistory)("min",t.minLatencyInGraph)("max",t.maxLatencyInGraph),v(4),Me(" ",Ht(92,104,"common."+t.getLatencyValueString(t.maxLatencyInGraph),Qe(138,Av,t.getPrintableLatency(t.maxLatencyInGraph)))," "),v(2),er("margin-top: "+t.graphsTopInternalMargin+"px;"),v(4),Me(" ",Ht(98,107,"common."+t.getLatencyValueString(t.midLatencyInGraph),Qe(140,Av,t.getPrintableLatency(t.midLatencyInGraph)))," "),v(2),er("margin-top: "+t.graphsTopInternalMargin/2+"px;"),v(4),Me(" ",Ht(104,110,"common."+t.getLatencyValueString(t.minLatencyInGraph),Qe(142,Av,t.getPrintableLatency(t.minLatencyInGraph)))," "),v(3),L("inline",!0),v(3),_e(Ht(110,113,"common."+t.getLatencyValueString(t.latency),Qe(144,Av,t.getPrintableLatency(t.latency)))),v(2),L("ngClass",Qe(146,lP,t.showBusy)),v(3),L("ngIf",t.showBusy),v(1),L("ngIf",!t.showBusy),v(2),_e(W(118,116,"vpn.status-page.disconnect"))}}function CX(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q(3);v(1),_e(e.currentIp)}}function wX(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"common.unknown")))}function SX(n,i){1&n&&Ee(0,"mat-spinner",32),2&n&&L("diameter",20)}function DX(n,i){1&n&&(P(0,"mat-icon",81),Y(1,"translate"),F(2,"warning"),E()),2&n&&L("inline",!0)("matTooltip",W(1,2,"vpn.status-page.data.ip-problem-info"))}function TX(n,i){if(1&n){var e=tt();P(0,"mat-icon",82),Se("click",function(){return ke(e),q(3).getIp()}),Y(1,"translate"),F(2,"refresh"),E()}2&n&&L("inline",!0)("matTooltip",W(1,2,"vpn.status-page.data.ip-refresh-info"))}function LX(n,i){if(1&n&&(P(0,"div",78),K(1,CX,2,1,"ng-container",18),K(2,wX,3,3,"ng-container",18),K(3,SX,1,1,"mat-spinner",27),K(4,DX,3,4,"mat-icon",79),K(5,TX,3,4,"mat-icon",80),E()),2&n){var e=q(2);v(1),L("ngIf",e.currentIp),v(1),L("ngIf",!e.currentIp&&!e.loadingCurrentIp),v(1),L("ngIf",e.loadingCurrentIp),v(1),L("ngIf",e.problemGettingIp),v(1),L("ngIf",!e.loadingCurrentIp)}}function EX(n,i){1&n&&(P(0,"div",78),F(1),Y(2,"translate"),E()),2&n&&(v(1),Me(" ",W(2,1,"vpn.status-page.data.unavailable")," "))}function PX(n,i){if(1&n&&(Ke(0),F(1),Ze()),2&n){var e=q(3);v(1),_e(e.ipCountry)}}function xX(n,i){1&n&&(Ke(0),F(1),Y(2,"translate"),Ze()),2&n&&(v(1),_e(W(2,1,"common.unknown")))}function OX(n,i){1&n&&Ee(0,"mat-spinner",32),2&n&&L("diameter",20)}function AX(n,i){1&n&&(P(0,"mat-icon",81),Y(1,"translate"),F(2,"warning"),E()),2&n&&L("inline",!0)("matTooltip",W(1,2,"vpn.status-page.data.ip-country-problem-info"))}function IX(n,i){if(1&n&&(P(0,"div",78),K(1,PX,2,1,"ng-container",18),K(2,xX,3,3,"ng-container",18),K(3,OX,1,1,"mat-spinner",27),K(4,AX,3,4,"mat-icon",79),E()),2&n){var e=q(2);v(1),L("ngIf",e.ipCountry),v(1),L("ngIf",!e.ipCountry&&!e.loadingCurrentIp),v(1),L("ngIf",e.loadingCurrentIp),v(1),L("ngIf",e.problemGettingIp)}}function RX(n,i){1&n&&(P(0,"div",78),F(1),Y(2,"translate"),E()),2&n&&(v(1),Me(" ",W(2,1,"vpn.status-page.data.unavailable")," "))}function FX(n,i){if(1&n){var e=tt();P(0,"div")(1,"div",13),F(2),Y(3,"translate"),E(),P(4,"div",78),Ee(5,"app-vpn-server-name",83),P(6,"mat-icon",82),Se("click",function(){return ke(e),q(2).openServerOptions()}),Y(7,"translate"),F(8,"settings"),E()()()}if(2&n){var t=q(2);v(2),_e(W(3,10,"vpn.status-page.data.server")),v(3),L("isFavorite",t.currentRemoteServer.flag===t.serverFlags.Favorite)("isBlocked",t.currentRemoteServer.flag===t.serverFlags.Blocked)("hasPassword",t.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",t.currentRemoteServer.name)("pk",t.currentRemoteServer.pk)("customName",t.currentRemoteServer.customName),v(1),L("inline",!0)("matTooltip",W(7,12,"vpn.server-options.tooltip"))}}function NX(n,i){1&n&&Ee(0,"div",15)}function YX(n,i){if(1&n&&(P(0,"div")(1,"div",13),F(2),Y(3,"translate"),E(),P(4,"div",20),F(5),E()()),2&n){var e=q(2);v(2),_e(W(3,2,"vpn.status-page.data.server-note")),v(3),Me(" ",e.currentRemoteServer.personalNote," ")}}function HX(n,i){1&n&&Ee(0,"div",15)}function BX(n,i){if(1&n&&(P(0,"div")(1,"div",13),F(2),Y(3,"translate"),E(),P(4,"div",20),F(5),E()()),2&n){var e=q(2);v(2),_e(W(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),v(3),Me(" ",e.currentRemoteServer.note," ")}}function VX(n,i){1&n&&Ee(0,"div",15)}function jX(n,i){if(1&n&&(P(0,"div")(1,"div",13),F(2),Y(3,"translate"),E(),P(4,"div",20),Ee(5,"app-copy-to-clipboard-text",21),E()()),2&n){var e=q(2);v(2),_e(W(3,2,"vpn.status-page.data.remote-pk")),v(3),L("text",e.currentRemoteServer.pk)}}function UX(n,i){1&n&&Ee(0,"div",15)}function zX(n,i){if(1&n&&(P(0,"div",4)(1,"div",5)(2,"div",6),Ee(3,"app-top-bar",3),E()(),P(4,"div",7),K(5,_X,20,12,"div",8),K(6,MX,119,148,"div",9),P(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),F(12),Y(13,"translate"),E(),K(14,LX,6,5,"div",14),K(15,EX,3,3,"div",14),E(),Ee(16,"div",15),P(17,"div")(18,"div",13),F(19),Y(20,"translate"),E(),K(21,IX,5,4,"div",14),K(22,RX,3,3,"div",14),E(),Ee(23,"div",16)(24,"div",17)(25,"div",16),K(26,FX,9,14,"div",18),K(27,NX,1,0,"div",19),K(28,YX,6,4,"div",18),K(29,HX,1,0,"div",19),K(30,BX,6,4,"div",18),K(31,VX,1,0,"div",19),K(32,jX,6,4,"div",18),K(33,UX,1,0,"div",19),P(34,"div")(35,"div",13),F(36),Y(37,"translate"),E(),P(38,"div",20),Ee(39,"app-copy-to-clipboard-text",21),E()()()()()()()),2&n){var e=q();v(3),L("titleParts",Nn(29,sP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),v(2),L("ngIf",!e.showStarted),v(1),L("ngIf",e.showStarted),v(6),_e(W(13,23,"vpn.status-page.data.ip")),v(2),L("ngIf",e.ipInfoAllowed),v(1),L("ngIf",!e.ipInfoAllowed),v(4),_e(W(20,25,"vpn.status-page.data.country")),v(2),L("ngIf",e.ipInfoAllowed),v(1),L("ngIf",!e.ipInfoAllowed),v(4),L("ngIf",e.showStarted&&e.currentRemoteServer),v(1),L("ngIf",e.showStarted&&e.currentRemoteServer),v(1),L("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),v(1),L("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),v(1),L("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),v(1),L("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),v(1),L("ngIf",e.showStarted&&e.currentRemoteServer),v(1),L("ngIf",e.showStarted&&e.currentRemoteServer),v(3),_e(W(37,27,"vpn.status-page.data.local-pk")),v(3),L("text",e.currentLocalPk)}}var WX=function(){var n=function(){function i(e,t,a,o,s,l,u){c(this,i),this.vpnClientService=e,this.vpnSavedDataService=t,this.snackbarService=a,this.translateService=o,this.route=s,this.dialog=l,this.router=u,this.tabsData=Gr.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=Zb.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=Yn,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();var f=this.vpnSavedDataService.getDataUnitsSetting();f===Qi.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):f===Qi.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.navigationsSubscription=this.route.paramMap.subscribe(function(a){a.has("key")&&(t.currentLocalPk=a.get("key"),Gr.changeCurrentPk(t.currentLocalPk),t.tabsData=Gr.vpnTabsData),setTimeout(function(){return t.navigationsSubscription.unsubscribe()}),t.dataSubscription=t.vpnClientService.backendState.subscribe(function(o){if(o&&o.serviceState!==Wr.PerformingInitialCheck){var s=!t.backendState;if(t.backendState=o,(s||t.lastAppState===pn.Running&&o.vpnClientAppData.appState!==pn.Running||t.lastAppState!==pn.Running&&o.vpnClientAppData.appState===pn.Running)&&t.getIp(!0),t.showStarted=o.vpnClientAppData.running||o.vpnClientAppData.appState!==pn.Stopped,t.showStartedLastValue!==t.showStarted){for(var l=0;l<10;l++)t.receivedHistory[l]=0,t.sentHistory[l]=0,t.latencyHistory[l]=0;t.updateGraphLimits(),t.uploadSpeed=0,t.downloadSpeed=0,t.totalUploaded=0,t.totalDownloaded=0,t.latency=0}if(t.lastAppState=o.vpnClientAppData.appState,t.showStartedLastValue=t.showStarted,t.stopRequested?t.showStarted||(t.stopRequested=!1,t.showBusy=o.busy):t.showBusy=o.busy,o.vpnClientAppData.connectionData){for(var u=0;u<10;u++)t.receivedHistory[u]=o.vpnClientAppData.connectionData.downloadSpeedHistory[u],t.sentHistory[u]=o.vpnClientAppData.connectionData.uploadSpeedHistory[u],t.latencyHistory[u]=o.vpnClientAppData.connectionData.latencyHistory[u];t.updateGraphLimits(),t.uploadSpeed=o.vpnClientAppData.connectionData.uploadSpeed,t.downloadSpeed=o.vpnClientAppData.connectionData.downloadSpeed,t.totalUploaded=o.vpnClientAppData.connectionData.totalUploaded,t.totalDownloaded=o.vpnClientAppData.connectionData.totalDownloaded,t.latency=o.vpnClientAppData.connectionData.latency}o.vpnClientAppData.running&&o.vpnClientAppData.appState===pn.Running&&o.vpnClientAppData.connectionData&&o.vpnClientAppData.connectionData.connectionDuration?(-1===t.calculatedSegs||o.vpnClientAppData.connectionData.connectionDuration>t.calculatedSegs+2||o.vpnClientAppData.connectionData.connectionDuration0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xu;return(!zy(n)||n<0)&&(n=0),(!i||"function"!=typeof i.schedule)&&(i=Xu),new fe(function(e){return e.add(i.schedule(eX,n,{subscriber:e,counter:0,period:n})),e})}(1e3).subscribe(function(){t.calculatedSegs+=1,t.refreshConnectionTimeString()})):t.timeUpdateSubscription&&(t.timeUpdateSubscription.unsubscribe(),t.timeUpdateSubscription=null,t.calculatedSegs=-1,t.connectionTimeString="00:00:00"),t.loading=!1}}),t.currentRemoteServerSubscription=t.vpnSavedDataService.currentServerObservable.subscribe(function(o){t.currentRemoteServer=o})})}},{key:"refreshConnectionTimeString",value:function(){var t=this.calculatedSegs%60,a=Math.floor(this.calculatedSegs/60),o=a%60,s=Math.floor(a/60);this.connectionTimeString=String(s).padStart(2,"0")+":"+String(o).padStart(2,"0")+":"+String(t).padStart(2,"0")}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.currentRemoteServerSubscription.unsubscribe(),this.closeOperationSubscription(),this.ipSubscription&&this.ipSubscription.unsubscribe(),this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}},{key:"start",value:function(){var t=this;if(!this.currentRemoteServer)return this.router.navigate(["vpn",this.currentLocalPk,"servers"]),void setTimeout(function(){return t.snackbarService.showWarning("vpn.status-page.select-server-warning")},100);this.currentRemoteServer.flag!==Yn.Blocked?(this.showBusy=!0,this.vpnClientService.start()):this.snackbarService.showError("vpn.starting-blocked-server-error")}},{key:"stop",value:function(){var t=this;if(this.backendState.vpnClientAppData.killswitch){var a=Zt.createConfirmationDialog(this.dialog,"vpn.status-page.disconnect-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.finishStoppingVpn()})}else this.finishStoppingVpn()}},{key:"finishStoppingVpn",value:function(){this.stopRequested=!0,this.showBusy=!0,this.vpnClientService.stop()}},{key:"openServerOptions",value:function(){Gr.openServerOptions(this.currentRemoteServer,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe()}},{key:"getCountryName",value:function(t){return ns[t.toUpperCase()]?ns[t.toUpperCase()]:t}},{key:"getNoteVar",value:function(){return this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?"vpn.server-list.notes-info":!this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?this.currentRemoteServer.personalNote:this.currentRemoteServer.note}},{key:"getLatencyValueString",value:function(t){return Gr.getLatencyValueString(t)}},{key:"getPrintableLatency",value:function(t){return Gr.getPrintableLatency(t)}},{key:"currentStateText",get:function(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"vpn.connection-info.state-disconnected":this.backendState.vpnClientAppData.appState===pn.Connecting?"vpn.connection-info.state-connecting":this.backendState.vpnClientAppData.appState===pn.Running?"vpn.connection-info.state-connected":this.backendState.vpnClientAppData.appState===pn.ShuttingDown?"vpn.connection-info.state-disconnecting":this.backendState.vpnClientAppData.appState===pn.Reconnecting?"vpn.connection-info.state-reconnecting":void 0}},{key:"currentStateLineClass",get:function(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"red-line":this.backendState.vpnClientAppData.appState===pn.Connecting?"yellow-line":this.backendState.vpnClientAppData.appState===pn.Running?"green-line":"yellow-line"}},{key:"closeOperationSubscription",value:function(){this.operationSubscription&&this.operationSubscription.unsubscribe()}},{key:"updateGraphLimits",value:function(){var t=this.calculateGraphLimits(this.sentHistory);this.minUploadInGraph=t[0],this.midUploadInGraph=t[1],this.maxUploadInGraph=t[2];var a=this.calculateGraphLimits(this.receivedHistory);this.minDownloadInGraph=a[0],this.midDownloadInGraph=a[1],this.maxDownloadInGraph=a[2];var o=this.calculateGraphLimits(this.latencyHistory);this.minLatencyInGraph=o[0],this.midLatencyInGraph=o[1],this.maxLatencyInGraph=o[2]}},{key:"calculateGraphLimits",value:function(t){var o=0;return t.forEach(function(l){l>o&&(o=l)}),0===o&&(o+=1),[0,new(Lv())(o).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),o]}},{key:"getIp",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.ipInfoAllowed){if(!a){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");var o=1e4;if(Date.now()-this.lastIpRefresDate0||Q===te?te:te-1}function G(Q){for(var te,ae,le=1,X=Q.length,De=Q[0]+"";leGe^ae?1:-1;for(Re=(He=X.length)<(Ge=De.length)?He:Ge,xe=0;xeDe[xe]^ae?1:-1;return He==Ge?0:He>Ge^ae?1:-1}function ce(Q,te,ae,le){if(Qae||Q!==(Q<0?d(Q):c(Q)))throw Error(_+(le||"Argument")+("number"==typeof Q?Qae?" out of range: ":" not an integer: ":" not a primitive number: ")+Q)}function ne(Q){return"[object Array]"==Object.prototype.toString.call(Q)}function $(Q){var te=Q.c.length-1;return z(Q.e/C)==te&&Q.c[te]%2!=0}function ue(Q,te){return(Q.length>1?Q.charAt(0)+"."+Q.slice(1):Q)+(te<0?"e":"e+")+te}function ee(Q,te,ae){var le,X;if(te<0){for(X=ae+".";++te;X+=ae);Q=X+Q}else if(++te>(le=Q.length)){for(X=ae,te-=le;--te;X+=ae);Q+=X}else te=10;be/=10,fe++);return Ae.e=fe,void(Ae.c=[j])}Pe=j+""}else{if(!p.test(Pe=j+""))return le(Ae,Pe,ge);Ae.s=45==Pe.charCodeAt(0)?(Pe=Pe.slice(1),-1):1}(fe=Pe.indexOf("."))>-1&&(Pe=Pe.replace(".","")),(be=Pe.search(/e/i))>0?(fe<0&&(fe=be),fe+=+Pe.slice(be+1),Pe=Pe.substring(0,be)):fe<0&&(fe=Pe.length)}else{if(ce(re,2,vn.length,"Base"),Pe=j+"",10==re)return Hn(Ae=new Ve(j instanceof Ve?j:Pe),xe+Ae.e+1,Re);if(ge="number"==typeof j){if(0*j!=0)return le(Ae,Pe,ge,re);if(Ae.s=1/j<0?(Pe=Pe.slice(1),-1):1,Ve.DEBUG&&Pe.replace(/^0\.0*|\./,"").length>15)throw Error(h+j);ge=!1}else Ae.s=45===Pe.charCodeAt(0)?(Pe=Pe.slice(1),-1):1;for(se=vn.slice(0,re),fe=be=0,Ce=Pe.length;befe){fe=Ce;continue}}else if(!he&&(Pe==Pe.toUpperCase()&&(Pe=Pe.toLowerCase())||Pe==Pe.toLowerCase()&&(Pe=Pe.toUpperCase()))){he=!0,be=-1,fe=0;continue}return le(Ae,j+"",ge,re)}(fe=(Pe=ae(Pe,re,10,Ae.s)).indexOf("."))>-1?Pe=Pe.replace(".",""):fe=Pe.length}for(be=0;48===Pe.charCodeAt(be);be++);for(Ce=Pe.length;48===Pe.charCodeAt(--Ce););if(Pe=Pe.slice(be,++Ce)){if(Ce-=be,ge&&Ve.DEBUG&&Ce>15&&(j>x||j!==c(j)))throw Error(h+Ae.s*j);if((fe=fe-be-1)>Ne)Ae.c=Ae.e=null;else if(fege){if(--re>0)for(Ce+=".";re--;Ce+="0");}else if((re+=fe-ge)>0)for(fe+1==ge&&(Ce+=".");re--;Ce+="0");return j.s<0&&he?"-"+Ce:Ce}function St(j,re){var se,de,he=0;for(ne(j[0])&&(j=j[0]),se=new Ve(j[0]);++he=10;he/=10,de++);return(se=de+se*C-1)>Ne?j.c=j.e=null:se=10;ge/=10,he++);if((fe=re-he)<0)fe+=C,Ae=(Ce=Ie[Pe=0])/ct[he-(be=re)-1]%10|0;else if((Pe=d((fe+1)/C))>=Ie.length){if(!de)break e;for(;Ie.length<=Pe;Ie.push(0));Ce=Ae=0,he=1,be=(fe%=C)-C+1}else{for(Ce=ge=Ie[Pe],he=1;ge>=10;ge/=10,he++);Ae=(be=(fe%=C)-C+he)<0?0:Ce/ct[he-be-1]%10|0}if(de=de||re<0||null!=Ie[Pe+1]||(be<0?Ce:Ce%ct[he-be-1]),de=se<4?(Ae||de)&&(0==se||se==(j.s<0?3:2)):Ae>5||5==Ae&&(4==se||de||6==se&&(fe>0?be>0?Ce/ct[he-be]:0:Ie[Pe-1])%10&1||se==(j.s<0?8:7)),re<1||!Ie[0])return Ie.length=0,de?(Ie[0]=ct[(C-(re-=j.e+1)%C)%C],j.e=-re||0):Ie[0]=j.e=0,j;if(0==fe?(Ie.length=Pe,ge=1,Pe--):(Ie.length=Pe+1,ge=ct[C-fe],Ie[Pe]=be>0?c(Ce/ct[he-be]%ct[be])*ge:0),de)for(;;){if(0==Pe){for(fe=1,be=Ie[0];be>=10;be/=10,fe++);for(be=Ie[0]+=ge,ge=1;be>=10;be/=10,ge++);fe!=ge&&(j.e++,Ie[0]==T&&(Ie[0]=1));break}if(Ie[Pe]+=ge,Ie[Pe]!=T)break;Ie[Pe--]=0,ge=1}for(fe=Ie.length;0===Ie[--fe];Ie.pop());}j.e>Ne?j.c=j.e=null:j.e>>11))>=9e15?(he=crypto.getRandomValues(new Uint32Array(2)),de[Ce]=he[0],de[Ce+1]=he[1]):(Pe.push(ge%1e14),Ce+=2);Ce=be/2}else{if(!crypto.randomBytes)throw at=!1,Error(_+"crypto unavailable");for(de=crypto.randomBytes(be*=7);Ce=9e15?crypto.randomBytes(7).copy(de,Ce):(Pe.push(ge%1e14),Ce+=7);Ce=be/7}if(!at)for(;Ce=10;ge/=10,Ce++);Cehe-1&&(null==ge[be+1]&&(ge[be+1]=0),ge[be+1]+=ge[be]/he|0,ge[be]%=he)}return ge.reverse()}return function(se,de,he,fe,be){var ge,Ce,Pe,Ae,Ie,ct,ht,nt,mn=se.indexOf("."),In=xe,It=Re;for(mn>=0&&(Ae=jt,jt=0,se=se.replace(".",""),ct=(nt=new Ve(de)).pow(se.length-mn),jt=Ae,nt.c=re(ee(G(ct.c),ct.e,"0"),10,he,j),nt.e=nt.c.length),Pe=Ae=(ht=re(se,de,he,be?(ge=vn,j):(ge=j,vn))).length;0==ht[--Ae];ht.pop());if(!ht[0])return ge.charAt(0);if(mn<0?--Pe:(ct.c=ht,ct.e=Pe,ct.s=fe,ht=(ct=te(ct,nt,In,It,he)).c,Ie=ct.r,Pe=ct.e),mn=ht[Ce=Pe+In+1],Ae=he/2,Ie=Ie||Ce<0||null!=ht[Ce+1],Ie=It<4?(null!=mn||Ie)&&(0==It||It==(ct.s<0?3:2)):mn>Ae||mn==Ae&&(4==It||Ie||6==It&&1&ht[Ce-1]||It==(ct.s<0?8:7)),Ce<1||!ht[0])se=Ie?ee(ge.charAt(1),-In,ge.charAt(0)):ge.charAt(0);else{if(ht.length=Ce,Ie)for(--he;++ht[--Ce]>he;)ht[Ce]=0,Ce||(++Pe,ht=[1].concat(ht));for(Ae=ht.length;!ht[--Ae];);for(mn=0,se="";mn<=Ae;se+=ge.charAt(ht[mn++]));se=ee(se,Pe,ge.charAt(0))}return se}}(),te=function(){function j(de,he,fe){var be,ge,Ce,Pe,Ae=0,Ie=de.length,ct=he%y,ht=he/y|0;for(de=de.slice();Ie--;)Ae=((ge=ct*(Ce=de[Ie]%y)+(be=ht*Ce+(Pe=de[Ie]/y|0)*ct)%y*y+Ae)/fe|0)+(be/y|0)+ht*Pe,de[Ie]=ge%fe;return Ae&&(de=[Ae].concat(de)),de}function re(de,he,fe,be){var ge,Ce;if(fe!=be)Ce=fe>be?1:-1;else for(ge=Ce=0;gehe[ge]?1:-1;break}return Ce}function se(de,he,fe,be){for(var ge=0;fe--;)de[fe]-=ge,de[fe]=(ge=de[fe]1;de.splice(0,1));}return function(de,he,fe,be,ge){var Ce,Pe,Ae,Ie,ct,ht,nt,mn,In,It,zt,qn,Bn,ma,Bi,kr,Wt,Rn=de.s==he.s?1:-1,gn=de.c,qe=he.c;if(!(gn&&gn[0]&&qe&&qe[0]))return new Ve(de.s&&he.s&&(gn?!qe||gn[0]!=qe[0]:qe)?gn&&0==gn[0]||!qe?0*Rn:Rn/0:NaN);for(In=(mn=new Ve(Rn)).c=[],Rn=fe+(Pe=de.e-he.e)+1,ge||(ge=T,Pe=z(de.e/C)-z(he.e/C),Rn=Rn/C|0),Ae=0;qe[Ae]==(gn[Ae]||0);Ae++);if(qe[Ae]>(gn[Ae]||0)&&Pe--,Rn<0)In.push(1),Ie=!0;else{for(ma=gn.length,kr=qe.length,Ae=0,Rn+=2,(ct=c(ge/(qe[0]+1)))>1&&(qe=j(qe,ct,ge),gn=j(gn,ct,ge),kr=qe.length,ma=gn.length),Bn=kr,zt=(It=gn.slice(0,kr)).length;zt=ge/2&&Bi++;do{if(ct=0,(Ce=re(qe,It,kr,zt))<0){if(qn=It[0],kr!=zt&&(qn=qn*ge+(It[1]||0)),(ct=c(qn/Bi))>1)for(ct>=ge&&(ct=ge-1),nt=(ht=j(qe,ct,ge)).length,zt=It.length;1==re(ht,It,nt,zt);)ct--,se(ht,kr=10;Rn/=10,Ae++);Hn(mn,fe+(mn.e=Ae+Pe*C-1)+1,be,Ie)}else mn.e=Pe,mn.r=+Ie;return mn}}(),le=function(){var j=/^(-?)0([xbo])(?=\w[\w.]*$)/i,re=/^([^.]+)\.$/,se=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,he=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(fe,be,ge,Ce){var Pe,Ae=ge?be:be.replace(he,"");if(de.test(Ae))fe.s=isNaN(Ae)?null:Ae<0?-1:1,fe.c=fe.e=null;else{if(!ge&&(Ae=Ae.replace(j,function(Ie,ct,ht){return Pe="x"==(ht=ht.toLowerCase())?16:"b"==ht?2:8,Ce&&Ce!=Pe?Ie:ct}),Ce&&(Pe=Ce,Ae=Ae.replace(re,"$1").replace(se,"0.$1")),be!=Ae))return new Ve(Ae,Pe);if(Ve.DEBUG)throw Error(_+"Not a"+(Ce?" base "+Ce:"")+" number: "+be);fe.c=fe.e=fe.s=null}}}(),X.absoluteValue=X.abs=function(){var j=new Ve(this);return j.s<0&&(j.s=1),j},X.comparedTo=function(j,re){return ie(this,new Ve(j,re))},X.decimalPlaces=X.dp=function(j,re){var se,de,he;if(null!=j)return ce(j,0,I),null==re?re=Re:ce(re,0,8),Hn(new Ve(this),j+this.e+1,re);if(!(se=this.c))return null;if(de=((he=se.length-1)-z(this.e/C))*C,he=se[he])for(;he%10==0;he/=10,de--);return de<0&&(de=0),de},X.dividedBy=X.div=function(j,re){return te(this,new Ve(j,re),xe,Re)},X.dividedToIntegerBy=X.idiv=function(j,re){return te(this,new Ve(j,re),0,1)},X.exponentiatedBy=X.pow=function(j,re){var se,de,he,be,ge,Ce,Pe,Ae=this;if((j=new Ve(j)).c&&!j.isInteger())throw Error(_+"Exponent not an integer: "+j);if(null!=re&&(re=new Ve(re)),be=j.e>14,!Ae.c||!Ae.c[0]||1==Ae.c[0]&&!Ae.e&&1==Ae.c.length||!j.c||!j.c[0])return Pe=new Ve(Math.pow(+Ae.valueOf(),be?2-$(j):+j)),re?Pe.mod(re):Pe;if(ge=j.s<0,re){if(re.c?!re.c[0]:!re.s)return new Ve(NaN);(de=!ge&&Ae.isInteger()&&re.isInteger())&&(Ae=Ae.mod(re))}else{if(j.e>9&&(Ae.e>0||Ae.e<-1||(0==Ae.e?Ae.c[0]>1||be&&Ae.c[1]>=24e7:Ae.c[0]<8e13||be&&Ae.c[0]<=9999975e7)))return he=Ae.s<0&&$(j)?-0:0,Ae.e>-1&&(he=1/he),new Ve(ge?1/he:he);jt&&(he=d(jt/C+2))}for(be?(se=new Ve(.5),Ce=$(j)):Ce=j%2,ge&&(j.s=1),Pe=new Ve(De);;){if(Ce){if(!(Pe=Pe.times(Ae)).c)break;he?Pe.c.length>he&&(Pe.c.length=he):de&&(Pe=Pe.mod(re))}if(be){if(Hn(j=j.times(se),j.e+1,1),!j.c[0])break;be=j.e>14,Ce=$(j)}else{if(!(j=c(j/2)))break;Ce=j%2}Ae=Ae.times(Ae),he?Ae.c&&Ae.c.length>he&&(Ae.c.length=he):de&&(Ae=Ae.mod(re))}return de?Pe:(ge&&(Pe=De.div(Pe)),re?Pe.mod(re):he?Hn(Pe,jt,Re,void 0):Pe)},X.integerValue=function(j){var re=new Ve(this);return null==j?j=Re:ce(j,0,8),Hn(re,re.e+1,j)},X.isEqualTo=X.eq=function(j,re){return 0===ie(this,new Ve(j,re))},X.isFinite=function(){return!!this.c},X.isGreaterThan=X.gt=function(j,re){return ie(this,new Ve(j,re))>0},X.isGreaterThanOrEqualTo=X.gte=function(j,re){return 1===(re=ie(this,new Ve(j,re)))||0===re},X.isInteger=function(){return!!this.c&&z(this.e/C)>this.c.length-2},X.isLessThan=X.lt=function(j,re){return ie(this,new Ve(j,re))<0},X.isLessThanOrEqualTo=X.lte=function(j,re){return-1===(re=ie(this,new Ve(j,re)))||0===re},X.isNaN=function(){return!this.s},X.isNegative=function(){return this.s<0},X.isPositive=function(){return this.s>0},X.isZero=function(){return!!this.c&&0==this.c[0]},X.minus=function(j,re){var se,de,he,fe,be=this,ge=be.s;if(re=(j=new Ve(j,re)).s,!ge||!re)return new Ve(NaN);if(ge!=re)return j.s=-re,be.plus(j);var Ce=be.e/C,Pe=j.e/C,Ae=be.c,Ie=j.c;if(!Ce||!Pe){if(!Ae||!Ie)return Ae?(j.s=-re,j):new Ve(Ie?be:NaN);if(!Ae[0]||!Ie[0])return Ie[0]?(j.s=-re,j):new Ve(Ae[0]?be:3==Re?-0:0)}if(Ce=z(Ce),Pe=z(Pe),Ae=Ae.slice(),ge=Ce-Pe){for((fe=ge<0)?(ge=-ge,he=Ae):(Pe=Ce,he=Ie),he.reverse(),re=ge;re--;he.push(0));he.reverse()}else for(de=(fe=(ge=Ae.length)<(re=Ie.length))?ge:re,ge=re=0;re0)for(;re--;Ae[se++]=0);for(re=T-1;de>ge;){if(Ae[--de]=0;){for(se=0,ct=qn[he]%In,ht=qn[he]/In|0,fe=he+(be=Ce);fe>he;)se=((Pe=ct*(Pe=zt[--be]%In)+(ge=ht*Pe+(Ae=zt[be]/In|0)*ct)%In*In+nt[fe]+se)/mn|0)+(ge/In|0)+ht*Ae,nt[fe--]=Pe%mn;nt[fe]=se}return se?++de:nt.splice(0,1),Tr(j,nt,de)},X.negated=function(){var j=new Ve(this);return j.s=-j.s||null,j},X.plus=function(j,re){var se,de=this,he=de.s;if(re=(j=new Ve(j,re)).s,!he||!re)return new Ve(NaN);if(he!=re)return j.s=-re,de.minus(j);var fe=de.e/C,be=j.e/C,ge=de.c,Ce=j.c;if(!fe||!be){if(!ge||!Ce)return new Ve(he/0);if(!ge[0]||!Ce[0])return Ce[0]?j:new Ve(ge[0]?de:0*he)}if(fe=z(fe),be=z(be),ge=ge.slice(),he=fe-be){for(he>0?(be=fe,se=Ce):(he=-he,se=ge),se.reverse();he--;se.push(0));se.reverse()}for((he=ge.length)-(re=Ce.length)<0&&(se=Ce,Ce=ge,ge=se,re=he),he=0;re;)he=(ge[--re]=ge[re]+Ce[re]+he)/T|0,ge[re]=T===ge[re]?0:ge[re]%T;return he&&(ge=[he].concat(ge),++be),Tr(j,ge,be)},X.precision=X.sd=function(j,re){var se,de,he;if(null!=j&&j!==!!j)return ce(j,1,I),null==re?re=Re:ce(re,0,8),Hn(new Ve(this),j,re);if(!(se=this.c))return null;if(de=(he=se.length-1)*C+1,he=se[he]){for(;he%10==0;he/=10,de--);for(he=se[0];he>=10;he/=10,de++);}return j&&this.e+1>de&&(de=this.e+1),de},X.shiftedBy=function(j){return ce(j,-x,x),this.times("1e"+j)},X.squareRoot=X.sqrt=function(){var j,re,se,de,he,fe=this,be=fe.c,ge=fe.s,Ce=fe.e,Pe=xe+4,Ae=new Ve("0.5");if(1!==ge||!be||!be[0])return new Ve(!ge||ge<0&&(!be||be[0])?NaN:be?fe:1/0);if(0==(ge=Math.sqrt(+fe))||ge==1/0?(((re=G(be)).length+Ce)%2==0&&(re+="0"),ge=Math.sqrt(re),Ce=z((Ce+1)/2)-(Ce<0||Ce%2),se=new Ve(re=ge==1/0?"1e"+Ce:(re=ge.toExponential()).slice(0,re.indexOf("e")+1)+Ce)):se=new Ve(ge+""),se.c[0])for((ge=(Ce=se.e)+Pe)<3&&(ge=0);;)if(se=Ae.times((he=se).plus(te(fe,he,Pe,1))),G(he.c).slice(0,ge)===(re=G(se.c)).slice(0,ge)){if(se.e0&&ct>0){for(Ce=Ie.substr(0,de=ct%fe||fe);de0&&(Ce+=ge+Ie.slice(de)),Ae&&(Ce="-"+Ce)}se=Pe?Ce+sn.decimalSeparator+((be=+sn.fractionGroupSize)?Pe.replace(new RegExp("\\d{"+be+"}\\B","g"),"$&"+sn.fractionGroupSeparator):Pe):Ce}return se},X.toFraction=function(j){var re,se,de,he,fe,be,ge,Ce,Pe,Ae,Ie,ct,ht=this,nt=ht.c;if(null!=j&&(!(Ce=new Ve(j)).isInteger()&&(Ce.c||1!==Ce.s)||Ce.lt(De)))throw Error(_+"Argument "+(Ce.isInteger()?"out of range: ":"not an integer: ")+j);if(!nt)return ht.toString();for(se=new Ve(De),Ae=de=new Ve(De),he=Pe=new Ve(De),ct=G(nt),be=se.e=ct.length-ht.e-1,se.c[0]=S[(ge=be%C)<0?C+ge:ge],j=!j||Ce.comparedTo(se)>0?be>0?se:Ae:Ce,ge=Ne,Ne=1/0,Ce=new Ve(ct),Pe.c[0]=0;Ie=te(Ce,se,0,1),1!=(fe=de.plus(Ie.times(he))).comparedTo(j);)de=he,he=fe,Ae=Pe.plus(Ie.times(fe=Ae)),Pe=fe,se=Ce.minus(Ie.times(fe=se)),Ce=fe;return fe=te(j.minus(de),he,0,1),Pe=Pe.plus(fe.times(Ae)),de=de.plus(fe.times(he)),Pe.s=Ae.s=ht.s,re=te(Ae,he,be*=2,Re).minus(ht).abs().comparedTo(te(Pe,de,be,Re).minus(ht).abs())<1?[Ae.toString(),he.toString()]:[Pe.toString(),de.toString()],Ne=ge,re},X.toNumber=function(){return+this},X.toPrecision=function(j,re){return null!=j&&ce(j,1,I),br(this,j,re,2)},X.toString=function(j){var re,de=this.s,he=this.e;return null===he?de?(re="Infinity",de<0&&(re="-"+re)):re="NaN":(re=G(this.c),null==j?re=he<=He||he>=Ge?ue(re,he):ee(re,he,"0"):(ce(j,2,vn.length,"Base"),re=ae(ee(re,he,"0"),10,j,de,!0)),de<0&&this.c[0]&&(re="-"+re)),re},X.valueOf=X.toJSON=function(){var j,se=this.e;return null===se?this.toString():(j=G(this.c),j=se<=He||se>=Ge?ue(j,se):ee(j,se,"0"),this.s<0?"-"+j:j)},X._isBigNumber=!0,null!=Q&&Ve.set(Q),Ve}(),D.default=D.BigNumber=D,void 0!==(O=function(){return D}.call(ye,H,ye,ve))&&(ve.exports=O)}()},6149:function(ve,ye,H){var O=H(5979)();O.helpers=H(3305),H(3533)(O),O.defaults=H(9800),O.Element=H(8839),O.elements=H(9931),O.Interaction=H(2814),O.layouts=H(2294),O.platform=H(8244),O.plugins=H(2445),O.Ticks=H(8347),H(8103)(O),H(1047)(O),H(7897)(O),H(5464)(O),H(6308)(O),H(480)(O),H(8351)(O),H(4977)(O),H(1704)(O),H(1486)(O),H(8726)(O),H(4215)(O),H(2690)(O),H(4033)(O),H(787)(O),H(6769)(O),H(6580)(O),H(4657)(O),H(1895)(O),H(6038)(O),H(2898)(O),H(3414)(O),H(6667)(O),H(402)(O),H(846)(O),H(9377)(O);var M=H(6747);for(var D in M)M.hasOwnProperty(D)&&O.plugins.register(M[D]);O.platform.initialize(),ve.exports=O,"undefined"!=typeof window&&(window.Chart=O),O.Legend=M.legend._element,O.Title=M.title._element,O.pluginService=O.plugins,O.PluginBase=O.Element.extend({}),O.canvasHelpers=O.helpers.canvas,O.layoutService=O.layouts},6038:function(ve){"use strict";ve.exports=function(ye){ye.Bar=function(H,O){return O.type="bar",new ye(H,O)}}},2898:function(ve){"use strict";ve.exports=function(ye){ye.Bubble=function(H,O){return O.type="bubble",new ye(H,O)}}},3414:function(ve){"use strict";ve.exports=function(ye){ye.Doughnut=function(H,O){return O.type="doughnut",new ye(H,O)}}},6667:function(ve){"use strict";ve.exports=function(ye){ye.Line=function(H,O){return O.type="line",new ye(H,O)}}},402:function(ve){"use strict";ve.exports=function(ye){ye.PolarArea=function(H,O){return O.type="polarArea",new ye(H,O)}}},846:function(ve){"use strict";ve.exports=function(ye){ye.Radar=function(H,O){return O.type="radar",new ye(H,O)}}},9377:function(ve){"use strict";ve.exports=function(ye){ye.Scatter=function(H,O){return O.type="scatter",new ye(H,O)}}},2690:function(ve,ye,H){"use strict";var O=H(9800),M=H(9931),D=H(3305);O._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),O._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(h,T){var C="";return h.length>0&&(h[0].yLabel?C=h[0].yLabel:T.labels.length>0&&h[0].index0?Math.min(T,S-x):T,x=S;return T}(C,z):-1,{min:ce,pixels:z,start:I,end:N,stackCount:x,scale:C}},calculateBarValuePixels:function(T,C){var ne,$,ue,ee,Q,te,x=this,S=x.chart,y=x.getMeta(),I=x.getValueScale(),N=S.data.datasets,z=I.getRightValue(N[T].data[C]),G=I.options.stacked,ie=y.stack,ce=0;if(G||void 0===G&&void 0!==ie)for(ne=0;ne=0&&ue>0)&&(ce+=ue));return ee=I.getPixelForValue(ce),{size:te=((Q=I.getPixelForValue(ce+z))-ee)/2,base:ee,head:Q,center:Q+te/2}},calculateBarIndexPixels:function(T,C,x){var y=x.scale.options,I="flex"===y.barThickness?function c(_,h,T){var C=h.pixels,x=C[_],S=_>0?C[_-1]:null,y=_');var _=d.data,h=_.datasets,T=_.labels;if(h.length)for(var C=0;C'),T[C]&&c.push(T[C]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(d){var c=d.data;return c.labels.length&&c.datasets.length?c.labels.map(function(_,h){var T=d.getDatasetMeta(0),C=c.datasets[0],x=T.data[h],S=x&&x.custom||{},y=D.valueAtIndexOrDefault,I=d.options.elements.arc;return{text:_,fillStyle:S.backgroundColor?S.backgroundColor:y(C.backgroundColor,h,I.backgroundColor),strokeStyle:S.borderColor?S.borderColor:y(C.borderColor,h,I.borderColor),lineWidth:S.borderWidth?S.borderWidth:y(C.borderWidth,h,I.borderWidth),hidden:isNaN(C.data[h])||T.data[h].hidden,index:h}}):[]}},onClick:function(d,c){var T,C,x,_=c.index,h=this.chart;for(T=0,C=(h.data.datasets||[]).length;T=Math.PI?-1:ce<-Math.PI?1:0))+ie,$={x:Math.cos(ce),y:Math.sin(ce)},ue={x:Math.cos(ne),y:Math.sin(ne)},ee=ce<=0&&ne>=0||ce<=2*Math.PI&&2*Math.PI<=ne,Q=ce<=.5*Math.PI&&.5*Math.PI<=ne||ce<=2.5*Math.PI&&2.5*Math.PI<=ne,te=ce<=-Math.PI&&-Math.PI<=ne||ce<=Math.PI&&Math.PI<=ne,ae=ce<=.5*-Math.PI&&.5*-Math.PI<=ne||ce<=1.5*Math.PI&&1.5*Math.PI<=ne,le=G/100,X={x:te?-1:Math.min($.x*($.x<0?1:le),ue.x*(ue.x<0?1:le)),y:ae?-1:Math.min($.y*($.y<0?1:le),ue.y*(ue.y<0?1:le))},De={x:ee?1:Math.max($.x*($.x>0?1:le),ue.x*(ue.x>0?1:le)),y:Q?1:Math.max($.y*($.y>0?1:le),ue.y*(ue.y>0?1:le))},xe={width:.5*(De.x-X.x),height:.5*(De.y-X.y)};I=Math.min(S/xe.width,y/xe.height),N={x:-.5*(De.x+X.x),y:-.5*(De.y+X.y)}}h.borderWidth=_.getMaxBorderWidth(z.data),h.outerRadius=Math.max((I-h.borderWidth)/2,0),h.innerRadius=Math.max(G?h.outerRadius/100*G:0,0),h.radiusLength=(h.outerRadius-h.innerRadius)/h.getVisibleDatasetCount(),h.offsetX=N.x*h.outerRadius,h.offsetY=N.y*h.outerRadius,z.total=_.calculateTotal(),_.outerRadius=h.outerRadius-h.radiusLength*_.getRingIndex(_.index),_.innerRadius=Math.max(_.outerRadius-h.radiusLength,0),D.each(z.data,function(Re,He){_.updateElement(Re,He,c)})},updateElement:function(c,_,h){var T=this,C=T.chart,x=C.chartArea,S=C.options,y=S.animation,I=(x.left+x.right)/2,N=(x.top+x.bottom)/2,z=S.rotation,G=S.rotation,ie=T.getDataset(),ce=h&&y.animateRotate||c.hidden?0:T.calculateCircumference(ie.data[_])*(S.circumference/(2*Math.PI));D.extend(c,{_datasetIndex:T.index,_index:_,_model:{x:I+C.offsetX,y:N+C.offsetY,startAngle:z,endAngle:G,circumference:ce,outerRadius:h&&y.animateScale?0:T.outerRadius,innerRadius:h&&y.animateScale?0:T.innerRadius,label:(0,D.valueAtIndexOrDefault)(ie.label,_,C.data.labels[_])}});var ee=c._model;this.removeHoverStyle(c),(!h||!y.animateRotate)&&(ee.startAngle=0===_?S.rotation:T.getMeta().data[_-1]._model.endAngle,ee.endAngle=ee.startAngle+ee.circumference),c.pivot()},removeHoverStyle:function(c){p.DatasetController.prototype.removeHoverStyle.call(this,c,this.chart.options.elements.arc)},calculateTotal:function(){var T,c=this.getDataset(),_=this.getMeta(),h=0;return D.each(_.data,function(C,x){T=c.data[x],!isNaN(T)&&!C.hidden&&(h+=Math.abs(T))}),h},calculateCircumference:function(c){var _=this.getMeta().total;return _>0&&!isNaN(c)?2*Math.PI*(Math.abs(c)/_):0},getMaxBorderWidth:function(c){for(var C,x,_=0,h=this.index,T=c.length,S=0;S(_=(C=c[S]._model?c[S]._model.borderWidth:0)>_?C:_)?x:_;return _}})}},6769:function(ve,ye,H){"use strict";var O=H(9800),M=H(9931),D=H(3305);O._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),ve.exports=function(p){function d(c,_){return D.valueOrDefault(c.showLine,_.showLines)}p.controllers.line=p.DatasetController.extend({datasetElementType:M.Line,dataElementType:M.Point,update:function(_){var N,z,G,h=this,T=h.getMeta(),C=T.dataset,x=T.data||[],S=h.chart.options,y=S.elements.line,I=h.getScaleForId(T.yAxisID),ie=h.getDataset(),ce=d(ie,S);for(ce&&(G=C.custom||{},void 0!==ie.tension&&void 0===ie.lineTension&&(ie.lineTension=ie.tension),C._scale=I,C._datasetIndex=h.index,C._children=x,C._model={spanGaps:ie.spanGaps?ie.spanGaps:S.spanGaps,tension:G.tension?G.tension:D.valueOrDefault(ie.lineTension,y.tension),backgroundColor:G.backgroundColor?G.backgroundColor:ie.backgroundColor||y.backgroundColor,borderWidth:G.borderWidth?G.borderWidth:ie.borderWidth||y.borderWidth,borderColor:G.borderColor?G.borderColor:ie.borderColor||y.borderColor,borderCapStyle:G.borderCapStyle?G.borderCapStyle:ie.borderCapStyle||y.borderCapStyle,borderDash:G.borderDash?G.borderDash:ie.borderDash||y.borderDash,borderDashOffset:G.borderDashOffset?G.borderDashOffset:ie.borderDashOffset||y.borderDashOffset,borderJoinStyle:G.borderJoinStyle?G.borderJoinStyle:ie.borderJoinStyle||y.borderJoinStyle,fill:G.fill?G.fill:void 0!==ie.fill?ie.fill:y.fill,steppedLine:G.steppedLine?G.steppedLine:D.valueOrDefault(ie.steppedLine,y.stepped),cubicInterpolationMode:G.cubicInterpolationMode?G.cubicInterpolationMode:D.valueOrDefault(ie.cubicInterpolationMode,y.cubicInterpolationMode)},C.pivot()),N=0,z=x.length;N');var _=d.data,h=_.datasets,T=_.labels;if(h.length)for(var C=0;C'),T[C]&&c.push(T[C]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(d){var c=d.data;return c.labels.length&&c.datasets.length?c.labels.map(function(_,h){var T=d.getDatasetMeta(0),C=c.datasets[0],S=T.data[h].custom||{},y=D.valueAtIndexOrDefault,I=d.options.elements.arc;return{text:_,fillStyle:S.backgroundColor?S.backgroundColor:y(C.backgroundColor,h,I.backgroundColor),strokeStyle:S.borderColor?S.borderColor:y(C.borderColor,h,I.borderColor),lineWidth:S.borderWidth?S.borderWidth:y(C.borderWidth,h,I.borderWidth),hidden:isNaN(C.data[h])||T.data[h].hidden,index:h}}):[]}},onClick:function(d,c){var T,C,x,_=c.index,h=this.chart;for(T=0,C=(h.data.datasets||[]).length;T0&&!isNaN(c)?2*Math.PI/_:0}})}},4657:function(ve,ye,H){"use strict";var O=H(9800),M=H(9931),D=H(3305);O._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),ve.exports=function(p){p.controllers.radar=p.DatasetController.extend({datasetElementType:M.Line,dataElementType:M.Point,linkScales:D.noop,update:function(c){var _=this,h=_.getMeta(),C=h.data,x=h.dataset.custom||{},S=_.getDataset(),y=_.chart.options.elements.line,I=_.chart.scale;void 0!==S.tension&&void 0===S.lineTension&&(S.lineTension=S.tension),D.extend(h.dataset,{_datasetIndex:_.index,_scale:I,_children:C,_loop:!0,_model:{tension:x.tension?x.tension:D.valueOrDefault(S.lineTension,y.tension),backgroundColor:x.backgroundColor?x.backgroundColor:S.backgroundColor||y.backgroundColor,borderWidth:x.borderWidth?x.borderWidth:S.borderWidth||y.borderWidth,borderColor:x.borderColor?x.borderColor:S.borderColor||y.borderColor,fill:x.fill?x.fill:void 0!==S.fill?S.fill:y.fill,borderCapStyle:x.borderCapStyle?x.borderCapStyle:S.borderCapStyle||y.borderCapStyle,borderDash:x.borderDash?x.borderDash:S.borderDash||y.borderDash,borderDashOffset:x.borderDashOffset?x.borderDashOffset:S.borderDashOffset||y.borderDashOffset,borderJoinStyle:x.borderJoinStyle?x.borderJoinStyle:S.borderJoinStyle||y.borderJoinStyle}}),h.dataset.pivot(),D.each(C,function(N,z){_.updateElement(N,z,c)},_),_.updateBezierControlPoints()},updateElement:function(c,_,h){var T=this,C=c.custom||{},x=T.getDataset(),S=T.chart.scale,y=T.chart.options.elements.point,I=S.getPointPositionForValue(_,x.data[_]);void 0!==x.radius&&void 0===x.pointRadius&&(x.pointRadius=x.radius),void 0!==x.hitRadius&&void 0===x.pointHitRadius&&(x.pointHitRadius=x.hitRadius),D.extend(c,{_datasetIndex:T.index,_index:_,_scale:S,_model:{x:h?S.xCenter:I.x,y:h?S.yCenter:I.y,tension:C.tension?C.tension:D.valueOrDefault(x.lineTension,T.chart.options.elements.line.tension),radius:C.radius?C.radius:D.valueAtIndexOrDefault(x.pointRadius,_,y.radius),backgroundColor:C.backgroundColor?C.backgroundColor:D.valueAtIndexOrDefault(x.pointBackgroundColor,_,y.backgroundColor),borderColor:C.borderColor?C.borderColor:D.valueAtIndexOrDefault(x.pointBorderColor,_,y.borderColor),borderWidth:C.borderWidth?C.borderWidth:D.valueAtIndexOrDefault(x.pointBorderWidth,_,y.borderWidth),pointStyle:C.pointStyle?C.pointStyle:D.valueAtIndexOrDefault(x.pointStyle,_,y.pointStyle),hitRadius:C.hitRadius?C.hitRadius:D.valueAtIndexOrDefault(x.pointHitRadius,_,y.hitRadius)}}),c._model.skip=C.skip?C.skip:isNaN(c._model.x)||isNaN(c._model.y)},updateBezierControlPoints:function(){var c=this.chart.chartArea,_=this.getMeta();D.each(_.data,function(h,T){var C=h._model,x=D.splineCurve(D.previousItem(_.data,T,!0)._model,C,D.nextItem(_.data,T,!0)._model,C.tension);C.controlPointPreviousX=Math.max(Math.min(x.previous.x,c.right),c.left),C.controlPointPreviousY=Math.max(Math.min(x.previous.y,c.bottom),c.top),C.controlPointNextX=Math.max(Math.min(x.next.x,c.right),c.left),C.controlPointNextY=Math.max(Math.min(x.next.y,c.bottom),c.top),h.pivot()})},setHoverStyle:function(c){var _=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},T=c._index,C=c._model;C.radius=h.hoverRadius?h.hoverRadius:D.valueAtIndexOrDefault(_.pointHoverRadius,T,this.chart.options.elements.point.hoverRadius),C.backgroundColor=h.hoverBackgroundColor?h.hoverBackgroundColor:D.valueAtIndexOrDefault(_.pointHoverBackgroundColor,T,D.getHoverColor(C.backgroundColor)),C.borderColor=h.hoverBorderColor?h.hoverBorderColor:D.valueAtIndexOrDefault(_.pointHoverBorderColor,T,D.getHoverColor(C.borderColor)),C.borderWidth=h.hoverBorderWidth?h.hoverBorderWidth:D.valueAtIndexOrDefault(_.pointHoverBorderWidth,T,C.borderWidth)},removeHoverStyle:function(c){var _=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},T=c._index,C=c._model,x=this.chart.options.elements.point;C.radius=h.radius?h.radius:D.valueAtIndexOrDefault(_.pointRadius,T,x.radius),C.backgroundColor=h.backgroundColor?h.backgroundColor:D.valueAtIndexOrDefault(_.pointBackgroundColor,T,x.backgroundColor),C.borderColor=h.borderColor?h.borderColor:D.valueAtIndexOrDefault(_.pointBorderColor,T,x.borderColor),C.borderWidth=h.borderWidth?h.borderWidth:D.valueAtIndexOrDefault(_.pointBorderWidth,T,x.borderWidth)}})}},1895:function(ve,ye,H){"use strict";H(9800)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(D){return"("+D.xLabel+", "+D.yLabel+")"}}}}),ve.exports=function(M){M.controllers.scatter=M.controllers.line}},8103:function(ve,ye,H){"use strict";var O=H(9800),M=H(8839),D=H(3305);O._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:D.noop,onComplete:D.noop}}),ve.exports=function(p){p.Animation=M.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),p.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(c,_,h,T){var x,S,C=this.animations;for(_.chart=c,T||(c.animating=!0),x=0,S=C.length;x1&&(h=Math.floor(c.dropFrames),c.dropFrames=c.dropFrames%1),c.advance(1+h);var T=Date.now();c.dropFrames+=(T-_)/c.frameDuration,c.animations.length>0&&c.requestAnimationFrame()},advance:function(c){for(var h,T,_=this.animations,C=0;C<_.length;)T=(h=_[C]).chart,h.currentStep=(h.currentStep||0)+c,h.currentStep=Math.min(h.currentStep,h.numSteps),D.callback(h.render,[T,h],T),D.callback(h.onAnimationProgress,[h],T),h.currentStep>=h.numSteps?(D.callback(h.onAnimationComplete,[h],T),T.animating=!1,_.splice(C,1)):++C}},Object.defineProperty(p.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(p.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(c){this.chart=c}})}},1047:function(ve,ye,H){"use strict";var O=H(9800),M=H(3305),D=H(2814),p=H(2294),d=H(8244),c=H(2445);ve.exports=function(_){function T(x){var S=x.options;M.each(x.scales,function(y){p.removeBox(x,y)}),S=M.configMerge(_.defaults.global,_.defaults[x.config.type],S),x.options=x.config.options=S,x.ensureScalesHaveIDs(),x.buildOrUpdateScales(),x.tooltip._options=S.tooltips,x.tooltip.initialize()}function C(x){return"top"===x||"bottom"===x}_.types={},_.instances={},_.controllers={},M.extend(_.prototype,{construct:function(S,y){var I=this;y=function h(x){var S=(x=x||{}).data=x.data||{};return S.datasets=S.datasets||[],S.labels=S.labels||[],x.options=M.configMerge(O.global,O[x.type],x.options||{}),x}(y);var N=d.acquireContext(S,y),z=N&&N.canvas,G=z&&z.height,ie=z&&z.width;I.id=M.uid(),I.ctx=N,I.canvas=z,I.config=y,I.width=ie,I.height=G,I.aspectRatio=G?ie/G:null,I.options=y.options,I._bufferedRender=!1,I.chart=I,I.controller=I,_.instances[I.id]=I,Object.defineProperty(I,"data",{get:function(){return I.config.data},set:function(ne){I.config.data=ne}}),N&&z?(I.initialize(),I.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var S=this;return c.notify(S,"beforeInit"),M.retinaScale(S,S.options.devicePixelRatio),S.bindEvents(),S.options.responsive&&S.resize(!0),S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.initToolTip(),c.notify(S,"afterInit"),S},clear:function(){return M.canvas.clear(this),this},stop:function(){return _.animationService.cancelAnimation(this),this},resize:function(S){var y=this,I=y.options,N=y.canvas,z=I.maintainAspectRatio&&y.aspectRatio||null,G=Math.max(0,Math.floor(M.getMaximumWidth(N))),ie=Math.max(0,Math.floor(z?G/z:M.getMaximumHeight(N)));if((y.width!==G||y.height!==ie)&&(N.width=y.width=G,N.height=y.height=ie,N.style.width=G+"px",N.style.height=ie+"px",M.retinaScale(y,I.devicePixelRatio),!S)){var ce={width:G,height:ie};c.notify(y,"resize",[ce]),y.options.onResize&&y.options.onResize(y,ce),y.stop(),y.update(y.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var S=this.options,y=S.scales||{},I=S.scale;M.each(y.xAxes,function(N,z){N.id=N.id||"x-axis-"+z}),M.each(y.yAxes,function(N,z){N.id=N.id||"y-axis-"+z}),I&&(I.id=I.id||"scale")},buildOrUpdateScales:function(){var S=this,y=S.options,I=S.scales||{},N=[],z=Object.keys(I).reduce(function(G,ie){return G[ie]=!1,G},{});y.scales&&(N=N.concat((y.scales.xAxes||[]).map(function(G){return{options:G,dtype:"category",dposition:"bottom"}}),(y.scales.yAxes||[]).map(function(G){return{options:G,dtype:"linear",dposition:"left"}}))),y.scale&&N.push({options:y.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),M.each(N,function(G){var ie=G.options,ce=ie.id,ne=M.valueOrDefault(ie.type,G.dtype);C(ie.position)!==C(G.dposition)&&(ie.position=G.dposition),z[ce]=!0;var $=null;if(ce in I&&I[ce].type===ne)($=I[ce]).options=ie,$.ctx=S.ctx,$.chart=S;else{var ue=_.scaleService.getScaleConstructor(ne);if(!ue)return;$=new ue({id:ce,type:ne,options:ie,ctx:S.ctx,chart:S}),I[$.id]=$}$.mergeTicksOptions(),G.isDefault&&(S.scale=$)}),M.each(z,function(G,ie){G||delete I[ie]}),S.scales=I,_.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var S=this,y=[],I=[];return M.each(S.data.datasets,function(N,z){var G=S.getDatasetMeta(z),ie=N.type||S.config.type;if(G.type&&G.type!==ie&&(S.destroyDatasetMeta(z),G=S.getDatasetMeta(z)),G.type=ie,y.push(G.type),G.controller)G.controller.updateIndex(z),G.controller.linkScales();else{var ce=_.controllers[G.type];if(void 0===ce)throw new Error('"'+G.type+'" is not a chart type.');G.controller=new ce(S,z),I.push(G.controller)}},S),I},resetElements:function(){var S=this;M.each(S.data.datasets,function(y,I){S.getDatasetMeta(I).controller.reset()},S)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(S){var y=this;if((!S||"object"!=typeof S)&&(S={duration:S,lazy:arguments[1]}),T(y),c._invalidate(y),!1!==c.notify(y,"beforeUpdate")){y.tooltip._data=y.data;var I=y.buildOrUpdateControllers();M.each(y.data.datasets,function(N,z){y.getDatasetMeta(z).controller.buildOrUpdateElements()},y),y.updateLayout(),y.options.animation&&y.options.animation.duration&&M.each(I,function(N){N.reset()}),y.updateDatasets(),y.tooltip.initialize(),y.lastActive=[],c.notify(y,"afterUpdate"),y._bufferedRender?y._bufferedRequest={duration:S.duration,easing:S.easing,lazy:S.lazy}:y.render(S)}},updateLayout:function(){var S=this;!1!==c.notify(S,"beforeLayout")&&(p.update(this,this.width,this.height),c.notify(S,"afterScaleUpdate"),c.notify(S,"afterLayout"))},updateDatasets:function(){var S=this;if(!1!==c.notify(S,"beforeDatasetsUpdate")){for(var y=0,I=S.data.datasets.length;y=0;--I)y.isDatasetVisible(I)&&y.drawDataset(I,S);c.notify(y,"afterDatasetsDraw",[S])}},drawDataset:function(S,y){var I=this,N=I.getDatasetMeta(S),z={meta:N,index:S,easingValue:y};!1!==c.notify(I,"beforeDatasetDraw",[z])&&(N.controller.draw(y),c.notify(I,"afterDatasetDraw",[z]))},_drawTooltip:function(S){var y=this,I=y.tooltip,N={tooltip:I,easingValue:S};!1!==c.notify(y,"beforeTooltipDraw",[N])&&(I.draw(),c.notify(y,"afterTooltipDraw",[N]))},getElementAtEvent:function(S){return D.modes.single(this,S)},getElementsAtEvent:function(S){return D.modes.label(this,S,{intersect:!0})},getElementsAtXAxis:function(S){return D.modes["x-axis"](this,S,{intersect:!0})},getElementsAtEventForMode:function(S,y,I){var N=D.modes[y];return"function"==typeof N?N(this,S,I):[]},getDatasetAtEvent:function(S){return D.modes.dataset(this,S,{intersect:!0})},getDatasetMeta:function(S){var y=this,I=y.data.datasets[S];I._meta||(I._meta={});var N=I._meta[y.id];return N||(N=I._meta[y.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),N},getVisibleDatasetCount:function(){for(var S=0,y=0,I=this.data.datasets.length;y0)&&(D.forEach(function(x){delete c[x]}),delete c._chartjs)}}M.DatasetController=function(c,_){this.initialize(c,_)},O.extend(M.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(_,h){var T=this;T.chart=_,T.index=h,T.linkScales(),T.addElements()},updateIndex:function(_){this.index=_},linkScales:function(){var _=this,h=_.getMeta(),T=_.getDataset();(null===h.xAxisID||!(h.xAxisID in _.chart.scales))&&(h.xAxisID=T.xAxisID||_.chart.options.scales.xAxes[0].id),(null===h.yAxisID||!(h.yAxisID in _.chart.scales))&&(h.yAxisID=T.yAxisID||_.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(_){return this.chart.scales[_]},reset:function(){this.update(!0)},destroy:function(){this._data&&d(this._data,this)},createMetaDataset:function(){var _=this,h=_.datasetElementType;return h&&new h({_chart:_.chart,_datasetIndex:_.index})},createMetaData:function(_){var h=this,T=h.dataElementType;return T&&new T({_chart:h.chart,_datasetIndex:h.index,_index:_})},addElements:function(){var x,S,_=this,h=_.getMeta(),T=_.getDataset().data||[],C=h.data;for(x=0,S=T.length;xC&&_.insertElements(C,x-C)},insertElements:function(_,h){for(var T=0;T=C[T].length&&C[T].push({}),D.merge(C[T][I],!C[T][I].type||z.type&&z.type!==C[T][I].type?[p.scaleService.getScaleDefaults(N),z]:z)}else D._merger(T,C,x,S)}})},D.where=function(h,T){if(D.isArray(h)&&Array.prototype.filter)return h.filter(T);var C=[];return D.each(h,function(x){T(x)&&C.push(x)}),C},D.findIndex=Array.prototype.findIndex?function(h,T,C){return h.findIndex(T,C)}:function(h,T,C){C=void 0===C?h:C;for(var x=0,S=h.length;x=0;x--){var S=h[x];if(T(S))return S}},D.isNumber=function(h){return!isNaN(parseFloat(h))&&isFinite(h)},D.almostEquals=function(h,T,C){return Math.abs(h-T)h},D.max=function(h){return h.reduce(function(T,C){return isNaN(C)?T:Math.max(T,C)},Number.NEGATIVE_INFINITY)},D.min=function(h){return h.reduce(function(T,C){return isNaN(C)?T:Math.min(T,C)},Number.POSITIVE_INFINITY)},D.sign=Math.sign?function(h){return Math.sign(h)}:function(h){return 0==(h=+h)||isNaN(h)?h:h>0?1:-1},D.log10=Math.log10?function(h){return Math.log10(h)}:function(h){var T=Math.log(h)*Math.LOG10E,C=Math.round(T);return h===Math.pow(10,C)?C:T},D.toRadians=function(h){return h*(Math.PI/180)},D.toDegrees=function(h){return h*(180/Math.PI)},D.getAngleFromPoint=function(h,T){var C=T.x-h.x,x=T.y-h.y,S=Math.sqrt(C*C+x*x),y=Math.atan2(x,C);return y<-.5*Math.PI&&(y+=2*Math.PI),{angle:y,distance:S}},D.distanceBetweenPoints=function(h,T){return Math.sqrt(Math.pow(T.x-h.x,2)+Math.pow(T.y-h.y,2))},D.aliasPixel=function(h){return h%2==0?0:.5},D.splineCurve=function(h,T,C,x){var S=h.skip?T:h,y=T,I=C.skip?T:C,N=Math.sqrt(Math.pow(y.x-S.x,2)+Math.pow(y.y-S.y,2)),z=Math.sqrt(Math.pow(I.x-y.x,2)+Math.pow(I.y-y.y,2)),G=N/(N+z),ie=z/(N+z),ce=x*(G=isNaN(G)?0:G),ne=x*(ie=isNaN(ie)?0:ie);return{previous:{x:y.x-ce*(I.x-S.x),y:y.y-ce*(I.y-S.y)},next:{x:y.x+ne*(I.x-S.x),y:y.y+ne*(I.y-S.y)}}},D.EPSILON=Number.EPSILON||1e-14,D.splineCurveMonotone=function(h){var x,S,y,I,z,G,ie,ce,ne,T=(h||[]).map(function($){return{model:$._model,deltaK:0,mK:0}}),C=T.length;for(x=0;x0?T[x-1]:null,(I=x0?T[x-1]:null)&&!S.model.skip&&(y.model.controlPointPreviousX=y.model.x-(ne=(y.model.x-S.model.x)/3),y.model.controlPointPreviousY=y.model.y-ne*y.mK),I&&!I.model.skip&&(y.model.controlPointNextX=y.model.x+(ne=(I.model.x-y.model.x)/3),y.model.controlPointNextY=y.model.y+ne*y.mK))},D.nextItem=function(h,T,C){return C?T>=h.length-1?h[0]:h[T+1]:T>=h.length-1?h[h.length-1]:h[T+1]},D.previousItem=function(h,T,C){return C?T<=0?h[h.length-1]:h[T-1]:T<=0?h[0]:h[T-1]},D.niceNum=function(h,T){var C=Math.floor(D.log10(h)),x=h/Math.pow(10,C);return(T?x<1.5?1:x<3?2:x<7?5:10:x<=1?1:x<=2?2:x<=5?5:10)*Math.pow(10,C)},D.requestAnimFrame="undefined"==typeof window?function(h){h()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(h){return window.setTimeout(h,1e3/60)},D.getRelativePosition=function(h,T){var C,x,S=h.originalEvent||h,y=h.currentTarget||h.srcElement,I=y.getBoundingClientRect(),N=S.touches;N&&N.length>0?(C=N[0].clientX,x=N[0].clientY):(C=S.clientX,x=S.clientY);var z=parseFloat(D.getStyle(y,"padding-left")),G=parseFloat(D.getStyle(y,"padding-top")),ie=parseFloat(D.getStyle(y,"padding-right")),ce=parseFloat(D.getStyle(y,"padding-bottom")),$=I.bottom-I.top-G-ce;return{x:C=Math.round((C-I.left-z)/(I.right-I.left-z-ie)*y.width/T.currentDevicePixelRatio),y:x=Math.round((x-I.top-G)/$*y.height/T.currentDevicePixelRatio)}},D.getConstraintWidth=function(h){return _(h,"max-width","clientWidth")},D.getConstraintHeight=function(h){return _(h,"max-height","clientHeight")},D.getMaximumWidth=function(h){var T=h.parentNode;if(!T)return h.clientWidth;var C=parseInt(D.getStyle(T,"padding-left"),10),x=parseInt(D.getStyle(T,"padding-right"),10),S=T.clientWidth-C-x,y=D.getConstraintWidth(h);return isNaN(y)?S:Math.min(S,y)},D.getMaximumHeight=function(h){var T=h.parentNode;if(!T)return h.clientHeight;var C=parseInt(D.getStyle(T,"padding-top"),10),x=parseInt(D.getStyle(T,"padding-bottom"),10),S=T.clientHeight-C-x,y=D.getConstraintHeight(h);return isNaN(y)?S:Math.min(S,y)},D.getStyle=function(h,T){return h.currentStyle?h.currentStyle[T]:document.defaultView.getComputedStyle(h,null).getPropertyValue(T)},D.retinaScale=function(h,T){var C=h.currentDevicePixelRatio=T||window.devicePixelRatio||1;if(1!==C){var x=h.canvas,S=h.height,y=h.width;x.height=S*C,x.width=y*C,h.ctx.scale(C,C),!x.style.height&&!x.style.width&&(x.style.height=S+"px",x.style.width=y+"px")}},D.fontString=function(h,T,C){return T+" "+h+"px "+C},D.longestText=function(h,T,C,x){var S=(x=x||{}).data=x.data||{},y=x.garbageCollect=x.garbageCollect||[];x.font!==T&&(S=x.data={},y=x.garbageCollect=[],x.font=T),h.font=T;var I=0;D.each(C,function(G){null!=G&&!0!==D.isArray(G)?I=D.measureText(h,S,y,I,G):D.isArray(G)&&D.each(G,function(ie){null!=ie&&!D.isArray(ie)&&(I=D.measureText(h,S,y,I,ie))})});var N=y.length/2;if(N>C.length){for(var z=0;zx&&(x=y),x},D.numberOfLabelLines=function(h){var T=1;return D.each(h,function(C){D.isArray(C)&&C.length>T&&(T=C.length)}),T},D.color=O?function(h){return h instanceof CanvasGradient&&(h=M.global.defaultColor),O(h)}:function(h){return console.error("Color.js not found!"),h},D.getHoverColor=function(h){return h instanceof CanvasPattern?h:D.color(h).saturate(.5).darken(.1).rgbString()}}},2814:function(ve,ye,H){"use strict";var O=H(3305);function M(h,T){return h.native?{x:h.x,y:h.y}:O.getRelativePosition(h,T)}function D(h,T){var x,S,y,I,N;for(S=0,I=h.data.datasets.length;S0&&(I=T.getDatasetMeta(I[0]._datasetIndex).data),I},"x-axis":function(T,C){return _(T,C,{intersect:!1})},point:function(T,C){return p(T,M(C,T))},nearest:function(T,C,x){var S=M(C,T);x.axis=x.axis||"xy";var y=c(x.axis),I=d(T,S,x.intersect,y);return I.length>1&&I.sort(function(N,z){var ce=N.getArea()-z.getArea();return 0===ce&&(ce=N._datasetIndex-z._datasetIndex),ce}),I.slice(0,1)},x:function(T,C,x){var S=M(C,T),y=[],I=!1;return D(T,function(N){N.inXRange(S.x)&&y.push(N),N.inRange(S.x,S.y)&&(I=!0)}),x.intersect&&!I&&(y=[]),y},y:function(T,C,x){var S=M(C,T),y=[],I=!1;return D(T,function(N){N.inYRange(S.y)&&y.push(N),N.inRange(S.x,S.y)&&(I=!0)}),x.intersect&&!I&&(y=[]),y}}}},5979:function(ve,ye,H){"use strict";H(9800)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),ve.exports=function(){var M=function(p,d){return this.construct(p,d),this};return M.Chart=M,M}},2294:function(ve,ye,H){"use strict";var O=H(3305);function M(p,d){return O.where(p,function(c){return c.position===d})}function D(p,d){p.forEach(function(c,_){return c._tmpIndex_=_,c}),p.sort(function(c,_){var h=d?_:c,T=d?c:_;return h.weight===T.weight?h._tmpIndex_-T._tmpIndex_:h.weight-T.weight}),p.forEach(function(c){delete c._tmpIndex_})}ve.exports={defaults:{},addBox:function(d,c){d.boxes||(d.boxes=[]),c.fullWidth=c.fullWidth||!1,c.position=c.position||"top",c.weight=c.weight||0,d.boxes.push(c)},removeBox:function(d,c){var _=d.boxes?d.boxes.indexOf(c):-1;-1!==_&&d.boxes.splice(_,1)},configure:function(d,c,_){for(var x,h=["fullWidth","position","weight"],T=h.length,C=0;Cue&&GS.maxHeight){G--;break}G++,ce=ne*ie}S.labelRotation=G},afterCalculateTickRotation:function(){D.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){D.callback(this.options.beforeFit,[this])},fit:function(){var S=this,y=S.minSize={width:0,height:0},I=d(S._ticks),N=S.options,z=N.ticks,G=N.scaleLabel,ie=N.gridLines,ce=N.display,ne=S.isHorizontal(),$=T(z),ue=N.gridLines.tickMarkLength;if(y.width=ne?S.isFullWidth()?S.maxWidth-S.margins.left-S.margins.right:S.maxWidth:ce&&ie.drawTicks?ue:0,y.height=ne?ce&&ie.drawTicks?ue:0:S.maxHeight,G.display&&ce){var te=C(G)+D.options.toPadding(G.padding).height;ne?y.height+=te:y.width+=te}if(z.display&&ce){var ae=D.longestText(S.ctx,$.font,I,S.longestTextCache),le=D.numberOfLabelLines(I),X=.5*$.size,De=S.options.ticks.padding;if(ne){S.longestLabelWidth=ae;var xe=D.toRadians(S.labelRotation),Re=Math.cos(xe),He=Math.sin(xe);y.height=Math.min(S.maxHeight,y.height+(He*ae+$.size*le+X*(le-1)+X)+De),S.ctx.font=$.font;var Xe=h(S.ctx,I[0],$.font),Ne=h(S.ctx,I[I.length-1],$.font);0!==S.labelRotation?(S.paddingLeft="bottom"===N.position?Re*Xe+3:Re*X+3,S.paddingRight="bottom"===N.position?Re*X+3:Re*Ne+3):(S.paddingLeft=Xe/2+3,S.paddingRight=Ne/2+3)}else z.mirror?ae=0:ae+=De+X,y.width=Math.min(S.maxWidth,y.width+ae),S.paddingTop=$.size/2,S.paddingBottom=$.size/2}S.handleMargins(),S.width=y.width,S.height=y.height},handleMargins:function(){var S=this;S.margins&&(S.paddingLeft=Math.max(S.paddingLeft-S.margins.left,0),S.paddingTop=Math.max(S.paddingTop-S.margins.top,0),S.paddingRight=Math.max(S.paddingRight-S.margins.right,0),S.paddingBottom=Math.max(S.paddingBottom-S.margins.bottom,0))},afterFit:function(){D.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(S){if(D.isNullOrUndef(S))return NaN;if("number"==typeof S&&!isFinite(S))return NaN;if(S)if(this.isHorizontal()){if(void 0!==S.x)return this.getRightValue(S.x)}else if(void 0!==S.y)return this.getRightValue(S.y);return S},getLabelForIndex:D.noop,getPixelForValue:D.noop,getValueForPixel:D.noop,getPixelForTick:function(S){var y=this,I=y.options.offset;if(y.isHorizontal()){var z=(y.width-(y.paddingLeft+y.paddingRight))/Math.max(y._ticks.length-(I?0:1),1),G=z*S+y.paddingLeft;return I&&(G+=z/2),y.left+Math.round(G)+(y.isFullWidth()?y.margins.left:0)}return y.top+S*((y.height-(y.paddingTop+y.paddingBottom))/(y._ticks.length-1))},getPixelForDecimal:function(S){var y=this;return y.isHorizontal()?y.left+Math.round((y.width-(y.paddingLeft+y.paddingRight))*S+y.paddingLeft)+(y.isFullWidth()?y.margins.left:0):y.top+S*y.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var S=this,y=S.min,I=S.max;return S.beginAtZero?0:y<0&&I<0?I:y>0&&I>0?y:0},_autoSkip:function(S){var y,ue,ee,te,I=this,N=I.isHorizontal(),z=I.options.ticks.minor,G=S.length,ie=D.toRadians(I.labelRotation),ce=Math.cos(ie),ne=I.longestLabelWidth*ce,$=[];for(z.maxTicksLimit&&(te=z.maxTicksLimit),N&&(y=!1,(ne+z.autoSkipPadding)*G>I.width-(I.paddingLeft+I.paddingRight)&&(y=1+Math.floor((ne+z.autoSkipPadding)*G/(I.width-(I.paddingLeft+I.paddingRight)))),te&&G>te&&(y=Math.max(y,Math.floor(G/te)))),ue=0;ue1&&ue%y>0||ue%y==0&&ue+y>=G)&&ue!==G-1&&delete ee.label,$.push(ee);return $},draw:function(S){var y=this,I=y.options;if(I.display){var N=y.ctx,z=O.global,G=I.ticks.minor,ie=I.ticks.major||G,ce=I.gridLines,ne=I.scaleLabel,$=0!==y.labelRotation,ue=y.isHorizontal(),ee=G.autoSkip?y._autoSkip(y.getTicks()):y.getTicks(),Q=D.valueOrDefault(G.fontColor,z.defaultFontColor),te=T(G),ae=D.valueOrDefault(ie.fontColor,z.defaultFontColor),le=T(ie),X=ce.drawTicks?ce.tickMarkLength:0,De=D.valueOrDefault(ne.fontColor,z.defaultFontColor),xe=T(ne),Re=D.options.toPadding(ne.padding),He=D.toRadians(y.labelRotation),Ge=[],Xe=y.options.gridLines.lineWidth,Ne="right"===I.position?y.right:y.right-Xe-X,at="right"===I.position?y.right+X:y.right,Ft="bottom"===I.position?y.top+Xe:y.bottom-X-Xe,jt="bottom"===I.position?y.top+Xe+X:y.bottom+Xe;if(D.each(ee,function(de,he){if(!D.isNullOrUndef(de.label)){var be,ge,Ce,Pe,fe=de.label;he===y.zeroLineIndex&&I.offset===ce.offsetGridLines?(be=ce.zeroLineWidth,ge=ce.zeroLineColor,Ce=ce.zeroLineBorderDash,Pe=ce.zeroLineBorderDashOffset):(be=D.valueAtIndexOrDefault(ce.lineWidth,he),ge=D.valueAtIndexOrDefault(ce.color,he),Ce=D.valueOrDefault(ce.borderDash,z.borderDash),Pe=D.valueOrDefault(ce.borderDashOffset,z.borderDashOffset));var Ae,Ie,ct,ht,nt,mn,In,It,zt,qn,Bn="middle",ma="middle",Bi=G.padding;if(ue){var kr=X+Bi;"bottom"===I.position?(ma=$?"middle":"top",Bn=$?"right":"center",qn=y.top+kr):(ma=$?"middle":"bottom",Bn=$?"left":"center",qn=y.bottom-kr);var Wt=c(y,he,ce.offsetGridLines&&ee.length>1);Wt1);qe3?d[2]-d[1]:d[1]-d[0];Math.abs(c)>1&&D!==Math.floor(D)&&(c=D-Math.floor(D));var _=O.log10(Math.abs(c)),h="";if(0!==D){var T=-1*Math.floor(_);T=Math.max(Math.min(T,20),0),h=D.toFixed(T)}else h="0";return h},logarithmic:function(D,p,d){var c=D/Math.pow(10,Math.floor(O.log10(D)));return 0===D?"0":1===c||2===c||5===c||0===p||p===d.length-1?D.toExponential():""}}}},480:function(ve,ye,H){"use strict";var O=H(9800),M=H(8839),D=H(3305);O._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:D.noop,title:function(d,c){var _="",h=c.labels,T=h?h.length:0;if(d.length>0){var C=d[0];C.xLabel?_=C.xLabel:T>0&&C.indexN.height-y.height&&(ie="bottom");var ce,ne,$,ue,ee,Q=(z.left+z.right)/2,te=(z.top+z.bottom)/2;"center"===ie?(ce=function(X){return X<=Q},ne=function(X){return X>Q}):(ce=function(X){return X<=y.width/2},ne=function(X){return X>=N.width-y.width/2}),$=function(X){return X+y.width+I.caretSize+I.caretPadding>N.width},ue=function(X){return X-y.width-I.caretSize-I.caretPadding<0},ee=function(X){return X<=te?"top":"bottom"},ce(I.x)?(G="left",$(I.x)&&(G="center",ie=ee(I.y))):ne(I.x)&&(G="right",ue(I.x)&&(G="center",ie=ee(I.y)));var ae=S._options;return{xAlign:ae.xAlign?ae.xAlign:G,yAlign:ae.yAlign?ae.yAlign:ie}}(this,ue),$=function x(S,y,I,N){var z=S.x,G=S.y,ce=S.caretPadding,$=I.xAlign,ue=I.yAlign,ee=S.caretSize+ce,Q=S.cornerRadius+ce;return"right"===$?z-=y.width:"center"===$&&((z-=y.width/2)+y.width>N.width&&(z=N.width-y.width),z<0&&(z=0)),"top"===ue?G+=ee:G-="bottom"===ue?y.height+ee:y.height/2,"center"===ue?"left"===$?z+=ee:"right"===$&&(z-=ee):"left"===$?z-=Q:"right"===$&&(z+=Q),{x:z,y:G}}(G,ue,ne,I._chart)}else G.opacity=0;return G.xAlign=ne.xAlign,G.yAlign=ne.yAlign,G.x=$.x,G.y=$.y,G.width=ue.width,G.height=ue.height,G.caretX=ee.x,G.caretY=ee.y,I._model=G,y&&N.custom&&N.custom.call(I,G),I},drawCaret:function(y,I){var N=this._chart.ctx,G=this.getCaretPosition(y,I,this._view);N.lineTo(G.x1,G.y1),N.lineTo(G.x2,G.y2),N.lineTo(G.x3,G.y3)},getCaretPosition:function(y,I,N){var z,G,ie,ce,ne,$,ue=N.caretSize,ee=N.cornerRadius,Q=N.xAlign,te=N.yAlign,ae=y.x,le=y.y,X=I.width,De=I.height;if("center"===te)ne=le+De/2,"left"===Q?(G=(z=ae)-ue,ie=z,ce=ne+ue,$=ne-ue):(G=(z=ae+X)+ue,ie=z,ce=ne-ue,$=ne+ue);else if("left"===Q?(z=(G=ae+ee+ue)-ue,ie=G+ue):"right"===Q?(z=(G=ae+X-ee-ue)-ue,ie=G+ue):(z=(G=N.caretX)-ue,ie=G+ue),"top"===te)ne=(ce=le)-ue,$=ce;else{ne=(ce=le+De)+ue,$=ce;var xe=ie;ie=z,z=xe}return{x1:z,x2:G,x3:ie,y1:ce,y2:ne,y3:$}},drawTitle:function(y,I,N,z){var G=I.title;if(G.length){N.textAlign=I._titleAlign,N.textBaseline="top";var ne,$,ie=I.titleFontSize,ce=I.titleSpacing;for(N.fillStyle=d(I.titleFontColor,z),N.font=D.fontString(ie,I._titleFontStyle,I._titleFontFamily),ne=0,$=G.length;ne<$;++ne)N.fillText(G[ne],y.x,y.y),y.y+=ie+ce,ne+1===G.length&&(y.y+=I.titleMarginBottom-ce)}},drawBody:function(y,I,N,z){var G=I.bodyFontSize,ie=I.bodySpacing,ce=I.body;N.textAlign=I._bodyAlign,N.textBaseline="top",N.font=D.fontString(G,I._bodyFontStyle,I._bodyFontFamily);var ne=0,$=function(Q){N.fillText(Q,y.x+ne,y.y),y.y+=G+ie};N.fillStyle=d(I.bodyFontColor,z),D.each(I.beforeBody,$);var ue=I.displayColors;ne=ue?G+2:0,D.each(ce,function(ee,Q){var te=d(I.labelTextColors[Q],z);N.fillStyle=te,D.each(ee.before,$),D.each(ee.lines,function(ae){ue&&(N.fillStyle=d(I.legendColorBackground,z),N.fillRect(y.x,y.y,G,G),N.lineWidth=1,N.strokeStyle=d(I.labelColors[Q].borderColor,z),N.strokeRect(y.x,y.y,G,G),N.fillStyle=d(I.labelColors[Q].backgroundColor,z),N.fillRect(y.x+1,y.y+1,G-2,G-2),N.fillStyle=te),$(ae)}),D.each(ee.after,$)}),ne=0,D.each(I.afterBody,$),y.y-=ie},drawFooter:function(y,I,N,z){var G=I.footer;G.length&&(y.y+=I.footerMarginTop,N.textAlign=I._footerAlign,N.textBaseline="top",N.fillStyle=d(I.footerFontColor,z),N.font=D.fontString(I.footerFontSize,I._footerFontStyle,I._footerFontFamily),D.each(G,function(ie){N.fillText(ie,y.x,y.y),y.y+=I.footerFontSize+I.footerSpacing}))},drawBackground:function(y,I,N,z,G){N.fillStyle=d(I.backgroundColor,G),N.strokeStyle=d(I.borderColor,G),N.lineWidth=I.borderWidth;var ie=I.xAlign,ce=I.yAlign,ne=y.x,$=y.y,ue=z.width,ee=z.height,Q=I.cornerRadius;N.beginPath(),N.moveTo(ne+Q,$),"top"===ce&&this.drawCaret(y,z),N.lineTo(ne+ue-Q,$),N.quadraticCurveTo(ne+ue,$,ne+ue,$+Q),"center"===ce&&"right"===ie&&this.drawCaret(y,z),N.lineTo(ne+ue,$+ee-Q),N.quadraticCurveTo(ne+ue,$+ee,ne+ue-Q,$+ee),"bottom"===ce&&this.drawCaret(y,z),N.lineTo(ne+Q,$+ee),N.quadraticCurveTo(ne,$+ee,ne,$+ee-Q),"center"===ce&&"left"===ie&&this.drawCaret(y,z),N.lineTo(ne,$+Q),N.quadraticCurveTo(ne,$,ne+Q,$),N.closePath(),N.fill(),I.borderWidth>0&&N.stroke()},draw:function(){var y=this._chart.ctx,I=this._view;if(0!==I.opacity){var N={width:I.width,height:I.height},z={x:I.x,y:I.y},G=Math.abs(I.opacity<.001)?0:I.opacity;this._options.enabled&&(I.title.length||I.beforeBody.length||I.body.length||I.afterBody.length||I.footer.length)&&(this.drawBackground(z,I,y,N,G),z.x+=I.xPadding,z.y+=I.yPadding,this.drawTitle(z,I,y,G),this.drawBody(z,I,y,G),this.drawFooter(z,I,y,G))}},handleEvent:function(y){var z,I=this,N=I._options;return I._lastActive=I._lastActive||[],I._active="mouseout"===y.type?[]:I._chart.getElementsAtEventForMode(y,N.mode,N),(z=!D.arrayEquals(I._active,I._lastActive))&&(I._lastActive=I._active,(N.enabled||N.custom)&&(I._eventPosition={x:y.x,y:y.y},I.update(!0),I.pivot())),z}}),p.Tooltip.positioners={average:function(y){if(!y.length)return!1;var I,N,z=0,G=0,ie=0;for(I=0,N=y.length;IS;)T-=2*Math.PI;for(;T=x&&T<=S&&C>=_.innerRadius&&C<=_.outerRadius}return!1},getCenterPoint:function(){var d=this._view,c=(d.startAngle+d.endAngle)/2,_=(d.innerRadius+d.outerRadius)/2;return{x:d.x+Math.cos(c)*_,y:d.y+Math.sin(c)*_}},getArea:function(){var d=this._view;return Math.PI*((d.endAngle-d.startAngle)/(2*Math.PI))*(Math.pow(d.outerRadius,2)-Math.pow(d.innerRadius,2))},tooltipPosition:function(){var d=this._view,c=d.startAngle+(d.endAngle-d.startAngle)/2,_=(d.outerRadius-d.innerRadius)/2+d.innerRadius;return{x:d.x+Math.cos(c)*_,y:d.y+Math.sin(c)*_}},draw:function(){var d=this._chart.ctx,c=this._view,_=c.startAngle,h=c.endAngle;d.beginPath(),d.arc(c.x,c.y,c.outerRadius,_,h),d.arc(c.x,c.y,c.innerRadius,h,_,!0),d.closePath(),d.strokeStyle=c.borderColor,d.lineWidth=c.borderWidth,d.fillStyle=c.backgroundColor,d.fill(),d.lineJoin="bevel",c.borderWidth&&d.stroke()}})},3819:function(ve,ye,H){"use strict";var O=H(9800),M=H(8839),D=H(3305),p=O.global;O._set("global",{elements:{line:{tension:.4,backgroundColor:p.defaultColor,borderWidth:3,borderColor:p.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),ve.exports=M.extend({draw:function(){var y,I,N,z,c=this,_=c._view,h=c._chart.ctx,T=_.spanGaps,C=c._children.slice(),x=p.elements.line,S=-1;for(c._loop&&C.length&&C.push(C[0]),h.save(),h.lineCap=_.borderCapStyle||x.borderCapStyle,h.setLineDash&&h.setLineDash(_.borderDash||x.borderDash),h.lineDashOffset=_.borderDashOffset||x.borderDashOffset,h.lineJoin=_.borderJoinStyle||x.borderJoinStyle,h.lineWidth=_.borderWidth||x.borderWidth,h.strokeStyle=_.borderColor||p.defaultColor,h.beginPath(),S=-1,y=0;y(h=_.base)?1:-1,y=1,I=_.borderSkipped||"left"):(h=_.x-_.width/2,T=_.x+_.width/2,S=1,y=(x=_.base)>(C=_.y)?1:-1,I=_.borderSkipped||"bottom"),N){var z=Math.min(Math.abs(h-T),Math.abs(C-x)),G=(N=N>z?z:N)/2,ie=h+("left"!==I?G*S:0),ce=T+("right"!==I?-G*S:0),ne=C+("top"!==I?G*y:0),$=x+("bottom"!==I?-G*y:0);ie!==ce&&(C=ne,x=$),ne!==$&&(h=ie,T=ce)}c.beginPath(),c.fillStyle=_.backgroundColor,c.strokeStyle=_.borderColor,c.lineWidth=N;var ue=[[h,x],[h,C],[T,C],[T,x]],Q=["bottom","left","top","right"].indexOf(I,0);function te(X){return ue[(Q+X)%4]}-1===Q&&(Q=0);var ae=te(0);c.moveTo(ae[0],ae[1]);for(var le=1;le<4;le++)ae=te(le),c.lineTo(ae[0],ae[1]);c.fill(),N&&c.stroke()},height:function(){var c=this._view;return c.base-c.y},inRange:function(c,_){var h=!1;if(this._view){var T=p(this);h=c>=T.left&&c<=T.right&&_>=T.top&&_<=T.bottom}return h},inLabelRange:function(c,_){var h=this;if(!h._view)return!1;var C=p(h);return D(h)?c>=C.left&&c<=C.right:_>=C.top&&_<=C.bottom},inXRange:function(c){var _=p(this);return c>=_.left&&c<=_.right},inYRange:function(c){var _=p(this);return c>=_.top&&c<=_.bottom},getCenterPoint:function(){var _,h,c=this._view;return D(this)?(_=c.x,h=(c.y+c.base)/2):(_=(c.x+c.base)/2,h=c.y),{x:_,y:h}},getArea:function(){var c=this._view;return c.width*Math.abs(c.y-c.base)},tooltipPosition:function(){var c=this._view;return{x:c.x,y:c.y}}})},9931:function(ve,ye,H){"use strict";ve.exports={},ve.exports.Arc=H(280),ve.exports.Line=H(3819),ve.exports.Point=H(4674),ve.exports.Rectangle=H(8667)},2397:function(ve,ye,H){"use strict";var O=H(4396),M=ve.exports={clear:function(p){p.ctx.clearRect(0,0,p.width,p.height)},roundedRect:function(p,d,c,_,h,T){if(T){var C=Math.min(T,_/2),x=Math.min(T,h/2);p.moveTo(d+C,c),p.lineTo(d+_-C,c),p.quadraticCurveTo(d+_,c,d+_,c+x),p.lineTo(d+_,c+h-x),p.quadraticCurveTo(d+_,c+h,d+_-C,c+h),p.lineTo(d+C,c+h),p.quadraticCurveTo(d,c+h,d,c+h-x),p.lineTo(d,c+x),p.quadraticCurveTo(d,c,d+C,c)}else p.rect(d,c,_,h)},drawPoint:function(p,d,c,_,h){var T,C,x,S,y,I;if(!d||"object"!=typeof d||"[object HTMLImageElement]"!==(T=d.toString())&&"[object HTMLCanvasElement]"!==T){if(!(isNaN(c)||c<=0)){switch(d){default:p.beginPath(),p.arc(_,h,c,0,2*Math.PI),p.closePath(),p.fill();break;case"triangle":p.beginPath(),y=(C=3*c/Math.sqrt(3))*Math.sqrt(3)/2,p.moveTo(_-C/2,h+y/3),p.lineTo(_+C/2,h+y/3),p.lineTo(_,h-2*y/3),p.closePath(),p.fill();break;case"rect":I=1/Math.SQRT2*c,p.beginPath(),p.fillRect(_-I,h-I,2*I,2*I),p.strokeRect(_-I,h-I,2*I,2*I);break;case"rectRounded":var N=c/Math.SQRT2,z=_-N,G=h-N,ie=Math.SQRT2*c;p.beginPath(),this.roundedRect(p,z,G,ie,ie,c/2),p.closePath(),p.fill();break;case"rectRot":I=1/Math.SQRT2*c,p.beginPath(),p.moveTo(_-I,h),p.lineTo(_,h+I),p.lineTo(_+I,h),p.lineTo(_,h-I),p.closePath(),p.fill();break;case"cross":p.beginPath(),p.moveTo(_,h+c),p.lineTo(_,h-c),p.moveTo(_-c,h),p.lineTo(_+c,h),p.closePath();break;case"crossRot":p.beginPath(),x=Math.cos(Math.PI/4)*c,S=Math.sin(Math.PI/4)*c,p.moveTo(_-x,h-S),p.lineTo(_+x,h+S),p.moveTo(_-x,h+S),p.lineTo(_+x,h-S),p.closePath();break;case"star":p.beginPath(),p.moveTo(_,h+c),p.lineTo(_,h-c),p.moveTo(_-c,h),p.lineTo(_+c,h),x=Math.cos(Math.PI/4)*c,S=Math.sin(Math.PI/4)*c,p.moveTo(_-x,h-S),p.lineTo(_+x,h+S),p.moveTo(_-x,h+S),p.lineTo(_+x,h-S),p.closePath();break;case"line":p.beginPath(),p.moveTo(_-c,h),p.lineTo(_+c,h),p.closePath();break;case"dash":p.beginPath(),p.moveTo(_,h),p.lineTo(_+c,h),p.closePath()}p.stroke()}}else p.drawImage(d,_-d.width/2,h-d.height/2,d.width,d.height)},clipArea:function(p,d){p.save(),p.beginPath(),p.rect(d.left,d.top,d.right-d.left,d.bottom-d.top),p.clip()},unclipArea:function(p){p.restore()},lineTo:function(p,d,c,_){if(c.steppedLine)return"after"===c.steppedLine&&!_||"after"!==c.steppedLine&&_?p.lineTo(d.x,c.y):p.lineTo(c.x,d.y),void p.lineTo(c.x,c.y);c.tension?p.bezierCurveTo(_?d.controlPointPreviousX:d.controlPointNextX,_?d.controlPointPreviousY:d.controlPointNextY,_?c.controlPointNextX:c.controlPointPreviousX,_?c.controlPointNextY:c.controlPointPreviousY,c.x,c.y):p.lineTo(c.x,c.y)}};O.clear=M.clear,O.drawRoundedRectangle=function(D){D.beginPath(),M.roundedRect.apply(M,arguments),D.closePath()}},4396:function(ve){"use strict";var H,ye={noop:function(){},uid:(H=0,function(){return H++}),isNullOrUndef:function(O){return null==O},isArray:Array.isArray?Array.isArray:function(H){return"[object Array]"===Object.prototype.toString.call(H)},isObject:function(O){return null!==O&&"[object Object]"===Object.prototype.toString.call(O)},valueOrDefault:function(O,M){return void 0===O?M:O},valueAtIndexOrDefault:function(O,M,D){return ye.valueOrDefault(ye.isArray(O)?O[M]:O,D)},callback:function(O,M,D){if(O&&"function"==typeof O.call)return O.apply(D,M)},each:function(O,M,D,p){var d,c,_;if(ye.isArray(O))if(c=O.length,p)for(d=c-1;d>=0;d--)M.call(D,O[d],d);else for(d=0;d=1?p:-(Math.sqrt(1-p*p)-1)},easeOutCirc:function(p){return Math.sqrt(1-(p-=1)*p)},easeInOutCirc:function(p){return(p/=.5)<1?-.5*(Math.sqrt(1-p*p)-1):.5*(Math.sqrt(1-(p-=2)*p)+1)},easeInElastic:function(p){var d=1.70158,c=0,_=1;return 0===p?0:1===p?1:(c||(c=.3),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),-_*Math.pow(2,10*(p-=1))*Math.sin((p-d)*(2*Math.PI)/c))},easeOutElastic:function(p){var d=1.70158,c=0,_=1;return 0===p?0:1===p?1:(c||(c=.3),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),_*Math.pow(2,-10*p)*Math.sin((p-d)*(2*Math.PI)/c)+1)},easeInOutElastic:function(p){var d=1.70158,c=0,_=1;return 0===p?0:2==(p/=.5)?1:(c||(c=.45),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),p<1?_*Math.pow(2,10*(p-=1))*Math.sin((p-d)*(2*Math.PI)/c)*-.5:_*Math.pow(2,-10*(p-=1))*Math.sin((p-d)*(2*Math.PI)/c)*.5+1)},easeInBack:function(p){var d=1.70158;return p*p*((d+1)*p-d)},easeOutBack:function(p){var d=1.70158;return(p-=1)*p*((d+1)*p+d)+1},easeInOutBack:function(p){var d=1.70158;return(p/=.5)<1?p*p*((1+(d*=1.525))*p-d)*.5:.5*((p-=2)*p*((1+(d*=1.525))*p+d)+2)},easeInBounce:function(p){return 1-M.easeOutBounce(1-p)},easeOutBounce:function(p){return p<1/2.75?7.5625*p*p:p<2/2.75?7.5625*(p-=1.5/2.75)*p+.75:p<2.5/2.75?7.5625*(p-=2.25/2.75)*p+.9375:7.5625*(p-=2.625/2.75)*p+.984375},easeInOutBounce:function(p){return p<.5?.5*M.easeInBounce(2*p):.5*M.easeOutBounce(2*p-1)+.5}};ve.exports={effects:M},O.easingEffects=M},5347:function(ve,ye,H){"use strict";var O=H(4396);ve.exports={toLineHeight:function(D,p){var d=(""+D).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!d||"normal"===d[1])return 1.2*p;switch(D=+d[2],d[3]){case"px":return D;case"%":D/=100}return p*D},toPadding:function(D){var p,d,c,_;return O.isObject(D)?(p=+D.top||0,d=+D.right||0,c=+D.bottom||0,_=+D.left||0):p=d=c=_=+D||0,{top:p,right:d,bottom:c,left:_,height:p+c,width:_+d}},resolve:function(D,p,d){var c,_,h;for(c=0,_=D.length;c<_;++c)if(void 0!==(h=D[c])&&(void 0!==p&&"function"==typeof h&&(h=h(p)),void 0!==d&&O.isArray(h)&&(h=h[d]),void 0!==h))return h}}},3305:function(ve,ye,H){"use strict";ve.exports=H(4396),ve.exports.easing=H(4317),ve.exports.canvas=H(2397),ve.exports.options=H(5347)},1607:function(ve){ve.exports={acquireContext:function(H){return H&&H.canvas&&(H=H.canvas),H&&H.getContext("2d")||null}}},8005:function(ve,ye,H){"use strict";var O=H(3305),M="$chartjs",D="chartjs-",p=D+"render-monitor",d=D+"render-animation",c=["animationstart","webkitAnimationStart"],_={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function h(ee,Q){var te=O.getStyle(ee,Q),ae=te&&te.match(/^(\d+)(\.\d+)?px$/);return ae?Number(ae[1]):void 0}var x=!!function(){var ee=!1;try{var Q=Object.defineProperty({},"passive",{get:function(){ee=!0}});window.addEventListener("e",null,Q)}catch(te){}return ee}()&&{passive:!0};function S(ee,Q,te){ee.addEventListener(Q,te,x)}function y(ee,Q,te){ee.removeEventListener(Q,te,x)}function I(ee,Q,te,ae,le){return{type:ee,chart:Q,native:le||null,x:void 0!==te?te:null,y:void 0!==ae?ae:null}}ve.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var Q="from{opacity:0.99}to{opacity:1}";!function ue(ee,Q){var te=ee._style||document.createElement("style");ee._style||(ee._style=te,Q="/* Chart.js */\n"+Q,te.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(te)),te.appendChild(document.createTextNode(Q))}(this,"@-webkit-keyframes "+d+"{"+Q+"}@keyframes "+d+"{"+Q+"}."+p+"{-webkit-animation:"+d+" 0.001s;animation:"+d+" 0.001s;}")},acquireContext:function(Q,te){"string"==typeof Q?Q=document.getElementById(Q):Q.length&&(Q=Q[0]),Q&&Q.canvas&&(Q=Q.canvas);var ae=Q&&Q.getContext&&Q.getContext("2d");return ae&&ae.canvas===Q?(function T(ee,Q){var te=ee.style,ae=ee.getAttribute("height"),le=ee.getAttribute("width");if(ee[M]={initial:{height:ae,width:le,style:{display:te.display,height:te.height,width:te.width}}},te.display=te.display||"block",null===le||""===le){var X=h(ee,"width");void 0!==X&&(ee.width=X)}if(null===ae||""===ae)if(""===ee.style.height)ee.height=ee.width/(Q.options.aspectRatio||2);else{var De=h(ee,"height");void 0!==X&&(ee.height=De)}}(Q,te),ae):null},releaseContext:function(Q){var te=Q.canvas;if(te[M]){var ae=te[M].initial;["height","width"].forEach(function(le){var X=ae[le];O.isNullOrUndef(X)?te.removeAttribute(le):te.setAttribute(le,X)}),O.each(ae.style||{},function(le,X){te.style[X]=le}),te.width=te.width,delete te[M]}},addEventListener:function(Q,te,ae){var le=Q.canvas;if("resize"!==te){var X=ae[M]||(ae[M]={}),xe=(X.proxies||(X.proxies={}))[Q.id+"_"+te]=function(Re){ae(function N(ee,Q){var te=_[ee.type]||ee.type,ae=O.getRelativePosition(ee,Q);return I(te,Q,ae.x,ae.y,ee)}(Re,Q))};S(le,te,xe)}else!function ne(ee,Q,te){var ae=ee[M]||(ee[M]={}),le=ae.resizer=function G(ee){var Q=document.createElement("div"),te=D+"size-monitor",ae=1e6,le="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";Q.style.cssText=le,Q.className=te,Q.innerHTML='
';var X=Q.childNodes[0],De=Q.childNodes[1];Q._reset=function(){X.scrollLeft=ae,X.scrollTop=ae,De.scrollLeft=ae,De.scrollTop=ae};var xe=function(){Q._reset(),ee()};return S(X,"scroll",xe.bind(X,"expand")),S(De,"scroll",xe.bind(De,"shrink")),Q}(function z(ee,Q){var te=!1,ae=[];return function(){ae=Array.prototype.slice.call(arguments),Q=Q||this,te||(te=!0,O.requestAnimFrame.call(window,function(){te=!1,ee.apply(Q,ae)}))}}(function(){if(ae.resizer)return Q(I("resize",te))}));!function ie(ee,Q){var te=ee[M]||(ee[M]={}),ae=te.renderProxy=function(le){le.animationName===d&&Q()};O.each(c,function(le){S(ee,le,ae)}),te.reflow=!!ee.offsetParent,ee.classList.add(p)}(ee,function(){if(ae.resizer){var X=ee.parentNode;X&&X!==le.parentNode&&X.insertBefore(le,X.firstChild),le._reset()}})}(le,ae,Q)},removeEventListener:function(Q,te,ae){var le=Q.canvas;if("resize"!==te){var xe=((ae[M]||{}).proxies||{})[Q.id+"_"+te];!xe||y(le,te,xe)}else!function $(ee){var Q=ee[M]||{},te=Q.resizer;delete Q.resizer,function ce(ee){var Q=ee[M]||{},te=Q.renderProxy;te&&(O.each(c,function(ae){y(ee,ae,te)}),delete Q.renderProxy),ee.classList.remove(p)}(ee),te&&te.parentNode&&te.parentNode.removeChild(te)}(le)}},O.addEvent=S,O.removeEvent=y},8244:function(ve,ye,H){"use strict";var O=H(3305),M=H(1607),D=H(8005);ve.exports=O.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},D._enabled?D:M)},6747:function(ve,ye,H){"use strict";ve.exports={},ve.exports.filler=H(6579),ve.exports.legend=H(2230),ve.exports.title=H(7412)},6579:function(ve,ye,H){"use strict";var O=H(9800),M=H(9931),D=H(3305);O._set("global",{plugins:{filler:{propagate:!0}}});var p={dataset:function(y){var I=y.fill,N=y.chart,z=N.getDatasetMeta(I),ie=z&&N.isDatasetVisible(I)&&z.dataset._children||[],ce=ie.length||0;return ce?function(ne,$){return $=I)&&G;switch(z){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return z;default:return!1}}function c(S){var G,y=S.el._model||{},I=S.el._scale||{},N=S.fill,z=null;if(isFinite(N))return null;if("start"===N?z=void 0===y.scaleBottom?I.bottom:y.scaleBottom:"end"===N?z=void 0===y.scaleTop?I.top:y.scaleTop:void 0!==y.scaleZero?z=y.scaleZero:I.getBasePosition?z=I.getBasePosition():I.getBasePixel&&(z=I.getBasePixel()),null!=z){if(void 0!==z.x&&void 0!==z.y)return z;if("number"==typeof z&&isFinite(z))return{x:(G=I.isHorizontal())?z:null,y:G?null:z}}return null}function _(S,y,I){var ie,z=S[y].fill,G=[y];if(!I)return z;for(;!1!==z&&-1===G.indexOf(z);){if(!isFinite(z))return z;if(!(ie=S[z]))return!1;if(ie.visible)return z;G.push(z),z=ie.fill}return!1}function h(S){var y=S.fill,I="dataset";return!1===y?null:(isFinite(y)||(I="boundary"),p[I](S))}function T(S){return S&&!S.skip}function C(S,y,I,N,z){var G;if(N&&z){for(S.moveTo(y[0].x,y[0].y),G=1;G0;--G)D.canvas.lineTo(S,I[G],I[G-1],!0)}}ve.exports={id:"filler",afterDatasetsUpdate:function(y,I){var ie,ce,ne,$,N=(y.data.datasets||[]).length,z=I.propagate,G=[];for(ce=0;ce');for(var S=0;S'),C.data.datasets[S].label&&x.push(C.data.datasets[S].label),x.push("");return x.push(""),x.join("")}});var _=M.extend({initialize:function(C){D.extend(this,C),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:d,update:function(C,x,S){var y=this;return y.beforeUpdate(),y.maxWidth=C,y.maxHeight=x,y.margins=S,y.beforeSetDimensions(),y.setDimensions(),y.afterSetDimensions(),y.beforeBuildLabels(),y.buildLabels(),y.afterBuildLabels(),y.beforeFit(),y.fit(),y.afterFit(),y.afterUpdate(),y.minSize},afterUpdate:d,beforeSetDimensions:d,setDimensions:function(){var C=this;C.isHorizontal()?(C.width=C.maxWidth,C.left=0,C.right=C.width):(C.height=C.maxHeight,C.top=0,C.bottom=C.height),C.paddingLeft=0,C.paddingTop=0,C.paddingRight=0,C.paddingBottom=0,C.minSize={width:0,height:0}},afterSetDimensions:d,beforeBuildLabels:d,buildLabels:function(){var C=this,x=C.options.labels||{},S=D.callback(x.generateLabels,[C.chart],C)||[];x.filter&&(S=S.filter(function(y){return x.filter(y,C.chart.data)})),C.options.reverse&&S.reverse(),C.legendItems=S},afterBuildLabels:d,beforeFit:d,fit:function(){var C=this,x=C.options,S=x.labels,y=x.display,I=C.ctx,N=O.global,z=D.valueOrDefault,G=z(S.fontSize,N.defaultFontSize),ie=z(S.fontStyle,N.defaultFontStyle),ce=z(S.fontFamily,N.defaultFontFamily),ne=D.fontString(G,ie,ce),$=C.legendHitBoxes=[],ue=C.minSize,ee=C.isHorizontal();if(ee?(ue.width=C.maxWidth,ue.height=y?10:0):(ue.width=y?10:0,ue.height=C.maxHeight),y)if(I.font=ne,ee){var Q=C.lineWidths=[0],te=C.legendItems.length?G+S.padding:0;I.textAlign="left",I.textBaseline="top",D.each(C.legendItems,function(He,Ge){var Ne=c(S,G)+G/2+I.measureText(He.text).width;Q[Q.length-1]+Ne+S.padding>=C.width&&(te+=G+S.padding,Q[Q.length]=C.left),$[Ge]={left:0,top:0,width:Ne,height:G},Q[Q.length-1]+=Ne+S.padding}),ue.height+=te}else{var ae=S.padding,le=C.columnWidths=[],X=S.padding,De=0,xe=0,Re=G+ae;D.each(C.legendItems,function(He,Ge){var Ne=c(S,G)+G/2+I.measureText(He.text).width;xe+Re>ue.height&&(X+=De+S.padding,le.push(De),De=0,xe=0),De=Math.max(De,Ne),xe+=Re,$[Ge]={left:0,top:0,width:Ne,height:G}}),X+=De,le.push(De),ue.width+=X}C.width=ue.width,C.height=ue.height},afterFit:d,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var C=this,x=C.options,S=x.labels,y=O.global,I=y.elements.line,N=C.width,z=C.lineWidths;if(x.display){var Q,G=C.ctx,ie=D.valueOrDefault,ce=ie(S.fontColor,y.defaultFontColor),ne=ie(S.fontSize,y.defaultFontSize),$=ie(S.fontStyle,y.defaultFontStyle),ue=ie(S.fontFamily,y.defaultFontFamily),ee=D.fontString(ne,$,ue);G.textAlign="left",G.textBaseline="middle",G.lineWidth=.5,G.strokeStyle=ce,G.fillStyle=ce,G.font=ee;var te=c(S,ne),ae=C.legendHitBoxes,De=C.isHorizontal();Q=De?{x:C.left+(N-z[0])/2,y:C.top+S.padding,line:0}:{x:C.left+S.padding,y:C.top+S.padding,line:0};var xe=ne+S.padding;D.each(C.legendItems,function(Re,He){var Ge=G.measureText(Re.text).width,Xe=te+ne/2+Ge,Ne=Q.x,at=Q.y;De?Ne+Xe>=N&&(at=Q.y+=xe,Q.line++,Ne=Q.x=C.left+(N-z[Q.line])/2):at+xe>C.bottom&&(Ne=Q.x=Ne+C.columnWidths[Q.line]+S.padding,at=Q.y=C.top+S.padding,Q.line++),function(He,Ge,Xe){if(!(isNaN(te)||te<=0)){G.save(),G.fillStyle=ie(Xe.fillStyle,y.defaultColor),G.lineCap=ie(Xe.lineCap,I.borderCapStyle),G.lineDashOffset=ie(Xe.lineDashOffset,I.borderDashOffset),G.lineJoin=ie(Xe.lineJoin,I.borderJoinStyle),G.lineWidth=ie(Xe.lineWidth,I.borderWidth),G.strokeStyle=ie(Xe.strokeStyle,y.defaultColor);var Ne=0===ie(Xe.lineWidth,I.borderWidth);if(G.setLineDash&&G.setLineDash(ie(Xe.lineDash,I.borderDash)),x.labels&&x.labels.usePointStyle){var at=ne*Math.SQRT2/2,Ft=at/Math.SQRT2;D.canvas.drawPoint(G,Xe.pointStyle,at,He+Ft,Ge+Ft)}else Ne||G.strokeRect(He,Ge,te,ne),G.fillRect(He,Ge,te,ne);G.restore()}}(Ne,at,Re),ae[He].left=Ne,ae[He].top=at,function(He,Ge,Xe,Ne){var at=ne/2,Ft=te+at+He,jt=Ge+at;G.fillText(Xe.text,Ft,jt),Xe.hidden&&(G.beginPath(),G.lineWidth=2,G.moveTo(Ft,jt),G.lineTo(Ft+Ne,jt),G.stroke())}(Ne,at,Re,Ge),De?Q.x+=Xe+S.padding:Q.y+=xe})}},handleEvent:function(C){var x=this,S=x.options,y="mouseup"===C.type?"click":C.type,I=!1;if("mousemove"===y){if(!S.onHover)return}else{if("click"!==y)return;if(!S.onClick)return}var N=C.x,z=C.y;if(N>=x.left&&N<=x.right&&z>=x.top&&z<=x.bottom)for(var G=x.legendHitBoxes,ie=0;ie=ce.left&&N<=ce.left+ce.width&&z>=ce.top&&z<=ce.top+ce.height){if("click"===y){S.onClick.call(x,C.native,x.legendItems[ie]),I=!0;break}if("mousemove"===y){S.onHover.call(x,C.native,x.legendItems[ie]),I=!0;break}}}return I}});function h(T,C){var x=new _({ctx:T.ctx,options:C,chart:T});p.configure(T,x,C),p.addBox(T,x),T.legend=x}ve.exports={id:"legend",_element:_,beforeInit:function(C){var x=C.options.legend;x&&h(C,x)},beforeUpdate:function(C){var x=C.options.legend,S=C.legend;x?(D.mergeIf(x,O.global.legend),S?(p.configure(C,S,x),S.options=x):h(C,x)):S&&(p.removeBox(C,S),delete C.legend)},afterEvent:function(C,x){var S=C.legend;S&&S.handleEvent(x)}}},7412:function(ve,ye,H){"use strict";var O=H(9800),M=H(8839),D=H(3305),p=H(2294),d=D.noop;O._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var c=M.extend({initialize:function(T){D.extend(this,T),this.legendHitBoxes=[]},beforeUpdate:d,update:function(T,C,x){var S=this;return S.beforeUpdate(),S.maxWidth=T,S.maxHeight=C,S.margins=x,S.beforeSetDimensions(),S.setDimensions(),S.afterSetDimensions(),S.beforeBuildLabels(),S.buildLabels(),S.afterBuildLabels(),S.beforeFit(),S.fit(),S.afterFit(),S.afterUpdate(),S.minSize},afterUpdate:d,beforeSetDimensions:d,setDimensions:function(){var T=this;T.isHorizontal()?(T.width=T.maxWidth,T.left=0,T.right=T.width):(T.height=T.maxHeight,T.top=0,T.bottom=T.height),T.paddingLeft=0,T.paddingTop=0,T.paddingRight=0,T.paddingBottom=0,T.minSize={width:0,height:0}},afterSetDimensions:d,beforeBuildLabels:d,buildLabels:d,afterBuildLabels:d,beforeFit:d,fit:function(){var T=this,x=T.options,S=x.display,y=(0,D.valueOrDefault)(x.fontSize,O.global.defaultFontSize),I=T.minSize,N=D.isArray(x.text)?x.text.length:1,z=D.options.toLineHeight(x.lineHeight,y),G=S?N*z+2*x.padding:0;T.isHorizontal()?(I.width=T.maxWidth,I.height=G):(I.width=G,I.height=T.maxHeight),T.width=I.width,T.height=I.height},afterFit:d,isHorizontal:function(){var T=this.options.position;return"top"===T||"bottom"===T},draw:function(){var T=this,C=T.ctx,x=D.valueOrDefault,S=T.options,y=O.global;if(S.display){var te,ae,le,I=x(S.fontSize,y.defaultFontSize),N=x(S.fontStyle,y.defaultFontStyle),z=x(S.fontFamily,y.defaultFontFamily),G=D.fontString(I,N,z),ie=D.options.toLineHeight(S.lineHeight,I),ce=ie/2+S.padding,ne=0,$=T.top,ue=T.left,ee=T.bottom,Q=T.right;C.fillStyle=x(S.fontColor,y.defaultFontColor),C.font=G,T.isHorizontal()?(ae=ue+(Q-ue)/2,le=$+ce,te=Q-ue):(ae="left"===S.position?ue+ce:Q-ce,le=$+(ee-$)/2,te=ee-$,ne=Math.PI*("left"===S.position?-.5:.5)),C.save(),C.translate(ae,le),C.rotate(ne),C.textAlign="center",C.textBaseline="middle";var X=S.text;if(D.isArray(X))for(var De=0,xe=0;xeh.max)&&(h.max=Q))})});h.min=isFinite(h.min)&&!isNaN(h.min)?h.min:0,h.max=isFinite(h.max)&&!isNaN(h.max)?h.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var h,T=this,C=T.options.ticks;if(T.isHorizontal())h=Math.min(C.maxTicksLimit?C.maxTicksLimit:11,Math.ceil(T.width/50));else{var x=M.valueOrDefault(C.fontSize,O.global.defaultFontSize);h=Math.min(C.maxTicksLimit?C.maxTicksLimit:11,Math.ceil(T.height/(2*x)))}return h},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(h,T){return+this.getRightValue(this.chart.data.datasets[T].data[h])},getPixelForValue:function(h){var T=this,C=T.start,x=+T.getRightValue(h),y=T.end-C;return T.isHorizontal()?T.left+T.width/y*(x-C):T.bottom-T.height/y*(x-C)},getValueForPixel:function(h){var T=this,C=T.isHorizontal();return T.start+(C?h-T.left:T.bottom-h)/(C?T.width:T.height)*(T.end-T.start)},getPixelForTick:function(h){return this.getPixelForValue(this.ticksAsNumbers[h])}});p.scaleService.registerScaleType("linear",c,d)}},8351:function(ve,ye,H){"use strict";var O=H(3305);ve.exports=function(D){var p=O.noop;D.LinearScaleBase=D.Scale.extend({getRightValue:function(c){return"string"==typeof c?+c:D.Scale.prototype.getRightValue.call(this,c)},handleTickRangeOptions:function(){var c=this,h=c.options.ticks;if(h.beginAtZero){var T=O.sign(c.min),C=O.sign(c.max);T<0&&C<0?c.max=0:T>0&&C>0&&(c.min=0)}var x=void 0!==h.min||void 0!==h.suggestedMin,S=void 0!==h.max||void 0!==h.suggestedMax;void 0!==h.min?c.min=h.min:void 0!==h.suggestedMin&&(c.min=null===c.min?h.suggestedMin:Math.min(c.min,h.suggestedMin)),void 0!==h.max?c.max=h.max:void 0!==h.suggestedMax&&(c.max=null===c.max?h.suggestedMax:Math.max(c.max,h.suggestedMax)),x!==S&&c.min>=c.max&&(x?c.max=c.min+1:c.min=c.max-1),c.min===c.max&&(c.max++,h.beginAtZero||c.min--)},getTickLimit:p,handleDirectionalChanges:p,buildTicks:function(){var c=this,h=c.options.ticks,T=c.getTickLimit(),C={maxTicks:T=Math.max(2,T),min:h.min,max:h.max,stepSize:O.valueOrDefault(h.fixedStepSize,h.stepSize)},x=c.ticks=function M(D,p){var c,d=[];if(D.stepSize&&D.stepSize>0)c=D.stepSize;else{var _=O.niceNum(p.max-p.min,!1);c=O.niceNum(_/(D.maxTicks-1),!0)}var h=Math.floor(p.min/c)*c,T=Math.ceil(p.max/c)*c;D.min&&D.max&&D.stepSize&&O.almostWhole((D.max-D.min)/D.stepSize,c/1e3)&&(h=D.min,T=D.max);var C=(T-h)/c;C=O.almostEquals(C,Math.round(C),c/1e3)?Math.round(C):Math.ceil(C);var x=1;c<1&&(x=Math.pow(10,c.toString().length-2),h=Math.round(h*x)/x,T=Math.round(T*x)/x),d.push(void 0!==D.min?D.min:h);for(var S=1;S0){var ie=O.min(G),ce=O.max(G);h.min=null===h.min?ie:Math.min(h.min,ie),h.max=null===h.max?ce:Math.max(h.max,ce)}})}else O.each(S,function(G,ie){var ce=C.getDatasetMeta(ie);C.isDatasetVisible(ie)&&I(ce)&&O.each(G.data,function(ne,$){var ue=+h.getRightValue(ne);isNaN(ue)||ce.data[$].hidden||ue<0||((null===h.min||ueh.max)&&(h.max=ue),0!==ue&&(null===h.minNotZero||ue0?h.min:h.max<1?Math.pow(10,Math.floor(O.log10(h.max))):1)},buildTicks:function(){var h=this,C=h.options.ticks,x=!h.isHorizontal(),y=h.ticks=function D(p,d){var x,S,c=[],_=O.valueOrDefault,h=_(p.min,Math.pow(10,Math.floor(O.log10(d.min)))),T=Math.floor(O.log10(d.max)),C=Math.ceil(d.max/Math.pow(10,T));0===h?(x=Math.floor(O.log10(d.minNotZero)),S=Math.floor(d.minNotZero/Math.pow(10,x)),c.push(h),h=S*Math.pow(10,x)):(x=Math.floor(O.log10(h)),S=Math.floor(h/Math.pow(10,x)));var y=x<0?Math.pow(10,Math.abs(x)):1;do{c.push(h),10==++S&&(S=1,y=++x>=0?1:y),h=Math.round(S*Math.pow(10,x)*y)/y}while(xQ?{start:$-ue-5,end:$}:{start:$,end:$+ue+5}}function y(ne){return 0===ne||180===ne?"center":ne<180?"left":"right"}function I(ne,$,ue,ee){if(M.isArray($))for(var Q=ue.y,te=1.5*ee,ae=0;ae<$.length;++ae)ne.fillText($[ae],ue.x,Q),Q+=te;else ne.fillText($,ue.x,ue.y)}function N(ne,$,ue){90===ne||270===ne?ue.y-=$.h/2:(ne>270||ne<90)&&(ue.y-=$.h)}function ie(ne){return M.isNumber(ne)?ne:0}var ce=p.LinearScaleBase.extend({setDimensions:function(){var $=this,ue=$.options,ee=ue.ticks;$.width=$.maxWidth,$.height=$.maxHeight,$.xCenter=Math.round($.width/2),$.yCenter=Math.round($.height/2);var Q=M.min([$.height,$.width]),te=M.valueOrDefault(ee.fontSize,d.defaultFontSize);$.drawingArea=ue.display?Q/2-(te/2+ee.backdropPaddingY):Q/2},determineDataLimits:function(){var $=this,ue=$.chart,ee=Number.POSITIVE_INFINITY,Q=Number.NEGATIVE_INFINITY;M.each(ue.data.datasets,function(te,ae){if(ue.isDatasetVisible(ae)){var le=ue.getDatasetMeta(ae);M.each(te.data,function(X,De){var xe=+$.getRightValue(X);isNaN(xe)||le.data[De].hidden||(ee=Math.min(xe,ee),Q=Math.max(xe,Q))})}}),$.min=ee===Number.POSITIVE_INFINITY?0:ee,$.max=Q===Number.NEGATIVE_INFINITY?0:Q,$.handleTickRangeOptions()},getTickLimit:function(){var $=this.options.ticks,ue=M.valueOrDefault($.fontSize,d.defaultFontSize);return Math.min($.maxTicksLimit?$.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*ue)))},convertTicksToLabels:function(){var $=this;p.LinearScaleBase.prototype.convertTicksToLabels.call($),$.pointLabels=$.chart.data.labels.map($.options.pointLabels.callback,$)},getLabelForIndex:function($,ue){return+this.getRightValue(this.chart.data.datasets[ue].data[$])},fit:function(){this.options.pointLabels.display?function x(ne){var te,ae,le,$=h(ne),ue=Math.min(ne.height/2,ne.width/2),ee={r:ne.width,l:0,t:ne.height,b:0},Q={};ne.ctx.font=$.font,ne._pointLabelSizes=[];var X=_(ne);for(te=0;teee.r&&(ee.r=Re.end,Q.r=De),He.startee.b&&(ee.b=He.end,Q.b=De)}ne.setReductions(ue,ee,Q)}(this):function S(ne){var $=Math.min(ne.height/2,ne.width/2);ne.drawingArea=Math.round($),ne.setCenterPoint(0,0,0,0)}(this)},setReductions:function($,ue,ee){var Q=this,te=ue.l/Math.sin(ee.l),ae=Math.max(ue.r-Q.width,0)/Math.sin(ee.r),le=-ue.t/Math.cos(ee.t),X=-Math.max(ue.b-Q.height,0)/Math.cos(ee.b);te=ie(te),ae=ie(ae),le=ie(le),X=ie(X),Q.drawingArea=Math.min(Math.round($-(te+ae)/2),Math.round($-(le+X)/2)),Q.setCenterPoint(te,ae,le,X)},setCenterPoint:function($,ue,ee,Q){var te=this,X=ee+te.drawingArea,De=te.height-Q-te.drawingArea;te.xCenter=Math.round(($+te.drawingArea+(te.width-ue-te.drawingArea))/2+te.left),te.yCenter=Math.round((X+De)/2+te.top)},getIndexAngle:function($){return $*(2*Math.PI/_(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function($){var ue=this;if(null===$)return 0;var ee=ue.drawingArea/(ue.max-ue.min);return ue.options.ticks.reverse?(ue.max-$)*ee:($-ue.min)*ee},getPointPosition:function($,ue){var Q=this.getIndexAngle($)-Math.PI/2;return{x:Math.round(Math.cos(Q)*ue)+this.xCenter,y:Math.round(Math.sin(Q)*ue)+this.yCenter}},getPointPositionForValue:function($,ue){return this.getPointPosition($,this.getDistanceFromCenterForValue(ue))},getBasePosition:function(){var $=this,ue=$.min,ee=$.max;return $.getPointPositionForValue(0,$.beginAtZero?0:ue<0&&ee<0?ee:ue>0&&ee>0?ue:0)},draw:function(){var $=this,ue=$.options,ee=ue.gridLines,Q=ue.ticks,te=M.valueOrDefault;if(ue.display){var ae=$.ctx,le=this.getIndexAngle(0),X=te(Q.fontSize,d.defaultFontSize),De=te(Q.fontStyle,d.defaultFontStyle),xe=te(Q.fontFamily,d.defaultFontFamily),Re=M.fontString(X,De,xe);M.each($.ticks,function(He,Ge){if(Ge>0||Q.reverse){var Xe=$.getDistanceFromCenterForValue($.ticksAsNumbers[Ge]);if(ee.display&&0!==Ge&&function G(ne,$,ue,ee){var Q=ne.ctx;if(Q.strokeStyle=M.valueAtIndexOrDefault($.color,ee-1),Q.lineWidth=M.valueAtIndexOrDefault($.lineWidth,ee-1),ne.options.gridLines.circular)Q.beginPath(),Q.arc(ne.xCenter,ne.yCenter,ue,0,2*Math.PI),Q.closePath(),Q.stroke();else{var te=_(ne);if(0===te)return;Q.beginPath();var ae=ne.getPointPosition(0,ue);Q.moveTo(ae.x,ae.y);for(var le=1;le=0;le--){if(ee.display){var X=ne.getPointPosition(le,te);$.beginPath(),$.moveTo(ne.xCenter,ne.yCenter),$.lineTo(X.x,X.y),$.stroke(),$.closePath()}if(Q.display){var De=ne.getPointPosition(le,te+5),xe=M.valueAtIndexOrDefault(Q.fontColor,le,d.defaultFontColor);$.font=ae.font,$.fillStyle=xe;var Re=ne.getIndexAngle(le),He=M.toDegrees(Re);$.textAlign=y(He),N(He,ne._pointLabelSizes[le],De),I($,ne.pointLabels[le]||"",De,ae.size)}}}($)}}});p.scaleService.registerScaleType("radialLinear",ce,c)}},4215:function(ve,ye,H){"use strict";var O=H(5439);O="function"==typeof O?O:window.moment;var M=H(9800),D=H(3305),p=Number.MIN_SAFE_INTEGER||-9007199254740991,d=Number.MAX_SAFE_INTEGER||9007199254740991,c={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},_=Object.keys(c);function h(ee,Q){return ee-Q}function T(ee){var ae,le,X,Q={},te=[];for(ae=0,le=ee.length;ae=0&&ae<=le;){if(xe=ee[X=ae+le>>1],!(De=ee[X-1]||null))return{lo:null,hi:xe};if(xe[Q]te))return{lo:De,hi:xe};le=X-1}}return{lo:xe,hi:null}}(ee,Q,te),X=le.lo?le.hi?le.lo:ee[ee.length-2]:ee[0],De=le.lo?le.hi?le.hi:ee[ee.length-1]:ee[1],xe=De[Q]-X[Q];return X[ae]+(De[ae]-X[ae])*(xe?(te-X[Q])/xe:0)}function y(ee,Q){var te=Q.parser,ae=Q.parser||Q.format;return"function"==typeof te?te(ee):"string"==typeof ee&&"string"==typeof ae?O(ee,ae):(ee instanceof O||(ee=O(ee)),ee.isValid()?ee:"function"==typeof ae?ae(ee):ee)}function I(ee,Q){if(D.isNullOrUndef(ee))return null;var te=Q.options.time,ae=y(Q.getRightValue(ee),te);return ae.isValid()?(te.round&&ae.startOf(te.round),ae.valueOf()):null}function ie(ee){for(var Q=_.indexOf(ee)+1,te=_.length;Q=X&&at<=De&&Ge.push(at);return le.min=X,le.max=De,le._unit=Re.unit||function G(ee,Q,te,ae){var De,xe,le=O.duration(O(ae).diff(O(te)));for(De=_.length-1;De>=_.indexOf(Q);De--)if(c[xe=_[De]].common&&le.as(xe)>=ee.length)return xe;return _[Q?_.indexOf(Q):0]}(Ge,Re.minUnit,le.min,le.max),le._majorUnit=ie(le._unit),le._table=function C(ee,Q,te,ae){if("linear"===ae||!ee.length)return[{time:Q,pos:0},{time:te,pos:1}];var De,xe,Re,He,Ge,le=[],X=[Q];for(De=0,xe=ee.length;DeQ&&He1?Q[1]:ae,"pos")-S(ee,"time",Re,"pos"))/2),le.time.max||(Re=Q.length>1?Q[Q.length-2]:te,De=(S(ee,"time",Q[Q.length-1],"pos")-S(ee,"time",Re,"pos"))/2)),{left:X,right:De}}(le._table,Ge,X,De,xe),le._labelFormat=function ue(ee,Q){var te,ae,le,X=ee.length;for(te=0;te=0&&le0?Ge:1}});ee.scaleService.registerScaleType("time",te,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},3207:function(ve,ye,H){var O=H(9914);function M($){if($){var le=[0,0,0],X=1,De=$.match(/^#([a-fA-F0-9]{3})$/i);if(De){De=De[1];for(var xe=0;xe_?(c+.05)/(_+.05):(_+.05)/(c+.05)},level:function(d){var c=this.contrast(d);return c>=7.1?"AAA":c>=4.5?"AA":""},dark:function(){var d=this.values.rgb;return(299*d[0]+587*d[1]+114*d[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var d=[],c=0;c<3;c++)d[c]=255-this.values.rgb[c];return this.setValues("rgb",d),this},lighten:function(d){var c=this.values.hsl;return c[2]+=c[2]*d,this.setValues("hsl",c),this},darken:function(d){var c=this.values.hsl;return c[2]-=c[2]*d,this.setValues("hsl",c),this},saturate:function(d){var c=this.values.hsl;return c[1]+=c[1]*d,this.setValues("hsl",c),this},desaturate:function(d){var c=this.values.hsl;return c[1]-=c[1]*d,this.setValues("hsl",c),this},whiten:function(d){var c=this.values.hwb;return c[1]+=c[1]*d,this.setValues("hwb",c),this},blacken:function(d){var c=this.values.hwb;return c[2]+=c[2]*d,this.setValues("hwb",c),this},greyscale:function(){var d=this.values.rgb,c=.3*d[0]+.59*d[1]+.11*d[2];return this.setValues("rgb",[c,c,c]),this},clearer:function(d){var c=this.values.alpha;return this.setValues("alpha",c-c*d),this},opaquer:function(d){var c=this.values.alpha;return this.setValues("alpha",c+c*d),this},rotate:function(d){var c=this.values.hsl,_=(c[0]+d)%360;return c[0]=_<0?360+_:_,this.setValues("hsl",c),this},mix:function(d,c){var _=this,h=d,T=void 0===c?.5:c,C=2*T-1,x=_.alpha()-h.alpha(),S=((C*x==-1?C:(C+x)/(1+C*x))+1)/2,y=1-S;return this.rgb(S*_.red()+y*h.red(),S*_.green()+y*h.green(),S*_.blue()+y*h.blue()).alpha(_.alpha()*T+h.alpha()*(1-T))},toJSON:function(){return this.rgb()},clone:function(){var h,T,d=new D,c=this.values,_=d.values;for(var C in c)c.hasOwnProperty(C)&&("[object Array]"===(T={}.toString.call(h=c[C]))?_[C]=h.slice(0):"[object Number]"===T?_[C]=h:console.error("unexpected color value:",h));return d}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},D.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},D.prototype.getValues=function(p){for(var d=this.values,c={},_=0;_.04045?Math.pow((re+.055)/1.055,2.4):re/12.92)+.3576*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*re+.7152*se+.0722*de),100*(.0193*re+.1192*se+.9505*de)]}function d(j){var re=p(j),se=re[0],de=re[1],he=re[2];return de/=100,he/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(se-de),200*(de-(he=he>.008856?Math.pow(he,1/3):7.787*he+16/116))]}function _(j){var he,fe,be,ge,Ce,re=j[0]/360,se=j[1]/100,de=j[2]/100;if(0==se)return[Ce=255*de,Ce,Ce];he=2*de-(fe=de<.5?de*(1+se):de+se-de*se),ge=[0,0,0];for(var Pe=0;Pe<3;Pe++)(be=re+1/3*-(Pe-1))<0&&be++,be>1&&be--,ge[Pe]=255*(Ce=6*be<1?he+6*(fe-he)*be:2*be<1?fe:3*be<2?he+(fe-he)*(2/3-be)*6:he);return ge}function S(j){var re=j[0]/60,se=j[1]/100,Ce=j[2]/100,de=Math.floor(re)%6,he=re-Math.floor(re),fe=255*Ce*(1-se),be=255*Ce*(1-se*he),ge=255*Ce*(1-se*(1-he));switch(Ce*=255,de){case 0:return[Ce,ge,fe];case 1:return[be,Ce,fe];case 2:return[fe,Ce,ge];case 3:return[fe,be,Ce];case 4:return[ge,fe,Ce];case 5:return[Ce,fe,be]}}function G(j){var fe,be,ge,Ce,re=j[0]/360,se=j[1]/100,de=j[2]/100,he=se+de;switch(he>1&&(se/=he,de/=he),ge=6*re-(fe=Math.floor(6*re)),0!=(1&fe)&&(ge=1-ge),Ce=se+ge*((be=1-de)-se),fe){default:case 6:case 0:r=be,g=Ce,b=se;break;case 1:r=Ce,g=be,b=se;break;case 2:r=se,g=be,b=Ce;break;case 3:r=se,g=Ce,b=be;break;case 4:r=Ce,g=se,b=be;break;case 5:r=be,g=se,b=Ce}return[255*r,255*g,255*b]}function ue(j){var se=j[1]/100,de=j[2]/100,he=j[3]/100;return[255*(1-Math.min(1,j[0]/100*(1-he)+he)),255*(1-Math.min(1,se*(1-he)+he)),255*(1-Math.min(1,de*(1-he)+he))]}function le(j){var he,fe,be,re=j[0]/100,se=j[1]/100,de=j[2]/100;return fe=-.9689*re+1.8758*se+.0415*de,be=.0557*re+-.204*se+1.057*de,he=(he=3.2406*re+-1.5372*se+-.4986*de)>.0031308?1.055*Math.pow(he,1/2.4)-.055:he*=12.92,fe=fe>.0031308?1.055*Math.pow(fe,1/2.4)-.055:fe*=12.92,be=be>.0031308?1.055*Math.pow(be,1/2.4)-.055:be*=12.92,[255*(he=Math.min(Math.max(0,he),1)),255*(fe=Math.min(Math.max(0,fe),1)),255*(be=Math.min(Math.max(0,be),1))]}function X(j){var re=j[0],se=j[1],de=j[2];return se/=100,de/=108.883,re=(re/=95.047)>.008856?Math.pow(re,1/3):7.787*re+16/116,[116*(se=se>.008856?Math.pow(se,1/3):7.787*se+16/116)-16,500*(re-se),200*(se-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function xe(j){var he,fe,be,ge,re=j[0],se=j[1],de=j[2];return re<=8?ge=(fe=100*re/903.3)/100*7.787+16/116:(fe=100*Math.pow((re+16)/116,3),ge=Math.pow(fe/100,1/3)),[he=he/95.047<=.008856?he=95.047*(se/500+ge-16/116)/7.787:95.047*Math.pow(se/500+ge,3),fe,be=be/108.883<=.008859?be=108.883*(ge-de/200-16/116)/7.787:108.883*Math.pow(ge-de/200,3)]}function Re(j){var fe,re=j[0],se=j[1],de=j[2];return(fe=360*Math.atan2(de,se)/2/Math.PI)<0&&(fe+=360),[re,Math.sqrt(se*se+de*de),fe]}function He(j){return le(xe(j))}function Ge(j){var be,se=j[1];return be=j[2]/360*2*Math.PI,[j[0],se*Math.cos(be),se*Math.sin(be)]}function at(j){return St[j]}ve.exports={rgb2hsl:ye,rgb2hsv:H,rgb2hwb:O,rgb2cmyk:M,rgb2keyword:D,rgb2xyz:p,rgb2lab:d,rgb2lch:function c(j){return Re(d(j))},hsl2rgb:_,hsl2hsv:function h(j){var se=j[1]/100,de=j[2]/100;return 0===de?[0,0,0]:[j[0],2*(se*=(de*=2)<=1?de:2-de)/(de+se)*100,(de+se)/2*100]},hsl2hwb:function T(j){return O(_(j))},hsl2cmyk:function C(j){return M(_(j))},hsl2keyword:function x(j){return D(_(j))},hsv2rgb:S,hsv2hsl:function y(j){var he,fe,se=j[1]/100,de=j[2]/100;return he=se*de,[j[0],100*(he=(he/=(fe=(2-se)*de)<=1?fe:2-fe)||0),100*(fe/=2)]},hsv2hwb:function I(j){return O(S(j))},hsv2cmyk:function N(j){return M(S(j))},hsv2keyword:function z(j){return D(S(j))},hwb2rgb:G,hwb2hsl:function ie(j){return ye(G(j))},hwb2hsv:function ce(j){return H(G(j))},hwb2cmyk:function ne(j){return M(G(j))},hwb2keyword:function $(j){return D(G(j))},cmyk2rgb:ue,cmyk2hsl:function ee(j){return ye(ue(j))},cmyk2hsv:function Q(j){return H(ue(j))},cmyk2hwb:function te(j){return O(ue(j))},cmyk2keyword:function ae(j){return D(ue(j))},keyword2rgb:at,keyword2hsl:function Ft(j){return ye(at(j))},keyword2hsv:function jt(j){return H(at(j))},keyword2hwb:function sn(j){return O(at(j))},keyword2cmyk:function vn(j){return M(at(j))},keyword2lab:function Ve(j){return d(at(j))},keyword2xyz:function br(j){return p(at(j))},xyz2rgb:le,xyz2lab:X,xyz2lch:function De(j){return Re(X(j))},lab2xyz:xe,lab2rgb:He,lab2lch:Re,lch2lab:Ge,lch2xyz:function Xe(j){return xe(Ge(j))},lch2rgb:function Ne(j){return He(Ge(j))}};var St={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Tr={};for(var Hn in St)Tr[JSON.stringify(St[Hn])]=Hn},7227:function(ve,ye,H){var O=H(4126),M=function(){return new _};for(var D in O){M[D+"Raw"]=function(h){return function(T){return"number"==typeof T&&(T=Array.prototype.slice.call(arguments)),O[h](T)}}(D);var p=/(\w+)2(\w+)/.exec(D),d=p[1],c=p[2];(M[d]=M[d]||{})[c]=M[D]=function(h){return function(T){"number"==typeof T&&(T=Array.prototype.slice.call(arguments));var C=O[h](T);if("string"==typeof C||void 0===C)return C;for(var x=0;x=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},2502:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(H(5439))},128:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(H(5439))},4519:function(ve,ye,H){!function(O){"use strict";var M={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},D=function(T){return 0===T?0:1===T?1:2===T?2:T%100>=3&&T%100<=10?3:T%100>=11?4:5},p={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},d=function(T){return function(C,x,S,y){var I=D(C),N=p[T][D(C)];return 2===I&&(N=N[x?0:1]),N.replace(/%d/i,C)}},c=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];O.defineLocale("ar-ly",{months:c,monthsShort:c,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(T){return"\u0645"===T},meridiem:function(T,C,x){return T<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:d("s"),ss:d("s"),m:d("m"),mm:d("m"),h:d("h"),hh:d("h"),d:d("d"),dd:d("d"),M:d("M"),MM:d("M"),y:d("y"),yy:d("y")},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(C){return M[C]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(H(5439))},5443:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(H(5439))},7642:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};O.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,_,h){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(c){return c.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(_){return D[_]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(H(5439))},8592:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(H(5439))},7038:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},p=function(C){return 0===C?0:1===C?1:2===C?2:C%100>=3&&C%100<=10?3:C%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},c=function(C){return function(x,S,y,I){var N=p(x),z=d[C][p(x)];return 2===N&&(z=z[S?0:1]),z.replace(/%d/i,x)}},_=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];O.defineLocale("ar",{months:_,monthsShort:_,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,x,S){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(x){return D[x]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(x){return M[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(H(5439))},1213:function(ve,ye,H){!function(O){"use strict";var M={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};O.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(d){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(d)},meridiem:function(d,c,_){return d<4?"gec\u0259":d<12?"s\u0259h\u0259r":d<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(d){if(0===d)return d+"-\u0131nc\u0131";var c=d%10;return d+(M[c]||M[d%100-c]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},9191:function(ve,ye,H){!function(O){"use strict";function D(d,c,_){return"m"===_?c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===_?c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":d+" "+function M(d,c){var _=d.split("_");return c%10==1&&c%100!=11?_[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?_[1]:_[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[_],+d)}O.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:D,mm:D,h:D,hh:D,d:"\u0434\u0437\u0435\u043d\u044c",dd:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(c)},meridiem:function(c,_,h){return c<4?"\u043d\u043e\u0447\u044b":c<12?"\u0440\u0430\u043d\u0456\u0446\u044b":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(c,_){switch(_){case"M":case"d":case"DDD":case"w":case"W":return c%10!=2&&c%10!=3||c%100==12||c%100==13?c+"-\u044b":c+"-\u0456";case"D":return c+"-\u0433\u0430";default:return c}},week:{dow:1,doy:7}})}(H(5439))},322:function(ve,ye,H){!function(O){"use strict";O.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(p){var d=p%10,c=p%100;return 0===p?p+"-\u0435\u0432":0===c?p+"-\u0435\u043d":c>10&&c<20?p+"-\u0442\u0438":1===d?p+"-\u0432\u0438":2===d?p+"-\u0440\u0438":7===d||8===d?p+"-\u043c\u0438":p+"-\u0442\u0438"},week:{dow:1,doy:7}})}(H(5439))},8042:function(ve,ye,H){!function(O){"use strict";O.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(H(5439))},9620:function(ve,ye,H){!function(O){"use strict";var M={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};O.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===_&&c>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===_&&c<5||"\u09ac\u09bf\u0995\u09be\u09b2"===_?c+12:c},meridiem:function(c,_,h){return c<4?"\u09b0\u09be\u09a4":c<10?"\u09b8\u0995\u09be\u09b2":c<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(H(5439))},9645:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},D={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};O.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(c){return c.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===_&&c>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===_&&c<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===_?c+12:c},meridiem:function(c,_,h){return c<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":c<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":c<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":c<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(H(5439))},5020:function(ve,ye,H){!function(O){"use strict";function M(h,T,C){return h+" "+function d(h,T){return 2===T?function c(h){var T={m:"v",b:"v",d:"z"};return void 0===T[h.charAt(0)]?h:T[h.charAt(0)]+h.substring(1)}(h):h}({mm:"munutenn",MM:"miz",dd:"devezh"}[C],h)}function p(h){return h>9?p(h%10):h}O.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:M,h:"un eur",hh:"%d eur",d:"un devezh",dd:M,M:"ur miz",MM:M,y:"ur bloaz",yy:function D(h){switch(p(h)){case 1:case 3:case 4:case 5:case 9:return h+" bloaz";default:return h+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(T){return T+(1===T?"a\xf1":"vet")},week:{dow:1,doy:4}})}(H(5439))},4792:function(ve,ye,H){!function(O){"use strict";function M(p,d,c){var _=p+" ";switch(c){case"ss":return _+(1===p?"sekunda":2===p||3===p||4===p?"sekunde":"sekundi");case"m":return d?"jedna minuta":"jedne minute";case"mm":return _+(1===p?"minuta":2===p||3===p||4===p?"minute":"minuta");case"h":return d?"jedan sat":"jednog sata";case"hh":return _+(1===p?"sat":2===p||3===p||4===p?"sata":"sati");case"dd":return _+(1===p?"dan":"dana");case"MM":return _+(1===p?"mjesec":2===p||3===p||4===p?"mjeseca":"mjeseci");case"yy":return _+(1===p?"godina":2===p||3===p||4===p?"godine":"godina")}}O.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},7980:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(p,d){var c=1===p?"r":2===p?"n":3===p?"r":4===p?"t":"\xe8";return("w"===d||"W"===d)&&(c="a"),p+c},week:{dow:1,doy:4}})}(H(5439))},7322:function(ve,ye,H){!function(O){"use strict";var M="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),D="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function p(_){return _>1&&_<5&&1!=~~(_/10)}function d(_,h,T,C){var x=_+" ";switch(T){case"s":return h||C?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return h||C?x+(p(_)?"sekundy":"sekund"):x+"sekundami";case"m":return h?"minuta":C?"minutu":"minutou";case"mm":return h||C?x+(p(_)?"minuty":"minut"):x+"minutami";case"h":return h?"hodina":C?"hodinu":"hodinou";case"hh":return h||C?x+(p(_)?"hodiny":"hodin"):x+"hodinami";case"d":return h||C?"den":"dnem";case"dd":return h||C?x+(p(_)?"dny":"dn\xed"):x+"dny";case"M":return h||C?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return h||C?x+(p(_)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):x+"m\u011bs\xedci";case"y":return h||C?"rok":"rokem";case"yy":return h||C?x+(p(_)?"roky":"let"):x+"lety"}}O.defineLocale("cs",{months:M,monthsShort:D,monthsParse:function(_,h){var T,C=[];for(T=0;T<12;T++)C[T]=new RegExp("^"+_[T]+"$|^"+h[T]+"$","i");return C}(M,D),shortMonthsParse:function(_){var h,T=[];for(h=0;h<12;h++)T[h]=new RegExp("^"+_[h]+"$","i");return T}(D),longMonthsParse:function(_){var h,T=[];for(h=0;h<12;h++)T[h]=new RegExp("^"+_[h]+"$","i");return T}(M),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},365:function(ve,ye,H){!function(O){"use strict";O.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(p){return p+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(p)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(p)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(H(5439))},2092:function(ve,ye,H){!function(O){"use strict";O.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(p){var c="";return p>20?c=40===p||50===p||60===p||80===p||100===p?"fed":"ain":p>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][p]),p+c},week:{dow:1,doy:4}})}(H(5439))},7387:function(ve,ye,H){!function(O){"use strict";O.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},9459:function(ve,ye,H){!function(O){"use strict";function M(p,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[p+" Tage",p+" Tagen"],M:["ein Monat","einem Monat"],MM:[p+" Monate",p+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[p+" Jahre",p+" Jahren"]};return d?h[c][0]:h[c][1]}O.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},3694:function(ve,ye,H){!function(O){"use strict";function M(p,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[p+" Tage",p+" Tagen"],M:["ein Monat","einem Monat"],MM:[p+" Monate",p+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[p+" Jahre",p+" Jahren"]};return d?h[c][0]:h[c][1]}O.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},4307:function(ve,ye,H){!function(O){"use strict";function M(p,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[p+" Tage",p+" Tagen"],M:["ein Monat","einem Monat"],MM:[p+" Monate",p+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[p+" Jahre",p+" Jahren"]};return d?h[c][0]:h[c][1]}O.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},9659:function(ve,ye,H){!function(O){"use strict";var M=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],D=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];O.defineLocale("dv",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(c){return"\u0789\u078a"===c},meridiem:function(c,_,h){return c<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(H(5439))},3460:function(ve,ye,H){!function(O){"use strict";O.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(d,c){return d?"string"==typeof c&&/D/.test(c.substring(0,c.indexOf("MMMM")))?this._monthsGenitiveEl[d.month()]:this._monthsNominativeEl[d.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(d,c,_){return d>11?_?"\u03bc\u03bc":"\u039c\u039c":_?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(d){return"\u03bc"===(d+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(d,c){var _=this._calendarEl[d],h=c&&c.hours();return function M(p){return p instanceof Function||"[object Function]"===Object.prototype.toString.call(p)}(_)&&(_=_.apply(c)),_.replace("{}",h%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(H(5439))},4369:function(ve,ye,H){!function(O){"use strict";O.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},530:function(ve,ye,H){!function(O){"use strict";O.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(H(5439))},9998:function(ve,ye,H){!function(O){"use strict";O.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},3391:function(ve,ye,H){!function(O){"use strict";O.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},5414:function(ve,ye,H){!function(O){"use strict";O.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(H(5439))},1248:function(ve,ye,H){!function(O){"use strict";O.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},4530:function(ve,ye,H){!function(O){"use strict";O.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(p){return"p"===p.charAt(0).toLowerCase()},meridiem:function(p,d,c){return p>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(H(5439))},8944:function(ve,ye,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),p=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],d=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;O.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,T){return h?/-MMM-/.test(T)?D[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},3609:function(ve,ye,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");O.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,_){return c?/-MMM-/.test(_)?D[c.month()]:M[c.month()]:M},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(H(5439))},6866:function(ve,ye,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),p=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],d=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;O.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,T){return h?/-MMM-/.test(T)?D[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},6725:function(ve,ye,H){!function(O){"use strict";function M(p,d,c,_){var h={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[p+"sekundi",p+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[p+" minuti",p+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[p+" tunni",p+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[p+" kuu",p+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[p+" aasta",p+" aastat"]};return d?h[c][2]?h[c][2]:h[c][1]:_?h[c][0]:h[c][1]}O.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:"%d p\xe4eva",M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},7931:function(ve,ye,H){!function(O){"use strict";O.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},6417:function(ve,ye,H){!function(O){"use strict";var M={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},D={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};O.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(c){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(c)},meridiem:function(c,_,h){return c<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/[\u06f0-\u06f9]/g,function(_){return D[_]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(H(5439))},944:function(ve,ye,H){!function(O){"use strict";var M="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),D=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",M[7],M[8],M[9]];function p(_,h,T,C){var x="";switch(T){case"s":return C?"muutaman sekunnin":"muutama sekunti";case"ss":return C?"sekunnin":"sekuntia";case"m":return C?"minuutin":"minuutti";case"mm":x=C?"minuutin":"minuuttia";break;case"h":return C?"tunnin":"tunti";case"hh":x=C?"tunnin":"tuntia";break;case"d":return C?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":x=C?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return C?"kuukauden":"kuukausi";case"MM":x=C?"kuukauden":"kuukautta";break;case"y":return C?"vuoden":"vuosi";case"yy":x=C?"vuoden":"vuotta"}return function d(_,h){return _<10?h?D[_]:M[_]:_}(_,C)+" "+x}O.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},5867:function(ve,ye,H){!function(O){"use strict";O.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},6848:function(ve,ye,H){!function(O){"use strict";O.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(p,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return p+(1===p?"er":"e");case"w":case"W":return p+(1===p?"re":"e")}}})}(H(5439))},7773:function(ve,ye,H){!function(O){"use strict";O.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(p,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return p+(1===p?"er":"e");case"w":case"W":return p+(1===p?"re":"e")}},week:{dow:1,doy:4}})}(H(5439))},1636:function(ve,ye,H){!function(O){"use strict";O.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(p,d){switch(d){case"D":return p+(1===p?"er":"");default:case"M":case"Q":case"DDD":case"d":return p+(1===p?"er":"e");case"w":case"W":return p+(1===p?"re":"e")}},week:{dow:1,doy:4}})}(H(5439))},4940:function(ve,ye,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),D="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");O.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,_){return c?/-MMM-/.test(_)?D[c.month()]:M[c.month()]:M},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},6924:function(ve,ye,H){!function(O){"use strict";O.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(T){return T+(1===T?"d":T%10==2?"na":"mh")},week:{dow:1,doy:4}})}(H(5439))},6398:function(ve,ye,H){!function(O){"use strict";O.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(p){return 0===p.indexOf("un")?"n"+p:"en "+p},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},2545:function(ve,ye,H){!function(O){"use strict";function M(p,d,c,_){var h={s:["thodde secondanim","thodde second"],ss:[p+" secondanim",p+" second"],m:["eka mintan","ek minute"],mm:[p+" mintanim",p+" mintam"],h:["eka horan","ek hor"],hh:[p+" horanim",p+" horam"],d:["eka disan","ek dis"],dd:[p+" disanim",p+" dis"],M:["eka mhoinean","ek mhoino"],MM:[p+" mhoineanim",p+" mhoine"],y:["eka vorsan","ek voros"],yy:[p+" vorsanim",p+" vorsam"]};return d?h[c][0]:h[c][1]}O.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(d,c){return"D"===c?d+"er":d},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(d,c){return 12===d&&(d=0),"rati"===c?d<4?d:d+12:"sokalli"===c?d:"donparam"===c?d>12?d:d+12:"sanje"===c?d+12:void 0},meridiem:function(d,c,_){return d<4?"rati":d<12?"sokalli":d<16?"donparam":d<20?"sanje":"rati"}})}(H(5439))},2641:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},D={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};O.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(c){return c.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0ab0\u0abe\u0aa4"===_?c<4?c:c+12:"\u0ab8\u0ab5\u0abe\u0ab0"===_?c:"\u0aac\u0aaa\u0acb\u0ab0"===_?c>=10?c:c+12:"\u0ab8\u0abe\u0a82\u0a9c"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0ab0\u0abe\u0aa4":c<10?"\u0ab8\u0ab5\u0abe\u0ab0":c<17?"\u0aac\u0aaa\u0acb\u0ab0":c<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(H(5439))},7536:function(ve,ye,H){!function(O){"use strict";O.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(p){return 2===p?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":p+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(p){return 2===p?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":p+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(p){return 2===p?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":p+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(p){return 2===p?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":p%10==0&&10!==p?p+" \u05e9\u05e0\u05d4":p+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(p){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(p)},meridiem:function(p,d,c){return p<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":p<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":p<12?c?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":p<18?c?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(H(5439))},6335:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0930\u093e\u0924"===_?c<4?c:c+12:"\u0938\u0941\u092c\u0939"===_?c:"\u0926\u094b\u092a\u0939\u0930"===_?c>=10?c:c+12:"\u0936\u093e\u092e"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0930\u093e\u0924":c<10?"\u0938\u0941\u092c\u0939":c<17?"\u0926\u094b\u092a\u0939\u0930":c<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(H(5439))},7458:function(ve,ye,H){!function(O){"use strict";function M(p,d,c){var _=p+" ";switch(c){case"ss":return _+(1===p?"sekunda":2===p||3===p||4===p?"sekunde":"sekundi");case"m":return d?"jedna minuta":"jedne minute";case"mm":return _+(1===p?"minuta":2===p||3===p||4===p?"minute":"minuta");case"h":return d?"jedan sat":"jednog sata";case"hh":return _+(1===p?"sat":2===p||3===p||4===p?"sata":"sati");case"dd":return _+(1===p?"dan":"dana");case"MM":return _+(1===p?"mjesec":2===p||3===p||4===p?"mjeseca":"mjeseci");case"yy":return _+(1===p?"godina":2===p||3===p||4===p?"godine":"godina")}}O.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},6540:function(ve,ye,H){!function(O){"use strict";var M="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function D(c,_,h,T){var C=c;switch(h){case"s":return T||_?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return C+(T||_)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(T||_?" perc":" perce");case"mm":return C+(T||_?" perc":" perce");case"h":return"egy"+(T||_?" \xf3ra":" \xf3r\xe1ja");case"hh":return C+(T||_?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(T||_?" nap":" napja");case"dd":return C+(T||_?" nap":" napja");case"M":return"egy"+(T||_?" h\xf3nap":" h\xf3napja");case"MM":return C+(T||_?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(T||_?" \xe9v":" \xe9ve");case"yy":return C+(T||_?" \xe9v":" \xe9ve")}return""}function p(c){return(c?"":"[m\xfalt] ")+"["+M[this.day()]+"] LT[-kor]"}O.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(_){return"u"===_.charAt(1).toLowerCase()},meridiem:function(_,h,T){return _<12?!0===T?"de":"DE":!0===T?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return p.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return p.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},5283:function(ve,ye,H){!function(O){"use strict";O.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(p){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(p)},meridiem:function(p){return p<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":p<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":p<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(p,d){switch(d){case"DDD":case"w":case"W":case"DDDo":return 1===p?p+"-\u056b\u0576":p+"-\u0580\u0564";default:return p}},week:{dow:1,doy:7}})}(H(5439))},8780:function(ve,ye,H){!function(O){"use strict";O.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(p,d){return 12===p&&(p=0),"pagi"===d?p:"siang"===d?p>=11?p:p+12:"sore"===d||"malam"===d?p+12:void 0},meridiem:function(p,d,c){return p<11?"pagi":p<15?"siang":p<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(H(5439))},4205:function(ve,ye,H){!function(O){"use strict";function M(d){return d%100==11||d%10!=1}function D(d,c,_,h){var T=d+" ";switch(_){case"s":return c||h?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return M(d)?T+(c||h?"sek\xfandur":"sek\xfandum"):T+"sek\xfanda";case"m":return c?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return M(d)?T+(c||h?"m\xedn\xfatur":"m\xedn\xfatum"):c?T+"m\xedn\xfata":T+"m\xedn\xfatu";case"hh":return M(d)?T+(c||h?"klukkustundir":"klukkustundum"):T+"klukkustund";case"d":return c?"dagur":h?"dag":"degi";case"dd":return M(d)?c?T+"dagar":T+(h?"daga":"d\xf6gum"):c?T+"dagur":T+(h?"dag":"degi");case"M":return c?"m\xe1nu\xf0ur":h?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return M(d)?c?T+"m\xe1nu\xf0ir":T+(h?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):c?T+"m\xe1nu\xf0ur":T+(h?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return c||h?"\xe1r":"\xe1ri";case"yy":return M(d)?T+(c||h?"\xe1r":"\xe1rum"):T+(c||h?"\xe1r":"\xe1ri")}}O.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:D,ss:D,m:D,mm:D,h:"klukkustund",hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},4211:function(ve,ye,H){!function(O){"use strict";O.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(p){return(/^[0-9].+$/.test(p)?"tra":"in")+" "+p},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},1003:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(p){return"\u5348\u5f8c"===p},meridiem:function(p,d,c){return p<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(p){return p.week()=11?p:p+12:"sonten"===d||"ndalu"===d?p+12:void 0},meridiem:function(p,d,c){return p<11?"enjing":p<15?"siyang":p<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(H(5439))},851:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(p){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(p)?p.replace(/\u10d8$/,"\u10e8\u10d8"):p+"\u10e8\u10d8"},past:function(p){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(p)?p.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(p)?p.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(p){return 0===p?p:1===p?p+"-\u10da\u10d8":p<20||p<=100&&p%20==0||p%100==0?"\u10db\u10d4-"+p:p+"-\u10d4"},week:{dow:1,doy:7}})}(H(5439))},6074:function(ve,ye,H){!function(O){"use strict";var M={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};O.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},3343:function(ve,ye,H){!function(O){"use strict";var M={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},D={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};O.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(c){return"\u179b\u17d2\u1784\u17b6\u1785"===c},meridiem:function(c,_,h){return c<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(c){return c.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},week:{dow:1,doy:4}})}(H(5439))},4799:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},D={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};O.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(c){return c.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===_?c<4?c:c+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===_?c:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===_?c>=10?c:c+12:"\u0cb8\u0c82\u0c9c\u0cc6"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":c<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":c<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":c<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(c){return c+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(H(5439))},3549:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(p,d){switch(d){case"d":case"D":case"DDD":return p+"\uc77c";case"M":return p+"\uc6d4";case"w":case"W":return p+"\uc8fc";default:return p}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(p){return"\uc624\ud6c4"===p},meridiem:function(p,d,c){return p<12?"\uc624\uc804":"\uc624\ud6c4"}})}(H(5439))},3125:function(ve,ye,H){!function(O){"use strict";var M={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};O.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},9586:function(ve,ye,H){!function(O){"use strict";function M(_,h,T,C){var x={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return h?x[T][0]:x[T][1]}function d(_){if(_=parseInt(_,10),isNaN(_))return!1;if(_<0)return!0;if(_<10)return 4<=_&&_<=7;if(_<100){var h=_%10;return d(0===h?_/10:h)}if(_<1e4){for(;_>=10;)_/=10;return d(_)}return d(_/=1e3)}O.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function D(_){return d(_.substr(0,_.indexOf(" ")))?"a "+_:"an "+_},past:function p(_){return d(_.substr(0,_.indexOf(" ")))?"viru "+_:"virun "+_},s:"e puer Sekonnen",ss:"%d Sekonnen",m:M,mm:"%d Minutten",h:M,hh:"%d Stonnen",d:M,dd:"%d Deeg",M:M,MM:"%d M\xe9int",y:M,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},2349:function(ve,ye,H){!function(O){"use strict";O.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(p){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===p},meridiem:function(p,d,c){return p<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(p){return"\u0e97\u0eb5\u0ec8"+p}})}(H(5439))},2400:function(ve,ye,H){!function(O){"use strict";var M={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function p(T,C,x,S){return C?c(x)[0]:S?c(x)[1]:c(x)[2]}function d(T){return T%10==0||T>10&&T<20}function c(T){return M[T].split("_")}function _(T,C,x,S){var y=T+" ";return 1===T?y+p(0,C,x[0],S):C?y+(d(T)?c(x)[1]:c(x)[0]):S?y+c(x)[1]:y+(d(T)?c(x)[1]:c(x)[2])}O.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function D(T,C,x,S){return C?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:_,m:p,mm:_,h:p,hh:_,d:p,dd:_,M:p,MM:_,y:p,yy:_},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(C){return C+"-oji"},week:{dow:1,doy:4}})}(H(5439))},9991:function(ve,ye,H){!function(O){"use strict";var M={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function D(h,T,C){return C?T%10==1&&T%100!=11?h[2]:h[3]:T%10==1&&T%100!=11?h[0]:h[1]}function p(h,T,C){return h+" "+D(M[C],h,T)}function d(h,T,C){return D(M[C],h,T)}O.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function c(h,T){return T?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:p,m:d,mm:p,h:d,hh:p,d:d,dd:p,M:d,MM:p,y:d,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8477:function(ve,ye,H){!function(O){"use strict";var M={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mjesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},5118:function(ve,ye,H){!function(O){"use strict";O.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},5943:function(ve,ye,H){!function(O){"use strict";O.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(p){var d=p%10,c=p%100;return 0===p?p+"-\u0435\u0432":0===c?p+"-\u0435\u043d":c>10&&c<20?p+"-\u0442\u0438":1===d?p+"-\u0432\u0438":2===d?p+"-\u0440\u0438":7===d||8===d?p+"-\u043c\u0438":p+"-\u0442\u0438"},week:{dow:1,doy:7}})}(H(5439))},3849:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(p,d){return 12===p&&(p=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===d&&p>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===d||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===d?p+12:p},meridiem:function(p,d,c){return p<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":p<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":p<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":p<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(H(5439))},1977:function(ve,ye,H){!function(O){"use strict";function M(p,d,c,_){switch(c){case"s":return d?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return p+(d?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return p+(d?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return p+(d?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return p+(d?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return p+(d?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return p+(d?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return p}}O.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(d){return"\u04ae\u0425"===d},meridiem:function(d,c,_){return d<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(d,c){switch(c){case"d":case"D":case"DDD":return d+" \u04e9\u0434\u04e9\u0440";default:return d}}})}(H(5439))},6184:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function p(c,_,h,T){var C="";if(_)switch(h){case"s":C="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":C="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":C="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":C="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":C="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":C="%d \u0924\u093e\u0938";break;case"d":C="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":C="%d \u0926\u093f\u0935\u0938";break;case"M":C="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":C="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":C="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":C="%d \u0935\u0930\u094d\u0937\u0947"}else switch(h){case"s":C="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":C="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":C="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":C="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":C="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":C="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":C="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":C="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":C="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":C="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":C="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":C="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return C.replace(/%d/i,c)}O.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:p,ss:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},preparse:function(_){return _.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(h){return D[h]})},postformat:function(_){return _.replace(/\d/g,function(h){return M[h]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(_,h){return 12===_&&(_=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===h?_<4?_:_+12:"\u0938\u0915\u093e\u0933\u0940"===h?_:"\u0926\u0941\u092a\u093e\u0930\u0940"===h?_>=10?_:_+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===h?_+12:void 0},meridiem:function(_,h,T){return _<4?"\u0930\u093e\u0924\u094d\u0930\u0940":_<10?"\u0938\u0915\u093e\u0933\u0940":_<17?"\u0926\u0941\u092a\u093e\u0930\u0940":_<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(H(5439))},4524:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(p,d){return 12===p&&(p=0),"pagi"===d?p:"tengahari"===d?p>=11?p:p+12:"petang"===d||"malam"===d?p+12:void 0},meridiem:function(p,d,c){return p<11?"pagi":p<15?"tengahari":p<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(H(5439))},485:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(p,d){return 12===p&&(p=0),"pagi"===d?p:"tengahari"===d?p>=11?p:p+12:"petang"===d||"malam"===d?p+12:void 0},meridiem:function(p,d,c){return p<11?"pagi":p<15?"tengahari":p<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(H(5439))},6681:function(ve,ye,H){!function(O){"use strict";O.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},2024:function(ve,ye,H){!function(O){"use strict";var M={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},D={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};O.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(c){return c.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},week:{dow:1,doy:4}})}(H(5439))},2688:function(ve,ye,H){!function(O){"use strict";O.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8914:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0930\u093e\u0924\u093f"===_?c<4?c:c+12:"\u092c\u093f\u0939\u093e\u0928"===_?c:"\u0926\u093f\u0909\u0901\u0938\u094b"===_?c>=10?c:c+12:"\u0938\u093e\u0901\u091d"===_?c+12:void 0},meridiem:function(c,_,h){return c<3?"\u0930\u093e\u0924\u093f":c<12?"\u092c\u093f\u0939\u093e\u0928":c<16?"\u0926\u093f\u0909\u0901\u0938\u094b":c<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(H(5439))},2272:function(ve,ye,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),p=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],d=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;O.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,T){return h?/-MMM-/.test(T)?D[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},1758:function(ve,ye,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),p=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],d=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;O.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,T){return h?/-MMM-/.test(T)?D[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},1510:function(ve,ye,H){!function(O){"use strict";O.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},7944:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},D={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};O.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(c){return c.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0a30\u0a3e\u0a24"===_?c<4?c:c+12:"\u0a38\u0a35\u0a47\u0a30"===_?c:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===_?c>=10?c:c+12:"\u0a38\u0a3c\u0a3e\u0a2e"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0a30\u0a3e\u0a24":c<10?"\u0a38\u0a35\u0a47\u0a30":c<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":c<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(H(5439))},1605:function(ve,ye,H){!function(O){"use strict";var M="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),D="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function p(_){return _%10<5&&_%10>1&&~~(_/10)%10!=1}function d(_,h,T){var C=_+" ";switch(T){case"ss":return C+(p(_)?"sekundy":"sekund");case"m":return h?"minuta":"minut\u0119";case"mm":return C+(p(_)?"minuty":"minut");case"h":return h?"godzina":"godzin\u0119";case"hh":return C+(p(_)?"godziny":"godzin");case"MM":return C+(p(_)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return C+(p(_)?"lata":"lat")}}O.defineLocale("pl",{months:function(h,T){return h?""===T?"("+D[h.month()]+"|"+M[h.month()]+")":/D MMMM/.test(T)?D[h.month()]:M[h.month()]:M},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:d,m:d,mm:d,h:d,hh:d,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:d,y:"rok",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},3840:function(ve,ye,H){!function(O){"use strict";O.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(H(5439))},4225:function(ve,ye,H){!function(O){"use strict";O.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},5128:function(ve,ye,H){!function(O){"use strict";function M(p,d,c){var h=" ";return(p%100>=20||p>=100&&p%100==0)&&(h=" de "),p+h+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[c]}O.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:M,m:"un minut",mm:M,h:"o or\u0103",hh:M,d:"o zi",dd:M,M:"o lun\u0103",MM:M,y:"un an",yy:M},week:{dow:1,doy:7}})}(H(5439))},5127:function(ve,ye,H){!function(O){"use strict";function D(c,_,h){return"m"===h?_?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":c+" "+function M(c,_){var h=c.split("_");return _%10==1&&_%100!=11?h[0]:_%10>=2&&_%10<=4&&(_%100<10||_%100>=20)?h[1]:h[2]}({ss:_?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:_?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[h],+c)}var p=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];O.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:p,longMonthsParse:p,shortMonthsParse:p,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(_){if(_.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(_){if(_.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0447\u0430\u0441",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(_){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(_)},meridiem:function(_,h,T){return _<4?"\u043d\u043e\u0447\u0438":_<12?"\u0443\u0442\u0440\u0430":_<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(_,h){switch(h){case"M":case"d":case"DDD":return _+"-\u0439";case"D":return _+"-\u0433\u043e";case"w":case"W":return _+"-\u044f";default:return _}},week:{dow:1,doy:4}})}(H(5439))},2525:function(ve,ye,H){!function(O){"use strict";var M=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],D=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];O.defineLocale("sd",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,_,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(H(5439))},9893:function(ve,ye,H){!function(O){"use strict";O.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},3123:function(ve,ye,H){!function(O){"use strict";O.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(p){return p+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(p){return"\u0db4.\u0dc0."===p||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===p},meridiem:function(p,d,c){return p>11?c?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":c?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(H(5439))},9635:function(ve,ye,H){!function(O){"use strict";var M="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),D="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function p(_){return _>1&&_<5}function d(_,h,T,C){var x=_+" ";switch(T){case"s":return h||C?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return h||C?x+(p(_)?"sekundy":"sek\xfand"):x+"sekundami";case"m":return h?"min\xfata":C?"min\xfatu":"min\xfatou";case"mm":return h||C?x+(p(_)?"min\xfaty":"min\xfat"):x+"min\xfatami";case"h":return h?"hodina":C?"hodinu":"hodinou";case"hh":return h||C?x+(p(_)?"hodiny":"hod\xedn"):x+"hodinami";case"d":return h||C?"de\u0148":"d\u0148om";case"dd":return h||C?x+(p(_)?"dni":"dn\xed"):x+"d\u0148ami";case"M":return h||C?"mesiac":"mesiacom";case"MM":return h||C?x+(p(_)?"mesiace":"mesiacov"):x+"mesiacmi";case"y":return h||C?"rok":"rokom";case"yy":return h||C?x+(p(_)?"roky":"rokov"):x+"rokmi"}}O.defineLocale("sk",{months:M,monthsShort:D,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8106:function(ve,ye,H){!function(O){"use strict";function M(p,d,c,_){var h=p+" ";switch(c){case"s":return d||_?"nekaj sekund":"nekaj sekundami";case"ss":return h+(1===p?d?"sekundo":"sekundi":2===p?d||_?"sekundi":"sekundah":p<5?d||_?"sekunde":"sekundah":"sekund");case"m":return d?"ena minuta":"eno minuto";case"mm":return h+(1===p?d?"minuta":"minuto":2===p?d||_?"minuti":"minutama":p<5?d||_?"minute":"minutami":d||_?"minut":"minutami");case"h":return d?"ena ura":"eno uro";case"hh":return h+(1===p?d?"ura":"uro":2===p?d||_?"uri":"urama":p<5?d||_?"ure":"urami":d||_?"ur":"urami");case"d":return d||_?"en dan":"enim dnem";case"dd":return h+(1===p?d||_?"dan":"dnem":2===p?d||_?"dni":"dnevoma":d||_?"dni":"dnevi");case"M":return d||_?"en mesec":"enim mesecem";case"MM":return h+(1===p?d||_?"mesec":"mesecem":2===p?d||_?"meseca":"mesecema":p<5?d||_?"mesece":"meseci":d||_?"mesecev":"meseci");case"y":return d||_?"eno leto":"enim letom";case"yy":return h+(1===p?d||_?"leto":"letom":2===p?d||_?"leti":"letoma":p<5?d||_?"leta":"leti":d||_?"let":"leti")}}O.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},8799:function(ve,ye,H){!function(O){"use strict";O.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(p){return"M"===p.charAt(0)},meridiem:function(p,d,c){return p<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},2872:function(ve,ye,H){!function(O){"use strict";var M={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"\u0434\u0430\u043d",dd:M.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:M.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},7949:function(ve,ye,H){!function(O){"use strict";var M={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},6167:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(p,d,c){return p<11?"ekuseni":p<15?"emini":p<19?"entsambama":"ebusuku"},meridiemHour:function(p,d){return 12===p&&(p=0),"ekuseni"===d?p:"emini"===d?p>=11?p:p+12:"entsambama"===d||"ebusuku"===d?0===p?0:p+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(H(5439))},9713:function(ve,ye,H){!function(O){"use strict";O.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"e":1===d||2===d?"a":"e")},week:{dow:1,doy:4}})}(H(5439))},1982:function(ve,ye,H){!function(O){"use strict";O.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(H(5439))},2732:function(ve,ye,H){!function(O){"use strict";var M={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},D={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};O.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(c){return c+"\u0bb5\u0ba4\u0bc1"},preparse:function(c){return c.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(_){return D[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(c,_,h){return c<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":c<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":c<10?" \u0b95\u0bbe\u0bb2\u0bc8":c<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":c<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":c<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(c,_){return 12===c&&(c=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===_?c<2?c:c+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===_||"\u0b95\u0bbe\u0bb2\u0bc8"===_||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===_&&c>=10?c:c+12},week:{dow:0,doy:6}})}(H(5439))},3636:function(ve,ye,H){!function(O){"use strict";O.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(p,d){return 12===p&&(p=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===d?p<4?p:p+12:"\u0c09\u0c26\u0c2f\u0c02"===d?p:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===d?p>=10?p:p+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===d?p+12:void 0},meridiem:function(p,d,c){return p<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":p<10?"\u0c09\u0c26\u0c2f\u0c02":p<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":p<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(H(5439))},2115:function(ve,ye,H){!function(O){"use strict";O.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},9801:function(ve,ye,H){!function(O){"use strict";var M={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};O.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(d,c){return 12===d&&(d=0),"\u0448\u0430\u0431"===c?d<4?d:d+12:"\u0441\u0443\u0431\u04b3"===c?d:"\u0440\u04ef\u0437"===c?d>=11?d:d+12:"\u0431\u0435\u0433\u043e\u04b3"===c?d+12:void 0},meridiem:function(d,c,_){return d<4?"\u0448\u0430\u0431":d<11?"\u0441\u0443\u0431\u04b3":d<16?"\u0440\u04ef\u0437":d<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},2868:function(ve,ye,H){!function(O){"use strict";O.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(p){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===p},meridiem:function(p,d,c){return p<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(H(5439))},2360:function(ve,ye,H){!function(O){"use strict";O.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(p){return p},week:{dow:1,doy:4}})}(H(5439))},6645:function(ve,ye,H){!function(O){"use strict";var M="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function d(h,T,C,x){var S=function c(h){var T=Math.floor(h%1e3/100),C=Math.floor(h%100/10),x=h%10,S="";return T>0&&(S+=M[T]+"vatlh"),C>0&&(S+=(""!==S?" ":"")+M[C]+"maH"),x>0&&(S+=(""!==S?" ":"")+M[x]),""===S?"pagh":S}(h);switch(C){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}O.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function D(h){var T=h;return-1!==h.indexOf("jaj")?T.slice(0,-3)+"leS":-1!==h.indexOf("jar")?T.slice(0,-3)+"waQ":-1!==h.indexOf("DIS")?T.slice(0,-3)+"nem":T+" pIq"},past:function p(h){var T=h;return-1!==h.indexOf("jaj")?T.slice(0,-3)+"Hu\u2019":-1!==h.indexOf("jar")?T.slice(0,-3)+"wen":-1!==h.indexOf("DIS")?T.slice(0,-3)+"ben":T+" ret"},s:"puS lup",ss:d,m:"wa\u2019 tup",mm:d,h:"wa\u2019 rep",hh:d,d:"wa\u2019 jaj",dd:d,M:"wa\u2019 jar",MM:d,y:"wa\u2019 DIS",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8374:function(ve,ye,H){!function(O){"use strict";var M={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};O.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(d,c){switch(c){case"d":case"D":case"Do":case"DD":return d;default:if(0===d)return d+"'\u0131nc\u0131";var _=d%10;return d+(M[_]||M[d%100-_]||M[d>=100?100:null])}},week:{dow:1,doy:7}})}(H(5439))},256:function(ve,ye,H){!function(O){"use strict";function D(p,d,c,_){var h={s:["viensas secunds","'iensas secunds"],ss:[p+" secunds",p+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[p+" m\xeduts",p+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[p+" \xfeoras",p+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[p+" ziuas",p+" ziuas"],M:["'n mes","'iens mes"],MM:[p+" mesen",p+" mesen"],y:["'n ar","'iens ar"],yy:[p+" ars",p+" ars"]};return _||d?h[c][0]:h[c][1]}O.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(d){return"d'o"===d.toLowerCase()},meridiem:function(d,c,_){return d>11?_?"d'o":"D'O":_?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},1631:function(ve,ye,H){!function(O){"use strict";O.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(H(5439))},1595:function(ve,ye,H){!function(O){"use strict";O.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(H(5439))},6050:function(ve,ye,H){!function(O){"use strict";O.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(p,d){return 12===p&&(p=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===d||"\u0633\u06d5\u06be\u06d5\u0631"===d||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===d?p:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===d||"\u0643\u06d5\u0686"===d?p+12:p>=11?p:p+12},meridiem:function(p,d,c){var _=100*p+d;return _<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":_<900?"\u0633\u06d5\u06be\u06d5\u0631":_<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":_<1230?"\u0686\u06c8\u0634":_<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(p,d){switch(d){case"d":case"D":case"DDD":return p+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return p+"-\u06be\u06d5\u067e\u062a\u06d5";default:return p}},preparse:function(p){return p.replace(/\u060c/g,",")},postformat:function(p){return p.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(H(5439))},5610:function(ve,ye,H){!function(O){"use strict";function D(_,h,T){return"m"===T?h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===T?h?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":_+" "+function M(_,h){var T=_.split("_");return h%10==1&&h%100!=11?T[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?T[1]:T[2]}({ss:h?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:h?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[T],+_)}function d(_){return function(){return _+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}O.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function p(_,h){var T={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return _?T[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(h)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(h)?"genitive":"nominative"][_.day()]:T.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:d("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:d("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:d("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:d("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return d("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return d("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:D,y:"\u0440\u0456\u043a",yy:D},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(h)},meridiem:function(h,T,C){return h<4?"\u043d\u043e\u0447\u0456":h<12?"\u0440\u0430\u043d\u043a\u0443":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(h,T){switch(T){case"M":case"d":case"DDD":case"w":case"W":return h+"-\u0439";case"D":return h+"-\u0433\u043e";default:return h}},week:{dow:1,doy:7}})}(H(5439))},6077:function(ve,ye,H){!function(O){"use strict";var M=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],D=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];O.defineLocale("ur",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,_,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(H(5439))},2207:function(ve,ye,H){!function(O){"use strict";O.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(H(5439))},2862:function(ve,ye,H){!function(O){"use strict";O.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(H(5439))},8093:function(ve,ye,H){!function(O){"use strict";O.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(p){return/^ch$/i.test(p)},meridiem:function(p,d,c){return p<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(p){return p},week:{dow:1,doy:4}})}(H(5439))},5590:function(ve,ye,H){!function(O){"use strict";O.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(p){var d=p%10;return p+(1==~~(p%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},9058:function(ve,ye,H){!function(O){"use strict";O.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(H(5439))},7908:function(ve,ye,H){!function(O){"use strict";O.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(p,d){return 12===p&&(p=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?p:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?p+12:p>=11?p:p+12},meridiem:function(p,d,c){var _=100*p+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(p,d){switch(d){case"d":case"D":case"DDD":return p+"\u65e5";case"M":return p+"\u6708";case"w":case"W":return p+"\u5468";default:return p}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(H(5439))},8867:function(ve,ye,H){!function(O){"use strict";O.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(p,d){return 12===p&&(p=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?p:"\u4e2d\u5348"===d?p>=11?p:p+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?p+12:void 0},meridiem:function(p,d,c){var _=100*p+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(p,d){switch(d){case"d":case"D":case"DDD":return p+"\u65e5";case"M":return p+"\u6708";case"w":case"W":return p+"\u9031";default:return p}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(H(5439))},3291:function(ve,ye,H){!function(O){"use strict";O.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(p,d){return 12===p&&(p=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?p:"\u4e2d\u5348"===d?p>=11?p:p+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?p+12:void 0},meridiem:function(p,d,c){var _=100*p+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(p,d){switch(d){case"d":case"D":case"DDD":return p+"\u65e5";case"M":return p+"\u6708";case"w":case"W":return p+"\u9031";default:return p}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(H(5439))},5439:function(ve,ye,H){(ve=H.nmd(ve)).exports=function(){"use strict";var O,z;function M(){return O.apply(null,arguments)}function p(k){return k instanceof Array||"[object Array]"===Object.prototype.toString.call(k)}function d(k){return null!=k&&"[object Object]"===Object.prototype.toString.call(k)}function _(k){return void 0===k}function h(k){return"number"==typeof k||"[object Number]"===Object.prototype.toString.call(k)}function T(k){return k instanceof Date||"[object Date]"===Object.prototype.toString.call(k)}function C(k,A){var Z,U=[];for(Z=0;Z>>0,oe=0;oe0)for(U=0;U=0?U?"+":"":"-")+Math.pow(10,Math.max(0,A-Z.length)).toString().substr(1)+Z}var Ae=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ct={},ht={};function nt(k,A,U,Z){var oe=Z;"string"==typeof Z&&(oe=function(){return this[Z]()}),k&&(ht[k]=oe),A&&(ht[A[0]]=function(){return Pe(oe.apply(this,arguments),A[1],A[2])}),U&&(ht[U]=function(){return this.localeData().ordinal(oe.apply(this,arguments),k)})}function mn(k){return k.match(/\[[\s\S]/)?k.replace(/^\[|\]$/g,""):k.replace(/\\/g,"")}function It(k,A){return k.isValid()?(A=zt(A,k.localeData()),ct[A]=ct[A]||function In(k){var U,Z,A=k.match(Ae);for(U=0,Z=A.length;U=0&&Ie.test(k);)k=k.replace(Ie,Z),Ie.lastIndex=0,U-=1;return k}var qn=/\d/,Bn=/\d\d/,ma=/\d{3}/,Bi=/\d{4}/,kr=/[+-]?\d{6}/,Wt=/\d\d?/,Rn=/\d\d\d\d?/,gn=/\d\d\d\d\d\d?/,qe=/\d{1,3}/,Sc=/\d{1,4}/,Al=/[+-]?\d{1,6}/,Yv=/\d+/,Il=/[+-]?\d+/,Dc=/Z|[+-]\d\d:?\d\d/gi,Rl=/Z|[+-]\d\d(?::?\d\d)?/gi,Bs=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Tc={};function it(k,A,U){Tc[k]=Re(A)?A:function(Z,oe){return Z&&U?U:A}}function Dn(k,A){return x(Tc,k)?Tc[k](A._strict,A._locale):new RegExp(function Bv(k){return Do(k.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(A,U,Z,oe,Oe){return U||Z||oe||Oe}))}(k))}function Do(k){return k.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Vs={};function _n(k,A){var U,Z=A;for("string"==typeof k&&(k=[k]),h(A)&&(Z=function(Oe,Be){Be[A]=te(Oe)}),U=0;U68?1900:2e3)};var Qn,Nl=to("FullYear",!0);function to(k,A){return function(U){return null!=U?(Yl(this,k,U),M.updateOffset(this,A),this):ln(this,k)}}function ln(k,A){return k.isValid()?k._d["get"+(k._isUTC?"UTC":"")+A]():NaN}function Yl(k,A,U){k.isValid()&&!isNaN(U)&&("FullYear"===A&&Fl(k.year())&&1===k.month()&&29===k.date()?k._d["set"+(k._isUTC?"UTC":"")+A](U,k.month(),Lc(U,k.month())):k._d["set"+(k._isUTC?"UTC":"")+A](U))}function Lc(k,A){if(isNaN(k)||isNaN(A))return NaN;var U=function Nt(k,A){return(k%A+A)%A}(A,12);return k+=(A-U)/12,1===U?Fl(k)?29:28:31-U%7%2}Qn=Array.prototype.indexOf?Array.prototype.indexOf:function(A){var U;for(U=0;U=0&&isFinite(Lt.getFullYear())&&Lt.setFullYear(k),Lt}function Hl(k){var A=new Date(Date.UTC.apply(null,arguments));return k<100&&k>=0&&isFinite(A.getUTCFullYear())&&A.setUTCFullYear(k),A}function Bl(k,A,U){var Z=7+A-U;return-(7+Hl(k,0,Z).getUTCDay()-A)%7+Z-1}function Gv(k,A,U,Z,oe){var tn,ar,Lt=1+7*(A-1)+(7+U-Z)%7+Bl(k,Z,oe);return Lt<=0?ar=js(tn=k-1)+Lt:Lt>js(k)?(tn=k+1,ar=Lt-js(k)):(tn=k,ar=Lt),{year:tn,dayOfYear:ar}}function zs(k,A,U){var Oe,Be,Z=Bl(k.year(),A,U),oe=Math.floor((k.dayOfYear()-Z-1)/7)+1;return oe<1?Oe=oe+ls(Be=k.year()-1,A,U):oe>ls(k.year(),A,U)?(Oe=oe-ls(k.year(),A,U),Be=k.year()+1):(Be=k.year(),Oe=oe),{week:Oe,year:Be}}function ls(k,A,U){var Z=Bl(k,A,U),oe=Bl(k+1,A,U);return(js(k)-Z+oe)/7}nt("w",["ww",2],"wo","week"),nt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),ge("week",5),ge("isoWeek",5),it("w",Wt),it("ww",Wt,Bn),it("W",Wt),it("WW",Wt,Bn),To(["w","ww","W","WW"],function(k,A,U,Z){A[Z.substr(0,1)]=te(k)});nt("d",0,"do","day"),nt("dd",0,0,function(k){return this.localeData().weekdaysMin(this,k)}),nt("ddd",0,0,function(k){return this.localeData().weekdaysShort(this,k)}),nt("dddd",0,0,function(k){return this.localeData().weekdays(this,k)}),nt("e",0,0,"weekday"),nt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),ge("day",11),ge("weekday",11),ge("isoWeekday",11),it("d",Wt),it("e",Wt),it("E",Wt),it("dd",function(k,A){return A.weekdaysMinRegex(k)}),it("ddd",function(k,A){return A.weekdaysShortRegex(k)}),it("dddd",function(k,A){return A.weekdaysRegex(k)}),To(["dd","ddd","dddd"],function(k,A,U,Z){var oe=U._locale.weekdaysParse(k,Z,U._strict);null!=oe?A.d=oe:N(U).invalidWeekday=k}),To(["d","e","E"],function(k,A,U,Z){A[Z]=te(k)});var Pc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var If="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Rf="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function xc(k,A,U){var Z,oe,Oe,Be=k.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Z=0;Z<7;++Z)Oe=y([2e3,1]).day(Z),this._minWeekdaysParse[Z]=this.weekdaysMin(Oe,"").toLocaleLowerCase(),this._shortWeekdaysParse[Z]=this.weekdaysShort(Oe,"").toLocaleLowerCase(),this._weekdaysParse[Z]=this.weekdays(Oe,"").toLocaleLowerCase();return U?"dddd"===A?-1!==(oe=Qn.call(this._weekdaysParse,Be))?oe:null:"ddd"===A?-1!==(oe=Qn.call(this._shortWeekdaysParse,Be))?oe:null:-1!==(oe=Qn.call(this._minWeekdaysParse,Be))?oe:null:"dddd"===A?-1!==(oe=Qn.call(this._weekdaysParse,Be))||-1!==(oe=Qn.call(this._shortWeekdaysParse,Be))||-1!==(oe=Qn.call(this._minWeekdaysParse,Be))?oe:null:"ddd"===A?-1!==(oe=Qn.call(this._shortWeekdaysParse,Be))||-1!==(oe=Qn.call(this._weekdaysParse,Be))||-1!==(oe=Qn.call(this._minWeekdaysParse,Be))?oe:null:-1!==(oe=Qn.call(this._minWeekdaysParse,Be))||-1!==(oe=Qn.call(this._weekdaysParse,Be))||-1!==(oe=Qn.call(this._shortWeekdaysParse,Be))?oe:null}var Zv=Bs;var Nf=Bs;var ro=Bs;function Yf(){function k(Nr,Zs){return Zs.length-Nr.length}var Oe,Be,Lt,tn,ar,A=[],U=[],Z=[],oe=[];for(Oe=0;Oe<7;Oe++)Be=y([2e3,1]).day(Oe),Lt=this.weekdaysMin(Be,""),tn=this.weekdaysShort(Be,""),ar=this.weekdays(Be,""),A.push(Lt),U.push(tn),Z.push(ar),oe.push(Lt),oe.push(tn),oe.push(ar);for(A.sort(k),U.sort(k),Z.sort(k),oe.sort(k),Oe=0;Oe<7;Oe++)U[Oe]=Do(U[Oe]),Z[Oe]=Do(Z[Oe]),oe[Oe]=Do(oe[Oe]);this._weekdaysRegex=new RegExp("^("+oe.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Z.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+U.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+A.join("|")+")","i")}function Hf(){return this.hours()%12||12}function Bf(k,A){nt(k,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),A)})}function Vf(k,A){return A._meridiemParse}nt("H",["HH",2],0,"hour"),nt("h",["hh",2],0,Hf),nt("k",["kk",2],0,function ea(){return this.hours()||24}),nt("hmm",0,0,function(){return""+Hf.apply(this)+Pe(this.minutes(),2)}),nt("hmmss",0,0,function(){return""+Hf.apply(this)+Pe(this.minutes(),2)+Pe(this.seconds(),2)}),nt("Hmm",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)}),nt("Hmmss",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)+Pe(this.seconds(),2)}),Bf("a",!0),Bf("A",!1),de("hour","h"),ge("hour",13),it("a",Vf),it("A",Vf),it("H",Wt),it("h",Wt),it("k",Wt),it("HH",Wt,Bn),it("hh",Wt,Bn),it("kk",Wt,Bn),it("hmm",Rn),it("hmmss",gn),it("Hmm",Rn),it("Hmmss",gn),_n(["H","HH"],3),_n(["k","kk"],function(k,A,U){var Z=te(k);A[3]=24===Z?0:Z}),_n(["a","A"],function(k,A,U){U._isPm=U._locale.isPM(k),U._meridiem=k}),_n(["h","hh"],function(k,A,U){A[3]=te(k),N(U).bigHour=!0}),_n("hmm",function(k,A,U){var Z=k.length-2;A[3]=te(k.substr(0,Z)),A[4]=te(k.substr(Z)),N(U).bigHour=!0}),_n("hmmss",function(k,A,U){var Z=k.length-4,oe=k.length-2;A[3]=te(k.substr(0,Z)),A[4]=te(k.substr(Z,2)),A[5]=te(k.substr(oe)),N(U).bigHour=!0}),_n("Hmm",function(k,A,U){var Z=k.length-2;A[3]=te(k.substr(0,Z)),A[4]=te(k.substr(Z))}),_n("Hmmss",function(k,A,U){var Z=k.length-4,oe=k.length-2;A[3]=te(k.substr(0,Z)),A[4]=te(k.substr(Z,2)),A[5]=te(k.substr(oe))});var io,_k=to("Hours",!0),Jv={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ec,monthsShort:qr,week:{dow:0,doy:6},weekdays:Pc,weekdaysMin:Rf,weekdaysShort:If,meridiemParse:/[ap]\.?m?\.?/i},Vn={},cn={};function jl(k){return k&&k.toLowerCase().replace("_","-")}function Ws(k){var A=null;if(!Vn[k]&&ve&&ve.exports)try{A=io._abbr,H(6700)("./"+k),fi(A)}catch(Z){}return Vn[k]}function fi(k,A){var U;return k&&((U=_(A)?We(k):Lo(k,A))?io=U:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+k+" not found. Did you forget to load it?")),io._abbr}function Lo(k,A){if(null!==A){var U,Z=Jv;if(A.abbr=k,null!=Vn[k])xe("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),Z=Vn[k]._config;else if(null!=A.parentLocale)if(null!=Vn[A.parentLocale])Z=Vn[A.parentLocale]._config;else{if(null==(U=Ws(A.parentLocale)))return cn[A.parentLocale]||(cn[A.parentLocale]=[]),cn[A.parentLocale].push({name:k,config:A}),null;Z=U._config}return Vn[k]=new Xe(Ge(Z,A)),cn[k]&&cn[k].forEach(function(oe){Lo(oe.name,oe.config)}),fi(k),Vn[k]}return delete Vn[k],null}function We(k){var A;if(k&&k._locale&&k._locale._abbr&&(k=k._locale._abbr),!k)return io;if(!p(k)){if(A=Ws(k))return A;k=[k]}return function Ac(k){for(var U,Z,oe,Oe,A=0;A0;){if(oe=Ws(Oe.slice(0,U).join("-")))return oe;if(Z&&Z.length>=U&&ae(Oe,Z,!0)>=U-1)break;U--}A++}return io}(k)}function Ul(k){var A,U=k._a;return U&&-2===N(k).overflow&&(A=U[1]<0||U[1]>11?1:U[2]<1||U[2]>Lc(U[0],U[1])?2:U[3]<0||U[3]>24||24===U[3]&&(0!==U[4]||0!==U[5]||0!==U[6])?3:U[4]<0||U[4]>59?4:U[5]<0||U[5]>59?5:U[6]<0||U[6]>999?6:-1,N(k)._overflowDayOfYear&&(A<0||A>2)&&(A=2),N(k)._overflowWeeks&&-1===A&&(A=7),N(k)._overflowWeekday&&-1===A&&(A=8),N(k).overflow=A),k}function Eo(k,A,U){return null!=k?k:null!=A?A:U}function Tt(k){var A,U,oe,Oe,Be,Z=[];if(!k._d){for(oe=function jf(k){var A=new Date(M.now());return k._useUTC?[A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()]:[A.getFullYear(),A.getMonth(),A.getDate()]}(k),k._w&&null==k._a[2]&&null==k._a[1]&&function em(k){var A,U,Z,oe,Oe,Be,Lt,tn;if(null!=(A=k._w).GG||null!=A.W||null!=A.E)Oe=1,Be=4,U=Eo(A.GG,k._a[0],zs(Sn(),1,4).year),Z=Eo(A.W,1),((oe=Eo(A.E,1))<1||oe>7)&&(tn=!0);else{Oe=k._locale._week.dow,Be=k._locale._week.doy;var ar=zs(Sn(),Oe,Be);U=Eo(A.gg,k._a[0],ar.year),Z=Eo(A.w,ar.week),null!=A.d?((oe=A.d)<0||oe>6)&&(tn=!0):null!=A.e?(oe=A.e+Oe,(A.e<0||A.e>6)&&(tn=!0)):oe=Oe}Z<1||Z>ls(U,Oe,Be)?N(k)._overflowWeeks=!0:null!=tn?N(k)._overflowWeekday=!0:(Lt=Gv(U,Z,oe,Oe,Be),k._a[0]=Lt.year,k._dayOfYear=Lt.dayOfYear)}(k),null!=k._dayOfYear&&(Be=Eo(k._a[0],oe[0]),(k._dayOfYear>js(Be)||0===k._dayOfYear)&&(N(k)._overflowDayOfYear=!0),U=Hl(Be,0,k._dayOfYear),k._a[1]=U.getUTCMonth(),k._a[2]=U.getUTCDate()),A=0;A<3&&null==k._a[A];++A)k._a[A]=Z[A]=oe[A];for(;A<7;A++)k._a[A]=Z[A]=null==k._a[A]?2===A?1:0:k._a[A];24===k._a[3]&&0===k._a[4]&&0===k._a[5]&&0===k._a[6]&&(k._nextDay=!0,k._a[3]=0),k._d=(k._useUTC?Hl:fk).apply(null,Z),Oe=k._useUTC?k._d.getUTCDay():k._d.getDay(),null!=k._tzm&&k._d.setUTCMinutes(k._d.getUTCMinutes()-k._tzm),k._nextDay&&(k._a[3]=24),k._w&&void 0!==k._w.d&&k._w.d!==Oe&&(N(k).weekdayMismatch=!0)}}var Uf=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,et=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Kr=/Z|[+-]\d\d(?::?\d\d)?/,Mr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],_a=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Po=/^\/?Date\((\-?\d+)/i;function Si(k){var A,U,Oe,Be,Lt,tn,Z=k._i,oe=Uf.exec(Z)||et.exec(Z);if(oe){for(N(k).iso=!0,A=0,U=Mr.length;A0&&N(k).unusedInput.push(Be),A=A.slice(A.indexOf(Z)+Z.length),tn+=Z.length),ht[Oe]?(Z?N(k).empty=!1:N(k).unusedTokens.push(Oe),Mi(Oe,Z,k)):k._strict&&!Z&&N(k).unusedTokens.push(Oe);N(k).charsLeftOver=Lt-tn,A.length>0&&N(k).unusedInput.push(A),k._a[3]<=12&&!0===N(k).bigHour&&k._a[3]>0&&(N(k).bigHour=void 0),N(k).parsedDateParts=k._a.slice(0),N(k).meridiem=k._meridiem,k._a[3]=function jn(k,A,U){var Z;return null==U?A:null!=k.meridiemHour?k.meridiemHour(A,U):(null!=k.isPM&&((Z=k.isPM(U))&&A<12&&(A+=12),!Z&&12===A&&(A=0)),A)}(k._locale,k._a[3],k._meridiem),Tt(k),Ul(k)}else Di(k);else Si(k)}function ao(k){var A=k._i,U=k._f;return k._locale=k._locale||We(k._l),null===A||void 0===U&&""===A?ie({nullInput:!0}):("string"==typeof A&&(k._i=A=k._locale.preparse(A)),ee(A)?new ue(Ul(A)):(T(A)?k._d=A:p(U)?function Ti(k){var A,U,Z,oe,Oe;if(0===k._f.length)return N(k).invalidFormat=!0,void(k._d=new Date(NaN));for(oe=0;oethis?this:k:ie()});function Ao(k,A){var U,Z;if(1===A.length&&p(A[0])&&(A=A[0]),!A.length)return Sn();for(U=A[0],Z=1;Z(Oe=ls(k,Z,oe))&&(A=Oe),Kc.call(this,k,A,U,Z,oe))}function Kc(k,A,U,Z,oe){var Oe=Gv(k,A,U,Z,oe),Be=Hl(Oe.year,0,Oe.dayOfYear);return this.year(Be.getUTCFullYear()),this.month(Be.getUTCMonth()),this.date(Be.getUTCDate()),this}nt(0,["gg",2],0,function(){return this.weekYear()%100}),nt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$r("gggg","weekYear"),$r("ggggg","weekYear"),$r("GGGG","isoWeekYear"),$r("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),ge("weekYear",1),ge("isoWeekYear",1),it("G",Il),it("g",Il),it("GG",Wt,Bn),it("gg",Wt,Bn),it("GGGG",Sc,Bi),it("gggg",Sc,Bi),it("GGGGG",Al,kr),it("ggggg",Al,kr),To(["gggg","ggggg","GGGG","GGGGG"],function(k,A,U,Z){A[Z.substr(0,2)]=te(k)}),To(["gg","GG"],function(k,A,U,Z){A[Z]=M.parseTwoDigitYear(k)}),nt("Q",0,"Qo","quarter"),de("quarter","Q"),ge("quarter",7),it("Q",qn),_n("Q",function(k,A){A[1]=3*(te(k)-1)}),nt("D",["DD",2],"Do","date"),de("date","D"),ge("date",9),it("D",Wt),it("DD",Wt,Bn),it("Do",function(k,A){return k?A._dayOfMonthOrdinalParse||A._ordinalParse:A._dayOfMonthOrdinalParseLenient}),_n(["D","DD"],2),_n("Do",function(k,A){A[2]=te(k.match(Wt)[0])});var ym=to("Date",!0);nt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),ge("dayOfYear",4),it("DDD",qe),it("DDDD",ma),_n(["DDD","DDDD"],function(k,A,U){U._dayOfYear=te(k)}),nt("m",["mm",2],0,"minute"),de("minute","m"),ge("minute",14),it("m",Wt),it("mm",Wt,Bn),_n(["m","mm"],4);var km=to("Minutes",!1);nt("s",["ss",2],0,"second"),de("second","s"),ge("second",15),it("s",Wt),it("ss",Wt,Bn),_n(["s","ss"],5);var Fa,Mm=to("Seconds",!1);for(nt("S",0,0,function(){return~~(this.millisecond()/100)}),nt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),nt(0,["SSS",3],0,"millisecond"),nt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),nt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),nt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),nt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),nt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),nt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),ge("millisecond",16),it("S",qe,qn),it("SS",qe,Bn),it("SSS",qe,ma),Fa="SSSS";Fa.length<=9;Fa+="S")it(Fa,Yv);function Cm(k,A){A[6]=te(1e3*("0."+k))}for(Fa="S";Fa.length<=9;Fa+="S")_n(Fa,Cm);var wm=to("Milliseconds",!1);nt("z",0,0,"zoneAbbr"),nt("zz",0,0,"zoneName");var ke=ue.prototype;function ms(k){return k}ke.add=Bc,ke.calendar=function xk(k,A){var U=k||Sn(),Z=hs(U,this).startOf("day"),oe=M.calendarFormat(this,Z)||"sameElse",Oe=A&&(Re(A[oe])?A[oe].call(this,U):A[oe]);return this.format(Oe||this.localeData().calendar(oe,this,Sn(U)))},ke.clone=function Io(){return new ue(this)},ke.diff=function Gf(k,A,U){var Z,oe,Oe;if(!this.isValid())return NaN;if(!(Z=hs(k,this)).isValid())return NaN;switch(oe=6e4*(Z.utcOffset()-this.utcOffset()),A=he(A)){case"year":Oe=Vc(this,Z)/12;break;case"month":Oe=Vc(this,Z);break;case"quarter":Oe=Vc(this,Z)/3;break;case"second":Oe=(this-Z)/1e3;break;case"minute":Oe=(this-Z)/6e4;break;case"hour":Oe=(this-Z)/36e5;break;case"day":Oe=(this-Z-oe)/864e5;break;case"week":Oe=(this-Z-oe)/6048e5;break;default:Oe=this-Z}return U?Oe:Q(Oe)},ke.endOf=function Jn(k){return void 0===(k=he(k))||"millisecond"===k?this:("date"===k&&(k="day"),this.startOf(k).add(1,"isoWeek"===k?"week":k).subtract(1,"ms"))},ke.format=function Uc(k){k||(k=this.isUtc()?M.defaultFormatUtc:M.defaultFormat);var A=It(this,k);return this.localeData().postformat(A)},ke.from=function fm(k,A){return this.isValid()&&(ee(k)&&k.isValid()||Sn(k).isValid())?ya({to:this,from:k}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},ke.fromNow=function zc(k){return this.from(Sn(),k)},ke.to=function hm(k,A){return this.isValid()&&(ee(k)&&k.isValid()||Sn(k).isValid())?ya({from:this,to:k}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},ke.toNow=function pm(k){return this.to(Sn(),k)},ke.get=function jv(k){return Re(this[k=he(k)])?this[k]():this},ke.invalidAt=function Wc(){return N(this).overflow},ke.isAfter=function lm(k,A){var U=ee(k)?k:Sn(k);return!(!this.isValid()||!U.isValid())&&("millisecond"===(A=he(_(A)?"millisecond":A))?this.valueOf()>U.valueOf():U.valueOf()9999?It(U,A?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Re(Date.prototype.toISOString)?A?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",It(U,"Z")):It(U,A?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ke.inspect=function Ui(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var k="moment",A="";this.isLocal()||(k=0===this.utcOffset()?"moment.utc":"moment.parseZone",A="Z");var U="["+k+'("]',Z=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(U+Z+"-MM-DD[T]HH:mm:ss.SSS"+A+'[")]')},ke.toJSON=function $l(){return this.isValid()?this.toISOString():null},ke.toString=function jc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ke.unix=function vm(){return Math.floor(this.valueOf()/1e3)},ke.valueOf=function Kf(){return this._d.valueOf()-6e4*(this._offset||0)},ke.creationData=function vs(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ke.year=Nl,ke.isLeapYear=function Tn(){return Fl(this.year())},ke.weekYear=function Zf(k){return qc.call(this,k,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ke.isoWeekYear=function Gc(k){return qc.call(this,k,this.isoWeek(),this.isoWeekday(),1,4)},ke.quarter=ke.quarters=function wt(k){return null==k?Math.ceil((this.month()+1)/3):this.month(3*(k-1)+this.month()%3)},ke.month=di,ke.daysInMonth=function uk(){return Lc(this.year(),this.month())},ke.week=ke.weeks=function vk(k){var A=this.localeData().week(this);return null==k?A:this.add(7*(k-A),"d")},ke.isoWeek=ke.isoWeeks=function Ue(k){var A=zs(this,1,4).week;return null==k?A:this.add(7*(k-A),"d")},ke.weeksInYear=function oo(){var k=this.localeData()._week;return ls(this.year(),k.dow,k.doy)},ke.isoWeeksInYear=function _m(){return ls(this.year(),1,4)},ke.date=ym,ke.day=ke.days=function Kv(k){if(!this.isValid())return null!=k?this:NaN;var A=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=k?(k=function mk(k,A){return"string"!=typeof k?k:isNaN(k)?"number"==typeof(k=A.weekdaysParse(k))?k:null:parseInt(k,10)}(k,this.localeData()),this.add(k-A,"d")):A},ke.weekday=function Ct(k){if(!this.isValid())return null!=k?this:NaN;var A=(this.day()+7-this.localeData()._week.dow)%7;return null==k?A:this.add(k-A,"d")},ke.isoWeekday=function Oc(k){if(!this.isValid())return null!=k?this:NaN;if(null!=k){var A=function Pt(k,A){return"string"==typeof k?A.weekdaysParse(k)%7||7:isNaN(k)?null:k}(k,this.localeData());return this.day(this.day()%7?A:A-7)}return this.day()||7},ke.dayOfYear=function bm(k){var A=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==k?A:this.add(k-A,"d")},ke.hour=ke.hours=_k,ke.minute=ke.minutes=km,ke.second=ke.seconds=Mm,ke.millisecond=ke.milliseconds=wm,ke.utcOffset=function nm(k,A,U){var oe,Z=this._offset||0;if(!this.isValid())return null!=k?this:NaN;if(null!=k){if("string"==typeof k){if(null===(k=fs(Rl,k)))return this}else Math.abs(k)<16&&!U&&(k*=60);return!this._isUTC&&A&&(oe=Li(this)),this._offset=k,this._isUTC=!0,null!=oe&&this.add(oe,"m"),Z!==k&&(!A||this._changeInProgress?Hc(this,ya(k-Z,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?Z:Li(this)},ke.utc=function rm(k){return this.utcOffset(0,k)},ke.local=function im(k){return this._isUTC&&(this.utcOffset(0,k),this._isUTC=!1,k&&this.subtract(Li(this),"m")),this},ke.parseZone=function bk(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var k=fs(Dc,this._i);null!=k?this.utcOffset(k):this.utcOffset(0,!0)}return this},ke.hasAlignedHourOffset=function kk(k){return!!this.isValid()&&(k=k?Sn(k).utcOffset():0,(this.utcOffset()-k)%60==0)},ke.isDST=function Mk(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ke.isLocal=function wk(){return!!this.isValid()&&!this._isUTC},ke.isUtcOffset=function Sk(){return!!this.isValid()&&this._isUTC},ke.isUtc=am,ke.isUTC=am,ke.zoneAbbr=function je(){return this._isUTC?"UTC":""},ke.zoneName=function en(){return this._isUTC?"Coordinated Universal Time":""},ke.dates=X("dates accessor is deprecated. Use date instead.",ym),ke.months=X("months accessor is deprecated. Use month instead",di),ke.years=X("years accessor is deprecated. Use year instead",Nl),ke.zone=X("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function yk(k,A){return null!=k?("string"!=typeof k&&(k=-k),this.utcOffset(k,A),this):-this.utcOffset()}),ke.isDSTShifted=X("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ck(){if(!_(this._isDSTShifted))return this._isDSTShifted;var k={};if(ne(k,this),(k=ao(k))._a){var A=k._isUTC?y(k._a):Sn(k._a);this._isDSTShifted=this.isValid()&&ae(k._a,A.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var $t=Xe.prototype;function gs(k,A,U,Z){var oe=We(),Oe=y().set(Z,A);return oe[U](Oe,k)}function Ql(k,A,U){if(h(k)&&(A=k,k=void 0),k=k||"",null!=A)return gs(k,A,U,"month");var Z,oe=[];for(Z=0;Z<12;Z++)oe[Z]=gs(k,Z,U,"month");return oe}function Qf(k,A,U,Z){"boolean"==typeof k?(h(A)&&(U=A,A=void 0),A=A||""):(U=A=k,k=!1,h(A)&&(U=A,A=void 0),A=A||"");var oe=We(),Oe=k?oe._week.dow:0;if(null!=U)return gs(A,(U+Oe)%7,Z,"day");var Be,Lt=[];for(Be=0;Be<7;Be++)Lt[Be]=gs(A,(Be+Oe)%7,Z,"day");return Lt}$t.calendar=function Ft(k,A,U){var Z=this._calendar[k]||this._calendar.sameElse;return Re(Z)?Z.call(A,U):Z},$t.longDateFormat=function sn(k){var A=this._longDateFormat[k],U=this._longDateFormat[k.toUpperCase()];return A||!U?A:(this._longDateFormat[k]=U.replace(/MMMM|MM|DD|dddd/g,function(Z){return Z.slice(1)}),this._longDateFormat[k])},$t.invalidDate=function Ve(){return this._invalidDate},$t.ordinal=function Tr(k){return this._ordinal.replace("%d",k)},$t.preparse=ms,$t.postformat=ms,$t.relativeTime=function j(k,A,U,Z){var oe=this._relativeTime[U];return Re(oe)?oe(k,A,U,Z):oe.replace(/%d/i,k)},$t.pastFuture=function re(k,A){var U=this._relativeTime[k>0?"future":"past"];return Re(U)?U(A):U.replace(/%s/i,A)},$t.set=function He(k){var A,U;for(U in k)Re(A=k[U])?this[U]=A:this["_"+U]=A;this._config=k,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},$t.months=function Dt(k,A){return k?p(this._months)?this._months[k.month()]:this._months[(this._months.isFormat||dt).test(A)?"format":"standalone"][k.month()]:p(this._months)?this._months:this._months.standalone},$t.monthsShort=function Uv(k,A){return k?p(this._monthsShort)?this._monthsShort[k.month()]:this._monthsShort[dt.test(A)?"format":"standalone"][k.month()]:p(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},$t.monthsParse=function lk(k,A,U){var Z,oe,Oe;if(this._monthsParseExact)return sk.call(this,k,A,U);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Z=0;Z<12;Z++){if(oe=y([2e3,Z]),U&&!this._longMonthsParse[Z]&&(this._longMonthsParse[Z]=new RegExp("^"+this.months(oe,"").replace(".","")+"$","i"),this._shortMonthsParse[Z]=new RegExp("^"+this.monthsShort(oe,"").replace(".","")+"$","i")),!U&&!this._monthsParse[Z]&&(Oe="^"+this.months(oe,"")+"|^"+this.monthsShort(oe,""),this._monthsParse[Z]=new RegExp(Oe.replace(".",""),"i")),U&&"MMMM"===A&&this._longMonthsParse[Z].test(k))return Z;if(U&&"MMM"===A&&this._shortMonthsParse[Z].test(k))return Z;if(!U&&this._monthsParse[Z].test(k))return Z}},$t.monthsRegex=function dk(k){return this._monthsParseExact?(x(this,"_monthsRegex")||Wv.call(this),k?this._monthsStrictRegex:this._monthsRegex):(x(this,"_monthsRegex")||(this._monthsRegex=Ia),this._monthsStrictRegex&&k?this._monthsStrictRegex:this._monthsRegex)},$t.monthsShortRegex=function ck(k){return this._monthsParseExact?(x(this,"_monthsRegex")||Wv.call(this),k?this._monthsShortStrictRegex:this._monthsShortRegex):(x(this,"_monthsShortRegex")||(this._monthsShortRegex=zv),this._monthsShortStrictRegex&&k?this._monthsShortStrictRegex:this._monthsShortRegex)},$t.week=function wi(k){return zs(k,this._week.dow,this._week.doy).week},$t.firstDayOfYear=function pk(){return this._week.doy},$t.firstDayOfWeek=function hk(){return this._week.dow},$t.weekdays=function Af(k,A){return k?p(this._weekdays)?this._weekdays[k.day()]:this._weekdays[this._weekdays.isFormat.test(A)?"format":"standalone"][k.day()]:p(this._weekdays)?this._weekdays:this._weekdays.standalone},$t.weekdaysMin=function Vl(k){return k?this._weekdaysMin[k.day()]:this._weekdaysMin},$t.weekdaysShort=function qv(k){return k?this._weekdaysShort[k.day()]:this._weekdaysShort},$t.weekdaysParse=function Ff(k,A,U){var Z,oe,Oe;if(this._weekdaysParseExact)return xc.call(this,k,A,U);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Z=0;Z<7;Z++){if(oe=y([2e3,1]).day(Z),U&&!this._fullWeekdaysParse[Z]&&(this._fullWeekdaysParse[Z]=new RegExp("^"+this.weekdays(oe,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Z]=new RegExp("^"+this.weekdaysShort(oe,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Z]=new RegExp("^"+this.weekdaysMin(oe,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Z]||(Oe="^"+this.weekdays(oe,"")+"|^"+this.weekdaysShort(oe,"")+"|^"+this.weekdaysMin(oe,""),this._weekdaysParse[Z]=new RegExp(Oe.replace(".",""),"i")),U&&"dddd"===A&&this._fullWeekdaysParse[Z].test(k))return Z;if(U&&"ddd"===A&&this._shortWeekdaysParse[Z].test(k))return Z;if(U&&"dd"===A&&this._minWeekdaysParse[Z].test(k))return Z;if(!U&&this._weekdaysParse[Z].test(k))return Z}},$t.weekdaysRegex=function no(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Yf.call(this),k?this._weekdaysStrictRegex:this._weekdaysRegex):(x(this,"_weekdaysRegex")||(this._weekdaysRegex=Zv),this._weekdaysStrictRegex&&k?this._weekdaysStrictRegex:this._weekdaysRegex)},$t.weekdaysShortRegex=function gk(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Yf.call(this),k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(x(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nf),this._weekdaysShortStrictRegex&&k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},$t.weekdaysMinRegex=function Xi(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Yf.call(this),k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(x(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ro),this._weekdaysMinStrictRegex&&k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},$t.isPM=function $v(k){return"p"===(k+"").toLowerCase().charAt(0)},$t.meridiem=function wn(k,A,U){return k>11?U?"pm":"PM":U?"am":"AM"},fi("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(A){var U=A%10;return A+(1===te(A%100/10)?"th":1===U?"st":2===U?"nd":3===U?"rd":"th")}}),M.lang=X("moment.lang is deprecated. Use moment.locale instead.",fi),M.langData=X("moment.langData is deprecated. Use moment.localeData instead.",We);var ba=Math.abs;function ka(k,A,U,Z){var oe=ya(A,U);return k._milliseconds+=Z*oe._milliseconds,k._days+=Z*oe._days,k._months+=Z*oe._months,k._bubble()}function Xf(k){return k<0?Math.floor(k):Math.ceil(k)}function eu(k){return 4800*k/146097}function qs(k){return 146097*k/4800}function so(k){return function(){return this.as(k)}}var th=so("ms"),tu=so("s"),nh=so("m"),rh=so("h"),ih=so("d"),ah=so("w"),nu=so("M"),Lm=so("y");function pi(k){return function(){return this.isValid()?this._data[k]:NaN}}var Xn=pi("milliseconds"),ys=pi("seconds"),Pm=pi("minutes"),oh=pi("hours"),xm=pi("days"),Om=pi("months"),Am=pi("years");var na=Math.round,Ei={ss:44,s:45,m:45,h:22,d:26,M:11};function $c(k,A,U,Z,oe){return oe.relativeTime(A||1,!!U,k,Z)}var Qc=Math.abs;function bs(k){return(k>0)-(k<0)||+k}function uo(){if(!this.isValid())return this.localeData().invalidDate();var Z,oe,k=Qc(this._milliseconds)/1e3,A=Qc(this._days),U=Qc(this._months);Z=Q(k/60),oe=Q(Z/60),k%=60,Z%=60;var Be=Q(U/12),Lt=U%=12,tn=A,ar=oe,Nr=Z,Zs=k?k.toFixed(3).replace(/\.?0+$/,""):"",Ma=this.asSeconds();if(!Ma)return"P0D";var Jc=Ma<0?"-":"",$s=bs(this._months)!==bs(Ma)?"-":"",Rm=bs(this._days)!==bs(Ma)?"-":"",iu=bs(this._milliseconds)!==bs(Ma)?"-":"";return Jc+"P"+(Be?$s+Be+"Y":"")+(Lt?$s+Lt+"M":"")+(tn?Rm+tn+"D":"")+(ar||Nr||Zs?"T":"")+(ar?iu+ar+"H":"")+(Nr?iu+Nr+"M":"")+(Zs?iu+Zs+"S":"")}var Qt=ql.prototype;return Qt.isValid=function ta(){return this._isValid},Qt.abs=function _s(){var k=this._data;return this._milliseconds=ba(this._milliseconds),this._days=ba(this._days),this._months=ba(this._months),k.milliseconds=ba(k.milliseconds),k.seconds=ba(k.seconds),k.minutes=ba(k.minutes),k.hours=ba(k.hours),k.months=ba(k.months),k.years=ba(k.years),this},Qt.add=function Dm(k,A){return ka(this,k,A,1)},Qt.subtract=function Jf(k,A){return ka(this,k,A,-1)},Qt.as=function eh(k){if(!this.isValid())return NaN;var A,U,Z=this._milliseconds;if("month"===(k=he(k))||"year"===k)return U=this._months+eu(A=this._days+Z/864e5),"month"===k?U:U/12;switch(A=this._days+Math.round(qs(this._months)),k){case"week":return A/7+Z/6048e5;case"day":return A+Z/864e5;case"hour":return 24*A+Z/36e5;case"minute":return 1440*A+Z/6e4;case"second":return 86400*A+Z/1e3;case"millisecond":return Math.floor(864e5*A)+Z;default:throw new Error("Unknown unit "+k)}},Qt.asMilliseconds=th,Qt.asSeconds=tu,Qt.asMinutes=nh,Qt.asHours=rh,Qt.asDays=ih,Qt.asWeeks=ah,Qt.asMonths=nu,Qt.asYears=Lm,Qt.valueOf=function Zc(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*te(this._months/12):NaN},Qt._bubble=function Tm(){var oe,Oe,Be,Lt,tn,k=this._milliseconds,A=this._days,U=this._months,Z=this._data;return k>=0&&A>=0&&U>=0||k<=0&&A<=0&&U<=0||(k+=864e5*Xf(qs(U)+A),A=0,U=0),Z.milliseconds=k%1e3,oe=Q(k/1e3),Z.seconds=oe%60,Oe=Q(oe/60),Z.minutes=Oe%60,Be=Q(Oe/60),Z.hours=Be%24,A+=Q(Be/24),U+=tn=Q(eu(A)),A-=Xf(qs(tn)),Lt=Q(U/12),U%=12,Z.days=A,Z.months=U,Z.years=Lt,this},Qt.clone=function Em(){return ya(this)},Qt.get=function ri(k){return k=he(k),this.isValid()?this[k+"s"]():NaN},Qt.milliseconds=Xn,Qt.seconds=ys,Qt.minutes=Pm,Qt.hours=oh,Qt.days=xm,Qt.weeks=function ru(){return Q(this.days()/7)},Qt.months=Om,Qt.years=Am,Qt.humanize=function Ks(k){if(!this.isValid())return this.localeData().invalidDate();var A=this.localeData(),U=function sh(k,A,U){var Z=ya(k).abs(),oe=na(Z.as("s")),Oe=na(Z.as("m")),Be=na(Z.as("h")),Lt=na(Z.as("d")),tn=na(Z.as("M")),ar=na(Z.as("y")),Nr=oe<=Ei.ss&&["s",oe]||oe0,Nr[4]=U,$c.apply(null,Nr)}(this,!k,A);return k&&(U=A.pastFuture(+this,U)),A.postformat(U)},Qt.toISOString=uo,Qt.toString=uo,Qt.toJSON=uo,Qt.locale=Kl,Qt.localeData=Zl,Qt.toIsoString=X("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),Qt.lang=qf,nt("X",0,0,"unix"),nt("x",0,0,"valueOf"),it("x",Il),it("X",/[+-]?\d+(\.\d{1,3})?/),_n("X",function(k,A,U){U._d=new Date(1e3*parseFloat(k,10))}),_n("x",function(k,A,U){U._d=new Date(te(k))}),M.version="2.22.2",function D(k){O=k}(Sn),M.fn=ke,M.min=function Fc(){return Ao("isBefore",[].slice.call(arguments,0))},M.max=function cs(){return Ao("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=y,M.unix=function Cr(k){return Sn(1e3*k)},M.months=function Sm(k,A){return Ql(k,A,"months")},M.isDate=T,M.locale=fi,M.invalid=ie,M.duration=ya,M.isMoment=ee,M.weekdays=function Xl(k,A,U){return Qf(k,A,U,"weekdays")},M.parseZone=function $f(){return Sn.apply(null,arguments).parseZone()},M.localeData=We,M.isDuration=Nc,M.monthsShort=function Jl(k,A){return Ql(k,A,"monthsShort")},M.weekdaysMin=function Na(k,A,U){return Qf(k,A,U,"weekdaysMin")},M.defineLocale=Lo,M.updateLocale=function Xv(k,A){if(null!=A){var U,Z,oe=Jv;null!=(Z=Ws(k))&&(oe=Z._config),(U=new Xe(A=Ge(oe,A))).parentLocale=Vn[k],Vn[k]=U,fi(k)}else null!=Vn[k]&&(null!=Vn[k].parentLocale?Vn[k]=Vn[k].parentLocale:null!=Vn[k]&&delete Vn[k]);return Vn[k]},M.locales=function Ic(){return Ne(Vn)},M.weekdaysShort=function ni(k,A,U){return Qf(k,A,U,"weekdaysShort")},M.normalizeUnits=he,M.relativeTimeRounding=function Im(k){return void 0===k?na:"function"==typeof k&&(na=k,!0)},M.relativeTimeThreshold=function lo(k,A){return void 0!==Ei[k]&&(void 0===A?Ei[k]:(Ei[k]=A,"s"===k&&(Ei.ss=A-1),!0))},M.calendarFormat=function Pk(k,A){var U=k.diff(A,"days",!0);return U<-6?"sameElse":U<-1?"lastWeek":U<0?"lastDay":U<1?"sameDay":U<2?"nextDay":U<7?"nextWeek":"sameElse"},M.prototype=ke,M.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},M}()},6700:function(ve,ye,H){var O={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function M(p){var d=D(p);return H(d)}function D(p){if(!H.o(O,p)){var d=new Error("Cannot find module '"+p+"'");throw d.code="MODULE_NOT_FOUND",d}return O[p]}M.keys=function(){return Object.keys(O)},M.resolve=D,ve.exports=M,M.id=6700},6297:function(ve,ye,H){var O={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function M(D){if(!H.o(O,D))return Promise.resolve().then(function(){var c=new Error("Cannot find module '"+D+"'");throw c.code="MODULE_NOT_FOUND",c});var p=O[D],d=p[0];return H.e(p[1]).then(function(){return H.t(d,19)})}M.keys=function(){return Object.keys(O)},M.id=6297,ve.exports=M}},function(ve){ve(ve.s=1122)}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js b/cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js new file mode 100644 index 0000000000..e039fadb20 --- /dev/null +++ b/cmd/skywire-visor/static/main.ed4ff7cb47a5250a.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{9249:(le,me,F)=>{"use strict";function I(t){return"function"==typeof t}let v=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else v&&console.log("RxJS: Back to a better error behavior. Thank you. <3");v=t},get useDeprecatedSynchronousErrorHandling(){return v}};function f(t){setTimeout(()=>{throw t},0)}const h={closed:!0,next(t){},error(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;f(t)},complete(){}},M=Array.isArray||(t=>t&&"number"==typeof t.length);function p(t){return null!==t&&"object"==typeof t}const w=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})();class x{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof x)e.remove(this);else if(null!==e)for(let o=0;on.concat(e instanceof w?e.errors:e),[])}x.EMPTY=((t=new x).closed=!0,t);const C="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class A extends x{constructor(n,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!n){this.destination=h;break}if("object"==typeof n){n instanceof A?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new j(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new j(this,n,e,i)}}[C](){return this}static create(n,e,i){const s=new A(n,e,i);return s.syncErrorThrowable=!1,s}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class j extends A{constructor(n,e,i,s){super(),this._parentSubscriber=n;let o,a=this;I(e)?o=e:e&&(o=e.next,i=e.error,s=e.complete,e!==h&&(a=Object.create(e),I(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=i,this._complete=s}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=u;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=n,e.syncErrorThrown=!0):f(n),this.unsubscribe();else{if(this.unsubscribe(),i)throw n;f(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const e=()=>this._complete.call(this._context);u.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(i){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw i;f(i)}}__tryOrSetError(n,e,i){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(s){return u.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=s,n.syncErrorThrown=!0,!0):(f(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const re="function"==typeof Symbol&&Symbol.observable||"@@observable";function ve(){}function Z(...t){return Q(t)}function Q(t){return t?1===t.length?t[0]:function(e){return t.reduce((i,s)=>s(i),e)}:ve}let ce=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,s){const{operator:o}=this,a=function K(t,n,e){if(t){if(t instanceof A)return t;if(t[C])return t[C]()}return t||n||e?new A(t,n,e):new A(h)}(e,i,s);if(a.add(o?o.call(a,this.source):this.source||u.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){u.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function H(t){for(;t;){const{closed:n,destination:e,isStopped:i}=t;if(n||i)return!1;t=e&&e instanceof A?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=q(i))((s,o)=>{let a;a=this.subscribe(l=>{try{e(l)}catch(c){o(c),a&&a.unsubscribe()}},o,s)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[re](){return this}pipe(...e){return 0===e.length?this:Q(e)(this)}toPromise(e){return new(e=q(e))((i,s)=>{let o;this.subscribe(a=>o=a,a=>s(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function q(t){if(t||(t=u.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const ne=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class oe extends x{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,e=n.observers;if(this.subject=null,!e||0===e.length||n.isStopped||n.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class ae extends A{constructor(n){super(n),this.destination=n}}let J=(()=>{class t extends ce{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[C](){return new ae(this)}lift(e){const i=new Te(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ne;if(!this.isStopped){const{observers:i}=this,s=i.length,o=i.slice();for(let a=0;anew Te(n,e),t})();class Te extends J{constructor(n,e){super(),this.destination=n,this.source=e}next(n){const{destination:e}=this;e&&e.next&&e.next(n)}error(n){const{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:e}=this;return e?this.source.subscribe(n):x.EMPTY}}function ke(t){return t&&"function"==typeof t.schedule}class Ae extends A{constructor(n,e,i){super(),this.parent=n,this.outerValue=e,this.outerIndex=i,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const Ne=t=>n=>{for(let e=0,i=t.length;et&&"number"==typeof t.length&&"function"!=typeof t;function Sn(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const je=t=>{if(t&&"function"==typeof t[re])return(t=>n=>{const e=t[re]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)})(t);if(Mn(t))return Ne(t);if(Sn(t))return(t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,f),n))(t);if(t&&"function"==typeof t[rt])return(t=>n=>{const e=t[rt]();for(;;){const i=e.next();if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof e.return&&n.add(()=>{e.return&&e.return()}),n})(t);{const e=`You provided ${p(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function jn(t,n,e,i,s=new Ae(t,e,i)){if(!s.closed)return n instanceof ce?n.subscribe(s):je(n)(s)}class Kn extends A{notifyNext(n,e,i,s,o){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}function Xe(t,n){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Ge(t,n))}}class Ge{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new z(n,this.project,this.thisArg))}}class z extends A{constructor(n,e,i){super(n),this.project=e,this.count=0,this.thisArg=i||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function de(t,n){return new ce(e=>{const i=new x;let s=0;return i.add(n.schedule(function(){s!==t.length?(e.next(t[s++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function ge(t,n){return n?function fe(t,n){if(null!=t){if(function _e(t){return t&&"function"==typeof t[re]}(t))return function se(t,n){return new ce(e=>{const i=new x;return i.add(n.schedule(()=>{const s=t[re]();i.add(s.subscribe({next(o){i.add(n.schedule(()=>e.next(o)))},error(o){i.add(n.schedule(()=>e.error(o)))},complete(){i.add(n.schedule(()=>e.complete()))}}))})),i})}(t,n);if(Sn(t))return function ie(t,n){return new ce(e=>{const i=new x;return i.add(n.schedule(()=>t.then(s=>{i.add(n.schedule(()=>{e.next(s),i.add(n.schedule(()=>e.complete()))}))},s=>{i.add(n.schedule(()=>e.error(s)))}))),i})}(t,n);if(Mn(t))return de(t,n);if(function be(t){return t&&"function"==typeof t[rt]}(t)||"string"==typeof t)return function ue(t,n){if(!t)throw new Error("Iterable cannot be null");return new ce(e=>{const i=new x;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(n.schedule(()=>{s=t[rt](),i.add(n.schedule(function(){if(e.closed)return;let o,a;try{const l=s.next();o=l.value,a=l.done}catch(l){return void e.error(l)}a?e.complete():(e.next(o),this.schedule())}))})),i})}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,n):t instanceof ce?t:new ce(je(t))}function we(t,n,e=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(we((s,o)=>ge(t(s,o)).pipe(Xe((a,l)=>n(s,a,o,l))),e)):("number"==typeof n&&(e=n),i=>i.lift(new Ee(t,e)))}class Ee{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new Ze(n,this.project,this.concurrent))}}class Ze extends Kn{constructor(n,e,i=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ut(t){return t}function dt(t=Number.POSITIVE_INFINITY){return we(ut,t)}function tt(t,n){return n?de(t,n):new ce(Ne(t))}function Yt(...t){let n=Number.POSITIVE_INFINITY,e=null,i=t[t.length-1];return ke(i)?(e=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===e&&1===t.length&&t[0]instanceof ce?t[0]:dt(n)(tt(t,e))}function wn(){return function(n){return n.lift(new Rt(n))}}class Rt{constructor(n){this.connectable=n}call(n,e){const{connectable:i}=this;i._refCount++;const s=new Gt(n,i),o=e.subscribe(s);return s.closed||(s.connection=i.connect()),o}}class Gt extends A{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const e=n._refCount;if(e<=0)return void(this.connection=null);if(n._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,s=n._connection;this.connection=null,s&&(!i||s===i)&&s.unsubscribe()}}class Dn extends ce{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new x,n.add(this.source.subscribe(new Ss(this.getSubject(),this))),n.closed&&(this._connection=null,n=x.EMPTY)),n}refCount(){return wn()(this)}}const ti=(()=>{const t=Dn.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class Ss extends ae{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}}class fi{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){const{selector:i}=this,s=this.subjectFactory(),o=i(s).subscribe(n);return o.add(e.subscribe(s)),o}}function ni(){return new J}function mn(){return t=>wn()(function Zt(t,n){return function(i){let s;if(s="function"==typeof t?t:function(){return t},"function"==typeof n)return i.lift(new fi(s,n));const o=Object.create(i,ti);return o.source=i,o.subjectFactory=s,o}}(ni)(t))}function _n(t){for(let n in t)if(t[n]===_n)return n;throw Error("Could not find renamed property on target object.")}function la(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function kn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(kn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function ca(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const S_=_n({__forward_ref__:_n});function sn(t){return t.__forward_ref__=sn,t.toString=function(){return kn(this())},t}function Mt(t){return Po(t)?t():t}function Po(t){return"function"==typeof t&&t.hasOwnProperty(S_)&&t.__forward_ref__===sn}class Le extends Error{constructor(n,e){super(function Bl(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function xt(t){return"string"==typeof t?t:null==t?"":String(t)}function jl(t,n){throw new Le(-201,!1)}function Li(t,n){null==t&&function tn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function Ye(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function wt(t){return{providers:t.providers||[],imports:t.imports||[]}}function nl(t){return zh(t,Ul)||zh(t,Lu)}function zh(t,n){return t.hasOwnProperty(n)?t[n]:null}function $h(t){return t&&(t.hasOwnProperty(zl)||t.hasOwnProperty(x_))?t[zl]:null}const Ul=_n({\u0275prov:_n}),zl=_n({\u0275inj:_n}),Lu=_n({ngInjectableDef:_n}),x_=_n({ngInjectorDef:_n});var _t=(()=>((_t=_t||{})[_t.Default=0]="Default",_t[_t.Host=1]="Host",_t[_t.Self=2]="Self",_t[_t.SkipSelf=4]="SkipSelf",_t[_t.Optional=8]="Optional",_t))();let Eu;function zr(t){const n=Eu;return Eu=t,n}function Pu(t,n,e){const i=nl(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&_t.Optional?null:void 0!==n?n:void jl(kn(t))}function Wr(t){return{toString:t}.toString()}var _r=(()=>((_r=_r||{})[_r.OnPush=0]="OnPush",_r[_r.Default=1]="Default",_r))(),Hi=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Hi||(Hi={})),Hi))();const Tn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),da={},cn=[],$l=_n({\u0275cmp:_n}),Iu=_n({\u0275dir:_n}),Ou=_n({\u0275pipe:_n}),Gh=_n({\u0275mod:_n}),Ns=_n({\u0275fac:_n}),ha=_n({__NG_ELEMENT_ID__:_n});let P_=0;function Qe(t){return Wr(()=>{const e=!0===t.standalone,i={},s={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===_r.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||cn,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Hi.Emulated,id:"c"+P_++,styles:t.styles||cn,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.dependencies,a=t.features;return s.inputs=Zh(t.inputs,i),s.outputs=Zh(t.outputs),a&&a.forEach(l=>l(s)),s.directiveDefs=o?()=>("function"==typeof o?o():o).map(qh).filter(Kh):null,s.pipeDefs=o?()=>("function"==typeof o?o():o).map(ir).filter(Kh):null,s})}function Au(t,n,e){const i=t.\u0275cmp;i.directiveDefs=()=>("function"==typeof n?n():n).map(qh),i.pipeDefs=()=>("function"==typeof e?e():e).map(ir)}function qh(t){return gn(t)||nr(t)}function Kh(t){return null!==t}function Pt(t){return Wr(()=>({type:t.type,bootstrap:t.bootstrap||cn,declarations:t.declarations||cn,imports:t.imports||cn,exports:t.exports||cn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Zh(t,n){if(null==t)return da;const e={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),e[s]=i,n&&(n[s]=o)}return e}const Je=Qe;function Ki(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[$l]||null}function nr(t){return t[Iu]||null}function ir(t){return t[Ou]||null}function rr(t,n){const e=t[Gh]||null;if(!e&&!0===n)throw new Error(`Type ${kn(t)} does not have '\u0275mod' property.`);return e}function vr(t){return Array.isArray(t)&&"object"==typeof t[1]}function rs(t){return Array.isArray(t)&&!0===t[1]}function Nu(t){return 0!=(8&t.flags)}function ql(t){return 2==(2&t.flags)}function Kl(t){return 1==(1&t.flags)}function ss(t){return null!==t.template}function A_(t){return 0!=(256&t[2])}function Hs(t,n){return t.hasOwnProperty(Ns)?t[Ns]:null}class Bu{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ii(){return Jh}function Jh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Uu),ju}function ju(){const t=Xh(this),n=t?.current;if(n){const e=t.previous;if(e===da)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Uu(t,n,e,i){const s=Xh(t)||function V_(t,n){return t[Zl]=n}(t,{previous:da,current:null}),o=s.current||(s.current={}),a=s.previous,l=this.declaredInputs[e],c=a[l];o[l]=new Bu(c&&c.currentValue,n,a===da),t[i]=n}Ii.ngInherit=!0;const Zl="__ngSimpleChanges__";function Xh(t){return t[Zl]||null}function ai(t){for(;Array.isArray(t);)t=t[0];return t}function br(t,n){return ai(n[t])}function Oi(t,n){return ai(n[t.index])}function Gu(t,n){return t.data[n]}function Fo(t,n){return t[n]}function yr(t,n){const e=n[t];return vr(e)?e:e[0]}function tf(t){return 4==(4&t[2])}function Ql(t){return 64==(64&t[2])}function lo(t,n){return null==n?null:t[n]}function nf(t){t[18]=0}function qu(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const Tt={lFrame:hf(null),bindingsEnabled:!0};function Jl(){return Tt.bindingsEnabled}function He(){return Tt.lFrame.lView}function Xt(){return Tt.lFrame.tView}function Ie(t){return Tt.lFrame.contextLView=t,t[8]}function Oe(t){return Tt.lFrame.contextLView=null,t}function wi(){let t=sf();for(;null!==t&&64===t.type;)t=t.parent;return t}function sf(){return Tt.lFrame.currentTNode}function os(t,n){const e=Tt.lFrame;e.currentTNode=t,e.isParent=n}function Xl(){return Tt.lFrame.isParent}function Ku(){Tt.lFrame.isParent=!1}function sr(){const t=Tt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function va(){return Tt.lFrame.bindingIndex++}function Bs(t){const n=Tt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function tc(t,n){const e=Tt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Zu(n)}function Zu(t){Tt.lFrame.currentDirectiveIndex=t}function Qu(t){const n=Tt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function cf(){return Tt.lFrame.currentQueryIndex}function nc(t){Tt.lFrame.currentQueryIndex=t}function eg(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function uf(t,n,e){if(e&_t.SkipSelf){let s=n,o=t;for(;!(s=s.parent,null!==s||e&_t.Host||(s=eg(o),null===s||(o=o[15],10&s.type))););if(null===s)return!1;n=s,t=o}const i=Tt.lFrame=df();return i.currentTNode=n,i.lView=t,!0}function ic(t){const n=df(),e=t[1];Tt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function df(){const t=Tt.lFrame,n=null===t?null:t.child;return null===n?hf(t):n}function hf(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function ff(){const t=Tt.lFrame;return Tt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const js=ff;function Ju(){const t=ff();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function or(){return Tt.lFrame.selectedIndex}function We(t){Tt.lFrame.selectedIndex=t}function si(){const t=Tt.lFrame;return Gu(t.tView,t.selectedIndex)}function ba(){Tt.lFrame.currentNamespace="svg"}function sc(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[c]<0&&(t[18]+=65536),(l>11>16&&(3&t[2])===n){t[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}class ya{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function as(t,n,e){let i=0;for(;in){a=o-1;break}}}for(;o>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let id=!0;function cc(t){const n=id;return id=t,n}let og=0;const Ts={};function ol(t,n){const e=sd(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,rd(i.data,t),rd(n,null),rd(i.blueprint,null));const s=ls(t,n),o=t.injectorIndex;if(Mf(s)){const a=wa(s),l=Ca(s,n),c=l[1].data;for(let _=0;_<8;_++)n[o+_]=l[a+_]|c[a+_]}return n[o+8]=s,o}function rd(t,n){t.push(0,0,0,0,0,0,0,0,n)}function sd(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function ls(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,s=n;for(;null!==s;){if(i=Ft(s),null===i)return-1;if(e++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Pr(t,n,e){!function ag(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(ha)&&(i=e[ha]),null==i&&(i=e[ha]=og++);const s=255&i;n.data[t+(s>>5)]|=1<=0?255&n:G:n}(e);if("function"==typeof o){if(!uf(n,t,i))return i&_t.Host?Sf(s,0,i):Df(n,e,i,s);try{const a=o(i);if(null!=a||i&_t.Optional)return a;jl()}finally{js()}}else if("number"==typeof o){let a=null,l=sd(t,n),c=-1,_=i&_t.Host?n[16][6]:null;for((-1===l||i&_t.SkipSelf)&&(c=-1===l?ls(t,n):n[l+8],-1!==c&&P(i,!1)?(a=n[1],l=wa(c),n=Ca(c,n)):l=-1);-1!==l;){const E=n[1];if(m(o,l,E.data)){const R=od(l,n,e,a,i,_);if(R!==Ts)return R}c=n[l+8],-1!==c&&P(i,n[1].data[l+8]===_)&&m(o,l,n)?(a=E,l=wa(c),n=Ca(c,n)):l=-1}}return s}function od(t,n,e,i,s,o){const a=n[1],l=a.data[t+8],E=zs(l,a,e,null==i?ql(l)&&id:i!=a&&0!=(3&l.type),s&_t.Host&&o===l);return null!==E?uo(n,a,E,l):Ts}function zs(t,n,e,i,s){const o=t.providerIndexes,a=n.data,l=1048575&o,c=t.directiveStart,E=o>>20,$=s?l+E:t.directiveEnd;for(let X=i?l:l+E;X<$;X++){const he=a[X];if(X=c&&he.type===e)return X}if(s){const X=a[c];if(X&&ss(X)&&X.type===e)return c}return null}function uo(t,n,e,i){let s=t[e];const o=n.data;if(function ig(t){return t instanceof ya}(s)){const a=s;a.resolving&&function Tu(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new Le(-200,`Circular dependency in DI detected for ${t}${e}`)}(function zt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xt(t)}(o[e]));const l=cc(a.canSeeViewProviders);a.resolving=!0;const c=a.injectImpl?zr(a.injectImpl):null;uf(t,i,_t.Default);try{s=t[e]=a.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function Xu(t,n,e){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:o}=n.type.prototype;if(i){const a=Jh(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,a)}s&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,s),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o))}(e,o[e],n)}finally{null!==c&&zr(c),cc(l),a.resolving=!1,js()}}return s}function m(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[Ns]||xe(n),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const o=s[Ns]||xe(s);if(o&&o!==e)return o;s=Object.getPrototypeOf(s)}return o=>new o})}function xe(t){return Po(t)?()=>{const n=xe(Mt(t));return n&&n()}:Hs(t)}function Ft(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}function Ht(t){return function lg(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let s=0;for(;s{const i=function ad(t){return function(...e){if(t){const i=t(...e);for(const s in i)this[s]=i[s]}}}(n);function s(...o){if(this instanceof s)return i.apply(this,o),this;const a=new s(...o);return l.annotation=a,l;function l(c,_,E){const R=c.hasOwnProperty(Vi)?c[Vi]:Object.defineProperty(c,Vi,{value:[]})[Vi];for(;R.length<=E;)R.push(null);return(R[E]=R[E]||[]).push(a),c}}return e&&(s.prototype=Object.create(e.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Be{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ye({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function cs(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?Yo(e,n):n(e))}function E1(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function xf(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function dd(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function DP(t,n,e,i){let s=t.length;if(s==n)t.push(e,i);else if(1===s)t.push(i,t[0]),t[0]=e;else{for(s--,t.push(t[s-1],t[s]);s>n;)t[s]=t[s-2],s--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function ug(t,n){const e=uc(t,n);if(e>=0)return t[1|e]}function uc(t,n){return function O1(t,n,e){let i=0,s=t.length>>e;for(;s!==i;){const o=i+(s-i>>1),a=t[o<n?s=o:i=o+1}return~(s<t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Of}()?.createHTML(t)||t}class al{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class QP extends al{getTypeName(){return"HTML"}}class JP extends al{getTypeName(){return"Style"}}class XP extends al{getTypeName(){return"Script"}}class eI extends al{getTypeName(){return"URL"}}class tI extends al{getTypeName(){return"ResourceURL"}}function ds(t){return t instanceof al?t.changingThisBreaksApplicationSecurity:t}function ho(t,n){const e=function nI(t){return t instanceof al&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}class lI{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(pc(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class cI{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=pc(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=pc(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let s=e.length-1;0gd(n.trim())).join(", ")}function fo(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function vd(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const K1=fo("area,br,col,hr,img,wbr"),Z1=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Q1=fo("rp,rt"),vg=vd(K1,vd(Z1,fo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),vd(Q1,fo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vd(Q1,Z1)),bg=fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yg=fo("srcset"),J1=vd(bg,yg,fo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),hI=fo("script,style,template");class fI{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let s=this.checkClobberedElement(e,e.nextSibling);if(s){e=s;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!vg.hasOwnProperty(e))return this.sanitizedSomething=!0,!hI.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let s=0;s"),!0}endElement(n){const e=n.nodeName.toLowerCase();vg.hasOwnProperty(e)&&!K1.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(X1(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const pI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mI=/([^\#-~ |!])/g;function X1(t){return t.replace(/&/g,"&").replace(pI,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(mI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Rf;function eM(t,n){let e=null;try{Rf=Rf||function G1(t){const n=new cI(t);return function uI(){try{return!!(new window.DOMParser).parseFromString(pc(""),"text/html")}catch{return!1}}()?new lI(n):n}(t);let i=n?String(n):"";e=Rf.getInertBodyElement(i);let s=5,o=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=o,o=e.innerHTML,e=Rf.getInertBodyElement(i)}while(i!==o);return pc((new fI).sanitizeChildren(Mg(e)||e))}finally{if(e){const i=Mg(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Mg(t){return"content"in t&&function _I(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var vn=(()=>((vn=vn||{})[vn.NONE=0]="NONE",vn[vn.HTML=1]="HTML",vn[vn.STYLE=2]="STYLE",vn[vn.SCRIPT=3]="SCRIPT",vn[vn.URL=4]="URL",vn[vn.RESOURCE_URL=5]="RESOURCE_URL",vn))();function Ho(t){const n=function bd(){const t=He();return t&&t[12]}();return n?n.sanitize(vn.URL,t)||"":ho(t,"URL")?ds(t):gd(xt(t))}const wg=new Be("ENVIRONMENT_INITIALIZER"),nM=new Be("INJECTOR",-1),iM=new Be("INJECTOR_DEF_TYPES");class rM{get(n,e=hd){if(e===hd){const i=new Error(`NullInjectorError: No provider for ${kn(n)}!`);throw i.name="NullInjectorError",i}return e}}function SI(...t){return{\u0275providers:sM(0,t)}}function sM(t,...n){const e=[],i=new Set;let s;return Yo(n,o=>{const a=o;Cg(a,e,[],i)&&(s||(s=[]),s.push(a))}),void 0!==s&&oM(s,e),e}function oM(t,n){for(let e=0;e{n.push(o)})}}function Cg(t,n,e,i){if(!(t=Mt(t)))return!1;let s=null,o=$h(t);const a=!o&&gn(t);if(o||a){if(a&&!a.standalone)return!1;s=t}else{const c=t.ngModule;if(o=$h(c),!o)return!1;s=c}const l=i.has(s);if(a){if(l)return!1;if(i.add(s),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const _ of c)Cg(_,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!l){let _;i.add(s);try{Yo(o.imports,E=>{Cg(E,n,e,i)&&(_||(_=[]),_.push(E))})}finally{}void 0!==_&&oM(_,n)}if(!l){const _=Hs(s)||(()=>new s);n.push({provide:s,useFactory:_,deps:cn},{provide:iM,useValue:s,multi:!0},{provide:wg,useValue:()=>Ce(s),multi:!0})}const c=o.providers;null==c||l||Yo(c,E=>{n.push(E)})}}return s!==t&&void 0!==t.providers}const DI=_n({provide:String,useValue:_n});function Sg(t){return null!==t&&"object"==typeof t&&DI in t}function ll(t){return"function"==typeof t}const Dg=new Be("Set Injector scope."),Ff={},TI={};let kg;function Nf(){return void 0===kg&&(kg=new rM),kg}class Ta{}class cM extends Ta{constructor(n,e,i,s){super(),this.parent=e,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xg(n,a=>this.processProvider(a)),this.records.set(nM,mc(void 0,this)),s.has("environment")&&this.records.set(Ta,mc(void 0,this));const o=this.records.get(Dg);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(iM.multi,cn,_t.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=dc(this),i=zr(void 0);try{return n()}finally{dc(e),zr(i)}}get(n,e=hd,i=_t.Default){this.assertNotDestroyed();const s=dc(this),o=zr(void 0);try{if(!(i&_t.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function II(t){return"function"==typeof t||"object"==typeof t&&t instanceof Be}(n)&&nl(n);l=c&&this.injectableDefInScope(c)?mc(Tg(n),Ff):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&_t.Self?Nf():this.parent).get(n,e=i&_t.Optional&&e===hd?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Ef]=a[Ef]||[]).unshift(kn(n)),s)throw a;return function NP(t,n,e,i){const s=t[Ef];throw n[A1]&&s.unshift(n[A1]),t.message=function YP(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let s=kn(n);if(Array.isArray(n))s=n.map(kn).join(" -> ");else if("object"==typeof n){let o=[];for(let a in n)if(n.hasOwnProperty(a)){let l=n[a];o.push(a+":"+("string"==typeof l?JSON.stringify(l):kn(l)))}s=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${s}]: ${t.replace(OP,"\n ")}`}("\n"+t.message,s,e,i),t.ngTokenPath=s,t[Ef]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{zr(o),dc(s)}}resolveInjectorInitializers(){const n=dc(this),e=zr(void 0);try{const i=this.get(wg.multi,cn,_t.Self);for(const s of i)s()}finally{dc(n),zr(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(kn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Le(205,!1)}processProvider(n){let e=ll(n=Mt(n))?n:Mt(n&&n.provide);const i=function LI(t){return Sg(t)?mc(void 0,t.useValue):mc(uM(t),Ff)}(n);if(ll(n)||!0!==n.multi)this.records.get(e);else{let s=this.records.get(e);s||(s=mc(void 0,Ff,!0),s.factory=()=>fg(s.multi),this.records.set(e,s)),e=n,s.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===Ff&&(e.value=TI,e.value=e.factory()),"object"==typeof e.value&&e.value&&function PI(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Mt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Tg(t){const n=nl(t),e=null!==n?n.factory:Hs(t);if(null!==e)return e;if(t instanceof Be)throw new Le(204,!1);if(t instanceof Function)return function xI(t){const n=t.length;if(n>0)throw dd(n,"?"),new Le(204,!1);const e=function Wh(t){const n=t&&(t[Ul]||t[Lu]);if(n){const e=function T_(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Le(204,!1)}function uM(t,n,e){let i;if(ll(t)){const s=Mt(t);return Hs(s)||Tg(s)}if(Sg(t))i=()=>Mt(t.useValue);else if(function lM(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...fg(t.deps||[]));else if(function aM(t){return!(!t||!t.useExisting)}(t))i=()=>Ce(Mt(t.useExisting));else{const s=Mt(t&&(t.useClass||t.provide));if(!function EI(t){return!!t.deps}(t))return Hs(s)||Tg(s);i=()=>new s(...fg(t.deps))}return i}function mc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function OI(t){return!!t.\u0275providers}function xg(t,n){for(const e of t)Array.isArray(e)?xg(e,n):OI(e)?xg(e.\u0275providers,n):n(e)}class dM{}class FI{resolveComponentFactory(n){throw function RI(t){const n=Error(`No component factory found for ${kn(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let xa=(()=>{class t{}return t.NULL=new FI,t})();function NI(){return _c(wi(),He())}function _c(t,n){return new bt(Oi(t,n))}let bt=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=NI,t})();function YI(t){return t instanceof bt?t.nativeElement:t}class yd{}let po=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function HI(){const t=He(),e=yr(wi().index,t);return(vr(e)?e:t)[11]}(),t})(),VI=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>null}),t})();class cl{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const BI=new cl("14.2.0"),Lg={};function Ag(t){return t.ngOriginalError}class Vo{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Ag(n);for(;e&&Ag(e);)e=Ag(e);return e||null}}const Rg=new Map;let XI=0;const Ng="__ngContext__";function Mr(t,n){vr(n)?(t[Ng]=n[20],function tO(t){Rg.set(t[20],t)}(n)):t[Ng]=n}function Md(t){const n=t[Ng];return"number"==typeof n?function vM(t){return Rg.get(t)||null}(n):n||null}function Yg(t){const n=Md(t);return n?vr(n)?n:n.lView:null}function Hg(t){return t.ownerDocument.defaultView}function Bo(t){return t instanceof Function?t():t}var qr=(()=>((qr=qr||{})[qr.Important=1]="Important",qr[qr.DashCase=2]="DashCase",qr))();function Bg(t,n){return undefined(t,n)}function wd(t){const n=t[3];return rs(n)?n[3]:n}function jg(t){return DM(t[13])}function Ug(t){return DM(t[4])}function DM(t){for(;null!==t&&!rs(t);)t=t[4];return t}function vc(t,n,e,i,s){if(null!=i){let o,a=!1;rs(i)?o=i:vr(i)&&(a=!0,i=i[0]);const l=ai(i);0===t&&null!==e?null==s?PM(n,e,l):ul(n,e,l,s||null,!0):1===t&&null!==e?ul(n,e,l,s||null,!0):2===t?function YM(t,n,e){const i=Yf(t,n);i&&function TO(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,l,a):3===t&&n.destroyNode(l),null!=o&&function EO(t,n,e,i,s){const o=e[7];o!==ai(e)&&vc(n,t,i,o,s);for(let l=10;l0&&(t[e-1][4]=i[4]);const o=xf(t,10+n);!function bO(t,n){Cd(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function xM(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&Cd(t,n,e,3,null,null),function wO(t){let n=t[13];if(!n)return Gg(t[1],t);for(;n;){let e=null;if(vr(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)vr(n)&&Gg(n[1],n),n=n[3];null===n&&(n=t),vr(n)&&Gg(n[1],n),e=n&&n[4]}n=e}}(n)}}function Gg(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function kO(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[s=_]():i[s=-_].unsubscribe(),o+=2}else{const a=i[s=e[o+1]];e[o].call(a)}if(null!==i){for(let o=s+1;oo?"":s[R+1].toLowerCase();const X=8&i?$:null;if(X&&-1!==BM(X,_,0)||2&i&&_!==$){if(Ws(i))return!1;a=!0}}}}else{if(!a&&!Ws(i)&&!Ws(c))return!1;if(a&&Ws(c))continue;a=!1,i=c|1&i}}return Ws(i)||a}function Ws(t){return 0==(1&t)}function RO(t,n,e,i){if(null===n)return-1;let s=0;if(i||!e){let o=!1;for(;s-1)for(e++;e0?'="'+l+'"':"")+"]"}else 8&i?s+="."+a:4&i&&(s+=" "+a);else""!==s&&!Ws(a)&&(n+=WM(o,s),s=""),i=a,o=o||!Ws(i);e++}return""!==s&&(n+=WM(o,s)),n}const Nt={};function d(t){$M(Xt(),He(),or()+t,!1)}function $M(t,n,e,i){if(!i)if(3==(3&n[2])){const o=t.preOrderCheckHooks;null!==o&&oc(n,o,e)}else{const o=t.preOrderHooks;null!==o&&ac(n,o,0,e)}We(e)}function ZM(t,n=null,e=null,i){const s=QM(t,n,e,i);return s.resolveInjectorInitializers(),s}function QM(t,n=null,e=null,i,s=new Set){const o=[e||cn,SI(t)];return i=i||("object"==typeof t?void 0:kn(t)),new cM(o,n||Nf(),i||null,s)}let Jn=(()=>{class t{static create(e,i){if(Array.isArray(e))return ZM({name:""},i,e,"");{const s=e.name??"";return ZM({name:s},e.parent,e.providers,s)}}}return t.THROW_IF_NOT_FOUND=hd,t.NULL=new rM,t.\u0275prov=Ye({token:t,providedIn:"any",factory:()=>Ce(nM)}),t.__NG_ELEMENT_ID__=-1,t})();function N(t,n=_t.Default){const e=He();return null===e?Ce(t,n):kf(wi(),e,Mt(t),n)}function dl(){throw new Error("invalid")}function jf(t,n){return t<<17|n<<2}function $s(t){return t>>17&32767}function nv(t){return 2|t}function jo(t){return(131068&t)>>2}function iv(t,n){return-131069&t|n<<2}function rv(t){return 1|t}function pw(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i22&&$M(t,n,22,!1),e(i,s)}finally{We(o)}}function _w(t,n,e){if(Nu(n)){const s=n.directiveEnd;for(let o=n.directiveStart;o0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(l)!=c&&l.push(c),l.push(i,s,a)}}function Cw(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function Sw(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function IA(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&vv(e)}}function vv(t){for(let i=jg(t);null!==i;i=Ug(i))for(let s=10;s0&&vv(o)}const e=t[1].components;if(null!==e)for(let i=0;i0&&vv(s)}}function HA(t,n){const e=yr(n,t),i=e[1];(function VA(t,n){for(let e=n.length;e-1&&($g(n,i),xf(e,i))}this._attachedToViewContainer=!1}xM(this._lView[1],this._lView)}onDestroy(n){vw(this._lView[1],this._lView,null,n)}markForCheck(){bv(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function yv(t,n,e){const i=n[10];i.begin&&i.begin();try{Sd(t,n,t.template,e)}catch(s){throw Iw(n,s),s}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function MO(t,n){Cd(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Le(902,!1);this._appRef=n}}class jA extends Dd{constructor(n){super(n),this._view=n}detectChanges(){!function xw(t){!function BA(t){for(let n=0;n0&&Qg(_,R,it.join(" "))}if(Re=Gu(he,22),void 0!==e){const Fe=Re.projection=[];for(let it=0;it=0;i--){const s=t[i];s.hostVars=n+=s.hostVars,s.hostAttrs=lc(s.hostAttrs,e=lc(e,s.hostAttrs))}}(i)}function Sv(t){return t===da?{}:t===cn?[]:t}function JA(t,n){const e=t.viewQuery;t.viewQuery=e?(i,s)=>{n(i,s),e(i,s)}:n}function XA(t,n){const e=t.contentQueries;t.contentQueries=e?(i,s,o)=>{n(i,s,o),e(i,s,o)}:n}function eR(t,n){const e=t.hostBindings;t.hostBindings=e?(i,s)=>{n(i,s),e(i,s)}:n}let Zf=null;function hl(){if(!Zf){const t=Tn.Symbol;if(t&&t.iterator)Zf=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;el(ai(Et[i.index])):i.index;let it=null;if(!l&&c&&(it=function hR(t,n,e,i){const s=t.cleanup;if(null!=s)for(let o=0;oc?l[c]:null}"string"==typeof a&&(o+=2)}return null}(t,n,s,i.index)),null!==it)(it.__ngLastListenerFn__||it).__ngNextListenerFn__=o,it.__ngLastListenerFn__=o,X=!1;else{o=Gw(i,n,R,o,!1);const Et=e.listen(Re,s,o);$.push(o,Et),E&&E.push(s,Fe,$e,$e+1)}}else o=Gw(i,n,R,o,!1);const he=i.outputs;let Se;if(X&&null!==he&&(Se=he[s])){const Pe=Se.length;if(Pe)for(let Re=0;Re0;)n=n[15],t--;return n}(t,Tt.lFrame.contextLView))[8]}(t)}function fR(t,n){let e=null;const i=function FO(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let s=0;s=0}const ji={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iC(t){return t.substring(ji.key,ji.keyEnd)}function gR(t){return t.substring(ji.value,ji.valueEnd)}function rC(t,n){const e=ji.textEnd;return e===n?-1:(n=ji.keyEnd=function yR(t,n,e){for(;n32;)n++;return n}(t,ji.key=n,e),Pc(t,n,e))}function sC(t,n){const e=ji.textEnd;let i=ji.key=Pc(t,n,e);return e===i?-1:(i=ji.keyEnd=function MR(t,n,e){let i;for(;n=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=aC(t,i,e),i=ji.value=Pc(t,i,e),i=ji.valueEnd=function wR(t,n,e){let i=-1,s=-1,o=-1,a=n,l=a;for(;a32&&(l=a),o=s,s=i,i=-33&c}return l}(t,i,e),aC(t,i,e))}function oC(t){ji.key=0,ji.keyEnd=0,ji.value=0,ji.valueEnd=0,ji.textEnd=t.length}function Pc(t,n,e){for(;n=0;e=sC(n,e))dC(t,iC(n),gR(n))}function fs(t){qs(us,go,t,!0)}function go(t,n){for(let e=function vR(t){return oC(t),rC(t,Pc(t,0,ji.textEnd))}(n);e>=0;e=rC(n,e))us(t,iC(n),!0)}function Gs(t,n,e,i){const s=He(),o=Xt(),a=Bs(2);o.firstUpdatePass&&uC(o,t,a,i),n!==Nt&&wr(s,a,n)&&hC(o,o.data[or()],s,s[11],t,s[a+1]=function ER(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=kn(ds(t)))),t}(n,e),i,a)}function qs(t,n,e,i){const s=Xt(),o=Bs(2);s.firstUpdatePass&&uC(s,null,o,i);const a=He();if(e!==Nt&&wr(a,o,e)){const l=s.data[or()];if(pC(l,i)&&!cC(s,o)){let c=i?l.classesWithoutHost:l.stylesWithoutHost;null!==c&&(e=ca(c,e||"")),kv(s,l,a,e,i)}else!function LR(t,n,e,i,s,o,a,l){s===Nt&&(s=cn);let c=0,_=0,E=0=t.expandoStartIndex}function uC(t,n,e,i){const s=t.data;if(null===s[e+1]){const o=s[or()],a=cC(t,e);pC(o,i)&&null===n&&!a&&(n=!1),n=function SR(t,n,e,i){const s=Qu(t);let o=i?n.residualClasses:n.residualStyles;if(null===s)0===(i?n.classBindings:n.styleBindings)&&(e=Ed(e=Lv(null,t,n,e,i),n.attrs,i),o=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==s)if(e=Lv(s,t,n,e,i),null===o){let c=function DR(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==jo(i))return t[$s(i)]}(t,n,i);void 0!==c&&Array.isArray(c)&&(c=Lv(null,t,n,c[1],i),c=Ed(c,n.attrs,i),function kR(t,n,e,i){t[$s(e?n.classBindings:n.styleBindings)]=i}(t,n,i,c))}else o=function TR(t,n,e){let i;const s=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(_=!0)}else E=e;if(s)if(0!==c){const $=$s(t[l+1]);t[i+1]=jf($,l),0!==$&&(t[$+1]=iv(t[$+1],i)),t[l+1]=function aA(t,n){return 131071&t|n<<17}(t[l+1],i)}else t[i+1]=jf(l,0),0!==l&&(t[l+1]=iv(t[l+1],i)),l=i;else t[i+1]=jf(c,0),0===l?l=i:t[c+1]=iv(t[c+1],i),c=i;_&&(t[i+1]=nv(t[i+1])),nC(t,E,i,!0),nC(t,E,i,!1),function mR(t,n,e,i,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&uc(o,n)>=0&&(e[i+1]=rv(e[i+1]))}(n,E,t,i,o),a=jf(l,c),o?n.classBindings=a:n.styleBindings=a}(s,o,n,e,a,i)}}function Lv(t,n,e,i,s){let o=null;const a=e.directiveEnd;let l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){const c=t[s],_=Array.isArray(c),E=_?c[1]:c,R=null===E;let $=e[s+1];$===Nt&&($=R?cn:void 0);let X=R?ug($,i):E===i?$:void 0;if(_&&!Xf(X)&&(X=ug(c,i)),Xf(X)&&(l=X,a))return l;const he=t[s+1];s=a?$s(he):jo(he)}if(null!==n){let c=o?n.residualClasses:n.residualStyles;null!=c&&(l=ug(c,i))}return l}function Xf(t){return void 0!==t}function pC(t,n){return 0!=(t.flags&(n?16:32))}function O(t,n=""){const e=He(),i=Xt(),s=t+22,o=i.firstCreatePass?yc(i,s,1,n,null):i.data[s],a=e[s]=function zg(t,n){return t.createText(n)}(e[11],n);Hf(i,e,a,o),os(o,!1)}function pe(t){return ye("",t,""),pe}function ye(t,n,e){const i=He(),s=Cc(i,t,n,e);return s!==Nt&&Uo(i,or(),s),ye}function ps(t,n,e,i,s){const o=He(),a=Sc(o,t,n,e,i,s);return a!==Nt&&Uo(o,or(),a),ps}function pl(t,n,e){const i=He();return wr(i,va(),n)&&hs(Xt(),si(),i,t,n,i[11],e,!0),pl}function ep(t,n,e){const i=He();if(wr(i,va(),n)){const o=Xt(),a=si();hs(o,a,i,t,n,Pw(Qu(o.data),a,i),e,!0)}return ep}const ml=void 0;var KR=["en",[["a","p"],["AM","PM"],ml],[["AM","PM"],ml,ml],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ml,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ml,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ml,"{1} 'at' {0}",ml],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function qR(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Ic={};function Or(t){const n=function ZR(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=OC(n);if(e)return e;const i=n.split("-")[0];if(e=OC(i),e)return e;if("en"===i)return KR;throw new Le(701,!1)}function OC(t){return t in Ic||(Ic[t]=Tn.ng&&Tn.ng.common&&Tn.ng.common.locales&&Tn.ng.common.locales[t]),Ic[t]}var ct=(()=>((ct=ct||{})[ct.LocaleId=0]="LocaleId",ct[ct.DayPeriodsFormat=1]="DayPeriodsFormat",ct[ct.DayPeriodsStandalone=2]="DayPeriodsStandalone",ct[ct.DaysFormat=3]="DaysFormat",ct[ct.DaysStandalone=4]="DaysStandalone",ct[ct.MonthsFormat=5]="MonthsFormat",ct[ct.MonthsStandalone=6]="MonthsStandalone",ct[ct.Eras=7]="Eras",ct[ct.FirstDayOfWeek=8]="FirstDayOfWeek",ct[ct.WeekendRange=9]="WeekendRange",ct[ct.DateFormat=10]="DateFormat",ct[ct.TimeFormat=11]="TimeFormat",ct[ct.DateTimeFormat=12]="DateTimeFormat",ct[ct.NumberSymbols=13]="NumberSymbols",ct[ct.NumberFormats=14]="NumberFormats",ct[ct.CurrencyCode=15]="CurrencyCode",ct[ct.CurrencySymbol=16]="CurrencySymbol",ct[ct.CurrencyName=17]="CurrencyName",ct[ct.Currencies=18]="Currencies",ct[ct.Directionality=19]="Directionality",ct[ct.PluralCase=20]="PluralCase",ct[ct.ExtraData=21]="ExtraData",ct))();const Oc="en-US";let AC=Oc;function Iv(t,n,e,i,s){if(t=Mt(t),Array.isArray(t))for(let o=0;o>20;if(ll(t)||!t.multi){const X=new ya(c,s,N),he=Av(l,n,s?E:E+$,R);-1===he?(Pr(ol(_,a),o,l),Ov(o,t,n.length),n.push(l),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),e.push(X),a.push(X)):(e[he]=X,a[he]=X)}else{const X=Av(l,n,E+$,R),he=Av(l,n,E,E+$),Se=X>=0&&e[X],Pe=he>=0&&e[he];if(s&&!Pe||!s&&!Se){Pr(ol(_,a),o,l);const Re=function GF(t,n,e,i,s){const o=new ya(t,e,N);return o.multi=[],o.index=n,o.componentProviders=0,sS(o,s,i&&!e),o}(s?$F:WF,e.length,s,i,c);!s&&Pe&&(e[he].providerFactory=Re),Ov(o,t,n.length,0),n.push(l),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),e.push(Re),a.push(Re)}else Ov(o,t,X>-1?X:he,sS(e[s?he:X],c,!s&&i));!s&&i&&Pe&&e[he].componentProviders++}}}function Ov(t,n,e,i){const s=ll(n),o=function kI(t){return!!t.useClass}(n);if(s||o){const c=(o?Mt(n.useClass):n).prototype.ngOnDestroy;if(c){const _=t.destroyHooks||(t.destroyHooks=[]);if(!s&&n.multi){const E=_.indexOf(e);-1===E?_.push(e,[i,c]):_[E+1].push(i,c)}else _.push(e,c)}}}function sS(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Av(t,n,e,i){for(let s=e;s{e.providersResolver=(i,s)=>function zF(t,n,e){const i=Xt();if(i.firstCreatePass){const s=ss(t);Iv(e,i.data,i.blueprint,s,!0),Iv(n,i.data,i.blueprint,s,!1)}}(i,s?s(t):t,n)}}class _l{}class oS{}class aS extends _l{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cv(this);const i=rr(n);this._bootstrapComponents=Bo(i.bootstrap),this._r3Injector=QM(n,e,[{provide:_l,useValue:this},{provide:xa,useValue:this.componentFactoryResolver}],kn(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Fv extends oS{constructor(n){super(),this.moduleType=n}create(n){return new aS(this.moduleType,n)}}class KF extends _l{constructor(n,e,i){super(),this.componentFactoryResolver=new Cv(this),this.instance=null;const s=new cM([...n,{provide:_l,useValue:this},{provide:xa,useValue:this.componentFactoryResolver}],e||Nf(),i,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function sp(t,n,e=null){return new KF(t,n,e).injector}let ZF=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=sM(0,e.type),s=i.length>0?sp([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,s)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=Ye({token:t,providedIn:"environment",factory:()=>new t(Ce(Ta))}),t})();function lS(t){t.getStandaloneInjector=n=>n.get(ZF).getOrCreateStandaloneInjector(t)}function Hn(t,n,e){const i=sr()+t,s=He();return s[i]===Nt?_o(s,i,e?n.call(e):n()):function xd(t,n){return t[n]}(s,i)}function Ue(t,n,e,i){return mS(He(),sr(),t,n,e,i)}function hn(t,n,e,i,s){return _S(He(),sr(),t,n,e,i,s)}function Rd(t,n){const e=t[n];return e===Nt?void 0:e}function mS(t,n,e,i,s,o){const a=n+e;return wr(t,a,s)?_o(t,a+1,o?i.call(o,s):i(s)):Rd(t,a+1)}function _S(t,n,e,i,s,o,a){const l=n+e;return fl(t,l,s,o)?_o(t,l+2,a?i.call(a,s,o):i(s,o)):Rd(t,l+2)}function Y(t,n){const e=Xt();let i;const s=t+22;e.firstCreatePass?(i=function f3(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[s]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(s,i.onDestroy)):i=e.data[s];const o=i.factory||(i.factory=Hs(i.type)),a=zr(N);try{const l=cc(!1),c=o();return cc(l),function cR(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,He(),s,c),c}finally{zr(a)}}function B(t,n,e){const i=t+22,s=He(),o=Fo(s,i);return Fd(s,i)?mS(s,sr(),n,o.transform,e,o):o.transform(e)}function Vt(t,n,e,i){const s=t+22,o=He(),a=Fo(o,s);return Fd(o,s)?_S(o,sr(),n,a.transform,e,i,a):a.transform(e,i)}function Fd(t,n){return t[1].data[n].pure}function Yv(t){return n=>{setTimeout(t,void 0,n)}}const ft=class g3 extends J{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let s=n,o=e||(()=>null),a=i;if(n&&"object"==typeof n){const c=n;s=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=Yv(o),s&&(s=Yv(s)),a&&(a=Yv(a)));const l=super.subscribe({next:s,error:o,complete:a});return n instanceof x&&n.add(l),l}};function v3(){return this._results[hl()]()}class gl{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=hl(),i=gl.prototype;i[e]||(i[e]=v3)}get changes(){return this._changes||(this._changes=new ft)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const s=cs(n);(this._changesDetected=!function CP(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=M3,t})();const b3=Ar,y3=class extends b3{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,s=Wf(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);s[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(s[19]=a.createEmbeddedView(i)),$f(i,s,n),new Dd(s)}};function M3(){return op(wi(),He())}function op(t,n){return 4&t.type?new y3(n,t,_c(t,n)):null}let ar=(()=>{class t{}return t.__NG_ELEMENT_ID__=w3,t})();function w3(){return wS(wi(),He())}const C3=ar,yS=class extends C3{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return _c(this._hostTNode,this._hostLView)}get injector(){return new V(this._hostTNode,this._hostLView)}get parentInjector(){const n=ls(this._hostTNode,this._hostLView);if(Mf(n)){const e=Ca(n,this._hostLView),i=wa(n);return new V(e[1].data[i+8],e)}return new V(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=MS(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let s,o;"number"==typeof i?s=i:null!=i&&(s=i.index,o=i.injector);const a=n.createEmbeddedView(e||{},o);return this.insert(a,s),a}createComponent(n,e,i,s,o){const a=n&&!function ud(t){return"function"==typeof t}(n);let l;if(a)l=e;else{const R=e||{};l=R.index,i=R.injector,s=R.projectableNodes,o=R.environmentInjector||R.ngModuleRef}const c=a?n:new kd(gn(n)),_=i||this.parentInjector;if(!o&&null==c.ngModule){const $=(a?_:this.parentInjector).get(Ta,null);$&&(o=$)}const E=c.create(_,s,void 0,o);return this.insert(E.hostView,l),E}insert(n,e){const i=n._lView,s=i[1];if(function W_(t){return rs(t[3])}(i)){const E=this.indexOf(n);if(-1!==E)this.detach(E);else{const R=i[3],$=new yS(R,R[6],R[3]);$.detach($.indexOf(n))}}const o=this._adjustIndex(e),a=this._lContainer;!function CO(t,n,e,i){const s=10+i,o=e.length;i>0&&(e[s-1][4]=n),i0)i.push(a[l/2]);else{const _=o[l+1],E=n[-c];for(let R=10;R{class t{constructor(e){this.appInits=e,this.resolve=lp,this.reject=lp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{o.subscribe({complete:l,error:c})});e.push(a)}}Promise.all(e).then(()=>{i()}).catch(s=>{this.reject(s)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Ce(cp,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Nc=new Be("AppId",{providedIn:"root",factory:function $S(){return`${Kv()}${Kv()}${Kv()}`}});function Kv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const GS=new Be("Platform Initializer"),dp=new Be("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),qS=new Be("appBootstrapListener"),Ui=new Be("AnimationModuleType");let Q3=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const vo=new Be("LocaleId",{providedIn:"root",factory:()=>Yn(vo,_t.Optional|_t.SkipSelf)||function J3(){return typeof $localize<"u"&&$localize.locale||Oc}()});class eN{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let Zv=(()=>{class t{compileModuleSync(e){return new Fv(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Bo(rr(e).declarations).reduce((a,l)=>{const c=gn(l);return c&&a.push(new kd(c)),a},[]);return new eN(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const iN=(()=>Promise.resolve(0))();function Qv(t){typeof Zone>"u"?iN.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class mt{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ft(!1),this.onMicrotaskEmpty=new ft(!1),this.onStable=new ft(!1),this.onError=new ft(!1),typeof Zone>"u")throw new Le(908,!1);Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&e,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function rN(){let t=Tn.requestAnimationFrame,n=Tn.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function aN(t){const n=()=>{!function oN(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Tn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Xv(t),t.isCheckStableRunning=!0,Jv(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Xv(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,s,o,a,l)=>{try{return QS(t),e.invokeTask(s,o,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),JS(t)}},onInvoke:(e,i,s,o,a,l,c)=>{try{return QS(t),e.invoke(s,o,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&n(),JS(t)}},onHasTask:(e,i,s,o)=>{e.hasTask(s,o),i===s&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Xv(t),Jv(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,s,o)=>(e.handleError(s,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!mt.isInAngularZone())throw new Le(909,!1)}static assertNotInAngularZone(){if(mt.isInAngularZone())throw new Le(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,s){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+s,n,sN,lp,lp);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const sN={};function Jv(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Xv(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function QS(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function JS(t){t._nesting--,Jv(t)}class lN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ft,this.onMicrotaskEmpty=new ft,this.onStable=new ft,this.onError=new ft}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,s){return n.apply(e,i)}}const XS=new Be(""),hp=new Be("");let nb,eb=(()=>{class t{constructor(e,i,s){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,nb||(function cN(t){nb=t}(s),s.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{mt.assertNotInAngularZone(),Qv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Qv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,s){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:s})}whenStable(e,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,s){return[]}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(tb),Ce(hp))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),tb=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return nb?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Aa=null;const eD=new Be("AllowMultipleToken"),ib=new Be("PlatformDestroyListeners");class tD{constructor(n,e){this.name=n,this.token=e}}function iD(t,n,e=[]){const i=`Platform: ${n}`,s=new Be(i);return(o=[])=>{let a=rb();if(!a||a.injector.get(eD,!1)){const l=[...e,...o,{provide:s,useValue:!0}];t?t(l):function hN(t){if(Aa&&!Aa.get(eD,!1))throw new Le(400,!1);Aa=t;const n=t.get(sD);(function nD(t){const n=t.get(GS,null);n&&n.forEach(e=>e())})(t)}(function rD(t=[],n){return Jn.create({name:n,providers:[{provide:Dg,useValue:"platform"},{provide:ib,useValue:new Set([()=>Aa=null])},...t]})}(l,i))}return function pN(t){const n=rb();if(!n)throw new Le(401,!1);return n}()}}function rb(){return Aa?.get(sD)??null}let sD=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const s=function aD(t,n){let e;return e="noop"===t?new lN:("zone.js"===t?void 0:t)||new mt(n),e}(i?.ngZone,function oD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:mt,useValue:s}];return s.run(()=>{const a=Jn.create({providers:o,parent:this.injector,name:e.moduleType.name}),l=e.create(a),c=l.injector.get(Vo,null);if(!c)throw new Le(402,!1);return s.runOutsideAngular(()=>{const _=s.onError.subscribe({next:E=>{c.handleError(E)}});l.onDestroy(()=>{fp(this._modules,l),_.unsubscribe()})}),function lD(t,n,e){try{const i=e();return Ld(i)?i.catch(s=>{throw n.runOutsideAngular(()=>t.handleError(s)),s}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(c,s,()=>{const _=l.injector.get(up);return _.runInitializers(),_.donePromise.then(()=>(function RC(t){Li(t,"Expected localeId to be defined"),"string"==typeof t&&(AC=t.toLowerCase().replace(/_/g,"-"))}(l.injector.get(vo,Oc)||Oc),this._moduleDoBootstrap(l),l))})})}bootstrapModule(e,i=[]){const s=cD({},i);return function uN(t,n,e){const i=new Fv(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,s))}_moduleDoBootstrap(e){const i=e.injector.get(Yc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!e.instance.ngDoBootstrap)throw new Le(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Le(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(ib,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function cD(t,n){return Array.isArray(n)?n.reduce(cD,t):{...t,...n}}let Yc=(()=>{class t{constructor(e,i,s){this._zone=e,this._injector=i,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ce(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new ce(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{mt.assertNotInAngularZone(),Qv(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const _=this._zone.onUnstable.subscribe(()=>{mt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),_.unsubscribe()}});this.isStable=Yt(o,a.pipe(mn()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const s=e instanceof dM;if(!this._injector.get(up).done)throw!s&&function fa(t){const n=gn(t)||nr(t)||ir(t);return null!==n&&n.standalone}(e),new Le(405,false);let a;a=s?e:this._injector.get(xa).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const l=function dN(t){return t.isBoundToModule}(a)?void 0:this._injector.get(_l),_=a.create(Jn.NULL,[],i||a.selector,l),E=_.location.nativeElement,R=_.injector.get(XS,null);return R?.registerApplication(E),_.onDestroy(()=>{this.detachView(_.hostView),fp(this.components,_),R?.unregisterApplication(E)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Le(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;fp(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(qS,[]).concat(this._bootstrapListeners).forEach(s=>s(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>fp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Le(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(Ta),Ce(Vo))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fp(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let dD=!0,Xn=(()=>{class t{}return t.__NG_ELEMENT_ID__=gN,t})();function gN(t){return function vN(t,n,e){if(ql(t)&&!e){const i=yr(t.index,n);return new Dd(i,i)}return 47&t.type?new Dd(n[16],n):null}(wi(),He(),16==(16&t))}class _D{constructor(){}supports(n){return Td(n)}create(n){return new SN(n)}}const CN=(t,n)=>n;class SN{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||CN}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,s=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(s,l),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,l,a,s)),Object.is(e.item,l)||this._addIdentityChange(e,l)):(e=this._mismatch(e,l,a,s),i=!0),e=e._next,s++}),this.length=s;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,s){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,s)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,s)):n=this._addAfter(new DN(e,i),o,s),n}_verifyReinsertion(n,e,i,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,s):n.currentIndex!=s&&(n.currentIndex=s,this._addToMoves(n,s)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const s=n._prevRemoved,o=n._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._prevRemoved=s,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const s=null===e?this._itHead:e._next;return n._next=s,n._prev=e,null===s?this._itTail=n:s._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new gD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new gD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class DN{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class kN{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class gD{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new kN,this.map.set(e,i)),i.add(n)}get(n,e){const s=this.map.get(n);return s?s.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function vD(t,n,e){const i=t.previousIndex;if(null===i)return i;let s=0;return e&&i{if(e&&e.key===s)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(s,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const s=this._records.get(n);this._maybeAddToChanges(s,e);const o=s._prev,a=s._next;return o&&(o._next=a),a&&(a._prev=o),s._next=null,s._prev=null,s}const i=new xN(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class xN{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function yD(){return new Yd([new _D])}let Yd=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||yD()),deps:[[t,new hc,new ka]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(null!=i)return i;throw new Le(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:yD}),t})();function MD(){return new Hd([new bD])}let Hd=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||MD()),deps:[[t,new hc,new ka]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new Le(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:MD}),t})();const PN=iD(null,"core",[]);let IN=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(Ce(Yc))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();function Wo(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let _p=null;function bo(){return _p}const Ct=new Be("DocumentToken");let cb=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return function FN(){return Ce(wD)}()},providedIn:"platform"}),t})();const NN=new Be("Location Initialized");let wD=(()=>{class t extends cb{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bo().getBaseHref(this._doc)}onPopState(e){const i=bo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=bo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,s){CD()?this._history.pushState(e,i,s):this.location.hash=s}replaceState(e,i,s){CD()?this._history.replaceState(e,i,s):this.location.hash=s}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(){return function YN(){return new wD(Ce(Ct))}()},providedIn:"platform"}),t})();function CD(){return!!window.history.pushState}function ub(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function SD(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function $o(t){return t&&"?"!==t[0]?"?"+t:t}let bl=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Yn(kD)},providedIn:"root"}),t})();const DD=new Be("appBaseHref");let kD=(()=>{class t extends bl{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Yn(Ct).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ub(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+$o(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${i}${s}`:i}pushState(e,i,s,o){const a=this.prepareExternalUrl(s+$o(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,s,o){const a=this.prepareExternalUrl(s+$o(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(cb),Ce(DD,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),HN=(()=>{class t extends bl{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=ub(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,s,o){let a=this.prepareExternalUrl(s+$o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,i,a)}replaceState(e,i,s,o){let a=this.prepareExternalUrl(s+$o(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(cb),Ce(DD,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Vd=(()=>{class t{constructor(e){this._subject=new ft,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=SD(TD(i)),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+$o(i))}normalize(e){return t.stripTrailingSlash(function BN(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,TD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",s=null){this._locationStrategy.pushState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(i)),s)}replaceState(e,i="",s=null){this._locationStrategy.replaceState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$o(i)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(s=>s(e,i))}subscribe(e,i,s){return this._subject.subscribe({next:e,error:i,complete:s})}}return t.normalizeQueryParams=$o,t.joinWithSlash=ub,t.stripTrailingSlash=SD,t.\u0275fac=function(e){return new(e||t)(Ce(bl))},t.\u0275prov=Ye({token:t,factory:function(){return function VN(){return new Vd(Ce(bl))}()},providedIn:"root"}),t})();function TD(t){return t.replace(/\/index.html$/,"")}var Ci=(()=>((Ci=Ci||{})[Ci.Format=0]="Format",Ci[Ci.Standalone=1]="Standalone",Ci))(),Qt=(()=>((Qt=Qt||{})[Qt.Narrow=0]="Narrow",Qt[Qt.Abbreviated=1]="Abbreviated",Qt[Qt.Wide=2]="Wide",Qt[Qt.Short=3]="Short",Qt))(),ci=(()=>((ci=ci||{})[ci.Short=0]="Short",ci[ci.Medium=1]="Medium",ci[ci.Long=2]="Long",ci[ci.Full=3]="Full",ci))(),yt=(()=>((yt=yt||{})[yt.Decimal=0]="Decimal",yt[yt.Group=1]="Group",yt[yt.List=2]="List",yt[yt.PercentSign=3]="PercentSign",yt[yt.PlusSign=4]="PlusSign",yt[yt.MinusSign=5]="MinusSign",yt[yt.Exponential=6]="Exponential",yt[yt.SuperscriptingExponent=7]="SuperscriptingExponent",yt[yt.PerMille=8]="PerMille",yt[yt.Infinity=9]="Infinity",yt[yt.NaN=10]="NaN",yt[yt.TimeSeparator=11]="TimeSeparator",yt[yt.CurrencyDecimal=12]="CurrencyDecimal",yt[yt.CurrencyGroup=13]="CurrencyGroup",yt))();function gp(t,n){return Ps(Or(t)[ct.DateFormat],n)}function vp(t,n){return Ps(Or(t)[ct.TimeFormat],n)}function bp(t,n){return Ps(Or(t)[ct.DateTimeFormat],n)}function Es(t,n){const e=Or(t),i=e[ct.NumberSymbols][n];if(typeof i>"u"){if(n===yt.CurrencyDecimal)return e[ct.NumberSymbols][yt.Decimal];if(n===yt.CurrencyGroup)return e[ct.NumberSymbols][yt.Group]}return i}function LD(t){if(!t[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ps(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function hb(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const e4=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Bd={},t4=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var zi=(()=>((zi=zi||{})[zi.Short=0]="Short",zi[zi.ShortGMT=1]="ShortGMT",zi[zi.Long=2]="Long",zi[zi.Extended=3]="Extended",zi))(),St=(()=>((St=St||{})[St.FullYear=0]="FullYear",St[St.Month=1]="Month",St[St.Date=2]="Date",St[St.Hours=3]="Hours",St[St.Minutes=4]="Minutes",St[St.Seconds=5]="Seconds",St[St.FractionalSeconds=6]="FractionalSeconds",St[St.Day=7]="Day",St))(),jt=(()=>((jt=jt||{})[jt.DayPeriods=0]="DayPeriods",jt[jt.Days=1]="Days",jt[jt.Months=2]="Months",jt[jt.Eras=3]="Eras",jt))();function ED(t,n,e,i){let s=function d4(t){if(OD(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[s,o=1,a=1]=t.split("-").map(l=>+l);return yp(s,o-1,a)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(e4))return function h4(t){const n=new Date(0);let e=0,i=0;const s=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),s.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const a=Number(t[4]||0)-e,l=Number(t[5]||0)-i,c=Number(t[6]||0),_=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,a,l,c,_),n}(i)}const n=new Date(t);if(!OD(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=Go(e,n)||n;let l,a=[];for(;n;){if(l=t4.exec(n),!l){a.push(n);break}{a=a.concat(l.slice(1));const E=a.pop();if(!E)break;n=E}}let c=s.getTimezoneOffset();i&&(c=ID(i,c),s=function u4(t,n,e){const i=e?-1:1,s=t.getTimezoneOffset();return function c4(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(ID(n,s)-s))}(s,i,!0));let _="";return a.forEach(E=>{const R=function l4(t){if(pb[t])return pb[t];let n;switch(t){case"G":case"GG":case"GGG":n=zn(jt.Eras,Qt.Abbreviated);break;case"GGGG":n=zn(jt.Eras,Qt.Wide);break;case"GGGGG":n=zn(jt.Eras,Qt.Narrow);break;case"y":n=Ri(St.FullYear,1,0,!1,!0);break;case"yy":n=Ri(St.FullYear,2,0,!0,!0);break;case"yyy":n=Ri(St.FullYear,3,0,!1,!0);break;case"yyyy":n=Ri(St.FullYear,4,0,!1,!0);break;case"Y":n=Sp(1);break;case"YY":n=Sp(2,!0);break;case"YYY":n=Sp(3);break;case"YYYY":n=Sp(4);break;case"M":case"L":n=Ri(St.Month,1,1);break;case"MM":case"LL":n=Ri(St.Month,2,1);break;case"MMM":n=zn(jt.Months,Qt.Abbreviated);break;case"MMMM":n=zn(jt.Months,Qt.Wide);break;case"MMMMM":n=zn(jt.Months,Qt.Narrow);break;case"LLL":n=zn(jt.Months,Qt.Abbreviated,Ci.Standalone);break;case"LLLL":n=zn(jt.Months,Qt.Wide,Ci.Standalone);break;case"LLLLL":n=zn(jt.Months,Qt.Narrow,Ci.Standalone);break;case"w":n=fb(1);break;case"ww":n=fb(2);break;case"W":n=fb(1,!0);break;case"d":n=Ri(St.Date,1);break;case"dd":n=Ri(St.Date,2);break;case"c":case"cc":n=Ri(St.Day,1);break;case"ccc":n=zn(jt.Days,Qt.Abbreviated,Ci.Standalone);break;case"cccc":n=zn(jt.Days,Qt.Wide,Ci.Standalone);break;case"ccccc":n=zn(jt.Days,Qt.Narrow,Ci.Standalone);break;case"cccccc":n=zn(jt.Days,Qt.Short,Ci.Standalone);break;case"E":case"EE":case"EEE":n=zn(jt.Days,Qt.Abbreviated);break;case"EEEE":n=zn(jt.Days,Qt.Wide);break;case"EEEEE":n=zn(jt.Days,Qt.Narrow);break;case"EEEEEE":n=zn(jt.Days,Qt.Short);break;case"a":case"aa":case"aaa":n=zn(jt.DayPeriods,Qt.Abbreviated);break;case"aaaa":n=zn(jt.DayPeriods,Qt.Wide);break;case"aaaaa":n=zn(jt.DayPeriods,Qt.Narrow);break;case"b":case"bb":case"bbb":n=zn(jt.DayPeriods,Qt.Abbreviated,Ci.Standalone,!0);break;case"bbbb":n=zn(jt.DayPeriods,Qt.Wide,Ci.Standalone,!0);break;case"bbbbb":n=zn(jt.DayPeriods,Qt.Narrow,Ci.Standalone,!0);break;case"B":case"BB":case"BBB":n=zn(jt.DayPeriods,Qt.Abbreviated,Ci.Format,!0);break;case"BBBB":n=zn(jt.DayPeriods,Qt.Wide,Ci.Format,!0);break;case"BBBBB":n=zn(jt.DayPeriods,Qt.Narrow,Ci.Format,!0);break;case"h":n=Ri(St.Hours,1,-12);break;case"hh":n=Ri(St.Hours,2,-12);break;case"H":n=Ri(St.Hours,1);break;case"HH":n=Ri(St.Hours,2);break;case"m":n=Ri(St.Minutes,1);break;case"mm":n=Ri(St.Minutes,2);break;case"s":n=Ri(St.Seconds,1);break;case"ss":n=Ri(St.Seconds,2);break;case"S":n=Ri(St.FractionalSeconds,1);break;case"SS":n=Ri(St.FractionalSeconds,2);break;case"SSS":n=Ri(St.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=wp(zi.Short);break;case"ZZZZZ":n=wp(zi.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=wp(zi.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=wp(zi.Long);break;default:return null}return pb[t]=n,n}(E);_+=R?R(s,e,c):"''"===E?"'":E.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_}function yp(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Go(t,n){const e=function jN(t){return Or(t)[ct.LocaleId]}(t);if(Bd[e]=Bd[e]||{},Bd[e][n])return Bd[e][n];let i="";switch(n){case"shortDate":i=gp(t,ci.Short);break;case"mediumDate":i=gp(t,ci.Medium);break;case"longDate":i=gp(t,ci.Long);break;case"fullDate":i=gp(t,ci.Full);break;case"shortTime":i=vp(t,ci.Short);break;case"mediumTime":i=vp(t,ci.Medium);break;case"longTime":i=vp(t,ci.Long);break;case"fullTime":i=vp(t,ci.Full);break;case"short":const s=Go(t,"shortTime"),o=Go(t,"shortDate");i=Mp(bp(t,ci.Short),[s,o]);break;case"medium":const a=Go(t,"mediumTime"),l=Go(t,"mediumDate");i=Mp(bp(t,ci.Medium),[a,l]);break;case"long":const c=Go(t,"longTime"),_=Go(t,"longDate");i=Mp(bp(t,ci.Long),[c,_]);break;case"full":const E=Go(t,"fullTime"),R=Go(t,"fullDate");i=Mp(bp(t,ci.Full),[E,R])}return i&&(Bd[e][n]=i),i}function Mp(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Zs(t,n,e="-",i,s){let o="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,o=e));let a=String(t);for(;a.length0||l>-e)&&(l+=e),t===St.Hours)0===l&&-12===e&&(l=12);else if(t===St.FractionalSeconds)return function n4(t,n){return Zs(t,3).substring(0,n)}(l,n);const c=Es(a,yt.MinusSign);return Zs(l,n,c,i,s)}}function zn(t,n,e=Ci.Format,i=!1){return function(s,o){return function s4(t,n,e,i,s,o){switch(e){case jt.Months:return function WN(t,n,e){const i=Or(t),o=Ps([i[ct.MonthsFormat],i[ct.MonthsStandalone]],n);return Ps(o,e)}(n,s,i)[t.getMonth()];case jt.Days:return function zN(t,n,e){const i=Or(t),o=Ps([i[ct.DaysFormat],i[ct.DaysStandalone]],n);return Ps(o,e)}(n,s,i)[t.getDay()];case jt.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const _=function KN(t){const n=Or(t);return LD(n),(n[ct.ExtraData][2]||[]).map(i=>"string"==typeof i?hb(i):[hb(i[0]),hb(i[1])])}(n),E=function ZN(t,n,e){const i=Or(t);LD(i);const o=Ps([i[ct.ExtraData][0],i[ct.ExtraData][1]],n)||[];return Ps(o,e)||[]}(n,s,i),R=_.findIndex($=>{if(Array.isArray($)){const[X,he]=$,Se=a>=X.hours&&l>=X.minutes,Pe=a0?Math.floor(s/60):Math.ceil(s/60);switch(t){case zi.Short:return(s>=0?"+":"")+Zs(a,2,o)+Zs(Math.abs(s%60),2,o);case zi.ShortGMT:return"GMT"+(s>=0?"+":"")+Zs(a,1,o);case zi.Long:return"GMT"+(s>=0?"+":"")+Zs(a,2,o)+":"+Zs(Math.abs(s%60),2,o);case zi.Extended:return 0===i?"Z":(s>=0?"+":"")+Zs(a,2,o)+":"+Zs(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function PD(t){return yp(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function fb(t,n=!1){return function(e,i){let s;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();s=1+Math.floor((a+o)/7)}else{const o=PD(e),a=function a4(t){const n=yp(t,0,1).getDay();return yp(t,0,1+(n<=4?4:11)-n)}(o.getFullYear()),l=o.getTime()-a.getTime();s=1+Math.round(l/6048e5)}return Zs(s,t,Es(i,yt.MinusSign))}}function Sp(t,n=!1){return function(e,i){return Zs(PD(e).getFullYear(),t,Es(i,yt.MinusSign),n)}}const pb={};function ID(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function OD(t){return t instanceof Date&&!isNaN(t.valueOf())}function ND(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[s,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(s.trim()===n)return decodeURIComponent(o)}return null}let Wn=(()=>{class t{constructor(e,i,s,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=s,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Td(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${kn(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(s=>{i?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}}return t.\u0275fac=function(e){return new(e||t)(N(Yd),N(Hd),N(bt),N(po))},t.\u0275dir=Je({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class D4{constructor(n,e,i,s){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Fi=(()=>{class t{constructor(e,i,s){this._viewContainer=e,this._template=i,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((s,o,a)=>{if(null==s.previousIndex)i.createEmbeddedView(this._template,new D4(s.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const l=i.get(o);i.move(l,a),VD(l,s)}});for(let s=0,o=i.length;s{VD(i.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Yd))},t.\u0275dir=Je({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function VD(t,n){t.context.$implicit=n.item}let Ot=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new T4,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){BD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){BD("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar))},t.\u0275dir=Je({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class T4{constructor(){this.$implicit=null,this.ngIf=null}}function BD(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${kn(n)}'.`)}class yb{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Hc=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class t{constructor(e,i,s){this.ngSwitch=s,s._addCase(),this._view=new yb(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Hc,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),jD=(()=>{class t{constructor(e,i,s){s._addDefault(new yb(e,i))}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(Ar),N(Hc,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),Tp=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(s,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(N(ar))},t.\u0275dir=Je({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ii]}),t})();function Qs(t,n){return new Le(2100,!1)}class E4{createSubscription(n,e){return n.subscribe({next:e,error:i=>{throw i}})}dispose(n){n.unsubscribe()}}class P4{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const I4=new P4,O4=new E4;let zD=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Ld(e))return I4;if(zw(e))return O4;throw Qs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(N(Xn,16))},t.\u0275pipe=Ki({name:"async",type:t,pure:!1,standalone:!0}),t})();const Y4=new Be("DATE_PIPE_DEFAULT_TIMEZONE");let WD=(()=>{class t{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",s,o){if(null==e||""===e||e!=e)return null;try{return ED(e,i,o||this.locale,s??this.defaultTimezone??void 0)}catch(a){throw Qs()}}}return t.\u0275fac=function(e){return new(e||t)(N(vo,16),N(Y4,24))},t.\u0275pipe=Ki({name:"date",type:t,pure:!0,standalone:!0}),t})(),yo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const GD="browser";let X4=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>new e5(Ce(Ct),window)}),t})();class e5{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function t5(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let s=i.currentNode;for(;s;){const o=s.shadowRoot;if(o){const a=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(a)return a}s=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],s-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=qD(this.window.history)||qD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function qD(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class KD{}class Db extends class y5 extends class RN{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function AN(t){_p||(_p=t)}(new Db)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function M5(){return zd=zd||document.querySelector("base"),zd?zd.getAttribute("href"):null}();return null==e?null:function w5(t){Lp=Lp||document.createElement("a"),Lp.setAttribute("href",t);const n=Lp.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){zd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ND(document.cookie,n)}}let Lp,zd=null;const XD=new Be("TRANSITION_ID"),S5=[{provide:cp,useFactory:function C5(t,n,e){return()=>{e.get(up).donePromise.then(()=>{const i=bo(),s=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const Ep=new Be("EventManagerPlugins");let Pp=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,s){return this._findPluginFor(i).addEventListener(e,i,s)}addGlobalEventListener(e,i,s){return this._findPluginFor(i).addGlobalEventListener(e,i,s)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const s=this._plugins;for(let o=0;o{class t{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),i.add(s))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Wd=(()=>{class t extends tk{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,s){e.forEach(o=>{const a=this._doc.createElement("style");a.textContent=o,s.push(i.appendChild(a))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(nk),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,s)=>{this._addStylesToHost(e,s,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(nk))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function nk(t){bo().remove(t)}const kb={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Tb=/%COMP%/g;function Ip(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let Op=(()=>{class t{constructor(e,i,s){this.eventManager=e,this.sharedStylesHost=i,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new xb(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Hi.Emulated:{let s=this.rendererByCompId.get(i.id);return s||(s=new I5(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,s)),s.applyToHost(e),s}case 1:case Hi.ShadowDom:return new O5(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const s=Ip(i.id,i.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Ce(Pp),Ce(Wd),Ce(Nc))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class xb{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(kb[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(ak(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(ak(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,s){if(s){e=s+":"+e;const o=kb[s];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const s=kb[i];s?n.removeAttributeNS(s,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,s){s&(qr.DashCase|qr.Important)?n.style.setProperty(e,i,s&qr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&qr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,sk(i)):this.eventManager.addEventListener(n,e,sk(i))}}function ak(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class I5 extends xb{constructor(n,e,i,s){super(n),this.component=i;const o=Ip(s+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function L5(t){return"_ngcontent-%COMP%".replace(Tb,t)}(s+"-"+i.id),this.hostAttr=function E5(t){return"_nghost-%COMP%".replace(Tb,t)}(s+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class O5 extends xb{constructor(n,e,i,s){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ip(s.id,s.styles,[]);for(let a=0;a{class t extends ek{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,s){return e.addEventListener(i,s,!1),()=>this.removeEventListener(e,i,s)}removeEventListener(e,i,s){return e.removeEventListener(i,s)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const lk=["alt","control","meta","shift"],R5={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},F5={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let N5=(()=>{class t extends ek{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const o=t.parseEventName(i),a=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bo().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),s=i.shift();if(0===i.length||"keydown"!==s&&"keyup"!==s)return null;const o=t._normalizeKey(i.pop());let a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),lk.forEach(_=>{const E=i.indexOf(_);E>-1&&(i.splice(E,1),a+=_+".")}),a+=o,0!=i.length||0===o.length)return null;const c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let s=R5[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(s=e.code,o="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),lk.forEach(a=>{a!==s&&(0,F5[a])(e)&&(o+=a+".")}),o+=s,o===i)}static eventCallback(e,i,s){return o=>{t.matchEventFullKeyCode(o,e)&&s.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const uk=[{provide:dp,useValue:GD},{provide:GS,useValue:function Y5(){Db.makeCurrent()},multi:!0},{provide:Ct,useFactory:function V5(){return function qP(t){mg=t}(document),document},deps:[]}],B5=iD(PN,"browser",uk),dk=new Be(""),hk=[{provide:hp,useClass:class D5{addToWindow(n){Tn.getAngularTestability=(i,s=!0)=>{const o=n.findTestabilityInTree(i,s);if(null==o)throw new Error("Could not find testability for element.");return o},Tn.getAllAngularTestabilities=()=>n.getAllTestabilities(),Tn.getAllAngularRootElements=()=>n.getAllRootElements(),Tn.frameworkStabilizers||(Tn.frameworkStabilizers=[]),Tn.frameworkStabilizers.push(i=>{const s=Tn.getAllAngularTestabilities();let o=s.length,a=!1;const l=function(c){a=a||c,o--,0==o&&i(a)};s.forEach(function(c){c.whenStable(l)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?bo().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:XS,useClass:eb,deps:[mt,tb,hp]},{provide:eb,useClass:eb,deps:[mt,tb,hp]}],fk=[{provide:Dg,useValue:"root"},{provide:Vo,useFactory:function H5(){return new Vo},deps:[]},{provide:Ep,useClass:A5,multi:!0,deps:[Ct,mt,dp]},{provide:Ep,useClass:N5,multi:!0,deps:[Ct]},{provide:Op,useClass:Op,deps:[Pp,Wd,Nc]},{provide:yd,useExisting:Op},{provide:tk,useExisting:Wd},{provide:Wd,useClass:Wd,deps:[Ct]},{provide:Pp,useClass:Pp,deps:[Ep,mt]},{provide:KD,useClass:k5,deps:[]},[]];let pk=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Nc,useValue:e.appId},{provide:XD,useExisting:Nc},S5]}}}return t.\u0275fac=function(e){return new(e||t)(Ce(dk,12))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[...fk,...hk],imports:[yo,IN]}),t})(),mk=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function U5(){return new mk(Ce(Ct))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let Pb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new(e||t):Ce(vk),i},providedIn:"root"}),t})(),vk=(()=>{class t extends Pb{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case vn.NONE:return i;case vn.HTML:return ho(i,"HTML")?ds(i):eM(this._doc,String(i)).toString();case vn.STYLE:return ho(i,"Style")?ds(i):i;case vn.SCRIPT:if(ho(i,"Script"))return ds(i);throw new Error("unsafe value used in a script context");case vn.URL:return ho(i,"URL")?ds(i):gd(String(i));case vn.RESOURCE_URL:if(ho(i,"ResourceURL"))return ds(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function iI(t){return new QP(t)}(e)}bypassSecurityTrustStyle(e){return function rI(t){return new JP(t)}(e)}bypassSecurityTrustScript(e){return function sI(t){return new XP(t)}(e)}bypassSecurityTrustUrl(e){return function oI(t){return new eI(t)}(e)}bypassSecurityTrustResourceUrl(e){return function aI(t){return new tI(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function Z5(t){return new vk(t.get(Ct))}(Ce(Jn)),i},providedIn:"root"}),t})();class bk{}const qo="*";function Ko(t,n){return{type:7,name:t,definitions:n,options:{}}}function Fr(t,n=null){return{type:4,styles:n,timings:t}}function yk(t,n=null){return{type:3,steps:t,options:n}}function Mk(t,n=null){return{type:2,steps:t,options:n}}function bn(t){return{type:6,styles:t,offset:null}}function Nr(t,n,e){return{type:0,name:t,styles:n,options:e}}function Sr(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function Ib(t=null){return{type:9,options:t}}function Ob(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function wk(t){Promise.resolve(null).then(t)}class $d{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){wk(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Ck{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,s=0;const o=this.players.length;0==o?wk(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++s==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,l)=>Math.max(a,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const s=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(s)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function Sk(t){return new Le(3e3,!1)}function OY(){return typeof window<"u"&&typeof window.document<"u"}function Rb(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Fa(t){switch(t.length){case 0:return new $d;case 1:return t[0];default:return new Ck(t)}}function Dk(t,n,e,i,s=new Map,o=new Map){const a=[],l=[];let c=-1,_=null;if(i.forEach(E=>{const R=E.get("offset"),$=R==c,X=$&&_||new Map;E.forEach((he,Se)=>{let Pe=Se,Re=he;if("offset"!==Se)switch(Pe=n.normalizePropertyName(Pe,a),Re){case"!":Re=s.get(Se);break;case qo:Re=o.get(Se);break;default:Re=n.normalizeStyleValue(Se,Pe,Re,a)}X.set(Pe,Re)}),$||l.push(X),_=X,c=R}),a.length)throw function MY(t){return new Le(3502,!1)}();return l}function Fb(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Nb(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Nb(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Nb(e,"destroy",t)))}}function Nb(t,n,e){const o=Yb(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(o._data=a),o}function Yb(t,n,e,i,s="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:s,totalTime:o,disabled:!!a}}function ms(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function kk(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let Hb=(t,n)=>!1,Tk=(t,n,e)=>[],xk=null;function Vb(t){const n=t.parentNode||t.host;return n===xk?null:n}(Rb()||typeof Element<"u")&&(OY()?(xk=(()=>document.documentElement)(),Hb=(t,n)=>{for(;n;){if(n===t)return!0;n=Vb(n)}return!1}):Hb=(t,n)=>t.contains(n),Tk=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let yl=null,Lk=!1;const Ek=Hb,Pk=Tk;let Ik=(()=>{class t{validateStyleProperty(e){return function RY(t){yl||(yl=function FY(){return typeof document<"u"?document.body:null}()||{},Lk=!!yl.style&&"WebkitAppearance"in yl.style);let n=!0;return yl.style&&!function AY(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in yl.style,!n&&Lk&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in yl.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return Ek(e,i)}getParentElement(e){return Vb(e)}query(e,i,s){return Pk(e,i,s)}computeStyle(e,i,s){return s||""}animate(e,i,s,o,a,l=[],c){return new $d(s,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Bb=(()=>{class t{}return t.NOOP=new Ik,t})();const jb="ng-enter",Ap="ng-leave",Rp="ng-trigger",Fp=".ng-trigger",Ak="ng-animating",Ub=".ng-animating";function Na(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:zb(parseFloat(n[1]),n[2])}function zb(t,n){return"s"===n?1e3*t:t}function Np(t,n,e){return t.hasOwnProperty("duration")?t:function HY(t,n,e){let s,o=0,a="";if("string"==typeof t){const l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push(Sk()),{duration:0,delay:0,easing:""};s=zb(parseFloat(l[1]),l[2]);const c=l[3];null!=c&&(o=zb(parseFloat(c),l[4]));const _=l[5];_&&(a=_)}else s=t;if(!e){let l=!1,c=n.length;s<0&&(n.push(function X5(){return new Le(3100,!1)}()),l=!0),o<0&&(n.push(function eY(){return new Le(3101,!1)}()),l=!0),l&&n.splice(c,0,Sk())}return{duration:s,delay:o,easing:a}}(t,n,e)}function Gd(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function Rk(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Ya(t,n=new Map,e){if(e)for(let[i,s]of e)n.set(i,s);for(let[i,s]of t)n.set(i,s);return n}function Nk(t,n,e){return e?n+":"+e+";":""}function Yk(t){let n="";for(let e=0;e{const o=$b(s);e&&!e.has(s)&&e.set(s,t.style[o]),t.style[o]=i}),Rb()&&Yk(t))}function Ml(t,n){t.style&&(n.forEach((e,i)=>{const s=$b(i);t.style[s]=""}),Rb()&&Yk(t))}function qd(t){return Array.isArray(t)?1==t.length?t[0]:Mk(t):t}const Wb=new RegExp("{{\\s*(.+?)\\s*}}","g");function Hk(t){let n=[];if("string"==typeof t){let e;for(;e=Wb.exec(t);)n.push(e[1]);Wb.lastIndex=0}return n}function Yp(t,n,e){const i=t.toString(),s=i.replace(Wb,(o,a)=>{let l=n[a];return null==l&&(e.push(function nY(t){return new Le(3003,!1)}()),l=""),l.toString()});return s==i?t:s}function Hp(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const jY=/-+([a-z0-9])/g;function $b(t){return t.replace(jY,(...n)=>n[1].toUpperCase())}function UY(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _s(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function iY(t){return new Le(3004,!1)}()}}function Vk(t,n){return window.getComputedStyle(t)[n]}function KY(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function ZY(t,n,e){if(":"==t[0]){const c=function QY(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof c)return void n.push(c);t=c}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function _Y(t){return new Le(3015,!1)}()),n;const s=i[1],o=i[2],a=i[3];n.push(Bk(s,a));"<"==o[0]&&!("*"==s&&"*"==a)&&n.push(Bk(a,s))}(i,e,n)):e.push(t),e}const Up=new Set(["true","1"]),zp=new Set(["false","0"]);function Bk(t,n){const e=Up.has(t)||zp.has(t),i=Up.has(n)||zp.has(n);return(s,o)=>{let a="*"==t||t==s,l="*"==n||n==o;return!a&&e&&"boolean"==typeof s&&(a=s?Up.has(t):zp.has(t)),!l&&i&&"boolean"==typeof o&&(l=o?Up.has(n):zp.has(n)),a&&l}}const JY=new RegExp("s*:selfs*,?","g");function Gb(t,n,e,i){return new XY(t).build(n,e,i)}class XY{constructor(n){this._driver=n}build(n,e,i){const s=new nH(e);return this._resetContextStyleTimingState(s),_s(this,qd(n),s)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,s=e.depCount=0;const o=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function sY(){return new Le(3006,!1)}()),n.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),0==l.type){const c=l,_=c.name;_.toString().split(/\s*,\s*/).forEach(E=>{c.name=E,o.push(this.visitState(c,e))}),c.name=_}else if(1==l.type){const c=this.visitTransition(l,e);i+=c.queryCount,s+=c.depCount,a.push(c)}else e.errors.push(function oY(){return new Le(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:a,queryCount:i,depCount:s,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),s=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=s||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(c=>{Hk(c).forEach(_=>{a.hasOwnProperty(_)||o.add(_)})})}),o.size&&(Hp(o.values()),e.errors.push(function aY(t,n){return new Le(3008,!1)}()))}return{type:0,name:n.name,style:i,options:s?{params:s}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=_s(this,qd(n.animation),e);return{type:1,matchers:KY(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:wl(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>_s(this,i,e)),options:wl(n.options)}}visitGroup(n,e){const i=e.currentTime;let s=0;const o=n.steps.map(a=>{e.currentTime=i;const l=_s(this,a,e);return s=Math.max(s,e.currentTime),l});return e.currentTime=s,{type:3,steps:o,options:wl(n.options)}}visitAnimate(n,e){const i=function rH(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return qb(Np(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=qb(0,0,"");return o.dynamic=!0,o.strValue=e,o}const s=Np(e,n);return qb(s.duration,s.delay,s.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let s,o=n.styles?n.styles:bn({});if(5==o.type)s=this.visitKeyframes(o,e);else{let a=n.styles,l=!1;if(!a){l=!0;const _={};i.easing&&(_.easing=i.easing),a=bn(_)}e.currentTime+=i.duration+i.delay;const c=this.visitStyle(a,e);c.isEmptyStep=l,s=c}return e.currentAnimateTimings=null,{type:4,timings:i,style:s,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],s=Array.isArray(n.styles)?n.styles:[n.styles];for(let l of s)"string"==typeof l?l===qo?i.push(l):e.errors.push(new Le(3002,!1)):i.push(Rk(l));let o=!1,a=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(a=l.get("easing"),l.delete("easing")),!o))for(let c of l.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let s=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((l,c)=>{const _=e.collectedStyles.get(e.currentQuerySelector),E=_.get(c);let R=!0;E&&(o!=s&&o>=E.startTime&&s<=E.endTime&&(e.errors.push(function cY(t,n,e,i,s){return new Le(3010,!1)}()),R=!1),o=E.startTime),R&&_.set(c,{startTime:o,endTime:s}),e.options&&function BY(t,n,e){const i=n.params||{},s=Hk(t);s.length&&s.forEach(o=>{i.hasOwnProperty(o)||e.push(function tY(t){return new Le(3001,!1)}())})}(l,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function uY(){return new Le(3011,!1)}()),i;let o=0;const a=[];let l=!1,c=!1,_=0;const E=n.steps.map(Re=>{const $e=this._makeStyleAst(Re,e);let Fe=null!=$e.offset?$e.offset:function iH(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}($e.styles),it=0;return null!=Fe&&(o++,it=$e.offset=Fe),c=c||it<0||it>1,l=l||it<_,_=it,a.push(it),$e});c&&e.errors.push(function dY(){return new Le(3012,!1)}()),l&&e.errors.push(function hY(){return new Le(3200,!1)}());const R=n.steps.length;let $=0;o>0&&o{const Fe=$>0?$e==X?1:$*$e:a[$e],it=Fe*Pe;e.currentTime=he+Se.delay+it,Se.duration=it,this._validateStyleAst(Re,e),Re.offset=Fe,i.styles.push(Re)}),i}visitReference(n,e){return{type:8,animation:_s(this,qd(n.animation),e),options:wl(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:wl(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:wl(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,s=n.options||{};e.queryCount++,e.currentQuery=n;const[o,a]=function eH(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(JY,"")),t=t.replace(/@\*/g,Fp).replace(/@\w+/g,e=>Fp+"-"+e.slice(1)).replace(/:animating/g,Ub),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,ms(e.collectedStyles,e.currentQuerySelector,new Map);const l=_s(this,qd(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:s.limit||0,optional:!!s.optional,includeSelf:a,animation:l,originalSelector:n.selector,options:wl(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function pY(){return new Le(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Np(n.timings,e.errors,!0);return{type:12,animation:_s(this,qd(n.animation),e),timings:i,options:null}}}class nH{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function wl(t){return t?(t=Gd(t)).params&&(t.params=function tH(t){return t?Gd(t):null}(t.params)):t={},t}function qb(t,n,e){return{duration:t,delay:n,easing:e}}function Kb(t,n,e,i,s,o,a=null,l=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:s,delay:o,totalTime:s+o,easing:a,subTimeline:l}}class Wp{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const aH=new RegExp(":enter","g"),cH=new RegExp(":leave","g");function Zb(t,n,e,i,s,o=new Map,a=new Map,l,c,_=[]){return(new uH).buildKeyframes(t,n,e,i,s,o,a,l,c,_)}class uH{buildKeyframes(n,e,i,s,o,a,l,c,_,E=[]){_=_||new Wp;const R=new Qb(n,e,_,s,o,E,[]);R.options=c;const $=c.delay?Na(c.delay):0;R.currentTimeline.delayNextStep($),R.currentTimeline.setStyles([a],null,R.errors,c),_s(this,i,R);const X=R.timelines.filter(he=>he.containsAnimation());if(X.length&&l.size){let he;for(let Se=X.length-1;Se>=0;Se--){const Pe=X[Se];if(Pe.element===e){he=Pe;break}}he&&!he.allowOnlyTimelineStyles()&&he.setStyles([l],null,R.errors,c)}return X.length?X.map(he=>he.buildKeyframes()):[Kb(e,[],[],[],0,$,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const s=e.createSubContext(n.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,s,s.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?Na(i.duration):null,l=null!=i.delay?Na(i.delay):null;return 0!==a&&n.forEach(c=>{const _=e.appendInstructionToTimeline(c,a,l);o=Math.max(o,_.duration+_.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),_s(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let s=e;const o=n.options;if(o&&(o.params||o.delay)&&(s=e.createSubContext(o),s.transformIntoNewTimeline(),null!=o.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=$p);const a=Na(o.delay);s.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>_s(this,a,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let s=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?Na(n.options.delay):0;n.steps.forEach(a=>{const l=e.createSubContext(n.options);o&&l.delayNextStep(o),_s(this,a,l),s=Math.max(s,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(s),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Np(e.params?Yp(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),s=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),s.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,s=e.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=s&&s.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,s=e.currentTimeline.duration,o=i.duration,l=e.createSubContext().currentTimeline;l.easing=i.easing,n.styles.forEach(c=>{l.forwardTime((c.offset||0)*o),l.setStyles(c.styles,c.easing,e.errors,e.options),l.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(l),e.transformIntoNewTimeline(s+o),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,s=n.options||{},o=s.delay?Na(s.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$p);let a=i;const l=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=l.length;let c=null;l.forEach((_,E)=>{e.currentQueryIndex=E;const R=e.createSubContext(n.options,_);o&&R.delayNextStep(o),_===e.element&&(c=R.currentTimeline),_s(this,n.animation,R),R.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,R.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,s=e.currentTimeline,o=n.timings,a=Math.abs(o.duration),l=a*(e.currentQueryTotal-1);let c=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=l-c;break;case"full":c=i.currentStaggerTime}const E=e.currentTimeline;c&&E.delayNextStep(c);const R=E.currentTime;_s(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=s.currentTime-R+(s.startTime-i.currentTimeline.startTime)}}const $p={};class Qb{constructor(n,e,i,s,o,a,l,c){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=o,this.errors=a,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$p,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Gp(this._driver,e,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let s=this.options;null!=i.duration&&(s.duration=Na(i.duration)),null!=i.delay&&(s.delay=Na(i.delay));const o=i.params;if(o){let a=s.params;a||(a=this.options.params={}),Object.keys(o).forEach(l=>{(!e||!a.hasOwnProperty(l))&&(a[l]=Yp(o[l],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(s=>{i[s]=e[s]})}}return n}createSubContext(n=null,e,i){const s=e||this.element,o=new Qb(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=$p,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const s={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new dH(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,s,n.stretchStartingKeyframe);return this.timelines.push(o),s}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,s,o,a){let l=[];if(s&&l.push(this.element),n.length>0){n=(n=n.replace(aH,"."+this._enterClassName)).replace(cH,"."+this._leaveClassName);let _=this._driver.query(this.element,n,1!=i);0!==i&&(_=i<0?_.slice(_.length+i,_.length):_.slice(0,i)),l.push(..._)}return!o&&0==l.length&&a.push(function mY(t){return new Le(3014,!1)}()),l}}class Gp{constructor(n,e,i,s){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Gp(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||qo),this._currentKeyframe.set(e,qo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,s){e&&this._previousKeyframe.set("easing",e);const o=s&&s.params||{},a=function hH(t,n){const e=new Map;let i;return t.forEach(s=>{if("*"===s){i=i||n.keys();for(let o of i)e.set(o,qo)}else Ya(s,e)}),e}(n,this._globalTimelineStyles);for(let[l,c]of a){const _=Yp(c,o,i);this._pendingStyles.set(l,_),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??qo),this._updateStyle(l,_)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const s=this._styleSummary.get(i);(!s||e.time>s.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((l,c)=>{const _=Ya(l,new Map,this._backFill);_.forEach((E,R)=>{"!"===E?n.add(R):E===qo&&e.add(R)}),i||_.set("offset",c/this.duration),s.push(_)});const o=n.size?Hp(n.values()):[],a=e.size?Hp(e.values()):[];if(i){const l=s[0],c=new Map(l);l.set("offset",0),c.set("offset",1),s=[l,c]}return Kb(this.element,s,o,a,this.duration,this.startTime,this.easing,!1)}}class dH extends Gp{constructor(n,e,i,s,o,a,l=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=o,this._stretchStartingKeyframe=l,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,l=e/a,c=Ya(n[0]);c.set("offset",0),o.push(c);const _=Ya(n[0]);_.set("offset",zk(l)),o.push(_);const E=n.length-1;for(let R=1;R<=E;R++){let $=Ya(n[R]);const X=$.get("offset");$.set("offset",zk((e+X*i)/a)),o.push($)}i=a,e=0,s="",n=o}return Kb(this.element,n,this.preStyleProps,this.postStyleProps,i,e,s,!0)}}function zk(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class Jb{}const fH=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class pH extends Jb{normalizePropertyName(n,e){return $b(n)}normalizeStyleValue(n,e,i,s){let o="";const a=i.toString().trim();if(fH.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&s.push(function rY(t,n){return new Le(3005,!1)}())}return a+o}}function Wk(t,n,e,i,s,o,a,l,c,_,E,R,$){return{type:0,element:t,triggerName:n,isRemovalTransition:s,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:l,queriedElements:c,preStyleProps:_,postStyleProps:E,totalTime:R,errors:$}}const Xb={};class $k{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,s){return function mH(t,n,e,i,s){return t.some(o=>o(n,e,i,s))}(this.ast.matchers,n,e,i,s)}buildStyles(n,e,i){let s=this._stateStyles.get("*");return void 0!==n&&(s=this._stateStyles.get(n?.toString())||s),s?s.buildStyles(e,i):new Map}build(n,e,i,s,o,a,l,c,_,E){const R=[],$=this.ast.options&&this.ast.options.params||Xb,he=this.buildStyles(i,l&&l.params||Xb,R),Se=c&&c.params||Xb,Pe=this.buildStyles(s,Se,R),Re=new Set,$e=new Map,Fe=new Map,it="void"===s,Et={params:_H(Se,$),delay:this.ast.options?.delay},en=E?[]:Zb(n,e,this.ast.animation,o,a,he,Pe,Et,_,R);let di=0;if(en.forEach(Ms=>{di=Math.max(Ms.duration+Ms.delay,di)}),R.length)return Wk(e,this._triggerName,i,s,it,he,Pe,[],[],$e,Fe,di,R);en.forEach(Ms=>{const ws=Ms.element,Su=ms($e,ws,new Set);Ms.preStyleProps.forEach(ro=>Su.add(ro));const aa=ms(Fe,ws,new Set);Ms.postStyleProps.forEach(ro=>aa.add(ro)),ws!==e&&Re.add(ws)});const ys=Hp(Re.values());return Wk(e,this._triggerName,i,s,it,he,Pe,en,ys,$e,Fe,di)}}function _H(t,n){const e=Gd(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class gH{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,s=Gd(this.defaultParams);return Object.keys(n).forEach(o=>{const a=n[o];null!==a&&(s[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{a&&(a=Yp(a,s,e));const c=this.normalizer.normalizePropertyName(l,e);a=this.normalizer.normalizeStyleValue(l,c,a,e),i.set(c,a)})}),i}}class bH{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(s=>{this.states.set(s.name,new gH(s.style,s.options&&s.options.params||{},i))}),Gk(this.states,"true","1"),Gk(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new $k(n,s,this.states))}),this.fallbackTransition=function yH(t,n,e){return new $k(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,l)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,s){return this.transitionFactories.find(a=>a.match(n,e,i,s))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function Gk(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const MH=new Wp;class wH{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=Gb(this._driver,e,i,[]);if(i.length)throw function wY(t){return new Le(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const s=n.element,o=Dk(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(s,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const s=[],o=this._animations.get(n);let a;const l=new Map;if(o?(a=Zb(this._driver,e,o,jb,Ap,new Map,new Map,i,MH,s),a.forEach(E=>{const R=ms(l,E.element,new Map);E.postStyleProps.forEach($=>R.set($,null))})):(s.push(function CY(){return new Le(3300,!1)}()),a=[]),s.length)throw function SY(t){return new Le(3504,!1)}();l.forEach((E,R)=>{E.forEach(($,X)=>{E.set(X,this._driver.computeStyle(R,X,qo))})});const _=Fa(a.map(E=>{const R=l.get(E.element);return this._buildPlayer(E,new Map,R)}));return this._playersById.set(n,_),_.onDestroy(()=>this.destroy(n)),this.players.push(_),_}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function DY(t){return new Le(3301,!1)}();return e}listen(n,e,i,s){const o=Yb(e,"","","");return Fb(this._getPlayer(n),i,o,s),()=>{}}command(n,e,i,s){if("register"==i)return void this.register(n,s[0]);if("create"==i)return void this.create(n,e,s[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(n)}}}const qk="ng-animate-queued",ey="ng-animate-disabled",TH=[],Kk={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xH={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Is="__ng_removed";class ty{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function IH(t){return t??null}(i?n.value:n),i){const o=Gd(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(s=>{null==i[s]&&(i[s]=e[s])})}}}const Kd="void",ny=new ty(Kd);class LH{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Os(e,this._hostClassName)}listen(n,e,i,s){if(!this._triggers.has(e))throw function kY(t,n){return new Le(3302,!1)}();if(null==i||0==i.length)throw function TY(t){return new Le(3303,!1)}();if(!function OH(t){return"start"==t||"done"==t}(i))throw function xY(t,n){return new Le(3400,!1)}();const o=ms(this._elementListeners,n,[]),a={name:e,phase:i,callback:s};o.push(a);const l=ms(this._engine.statesByElement,n,new Map);return l.has(e)||(Os(n,Rp),Os(n,Rp+"-"+e),l.set(e,ny)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(a);c>=0&&o.splice(c,1),this._triggers.has(e)||l.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function LY(t){return new Le(3401,!1)}();return e}trigger(n,e,i,s=!0){const o=this._getTrigger(e),a=new iy(this.id,e,n);let l=this._engine.statesByElement.get(n);l||(Os(n,Rp),Os(n,Rp+"-"+e),this._engine.statesByElement.set(n,l=new Map));let c=l.get(e);const _=new ty(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&_.absorbOptions(c.options),l.set(e,_),c||(c=ny),_.value!==Kd&&c.value===_.value){if(!function FH(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let s=0;s{Ml(n,Pe),Mo(n,Re)})}return}const $=ms(this._engine.playersByElement,n,[]);$.forEach(Se=>{Se.namespaceId==this.id&&Se.triggerName==e&&Se.queued&&Se.destroy()});let X=o.matchTransition(c.value,_.value,n,_.params),he=!1;if(!X){if(!s)return;X=o.fallbackTransition,he=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:X,fromState:c,toState:_,player:a,isFallbackTransition:he}),he||(Os(n,qk),a.onStart(()=>{Vc(n,qk)})),a.onDone(()=>{let Se=this.players.indexOf(a);Se>=0&&this.players.splice(Se,1);const Pe=this._engine.playersByElement.get(n);if(Pe){let Re=Pe.indexOf(a);Re>=0&&Pe.splice(Re,1)}}),this.players.push(a),$.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(s=>s.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Fp,!0);i.forEach(s=>{if(s[Is])return;const o=this._engine.fetchNamespacesByElement(s);o.size?o.forEach(a=>a.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(n,e,i,s){const o=this._engine.statesByElement.get(n),a=new Map;if(o){const l=[];if(o.forEach((c,_)=>{if(a.set(_,c.value),this._triggers.has(_)){const E=this.trigger(n,_,Kd,s);E&&l.push(E)}}),l.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&Fa(l).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const s=new Set;e.forEach(o=>{const a=o.name;if(s.has(a))return;s.add(a);const c=this._triggers.get(a).fallbackTransition,_=i.get(a)||ny,E=new ty(Kd),R=new iy(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:c,fromState:_,toState:E,player:R,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let s=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)s=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(n),s)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[Is];(!o||o===Kk)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Os(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const s=i.player;if(s.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(l=>{if(l.name==i.triggerName){const c=Yb(o,i.triggerName,i.fromState.value,i.toState.value);c._data=n,Fb(i.player,l.phase,c,l.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(i)}),this._queue=[],e.sort((i,s)=>{const o=i.transition.ast.depCount,a=s.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class EH{constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,o)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new LH(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,l=this.driver.getParentElement(e);for(;l;){const c=s.get(l);if(c){const _=i.indexOf(c);i.splice(_+1,0,n),a=!0;break}l=this.driver.getParentElement(l)}a||i.unshift(n)}else i.push(n);return s.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let s=this._namespaceLookup[n];s&&s.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let s of i.values())if(s.namespaceId){const o=this._fetchNamespace(s.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,s){if(qp(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,s),!0}return!1}insertNode(n,e,i,s){if(!qp(e))return;const o=e[Is];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}s&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Os(n,ey)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Vc(n,ey))}removeNode(n,e,i,s){if(qp(e)){const o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,s):this.markElementAsRemoved(n,e,!1,s),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==n&&a.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(n,e,i,s,o){this.collectedLeaveElements.push(e),e[Is]={namespaceId:n,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,s,o){return qp(e)?this._fetchNamespace(n).listen(e,i,s,o):()=>{}}_buildInstruction(n,e,i,s,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,s,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Fp,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Ub,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Fa(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Is];if(e&&e.setForRemoval){if(n[Is]=Kk,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(ey)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Fa(e).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(n){throw function EY(t){return new Le(3402,!1)}()}_flushAnimations(n,e){const i=new Wp,s=[],o=new Map,a=[],l=new Map,c=new Map,_=new Map,E=new Set;this.disabledNodes.forEach(ht=>{E.add(ht);const gt=this.driver.query(ht,".ng-animate-queued",!0);for(let Dt=0;Dt{const Dt=jb+Se++;he.set(gt,Dt),ht.forEach(un=>Os(un,Dt))});const Pe=[],Re=new Set,$e=new Set;for(let ht=0;htRe.add(un)):$e.add(gt))}const Fe=new Map,it=Jk($,Array.from(Re));it.forEach((ht,gt)=>{const Dt=Ap+Se++;Fe.set(gt,Dt),ht.forEach(un=>Os(un,Dt))}),n.push(()=>{X.forEach((ht,gt)=>{const Dt=he.get(gt);ht.forEach(un=>Vc(un,Dt))}),it.forEach((ht,gt)=>{const Dt=Fe.get(gt);ht.forEach(un=>Vc(un,Dt))}),Pe.forEach(ht=>{this.processLeaveNode(ht)})});const Et=[],en=[];for(let ht=this._namespaceList.length-1;ht>=0;ht--)this._namespaceList[ht].drainQueuedTransitions(e).forEach(Dt=>{const un=Dt.player,tr=Dt.element;if(Et.push(un),this.collectedEnterElements.length){const xr=tr[Is];if(xr&&xr.setForMove){if(xr.previousTriggersValues&&xr.previousTriggersValues.has(Dt.triggerName)){const Vl=xr.previousTriggersValues.get(Dt.triggerName),Rs=this.statesByElement.get(Dt.element);if(Rs&&Rs.has(Dt.triggerName)){const C_=Rs.get(Dt.triggerName);C_.value=Vl,Rs.set(Dt.triggerName,C_)}}return void un.destroy()}}const Eo=!R||!this.driver.containsElement(R,tr),Cs=Fe.get(tr),Xa=he.get(tr),hi=this._buildInstruction(Dt,i,Xa,Cs,Eo);if(hi.errors&&hi.errors.length)return void en.push(hi);if(Eo)return un.onStart(()=>Ml(tr,hi.fromStyles)),un.onDestroy(()=>Mo(tr,hi.toStyles)),void s.push(un);if(Dt.isFallbackTransition)return un.onStart(()=>Ml(tr,hi.fromStyles)),un.onDestroy(()=>Mo(tr,hi.toStyles)),void s.push(un);const wP=[];hi.timelines.forEach(xr=>{xr.stretchStartingKeyframe=!0,this.disabledNodes.has(xr.element)||wP.push(xr)}),hi.timelines=wP,i.append(tr,hi.timelines),a.push({instruction:hi,player:un,element:tr}),hi.queriedElements.forEach(xr=>ms(l,xr,[]).push(un)),hi.preStyleProps.forEach((xr,Vl)=>{if(xr.size){let Rs=c.get(Vl);Rs||c.set(Vl,Rs=new Set),xr.forEach((C_,e1)=>Rs.add(e1))}}),hi.postStyleProps.forEach((xr,Vl)=>{let Rs=_.get(Vl);Rs||_.set(Vl,Rs=new Set),xr.forEach((C_,e1)=>Rs.add(e1))})});if(en.length){const ht=[];en.forEach(gt=>{ht.push(function PY(t,n){return new Le(3505,!1)}())}),Et.forEach(gt=>gt.destroy()),this.reportError(ht)}const di=new Map,ys=new Map;a.forEach(ht=>{const gt=ht.element;i.has(gt)&&(ys.set(gt,gt),this._beforeAnimationBuild(ht.player.namespaceId,ht.instruction,di))}),s.forEach(ht=>{const gt=ht.element;this._getPreviousPlayers(gt,!1,ht.namespaceId,ht.triggerName,null).forEach(un=>{ms(di,gt,[]).push(un),un.destroy()})});const Ms=Pe.filter(ht=>eT(ht,c,_)),ws=new Map;Qk(ws,this.driver,$e,_,qo).forEach(ht=>{eT(ht,c,_)&&Ms.push(ht)});const aa=new Map;X.forEach((ht,gt)=>{Qk(aa,this.driver,new Set(ht),c,"!")}),Ms.forEach(ht=>{const gt=ws.get(ht),Dt=aa.get(ht);ws.set(ht,new Map([...Array.from(gt?.entries()??[]),...Array.from(Dt?.entries()??[])]))});const ro=[],Du=[],ku={};a.forEach(ht=>{const{element:gt,player:Dt,instruction:un}=ht;if(i.has(gt)){if(E.has(gt))return Dt.onDestroy(()=>Mo(gt,un.toStyles)),Dt.disabled=!0,Dt.overrideTotalTime(un.totalTime),void s.push(Dt);let tr=ku;if(ys.size>1){let Cs=gt;const Xa=[];for(;Cs=Cs.parentNode;){const hi=ys.get(Cs);if(hi){tr=hi;break}Xa.push(Cs)}Xa.forEach(hi=>ys.set(hi,tr))}const Eo=this._buildAnimation(Dt.namespaceId,un,di,o,aa,ws);if(Dt.setRealPlayer(Eo),tr===ku)ro.push(Dt);else{const Cs=this.playersByElement.get(tr);Cs&&Cs.length&&(Dt.parentPlayer=Fa(Cs)),s.push(Dt)}}else Ml(gt,un.fromStyles),Dt.onDestroy(()=>Mo(gt,un.toStyles)),Du.push(Dt),E.has(gt)&&s.push(Dt)}),Du.forEach(ht=>{const gt=o.get(ht.element);if(gt&>.length){const Dt=Fa(gt);ht.setRealPlayer(Dt)}}),s.forEach(ht=>{ht.parentPlayer?ht.syncPlayerEvents(ht.parentPlayer):ht.destroy()});for(let ht=0;ht!Eo.destroyed);tr.length?AH(this,gt,tr):this.processLeaveNode(gt)}return Pe.length=0,ro.forEach(ht=>{this.players.push(ht),ht.onDone(()=>{ht.destroy();const gt=this.players.indexOf(ht);this.players.splice(gt,1)}),ht.play()}),ro}elementContainsData(n,e){let i=!1;const s=e[Is];return s&&s.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,s,o){let a=[];if(e){const l=this.playersByQueriedElement.get(n);l&&(a=l)}else{const l=this.playersByElement.get(n);if(l){const c=!o||o==Kd;l.forEach(_=>{_.queued||!c&&_.triggerName!=s||a.push(_)})}}return(i||s)&&(a=a.filter(l=>!(i&&i!=l.namespaceId||s&&s!=l.triggerName))),a}_beforeAnimationBuild(n,e,i){const o=e.element,a=e.isRemovalTransition?void 0:n,l=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const _=c.element,E=_!==o,R=ms(i,_,[]);this._getPreviousPlayers(_,E,a,l,e.toState).forEach(X=>{const he=X.getRealPlayer();he.beforeDestroy&&he.beforeDestroy(),X.destroy(),R.push(X)})}Ml(o,e.fromStyles)}_buildAnimation(n,e,i,s,o,a){const l=e.triggerName,c=e.element,_=[],E=new Set,R=new Set,$=e.timelines.map(he=>{const Se=he.element;E.add(Se);const Pe=Se[Is];if(Pe&&Pe.removedBeforeQueried)return new $d(he.duration,he.delay);const Re=Se!==c,$e=function RH(t){const n=[];return Xk(t,n),n}((i.get(Se)||TH).map(di=>di.getRealPlayer())).filter(di=>!!di.element&&di.element===Se),Fe=o.get(Se),it=a.get(Se),Et=Dk(0,this._normalizer,0,he.keyframes,Fe,it),en=this._buildPlayer(he,Et,$e);if(he.subTimeline&&s&&R.add(Se),Re){const di=new iy(n,l,Se);di.setRealPlayer(en),_.push(di)}return en});_.forEach(he=>{ms(this.playersByQueriedElement,he.element,[]).push(he),he.onDone(()=>function PH(t,n,e){let i=t.get(n);if(i){if(i.length){const s=i.indexOf(e);i.splice(s,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,he.element,he))}),E.forEach(he=>Os(he,Ak));const X=Fa($);return X.onDestroy(()=>{E.forEach(he=>Vc(he,Ak)),Mo(c,e.toStyles)}),R.forEach(he=>{ms(s,he,[]).push(X)}),X}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new $d(n.duration,n.delay)}}class iy{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new $d,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(s=>Fb(n,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){ms(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function qp(t){return t&&1===t.nodeType}function Zk(t,n){const e=t.style.display;return t.style.display=n??"none",e}function Qk(t,n,e,i,s){const o=[];e.forEach(c=>o.push(Zk(c)));const a=[];i.forEach((c,_)=>{const E=new Map;c.forEach(R=>{const $=n.computeStyle(_,R,s);E.set(R,$),(!$||0==$.length)&&(_[Is]=xH,a.push(_))}),t.set(_,E)});let l=0;return e.forEach(c=>Zk(c,o[l++])),a}function Jk(t,n){const e=new Map;if(t.forEach(l=>e.set(l,[])),0==n.length)return e;const s=new Set(n),o=new Map;function a(l){if(!l)return 1;let c=o.get(l);if(c)return c;const _=l.parentNode;return c=e.has(_)?_:s.has(_)?1:a(_),o.set(l,c),c}return n.forEach(l=>{const c=a(l);1!==c&&e.get(c).push(l)}),e}function Os(t,n){t.classList?.add(n)}function Vc(t,n){t.classList?.remove(n)}function AH(t,n,e){Fa(e).onDone(()=>t.processLeaveNode(n))}function Xk(t,n){for(let e=0;es.add(o)):n.set(t,i),e.delete(t),!0}class Kp{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new EH(n,e,i),this._timelineEngine=new wH(n,e,i),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(n,e,i,s,o){const a=n+"-"+s;let l=this._triggerCache[a];if(!l){const c=[],E=Gb(this._driver,o,c,[]);if(c.length)throw function yY(t,n){return new Le(3404,!1)}();l=function vH(t,n,e){return new bH(t,n,e)}(s,E,this._normalizer),this._triggerCache[a]=l}this._transitionEngine.registerTrigger(e,s,l)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,s){this._transitionEngine.insertNode(n,e,i,s)}onRemove(n,e,i,s){this._transitionEngine.removeNode(n,e,s||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,s){if("@"==i.charAt(0)){const[o,a]=kk(i);this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(n,e,i,s)}listen(n,e,i,s,o){if("@"==i.charAt(0)){const[a,l]=kk(i);return this._timelineEngine.listen(a,e,l,o)}return this._transitionEngine.listen(n,e,i,s,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let YH=(()=>{class t{constructor(e,i,s){this._element=e,this._startStyles=i,this._endStyles=s,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Mo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mo(this._element,this._initialStyles),this._endStyles&&(Mo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ml(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ml(this._element,this._endStyles),this._endStyles=null),Mo(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ry(t){let n=null;return t.forEach((e,i)=>{(function HH(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class tT{constructor(n,e,i,s){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{"offset"!==s&&n.set(s,this._finished?i:Vk(this.element,s))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class VH{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return Ek(n,e)}getParentElement(n){return Vb(n)}query(n,e,i){return Pk(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,s,o,a=[]){const c={duration:i,delay:s,fill:0==s?"both":"forwards"};o&&(c.easing=o);const _=new Map,E=a.filter(X=>X instanceof tT);(function zY(t,n){return 0===t||0===n})(i,s)&&E.forEach(X=>{X.currentSnapshot.forEach((he,Se)=>_.set(Se,he))});let R=function VY(t){return t.length?t[0]instanceof Map?t:t.map(n=>Rk(n)):[]}(e).map(X=>Ya(X));R=function WY(t,n,e){if(e.size&&n.length){let i=n[0],s=[];if(e.forEach((o,a)=>{i.has(a)||s.push(a),i.set(a,o)}),s.length)for(let o=1;oa.set(l,Vk(t,l)))}}return n}(n,R,_);const $=function NH(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=ry(n[0]),n.length>1&&(i=ry(n[n.length-1]))):n instanceof Map&&(e=ry(n)),e||i?new YH(t,e,i):null}(n,R);return new tT(n,R,c,$)}}let BH=(()=>{class t extends bk{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Hi.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Mk(e):e;return nT(this._renderer,null,i,"register",[s]),new jH(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(yd),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class jH extends class Q5{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new UH(this._id,n,e||{},this._renderer)}}class UH{constructor(n,e,i,s){this.id=n,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return nT(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function nT(t,n,e,i,s){return t.setProperty(n,`@@${e}:${i}`,s)}const iT="@.disabled";let zH=(()=>{class t{constructor(e,i,s){this.delegate=e,this.engine=i,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{const l=a?.parentNode(o);l&&a.removeChild(l,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let E=this._rendererCache.get(o);return E||(E=new rT("",o,this.engine),this._rendererCache.set(o,E)),E}const a=i.id,l=i.id+"-"+this._currentId;this._currentId++,this.engine.register(l,e);const c=E=>{Array.isArray(E)?E.forEach(c):this.engine.registerTrigger(a,l,e,E.name,E)};return i.data.animation.forEach(c),new WH(this,l,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,s){e>=0&&ei(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,l]=o;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(Ce(yd),Ce(Kp),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class rT{constructor(n,e,i){this.namespaceId=n,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,s=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,s)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,s){this.delegate.setAttribute(n,e,i,s)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,s){this.delegate.setStyle(n,e,i,s)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==iT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class WH extends rT{constructor(n,e,i,s){super(e,i,s),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==iT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const s=function $H(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function GH(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,s,o,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,e,i)}}let qH=(()=>{class t extends Kp{constructor(e,i,s,o){super(e.body,i,s)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Bb),Ce(Jb),Ce(Yc))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const sT=[{provide:bk,useClass:BH},{provide:Jb,useFactory:function KH(){return new pH}},{provide:Kp,useClass:qH},{provide:yd,useFactory:function ZH(t,n,e){return new zH(t,n,e)},deps:[Op,Kp,mt]}],sy=[{provide:Bb,useFactory:()=>new VH},{provide:Ui,useValue:"BrowserAnimations"},...sT],oT=[{provide:Bb,useClass:Ik},{provide:Ui,useValue:"NoopAnimations"},...sT];let QH=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?oT:sy}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:sy,imports:[pk]}),t})();function ze(...t){let n=t[t.length-1];return ke(n)?(t.pop(),de(t,n)):tt(t)}function Ha(t,n){return we(t,n,1)}function Si(t,n){return function(i){return i.lift(new JH(t,n))}}class JH{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new XH(n,this.predicate,this.thisArg))}}class XH extends A{constructor(n,e,i){super(n),this.predicate=e,this.thisArg=i,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(n)}}class aT{}class lT{}class wo{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const s=e.slice(0,i),o=s.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(s,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const s=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(s,i),this.maybeSetNormalizedName(e,s))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof wo?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new wo;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof wo?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const s=("a"===n.op?this.headers.get(e):void 0)||[];s.push(...i),this.headers.set(e,s);break;case"d":const o=n.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(l=>-1===o.indexOf(l)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class eV{encodeKey(n){return cT(n)}encodeValue(n){return cT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const nV=/%(\d[a-f0-9])/gi,iV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function cT(t){return encodeURIComponent(t).replace(nV,(n,e)=>iV[e]??n)}function Qp(t){return`${t}`}class Va{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new eV,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tV(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(s=>{const o=s.indexOf("="),[a,l]=-1==o?[n.decodeKey(s),""]:[n.decodeKey(s.slice(0,o)),n.decodeValue(s.slice(o+1))],c=e.get(a)||[];c.push(l),e.set(a,c)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],s=Array.isArray(i)?i.map(Qp):[Qp(i)];this.map.set(e,s)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const s=n[i];Array.isArray(s)?s.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:s,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Va({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Qp(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const s=i.indexOf(Qp(n.value));-1!==s&&i.splice(s,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class rV{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function uT(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function dT(t){return typeof Blob<"u"&&t instanceof Blob}function hT(t){return typeof FormData<"u"&&t instanceof FormData}class Zd{constructor(n,e,i,s){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function sV(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==i?i:null,o=s):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new wo),this.context||(this.context=new rV),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":lR.set($,n.setHeaders[$]),c)),n.setParams&&(_=Object.keys(n.setParams).reduce((R,$)=>R.set($,n.setParams[$]),_)),new Zd(e,i,o,{params:_,headers:c,context:E,reportProgress:l,responseType:s,withCredentials:a})}}var Ni=(()=>((Ni=Ni||{})[Ni.Sent=0]="Sent",Ni[Ni.UploadProgress=1]="UploadProgress",Ni[Ni.ResponseHeader=2]="ResponseHeader",Ni[Ni.DownloadProgress=3]="DownloadProgress",Ni[Ni.Response=4]="Response",Ni[Ni.User=5]="User",Ni))();class oy{constructor(n,e=200,i="OK"){this.headers=n.headers||new wo,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class ay extends oy{constructor(n={}){super(n),this.type=Ni.ResponseHeader}clone(n={}){return new ay({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Jp extends oy{constructor(n={}){super(n),this.type=Ni.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Jp({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class fT extends oy{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function ly(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Cl=(()=>{class t{constructor(e){this.handler=e}request(e,i,s={}){let o;if(e instanceof Zd)o=e;else{let c,_;c=s.headers instanceof wo?s.headers:new wo(s.headers),s.params&&(_=s.params instanceof Va?s.params:new Va({fromObject:s.params})),o=new Zd(e,i,void 0!==s.body?s.body:null,{headers:c,context:s.context,params:_,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const a=ze(o).pipe(Ha(c=>this.handler.handle(c)));if(e instanceof Zd||"events"===s.observe)return a;const l=a.pipe(Si(c=>c instanceof Jp));switch(s.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return l.pipe(Xe(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(Xe(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(Xe(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(Xe(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Va).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,s={}){return this.request("PATCH",e,ly(s,i))}post(e,i,s={}){return this.request("POST",e,ly(s,i))}put(e,i,s={}){return this.request("PUT",e,ly(s,i))}}return t.\u0275fac=function(e){return new(e||t)(Ce(aT))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class pT{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const mT=new Be("HTTP_INTERCEPTORS");let aV=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const lV=/^\)\]\}',?\n/;let _T=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce(i=>{const s=this.xhrFactory.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((X,he)=>s.setRequestHeader(X,he.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const X=e.detectContentTypeHeader();null!==X&&s.setRequestHeader("Content-Type",X)}if(e.responseType){const X=e.responseType.toLowerCase();s.responseType="json"!==X?X:"text"}const o=e.serializeBody();let a=null;const l=()=>{if(null!==a)return a;const X=s.statusText||"OK",he=new wo(s.getAllResponseHeaders()),Se=function cV(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||e.url;return a=new ay({headers:he,status:s.status,statusText:X,url:Se}),a},c=()=>{let{headers:X,status:he,statusText:Se,url:Pe}=l(),Re=null;204!==he&&(Re=typeof s.response>"u"?s.responseText:s.response),0===he&&(he=Re?200:0);let $e=he>=200&&he<300;if("json"===e.responseType&&"string"==typeof Re){const Fe=Re;Re=Re.replace(lV,"");try{Re=""!==Re?JSON.parse(Re):null}catch(it){Re=Fe,$e&&($e=!1,Re={error:it,text:Re})}}$e?(i.next(new Jp({body:Re,headers:X,status:he,statusText:Se,url:Pe||void 0})),i.complete()):i.error(new fT({error:Re,headers:X,status:he,statusText:Se,url:Pe||void 0}))},_=X=>{const{url:he}=l(),Se=new fT({error:X,status:s.status||0,statusText:s.statusText||"Unknown Error",url:he||void 0});i.error(Se)};let E=!1;const R=X=>{E||(i.next(l()),E=!0);let he={type:Ni.DownloadProgress,loaded:X.loaded};X.lengthComputable&&(he.total=X.total),"text"===e.responseType&&!!s.responseText&&(he.partialText=s.responseText),i.next(he)},$=X=>{let he={type:Ni.UploadProgress,loaded:X.loaded};X.lengthComputable&&(he.total=X.total),i.next(he)};return s.addEventListener("load",c),s.addEventListener("error",_),s.addEventListener("timeout",_),s.addEventListener("abort",_),e.reportProgress&&(s.addEventListener("progress",R),null!==o&&s.upload&&s.upload.addEventListener("progress",$)),s.send(o),i.next({type:Ni.Sent}),()=>{s.removeEventListener("error",_),s.removeEventListener("abort",_),s.removeEventListener("load",c),s.removeEventListener("timeout",_),e.reportProgress&&(s.removeEventListener("progress",R),null!==o&&s.upload&&s.upload.removeEventListener("progress",$)),s.readyState!==s.DONE&&s.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Ce(KD))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const cy=new Be("XSRF_COOKIE_NAME"),uy=new Be("XSRF_HEADER_NAME");class gT{}let uV=(()=>{class t{constructor(e,i,s){this.doc=e,this.platform=i,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ND(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(dp),Ce(cy))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),dy=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const s=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||s.startsWith("http://")||s.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(gT),Ce(uy))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),dV=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(mT,[]);this.chain=i.reduceRight((s,o)=>new pT(s,o),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(lT),Ce(Jn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),hV=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:dy,useClass:aV}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:cy,useValue:e.cookieName}:[],e.headerName?{provide:uy,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[dy,{provide:mT,useExisting:dy,multi:!0},{provide:gT,useClass:uV},{provide:cy,useValue:"XSRF-TOKEN"},{provide:uy,useValue:"X-XSRF-TOKEN"}]}),t})(),fV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Cl,{provide:aT,useClass:dV},_T,{provide:lT,useExisting:_T}],imports:[hV.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})();class Wi extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ne;return this._value}next(n){super.next(this._value=n)}}const Xp=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),vT={};function hy(...t){let n=null,e=null;return ke(t[t.length-1])&&(e=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&M(t[0])&&(t=t[0]),tt(t,e).lift(new pV(n))}class pV{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new mV(n,this.resultSelector))}}class mV extends Kn{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(vT),this.observables.push(n)}_complete(){const n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;it.complete());function em(t){return t?function gV(t){return new ce(n=>t.schedule(()=>n.complete()))}(t):Ba}function Qd(t){return new ce(n=>{let e;try{e=t()}catch(s){return void n.error(s)}return(e?ge(e):em()).subscribe(n)})}function Dr(t,n){return new ce(n?e=>n.schedule(vV,0,{error:t,subscriber:e}):e=>e.error(t))}function vV({error:t,subscriber:n}){n.error(t)}function lr(t,n){return"function"==typeof n?e=>e.pipe(lr((i,s)=>ge(t(i,s)).pipe(Xe((o,a)=>n(i,o,s,a))))):e=>e.lift(new bV(t))}class bV{constructor(n){this.project=n}call(n,e){return e.subscribe(new yV(n,this.project))}}class yV extends Kn{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e;const i=this.index++;try{e=this.project(n,i)}catch(s){return void this.destination.error(s)}this._innerSub(e,n,i)}_innerSub(n,e,i){const s=this.innerSubscription;s&&s.unsubscribe();const o=new Ae(this,void 0,void 0);this.destination.add(o),this.innerSubscription=jn(this,n,e,i,o)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(n,e,i,s,o){this.destination.next(e)}}const bT=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function An(t){return n=>0===t?em():n.lift(new MV(t))}class MV{constructor(n){if(this.total=n,this.total<0)throw new bT}call(n,e){return e.subscribe(new wV(n,this.total))}}class wV extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){const e=this.total,i=++this.count;i<=e&&(this.destination.next(n),i===e&&(this.destination.complete(),this.unsubscribe()))}}function Yr(...t){const n=t[t.length-1];return ke(n)?(t.pop(),e=>Sl(t,e,n)):e=>Sl(t,e)}function Jd(t=null){return n=>n.lift(new CV(t))}class CV{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new SV(n,this.defaultValue))}}class SV extends A{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function yT(t=TV){return n=>n.lift(new DV(t))}class DV{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new kV(n,this.errorFactory))}}class kV extends A{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}}function TV(){return new Xp}function ja(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Si((s,o)=>t(s,o,i)):ut,An(1),e?Jd(n):yT(()=>new Xp))}function ui(t,n,e){return function(s){return s.lift(new xV(t,n,e))}}class xV{constructor(n,e,i){this.nextOrObserver=n,this.error=e,this.complete=i}call(n,e){return e.subscribe(new LV(n,this.nextOrObserver,this.error,this.complete))}}class LV extends A{constructor(n,e,i,s){super(n),this._tapNext=ve,this._tapError=ve,this._tapComplete=ve,this._tapError=i||ve,this._tapComplete=s||ve,I(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||ve,this._tapError=e.error||ve,this._tapComplete=e.complete||ve)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Qr(t){return function(e){const i=new EV(t),s=e.lift(i);return i.caught=s}}class EV{constructor(n){this.selector=n}call(n,e){return e.subscribe(new PV(n,this.selector,this.caught))}}class PV extends Kn{constructor(n,e,i){super(n),this.selector=e,this.caught=i}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new Ae(this,void 0,void 0);this.add(i),jn(this,e,void 0,void 0,i)}}}function tm(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new IV(t,n,e))}}class IV{constructor(n,e,i=!1){this.accumulator=n,this.seed=e,this.hasSeed=i}call(n,e){return e.subscribe(new OV(n,this.accumulator,this.seed,this.hasSeed))}}class OV extends A{constructor(n,e,i,s){super(n),this.accumulator=e,this._seed=i,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let i;try{i=this.accumulator(this.seed,n,e)}catch(s){this.destination.error(s)}this.seed=i,this.destination.next(i)}}function Xd(t){return function(e){return 0===t?em():e.lift(new AV(t))}}class AV{constructor(n){if(this.total=n,this.total<0)throw new bT}call(n,e){return e.subscribe(new RV(n,this.total))}}class RV extends A{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,i=this.total,s=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,s=this.ring;for(let o=0;o=2;return i=>i.pipe(t?Si((s,o)=>t(s,o,i)):ut,Xd(1),e?Jd(n):yT(()=>new Xp))}function wT(t,n=!1){return e=>e.lift(new FV(t,n))}class FV{constructor(n,e){this.predicate=n,this.inclusive=e}call(n,e){return e.subscribe(new NV(n,this.predicate,this.inclusive))}}class NV extends A{constructor(n,e,i){super(n),this.predicate=e,this.inclusive=i,this.index=0}_next(n){const e=this.destination;let i;try{i=this.predicate(n,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(n,i)}nextOrComplete(n,e){const i=this.destination;Boolean(e)?i.next(n):(this.inclusive&&i.next(n),i.complete())}}class HV{constructor(n){this.value=n}call(n,e){return e.subscribe(new VV(n,this.value))}}class VV extends A{constructor(n,e){super(n),this.value=e}_next(n){this.destination.next(this.value)}}function nm(t){return n=>n.lift(new BV(t))}class BV{constructor(n){this.callback=n}call(n,e){return e.subscribe(new jV(n,this.callback))}}class jV extends A{constructor(n,e){super(n),this.add(new x(e))}}const $t="primary",eh=Symbol("RouteTitle");class UV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Bc(t){return new UV(t)}function zV(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[o]===s)}return t===n}function ST(t){return Array.prototype.concat.apply([],t)}function DT(t){return t.length>0?t[t.length-1]:null}function cr(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Ua(t){return Tv(t)?t:Ld(t)?ge(Promise.resolve(t)):ze(t)}const GV={exact:function xT(t,n,e){if(!kl(t.segments,n.segments)||!im(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!xT(t.children[i],n.children[i],e))return!1;return!0},subset:LT},kT={exact:function qV(t,n){return Co(t,n)},subset:function KV(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>CT(t[e],n[e]))},ignored:()=>!0};function TT(t,n,e){return GV[e.paths](t.root,n.root,e.matrixParams)&&kT[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function LT(t,n,e){return ET(t,n,n.segments,e)}function ET(t,n,e,i){if(t.segments.length>e.length){const s=t.segments.slice(0,e.length);return!(!kl(s,e)||n.hasChildren()||!im(s,e,i))}if(t.segments.length===e.length){if(!kl(t.segments,e)||!im(t.segments,e,i))return!1;for(const s in n.children)if(!t.children[s]||!LT(t.children[s],n.children[s],i))return!1;return!0}{const s=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(kl(t.segments,s)&&im(t.segments,s,i)&&t.children[$t])&&ET(t.children[$t],n,o,i)}}function im(t,n,e){return n.every((i,s)=>kT[e](t[s].parameters,i.parameters))}class Dl{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}toString(){return JV.serialize(this)}}class qt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,cr(e,(i,s)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rm(this)}}class th{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Bc(this.parameters)),this._parameterMap}toString(){return AT(this)}}function kl(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let PT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return new py},providedIn:"root"}),t})();class py{parse(n){const e=new aB(n);return new Dl(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${nh(n.root,!0)}`,i=function tB(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(s=>`${sm(e)}=${sm(s)}`).join("&"):`${sm(e)}=${sm(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams),s="string"==typeof n.fragment?`#${function XV(t){return encodeURI(t)}(n.fragment)}`:"";return`${e}${i}${s}`}}const JV=new py;function rm(t){return t.segments.map(n=>AT(n)).join("/")}function nh(t,n){if(!t.hasChildren())return rm(t);if(n){const e=t.children[$t]?nh(t.children[$t],!1):"",i=[];return cr(t.children,(s,o)=>{o!==$t&&i.push(`${o}:${nh(s,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function QV(t,n){let e=[];return cr(t.children,(i,s)=>{s===$t&&(e=e.concat(n(i,s)))}),cr(t.children,(i,s)=>{s!==$t&&(e=e.concat(n(i,s)))}),e}(t,(i,s)=>s===$t?[nh(t.children[$t],!1)]:[`${s}:${nh(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[$t]?`${rm(t)}/${e[0]}`:`${rm(t)}/(${e.join("//")})`}}function IT(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sm(t){return IT(t).replace(/%3B/gi,";")}function my(t){return IT(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function om(t){return decodeURIComponent(t)}function OT(t){return om(t.replace(/\+/g,"%20"))}function AT(t){return`${my(t.path)}${function eB(t){return Object.keys(t).map(n=>`;${my(n)}=${my(t[n])}`).join("")}(t.parameters)}`}const nB=/^[^\/()?;=#]+/;function am(t){const n=t.match(nB);return n?n[0]:""}const iB=/^[^=?&#]+/,sB=/^[^&#]+/;class aB{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new qt([],{}):new qt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[$t]=new qt(n,e)),i}parseSegment(){const n=am(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Le(4009,!1);return this.capture(n),new th(om(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=am(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=am(this.remaining);s&&(i=s,this.capture(i))}n[om(e)]=om(i)}parseQueryParam(n){const e=function rB(t){const n=t.match(iB);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function oB(t){const n=t.match(sB);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const s=OT(e),o=OT(i);if(n.hasOwnProperty(s)){let a=n[s];Array.isArray(a)||(a=[a],n[s]=a),a.push(o)}else n[s]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=am(this.remaining),s=this.remaining[i.length];if("/"!==s&&")"!==s&&";"!==s)throw new Le(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=$t);const a=this.parseChildren();e[o]=1===Object.keys(a).length?a[$t]:new qt([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Le(4011,!1)}}function _y(t){return t.segments.length>0?new qt([],{[$t]:t}):t}function lm(t){const n={};for(const i of Object.keys(t.children)){const o=lm(t.children[i]);(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function lB(t){if(1===t.numberOfChildren&&t.children[$t]){const n=t.children[$t];return new qt(t.segments.concat(n.segments),n.children)}return t}(new qt(t.segments,n))}function Tl(t){return t instanceof Dl}function dB(t,n,e,i,s){if(0===e.length)return jc(n.root,n.root,n.root,i,s);const o=function NT(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new FT(!0,0,t);let n=0,e=!1;const i=t.reduce((s,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const l={};return cr(o.outlets,(c,_)=>{l[_]="string"==typeof c?c.split("/"):c}),[...s,{outlets:l}]}if(o.segmentPath)return[...s,o.segmentPath]}return"string"!=typeof o?[...s,o]:0===a?(o.split("/").forEach((l,c)=>{0==c&&"."===l||(0==c&&""===l?e=!0:".."===l?n++:""!=l&&s.push(l))}),s):[...s,o]},[]);return new FT(e,n,i)}(e);return o.toRoot()?jc(n.root,n.root,new qt([],{}),i,s):function a(c){const _=function fB(t,n,e,i){if(t.isAbsolute)return new Uc(n.root,!0,0);if(-1===i)return new Uc(e,e===n.root,0);return function YT(t,n,e){let i=t,s=n,o=e;for(;o>s;){if(o-=s,i=i.parent,!i)throw new Le(4005,!1);s=i.segments.length}return new Uc(i,!1,s-o)}(e,i+(ih(t.commands[0])?0:1),t.numberOfDoubleDots)}(o,n,t.snapshot?._urlSegment,c),E=_.processChildren?sh(_.segmentGroup,_.index,o.commands):vy(_.segmentGroup,_.index,o.commands);return jc(n.root,_.segmentGroup,E,i,s)}(t.snapshot?._lastPathIndex)}function ih(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function rh(t){return"object"==typeof t&&null!=t&&t.outlets}function jc(t,n,e,i,s){let a,o={};i&&cr(i,(c,_)=>{o[_]=Array.isArray(c)?c.map(E=>`${E}`):`${c}`}),a=t===n?e:RT(t,n,e);const l=_y(lm(a));return new Dl(l,o,s)}function RT(t,n,e){const i={};return cr(t.children,(s,o)=>{i[o]=s===n?e:RT(s,n,e)}),new qt(t.segments,i)}class FT{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&ih(i[0]))throw new Le(4003,!1);const s=i.find(rh);if(s&&s!==DT(i))throw new Le(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Uc{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function vy(t,n,e){if(t||(t=new qt([],{})),0===t.segments.length&&t.hasChildren())return sh(t,n,e);const i=function mB(t,n,e){let i=0,s=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return o;const a=t.segments[s],l=e[i];if(rh(l))break;const c=`${l}`,_=i0&&void 0===c)break;if(c&&_&&"object"==typeof _&&void 0===_.outlets){if(!VT(c,_,a))return o;i+=2}else{if(!VT(c,{},a))return o;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,n,e),s=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(s[a]=vy(t.children[a],n,o))}),cr(t.children,(o,a)=>{void 0===i[a]&&(s[a]=o)}),new qt(t.segments,s)}}function by(t,n,e){const i=t.segments.slice(0,n);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=by(new qt([],{}),0,e))}),n}function HT(t){const n={};return cr(t,(e,i)=>n[i]=`${e}`),n}function VT(t,n,e){return t==e.path&&Co(n,e.parameters)}class Zo{constructor(n,e){this.id=n,this.url=e}}class yy extends Zo{constructor(n,e,i="imperative",s=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class za extends Zo{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class cm extends Zo{constructor(n,e,i,s){super(n,e),this.reason=i,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class BT extends Zo{constructor(n,e,i,s){super(n,e),this.error=i,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bB extends Zo{constructor(n,e,i,s,o){super(n,e),this.urlAfterRedirects=i,this.state=s,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class MB extends Zo{constructor(n,e,i,s){super(n,e),this.urlAfterRedirects=i,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wB{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class CB{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class SB{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class DB{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kB{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TB{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jT{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class UT{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=My(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=My(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=wy(n,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==n)}pathFromRoot(n){return wy(n,this._root).map(e=>e.value)}}function My(t,n){if(t===n.value)return n;for(const e of n.children){const i=My(t,e);if(i)return i}return null}function wy(t,n){if(t===n.value)return[n];for(const e of n.children){const i=wy(t,e);if(i.length)return i.unshift(n),i}return[]}class Qo{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function zc(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class zT extends UT{constructor(n,e){super(n),this.snapshot=e,Cy(this,n)}toString(){return this.snapshot.toString()}}function WT(t,n){const e=function LB(t,n){const a=new um([],{},{},"",{},$t,n,null,t.root,-1,{});return new GT("",new Qo(a,[]))}(t,n),i=new Wi([new th("",{})]),s=new Wi({}),o=new Wi({}),a=new Wi({}),l=new Wi(""),c=new Qi(i,s,a,l,o,$t,n,e.root);return c.snapshot=e.root,new zT(new Qo(c,[]),e)}class Qi{constructor(n,e,i,s,o,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=s,this.data=o,this.outlet=a,this.component=l,this.title=this.data?.pipe(Xe(_=>_[eh]))??ze(void 0),this._futureSnapshot=c}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Xe(n=>Bc(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Xe(n=>Bc(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $T(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const s=e[i],o=e[i-1];if(s.routeConfig&&""===s.routeConfig.path)i--;else{if(o.component)break;i--}}return function EB(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class um{constructor(n,e,i,s,o,a,l,c,_,E,R,$){this.url=n,this.params=e,this.queryParams=i,this.fragment=s,this.data=o,this.outlet=a,this.component=l,this.title=this.data?.[eh],this.routeConfig=c,this._urlSegment=_,this._lastPathIndex=E,this._correctedLastPathIndex=$??E,this._resolve=R}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Bc(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class GT extends UT{constructor(n,e){super(e),this.url=n,Cy(this,e)}toString(){return qT(this._root)}}function Cy(t,n){n.value._routerState=t,n.children.forEach(e=>Cy(t,e))}function qT(t){const n=t.children.length>0?` { ${t.children.map(qT).join(", ")} } `:"";return`${t.value}${n}`}function Sy(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Co(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Co(n.params,e.params)||t.params.next(e.params),function WV(t,n){if(t.length!==n.length)return!1;for(let e=0;eCo(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Dy(t.parent,n.parent))}function oh(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const s=function IB(t,n,e){return n.children.map(i=>{for(const s of e.children)if(t.shouldReuseRoute(i.value,s.value.snapshot))return oh(t,i,s);return oh(t,i)})}(t,n,e);return new Qo(i,s)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(l=>oh(t,l)),a}}const i=function OB(t){return new Qi(new Wi(t.url),new Wi(t.params),new Wi(t.queryParams),new Wi(t.fragment),new Wi(t.data),t.outlet,t.component,t)}(n.value),s=n.children.map(o=>oh(t,o));return new Qo(i,s)}}const ky="ngNavigationCancelingError";function KT(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Tl(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,s=ZT(!1,0,n);return s.url=e,s.navigationBehaviorOptions=i,s}function ZT(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[ky]=!0,i.cancellationCode=n,e&&(i.url=e),i}function QT(t){return JT(t)&&Tl(t.url)}function JT(t){return t&&t[ky]}class AB{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ah,this.attachRef=null}}let ah=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const s=this.getOrCreateContext(e);s.outlet=i,this.contexts.set(e,s)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new AB,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const dm=!1;let hm=(()=>{class t{constructor(e,i,s,o,a){this.parentContexts=e,this.location=i,this.changeDetector=o,this.environmentInjector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new ft,this.deactivateEvents=new ft,this.attachEvents=new ft,this.detachEvents=new ft,this.name=s||$t,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Le(4012,dm);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Le(4012,dm);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Le(4012,dm);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Le(4013,dm);this._activatedRoute=e;const s=this.location,a=e._futureSnapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new RB(e,l,s.injector);if(i&&function FB(t){return!!t.resolveComponentFactory}(i)){const _=i.resolveComponentFactory(a);this.activated=s.createComponent(_,s.length,c)}else this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(N(ah),N(ar),Ht("name"),N(Xn),N(Ta))},t.\u0275dir=Je({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class RB{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Qi?this.route:n===ah?this.childContexts:this.parent.get(n,e)}}let Ty=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["ng-component"]],standalone:!0,features:[lS],decls:1,vars:0,template:function(e,i){1&e&&De(0,"router-outlet")},dependencies:[hm],encapsulation:2}),t})();function XT(t,n){return t.providers&&!t._injector&&(t._injector=sp(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Ly(t){const n=t.children&&t.children.map(Ly),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==$t&&(e.component=Ty),e}function As(t){return t.outlet||$t}function ex(t,n){const e=t.filter(i=>As(i)===n);return e.push(...t.filter(i=>As(i)!==n)),e}function lh(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class BB{constructor(n,e,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=s}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Sy(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const s=zc(e);n.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,s[a],i),delete s[a]}),cr(s,(o,a)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const s=n.value,o=e?e.value:null;if(s===o)if(s.component){const a=i.getContext(s.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),s=i&&n.value.component?i.children:e,o=zc(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],s);if(i&&i.outlet){const a=i.outlet.detach(),l=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:l})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),s=i&&n.value.component?i.children:e,o=zc(n);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],s);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const s=zc(e);n.children.forEach(o=>{this.activateRoutes(o,s[o.value.outlet],i),this.forwardEvent(new TB(o.value.snapshot))}),n.children.length&&this.forwardEvent(new DB(n.value.snapshot))}activateRoutes(n,e,i){const s=n.value,o=e?e.value:null;if(Sy(s),s===o)if(s.component){const a=i.getOrCreateContext(s.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(s.component){const a=i.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const l=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),Sy(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=lh(s.snapshot),c=l?.get(xa)??null;a.attachRef=null,a.route=s,a.resolver=c,a.injector=l,a.outlet&&a.outlet.activateWith(s,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class tx{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class fm{constructor(n,e){this.component=n,this.route=e}}function jB(t,n,e){const i=t._root;return ch(i,n?n._root:null,e,[i.value])}function Wc(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function k_(t){return null!==nl(t)}(t)?n.get(t):t:i}function ch(t,n,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=zc(n);return t.children.forEach(a=>{(function zB(t,n,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,l=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function WB(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!kl(t.url,n.url);case"pathParamsOrQueryParamsChange":return!kl(t.url,n.url)||!Co(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Dy(t,n)||!Co(t.queryParams,n.queryParams);default:return!Dy(t,n)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new tx(i)):(o.data=a.data,o._resolvedData=a._resolvedData),ch(t,n,o.component?l?l.children:null:e,i,s),c&&l&&l.outlet&&l.outlet.isActivated&&s.canDeactivateChecks.push(new fm(l.outlet.component,a))}else a&&uh(n,l,s),s.canActivateChecks.push(new tx(i)),ch(t,null,o.component?l?l.children:null:e,i,s)})(a,o[a.value.outlet],e,i.concat([a.value]),s),delete o[a.value.outlet]}),cr(o,(a,l)=>uh(a,e.getContext(l),s)),s}function uh(t,n,e){const i=zc(t),s=t.value;cr(i,(o,a)=>{uh(o,s.component?n?n.children.getContext(a):null:n,e)}),e.canDeactivateChecks.push(new fm(s.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,s))}function dh(t){return"function"==typeof t}function Ey(t){return t instanceof Xp||"EmptyError"===t?.name}const pm=Symbol("INITIAL_VALUE");function $c(){return lr(t=>hy(t.map(n=>n.pipe(An(1),Yr(pm)))).pipe(Xe(n=>{for(const e of n)if(!0!==e){if(e===pm)return pm;if(!1===e||e instanceof Dl)return e}return!0}),Si(n=>n!==pm),An(1)))}function nx(t){return Z(ui(n=>{if(Tl(n))throw KT(0,n)}),Xe(n=>!0===n))}const Py={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ix(t,n,e,i,s){const o=Iy(t,n,e);return o.matched?function lj(t,n,e,i){const s=n.canMatch;return s&&0!==s.length?ze(s.map(a=>{const l=Wc(a,t);return Ua(function QB(t){return t&&dh(t.canMatch)}(l)?l.canMatch(n,e):t.runInContext(()=>l(n,e)))})).pipe($c(),nx()):ze(!0)}(i=XT(n,i),n,e).pipe(Xe(a=>!0===a?o:{...Py})):ze(o)}function Iy(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...Py}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(n.matcher||zV)(e,t,n);if(!s)return{...Py};const o={};cr(s.posParams,(l,c)=>{o[c]=l.path});const a=s.consumed.length>0?{...o,...s.consumed[s.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:a,positionalParamSegments:s.posParams??{}}}function mm(t,n,e,i,s="corrected"){if(e.length>0&&function dj(t,n,e){return e.some(i=>_m(t,n,i)&&As(i)!==$t)}(t,e,i)){const a=new qt(n,function uj(t,n,e,i){const s={};s[$t]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const o of e)if(""===o.path&&As(o)!==$t){const a=new qt([],{});a._sourceSegment=t,a._segmentIndexShift=n.length,s[As(o)]=a}return s}(t,n,i,new qt(e,t.children)));return a._sourceSegment=t,a._segmentIndexShift=n.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function hj(t,n,e){return e.some(i=>_m(t,n,i))}(t,e,i)){const a=new qt(t.segments,function cj(t,n,e,i,s,o){const a={};for(const l of i)if(_m(t,e,l)&&!s[As(l)]){const c=new qt([],{});c._sourceSegment=t,c._segmentIndexShift="legacy"===o?t.segments.length:n.length,a[As(l)]=c}return{...s,...a}}(t,n,e,i,t.children,s));return a._sourceSegment=t,a._segmentIndexShift=n.length,{segmentGroup:a,slicedSegments:e}}const o=new qt(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}function _m(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function rx(t,n,e,i){return!!(As(t)===i||i!==$t&&_m(n,e,t))&&("**"===t.path||Iy(n,t,e).matched)}function sx(t,n,e){return 0===n.length&&!t.children[e]}const gm=!1;class vm{constructor(n){this.segmentGroup=n||null}}class ox{constructor(n){this.urlTree=n}}function hh(t){return Dr(new vm(t))}function ax(t){return Dr(new ox(t))}class _j{constructor(n,e,i,s,o){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=s,this.config=o,this.allowRedirects=!0}apply(){const n=mm(this.urlTree.root,[],[],this.config).segmentGroup,e=new qt(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,$t).pipe(Xe(o=>this.createUrlTree(lm(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Qr(o=>{if(o instanceof ox)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof vm?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,$t).pipe(Xe(s=>this.createUrlTree(lm(s),n.queryParams,n.fragment))).pipe(Qr(s=>{throw s instanceof vm?this.noMatchError(s):s}))}noMatchError(n){return new Le(4002,gm)}createUrlTree(n,e,i){const s=_y(n);return new Dl(s,e,i)}expandSegmentGroup(n,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(Xe(o=>new qt([],o))):this.expandSegment(n,i,e,i.segments,s,!0)}expandChildren(n,e,i){const s=[];for(const o of Object.keys(i.children))"primary"===o?s.unshift(o):s.push(o);return ge(s).pipe(Ha(o=>{const a=i.children[o],l=ex(e,o);return this.expandSegmentGroup(n,l,a,o).pipe(Xe(c=>({segment:c,outlet:o})))}),tm((o,a)=>(o[a.outlet]=a.segment,o),{}),MT())}expandSegment(n,e,i,s,o,a){return ge(i).pipe(Ha(l=>this.expandSegmentAgainstRoute(n,e,i,l,s,o,a).pipe(Qr(_=>{if(_ instanceof vm)return ze(null);throw _}))),ja(l=>!!l),Qr((l,c)=>{if(Ey(l))return sx(e,s,o)?ze(new qt([],{})):hh(e);throw l}))}expandSegmentAgainstRoute(n,e,i,s,o,a,l){return rx(s,e,o,a)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(n,e,s,o,a):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a):hh(e):hh(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,s,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,s){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?ax(o):this.lineralizeSegments(i,o).pipe(we(a=>{const l=new qt(a,{});return this.expandSegment(n,l,e,a,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,s,o,a){const{matched:l,consumedSegments:c,remainingSegments:_,positionalParamSegments:E}=Iy(e,s,o);if(!l)return hh(e);const R=this.applyRedirectCommands(c,s.redirectTo,E);return s.redirectTo.startsWith("/")?ax(R):this.lineralizeSegments(s,R).pipe(we($=>this.expandSegment(n,e,i,$.concat(_),a,!1)))}matchSegmentAgainstRoute(n,e,i,s,o){return"**"===i.path?(n=XT(i,n),i.loadChildren?(i._loadedRoutes?ze({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(Xe(l=>(i._loadedRoutes=l.routes,i._loadedInjector=l.injector,new qt(s,{})))):ze(new qt(s,{}))):ix(e,i,s,n).pipe(lr(({matched:a,consumedSegments:l,remainingSegments:c})=>a?this.getChildConfig(n=i._injector??n,i,s).pipe(we(E=>{const R=E.injector??n,$=E.routes,{segmentGroup:X,slicedSegments:he}=mm(e,l,c,$),Se=new qt(X.segments,X.children);if(0===he.length&&Se.hasChildren())return this.expandChildren(R,$,Se).pipe(Xe(Fe=>new qt(l,Fe)));if(0===$.length&&0===he.length)return ze(new qt(l,{}));const Pe=As(i)===o;return this.expandSegment(R,Se,$,he,Pe?$t:o,!0).pipe(Xe($e=>new qt(l.concat($e.segments),$e.children)))})):hh(e)))}getChildConfig(n,e,i){return e.children?ze({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?ze({routes:e._loadedRoutes,injector:e._loadedInjector}):function aj(t,n,e,i){const s=n.canLoad;return void 0===s||0===s.length?ze(!0):ze(s.map(a=>{const l=Wc(a,t);return Ua(function GB(t){return t&&dh(t.canLoad)}(l)?l.canLoad(n,e):t.runInContext(()=>l(n,e)))})).pipe($c(),nx())}(n,e,i).pipe(we(s=>s?this.configLoader.loadChildren(n,e).pipe(ui(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function pj(t){return Dr(ZT(gm,3))}())):ze({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],s=e.root;for(;;){if(i=i.concat(s.segments),0===s.numberOfChildren)return ze(i);if(s.numberOfChildren>1||!s.children[$t])return Dr(new Le(4e3,gm));s=s.children[$t]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,s){const o=this.createSegmentGroup(n,e.root,i,s);return new Dl(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return cr(n,(s,o)=>{if("string"==typeof s&&s.startsWith(":")){const l=s.substring(1);i[o]=e[l]}else i[o]=s}),i}createSegmentGroup(n,e,i,s){const o=this.createSegments(n,e.segments,i,s);let a={};return cr(e.children,(l,c)=>{a[c]=this.createSegmentGroup(n,l,i,s)}),new qt(o,a)}createSegments(n,e,i,s){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,s):this.findOrReturn(o,i))}findPosParam(n,e,i){const s=i[e.path.substring(1)];if(!s)throw new Le(4001,gm);return s}findOrReturn(n,e){let i=0;for(const s of e){if(s.path===n.path)return e.splice(i),s;i++}return n}}class vj{}class Mj{constructor(n,e,i,s,o,a,l,c){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=s,this.url=o,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=l,this.urlSerializer=c}recognize(){const n=mm(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,$t).pipe(Xe(e=>{if(null===e)return null;const i=new um([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$t,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new Qo(i,e),o=new GT(this.url,s);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const e=n.value,i=$T(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(n,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,s)}processChildren(n,e,i){return ge(Object.keys(i.children)).pipe(Ha(s=>{const o=i.children[s],a=ex(e,s);return this.processSegmentGroup(n,a,o,s)}),tm((s,o)=>s&&o?(s.push(...o),s):null),wT(s=>null!==s),Jd(null),MT(),Xe(s=>{if(null===s)return null;const o=lx(s);return function wj(t){t.sort((n,e)=>n.value.outlet===$t?-1:e.value.outlet===$t?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(n,e,i,s,o){return ge(e).pipe(Ha(a=>this.processSegmentAgainstRoute(a._injector??n,a,i,s,o)),ja(a=>!!a),Qr(a=>{if(Ey(a))return sx(i,s,o)?ze([]):ze(null);throw a}))}processSegmentAgainstRoute(n,e,i,s,o){if(e.redirectTo||!rx(e,i,s,o))return ze(null);let a;if("**"===e.path){const l=s.length>0?DT(s).parameters:{},c=ux(i)+s.length;a=ze({snapshot:new um(s,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,hx(e),As(e),e.component??e._loadedComponent??null,e,cx(i),c,fx(e),c),consumedSegments:[],remainingSegments:[]})}else a=ix(i,e,s,n).pipe(Xe(({matched:l,consumedSegments:c,remainingSegments:_,parameters:E})=>{if(!l)return null;const R=ux(i)+c.length;return{snapshot:new um(c,E,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,hx(e),As(e),e.component??e._loadedComponent??null,e,cx(i),R,fx(e),R),consumedSegments:c,remainingSegments:_}}));return a.pipe(lr(l=>{if(null===l)return ze(null);const{snapshot:c,consumedSegments:_,remainingSegments:E}=l;n=e._injector??n;const R=e._loadedInjector??n,$=function Cj(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:X,slicedSegments:he}=mm(i,_,E,$.filter(Pe=>void 0===Pe.redirectTo),this.relativeLinkResolution);if(0===he.length&&X.hasChildren())return this.processChildren(R,$,X).pipe(Xe(Pe=>null===Pe?null:[new Qo(c,Pe)]));if(0===$.length&&0===he.length)return ze([new Qo(c,[])]);const Se=As(e)===o;return this.processSegment(R,$,X,he,Se?$t:o).pipe(Xe(Pe=>null===Pe?null:[new Qo(c,Pe)]))}))}}function Sj(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function lx(t){const n=[],e=new Set;for(const i of t){if(!Sj(i)){n.push(i);continue}const s=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==s?(s.children.push(...i.children),e.add(s)):n.push(i)}for(const i of e){const s=lx(i.children);n.push(new Qo(i.value,s))}return n.filter(i=>!e.has(i))}function cx(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function ux(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function hx(t){return t.data||{}}function fx(t){return t.resolve||{}}function px(t){return"string"==typeof t.title||null===t.title}function Oy(t){return lr(n=>{const e=t(n);return e?ge(e).pipe(Xe(()=>n)):ze(n)})}let mx=(()=>{class t{buildTitle(e){let i,s=e.root;for(;void 0!==s;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(o=>o.outlet===$t);return i}getResolvedTitleForRoute(e){return e.data[eh]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Yn(_x)},providedIn:"root"}),t})(),_x=(()=>{class t extends mx{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(mk))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class gx{}class Oj extends class Ij{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const ym=new Be("",{providedIn:"root",factory:()=>({})}),Ay=new Be("ROUTES");let Ry=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ze(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ua(e.loadComponent()).pipe(ui(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),nm(()=>{this.componentLoaders.delete(e)})),s=new Dn(i,()=>new J).pipe(wn());return this.componentLoaders.set(e,s),s}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ze({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(Xe(l=>{this.onLoadEndListener&&this.onLoadEndListener(i);let c,_,E=!1;Array.isArray(l)?_=l:(c=l.create(e).injector,_=ST(c.get(Ay,[],_t.Self|_t.Optional)));return{routes:_.map(Ly),injector:c}}),nm(()=>{this.childrenLoaders.delete(i)})),a=new Dn(o,()=>new J).pipe(wn());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(e){return Ua(e()).pipe(we(i=>i instanceof oS||Array.isArray(i)?ze(i):ge(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Jn),Ce(Zv))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Rj{}class Fj{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function Nj(t){throw t}function Yj(t,n,e){return n.parse("/")}const Hj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function bx(){const t=Yn(PT),n=Yn(ah),e=Yn(Vd),i=Yn(Jn),s=Yn(Zv),o=Yn(Ay,{optional:!0})??[],a=Yn(ym,{optional:!0})??{},l=Yn(_x),c=Yn(mx,{optional:!0}),_=Yn(Rj,{optional:!0}),E=Yn(gx,{optional:!0}),R=new Ut(null,t,n,e,i,s,ST(o));return _&&(R.urlHandlingStrategy=_),E&&(R.routeReuseStrategy=E),R.titleStrategy=c??l,function Bj(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(a,R),R}let Ut=(()=>{class t{constructor(e,i,s,o,a,l,c){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=s,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new J,this.errorHandler=Nj,this.malformedUriErrorHandler=Yj,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>ze(void 0),this.urlHandlingStrategy=new Fj,this.routeReuseStrategy=new Oj,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=a.get(Ry),this.configLoader.onLoadEndListener=$=>this.triggerEvent(new CB($)),this.configLoader.onLoadStartListener=$=>this.triggerEvent(new wB($)),this.ngModule=a.get(_l),this.console=a.get(Q3);const R=a.get(mt);this.isNgZoneEnabled=R instanceof mt&&mt.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=function $V(){return new Dl(new qt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=WT(this.currentUrlTree,this.rootComponentType),this.transitions=new Wi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(Si(s=>0!==s.id),Xe(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),lr(s=>{let o=!1,a=!1;return ze(s).pipe(ui(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),lr(l=>{const c=this.browserUrlTree.toString(),_=!this.navigated||l.extractedUrl.toString()!==c||c!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||_)&&this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return yx(l.source)&&(this.browserUrlTree=l.extractedUrl),ze(l).pipe(lr(R=>{const $=this.transitions.getValue();return i.next(new yy(R.id,this.serializeUrl(R.extractedUrl),R.source,R.restoredState)),$!==this.transitions.getValue()?Ba:Promise.resolve(R)}),function gj(t,n,e,i){return lr(s=>function mj(t,n,e,i,s){return new _j(t,n,e,i,s).apply()}(t,n,e,s.extractedUrl,i).pipe(Xe(o=>({...s,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ui(R=>{this.currentNavigation={...this.currentNavigation,finalUrl:R.urlAfterRedirects},s.urlAfterRedirects=R.urlAfterRedirects}),function kj(t,n,e,i,s,o){return we(a=>function yj(t,n,e,i,s,o,a="emptyOnly",l="legacy"){return new Mj(t,n,e,i,s,a,l,o).recognize().pipe(lr(c=>null===c?function bj(t){return new ce(n=>n.error(t))}(new vj):ze(c)))}(t,n,e,a.urlAfterRedirects,i.serialize(a.urlAfterRedirects),i,s,o).pipe(Xe(l=>({...a,targetSnapshot:l}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ui(R=>{if(s.targetSnapshot=R.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!R.extras.skipLocationChange){const X=this.urlHandlingStrategy.merge(R.urlAfterRedirects,R.rawUrl);this.setBrowserUrl(X,R)}this.browserUrlTree=R.urlAfterRedirects}const $=new gB(R.id,this.serializeUrl(R.extractedUrl),this.serializeUrl(R.urlAfterRedirects),R.targetSnapshot);i.next($)}));if(_&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:$,extractedUrl:X,source:he,restoredState:Se,extras:Pe}=l,Re=new yy($,this.serializeUrl(X),he,Se);i.next(Re);const $e=WT(X,this.rootComponentType).snapshot;return ze(s={...l,targetSnapshot:$e,urlAfterRedirects:X,extras:{...Pe,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=l.rawUrl,l.resolve(null),Ba}),ui(l=>{const c=new vB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Xe(l=>s={...l,guards:jB(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),function XB(t,n){return we(e=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?ze({...e,guardsResult:!0}):function ej(t,n,e,i){return ge(t).pipe(we(s=>function oj(t,n,e,i,s){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ze(o.map(l=>{const c=lh(n)??s,_=Wc(l,c);return Ua(function ZB(t){return t&&dh(t.canDeactivate)}(_)?_.canDeactivate(t,n,e,i):c.runInContext(()=>_(t,n,e,i))).pipe(ja())})).pipe($c()):ze(!0)}(s.component,s.route,e,n,i)),ja(s=>!0!==s,!0))}(a,i,s,t).pipe(we(l=>l&&function $B(t){return"boolean"==typeof t}(l)?function tj(t,n,e,i){return ge(n).pipe(Ha(s=>Sl(function ij(t,n){return null!==t&&n&&n(new SB(t)),ze(!0)}(s.route.parent,i),function nj(t,n){return null!==t&&n&&n(new kB(t)),ze(!0)}(s.route,i),function sj(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>function UB(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>Qd(()=>ze(a.guards.map(c=>{const _=lh(a.node)??e,E=Wc(c,_);return Ua(function KB(t){return t&&dh(t.canActivateChild)}(E)?E.canActivateChild(i,t):_.runInContext(()=>E(i,t))).pipe(ja())})).pipe($c())));return ze(o).pipe($c())}(t,s.path,e),function rj(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return ze(!0);const s=i.map(o=>Qd(()=>{const a=lh(n)??e,l=Wc(o,a);return Ua(function qB(t){return t&&dh(t.canActivate)}(l)?l.canActivate(n,t):a.runInContext(()=>l(n,t))).pipe(ja())}));return ze(s).pipe($c())}(t,s.route,e))),ja(s=>!0!==s,!0))}(i,o,t,n):ze(l)),Xe(l=>({...e,guardsResult:l})))})}(this.ngModule.injector,l=>this.triggerEvent(l)),ui(l=>{if(s.guardsResult=l.guardsResult,Tl(l.guardsResult))throw KT(0,l.guardsResult);const c=new bB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.triggerEvent(c)}),Si(l=>!!l.guardsResult||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",3),!1)),Oy(l=>{if(l.guards.canActivateChecks.length)return ze(l).pipe(ui(c=>{const _=new yB(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(_)}),lr(c=>{let _=!1;return ze(c).pipe(function Tj(t,n){return we(e=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=e;if(!s.length)return ze(e);let o=0;return ge(s).pipe(Ha(a=>function xj(t,n,e,i){const s=t.routeConfig,o=t._resolve;return void 0!==s?.title&&!px(s)&&(o[eh]=s.title),function Lj(t,n,e,i){const s=function Ej(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===s.length)return ze({});const o={};return ge(s).pipe(we(a=>function Pj(t,n,e,i){const s=lh(n)??i,o=Wc(t,s);return Ua(o.resolve?o.resolve(n,e):s.runInContext(()=>o(n,e)))}(t[a],n,e,i).pipe(ja(),ui(l=>{o[a]=l}))),Xd(1),function YV(t){return n=>n.lift(new HV(t))}(o),Qr(a=>Ey(a)?Ba:Dr(a)))}(o,t,n,i).pipe(Xe(a=>(t._resolvedData=a,t.data=$T(t,e).resolve,s&&px(s)&&(t.data[eh]=s.title),null)))}(a.route,i,t,n)),ui(()=>o++),Xd(1),we(a=>o===s.length?ze(e):Ba))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ui({next:()=>_=!0,complete:()=>{_||(this.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ui(c=>{const _=new MB(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(_)}))}),Oy(l=>{const c=_=>{const E=[];_.routeConfig?.loadComponent&&!_.routeConfig._loadedComponent&&E.push(this.configLoader.loadComponent(_.routeConfig).pipe(ui(R=>{_.component=R}),Xe(()=>{})));for(const R of _.children)E.push(...c(R));return E};return hy(c(l.targetSnapshot.root)).pipe(Jd(),An(1))}),Oy(()=>this.afterPreactivation()),Xe(l=>{const c=function PB(t,n,e){const i=oh(t,n._root,e?e._root:void 0);return new zT(i,n)}(this.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return s={...l,targetRouterState:c}}),ui(l=>{this.currentUrlTree=l.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(l.urlAfterRedirects,l.rawUrl),this.routerState=l.targetRouterState,"deferred"===this.urlUpdateStrategy&&(l.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,l),this.browserUrlTree=l.urlAfterRedirects)}),((t,n,e)=>Xe(i=>(new BB(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,l=>this.triggerEvent(l)),ui({next(){o=!0},complete(){o=!0}}),nm(()=>{o||a||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Qr(l=>{if(a=!0,JT(l)){QT(l)||(this.navigated=!0,this.restoreHistory(s,!0));const c=new cm(s.id,this.serializeUrl(s.extractedUrl),l.message,l.cancellationCode);if(i.next(c),QT(l)){const _=this.urlHandlingStrategy.merge(l.url,this.rawUrlTree),E={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yx(s.source)};this.scheduleNavigation(_,"imperative",null,E,{resolve:s.resolve,reject:s.reject,promise:s.promise})}else s.resolve(!1)}else{this.restoreHistory(s,!0);const c=new BT(s.id,this.serializeUrl(s.extractedUrl),l,s.targetSnapshot??void 0);i.next(c);try{s.resolve(this.errorHandler(l))}catch(_){s.reject(_)}}return Ba}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const s={replaceUrl:!0},o=e.state?.navigationId?e.state:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(Ly),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,_=s||this.routerState.root,E=c?this.currentUrlTree.fragment:a;let R=null;switch(l){case"merge":R={...this.currentUrlTree.queryParams,...o};break;case"preserve":R=this.currentUrlTree.queryParams;break;default:R=o||null}return null!==R&&(R=this.removeEmptyProps(R)),dB(_,this.currentUrlTree,e,R,E??null)}navigateByUrl(e,i={skipLocationChange:!1}){const s=Tl(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function jj(t){for(let n=0;n{const o=e[s];return null!=o&&(i[s]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new za(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,s,o,a){if(this.disposed)return Promise.resolve(!1);let l,c,_;a?(l=a.resolve,c=a.reject,_=a.promise):_=new Promise(($,X)=>{l=$,c=X});const E=++this.navigationId;let R;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),R=s&&s.\u0275routerPageId?s.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):R=0,this.setTransition({id:E,targetPageId:R,source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:l,reject:c,promise:_,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_.catch($=>Promise.reject($))}setBrowserUrl(e,i){const s=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl?this.location.replaceState(s,"",o):this.location.go(s,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===s?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,s){const o=new cm(e.id,this.serializeUrl(e.extractedUrl),i,s);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:function(){return bx()},providedIn:"root"}),t})();function yx(t){return"imperative"!==t}let Wa=(()=>{class t{constructor(e,i,s){this.router=e,this.route=i,this.locationStrategy=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new J,this.subscription=e.events.subscribe(o=>{o instanceof za&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=Wo(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Wo(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Wo(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,s,o,a){return!!(0!==e||i||s||o||a||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(N(Ut),N(Qi),N(bl))},t.\u0275dir=Je({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&Me("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&Wt("target",i.target)("href",i.href,Ho)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Ii]}),t})();class Mx{}let Wj=(()=>{class t{constructor(e,i,s,o,a){this.router=e,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Si(e=>e instanceof za),Ha(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const s=[];for(const o of i){o.providers&&!o._injector&&(o._injector=sp(o.providers,e,`Route: ${o.path}`));const a=o._injector??e,l=o._loadedInjector??a;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?s.push(this.preloadConfig(a,o)):(o.children||o._loadedRoutes)&&s.push(this.processRoutes(l,o.children??o._loadedRoutes))}return ge(s).pipe(dt())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let s;s=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):ze(null);const o=s.pipe(we(a=>null===a?ze(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return i.loadComponent&&!i._loadedComponent?ge([o,this.loader.loadComponent(i)]).pipe(dt()):o})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut),Ce(Zv),Ce(Ta),Ce(Mx),Ce(Ry))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ny=new Be("");let wx=(()=>{class t{constructor(e,i,s={}){this.router=e,this.viewportScroller=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof yy?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof za&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof jT&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new jT(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function Gc(t,n){return{\u0275kind:t,\u0275providers:n}}function Yy(t){return[{provide:Ay,multi:!0,useValue:t}]}function Sx(){const t=Yn(Jn);return n=>{const e=t.get(Yc);if(n!==e.components[0])return;const i=t.get(Ut),s=t.get(Dx);1===t.get(Hy)&&i.initialNavigation(),t.get(kx,null,_t.Optional)?.setUpPreloading(),t.get(Ny,null,_t.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),s.next(),s.complete()}}const Dx=new Be("",{factory:()=>new J}),Hy=new Be("",{providedIn:"root",factory:()=>1});const kx=new Be("");function Kj(t){return Gc(0,[{provide:kx,useExisting:Wj},{provide:Mx,useExisting:t}])}const Tx=new Be("ROUTER_FORROOT_GUARD"),Zj=[Vd,{provide:PT,useClass:py},{provide:Ut,useFactory:bx},ah,{provide:Qi,useFactory:function Cx(t){return t.routerState.root},deps:[Ut]},Ry];function Qj(){return new tD("Router",Ut)}let xx=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Zj,[],Yy(e),{provide:Tx,useFactory:t8,deps:[[Ut,new ka,new hc]]},{provide:ym,useValue:i||{}},i?.useHash?{provide:bl,useClass:HN}:{provide:bl,useClass:kD},{provide:Ny,useFactory:()=>{const t=Yn(Ut),n=Yn(X4),e=Yn(ym);return e.scrollOffset&&n.setOffset(e.scrollOffset),new wx(t,n,e)}},i?.preloadingStrategy?Kj(i.preloadingStrategy).\u0275providers:[],{provide:tD,multi:!0,useFactory:Qj},i?.initialNavigation?n8(i):[],[{provide:Lx,useFactory:Sx},{provide:qS,multi:!0,useExisting:Lx}]]}}static forChild(e){return{ngModule:t,providers:[Yy(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Tx,8))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ty]}),t})();function t8(t){return"guarded"}function n8(t){return["disabled"===t.initialNavigation?Gc(3,[{provide:cp,multi:!0,useFactory:()=>{const n=Yn(Ut);return()=>{n.setUpLocationChangeListener()}}},{provide:Hy,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Gc(2,[{provide:Hy,useValue:0},{provide:cp,multi:!0,deps:[Jn],useFactory:n=>{const e=n.get(NN,Promise.resolve(null));let i=!1;return()=>e.then(()=>new Promise(o=>{const a=n.get(Ut),l=n.get(Dx);(function s(o){n.get(Ut).events.pipe(Si(l=>l instanceof za||l instanceof cm||l instanceof BT),Xe(l=>l instanceof za||l instanceof cm&&(0===l.code||1===l.code)&&null),Si(l=>null!==l),An(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),a.afterPreactivation=()=>(o(!0),i||l.closed?ze(void 0):l),a.initialNavigation()}))}}]).\u0275providers:[]]}const Lx=new Be("");class r8 extends x{constructor(n,e){super()}schedule(n,e=0){return this}}class Sm extends r8{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;const i=this.id,s=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(s,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(n,e,i=0){return setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let s,i=!1;try{this.work(n)}catch(o){i=!0,s=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),s}_unsubscribe(){const n=this.id,e=this.scheduler,i=e.actions,s=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&i.splice(s,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null}}let Ex=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,s){return new this.SchedulerAction(this,e).schedule(s,i)}}return t.now=()=>Date.now(),t})();class Js extends Ex{constructor(n,e=Ex.now){super(n,()=>Js.delegate&&Js.delegate!==this?Js.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,i){return Js.delegate&&Js.delegate!==this?Js.delegate.schedule(n,e,i):super.schedule(n,e,i)}flush(n){const{actions:e}=this;if(this.active)return void e.push(n);let i;this.active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const qc=new Js(Sm);class Jr{constructor(n,e,i){this.kind=n,this.value=e,this.error=i,this.hasValue="N"===n}observe(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}do(n,e,i){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(n,e,i){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,i)}toObservable(){switch(this.kind){case"N":return ze(this.value);case"E":return Dr(this.error);case"C":return em()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new Jr("N",n):Jr.undefinedValueNotification}static createError(n){return new Jr("E",void 0,n)}static createComplete(){return Jr.completeNotification}}function Ji(t,n=qc){const i=function s8(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-n.now():Math.abs(t);return s=>s.lift(new o8(i,n))}Jr.completeNotification=new Jr("C"),Jr.undefinedValueNotification=new Jr("N",void 0);class o8{constructor(n,e){this.delay=n,this.scheduler=e}call(n,e){return e.subscribe(new Vy(n,this.delay,this.scheduler))}}class Vy extends A{constructor(n,e,i){super(n),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(n){const e=n.source,i=e.queue,s=n.scheduler,o=n.destination;for(;i.length>0&&i[0].time-s.now()<=0;)i.shift().notification.observe(o);if(i.length>0){const a=Math.max(0,i[0].time-s.now());this.schedule(n,a)}else this.unsubscribe(),e.active=!1}_schedule(n){this.active=!0,this.destination.add(n.schedule(Vy.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))}scheduleNotification(n){if(!0===this.errored)return;const e=this.scheduler,i=new a8(e.now()+this.delay,n);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(n){this.scheduleNotification(Jr.createNext(n))}_error(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()}_complete(){this.scheduleNotification(Jr.createComplete()),this.unsubscribe()}}class a8{constructor(n,e){this.time=n,this.notification=e}}var xl=(()=>(function(t){t.NoConnection="NoConnection",t.Unknown="Unknown"}(xl||(xl={})),xl))();class l8{}const Px="common.operation-error";function an(t){if(t&&t.type&&!t.srcElement)return t;const n=new l8;if(n.originalError=t,!t||"string"==typeof t)return n.originalServerErrorMsg=t||"",n.translatableErrorMsg=t||Px,n.type=xl.Unknown,n;n.originalServerErrorMsg=function u8(t){if(t){if("string"==typeof t._body)return t._body;if(t.originalServerErrorMsg&&"string"==typeof t.originalServerErrorMsg)return t.originalServerErrorMsg;if(t.error&&"string"==typeof t.error)return t.error;if(t.error&&t.error.error&&t.error.error.message)return t.error.error.message;if(t.error&&t.error.error&&"string"==typeof t.error.error)return t.error.error;if(t.message)return t.message;if(t._body&&t._body.error)return t._body.error;try{return JSON.parse(t._body).error}catch{}}return null}(t);return null!=t.status&&(0===t.status||504===t.status)&&(n.type=xl.NoConnection,n.translatableErrorMsg="common.no-connection-error"),n.type||(n.type=xl.Unknown,n.translatableErrorMsg=n.originalServerErrorMsg?function c8(t){if(!t||0===t.length)return t;if(-1!==t.indexOf('"error":'))try{t=JSON.parse(t).error}catch{}if(t.startsWith("400")||t.startsWith("403")){const e=t.split(" - ",2);t=2===e.length?e[1]:t}const n=(t=t.trim()).substr(0,1);return n.toUpperCase()!==n&&(t=n.toUpperCase()+t.substr(1,t.length-1)),!t.endsWith(".")&&!t.endsWith(",")&&!t.endsWith(":")&&!t.endsWith(";")&&!t.endsWith("?")&&!t.endsWith("!")&&(t+="."),t}(n.originalServerErrorMsg):Px),n}const f8=new class h8 extends Js{}(class d8 extends Sm{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(n,e,i):n.flush(this)}});class Dm extends A{constructor(n,e,i=0){super(n),this.scheduler=e,this.delay=i}static dispatch(n){const{notification:e,destination:i}=n;e.observe(i),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(Dm.dispatch,this.delay,new m8(n,this.destination)))}_next(n){this.scheduleMessage(Jr.createNext(n))}_error(n){this.scheduleMessage(Jr.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(Jr.createComplete()),this.unsubscribe()}}class m8{constructor(n,e){this.notification=n,this.destination=e}}class Xs extends J{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new _8(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,o=i.length;let a;if(this.closed)throw new ne;if(this.isStopped||this.hasError?a=x.EMPTY:(this.observers.push(n),a=new oe(this,n)),s&&n.add(n=new Dm(n,s)),e)for(let l=0;le&&(a=Math.max(a,o-e)),a>0&&s.splice(0,a),s}}class _8{constructor(n,e){this.time=n,this.value=e}}const km="refreshSeconds",Tm="labelsData",xm="localNodesData",Ix="nodesData";var ur=(()=>(function(t){t.Node="nd",t.Transport="tp",t.DmsgServer="ds"}(ur||(ur={})),ur))();let By,Xi=(()=>{class t{constructor(){this.currentRefreshTimeSubject=new Xs(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set}initialize(e){this.storage=localStorage,this.hypervisorPk=e,this.migrateDataToHvStorage(),this.currentRefreshTime=parseInt(this.getDataForHv(km),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(o=>{this.savedLocalNodes.set(o.publicKey,o),o.hidden||this.savedVisibleLocalNodes.add(o.publicKey)}),this.getSavedLabels().forEach(o=>this.savedLabels.set(o.id,o)),this.loadLegacyNodeData();const i=[];this.savedLocalNodes.forEach(o=>i.push(o));const s=[];this.savedLabels.forEach(o=>s.push(o)),this.saveLocalNodes(i),this.saveLabels(s)}getDataForHv(e){return this.storage.getItem(this.hypervisorPk+e)}setDataForHv(e,i){return this.storage.setItem(this.hypervisorPk+e,i)}migrateDataToHvStorage(){const e=this.storage.getItem(km);if(e){const o=parseInt(e,10)||10;this.setRefreshTime(o),this.storage.removeItem(km)}const i=this.storage.getItem(xm);if(i){const o=JSON.parse(i)||[];this.saveLocalNodes(o),this.storage.removeItem(xm)}const s=this.storage.getItem(Tm);if(s){const o=JSON.parse(s)||[];this.saveLabels(o),this.storage.removeItem(Tm)}}loadLegacyNodeData(){const e=JSON.parse(this.storage.getItem(Ix))||[];if(e.length>0){const i=this.getSavedLocalNodes(),s=this.getSavedLabels();e.forEach(o=>{i.push({publicKey:o.publicKey,hidden:o.deleted,ip:null}),this.savedLocalNodes.set(o.publicKey,i[i.length-1]),o.deleted||this.savedVisibleLocalNodes.add(o.publicKey),s.push({id:o.publicKey,identifiedElementType:ur.Node,label:o.label}),this.savedLabels.set(o.publicKey,s[s.length-1])}),this.saveLocalNodes(i),this.saveLabels(s),this.storage.removeItem(Ix)}}setRefreshTime(e){this.setDataForHv(km,e.toString()),this.currentRefreshTime=e,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}getRefreshTimeObservable(){return this.currentRefreshTimeSubject.asObservable()}getRefreshTime(){return this.currentRefreshTime}includeVisibleLocalNodes(e,i){this.changeLocalNodesHiddenProperty(e,i,!1)}setLocalNodesAsHidden(e,i){this.changeLocalNodesHiddenProperty(e,i,!0)}changeLocalNodesHiddenProperty(e,i,s){if(e.length!==i.length)throw new Error("Invalid params");const o=new Map,a=new Map;e.forEach((_,E)=>{o.set(_,i[E]),a.set(_,i[E])});let l=!1;const c=this.getSavedLocalNodes();c.forEach(_=>{o.has(_.publicKey)&&(a.has(_.publicKey)&&a.delete(_.publicKey),_.ip!==o.get(_.publicKey)&&(_.ip=o.get(_.publicKey),l=!0,this.savedLocalNodes.set(_.publicKey,_)),_.hidden!==s&&(_.hidden=s,l=!0,this.savedLocalNodes.set(_.publicKey,_),s?this.savedVisibleLocalNodes.delete(_.publicKey):this.savedVisibleLocalNodes.add(_.publicKey)))}),a.forEach((_,E)=>{l=!0;const R={publicKey:E,hidden:s,ip:_};c.push(R),this.savedLocalNodes.set(E,R),s?this.savedVisibleLocalNodes.delete(E):this.savedVisibleLocalNodes.add(E)}),l&&this.saveLocalNodes(c)}getSavedLocalNodes(){return JSON.parse(this.getDataForHv(xm))||[]}getSavedVisibleLocalNodes(){return this.savedVisibleLocalNodes}saveLocalNodes(e){this.setDataForHv(xm,JSON.stringify(e))}getSavedLabels(){return JSON.parse(this.getDataForHv(Tm))||[]}saveLabels(e){this.setDataForHv(Tm,JSON.stringify(e))}saveLabel(e,i,s){if(i){let o=!1;const a=this.getSavedLabels().map(l=>(l.id===e&&l.identifiedElementType===s&&(o=!0,l.label=i,this.savedLabels.set(l.id,{label:l.label,id:l.id,identifiedElementType:l.identifiedElementType})),l));if(o)this.saveLabels(a);else{const l={label:i,id:e,identifiedElementType:s};a.push(l),this.savedLabels.set(e,l),this.saveLabels(a)}}else{this.savedLabels.has(e)&&this.savedLabels.delete(e);let o=!1;const a=this.getSavedLabels().filter(l=>l.id!==e||(o=!0,!1));o&&this.saveLabels(a)}}getDefaultLabel(e){return e?e.ip?e.ip:e.localPk.substr(0,8):""}getLabelInfo(e){return this.savedLabels.has(e)?this.savedLabels.get(e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();try{By=typeof Intl<"u"&&Intl.v8BreakIterator}catch{By=!1}let Kc,Di=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function J4(t){return t===GD}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!By)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(Ce(dp))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ox=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ax(){if(Kc)return Kc;if("object"!=typeof document||!document)return Kc=new Set(Ox),Kc;let t=document.createElement("input");return Kc=new Set(Ox.filter(n=>(t.setAttribute("type",n),t.type===n))),Kc}let fh,El,jy;function Ll(t){return function g8(){if(null==fh&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fh=!0}))}finally{fh=fh||!1}return fh}()?t:!!t.capture}function v8(){if(null==El){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return El=!1,El;if("scrollBehavior"in document.documentElement.style)El=!0;else{const t=Element.prototype.scrollTo;El=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return El}function Rx(t){if(function b8(){if(null==jy){const t=typeof document<"u"?document.head:null;jy=!(!t||!t.createShadowRoot&&!t.attachShadow)}return jy}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Uy(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Pl(t){return t.composedPath?t.composedPath()[0]:t.target}function zy(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function So(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Wy(t,n=qc){return e=>e.lift(new P8(t,n))}class P8{constructor(n,e){this.dueTime=n,this.scheduler=e}call(n,e){return e.subscribe(new I8(n,this.dueTime,this.scheduler))}}class I8 extends A{constructor(n,e,i){super(n),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(O8,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:n}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}clearDebounce(){const n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}}function O8(t){t.debouncedNext()}function $y(t){return n=>n.lift(new A8(t))}class A8{constructor(n){this.total=n}call(n,e){return e.subscribe(new R8(n,this.total))}}class R8 extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}function Gy(t,n){return e=>e.lift(new F8(t,n))}class F8{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new N8(n,this.compare,this.keySelector))}}class N8 extends A{constructor(n,e,i){super(n),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:s}=this;e=s?s(n):n}catch(s){return this.destination.error(s)}let i=!1;if(this.hasKey)try{const{compare:s}=this;i=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;i||(this.key=e,this.destination.next(n))}}function fn(t){return n=>n.lift(new Y8(t))}class Y8{constructor(n){this.notifier=n}call(n,e){const i=new H8(n),s=jn(i,this.notifier);return s&&!i.seenValue?(i.add(s),e.subscribe(i)):i}}class H8 extends Kn{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,i,s,o){this.seenValue=!0,this.complete()}notifyComplete(){}}function En(t){return null!=t&&"false"!=`${t}`}function eo(t,n=0){return function V8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function Am(t){return Array.isArray(t)?t:[t]}function Yi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Jo(t){return t instanceof bt?t.nativeElement:t}let Nx=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),B8=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Jo(e);return new ce(s=>{const a=this._observeElement(i).subscribe(s);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new J,s=this._mutationObserverFactory.create(o=>i.next(o));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:s}=this._observedElements.get(e);i&&i.disconnect(),s.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Nx))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),qy=(()=>{class t{constructor(e,i,s){this._contentObserver=e,this._elementRef=i,this._ngZone=s,this.event=new ft,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=En(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=eo(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Wy(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(B8),N(bt),N(mt))},t.\u0275dir=Je({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Rm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Nx]}),t})();const Yx=new Set;let Zc,j8=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):z8}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function U8(t){if(!Yx.has(t))try{Zc||(Zc=document.createElement("style"),Zc.setAttribute("type","text/css"),document.head.appendChild(Zc)),Zc.sheet&&(Zc.sheet.insertRule(`@media ${t} {body{ }}`,0),Yx.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function z8(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Fm=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new J}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Hx(Am(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let o=hy(Hx(Am(e)).map(a=>this._registerQuery(a).observable));return o=Sl(o.pipe(An(1)),o.pipe($y(1),Wy(0))),o.pipe(Xe(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:_})=>{l.matches=l.matches||c,l.breakpoints[_]=c}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new ce(a=>{const l=c=>this._zone.run(()=>a.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Yr(i),Xe(({matches:a})=>({query:e,matches:a})),fn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return t.\u0275fac=function(e){return new(e||t)(Ce(j8),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Hx(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Nm(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const jx="cdk-describedby-message",Ym="cdk-describedby-host";let Ky=0,G8=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ky++,this._document=e,this._id=Yn(Nc)+"-"+Ky++}describe(e,i,s){if(!this._canBeDescribed(e,i))return;const o=Zy(i,s);"string"!=typeof i?(Ux(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,s),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,s){if(!i||!this._isElementNode(e))return;const o=Zy(i,s);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Ym}="${this._id}"]`);for(let i=0;i0!=s.indexOf(jx));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const s=this._messageRegistry.get(i);(function W8(t,n,e){const i=Nm(t,n);i.some(s=>s.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(Ym,this._id),s.referenceCount++}_removeMessageReference(e,i){const s=this._messageRegistry.get(i);s.referenceCount--,function $8(t,n,e){const s=Nm(t,n).filter(o=>o!=e.trim());s.length?t.setAttribute(n,s.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(Ym)}_isElementDescribedByMessage(e,i){const s=Nm(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=s.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const s=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!s||o&&o.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Zy(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function Ux(t,n){t.id||(t.id=`${jx}-${n}-${Ky++}`)}class zx{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J,this._typeaheadSubscription=x.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new J,this.change=new J,n instanceof gl&&n.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ui(e=>this._pressedLetters.push(e)),Wy(n),Si(()=>this._pressedLetters.length>0),Xe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let s=1;s!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||So(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const s=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof gl?this._items.toArray():this._items}}class q8 extends zx{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class Wx extends zx{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Hm=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Z8(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function K8(t){try{return t.frameElement}catch{return null}}(function r6(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===Gx(i)||!this.isVisible(i)))return!1;let s=e.nodeName.toLowerCase(),o=Gx(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function n6(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==o:"video"===s?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function i6(t){return!function J8(t){return function e6(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function Q8(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function X8(t){return function t6(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||$x(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function $x(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function Gx(t){if(!$x(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class s6{constructor(n,e,i,s,o=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const s=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(s)return s}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(An(1)).subscribe(n)}}let Qy=(()=>{class t{constructor(e,i,s){this._checker=e,this._ngZone=i,this._document=s}create(e,i=!1){return new s6(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hm),Ce(mt),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Jy(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function Xy(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const o6=new Be("cdk-input-modality-detector-options"),a6={ignoreKeys:[18,17,224,91,16]},Qc=Ll({passive:!0,capture:!0});let l6=(()=>{class t{constructor(e,i,s,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Wi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Pl(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Jy(a)?"keyboard":"mouse"),this._mostRecentTarget=Pl(a))},this._onTouchstart=a=>{Xy(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Pl(a))},this._options={...a6,...o},this.modalityDetected=this._modality.pipe($y(1)),this.modalityChanged=this.modalityDetected.pipe(Gy()),e.isBrowser&&i.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Qc),s.addEventListener("mousedown",this._onMousedown,Qc),s.addEventListener("touchstart",this._onTouchstart,Qc)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qc),document.removeEventListener("mousedown",this._onMousedown,Qc),document.removeEventListener("touchstart",this._onTouchstart,Qc))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt),Ce(Ct),Ce(o6,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const c6=new Be("liveAnnouncerElement",{providedIn:"root",factory:function u6(){return null}}),d6=new Be("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let e0=(()=>{class t{constructor(e,i,s,o){this._ngZone=i,this._defaultOptions=o,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...i){const s=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=s&&s.politeness?s.politeness:"polite"),null==a&&s&&(a=s.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let o=0;o{class t{constructor(e,i,s,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new J,this._rootNodeFocusAndBlurListener=l=>{for(let _=Pl(l);_;_=_.parentElement)"focus"===l.type?this._onFocus(l,_):this._onBlur(l,_)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const s=Jo(e);if(!this._platform.isBrowser||1!==s.nodeType)return ze(null);const o=Rx(s)||this._getDocument(),a=this._elementInfo.get(s);if(a)return i&&(a.checkChildren=!0),a.subject;const l={checkChildren:i,subject:new J,rootNode:o};return this._elementInfo.set(s,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){const i=Jo(e),s=this._elementInfo.get(i);s&&(s.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(s))}focusVia(e,i,s){const o=Jo(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const s=this._elementInfo.get(i),o=Pl(e);!s||!s.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),s)}_onBlur(e,i){const s=this._elementInfo.get(i);!s||s.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(s,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,s=this._rootNodeFocusListenerCount.get(i)||0;s||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vm),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vm)}),this._rootNodeFocusListenerCount.set(i,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const s=this._rootNodeFocusListenerCount.get(i);s>1?this._rootNodeFocusListenerCount.set(i,s-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vm),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vm),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,s){this._setClasses(e,i),this._emitOrigin(s,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((s,o)=>{(o===e||s.checkChildren&&o.contains(e))&&i.push([o,s])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new ft}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Do))},t.\u0275dir=Je({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const Kx="cdk-high-contrast-black-on-white",Zx="cdk-high-contrast-white-on-black",t0="cdk-high-contrast-active";let Qx=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Yn(Fm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,s=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(t0,Kx,Zx),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(t0,Kx):2===i&&e.add(t0,Zx)}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),n0=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Qx))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Rm]}),t})();function Jc(t,n,e,i){return I(e)&&(i=e,e=void 0),i?Jc(t,n,e).pipe(Xe(s=>M(s)?i(...s):i(s))):new ce(s=>{Jx(t,n,function o(a){s.next(arguments.length>1?Array.prototype.slice.call(arguments):a)},s,e)})}function Jx(t,n,e,i,s){let o;if(function _6(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const a=t;t.addEventListener(n,e,s),o=()=>a.removeEventListener(n,e,s)}else if(function m6(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const a=t;t.on(n,e),o=()=>a.off(n,e)}else if(function p6(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const a=t;t.addListener(n,e),o=()=>a.removeListener(n,e)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,l=t.length;a0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let y6=1;const r0={},Xx={setImmediate(t){const n=y6++;return r0[n]=t,Promise.resolve().then(()=>function M6(t){const n=r0[t];n&&n()}(n)),n},clearImmediate(t){delete r0[t]}},s0=new class C6 extends Js{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,s=-1,o=e.length;n=n||e.shift();do{if(i=n.execute(n.state,n.delay))break}while(++s0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=Xx.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(Xx.clearImmediate(e),n.scheduled=void 0)}});class D6{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new k6(n,this.durationSelector))}}class k6 extends Kn{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(n)}catch(s){return this.destination.error(s)}const i=jn(this,e);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:n,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,i,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function o0(t){return!M(t)&&t-parseFloat(t)+1>=0}function Bm(t=0,n,e){let i=-1;return o0(n)?i=Number(n)<1?1:Number(n):ke(n)&&(e=n),ke(e)||(e=qc),new ce(s=>{const o=o0(t)?t:+t-e.now();return e.schedule(T6,o,{index:0,period:i,subscriber:s})})}function T6(t){const{index:n,period:e,subscriber:i}=t;if(i.next(n),!i.closed){if(-1===e)return i.complete();t.index=n+1,this.schedule(t,e)}}function e2(t,n=qc){return function S6(t){return function(e){return e.lift(new D6(t))}}(()=>Bm(t,n))}const x6=new Be("cdk-dir-doc",{providedIn:"root",factory:function L6(){return Yn(Ct)}}),E6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let gs=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new ft,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function P6(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?E6.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(Ce(x6,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),t2=(()=>{class t{constructor(e,i,s){this._ngZone=e,this._platform=i,this._scrolled=new J,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ce(i=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(e2(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ze()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const s=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Si(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let s=Jo(i),o=e.getElementRef().nativeElement;do{if(s==o)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Jc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(Ce(mt),Ce(Di),Ce(Ct,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Il=(()=>{class t{constructor(e,i,s){this._platform=e,this._change=new J,this._changeListener=o=>{this._change.next(o)},this._document=s,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),s=e.documentElement,o=s.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||s.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(e2(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt),Ce(Ct,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),n2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[gh,vh,gh,vh]}),t})();class a0{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Xc extends a0{constructor(n,e,i,s){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=s}}class eu extends a0{constructor(n,e,i,s){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class A6 extends a0{constructor(n){super(),this.element=n instanceof bt?n.nativeElement:n}}class jm{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Xc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof eu?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof A6?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class R6 extends jm{constructor(n,e,i,s,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=s,this.attachDomPortal=a=>{const l=a.element,c=this._document.createComment("dom-portal");l.parentNode.insertBefore(c,l),this.outletElement.appendChild(l),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(l,c)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let s;return n.viewContainerRef?(s=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=i.create(n.injector||this._defaultInjector||Jn.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=n,s}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(i);-1!==s&&e.remove(s)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let $a=(()=>{class t extends jm{constructor(e,i,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new ft,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(N(xa),N(ar),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[pt]}),t})(),tu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const r2=v8();class F6{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Yi(-this._previousScrollPosition.left),n.style.top=Yi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,s=this._document.body.style,o=i.scrollBehavior||"",a=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),r2&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),r2&&(i.scrollBehavior=o,s.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class N6{constructor(n,e,i,s){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class s2{enable(){}disable(){}attach(){}}function l0(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function o2(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class Y6{constructor(n,e,i,s){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=s,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();l0(e,[{width:i,height:s,bottom:s,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let H6=(()=>{class t{constructor(e,i,s,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new s2,this.close=a=>new N6(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new F6(this._viewportRuler,this._document),this.reposition=a=>new Y6(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return t.\u0275fac=function(e){return new(e||t)(Ce(t2),Ce(Il),Ce(mt),Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class bh{constructor(n){if(this.scrollStrategy=new s2,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class V6{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let a2=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),B6=(()=>{class t extends a2{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=s=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const l=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(s)):l.next(s);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(mt,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j6=(()=>{class t extends a2{constructor(e,i,s){super(e),this._platform=i,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Pl(o)},this._clickListener=o=>{const a=Pl(o),l="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let _=c.length-1;_>-1;_--){const E=c[_];if(E._outsidePointerEvents.observers.length<1||!E.hasAttached())continue;if(E.overlayElement.contains(a)||E.overlayElement.contains(l))break;const R=E._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>R.next(o)):R.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct),Ce(Di),Ce(mt,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Um=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||zy()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(R),this._backdropTransitionendHandler=R=>{this._disposeBackdrop(R.target)},this._keydownEvents=new J,this._outsidePointerEvents=new J,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(An(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Yi(this._config.width),n.height=Yi(this._config.height),n.minWidth=Yi(this._config.minWidth),n.minHeight=Yi(this._config.minHeight),n.maxWidth=Yi(this._config.maxWidth),n.maxHeight=Yi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const s=Am(e||[]).filter(o=>!!o);s.length&&(i?n.classList.add(...s):n.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(fn(Yt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const l2="cdk-overlay-connected-position-bounding-box",U6=/([A-Za-z%]+)$/;class z6{constructor(n,e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new J,this._resizeSubscription=x.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}get positions(){return this._preferredPositions}attach(n){this._validatePositions(),n.hostElement.classList.add(l2),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,s=this._containerRect,o=[];let a;for(let l of this._preferredPositions){let c=this._getOriginPoint(n,s,l),_=this._getOverlayPoint(c,e,l),E=this._getOverlayFit(_,e,i,l);if(E.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,c);this._canFitWithFlexibleDimensions(E,_,i)?o.push({position:l,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,l)}):(!a||a.overlayFit.visibleAreac&&(c=E,l=_)}return this._isPushed=!1,void this._applyPosition(l.position,l.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ol(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(l2),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let s,o;if("center"==i.originX)s=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,l=this._isRtl()?n.left:n.right;s="start"==i.originX?a:l}return e.left<0&&(s-=e.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(o-=e.top),{x:s,y:o}}_getOverlayPoint(n,e,i){let s,o;return s="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+s,y:n.y+o}}_getOverlayFit(n,e,i,s){const o=u2(e);let{x:a,y:l}=n,c=this._getOffset(s,"x"),_=this._getOffset(s,"y");c&&(a+=c),_&&(l+=_);let $=0-l,X=l+o.height-i.height,he=this._subtractOverflows(o.width,0-a,a+o.width-i.width),Se=this._subtractOverflows(o.height,$,X),Pe=he*Se;return{visibleArea:Pe,isCompletelyWithinViewport:o.width*o.height===Pe,fitsInViewportVertically:Se===o.height,fitsInViewportHorizontally:he==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const s=i.bottom-e.y,o=i.right-e.x,a=c2(this._overlayRef.getConfig().minHeight),l=c2(this._overlayRef.getConfig().minWidth),_=n.fitsInViewportHorizontally||null!=l&&l<=o;return(n.fitsInViewportVertically||null!=a&&a<=s)&&_}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const s=u2(e),o=this._viewportRect,a=Math.max(n.x+s.width-o.width,0),l=Math.max(n.y+s.height-o.height,0),c=Math.max(o.top-i.top-n.y,0),_=Math.max(o.left-i.left-n.x,0);let E=0,R=0;return E=s.width<=o.width?_||-a:n.xhe&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-he/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)$=i.width-n.x+this._viewportMargin,E=n.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)R=n.x,E=i.right-n.x;else{const X=Math.min(i.right-n.x+i.left,n.x),he=this._lastBoundingBoxSize.width;E=2*X,R=n.x-X,E>he&&!this._isInitialRender&&!this._growAfterOpen&&(R=n.x-he/2)}return{top:a,left:R,bottom:l,right:$,width:E,height:o}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;s.height=Yi(i.height),s.top=Yi(i.top),s.bottom=Yi(i.bottom),s.width=Yi(i.width),s.left=Yi(i.left),s.right=Yi(i.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(s.maxHeight=Yi(o)),a&&(s.maxWidth=Yi(a))}this._lastBoundingBoxSize=i,Ol(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Ol(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ol(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(s){const E=this._viewportRuler.getViewportScrollPosition();Ol(i,this._getExactOverlayY(e,n,E)),Ol(i,this._getExactOverlayX(e,n,E))}else i.position="static";let l="",c=this._getOffset(e,"x"),_=this._getOffset(e,"y");c&&(l+=`translateX(${c}px) `),_&&(l+=`translateY(${_}px)`),i.transform=l.trim(),a.maxHeight&&(s?i.maxHeight=Yi(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(s?i.maxWidth=Yi(a.maxWidth):o&&(i.maxWidth="")),Ol(this._pane.style,i)}_getExactOverlayY(n,e,i){let s={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?s.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":s.top=Yi(o.y),s}_getExactOverlayX(n,e,i){let a,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=Yi(o.x),s}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:o2(n,i),isOriginOutsideView:l0(n,i),isOverlayClipped:o2(e,i),isOverlayOutsideView:l0(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,s)=>i-Math.max(s,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?n.offsetX??this._offsetX:n.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Am(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof bt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Ol(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function c2(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(U6);return e&&"px"!==e?null:parseFloat(n)}return t||null}function u2(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const d2="cdk-global-overlay-wrapper";class W6{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(d2),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:a,maxHeight:l}=i,c=!("100%"!==s&&"100vw"!==s||a&&"100%"!==a&&"100vw"!==a),_=!("100%"!==o&&"100vh"!==o||l&&"100%"!==l&&"100vh"!==l),E=this._xPosition,R=this._xOffset,$="rtl"===this._overlayRef.getConfig().direction;let X="",he="",Se="";c?Se="flex-start":"center"===E?(Se="center",$?he=R:X=R):$?"left"===E||"end"===E?(Se="flex-end",X=R):("right"===E||"start"===E)&&(Se="flex-start",he=R):"left"===E||"start"===E?(Se="flex-start",X=R):("right"===E||"end"===E)&&(Se="flex-end",he=R),n.position=this._cssPosition,n.marginLeft=c?"0":X,n.marginTop=_?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":he,e.justifyContent=Se,e.alignItems=_?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(d2),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let $6=(()=>{class t{constructor(e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o}global(){return new W6}flexibleConnectedTo(e){return new z6(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Il),Ce(Ct),Ce(Di),Ce(Um))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),G6=0,Xr=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R,$,X){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=_,this._directionality=E,this._location=R,this._outsideClickDispatcher=$,this._animationsModuleType=X}create(e){const i=this._createHostElement(),s=this._createPaneElement(i),o=this._createPortalOutlet(s),a=new bh(e);return a.direction=a.direction||this._directionality.value,new yh(o,i,s,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+G6++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Yc)),new R6(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(Ce(H6),Ce(Um),Ce(xa),Ce($6),Ce(B6),Ce(Jn),Ce(mt),Ce(Ct),Ce(gs),Ce(Vd),Ce(j6),Ce(Ui,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const q6=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],h2=new Be("cdk-connected-overlay-scroll-strategy");let f2=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(N(bt))},t.\u0275dir=Je({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),p2=(()=>{class t{constructor(e,i,s,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=x.EMPTY,this._attachSubscription=x.EMPTY,this._detachSubscription=x.EMPTY,this._positionSubscription=x.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ft,this.positionChange=new ft,this.attach=new ft,this.detach=new ft,this.overlayKeydown=new ft,this.overlayOutsideClick=new ft,this._templatePortal=new eu(i,s),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=En(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=En(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=En(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=En(e)}get push(){return this._push}set push(e){this._push=En(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=q6);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!So(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new bh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof f2?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(wT(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(Xr),N(Ar),N(ar),N(h2),N(gs,8))},t.\u0275dir=Je({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ii]}),t})();const Z6={provide:h2,deps:[Xr],useFactory:function K6(t){return()=>t.scrollStrategies.reposition()}};let nu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Xr,Z6],imports:[gh,tu,n2,n2]}),t})();function Q6(t,n){}class zm{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let m2=(()=>{class t extends jm{constructor(e,i,s,o,a,l,c,_){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=_,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=E=>{this._portalOutlet.hasAttached();const R=this._portalOutlet.attachDomPortal(E);return this._contentAttached(),R},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=s}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const s=()=>{e.removeEventListener("blur",s),e.removeEventListener("mousedown",s),e.removeAttribute("tabindex")};e.addEventListener("blur",s),e.addEventListener("mousedown",s)})),e.focus(i)}_focusByCssSelector(e,i){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const s=Uy(),o=this._elementRef.nativeElement;(!s||s===this._document.body||s===o||o.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Uy();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Uy())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N(zm),N(Hm),N(mt),N(yh),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&vt($a,7),2&e){let s;at(s=lt())&&(i._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Wt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[pt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&U(0,Q6,0,0,"ng-template",0)},dependencies:[$a],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class c0{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new J,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!So(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const _2=new Be("DialogScrollStrategy"),J6=new Be("DialogData"),X6=new Be("DefaultDialogConfig"),t9={provide:_2,deps:[Xr],useFactory:function e9(t){return()=>t.scrollStrategies.block()}};let n9=0,g2=(()=>{class t{constructor(e,i,s,o,a,l){this._overlay=e,this._injector=i,this._defaultOptions=s,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._ariaHiddenElements=new Map,this.afterAllClosed=Qd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=l}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,i){(i={...this._defaultOptions||new zm,...i}).id=i.id||"cdk-dialog-"+n9++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),a=this._overlay.create(o),l=new c0(a,i),c=this._attachContainer(a,l,i);return l.containerInstance=c,this._attachDialogContent(e,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){u0(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){u0(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),u0(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new bh({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,s){const o=s.injector||s.viewContainerRef?.injector,a=[{provide:zm,useValue:s},{provide:c0,useValue:i},{provide:yh,useValue:e}];let l;s.container?"function"==typeof s.container?l=s.container:(l=s.container.type,a.push(...s.container.providers(s))):l=m2;const c=new Xc(l,s.viewContainerRef,Jn.create({parent:o||this._injector,providers:a}),s.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,i,s,o){if(e instanceof Ar){const a=this._createInjector(o,i,s,void 0);let l={$implicit:o.data,dialogRef:i};o.templateContext&&(l={...l,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),s.attachTemplatePortal(new eu(e,null,l,a))}else{const a=this._createInjector(o,i,s,this._injector),l=s.attachComponentPortal(new Xc(e,o.viewContainerRef,a,o.componentFactoryResolver));i.componentInstance=l.instance}}_createInjector(e,i,s,o){const a=e.injector||e.viewContainerRef?.injector,l=[{provide:J6,useValue:e.data},{provide:c0,useValue:i}];return e.providers&&("function"==typeof e.providers?l.push(...e.providers(i,e,s)):l.push(...e.providers)),e.direction&&(!a||!a.get(gs,null,_t.Optional))&&l.push({provide:gs,useValue:{value:e.direction,change:ze()}}),Jn.create({parent:a||o,providers:l})}_removeOpenDialog(e,i){const s=this.openDialogs.indexOf(e);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let s=i.length-1;s>-1;s--){const o=i[s];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(Jn),Ce(X6,8),Ce(t,12),Ce(Um),Ce(_2))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function u0(t,n){let e=t.length;for(;e--;)n(t[e])}let i9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[g2,t9],imports:[nu,tu,n0,tu]}),t})();function r9(t,n){if(1&t&&De(0,"mat-pseudo-checkbox",4),2&t){const e=W();D("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function s9(t,n){if(1&t&&(T(0,"span",5),O(1),k()),2&t){const e=W();d(1),ye("(",e.group.label,")")}}const o9=["*"],l9=new Be("mat-sanity-checks",{providedIn:"root",factory:function a9(){return!0}});let Pn=(()=>{class t{constructor(e,i,s){this._sanityChecks=i,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!zy()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(Ce(Qx),Ce(l9,8),Ce(Ct))},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[gh,gh]}),t})();function iu(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=En(n)}}}function ru(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function Mh(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=En(n)}}}function y2(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?eo(e):this.defaultTabIndex}}}function M2(t){return class extends t{constructor(...n){super(...n),this.errorState=!1}updateErrorState(){const n=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==n&&(this.errorState=o,this.stateChanges.next())}}}let u9=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.dirty||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Wm=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class d9{constructor(n,e,i,s=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=s,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const w2={enterDuration:225,exitDuration:150},d0=Ll({passive:!0}),C2=["mousedown","touchstart"],S2=["mouseup","mouseleave","touchend","touchcancel"];class f9{constructor(n,e,i,s){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Jo(i))}fadeInRipple(n,e,i={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...w2,...i.animation};i.centered&&(n=s.left+s.width/2,e=s.top+s.height/2);const a=i.radius||function p9(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),s=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+s*s)}(n,e,s),l=n-s.left,c=e-s.top,_=o.enterDuration,E=document.createElement("div");E.classList.add("mat-ripple-element"),E.style.left=l-a+"px",E.style.top=c-a+"px",E.style.height=2*a+"px",E.style.width=2*a+"px",null!=i.color&&(E.style.backgroundColor=i.color),E.style.transitionDuration=`${_}ms`,this._containerElement.appendChild(E);const R=window.getComputedStyle(E),X=R.transitionDuration,he="none"===R.transitionProperty||"0s"===X||"0s, 0s"===X,Se=new d9(this,E,i,he);E.style.transform="scale3d(1, 1, 1)",Se.state=0,i.persistent||(this._mostRecentTransientRipple=Se);let Pe=null;return!he&&(_||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Re=()=>this._finishRippleTransition(Se),$e=()=>this._destroyRipple(Se);E.addEventListener("transitionend",Re),E.addEventListener("transitioncancel",$e),Pe={onTransitionEnd:Re,onTransitionCancel:$e}}),this._activeRipples.set(Se,Pe),(he||!_)&&this._finishRippleTransition(Se),Se}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...w2,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Jo(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(C2))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(S2),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=Jy(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,d0)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(C2.forEach(n=>{this._triggerElement.removeEventListener(n,this,d0)}),this._pointerUpEventsRegistered&&S2.forEach(n=>{this._triggerElement.removeEventListener(n,this,d0)}))}}const D2=new Be("mat-ripple-global-options");let Xo=(()=>{class t{constructor(e,i,s,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new f9(this,i,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...s}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(Di),N(D2,8),N(Ui,8))},t.\u0275dir=Je({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&dn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),Ch=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,Pn]}),t})(),m9=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&dn("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),t})(),_9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn]}),t})();const k2=new Be("MAT_OPTION_PARENT_COMPONENT"),T2=new Be("MatOptgroup");let g9=0;class v9{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let b9=(()=>{class t{constructor(e,i,s,o){this._element=e,this._changeDetectorRef=i,this._parent=s,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+g9++,this.onSelectionChange=new ft,this._stateChanges=new J}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=En(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!So(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new v9(this,e))}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),su=(()=>{class t extends b9{constructor(e,i,s,o){super(e,i,s,o)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(k2,8),N(T2,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&Me("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(pl("id",i.id),Wt("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),dn("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[pt],ngContentSelectors:o9,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Kr(),U(0,r9,1,2,"mat-pseudo-checkbox",0),T(1,"span",1),mi(2),k(),U(3,s9,2,1,"span",2),De(4,"div",3)),2&e&&(D("ngIf",i.multiple),d(3),D("ngIf",i.group&&i.group._inert),d(1),D("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xo,Ot,m9],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),t})();function x2(t,n,e){if(e.length){let i=n.toArray(),s=e.toArray(),o=0;for(let a=0;a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,yo,Pn,_9]}),t})();function M9(t,n){}const ou={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},w9={dialogContainer:Ko("dialogContainer",[Nr("void, exit",bn({opacity:0,transform:"scale(0.7)"})),Nr("enter",bn({transform:"none"})),Sr("* => enter",yk([Fr("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",bn({transform:"none",opacity:1})),Ob("@*",Ib(),{optional:!0})]),ou),Sr("* => void, * => exit",yk([Fr("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",bn({opacity:0})),Ob("@*",Ib(),{optional:!0})]),ou)])};class $n{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=ou.params.enterAnimationDuration,this.exitAnimationDuration=ou.params.exitAnimationDuration}}let C9=(()=>{class t extends m2{constructor(e,i,s,o,a,l,c,_){super(e,i,s,o,a,l,c,_),this._animationStateChanged=new ft}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N($n),N(Hm),N(mt),N(yh),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["ng-component"]],features:[pt],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),S9=(()=>{class t extends C9{constructor(e,i,s,o,a,l,c,_,E){super(e,i,s,o,a,l,c,E),this._changeDetectorRef=_,this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?this._openAnimationDone(i):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||ou.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||ou.params.exitAnimationDuration}}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Qy),N(Ct,8),N($n),N(Hm),N(mt),N(yh),N(Xn),N(Do))},t.\u0275cmp=Qe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&Jf("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&(pl("id",i._config.id),Wt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),ep("@dialogContainer",i._getAnimationState()))},features:[pt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&U(0,M9,0,0,"ng-template",0)},dependencies:[$a],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[w9.dialogContainer]}}),t})();class ei{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new J,this._beforeClosed=new J,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(Si(s=>"opened"===s.state),An(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Si(s=>"closed"===s.state),An(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Yt(this.backdropClick(),this.keydownEvents().pipe(Si(s=>27===s.keyCode&&!this.disableClose&&!So(s)))).subscribe(s=>{this.disableClose||(s.preventDefault(),E2(this,"keydown"===s.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Si(e=>"closing"===e.state),An(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function E2(t,n,e){return t._closeInteractionType=n,t.close(e)}const $i=new Be("MatDialogData"),P2=new Be("mat-dialog-default-options"),I2=new Be("mat-dialog-scroll-strategy"),k9={provide:I2,deps:[Xr],useFactory:function D9(t){return()=>t.scrollStrategies.block()}};let T9=0,x9=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R){this._overlay=e,this._defaultOptions=s,this._parentDialog=o,this._dialogRefConstructor=c,this._dialogContainerType=_,this._dialogDataToken=E,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._idPrefix="mat-dialog-",this.afterAllClosed=Qd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=l,this._dialog=i.get(g2)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){let s;(i={...this._defaultOptions||new $n,...i}).id=i.id||`${this._idPrefix}${T9++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:$n,useValue:i},{provide:zm,useValue:i}]},templateContext:()=>({dialogRef:s}),providers:(a,l,c)=>(s=new this._dialogRefConstructor(a,i,c),s.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:s}])});return s.componentInstance=o.componentInstance,this.openDialogs.push(s),this.afterOpened.next(s),s.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(s);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){dl()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Gn=(()=>{class t extends x9{constructor(e,i,s,o,a,l,c,_){super(e,i,o,l,c,a,ei,S9,$i,_)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(Jn),Ce(Vd,8),Ce(P2,8),Ce(I2),Ce(t,12),Ce(Um),Ce(Ui,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),L9=0,E9=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this._elementRef=i,this._dialog=s,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=O2(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){E2(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(N(ei,8),N(bt),N(Gn))},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._onButtonClick(o)}),2&e&&Wt("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ii]}),t})(),P9=(()=>{class t{constructor(e,i,s){this._dialogRef=e,this._elementRef=i,this._dialog=s,this.id="mat-dialog-title-"+L9++}ngOnInit(){this._dialogRef||(this._dialogRef=O2(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(N(ei,8),N(bt),N(Gn))},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&pl("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),h0=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})();function O2(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let I9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Gn,k9],imports:[i9,nu,tu,Pn,Pn]}),t})();const A2=["mat-button",""],R2=["*"],R9=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],F9=ru(iu(Mh(class{constructor(t){this._elementRef=t}})));let kr=(()=>{class t extends F9{constructor(e,i,s){super(e),this._focusMonitor=i,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of R9)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Do),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&vt(Xo,5),2&e){let s;at(s=lt())&&(i.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Wt("disabled",i.disabled||null),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[pt],attrs:A2,ngContentSelectors:R2,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Kr(),T(0,"span",0),mi(1),k(),De(2,"span",1)(3,"span",2)),2&e&&(d(2),dn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),D("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[Xo],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),t})(),N9=(()=>{class t extends kr{constructor(e,i,s,o){super(i,e,s),this._ngZone=o,this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return t.\u0275fac=function(e){return new(e||t)(N(Do),N(bt),N(Ui,8),N(mt,8))},t.\u0275cmp=Qe({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,i){2&e&&(Wt("tabindex",i.disabled?-1:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString()),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[pt],attrs:A2,ngContentSelectors:R2,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Kr(),T(0,"span",0),mi(1),k(),De(2,"span",1)(3,"span",2)),2&e&&(d(2),dn("mat-button-ripple-round",i.isRoundButton||i.isIconButton),D("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[Xo],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),t})(),F2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,Pn,Pn]}),t})();function Y9(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"button",3),Me("click",function(){return Ie(e),Oe(W().action())}),O(2),k()()}if(2&t){const e=W();d(2),pe(e.data.action)}}function H9(t,n){}const f0=new Be("MatSnackBarData");class $m{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const V9=Math.pow(2,31)-1;class Gm{constructor(n,e){this._overlayRef=e,this._afterDismissed=new J,this._afterOpened=new J,this._onAction=new J,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,V9))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let B9=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(N(Gm),N(f0))},t.\u0275cmp=Qe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"span",0),O(1),k(),U(2,Y9,3,1,"div",1)),2&e&&(d(1),pe(i.data.message),d(1),D("ngIf",i.hasAction))},dependencies:[Ot,kr],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),t})();const j9={snackBarState:Ko("state",[Nr("void, hidden",bn({transform:"scale(0.8)",opacity:0})),Nr("visible",bn({transform:"scale(1)",opacity:1})),Sr("* => visible",Fr("150ms cubic-bezier(0, 0, 0.2, 1)")),Sr("* => void, * => hidden",Fr("75ms cubic-bezier(0.4, 0.0, 1, 1)",bn({opacity:0})))])};let U9=(()=>{class t extends jm{constructor(e,i,s,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=s,this._platform=o,this.snackBarConfig=a,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new J,this._onExit=new J,this._onEnter=new J,this._animationState="void",this.attachDomPortal=l=>{this._assertNotAttached();const c=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),c},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:s}=e;if(("void"===s&&"void"!==i||"hidden"===s)&&this._completeExit(),"visible"===s){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(An(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(mt),N(bt),N(Xn),N(Di),N($m))},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&vt($a,7),2&e){let s;at(s=lt())&&(i._portalOutlet=s.first)}},features:[pt]}),t})(),z9=(()=>{class t extends U9{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275cmp=Qe({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&Jf("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&ep("@state",i._animationState)},features:[pt],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(T(0,"div",0),U(1,H9,0,0,"ng-template",1),k(),De(2,"div")),2&e&&(d(2),Wt("aria-live",i._live)("role",i._role))},dependencies:[$a],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[j9.snackBarState]}}),t})(),N2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[nu,tu,yo,F2,Pn,Pn]}),t})();const p0=new Be("mat-snack-bar-default-options",{providedIn:"root",factory:function W9(){return new $m}});let $9=(()=>{class t{constructor(e,i,s,o,a,l){this._overlay=e,this._live=i,this._injector=s,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",s){const o={...this._defaultConfig,...s};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Jn.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:$m,useValue:i}]}),a=new Xc(this.snackBarContainerComponent,i.viewContainerRef,o),l=e.attach(a);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){const s={...new $m,...this._defaultConfig,...i},o=this._createOverlay(s),a=this._attachSnackBarContainer(o,s),l=new Gm(a,o);if(e instanceof Ar){const c=new eu(e,null,{$implicit:s.data,snackBarRef:l});l.instance=a.attachTemplatePortal(c)}else{const c=this._createInjector(s,l),_=new Xc(e,void 0,c),E=a.attachComponentPortal(_);l.instance=E.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(fn(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),s.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(l,s),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new bh;i.direction=e.direction;let s=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,l=!a&&"center"!==e.horizontalPosition;return a?s.left("0"):l?s.right("0"):s.centerHorizontally(),"top"===e.verticalPosition?s.top("0"):s.bottom("0"),i.positionStrategy=s,this._overlay.create(i)}_createInjector(e,i){return Jn.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Gm,useValue:i},{provide:f0,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(e0),Ce(Jn),Ce(Fm),Ce(t,12),Ce(p0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),G9=(()=>{class t extends $9{constructor(e,i,s,o,a,l){super(e,i,s,o,a,l),this.simpleSnackBarComponent=B9,this.snackBarContainerComponent=z9,this.handsetCssClass="mat-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(Ce(Xr),Ce(e0),Ce(Jn),Ce(Fm),Ce(t,12),Ce(p0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:N2}),t})();function Y2(...t){if(1===t.length){const n=t[0];if(M(n))return qm(n,null);if(p(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return qm(e.map(i=>n[i]),e)}}if("function"==typeof t[t.length-1]){const n=t.pop();return qm(t=1===t.length&&M(t[0])?t[0]:t,null).pipe(Xe(e=>n(...e)))}return qm(t,null)}function qm(t,n){return new ce(e=>{const i=t.length;if(0===i)return void e.complete();const s=new Array(i);let o=0,a=0;for(let l=0;l{_||(_=!0,a++),s[l]=E},error:E=>e.error(E),complete:()=>{o++,(o===i||!_)&&(a===i&&e.next(n?n.reduce((E,R,$)=>(E[R]=s[$],E),{}):s),e.complete())}}))}})}const q9=["*"];let Km;function Sh(t){return function K9(){if(void 0===Km&&(Km=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(Km=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Km}()?.createHTML(t)||t}function H2(t){return Error(`Unable to find icon with the name "${t}"`)}function V2(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function B2(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Al{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let Zm=(()=>{class t{constructor(e,i,s,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=s}addSvgIcon(e,i,s){return this.addSvgIconInNamespace("",e,i,s)}addSvgIconLiteral(e,i,s){return this.addSvgIconLiteralInNamespace("",e,i,s)}addSvgIconInNamespace(e,i,s,o){return this._addSvgIconConfig(e,i,new Al(s,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,s,o){const a=this._sanitizer.sanitize(vn.HTML,s);if(!a)throw B2(s);const l=Sh(a);return this._addSvgIconConfig(e,i,new Al("",l,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,s){return this._addSvgIconSetConfig(e,new Al(i,null,s))}addSvgIconSetLiteralInNamespace(e,i,s){const o=this._sanitizer.sanitize(vn.HTML,i);if(!o)throw B2(i);const a=Sh(o);return this._addSvgIconSetConfig(e,new Al("",a,s))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(vn.RESOURCE_URL,e);if(!i)throw V2(e);const s=this._cachedIconsByUrl.get(i);return s?ze(Qm(s)):this._loadSvgIconFromConfig(new Al(e,null)).pipe(ui(o=>this._cachedIconsByUrl.set(i,o)),Xe(o=>Qm(o)))}getNamedSvgIcon(e,i=""){const s=j2(i,e);let o=this._svgIconConfigs.get(s);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(s,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Dr(H2(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ze(Qm(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Xe(i=>Qm(i)))}_getSvgFromIconSetConfigs(e,i){const s=this._extractIconWithNameFromAnySet(e,i);return s?ze(s):Y2(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Qr(l=>{const _=`Loading icon set URL: ${this._sanitizer.sanitize(vn.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(_)),ze(null)})))).pipe(Xe(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw H2(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let s=i.length-1;s>=0;s--){const o=i[s];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),l=this._extractSvgIconFromSet(a,e,o.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ui(i=>e.svgText=i),Xe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ze(null):this._fetchIcon(e).pipe(ui(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,s){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,s);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),s);const l=this._svgElementFromString(Sh(""));return l.appendChild(a),this._setSvgAttributes(l,s)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const s=i.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const i=this._svgElementFromString(Sh("")),s=e.attributes;for(let o=0;oSh(_)),nm(()=>this._inProgressUrlFetches.delete(a)),mn());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,s){return this._svgIconConfigs.set(j2(e,i),s),this}_addSvgIconSetConfig(e,i){const s=this._iconSetConfigs.get(e);return s?s.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let s=0;sn?n.pathname+n.search:""}}}),U2=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],r7=U2.map(t=>`[${t}]`).join(", "),s7=/^url\(['"]?#(.*?)['"]?\)$/;let Cn=(()=>{class t extends X9{constructor(e,i,s,o,a,l){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=x.EMPTY,l&&(l.color&&(this.color=this.defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=En(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const s=e.childNodes[i];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(s=>s.length>0);this._previousFontSetClass.forEach(s=>e.classList.remove(s)),i.forEach(s=>e.classList.add(s)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((s,o)=>{s.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(r7),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const l=i[o],c=l.getAttribute(a),_=c?c.match(s7):null;if(_){let E=s.get(l);E||(E=[],s.set(l,E)),E.push({name:a,value:_[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,s]=this._splitIconName(e);i&&(this._svgNamespace=i),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,i).pipe(An(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${s}! ${o.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Zm),Ht("aria-hidden"),N(t7),N(Vo),N(e7,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(Wt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),dn("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[pt],ngContentSelectors:q9,decls:1,vars:0,template:function(e,i){1&e&&(Kr(),mi(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),t})(),o7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,Pn]}),t})();function l7(t,n,e){return 0===e?[n]:(t.push(n),t)}class Dh{}let z2=(()=>{class t extends Dh{getTranslation(e){return ze({})}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class m0{}let W2=(()=>{class t{handle(e){return e.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class Jm{}let $2=(()=>{class t extends Jm{compile(e,i){return e}compileTranslations(e,i){return e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function kh(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;let s,o,a,e=typeof t;if(e==typeof n&&"object"==e){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(o in a=Object.create(null),t){if(!kh(t[o],n[o]))return!1;a[o]=!0}for(o in n)if(!(o in a)&&typeof n[o]<"u")return!1;return!0}if(!Array.isArray(n))return!1;if((s=t.length)==n.length){for(o=0;o{_0(n[i])?i in t?e[i]=G2(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}class Xm{}let q2=(()=>{class t extends Xm{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,i){let s;return s="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,s}getValue(e,i){let s=i.split(".");i="";do{i+=s.shift(),!to(e)||!to(e[i])||"object"!=typeof e[i]&&s.length?s.length?i+=".":e=void 0:(e=e[i],i="")}while(s.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(s,o)=>{let a=this.getValue(i,o);return to(a)?a:s}):e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class K2{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new ft,this.onLangChange=new ft,this.onDefaultLangChange=new ft}}const g0=new Be("USE_STORE"),v0=new Be("USE_DEFAULT_LANG");let Hr=(()=>{class t{constructor(e,i,s,o,a,l=!0,c=!1){this.store=e,this.currentLoader=i,this.compiler=s,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=l,this.isolate=c,this.pending=!1,this._onTranslationChange=new ft,this._onLangChange=new ft,this._onDefaultLangChange=new ft,this._langs=[],this._translations={},this._translationRequests={}}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang||(this.defaultLang=e),i.pipe(An(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return ze(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(An(1)).subscribe(s=>{this.changeLang(e)}),i):(this.changeLang(e),ze(this.translations[e]))}retrieveTranslations(e){let i;return typeof this.translations[e]>"u"&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(e).pipe(mn()),this.loadingTranslations.pipe(An(1)).subscribe(i=>{this.translations[e]=this.compiler.compileTranslations(i,e),this.updateLangs(),this.pending=!1},i=>{this.pending=!1}),this.loadingTranslations}setTranslation(e,i,s=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=s&&this.translations[e]?G2(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,s){let o;if(i instanceof Array){let a={},l=!1;for(let c of i)a[c]=this.getParsedResult(e,c,s),"function"==typeof a[c].subscribe&&(l=!0);if(l){let c;for(let _ of i){let E="function"==typeof a[_].subscribe?a[_]:ze(a[_]);c=typeof c>"u"?E:Yt(c,E)}return c.pipe(function c7(){return function a7(t,n){return arguments.length>=2?function(i){return Z(tm(t,n),Xd(1),Jd(n))(i)}:function(i){return Z(tm((s,o,a)=>t(s,o,a+1)),Xd(1))(i)}}(l7,[])}(),Xe(_=>{let E={};return _.forEach((R,$)=>{E[i[$]]=R}),E}))}return a}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,i),s)),typeof o>"u"&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),s)),typeof o>"u"){let a={key:i,translateService:this};typeof s<"u"&&(a.interpolateParams=s),o=this.missingTranslationHandler.handle(a)}return typeof o<"u"?o:i}get(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return ce.create(s=>{let o=l=>{s.next(l),s.complete()},a=l=>{s.error(l)};this.loadingTranslations.subscribe(l=>{"function"==typeof(l=this.getParsedResult(this.compiler.compileTranslations(l,this.currentLang),e,i)).subscribe?l.subscribe(o,a):o(l)},a)});{let s=this.getParsedResult(this.translations[this.currentLang],e,i);return"function"==typeof s.subscribe?s:ze(s)}}stream(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');return Sl(this.get(e,i),this.onLangChange.pipe(lr(s=>{const o=this.getParsedResult(s.translations,e,i);return"function"==typeof o.subscribe?o:ze(o)})))}instant(e,i){if(!to(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,i);if(typeof s.subscribe<"u"){if(e instanceof Array){let o={};return e.forEach((a,l)=>{o[e[l]]=e[l]}),o}return e}return s}set(e,i,s=this.currentLang){this.translations[s][e]=this.compiler.compile(i,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang||this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return t.\u0275fac=function(e){return new(e||t)(Ce(K2),Ce(Dh),Ce(Jm),Ce(Xm),Ce(m0),Ce(v0),Ce(g0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),kt=(()=>{class t{constructor(e,i){this.translate=e,this._ref=i,this.value=""}updateValue(e,i,s){let o=a=>{this.value=void 0!==a?a:e,this.lastKey=e,this._ref.markForCheck()};if(s){let a=this.translate.getParsedResult(s,e,i);"function"==typeof a.subscribe?a.subscribe(o):o(a)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||0===e.length)return e;if(kh(e,this.lastKey)&&kh(i,this.lastParams))return this.value;let s;if(to(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(s=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Hr,16),N(Xn,16))},t.\u0275pipe=Ki({name:"translate",type:t,pure:!1}),t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Z2=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Dh,useClass:z2},e.compiler||{provide:Jm,useClass:$2},e.parser||{provide:Xm,useClass:q2},e.missingTranslationHandler||{provide:m0,useClass:W2},K2,{provide:g0,useValue:e.isolate},{provide:v0,useValue:e.useDefaultLang},Hr]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Dh,useClass:z2},e.compiler||{provide:Jm,useClass:$2},e.parser||{provide:Xm,useClass:q2},e.missingTranslationHandler||{provide:m0,useClass:W2},{provide:g0,useValue:e.isolate},{provide:v0,useValue:e.useDefaultLang},Hr]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();function u7(t,n){if(1&t&&(T(0,"div",5)(1,"mat-icon",6),O(2),k()()),2&t){const e=W();d(1),D("inline",!0),d(1),pe(e.config.icon)}}function d7(t,n){if(1&t&&(T(0,"div",7),O(1),Y(2,"translate"),Y(3,"translate"),k()),2&t){const e=W();d(1),ps(" ",B(2,2,"common.error")," ",Vt(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var au=(()=>(function(t){t.Error="error",t.Done="done",t.Warning="warning"}(au||(au={})),au))(),lu=(()=>(function(t){t.Red="red-background",t.Green="green-background",t.Yellow="yellow-background"}(lu||(lu={})),lu))();let h7=(()=>{class t{constructor(e,i){this.snackbarRef=i,this.config=e}close(){this.snackbarRef.dismiss()}}return t.\u0275fac=function(e){return new(e||t)(N(f0),N(Gm))},t.\u0275cmp=Qe({type:t,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(e,i){1&e&&(T(0,"div"),U(1,u7,3,2,"div",0),T(2,"div",1),O(3),Y(4,"translate"),U(5,d7,4,7,"div",2),k(),De(6,"div",3),T(7,"mat-icon",4),Me("click",function(){return i.close()}),O(8,"close"),k()()),2&e&&(fs("main-container "+i.config.color),d(1),D("ngIf",i.config.icon),d(2),ye(" ",Vt(4,5,i.config.text,i.config.textTranslationParams)," "),d(2),D("ngIf",i.config.smallText))},dependencies:[Ot,Cn,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:#0000004d}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;user-select:none}']}),t})(),Vn=(()=>{class t{constructor(e){this.snackBar=e,this.lastWasTemporaryError=!1}showError(e,i=null,s=!1,o=null,a=null){e=an(e),o=o?an(o):null,this.lastWasTemporaryError=s,this.show(e.translatableErrorMsg,i,o?o.translatableErrorMsg:null,a,au.Error,lu.Red,15e3)}showWarning(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,au.Warning,lu.Yellow,15e3)}showDone(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,au.Done,lu.Green,5e3)}closeCurrent(){this.snackBar.dismiss()}closeCurrentIfTemporaryError(){this.lastWasTemporaryError&&this.snackBar.dismiss()}show(e,i,s,o,a,l,c){this.snackBar.openFromComponent(h7,{duration:c,panelClass:"snackbar-container",data:{text:e,textTranslationParams:i,smallText:s,smallTextTranslationParams:o,icon:a,color:l}})}}return t.\u0275fac=function(e){return new(e||t)(Ce(G9))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Kt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}};class f7{constructor(n){Object.assign(this,n)}}let e_=(()=>{class t{constructor(e){this.translate=e,this.currentLanguage=new Xs(1),this.languages=new Xs(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}loadLanguageSettings(){if(this.settingsLoaded)return;this.settingsLoaded=!0;const e=[];Kt.languages.forEach(i=>{const s=new f7(i);this.languagesInternal.push(s),e.push(s.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(e),this.translate.setDefaultLang(Kt.defaultLanguage),this.translate.onLangChange.subscribe(i=>this.onLanguageChanged(i)),this.loadCurrentLanguage()}changeLanguage(e){this.translate.use(e)}onLanguageChanged(e){this.currentLanguage.next(this.languagesInternal.find(i=>i.code===e.lang)),localStorage.setItem(this.storageKey,e.lang)}loadCurrentLanguage(){let e=localStorage.getItem(this.storageKey);e=e||Kt.defaultLanguage,setTimeout(()=>this.translate.use(e),16)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hr))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const p7={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)};class b0 extends Te{constructor(n,e){if(super(),n instanceof ce)this.destination=e,this.source=n;else{const i=this._config=Object.assign({},p7);if(this._output=new J,"string"==typeof n)i.url=n;else for(let s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new Xs}}lift(n){const e=new b0(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new Xs),this._output=new J}multiplex(n,e,i){const s=this;return new ce(o=>{try{s.next(n())}catch(l){o.error(l)}const a=s.subscribe(l=>{try{i(l)&&o.next(l)}catch(c){o.error(c)}},l=>o.error(l),()=>o.complete());return()=>{try{s.next(e())}catch(l){o.error(l)}a.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:n,protocol:e,url:i,binaryType:s}=this._config,o=this._output;let a=null;try{a=e?new n(i,e):new n(i),this._socket=a,s&&(this._socket.binaryType=s)}catch(c){return void o.error(c)}const l=new x(()=>{this._socket=null,a&&1===a.readyState&&a.close()});a.onopen=c=>{const{_socket:_}=this;if(!_)return a.close(),void this._resetState();const{openObserver:E}=this._config;E&&E.next(c);const R=this.destination;this.destination=A.create($=>{if(1===a.readyState)try{const{serializer:X}=this._config;a.send(X($))}catch(X){this.destination.error(X)}},$=>{const{closingObserver:X}=this._config;X&&X.next(void 0),$&&$.code?a.close($.code,$.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:$}=this._config;$&&$.next(void 0),a.close(),this._resetState()}),R&&R instanceof Xs&&l.add(R.subscribe(this.destination))},a.onerror=c=>{this._resetState(),o.error(c)},a.onclose=c=>{this._resetState();const{closeObserver:_}=this._config;_&&_.next(c),c.wasClean?o.complete():o.error(c)},a.onmessage=c=>{try{const{deserializer:_}=this._config;o.next(_(c))}catch(_){o.error(_)}}}_subscribe(n){const{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&1===i.readyState&&i.close(),this._resetState())}),n)}unsubscribe(){const{_socket:n}=this;n&&1===n.readyState&&n.close(),this._resetState(),super.unsubscribe()}}var cu=(()=>(function(t){t.Json="json",t.Text="text"}(cu||(cu={})),cu))(),uu=(()=>(function(t){t.Json="json"}(uu||(uu={})),uu))();class Rl{constructor(n){this.responseType=cu.Json,this.requestType=uu.Json,this.ignoreAuth=!1,Object.assign(this,n)}}let Ga=(()=>{class t{constructor(e,i,s){this.http=e,this.router=i,this.ngZone=s,this.apiPrefix="api/",this.wsApiPrefix="api/"}get(e,i=null){return this.request("GET",e,{},i)}post(e,i={},s=null){return this.request("POST",e,i,s)}put(e,i={},s=null){return this.request("PUT",e,i,s)}delete(e,i=null){return this.request("DELETE",e,{},i)}ws(e,i={}){const a=function _7(t){return new b0(t)}((location.protocol.startsWith("https")?"wss://":"ws://")+location.host+"/"+this.wsApiPrefix+e);return a.next(i),a}request(e,i,s,o){return s=s||{},o=o||new Rl,i.startsWith("/")&&(i=i.substr(1,i.length-1)),this.http.request(e,this.apiPrefix+i,{...this.getRequestOptions(o),responseType:o.responseType,withCredentials:!0,body:this.getPostBody(s,o)}).pipe(Xe(a=>this.successHandler(a)),Qr(a=>this.errorHandler(a,o)))}getRequestOptions(e){const i={};return i.headers=new wo,e.requestType===uu.Json&&(i.headers=i.headers.append("Content-Type","application/json")),i}getPostBody(e,i){if(i.requestType===uu.Json)return JSON.stringify(e);const s=new FormData;return Object.keys(e).forEach(o=>s.append(o,e[o])),s}successHandler(e){if("string"==typeof e&&"manager token is null"===e)throw new Error(e);return e}errorHandler(e,i){if(!i.ignoreAuth){if(401===e.status){const s=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(s,{replaceUrl:!0}))}if(e.error&&"string"==typeof e.error&&e.error.includes("change password")){const s=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(s,{replaceUrl:!0}))}}return Dr(an(e))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl),Ce(Ut),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function g7(t,n){if(1&t&&(ba(),De(0,"circle",4)),2&t){const e=W(),i=li(1);Ia("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Wt("r",e._getCircleRadius())}}function v7(t,n){if(1&t&&(ba(),De(0,"circle",4)),2&t){const e=W(),i=li(1);Ia("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),Wt("r",e._getCircleRadius())}}const y7=ru(class{constructor(t){this._elementRef=t}},"primary"),M7=new Be("mat-progress-spinner-default-options",{providedIn:"root",factory:function w7(){return{diameter:100}}});class Vr extends y7{constructor(n,e,i,s,o,a,l,c){super(n),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=x.EMPTY,this.mode="determinate";const _=Vr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),_.has(i.head)||_.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,"mat-spinner"===n.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&l&&a&&c&&(this._resizeSubscription=l.change(150).subscribe(()=>{"indeterminate"===this.mode&&c.run(()=>a.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=eo(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=eo(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,eo(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=Rx(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){const e=50*(n.currentScale??1);return`${e}% ${e}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,i=Vr._diameters;let s=i.get(n);if(!s||!s.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),n.appendChild(o),s||(s=new Set,i.set(n,s)),s.add(e)}}_getAnimationText(){const n=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Vr._diameters=new WeakMap,Vr.\u0275fac=function(n){return new(n||Vr)(N(bt),N(Di),N(Ct,8),N(Ui,8),N(M7),N(Xn),N(Il),N(mt))},Vr.\u0275cmp=Qe({type:Vr,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(Wt("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Ia("width",e.diameter,"px")("height",e.diameter,"px"),dn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[pt],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(ba(),T(0,"svg",0,1),U(2,g7,1,11,"circle",2),U(3,v7,1,9,"circle",3),k()),2&n&&(Ia("width",e.diameter,"px")("height",e.diameter,"px"),D("ngSwitch","indeterminate"===e.mode),Wt("viewBox",e._getViewBox()),d(2),D("ngSwitchCase",!0),d(1),D("ngSwitchCase",!1))},dependencies:[Hc,kp],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let S7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Pn,yo,Pn]}),t})();const D7=function(t){return{"white-theme":t}};let ko=(()=>{class t{constructor(){this.showWhite=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"mat-spinner",1),k()),2&e&&(D("ngClass",Ue(2,D7,i.showWhite)),d(1),D("diameter",50))},dependencies:[Wn,Vr],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),t})();function k7(t,n){1&t&&(T(0,"div",5)(1,"div"),De(2,"img",6),T(3,"div"),O(4),Y(5,"translate"),k()()()),2&t&&(d(4),pe(B(5,1,"common.window-size-error")))}function T7(t,n){1&t&&De(0,"router-outlet")}function x7(t,n){1&t&&De(0,"app-loading-indicator",7)}const L7=function(t){return{background:t}};let E7=(()=>{class t{constructor(e,i,s,o,a,l){this.storage=e,this.snackbarService=o,this.languageService=a,this.apiService=l,this.inVpnClient=!1,this.hypervisorPkObtained=!1,this.pkErrorShown=!1,s.afterOpened.subscribe(()=>o.closeCurrent()),i.events.subscribe(c=>{c instanceof za&&(o.closeCurrent(),s.closeAll(),window.scrollTo(0,0))}),s.afterAllClosed.subscribe(()=>o.closeCurrentIfTemporaryError()),i.events.subscribe(()=>{this.inVpnClient=i.url.includes("/vpn/")||i.url.includes("vpnlogin"),i.url.length>2&&(document.title=this.inVpnClient?"Skywire VPN":"Skywire Manager")}),this.languageService.loadLanguageSettings(),this.checkHypervisorPk(0)}checkHypervisorPk(e){ze(1).pipe(Ji(e),we(()=>this.apiService.get("about"))).subscribe(i=>{i.public_key?(this.finishStartup(i.public_key),this.hypervisorPkObtained=!0):(this.pkErrorShown||(this.snackbarService.showError("start.loading-error",null,!0),this.pkErrorShown=!0),this.checkHypervisorPk(1e3))},i=>{if(!this.pkErrorShown){const s=an(i);this.snackbarService.showError("start.loading-error",null,!0,s),this.pkErrorShown=!0}this.checkHypervisorPk(1e3)})}finishStartup(e){this.storage.initialize(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Xi),N(Ut),N(Gn),N(Vn),N(e_),N(Ga))},t.\u0275cmp=Qe({type:t,selectors:[["app-root"]],decls:5,vars:6,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[4,"ngIf"],["class","h-100",4,"ngIf"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"],[1,"h-100"]],template:function(e,i){1&e&&(U(0,k7,6,3,"div",0),T(1,"div",1),De(2,"div",2),U(3,T7,1,0,"router-outlet",3),U(4,x7,1,0,"app-loading-indicator",4),k()),2&e&&(D("ngIf",i.inVpnClient),d(2),D("ngClass",Ue(4,L7,i.inVpnClient)),d(1),D("ngIf",i.hypervisorPkObtained),d(1),D("ngIf",!i.hypervisorPkObtained))},dependencies:[Wn,Ot,hm,ko,kt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),t})(),Th=(()=>{class t{constructor(e){this.router=e,this.forceFailInternal=!1}set forceFail(e){this.forceFailInternal=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),ze(!1)):ze(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var To=(()=>(function(t){t[t.AuthDisabled=0]="AuthDisabled",t[t.Logged=1]="Logged",t[t.NotLogged=2]="NotLogged"}(To||(To={})),To))();let xh=(()=>{class t{constructor(e,i,s){this.apiService=e,this.translateService=i,this.authGuardService=s}login(e){return this.apiService.post("login",{username:"admin",password:e},new Rl({ignoreAuth:!0})).pipe(ui(i=>{if(!0!==i)throw new Error;this.authGuardService.forceFail=!1}))}checkLogin(){return this.apiService.get("user",new Rl({ignoreAuth:!0})).pipe(Xe(e=>e.username?To.Logged:To.AuthDisabled),Qr(e=>(e=an(e)).originalError&&401===e.originalError.status?(this.authGuardService.forceFail=!0,ze(To.NotLogged)):Dr(e)))}logout(){return this.apiService.post("logout",{}).pipe(ui(e=>{if(!0!==e)throw new Error;this.authGuardService.forceFail=!0}))}changePassword(e,i){return this.apiService.post("change-password",{old_password:e,new_password:i},new Rl({responseType:cu.Text,ignoreAuth:!0})).pipe(Xe(s=>{if("string"==typeof s&&"true"===s.trim())return!0;throw"Please do not change the default password."===s?new Error(this.translateService.instant("settings.password.errors.default-password")):new Error(this.translateService.instant("common.operation-error"))}),Qr(s=>((s=an(s)).originalError&&401===s.originalError.status&&(s.translatableErrorMsg="settings.password.errors.bad-old-password"),Dr(s))))}initialConfig(e){return this.apiService.post("create-account",{username:"admin",password:e},new Rl({responseType:cu.Text,ignoreAuth:!0})).pipe(Xe(i=>{if("string"==typeof i&&"true"===i.trim())return!0;throw new Error(i)}),Qr(i=>((i=an(i)).originalError&&500===i.originalError.status&&(i.translatableErrorMsg="settings.password.initial-config.error"),Dr(i))))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga),Ce(Hr),Ce(Th))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),P7=(()=>{class t{constructor(e,i){this.authService=e,this.router=i}ngOnInit(){this.verificationSubscription=this.authService.checkLogin().subscribe(e=>{this.router.navigate(e!==To.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},()=>{this.router.navigate(["nodes"],{replaceUrl:!0})})}ngOnDestroy(){this.verificationSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-loading-indicator"),k())},dependencies:[ko]}),t})(),Q2=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(N(po),N(bt))},t.\u0275dir=Je({type:t}),t})(),Fl=(()=>{class t extends Q2{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,features:[pt]}),t})();const no=new Be("NgValueAccessor"),O7={provide:no,useExisting:sn(()=>dr),multi:!0},R7=new Be("CompositionEventMode");let dr=(()=>{class t extends Q2{constructor(e,i,s){super(e,i),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function A7(){const t=bo()?bo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(N(po),N(bt),N(R7,8))},t.\u0275dir=Je({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&Me("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[on([O7]),pt]}),t})();function qa(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function X2(t){return null!=t&&"number"==typeof t.length}const hr=new Be("NgValidators"),Ka=new Be("NgAsyncValidators"),N7=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class yn{static min(n){return function eL(t){return n=>{if(qa(n.value)||qa(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(qa(n.value)||qa(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function nL(t){return qa(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function iL(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function rL(t){return qa(t.value)||N7.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function sL(t){return n=>qa(n.value)||!X2(n.value)?null:n.value.length{if(qa(i.value))return null;const s=i.value;return n.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(n)}static nullValidator(n){return null}static compose(n){return fL(n)}static composeAsync(n){return pL(n)}}function oL(t){return n=>X2(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function n_(t){return null}function lL(t){return null!=t}function cL(t){return Ld(t)?ge(t):t}function uL(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function dL(t,n){return n.map(e=>e(t))}function hL(t){return t.map(n=>function Y7(t){return!t.validate}(n)?n:e=>n.validate(e))}function fL(t){if(!t)return null;const n=t.filter(lL);return 0==n.length?null:function(e){return uL(dL(e,n))}}function M0(t){return null!=t?fL(hL(t)):null}function pL(t){if(!t)return null;const n=t.filter(lL);return 0==n.length?null:function(e){return Y2(dL(e,n).map(cL)).pipe(Xe(uL))}}function w0(t){return null!=t?pL(hL(t)):null}function mL(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function _L(t){return t._rawValidators}function gL(t){return t._rawAsyncValidators}function C0(t){return t?Array.isArray(t)?t:[t]:[]}function i_(t,n){return Array.isArray(t)?t.includes(n):t===n}function vL(t,n){const e=C0(n);return C0(t).forEach(s=>{i_(e,s)||e.push(s)}),e}function bL(t,n){return C0(n).filter(e=>!i_(t,e))}class yL{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=M0(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=w0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Br extends yL{get formDirective(){return null}get path(){return null}}class xo extends yL{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ML{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let fr=(()=>{class t extends ML{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(xo,2))},t.\u0275dir=Je({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&dn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[pt]}),t})(),pr=(()=>{class t extends ML{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Br,10))},t.\u0275dir=Je({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&dn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[pt]}),t})();const Lh="VALID",s_="INVALID",du="PENDING",Eh="DISABLED";function T0(t){return(o_(t)?t.validators:t)||null}function CL(t){return Array.isArray(t)?M0(t):t||null}function x0(t,n){return(o_(n)?n.asyncValidators:t)||null}function SL(t){return Array.isArray(t)?w0(t):t||null}function o_(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function DL(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new Le(1e3,"");if(!i[e])throw new Le(1001,"")}function kL(t,n,e){t._forEachChild((i,s)=>{if(void 0===e[s])throw new Le(1002,"")})}class a_{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=CL(this._rawValidators),this._composedAsyncValidatorFn=SL(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Lh}get invalid(){return this.status===s_}get pending(){return this.status==du}get disabled(){return this.status===Eh}get enabled(){return this.status!==Eh}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=CL(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=SL(n)}addValidators(n){this.setValidators(vL(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(vL(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(bL(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(bL(n,this._rawAsyncValidators))}hasValidator(n){return i_(this._rawValidators,n)}hasAsyncValidator(n){return i_(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=du,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Eh,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Lh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lh||this.status===du)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Eh:Lh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=du,this._hasOwnPendingAsyncValidator=!0;const e=cL(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,s)=>i&&i._find(s),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ft,this.statusChanges=new ft}_calculateStatus(){return this._allControlsDisabled()?Eh:this.errors?s_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(du)?du:this._anyControlsHaveStatus(s_)?s_:Lh}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){o_(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class hu extends a_{constructor(n,e,i){super(T0(e),x0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){kL(this,0,n),Object.keys(n).forEach(i=>{DL(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const s=this.controls[i];s&&s.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,s)=>{i.reset(n[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,s)=>((i.enabled||this.disabled)&&(e[s]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((s,o)=>{i=e(i,s,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const TL=hu;class xL extends hu{}function Ph(t,n){L0(t,n),n.valueAccessor.writeValue(t.value),t.disabled&&n.valueAccessor.setDisabledState?.(!0),function $7(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&LL(t,n)})}(t,n),function q7(t,n){const e=(i,s)=>{n.valueAccessor.writeValue(i),s&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function G7(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&LL(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function W7(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function c_(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),d_(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function u_(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function L0(t,n){const e=_L(t);null!==n.validator?t.setValidators(mL(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=gL(t);null!==n.asyncValidator?t.setAsyncValidators(mL(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();u_(n._rawValidators,s),u_(n._rawAsyncValidators,s)}function d_(t,n){let e=!1;if(null!==t){if(null!==n.validator){const s=_L(t);if(Array.isArray(s)&&s.length>0){const o=s.filter(a=>a!==n.validator);o.length!==s.length&&(e=!0,t.setValidators(o))}}if(null!==n.asyncValidator){const s=gL(t);if(Array.isArray(s)&&s.length>0){const o=s.filter(a=>a!==n.asyncValidator);o.length!==s.length&&(e=!0,t.setAsyncValidators(o))}}}const i=()=>{};return u_(n._rawValidators,i),u_(n._rawAsyncValidators,i),e}function LL(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function EL(t,n){L0(t,n)}function IL(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const X7={provide:Br,useExisting:sn(()=>Oh)},Ih=(()=>Promise.resolve(null))();let Oh=(()=>{class t extends Br{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new ft,this.form=new hu({},M0(e),w0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ih.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ph(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ih.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ih.then(()=>{const i=this._findContainer(e.path),s=new hu({});EL(s,e),i.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ih.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Ih.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,IL(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(N(hr,10),N(Ka,10))},t.\u0275dir=Je({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[on([X7]),pt]}),t})();function OL(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function AL(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const fu=class extends a_{constructor(n=null,e,i){super(T0(e),x0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),o_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=AL(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){OL(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){OL(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){AL(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},h_=fu;let mr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),VL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const I0=new Be("NgModelWithFormControlWarning"),lU={provide:Br,useExisting:sn(()=>ki)};let ki=(()=>{class t extends Br{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ft,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(d_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ph(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){c_(e.control||null,e,!1),function J7(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,IL(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,s=this.form.get(e.path);i!==s&&(c_(i||null,e),(t=>t instanceof fu)(s)&&(Ph(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);EL(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function K7(t,n){return d_(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){L0(this.form,this),this._oldForm&&d_(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(N(hr,10),N(Ka,10))},t.\u0275dir=Je({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&Me("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[on([lU]),pt,Ii]}),t})();const dU={provide:xo,useExisting:sn(()=>er)};let er=(()=>{class t extends xo{constructor(e,i,s,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new ft,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=function P0(t,n){if(!n)return null;let e,i,s;return Array.isArray(n),n.forEach(o=>{o.constructor===dr?e=o:function Q7(t){return Object.getPrototypeOf(t.constructor)===Fl}(o)?i=o:s=o}),s||i||e||null}(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),function E0(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return function l_(t,n){return[...n.path,t]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(N(Br,13),N(hr,10),N(Ka,10),N(no,10),N(I0,8))},t.\u0275dir=Je({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[on([dU]),pt,Ii]}),t})();let Nl=(()=>{class t{constructor(){this._validator=n_}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):n_,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,features:[Ii]}),t})();const SU={provide:hr,useExisting:sn(()=>es),multi:!0};let es=(()=>{class t extends Nl{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function GL(t){return"number"==typeof t?t:parseInt(t,10)}(e),this.createValidator=e=>oL(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Wt("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[on([SU]),pt]}),t})(),eE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[VL]}),t})(),kU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[eE]}),t})(),H0=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:I0,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[eE]}),t})();class tE extends a_{constructor(n,e,i){super(T0(e),x0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let s=this._adjustIndex(n);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),e&&(this.controls.splice(s,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){kL(this,0,n),n.forEach((i,s)=>{DL(this,!1,s),this.at(s).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,s)=>{this.at(s)&&this.at(s).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,s)=>{i.reset(n[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function nE(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let TU=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const s=this._reduceControls(e);let o={};return nE(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new hu(s,o)}record(e,i=null){const s=this._reduceControls(e);return new xL(s,i)}control(e,i,s){let o={};return this.useNonNullable?(nE(i)?o=i:(o.validators=i,o.asyncValidators=s),new fu(e,{...o,nonNullable:!0})):new fu(e,i,s)}array(e,i,s){const o=e.map(a=>this._createControl(a));return new tE(o,i,s)}_reduceControls(e){const i={};return Object.keys(e).forEach(s=>{i[s]=this._createControl(e[s])}),i}_createControl(e){return e instanceof fu||e instanceof a_?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:H0}),t})(),ts=(()=>{class t extends TU{group(e,i=null){return super.group(e,i)}control(e,i,s){return super.control(e,i,s)}array(e,i,s){return super.array(e,i,s)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:H0}),t})();const xU=["connectionContainer"],LU=["inputContainer"],EU=["label"];function PU(t,n){1&t&&(qe(0),T(1,"div",14),De(2,"div",15)(3,"div",16)(4,"div",17),k(),T(5,"div",18),De(6,"div",15)(7,"div",16)(8,"div",17),k(),Ke())}function IU(t,n){if(1&t){const e=nt();T(0,"div",19),Me("cdkObserveContent",function(){return Ie(e),Oe(W().updateOutlineGap())}),mi(1,1),k()}2&t&&D("cdkObserveContentDisabled","outline"!=W().appearance)}function OU(t,n){if(1&t&&(qe(0),mi(1,2),T(2,"span"),O(3),k(),Ke()),2&t){const e=W(2);d(3),pe(e._control.placeholder)}}function AU(t,n){1&t&&mi(0,3,["*ngSwitchCase","true"])}function RU(t,n){1&t&&(T(0,"span",23),O(1," *"),k())}function FU(t,n){if(1&t){const e=nt();T(0,"label",20,21),Me("cdkObserveContent",function(){return Ie(e),Oe(W().updateOutlineGap())}),U(2,OU,4,1,"ng-container",12),U(3,AU,1,0,"ng-content",12),U(4,RU,2,0,"span",22),k()}if(2&t){const e=W();dn("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),D("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Wt("for",e._control.id)("aria-owns",e._control.id),d(2),D("ngSwitchCase",!1),d(1),D("ngSwitchCase",!0),d(1),D("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function NU(t,n){1&t&&(T(0,"div",24),mi(1,4),k())}function YU(t,n){if(1&t&&(T(0,"div",25),De(1,"span",26),k()),2&t){const e=W();d(1),dn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function HU(t,n){1&t&&(T(0,"div"),mi(1,5),k()),2&t&&D("@transitionMessages",W()._subscriptAnimationState)}function VU(t,n){if(1&t&&(T(0,"div",30),O(1),k()),2&t){const e=W(2);D("id",e._hintLabelId),d(1),pe(e.hintLabel)}}function BU(t,n){if(1&t&&(T(0,"div",27),U(1,VU,2,2,"div",28),mi(2,6),De(3,"div",29),mi(4,7),k()),2&t){const e=W();D("@transitionMessages",e._subscriptAnimationState),d(1),D("ngIf",e.hintLabel)}}const jU=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],UU=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let zU=0;const iE=new Be("MatError");let Ah=(()=>{class t{constructor(e,i){this.id="mat-error-"+zU++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(Ht("aria-live"),N(bt))},t.\u0275dir=Je({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&Wt("id",i.id)},inputs:{id:"id"},features:[on([{provide:iE,useExisting:t}])]}),t})();const WU={transitionMessages:Ko("transitionMessages",[Nr("enter",bn({opacity:1,transform:"translateY(0%)"})),Sr("void => enter",[bn({opacity:0,transform:"translateY(-5px)"}),Fr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let f_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t}),t})();const $U=new Be("MatHint");let rE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-label"]]}),t})(),GU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-placeholder"]]}),t})();const qU=new Be("MatPrefix"),KU=new Be("MatSuffix");let sE=0;const QU=ru(class{constructor(t){this._elementRef=t}},"primary"),JU=new Be("MAT_FORM_FIELD_DEFAULT_OPTIONS"),V0=new Be("MatFormField");let jr=(()=>{class t extends QU{constructor(e,i,s,o,a,l,c){super(e),this._changeDetectorRef=i,this._dir=s,this._defaults=o,this._platform=a,this._ngZone=l,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new J,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+sE++,this._labelId="mat-form-field-label-"+sE++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==c,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=En(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Yr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(fn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fn(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Yt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Yr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Yr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fn(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Jc(this._label.nativeElement,"transitionend").pipe(An(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,s=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const E=i.querySelectorAll(`${s}, ${o}`);for(let R=0;R0?.75*he+10:0}for(let E=0;E{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,Rm,Pn]}),t})();const aE=Ll({passive:!0});let XU=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Ba;const i=Jo(e),s=this._monitoredElements.get(i);if(s)return s.subject;const o=new J,a="cdk-text-field-autofilled",l=c=>{"cdk-text-field-autofill-start"!==c.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===c.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,aE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",l,aE)}}),o}stopMonitoring(e){const i=Jo(e),s=this._monitoredElements.get(i);s&&(s.unlisten(),s.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Di),Ce(mt))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})();const ez=new Be("MAT_INPUT_VALUE_ACCESSOR"),tz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let nz=0;const iz=M2(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new J}});let vs=(()=>{class t extends iz{constructor(e,i,s,o,a,l,c,_,E,R){super(l,o,a,s),this._elementRef=e,this._platform=i,this._autofillMonitor=_,this._formField=R,this._uid="mat-input-"+nz++,this.focused=!1,this.stateChanges=new J,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(he=>Ax().has(he)),this._iOSKeyupListener=he=>{const Se=he.target;!Se.value&&0===Se.selectionStart&&0===Se.selectionEnd&&(Se.setSelectionRange(1,1),Se.setSelectionRange(0,0))};const $=this._elementRef.nativeElement,X=$.nodeName.toLowerCase();this._inputValueAccessor=c||$,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&E.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===X,this._isTextarea="textarea"===X,this._isInFormField=!!R,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=En(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(yn.required)??!1}set required(e){this._required=En(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ax().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=En(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const e=this._formField,i=e&&"legacy"===e.appearance&&!e._hasLabel?.()?null:this.placeholder;if(i!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=i,i?s.setAttribute("placeholder",i):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){tz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Di),N(xo,10),N(Oh,8),N(ki,8),N(Wm),N(ez,10),N(XU),N(mt),N(V0,8))},t.\u0275dir=Je({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&Me("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(pl("disabled",i.disabled)("required",i.required),Wt("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),dn("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[on([{provide:f_,useExisting:t}]),pt,Ii]}),t})(),rz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[Wm],imports:[lE,p_,Pn,lE,p_]}),t})();const sz=["tooltip"],cE="tooltip-panel",uE=Ll({passive:!0}),dE=new Be("mat-tooltip-scroll-strategy"),cz={provide:dE,deps:[Xr],useFactory:function lz(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},uz=new Be("mat-tooltip-default-options",{providedIn:"root",factory:function dz(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let hz=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R,$,X){this._overlay=e,this._elementRef=i,this._scrollDispatcher=s,this._viewContainerRef=o,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=_,this._dir=R,this._defaultOptions=$,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new J,this._scrollStrategy=E,this._document=X,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),R.change.pipe(fn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=En(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=eo(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=eo(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,s])=>{e.removeEventListener(i,s,uE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Xc(this._tooltipComponent,this._viewContainerRef);const s=this._tooltipInstance=i.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(fn(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${cE}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fn(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!So(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,s=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...s.main,...o.main}),this._addOffset({...s.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i||"below"==i?s={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let s;"above"==i?s={overlayX:"center",overlayY:"bottom"}:"below"==i?s={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?s={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(An(1),fn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:s,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const l=this._overlayRef;if(l){const c=`${this._cssClassPrefix}-${cE}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const s=i.relatedTarget;(!s||!this._overlayRef?.overlayElement.contains(s))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,s])=>{this._elementRef.nativeElement.addEventListener(i,s,uE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;i!==s&&!s.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,s=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!i.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),vi=(()=>{class t extends hz{constructor(e,i,s,o,a,l,c,_,E,R,$,X){super(e,i,s,o,a,l,c,_,E,R,$,X),this._tooltipComponent=pz}}return t.\u0275fac=function(e){return new(e||t)(N(Xr),N(bt),N(t2),N(ar),N(mt),N(Di),N(G8),N(Do),N(dE),N(gs,8),N(uz,8),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[pt]}),t})(),fz=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new J,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,s=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:s),i.classList.add(e?s:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(N(Xn),N(Ui,8))},t.\u0275dir=Je({type:t}),t})(),pz=(()=>{class t extends fz{constructor(e,i,s){super(e,s),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return t.\u0275fac=function(e){return new(e||t)(N(Xn),N(Fm),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&vt(sz,7),2&e){let s;at(s=lt())&&(i._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&Me("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Ia("zoom",i.isVisible()?1:null)},features:[pt],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(T(0,"div",0,1),Me("animationend",function(o){return i._handleAnimationEnd(o)}),Y(2,"async"),O(3),k()),2&e){let s;dn("mat-tooltip-handset",null==(s=B(2,4,i._isHandset))?null:s.matches),D("ngClass",i.tooltipClass),d(3),pe(i.message)}},dependencies:[Wn,zD],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),t})(),mz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[cz],imports:[n0,yo,nu,Pn,Pn,vh]}),t})();const _z=["button1"],gz=["button2"];function vz(t,n){1&t&&De(0,"mat-spinner",4),2&t&&D("diameter",W().loadingSize)}function bz(t,n){1&t&&(T(0,"mat-icon"),O(1,"error_outline"),k())}const yz=function(t){return{"for-dark-background":t}},Mz=["*"];var ea=(()=>(function(t){t[t.Normal=0]="Normal",t[t.Error=1]="Error",t[t.Loading=2]="Loading"}(ea||(ea={})),ea))();let Tr=(()=>{class t{constructor(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new ft,this.state=ea.Normal,this.buttonStates=ea}ngOnDestroy(){this.action.complete()}click(){this.disabled||(this.reset(),this.action.emit())}reset(e=!0){this.state=ea.Normal,e&&(this.disabled=!1)}focus(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}showEnabled(){this.disabled=!1}showDisabled(){this.disabled=!0}showLoading(e=!0){this.state=ea.Loading,e&&(this.disabled=!0)}showError(e=!0){this.state=ea.Error,e&&(this.disabled=!1)}get isLoading(){return this.state===ea.Loading}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-button"]],viewQuery:function(e,i){if(1&e&&(vt(_z,5),vt(gz,5)),2&e){let s;at(s=lt())&&(i.button1=s.first),at(s=lt())&&(i.button2=s.first)}},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:Mz,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(Kr(),T(0,"button",0,1),Me("click",function(){return i.click()}),U(2,vz,1,1,"mat-spinner",2),U(3,bz,2,0,"mat-icon",3),mi(4),k()),2&e&&(D("disabled",i.disabled)("color",i.color)("ngClass",Ue(5,yz,i.forDarkBackground)),d(2),D("ngIf",i.state===i.buttonStates.Loading),d(1),D("ngIf",i.state===i.buttonStates.Error))},dependencies:[Wn,Ot,kr,Cn,Vr],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),t})();const wz=["button"],Cz=["firstInput"],Sz=function(t){return{"element-disabled":t}};function Dz(t,n){if(1&t&&(T(0,"mat-form-field",10),De(1,"input",11),Y(2,"translate"),T(3,"mat-error"),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("ngClass",Ue(7,Sz,e.working)),d(1),D("placeholder",B(2,3,"settings.password.old-password")),d(3),ye(" ",B(5,5,"settings.password.errors.old-password-required")," ")}}const kz=function(t){return{"rounded-elevated-box":t}},hE=function(t,n){return{"white-form-field":t,"element-disabled":n}},Tz=function(t,n){return{"mt-2 app-button":t,"float-right":n}};let fE=(()=>{class t{constructor(e,i,s,o){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.forInitialConfig=!1}ngOnInit(){this.form=new TL({oldPassword:new h_("",this.forInitialConfig?null:yn.required),newPassword:new h_("",yn.compose([yn.required,yn.minLength(6),yn.maxLength(64)])),newPasswordConfirmation:new h_("",[yn.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(()=>this.form.controls.newPasswordConfirmation.updateValueAndValidity())}ngAfterViewInit(){this.forInitialConfig&&setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}get working(){return!!this.button&&this.button.isLoading}changePassword(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(()=>{this.dialog.closeAll(),this.snackbarService.showDone("settings.password.initial-config.done")},e=>{this.button.showError(),e=an(e),this.snackbarService.showError(e,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(()=>{this.router.navigate(["nodes"]),this.snackbarService.showDone("settings.password.password-changed")},e=>{this.button.showError(),e=an(e),this.snackbarService.showError(e)}))}validatePasswords(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-password"]],viewQuery:function(e,i){if(1&e&&(vt(wz,5),vt(Cz,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:40,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",3,"ngClass",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field",3,"ngClass"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),Y(4,"translate"),O(5," help "),k()(),T(6,"form",3),U(7,Dz,6,9,"mat-form-field",4),T(8,"mat-form-field",0),De(9,"input",5,6),Y(11,"translate"),T(12,"mat-error"),O(13),Y(14,"translate"),k()(),T(15,"mat-form-field",0),De(16,"input",7),Y(17,"translate"),T(18,"mat-error"),O(19),Y(20,"translate"),k()(),T(21,"app-button",8,9),Me("action",function(){return i.changePassword()}),O(23),Y(24,"translate"),k()()()()),2&e&&(D("ngClass",Ue(29,kz,!i.forInitialConfig)),d(2),fs((i.forInitialConfig?"":"white-")+"form-help-icon-container"),d(1),D("inline",!0)("matTooltip",B(4,17,i.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),d(3),D("formGroup",i.form),d(1),D("ngIf",!i.forInitialConfig),d(1),D("ngClass",hn(31,hE,!i.forInitialConfig,i.working)),d(1),D("placeholder",B(11,19,i.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),d(4),ye(" ",B(14,21,"settings.password.errors.new-password-error")," "),d(2),D("ngClass",hn(34,hE,!i.forInitialConfig,i.working)),d(1),D("placeholder",B(17,23,i.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),d(3),ye(" ",B(20,25,"settings.password.errors.passwords-not-match")," "),d(2),D("ngClass",hn(37,Tz,!i.forInitialConfig,i.forInitialConfig))("disabled",!i.form.valid)("forDarkBackground",!i.forInitialConfig),d(2),ye(" ",B(24,27,i.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},dependencies:[Wn,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Tr,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),t})();function xz(t,n){1&t&&(T(0,"button",5)(1,"mat-icon"),O(2,"close"),k()())}function Lz(t,n){1&t&&Pa(0)}const pE=function(t){return{"content-margin":t}};function Ez(t,n){if(1&t&&(T(0,"mat-dialog-content",6),U(1,Lz,1,0,"ng-container",7),k()),2&t){const e=W(),i=li(8);D("ngClass",Ue(2,pE,e.includeVerticalMargins)),d(1),D("ngTemplateOutlet",i)}}function Pz(t,n){1&t&&Pa(0)}function Iz(t,n){if(1&t&&(T(0,"div",6),U(1,Pz,1,0,"ng-container",7),k()),2&t){const e=W(),i=li(8);D("ngClass",Ue(2,pE,e.includeVerticalMargins)),d(1),D("ngTemplateOutlet",i)}}function Oz(t,n){1&t&&mi(0)}const Az=["*"];let bi=(()=>{class t{constructor(e){this.matDialog=e,this.includeScrollableArea=!0,this.includeVerticalMargins=!0}set dialog(e){e.disableClose=!0,this.dialogInternal=e}onKeyUp(){this.closePopup()}closePopup(){this.disableDismiss||this.matDialog.openDialogs[this.matDialog.openDialogs.length-1].id===this.dialogInternal.id&&this.dialogInternal.close()}}return t.\u0275fac=function(e){return new(e||t)(N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-dialog"]],hostBindings:function(e,i){1&e&&Me("keyup.esc",function(){return i.onKeyUp()},0,Hg)},inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins",dialog:"dialog"},ngContentSelectors:Az,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,i){1&e&&(Kr(),T(0,"div",0)(1,"span"),O(2),k(),U(3,xz,3,0,"button",1),k(),De(4,"div",2),U(5,Ez,2,4,"mat-dialog-content",3),U(6,Iz,2,4,"div",3),U(7,Oz,1,0,"ng-template",null,4,Oa)),2&e&&(d(2),pe(i.headline),d(1),D("ngIf",!i.disableDismiss),d(2),D("ngIf",i.includeScrollableArea),d(1),D("ngIf",!i.includeScrollableArea))},dependencies:[Wn,Ot,Tp,E9,P9,h0,kr,Cn],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),t})(),Rz=(()=>{class t{constructor(e){this.dialogRef=e}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.smallModalWidth,e.open(t,i)}}return t.\u0275fac=function(e){return new(e||t)(N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-initial-setup"]],decls:3,vars:5,consts:[[3,"headline","dialog"],[3,"forInitialConfig"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),De(2,"app-password",1),k()),2&e&&(D("headline",B(1,3,"settings.password.initial-config.title"))("dialog",i.dialogRef),d(2),D("forInitialConfig",!0))},dependencies:[fE,bi,kt]}),t})();function Fz(t,n){if(1&t){const e=nt();T(0,"button",3),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().closePopup(o))}),De(1,"img",4),T(2,"div",5),O(3),k()()}if(2&t){const e=n.$implicit;d(1),D("src","assets/img/lang/"+e.iconName,Ho),d(2),pe(e.name)}}let mE=(()=>{class t{constructor(e,i){this.dialogRef=e,this.languageService=i,this.languages=[]}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.mediumModalWidth,e.open(t,i)}ngOnInit(){this.subscription=this.languageService.languages.subscribe(e=>{this.languages=e})}ngOnDestroy(){this.subscription.unsubscribe()}closePopup(e=null){e&&this.languageService.changeLanguage(e.code),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N(e_))},t.\u0275cmp=Qe({type:t,selectors:[["app-select-language"]],decls:4,vars:5,consts:[[3,"headline","dialog"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),U(3,Fz,4,2,"button",2),k()()),2&e&&(D("headline",B(1,3,"language.title"))("dialog",i.dialogRef),d(3),D("ngForOf",i.languages))},dependencies:[Fi,kr,bi,kt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),t})();function Nz(t,n){1&t&&De(0,"img",2),2&t&&D("src","assets/img/lang/"+W().language.iconName,Ho)}let Yz=(()=>{class t{constructor(e,i){this.languageService=e,this.dialog=i}ngOnInit(){this.subscription=this.languageService.currentLanguage.subscribe(e=>{this.language=e})}ngOnDestroy(){this.subscription.unsubscribe()}openLanguageWindow(){mE.openDialog(this.dialog)}}return t.\u0275fac=function(e){return new(e||t)(N(e_),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(e,i){1&e&&(T(0,"button",0),Me("click",function(){return i.openLanguageWindow()}),Y(1,"translate"),U(2,Nz,1,1,"img",1),k()),2&e&&(D("matTooltip",B(1,2,"language.title")),d(2),D("ngIf",i.language))},dependencies:[Ot,kr,vi,kt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t})();const Hz=function(t){return{"element-disabled":t}};let _E=(()=>{class t{constructor(e,i,s,o,a){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.route=a,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}ngOnInit(){this.routeSubscription=this.route.paramMap.subscribe(e=>{this.vpnKey=e.get("key"),this.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),this.verificationSubscription=this.authService.checkLogin().subscribe(i=>{i!==To.NotLogged&&this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}),this.form=new TL({password:new h_("",yn.required)})}ngOnDestroy(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}login(){!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(()=>this.onLoginSuccess(),e=>this.onLoginError(e)))}configure(){Rz.openDialog(this.dialog)}onLoginSuccess(){this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})}onLoginError(e){e=an(e),this.loading=!1,this.snackbarService.showError(e.originalError&&401===e.originalError.status?"login.incorrect-password":e.translatableErrorMsg)}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-login"]],decls:14,vars:11,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input",3,"ngClass"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-lang-button"),T(2,"div",1),De(3,"img",2),T(4,"form",3)(5,"div",4)(6,"input",5),Me("keydown.enter",function(){return i.login()}),Y(7,"translate"),k(),T(8,"button",6),Me("click",function(){return i.login()}),T(9,"mat-icon"),O(10,"chevron_right"),k()()()(),T(11,"div",7),Me("click",function(){return i.configure()}),O(12),Y(13,"translate"),k()()()),2&e&&(d(4),D("formGroup",i.form),d(1),D("ngClass",Ue(9,Hz,i.loading)),d(1),D("placeholder",B(7,5,"login.password")),d(2),D("disabled",!i.form.valid||i.loading),d(4),pe(B(13,7,"login.initial-config")))},dependencies:[Wn,mr,dr,fr,pr,ki,er,Cn,Yz,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px #0000001a,0 6px 20px #0000001a;display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),t})();var B0=F(9774),m_=F.n(B0);class j0{}class Vz{}var io=(()=>(function(t){t.Connecting="connecting",t.Unhealthy="unhealthy",t.Healthy="healthy"}(io||(io={})),io))();class Bz{constructor(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}var ta=(()=>(function(t){t.UseCustomSettings="updaterUseCustomSettings",t.Channel="updaterChannel",t.Version="updaterVersion",t.ArchiveURL="updaterArchiveURL",t.ChecksumsURL="updaterChecksumsURL"}(ta||(ta={})),ta))();let pu=(()=>{class t{constructor(e,i){this.apiService=e,this.storageService=i,this.maxTrafficHistorySlots=10,this.nodeListSubject=new Wi(null),this.updatingNodeListSubject=new Wi(!1),this.specificNodeSubject=new Wi(null),this.updatingSpecificNodeSubject=new Wi(!1),this.specificNodeTrafficDataSubject=new Wi(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(s=>{this.dataRefreshDelay=1e3*s,this.nodeListRefreshSubscription&&this.forceNodeListRefresh(),this.specificNodeRefreshSubscription&&this.forceSpecificNodeRefresh()})}get nodeList(){return this.nodeListSubject.asObservable()}get updatingNodeList(){return this.updatingNodeListSubject.asObservable()}get specificNode(){return this.specificNodeSubject.asObservable()}get updatingSpecificNode(){return this.updatingSpecificNodeSubject.asObservable()}get specificNodeTrafficData(){return this.specificNodeTrafficDataSubject.asObservable()}startRequestingNodeList(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);let i=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);i=i>0?i:0,this.startDataSubscription(i,!0)}startRequestingSpecificNode(e){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===e)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);const s=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==e||0===s?(this.specificNodeKey=e,this.specificNodeTrafficDataSubject.next(new Bz),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(s,!1)}calculateRemainingTime(e){if(e<1)return 0;let i=this.dataRefreshDelay-(Date.now()-e);return i<0&&(i=0),i}stopRequestingNodeList(){this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=ze(1).pipe(Ji(4e3)).subscribe(()=>{this.nodeListRefreshSubscription.unsubscribe(),this.nodeListRefreshSubscription=null}))}stopRequestingSpecificNode(){this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=ze(1).pipe(Ji(4e3)).subscribe(()=>{this.specificNodeRefreshSubscription.unsubscribe(),this.specificNodeRefreshSubscription=null}))}startDataSubscription(e,i){let s,o,a;i?(s=this.updatingNodeListSubject,o=this.nodeListSubject,a=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(s=this.updatingSpecificNodeSubject,o=this.specificNodeSubject,a=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());const l=ze(1).pipe(Ji(e),ui(()=>s.next(!0)),Ji(120),we(()=>a)).subscribe(c=>{let _;s.next(!1),i?_=this.dataRefreshDelay:(this.updateTrafficData(c.transports),_=this.calculateRemainingTime(this.lastScheduledHistoryUpdateTime),_<1e3&&(this.lastScheduledHistoryUpdateTime=Date.now(),_=this.dataRefreshDelay));const E={data:c,error:null,momentOfLastCorrectUpdate:Date.now()};o.next(E),this.startDataSubscription(_,i)},c=>{s.next(!1),c=an(c);const _={data:o.value&&o.value.data?o.value.data:null,error:c,momentOfLastCorrectUpdate:o.value?o.value.momentOfLastCorrectUpdate:-1};!i&&c.originalError&&400===c.originalError.status||this.startDataSubscription(Kt.connectionRetryDelay,i),o.next(_)});i?this.nodeListRefreshSubscription=l:this.specificNodeRefreshSubscription=l}updateTrafficData(e){const i=this.specificNodeTrafficDataSubject.value;if(i.totalSent=0,i.totalReceived=0,e&&e.length>0&&(i.totalSent=e.reduce((s,o)=>s+o.sent,0),i.totalReceived=e.reduce((s,o)=>s+o.recv,0)),0===i.sentHistory.length)for(let s=0;sthis.maxTrafficHistorySlots&&(o=this.maxTrafficHistorySlots),0===o)i.sentHistory[i.sentHistory.length-1]=i.totalSent,i.receivedHistory[i.receivedHistory.length-1]=i.totalReceived;else for(let a=0;athis.maxTrafficHistorySlots&&(i.sentHistory.splice(0,i.sentHistory.length-this.maxTrafficHistorySlots),i.receivedHistory.splice(0,i.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(i)}forceNodeListRefresh(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)}forceSpecificNodeRefresh(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)}getNodes(){let e=[];return this.apiService.get("visors-summary").pipe(Xe(i=>{i&&i.forEach(c=>{const _=new j0;_.online=c.online,_.localPk=c.overview.local_pk,_.version=c.overview.build_info.version,_.autoconnectTransports=c.public_autoconnect,_.buildTag=c.build_tag?c.build_tag:"",_.ip=c.overview&&c.overview.local_ip&&c.overview.local_ip.trim()?c.overview.local_ip:null;const E=this.storageService.getLabelInfo(_.localPk);if(_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),!_.online)return _.dmsgServerPk="",_.roundTripPing="",void e.push(_);_.health={servicesHealth:c.health.services_health},_.dmsgServerPk=c.dmsg_stats.server_public_key,_.roundTripPing=this.nsToMs(c.dmsg_stats.round_trip),_.isHypervisor=c.is_hypervisor,e.push(_)});const s=new Map,o=[],a=[];e.forEach(c=>{s.set(c.localPk,c),c.online&&(o.push(c.localPk),a.push(c.ip))}),this.storageService.includeVisibleLocalNodes(o,a);const l=[];return this.storageService.getSavedLocalNodes().forEach(c=>{if(!s.has(c.publicKey)&&!c.hidden){const _=new j0;_.localPk=c.publicKey;const E=this.storageService.getLabelInfo(c.publicKey);_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),_.online=!1,_.dmsgServerPk="",_.roundTripPing="",l.push(_)}s.has(c.publicKey)&&!s.get(c.publicKey).online&&c.hidden&&s.delete(c.publicKey)}),e=[],s.forEach(c=>e.push(c)),e=e.concat(l),e}))}nsToMs(e){let i=new(m_())(e).dividedBy(1e6);return i=i.isLessThan(10)?i.decimalPlaces(2):i.decimalPlaces(0),i.toString(10)}getNode(e){return this.apiService.get(`visors/${e}/summary`).pipe(Xe(i=>{const s=new j0;s.localPk=i.overview.local_pk,s.version=i.overview.build_info.version,s.secondsOnline=Math.floor(Number.parseFloat(i.uptime)),s.minHops=i.min_hops,s.buildTag=i.build_tag,s.skybianBuildVersion=i.skybian_build_version,s.isSymmeticNat=i.overview.is_symmetic_nat,s.publicIp=i.overview.public_ip,s.autoconnectTransports=i.public_autoconnect,s.ip=i.overview.local_ip&&i.overview.local_ip.trim()?i.overview.local_ip:null;const o=this.storageService.getLabelInfo(s.localPk);s.label=o&&o.label?o.label:this.storageService.getDefaultLabel(s),s.health={servicesHealth:i.health.services_health},s.transports=[],i.overview.transports&&i.overview.transports.forEach(l=>{s.transports.push({id:l.id,localPk:l.local_pk,remotePk:l.remote_pk,type:l.type,recv:l.log.recv,sent:l.log.sent})}),s.persistentTransports=[],i.persistent_transports&&i.persistent_transports.forEach(l=>{s.persistentTransports.push({pk:l.pk,type:l.type})}),s.routes=[],i.routes&&i.routes.forEach(l=>{s.routes.push({key:l.key,rule:l.rule}),l.rule_summary&&(s.routes[s.routes.length-1].ruleSummary={keepAlive:l.rule_summary.keep_alive,ruleType:l.rule_summary.rule_type,keyRouteId:l.rule_summary.key_route_id},l.rule_summary.app_fields&&l.rule_summary.app_fields.route_descriptor&&(s.routes[s.routes.length-1].appFields={routeDescriptor:{dstPk:l.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.app_fields.route_descriptor.dst_port,srcPk:l.rule_summary.app_fields.route_descriptor.src_pk,srcPort:l.rule_summary.app_fields.route_descriptor.src_port}}),l.rule_summary.forward_fields&&(s.routes[s.routes.length-1].forwardFields={nextRid:l.rule_summary.forward_fields.next_rid,nextTid:l.rule_summary.forward_fields.next_tid},l.rule_summary.forward_fields.route_descriptor&&(s.routes[s.routes.length-1].forwardFields.routeDescriptor={dstPk:l.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:l.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:l.rule_summary.forward_fields.route_descriptor.src_port})),l.rule_summary.intermediary_forward_fields&&(s.routes[s.routes.length-1].intermediaryForwardFields={nextRid:l.rule_summary.intermediary_forward_fields.next_rid,nextTid:l.rule_summary.intermediary_forward_fields.next_tid}))}),s.apps=[],i.overview.apps&&i.overview.apps.forEach(l=>{s.apps.push({name:l.name,status:l.status,port:l.port,autostart:l.auto_start,detailedStatus:l.detailed_status,args:l.args})});let a=!1;return i.dmsg_stats&&(s.dmsgServerPk=i.dmsg_stats.server_public_key,s.roundTripPing=this.nsToMs(i.dmsg_stats.round_trip),a=!0),a||(s.dmsgServerPk="-",s.roundTripPing="-1"),s}))}reboot(e){return this.apiService.post(`visors/${e}/restart`)}checkIfUpdating(e){return this.apiService.get(`visors/${e}/update/ws/running`)}checkUpdate(e){let i="stable";return i=localStorage.getItem(ta.Channel)||i,this.apiService.get(`visors/${e}/update/available/${i}`)}update(e){const i={channel:"stable"};if(localStorage.getItem(ta.UseCustomSettings)){const o=localStorage.getItem(ta.Channel);o&&(i.channel=o);const a=localStorage.getItem(ta.Version);a&&(i.version=a);const l=localStorage.getItem(ta.ArchiveURL);l&&(i.archive_url=l);const c=localStorage.getItem(ta.ChecksumsURL);c&&(i.checksums_url=c)}return this.apiService.ws(`visors/${e}/update/ws`,i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga),Ce(Xi))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const jz=["firstInput"];let U0=(()=>{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.storageService=o,this.snackbarService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({label:[this.data.label]})}ngAfterViewInit(){setTimeout(()=>this.firstInput.nativeElement.focus())}save(){const e=this.form.get("label").value.trim();e!==this.data.label?(this.storageService.saveLabel(this.data.id,e,this.data.identifiedElementType),e?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Xi),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-label"]],viewQuery:function(e,i){if(1&e&&vt(jz,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.save()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"labeled-element.edit-label"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"edit-label.label")),d(4),pe(B(9,9,"common.save")))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const Uz=["cancelButton"],zz=["confirmButton"];function Wz(t,n){if(1&t&&(T(0,"div"),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;d(1),ye(" - ",B(2,1,e)," ")}}function $z(t,n){if(1&t&&(T(0,"div",8),U(1,Wz,3,3,"div",9),k()),2&t){const e=W();d(1),D("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function Gz(t,n){if(1&t&&(T(0,"div",1),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.data.lowerText)," ")}}function qz(t,n){if(1&t){const e=nt();T(0,"app-button",10,11),Me("action",function(){return Ie(e),Oe(W().closeModal())}),O(2),Y(3,"translate"),k()}if(2&t){const e=W();d(2),ye(" ",B(3,1,e.data.cancelButtonText)," ")}}var Za=(()=>(function(t){t.Asking="Asking",t.Processing="Processing",t.Done="Done"}(Za||(Za={})),Za))();let Kz=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.disableDismiss=!1,this.state=Za.Asking,this.confirmationStates=Za,this.operationAccepted=new ft,this.disableDismiss=!!i.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}ngAfterViewInit(){this.data.cancelButtonText?setTimeout(()=>this.cancelButton.focus()):setTimeout(()=>this.confirmButton.focus())}ngOnDestroy(){this.operationAccepted.complete()}closeModal(){this.dialogRef.close()}sendOperationAcceptedEvent(){this.operationAccepted.emit()}showAsking(e){e&&(this.data=e),this.state=Za.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}showProcessing(){this.state=Za.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}showDone(e,i,s=null){this.doneTitle=e||this.data.headerText,this.doneText=i,this.doneList=s,this.confirmButton.reset(),setTimeout(()=>this.confirmButton.focus()),this.state=Za.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i))},t.\u0275cmp=Qe({type:t,selectors:[["app-confirmation"]],viewQuery:function(e,i){if(1&e&&(vt(Uz,5),vt(zz,5)),2&e){let s;at(s=lt())&&(i.cancelButton=s.first),at(s=lt())&&(i.confirmButton=s.first)}},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:14,consts:[[3,"headline","dialog","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),O(3),Y(4,"translate"),k(),U(5,$z,2,1,"div",2),U(6,Gz,3,3,"div",3),T(7,"div",4),U(8,qz,4,3,"app-button",5),T(9,"app-button",6,7),Me("action",function(){return i.state===i.confirmationStates.Asking?i.sendOperationAcceptedEvent():i.closeModal()}),O(11),Y(12,"translate"),k()()()),2&e&&(D("headline",B(1,8,i.state!==i.confirmationStates.Done?i.data.headerText:i.doneTitle))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),ye(" ",B(4,10,i.state!==i.confirmationStates.Done?i.data.text:i.doneText)," "),d(2),D("ngIf",i.data.list&&i.state!==i.confirmationStates.Done||i.doneList&&i.state===i.confirmationStates.Done),d(1),D("ngIf",i.data.lowerText&&i.state!==i.confirmationStates.Done),d(2),D("ngIf",i.data.cancelButtonText&&i.state!==i.confirmationStates.Done),d(3),ye(" ",B(12,12,i.state!==i.confirmationStates.Done?i.data.confirmButtonText:"confirmation.close")," "))},dependencies:[Fi,Ot,Tr,bi,kt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),t})();class rn{static createConfirmationDialog(n,e){const i={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!1},s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,n.open(Kz,s)}static checkIfTagIsUpdatable(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase()||n.toUpperCase()==="Mac".toUpperCase()||n.toUpperCase()==="Macos".toUpperCase()||n.toUpperCase()==="Mac OS".toUpperCase()||n.toUpperCase()==="Darwin".toUpperCase())}static checkIfTagCanOpenterminal(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase())}}function Zz(t,n){if(1&t&&(T(0,"mat-icon",6),O(1),k()),2&t){const e=W().$implicit;D("inline",!0),d(1),pe(e.icon)}}function Qz(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"button",3),Me("click",function(){const o=Ie(e).index;return Oe(W().closePopup(o+1))}),T(2,"div",4),U(3,Zz,2,2,"mat-icon",5),T(4,"span"),O(5),Y(6,"translate"),k()()()()}if(2&t){const e=n.$implicit;d(3),D("ngIf",e.icon),d(2),pe(B(6,2,e.label))}}let Ur=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i}static openDialog(e,i,s){const o=new $n;return o.data={options:i,title:s},o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(t,o)}closePopup(e){this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-select-option"]],decls:3,vars:6,consts:[[3,"headline","dialog","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,Qz,7,4,"div",1),k()),2&e&&(D("headline",B(1,4,i.data.title))("dialog",i.dialogRef)("includeVerticalMargins",!1),d(2),D("ngForOf",i.data.options))},dependencies:[Fi,Ot,kr,Cn,bi,kt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),t})();var qn=(()=>(function(t){t.TextInput="TextInput",t.Select="Select"}(qn||(qn={})),qn))();let Rh=(()=>{class t{constructor(e){this.dom=e}copy(e){let i=null,s=!1;try{i=this.dom.createElement("textarea"),i.style.height="0px",i.style.left="-100px",i.style.opacity="0",i.style.position="fixed",i.style.top="-100px",i.style.width="0px",this.dom.body.appendChild(i),i.value=e,i.select(),this.dom.execCommand("copy"),s=!0}finally{i&&i.parentNode&&i.parentNode.removeChild(i)}return s}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ct))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function eW(t,n){if(1&t&&(qe(0),T(1,"span",2),O(2),k(),Ke()),2&t){const e=W();d(2),pe(e.shortText)}}function tW(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W();d(2),pe(e.text)}}const nW=function(){return{"tooltip-word-break":!0}};let gE=(()=>{class t{constructor(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}get shortText(){if(this.text.length>2*this.shortTextLength){const e=this.text.length;return`${this.text.slice(0,this.shortTextLength)}...${this.text.slice(e-this.shortTextLength,e)}`}return this.text}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(e,i){1&e&&(T(0,"div",0),U(1,eW,3,1,"ng-container",1),U(2,tW,3,1,"ng-container",1),k()),2&e&&(D("matTooltip",i.short&&i.showTooltip?i.text:"")("matTooltipClass",Hn(4,nW)),d(1),D("ngIf",i.short),d(1),D("ngIf",!i.short))},dependencies:[Ot,vi],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),t})();function iW(t,n){if(1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.labelComponents.prefix)," ")}}function rW(t,n){if(1&t&&(T(0,"span"),O(1),k()),2&t){const e=W();d(1),ye(" ",e.labelComponents.prefixSeparator," ")}}function sW(t,n){if(1&t&&(T(0,"span"),O(1),k()),2&t){const e=W();d(1),ye(" ",e.labelComponents.label," ")}}function oW(t,n){if(1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.labelComponents.translatableLabel)," ")}}const aW=function(t){return{text:t}},lW=function(){return{"tooltip-word-break":!0}};class cW{constructor(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}let na=(()=>{class t{constructor(e,i,s,o){this.dialog=e,this.storageService=i,this.clipboardService=s,this.snackbarService=o,this.short=!1,this.shortTextLength=5,this.elementType=ur.Node,this.labelEdited=new ft}set id(e){this.idInternal=e,this.labelComponents=t.getLabelComponents(this.storageService,this.id)}get id(){return this.idInternal?this.idInternal:""}static getLabelComponents(e,i){let s;s=!!e.getSavedVisibleLocalNodes().has(i);const o=new cW;return o.labelInfo=e.getLabelInfo(i),o.labelInfo&&o.labelInfo.label?(s&&(o.prefix="labeled-element.local-element",o.prefixSeparator=" - "),o.label=o.labelInfo.label):e.getSavedVisibleLocalNodes().has(i)?o.prefix="labeled-element.unnamed-local-visor":o.translatableLabel="labeled-element.unnamed-element",o}static getCompleteLabel(e,i,s){const o=t.getLabelComponents(e,s);return(o.prefix?i.instant(o.prefix):"")+o.prefixSeparator+o.label+(o.translatableLabel?i.instant(o.translatableLabel):"")}ngOnDestroy(){this.labelEdited.complete()}processClick(){const e=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&e.push({icon:"close",label:"labeled-element.remove-label"}),Ur.openDialog(this.dialog,e,"common.options").afterClosed().subscribe(i=>{if(1===i)this.clipboardService.copy(this.id)&&this.snackbarService.showDone("copy.copied");else if(3===i){const s=rn.createConfirmationDialog(this.dialog,"labeled-element.remove-label-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.closeModal(),this.storageService.saveLabel(this.id,null,this.elementType),this.snackbarService.showDone("edit-label.label-removed-warning"),this.labelEdited.emit()})}else if(2===i){let s=this.labelComponents.labelInfo;s||(s={id:this.id,label:"",identifiedElementType:this.elementType}),U0.openDialog(this.dialog,s).afterClosed().subscribe(o=>{o&&this.labelEdited.emit()})}})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Xi),N(Rh),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(e,i){1&e&&(T(0,"div",0),Me("click",function(o){return o.stopPropagation(),i.processClick()}),Y(1,"translate"),T(2,"span",1),U(3,iW,3,3,"span",2),U(4,rW,2,1,"span",2),U(5,sW,2,1,"span",2),U(6,oW,3,3,"span",2),k(),De(7,"br")(8,"app-truncated-text",3),O(9," \xa0"),T(10,"mat-icon",4),O(11,"settings"),k()()),2&e&&(D("matTooltip",Vt(1,11,i.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",Ue(14,aW,i.id)))("matTooltipClass",Hn(16,lW)),d(3),D("ngIf",i.labelComponents&&i.labelComponents.prefix),d(1),D("ngIf",i.labelComponents&&i.labelComponents.prefixSeparator),d(1),D("ngIf",i.labelComponents&&i.labelComponents.label),d(1),D("ngIf",i.labelComponents&&i.labelComponents.translatableLabel),d(2),D("short",i.short)("showTooltip",!1)("shortTextLength",i.shortTextLength)("text",i.id),d(2),D("inline",!0))},dependencies:[Ot,Cn,vi,gE,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),t})();class In{constructor(n,e,i,s){this.properties=n,this.label=e,this.sortingMode=i,this.labelProperties=s}get id(){return this.properties.join("")}}var Jt=(()=>(function(t){t.Text="Text",t.Number="Number",t.NumberReversed="NumberReversed",t.Boolean="Boolean"}(Jt||(Jt={})),Jt))();class mu{constructor(n,e,i,s,o,a){this.dialog=n,this.translateService=e,this.storageService=i,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new J,this.sortableColumns=s,this.id=a,this.defaultColumnIndex=o,this.sortBy=s[o];const l=this.storageService.getDataForHv(this.columnStorageKeyPrefix+a);if(l){const c=s.find(_=>_.id===l);c&&(this.sortBy=c)}this.sortReverse="true"===this.storageService.getDataForHv(this.orderStorageKeyPrefix+a),this.sortByLabel="true"===this.storageService.getDataForHv(this.labelStorageKeyPrefix+a)}get sortingArrow(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}get currentSortingColumn(){return this.sortBy}get sortingInReverseOrder(){return this.sortReverse}get dataSorted(){return this.dataUpdatedSubject.asObservable()}get currentlySortingByLabel(){return this.sortByLabel}dispose(){this.dataUpdatedSubject.complete()}setTieBreakerColumnIndex(n){this.tieBreakerColumnIndex=n}setData(n){this.data=n,this.sortData()}changeSortingOrder(n){if(this.sortBy===n||n.labelProperties)if(n.labelProperties){const e=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];Ur.openDialog(this.dialog,e,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(n,i>2,i%2==0)})}else this.sortReverse=!this.sortReverse,this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(n,!1,!1)}changeSortingParams(n,e,i){this.sortBy=n,this.sortByLabel=e,this.sortReverse=i,this.storageService.setDataForHv(this.columnStorageKeyPrefix+this.id,n.id),this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.storageService.setDataForHv(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}openSortingOrderModal(){const n=[],e=[];this.sortableColumns.forEach(i=>{const s=this.translateService.instant(i.label);n.push({label:s}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!1}),n.push({label:s+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!1}),i.labelProperties&&(n.push({label:s+" "+this.translateService.instant("tables.label")}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!0}),n.push({label:s+" "+this.translateService.instant("tables.label")+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!0}))}),Ur.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(e[i-1].sortBy,e[i-1].sortByLabel,e[i-1].sortReverse)})}sortData(){this.data&&(this.data.sort((n,e)=>{let i=this.getSortResponse(this.sortBy,n,e,!0);return 0===i&&null!==this.tieBreakerColumnIndex&&this.sortableColumns[this.tieBreakerColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.tieBreakerColumnIndex],n,e,!1)),0===i&&this.sortableColumns[this.defaultColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.defaultColumnIndex],n,e,!1)),i}),this.dataUpdatedSubject.next())}getSortResponse(n,e,i,s){let a=e,l=i;(this.sortByLabel&&s&&n.labelProperties?n.labelProperties:n.properties).forEach(E=>{a=a[E],l=l[E]});const c=this.sortByLabel&&s?Jt.Text:n.sortingMode;let _=0;return c===Jt.Text?_=this.sortReverse?l.localeCompare(a):a.localeCompare(l):c===Jt.NumberReversed?_=this.sortReverse?a-l:l-a:c===Jt.Number?_=this.sortReverse?l-a:a-l:c===Jt.Boolean&&(a&&!l?_=-1:!a&&l&&(_=1),_*=this.sortReverse?-1:1),_}}class uW{constructor(n=!1,e,i=!0,s){this._multiple=n,this._emitChanges=i,this.compareWith=s,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new J,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const s=this._hasQueuedChanges();return this._emitChangeEvent(),s}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,n))return!0;return!1}return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const dW=["trigger"],hW=["panel"];function fW(t,n){if(1&t&&(T(0,"span",8),O(1),k()),2&t){const e=W();d(1),pe(e.placeholder)}}function pW(t,n){if(1&t&&(T(0,"span",12),O(1),k()),2&t){const e=W(2);d(1),pe(e.triggerValue)}}function mW(t,n){1&t&&mi(0,0,["*ngSwitchCase","true"])}function _W(t,n){1&t&&(T(0,"span",9),U(1,pW,2,1,"span",10),U(2,mW,1,0,"ng-content",11),k()),2&t&&(D("ngSwitch",!!W().customTrigger),d(2),D("ngSwitchCase",!0))}function gW(t,n){if(1&t){const e=nt();T(0,"div",13)(1,"div",14,15),Me("@transformPanel.done",function(s){return Ie(e),Oe(W()._panelDoneAnimatingStream.next(s.toState))})("keydown",function(s){return Ie(e),Oe(W()._handleKeydown(s))}),mi(3,1),k()()}if(2&t){const e=W();D("@transformPanelWrap",void 0),d(1),function wC(t,n,e){qs(us,go,Cc(He(),t,n,e),!0)}("mat-select-panel ",e._getPanelTheme(),""),Ia("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),D("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Wt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const vW=[[["mat-select-trigger"]],"*"],bW=["mat-select-trigger","*"],vE={transformPanelWrap:Ko("transformPanelWrap",[Sr("* => void",Ob("@transformPanel",[Ib()],{optional:!0}))]),transformPanel:Ko("transformPanel",[Nr("void",bn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Nr("showing",bn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Nr("showing-multiple",bn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Sr("void => *",Fr("120ms cubic-bezier(0, 0, 0.2, 1)")),Sr("* => void",Fr("100ms 25ms linear",bn({opacity:0})))])};let bE=0;const ME=new Be("mat-select-scroll-strategy"),CW=new Be("MAT_SELECT_CONFIG"),SW={provide:ME,deps:[Xr],useFactory:function wW(t){return()=>t.scrollStrategies.reposition()}};class DW{constructor(n,e){this.source=n,this.value=e}}const kW=Mh(y2(iu(M2(class{constructor(t,n,e,i,s){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=s,this.stateChanges=new J}})))),wE=new Be("MatSelectTrigger");let TW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Je({type:t,selectors:[["mat-select-trigger"]],features:[on([{provide:wE,useExisting:t}])]}),t})(),xW=(()=>{class t extends kW{constructor(e,i,s,o,a,l,c,_,E,R,$,X,he,Se){super(a,o,c,_,R),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=s,this._dir=l,this._parentFormField=E,this._liveAnnouncer=he,this._defaultOptions=Se,this._panelOpen=!1,this._compareWith=(Pe,Re)=>Pe===Re,this._uid="mat-select-"+bE++,this._triggerAriaLabelledBy=null,this._destroy=new J,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+bE++,this._panelDoneAnimatingStream=new J,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Qd(()=>{const Pe=this.options;return Pe?Pe.changes.pipe(Yr(Pe),lr(()=>Yt(...Pe.map(Re=>Re.onSelectionChange)))):this._ngZone.onStable.pipe(An(1),lr(()=>this.optionSelectionChanges))}),this.openedChange=new ft,this._openedStream=this.openedChange.pipe(Si(Pe=>Pe),Xe(()=>{})),this._closedStream=this.openedChange.pipe(Si(Pe=>!Pe),Xe(()=>{})),this.selectionChange=new ft,this.valueChange=new ft,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Se?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Se.typeaheadDebounceInterval),this._scrollStrategyFactory=X,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(yn.required)??!1}set required(e){this._required=En(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=En(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=En(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=eo(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new uW(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Gy(),fn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(fn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Yr(null),fn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?s.setAttribute("aria-labelledby",e):s.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,s=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!So(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const l=this.selected;a.onKeydown(e);const c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,s=e.keyCode,o=40===s||38===s,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==s&&32!==s||!i.activeItem||So(e))if(!a&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{const l=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(An(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new q8(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(fn(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(fn(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Yt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Yt(...this.options.map(i=>i._stateChanges)).pipe(fn(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,s)=>this.sortComparator?this.sortComparator(i,s,e):e.indexOf(i)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(N(Il),N(Xn),N(mt),N(Wm),N(bt),N(gs,8),N(Oh,8),N(ki,8),N(V0,8),N(xo,10),Ht("tabindex"),N(ME),N(e0),N(CW,8))},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&(vt(dW,5),vt(hW,5),vt(p2,5)),2&e){let s;at(s=lt())&&(i.trigger=s.first),at(s=lt())&&(i.panel=s.first),at(s=lt())&&(i._overlayDir=s.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[pt,Ii]}),t})(),Nh=(()=>{class t extends xW{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,s){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(fn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(An(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=x2(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function y9(t,n,e,i){return te+i?Math.max(0,t-i+n):e}((e+i)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new DW(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),s=this._isRtl(),o=this.multiple?56:32;let a;if(this.multiple)a=40;else if(this.disableOptionCentering)a=16;else{let _=this._selectionModel.selected[0]||this.options.first;a=_&&_.group?32:16}s||(a*=-1);const l=0-(e.left+a-(s?o:0)),c=e.right+a-i.width+(s?0:o);l>0?a+=l+8:c>0&&(a-=c+8),this._overlayDir.offsetX=Math.round(a),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,s){const o=this._getItemHeight(),a=(o-this._triggerRect.height)/2,l=Math.floor(256/o);let c;return this.disableOptionCentering?0:(c=0===this._scrollTop?e*o:this._scrollTop===s?(e-(this._getItemCount()-l))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*c-a))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,a=s.height-this._triggerRect.bottom-8,l=Math.abs(this._offsetY),_=Math.min(this._getItemCount()*i,256)-l-this._triggerRect.height;_>a?this._adjustPanelUp(_,a):l>o?this._adjustPanelDown(l,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const s=Math.round(e-i);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,s){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),s=Math.min(i*e,256),a=i*e-s;let l;l=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),l+=x2(l,this.options,this.optionGroups);const c=s/2;this._scrollTop=this._calculateOverlayScroll(l,c,a),this._offsetY=this._calculateOverlayOffsetY(l,c,a),this._checkOverlayWithinViewport(a)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275cmp=Qe({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,s){if(1&e&&(gi(s,wE,5),gi(s,su,5),gi(s,T2,5)),2&e){let o;at(o=lt())&&(i.customTrigger=o.first),at(o=lt())&&(i.options=o),at(o=lt())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&Me("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Wt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),dn("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[on([{provide:f_,useExisting:t},{provide:k2,useExisting:t}]),pt],ngContentSelectors:bW,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Kr(vW),T(0,"div",0,1),Me("click",function(){return i.toggle()}),T(3,"div",2),U(4,fW,2,1,"span",3),U(5,_W,3,2,"span",4),k(),T(6,"div",5),De(7,"div",6),k()(),U(8,gW,4,14,"ng-template",7),Me("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const s=li(1);Wt("aria-owns",i.panelOpen?i.id+"-panel":null),d(3),D("ngSwitch",i.empty),Wt("id",i._valueId),d(1),D("ngSwitchCase",!0),d(1),D("ngSwitchCase",!1),d(3),D("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Wn,Hc,kp,jD,p2,f2],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[vE.transformPanelWrap,vE.transformPanel]},changeDetection:0}),t})(),LW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[SW],imports:[yo,nu,L2,Pn,vh,p_,L2,Pn]}),t})();function EW(t,n){if(1&t&&(De(0,"input",7),Y(1,"translate")),2&t){const e=W().$implicit;D("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)("placeholder",B(1,3,e.filterName))}}function PW(t,n){if(1&t&&(T(0,"div",12),De(1,"div",13),k()),2&t){const e=W().$implicit,i=W(2).$implicit;oi("background-image: url('"+i.printableLabelGeneralSettings.defaultImage+"'); width: "+i.printableLabelGeneralSettings.imageWidth+"px; height: "+i.printableLabelGeneralSettings.imageHeight+"px;"),d(1),oi("background-image: url('"+e.image+"');")}}function IW(t,n){if(1&t&&(T(0,"mat-option",10),U(1,PW,2,4,"div",11),O(2),Y(3,"translate"),k()),2&t){const e=n.$implicit,i=W(2).$implicit;D("value",e.value),d(1),D("ngIf",i.printableLabelGeneralSettings&&e.image),d(1),ye(" ",B(3,3,e.label)," ")}}function OW(t,n){if(1&t&&(T(0,"mat-select",8),Y(1,"translate"),U(2,IW,4,5,"mat-option",9),k()),2&t){const e=W().$implicit;D("formControlName",e.keyNameInFiltersObject)("placeholder",B(1,3,e.filterName)),d(2),D("ngForOf",e.printableLabelsForValues)}}function AW(t,n){if(1&t&&(qe(0),T(1,"mat-form-field"),U(2,EW,2,5,"input",5),U(3,OW,3,5,"mat-select",6),k(),Ke()),2&t){const e=n.$implicit,i=W();d(2),D("ngIf",e.type===i.filterFieldTypes.TextInput),d(1),D("ngIf",e.type===i.filterFieldTypes.Select)}}let RW=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s,this.filterFieldTypes=qn}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=[this.data.currentFilters[i.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(e)}apply(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=this.form.get(i.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-filters-selection"]],decls:8,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1),U(3,AW,4,2,"ng-container",2),k(),T(4,"app-button",3,4),Me("action",function(){return i.apply()}),O(6),Y(7,"translate"),k()()),2&e&&(D("headline",B(1,5,"filters.filter-action"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(1),D("ngForOf",i.data.filterPropertiesList),d(3),ye(" ",B(7,7,"common.ok")," "))},dependencies:[Fi,Ot,mr,dr,fr,pr,es,ki,er,jr,vs,Nh,su,Tr,bi,kt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),t})();class gu{constructor(n,e,i,s,o){this.dialog=n,this.route=e,this.router=i,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new J,this.filterPropertiesList=s,this.currentFilters={},this.filterPropertiesList.forEach(a=>{a.keyNameInFiltersObject=o+"_"+a.keyNameInElementsArray,this.currentFilters[a.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(a=>{Object.keys(this.currentFilters).forEach(l=>{a.has(l)&&(this.currentFilters[l]=a.get(l))}),this.currentUrlQueryParamsInternal={},a.keys.forEach(l=>{this.currentUrlQueryParamsInternal[l]=a.get(l)}),this.filter()})}get currentFiltersTexts(){return this.currentFiltersTextsInternal}get currentUrlQueryParams(){return this.currentUrlQueryParamsInternal}get dataFiltered(){return this.dataUpdatedSubject.asObservable()}dispose(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}setData(n){this.data=n,this.filter()}removeFilters(){const n=rn.createConfirmationDialog(this.dialog,"filters.remove-confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.closeModal(),this.router.navigate([],{queryParams:{}})})}changeFilters(){RW.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(e=>{e&&this.router.navigate([],{queryParams:e})})}filter(){if(this.data){let n,e=!1;Object.keys(this.currentFilters).forEach(i=>{this.currentFilters[i]&&(e=!0)}),e?(n=function Jz(t,n,e){if(t){const i=[];return Object.keys(n).forEach(o=>{if(n[o])for(const a of e)if(a.keyNameInFiltersObject===o){i.push(a);break}}),t.filter(o=>{let a=!0;return i.forEach(l=>{const c=String(o[l.keyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase()),_=l.secondaryKeyNameInElementsArray&&String(o[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase());!c&&!_&&(a=!1)}),a})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(n=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(n)}}updateCurrentFilters(){this.currentFiltersTextsInternal=function Xz(t,n){const e=[];return n.forEach(i=>{if(t[i.keyNameInFiltersObject]){let s,o;i.printableLabelsForValues&&i.printableLabelsForValues.forEach(a=>{a.value===t[i.keyNameInFiltersObject]&&(o=a.label)}),o||(s=t[i.keyNameInFiltersObject]),e.push({filterName:i.filterName,translatableValue:o,value:s})}}),e}(this.currentFilters,this.filterPropertiesList)}}function FW(t,n){if(1&t){const e=nt();T(0,"div",5)(1,"div",6)(2,"div",7),O(3),k(),T(4,"div",8),O(5),k()(),T(6,"div",9)(7,"app-button",10),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).openTerminal(o.key))}),O(8),Y(9,"translate"),k()()()}if(2&t){const e=n.$implicit;d(3),pe(e.label),d(2),pe(e.version),d(3),ye(" ",B(9,3,"update-all.update-button")," ")}}function NW(t,n){if(1&t&&(qe(0),T(1,"div",2),O(2),Y(3,"translate"),k(),T(4,"div",3),U(5,FW,10,5,"div",4),k(),Ke()),2&t){const e=W();d(2),ye(" ",B(3,2,"update-all.updatable-list-text")," "),d(3),D("ngForOf",e.updatableNodes)}}function YW(t,n){if(1&t&&(T(0,"div",8),O(1),k()),2&t){const e=W().$implicit;d(1),pe(e.tag)}}function HW(t,n){if(1&t&&(T(0,"div",5)(1,"div",6)(2,"div",7),O(3),k(),T(4,"div",8),O(5),k(),U(6,YW,2,1,"div",11),k()()),2&t){const e=n.$implicit;d(3),pe(e.label),d(2),pe(e.version),d(1),D("ngIf",e.tag)}}function VW(t,n){if(1&t&&(qe(0),T(1,"div",2),O(2),Y(3,"translate"),k(),T(4,"div",3),U(5,HW,7,3,"div",4),k(),Ke()),2&t){const e=W();d(2),ye(" ",B(3,2,"update-all.non-updatable-list-text")," "),d(3),D("ngForOf",e.nonUpdatableNodes)}}let BW=(()=>{class t{constructor(e,i){this.dialogRef=e,this.updatableNodes=i[0],this.nonUpdatableNodes=i[1]}static openDialog(e,i,s){const o=new $n;return o.data=[i,s],o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(t,o)}openTerminal(e){const i=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+s+"/pty/"+e+"?commands=update","_blank","noopener noreferrer")}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i))},t.\u0275cmp=Qe({type:t,selectors:[["app-update-all"]],decls:4,vars:6,consts:[[3,"headline","dialog"],[4,"ngIf"],[1,"text-container"],[1,"list-container"],["class","list-element",4,"ngFor","ngForOf"],[1,"list-element"],[1,"left-part"],[1,"name"],[1,"version"],[1,"right-part"],["color","primary",3,"click"],["class","version",4,"ngIf"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,NW,6,4,"ng-container",1),U(3,VW,6,4,"ng-container",1),k()),2&e&&(D("headline",B(1,4,"update-all.title"))("dialog",i.dialogRef),d(2),D("ngIf",i.updatableNodes&&i.updatableNodes.length>0),d(1),D("ngIf",i.nonUpdatableNodes&&i.nonUpdatableNodes.length>0))},dependencies:[Fi,Ot,Tr,bi,kt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;align-self:center;margin-right:10px;min-width:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575px){.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem}}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.7rem;line-height:1.5;color:#215f9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-basis:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}"]}),t})();const jW=["mat-menu-item",""];function UW(t,n){1&t&&(ba(),T(0,"svg",2),De(1,"polygon",3),k())}const CE=["*"];function zW(t,n){if(1&t){const e=nt();T(0,"div",0),Me("keydown",function(s){return Ie(e),Oe(W()._handleKeydown(s))})("click",function(){return Ie(e),Oe(W().closed.emit("click"))})("@transformMenu.start",function(s){return Ie(e),Oe(W()._onAnimationStart(s))})("@transformMenu.done",function(s){return Ie(e),Oe(W()._onAnimationDone(s))}),T(1,"div",1),mi(2),k()()}if(2&t){const e=W();D("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Wt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const g_={transformMenu:Ko("transformMenu",[Nr("void",bn({opacity:0,transform:"scale(0.8)"})),Sr("void => enter",Fr("120ms cubic-bezier(0, 0, 0.2, 1)",bn({opacity:1,transform:"scale(1)"}))),Sr("* => void",Fr("100ms 25ms linear",bn({opacity:0})))]),fadeInItems:Ko("fadeInItems",[Nr("showing",bn({opacity:1})),Sr("void => *",[bn({opacity:0}),Fr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},WW=new Be("MatMenuContent"),z0=new Be("MAT_MENU_PANEL"),$W=Mh(iu(class{}));let ia=(()=>{class t extends $W{constructor(e,i,s,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=s,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new J,this._focused=new J,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(e,i,s,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=s,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new gl,this._tabSubscription=x.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new J,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new ft,this.close=this.closed,this.panelId="mat-menu-panel-"+qW++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=En(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=En(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Wx(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),lr(e=>Yt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const s=e.toArray(),o=Math.max(0,Math.min(s.length-1,i.activeItemIndex||0));s[o]&&!s[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),lr(i=>Yt(...i.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,s=this._keyManager;switch(i){case 27:So(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(An(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const s=this._keyManager;s.setFocusOrigin(e).setFirstItemActive(),!s.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,i=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===i,s["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Yr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(SE),N(Xn))},t.\u0275dir=Je({type:t,contentQueries:function(e,i,s){if(1&e&&(gi(s,WW,5),gi(s,ia,5),gi(s,ia,4)),2&e){let o;at(o=lt())&&(i.lazyContent=o.first),at(o=lt())&&(i._allItems=o),at(o=lt())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&vt(Ar,5),2&e){let s;at(s=lt())&&(i.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),vu=(()=>{class t extends Yh{constructor(e,i,s,o){super(e,i,s,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(SE),N(Xn))},t.\u0275cmp=Qe({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&Wt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[on([{provide:z0,useExisting:t}]),pt],ngContentSelectors:CE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(Kr(),U(0,zW,3,6,"ng-template"))},dependencies:[Wn],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[g_.transformMenu,g_.fadeInItems]},changeDetection:0}),t})();const DE=new Be("mat-menu-scroll-strategy"),ZW={provide:DE,deps:[Xr],useFactory:function KW(t){return()=>t.scrollStrategies.reposition()}},kE=Ll({passive:!0});let QW=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this._overlay=e,this._element=i,this._viewContainerRef=s,this._menuItemInstance=l,this._dir=c,this._focusMonitor=_,this._ngZone=E,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.EMPTY,this._hoverSubscription=x.EMPTY,this._menuCloseSubscription=x.EMPTY,this._handleTouchStart=R=>{Xy(R)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ft,this.onMenuOpen=this.menuOpened,this.menuClosed=new ft,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Yh?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,kE),l&&(l._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,kE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),s=i.getConfig(),o=s.positionStrategy;this._setPosition(e,o),s.hasBackdrop=e.hasBackdrop??!this.triggersSubmenu(),i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Yh&&(e._startAnimation(),e._directDescendantItems.changes.pipe(fn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Yh?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Si(s=>"void"===s.toState),An(1),fn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,s=e.parentMenu;for(;s;)i++,s=s.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new bh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(s=>{const o="start"===s.connectionPair.overlayX?"after":"before",a="top"===s.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[s,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,l]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[c,_]=[a,l],[E,R]=[s,o],$=0;if(this.triggersSubmenu()){if(R=s="before"===e.xPosition?"start":"end",o=E="end"===s?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const X=this._parentMaterialMenu.items.first;this._parentInnerPadding=X?X._getHostElement().offsetTop:0}$="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c="top"===a?"bottom":"top",_="top"===l?"bottom":"top");i.withPositions([{originX:s,originY:c,overlayX:E,overlayY:a,offsetY:$},{originX:o,originY:c,overlayX:R,overlayY:a,offsetY:$},{originX:s,originY:_,overlayX:E,overlayY:l,offsetY:-$},{originX:o,originY:_,overlayX:R,overlayY:l,offsetY:-$}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return Yt(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ze(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Si(a=>a!==this._menuItemInstance),Si(()=>this._menuOpen)):ze(),i)}_handleMousedown(e){Jy(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Si(e=>e===this._menuItemInstance&&!e.disabled),Ji(0,s0)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Yh&&this.menu._isAnimating?this.menu._animationDone.pipe(An(1),Ji(0,s0),fn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new eu(e.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(N(Xr),N(bt),N(ar),N(DE),N(z0,8),N(ia,10),N(gs,8),N(Do),N(mt))},t.\u0275dir=Je({type:t,hostVars:3,hostBindings:function(e,i){1&e&&Me("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&Wt("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),bu=(()=>{class t extends QW{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=te(t)))(i||t)}}(),t.\u0275dir=Je({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[pt]}),t})(),JW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({providers:[ZW],imports:[yo,Pn,Ch,nu,vh,Pn]}),t})();const TE=function(){return["1"]};function XW(t,n){if(1&t&&(T(0,"a",10)(1,"mat-icon",11),O(2,"chevron_left"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Hn(6,TE)))("queryParams",e.queryParams),d(1),D("inline",!0),d(2),ye(" ",B(4,4,"paginator.first")," ")}}function e$(t,n){if(1&t&&(T(0,"a",12)(1,"mat-icon",11),O(2,"chevron_left"),k(),T(3,"span",13),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Hn(6,TE)))("queryParams",e.queryParams),d(1),D("inline",!0),d(3),pe(B(5,4,"paginator.first"))}}const Qa=function(t){return[t]};function t$(t,n){if(1&t&&(T(0,"a",10)(1,"div")(2,"mat-icon",11),O(3,"chevron_left"),k()()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-1).toString())))("queryParams",e.queryParams),d(2),D("inline",!0)}}function n$(t,n){if(1&t&&(T(0,"a",10),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-2).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage-2)}}function i$(t,n){if(1&t&&(T(0,"a",14),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage-1).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage-1)}}function r$(t,n){if(1&t&&(T(0,"a",14),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+1).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage+1)}}function s$(t,n){if(1&t&&(T(0,"a",10),O(1),k()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+2).toString())))("queryParams",e.queryParams),d(1),pe(e.currentPage+2)}}function o$(t,n){if(1&t&&(T(0,"a",10)(1,"div")(2,"mat-icon",11),O(3,"chevron_right"),k()()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(3,Qa,(e.currentPage+1).toString())))("queryParams",e.queryParams),d(2),D("inline",!0)}}function a$(t,n){if(1&t&&(T(0,"a",10),O(1),Y(2,"translate"),T(3,"mat-icon",11),O(4,"chevron_right"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(6,Qa,e.numberOfPages.toString())))("queryParams",e.queryParams),d(1),ye(" ",B(2,4,"paginator.last")," "),d(2),D("inline",!0)}}function l$(t,n){if(1&t&&(T(0,"a",12)(1,"mat-icon",11),O(2,"chevron_right"),k(),T(3,"span",13),O(4),Y(5,"translate"),k()()),2&t){const e=W();D("routerLink",e.linkParts.concat(Ue(6,Qa,e.numberOfPages.toString())))("queryParams",e.queryParams),d(1),D("inline",!0),d(3),pe(B(5,4,"paginator.last"))}}const xE=function(t){return{number:t}};function c$(t,n){if(1&t&&(T(0,"div",15),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"paginator.total",Ue(4,xE,e.numberOfPages)))}}function u$(t,n){if(1&t&&(T(0,"div",16),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"paginator.total",Ue(4,xE,e.numberOfPages)))}}let yu=(()=>{class t{constructor(e,i){this.dialog=e,this.router=i,this.linkParts=[""],this.queryParams={}}openSelectionDialog(){const e=[];for(let i=1;i<=this.numberOfPages;i++)e.push({label:i.toString()});Ur.openDialog(this.dialog,e,"paginator.select-page-title").afterClosed().subscribe(i=>{i&&this.router.navigate(this.linkParts.concat([i.toString()]),{queryParams:this.queryParams})})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),O(4,"\xa0"),De(5,"br"),O(6,"\xa0"),k(),U(7,XW,5,7,"a",4),U(8,e$,6,7,"a",5),U(9,t$,4,5,"a",4),U(10,n$,2,5,"a",4),U(11,i$,2,5,"a",6),T(12,"a",7),Me("click",function(){return i.openSelectionDialog()}),O(13),k(),U(14,r$,2,5,"a",6),U(15,s$,2,5,"a",4),U(16,o$,4,5,"a",4),U(17,a$,5,8,"a",4),U(18,l$,6,8,"a",5),k()(),U(19,c$,3,6,"div",8),U(20,u$,3,6,"div",9),k()),2&e&&(d(7),D("ngIf",i.currentPage>3),d(1),D("ngIf",i.currentPage>2),d(1),D("ngIf",i.currentPage>1),d(1),D("ngIf",i.currentPage>2),d(1),D("ngIf",i.currentPage>1),d(2),pe(i.currentPage),d(1),D("ngIf",i.currentPage3),d(1),D("ngIf",i.numberOfPages>2))},dependencies:[Ot,Wa,Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:#f8f9f980;text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),t})();function Hh(t){return n=>n.lift(new d$(t,n))}class d${constructor(n,e){this.notifier=n,this.source=e}call(n,e){return e.subscribe(new h$(n,this.notifier,this.source))}}class h$ extends Kn{constructor(n,e,i){super(n),this.notifier=e,this.source=i}error(n){if(!this.isStopped){let e=this.errors,i=this.retries,s=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{e=new J;try{const{notifier:o}=this;i=o(e)}catch(o){return super.error(o)}s=jn(this,i)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=s,e.next(n)}}_unsubscribe(){const{errors:n,retriesSubscription:e}=this;n&&(n.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null}notifyNext(n,e,i,s,o){const{_unsubscribe:a}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=a,this.source.subscribe(this)}}let Mu=(()=>{class t{constructor(e){this.apiService=e}changeAppState(e,i,s){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,{status:s?1:0})}changeAppAutostart(e,i,s){return this.changeAppSettings(e,i,{autostart:s})}changeAppSettings(e,i,s){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,s)}getLogMessages(e,i,s){const a=ED(-1!==s?Date.now()-864e5*s:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get(`visors/${e}/apps/${encodeURIComponent(i)}/logs?since=${a}`).pipe(Xe(l=>l.logs))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Bn=(()=>(function(t){t.None="None",t.Favorite="Favorite",t.Blocked="Blocked"}(Bn||(Bn={})),Bn))(),ns=(()=>(function(t){t.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",t.OnlyBytes="OnlyBytes",t.OnlyBits="OnlyBits"}(ns||(ns={})),ns))();let Yl=(()=>{class t{constructor(e,i){this.router=e,this.storageService=i,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new Xs(1),this.historySubject=new Xs(1),this.favoritesSubject=new Xs(1),this.blockedSubject=new Xs(1)}initialize(){this.migrateDataToHvStorage(),this.serversMap=new Map;const e=this.storageService.getDataForHv(this.savedServersStorageKey);if(e){const i=JSON.parse(e);i.serverList.forEach(s=>{this.serversMap.set(s.pk,s)}),this.savedDataVersion=i.version,i.selectedServerPk&&this.updateCurrentServerPk(i.selectedServerPk)}this.launchListEvents()}migrateDataToHvStorage(){const e=localStorage.getItem(this.savedServersStorageKey);e&&(this.storageService.setDataForHv(this.savedServersStorageKey,e),localStorage.removeItem(this.savedServersStorageKey));const i=localStorage.getItem(this.checkIpSettingStorageKey);i&&(this.storageService.setDataForHv(this.checkIpSettingStorageKey,i),localStorage.removeItem(this.checkIpSettingStorageKey));const s=localStorage.getItem(this.dataUnitsSettingStorageKey);s&&(this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,s),localStorage.removeItem(this.dataUnitsSettingStorageKey))}get currentServer(){return this.serversMap.get(this.currentServerPk)}get currentServerObservable(){return this.currentServerSubject.asObservable()}get history(){return this.historySubject.asObservable()}get favorites(){return this.favoritesSubject.asObservable()}get blocked(){return this.blockedSubject.asObservable()}getSavedVersion(e,i){return i&&this.checkIfDataWasChanged(),this.serversMap.get(e)}getCheckIpSetting(){const e=this.storageService.getDataForHv(this.checkIpSettingStorageKey);return null==e||"false"!==e}setCheckIpSetting(e){this.storageService.setDataForHv(this.checkIpSettingStorageKey,e?"true":"false")}getDataUnitsSetting(){return this.storageService.getDataForHv(this.dataUnitsSettingStorageKey)??ns.BitsSpeedAndBytesVolume}setDataUnitsSetting(e){this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,e)}updateFromDiscovery(e){this.checkIfDataWasChanged(),e.forEach(i=>{if(this.serversMap.has(i.pk)){const s=this.serversMap.get(i.pk);s.countryCode=i.countryCode,s.name=i.name,s.location=i.location,s.note=i.note}}),this.saveData()}updateServer(e){this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData()}processFromDiscovery(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.countryCode=e.countryCode,i.name=e.name,i.location=e.location,i.note=e.note,this.saveData(),i):{countryCode:e.countryCode,name:e.name,customName:null,pk:e.pk,lastUsed:0,inHistory:!1,flag:Bn.None,location:e.location,personalNote:null,note:e.note,enteredManually:!1,usedWithPassword:!1}}processFromManual(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.customName=e.name,i.personalNote=e.note,i.enteredManually=!0,this.saveData(),i):{countryCode:"zz",name:"",customName:e.name,pk:e.pk,lastUsed:0,inHistory:!1,flag:Bn.None,location:"",personalNote:e.note,note:"",enteredManually:!0,usedWithPassword:!1}}changeFlag(e,i){this.checkIfDataWasChanged();const s=this.serversMap.get(e.pk);s&&(e=s),e.flag!==i&&(e.flag=i,this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData())}removeFromHistory(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e);!i||!i.inHistory||(i.inHistory=!1,this.cleanServers(),this.saveData())}modifyCurrentServer(e){this.checkIfDataWasChanged(),e.pk!==this.currentServerPk&&(this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.updateCurrentServerPk(e.pk),this.cleanServers(),this.saveData())}compareCurrentServer(e){if(this.checkIfDataWasChanged(),e){if(!this.currentServerPk||this.currentServerPk!==e){if(this.currentServerPk=e,!this.serversMap.get(e)){const s=this.processFromManual({pk:e});this.serversMap.set(s.pk,s),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}updateHistory(){this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;let e=[];this.serversMap.forEach(s=>{s.inHistory&&e.push(s)}),e=e.sort((s,o)=>o.lastUsed-s.lastUsed);let i=0;e.forEach(s=>{i{!i.inHistory&&i.flag===Bn.None&&i.pk!==this.currentServerPk&&!i.customName&&!i.personalNote&&e.push(i.pk)}),e.forEach(i=>{this.serversMap.delete(i)})}saveData(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);if(i&&(e=JSON.parse(i).version),e!==this.savedDataVersion)return void this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"storage"}});this.savedDataVersion+=1;const s={version:this.savedDataVersion,serverList:Array.from(this.serversMap.values()),selectedServerPk:this.currentServerPk},o=JSON.stringify(s);this.storageService.setDataForHv(this.savedServersStorageKey,o),this.launchListEvents()}checkIfDataWasChanged(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);i&&(e=JSON.parse(i).version),e!==this.savedDataVersion&&this.initialize()}launchListEvents(){const e=[],i=[],s=[];this.serversMap.forEach(o=>{o.inHistory&&e.push(o),o.flag===Bn.Favorite&&i.push(o),o.flag===Bn.Blocked&&s.push(o)}),this.historySubject.next(e),this.favoritesSubject.next(i),this.blockedSubject.next(s)}updateCurrentServerPk(e){this.currentServerPk=e,this.currentServerSubject.next(this.currentServer)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut),Ce(Xi))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var pn=(()=>(function(t){t.Stopped="stopped",t.Connecting="Connecting",t.Running="Running",t.ShuttingDown="Shutting down",t.Reconnecting="Connection failed, reconnecting"}(pn||(pn={})),pn))();class f${constructor(){this.updateDate=Date.now()}}class p${}class m${constructor(){this.latency=0,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.connectionDuration=0,this.error=""}}var Gi=(()=>(function(t){t[t.PerformingInitialCheck=1]="PerformingInitialCheck",t[t.Off=10]="Off",t[t.Starting=20]="Starting",t[t.Running=100]="Running",t[t.Disconnecting=200]="Disconnecting"}(Gi||(Gi={})),Gi))(),bs=(()=>(function(t){t[t.Busy=1]="Busy",t[t.Ok=2]="Ok",t[t.MustStop=3]="MustStop",t[t.SamePkRunning=4]="SamePkRunning",t[t.SamePkStopped=5]="SamePkStopped"}(bs||(bs={})),bs))();let wu=(()=>{class t{constructor(e,i,s,o,a,l,c){this.apiService=e,this.appsService=i,this.router=s,this.vpnSavedDataService=o,this.http=a,this.snackbarService=l,this.translateService=c,this.vpnClientAppName="vpn-client",this.standardWaitTime=2e3,this.stateSubject=new Wi(null),this.errorSubject=new Wi(!1),this.working=!0,this.requestedServer=null,this.requestedPassword=null,this.updatesStopped=!1,this.currentEventData=new f$,this.currentEventData.busy=!0,this.lastServiceState=Gi.PerformingInitialCheck}initialize(e){e&&(this.nodeKey?e!==this.nodeKey?this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"pkChange"}}):this.updatesStopped&&(this.updatesStopped=!1,this.updateData()):(this.nodeKey=e,this.vpnSavedDataService.initialize(),this.updateData()))}get backendState(){return this.stateSubject.asObservable()}get errorsConnecting(){return this.errorSubject.asObservable()}updateData(){this.continuallyUpdateData(0)}start(){return!this.working&&this.lastServiceState<20&&(this.changeAppState(!0),!0)}stop(){return!this.working&&this.lastServiceState>=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}getIpData(){return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(Hh(e=>Sl(e.pipe(Ji(this.standardWaitTime),An(4)),Dr(""))),Xe(e=>{let i="";i=e&&e.ip_address?e.ip_address:this.translateService.instant("common.unknown");let s="";return s=e&&e.country_name?e.country_name:this.translateService.instant("common.unknown"),[i,s]}))}changeServerUsingHistory(e,i){return this.requestedServer=e,this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerUsingDiscovery(e,i){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerManually(e,i){return this.requestedServer=this.vpnSavedDataService.processFromManual(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}updateRequestedServerPasswordSetting(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;const e=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);e&&(e.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(e))}changeServer(){return!this.working&&(this.stop()||this.processServerChange(),!0)}checkNewPk(e){return this.working?bs.Busy:this.lastServiceState!==Gi.Off?e===this.vpnSavedDataService.currentServer.pk?bs.SamePkRunning:bs.MustStop:this.vpnSavedDataService.currentServer&&e===this.vpnSavedDataService.currentServer.pk?bs.SamePkStopped:bs.Ok}processServerChange(){this.dataSubscription&&this.dataSubscription.unsubscribe();const e={pk:this.requestedServer.pk};e.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,e).subscribe(()=>{this.vpnSavedDataService.modifyCurrentServer(this.requestedServer),this.requestedServer=null,this.requestedPassword=null,this.working=!1,this.start()},i=>{i=an(i),this.snackbarService.showError("vpn.server-change.backend-error",null,!1,i.originalServerErrorMsg),this.working=!1,this.requestedServer=null,this.requestedPassword=null,this.sendUpdate(),this.updateData()})}changeAppState(e){if(this.working)return;this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();const i={status:1};e?(this.lastServiceState=Gi.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Gi.Disconnecting,i.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,i).pipe(Qr(s=>this.getVpnClientState().pipe(we(o=>{if(o){if(e&&o.running)return ze(!0);if(!e&&!o.running)return ze(!0)}return Dr(s)}))),Hh(s=>Sl(s.pipe(Ji(this.standardWaitTime),An(3)),s.pipe(we(o=>Dr(o)))))).subscribe(s=>{this.working=!1;const o=this.processAppData(s);this.lastServiceState=o.running?Gi.Running:Gi.Off,this.currentEventData.vpnClientAppData=o,this.currentEventData.updateDate=Date.now(),this.sendUpdate(),this.updateData(),!e&&this.requestedServer&&this.processServerChange()},s=>{s=an(s),this.snackbarService.showError(this.lastServiceState===Gi.Starting?"vpn.status-page.problem-starting-error":this.lastServiceState===Gi.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,s.originalServerErrorMsg),this.working=!1,this.sendUpdate(),this.updateData()})}continuallyUpdateData(e){if(this.working&&this.lastServiceState!==Gi.PerformingInitialCheck)return;this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();let i=0;this.continuousUpdateSubscription=ze(0).pipe(Ji(e),we(()=>this.getVpnClientState()),Hh(s=>s.pipe(we(o=>(this.errorSubject.next(!0),(o=an(o)).originalError&&o.originalError.status&&401===o.originalError.status?Dr(o):this.lastServiceState!==Gi.PerformingInitialCheck||i<4?(i+=1,ze(o).pipe(Ji(this.standardWaitTime))):Dr(o)))))).subscribe(s=>{s?(this.errorSubject.next(!1),this.lastServiceState===Gi.PerformingInitialCheck&&(this.working=!1),this.vpnSavedDataService.compareCurrentServer(s.serverPk),this.lastServiceState=s.running?Gi.Running:Gi.Off,this.currentEventData.vpnClientAppData=s,this.currentEventData.updateDate=Date.now(),this.sendUpdate()):this.lastServiceState===Gi.PerformingInitialCheck&&(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null,this.updatesStopped=!0),this.continuallyUpdateData(this.standardWaitTime)},s=>{(s=an(s)).originalError&&s.originalError.status&&401===s.originalError.status||(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null),this.updatesStopped=!0})}stopContinuallyUpdatingData(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}getVpnClientState(){let e;const i=new Rl;return i.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/summary`,i).pipe(we(s=>{let o;if(s&&s.overview&&s.overview.apps&&s.overview.apps.length>0&&s.overview.apps.forEach(a=>{a.name===this.vpnClientAppName&&(o=a)}),o&&(e=this.processAppData(o)),e.minHops=s.min_hops?s.min_hops:0,e&&e.running){const a=new Rl;return a.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/apps/${this.vpnClientAppName}/connections`,a)}return ze(null)}),Xe(s=>{if(s&&s.length>0){const o=new m$;s.forEach(a=>{o.latency+=a.latency/s.length,o.uploadSpeed+=a.upload_speed/s.length,o.downloadSpeed+=a.download_speed/s.length,o.totalUploaded+=a.bandwidth_sent,o.totalDownloaded+=a.bandwidth_received,a.error&&(o.error=a.error),a.connection_duration>o.connectionDuration&&(o.connectionDuration=a.connection_duration)}),(!this.connectionHistoryPk||this.connectionHistoryPk!==e.serverPk)&&(this.connectionHistoryPk=e.serverPk,this.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),o.latency=Math.round(o.latency),o.uploadSpeed=Math.round(o.uploadSpeed),o.downloadSpeed=Math.round(o.downloadSpeed),o.totalUploaded=Math.round(o.totalUploaded),o.totalDownloaded=Math.round(o.totalDownloaded),this.uploadSpeedHistory.splice(0,1),this.uploadSpeedHistory.push(o.uploadSpeed),o.uploadSpeedHistory=this.uploadSpeedHistory,this.downloadSpeedHistory.splice(0,1),this.downloadSpeedHistory.push(o.downloadSpeed),o.downloadSpeedHistory=this.downloadSpeedHistory,this.latencyHistory.splice(0,1),this.latencyHistory.push(o.latency),o.latencyHistory=this.latencyHistory,e.connectionData=o}return e}))}processAppData(e){const i=new p$;if(i.running=0!==e.status&&2!==e.status,i.connectionDuration=e.connection_duration,i.appState=pn.Stopped,i.running?e.detailed_status===pn.Connecting||3===e.status?i.appState=pn.Connecting:e.detailed_status===pn.Running?i.appState=pn.Running:e.detailed_status===pn.ShuttingDown?i.appState=pn.ShuttingDown:e.detailed_status===pn.Reconnecting&&(i.appState=pn.Reconnecting):2===e.status&&(i.lastErrorMsg=e.detailed_status,i.lastErrorMsg||(i.lastErrorMsg=this.translateService.instant("vpn.status-page.unknown-error"))),i.killswitch=!1,e.args&&e.args.length>0)for(let s=0;s{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.snackbarService=o,this.vpnSavedDataService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){let e=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);e=e||this.data.server;const i=this.form.get("value").value;i!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?e.customName=i:e.personalNote=i,this.vpnSavedDataService.updateServer(e),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Vn),N(Yl))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(e,i){if(1&e&&vt(_$,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","value","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.process()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-label")),d(4),ye(" ",B(9,9,"vpn.server-options.edit-value.apply-button")," "))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const v$=["firstInput"];let LE=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this.data=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({password:["",this.data?void 0:yn.required]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){this.dialogRef.close("-"+this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(e,i){if(1&e&&vt(v$,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:12,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","password","type","password","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.process()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,6,"vpn.server-list.password-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,8,"vpn.server-list.password-dialog.password"+(i.data?"-if-any":"")+"-label")),d(3),D("disabled",!i.form.valid),d(1),ye(" ",B(9,10,"vpn.server-list.password-dialog.continue-button")," "))},dependencies:[mr,dr,fr,pr,ki,er,jr,vs,Tr,bi,kt]}),t})(),qi=(()=>{class t{static changeCurrentPk(e){this.currentPk=e}static setDefaultTabForServerList(e){sessionStorage.setItem(t.serverListTabStorageKey,e)}static get vpnTabsData(){const e=sessionStorage.getItem(t.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:e?["/vpn",this.currentPk,"servers",e,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]}static getLatencyValueString(e){return e<1e3?"time-in-ms":"time-in-segs"}static getPrintableLatency(e){return e<1e3?e+"":(e/1e3).toFixed(1)}static processServerChange(e,i,s,o,a,l,c,_,E,R,$){let X;if(_&&(E||R)||E&&(_||R)||R&&(_||E))throw new Error("Invalid call");if(_)X=_.pk;else if(E)X=E.pk;else{if(!R)throw new Error("Invalid call");X=R.pk}const he=s.getSavedVersion(X,!0),Se=he&&($||he.usedWithPassword),Pe=i.checkNewPk(X);if(Pe!==bs.Busy)if(Pe!==bs.SamePkRunning||Se)if(Pe===bs.MustStop||Pe===bs.SamePkRunning&&Se){const Re=rn.createConfirmationDialog(a,"vpn.server-change.change-server-while-connected-confirmation");Re.componentInstance.operationAccepted.subscribe(()=>{Re.componentInstance.closeModal(),_?i.changeServerUsingHistory(_,$):E?i.changeServerUsingDiscovery(E,$):R&&i.changeServerManually(R,$),t.redirectAfterServerChange(e,l,c)})}else if(Pe!==bs.SamePkStopped||Se)_?i.changeServerUsingHistory(_,$):E?i.changeServerUsingDiscovery(E,$):R&&i.changeServerManually(R,$),t.redirectAfterServerChange(e,l,c);else{const Re=rn.createConfirmationDialog(a,"vpn.server-change.start-same-server-confirmation");Re.componentInstance.operationAccepted.subscribe(()=>{Re.componentInstance.closeModal(),R&&he&&s.processFromManual(R),i.start(),t.redirectAfterServerChange(e,l,c)})}else o.showWarning("vpn.server-change.already-selected-warning");else o.showError("vpn.server-change.busy-error")}static redirectAfterServerChange(e,i,s){i&&i.close(),e.navigate(["vpn",s,"status"])}static openServerOptions(e,i,s,o,a,l){const c=[],_=[];return e.usedWithPassword?(c.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),_.push(201),c.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),_.push(202)):e.enteredManually&&(c.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),_.push(202)),c.push({icon:"edit",label:"vpn.server-options.edit-name"}),_.push(101),c.push({icon:"subject",label:"vpn.server-options.edit-label"}),_.push(102),(!e||e.flag!==Bn.Favorite)&&(c.push({icon:"star",label:"vpn.server-options.make-favorite"}),_.push(1)),e&&e.flag===Bn.Favorite&&(c.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),_.push(-1)),(!e||e.flag!==Bn.Blocked)&&(c.push({icon:"pan_tool",label:"vpn.server-options.block"}),_.push(2)),e&&e.flag===Bn.Blocked&&(c.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),_.push(-2)),e&&e.inHistory&&(c.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),_.push(-3)),Ur.openDialog(l,c,"common.options").afterClosed().pipe(we(E=>{if(E){const R=s.getSavedVersion(e.pk,!0);if(e=R||e,_[E-=1]>200){if(201===_[E]){let $=!1;const X=rn.createConfirmationDialog(l,"vpn.server-options.connect-without-password-confirmation");return X.componentInstance.operationAccepted.subscribe(()=>{$=!0,t.processServerChange(i,o,s,a,l,null,t.currentPk,e,null,null,null),X.componentInstance.closeModal()}),X.afterClosed().pipe(Xe(()=>$))}return LE.openDialog(l,!1).afterClosed().pipe(Xe($=>!(!$||"-"===$||(t.processServerChange(i,o,s,a,l,null,t.currentPk,e,null,null,$.substr(1)),0))))}if(_[E]>100)return g$.openDialog(l,{editName:101===_[E],server:e}).afterClosed();if(1===_[E])return t.makeFavorite(e,s,a,l);if(-1===_[E])return s.changeFlag(e,Bn.None),a.showDone("vpn.server-options.remove-from-favorites-done"),ze(!0);if(2===_[E])return t.blockServer(e,s,o,a,l);if(-2===_[E])return s.changeFlag(e,Bn.None),a.showDone("vpn.server-options.unblock-done"),ze(!0);if(-3===_[E])return t.removeFromHistory(e,s,a,l)}return ze(!1)}))}static removeFromHistory(e,i,s,o){let a=!1;const l=rn.createConfirmationDialog(o,"vpn.server-options.remove-from-history-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.removeFromHistory(e.pk),s.showDone("vpn.server-options.remove-from-history-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(Xe(()=>a))}static makeFavorite(e,i,s,o){if(e.flag!==Bn.Blocked)return i.changeFlag(e,Bn.Favorite),s.showDone("vpn.server-options.make-favorite-done"),ze(!0);let a=!1;const l=rn.createConfirmationDialog(o,"vpn.server-options.make-favorite-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.changeFlag(e,Bn.Favorite),s.showDone("vpn.server-options.make-favorite-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(Xe(()=>a))}static blockServer(e,i,s,o,a){if(e.flag!==Bn.Favorite&&(!i.currentServer||i.currentServer.pk!==e.pk))return i.changeFlag(e,Bn.Blocked),o.showDone("vpn.server-options.block-done"),ze(!0);let l=!1;const c=i.currentServer&&i.currentServer.pk===e.pk;let _;_=e.flag!==Bn.Favorite?"vpn.server-options.block-selected-confirmation":c?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation";const E=rn.createConfirmationDialog(a,_);return E.componentInstance.operationAccepted.subscribe(()=>{l=!0,i.changeFlag(e,Bn.Blocked),o.showDone("vpn.server-options.block-done"),c&&s.stop(),E.componentInstance.closeModal()}),E.afterClosed().pipe(Xe(()=>l))}}return t.serverListTabStorageKey="ServerListTab",t.currentPk="",t})();var ra=(()=>(function(t){t[t.Seconds=0]="Seconds",t[t.Minutes=1]="Minutes",t[t.Hours=2]="Hours",t[t.Days=3]="Days",t[t.Weeks=4]="Weeks"}(ra||(ra={})),ra))();class b${}class EE{static getElapsedTime(n){const e=new b$;e.timeRepresentation=ra.Seconds,e.totalMinutes=Math.floor(n/60).toString(),e.translationVarName="second";let i=1;n>=60&&n<3600?(e.timeRepresentation=ra.Minutes,i=60,e.translationVarName="minute"):n>=3600&&n<86400?(e.timeRepresentation=ra.Hours,i=3600,e.translationVarName="hour"):n>=86400&&n<604800?(e.timeRepresentation=ra.Days,i=86400,e.translationVarName="day"):n>=604800&&(e.timeRepresentation=ra.Weeks,i=604800,e.translationVarName="week");const s=Math.floor(n/i);return e.elapsedTime=s.toString(),(e.timeRepresentation===ra.Seconds||s>1)&&(e.translationVarName=e.translationVarName+"s"),e}}function y$(t,n){1&t&&De(0,"mat-spinner",5),2&t&&D("diameter",14)}function M$(t,n){1&t&&De(0,"mat-spinner",6),2&t&&D("diameter",18)}function w$(t,n){1&t&&(T(0,"mat-icon",9),O(1,"refresh"),k()),2&t&&D("inline",!0)}function C$(t,n){1&t&&(T(0,"mat-icon",10),O(1,"warning"),k()),2&t&&D("inline",!0)}function S$(t,n){if(1&t&&(qe(0),U(1,w$,2,1,"mat-icon",7),U(2,C$,2,1,"mat-icon",8),Ke()),2&t){const e=W();d(1),D("ngIf",!e.showAlert),d(1),D("ngIf",e.showAlert)}}const PE=function(t){return{time:t}};function D$(t,n){if(1&t&&(T(0,"span",11),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),pe(Vt(2,1,"refresh-button."+e.elapsedTime.translationVarName,Ue(4,PE,e.elapsedTime.elapsedTime)))}}const k$=function(t){return{"grey-button-background":t}};let T$=(()=>{class t{constructor(){this.refeshRate=-1}set secondsSinceLastUpdate(e){this.elapsedTime=EE.getElapsedTime(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(e,i){1&e&&(T(0,"button",0),Y(1,"translate"),U(2,y$,1,1,"mat-spinner",1),U(3,M$,1,1,"mat-spinner",2),U(4,S$,3,2,"ng-container",3),U(5,D$,3,6,"span",4),k()),2&e&&(D("disabled",i.showLoading)("ngClass",Ue(10,k$,!i.showLoading))("matTooltip",i.showAlert?Vt(1,7,"refresh-button.error-tooltip",Ue(12,PE,i.refeshRate)):""),d(2),D("ngIf",i.showLoading),d(1),D("ngIf",i.showLoading),d(1),D("ngIf",!i.showLoading),d(1),D("ngIf",i.elapsedTime))},dependencies:[Wn,Ot,kr,Cn,vi,Vr,kt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width: 767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),t})(),Vh=(()=>{class t{transform(e,i){let o,s=!0;i?i.showPerSecond?i.useBits?(o=t.measurementsPerSecInBits,s=!1):o=t.measurementsPerSec:i.useBits?(o=t.accumulatedMeasurementsInBits,s=!1):o=t.accumulatedMeasurements:o=t.accumulatedMeasurements;let a=new B0.BigNumber(e);s||(a=a.multipliedBy(8));let l=o[0],c=0;for(;a.dividedBy(1024).isGreaterThan(1);)a=a.dividedBy(1024),c+=1,l=o[c];let _="";return(!i||!!i.showValue)&&(_=i&&i.limitDecimals?new B0.BigNumber(a).decimalPlaces(1).toString():a.toFixed(2)),(!i||!!i.showValue&&!!i.showUnit)&&(_+=" "),(!i||!!i.showUnit)&&(_+=l),_}}return t.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],t.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],t.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],t.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Ki({name:"autoScale",type:t,pure:!0}),t})();function x$(t,n){if(1&t){const e=nt();T(0,"button",23),Me("click",function(){return Ie(e),Oe(W().requestAction(null))}),T(1,"mat-icon"),O(2,"chevron_left"),k()()}}function L$(t,n){1&t&&(qe(0),De(1,"img",24),Ke())}function E$(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W();d(1),ye(" ",B(2,1,e.titleParts[e.titleParts.length-1])," ")}}const P$=function(t){return{transparent:t}};function I$(t,n){if(1&t){const e=nt();qe(0),T(1,"div",26),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).requestAction(o.actionName))}),T(2,"mat-icon",27),O(3),k(),O(4),Y(5,"translate"),k(),Ke()}if(2&t){const e=n.$implicit;d(1),D("disabled",e.disabled),d(1),D("ngClass",Ue(6,P$,e.disabled)),d(1),pe(e.icon),d(1),ye(" ",B(5,4,e.name)," ")}}function O$(t,n){1&t&&De(0,"div",28)}function A$(t,n){if(1&t&&(qe(0),U(1,I$,6,8,"ng-container",25),U(2,O$,1,0,"div",9),Ke()),2&t){const e=W();d(1),D("ngForOf",e.optionsData),d(1),D("ngIf",e.returnText)}}function R$(t,n){1&t&&De(0,"div",28)}function F$(t,n){1&t&&De(0,"img",31),2&t&&D("src","assets/img/lang/"+W(2).language.iconName,Ho)}function N$(t,n){if(1&t){const e=nt();T(0,"div",29),Me("click",function(){return Ie(e),Oe(W().openLanguageWindow())}),U(1,F$,1,1,"img",30),O(2),Y(3,"translate"),k()}if(2&t){const e=W();d(1),D("ngIf",e.language),d(1),ye(" ",B(3,2,e.language?e.language.name:"")," ")}}function Y$(t,n){if(1&t){const e=nt();T(0,"div",32)(1,"a",33),Me("click",function(){return Ie(e),Oe(W().requestAction(null))}),Y(2,"translate"),T(3,"mat-icon",34),O(4,"chevron_left"),k()()()}if(2&t){const e=W();d(1),D("matTooltip",B(2,2,e.returnText)),d(2),D("inline",!0)}}function H$(t,n){if(1&t&&(T(0,"span",35),O(1),Y(2,"translate"),k()),2&t){const e=W();d(1),ye(" ",B(2,1,e.titleParts[e.titleParts.length-1])," ")}}function V$(t,n){1&t&&De(0,"img",36)}const B$=function(t,n){return{"d-lg-none":t,"d-none d-md-inline-block":n}},IE=function(t,n){return{"mouse-disabled":t,"grey-button-background":n}};function j$(t,n){if(1&t&&(T(0,"div",27)(1,"a",37)(2,"mat-icon",34),O(3),k(),T(4,"span"),O(5),Y(6,"translate"),k()()()),2&t){const e=n.$implicit,i=n.index,s=W();D("ngClass",hn(9,B$,e.onlyIfLessThanLg,1!==s.tabsData.length)),d(1),D("disabled",i===s.selectedTabIndex)("routerLink",e.linkParts)("ngClass",hn(12,IE,s.disableMouse,!s.disableMouse&&i!==s.selectedTabIndex)),d(1),D("inline",!0),d(1),pe(e.icon),d(2),pe(B(6,7,e.label))}}const U$=function(t){return{"d-none":t}};function z$(t,n){if(1&t){const e=nt();T(0,"div",38)(1,"button",39),Me("click",function(){return Ie(e),Oe(W().openTabSelector())}),T(2,"mat-icon",34),O(3),k(),T(4,"span"),O(5),Y(6,"translate"),k(),T(7,"mat-icon",34),O(8,"keyboard_arrow_down"),k()()()}if(2&t){const e=W();D("ngClass",Ue(8,U$,1===e.tabsData.length)),d(1),D("ngClass",hn(10,IE,e.disableMouse,!e.disableMouse)),d(1),D("inline",!0),d(1),pe(e.tabsData[e.selectedTabIndex].icon),d(2),pe(B(6,6,e.tabsData[e.selectedTabIndex].label)),d(2),D("inline",!0)}}function W$(t,n){if(1&t){const e=nt();T(0,"app-refresh-button",43),Me("click",function(){return Ie(e),Oe(W(2).sendRefreshEvent())}),k()}if(2&t){const e=W(2);D("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.showLoading)("showAlert",e.showAlert)("refeshRate",e.refeshRate)}}function $$(t,n){if(1&t&&(T(0,"div",40),U(1,W$,1,4,"app-refresh-button",41),T(2,"button",42)(3,"mat-icon",34),O(4,"menu"),k()()()),2&t){const e=W(),i=li(12);d(1),D("ngIf",e.showUpdateButton),d(1),D("matMenuTriggerFor",i),d(1),D("inline",!0)}}function G$(t,n){if(1&t){const e=nt();T(0,"div",51)(1,"div",52),Me("click",function(){return Ie(e),Oe(W(2).openLanguageWindow())}),De(2,"img",53),O(3),Y(4,"translate"),k()()}if(2&t){const e=W(2);d(2),D("src","assets/img/lang/"+e.language.iconName,Ho),d(1),ye(" ",B(4,2,e.language?e.language.name:"")," ")}}function q$(t,n){1&t&&(T(0,"div",54),Y(1,"translate"),T(2,"mat-icon",34),O(3,"warning"),k(),O(4),Y(5,"translate"),k()),2&t&&(D("matTooltip",B(1,3,"vpn.connection-error.info")),d(2),D("inline",!0),d(2),ye(" ",B(5,5,"vpn.connection-error.text")," "))}function K$(t,n){1&t&&(T(0,"div",61)(1,"mat-icon",59),O(2,"brightness_1"),k()()),2&t&&(d(1),D("inline",!0))}const Z$=function(t,n){return{"animation-container":t,"d-none":n}},Q$=function(t){return{time:t}},OE=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}};function J$(t,n){if(1&t&&(T(0,"table",55)(1,"tr")(2,"td",56),Y(3,"translate"),T(4,"div",27)(5,"div",57)(6,"div",58)(7,"mat-icon",59),O(8,"brightness_1"),k(),O(9),Y(10,"translate"),k()()(),U(11,K$,3,1,"div",60),T(12,"mat-icon",59),O(13,"brightness_1"),k(),O(14),Y(15,"translate"),k(),T(16,"td",56),Y(17,"translate"),T(18,"mat-icon",34),O(19,"swap_horiz"),k(),O(20),Y(21,"translate"),k()(),T(22,"tr")(23,"td",56),Y(24,"translate"),T(25,"mat-icon",34),O(26,"arrow_upward"),k(),O(27),Y(28,"autoScale"),k(),T(29,"td",56),Y(30,"translate"),T(31,"mat-icon",34),O(32,"arrow_downward"),k(),O(33),Y(34,"autoScale"),k()()()),2&t){const e=W(2);d(2),fs(e.vpnData.stateClass+" state-td"),D("matTooltip",B(3,18,e.vpnData.state+"-info")),d(2),D("ngClass",hn(39,Z$,e.showVpnStateAnimation,!e.showVpnStateAnimation)),d(3),D("inline",!0),d(2),ye(" ",B(10,20,e.vpnData.state)," "),d(2),D("ngIf",e.showVpnStateAnimatedDot),d(1),D("inline",!0),d(2),ye(" ",B(15,22,e.vpnData.state)," "),d(2),D("matTooltip",B(17,24,"vpn.connection-info.latency-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),Ue(42,Q$,e.getPrintableLatency(e.vpnData.latency)))," "),d(3),D("matTooltip",B(24,29,"vpn.connection-info.upload-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(28,31,e.vpnData.uploadSpeed,Ue(44,OE,e.showVpnDataStatsInBits))," "),d(2),D("matTooltip",B(30,34,"vpn.connection-info.download-info")),d(2),D("inline",!0),d(2),ye(" ",Vt(34,36,e.vpnData.downloadSpeed,Ue(46,OE,e.showVpnDataStatsInBits))," ")}}function X$(t,n){1&t&&De(0,"mat-spinner",62),2&t&&D("diameter",20)}function eG(t,n){if(1&t&&(T(0,"div")(1,"div",44),U(2,G$,5,4,"div",45),De(3,"div",46),U(4,q$,6,7,"div",47),k(),T(5,"div",48),U(6,J$,35,48,"table",49),U(7,X$,1,1,"mat-spinner",50),k()()),2&t){const e=W();d(2),D("ngIf",!e.hideLanguageButton&&e.language),d(2),D("ngIf",e.errorsConnectingToVpn),d(2),D("ngIf",e.vpnData),d(1),D("ngIf",!e.vpnData)}}function tG(t,n){1&t&&(T(0,"div",63)(1,"div",64)(2,"mat-icon",34),O(3,"error_outline"),k(),O(4),Y(5,"translate"),k(),T(6,"div",65),O(7),Y(8,"translate"),k()()),2&t&&(d(2),D("inline",!0),d(2),ye(" ",B(5,3,"vpn.remote-access-title")," "),d(3),ye(" ",B(8,5,"vpn.remote-access-text")," "))}const AE=function(t,n){return{"d-lg-none":t,"d-none":n}},nG=function(t){return{"normal-height":t}},iG=function(t,n){return{"d-none d-lg-flex":t,"d-flex":n}};let Hl=(()=>{class t{constructor(e,i,s,o,a){this.languageService=e,this.dialog=i,this.router=s,this.vpnClientService=o,this.vpnSavedDataService=a,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new ft,this.optionSelected=new ft,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}set localVpnKey(e){this.localVpnKeyInternal=e,e?this.startGettingVpnInfo():this.stopGettingVpnInfo()}ngOnInit(){this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(i=>{this.language=i})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(i=>{this.hideLanguageButton=!(i.length>1)}));const e=window.location.hostname;!e.toLowerCase().includes("localhost")&&!e.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}ngOnDestroy(){this.langSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}startGettingVpnInfo(){this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(e=>{e&&(this.vpnData={state:"",stateClass:"",latency:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.latency:0,downloadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.uploadSpeed:0},e.vpnClientAppData.appState===pn.Stopped?(this.vpnData.state="vpn.connection-info.state-disconnected",this.vpnData.stateClass="red-clear-text"):e.vpnClientAppData.appState===pn.Connecting?(this.vpnData.state="vpn.connection-info.state-connecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===pn.Running?(this.vpnData.state="vpn.connection-info.state-connected",this.vpnData.stateClass="green-clear-text"):e.vpnClientAppData.appState===pn.ShuttingDown?(this.vpnData.state="vpn.connection-info.state-disconnecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===pn.Reconnecting&&(this.vpnData.state="vpn.connection-info.state-reconnecting",this.vpnData.stateClass="yellow-clear-text"),this.initialVpnStateObtained?this.lastVpnState!==this.vpnData.state&&(this.lastVpnState=this.vpnData.state,this.showVpnStateAnimation=!1,this.showVpnStateChangeAnimationSubscription&&this.showVpnStateChangeAnimationSubscription.unsubscribe(),this.showVpnStateChangeAnimationSubscription=ze(0).pipe(Ji(1)).subscribe(()=>this.showVpnStateAnimation=!0)):(this.initialVpnStateObtained=!0,this.lastVpnState=this.vpnData.state),this.showVpnStateAnimatedDot=!1,this.showVpnStateAnimatedDotSubscription&&this.showVpnStateAnimatedDotSubscription.unsubscribe(),this.showVpnStateAnimatedDotSubscription=ze(0).pipe(Ji(1)).subscribe(()=>this.showVpnStateAnimatedDot=!0))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(e=>{this.errorsConnectingToVpn=e})}stopGettingVpnInfo(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}getLatencyValueString(e){return qi.getLatencyValueString(e)}getPrintableLatency(e){return qi.getPrintableLatency(e)}requestAction(e){this.optionSelected.emit(e)}openLanguageWindow(){mE.openDialog(this.dialog)}sendRefreshEvent(){this.refreshRequested.emit()}openTabSelector(){const e=[];this.tabsData.forEach(i=>{e.push({label:i.label,icon:i.icon})}),Ur.openDialog(this.dialog,e,"tabs-window.title").afterClosed().subscribe(i=>{i&&(i-=1)!==this.selectedTabIndex&&this.router.navigate(this.tabsData[i].linkParts)})}updateVpnDataStatsUnit(){const e=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=e===ns.BitsSpeedAndBytesVolume||e===ns.OnlyBits}}return t.\u0275fac=function(e){return new(e||t)(N(e_),N(Gn),N(Ut),N(wu),N(Yl))},t.\u0275cmp=Qe({type:t,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(e,i){if(1&e&&(T(0,"div",0)(1,"div",1),U(2,x$,3,0,"button",2),k(),T(3,"div",3),U(4,L$,2,0,"ng-container",4),U(5,E$,3,3,"ng-container",4),k(),T(6,"div",1)(7,"button",5)(8,"mat-icon"),O(9,"menu"),k()()()(),De(10,"div",6),T(11,"mat-menu",7,8),U(13,A$,3,2,"ng-container",4),U(14,R$,1,0,"div",9),U(15,N$,4,4,"div",10),k(),T(16,"div",11)(17,"div",12)(18,"div",13),U(19,Y$,5,4,"div",14),U(20,H$,3,3,"span",15),U(21,V$,1,0,"img",16),k(),T(22,"div",17),U(23,j$,7,15,"div",18),U(24,z$,9,13,"div",19),De(25,"div",20),U(26,$$,5,3,"div",21),k()(),U(27,eG,8,4,"div",4),k(),U(28,tG,9,7,"div",22)),2&e){const s=li(12);D("ngClass",hn(20,AE,!i.showVpnInfo,i.showVpnInfo)),d(2),D("ngIf",i.returnText),d(2),D("ngIf",!i.titleParts||i.titleParts.length<2),d(1),D("ngIf",i.titleParts&&i.titleParts.length>=2),d(2),D("matMenuTriggerFor",s),d(3),D("ngClass",hn(23,AE,!i.showVpnInfo,i.showVpnInfo)),d(1),D("overlapTrigger",!1),d(2),D("ngIf",i.optionsData&&i.optionsData.length>=1),d(1),D("ngIf",!i.hideLanguageButton&&i.optionsData&&i.optionsData.length>=1),d(1),D("ngIf",!i.hideLanguageButton),d(1),D("ngClass",Ue(26,nG,!i.showVpnInfo)),d(2),D("ngClass",hn(28,iG,!i.showVpnInfo,i.showVpnInfo)),d(1),D("ngIf",i.returnText),d(1),D("ngIf",!i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo),d(2),D("ngForOf",i.tabsData),d(1),D("ngIf",i.tabsData&&i.tabsData[i.selectedTabIndex]),d(2),D("ngIf",!i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo),d(1),D("ngIf",i.showVpnInfo&&i.remoteAccess)}},dependencies:[Wn,Fi,Ot,Wa,kr,N9,Cn,vi,vu,ia,bu,Vr,T$,kt,Vh],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:700}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;animation:state-icon-animation 1s linear 1}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;animation:state-animation 1s linear 1;opacity:0}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 5px 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),t})();const RE=function(){return["start.title"]};function rG(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3),k(),De(3,"app-loading-indicator",4),k()),2&t){const e=W();d(2),D("titleParts",Hn(4,RE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function sG(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function oG(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function aG(t,n){if(1&t&&(T(0,"div",23)(1,"span"),O(2),Y(3,"translate"),k(),U(4,sG,3,3,"ng-container",24),U(5,oG,2,1,"ng-container",24),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function lG(t,n){if(1&t){const e=nt();T(0,"div",20),Me("click",function(){return Ie(e),Oe(W(2).dataFilterer.removeFilters())}),U(1,aG,6,5,"div",21),T(2,"div",22),O(3),Y(4,"translate"),k()()}if(2&t){const e=W(2);d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function cG(t,n){if(1&t){const e=nt();T(0,"mat-icon",25),Me("click",function(){return Ie(e),Oe(W(2).dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function uG(t,n){1&t&&(T(0,"mat-icon",26),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(12)))}const FE=function(){return["/nodes","list"]},NE=function(){return["/nodes","dmsg"]};function dG(t,n){if(1&t&&De(0,"app-paginator",27),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Hn(5,NE):Hn(4,FE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function hG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function fG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function pG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function mG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function _G(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function gG(t,n){if(1&t&&(qe(0),T(1,"mat-icon",42),O(2),k(),U(3,_G,2,0,"ng-container",24),Ke()),2&t){const e=W(5);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function vG(t,n){if(1&t){const e=nt();T(0,"th",38),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.dmsgServerSortData))}),O(1),Y(2,"translate"),U(3,gG,4,3,"ng-container",24),k()}if(2&t){const e=W(4);d(1),ye(" ",B(2,2,"nodes.dmsg-server")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.dmsgServerSortData)}}function bG(t,n){if(1&t&&(T(0,"mat-icon",42),O(1),k()),2&t){const e=W(5);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function yG(t,n){if(1&t){const e=nt();T(0,"th",38),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.pingSortData))}),O(1),Y(2,"translate"),U(3,bG,2,2,"mat-icon",35),k()}if(2&t){const e=W(4);d(1),ye(" ",B(2,2,"nodes.ping")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.pingSortData)}}function MG(t,n){1&t&&(T(0,"mat-icon",49),Y(1,"translate"),O(2,"star"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"nodes.hypervisor-info"))}function wG(t,n){if(1&t){const e=nt();T(0,"app-labeled-element-text",51),Me("labelEdited",function(){return Ie(e),Oe(W(6).forceDataRefresh())}),k()}if(2&t){const e=W(2).$implicit,i=W(4);Ln("id",e.dmsgServerPk),D("short",!0)("elementType",i.labeledElementTypes.DmsgServer)}}function CG(t,n){if(1&t&&(T(0,"td"),U(1,wG,1,3,"app-labeled-element-text",50),k()),2&t){const e=W().$implicit;d(1),D("ngIf",e.dmsgServerPk)}}const YE=function(t){return{time:t}};function SG(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W(2).$implicit;d(1),ye(" ",Vt(2,1,"common.time-in-ms",Ue(4,YE,e.roundTripPing))," ")}}function DG(t,n){if(1&t&&(T(0,"td"),U(1,SG,3,6,"ng-container",24),k()),2&t){const e=W().$implicit;d(1),D("ngIf",e.dmsgServerPk)}}function kG(t,n){1&t&&(T(0,"button",52),Y(1,"translate"),T(2,"mat-icon",42),O(3,"chevron_right"),k()()),2&t&&(D("matTooltip",B(1,2,"nodes.view-node")),d(2),D("inline",!0))}function TG(t,n){if(1&t){const e=nt();T(0,"button",46),Me("click",function(s){Ie(e);const o=W().$implicit,a=W(4);return s.stopPropagation(),s.preventDefault(),Oe(a.deleteNode(o))}),Y(1,"translate"),T(2,"mat-icon"),O(3,"close"),k()()}2&t&&D("matTooltip",B(1,1,"nodes.delete-node"))}const xG=function(t,n){return{"click-effect":t,"non-selectable":n}},HE=function(t){return["/nodes",t]};function LG(t,n){if(1&t){const e=nt();T(0,"a",43)(1,"td"),U(2,MG,3,4,"mat-icon",44),k(),T(3,"td"),De(4,"span",45),Y(5,"translate"),k(),T(6,"td"),O(7),k(),T(8,"td"),O(9),k(),U(10,CG,2,1,"td",24),U(11,DG,2,1,"td",24),T(12,"td",40)(13,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.copyToClipboard(a))}),Y(14,"translate"),T(15,"mat-icon",42),O(16,"filter_none"),k()(),T(17,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.showEditLabelDialog(a))}),Y(18,"translate"),T(19,"mat-icon",42),O(20,"short_text"),k()(),U(21,kG,4,4,"button",47),U(22,TG,4,3,"button",48),k()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",hn(22,xG,e.online,!e.online))("routerLink",e.online?Ue(25,HE,e.localPk):null),d(2),D("ngIf",e.isHypervisor),d(2),fs(i.nodeStatusClass(e,!0)),D("matTooltip",B(5,16,i.nodeStatusText(e,!0))),d(3),ye(" ",e.label," "),d(2),ye(" ",e.localPk," "),d(1),D("ngIf",i.showDmsgInfo),d(1),D("ngIf",i.showDmsgInfo),d(2),D("matTooltip",B(14,18,i.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),d(2),D("inline",!0),d(2),D("matTooltip",B(18,20,"labeled-element.edit-label")),d(2),D("inline",!0),d(2),D("ngIf",e.online),d(1),D("ngIf",!e.online)}}function EG(t,n){if(1&t){const e=nt();T(0,"table",32)(1,"tr")(2,"th",33),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.hypervisorSortData))}),Y(3,"translate"),T(4,"mat-icon",34),O(5,"star_outline"),k(),U(6,hG,2,2,"mat-icon",35),k(),T(7,"th",33),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.stateSortData))}),Y(8,"translate"),De(9,"span",36),U(10,fG,2,2,"mat-icon",35),k(),T(11,"th",37),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.labelSortData))}),O(12),Y(13,"translate"),U(14,pG,2,2,"mat-icon",35),k(),T(15,"th",38),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.keySortData))}),O(16),Y(17,"translate"),U(18,mG,2,2,"mat-icon",35),k(),U(19,vG,4,4,"th",39),U(20,yG,4,4,"th",39),De(21,"th",40),k(),U(22,LG,23,27,"a",41),k()}if(2&t){const e=W(3);d(2),D("matTooltip",B(3,11,"nodes.hypervisor")),d(4),D("ngIf",e.dataSorter.currentSortingColumn===e.hypervisorSortData),d(1),D("matTooltip",B(8,13,"nodes.state-tooltip")),d(3),D("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),d(2),ye(" ",B(13,15,"nodes.label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),d(2),ye(" ",B(17,17,"nodes.key")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),d(1),D("ngIf",e.showDmsgInfo),d(1),D("ngIf",e.showDmsgInfo),d(2),D("ngForOf",e.dataSource)}}function PG(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function IG(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function OG(t,n){1&t&&(T(0,"div",62)(1,"mat-icon",67),O(2,"star"),k(),O(3,"\xa0 "),T(4,"span",68),O(5),Y(6,"translate"),k()()),2&t&&(d(1),D("inline",!0),d(4),pe(B(6,2,"nodes.hypervisor")))}function AG(t,n){if(1&t){const e=nt();T(0,"div",63)(1,"span",9),O(2),Y(3,"translate"),k(),O(4,": "),T(5,"app-labeled-element-text",69),Me("labelEdited",function(){return Ie(e),Oe(W(5).forceDataRefresh())}),k()()}if(2&t){const e=W().$implicit,i=W(4);d(2),pe(B(3,3,"nodes.dmsg-server")),d(3),Ln("id",e.dmsgServerPk),D("elementType",i.labeledElementTypes.DmsgServer)}}function RG(t,n){if(1&t&&(T(0,"div",62)(1,"span",9),O(2),Y(3,"translate"),k(),O(4),Y(5,"translate"),k()),2&t){const e=W().$implicit;d(2),pe(B(3,2,"nodes.ping")),d(2),ye(": ",Vt(5,4,"common.time-in-ms",Ue(7,YE,e.roundTripPing))," ")}}const FG=function(t){return{"selectable click-effect":t}};function NG(t,n){if(1&t){const e=nt();T(0,"a",59)(1,"tr",60)(2,"td",60)(3,"div",55)(4,"div",56),U(5,OG,7,4,"div",61),T(6,"div",62)(7,"span",9),O(8),Y(9,"translate"),k(),O(10,": "),T(11,"span"),O(12),Y(13,"translate"),k()(),T(14,"div",62)(15,"span",9),O(16),Y(17,"translate"),k(),O(18),k(),T(19,"div",63)(20,"span",9),O(21),Y(22,"translate"),k(),O(23),k(),U(24,AG,6,5,"div",64),U(25,RG,6,9,"div",61),k(),De(26,"div",65),T(27,"div",57)(28,"button",66),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),s.preventDefault(),Oe(l.showOptionsDialog(a))}),Y(29,"translate"),T(30,"mat-icon"),O(31),k()()()()()()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",Ue(25,FG,e.online))("routerLink",e.online?Ue(27,HE,e.localPk):null),d(5),D("ngIf",e.isHypervisor),d(3),pe(B(9,15,"nodes.state")),d(3),fs(i.nodeStatusClass(e,!1)+" title"),d(1),pe(B(13,17,i.nodeStatusText(e,!1))),d(4),pe(B(17,19,"nodes.label")),d(2),ye(": ",e.label," "),d(3),pe(B(22,21,"nodes.key")),d(2),ye(": ",e.localPk," "),d(1),D("ngIf",i.showDmsgInfo),d(1),D("ngIf",i.showDmsgInfo),d(3),D("matTooltip",B(29,23,"common.options")),d(3),pe("add")}}function YG(t,n){if(1&t){const e=nt();T(0,"table",53)(1,"tr",54),Me("click",function(){return Ie(e),Oe(W(3).dataSorter.openSortingOrderModal())}),T(2,"td")(3,"div",55)(4,"div",56)(5,"div",9),O(6),Y(7,"translate"),k(),T(8,"div"),O(9),Y(10,"translate"),U(11,PG,3,3,"ng-container",24),U(12,IG,3,3,"ng-container",24),k()(),T(13,"div",57)(14,"mat-icon",42),O(15,"keyboard_arrow_down"),k()()()()(),U(16,NG,32,29,"a",58),k()}if(2&t){const e=W(3);d(6),pe(B(7,6,"tables.sorting-title")),d(3),ye("",B(10,8,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource)}}function HG(t,n){if(1&t&&(T(0,"div",28)(1,"div",29),U(2,EG,23,19,"table",30),U(3,YG,17,10,"table",31),k()()),2&t){const e=W(2);d(2),D("ngIf",e.dataSource.length>0),d(1),D("ngIf",e.dataSource.length>0)}}function VG(t,n){if(1&t&&De(0,"app-paginator",27),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Hn(5,NE):Hn(4,FE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function BG(t,n){1&t&&(T(0,"span",73),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"nodes.empty")))}function jG(t,n){1&t&&(T(0,"span",73),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"nodes.empty-with-filter")))}function UG(t,n){if(1&t&&(T(0,"div",28)(1,"div",70)(2,"mat-icon",71),O(3,"warning"),k(),U(4,BG,3,3,"span",72),U(5,jG,3,3,"span",72),k()()),2&t){const e=W(2);d(2),D("inline",!0),d(2),D("ngIf",0===e.allNodes.length),d(1),D("ngIf",0!==e.allNodes.length)}}const zG=function(t){return{"paginator-icons-fixer":t}};function WG(t,n){if(1&t){const e=nt();T(0,"div",5)(1,"div",6)(2,"app-top-bar",7),Me("refreshRequested",function(){return Ie(e),Oe(W().forceDataRefresh(!0))})("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))}),k()(),T(3,"div",6)(4,"div",8)(5,"div",9),U(6,lG,5,4,"div",10),k(),T(7,"div",11)(8,"div",12),U(9,cG,3,4,"mat-icon",13),U(10,uG,2,1,"mat-icon",14),T(11,"mat-menu",15,16)(13,"div",17),Me("click",function(){return Ie(e),Oe(W().removeOffline())}),O(14),Y(15,"translate"),k()()(),U(16,dG,1,6,"app-paginator",18),k()(),U(17,HG,4,2,"div",19),U(18,VG,1,6,"app-paginator",18),U(19,UG,6,3,"div",19),k()()}if(2&t){const e=W();d(2),D("titleParts",Hn(21,RE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.options),d(2),D("ngClass",Ue(22,zG,e.numberOfPages>1)),d(2),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",e.allNodes&&e.allNodes.length>0),d(1),D("ngIf",e.dataSource.length>0),d(1),D("overlapTrigger",!1),d(2),Ln("disabled",!e.hasOfflineNodes),d(1),ye(" ",B(15,19,"nodes.delete-all-offline")," "),d(2),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0!==e.dataSource.length),d(1),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0===e.dataSource.length)}}let VE=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E,R){this.nodeService=e,this.router=i,this.dialog=s,this.authService=o,this.storageService=a,this.ngZone=l,this.snackbarService=c,this.clipboardService=_,this.translateService=E,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new In(["isHypervisor"],"nodes.hypervisor",Jt.Boolean),this.stateSortData=new In(["online"],"nodes.state",Jt.Boolean),this.labelSortData=new In(["label"],"nodes.label",Jt.Text),this.keySortData=new In(["localPk"],"nodes.key",Jt.Text),this.dmsgServerSortData=new In(["dmsgServerPk"],"nodes.dmsg-server",Jt.Text,["dmsgServerPk_label"]),this.pingSortData=new In(["roundTripPing"],"nodes.ping",Jt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.canLogOut=!0,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:qn.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:qn.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:qn.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=ur,this.updateOptionsMenu(),this.authVerificationSubscription=this.authService.checkLogin().subscribe(X=>{this.canLogOut=X!==To.AuthDisabled,this.updateOptionsMenu()}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);const $=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&($.push(this.dmsgServerSortData),$.push(this.pingSortData)),this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,$,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,R,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(X=>{this.filteredNodes=X,this.hasOfflineNodes=!1,this.filteredNodes.forEach(he=>{he.online||(this.hasOfflineNodes=!0)}),this.dataSorter.setData(this.filteredNodes)}),this.navigationsSubscription=R.paramMap.subscribe(X=>{if(X.has("page")){let he=Number.parseInt(X.get("page"),10);(isNaN(he)||he<1)&&(he=1),this.currentPageInUrl=he,this.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.nodeService.forceNodeListRefresh()})}updateOptionsMenu(){this.options=[],this.options.push({name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}),this.canLogOut&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}ngOnInit(){this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Bm(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))})}ngOnDestroy(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}performAction(e){"logout"===e?this.logout():"updateAll"===e&&this.updateAll()}nodeStatusClass(e,i){return e.online?e.health&&e.health.servicesHealth===io.Unhealthy?i?"dot-yellow blinking":"yellow-text":e.health&&e.health.servicesHealth===io.Healthy?i?"dot-green":"green-text":i?"dot-outline-gray":"":i?"dot-red":"red-text"}nodeStatusText(e,i){return e.online?e.health&&e.health.servicesHealth===io.Healthy?"node.statuses.online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===io.Unhealthy?"node.statuses.partially-online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===io.Connecting?"node.statuses.connecting"+(i?"-tooltip":""):"node.statuses.unknown"+(i?"-tooltip":""):"node.statuses.offline"+(i?"-tooltip":"")}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()}startGettingData(){this.dataSubscription=this.nodeService.updatingNodeList.subscribe(e=>this.updating=e),this.ngZone.runOutsideAngular(()=>{this.dataSubscription.add(this.nodeService.nodeList.subscribe(e=>{this.ngZone.run(()=>{e&&(e.data&&!e.error?(this.allNodes=e.data,this.showDmsgInfo&&this.allNodes.forEach(i=>{i.dmsgServerPk_label=na.getCompleteLabel(this.storageService,this.translateService,i.dmsgServerPk)}),this.dataFilterer.setData(this.allNodes),this.loading=!1,this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=e.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1)):e.error&&(this.errorsUpdating||this.snackbarService.showError(this.loading?"common.loading-error":"nodes.error-load",null,!0,e.error),this.errorsUpdating=!0))})}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){const e=Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(i,i+e)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}logout(){const e=rn.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}updateAll(){if(!this.dataSource||0===this.dataSource.length)return void this.snackbarService.showError("nodes.no-visors-to-update");const e=[],i=[];this.dataSource.forEach(s=>{if(s.online){const o={key:s.localPk,label:s.label,version:s.version,tag:s.buildTag};rn.checkIfTagIsUpdatable(s.buildTag)?e.push(o):i.push(o)}}),BW.openDialog(this.dialog,e,i)}recursivelyUpdateWallets(e,i,s=0){return this.nodeService.update(e[e.length-1]).pipe(Qr(()=>ze(null)),we(o=>(o&&o.updated&&!o.error?this.snackbarService.showDone(this.translateService.instant("nodes.update.done",{name:i[i.length-1]})):(this.snackbarService.showError(this.translateService.instant("nodes.update.update-error",{name:i[i.length-1]})),s+=1),e.pop(),i.pop(),e.length>=1?this.recursivelyUpdateWallets(e,i,s):ze(s))))}showOptionsDialog(e){const i=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&i.push({icon:"filter_none",label:"nodes.copy-dmsg"}),i.push({icon:"short_text",label:"labeled-element.edit-label"}),e.online||i.push({icon:"close",label:"nodes.delete-node"}),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.copySpecificTextToClipboard(e.localPk):this.showDmsgInfo?2===s?this.copySpecificTextToClipboard(e.dmsgServerPk):3===s?this.showEditLabelDialog(e):4===s&&this.deleteNode(e):2===s?this.showEditLabelDialog(e):3===s&&this.deleteNode(e)})}copyToClipboard(e){this.showDmsgInfo?Ur.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(s=>{1===s?this.copySpecificTextToClipboard(e.localPk):2===s&&this.copySpecificTextToClipboard(e.dmsgServerPk)}):this.copySpecificTextToClipboard(e.localPk)}copySpecificTextToClipboard(e){this.clipboardService.copy(e)&&this.snackbarService.showDone("copy.copied")}showEditLabelDialog(e){let i=this.storageService.getLabelInfo(e.localPk);i||(i={id:e.localPk,label:"",identifiedElementType:ur.Node}),U0.openDialog(this.dialog,i).afterClosed().subscribe(s=>{s&&this.forceDataRefresh()})}deleteNode(e){const i=rn.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.setLocalNodesAsHidden([e.localPk],[e.ip]),this.forceDataRefresh(),this.snackbarService.showDone("nodes.deleted")})}removeOffline(){let e="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="nodes.delete-all-filtered-offline-confirmation");const i=rn.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close();const s=[],o=[];this.filteredNodes.forEach(a=>{a.online||(s.push(a.localPk),o.push(a.ip))}),s.length>0&&(this.storageService.setLocalNodesAsHidden(s,o),this.forceDataRefresh(),1===s.length?this.snackbarService.showDone("nodes.deleted-singular"):this.snackbarService.showDone("nodes.deleted-plural",{number:s.length}))})}}return t.\u0275fac=function(e){return new(e||t)(N(pu),N(Ut),N(Gn),N(xh),N(Xi),N(mt),N(Vn),N(Rh),N(Hr),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable","link-row",3,"ngClass","routerLink"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"selectable","click-effect",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[1,"link-row",3,"ngClass","routerLink"],[1,"d-block"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(U(0,rG,4,5,"div",0),U(1,WG,20,24,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Wn,Fi,Ot,Wa,kr,Cn,vi,vu,ia,bu,ko,yu,Hl,na,kt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}.non-selectable[_ngcontent-%COMP%]{cursor:not-allowed}"]}),t})();const $G=["terminal"],GG=["dialogContent"];let qG=(()=>{class t{constructor(e,i,s,o,a){this.data=e,this.dialogRef=i,this.renderer=s,this.apiService=o,this.translate=a,this.history=[],this.historyIndex=0,this.currentInputText=""}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngAfterViewInit(){this.terminal=new Terminal(null),this.terminal.setWidth("100%"),this.terminal.setBackgroundColor("black"),this.terminal.setTextSize("15px"),this.terminal.blinkingCursor(!0),this.renderer.appendChild(this.terminalElement.nativeElement,this.terminal.html),this.waitForInput()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}keyEvent(e){this.terminal.hasFocus()&&this.history.length>0&&(38===e.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===e.keyCode&&(this.historyIndex=this.historyIndex{this.history.push(e),this.historyIndex=this.history.length,this.currentInputText="",this.subscription=this.apiService.post(`/visors/${this.data.pk}/exec`,{command:e}).subscribe(i=>{this.printLines(i.output?i.output:this.translate.instant("actions.terminal.error")),this.printLines(" "),this.waitForInput()},i=>{i=an(i),this.printLines(i.originalServerErrorMsg&&"string"==typeof i.originalServerErrorMsg?i.type===xl.Unknown?i.originalServerErrorMsg:this.translate.instant(i.translatableErrorMsg):this.translate.instant("actions.terminal.error")),this.printLines(" "),this.waitForInput()})})}printLines(e){let i=e.replace(//g,">"),i=i.replace(/\n/g,"
"),i=i.replace(/\t/g," "),i=i.replace(/ /g," "),this.terminal.print(i),setTimeout(()=>{this.dialogContentElement.nativeElement.scrollTop=this.dialogContentElement.nativeElement.scrollHeight})}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(po),N(Ga),N(Hr))},t.\u0275cmp=Qe({type:t,selectors:[["app-basic-terminal"]],viewQuery:function(e,i){if(1&e&&(vt($G,5),vt(GG,5)),2&e){let s;at(s=lt())&&(i.terminalElement=s.first),at(s=lt())&&(i.dialogContentElement=s.first)}},hostBindings:function(e,i){1&e&&Me("keyup",function(o){return i.keyEvent(o)},0,Hg)},decls:7,vars:6,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins","dialog"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"mat-dialog-content",1,2),Me("click",function(){return i.focusTerminal()}),T(4,"div",3),De(5,"div",null,4),k()()()),2&e&&D("headline",B(1,4,"actions.terminal.title")+" - "+i.data.label+" ("+i.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)("dialog",i.dialogRef)},dependencies:[h0,bi,kt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),t})();class BE{constructor(n,e){this.canBeUpdated=!1,this.canBeRestarted=!1,this.canOpenTerminal=!1,this.options=[],this.dialog=n.get(Gn),this.router=n.get(Ut),this.snackbarService=n.get(Vn),this.nodeService=n.get(pu),this.storageService=n.get(Xi),this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title",this.updateOptions()}updateOptions(){this.options=[],this.canOpenTerminal&&this.options.push({name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"}),this.options.push({name:"actions.menu.logs",actionName:"logs",icon:"subject"}),this.canBeRestarted&&this.options.push({name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"}),this.canBeUpdated&&this.options.push({name:"actions.menu.update",actionName:"update",icon:"get_app"})}setCurrentNode(n){this.currentNode=n,rn.checkIfTagIsUpdatable(n.buildTag)?(this.canBeUpdated=!0,this.canBeRestarted=!0):(this.canBeUpdated=!1,this.canBeRestarted=!1),this.canOpenTerminal=rn.checkIfTagCanOpenterminal(n.buildTag),this.updateOptions()}setCurrentNodeKey(n){this.currentNodeKey=n}performAction(n,e){"terminal"===n?this.terminal():"update"===n?this.update():"logs"===n?window.open(window.location.origin+"/api/visors/"+e+"/runtime-logs","_blank"):"reboot"===n?this.reboot():null===n&&this.back()}dispose(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()}reboot(){const n=rn.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.showProcessing(),this.rebootSubscription=this.nodeService.reboot(this.currentNodeKey).subscribe(()=>{this.snackbarService.showDone("actions.reboot.done"),n.close()},e=>{e=an(e),n.componentInstance.showDone("confirmation.error-header-text",e.translatableErrorMsg)})})}update(){const n=rn.createConfirmationDialog(this.dialog,"actions.update.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{const e=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(e+"//"+i+"/pty/"+this.currentNodeKey+"?commands=update","_blank","noopener noreferrer"),n.close()})}terminal(){Ur.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(e=>{if(1===e){const i=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+s+"/pty/"+this.currentNodeKey,"_blank","noopener noreferrer")}else 2===e&&qG.openDialog(this.dialog,{pk:this.currentNodeKey,label:this.currentNode?this.currentNode.label:""})})}back(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}function KG(t,n){1&t&&De(0,"app-loading-indicator")}function ZG(t,n){1&t&&(T(0,"div",6)(1,"div")(2,"mat-icon",7),O(3,"error"),k(),O(4),Y(5,"translate"),k()()),2&t&&(d(2),D("inline",!0),d(2),ye(" ",B(5,2,"node.not-found")," "))}function QG(t,n){if(1&t){const e=nt();T(0,"div",2)(1,"div")(2,"app-top-bar",3),Me("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))}),k()(),U(3,KG,1,0,"app-loading-indicator",4),U(4,ZG,6,4,"div",5),k()}if(2&t){const e=W();d(2),D("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("showUpdateButton",!1)("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound)}}function JG(t,n){1&t&&De(0,"app-node-info-content",15),2&t&&D("nodeInfo",W(2).node)}const XG=function(t,n){return{"main-area":t,"full-size-main-area":n}},eq=function(t){return{"d-none":t}};function tq(t,n){if(1&t){const e=nt();T(0,"div",8)(1,"div",9)(2,"app-top-bar",10),Me("optionSelected",function(s){return Ie(e),Oe(W().performAction(s))})("refreshRequested",function(){return Ie(e),Oe(W().forceDataRefresh(!0))}),k()(),T(3,"div",9)(4,"div",11)(5,"div",12),De(6,"router-outlet"),k()(),T(7,"div",13),U(8,JG,1,1,"app-node-info-content",14),k()()()}if(2&t){const e=W();d(2),D("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),d(2),D("ngClass",hn(12,XG,!e.showingInfo&&!e.showingFullList,e.showingInfo||e.showingFullList)),d(3),D("ngClass",Ue(15,eq,e.showingInfo||e.showingFullList)),d(1),D("ngIf",!e.showingInfo&&!e.showingFullList)}}let At=(()=>{class t{constructor(e,i,s,o,a,l,c){this.storageService=e,this.nodeService=i,this.route=s,this.ngZone=o,this.snackbarService=a,this.injector=l,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,t.nodeSubject=new Xs(1),t.currentInstanceInternal=this,this.navigationsSubscription=c.events.subscribe(_=>{_.urlAfterRedirects&&(t.currentNodeKey=this.route.snapshot.params.key,this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.lastUrl=_.urlAfterRedirects,this.updateTabBar(),this.navigationsSubscription.unsubscribe(),this.nodeService.startRequestingSpecificNode(t.currentNodeKey),this.startGettingData())})}static refreshCurrentDisplayedData(){t.currentInstanceInternal&&t.currentInstanceInternal.forceDataRefresh(!1)}static getCurrentNodeKey(){return t.currentNodeKey}static get currentNode(){return t.nodeSubject.asObservable()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Bm(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))})}updateTabBar(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new BE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new BE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);let e="transports";this.lastUrl.includes("/routes")?e="routes":this.lastUrl.includes("/apps-list")&&(e="apps.apps-list"),this.titleParts=["nodes.title","node.title",e+".title"],this.tabsData=[{icon:"view_headline",label:e+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]}performAction(e){this.nodeActionsHelper.performAction(e,t.currentNodeKey)}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()}startGettingData(){this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(e=>this.updating=e),this.ngZone.runOutsideAngular(()=>{this.dataSubscription.add(this.nodeService.specificNode.subscribe(e=>{this.ngZone.run(()=>{if(e)if(e.data&&!e.error)this.node=e.data,t.nodeSubject.next(this.node),this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNode(this.node),this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=e.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1);else if(e.error){if(e.error.originalError&&400===e.error.originalError.status)return void(this.notFound=!0);this.errorsUpdating||this.snackbarService.showError(this.node?"node.error-load":"common.loading-error",null,!0,e.error),this.errorsUpdating=!0}})}))})}ngOnDestroy(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0,this.nodeActionsHelper.dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Xi),N(pu),N(Qi),N(mt),N(Vn),N(Jn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(e,i){1&e&&(U(0,QG,5,8,"div",0),U(1,tq,9,17,"div",1)),2&e&&(D("ngIf",!i.node),d(1),D("ngIf",i.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),t})();function nq(t,n){if(1&t&&(T(0,"mat-option",8),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;Ln("value",e),d(1),ps(" ",e," ",B(2,3,"settings.seconds")," ")}}let iq=(()=>{class t{constructor(e,i,s){this.formBuilder=e,this.storageService=i,this.snackbarService=s,this.timesList=["3","5","10","15","30","60","90","150","300"]}ngOnInit(){this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(e=>{this.storageService.setRefreshTime(e),this.snackbarService.showDone("settings.refresh-rate-confirmation")})}ngOnDestroy(){this.subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(ts),N(Xi),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),O(5," help "),k()(),T(6,"form",4)(7,"mat-form-field",5)(8,"mat-select",6),Y(9,"translate"),U(10,nq,3,5,"mat-option",7),k()()()()()),2&e&&(d(3),D("inline",!0)("matTooltip",B(4,5,"settings.refresh-rate-help")),d(3),D("formGroup",i.form),d(2),D("placeholder",B(9,7,"settings.refresh-rate")),d(2),D("ngForOf",i.timesList))},dependencies:[Fi,mr,fr,pr,ki,er,jr,Cn,vi,Nh,su,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),t})();const rq=["input"],sq=["label"],oq=function(t){return{enterDuration:t}},aq=["*"],lq=new Be("mat-checkbox-default-options",{providedIn:"root",factory:jE});function jE(){return{color:"accent",clickAction:"check-indeterminate"}}let cq=0;const UE=jE(),uq={provide:no,useExisting:sn(()=>Ja),multi:!0};class dq{}const hq=y2(ru(Mh(iu(class{constructor(t){this._elementRef=t}}))));let fq=(()=>{class t extends hq{constructor(e,i,s,o,a,l,c){super(i),this._changeDetectorRef=s,this._ngZone=o,this._animationMode=l,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ft,this.indeterminateChange=new ft,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||UE,this.color=this.defaultColor=this._options.color||UE.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++cq}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=En(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=En(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=En(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=En(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,s=this._getAnimationTargetElement();if(i!==e&&s&&(this._currentAnimationClass&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return t.\u0275fac=function(e){dl()},t.\u0275dir=Je({type:t,viewQuery:function(e,i){if(1&e&&(vt(rq,5),vt(sq,5),vt(Xo,5)),2&e){let s;at(s=lt())&&(i._inputElement=s.first),at(s=lt())&&(i._labelElement=s.first),at(s=lt())&&(i.ripple=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[pt]}),t})(),Ja=(()=>{class t extends fq{constructor(e,i,s,o,a,l,c){super("mat-checkbox-",e,i,o,a,l,c),this._focusMonitor=s,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new dq;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Do),N(mt),Ht("tabindex"),N(Ui,8),N(lq,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(pl("id",i.id),Wt("tabindex",null)("aria-label",null)("aria-labelledby",null),dn("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[on([uq]),pt],ngContentSelectors:aq,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Kr(),T(0,"label",0,1)(2,"span",2)(3,"input",3,4),Me("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),k(),T(5,"span",5),De(6,"span",6),k(),De(7,"span",7),T(8,"span",8),ba(),T(9,"svg",9),De(10,"path",10),k(),function xn(){!function rc(){Tt.lFrame.currentNamespace=null}()}(),De(11,"span",11),k()(),T(12,"span",12,13),Me("cdkObserveContent",function(){return i._onLabelTextChange()}),T(14,"span",14),O(15,"\xa0"),k(),mi(16),k()()),2&e){const s=li(1),o=li(13);Wt("for",i.inputId),d(2),dn("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),d(1),D("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Wt("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),d(2),D("matRippleTrigger",s)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ue(19,oq,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[Xo,qy],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),zE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({}),t})(),_q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Ch,Pn,Rm,zE,Pn,zE]}),t})();const gq=function(t){return{number:t}};let v_=(()=>{class t{constructor(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"a",1),O(2),Y(3,"translate"),T(4,"mat-icon",2),O(5,"chevron_right"),k()()()),2&e&&(d(1),D("routerLink",i.linkParts)("queryParams",i.queryParams),d(1),ye(" ",Vt(3,4,"view-all-link.label",Ue(7,gq,i.numberOfElements))," "),d(2),D("inline",!0))},dependencies:[Wa,Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),t})();function vq(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),T(3,"mat-icon",15),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"labels.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"labels.info")))}function bq(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function yq(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function Mq(t,n){if(1&t&&(T(0,"div",19)(1,"span"),O(2),Y(3,"translate"),k(),U(4,bq,3,3,"ng-container",20),U(5,yq,2,1,"ng-container",20),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function wq(t,n){if(1&t){const e=nt();T(0,"div",16),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,Mq,6,5,"div",17),T(2,"div",18),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function Cq(t,n){if(1&t){const e=nt();T(0,"mat-icon",21),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function Sq(t,n){if(1&t&&(T(0,"mat-icon",22),O(1,"more_horiz"),k()),2&t){W();const e=li(9);D("inline",!0)("matMenuTriggerFor",e)}}const W0=function(){return["/settings","labels"]};function Dq(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Hn(4,W0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function kq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function Tq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function xq(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function Lq(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),O(4),k(),T(5,"td"),O(6),k(),T(7,"td"),O(8),Y(9,"translate"),k(),T(10,"td",29)(11,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).delete(o.id))}),Y(12,"translate"),T(13,"mat-icon",36),O(14,"close"),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.id)),d(2),ye(" ",e.label," "),d(2),ye(" ",e.id," "),d(2),ps(" ",i.getLabelTypeIdentification(e)[0]," - ",B(9,7,i.getLabelTypeIdentification(e)[1])," "),d(3),D("matTooltip",B(12,9,"labels.delete")),d(2),D("inline",!0)}}function Eq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function Pq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function Iq(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",34)(6,"div",42)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",43)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",42)(17,"span",1),O(18),Y(19,"translate"),k(),O(20),Y(21,"translate"),k()(),De(22,"div",44),T(23,"div",35)(24,"button",45),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(25,"translate"),T(26,"mat-icon"),O(27),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.id)),d(4),pe(B(9,10,"labels.label")),d(2),ye(": ",e.label," "),d(3),pe(B(14,12,"labels.id")),d(2),ye(": ",e.id," "),d(3),pe(B(19,14,"labels.type")),d(2),ps(": ",i.getLabelTypeIdentification(e)[0]," - ",B(21,16,i.getLabelTypeIdentification(e)[1])," "),d(4),D("matTooltip",B(25,18,"common.options")),d(3),pe("add")}}function Oq(t,n){if(1&t&&De(0,"app-view-all-link",46),2&t){const e=W(2);D("numberOfElements",e.filteredLabels.length)("linkParts",Hn(3,W0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const Aq=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},Rq=function(t){return{"d-lg-none d-xl-table":t}},Fq=function(t){return{"d-lg-table d-xl-none":t}};function Nq(t,n){if(1&t){const e=nt();T(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),De(4,"th"),T(5,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.labelSortData))}),O(6),Y(7,"translate"),U(8,kq,2,2,"mat-icon",28),k(),T(9,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.idSortData))}),O(10),Y(11,"translate"),U(12,Tq,2,2,"mat-icon",28),k(),T(13,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(14),Y(15,"translate"),U(16,xq,2,2,"mat-icon",28),k(),De(17,"th",29),k(),U(18,Lq,15,11,"tr",30),k(),T(19,"table",31)(20,"tr",32),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),O(25),Y(26,"translate"),k(),T(27,"div"),O(28),Y(29,"translate"),U(30,Eq,3,3,"ng-container",20),U(31,Pq,3,3,"ng-container",20),k()(),T(32,"div",35)(33,"mat-icon",36),O(34,"keyboard_arrow_down"),k()()()()(),U(35,Iq,28,20,"tr",30),k(),U(36,Oq,1,4,"app-view-all-link",37),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(27,Aq,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(30,Rq,e.showShortList_)),d(4),ye(" ",B(7,17,"labels.label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),d(2),ye(" ",B(11,19,"labels.id")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),d(2),ye(" ",B(15,21,"labels.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(32,Fq,e.showShortList_)),d(6),pe(B(26,23,"tables.sorting-title")),d(3),ye("",B(29,25,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function Yq(t,n){1&t&&(T(0,"span",50),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"labels.empty")))}function Hq(t,n){1&t&&(T(0,"span",50),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"labels.empty-with-filter")))}function Vq(t,n){if(1&t&&(T(0,"div",24)(1,"div",47)(2,"mat-icon",48),O(3,"warning"),k(),U(4,Yq,3,3,"span",49),U(5,Hq,3,3,"span",49),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allLabels.length),d(1),D("ngIf",0!==e.allLabels.length)}}function Bq(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Hn(4,W0))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const jq=function(t){return{"paginator-icons-fixer":t}};let WE=(()=>{class t{constructor(e,i,s,o,a,l){this.dialog=e,this.route=i,this.router=s,this.snackbarService=o,this.translateService=a,this.storageService=l,this.listId="ll",this.labelSortData=new In(["label"],"labels.label",Jt.Text),this.idSortData=new In(["id"],"labels.id",Jt.Text),this.typeSortData=new In(["identifiedElementType_sort"],"labels.type",Jt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:qn.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:qn.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:ur.Node,label:"labels.filter-dialog.type-options.visor"},{value:ur.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:ur.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredLabels=_,this.dataSorter.setData(this.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(_=>{if(_.has("page")){let E=Number.parseInt(_.get("page"),10);(isNaN(E)||E<1)&&(E=1),this.currentPageInUrl=E,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredLabels)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}loadData(){this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(e=>{e.identifiedElementType_sort=this.getLabelTypeIdentification(e)[0]}),this.dataFilterer.setData(this.allLabels)}getLabelTypeIdentification(e){return e.identifiedElementType===ur.Node?["1","labels.filter-dialog.type-options.visor"]:e.identifiedElementType===ur.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:e.identifiedElementType===ur.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.close(),this.selections.forEach((i,s)=>{i&&this.storageService.saveLabel(s,"",null)}),this.snackbarService.showDone("labels.deleted"),this.loadData()})}showOptionsDialog(e){Ur.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(s=>{1===s&&this.delete(e.id)})}delete(e){const i=rn.createConfirmationDialog(this.dialog,"labels.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.saveLabel(e,"",null),this.snackbarService.showDone("labels.deleted"),this.loadData()})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredLabels){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(i,i+e);const o=new Map;this.labelsToShow.forEach(l=>{o.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,vq,6,7,"span",2),U(3,wq,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,Cq,3,4,"mat-icon",6),U(7,Sq,2,2,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.deleteSelected()}),O(17),Y(18,"translate"),k()()(),U(19,Dq,1,5,"app-paginator",12),k()(),U(20,Nq,37,34,"div",13),U(21,Vq,6,3,"div",13),U(22,Bq,1,5,"app-paginator",12)),2&e&&(D("ngClass",Ue(20,jq,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allLabels&&i.allLabels.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,14,"selection.select-all")," "),d(3),ye(" ",B(15,16,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,18,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,kt],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})();function Uq(t,n){1&t&&De(0,"app-password")}function zq(t,n){1&t&&(T(0,"div",8),De(1,"mat-spinner",9),O(2),Y(3,"translate"),k()),2&t&&(d(1),D("diameter",11),d(1),ye(" ",B(3,2,"settings.checking-auth")," "))}const Wq=function(){return["start.title"]};let $q=(()=>{class t{constructor(e,i,s,o){this.authService=e,this.router=i,this.snackbarService=s,this.dialog=o,this.tabsData=[],this.options=[],this.waitBeforeShowingLoading=!0,this.authChecked=!1,this.authActive=!1,this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}ngOnInit(){setTimeout(()=>{this.waitBeforeShowingLoading=!1},500),this.checkAuth(0)}checkAuth(e){this.authSubscription=ze(1).pipe(Ji(e),we(()=>this.authService.checkLogin())).subscribe(i=>{this.authChecked=!0,this.authActive=i===To.Logged},()=>{this.checkAuth(15e3)})}ngOnDestroy(){this.authSubscription.unsubscribe()}performAction(e){"logout"===e&&this.logout()}logout(){const e=rn.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}}return t.\u0275fac=function(e){return new(e||t)(N(xh),N(Ut),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-settings"]],decls:8,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[4,"ngIf"],["class","white-theme checking-container",4,"ngIf"],[3,"showShortList"],[1,"white-theme","checking-container"],[3,"diameter"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Me("optionSelected",function(o){return i.performAction(o)}),k()(),T(3,"div",3),De(4,"app-refresh-rate",4),U(5,Uq,1,0,"app-password",5),U(6,zq,4,4,"div",6),De(7,"app-label-list",7),k()()),2&e&&(d(2),D("titleParts",Hn(8,Wq))("tabsData",i.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",i.options),d(3),D("ngIf",i.authChecked&&i.authActive),d(1),D("ngIf",!i.authChecked&&!i.waitBeforeShowingLoading),d(1),D("showShortList",!0))},dependencies:[Ot,Vr,fE,iq,Hl,WE,kt],styles:[".checking-container[_ngcontent-%COMP%]{font-size:10px;opacity:.5}.checking-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block}.show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),t})(),$0=(()=>{class t{constructor(e){this.apiService=e}create(e,i,s){const o={remote_pk:i};return s&&(o.transport_type=s),this.apiService.post(`visors/${e}/transports`,o)}delete(e,i){return this.apiService.delete(`visors/${e}/transports/${i}`)}savePersistentTransportsData(e,i){return this.apiService.put(`visors/${e}/persistent-transports`,i)}getPersistentTransports(e){return this.apiService.get(`visors/${e}/persistent-transports`)}types(e){return this.apiService.get(`visors/${e}/transport-types`)}changeAutoconnectSetting(e,i){const s={};return s.public_autoconnect=i,this.apiService.put(`visors/${e}/public-autoconnect`,s)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Gq=["button"],qq=["firstInput"];function Kq(t,n){1&t&&De(0,"app-loading-indicator",5),2&t&&D("showWhite",!1)}function Zq(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function Qq(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function Jq(t,n){if(1&t&&(T(0,"mat-option",17),O(1),k()),2&t){const e=n.$implicit;D("value",e),d(1),pe(e)}}const b_=function(t){return{"element-disabled":t}};function Xq(t,n){if(1&t){const e=nt();T(0,"form",6)(1,"mat-form-field",7),De(2,"input",8,9),Y(4,"translate"),T(5,"mat-error"),U(6,Zq,3,3,"ng-container",10),k(),U(7,Qq,2,3,"ng-template",null,11,Oa),k(),T(9,"mat-form-field",7),De(10,"input",12),Y(11,"translate"),k(),T(12,"mat-form-field",7)(13,"mat-select",13),Y(14,"translate"),U(15,Jq,2,2,"mat-option",14),k(),T(16,"mat-error"),O(17),Y(18,"translate"),k()(),T(19,"mat-checkbox",15),Me("change",function(s){return Ie(e),Oe(W().setMakePersistent(s))}),O(20),Y(21,"translate"),T(22,"mat-icon",16),Y(23,"translate"),O(24,"help"),k()()()}if(2&t){const e=li(8),i=W();D("formGroup",i.form),d(1),D("ngClass",Ue(28,b_,i.disableDismiss)),d(1),D("placeholder",B(4,16,"transports.dialog.remote-key")),d(4),D("ngIf",!i.form.get("remoteKey").hasError("pattern"))("ngIfElse",e),d(3),D("ngClass",Ue(30,b_,i.disableDismiss)),d(1),D("placeholder",B(11,18,"transports.dialog.label")),d(2),D("ngClass",Ue(32,b_,i.disableDismiss)),d(1),D("placeholder",B(14,20,"transports.dialog.transport-type")),d(2),D("ngForOf",i.types),d(2),ye(" ",B(18,22,"transports.dialog.errors.transport-type-error")," "),d(2),D("checked",i.makePersistent)("ngClass",Ue(34,b_,i.disableDismiss)),d(1),ye(" ",B(21,24,"transports.dialog.make-persistent")," "),d(2),D("inline",!0)("matTooltip",B(23,26,"transports.dialog.persistent-tooltip"))}}let eK=(()=>{class t{constructor(e,i,s,o,a,l){this.transportService=e,this.formBuilder=i,this.dialogRef=s,this.snackbarService=o,this.storageService=a,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.mediumModalWidth,e.open(t,i)}ngOnInit(){this.form=this.formBuilder.group({remoteKey:["",yn.compose([yn.required,yn.minLength(66),yn.maxLength(66),yn.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",yn.required]}),this.loadData(0)}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setMakePersistent(e){this.makePersistent=!!e.checked}create(){if(!this.form.valid||this.button.disabled)return;this.button.showLoading();const e=this.form.get("remoteKey").value,i=this.form.get("type").value,s=this.form.get("label").value;if(this.makePersistent){const o=this.transportService.getPersistentTransports(At.getCurrentNodeKey());this.operationSubscription=o.subscribe(a=>{const l=a||[];let c=!1;l.forEach(_=>{_.pk.toUpperCase()===e.toUpperCase()&&_.type.toUpperCase()===i.toUpperCase()&&(c=!0)}),c?this.createTransport(e,i,s,!0):this.createPersistent(l,e,i,s)},a=>{this.onError(a)})}else this.createTransport(e,i,s,!1)}createPersistent(e,i,s,o){e.push({pk:i,type:s}),this.operationSubscription=this.transportService.savePersistentTransportsData(At.getCurrentNodeKey(),e).subscribe(()=>{this.createTransport(i,s,o,!0)},a=>{this.onError(a)})}createTransport(e,i,s,o){this.operationSubscription=this.transportService.create(At.getCurrentNodeKey(),e,i).subscribe(a=>{let l=!1;s&&(a&&a.id?this.storageService.saveLabel(a.id,s,ur.Transport):l=!0),At.refreshCurrentDisplayedData(),this.dialogRef.close(),l?this.snackbarService.showWarning("transports.dialog.success-without-label"):this.snackbarService.showDone("transports.dialog.success")},a=>{o?(At.refreshCurrentDisplayedData(),this.dialogRef.close(),this.snackbarService.showWarning("transports.dialog.only-persistent-created")):this.onError(a)})}onError(e){this.button.showError(),e=an(e),this.snackbarService.showError(e)}loadData(e){this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=ze(1).pipe(Ji(e),we(()=>this.transportService.types(At.getCurrentNodeKey()))).subscribe(i=>{i.sort((o,a)=>"stcp"===o.toLowerCase()?1:"stcp"===a.toLowerCase()?-1:o.localeCompare(a));let s=i.findIndex(o=>"dmsg"===o.toLowerCase());s=-1!==s?s:0,this.types=i,this.form.get("type").setValue(i[s]),this.snackbarService.closeCurrentIfTemporaryError(),setTimeout(()=>this.firstInput.nativeElement.focus())},i=>{i=an(i),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,i),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N($0),N(ts),N(ei),N(Vn),N(Xi),N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-create-transport"]],viewQuery:function(e,i){if(1&e&&(vt(Gq,5),vt(qq,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:8,vars:11,consts:[[3,"headline","dialog","disableDismiss"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],[3,"ngClass"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),U(2,Kq,1,1,"app-loading-indicator",1),U(3,Xq,25,36,"form",2),T(4,"app-button",3,4),Me("action",function(){return i.create()}),O(6),Y(7,"translate"),k()()),2&e&&(D("headline",B(1,7,"transports.create"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(2),D("ngIf",!i.types),d(1),D("ngIf",i.types),d(1),D("disabled",!i.form.valid),d(2),ye(" ",B(7,9,"transports.create")," "))},dependencies:[Wn,Fi,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Nh,su,Ja,Tr,bi,ko,kt]}),t})();function tK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),T(3,"mat-icon",6),Y(4,"translate"),O(5,"help"),k(),Ke()),2&t&&(d(1),ye(" ",B(2,3,"common.yes")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"transports.persistent-transport-tooltip")))}function nK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.no")))}let iK=(()=>{class t{constructor(e,i){this.data=e,this.dialogRef=i}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei))},t.\u0275cmp=Qe({type:t,selectors:[["app-transport-details"]],decls:51,vars:45,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div")(3,"div",1)(4,"mat-icon",2),O(5,"list"),k(),O(6),Y(7,"translate"),k(),T(8,"div",3)(9,"span"),O(10),Y(11,"translate"),k(),U(12,tK,6,7,"ng-container",4),U(13,nK,3,3,"ng-container",4),k(),T(14,"div",3)(15,"span"),O(16),Y(17,"translate"),k(),O(18),k(),T(19,"div",3)(20,"span"),O(21),Y(22,"translate"),k(),O(23),k(),T(24,"div",3)(25,"span"),O(26),Y(27,"translate"),k(),O(28),k(),T(29,"div",3)(30,"span"),O(31),Y(32,"translate"),k(),O(33),k(),T(34,"div",5)(35,"mat-icon",2),O(36,"import_export"),k(),O(37),Y(38,"translate"),k(),T(39,"div",3)(40,"span"),O(41),Y(42,"translate"),k(),O(43),Y(44,"autoScale"),k(),T(45,"div",3)(46,"span"),O(47),Y(48,"translate"),k(),O(49),Y(50,"autoScale"),k()()()),2&e&&(D("headline",B(1,21,"transports.details.title"))("dialog",i.dialogRef),d(4),D("inline",!0),d(2),ye("",B(7,23,"transports.details.basic.title")," "),d(4),pe(B(11,25,"transports.details.basic.persistent")),d(2),D("ngIf",i.data.isPersistent),d(1),D("ngIf",!i.data.isPersistent),d(3),pe(B(17,27,"transports.details.basic.id")),d(2),ye(" ",i.data.id," "),d(3),pe(B(22,29,"transports.details.basic.local-pk")),d(2),ye(" ",i.data.localPk," "),d(3),pe(B(27,31,"transports.details.basic.remote-pk")),d(2),ye(" ",i.data.remotePk," "),d(3),pe(B(32,33,"transports.details.basic.type")),d(2),ye(" ",i.data.type," "),d(2),D("inline",!0),d(2),ye("",B(38,35,"transports.details.data.title")," "),d(4),pe(B(42,37,"transports.details.data.uploaded")),d(2),ye(" ",B(44,39,i.data.sent)," "),d(4),pe(B(48,41,"transports.details.data.downloaded")),d(2),ye(" ",B(50,43,i.data.recv)," "))},dependencies:[Ot,Cn,vi,bi,kt,Vh],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),t})();function rK(t,n){1&t&&(T(0,"span",15),O(1),Y(2,"translate"),T(3,"mat-icon",16),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"transports.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"transports.info")))}function sK(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function oK(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function aK(t,n){if(1&t&&(T(0,"div",20)(1,"span"),O(2),Y(3,"translate"),k(),U(4,sK,3,3,"ng-container",21),U(5,oK,2,1,"ng-container",21),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function lK(t,n){if(1&t){const e=nt();T(0,"div",17),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,aK,6,5,"div",18),T(2,"div",19),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function cK(t,n){if(1&t){const e=nt();T(0,"mat-icon",22),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),O(1,"filter_list"),k()}2&t&&D("inline",!0)}function uK(t,n){if(1&t&&(T(0,"mat-icon",23),O(1,"more_horiz"),k()),2&t){W();const e=li(11);D("inline",!0)("matMenuTriggerFor",e)}}const G0=function(t){return["/nodes",t,"transports"]};function dK(t,n){if(1&t&&De(0,"app-paginator",24),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,G0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function hK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function fK(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function pK(t,n){if(1&t&&(qe(0),T(1,"mat-icon",39),O(2),k(),U(3,fK,2,0,"ng-container",21),Ke()),2&t){const e=W(2);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function mK(t,n){1&t&&(qe(0),O(1,"*"),Ke())}function _K(t,n){if(1&t&&(qe(0),T(1,"mat-icon",39),O(2),k(),U(3,mK,2,0,"ng-container",21),Ke()),2&t){const e=W(2);d(1),D("inline",!0),d(1),pe(e.dataSorter.sortingArrow),d(1),D("ngIf",e.dataSorter.currentlySortingByLabel)}}function gK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function vK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function bK(t,n){if(1&t&&(T(0,"mat-icon",39),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function yK(t,n){if(1&t){const e=nt();T(0,"button",48),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).changeIfPersistent([s],!1))}),Y(1,"translate"),T(2,"mat-icon",49),O(3,"star"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.persistent-transport-button-tooltip")),d(2),D("inline",!0))}function MK(t,n){if(1&t){const e=nt();T(0,"button",48),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).changeIfPersistent([s],!0))}),Y(1,"translate"),T(2,"mat-icon",50),O(3,"star_outline"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.non-persistent-transport-button-tooltip")),d(2),D("inline",!0))}function wK(t,n){1&t&&(T(0,"span"),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function CK(t,n){if(1&t){const e=nt();T(0,"td")(1,"app-labeled-element-text",51),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k(),U(2,wK,3,3,"span",21),k()}if(2&t){const e=W().$implicit,i=W(2);d(1),Ln("id",e.id),D("short",!0)("elementType",i.labeledElementTypes.Transport),d(1),D("ngIf",e.notFound)}}function SK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function DK(t,n){if(1&t&&(T(0,"td"),O(1),Y(2,"autoScale"),k()),2&t){const e=W().$implicit;d(1),ye(" ",B(2,1,e.sent)," ")}}function kK(t,n){if(1&t&&(T(0,"td"),O(1),Y(2,"autoScale"),k()),2&t){const e=W().$implicit;d(1),ye(" ",B(2,1,e.recv)," ")}}function TK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function xK(t,n){1&t&&(T(0,"td"),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"transports.offline")," "))}function LK(t,n){if(1&t){const e=nt();T(0,"button",52),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).details(s))}),Y(1,"translate"),T(2,"mat-icon",39),O(3,"visibility"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.details.title")),d(2),D("inline",!0))}function EK(t,n){if(1&t){const e=nt();T(0,"button",52),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).delete(s))}),Y(1,"translate"),T(2,"mat-icon",39),O(3,"close"),k()()}2&t&&(D("matTooltip",B(1,2,"transports.delete")),d(2),D("inline",!0))}const $E=function(t){return{offline:t}};function PK(t,n){if(1&t){const e=nt();T(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),U(4,yK,4,4,"button",45),U(5,MK,4,4,"button",45),k(),U(6,CK,3,4,"td",21),U(7,SK,3,3,"td",21),T(8,"td")(9,"app-labeled-element-text",46),Me("labelEdited",function(){return Ie(e),Oe(W(2).refreshData())}),k()(),T(10,"td"),O(11),k(),U(12,DK,3,3,"td",21),U(13,kK,3,3,"td",21),U(14,TK,3,3,"td",21),U(15,xK,3,3,"td",21),T(16,"td",32),U(17,LK,4,4,"button",47),U(18,EK,4,4,"button",47),k()()}if(2&t){const e=n.$implicit,i=W(2);D("ngClass",Ue(15,$E,e.notFound)),d(2),D("checked",i.selections.get(e.id)),d(2),D("ngIf",e.isPersistent),d(1),D("ngIf",!e.isPersistent),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(2),Ln("id",e.remotePk),D("short",!0),d(2),ye(" ",e.type," "),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(1),D("ngIf",e.notFound),d(2),D("ngIf",!e.notFound),d(1),D("ngIf",!e.notFound)}}function IK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function OK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function AK(t,n){1&t&&(T(0,"div",59)(1,"div",59)(2,"mat-icon",62),O(3,"star"),k(),O(4,"\xa0 "),T(5,"span",63),O(6),Y(7,"translate"),k()()()),2&t&&(d(2),D("inline",!0),d(4),pe(B(7,2,"transports.persistent")))}function RK(t,n){if(1&t){const e=nt();T(0,"app-labeled-element-text",64),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()}if(2&t){const e=W().$implicit,i=W(2);Ln("id",e.id),D("elementType",i.labeledElementTypes.Transport)}}function FK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function NK(t,n){if(1&t&&(qe(0),O(1),Y(2,"autoScale"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.sent))}}function YK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function HK(t,n){if(1&t&&(qe(0),O(1),Y(2,"autoScale"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.recv))}}function VK(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"transports.offline")))}function BK(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",37),U(6,AK,8,4,"div",55),T(7,"div",56)(8,"span",1),O(9),Y(10,"translate"),k(),O(11,": "),U(12,RK,1,2,"app-labeled-element-text",57),U(13,FK,3,3,"ng-container",21),k(),T(14,"div",56)(15,"span",1),O(16),Y(17,"translate"),k(),O(18,": "),T(19,"app-labeled-element-text",58),Me("labelEdited",function(){return Ie(e),Oe(W(2).refreshData())}),k()(),T(20,"div",59)(21,"span",1),O(22),Y(23,"translate"),k(),O(24),k(),T(25,"div",59)(26,"span",1),O(27),Y(28,"translate"),k(),O(29,": "),U(30,NK,3,3,"ng-container",21),U(31,YK,3,3,"ng-container",21),k(),T(32,"div",59)(33,"span",1),O(34),Y(35,"translate"),k(),O(36,": "),U(37,HK,3,3,"ng-container",21),U(38,VK,3,3,"ng-container",21),k()(),De(39,"div",60),T(40,"div",38)(41,"button",61),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(42,"translate"),T(43,"mat-icon"),O(44),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("ngClass",Ue(30,$E,e.notFound)),d(2),D("checked",i.selections.get(e.id)),d(2),D("ngIf",e.isPersistent),d(3),pe(B(10,18,"transports.id")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),pe(B(17,20,"transports.remote-node")),d(3),Ln("id",e.remotePk),d(3),pe(B(23,22,"transports.type")),d(2),ye(": ",e.type," "),d(3),pe(B(28,24,"common.uploaded")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),pe(B(35,26,"common.downloaded")),d(3),D("ngIf",!e.notFound),d(1),D("ngIf",e.notFound),d(3),D("matTooltip",B(42,28,"common.options")),d(3),pe("add")}}function jK(t,n){if(1&t&&De(0,"app-view-all-link",65),2&t){const e=W(2);D("numberOfElements",e.filteredTransports.length)("linkParts",Ue(3,G0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const UK=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},zK=function(t){return{"d-lg-none d-xl-table":t}},WK=function(t){return{"d-lg-table d-xl-none":t}};function $K(t,n){if(1&t){const e=nt();T(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),De(4,"th"),T(5,"th",28),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.persistentSortData))}),Y(6,"translate"),T(7,"mat-icon",29),O(8,"star_outline"),k(),U(9,hK,2,2,"mat-icon",30),k(),T(10,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.idSortData))}),O(11),Y(12,"translate"),U(13,pK,4,3,"ng-container",21),k(),T(14,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.remotePkSortData))}),O(15),Y(16,"translate"),U(17,_K,4,3,"ng-container",21),k(),T(18,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(19),Y(20,"translate"),U(21,gK,2,2,"mat-icon",30),k(),T(22,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.uploadedSortData))}),O(23),Y(24,"translate"),U(25,vK,2,2,"mat-icon",30),k(),T(26,"th",31),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.downloadedSortData))}),O(27),Y(28,"translate"),U(29,bK,2,2,"mat-icon",30),k(),De(30,"th",32),k(),U(31,PK,19,17,"tr",33),k(),T(32,"table",34)(33,"tr",35),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),O(38),Y(39,"translate"),k(),T(40,"div"),O(41),Y(42,"translate"),U(43,IK,3,3,"ng-container",21),U(44,OK,3,3,"ng-container",21),k()(),T(45,"div",38)(46,"mat-icon",39),O(47,"keyboard_arrow_down"),k()()()()(),U(48,BK,45,32,"tr",40),k(),U(49,jK,1,5,"app-view-all-link",41),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(39,UK,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(42,zK,e.showShortList_)),d(3),D("matTooltip",B(6,23,"transports.persistent-tooltip")),d(4),D("ngIf",e.dataSorter.currentSortingColumn===e.persistentSortData),d(2),ye(" ",B(12,25,"transports.id")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),d(2),ye(" ",B(16,27,"transports.remote-node")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.remotePkSortData),d(2),ye(" ",B(20,29,"transports.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),ye(" ",B(24,31,"common.uploaded")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.uploadedSortData),d(2),ye(" ",B(28,33,"common.downloaded")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.downloadedSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(44,WK,e.showShortList_)),d(6),pe(B(39,35,"tables.sorting-title")),d(3),ye("",B(42,37,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function GK(t,n){1&t&&(T(0,"span",69),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.empty")))}function qK(t,n){1&t&&(T(0,"span",69),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"transports.empty-with-filter")))}function KK(t,n){if(1&t&&(T(0,"div",25)(1,"div",66)(2,"mat-icon",67),O(3,"warning"),k(),U(4,GK,3,3,"span",68),U(5,qK,3,3,"span",68),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allTransports.length),d(1),D("ngIf",0!==e.allTransports.length)}}function ZK(t,n){if(1&t&&De(0,"app-paginator",24),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,G0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const QK=function(t){return{"paginator-icons-fixer":t}};let GE=(()=>{class t{constructor(e,i,s,o,a,l,c,_){this.dialog=e,this.transportService=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.nodeService=_,this.listId="tr",this.persistentSortData=new In(["isPersistent"],"transports.persistent",Jt.Boolean),this.idSortData=new In(["id"],"transports.id",Jt.Text,["id_label"]),this.remotePkSortData=new In(["remotePk"],"transports.remote-node",Jt.Text,["remote_pk_label"]),this.typeSortData=new In(["type"],"transports.type",Jt.Text),this.uploadedSortData=new In(["sent"],"common.uploaded",Jt.NumberReversed),this.downloadedSortData=new In(["recv"],"common.downloaded",Jt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:qn.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:qn.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:qn.TextInput,maxlength:66}],this.labeledElementTypes=ur,this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(R=>{this.filteredTransports=R,this.dataSorter.setData(this.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(R=>{if(R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.node=this.currentNode})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredTransports)}set node(e){this.currentNode=e,this.allTransports=e.transports,this.nodePK=e.localPk;const i=new Map;e.persistentTransports.forEach(s=>i.set(this.getPersistentTransportID(s.pk,s.type),s)),this.allTransports.forEach(s=>{i.has(this.getPersistentTransportID(s.remotePk,s.type))?(s.isPersistent=!0,i.delete(this.getPersistentTransportID(s.remotePk,s.type))):s.isPersistent=!1}),i.forEach((s,o)=>{this.allTransports.push({id:this.getPersistentTransportID(s.pk,s.type),localPk:e.localPk,remotePk:s.pk,type:s.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(s=>{s.id_label=na.getCompleteLabel(this.storageService,this.translateService,s.id),s.remote_pk_label=na.getCompleteLabel(this.storageService,this.translateService,s.remotePk)}),this.dataFilterer.setData(this.allTransports)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((s,o)=>{s&&i.push(o)}),this.deleteRecursively(i,e)})}create(){eK.openDialog(this.dialog)}showOptionsDialog(e){const i=[];i.push(e.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),e.notFound||(i.push({icon:"visibility",label:"transports.details.title"}),i.push({icon:"close",label:"transports.delete"})),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.changeIfPersistent([e],!e.isPersistent):2===s?this.details(e):3===s&&this.delete(e)})}changeIfPersistentOfSelected(e){const i=[];this.allTransports.forEach(s=>{this.selections.has(s.id)&&this.selections.get(s.id)&&i.push(s)}),this.changeIfPersistent(i,e)}changeIfPersistent(e,i){if(e.length<1)return;let s="transports.";s+=1===e.length?i?"make-persistent-confirmation":"make"+(e[0].notFound?"-offline":"")+"-non-persistent-confirmation":i?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation";const o=rn.createConfirmationDialog(this.dialog,s);o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.persistentTransportSubscription=this.transportService.getPersistentTransports(this.nodePK).subscribe(a=>{const l=a||[];let c=!1;const _=new Map;if(e.forEach(E=>_.set(this.getPersistentTransportID(E.remotePk,E.type),E)),i)l.forEach(E=>{_.has(this.getPersistentTransportID(E.pk,E.type))&&_.delete(this.getPersistentTransportID(E.pk,E.type))}),c=0===_.size,c||_.forEach(E=>{l.push({pk:E.remotePk,type:E.type})});else{c=!0;for(let E=0;E{o.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.changes-made")},E=>{E=an(E),o.componentInstance.showDone("confirmation.error-header-text",E.translatableErrorMsg)})},a=>{a=an(a),o.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}details(e){iK.openDialog(this.dialog,e)}delete(e){const s=rn.createConfirmationDialog(this.dialog,"transports.delete-"+(e.isPersistent?"persistent-":"")+"confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e.id).subscribe(()=>{s.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")},o=>{o=an(o),s.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))})}refreshData(){At.refreshCurrentDisplayedData()}getPersistentTransportID(e,i){return e.toUpperCase()+i.toUpperCase()}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredTransports){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(i,i+e);const o=new Map;this.transportsToShow.forEach(l=>{o.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}startDeleting(e){return this.transportService.delete(At.getCurrentNodeKey(),e)}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")):this.deleteRecursively(e,i)},s=>{At.refreshCurrentDisplayedData(),s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N($0),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi),N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,rK,6,7,"span",2),U(3,lK,5,4,"div",3),k(),T(4,"div",4)(5,"div",5)(6,"mat-icon",6),Me("click",function(){return i.create()}),O(7,"add"),k(),U(8,cK,2,1,"mat-icon",7),U(9,uK,2,2,"mat-icon",8),T(10,"mat-menu",9,10)(12,"div",11),Me("click",function(){return i.changeAllSelections(!0)}),O(13),Y(14,"translate"),k(),T(15,"div",11),Me("click",function(){return i.changeAllSelections(!1)}),O(16),Y(17,"translate"),k(),T(18,"div",12),Me("click",function(){return i.changeIfPersistentOfSelected(!0)}),O(19),Y(20,"translate"),k(),T(21,"div",12),Me("click",function(){return i.changeIfPersistentOfSelected(!1)}),O(22),Y(23,"translate"),k(),T(24,"div",12),Me("click",function(){return i.deleteSelected()}),O(25),Y(26,"translate"),k()()(),U(27,dK,1,6,"app-paginator",13),k()(),U(28,$K,50,46,"div",14),U(29,KK,6,3,"div",14),U(30,ZK,1,6,"app-paginator",13)),2&e&&(D("ngClass",Ue(29,QK,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("inline",!0),d(2),D("ngIf",i.allTransports&&i.allTransports.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(14,19,"selection.select-all")," "),d(3),ye(" ",B(17,21,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(20,23,"transports.make-selected-persistent")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(23,25,"transports.make-selected-non-persistent")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(26,27,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,na,kt,Vh],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),t})();function JK(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"settings"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.app")," "))}function XK(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"swap_horiz"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.forward")," "))}function eZ(t,n){1&t&&(T(0,"div",5)(1,"mat-icon",2),O(2,"arrow_forward"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye("",B(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function tZ(t,n){if(1&t&&(T(0,"div")(1,"div",3)(2,"span"),O(3),Y(4,"translate"),k(),O(5),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k()()),2&t){const e=W(2);d(3),pe(B(4,5,"routes.details.specific-fields.route-id")),d(2),ye(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),d(3),pe(B(9,7,"routes.details.specific-fields.transport-id")),d(2),ps(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function nZ(t,n){if(1&t&&(T(0,"div")(1,"div",3)(2,"span"),O(3),Y(4,"translate"),k(),O(5),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",3)(12,"span"),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",3)(17,"span"),O(18),Y(19,"translate"),k(),O(20),k()()),2&t){const e=W(2);d(3),pe(B(4,10,"routes.details.specific-fields.destination-pk")),d(2),ps(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),d(3),pe(B(9,12,"routes.details.specific-fields.source-pk")),d(2),ps(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),d(3),pe(B(14,14,"routes.details.specific-fields.destination-port")),d(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),d(3),pe(B(19,16,"routes.details.specific-fields.source-port")),d(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function iZ(t,n){if(1&t&&(T(0,"div")(1,"div",5)(2,"mat-icon",2),O(3,"list"),k(),O(4),Y(5,"translate"),k(),T(6,"div",3)(7,"span"),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",3)(12,"span"),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",3)(17,"span"),O(18),Y(19,"translate"),k(),O(20),k(),U(21,JK,5,4,"div",6),U(22,XK,5,4,"div",6),U(23,eZ,5,4,"div",6),U(24,tZ,11,9,"div",4),U(25,nZ,21,18,"div",4),k()),2&t){const e=W();d(2),D("inline",!0),d(2),ye("",B(5,13,"routes.details.summary.title")," "),d(4),pe(B(9,15,"routes.details.summary.keep-alive")),d(2),ye(" ",e.routeRule.ruleSummary.keepAlive," "),d(3),pe(B(14,17,"routes.details.summary.type")),d(2),ye(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),d(3),pe(B(19,19,"routes.details.summary.key-route-id")),d(2),ye(" ",e.routeRule.ruleSummary.keyRouteId," "),d(1),D("ngIf",e.routeRule.appFields),d(1),D("ngIf",e.routeRule.forwardFields),d(1),D("ngIf",e.routeRule.intermediaryForwardFields),d(1),D("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),d(1),D("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}let rZ=(()=>{class t{constructor(e,i,s){this.dialogRef=i,this.storageService=s,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}getRuleTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):e.toString()}closePopup(){this.dialogRef.close()}getLabel(e){const i=this.storageService.getLabelInfo(e);return i?" ("+i.label+")":""}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-route-details"]],decls:19,vars:17,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div")(3,"div",1)(4,"mat-icon",2),O(5,"list"),k(),O(6),Y(7,"translate"),k(),T(8,"div",3)(9,"span"),O(10),Y(11,"translate"),k(),O(12),k(),T(13,"div",3)(14,"span"),O(15),Y(16,"translate"),k(),O(17),k(),U(18,iZ,26,21,"div",4),k()()),2&e&&(D("headline",B(1,9,"routes.details.title"))("dialog",i.dialogRef),d(4),D("inline",!0),d(2),ye("",B(7,11,"routes.details.basic.title")," "),d(4),pe(B(11,13,"routes.details.basic.key")),d(2),ye(" ",i.routeRule.key," "),d(3),pe(B(16,15,"routes.details.basic.rule")),d(2),ye(" ",i.routeRule.rule," "),d(1),D("ngIf",i.routeRule.ruleSummary))},dependencies:[Ot,Cn,bi,kt]}),t})(),qE=(()=>{class t{constructor(e){this.apiService=e}get(e,i){return this.apiService.get(`visors/${e}/routes/${i}`)}delete(e,i){return this.apiService.delete(`visors/${e}/routes/${i}`)}setMinHops(e,i){return this.apiService.post(`visors/${e}/min-hops`,{min_hops:i})}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ga))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sZ(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),T(3,"mat-icon",15),Y(4,"translate"),O(5,"help"),k()()),2&t&&(d(1),ye(" ",B(2,3,"routes.title")," "),d(2),D("inline",!0)("matTooltip",B(4,5,"routes.info")))}function oZ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function aZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function lZ(t,n){if(1&t&&(T(0,"div",19)(1,"span"),O(2),Y(3,"translate"),k(),U(4,oZ,3,3,"ng-container",20),U(5,aZ,2,1,"ng-container",20),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function cZ(t,n){if(1&t){const e=nt();T(0,"div",16),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,lZ,6,5,"div",17),T(2,"div",18),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function uZ(t,n){if(1&t){const e=nt();T(0,"mat-icon",21),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function dZ(t,n){1&t&&(T(0,"mat-icon",22),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(9)))}const q0=function(t){return["/nodes",t,"routes"]};function hZ(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function fZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function pZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function mZ(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function _Z(t,n){if(1&t&&(T(0,"mat-icon",36),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function gZ(t,n){if(1&t){const e=nt();qe(0),T(1,"td")(2,"app-labeled-element-text",41),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),T(3,"td")(4,"app-labeled-element-text",41),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(2),Ln("id",e.src),D("short",!0)("elementType",i.labeledElementTypes.Node),d(2),Ln("id",e.dst),D("short",!0)("elementType",i.labeledElementTypes.Node)}}function vZ(t,n){if(1&t){const e=nt();qe(0),T(1,"td"),O(2,"---"),k(),T(3,"td")(4,"app-labeled-element-text",42),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(4),Ln("id",e.dst),D("short",!0)("elementType",i.labeledElementTypes.Transport)}}function bZ(t,n){1&t&&(qe(0),T(1,"td"),O(2,"---"),k(),T(3,"td"),O(4,"---"),k(),Ke())}function yZ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),O(4),k(),T(5,"td"),O(6),k(),U(7,gZ,5,6,"ng-container",20),U(8,vZ,5,3,"ng-container",20),U(9,bZ,5,0,"ng-container",20),T(10,"td",29)(11,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).details(o))}),Y(12,"translate"),T(13,"mat-icon",36),O(14,"visibility"),k()(),T(15,"button",40),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).delete(o.key))}),Y(16,"translate"),T(17,"mat-icon",36),O(18,"close"),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.key)),d(2),ye(" ",e.key," "),d(2),ye(" ",i.getTypeName(e.type)," "),d(1),D("ngIf",e.appFields||e.forwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),d(2),D("matTooltip",B(12,10,"routes.details.title")),d(2),D("inline",!0),d(2),D("matTooltip",B(16,12,"routes.delete")),d(2),D("inline",!0)}}function MZ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function wZ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function CZ(t,n){if(1&t){const e=nt();qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": "),T(6,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),T(7,"div",44)(8,"span",1),O(9),Y(10,"translate"),k(),O(11,": "),T(12,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(3),pe(B(4,6,"routes.source")),d(3),Ln("id",e.src),D("elementType",i.labeledElementTypes.Node),d(3),pe(B(10,8,"routes.destination")),d(3),Ln("id",e.dst),D("elementType",i.labeledElementTypes.Node)}}function SZ(t,n){if(1&t){const e=nt();qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": --- "),k(),T(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10,": "),T(11,"app-labeled-element-text",47),Me("labelEdited",function(){return Ie(e),Oe(W(3).refreshData())}),k()(),Ke()}if(2&t){const e=W().$implicit,i=W(2);d(3),pe(B(4,4,"routes.source")),d(5),pe(B(9,6,"routes.destination")),d(3),Ln("id",e.dst),D("elementType",i.labeledElementTypes.Transport)}}function DZ(t,n){1&t&&(qe(0),T(1,"div",44)(2,"span",1),O(3),Y(4,"translate"),k(),O(5,": --- "),k(),T(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10,": --- "),k(),Ke()),2&t&&(d(3),pe(B(4,2,"routes.source")),d(5),pe(B(9,4,"routes.destination")))}function kZ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",34)(6,"div",44)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",44)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),U(16,CZ,13,10,"ng-container",20),U(17,SZ,12,8,"ng-container",20),U(18,DZ,11,6,"ng-container",20),k(),De(19,"div",45),T(20,"div",35)(21,"button",46),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(22,"translate"),T(23,"mat-icon"),O(24),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.key)),d(4),pe(B(9,10,"routes.key")),d(2),ye(": ",e.key," "),d(3),pe(B(14,12,"routes.type")),d(2),ye(": ",i.getTypeName(e.type)," "),d(1),D("ngIf",e.appFields||e.forwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),d(1),D("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),d(3),D("matTooltip",B(22,14,"common.options")),d(3),pe("add")}}function TZ(t,n){if(1&t&&De(0,"app-view-all-link",48),2&t){const e=W(2);D("numberOfElements",e.filteredRoutes.length)("linkParts",Ue(3,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const xZ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},LZ=function(t){return{"d-lg-none d-xl-table":t}},EZ=function(t){return{"d-lg-table d-xl-none":t}};function PZ(t,n){if(1&t){const e=nt();T(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),De(4,"th"),T(5,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.keySortData))}),O(6),Y(7,"translate"),U(8,fZ,2,2,"mat-icon",28),k(),T(9,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.typeSortData))}),O(10),Y(11,"translate"),U(12,pZ,2,2,"mat-icon",28),k(),T(13,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.sourceSortData))}),O(14),Y(15,"translate"),U(16,mZ,2,2,"mat-icon",28),k(),T(17,"th",27),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.destinationSortData))}),O(18),Y(19,"translate"),U(20,_Z,2,2,"mat-icon",28),k(),De(21,"th",29),k(),U(22,yZ,19,14,"tr",30),k(),T(23,"table",31)(24,"tr",32),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),O(29),Y(30,"translate"),k(),T(31,"div"),O(32),Y(33,"translate"),U(34,MZ,3,3,"ng-container",20),U(35,wZ,3,3,"ng-container",20),k()(),T(36,"div",35)(37,"mat-icon",36),O(38,"keyboard_arrow_down"),k()()()()(),U(39,kZ,25,16,"tr",30),k(),U(40,TZ,1,5,"app-view-all-link",37),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(31,xZ,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(34,LZ,e.showShortList_)),d(4),ye(" ",B(7,19,"routes.key")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),d(2),ye(" ",B(11,21,"routes.type")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),d(2),ye(" ",B(15,23,"routes.source")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.sourceSortData),d(2),ye(" ",B(19,25,"routes.destination")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.destinationSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(36,EZ,e.showShortList_)),d(6),pe(B(30,27,"tables.sorting-title")),d(3),ye("",B(33,29,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function IZ(t,n){1&t&&(T(0,"span",52),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"routes.empty")))}function OZ(t,n){1&t&&(T(0,"span",52),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"routes.empty-with-filter")))}function AZ(t,n){if(1&t&&(T(0,"div",24)(1,"div",49)(2,"mat-icon",50),O(3,"warning"),k(),U(4,IZ,3,3,"span",51),U(5,OZ,3,3,"span",51),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allRoutes.length),d(1),D("ngIf",0!==e.allRoutes.length)}}function RZ(t,n){if(1&t&&De(0,"app-paginator",23),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,q0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const FZ=function(t){return{"paginator-icons-fixer":t}};let KE=(()=>{class t{constructor(e,i,s,o,a,l,c){this.routeService=e,this.dialog=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.listId="rl",this.keySortData=new In(["key"],"routes.key",Jt.Number),this.typeSortData=new In(["type"],"routes.type",Jt.Number),this.sourceSortData=new In(["src"],"routes.source",Jt.Text,["src_label"]),this.destinationSortData=new In(["dst"],"routes.destination",Jt.Text,["dst_label"]),this.labeledElementTypes=ur,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:qn.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:qn.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:qn.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()});const E={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:qn.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach((R,$)=>{E.printableLabelsForValues.push({value:$+"",label:R})}),this.filterProperties=[E].concat(this.filterProperties),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(R=>{this.filteredRoutes=R,this.dataSorter.setData(this.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(R=>{if(R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredRoutes)}set routes(e){this.allRoutes=e,this.allRoutes.forEach(i=>{if(i.type=i.ruleSummary.ruleType||0===i.ruleSummary.ruleType?i.ruleSummary.ruleType:"",i.appFields||i.forwardFields){const s=i.appFields?i.appFields.routeDescriptor:i.forwardFields.routeDescriptor;i.src=s.srcPk,i.src_label=na.getCompleteLabel(this.storageService,this.translateService,i.src),i.dst=s.dstPk,i.dst_label=na.getCompleteLabel(this.storageService,this.translateService,i.dst)}else i.intermediaryForwardFields?(i.src="",i.src_label="",i.dst=i.intermediaryForwardFields.nextTid,i.dst_label=na.getCompleteLabel(this.storageService,this.translateService,i.dst)):(i.src="",i.src_label="",i.dst="",i.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}refreshData(){At.refreshCurrentDisplayedData()}getTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):"Unknown"}changeSelection(e){this.selections.get(e.key)?this.selections.set(e.key,!1):this.selections.set(e.key,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}deleteSelected(){const e=rn.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((s,o)=>{s&&i.push(o)}),this.deleteRecursively(i,e)})}showOptionsDialog(e){Ur.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(s=>{1===s?this.details(e):2===s&&this.delete(e.key)})}details(e){rZ.openDialog(this.dialog,e)}delete(e){const i=rn.createConfirmationDialog(this.dialog,"routes.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e).subscribe(()=>{i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")},s=>{s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(i,i+e);const o=new Map;this.routesToShow.forEach(l=>{o.set(l.key,!0),this.selections.has(l.key)||this.selections.set(l.key,!1)});const a=[];this.selections.forEach((l,c)=>{o.has(c)||a.push(c)}),a.forEach(l=>{this.selections.delete(l)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}startDeleting(e){return this.routeService.delete(At.getCurrentNodeKey(),e.toString())}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")):this.deleteRecursively(e,i)},s=>{At.refreshCurrentDisplayedData(),s=an(s),i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(qE),N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,sZ,6,7,"span",2),U(3,cZ,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,uZ,3,4,"mat-icon",6),U(7,dZ,2,1,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.deleteSelected()}),O(17),Y(18,"translate"),k()()(),U(19,hZ,1,6,"app-paginator",12),k()(),U(20,PZ,41,38,"div",13),U(21,AZ,6,3,"div",13),U(22,RZ,1,6,"app-paginator",12)),2&e&&(D("ngClass",Ue(20,FZ,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allRoutes&&i.allRoutes.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,14,"selection.select-all")," "),d(3),ye(" ",B(15,16,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,18,"selection.delete-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,na,kt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})(),NZ=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.node=e,this.routes=e.routes})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&De(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(D("node",i.node)("showShortList",!0),d(1),D("routes",i.routes)("showShortList",!0)("nodePK",i.nodePK))},dependencies:[GE,KE]}),t})();function YZ(t,n){if(1&t&&(T(0,"mat-option",4),O(1),Y(2,"translate"),k()),2&t){const e=n.$implicit;D("value",e.days),d(1),pe(B(2,2,e.text))}}let HZ=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe(e=>{this.dialogRef.close(this.filters.find(i=>i.days===e))})}ngOnDestroy(){this.formSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-log-filter"]],decls:7,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field")(4,"mat-select",2),Y(5,"translate"),U(6,YZ,3,4,"mat-option",3),k()()()()),2&e&&(D("headline",B(1,5,"apps.log.filter.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(5,7,"apps.log.filter.filter")),d(2),D("ngForOf",i.filters))},dependencies:[Fi,mr,fr,pr,ki,er,jr,Nh,su,bi,kt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),t})();const VZ=["content"];function BZ(t,n){if(1&t&&(T(0,"div",8)(1,"span",3),O(2),k(),O(3),k()),2&t){const e=n.$implicit;d(2),ye(" ",e.time," "),d(1),ye(" ",e.msg," ")}}function jZ(t,n){1&t&&(T(0,"div",9),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"apps.log.empty")," "))}function UZ(t,n){1&t&&De(0,"app-loading-indicator",10),2&t&&D("showWhite",!1)}let zZ=(()=>{class t{constructor(e,i,s,o,a){this.data=e,this.dialogRef=i,this.appsService=s,this.dialog=o,this.snackbarService=a,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngOnInit(){this.loadData(0)}ngOnDestroy(){this.removeSubscription()}filter(){HZ.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(e=>{e&&(this.currentFilter=e,this.logMessages=[],this.loadData(0))})}loadData(e){this.removeSubscription(),this.loading=!0,this.subscription=ze(1).pipe(Ji(e),we(()=>this.appsService.getLogMessages(At.getCurrentNodeKey(),this.data.name,this.currentFilter.days))).subscribe(i=>this.onLogsReceived(i),i=>this.onLogsError(i))}removeSubscription(){this.subscription&&this.subscription.unsubscribe()}onLogsReceived(e=[]){this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),e.forEach(i=>{const s=i.startsWith("[")?0:-1,o=-1!==s?i.indexOf("]"):-1;this.logMessages.push(-1!==s&&-1!==o?{time:i.substr(s,o+1),msg:i.substr(o+1)}:{time:"",msg:i})}),setTimeout(()=>{this.content.nativeElement.scrollTop=this.content.nativeElement.scrollHeight})}onLogsError(e){e=an(e),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,e),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Mu),N(Gn),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-log"]],viewQuery:function(e,i){if(1&e&&vt(VZ,5),2&e){let s;at(s=lt())&&(i.content=s.first)}},decls:16,vars:15,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea","dialog"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1)(3,"div",2),Me("click",function(){return i.filter()}),T(4,"span",3),O(5),Y(6,"translate"),k(),O(7,"\xa0 "),T(8,"span"),O(9),Y(10,"translate"),k()()(),T(11,"mat-dialog-content",null,4),U(13,BZ,4,2,"div",5),U(14,jZ,3,3,"div",6),U(15,UZ,1,1,"app-loading-indicator",7),k()()),2&e&&(D("headline",B(1,9,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1)("dialog",i.dialogRef),d(5),pe(B(6,11,"apps.log.filter-button")),d(4),pe(B(10,13,i.currentFilter.text)),d(4),D("ngForOf",i.logMessages),d(1),D("ngIf",!(i.loading||i.logMessages&&0!==i.logMessages.length)),d(1),D("ngIf",i.loading))},dependencies:[Fi,Ot,h0,bi,ko,kt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#215f9e80}"]}),t})();const WZ=["button"],$Z=["firstInput"],y_=function(t){return{"element-disabled":t}};function GZ(t,n){if(1&t&&(T(0,"mat-form-field",2),De(1,"input",10),Y(2,"translate"),k()),2&t){const e=W();D("ngClass",Ue(4,y_,e.disableDismiss)),d(1),D("placeholder",B(2,2,"apps.vpn-socks-server-settings.netifc"))}}function qZ(t,n){if(1&t){const e=nt();T(0,"div",11)(1,"mat-checkbox",12),Me("change",function(s){return Ie(e),Oe(W().setSecureMode(s))}),O(2),Y(3,"translate"),T(4,"mat-icon",13),Y(5,"translate"),O(6,"help"),k()()()}if(2&t){const e=W();d(1),D("checked",e.secureMode)("ngClass",Ue(9,y_,e.disableDismiss)),d(1),ye(" ",B(3,5,"apps.vpn-socks-server-settings.secure-mode-check")," "),d(2),D("inline",!0)("matTooltip",B(5,7,"apps.vpn-socks-server-settings.secure-mode-info"))}}let KZ=(()=>{class t{constructor(e,i,s,o,a,l){this.data=e,this.appsService=i,this.formBuilder=s,this.dialogRef=o,this.snackbarService=a,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(()=>{this.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(let e=0;ethis.firstInput.nativeElement.focus())}ngOnDestroy(){this.formSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setSecureMode(e){this.button.disabled||(this.secureMode=!!e.checked)}saveChanges(){if(!this.form.valid||this.button.disabled)return;const e=this.form.get("password").value?"apps.vpn-socks-server-settings.change-passowrd-confirmation":"apps.vpn-socks-server-settings.remove-passowrd-confirmation",i=rn.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.continueSavingChanges()})}continueSavingChanges(){this.button.showLoading();const e={passcode:this.form.get("password").value};this.configuringVpn&&(e.secure=this.secureMode,e.netifc=this.form.get("netifc").value),this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,e).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(){At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-server-settings.changes-made"),this.dialogRef.close()}onError(e){this.button.showError(),e=an(e),this.snackbarService.showError(e)}validatePasswords(){return this.form&&this.form.get("password").value!==this.form.get("passwordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(Mu),N(ts),N(ei),N(Vn),N(Gn))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-settings"]],viewQuery:function(e,i){if(1&e&&(vt(WZ,5),vt($Z,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:20,vars:27,consts:[[3,"headline","dialog","disableDismiss"],[3,"formGroup"],[3,"ngClass"],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["id","passwordConfirmation","type","password","formControlName","passwordConfirmation","maxlength","100","matInput","",3,"placeholder"],[3,"ngClass",4,"ngIf"],["class","main-theme settings-option",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["id","netifc","type","text","formControlName","netifc","matInput","",3,"placeholder"],[1,"main-theme","settings-option"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field",2),De(4,"input",3,4),Y(6,"translate"),k(),T(7,"mat-form-field",2),De(8,"input",5,4),Y(10,"translate"),T(11,"mat-error"),O(12),Y(13,"translate"),k()(),U(14,GZ,3,6,"mat-form-field",6),U(15,qZ,7,11,"div",7),k(),T(16,"app-button",8,9),Me("action",function(){return i.saveChanges()}),O(18),Y(19,"translate"),k()()),2&e&&(D("headline",B(1,13,"apps.vpn-socks-server-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(2),D("formGroup",i.form),d(1),D("ngClass",Ue(23,y_,i.disableDismiss)),d(1),D("placeholder",B(6,15,"apps.vpn-socks-server-settings.new-password")),d(3),D("ngClass",Ue(25,y_,i.disableDismiss)),d(1),D("placeholder",B(10,17,"apps.vpn-socks-server-settings.repeat-password")),d(4),ye(" ",B(13,19,"apps.vpn-socks-server-settings.passwords-not-match")," "),d(2),D("ngIf",i.configuringVpn),d(1),D("ngIf",i.configuringVpn),d(1),D("disabled",!i.form.valid),d(2),ye(" ",B(19,21,"apps.vpn-socks-server-settings.save")," "))},dependencies:[Wn,Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Cn,vi,Ja,Tr,bi,kt]}),t})();const ZZ=["firstInput"];let QZ=(()=>{class t{constructor(e,i,s){this.dialogRef=e,this.data=i,this.formBuilder=s}static openDialog(e,i){const s=new $n;return s.data=i||"",s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({note:[this.data]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("note").value.trim();this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-edit-skysocks-client-note"]],viewQuery:function(e,i){if(1&e&&vt(ZZ,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:10,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),k()(),T(7,"app-button",4),Me("action",function(){return i.finish()}),O(8),Y(9,"translate"),k()()),2&e&&(D("headline",B(1,5,"apps.vpn-socks-client-settings.change-note-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,7,"apps.vpn-socks-client-settings.change-note-dialog.note")),d(4),pe(B(9,9,"common.save")))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt]}),t})();const sa={AF:"Afghanistan",AX:"Aland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, Democratic Republic",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea (North)",KR:"Korea (South)",XK:"Kosovo",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libyan Arab Jamahiriya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory, Occupied",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",ME:"Montenegro",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"Unknown"};function JZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit,i=W(2);d(1),pe(i.completeCountriesList[e.toUpperCase()])}}function XZ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.toUpperCase())}}function eQ(t,n){if(1&t&&(T(0,"mat-option",8)(1,"div",10),De(2,"div"),k(),U(3,JZ,2,1,"ng-container",2),U(4,XZ,2,1,"ng-container",2),k()),2&t){const e=n.$implicit,i=W(2);D("value",e.toUpperCase()),d(2),oi("background-image: url('assets/img/flags/"+e.toLocaleLowerCase()+".png');"),d(1),D("ngIf",i.completeCountriesList[e.toUpperCase()]),d(1),D("ngIf",!i.completeCountriesList[e.toUpperCase()])}}function tQ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.filter-dialog.any-country")," "))}function nQ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.completeCountriesList[e.form.get("country").value])}}function iQ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.form.get("country").value)}}function rQ(t,n){if(1&t&&(qe(0),T(1,"div",10),De(2,"div"),k(),U(3,nQ,2,1,"ng-container",2),U(4,iQ,2,1,"ng-container",2),Ke()),2&t){const e=W(2);d(2),oi("background-image: url('assets/img/flags/"+e.form.get("country").value.toLocaleLowerCase()+".png');"),d(1),D("ngIf",e.completeCountriesList[e.form.get("country").value]),d(1),D("ngIf",!e.completeCountriesList[e.form.get("country").value])}}function sQ(t,n){if(1&t&&(T(0,"mat-form-field")(1,"mat-select",7),Y(2,"translate"),T(3,"mat-option",8),O(4),Y(5,"translate"),k(),U(6,eQ,5,5,"mat-option",9),T(7,"mat-select-trigger"),U(8,tQ,3,3,"ng-container",2),U(9,rQ,5,4,"ng-container",2),k()()()),2&t){const e=W();d(1),D("placeholder",B(2,6,"apps.vpn-socks-client-settings.filter-dialog.country")),d(2),D("value","-"),d(1),pe(B(5,8,"apps.vpn-socks-client-settings.filter-dialog.any-country")),d(2),D("ngForOf",e.data.availableCountries),d(2),D("ngIf","-"===e.form.get("country").value),d(1),D("ngIf","-"!==e.form.get("country").value)}}class ZE{constructor(){this.country="",this.location="",this.key=""}}let oQ=(()=>{class t{constructor(e,i,s){this.data=e,this.dialogRef=i,this.formBuilder=s,this.completeCountriesList=sa}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({country:[this.data.currentFilters.country?this.data.currentFilters.country:"-"],"location-text":[this.data.currentFilters.location],"key-text":[this.data.currentFilters.key]})}apply(){const e=new ZE;let i=this.form.get("country").value.trim();"-"===i&&(i=""),e.country=i,e.location=this.form.get("location-text").value.trim(),e.key=this.form.get("key-text").value.trim(),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-filter"]],decls:14,vars:15,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngIf"],["formControlName","location-text","maxlength","100","matInput","",3,"placeholder"],["formControlName","key-text","maxlength","66","matInput","",3,"placeholder"],["type","mat-raised-button","color","primary",1,"float-right",3,"action"],["button",""],["formControlName","country","id","country",3,"placeholder"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"flag-container"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1),U(3,sQ,10,10,"mat-form-field",2),T(4,"mat-form-field"),De(5,"input",3),Y(6,"translate"),k(),T(7,"mat-form-field"),De(8,"input",4),Y(9,"translate"),k()(),T(10,"app-button",5,6),Me("action",function(){return i.apply()}),O(12),Y(13,"translate"),k()()),2&e&&(D("headline",B(1,7,"apps.vpn-socks-client-settings.filter-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(1),D("ngIf",i.data.availableCountries.length>0),d(2),D("placeholder",B(6,9,"apps.vpn-socks-client-settings.filter-dialog.location")),d(3),D("placeholder",B(9,11,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),d(4),ye(" ",B(13,13,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},dependencies:[Fi,Ot,mr,dr,fr,pr,es,ki,er,jr,vs,Nh,TW,su,Tr,bi,kt]}),t})();const aQ=["firstInput"];let lQ=(()=>{class t{constructor(e,i){this.dialogRef=e,this.formBuilder=i}static openDialog(e){const i=new $n;return i.autoFocus=!1,i.width=Kt.smallModalWidth,e.open(t,i)}ngOnInit(){this.form=this.formBuilder.group({password:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("password").value;this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N(ts))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,i){if(1&e&&vt(aQ,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:13,vars:14,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"div",2),O(4),Y(5,"translate"),k(),T(6,"mat-form-field"),De(7,"input",3,4),Y(9,"translate"),k()(),T(10,"app-button",5),Me("action",function(){return i.finish()}),O(11),Y(12,"translate"),k()()),2&e&&(D("headline",B(1,6,"apps.vpn-socks-client-settings.password-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),pe(B(5,8,"apps.vpn-socks-client-settings.password-dialog.info")),d(3),D("placeholder",B(9,10,"apps.vpn-socks-client-settings.password-dialog.password")),d(4),ye(" ",B(12,12,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},dependencies:[mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),t})(),cQ=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}getServices(e){const i=[];return this.http.get(this.discoveryServiceUrl+(e?"proxy":"vpn")).pipe(Hh(s=>s.pipe(Ji(4e3))),Xe(s=>(s.forEach(o=>{const a=new Vz,l=o.address.split(":");2===l.length&&(a.address=o.address,a.pk=l[0],a.port=l[1],a.location="",o.geo&&(o.geo.country&&(a.country=o.geo.country,a.location+=sa[o.geo.country.toUpperCase()]?sa[o.geo.country.toUpperCase()]:o.geo.country),o.geo.region&&o.geo.country&&(a.location+=", "),o.geo.region&&(a.region=o.geo.region,a.location+=a.region)),i.push(a))}),i)))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function uQ(t,n){1&t&&mi(0)}const QE=["*"];function dQ(t,n){}const hQ=function(t){return{animationDuration:t}},fQ=function(t,n){return{value:t,params:n}},pQ=["tabListContainer"],mQ=["tabList"],_Q=["tabListInner"],gQ=["nextPaginator"],vQ=["previousPaginator"],bQ=["tabBodyWrapper"],yQ=["tabHeader"];function MQ(t,n){}function wQ(t,n){1&t&&U(0,MQ,0,0,"ng-template",10),2&t&&D("cdkPortalOutlet",W().$implicit.templateLabel)}function CQ(t,n){1&t&&O(0),2&t&&pe(W().$implicit.textLabel)}function SQ(t,n){if(1&t){const e=nt();T(0,"div",6),Me("click",function(){const s=Ie(e),o=s.$implicit,a=s.index,l=W(),c=li(1);return Oe(l._handleClick(o,c,a))})("cdkFocusChange",function(s){const a=Ie(e).index;return Oe(W()._tabFocusChanged(s,a))}),T(1,"div",7),U(2,wQ,1,1,"ng-template",8),U(3,CQ,1,1,"ng-template",null,9,Oa),k()()}if(2&t){const e=n.$implicit,i=n.index,s=li(4),o=W();dn("mat-tab-label-active",o.selectedIndex===i),D("id",o._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||o.disableRipple),Wt("tabIndex",o._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),d(2),D("ngIf",e.templateLabel)("ngIfElse",s)}}function DQ(t,n){if(1&t){const e=nt();T(0,"mat-tab-body",11),Me("_onCentered",function(){return Ie(e),Oe(W()._removeTabBodyWrapperHeight())})("_onCentering",function(s){return Ie(e),Oe(W()._setTabBodyWrapperHeight(s))}),k()}if(2&t){const e=n.$implicit,i=n.index,s=W();dn("mat-tab-body-active",s.selectedIndex===i),D("id",s._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",s.animationDuration)("preserveContent",s.preserveContent),Wt("tabindex",null!=s.contentTabIndex&&s.selectedIndex===i?s.contentTabIndex:null)("aria-labelledby",s._getTabLabelId(i))}}const kQ=new Be("MatInkBarPositioner",{providedIn:"root",factory:function TQ(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let JE=(()=>{class t{constructor(e,i,s,o){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=s,this._animationMode=o}alignToElement(e){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe(An(1)).subscribe(()=>{const i=this._inkBarPositioner(e),s=this._elementRef.nativeElement;s.style.left=i.left,s.style.width=i.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(mt),N(kQ),N(Ui,8))},t.\u0275dir=Je({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&dn("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const xQ=new Be("MatTabContent"),LQ=new Be("MatTabLabel"),EQ=new Be("MAT_TAB"),PQ=iu(class{}),XE=new Be("MAT_TAB_GROUP");let eP=(()=>{class t extends PQ{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new J,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new eu(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(N(ar),N(XE,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,s){if(1&e&&(gi(s,LQ,5),gi(s,xQ,7,Ar)),2&e){let o;at(o=lt())&&(i.templateLabel=o.first),at(o=lt())&&(i._explicitContent=o.first)}},viewQuery:function(e,i){if(1&e&&vt(Ar,7),2&e){let s;at(s=lt())&&(i._implicitContent=s.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[on([{provide:EQ,useExisting:t}]),pt,Ii],ngContentSelectors:QE,decls:1,vars:0,template:function(e,i){1&e&&(Kr(),U(0,uQ,1,0,"ng-template"))},encapsulation:2}),t})();const IQ={translateTab:Ko("translateTab",[Nr("center, void, left-origin-center, right-origin-center",bn({transform:"none"})),Nr("left",bn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Nr("right",bn({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Sr("* => left, * => right, left => center, right => center",Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Sr("void => left-origin-center",[bn({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Sr("void => right-origin-center",[bn({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Fr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let OQ=(()=>{class t extends $a{constructor(e,i,s,o){super(e,i,o),this._host=s,this._centeringSub=x.EMPTY,this._leavingSub=x.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Yr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(xa),N(ar),N(sn(()=>tP)),N(Ct))},t.\u0275dir=Je({type:t,selectors:[["","matTabBodyHost",""]],features:[pt]}),t})(),AQ=(()=>{class t{constructor(e,i,s){this._elementRef=e,this._dir=i,this._dirChangeSubscription=x.EMPTY,this._translateTabComplete=new J,this._onCentering=new ft,this._beforeCentering=new ft,this._afterLeavingCenter=new ft,this._onCentered=new ft(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),s.markForCheck()})),this._translateTabComplete.pipe(Gy((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(gs,8),N(Xn))},t.\u0275dir=Je({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),tP=(()=>{class t extends AQ{constructor(e,i,s){super(e,i,s)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(gs,8),N(Xn))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&vt($a,5),2&e){let s;at(s=lt())&&(i._portalHost=s.first)}},hostAttrs:[1,"mat-tab-body"],features:[pt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(T(0,"div",0,1),Me("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),U(2,dQ,0,0,"ng-template",2),k()),2&e&&D("@translateTab",hn(3,fQ,i._position,Ue(1,hQ,i.animationDuration)))},dependencies:[OQ],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[IQ.translateTab]}}),t})();const nP=new Be("MAT_TABS_CONFIG"),RQ=iu(class{});let iP=(()=>{class t extends RQ{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(N(bt))},t.\u0275dir=Je({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Wt("aria-disabled",!!i.disabled),dn("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[pt]}),t})();const rP=Ll({passive:!0});let YQ=(()=>{class t{constructor(e,i,s,o,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=s,this._dir=o,this._ngZone=a,this._platform=l,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new J,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new J,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ft,this.indexFocused=new ft,a.runOutsideAngular(()=>{Jc(e.nativeElement,"mouseleave").pipe(fn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=En(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=eo(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Jc(this._previousPaginator.nativeElement,"touchstart",rP).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Jc(this._nextPaginator.nativeElement,"touchstart",rP).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ze("ltr"),i=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Wx(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(An(1)).subscribe(s),Yt(e,i,this._items.changes,this._itemsResized()).pipe(fn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),s()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(fn(this._destroyed)).subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?Ba:this._items.changes.pipe(Yr(this._items),lr(e=>new ce(i=>this._ngZone.runOutsideAngular(()=>{const s=new ResizeObserver(()=>{i.next()});return e.forEach(o=>{s.observe(o.elementRef.nativeElement)}),()=>{s.disconnect()}}))),$y(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!So(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let l,c;"ltr"==this._getLayoutDirection()?(l=o,c=l+a):(c=this._tabListInner.nativeElement.offsetWidth-o,l=c-a);const _=this.scrollDistance,E=this.scrollDistance+s;l<_?this.scrollDistance-=_-l+60:c>E&&(this.scrollDistance+=c-E+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Bm(650,100).pipe(fn(Yt(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:o}=this._scrollHeader(e);(0===o||o>=s)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),HQ=(()=>{class t extends YQ{constructor(e,i,s,o,a,l,c){super(e,i,s,o,a,l,c),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=En(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{disableRipple:"disableRipple"},features:[pt]}),t})(),VQ=(()=>{class t extends HQ{constructor(e,i,s,o,a,l,c){super(e,i,s,o,a,l,c)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(Il),N(gs,8),N(mt),N(Di),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,s){if(1&e&&gi(s,iP,4),2&e){let o;at(o=lt())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(vt(JE,7),vt(pQ,7),vt(mQ,7),vt(_Q,7),vt(gQ,5),vt(vQ,5)),2&e){let s;at(s=lt())&&(i._inkBar=s.first),at(s=lt())&&(i._tabListContainer=s.first),at(s=lt())&&(i._tabList=s.first),at(s=lt())&&(i._tabListInner=s.first),at(s=lt())&&(i._nextPaginator=s.first),at(s=lt())&&(i._previousPaginator=s.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&dn("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[pt],ngContentSelectors:QE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Kr(),T(0,"button",0,1),Me("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),De(2,"div",2),k(),T(3,"div",3,4),Me("keydown",function(o){return i._handleKeydown(o)}),T(5,"div",5,6),Me("cdkObserveContent",function(){return i._onContentChanges()}),T(7,"div",7,8),mi(9),k(),De(10,"mat-ink-bar"),k()(),T(11,"button",9,10),Me("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),De(13,"div",2),k()),2&e&&(dn("mat-tab-header-pagination-disabled",i._disableScrollBefore),D("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),d(5),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode),d(6),dn("mat-tab-header-pagination-disabled",i._disableScrollAfter),D("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Xo,qy,JE],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),t})(),BQ=0;class jQ{}const UQ=ru(Mh(class{constructor(t){this._elementRef=t}}),"primary");let zQ=(()=>{class t extends UQ{constructor(e,i,s,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new gl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=x.EMPTY,this._tabLabelSubscription=x.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new ft,this.focusChange=new ft,this.animationDone=new ft,this.selectedTabChange=new ft(!0),this._groupId=BQ++,this.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",this.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,this.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,this.contentTabIndex=s?.contentTabIndex??null,this.preserveContent=!!s?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=En(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=eo(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=eo(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=En(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=En(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const s=this._tabBodyWrapper.nativeElement;s.style.minHeight=s.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((s,o)=>s.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,s)=>{i.position=s-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let s;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Yr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new jQ;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Yt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,s){e.disabled||(this.selectedIndex=i.focusIndex=s)}_getTabIndex(e,i){return e.disabled?null:i===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(nP,8),N(Ui,8))},t.\u0275dir=Je({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[pt]}),t})(),WQ=(()=>{class t extends zQ{constructor(e,i,s,o){super(e,i,s,o)}}return t.\u0275fac=function(e){return new(e||t)(N(bt),N(Xn),N(nP,8),N(Ui,8))},t.\u0275cmp=Qe({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,s){if(1&e&&gi(s,eP,5),2&e){let o;at(o=lt())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(vt(bQ,5),vt(yQ,5)),2&e){let s;at(s=lt())&&(i._tabBodyWrapper=s.first),at(s=lt())&&(i._tabHeader=s.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&dn("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[on([{provide:XE,useExisting:t}]),pt],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(T(0,"mat-tab-header",0,1),Me("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),U(2,SQ,5,15,"div",2),k(),T(3,"div",3,4),U(5,DQ,1,11,"mat-tab-body",5),k()),2&e&&(D("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),d(2),D("ngForOf",i._tabs),d(1),dn("_mat-animation-noopable","NoopAnimations"===i._animationMode),d(2),D("ngForOf",i._tabs))},dependencies:[Wn,Fi,Ot,$a,Xo,f6,iP,tP,VQ],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),t})(),$Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,tu,Ch,Rm,n0,Pn]}),t})();const GQ=["button"],qQ=["settingsButton"],KQ=["firstInput"];function ZQ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function QQ(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}const oP=function(t){return{"element-disabled":t}};function JQ(t,n){if(1&t&&(T(0,"mat-form-field",3),De(1,"input",22),Y(2,"translate"),k()),2&t){const e=W();D("ngClass",Ue(4,oP,e.disableDismiss)),d(1),D("placeholder",B(2,2,"apps.vpn-socks-client-settings.password"))}}function XQ(t,n){1&t&&(T(0,"div",23)(1,"mat-icon",24),O(2,"warning"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function eJ(t,n){1&t&&De(0,"app-loading-indicator",25),2&t&&D("showWhite",!1)}function tJ(t,n){1&t&&(T(0,"div",26)(1,"mat-icon",24),O(2,"error"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function nJ(t,n){1&t&&(T(0,"div",33),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function iJ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e[1]))}}function rJ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e[2])}}function sJ(t,n){if(1&t&&(T(0,"div",33)(1,"span"),O(2),Y(3,"translate"),k(),U(4,iJ,3,3,"ng-container",14),U(5,rJ,2,1,"ng-container",14),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e[0])," "),d(2),D("ngIf",e[1]),d(1),D("ngIf",e[2])}}function oJ(t,n){1&t&&(T(0,"div",26)(1,"mat-icon",24),O(2,"error"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}const aP=function(t){return{highlighted:t}};function aJ(t,n){if(1&t&&(qe(0),T(1,"span",3),O(2),k(),Ke()),2&t){const e=n.$implicit,i=n.index;d(1),D("ngClass",Ue(2,aP,i%2!=0)),d(1),pe(e)}}function lJ(t,n){if(1&t&&(qe(0),T(1,"div",38),De(2,"div"),k(),Ke()),2&t){const e=W(2).$implicit;d(2),oi("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function cJ(t,n){if(1&t&&(qe(0),T(1,"span",3),O(2),k(),Ke()),2&t){const e=n.$implicit,i=n.index;d(1),D("ngClass",Ue(2,aP,i%2!=0)),d(1),pe(e)}}function uJ(t,n){if(1&t&&(T(0,"div",33)(1,"span"),O(2),Y(3,"translate"),k(),T(4,"span"),O(5,"\xa0 "),U(6,lJ,3,2,"ng-container",14),U(7,cJ,3,4,"ng-container",36),k()()),2&t){const e=W().$implicit,i=W(2);d(2),pe(B(3,3,"apps.vpn-socks-client-settings.location")),d(4),D("ngIf",e.country),d(1),D("ngForOf",i.getHighlightedTextParts(e.location,i.currentFilters.location))}}function dJ(t,n){if(1&t){const e=nt();T(0,"div",34)(1,"button",27),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).saveChanges(o.pk,null,!1,o.location))}),T(2,"div",35)(3,"div",33)(4,"span"),O(5),Y(6,"translate"),k(),T(7,"span"),O(8,"\xa0"),U(9,aJ,3,4,"ng-container",36),k()(),U(10,uJ,8,5,"div",30),k()(),T(11,"button",37),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).copyPk(o.pk))}),Y(12,"translate"),T(13,"mat-icon",24),O(14,"filter_none"),k()()()}if(2&t){const e=n.$implicit,i=W(2);d(5),pe(B(6,5,"apps.vpn-socks-client-settings.key")),d(4),D("ngForOf",i.getHighlightedTextParts(e.pk,i.currentFilters.key)),d(1),D("ngIf",e.location),d(1),D("matTooltip",B(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),d(2),D("inline",!0)}}function hJ(t,n){if(1&t){const e=nt();qe(0),T(1,"button",27),Me("click",function(){return Ie(e),Oe(W().changeFilters())}),T(2,"div",28)(3,"div",29)(4,"mat-icon",24),O(5,"filter_list"),k()(),T(6,"div"),U(7,nJ,3,3,"div",30),U(8,sJ,6,5,"div",31),T(9,"div",32),O(10),Y(11,"translate"),k()()()(),U(12,oJ,5,4,"div",13),U(13,dJ,15,9,"div",16),Ke()}if(2&t){const e=W();d(4),D("inline",!0),d(3),D("ngIf",0===e.currentFiltersTexts.length),d(1),D("ngForOf",e.currentFiltersTexts),d(2),pe(B(11,6,"apps.vpn-socks-client-settings.click-to-change")),d(2),D("ngIf",0===e.filteredProxiesFromDiscovery.length),d(1),D("ngForOf",e.proxiesFromDiscoveryToShow)}}const fJ=function(t,n){return{currentElementsRange:t,totalElements:n}};function pJ(t,n){if(1&t){const e=nt();T(0,"div",39)(1,"span"),O(2),Y(3,"translate"),k(),T(4,"button",40),Me("click",function(){return Ie(e),Oe(W().goToPreviousPage())}),T(5,"mat-icon"),O(6,"chevron_left"),k()(),T(7,"button",40),Me("click",function(){return Ie(e),Oe(W().goToNextPage())}),T(8,"mat-icon"),O(9,"chevron_right"),k()()()}if(2&t){const e=W();d(2),pe(Vt(3,1,"apps.vpn-socks-client-settings.pagination-info",hn(4,fJ,e.currentRange,e.filteredProxiesFromDiscovery.length)))}}const mJ=function(t){return{number:t}};function _J(t,n){if(1&t&&(T(0,"div")(1,"div",26)(2,"mat-icon",24),O(3,"error"),k(),O(4),Y(5,"translate"),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),ye(" ",Vt(5,2,"apps.vpn-socks-client-settings.no-history",Ue(5,mJ,e.maxHistoryElements))," ")}}function gJ(t,n){1&t&&Pa(0)}function vJ(t,n){1&t&&Pa(0)}function bJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W(2).$implicit;d(2),ye(" ",e.note,"")}}function yJ(t,n){1&t&&(qe(0),T(1,"span"),O(2),Y(3,"translate"),k(),Ke()),2&t&&(d(2),ye(" ",B(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function MJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),k(),Ke()),2&t){const e=W(4).$implicit;d(2),ye(" (",e.location,")")}}function wJ(t,n){if(1&t&&(qe(0),T(1,"span"),O(2),Y(3,"translate"),k(),U(4,MJ,3,1,"ng-container",14),Ke()),2&t){const e=W(3).$implicit;d(2),ye(" ",B(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),d(2),D("ngIf",e.location)}}function CJ(t,n){if(1&t&&(qe(0),U(1,yJ,4,3,"ng-container",14),U(2,wJ,5,4,"ng-container",14),Ke()),2&t){const e=W(2).$implicit;d(1),D("ngIf",e.enteredManually),d(1),D("ngIf",!e.enteredManually)}}function SJ(t,n){if(1&t&&(T(0,"div",46)(1,"div",47)(2,"div",33)(3,"span"),O(4),Y(5,"translate"),k(),T(6,"span"),O(7),k()(),T(8,"div",33)(9,"span"),O(10),Y(11,"translate"),k(),U(12,bJ,3,1,"ng-container",14),U(13,CJ,3,2,"ng-container",14),k()(),T(14,"div",48)(15,"div",49)(16,"mat-icon",24),O(17,"add"),k()()()()),2&t){const e=W().$implicit;d(4),pe(B(5,6,"apps.vpn-socks-client-settings.key")),d(3),ye(" ",e.key,""),d(3),pe(B(11,8,"apps.vpn-socks-client-settings.note")),d(2),D("ngIf",e.note),d(1),D("ngIf",!e.note),d(3),D("inline",!0)}}function DJ(t,n){if(1&t){const e=nt();T(0,"div",34)(1,"button",41),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().useFromHistory(o))}),U(2,gJ,1,0,"ng-container",42),k(),T(3,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().changeNote(o))}),Y(4,"translate"),T(5,"mat-icon",24),O(6,"edit"),k()(),T(7,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().removeFromHistory(o.key))}),Y(8,"translate"),T(9,"mat-icon",24),O(10,"close"),k()(),T(11,"button",44),Me("click",function(){const o=Ie(e).$implicit;return Oe(W().openHistoryOptions(o))}),U(12,vJ,1,0,"ng-container",42),k(),U(13,SJ,18,10,"ng-template",null,45,Oa),k()}if(2&t){const e=li(14);d(2),D("ngTemplateOutlet",e),d(1),D("matTooltip",B(4,6,"apps.vpn-socks-client-settings.change-note")),d(2),D("inline",!0),d(2),D("matTooltip",B(8,8,"apps.vpn-socks-client-settings.remove-entry")),d(2),D("inline",!0),d(3),D("ngTemplateOutlet",e)}}function kJ(t,n){1&t&&(T(0,"div",50)(1,"mat-icon",24),O(2,"warning"),k(),O(3),Y(4,"translate"),k()),2&t&&(d(1),D("inline",!0),d(2),ye(" ",B(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}let TJ=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this.data=e,this.dialogRef=i,this.appsService=s,this.formBuilder=o,this.snackbarService=a,this.dialog=l,this.proxyDiscoveryService=c,this.clipboardService=_,this.storageService=E,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new ZE,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.largeModalWidth,e.open(t,s)}ngOnInit(){this.migrateDataToHvStorage(),this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(s=>{this.proxiesFromDiscovery=s,this.proxiesFromDiscovery.forEach(o=>{o.country&&this.countriesFromDiscovery.add(o.country.toUpperCase())}),this.filterProxies(),this.loadingFromDiscovery=!1});const e=this.storageService.getDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=e?JSON.parse(e):[];let i="";if(this.data.args&&this.data.args.length>0)for(let s=0;sthis.firstInput.nativeElement.focus())}ngOnDestroy(){this.discoverySubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}migrateDataToHvStorage(){const e=localStorage.getItem(this.socksHistoryStorageKey);e&&(this.storageService.setDataForHv(this.socksHistoryStorageKey,e),localStorage.removeItem(this.socksHistoryStorageKey));const i=localStorage.getItem(this.vpnHistoryStorageKey);i&&(this.storageService.setDataForHv(this.vpnHistoryStorageKey,i),localStorage.removeItem(this.vpnHistoryStorageKey))}get disableDismiss(){return!(!this.button||!this.settingsButton)&&(this.button.isLoading||this.settingsButton.isLoading)}setKillswitch(e){this.working||(this.killswitch=!!e.checked)}changeFilters(){const e=[];this.countriesFromDiscovery.forEach(s=>e.push(s)),oQ.openDialog(this.dialog,{currentFilters:this.currentFilters,availableCountries:e}).afterClosed().subscribe(s=>{s&&(this.currentFilters=s,this.filterProxies())})}getHighlightedTextParts(e,i){if(!i)return[e];const s=e.toLowerCase(),o=i.toLowerCase();let a=!0,l=0;const c=[];for(;a;){const _=s.indexOf(o,l);-1===_?a=!1:(c.push(e.substring(l,_)),c.push(e.substring(_,_+i.length)),l=_+i.length)}return c.push(e.substring(l)),c}filterProxies(){this.filteredProxiesFromDiscovery=this.currentFilters.country||this.currentFilters.location||this.currentFilters.key?this.proxiesFromDiscovery.filter(e=>!(this.currentFilters.country&&(!e.country||!e.country.toUpperCase().includes(this.currentFilters.country.toUpperCase()))||this.currentFilters.location&&!e.location.toLowerCase().includes(this.currentFilters.location.toLowerCase())||this.currentFilters.key&&!e.address.toLowerCase().includes(this.currentFilters.key.toLowerCase()))):this.proxiesFromDiscovery,this.updateCurrentFilters(),this.updatePagination()}updateCurrentFilters(){if(this.currentFiltersTexts=[],this.currentFilters.country){const e=sa[this.currentFilters.country.toUpperCase()]?sa[this.currentFilters.country.toUpperCase()]:this.currentFilters.country.toUpperCase();this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.country","",e])}this.currentFilters.location&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.location","",this.currentFilters.location]),this.currentFilters.key&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.pub-key","",this.currentFilters.key])}updatePagination(){this.currentPage=1,this.numberOfPages=Math.ceil(this.filteredProxiesFromDiscovery.length/this.maxElementsPerPage),this.showCurrentPage()}goToNextPage(){this.currentPage>=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}goToPreviousPage(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}showCurrentPage(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPage{1===s?this.useFromHistory(e):2===s?this.changeNote(e):3===s&&this.removeFromHistory(e.key)})}removeFromHistory(e){const s=rn.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.remove-from-history-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{this.history=this.history.filter(a=>a.key!==e);const o=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,o),s.close()})}changeNote(e){QZ.openDialog(this.dialog,e.note).afterClosed().subscribe(i=>{if(i){i=i.substr(1,i.length-1),this.history.forEach(o=>{o.key===e.key&&(o.note=i)});const s=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,s),i?this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"):this.snackbarService.showWarning("apps.vpn-socks-client-settings.default-note-warning")}})}useFromHistory(e){e.hasPassword?lQ.openDialog(this.dialog).afterClosed().subscribe(i=>{i&&(i=i.substr(1,i.length-1),this.saveChanges(e.key,i,e.enteredManually,e.location,e.note))}):this.saveChanges(e.key,null,e.enteredManually,e.location,e.note)}saveChanges(e=null,i=null,s=null,o=null,a=null){if(!this.form.valid&&!e||this.working)return;s=!e||s,i=e?i:this.form.get("password").value,e=e||this.form.get("pk").value;const c=rn.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.change-key-confirmation");c.componentInstance.operationAccepted.subscribe(()=>{c.close(),this.continueSavingChanges(e,i,s,o,a)})}saveSettings(){if(this.working)return;const e={killswitch:this.killswitch};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,e).subscribe(()=>{this.initialKillswitchSetting=this.killswitch,this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.settingsButton.reset(!1),this.button.reset(!1),At.refreshCurrentDisplayedData()},i=>{this.working=!1,this.settingsButton.showError(!1),this.button.reset(!1),i=an(i),this.snackbarService.showError(i)})}copyPk(e){this.clipboardService.copy(e)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}continueSavingChanges(e,i,s,o,a){if(this.working)return;this.button.showLoading(!1),this.settingsButton.showLoading(!1),this.working=!0;const l={pk:e};this.configuringVpn&&(l.passcode=i||""),this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,l).subscribe(()=>this.onServerDataChangeSuccess(e,!!i,s,o,a),c=>this.onServerDataChangeError(c))}onServerDataChangeSuccess(e,i,s,o,a){this.history=this.history.filter(_=>_.key!==e);const l={key:e,enteredManually:s};if(i&&(l.hasPassword=i),o&&(l.location=o),a&&(l.note=a),this.history=[l].concat(this.history),this.history.length>this.maxHistoryElements){const _=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-_,_)}this.form.get("pk").setValue(e);const c=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,c),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)}onServerDataChangeError(e){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),e=an(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N($i),N(ei),N(Mu),N(ts),N(Vn),N(Gn),N(cQ),N(Rh),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,i){if(1&e&&(vt(GQ,5),vt(qQ,5),vt(KQ,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.settingsButton=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:44,vars:51,consts:[[3,"headline","dialog","disableDismiss"],[3,"label"],[3,"formGroup"],[3,"ngClass"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[3,"ngClass",4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],[4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(e,i){if(1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"mat-tab-group")(3,"mat-tab",1),Y(4,"translate"),T(5,"form",2)(6,"mat-form-field",3),De(7,"input",4,5),Y(9,"translate"),T(10,"mat-error"),U(11,ZQ,3,3,"ng-container",6),k(),U(12,QQ,2,3,"ng-template",null,7,Oa),k(),U(14,JQ,3,6,"mat-form-field",8),U(15,XQ,5,4,"div",9),T(16,"app-button",10,11),Me("action",function(){return i.saveChanges()}),O(18),Y(19,"translate"),k()()(),T(20,"mat-tab",1),Y(21,"translate"),U(22,eJ,1,1,"app-loading-indicator",12),U(23,tJ,5,4,"div",13),U(24,hJ,14,8,"ng-container",14),U(25,pJ,10,7,"div",15),k(),T(26,"mat-tab",1),Y(27,"translate"),U(28,_J,6,7,"div",14),U(29,DJ,15,10,"div",16),k(),T(30,"mat-tab",1),Y(31,"translate"),T(32,"div",17)(33,"mat-checkbox",18),Me("change",function(o){return i.setKillswitch(o)}),O(34),Y(35,"translate"),T(36,"mat-icon",19),Y(37,"translate"),O(38,"help"),k()()(),U(39,kJ,5,4,"div",20),T(40,"app-button",10,21),Me("action",function(){return i.saveSettings()}),O(42),Y(43,"translate"),k()()()()),2&e){const s=li(13);D("headline",B(1,29,"apps.vpn-socks-client-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),D("label",B(4,31,"apps.vpn-socks-client-settings.remote-visor-tab")),d(2),D("formGroup",i.form),d(1),D("ngClass",Ue(49,oP,i.disableDismiss)),d(1),D("placeholder",B(9,33,"apps.vpn-socks-client-settings.public-key")),d(4),D("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",s),d(3),D("ngIf",i.configuringVpn),d(1),D("ngIf",i.form&&i.form.get("password").value),d(1),D("disabled",!i.form.valid||i.working),d(2),ye(" ",B(19,35,"apps.vpn-socks-client-settings.save")," "),d(2),D("label",B(21,37,"apps.vpn-socks-client-settings.discovery-tab")),d(2),D("ngIf",i.loadingFromDiscovery),d(1),D("ngIf",!i.loadingFromDiscovery&&0===i.proxiesFromDiscovery.length),d(1),D("ngIf",!i.loadingFromDiscovery&&i.proxiesFromDiscovery.length>0),d(1),D("ngIf",i.numberOfPages>1),d(1),D("label",B(27,39,"apps.vpn-socks-client-settings.history-tab")),d(2),D("ngIf",0===i.history.length),d(1),D("ngForOf",i.history),d(1),D("label",B(31,41,"apps.vpn-socks-client-settings.settings-tab")),d(3),D("checked",i.killswitch),d(1),ye(" ",B(35,43,"apps.vpn-socks-client-settings.killswitch-check")," "),d(2),D("inline",!0)("matTooltip",B(37,45,"apps.vpn-socks-client-settings.killswitch-info")),d(3),D("ngIf",i.killswitch!==i.initialKillswitchSetting),d(1),D("disabled",i.killswitch===i.initialKillswitchSetting||i.working),d(2),ye(" ",B(43,47,"apps.vpn-socks-client-settings.save-settings")," ")}},dependencies:[Wn,Fi,Ot,Tp,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,WQ,eP,kr,Cn,vi,Ja,Tr,bi,ko,kt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),t})();function xJ(t,n){1&t&&(T(0,"span",14),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.title")))}function LJ(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function EJ(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function PJ(t,n){if(1&t&&(T(0,"div",18)(1,"span"),O(2),Y(3,"translate"),k(),U(4,LJ,3,3,"ng-container",19),U(5,EJ,2,1,"ng-container",19),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function IJ(t,n){if(1&t){const e=nt();T(0,"div",15),Me("click",function(){return Ie(e),Oe(W().dataFilterer.removeFilters())}),U(1,PJ,6,5,"div",16),T(2,"div",17),O(3),Y(4,"translate"),k()()}if(2&t){const e=W();d(1),D("ngForOf",e.dataFilterer.currentFiltersTexts),d(2),pe(B(4,2,"filters.press-to-remove"))}}function OJ(t,n){if(1&t){const e=nt();T(0,"mat-icon",20),Me("click",function(){return Ie(e),Oe(W().dataFilterer.changeFilters())}),Y(1,"translate"),O(2,"filter_list"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"filters.filter-action"))}function AJ(t,n){1&t&&(T(0,"mat-icon",21),O(1,"more_horiz"),k()),2&t&&(W(),D("matMenuTriggerFor",li(9)))}const K0=function(t){return["/nodes",t,"apps-list"]};function RJ(t,n){if(1&t&&De(0,"app-paginator",22),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function FJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function NJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function YJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function HJ(t,n){if(1&t&&(T(0,"mat-icon",37),O(1),k()),2&t){const e=W(2);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function VJ(t,n){if(1&t&&(De(0,"i",46),Y(1,"translate")),2&t){const e=W().$implicit,i=W(2);fs(i.getStateClass(e)),D("matTooltip",B(1,3,i.getStateTooltip(e)))}}const lP=function(t){return{error:t}};function BJ(t,n){if(1&t&&(T(0,"mat-icon",47),Y(1,"translate"),O(2,"warning"),k()),2&t){const e=W().$implicit;D("inline",!0)("matTooltip",Vt(1,2,"apps.status-failed-tooltip",Ue(5,lP,e.detailedStatus?e.detailedStatus:"")))}}function jJ(t,n){if(1&t&&(T(0,"a",48)(1,"button",49),Y(2,"translate"),T(3,"mat-icon",37),O(4,"open_in_browser"),k()()()),2&t){const e=W().$implicit;D("href",W(2).getLink(e),Ho),d(1),D("matTooltip",B(2,3,"apps.open")),d(2),D("inline",!0)}}function UJ(t,n){if(1&t){const e=nt();T(0,"button",43),Me("click",function(){Ie(e);const s=W().$implicit;return Oe(W(2).config(s))}),Y(1,"translate"),T(2,"mat-icon",37),O(3,"settings"),k()()}2&t&&(D("matTooltip",B(1,2,"apps.settings")),d(2),D("inline",!0))}function zJ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td",39)(2,"mat-checkbox",40),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(3,"td"),U(4,VJ,2,5,"i",41),U(5,BJ,3,7,"mat-icon",42),k(),T(6,"td"),O(7),k(),T(8,"td"),O(9),k(),T(10,"td")(11,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).changeAppAutostart(o))}),Y(12,"translate"),T(13,"mat-icon",37),O(14),k()()(),T(15,"td",30),U(16,jJ,5,5,"a",44),U(17,UJ,4,4,"button",45),T(18,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).viewLogs(o))}),Y(19,"translate"),T(20,"mat-icon",37),O(21,"list"),k()(),T(22,"button",43),Me("click",function(){const o=Ie(e).$implicit;return Oe(W(2).changeAppState(o))}),Y(23,"translate"),T(24,"mat-icon",37),O(25),k()()()()}if(2&t){const e=n.$implicit,i=W(2);d(2),D("checked",i.selections.get(e.name)),d(2),D("ngIf",2!==e.status),d(1),D("ngIf",2===e.status),d(2),ye(" ",e.name," "),d(2),ye(" ",e.port," "),d(2),D("matTooltip",B(12,15,e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),d(2),D("inline",!0),d(1),pe(e.autostart?"done":"close"),d(2),D("ngIf",i.getLink(e)),d(1),D("ngIf",i.appsWithConfig.has(e.name)),d(1),D("matTooltip",B(19,17,"apps.view-logs")),d(2),D("inline",!0),d(2),D("matTooltip",B(23,19,"apps."+(0===e.status||2===e.status?"start-app":"stop-app"))),d(2),D("inline",!0),d(1),pe(0===e.status||2===e.status?"play_arrow":"stop")}}function WJ(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.label")))}function $J(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"tables.inverted-order")))}function GJ(t,n){if(1&t&&(T(0,"a",55),Me("click",function(i){return i.stopPropagation()}),T(1,"button",56),Y(2,"translate"),T(3,"mat-icon"),O(4,"open_in_browser"),k()()()),2&t){const e=W().$implicit;D("href",W(2).getLink(e),Ho),d(1),D("matTooltip",B(2,2,"apps.open"))}}function qJ(t,n){if(1&t){const e=nt();T(0,"tr")(1,"td")(2,"div",34)(3,"div",50)(4,"mat-checkbox",40),Me("change",function(){const o=Ie(e).$implicit;return Oe(W(2).changeSelection(o))}),k()(),T(5,"div",35)(6,"div",51)(7,"span",1),O(8),Y(9,"translate"),k(),O(10),k(),T(11,"div",51)(12,"span",1),O(13),Y(14,"translate"),k(),O(15),k(),T(16,"div",51)(17,"span",1),O(18),Y(19,"translate"),k(),O(20,": "),T(21,"span"),O(22),Y(23,"translate"),k()(),T(24,"div",51)(25,"span",1),O(26),Y(27,"translate"),k(),O(28,": "),T(29,"span"),O(30),Y(31,"translate"),k()()(),De(32,"div",52),T(33,"div",36),U(34,GJ,5,4,"a",53),T(35,"button",54),Me("click",function(s){const a=Ie(e).$implicit,l=W(2);return s.stopPropagation(),Oe(l.showOptionsDialog(a))}),Y(36,"translate"),T(37,"mat-icon"),O(38),k()()()()()()}if(2&t){const e=n.$implicit,i=W(2);d(4),D("checked",i.selections.get(e.name)),d(4),pe(B(9,16,"apps.apps-list.app-name")),d(2),ye(": ",e.name," "),d(3),pe(B(14,18,"apps.apps-list.port")),d(2),ye(": ",e.port," "),d(3),pe(B(19,20,"apps.apps-list.state")),d(3),fs(i.getSmallScreenStateClass(e)+" title"),d(1),ye(" ",Vt(23,22,i.getSmallScreenStateTextVar(e),Ue(31,lP,e.detailedStatus?e.detailedStatus:""))," "),d(4),pe(B(27,25,"apps.apps-list.auto-start")),d(3),fs((e.autostart?"green-clear-text":"red-clear-text")+" title"),d(1),ye(" ",B(31,27,e.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),d(4),D("ngIf",i.getLink(e)),d(1),D("matTooltip",B(36,29,"common.options")),d(3),pe("add")}}function KJ(t,n){if(1&t&&De(0,"app-view-all-link",57),2&t){const e=W(2);D("numberOfElements",e.filteredApps.length)("linkParts",Ue(3,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const ZJ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},QJ=function(t){return{"d-lg-none d-xl-table":t}},JJ=function(t){return{"d-lg-table d-xl-none":t}};function XJ(t,n){if(1&t){const e=nt();T(0,"div",23)(1,"div",24)(2,"table",25)(3,"tr"),De(4,"th"),T(5,"th",26),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.stateSortData))}),Y(6,"translate"),De(7,"span",27),U(8,FJ,2,2,"mat-icon",28),k(),T(9,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.nameSortData))}),O(10),Y(11,"translate"),U(12,NJ,2,2,"mat-icon",28),k(),T(13,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.portSortData))}),O(14),Y(15,"translate"),U(16,YJ,2,2,"mat-icon",28),k(),T(17,"th",29),Me("click",function(){Ie(e);const s=W();return Oe(s.dataSorter.changeSortingOrder(s.autoStartSortData))}),O(18),Y(19,"translate"),U(20,HJ,2,2,"mat-icon",28),k(),De(21,"th",30),k(),U(22,zJ,26,21,"tr",31),k(),T(23,"table",32)(24,"tr",33),Me("click",function(){return Ie(e),Oe(W().dataSorter.openSortingOrderModal())}),T(25,"td")(26,"div",34)(27,"div",35)(28,"div",1),O(29),Y(30,"translate"),k(),T(31,"div"),O(32),Y(33,"translate"),U(34,WJ,3,3,"ng-container",19),U(35,$J,3,3,"ng-container",19),k()(),T(36,"div",36)(37,"mat-icon",37),O(38,"keyboard_arrow_down"),k()()()()(),U(39,qJ,39,33,"tr",31),k(),U(40,KJ,1,5,"app-view-all-link",38),k()()}if(2&t){const e=W();d(1),D("ngClass",hn(31,ZJ,e.showShortList_,!e.showShortList_)),d(1),D("ngClass",Ue(34,QJ,e.showShortList_)),d(3),D("matTooltip",B(6,19,"apps.apps-list.state-tooltip")),d(3),D("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),d(2),ye(" ",B(11,21,"apps.apps-list.app-name")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),d(2),ye(" ",B(15,23,"apps.apps-list.port")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.portSortData),d(2),ye(" ",B(19,25,"apps.apps-list.auto-start")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.autoStartSortData),d(2),D("ngForOf",e.dataSource),d(1),D("ngClass",Ue(36,JJ,e.showShortList_)),d(6),pe(B(30,27,"tables.sorting-title")),d(3),ye("",B(33,29,e.dataSorter.currentSortingColumn.label)," "),d(2),D("ngIf",e.dataSorter.currentlySortingByLabel),d(1),D("ngIf",e.dataSorter.sortingInReverseOrder),d(2),D("inline",!0),d(2),D("ngForOf",e.dataSource),d(1),D("ngIf",e.showShortList_&&e.numberOfPages>1)}}function eX(t,n){1&t&&(T(0,"span",61),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.empty")))}function tX(t,n){1&t&&(T(0,"span",61),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"apps.apps-list.empty-with-filter")))}function nX(t,n){if(1&t&&(T(0,"div",23)(1,"div",58)(2,"mat-icon",59),O(3,"warning"),k(),U(4,eX,3,3,"span",60),U(5,tX,3,3,"span",60),k()()),2&t){const e=W();d(2),D("inline",!0),d(2),D("ngIf",0===e.allApps.length),d(1),D("ngIf",0!==e.allApps.length)}}function iX(t,n){if(1&t&&De(0,"app-paginator",22),2&t){const e=W();D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Ue(4,K0,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const rX=function(t){return{"paginator-icons-fixer":t}};let cP=(()=>{class t{constructor(e,i,s,o,a,l,c){this.appsService=e,this.dialog=i,this.route=s,this.router=o,this.snackbarService=a,this.translateService=l,this.storageService=c,this.listId="ap",this.stateSortData=new In(["status"],"apps.apps-list.state",Jt.NumberReversed),this.nameSortData=new In(["name"],"apps.apps-list.app-name",Jt.Text),this.portSortData=new In(["port"],"apps.apps-list.port",Jt.Number),this.autoStartSortData=new In(["autostart"],"apps.apps-list.auto-start",Jt.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:qn.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:qn.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(E=>{this.filteredApps=E,this.dataSorter.setData(this.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(E=>{if(E.has("page")){let R=Number.parseInt(E.get("page"),10);(isNaN(R)||R<1)&&(R=1),this.currentPageInUrl=R,this.recalculateElementsToShow()}})}set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredApps)}set apps(e){this.allApps=e||[],this.dataFilterer.setData(this.allApps)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}getLink(e){if("skychat"===e.name.toLocaleLowerCase()&&this.nodeIp&&0!==e.status&&2!==e.status){let i="8001";if(e.args)for(let s=0;s{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,s)=>{this.selections.set(s,e)})}changeStateOfSelected(e){const i=[];if(this.selections.forEach((s,o)=>{s&&(e&&(0===this.appsMap.get(o).status||2===this.appsMap.get(o).status)||!e&&0!==this.appsMap.get(o).status&&2!==this.appsMap.get(o).status)&&i.push(o)}),e)this.changeAppsValRecursively(i,!1,e);else{const s=rn.createConfirmationDialog(this.dialog,"apps.stop-selected-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!1,e,s)})}}changeAutostartOfSelected(e){const i=[];this.selections.forEach((o,a)=>{o&&(e&&!this.appsMap.get(a).autostart||!e&&this.appsMap.get(a).autostart)&&i.push(a)});const s=rn.createConfirmationDialog(this.dialog,e?"apps.enable-autostart-selected-confirmation":"apps.disable-autostart-selected-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!0,e,s)})}showOptionsDialog(e){const i=[{icon:"list",label:"apps.view-logs"},{icon:0===e.status||2===e.status?"play_arrow":"stop",label:"apps."+(0===e.status||2===e.status?"start-app":"stop-app")},{icon:e.autostart?"close":"done",label:e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"}];this.appsWithConfig.has(e.name)&&i.push({icon:"settings",label:"apps.settings"}),Ur.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(s=>{1===s?this.viewLogs(e):2===s?this.changeAppState(e):3===s?this.changeAppAutostart(e):4===s&&this.config(e)})}changeAppState(e){if(0===e.status||2===e.status)this.changeSingleAppVal(this.startChangingAppState(e.name,!0));else{const i=rn.createConfirmationDialog(this.dialog,"apps.stop-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppState(e.name,!1),i)})}}changeAppAutostart(e){const i=rn.createConfirmationDialog(this.dialog,e.autostart?"apps.disable-autostart-confirmation":"apps.enable-autostart-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppAutostart(e.name,!e.autostart),i)})}changeSingleAppVal(e,i=null){this.operationSubscriptionsGroup.push(e.subscribe(()=>{i&&i.close(),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")},s=>{s=an(s),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),i?i.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg):this.snackbarService.showError(s)}))}viewLogs(e){0!==e.status&&2!==e.status?zZ.openDialog(this.dialog,e):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}config(e){"skysocks"===e.name||"vpn-server"===e.name?KZ.openDialog(this.dialog,e):"skysocks-client"===e.name||"vpn-client"===e.name?TJ.openDialog(this.dialog,e):this.snackbarService.showError("apps.error")}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredApps){const e=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(i,i+e),this.appsMap=new Map,this.appsToShow.forEach(a=>{this.appsMap.set(a.name,a),this.selections.has(a.name)||this.selections.set(a.name,!1)});const o=[];this.selections.forEach((a,l)=>{this.appsMap.has(l)||o.push(l)}),o.forEach(a=>{this.selections.delete(a)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(()=>At.refreshCurrentDisplayedData(),2e3))}startChangingAppState(e,i){return this.appsService.changeAppState(At.getCurrentNodeKey(),e,i).pipe(Xe(s=>(null!=s.status&&this.dataSource.forEach(o=>{o.name===e&&(o.status=s.status,o.detailedStatus=s.detailed_status)}),s)))}startChangingAppAutostart(e,i){return this.appsService.changeAppAutostart(At.getCurrentNodeKey(),e,i)}changeAppsValRecursively(e,i,s,o=null){if(!e||0===e.length)return setTimeout(()=>At.refreshCurrentDisplayedData(),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(o&&o.close());let a;a=i?this.startChangingAppAutostart(e[e.length-1],s):this.startChangingAppState(e[e.length-1],s),this.operationSubscriptionsGroup.push(a.subscribe(()=>{e.pop(),0===e.length?(o&&o.close(),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")):this.changeAppsValRecursively(e,i,s,o)},l=>{l=an(l),setTimeout(()=>{this.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),o?o.componentInstance.showDone("confirmation.error-header-text",l.translatableErrorMsg):this.snackbarService.showError(l)}))}}return t.\u0275fac=function(e){return new(e||t)(N(Mu),N(Gn),N(Qi),N(Ut),N(Vn),N(Hr),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1),U(2,xJ,3,3,"span",2),U(3,IJ,5,4,"div",3),k(),T(4,"div",4)(5,"div",5),U(6,OJ,3,4,"mat-icon",6),U(7,AJ,2,1,"mat-icon",7),T(8,"mat-menu",8,9)(10,"div",10),Me("click",function(){return i.changeAllSelections(!0)}),O(11),Y(12,"translate"),k(),T(13,"div",10),Me("click",function(){return i.changeAllSelections(!1)}),O(14),Y(15,"translate"),k(),T(16,"div",11),Me("click",function(){return i.changeStateOfSelected(!0)}),O(17),Y(18,"translate"),k(),T(19,"div",11),Me("click",function(){return i.changeStateOfSelected(!1)}),O(20),Y(21,"translate"),k(),T(22,"div",11),Me("click",function(){return i.changeAutostartOfSelected(!0)}),O(23),Y(24,"translate"),k(),T(25,"div",11),Me("click",function(){return i.changeAutostartOfSelected(!1)}),O(26),Y(27,"translate"),k()()(),U(28,RJ,1,6,"app-paginator",12),k()(),U(29,XJ,41,38,"div",13),U(30,nX,6,3,"div",13),U(31,iX,1,6,"app-paginator",12)),2&e&&(D("ngClass",Ue(32,rX,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),d(2),D("ngIf",i.showShortList_),d(1),D("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),d(3),D("ngIf",i.allApps&&i.allApps.length>0),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("overlapTrigger",!1),d(3),ye(" ",B(12,20,"selection.select-all")," "),d(3),ye(" ",B(15,22,"selection.unselect-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(18,24,"selection.start-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(21,26,"selection.stop-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(24,28,"selection.enable-autostart-all")," "),d(2),Ln("disabled",!i.hasSelectedElements()),d(1),ye(" ",B(27,30,"selection.disable-autostart-all")," "),d(2),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),d(1),D("ngIf",i.dataSource&&i.dataSource.length>0),d(1),D("ngIf",!i.dataSource||0===i.dataSource.length),d(1),D("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Wn,Fi,Ot,kr,Cn,vi,vu,ia,bu,Ja,v_,yu,kt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),t})(),sX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps,this.nodeIp=e.ip})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(e,i){1&e&&De(0,"app-node-app-list",0),2&e&&D("apps",i.apps)("showShortList",!0)("nodePK",i.nodePK)("nodeIp",i.nodeIp)},dependencies:[cP]}),t})();function oX(t,n){1&t&&De(0,"app-transport-list",1),2&t&&D("node",W().node)("showShortList",!1)}let aX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>this.node=e)}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,i){1&e&&U(0,oX,1,2,"app-transport-list",0),2&e&&D("ngIf",i.node)},dependencies:[Ot,GE]}),t})();function lX(t,n){if(1&t&&De(0,"app-route-list",1),2&t){const e=W();D("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}let cX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.routes=e.routes})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&U(0,lX,1,3,"app-route-list",0),2&e&&D("ngIf",i.routes)},dependencies:[Ot,KE]}),t})();function uX(t,n){if(1&t&&De(0,"app-node-app-list",1),2&t){const e=W();D("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}let dX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,i){1&e&&U(0,uX,1,3,"app-node-app-list",0),2&e&&D("ngIf",i.apps)},dependencies:[Ot,cP]}),t})();const hX=["button"],fX=["firstInput"],pX=function(t){return{"element-disabled":t}};let uP=(()=>{class t{constructor(e,i,s,o,a){this.dialogRef=e,this.data=i,this.formBuilder=s,this.snackbarService=o,this.routeService=a}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.smallModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({min:[this.data.minHops,yn.compose([yn.required,yn.maxLength(3),yn.pattern("^[0-9]+$")])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}save(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=an(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Vn),N(qE))},t.\u0275cmp=Qe({type:t,selectors:[["app-router-config"]],viewQuery:function(e,i){if(1&e&&(vt(hX,5),vt(fX,5)),2&e){let s;at(s=lt())&&(i.button=s.first),at(s=lt())&&(i.firstInput=s.first)}},decls:14,vars:19,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],[3,"formGroup","ngClass"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"div",1),O(3),Y(4,"translate"),k(),T(5,"form",2)(6,"mat-form-field"),De(7,"input",3,4),Y(9,"translate"),k()(),T(10,"app-button",5,6),Me("action",function(){return i.save()}),O(12),Y(13,"translate"),k()()),2&e&&(D("headline",B(1,9,"router-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),d(3),pe(B(4,11,"router-config.info")),d(2),D("formGroup",i.form)("ngClass",Ue(17,pX,i.disableDismiss)),d(2),D("placeholder",B(9,13,"router-config.min-hops")),d(3),D("disabled",!i.form.valid),d(2),ye(" ",B(13,15,"router-config.save-config-button")," "))},dependencies:[Wn,mr,dr,fr,pr,es,ki,er,jr,vs,Tr,bi,kt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),t})(),mX=(()=>{class t{constructor(e){this.clipboardService=e,this.copyEvent=new ft,this.errorEvent=new ft,this.value=""}ngOnDestroy(){this.copyEvent.complete(),this.errorEvent.complete()}copyToClipboard(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}return t.\u0275fac=function(e){return new(e||t)(N(Rh))},t.\u0275dir=Je({type:t,selectors:[["","clipboard",""]],hostBindings:function(e,i){1&e&&Me("click",function(){return i.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),t})();function _X(t,n){if(1&t&&(qe(0),De(1,"app-truncated-text",3),O(2," \xa0"),T(3,"mat-icon",4),O(4,"filter_none"),k(),Ke()),2&t){const e=W();d(1),D("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),d(2),D("inline",!0)}}function gX(t,n){if(1&t&&(T(0,"div",5)(1,"div",6),O(2),k(),O(3," \xa0"),T(4,"mat-icon",4),O(5,"filter_none"),k()()),2&t){const e=W();d(2),pe(e.text),d(2),D("inline",!0)}}const vX=function(t){return{text:t}},bX=function(){return{"tooltip-word-break":!0}};let Z0=(()=>{class t{constructor(e){this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}onCopyToClipboardClicked(){this.snackbarService.showDone("copy.copied")}}return t.\u0275fac=function(e){return new(e||t)(N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(e,i){1&e&&(T(0,"div",0),Me("copyEvent",function(){return i.onCopyToClipboardClicked()}),Y(1,"translate"),U(2,_X,5,5,"ng-container",1),U(3,gX,6,2,"div",2),k()),2&e&&(D("clipboard",i.text)("matTooltip",Vt(1,5,i.short||i.shortSimple?"copy.tooltip-with-text":"copy.tooltip",Ue(8,vX,i.text)))("matTooltipClass",Hn(10,bX)),d(2),D("ngIf",!i.shortSimple),d(1),D("ngIf",i.shortSimple))},dependencies:[Ot,Cn,vi,mX,gE,kt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none}']}),t})();var yX=F(6149);const MX=["chart"];let Q0=(()=>{class t{constructor(e){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}ngAfterViewInit(){this.chart=new yX.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:t.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}ngDoCheck(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))}ngOnDestroy(){this.chart&&this.chart.destroy()}updateMinAndMax(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}return t.topInternalMargin=5,t.\u0275fac=function(e){return new(e||t)(N(Yd))},t.\u0275cmp=Qe({type:t,selectors:[["app-line-chart"]],viewQuery:function(e,i){if(1&e&&vt(MX,5),2&e){let s;at(s=lt())&&(i.chartElement=s.first)}},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"canvas",null,1),k()),2&e&&oi("height: "+i.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),t})();const dP=function(){return{showValue:!0}},hP=function(){return{showUnit:!0}};let wX=(()=>{class t{constructor(e){this.nodeService=e}ngOnInit(){this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(e=>{this.data=e})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(pu))},t.\u0275cmp=Qe({type:t,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,i){1&e&&(T(0,"div",0),De(1,"app-line-chart",1),T(2,"div",2)(3,"span",3),O(4),Y(5,"translate"),k(),T(6,"span",4)(7,"span",5),O(8),Y(9,"autoScale"),k(),T(10,"span",6),O(11),Y(12,"autoScale"),k()()()(),T(13,"div",0),De(14,"app-line-chart",1),T(15,"div",2)(16,"span",3),O(17),Y(18,"translate"),k(),T(19,"span",4)(20,"span",5),O(21),Y(22,"autoScale"),k(),T(23,"span",6),O(24),Y(25,"autoScale"),k()()()()),2&e&&(d(1),D("data",i.data.sentHistory),d(3),pe(B(5,8,"common.uploaded")),d(4),pe(Vt(9,10,i.data.totalSent,Hn(24,dP))),d(3),pe(Vt(12,13,i.data.totalSent,Hn(25,hP))),d(3),D("data",i.data.receivedHistory),d(3),pe(B(18,16,"common.downloaded")),d(4),pe(Vt(22,18,i.data.totalReceived,Hn(26,dP))),d(3),pe(Vt(25,21,i.data.totalReceived,Hn(27,hP))))},dependencies:[Q0,kt,Vh],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),t})();function CX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),De(4,"app-copy-to-clipboard-text",8),k()),2&t){const e=W(2);d(2),ye("",B(3,2,"node.details.node-info.public-ip"),"\xa0"),d(2),Ln("text",e.node.publicIp)}}function SX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),De(4,"app-copy-to-clipboard-text",8),k()),2&t){const e=W(2);d(2),ye("",B(3,2,"node.details.node-info.ip"),"\xa0"),d(2),Ln("text",e.node.ip)}}function DX(t,n){if(1&t&&(T(0,"span",4)(1,"span",5),O(2),Y(3,"translate"),k(),O(4),k()),2&t){const e=W(2);d(2),pe(B(3,2,"node.details.node-info.skybian-version")),d(2),ye(" ",e.node.skybianBuildVersion," ")}}const J0=function(t){return{time:t}};function kX(t,n){if(1&t&&(T(0,"mat-icon",12),Y(1,"translate"),O(2," info "),k()),2&t){const e=W(2);D("inline",!0)("matTooltip",Vt(1,2,"node.details.node-info.time.minutes",Ue(5,J0,e.timeOnline.totalMinutes)))}}function TX(t,n){if(1&t){const e=nt();T(0,"div",1)(1,"div",2)(2,"span",3),O(3),Y(4,"translate"),k(),T(5,"span",4)(6,"span",5),O(7),Y(8,"translate"),k(),T(9,"span",6),Me("click",function(){return Ie(e),Oe(W().showEditLabelDialog())}),O(10),T(11,"mat-icon",7),O(12,"edit"),k()()(),T(13,"span",4)(14,"span",5),O(15),Y(16,"translate"),k(),De(17,"app-copy-to-clipboard-text",8),k(),T(18,"span",4)(19,"span",5),O(20),Y(21,"translate"),k(),O(22),Y(23,"translate"),k(),U(24,CX,5,4,"span",9),U(25,SX,5,4,"span",9),T(26,"span",4)(27,"span",5),O(28),Y(29,"translate"),k(),De(30,"app-copy-to-clipboard-text",8),k(),T(31,"span",4)(32,"span",5),O(33),Y(34,"translate"),k(),O(35),Y(36,"translate"),k(),T(37,"span",4)(38,"span",5),O(39),Y(40,"translate"),k(),O(41),Y(42,"translate"),k(),T(43,"span",4)(44,"span",5),O(45),Y(46,"translate"),k(),O(47),Y(48,"translate"),k(),U(49,DX,5,4,"span",9),T(50,"span",4)(51,"span",5),O(52),Y(53,"translate"),k(),O(54),Y(55,"translate"),U(56,kX,3,7,"mat-icon",10),k()(),De(57,"div",11),T(58,"div",2)(59,"span",3),O(60),Y(61,"translate"),k(),T(62,"span",4)(63,"span",5),O(64),Y(65,"translate"),k(),O(66),Y(67,"translate"),T(68,"mat-icon",12),Y(69,"translate"),O(70,"info"),k()(),T(71,"div",13)(72,"app-button",14),Me("action",function(){return Ie(e),Oe(W().changeTransportsConfig())}),O(73),Y(74,"translate"),k()()(),De(75,"div",11),T(76,"div",2)(77,"span",3),O(78),Y(79,"translate"),k(),T(80,"span",4)(81,"span",5),O(82),Y(83,"translate"),k(),O(84),k(),T(85,"div",13)(86,"app-button",14),Me("action",function(){return Ie(e),Oe(W().changeRouterConfig())}),O(87),Y(88,"translate"),k()()(),De(89,"div",11),T(90,"div",2)(91,"span",3),O(92),Y(93,"translate"),k(),T(94,"span",4)(95,"span",5),O(96),Y(97,"translate"),k(),De(98,"i"),O(99),Y(100,"translate"),k()(),De(101,"div",11),T(102,"div",2)(103,"span",3),O(104),Y(105,"translate"),k(),De(106,"app-charts",15),k()()}if(2&t){const e=W();d(3),pe(B(4,40,"node.details.node-info.title")),d(4),pe(B(8,42,"node.details.node-info.label")),d(3),ye(" ",e.node.label," "),d(1),D("inline",!0),d(4),ye("",B(16,44,"node.details.node-info.public-key"),"\xa0"),d(2),Ln("text",e.node.localPk),d(3),ye("",B(21,46,"node.details.node-info.symmetic-nat"),"\xa0"),d(2),ye(" ",B(23,48,e.node.isSymmeticNat?"common.yes":"common.no")," "),d(2),D("ngIf",!e.node.isSymmeticNat),d(1),D("ngIf",e.node.ip),d(3),ye("",B(29,50,"node.details.node-info.dmsg-server"),"\xa0"),d(2),Ln("text",e.node.dmsgServerPk),d(3),ye("",B(34,52,"node.details.node-info.ping"),"\xa0"),d(2),ye(" ",Vt(36,54,"common.time-in-ms",Ue(94,J0,e.node.roundTripPing))," "),d(4),pe(B(40,57,"node.details.node-info.node-version")),d(2),ye(" ",e.node.version?e.node.version:B(42,59,"common.unknown")," "),d(4),pe(B(46,61,"node.details.node-info.build-type")),d(2),ye(" ",e.node.buildTag?e.node.buildTag:B(48,63,"node.details.node-info.unknown-build")," "),d(2),D("ngIf",e.node.skybianBuildVersion),d(3),pe(B(53,65,"node.details.node-info.time.title")),d(2),ye(" ",Vt(55,67,"node.details.node-info.time."+e.timeOnline.translationVarName,Ue(96,J0,e.timeOnline.elapsedTime))," "),d(2),D("ngIf",e.timeOnline.totalMinutes>60),d(4),pe(B(61,70,"node.details.transports-info.title")),d(4),pe(B(65,72,"node.details.transports-info.autoconnect")),d(2),ye(" ",B(67,74,"node.details.transports-info."+(e.node.autoconnectTransports?"enabled":"disabled"))," "),d(2),D("inline",!0)("matTooltip",B(69,76,"node.details.transports-info.autoconnect-info")),d(4),D("forDarkBackground",!0),d(1),ye(" ",B(74,78,"node.details.transports-info."+(e.node.autoconnectTransports?"disable":"enable")+"-button")," "),d(5),pe(B(79,80,"node.details.router-info.title")),d(4),pe(B(83,82,"node.details.router-info.min-hops")),d(2),ye(" ",e.node.minHops," "),d(2),D("forDarkBackground",!0),d(1),ye(" ",B(88,84,"node.details.router-info.change-config-button")," "),d(5),pe(B(93,86,"node.details.node-health.title")),d(4),pe(B(97,88,"node.details.node-health.uptime-tracker")),d(2),fs(e.nodeHealthClass),d(1),ye(" ",B(100,90,e.nodeHealthText)," "),d(5),pe(B(105,92,"node.details.node-traffic-data"))}}let fP=(()=>{class t{constructor(e,i,s,o){this.dialog=e,this.storageService=i,this.transportService=s,this.snackbarService=o}set nodeInfo(e){this.node=e,this.timeOnline=EE.getElapsedTime(e.secondsOnline),e.health&&e.health.servicesHealth===io.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):e.health&&e.health.servicesHealth===io.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):e.health&&e.health.servicesHealth===io.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}ngOnDestroy(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}showEditLabelDialog(){let e=this.storageService.getLabelInfo(this.node.localPk);e||(e={id:this.node.localPk,label:"",identifiedElementType:ur.Node}),U0.openDialog(this.dialog,e).afterClosed().subscribe(i=>{i&&At.refreshCurrentDisplayedData()})}changeRouterConfig(){uP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(i=>{i&&At.refreshCurrentDisplayedData()})}changeTransportsConfig(){const e=rn.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=this.transportService.changeAutoconnectSetting(this.node.localPk,!this.node.autoconnectTransports);this.autoconnectSubscription=i.subscribe(()=>{e.close(),this.snackbarService.showDone(this.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),At.refreshCurrentDisplayedData()},s=>{s=an(s),e.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)})})}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Xi),N($0),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(e,i){1&e&&U(0,TX,107,98,"div",0),2&e&&D("ngIf",i.node)},dependencies:[Ot,Cn,vi,Z0,Tr,wX,kt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),t})(),xX=(()=>{class t{ngOnInit(){this.dataSubscription=At.currentNode.subscribe(e=>{this.node=e})}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(e,i){1&e&&De(0,"app-node-info-content",0),2&e&&D("nodeInfo",i.node)},dependencies:[fP]}),t})();const LX=function(){return["settings.title","labels.title"]};let EX=(()=>{class t{constructor(e){this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}performAction(e){null===e&&this.router.navigate(["settings"])}}return t.\u0275fac=function(e){return new(e||t)(N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Me("optionSelected",function(o){return i.performAction(o)}),k()(),T(3,"div",3),De(4,"app-label-list",4),k()()),2&e&&(d(2),D("titleParts",Hn(5,LX))("tabsData",i.tabsData)("showUpdateButton",!1)("returnText",i.returnButtonText),d(2),D("showShortList",!1))},dependencies:[Hl,WE]}),t})();const PX=["firstInput"];function IX(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function OX(t,n){1&t&&(O(0),Y(1,"translate")),2&t&&ye(" ",B(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}let AX=(()=>{class t{constructor(e,i,s,o,a,l,c,_){this.dialogRef=e,this.data=i,this.formBuilder=s,this.dialog=o,this.router=a,this.vpnClientService=l,this.vpnSavedDataService=c,this.snackbarService=_}static openDialog(e,i){const s=new $n;return s.data=i,s.autoFocus=!1,s.width=Kt.mediumModalWidth,e.open(t,s)}ngOnInit(){this.form=this.formBuilder.group({pk:["",yn.compose([yn.required,yn.minLength(66),yn.maxLength(66),yn.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){if(!this.form.valid)return;const e={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};qi.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,e,this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(ei),N($i),N(ts),N(Gn),N(Ut),N(wu),N(Yl),N(Vn))},t.\u0275cmp=Qe({type:t,selectors:[["app-add-vpn-server"]],viewQuery:function(e,i){if(1&e&&vt(PX,5),2&e){let s;at(s=lt())&&(i.firstInput=s.first)}},decls:23,vars:23,consts:[[3,"headline","dialog"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){if(1&e&&(T(0,"app-dialog",0),Y(1,"translate"),T(2,"form",1)(3,"mat-form-field"),De(4,"input",2,3),Y(6,"translate"),T(7,"mat-error"),U(8,IX,3,3,"ng-container",4),k(),U(9,OX,2,3,"ng-template",null,5,Oa),k(),T(11,"mat-form-field"),De(12,"input",6),Y(13,"translate"),k(),T(14,"mat-form-field"),De(15,"input",7),Y(16,"translate"),k(),T(17,"mat-form-field"),De(18,"input",8),Y(19,"translate"),k()(),T(20,"app-button",9),Me("action",function(){return i.process()}),O(21),Y(22,"translate"),k()()),2&e){const s=li(10);D("headline",B(1,11,"vpn.server-list.add-server-dialog.title"))("dialog",i.dialogRef),d(2),D("formGroup",i.form),d(2),D("placeholder",B(6,13,"vpn.server-list.add-server-dialog.pk-label")),d(4),D("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",s),d(4),D("placeholder",B(13,15,"vpn.server-list.add-server-dialog.password-label")),d(3),D("placeholder",B(16,17,"vpn.server-list.add-server-dialog.name-label")),d(3),D("placeholder",B(19,19,"vpn.server-list.add-server-dialog.note-label")),d(2),D("disabled",!i.form.valid),d(1),ye(" ",B(22,21,"vpn.server-list.add-server-dialog.use-server-button")," ")}},dependencies:[Ot,mr,dr,fr,pr,es,ki,er,Ah,jr,vs,Tr,bi,kt]}),t})();class RX{constructor(){this.countryCode="ZZ"}}let FX=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}getServers(){return this.servers?ze(this.servers):this.http.get(this.discoveryServiceUrl).pipe(Hh(e=>e.pipe(Ji(4e3))),Xe(e=>{const i=[];return e.forEach(s=>{const o=new RX,a=s.address.split(":");2===a.length&&(o.pk=a[0],o.location="",s.geo&&(s.geo.country&&(o.countryCode=s.geo.country),s.geo.region&&(o.location=s.geo.region)),o.name=a[0],o.note="",i.push(o))}),this.servers=i,i}))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Cl))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function NX(t,n){1&t&&Pa(0)}const pP=function(){return["vpn.title"]};function YX(t,n){if(1&t&&(T(0,"div",3)(1,"div",4),De(2,"app-top-bar",5),T(3,"div",6)(4,"div",7)(5,"div",8),U(6,NX,1,0,"ng-container",9),k()()()(),De(7,"app-loading-indicator",10),k()),2&t){const e=W(),i=li(2);d(2),D("titleParts",Hn(6,pP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(4),D("ngTemplateOutlet",i)}}function HX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.public")))}const M_=function(t,n){return["/vpn",t,"servers",n,1]};function VX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Public)),d(2),pe(B(3,2,"vpn.server-list.tabs.public"))}}function BX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.history")))}function jX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.History)),d(2),pe(B(3,2,"vpn.server-list.tabs.history"))}}function UX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.favorites")))}function zX(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Favorites)),d(2),pe(B(3,2,"vpn.server-list.tabs.favorites"))}}function WX(t,n){1&t&&(T(0,"div",22)(1,"span"),O(2),Y(3,"translate"),k()()),2&t&&(d(2),pe(B(3,1,"vpn.server-list.tabs.blocked")))}function $X(t,n){if(1&t&&(T(0,"a",23)(1,"span"),O(2),Y(3,"translate"),k()()),2&t){const e=W(2);D("routerLink",hn(4,M_,e.currentLocalPk,e.lists.Blocked)),d(2),pe(B(3,2,"vpn.server-list.tabs.blocked"))}}function GX(t,n){1&t&&De(0,"br")}function qX(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W().$implicit;d(1),pe(B(2,1,e.translatableValue))}}function KX(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),pe(e.value)}}function ZX(t,n){if(1&t&&(T(0,"div",28)(1,"span"),O(2),Y(3,"translate"),k(),U(4,qX,3,3,"ng-container",21),U(5,KX,2,1,"ng-container",21),k()),2&t){const e=n.$implicit;d(2),ye("",B(3,3,e.filterName),": "),d(2),D("ngIf",e.translatableValue),d(1),D("ngIf",e.value)}}function QX(t,n){if(1&t){const e=nt();T(0,"div",25),Me("click",function(){return Ie(e),Oe(W(3).dataFilterer.removeFilters())}),T(1,"div",26)(2,"mat-icon",19),O(3,"search"),k(),O(4),Y(5,"translate"),k(),U(6,ZX,6,5,"div",27),k()}if(2&t){const e=W(3);d(2),D("inline",!0),d(2),ye(" ",B(5,3,"vpn.server-list.current-filters"),""),d(2),D("ngForOf",e.dataFilterer.currentFiltersTexts)}}function JX(t,n){if(1&t&&(qe(0),U(1,GX,1,0,"br",21),U(2,QX,7,5,"div",24),Ke()),2&t){const e=W(2);d(1),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),d(1),D("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}const XX=function(t){return{deactivated:t}};function eee(t,n){if(1&t){const e=nt();T(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),U(4,HX,4,3,"div",15),U(5,VX,4,7,"a",16),U(6,BX,4,3,"div",15),U(7,jX,4,7,"a",16),U(8,UX,4,3,"div",15),U(9,zX,4,7,"a",16),U(10,WX,4,3,"div",15),U(11,$X,4,7,"a",16),k()()()(),T(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),Me("click",function(){Ie(e);const s=W();return Oe(s.dataFilterer?s.dataFilterer.changeFilters():null)}),Y(17,"translate"),T(18,"span")(19,"mat-icon",19),O(20,"search"),k()()()()()()(),T(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),Me("click",function(){return Ie(e),Oe(W().enterManually())}),Y(26,"translate"),T(27,"span")(28,"mat-icon",19),O(29,"add"),k()()()()()()(),U(30,JX,3,2,"ng-container",21)}if(2&t){const e=W();d(4),D("ngIf",e.currentList===e.lists.Public),d(1),D("ngIf",e.currentList!==e.lists.Public),d(1),D("ngIf",e.currentList===e.lists.History),d(1),D("ngIf",e.currentList!==e.lists.History),d(1),D("ngIf",e.currentList===e.lists.Favorites),d(1),D("ngIf",e.currentList!==e.lists.Favorites),d(1),D("ngIf",e.currentList===e.lists.Blocked),d(1),D("ngIf",e.currentList!==e.lists.Blocked),d(1),D("ngClass",Ue(18,XX,e.loading)),d(4),D("matTooltip",B(17,14,"filters.filter-info")),d(3),D("inline",!0),d(6),D("matTooltip",B(26,16,"vpn.server-list.add-manually-info")),d(3),D("inline",!0),d(2),D("ngIf",e.dataFilterer)}}function tee(t,n){1&t&&Pa(0)}function nee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(5);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function iee(t,n){if(1&t){const e=nt();T(0,"th",50),Me("click",function(){Ie(e);const s=W(4);return Oe(s.dataSorter.changeSortingOrder(s.dateSortData))}),Y(1,"translate"),T(2,"div",43)(3,"div",44),O(4),Y(5,"translate"),k(),U(6,nee,2,2,"mat-icon",41),k()()}if(2&t){const e=W(4);D("matTooltip",B(1,3,"vpn.server-list.date-info")),d(4),ye(" ",B(5,5,"vpn.server-list.date-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.dateSortData)}}function ree(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function see(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function oee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function aee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function lee(t,n){if(1&t&&(T(0,"mat-icon",19),O(1),k()),2&t){const e=W(4);D("inline",!0),d(1),pe(e.dataSorter.sortingArrow)}}function cee(t,n){if(1&t&&(T(0,"td",64),O(1),Y(2,"date"),k()),2&t){const e=W().$implicit;d(1),ye(" ",Vt(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function uee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W().$implicit;d(1),ye(" ",e.location," ")}}function dee(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),ye(" ",B(2,1,"vpn.server-list.unknown")," "))}const hee=function(t,n){return{custom:t,original:n}};function fee(t,n){if(1&t&&(T(0,"mat-icon",65),Me("click",function(i){return i.stopPropagation()}),Y(1,"translate"),O(2,"info_outline"),k()),2&t){const e=W().$implicit,i=W(4);D("inline",!0)("matTooltip",Vt(1,2,i.getNoteVar(e),hn(5,hee,e.personalNote,e.note)))}}const pee=function(t){return{"selectable click-effect":t}};function mee(t,n){if(1&t){const e=nt();T(0,"tr",51),Me("click",function(){const o=Ie(e).$implicit,a=W(4);return Oe(a.currentList!==a.lists.Blocked?a.selectServer(o):null)}),U(1,cee,3,4,"td",52),T(2,"td",53)(3,"div",54),De(4,"div",55),k()(),T(5,"td",56),De(6,"app-vpn-server-name",57),k(),T(7,"td",58),U(8,uee,2,1,"ng-container",21),U(9,dee,3,3,"ng-container",21),k(),T(10,"td",59)(11,"app-copy-to-clipboard-text",60),Me("click",function(s){return s.stopPropagation()}),k()(),T(12,"td",61),U(13,fee,3,8,"mat-icon",62),k(),T(14,"td",48)(15,"button",63),Me("click",function(s){const a=Ie(e).$implicit,l=W(4);return s.stopPropagation(),Oe(l.openOptions(a))}),Y(16,"translate"),T(17,"mat-icon",19),O(18,"settings"),k()()()()}if(2&t){const e=n.$implicit,i=W(4);D("ngClass",Ue(23,pee,i.currentList!==i.lists.Blocked)),d(1),D("ngIf",i.currentList===i.lists.History),d(3),oi("background-image: url('assets/img/big-flags/"+e.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",i.getCountryName(e.countryCode)),d(2),D("isCurrentServer",i.currentServer&&e.pk===i.currentServer.pk)("isFavorite",e.flag===i.serverFlags.Favorite&&i.currentList!==i.lists.Favorites)("isBlocked",e.flag===i.serverFlags.Blocked&&i.currentList!==i.lists.Blocked)("isInHistory",e.inHistory&&i.currentList!==i.lists.History)("hasPassword",e.usedWithPassword)("name",e.name)("pk",e.pk)("customName",e.customName)("defaultName","vpn.server-list.none"),d(2),D("ngIf",e.location),d(1),D("ngIf",!e.location),d(2),D("shortSimple",!0)("text",e.pk),d(2),D("ngIf",e.note||e.personalNote),d(2),D("matTooltip",B(16,21,"vpn.server-options.tooltip")),d(2),D("inline",!0)}}const _ee=function(t,n){return{"public-pk-column":t,"history-pk-column":n}};function gee(t,n){if(1&t){const e=nt();T(0,"table",38)(1,"tr"),U(2,iee,7,7,"th",39),T(3,"th",40),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.countrySortData))}),Y(4,"translate"),T(5,"mat-icon",19),O(6,"flag"),k(),U(7,ree,2,2,"mat-icon",41),k(),T(8,"th",42),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.nameSortData))}),T(9,"div",43)(10,"div",44),O(11),Y(12,"translate"),k(),U(13,see,2,2,"mat-icon",41),k()(),T(14,"th",45),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.locationSortData))}),T(15,"div",43)(16,"div",44),O(17),Y(18,"translate"),k(),U(19,oee,2,2,"mat-icon",41),k()(),T(20,"th",46),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.pkSortData))}),Y(21,"translate"),T(22,"div",43)(23,"div",44),O(24),Y(25,"translate"),k(),U(26,aee,2,2,"mat-icon",41),k()(),T(27,"th",47),Me("click",function(){Ie(e);const s=W(3);return Oe(s.dataSorter.changeSortingOrder(s.noteSortData))}),Y(28,"translate"),T(29,"div",43)(30,"mat-icon",19),O(31,"info_outline"),k(),U(32,lee,2,2,"mat-icon",41),k()(),De(33,"th",48),k(),U(34,mee,19,25,"tr",49),k()}if(2&t){const e=W(3);d(2),D("ngIf",e.currentList===e.lists.History),d(1),D("matTooltip",B(4,16,"vpn.server-list.country-info")),d(2),D("inline",!0),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.countrySortData),d(4),ye(" ",B(12,18,"vpn.server-list.name-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),d(4),ye(" ",B(18,20,"vpn.server-list.location-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.locationSortData),d(1),D("ngClass",hn(28,_ee,e.currentList===e.lists.Public,e.currentList===e.lists.History))("matTooltip",B(21,22,"vpn.server-list.public-key-info")),d(4),ye(" ",B(25,24,"vpn.server-list.public-key-small-table-label")," "),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.pkSortData),d(1),D("matTooltip",B(28,26,"vpn.server-list.note-info")),d(3),D("inline",!0),d(2),D("ngIf",e.dataSorter.currentSortingColumn===e.noteSortData),d(2),D("ngForOf",e.dataSource)}}function vee(t,n){if(1&t&&(T(0,"div",35)(1,"div",36),U(2,gee,35,31,"table",37),k()()),2&t){const e=W(2);d(2),D("ngIf",e.dataSource.length>0)}}const bee=function(t,n){return["/vpn",t,"servers",n]};function yee(t,n){if(1&t&&De(0,"app-paginator",66),2&t){const e=W(2);D("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",hn(4,bee,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Mee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-discovery")))}function wee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-history")))}function Cee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-favorites")))}function See(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-blocked")))}function Dee(t,n){1&t&&(T(0,"span",70),O(1),Y(2,"translate"),k()),2&t&&(d(1),pe(B(2,1,"vpn.server-list.empty-with-filter")))}function kee(t,n){if(1&t&&(T(0,"div",35)(1,"div",67)(2,"mat-icon",68),O(3,"warning"),k(),U(4,Mee,3,3,"span",69),U(5,wee,3,3,"span",69),U(6,Cee,3,3,"span",69),U(7,See,3,3,"span",69),U(8,Dee,3,3,"span",69),k()()),2&t){const e=W(2);d(2),D("inline",!0),d(2),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),d(1),D("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),d(1),D("ngIf",0!==e.allServers.length)}}const Tee=function(t){return{"mb-3":t}};function xee(t,n){if(1&t&&(T(0,"div",29)(1,"div",30),De(2,"app-top-bar",5),k(),T(3,"div",31)(4,"div",7)(5,"div",32),U(6,tee,1,0,"ng-container",9),k(),U(7,vee,3,1,"div",33),U(8,yee,1,7,"app-paginator",34),U(9,kee,9,6,"div",33),k()()()),2&t){const e=W(),i=li(2);d(2),D("titleParts",Hn(10,pP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(3),D("ngClass",Ue(11,Tee,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),d(1),D("ngTemplateOutlet",i),d(1),D("ngIf",0!==e.dataSource.length),d(1),D("ngIf",e.numberOfPages>1),d(1),D("ngIf",0===e.dataSource.length)}}var Ti=(()=>(function(t){t.Public="public",t.History="history",t.Favorites="favorites",t.Blocked="blocked"}(Ti||(Ti={})),Ti))();let mP=(()=>{class t{constructor(e,i,s,o,a,l,c,_,E){this.dialog=e,this.router=i,this.translateService=s,this.route=o,this.vpnClientDiscoveryService=a,this.vpnClientService=l,this.vpnSavedDataService=c,this.snackbarService=_,this.storageService=E,this.maxFullListElements=50,this.dateSortData=new In(["lastUsed"],"vpn.server-list.date-small-table-label",Jt.NumberReversed),this.countrySortData=new In(["countryName"],"vpn.server-list.country-small-table-label",Jt.Text),this.nameSortData=new In(["name"],"vpn.server-list.name-small-table-label",Jt.Text),this.locationSortData=new In(["location"],"vpn.server-list.location-small-table-label",Jt.Text),this.pkSortData=new In(["pk"],"vpn.server-list.public-key-small-table-label",Jt.Text),this.noteSortData=new In(["note"],"vpn.server-list.note-small-table-label",Jt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=qi.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Ti.Public,this.vpnRunning=!1,this.serverFlags=Bn,this.lists=Ti,this.initialLoadStarted=!1,this.navigationsSubscription=o.paramMap.subscribe(R=>{if(R.has("type")?R.get("type")===Ti.Favorites?(this.currentList=Ti.Favorites,this.listId="vfs"):R.get("type")===Ti.Blocked?(this.currentList=Ti.Blocked,this.listId="vbs"):R.get("type")===Ti.History?(this.currentList=Ti.History,this.listId="vhs"):(this.currentList=Ti.Public,this.listId="vps"):(this.currentList=Ti.Public,this.listId="vps"),qi.setDefaultTabForServerList(this.currentList),R.has("key")&&(this.currentLocalPk=R.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData),R.has("page")){let $=Number.parseInt(R.get("page"),10);(isNaN($)||$<1)&&($=1),this.currentPageInUrl=$,this.recalculateElementsToShow()}this.initialLoadStarted||(this.initialLoadStarted=!0,this.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(R=>this.currentServer=R),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(R=>{R&&(this.loadingBackendData=!1,this.vpnRunning=R.vpnClientAppData.running)})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()}enterManually(){AX.openDialog(this.dialog,this.currentLocalPk)}getNoteVar(e){return e.note&&e.personalNote?"vpn.server-list.notes-info":!e.note&&e.personalNote?e.personalNote:e.note}selectServer(e){const i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),i&&i.flag===Bn.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===e.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{const s=rn.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.closeModal(),this.vpnClientService.start(),qi.redirectAfterServerChange(this.router,null,this.currentLocalPk)})}return}if(i&&i.usedWithPassword)return void LE.openDialog(this.dialog,!0).afterClosed().subscribe(s=>{s&&this.makeServerChange(e,"-"===s?null:s.substr(1))});this.makeServerChange(e,null)}}makeServerChange(e,i){qi.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,e.originalLocalData,e.originalDiscoveryData,null,i)}openOptions(e){let i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);i||(i=this.vpnSavedDataService.processFromDiscovery(e.originalDiscoveryData)),i?qi.openServerOptions(i,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(s=>{s&&this.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}loadData(){if(this.currentList===Ti.Public)this.dataSubscription=this.vpnClientDiscoveryService.getServers().subscribe(e=>{this.allServers=e.map(i=>({countryCode:i.countryCode,countryName:this.getCountryName(i.countryCode),name:i.name,customName:null,location:i.location,pk:i.pk,note:i.note,personalNote:null,originalDiscoveryData:i})),this.vpnSavedDataService.updateFromDiscovery(e),this.loading=!1,this.processAllServers()});else{let e;e=this.currentList===Ti.History?this.vpnSavedDataService.history:this.currentList===Ti.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked,this.dataSubscription=e.subscribe(i=>{const s=[];i.forEach(o=>{s.push({countryCode:o.countryCode,countryName:this.getCountryName(o.countryCode),name:o.name,customName:null,location:o.location,pk:o.pk,note:o.note,personalNote:null,lastUsed:o.lastUsed,inHistory:o.inHistory,flag:o.flag,originalLocalData:o})}),this.allServers=s,this.loading=!1,this.processAllServers()})}}processAllServers(){this.fillFilterPropertiesArray();const e=new Set;this.allServers.forEach((_,E)=>{e.add(_.countryCode);const R=this.vpnSavedDataService.getSavedVersion(_.pk,0===E);_.customName=R?R.customName:null,_.personalNote=R?R.personalNote:null,_.inHistory=!!R&&R.inHistory,_.flag=R?R.flag:Bn.None,_.enteredManually=!!R&&R.enteredManually,_.usedWithPassword=!!R&&R.usedWithPassword});let i=[];e.forEach(_=>{i.push({label:this.getCountryName(_),value:_,image:"/assets/img/big-flags/"+_.toLowerCase()+".png"})}),i.sort((_,E)=>_.label.localeCompare(E.label)),i=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(i),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:qn.Select,printableLabelsForValues:i,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);const o=[];let a,l,c;this.currentList===Ti.Public?(o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),a=0,l=1):(this.currentList===Ti.History&&o.push(this.dateSortData),o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),a=this.currentList===Ti.History?0:1,l=this.currentList===Ti.History?2:3),this.dataSorter=new mu(this.dialog,this.translateService,this.storageService,o,a,this.listId),this.dataSorter.setTieBreakerColumnIndex(l),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new gu(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredServers=_,this.dataSorter.setData(this.filteredServers)}),c=this.currentList===Ti.Public?this.allServers.filter(_=>_.flag!==Bn.Blocked):this.allServers,this.dataFilterer.setData(c)}fillFilterPropertiesArray(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:qn.TextInput,maxlength:100}]}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){const e=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(i,i+e)}else this.serversToShow=null;this.dataSource=this.serversToShow}getCountryName(e){return sa[e.toUpperCase()]?sa[e.toUpperCase()]:e}}return t.\u0275fac=function(e){return new(e||t)(N(Gn),N(Ut),N(Hr),N(Qi),N(FX),N(wu),N(Yl),N(Vn),N(Xi))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,i){1&e&&(U(0,YX,8,7,"div",0),U(1,eee,31,20,"ng-template",null,1,Oa),U(3,xee,10,13,"div",2)),2&e&&(D("ngIf",i.loading||i.loadingBackendData),d(3),D("ngIf",!i.loading&&!i.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:400!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})();function Eee(t){const{subscriber:n,counter:e,period:i}=t;n.next(e),this.schedule({subscriber:n,counter:e+1,period:i},i)}const Bh=function(t,n){return{"small-text-icon":t,"big-text-icon":n}};function Pee(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"done"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.selected-info"))}}function Iee(t,n){if(1&t&&(T(0,"mat-icon",5),Y(1,"translate"),O(2,"clear"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.blocked-info"))}}function Oee(t,n){if(1&t&&(T(0,"mat-icon",6),Y(1,"translate"),O(2,"star"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.favorite-info"))}}function Aee(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"history"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.history-info"))}}function Ree(t,n){if(1&t&&(T(0,"mat-icon",4),Y(1,"translate"),O(2,"lock_outlined"),k()),2&t){const e=W();D("ngClass",hn(5,Bh,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",B(1,3,"vpn.server-conditions.has-password-info"))}}function Fee(t,n){if(1&t&&(qe(0),O(1),T(2,"mat-icon",7),O(3,"fiber_manual_record"),k(),O(4),Ke()),2&t){const e=W();d(1),ye(" ",e.customName," "),d(1),D("inline",!0),d(2),ye(" ",e.name,"\n")}}function Nee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W();d(1),pe(e.customName)}}function Yee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W();d(1),pe(e.name)}}function Hee(t,n){if(1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t){const e=W();d(1),pe(B(2,1,e.defaultName))}}let _P=(()=>{class t{constructor(){this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(e,i){1&e&&(U(0,Pee,3,8,"mat-icon",0),U(1,Iee,3,8,"mat-icon",1),U(2,Oee,3,8,"mat-icon",2),U(3,Aee,3,8,"mat-icon",0),U(4,Ree,3,8,"mat-icon",0),U(5,Fee,5,3,"ng-container",3),U(6,Nee,2,1,"ng-container",3),U(7,Yee,2,1,"ng-container",3),U(8,Hee,3,3,"ng-container",3)),2&e&&(D("ngIf",i.isCurrentServer),d(1),D("ngIf",i.isBlocked),d(1),D("ngIf",i.isFavorite),d(1),D("ngIf",i.isInHistory),d(1),D("ngIf",i.hasPassword),d(1),D("ngIf",i.customName&&i.name&&(!i.pk||i.name!==i.pk)),d(1),D("ngIf",(!i.name||i.pk&&i.name===i.pk)&&i.customName),d(1),D("ngIf",i.name&&(!i.pk||i.name!==i.pk)&&!i.customName),d(1),D("ngIf",(!i.name||i.pk&&i.name===i.pk)&&!i.customName))},dependencies:[Wn,Ot,Cn,vi,kt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),t})();const gP=function(){return["vpn.title"]};function Vee(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3),k(),De(3,"app-loading-indicator"),k()),2&t){const e=W();d(2),D("titleParts",Hn(5,gP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function Bee(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",40)}function jee(t,n){1&t&&(T(0,"mat-icon",33),O(1,"power_settings_new"),k()),2&t&&D("inline",!0)}function Uee(t,n){if(1&t){const e=nt();qe(0),T(1,"div",34),De(2,"div",35),k(),T(3,"div",36)(4,"div",37),De(5,"app-vpn-server-name",38),k(),T(6,"div",39),De(7,"app-copy-to-clipboard-text",40),k()(),T(8,"div",41),De(9,"div"),k(),T(10,"div",42)(11,"mat-icon",43),Me("click",function(){return Ie(e),Oe(W(3).openServerOptions())}),Y(12,"translate"),O(13,"settings"),k()(),Ke()}if(2&t){const e=W(3);d(2),oi("background-image: url('assets/img/big-flags/"+e.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",e.getCountryName(e.currentRemoteServer.countryCode)),d(3),D("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),d(2),D("shortSimple",!0)("text",e.currentRemoteServer.pk),d(4),D("inline",!0)("matTooltip",B(12,13,"vpn.server-options.tooltip"))}}function zee(t,n){1&t&&(qe(0),T(1,"div",44),O(2),Y(3,"translate"),k(),Ke()),2&t&&(d(2),pe(B(3,1,"vpn.status-page.no-server")))}const Wee=function(t,n){return{custom:t,original:n}};function $ee(t,n){if(1&t&&(T(0,"div",45)(1,"mat-icon",33),O(2,"info_outline"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ye(" ",Vt(4,2,e.getNoteVar(),hn(5,Wee,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function Gee(t,n){if(1&t&&(T(0,"div",46)(1,"mat-icon",33),O(2,"cancel"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ps(" ",B(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}const vP=function(t){return{"disabled-button":t}};function qee(t,n){if(1&t){const e=nt();T(0,"div",22)(1,"div",11)(2,"div",13),O(3),Y(4,"translate"),k(),T(5,"div")(6,"div",23),Me("click",function(){return Ie(e),Oe(W(2).start())}),T(7,"div",24),De(8,"div",25),k(),T(9,"div",24),De(10,"div",26),k(),U(11,Bee,1,1,"mat-spinner",27),U(12,jee,2,1,"mat-icon",28),k()(),T(13,"div",29),U(14,Uee,14,15,"ng-container",18),U(15,zee,4,3,"ng-container",18),k(),T(16,"div"),U(17,$ee,5,8,"div",30),k(),T(18,"div"),U(19,Gee,5,5,"div",31),k()()()}if(2&t){const e=W(2);d(3),pe(B(4,8,"vpn.status-page.start-title")),d(3),D("ngClass",Ue(10,vP,e.showBusy)),d(5),D("ngIf",e.showBusy),d(1),D("ngIf",!e.showBusy),d(2),D("ngIf",e.currentRemoteServer),d(1),D("ngIf",!e.currentRemoteServer),d(2),D("ngIf",e.currentRemoteServer&&(e.currentRemoteServer.note||e.currentRemoteServer.personalNote)),d(2),D("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.lastErrorMsg)}}function Kee(t,n){if(1&t&&(T(0,"div",77)(1,"mat-icon",33),O(2,"cancel"),k(),O(3),Y(4,"translate"),k()),2&t){const e=W(3);d(1),D("inline",!0),d(2),ps(" ",B(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function Zee(t,n){1&t&&(T(0,"div"),De(1,"mat-spinner",32),k()),2&t&&(d(1),D("diameter",24))}function Qee(t,n){1&t&&(T(0,"mat-icon",33),O(1,"power_settings_new"),k()),2&t&&D("inline",!0)}const Cu=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:t}},bP=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}},yP=function(t){return{showValue:!0,showUnit:!0,useBits:t}},w_=function(t){return{time:t}};function Jee(t,n){if(1&t){const e=nt();T(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),O(5,"timer"),k(),T(6,"span"),O(7),k()()(),T(8,"div",50),O(9),Y(10,"translate"),k(),T(11,"div",51)(12,"div",52),O(13),Y(14,"translate"),k(),De(15,"div"),k(),T(16,"div",53),O(17),Y(18,"translate"),k(),U(19,Kee,5,5,"div",54),T(20,"div",55)(21,"div",56),Y(22,"translate"),T(23,"div",57),De(24,"app-line-chart",58),k(),T(25,"div",59)(26,"div",60)(27,"div",61),O(28),Y(29,"autoScale"),k(),De(30,"div",62),k()(),T(31,"div",59)(32,"div",63)(33,"div",61),O(34),Y(35,"autoScale"),k(),De(36,"div",62),k()(),T(37,"div",59)(38,"div",64)(39,"div",61),O(40),Y(41,"autoScale"),k()()(),T(42,"div",65)(43,"mat-icon",66),O(44,"keyboard_backspace"),k(),T(45,"div",67),O(46),Y(47,"autoScale"),k(),T(48,"div",68),O(49),Y(50,"autoScale"),Y(51,"translate"),k()()(),T(52,"div",56),Y(53,"translate"),T(54,"div",57),De(55,"app-line-chart",58),k(),T(56,"div",69)(57,"div",60)(58,"div",61),O(59),Y(60,"autoScale"),k(),De(61,"div",62),k()(),T(62,"div",59)(63,"div",63)(64,"div",61),O(65),Y(66,"autoScale"),k(),De(67,"div",62),k()(),T(68,"div",59)(69,"div",64)(70,"div",61),O(71),Y(72,"autoScale"),k()()(),T(73,"div",65)(74,"mat-icon",70),O(75,"keyboard_backspace"),k(),T(76,"div",67),O(77),Y(78,"autoScale"),k(),T(79,"div",68),O(80),Y(81,"autoScale"),Y(82,"translate"),k()()()(),T(83,"div",71)(84,"div",72),Y(85,"translate"),T(86,"div",57),De(87,"app-line-chart",73),k(),T(88,"div",69)(89,"div",60)(90,"div",61),O(91),Y(92,"translate"),k(),De(93,"div",62),k()(),T(94,"div",59)(95,"div",63)(96,"div",61),O(97),Y(98,"translate"),k(),De(99,"div",62),k()(),T(100,"div",59)(101,"div",64)(102,"div",61),O(103),Y(104,"translate"),k()()(),T(105,"div",65)(106,"mat-icon",33),O(107,"swap_horiz"),k(),T(108,"div"),O(109),Y(110,"translate"),k()()()(),T(111,"div",74),Me("click",function(){return Ie(e),Oe(W(2).stop())}),T(112,"div",75)(113,"div",76),U(114,Zee,2,1,"div",18),U(115,Qee,2,1,"mat-icon",28),T(116,"span"),O(117),Y(118,"translate"),k()()()()()()}if(2&t){const e=W(2);d(4),D("inline",!0),d(3),pe(e.connectionTimeString),d(2),pe(B(10,58,"vpn.connection-info.state-title")),d(4),pe(B(14,60,e.currentStateText)),d(2),fs("state-line "+e.currentStateLineClass),d(2),pe(B(18,62,e.currentStateText+"-info")),d(2),D("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.connectionData&&e.backendState.vpnClientAppData.connectionData.error),d(2),D("matTooltip",B(22,64,"vpn.status-page.upload-info")),d(3),D("animated",!1)("data",e.sentHistory)("min",e.minUploadInGraph)("max",e.maxUploadInGraph),d(4),ye(" ",Vt(29,66,e.maxUploadInGraph,Ue(118,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(35,69,e.midUploadInGraph,Ue(120,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(41,72,e.minUploadInGraph,Ue(122,Cu,e.showSpeedsInBits))," "),d(3),D("inline",!0),d(3),pe(Vt(47,75,e.uploadSpeed,Ue(124,bP,e.showSpeedsInBits))),d(3),ps(" ",Vt(50,78,e.totalUploaded,Ue(126,yP,e.showTotalsInBits))," ",B(51,81,"vpn.status-page.total-data-label")," "),d(3),D("matTooltip",B(53,83,"vpn.status-page.download-info")),d(3),D("animated",!1)("data",e.receivedHistory)("min",e.minDownloadInGraph)("max",e.maxDownloadInGraph),d(4),ye(" ",Vt(60,85,e.maxDownloadInGraph,Ue(128,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(66,88,e.midDownloadInGraph,Ue(130,Cu,e.showSpeedsInBits))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(72,91,e.minDownloadInGraph,Ue(132,Cu,e.showSpeedsInBits))," "),d(3),D("inline",!0),d(3),pe(Vt(78,94,e.downloadSpeed,Ue(134,bP,e.showSpeedsInBits))),d(3),ps(" ",Vt(81,97,e.totalDownloaded,Ue(136,yP,e.showTotalsInBits))," ",B(82,100,"vpn.status-page.total-data-label")," "),d(4),D("matTooltip",B(85,102,"vpn.status-page.latency-info")),d(3),D("animated",!1)("data",e.latencyHistory)("min",e.minLatencyInGraph)("max",e.maxLatencyInGraph),d(4),ye(" ",Vt(92,104,"common."+e.getLatencyValueString(e.maxLatencyInGraph),Ue(138,w_,e.getPrintableLatency(e.maxLatencyInGraph)))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin+"px;"),d(4),ye(" ",Vt(98,107,"common."+e.getLatencyValueString(e.midLatencyInGraph),Ue(140,w_,e.getPrintableLatency(e.midLatencyInGraph)))," "),d(2),oi("margin-top: "+e.graphsTopInternalMargin/2+"px;"),d(4),ye(" ",Vt(104,110,"common."+e.getLatencyValueString(e.minLatencyInGraph),Ue(142,w_,e.getPrintableLatency(e.minLatencyInGraph)))," "),d(3),D("inline",!0),d(3),pe(Vt(110,113,"common."+e.getLatencyValueString(e.latency),Ue(144,w_,e.getPrintableLatency(e.latency)))),d(2),D("ngClass",Ue(146,vP,e.showBusy)),d(3),D("ngIf",e.showBusy),d(1),D("ngIf",!e.showBusy),d(2),pe(B(118,116,"vpn.status-page.disconnect"))}}function Xee(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.currentIp)}}function ete(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.unknown")))}function tte(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",20)}function nte(t,n){1&t&&(T(0,"mat-icon",81),Y(1,"translate"),O(2,"warning"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-problem-info"))}function ite(t,n){if(1&t){const e=nt();T(0,"mat-icon",82),Me("click",function(){return Ie(e),Oe(W(3).getIp())}),Y(1,"translate"),O(2,"refresh"),k()}2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-refresh-info"))}function rte(t,n){if(1&t&&(T(0,"div",78),U(1,Xee,2,1,"ng-container",18),U(2,ete,3,3,"ng-container",18),U(3,tte,1,1,"mat-spinner",27),U(4,nte,3,4,"mat-icon",79),U(5,ite,3,4,"mat-icon",80),k()),2&t){const e=W(2);d(1),D("ngIf",e.currentIp),d(1),D("ngIf",!e.currentIp&&!e.loadingCurrentIp),d(1),D("ngIf",e.loadingCurrentIp),d(1),D("ngIf",e.problemGettingIp),d(1),D("ngIf",!e.loadingCurrentIp)}}function ste(t,n){1&t&&(T(0,"div",78),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"vpn.status-page.data.unavailable")," "))}function ote(t,n){if(1&t&&(qe(0),O(1),Ke()),2&t){const e=W(3);d(1),pe(e.ipCountry)}}function ate(t,n){1&t&&(qe(0),O(1),Y(2,"translate"),Ke()),2&t&&(d(1),pe(B(2,1,"common.unknown")))}function lte(t,n){1&t&&De(0,"mat-spinner",32),2&t&&D("diameter",20)}function cte(t,n){1&t&&(T(0,"mat-icon",81),Y(1,"translate"),O(2,"warning"),k()),2&t&&D("inline",!0)("matTooltip",B(1,2,"vpn.status-page.data.ip-country-problem-info"))}function ute(t,n){if(1&t&&(T(0,"div",78),U(1,ote,2,1,"ng-container",18),U(2,ate,3,3,"ng-container",18),U(3,lte,1,1,"mat-spinner",27),U(4,cte,3,4,"mat-icon",79),k()),2&t){const e=W(2);d(1),D("ngIf",e.ipCountry),d(1),D("ngIf",!e.ipCountry&&!e.loadingCurrentIp),d(1),D("ngIf",e.loadingCurrentIp),d(1),D("ngIf",e.problemGettingIp)}}function dte(t,n){1&t&&(T(0,"div",78),O(1),Y(2,"translate"),k()),2&t&&(d(1),ye(" ",B(2,1,"vpn.status-page.data.unavailable")," "))}function hte(t,n){if(1&t){const e=nt();T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",78),De(5,"app-vpn-server-name",83),T(6,"mat-icon",82),Me("click",function(){return Ie(e),Oe(W(2).openServerOptions())}),Y(7,"translate"),O(8,"settings"),k()()()}if(2&t){const e=W(2);d(2),pe(B(3,10,"vpn.status-page.data.server")),d(3),D("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),d(1),D("inline",!0)("matTooltip",B(7,12,"vpn.server-options.tooltip"))}}function fte(t,n){1&t&&De(0,"div",15)}function pte(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),O(5),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data.server-note")),d(3),ye(" ",e.currentRemoteServer.personalNote," ")}}function mte(t,n){1&t&&De(0,"div",15)}function _te(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),O(5),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),d(3),ye(" ",e.currentRemoteServer.note," ")}}function gte(t,n){1&t&&De(0,"div",15)}function vte(t,n){if(1&t&&(T(0,"div")(1,"div",13),O(2),Y(3,"translate"),k(),T(4,"div",20),De(5,"app-copy-to-clipboard-text",21),k()()),2&t){const e=W(2);d(2),pe(B(3,2,"vpn.status-page.data.remote-pk")),d(3),D("text",e.currentRemoteServer.pk)}}function bte(t,n){1&t&&De(0,"div",15)}function yte(t,n){if(1&t&&(T(0,"div",4)(1,"div",5)(2,"div",6),De(3,"app-top-bar",3),k()(),T(4,"div",7),U(5,qee,20,12,"div",8),U(6,Jee,119,148,"div",9),T(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),O(12),Y(13,"translate"),k(),U(14,rte,6,5,"div",14),U(15,ste,3,3,"div",14),k(),De(16,"div",15),T(17,"div")(18,"div",13),O(19),Y(20,"translate"),k(),U(21,ute,5,4,"div",14),U(22,dte,3,3,"div",14),k(),De(23,"div",16)(24,"div",17)(25,"div",16),U(26,hte,9,14,"div",18),U(27,fte,1,0,"div",19),U(28,pte,6,4,"div",18),U(29,mte,1,0,"div",19),U(30,_te,6,4,"div",18),U(31,gte,1,0,"div",19),U(32,vte,6,4,"div",18),U(33,bte,1,0,"div",19),T(34,"div")(35,"div",13),O(36),Y(37,"translate"),k(),T(38,"div",20),De(39,"app-copy-to-clipboard-text",21),k()()()()()()()),2&t){const e=W();d(3),D("titleParts",Hn(29,gP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(2),D("ngIf",!e.showStarted),d(1),D("ngIf",e.showStarted),d(6),pe(B(13,23,"vpn.status-page.data.ip")),d(2),D("ngIf",e.ipInfoAllowed),d(1),D("ngIf",!e.ipInfoAllowed),d(4),pe(B(20,25,"vpn.status-page.data.country")),d(2),D("ngIf",e.ipInfoAllowed),d(1),D("ngIf",!e.ipInfoAllowed),d(4),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(1),D("ngIf",e.showStarted&&e.currentRemoteServer),d(3),pe(B(37,27,"vpn.status-page.data.local-pk")),d(3),D("text",e.currentLocalPk)}}let Mte=(()=>{class t{constructor(e,i,s,o,a,l,c){this.vpnClientService=e,this.vpnSavedDataService=i,this.snackbarService=s,this.translateService=o,this.route=a,this.dialog=l,this.router=c,this.tabsData=qi.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=Q0.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=Bn,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();const _=this.vpnSavedDataService.getDataUnitsSetting();_===ns.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):_===ns.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}ngOnInit(){this.navigationsSubscription=this.route.paramMap.subscribe(e=>{e.has("key")&&(this.currentLocalPk=e.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData),setTimeout(()=>this.navigationsSubscription.unsubscribe()),this.dataSubscription=this.vpnClientService.backendState.subscribe(i=>{if(i&&i.serviceState!==Gi.PerformingInitialCheck){const s=!this.backendState;if(this.backendState=i,(s||this.lastAppState===pn.Running&&i.vpnClientAppData.appState!==pn.Running||this.lastAppState!==pn.Running&&i.vpnClientAppData.appState===pn.Running)&&this.getIp(!0),this.showStarted=i.vpnClientAppData.running||i.vpnClientAppData.appState!==pn.Stopped,this.showStartedLastValue!==this.showStarted){for(let o=0;o<10;o++)this.receivedHistory[o]=0,this.sentHistory[o]=0,this.latencyHistory[o]=0;this.updateGraphLimits(),this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0}if(this.lastAppState=i.vpnClientAppData.appState,this.showStartedLastValue=this.showStarted,this.stopRequested?this.showStarted||(this.stopRequested=!1,this.showBusy=i.busy):this.showBusy=i.busy,i.vpnClientAppData.connectionData){for(let o=0;o<10;o++)this.receivedHistory[o]=i.vpnClientAppData.connectionData.downloadSpeedHistory[o],this.sentHistory[o]=i.vpnClientAppData.connectionData.uploadSpeedHistory[o],this.latencyHistory[o]=i.vpnClientAppData.connectionData.latencyHistory[o];this.updateGraphLimits(),this.uploadSpeed=i.vpnClientAppData.connectionData.uploadSpeed,this.downloadSpeed=i.vpnClientAppData.connectionData.downloadSpeed,this.totalUploaded=i.vpnClientAppData.connectionData.totalUploaded,this.totalDownloaded=i.vpnClientAppData.connectionData.totalDownloaded,this.latency=i.vpnClientAppData.connectionData.latency}i.vpnClientAppData.running&&i.vpnClientAppData.appState===pn.Running&&i.vpnClientAppData.connectionData&&i.vpnClientAppData.connectionData.connectionDuration?(-1===this.calculatedSegs||i.vpnClientAppData.connectionData.connectionDuration>this.calculatedSegs+2||i.vpnClientAppData.connectionData.connectionDuration(e.add(n.schedule(Eee,t,{subscriber:e,counter:0,period:t})),e))}(1e3).subscribe(()=>{this.calculatedSegs+=1,this.refreshConnectionTimeString()})):this.timeUpdateSubscription&&(this.timeUpdateSubscription.unsubscribe(),this.timeUpdateSubscription=null,this.calculatedSegs=-1,this.connectionTimeString="00:00:00"),this.loading=!1}}),this.currentRemoteServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(i=>{this.currentRemoteServer=i})})}refreshConnectionTimeString(){const e=this.calculatedSegs%60,i=Math.floor(this.calculatedSegs/60),s=i%60,o=Math.floor(i/60);this.connectionTimeString=String(o).padStart(2,"0")+":"+String(s).padStart(2,"0")+":"+String(e).padStart(2,"0")}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.currentRemoteServerSubscription.unsubscribe(),this.closeOperationSubscription(),this.ipSubscription&&this.ipSubscription.unsubscribe(),this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}start(){if(!this.currentRemoteServer)return this.router.navigate(["vpn",this.currentLocalPk,"servers"]),void setTimeout(()=>this.snackbarService.showWarning("vpn.status-page.select-server-warning"),100);this.currentRemoteServer.flag!==Bn.Blocked?(this.showBusy=!0,this.vpnClientService.start()):this.snackbarService.showError("vpn.starting-blocked-server-error")}stop(){if(!this.backendState.vpnClientAppData.killswitch)return void this.finishStoppingVpn();const e=rn.createConfirmationDialog(this.dialog,"vpn.status-page.disconnect-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishStoppingVpn()})}finishStoppingVpn(){this.stopRequested=!0,this.showBusy=!0,this.vpnClientService.stop()}openServerOptions(){qi.openServerOptions(this.currentRemoteServer,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe()}getCountryName(e){return sa[e.toUpperCase()]?sa[e.toUpperCase()]:e}getNoteVar(){return this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?"vpn.server-list.notes-info":!this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?this.currentRemoteServer.personalNote:this.currentRemoteServer.note}getLatencyValueString(e){return qi.getLatencyValueString(e)}getPrintableLatency(e){return qi.getPrintableLatency(e)}get currentStateText(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"vpn.connection-info.state-disconnected":this.backendState.vpnClientAppData.appState===pn.Connecting?"vpn.connection-info.state-connecting":this.backendState.vpnClientAppData.appState===pn.Running?"vpn.connection-info.state-connected":this.backendState.vpnClientAppData.appState===pn.ShuttingDown?"vpn.connection-info.state-disconnecting":this.backendState.vpnClientAppData.appState===pn.Reconnecting?"vpn.connection-info.state-reconnecting":void 0}get currentStateLineClass(){return this.backendState.vpnClientAppData.appState===pn.Stopped?"red-line":this.backendState.vpnClientAppData.appState===pn.Connecting?"yellow-line":this.backendState.vpnClientAppData.appState===pn.Running?"green-line":"yellow-line"}closeOperationSubscription(){this.operationSubscription&&this.operationSubscription.unsubscribe()}updateGraphLimits(){const e=this.calculateGraphLimits(this.sentHistory);this.minUploadInGraph=e[0],this.midUploadInGraph=e[1],this.maxUploadInGraph=e[2];const i=this.calculateGraphLimits(this.receivedHistory);this.minDownloadInGraph=i[0],this.midDownloadInGraph=i[1],this.maxDownloadInGraph=i[2];const s=this.calculateGraphLimits(this.latencyHistory);this.minLatencyInGraph=s[0],this.midLatencyInGraph=s[1],this.maxLatencyInGraph=s[2]}calculateGraphLimits(e){let s=0,o=0;return e.forEach(a=>{a>s&&(s=a)}),0===s&&(s+=1),o=new(m_())(s).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),[0,o,s]}getIp(e=!1){if(this.ipInfoAllowed){if(!e){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");const i=1e4;if(Date.now()-this.lastIpRefresDate{this.loadingCurrentIp=!1,this.lastIpRefresDate=Date.now(),i?(this.problemGettingIp=!1,this.currentIp=i[0],this.ipCountry=i[1]):this.problemGettingIp=!0},()=>{this.lastIpRefresDate=Date.now(),this.loadingCurrentIp=!1,this.problemGettingIp=!1})}}}return t.\u0275fac=function(e){return new(e||t)(N(wu),N(Yl),N(Vn),N(Hr),N(Qi),N(Gn),N(Ut))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-status"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","general-container",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"general-container"],[1,"row"],[1,"col-12"],[1,"row","flex-1"],["class","col-7 column left-area",4,"ngIf"],["class","col-7 column left-area-connected",4,"ngIf"],[1,"col-5","column","right-area"],[1,"column-container"],[1,"content-area"],[1,"title"],["class","big-text",4,"ngIf"],[1,"margin"],[1,"big-margin"],[1,"separator"],[4,"ngIf"],["class","margin",4,"ngIf"],[1,"small-text"],[3,"text"],[1,"col-7","column","left-area"],[1,"start-button",3,"ngClass","click"],[1,"start-button-img-container"],[1,"start-button-img"],[1,"start-button-img","animated-button"],[3,"diameter",4,"ngIf"],[3,"inline",4,"ngIf"],[1,"current-server"],["class","lower-text current-server-note",4,"ngIf"],["class","lower-text last-error",4,"ngIf"],[3,"diameter"],[3,"inline"],[1,"flag"],[3,"matTooltip"],[1,"text-container"],[1,"top-line"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","name","pk","customName"],[1,"bottom-line"],[3,"shortSimple","text"],[1,"icon-button-separator"],[1,"icon-button"],[1,"transparent-button","vpn-small-button",3,"inline","matTooltip","click"],[1,"none"],[1,"lower-text","current-server-note"],[1,"lower-text","last-error"],[1,"col-7","column","left-area-connected"],[1,"time-container"],[1,"time-content"],[1,"state-title"],[1,"d-inline-block"],[1,"state-text"],[1,"state-explanation"],["class","last-connected-error",4,"ngIf"],[1,"data-container"],[1,"rounded-elevated-box","data-box","big-box",3,"matTooltip"],[1,"chart-container"],["height","140","color","#00000080",3,"animated","data","min","max"],[1,"chart-label"],[1,"label-container","label-top"],[1,"label"],[1,"line"],[1,"label-container","label-mid"],[1,"label-container","label-bottom"],[1,"content"],[1,"upload",3,"inline"],[1,"speed"],[1,"total"],[1,"chart-label","top-chart-label"],[1,"download",3,"inline"],[1,"latency-container"],[1,"rounded-elevated-box","data-box","small-box",3,"matTooltip"],["height","50","color","#00000080",3,"animated","data","min","max"],[1,"disconnect-button",3,"ngClass","click"],[1,"disconnect-button-container"],[1,"d-inline-flex"],[1,"last-connected-error"],[1,"big-text"],["class","small-icon blinking",3,"inline","matTooltip",4,"ngIf"],["class","big-icon transparent-button vpn-small-button",3,"inline","matTooltip","click",4,"ngIf"],[1,"small-icon","blinking",3,"inline","matTooltip"],[1,"big-icon","transparent-button","vpn-small-button",3,"inline","matTooltip","click"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","adjustIconsForBigText","name","pk","customName"]],template:function(e,i){1&e&&(U(0,Vee,4,6,"div",0),U(1,yte,40,30,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Wn,Ot,Cn,vi,Vr,Z0,Q0,ko,Hl,_P,kt,Vh],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.general-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.column[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;padding-top:40px;padding-bottom:20px}.column[_ngcontent-%COMP%] .column-container[_ngcontent-%COMP%]{width:100%;text-align:center}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:100px;font-size:.8rem;padding:8px 15px;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%]{color:#bbb}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:top}.left-area-connected[_ngcontent-%COMP%] .state-title[_ngcontent-%COMP%]{font-size:1rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .state-text[_ngcontent-%COMP%]{font-size:2rem;text-transform:uppercase}.left-area-connected[_ngcontent-%COMP%] .state-line[_ngcontent-%COMP%]{height:1px;width:100%;margin-bottom:5px}.left-area-connected[_ngcontent-%COMP%] .green-line[_ngcontent-%COMP%]{background-color:#2ecc54}.left-area-connected[_ngcontent-%COMP%] .yellow-line[_ngcontent-%COMP%]{background-color:#d48b05}.left-area-connected[_ngcontent-%COMP%] .red-line[_ngcontent-%COMP%]{background-color:#da3439}.left-area-connected[_ngcontent-%COMP%] .state-explanation[_ngcontent-%COMP%]{font-size:.7rem}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%]{margin-top:15px;font-size:.8rem;color:#ff393f}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .data-container[_ngcontent-%COMP%]{margin-top:20px}.left-area-connected[_ngcontent-%COMP%] .latency-container[_ngcontent-%COMP%]{margin-bottom:20px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%]{cursor:default;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{height:0px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%]{height:0px;text-align:left}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{position:relative;top:-3px;left:-3px;display:flex;margin-right:-6px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.6rem;margin-left:5px;opacity:.2}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:1px;width:10px;background-color:#fff;flex-grow:1;opacity:.1;margin-left:10px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-top[_ngcontent-%COMP%]{align-items:flex-start}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-mid[_ngcontent-%COMP%]{align-items:center}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-bottom[_ngcontent-%COMP%]{align-items:flex-end;position:relative;top:-6px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%]{width:170px;height:140px;margin:5px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:170px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:170px;height:140px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:25px;transform:rotate(-90deg);width:40px;height:40px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .download[_ngcontent-%COMP%]{transform:rotate(-90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .upload[_ngcontent-%COMP%]{transform:rotate(90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .speed[_ngcontent-%COMP%]{font-size:.875rem}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:140px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%]{width:352px;height:50px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:352px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:100%;font-size:.875rem;position:relative}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;height:25px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:50px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]{background:linear-gradient(#940000,#7b0000) no-repeat!important;box-shadow:5px 5px 7px #00000080;width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:hover{background:linear-gradient(#a10000,#900000) no-repeat!important}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:active{transform:scale(.98);box-shadow:0 0 7px #00000080}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%]{background-image:url(/assets/img/background-pattern.png);padding:12px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;position:relative;top:4px;margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-2px;line-height:1.7}.left-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;text-align:center;text-transform:uppercase}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]{text-align:center;margin:10px 0;cursor:pointer;display:inline-block;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:active mat-icon[_ngcontent-%COMP%]{transform:scale(.9)}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover .start-button-img-container[_ngcontent-%COMP%]{opacity:1}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{text-shadow:0px 0px 5px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%]{width:0px;height:0px;opacity:.7}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .start-button-img[_ngcontent-%COMP%]{display:inline-block;background-image:url(/assets/img/start-button.png);background-size:contain;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .animated-button[_ngcontent-%COMP%]{animation:button-animation 4s linear infinite;pointer-events:none}@keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:140px;font-size:50px;-webkit-user-select:none;user-select:none;text-shadow:0px 0px 2px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%]{display:inline-flex;background:rgba(0,0,0,.7);border-radius:10px;padding:10px 15px;max-width:280px;text-align:left}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{background-image:url(/assets/img/big-flags/unknown.png);width:20px;height:15px;background-size:contain;align-self:center;flex-shrink:0;margin-right:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{overflow:hidden}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.7rem;color:#bbb}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%]{display:flex;align-items:center}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:1px;height:30px;background:rgba(255,255,255,.15);margin-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{font-size:22px;line-height:1;display:flex;align-items:center;padding-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%]{display:inline-block;max-width:280px;margin-top:10px}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;user-select:none}.left-area[_ngcontent-%COMP%] .current-server-note[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area[_ngcontent-%COMP%] .last-error[_ngcontent-%COMP%]{font-size:.8rem;color:#ff393f}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%]{background:rgba(61,103,162,.1490196078);padding:30px;text-align:left;max-width:420px;opacity:.95}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%]{font-size:1.25rem;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .small-icon[_ngcontent-%COMP%]{color:#d48b05;opacity:.7;font-size:.875rem;cursor:default;margin-left:5px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .big-icon[_ngcontent-%COMP%]{font-size:1.125rem;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:.7rem;margin-top:1px;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .margin[_ngcontent-%COMP%]{height:12px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-margin[_ngcontent-%COMP%]{height:15px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{height:1px;width:100%;background:rgba(255,255,255,.15)}.disabled-button[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}"]}),t})(),X0=(()=>{class t{constructor(e){this.router=e}set lastError(e){this.lastErrorInternal=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),ze(!1)):ze(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Ut))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Lo=(()=>(function(t){t.UnableToConnectWithTheVpnClientApp="unavailable",t.NoLocalVisorPkProvided="pk",t.InvalidStorageState="storage",t.LocalVisorPkChangedDuringUsage="pkChange"}(Lo||(Lo={})),Lo))();let wte=(()=>{class t{constructor(e,i,s){this.route=e,this.vpnAuthGuardService=i,this.vpnClientService=s,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe(o=>{this.problem=o.get("problem"),this.problem||(this.problem=Lo.UnableToConnectWithTheVpnClientApp),this.vpnAuthGuardService.lastError=this.problem,this.vpnClientService.stopContinuallyUpdatingData(),setTimeout(()=>this.navigationsSubscription.unsubscribe())})}getTitle(){return this.problem===Lo.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===Lo.InvalidStorageState?"vpn.error-page.text-storage":this.problem===Lo.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"}getInfo(){return this.problem===Lo.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===Lo.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===Lo.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"}}return t.\u0275fac=function(e){return new(e||t)(N(Qi),N(X0),N(wu))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-error"]],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"mat-icon",4),O(5,"error_outline"),k()(),T(6,"div"),O(7),Y(8,"translate"),k(),T(9,"div",5),O(10),Y(11,"translate"),k()()()()),2&e&&(d(4),D("inline",!0),d(3),pe(B(8,3,i.getTitle())),d(3),pe(B(11,5,i.getInfo())))},dependencies:[Cn,kt],styles:[".main-container[_ngcontent-%COMP%]{height:100%;display:flex}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%;align-self:center;text-align:center}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%]{max-width:550px;display:inline-block;font-size:1.25rem}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:80px}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:.8rem;opacity:.75;margin-top:10px}"]}),t})();const Cte=["topBarLoading"],Ste=["topBarLoaded"],MP=function(){return["vpn.title"]};function Dte(t,n){if(1&t&&(T(0,"div",2)(1,"div"),De(2,"app-top-bar",3,4),k(),De(4,"app-loading-indicator",5),k()),2&t){const e=W();d(2),D("titleParts",Hn(5,MP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function kte(t,n){1&t&&De(0,"mat-spinner",20),2&t&&D("diameter",12)}function Tte(t,n){if(1&t){const e=nt();T(0,"div",6)(1,"div",7),De(2,"app-top-bar",3,8),k(),T(4,"div",9)(5,"div",10)(6,"div",11)(7,"div",12)(8,"table",13)(9,"tr")(10,"th",14)(11,"div",15)(12,"div",16),O(13),Y(14,"translate"),k()()(),T(15,"th",14),O(16),Y(17,"translate"),k()(),T(18,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeKillswitchOption())}),T(19,"td",14)(20,"div"),O(21),Y(22,"translate"),T(23,"mat-icon",18),Y(24,"translate"),O(25,"help"),k()()(),T(26,"td",14),De(27,"span"),O(28),Y(29,"translate"),U(30,kte,1,1,"mat-spinner",19),k()(),T(31,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeGetIpOption())}),T(32,"td",14)(33,"div"),O(34),Y(35,"translate"),T(36,"mat-icon",18),Y(37,"translate"),O(38,"help"),k()()(),T(39,"td",14),De(40,"span"),O(41),Y(42,"translate"),k()(),T(43,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeDataUnits())}),T(44,"td",14)(45,"div"),O(46),Y(47,"translate"),T(48,"mat-icon",18),Y(49,"translate"),O(50,"help"),k()()(),T(51,"td",14),O(52),Y(53,"translate"),k()(),T(54,"tr",17),Me("click",function(){return Ie(e),Oe(W().changeHops())}),T(55,"td",14)(56,"div"),O(57),Y(58,"translate"),T(59,"mat-icon",18),Y(60,"translate"),O(61,"help"),k()()(),T(62,"td",14),O(63),k()()()()()()()()}if(2&t){const e=W();d(2),D("titleParts",Hn(54,MP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),d(11),ye(" ",B(14,28,"vpn.settings-page.setting-small-table-label")," "),d(3),ye(" ",B(17,30,"vpn.settings-page.value-small-table-label")," "),d(5),ye(" ",B(22,32,"vpn.settings-page.killswitch")," "),d(2),D("inline",!0)("matTooltip",B(24,34,"vpn.settings-page.killswitch-info")),d(4),fs(e.getStatusClass(e.backendData.vpnClientAppData.killswitch)),d(1),ye(" ",B(29,36,e.getStatusText(e.backendData.vpnClientAppData.killswitch))," "),d(2),D("ngIf",e.working===e.workingOptions.Killswitch),d(4),ye(" ",B(35,38,"vpn.settings-page.get-ip")," "),d(2),D("inline",!0)("matTooltip",B(37,40,"vpn.settings-page.get-ip-info")),d(4),fs(e.getStatusClass(e.getIpOption)),d(1),ye(" ",B(42,42,e.getStatusText(e.getIpOption))," "),d(5),ye(" ",B(47,44,"vpn.settings-page.data-units")," "),d(2),D("inline",!0)("matTooltip",B(49,46,"vpn.settings-page.data-units-info")),d(4),ye(" ",B(53,48,e.getUnitsOptionText(e.dataUnitsOption))," "),d(5),ye(" ",B(58,50,"vpn.settings-page.minimum-hops")," "),d(2),D("inline",!0)("matTooltip",B(60,52,"vpn.settings-page.minimum-hops-info")),d(4),ye(" ",e.backendData.vpnClientAppData.minHops," ")}}var oa=(()=>(function(t){t[t.None=0]="None",t[t.Killswitch=1]="Killswitch"}(oa||(oa={})),oa))();const xte=[{path:"",component:P7},{path:"login",component:_E},{path:"nodes",canActivate:[Th],canActivateChild:[Th],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:VE},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:VE},{path:":key",component:At,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:xX},{path:"routing",component:NZ},{path:"apps",component:sX},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:aX},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:cX},{path:"apps-list",redirectTo:"apps-list/1",pathMatch:"full"},{path:"apps-list/:page",component:dX}]}]},{path:"settings",canActivate:[Th],canActivateChild:[Th],children:[{path:"",component:$q},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:EX}]},{path:"vpnlogin/:key",component:_E},{path:"vpn",canActivate:[X0],canActivateChild:[X0],children:[{path:"unavailable",component:wte},{path:":key",children:[{path:"status",component:Mte},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:mP},{path:"settings",component:(()=>{class t{constructor(e,i,s,o,a,l){this.vpnClientService=e,this.snackbarService=i,this.appsService=s,this.vpnSavedDataService=o,this.dialog=a,this.loading=!0,this.tabsData=qi.vpnTabsData,this.working=oa.None,this.workingOptions=oa,this.navigationsSubscription=l.paramMap.subscribe(c=>{c.has("key")&&(this.currentLocalPk=c.get("key"),qi.changeCurrentPk(this.currentLocalPk),this.tabsData=qi.vpnTabsData)}),this.dataSubscription=this.vpnClientService.backendState.subscribe(c=>{c&&c.serviceState!==Gi.PerformingInitialCheck&&(this.backendData=c,this.loading=!1)}),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}getStatusClass(e){return!0===e?"dot-green":"dot-red"}getStatusText(e){return!0===e?"vpn.settings-page.setting-on":"vpn.settings-page.setting-off"}getUnitsOptionText(e){switch(e){case ns.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case ns.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}}changeKillswitchOption(){if(this.working===oa.None)if(this.backendData.vpnClientAppData.running){const e=rn.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishChangingKillswitchOption()})}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")}finishChangingKillswitchOption(){this.working=oa.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe(()=>{this.working=oa.None,this.vpnClientService.updateData()},e=>{this.working=oa.None,e=an(e),this.snackbarService.showError(e)})}changeGetIpOption(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)}changeDataUnits(){const e=[],i=[];Object.keys(ns).forEach(s=>{const o={label:this.getUnitsOptionText(ns[s])};this.dataUnitsOption===ns[s]&&(o.icon="done"),e.push(o),i.push(ns[s])}),Ur.openDialog(this.dialog,e,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe(s=>{s&&(this.dataUnitsOption=i[s-1],this.vpnSavedDataService.setDataUnitsSetting(this.dataUnitsOption),this.topBarLoading&&this.topBarLoading.updateVpnDataStatsUnit(),this.topBarLoaded&&this.topBarLoaded.updateVpnDataStatsUnit())})}changeHops(){uP.openDialog(this.dialog,{nodePk:this.currentLocalPk,minHops:this.backendData.vpnClientAppData.minHops}).afterClosed().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(wu),N(Vn),N(Mu),N(Yl),N(Gn),N(Qi))},t.\u0275cmp=Qe({type:t,selectors:[["app-vpn-settings-list"]],viewQuery:function(e,i){if(1&e&&(vt(Cte,5),vt(Ste,5)),2&e){let s;at(s=lt())&&(i.topBarLoading=s.first),at(s=lt())&&(i.topBarLoaded=s.first)}},decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],["topBarLoading",""],[1,"h-100"],[1,"row"],[1,"col-12"],["topBarLoaded",""],[1,"col-12","mt-4.5","vpn-table-container"],[1,"width-limiter"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"data-column"],[1,"header-container"],[1,"header-text"],[1,"selectable",3,"click"],[1,"help-icon",3,"inline","matTooltip"],[3,"diameter",4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(U(0,Dte,5,6,"div",0),U(1,Tte,64,55,"div",1)),2&e&&(D("ngIf",i.loading),d(1),D("ngIf",!i.loading))},dependencies:[Ot,Cn,vi,Vr,ko,Hl,kt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .data-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-top:7px!important;padding-bottom:7px!important;font-size:12px!important;font-weight:400!important}.data-column[_ngcontent-%COMP%]{max-width:0;width:50%}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:2px;position:relative;top:2px}mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}"]}),t})()},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}];let Lte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[xx.forRoot(xte,{useHash:!0,relativeLinkResolution:"legacy"}),xx]}),t})(),Pte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[yo,Pn,Pn]}),t})();class Ite{getTranslation(n){return ge(F(6297)(`./${n}.json`))}}let Ote=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t}),t.\u0275inj=wt({imports:[Z2.forRoot({loader:{provide:Dh,useClass:Ite}}),Z2]}),t})(),Ate=(()=>{class t{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const Rte={disabled:!0};let Fte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Pt({type:t,bootstrap:[E7]}),t.\u0275inj=wt({providers:[Rh,{provide:p0,useValue:{duration:3e3,verticalPosition:"top"}},{provide:P2,useValue:{width:"600px",hasBackdrop:!0}},{provide:Wm,useClass:u9},{provide:gx,useClass:Ate},{provide:D2,useValue:Rte}],imports:[pk,QH,H0,fV,Lte,Ote,N2,I9,p_,rz,$Q,F2,o7,mz,JW,kU,Pte,LW,S7,_q]}),t})();Au(At,[Wn,Ot,hm,Cn,ko,Hl,fP],[kt]),Au(mP,[Wn,Fi,Ot,Tp,Wa,kr,Cn,vi,Z0,ko,yu,Hl,_P],[WD,kt]),function _N(){dD=!1}(),B5().bootstrapModule(Fte).catch(t=>console.log(t))},9774:function(le,me,F){var I;!function(v){"use strict";var u,f=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,h=Math.ceil,M=Math.floor,p="[BigNumber Error] ",y=p+"Number primitive has more than 15 significant digits: ",w=1e14,x=14,S=9007199254740991,C=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],L=1e7,A=1e9;function H(ee){var ne=0|ee;return ee>0||ee===ne?ne:ne-1}function K(ee){for(var ne,oe,ae=1,J=ee.length,Te=ee[0]+"";aeet^oe?1:-1;for(Ae=(Ne=J.length)<(et=Te.length)?Ne:et,ke=0;keTe[ke]^oe?1:-1;return Ne==et?0:Ne>et^oe?1:-1}function ve(ee,ne,oe,ae){if(eeoe||ee!==(ee<0?h(ee):M(ee)))throw Error(p+(ae||"Argument")+("number"==typeof ee?eeoe?" out of range: ":" not an integer: ":" not a primitive number: ")+ee)}function Z(ee){return"[object Array]"==Object.prototype.toString.call(ee)}function Q(ee){var ne=ee.c.length-1;return H(ee.e/x)==ne&&ee.c[ne]%2!=0}function ce(ee,ne){return(ee.length>1?ee.charAt(0)+"."+ee.slice(1):ee)+(ne<0?"e":"e+")+ne}function q(ee,ne,oe){var ae,J;if(ne<0){for(J=oe+".";++ne;J+=oe);ee=J+ee}else if(++ne>(ae=ee.length)){for(J=oe,ne-=ae;--ne;J+=oe);ee+=J}else ne=10;be/=10,_e++);return Ee.e=_e,void(Ee.c=[z])}we=z+""}else{if(!f.test(we=z+""))return ae(Ee,we,fe);Ee.s=45==we.charCodeAt(0)?(we=we.slice(1),-1):1}(_e=we.indexOf("."))>-1&&(we=we.replace(".","")),(be=we.search(/e/i))>0?(_e<0&&(_e=be),_e+=+we.slice(be+1),we=we.substring(0,be)):_e<0&&(_e=we.length)}else{if(ve(se,2,Sn.length,"Base"),we=z+"",10==se)return Ge(Ee=new je(z instanceof je?z:we),ke+Ee.e+1,Ae);if(fe="number"==typeof z){if(0*z!=0)return ae(Ee,we,fe,se);if(Ee.s=1/z<0?(we=we.slice(1),-1):1,je.DEBUG&&we.replace(/^0\.0*|\./,"").length>15)throw Error(y+z);fe=!1}else Ee.s=45===we.charCodeAt(0)?(we=we.slice(1),-1):1;for(ie=Sn.slice(0,se),_e=be=0,ge=we.length;be_e){_e=ge;continue}}else if(!ue&&(we==we.toUpperCase()&&(we=we.toLowerCase())||we==we.toLowerCase()&&(we=we.toUpperCase()))){ue=!0,be=-1,_e=0;continue}return ae(Ee,z+"",fe,se)}(_e=(we=oe(we,se,10,Ee.s)).indexOf("."))>-1?we=we.replace(".",""):_e=we.length}for(be=0;48===we.charCodeAt(be);be++);for(ge=we.length;48===we.charCodeAt(--ge););if(we=we.slice(be,++ge)){if(ge-=be,fe&&je.DEBUG&&ge>15&&(z>S||z!==M(z)))throw Error(y+Ee.s*z);if((_e=_e-be-1)>rt)Ee.c=Ee.e=null;else if(_efe){if(--se>0)for(ge+=".";se--;ge+="0");}else if((se+=_e-fe)>0)for(_e+1==fe&&(ge+=".");se--;ge+="0");return z.s<0&&ue?"-"+ge:ge}function Kn(z,se){var ie,de,ue=0;for(Z(z[0])&&(z=z[0]),ie=new je(z[0]);++ue=10;ue/=10,de++);return(ie=de+ie*x-1)>rt?z.c=z.e=null:ie=10;fe/=10,ue++);if((_e=se-ue)<0)_e+=x,Ee=(ge=Ze[we=0])/ut[ue-(be=se)-1]%10|0;else if((we=h((_e+1)/x))>=Ze.length){if(!de)break e;for(;Ze.length<=we;Ze.push(0));ge=Ee=0,ue=1,be=(_e%=x)-x+1}else{for(ge=fe=Ze[we],ue=1;fe>=10;fe/=10,ue++);Ee=(be=(_e%=x)-x+ue)<0?0:ge/ut[ue-be-1]%10|0}if(de=de||se<0||null!=Ze[we+1]||(be<0?ge:ge%ut[ue-be-1]),de=ie<4?(Ee||de)&&(0==ie||ie==(z.s<0?3:2)):Ee>5||5==Ee&&(4==ie||de||6==ie&&(_e>0?be>0?ge/ut[ue-be]:0:Ze[we-1])%10&1||ie==(z.s<0?8:7)),se<1||!Ze[0])return Ze.length=0,de?(Ze[0]=ut[(x-(se-=z.e+1)%x)%x],z.e=-se||0):Ze[0]=z.e=0,z;if(0==_e?(Ze.length=we,fe=1,we--):(Ze.length=we+1,fe=ut[x-_e],Ze[we]=be>0?M(ge/ut[ue-be]%ut[be])*fe:0),de)for(;;){if(0==we){for(_e=1,be=Ze[0];be>=10;be/=10,_e++);for(be=Ze[0]+=fe,fe=1;be>=10;be/=10,fe++);_e!=fe&&(z.e++,Ze[0]==w&&(Ze[0]=1));break}if(Ze[we]+=fe,Ze[we]!=w)break;Ze[we--]=0,fe=1}for(_e=Ze.length;0===Ze[--_e];Ze.pop());}z.e>rt?z.c=z.e=null:z.e>>11))>=9e15?(ue=crypto.getRandomValues(new Uint32Array(2)),de[ge]=ue[0],de[ge+1]=ue[1]):(we.push(fe%1e14),ge+=2);ge=be/2}else{if(!crypto.randomBytes)throw Bt=!1,Error(p+"crypto unavailable");for(de=crypto.randomBytes(be*=7);ge=9e15?crypto.randomBytes(7).copy(de,ge):(we.push(fe%1e14),ge+=7);ge=be/7}if(!Bt)for(;ge=10;fe/=10,ge++);geue-1&&(null==fe[be+1]&&(fe[be+1]=0),fe[be+1]+=fe[be]/ue|0,fe[be]%=ue)}return fe.reverse()}return function(ie,de,ue,_e,be){var fe,ge,we,Ee,Ze,ut,dt,tt,Yt=ie.indexOf("."),wn=ke,Rt=Ae;for(Yt>=0&&(Ee=Rn,Rn=0,ie=ie.replace(".",""),ut=(tt=new je(de)).pow(ie.length-Yt),Rn=Ee,tt.c=se(q(K(ut.c),ut.e,"0"),10,ue,z),tt.e=tt.c.length),we=Ee=(dt=se(ie,de,ue,be?(fe=Sn,z):(fe=z,Sn))).length;0==dt[--Ee];dt.pop());if(!dt[0])return fe.charAt(0);if(Yt<0?--we:(ut.c=dt,ut.e=we,ut.s=_e,dt=(ut=ne(ut,tt,wn,Rt,ue)).c,Ze=ut.r,we=ut.e),Yt=dt[ge=we+wn+1],Ee=ue/2,Ze=Ze||ge<0||null!=dt[ge+1],Ze=Rt<4?(null!=Yt||Ze)&&(0==Rt||Rt==(ut.s<0?3:2)):Yt>Ee||Yt==Ee&&(4==Rt||Ze||6==Rt&&1&dt[ge-1]||Rt==(ut.s<0?8:7)),ge<1||!dt[0])ie=Ze?q(fe.charAt(1),-wn,fe.charAt(0)):fe.charAt(0);else{if(dt.length=ge,Ze)for(--ue;++dt[--ge]>ue;)dt[ge]=0,ge||(++we,dt=[1].concat(dt));for(Ee=dt.length;!dt[--Ee];);for(Yt=0,ie="";Yt<=Ee;ie+=fe.charAt(dt[Yt++]));ie=q(ie,we,fe.charAt(0))}return ie}}(),ne=function(){function z(de,ue,_e){var be,fe,ge,we,Ee=0,Ze=de.length,ut=ue%L,dt=ue/L|0;for(de=de.slice();Ze--;)Ee=((fe=ut*(ge=de[Ze]%L)+(be=dt*ge+(we=de[Ze]/L|0)*ut)%L*L+Ee)/_e|0)+(be/L|0)+dt*we,de[Ze]=fe%_e;return Ee&&(de=[Ee].concat(de)),de}function se(de,ue,_e,be){var fe,ge;if(_e!=be)ge=_e>be?1:-1;else for(fe=ge=0;fe<_e;fe++)if(de[fe]!=ue[fe]){ge=de[fe]>ue[fe]?1:-1;break}return ge}function ie(de,ue,_e,be){for(var fe=0;_e--;)de[_e]-=fe,de[_e]=(fe=de[_e]1;de.splice(0,1));}return function(de,ue,_e,be,fe){var ge,we,Ee,Ze,ut,dt,tt,Yt,wn,Rt,Gt,Dn,ti,Ss,Fs,yi,Zt,fi=de.s==ue.s?1:-1,ni=de.c,mn=ue.c;if(!(ni&&ni[0]&&mn&&mn[0]))return new je(de.s&&ue.s&&(ni?!mn||ni[0]!=mn[0]:mn)?ni&&0==ni[0]||!mn?0*fi:fi/0:NaN);for(wn=(Yt=new je(fi)).c=[],fi=_e+(we=de.e-ue.e)+1,fe||(fe=w,we=H(de.e/x)-H(ue.e/x),fi=fi/x|0),Ee=0;mn[Ee]==(ni[Ee]||0);Ee++);if(mn[Ee]>(ni[Ee]||0)&&we--,fi<0)wn.push(1),Ze=!0;else{for(Ss=ni.length,yi=mn.length,Ee=0,fi+=2,(ut=M(fe/(mn[0]+1)))>1&&(mn=z(mn,ut,fe),ni=z(ni,ut,fe),yi=mn.length,Ss=ni.length),ti=yi,Gt=(Rt=ni.slice(0,yi)).length;Gt=fe/2&&Fs++;do{if(ut=0,(ge=se(mn,Rt,yi,Gt))<0){if(Dn=Rt[0],yi!=Gt&&(Dn=Dn*fe+(Rt[1]||0)),(ut=M(Dn/Fs))>1)for(ut>=fe&&(ut=fe-1),tt=(dt=z(mn,ut,fe)).length,Gt=Rt.length;1==se(dt,Rt,tt,Gt);)ut--,ie(dt,yi=10;fi/=10,Ee++);Ge(Yt,_e+(Yt.e=Ee+we*x-1)+1,be,Ze)}else Yt.e=we,Yt.r=+Ze;return Yt}}(),ae=function(){var z=/^(-?)0([xbo])(?=\w[\w.]*$)/i,se=/^([^.]+)\.$/,ie=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,ue=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(_e,be,fe,ge){var we,Ee=fe?be:be.replace(ue,"");if(de.test(Ee))_e.s=isNaN(Ee)?null:Ee<0?-1:1,_e.c=_e.e=null;else{if(!fe&&(Ee=Ee.replace(z,function(Ze,ut,dt){return we="x"==(dt=dt.toLowerCase())?16:"b"==dt?2:8,ge&&ge!=we?Ze:ut}),ge&&(we=ge,Ee=Ee.replace(se,"$1").replace(ie,"0.$1")),be!=Ee))return new je(Ee,we);if(je.DEBUG)throw Error(p+"Not a"+(ge?" base "+ge:"")+" number: "+be);_e.c=_e.e=_e.s=null}}}(),J.absoluteValue=J.abs=function(){var z=new je(this);return z.s<0&&(z.s=1),z},J.comparedTo=function(z,se){return re(this,new je(z,se))},J.decimalPlaces=J.dp=function(z,se){var ie,de,ue;if(null!=z)return ve(z,0,A),null==se?se=Ae:ve(se,0,8),Ge(new je(this),z+this.e+1,se);if(!(ie=this.c))return null;if(de=((ue=ie.length-1)-H(this.e/x))*x,ue=ie[ue])for(;ue%10==0;ue/=10,de--);return de<0&&(de=0),de},J.dividedBy=J.div=function(z,se){return ne(this,new je(z,se),ke,Ae)},J.dividedToIntegerBy=J.idiv=function(z,se){return ne(this,new je(z,se),0,1)},J.exponentiatedBy=J.pow=function(z,se){var ie,de,ue,be,fe,ge,we,Ee=this;if((z=new je(z)).c&&!z.isInteger())throw Error(p+"Exponent not an integer: "+z);if(null!=se&&(se=new je(se)),be=z.e>14,!Ee.c||!Ee.c[0]||1==Ee.c[0]&&!Ee.e&&1==Ee.c.length||!z.c||!z.c[0])return we=new je(Math.pow(+Ee.valueOf(),be?2-Q(z):+z)),se?we.mod(se):we;if(fe=z.s<0,se){if(se.c?!se.c[0]:!se.s)return new je(NaN);(de=!fe&&Ee.isInteger()&&se.isInteger())&&(Ee=Ee.mod(se))}else{if(z.e>9&&(Ee.e>0||Ee.e<-1||(0==Ee.e?Ee.c[0]>1||be&&Ee.c[1]>=24e7:Ee.c[0]<8e13||be&&Ee.c[0]<=9999975e7)))return ue=Ee.s<0&&Q(z)?-0:0,Ee.e>-1&&(ue=1/ue),new je(fe?1/ue:ue);Rn&&(ue=h(Rn/x+2))}for(be?(ie=new je(.5),ge=Q(z)):ge=z%2,fe&&(z.s=1),we=new je(Te);;){if(ge){if(!(we=we.times(Ee)).c)break;ue?we.c.length>ue&&(we.c.length=ue):de&&(we=we.mod(se))}if(be){if(Ge(z=z.times(ie),z.e+1,1),!z.c[0])break;be=z.e>14,ge=Q(z)}else{if(!(z=M(z/2)))break;ge=z%2}Ee=Ee.times(Ee),ue?Ee.c&&Ee.c.length>ue&&(Ee.c.length=ue):de&&(Ee=Ee.mod(se))}return de?we:(fe&&(we=Te.div(we)),se?we.mod(se):ue?Ge(we,Rn,Ae,void 0):we)},J.integerValue=function(z){var se=new je(this);return null==z?z=Ae:ve(z,0,8),Ge(se,se.e+1,z)},J.isEqualTo=J.eq=function(z,se){return 0===re(this,new je(z,se))},J.isFinite=function(){return!!this.c},J.isGreaterThan=J.gt=function(z,se){return re(this,new je(z,se))>0},J.isGreaterThanOrEqualTo=J.gte=function(z,se){return 1===(se=re(this,new je(z,se)))||0===se},J.isInteger=function(){return!!this.c&&H(this.e/x)>this.c.length-2},J.isLessThan=J.lt=function(z,se){return re(this,new je(z,se))<0},J.isLessThanOrEqualTo=J.lte=function(z,se){return-1===(se=re(this,new je(z,se)))||0===se},J.isNaN=function(){return!this.s},J.isNegative=function(){return this.s<0},J.isPositive=function(){return this.s>0},J.isZero=function(){return!!this.c&&0==this.c[0]},J.minus=function(z,se){var ie,de,ue,_e,be=this,fe=be.s;if(se=(z=new je(z,se)).s,!fe||!se)return new je(NaN);if(fe!=se)return z.s=-se,be.plus(z);var ge=be.e/x,we=z.e/x,Ee=be.c,Ze=z.c;if(!ge||!we){if(!Ee||!Ze)return Ee?(z.s=-se,z):new je(Ze?be:NaN);if(!Ee[0]||!Ze[0])return Ze[0]?(z.s=-se,z):new je(Ee[0]?be:3==Ae?-0:0)}if(ge=H(ge),we=H(we),Ee=Ee.slice(),fe=ge-we){for((_e=fe<0)?(fe=-fe,ue=Ee):(we=ge,ue=Ze),ue.reverse(),se=fe;se--;ue.push(0));ue.reverse()}else for(de=(_e=(fe=Ee.length)<(se=Ze.length))?fe:se,fe=se=0;se0)for(;se--;Ee[ie++]=0);for(se=w-1;de>fe;){if(Ee[--de]=0;){for(ie=0,ut=Dn[ue]%wn,dt=Dn[ue]/wn|0,_e=ue+(be=ge);_e>ue;)ie=((we=ut*(we=Gt[--be]%wn)+(fe=dt*we+(Ee=Gt[be]/wn|0)*ut)%wn*wn+tt[_e]+ie)/Yt|0)+(fe/wn|0)+dt*Ee,tt[_e--]=we%Yt;tt[_e]=ie}return ie?++de:tt.splice(0,1),Xe(z,tt,de)},J.negated=function(){var z=new je(this);return z.s=-z.s||null,z},J.plus=function(z,se){var ie,de=this,ue=de.s;if(se=(z=new je(z,se)).s,!ue||!se)return new je(NaN);if(ue!=se)return z.s=-se,de.minus(z);var _e=de.e/x,be=z.e/x,fe=de.c,ge=z.c;if(!_e||!be){if(!fe||!ge)return new je(ue/0);if(!fe[0]||!ge[0])return ge[0]?z:new je(fe[0]?de:0*ue)}if(_e=H(_e),be=H(be),fe=fe.slice(),ue=_e-be){for(ue>0?(be=_e,ie=ge):(ue=-ue,ie=fe),ie.reverse();ue--;ie.push(0));ie.reverse()}for((ue=fe.length)-(se=ge.length)<0&&(ie=ge,ge=fe,fe=ie,se=ue),ue=0;se;)ue=(fe[--se]=fe[se]+ge[se]+ue)/w|0,fe[se]=w===fe[se]?0:fe[se]%w;return ue&&(fe=[ue].concat(fe),++be),Xe(z,fe,be)},J.precision=J.sd=function(z,se){var ie,de,ue;if(null!=z&&z!==!!z)return ve(z,1,A),null==se?se=Ae:ve(se,0,8),Ge(new je(this),z,se);if(!(ie=this.c))return null;if(de=(ue=ie.length-1)*x+1,ue=ie[ue]){for(;ue%10==0;ue/=10,de--);for(ue=ie[0];ue>=10;ue/=10,de++);}return z&&this.e+1>de&&(de=this.e+1),de},J.shiftedBy=function(z){return ve(z,-S,S),this.times("1e"+z)},J.squareRoot=J.sqrt=function(){var z,se,ie,de,ue,_e=this,be=_e.c,fe=_e.s,ge=_e.e,we=ke+4,Ee=new je("0.5");if(1!==fe||!be||!be[0])return new je(!fe||fe<0&&(!be||be[0])?NaN:be?_e:1/0);if(0==(fe=Math.sqrt(+_e))||fe==1/0?(((se=K(be)).length+ge)%2==0&&(se+="0"),fe=Math.sqrt(se),ge=H((ge+1)/2)-(ge<0||ge%2),ie=new je(se=fe==1/0?"1e"+ge:(se=fe.toExponential()).slice(0,se.indexOf("e")+1)+ge)):ie=new je(fe+""),ie.c[0])for((fe=(ge=ie.e)+we)<3&&(fe=0);;)if(ie=Ee.times((ue=ie).plus(ne(_e,ue,we,1))),K(ue.c).slice(0,fe)===(se=K(ie.c)).slice(0,fe)){if(ie.e0&&ut>0){for(ge=Ze.substr(0,de=ut%_e||_e);de0&&(ge+=fe+Ze.slice(de)),Ee&&(ge="-"+ge)}ie=we?ge+Mn.decimalSeparator+((be=+Mn.fractionGroupSize)?we.replace(new RegExp("\\d{"+be+"}\\B","g"),"$&"+Mn.fractionGroupSeparator):we):ge}return ie},J.toFraction=function(z){var se,ie,de,ue,_e,be,fe,ge,we,Ee,Ze,ut,dt=this,tt=dt.c;if(null!=z&&(!(ge=new je(z)).isInteger()&&(ge.c||1!==ge.s)||ge.lt(Te)))throw Error(p+"Argument "+(ge.isInteger()?"out of range: ":"not an integer: ")+z);if(!tt)return dt.toString();for(ie=new je(Te),Ee=de=new je(Te),ue=we=new je(Te),ut=K(tt),be=ie.e=ut.length-dt.e-1,ie.c[0]=C[(fe=be%x)<0?x+fe:fe],z=!z||ge.comparedTo(ie)>0?be>0?ie:Ee:ge,fe=rt,rt=1/0,ge=new je(ut),we.c[0]=0;Ze=ne(ge,ie,0,1),1!=(_e=de.plus(Ze.times(ue))).comparedTo(z);)de=ue,ue=_e,Ee=we.plus(Ze.times(_e=Ee)),we=_e,ie=ge.minus(Ze.times(_e=ie)),ge=_e;return _e=ne(z.minus(de),ue,0,1),we=we.plus(_e.times(Ee)),de=de.plus(_e.times(ue)),we.s=Ee.s=dt.s,se=ne(Ee,ue,be*=2,Ae).minus(dt).abs().comparedTo(ne(we,de,be,Ae).minus(dt).abs())<1?[Ee.toString(),ue.toString()]:[we.toString(),de.toString()],rt=fe,se},J.toNumber=function(){return+this},J.toPrecision=function(z,se){return null!=z&&ve(z,1,A),jn(this,z,se,2)},J.toString=function(z){var se,de=this.s,ue=this.e;return null===ue?de?(se="Infinity",de<0&&(se="-"+se)):se="NaN":(se=K(this.c),null==z?se=ue<=Ne||ue>=et?ce(se,ue):q(se,ue,"0"):(ve(z,2,Sn.length,"Base"),se=oe(q(se,ue,"0"),10,z,de,!0)),de<0&&this.c[0]&&(se="-"+se)),se},J.valueOf=J.toJSON=function(){var z,ie=this.e;return null===ie?this.toString():(z=K(this.c),z=ie<=Ne||ie>=et?ce(z,ie):q(z,ie,"0"),this.s<0?"-"+z:z)},J._isBigNumber=!0,null!=ee&&je.set(ee),je}(),u.default=u.BigNumber=u,void 0!==(I=function(){return u}.call(me,F,me,le))&&(le.exports=I)}()},6149:(le,me,F)=>{var I=F(5979)();I.helpers=F(3305),F(3533)(I),I.defaults=F(9800),I.Element=F(8839),I.elements=F(9931),I.Interaction=F(2814),I.layouts=F(2294),I.platform=F(8244),I.plugins=F(2445),I.Ticks=F(8347),F(8103)(I),F(1047)(I),F(7897)(I),F(5464)(I),F(6308)(I),F(480)(I),F(8351)(I),F(4977)(I),F(1704)(I),F(1486)(I),F(8726)(I),F(4215)(I),F(2690)(I),F(4033)(I),F(787)(I),F(6769)(I),F(6580)(I),F(4657)(I),F(1895)(I),F(6038)(I),F(2898)(I),F(3414)(I),F(6667)(I),F(402)(I),F(846)(I),F(9377)(I);var v=F(6747);for(var u in v)v.hasOwnProperty(u)&&I.plugins.register(v[u]);I.platform.initialize(),le.exports=I,typeof window<"u"&&(window.Chart=I),I.Legend=v.legend._element,I.Title=v.title._element,I.pluginService=I.plugins,I.PluginBase=I.Element.extend({}),I.canvasHelpers=I.helpers.canvas,I.layoutService=I.layouts},6038:le=>{"use strict";le.exports=function(me){me.Bar=function(F,I){return I.type="bar",new me(F,I)}}},2898:le=>{"use strict";le.exports=function(me){me.Bubble=function(F,I){return I.type="bubble",new me(F,I)}}},3414:le=>{"use strict";le.exports=function(me){me.Doughnut=function(F,I){return I.type="doughnut",new me(F,I)}}},6667:le=>{"use strict";le.exports=function(me){me.Line=function(F,I){return I.type="line",new me(F,I)}}},402:le=>{"use strict";le.exports=function(me){me.PolarArea=function(F,I){return I.type="polarArea",new me(F,I)}}},846:le=>{"use strict";le.exports=function(me){me.Radar=function(F,I){return I.type="radar",new me(F,I)}}},9377:le=>{"use strict";le.exports=function(me){me.Scatter=function(F,I){return I.type="scatter",new me(F,I)}}},2690:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),I._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(p,y){var w="";return p.length>0&&(p[0].yLabel?w=p[0].yLabel:y.labels.length>0&&p[0].index0?Math.min(w,C-S):w,S=C;return w}(w,j):-1,{min:re,pixels:j,start:L,end:A,stackCount:x,scale:w}},calculateBarValuePixels:function(y,w){var ve,Z,Q,ce,q,ee,x=this,S=x.chart,C=x.getMeta(),L=x.getValueScale(),A=S.data.datasets,j=L.getRightValue(A[y].data[w]),H=L.options.stacked,K=C.stack,re=0;if(H||void 0===H&&void 0!==K)for(ve=0;ve=0&&Q>0)&&(re+=Q));return ce=L.getPixelForValue(re),{size:ee=((q=L.getPixelForValue(re+j))-ce)/2,base:ce,head:q,center:q+ee/2}},calculateBarIndexPixels:function(y,w,x){var C=x.scale.options,L="flex"===C.barThickness?function M(p,y,w){var x=y.pixels,S=x[p],C=p>0?x[p-1]:null,L=p{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(f,h){return(h.datasets[f.datasetIndex].label||"")+": ("+f.xLabel+", "+f.yLabel+", "+h.datasets[f.datasetIndex].data[f.index].r+")"}}}}),le.exports=function(f){f.controllers.bubble=f.DatasetController.extend({dataElementType:v.Point,update:function(h){var M=this,p=M.getMeta();u.each(p.data,function(w,x){M.updateElement(w,x,h)})},updateElement:function(h,M,p){var y=this,w=y.getMeta(),x=h.custom||{},S=y.getScaleForId(w.xAxisID),C=y.getScaleForId(w.yAxisID),L=y._resolveElementOptions(h,M),A=y.getDataset().data[M],j=y.index,H=p?S.getPixelForDecimal(.5):S.getPixelForValue("object"==typeof A?A:NaN,M,j),K=p?C.getBasePixel():C.getPixelForValue(A,M,j);h._xScale=S,h._yScale=C,h._options=L,h._datasetIndex=j,h._index=M,h._model={backgroundColor:L.backgroundColor,borderColor:L.borderColor,borderWidth:L.borderWidth,hitRadius:L.hitRadius,pointStyle:L.pointStyle,radius:p?0:L.radius,skip:x.skip||isNaN(H)||isNaN(K),x:H,y:K},h.pivot()},setHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=u.valueOrDefault(p.hoverBackgroundColor,u.getHoverColor(p.backgroundColor)),M.borderColor=u.valueOrDefault(p.hoverBorderColor,u.getHoverColor(p.borderColor)),M.borderWidth=u.valueOrDefault(p.hoverBorderWidth,p.borderWidth),M.radius=p.radius+p.hoverRadius},removeHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=p.backgroundColor,M.borderColor=p.borderColor,M.borderWidth=p.borderWidth,M.radius=p.radius},_resolveElementOptions:function(h,M){var H,K,re,p=this,y=p.chart,x=y.data.datasets[p.index],S=h.custom||{},C=y.options.elements.point,L=u.options.resolve,A=x.data[M],j={},ve={chart:y,dataIndex:M,dataset:x,datasetIndex:p.index},Z=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(H=0,K=Z.length;H{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var w=0;w'),y[w]&&h.push(y[w]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),w=h.datasets[0],x=y.data[p],S=x&&x.custom||{},C=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:S.backgroundColor?S.backgroundColor:C(w.backgroundColor,p,L.backgroundColor),strokeStyle:S.borderColor?S.borderColor:C(w.borderColor,p,L.borderColor),lineWidth:S.borderWidth?S.borderWidth:C(w.borderWidth,p,L.borderWidth),hidden:isNaN(w.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,w,x,M=h.index,p=this.chart;for(y=0,w=(p.data.datasets||[]).length;y=Math.PI?-1:re<-Math.PI?1:0))+K,Z={x:Math.cos(re),y:Math.sin(re)},Q={x:Math.cos(ve),y:Math.sin(ve)},ce=re<=0&&ve>=0||re<=2*Math.PI&&2*Math.PI<=ve,q=re<=.5*Math.PI&&.5*Math.PI<=ve||re<=2.5*Math.PI&&2.5*Math.PI<=ve,ee=re<=-Math.PI&&-Math.PI<=ve||re<=Math.PI&&Math.PI<=ve,ne=re<=.5*-Math.PI&&.5*-Math.PI<=ve||re<=1.5*Math.PI&&1.5*Math.PI<=ve,oe=H/100,ae={x:ee?-1:Math.min(Z.x*(Z.x<0?1:oe),Q.x*(Q.x<0?1:oe)),y:ne?-1:Math.min(Z.y*(Z.y<0?1:oe),Q.y*(Q.y<0?1:oe))},J={x:ce?1:Math.max(Z.x*(Z.x>0?1:oe),Q.x*(Q.x>0?1:oe)),y:q?1:Math.max(Z.y*(Z.y>0?1:oe),Q.y*(Q.y>0?1:oe))},Te={width:.5*(J.x-ae.x),height:.5*(J.y-ae.y)};L=Math.min(S/Te.width,C/Te.height),A={x:-.5*(J.x+ae.x),y:-.5*(J.y+ae.y)}}p.borderWidth=M.getMaxBorderWidth(j.data),p.outerRadius=Math.max((L-p.borderWidth)/2,0),p.innerRadius=Math.max(H?p.outerRadius/100*H:0,0),p.radiusLength=(p.outerRadius-p.innerRadius)/p.getVisibleDatasetCount(),p.offsetX=A.x*p.outerRadius,p.offsetY=A.y*p.outerRadius,j.total=M.calculateTotal(),M.outerRadius=p.outerRadius-p.radiusLength*M.getRingIndex(M.index),M.innerRadius=Math.max(M.outerRadius-p.radiusLength,0),u.each(j.data,function(ke,Ae){M.updateElement(ke,Ae,h)})},updateElement:function(h,M,p){var y=this,w=y.chart,x=w.chartArea,S=w.options,C=S.animation,L=(x.left+x.right)/2,A=(x.top+x.bottom)/2,j=S.rotation,H=S.rotation,K=y.getDataset(),re=p&&C.animateRotate||h.hidden?0:y.calculateCircumference(K.data[M])*(S.circumference/(2*Math.PI));u.extend(h,{_datasetIndex:y.index,_index:M,_model:{x:L+w.offsetX,y:A+w.offsetY,startAngle:j,endAngle:H,circumference:re,outerRadius:p&&C.animateScale?0:y.outerRadius,innerRadius:p&&C.animateScale?0:y.innerRadius,label:(0,u.valueAtIndexOrDefault)(K.label,M,w.data.labels[M])}});var ce=h._model;this.removeHoverStyle(h),(!p||!C.animateRotate)&&(ce.startAngle=0===M?S.rotation:y.getMeta().data[M-1]._model.endAngle,ce.endAngle=ce.startAngle+ce.circumference),h.pivot()},removeHoverStyle:function(h){f.DatasetController.prototype.removeHoverStyle.call(this,h,this.chart.options.elements.arc)},calculateTotal:function(){var y,h=this.getDataset(),M=this.getMeta(),p=0;return u.each(M.data,function(w,x){y=h.data[x],!isNaN(y)&&!w.hidden&&(p+=Math.abs(y))}),p},calculateCircumference:function(h){var M=this.getMeta().total;return M>0&&!isNaN(h)?2*Math.PI*(Math.abs(h)/M):0},getMaxBorderWidth:function(h){for(var w,x,M=0,p=this.index,y=h.length,S=0;S(M=(w=h[S]._model?h[S]._model.borderWidth:0)>M?w:M)?x:M;return M}})}},6769:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),le.exports=function(f){function h(M,p){return u.valueOrDefault(M.showLine,p.showLines)}f.controllers.line=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,update:function(M){var A,j,H,p=this,y=p.getMeta(),w=y.dataset,x=y.data||[],S=p.chart.options,C=S.elements.line,L=p.getScaleForId(y.yAxisID),K=p.getDataset(),re=h(K,S);for(re&&(H=w.custom||{},void 0!==K.tension&&void 0===K.lineTension&&(K.lineTension=K.tension),w._scale=L,w._datasetIndex=p.index,w._children=x,w._model={spanGaps:K.spanGaps?K.spanGaps:S.spanGaps,tension:H.tension?H.tension:u.valueOrDefault(K.lineTension,C.tension),backgroundColor:H.backgroundColor?H.backgroundColor:K.backgroundColor||C.backgroundColor,borderWidth:H.borderWidth?H.borderWidth:K.borderWidth||C.borderWidth,borderColor:H.borderColor?H.borderColor:K.borderColor||C.borderColor,borderCapStyle:H.borderCapStyle?H.borderCapStyle:K.borderCapStyle||C.borderCapStyle,borderDash:H.borderDash?H.borderDash:K.borderDash||C.borderDash,borderDashOffset:H.borderDashOffset?H.borderDashOffset:K.borderDashOffset||C.borderDashOffset,borderJoinStyle:H.borderJoinStyle?H.borderJoinStyle:K.borderJoinStyle||C.borderJoinStyle,fill:H.fill?H.fill:void 0!==K.fill?K.fill:C.fill,steppedLine:H.steppedLine?H.steppedLine:u.valueOrDefault(K.steppedLine,C.stepped),cubicInterpolationMode:H.cubicInterpolationMode?H.cubicInterpolationMode:u.valueOrDefault(K.cubicInterpolationMode,C.cubicInterpolationMode)},w.pivot()),A=0,j=x.length;A{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var w=0;w'),y[w]&&h.push(y[w]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),w=h.datasets[0],S=y.data[p].custom||{},C=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:S.backgroundColor?S.backgroundColor:C(w.backgroundColor,p,L.backgroundColor),strokeStyle:S.borderColor?S.borderColor:C(w.borderColor,p,L.borderColor),lineWidth:S.borderWidth?S.borderWidth:C(w.borderWidth,p,L.borderWidth),hidden:isNaN(w.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,w,x,M=h.index,p=this.chart;for(y=0,w=(p.data.datasets||[]).length;y0&&!isNaN(h)?2*Math.PI/M:0}})}},4657:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),le.exports=function(f){f.controllers.radar=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:u.noop,update:function(h){var M=this,p=M.getMeta(),w=p.data,x=p.dataset.custom||{},S=M.getDataset(),C=M.chart.options.elements.line,L=M.chart.scale;void 0!==S.tension&&void 0===S.lineTension&&(S.lineTension=S.tension),u.extend(p.dataset,{_datasetIndex:M.index,_scale:L,_children:w,_loop:!0,_model:{tension:x.tension?x.tension:u.valueOrDefault(S.lineTension,C.tension),backgroundColor:x.backgroundColor?x.backgroundColor:S.backgroundColor||C.backgroundColor,borderWidth:x.borderWidth?x.borderWidth:S.borderWidth||C.borderWidth,borderColor:x.borderColor?x.borderColor:S.borderColor||C.borderColor,fill:x.fill?x.fill:void 0!==S.fill?S.fill:C.fill,borderCapStyle:x.borderCapStyle?x.borderCapStyle:S.borderCapStyle||C.borderCapStyle,borderDash:x.borderDash?x.borderDash:S.borderDash||C.borderDash,borderDashOffset:x.borderDashOffset?x.borderDashOffset:S.borderDashOffset||C.borderDashOffset,borderJoinStyle:x.borderJoinStyle?x.borderJoinStyle:S.borderJoinStyle||C.borderJoinStyle}}),p.dataset.pivot(),u.each(w,function(A,j){M.updateElement(A,j,h)},M),M.updateBezierControlPoints()},updateElement:function(h,M,p){var y=this,w=h.custom||{},x=y.getDataset(),S=y.chart.scale,C=y.chart.options.elements.point,L=S.getPointPositionForValue(M,x.data[M]);void 0!==x.radius&&void 0===x.pointRadius&&(x.pointRadius=x.radius),void 0!==x.hitRadius&&void 0===x.pointHitRadius&&(x.pointHitRadius=x.hitRadius),u.extend(h,{_datasetIndex:y.index,_index:M,_scale:S,_model:{x:p?S.xCenter:L.x,y:p?S.yCenter:L.y,tension:w.tension?w.tension:u.valueOrDefault(x.lineTension,y.chart.options.elements.line.tension),radius:w.radius?w.radius:u.valueAtIndexOrDefault(x.pointRadius,M,C.radius),backgroundColor:w.backgroundColor?w.backgroundColor:u.valueAtIndexOrDefault(x.pointBackgroundColor,M,C.backgroundColor),borderColor:w.borderColor?w.borderColor:u.valueAtIndexOrDefault(x.pointBorderColor,M,C.borderColor),borderWidth:w.borderWidth?w.borderWidth:u.valueAtIndexOrDefault(x.pointBorderWidth,M,C.borderWidth),pointStyle:w.pointStyle?w.pointStyle:u.valueAtIndexOrDefault(x.pointStyle,M,C.pointStyle),hitRadius:w.hitRadius?w.hitRadius:u.valueAtIndexOrDefault(x.pointHitRadius,M,C.hitRadius)}}),h._model.skip=w.skip?w.skip:isNaN(h._model.x)||isNaN(h._model.y)},updateBezierControlPoints:function(){var h=this.chart.chartArea,M=this.getMeta();u.each(M.data,function(p,y){var w=p._model,x=u.splineCurve(u.previousItem(M.data,y,!0)._model,w,u.nextItem(M.data,y,!0)._model,w.tension);w.controlPointPreviousX=Math.max(Math.min(x.previous.x,h.right),h.left),w.controlPointPreviousY=Math.max(Math.min(x.previous.y,h.bottom),h.top),w.controlPointNextX=Math.max(Math.min(x.next.x,h.right),h.left),w.controlPointNextY=Math.max(Math.min(x.next.y,h.bottom),h.top),p.pivot()})},setHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,w=h._model;w.radius=p.hoverRadius?p.hoverRadius:u.valueAtIndexOrDefault(M.pointHoverRadius,y,this.chart.options.elements.point.hoverRadius),w.backgroundColor=p.hoverBackgroundColor?p.hoverBackgroundColor:u.valueAtIndexOrDefault(M.pointHoverBackgroundColor,y,u.getHoverColor(w.backgroundColor)),w.borderColor=p.hoverBorderColor?p.hoverBorderColor:u.valueAtIndexOrDefault(M.pointHoverBorderColor,y,u.getHoverColor(w.borderColor)),w.borderWidth=p.hoverBorderWidth?p.hoverBorderWidth:u.valueAtIndexOrDefault(M.pointHoverBorderWidth,y,w.borderWidth)},removeHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,w=h._model,x=this.chart.options.elements.point;w.radius=p.radius?p.radius:u.valueAtIndexOrDefault(M.pointRadius,y,x.radius),w.backgroundColor=p.backgroundColor?p.backgroundColor:u.valueAtIndexOrDefault(M.pointBackgroundColor,y,x.backgroundColor),w.borderColor=p.borderColor?p.borderColor:u.valueAtIndexOrDefault(M.pointBorderColor,y,x.borderColor),w.borderWidth=p.borderWidth?p.borderWidth:u.valueAtIndexOrDefault(M.pointBorderWidth,y,x.borderWidth)}})}},1895:(le,me,F)=>{"use strict";F(9800)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(v){return"("+v.xLabel+", "+v.yLabel+")"}}}}),le.exports=function(v){v.controllers.scatter=v.controllers.line}},8103:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:u.noop,onComplete:u.noop}}),le.exports=function(f){f.Animation=v.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),f.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(h,M,p,y){var x,S,w=this.animations;for(M.chart=h,y||(h.animating=!0),x=0,S=w.length;x1&&(p=Math.floor(h.dropFrames),h.dropFrames=h.dropFrames%1),h.advance(1+p);var y=Date.now();h.dropFrames+=(y-M)/h.frameDuration,h.animations.length>0&&h.requestAnimationFrame()},advance:function(h){for(var p,y,M=this.animations,w=0;w=p.numSteps?(u.callback(p.onAnimationComplete,[p],y),y.animating=!1,M.splice(w,1)):++w}},Object.defineProperty(f.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(f.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(h){this.chart=h}})}},1047:(le,me,F)=>{"use strict";var I=F(9800),v=F(3305),u=F(2814),f=F(2294),h=F(8244),M=F(2445);le.exports=function(p){function w(S){var C=S.options;v.each(S.scales,function(L){f.removeBox(S,L)}),C=v.configMerge(p.defaults.global,p.defaults[S.config.type],C),S.options=S.config.options=C,S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.tooltip._options=C.tooltips,S.tooltip.initialize()}function x(S){return"top"===S||"bottom"===S}p.types={},p.instances={},p.controllers={},v.extend(p.prototype,{construct:function(S,C){var L=this;C=function y(S){var C=(S=S||{}).data=S.data||{};return C.datasets=C.datasets||[],C.labels=C.labels||[],S.options=v.configMerge(I.global,I[S.type],S.options||{}),S}(C);var A=h.acquireContext(S,C),j=A&&A.canvas,H=j&&j.height,K=j&&j.width;L.id=v.uid(),L.ctx=A,L.canvas=j,L.config=C,L.width=K,L.height=H,L.aspectRatio=H?K/H:null,L.options=C.options,L._bufferedRender=!1,L.chart=L,L.controller=L,p.instances[L.id]=L,Object.defineProperty(L,"data",{get:function(){return L.config.data},set:function(re){L.config.data=re}}),A&&j?(L.initialize(),L.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var S=this;return M.notify(S,"beforeInit"),v.retinaScale(S,S.options.devicePixelRatio),S.bindEvents(),S.options.responsive&&S.resize(!0),S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.initToolTip(),M.notify(S,"afterInit"),S},clear:function(){return v.canvas.clear(this),this},stop:function(){return p.animationService.cancelAnimation(this),this},resize:function(S){var C=this,L=C.options,A=C.canvas,j=L.maintainAspectRatio&&C.aspectRatio||null,H=Math.max(0,Math.floor(v.getMaximumWidth(A))),K=Math.max(0,Math.floor(j?H/j:v.getMaximumHeight(A)));if((C.width!==H||C.height!==K)&&(A.width=C.width=H,A.height=C.height=K,A.style.width=H+"px",A.style.height=K+"px",v.retinaScale(C,L.devicePixelRatio),!S)){var re={width:H,height:K};M.notify(C,"resize",[re]),C.options.onResize&&C.options.onResize(C,re),C.stop(),C.update(C.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var S=this.options,C=S.scales||{},L=S.scale;v.each(C.xAxes,function(A,j){A.id=A.id||"x-axis-"+j}),v.each(C.yAxes,function(A,j){A.id=A.id||"y-axis-"+j}),L&&(L.id=L.id||"scale")},buildOrUpdateScales:function(){var S=this,C=S.options,L=S.scales||{},A=[],j=Object.keys(L).reduce(function(H,K){return H[K]=!1,H},{});C.scales&&(A=A.concat((C.scales.xAxes||[]).map(function(H){return{options:H,dtype:"category",dposition:"bottom"}}),(C.scales.yAxes||[]).map(function(H){return{options:H,dtype:"linear",dposition:"left"}}))),C.scale&&A.push({options:C.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),v.each(A,function(H){var K=H.options,re=K.id,ve=v.valueOrDefault(K.type,H.dtype);x(K.position)!==x(H.dposition)&&(K.position=H.dposition),j[re]=!0;var Z=null;if(re in L&&L[re].type===ve)(Z=L[re]).options=K,Z.ctx=S.ctx,Z.chart=S;else{var Q=p.scaleService.getScaleConstructor(ve);if(!Q)return;Z=new Q({id:re,type:ve,options:K,ctx:S.ctx,chart:S}),L[Z.id]=Z}Z.mergeTicksOptions(),H.isDefault&&(S.scale=Z)}),v.each(j,function(H,K){H||delete L[K]}),S.scales=L,p.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var S=this,C=[],L=[];return v.each(S.data.datasets,function(A,j){var H=S.getDatasetMeta(j),K=A.type||S.config.type;if(H.type&&H.type!==K&&(S.destroyDatasetMeta(j),H=S.getDatasetMeta(j)),H.type=K,C.push(H.type),H.controller)H.controller.updateIndex(j),H.controller.linkScales();else{var re=p.controllers[H.type];if(void 0===re)throw new Error('"'+H.type+'" is not a chart type.');H.controller=new re(S,j),L.push(H.controller)}},S),L},resetElements:function(){var S=this;v.each(S.data.datasets,function(C,L){S.getDatasetMeta(L).controller.reset()},S)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(S){var C=this;if((!S||"object"!=typeof S)&&(S={duration:S,lazy:arguments[1]}),w(C),M._invalidate(C),!1!==M.notify(C,"beforeUpdate")){C.tooltip._data=C.data;var L=C.buildOrUpdateControllers();v.each(C.data.datasets,function(A,j){C.getDatasetMeta(j).controller.buildOrUpdateElements()},C),C.updateLayout(),C.options.animation&&C.options.animation.duration&&v.each(L,function(A){A.reset()}),C.updateDatasets(),C.tooltip.initialize(),C.lastActive=[],M.notify(C,"afterUpdate"),C._bufferedRender?C._bufferedRequest={duration:S.duration,easing:S.easing,lazy:S.lazy}:C.render(S)}},updateLayout:function(){var S=this;!1!==M.notify(S,"beforeLayout")&&(f.update(this,this.width,this.height),M.notify(S,"afterScaleUpdate"),M.notify(S,"afterLayout"))},updateDatasets:function(){var S=this;if(!1!==M.notify(S,"beforeDatasetsUpdate")){for(var C=0,L=S.data.datasets.length;C"u"&&0!==j.duration)){var K=new p.Animation({numSteps:(L||j.duration)/16.66,easing:S.easing||j.easing,render:function(re,ve){var Q=ve.currentStep,ce=Q/ve.numSteps;re.draw((0,v.easing.effects[ve.easing])(ce),ce,Q)},onAnimationProgress:j.onProgress,onAnimationComplete:H});p.animationService.addAnimation(C,K,L,A)}else C.draw(),H(new p.Animation({numSteps:0,chart:C}));return C}},draw:function(S){var C=this;C.clear(),v.isNullOrUndef(S)&&(S=1),C.transition(S),!1!==M.notify(C,"beforeDraw",[S])&&(v.each(C.boxes,function(L){L.draw(C.chartArea)},C),C.scale&&C.scale.draw(),C.drawDatasets(S),C._drawTooltip(S),M.notify(C,"afterDraw",[S]))},transition:function(S){for(var C=this,L=0,A=(C.data.datasets||[]).length;L=0;--L)C.isDatasetVisible(L)&&C.drawDataset(L,S);M.notify(C,"afterDatasetsDraw",[S])}},drawDataset:function(S,C){var L=this,A=L.getDatasetMeta(S),j={meta:A,index:S,easingValue:C};!1!==M.notify(L,"beforeDatasetDraw",[j])&&(A.controller.draw(C),M.notify(L,"afterDatasetDraw",[j]))},_drawTooltip:function(S){var C=this,L=C.tooltip,A={tooltip:L,easingValue:S};!1!==M.notify(C,"beforeTooltipDraw",[A])&&(L.draw(),M.notify(C,"afterTooltipDraw",[A]))},getElementAtEvent:function(S){return u.modes.single(this,S)},getElementsAtEvent:function(S){return u.modes.label(this,S,{intersect:!0})},getElementsAtXAxis:function(S){return u.modes["x-axis"](this,S,{intersect:!0})},getElementsAtEventForMode:function(S,C,L){var A=u.modes[C];return"function"==typeof A?A(this,S,L):[]},getDatasetAtEvent:function(S){return u.modes.dataset(this,S,{intersect:!0})},getDatasetMeta:function(S){var C=this,L=C.data.datasets[S];L._meta||(L._meta={});var A=L._meta[C.id];return A||(A=L._meta[C.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),A},getVisibleDatasetCount:function(){for(var S=0,C=0,L=this.data.datasets.length;C{"use strict";var I=F(3305);le.exports=function(v){var u=["push","pop","shift","splice","unshift"];function h(M,p){var y=M._chartjs;if(y){var w=y.listeners,x=w.indexOf(p);-1!==x&&w.splice(x,1),!(w.length>0)&&(u.forEach(function(S){delete M[S]}),delete M._chartjs)}}v.DatasetController=function(M,p){this.initialize(M,p)},I.extend(v.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(M,p){var y=this;y.chart=M,y.index=p,y.linkScales(),y.addElements()},updateIndex:function(M){this.index=M},linkScales:function(){var M=this,p=M.getMeta(),y=M.getDataset();(null===p.xAxisID||!(p.xAxisID in M.chart.scales))&&(p.xAxisID=y.xAxisID||M.chart.options.scales.xAxes[0].id),(null===p.yAxisID||!(p.yAxisID in M.chart.scales))&&(p.yAxisID=y.yAxisID||M.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(M){return this.chart.scales[M]},reset:function(){this.update(!0)},destroy:function(){this._data&&h(this._data,this)},createMetaDataset:function(){var M=this,p=M.datasetElementType;return p&&new p({_chart:M.chart,_datasetIndex:M.index})},createMetaData:function(M){var p=this,y=p.dataElementType;return y&&new y({_chart:p.chart,_datasetIndex:p.index,_index:M})},addElements:function(){var x,S,M=this,p=M.getMeta(),y=M.getDataset().data||[],w=p.data;for(x=0,S=y.length;xw&&M.insertElements(w,x-w)},insertElements:function(M,p){for(var y=0;y{"use strict";var I=F(3305);le.exports={_set:function(v,u){return I.merge(this[v]||(this[v]={}),u)}}},8839:(le,me,F)=>{"use strict";var I=F(7726),v=F(3305),f=function(h){v.extend(this,h),this.initialize.apply(this,arguments)};v.extend(f.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var h=this;return h._view||(h._view=v.clone(h._model)),h._start={},h},transition:function(h){var M=this,p=M._model,y=M._start,w=M._view;return p&&1!==h?(w||(w=M._view={}),y||(y=M._start={}),function u(h,M,p,y){var x,S,C,L,A,j,H,K,re,w=Object.keys(p);for(x=0,S=w.length;x{"use strict";var I=F(7726),v=F(9800),u=F(3305);le.exports=function(f){function h(y,w,x){var S;return"string"==typeof y?(S=parseInt(y,10),-1!==y.indexOf("%")&&(S=S/100*w.parentNode[x])):S=y,S}function M(y){return null!=y&&"none"!==y}function p(y,w,x){var S=document.defaultView,C=y.parentNode,L=S.getComputedStyle(y)[w],A=S.getComputedStyle(C)[w],j=M(L),H=M(A),K=Number.POSITIVE_INFINITY;return j||H?Math.min(j?h(L,y,x):K,H?h(A,C,x):K):"none"}u.configMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,w,x,S){var C=w[y]||{},L=x[y];"scales"===y?w[y]=u.scaleMerge(C,L):"scale"===y?w[y]=u.merge(C,[f.scaleService.getScaleDefaults(L.type),L]):u._merger(y,w,x,S)}})},u.scaleMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,w,x,S){if("xAxes"===y||"yAxes"===y){var L,A,j,C=x[y].length;for(w[y]||(w[y]=[]),L=0;L=w[y].length&&w[y].push({}),u.merge(w[y][L],!w[y][L].type||j.type&&j.type!==w[y][L].type?[f.scaleService.getScaleDefaults(A),j]:j)}else u._merger(y,w,x,S)}})},u.where=function(y,w){if(u.isArray(y)&&Array.prototype.filter)return y.filter(w);var x=[];return u.each(y,function(S){w(S)&&x.push(S)}),x},u.findIndex=Array.prototype.findIndex?function(y,w,x){return y.findIndex(w,x)}:function(y,w,x){x=void 0===x?y:x;for(var S=0,C=y.length;S=0;S--){var C=y[S];if(w(C))return C}},u.isNumber=function(y){return!isNaN(parseFloat(y))&&isFinite(y)},u.almostEquals=function(y,w,x){return Math.abs(y-w)y},u.max=function(y){return y.reduce(function(w,x){return isNaN(x)?w:Math.max(w,x)},Number.NEGATIVE_INFINITY)},u.min=function(y){return y.reduce(function(w,x){return isNaN(x)?w:Math.min(w,x)},Number.POSITIVE_INFINITY)},u.sign=Math.sign?function(y){return Math.sign(y)}:function(y){return 0==(y=+y)||isNaN(y)?y:y>0?1:-1},u.log10=Math.log10?function(y){return Math.log10(y)}:function(y){var w=Math.log(y)*Math.LOG10E,x=Math.round(w);return y===Math.pow(10,x)?x:w},u.toRadians=function(y){return y*(Math.PI/180)},u.toDegrees=function(y){return y*(180/Math.PI)},u.getAngleFromPoint=function(y,w){var x=w.x-y.x,S=w.y-y.y,C=Math.sqrt(x*x+S*S),L=Math.atan2(S,x);return L<-.5*Math.PI&&(L+=2*Math.PI),{angle:L,distance:C}},u.distanceBetweenPoints=function(y,w){return Math.sqrt(Math.pow(w.x-y.x,2)+Math.pow(w.y-y.y,2))},u.aliasPixel=function(y){return y%2==0?0:.5},u.splineCurve=function(y,w,x,S){var C=y.skip?w:y,L=w,A=x.skip?w:x,j=Math.sqrt(Math.pow(L.x-C.x,2)+Math.pow(L.y-C.y,2)),H=Math.sqrt(Math.pow(A.x-L.x,2)+Math.pow(A.y-L.y,2)),K=j/(j+H),re=H/(j+H),ve=S*(K=isNaN(K)?0:K),Z=S*(re=isNaN(re)?0:re);return{previous:{x:L.x-ve*(A.x-C.x),y:L.y-ve*(A.y-C.y)},next:{x:L.x+Z*(A.x-C.x),y:L.y+Z*(A.y-C.y)}}},u.EPSILON=Number.EPSILON||1e-14,u.splineCurveMonotone=function(y){var S,C,L,A,H,K,re,ve,Z,w=(y||[]).map(function(Q){return{model:Q._model,deltaK:0,mK:0}}),x=w.length;for(S=0;S0?w[S-1]:null,(A=S0?w[S-1]:null)&&!C.model.skip&&(L.model.controlPointPreviousX=L.model.x-(Z=(L.model.x-C.model.x)/3),L.model.controlPointPreviousY=L.model.y-Z*L.mK),A&&!A.model.skip&&(L.model.controlPointNextX=L.model.x+(Z=(A.model.x-L.model.x)/3),L.model.controlPointNextY=L.model.y+Z*L.mK))},u.nextItem=function(y,w,x){return x?w>=y.length-1?y[0]:y[w+1]:w>=y.length-1?y[y.length-1]:y[w+1]},u.previousItem=function(y,w,x){return x?w<=0?y[y.length-1]:y[w-1]:w<=0?y[0]:y[w-1]},u.niceNum=function(y,w){var x=Math.floor(u.log10(y)),S=y/Math.pow(10,x);return(w?S<1.5?1:S<3?2:S<7?5:10:S<=1?1:S<=2?2:S<=5?5:10)*Math.pow(10,x)},u.requestAnimFrame=typeof window>"u"?function(y){y()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(y){return window.setTimeout(y,1e3/60)},u.getRelativePosition=function(y,w){var x,S,C=y.originalEvent||y,L=y.currentTarget||y.srcElement,A=L.getBoundingClientRect(),j=C.touches;j&&j.length>0?(x=j[0].clientX,S=j[0].clientY):(x=C.clientX,S=C.clientY);var H=parseFloat(u.getStyle(L,"padding-left")),K=parseFloat(u.getStyle(L,"padding-top")),re=parseFloat(u.getStyle(L,"padding-right")),ve=parseFloat(u.getStyle(L,"padding-bottom")),Q=A.bottom-A.top-K-ve;return{x:x=Math.round((x-A.left-H)/(A.right-A.left-H-re)*L.width/w.currentDevicePixelRatio),y:S=Math.round((S-A.top-K)/Q*L.height/w.currentDevicePixelRatio)}},u.getConstraintWidth=function(y){return p(y,"max-width","clientWidth")},u.getConstraintHeight=function(y){return p(y,"max-height","clientHeight")},u.getMaximumWidth=function(y){var w=y.parentNode;if(!w)return y.clientWidth;var x=parseInt(u.getStyle(w,"padding-left"),10),S=parseInt(u.getStyle(w,"padding-right"),10),C=w.clientWidth-x-S,L=u.getConstraintWidth(y);return isNaN(L)?C:Math.min(C,L)},u.getMaximumHeight=function(y){var w=y.parentNode;if(!w)return y.clientHeight;var x=parseInt(u.getStyle(w,"padding-top"),10),S=parseInt(u.getStyle(w,"padding-bottom"),10),C=w.clientHeight-x-S,L=u.getConstraintHeight(y);return isNaN(L)?C:Math.min(C,L)},u.getStyle=function(y,w){return y.currentStyle?y.currentStyle[w]:document.defaultView.getComputedStyle(y,null).getPropertyValue(w)},u.retinaScale=function(y,w){var x=y.currentDevicePixelRatio=w||window.devicePixelRatio||1;if(1!==x){var S=y.canvas,C=y.height,L=y.width;S.height=C*x,S.width=L*x,y.ctx.scale(x,x),!S.style.height&&!S.style.width&&(S.style.height=C+"px",S.style.width=L+"px")}},u.fontString=function(y,w,x){return w+" "+y+"px "+x},u.longestText=function(y,w,x,S){var C=(S=S||{}).data=S.data||{},L=S.garbageCollect=S.garbageCollect||[];S.font!==w&&(C=S.data={},L=S.garbageCollect=[],S.font=w),y.font=w;var A=0;u.each(x,function(K){null!=K&&!0!==u.isArray(K)?A=u.measureText(y,C,L,A,K):u.isArray(K)&&u.each(K,function(re){null!=re&&!u.isArray(re)&&(A=u.measureText(y,C,L,A,re))})});var j=L.length/2;if(j>x.length){for(var H=0;HS&&(S=L),S},u.numberOfLabelLines=function(y){var w=1;return u.each(y,function(x){u.isArray(x)&&x.length>w&&(w=x.length)}),w},u.color=I?function(y){return y instanceof CanvasGradient&&(y=v.global.defaultColor),I(y)}:function(y){return console.error("Color.js not found!"),y},u.getHoverColor=function(y){return y instanceof CanvasPattern?y:u.color(y).saturate(.5).darken(.1).rgbString()}}},2814:(le,me,F)=>{"use strict";var I=F(3305);function v(y,w){return y.native?{x:y.x,y:y.y}:I.getRelativePosition(y,w)}function u(y,w){var S,C,L,A,j;for(C=0,A=y.data.datasets.length;C0&&(L=y.getDatasetMeta(L[0]._datasetIndex).data),L},"x-axis":function(y,w){return p(y,w,{intersect:!1})},point:function(y,w){return f(y,v(w,y))},nearest:function(y,w,x){var S=v(w,y);x.axis=x.axis||"xy";var C=M(x.axis),L=h(y,S,x.intersect,C);return L.length>1&&L.sort(function(A,j){var re=A.getArea()-j.getArea();return 0===re&&(re=A._datasetIndex-j._datasetIndex),re}),L.slice(0,1)},x:function(y,w,x){var S=v(w,y),C=[],L=!1;return u(y,function(A){A.inXRange(S.x)&&C.push(A),A.inRange(S.x,S.y)&&(L=!0)}),x.intersect&&!L&&(C=[]),C},y:function(y,w,x){var S=v(w,y),C=[],L=!1;return u(y,function(A){A.inYRange(S.y)&&C.push(A),A.inRange(S.x,S.y)&&(L=!0)}),x.intersect&&!L&&(C=[]),C}}}},5979:(le,me,F)=>{"use strict";F(9800)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),le.exports=function(){var v=function(u,f){return this.construct(u,f),this};return v.Chart=v,v}},2294:(le,me,F)=>{"use strict";var I=F(3305);function v(f,h){return I.where(f,function(M){return M.position===h})}function u(f,h){f.forEach(function(M,p){return M._tmpIndex_=p,M}),f.sort(function(M,p){var y=h?p:M,w=h?M:p;return y.weight===w.weight?y._tmpIndex_-w._tmpIndex_:y.weight-w.weight}),f.forEach(function(M){delete M._tmpIndex_})}le.exports={defaults:{},addBox:function(f,h){f.boxes||(f.boxes=[]),h.fullWidth=h.fullWidth||!1,h.position=h.position||"top",h.weight=h.weight||0,f.boxes.push(h)},removeBox:function(f,h){var M=f.boxes?f.boxes.indexOf(h):-1;-1!==M&&f.boxes.splice(M,1)},configure:function(f,h,M){for(var x,p=["fullWidth","position","weight"],y=p.length,w=0;w{"use strict";var I=F(9800),v=F(3305);I._set("global",{plugins:{}}),le.exports={_plugins:[],_cacheId:0,register:function(u){var f=this._plugins;[].concat(u).forEach(function(h){-1===f.indexOf(h)&&f.push(h)}),this._cacheId++},unregister:function(u){var f=this._plugins;[].concat(u).forEach(function(h){var M=f.indexOf(h);-1!==M&&f.splice(M,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(u,f,h){var y,w,x,S,C,M=this.descriptors(u),p=M.length;for(y=0;y{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(8347);function h(p){var w,x,y=[];for(w=0,x=p.length;w"u"&&(S.minor[C]=S[C]),typeof S.major[C]>"u"&&(S.major[C]=S[C]))},beforeUpdate:function(){u.callback(this.options.beforeUpdate,[this])},update:function(S,C,L){var j,H,K,re,ve,Z,A=this;for(A.beforeUpdate(),A.maxWidth=S,A.maxHeight=C,A.margins=u.extend({left:0,right:0,top:0,bottom:0},L),A.longestTextCache=A.longestTextCache||{},A.beforeSetDimensions(),A.setDimensions(),A.afterSetDimensions(),A.beforeDataLimits(),A.determineDataLimits(),A.afterDataLimits(),A.beforeBuildTicks(),ve=A.buildTicks()||[],A.afterBuildTicks(),A.beforeTickToLabelConversion(),K=A.convertTicksToLabels(ve)||A.ticks,A.afterTickToLabelConversion(),A.ticks=K,j=0,H=K.length;jQ&&HS.maxHeight){H--;break}H++,re=ve*K}S.labelRotation=H},afterCalculateTickRotation:function(){u.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){u.callback(this.options.beforeFit,[this])},fit:function(){var S=this,C=S.minSize={width:0,height:0},L=h(S._ticks),A=S.options,j=A.ticks,H=A.scaleLabel,K=A.gridLines,re=A.display,ve=S.isHorizontal(),Z=w(j),Q=A.gridLines.tickMarkLength;if(C.width=ve?S.isFullWidth()?S.maxWidth-S.margins.left-S.margins.right:S.maxWidth:re&&K.drawTicks?Q:0,C.height=ve?re&&K.drawTicks?Q:0:S.maxHeight,H.display&&re){var ee=x(H)+u.options.toPadding(H.padding).height;ve?C.height+=ee:C.width+=ee}if(j.display&&re){var ne=u.longestText(S.ctx,Z.font,L,S.longestTextCache),oe=u.numberOfLabelLines(L),ae=.5*Z.size,J=S.options.ticks.padding;if(ve){S.longestLabelWidth=ne;var Te=u.toRadians(S.labelRotation),ke=Math.cos(Te),Ae=Math.sin(Te);C.height=Math.min(S.maxHeight,C.height+(Ae*ne+Z.size*oe+ae*(oe-1)+ae)+J),S.ctx.font=Z.font;var et=y(S.ctx,L[0],Z.font),st=y(S.ctx,L[L.length-1],Z.font);0!==S.labelRotation?(S.paddingLeft="bottom"===A.position?ke*et+3:ke*ae+3,S.paddingRight="bottom"===A.position?ke*ae+3:ke*st+3):(S.paddingLeft=et/2+3,S.paddingRight=st/2+3)}else j.mirror?ne=0:ne+=J+ae,C.width=Math.min(S.maxWidth,C.width+ne),S.paddingTop=Z.size/2,S.paddingBottom=Z.size/2}S.handleMargins(),S.width=C.width,S.height=C.height},handleMargins:function(){var S=this;S.margins&&(S.paddingLeft=Math.max(S.paddingLeft-S.margins.left,0),S.paddingTop=Math.max(S.paddingTop-S.margins.top,0),S.paddingRight=Math.max(S.paddingRight-S.margins.right,0),S.paddingBottom=Math.max(S.paddingBottom-S.margins.bottom,0))},afterFit:function(){u.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(S){if(u.isNullOrUndef(S))return NaN;if("number"==typeof S&&!isFinite(S))return NaN;if(S)if(this.isHorizontal()){if(void 0!==S.x)return this.getRightValue(S.x)}else if(void 0!==S.y)return this.getRightValue(S.y);return S},getLabelForIndex:u.noop,getPixelForValue:u.noop,getValueForPixel:u.noop,getPixelForTick:function(S){var C=this,L=C.options.offset;if(C.isHorizontal()){var j=(C.width-(C.paddingLeft+C.paddingRight))/Math.max(C._ticks.length-(L?0:1),1),H=j*S+C.paddingLeft;return L&&(H+=j/2),C.left+Math.round(H)+(C.isFullWidth()?C.margins.left:0)}return C.top+S*((C.height-(C.paddingTop+C.paddingBottom))/(C._ticks.length-1))},getPixelForDecimal:function(S){var C=this;return C.isHorizontal()?C.left+Math.round((C.width-(C.paddingLeft+C.paddingRight))*S+C.paddingLeft)+(C.isFullWidth()?C.margins.left:0):C.top+S*C.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var S=this,C=S.min,L=S.max;return S.beginAtZero?0:C<0&&L<0?L:C>0&&L>0?C:0},_autoSkip:function(S){var C,Q,ce,ee,L=this,A=L.isHorizontal(),j=L.options.ticks.minor,H=S.length,K=u.toRadians(L.labelRotation),re=Math.cos(K),ve=L.longestLabelWidth*re,Z=[];for(j.maxTicksLimit&&(ee=j.maxTicksLimit),A&&(C=!1,(ve+j.autoSkipPadding)*H>L.width-(L.paddingLeft+L.paddingRight)&&(C=1+Math.floor((ve+j.autoSkipPadding)*H/(L.width-(L.paddingLeft+L.paddingRight)))),ee&&H>ee&&(C=Math.max(C,Math.floor(H/ee)))),Q=0;Q1&&Q%C>0||Q%C==0&&Q+C>=H)&&Q!==H-1&&delete ce.label,Z.push(ce);return Z},draw:function(S){var C=this,L=C.options;if(L.display){var A=C.ctx,j=I.global,H=L.ticks.minor,K=L.ticks.major||H,re=L.gridLines,ve=L.scaleLabel,Z=0!==C.labelRotation,Q=C.isHorizontal(),ce=H.autoSkip?C._autoSkip(C.getTicks()):C.getTicks(),q=u.valueOrDefault(H.fontColor,j.defaultFontColor),ee=w(H),ne=u.valueOrDefault(K.fontColor,j.defaultFontColor),oe=w(K),ae=re.drawTicks?re.tickMarkLength:0,J=u.valueOrDefault(ve.fontColor,j.defaultFontColor),Te=w(ve),ke=u.options.toPadding(ve.padding),Ae=u.toRadians(C.labelRotation),Ne=[],et=C.options.gridLines.lineWidth,st="right"===L.position?C.right:C.right-et-ae,rt="right"===L.position?C.right+ae:C.right,Bt="bottom"===L.position?C.top+et:C.bottom-ae-et,ln="bottom"===L.position?C.top+et+ae:C.bottom+et;if(u.each(ce,function(ie,de){if(!u.isNullOrUndef(ie.label)){var _e,be,fe,ge,ue=ie.label;de===C.zeroLineIndex&&L.offset===re.offsetGridLines?(_e=re.zeroLineWidth,be=re.zeroLineColor,fe=re.zeroLineBorderDash,ge=re.zeroLineBorderDashOffset):(_e=u.valueAtIndexOrDefault(re.lineWidth,de),be=u.valueAtIndexOrDefault(re.color,de),fe=u.valueOrDefault(re.borderDash,j.borderDash),ge=u.valueOrDefault(re.borderDashOffset,j.borderDashOffset));var we,Ee,Ze,ut,dt,tt,Yt,wn,Rt,Gt,Dn="middle",ti="middle",Ss=H.padding;if(Q){var Fs=ae+Ss;"bottom"===L.position?(ti=Z?"middle":"top",Dn=Z?"right":"center",Gt=C.top+Fs):(ti=Z?"middle":"bottom",Dn=Z?"left":"center",Gt=C.bottom-Fs);var yi=M(C,de,re.offsetGridLines&&ce.length>1);yi1);ni{"use strict";var I=F(9800),v=F(3305),u=F(2294);le.exports=function(f){f.scaleService={constructors:{},defaults:{},registerScaleType:function(h,M,p){this.constructors[h]=M,this.defaults[h]=v.clone(p)},getScaleConstructor:function(h){return this.constructors.hasOwnProperty(h)?this.constructors[h]:void 0},getScaleDefaults:function(h){return this.defaults.hasOwnProperty(h)?v.merge({},[I.scale,this.defaults[h]]):{}},updateScaleDefaults:function(h,M){var p=this;p.defaults.hasOwnProperty(h)&&(p.defaults[h]=v.extend(p.defaults[h],M))},addScalesToLayout:function(h){v.each(h.scales,function(M){M.fullWidth=M.options.fullWidth,M.position=M.options.position,M.weight=M.options.weight,u.addBox(h,M)})}}}},8347:(le,me,F)=>{"use strict";var I=F(3305);le.exports={formatters:{values:function(v){return I.isArray(v)?v:""+v},linear:function(v,u,f){var h=f.length>3?f[2]-f[1]:f[1]-f[0];Math.abs(h)>1&&v!==Math.floor(v)&&(h=v-Math.floor(v));var M=I.log10(Math.abs(h)),p="";if(0!==v){var y=-1*Math.floor(M);y=Math.max(Math.min(y,20),0),p=v.toFixed(y)}else p="0";return p},logarithmic:function(v,u,f){var h=v/Math.pow(10,Math.floor(I.log10(v)));return 0===v?"0":1===h||2===h||5===h||0===u||u===f.length-1?v.toExponential():""}}}},480:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:u.noop,title:function(f,h){var M="",p=h.labels,y=p?p.length:0;if(f.length>0){var w=f[0];w.xLabel?M=w.xLabel:y>0&&w.indexj.height-L.height&&(re="bottom");var ve,Z,Q,ce,q,ee=(H.left+H.right)/2,ne=(H.top+H.bottom)/2;"center"===re?(ve=function(ae){return ae<=ee},Z=function(ae){return ae>ee}):(ve=function(ae){return ae<=L.width/2},Z=function(ae){return ae>=j.width-L.width/2}),Q=function(ae){return ae+L.width+A.caretSize+A.caretPadding>j.width},ce=function(ae){return ae-L.width-A.caretSize-A.caretPadding<0},q=function(ae){return ae<=ne?"top":"bottom"},ve(A.x)?(K="left",Q(A.x)&&(K="center",re=q(A.y))):Z(A.x)&&(K="right",ce(A.x)&&(K="center",re=q(A.y)));var oe=C._options;return{xAlign:oe.xAlign?oe.xAlign:K,yAlign:oe.yAlign?oe.yAlign:re}}(this,Q),Z=function S(C,L,A,j){var H=C.x,K=C.y,ve=C.caretPadding,Q=A.xAlign,ce=A.yAlign,q=C.caretSize+ve,ee=C.cornerRadius+ve;return"right"===Q?H-=L.width:"center"===Q&&((H-=L.width/2)+L.width>j.width&&(H=j.width-L.width),H<0&&(H=0)),"top"===ce?K+=q:K-="bottom"===ce?L.height+q:L.height/2,"center"===ce?"left"===Q?H+=q:"right"===Q&&(H-=q):"left"===Q?H-=ee:"right"===Q&&(H+=ee),{x:H,y:K}}(H,Q,ve,L._chart)}else H.opacity=0;return H.xAlign=ve.xAlign,H.yAlign=ve.yAlign,H.x=Z.x,H.y=Z.y,H.width=Q.width,H.height=Q.height,H.caretX=ce.x,H.caretY=ce.y,L._model=H,C&&A.custom&&A.custom.call(L,H),L},drawCaret:function(C,L){var A=this._chart.ctx,H=this.getCaretPosition(C,L,this._view);A.lineTo(H.x1,H.y1),A.lineTo(H.x2,H.y2),A.lineTo(H.x3,H.y3)},getCaretPosition:function(C,L,A){var j,H,K,re,ve,Z,Q=A.caretSize,ce=A.cornerRadius,q=A.xAlign,ee=A.yAlign,ne=C.x,oe=C.y,ae=L.width,J=L.height;if("center"===ee)ve=oe+J/2,"left"===q?(H=(j=ne)-Q,K=j,re=ve+Q,Z=ve-Q):(H=(j=ne+ae)+Q,K=j,re=ve-Q,Z=ve+Q);else if("left"===q?(j=(H=ne+ce+Q)-Q,K=H+Q):"right"===q?(j=(H=ne+ae-ce-Q)-Q,K=H+Q):(j=(H=A.caretX)-Q,K=H+Q),"top"===ee)ve=(re=oe)-Q,Z=re;else{ve=(re=oe+J)+Q,Z=re;var Te=K;K=j,j=Te}return{x1:j,x2:H,x3:K,y1:re,y2:ve,y3:Z}},drawTitle:function(C,L,A,j){var H=L.title;if(H.length){A.textAlign=L._titleAlign,A.textBaseline="top";var ve,Z,K=L.titleFontSize,re=L.titleSpacing;for(A.fillStyle=h(L.titleFontColor,j),A.font=u.fontString(K,L._titleFontStyle,L._titleFontFamily),ve=0,Z=H.length;ve0&&A.stroke()},draw:function(){var C=this._chart.ctx,L=this._view;if(0!==L.opacity){var A={width:L.width,height:L.height},j={x:L.x,y:L.y},H=Math.abs(L.opacity<.001)?0:L.opacity;this._options.enabled&&(L.title.length||L.beforeBody.length||L.body.length||L.afterBody.length||L.footer.length)&&(this.drawBackground(j,L,C,A,H),j.x+=L.xPadding,j.y+=L.yPadding,this.drawTitle(j,L,C,H),this.drawBody(j,L,C,H),this.drawFooter(j,L,C,H))}},handleEvent:function(C){var j,L=this,A=L._options;return L._lastActive=L._lastActive||[],L._active="mouseout"===C.type?[]:L._chart.getElementsAtEventForMode(C,A.mode,A),(j=!u.arrayEquals(L._active,L._lastActive))&&(L._lastActive=L._active,(A.enabled||A.custom)&&(L._eventPosition={x:C.x,y:C.y},L.update(!0),L.pivot())),j}}),f.Tooltip.positioners={average:function(C){if(!C.length)return!1;var L,A,j=0,H=0,K=0;for(L=0,A=C.length;L{"use strict";var I=F(9800),v=F(8839),u=F(3305);I._set("global",{elements:{arc:{backgroundColor:I.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),le.exports=v.extend({inLabelRange:function(f){var h=this._view;return!!h&&Math.pow(f-h.x,2)S;)y-=2*Math.PI;for(;y=x&&y<=S&&w>=M.innerRadius&&w<=M.outerRadius}return!1},getCenterPoint:function(){var f=this._view,h=(f.startAngle+f.endAngle)/2,M=(f.innerRadius+f.outerRadius)/2;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},getArea:function(){var f=this._view;return Math.PI*((f.endAngle-f.startAngle)/(2*Math.PI))*(Math.pow(f.outerRadius,2)-Math.pow(f.innerRadius,2))},tooltipPosition:function(){var f=this._view,h=f.startAngle+(f.endAngle-f.startAngle)/2,M=(f.outerRadius-f.innerRadius)/2+f.innerRadius;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},draw:function(){var f=this._chart.ctx,h=this._view,M=h.startAngle,p=h.endAngle;f.beginPath(),f.arc(h.x,h.y,h.outerRadius,M,p),f.arc(h.x,h.y,h.innerRadius,p,M,!0),f.closePath(),f.strokeStyle=h.borderColor,f.lineWidth=h.borderWidth,f.fillStyle=h.backgroundColor,f.fill(),f.lineJoin="bevel",h.borderWidth&&f.stroke()}})},3819:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=I.global;I._set("global",{elements:{line:{tension:.4,backgroundColor:f.defaultColor,borderWidth:3,borderColor:f.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),le.exports=v.extend({draw:function(){var C,L,A,j,h=this,M=h._view,p=h._chart.ctx,y=M.spanGaps,w=h._children.slice(),x=f.elements.line,S=-1;for(h._loop&&w.length&&w.push(w[0]),p.save(),p.lineCap=M.borderCapStyle||x.borderCapStyle,p.setLineDash&&p.setLineDash(M.borderDash||x.borderDash),p.lineDashOffset=M.borderDashOffset||x.borderDashOffset,p.lineJoin=M.borderJoinStyle||x.borderJoinStyle,p.lineWidth=M.borderWidth||x.borderWidth,p.strokeStyle=M.borderColor||f.defaultColor,p.beginPath(),S=-1,C=0;C{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=I.global.defaultColor;function h(p){var y=this._view;return!!y&&Math.abs(p-y.x){"use strict";var I=F(9800),v=F(8839);function u(h){return void 0!==h._view.width}function f(h){var p,y,w,x,M=h._view;if(u(h)){var S=M.width/2;p=M.x-S,y=M.x+S,w=Math.min(M.y,M.base),x=Math.max(M.y,M.base)}else{var C=M.height/2;p=Math.min(M.x,M.base),y=Math.max(M.x,M.base),w=M.y-C,x=M.y+C}return{left:p,top:w,right:y,bottom:x}}I._set("global",{elements:{rectangle:{backgroundColor:I.global.defaultColor,borderColor:I.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),le.exports=v.extend({draw:function(){var p,y,w,x,S,C,L,h=this._chart.ctx,M=this._view,A=M.borderWidth;if(M.horizontal?(w=M.y-M.height/2,x=M.y+M.height/2,S=(y=M.x)>(p=M.base)?1:-1,C=1,L=M.borderSkipped||"left"):(p=M.x-M.width/2,y=M.x+M.width/2,S=1,C=(x=M.base)>(w=M.y)?1:-1,L=M.borderSkipped||"bottom"),A){var j=Math.min(Math.abs(p-y),Math.abs(w-x)),H=(A=A>j?j:A)/2,K=p+("left"!==L?H*S:0),re=y+("right"!==L?-H*S:0),ve=w+("top"!==L?H*C:0),Z=x+("bottom"!==L?-H*C:0);K!==re&&(w=ve,x=Z),ve!==Z&&(p=K,y=re)}h.beginPath(),h.fillStyle=M.backgroundColor,h.strokeStyle=M.borderColor,h.lineWidth=A;var Q=[[p,x],[p,w],[y,w],[y,x]],q=["bottom","left","top","right"].indexOf(L,0);function ee(ae){return Q[(q+ae)%4]}-1===q&&(q=0);var ne=ee(0);h.moveTo(ne[0],ne[1]);for(var oe=1;oe<4;oe++)ne=ee(oe),h.lineTo(ne[0],ne[1]);h.fill(),A&&h.stroke()},height:function(){var h=this._view;return h.base-h.y},inRange:function(h,M){var p=!1;if(this._view){var y=f(this);p=h>=y.left&&h<=y.right&&M>=y.top&&M<=y.bottom}return p},inLabelRange:function(h,M){var p=this;if(!p._view)return!1;var w=f(p);return u(p)?h>=w.left&&h<=w.right:M>=w.top&&M<=w.bottom},inXRange:function(h){var M=f(this);return h>=M.left&&h<=M.right},inYRange:function(h){var M=f(this);return h>=M.top&&h<=M.bottom},getCenterPoint:function(){var M,p,h=this._view;return u(this)?(M=h.x,p=(h.y+h.base)/2):(M=(h.x+h.base)/2,p=h.y),{x:M,y:p}},getArea:function(){var h=this._view;return h.width*Math.abs(h.y-h.base)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y}}})},9931:(le,me,F)=>{"use strict";le.exports={},le.exports.Arc=F(280),le.exports.Line=F(3819),le.exports.Point=F(4674),le.exports.Rectangle=F(8667)},2397:(le,me,F)=>{"use strict";var I=F(4396),v=le.exports={clear:function(u){u.ctx.clearRect(0,0,u.width,u.height)},roundedRect:function(u,f,h,M,p,y){if(y){var w=Math.min(y,M/2),x=Math.min(y,p/2);u.moveTo(f+w,h),u.lineTo(f+M-w,h),u.quadraticCurveTo(f+M,h,f+M,h+x),u.lineTo(f+M,h+p-x),u.quadraticCurveTo(f+M,h+p,f+M-w,h+p),u.lineTo(f+w,h+p),u.quadraticCurveTo(f,h+p,f,h+p-x),u.lineTo(f,h+x),u.quadraticCurveTo(f,h,f+w,h)}else u.rect(f,h,M,p)},drawPoint:function(u,f,h,M,p){var y,w,x,S,C,L;if(!f||"object"!=typeof f||"[object HTMLImageElement]"!==(y=f.toString())&&"[object HTMLCanvasElement]"!==y){if(!(isNaN(h)||h<=0)){switch(f){default:u.beginPath(),u.arc(M,p,h,0,2*Math.PI),u.closePath(),u.fill();break;case"triangle":u.beginPath(),C=(w=3*h/Math.sqrt(3))*Math.sqrt(3)/2,u.moveTo(M-w/2,p+C/3),u.lineTo(M+w/2,p+C/3),u.lineTo(M,p-2*C/3),u.closePath(),u.fill();break;case"rect":L=1/Math.SQRT2*h,u.beginPath(),u.fillRect(M-L,p-L,2*L,2*L),u.strokeRect(M-L,p-L,2*L,2*L);break;case"rectRounded":var A=h/Math.SQRT2,j=M-A,H=p-A,K=Math.SQRT2*h;u.beginPath(),this.roundedRect(u,j,H,K,K,h/2),u.closePath(),u.fill();break;case"rectRot":L=1/Math.SQRT2*h,u.beginPath(),u.moveTo(M-L,p),u.lineTo(M,p+L),u.lineTo(M+L,p),u.lineTo(M,p-L),u.closePath(),u.fill();break;case"cross":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"crossRot":u.beginPath(),x=Math.cos(Math.PI/4)*h,S=Math.sin(Math.PI/4)*h,u.moveTo(M-x,p-S),u.lineTo(M+x,p+S),u.moveTo(M-x,p+S),u.lineTo(M+x,p-S),u.closePath();break;case"star":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),x=Math.cos(Math.PI/4)*h,S=Math.sin(Math.PI/4)*h,u.moveTo(M-x,p-S),u.lineTo(M+x,p+S),u.moveTo(M-x,p+S),u.lineTo(M+x,p-S),u.closePath();break;case"line":u.beginPath(),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"dash":u.beginPath(),u.moveTo(M,p),u.lineTo(M+h,p),u.closePath()}u.stroke()}}else u.drawImage(f,M-f.width/2,p-f.height/2,f.width,f.height)},clipArea:function(u,f){u.save(),u.beginPath(),u.rect(f.left,f.top,f.right-f.left,f.bottom-f.top),u.clip()},unclipArea:function(u){u.restore()},lineTo:function(u,f,h,M){if(h.steppedLine)return"after"===h.steppedLine&&!M||"after"!==h.steppedLine&&M?u.lineTo(f.x,h.y):u.lineTo(h.x,f.y),void u.lineTo(h.x,h.y);h.tension?u.bezierCurveTo(M?f.controlPointPreviousX:f.controlPointNextX,M?f.controlPointPreviousY:f.controlPointNextY,M?h.controlPointNextX:h.controlPointPreviousX,M?h.controlPointNextY:h.controlPointPreviousY,h.x,h.y):u.lineTo(h.x,h.y)}};I.clear=v.clear,I.drawRoundedRectangle=function(u){u.beginPath(),v.roundedRect.apply(v,arguments),u.closePath()}},4396:le=>{"use strict";var F,me={noop:function(){},uid:(F=0,function(){return F++}),isNullOrUndef:function(F){return null===F||typeof F>"u"},isArray:Array.isArray?Array.isArray:function(F){return"[object Array]"===Object.prototype.toString.call(F)},isObject:function(F){return null!==F&&"[object Object]"===Object.prototype.toString.call(F)},valueOrDefault:function(F,I){return typeof F>"u"?I:F},valueAtIndexOrDefault:function(F,I,v){return me.valueOrDefault(me.isArray(F)?F[I]:F,v)},callback:function(F,I,v){if(F&&"function"==typeof F.call)return F.apply(v,I)},each:function(F,I,v,u){var f,h,M;if(me.isArray(F))if(h=F.length,u)for(f=h-1;f>=0;f--)I.call(v,F[f],f);else for(f=0;f{"use strict";var I=F(4396),v={linear:function(u){return u},easeInQuad:function(u){return u*u},easeOutQuad:function(u){return-u*(u-2)},easeInOutQuad:function(u){return(u/=.5)<1?.5*u*u:-.5*(--u*(u-2)-1)},easeInCubic:function(u){return u*u*u},easeOutCubic:function(u){return(u-=1)*u*u+1},easeInOutCubic:function(u){return(u/=.5)<1?.5*u*u*u:.5*((u-=2)*u*u+2)},easeInQuart:function(u){return u*u*u*u},easeOutQuart:function(u){return-((u-=1)*u*u*u-1)},easeInOutQuart:function(u){return(u/=.5)<1?.5*u*u*u*u:-.5*((u-=2)*u*u*u-2)},easeInQuint:function(u){return u*u*u*u*u},easeOutQuint:function(u){return(u-=1)*u*u*u*u+1},easeInOutQuint:function(u){return(u/=.5)<1?.5*u*u*u*u*u:.5*((u-=2)*u*u*u*u+2)},easeInSine:function(u){return 1-Math.cos(u*(Math.PI/2))},easeOutSine:function(u){return Math.sin(u*(Math.PI/2))},easeInOutSine:function(u){return-.5*(Math.cos(Math.PI*u)-1)},easeInExpo:function(u){return 0===u?0:Math.pow(2,10*(u-1))},easeOutExpo:function(u){return 1===u?1:1-Math.pow(2,-10*u)},easeInOutExpo:function(u){return 0===u?0:1===u?1:(u/=.5)<1?.5*Math.pow(2,10*(u-1)):.5*(2-Math.pow(2,-10*--u))},easeInCirc:function(u){return u>=1?u:-(Math.sqrt(1-u*u)-1)},easeOutCirc:function(u){return Math.sqrt(1-(u-=1)*u)},easeInOutCirc:function(u){return(u/=.5)<1?-.5*(Math.sqrt(1-u*u)-1):.5*(Math.sqrt(1-(u-=2)*u)+1)},easeInElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),-M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h))},easeOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),M*Math.pow(2,-10*u)*Math.sin((u-f)*(2*Math.PI)/h)+1)},easeInOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:2==(u/=.5)?1:(h||(h=.45),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),u<1?M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*-.5:M*Math.pow(2,-10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*.5+1)},easeInBack:function(u){var f=1.70158;return u*u*((f+1)*u-f)},easeOutBack:function(u){var f=1.70158;return(u-=1)*u*((f+1)*u+f)+1},easeInOutBack:function(u){var f=1.70158;return(u/=.5)<1?u*u*((1+(f*=1.525))*u-f)*.5:.5*((u-=2)*u*((1+(f*=1.525))*u+f)+2)},easeInBounce:function(u){return 1-v.easeOutBounce(1-u)},easeOutBounce:function(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375},easeInOutBounce:function(u){return u<.5?.5*v.easeInBounce(2*u):.5*v.easeOutBounce(2*u-1)+.5}};le.exports={effects:v},I.easingEffects=v},5347:(le,me,F)=>{"use strict";var I=F(4396);le.exports={toLineHeight:function(v,u){var f=(""+v).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!f||"normal"===f[1])return 1.2*u;switch(v=+f[2],f[3]){case"px":return v;case"%":v/=100}return u*v},toPadding:function(v){var u,f,h,M;return I.isObject(v)?(u=+v.top||0,f=+v.right||0,h=+v.bottom||0,M=+v.left||0):u=f=h=M=+v||0,{top:u,right:f,bottom:h,left:M,height:u+h,width:M+f}},resolve:function(v,u,f){var h,M,p;for(h=0,M=v.length;h{"use strict";le.exports=F(4396),le.exports.easing=F(4317),le.exports.canvas=F(2397),le.exports.options=F(5347)},1607:le=>{le.exports={acquireContext:function(me){return me&&me.canvas&&(me=me.canvas),me&&me.getContext("2d")||null}}},8005:(le,me,F)=>{"use strict";var I=F(3305),v="$chartjs",u="chartjs-",f=u+"render-monitor",h=u+"render-animation",M=["animationstart","webkitAnimationStart"],p={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function y(q,ee){var ne=I.getStyle(q,ee),oe=ne&&ne.match(/^(\d+)(\.\d+)?px$/);return oe?Number(oe[1]):void 0}var S=!!function(){var q=!1;try{var ee=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("e",null,ee)}catch{}return q}()&&{passive:!0};function C(q,ee,ne){q.addEventListener(ee,ne,S)}function L(q,ee,ne){q.removeEventListener(ee,ne,S)}function A(q,ee,ne,oe,ae){return{type:q,chart:ee,native:ae||null,x:void 0!==ne?ne:null,y:void 0!==oe?oe:null}}le.exports={_enabled:typeof window<"u"&&typeof document<"u",initialize:function(){var q="from{opacity:0.99}to{opacity:1}";!function ce(q,ee){var ne=q._style||document.createElement("style");q._style||(q._style=ne,ee="/* Chart.js */\n"+ee,ne.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(ne)),ne.appendChild(document.createTextNode(ee))}(this,"@-webkit-keyframes "+h+"{"+q+"}@keyframes "+h+"{"+q+"}."+f+"{-webkit-animation:"+h+" 0.001s;animation:"+h+" 0.001s;}")},acquireContext:function(q,ee){"string"==typeof q?q=document.getElementById(q):q.length&&(q=q[0]),q&&q.canvas&&(q=q.canvas);var ne=q&&q.getContext&&q.getContext("2d");return ne&&ne.canvas===q?(function w(q,ee){var ne=q.style,oe=q.getAttribute("height"),ae=q.getAttribute("width");if(q[v]={initial:{height:oe,width:ae,style:{display:ne.display,height:ne.height,width:ne.width}}},ne.display=ne.display||"block",null===ae||""===ae){var J=y(q,"width");void 0!==J&&(q.width=J)}if(null===oe||""===oe)if(""===q.style.height)q.height=q.width/(ee.options.aspectRatio||2);else{var Te=y(q,"height");void 0!==J&&(q.height=Te)}}(q,ee),ne):null},releaseContext:function(q){var ee=q.canvas;if(ee[v]){var ne=ee[v].initial;["height","width"].forEach(function(oe){var ae=ne[oe];I.isNullOrUndef(ae)?ee.removeAttribute(oe):ee.setAttribute(oe,ae)}),I.each(ne.style||{},function(oe,ae){ee.style[ae]=oe}),ee.width=ee.width,delete ee[v]}},addEventListener:function(q,ee,ne){var oe=q.canvas;if("resize"!==ee){var ae=ne[v]||(ne[v]={}),Te=(ae.proxies||(ae.proxies={}))[q.id+"_"+ee]=function(ke){ne(function j(q,ee){var ne=p[q.type]||q.type,oe=I.getRelativePosition(q,ee);return A(ne,ee,oe.x,oe.y,q)}(ke,q))};C(oe,ee,Te)}else!function Z(q,ee,ne){var oe=q[v]||(q[v]={}),ae=oe.resizer=function K(q){var ee=document.createElement("div"),ne=u+"size-monitor",oe=1e6,ae="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";ee.style.cssText=ae,ee.className=ne,ee.innerHTML='
';var J=ee.childNodes[0],Te=ee.childNodes[1];ee._reset=function(){J.scrollLeft=oe,J.scrollTop=oe,Te.scrollLeft=oe,Te.scrollTop=oe};var ke=function(){ee._reset(),q()};return C(J,"scroll",ke.bind(J,"expand")),C(Te,"scroll",ke.bind(Te,"shrink")),ee}(function H(q,ee){var ne=!1,oe=[];return function(){oe=Array.prototype.slice.call(arguments),ee=ee||this,ne||(ne=!0,I.requestAnimFrame.call(window,function(){ne=!1,q.apply(ee,oe)}))}}(function(){if(oe.resizer)return ee(A("resize",ne))}));!function re(q,ee){var ne=q[v]||(q[v]={}),oe=ne.renderProxy=function(ae){ae.animationName===h&&ee()};I.each(M,function(ae){C(q,ae,oe)}),ne.reflow=!!q.offsetParent,q.classList.add(f)}(q,function(){if(oe.resizer){var J=q.parentNode;J&&J!==ae.parentNode&&J.insertBefore(ae,J.firstChild),ae._reset()}})}(oe,ne,q)},removeEventListener:function(q,ee,ne){var oe=q.canvas;if("resize"!==ee){var Te=((ne[v]||{}).proxies||{})[q.id+"_"+ee];!Te||L(oe,ee,Te)}else!function Q(q){var ee=q[v]||{},ne=ee.resizer;delete ee.resizer,function ve(q){var ee=q[v]||{},ne=ee.renderProxy;ne&&(I.each(M,function(oe){L(q,oe,ne)}),delete ee.renderProxy),q.classList.remove(f)}(q),ne&&ne.parentNode&&ne.parentNode.removeChild(ne)}(oe)}},I.addEvent=C,I.removeEvent=L},8244:(le,me,F)=>{"use strict";var I=F(3305),v=F(1607),u=F(8005);le.exports=I.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},u._enabled?u:v)},6747:(le,me,F)=>{"use strict";le.exports={},le.exports.filler=F(6579),le.exports.legend=F(2230),le.exports.title=F(7412)},6579:(le,me,F)=>{"use strict";var I=F(9800),v=F(9931),u=F(3305);I._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(C){var L=C.fill,A=C.chart,j=A.getDatasetMeta(L),K=j&&A.isDatasetVisible(L)&&j.dataset._children||[],re=K.length||0;return re?function(ve,Z){return Z=A)&&K;switch(H){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return H;default:return!1}}function M(C){var K,L=C.el._model||{},A=C.el._scale||{},j=C.fill,H=null;if(isFinite(j))return null;if("start"===j?H=void 0===L.scaleBottom?A.bottom:L.scaleBottom:"end"===j?H=void 0===L.scaleTop?A.top:L.scaleTop:void 0!==L.scaleZero?H=L.scaleZero:A.getBasePosition?H=A.getBasePosition():A.getBasePixel&&(H=A.getBasePixel()),null!=H){if(void 0!==H.x&&void 0!==H.y)return H;if("number"==typeof H&&isFinite(H))return{x:(K=A.isHorizontal())?H:null,y:K?null:H}}return null}function p(C,L,A){var re,H=C[L].fill,K=[L];if(!A)return H;for(;!1!==H&&-1===K.indexOf(H);){if(!isFinite(H))return H;if(!(re=C[H]))return!1;if(re.visible)return H;K.push(H),H=re.fill}return!1}function y(C){var L=C.fill,A="dataset";return!1===L?null:(isFinite(L)||(A="boundary"),f[A](C))}function w(C){return C&&!C.skip}function x(C,L,A,j,H){var K;if(j&&H){for(C.moveTo(L[0].x,L[0].y),K=1;K0;--K)u.canvas.lineTo(C,A[K],A[K-1],!0)}}le.exports={id:"filler",afterDatasetsUpdate:function(C,L){var K,re,ve,Z,A=(C.data.datasets||[]).length,j=L.propagate,H=[];for(re=0;re{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(2294),h=u.noop;function M(w,x){return w.usePointStyle?x*Math.SQRT2:w.boxWidth}I._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(w,x){var S=x.datasetIndex,C=this.chart,L=C.getDatasetMeta(S);L.hidden=null===L.hidden?!C.data.datasets[S].hidden:null,C.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(w){var x=w.data;return u.isArray(x.datasets)?x.datasets.map(function(S,C){return{text:S.label,fillStyle:u.isArray(S.backgroundColor)?S.backgroundColor[0]:S.backgroundColor,hidden:!w.isDatasetVisible(C),lineCap:S.borderCapStyle,lineDash:S.borderDash,lineDashOffset:S.borderDashOffset,lineJoin:S.borderJoinStyle,lineWidth:S.borderWidth,strokeStyle:S.borderColor,pointStyle:S.pointStyle,datasetIndex:C}},this):[]}}},legendCallback:function(w){var x=[];x.push('
    ');for(var S=0;S'),w.data.datasets[S].label&&x.push(w.data.datasets[S].label),x.push("");return x.push("
"),x.join("")}});var p=v.extend({initialize:function(w){u.extend(this,w),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:h,update:function(w,x,S){var C=this;return C.beforeUpdate(),C.maxWidth=w,C.maxHeight=x,C.margins=S,C.beforeSetDimensions(),C.setDimensions(),C.afterSetDimensions(),C.beforeBuildLabels(),C.buildLabels(),C.afterBuildLabels(),C.beforeFit(),C.fit(),C.afterFit(),C.afterUpdate(),C.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var w=this;w.isHorizontal()?(w.width=w.maxWidth,w.left=0,w.right=w.width):(w.height=w.maxHeight,w.top=0,w.bottom=w.height),w.paddingLeft=0,w.paddingTop=0,w.paddingRight=0,w.paddingBottom=0,w.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:function(){var w=this,x=w.options.labels||{},S=u.callback(x.generateLabels,[w.chart],w)||[];x.filter&&(S=S.filter(function(C){return x.filter(C,w.chart.data)})),w.options.reverse&&S.reverse(),w.legendItems=S},afterBuildLabels:h,beforeFit:h,fit:function(){var w=this,x=w.options,S=x.labels,C=x.display,L=w.ctx,A=I.global,j=u.valueOrDefault,H=j(S.fontSize,A.defaultFontSize),K=j(S.fontStyle,A.defaultFontStyle),re=j(S.fontFamily,A.defaultFontFamily),ve=u.fontString(H,K,re),Z=w.legendHitBoxes=[],Q=w.minSize,ce=w.isHorizontal();if(ce?(Q.width=w.maxWidth,Q.height=C?10:0):(Q.width=C?10:0,Q.height=w.maxHeight),C)if(L.font=ve,ce){var q=w.lineWidths=[0],ee=w.legendItems.length?H+S.padding:0;L.textAlign="left",L.textBaseline="top",u.each(w.legendItems,function(Ae,Ne){var st=M(S,H)+H/2+L.measureText(Ae.text).width;q[q.length-1]+st+S.padding>=w.width&&(ee+=H+S.padding,q[q.length]=w.left),Z[Ne]={left:0,top:0,width:st,height:H},q[q.length-1]+=st+S.padding}),Q.height+=ee}else{var ne=S.padding,oe=w.columnWidths=[],ae=S.padding,J=0,Te=0,ke=H+ne;u.each(w.legendItems,function(Ae,Ne){var st=M(S,H)+H/2+L.measureText(Ae.text).width;Te+ke>Q.height&&(ae+=J+S.padding,oe.push(J),J=0,Te=0),J=Math.max(J,st),Te+=ke,Z[Ne]={left:0,top:0,width:st,height:H}}),ae+=J,oe.push(J),Q.width+=ae}w.width=Q.width,w.height=Q.height},afterFit:h,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var w=this,x=w.options,S=x.labels,C=I.global,L=C.elements.line,A=w.width,j=w.lineWidths;if(x.display){var q,H=w.ctx,K=u.valueOrDefault,re=K(S.fontColor,C.defaultFontColor),ve=K(S.fontSize,C.defaultFontSize),Z=K(S.fontStyle,C.defaultFontStyle),Q=K(S.fontFamily,C.defaultFontFamily),ce=u.fontString(ve,Z,Q);H.textAlign="left",H.textBaseline="middle",H.lineWidth=.5,H.strokeStyle=re,H.fillStyle=re,H.font=ce;var ee=M(S,ve),ne=w.legendHitBoxes,J=w.isHorizontal();q=J?{x:w.left+(A-j[0])/2,y:w.top+S.padding,line:0}:{x:w.left+S.padding,y:w.top+S.padding,line:0};var Te=ve+S.padding;u.each(w.legendItems,function(ke,Ae){var Ne=H.measureText(ke.text).width,et=ee+ve/2+Ne,st=q.x,rt=q.y;J?st+et>=A&&(rt=q.y+=Te,q.line++,st=q.x=w.left+(A-j[q.line])/2):rt+Te>w.bottom&&(st=q.x=st+w.columnWidths[q.line]+S.padding,rt=q.y=w.top+S.padding,q.line++),function(ke,Ae,Ne){if(!(isNaN(ee)||ee<=0)){H.save(),H.fillStyle=K(Ne.fillStyle,C.defaultColor),H.lineCap=K(Ne.lineCap,L.borderCapStyle),H.lineDashOffset=K(Ne.lineDashOffset,L.borderDashOffset),H.lineJoin=K(Ne.lineJoin,L.borderJoinStyle),H.lineWidth=K(Ne.lineWidth,L.borderWidth),H.strokeStyle=K(Ne.strokeStyle,C.defaultColor);var et=0===K(Ne.lineWidth,L.borderWidth);if(H.setLineDash&&H.setLineDash(K(Ne.lineDash,L.borderDash)),x.labels&&x.labels.usePointStyle){var st=ve*Math.SQRT2/2,rt=st/Math.SQRT2;u.canvas.drawPoint(H,Ne.pointStyle,st,ke+rt,Ae+rt)}else et||H.strokeRect(ke,Ae,ee,ve),H.fillRect(ke,Ae,ee,ve);H.restore()}}(st,rt,ke),ne[Ae].left=st,ne[Ae].top=rt,function(ke,Ae,Ne,et){var st=ve/2,rt=ee+st+ke,Bt=Ae+st;H.fillText(Ne.text,rt,Bt),Ne.hidden&&(H.beginPath(),H.lineWidth=2,H.moveTo(rt,Bt),H.lineTo(rt+et,Bt),H.stroke())}(st,rt,ke,Ne),J?q.x+=et+S.padding:q.y+=Te})}},handleEvent:function(w){var x=this,S=x.options,C="mouseup"===w.type?"click":w.type,L=!1;if("mousemove"===C){if(!S.onHover)return}else{if("click"!==C)return;if(!S.onClick)return}var A=w.x,j=w.y;if(A>=x.left&&A<=x.right&&j>=x.top&&j<=x.bottom)for(var H=x.legendHitBoxes,K=0;K=re.left&&A<=re.left+re.width&&j>=re.top&&j<=re.top+re.height){if("click"===C){S.onClick.call(x,w.native,x.legendItems[K]),L=!0;break}if("mousemove"===C){S.onHover.call(x,w.native,x.legendItems[K]),L=!0;break}}}return L}});function y(w,x){var S=new p({ctx:w.ctx,options:x,chart:w});f.configure(w,S,x),f.addBox(w,S),w.legend=S}le.exports={id:"legend",_element:p,beforeInit:function(w){var x=w.options.legend;x&&y(w,x)},beforeUpdate:function(w){var x=w.options.legend,S=w.legend;x?(u.mergeIf(x,I.global.legend),S?(f.configure(w,S,x),S.options=x):y(w,x)):S&&(f.removeBox(w,S),delete w.legend)},afterEvent:function(w,x){var S=w.legend;S&&S.handleEvent(x)}}},7412:(le,me,F)=>{"use strict";var I=F(9800),v=F(8839),u=F(3305),f=F(2294),h=u.noop;I._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var M=v.extend({initialize:function(y){u.extend(this,y),this.legendHitBoxes=[]},beforeUpdate:h,update:function(y,w,x){var S=this;return S.beforeUpdate(),S.maxWidth=y,S.maxHeight=w,S.margins=x,S.beforeSetDimensions(),S.setDimensions(),S.afterSetDimensions(),S.beforeBuildLabels(),S.buildLabels(),S.afterBuildLabels(),S.beforeFit(),S.fit(),S.afterFit(),S.afterUpdate(),S.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var y=this;y.isHorizontal()?(y.width=y.maxWidth,y.left=0,y.right=y.width):(y.height=y.maxHeight,y.top=0,y.bottom=y.height),y.paddingLeft=0,y.paddingTop=0,y.paddingRight=0,y.paddingBottom=0,y.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:h,afterBuildLabels:h,beforeFit:h,fit:function(){var y=this,x=y.options,S=x.display,C=(0,u.valueOrDefault)(x.fontSize,I.global.defaultFontSize),L=y.minSize,A=u.isArray(x.text)?x.text.length:1,j=u.options.toLineHeight(x.lineHeight,C),H=S?A*j+2*x.padding:0;y.isHorizontal()?(L.width=y.maxWidth,L.height=H):(L.width=H,L.height=y.maxHeight),y.width=L.width,y.height=L.height},afterFit:h,isHorizontal:function(){var y=this.options.position;return"top"===y||"bottom"===y},draw:function(){var y=this,w=y.ctx,x=u.valueOrDefault,S=y.options,C=I.global;if(S.display){var ee,ne,oe,L=x(S.fontSize,C.defaultFontSize),A=x(S.fontStyle,C.defaultFontStyle),j=x(S.fontFamily,C.defaultFontFamily),H=u.fontString(L,A,j),K=u.options.toLineHeight(S.lineHeight,L),re=K/2+S.padding,ve=0,Z=y.top,Q=y.left,ce=y.bottom,q=y.right;w.fillStyle=x(S.fontColor,C.defaultFontColor),w.font=H,y.isHorizontal()?(ne=Q+(q-Q)/2,oe=Z+re,ee=q-Q):(ne="left"===S.position?Q+re:q-re,oe=Z+(ce-Z)/2,ee=ce-Z,ve=Math.PI*("left"===S.position?-.5:.5)),w.save(),w.translate(ne,oe),w.rotate(ve),w.textAlign="center",w.textBaseline="middle";var ae=S.text;if(u.isArray(ae))for(var J=0,Te=0;Te{"use strict";le.exports=function(me){var I=me.Scale.extend({getLabels:function(){var v=this.chart.data;return this.options.labels||(this.isHorizontal()?v.xLabels:v.yLabels)||v.labels},determineDataLimits:function(){var f,v=this,u=v.getLabels();v.minIndex=0,v.maxIndex=u.length-1,void 0!==v.options.ticks.min&&(f=u.indexOf(v.options.ticks.min),v.minIndex=-1!==f?f:v.minIndex),void 0!==v.options.ticks.max&&(f=u.indexOf(v.options.ticks.max),v.maxIndex=-1!==f?f:v.maxIndex),v.min=u[v.minIndex],v.max=u[v.maxIndex]},buildTicks:function(){var v=this,u=v.getLabels();v.ticks=0===v.minIndex&&v.maxIndex===u.length-1?u:u.slice(v.minIndex,v.maxIndex+1)},getLabelForIndex:function(v,u){var f=this,h=f.chart.data,M=f.isHorizontal();return h.yLabels&&!M?f.getRightValue(h.datasets[u].data[v]):f.ticks[v-f.minIndex]},getPixelForValue:function(v,u){var p,f=this,h=f.options.offset,M=Math.max(f.maxIndex+1-f.minIndex-(h?0:1),1);if(null!=v&&(p=f.isHorizontal()?v.x:v.y),void 0!==p||void 0!==v&&isNaN(u)){var w=f.getLabels().indexOf(v=p||v);u=-1!==w?w:u}if(f.isHorizontal()){var x=f.width/M,S=x*(u-f.minIndex);return h&&(S+=x/2),f.left+Math.round(S)}var C=f.height/M,L=C*(u-f.minIndex);return h&&(L+=C/2),f.top+Math.round(L)},getPixelForTick:function(v){return this.getPixelForValue(this.ticks[v],v+this.minIndex,null)},getValueForPixel:function(v){var u=this,f=u.options.offset,M=Math.max(u._ticks.length-(f?0:1),1),p=u.isHorizontal(),y=(p?u.width:u.height)/M;return v-=p?u.left:u.top,f&&(v-=y/2),(v<=0?0:Math.round(v/y))+u.minIndex},getBasePixel:function(){return this.bottom}});me.scaleService.registerScaleType("category",I,{position:"bottom"})}},1704:(le,me,F)=>{"use strict";var I=F(9800),v=F(3305),u=F(8347);le.exports=function(f){var h={position:"left",ticks:{callback:u.formatters.linear}},M=f.LinearScaleBase.extend({determineDataLimits:function(){var p=this,y=p.options,w=p.chart,S=w.data.datasets,C=p.isHorizontal();function j(re){return C?re.xAxisID===p.id:re.yAxisID===p.id}p.min=null,p.max=null;var H=y.stacked;if(void 0===H&&v.each(S,function(re,ve){if(!H){var Z=w.getDatasetMeta(ve);w.isDatasetVisible(ve)&&j(Z)&&void 0!==Z.stack&&(H=!0)}}),y.stacked||H){var K={};v.each(S,function(re,ve){var Z=w.getDatasetMeta(ve),Q=[Z.type,void 0===y.stacked&&void 0===Z.stack?ve:"",Z.stack].join(".");void 0===K[Q]&&(K[Q]={positiveValues:[],negativeValues:[]});var ce=K[Q].positiveValues,q=K[Q].negativeValues;w.isDatasetVisible(ve)&&j(Z)&&v.each(re.data,function(ee,ne){var oe=+p.getRightValue(ee);isNaN(oe)||Z.data[ne].hidden||(ce[ne]=ce[ne]||0,q[ne]=q[ne]||0,y.relativePoints?ce[ne]=100:oe<0?q[ne]+=oe:ce[ne]+=oe)})}),v.each(K,function(re){var ve=re.positiveValues.concat(re.negativeValues),Z=v.min(ve),Q=v.max(ve);p.min=null===p.min?Z:Math.min(p.min,Z),p.max=null===p.max?Q:Math.max(p.max,Q)})}else v.each(S,function(re,ve){var Z=w.getDatasetMeta(ve);w.isDatasetVisible(ve)&&j(Z)&&v.each(re.data,function(Q,ce){var q=+p.getRightValue(Q);isNaN(q)||Z.data[ce].hidden||((null===p.min||qp.max)&&(p.max=q))})});p.min=isFinite(p.min)&&!isNaN(p.min)?p.min:0,p.max=isFinite(p.max)&&!isNaN(p.max)?p.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var p,y=this,w=y.options.ticks;if(y.isHorizontal())p=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(y.width/50));else{var x=v.valueOrDefault(w.fontSize,I.global.defaultFontSize);p=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(y.height/(2*x)))}return p},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(p,y){return+this.getRightValue(this.chart.data.datasets[y].data[p])},getPixelForValue:function(p){var y=this,w=y.start,x=+y.getRightValue(p),C=y.end-w;return y.isHorizontal()?y.left+y.width/C*(x-w):y.bottom-y.height/C*(x-w)},getValueForPixel:function(p){var y=this,w=y.isHorizontal();return y.start+(w?p-y.left:y.bottom-p)/(w?y.width:y.height)*(y.end-y.start)},getPixelForTick:function(p){return this.getPixelForValue(this.ticksAsNumbers[p])}});f.scaleService.registerScaleType("linear",M,h)}},8351:(le,me,F)=>{"use strict";var I=F(3305);le.exports=function(u){var f=I.noop;u.LinearScaleBase=u.Scale.extend({getRightValue:function(h){return"string"==typeof h?+h:u.Scale.prototype.getRightValue.call(this,h)},handleTickRangeOptions:function(){var h=this,p=h.options.ticks;if(p.beginAtZero){var y=I.sign(h.min),w=I.sign(h.max);y<0&&w<0?h.max=0:y>0&&w>0&&(h.min=0)}var x=void 0!==p.min||void 0!==p.suggestedMin,S=void 0!==p.max||void 0!==p.suggestedMax;void 0!==p.min?h.min=p.min:void 0!==p.suggestedMin&&(h.min=null===h.min?p.suggestedMin:Math.min(h.min,p.suggestedMin)),void 0!==p.max?h.max=p.max:void 0!==p.suggestedMax&&(h.max=null===h.max?p.suggestedMax:Math.max(h.max,p.suggestedMax)),x!==S&&h.min>=h.max&&(x?h.max=h.min+1:h.min=h.max-1),h.min===h.max&&(h.max++,p.beginAtZero||h.min--)},getTickLimit:f,handleDirectionalChanges:f,buildTicks:function(){var h=this,p=h.options.ticks,y=h.getTickLimit(),w={maxTicks:y=Math.max(2,y),min:p.min,max:p.max,stepSize:I.valueOrDefault(p.fixedStepSize,p.stepSize)},x=h.ticks=function v(u,f){var M,h=[];if(u.stepSize&&u.stepSize>0)M=u.stepSize;else{var p=I.niceNum(f.max-f.min,!1);M=I.niceNum(p/(u.maxTicks-1),!0)}var y=Math.floor(f.min/M)*M,w=Math.ceil(f.max/M)*M;u.min&&u.max&&u.stepSize&&I.almostWhole((u.max-u.min)/u.stepSize,M/1e3)&&(y=u.min,w=u.max);var x=(w-y)/M;x=I.almostEquals(x,Math.round(x),M/1e3)?Math.round(x):Math.ceil(x);var S=1;M<1&&(S=Math.pow(10,M.toString().length-2),y=Math.round(y*S)/S,w=Math.round(w*S)/S),h.push(void 0!==u.min?u.min:y);for(var C=1;C{"use strict";var I=F(3305),v=F(8347);le.exports=function(f){var h={position:"left",ticks:{callback:v.formatters.logarithmic}},M=f.Scale.extend({determineDataLimits:function(){var p=this,y=p.options,w=p.chart,S=w.data.datasets,C=p.isHorizontal();function L(H){return C?H.xAxisID===p.id:H.yAxisID===p.id}p.min=null,p.max=null,p.minNotZero=null;var A=y.stacked;if(void 0===A&&I.each(S,function(H,K){if(!A){var re=w.getDatasetMeta(K);w.isDatasetVisible(K)&&L(re)&&void 0!==re.stack&&(A=!0)}}),y.stacked||A){var j={};I.each(S,function(H,K){var re=w.getDatasetMeta(K),ve=[re.type,void 0===y.stacked&&void 0===re.stack?K:"",re.stack].join(".");w.isDatasetVisible(K)&&L(re)&&(void 0===j[ve]&&(j[ve]=[]),I.each(H.data,function(Z,Q){var ce=j[ve],q=+p.getRightValue(Z);isNaN(q)||re.data[Q].hidden||q<0||(ce[Q]=ce[Q]||0,ce[Q]+=q)}))}),I.each(j,function(H){if(H.length>0){var K=I.min(H),re=I.max(H);p.min=null===p.min?K:Math.min(p.min,K),p.max=null===p.max?re:Math.max(p.max,re)}})}else I.each(S,function(H,K){var re=w.getDatasetMeta(K);w.isDatasetVisible(K)&&L(re)&&I.each(H.data,function(ve,Z){var Q=+p.getRightValue(ve);isNaN(Q)||re.data[Z].hidden||Q<0||((null===p.min||Qp.max)&&(p.max=Q),0!==Q&&(null===p.minNotZero||Q0?p.min:p.max<1?Math.pow(10,Math.floor(I.log10(p.max))):1)},buildTicks:function(){var p=this,w=p.options.ticks,x=!p.isHorizontal(),C=p.ticks=function u(f,h){var S,C,M=[],p=I.valueOrDefault,y=p(f.min,Math.pow(10,Math.floor(I.log10(h.min)))),w=Math.floor(I.log10(h.max)),x=Math.ceil(h.max/Math.pow(10,w));0===y?(S=Math.floor(I.log10(h.minNotZero)),C=Math.floor(h.minNotZero/Math.pow(10,S)),M.push(y),y=C*Math.pow(10,S)):(S=Math.floor(I.log10(y)),C=Math.floor(y/Math.pow(10,S)));var L=S<0?Math.pow(10,Math.abs(S)):1;do{M.push(y),10==++C&&(C=1,L=++S>=0?1:L),y=Math.round(C*Math.pow(10,S)*L)/L}while(S{"use strict";var I=F(9800),v=F(3305),u=F(8347);le.exports=function(f){var h=I.global,M={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:u.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(Z){return Z}}};function p(Z){var Q=Z.options;return Q.angleLines.display||Q.pointLabels.display?Z.chart.data.labels.length:0}function y(Z){var Q=Z.options.pointLabels,ce=v.valueOrDefault(Q.fontSize,h.defaultFontSize),q=v.valueOrDefault(Q.fontStyle,h.defaultFontStyle),ee=v.valueOrDefault(Q.fontFamily,h.defaultFontFamily);return{size:ce,style:q,family:ee,font:v.fontString(ce,q,ee)}}function w(Z,Q,ce){return v.isArray(ce)?{w:v.longestText(Z,Z.font,ce),h:ce.length*Q+1.5*(ce.length-1)*Q}:{w:Z.measureText(ce).width,h:Q}}function x(Z,Q,ce,q,ee){return Z===q||Z===ee?{start:Q-ce/2,end:Q+ce/2}:Zee?{start:Q-ce-5,end:Q}:{start:Q,end:Q+ce+5}}function L(Z){return 0===Z||180===Z?"center":Z<180?"left":"right"}function A(Z,Q,ce,q){if(v.isArray(Q))for(var ee=ce.y,ne=1.5*q,oe=0;oe270||Z<90)&&(ce.y-=Q.h)}function re(Z){return v.isNumber(Z)?Z:0}var ve=f.LinearScaleBase.extend({setDimensions:function(){var Z=this,Q=Z.options,ce=Q.ticks;Z.width=Z.maxWidth,Z.height=Z.maxHeight,Z.xCenter=Math.round(Z.width/2),Z.yCenter=Math.round(Z.height/2);var q=v.min([Z.height,Z.width]),ee=v.valueOrDefault(ce.fontSize,h.defaultFontSize);Z.drawingArea=Q.display?q/2-(ee/2+ce.backdropPaddingY):q/2},determineDataLimits:function(){var Z=this,Q=Z.chart,ce=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;v.each(Q.data.datasets,function(ee,ne){if(Q.isDatasetVisible(ne)){var oe=Q.getDatasetMeta(ne);v.each(ee.data,function(ae,J){var Te=+Z.getRightValue(ae);isNaN(Te)||oe.data[J].hidden||(ce=Math.min(Te,ce),q=Math.max(Te,q))})}}),Z.min=ce===Number.POSITIVE_INFINITY?0:ce,Z.max=q===Number.NEGATIVE_INFINITY?0:q,Z.handleTickRangeOptions()},getTickLimit:function(){var Z=this.options.ticks,Q=v.valueOrDefault(Z.fontSize,h.defaultFontSize);return Math.min(Z.maxTicksLimit?Z.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*Q)))},convertTicksToLabels:function(){var Z=this;f.LinearScaleBase.prototype.convertTicksToLabels.call(Z),Z.pointLabels=Z.chart.data.labels.map(Z.options.pointLabels.callback,Z)},getLabelForIndex:function(Z,Q){return+this.getRightValue(this.chart.data.datasets[Q].data[Z])},fit:function(){this.options.pointLabels.display?function S(Z){var ne,oe,ae,Q=y(Z),ce=Math.min(Z.height/2,Z.width/2),q={r:Z.width,l:0,t:Z.height,b:0},ee={};Z.ctx.font=Q.font,Z._pointLabelSizes=[];var J=p(Z);for(ne=0;neq.r&&(q.r=Ae.end,ee.r=Te),Ne.startq.b&&(q.b=Ne.end,ee.b=Te)}Z.setReductions(ce,q,ee)}(this):function C(Z){var Q=Math.min(Z.height/2,Z.width/2);Z.drawingArea=Math.round(Q),Z.setCenterPoint(0,0,0,0)}(this)},setReductions:function(Z,Q,ce){var q=this,ee=Q.l/Math.sin(ce.l),ne=Math.max(Q.r-q.width,0)/Math.sin(ce.r),oe=-Q.t/Math.cos(ce.t),ae=-Math.max(Q.b-q.height,0)/Math.cos(ce.b);ee=re(ee),ne=re(ne),oe=re(oe),ae=re(ae),q.drawingArea=Math.min(Math.round(Z-(ee+ne)/2),Math.round(Z-(oe+ae)/2)),q.setCenterPoint(ee,ne,oe,ae)},setCenterPoint:function(Z,Q,ce,q){var ee=this,ae=ce+ee.drawingArea,J=ee.height-q-ee.drawingArea;ee.xCenter=Math.round((Z+ee.drawingArea+(ee.width-Q-ee.drawingArea))/2+ee.left),ee.yCenter=Math.round((ae+J)/2+ee.top)},getIndexAngle:function(Z){return Z*(2*Math.PI/p(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Z){var Q=this;if(null===Z)return 0;var ce=Q.drawingArea/(Q.max-Q.min);return Q.options.ticks.reverse?(Q.max-Z)*ce:(Z-Q.min)*ce},getPointPosition:function(Z,Q){var q=this.getIndexAngle(Z)-Math.PI/2;return{x:Math.round(Math.cos(q)*Q)+this.xCenter,y:Math.round(Math.sin(q)*Q)+this.yCenter}},getPointPositionForValue:function(Z,Q){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(Q))},getBasePosition:function(){var Z=this,Q=Z.min,ce=Z.max;return Z.getPointPositionForValue(0,Z.beginAtZero?0:Q<0&&ce<0?ce:Q>0&&ce>0?Q:0)},draw:function(){var Z=this,Q=Z.options,ce=Q.gridLines,q=Q.ticks,ee=v.valueOrDefault;if(Q.display){var ne=Z.ctx,oe=this.getIndexAngle(0),ae=ee(q.fontSize,h.defaultFontSize),J=ee(q.fontStyle,h.defaultFontStyle),Te=ee(q.fontFamily,h.defaultFontFamily),ke=v.fontString(ae,J,Te);v.each(Z.ticks,function(Ae,Ne){if(Ne>0||q.reverse){var et=Z.getDistanceFromCenterForValue(Z.ticksAsNumbers[Ne]);if(ce.display&&0!==Ne&&function K(Z,Q,ce,q){var ee=Z.ctx;if(ee.strokeStyle=v.valueAtIndexOrDefault(Q.color,q-1),ee.lineWidth=v.valueAtIndexOrDefault(Q.lineWidth,q-1),Z.options.gridLines.circular)ee.beginPath(),ee.arc(Z.xCenter,Z.yCenter,ce,0,2*Math.PI),ee.closePath(),ee.stroke();else{var ne=p(Z);if(0===ne)return;ee.beginPath();var oe=Z.getPointPosition(0,ce);ee.moveTo(oe.x,oe.y);for(var ae=1;ae=0;ae--){if(q.display){var J=Z.getPointPosition(ae,ne);Q.beginPath(),Q.moveTo(Z.xCenter,Z.yCenter),Q.lineTo(J.x,J.y),Q.stroke(),Q.closePath()}if(ee.display){var Te=Z.getPointPosition(ae,ne+5),ke=v.valueAtIndexOrDefault(ee.fontColor,ae,h.defaultFontColor);Q.font=oe.font,Q.fillStyle=ke;var Ae=Z.getIndexAngle(ae),Ne=v.toDegrees(Ae);Q.textAlign=L(Ne),j(Ne,Z._pointLabelSizes[ae],Te),A(Q,Z.pointLabels[ae]||"",Te,oe.size)}}}(Z)}}});f.scaleService.registerScaleType("radialLinear",ve,M)}},4215:(le,me,F)=>{"use strict";var I=F(5439);I="function"==typeof I?I:window.moment;var v=F(9800),u=F(3305),f=Number.MIN_SAFE_INTEGER||-9007199254740991,h=Number.MAX_SAFE_INTEGER||9007199254740991,M={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},p=Object.keys(M);function y(q,ee){return q-ee}function w(q){var oe,ae,J,ee={},ne=[];for(oe=0,ae=q.length;oe=0&&oe<=ae;){if(ke=q[J=oe+ae>>1],!(Te=q[J-1]||null))return{lo:null,hi:ke};if(ke[ee]ne))return{lo:Te,hi:ke};ae=J-1}}return{lo:ke,hi:null}}(q,ee,ne),J=ae.lo?ae.hi?ae.lo:q[q.length-2]:q[0],Te=ae.lo?ae.hi?ae.hi:q[q.length-1]:q[1],ke=Te[ee]-J[ee];return J[oe]+(Te[oe]-J[oe])*(ke?(ne-J[ee])/ke:0)}function L(q,ee){var ne=ee.parser,oe=ee.parser||ee.format;return"function"==typeof ne?ne(q):"string"==typeof q&&"string"==typeof oe?I(q,oe):(q instanceof I||(q=I(q)),q.isValid()?q:"function"==typeof oe?oe(q):q)}function A(q,ee){if(u.isNullOrUndef(q))return null;var ne=ee.options.time,oe=L(ee.getRightValue(q),ne);return oe.isValid()?(ne.round&&oe.startOf(ne.round),oe.valueOf()):null}function re(q){for(var ee=p.indexOf(q)+1,ne=p.length;ee=ae&&rt<=J&&Ne.push(rt);return oe.min=ae,oe.max=J,oe._unit=ke.unit||function K(q,ee,ne,oe){var Te,ke,ae=I.duration(I(oe).diff(I(ne)));for(Te=p.length-1;Te>=p.indexOf(ee);Te--)if(M[ke=p[Te]].common&&ae.as(ke)>=q.length)return ke;return p[ee?p.indexOf(ee):0]}(Ne,ke.minUnit,oe.min,oe.max),oe._majorUnit=re(oe._unit),oe._table=function x(q,ee,ne,oe){if("linear"===oe||!q.length)return[{time:ee,pos:0},{time:ne,pos:1}];var Te,ke,Ae,Ne,et,ae=[],J=[ee];for(Te=0,ke=q.length;Teee&&Ne1?ee[1]:oe,"pos")-C(q,"time",Ae,"pos"))/2),ae.time.max||(Ae=ee.length>1?ee[ee.length-2]:ne,Te=(C(q,"time",ee[ee.length-1],"pos")-C(q,"time",Ae,"pos"))/2)),{left:J,right:Te}}(oe._table,Ne,ae,J,Te),oe._labelFormat=function ce(q,ee){var ne,oe,ae,J=q.length;for(ne=0;ne=0&&oe0?Ne:1}});q.scaleService.registerScaleType("time",ne,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},3207:(le,me,F)=>{var I=F(9914);function v(Q){if(Q){var ae=[0,0,0],J=1,Te=Q.match(/^#([a-fA-F0-9]{3})$/i);if(Te){Te=Te[1];for(var ke=0;ke{var I=F(7227),v=F(3207),u=function(f){return f instanceof u?f:this instanceof u?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof f?(h=v.getRgba(f))?this.setValues("rgb",h):(h=v.getHsla(f))?this.setValues("hsl",h):(h=v.getHwb(f))&&this.setValues("hwb",h):"object"==typeof f&&(void 0!==(h=f).r||void 0!==h.red?this.setValues("rgb",h):void 0!==h.l||void 0!==h.lightness?this.setValues("hsl",h):void 0!==h.v||void 0!==h.value?this.setValues("hsv",h):void 0!==h.w||void 0!==h.whiteness?this.setValues("hwb",h):(void 0!==h.c||void 0!==h.cyan)&&this.setValues("cmyk",h)))):new u(f);var h};u.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var f=this.values;return 1!==f.alpha?f.hwb.concat([f.alpha]):f.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var f=this.values;return f.rgb.concat([f.alpha])},hslaArray:function(){var f=this.values;return f.hsl.concat([f.alpha])},alpha:function(f){return void 0===f?this.values.alpha:(this.setValues("alpha",f),this)},red:function(f){return this.setChannel("rgb",0,f)},green:function(f){return this.setChannel("rgb",1,f)},blue:function(f){return this.setChannel("rgb",2,f)},hue:function(f){return f&&(f=(f%=360)<0?360+f:f),this.setChannel("hsl",0,f)},saturation:function(f){return this.setChannel("hsl",1,f)},lightness:function(f){return this.setChannel("hsl",2,f)},saturationv:function(f){return this.setChannel("hsv",1,f)},whiteness:function(f){return this.setChannel("hwb",1,f)},blackness:function(f){return this.setChannel("hwb",2,f)},value:function(f){return this.setChannel("hsv",2,f)},cyan:function(f){return this.setChannel("cmyk",0,f)},magenta:function(f){return this.setChannel("cmyk",1,f)},yellow:function(f){return this.setChannel("cmyk",2,f)},black:function(f){return this.setChannel("cmyk",3,f)},hexString:function(){return v.hexString(this.values.rgb)},rgbString:function(){return v.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return v.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return v.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return v.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return v.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return v.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return v.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var f=this.values.rgb;return f[0]<<16|f[1]<<8|f[2]},luminosity:function(){for(var f=this.values.rgb,h=[],M=0;MM?(h+.05)/(M+.05):(M+.05)/(h+.05)},level:function(f){var h=this.contrast(f);return h>=7.1?"AAA":h>=4.5?"AA":""},dark:function(){var f=this.values.rgb;return(299*f[0]+587*f[1]+114*f[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var f=[],h=0;h<3;h++)f[h]=255-this.values.rgb[h];return this.setValues("rgb",f),this},lighten:function(f){var h=this.values.hsl;return h[2]+=h[2]*f,this.setValues("hsl",h),this},darken:function(f){var h=this.values.hsl;return h[2]-=h[2]*f,this.setValues("hsl",h),this},saturate:function(f){var h=this.values.hsl;return h[1]+=h[1]*f,this.setValues("hsl",h),this},desaturate:function(f){var h=this.values.hsl;return h[1]-=h[1]*f,this.setValues("hsl",h),this},whiten:function(f){var h=this.values.hwb;return h[1]+=h[1]*f,this.setValues("hwb",h),this},blacken:function(f){var h=this.values.hwb;return h[2]+=h[2]*f,this.setValues("hwb",h),this},greyscale:function(){var f=this.values.rgb,h=.3*f[0]+.59*f[1]+.11*f[2];return this.setValues("rgb",[h,h,h]),this},clearer:function(f){var h=this.values.alpha;return this.setValues("alpha",h-h*f),this},opaquer:function(f){var h=this.values.alpha;return this.setValues("alpha",h+h*f),this},rotate:function(f){var h=this.values.hsl,M=(h[0]+f)%360;return h[0]=M<0?360+M:M,this.setValues("hsl",h),this},mix:function(f,h){var M=this,p=f,y=void 0===h?.5:h,w=2*y-1,x=M.alpha()-p.alpha(),S=((w*x==-1?w:(w+x)/(1+w*x))+1)/2,C=1-S;return this.rgb(S*M.red()+C*p.red(),S*M.green()+C*p.green(),S*M.blue()+C*p.blue()).alpha(M.alpha()*y+p.alpha()*(1-y))},toJSON:function(){return this.rgb()},clone:function(){var p,y,f=new u,h=this.values,M=f.values;for(var w in h)h.hasOwnProperty(w)&&("[object Array]"===(y={}.toString.call(p=h[w]))?M[w]=p.slice(0):"[object Number]"===y?M[w]=p:console.error("unexpected color value:",p));return f}},u.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},u.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},u.prototype.getValues=function(f){for(var h=this.values,M={},p=0;p{function me(z){var fe,we,se=z[0]/255,ie=z[1]/255,de=z[2]/255,ue=Math.min(se,ie,de),_e=Math.max(se,ie,de),be=_e-ue;return _e==ue?fe=0:se==_e?fe=(ie-de)/be:ie==_e?fe=2+(de-se)/be:de==_e&&(fe=4+(se-ie)/be),(fe=Math.min(60*fe,360))<0&&(fe+=360),we=(ue+_e)/2,[fe,100*(_e==ue?0:we<=.5?be/(_e+ue):be/(2-_e-ue)),100*we]}function F(z){var fe,ge,se=z[0],ie=z[1],de=z[2],ue=Math.min(se,ie,de),_e=Math.max(se,ie,de),be=_e-ue;return ge=0==_e?0:be/_e*1e3/10,_e==ue?fe=0:se==_e?fe=(ie-de)/be:ie==_e?fe=2+(de-se)/be:de==_e&&(fe=4+(se-ie)/be),(fe=Math.min(60*fe,360))<0&&(fe+=360),[fe,ge,_e/255*1e3/10]}function I(z){var se=z[0],ie=z[1],_e=z[2];return[me(z)[0],1/255*Math.min(se,Math.min(ie,_e))*100,100*(_e=1-1/255*Math.max(se,Math.max(ie,_e)))]}function v(z){var fe,se=z[0]/255,ie=z[1]/255,de=z[2]/255;return[100*((1-se-(fe=Math.min(1-se,1-ie,1-de)))/(1-fe)||0),100*((1-ie-fe)/(1-fe)||0),100*((1-de-fe)/(1-fe)||0),100*fe]}function u(z){return Xe[JSON.stringify(z)]}function f(z){var se=z[0]/255,ie=z[1]/255,de=z[2]/255;return[100*(.4124*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.3576*(ie=ie>.04045?Math.pow((ie+.055)/1.055,2.4):ie/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*se+.7152*ie+.0722*de),100*(.0193*se+.1192*ie+.9505*de)]}function h(z){var se=f(z),ie=se[0],de=se[1],ue=se[2];return de/=100,ue/=108.883,ie=(ie/=95.047)>.008856?Math.pow(ie,1/3):7.787*ie+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(ie-de),200*(de-(ue=ue>.008856?Math.pow(ue,1/3):7.787*ue+16/116))]}function p(z){var ue,_e,be,fe,ge,se=z[0]/360,ie=z[1]/100,de=z[2]/100;if(0==ie)return[ge=255*de,ge,ge];ue=2*de-(_e=de<.5?de*(1+ie):de+ie-de*ie),fe=[0,0,0];for(var we=0;we<3;we++)(be=se+1/3*-(we-1))<0&&be++,be>1&&be--,fe[we]=255*(ge=6*be<1?ue+6*(_e-ue)*be:2*be<1?_e:3*be<2?ue+(_e-ue)*(2/3-be)*6:ue);return fe}function C(z){var se=z[0]/60,ie=z[1]/100,ge=z[2]/100,de=Math.floor(se)%6,ue=se-Math.floor(se),_e=255*ge*(1-ie),be=255*ge*(1-ie*ue),fe=255*ge*(1-ie*(1-ue));switch(ge*=255,de){case 0:return[ge,fe,_e];case 1:return[be,ge,_e];case 2:return[_e,ge,fe];case 3:return[_e,be,ge];case 4:return[fe,_e,ge];case 5:return[ge,_e,be]}}function K(z){var _e,be,fe,ge,se=z[0]/360,ie=z[1]/100,de=z[2]/100,ue=ie+de;switch(ue>1&&(ie/=ue,de/=ue),fe=6*se-(_e=Math.floor(6*se)),0!=(1&_e)&&(fe=1-fe),ge=ie+fe*((be=1-de)-ie),_e){default:case 6:case 0:r=be,g=ge,b=ie;break;case 1:r=ge,g=be,b=ie;break;case 2:r=ie,g=be,b=ge;break;case 3:r=ie,g=ge,b=be;break;case 4:r=ge,g=ie,b=be;break;case 5:r=be,g=ie,b=ge}return[255*r,255*g,255*b]}function ce(z){var ie=z[1]/100,de=z[2]/100,ue=z[3]/100;return[255*(1-Math.min(1,z[0]/100*(1-ue)+ue)),255*(1-Math.min(1,ie*(1-ue)+ue)),255*(1-Math.min(1,de*(1-ue)+ue))]}function ae(z){var ue,_e,be,se=z[0]/100,ie=z[1]/100,de=z[2]/100;return _e=-.9689*se+1.8758*ie+.0415*de,be=.0557*se+-.204*ie+1.057*de,ue=(ue=3.2406*se+-1.5372*ie+-.4986*de)>.0031308?1.055*Math.pow(ue,1/2.4)-.055:ue*=12.92,_e=_e>.0031308?1.055*Math.pow(_e,1/2.4)-.055:_e*=12.92,be=be>.0031308?1.055*Math.pow(be,1/2.4)-.055:be*=12.92,[255*(ue=Math.min(Math.max(0,ue),1)),255*(_e=Math.min(Math.max(0,_e),1)),255*(be=Math.min(Math.max(0,be),1))]}function J(z){var se=z[0],ie=z[1],de=z[2];return ie/=100,de/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(ie=ie>.008856?Math.pow(ie,1/3):7.787*ie+16/116)-16,500*(se-ie),200*(ie-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function ke(z){var ue,_e,be,fe,se=z[0],ie=z[1],de=z[2];return se<=8?fe=(_e=100*se/903.3)/100*7.787+16/116:(_e=100*Math.pow((se+16)/116,3),fe=Math.pow(_e/100,1/3)),[ue=ue/95.047<=.008856?ue=95.047*(ie/500+fe-16/116)/7.787:95.047*Math.pow(ie/500+fe,3),_e,be=be/108.883<=.008859?be=108.883*(fe-de/200-16/116)/7.787:108.883*Math.pow(fe-de/200,3)]}function Ae(z){var _e,se=z[0],ie=z[1],de=z[2];return(_e=360*Math.atan2(de,ie)/2/Math.PI)<0&&(_e+=360),[se,Math.sqrt(ie*ie+de*de),_e]}function Ne(z){return ae(ke(z))}function et(z){var be,ie=z[1];return be=z[2]/360*2*Math.PI,[z[0],ie*Math.cos(be),ie*Math.sin(be)]}function Bt(z){return Kn[z]}le.exports={rgb2hsl:me,rgb2hsv:F,rgb2hwb:I,rgb2cmyk:v,rgb2keyword:u,rgb2xyz:f,rgb2lab:h,rgb2lch:function M(z){return Ae(h(z))},hsl2rgb:p,hsl2hsv:function y(z){var ie=z[1]/100,de=z[2]/100;return 0===de?[0,0,0]:[z[0],2*(ie*=(de*=2)<=1?de:2-de)/(de+ie)*100,(de+ie)/2*100]},hsl2hwb:function w(z){return I(p(z))},hsl2cmyk:function x(z){return v(p(z))},hsl2keyword:function S(z){return u(p(z))},hsv2rgb:C,hsv2hsl:function L(z){var ue,_e,ie=z[1]/100,de=z[2]/100;return ue=ie*de,[z[0],100*(ue=(ue/=(_e=(2-ie)*de)<=1?_e:2-_e)||0),100*(_e/=2)]},hsv2hwb:function A(z){return I(C(z))},hsv2cmyk:function j(z){return v(C(z))},hsv2keyword:function H(z){return u(C(z))},hwb2rgb:K,hwb2hsl:function re(z){return me(K(z))},hwb2hsv:function ve(z){return F(K(z))},hwb2cmyk:function Z(z){return v(K(z))},hwb2keyword:function Q(z){return u(K(z))},cmyk2rgb:ce,cmyk2hsl:function q(z){return me(ce(z))},cmyk2hsv:function ee(z){return F(ce(z))},cmyk2hwb:function ne(z){return I(ce(z))},cmyk2keyword:function oe(z){return u(ce(z))},keyword2rgb:Bt,keyword2hsl:function ln(z){return me(Bt(z))},keyword2hsv:function Rn(z){return F(Bt(z))},keyword2hwb:function Mn(z){return I(Bt(z))},keyword2cmyk:function Sn(z){return v(Bt(z))},keyword2lab:function je(z){return h(Bt(z))},keyword2xyz:function jn(z){return f(Bt(z))},xyz2rgb:ae,xyz2lab:J,xyz2lch:function Te(z){return Ae(J(z))},lab2xyz:ke,lab2rgb:Ne,lab2lch:Ae,lch2lab:et,lch2xyz:function st(z){return ke(et(z))},lch2rgb:function rt(z){return Ne(et(z))}};var Kn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Xe={};for(var Ge in Kn)Xe[JSON.stringify(Kn[Ge])]=Ge},7227:(le,me,F)=>{var I=F(4126),v=function(){return new p};for(var u in I){v[u+"Raw"]=function(y){return function(w){return"number"==typeof w&&(w=Array.prototype.slice.call(arguments)),I[y](w)}}(u);var f=/(\w+)2(\w+)/.exec(u),h=f[1],M=f[2];(v[h]=v[h]||{})[M]=v[u]=function(y){return function(w){"number"==typeof w&&(w=Array.prototype.slice.call(arguments));var x=I[y](w);if("string"==typeof x||void 0===x)return x;for(var S=0;S{le.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},7088:function(le,me,F){!function(I){"use strict";I.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(u){return/^nm$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"vm":"VM":h?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},2502:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(F(5439))},128:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(F(5439))},4519:function(le,me,F){!function(I){"use strict";var v={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%100>=11?4:5},f={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},h=function(y){return function(w,x,S,C){var L=u(w),A=f[y][u(w)];return 2===L&&(A=A[x?0:1]),A.replace(/%d/i,w)}},M=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar-ly",{months:M,monthsShort:M,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(y){return"\u0645"===y},meridiem:function(y,w,x){return y<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:h("s"),ss:h("s"),m:h("m"),mm:h("m"),h:h("h"),hh:h("h"),d:h("d"),dd:h("d"),M:h("M"),MM:h("M"),y:h("y"),yy:h("y")},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(w){return v[w]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(F(5439))},5443:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(F(5439))},7642:function(le,me,F){!function(I){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};I.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(h){return"\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(h){return h.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(F(5439))},8592:function(le,me,F){!function(I){"use strict";I.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(F(5439))},7038:function(le,me,F){!function(I){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},f=function(w){return 0===w?0:1===w?1:2===w?2:w%100>=3&&w%100<=10?3:w%100>=11?4:5},h={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},M=function(w){return function(x,S,C,L){var A=f(x),j=h[w][f(x)];return 2===A&&(j=j[S?0:1]),j.replace(/%d/i,x)}},p=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];I.defineLocale("ar",{months:p,monthsShort:p,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(w){return"\u0645"===w},meridiem:function(w,x,S){return w<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},preparse:function(w){return w.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(x){return u[x]}).replace(/\u060c/g,",")},postformat:function(w){return w.replace(/\d/g,function(x){return v[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(F(5439))},1213:function(le,me,F){!function(I){"use strict";var v={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};I.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(f){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(f)},meridiem:function(f,h,M){return f<4?"gec\u0259":f<12?"s\u0259h\u0259r":f<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(f){if(0===f)return f+"-\u0131nc\u0131";var h=f%10;return f+(v[h]||v[f%100-h]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},9191:function(le,me,F){!function(I){"use strict";function u(h,M,p){return"m"===p?M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===p?M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":h+" "+function v(h,M){var p=h.split("_");return M%10==1&&M%100!=11?p[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?p[1]:p[2]}({ss:M?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[p],+h)}I.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(h)},meridiem:function(h,M,p){return h<4?"\u043d\u043e\u0447\u044b":h<12?"\u0440\u0430\u043d\u0456\u0446\u044b":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(h,M){switch(M){case"M":case"d":case"DDD":case"w":case"W":return h%10!=2&&h%10!=3||h%100==12||h%100==13?h+"-\u044b":h+"-\u0456";case"D":return h+"-\u0433\u0430";default:return h}},week:{dow:1,doy:7}})}(F(5439))},322:function(le,me,F){!function(I){"use strict";I.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(F(5439))},8042:function(le,me,F){!function(I){"use strict";I.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(F(5439))},9620:function(le,me,F){!function(I){"use strict";var v={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};I.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(h){return h.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u09b0\u09be\u09a4"===M&&h>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===M&&h<5||"\u09ac\u09bf\u0995\u09be\u09b2"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u09b0\u09be\u09a4":h<10?"\u09b8\u0995\u09be\u09b2":h<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":h<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(F(5439))},9645:function(le,me,F){!function(I){"use strict";var v={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};I.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(h){return h.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===M&&h>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===M&&h<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":h<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":h<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":h<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(F(5439))},5020:function(le,me,F){!function(I){"use strict";function v(y,w,x){return y+" "+function h(y,w){return 2===w?function M(y){var w={m:"v",b:"v",d:"z"};return void 0===w[y.charAt(0)]?y:w[y.charAt(0)]+y.substring(1)}(y):y}({mm:"munutenn",MM:"miz",dd:"devezh"}[x],y)}function f(y){return y>9?f(y%10):y}I.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:v,h:"un eur",hh:"%d eur",d:"un devezh",dd:v,M:"ur miz",MM:v,y:"ur bloaz",yy:function u(y){switch(f(y)){case 1:case 3:case 4:case 5:case 9:return y+" bloaz";default:return y+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(y){return y+(1===y?"a\xf1":"vet")},week:{dow:1,doy:4}})}(F(5439))},4792:function(le,me,F){!function(I){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}I.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},7980:function(le,me,F){!function(I){"use strict";I.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(u,f){var h=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===f||"W"===f)&&(h="a"),u+h},week:{dow:1,doy:4}})}(F(5439))},7322:function(le,me,F){!function(I){"use strict";var v="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function f(p){return p>1&&p<5&&1!=~~(p/10)}function h(p,y,w,x){var S=p+" ";switch(w){case"s":return y||x?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return y||x?S+(f(p)?"sekundy":"sekund"):S+"sekundami";case"m":return y?"minuta":x?"minutu":"minutou";case"mm":return y||x?S+(f(p)?"minuty":"minut"):S+"minutami";case"h":return y?"hodina":x?"hodinu":"hodinou";case"hh":return y||x?S+(f(p)?"hodiny":"hodin"):S+"hodinami";case"d":return y||x?"den":"dnem";case"dd":return y||x?S+(f(p)?"dny":"dn\xed"):S+"dny";case"M":return y||x?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return y||x?S+(f(p)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):S+"m\u011bs\xedci";case"y":return y||x?"rok":"rokem";case"yy":return y||x?S+(f(p)?"roky":"let"):S+"lety"}}I.defineLocale("cs",{months:v,monthsShort:u,monthsParse:function(p,y){var w,x=[];for(w=0;w<12;w++)x[w]=new RegExp("^"+p[w]+"$|^"+y[w]+"$","i");return x}(v,u),shortMonthsParse:function(p){var y,w=[];for(y=0;y<12;y++)w[y]=new RegExp("^"+p[y]+"$","i");return w}(u),longMonthsParse:function(p){var y,w=[];for(y=0;y<12;y++)w[y]=new RegExp("^"+p[y]+"$","i");return w}(v),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},365:function(le,me,F){!function(I){"use strict";I.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(F(5439))},2092:function(le,me,F){!function(I){"use strict";I.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(u){var h="";return u>20?h=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(h=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+h},week:{dow:1,doy:4}})}(F(5439))},7387:function(le,me,F){!function(I){"use strict";I.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},9459:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3694:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},4307:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}I.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},9659:function(le,me,F){!function(I){"use strict";var v=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],u=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];I.defineLocale("dv",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(h){return"\u0789\u078a"===h},meridiem:function(h,M,p){return h<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(F(5439))},3460:function(le,me,F){!function(I){"use strict";I.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(f,h){return f?"string"==typeof h&&/D/.test(h.substring(0,h.indexOf("MMMM")))?this._monthsGenitiveEl[f.month()]:this._monthsNominativeEl[f.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(f,h,M){return f>11?M?"\u03bc\u03bc":"\u039c\u039c":M?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(f){return"\u03bc"===(f+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(f,h){var M=this._calendarEl[f],p=h&&h.hours();return function v(f){return f instanceof Function||"[object Function]"===Object.prototype.toString.call(f)}(M)&&(M=M.apply(h)),M.replace("{}",p%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(F(5439))},4369:function(le,me,F){!function(I){"use strict";I.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},530:function(le,me,F){!function(I){"use strict";I.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(F(5439))},9998:function(le,me,F){!function(I){"use strict";I.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},3391:function(le,me,F){!function(I){"use strict";I.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},5414:function(le,me,F){!function(I){"use strict";I.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(F(5439))},1248:function(le,me,F){!function(I){"use strict";I.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},4530:function(le,me,F){!function(I){"use strict";I.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,f,h){return u>11?h?"p.t.m.":"P.T.M.":h?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(F(5439))},8944:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},3609:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");I.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(F(5439))},6866:function(le,me,F){!function(I){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;I.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},6725:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[f+"sekundi",f+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[f+" minuti",f+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[f+" tunni",f+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[f+" kuu",f+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[f+" aasta",f+" aastat"]};return h?y[M][2]?y[M][2]:y[M][1]:p?y[M][0]:y[M][1]}I.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:"%d p\xe4eva",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},7931:function(le,me,F){!function(I){"use strict";I.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6417:function(le,me,F){!function(I){"use strict";var v={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};I.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(h){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(h)},meridiem:function(h,M,p){return h<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/[\u06f0-\u06f9]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(F(5439))},944:function(le,me,F){!function(I){"use strict";var v="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",v[7],v[8],v[9]];function f(p,y,w,x){var S="";switch(w){case"s":return x?"muutaman sekunnin":"muutama sekunti";case"ss":return x?"sekunnin":"sekuntia";case"m":return x?"minuutin":"minuutti";case"mm":S=x?"minuutin":"minuuttia";break;case"h":return x?"tunnin":"tunti";case"hh":S=x?"tunnin":"tuntia";break;case"d":return x?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":S=x?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return x?"kuukauden":"kuukausi";case"MM":S=x?"kuukauden":"kuukautta";break;case"y":return x?"vuoden":"vuosi";case"yy":S=x?"vuoden":"vuotta"}return function h(p,y){return p<10?y?u[p]:v[p]:p}(p,x)+" "+S}I.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},5867:function(le,me,F){!function(I){"use strict";I.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},6848:function(le,me,F){!function(I){"use strict";I.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(F(5439))},7773:function(le,me,F){!function(I){"use strict";I.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(F(5439))},1636:function(le,me,F){!function(I){"use strict";I.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(u,f){switch(f){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(F(5439))},4940:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");I.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},6924:function(le,me,F){!function(I){"use strict";I.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(y){return y+(1===y?"d":y%10==2?"na":"mh")},week:{dow:1,doy:4}})}(F(5439))},6398:function(le,me,F){!function(I){"use strict";I.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(u){return 0===u.indexOf("un")?"n"+u:"en "+u},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},2545:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y={s:["thodde secondanim","thodde second"],ss:[f+" secondanim",f+" second"],m:["eka mintan","ek minute"],mm:[f+" mintanim",f+" mintam"],h:["eka horan","ek hor"],hh:[f+" horanim",f+" horam"],d:["eka disan","ek dis"],dd:[f+" disanim",f+" dis"],M:["eka mhoinean","ek mhoino"],MM:[f+" mhoineanim",f+" mhoine"],y:["eka vorsan","ek voros"],yy:[f+" vorsanim",f+" vorsam"]};return h?y[M][0]:y[M][1]}I.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(f,h){return"D"===h?f+"er":f},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(f,h){return 12===f&&(f=0),"rati"===h?f<4?f:f+12:"sokalli"===h?f:"donparam"===h?f>12?f:f+12:"sanje"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"rati":f<12?"sokalli":f<16?"donparam":f<20?"sanje":"rati"}})}(F(5439))},2641:function(le,me,F){!function(I){"use strict";var v={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};I.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(h){return h.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0ab0\u0abe\u0aa4"===M?h<4?h:h+12:"\u0ab8\u0ab5\u0abe\u0ab0"===M?h:"\u0aac\u0aaa\u0acb\u0ab0"===M?h>=10?h:h+12:"\u0ab8\u0abe\u0a82\u0a9c"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0ab0\u0abe\u0aa4":h<10?"\u0ab8\u0ab5\u0abe\u0ab0":h<17?"\u0aac\u0aaa\u0acb\u0ab0":h<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(F(5439))},7536:function(le,me,F){!function(I){"use strict";I.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,f,h){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?h?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?h?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(F(5439))},6335:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};I.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924"===M?h<4?h:h+12:"\u0938\u0941\u092c\u0939"===M?h:"\u0926\u094b\u092a\u0939\u0930"===M?h>=10?h:h+12:"\u0936\u093e\u092e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0930\u093e\u0924":h<10?"\u0938\u0941\u092c\u0939":h<17?"\u0926\u094b\u092a\u0939\u0930":h<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(F(5439))},7458:function(le,me,F){!function(I){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}I.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6540:function(le,me,F){!function(I){"use strict";var v="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(M,p,y,w){var x=M;switch(y){case"s":return w||p?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return x+(w||p)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(w||p?" perc":" perce");case"mm":return x+(w||p?" perc":" perce");case"h":return"egy"+(w||p?" \xf3ra":" \xf3r\xe1ja");case"hh":return x+(w||p?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(w||p?" nap":" napja");case"dd":return x+(w||p?" nap":" napja");case"M":return"egy"+(w||p?" h\xf3nap":" h\xf3napja");case"MM":return x+(w||p?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(w||p?" \xe9v":" \xe9ve");case"yy":return x+(w||p?" \xe9v":" \xe9ve")}return""}function f(M){return(M?"":"[m\xfalt] ")+"["+v[this.day()]+"] LT[-kor]"}I.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(M){return"u"===M.charAt(1).toLowerCase()},meridiem:function(M,p,y){return M<12?!0===y?"de":"DE":!0===y?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return f.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return f.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},5283:function(le,me,F){!function(I){"use strict";I.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(u,f){switch(f){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(F(5439))},8780:function(le,me,F){!function(I){"use strict";I.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"siang"===f?u>=11?u:u+12:"sore"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"siang":u<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},4205:function(le,me,F){!function(I){"use strict";function v(h){return h%100==11||h%10!=1}function u(h,M,p,y){var w=h+" ";switch(p){case"s":return M||y?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return v(h)?w+(M||y?"sek\xfandur":"sek\xfandum"):w+"sek\xfanda";case"m":return M?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return v(h)?w+(M||y?"m\xedn\xfatur":"m\xedn\xfatum"):M?w+"m\xedn\xfata":w+"m\xedn\xfatu";case"hh":return v(h)?w+(M||y?"klukkustundir":"klukkustundum"):w+"klukkustund";case"d":return M?"dagur":y?"dag":"degi";case"dd":return v(h)?M?w+"dagar":w+(y?"daga":"d\xf6gum"):M?w+"dagur":w+(y?"dag":"degi");case"M":return M?"m\xe1nu\xf0ur":y?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return v(h)?M?w+"m\xe1nu\xf0ir":w+(y?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):M?w+"m\xe1nu\xf0ur":w+(y?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return M||y?"\xe1r":"\xe1ri";case"yy":return v(h)?w+(M||y?"\xe1r":"\xe1rum"):w+(M||y?"\xe1r":"\xe1ri")}}I.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:u,ss:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},4211:function(le,me,F){!function(I){"use strict";I.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},1003:function(le,me,F){!function(I){"use strict";I.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(u){return"\u5348\u5f8c"===u},meridiem:function(u,f,h){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()=11?u:u+12:"sonten"===f||"ndalu"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"enjing":u<15?"siyang":u<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(F(5439))},851:function(le,me,F){!function(I){"use strict";I.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(u)?u.replace(/\u10d8$/,"\u10e8\u10d8"):u+"\u10e8\u10d8"},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(F(5439))},6074:function(le,me,F){!function(I){"use strict";var v={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};I.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},3343:function(le,me,F){!function(I){"use strict";var v={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};I.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(h){return"\u179b\u17d2\u1784\u17b6\u1785"===h},meridiem:function(h,M,p){return h<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(h){return h.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(F(5439))},4799:function(le,me,F){!function(I){"use strict";var v={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};I.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(h){return h.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===M?h<4?h:h+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===M?h:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===M?h>=10?h:h+12:"\u0cb8\u0c82\u0c9c\u0cc6"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":h<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":h<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":h<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(h){return h+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(F(5439))},3549:function(le,me,F){!function(I){"use strict";I.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,f,h){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(F(5439))},3125:function(le,me,F){!function(I){"use strict";var v={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};I.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},9586:function(le,me,F){!function(I){"use strict";function v(p,y,w,x){var S={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return y?S[w][0]:S[w][1]}function h(p){if(p=parseInt(p,10),isNaN(p))return!1;if(p<0)return!0;if(p<10)return 4<=p&&p<=7;if(p<100){var y=p%10;return h(0===y?p/10:y)}if(p<1e4){for(;p>=10;)p/=10;return h(p)}return h(p/=1e3)}I.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function u(p){return h(p.substr(0,p.indexOf(" ")))?"a "+p:"an "+p},past:function f(p){return h(p.substr(0,p.indexOf(" ")))?"viru "+p:"virun "+p},s:"e puer Sekonnen",ss:"%d Sekonnen",m:v,mm:"%d Minutten",h:v,hh:"%d Stonnen",d:v,dd:"%d Deeg",M:v,MM:"%d M\xe9int",y:v,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},2349:function(le,me,F){!function(I){"use strict";I.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,f,h){return u<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(u){return"\u0e97\u0eb5\u0ec8"+u}})}(F(5439))},2400:function(le,me,F){!function(I){"use strict";var v={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function f(w,x,S,C){return x?M(S)[0]:C?M(S)[1]:M(S)[2]}function h(w){return w%10==0||w>10&&w<20}function M(w){return v[w].split("_")}function p(w,x,S,C){var L=w+" ";return 1===w?L+f(0,x,S[0],C):x?L+(h(w)?M(S)[1]:M(S)[0]):C?L+M(S)[1]:L+(h(w)?M(S)[1]:M(S)[2])}I.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function u(w,x,S,C){return x?"kelios sekund\u0117s":C?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:p,m:f,mm:p,h:f,hh:p,d:f,dd:p,M:f,MM:p,y:f,yy:p},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(w){return w+"-oji"},week:{dow:1,doy:4}})}(F(5439))},9991:function(le,me,F){!function(I){"use strict";var v={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function u(y,w,x){return x?w%10==1&&w%100!=11?y[2]:y[3]:w%10==1&&w%100!=11?y[0]:y[1]}function f(y,w,x){return y+" "+u(v[x],y,w)}function h(y,w,x){return u(v[x],y,w)}I.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function M(y,w){return w?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:f,m:h,mm:f,h,hh:f,d:h,dd:f,M:h,MM:f,y:h,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8477:function(le,me,F){!function(I){"use strict";var v={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mjesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},5118:function(le,me,F){!function(I){"use strict";I.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},5943:function(le,me,F){!function(I){"use strict";I.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(F(5439))},3849:function(le,me,F){!function(I){"use strict";I.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(u,f){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===f&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===f||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===f?u+12:u},meridiem:function(u,f,h){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(F(5439))},1977:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){switch(M){case"s":return h?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return f+(h?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return f+(h?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return f+(h?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return f+(h?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return f+(h?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return f+(h?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return f}}I.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(f){return"\u04ae\u0425"===f},meridiem:function(f,h,M){return f<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(f,h){switch(h){case"d":case"D":case"DDD":return f+" \u04e9\u0434\u04e9\u0440";default:return f}}})}(F(5439))},6184:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function f(M,p,y,w){var x="";if(p)switch(y){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":x="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":x="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":x="%d \u0924\u093e\u0938";break;case"d":x="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":x="%d \u0926\u093f\u0935\u0938";break;case"M":x="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":x="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u0947"}else switch(y){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":x="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":x="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":x="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":x="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":x="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":x="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":x="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return x.replace(/%d/i,M)}I.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(p){return u[p]})},postformat:function(M){return M.replace(/\d/g,function(p){return v[p]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(M,p){return 12===M&&(M=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===p?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940"===p?M:"\u0926\u0941\u092a\u093e\u0930\u0940"===p?M>=10?M:M+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===p?M+12:void 0},meridiem:function(M,p,y){return M<4?"\u0930\u093e\u0924\u094d\u0930\u0940":M<10?"\u0938\u0915\u093e\u0933\u0940":M<17?"\u0926\u0941\u092a\u093e\u0930\u0940":M<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(F(5439))},4524:function(le,me,F){!function(I){"use strict";I.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},485:function(le,me,F){!function(I){"use strict";I.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(F(5439))},6681:function(le,me,F){!function(I){"use strict";I.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},2024:function(le,me,F){!function(I){"use strict";var v={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};I.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(h){return h.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(F(5439))},2688:function(le,me,F){!function(I){"use strict";I.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8914:function(le,me,F){!function(I){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};I.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924\u093f"===M?h<4?h:h+12:"\u092c\u093f\u0939\u093e\u0928"===M?h:"\u0926\u093f\u0909\u0901\u0938\u094b"===M?h>=10?h:h+12:"\u0938\u093e\u0901\u091d"===M?h+12:void 0},meridiem:function(h,M,p){return h<3?"\u0930\u093e\u0924\u093f":h<12?"\u092c\u093f\u0939\u093e\u0928":h<16?"\u0926\u093f\u0909\u0901\u0938\u094b":h<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(F(5439))},2272:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},1758:function(le,me,F){!function(I){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;I.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(F(5439))},1510:function(le,me,F){!function(I){"use strict";I.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},7944:function(le,me,F){!function(I){"use strict";var v={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};I.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(h){return h.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0a30\u0a3e\u0a24"===M?h<4?h:h+12:"\u0a38\u0a35\u0a47\u0a30"===M?h:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===M?h>=10?h:h+12:"\u0a38\u0a3c\u0a3e\u0a2e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0a30\u0a3e\u0a24":h<10?"\u0a38\u0a35\u0a47\u0a30":h<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":h<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(F(5439))},1605:function(le,me,F){!function(I){"use strict";var v="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function f(p){return p%10<5&&p%10>1&&~~(p/10)%10!=1}function h(p,y,w){var x=p+" ";switch(w){case"ss":return x+(f(p)?"sekundy":"sekund");case"m":return y?"minuta":"minut\u0119";case"mm":return x+(f(p)?"minuty":"minut");case"h":return y?"godzina":"godzin\u0119";case"hh":return x+(f(p)?"godziny":"godzin");case"MM":return x+(f(p)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return x+(f(p)?"lata":"lat")}}I.defineLocale("pl",{months:function(p,y){return p?""===y?"("+u[p.month()]+"|"+v[p.month()]+")":/D MMMM/.test(y)?u[p.month()]:v[p.month()]:v},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:h,m:h,mm:h,h,hh:h,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:h,y:"rok",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3840:function(le,me,F){!function(I){"use strict";I.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(F(5439))},4225:function(le,me,F){!function(I){"use strict";I.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(F(5439))},5128:function(le,me,F){!function(I){"use strict";function v(f,h,M){var y=" ";return(f%100>=20||f>=100&&f%100==0)&&(y=" de "),f+y+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[M]}I.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:v,m:"un minut",mm:v,h:"o or\u0103",hh:v,d:"o zi",dd:v,M:"o lun\u0103",MM:v,y:"un an",yy:v},week:{dow:1,doy:7}})}(F(5439))},5127:function(le,me,F){!function(I){"use strict";function u(M,p,y){return"m"===y?p?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":M+" "+function v(M,p){var y=M.split("_");return p%10==1&&p%100!=11?y[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?y[1]:y[2]}({ss:p?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:p?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[y],+M)}var f=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];I.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:f,longMonthsParse:f,shortMonthsParse:f,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(M){if(M.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(M){if(M.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(M)},meridiem:function(M,p,y){return M<4?"\u043d\u043e\u0447\u0438":M<12?"\u0443\u0442\u0440\u0430":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(M,p){switch(p){case"M":case"d":case"DDD":return M+"-\u0439";case"D":return M+"-\u0433\u043e";case"w":case"W":return M+"-\u044f";default:return M}},week:{dow:1,doy:4}})}(F(5439))},2525:function(le,me,F){!function(I){"use strict";var v=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],u=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];I.defineLocale("sd",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(F(5439))},9893:function(le,me,F){!function(I){"use strict";I.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},3123:function(le,me,F){!function(I){"use strict";I.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,f,h){return u>11?h?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":h?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(F(5439))},9635:function(le,me,F){!function(I){"use strict";var v="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function f(p){return p>1&&p<5}function h(p,y,w,x){var S=p+" ";switch(w){case"s":return y||x?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return y||x?S+(f(p)?"sekundy":"sek\xfand"):S+"sekundami";case"m":return y?"min\xfata":x?"min\xfatu":"min\xfatou";case"mm":return y||x?S+(f(p)?"min\xfaty":"min\xfat"):S+"min\xfatami";case"h":return y?"hodina":x?"hodinu":"hodinou";case"hh":return y||x?S+(f(p)?"hodiny":"hod\xedn"):S+"hodinami";case"d":return y||x?"de\u0148":"d\u0148om";case"dd":return y||x?S+(f(p)?"dni":"dn\xed"):S+"d\u0148ami";case"M":return y||x?"mesiac":"mesiacom";case"MM":return y||x?S+(f(p)?"mesiace":"mesiacov"):S+"mesiacmi";case"y":return y||x?"rok":"rokom";case"yy":return y||x?S+(f(p)?"roky":"rokov"):S+"rokmi"}}I.defineLocale("sk",{months:v,monthsShort:u,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8106:function(le,me,F){!function(I){"use strict";function v(f,h,M,p){var y=f+" ";switch(M){case"s":return h||p?"nekaj sekund":"nekaj sekundami";case"ss":return y+(1===f?h?"sekundo":"sekundi":2===f?h||p?"sekundi":"sekundah":f<5?h||p?"sekunde":"sekundah":"sekund");case"m":return h?"ena minuta":"eno minuto";case"mm":return y+(1===f?h?"minuta":"minuto":2===f?h||p?"minuti":"minutama":f<5?h||p?"minute":"minutami":h||p?"minut":"minutami");case"h":return h?"ena ura":"eno uro";case"hh":return y+(1===f?h?"ura":"uro":2===f?h||p?"uri":"urama":f<5?h||p?"ure":"urami":h||p?"ur":"urami");case"d":return h||p?"en dan":"enim dnem";case"dd":return y+(1===f?h||p?"dan":"dnem":2===f?h||p?"dni":"dnevoma":h||p?"dni":"dnevi");case"M":return h||p?"en mesec":"enim mesecem";case"MM":return y+(1===f?h||p?"mesec":"mesecem":2===f?h||p?"meseca":"mesecema":f<5?h||p?"mesece":"meseci":h||p?"mesecev":"meseci");case"y":return h||p?"eno leto":"enim letom";case"yy":return y+(1===f?h||p?"leto":"letom":2===f?h||p?"leti":"letoma":f<5?h||p?"leta":"leti":h||p?"let":"leti")}}I.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},8799:function(le,me,F){!function(I){"use strict";I.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(u){return"M"===u.charAt(0)},meridiem:function(u,f,h){return u<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},2872:function(le,me,F){!function(I){"use strict";var v={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"\u0434\u0430\u043d",dd:v.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:v.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},7949:function(le,me,F){!function(I){"use strict";var v={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};I.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(F(5439))},6167:function(le,me,F){!function(I){"use strict";I.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(u,f,h){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,f){return 12===u&&(u=0),"ekuseni"===f?u:"emini"===f?u>=11?u:u+12:"entsambama"===f||"ebusuku"===f?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(F(5439))},9713:function(le,me,F){!function(I){"use strict";I.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"e":1===f||2===f?"a":"e")},week:{dow:1,doy:4}})}(F(5439))},1982:function(le,me,F){!function(I){"use strict";I.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(F(5439))},2732:function(le,me,F){!function(I){"use strict";var v={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};I.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(h){return h+"\u0bb5\u0ba4\u0bc1"},preparse:function(h){return h.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(h,M,p){return h<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":h<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":h<10?" \u0b95\u0bbe\u0bb2\u0bc8":h<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":h<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":h<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(h,M){return 12===h&&(h=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===M?h<2?h:h+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===M||"\u0b95\u0bbe\u0bb2\u0bc8"===M||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===M&&h>=10?h:h+12},week:{dow:0,doy:6}})}(F(5439))},3636:function(le,me,F){!function(I){"use strict";I.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===f?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===f?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===f?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===f?u+12:void 0},meridiem:function(u,f,h){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(F(5439))},2115:function(le,me,F){!function(I){"use strict";I.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},9801:function(le,me,F){!function(I){"use strict";var v={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};I.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(f,h){return 12===f&&(f=0),"\u0448\u0430\u0431"===h?f<4?f:f+12:"\u0441\u0443\u0431\u04b3"===h?f:"\u0440\u04ef\u0437"===h?f>=11?f:f+12:"\u0431\u0435\u0433\u043e\u04b3"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"\u0448\u0430\u0431":f<11?"\u0441\u0443\u0431\u04b3":f<16?"\u0440\u04ef\u0437":f<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(f){return f+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(F(5439))},2868:function(le,me,F){!function(I){"use strict";I.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,f,h){return u<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(F(5439))},2360:function(le,me,F){!function(I){"use strict";I.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(F(5439))},6645:function(le,me,F){!function(I){"use strict";var v="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function h(y,w,x,S){var C=function M(y){var w=Math.floor(y%1e3/100),x=Math.floor(y%100/10),S=y%10,C="";return w>0&&(C+=v[w]+"vatlh"),x>0&&(C+=(""!==C?" ":"")+v[x]+"maH"),S>0&&(C+=(""!==C?" ":"")+v[S]),""===C?"pagh":C}(y);switch(x){case"ss":return C+" lup";case"mm":return C+" tup";case"hh":return C+" rep";case"dd":return C+" jaj";case"MM":return C+" jar";case"yy":return C+" DIS"}}I.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function u(y){var w=y;return-1!==y.indexOf("jaj")?w.slice(0,-3)+"leS":-1!==y.indexOf("jar")?w.slice(0,-3)+"waQ":-1!==y.indexOf("DIS")?w.slice(0,-3)+"nem":w+" pIq"},past:function f(y){var w=y;return-1!==y.indexOf("jaj")?w.slice(0,-3)+"Hu\u2019":-1!==y.indexOf("jar")?w.slice(0,-3)+"wen":-1!==y.indexOf("DIS")?w.slice(0,-3)+"ben":w+" ret"},s:"puS lup",ss:h,m:"wa\u2019 tup",mm:h,h:"wa\u2019 rep",hh:h,d:"wa\u2019 jaj",dd:h,M:"wa\u2019 jar",MM:h,y:"wa\u2019 DIS",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},8374:function(le,me,F){!function(I){"use strict";var v={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};I.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(f,h){switch(h){case"d":case"D":case"Do":case"DD":return f;default:if(0===f)return f+"'\u0131nc\u0131";var M=f%10;return f+(v[M]||v[f%100-M]||v[f>=100?100:null])}},week:{dow:1,doy:7}})}(F(5439))},256:function(le,me,F){!function(I){"use strict";function u(f,h,M,p){var y={s:["viensas secunds","'iensas secunds"],ss:[f+" secunds",f+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[f+" m\xeduts",f+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[f+" \xfeoras",f+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[f+" ziuas",f+" ziuas"],M:["'n mes","'iens mes"],MM:[f+" mesen",f+" mesen"],y:["'n ar","'iens ar"],yy:[f+" ars",f+" ars"]};return p||h?y[M][0]:y[M][1]}I.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(f){return"d'o"===f.toLowerCase()},meridiem:function(f,h,M){return f>11?M?"d'o":"D'O":M?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(F(5439))},1631:function(le,me,F){!function(I){"use strict";I.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(F(5439))},1595:function(le,me,F){!function(I){"use strict";I.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(F(5439))},6050:function(le,me,F){!function(I){"use strict";I.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===f||"\u0633\u06d5\u06be\u06d5\u0631"===f||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===f?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===f||"\u0643\u06d5\u0686"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":M<900?"\u0633\u06d5\u06be\u06d5\u0631":M<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":M<1230?"\u0686\u06c8\u0634":M<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(F(5439))},5610:function(le,me,F){!function(I){"use strict";function u(p,y,w){return"m"===w?y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===w?y?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":p+" "+function v(p,y){var w=p.split("_");return y%10==1&&y%100!=11?w[0]:y%10>=2&&y%10<=4&&(y%100<10||y%100>=20)?w[1]:w[2]}({ss:y?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:y?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[w],+p)}function h(p){return function(){return p+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}I.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function f(p,y){var w={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return p?w[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(y)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(y)?"genitive":"nominative"][p.day()]:w.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:h("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:h("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:h("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:h("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(p)},meridiem:function(p,y,w){return p<4?"\u043d\u043e\u0447\u0456":p<12?"\u0440\u0430\u043d\u043a\u0443":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(p,y){switch(y){case"M":case"d":case"DDD":case"w":case"W":return p+"-\u0439";case"D":return p+"-\u0433\u043e";default:return p}},week:{dow:1,doy:7}})}(F(5439))},6077:function(le,me,F){!function(I){"use strict";var v=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],u=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];I.defineLocale("ur",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(F(5439))},2207:function(le,me,F){!function(I){"use strict";I.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(F(5439))},2862:function(le,me,F){!function(I){"use strict";I.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(F(5439))},8093:function(le,me,F){!function(I){"use strict";I.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(u){return/^ch$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"sa":"SA":h?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(F(5439))},5590:function(le,me,F){!function(I){"use strict";I.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(F(5439))},9058:function(le,me,F){!function(I){"use strict";I.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(F(5439))},7908:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(F(5439))},8867:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(F(5439))},3291:function(le,me,F){!function(I){"use strict";I.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(F(5439))},5439:function(le,me,F){(le=F.nmd(le)).exports=function(){"use strict";var I,H;function v(){return I.apply(null,arguments)}function f(m){return m instanceof Array||"[object Array]"===Object.prototype.toString.call(m)}function h(m){return null!=m&&"[object Object]"===Object.prototype.toString.call(m)}function p(m){return void 0===m}function y(m){return"number"==typeof m||"[object Number]"===Object.prototype.toString.call(m)}function w(m){return m instanceof Date||"[object Date]"===Object.prototype.toString.call(m)}function x(m,P){var G,V=[];for(G=0;G>>0,G=0;G0)for(V=0;V=0?V?"+":"":"-")+Math.pow(10,Math.max(0,P-G.length)).toString().substr(1)+G}var Ee=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ze=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},dt={};function tt(m,P,V,G){var te=G;"string"==typeof G&&(te=function(){return this[G]()}),m&&(dt[m]=te),P&&(dt[P[0]]=function(){return we(te.apply(this,arguments),P[1],P[2])}),V&&(dt[V]=function(){return this.localeData().ordinal(te.apply(this,arguments),m)})}function Yt(m){return m.match(/\[[\s\S]/)?m.replace(/^\[|\]$/g,""):m.replace(/\\/g,"")}function Rt(m,P){return m.isValid()?(P=Gt(P,m.localeData()),ut[P]=ut[P]||function wn(m){var V,G,P=m.match(Ee);for(V=0,G=P.length;V=0&&Ze.test(m);)m=m.replace(Ze,G),Ze.lastIndex=0,V-=1;return m}var Dn=/\d/,ti=/\d\d/,Ss=/\d{3}/,Fs=/\d{4}/,yi=/[+-]?\d{6}/,Zt=/\d\d?/,fi=/\d\d\d\d?/,ni=/\d\d\d\d\d\d?/,mn=/\d{1,3}/,_n=/\d{1,4}/,la=/[+-]?\d{1,6}/,kn=/\d+/,ca=/[+-]?\d+/,S_=/Z|[+-]\d\d:?\d\d/gi,sn=/Z|[+-]\d\d(?::?\d\d)?/gi,Po=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,jh={};function Le(m,P,V){jh[m]=Ae(P)?P:function(G,te){return G&&V?V:P}}function Bl(m,P){return S(jh,m)?jh[m](P._strict,P._locale):new RegExp(function xt(m){return zt(m.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(P,V,G,te,xe){return V||G||te||xe}))}(m))}function zt(m){return m.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Tu={};function Un(m,P){var V,G=P;for("string"==typeof m&&(m=[m]),y(P)&&(G=function(te,xe){xe[P]=ne(te)}),V=0;V68?1900:2e3)};var pi,Uh=Li("FullYear",!0);function Li(m,P){return function(V){return null!=V?(D_(this,m,V),v.updateOffset(this,P),this):tn(this,m)}}function tn(m,P){return m.isValid()?m._d["get"+(m._isUTC?"UTC":"")+P]():NaN}function D_(m,P,V){m.isValid()&&!isNaN(V)&&("FullYear"===P&&xu(m.year())&&1===m.month()&&29===m.date()?m._d["set"+(m._isUTC?"UTC":"")+P](V,m.month(),wt(V,m.month())):m._d["set"+(m._isUTC?"UTC":"")+P](V))}function wt(m,P){if(isNaN(m)||isNaN(P))return NaN;var V=function Ye(m,P){return(m%P+P)%P}(P,12);return m+=(P-V)/12,1===V?xu(m)?29:28:31-V%7%2}pi=Array.prototype.indexOf?Array.prototype.indexOf:function(m){var P;for(P=0;P=0&&isFinite(Ft.getFullYear())&&Ft.setFullYear(m),Ft}function Wr(m){var P=new Date(Date.UTC.apply(null,arguments));return m<100&&m>=0&&isFinite(P.getUTCFullYear())&&P.setUTCFullYear(m),P}function _r(m,P,V){var G=7+P-V;return-(7+Wr(m,0,G).getUTCDay()-P)%7+G-1}function E_(m,P,V,G,te){var Ht,Nn,Ft=1+7*(P-1)+(7+V-G)%7+_r(m,G,te);return Ft<=0?Nn=tl(Ht=m-1)+Ft:Ft>tl(m)?(Ht=m+1,Nn=Ft-tl(m)):(Ht=m,Nn=Ft),{year:Ht,dayOfYear:Nn}}function Wl(m,P,V){var xe,Ve,G=_r(m.year(),P,V),te=Math.floor((m.dayOfYear()-G-1)/7)+1;return te<1?xe=te+Hi(Ve=m.year()-1,P,V):te>Hi(m.year(),P,V)?(xe=te-Hi(m.year(),P,V),Ve=m.year()+1):(Ve=m.year(),xe=te),{week:xe,year:Ve}}function Hi(m,P,V){var G=_r(m,P,V),te=_r(m+1,P,V);return(tl(m)-G+te)/7}tt("w",["ww",2],"wo","week"),tt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),fe("week",5),fe("isoWeek",5),Le("w",Zt),Le("ww",Zt,ti),Le("W",Zt),Le("WW",Zt,ti),el(["w","ww","W","WW"],function(m,P,V,G){P[G.substr(0,1)]=ne(m)});tt("d",0,"do","day"),tt("dd",0,0,function(m){return this.localeData().weekdaysMin(this,m)}),tt("ddd",0,0,function(m){return this.localeData().weekdaysShort(this,m)}),tt("dddd",0,0,function(m){return this.localeData().weekdays(this,m)}),tt("e",0,0,"weekday"),tt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),fe("day",11),fe("weekday",11),fe("isoWeekday",11),Le("d",Zt),Le("e",Zt),Le("E",Zt),Le("dd",function(m,P){return P.weekdaysMinRegex(m)}),Le("ddd",function(m,P){return P.weekdaysShortRegex(m)}),Le("dddd",function(m,P){return P.weekdaysRegex(m)}),el(["dd","ddd","dddd"],function(m,P,V,G){var te=V._locale.weekdaysParse(m,G,V._strict);null!=te?P.d=te:j(V).invalidWeekday=m}),el(["d","e","E"],function(m,P,V,G){P[G]=ne(m)});var Gh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var ha="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function qh(m,P,V){var G,te,xe,Ve=m.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],G=0;G<7;++G)xe=L([2e3,1]).day(G),this._minWeekdaysParse[G]=this.weekdaysMin(xe,"").toLocaleLowerCase(),this._shortWeekdaysParse[G]=this.weekdaysShort(xe,"").toLocaleLowerCase(),this._weekdaysParse[G]=this.weekdays(xe,"").toLocaleLowerCase();return V?"dddd"===P?-1!==(te=pi.call(this._weekdaysParse,Ve))?te:null:"ddd"===P?-1!==(te=pi.call(this._shortWeekdaysParse,Ve))?te:null:-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:"dddd"===P?-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._shortWeekdaysParse,Ve))||-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:"ddd"===P?-1!==(te=pi.call(this._shortWeekdaysParse,Ve))||-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._minWeekdaysParse,Ve))?te:null:-1!==(te=pi.call(this._minWeekdaysParse,Ve))||-1!==(te=pi.call(this._weekdaysParse,Ve))||-1!==(te=pi.call(this._shortWeekdaysParse,Ve))?te:null}var Je=Po;var gn=Po;var ir=Po;function rr(){function m(Vi,xs){return xs.length-Vi.length}var xe,Ve,Ft,Ht,Nn,P=[],V=[],G=[],te=[];for(xe=0;xe<7;xe++)Ve=L([2e3,1]).day(xe),Ft=this.weekdaysMin(Ve,""),Ht=this.weekdaysShort(Ve,""),Nn=this.weekdays(Ve,""),P.push(Ft),V.push(Ht),G.push(Nn),te.push(Ft),te.push(Ht),te.push(Nn);for(P.sort(m),V.sort(m),G.sort(m),te.sort(m),xe=0;xe<7;xe++)V[xe]=zt(V[xe]),G[xe]=zt(G[xe]),te[xe]=zt(te[xe]);this._weekdaysRegex=new RegExp("^("+te.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+V.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+P.join("|")+")","i")}function gr(){return this.hours()%12||12}function It(m,P){tt(m,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),P)})}function Fn(m,P){return P._meridiemParse}tt("H",["HH",2],0,"hour"),tt("h",["hh",2],0,gr),tt("k",["kk",2],0,function ot(){return this.hours()||24}),tt("hmm",0,0,function(){return""+gr.apply(this)+we(this.minutes(),2)}),tt("hmmss",0,0,function(){return""+gr.apply(this)+we(this.minutes(),2)+we(this.seconds(),2)}),tt("Hmm",0,0,function(){return""+this.hours()+we(this.minutes(),2)}),tt("Hmmss",0,0,function(){return""+this.hours()+we(this.minutes(),2)+we(this.seconds(),2)}),It("a",!0),It("A",!1),de("hour","h"),fe("hour",13),Le("a",Fn),Le("A",Fn),Le("H",Zt),Le("h",Zt),Le("k",Zt),Le("HH",Zt,ti),Le("hh",Zt,ti),Le("kk",Zt,ti),Le("hmm",fi),Le("hmmss",ni),Le("Hmm",fi),Le("Hmmss",ni),Un(["H","HH"],3),Un(["k","kk"],function(m,P,V){var G=ne(m);P[3]=24===G?0:G}),Un(["a","A"],function(m,P,V){V._isPm=V._locale.isPM(m),V._meridiem=m}),Un(["h","hh"],function(m,P,V){P[3]=ne(m),j(V).bigHour=!0}),Un("hmm",function(m,P,V){var G=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G)),j(V).bigHour=!0}),Un("hmmss",function(m,P,V){var G=m.length-4,te=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G,2)),P[5]=ne(m.substr(te)),j(V).bigHour=!0}),Un("Hmm",function(m,P,V){var G=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G))}),Un("Hmmss",function(m,P,V){var G=m.length-4,te=m.length-2;P[3]=ne(m.substr(0,G)),P[4]=ne(m.substr(G,2)),P[5]=ne(m.substr(te))});var Lt,Oo=Li("Hours",!0),ii={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:k_,monthsShort:Wh,week:{dow:0,doy:6},weekdays:Gh,weekdaysMin:Qe,weekdaysShort:ha,meridiemParse:/[ap]\.?m?\.?/i},Qn={},ks={};function il(m){return m&&m.toLowerCase().replace("_","-")}function ma(m){var P=null;if(!Qn[m]&&le&&le.exports)try{P=Lt._abbr,F(6700)("./"+m),$r(P)}catch{}return Qn[m]}function $r(m,P){var V;return m&&((V=p(P)?Er(m):Pi(m,P))?Lt=V:typeof console<"u"&&console.warn&&console.warn("Locale "+m+" not found. Did you forget to load it?")),Lt._abbr}function Pi(m,P){if(null!==P){var V,G=ii;if(P.abbr=m,null!=Qn[m])ke("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),G=Qn[m]._config;else if(null!=P.parentLocale)if(null!=Qn[P.parentLocale])G=Qn[P.parentLocale]._config;else{if(null==(V=ma(P.parentLocale)))return ks[P.parentLocale]||(ks[P.parentLocale]=[]),ks[P.parentLocale].push({name:m,config:P}),null;G=V._config}return Qn[m]=new st(et(G,P)),ks[m]&&ks[m].forEach(function(te){Pi(te.name,te.config)}),$r(m),Qn[m]}return delete Qn[m],null}function Er(m){var P;if(m&&m._locale&&m._locale._abbr&&(m=m._locale._abbr),!m)return Lt;if(!f(m)){if(P=ma(m))return P;m=[m]}return function pa(m){for(var V,G,te,xe,P=0;P0;){if(te=ma(xe.slice(0,V).join("-")))return te;if(G&&G.length>=V&&oe(xe,G,!0)>=V-1)break;V--}P++}return Lt}(m)}function ao(m){var P,V=m._a;return V&&-2===j(m).overflow&&(P=V[1]<0||V[1]>11?1:V[2]<1||V[2]>wt(V[0],V[1])?2:V[3]<0||V[3]>24||24===V[3]&&(0!==V[4]||0!==V[5]||0!==V[6])?3:V[4]<0||V[4]>59?4:V[5]<0||V[5]>59?5:V[6]<0||V[6]>999?6:-1,j(m)._overflowDayOfYear&&(P<0||P>2)&&(P=2),j(m)._overflowWeeks&&-1===P&&(P=7),j(m)._overflowWeekday&&-1===P&&(P=8),j(m).overflow=P),m}function Ao(m,P,V){return m??P??V}function Ru(m){var P,V,te,xe,Ve,G=[];if(!m._d){for(te=function On(m){var P=new Date(v.now());return m._useUTC?[P.getUTCFullYear(),P.getUTCMonth(),P.getUTCDate()]:[P.getFullYear(),P.getMonth(),P.getDate()]}(m),m._w&&null==m._a[2]&&null==m._a[1]&&function O_(m){var P,V,G,te,xe,Ve,Ft,Ht;if(null!=(P=m._w).GG||null!=P.W||null!=P.E)xe=1,Ve=4,V=Ao(P.GG,m._a[0],Wl(ri(),1,4).year),G=Ao(P.W,1),((te=Ao(P.E,1))<1||te>7)&&(Ht=!0);else{xe=m._locale._week.dow,Ve=m._locale._week.doy;var Nn=Wl(ri(),xe,Ve);V=Ao(P.gg,m._a[0],Nn.year),G=Ao(P.w,Nn.week),null!=P.d?((te=P.d)<0||te>6)&&(Ht=!0):null!=P.e?(te=P.e+xe,(P.e<0||P.e>6)&&(Ht=!0)):te=xe}G<1||G>Hi(V,xe,Ve)?j(m)._overflowWeeks=!0:null!=Ht?j(m)._overflowWeekday=!0:(Ft=E_(V,G,te,xe,Ve),m._a[0]=Ft.year,m._dayOfYear=Ft.dayOfYear)}(m),null!=m._dayOfYear&&(Ve=Ao(m._a[0],te[0]),(m._dayOfYear>tl(Ve)||0===m._dayOfYear)&&(j(m)._overflowDayOfYear=!0),V=Wr(Ve,0,m._dayOfYear),m._a[1]=V.getUTCMonth(),m._a[2]=V.getUTCDate()),P=0;P<3&&null==m._a[P];++P)m._a[P]=G[P]=te[P];for(;P<7;P++)m._a[P]=G[P]=m._a[P]??(2===P?1:0);24===m._a[3]&&0===m._a[4]&&0===m._a[5]&&0===m._a[6]&&(m._nextDay=!0,m._a[3]=0),m._d=(m._useUTC?Wr:a1).apply(null,G),xe=m._useUTC?m._d.getUTCDay():m._d.getDay(),null!=m._tzm&&m._d.setUTCMinutes(m._d.getUTCMinutes()-m._tzm),m._nextDay&&(m._a[3]=24),m._w&&typeof m._w.d<"u"&&m._w.d!==xe&&(j(m).weekdayMismatch=!0)}}var Gl=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Fu=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,sl=/Z|[+-]\d\d(?::?\d\d)?/,Ro=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ys=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zi=/^\/?Date\((\-?\d+)/i;function Qh(m){var P,V,xe,Ve,Ft,Ht,G=m._i,te=Gl.exec(G)||Fu.exec(G);if(te){for(j(m).iso=!0,P=0,V=Ro.length;P0&&j(m).unusedInput.push(Ve),P=P.slice(P.indexOf(G)+G.length),Ht+=G.length),dt[xe]?(G?j(m).empty=!1:j(m).unusedTokens.push(xe),jl(xe,G,m)):m._strict&&!G&&j(m).unusedTokens.push(xe);j(m).charsLeftOver=Ft-Ht,P.length>0&&j(m).unusedInput.push(P),m._a[3]<=12&&!0===j(m).bigHour&&m._a[3]>0&&(j(m).bigHour=void 0),j(m).parsedDateParts=m._a.slice(0),j(m).meridiem=m._meridiem,m._a[3]=function u1(m,P,V){var G;return null==V?P:null!=m.meridiemHour?m.meridiemHour(P,V):(null!=m.isPM&&((G=m.isPM(V))&&P<12&&(P+=12),!G&&12===P&&(P=0)),P)}(m._locale,m._a[3],m._meridiem),Ru(m),ao(m)}else R_(m);else Qh(m)}function N_(m){var P=m._i,V=m._f;return m._locale=m._locale||Er(m._l),null===P||void 0===V&&""===P?re({nullInput:!0}):("string"==typeof P&&(m._i=P=m._locale.preparse(P)),q(P)?new ce(ao(P)):(w(P)?m._d=P:f(V)?function d1(m){var P,V,G,te,xe;if(0===m._f.length)return j(m).invalidFormat=!0,void(m._d=new Date(NaN));for(te=0;tethis?this:m:re()});function H_(m,P){var V,G;if(1===P.length&&f(P[0])&&(P=P[0]),!P.length)return ri();for(V=P[0],G=1;G(xe=Hi(m,G,te))&&(P=xe),eg.call(this,m,P,V,G,te))}function eg(m,P,V,G,te){var xe=E_(m,P,V,G,te),Ve=Wr(xe.year,0,xe.dayOfYear);return this.year(Ve.getUTCFullYear()),this.month(Ve.getUTCMonth()),this.date(Ve.getUTCDate()),this}tt(0,["gg",2],0,function(){return this.weekYear()%100}),tt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tc("gggg","weekYear"),tc("ggggg","weekYear"),tc("GGGG","isoWeekYear"),tc("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),fe("weekYear",1),fe("isoWeekYear",1),Le("G",ca),Le("g",ca),Le("GG",Zt,ti),Le("gg",Zt,ti),Le("GGGG",_n,Fs),Le("gggg",_n,Fs),Le("GGGGG",la,yi),Le("ggggg",la,yi),el(["gggg","ggggg","GGGG","GGGGG"],function(m,P,V,G){P[G.substr(0,2)]=ne(m)}),el(["gg","GG"],function(m,P,V,G){P[G]=v.parseTwoDigitYear(m)}),tt("Q",0,"Qo","quarter"),de("quarter","Q"),fe("quarter",7),Le("Q",Dn),Un("Q",function(m,P){P[1]=3*(ne(m)-1)}),tt("D",["DD",2],"Do","date"),de("date","D"),fe("date",9),Le("D",Zt),Le("DD",Zt,ti),Le("Do",function(m,P){return m?P._dayOfMonthOrdinalParse||P._ordinalParse:P._dayOfMonthOrdinalParseLenient}),Un(["D","DD"],2),Un("Do",function(m,P){P[2]=ne(m.match(Zt)[0])});var ic=Li("Date",!0);tt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),fe("dayOfYear",4),Le("DDD",mn),Le("DDDD",Ss),Un(["DDD","DDDD"],function(m,P,V){V._dayOfYear=ne(m)}),tt("m",["mm",2],0,"minute"),de("minute","m"),fe("minute",14),Le("m",Zt),Le("mm",Zt,ti),Un(["m","mm"],4);var hf=Li("Minutes",!1);tt("s",["ss",2],0,"second"),de("second","s"),fe("second",15),Le("s",Zt),Le("ss",Zt,ti),Un(["s","ss"],5);var js,ff=Li("Seconds",!1);for(tt("S",0,0,function(){return~~(this.millisecond()/100)}),tt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),tt(0,["SSS",3],0,"millisecond"),tt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),tt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),tt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),tt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),tt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),tt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),fe("millisecond",16),Le("S",mn,Dn),Le("SS",mn,ti),Le("SSS",mn,Ss),js="SSSS";js.length<=9;js+="S")Le(js,kn);function Ju(m,P){P[6]=ne(1e3*("0."+m))}for(js="S";js.length<=9;js+="S")Un(js,Ju);var tg=Li("Milliseconds",!1);tt("z",0,0,"zoneAbbr"),tt("zz",0,0,"zoneName");var We=ce.prototype;function pf(m){return m}We.add=tf,We.calendar=function lo(m,P){var V=m||ri(),G=Uu(V,this).startOf("day"),te=v.calendarFormat(this,G)||"sameElse",xe=P&&(Ae(P[te])?P[te].call(this,V):P[te]);return this.format(xe||this.localeData().calendar(te,this,ri(V)))},We.clone=function nf(){return new ce(this)},We.diff=function q_(m,P,V){var G,te,xe;if(!this.isValid())return NaN;if(!(G=Uu(m,this)).isValid())return NaN;switch(te=6e4*(G.utcOffset()-this.utcOffset()),P=ue(P)){case"year":xe=Jl(this,G)/12;break;case"month":xe=Jl(this,G);break;case"quarter":xe=Jl(this,G)/3;break;case"second":xe=(this-G)/1e3;break;case"minute":xe=(this-G)/6e4;break;case"hour":xe=(this-G)/36e5;break;case"day":xe=(this-G-te)/864e5;break;case"week":xe=(this-G-te)/6048e5;break;default:xe=this-G}return V?xe:ee(xe)},We.endOf=function D1(m){return void 0===(m=ue(m))||"millisecond"===m?this:("date"===m&&(m="day"),this.startOf(m).add(1,"isoWeek"===m?"week":m).subtract(1,"ms"))},We.format=function Xt(m){m||(m=this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var P=Rt(this,m);return this.localeData().postformat(P)},We.from=function Ie(m,P){return this.isValid()&&(q(m)&&m.isValid()||ri(m).isValid())?br({to:this,from:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},We.fromNow=function Oe(m){return this.from(ri(),m)},We.to=function wi(m,P){return this.isValid()&&(q(m)&&m.isValid()||ri(m).isValid())?br({from:this,to:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},We.toNow=function sf(m){return this.to(ri(),m)},We.get=function s1(m){return Ae(this[m=ue(m)])?this[m]():this},We.invalidAt=function J_(){return j(this).overflow},We.isAfter=function qu(m,P){var V=q(m)?m:ri(m);return!(!this.isValid()||!V.isValid())&&("millisecond"===(P=ue(p(P)?"millisecond":P))?this.valueOf()>V.valueOf():V.valueOf()9999?Rt(V,P?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ae(Date.prototype.toISOString)?P?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Rt(V,"Z")):Rt(V,P?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},We.inspect=function He(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var m="moment",P="";this.isLocal()||(m=0===this.utcOffset()?"moment.utc":"moment.parseZone",P="Z");var V="["+m+'("]',G=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(V+G+"-MM-DD[T]HH:mm:ss.SSS"+P+'[")]')},We.toJSON=function af(){return this.isValid()?this.toISOString():null},We.toString=function K_(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},We.unix=function k1(){return Math.floor(this.valueOf()/1e3)},We.valueOf=function Q_(){return this._d.valueOf()-6e4*(this._offset||0)},We.creationData=function lf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},We.year=Uh,We.isLeapYear=function r1(){return xu(this.year())},We.weekYear=function X_(m){return nc.call(this,m,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},We.isoWeekYear=function Zu(m){return nc.call(this,m,this.isoWeek(),this.isoWeekday(),1,4)},We.quarter=We.quarters=function uf(m){return null==m?Math.ceil((this.month()+1)/3):this.month(3*(m-1)+this.month()%3)},We.month=Lu,We.daysInMonth=function x_(){return wt(this.year(),this.month())},We.week=We.weeks=function cn(m){var P=this.localeData().week(this);return null==m?P:this.add(7*(m-P),"d")},We.isoWeek=We.isoWeeks=function $l(m){var P=Wl(this,1,4).week;return null==m?P:this.add(7*(m-P),"d")},We.weeksInYear=function cf(){var m=this.localeData()._week;return Hi(this.year(),m.dow,m.doy)},We.isoWeeksInYear=function Qu(){return Hi(this.year(),1,4)},We.date=ic,We.day=We.days=function Pt(m){if(!this.isValid())return null!=m?this:NaN;var P=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=m?(m=function Iu(m,P){return"string"!=typeof m?m:isNaN(m)?"number"==typeof(m=P.weekdaysParse(m))?m:null:parseInt(m,10)}(m,this.localeData()),this.add(m-P,"d")):P},We.weekday=function I_(m){if(!this.isValid())return null!=m?this:NaN;var P=(this.day()+7-this.localeData()._week.dow)%7;return null==m?P:this.add(m-P,"d")},We.isoWeekday=function Zh(m){if(!this.isValid())return null!=m?this:NaN;if(null!=m){var P=function Ou(m,P){return"string"==typeof m?P.weekdaysParse(m)%7||7:isNaN(m)?null:m}(m,this.localeData());return this.day(this.day()%7?P:P-7)}return this.day()||7},We.dayOfYear=function df(m){var P=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==m?P:this.add(m-P,"d")},We.hour=We.hours=Oo,We.minute=We.minutes=hf,We.second=We.seconds=ff,We.millisecond=We.milliseconds=tg,We.utcOffset=function Xh(m,P,V){var te,G=this._offset||0;if(!this.isValid())return null!=m?this:NaN;if(null!=m){if("string"==typeof m){if(null===(m=ju(sn,m)))return this}else Math.abs(m)<16&&!V&&(m*=60);return!this._isUTC&&P&&(te=Zl(this)),this._offset=m,this._isUTC=!0,null!=te&&this.add(te,"m"),G!==m&&(!P||this._changeInProgress?yr(this,br(m-G,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,v.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?G:Zl(this)},We.utc=function zu(m){return this.utcOffset(0,m)},We.local=function B_(m){return this._isUTC&&(this.utcOffset(0,m),this._isUTC=!1,m&&this.subtract(Zl(this),"m")),this},We.parseZone=function Gr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var m=ju(S_,this._i);null!=m?this.utcOffset(m):this.utcOffset(0,!0)}return this},We.hasAlignedHourOffset=function Wu(m){return!!this.isValid()&&(m=m?ri(m).utcOffset():0,(this.utcOffset()-m)%60==0)},We.isDST=function j_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},We.isLocal=function U_(){return!!this.isValid()&&!this._isUTC},We.isUtcOffset=function w1(){return!!this.isValid()&&this._isUTC},We.isUtc=ai,We.isUTC=ai,We.zoneAbbr=function ng(){return this._isUTC?"UTC":""},We.zoneName=function or(){return this._isUTC?"Coordinated Universal Time":""},We.dates=J("dates accessor is deprecated. Use date instead.",ic),We.months=J("months accessor is deprecated. Use month instead",Lu),We.years=J("years accessor is deprecated. Use year instead",Uh),We.zone=J("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function V_(m,P){return null!=m?("string"!=typeof m&&(m=-m),this.utcOffset(m,P),this):-this.utcOffset()}),We.isDSTShifted=J("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function $u(){if(!p(this._isDSTShifted))return this._isDSTShifted;var m={};if(Z(m,this),(m=N_(m))._a){var P=m._isUTC?L(m._a):ri(m._a);this._isDSTShifted=this.isValid()&&oe(m._a,P.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var xn=st.prototype;function rc(m,P,V,G){var te=Er(),xe=L().set(G,P);return te[V](xe,m)}function mf(m,P,V){if(y(m)&&(P=m,m=void 0),m=m||"",null!=P)return rc(m,P,V,"month");var G,te=[];for(G=0;G<12;G++)te[G]=rc(m,G,V,"month");return te}function Xu(m,P,V,G){"boolean"==typeof m?(y(P)&&(V=P,P=void 0),P=P||""):(V=P=m,m=!1,y(P)&&(V=P,P=void 0),P=P||"");var te=Er(),xe=m?te._week.dow:0;if(null!=V)return rc(P,(V+xe)%7,G,"day");var Ve,Ft=[];for(Ve=0;Ve<7;Ve++)Ft[Ve]=rc(P,(Ve+xe)%7,G,"day");return Ft}xn.calendar=function ln(m,P,V){var G=this._calendar[m]||this._calendar.sameElse;return Ae(G)?G.call(P,V):G},xn.longDateFormat=function Mn(m){var P=this._longDateFormat[m],V=this._longDateFormat[m.toUpperCase()];return P||!V?P:(this._longDateFormat[m]=V.replace(/MMMM|MM|DD|dddd/g,function(G){return G.slice(1)}),this._longDateFormat[m])},xn.invalidDate=function je(){return this._invalidDate},xn.ordinal=function Xe(m){return this._ordinal.replace("%d",m)},xn.preparse=pf,xn.postformat=pf,xn.relativeTime=function z(m,P,V,G){var te=this._relativeTime[V];return Ae(te)?te(m,P,V,G):te.replace(/%d/i,m)},xn.pastFuture=function se(m,P){var V=this._relativeTime[m>0?"future":"past"];return Ae(V)?V(P):V.replace(/%s/i,P)},xn.set=function Ne(m){var P,V;for(V in m)Ae(P=m[V])?this[V]=P:this["_"+V]=P;this._config=m,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function zh(m,P){return m?f(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||nl).test(P)?"format":"standalone"][m.month()]:f(this._months)?this._months:this._months.standalone},xn.monthsShort=function T_(m,P){return m?f(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[nl.test(P)?"format":"standalone"][m.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function Ul(m,P,V){var G,te,xe;if(this._monthsParseExact)return $h.call(this,m,P,V);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),G=0;G<12;G++){if(te=L([2e3,G]),V&&!this._longMonthsParse[G]&&(this._longMonthsParse[G]=new RegExp("^"+this.months(te,"").replace(".","")+"$","i"),this._shortMonthsParse[G]=new RegExp("^"+this.monthsShort(te,"").replace(".","")+"$","i")),!V&&!this._monthsParse[G]&&(xe="^"+this.months(te,"")+"|^"+this.monthsShort(te,""),this._monthsParse[G]=new RegExp(xe.replace(".",""),"i")),V&&"MMMM"===P&&this._longMonthsParse[G].test(m))return G;if(V&&"MMM"===P&&this._shortMonthsParse[G].test(m))return G;if(!V&&this._monthsParse[G].test(m))return G}},xn.monthsRegex=function zr(m){return this._monthsParseExact?(S(this,"_monthsRegex")||Pu.call(this),m?this._monthsStrictRegex:this._monthsRegex):(S(this,"_monthsRegex")||(this._monthsRegex=L_),this._monthsStrictRegex&&m?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function Eu(m){return this._monthsParseExact?(S(this,"_monthsRegex")||Pu.call(this),m?this._monthsShortStrictRegex:this._monthsShortRegex):(S(this,"_monthsShortRegex")||(this._monthsShortRegex=_t),this._monthsShortStrictRegex&&m?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function Tn(m){return Wl(m,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function da(){return this._week.doy},xn.firstDayOfWeek=function c1(){return this._week.dow},xn.weekdays=function Ns(m,P){return m?f(this._weekdays)?this._weekdays[m.day()]:this._weekdays[this._weekdays.isFormat.test(P)?"format":"standalone"][m.day()]:f(this._weekdays)?this._weekdays:this._weekdays.standalone},xn.weekdaysMin=function Au(m){return m?this._weekdaysMin[m.day()]:this._weekdaysMin},xn.weekdaysShort=function P_(m){return m?this._weekdaysShort[m.day()]:this._weekdaysShort},xn.weekdaysParse=function Kh(m,P,V){var G,te,xe;if(this._weekdaysParseExact)return qh.call(this,m,P,V);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),G=0;G<7;G++){if(te=L([2e3,1]).day(G),V&&!this._fullWeekdaysParse[G]&&(this._fullWeekdaysParse[G]=new RegExp("^"+this.weekdays(te,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[G]=new RegExp("^"+this.weekdaysShort(te,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[G]=new RegExp("^"+this.weekdaysMin(te,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[G]||(xe="^"+this.weekdays(te,"")+"|^"+this.weekdaysShort(te,"")+"|^"+this.weekdaysMin(te,""),this._weekdaysParse[G]=new RegExp(xe.replace(".",""),"i")),V&&"dddd"===P&&this._fullWeekdaysParse[G].test(m))return G;if(V&&"ddd"===P&&this._shortWeekdaysParse[G].test(m))return G;if(V&&"dd"===P&&this._minWeekdaysParse[G].test(m))return G;if(!V&&this._weekdaysParse[G].test(m))return G}},xn.weekdaysRegex=function Ki(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysStrictRegex:this._weekdaysRegex):(S(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&m?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function nr(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(S(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gn),this._weekdaysShortStrictRegex&&m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function fa(m){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||rr.call(this),m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(S(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ir),this._weekdaysMinStrictRegex&&m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function Lr(m){return"p"===(m+"").toLowerCase().charAt(0)},xn.meridiem=function Ei(m,P,V){return m>11?V?"pm":"PM":V?"am":"AM"},$r("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(m){var P=m%10;return m+(1===ne(m%100/10)?"th":1===P?"st":2===P?"nd":3===P?"rd":"th")}}),v.lang=J("moment.lang is deprecated. Use moment.locale instead.",$r),v.langData=J("moment.langData is deprecated. Use moment.localeData instead.",Er);var Us=Math.abs;function ya(m,P,V,G){var te=br(P,V);return m._milliseconds+=G*te._milliseconds,m._days+=G*te._days,m._months+=G*te._months,m._bubble()}function Ma(m){return m<0?Math.floor(m):Math.ceil(m)}function gf(m){return 4800*m/146097}function nd(m){return 146097*m/4800}function as(m){return function(){return this.as(m)}}var vf=as("ms"),bf=as("s"),lc=as("m"),yf=as("h"),Mf=as("d"),wa=as("w"),sg=as("M"),Ca=as("y");function Sa(m){return function(){return this.isValid()?this._data[m]:NaN}}var wf=Sa("milliseconds"),Cf=Sa("seconds"),og=Sa("minutes"),Ts=Sa("hours"),ag=Sa("days"),ol=Sa("months"),rd=Sa("years");var ls=Math.round,Pr={ss:44,s:45,m:45,h:22,d:26,M:11};function lg(m,P,V,G,te){return te.relativeTime(P||1,!!V,m,G)}var od=Math.abs;function zs(m){return(m>0)-(m<0)||+m}function uo(){if(!this.isValid())return this.localeData().invalidDate();var G,te,m=od(this._milliseconds)/1e3,P=od(this._days),V=od(this._months);G=ee(m/60),te=ee(G/60),m%=60,G%=60;var Ve=ee(V/12),Ft=V%=12,Ht=P,Nn=te,Vi=G,xs=m?m.toFixed(3).replace(/\.?0+$/,""):"",Da=this.asSeconds();if(!Da)return"P0D";var ad=Da<0?"-":"",No=zs(this._months)!==zs(Da)?"-":"",L1=zs(this._days)!==zs(Da)?"-":"",ld=zs(this._milliseconds)!==zs(Da)?"-":"";return ad+"P"+(Ve?No+Ve+"Y":"")+(Ft?No+Ft+"M":"")+(Ht?L1+Ht+"D":"")+(Nn||Vi||xs?"T":"")+(Nn?ld+Nn+"H":"")+(Vi?ld+Vi+"M":"")+(xs?ld+xs+"S":"")}var nn=Vu.prototype;return nn.isValid=function y1(){return this._isValid},nn.abs=function co(){var m=this._data;return this._milliseconds=Us(this._milliseconds),this._days=Us(this._days),this._months=Us(this._months),m.milliseconds=Us(m.milliseconds),m.seconds=Us(m.seconds),m.minutes=Us(m.minutes),m.hours=Us(m.hours),m.months=Us(m.months),m.years=Us(m.years),this},nn.add=function ig(m,P){return ya(this,m,P,1)},nn.subtract=function rg(m,P){return ya(this,m,P,-1)},nn.as=function T1(m){if(!this.isValid())return NaN;var P,V,G=this._milliseconds;if("month"===(m=ue(m))||"year"===m)return V=this._months+gf(P=this._days+G/864e5),"month"===m?V:V/12;switch(P=this._days+Math.round(nd(this._months)),m){case"week":return P/7+G/6048e5;case"day":return P+G/864e5;case"hour":return 24*P+G/36e5;case"minute":return 1440*P+G/6e4;case"second":return 86400*P+G/1e3;case"millisecond":return Math.floor(864e5*P)+G;default:throw new Error("Unknown unit "+m)}},nn.asMilliseconds=vf,nn.asSeconds=bf,nn.asMinutes=lc,nn.asHours=yf,nn.asDays=Mf,nn.asWeeks=wa,nn.asMonths=sg,nn.asYears=Ca,nn.valueOf=function x1(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ne(this._months/12):NaN},nn._bubble=function td(){var te,xe,Ve,Ft,Ht,m=this._milliseconds,P=this._days,V=this._months,G=this._data;return m>=0&&P>=0&&V>=0||m<=0&&P<=0&&V<=0||(m+=864e5*Ma(nd(V)+P),P=0,V=0),G.milliseconds=m%1e3,te=ee(m/1e3),G.seconds=te%60,xe=ee(te/60),G.minutes=xe%60,Ve=ee(xe/60),G.hours=Ve%24,P+=ee(Ve/24),V+=Ht=ee(gf(P)),P-=Ma(nd(Ht)),Ft=ee(V/12),V%=12,G.days=P,G.months=V,G.years=Ft,this},nn.clone=function id(){return br(this)},nn.get=function cc(m){return m=ue(m),this.isValid()?this[m+"s"]():NaN},nn.milliseconds=wf,nn.seconds=Cf,nn.minutes=og,nn.hours=Ts,nn.days=ag,nn.weeks=function sd(){return ee(this.days()/7)},nn.months=ol,nn.years=rd,nn.humanize=function Tf(m){if(!this.isValid())return this.localeData().invalidDate();var P=this.localeData(),V=function Sf(m,P,V){var G=br(m).abs(),te=ls(G.as("s")),xe=ls(G.as("m")),Ve=ls(G.as("h")),Ft=ls(G.as("d")),Ht=ls(G.as("M")),Nn=ls(G.as("y")),Vi=te<=Pr.ss&&["s",te]||te0,Vi[4]=V,lg.apply(null,Vi)}(this,!m,P);return m&&(V=P.pastFuture(+this,V)),P.postformat(V)},nn.toISOString=uo,nn.toString=uo,nn.toJSON=uo,nn.locale=ga,nn.localeData=Xl,nn.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),nn.lang=os,tt("X",0,0,"unix"),tt("x",0,0,"valueOf"),Le("x",ca),Le("X",/[+-]?\d+(\.\d{1,3})?/),Un("X",function(m,P,V){V._d=new Date(1e3*parseFloat(m,10))}),Un("x",function(m,P,V){V._d=new Date(ne(m))}),v.version="2.22.2",function u(m){I=m}(ri),v.fn=We,v.min=function g1(){return H_("isBefore",[].slice.call(arguments,0))},v.max=function v1(){return H_("isAfter",[].slice.call(arguments,0))},v.now=function(){return Date.now?Date.now():+new Date},v.utc=L,v.unix=function si(m){return ri(1e3*m)},v.months=function sc(m,P){return mf(m,P,"months")},v.isDate=w,v.locale=$r,v.invalid=re,v.duration=br,v.isMoment=q,v.weekdays=function ac(m,P,V){return Xu(m,P,V,"weekdays")},v.parseZone=function ba(){return ri.apply(null,arguments).parseZone()},v.localeData=Er,v.isDuration=Hs,v.monthsShort=function oc(m,P){return mf(m,P,"monthsShort")},v.weekdaysMin=function _f(m,P,V){return Xu(m,P,V,"weekdaysMin")},v.defineLocale=Pi,v.updateLocale=function rl(m,P){if(null!=P){var V,G,te=ii;null!=(G=ma(m))&&(te=G._config),(V=new st(P=et(te,P))).parentLocale=Qn[m],Qn[m]=V,$r(m)}else null!=Qn[m]&&(null!=Qn[m].parentLocale?Qn[m]=Qn[m].parentLocale:null!=Qn[m]&&delete Qn[m]);return Qn[m]},v.locales=function is(){return rt(Qn)},v.weekdaysShort=function ed(m,P,V){return Xu(m,P,V,"weekdaysShort")},v.normalizeUnits=ue,v.relativeTimeRounding=function Df(m){return void 0===m?ls:"function"==typeof m&&(ls=m,!0)},v.relativeTimeThreshold=function kf(m,P){return void 0!==Pr[m]&&(void 0===P?Pr[m]:(Pr[m]=P,"s"===m&&(Pr.ss=P-1),!0))},v.calendarFormat=function W_(m,P){var V=m.diff(P,"days",!0);return V<-6?"sameElse":V<-1?"lastWeek":V<0?"lastDay":V<1?"sameDay":V<2?"nextDay":V<7?"nextWeek":"sameElse"},v.prototype=We,v.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},v}()},6700:(le,me,F)=>{var I={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function v(f){var h=u(f);return F(h)}function u(f){if(!F.o(I,f)){var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}return I[f]}v.keys=function(){return Object.keys(I)},v.resolve=u,le.exports=v,v.id=6700},6297:(le,me,F)=>{var I={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function v(u){if(!F.o(I,u))return Promise.resolve().then(()=>{var M=new Error("Cannot find module '"+u+"'");throw M.code="MODULE_NOT_FOUND",M});var f=I[u],h=f[0];return F.e(f[1]).then(()=>F.t(h,19))}v.keys=()=>Object.keys(I),v.id=6297,le.exports=v}},le=>{le(le.s=9249)}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/polyfills.30bbe27e0ff95dbc.js b/cmd/skywire-visor/static/polyfills.30bbe27e0ff95dbc.js new file mode 100644 index 0000000000..22c0e3e7a0 --- /dev/null +++ b/cmd/skywire-visor/static/polyfills.30bbe27e0ff95dbc.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[429],{7435:(a,g,e)=>{"use strict";e(7795),e(8583)},8583:()=>{"use strict";!function(t){const i=t.performance;function v(se){i&&i.mark&&i.mark(se)}function c(se,H){i&&i.measure&&i.measure(se,H)}v("Zone");const E=t.__Zone_symbol_prefix||"__zone_symbol__";function P(se){return E+se}const I=!0===t[P("forceDuplicateZoneCheck")];if(t.Zone){if(I||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let A=(()=>{class se{constructor(n,f){this._parent=n,this._name=f?f.name||"unnamed":"",this._properties=f&&f.properties||{},this._zoneDelegate=new z(this,this._parent&&this._parent._zoneDelegate,f)}static assertZonePatched(){if(t.Promise!==Ie.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=se.current;for(;n.parent;)n=n.parent;return n}static get current(){return he.zone}static get currentTask(){return je}static __load_patch(n,f,V=!1){if(Ie.hasOwnProperty(n)){if(!V&&I)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){const J="Zone:"+n;v(J),Ie[n]=f(t,se,He),c(J,J)}}get parent(){return this._parent}get name(){return this._name}get(n){const f=this.getZoneWith(n);if(f)return f._properties[n]}getZoneWith(n){let f=this;for(;f;){if(f._properties.hasOwnProperty(n))return f;f=f._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,f){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const V=this._zoneDelegate.intercept(this,n,f),J=this;return function(){return J.runGuarded(V,this,arguments,f)}}run(n,f,V,J){he={parent:he,zone:this};try{return this._zoneDelegate.invoke(this,n,f,V,J)}finally{he=he.parent}}runGuarded(n,f=null,V,J){he={parent:he,zone:this};try{try{return this._zoneDelegate.invoke(this,n,f,V,J)}catch(we){if(this._zoneDelegate.handleError(this,we))throw we}}finally{he=he.parent}}runTask(n,f,V){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||ve).name+"; Execution: "+this.name+")");if(n.state===ue&&(n.type===Q||n.type===ie))return;const J=n.state!=Pe;J&&n._transitionTo(Pe,re),n.runCount++;const we=je;je=n,he={parent:he,zone:this};try{n.type==ie&&n.data&&!n.data.isPeriodic&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,f,V)}catch(b){if(this._zoneDelegate.handleError(this,b))throw b}}finally{n.state!==ue&&n.state!==Re&&(n.type==Q||n.data&&n.data.isPeriodic?J&&n._transitionTo(re,Pe):(n.runCount=0,this._updateTaskCount(n,-1),J&&n._transitionTo(ue,Pe,ue))),he=he.parent,je=we}}scheduleTask(n){if(n.zone&&n.zone!==this){let V=this;for(;V;){if(V===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);V=V.parent}}n._transitionTo(ke,ue);const f=[];n._zoneDelegates=f,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(V){throw n._transitionTo(Re,ke,ue),this._zoneDelegate.handleError(this,V),V}return n._zoneDelegates===f&&this._updateTaskCount(n,1),n.state==ke&&n._transitionTo(re,ke),n}scheduleMicroTask(n,f,V,J){return this.scheduleTask(new F(K,n,f,V,J,void 0))}scheduleMacroTask(n,f,V,J,we){return this.scheduleTask(new F(ie,n,f,V,J,we))}scheduleEventTask(n,f,V,J,we){return this.scheduleTask(new F(Q,n,f,V,J,we))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||ve).name+"; Execution: "+this.name+")");n._transitionTo(ce,re,Pe);try{this._zoneDelegate.cancelTask(this,n)}catch(f){throw n._transitionTo(Re,ce),this._zoneDelegate.handleError(this,f),f}return this._updateTaskCount(n,-1),n._transitionTo(ue,ce),n.runCount=0,n}_updateTaskCount(n,f){const V=n._zoneDelegates;-1==f&&(n._zoneDelegates=null);for(let J=0;Jse.hasTask(n,f),onScheduleTask:(se,H,n,f)=>se.scheduleTask(n,f),onInvokeTask:(se,H,n,f,V,J)=>se.invokeTask(n,f,V,J),onCancelTask:(se,H,n,f)=>se.cancelTask(n,f)};class z{constructor(H,n,f){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=H,this._parentDelegate=n,this._forkZS=f&&(f&&f.onFork?f:n._forkZS),this._forkDlgt=f&&(f.onFork?n:n._forkDlgt),this._forkCurrZone=f&&(f.onFork?this.zone:n._forkCurrZone),this._interceptZS=f&&(f.onIntercept?f:n._interceptZS),this._interceptDlgt=f&&(f.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=f&&(f.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=f&&(f.onInvoke?f:n._invokeZS),this._invokeDlgt=f&&(f.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=f&&(f.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=f&&(f.onHandleError?f:n._handleErrorZS),this._handleErrorDlgt=f&&(f.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=f&&(f.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=f&&(f.onScheduleTask?f:n._scheduleTaskZS),this._scheduleTaskDlgt=f&&(f.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=f&&(f.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=f&&(f.onInvokeTask?f:n._invokeTaskZS),this._invokeTaskDlgt=f&&(f.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=f&&(f.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=f&&(f.onCancelTask?f:n._cancelTaskZS),this._cancelTaskDlgt=f&&(f.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=f&&(f.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const V=f&&f.onHasTask;(V||n&&n._hasTaskZS)&&(this._hasTaskZS=V?f:W,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=H,f.onScheduleTask||(this._scheduleTaskZS=W,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),f.onInvokeTask||(this._invokeTaskZS=W,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),f.onCancelTask||(this._cancelTaskZS=W,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}fork(H,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,H,n):new A(H,n)}intercept(H,n,f){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,H,n,f):n}invoke(H,n,f,V,J){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,H,n,f,V,J):n.apply(f,V)}handleError(H,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,H,n)}scheduleTask(H,n){let f=n;if(this._scheduleTaskZS)this._hasTaskZS&&f._zoneDelegates.push(this._hasTaskDlgtOwner),f=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,H,n),f||(f=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=K)throw new Error("Task is missing scheduleFn.");Z(n)}return f}invokeTask(H,n,f,V){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,H,n,f,V):n.callback.apply(f,V)}cancelTask(H,n){let f;if(this._cancelTaskZS)f=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,H,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");f=n.cancelFn(n)}return f}hasTask(H,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,H,n)}catch(f){this.handleError(H,f)}}_updateTaskCount(H,n){const f=this._taskCounts,V=f[H],J=f[H]=V+n;if(J<0)throw new Error("More tasks executed then were scheduled.");0!=V&&0!=J||this.hasTask(this.zone,{microTask:f.microTask>0,macroTask:f.macroTask>0,eventTask:f.eventTask>0,change:H})}}class F{constructor(H,n,f,V,J,we){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=H,this.source=n,this.data=V,this.scheduleFn=J,this.cancelFn=we,!f)throw new Error("callback is not defined");this.callback=f;const b=this;this.invoke=H===Q&&V&&V.useG?F.invokeTask:function(){return F.invokeTask.call(t,b,this,arguments)}}static invokeTask(H,n,f){H||(H=this),Le++;try{return H.runCount++,H.zone.runTask(H,n,f)}finally{1==Le&&ae(),Le--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(ue,ke)}_transitionTo(H,n,f){if(this._state!==n&&this._state!==f)throw new Error(`${this.type} '${this.source}': can not transition to '${H}', expecting state '${n}'${f?" or '"+f+"'":""}, was '${this._state}'.`);this._state=H,H==ue&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const ne=P("setTimeout"),te=P("Promise"),oe=P("then");let G,me=[],de=!1;function Z(se){if(0===Le&&0===me.length)if(G||t[te]&&(G=t[te].resolve(0)),G){let H=G[oe];H||(H=G.then),H.call(G,ae)}else t[ne](ae,0);se&&me.push(se)}function ae(){if(!de){for(de=!0;me.length;){const se=me;me=[];for(let H=0;Hhe,onUnhandledError:ye,microtaskDrainDone:ye,scheduleMicroTask:Z,showUncaughtError:()=>!A[P("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ye,patchMethod:()=>ye,bindArguments:()=>[],patchThen:()=>ye,patchMacroTask:()=>ye,patchEventPrototype:()=>ye,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ye,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ye,wrapWithCurrentZone:()=>ye,filterProperties:()=>[],attachOriginToPatched:()=>ye,_redefineProperty:()=>ye,patchCallbacks:()=>ye};let he={parent:null,zone:new A(null,null)},je=null,Le=0;function ye(){}c("Zone","Zone"),t.Zone=A}(typeof window<"u"&&window||typeof self<"u"&&self||global);const g=Object.getOwnPropertyDescriptor,e=Object.defineProperty,r=Object.getPrototypeOf,o=Object.create,l=Array.prototype.slice,u="addEventListener",s="removeEventListener",d=Zone.__symbol__(u),y=Zone.__symbol__(s),p="true",m="false",T=Zone.__symbol__("");function C(t,i){return Zone.current.wrap(t,i)}function M(t,i,v,c,E){return Zone.current.scheduleMacroTask(t,i,v,c,E)}const O=Zone.__symbol__,U=typeof window<"u",D=U?window:void 0,k=U&&D||"object"==typeof self&&self||global,w=[null];function j(t,i){for(let v=t.length-1;v>=0;v--)"function"==typeof t[v]&&(t[v]=C(t[v],i+"_"+v));return t}function S(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const B=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,_=!("nw"in k)&&typeof k.process<"u"&&"[object process]"==={}.toString.call(k.process),Te=!_&&!B&&!(!U||!D.HTMLElement),De=typeof k.process<"u"&&"[object process]"==={}.toString.call(k.process)&&!B&&!(!U||!D.HTMLElement),Se={},Ne=function(t){if(!(t=t||k.event))return;let i=Se[t.type];i||(i=Se[t.type]=O("ON_PROPERTY"+t.type));const v=this||t.target||k,c=v[i];let E;if(Te&&v===D&&"error"===t.type){const P=t;E=c&&c.call(this,P.message,P.filename,P.lineno,P.colno,P.error),!0===E&&t.preventDefault()}else E=c&&c.apply(this,arguments),null!=E&&!E&&t.preventDefault();return E};function Ze(t,i,v){let c=g(t,i);if(!c&&v&&g(v,i)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const E=O("on"+i+"patched");if(t.hasOwnProperty(E)&&t[E])return;delete c.writable,delete c.value;const P=c.get,I=c.set,A=i.substr(2);let W=Se[A];W||(W=Se[A]=O("ON_PROPERTY"+A)),c.set=function(z){let F=this;!F&&t===k&&(F=k),F&&(F[W]&&F.removeEventListener(A,Ne),I&&I.apply(F,w),"function"==typeof z?(F[W]=z,F.addEventListener(A,Ne,!1)):F[W]=null)},c.get=function(){let z=this;if(!z&&t===k&&(z=k),!z)return null;const F=z[W];if(F)return F;if(P){let ne=P&&P.call(this);if(ne)return c.set.call(this,ne),"function"==typeof z.removeAttribute&&z.removeAttribute(i),ne}return null},e(t,i,c),t[E]=!0}function Ge(t,i,v){if(i)for(let c=0;cfunction(I,A){const W=v(I,A);return W.cbIdx>=0&&"function"==typeof A[W.cbIdx]?M(W.name,A[W.cbIdx],W,E):P.apply(I,A)})}function be(t,i){t[O("OriginalDelegate")]=i}let Ke=!1,Je=!1;function gt(){if(Ke)return Je;Ke=!0;try{const t=D.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(Je=!0)}catch{}return Je}Zone.__load_patch("ZoneAwarePromise",(t,i,v)=>{const c=Object.getOwnPropertyDescriptor,E=Object.defineProperty,I=v.symbol,A=[],W=!0===t[I("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],z=I("Promise"),F=I("then");v.onUnhandledError=b=>{if(v.showUncaughtError()){const h=b&&b.rejection;h?console.error("Unhandled Promise rejection:",h instanceof Error?h.message:h,"; Zone:",b.zone.name,"; Task:",b.task&&b.task.source,"; Value:",h,h instanceof Error?h.stack:void 0):console.error(b)}},v.microtaskDrainDone=()=>{for(;A.length;){const b=A.shift();try{b.zone.runGuarded(()=>{throw b.throwOriginal?b.rejection:b})}catch(h){oe(h)}}};const te=I("unhandledPromiseRejectionHandler");function oe(b){v.onUnhandledError(b);try{const h=i[te];"function"==typeof h&&h.call(this,b)}catch{}}function me(b){return b&&b.then}function de(b){return b}function G(b){return n.reject(b)}const Z=I("state"),ae=I("value"),ve=I("finally"),ue=I("parentPromiseValue"),ke=I("parentPromiseState"),Pe=null,Re=!1;function ie(b,h){return x=>{try{he(b,h,x)}catch(N){he(b,!1,N)}}}const He=I("currentTaskTrace");function he(b,h,x){const N=function(){let b=!1;return function(x){return function(){b||(b=!0,x.apply(null,arguments))}}}();if(b===x)throw new TypeError("Promise resolved with itself");if(b[Z]===Pe){let Y=null;try{("object"==typeof x||"function"==typeof x)&&(Y=x&&x.then)}catch(q){return N(()=>{he(b,!1,q)})(),b}if(h!==Re&&x instanceof n&&x.hasOwnProperty(Z)&&x.hasOwnProperty(ae)&&x[Z]!==Pe)Le(x),he(b,x[Z],x[ae]);else if(h!==Re&&"function"==typeof Y)try{Y.call(x,N(ie(b,h)),N(ie(b,!1)))}catch(q){N(()=>{he(b,!1,q)})()}else{b[Z]=h;const q=b[ae];if(b[ae]=x,b[ve]===ve&&!0===h&&(b[Z]=b[ke],b[ae]=b[ue]),h===Re&&x instanceof Error){const $=i.currentTask&&i.currentTask.data&&i.currentTask.data.__creationTrace__;$&&E(x,He,{configurable:!0,enumerable:!1,writable:!0,value:$})}for(let $=0;${try{const X=b[ae],ee=!!x&&ve===x[ve];ee&&(x[ue]=X,x[ke]=q);const le=h.run($,void 0,ee&&$!==G&&$!==de?[]:[X]);he(x,!0,le)}catch(X){he(x,!1,X)}},x)}const H=function(){};class n{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(h){return he(new this(null),!0,h)}static reject(h){return he(new this(null),Re,h)}static race(h){let x,N,Y=new this((X,ee)=>{x=X,N=ee});function q(X){x(X)}function $(X){N(X)}for(let X of h)me(X)||(X=this.resolve(X)),X.then(q,$);return Y}static all(h){return n.allWithCallback(h)}static allSettled(h){return(this&&this.prototype instanceof n?this:n).allWithCallback(h,{thenCallback:N=>({status:"fulfilled",value:N}),errorCallback:N=>({status:"rejected",reason:N})})}static allWithCallback(h,x){let N,Y,q=new this((le,Ee)=>{N=le,Y=Ee}),$=2,X=0;const ee=[];for(let le of h){me(le)||(le=this.resolve(le));const Ee=X;try{le.then(Me=>{ee[Ee]=x?x.thenCallback(Me):Me,$--,0===$&&N(ee)},Me=>{x?(ee[Ee]=x.errorCallback(Me),$--,0===$&&N(ee)):Y(Me)})}catch(Me){Y(Me)}$++,X++}return $-=2,0===$&&N(ee),q}constructor(h){const x=this;if(!(x instanceof n))throw new Error("Must be an instanceof Promise.");x[Z]=Pe,x[ae]=[];try{h&&h(ie(x,!0),ie(x,Re))}catch(N){he(x,!1,N)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return n}then(h,x){let N=this.constructor[Symbol.species];(!N||"function"!=typeof N)&&(N=this.constructor||n);const Y=new N(H),q=i.current;return this[Z]==Pe?this[ae].push(q,Y,h,x):ye(this,q,Y,h,x),Y}catch(h){return this.then(null,h)}finally(h){let x=this.constructor[Symbol.species];(!x||"function"!=typeof x)&&(x=n);const N=new x(H);N[ve]=ve;const Y=i.current;return this[Z]==Pe?this[ae].push(Y,N,h,h):ye(this,Y,N,h,h),N}}n.resolve=n.resolve,n.reject=n.reject,n.race=n.race,n.all=n.all;const f=t[z]=t.Promise;t.Promise=n;const V=I("thenPatched");function J(b){const h=b.prototype,x=c(h,"then");if(x&&(!1===x.writable||!x.configurable))return;const N=h.then;h[F]=N,b.prototype.then=function(Y,q){return new n((X,ee)=>{N.call(this,X,ee)}).then(Y,q)},b[V]=!0}return v.patchThen=J,f&&(J(f),pe(t,"fetch",b=>function we(b){return function(h,x){let N=b.apply(h,x);if(N instanceof n)return N;let Y=N.constructor;return Y[V]||J(Y),N}}(b))),Promise[i.__symbol__("uncaughtPromiseErrors")]=A,n}),Zone.__load_patch("toString",t=>{const i=Function.prototype.toString,v=O("OriginalDelegate"),c=O("Promise"),E=O("Error"),P=function(){if("function"==typeof this){const z=this[v];if(z)return"function"==typeof z?i.call(z):Object.prototype.toString.call(z);if(this===Promise){const F=t[c];if(F)return i.call(F)}if(this===Error){const F=t[E];if(F)return i.call(F)}}return i.call(this)};P[v]=i,Function.prototype.toString=P;const I=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":I.call(this)}});let ze=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ze=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ze=!1}const mt={useG:!0},Ce={},nt={},rt=new RegExp("^"+T+"(\\w+)(true|false)$"),Qe=O("propagationStopped");function ot(t,i){const v=(i?i(t):t)+m,c=(i?i(t):t)+p,E=T+v,P=T+c;Ce[t]={},Ce[t][m]=E,Ce[t][p]=P}function yt(t,i,v){const c=v&&v.add||u,E=v&&v.rm||s,P=v&&v.listeners||"eventListeners",I=v&&v.rmAll||"removeAllListeners",A=O(c),W="."+c+":",ne=function(G,Z,ae){if(G.isRemoved)return;const ve=G.callback;"object"==typeof ve&&ve.handleEvent&&(G.callback=ke=>ve.handleEvent(ke),G.originalDelegate=ve),G.invoke(G,Z,[ae]);const ue=G.options;ue&&"object"==typeof ue&&ue.once&&Z[E].call(Z,ae.type,G.originalDelegate?G.originalDelegate:G.callback,ue)},te=function(G){if(!(G=G||t.event))return;const Z=this||G.target||t,ae=Z[Ce[G.type][m]];if(ae)if(1===ae.length)ne(ae[0],Z,G);else{const ve=ae.slice();for(let ue=0;uefunction(E,P){E[Qe]=!0,c&&c.apply(E,P)})}function Tt(t,i,v,c,E){const P=Zone.__symbol__(c);if(i[P])return;const I=i[P]=i[c];i[c]=function(A,W,z){return W&&W.prototype&&E.forEach(function(F){const ne=`${v}.${c}::`+F,te=W.prototype;if(te.hasOwnProperty(F)){const oe=t.ObjectGetOwnPropertyDescriptor(te,F);oe&&oe.value?(oe.value=t.wrapWithCurrentZone(oe.value,ne),t._redefineProperty(W.prototype,F,oe)):te[F]&&(te[F]=t.wrapWithCurrentZone(te[F],ne))}else te[F]&&(te[F]=t.wrapWithCurrentZone(te[F],ne))}),I.call(i,A,W,z)},t.attachOriginToPatched(i[c],I)}const qe=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],bt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],at=["load"],it=["blur","error","focus","load","resize","scroll","messageerror"],It=["bounce","finish","start"],ct=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ve=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Mt=["close","error","open","message"],Dt=["error","message"],Ue=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],qe,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ut(t,i,v){if(!v||0===v.length)return i;const c=v.filter(P=>P.target===t);if(!c||0===c.length)return i;const E=c[0].ignoreProperties;return i.filter(P=>-1===E.indexOf(P))}function xe(t,i,v,c){t&&Ge(t,ut(t,i,v),c)}Zone.__load_patch("util",(t,i,v)=>{v.patchOnProperties=Ge,v.patchMethod=pe,v.bindArguments=j,v.patchMacroTask=Oe;const c=i.__symbol__("BLACK_LISTED_EVENTS"),E=i.__symbol__("UNPATCHED_EVENTS");t[E]&&(t[c]=t[E]),t[c]&&(i[c]=i[E]=t[c]),v.patchEventPrototype=Et,v.patchEventTarget=yt,v.isIEOrEdge=gt,v.ObjectDefineProperty=e,v.ObjectGetOwnPropertyDescriptor=g,v.ObjectCreate=o,v.ArraySlice=l,v.patchClass=ge,v.wrapWithCurrentZone=C,v.filterProperties=ut,v.attachOriginToPatched=be,v._redefineProperty=Object.defineProperty,v.patchCallbacks=Tt,v.getGlobalObjects=()=>({globalSources:nt,zoneSymbolEventNames:Ce,eventNames:Ue,isBrowser:Te,isMix:De,isNode:_,TRUE_STR:p,FALSE_STR:m,ZONE_SYMBOL_PREFIX:T,ADD_EVENT_LISTENER_STR:u,REMOVE_EVENT_LISTENER_STR:s})});const _e=O("zoneTask");function We(t,i,v,c){let E=null,P=null;v+=c;const I={};function A(z){const F=z.data;return F.args[0]=function(){return z.invoke.apply(this,arguments)},F.handleId=E.apply(t,F.args),z}function W(z){return P.call(t,z.data.handleId)}E=pe(t,i+=c,z=>function(F,ne){if("function"==typeof ne[0]){const te={isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?ne[1]||0:void 0,args:ne},oe=ne[0];ne[0]=function(){try{return oe.apply(this,arguments)}finally{te.isPeriodic||("number"==typeof te.handleId?delete I[te.handleId]:te.handleId&&(te.handleId[_e]=null))}};const me=M(i,ne[0],te,A,W);if(!me)return me;const de=me.data.handleId;return"number"==typeof de?I[de]=me:de&&(de[_e]=me),de&&de.ref&&de.unref&&"function"==typeof de.ref&&"function"==typeof de.unref&&(me.ref=de.ref.bind(de),me.unref=de.unref.bind(de)),"number"==typeof de||de?de:me}return z.apply(t,ne)}),P=pe(t,v,z=>function(F,ne){const te=ne[0];let oe;"number"==typeof te?oe=I[te]:(oe=te&&te[_e],oe||(oe=te)),oe&&"string"==typeof oe.type?"notScheduled"!==oe.state&&(oe.cancelFn&&oe.data.isPeriodic||0===oe.runCount)&&("number"==typeof te?delete I[te]:te&&(te[_e]=null),oe.zone.cancelTask(oe)):z.apply(t,ne)})}Zone.__load_patch("legacy",t=>{const i=t[Zone.__symbol__("legacyPatch")];i&&i()}),Zone.__load_patch("queueMicrotask",(t,i,v)=>{v.patchMethod(t,"queueMicrotask",c=>function(E,P){i.current.scheduleMicroTask("queueMicrotask",P[0])})}),Zone.__load_patch("timers",t=>{const i="set",v="clear";We(t,i,v,"Timeout"),We(t,i,v,"Interval"),We(t,i,v,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{We(t,"request","cancel","AnimationFrame"),We(t,"mozRequest","mozCancel","AnimationFrame"),We(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,i)=>{const v=["alert","prompt","confirm"];for(let c=0;cfunction(W,z){return i.current.run(P,t,z,A)})}),Zone.__load_patch("EventTarget",(t,i,v)=>{(function Zt(t,i){i.patchEventPrototype(t,i)})(t,v),function Nt(t,i){if(Zone[i.symbol("patchEventTarget")])return;const{eventNames:v,zoneSymbolEventNames:c,TRUE_STR:E,FALSE_STR:P,ZONE_SYMBOL_PREFIX:I}=i.getGlobalObjects();for(let W=0;W{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,i,v)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,i,v)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,i,v)=>{!function Ct(t,i){if(_&&!De||Zone[t.symbol("patchEvents")])return;const v=typeof WebSocket<"u",c=i.__Zone_ignore_on_properties;if(Te){const I=window,A=function pt(){try{const t=D.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:I,ignoreProperties:["error"]}]:[];xe(I,Ue.concat(["messageerror"]),c&&c.concat(A),r(I)),xe(Document.prototype,Ue,c),typeof I.SVGElement<"u"&&xe(I.SVGElement.prototype,Ue,c),xe(Element.prototype,Ue,c),xe(HTMLElement.prototype,Ue,c),xe(HTMLMediaElement.prototype,bt,c),xe(HTMLFrameSetElement.prototype,qe.concat(it),c),xe(HTMLBodyElement.prototype,qe.concat(it),c),xe(HTMLFrameElement.prototype,at,c),xe(HTMLIFrameElement.prototype,at,c);const W=I.HTMLMarqueeElement;W&&xe(W.prototype,It,c);const z=I.Worker;z&&xe(z.prototype,Dt,c)}const E=i.XMLHttpRequest;E&&xe(E.prototype,ct,c);const P=i.XMLHttpRequestEventTarget;P&&xe(P&&P.prototype,ct,c),typeof IDBIndex<"u"&&(xe(IDBIndex.prototype,Ve,c),xe(IDBRequest.prototype,Ve,c),xe(IDBOpenDBRequest.prototype,Ve,c),xe(IDBDatabase.prototype,Ve,c),xe(IDBTransaction.prototype,Ve,c),xe(IDBCursor.prototype,Ve,c)),v&&xe(WebSocket.prototype,Mt,c)}(v,t)}),Zone.__load_patch("customElements",(t,i,v)=>{!function jt(t,i){const{isBrowser:v,isMix:c}=i.getGlobalObjects();(v||c)&&t.customElements&&"customElements"in t&&i.patchCallbacks(i,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,v)}),Zone.__load_patch("XHR",(t,i)=>{!function W(z){const F=z.XMLHttpRequest;if(!F)return;const ne=F.prototype;let oe=ne[d],me=ne[y];if(!oe){const K=z.XMLHttpRequestEventTarget;if(K){const ie=K.prototype;oe=ie[d],me=ie[y]}}const de="readystatechange",G="scheduled";function Z(K){const ie=K.data,Q=ie.target;Q[P]=!1,Q[A]=!1;const Ie=Q[E];oe||(oe=Q[d],me=Q[y]),Ie&&me.call(Q,de,Ie);const He=Q[E]=()=>{if(Q.readyState===Q.DONE)if(!ie.aborted&&Q[P]&&K.state===G){const je=Q[i.__symbol__("loadfalse")];if(0!==Q.status&&je&&je.length>0){const Le=K.invoke;K.invoke=function(){const ye=Q[i.__symbol__("loadfalse")];for(let se=0;sefunction(K,ie){return K[c]=0==ie[2],K[I]=ie[1],ue.apply(K,ie)}),re=O("fetchTaskAborting"),Pe=O("fetchTaskScheduling"),ce=pe(ne,"send",()=>function(K,ie){if(!0===i.current[Pe]||K[c])return ce.apply(K,ie);{const Q={target:K,url:K[I],isPeriodic:!1,args:ie,aborted:!1},Ie=M("XMLHttpRequest.send",ae,Q,Z,ve);K&&!0===K[A]&&!Q.aborted&&Ie.state===G&&Ie.invoke()}}),Re=pe(ne,"abort",()=>function(K,ie){const Q=function te(K){return K[v]}(K);if(Q&&"string"==typeof Q.type){if(null==Q.cancelFn||Q.data&&Q.data.aborted)return;Q.zone.cancelTask(Q)}else if(!0===i.current[re])return Re.apply(K,ie)})}(t);const v=O("xhrTask"),c=O("xhrSync"),E=O("xhrListener"),P=O("xhrScheduled"),I=O("xhrURL"),A=O("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function R(t,i){const v=t.constructor.name;for(let c=0;c{const W=function(){return A.apply(this,j(arguments,v+"."+E))};return be(W,A),W})(P)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,i)=>{function v(c){return function(E){st(t,c).forEach(I=>{const A=t.PromiseRejectionEvent;if(A){const W=new A(c,{promise:E.promise,reason:E.rejection});I.invoke(W)}})}}t.PromiseRejectionEvent&&(i[O("unhandledPromiseRejectionHandler")]=v("unhandledrejection"),i[O("rejectionHandledHandler")]=v("rejectionhandled"))})},7795:(a,g,e)=>{e(3364),e(1432),e(6562),e(4416),e(8681),e(2213),e(3471),e(4329),e(5159),e(5645)},4963:a=>{a.exports=function(g){if("function"!=typeof g)throw TypeError(g+" is not a function!");return g}},3328:a=>{a.exports=function(g,e,r,o){if(!(g instanceof e)||void 0!==o&&o in g)throw TypeError(r+": incorrect invocation!");return g}},7007:(a,g,e)=>{var r=e(5286);a.exports=function(o){if(!r(o))throw TypeError(o+" is not an object!");return o}},9490:(a,g,e)=>{var r=e(3531);a.exports=function(o,l){var u=[];return r(o,!1,u.push,u,l),u}},9315:(a,g,e)=>{var r=e(2110),o=e(875),l=e(2337);a.exports=function(u){return function(s,d,y){var C,p=r(s),m=o(p.length),T=l(y,m);if(u&&d!=d){for(;m>T;)if((C=p[T++])!=C)return!0}else for(;m>T;T++)if((u||T in p)&&p[T]===d)return u||T||0;return!u&&-1}}},50:(a,g,e)=>{var r=e(741),o=e(9797),l=e(508),u=e(875),s=e(6886);a.exports=function(d,y){var p=1==d,m=2==d,T=3==d,C=4==d,M=6==d,O=5==d||M,U=y||s;return function(D,k,L){for(var Te,De,w=l(D),j=o(w),R=r(k,L,3),S=u(j.length),B=0,_=p?U(D,S):m?U(D,0):void 0;S>B;B++)if((O||B in j)&&(De=R(Te=j[B],B,w),d))if(p)_[B]=De;else if(De)switch(d){case 3:return!0;case 5:return Te;case 6:return B;case 2:_.push(Te)}else if(C)return!1;return M?-1:T||C?C:_}}},2736:(a,g,e)=>{var r=e(5286),o=e(4302),l=e(6314)("species");a.exports=function(u){var s;return o(u)&&("function"==typeof(s=u.constructor)&&(s===Array||o(s.prototype))&&(s=void 0),r(s)&&null===(s=s[l])&&(s=void 0)),void 0===s?Array:s}},6886:(a,g,e)=>{var r=e(2736);a.exports=function(o,l){return new(r(o))(l)}},1488:(a,g,e)=>{var r=e(2032),o=e(6314)("toStringTag"),l="Arguments"==r(function(){return arguments}());a.exports=function(s){var d,y,p;return void 0===s?"Undefined":null===s?"Null":"string"==typeof(y=function(s,d){try{return s[d]}catch{}}(d=Object(s),o))?y:l?r(d):"Object"==(p=r(d))&&"function"==typeof d.callee?"Arguments":p}},2032:a=>{var g={}.toString;a.exports=function(e){return g.call(e).slice(8,-1)}},9824:(a,g,e)=>{"use strict";var r=e(9275).f,o=e(2503),l=e(4408),u=e(741),s=e(3328),d=e(3531),y=e(2923),p=e(5436),m=e(2974),T=e(7057),C=e(4728).fastKey,M=e(1616),O=T?"_s":"size",U=function(D,k){var w,L=C(k);if("F"!==L)return D._i[L];for(w=D._f;w;w=w.n)if(w.k==k)return w};a.exports={getConstructor:function(D,k,L,w){var j=D(function(R,S){s(R,j,k,"_i"),R._t=k,R._i=o(null),R._f=void 0,R._l=void 0,R[O]=0,null!=S&&d(S,L,R[w],R)});return l(j.prototype,{clear:function(){for(var S=M(this,k),B=S._i,_=S._f;_;_=_.n)_.r=!0,_.p&&(_.p=_.p.n=void 0),delete B[_.i];S._f=S._l=void 0,S[O]=0},delete:function(R){var S=M(this,k),B=U(S,R);if(B){var _=B.n,Te=B.p;delete S._i[B.i],B.r=!0,Te&&(Te.n=_),_&&(_.p=Te),S._f==B&&(S._f=_),S._l==B&&(S._l=Te),S[O]--}return!!B},forEach:function(S){M(this,k);for(var _,B=u(S,arguments.length>1?arguments[1]:void 0,3);_=_?_.n:this._f;)for(B(_.v,_.k,this);_&&_.r;)_=_.p},has:function(S){return!!U(M(this,k),S)}}),T&&r(j.prototype,"size",{get:function(){return M(this,k)[O]}}),j},def:function(D,k,L){var j,R,w=U(D,k);return w?w.v=L:(D._l=w={i:R=C(k,!0),k,v:L,p:j=D._l,n:void 0,r:!1},D._f||(D._f=w),j&&(j.n=w),D[O]++,"F"!==R&&(D._i[R]=w)),D},getEntry:U,setStrong:function(D,k,L){y(D,k,function(w,j){this._t=M(w,k),this._k=j,this._l=void 0},function(){for(var w=this,j=w._k,R=w._l;R&&R.r;)R=R.p;return w._t&&(w._l=R=R?R.n:w._t._f)?p(0,"keys"==j?R.k:"values"==j?R.v:[R.k,R.v]):(w._t=void 0,p(1))},L?"entries":"values",!L,!0),m(k)}}},3657:(a,g,e)=>{"use strict";var r=e(4408),o=e(4728).getWeak,l=e(7007),u=e(5286),s=e(3328),d=e(3531),y=e(50),p=e(9181),m=e(1616),T=y(5),C=y(6),M=0,O=function(k){return k._l||(k._l=new U)},U=function(){this.a=[]},D=function(k,L){return T(k.a,function(w){return w[0]===L})};U.prototype={get:function(k){var L=D(this,k);if(L)return L[1]},has:function(k){return!!D(this,k)},set:function(k,L){var w=D(this,k);w?w[1]=L:this.a.push([k,L])},delete:function(k){var L=C(this.a,function(w){return w[0]===k});return~L&&this.a.splice(L,1),!!~L}},a.exports={getConstructor:function(k,L,w,j){var R=k(function(S,B){s(S,R,L,"_i"),S._t=L,S._i=M++,S._l=void 0,null!=B&&d(B,w,S[j],S)});return r(R.prototype,{delete:function(S){if(!u(S))return!1;var B=o(S);return!0===B?O(m(this,L)).delete(S):B&&p(B,this._i)&&delete B[this._i]},has:function(B){if(!u(B))return!1;var _=o(B);return!0===_?O(m(this,L)).has(B):_&&p(_,this._i)}}),R},def:function(k,L,w){var j=o(l(L),!0);return!0===j?O(k).set(L,w):j[k._i]=w,k},ufstore:O}},5795:(a,g,e)=>{"use strict";var r=e(3816),o=e(2985),l=e(7234),u=e(4408),s=e(4728),d=e(3531),y=e(3328),p=e(5286),m=e(4253),T=e(7462),C=e(2943),M=e(266);a.exports=function(O,U,D,k,L,w){var j=r[O],R=j,S=L?"set":"add",B=R&&R.prototype,_={},Te=function(fe){var ge=B[fe];l(B,fe,"delete"==fe?function(pe){return!(w&&!p(pe))&&ge.call(this,0===pe?0:pe)}:"has"==fe?function(Oe){return!(w&&!p(Oe))&&ge.call(this,0===Oe?0:Oe)}:"get"==fe?function(Oe){return w&&!p(Oe)?void 0:ge.call(this,0===Oe?0:Oe)}:"add"==fe?function(Oe){return ge.call(this,0===Oe?0:Oe),this}:function(Oe,be){return ge.call(this,0===Oe?0:Oe,be),this})};if("function"==typeof R&&(w||B.forEach&&!m(function(){(new R).entries().next()}))){var De=new R,Se=De[S](w?{}:-0,1)!=De,Ne=m(function(){De.has(1)}),Ze=T(function(fe){new R(fe)}),Ge=!w&&m(function(){for(var fe=new R,ge=5;ge--;)fe[S](ge,ge);return!fe.has(-0)});Ze||((R=U(function(fe,ge){y(fe,R,O);var pe=M(new j,fe,R);return null!=ge&&d(ge,L,pe[S],pe),pe})).prototype=B,B.constructor=R),(Ne||Ge)&&(Te("delete"),Te("has"),L&&Te("get")),(Ge||Se)&&Te(S),w&&B.clear&&delete B.clear}else R=k.getConstructor(U,O,L,S),u(R.prototype,D),s.NEED=!0;return C(R,O),_[O]=R,o(o.G+o.W+o.F*(R!=j),_),w||k.setStrong(R,O,L),R}},5645:a=>{var g=a.exports={version:"2.5.7"};"number"==typeof __e&&(__e=g)},741:(a,g,e)=>{var r=e(4963);a.exports=function(o,l,u){if(r(o),void 0===l)return o;switch(u){case 1:return function(s){return o.call(l,s)};case 2:return function(s,d){return o.call(l,s,d)};case 3:return function(s,d,y){return o.call(l,s,d,y)}}return function(){return o.apply(l,arguments)}}},1355:a=>{a.exports=function(g){if(null==g)throw TypeError("Can't call method on "+g);return g}},7057:(a,g,e)=>{a.exports=!e(4253)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},2457:(a,g,e)=>{var r=e(5286),o=e(3816).document,l=r(o)&&r(o.createElement);a.exports=function(u){return l?o.createElement(u):{}}},4430:a=>{a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2985:(a,g,e)=>{var r=e(3816),o=e(5645),l=e(7728),u=e(7234),s=e(741),d="prototype",y=function(p,m,T){var j,R,S,B,C=p&y.F,M=p&y.G,U=p&y.P,D=p&y.B,k=M?r:p&y.S?r[m]||(r[m]={}):(r[m]||{})[d],L=M?o:o[m]||(o[m]={}),w=L[d]||(L[d]={});for(j in M&&(T=m),T)S=((R=!C&&k&&void 0!==k[j])?k:T)[j],B=D&&R?s(S,r):U&&"function"==typeof S?s(Function.call,S):S,k&&u(k,j,S,p&y.U),L[j]!=S&&l(L,j,B),U&&w[j]!=S&&(w[j]=S)};r.core=o,y.F=1,y.G=2,y.S=4,y.P=8,y.B=16,y.W=32,y.U=64,y.R=128,a.exports=y},4253:a=>{a.exports=function(g){try{return!!g()}catch{return!0}}},3531:(a,g,e)=>{var r=e(741),o=e(8851),l=e(6555),u=e(7007),s=e(875),d=e(9002),y={},p={},m=a.exports=function(T,C,M,O,U){var w,j,R,S,D=U?function(){return T}:d(T),k=r(M,O,C?2:1),L=0;if("function"!=typeof D)throw TypeError(T+" is not iterable!");if(l(D)){for(w=s(T.length);w>L;L++)if((S=C?k(u(j=T[L])[0],j[1]):k(T[L]))===y||S===p)return S}else for(R=D.call(T);!(j=R.next()).done;)if((S=o(R,k,j.value,C))===y||S===p)return S};m.BREAK=y,m.RETURN=p},3816:a=>{var g=a.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=g)},9181:a=>{var g={}.hasOwnProperty;a.exports=function(e,r){return g.call(e,r)}},7728:(a,g,e)=>{var r=e(9275),o=e(681);a.exports=e(7057)?function(l,u,s){return r.f(l,u,o(1,s))}:function(l,u,s){return l[u]=s,l}},639:(a,g,e)=>{var r=e(3816).document;a.exports=r&&r.documentElement},1734:(a,g,e)=>{a.exports=!e(7057)&&!e(4253)(function(){return 7!=Object.defineProperty(e(2457)("div"),"a",{get:function(){return 7}}).a})},266:(a,g,e)=>{var r=e(5286),o=e(7375).set;a.exports=function(l,u,s){var y,d=u.constructor;return d!==s&&"function"==typeof d&&(y=d.prototype)!==s.prototype&&r(y)&&o&&o(l,y),l}},9797:(a,g,e)=>{var r=e(2032);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(o){return"String"==r(o)?o.split(""):Object(o)}},6555:(a,g,e)=>{var r=e(2803),o=e(6314)("iterator"),l=Array.prototype;a.exports=function(u){return void 0!==u&&(r.Array===u||l[o]===u)}},4302:(a,g,e)=>{var r=e(2032);a.exports=Array.isArray||function(l){return"Array"==r(l)}},5286:a=>{a.exports=function(g){return"object"==typeof g?null!==g:"function"==typeof g}},8851:(a,g,e)=>{var r=e(7007);a.exports=function(o,l,u,s){try{return s?l(r(u)[0],u[1]):l(u)}catch(y){var d=o.return;throw void 0!==d&&r(d.call(o)),y}}},9988:(a,g,e)=>{"use strict";var r=e(2503),o=e(681),l=e(2943),u={};e(7728)(u,e(6314)("iterator"),function(){return this}),a.exports=function(s,d,y){s.prototype=r(u,{next:o(1,y)}),l(s,d+" Iterator")}},2923:(a,g,e)=>{"use strict";var r=e(4461),o=e(2985),l=e(7234),u=e(7728),s=e(2803),d=e(9988),y=e(2943),p=e(468),m=e(6314)("iterator"),T=!([].keys&&"next"in[].keys()),M="keys",O="values",U=function(){return this};a.exports=function(D,k,L,w,j,R,S){d(L,k,w);var ge,pe,Oe,B=function(be){if(!T&&be in Se)return Se[be];switch(be){case M:case O:return function(){return new L(this,be)}}return function(){return new L(this,be)}},_=k+" Iterator",Te=j==O,De=!1,Se=D.prototype,Ne=Se[m]||Se["@@iterator"]||j&&Se[j],Ze=Ne||B(j),Ge=j?Te?B("entries"):Ze:void 0,fe="Array"==k&&Se.entries||Ne;if(fe&&(Oe=p(fe.call(new D)))!==Object.prototype&&Oe.next&&(y(Oe,_,!0),!r&&"function"!=typeof Oe[m]&&u(Oe,m,U)),Te&&Ne&&Ne.name!==O&&(De=!0,Ze=function(){return Ne.call(this)}),(!r||S)&&(T||De||!Se[m])&&u(Se,m,Ze),s[k]=Ze,s[_]=U,j)if(ge={values:Te?Ze:B(O),keys:R?Ze:B(M),entries:Ge},S)for(pe in ge)pe in Se||l(Se,pe,ge[pe]);else o(o.P+o.F*(T||De),k,ge);return ge}},7462:(a,g,e)=>{var r=e(6314)("iterator"),o=!1;try{var l=[7][r]();l.return=function(){o=!0},Array.from(l,function(){throw 2})}catch{}a.exports=function(u,s){if(!s&&!o)return!1;var d=!1;try{var y=[7],p=y[r]();p.next=function(){return{done:d=!0}},y[r]=function(){return p},u(y)}catch{}return d}},5436:a=>{a.exports=function(g,e){return{value:e,done:!!g}}},2803:a=>{a.exports={}},4461:a=>{a.exports=!1},4728:(a,g,e)=>{var r=e(3953)("meta"),o=e(5286),l=e(9181),u=e(9275).f,s=0,d=Object.isExtensible||function(){return!0},y=!e(4253)(function(){return d(Object.preventExtensions({}))}),p=function(O){u(O,r,{value:{i:"O"+ ++s,w:{}}})},M=a.exports={KEY:r,NEED:!1,fastKey:function(O,U){if(!o(O))return"symbol"==typeof O?O:("string"==typeof O?"S":"P")+O;if(!l(O,r)){if(!d(O))return"F";if(!U)return"E";p(O)}return O[r].i},getWeak:function(O,U){if(!l(O,r)){if(!d(O))return!0;if(!U)return!1;p(O)}return O[r].w},onFreeze:function(O){return y&&M.NEED&&d(O)&&!l(O,r)&&p(O),O}}},133:(a,g,e)=>{var r=e(8416),o=e(2985),l=e(3825)("metadata"),u=l.store||(l.store=new(e(147))),s=function(M,O,U){var D=u.get(M);if(!D){if(!U)return;u.set(M,D=new r)}var k=D.get(O);if(!k){if(!U)return;D.set(O,k=new r)}return k};a.exports={store:u,map:s,has:function(M,O,U){var D=s(O,U,!1);return void 0!==D&&D.has(M)},get:function(M,O,U){var D=s(O,U,!1);return void 0===D?void 0:D.get(M)},set:function(M,O,U,D){s(U,D,!0).set(M,O)},keys:function(M,O){var U=s(M,O,!1),D=[];return U&&U.forEach(function(k,L){D.push(L)}),D},key:function(M){return void 0===M||"symbol"==typeof M?M:String(M)},exp:function(M){o(o.S,"Reflect",M)}}},5345:(a,g,e)=>{"use strict";var r=e(7184),o=e(4548),l=e(4682),u=e(508),s=e(9797),d=Object.assign;a.exports=!d||e(4253)(function(){var y={},p={},m=Symbol(),T="abcdefghijklmnopqrst";return y[m]=7,T.split("").forEach(function(C){p[C]=C}),7!=d({},y)[m]||Object.keys(d({},p)).join("")!=T})?function(p,m){for(var T=u(p),C=arguments.length,M=1,O=o.f,U=l.f;C>M;)for(var j,D=s(arguments[M++]),k=O?r(D).concat(O(D)):r(D),L=k.length,w=0;L>w;)U.call(D,j=k[w++])&&(T[j]=D[j]);return T}:d},2503:(a,g,e)=>{var r=e(7007),o=e(5588),l=e(4430),u=e(9335)("IE_PROTO"),s=function(){},d="prototype",y=function(){var M,p=e(2457)("iframe"),m=l.length;for(p.style.display="none",e(639).appendChild(p),p.src="javascript:",(M=p.contentWindow.document).open(),M.write(" + \ No newline at end of file