diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..dd5152ce4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,229 @@ +name: CI/CD + +on: + push: + branches: + - dataprev_dsv + - dataprev_hmg + - dataprev_treina + - dataprev_producao + pull_request: + branches: + - dataprev_dsv + - dataprev_hmg + - dataprev_treina + - dataprev_producao +jobs: + build_producao: + name: Build on Producao + if: github.ref == 'refs/heads/dataprev_producao' + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + working-directory: ./front-end + run: npm install --legacy-peer-deps + + - name: Install Angular CLI + run: npm install -g @angular/cli + + - name: Build Angular and Run Postbuild + working-directory: ./front-end + run: | + ng build --configuration=production --output-path=../back-end/public + node ./postbuild.js + - name: Build Producao + env: + DOCKER_HUB_IMAGE: segescginf/pgdpetrvs + DOCKER_HUB_TAG_LATEST: latest + DOCKER_HUB_TAG_NEW: 2.1.0 + DOCKER_HUB_TAG_OLD: 2.0.17 + DOCKER_HUB_USERNAME: segescginf + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} + DEPLOY_PATH: ./ + run: | + echo "Iniciando a construção e envio das imagens Docker..." + + # Autentica no Docker Hub + echo $DOCKER_HUB_PASSWORD | docker login -u $DOCKER_HUB_USERNAME --password-stdin + + # Função para verificar se uma tag existe no Docker Hub + tag_exists() { + curl --silent -f -lSL "https://hub.docker.com/v2/repositories/$DOCKER_HUB_IMAGE/tags/$1/" > /dev/null + } + + # Puxa a imagem atual com a tag DOCKER_HUB_TAG_LATEST + docker pull $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_LATEST + + # Verifica se a tag $DOCKER_HUB_TAG_OLD já existe, e só reetiqueta se não existir + if tag_exists $DOCKER_HUB_TAG_OLD; then + echo "A tag $DOCKER_HUB_TAG_OLD já existe, não será reetiquetada." + else + docker tag $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_LATEST $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_OLD + docker push $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_OLD + fi + + # Constrói a nova imagem com a tag $DOCKER_HUB_TAG_NEW + docker build -t $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_NEW -f ./resources/dataprev/dev/Dockerfile . + + # Etiqueta a nova imagem como DOCKER_HUB_TAG_LATEST + docker tag $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_NEW $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_LATEST + + # Envia as novas tags para o Docker Hub + docker push $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_NEW + docker push $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG_LATEST + + echo "Envio das imagens Docker concluído." + build_and_deploy_dsv: + name: Build and Deploy on Dataprev DSV + if: github.ref == 'refs/heads/dataprev_dsv' + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + working-directory: ./front-end + run: npm install --legacy-peer-deps + + - name: Install Angular CLI + run: npm install -g @angular/cli + + - name: Build Angular and Run Postbuild + working-directory: ./front-end + run: | + ng build --configuration=production --output-path=../back-end/public + node ./postbuild.js + + - name: Build and Deploy DSV + env: + DOCKER_HUB_IMAGE: segescginf/pgdpetrvs-develop + DOCKER_HUB_TAG: dsv + SSH_USER: root + SSH_HOST: 200.152.38.137 + SSH_PORT: 7223 + SSH_PASSWORD: ${{ secrets.SSH_PASSWORD_DSV }} + DEPLOY_PATH: ./ + DOCKER_HUB_USERNAME: segescginf + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} + run: | + echo "Iniciando a construção e implantação do DSV..." + echo "Construindo a imagem Docker..." + docker build -t $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG -f ./resources/dataprev/dev/Dockerfile . + echo "Construção da imagem concluída. Enviando para o Docker Hub..." + echo $DOCKER_HUB_PASSWORD | docker login -u $DOCKER_HUB_USERNAME --password-stdin + docker push $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG + echo "Envio da imagem Docker concluído. Iniciando implantação no servidor remoto..." + sudo apt-get update -y && sudo apt-get install -y sshpass + sshpass -p $SSH_PASSWORD ssh -T -o StrictHostKeyChecking=no -p $SSH_PORT $SSH_USER@$SSH_HOST "cd /home/marcocoelho/ && bash install-pgd.sh < /dev/null" + echo "Implantação concluída com sucesso em DSV." + build_and_deploy_hmg: + name: Build and Deploy on Dataprev HMG + if: github.ref == 'refs/heads/dataprev_hmg' + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + working-directory: ./front-end + run: npm install --legacy-peer-deps + + - name: Install Angular CLI + run: npm install -g @angular/cli + + - name: Build Angular and Run Postbuild + working-directory: ./front-end + run: | + ng build --configuration=production --output-path=../back-end/public + node ./postbuild.js + + - name: Build and Deploy HMG + env: + DOCKER_HUB_IMAGE: segescginf/pgdpetrvs-develop + DOCKER_HUB_TAG: hmg + SSH_USER: root + SSH_HOST: 200.152.38.137 + SSH_PORT: 7222 + SSH_PASSWORD: ${{ secrets.SSH_PASSWORD_HMG }} + DEPLOY_PATH: ./ + DOCKER_HUB_USERNAME: segescginf + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} + run: | + echo "Iniciando a construção e implantação do HMG..." + echo "Construindo a imagem Docker..." + docker build -t $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG -f ./resources/dataprev/dev/Dockerfile . + echo "Construção da imagem concluída. Enviando para o Docker Hub..." + docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD + docker push $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG + echo "Envio da imagem Docker concluído. Iniciando implantação no servidor remoto..." + sudo apt-get update -y && sudo apt-get install -y sshpass + # Executando o script install-pgd.sh + sshpass -p $SSH_PASSWORD ssh -T -o StrictHostKeyChecking=no -p $SSH_PORT $SSH_USER@$SSH_HOST "sh install-pgd.sh < /dev/null" + echo "Implantação concluída com sucesso em HMG." + build_and_deploy_treina: + name: Build and Deploy on Dataprev TREINA + if: github.ref == 'refs/heads/dataprev_treina' + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + working-directory: ./front-end + run: npm install --legacy-peer-deps + + - name: Install Angular CLI + run: npm install -g @angular/cli + + - name: Build Angular and Run Postbuild + working-directory: ./front-end + run: | + ng build --configuration=production --output-path=../back-end/public + node ./postbuild.js + + - name: Build and Deploy TREINA + env: + DOCKER_HUB_IMAGE: segescginf/pgdpetrvs-develop + DOCKER_HUB_TAG: treina + SSH_USER: root + SSH_HOST: 200.152.38.137 + SSH_PORT: 7228 + SSH_PASSWORD: ${{ secrets.SSH_PASSWORD_TREINA }} + DEPLOY_PATH: ./ + DOCKER_HUB_USERNAME: segescginf + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} + run: | + echo "Iniciando a construção e implantação do TREINA..." + echo "Construindo a imagem Docker..." + docker build -t $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG -f ./resources/dataprev/dev/Dockerfile . + echo "Construção da imagem concluída. Enviando para o Docker Hub..." + docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD + docker push $DOCKER_HUB_IMAGE:$DOCKER_HUB_TAG + echo "Envio da imagem Docker concluído. Iniciando implantação no servidor remoto..." + sudo apt-get update -y && sudo apt-get install -y sshpass + # Executando o script install-pgd.sh + sshpass -p $SSH_PASSWORD ssh -T -o StrictHostKeyChecking=no -p $SSH_PORT $SSH_USER@$SSH_HOST "sh install-pgd.sh < /dev/null" + echo "Implantação concluída com sucesso em TREINA." \ No newline at end of file diff --git a/.gitignore b/.gitignore index 9b0130533..ea0b3b485 100644 --- a/.gitignore +++ b/.gitignore @@ -50,5 +50,8 @@ back-end/storage/tenant*/*/ back-end/database/seeders/ZUnidadesSeeder.php resources/documentacao/Gestão/plano_trabalho.pdf + # Para Apple -*.DS_Store \ No newline at end of file +*.DS_Store + +microservice/api-pgd/storage/logs/schedule.log diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..85ba2406f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ +## 2.1.0 - 06/09/2024 +### Adicionado +- Campo para informar a unidade autorizadora no regramento. +- Opção para clonar Planos de Trabalho e Planos de Entrega. +- Adicionado nível de "Configurador" do tenant +- Adiciona Auditoria do Sistema +- Adição de campos para informar usuário e senha da API PGD nos Tenants +### Corrigido +- Correção para refletir afastamentos nos registros de execução. +- Correção para incluir Planos de Trabalho no mesmo dia de início do regramento. +- Correção na regra para bloquear Planos de Trabalho com datas sobrepostas +- Correção do cadastro do tenant +- Correção no login da Azure(Microsoft) +### Removido +- Arquivos de documentação. Documentação oficial será no site do PGD +- Acesso direto ao SIAPE +### Modificado +- Remoção do caracter '#' dos endereços (URL) do sistema +- Modificação no acesso aos dados do SIAPE, alterando de conexão direta ao SIAPE para o conectaGov, no painel do administrador deverá ser alterado a rota e inserido a chave e senha. +- Alterado a forma que é definição de chefia e chefia substituta no sistema, se baseando nos campos advindos do SIAPE +### Segurança +### Obsoleto +### Não Publicado +- Exportação de dados para o Programa de Gestão - PGD \ No newline at end of file diff --git a/README.md b/README.md index 37a6a8380..382235979 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,6 @@ https://www.gov.br/servidor/pt-br/assuntos/programa-de-gestao https://www.gov.br/servidor/pt-br/assuntos/programa-de-gestao/sistemas-e-api-de-dados/sistema-pgd-petrvs ``` +## Changelog + +Veja o [CHANGELOG.md](CHANGELOG.md) para detalhes sobre as alterações em cada versão. diff --git a/back-end/app/Console/Commands/EnviaDadosApiPGD.php b/back-end/app/Console/Commands/EnviaDadosApiPGD.php new file mode 100644 index 000000000..d6e7f0f49 --- /dev/null +++ b/back-end/app/Console/Commands/EnviaDadosApiPGD.php @@ -0,0 +1,35 @@ +argument('tenant'); + + $exportarTenantService->exportar($tenant); + } + +} diff --git a/back-end/app/Console/Kernel.php b/back-end/app/Console/Kernel.php index b899593ef..999cd5607 100644 --- a/back-end/app/Console/Kernel.php +++ b/back-end/app/Console/Kernel.php @@ -3,6 +3,7 @@ namespace App\Console; use App\Jobs\JobBase; +use App\Jobs\JobWithoutTenant; use App\Models\JobSchedule; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; @@ -24,9 +25,16 @@ protected function commands() protected function schedule(Schedule $schedule) { $agendamentosPrincipal = JobSchedule::where('ativo', true)->get(); - foreach ($agendamentosPrincipal as $job) { - $jobClass = new JobBase($job); - $schedule->job($jobClass)->cron($job->expressao_cron); + foreach ($agendamentosPrincipal as $jobEntity) { + $job = JobWithoutTenant::getJob($jobEntity->classe); + + if (!$job instanceof JobWithoutTenant) { + $job = new JobBase($jobEntity); + } + + $schedule->job($job) + ->name($jobEntity->nome) + ->cron($jobEntity->expressao_cron); } } } diff --git a/back-end/app/Enums/Atribuicao.php b/back-end/app/Enums/Atribuicao.php new file mode 100644 index 000000000..701b9785c --- /dev/null +++ b/back-end/app/Enums/Atribuicao.php @@ -0,0 +1,12 @@ +first(); if (isset($usuario->areasTrabalho[0]) && !empty($usuario->areasTrabalho[0]->id)) { $request->session()->put("unidade_id", $usuario->areasTrabalho[0]->id); - $config = $usuario->config ?? []; + $config = $usuario->config ?? []; $config['unidade_id'] = $data["unidade_id"]; $usuario->config = $config; $usuario->save(); @@ -689,7 +689,7 @@ public function signInAzureCallback(Request $request) $email = $user->email; $email = explode("#", $email); $email = $email[0]; - $email = str_replace("_", "@", $email); + //$email = str_replace("_", "@", $email); $usuario = $this->registrarUsuario($request, Usuario::where('email', $email)->first()); if (($usuario)) { Auth::loginUsingId($usuario->id); diff --git a/back-end/app/Http/Controllers/PainelUsuarioController.php b/back-end/app/Http/Controllers/PainelUsuarioController.php index b615d0350..3a48cffb5 100644 --- a/back-end/app/Http/Controllers/PainelUsuarioController.php +++ b/back-end/app/Http/Controllers/PainelUsuarioController.php @@ -44,7 +44,9 @@ public function detail(Request $request) if ($user) { return response()->json([ 'nome' => $user->nome, - 'email' => $user->email + 'email' => $user->email, + 'nivel' => $user->nivel, + 'tenants' => $user->tenants->pluck('id')->toArray() ]); } else { // Usuário não autenticado, retorna uma resposta de erro @@ -56,8 +58,8 @@ public function detail(Request $request) public function logout() { - Auth::guard('painel_users')->logout(); - return redirect('/login'); + Auth::guard('painel')->logout(); + return response()->json(['success' => true], 200); } public function checkAuthentication(Request $request) diff --git a/back-end/app/Http/Controllers/PgdController.php b/back-end/app/Http/Controllers/PgdController.php deleted file mode 100644 index 78778781e..000000000 --- a/back-end/app/Http/Controllers/PgdController.php +++ /dev/null @@ -1,50 +0,0 @@ -orgaoCentralService = $orgaoCentralService; - } - -/* public function user() - { - $user = $this->orgaoCentralService->getUser(); - - return response()->json(['resultado' => $user]); - } */ - - public function exportarDados(Request $request) - { - $dados['mock'] = 1; - $dados['plano_trabalho_id'] = 10; - $dados['tipo'] = 'PLANO_ENTREGA'; - $dados['cod_SIAPE_instituidora'] = 17500; - $dados['id_plano_entrega_unidade'] = 10; - $api_pgd = $this->orgaoCentralService->exportarDados($dados); - - return response()->json($api_pgd); - } - - public function exportarDadosJob(Request $request) - { - dd("exportarDadosJob 252525"); - $request->validate(['dados'=>'required']); - try { - PGDCarregarDadosFila::dispatch(); - return response()->json(['mensagem' => 'Job registrado']); - } catch (\Exception $e) { - echo 'Exceção capturada: ', $e->getMessage(), "\n"; - } - - } -} diff --git a/back-end/app/Http/Controllers/TenantController.php b/back-end/app/Http/Controllers/TenantController.php index 548bf8d1d..4db25fb9e 100644 --- a/back-end/app/Http/Controllers/TenantController.php +++ b/back-end/app/Http/Controllers/TenantController.php @@ -51,12 +51,13 @@ public function store(Request $request) { $data['entity']['created_at']= Carbon::now()->toDateTimeString(); $data['entity']['updated_at']= Carbon::now()->toDateTimeString(); - if (!strlen(trim($data['entity']['api_password']))) { - unset($data['entity']['api_password']); - } else { + if (isset($data['entity']['api_password']) && strlen(trim($data['entity']['api_password']))) { $data['entity']['api_password'] = Hash::make($data['entity']['api_password']); + } else { + unset($data['entity']['api_password']); } + $unidade = $this->getUnidade($request); $entity = $this->service->store($data['entity'], $unidade); $entity = $entity ?? (object) $data['entity']; diff --git a/back-end/app/Jobs/JobBase.php b/back-end/app/Jobs/JobBase.php index d2da1db0c..7e1551fc2 100644 --- a/back-end/app/Jobs/JobBase.php +++ b/back-end/app/Jobs/JobBase.php @@ -27,10 +27,15 @@ public function handle() return false; } - $this->inicializeTenant(); - $this->loadingTenantConfigurationMiddleware($this->job->tenant_id); $jobClass = app($fullClassName); - dispatch(new $jobClass($this->job->tenant_id)); + + if ($this->job->tenant_id) { + $this->inicializeTenant(); + $this->loadingTenantConfigurationMiddleware($this->job->tenant_id); + dispatch(new $jobClass($this->job->tenant_id)); + } else { + dispatch(new $jobClass()); + } } catch (Exception $e) { Log::error("Erro ao processar Job: '{$this->job->nome}' - Erro: " . $e->getMessage()); LogError::newWarn("Erro ao processar Job: '{$this->job->nome}' - Erro: " . $e->getMessage()); diff --git a/back-end/app/Jobs/JobWithoutTenant.php b/back-end/app/Jobs/JobWithoutTenant.php new file mode 100644 index 000000000..b874ee840 --- /dev/null +++ b/back-end/app/Jobs/JobWithoutTenant.php @@ -0,0 +1,29 @@ +dados = $dados; + return [(new WithoutOverlapping())->expireAfter(60*3)]; } - public function handle(OrgaoCentralService $orgaoCentralService) + public function handle(ExportarTenantService $exportarTenantService) { - $orgaoCentralService->exportarDados($this->dados); + Log::info("PGDExportarDadosJob:START"); + + try{ + foreach(Tenant::all() as $tenant) { + $exportarTenantService->exportar($tenant->id); + } + } catch (Exception $e) { + Log::error("Erro ao processar PGDExportarDadosJob: - Erro: " . $e->getMessage()); + + $tenant = tenancy()->find($tenant->id); + tenancy()->initialize($tenant); + + LogError::newWarn("Erro ao processar PGDExportarDadosJob - Erro: " . $e->getMessage()); + + tenancy()->end(); + return false; + } + + Log::info("PGDExportarDadosJob:END"); } + } diff --git a/back-end/app/Jobs/ProgramaAtualizar.php b/back-end/app/Jobs/ProgramaAtualizar.php deleted file mode 100644 index 0d5ab3bed..000000000 --- a/back-end/app/Jobs/ProgramaAtualizar.php +++ /dev/null @@ -1,35 +0,0 @@ -dados = $dados; - } - - public function handle(OrgaoCentralService $orgaoCentralService) - { - foreach (Tenant::all() as $tenant) { - $tenant->run(function () { - - //dias_tolerancia_consolidacao - //dias_tolerancia_avaliacao - }); - } - } -} diff --git a/back-end/app/Jobs/SincronizarPGDJob.php b/back-end/app/Jobs/SincronizarPGDJob.php deleted file mode 100644 index 5c5b67c7b..000000000 --- a/back-end/app/Jobs/SincronizarPGDJob.php +++ /dev/null @@ -1,49 +0,0 @@ -dados = $dados; - } - - public function handle() - { - - $planos_trabalhos = []; - //Query para listar planos de trabalhos... - foreach ($planos_trabalhos as $pt){ - $dados['plano_trabalho_id'] = $pt->numero; - $dados['tipo'] = 'PLANO_TRABALHO'; - $dados['cod_SIAPE_instituidora'] = 17500; - $dados['id_plano_trabalho_participante'] = 10; - PGDExportarDadosJob::dispath($dados); - } - - $planos_entregas = []; - //Query para listar planos de entregas... - foreach ($planos_entregas as $pe){ - $dados['plano_entrega_id'] = $pe->numero; - $dados['tipo'] = 'PLANO_ENTREGA'; - $dados['cod_SIAPE_instituidora'] = 17500; - $dados['id_plano_trabalho_participante'] = 10; - PGDExportarDadosJob::dispath($dados); - } - - } -} diff --git a/back-end/app/Listeners/TenantListenerBase.php b/back-end/app/Listeners/TenantListenerBase.php index 101887a3c..46fece27d 100644 --- a/back-end/app/Listeners/TenantListenerBase.php +++ b/back-end/app/Listeners/TenantListenerBase.php @@ -118,6 +118,8 @@ public function loadConfig(Tenant $tenant) { 'integracao_wso2_token_acesso' => $tenant->integracao_wso2_token_acesso ?? "", 'integracao_wso2_token_user' => $tenant->integracao_wso2_token_user ?? "", 'integracao_wso2_token_password' => $tenant->integracao_wso2_token_password ?? "", + 'integracao_siape_conectagov_chave' => $tenant->integracao_siape_conectagov_chave ?? "", + 'integracao_siape_conectagov_senha' => $tenant->integracao_siape_conectagov_senha ?? "", ]; if(json_encode($config) != json_encode($this->getLogConfig())) { $this->setLogConfig($config); diff --git a/back-end/app/Models/IntegracaoUnidade.php b/back-end/app/Models/IntegracaoUnidade.php index 591785bb2..d99395155 100644 --- a/back-end/app/Models/IntegracaoUnidade.php +++ b/back-end/app/Models/IntegracaoUnidade.php @@ -46,6 +46,8 @@ class IntegracaoUnidade extends ModelBase 'und_nu_adicional', /* varchar(50); */ 'cnpjupag', /* varchar(60); */ //'deleted_at', /* timestamp; */ + 'cpf_titular_autoridade_uorg', /* varchar(14) */ + 'cpf_substituto_autoridade_uorg', /* varchar(14) */ ]; protected $casts = [ diff --git a/back-end/app/Models/ModelBase.php b/back-end/app/Models/ModelBase.php index 4beaba02d..52a8f96e5 100644 --- a/back-end/app/Models/ModelBase.php +++ b/back-end/app/Models/ModelBase.php @@ -9,13 +9,15 @@ use App\Traits\AutoUuid; use App\Traits\MergeRelations; use App\Traits\LogChanges; +use OwenIt\Auditing\Contracts\Auditable as AuditableContract; +use OwenIt\Auditing\Auditable; use ReflectionObject; use Exception; use Illuminate\Database\Eloquent\SoftDeletes; -class ModelBase extends Model +class ModelBase extends Model implements AuditableContract { - use HasFactory, AutoUuid, MergeRelations, LogChanges, SoftDeletes; + use HasFactory, AutoUuid, MergeRelations, LogChanges, SoftDeletes, Auditable; protected $keyType = 'string'; public $incrementing = false; diff --git a/back-end/app/Models/PlanoTrabalho.php b/back-end/app/Models/PlanoTrabalho.php index d6858e071..5e57b759b 100644 --- a/back-end/app/Models/PlanoTrabalho.php +++ b/back-end/app/Models/PlanoTrabalho.php @@ -109,4 +109,9 @@ public function documento() { return $this->belongsTo(Documento::class); } //nullable + public function ultimaAssinatura() + { + return $this->hasOneThrough(DocumentoAssinatura::class, Documento::class) + ->orderBy('data_assinatura', 'desc'); + } } diff --git a/back-end/app/Models/Programa.php b/back-end/app/Models/Programa.php index 583a1fbf6..ff2def436 100644 --- a/back-end/app/Models/Programa.php +++ b/back-end/app/Models/Programa.php @@ -22,6 +22,7 @@ class Programa extends ModelBase 'nome', /* varchar(255); NOT NULL; */ // Nome do programa 'normativa', /* varchar(255); */ // Normativa que regula o programa de gestão 'link_normativa', /* varchar(255); */ // Link da Normativa que regula o programa de gestão + 'link_autorizacao', /* varchar(255); */ // Link da Normativa que autoriza o programa de gestão 'config', /* json; */ // Configurações do programa 'data_inicio', /* datetime; NOT NULL; */ // Inicio da vigência do programa 'data_fim', /* datetime; NOT NULL; */ // Fim da vigência do programa @@ -48,6 +49,7 @@ class Programa extends ModelBase 'tipo_avaliacao_id', /* char(36); NOT NULL; */ 'documento_id', /* char(36); */ 'unidade_id', /* char(36); NOT NULL; */ + 'unidade_autorizadora_id', /* char(36); */ 'template_tcr_id', /* char(36); */ //'deleted_at', /* timestamp; */ /*'periodo_avaliacao',*/ // REMOVED @@ -98,6 +100,11 @@ public function unidade() { return $this->belongsTo(Unidade::class); } + + public function unidadeAutorizadora() + { + return $this->belongsTo(Unidade::class, 'unidade_autorizadora_id'); + } public function documento() { return $this->belongsTo(Documento::class); diff --git a/back-end/app/Models/UnidadeIntegrante.php b/back-end/app/Models/UnidadeIntegrante.php index 3b3d65ef1..f77a76196 100644 --- a/back-end/app/Models/UnidadeIntegrante.php +++ b/back-end/app/Models/UnidadeIntegrante.php @@ -41,6 +41,10 @@ public function gestorDelegado() { return $this->hasOne(UnidadeIntegranteAtribuicao::class)->where('atribuicao', 'GESTOR_DELEGADO'); } + public function curador() + { + return $this->hasOne(UnidadeIntegranteAtribuicao::class)->where('atribuicao', 'CURADOR'); + } public function colaborador() { return $this->hasOne(UnidadeIntegranteAtribuicao::class)->where('atribuicao', 'COLABORADOR'); diff --git a/back-end/app/Models/Usuario.php b/back-end/app/Models/Usuario.php index 2444b2922..8a1e0c313 100644 --- a/back-end/app/Models/Usuario.php +++ b/back-end/app/Models/Usuario.php @@ -44,14 +44,15 @@ use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Foundation\Auth\User as Authenticatable; - +use OwenIt\Auditing\Contracts\Auditable as AuditableContract; +use OwenIt\Auditing\Auditable; class UsuarioConfig { } -class Usuario extends Authenticatable +class Usuario extends Authenticatable implements AuditableContract { - use HasPermissions, HasApiTokens, HasFactory, Notifiable, AutoUuid, MergeRelations, LogChanges, SoftDeletes; + use HasPermissions, HasApiTokens, HasFactory, Notifiable, AutoUuid, MergeRelations, LogChanges, SoftDeletes, Auditable; protected $table = "usuarios"; @@ -185,6 +186,10 @@ public function assinaturas() { return $this->hasMany(DocumentoAssinatura::class); } + public function ultimaAssinatura() + { + return $this->hasOne(DocumentoAssinatura::class)->ofMany('data_assinatura', 'max'); + } public function avaliacoes() { return $this->hasMany(Avaliacao::class); @@ -241,10 +246,16 @@ public function planosTrabalho() { return $this->hasMany(PlanoTrabalho::class); } + public function ultimoPlanoTrabalho() { + return $this->hasOne(PlanoTrabalho::class)->latestOfMany(); + } public function participacoesProgramas() { return $this->hasMany(ProgramaParticipante::class); } + public function ultimaParticipacaoPrograma() { + return $this->hasOne(ProgramaParticipante::class)->latestOfMany(); + } public function integracoes() { return $this->hasMany(Integracao::class); @@ -312,6 +323,14 @@ public function lotacao() { return $this->hasOne(UnidadeIntegrante::class)->has('lotado'); } + public function curadores() + { + return $this->hasMany(UnidadeIntegrante::class)->has('curador'); + } + public function curador() + { + return $this->hasOne(UnidadeIntegrante::class)->has('curador'); + } public function lotacoes() { return $this->hasMany(UnidadeIntegrante::class)->has('lotado'); diff --git a/back-end/app/Models/ViewApiPgd.php b/back-end/app/Models/ViewApiPgd.php new file mode 100644 index 000000000..ec66bc58d --- /dev/null +++ b/back-end/app/Models/ViewApiPgd.php @@ -0,0 +1,104 @@ +from("$schema.view_api_pgd"); +// }); +// } + + /** + * Filtra os resultados por tipo 'entrega'. + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @return \Illuminate\Database\Eloquent\Builder + */ + public function scopeEntrega($query) + { + return $query->where('tipo', 'entrega'); + } + + /** + * Filtra os resultados por tipo 'trabalho'. + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @return \Illuminate\Database\Eloquent\Builder + */ + public function scopeTrabalho($query) + { + return $query->where('tipo', 'trabalho'); + } + + /** + * Filtra os resultados por tipo 'participante'. + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @return \Illuminate\Database\Eloquent\Builder + */ + public function scopeParticipante($query) + { + return $query->where('tipo', 'participante'); + } + + public function scopeByTipo($query, $tipo) + { + return $query->where('tipo', $tipo); + } + + public static function getIdsByTipo($tipo) + { + return self::byTipo($tipo)->pluck('id')->toArray(); + } + + public static function getByInterval($daysInterval, $tipo = null) + { + return DB::select('CALL get_view_api_pgd_by_interval(?, ?)', [$daysInterval, $tipo]); + } + + + + /**Exemplo de Uso*/ + /* + use App\Models\ViewApiPgd; + $entregas = ViewApiPgd::entrega()->get(); + $trabalhos = ViewApiPgd::trabalho()->get(); + $participantes = ViewApiPgd::participante()->get(); + */ + + + /** Exemplo Chunk */ + /* + $type='participante'; + ViewApiPgd::where('tipo', $type)->chunk(100, function ($records) use ($type) { + foreach ($records as $record) { + $response = Http::post('https://api.pgd.gov.br/', [ + 'id' => $record->id, + 'tipo' => $record->tipo, + 'json_audit' => $record->json_audit, + ]); + + if ($response->failed()) { + // Tratar o erro (log, re-tentar, oq doer menos, etc.) + } + } + }); + */ + + + //$results = ApiPgd::getByInterval($daysInterval, $tipo); +} diff --git a/back-end/app/Services/API_PGD/AuditSources/AuditSource.php b/back-end/app/Services/API_PGD/AuditSources/AuditSource.php new file mode 100644 index 000000000..d2fd4d8c9 --- /dev/null +++ b/back-end/app/Services/API_PGD/AuditSources/AuditSource.php @@ -0,0 +1,22 @@ +withoutGlobalScope(SoftDeletingScope::class) + ->get() + ->map(function($data) use($tipo) { + return new ExportSource($tipo, $data->id, $data->json_audit); + }); + } +} + diff --git a/back-end/app/Services/API_PGD/AuditSources/ParticipanteAuditSource.php b/back-end/app/Services/API_PGD/AuditSources/ParticipanteAuditSource.php new file mode 100644 index 000000000..8ee4f120b --- /dev/null +++ b/back-end/app/Services/API_PGD/AuditSources/ParticipanteAuditSource.php @@ -0,0 +1,9 @@ +getDataFromView('participante'); + } +} \ No newline at end of file diff --git a/back-end/app/Services/API_PGD/AuditSources/PlanoEntregaAuditSource.php b/back-end/app/Services/API_PGD/AuditSources/PlanoEntregaAuditSource.php new file mode 100644 index 000000000..4c72e64c3 --- /dev/null +++ b/back-end/app/Services/API_PGD/AuditSources/PlanoEntregaAuditSource.php @@ -0,0 +1,10 @@ +getDataFromView('entrega'); + } +} + diff --git a/back-end/app/Services/API_PGD/AuditSources/PlanoTrabalhoAuditSource.php b/back-end/app/Services/API_PGD/AuditSources/PlanoTrabalhoAuditSource.php new file mode 100644 index 000000000..f4be40afd --- /dev/null +++ b/back-end/app/Services/API_PGD/AuditSources/PlanoTrabalhoAuditSource.php @@ -0,0 +1,11 @@ +getDataFromView('trabalho'); + } + +} + diff --git a/back-end/app/Services/API_PGD/AuthenticationService.php b/back-end/app/Services/API_PGD/AuthenticationService.php new file mode 100644 index 000000000..d76dbc19a --- /dev/null +++ b/back-end/app/Services/API_PGD/AuthenticationService.php @@ -0,0 +1,75 @@ + 'application/json', + 'Content-Type' => 'application/x-www-form-urlencoded' + ]; + $formParams = [ + 'username' => config('pgd')['username'], + 'password' => config('pgd')['password'] + ]; + + $response = Http::withOptions(['verify' => false, 'timeout' => self::TIMEOUT]) + ->withHeaders($header) + ->asForm()->post(config('pgd.host') . '/token', $formParams); + + if(!$response->successful() || !isset($response->json()['access_token'])) { + throw new ExceptionsBadRequestException('Falha na autenticação'); + } + + $responseObj = $response->json(); + return $responseObj['access_token']; + } + + public static function authenticate($tenantId, $username, $password) + { + try { + $response = Http::baseUrl(config('pgd.host')) + ->asForm() + ->post('/token', [ + 'username' => $username, + 'password' => $password + ]); + + if (!$response->successful()) { + if ($response->status() == Response::HTTP_UNPROCESSABLE_ENTITY) { + $data = $response->json(); + + if (is_array($data['detail'])) { + $detail = $data['detail']; + } else { + $detail = json_decode($data['detail'], true); + } + + echo "Erro no tenant $tenantId: ".$detail[0]['msg']; + } else { + $response->throw(); + } + } + + $dados = $response->json(); + $token = $dados['access_token']; + + return $token; + } catch(\Exception $e) { + LogError::newError("Erro ao obter Token da API PGD", $e); + throw $e; + } + } +} diff --git a/back-end/app/Services/API_PGD/DataSources/DataSource.php b/back-end/app/Services/API_PGD/DataSources/DataSource.php new file mode 100644 index 000000000..8ea80e80d --- /dev/null +++ b/back-end/app/Services/API_PGD/DataSources/DataSource.php @@ -0,0 +1,10 @@ +id){ + throw new ExportPgdException('ID de Usuário não definido'); + } + + $participante = Usuario::with([ + /*'ultimoPlanoTrabalho', + 'ultimoPlanoTrabalho.tipoModalidade', + 'ultimoPlanoTrabalho.ultimaAssinatura', + 'ultimaParticipacaoPrograma', + 'ultimaParticipacaoPrograma.programa.unidade', + 'unidadesIntegrantes.unidade',*/ + 'unidadesIntegrantes.atribuicoes' => function ($query) { + $query + ->where('atribuicao', 'LOTADO') + ->whereNull('deleted_at'); + } + ]) + ->find($exportSource->id); + + if (!$participante){ + throw new ExportPgdException('Usuário sem Participação'); + } + + return $participante; + } +} + diff --git a/back-end/app/Services/API_PGD/DataSources/PlanoEntregaDataSource.php b/back-end/app/Services/API_PGD/DataSources/PlanoEntregaDataSource.php new file mode 100644 index 000000000..498d60424 --- /dev/null +++ b/back-end/app/Services/API_PGD/DataSources/PlanoEntregaDataSource.php @@ -0,0 +1,49 @@ +id){ + throw new ExportPgdException('ID do Plano de Trabalho não definido'); + } + + $planoEntrega = PlanoEntrega::with([ + 'programa', + 'programa.unidadeAutorizadora', + 'programa.unidade', + 'unidade', + 'entregas', + 'entregas.unidade' + ]) + ->find($exportSource->id); + + if (!$planoEntrega){ + throw new ExportPgdException('Plano de Entrega removido ou inválido'); + } + + if (!$planoEntrega->programa){ + throw new ExportPgdException('Plano de Entrega não possui Programa'); + } + + if (!$planoEntrega->programa->unidadeAutorizadora){ + throw new ExportPgdException('Plano de Entrega não possui Unidade Autorizadora'); + } + + if (!$planoEntrega->unidade){ + throw new ExportPgdException('Plano de Trabalho não possui Unidade Executora'); + } + + if (!$planoEntrega->programa->unidade){ + throw new ExportPgdException('Plano de Trabalho não possui Unidade Instituidora'); + } + + return $planoEntrega; + } +} + diff --git a/back-end/app/Services/API_PGD/DataSources/PlanoTrabalhoDataSource.php b/back-end/app/Services/API_PGD/DataSources/PlanoTrabalhoDataSource.php new file mode 100644 index 000000000..e17d87f28 --- /dev/null +++ b/back-end/app/Services/API_PGD/DataSources/PlanoTrabalhoDataSource.php @@ -0,0 +1,59 @@ +id){ + throw new ExportPgdException('ID do Plano de Trabalho não definido'); + } + + $planoTrabalho = PlanoTrabalho::with([ + 'programa', + 'programa.unidadeAutorizadora', + 'unidade', + 'usuario', + 'entregas', + 'entregas.planoEntregaEntrega', + 'entregas.planoEntregaEntrega.planoEntrega' => function ($query) { + $query->whereIn('status', ['CANCELADO', 'ATIVO', 'CONCLUIDO', 'AVALIADO']); + }, + 'entregas.planoTrabalho', + 'consolidacoes' => function ($query) { + $query->whereIn('status', ['CANCELADO', 'AVALIADO']); + }, + 'consolidacoes.avaliacao' + ]) + ->find($exportSource->id); + //->whereIn('status', ['CANCELADO', 'ATIVO', 'CONCLUIDO', 'AVALIADO', '']); + + + if (!$planoTrabalho->programa){ + throw new ExportPgdException('Plano de Trabalho não possui Programa'); + } + + if (!$planoTrabalho->unidade){ + throw new ExportPgdException('Plano de Trabalho não possui Unidade Autorizadora'); + } + + if (!$planoTrabalho->programa->unidadeAutorizadora){ + throw new ExportPgdException('Plano de Trabalho não possui Unidade Autorizadora'); + } + + if (!$planoTrabalho->usuario){ + throw new ExportPgdException('Plano de Trabalho não possui Usuário'); + } + + if (!$planoTrabalho->usuario->ultimaParticipacaoPrograma){ + throw new ExportPgdException('Usuário do Plano de trabalho não possui Participação Ativa'); + } + + return $planoTrabalho; + } +} + diff --git a/back-end/app/Services/API_PGD/Export/ExportarParticipanteService.php b/back-end/app/Services/API_PGD/Export/ExportarParticipanteService.php new file mode 100644 index 000000000..6bf434640 --- /dev/null +++ b/back-end/app/Services/API_PGD/Export/ExportarParticipanteService.php @@ -0,0 +1,29 @@ +cod_unidade_autorizadora}/{$resource->cod_unidade_lotacao}/participante/{$resource->matricula_siape}"; + } + + public function atualizarEntidade($id) { + Usuario::where('id', $id)->update(["data_envio_api_pgd"=> Carbon::now()]); + } + +} + diff --git a/back-end/app/Services/API_PGD/Export/ExportarPlanoEntregasService.php b/back-end/app/Services/API_PGD/Export/ExportarPlanoEntregasService.php new file mode 100644 index 000000000..f7053ec4e --- /dev/null +++ b/back-end/app/Services/API_PGD/Export/ExportarPlanoEntregasService.php @@ -0,0 +1,31 @@ +cod_unidade_autorizadora}/plano_entregas/{$resource->id_plano_entregas}"; + } + + public function atualizarEntidade($id) { + echo "\nAtualizando Entrega $id"; + PlanoEntrega::where('id', $id)->update(array("data_envio_api_pgd"=> Carbon::now())); + } +} + diff --git a/back-end/app/Services/API_PGD/Export/ExportarPlanoTrabalhoService.php b/back-end/app/Services/API_PGD/Export/ExportarPlanoTrabalhoService.php new file mode 100644 index 000000000..9771b11b9 --- /dev/null +++ b/back-end/app/Services/API_PGD/Export/ExportarPlanoTrabalhoService.php @@ -0,0 +1,67 @@ +cod_unidade_autorizadora}/plano_trabalho/{$resource->id}"; + } + + public function atualizarEntidade($id) { + PlanoTrabalho::where('id', $id)->update(array("data_envio_api_pgd"=> Carbon::now())); + } + + public function setToken($token) { + $this->exportarParticipanteService->setToken($token); + $this->exportarPlanoEntregaService->setToken($token); + parent::setToken($token); + return $this; + } + + // envia participante juntamente com plano de trabalho + public function sendDependencia($data) + { + // echo "\nInserindo dependências do Plano de Trabalho [{$data->id}]\n"; + /*$this->exportarParticipanteService + ->load(new ExportSource('participante', $data->usuario->id, null, 'plano_trabalho: '.$data->id)) + ->enviar(); + + foreach($data->entregas as $planoTrabalhoEntrega) { + if ($planoTrabalhoEntrega->planoEntregaEntrega && + $planoTrabalhoEntrega->planoEntregaEntrega->plano_entrega_id && + $planoTrabalhoEntrega->planoEntregaEntrega->planoEntrega && + in_array($planoTrabalhoEntrega->planoEntregaEntrega->planoEntrega->status, ['ATIVO', 'CONCLUIDO', 'AVALIADO', 'CANCELADO']) + ) { + $this->exportarPlanoEntregaService + ->load(new ExportSource('entrega', $planoTrabalhoEntrega->planoEntregaEntrega->plano_entrega_id, null, 'plano_trabalho: '.$data->id)) + ->enviar(); + } + }*/ + } +} diff --git a/back-end/app/Services/API_PGD/Export/ExportarService.php b/back-end/app/Services/API_PGD/Export/ExportarService.php new file mode 100644 index 000000000..b48251cdb --- /dev/null +++ b/back-end/app/Services/API_PGD/Export/ExportarService.php @@ -0,0 +1,153 @@ +sucessos = 0; + $this->falhas = 0; + } + + public function setToken(string $token) { + $this->token = $token; + return $this; + } + + public function load($source) { + if (!$source instanceof Collection) { + $this->source = collect([$source]); + } else { + $this->source = $source; + } + return $this; + } + + public abstract function getEndpoint($dados): string; + + protected function alterarStatus(mixed $id, bool $status){ + //TODO alterar a tag no banco quando for sucesso ou não + } + + abstract public function getResource($model): JsonResource; + + abstract public function getDataSource(): DataSource; + + public function enviar(): void + { + $dataSource = $this->getDataSource(); + + foreach ($this->source as $source) + { + echo "\n[{$source->tipo}] ID {$source->id} [INICIADO]"; + + try { + $data = $dataSource->getData($source); + + $this->sendDependencia($data); + + $resource = $this->getResource($data); + + $body = (object) json_decode($resource->toJson(), true); + + $success = $this->pgdService->enviarDados( + $this->token, + $this->getEndpoint($body), + $body + ); + + if ($success) { + $this->handleSucesso($source); + } else { + $this->handleError('Erro no envio!', $source); + var_dump($body); + } + + }catch(ExportPgdException $exception) { + $this->handleError($exception->getmessage(), $source); + continue; + } + } + + } + + public function sendDependencia($data) { + return true; + } + + public function handleError($message, ExportSource $source) + { + echo "\n[{$source->tipo}] ID {$source->id} [\033[31mERRO\033[0m]"; + echo "\nMensagem: ".$message."\n"; + + $this->falhas++; + + LogError::newError( + "Erro ao sincronizar com o PGD: ", + new ExportPgdException($message), + $source + ); + + if ($source->auditIds) { + try{ + DB::table('audits') + ->whereIn('id', $source->auditIds) + ->update( + [ + 'tags' => json_encode(['ERRO']), + 'error_message' => $message + ] + ); + } catch(\Exception $exception) { + LogError::newError("Erro atualizar audit: ", $exception, $source); + } + } + } + + abstract public function atualizarEntidade($id); + + public function handleSucesso(ExportSource $source) { + + $this->atualizarEntidade($source->id); + + $this->sucessos++; + + if ($source->auditIds) + { + DB::table('audits') + ->whereIn('id', $source->auditIds) + ->update([ + 'tags' => json_encode(['SUCESSO']), + 'error_message' => null + ]); + } + + echo "\n[{$source->tipo}] ID {$source->id} [\033[32mSUCESSO\033[0m]"; + } + + public function getSucessos() { + return $this->sucessos; + } + + public function getFalhas() { + return $this->falhas; + } +} diff --git a/back-end/app/Services/API_PGD/Export/ExportarTenantService.php b/back-end/app/Services/API_PGD/Export/ExportarTenantService.php new file mode 100644 index 000000000..5ad20674d --- /dev/null +++ b/back-end/app/Services/API_PGD/Export/ExportarTenantService.php @@ -0,0 +1,75 @@ +find($tenantId); + tenancy()->initialize($tenant); + + if (!$tenant['api_username'] or !$tenant['api_password']) { + LogError::newError('Usuário ou senha da API PGD não definidos no Tenant '.$tenantId); + throw new ExportPgdException('Usuário ou senha da API PGD não definidos no Tenant '.$tenantId); + } + + $token = $this->authService->authenticate($tenantId, $tenant['api_username'], $tenant['api_password']); + + $this->exportarParticipanteService + ->setToken($token) + ->load($this->participanteAuditSource->getData()) + ->enviar(); + + $this->exportarPlanoEntregasService + ->setToken($token) + ->load($this->planoEntregaAuditSource->getData()) + ->enviar(); + + $this->exportarPlanoTrabalhoService + ->setToken($token) + ->load($this->planoTrabalhoAuditSource->getData()) + ->enviar(); + + tenancy()->end(); + + $this->finalizar(); + } + + public function finalizar() { + echo "\n\n** FINALIZADO!\n\n"; + + echo "\033[32mParticipantes\033[0m ". + "\nSucedidos: ". $this->exportarParticipanteService->getSucessos(). + "\nFalhas: ". $this->exportarParticipanteService->getFalhas(). + "\n\n\033[32mPlanos de Entrega\033[0m ". + "\nSucedidos: ". $this->exportarPlanoEntregasService->getSucessos(). + "\nFalhas: ". $this->exportarPlanoEntregasService->getFalhas(). + "\n\n\033[32mPlanos de Trabalho\033[0m ". + "\nSucedidos: ". $this->exportarPlanoTrabalhoService->getSucessos(). + "\nFalhas: ". $this->exportarPlanoTrabalhoService->getFalhas(). + "\n\n"; + } +} diff --git a/back-end/app/Services/API_PGD/ExportSource.php b/back-end/app/Services/API_PGD/ExportSource.php new file mode 100644 index 000000000..a1e7794d0 --- /dev/null +++ b/back-end/app/Services/API_PGD/ExportSource.php @@ -0,0 +1,21 @@ +tipo = $tipo; + $this->id = $id; + + if ($json_audit) { + $this->auditIds = json_decode($json_audit); + } else { + $this->auditIds = null; + } + } +} + diff --git a/back-end/app/Services/API_PGD/PgdService.php b/back-end/app/Services/API_PGD/PgdService.php new file mode 100644 index 000000000..a87f53331 --- /dev/null +++ b/back-end/app/Services/API_PGD/PgdService.php @@ -0,0 +1,73 @@ + false, + 'timeout'=> self::TIMEOUT, + //'debug' => true + ]) + ->baseUrl(config('pgd.host')) + ->withToken($token); + } + + public function enviarDados($token, $endpoint, $body) : bool + { + try { + $this->exception = null; + + $response = $this->getHttpClient($token)->put($endpoint, $body) + ->throw(function (Response $response, RequestException $e) { + $this->logReponse = $response; + }); + return $response->successful(); + + } catch (\Exception $e) { + $this->exception = $e; + + $response = $this->getLogReponse(); + + if ($response->status() == 422) { + $data = $response->json(); + + if (is_array($data['detail'])) { + $errorData = $data['detail'][0]; + throw new ExportPgdException($errorData['msg'].' '.implode(', ', $errorData['loc'])); //. ' Data: '.print_r($body, true)); + } else { + throw new ExportPgdException($data['detail']); //. ' Data: '.print_r($body, true)); + } + + } else { + throw new ExportPgdException('Erro inesperado. Status: '.$response->status(). + ". Msg: ".$e->getMessage(). + ". URL: ".$endpoint. + ". Data: ".print_r($body, true) + ); + } + + return false; + } + } + + public function getLogReponse() : mixed + { + return $this->logReponse; + } + + public function getException() : ?\Exception + { + return $this->exception; + } +} + diff --git a/back-end/app/Services/API_PGD/Resources/ModalidadeResource.php b/back-end/app/Services/API_PGD/Resources/ModalidadeResource.php new file mode 100644 index 000000000..2fb16c3ea --- /dev/null +++ b/back-end/app/Services/API_PGD/Resources/ModalidadeResource.php @@ -0,0 +1,39 @@ +nome == 'Presencial') { + return 1; + } + + if (str_contains(strtolower($this->nome), 'parcial')) { + return 2; // Teletrabalho parcial + } + + if (str_contains($this->nome, 'Integral')) { + return 3; // Teletrabalho integral + } + + if (str_contains($this->nome, 'VIII')) { + return 4; // Teletrabalho com residência no exterior (Dec.11.072/2022, art. 12, VIII) + } + + if (str_contains($this->nome, '11.072/2022')) { + return 5; // Teletrabalho com residência no exterior (Dec.11.072/2022, art. 12, §7° + } + + if (str_contains($this->nome, 'exterior')) { + return 5; // Teletrabalho com residência no exterior (Dec.11.072/2022, art. 12, §7° + } + + throw new ExportPgdException('Modalidade inválida: '.$this->nome); + } +} diff --git a/back-end/app/Services/API_PGD/Resources/ParticipanteResource.php b/back-end/app/Services/API_PGD/Resources/ParticipanteResource.php new file mode 100644 index 000000000..b2b987358 --- /dev/null +++ b/back-end/app/Services/API_PGD/Resources/ParticipanteResource.php @@ -0,0 +1,72 @@ +ultimaParticipacaoPrograma){ + throw new ExportPgdException('Usuário sem Participação'); + } + + if (!$this->matricula){ + throw new ExportPgdException('Usuário sem Matrícula'); + } + + if (!$this->ultimoPlanoTrabalho){ + throw new ExportPgdException('Usuário sem Plano de Trabalho'); + } + + $autorizadora = $this->ultimaParticipacaoPrograma->programa->unidadeAutorizadora ?? null; + + if (!$autorizadora || !$autorizadora->codigo){ + throw new ExportPgdException('Usuário sem Unidade Autorizadora'); + } + + $instituidora = $this->ultimaParticipacaoPrograma->programa->unidade ?? null; + + if (!$instituidora || !$instituidora->codigo){ + throw new ExportPgdException('Usuário sem Unidade Instituidora'); + } + + $unidadeIntegrante = $this->unidadesIntegrantes->first(); + + if (!$unidadeIntegrante || !$unidadeIntegrante->unidade || !$unidadeIntegrante->unidade->codigo){ + throw new ExportPgdException('Usuário não possui unidade de Lotação'); + } + + $dataAssinatura = $this->ultimaAssinatura->data_assinatura ?? null; + + if (!$dataAssinatura){ + throw new ExportPgdException('Usuário não possui data de assinatura'); + } + + if (!$this->ultimoPlanoTrabalho->tipoModalidade){ + throw new ExportPgdException('Usuário não possui modalidade definida'); + } + + $modalidade = new ModalidadeResource($this->ultimoPlanoTrabalho->tipoModalidade); + + $result = [ + "id" => $this->id, + "tipo" => 'participante', + "origem_unidade" => "SIAPE", + 'cod_unidade_autorizadora' => $autorizadora->codigo ?? null, + 'cod_unidade_instituidora' => $instituidora->codigo ?? null, + 'cod_unidade_lotacao' => $unidadeIntegrante->unidade->codigo ?? null, + 'matricula_siape' => str_pad($this->matricula, 7, '0'), + 'cpf' => $this->cpf, + 'situacao' => $this->ultimaParticipacaoPrograma->habilitado ?? 0, + "modalidade_execucao" => $modalidade->get(), + "data_assinatura_tcr" => $dataAssinatura ? Carbon::parse($dataAssinatura)->toDateTimeLocalString() : null + ]; + + return $result; + } +} diff --git a/back-end/app/Services/API_PGD/Resources/PlanoEntregaEntregaResource.php b/back-end/app/Services/API_PGD/Resources/PlanoEntregaEntregaResource.php new file mode 100644 index 000000000..6285004a8 --- /dev/null +++ b/back-end/app/Services/API_PGD/Resources/PlanoEntregaEntregaResource.php @@ -0,0 +1,37 @@ + $this->id, + "nome_entrega" => $this->descricao, + "meta_entrega" => $this->progresso_realizado, + "tipo_meta" => $this->getMeta(), //$this->meta, //* + "data_entrega" => $this->data_fim ? + Carbon::parse($this->data_fim)->format('Y-m-d') + : null, + "nome_unidade_demandante" => $this->unidade->nome, + "nome_unidade_destinataria" => $this->destinatario + ]; + } + + public function getMeta() { + $meta = $this->meta; + if (is_string($this->meta)) { + $meta = json_decode($this->meta); + } + + if (isset($meta->porcentagem)) return 'percentual'; + if (isset($meta->quantitativo)) return 'unidade'; + + throw new ExportPgdException('Meta inválida: '.$meta); + } + +} \ No newline at end of file diff --git a/back-end/app/Services/API_PGD/Resources/PlanoEntregaResource.php b/back-end/app/Services/API_PGD/Resources/PlanoEntregaResource.php new file mode 100644 index 000000000..056ef72ef --- /dev/null +++ b/back-end/app/Services/API_PGD/Resources/PlanoEntregaResource.php @@ -0,0 +1,69 @@ + $this->id, + "tipo" => 'entrega', + "id_plano_entregas" => $this->id, + "origem_unidade" => "SIAPE", + "cod_unidade_autorizadora" => $this->programa->unidadeAutorizadora->codigo ?? null, + "cod_unidade_instituidora" => $this->programa->unidade->codigo, + "cod_unidade_executora" => $this->unidade->codigo, + "data_inicio" => Carbon::parse($this->data_inicio)->format('Y-m-d'), + "data_termino" => Carbon::parse($this->data_fim)->format('Y-m-d'), + "status" => $this->getStatus(), + "avaliacao" => $this->getAvaliacao(), + "data_avaliacao" => $this->avaliacao?->data_avaliacao ? + Carbon::parse($this->avaliacao?->data_avaliacao)->format('Y-m-d') + : null, + "entregas" => $this->entregas + ? PlanoEntregaEntregaResource::collection($this->entregas) + : [], + ]; + } + + function getStatus() + { + switch ($this->status) { + case 'CANCELADO': + return 1; + case 'ATIVO': + return 3; + case 'CONCLUIDO': + return 4; + case 'AVALIADO': + return 5; + default: + throw new ExportPgdException('Plano de Entrega com status inválido para Envio: '.$this->status); + } + } + + public function getAvaliacao() { + switch($this->avaliacao->nota ?? null) { + case "Adequado": + return 3; + case "Superou o acordado": + case "Alto desempenho": + return 2; + case "Atendeu ao acordado": + return 3; + case "Excepcional": + return 1; + case "Inadequado": + case "Não executado": + return 5; + case "Atendeu parcialmente ao adequado": + return 4; + default: + return null; + } + } +} \ No newline at end of file diff --git a/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoAvaliacaoResource.php b/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoAvaliacaoResource.php new file mode 100644 index 000000000..3e237ed8c --- /dev/null +++ b/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoAvaliacaoResource.php @@ -0,0 +1,38 @@ + $this->id, + "data_inicio_periodo_avaliativo" => $this->data_inicio, + "data_fim_periodo_avaliativo" => $this->data_fim, + "avaliacao_registros_execucao" => $this->converteAvaliacao($this->avaliacao->nota ?? 5), + "data_avaliacao_registros_execucao" => Carbon::parse($this->avaliacao->data_avaliacao ?? '')->format('Y-m-d'), + ]; + } + + function converteAvaliacao($nota) + { + switch ($nota) { + case 'Excepcional': + return 1; + case 'Alto desempenho': + return 2; + case 'Adequado': + return 3; + case 'Inadequado': + return 4; + case 'Não executado': + return 5; + default: + return 5; + } + } +} diff --git a/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoContribuicaoResource.php b/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoContribuicaoResource.php new file mode 100644 index 000000000..e31474bb0 --- /dev/null +++ b/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoContribuicaoResource.php @@ -0,0 +1,21 @@ + $this->id, + "tipo_contribuicao" => $this->planoEntregaEntrega + ? (($this->planoEntregaEntrega && ($this->planoEntregaEntrega->unidade_id == $this->planoTrabalho->unidade_id)) ? 1 : 3) + : 2, + "percentual_contribuicao" => floor($this->forca_trabalho ?? 0), + "id_plano_entregas" => $this->planoEntregaEntrega->plano_entrega_id ?? null, + "id_entrega" => $this->planoEntregaEntrega->id ?? null, + ]; + } +} diff --git a/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoResource.php b/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoResource.php new file mode 100644 index 000000000..b48fda1bc --- /dev/null +++ b/back-end/app/Services/API_PGD/Resources/PlanoTrabalhoResource.php @@ -0,0 +1,61 @@ +qtdDiasUteis( + $this->data_inicio, $this->data_fim, + $this->unidade_id + ); + + //$participante = new ParticipanteResource($this->usuario); + + return [ + "id" => $this->id, + "tipo" => 'trabalho', + "origem_unidade" => "SIAPE", + "cod_unidade_autorizadora" => $this->programa->unidadeAutorizadora->codigo ?? null, + "id_plano_trabalho" => $this->id, + "status" => $this->converteStatus($this->status) ?? '3', + "cod_unidade_executora" => $this->unidade->codigo ?? null, + "cpf_participante" => $this->usuario->cpf ?? '', + "matricula_siape" => $this->usuario->matricula ?? '', + "data_inicio" => Carbon::parse($this->data_inicio)->format('Y-m-d'), + "data_termino" => Carbon::parse($this->data_fim)->format('Y-m-d'), + "carga_horaria_disponivel" => $diasUteis * $this->carga_horaria, + "contribuicoes" => $this->entregas + ? PlanoTrabalhoContribuicaoResource::collection($this->entregas) + : [], + "avaliacoes_registros_execucao" => $this->consolidacoes + ? PlanoTrabalhoAvaliacaoResource::collection($this->consolidacoes) + : [], + // "participante" => $participante->toArray($request) + ]; + } + + function converteStatus($status) + { + switch ($status) { + case 'CANCELADO': + return 1; + case 'ATIVO': + return 3; + case 'CONCLUIDO': + case 'AVALIADO': + return 4; + default: + // return 4; // somente para testes + throw new ExportPgdException('Plano de Trabalho com status inválido para Envio: '.$status); + } + } +} diff --git a/back-end/app/Services/AfastamentoService.php b/back-end/app/Services/AfastamentoService.php index 63b15b4ac..9511014d5 100644 --- a/back-end/app/Services/AfastamentoService.php +++ b/back-end/app/Services/AfastamentoService.php @@ -4,5 +4,16 @@ use App\Models\Afastamento; use App\Services\ServiceBase; +use App\Models\PlanoTrabalhoConsolidacaoAfastamento; // Importar o model -class AfastamentoService extends ServiceBase {} +class AfastamentoService extends ServiceBase { + public function afterStore($entity, $data) { + $afastamentoConsolidacao = PlanoTrabalhoConsolidacaoAfastamento::where("afastamento_id", $entity->id)->first(); + if($afastamentoConsolidacao && $afastamentoConsolidacao->exists()) { + $snapshot = (object) $afastamentoConsolidacao->snapshot; + $snapshot->data_inicio = $entity->data_inicio; + $snapshot->data_fim = $entity->data_fim; + $afastamentoConsolidacao->save(); + } + } +} diff --git a/back-end/app/Services/IntegracaoService.php b/back-end/app/Services/IntegracaoService.php index 2a1454b0a..ad5aff32b 100644 --- a/back-end/app/Services/IntegracaoService.php +++ b/back-end/app/Services/IntegracaoService.php @@ -21,6 +21,7 @@ use Illuminate\Support\Facades\Http; use App\Models\UnidadeIntegranteAtribuicao; use App\Repository\IntegracaoServidorRepository; +use App\Services\Siape\Gestor\Integracao as GestorIntegracao; use App\Services\Siape\Servidor\Integracao; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; @@ -269,7 +270,7 @@ public function sincronizar($inputs) $this->sincronizacao($inputs); $this->logSiape("Sincronização de dados do SIAPE finalizada", [], Tipo::INFO); - + return $this->store([ 'entidade_id' => $inputs['entidade'], 'atualizar_unidades' => $inputs['unidades'] == "false" ? false : true, @@ -380,6 +381,7 @@ public function sincronizacao($inputs) } $nomeuorg = $self->UtilService->valueOrDefault($uo["nomeuorg"], null); + if (!is_null($nomeuorg)) $nomeuorg = $self->UtilService->getNomeFormatado($nomeuorg); $unidade = [ 'id_servo' => $self->UtilService->valueOrDefault($uo["id_servo"], null, $option = "uorg"), @@ -413,6 +415,8 @@ public function sincronizacao($inputs) 'data_modificacao' => date("Y-m-d H:i:s", $uorg_siape_data_modificacao), 'und_nu_adicional' => $self->UtilService->valueOrDefault($uo["und_nu_adicional"], null), 'cnpjupag' => $self->UtilService->valueOrDefault($uo["cnpjupag"], null), + 'cpf_titular_autoridade_uorg' => $self->UtilService->valueOrDefault($uo["cpf_titular_autoridade_uorg"], null), + 'cpf_substituto_autoridade_uorg' => $self->UtilService->valueOrDefault($uo["cpf_substituto_autoridade_uorg"], null), 'deleted_at' => null, ]; @@ -677,36 +681,6 @@ public function sincronizacao($inputs) 'data_modificacao' => $this->UtilService->asDateTime($linha->data_modificacao), 'data_nascimento' => $linha->data_nascimento, ]); - - // $this->atualizaLogs($this->logged_user_id, 'usuarios', $linha->id, 'EDIT', [ - // 'Rotina' => 'Integração', - // 'Observação' => 'Servidor ATIVO que foi atualizado porque apresentou ' . - // 'alteração em seus dados pessoais!', - // 'Valores anteriores' => [ - // 'nome' => $linha->nome_anterior, - // 'nomeguerra' => $linha->apelido_anterior, - // 'email' => $linha->email_anterior, - // 'matricula' => $linha->matricula_anterior, - // 'telefone' => $linha->telefone_anterior, - // 'id' => $linha->id, - // 'data_modificacao' => $this->UtilService->asDateTime($linha->data_modificacao_anterior), - // 'data_nascimento' => $linha->data_nascimento, - // 'nome_jornada' => $linha->nome_jornada_antigo, - // 'cod_jornada' => $linha->cod_jornada_antigo, - // ], - // 'Valores atuais' => [ - // 'nome' => $linha->nome_servidor, - // 'nomeguerra' => $linha->nome_guerra, - // 'email' => $linha->emailfuncional, - // 'matricula' => $linha->matriculasiape, - // 'telefone' => $linha->telefone, - // 'id' => $linha->id, - // 'data_modificacao' => $this->UtilService->asDateTime($linha->data_modificacao), - // 'data_nascimento' => $linha->data_nascimento, - // 'nome_jornada' => $linha->nome_jornada, - // 'cod_jornada' => $linha->cod_jornada, - // ] - // ]); } }; @@ -862,222 +836,63 @@ public function sincronizacao($inputs) if ($this->echo) $this->imprimeNoTerminal("Iniciando a fase de reconstrução das funções de chefia!....."); try { DB::beginTransaction(); - // Seleciona o ID do usuário e as funções de todos os servidores ativos trazidos do SIAPE e que já existem na tabela Usuários. - // Filtra apenas aqueles que são gestores ou gestores substitutos. - $query_selecionar_chefes = ""; + $chefes = []; if ($this->integracao_config["tipo"] == "SIAPE") { - $query_selecionar_chefes = "" . - "SELECT u.id, isr.funcoes " . - "FROM integracao_servidores as isr " . - "INNER JOIN usuarios as u " . - "ON isr.cpf = u.cpf " . - "WHERE (isr.vinculo_ativo = 'true' OR isr.vinculo_ativo = '1') AND " . - "u.cpf IS NOT NULL AND " . - "u.deleted_at IS NULL AND " . - "isr.funcoes is NOT NULL AND " . - "u.cpf IN " . - "(SELECT distinct(cpf_chefia_imediata) " . - "FROM integracao_servidores " . - "WHERE cpf_chefia_imediata IS NOT NULL)"; - } else { - $query_selecionar_chefes = "" . - "SELECT u.id, isr.funcoes " . - "FROM integracao_servidores as isr " . - "INNER JOIN usuarios as u " . - "ON isr.cpf = u.cpf " . - "WHERE (isr.vinculo_ativo = 'true' OR isr.vinculo_ativo = '1') AND " . - "u.cpf IS NOT NULL AND " . - "u.deleted_at IS NULL AND " . - "isr.funcoes is NOT NULL"; - } - - $chefes = DB::select($query_selecionar_chefes); - - // Percorre todos os gestores, montando um array com os dados da chefia (matricula do chefe, código siape da unidade, tipo de função). - $chefias = []; - foreach ($chefes as $chefe) { - $this->logSiape("Montando array de chefias", (array) $chefe, Tipo::INFO); - $funcoes = json_decode($chefe->funcoes); - if (is_array($funcoes->funcao)) { - // Nesse caso o servidor é gestor de mais de uma unidade. - $chefias = array_merge( - $chefias, - array_map(fn ($f) => ['id_usuario' => $chefe->id, 'codigo_siape' => $f->uorg_funcao, 'tipo_funcao' => $f->tipo_funcao], $funcoes->funcao) - ); - } else { - // Nesse caso o servidor é gestor de apenas uma unidade. - array_push($chefias, ['id_usuario' => $chefe->id, 'codigo_siape' => $funcoes->funcao->uorg_funcao, 'tipo_funcao' => $funcoes->funcao->tipo_funcao]); - } - } + $chefes = DB::table('integracao_unidades as iu') + ->join('unidades as u', 'iu.codigo_siape', '=', 'u.codigo') + ->leftJoin('usuarios as chefe', function($join) { + $join->on('iu.cpf_titular_autoridade_uorg', '=', 'chefe.cpf') + ->whereNull('chefe.deleted_at'); + }) + ->leftJoin('integracao_servidores as is_chef', function($join) { + $join->on('iu.cpf_titular_autoridade_uorg', '=', 'is_chef.cpf') + ->where('is_chef.vinculo_ativo', '=', 1); + }) + ->leftJoin('usuarios as substituto', function($join) { + $join->on('iu.cpf_substituto_autoridade_uorg', '=', 'substituto.cpf') + ->whereNull('substituto.deleted_at'); + }) + ->leftJoin('integracao_servidores as is_sub', function($join) { + $join->on('iu.cpf_substituto_autoridade_uorg', '=', 'is_sub.cpf') + ->where('is_sub.vinculo_ativo', '=', 1); + }) + ->whereNull('u.deleted_at') + ->select( + 'u.id as id_unidade', + 'chefe.id as id_chefe', + 'substituto.id as id_substituto' + ) + ->get()->map(function($item) { + return (array) $item; + }) + ->toArray(); + + + } if ($this->echo) $this->imprimeNoTerminal("Concluída a fase de montagem do array de chefias!....."); - $usuarioChefe = $this->integracao_config["perfilChefe"]; - $perfilChefe = $this->nivelAcessoService->getPerfilChefia(); - if (empty($perfilChefe)) { - throw new ServerException("ValidateUsuario", "Perfil de gestor (" . $usuarioChefe . ") não encontrado no banco de dados. Verificar configuração no painel SaaS."); - } - $perfilChefeId = $perfilChefe->id; - - $perfilDesenvolvedor = $this->nivelAcessoService->getPerfilDesenvolvedor(); - if (empty($perfilDesenvolvedor)) { - throw new ServerException("ValidateUsuario", "Perfil de desenvolvedor não encontrado no banco de dados. Verificar configuração no painel SaaS."); - } - $perfilDesenvolvedorId = $perfilDesenvolvedor->id; - foreach ($chefias as $chefia) { - $querySelecionarUnidade = "SELECT u.id " . - "FROM integracao_unidades as iu " . - "JOIN unidades as u " . - "ON iu.id_servo = u.codigo " . - "WHERE iu.codigo_siape = :codigo_siape"; - - $unidadeExercicio = DB::select( - $querySelecionarUnidade, - [':codigo_siape' => $chefia['codigo_siape']] - ); - - // Monta a consulta de acordo com o tipo de função e efetua o registro na tabela unidade_integrante_atribucoes. - if (isset($unidadeExercicio[0]) && !empty($unidadeExercicio[0]->id)) { - $unidadeExercicioId = $unidadeExercicio[0]->id; - if ($chefia['tipo_funcao'] == '1') { - // Verificar se existe mais atribuições // - // Após consultar todas as atribuições já existentes e montar o array para gravar, verificar se - // é substituto e/ou delegado ao mesmo tempo. Se sim, remover do array (GESTOR_SUBSTITUTO e DELEGADO). - $queryChefe = Usuario::find($chefia['id_usuario']); - $queryChefeAtribuicoes = $queryChefe->getUnidadesAtribuicoesAttribute(); - $chefeAtribuicoes = []; - if ( - !empty($queryChefeAtribuicoes) && - is_array($queryChefeAtribuicoes) && - array_key_exists($unidadeExercicioId, $queryChefeAtribuicoes) && - $queryChefeAtribuicoes[$unidadeExercicioId] - ) { - $chefeAtribuicoes = array_diff($queryChefeAtribuicoes[$unidadeExercicioId], ["DELEGADO", "GESTOR_SUBSTITUTO"]); - if (!in_array("GESTOR", $chefeAtribuicoes)) array_push($chefeAtribuicoes, "GESTOR"); - $chefeAtribuicoes = array_values(array_unique($chefeAtribuicoes)); - } else { - $chefeAtribuicoes = ["LOTADO", "GESTOR"]; - } - - $vinculo = array([ - 'usuario_id' => $chefia['id_usuario'], - 'unidade_id' => $unidadeExercicioId, - 'atribuicoes' => $chefeAtribuicoes, - ]); - $this->logSiape("Salvando integrantes", $vinculo, Tipo::INFO); - $this->unidadeIntegrante->salvarIntegrantes($vinculo, false); - - $perfilAdministradorNegocial = $this->nivelAcessoService->getPerfilAdministrador(); - if (empty($perfilAdministradorNegocial)) { - throw new ServerException("ValidateUsuario", "Perfil de administrador negocial não encontrado no banco de dados. Verificar configuração no painel SaaS."); - } - - // Atualiza nível nível de acesso para chefe caso servidor não seja Desenvolvedor. - if (!in_array($queryChefe->perfil->id, [$perfilAdministradorNegocial->id, $perfilDesenvolvedorId])) { - $values = [ - ':perfil_id' => $perfilChefeId, - ':id' => $chefia['id_usuario'] - ]; - $sqlPerfilUpdate = "UPDATE usuarios SET perfil_id = :perfil_id WHERE id = :id"; - $this->logSiape("Atualizando perfil do chefe", $values, Tipo::INFO); - DB::update($sqlPerfilUpdate, $values); - } else { - LogError::newWarn("IntegracaoService: durante atualização de gestores, o usuário não teve seu perfil atualizado para " . $usuarioChefe . - " uma vez que é Desenvolvedor.", [$queryChefe->nome, $queryChefe->email]); - } - - // Verificar se existe mais atribuições. - // Após consultar todas as atribuições já existentes e montar o array para gravar, verificar se - // é substituto e/ou delegado ao mesmo tempo. Se sim, remover do array (substituto e delegado). - } else if ($chefia['tipo_funcao'] == '2') { - $queryChefe = Usuario::find($chefia['id_usuario']); - $queryChefeAtribuicoes = $queryChefe->getUnidadesAtribuicoesAttribute(); - $chefeAtribuicoes = []; - - if ( - !empty($queryChefeAtribuicoes) && - is_array($queryChefeAtribuicoes) && - array_key_exists($unidadeExercicioId, $queryChefeAtribuicoes) && - $queryChefeAtribuicoes[$unidadeExercicioId] - ) { - $chefeAtribuicoes = array_diff($queryChefeAtribuicoes[$unidadeExercicioId], ["GESTOR"]); - if (!in_array("GESTOR_SUBSTITUTO", $chefeAtribuicoes)) array_push($chefeAtribuicoes, "GESTOR_SUBSTITUTO"); - $chefeAtribuicoes = array_values(array_unique($chefeAtribuicoes)); - } else { - $chefeAtribuicoes = ["GESTOR_SUBSTITUTO"]; - } - - $vinculo = array([ - 'usuario_id' => $chefia['id_usuario'], - 'unidade_id' => $unidadeExercicioId, - 'atribuicoes' => $chefeAtribuicoes, - ]); - $this->logSiape("Salvando integrantes", $vinculo, Tipo::INFO); - $this->unidadeIntegrante->salvarIntegrantes($vinculo, false); - - $perfilAdministradorNegocial = $this->nivelAcessoService->getPerfilAdministrador(); - if (empty($perfilAdministradorNegocial)) { - throw new ServerException("ValidateUsuario", "Perfil de administrador negocial não encontrado no banco de dados. Verificar configuração no painel SaaS."); - } - - // Atualiza nível nível de acesso para chefe caso servidor não seja Desenvolvedor ou Administrador Negocial. - if ($perfilDesenvolvedorId != $queryChefe->perfil->id || $perfilAdministradorNegocial->id != $queryChefe->perfil->id) { - $values = [ - ':perfil_id' => $perfilChefeId, - ':id' => $chefia['id_usuario'] - ]; - $this->logSiape("Atualizando perfil do chefe", $values, Tipo::INFO); - $sqlPerfilUpdate = "UPDATE usuarios SET perfil_id = :perfil_id WHERE id = :id"; - DB::update($sqlPerfilUpdate, $values); - } else { - $this->logSiape("IntegracaoService: durante atualização de gestores, o usuário não teve seu perfil atualizado para " . $usuarioChefe . - " uma vez que é {$perfilDesenvolvedor->nome} {$perfilAdministradorNegocial->nome}.", [$queryChefe->nome, $queryChefe->email], Tipo::WARNING); - - LogError::newWarn("IntegracaoService: durante atualização de gestores, o usuário não teve seu perfil atualizado para " . $usuarioChefe . - " uma vez que é {$perfilDesenvolvedor->nome} {$perfilAdministradorNegocial->nome}.", [$queryChefe->nome, $queryChefe->email]); - } - } else { - $this->logSiape("Falha ao atualizar chefia", $chefia, Tipo::ERROR); - throw new IntegrationException("Falha no array de funções do servidor"); - } - } else { - $chefiaSiape = null; - if(is_array($chefia) && array_key_exists('codigo_siape', $chefia) && !empty($chefia['codigo_siape'])){ - $chefiaSiape = $chefia['codigo_siape']; - if(is_array($chefiaSiape)){ - $chefiaSiape = implode($chefiaSiape); - } - if(!is_string($chefiaSiape)){ - $chefiaSiape = null; - } - } - - $nomeUsuario = Usuario::where('id', $chefia['id_usuario'])->first()->nome; - if(!is_string($nomeUsuario)) { - $nomeUsuario = null; - } - - $unidade = array_filter($uos, function ($o) use ($chefia) { - if ($o['id_servo'] == $chefia['codigo_siape']) { - return $o['nomeuorg']; - } - }); - if(!is_string($unidade)){ - $unidade = "Desconhecida - "; - } - - array_push($this->result['gestores']["Falhas"], - 'Impossível lançar chefia (' . strtoupper($nomeUsuario) . ') porque a Unidade de código SIAPE ' . - $chefiaSiape . '(' . $unidade . 'nome não localizado!' . ')' . ' não está cadastrada/ativa!'); + $integracaoChefia = new GestorIntegracao( + $chefes, + (new Usuario), + $this->unidadeIntegrante, + $this->nivelAcessoService, + $this->perfilService, + $this->integracao_config + ); + $integracaoChefia->processar(); + $messagensRetorno = $integracaoChefia->getMessage(); + Log::info("Mensagens de retorno da atualização de chefias: ", $messagensRetorno); - } - } DB::commit(); $this->result["gestores"]['Resultado'] = 'Sucesso'; - $this->result["gestores"]['Observações'] = [...$this->result["gestores"]['Observações'], ...array_filter([ - count($chefes) . (count($chefes) == 1 ? ' gestor atualizado, ' : ' gestores atualizados, ') . count($chefias) . (count($chefias) == 1 ? ' chefia atualizada!' : ' chefias atualizadas!') - ], fn ($o) => intval(substr($o, 0, strpos($o, 'gestor') - 1)) > 0)]; + $this->result["gestores"]['Observações'] = [ + 'Sucesso: '.count($messagensRetorno['sucesso']) . ' chefias foram atualizadas com sucesso!', + 'Erro: '.count($messagensRetorno['erro']) . ' chefias não puderam ser atualizadas!', + 'Aviso: '.count($messagensRetorno['vazio']) . ' chefias vazias ou não encontradas!', + ]; + } catch (Throwable $e) { DB::rollback(); $this->logSiape("Erro ao atualizar os gestores (titulares/substitutos)", throwableToArray($e), Tipo::ERROR); diff --git a/back-end/app/Services/IntegracaoSiapeService.php b/back-end/app/Services/IntegracaoSiapeService.php index 191034fa0..673bf504b 100644 --- a/back-end/app/Services/IntegracaoSiapeService.php +++ b/back-end/app/Services/IntegracaoSiapeService.php @@ -5,15 +5,19 @@ use Illuminate\Support\Facades\DB; use App\Services\ServiceBase; use App\Exceptions\LogError; +use App\Exceptions\RequestConectaGovException; +use App\Services\Siape\Conexao; use DateTime; -use SoapClient; +use Exception; +use Illuminate\Support\Facades\Log; use Throwable; class IntegracaoSiapeService extends ServiceBase { + const SITUACAO_FUNCIONAL_ATIVO_EM_OUTRO_ORGAO = 8; - public $siape = ''; - private $siapeUpag = ''; + private Conexao|null $siape = null; + private string $siapeUpag = ''; private $siapeUrl = ''; private $siapeSiglaSistema = ''; private $siapeNomeSistema = ''; @@ -37,7 +41,13 @@ function __construct($config = null) $this->siapeCodUorg = strval(intval($config['codUorg'])); $this->siapeParmExistPag = $config['parmExistPag']; $this->siapeParmTipoVinculo = $config['parmTipoVinculo']; - $this->siape = new SoapClient($this->siapeUrl); + $this->siape = new Conexao( + $this->siapeCpf, + $this->siapeUrl, + $config['conectagov_chave'], + $config['conectagov_senha'], + ); + } function retornarPessoa(array $pessoa): array | null @@ -55,7 +65,6 @@ function retornarPessoa(array $pessoa): array | null $this->siapeParmExistPag, $this->siapeParmTipoVinculo ); - $dadosPessoais = $this->UtilService->object2array($dadosPessoais); $dadosFuncionais = $this->siape->consultaDadosFuncionais( $this->siapeSiglaSistema, @@ -66,8 +75,10 @@ function retornarPessoa(array $pessoa): array | null $this->siapeParmExistPag, $this->siapeParmTipoVinculo ); - $dadosFuncionais = $this->UtilService->object2array($dadosFuncionais)['dadosFuncionais']['DadosFuncionais']; + $dadosFuncionais = $dadosFuncionais['dadosFuncionais']['DadosFuncionais']; + if($dadosFuncionais['codsitfuncional'] == self::SITUACAO_FUNCIONAL_ATIVO_EM_OUTRO_ORGAO) return null; + $funcao = null; if (!empty($dadosFuncionais['codAtivFun']) && $dadosFuncionais['codAtivFun']) { @@ -143,10 +154,15 @@ public function retornarUorgs($uorgInicial = 1) $this->siapeCodOrgao, $uorgInicial ); - $uorgsWsdl = $this->UtilService->object2array($uorgsWsdl); - $uorgsWsdl = $uorgsWsdl['Uorg']; + Log::info('saida listaUorgs', [$uorgsWsdl]); } - } catch (Throwable $e) { + } + catch (RequestConectaGovException $e) { + LogError::newError("ISiape: erro de conexão.", $e->getMessage()); + throw $e; + } + catch (Throwable $e) { + Log::error('ISiape: erro de conexão.', [$e->getMessage(), $e->getLine()]); LogError::newError("ISiape: erro de conexão.", $e->getMessage()); } @@ -163,6 +179,7 @@ public function retornarUorgs($uorgInicial = 1) empty($uorg_iu->data_modificacao) || $data_modificacao_siape > $this->UtilService->asTimestamp($uorg_iu->data_modificacao) ) { + try { $uorgWsdl = $this->siape->dadosUorg( $this->siapeSiglaSistema, $this->siapeNomeSistema, @@ -172,7 +189,12 @@ public function retornarUorgs($uorgInicial = 1) $value['codigo'] ); - $uorgWsdl = $this->UtilService->object2array($uorgWsdl); + } catch (Exception $e) { + Log::error('ISiape: erro ao tentar recuperar dados da UORG ' . $value['codigo'] . '.', $e->getMessage()); + continue; + } + + if (!empty($this->UtilService->valueOrNull($uorgWsdl, "nomeMunicipio"))) { $consulta_sql = "SELECT * FROM cidades WHERE nome LIKE '" . $uorgWsdl['nomeMunicipio'] . "'"; $consulta_sql = DB::select($consulta_sql); @@ -216,7 +238,9 @@ public function retornarUorgs($uorgInicial = 1) 'regimental' => $this->UtilService->valueOrNull($uorgWsdl, "indicadorUorgRegimenta") ?: "", 'data_modificacao' => $this->UtilService->valueOrNull($value, "dataUltimaTransacao") ?: "", 'und_nu_adicional' => $this->UtilService->valueOrNull($uorgWsdl, "und_nu_adicional") ?: "", - 'cnpjupag' => $this->UtilService->valueOrNull($uorgWsdl, "cnpjUpag") ?: "" + 'cnpjupag' => $this->UtilService->valueOrNull($uorgWsdl, "cnpjUpag") ?: "", + 'cpf_titular_autoridade_uorg' => $this->UtilService->valueOrNull($uorgWsdl, "cpfTitularAutoridadeUorg") ?: "", + 'cpf_substituto_autoridade_uorg' => $this->UtilService->valueOrNull($uorgWsdl, "cpfSubstitutoAutoridadeUorg") ?: "", ]; array_push($uorgsPetrvs['uorg'], $inserir_uorg); } else { @@ -252,10 +276,9 @@ public function retornarPessoas() $this->siapeCodOrgao, $codUorg['codigo_siape'] ); + Log::info('saida listaServidores', [$cpfsPorUorgWsdl]); - $cpfsPorUorgWsdl = $this->UtilService->object2array($cpfsPorUorgWsdl); - if (array_key_exists('Servidor', $cpfsPorUorgWsdl)) { - if (array_key_exists('cpf', $cpfsPorUorgWsdl['Servidor'])) { + if (array_key_exists('cpf', $cpfsPorUorgWsdl)) { $cpf = [ 'cpf' => $cpfsPorUorgWsdl['Servidor']['cpf'], 'dataUltimaTransacao' => DateTime::createFromFormat( @@ -265,7 +288,7 @@ public function retornarPessoas() ]; array_push($cpfsPorUorgsWsdl, $cpf); } else { - foreach ($cpfsPorUorgWsdl['Servidor'] as $cpf) { + foreach ($cpfsPorUorgWsdl as $cpf) { $cpf = [ 'cpf' => $cpf['cpf'], 'dataUltimaTransacao' => DateTime::createFromFormat( @@ -276,8 +299,14 @@ public function retornarPessoas() array_push($cpfsPorUorgsWsdl, $cpf); } } - } - } catch (Throwable $e) { + } + catch (RequestConectaGovException $e) { + Log::error("Erro no conectaGov", [$e->getMessage()]); + LogError::newError("Erro no conectaGov", $e->getMessage()); + continue; + } + catch (Throwable $e) { + Log::error('ISiape: não existe servidor ativo na UORG ' . $codUorg['codigo_siape'] . '.', [$e->getMessage()]); LogError::newWarn('ISiape: não existe servidor ativo na UORG ' . $codUorg['codigo_siape'] . '.', $e->getMessage()); continue; } @@ -307,10 +336,9 @@ public function retornarPessoas() } $tentativa++; } catch (Throwable $e) { - $msg = $e->getMessage(); - $this->siape = new SoapClient($this->siapeUrl); + Log::error("Falha ao tentar recuperar dados da pessoa com CPF " . $pessoa['cpf'], $e->getMessage()); + LogError::newWarn("Falha ao tentar recuperar dados da pessoa com CPF " . $pessoa['cpf'], $e->getMessage()); $tentativa++; - usleep(10000); } } while ($tentativa < $qtd_tentativas); } else { diff --git a/back-end/app/Services/PGD/AuthenticationService.php b/back-end/app/Services/PGD/AuthenticationService.php deleted file mode 100644 index 884847a2d..000000000 --- a/back-end/app/Services/PGD/AuthenticationService.php +++ /dev/null @@ -1,32 +0,0 @@ - 'application/json', - 'Content-Type' => 'application/x-www-form-urlencoded' - ]; - $formParams = [ - 'username' => config('pgd')['username'], - 'password' => config('pgd')['password'] - ]; - $response = Http::withOptions(['verify' => false, 'timeout' => 29]) - ->withHeaders($header) - ->asForm()->post(config('pgd.host') . '/token', $formParams); - if ($response->successful()) { - $responseObj = $response->json(); - if (isset($responseObj['access_token'])) { - return $responseObj['access_token']; - } - } else { - dd("Falha autenticação"); - } - return false; - } -} diff --git a/back-end/app/Services/PGD/ExportarPlanoEntregasService.php b/back-end/app/Services/PGD/ExportarPlanoEntregasService.php deleted file mode 100644 index 95aeb9f8c..000000000 --- a/back-end/app/Services/PGD/ExportarPlanoEntregasService.php +++ /dev/null @@ -1,74 +0,0 @@ -httpSender = new HttpSenderService(); - } - - public function enviar($token, $dados) - { - if(isset($dados['mock']) && $dados['mock']){ - $body = $this->getBodyMock($dados); - } else{ - $body = $this->getBody($dados); - } - - $dados['url'] = config('pgd.host')."/organizacao/{$dados['cod_SIAPE_instituidora']}/plano_entregas/{$dados['id_plano_entrega_unidade']}"; - return $this->httpSender->enviarDados($dados, $token, $body); - } - - public function getBody($dados) - { - $plano_entrega = PlanoEntrega::find($dados['plano_entrega_id']); - return [ - "cod_SIAPE_instituidora"=> null, - "id_plano_entrega_unidade"=> $plano_entrega->unidade_id, - "cancelado"=> $plano_entrega->status, - "data_inicio_plano_entregas"=> $plano_entrega->data_inicio, - "data_termino_plano_entregas"=> $plano_entrega->data_fim, - "avaliacao_plano_entregas"=> $plano_entrega->avaliacao_id, - "data_avaliacao_plano_entregas"=>$plano_entrega->avaliacao()->data_avaliacao, - "cod_SIAPE_unidade_plano"=> $plano_entrega->unidade_id, - "entregas"=> [ - [ - "id_entrega"=> $plano_entrega->planoEntregaEntrega()->entrega_id, - "nome_entrega"=> $plano_entrega->planoEntregaEntrega()->descricao, - "meta_entrega"=> $plano_entrega->planoEntregaEntrega()->meta, - "tipo_meta"=> null, // 1: absoluto, 2: percentual - "nome_vinculacao_cadeia_valor"=> $plano_entrega->planoEntregaEntrega()->cadeiaValor, - "nome_vinculacao_planejamento"=> $plano_entrega->planoEntregaEntrega()->planejamento, - "percentual_progresso_esperado"=> $plano_entrega->planoEntregaEntrega()->progresso_esperado, - "percentual_progresso_realizado"=> $plano_entrega->planoEntregaEntrega()->progresso_realizado, - "data_entrega"=> $plano_entrega->planoEntregaEntrega()->entrega()->data_fim, - "nome_demandante"=> $plano_entrega->criador()->nome, - "nome_destinatario"=> $plano_entrega->planoEntregaEntrega()->destinatario - ] - ] - ]; - - } - - public function getBodyMock($dados){ - return [ - "cod_SIAPE_instituidora"=> $dados['cod_SIAPE_instituidora'], - "id_plano_entrega_unidade"=> $dados['id_plano_entrega_unidade'], - "cancelado"=> false, - "data_inicio_plano_entregas"=> "2023-12-01", - "data_termino_plano_entregas"=> "2023-12-10", - "avaliacao_plano_entregas"=> 1, - "data_avaliacao_plano_entregas"=> "2023-12-10", - "cod_SIAPE_unidade_plano"=> 1, - "entregas"=> [] - ]; - } -} - diff --git a/back-end/app/Services/PGD/ExportarPlanoTrabalhoService.php b/back-end/app/Services/PGD/ExportarPlanoTrabalhoService.php deleted file mode 100644 index 9e14170f4..000000000 --- a/back-end/app/Services/PGD/ExportarPlanoTrabalhoService.php +++ /dev/null @@ -1,65 +0,0 @@ -httpSender = new HttpSenderService(); - } - - public function enviar($token, $dados) - { - $body = $this->getBody($dados); - $dados['url'] = config('pgd.host')."/organizacao/{$dados['cod_SIAPE_instituidora']}/plano_trabalho/{$dados['id_plano_trabalho_participante']}"; - return $this->httpSender->enviarDados('PLANO_TRABALHO', $dados, $token, $body); - } - - public function getBody($dados) - { - $plano_trabalho = PlanoTrabalho::find($dados['plano_trabalho_id']); - - $contribuicoes = $plano_trabalho->entregas->entrega->map(function ($entregas) { - return [ - "data_inicio_registro" => $entregas->data_inicio_registro, - "data_fim_registro" => $entregas->data_fim_registro, - "avaliacao_plano_trabalho" => 0 - ]; - })->toArray(); - - $consolidacoes = $plano_trabalho->consolidacoes->map(function ($consolidacao) { - return [ - "data_inicio_registro" => $consolidacao->data_inicio_registro, - "data_fim_registro" => $consolidacao->data_fim_registro, - "avaliacao_plano_trabalho" => 0 - ]; - })->toArray(); - - return [ - "cod_SIAPE_instituidora"=> null, - "id_plano_trabalho_participante"=> $plano_trabalho->numero, - "id_plano_entrega_unidade"=> $plano_trabalho->unidade, - "cancelado"=> $plano_trabalho->status, - "cod_SIAPE_unidade_exercicio"=> null, - "cpf_participante"=> $plano_trabalho->documento, - "data_inicio_plano"=> $plano_trabalho->data_inicio, - "data_termino_plano"=> $plano_trabalho->data_fim, - "carga_horaria_total_periodo_plano"=> $plano_trabalho->carga_horaria, - "contribuicoes"=> $contribuicoes, - "consolidacoes"=> $consolidacoes - ]; - - } -} - -/* -Valores permitidos para a tipo_contribuicao: -1: Contribuição para entrega da própria unidade de execução do participante; -2: Contribuição não vinculada diretamente a entrega, mas necessária ao adequado funcionamento administrativo (por exemplo, Atividades de apoio, assessoramento e desenvolvimento, e Atividades de gestão de equipes e entregas); -3: Contribuição vinculada a entrega de outra unidade de execução, inclusive de outros órgãos e entidades. - -*/ \ No newline at end of file diff --git a/back-end/app/Services/PGD/HttpSenderService.php b/back-end/app/Services/PGD/HttpSenderService.php deleted file mode 100644 index f1f49b825..000000000 --- a/back-end/app/Services/PGD/HttpSenderService.php +++ /dev/null @@ -1,23 +0,0 @@ - 'application/json-patch+json']; - - - $response = Http::withOptions(['verify'=> false, 'timeout'=> 35]) - ->withHeaders($header) - ->withToken($token, 'Bearer')->put($dados['url'], $body); - - return $response->successful() ? $response->json() : "error"; - - } - -} - diff --git a/back-end/app/Services/PGD/OrgaoCentralService.php b/back-end/app/Services/PGD/OrgaoCentralService.php deleted file mode 100644 index f170fdaa8..000000000 --- a/back-end/app/Services/PGD/OrgaoCentralService.php +++ /dev/null @@ -1,34 +0,0 @@ -authService = new AuthenticationService(); - $this->exportarPlanoTrabalhoService = new ExportarPlanoTrabalhoService(); - $this->exportarPlanoEntregasService = new ExportarPlanoEntregasService(); - } - - public function exportarDados($dados) - { - - $token = $this->authService->getToken(); - switch ($dados['tipo']) { - case 'PLANO_TRABALHO': - return $this->exportarPlanoTrabalhoService->enviar($token, $dados); - break; - case 'PLANO_ENTREGA': - return $this->exportarPlanoEntregasService->enviar($token, $dados); - break; - } - } - -} - diff --git a/back-end/app/Services/PerfilService.php b/back-end/app/Services/PerfilService.php index c81ca2bd0..c8d724525 100644 --- a/back-end/app/Services/PerfilService.php +++ b/back-end/app/Services/PerfilService.php @@ -6,6 +6,7 @@ use App\Services\ServiceBase; use App\Models\TipoCapacidade; use App\Models\Perfil; +use Illuminate\Support\Facades\DB; class PerfilService extends ServiceBase { @@ -86,5 +87,15 @@ public function query($data) { $this->differentDev($data); return parent::query($data); } + + public function alteraPerfilUsuario(string $idUsuario, string $perfilId) : void + { + $values = [ + ':perfil_id' => $perfilId, + ':id' => $idUsuario + ]; + $sqlPerfilUpdate = "UPDATE usuarios SET perfil_id = :perfil_id WHERE id = :id"; + DB::update($sqlPerfilUpdate, $values); + } } diff --git a/back-end/app/Services/PlanoEntregaService.php b/back-end/app/Services/PlanoEntregaService.php index d6dea2090..02547c345 100644 --- a/back-end/app/Services/PlanoEntregaService.php +++ b/back-end/app/Services/PlanoEntregaService.php @@ -486,11 +486,12 @@ public function validaPermissaoIncluir($dataOrEntity, $usuario) public function validateStore($dataOrEntity, $unidade, $action) { $usuario = Usuario::find(parent::loggedUser()->id); - $programa = Programa::find($dataOrEntity["programa_id"]); + $programa = Programa::find($dataOrEntity["programa_id"]); $this->validaPermissaoIncluir($dataOrEntity, $usuario); if (!$usuario->hasPermissionTo('MOD_PENT_ENTR_EXTRPL')) { if (!$this->verificaDuracaoPlano($dataOrEntity) || !$this->verificaDatasEntregas($dataOrEntity)) throw new ServerException("ValidatePlanoEntrega", "O prazo das datas não satisfaz a duração estipulada no programa."); } + if($this->temSobreposicaoDeDatas($dataOrEntity)) throw new ServerException("ValidatePlanoEntrega", "Esta unidade já possui plano de entregas cadastrado para o período."); if(!$this->programaService->programaVigente($programa)) throw new ServerException("ValidatePlanoEntrega", "O regramento não está vigente."); if ($action == ServiceBase::ACTION_EDIT) { /* @@ -539,6 +540,20 @@ public function verificaDuracaoPlano($planoEntrega) return $result; } + public function temSobreposicaoDeDatas($planoEntrega){ + $dataInicio = new DateTime($planoEntrega["data_inicio"]); + $dataFim = new DateTime($planoEntrega["data_fim"]); + + $planosDaUnidade = PlanoEntrega::where('unidade_id', $planoEntrega["unidade_id"]) + ->where('status', '!=', 'CANCELADO') + ->where(function($query) use ($dataInicio, $dataFim) { + $query->whereBetween('data_inicio', [$dataInicio, $dataFim]) + ->orWhereBetween('data_fim', [$dataInicio, $dataFim]); + })->get(); + + return $planosDaUnidade->count() > 0; + } + /** * Verifica se as datas de início e final das entregas do plano de entrega se encaixam na duração do Programa de gestão (true para caso esteja tudo ok) */ diff --git a/back-end/app/Services/PlanoTrabalhoService.php b/back-end/app/Services/PlanoTrabalhoService.php index aa72d908c..8c7869d93 100644 --- a/back-end/app/Services/PlanoTrabalhoService.php +++ b/back-end/app/Services/PlanoTrabalhoService.php @@ -138,8 +138,8 @@ public function validateStore($data, $unidade, $action) where("status", "!=", "CANCELADO")-> where("id", "!=", UtilService::valueOrNull($data, "id"))-> first(); - if(!empty($conflito) && !parent::loggedUser()->hasPermissionTo('MOD_PTR_INTSC_DATA')) { - throw new ServerException("ValidatePlanoTrabalho", "O plano de trabalho #" . $conflito->numero . " (" . UtilService::getDateTimeFormatted($conflito->data_inicio) . " a " . UtilService::getDateTimeFormatted($conflito->data_fim) . ") possui período conflitante para a mesma unidade/servidor (MOD_PTR_INTSC_DATA).\n[ver RN_PTR_AA]"); + if(!empty($conflito)) { + throw new ServerException("ValidatePlanoTrabalho", "Este participante já possui plano de trabalho cadastrado para o período"); } if ($action == ServiceBase::ACTION_INSERT) { /* diff --git a/back-end/app/Services/ProgramaService.php b/back-end/app/Services/ProgramaService.php index 8850c1fd7..876af89d1 100644 --- a/back-end/app/Services/ProgramaService.php +++ b/back-end/app/Services/ProgramaService.php @@ -45,6 +45,9 @@ public function validateStore($data, $unidade, $action) if (!$this->isUniquePeriod($data)) { throw new ServerException("ValidatePrograma", "Há outro regramento na mesma unidade instituidora com prazo vigente."); } + if ($data['data_inicio'] == $data['data_fim']) { + throw new ServerException("ValidatePrograma", "As datas de início e fim do regramento não podem ser iguais."); + } } public function programaVigente($programa) diff --git a/back-end/app/Services/Siape/Conexao.php b/back-end/app/Services/Siape/Conexao.php new file mode 100644 index 000000000..7d477bdf4 --- /dev/null +++ b/back-end/app/Services/Siape/Conexao.php @@ -0,0 +1,301 @@ +authorizationHeader = 'Basic ' . base64_encode($this->client . ':' . $this->secret); + } + + public function getToken() + { + $curl = curl_init(); + + curl_setopt_array($curl, [ + CURLOPT_URL => $this->url . '/oauth2/jwt-token', + CURLOPT_RETURNTRANSFER => true, + CURLOPT_POST => true, + CURLOPT_HTTPHEADER => [ + 'Content-Type: ' . $this->contentType, + 'Authorization: ' . $this->authorizationHeader, + ], + CURLOPT_POSTFIELDS => http_build_query(['grant_type' => 'client_credentials']), + ]); + + $response = curl_exec($curl); + + if (curl_errno($curl)) { + $error_msg = curl_error($curl); + curl_close($curl); + Log::error('cURL error: ' . $error_msg); + throw new RequestConectaGovException('cURL error: ' . $error_msg); + } + + curl_close($curl); + + $data = json_decode($response, true); + + + if (isset($data['access_token'])) { + return $data['access_token']; + } + throw new RequestConectaGovException('Failed to retrieve JWT token. Response: ' . $response); + } + + + public function listaServidores( + $siapeSiglaSistema, + $siapeNomeSistema, + $siapeSenha, + $siapeCpf, + $siapeCodOrgao, + $codigoSiape + ): array { + Log::info('listaServidores'); + $xml = new SimpleXMLElement(''); + $body = $xml->addChild('soapenv:Body'); + $listaServidores = $body->addChild('ser:listaServidores'); + $listaServidores->addChild('siglaSistema', $siapeSiglaSistema); + $listaServidores->addChild('nomeSistema', $siapeNomeSistema); + $listaServidores->addChild('senha', $siapeSenha); + $listaServidores->addChild('cpf', $siapeCpf); + $listaServidores->addChild('codOrgao', $siapeCodOrgao); + $listaServidores->addChild('codUorg', $codigoSiape); + + $xmlData = $xml->asXML(); + + $xmlResponse = $this->enviar($xmlData); + + $xmlResponse->registerXPathNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); + $xmlResponse->registerXPathNamespace('ns1', 'http://servico.wssiapenet'); + $xmlResponse->registerXPathNamespace('ns2', 'http://entidade.wssiapenet'); + + $servidores = $xmlResponse->xpath('//ns2:Servidor'); + + $servidoresArray = array_map([$this, 'simpleXmlElementToArray'], $servidores); + + Log::info('Servidores: ', [$servidoresArray]); + + return $servidoresArray; + } + + public function consultaDadosPessoais( + $siapeSiglaSistema, + $siapeNomeSistema, + $siapeSenha, + $cpf, + $siapeCodOrgao, + $siapeParmExistPag, + $siapeParmTipoVinculo + ): array { + Log::info('consultaDadosPessoais'); + $xml = new SimpleXMLElement(''); + $body = $xml->addChild('soapenv:Body'); + $consultaDadosPessoais = $body->addChild('ser:consultaDadosPessoais'); + $consultaDadosPessoais->addChild('siglaSistema', $siapeSiglaSistema); + $consultaDadosPessoais->addChild('nomeSistema', $siapeNomeSistema); + $consultaDadosPessoais->addChild('senha', $siapeSenha); + $consultaDadosPessoais->addChild('cpf', $cpf); + $consultaDadosPessoais->addChild('codOrgao', $siapeCodOrgao); + $consultaDadosPessoais->addChild('parmExistPag', $siapeParmExistPag); + $consultaDadosPessoais->addChild('parmTipoVinculo', $siapeParmTipoVinculo); + + $xmlData = $xml->asXML(); + + $xmlResponse = $this->enviar($xmlData); + + $xmlResponse->registerXPathNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); + $xmlResponse->registerXPathNamespace('ns1', 'http://servico.wssiapenet'); + $xmlResponse->registerXPathNamespace('tipo', 'http://tipo.servico.wssiapenet'); + + $dadosPessoais = $xmlResponse->xpath('//ns1:consultaDadosPessoaisResponse/out')[0]; + $dadosPessoaisArray = $this->simpleXmlElementToArray($dadosPessoais); + + return $dadosPessoaisArray; + } + + public function consultaDadosFuncionais( + $siapeSiglaSistema, + $siapeNomeSistema, + $siapeSenha, + $cpf, + $siapeCodOrgao, + $siapeParmExistPag, + $siapeParmTipoVinculo + ): array { + $xml = new SimpleXMLElement(''); + $body = $xml->addChild('soapenv:Body'); + $consultaDadosFuncionais = $body->addChild('ser:consultaDadosFuncionais'); + $consultaDadosFuncionais->addChild('siglaSistema', $siapeSiglaSistema); + $consultaDadosFuncionais->addChild('nomeSistema', $siapeNomeSistema); + $consultaDadosFuncionais->addChild('senha', $siapeSenha); + $consultaDadosFuncionais->addChild('cpf', $cpf); + $consultaDadosFuncionais->addChild('codOrgao', $siapeCodOrgao); + $consultaDadosFuncionais->addChild('parmExistPag', $siapeParmExistPag); + $consultaDadosFuncionais->addChild('parmTipoVinculo', $siapeParmTipoVinculo); + + $xmlData = $xml->asXML(); + + $xmlResponse = $this->enviar($xmlData); + $xmlResponse->registerXPathNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); + $xmlResponse->registerXPathNamespace('ns1', 'http://servico.wssiapenet'); + $xmlResponse->registerXPathNamespace('tipo', 'http://tipo.servico.wssiapenet'); + + $dadosFuncionais = $xmlResponse->xpath('//tipo:DadosFuncionais')[0]; + $dadosFuncionaisArray = $this->simpleXmlElementToArray($dadosFuncionais); + + return $dadosFuncionaisArray; + } + + public function listaUorgs( + $siapeSiglaSistema, + $siapeNomeSistema, + $siapeSenha, + $cpf, + $siapeCodOrgao, + $siapeCodUorg + ): array { + $xml = new SimpleXMLElement(''); + $body = $xml->addChild('soapenv:Body'); + $listaUorgs = $body->addChild('ser:listaUorgs'); + $listaUorgs->addChild('siglaSistema', $siapeSiglaSistema); + $listaUorgs->addChild('nomeSistema', $siapeNomeSistema); + $listaUorgs->addChild('senha', $siapeSenha); + $listaUorgs->addChild('cpf', $cpf); + $listaUorgs->addChild('codOrgao', $siapeCodOrgao); + $listaUorgs->addChild('codUorg', $siapeCodUorg); + + $xmlData = $xml->asXML(); + + $xmlResponse = $this->enviar($xmlData); + $xmlResponse->registerXPathNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); + $xmlResponse->registerXPathNamespace('ns1', 'http://servico.wssiapenet'); + $xmlResponse->registerXPathNamespace('ns2', 'http://entidade.wssiapenet'); + $uorgs = $xmlResponse->xpath('//ns2:Uorg'); + $uorgsArray = array_map([$this, 'simpleXmlElementToArray'], $uorgs); + return $uorgsArray; + } + + function simpleXmlElementToArray(SimpleXMLElement $element) : array{ + $array = []; + foreach ($element as $key => $value) { + $array[$key] = (string) $value; + } + return $array; + } + + public function dadosUorg( + $siapeSiglaSistema, + $siapeNomeSistema, + $siapeSenha, + $cpf, + $siapeCodOrgao, + $siapeCodUorg + ): array { + $xml = new SimpleXMLElement(''); + $body = $xml->addChild('soapenv:Body'); + $dadosUorg = $body->addChild('ser:dadosUorg'); + $dadosUorg->addChild('siglaSistema', $siapeSiglaSistema); + $dadosUorg->addChild('nomeSistema', $siapeNomeSistema); + $dadosUorg->addChild('senha', $siapeSenha); + $dadosUorg->addChild('cpf', $cpf); + $dadosUorg->addChild('codOrgao', $siapeCodOrgao); + $dadosUorg->addChild('codUorg', $siapeCodUorg); + + $xmlData = $xml->asXML(); + + $responseXml = $this->enviar($xmlData); + + $responseXml->registerXPathNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); + $responseXml->registerXPathNamespace('ns1', 'http://servico.wssiapenet'); + $responseXml->registerXPathNamespace('ent', 'http://entidade.wssiapenet'); + + $dadosUorg = $responseXml->xpath('//ns1:dadosUorgResponse/out')[0]; + $dadosUorgArray = $this->simpleXmlElementToArray($dadosUorg); + + return $dadosUorgArray; + + } + + + private function enviar($xmlData) : SimpleXMLElement + { + try { + $token = $this->getToken(); + + $curl = curl_init(); + + $headers = [ + 'x-cpf-usuario: ' . $this->cpf, + 'Authorization: Bearer ' . $token, + 'Content-Type: application/xml', + ]; + + curl_setopt_array($curl, [ + CURLOPT_URL => $this->url . '/api-consulta-siape/v1/consulta-siape', + CURLOPT_RETURNTRANSFER => true, + CURLOPT_POST => true, + CURLOPT_HTTPHEADER => $headers, + CURLOPT_POSTFIELDS => $xmlData, + ]); + + Log::info('Request made to ' . $this->url . '/api-consulta-siape/v1/consulta-siape', [ + 'headers' => $headers, + 'body' => $xmlData + ]); + + $response = curl_exec($curl); + + if (curl_errno($curl)) { + $error_msg = curl_error($curl); + curl_close($curl); + throw new Exception('cURL error: ' . $error_msg); + } + + curl_close($curl); + Log::info('Response: ' . $response); + return $this->prepareResponseXml($response); + } catch (RequestConectaGovException $e) { + Log::error('Error: ' . $e->getMessage()); + throw new RequestConectaGovException(); + } catch (Exception $e) { + return 'Error: ' . $e->getMessage(); + } + } + + private function prepareResponseXml(string $response) : SimpleXMLElement + { + $response = trim($response); + $response = str_replace(['<', '>', '"', '&', '''], ['<', '>', '"', '&', "'"], $response); + libxml_use_internal_errors(true); + $response = <<message); + } + libxml_clear_errors(); + throw new RequestConectaGovException('Invalid XML response'); + } + Log::info('Response convertido: ' , [$responseXml]); + return $responseXml; + } + +} diff --git a/back-end/app/Services/Siape/Gestor/Integracao.php b/back-end/app/Services/Siape/Gestor/Integracao.php new file mode 100644 index 000000000..0ff8be61a --- /dev/null +++ b/back-end/app/Services/Siape/Gestor/Integracao.php @@ -0,0 +1,177 @@ +message['vazio'] = []; + $this->message['erro'] = []; + $this->message['sucesso'] = []; + } + + public function processar(): void + { + foreach ($this->dados as $dado) { + try { + $this->processaChefia($dado); + $this->processaSubstituto($dado); + } catch (\Exception $e) { + array_push($this->message['erro'], $dado['id_unidade']); + $this->logSiape($e->getMessage(), $dado, Tipo::ERROR); + continue; + } + } + } + + private function processaChefia(array $dado): void + { + + if (empty($dado['id_chefe'])) { + array_push($this->message['vazio'], $dado['id_unidade']); + $this->logSiape("Chefe não informado para a unidade " . $dado['id_unidade'], $dado, Tipo::WARNING); + return; + } + $usuarioChefia = $this->userModel->find($dado['id_chefe']); + $atribuicoesAtuaisDaChefia = $usuarioChefia->getUnidadesAtribuicoesAttribute(); + $unidadeExercicioId = $dado['id_unidade']; + $chefeAtribuicoes = $this->preparaChefia($atribuicoesAtuaisDaChefia, $unidadeExercicioId); + + $vinculo = $this->preparaVinculo($dado['id_chefe'], $unidadeExercicioId, $chefeAtribuicoes); + + $this->logSiape("Salvando integrantes", $vinculo, Tipo::INFO); + $this->unidadeIntegranteService->salvarIntegrantes($vinculo, false); + + $this->alteraPerfilAdministradorNegocial($dado['id_chefe'], $usuarioChefia); + array_push($this->message['sucesso'], $dado['id_unidade']); + } + + private function processaSubstituto(array $dado) + { + if (empty($dado['id_substituto'])) { + array_push($this->message['vazio'], $dado['id_unidade']); + $this->logSiape("Substituto não informado para a unidade " . $dado['id_unidade'], $dado, Tipo::WARNING); + return; + } + $unidadeExercicioId = $dado['id_unidade']; + $usuarioSubstituto = $this->userModel->find($dado['id_substituto']); + $atribuicoesAtuaisDoSubstituto = $usuarioSubstituto->getUnidadesAtribuicoesAttribute(); + $substitutoAtribuicoes = $this->preparaSubstituto($atribuicoesAtuaisDoSubstituto, $unidadeExercicioId); + + $vinculoSubstituto = $this->preparaVinculo($dado['id_substituto'], $unidadeExercicioId, $substitutoAtribuicoes); + + $this->logSiape("Salvando integrantes", $vinculoSubstituto, Tipo::INFO); + $this->unidadeIntegranteService->salvarIntegrantes($vinculoSubstituto, false); + + $this->alteraPerfilAdministradorNegocial($dado['id_substituto'], $usuarioSubstituto); + array_push($this->message['sucesso'], $dado['id_unidade']); + } + + + private function preparaVinculo(string $idUsuario, string $unidadeExercicioId, array $atribuicoes): array + { + return array([ + 'usuario_id' => $idUsuario, + 'unidade_id' => $unidadeExercicioId, + 'atribuicoes' => $atribuicoes, + ]);; + } + + private function preparaChefia(array|null $queryChefeAtribuicoes, string $unidadeExercicioId): array + { + if (empty($queryChefeAtribuicoes) || !is_array($queryChefeAtribuicoes) || !array_key_exists($unidadeExercicioId, $queryChefeAtribuicoes)) { + return [Atribuicao::LOTADO->value, Atribuicao::GESTOR->value]; + } + + $chefeAtribuicoes = array_diff($queryChefeAtribuicoes[$unidadeExercicioId], [Atribuicao::DELEGADO->value, Atribuicao::GESTOR_SUBSTITUTO->value]); + if (!in_array(Atribuicao::GESTOR->value, $chefeAtribuicoes)) array_push($chefeAtribuicoes, Atribuicao::GESTOR->value); + $chefeAtribuicoes = array_values(array_unique($chefeAtribuicoes)); + return $chefeAtribuicoes; + } + + private function preparaSubstituto(array|null $queryChefeAtribuicoes, string $unidadeExercicioId): array + { + if (empty($queryChefeAtribuicoes) || !is_array($queryChefeAtribuicoes) || !array_key_exists($unidadeExercicioId, $queryChefeAtribuicoes)) { + return [Atribuicao::GESTOR_SUBSTITUTO->value]; + } + + $chefeAtribuicoes = array_diff($queryChefeAtribuicoes[$unidadeExercicioId], [Atribuicao::GESTOR->value]); + if (!in_array(Atribuicao::GESTOR->value, $chefeAtribuicoes)) array_push($chefeAtribuicoes, Atribuicao::GESTOR->value); + $chefeAtribuicoes = array_values(array_unique($chefeAtribuicoes)); + return $chefeAtribuicoes; + } + + private function alteraPerfilAdministradorNegocial(string $idUsuario, Usuario $queryChefe): void + { + $usuarioChefe = $this->config["perfilChefe"]; + $perfilChefe = $this->nivelAcessoService->getPerfilChefia(); + if (empty($perfilChefe)) { + throw new ServerException("ValidateUsuario", "Perfil de gestor (" . $usuarioChefe . ") não encontrado no banco de dados. Verificar configuração no painel SaaS."); + } + $perfilChefeId = $perfilChefe->id; + $perfilAdministradorNegocial = $this->nivelAcessoService->getPerfilAdministrador(); + if (empty($perfilAdministradorNegocial)) { + throw new ServerException("ValidateUsuario", "Perfil de administrador negocial não encontrado no banco de dados. Verificar configuração no painel SaaS."); + } + + $perfilDesenvolvedor = $this->nivelAcessoService->getPerfilDesenvolvedor(); + if (empty($perfilDesenvolvedor)) { + throw new ServerException("ValidateUsuario", "Perfil de desenvolvedor não encontrado no banco de dados. Verificar configuração no painel SaaS."); + } + $perfilDesenvolvedorId = $perfilDesenvolvedor->id; + + if (!in_array($queryChefe->perfil->id, [$perfilAdministradorNegocial->id, $perfilDesenvolvedorId])) { + $values = [ + ':perfil_id' => $perfilChefeId, + ':id' => $idUsuario + ]; + $this->perfilService->atualizaPerfilUsuario($idUsuario, $perfilChefeId); + $this->logSiape("Atualizando perfil do chefe", $values, Tipo::INFO); + return; + } + $this->logSiape("IntegracaoService: durante atualização de gestores, o usuário não teve seu perfil atualizado para " . $usuarioChefe . + " uma vez que é Desenvolvedor.", [$queryChefe->nome, $queryChefe->email]); + } + + /** + * Undocumented function + * + * @return array{sucesso: string, id_chefe: erro, vazio: string}[] + */ + public function getMessage(): array + { + return $this->message; + } +} diff --git a/back-end/app/Services/Siape/Servidor/Integracao.php b/back-end/app/Services/Siape/Servidor/Integracao.php index 3ea42d2fc..39f776336 100644 --- a/back-end/app/Services/Siape/Servidor/Integracao.php +++ b/back-end/app/Services/Siape/Servidor/Integracao.php @@ -191,7 +191,7 @@ public function setEcho(bool $echo): self return $this; } - public function setIntegracaoConfig(array $integracaoConfig): self + public function setIntegracaoConfig($integracaoConfig): self { $this->integracaoConfig = $integracaoConfig; return $this; diff --git a/back-end/app/Services/Siape/Unidade/Atribuicao.php b/back-end/app/Services/Siape/Unidade/Atribuicao.php index 8fcdb5fb1..8acfad4b4 100644 --- a/back-end/app/Services/Siape/Unidade/Atribuicao.php +++ b/back-end/app/Services/Siape/Unidade/Atribuicao.php @@ -45,12 +45,33 @@ function executarAcao(string $atribuicao, Usuario $usuario, Unidade $unidadeDest case EnumAtribuicao::LOTADO->value: $this->processaLotado($unidadeDestino, $usuario, $integranteNovoOuExistente); break; + case EnumAtribuicao::CURADOR->value: + $this->processaCurador($unidadeDestino, $usuario, $integranteNovoOuExistente); + break; default: throw new NotFoundException("Atribuição não encontrada!"); } return $this->alteracoes; } + private function processaCurador(Unidade $unidadeDestino, Usuario $usuario, UnidadeIntegrante $integranteNovoOuExistente) + { + /** + * @var UnidadeIntegrante|null[] $curadores + */ + $curadores = $usuario->curadores; + foreach ($curadores as $curador) { + if ($curador->unidade_id != $unidadeDestino->id) continue; + if ($curador->usuario_id == $usuario->id) { + $this->alteracoes = ['info' => sprintf('O servidor já é curador da unidade!', $usuario->id, $unidadeDestino->id)]; + return; + } + } + + //FIXME não foram visto regras para curador. + $this->lotaServidor(EnumAtribuicao::CURADOR, $integranteNovoOuExistente); + } + private function processaColaborador(Unidade $unidadeDestino, Usuario $usuario, UnidadeIntegrante $integranteNovoOuExistente) { /** @@ -62,14 +83,11 @@ private function processaColaborador(Unidade $unidadeDestino, Usuario $usuario, if ($colaboracao->unidade_id != $unidadeDestino->id) continue; if ($colaboracao->usuario_id == $usuario->id) { $this->alteracoes = ['info' => sprintf('O servidor já é colaborador da unidade!', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info('O servidor já é colaborador da unidade!: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); return; } } - $this->alteracoes = ['lotacao' => sprintf('Atribuindo Colaborador ao servidor %s na Unidade %s', $usuario->id, $unidadeDestino->id)]; - //FIXME não foram visto regras para gestor subsitituto. $this->lotaServidor(EnumAtribuicao::COLABORADOR, $integranteNovoOuExistente); } @@ -85,11 +103,9 @@ private function processaGestorSubstituto(Unidade $unidadeDestino, Usuario $usua if (!empty($integranteNovoOuExistente->gestorSubstituto) && $lotacao->gestorSubstituto->id == $integranteNovoOuExistente->gestorSubstituto->id) { $this->alteracoes = ['info' => sprintf('O servidor já é gestor substituto da unidade!', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info('O servidor já é gestor substituto da unidade!: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); return; } } - //FIXME não foram visto regras para gestor subsitituto. $this->lotaServidor(EnumAtribuicao::GESTOR_SUBSTITUTO, $integranteNovoOuExistente); } @@ -105,11 +121,9 @@ private function processaGestorDelegado(Unidade $unidadeDestino, Usuario $usuari if (!empty($integranteNovoOuExistente->gestorDelegado) && $lotacao->gestorDelegado->id == $integranteNovoOuExistente->gestorDelegado->id) { $this->alteracoes = ['info' => sprintf('O servidor já é gestor delegado da unidade!', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info('O servidor já é gestor delegado da unidade!: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); return; } } - //FIXME não foram visto regras para gestor delegado. $this->lotaServidor(EnumAtribuicao::GESTOR_DELEGADO, $integranteNovoOuExistente); } @@ -117,17 +131,14 @@ private function processaLotado(Unidade $unidadeDestino, Usuario $usuario, Unida { if (!empty($this->getUnidadeAtualDoUsuario($usuario)) && $this->getUnidadeAtualDoUsuario($usuario)->id == $unidadeDestino->id) { $this->alteracoes = ['info' => sprintf('O servidor %s já está lotado nessa unidade %s:', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info('O servidor já está lotado nessa unidade!: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); return; } if ($this->usuarioTemPlanodeTrabalhoAtivo($usuario, $this->getUnidadeAtualDoUsuario($usuario))) { $this->alteracoes = ['lotacao' => sprintf('O servidor %s já possui um plano de trabalho ativo nessa unidade %s, alterando a lotação para COLABORADOR:', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info('O servidor já possui um plano de trabalho ativo nessa unidade!: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); $this->processaColaborador($unidadeDestino, $usuario, $usuario->lotacao); } $this->removeLotacao($usuario); - // Log::channel('siape')->info('Lotando servidor na unidade: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); $this->alteracoes = ['lotacao' => sprintf('Lotando o servidor %s na Unidade %s', $usuario->id, $unidadeDestino->id)]; $this->lotaServidor(EnumAtribuicao::LOTADO, $integranteNovoOuExistente); } @@ -136,19 +147,16 @@ private function processaGestor(Unidade $unidadeDestino, Usuario $usuario, Unida { if (!empty($this->getGestorAtualDaUnidade($unidadeDestino)) && $this->getGestorAtualDaUnidade($unidadeDestino)->id != $usuario->id) { $this->alteracoes = ['removido' => sprintf('Removendo o Gestor %s da Unidade %s', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info('Removendo o Gestor da Unidade : ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); $this->removeAtualGestorDaUnidade($unidadeDestino); } if (!empty($this->getGestorAtualDaUnidade($unidadeDestino)) && $this->getGestorAtualDaUnidade($unidadeDestino)->id == $usuario->id) { $this->alteracoes = ['info' => sprintf('Já é gestor %s da unidade %s', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info('Já é gestor da unidade: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); return; } if ($this->usuarioEGestorEmOutraUnidade($usuario, $unidadeDestino)) { $this->alteracoes = ['removido' => sprintf('Removendo o Gestor %s de outra Unidade %s', $usuario->id, $unidadeDestino->id)]; - // Log::channel('siape')->info(' Removendo Usuario da Gestão da Unidade : ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); $this->removeUsuarioDaGestaoAtual($usuario); } @@ -157,7 +165,6 @@ private function processaGestor(Unidade $unidadeDestino, Usuario $usuario, Unida $usuario = Usuario::find($usuario->id); $this->processaLotado($unidadeDestino, $usuario, $integranteNovoOuExistente); - // Log::channel('siape')->info('Lotando gestor na unidade: ', ['usuario' => $usuario->id, 'unidade' => $unidadeDestino->id]); $this->removeTodasAsGestoesDoUsuario($usuario); $this->alteracoes = ['lotacao' => sprintf('Lotando o Gestor %s na Unidade %s', $usuario->id, $unidadeDestino->id)]; $this->lotaServidor(EnumAtribuicao::GESTOR, $integranteNovoOuExistente); @@ -230,11 +237,9 @@ private function removeLotacao(Usuario $usuario): void private function LimparAtribuicoes(UnidadeIntegrante $integranteNovoOuExistente, bool $removerLotado = false): void { if ($removerLotado) { - // Log::channel('siape')->info(' Limpando todas as atribuições : ', ['usuario' => $integranteNovoOuExistente->toJson()]); $integranteNovoOuExistente->deleteCascade(); return; } - // Log::channel('siape')->info(' Limpando as atribuições menos a lotado: ', ['usuario' => $integranteNovoOuExistente->toJson()]); $integranteNovoOuExistente->atribuicoes()->each(function ($unidadeIntegrantesAtribuicoes) { if ($unidadeIntegrantesAtribuicoes->atribuicao != EnumAtribuicao::LOTADO->value) $unidadeIntegrantesAtribuicoes->delete(); }); @@ -247,7 +252,6 @@ private function decideALotacaoDeGestorInvalida(array &$atribuicoes, UnidadeInte if (!$this->validarAtribuicoes($atribuicoes)) { return; } - // Log::channel('siape')->info('Decidindo a lotação de gestor inválida: ', ['usuario' => $integranteNovoOuExistente->toJson()]); $this->LimparAtribuicoes($integranteNovoOuExistente); $novasAtribuicoes = []; if (in_array(EnumAtribuicao::LOTADO->value, $atribuicoes)) { diff --git a/back-end/app/Services/Siape/Unidade/Enum/Atribuicao.php b/back-end/app/Services/Siape/Unidade/Enum/Atribuicao.php index b3ffa2300..ddba13ab2 100644 --- a/back-end/app/Services/Siape/Unidade/Enum/Atribuicao.php +++ b/back-end/app/Services/Siape/Unidade/Enum/Atribuicao.php @@ -11,6 +11,7 @@ enum Atribuicao: string case GESTOR_SUBSTITUTO = 'GESTOR_SUBSTITUTO'; case GESTOR_DELEGADO = 'GESTOR_DELEGADO'; case LOTADO = 'LOTADO'; + case CURADOR = 'CURADOR'; } ?> diff --git a/back-end/app/Services/TemplateDatasetService.php b/back-end/app/Services/TemplateDatasetService.php index ce740f947..94ba49e44 100644 --- a/back-end/app/Services/TemplateDatasetService.php +++ b/back-end/app/Services/TemplateDatasetService.php @@ -86,7 +86,7 @@ public function __construct() { ["field" => "status", "label" => "Status do plano"], ["field" => "data_inicio", "label" => "Data inicial do plano", "type" => "DATETIME"], ["field" => "data_fim", "label" => "Data final do plano", "type" => "DATETIME"], - ["field" => "tipo_modalidade", "label" => "Tipo de modalidade", "fields" => "TIPO_MODALIDADE", "type" => "OBJECT", "value" => function ($contexto) { return $contexto->tipo_modalidade; }], + ["field" => "tipo_modalidade", "label" => "Tipo de modalidade", "fields" => "TIPO_MODALIDADE", "type" => "OBJECT", "value" => function ($contexto) { return $contexto->tipoModalidade; }], ["field" => "unidade", "label" => "Unidade", "fields" => "UNIDADE", "type" => "OBJECT", "value" => function ($contexto) { return $contexto->unidade; }], ["field" => "usuario", "label" => "Usuário", "fields" => "USUARIO", "type" => "OBJECT", "value" => function ($contexto) { return $contexto->usuario; }], ["field" => "programa", "label" => "Programa", "fields" => "PROGRAMA", "type" => "OBJECT", "value" => function ($contexto) { return $contexto->programa; }], diff --git a/back-end/app/Services/TenantConfigurationsService.php b/back-end/app/Services/TenantConfigurationsService.php index cccf775c3..c529cc563 100644 --- a/back-end/app/Services/TenantConfigurationsService.php +++ b/back-end/app/Services/TenantConfigurationsService.php @@ -33,7 +33,7 @@ private function loadingConfigs($tenant) : void { # Pega os dados salvos no Panel $settings = json_decode($tenant['tenant'], true); - Log::info("Settings: " . json_encode($settings)); + // Log::info("Settings: " . json_encode($settings)); # Obtém a URL do aplicativo do arquivo de configuração $appUrl = config('app.url'); @@ -80,6 +80,8 @@ private function loadingConfigs($tenant) : void config(['integracao.siape.codUorg' => $settings['integracao_siape_uorg'] ?? env('INTEGRACAO_SIAPE_CODUORG')]); config(['integracao.siape.parmExistPag' => $settings['integracao_siape_existepag'] ?? env('INTEGRACAO_SIAPE_PARMEXISTPAG')]); config(['integracao.siape.parmTipoVinculo' => $settings['integracao_siape_tipovinculo'] ?? env('INTEGRACAO_SIAPE_PARMTIPOVINCULO')]); + config(['integracao.siape.conectagov_chave' => $settings['integracao_siape_conectagov_chave'] ?? env('INTEGRACAO_SIAPE_CONECTAGOV_CHAVE')]); + config(['integracao.siape.conectagov_senha' => $settings['integracao_siape_conectagov_senha'] ?? env('INTEGRACAO_SIAPE_CONECTAGOV_SENHA')]); config(['integracao.perfilComum' => $settings['integracao_usuario_comum'] ?? env('INTEGRACAO_USUARIO_COMUM')]); config(['integracao.perfilChefe' => $settings['integracao_usuario_chefe'] ?? env('INTEGRACAO_USUARIO_CHEFE')]); diff --git a/back-end/app/Services/TenantService.php b/back-end/app/Services/TenantService.php index 8bf5f241b..7452c9c05 100644 --- a/back-end/app/Services/TenantService.php +++ b/back-end/app/Services/TenantService.php @@ -19,84 +19,157 @@ class TenantService extends ServiceBase { - /** - * Store a newly created resource in storage. - * - * @param Array $data - * @return Object - */ - public function store($dataOrEntity, $unidade, $transaction = true) - { - try { - parent::store($dataOrEntity, $unidade, false); - } catch (\Exception $e) { - throw $e; + /** + * Store a newly created resource in storage. + * + * @param Array $data + * @return Object + */ + public function store($dataOrEntity, $unidade, $transaction = true) + { + try { + Log::info('Iniciando cadastro de tenant...'); + parent::store($dataOrEntity, $unidade, false); + } catch (\Exception $e) { + throw $e; + } + } + + + public function validateStore($dataOrEntity, $unidade, $action) + { + $model = $this->getModel(); + $entity = UtilService::emptyEntry($dataOrEntity, "id") ? null : $model::find($dataOrEntity["id"]); + $entity = isset($entity) ? $entity : new $model(); + try { + $entity->fill($dataOrEntity); + $entity->save(); + } catch (\Stancl\Tenancy\Exceptions\TenantDatabaseAlreadyExistsException $e) { + } + return $entity; + } + + public function extraStore($dataOrEntity, $unidade, $action) + { + Log::info('Verificando se existe o tenant.'); + $tenant = Tenant::find($dataOrEntity->id); + if (!$tenant->domains()->where('domain', $dataOrEntity->dominio_url)->exists()) { + Log::info('Cadastrando o tenant.'); + $tenant->createDomain([ + 'domain' => $dataOrEntity->dominio_url + ]); + } + tenancy()->initialize($tenant); + + /* Executa migrations e seeds somente se for inclusão */ + if ($action == ServiceBase::ACTION_INSERT) + $this->acoesDeploy($dataOrEntity); + + tenancy()->end(); + Log::info('Finalização do cadastro de tenant'); } - } - - - public function validateStore($dataOrEntity, $unidade, $action) - { - $model = $this->getModel(); - $entity = UtilService::emptyEntry($dataOrEntity, "id") ? null : $model::find($dataOrEntity["id"]); - $entity = isset($entity) ? $entity : new $model(); - try { - $entity->fill($dataOrEntity); - $entity->save(); - } catch (\Stancl\Tenancy\Exceptions\TenantDatabaseAlreadyExistsException $e) { + + public function generateCertificateKeys() + { + $certificate = openssl_pkey_new(); + openssl_pkey_export($certificate, $privateKey); + $publicKey = openssl_pkey_get_details($certificate)['key']; + return [ + "private_key" => str_replace(["-----BEGIN PRIVATE KEY-----", "-----END PRIVATE KEY-----", "\n"], "", $privateKey), + "public_key" => str_replace(["-----BEGIN PUBLIC KEY-----", "-----END PUBLIC KEY-----", "\n"], "", $publicKey) + ]; } - return $entity; - } - - public function extraStore($dataOrEntity, $unidade, $action) - { - $tenant = Tenant::find($dataOrEntity->id); - if (!$tenant->domains()->where('domain', $dataOrEntity->dominio_url)->exists()) { - $tenant->createDomain([ - 'domain' => $dataOrEntity->dominio_url - ]); + + public function executeSeeder($seed, $tenant = null) + { + Log::info('Execução '.$seed.'.'); + Artisan::call('tenants:run db:seed --option="class=' . $seed . '"' . (empty($tenant) ? '' : ' --tenants=' . $tenant)); + return Artisan::output(); } - tenancy()->initialize($tenant); - /* Executa migrations e seeds somente se for inclusão */ - if ($action == ServiceBase::ACTION_INSERT) - $this->acoesDeploy($dataOrEntity->id); - if ($tenant) { - $tenant->run(function () use ($dataOrEntity) { - $entidade = Entidade::where('sigla', $dataOrEntity->id)->first(); - $usuario = Usuario::where('email', $dataOrEntity->email)->first(); - $NivelAcessoService = new NivelAcessoService(); + public function migrate($id) + { + try { + if ($id) { + Artisan::call('tenant:migrate ' . $id); + } else { + Artisan::call('tenants:migrate', ['--force' => true]); + } + + logInfo(); + return true; + } catch (\Exception $e) { + // Handle any exceptions that may occur during command execution + Log::error('Error executing commands: ' . $e->getMessage()); + Log::channel('daily')->error('Error executing commands: ' . $e->getMessage()); + // Optionally, rethrow the exception to let it be handled elsewhere + throw $e; + } + } + + public function cleanDB($id) + { + try { + Artisan::call('db:truncate-all ' . $id); + } catch (\Exception $e) { + Log::error('Error executing commands: ' . $e->getMessage()); + Log::channel('daily')->error('Error executing commands: ' . $e->getMessage()); + throw $e; + } + } - if (!$entidade) { - try { - $cidade_id = Cidade::where('codigo_ibge', $dataOrEntity->codigo_cidade)->first()->id; - } catch (\Exception $e) { - // Se uma exceção for lançada, o código IBGE não foi encontrado - $errorMessage = 'Código IBGE não encontrado'; - - // Registre o erro - Log::error($errorMessage); - Log::channel('daily')->error($errorMessage); - - // Lance uma nova exceção com a mensagem de erro personalizada - throw new \Exception($errorMessage); - } - - $entidade = Entidade::first() ?? new Entidade([ - 'sigla' => $dataOrEntity->id, - 'nome' => $dataOrEntity->nome_entidade, - 'abrangencia' => $dataOrEntity->abrangencia, - 'layout_formulario_demanda' => 'COMPLETO', - 'campos_ocultos_demanda' => [], - 'nomenclatura' => [], - 'cidade_id' => $cidade_id, - ]); - if (!$entidade->exists) { - $entidade->save(); - } + public function resetBD() + { + try { + // Artisan::call('db:delete-all'); + // logInfo(); + // Artisan::call('db:truncate-all'); + // logInfo(); + return true; + } catch (\Exception $e) { + // Handle any exceptions that may occur during command execution + Log::error('Error executing commands: ' . $e->getMessage()); + Log::channel('daily')->error('Error executing commands: ' . $e->getMessage()); + // Optionally, rethrow the exception to let it be handled elsewhere + throw $e; } - if (!$usuario) { + } + + + private function acoesDeploy($dataOrEntity) + { + try { + Log::info('Execução da migrate.'); + //Execução das Migrations + Artisan::call('tenants:migrate --tenants=' . $dataOrEntity->id); + + //Execução das Seeders + $this->executeSeeder('CidadeSeeder', $dataOrEntity->id); + $this->executeSeeder('PerfilSeeder', $dataOrEntity->id); + $this->executeSeeder('TipoCapacidadeSeeder', $dataOrEntity->id); + $this->executeSeeder('CapacidadeSeeder', $dataOrEntity->id); + + Log::info('Busca de Cidade com o codigo IBGE'); + $cidade_id = Cidade::where('codigo_ibge', $dataOrEntity->codigo_cidade)->first()->id; + + Log::info('Busca de Entidade e cadastro caso não exista.'); + $entidade = Entidade::first() ?? new Entidade([ + 'sigla' => $dataOrEntity->id, + 'nome' => $dataOrEntity->nome_entidade, + 'abrangencia' => $dataOrEntity->abrangencia, + 'layout_formulario_demanda' => 'COMPLETO', + 'campos_ocultos_demanda' => [], + 'nomenclatura' => [], + 'cidade_id' => $cidade_id, + ]); + if (!$entidade->exists) { + $entidade->save(); + } + + Log::info('Busca de Níveis de acesso.'); + $NivelAcessoService = new NivelAcessoService(); + Log::info('Cadastro de Usuário.'); $usuario = new Usuario([ 'email' => $dataOrEntity->email, 'nome' => $dataOrEntity->nome_usuario, @@ -107,199 +180,101 @@ public function extraStore($dataOrEntity, $unidade, $action) ]); $usuario->save(); + Log::info('Cadastro de Unidade.'); $unidade = array( - "created_at" => $this->timenow, - "updated_at" => $this->timenow, - "deleted_at" => NULL, - "codigo" => "1", - "sigla" => $dataOrEntity->id, - "nome" => $dataOrEntity->nome_entidade, - "instituidora" => 1, - "path" => NULL, - "texto_complementar_plano" => NULL, - "atividades_arquivamento_automatico" => 0, - "atividades_avaliacao_automatico" => 0, - "planos_prazo_comparecimento" => 10, - "planos_tipo_prazo_comparecimento" => "DIAS", - "data_inativacao" => NULL, - "distribuicao_forma_contagem_prazos" => "DIAS_UTEIS", - "entrega_forma_contagem_prazos" => "HORAS_UTEIS", - "autoedicao_subordinadas" => 1, - "etiquetas" => NULL, - "checklist" => NULL, - "notificacoes" => NULL, - "expediente" => NULL, - "cidade_id" => $cidade_id, - "unidade_pai_id" => NULL, - "entidade_id" => $entidade->id + "created_at" => $this->timenow, + "updated_at" => $this->timenow, + "deleted_at" => NULL, + "codigo" => "1", + "sigla" => $dataOrEntity->id, + "nome" => $dataOrEntity->nome_entidade, + "instituidora" => 1, + "path" => NULL, + "texto_complementar_plano" => NULL, + "atividades_arquivamento_automatico" => 0, + "atividades_avaliacao_automatico" => 0, + "planos_prazo_comparecimento" => 10, + "planos_tipo_prazo_comparecimento" => "DIAS", + "data_inativacao" => NULL, + "distribuicao_forma_contagem_prazos" => "DIAS_UTEIS", + "entrega_forma_contagem_prazos" => "HORAS_UTEIS", + "autoedicao_subordinadas" => 1, + "etiquetas" => NULL, + "checklist" => NULL, + "notificacoes" => NULL, + "expediente" => NULL, + "cidade_id" => $cidade_id, + "unidade_pai_id" => NULL, + "entidade_id" => $entidade->id ); - $unidade= new Unidade($unidade); + + $unidade = new Unidade($unidade); $unidade->save(); + Log::info('Cadastro de UnidadeIntegrante.'); $integrante = UnidadeIntegrante::firstOrCreate([ 'unidade_id' => $unidade->id, 'usuario_id' => $usuario->id ]); + Log::info('Cadastro de UnidadeIntegranteAtribuicao.'); UnidadeIntegranteAtribuicao::firstOrCreate([ 'atribuicao' => 'LOTADO', 'unidade_integrante_id' => $integrante->id ]); + + $this->executeSeeder('NomenclaturaSeeder', $dataOrEntity->id); + $this->executeSeeder('TipoMotivoAfastamentoSeeder', $dataOrEntity->id); + $this->executeSeeder('In24_2023Seeder', $dataOrEntity->id); + } catch (\Exception $e) { + // Handle any exceptions that may occur during command execution + Log::error('Error executing commands: ' . $e->getMessage()); + throw $e; } - }); } - tenancy()->end(); - } - - public function generateCertificateKeys() - { - $certificate = openssl_pkey_new(); - openssl_pkey_export($certificate, $privateKey); - $publicKey = openssl_pkey_get_details($certificate)['key']; - return [ - "private_key" => str_replace(["-----BEGIN PRIVATE KEY-----", "-----END PRIVATE KEY-----", "\n"], "", $privateKey), - "public_key" => str_replace(["-----BEGIN PUBLIC KEY-----", "-----END PUBLIC KEY-----", "\n"], "", $publicKey) - ]; - } - - public function cidade($id) - { - Artisan::call('tenants:run db:seed --option="class=CidadeSeeder"' . (empty($id) ? '' : ' --tenants=' . $id)); - return Artisan::output(); - } - - public function tipoCapacidadeSeeder($id) - { - Artisan::call('tenants:run db:seed --option="class=AtualizacaoSeeder"' . (empty($id) ? '' : ' --tenants=' . $id)); - return Artisan::output(); - } - - public function entidadeSeeder($id) - { - Artisan::call('tenants:run db:seed --option="class=EntidadeSeeder"' . (empty($id) ? '' : ' --tenants=' . $id)); - return Artisan::output(); - } - public function usuarioSeeder($id) - { - Artisan::call('tenants:run db:seed --option="class=UsuarioSeeder"' . (empty($id) ? '' : ' --tenants=' . $id)); - return Artisan::output(); - } - public function databaseSeeder($id) - { - Artisan::call('tenants:run db:seed --option="class=DatabaseSeeder"' . (empty($id) ? '' : ' --tenants=' . $id)); - return Artisan::output(); - } - - public function seeders($id) - { - Artisan::call('tenants:seed' . (empty($id) ? '' : ' --tenants=' . $id)); - return Artisan::output(); - } - - public function migrate($id) - { - try { - if ($id) { - Artisan::call('tenant:migrate ' . $id); - } else { - Artisan::call('tenants:migrate', ['--force' => true]); - } - - logInfo(); - return true; - } catch (\Exception $e) { - // Handle any exceptions that may occur during command execution - Log::error('Error executing commands: ' . $e->getMessage()); - Log::channel('daily')->error('Error executing commands: ' . $e->getMessage()); - // Optionally, rethrow the exception to let it be handled elsewhere - throw $e; - } - } - - public function cleanDB($id) - { - try { - Artisan::call('db:truncate-all ' . $id); - } catch (\Exception $e) { - Log::error('Error executing commands: ' . $e->getMessage()); - Log::channel('daily')->error('Error executing commands: ' . $e->getMessage()); - throw $e; - } - } - - public function resetBD() - { - try { - // Artisan::call('db:delete-all'); -// logInfo(); -// Artisan::call('db:truncate-all'); -// logInfo(); - return true; - } catch (\Exception $e) { - // Handle any exceptions that may occur during command execution - Log::error('Error executing commands: ' . $e->getMessage()); - Log::channel('daily')->error('Error executing commands: ' . $e->getMessage()); - // Optionally, rethrow the exception to let it be handled elsewhere - throw $e; - } - } - - - private function acoesDeploy($id = null) - { - try { - Artisan::call('tenants:migrate --tenants='.$id); - Artisan::call('tenants:run db:seed --option="class=DeployPRODSeeder" --tenants='.$id); - logInfo(); - } catch (\Exception $e) { - // Handle any exceptions that may occur during command execution - Log::error('Error executing commands: ' . $e->getMessage()); - throw $e; - } - } - - public function deleteTenant($id) - { - try { - $tenant = Tenant::find($id); - if ($tenant) { - $tenant->delete(); - Log::info('Tenant deletado com sucesso: ' . $id); - } - return true; - } catch (\Exception $e) { - Log::error('Error executing commands: ' . $e->getMessage()); - throw $e; - } - } - - public function searchText($data) - { - $text = "%" . str_replace(" ", "%", $data['query']) . "%"; - $model = App($this->collection); - $table = $model->getTable(); - $data["select"] = array_map(fn ($field) => str_contains($field, ".") ? $field : $table . "." . $field, array_merge(['id'], $data['fields'])); - $query = DB::table($table); - if (method_exists($this, 'proxySearch')) $this->proxySearch($query, $data, $text); - $likes = ["or"]; - foreach ($data['fields'] as $field) { - array_push($likes, [$field, 'like', $text]); + + public function deleteTenant($id) + { + try { + $tenant = Tenant::find($id); + if ($tenant) { + $tenant->delete(); + Log::info('Tenant deletado com sucesso: ' . $id); + } + return true; + } catch (\Exception $e) { + Log::error('Error executing commands: ' . $e->getMessage()); + throw $e; + } } - //$where = count($data['where']) > 0 ? [$likes, $data['where']] : $likes; - $where = [$likes, $data['where']]; - $this->applyWhere($query, $where, $data); - $this->applyOrderBy($query, $data); - $query->select($data["select"]); - $rows = $query->get(); - $values = []; - foreach ($rows as $row) { - $row = (array) $row; - $orderFilds = array_map(fn ($order) => "_" . str_replace(".", "_", $order[0]), $data['orderBy'] ?? []); - $orderValues = array_map(fn ($field) => $row[$field], $orderFilds); - array_push($values, [$row['id'], array_map(fn ($field) => $row[$field], $data['fields']), $orderValues]); + public function searchText($data) + { + $text = "%" . str_replace(" ", "%", $data['query']) . "%"; + $model = App($this->collection); + $table = $model->getTable(); + $data["select"] = array_map(fn($field) => str_contains($field, ".") ? $field : $table . "." . $field, array_merge(['id'], $data['fields'])); + $query = DB::table($table); + if (method_exists($this, 'proxySearch')) $this->proxySearch($query, $data, $text); + $likes = ["or"]; + foreach ($data['fields'] as $field) { + array_push($likes, [$field, 'like', $text]); + } + + //$where = count($data['where']) > 0 ? [$likes, $data['where']] : $likes; + $where = [$likes, $data['where']]; + $this->applyWhere($query, $where, $data); + $this->applyOrderBy($query, $data); + $query->select($data["select"]); + $rows = $query->get(); + $values = []; + foreach ($rows as $row) { + $row = (array)$row; + $orderFilds = array_map(fn($order) => "_" . str_replace(".", "_", $order[0]), $data['orderBy'] ?? []); + $orderValues = array_map(fn($field) => $row[$field], $orderFilds); + array_push($values, [$row['id'], array_map(fn($field) => $row[$field], $data['fields']), $orderValues]); + } + return $values; } - return $values; - } } diff --git a/back-end/app/Services/TipoCapacidadeService.php b/back-end/app/Services/TipoCapacidadeService.php index d830ff0f8..218f1e81b 100644 --- a/back-end/app/Services/TipoCapacidadeService.php +++ b/back-end/app/Services/TipoCapacidadeService.php @@ -390,8 +390,6 @@ class TipoCapacidadeService extends ServiceBase ["MOD_UND_EDT", "Permite editar unidade"], ["MOD_UND_EDT_FRM", "Permite editar unidades formais (SIAPE ou não)"], // a ser implementado ["MOD_UND_EXCL", "Permite excluir unidade"], - ["MOD_UND_INCL", "Permite incluir unidade"], - ["MOD_UND_INCL_FRM", "Permite incluir unidades formais (SIAPE ou não)"], // a ser implementado ["MOD_UND_UNIR", "Permite unificar unidade"], ["MOD_UND_TUDO", "Permite consultar qualquer unidade independente de subordinação"], ["MOD_UND_INATV", "Permite inativar uma unidade"], diff --git a/back-end/composer.json b/back-end/composer.json index f6e7cefa1..954727648 100644 --- a/back-end/composer.json +++ b/back-end/composer.json @@ -16,6 +16,7 @@ "laravel/tinker": "^2.5", "lawondyss/moment-php": "dev-master", "maatwebsite/excel": "^3.1", + "owen-it/laravel-auditing": "^13.6", "phpoffice/common": "^1.0", "phpseclib/phpseclib": "~2.0", "ricorocks-digital-agency/soap": "^1.6", diff --git a/back-end/composer.lock.old b/back-end/composer.lock.old new file mode 100644 index 000000000..479a221e0 --- /dev/null +++ b/back-end/composer.lock.old @@ -0,0 +1,11710 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "5133babc2e3062de30191c0c6feb2e61", + "packages": [ + { + "name": "barryvdh/laravel-dompdf", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-dompdf.git", + "reference": "c96f90c97666cebec154ca1ffb67afed372114d8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/c96f90c97666cebec154ca1ffb67afed372114d8", + "reference": "c96f90c97666cebec154ca1ffb67afed372114d8", + "shasum": "" + }, + "require": { + "dompdf/dompdf": "^2.0.7", + "illuminate/support": "^6|^7|^8|^9|^10|^11", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "larastan/larastan": "^1.0|^2.7.0", + "orchestra/testbench": "^4|^5|^6|^7|^8|^9", + "phpro/grumphp": "^1 || ^2.5", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\DomPDF\\ServiceProvider" + ], + "aliases": { + "Pdf": "Barryvdh\\DomPDF\\Facade\\Pdf", + "PDF": "Barryvdh\\DomPDF\\Facade\\Pdf" + } + } + }, + "autoload": { + "psr-4": { + "Barryvdh\\DomPDF\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "A DOMPDF Wrapper for Laravel", + "keywords": [ + "dompdf", + "laravel", + "pdf" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-dompdf/issues", + "source": "https://github.com/barryvdh/laravel-dompdf/tree/v2.2.0" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2024-04-25T13:16:04+00:00" + }, + { + "name": "beyondcode/laravel-websockets", + "version": "1.14.1", + "source": { + "type": "git", + "url": "https://github.com/beyondcode/laravel-websockets.git", + "reference": "fee9a81e42a096d2aaca216ce91acf6e25d8c06d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/beyondcode/laravel-websockets/zipball/fee9a81e42a096d2aaca216ce91acf6e25d8c06d", + "reference": "fee9a81e42a096d2aaca216ce91acf6e25d8c06d", + "shasum": "" + }, + "require": { + "cboden/ratchet": "^0.4.1", + "ext-json": "*", + "facade/ignition-contracts": "^1.0", + "guzzlehttp/psr7": "^1.7|^2.0", + "illuminate/broadcasting": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/routing": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", + "php": "^7.2|^8.0", + "pusher/pusher-php-server": "^3.0|^4.0|^5.0|^6.0|^7.0", + "react/dns": "^1.1", + "react/http": "^1.1", + "symfony/http-kernel": "^4.0|^5.0|^6.0", + "symfony/psr-http-message-bridge": "^1.1|^2.0" + }, + "require-dev": { + "mockery/mockery": "^1.3.3", + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0", + "phpunit/phpunit": "^8.0|^9.0|^10.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "BeyondCode\\LaravelWebSockets\\WebSocketsServiceProvider" + ], + "aliases": { + "WebSocketRouter": "BeyondCode\\LaravelWebSockets\\Facades\\WebSocketRouter" + } + } + }, + "autoload": { + "psr-4": { + "BeyondCode\\LaravelWebSockets\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marcel Pociot", + "email": "marcel@beyondco.de", + "homepage": "https://beyondcode.de", + "role": "Developer" + }, + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "An easy to use WebSocket server", + "homepage": "https://github.com/beyondcode/laravel-websockets", + "keywords": [ + "beyondcode", + "laravel-websockets" + ], + "support": { + "issues": "https://github.com/beyondcode/laravel-websockets/issues", + "source": "https://github.com/beyondcode/laravel-websockets/tree/1.14.1" + }, + "abandoned": true, + "time": "2023-08-30T07:23:12+00:00" + }, + { + "name": "brick/math", + "version": "0.12.1", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "bignumber", + "brick", + "decimal", + "integer", + "math", + "mathematics", + "rational" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.12.1" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + } + ], + "time": "2023-11-29T23:19:16+00:00" + }, + { + "name": "carbonphp/carbon-doctrine-types", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0" + }, + "conflict": { + "doctrine/dbal": "<3.7.0 || >=4.0.0" + }, + "require-dev": { + "doctrine/dbal": "^3.7.0", + "nesbot/carbon": "^2.71.0 || ^3.0.0", + "phpunit/phpunit": "^10.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Carbon\\Doctrine\\": "src/Carbon/Doctrine/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "KyleKatarn", + "email": "kylekatarnls@gmail.com" + } + ], + "description": "Types to use Carbon in Doctrine", + "keywords": [ + "carbon", + "date", + "datetime", + "doctrine", + "time" + ], + "support": { + "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.1.0" + }, + "funding": [ + { + "url": "https://github.com/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2023-12-11T17:09:12+00:00" + }, + { + "name": "cboden/ratchet", + "version": "v0.4.4", + "source": { + "type": "git", + "url": "https://github.com/ratchetphp/Ratchet.git", + "reference": "5012dc954541b40c5599d286fd40653f5716a38f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ratchetphp/Ratchet/zipball/5012dc954541b40c5599d286fd40653f5716a38f", + "reference": "5012dc954541b40c5599d286fd40653f5716a38f", + "shasum": "" + }, + "require": { + "guzzlehttp/psr7": "^1.7|^2.0", + "php": ">=5.4.2", + "ratchet/rfc6455": "^0.3.1", + "react/event-loop": ">=0.4", + "react/socket": "^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5", + "symfony/http-foundation": "^2.6|^3.0|^4.0|^5.0|^6.0", + "symfony/routing": "^2.6|^3.0|^4.0|^5.0|^6.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ratchet\\": "src/Ratchet" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "role": "Developer" + }, + { + "name": "Matt Bonneau", + "role": "Developer" + } + ], + "description": "PHP WebSocket library", + "homepage": "http://socketo.me", + "keywords": [ + "Ratchet", + "WebSockets", + "server", + "sockets", + "websocket" + ], + "support": { + "chat": "https://gitter.im/reactphp/reactphp", + "issues": "https://github.com/ratchetphp/Ratchet/issues", + "source": "https://github.com/ratchetphp/Ratchet/tree/v0.4.4" + }, + "time": "2021-12-14T00:20:41+00:00" + }, + { + "name": "composer/semver", + "version": "3.4.0", + "source": { + "type": "git", + "url": "https://github.com/composer/semver.git", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Semver\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" + } + ], + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], + "support": { + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.4.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2023-08-31T09:50:34+00:00" + }, + { + "name": "dflydev/dot-access-data", + "version": "v3.0.2", + "source": { + "type": "git", + "url": "https://github.com/dflydev/dflydev-dot-access-data.git", + "reference": "f41715465d65213d644d3141a6a93081be5d3549" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", + "reference": "f41715465d65213d644d3141a6a93081be5d3549", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.42", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", + "scrutinizer/ocular": "1.6.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Dflydev\\DotAccessData\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dragonfly Development Inc.", + "email": "info@dflydev.com", + "homepage": "http://dflydev.com" + }, + { + "name": "Beau Simensen", + "email": "beau@dflydev.com", + "homepage": "http://beausimensen.com" + }, + { + "name": "Carlos Frutos", + "email": "carlos@kiwing.it", + "homepage": "https://github.com/cfrutos" + }, + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com" + } + ], + "description": "Given a deep data structure, access data by dot notation.", + "homepage": "https://github.com/dflydev/dflydev-dot-access-data", + "keywords": [ + "access", + "data", + "dot", + "notation" + ], + "support": { + "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" + }, + "time": "2022-10-27T11:44:00+00:00" + }, + { + "name": "doctrine/cache", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/cache.git", + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb", + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb", + "shasum": "" + }, + "require": { + "php": "~7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": ">2.2,<2.4" + }, + "require-dev": { + "cache/integration-tests": "dev-master", + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psr/cache": "^1.0 || ^2.0 || ^3.0", + "symfony/cache": "^4.4 || ^5.4 || ^6", + "symfony/var-exporter": "^4.4 || ^5.4 || ^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", + "homepage": "https://www.doctrine-project.org/projects/cache.html", + "keywords": [ + "abstraction", + "apcu", + "cache", + "caching", + "couchdb", + "memcached", + "php", + "redis", + "xcache" + ], + "support": { + "issues": "https://github.com/doctrine/cache/issues", + "source": "https://github.com/doctrine/cache/tree/2.2.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcache", + "type": "tidelift" + } + ], + "time": "2022-05-20T20:07:39+00:00" + }, + { + "name": "doctrine/dbal", + "version": "3.8.6", + "source": { + "type": "git", + "url": "https://github.com/doctrine/dbal.git", + "reference": "b7411825cf7efb7e51f9791dea19d86e43b399a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/b7411825cf7efb7e51f9791dea19d86e43b399a1", + "reference": "b7411825cf7efb7e51f9791dea19d86e43b399a1", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2", + "doctrine/cache": "^1.11|^2.0", + "doctrine/deprecations": "^0.5.3|^1", + "doctrine/event-manager": "^1|^2", + "php": "^7.4 || ^8.0", + "psr/cache": "^1|^2|^3", + "psr/log": "^1|^2|^3" + }, + "require-dev": { + "doctrine/coding-standard": "12.0.0", + "fig/log-test": "^1", + "jetbrains/phpstorm-stubs": "2023.1", + "phpstan/phpstan": "1.11.5", + "phpstan/phpstan-strict-rules": "^1.6", + "phpunit/phpunit": "9.6.19", + "psalm/plugin-phpunit": "0.18.4", + "slevomat/coding-standard": "8.13.1", + "squizlabs/php_codesniffer": "3.10.1", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/console": "^4.4|^5.4|^6.0|^7.0", + "vimeo/psalm": "4.30.0" + }, + "suggest": { + "symfony/console": "For helpful console commands such as SQL execution and import of files." + }, + "bin": [ + "bin/doctrine-dbal" + ], + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\DBAL\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + } + ], + "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.", + "homepage": "https://www.doctrine-project.org/projects/dbal.html", + "keywords": [ + "abstraction", + "database", + "db2", + "dbal", + "mariadb", + "mssql", + "mysql", + "oci8", + "oracle", + "pdo", + "pgsql", + "postgresql", + "queryobject", + "sasql", + "sql", + "sqlite", + "sqlserver", + "sqlsrv" + ], + "support": { + "issues": "https://github.com/doctrine/dbal/issues", + "source": "https://github.com/doctrine/dbal/tree/3.8.6" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", + "type": "tidelift" + } + ], + "time": "2024-06-19T10:38:17+00:00" + }, + { + "name": "doctrine/deprecations", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.0" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/1.1.3" + }, + "time": "2024-01-30T19:34:25+00:00" + }, + { + "name": "doctrine/event-manager", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/event-manager.git", + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e", + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "conflict": { + "doctrine/common": "<2.9" + }, + "require-dev": { + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.8.8", + "phpunit/phpunit": "^10.5", + "vimeo/psalm": "^5.24" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + } + ], + "description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", + "homepage": "https://www.doctrine-project.org/projects/event-manager.html", + "keywords": [ + "event", + "event dispatcher", + "event manager", + "event system", + "events" + ], + "support": { + "issues": "https://github.com/doctrine/event-manager/issues", + "source": "https://github.com/doctrine/event-manager/tree/2.0.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager", + "type": "tidelift" + } + ], + "time": "2024-05-22T20:47:39+00:00" + }, + { + "name": "doctrine/inflector", + "version": "2.0.10", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^11.0", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.10" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2024-02-18T20:23:39+00:00" + }, + { + "name": "doctrine/lexer", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.21" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/3.0.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2024-02-05T11:56:58+00:00" + }, + { + "name": "dompdf/dompdf", + "version": "v2.0.8", + "source": { + "type": "git", + "url": "https://github.com/dompdf/dompdf.git", + "reference": "c20247574601700e1f7c8dab39310fca1964dc52" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dompdf/dompdf/zipball/c20247574601700e1f7c8dab39310fca1964dc52", + "reference": "c20247574601700e1f7c8dab39310fca1964dc52", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-mbstring": "*", + "masterminds/html5": "^2.0", + "phenx/php-font-lib": ">=0.5.4 <1.0.0", + "phenx/php-svg-lib": ">=0.5.2 <1.0.0", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "ext-json": "*", + "ext-zip": "*", + "mockery/mockery": "^1.3", + "phpunit/phpunit": "^7.5 || ^8 || ^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "suggest": { + "ext-gd": "Needed to process images", + "ext-gmagick": "Improves image processing performance", + "ext-imagick": "Improves image processing performance", + "ext-zlib": "Needed for pdf stream compression" + }, + "type": "library", + "autoload": { + "psr-4": { + "Dompdf\\": "src/" + }, + "classmap": [ + "lib/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1" + ], + "authors": [ + { + "name": "The Dompdf Community", + "homepage": "https://github.com/dompdf/dompdf/blob/master/AUTHORS.md" + } + ], + "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter", + "homepage": "https://github.com/dompdf/dompdf", + "support": { + "issues": "https://github.com/dompdf/dompdf/issues", + "source": "https://github.com/dompdf/dompdf/tree/v2.0.8" + }, + "time": "2024-04-29T13:06:17+00:00" + }, + { + "name": "dragonmantank/cron-expression", + "version": "v3.3.3", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "webmozart/assert": "^1.0" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-webmozart-assert": "^1.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "support": { + "issues": "https://github.com/dragonmantank/cron-expression/issues", + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3" + }, + "funding": [ + { + "url": "https://github.com/dragonmantank", + "type": "github" + } + ], + "time": "2023-08-10T19:36:49+00:00" + }, + { + "name": "egulias/email-validator", + "version": "4.0.2", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^2.0 || ^3.0", + "php": ">=8.1", + "symfony/polyfill-intl-idn": "^1.26" + }, + "require-dev": { + "phpunit/phpunit": "^10.2", + "vimeo/psalm": "^5.12" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" + }, + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2023-10-06T06:47:41+00:00" + }, + { + "name": "evenement/evenement", + "version": "v3.0.2", + "source": { + "type": "git", + "url": "https://github.com/igorw/evenement.git", + "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/igorw/evenement/zipball/0a16b0d71ab13284339abb99d9d2bd813640efbc", + "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^9 || ^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "Evenement\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + } + ], + "description": "Événement is a very simple event dispatching library for PHP", + "keywords": [ + "event-dispatcher", + "event-emitter" + ], + "support": { + "issues": "https://github.com/igorw/evenement/issues", + "source": "https://github.com/igorw/evenement/tree/v3.0.2" + }, + "time": "2023-08-08T05:53:35+00:00" + }, + { + "name": "ezyang/htmlpurifier", + "version": "v4.17.0", + "source": { + "type": "git", + "url": "https://github.com/ezyang/htmlpurifier.git", + "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/bbc513d79acf6691fa9cf10f192c90dd2957f18c", + "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c", + "shasum": "" + }, + "require": { + "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" + }, + "require-dev": { + "cerdic/css-tidy": "^1.7 || ^2.0", + "simpletest/simpletest": "dev-master" + }, + "suggest": { + "cerdic/css-tidy": "If you want to use the filter 'Filter.ExtractStyleBlocks'.", + "ext-bcmath": "Used for unit conversion and imagecrash protection", + "ext-iconv": "Converts text to and from non-UTF-8 encodings", + "ext-tidy": "Used for pretty-printing HTML" + }, + "type": "library", + "autoload": { + "files": [ + "library/HTMLPurifier.composer.php" + ], + "psr-0": { + "HTMLPurifier": "library/" + }, + "exclude-from-classmap": [ + "/library/HTMLPurifier/Language/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Edward Z. Yang", + "email": "admin@htmlpurifier.org", + "homepage": "http://ezyang.com" + } + ], + "description": "Standards compliant HTML filter written in PHP", + "homepage": "http://htmlpurifier.org/", + "keywords": [ + "html" + ], + "support": { + "issues": "https://github.com/ezyang/htmlpurifier/issues", + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.17.0" + }, + "time": "2023-11-17T15:01:25+00:00" + }, + { + "name": "facade/ignition-contracts", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/facade/ignition-contracts.git", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^v2.15.8", + "phpunit/phpunit": "^9.3.11", + "vimeo/psalm": "^3.17.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Facade\\IgnitionContracts\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://flareapp.io", + "role": "Developer" + } + ], + "description": "Solution contracts for Ignition", + "homepage": "https://github.com/facade/ignition-contracts", + "keywords": [ + "contracts", + "flare", + "ignition" + ], + "support": { + "issues": "https://github.com/facade/ignition-contracts/issues", + "source": "https://github.com/facade/ignition-contracts/tree/1.0.2" + }, + "time": "2020-10-16T08:27:54+00:00" + }, + { + "name": "fig/http-message-util", + "version": "1.1.5", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message-util.git", + "reference": "9d94dc0154230ac39e5bf89398b324a86f63f765" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message-util/zipball/9d94dc0154230ac39e5bf89398b324a86f63f765", + "reference": "9d94dc0154230ac39e5bf89398b324a86f63f765", + "shasum": "" + }, + "require": { + "php": "^5.3 || ^7.0 || ^8.0" + }, + "suggest": { + "psr/http-message": "The package containing the PSR-7 interfaces" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Fig\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Utility classes and constants for use with PSR-7 (psr/http-message)", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "issues": "https://github.com/php-fig/http-message-util/issues", + "source": "https://github.com/php-fig/http-message-util/tree/1.1.5" + }, + "time": "2020-11-24T22:02:12+00:00" + }, + { + "name": "firebase/php-jwt", + "version": "v5.4.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "d2113d9b2e0e349796e72d2a63cf9319100382d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/d2113d9b2e0e349796e72d2a63cf9319100382d2", + "reference": "d2113d9b2e0e349796e72d2a63cf9319100382d2", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": ">=4.8 <=9" + }, + "suggest": { + "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" + }, + "type": "library", + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", + "keywords": [ + "jwt", + "php" + ], + "support": { + "issues": "https://github.com/firebase/php-jwt/issues", + "source": "https://github.com/firebase/php-jwt/tree/v5.4.0" + }, + "time": "2021-06-23T19:00:23+00:00" + }, + { + "name": "fruitcake/php-cors", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/fruitcake/php-cors.git", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "symfony/http-foundation": "^4.4|^5.4|^6|^7" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "phpunit/phpunit": "^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Fruitcake\\Cors\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fruitcake", + "homepage": "https://fruitcake.nl" + }, + { + "name": "Barryvdh", + "email": "barryvdh@gmail.com" + } + ], + "description": "Cross-origin resource sharing library for the Symfony HttpFoundation", + "homepage": "https://github.com/fruitcake/php-cors", + "keywords": [ + "cors", + "laravel", + "symfony" + ], + "support": { + "issues": "https://github.com/fruitcake/php-cors/issues", + "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2023-10-12T05:21:21+00:00" + }, + { + "name": "google/apiclient", + "version": "v2.14.0", + "source": { + "type": "git", + "url": "https://github.com/googleapis/google-api-php-client.git", + "reference": "789c8b07cad97f420ac0467c782036f955a2ad89" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/789c8b07cad97f420ac0467c782036f955a2ad89", + "reference": "789c8b07cad97f420ac0467c782036f955a2ad89", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~2.0||~3.0||~4.0||~5.0||~6.0", + "google/apiclient-services": "~0.200", + "google/auth": "^1.10", + "guzzlehttp/guzzle": "~5.3.3||~6.0||~7.0", + "guzzlehttp/psr7": "^1.8.4||^2.2.1", + "monolog/monolog": "^1.17||^2.0||^3.0", + "php": "^5.6|^7.0|^8.0", + "phpseclib/phpseclib": "~2.0||^3.0.2" + }, + "require-dev": { + "cache/filesystem-adapter": "^0.3.2|^1.1", + "composer/composer": "^1.10.22", + "phpcompatibility/php-compatibility": "^9.2", + "phpspec/prophecy-phpunit": "^1.1||^2.0", + "phpunit/phpunit": "^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "squizlabs/php_codesniffer": "^3.0", + "symfony/css-selector": "~2.1", + "symfony/dom-crawler": "~2.1", + "yoast/phpunit-polyfills": "^1.0" + }, + "suggest": { + "cache/filesystem-adapter": "For caching certs and tokens (using Google\\Client::setCache)" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "files": [ + "src/aliases.php" + ], + "psr-4": { + "Google\\": "src/" + }, + "classmap": [ + "src/aliases.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Client library for Google APIs", + "homepage": "http://developers.google.com/api-client-library/php", + "keywords": [ + "google" + ], + "support": { + "issues": "https://github.com/googleapis/google-api-php-client/issues", + "source": "https://github.com/googleapis/google-api-php-client/tree/v2.14.0" + }, + "time": "2023-05-11T21:54:55+00:00" + }, + { + "name": "google/apiclient-services", + "version": "v0.360.0", + "source": { + "type": "git", + "url": "https://github.com/googleapis/google-api-php-client-services.git", + "reference": "e48813050e660c7dcbe48cb6556461efe6381a54" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/e48813050e660c7dcbe48cb6556461efe6381a54", + "reference": "e48813050e660c7dcbe48cb6556461efe6381a54", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.6" + }, + "type": "library", + "autoload": { + "files": [ + "autoload.php" + ], + "psr-4": { + "Google\\Service\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Client library for Google APIs", + "homepage": "http://developers.google.com/api-client-library/php", + "keywords": [ + "google" + ], + "support": { + "issues": "https://github.com/googleapis/google-api-php-client-services/issues", + "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.360.0" + }, + "time": "2024-06-17T01:06:20+00:00" + }, + { + "name": "google/auth", + "version": "v1.20.1", + "source": { + "type": "git", + "url": "https://github.com/googleapis/google-auth-library-php.git", + "reference": "3a1a5c5b5a3006b3d05256d5df7066f37252112c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/3a1a5c5b5a3006b3d05256d5df7066f37252112c", + "reference": "3a1a5c5b5a3006b3d05256d5df7066f37252112c", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~5.0", + "guzzlehttp/guzzle": "^6.2.1|^7.0", + "guzzlehttp/psr7": "^1.7|^2.0", + "php": "^7.1||^8.0", + "psr/cache": "^1.0|^2.0|^3.0", + "psr/http-message": "^1.0" + }, + "require-dev": { + "guzzlehttp/promises": "0.1.1|^1.3", + "kelvinmo/simplejwt": "^0.2.5|^0.5.1", + "phpseclib/phpseclib": "^2.0.31", + "phpspec/prophecy-phpunit": "^1.1", + "phpunit/phpunit": "^7.5||^8.5", + "sebastian/comparator": ">=1.2.3", + "squizlabs/php_codesniffer": "^3.5" + }, + "suggest": { + "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2." + }, + "type": "library", + "autoload": { + "psr-4": { + "Google\\Auth\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Google Auth Library for PHP", + "homepage": "http://github.com/google/google-auth-library-php", + "keywords": [ + "Authentication", + "google", + "oauth2" + ], + "support": { + "docs": "https://googleapis.github.io/google-auth-library-php/main/", + "issues": "https://github.com/googleapis/google-auth-library-php/issues", + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.20.1" + }, + "time": "2022-04-12T15:24:52+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.1.2", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/fbd48bce38f73f8a4ec8583362e732e4095e5862", + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2023-11-12T22:16:48+00:00" + }, + { + "name": "guzzlehttp/guzzle", + "version": "7.8.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "ext-curl": "*", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.8.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2023-12-03T20:35:24+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2023-12-03T20:19:20+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.6.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.36 || ^9.6.15" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.6.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2023-12-03T20:05:35+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2023-12-03T19:50:20+00:00" + }, + { + "name": "laravel/framework", + "version": "v10.48.13", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "2c6816d697a4362c09c066118addda251b70b98a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/2c6816d697a4362c09c066118addda251b70b98a", + "reference": "2c6816d697a4362c09c066118addda251b70b98a", + "shasum": "" + }, + "require": { + "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", + "fruitcake/php-cors": "^1.2", + "guzzlehttp/uri-template": "^1.0", + "laravel/prompts": "^0.1.9", + "laravel/serializable-closure": "^1.3", + "league/commonmark": "^2.2.1", + "league/flysystem": "^3.8.0", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.67", + "nunomaduro/termwind": "^1.13", + "php": "^8.1", + "psr/container": "^1.1.1|^2.0.1", + "psr/log": "^1.0|^2.0|^3.0", + "psr/simple-cache": "^1.0|^2.0|^3.0", + "ramsey/uuid": "^4.7", + "symfony/console": "^6.2", + "symfony/error-handler": "^6.2", + "symfony/finder": "^6.2", + "symfony/http-foundation": "^6.4", + "symfony/http-kernel": "^6.2", + "symfony/mailer": "^6.2", + "symfony/mime": "^6.2", + "symfony/process": "^6.2", + "symfony/routing": "^6.2", + "symfony/uid": "^6.2", + "symfony/var-dumper": "^6.2", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", + "vlucas/phpdotenv": "^5.4.1", + "voku/portable-ascii": "^2.0" + }, + "conflict": { + "carbonphp/carbon-doctrine-types": ">=3.0", + "doctrine/dbal": ">=4.0", + "mockery/mockery": "1.6.8", + "phpunit/phpunit": ">=11.0.0", + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.1|2.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/conditionable": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" + }, + "require-dev": { + "ably/ably-php": "^1.0", + "aws/aws-sdk-php": "^3.235.5", + "doctrine/dbal": "^3.5.1", + "ext-gmp": "*", + "fakerphp/faker": "^1.21", + "guzzlehttp/guzzle": "^7.5", + "league/flysystem-aws-s3-v3": "^3.0", + "league/flysystem-ftp": "^3.0", + "league/flysystem-path-prefixing": "^3.3", + "league/flysystem-read-only": "^3.3", + "league/flysystem-sftp-v3": "^3.0", + "mockery/mockery": "^1.5.1", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^8.23.4", + "pda/pheanstalk": "^4.0", + "phpstan/phpstan": "^1.4.7", + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2", + "symfony/cache": "^6.2", + "symfony/http-client": "^6.2.4", + "symfony/psr-http-message-bridge": "^2.0" + }, + "suggest": { + "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", + "brianium/paratest": "Required to run tests in parallel (^6.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.5).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", + "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", + "league/flysystem-read-only": "Required to use read-only disks (^3.3)", + "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", + "mockery/mockery": "Required to use mocking (^1.5.1).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", + "predis/predis": "Required to use the predis connector (^2.0.2).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^6.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "10.x-dev" + } + }, + "autoload": { + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Filesystem/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/", + "src/Illuminate/Conditionable/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" + }, + "time": "2024-06-18T16:46:35+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.1.24", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "409b0b4305273472f3754826e68f4edbd0150149" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/409b0b4305273472f3754826e68f4edbd0150149", + "reference": "409b0b4305273472f3754826e68f4edbd0150149", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "illuminate/collections": "^10.0|^11.0", + "php": "^8.1", + "symfony/console": "^6.2|^7.0" + }, + "conflict": { + "illuminate/console": ">=10.17.0 <10.25.0", + "laravel/framework": ">=10.17.0 <10.25.0" + }, + "require-dev": { + "mockery/mockery": "^1.5", + "pestphp/pest": "^2.3", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-mockery": "^1.1" + }, + "suggest": { + "ext-pcntl": "Required for the spinner to be animated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Laravel\\Prompts\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Add beautiful and user-friendly forms to your command-line applications.", + "support": { + "issues": "https://github.com/laravel/prompts/issues", + "source": "https://github.com/laravel/prompts/tree/v0.1.24" + }, + "time": "2024-06-17T13:58:22+00:00" + }, + { + "name": "laravel/sanctum", + "version": "v3.3.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/sanctum.git", + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/8c104366459739f3ada0e994bcd3e6fd681ce3d5", + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/console": "^9.21|^10.0", + "illuminate/contracts": "^9.21|^10.0", + "illuminate/database": "^9.21|^10.0", + "illuminate/support": "^9.21|^10.0", + "php": "^8.0.2" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "orchestra/testbench": "^7.28.2|^8.8.3", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Sanctum\\SanctumServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sanctum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.", + "keywords": [ + "auth", + "laravel", + "sanctum" + ], + "support": { + "issues": "https://github.com/laravel/sanctum/issues", + "source": "https://github.com/laravel/sanctum" + }, + "time": "2023-12-19T18:44:48+00:00" + }, + { + "name": "laravel/serializable-closure", + "version": "v1.3.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "nesbot/carbon": "^2.61", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2023-11-08T14:08:06+00:00" + }, + { + "name": "laravel/socialite", + "version": "v5.12.1", + "source": { + "type": "git", + "url": "https://github.com/laravel/socialite.git", + "reference": "7dae1b072573809f32ab6dcf4aebb57c8b3e8acf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/socialite/zipball/7dae1b072573809f32ab6dcf4aebb57c8b3e8acf", + "reference": "7dae1b072573809f32ab6dcf4aebb57c8b3e8acf", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/guzzle": "^6.0|^7.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "league/oauth1-client": "^1.10.1", + "php": "^7.2|^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.0|^9.3|^10.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Socialite\\SocialiteServiceProvider" + ], + "aliases": { + "Socialite": "Laravel\\Socialite\\Facades\\Socialite" + } + } + }, + "autoload": { + "psr-4": { + "Laravel\\Socialite\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel wrapper around OAuth 1 & OAuth 2 libraries.", + "homepage": "https://laravel.com", + "keywords": [ + "laravel", + "oauth" + ], + "support": { + "issues": "https://github.com/laravel/socialite/issues", + "source": "https://github.com/laravel/socialite" + }, + "time": "2024-02-16T08:58:20+00:00" + }, + { + "name": "laravel/tinker", + "version": "v2.9.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/tinker.git", + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/tinker/zipball/502e0fe3f0415d06d5db1f83a472f0f3b754bafe", + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe", + "shasum": "" + }, + "require": { + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "php": "^7.2.5|^8.0", + "psy/psysh": "^0.11.1|^0.12.0", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" + }, + "require-dev": { + "mockery/mockery": "~1.3.3|^1.4.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.5.8|^9.3.3" + }, + "suggest": { + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Tinker\\TinkerServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Tinker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Powerful REPL for the Laravel framework.", + "keywords": [ + "REPL", + "Tinker", + "laravel", + "psysh" + ], + "support": { + "issues": "https://github.com/laravel/tinker/issues", + "source": "https://github.com/laravel/tinker/tree/v2.9.0" + }, + "time": "2024-01-04T16:10:04+00:00" + }, + { + "name": "lawondyss/moment-php", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/Lawondyss/MomentPHP.git", + "reference": "0350c3c86f9396d07a4c48955c9f63ce3704d001" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Lawondyss/MomentPHP/zipball/0350c3c86f9396d07a4c48955c9f63ce3704d001", + "reference": "0350c3c86f9396d07a4c48955c9f63ce3704d001", + "shasum": "" + }, + "require": { + "php": ">= 5.3.0" + }, + "require-dev": { + "nette/tester": "@dev" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-0": { + "MomentPHP": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Ladislav Vondráček", + "email": "lawondyss@gmail.com" + } + ], + "description": "MomentPHP is library for parsing, manipulating and formatting dates.", + "homepage": "https://github.com/Lawondyss/MomentPHP", + "keywords": [ + "date", + "datetime", + "formatting", + "manipulate", + "parse", + "time" + ], + "support": { + "issues": "https://github.com/Lawondyss/MomentPHP/issues", + "source": "https://github.com/Lawondyss/MomentPHP/tree/v1.1" + }, + "time": "2014-06-17T18:42:13+00:00" + }, + { + "name": "league/commonmark", + "version": "2.4.2", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/91c24291965bd6d7c46c46a12ba7492f83b1cadf", + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "league/config": "^1.1.1", + "php": "^7.4 || ^8.0", + "psr/event-dispatcher": "^1.0", + "symfony/deprecation-contracts": "^2.1 || ^3.0", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "cebe/markdown": "^1.0", + "commonmark/cmark": "0.30.3", + "commonmark/commonmark.js": "0.30.0", + "composer/package-versions-deprecated": "^1.8", + "embed/embed": "^4.4", + "erusev/parsedown": "^1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "^1.4 || ^2.0", + "nyholm/psr7": "^1.5", + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", + "scrutinizer/ocular": "^1.8.1", + "symfony/finder": "^5.3 | ^6.0 || ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", + "unleashedtech/php-coding-standard": "^3.1.1", + "vimeo/psalm": "^4.24.0 || ^5.0.0" + }, + "suggest": { + "symfony/yaml": "v2.3+ required if using the Front Matter extension" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + } + }, + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "forum": "https://github.com/thephpleague/commonmark/discussions", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2024-02-02T11:59:32+00:00" + }, + { + "name": "league/config", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/config.git", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "shasum": "" + }, + "require": { + "dflydev/dot-access-data": "^3.0.1", + "nette/schema": "^1.2", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.5", + "scrutinizer/ocular": "^1.8.1", + "unleashedtech/php-coding-standard": "^3.1", + "vimeo/psalm": "^4.7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Config\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Define configuration arrays with strict schemas and access values with dot notation", + "homepage": "https://config.thephpleague.com", + "keywords": [ + "array", + "config", + "configuration", + "dot", + "dot-access", + "nested", + "schema" + ], + "support": { + "docs": "https://config.thephpleague.com/", + "issues": "https://github.com/thephpleague/config/issues", + "rss": "https://github.com/thephpleague/config/releases.atom", + "source": "https://github.com/thephpleague/config" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + } + ], + "time": "2022-12-11T20:36:23+00:00" + }, + { + "name": "league/flysystem", + "version": "3.28.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", + "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", + "shasum": "" + }, + "require": { + "league/flysystem-local": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "conflict": { + "async-aws/core": "<1.19.0", + "async-aws/s3": "<1.14.0", + "aws/aws-sdk-php": "3.209.31 || 3.210.0", + "guzzlehttp/guzzle": "<7.0", + "guzzlehttp/ringphp": "<1.1.1", + "phpseclib/phpseclib": "3.0.15", + "symfony/http-client": "<5.2" + }, + "require-dev": { + "async-aws/s3": "^1.5 || ^2.0", + "async-aws/simple-s3": "^1.1 || ^2.0", + "aws/aws-sdk-php": "^3.295.10", + "composer/semver": "^3.0", + "ext-fileinfo": "*", + "ext-ftp": "*", + "ext-mongodb": "^1.3", + "ext-zip": "*", + "friendsofphp/php-cs-fixer": "^3.5", + "google/cloud-storage": "^1.23", + "guzzlehttp/psr7": "^2.6", + "microsoft/azure-storage-blob": "^1.1", + "mongodb/mongodb": "^1.2", + "phpseclib/phpseclib": "^3.0.36", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.11|^10.0", + "sabre/dav": "^4.6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "File storage abstraction for PHP", + "keywords": [ + "WebDAV", + "aws", + "cloud", + "file", + "files", + "filesystem", + "filesystems", + "ftp", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/3.28.0" + }, + "time": "2024-05-22T10:09:12+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.28.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/13f22ea8be526ea58c2ddff9e158ef7c296e4f40", + "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "source": "https://github.com/thephpleague/flysystem-local/tree/3.28.0" + }, + "time": "2024-05-06T20:05:52+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.15.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2024-01-28T23:22:08+00:00" + }, + { + "name": "league/oauth1-client", + "version": "v1.10.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/oauth1-client.git", + "reference": "d6365b901b5c287dd41f143033315e2f777e1167" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/oauth1-client/zipball/d6365b901b5c287dd41f143033315e2f777e1167", + "reference": "d6365b901b5c287dd41f143033315e2f777e1167", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-openssl": "*", + "guzzlehttp/guzzle": "^6.0|^7.0", + "guzzlehttp/psr7": "^1.7|^2.0", + "php": ">=7.1||>=8.0" + }, + "require-dev": { + "ext-simplexml": "*", + "friendsofphp/php-cs-fixer": "^2.17", + "mockery/mockery": "^1.3.3", + "phpstan/phpstan": "^0.12.42", + "phpunit/phpunit": "^7.5||9.5" + }, + "suggest": { + "ext-simplexml": "For decoding XML-based responses." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev", + "dev-develop": "2.0-dev" + } + }, + "autoload": { + "psr-4": { + "League\\OAuth1\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Corlett", + "email": "bencorlett@me.com", + "homepage": "http://www.webcomm.com.au", + "role": "Developer" + } + ], + "description": "OAuth 1.0 Client Library", + "keywords": [ + "Authentication", + "SSO", + "authorization", + "bitbucket", + "identity", + "idp", + "oauth", + "oauth1", + "single sign on", + "trello", + "tumblr", + "twitter" + ], + "support": { + "issues": "https://github.com/thephpleague/oauth1-client/issues", + "source": "https://github.com/thephpleague/oauth1-client/tree/v1.10.1" + }, + "time": "2022-04-15T14:02:14+00:00" + }, + { + "name": "maatwebsite/excel", + "version": "3.1.55", + "source": { + "type": "git", + "url": "https://github.com/SpartnerNL/Laravel-Excel.git", + "reference": "6d9d791dcdb01a9b6fd6f48d46f0d5fff86e6260" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/6d9d791dcdb01a9b6fd6f48d46f0d5fff86e6260", + "reference": "6d9d791dcdb01a9b6fd6f48d46f0d5fff86e6260", + "shasum": "" + }, + "require": { + "composer/semver": "^3.3", + "ext-json": "*", + "illuminate/support": "5.8.*||^6.0||^7.0||^8.0||^9.0||^10.0||^11.0", + "php": "^7.0||^8.0", + "phpoffice/phpspreadsheet": "^1.18", + "psr/simple-cache": "^1.0||^2.0||^3.0" + }, + "require-dev": { + "laravel/scout": "^7.0||^8.0||^9.0||^10.0", + "orchestra/testbench": "^6.0||^7.0||^8.0||^9.0", + "predis/predis": "^1.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Maatwebsite\\Excel\\ExcelServiceProvider" + ], + "aliases": { + "Excel": "Maatwebsite\\Excel\\Facades\\Excel" + } + } + }, + "autoload": { + "psr-4": { + "Maatwebsite\\Excel\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Patrick Brouwers", + "email": "patrick@spartner.nl" + } + ], + "description": "Supercharged Excel exports and imports in Laravel", + "keywords": [ + "PHPExcel", + "batch", + "csv", + "excel", + "export", + "import", + "laravel", + "php", + "phpspreadsheet" + ], + "support": { + "issues": "https://github.com/SpartnerNL/Laravel-Excel/issues", + "source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.55" + }, + "funding": [ + { + "url": "https://laravel-excel.com/commercial-support", + "type": "custom" + }, + { + "url": "https://github.com/patrickbrouwers", + "type": "github" + } + ], + "time": "2024-02-20T08:27:10+00:00" + }, + { + "name": "maennchen/zipstream-php", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/maennchen/ZipStream-PHP.git", + "reference": "b8174494eda667f7d13876b4a7bfef0f62a7c0d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/b8174494eda667f7d13876b4a7bfef0f62a7c0d1", + "reference": "b8174494eda667f7d13876b4a7bfef0f62a7c0d1", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-zlib": "*", + "php-64bit": "^8.1" + }, + "require-dev": { + "ext-zip": "*", + "friendsofphp/php-cs-fixer": "^3.16", + "guzzlehttp/guzzle": "^7.5", + "mikey179/vfsstream": "^1.6", + "php-coveralls/php-coveralls": "^2.5", + "phpunit/phpunit": "^10.0", + "vimeo/psalm": "^5.0" + }, + "suggest": { + "guzzlehttp/psr7": "^2.4", + "psr/http-message": "^2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZipStream\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paul Duncan", + "email": "pabs@pablotron.org" + }, + { + "name": "Jonatan Männchen", + "email": "jonatan@maennchen.ch" + }, + { + "name": "Jesse Donat", + "email": "donatj@gmail.com" + }, + { + "name": "András Kolesár", + "email": "kolesar@kolesar.hu" + } + ], + "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.", + "keywords": [ + "stream", + "zip" + ], + "support": { + "issues": "https://github.com/maennchen/ZipStream-PHP/issues", + "source": "https://github.com/maennchen/ZipStream-PHP/tree/3.1.0" + }, + "funding": [ + { + "url": "https://github.com/maennchen", + "type": "github" + }, + { + "url": "https://opencollective.com/zipstream", + "type": "open_collective" + } + ], + "time": "2023-06-21T14:59:35+00:00" + }, + { + "name": "markbaker/complex", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/MarkBaker/PHPComplex.git", + "reference": "95c56caa1cf5c766ad6d65b6344b807c1e8405b9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/95c56caa1cf5c766ad6d65b6344b807c1e8405b9", + "reference": "95c56caa1cf5c766ad6d65b6344b807c1e8405b9", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "dev-master", + "phpcompatibility/php-compatibility": "^9.3", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "squizlabs/php_codesniffer": "^3.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Complex\\": "classes/src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Baker", + "email": "mark@lange.demon.co.uk" + } + ], + "description": "PHP Class for working with complex numbers", + "homepage": "https://github.com/MarkBaker/PHPComplex", + "keywords": [ + "complex", + "mathematics" + ], + "support": { + "issues": "https://github.com/MarkBaker/PHPComplex/issues", + "source": "https://github.com/MarkBaker/PHPComplex/tree/3.0.2" + }, + "time": "2022-12-06T16:21:08+00:00" + }, + { + "name": "markbaker/matrix", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/MarkBaker/PHPMatrix.git", + "reference": "728434227fe21be27ff6d86621a1b13107a2562c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/728434227fe21be27ff6d86621a1b13107a2562c", + "reference": "728434227fe21be27ff6d86621a1b13107a2562c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "dev-master", + "phpcompatibility/php-compatibility": "^9.3", + "phpdocumentor/phpdocumentor": "2.*", + "phploc/phploc": "^4.0", + "phpmd/phpmd": "2.*", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "sebastian/phpcpd": "^4.0", + "squizlabs/php_codesniffer": "^3.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Matrix\\": "classes/src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Baker", + "email": "mark@demon-angel.eu" + } + ], + "description": "PHP Class for working with matrices", + "homepage": "https://github.com/MarkBaker/PHPMatrix", + "keywords": [ + "mathematics", + "matrix", + "vector" + ], + "support": { + "issues": "https://github.com/MarkBaker/PHPMatrix/issues", + "source": "https://github.com/MarkBaker/PHPMatrix/tree/3.0.1" + }, + "time": "2022-12-02T22:17:43+00:00" + }, + { + "name": "masterminds/html5", + "version": "2.9.0", + "source": { + "type": "git", + "url": "https://github.com/Masterminds/html5-php.git", + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8 || ^9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Masterminds\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matt Butcher", + "email": "technosophos@gmail.com" + }, + { + "name": "Matt Farina", + "email": "matt@mattfarina.com" + }, + { + "name": "Asmir Mustafic", + "email": "goetas@gmail.com" + } + ], + "description": "An HTML5 parser and serializer.", + "homepage": "http://masterminds.github.io/html5-php", + "keywords": [ + "HTML5", + "dom", + "html", + "parser", + "querypath", + "serializer", + "xml" + ], + "support": { + "issues": "https://github.com/Masterminds/html5-php/issues", + "source": "https://github.com/Masterminds/html5-php/tree/2.9.0" + }, + "time": "2024-03-31T07:05:07+00:00" + }, + { + "name": "monolog/monolog", + "version": "3.6.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", + "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2.0", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^10.5.17", + "predis/predis": "^1.1 || ^2", + "ruflin/elastica": "^7", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/3.6.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2024-04-12T21:02:21+00:00" + }, + { + "name": "nesbot/carbon", + "version": "2.72.5", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", + "shasum": "" + }, + "require": { + "carbonphp/carbon-doctrine-types": "*", + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "psr/clock": "^1.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "require-dev": { + "doctrine/dbal": "^2.0 || ^3.1.4 || ^4.0", + "doctrine/orm": "^2.7 || ^3.0", + "friendsofphp/php-cs-fixer": "^3.0", + "kylekatarnls/multi-tester": "^2.0", + "ondrejmirtes/better-reflection": "*", + "phpmd/phpmd": "^2.9", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.99 || ^1.7.14", + "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6", + "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", + "squizlabs/php_codesniffer": "^3.4" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "https://markido.com" + }, + { + "name": "kylekatarnls", + "homepage": "https://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "https://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "support": { + "docs": "https://carbon.nesbot.com/docs", + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "funding": [ + { + "url": "https://github.com/sponsors/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon#sponsor", + "type": "opencollective" + }, + { + "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme", + "type": "tidelift" + } + ], + "time": "2024-06-03T19:18:41+00:00" + }, + { + "name": "nette/schema", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/nette/schema.git", + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "shasum": "" + }, + "require": { + "nette/utils": "^4.0", + "php": "8.1 - 8.3" + }, + "require-dev": { + "nette/tester": "^2.4", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "📐 Nette Schema: validating data structures against a given Schema.", + "homepage": "https://nette.org", + "keywords": [ + "config", + "nette" + ], + "support": { + "issues": "https://github.com/nette/schema/issues", + "source": "https://github.com/nette/schema/tree/v1.3.0" + }, + "time": "2023-12-11T11:54:22+00:00" + }, + { + "name": "nette/utils", + "version": "v4.0.4", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "shasum": "" + }, + "require": { + "php": ">=8.0 <8.4" + }, + "conflict": { + "nette/finder": "<3", + "nette/schema": "<1.2.2" + }, + "require-dev": { + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v4.0.4" + }, + "time": "2024-01-17T16:50:36+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v5.0.2", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-json": "*", + "ext-tokenizer": "*", + "php": ">=7.4" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" + }, + "time": "2024-03-05T20:51:40+00:00" + }, + { + "name": "nunomaduro/termwind", + "version": "v1.15.1", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/termwind.git", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^8.0", + "symfony/console": "^5.3.0|^6.0.0" + }, + "require-dev": { + "ergebnis/phpstan-rules": "^1.0.", + "illuminate/console": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0", + "laravel/pint": "^1.0.0", + "pestphp/pest": "^1.21.0", + "pestphp/pest-plugin-mock": "^1.0", + "phpstan/phpstan": "^1.4.6", + "phpstan/phpstan-strict-rules": "^1.1.0", + "symfony/var-dumper": "^5.2.7|^6.0.0", + "thecodingmachine/phpstan-strict-rules": "^1.0.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Termwind\\Laravel\\TermwindServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Functions.php" + ], + "psr-4": { + "Termwind\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Its like Tailwind CSS, but for the console.", + "keywords": [ + "cli", + "console", + "css", + "package", + "php", + "style" + ], + "support": { + "issues": "https://github.com/nunomaduro/termwind/issues", + "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://github.com/xiCO2k", + "type": "github" + } + ], + "time": "2023-02-08T01:06:31+00:00" + }, + { + "name": "paragonie/random_compat", + "version": "v9.99.100", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", + "shasum": "" + }, + "require": { + "php": ">= 7" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "polyfill", + "pseudorandom", + "random" + ], + "support": { + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/random_compat/issues", + "source": "https://github.com/paragonie/random_compat" + }, + "time": "2020-10-15T08:29:30+00:00" + }, + { + "name": "paragonie/sodium_compat", + "version": "v1.21.1", + "source": { + "type": "git", + "url": "https://github.com/paragonie/sodium_compat.git", + "reference": "bb312875dcdd20680419564fe42ba1d9564b9e37" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/bb312875dcdd20680419564fe42ba1d9564b9e37", + "reference": "bb312875dcdd20680419564fe42ba1d9564b9e37", + "shasum": "" + }, + "require": { + "paragonie/random_compat": ">=1", + "php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7|^8" + }, + "require-dev": { + "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9" + }, + "suggest": { + "ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.", + "ext-sodium": "PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security." + }, + "type": "library", + "autoload": { + "files": [ + "autoload.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com" + }, + { + "name": "Frank Denis", + "email": "jedisct1@pureftpd.org" + } + ], + "description": "Pure PHP implementation of libsodium; uses the PHP extension if it exists", + "keywords": [ + "Authentication", + "BLAKE2b", + "ChaCha20", + "ChaCha20-Poly1305", + "Chapoly", + "Curve25519", + "Ed25519", + "EdDSA", + "Edwards-curve Digital Signature Algorithm", + "Elliptic Curve Diffie-Hellman", + "Poly1305", + "Pure-PHP cryptography", + "RFC 7748", + "RFC 8032", + "Salpoly", + "Salsa20", + "X25519", + "XChaCha20-Poly1305", + "XSalsa20-Poly1305", + "Xchacha20", + "Xsalsa20", + "aead", + "cryptography", + "ecdh", + "elliptic curve", + "elliptic curve cryptography", + "encryption", + "libsodium", + "php", + "public-key cryptography", + "secret-key cryptography", + "side-channel resistant" + ], + "support": { + "issues": "https://github.com/paragonie/sodium_compat/issues", + "source": "https://github.com/paragonie/sodium_compat/tree/v1.21.1" + }, + "time": "2024-04-22T22:05:04+00:00" + }, + { + "name": "pclzip/pclzip", + "version": "2.8.2", + "source": { + "type": "git", + "url": "https://github.com/ivanlanin/pclzip.git", + "reference": "19dd1de9d3f5fc4d7d70175b4c344dee329f45fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ivanlanin/pclzip/zipball/19dd1de9d3f5fc4d7d70175b4c344dee329f45fd", + "reference": "19dd1de9d3f5fc4d7d70175b4c344dee329f45fd", + "shasum": "" + }, + "type": "library", + "autoload": { + "classmap": [ + "pclzip.lib.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1" + ], + "authors": [ + { + "name": "Vincent Blavet" + } + ], + "description": "A PHP library that offers compression and extraction functions for Zip formatted archives", + "homepage": "http://www.phpconcept.net/pclzip", + "keywords": [ + "php", + "zip" + ], + "support": { + "issues": "https://github.com/ivanlanin/pclzip/issues", + "source": "https://github.com/ivanlanin/pclzip/tree/master" + }, + "time": "2014-06-05T11:42:24+00:00" + }, + { + "name": "phenx/php-font-lib", + "version": "0.5.6", + "source": { + "type": "git", + "url": "https://github.com/dompdf/php-font-lib.git", + "reference": "a1681e9793040740a405ac5b189275059e2a9863" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dompdf/php-font-lib/zipball/a1681e9793040740a405ac5b189275059e2a9863", + "reference": "a1681e9793040740a405ac5b189275059e2a9863", + "shasum": "" + }, + "require": { + "ext-mbstring": "*" + }, + "require-dev": { + "symfony/phpunit-bridge": "^3 || ^4 || ^5 || ^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "FontLib\\": "src/FontLib" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Fabien Ménager", + "email": "fabien.menager@gmail.com" + } + ], + "description": "A library to read, parse, export and make subsets of different types of font files.", + "homepage": "https://github.com/PhenX/php-font-lib", + "support": { + "issues": "https://github.com/dompdf/php-font-lib/issues", + "source": "https://github.com/dompdf/php-font-lib/tree/0.5.6" + }, + "time": "2024-01-29T14:45:26+00:00" + }, + { + "name": "phenx/php-svg-lib", + "version": "0.5.4", + "source": { + "type": "git", + "url": "https://github.com/dompdf/php-svg-lib.git", + "reference": "46b25da81613a9cf43c83b2a8c2c1bdab27df691" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dompdf/php-svg-lib/zipball/46b25da81613a9cf43c83b2a8c2c1bdab27df691", + "reference": "46b25da81613a9cf43c83b2a8c2c1bdab27df691", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^7.1 || ^8.0", + "sabberworm/php-css-parser": "^8.4" + }, + "require-dev": { + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Svg\\": "src/Svg" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Fabien Ménager", + "email": "fabien.menager@gmail.com" + } + ], + "description": "A library to read, parse and export to PDF SVG files.", + "homepage": "https://github.com/PhenX/php-svg-lib", + "support": { + "issues": "https://github.com/dompdf/php-svg-lib/issues", + "source": "https://github.com/dompdf/php-svg-lib/tree/0.5.4" + }, + "time": "2024-04-08T12:52:34+00:00" + }, + { + "name": "phpoffice/common", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/PHPOffice/Common.git", + "reference": "1e968b24692bac8120b60e2ce3b7015eca0e7c00" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPOffice/Common/zipball/1e968b24692bac8120b60e2ce3b7015eca0e7c00", + "reference": "1e968b24692bac8120b60e2ce3b7015eca0e7c00", + "shasum": "" + }, + "require": { + "pclzip/pclzip": "^2.8", + "php": ">=7.1" + }, + "require-dev": { + "phpmd/phpmd": "2.*", + "phpstan/phpstan": "^0.12.88 || ^1.0.0", + "phpunit/phpunit": ">=7" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpOffice\\Common\\": "src/Common/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-only" + ], + "authors": [ + { + "name": "Mark Baker" + }, + { + "name": "Franck Lefevre", + "homepage": "http://rootslabs.net" + } + ], + "description": "PHPOffice Common", + "homepage": "http://phpoffice.github.io", + "keywords": [ + "common", + "component", + "office", + "php" + ], + "support": { + "issues": "https://github.com/PHPOffice/Common/issues", + "source": "https://github.com/PHPOffice/Common/tree/1.0.2" + }, + "time": "2023-12-11T13:11:02+00:00" + }, + { + "name": "phpoffice/phpspreadsheet", + "version": "1.29.0", + "source": { + "type": "git", + "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", + "reference": "fde2ccf55eaef7e86021ff1acce26479160a0fa0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/fde2ccf55eaef7e86021ff1acce26479160a0fa0", + "reference": "fde2ccf55eaef7e86021ff1acce26479160a0fa0", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-dom": "*", + "ext-fileinfo": "*", + "ext-gd": "*", + "ext-iconv": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-simplexml": "*", + "ext-xml": "*", + "ext-xmlreader": "*", + "ext-xmlwriter": "*", + "ext-zip": "*", + "ext-zlib": "*", + "ezyang/htmlpurifier": "^4.15", + "maennchen/zipstream-php": "^2.1 || ^3.0", + "markbaker/complex": "^3.0", + "markbaker/matrix": "^3.0", + "php": "^7.4 || ^8.0", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0", + "psr/simple-cache": "^1.0 || ^2.0 || ^3.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "dev-main", + "dompdf/dompdf": "^1.0 || ^2.0", + "friendsofphp/php-cs-fixer": "^3.2", + "mitoteam/jpgraph": "^10.3", + "mpdf/mpdf": "^8.1.1", + "phpcompatibility/php-compatibility": "^9.3", + "phpstan/phpstan": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^8.5 || ^9.0 || ^10.0", + "squizlabs/php_codesniffer": "^3.7", + "tecnickcom/tcpdf": "^6.5" + }, + "suggest": { + "dompdf/dompdf": "Option for rendering PDF with PDF Writer", + "ext-intl": "PHP Internationalization Functions", + "mitoteam/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers", + "mpdf/mpdf": "Option for rendering PDF with PDF Writer", + "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maarten Balliauw", + "homepage": "https://blog.maartenballiauw.be" + }, + { + "name": "Mark Baker", + "homepage": "https://markbakeruk.net" + }, + { + "name": "Franck Lefevre", + "homepage": "https://rootslabs.net" + }, + { + "name": "Erik Tilt" + }, + { + "name": "Adrien Crivelli" + } + ], + "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine", + "homepage": "https://github.com/PHPOffice/PhpSpreadsheet", + "keywords": [ + "OpenXML", + "excel", + "gnumeric", + "ods", + "php", + "spreadsheet", + "xls", + "xlsx" + ], + "support": { + "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.0" + }, + "time": "2023-06-14T22:48:31+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.9.2", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/80735db690fe4fc5c76dfa7f9b770634285fa820", + "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.9.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2023-11-12T21:59:55+00:00" + }, + { + "name": "phpseclib/phpseclib", + "version": "2.0.47", + "source": { + "type": "git", + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "b7d7d90ee7df7f33a664b4aea32d50a305d35adb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/b7d7d90ee7df7f33a664b4aea32d50a305d35adb", + "reference": "b7d7d90ee7df7f33a664b4aea32d50a305d35adb", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phing/phing": "~2.7", + "phpunit/phpunit": "^4.8.35|^5.7|^6.0|^9.4", + "squizlabs/php_codesniffer": "~2.0" + }, + "suggest": { + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations.", + "ext-xml": "Install the XML extension to load XML formatted public keys." + }, + "type": "library", + "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], + "psr-4": { + "phpseclib\\": "phpseclib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" + } + ], + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "homepage": "http://phpseclib.sourceforge.net", + "keywords": [ + "BigInteger", + "aes", + "asn.1", + "asn1", + "blowfish", + "crypto", + "cryptography", + "encryption", + "rsa", + "security", + "sftp", + "signature", + "signing", + "ssh", + "twofish", + "x.509", + "x509" + ], + "support": { + "issues": "https://github.com/phpseclib/phpseclib/issues", + "source": "https://github.com/phpseclib/phpseclib/tree/2.0.47" + }, + "funding": [ + { + "url": "https://github.com/terrafrost", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpseclib", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib", + "type": "tidelift" + } + ], + "time": "2024-02-26T04:55:38+00:00" + }, + { + "name": "psr/cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, + { + "name": "psr/clock", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/clock.git", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Clock\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for reading the clock.", + "homepage": "https://github.com/php-fig/clock", + "keywords": [ + "clock", + "now", + "psr", + "psr-20", + "time" + ], + "support": { + "issues": "https://github.com/php-fig/clock/issues", + "source": "https://github.com/php-fig/clock/tree/1.0.0" + }, + "time": "2022-11-25T14:36:26+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client" + }, + "time": "2023-09-23T14:17:50+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory" + }, + "time": "2024-04-15T12:06:14+00:00" + }, + { + "name": "psr/http-message", + "version": "1.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/1.1" + }, + "time": "2023-04-04T09:50:52+00:00" + }, + { + "name": "psr/log", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.0" + }, + "time": "2021-07-14T16:46:02+00:00" + }, + { + "name": "psr/simple-cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" + }, + "time": "2021-10-29T13:26:27+00:00" + }, + { + "name": "psy/psysh", + "version": "v0.12.4", + "source": { + "type": "git", + "url": "https://github.com/bobthecow/psysh.git", + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/2fd717afa05341b4f8152547f142cd2f130f6818", + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-tokenizer": "*", + "nikic/php-parser": "^5.0 || ^4.0", + "php": "^8.0 || ^7.4", + "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" + }, + "conflict": { + "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.2" + }, + "suggest": { + "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", + "ext-pdo-sqlite": "The doc command requires SQLite to work.", + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." + }, + "bin": [ + "bin/psysh" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.12.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Psy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" + } + ], + "description": "An interactive shell for modern PHP.", + "homepage": "http://psysh.org", + "keywords": [ + "REPL", + "console", + "interactive", + "shell" + ], + "support": { + "issues": "https://github.com/bobthecow/psysh/issues", + "source": "https://github.com/bobthecow/psysh/tree/v0.12.4" + }, + "time": "2024-06-10T01:18:23+00:00" + }, + { + "name": "pusher/pusher-php-server", + "version": "7.2.4", + "source": { + "type": "git", + "url": "https://github.com/pusher/pusher-http-php.git", + "reference": "de2f72296808f9cafa6a4462b15a768ff130cddb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/de2f72296808f9cafa6a4462b15a768ff130cddb", + "reference": "de2f72296808f9cafa6a4462b15a768ff130cddb", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "guzzlehttp/guzzle": "^7.2", + "paragonie/sodium_compat": "^1.6", + "php": "^7.3|^8.0", + "psr/log": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "overtrue/phplint": "^2.3", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "psr-4": { + "Pusher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Library for interacting with the Pusher REST API", + "keywords": [ + "events", + "messaging", + "php-pusher-server", + "publish", + "push", + "pusher", + "real time", + "real-time", + "realtime", + "rest", + "trigger" + ], + "support": { + "issues": "https://github.com/pusher/pusher-http-php/issues", + "source": "https://github.com/pusher/pusher-http-php/tree/7.2.4" + }, + "time": "2023-12-15T10:58:53+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "ramsey/collection", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.28.3", + "fakerphp/faker": "^1.21", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^1.0", + "mockery/mockery": "^1.5", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpcsstandards/phpcsutils": "^1.0.0-rc1", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18.4", + "ramsey/coding-standard": "^2.0.3", + "ramsey/conventional-commits": "^1.3", + "vimeo/psalm": "^5.4" + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "time": "2022-12-31T21:50:55+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.7.6", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "shasum": "" + }, + "require": { + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", + "ext-json": "*", + "php": "^8.0", + "ramsey/collection": "^1.2 || ^2.0" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^8.5 || ^9", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.7.6" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2024-04-27T21:32:50+00:00" + }, + { + "name": "ratchet/rfc6455", + "version": "v0.3.1", + "source": { + "type": "git", + "url": "https://github.com/ratchetphp/RFC6455.git", + "reference": "7c964514e93456a52a99a20fcfa0de242a43ccdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ratchetphp/RFC6455/zipball/7c964514e93456a52a99a20fcfa0de242a43ccdb", + "reference": "7c964514e93456a52a99a20fcfa0de242a43ccdb", + "shasum": "" + }, + "require": { + "guzzlehttp/psr7": "^2 || ^1.7", + "php": ">=5.4.2" + }, + "require-dev": { + "phpunit/phpunit": "^5.7", + "react/socket": "^1.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ratchet\\RFC6455\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "role": "Developer" + }, + { + "name": "Matt Bonneau", + "role": "Developer" + } + ], + "description": "RFC6455 WebSocket protocol handler", + "homepage": "http://socketo.me", + "keywords": [ + "WebSockets", + "rfc6455", + "websocket" + ], + "support": { + "chat": "https://gitter.im/reactphp/reactphp", + "issues": "https://github.com/ratchetphp/RFC6455/issues", + "source": "https://github.com/ratchetphp/RFC6455/tree/v0.3.1" + }, + "time": "2021-12-09T23:20:49+00:00" + }, + { + "name": "react/cache", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/cache.git", + "reference": "d47c472b64aa5608225f47965a484b75c7817d5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b", + "reference": "d47c472b64aa5608225f47965a484b75c7817d5b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "react/promise": "^3.0 || ^2.0 || ^1.1" + }, + "require-dev": { + "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Async, Promise-based cache interface for ReactPHP", + "keywords": [ + "cache", + "caching", + "promise", + "reactphp" + ], + "support": { + "issues": "https://github.com/reactphp/cache/issues", + "source": "https://github.com/reactphp/cache/tree/v1.2.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2022-11-30T15:59:55+00:00" + }, + { + "name": "react/dns", + "version": "v1.13.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/dns.git", + "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/dns/zipball/eb8ae001b5a455665c89c1df97f6fb682f8fb0f5", + "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "react/cache": "^1.0 || ^0.6 || ^0.5", + "react/event-loop": "^1.2", + "react/promise": "^3.2 || ^2.7 || ^1.2.1" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/async": "^4.3 || ^3 || ^2", + "react/promise-timer": "^1.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Dns\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Async DNS resolver for ReactPHP", + "keywords": [ + "async", + "dns", + "dns-resolver", + "reactphp" + ], + "support": { + "issues": "https://github.com/reactphp/dns/issues", + "source": "https://github.com/reactphp/dns/tree/v1.13.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-06-13T14:18:03+00:00" + }, + { + "name": "react/event-loop", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/event-loop.git", + "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/event-loop/zipball/bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354", + "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" + }, + "suggest": { + "ext-pcntl": "For signal handling support when using the StreamSelectLoop" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\EventLoop\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.", + "keywords": [ + "asynchronous", + "event-loop" + ], + "support": { + "issues": "https://github.com/reactphp/event-loop/issues", + "source": "https://github.com/reactphp/event-loop/tree/v1.5.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2023-11-13T13:48:05+00:00" + }, + { + "name": "react/http", + "version": "v1.10.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/http.git", + "reference": "8111281ee57f22b7194f5dba225e609ba7ce4d20" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/http/zipball/8111281ee57f22b7194f5dba225e609ba7ce4d20", + "reference": "8111281ee57f22b7194f5dba225e609ba7ce4d20", + "shasum": "" + }, + "require": { + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "fig/http-message-util": "^1.1", + "php": ">=5.3.0", + "psr/http-message": "^1.0", + "react/event-loop": "^1.2", + "react/promise": "^3 || ^2.3 || ^1.2.1", + "react/socket": "^1.12", + "react/stream": "^1.2" + }, + "require-dev": { + "clue/http-proxy-react": "^1.8", + "clue/reactphp-ssh-proxy": "^1.4", + "clue/socks-react": "^1.4", + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/async": "^4 || ^3 || ^2", + "react/promise-stream": "^1.4", + "react/promise-timer": "^1.9" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Http\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Event-driven, streaming HTTP client and server implementation for ReactPHP", + "keywords": [ + "async", + "client", + "event-driven", + "http", + "http client", + "http server", + "https", + "psr-7", + "reactphp", + "server", + "streaming" + ], + "support": { + "issues": "https://github.com/reactphp/http/issues", + "source": "https://github.com/reactphp/http/tree/v1.10.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-03-27T17:20:46+00:00" + }, + { + "name": "react/promise", + "version": "v3.2.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/promise.git", + "reference": "8a164643313c71354582dc850b42b33fa12a4b63" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63", + "reference": "8a164643313c71354582dc850b42b33fa12a4b63", + "shasum": "" + }, + "require": { + "php": ">=7.1.0" + }, + "require-dev": { + "phpstan/phpstan": "1.10.39 || 1.4.10", + "phpunit/phpunit": "^9.6 || ^7.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "React\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "A lightweight implementation of CommonJS Promises/A for PHP", + "keywords": [ + "promise", + "promises" + ], + "support": { + "issues": "https://github.com/reactphp/promise/issues", + "source": "https://github.com/reactphp/promise/tree/v3.2.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-05-24T10:39:05+00:00" + }, + { + "name": "react/socket", + "version": "v1.15.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/socket.git", + "reference": "216d3aec0b87f04a40ca04f481e6af01bdd1d038" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/socket/zipball/216d3aec0b87f04a40ca04f481e6af01bdd1d038", + "reference": "216d3aec0b87f04a40ca04f481e6af01bdd1d038", + "shasum": "" + }, + "require": { + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.0", + "react/dns": "^1.11", + "react/event-loop": "^1.2", + "react/promise": "^3 || ^2.6 || ^1.2.1", + "react/stream": "^1.2" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/async": "^4 || ^3 || ^2", + "react/promise-stream": "^1.4", + "react/promise-timer": "^1.10" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Socket\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP", + "keywords": [ + "Connection", + "Socket", + "async", + "reactphp", + "stream" + ], + "support": { + "issues": "https://github.com/reactphp/socket/issues", + "source": "https://github.com/reactphp/socket/tree/v1.15.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2023-12-15T11:02:10+00:00" + }, + { + "name": "react/stream", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/stream.git", + "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/stream/zipball/1e5b0acb8fe55143b5b426817155190eb6f5b18d", + "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d", + "shasum": "" + }, + "require": { + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.8", + "react/event-loop": "^1.2" + }, + "require-dev": { + "clue/stream-filter": "~1.2", + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Stream\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP", + "keywords": [ + "event-driven", + "io", + "non-blocking", + "pipe", + "reactphp", + "readable", + "stream", + "writable" + ], + "support": { + "issues": "https://github.com/reactphp/stream/issues", + "source": "https://github.com/reactphp/stream/tree/v1.4.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-06-11T12:45:25+00:00" + }, + { + "name": "ricorocks-digital-agency/soap", + "version": "v1.7.0", + "source": { + "type": "git", + "url": "https://github.com/Ricorocks-Digital-Agency/Soap.git", + "reference": "43362796b9e63f5746f650044fbbc656bb581a4c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Ricorocks-Digital-Agency/Soap/zipball/43362796b9e63f5746f650044fbbc656bb581a4c", + "reference": "43362796b9e63f5746f650044fbbc656bb581a4c", + "shasum": "" + }, + "require": { + "illuminate/support": "^8.16|^9.0|^10.0", + "php": "^7.4|~8.0|~8.1|~8.2" + }, + "require-dev": { + "ext-soap": "*", + "mockery/mockery": "^1.4", + "orchestra/testbench": "^6.24|^7.0|^8.0", + "pestphp/pest": "^1.11", + "phpoption/phpoption": "^1.8.1", + "phpunit/phpunit": "^9.5", + "spatie/ray": "^1.17" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "RicorocksDigitalAgency\\Soap\\Providers\\SoapServiceProvider" + ], + "aliases": { + "Soap": "RicorocksDigitalAgency\\Soap\\Facades\\Soap" + } + } + }, + "autoload": { + "psr-4": { + "RicorocksDigitalAgency\\Soap\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Luke Downing", + "email": "luke@ricorocks.agency" + }, + { + "name": "Sam Rowden", + "email": "sam@ricorocks.agency" + } + ], + "description": "A SOAP client that provides a clean interface for handling requests and responses.", + "support": { + "issues": "https://github.com/Ricorocks-Digital-Agency/Soap/issues", + "source": "https://github.com/Ricorocks-Digital-Agency/Soap/tree/v1.7.0" + }, + "time": "2023-03-03T11:05:20+00:00" + }, + { + "name": "sabberworm/php-css-parser", + "version": "v8.5.1", + "source": { + "type": "git", + "url": "https://github.com/MyIntervals/PHP-CSS-Parser.git", + "reference": "4a3d572b0f8b28bb6fd016ae8bbfc445facef152" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/4a3d572b0f8b28bb6fd016ae8bbfc445facef152", + "reference": "4a3d572b0f8b28bb6fd016ae8bbfc445facef152", + "shasum": "" + }, + "require": { + "ext-iconv": "*", + "php": ">=5.6.20" + }, + "require-dev": { + "phpunit/phpunit": "^5.7.27" + }, + "suggest": { + "ext-mbstring": "for parsing UTF-8 CSS" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "9.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Sabberworm\\CSS\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Raphael Schweikert" + }, + { + "name": "Oliver Klee", + "email": "github@oliverklee.de" + }, + { + "name": "Jake Hotson", + "email": "jake.github@qzdesign.co.uk" + } + ], + "description": "Parser for CSS Files written in PHP", + "homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser", + "keywords": [ + "css", + "parser", + "stylesheet" + ], + "support": { + "issues": "https://github.com/MyIntervals/PHP-CSS-Parser/issues", + "source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v8.5.1" + }, + "time": "2024-02-15T16:41:13+00:00" + }, + { + "name": "socialiteproviders/govbr", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/SocialiteProviders/GovBR.git", + "reference": "17eb395c848712a516dfd1a4bcb9a522761d67cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SocialiteProviders/GovBR/zipball/17eb395c848712a516dfd1a4bcb9a522761d67cc", + "reference": "17eb395c848712a516dfd1a4bcb9a522761d67cc", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^8.0", + "socialiteproviders/manager": "~4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "SocialiteProviders\\GovBR\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Saade", + "email": "saade@outlook.com.br" + } + ], + "description": "GovBR OAuth2 Provider for Laravel Socialite", + "keywords": [ + "govbr", + "laravel", + "oauth", + "provider", + "socialite" + ], + "support": { + "docs": "https://socialiteproviders.com/govbr", + "issues": "https://github.com/socialiteproviders/providers/issues", + "source": "https://github.com/socialiteproviders/providers" + }, + "time": "2023-02-28T22:03:48+00:00" + }, + { + "name": "socialiteproviders/manager", + "version": "v4.6.0", + "source": { + "type": "git", + "url": "https://github.com/SocialiteProviders/Manager.git", + "reference": "dea5190981c31b89e52259da9ab1ca4e2b258b21" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/dea5190981c31b89e52259da9ab1ca4e2b258b21", + "reference": "dea5190981c31b89e52259da9ab1ca4e2b258b21", + "shasum": "" + }, + "require": { + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "laravel/socialite": "^5.5", + "php": "^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "SocialiteProviders\\Manager\\ServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "SocialiteProviders\\Manager\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andy Wendt", + "email": "andy@awendt.com" + }, + { + "name": "Anton Komarev", + "email": "a.komarev@cybercog.su" + }, + { + "name": "Miguel Piedrafita", + "email": "soy@miguelpiedrafita.com" + }, + { + "name": "atymic", + "email": "atymicq@gmail.com", + "homepage": "https://atymic.dev" + } + ], + "description": "Easily add new or override built-in providers in Laravel Socialite.", + "homepage": "https://socialiteproviders.com", + "keywords": [ + "laravel", + "manager", + "oauth", + "providers", + "socialite" + ], + "support": { + "issues": "https://github.com/socialiteproviders/manager/issues", + "source": "https://github.com/socialiteproviders/manager" + }, + "time": "2024-05-04T07:57:39+00:00" + }, + { + "name": "socialiteproviders/microsoft-azure", + "version": "5.2.0", + "source": { + "type": "git", + "url": "https://github.com/SocialiteProviders/Microsoft-Azure.git", + "reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/453d62c9d7e3b3b76e94c913fb46e68a33347b16", + "reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^8.0", + "socialiteproviders/manager": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "SocialiteProviders\\Azure\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Hemmings", + "email": "chris@hemmin.gs" + } + ], + "description": "Microsoft Azure OAuth2 Provider for Laravel Socialite", + "keywords": [ + "azure", + "laravel", + "microsoft", + "oauth", + "provider", + "socialite" + ], + "support": { + "docs": "https://socialiteproviders.com/microsoft-azure", + "issues": "https://github.com/socialiteproviders/providers/issues", + "source": "https://github.com/socialiteproviders/providers" + }, + "time": "2024-03-15T03:02:10+00:00" + }, + { + "name": "spatie/array-to-xml", + "version": "3.3.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/array-to-xml.git", + "reference": "f56b220fe2db1ade4c88098d83413ebdfc3bf876" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/f56b220fe2db1ade4c88098d83413ebdfc3bf876", + "reference": "f56b220fe2db1ade4c88098d83413ebdfc3bf876", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": "^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "pestphp/pest": "^1.21", + "spatie/pest-plugin-snapshots": "^1.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\ArrayToXml\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://freek.dev", + "role": "Developer" + } + ], + "description": "Convert an array to xml", + "homepage": "https://github.com/spatie/array-to-xml", + "keywords": [ + "array", + "convert", + "xml" + ], + "support": { + "source": "https://github.com/spatie/array-to-xml/tree/3.3.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-05-01T10:20:27+00:00" + }, + { + "name": "stancl/jobpipeline", + "version": "v1.7.0", + "source": { + "type": "git", + "url": "https://github.com/archtechx/jobpipeline.git", + "reference": "36474ffd2180170856fd05f6003c946064959629" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/archtechx/jobpipeline/zipball/36474ffd2180170856fd05f6003c946064959629", + "reference": "36474ffd2180170856fd05f6003c946064959629", + "shasum": "" + }, + "require": { + "illuminate/support": "^9.0|^10.0|^11.0", + "php": "^8.0" + }, + "require-dev": { + "ext-redis": "*", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "spatie/valuestore": "^1.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stancl\\JobPipeline\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Samuel Štancl", + "email": "samuel.stancl@gmail.com" + } + ], + "description": "Turn any series of jobs into Laravel listeners.", + "support": { + "issues": "https://github.com/archtechx/jobpipeline/issues", + "source": "https://github.com/archtechx/jobpipeline/tree/v1.7.0" + }, + "time": "2024-01-27T22:01:45+00:00" + }, + { + "name": "stancl/tenancy", + "version": "v3.8.4", + "source": { + "type": "git", + "url": "https://github.com/archtechx/tenancy.git", + "reference": "8f9c7efa4584007f41048448d0a11f572a1d3239" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/archtechx/tenancy/zipball/8f9c7efa4584007f41048448d0a11f572a1d3239", + "reference": "8f9c7efa4584007f41048448d0a11f572a1d3239", + "shasum": "" + }, + "require": { + "ext-json": "*", + "facade/ignition-contracts": "^1.0.2", + "illuminate/support": "^9.0|^10.0|^11.0", + "php": "^8.0", + "ramsey/uuid": "^4.7.3", + "stancl/jobpipeline": "^1.6.2", + "stancl/virtualcolumn": "^1.3.1" + }, + "require-dev": { + "doctrine/dbal": "^3.6.0", + "laravel/framework": "^9.0|^10.0|^11.0", + "league/flysystem-aws-s3-v3": "^3.12.2", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "spatie/valuestore": "^1.3.2" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Stancl\\Tenancy\\TenancyServiceProvider" + ], + "aliases": { + "Tenancy": "Stancl\\Tenancy\\Facades\\Tenancy", + "GlobalCache": "Stancl\\Tenancy\\Facades\\GlobalCache" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Stancl\\Tenancy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Samuel Štancl", + "email": "samuel.stancl@gmail.com" + } + ], + "description": "Automatic multi-tenancy for your Laravel application.", + "keywords": [ + "laravel", + "multi-database", + "multi-tenancy", + "tenancy" + ], + "support": { + "issues": "https://github.com/archtechx/tenancy/issues", + "source": "https://github.com/archtechx/tenancy/tree/v3.8.4" + }, + "funding": [ + { + "url": "https://tenancyforlaravel.com/donate", + "type": "custom" + }, + { + "url": "https://github.com/stancl", + "type": "github" + } + ], + "time": "2024-05-22T17:57:48+00:00" + }, + { + "name": "stancl/virtualcolumn", + "version": "v1.4.1", + "source": { + "type": "git", + "url": "https://github.com/archtechx/virtualcolumn.git", + "reference": "65f90003282c231a19367edf9692bfb6b6f23fb8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/archtechx/virtualcolumn/zipball/65f90003282c231a19367edf9692bfb6b6f23fb8", + "reference": "65f90003282c231a19367edf9692bfb6b6f23fb8", + "shasum": "" + }, + "require": { + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0" + }, + "require-dev": { + "orchestra/testbench": "^7.0|^8.0|^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stancl\\VirtualColumn\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Samuel Štancl", + "email": "samuel.stancl@gmail.com" + } + ], + "description": "Eloquent virtual column.", + "support": { + "issues": "https://github.com/archtechx/virtualcolumn/issues", + "source": "https://github.com/archtechx/virtualcolumn/tree/v1.4.1" + }, + "time": "2024-04-07T18:26:29+00:00" + }, + { + "name": "symfony/console", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "be5854cee0e8c7b110f00d695d11debdfa1a2a91" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/be5854cee0e8c7b110f00d695d11debdfa1a2a91", + "reference": "be5854cee0e8c7b110f00d695d11debdfa1a2a91", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0|^7.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v7.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/1c7cee86c6f812896af54434f8ce29c8d94f9ff4", + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v7.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:57:53+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/error-handler", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "ef836152bf13472dc5fb5b08b0c0c4cfeddc0fcc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/ef836152bf13472dc5fb5b08b0c0c4cfeddc0fcc", + "reference": "ef836152bf13472dc5fb5b08b0c0c4cfeddc0fcc", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "conflict": { + "symfony/deprecation-contracts": "<2.5", + "symfony/http-kernel": "<6.4" + }, + "require-dev": { + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/serializer": "^5.4|^6.0|^7.0" + }, + "bin": [ + "Resources/bin/patch-type-declarations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to manage errors and ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/error-handler/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v7.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/event-dispatcher-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/dependency-injection": "<6.4", + "symfony/service-contracts": "<2.5" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/error-handler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:57:53+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/event-dispatcher": "^1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/finder", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "3ef977a43883215d560a2cecb82ec8e62131471c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/3ef977a43883215d560a2cecb82ec8e62131471c", + "reference": "3ef977a43883215d560a2cecb82ec8e62131471c", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "27de8cc95e11db7a50b027e71caaab9024545947" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/27de8cc95e11db7a50b027e71caaab9024545947", + "reference": "27de8cc95e11db7a50b027e71caaab9024545947", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" + }, + "conflict": { + "symfony/cache": "<6.3" + }, + "require-dev": { + "doctrine/dbal": "^2.13.1|^3|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.3|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", + "symfony/mime": "^5.4|^6.0|^7.0", + "symfony/rate-limiter": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "6c519aa3f32adcfd1d1f18d923f6b227d9acf3c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/6c519aa3f32adcfd1d1f18d923f6b227d9acf3c1", + "reference": "6c519aa3f32adcfd1d1f18d923f6b227d9acf3c1", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/error-handler": "^6.4|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/browser-kit": "<5.4", + "symfony/cache": "<5.4", + "symfony/config": "<6.1", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<6.4", + "symfony/doctrine-bridge": "<5.4", + "symfony/form": "<5.4", + "symfony/http-client": "<5.4", + "symfony/http-client-contracts": "<2.5", + "symfony/mailer": "<5.4", + "symfony/messenger": "<5.4", + "symfony/translation": "<5.4", + "symfony/translation-contracts": "<2.5", + "symfony/twig-bridge": "<5.4", + "symfony/validator": "<6.4", + "symfony/var-dumper": "<6.3", + "twig/twig": "<2.13" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/cache": "^1.0|^2.0|^3.0", + "symfony/browser-kit": "^5.4|^6.0|^7.0", + "symfony/clock": "^6.2|^7.0", + "symfony/config": "^6.1|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/css-selector": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/dom-crawler": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/property-access": "^5.4.5|^6.0.5|^7.0", + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.4.4|^7.0.4", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/translation": "^5.4|^6.0|^7.0", + "symfony/translation-contracts": "^2.5|^3", + "symfony/uid": "^5.4|^6.0|^7.0", + "symfony/validator": "^6.4|^7.0", + "symfony/var-dumper": "^5.4|^6.4|^7.0", + "symfony/var-exporter": "^6.2|^7.0", + "twig/twig": "^2.13|^3.0.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a structured process for converting a Request into a Response", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-kernel/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-06-02T16:06:25+00:00" + }, + { + "name": "symfony/mailer", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/mailer.git", + "reference": "76326421d44c07f7824b19487cfbf87870b37efc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mailer/zipball/76326421d44c07f7824b19487cfbf87870b37efc", + "reference": "76326421d44c07f7824b19487cfbf87870b37efc", + "shasum": "" + }, + "require": { + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=8.1", + "psr/event-dispatcher": "^1", + "psr/log": "^1|^2|^3", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/mime": "^6.2|^7.0", + "symfony/service-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<5.4", + "symfony/messenger": "<6.2", + "symfony/mime": "<6.2", + "symfony/twig-bridge": "<6.2.1" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/messenger": "^6.2|^7.0", + "symfony/twig-bridge": "^6.2|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mailer\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Helps sending emails", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/mailer/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/mime", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "618597ab8b78ac86d1c75a9d0b35540cda074f33" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/618597ab8b78ac86d1c75a9d0b35540cda074f33", + "reference": "618597ab8b78ac86d1c75a9d0b35540cda074f33", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<5.4", + "symfony/serializer": "<6.3.2" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.4|^7.0", + "symfony/property-access": "^5.4|^6.0|^7.0", + "symfony/property-info": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.3.2|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-06-01T07:50:16+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T15:07:36+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T15:07:36+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-intl-normalizer": "^1.10", + "symfony/polyfill-php72": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T15:07:36+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T15:07:36+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-06-19T12:30:46+00:00" + }, + { + "name": "symfony/polyfill-php72", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "10112722600777e02d2745716b70c5db4ca70442" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/10112722600777e02d2745716b70c5db4ca70442", + "reference": "10112722600777e02d2745716b70c5db4ca70442", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php72/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-06-19T12:30:46+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T15:07:36+00:00" + }, + { + "name": "symfony/polyfill-php83", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php83\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php83/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-06-19T12:35:24+00:00" + }, + { + "name": "symfony/polyfill-uuid", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-uuid.git", + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/2ba1f33797470debcda07fe9dce20a0003df18e9", + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-uuid": "*" + }, + "suggest": { + "ext-uuid": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Uuid\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for uuid functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.30.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T15:07:36+00:00" + }, + { + "name": "symfony/process", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/8d92dd79149f29e89ee0f480254db595f6a6a2c5", + "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/psr-http-message-bridge", + "version": "v2.3.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/psr-http-message-bridge.git", + "reference": "581ca6067eb62640de5ff08ee1ba6850a0ee472e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/581ca6067eb62640de5ff08ee1ba6850a0ee472e", + "reference": "581ca6067eb62640de5ff08ee1ba6850a0ee472e", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/http-message": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.5 || ^3.0", + "symfony/http-foundation": "^5.4 || ^6.0" + }, + "require-dev": { + "nyholm/psr7": "^1.1", + "psr/log": "^1.1 || ^2 || ^3", + "symfony/browser-kit": "^5.4 || ^6.0", + "symfony/config": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/framework-bundle": "^5.4 || ^6.0", + "symfony/http-kernel": "^5.4 || ^6.0", + "symfony/phpunit-bridge": "^6.2" + }, + "suggest": { + "nyholm/psr7": "For a super lightweight PSR-7/17 implementation" + }, + "type": "symfony-bridge", + "extra": { + "branch-alias": { + "dev-main": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bridge\\PsrHttpMessage\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + } + ], + "description": "PSR HTTP message bridge", + "homepage": "http://symfony.com", + "keywords": [ + "http", + "http-message", + "psr-17", + "psr-7" + ], + "support": { + "issues": "https://github.com/symfony/psr-http-message-bridge/issues", + "source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.3.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-26T11:53:26+00:00" + }, + { + "name": "symfony/routing", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "8a40d0f9b01f0fbb80885d3ce0ad6714fb603a58" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/8a40d0f9b01f0fbb80885d3ce0ad6714fb603a58", + "reference": "8a40d0f9b01f0fbb80885d3ce0ad6714fb603a58", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "doctrine/annotations": "<1.12", + "symfony/config": "<6.2", + "symfony/dependency-injection": "<5.4", + "symfony/yaml": "<5.4" + }, + "require-dev": { + "doctrine/annotations": "^1.12|^2", + "psr/log": "^1|^2|^3", + "symfony/config": "^6.2|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", + "symfony/yaml": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Maps an HTTP request to a set of configuration variables", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "support": { + "source": "https://github.com/symfony/routing/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/string", + "version": "v7.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "60bc311c74e0af215101235aa6f471bcbc032df2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/60bc311c74e0af215101235aa6f471bcbc032df2", + "reference": "60bc311c74e0af215101235aa6f471bcbc032df2", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/emoji": "^7.1", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v7.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-06-04T06:40:14+00:00" + }, + { + "name": "symfony/translation", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "a002933b13989fc4bd0b58e04bf7eec5210e438a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/a002933b13989fc4bd0b58e04bf7eec5210e438a", + "reference": "a002933b13989fc4bd0b58e04bf7eec5210e438a", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^2.5|^3.0" + }, + "conflict": { + "symfony/config": "<5.4", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<5.4", + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<5.4", + "symfony/service-contracts": "<2.5", + "symfony/twig-bundle": "<5.4", + "symfony/yaml": "<5.4" + }, + "provide": { + "symfony/translation-implementation": "2.3|3.0" + }, + "require-dev": { + "nikic/php-parser": "^4.18|^5.0", + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/intl": "^5.4|^6.0|^7.0", + "symfony/polyfill-intl-icu": "^1.21", + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to internationalize your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/uid", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/uid.git", + "reference": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/uid/zipball/35904eca37a84bb764c560cbfcac9f0ac2bcdbdf", + "reference": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-uuid": "^1.15" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Uid\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to generate and represent UIDs", + "homepage": "https://symfony.com", + "keywords": [ + "UID", + "ulid", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/uid/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v6.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "ad23ca4312395f0a8a8633c831ef4c4ee542ed25" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ad23ca4312395f0a8a8633c831ef4c4ee542ed25", + "reference": "ad23ca4312395f0a8a8633c831ef4c4ee542ed25", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/console": "<5.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/error-handler": "^6.3|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/uid": "^5.4|^6.0|^7.0", + "twig/twig": "^2.13|^3.0.4" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v6.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:49:08+00:00" + }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "v2.2.7", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb", + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7" + }, + "time": "2023-12-08T13:03:43+00:00" + }, + { + "name": "vlucas/phpdotenv", + "version": "v5.6.0", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", + "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "graham-campbell/result-type": "^1.1.2", + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.2", + "symfony/polyfill-ctype": "^1.24", + "symfony/polyfill-mbstring": "^1.24", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "ext-filter": "*", + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://github.com/vlucas" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "support": { + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2023-11-12T22:43:29+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "b56450eed252f6801410d810c8e1727224ae0743" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743", + "reference": "b56450eed252f6801410d810c8e1727224ae0743", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "support": { + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/2.0.1" + }, + "funding": [ + { + "url": "https://www.paypal.me/moelleken", + "type": "custom" + }, + { + "url": "https://github.com/voku", + "type": "github" + }, + { + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", + "type": "tidelift" + } + ], + "time": "2022-03-08T17:03:00+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" + } + ], + "packages-dev": [ + { + "name": "fakerphp/faker", + "version": "v1.23.1", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", + "ext-intl": "*", + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" + }, + "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." + }, + "type": "library", + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" + }, + "time": "2024-01-02T13:46:09+00:00" + }, + { + "name": "filp/whoops", + "version": "2.15.4", + "source": { + "type": "git", + "url": "https://github.com/filp/whoops.git", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", + "shasum": "" + }, + "require": { + "php": "^5.5.9 || ^7.0 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "require-dev": { + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Whoops\\": "src/Whoops/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" + } + ], + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", + "keywords": [ + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" + ], + "support": { + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.15.4" + }, + "funding": [ + { + "url": "https://github.com/denis-sokolov", + "type": "github" + } + ], + "time": "2023-11-03T12:00:00+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, + { + "name": "laravel/sail", + "version": "v1.29.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/sail.git", + "reference": "e35b3ffe1b9ea598246d7e99197ee8799f6dc2e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sail/zipball/e35b3ffe1b9ea598246d7e99197ee8799f6dc2e5", + "reference": "e35b3ffe1b9ea598246d7e99197ee8799f6dc2e5", + "shasum": "" + }, + "require": { + "illuminate/console": "^9.52.16|^10.0|^11.0", + "illuminate/contracts": "^9.52.16|^10.0|^11.0", + "illuminate/support": "^9.52.16|^10.0|^11.0", + "php": "^8.0", + "symfony/console": "^6.0|^7.0", + "symfony/yaml": "^6.0|^7.0" + }, + "require-dev": { + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10" + }, + "bin": [ + "bin/sail" + ], + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Sail\\SailServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sail\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Docker files for running a basic Laravel application.", + "keywords": [ + "docker", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/sail/issues", + "source": "https://github.com/laravel/sail" + }, + "time": "2024-06-12T16:24:41+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.6.12", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" + }, + "type": "library", + "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2024-05-16T03:13:13+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.12.0", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3 <3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2024-06-12T14:39:25+00:00" + }, + { + "name": "nunomaduro/collision", + "version": "v7.10.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/collision.git", + "reference": "49ec67fa7b002712da8526678abd651c09f375b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/49ec67fa7b002712da8526678abd651c09f375b2", + "reference": "49ec67fa7b002712da8526678abd651c09f375b2", + "shasum": "" + }, + "require": { + "filp/whoops": "^2.15.3", + "nunomaduro/termwind": "^1.15.1", + "php": "^8.1.0", + "symfony/console": "^6.3.4" + }, + "conflict": { + "laravel/framework": ">=11.0.0" + }, + "require-dev": { + "brianium/paratest": "^7.3.0", + "laravel/framework": "^10.28.0", + "laravel/pint": "^1.13.3", + "laravel/sail": "^1.25.0", + "laravel/sanctum": "^3.3.1", + "laravel/tinker": "^2.8.2", + "nunomaduro/larastan": "^2.6.4", + "orchestra/testbench-core": "^8.13.0", + "pestphp/pest": "^2.23.2", + "phpunit/phpunit": "^10.4.1", + "sebastian/environment": "^6.0.1", + "spatie/laravel-ignition": "^2.3.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], + "support": { + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2023-10-11T15:45:01+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "54750ef60c58e43759730615a392c31c80e23176" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "10.1.14", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", + "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.1" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "10.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.14" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-12T15:33:41+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "4.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T06:24:48+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:56:09+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T14:07:24+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "6.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:57:52+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "10.5.24", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "5f124e3e3e561006047b532fd0431bf5bb6b9015" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5f124e3e3e561006047b532fd0431bf5bb6b9015", + "reference": "5f124e3e3e561006047b532fd0431bf5bb6b9015", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.5", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.1", + "sebastian/global-state": "^6.0.1", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "10.5-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.24" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2024-06-20T13:09:54+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:12:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:58:43+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:59:15+00:00" + }, + { + "name": "sebastian/comparator", + "version": "5.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-14T13:18:12+00:00" + }, + { + "name": "sebastian/complexity", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "68ff824baeae169ec9f2137158ee529584553799" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", + "reference": "68ff824baeae169ec9f2137158ee529584553799", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-12-21T08:37:17+00:00" + }, + { + "name": "sebastian/diff", + "version": "5.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0", + "symfony/process": "^6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:15:17+00:00" + }, + { + "name": "sebastian/environment", + "version": "6.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/8074dbcd93529b357029f5cc5058fd3e43666984", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "https://github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-23T08:47:14+00:00" + }, + { + "name": "sebastian/exporter", + "version": "5.1.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "955288482d97c19a372d3f31006ab3f37da47adf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", + "reference": "955288482d97c19a372d3f31006ab3f37da47adf", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:17:12+00:00" + }, + { + "name": "sebastian/global-state", + "version": "6.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "https://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:19:19+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-12-21T08:38:20+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:08:32+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:06:18+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:05:40+00:00" + }, + { + "name": "sebastian/type", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:10:45+00:00" + }, + { + "name": "sebastian/version", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-07T11:34:05+00:00" + }, + { + "name": "spatie/backtrace", + "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "8373b9d51638292e3bfd736a9c19a654111b4a23" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/8373b9d51638292e3bfd736a9c19a654111b4a23", + "reference": "8373b9d51638292e3bfd736a9c19a654111b4a23", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "ext-json": "*", + "laravel/serializable-closure": "^1.3", + "phpunit/phpunit": "^9.3", + "spatie/phpunit-snapshot-assertions": "^4.2", + "symfony/var-dumper": "^5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "source": "https://github.com/spatie/backtrace/tree/1.6.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2024-04-24T13:22:11+00:00" + }, + { + "name": "spatie/error-solutions", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/error-solutions.git", + "reference": "202108314a6988ede156fba1b3ea80a784c1734a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/202108314a6988ede156fba1b3ea80a784c1734a", + "reference": "202108314a6988ede156fba1b3ea80a784c1734a", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "illuminate/broadcasting": "^10.0|^11.0", + "illuminate/cache": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "livewire/livewire": "^2.11|^3.3.5", + "openai-php/client": "^0.10.1", + "orchestra/testbench": "^7.0|8.22.3|^9.0", + "pestphp/pest": "^2.20", + "phpstan/phpstan": "^1.11", + "psr/simple-cache": "^3.0", + "psr/simple-cache-implementation": "^3.0", + "spatie/ray": "^1.28", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "legacy/ignition", + "Spatie\\ErrorSolutions\\": "src", + "Spatie\\LaravelIgnition\\": "legacy/laravel-ignition" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ruben Van Assche", + "email": "ruben@spatie.be", + "role": "Developer" + } + ], + "description": "This is my package error-solutions", + "homepage": "https://github.com/spatie/error-solutions", + "keywords": [ + "error-solutions", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/error-solutions/issues", + "source": "https://github.com/spatie/error-solutions/tree/1.0.0" + }, + "funding": [ + { + "url": "https://github.com/Spatie", + "type": "github" + } + ], + "time": "2024-06-12T14:49:54+00:00" + }, + { + "name": "spatie/flare-client-php", + "version": "1.7.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/flare-client-php.git", + "reference": "097040ff51e660e0f6fc863684ac4b02c93fa234" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/097040ff51e660e0f6fc863684ac4b02c93fa234", + "reference": "097040ff51e660e0f6fc863684ac4b02c93fa234", + "shasum": "" + }, + "require": { + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", + "php": "^8.0", + "spatie/backtrace": "^1.6.1", + "symfony/http-foundation": "^5.2|^6.0|^7.0", + "symfony/mime": "^5.2|^6.0|^7.0", + "symfony/process": "^5.2|^6.0|^7.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0" + }, + "require-dev": { + "dms/phpunit-arraysubset-asserts": "^0.5.0", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/phpunit-snapshot-assertions": "^4.0|^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.3.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\FlareClient\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/spatie/flare-client-php", + "keywords": [ + "exception", + "flare", + "reporting", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/flare-client-php/issues", + "source": "https://github.com/spatie/flare-client-php/tree/1.7.0" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-06-12T14:39:14+00:00" + }, + { + "name": "spatie/ignition", + "version": "1.15.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/ignition.git", + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": "^8.0", + "spatie/error-solutions": "^1.0", + "spatie/flare-client-php": "^1.7", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "require-dev": { + "illuminate/cache": "^9.52|^10.0|^11.0", + "mockery/mockery": "^1.4", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "psr/simple-cache-implementation": "*", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.5.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for PHP applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/ignition/issues", + "source": "https://github.com/spatie/ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-06-12T14:55:22+00:00" + }, + { + "name": "spatie/laravel-ignition", + "version": "2.8.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ignition.git", + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/3c067b75bfb50574db8f7e2c3978c65eed71126c", + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "illuminate/support": "^10.0|^11.0", + "php": "^8.1", + "spatie/ignition": "^1.15", + "symfony/console": "^6.2.3|^7.0", + "symfony/var-dumper": "^6.2.3|^7.0" + }, + "require-dev": { + "livewire/livewire": "^2.11|^3.3.5", + "mockery/mockery": "^1.5.1", + "openai-php/client": "^0.8.1", + "orchestra/testbench": "8.22.3|^9.0", + "pestphp/pest": "^2.34", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.16", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\LaravelIgnition\\IgnitionServiceProvider" + ], + "aliases": { + "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\LaravelIgnition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/laravel-ignition/issues", + "source": "https://github.com/spatie/laravel-ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-06-12T15:01:18+00:00" + }, + { + "name": "symfony/yaml", + "version": "v7.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "fa34c77015aa6720469db7003567b9f772492bf2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/fa34c77015aa6720469db7003567b9f772492bf2", + "reference": "fa34c77015aa6720469db7003567b9f772492bf2", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<6.4" + }, + "require-dev": { + "symfony/console": "^6.4|^7.0" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v7.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:57:53+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:36:25+00:00" + } + ], + "aliases": [], + "minimum-stability": "dev", + "stability-flags": { + "lawondyss/moment-php": 20 + }, + "prefer-stable": true, + "prefer-lowest": false, + "platform": { + "php": "^8.1" + }, + "platform-dev": [], + "plugin-api-version": "2.6.0" +} diff --git a/back-end/config/app.php b/back-end/config/app.php index a0fa5ee9b..09ea07ac5 100644 --- a/back-end/config/app.php +++ b/back-end/config/app.php @@ -183,7 +183,9 @@ App\Providers\TenancyServiceProvider::class, App\Providers\TenancySessionServiceProvider::class, Maatwebsite\Excel\ExcelServiceProvider::class, - App\Providers\UtilServiceProvider::class + App\Providers\UtilServiceProvider::class, + + OwenIt\Auditing\AuditingServiceProvider::class, ], /* diff --git a/back-end/config/audit.php b/back-end/config/audit.php new file mode 100644 index 000000000..d6cee4296 --- /dev/null +++ b/back-end/config/audit.php @@ -0,0 +1,198 @@ + env('AUDITING_ENABLED', true), + + /* + |-------------------------------------------------------------------------- + | Audit Implementation + |-------------------------------------------------------------------------- + | + | Define which Audit model implementation should be used. + | + */ + + 'implementation' => OwenIt\Auditing\Models\Audit::class, + + /* + |-------------------------------------------------------------------------- + | User Morph prefix & Guards + |-------------------------------------------------------------------------- + | + | Define the morph prefix and authentication guards for the User resolver. + | + */ + + 'user' => [ + 'morph_prefix' => 'user', + 'guards' => [ + 'web', + 'api' + ], + 'resolver' => OwenIt\Auditing\Resolvers\UserResolver::class + ], + + /* + |-------------------------------------------------------------------------- + | Audit Resolvers + |-------------------------------------------------------------------------- + | + | Define the IP Address, User Agent and URL resolver implementations. + | + */ + 'resolvers' => [ + 'ip_address' => OwenIt\Auditing\Resolvers\IpAddressResolver::class, + 'user_agent' => OwenIt\Auditing\Resolvers\UserAgentResolver::class, + 'url' => OwenIt\Auditing\Resolvers\UrlResolver::class, + ], + + /* + |-------------------------------------------------------------------------- + | Audit Events + |-------------------------------------------------------------------------- + | + | The Eloquent events that trigger an Audit. + | + */ + + 'events' => [ + 'created', + 'updated', + 'deleted', + 'restored' + ], + + /* + |-------------------------------------------------------------------------- + | Strict Mode + |-------------------------------------------------------------------------- + | + | Enable the strict mode when auditing? + | + */ + + 'strict' => false, + + /* + |-------------------------------------------------------------------------- + | Global exclude + |-------------------------------------------------------------------------- + | + | Have something you always want to exclude by default? - add it here. + | Note that this is overwritten (not merged) with local exclude + | + */ + + 'exclude' => [], + + /* + |-------------------------------------------------------------------------- + | Empty Values + |-------------------------------------------------------------------------- + | + | Should Audit records be stored when the recorded old_values & new_values + | are both empty? + | + | Some events may be empty on purpose. Use allowed_empty_values to exclude + | those from the empty values check. For example when auditing + | model retrieved events which will never have new and old values. + | + | + */ + + 'empty_values' => true, + 'allowed_empty_values' => [ + 'retrieved' + ], + + /* + |-------------------------------------------------------------------------- + | Allowed Array Values + |-------------------------------------------------------------------------- + | + | Should the array values be audited? + | + | By default, array values are not allowed. This is to prevent performance + | issues when storing large amounts of data. You can override this by + | setting allow_array_values to true. + */ + 'allowed_array_values' => false, + + /* + |-------------------------------------------------------------------------- + | Audit Timestamps + |-------------------------------------------------------------------------- + | + | Should the created_at, updated_at and deleted_at timestamps be audited? + | + */ + + 'timestamps' => false, + + /* + |-------------------------------------------------------------------------- + | Audit Threshold + |-------------------------------------------------------------------------- + | + | Specify a threshold for the amount of Audit records a model can have. + | Zero means no limit. + | + */ + + 'threshold' => 0, + + /* + |-------------------------------------------------------------------------- + | Audit Driver + |-------------------------------------------------------------------------- + | + | The default audit driver used to keep track of changes. + | + */ + + 'driver' => 'database', + + /* + |-------------------------------------------------------------------------- + | Audit Driver Configurations + |-------------------------------------------------------------------------- + | + | Available audit drivers and respective configurations. + | + */ + + 'drivers' => [ + 'database' => [ + 'table' => 'audits', + 'connection' => null, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Audit Queue Configurations + |-------------------------------------------------------------------------- + | + | Available audit queue configurations. + | + */ + + 'queue' => [ + 'enable' => false, + 'connection' => 'sync', + 'queue' => 'default', + 'delay' => 0, + ], + + /* + |-------------------------------------------------------------------------- + | Audit Console + |-------------------------------------------------------------------------- + | + | Whether console events should be audited (eg. php artisan db:seed). + | + */ + + 'console' => false, +]; diff --git a/back-end/config/logging.php b/back-end/config/logging.php index 09cecc2fb..c7d891f29 100644 --- a/back-end/config/logging.php +++ b/back-end/config/logging.php @@ -37,7 +37,7 @@ 'channels' => [ 'stack' => [ 'driver' => 'stack', - 'channels' => ['db'], + 'channels' => ['single'], 'ignore_exceptions' => false, ], diff --git a/back-end/config/pgd.php b/back-end/config/pgd.php index 477d79b06..3af05650d 100644 --- a/back-end/config/pgd.php +++ b/back-end/config/pgd.php @@ -1,7 +1,7 @@ env('PGD_HOST','https://api-pgd.preprod.nuvem.gov.br'), + 'host' => env('PGD_HOST','https://api.pgd.gestao.gov.br'), 'username' => env('PGD_USERNAME','pgdpetrvs@gestao.gov.br'), 'password' => env('PGD_PASSWORD','PP!!24!!') ]; diff --git a/back-end/database/migrations/tenant/2024_07_17_163219_create_audits_table.php b/back-end/database/migrations/tenant/2024_07_17_163219_create_audits_table.php new file mode 100644 index 000000000..261b63b6e --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_17_163219_create_audits_table.php @@ -0,0 +1,58 @@ +create($table, function (Blueprint $table) { + + $table->bigIncrements('id'); + $table->string('user_type')->nullable(); + $table->uuid('user_id')->nullable(); + $table->string('event'); + $table->string('auditable_type'); + $table->uuid('auditable_id'); + $table->json('old_values')->nullable(); + $table->json('new_values')->nullable(); + $table->text('url')->nullable(); + $table->ipAddress('ip_address')->nullable(); + $table->string('user_agent', 1023)->nullable(); + $table->string('tags')->nullable(); + $table->timestamps(); + + $table->index([ + 'user_type', + 'user_id', + ]); + $table->index([ + 'auditable_type', + 'auditable_id', + ]); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + $connection = config('audit.drivers.database.connection', config('database.default')); + $table = config('audit.drivers.database.table', 'audits'); + + Schema::connection($connection)->drop($table); + } +} diff --git a/back-end/database/migrations/tenant/2024_07_29_151556_add_unidade_autorizadora_id_to_programas.php b/back-end/database/migrations/tenant/2024_07_29_151556_add_unidade_autorizadora_id_to_programas.php new file mode 100644 index 000000000..76919294d --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_29_151556_add_unidade_autorizadora_id_to_programas.php @@ -0,0 +1,37 @@ +foreignUuid('unidade_autorizadora_id') + ->nullable() + ->references('id') + ->on('unidades') + ->constrained('unidades') + ->comment("Unidade que autoriza o programa"); + + $table->string('link_autorizacao')->nullable()->comment("Link da normativa que autoriza o programa de gestão"); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('programas', function (Blueprint $table) { + $table->dropColumn('link_autorizacao'); + $table->dropForeign(['unidade_autorizadora_id']); + $table->dropColumn('unidade_autorizadora_id'); + }); + } +}; diff --git a/back-end/database/migrations/tenant/2024_07_30_092311_add_documento_id_to_programa_participantes.php b/back-end/database/migrations/tenant/2024_07_30_092311_add_documento_id_to_programa_participantes.php new file mode 100644 index 000000000..3fc4f5c6c --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_30_092311_add_documento_id_to_programa_participantes.php @@ -0,0 +1,34 @@ +foreignUuid('documento_id') + ->nullable() + ->references('id') + ->on('documentos') + ->constrained('documentos') + ->comment("TCR - Documento do participante"); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('programas_participantes', function (Blueprint $table) { + $table->dropForeign(['documento_id']); + $table->dropColumn('documento_id'); + }); + } +}; diff --git a/back-end/database/migrations/tenant/2024_07_31_110002_alter_audits_add_message.php b/back-end/database/migrations/tenant/2024_07_31_110002_alter_audits_add_message.php new file mode 100644 index 000000000..463ae0756 --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_31_110002_alter_audits_add_message.php @@ -0,0 +1,34 @@ +table($table, function (Blueprint $table) { + $table->longText('error_message')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + $connection = config('audit.drivers.database.connection', config('database.default')); + $table = config('audit.drivers.database.table', 'audits'); + + Schema::connection($connection)->table($table, function (Blueprint $table) { + $table->dropColumn('error_message'); + }); + } +}; diff --git a/back-end/database/migrations/tenant/2024_07_31_230758_add_data_envio_api_pgd_to_usuarios_table.php b/back-end/database/migrations/tenant/2024_07_31_230758_add_data_envio_api_pgd_to_usuarios_table.php new file mode 100644 index 000000000..df00ad0dc --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_31_230758_add_data_envio_api_pgd_to_usuarios_table.php @@ -0,0 +1,25 @@ +timestamp('data_envio_api_pgd')->nullable()->after('cod_jornada'); + }); + } + + public function down() + { + Schema::table('usuarios', function (Blueprint $table) { + $table->dropColumn('data_envio_api_pgd'); + }); + } +}; diff --git a/back-end/database/migrations/tenant/2024_07_31_230805_add_data_envio_api_pgd_to_planos_trabalhos_table.php b/back-end/database/migrations/tenant/2024_07_31_230805_add_data_envio_api_pgd_to_planos_trabalhos_table.php new file mode 100644 index 000000000..cd9250b8c --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_31_230805_add_data_envio_api_pgd_to_planos_trabalhos_table.php @@ -0,0 +1,25 @@ +timestamp('data_envio_api_pgd')->nullable()->after('criterios_avaliacao'); + }); + } + + public function down() + { + Schema::table('planos_trabalhos', function (Blueprint $table) { + $table->dropColumn('data_envio_api_pgd'); + }); + } +}; diff --git a/back-end/database/migrations/tenant/2024_07_31_230811_add_data_envio_api_pgd_to_planos_entregas_table.php b/back-end/database/migrations/tenant/2024_07_31_230811_add_data_envio_api_pgd_to_planos_entregas_table.php new file mode 100644 index 000000000..676b5a351 --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_31_230811_add_data_envio_api_pgd_to_planos_entregas_table.php @@ -0,0 +1,25 @@ +timestamp('data_envio_api_pgd')->nullable()->after('okr_id'); + }); + } + + public function down() + { + Schema::table('planos_entregas', function (Blueprint $table) { + $table->dropColumn('data_envio_api_pgd'); + }); + } +}; diff --git a/back-end/database/migrations/tenant/2024_07_31_232158_create_get_view_api_pgd_by_interval_procedure.php b/back-end/database/migrations/tenant/2024_07_31_232158_create_get_view_api_pgd_by_interval_procedure.php new file mode 100644 index 000000000..e00fd9a14 --- /dev/null +++ b/back-end/database/migrations/tenant/2024_07_31_232158_create_get_view_api_pgd_by_interval_procedure.php @@ -0,0 +1,183 @@ += CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.usuario_id + ) t1 + UNION ALL + SELECT + t2.id AS id, + t2.tipo AS tipo, + t2.json_audit AS json_audit + FROM + ( + SELECT d.usuario_id AS id, + "participante" AS tipo, + JSON_ARRAYAGG(a.id) AS json_audit + FROM audits a + JOIN documentos_assinaturas d ON a.auditable_id = d.id + WHERE a.auditable_type LIKE "%DocumentoAssinatura" + AND DATE(a.created_at) >= CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.usuario_id + ) t2 + UNION ALL + SELECT + t3.id AS id, + t3.tipo AS tipo, + t3.json_audit AS json_audit + FROM + ( + SELECT d.id AS id, + "participante" AS tipo, + JSON_ARRAYAGG(a.id) AS json_audit + FROM audits a + JOIN usuarios d ON a.auditable_id = d.id + WHERE a.auditable_type LIKE "%Usuario" + AND DATE(a.created_at) >= CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.id + ) t3 + UNION ALL + SELECT + t4.id AS id, + t4.tipo AS tipo, + t4.json_audit AS json_audit + FROM + ( + SELECT d.id AS id, + "trabalho" AS tipo, + JSON_ARRAYAGG(a.id) AS json_audit + FROM audits a + JOIN planos_trabalhos d ON a.auditable_id = d.id + WHERE a.auditable_type LIKE "%PlanoTrabalho" + AND DATE(a.created_at) >= CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.id + ) t4 + UNION ALL + SELECT + t5.id AS id, + t5.tipo AS tipo, + t5.json_audit AS json_audit + FROM + ( + SELECT d.plano_trabalho_id AS id, + "trabalho" AS tipo, + JSON_ARRAYAGG(a.id) AS json_audit + FROM audits a + JOIN planos_trabalhos_consolidacoes d ON a.auditable_id = d.id + WHERE a.auditable_type LIKE "%PlanoTrabalhoConsolidacao" + AND DATE(a.created_at) >= CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.plano_trabalho_id + ) t5 + UNION ALL + SELECT + t6.id AS id, + t6.tipo AS tipo, + t6.json_audit AS json_audit + FROM + ( + SELECT d.plano_trabalho_id AS id, + "trabalho" AS tipo, + JSON_ARRAYAGG(a.id) AS json_audit + FROM audits a + JOIN planos_trabalhos_entregas d ON a.auditable_id = d.id + WHERE a.auditable_type LIKE "%PlanoTrabalhoEntrega" + AND DATE(a.created_at) >= CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.plano_trabalho_id + ) t6 + UNION ALL + SELECT + t7.id AS id, + t7.tipo AS tipo, + t7.json_audit AS json_audit + FROM + ( + SELECT d.id AS id, + "entrega" AS tipo, + JSON_ARRAYAGG(a.id) AS json_audit + FROM audits a + JOIN planos_entregas d ON a.auditable_id = d.id + WHERE a.auditable_type LIKE "%PlanoEntrega" + AND DATE(a.created_at) >= CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.id + ) t7 + UNION ALL + SELECT + t8.id AS id, + t8.tipo AS tipo, + t8.json_audit AS json_audit + FROM + ( + SELECT d.plano_entrega_id AS id, + "entrega" AS tipo, + JSON_ARRAYAGG(a.id) AS json_audit + FROM audits a + JOIN planos_entregas_entregas d ON a.auditable_id = d.id + WHERE a.auditable_type LIKE "%PlanoEntregaEntrega" + AND DATE(a.created_at) >= CURDATE() - INTERVAL days_interval DAY + AND (a.tags = "ERRO" OR a.tags IS NULL) + GROUP BY d.plano_entrega_id + ) t8; + END + '); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + DB::unprepared('DROP PROCEDURE IF EXISTS get_view_api_pgd_by_interval'); + } +}; diff --git a/back-end/database/migrations/tenant/2024_08_01_220620_create_view_api_pgd.php b/back-end/database/migrations/tenant/2024_08_01_220620_create_view_api_pgd.php new file mode 100644 index 000000000..8751692f0 --- /dev/null +++ b/back-end/database/migrations/tenant/2024_08_01_220620_create_view_api_pgd.php @@ -0,0 +1,197 @@ +join('integracao_servidores as its', 'u.cpf', '=', 'its.cpf') + ->where('its.codigo_situacao_funcional', 8) + ->select('u.id', 'its.id as its_id') + ->get(); + foreach ($query as $usuario) { + DB::table('integracao_servidores')->where('id', $usuario->its_id)->delete(); + $this->deletaUsuario($usuario->id); + } + + Schema::enableForeignKeyConstraints(); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + } + + private function deletaUsuario(string $id) + { + DB::table('atividades')->where('demandante_id', $id)->delete(); + DB::table('atividades')->where('usuario_id', $id)->delete(); + DB::table('documentos')->where('usuario_id', $id)->delete(); + DB::table('planos_trabalhos')->where('criacao_usuario_id', $id)->delete(); + DB::table('planos_trabalhos')->where('usuario_id', $id)->delete(); + DB::table('projetos_recursos')->where('usuario_id', $id)->delete(); + DB::table('projetos_tarefas')->where('usuario_id', $id)->delete(); + DB::table('documentos_assinaturas')->where('usuario_id', $id)->delete(); + DB::table('questionarios_preenchimentos')->where('usuario_id', $id)->delete(); + DB::table('entidades')->where('gestor_id', $id)->delete(); + DB::table('entidades')->where('gestor_substituto_id', $id)->delete(); + DB::table('avaliacoes')->where('avaliador_id', $id)->delete(); + DB::table('comentarios')->where('usuario_id', $id)->delete(); + DB::table('anexos')->where('usuario_id', $id)->delete(); + DB::table('ocorrencias')->where('usuario_id', $id)->delete(); + DB::table('planos_entregas_entregas_progressos')->where('usuario_id', $id)->delete(); + DB::table('projetos')->where('usuario_id', $id)->delete(); + DB::table('notificacoes')->where('remetente_id', $id)->delete(); + DB::table('unidades_integrantes')->where('usuario_id', $id)->delete(); + DB::table('integracoes')->where('usuario_id', $id)->delete(); + DB::table('planos_entregas')->where('criacao_usuario_id', $id)->delete(); + DB::table('afastamentos')->where('usuario_id', $id)->delete(); + DB::table('projetos_historicos')->where('usuario_id', $id)->delete(); + DB::table('reacoes')->where('usuario_id', $id)->delete(); + DB::table('status_justificativas')->where('usuario_id', $id)->delete(); + DB::table('programas_participantes')->where('usuario_id', $id)->delete(); + DB::table('curriculuns')->where('usuario_id', $id)->delete(); + DB::table('notificacoes_whatsapp')->where('usuario_id', $id)->delete(); + DB::table('notificacoes_destinatarios')->where('usuario_id', $id)->delete(); + DB::table('atividades_tarefas')->where('usuario_id', $id)->delete(); + DB::table('favoritos')->where('usuario_id', $id)->delete(); + DB::table('usuarios')->where('id', $id)->delete(); + } +}; diff --git a/back-end/database/migrations/tenant/2024_08_14_113824_update_view_api.php b/back-end/database/migrations/tenant/2024_08_14_113824_update_view_api.php new file mode 100644 index 000000000..551165119 --- /dev/null +++ b/back-end/database/migrations/tenant/2024_08_14_113824_update_view_api.php @@ -0,0 +1,294 @@ +string('cpf_titular_autoridade_uorg', 14)->nullable(); + $table->string('cpf_substituto_autoridade_uorg', 14)->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('integracao_unidades', function (Blueprint $table) { + $table->dropColumn(['cpf_titular_autoridade_uorg', 'cpf_substituto_autoridade_uorg']); + }); + } +} diff --git a/back-end/database/migrations/tenant/2024_08_20_154929_truncate_unidades_integrantes_table.php b/back-end/database/migrations/tenant/2024_08_20_154929_truncate_unidades_integrantes_table.php new file mode 100644 index 000000000..bd7acd90d --- /dev/null +++ b/back-end/database/migrations/tenant/2024_08_20_154929_truncate_unidades_integrantes_table.php @@ -0,0 +1,29 @@ +truncate(); + + Schema::enableForeignKeyConstraints(); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + // + } +}; diff --git a/back-end/database/migrations/tenant/2024_08_28_234458_update_atribuicao_column_unidades_integrantes_atribuicoes_table.php b/back-end/database/migrations/tenant/2024_08_28_234458_update_atribuicao_column_unidades_integrantes_atribuicoes_table.php new file mode 100644 index 000000000..01d8a4382 --- /dev/null +++ b/back-end/database/migrations/tenant/2024_08_28_234458_update_atribuicao_column_unidades_integrantes_atribuicoes_table.php @@ -0,0 +1,23 @@ +version("2.1.0"); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + throw new Exception("Impossível retornar para versões já atualizadas"); + } +} diff --git a/back-end/database/seeders/ApiPGDSeeder.php b/back-end/database/seeders/ApiPGDSeeder.php new file mode 100644 index 000000000..02ded9640 --- /dev/null +++ b/back-end/database/seeders/ApiPGDSeeder.php @@ -0,0 +1,35 @@ + 'petrvs']); + DB::reconnect('mysql'); + DB::purge('mysql'); + + DB::connection('mysql')->table('jobs_schedules')->upsert([ + [ + 'id'=> '7d255930-5549-11ef-bc8d-0242ac180002', + 'nome' => 'Enviar dados ao PGD', + 'classe' => 'PGDExportarDadosJob', + 'ativo' => true, + 'minutos' => 0, + 'horas' => 0, + 'dias' => 0, + 'semanas' => 0, + 'meses' => 0, + 'expressao_cron' => '*/2 * * * *', + 'created_at' => Carbon::now(), + 'updated_at' => Carbon::now(), + 'parameters' => '[]' + ] + ], 'classe'); + } +} diff --git a/back-end/database/seeders/CapacidadeSeeder.php b/back-end/database/seeders/CapacidadeSeeder.php index 0fc5874f4..545662ec8 100644 --- a/back-end/database/seeders/CapacidadeSeeder.php +++ b/back-end/database/seeders/CapacidadeSeeder.php @@ -150,7 +150,6 @@ public function run() ["codigo" => "MOD_TRF_INCL"], ["codigo" => "MOD_UND"], ["codigo" => "MOD_UND_EDT"], - ["codigo" => "MOD_UND_INCL"], ["codigo" => "MOD_UND_TUDO"], ["codigo" => "MOD_USER"], ["codigo" => "MOD_USER_TUDO"] @@ -301,7 +300,6 @@ public function run() ["codigo" => "MOD_TRF_INCL"], ["codigo" => "MOD_UND"], ["codigo" => "MOD_UND_EDT"], - ["codigo" => "MOD_UND_INCL"], ["codigo" => "MOD_UND_INTG"], ["codigo" => "MOD_UND_INTG_EDT"], ["codigo" => "MOD_UND_INTG_EXCL"], diff --git a/back-end/database/seeders/DatabaseSeeder.php b/back-end/database/seeders/DatabaseSeeder.php index 8a3ed1017..d9ddfe6f2 100644 --- a/back-end/database/seeders/DatabaseSeeder.php +++ b/back-end/database/seeders/DatabaseSeeder.php @@ -23,6 +23,7 @@ public function run() CapacidadeSeeder::class, FuncaoSeeder::class, TipoMotivoAfastamentoSeeder::class, + JobScheduleSeeder::class, ]); } else { $this->call([ @@ -38,7 +39,7 @@ public function run() In24_2023Seeder::class, TemplateSeeder::class, TipoMotivoAfastamentoSeeder::class, - + JobScheduleSeeder::class, /* Após a execução das Seeds acima, executar a rotina de integração com o comando http://localhost[:porta]/api/integracao?servidores=true&unidades=true&entidade=[ID da entidade] diff --git a/back-end/database/seeders/DeployHMGSeeder.php b/back-end/database/seeders/DeployHMGSeeder.php index dd9255b98..087ff1bb0 100644 --- a/back-end/database/seeders/DeployHMGSeeder.php +++ b/back-end/database/seeders/DeployHMGSeeder.php @@ -21,7 +21,8 @@ public function run() TipoCapacidadeSeeder::class, CapacidadeSeeder::class, NomenclaturaSeeder::class, - TipoMotivoAfastamentoSeeder::class + TipoMotivoAfastamentoSeeder::class, + JobScheduleSeeder::class, ]); } } diff --git a/back-end/database/seeders/JobScheduleSeeder.php b/back-end/database/seeders/JobScheduleSeeder.php new file mode 100644 index 000000000..873f6634f --- /dev/null +++ b/back-end/database/seeders/JobScheduleSeeder.php @@ -0,0 +1,36 @@ + 'petrvs']); + DB::reconnect('mysql'); + DB::purge('mysql'); + + DB::connection('mysql')->table('jobs_schedules')->upsert([ + [ + 'id'=> '7d255930-5549-11ef-bc8d-0242ac180002', + 'nome' => 'Enviar dados ao PGD', + 'classe' => 'PGDExportarDadosJob', + 'ativo' => true, + 'minutos' => 0, + 'horas' => 0, + 'dias' => 0, + 'semanas' => 0, + 'meses' => 0, + 'expressao_cron' => '*/2 * * * *', + 'created_at' => Carbon::now(), + 'updated_at' => Carbon::now(), + 'deleted_at' => null, + 'parameters' => '[]' + ] + ], 'classe'); + } +} diff --git a/back-end/database/seeders/NomenclaturaSeeder.php b/back-end/database/seeders/NomenclaturaSeeder.php index cd416cbdf..64a529248 100644 --- a/back-end/database/seeders/NomenclaturaSeeder.php +++ b/back-end/database/seeders/NomenclaturaSeeder.php @@ -111,6 +111,7 @@ public function run() } } $entidade->nomenclatura = $entidadeNomenclaturas->values()->all(); + $entidade->sigla = $entidade->sigla??'EO'; $entidade->save(); } } diff --git a/back-end/database/seeders/UsuarioSeeder.php b/back-end/database/seeders/UsuarioSeeder.php index aa475fc42..ae970804e 100644 --- a/back-end/database/seeders/UsuarioSeeder.php +++ b/back-end/database/seeders/UsuarioSeeder.php @@ -38,6 +38,14 @@ public function run() 'perfil_id' => $perfilDesenvolvedorId, 'sexo' => 'MASCULINO', ], + [ + 'email' => 'rickgrana@gmail.com', + 'nome' => 'Ricardo Grana de Lima', + 'cpf' => '74065505291', + 'apelido' => 'Grana', + 'perfil_id' => $perfilDesenvolvedorId, + 'sexo' => 'MASCULINO', + ], [ 'email' => 'henrique.felipe100@gmail.com', 'nome' => 'Henrique Felipe Alves', diff --git a/back-end/public/555.js b/back-end/public/555.js index b599f05cd..08052f629 100644 --- a/back-end/public/555.js +++ b/back-end/public/555.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[555,32],{8032:(he,L,d)=>{d.d(L,{x:()=>E});var h=d(8239),Z=d(2307),x=d(5736),c=d(755),S=d(6733);function e(u,v){if(1&u&&c._UZ(0,"i"),2&u){const r=c.oxw(2);c.Tol(r.button.icon)}}function y(u,v){if(1&u&&(c.TgZ(0,"span",8),c._uU(1),c.qZA()),2&u){const r=c.oxw(2);c.xp6(1),c.Oqu(r.button.label)}}function A(u,v){if(1&u&&(c.TgZ(0,"span",9),c._uU(1),c.qZA()),2&u){const r=c.oxw(2);c.xp6(1),c.Oqu(r.button.badge)}}function O(u,v){if(1&u&&(c.TgZ(0,"button",10)(1,"span",11),c._uU(2,"V"),c.qZA()()),2&u){const r=c.oxw(2);c.Tol("btn dropdown-toggle dropdown-toggle-split "+(r.button.color||"btn-outline-primary")),c.uIk("id",r.generatedButtonId(r.button)+"_dropdown")}}function J(u,v){1&u&&c._UZ(0,"hr",16)}function Q(u,v){if(1&u&&c._UZ(0,"i"),2&u){const r=c.oxw(2).$implicit;c.Tol(r.icon)}}function M(u,v){if(1&u){const r=c.EpF();c.TgZ(0,"a",17),c.NdJ("click",function(){c.CHM(r);const C=c.oxw().$implicit,Y=c.oxw(3);return c.KtG(Y.onButtonClick(C))}),c.YNc(1,Q,1,2,"i",3),c._uU(2),c.qZA()}if(2&u){const r=c.oxw().$implicit,b=c.oxw(3);c.Q6J("id",b.generatedButtonId(r,"_item")),c.xp6(1),c.Q6J("ngIf",null==r.icon?null:r.icon.length),c.xp6(1),c.hij(" ",r.label||"","")}}function k(u,v){if(1&u&&(c.TgZ(0,"li"),c.YNc(1,J,1,0,"hr",14),c.YNc(2,M,3,3,"a",15),c.qZA()),2&u){const r=v.$implicit;c.xp6(1),c.Q6J("ngIf",r.divider),c.xp6(1),c.Q6J("ngIf",!r.divider)}}function z(u,v){if(1&u&&(c.TgZ(0,"ul",12),c.YNc(1,k,3,2,"li",13),c.qZA()),2&u){const r=c.oxw(2);c.uIk("aria-labelledby",r.generatedButtonId(r.button)+(r.button.items&&r.button.toggle?"_dropdown":"")),c.xp6(1),c.Q6J("ngForOf",r.button.items)}}function P(u,v){if(1&u){const r=c.EpF();c.TgZ(0,"div",1)(1,"button",2),c.NdJ("click",function(){c.CHM(r);const C=c.oxw();return c.KtG(C.onButtonClick(C.button))}),c.YNc(2,e,1,2,"i",3),c.YNc(3,y,2,1,"span",4),c.YNc(4,A,2,1,"span",5),c.qZA(),c.YNc(5,O,3,3,"button",6),c.YNc(6,z,2,2,"ul",7),c.qZA()}if(2&u){const r=c.oxw();c.ekj("w-100",r.isFullWidth),c.xp6(1),c.Tol(r.buttonClass),c.Q6J("id",r.generatedButtonId(r.button))("disabled",r.buttonDisabled(r.button)),c.uIk("data-bs-toggle",r.button.items&&!r.button.toggle?"dropdown":void 0),c.xp6(1),c.Q6J("ngIf",null==r.button.icon?null:r.button.icon.length),c.xp6(1),c.Q6J("ngIf",null==r.button.label?null:r.button.label.length),c.xp6(1),c.Q6J("ngIf",null==r.button.badge?null:r.button.badge.length),c.xp6(1),c.Q6J("ngIf",r.button.items&&r.button.toggle),c.xp6(1),c.Q6J("ngIf",r.button.items)}}let E=(()=>{class u extends x.V{set button(r){this._button!=r&&(this._button=r),this._button.id=this.generatedButtonId(this._button)}get button(){return this._button}set route(r){this._button.route!=r&&(this._button.route=r)}get route(){return this._button.route}set metadata(r){this._button.metadata!=r&&(this._button.metadata=r)}get metadata(){return this._button.metadata}set class(r){this._button.class!=r&&(this._button.class=r)}get class(){return this._button.class}set icon(r){this._button.icon!=r&&(this._button.icon=r),this._button.id=this.generatedButtonId(this._button)}get icon(){return this._button.icon}set label(r){this._button.label!=r&&(this._button.label=r),this._button.id=this.generatedButtonId(this._button)}get label(){return this._button.label}set hint(r){this._button.hint!=r&&(this._button.hint=r),this._button.id=this.generatedButtonId(this._button)}get hint(){return this._button.hint}set disabled(r){this._button.disabled!=r&&(this._button.disabled=r)}get disabled(){return this._button.disabled}set iconChar(r){this._button.iconChar!=r&&(this._button.iconChar=r)}get iconChar(){return this._button.iconChar}set color(r){this._button.color!=r&&(this._button.color=r)}get color(){return this._button.color}set running(r){this._button.running!=r&&(this._button.running=r)}get running(){return this._button.running}set toggle(r){this._button.toggle!=r&&(this._button.toggle=r)}get toggle(){return this._button.toggle}set badge(r){this._button.badge!=r&&(this._button.badge=r)}get badge(){return this._button.badge}set pressed(r){this._button.pressed!=r&&(this._button.pressed=r)}get pressed(){return this._button.pressed}set items(r){this._button.items!=r&&(this._button.items=r)}get items(){return this._button.items}set hidden(r){this._button.hidden!=r&&(this._button.hidden=r)}get hidden(){return this._button.hidden}set dynamicItems(r){this._button.dynamicItems!=r&&(this._button.dynamicItems=r)}get dynamicItems(){return this._button.dynamicItems}set dynamicVisible(r){this._button.dynamicVisible!=r&&(this._button.dynamicVisible=r)}get dynamicVisible(){return this._button.dynamicVisible}set onClick(r){this._button.onClick!=r&&(this._button.onClick=r)}get onClick(){return this._button.onClick}constructor(r){super(r),this.injector=r,this._button={},this.go=r.get(Z.o),this.button.id=this.generatedButtonId(this.button,this.util.md5())}get isFullWidth(){return null!=this.fullWidth}get isNoArrow(){return null!=this.noArrow}get isPlaceholder(){return null!=this.placeholder}get buttonClass(){return(this.isPlaceholder?"placeholder ":"")+(this.buttonPressed(this.button)?"active ":"")+(this.isNoArrow?"no-arrow ":"")+(this.button.items&&!this.button.toggle?"dropdown-toggle ":"")+"btn "+(this.button.color||"btn-outline-primary")}buttonDisabled(r){return this.isPlaceholder||("function"==typeof r.disabled?r.disabled():!!r.disabled)}buttonPressed(r){return!!r.toggle&&(r.pressed&&"boolean"!=typeof r.pressed?!!r.pressed(this):!!r.pressed)}onButtonClick(r){var b=this;return(0,h.Z)(function*(){r.toggle&&"boolean"==typeof r.pressed&&(r.pressed=!r.pressed),r.route?b.go.navigate(r.route,r.metadata):r.onClick&&(yield r.onClick(b.data,r)),b.cdRef.detectChanges()})()}static#e=this.\u0275fac=function(b){return new(b||u)(c.Y36(c.zs3))};static#t=this.\u0275cmp=c.Xpm({type:u,selectors:[["action-button"]],inputs:{button:"button",route:"route",metadata:"metadata",class:"class",icon:"icon",label:"label",hint:"hint",disabled:"disabled",iconChar:"iconChar",color:"color",running:"running",toggle:"toggle",badge:"badge",pressed:"pressed",items:"items",hidden:"hidden",dynamicItems:"dynamicItems",dynamicVisible:"dynamicVisible",onClick:"onClick",data:"data",noArrow:"noArrow",fullWidth:"fullWidth",placeholder:"placeholder"},features:[c.qOj],decls:1,vars:1,consts:[["class","btn-group","role","group",3,"w-100",4,"ngIf"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"id","disabled","click"],[3,"class",4,"ngIf"],["class","d-none d-md-inline-block ms-2",4,"ngIf"],["class","badge bg-primary ms-2",4,"ngIf"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",3,"class",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],[1,"d-none","d-md-inline-block","ms-2"],[1,"badge","bg-primary","ms-2"],["type","button","data-bs-toggle","dropdown","aria-expanded","false"],[1,"visually-hidden"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"]],template:function(b,C){1&b&&c.YNc(0,P,7,12,"div",0),2&b&&c.Q6J("ngIf",!C.button.dynamicVisible||C.button.dynamicVisible(C.button))},dependencies:[S.sg,S.O5],styles:["[_nghost-%COMP%] .transparent-black{background-color:transparent;color:#000}[_nghost-%COMP%] .transparent-white{background-color:transparent;color:#fff}.no-arrow[_ngcontent-%COMP%]:before, .no-arrow[_ngcontent-%COMP%]:after{display:none!important}"]})}return u})()},9555:(he,L,d)=>{d.r(L),d.d(L,{PanelModule:()=>ji});var h=d(6733),Z=d(5579),x=d(2314),c=d(3150),S=d(6976),e=d(755);let y=(()=>{class o extends S.B{constructor(t){super("Tenant",t),this.injector=t,this.PREFIX_URL="config"}cidadesSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cidades",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}tiposCapacidadesSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/tipo-capacidade",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}deleteTenant(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/delete-tenant",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}generateCertificateKeys(){return new Promise((t,n)=>{this.server.post("config/"+this.collection+"/generate-certificate-keys",{}).subscribe(i=>{i.error?n(i.error):t(i.data)},i=>n(i))})}seeders(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/seeders",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}migrations(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/migrations",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}cleanDB(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cleandb",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}resetDB(){return new Promise((t,n)=>{this.server.get("config/"+this.collection+"/resetdb").subscribe(i=>{i.error?n(i.error):t(!!i?.success)},i=>n(i))})}usuarioSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cidades",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}entidadeSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cidades",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}databaseSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/database",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var A=d(4368);class O extends A.X{constructor(s){super(),this.tenancy_db_name="",this.tenancy_db_host=null,this.tenancy_db_port=null,this.tenancy_db_username=null,this.tenancy_db_password=null,this.log_traffic=!1,this.log_changes=!1,this.log_errors=!1,this.log_host=null,this.log_database=null,this.log_port=null,this.log_username=null,this.log_password=null,this.notification_petrvs=!0,this.notification_mail=!1,this.notification_mail_signature="",this.notification_mail_host="",this.notification_mail_port=465,this.notification_mail_username="",this.notification_mail_password="",this.notification_mail_encryption="SSL",this.notification_whatsapp=!1,this.notification_whatsapp_url="",this.notification_whatsapp_token="",this.email="",this.nome_usuario="",this.cpf="",this.apelido="",this.sigla="",this.nome_entidade="",this.abrangencia="",this.codigo_cidade=null,this.dominio_url=null,this.login_select_entidade=!1,this.login_google_client_id="",this.login_firebase_client_id="",this.login_azure_client_id="",this.login_azure_secret="",this.login_azure_redirect_uri="",this.login_login_unico_client_id="",this.login_login_unico_secret="",this.login_login_unico_environment="",this.login_login_unico_code_verifier="",this.login_login_unico_code_challenge_method="",this.login_login_unico_redirect="",this.login_google=!1,this.login_azure=!1,this.login_login_unico=!1,this.tipo_integracao="",this.integracao_auto_incluir=!0,this.integracao_cod_unidade_raiz="",this.integracao_siape_url="",this.integracao_siape_upag="",this.integracao_siape_sigla="",this.integracao_siape_nome="",this.integracao_siape_cpf="",this.integracao_siape_senha="",this.integracao_siape_codorgao="",this.integracao_siape_uorg="",this.integracao_siape_existepag="",this.integracao_siape_tipovinculo="",this.integracao_wso2_url="",this.integracao_wso2_unidades="",this.integracao_wso2_pessoas="",this.integracao_wso2_token_url="",this.integracao_wso2_token_authorization="",this.integracao_wso2_token_acesso="",this.integracao_wso2_token_user="",this.integracao_wso2_token_password="",this.integracao_usuario_comum="",this.integracao_usuario_chefe="",this.modulo_sei_habilitado=!1,this.modulo_sei_private_key="",this.modulo_sei_public_key="",this.modulo_sei_url="",this.initialization(s)}}var J=d(8509),Q=d(7457),M=d(7224),k=d(3351),z=d(7765),P=d(5512),E=d(2704),u=d(5489);function v(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1),e.qZA(),e._UZ(2,"br"),e.TgZ(3,"small"),e._uU(4),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.id),e.xp6(3),e.Oqu(t.dominio_url)}}function r(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1,"Dados:"),e.qZA(),e._uU(2),e._UZ(3,"br"),e.TgZ(4,"strong"),e._uU(5,"Logs:"),e.qZA(),e._uU(6)),2&o){const t=s.row;e.xp6(2),e.lnq(" ",t.tenancy_db_host||"[ENV_HOST]",":",t.tenancy_db_port||"[ENV_PORT]","/",t.tenancy_db_name,""),e.xp6(4),e.lnq(" ",t.log_host||"[LOG_HOST]",":",t.log_port||"[LOG_PORT]","/",null!=t.log_database&&t.log_database.length?t.log_database:"log_"+t.tenancy_db_name," ")}}function b(o,s){1&o&&e._UZ(0,"badge",15)}function C(o,s){1&o&&e._UZ(0,"badge",16)}function Y(o,s){if(1&o&&(e.YNc(0,b,1,0,"badge",13),e.YNc(1,C,1,0,"badge",14)),2&o){const t=s.row;e.Q6J("ngIf",t.modulo_sei_habilitado),e.xp6(1),e.Q6J("ngIf","NENHUMA"!=t.tipo_integracao)}}function me(o,s){1&o&&e._UZ(0,"badge",20)}function ge(o,s){1&o&&e._UZ(0,"badge",21)}function fe(o,s){1&o&&e._UZ(0,"badge",22)}function be(o,s){if(1&o&&(e.YNc(0,me,1,0,"badge",17),e.YNc(1,ge,1,0,"badge",18),e.YNc(2,fe,1,0,"badge",19)),2&o){const t=s.row;e.Q6J("ngIf",t.log_changes),e.xp6(1),e.Q6J("ngIf",t.log_traffic),e.xp6(1),e.Q6J("ngIf",t.log_errors)}}let xe=(()=>{class o extends J.E{constructor(t,n,i){super(t,O,y),this.injector=t,this.authService=i,this.toolbarButtons=[{icon:"bi bi-eye-fill",label:"Ver Logs",onClick:()=>this.go.navigate({route:["panel","logs2"]})},{icon:"bi bi-database-add",label:"Executar Migrations",onClick:this.executaMigrations.bind(this)},{icon:"bi-database-fill-gear",label:"Executar Seeder",onClick:l=>this.go.navigate({route:["panel","seeder"]})},{icon:"bi-database-fill-gear",label:"Job Agendados",onClick:l=>this.go.navigate({route:["panel","job-agendados"]})}],this.filterWhere=l=>[],this.code="PANEL",this.filter=this.fh.FormBuilder({}),this.options.push({icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",onClick:this.consult.bind(this)}),this.options.push({icon:"bi bi-info-circle",label:"Executar Migrations",onClick:this.executaMigrations.bind(this)}),this.options.push({icon:"bi bi-trash",label:"Excluir",onClick:this.deleteTenant.bind(this)}),this.options.push({icon:"bi bi-database-fill-gear",label:"Executar Seeder",onClick:l=>this.go.navigate({route:["panel","seeder"]},{metadata:{tenant_id:l.id}})}),this.options.push({icon:"bi bi-database-fill-gear",label:"Job agendados",onClick:l=>this.go.navigate({route:["panel","job-agendados"]},{metadata:{tenant_id:l.id}})})}dynamicButtons(t){let n=[];return n.push({label:"Apagar dados",icon:"bi bi-database-dash",color:"danger",onClick:this.cleanDB.bind(this)}),n}cleanDB(t){const n=this;this.dialog.confirm("Deseja apagar os dados?","Essa a\xe7\xe3o \xe9 irrevers\xedvel").then(i=>{i&&(n.loading=!0,this.dao.cleanDB(t).then(function(){n.loading=!1,n.dialog.alert("Sucesso","Executado com sucesso!"),window.location.reload()}).catch(function(l){n.loading=!1,n.dialog.alert("Erro",l?.message)}))})}resetDB(t){const n=this;this.dialog.confirm("Deseja Resetar o DB?","Deseja realmente executar o reset?").then(i=>{i&&(n.loading=!0,this.dao.resetDB().then(function(){n.loading=!1,n.dialog.alert("Sucesso","Executado com sucesso!"),window.location.reload()}).catch(function(l){n.loading=!1,n.dialog.alert("Erro",l?.message)}))})}executaMigrations(t){const n=this;this.dialog.confirm("Executar Migration?","Deseja realmente executar as migrations?").then(i=>{i&&this.dao.migrations(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}executaSeeders(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente executar as seeders?").then(i=>{i&&this.dao.seeders(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}executaMigrationTenant(t){const n=this;this.dialog.confirm("Executar Migration?","Deseja realmente executar as migrations?").then(i=>{i&&this.dao.tiposCapacidadesSeeder(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}tipoCapacidadeSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.tiposCapacidadesSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}cidadeSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente executar a seeder de cidades?").then(i=>{i&&this.dao.cidadesSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}usuariosSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.usuarioSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}entidadesSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.entidadeSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}databaseSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.entidadeSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}deleteTenant(t){const n=this;this.dialog.confirm("Excluir Tenant?","Deseja realmente excluir esse tenant ("+t.id+")? ").then(i=>{i&&this.dao.deleteTenant(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3),e.Y36(y),e.Y36(Q.r))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-list"]],viewQuery:function(n,i){if(1&n&&e.Gf(c.M,5),2&n){let l;e.iGM(l=e.CRH())&&(i.grid=l.first)}},features:[e.qOj],decls:18,vars:22,consts:[["title","Painel de entidades (SaaS)",3,"dao","add","orderBy","groupBy","join","hasAdd","hasEdit"],[3,"buttons"],["hidden","",3,"deleted","form","where","submit","clear","collapseChange","collapsed"],["title","ID",3,"template"],["columnId",""],["title","Banco de dados",3,"template"],["columnDb",""],["title","Recursos",3,"template"],["columnRecursos",""],["title","Logs","field","columnLogs"],["columnLogs",""],["type","options",3,"onEdit","options","dynamicButtons"],[3,"rows"],["color","primary","label","M\xf3dulo Sei",4,"ngIf"],["color","primary","label","Integra\xe7\xe3o SIAPE",4,"ngIf"],["color","primary","label","M\xf3dulo Sei"],["color","primary","label","Integra\xe7\xe3o SIAPE"],["color","light","label","Auditoria (Changes)",4,"ngIf"],["color","light","label","Tr\xe1fego (Traffic)",4,"ngIf"],["color","light","label","Erros (Errors)",4,"ngIf"],["color","light","label","Auditoria (Changes)"],["color","light","label","Tr\xe1fego (Traffic)"],["color","light","label","Erros (Errors)"]],template:function(n,i){if(1&n&&(e.TgZ(0,"grid",0),e._UZ(1,"toolbar",1)(2,"filter",2),e.TgZ(3,"columns")(4,"column",3),e.YNc(5,v,5,2,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(7,"column",5),e.YNc(8,r,7,6,"ng-template",null,6,e.W1O),e.qZA(),e.TgZ(10,"column",7),e.YNc(11,Y,2,2,"ng-template",null,8,e.W1O),e.qZA(),e.TgZ(13,"column",9),e.YNc(14,be,3,3,"ng-template",null,10,e.W1O),e.qZA(),e._UZ(16,"column",11),e.qZA(),e._UZ(17,"pagination",12),e.qZA()),2&n){const l=e.MAs(6),a=e.MAs(9),p=e.MAs(12);e.Q6J("dao",i.dao)("add",i.add)("orderBy",i.orderBy)("groupBy",i.groupBy)("join",i.join)("hasAdd",!0)("hasEdit",!0),e.xp6(1),e.Q6J("buttons",i.toolbarButtons),e.xp6(1),e.Q6J("deleted",i.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",i.filter)("where",i.filterWhere.bind(i))("submit",i.filterSubmit.bind(i))("clear",i.filterClear.bind(i))("collapseChange",i.filterCollapseChange.bind(i))("collapsed",i.filterCollapsed),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("template",p),e.xp6(6),e.Q6J("onEdit",i.edit)("options",i.options)("dynamicButtons",i.dynamicButtons.bind(i)),e.xp6(1),e.Q6J("rows",i.rowsLimit)}},dependencies:[h.O5,c.M,M.a,k.b,z.z,P.n,E.Q,u.F]})}return o})();var T=d(8239),V=d(4040),W=d(6384),$=d(1184);let X=(()=>{class o extends S.B{constructor(t){super("Seeder",t),this.injector=t,this.inputSearchConfig.searchFields=["nome"]}getAllSeeder(){return new Promise((t,n)=>{this.server.get("api/"+this.collection+"/getAll").subscribe(i=>{t(this.loadSeederDados(i))},i=>{console.log("Erro ao montar a hierarquia da atividade!",i),t([])})})}loadSeederDados(t){return t}executeSeeder(t,n){return new Promise((i,l)=>{this.server.post("api/"+this.collection+"/execute",{seeder:t,id:n}).subscribe(a=>{i(a||[])},a=>l(a))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var ve=d(2939);let ee=(()=>{class o extends S.B{constructor(t,n){super("JobAgendado",t),this.injector=t,this.http=n,this.inputSearchConfig.searchFields=["nome_do_job"]}getAllJobs(t){const n=`api/${this.collection}/getAll`;return new Promise((l,a)=>{this.server.get(n).subscribe(p=>{l(this.loadJobAgendadoDados(p))},p=>{console.log("Erro ao obter os jobs!",p),a(p)})})}getClassJobs(){const t=`api/${this.collection}/getClassJobs`;return new Promise((n,i)=>{this.server.get(t).subscribe(l=>{n(l)},l=>{console.log("Erro ao obter os jobs!",l),i(l)})})}loadJobAgendadoDados(t){return t}createJob(t,n){const i=`api/${this.collection}/create`;return new Promise((l,a)=>{this.server.post(i,t).subscribe(p=>{l(p)},p=>{console.error("Erro ao criar o job!",p),a(p)})})}deleteJob(t){const n=`api/${this.collection}/delete/${t}`;return new Promise((i,l)=>{this.server.delete(n).subscribe(a=>{i(a)},a=>{console.error("Erro ao deletar o job!",a),l(a)})})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3),e.LFG(ve.eN))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Te=d(8820),te=d(2392),Ie=d(4603),ye=d(4978),Ce=d(5560),we=d(9224);function Se(o,s){if(1&o&&(e.TgZ(0,"div",4),e._UZ(1,"separator",55),e.TgZ(2,"div",4),e._UZ(3,"input-text",56)(4,"input-text",57)(5,"input-text",58),e.qZA(),e.TgZ(6,"div",4),e._UZ(7,"input-text",59)(8,"input-text",60)(9,"input-text",61),e.qZA(),e.TgZ(10,"div",4),e._UZ(11,"input-text",62)(12,"input-text",63)(13,"input-select",64)(14,"input-select",65),e.qZA(),e.TgZ(15,"div",4),e._UZ(16,"input-text",66)(17,"input-text",67),e.qZA()()),2&o){const t=e.oxw();e.xp6(3),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",15),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3)("items",t.lookup.EXISTE_PAGADOR),e.xp6(1),e.Q6J("size",3)("items",t.lookup.TIPO_VINCULO),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250)}}function Oe(o,s){1&o&&(e.TgZ(0,"div",4),e._UZ(1,"separator",68),e.TgZ(2,"div",4),e._UZ(3,"input-text",69)(4,"input-text",70)(5,"input-text",71),e.qZA(),e.TgZ(6,"div",4),e._UZ(7,"input-text",72)(8,"input-text",73)(9,"input-text",74),e.qZA(),e.TgZ(10,"div",4),e._UZ(11,"input-text",75)(12,"input-text",76),e.qZA()()),2&o&&(e.xp6(3),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.xp6(1),e.Q6J("size",4),e.xp6(2),e.Q6J("size",6),e.xp6(1),e.Q6J("size",6))}let B=(()=>{class o extends $.F{constructor(t){super(t,O,y),this.injector=t,this.seeders=[],this.selectedSeeder="",this.encryption=[{key:"SSL",value:"SSL"},{key:"TLS",value:"TLS"}],this.tiposLogin=[{Tipo:"Usu\xe1rio/Senha",Web:"",API:"",Habilitado:!0},{Tipo:"Firebase",Web:"",API:"",Habilitado:!0},{Tipo:"Google (GIS)",Web:"",API:"",Habilitado:!0},{Tipo:"Microsoft (Azure)",Web:"",API:"",Habilitado:!0},{Tipo:"Login \xfanico",Web:"",API:"",Habilitado:!0},{Tipo:"Institucional",Web:"",API:"",Habilitado:!0}],this.validate=(n,i)=>{let l=null;return["id","nome_entidade","abrangencia","email","cpf","nome_usuario","apelido"].indexOf(i)>=0&&!n.value?.length||"codigo_cidade"==i&&!n.value?l="Obrigat\xf3rio":"cpf"==i&&!this.util.validarCPF(n.value)&&(l="Inv\xe1lido"),l},this.seederDao=t.get(X),this.jobAgendadoDao=t.get(ee),this.form=this.fh.FormBuilder({id:{default:""},edition:{default:"MGI"},tenancy_db_name:{default:""},tenancy_db_host:{default:null},tenancy_db_port:{default:3306},tenancy_db_username:{default:null},tenancy_db_password:{default:null},log_traffic:{default:!1},log_changes:{default:!1},log_errors:{default:!0},log_host:{default:null},log_database:{default:null},log_port:{default:3306},log_username:{default:null},log_password:{default:null},notification_petrvs:{default:!0},notification_mail:{default:!1},notification_mail_signature:{default:"assets/images/signature.png"},notification_mail_host:{default:""},notification_mail_port:{default:465},notification_mail_username:{default:""},notification_mail_password:{default:""},notification_mail_encryption:{default:"SSL"},notification_whatsapp:{default:!1},notification_whatsapp_url:{default:""},notification_whatsapp_token:{default:""},email:{default:""},nome_usuario:{default:""},cpf:{default:""},apelido:{default:""},nome_entidade:{default:""},abrangencia:{default:""},codigo_cidade:{default:5300108},login:{default:[]},dominio_url:{default:window.location.hostname},login_google:{default:!1},login_azure:{default:!1},login_login_unico:{default:!1},login_select_entidade:{default:!1},login_google_client_id:{default:""},login_firebase_client_id:{default:""},login_azure_client_id:{default:""},login_azure_secret:{default:""},login_azure_redirect_uri:{default:""},login_login_unico_client_id:{default:""},login_login_unico_secret:{default:""},login_login_unico_redirect:{default:"https://"+window.location.hostname+"/login-unico/"},login_login_unico_code_verifier:{default:""},login_login_unico_code_challenge_method:{default:""},login_login_unico_environment:{default:"staging"},tipo_integracao:{default:null},integracao_auto_incluir:{default:!0},integracao_cod_unidade_raiz:{default:""},integracao_siape_url:{default:""},integracao_siape_upag:{default:""},integracao_siape_sigla:{default:""},integracao_siape_nome:{default:""},integracao_siape_cpf:{default:""},integracao_siape_senha:{default:""},integracao_siape_codorgao:{default:""},integracao_siape_uorg:{default:""},integracao_siape_existepag:{default:""},integracao_siape_tipovinculo:{default:""},integracao_wso2_url:{default:""},integracao_wso2_unidades:{default:""},integracao_wso2_pessoas:{default:""},integracao_wso2_token_url:{default:""},integracao_wso2_token_authorization:{default:""},integracao_wso2_token_acesso:{default:""},integracao_wso2_token_user:{default:""},integracao_wso2_token_password:{default:""},integracao_usuario_comum:{default:"Participante"},integracao_usuario_chefe:{default:"Chefia de Unidade Executora"},modulo_sei_habilitado:{default:!1},modulo_sei_private_key:{default:""},modulo_sei_public_key:{default:""},modulo_sei_url:{default:""}},this.cdRef,this.validate),this.formLogin=this.fh.FormBuilder({Tipo:{default:""},Web:{default:""},API:{default:""},Habilitado:{default:!1}})}ngOnInit(){super.ngOnInit(),this.loadSeeders()}loadSeeders(){var t=this;return(0,T.Z)(function*(){const n=yield t.seederDao.getAllSeeder();n&&(t.seeders=n)})()}onSeederChange(t){this.selectedSeeder=t.target.value}executeSeeder(t){this.selectedSeeder?this.seederDao.executeSeeder(this.selectedSeeder).then(n=>{n&&"object"==typeof n&&"message"in n?(this.dialog.alert("Sucesso",String(n?.message)),console.log("Seeder executado com sucesso:",n)):console.error('Resposta inv\xe1lida ou sem propriedade "message":',n)},n=>{console.error("Erro ao executar seeder:",n),alert(n.error&&n.error.message?n.error.message:"Erro desconhecido")}):alert("Por favor, selecione um seeder para executar.")}onSelectTab(t){var n=this;return(0,T.Z)(function*(){n.viewInit&&n.saveUsuarioConfig({active_tab:t.key})})()}loadData(t,n){var i=this;return(0,T.Z)(function*(){let l=Object.assign({},n.value);l.login=i.tiposLogin||[],n.patchValue(i.util.fillForm(l,t))})()}initializeData(t){var n=this;return(0,T.Z)(function*(){n.entity=yield n.dao.getById(n.urlParams.get("id"),n.join),yield n.loadData(n.entity,t)})()}saveData(t){var n=this;return(0,T.Z)(function*(){return new Promise((i,l)=>{const a=n.util.fill(new O,n.entity);i(n.util.fillForm(a,n.form.value))})})()}gerarCertificado(){var t=this;return(0,T.Z)(function*(){let n=yield t.dao.generateCertificateKeys();t.form.controls.modulo_sei_private_key.setValue(n.private_key),t.form.controls.modulo_sei_public_key.setValue(n.public_key)})()}copiarPublicKeyClipboard(){this.util.copyToClipboard(this.form.controls.modulo_sei_public_key.value)}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-form"]],viewQuery:function(n,i){if(1&n&&(e.Gf(V.Q,5),e.Gf(c.M,5),e.Gf(W.n,5)),2&n){let l;e.iGM(l=e.CRH())&&(i.editableForm=l.first),e.iGM(l=e.CRH())&&(i.grid=l.first),e.iGM(l=e.CRH())&&(i.tabs=l.first)}},features:[e.qOj],decls:70,vars:74,consts:[[3,"form","disabled","title","submit","cancel"],["right","",3,"title","select"],["key","PRINCIPAL","label","Principal"],["title","Entidade"],[1,"row"],["label","Edi\xe7\xe3o","controlName","edition",3,"size","items"],["label","SIGLA","controlName","id",3,"size","disabled"],["label","Nome","controlName","nome_entidade",3,"size"],["label","Abrang\xeancia","controlName","abrangencia",3,"size","items"],["label","Cod. IBGE","icon","bi bi-clock",3,"size","control"],["label","Dom\xednio","controlName","dominio_url",3,"size"],["title","Super Usu\xe1rio"],["label","Email","controlName","email",3,"size"],["label","Nome","controlName","nome_usuario",3,"size"],["label","CPF","controlName","cpf",3,"size"],["label","Apelido","controlName","apelido",3,"size"],["title","Notifica\xe7\xf5es","hidden","true"],["hidden","true",1,"row"],[1,"col-md-6"],["scale","small","labelPosition","right","label","Petrvs (Dentro do sistema)","controlName","notification_petrvs",3,"size"],["scale","small","labelPosition","right","label","E-mail","controlName","notification_mail",3,"size"],["scale","small","labelPosition","right","label","WhatsApp","controlName","notification_whatsapp",3,"size"],["title","WhatsApp"],["label","URL","controlName","notification_whatsapp_url",3,"size"],["label","Token","controlName","notification_whatsapp_token",3,"size"],["title","E-mail"],["label","Imagem assinatura","controlName","notification_mail_signature",3,"size"],["label","Host","controlName","notification_mail_host",3,"size"],["label","Porta","controlName","notification_mail_port",3,"size"],["label","Protocolo","controlName","notification_mail_encryption",3,"size","items"],["label","Usu\xe1rio","controlName","notification_mail_username",3,"size"],["password","","label","Senha","controlName","notification_mail_password",3,"size"],["key","LOGIN","label","Login"],["title","Google"],["label","Google Client ID","controlName","login_google_client_id",3,"size"],["label","Firebase Project ID","controlName","login_firebase_client_id",3,"size"],["scale","large","labelPosition","right","label","","controlName","login_google",3,"size"],["title","Microsoft"],["label","Azure Client ID","controlName","login_azure_client_id",3,"size"],["label","Azure Client Secret","controlName","login_azure_secret",3,"size"],["label","Azure Redirect URI","controlName","login_azure_redirect_uri",3,"size"],["scale","large","labelPosition","right","label","","controlName","login_azure",3,"size"],["title","Login GOVBr"],["label","Ambiente","controlName","login_login_unico_environment",3,"size","items"],["label","Code Verifier","controlName","login_login_unico_code_verifier",3,"size"],["label","Challenge Method","controlName","login_login_unico_code_challenge_method",3,"size"],["scale","large","labelPosition","right","label","","controlName","login_login_unico",3,"size"],["label","Client ID","controlName","login_login_unico_client_id",3,"size"],["label","Secret","controlName","login_login_unico_secret",3,"size"],["label","Redirect","disabled","true","controlName","login_login_unico_redirect",3,"size"],["key","INTEGRACAO","label","Integra\xe7\xe3o"],["label","Tipo da Integra\xe7\xe3o","controlName","tipo_integracao",3,"size","items"],["labelPosition","top","label","Auto-incluir","controlName","integracao_auto_incluir",3,"size"],["label","Codigo unidade raiz","controlName","integracao_cod_unidade_raiz",3,"size"],["class","row",4,"ngIf"],["title","Siape-WS","labeInfo","As informa\xe7\xf5es dessa tela s\xe3o referentes \xe0s inseridas no cadastro do SIAPE"],["label","URL","controlName","integracao_siape_url",3,"size"],["label","Upag","controlName","integracao_siape_upag",3,"size"],["label","Sigla do Sistema","controlName","integracao_siape_sigla",3,"size"],["label","Nome do Sistema","controlName","integracao_siape_nome",3,"size"],["label","CPF","controlName","integracao_siape_cpf",3,"size"],["label","Senha","controlName","integracao_siape_senha",3,"size"],["label","Codigo do \xd3rg\xe3o","controlName","integracao_siape_codorgao",3,"size"],["label","Codigo UORG","controlName","integracao_siape_uorg",3,"size"],["label","Existe Pagador","controlName","integracao_siape_existepag",3,"size","items"],["label","Tipo de V\xednculo","controlName","integracao_siape_tipovinculo",3,"size","items"],["label","Perfil Usu\xe1rio Comum","controlName","integracao_usuario_comum",3,"size"],["label","Perfil Usu\xe1rio Chefe","controlName","integracao_usuario_chefe",3,"size"],["title","Siape-PRF"],["label","URL","controlName","integracao_wso2_url",3,"size"],["label","URL Unidades","controlName","integracao_wso2_unidades",3,"size"],["label","URL Pessoas","controlName","integracao_wso2_pessoas",3,"size"],["label","Token URL","controlName","integracao_wso2_token_url",3,"size"],["label","Token AUTHORIZATION","controlName","integracao_wso2_token_authorization",3,"size"],["label","Token Acesso","controlName","integracao_wso2_token_acesso",3,"size"],["label","Token USER","controlName","integracao_wso2_token_user",3,"size"],["label","Token Password","controlName","integracao_wso2_token_password",3,"size"]],template:function(n,i){1&n&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return i.onSaveData()})("cancel",function(){return i.onCancel()}),e.TgZ(1,"tabs",1)(2,"tab",2),e._UZ(3,"separator",3),e.TgZ(4,"div",4),e._UZ(5,"input-select",5)(6,"input-text",6)(7,"input-text",7),e.qZA(),e.TgZ(8,"div",4),e._UZ(9,"input-select",8)(10,"input-number",9)(11,"input-text",10),e.qZA(),e._UZ(12,"separator",11),e.TgZ(13,"div",4),e._UZ(14,"input-text",12)(15,"input-text",13),e.qZA(),e.TgZ(16,"div",4),e._UZ(17,"input-text",14)(18,"input-text",15),e.qZA(),e._UZ(19,"separator",16),e.TgZ(20,"div",17)(21,"div",18)(22,"div",4),e._UZ(23,"input-switch",19)(24,"input-switch",20)(25,"input-switch",21),e.qZA(),e._UZ(26,"separator",22),e.TgZ(27,"div",4),e._UZ(28,"input-text",23),e.qZA(),e.TgZ(29,"div",4),e._UZ(30,"input-text",24),e.qZA()(),e.TgZ(31,"div",18),e._UZ(32,"separator",25),e.TgZ(33,"div",4),e._UZ(34,"input-text",26),e.qZA(),e.TgZ(35,"div",4),e._UZ(36,"input-text",27)(37,"input-number",28)(38,"input-select",29),e.qZA(),e.TgZ(39,"div",4),e._UZ(40,"input-text",30)(41,"input-text",31),e.qZA()()()(),e.TgZ(42,"tab",32),e._UZ(43,"separator",33),e.TgZ(44,"div",4),e._UZ(45,"input-text",34)(46,"input-text",35)(47,"input-switch",36),e.qZA(),e._UZ(48,"separator",37),e.TgZ(49,"div",4),e._UZ(50,"input-text",38)(51,"input-text",39)(52,"input-text",40)(53,"input-switch",41),e.qZA(),e._UZ(54,"separator",42),e.TgZ(55,"div",4),e._UZ(56,"input-select",43)(57,"input-text",44)(58,"input-text",45)(59,"input-switch",46)(60,"input-text",47)(61,"input-text",48)(62,"input-text",49),e.qZA()(),e.TgZ(63,"tab",50)(64,"div",4),e._UZ(65,"input-select",51)(66,"input-switch",52)(67,"input-text",53),e.qZA(),e.YNc(68,Se,18,24,"div",54),e.YNc(69,Oe,13,12,"div",54),e.qZA()()()),2&n&&(e.Q6J("form",i.form)("disabled",i.formDisabled)("title",i.isModal?"":i.title),e.xp6(1),e.Q6J("title",i.isModal?"":i.title)("select",i.onSelectTab.bind(i)),e.xp6(4),e.Q6J("size",3)("items",i.lookup.EDICOES),e.xp6(1),e.Q6J("size",3)("disabled","new"==i.action?void 0:"true"),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",3)("items",i.lookup.ABRANGENCIA),e.xp6(1),e.Q6J("size",3)("control",i.form.controls.codigo_cidade),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(3),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",15),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(5),e.Q6J("size",12),e.xp6(1),e.Q6J("size",12),e.xp6(1),e.Q6J("size",12),e.xp6(3),e.Q6J("size",12),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",12),e.xp6(4),e.Q6J("size",12),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(1),e.Q6J("size",4)("items",i.encryption),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.xp6(4),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(3),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(3),e.Q6J("size",4)("items",i.lookup.GOV_BR_ENV),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(1),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",10),e.uIk("maxlength",250),e.xp6(3),e.Q6J("size",4)("items",i.lookup.TIPO_INTEGRACAO),e.xp6(1),e.Q6J("size",2),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("ngIf","SIAPE"==(null==i.form?null:i.form.controls.tipo_integracao.value)),e.xp6(1),e.Q6J("ngIf","WSO2"==(null==i.form||null==i.form.controls||null==i.form.controls.tipo_integracao?null:i.form.controls.tipo_integracao.value)))},dependencies:[h.O5,V.Q,Te.a,te.m,Ie.p,W.n,ye.i,Ce.N,we.l]})}return o})(),ie=(()=>{class o extends S.B{constructor(t){super("Logs",t),this.injector=t,this.PREFIX_URL="config"}getAllLogs(t){return new Promise((n,i)=>{this.server.post("api/Logs/list",{tenant_id:t||""}).subscribe(l=>{l.error?i(l.error):(console.log(l.data),n(l.data))},l=>i(l))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();class Je extends A.X{constructor(s){super(),this.id="",this.tenant_id="",this.level="",this.message="",this.initialization(s)}}var Ze=d(8967);function Ae(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row,n=e.oxw();e.xp6(1),e.Oqu(n.dao.getDateFormatted(t.created_at))}}function Me(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.message)}}function ke(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.level)}}const Ee=function(){return["id"]};let ne=(()=>{class o extends J.E{constructor(t){super(t,Je,ie),this.injector=t,this.filterWhere=n=>{let i=this.fixedFilter||[],l=n.value;return l.tenant_id?.length&&i.push(["tenant_id","==",l.tenant_id]),i},this.tenantLogsDaoService=t.get(ie),this.tenantDao=t.get(y),this.title="Painel de Logs Petrvs",this.code="PANEL_LOGS",this.filter=this.fh.FormBuilder({tenant_id:{default:""}})}filterClear(t){t.controls.tenant_id.setValue(""),super.filterClear(t)}ngOnInit(){super.ngOnInit()}filterSubmit(t){return this.queryOptions}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-list-logs"]],features:[e.qOj],decls:15,vars:17,consts:[["title","Painel de entidades (SaaS)",3,"dao","query","orderBy"],[3,"deleted","form","where","submit","clear"],[1,"row"],["controlName","tenant_id","label","SIGLA do Tenant",3,"size","control","dao","fields"],["title","Criado em",3,"template"],["columnData",""],["title","Mensagem",3,"template"],["columnMensagem",""],["title","Tipo",3,"template"],["columnTipo",""],[3,"rows"]],template:function(n,i){if(1&n&&(e.TgZ(0,"grid",0)(1,"filter",1)(2,"div",2),e._UZ(3,"input-search",3),e.qZA()(),e.TgZ(4,"columns")(5,"column",4),e.YNc(6,Ae,2,1,"ng-template",null,5,e.W1O),e.qZA(),e.TgZ(8,"column",6),e.YNc(9,Me,2,1,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(11,"column",8),e.YNc(12,ke,2,1,"ng-template",null,9,e.W1O),e.qZA()(),e._UZ(14,"pagination",10),e.qZA()),2&n){const l=e.MAs(7),a=e.MAs(10),p=e.MAs(13);e.Q6J("dao",i.tenantLogsDaoService)("query",i.query)("orderBy",i.orderBy),e.xp6(1),e.Q6J("deleted",i.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",i.filter)("where",i.filterWhere)("submit",i.filterSubmit.bind(i))("clear",i.filterClear.bind(i)),e.xp6(2),e.Q6J("size",4)("control",i.filter.controls.tenant_id)("dao",i.tenantDao)("fields",e.DdM(16,Ee)),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("template",p),e.xp6(3),e.Q6J("rows",i.rowsLimit)}},dependencies:[c.M,M.a,k.b,z.z,E.Q,Ze.V]})}return o})();var Ne=d(8544),Fe=d(8032),g=d(2133);function Le(o,s){if(1&o&&(e.TgZ(0,"option",9),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function Qe(o,s){if(1&o&&(e.TgZ(0,"p",15),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.xp6(1),e.Oqu(t)}}function ze(o,s){if(1&o&&(e.TgZ(0,"div",10)(1,"div",11)(2,"div",12),e._uU(3,"Output"),e.qZA(),e.TgZ(4,"div",13),e.YNc(5,Qe,2,1,"p",14),e.qZA()()()),2&o){const t=e.oxw();e.xp6(5),e.Q6J("ngForOf",t.output)}}let Pe=(()=>{class o extends J.E{constructor(t){super(t,O,y),this.injector=t,this.seeders=[],this.selectedSeeder="",this.output=[],this.seederDao=t.get(X),this.title="Executar Seeder em todos os Tenants"}ngOnInit(){super.ngOnInit(),this.loadSeeders()}loadSeeders(){var t=this;return(0,T.Z)(function*(){t.tenant_id=t.metadata?.tenant_id||null,t.tenant_id&&(t.title="Executar Seeder no Tenant "+t.tenant_id);const n=yield t.seederDao.getAllSeeder();n&&(t.seeders=n)})()}onSeederChange(t){this.selectedSeeder=t.target.value}executeSeeder(t){this.selectedSeeder?this.seederDao.executeSeeder(this.selectedSeeder,this.tenant_id).then(n=>{n&&"object"==typeof n&&"message"in n?(this.dialog.alert("Sucesso",String(n?.message)),this.output=n?.output,console.log("Seeder executado com sucesso:",n)):console.error('Resposta inv\xe1lida ou sem propriedade "message":',n)},n=>{console.error("Erro ao executar seeder:",n),alert(n.error&&n.error.message?n.error.message:"Erro desconhecido")}):alert("Por favor, selecione um seeder para executar.")}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-seeder"]],features:[e.qOj],decls:9,vars:3,consts:[[1,"row"],[1,"col-md-8"],["label","Seeders"],["controlName","selectedSeeder",1,"form-control",3,"change"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-4"],["label","Op\xe7\xf5es"],["fullWidth","","label","Executar",3,"onClick"],["class","col-md-12",4,"ngIf"],[3,"value"],[1,"col-md-12"],[1,"card","text-bg-dark","mb-3","mt-4"],[1,"card-header"],[1,"card-body"],["class","card-text",4,"ngFor","ngForOf"],[1,"card-text"]],template:function(n,i){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"input-container",2)(3,"select",3),e.NdJ("change",function(a){return i.onSeederChange(a)}),e.YNc(4,Le,2,2,"option",4),e.qZA()()(),e.TgZ(5,"div",5)(6,"input-container",6),e._UZ(7,"action-button",7),e.qZA()(),e.YNc(8,ze,6,1,"div",8),e.qZA()),2&n&&(e.xp6(4),e.Q6J("ngForOf",i.seeders),e.xp6(3),e.Q6J("onClick",i.executeSeeder.bind(i)),e.xp6(1),e.Q6J("ngIf",i.output.length))},dependencies:[h.sg,h.O5,Ne.h,Fe.x,g.YN,g.Kr]})}return o})();class oe extends A.X{constructor(s){super(),this.nome="",this.classe="",this.tenant_id=0,this.minutos=0,this.horas=0,this.dias=0,this.semanas=0,this.meses=0,this.expressao_cron="",this.ativo=!0,this.initialization(s)}}var Ve=d(8877);function De(o,s){if(1&o&&(e.TgZ(0,"option",49),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("value",t.value),e.xp6(1),e.Oqu(t.text)}}function Ue(o,s){if(1&o&&(e.TgZ(0,"option",49),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("value",t.value),e.xp6(1),e.Oqu(t.text)}}function qe(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.nome)}}function Ge(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.classe)}}function Ye(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.minutos)}}function Be(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.horas)}}function He(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.dias)}}function Ke(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.semanas)}}function Re(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.meses)}}function je(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.expressao_cron.trim())}}function We(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"button",50),e.NdJ("click",function(){const l=e.CHM(t).row,a=e.oxw();return e.KtG(a.deleteJob(l.id))}),e._UZ(1,"i",51),e.qZA()}}let $e=(()=>{class o extends J.E{constructor(t){super(t,O,y),this.injector=t,this.jobs=[],this.newJob=new oe,this.showCronInput=!1,this.jobTypes=[],this.tenants=[],this.isRecurring=!1,this.scheduleTime="",this.expressionCron="",this.parameters={},this.isDisabled=!0,this.radioItems=[{key:!0,value:"Sim"},{key:!1,value:"N\xe3o"}],this.jobAgendadoDao=t.get(ee),this.tenantDaoService=t.get(y),this.title="Gerenciar Jobs agendados",this.formGroup=this.fb.group({ativo:[!0]}),this.updateCronExpression()}ngOnInit(){super.ngOnInit(),this.loadTenants(),this.LoadClassJobs(),this.loadJobs()}onInputChange(){this.validateMinutes(),this.validateHours(),this.validateDays(),this.validateMonths(),this.validateWeeks(),this.updateCronExpression()}validateMinutes(){null==this.newJob.minutos&&(this.newJob.minutos=0),this.newJob.minutos<0?this.newJob.minutos=0:this.newJob.minutos>59&&(this.newJob.minutos=59)}validateHours(){null==this.newJob.horas&&(this.newJob.horas=0),this.newJob.horas<0?this.newJob.horas=0:this.newJob.horas>23&&(this.newJob.horas=23)}validateDays(){null==this.newJob.dias&&(this.newJob.dias=0),this.newJob.dias<0?this.newJob.dias=0:this.newJob.dias>31&&(this.newJob.dias=31)}validateMonths(){null==this.newJob.meses&&(this.newJob.meses=0),this.newJob.meses<0?this.newJob.meses=0:this.newJob.meses>12&&(this.newJob.meses=12)}validateWeeks(){null==this.newJob.semanas&&(this.newJob.semanas=0),this.newJob.semanas<0?this.newJob.semanas=0:this.newJob.semanas>7&&(this.newJob.semanas=7)}toggleDisabled(){this.isDisabled=!this.isDisabled}loadTenants(){var t=this;return(0,T.Z)(function*(){try{yield t.tenantDaoService.query().asPromise().then(n=>{console.log(n),t.tenants=n.map(i=>({value:i.id,text:i.id}))})}catch(n){console.error("Erro ao carregar os tenants: ",n)}})()}LoadClassJobs(){var t=this;return(0,T.Z)(function*(){try{const n=yield t.jobAgendadoDao.getClassJobs();console.log(n),n&&(t.jobTypes=Object.keys(n.data).map(i=>({value:i,text:n.data[i]})))}catch(n){console.error("Erro ao carregar os tipos de jobs: ",n)}})()}loadJobs(){var t=this;return(0,T.Z)(function*(){t.tenant_id=t.metadata?.tenant_id||null,t.tenant_id&&(t.title="Gerenciar Jobs agendados do Tenant "+t.tenant_id),console.log(t.tenant_id);try{const n=yield t.jobAgendadoDao.getAllJobs(t.tenant_id);n&&(t.jobs=n.data)}catch(n){console.error("Erro ao carregar os jobs: ",n)}})()}createJob(){if(""!==this.newJob.nome)if(""!==this.newJob.classe)if(0!==this.newJob.tenant_id){if(this.newJob.ativo=this.formGroup.get("ativo")?.value,"string"==typeof this.newJob.parameters&&""===this.newJob.parameters.trim())this.newJob.parameters={};else if("string"==typeof this.newJob.parameters)try{this.newJob.parameters=JSON.parse(this.newJob.parameters)}catch(t){return console.error("Erro ao converter JSON:",t),void alert("JSON inv\xe1lido. Por favor, corrija os dados.")}else(!this.newJob.parameters||0===Object.keys(this.newJob.parameters).length)&&(this.newJob.parameters={});this.jobAgendadoDao.createJob(this.newJob,this.tenant_id).then(t=>{console.log("Job created:",t),this.loadJobs(),this.newJob=new oe,this.newJob.diario=!0,this.newJob.parameters="",this.updateCronExpression()}).catch(t=>{console.error("Error creating job:",t)})}else this.dialog.alert("alerta","A sele\xe7\xe3o do Tenant \xe9 obrigat\xf3rio.");else this.dialog.alert("alerta","A sele\xe7\xe3o do Job \xe9 obrigat\xf3rio.");else this.dialog.alert("alerta","O campo nome \xe9 obrigat\xf3rio.")}deleteJob(t){this.jobAgendadoDao.deleteJob(t).then(()=>{console.log("Job deleted successfully"),this.jobs=this.jobs.filter(n=>n.id!==t)}).catch(n=>{console.error("Error deleting job:",n)})}toggleCronInput(){this.showCronInput=!this.showCronInput,this.showCronInput?(this.newJob.diario=!1,this.newJob.horario=""):this.newJob.expressao_cron=""}updateCronExpression(){this.newJob.expressao_cron=`${0===this.newJob.minutos||null===this.newJob.minutos?"*":this.newJob.minutos} ${0===this.newJob.horas||null===this.newJob.horas?"*":this.newJob.horas} ${0===this.newJob.dias||null===this.newJob.dias?"*":this.newJob.dias} ${0===this.newJob.meses||null===this.newJob.meses?"*":this.newJob.meses} ${0===this.newJob.semanas||null===this.newJob.semanas?"*":this.newJob.semanas}`}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-job-agendados"]],features:[e.qOj],decls:102,vars:28,consts:[[1,"container"],[1,"row","mb-3"],[1,"col-4"],["for","nome"],[1,"text-danger"],["type","text","id","nome","required","true","maxlength","255",1,"form-control",3,"ngModel","ngModelChange"],["for","jobType"],["id","jobType",1,"form-control",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["for","server"],["id","server",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-12"],["for","action"],["type","text","id","action",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-2"],["for","minutos"],["type","number","id","minutos","min","0","max","59","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","horas"],["type","number","id","horas","min","0","max","23","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","dias"],["type","number","id","dias","min","1","max","31","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","meses"],["type","number","id","meses","min","1","max","12","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","semanas"],["type","number","id","semanas","min","0","max","7","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],[3,"items","controlName","form","label","value"],["for","cron"],["type","text","id","cron","placeholder","* * * * * *",1,"form-control",3,"disabled","ngModel","ngModelChange"],[1,"col-12","text-left"],[1,"btn","btn-info",3,"click"],[3,"items"],["title","Nome",3,"template"],["columnNome",""],["title","Job",3,"template"],["columnClasse",""],["title","Minutos",3,"template"],["columnMinutos",""],["title","Horas",3,"template"],["columnHoras",""],["title","Dias",3,"template"],["columnDias",""],["title","Semanas",3,"template"],["columnSemanas",""],["title","Meses",3,"template"],["columnMeses",""],["title","Express\xe3o Cron",3,"template"],["columnTipo",""],["title","A\xe7\xe3o",3,"template"],["columnAction",""],[3,"value"],[1,"btn","btn-danger",3,"click"],[1,"bi","bi-trash"]],template:function(n,i){if(1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"label",3),e._uU(4,"Nome "),e.TgZ(5,"span",4),e._uU(6,"*"),e.qZA()(),e.TgZ(7,"input",5),e.NdJ("ngModelChange",function(a){return i.newJob.nome=a}),e.qZA()(),e.TgZ(8,"div",2)(9,"label",6),e._uU(10,"Job: "),e.TgZ(11,"span",4),e._uU(12,"*"),e.qZA()(),e.TgZ(13,"select",7),e.NdJ("ngModelChange",function(a){return i.newJob.classe=a}),e.YNc(14,De,2,2,"option",8),e.qZA()(),e.TgZ(15,"div",2)(16,"label",9),e._uU(17,"Tenant "),e.TgZ(18,"span",4),e._uU(19,"*"),e.qZA()(),e.TgZ(20,"select",10),e.NdJ("ngModelChange",function(a){return i.newJob.tenant_id=a}),e.YNc(21,Ue,2,2,"option",8),e.qZA()()(),e.TgZ(22,"div",1)(23,"div",11)(24,"label",12),e._uU(25,"Parametros "),e.TgZ(26,"span",4),e._uU(27,"*"),e.qZA()(),e.TgZ(28,"input",13),e.NdJ("ngModelChange",function(a){return i.newJob.parameters=a}),e.qZA()()(),e.TgZ(29,"div",1)(30,"div",14)(31,"label",15),e._uU(32,"Minutos "),e.TgZ(33,"span",4),e._uU(34,"*"),e.qZA()(),e.TgZ(35,"input",16),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.minutos=a}),e.qZA()(),e.TgZ(36,"div",14)(37,"label",17),e._uU(38,"Horas "),e.TgZ(39,"span",4),e._uU(40,"*"),e.qZA()(),e.TgZ(41,"input",18),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.horas=a}),e.qZA()(),e.TgZ(42,"div",14)(43,"label",19),e._uU(44,"Dias "),e.TgZ(45,"span",4),e._uU(46,"*"),e.qZA()(),e.TgZ(47,"input",20),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.dias=a}),e.qZA()(),e.TgZ(48,"div",14)(49,"label",21),e._uU(50,"Meses "),e.TgZ(51,"span",4),e._uU(52,"*"),e.qZA()(),e.TgZ(53,"input",22),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.meses=a}),e.qZA()(),e.TgZ(54,"div",14)(55,"label",23),e._uU(56,"Semanas "),e.TgZ(57,"span",4),e._uU(58,"*"),e.qZA()(),e.TgZ(59,"input",24),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.semanas=a}),e.qZA()(),e.TgZ(60,"div",14),e._UZ(61,"input-radio",25),e.qZA()(),e.TgZ(62,"div",1)(63,"div",11)(64,"label",26),e._uU(65,"Cron "),e.TgZ(66,"span",4),e._uU(67,"*"),e.qZA()(),e.TgZ(68,"input",27),e.NdJ("ngModelChange",function(a){return i.newJob.expressao_cron=a}),e.qZA()()(),e.TgZ(69,"div",1)(70,"div",28)(71,"button",29),e.NdJ("click",function(){return i.createJob()}),e._uU(72,"Adicionar"),e.qZA()()()(),e.TgZ(73,"grid",30)(74,"columns")(75,"column",31),e.YNc(76,qe,2,1,"ng-template",null,32,e.W1O),e.qZA(),e.TgZ(78,"column",33),e.YNc(79,Ge,2,1,"ng-template",null,34,e.W1O),e.qZA(),e.TgZ(81,"column",35),e.YNc(82,Ye,2,1,"ng-template",null,36,e.W1O),e.qZA(),e.TgZ(84,"column",37),e.YNc(85,Be,2,1,"ng-template",null,38,e.W1O),e.qZA(),e.TgZ(87,"column",39),e.YNc(88,He,2,1,"ng-template",null,40,e.W1O),e.qZA(),e.TgZ(90,"column",41),e.YNc(91,Ke,2,1,"ng-template",null,42,e.W1O),e.qZA(),e.TgZ(93,"column",43),e.YNc(94,Re,2,1,"ng-template",null,44,e.W1O),e.qZA(),e.TgZ(96,"column",45),e.YNc(97,je,2,1,"ng-template",null,46,e.W1O),e.qZA(),e.TgZ(99,"column",47),e.YNc(100,We,2,0,"ng-template",null,48,e.W1O),e.qZA()()()),2&n){const l=e.MAs(77),a=e.MAs(80),p=e.MAs(83),f=e.MAs(86),w=e.MAs(89),F=e.MAs(92),G=e.MAs(95),Wi=e.MAs(98),$i=e.MAs(101);e.xp6(7),e.Q6J("ngModel",i.newJob.nome),e.xp6(6),e.Q6J("ngModel",i.newJob.classe),e.xp6(1),e.Q6J("ngForOf",i.jobTypes),e.xp6(6),e.Q6J("ngModel",i.newJob.tenant_id),e.xp6(1),e.Q6J("ngForOf",i.tenants),e.xp6(7),e.Q6J("ngModel",i.newJob.parameters),e.xp6(7),e.Q6J("ngModel",i.newJob.minutos),e.xp6(6),e.Q6J("ngModel",i.newJob.horas),e.xp6(6),e.Q6J("ngModel",i.newJob.dias),e.xp6(6),e.Q6J("ngModel",i.newJob.meses),e.xp6(6),e.Q6J("ngModel",i.newJob.semanas),e.xp6(2),e.Q6J("items",i.radioItems)("controlName","ativo")("form",i.formGroup)("label","Ativo")("value",i.newJob.ativo),e.xp6(7),e.Q6J("disabled",i.isDisabled)("ngModel",i.newJob.expressao_cron),e.xp6(5),e.Q6J("items",i.jobs),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("template",p),e.xp6(3),e.Q6J("template",f),e.xp6(3),e.Q6J("template",w),e.xp6(3),e.Q6J("template",F),e.xp6(3),e.Q6J("template",G),e.xp6(3),e.Q6J("template",Wi),e.xp6(3),e.Q6J("template",$i)}},dependencies:[h.sg,c.M,M.a,k.b,Ve.f,g.YN,g.Kr,g.Fj,g.wV,g.EJ,g.JJ,g.Q7,g.nD,g.qQ,g.Fd,g.On]})}return o})();var Xe=d(929);const et=function(){return["/panel/tenants"]},tt=function(){return["/panel/admins"]};let it=(()=>{class o extends Xe._{constructor(t,n){super(t),this.injector=t,this.authService=n,this.setTitleUser()}ngOnInit(){}setTitleUser(){this.authService.detailUser().then(t=>{this.title="Bem vindo "+t.nome+" - Voce est\xe1 em Ambiente "+this.gb.ENV})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3),e.Y36(Q.r))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-layout"]],features:[e.qOj],decls:18,vars:5,consts:[[1,"navbar","navbar-dark","bg-dark","fixed-top"],[1,"container-fluid"],["href","#",1,"navbar-brand"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Abrir navega\xe7\xe3o",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarNav",1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["data-bs-toggle","collapse","data-bs-target","#navbarNav",1,"nav-link",3,"routerLink"],[1,"my-2"]],template:function(n,i){1&n&&(e.TgZ(0,"nav",0)(1,"div",1)(2,"a",2),e._uU(3,"Painel SasS - Petrvs"),e.qZA(),e.TgZ(4,"button",3),e._UZ(5,"span",4),e.qZA(),e.TgZ(6,"div",5)(7,"ul",6)(8,"li",7)(9,"a",8),e._uU(10,"Tenants"),e.qZA()(),e.TgZ(11,"li",7)(12,"a",8),e._uU(13,"Usu\xe1rios do painel"),e.qZA()()()()()(),e.TgZ(14,"h4",9),e._uU(15),e.qZA(),e._UZ(16,"hr")(17,"router-outlet")),2&n&&(e.xp6(9),e.Q6J("routerLink",e.DdM(3,et)),e.xp6(3),e.Q6J("routerLink",e.DdM(4,tt)),e.xp6(3),e.Oqu(i.title))},dependencies:[Z.lC,Z.rH]})}return o})();class D extends A.X{constructor(s){super(),this.email="",this.nome="",this.cpf="",this.nivel=1,this.password="",this.initialization(s)}}let U=(()=>{class o extends S.B{constructor(t){super("UserPanel",t),this.injector=t}getAllAdmins(){return new Promise((t,n)=>{this.server.get("api/"+this.collection+"/getAllAdmins").subscribe(i=>{t(i?.data||[])},i=>n(i))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function nt(o,s){1&o&&e._UZ(0,"toolbar")}function ot(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.nome)}}function lt(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.email)}}let st=(()=>{class o extends J.E{constructor(t){super(t,D,U),this.injector=t,this.admins=[],this.usersPanelDao=t.get(U),this.join=["tenants"]}ngOnInit(){super.ngOnInit()}dynamicOptions(t){return[]}dynamicButtons(t){let n=[];return n.push({label:"Apagar dados",icon:"bi bi-database-dash",color:"danger",onClick:this.delete}),n}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-admins-list"]],viewQuery:function(n,i){if(1&n&&e.Gf(c.M,5),2&n){let l;e.iGM(l=e.CRH())&&(i.grid=l.first)}},features:[e.qOj],decls:11,vars:15,consts:[[3,"dao","add","orderBy","groupBy","join","selectable","hasAdd","hasEdit","select"],[4,"ngIf"],["title","Nome",3,"template"],["columnNome",""],["title","E-mail",3,"template"],["columnEmail",""],["type","options",3,"onEdit","options","dynamicButtons"],[3,"rows"]],template:function(n,i){if(1&n&&(e.TgZ(0,"grid",0),e.NdJ("select",function(a){return i.onSelect(a)}),e.YNc(1,nt,1,0,"toolbar",1),e.TgZ(2,"columns")(3,"column",2),e.YNc(4,ot,2,1,"ng-template",null,3,e.W1O),e.qZA(),e.TgZ(6,"column",4),e.YNc(7,lt,2,1,"ng-template",null,5,e.W1O),e.qZA(),e._UZ(9,"column",6),e.qZA(),e._UZ(10,"pagination",7),e.qZA()),2&n){const l=e.MAs(5),a=e.MAs(8);e.Q6J("dao",i.usersPanelDao)("add",i.add)("orderBy",i.orderBy)("groupBy",i.groupBy)("join",i.join)("selectable",i.selectable)("hasAdd",!0)("hasEdit",!0),e.xp6(1),e.Q6J("ngIf",!i.selectable),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("onEdit",i.edit)("options",i.options)("dynamicButtons",i.dynamicButtons.bind(i)),e.xp6(1),e.Q6J("rows",i.rowsLimit)}},dependencies:[h.O5,c.M,M.a,k.b,P.n,E.Q]})}return o})();var I=d(9838),m=d(2815),H=d(979),K=d(3148),R=d(8206),le=d(7799),_=d(8393),q=d(9705),se=d(5785),at=d(5315);let ae=(()=>{class o extends at.s{pathId;ngOnInit(){this.pathId="url(#"+(0,_.Th)()+")"}static \u0275fac=function(){let t;return function(i){return(t||(t=e.n5z(o)))(i||o)}}();static \u0275cmp=e.Xpm({type:o,selectors:[["TimesCircleIcon"]],standalone:!0,features:[e.qOj,e.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(i.getClassNames()),e.uIk("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),e.xp6(1),e.uIk("clip-path",i.pathId),e.xp6(3),e.Q6J("id",i.pathId))},encapsulation:2})}return o})();var re=d(6929),ce=d(2285);function rt(o,s){1&o&&e._UZ(0,"CheckIcon",7),2&o&&(e.Q6J("styleClass","p-checkbox-icon"),e.uIk("aria-hidden",!0))}function ct(o,s){}function dt(o,s){1&o&&e.YNc(0,ct,0,0,"ng-template")}function ut(o,s){if(1&o&&(e.TgZ(0,"span",8),e.YNc(1,dt,1,0,null,9),e.qZA()),2&o){const t=e.oxw(2);e.uIk("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.checkIconTemplate)}}function pt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,rt,1,2,"CheckIcon",5),e.YNc(2,ut,2,2,"span",6),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.checkIconTemplate),e.xp6(1),e.Q6J("ngIf",t.checkIconTemplate)}}function _t(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw();let n;e.xp6(1),e.Oqu(null!==(n=t.label)&&void 0!==n?n:"empty")}}function ht(o,s){1&o&&e.GkF(0)}const N=function(o){return{height:o}},mt=function(o,s,t){return{"p-multiselect-item":!0,"p-highlight":o,"p-disabled":s,"p-focus":t}},gt=function(o){return{"p-highlight":o}},j=function(o){return{$implicit:o}},ft=["container"],bt=["overlay"],xt=["filterInput"],vt=["focusInput"],Tt=["items"],It=["scroller"],yt=["lastHiddenFocusableEl"],Ct=["firstHiddenFocusableEl"],wt=["headerCheckbox"];function St(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(2);e.xp6(1),e.Oqu(t.label()||"empty")}}function Ot(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"TimesCircleIcon",20),e.NdJ("click",function(){e.CHM(t);const i=e.oxw(2).$implicit,l=e.oxw(3);return e.KtG(l.removeOption(i,l.event))}),e.qZA()}2&o&&(e.Q6J("styleClass","p-multiselect-token-icon"),e.uIk("data-pc-section","clearicon")("aria-hidden",!0))}function Jt(o,s){1&o&&e.GkF(0)}function Zt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"span",21),e.NdJ("click",function(){e.CHM(t);const i=e.oxw(2).$implicit,l=e.oxw(3);return e.KtG(l.removeOption(i,l.event))}),e.YNc(1,Jt,1,0,"ng-container",22),e.qZA()}if(2&o){const t=e.oxw(5);e.uIk("data-pc-section","clearicon")("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.removeTokenIconTemplate)}}function At(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Ot,1,3,"TimesCircleIcon",18),e.YNc(2,Zt,2,3,"span",19),e.BQk()),2&o){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!t.removeTokenIconTemplate),e.xp6(1),e.Q6J("ngIf",t.removeTokenIconTemplate)}}function Mt(o,s){if(1&o&&(e.TgZ(0,"div",15,16)(2,"span",17),e._uU(3),e.qZA(),e.YNc(4,At,3,2,"ng-container",7),e.qZA()),2&o){const t=s.$implicit,n=e.oxw(3);e.xp6(3),e.Oqu(n.getLabelByValue(t)),e.xp6(1),e.Q6J("ngIf",!n.disabled)}}function kt(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(3);e.xp6(1),e.Oqu(t.placeholder||t.defaultLabel||"empty")}}function Et(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Mt,5,2,"div",14),e.YNc(2,kt,2,1,"ng-container",7),e.BQk()),2&o){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.chipSelectedItems()),e.xp6(1),e.Q6J("ngIf",!t.modelValue()||0===t.modelValue().length)}}function Nt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,St,2,1,"ng-container",7),e.YNc(2,Et,3,2,"ng-container",7),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf","comma"===t.display),e.xp6(1),e.Q6J("ngIf","chip"===t.display)}}function Ft(o,s){1&o&&e.GkF(0)}function Lt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"TimesIcon",20),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(2);return e.KtG(l.clear(i))}),e.qZA()}2&o&&(e.Q6J("styleClass","p-multiselect-clear-icon"),e.uIk("data-pc-section","clearicon")("aria-hidden",!0))}function Qt(o,s){}function zt(o,s){1&o&&e.YNc(0,Qt,0,0,"ng-template")}function Pt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"span",24),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(2);return e.KtG(l.clear(i))}),e.YNc(1,zt,1,0,null,22),e.qZA()}if(2&o){const t=e.oxw(2);e.uIk("data-pc-section","clearicon")("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.clearIconTemplate)}}function Vt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Lt,1,3,"TimesIcon",18),e.YNc(2,Pt,2,3,"span",23),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.clearIconTemplate),e.xp6(1),e.Q6J("ngIf",t.clearIconTemplate)}}function Dt(o,s){if(1&o&&e._UZ(0,"span",27),2&o){const t=e.oxw(2);e.Q6J("ngClass",t.dropdownIcon),e.uIk("data-pc-section","triggericon")("aria-hidden",!0)}}function Ut(o,s){1&o&&e._UZ(0,"ChevronDownIcon",28),2&o&&(e.Q6J("styleClass","p-multiselect-trigger-icon"),e.uIk("data-pc-section","triggericon")("aria-hidden",!0))}function qt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Dt,1,3,"span",25),e.YNc(2,Ut,1,3,"ChevronDownIcon",26),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.dropdownIcon),e.xp6(1),e.Q6J("ngIf",!t.dropdownIcon)}}function Gt(o,s){}function Yt(o,s){1&o&&e.YNc(0,Gt,0,0,"ng-template")}function Bt(o,s){if(1&o&&(e.TgZ(0,"span",29),e.YNc(1,Yt,1,0,null,22),e.qZA()),2&o){const t=e.oxw();e.uIk("data-pc-section","triggericon")("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.dropdownIconTemplate)}}function Ht(o,s){1&o&&e.GkF(0)}function Kt(o,s){1&o&&e.GkF(0)}const de=function(o){return{options:o}};function Rt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Kt,1,0,"ng-container",8),e.BQk()),2&o){const t=e.oxw(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t.filterTemplate)("ngTemplateOutletContext",e.VKq(2,de,t.filterOptions))}}function jt(o,s){1&o&&e._UZ(0,"CheckIcon",28),2&o&&(e.Q6J("styleClass","p-checkbox-icon"),e.uIk("aria-hidden",!0))}function Wt(o,s){}function $t(o,s){1&o&&e.YNc(0,Wt,0,0,"ng-template")}function Xt(o,s){if(1&o&&(e.TgZ(0,"span",51),e.YNc(1,$t,1,0,null,8),e.qZA()),2&o){const t=e.oxw(6);e.uIk("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.checkIconTemplate)("ngTemplateOutletContext",e.VKq(3,j,t.allSelected()))}}function ei(o,s){if(1&o&&(e.ynx(0),e.YNc(1,jt,1,2,"CheckIcon",26),e.YNc(2,Xt,2,5,"span",50),e.BQk()),2&o){const t=e.oxw(5);e.xp6(1),e.Q6J("ngIf",!t.checkIconTemplate),e.xp6(1),e.Q6J("ngIf",t.checkIconTemplate)}}const ti=function(o){return{"p-checkbox-disabled":o}},ii=function(o,s,t){return{"p-highlight":o,"p-focus":s,"p-disabled":t}};function ni(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",46),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onToggleAll(i))})("keydown",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onHeaderCheckboxKeyDown(i))}),e.TgZ(1,"div",2)(2,"input",47,48),e.NdJ("focus",function(){e.CHM(t);const i=e.oxw(4);return e.KtG(i.onHeaderCheckboxFocus())})("blur",function(){e.CHM(t);const i=e.oxw(4);return e.KtG(i.onHeaderCheckboxBlur())}),e.qZA()(),e.TgZ(4,"div",49),e.YNc(5,ei,3,2,"ng-container",7),e.qZA()()}if(2&o){const t=e.oxw(4);e.Q6J("ngClass",e.VKq(9,ti,t.disabled||t.toggleAllDisabled)),e.xp6(1),e.uIk("data-p-hidden-accessible",!0),e.xp6(1),e.Q6J("readonly",t.readonly)("disabled",t.disabled||t.toggleAllDisabled),e.uIk("checked",t.allSelected())("aria-label",t.toggleAllAriaLabel),e.xp6(2),e.Q6J("ngClass",e.kEZ(11,ii,t.allSelected(),t.headerCheckboxFocus,t.disabled||t.toggleAllDisabled)),e.uIk("aria-checked",t.allSelected()),e.xp6(1),e.Q6J("ngIf",t.allSelected())}}function oi(o,s){1&o&&e._UZ(0,"SearchIcon",28),2&o&&e.Q6J("styleClass","p-multiselect-filter-icon")}function li(o,s){}function si(o,s){1&o&&e.YNc(0,li,0,0,"ng-template")}function ai(o,s){if(1&o&&(e.TgZ(0,"span",56),e.YNc(1,si,1,0,null,22),e.qZA()),2&o){const t=e.oxw(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t.filterIconTemplate)}}function ri(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",52)(1,"input",53,54),e.NdJ("input",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onFilterInputChange(i))})("keydown",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onFilterKeyDown(i))})("click",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onInputClick(i))})("blur",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onFilterBlur(i))}),e.qZA(),e.YNc(3,oi,1,1,"SearchIcon",26),e.YNc(4,ai,2,1,"span",55),e.qZA()}if(2&o){const t=e.oxw(4);e.xp6(1),e.Q6J("value",t._filterValue()||"")("disabled",t.disabled),e.uIk("autocomplete",t.autocomplete)("placeholder",t.filterPlaceHolder)("aria-owns",t.id+"_list")("aria-activedescendant",t.focusedOptionId)("placeholder",t.filterPlaceHolder)("aria-label",t.ariaFilterLabel),e.xp6(2),e.Q6J("ngIf",!t.filterIconTemplate),e.xp6(1),e.Q6J("ngIf",t.filterIconTemplate)}}function ci(o,s){1&o&&e._UZ(0,"TimesIcon",28),2&o&&e.Q6J("styleClass","p-multiselect-close-icon")}function di(o,s){}function ui(o,s){1&o&&e.YNc(0,di,0,0,"ng-template")}function pi(o,s){if(1&o&&(e.TgZ(0,"span",57),e.YNc(1,ui,1,0,null,22),e.qZA()),2&o){const t=e.oxw(4);e.xp6(1),e.Q6J("ngTemplateOutlet",t.closeIconTemplate)}}function _i(o,s){if(1&o){const t=e.EpF();e.YNc(0,ni,6,15,"div",42),e.YNc(1,ri,5,10,"div",43),e.TgZ(2,"button",44),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(3);return e.KtG(l.close(i))}),e.YNc(3,ci,1,1,"TimesIcon",26),e.YNc(4,pi,2,1,"span",45),e.qZA()}if(2&o){const t=e.oxw(3);e.Q6J("ngIf",t.showToggleAll&&!t.selectionLimit),e.xp6(1),e.Q6J("ngIf",t.filter),e.xp6(2),e.Q6J("ngIf",!t.closeIconTemplate),e.xp6(1),e.Q6J("ngIf",t.closeIconTemplate)}}function hi(o,s){if(1&o&&(e.TgZ(0,"div",39),e.Hsn(1),e.YNc(2,Ht,1,0,"ng-container",22),e.YNc(3,Rt,2,4,"ng-container",40),e.YNc(4,_i,5,4,"ng-template",null,41,e.W1O),e.qZA()),2&o){const t=e.MAs(5),n=e.oxw(2);e.xp6(2),e.Q6J("ngTemplateOutlet",n.headerTemplate),e.xp6(1),e.Q6J("ngIf",n.filterTemplate)("ngIfElse",t)}}function mi(o,s){1&o&&e.GkF(0)}const ue=function(o,s){return{$implicit:o,options:s}};function gi(o,s){if(1&o&&e.YNc(0,mi,1,0,"ng-container",8),2&o){const t=s.$implicit,n=s.options;e.oxw(2);const i=e.MAs(8);e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.WLB(2,ue,t,n))}}function fi(o,s){1&o&&e.GkF(0)}function bi(o,s){if(1&o&&e.YNc(0,fi,1,0,"ng-container",8),2&o){const t=s.options,n=e.oxw(4);e.Q6J("ngTemplateOutlet",n.loaderTemplate)("ngTemplateOutletContext",e.VKq(2,de,t))}}function xi(o,s){1&o&&(e.ynx(0),e.YNc(1,bi,1,4,"ng-template",60),e.BQk())}function vi(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"p-scroller",58,59),e.NdJ("onLazyLoad",function(i){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onLazyLoad.emit(i))}),e.YNc(2,gi,1,5,"ng-template",13),e.YNc(3,xi,2,0,"ng-container",7),e.qZA()}if(2&o){const t=e.oxw(2);e.Akn(e.VKq(9,N,t.scrollHeight)),e.Q6J("items",t.visibleOptions())("itemSize",t.virtualScrollItemSize||t._itemSize)("autoSize",!0)("tabindex",-1)("lazy",t.lazy)("options",t.virtualScrollOptions),e.xp6(3),e.Q6J("ngIf",t.loaderTemplate)}}function Ti(o,s){1&o&&e.GkF(0)}const Ii=function(){return{}};function yi(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Ti,1,0,"ng-container",8),e.BQk()),2&o){e.oxw();const t=e.MAs(8),n=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",e.WLB(3,ue,n.visibleOptions(),e.DdM(2,Ii)))}}function Ci(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw(2).$implicit,n=e.oxw(3);e.xp6(1),e.Oqu(n.getOptionGroupLabel(t.optionGroup))}}function wi(o,s){1&o&&e.GkF(0)}function Si(o,s){if(1&o&&(e.ynx(0),e.TgZ(1,"li",65),e.YNc(2,Ci,2,1,"span",7),e.YNc(3,wi,1,0,"ng-container",8),e.qZA(),e.BQk()),2&o){const t=e.oxw(),n=t.index,i=t.$implicit,l=e.oxw().options,a=e.oxw(2);e.xp6(1),e.Q6J("ngStyle",e.VKq(5,N,l.itemSize+"px")),e.uIk("id",a.id+"_"+a.getOptionIndex(n,l)),e.xp6(1),e.Q6J("ngIf",!a.groupTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",a.groupTemplate)("ngTemplateOutletContext",e.VKq(7,j,i.optionGroup))}}function Oi(o,s){if(1&o){const t=e.EpF();e.ynx(0),e.TgZ(1,"p-multiSelectItem",66),e.NdJ("onClick",function(i){e.CHM(t);const l=e.oxw().index,a=e.oxw().options,p=e.oxw(2);return e.KtG(p.onOptionSelect(i,!1,p.getOptionIndex(l,a)))})("onMouseEnter",function(i){e.CHM(t);const l=e.oxw().index,a=e.oxw().options,p=e.oxw(2);return e.KtG(p.onOptionMouseEnter(i,p.getOptionIndex(l,a)))}),e.qZA(),e.BQk()}if(2&o){const t=e.oxw(),n=t.index,i=t.$implicit,l=e.oxw().options,a=e.oxw(2);e.xp6(1),e.Q6J("id",a.id+"_"+a.getOptionIndex(n,l))("option",i)("selected",a.isSelected(i))("label",a.getOptionLabel(i))("disabled",a.isOptionDisabled(i))("template",a.itemTemplate)("checkIconTemplate",a.checkIconTemplate)("itemSize",l.itemSize)("focused",a.focusedOptionIndex()===a.getOptionIndex(n,l))("ariaPosInset",a.getAriaPosInset(a.getOptionIndex(n,l)))("ariaSetSize",a.ariaSetSize)}}function Ji(o,s){if(1&o&&(e.YNc(0,Si,4,9,"ng-container",7),e.YNc(1,Oi,2,11,"ng-container",7)),2&o){const t=s.$implicit,n=e.oxw(3);e.Q6J("ngIf",n.isOptionGroup(t)),e.xp6(1),e.Q6J("ngIf",!n.isOptionGroup(t))}}function Zi(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.emptyFilterMessageLabel," ")}}function Ai(o,s){1&o&&e.GkF(0,null,68)}function Mi(o,s){if(1&o&&(e.TgZ(0,"li",67),e.YNc(1,Zi,2,1,"ng-container",40),e.YNc(2,Ai,2,0,"ng-container",22),e.qZA()),2&o){const t=e.oxw().options,n=e.oxw(2);e.Q6J("ngStyle",e.VKq(4,N,t.itemSize+"px")),e.xp6(1),e.Q6J("ngIf",!n.emptyFilterTemplate&&!n.emptyTemplate)("ngIfElse",n.emptyFilter),e.xp6(1),e.Q6J("ngTemplateOutlet",n.emptyFilterTemplate||n.emptyTemplate)}}function ki(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.emptyMessageLabel," ")}}function Ei(o,s){1&o&&e.GkF(0,null,69)}function Ni(o,s){if(1&o&&(e.TgZ(0,"li",67),e.YNc(1,ki,2,1,"ng-container",40),e.YNc(2,Ei,2,0,"ng-container",22),e.qZA()),2&o){const t=e.oxw().options,n=e.oxw(2);e.Q6J("ngStyle",e.VKq(4,N,t.itemSize+"px")),e.xp6(1),e.Q6J("ngIf",!n.emptyTemplate)("ngIfElse",n.empty),e.xp6(1),e.Q6J("ngTemplateOutlet",n.emptyTemplate)}}function Fi(o,s){if(1&o&&(e.TgZ(0,"ul",61,62),e.YNc(2,Ji,2,2,"ng-template",63),e.YNc(3,Mi,3,6,"li",64),e.YNc(4,Ni,3,6,"li",64),e.qZA()),2&o){const t=s.$implicit,n=s.options,i=e.oxw(2);e.Akn(n.contentStyle),e.Q6J("ngClass",n.contentStyleClass),e.xp6(2),e.Q6J("ngForOf",t),e.xp6(1),e.Q6J("ngIf",i.hasFilter()&&i.isEmpty()),e.xp6(1),e.Q6J("ngIf",!i.hasFilter()&&i.isEmpty())}}function Li(o,s){1&o&&e.GkF(0)}function Qi(o,s){if(1&o&&(e.TgZ(0,"div",70),e.Hsn(1,1),e.YNc(2,Li,1,0,"ng-container",22),e.qZA()),2&o){const t=e.oxw(2);e.xp6(2),e.Q6J("ngTemplateOutlet",t.footerTemplate)}}function zi(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",30)(1,"span",31,32),e.NdJ("focus",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFirstHiddenFocus(i))}),e.qZA(),e.YNc(3,hi,6,3,"div",33),e.TgZ(4,"div",34),e.YNc(5,vi,4,11,"p-scroller",35),e.YNc(6,yi,2,6,"ng-container",7),e.YNc(7,Fi,5,6,"ng-template",null,36,e.W1O),e.qZA(),e.YNc(9,Qi,3,1,"div",37),e.TgZ(10,"span",31,38),e.NdJ("focus",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onLastHiddenFocus(i))}),e.qZA()()}if(2&o){const t=e.oxw();e.Tol(t.panelStyleClass),e.Q6J("ngClass","p-multiselect-panel p-component")("ngStyle",t.panelStyle),e.xp6(1),e.uIk("aria-hidden","true")("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),e.xp6(2),e.Q6J("ngIf",t.showHeader),e.xp6(1),e.Udp("max-height",t.virtualScroll?"auto":t.scrollHeight||"auto"),e.xp6(1),e.Q6J("ngIf",t.virtualScroll),e.xp6(1),e.Q6J("ngIf",!t.virtualScroll),e.xp6(3),e.Q6J("ngIf",t.footerFacet||t.footerTemplate),e.xp6(1),e.uIk("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Pi=[[["p-header"]],[["p-footer"]]],Vi=function(o,s){return{$implicit:o,removeChip:s}},Di=["p-header","p-footer"],Ui={provide:g.JU,useExisting:(0,e.Gpc)(()=>pe),multi:!0};let qi=(()=>{class o{id;option;selected;label;disabled;itemSize;focused;ariaPosInset;ariaSetSize;template;checkIconTemplate;onClick=new e.vpe;onMouseEnter=new e.vpe;onOptionClick(t){this.onClick.emit({originalEvent:t,option:this.option,selected:this.selected})}onOptionMouseEnter(t){this.onMouseEnter.emit({originalEvent:t,option:this.option,selected:this.selected})}static \u0275fac=function(n){return new(n||o)};static \u0275cmp=e.Xpm({type:o,selectors:[["p-multiSelectItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:"selected",label:"label",disabled:"disabled",itemSize:"itemSize",focused:"focused",ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template",checkIconTemplate:"checkIconTemplate"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},decls:6,vars:26,consts:[["pRipple","",1,"p-multiselect-item",3,"ngStyle","ngClass","id","click","mouseenter"],[1,"p-checkbox","p-component"],[1,"p-checkbox-box",3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"]],template:function(n,i){1&n&&(e.TgZ(0,"li",0),e.NdJ("click",function(a){return i.onOptionClick(a)})("mouseenter",function(a){return i.onOptionMouseEnter(a)}),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,pt,3,2,"ng-container",3),e.qZA()(),e.YNc(4,_t,2,1,"span",3),e.YNc(5,ht,1,0,"ng-container",4),e.qZA()),2&n&&(e.Q6J("ngStyle",e.VKq(16,N,i.itemSize+"px"))("ngClass",e.kEZ(18,mt,i.selected,i.disabled,i.focused))("id",i.id),e.uIk("aria-label",i.label)("aria-setsize",i.ariaSetSize)("aria-posinset",i.ariaPosInset)("aria-selected",i.selected)("data-p-focused",i.focused)("data-p-highlight",i.selected)("data-p-disabled",i.disabled),e.xp6(2),e.Q6J("ngClass",e.VKq(22,gt,i.selected)),e.uIk("aria-checked",i.selected),e.xp6(1),e.Q6J("ngIf",i.selected),e.xp6(1),e.Q6J("ngIf",!i.template),e.xp6(1),e.Q6J("ngTemplateOutlet",i.template)("ngTemplateOutletContext",e.VKq(24,j,i.option)))},dependencies:function(){return[h.mk,h.O5,h.tP,h.PC,K.H,q.n]},encapsulation:2})}return o})(),pe=(()=>{class o{el;renderer;cd;zone;filterService;config;overlayService;id;ariaLabel;style;styleClass;panelStyle;panelStyleClass;inputId;disabled;readonly;group;filter=!0;filterPlaceHolder;filterLocale;overlayVisible;tabindex=0;appendTo;dataKey;name;ariaLabelledBy;set displaySelectedLabel(t){this._displaySelectedLabel=t}get displaySelectedLabel(){return this._displaySelectedLabel}set maxSelectedLabels(t){this._maxSelectedLabels=t}get maxSelectedLabels(){return this._maxSelectedLabels}selectionLimit;selectedItemsLabel="{0} items selected";showToggleAll=!0;emptyFilterMessage="";emptyMessage="";resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";showHeader=!0;filterBy;scrollHeight="200px";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;filterMatchMode="contains";tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;autofocusFilter=!0;display="comma";autocomplete="off";showClear=!1;get autoZIndex(){return this._autoZIndex}set autoZIndex(t){this._autoZIndex=t,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get baseZIndex(){return this._baseZIndex}set baseZIndex(t){this._baseZIndex=t,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(t){this._showTransitionOptions=t,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(t){this._hideTransitionOptions=t,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}set defaultLabel(t){this._defaultLabel=t,console.warn("defaultLabel property is deprecated since 16.6.0, use placeholder instead")}get defaultLabel(){return this._defaultLabel}set placeholder(t){this._placeholder=t}get placeholder(){return this._placeholder}get options(){return this._options()}set options(t){this._options.set(t)}get filterValue(){return this._filterValue()}set filterValue(t){this._filterValue.set(t)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get selectAll(){return this._selectAll}set selectAll(t){this._selectAll=t}focusOnHover=!1;filterFields;selectOnFocus=!1;autoOptionFocus=!0;onChange=new e.vpe;onFilter=new e.vpe;onFocus=new e.vpe;onBlur=new e.vpe;onClick=new e.vpe;onClear=new e.vpe;onPanelShow=new e.vpe;onPanelHide=new e.vpe;onLazyLoad=new e.vpe;onRemove=new e.vpe;onSelectAllChange=new e.vpe;containerViewChild;overlayViewChild;filterInputChild;focusInputViewChild;itemsViewChild;scroller;lastHiddenFocusableElementOnOverlay;firstHiddenFocusableElementOnOverlay;headerCheckboxViewChild;footerFacet;headerFacet;templates;searchValue;searchTimeout;_selectAll=null;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_defaultLabel;_placeholder;_itemSize;_selectionLimit;value;_filteredOptions;onModelChange=()=>{};onModelTouched=()=>{};valuesAsString;focus;filtered;itemTemplate;groupTemplate;loaderTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;selectedItemsTemplate;checkIconTemplate;filterIconTemplate;removeTokenIconTemplate;closeIconTemplate;clearIconTemplate;dropdownIconTemplate;headerCheckboxFocus;filterOptions;maxSelectionLimitReached;preventModelTouched;preventDocumentDefault;focused=!1;itemsWrapper;_displaySelectedLabel=!0;_maxSelectedLabels=3;modelValue=(0,e.tdS)(null);_filterValue=(0,e.tdS)(null);_options=(0,e.tdS)(null);startRangeIndex=(0,e.tdS)(-1);focusedOptionIndex=(0,e.tdS)(-1);selectedOptions;get containerClass(){return{"p-multiselect p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-multiselect-clearable":this.showClear&&!this.disabled,"p-multiselect-chip":"chip"===this.display,"p-focus":this.focused,"p-inputwrapper-filled":_.gb.isNotEmpty(this.modelValue()),"p-inputwrapper-focus":this.focused||this.overlayVisible}}get inputClass(){return{"p-multiselect-label p-inputtext":!0,"p-placeholder":(this.placeholder||this.defaultLabel)&&(this.label()===this.placeholder||this.label()===this.defaultLabel),"p-multiselect-label-empty":!this.selectedItemsTemplate&&("p-emptylabel"===this.label()||0===this.label().length)}}get panelClass(){return{"p-multiselect-panel p-component":!0,"p-input-filled":"filled"===this.config.inputStyle,"p-ripple-disabled":!1===this.config.ripple}}get labelClass(){return{"p-multiselect-label":!0,"p-placeholder":this.label()===this.placeholder||this.label()===this.defaultLabel,"p-multiselect-label-empty":!(this.placeholder||this.defaultLabel||this.modelValue()&&0!==this.modelValue().length)}}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(I.ws.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(I.ws.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.modelValue()?!!this.modelValue():this.modelValue()||null!=this.modelValue()||null!=this.modelValue()}get isVisibleClearIcon(){return null!=this.modelValue()&&""!==this.modelValue()&&_.gb.isNotEmpty(this.modelValue())&&this.showClear&&!this.disabled&&this.filled}get toggleAllAriaLabel(){return this.config.translation.aria?this.config.translation.aria[this.allSelected()?"selectAll":"unselectAll"]:void 0}get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}visibleOptions=(0,e.Flj)(()=>{const t=this.group?this.flatOptions(this.options):this.options||[];if(this._filterValue()){const n=this.filterService.filter(t,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale);if(this.group){const l=[];return(this.options||[]).forEach(a=>{const f=this.getOptionGroupChildren(a).filter(w=>n.includes(w));f.length>0&&l.push({...a,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...f]})}),this.flatOptions(l)}return n}return t});label=(0,e.Flj)(()=>{let t;const n=this.modelValue();if(n&&n.length&&this.displaySelectedLabel){if(_.gb.isNotEmpty(this.maxSelectedLabels)&&n.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();t="";for(let i=0;i_.gb.isNotEmpty(this.maxSelectedLabels)&&this.modelValue()&&this.modelValue().length>this.maxSelectedLabels?this.modelValue().slice(0,this.maxSelectedLabels):this.modelValue());constructor(t,n,i,l,a,p,f){this.el=t,this.renderer=n,this.cd=i,this.zone=l,this.filterService=a,this.config=p,this.overlayService=f,(0,e.cEC)(()=>{const w=this.modelValue(),F=this.visibleOptions();F&&_.gb.isNotEmpty(F)&&w&&(this.selectedOptions=this.optionValue&&this.optionLabel?F.filter(G=>w.includes(G[this.optionLabel])||w.includes(G[this.optionValue])):[...w])})}ngOnInit(){this.id=this.id||(0,_.Th)(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:t=>this.onFilterInputChange(t),reset:()=>this.resetFilter()})}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":default:this.itemTemplate=t.template;break;case"group":this.groupTemplate=t.template;break;case"selectedItems":this.selectedItemsTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"filter":this.filterTemplate=t.template;break;case"emptyfilter":this.emptyFilterTemplate=t.template;break;case"empty":this.emptyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"checkicon":this.checkIconTemplate=t.template;break;case"filtericon":this.filterIconTemplate=t.template;break;case"removetokenicon":this.removeTokenIconTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template}})}ngAfterViewInit(){this.overlayVisible&&this.show()}ngAfterViewChecked(){this.filtered&&(this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild?.alignOverlay()},1)}),this.filtered=!1)}flatOptions(t){return(t||[]).reduce((n,i,l)=>{n.push({optionGroup:i,group:!0,index:l});const a=this.getOptionGroupChildren(i);return a&&a.forEach(p=>n.push(p)),n},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()){this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());const t=this.getOptionValue(this.visibleOptions()[this.focusedOptionIndex()]);this.onOptionSelect({originalEvent:null,option:[t]})}}updateModel(t,n){this.value=t,this.onModelChange(t),this.modelValue.set(t)}onInputClick(t){t.stopPropagation(),t.preventDefault(),this.focusedOptionIndex.set(-1)}onOptionSelect(t,n=!1,i=-1){const{originalEvent:l,option:a}=t;if(this.disabled||this.isOptionDisabled(a))return;let f=null;f=this.isSelected(a)?this.modelValue().filter(w=>!_.gb.equals(w,this.getOptionValue(a),this.equalityKey())):[...this.modelValue()||[],this.getOptionValue(a)],this.updateModel(f,l),-1!==i&&this.focusedOptionIndex.set(i),n&&m.p.focus(this.focusInputViewChild?.nativeElement),this.onChange.emit({originalEvent:t,value:f,itemValue:a})}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}onOptionSelectRange(t,n=-1,i=-1){if(-1===n&&(n=this.findNearestSelectedOptionIndex(i,!0)),-1===i&&(i=this.findNearestSelectedOptionIndex(n)),-1!==n&&-1!==i){const l=Math.min(n,i),a=Math.max(n,i),p=this.visibleOptions().slice(l,a+1).filter(f=>this.isValidOption(f)).map(f=>this.getOptionValue(f));this.updateModel(p,t)}}searchFields(){return this.filterFields||[this.optionLabel]}findNearestSelectedOptionIndex(t,n=!1){let i=-1;return this.hasSelectedOption()&&(n?(i=this.findPrevSelectedOptionIndex(t),i=-1===i?this.findNextSelectedOptionIndex(t):i):(i=this.findNextSelectedOptionIndex(t),i=-1===i?this.findPrevSelectedOptionIndex(t):i)),i>-1?i:t}findPrevSelectedOptionIndex(t){const n=this.hasSelectedOption()&&t>0?_.gb.findLastIndex(this.visibleOptions().slice(0,t),i=>this.isValidSelectedOption(i)):-1;return n>-1?n:-1}findFirstFocusedOptionIndex(){const t=this.findFirstSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t}findFirstOptionIndex(){return this.visibleOptions().findIndex(t=>this.isValidOption(t))}findFirstSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}findNextSelectedOptionIndex(t){const n=this.hasSelectedOption()&&tthis.isValidSelectedOption(i)):-1;return n>-1?n+t+1:-1}equalityKey(){return this.optionValue?null:this.dataKey}hasSelectedOption(){return _.gb.isNotEmpty(this.modelValue())}isValidSelectedOption(t){return this.isValidOption(t)&&this.isSelected(t)}isOptionGroup(t){return(this.group||this.optionGroupLabel)&&t.optionGroup&&t.group}isValidOption(t){return t&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))}isOptionDisabled(t){return(this.optionDisabled?_.gb.resolveFieldData(t,this.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled)||this.maxSelectionLimitReached&&!this.isSelected(t)}isSelected(t){const n=this.getOptionValue(t);return(this.modelValue()||[]).some(i=>_.gb.equals(i,n,this.equalityKey()))}isOptionMatched(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}isEmpty(){return!this._options()||this.visibleOptions()&&0===this.visibleOptions().length}getOptionIndex(t,n){return this.virtualScrollerDisabled?t:n&&n.getItemOptions(t).index}getAriaPosInset(t){return(this.optionGroupLabel?t-this.visibleOptions().slice(0,t).filter(n=>this.isOptionGroup(n)).length:t)+1}get ariaSetSize(){return this.visibleOptions().filter(t=>!this.isOptionGroup(t)).length}getLabelByValue(t){const i=(this.group?this.flatOptions(this._options()):this._options()||[]).find(l=>!this.isOptionGroup(l)&&_.gb.equals(this.getOptionValue(l),t,this.equalityKey()));return i?this.getOptionLabel(i):null}getSelectedItemsLabel(){let t=/{(.*?)}/;return t.test(this.selectedItemsLabel)?this.selectedItemsLabel.replace(this.selectedItemsLabel.match(t)[0],this.modelValue().length+""):this.selectedItemsLabel}getOptionLabel(t){return this.optionLabel?_.gb.resolveFieldData(t,this.optionLabel):t&&null!=t.label?t.label:t}getOptionValue(t){return this.optionValue?_.gb.resolveFieldData(t,this.optionValue):!this.optionLabel&&t&&void 0!==t.value?t.value:t}getOptionGroupLabel(t){return this.optionGroupLabel?_.gb.resolveFieldData(t,this.optionGroupLabel):t&&null!=t.label?t.label:t}getOptionGroupChildren(t){return this.optionGroupChildren?_.gb.resolveFieldData(t,this.optionGroupChildren):t.items}onKeyDown(t){if(this.disabled)return void t.preventDefault();const n=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Enter":case"Space":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"ShiftLeft":case"ShiftRight":this.onShiftKey();break;default:if("KeyA"===t.code&&n){const i=this.visibleOptions().filter(l=>this.isValidOption(l)).map(l=>this.getOptionValue(l));this.updateModel(i,t),t.preventDefault();break}!n&&_.gb.isPrintableCharacter(t.key)&&(!this.overlayVisible&&this.show(),this.searchOptions(t,t.key),t.preventDefault())}}onFilterKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0)}}onArrowLeftKey(t,n=!1){n&&this.focusedOptionIndex.set(-1)}onArrowDownKey(t){const n=-1!==this.focusedOptionIndex()?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,this.startRangeIndex(),n),this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault(),t.stopPropagation()}onArrowUpKey(t,n=!1){if(t.altKey&&!n)-1!==this.focusedOptionIndex()&&this.onOptionSelect(t,this.visibleOptions()[this.focusedOptionIndex()]),this.overlayVisible&&this.hide(),t.preventDefault();else{const i=-1!==this.focusedOptionIndex()?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,i,this.startRangeIndex()),this.changeFocusedOptionIndex(t,i),!this.overlayVisible&&this.show(),t.preventDefault()}t.stopPropagation()}onHomeKey(t,n=!1){const{currentTarget:i}=t;if(n)i.setSelectionRange(0,t.shiftKey?i.value.length:0),this.focusedOptionIndex.set(-1);else{let l=t.metaKey||t.ctrlKey,a=this.findFirstOptionIndex();t.shiftKey&&l&&this.onOptionSelectRange(t,a,this.startRangeIndex()),this.changeFocusedOptionIndex(t,a),!this.overlayVisible&&this.show()}t.preventDefault()}onEndKey(t,n=!1){const{currentTarget:i}=t;if(n){const l=i.value.length;i.setSelectionRange(t.shiftKey?0:l,l),this.focusedOptionIndex.set(-1)}else{let l=t.metaKey||t.ctrlKey,a=this.findLastFocusedOptionIndex();t.shiftKey&&l&&this.onOptionSelectRange(t,this.startRangeIndex(),a),this.changeFocusedOptionIndex(t,a),!this.overlayVisible&&this.show()}t.preventDefault()}onPageDownKey(t){this.scrollInView(this.visibleOptions().length-1),t.preventDefault()}onPageUpKey(t){this.scrollInView(0),t.preventDefault()}onEnterKey(t){this.overlayVisible?-1!==this.focusedOptionIndex()&&(t.shiftKey?this.onOptionSelectRange(t,this.focusedOptionIndex()):this.onOptionSelect({originalEvent:t,option:this.visibleOptions()[this.focusedOptionIndex()]})):this.onArrowDownKey(t),t.preventDefault()}onEscapeKey(t){this.overlayVisible&&this.hide(!0),t.preventDefault()}onDeleteKey(t){this.showClear&&(this.clear(t),t.preventDefault())}onTabKey(t,n=!1){n||(this.overlayVisible&&this.hasFocusableElements()?(m.p.focus(t.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),t.preventDefault()):(-1!==this.focusedOptionIndex()&&this.onOptionSelect({originalEvent:t,option:this.visibleOptions()[this.focusedOptionIndex()]}),this.overlayVisible&&this.hide(this.filter)))}onShiftKey(){this.startRangeIndex.set(this.focusedOptionIndex())}onContainerClick(t){if(!(this.disabled||this.readonly||t.target.isSameNode(this.focusInputViewChild?.nativeElement))){if("INPUT"===t.target.tagName||"clearicon"===t.target.getAttribute("data-pc-section")||t.target.closest('[data-pc-section="clearicon"]'))return void t.preventDefault();(!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),this.onClick.emit(t),this.cd.detectChanges()}}onFirstHiddenFocus(t){const n=t.relatedTarget===this.focusInputViewChild?.nativeElement?m.p.getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;m.p.focus(n)}onInputFocus(t){this.focused=!0;const n=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit({originalEvent:t})}onInputBlur(t){this.focused=!1,this.onBlur.emit({originalEvent:t}),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onFilterInputChange(t){let n=t.target.value?.trim();this._filterValue.set(n),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:t,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0)}onLastHiddenFocus(t){const n=t.relatedTarget===this.focusInputViewChild?.nativeElement?m.p.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;m.p.focus(n)}onOptionMouseEnter(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)}onHeaderCheckboxKeyDown(t){if(this.disabled)t.preventDefault();else switch(t.code){case"Space":case"Enter":this.onToggleAll(t)}}onFilterBlur(t){this.focusedOptionIndex.set(-1)}onHeaderCheckboxFocus(){this.headerCheckboxFocus=!0}onHeaderCheckboxBlur(){this.headerCheckboxFocus=!1}onToggleAll(t){if(!this.disabled&&!this.readonly){if(null!==this.selectAll)this.onSelectAllChange.emit({originalEvent:t,checked:!this.allSelected()});else{const n=this.allSelected()?[]:this.visibleOptions().filter(i=>this.isValidOption(i)).map(i=>this.getOptionValue(i));this.updateModel(n,t)}m.p.focus(this.headerCheckboxViewChild.nativeElement),this.headerCheckboxFocus=!0,t.preventDefault(),t.stopPropagation()}}changeFocusedOptionIndex(t,n){this.focusedOptionIndex()!==n&&(this.focusedOptionIndex.set(n),this.scrollInView())}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(t=-1){if(this.itemsViewChild&&this.itemsViewChild.nativeElement){const i=m.p.findSingle(this.itemsViewChild.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedOptionId}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(-1!==t?t:this.focusedOptionIndex())},0)}}get focusedOptionId(){return-1!==this.focusedOptionIndex()?`${this.id}_${this.focusedOptionIndex()}`:null}checkSelectionLimit(){this.maxSelectionLimitReached=!(!this.selectionLimit||!this.value||this.value.length!==this.selectionLimit)}writeValue(t){this.value=t,this.modelValue.set(this.value),this.checkSelectionLimit(),this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}allSelected(){return null!==this.selectAll?this.selectAll:_.gb.isNotEmpty(this.visibleOptions())&&this.visibleOptions().every(t=>this.isOptionGroup(t)||this.isOptionDisabled(t)||this.isSelected(t))}show(t){this.overlayVisible=!0;const n=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),t&&m.p.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}hide(t){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),t&&m.p.focus(this.focusInputViewChild?.nativeElement),this.onPanelHide.emit(),this.cd.markForCheck()}onOverlayAnimationStart(t){switch(t.toState){case"visible":if(this.itemsWrapper=m.p.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-multiselect-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this._options()&&this._options().length)if(this.virtualScroll){const n=_.gb.isNotEmpty(this.modelValue())?this.focusedOptionIndex():-1;-1!==n&&this.scroller?.scrollToIndex(n)}else{let n=m.p.findSingle(this.itemsWrapper,".p-multiselect-item.p-highlight");n&&n.scrollIntoView({block:"nearest",inline:"center"})}this.onPanelShow.emit();case"void":this.itemsWrapper=null,this.onModelTouched()}}resetFilter(){this.filterInputChild&&this.filterInputChild.nativeElement&&(this.filterInputChild.nativeElement.value=""),this._filterValue.set(null),this._filteredOptions=null}close(t){this.hide(),t.preventDefault(),t.stopPropagation()}clear(t){this.value=null,this.checkSelectionLimit(),this.updateModel(null,t),this.selectedOptions=null,this.onClear.emit(),t.stopPropagation()}removeOption(t,n){let i=this.modelValue().filter(l=>!_.gb.equals(l,t,this.equalityKey()));this.updateModel(i,n),n&&n.stopPropagation()}findNextItem(t){let n=t.nextElementSibling;return n?m.p.hasClass(n.children[0],"p-disabled")||m.p.isHidden(n.children[0])||m.p.hasClass(n,"p-multiselect-item-group")?this.findNextItem(n):n.children[0]:null}findPrevItem(t){let n=t.previousElementSibling;return n?m.p.hasClass(n.children[0],"p-disabled")||m.p.isHidden(n.children[0])||m.p.hasClass(n,"p-multiselect-item-group")?this.findPrevItem(n):n.children[0]:null}findNextOptionIndex(t){const n=tthis.isValidOption(i)):-1;return n>-1?n+t+1:t}findPrevOptionIndex(t){const n=t>0?_.gb.findLastIndex(this.visibleOptions().slice(0,t),i=>this.isValidOption(i)):-1;return n>-1?n:t}findLastSelectedOptionIndex(){return this.hasSelectedOption()?_.gb.findLastIndex(this.visibleOptions(),t=>this.isValidSelectedOption(t)):-1}findLastFocusedOptionIndex(){const t=this.findLastSelectedOptionIndex();return t<0?this.findLastOptionIndex():t}findLastOptionIndex(){return _.gb.findLastIndex(this.visibleOptions(),t=>this.isValidOption(t))}searchOptions(t,n){this.searchValue=(this.searchValue||"")+n;let i=-1,l=!1;return-1!==this.focusedOptionIndex()?(i=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(a=>this.isOptionMatched(a)),i=-1===i?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(a=>this.isOptionMatched(a)):i+this.focusedOptionIndex()):i=this.visibleOptions().findIndex(a=>this.isOptionMatched(a)),-1!==i&&(l=!0),-1===i&&-1===this.focusedOptionIndex()&&(i=this.findFirstFocusedOptionIndex()),-1!==i&&this.changeFocusedOptionIndex(t,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),l}activateFilter(){if(this.hasFilter()&&this._options){let t=(this.filterBy||this.optionLabel||"label").split(",");if(this.group){let n=[];for(let i of this.options){let l=this.filterService.filter(this.getOptionGroupChildren(i),t,this.filterValue,this.filterMatchMode,this.filterLocale);l&&l.length&&n.push({...i,[this.optionGroupChildren]:l})}this._filteredOptions=n}else this._filteredOptions=this.filterService.filter(this.options,t,this._filterValue,this.filterMatchMode,this.filterLocale)}else this._filteredOptions=null}hasFocusableElements(){return m.p.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}hasFilter(){return this._filterValue()&&this._filterValue().trim().length>0}static \u0275fac=function(n){return new(n||o)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(I.iZ),e.Y36(I.b4),e.Y36(I.F0))};static \u0275cmp=e.Xpm({type:o,selectors:[["p-multiSelect"]],contentQueries:function(n,i,l){if(1&n&&(e.Suo(l,I.$_,5),e.Suo(l,I.h4,5),e.Suo(l,I.jx,4)),2&n){let a;e.iGM(a=e.CRH())&&(i.footerFacet=a.first),e.iGM(a=e.CRH())&&(i.headerFacet=a.first),e.iGM(a=e.CRH())&&(i.templates=a)}},viewQuery:function(n,i){if(1&n&&(e.Gf(ft,5),e.Gf(bt,5),e.Gf(xt,5),e.Gf(vt,5),e.Gf(Tt,5),e.Gf(It,5),e.Gf(yt,5),e.Gf(Ct,5),e.Gf(wt,5)),2&n){let l;e.iGM(l=e.CRH())&&(i.containerViewChild=l.first),e.iGM(l=e.CRH())&&(i.overlayViewChild=l.first),e.iGM(l=e.CRH())&&(i.filterInputChild=l.first),e.iGM(l=e.CRH())&&(i.focusInputViewChild=l.first),e.iGM(l=e.CRH())&&(i.itemsViewChild=l.first),e.iGM(l=e.CRH())&&(i.scroller=l.first),e.iGM(l=e.CRH())&&(i.lastHiddenFocusableElementOnOverlay=l.first),e.iGM(l=e.CRH())&&(i.firstHiddenFocusableElementOnOverlay=l.first),e.iGM(l=e.CRH())&&(i.headerCheckboxViewChild=l.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(n,i){2&n&&e.ekj("p-inputwrapper-filled",i.filled)("p-inputwrapper-focus",i.focused||i.overlayVisible)},inputs:{id:"id",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",inputId:"inputId",disabled:"disabled",readonly:"readonly",group:"group",filter:"filter",filterPlaceHolder:"filterPlaceHolder",filterLocale:"filterLocale",overlayVisible:"overlayVisible",tabindex:"tabindex",appendTo:"appendTo",dataKey:"dataKey",name:"name",ariaLabelledBy:"ariaLabelledBy",displaySelectedLabel:"displaySelectedLabel",maxSelectedLabels:"maxSelectedLabels",selectionLimit:"selectionLimit",selectedItemsLabel:"selectedItemsLabel",showToggleAll:"showToggleAll",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",showHeader:"showHeader",filterBy:"filterBy",scrollHeight:"scrollHeight",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",filterMatchMode:"filterMatchMode",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:"autofocusFilter",display:"display",autocomplete:"autocomplete",showClear:"showClear",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",defaultLabel:"defaultLabel",placeholder:"placeholder",options:"options",filterValue:"filterValue",itemSize:"itemSize",selectAll:"selectAll",focusOnHover:"focusOnHover",filterFields:"filterFields",selectOnFocus:"selectOnFocus",autoOptionFocus:"autoOptionFocus"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onClear:"onClear",onPanelShow:"onPanelShow",onPanelHide:"onPanelHide",onLazyLoad:"onLazyLoad",onRemove:"onRemove",onSelectAllChange:"onSelectAllChange"},features:[e._Bn([Ui])],ngContentSelectors:Di,decls:16,vars:41,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["role","combobox",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","focus","blur","keydown"],["focusInput",""],[1,"p-multiselect-label-container",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass"],[3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-multiselect-trigger"],["class","p-multiselect-trigger-icon",4,"ngIf"],[3,"visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions","visibleChange","onAnimationStart","onHide"],["overlay",""],["pTemplate","content"],["class","p-multiselect-token",4,"ngFor","ngForOf"],[1,"p-multiselect-token"],["token",""],[1,"p-multiselect-token-label"],[3,"styleClass","click",4,"ngIf"],["class","p-multiselect-token-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-multiselect-token-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-multiselect-clear-icon",3,"click",4,"ngIf"],[1,"p-multiselect-clear-icon",3,"click"],["class","p-multiselect-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-multiselect-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-multiselect-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["firstHiddenFocusableEl",""],["class","p-multiselect-header",4,"ngIf"],[1,"p-multiselect-items-wrapper"],[3,"items","style","itemSize","autoSize","tabindex","lazy","options","onLazyLoad",4,"ngIf"],["buildInItems",""],["class","p-multiselect-footer",4,"ngIf"],["lastHiddenFocusableEl",""],[1,"p-multiselect-header"],[4,"ngIf","ngIfElse"],["builtInFilterElement",""],["class","p-checkbox p-component",3,"ngClass","click","keydown",4,"ngIf"],["class","p-multiselect-filter-container",4,"ngIf"],["type","button","pRipple","",1,"p-multiselect-close","p-link","p-button-icon-only",3,"click"],["class","p-multiselect-close-icon",4,"ngIf"],[1,"p-checkbox","p-component",3,"ngClass","click","keydown"],["type","checkbox",3,"readonly","disabled","focus","blur"],["headerCheckbox",""],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],["class","p-checkbox-icon",4,"ngIf"],[1,"p-checkbox-icon"],[1,"p-multiselect-filter-container"],["type","text","role","searchbox",1,"p-multiselect-filter","p-inputtext","p-component",3,"value","disabled","input","keydown","click","blur"],["filterInput",""],["class","p-multiselect-filter-icon",4,"ngIf"],[1,"p-multiselect-filter-icon"],[1,"p-multiselect-close-icon"],[3,"items","itemSize","autoSize","tabindex","lazy","options","onLazyLoad"],["scroller",""],["pTemplate","loader"],["role","listbox","aria-multiselectable","true",1,"p-multiselect-items","p-component",3,"ngClass"],["items",""],["ngFor","",3,"ngForOf"],["class","p-multiselect-empty-message",3,"ngStyle",4,"ngIf"],["role","option",1,"p-multiselect-item-group",3,"ngStyle"],[3,"id","option","selected","label","disabled","template","checkIconTemplate","itemSize","focused","ariaPosInset","ariaSetSize","onClick","onMouseEnter"],[1,"p-multiselect-empty-message",3,"ngStyle"],["emptyFilter",""],["empty",""],[1,"p-multiselect-footer"]],template:function(n,i){1&n&&(e.F$t(Pi),e.TgZ(0,"div",0,1),e.NdJ("click",function(a){return i.onContainerClick(a)}),e.TgZ(2,"div",2)(3,"input",3,4),e.NdJ("focus",function(a){return i.onInputFocus(a)})("blur",function(a){return i.onInputBlur(a)})("keydown",function(a){return i.onKeyDown(a)}),e.qZA()(),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Nt,3,2,"ng-container",7),e.YNc(8,Ft,1,0,"ng-container",8),e.qZA(),e.YNc(9,Vt,3,2,"ng-container",7),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,qt,3,2,"ng-container",7),e.YNc(12,Bt,2,3,"span",10),e.qZA(),e.TgZ(13,"p-overlay",11,12),e.NdJ("visibleChange",function(a){return i.overlayVisible=a})("onAnimationStart",function(a){return i.onOverlayAnimationStart(a)})("onHide",function(){return i.hide()}),e.YNc(15,zi,12,18,"ng-template",13),e.qZA()()),2&n&&(e.Tol(i.styleClass),e.Q6J("ngClass",i.containerClass)("ngStyle",i.style),e.uIk("id",i.id),e.xp6(2),e.uIk("data-p-hidden-accessible",!0),e.xp6(1),e.Q6J("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass),e.uIk("aria-disabled",i.disabled)("id",i.inputId)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible)("aria-controls",i.id+"_list")("tabindex",i.disabled?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0),e.xp6(2),e.Q6J("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass),e.xp6(1),e.Q6J("ngClass",i.labelClass),e.xp6(1),e.Q6J("ngIf",!i.selectedItemsTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",i.selectedItemsTemplate)("ngTemplateOutletContext",e.WLB(38,Vi,i.selectedOptions,i.removeOption.bind(i))),e.xp6(1),e.Q6J("ngIf",i.isVisibleClearIcon),e.xp6(2),e.Q6J("ngIf",!i.dropdownIconTemplate),e.xp6(1),e.Q6J("ngIf",i.dropdownIconTemplate),e.xp6(1),e.Q6J("visible",i.overlayVisible)("options",i.overlayOptions)("target","@parent")("appendTo",i.appendTo)("autoZIndex",i.autoZIndex)("baseZIndex",i.baseZIndex)("showTransitionOptions",i.showTransitionOptions)("hideTransitionOptions",i.hideTransitionOptions))},dependencies:function(){return[h.mk,h.sg,h.O5,h.tP,h.PC,H.aV,I.jx,le.u,K.H,R.T,q.n,se.W,ae,re.q,ce.v,qi]},styles:["@layer primeng{.p-multiselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-fluid .p-multiselect{display:flex}.p-multiselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-multiselect-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),Gi=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[h.ez,H.U8,I.m8,le.z,K.T,R.v,q.n,se.W,ae,re.q,ce.v,q.n,H.U8,I.m8,R.v]})}return o})();const Yi=["tenant"];let _e=(()=>{class o extends $.F{constructor(t){super(t,D,U),this.injector=t,this.items=[],this.itemsSelecionados=[],this.tenants=[],this.validate=(n,i)=>null,this.usersPanelDao=t.get(U),this.tenantsDao=t.get(y),this.join=["tenants"],this.form=this.fh.FormBuilder({nome:{default:""},email:{default:""},password:{default:""},tenants:{default:[]}},this.cdRef,this.validate)}initializeData(t){this.entity=new D,this.loadData(this.entity,t)}loadData(t,n){var i=this;return(0,T.Z)(function*(){let l=Object.assign({},n.value);n.patchValue(i.util.fillForm(l,t)),t.tenants&&(i.itemsSelecionados=t.tenants.map(a=>a.id)),i.loading=!0;try{i.tenants=yield i.tenantsDao.query().asPromise(),i.tenants.forEach(a=>{i.items.push({key:a.id,value:a.nome_entidade})})}finally{i.loading=!1}})()}saveData(t){var n=this;return(0,T.Z)(function*(){return new Promise((i,l)=>{let a=n.util.fill(new D,n.entity);a=n.util.fillForm(a,n.form.value),a.tenants=n.tenants.filter(p=>n.itemsSelecionados.map(f=>f).includes(p.id)),i(a)})})()}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-admins-form"]],viewQuery:function(n,i){if(1&n&&(e.Gf(V.Q,5),e.Gf(Yi,5)),2&n){let l;e.iGM(l=e.CRH())&&(i.editableForm=l.first),e.iGM(l=e.CRH())&&(i.tenant=l.first)}},features:[e.qOj],decls:7,vars:11,consts:[["initialFocus","nome",3,"form","disabled","title","submit","cancel"],[1,"row"],["label","Nome","controlName","nome","required","",3,"size"],["label","E-mail","controlName","email","required","",3,"size"],["label","Senha","controlName","password","required","","password","",3,"size"],[1,"col-md-12","my-3"],["display","chip","optionValue","key","optionLabel","value","placeholder","Selecione os tenants",3,"options","ngModel","showClear","ngModelChange"]],template:function(n,i){1&n&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return i.onSaveData()})("cancel",function(){return i.onCancel()}),e.TgZ(1,"div",1),e._UZ(2,"input-text",2)(3,"input-text",3)(4,"input-text",4),e.TgZ(5,"div",5)(6,"p-multiSelect",6),e.NdJ("ngModelChange",function(a){return i.itemsSelecionados=a}),e.qZA()()()()),2&n&&(e.Q6J("form",i.form)("disabled",i.formDisabled)("title",i.isModal?"":i.title),e.xp6(2),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.xp6(2),e.Q6J("options",i.items)("ngModel",i.itemsSelecionados)("showClear",!0))},dependencies:[V.Q,te.m,g.JJ,g.On,pe]})}return o})();const Bi=[{path:"",component:it,children:[{path:"tenants",component:xe,runGuardsAndResolvers:"always",data:{title:"Pain\xe9is"}},{path:"tenants/new",component:B,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Painel",modal:!0}},{path:"tenants/:id/edit",component:B,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Painel",modal:!0}},{path:"tenants/:id/consult",component:B,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Painel",modal:!0}},{path:"tenants/:id/logs",component:ne,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Logs",modal:!0}},{path:"seeder",component:Pe,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Executa Seeder no Tenant",modal:!0}},{path:"job-agendados",component:$e,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Job agendados",modal:!0}},{path:"logs2",component:ne,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Logs",modal:!0}},{path:"admins",component:st,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta admins do painel"}},{path:"admins/new",component:_e,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de usu\xe1rios do painel",modal:!0}},{path:"admins/:id/edit",component:_e,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de usu\xe1rios do painel",modal:!0}},{path:"",redirectTo:"tenants",pathMatch:"full"}]}];let Hi=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#i=this.\u0275inj=e.cJS({imports:[Z.Bz.forChild(Bi),Z.Bz]})}return o})();var Ki=d(2662),Ri=d(2864);let ji=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#i=this.\u0275inj=e.cJS({imports:[h.ez,Hi,Ki.K,Ri.UteisModule,g.u5,g.UX,Gi]})}return o})()}}]); \ No newline at end of file +"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[555,32],{8032:(he,F,d)=>{d.d(F,{x:()=>E});var h=d(8239),Z=d(2307),x=d(5736),c=d(755),S=d(6733);function e(u,v){if(1&u&&c._UZ(0,"i"),2&u){const r=c.oxw(2);c.Tol(r.button.icon)}}function y(u,v){if(1&u&&(c.TgZ(0,"span",8),c._uU(1),c.qZA()),2&u){const r=c.oxw(2);c.xp6(1),c.Oqu(r.button.label)}}function A(u,v){if(1&u&&(c.TgZ(0,"span",9),c._uU(1),c.qZA()),2&u){const r=c.oxw(2);c.xp6(1),c.Oqu(r.button.badge)}}function O(u,v){if(1&u&&(c.TgZ(0,"button",10)(1,"span",11),c._uU(2,"V"),c.qZA()()),2&u){const r=c.oxw(2);c.Tol("btn dropdown-toggle dropdown-toggle-split "+(r.button.color||"btn-outline-primary")),c.uIk("id",r.generatedButtonId(r.button)+"_dropdown")}}function J(u,v){1&u&&c._UZ(0,"hr",16)}function L(u,v){if(1&u&&c._UZ(0,"i"),2&u){const r=c.oxw(2).$implicit;c.Tol(r.icon)}}function M(u,v){if(1&u){const r=c.EpF();c.TgZ(0,"a",17),c.NdJ("click",function(){c.CHM(r);const w=c.oxw().$implicit,Y=c.oxw(3);return c.KtG(Y.onButtonClick(w))}),c.YNc(1,L,1,2,"i",3),c._uU(2),c.qZA()}if(2&u){const r=c.oxw().$implicit,b=c.oxw(3);c.Q6J("id",b.generatedButtonId(r,"_item")),c.xp6(1),c.Q6J("ngIf",null==r.icon?null:r.icon.length),c.xp6(1),c.hij(" ",r.label||"","")}}function k(u,v){if(1&u&&(c.TgZ(0,"li"),c.YNc(1,J,1,0,"hr",14),c.YNc(2,M,3,3,"a",15),c.qZA()),2&u){const r=v.$implicit;c.xp6(1),c.Q6J("ngIf",r.divider),c.xp6(1),c.Q6J("ngIf",!r.divider)}}function z(u,v){if(1&u&&(c.TgZ(0,"ul",12),c.YNc(1,k,3,2,"li",13),c.qZA()),2&u){const r=c.oxw(2);c.uIk("aria-labelledby",r.generatedButtonId(r.button)+(r.button.items&&r.button.toggle?"_dropdown":"")),c.xp6(1),c.Q6J("ngForOf",r.button.items)}}function P(u,v){if(1&u){const r=c.EpF();c.TgZ(0,"div",1)(1,"button",2),c.NdJ("click",function(){c.CHM(r);const w=c.oxw();return c.KtG(w.onButtonClick(w.button))}),c.YNc(2,e,1,2,"i",3),c.YNc(3,y,2,1,"span",4),c.YNc(4,A,2,1,"span",5),c.qZA(),c.YNc(5,O,3,3,"button",6),c.YNc(6,z,2,2,"ul",7),c.qZA()}if(2&u){const r=c.oxw();c.ekj("w-100",r.isFullWidth),c.xp6(1),c.Tol(r.buttonClass),c.Q6J("id",r.generatedButtonId(r.button))("disabled",r.buttonDisabled(r.button)),c.uIk("data-bs-toggle",r.button.items&&!r.button.toggle?"dropdown":void 0),c.xp6(1),c.Q6J("ngIf",null==r.button.icon?null:r.button.icon.length),c.xp6(1),c.Q6J("ngIf",null==r.button.label?null:r.button.label.length),c.xp6(1),c.Q6J("ngIf",null==r.button.badge?null:r.button.badge.length),c.xp6(1),c.Q6J("ngIf",r.button.items&&r.button.toggle),c.xp6(1),c.Q6J("ngIf",r.button.items)}}let E=(()=>{class u extends x.V{set button(r){this._button!=r&&(this._button=r),this._button.id=this.generatedButtonId(this._button)}get button(){return this._button}set route(r){this._button.route!=r&&(this._button.route=r)}get route(){return this._button.route}set metadata(r){this._button.metadata!=r&&(this._button.metadata=r)}get metadata(){return this._button.metadata}set class(r){this._button.class!=r&&(this._button.class=r)}get class(){return this._button.class}set icon(r){this._button.icon!=r&&(this._button.icon=r),this._button.id=this.generatedButtonId(this._button)}get icon(){return this._button.icon}set label(r){this._button.label!=r&&(this._button.label=r),this._button.id=this.generatedButtonId(this._button)}get label(){return this._button.label}set hint(r){this._button.hint!=r&&(this._button.hint=r),this._button.id=this.generatedButtonId(this._button)}get hint(){return this._button.hint}set disabled(r){this._button.disabled!=r&&(this._button.disabled=r)}get disabled(){return this._button.disabled}set iconChar(r){this._button.iconChar!=r&&(this._button.iconChar=r)}get iconChar(){return this._button.iconChar}set color(r){this._button.color!=r&&(this._button.color=r)}get color(){return this._button.color}set running(r){this._button.running!=r&&(this._button.running=r)}get running(){return this._button.running}set toggle(r){this._button.toggle!=r&&(this._button.toggle=r)}get toggle(){return this._button.toggle}set badge(r){this._button.badge!=r&&(this._button.badge=r)}get badge(){return this._button.badge}set pressed(r){this._button.pressed!=r&&(this._button.pressed=r)}get pressed(){return this._button.pressed}set items(r){this._button.items!=r&&(this._button.items=r)}get items(){return this._button.items}set hidden(r){this._button.hidden!=r&&(this._button.hidden=r)}get hidden(){return this._button.hidden}set dynamicItems(r){this._button.dynamicItems!=r&&(this._button.dynamicItems=r)}get dynamicItems(){return this._button.dynamicItems}set dynamicVisible(r){this._button.dynamicVisible!=r&&(this._button.dynamicVisible=r)}get dynamicVisible(){return this._button.dynamicVisible}set onClick(r){this._button.onClick!=r&&(this._button.onClick=r)}get onClick(){return this._button.onClick}constructor(r){super(r),this.injector=r,this._button={},this.go=r.get(Z.o),this.button.id=this.generatedButtonId(this.button,this.util.md5())}get isFullWidth(){return null!=this.fullWidth}get isNoArrow(){return null!=this.noArrow}get isPlaceholder(){return null!=this.placeholder}get buttonClass(){return(this.isPlaceholder?"placeholder ":"")+(this.buttonPressed(this.button)?"active ":"")+(this.isNoArrow?"no-arrow ":"")+(this.button.items&&!this.button.toggle?"dropdown-toggle ":"")+"btn "+(this.button.color||"btn-outline-primary")}buttonDisabled(r){return this.isPlaceholder||("function"==typeof r.disabled?r.disabled():!!r.disabled)}buttonPressed(r){return!!r.toggle&&(r.pressed&&"boolean"!=typeof r.pressed?!!r.pressed(this):!!r.pressed)}onButtonClick(r){var b=this;return(0,h.Z)(function*(){r.toggle&&"boolean"==typeof r.pressed&&(r.pressed=!r.pressed),r.route?b.go.navigate(r.route,r.metadata):r.onClick&&(yield r.onClick(b.data,r)),b.cdRef.detectChanges()})()}static#e=this.\u0275fac=function(b){return new(b||u)(c.Y36(c.zs3))};static#t=this.\u0275cmp=c.Xpm({type:u,selectors:[["action-button"]],inputs:{button:"button",route:"route",metadata:"metadata",class:"class",icon:"icon",label:"label",hint:"hint",disabled:"disabled",iconChar:"iconChar",color:"color",running:"running",toggle:"toggle",badge:"badge",pressed:"pressed",items:"items",hidden:"hidden",dynamicItems:"dynamicItems",dynamicVisible:"dynamicVisible",onClick:"onClick",data:"data",noArrow:"noArrow",fullWidth:"fullWidth",placeholder:"placeholder"},features:[c.qOj],decls:1,vars:1,consts:[["class","btn-group","role","group",3,"w-100",4,"ngIf"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"id","disabled","click"],[3,"class",4,"ngIf"],["class","d-none d-md-inline-block ms-2",4,"ngIf"],["class","badge bg-primary ms-2",4,"ngIf"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",3,"class",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],[1,"d-none","d-md-inline-block","ms-2"],[1,"badge","bg-primary","ms-2"],["type","button","data-bs-toggle","dropdown","aria-expanded","false"],[1,"visually-hidden"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"]],template:function(b,w){1&b&&c.YNc(0,P,7,12,"div",0),2&b&&c.Q6J("ngIf",!w.button.dynamicVisible||w.button.dynamicVisible(w.button))},dependencies:[S.sg,S.O5],styles:["[_nghost-%COMP%] .transparent-black{background-color:transparent;color:#000}[_nghost-%COMP%] .transparent-white{background-color:transparent;color:#fff}.no-arrow[_ngcontent-%COMP%]:before, .no-arrow[_ngcontent-%COMP%]:after{display:none!important}"]})}return u})()},9555:(he,F,d)=>{d.r(F),d.d(F,{PanelModule:()=>Wi});var h=d(6733),Z=d(5579),x=d(2314),c=d(3150),S=d(6976),e=d(755);let y=(()=>{class o extends S.B{constructor(t){super("Tenant",t),this.injector=t,this.PREFIX_URL="config"}cidadesSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cidades",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}tiposCapacidadesSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/tipo-capacidade",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}deleteTenant(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/delete-tenant",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}generateCertificateKeys(){return new Promise((t,n)=>{this.server.post("config/"+this.collection+"/generate-certificate-keys",{}).subscribe(i=>{i.error?n(i.error):t(i.data)},i=>n(i))})}seeders(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/seeders",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}migrations(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/migrations",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}cleanDB(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cleandb",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}resetDB(){return new Promise((t,n)=>{this.server.get("config/"+this.collection+"/resetdb").subscribe(i=>{i.error?n(i.error):t(!!i?.success)},i=>n(i))})}usuarioSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cidades",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}entidadeSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/cidades",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}databaseSeeder(t){return new Promise((n,i)=>{this.server.post("config/"+this.collection+"/database",{tenant_id:t.id}).subscribe(l=>{l.error?i(l.error):n(!!l?.success)},l=>i(l))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var A=d(4368);class O extends A.X{constructor(s){super(),this.tenancy_db_name="",this.tenancy_db_host=null,this.tenancy_db_port=null,this.tenancy_db_username=null,this.tenancy_db_password=null,this.log_traffic=!1,this.log_changes=!1,this.log_errors=!1,this.log_host=null,this.log_database=null,this.log_port=null,this.log_username=null,this.log_password=null,this.notification_petrvs=!0,this.notification_mail=!1,this.notification_mail_signature="",this.notification_mail_host="",this.notification_mail_port=465,this.notification_mail_username="",this.notification_mail_password="",this.notification_mail_encryption="SSL",this.notification_whatsapp=!1,this.notification_whatsapp_url="",this.notification_whatsapp_token="",this.email="",this.nome_usuario="",this.cpf="",this.apelido="",this.sigla="",this.nome_entidade="",this.abrangencia="",this.codigo_cidade=null,this.dominio_url=null,this.login_select_entidade=!1,this.login_google_client_id="",this.login_firebase_client_id="",this.login_azure_client_id="",this.login_azure_secret="",this.login_azure_redirect_uri="",this.login_login_unico_client_id="",this.login_login_unico_secret="",this.login_login_unico_environment="",this.login_login_unico_code_verifier="",this.login_login_unico_code_challenge_method="",this.login_login_unico_redirect="",this.login_google=!1,this.login_azure=!1,this.login_login_unico=!1,this.tipo_integracao="",this.integracao_auto_incluir=!0,this.integracao_cod_unidade_raiz="",this.integracao_siape_url="",this.integracao_siape_upag="",this.integracao_siape_sigla="",this.integracao_siape_nome="",this.integracao_siape_cpf="",this.integracao_siape_senha="",this.integracao_siape_codorgao="",this.integracao_siape_uorg="",this.integracao_siape_existepag="",this.integracao_siape_tipovinculo="",this.integracao_wso2_url="",this.integracao_wso2_unidades="",this.integracao_wso2_pessoas="",this.integracao_wso2_token_url="",this.integracao_wso2_token_authorization="",this.integracao_wso2_token_acesso="",this.integracao_wso2_token_user="",this.integracao_wso2_token_password="",this.integracao_usuario_comum="",this.integracao_usuario_chefe="",this.modulo_sei_habilitado=!1,this.modulo_sei_private_key="",this.modulo_sei_public_key="",this.modulo_sei_url="",this.api_username="",this.api_password="",this.initialization(s)}}var J=d(8509),L=d(7457),M=d(7224),k=d(3351),z=d(7765),P=d(5512),E=d(2704),u=d(5489);function v(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1),e.qZA(),e._UZ(2,"br"),e.TgZ(3,"small"),e._uU(4),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.id),e.xp6(3),e.Oqu(t.dominio_url)}}function r(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1,"Dados:"),e.qZA(),e._uU(2),e._UZ(3,"br"),e.TgZ(4,"strong"),e._uU(5,"Logs:"),e.qZA(),e._uU(6)),2&o){const t=s.row;e.xp6(2),e.lnq(" ",t.tenancy_db_host||"[ENV_HOST]",":",t.tenancy_db_port||"[ENV_PORT]","/",t.tenancy_db_name,""),e.xp6(4),e.lnq(" ",t.log_host||"[LOG_HOST]",":",t.log_port||"[LOG_PORT]","/",null!=t.log_database&&t.log_database.length?t.log_database:"log_"+t.tenancy_db_name," ")}}function b(o,s){1&o&&e._UZ(0,"badge",15)}function w(o,s){1&o&&e._UZ(0,"badge",16)}function Y(o,s){if(1&o&&(e.YNc(0,b,1,0,"badge",13),e.YNc(1,w,1,0,"badge",14)),2&o){const t=s.row;e.Q6J("ngIf",t.modulo_sei_habilitado),e.xp6(1),e.Q6J("ngIf","NENHUMA"!=t.tipo_integracao)}}function me(o,s){1&o&&e._UZ(0,"badge",20)}function ge(o,s){1&o&&e._UZ(0,"badge",21)}function fe(o,s){1&o&&e._UZ(0,"badge",22)}function be(o,s){if(1&o&&(e.YNc(0,me,1,0,"badge",17),e.YNc(1,ge,1,0,"badge",18),e.YNc(2,fe,1,0,"badge",19)),2&o){const t=s.row;e.Q6J("ngIf",t.log_changes),e.xp6(1),e.Q6J("ngIf",t.log_traffic),e.xp6(1),e.Q6J("ngIf",t.log_errors)}}let xe=(()=>{class o extends J.E{constructor(t,n,i){super(t,O,y),this.injector=t,this.authService=i,this.toolbarButtons=[{icon:"bi bi-eye-fill",label:"Ver Logs",onClick:()=>this.go.navigate({route:["panel","logs2"]})},{icon:"bi bi-database-add",label:"Executar Migrations",onClick:this.executaMigrations.bind(this)},{icon:"bi-database-fill-gear",label:"Executar Seeder",onClick:l=>this.go.navigate({route:["panel","seeder"]})},{icon:"bi-database-fill-gear",label:"Job Agendados",onClick:l=>this.go.navigate({route:["panel","job-agendados"]})}],this.filterWhere=l=>[],this.code="PANEL",this.filter=this.fh.FormBuilder({}),this.options.push({icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",onClick:this.consult.bind(this)}),this.options.push({icon:"bi bi-info-circle",label:"Executar Migrations",onClick:this.executaMigrations.bind(this)}),this.options.push({icon:"bi bi-trash",label:"Excluir",onClick:this.deleteTenant.bind(this)}),this.options.push({icon:"bi bi-database-fill-gear",label:"Executar Seeder",onClick:l=>this.go.navigate({route:["panel","seeder"]},{metadata:{tenant_id:l.id}})}),this.options.push({icon:"bi bi-database-fill-gear",label:"Job agendados",onClick:l=>this.go.navigate({route:["panel","job-agendados"]},{metadata:{tenant_id:l.id}})})}dynamicButtons(t){let n=[];return n.push({label:"Apagar dados",icon:"bi bi-database-dash",color:"danger",onClick:this.cleanDB.bind(this)}),n}cleanDB(t){const n=this;this.dialog.confirm("Deseja apagar os dados?","Essa a\xe7\xe3o \xe9 irrevers\xedvel").then(i=>{i&&(n.loading=!0,this.dao.cleanDB(t).then(function(){n.loading=!1,n.dialog.alert("Sucesso","Executado com sucesso!"),window.location.reload()}).catch(function(l){n.loading=!1,n.dialog.alert("Erro",l?.message)}))})}resetDB(t){const n=this;this.dialog.confirm("Deseja Resetar o DB?","Deseja realmente executar o reset?").then(i=>{i&&(n.loading=!0,this.dao.resetDB().then(function(){n.loading=!1,n.dialog.alert("Sucesso","Executado com sucesso!"),window.location.reload()}).catch(function(l){n.loading=!1,n.dialog.alert("Erro",l?.message)}))})}executaMigrations(t){const n=this;this.dialog.confirm("Executar Migration?","Deseja realmente executar as migrations?").then(i=>{i&&this.dao.migrations(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}executaSeeders(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente executar as seeders?").then(i=>{i&&this.dao.seeders(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}executaMigrationTenant(t){const n=this;this.dialog.confirm("Executar Migration?","Deseja realmente executar as migrations?").then(i=>{i&&this.dao.tiposCapacidadesSeeder(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}tipoCapacidadeSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.tiposCapacidadesSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}cidadeSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente executar a seeder de cidades?").then(i=>{i&&this.dao.cidadesSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}usuariosSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.usuarioSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}entidadesSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.entidadeSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}databaseSeeder(t){const n=this;this.dialog.confirm("Executar Seeder?","Deseja realmente atualizar as capacidades?").then(i=>{i&&this.dao.entidadeSeeder(t).then(function(){n.dialog.alert("Sucesso","Seeder executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}deleteTenant(t){const n=this;this.dialog.confirm("Excluir Tenant?","Deseja realmente excluir esse tenant ("+t.id+")? ").then(i=>{i&&this.dao.deleteTenant(t).then(function(){n.dialog.alert("Sucesso","Migration executada com sucesso!")}).catch(function(l){n.dialog.alert("Erro",l?.message)})})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3),e.Y36(y),e.Y36(L.r))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-list"]],viewQuery:function(n,i){if(1&n&&e.Gf(c.M,5),2&n){let l;e.iGM(l=e.CRH())&&(i.grid=l.first)}},features:[e.qOj],decls:18,vars:22,consts:[["title","Painel de entidades (SaaS)",3,"dao","add","orderBy","groupBy","join","hasAdd","hasEdit"],[3,"buttons"],["hidden","",3,"deleted","form","where","submit","clear","collapseChange","collapsed"],["title","ID",3,"template"],["columnId",""],["title","Banco de dados",3,"template"],["columnDb",""],["title","Recursos",3,"template"],["columnRecursos",""],["title","Logs","field","columnLogs"],["columnLogs",""],["type","options",3,"onEdit","options","dynamicButtons"],[3,"rows"],["color","primary","label","M\xf3dulo Sei",4,"ngIf"],["color","primary","label","Integra\xe7\xe3o SIAPE",4,"ngIf"],["color","primary","label","M\xf3dulo Sei"],["color","primary","label","Integra\xe7\xe3o SIAPE"],["color","light","label","Auditoria (Changes)",4,"ngIf"],["color","light","label","Tr\xe1fego (Traffic)",4,"ngIf"],["color","light","label","Erros (Errors)",4,"ngIf"],["color","light","label","Auditoria (Changes)"],["color","light","label","Tr\xe1fego (Traffic)"],["color","light","label","Erros (Errors)"]],template:function(n,i){if(1&n&&(e.TgZ(0,"grid",0),e._UZ(1,"toolbar",1)(2,"filter",2),e.TgZ(3,"columns")(4,"column",3),e.YNc(5,v,5,2,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(7,"column",5),e.YNc(8,r,7,6,"ng-template",null,6,e.W1O),e.qZA(),e.TgZ(10,"column",7),e.YNc(11,Y,2,2,"ng-template",null,8,e.W1O),e.qZA(),e.TgZ(13,"column",9),e.YNc(14,be,3,3,"ng-template",null,10,e.W1O),e.qZA(),e._UZ(16,"column",11),e.qZA(),e._UZ(17,"pagination",12),e.qZA()),2&n){const l=e.MAs(6),a=e.MAs(9),p=e.MAs(12);e.Q6J("dao",i.dao)("add",i.add)("orderBy",i.orderBy)("groupBy",i.groupBy)("join",i.join)("hasAdd",!0)("hasEdit",!0),e.xp6(1),e.Q6J("buttons",i.toolbarButtons),e.xp6(1),e.Q6J("deleted",i.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",i.filter)("where",i.filterWhere.bind(i))("submit",i.filterSubmit.bind(i))("clear",i.filterClear.bind(i))("collapseChange",i.filterCollapseChange.bind(i))("collapsed",i.filterCollapsed),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("template",p),e.xp6(6),e.Q6J("onEdit",i.edit)("options",i.options)("dynamicButtons",i.dynamicButtons.bind(i)),e.xp6(1),e.Q6J("rows",i.rowsLimit)}},dependencies:[h.O5,c.M,M.a,k.b,z.z,P.n,E.Q,u.F]})}return o})();var T=d(8239),V=d(4040),W=d(6384),$=d(1184);let X=(()=>{class o extends S.B{constructor(t){super("Seeder",t),this.injector=t,this.inputSearchConfig.searchFields=["nome"]}getAllSeeder(){return new Promise((t,n)=>{this.server.get("api/"+this.collection+"/getAll").subscribe(i=>{t(this.loadSeederDados(i))},i=>{console.log("Erro ao montar a hierarquia da atividade!",i),t([])})})}loadSeederDados(t){return t}executeSeeder(t,n){return new Promise((i,l)=>{this.server.post("api/"+this.collection+"/execute",{seeder:t,id:n}).subscribe(a=>{i(a||[])},a=>l(a))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var ve=d(2939);let ee=(()=>{class o extends S.B{constructor(t,n){super("JobAgendado",t),this.injector=t,this.http=n,this.inputSearchConfig.searchFields=["nome_do_job"]}getAllJobs(t){const n=`api/${this.collection}/getAll`;return new Promise((l,a)=>{this.server.get(n).subscribe(p=>{l(this.loadJobAgendadoDados(p))},p=>{console.log("Erro ao obter os jobs!",p),a(p)})})}getClassJobs(){const t=`api/${this.collection}/getClassJobs`;return new Promise((n,i)=>{this.server.get(t).subscribe(l=>{n(l)},l=>{console.log("Erro ao obter os jobs!",l),i(l)})})}loadJobAgendadoDados(t){return t}createJob(t,n){const i=`api/${this.collection}/create`;return new Promise((l,a)=>{this.server.post(i,t).subscribe(p=>{l(p)},p=>{console.error("Erro ao criar o job!",p),a(p)})})}deleteJob(t){const n=`api/${this.collection}/delete/${t}`;return new Promise((i,l)=>{this.server.delete(n).subscribe(a=>{i(a)},a=>{console.error("Erro ao deletar o job!",a),l(a)})})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3),e.LFG(ve.eN))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Te=d(8820),te=d(2392),Ie=d(4603),ye=d(4978),we=d(5560),Ce=d(9224);function Se(o,s){if(1&o&&(e.TgZ(0,"div",4),e._UZ(1,"separator",55),e.TgZ(2,"div",4),e._UZ(3,"input-text",56)(4,"input-text",57)(5,"input-text",58),e.qZA(),e.TgZ(6,"div",4),e._UZ(7,"input-text",59)(8,"input-text",60)(9,"input-text",61),e.qZA(),e.TgZ(10,"div",4),e._UZ(11,"input-text",62)(12,"input-text",63)(13,"input-select",64)(14,"input-select",65),e.qZA(),e.TgZ(15,"div",4),e._UZ(16,"input-text",66)(17,"input-text",67),e.qZA()()),2&o){const t=e.oxw();e.xp6(3),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",15),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3)("items",t.lookup.EXISTE_PAGADOR),e.xp6(1),e.Q6J("size",3)("items",t.lookup.TIPO_VINCULO),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250)}}function Oe(o,s){1&o&&(e.TgZ(0,"div",4),e._UZ(1,"separator",68),e.TgZ(2,"div",4),e._UZ(3,"input-text",69)(4,"input-text",70)(5,"input-text",71),e.qZA(),e.TgZ(6,"div",4),e._UZ(7,"input-text",72)(8,"input-text",73)(9,"input-text",74),e.qZA(),e.TgZ(10,"div",4),e._UZ(11,"input-text",75)(12,"input-text",76),e.qZA()()),2&o&&(e.xp6(3),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.xp6(1),e.Q6J("size",4),e.xp6(2),e.Q6J("size",6),e.xp6(1),e.Q6J("size",6))}function Je(o,s){if(1&o&&(e.TgZ(0,"div",4),e._UZ(1,"input-text",77)(2,"input-text",78),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6)("placeholder",t.apiPasswordPlaceholder)}}let B=(()=>{class o extends $.F{constructor(t){super(t,O,y),this.injector=t,this.seeders=[],this.selectedSeeder="",this.encryption=[{key:"SSL",value:"SSL"},{key:"TLS",value:"TLS"}],this.tiposLogin=[{Tipo:"Usu\xe1rio/Senha",Web:"",API:"",Habilitado:!0},{Tipo:"Firebase",Web:"",API:"",Habilitado:!0},{Tipo:"Google (GIS)",Web:"",API:"",Habilitado:!0},{Tipo:"Microsoft (Azure)",Web:"",API:"",Habilitado:!0},{Tipo:"Login \xfanico",Web:"",API:"",Habilitado:!0},{Tipo:"Institucional",Web:"",API:"",Habilitado:!0}],this.validate=(n,i)=>{let l=null;return["id","nome_entidade","abrangencia","email","cpf","nome_usuario","apelido"].indexOf(i)>=0&&!n.value?.length||"codigo_cidade"==i&&!n.value?l="Obrigat\xf3rio":"cpf"==i&&!this.util.validarCPF(n.value)&&(l="Inv\xe1lido"),l},this.seederDao=t.get(X),this.jobAgendadoDao=t.get(ee),this.form=this.fh.FormBuilder({id:{default:""},edition:{default:"MGI"},tenancy_db_name:{default:""},tenancy_db_host:{default:null},tenancy_db_port:{default:3306},tenancy_db_username:{default:null},tenancy_db_password:{default:null},log_traffic:{default:!1},log_changes:{default:!1},log_errors:{default:!0},log_host:{default:null},log_database:{default:null},log_port:{default:3306},log_username:{default:null},log_password:{default:null},notification_petrvs:{default:!0},notification_mail:{default:!1},notification_mail_signature:{default:"assets/images/signature.png"},notification_mail_host:{default:""},notification_mail_port:{default:465},notification_mail_username:{default:""},notification_mail_password:{default:""},notification_mail_encryption:{default:"SSL"},notification_whatsapp:{default:!1},notification_whatsapp_url:{default:""},notification_whatsapp_token:{default:""},email:{default:""},nome_usuario:{default:""},cpf:{default:""},apelido:{default:""},nome_entidade:{default:""},abrangencia:{default:""},codigo_cidade:{default:5300108},login:{default:[]},dominio_url:{default:window.location.hostname},login_google:{default:!1},login_azure:{default:!1},login_login_unico:{default:!1},login_select_entidade:{default:!1},login_google_client_id:{default:""},login_firebase_client_id:{default:""},login_azure_client_id:{default:""},login_azure_secret:{default:""},login_azure_redirect_uri:{default:""},login_login_unico_client_id:{default:""},login_login_unico_secret:{default:""},login_login_unico_redirect:{default:"https://"+window.location.hostname+"/login-unico/"},login_login_unico_code_verifier:{default:""},login_login_unico_code_challenge_method:{default:""},login_login_unico_environment:{default:"staging"},tipo_integracao:{default:null},integracao_auto_incluir:{default:!0},integracao_cod_unidade_raiz:{default:""},integracao_siape_url:{default:""},integracao_siape_upag:{default:""},integracao_siape_sigla:{default:""},integracao_siape_nome:{default:""},integracao_siape_cpf:{default:""},integracao_siape_senha:{default:""},integracao_siape_codorgao:{default:""},integracao_siape_uorg:{default:""},integracao_siape_existepag:{default:""},integracao_siape_tipovinculo:{default:""},integracao_wso2_url:{default:""},integracao_wso2_unidades:{default:""},integracao_wso2_pessoas:{default:""},integracao_wso2_token_url:{default:""},integracao_wso2_token_authorization:{default:""},integracao_wso2_token_acesso:{default:""},integracao_wso2_token_user:{default:""},integracao_wso2_token_password:{default:""},integracao_usuario_comum:{default:"Participante"},integracao_usuario_chefe:{default:"Chefia de Unidade Executora"},modulo_sei_habilitado:{default:!1},modulo_sei_private_key:{default:""},modulo_sei_public_key:{default:""},modulo_sei_url:{default:""},api_username:{default:""},api_password:{default:""}},this.cdRef,this.validate),this.formLogin=this.fh.FormBuilder({Tipo:{default:""},Web:{default:""},API:{default:""},Habilitado:{default:!1}})}ngOnInit(){super.ngOnInit(),this.loadSeeders()}loadSeeders(){var t=this;return(0,T.Z)(function*(){const n=yield t.seederDao.getAllSeeder();n&&(t.seeders=n)})()}onSeederChange(t){this.selectedSeeder=t.target.value}executeSeeder(t){this.selectedSeeder?this.seederDao.executeSeeder(this.selectedSeeder).then(n=>{n&&"object"==typeof n&&"message"in n?(this.dialog.alert("Sucesso",String(n?.message)),console.log("Seeder executado com sucesso:",n)):console.error('Resposta inv\xe1lida ou sem propriedade "message":',n)},n=>{console.error("Erro ao executar seeder:",n),alert(n.error&&n.error.message?n.error.message:"Erro desconhecido")}):alert("Por favor, selecione um seeder para executar.")}onSelectTab(t){var n=this;return(0,T.Z)(function*(){n.viewInit&&n.saveUsuarioConfig({active_tab:t.key})})()}loadData(t,n){var i=this;return(0,T.Z)(function*(){let l=Object.assign({},n.value);l.login=i.tiposLogin||[],n.patchValue(i.util.fillForm(l,t)),n.get("api_password")?.setValue("")})()}initializeData(t){var n=this;return(0,T.Z)(function*(){n.entity=yield n.dao.getById(n.urlParams.get("id"),n.join),yield n.loadData(n.entity,t)})()}saveData(t){var n=this;return(0,T.Z)(function*(){return new Promise((i,l)=>{const a=n.util.fill(new O,n.entity);i(n.util.fillForm(a,n.form.value))})})()}gerarCertificado(){var t=this;return(0,T.Z)(function*(){let n=yield t.dao.generateCertificateKeys();t.form.controls.modulo_sei_private_key.setValue(n.private_key),t.form.controls.modulo_sei_public_key.setValue(n.public_key)})()}copiarPublicKeyClipboard(){this.util.copyToClipboard(this.form.controls.modulo_sei_public_key.value)}get apiPasswordPlaceholder(){return""===this.form?.controls.api_username.value?"Informe a senha da API":"Informe para alterar a senha"}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-form"]],viewQuery:function(n,i){if(1&n&&(e.Gf(V.Q,5),e.Gf(c.M,5),e.Gf(W.n,5)),2&n){let l;e.iGM(l=e.CRH())&&(i.editableForm=l.first),e.iGM(l=e.CRH())&&(i.grid=l.first),e.iGM(l=e.CRH())&&(i.tabs=l.first)}},features:[e.qOj],decls:71,vars:75,consts:[[3,"form","disabled","title","submit","cancel"],["right","",3,"title","select"],["key","PRINCIPAL","label","Principal"],["title","Entidade"],[1,"row"],["label","Edi\xe7\xe3o","controlName","edition",3,"size","items"],["label","SIGLA","controlName","id",3,"size","disabled"],["label","Nome","controlName","nome_entidade",3,"size"],["label","Abrang\xeancia","controlName","abrangencia",3,"size","items"],["label","Cod. IBGE","icon","bi bi-clock",3,"size","control"],["label","Dom\xednio","controlName","dominio_url",3,"size"],["title","Super Usu\xe1rio"],["label","Email","controlName","email",3,"size"],["label","Nome","controlName","nome_usuario",3,"size"],["label","CPF","controlName","cpf",3,"size"],["label","Apelido","controlName","apelido",3,"size"],["title","Notifica\xe7\xf5es","hidden","true"],["hidden","true",1,"row"],[1,"col-md-6"],["scale","small","labelPosition","right","label","Petrvs (Dentro do sistema)","controlName","notification_petrvs",3,"size"],["scale","small","labelPosition","right","label","E-mail","controlName","notification_mail",3,"size"],["scale","small","labelPosition","right","label","WhatsApp","controlName","notification_whatsapp",3,"size"],["title","WhatsApp"],["label","URL","controlName","notification_whatsapp_url",3,"size"],["label","Token","controlName","notification_whatsapp_token",3,"size"],["title","E-mail"],["label","Imagem assinatura","controlName","notification_mail_signature",3,"size"],["label","Host","controlName","notification_mail_host",3,"size"],["label","Porta","controlName","notification_mail_port",3,"size"],["label","Protocolo","controlName","notification_mail_encryption",3,"size","items"],["label","Usu\xe1rio","controlName","notification_mail_username",3,"size"],["password","","label","Senha","controlName","notification_mail_password",3,"size"],["key","LOGIN","label","Login"],["title","Google"],["label","Google Client ID","controlName","login_google_client_id",3,"size"],["label","Firebase Project ID","controlName","login_firebase_client_id",3,"size"],["scale","large","labelPosition","right","label","","controlName","login_google",3,"size"],["title","Microsoft"],["label","Azure Client ID","controlName","login_azure_client_id",3,"size"],["label","Azure Client Secret","controlName","login_azure_secret",3,"size"],["label","Azure Redirect URI","controlName","login_azure_redirect_uri",3,"size"],["scale","large","labelPosition","right","label","","controlName","login_azure",3,"size"],["title","Login GOVBr"],["label","Ambiente","controlName","login_login_unico_environment",3,"size","items"],["label","Code Verifier","controlName","login_login_unico_code_verifier",3,"size"],["label","Challenge Method","controlName","login_login_unico_code_challenge_method",3,"size"],["scale","large","labelPosition","right","label","","controlName","login_login_unico",3,"size"],["label","Client ID","controlName","login_login_unico_client_id",3,"size"],["label","Secret","controlName","login_login_unico_secret",3,"size"],["label","Redirect","disabled","true","controlName","login_login_unico_redirect",3,"size"],["key","INTEGRACAO","label","Integra\xe7\xe3o"],["label","Tipo da Integra\xe7\xe3o","controlName","tipo_integracao",3,"size","items"],["labelPosition","top","label","Auto-incluir","controlName","integracao_auto_incluir",3,"size"],["label","Codigo unidade raiz","controlName","integracao_cod_unidade_raiz",3,"size"],["class","row",4,"ngIf"],["title","Siape-WS","labeInfo","As informa\xe7\xf5es dessa tela s\xe3o referentes \xe0s inseridas no cadastro do SIAPE"],["label","URL","controlName","integracao_siape_url",3,"size"],["label","Upag","controlName","integracao_siape_upag",3,"size"],["label","Sigla do Sistema","controlName","integracao_siape_sigla",3,"size"],["label","Nome do Sistema","controlName","integracao_siape_nome",3,"size"],["label","CPF","controlName","integracao_siape_cpf",3,"size"],["label","Senha","controlName","integracao_siape_senha",3,"size"],["label","Codigo do \xd3rg\xe3o","controlName","integracao_siape_codorgao",3,"size"],["label","Codigo UORG","controlName","integracao_siape_uorg",3,"size"],["label","Existe Pagador","controlName","integracao_siape_existepag",3,"size","items"],["label","Tipo de V\xednculo","controlName","integracao_siape_tipovinculo",3,"size","items"],["label","Perfil Usu\xe1rio Comum","controlName","integracao_usuario_comum",3,"size"],["label","Perfil Usu\xe1rio Chefe","controlName","integracao_usuario_chefe",3,"size"],["title","Siape-PRF"],["label","URL","controlName","integracao_wso2_url",3,"size"],["label","URL Unidades","controlName","integracao_wso2_unidades",3,"size"],["label","URL Pessoas","controlName","integracao_wso2_pessoas",3,"size"],["label","Token URL","controlName","integracao_wso2_token_url",3,"size"],["label","Token AUTHORIZATION","controlName","integracao_wso2_token_authorization",3,"size"],["label","Token Acesso","controlName","integracao_wso2_token_acesso",3,"size"],["label","Token USER","controlName","integracao_wso2_token_user",3,"size"],["label","Token Password","controlName","integracao_wso2_token_password",3,"size"],["label","Nome de Usu\xe1rio","controlName","api_username",3,"size"],["password","","label","Senha","controlName","api_password",3,"size","placeholder"]],template:function(n,i){1&n&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return i.onSaveData()})("cancel",function(){return i.onCancel()}),e.TgZ(1,"tabs",1)(2,"tab",2),e._UZ(3,"separator",3),e.TgZ(4,"div",4),e._UZ(5,"input-select",5)(6,"input-text",6)(7,"input-text",7),e.qZA(),e.TgZ(8,"div",4),e._UZ(9,"input-select",8)(10,"input-number",9)(11,"input-text",10),e.qZA(),e._UZ(12,"separator",11),e.TgZ(13,"div",4),e._UZ(14,"input-text",12)(15,"input-text",13),e.qZA(),e.TgZ(16,"div",4),e._UZ(17,"input-text",14)(18,"input-text",15),e.qZA(),e._UZ(19,"separator",16),e.TgZ(20,"div",17)(21,"div",18)(22,"div",4),e._UZ(23,"input-switch",19)(24,"input-switch",20)(25,"input-switch",21),e.qZA(),e._UZ(26,"separator",22),e.TgZ(27,"div",4),e._UZ(28,"input-text",23),e.qZA(),e.TgZ(29,"div",4),e._UZ(30,"input-text",24),e.qZA()(),e.TgZ(31,"div",18),e._UZ(32,"separator",25),e.TgZ(33,"div",4),e._UZ(34,"input-text",26),e.qZA(),e.TgZ(35,"div",4),e._UZ(36,"input-text",27)(37,"input-number",28)(38,"input-select",29),e.qZA(),e.TgZ(39,"div",4),e._UZ(40,"input-text",30)(41,"input-text",31),e.qZA()()()(),e.TgZ(42,"tab",32),e._UZ(43,"separator",33),e.TgZ(44,"div",4),e._UZ(45,"input-text",34)(46,"input-text",35)(47,"input-switch",36),e.qZA(),e._UZ(48,"separator",37),e.TgZ(49,"div",4),e._UZ(50,"input-text",38)(51,"input-text",39)(52,"input-text",40)(53,"input-switch",41),e.qZA(),e._UZ(54,"separator",42),e.TgZ(55,"div",4),e._UZ(56,"input-select",43)(57,"input-text",44)(58,"input-text",45)(59,"input-switch",46)(60,"input-text",47)(61,"input-text",48)(62,"input-text",49),e.qZA()(),e.TgZ(63,"tab",50)(64,"div",4),e._UZ(65,"input-select",51)(66,"input-switch",52)(67,"input-text",53),e.qZA(),e.YNc(68,Se,18,24,"div",54),e.YNc(69,Oe,13,12,"div",54),e.YNc(70,Je,3,4,"div",54),e.qZA()()()),2&n&&(e.Q6J("form",i.form)("disabled",i.formDisabled)("title",i.isModal?"":i.title),e.xp6(1),e.Q6J("title",i.isModal?"":i.title)("select",i.onSelectTab.bind(i)),e.xp6(4),e.Q6J("size",3)("items",i.lookup.EDICOES),e.xp6(1),e.Q6J("size",3)("disabled","new"==i.action?void 0:"true"),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",3)("items",i.lookup.ABRANGENCIA),e.xp6(1),e.Q6J("size",3)("control",i.form.controls.codigo_cidade),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(3),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",15),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(5),e.Q6J("size",12),e.xp6(1),e.Q6J("size",12),e.xp6(1),e.Q6J("size",12),e.xp6(3),e.Q6J("size",12),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",12),e.xp6(4),e.Q6J("size",12),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(1),e.Q6J("size",4)("items",i.encryption),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",6),e.xp6(4),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(3),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(3),e.Q6J("size",4)("items",i.lookup.GOV_BR_ENV),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",2),e.xp6(1),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",10),e.uIk("maxlength",250),e.xp6(3),e.Q6J("size",4)("items",i.lookup.TIPO_INTEGRACAO),e.xp6(1),e.Q6J("size",2),e.xp6(1),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(1),e.Q6J("ngIf","SIAPE"==(null==i.form?null:i.form.controls.tipo_integracao.value)),e.xp6(1),e.Q6J("ngIf","WSO2"==(null==i.form||null==i.form.controls||null==i.form.controls.tipo_integracao?null:i.form.controls.tipo_integracao.value)),e.xp6(1),e.Q6J("ngIf","API"==(null==i.form?null:i.form.controls.tipo_integracao.value)))},dependencies:[h.O5,V.Q,Te.a,te.m,Ie.p,W.n,ye.i,we.N,Ce.l]})}return o})(),ie=(()=>{class o extends S.B{constructor(t){super("Logs",t),this.injector=t,this.PREFIX_URL="config"}getAllLogs(t){return new Promise((n,i)=>{this.server.post("api/Logs/list",{tenant_id:t||""}).subscribe(l=>{l.error?i(l.error):(console.log(l.data),n(l.data))},l=>i(l))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();class Ze extends A.X{constructor(s){super(),this.id="",this.tenant_id="",this.level="",this.message="",this.initialization(s)}}var Ae=d(8967);function Me(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row,n=e.oxw();e.xp6(1),e.Oqu(n.dao.getDateFormatted(t.created_at))}}function ke(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.message)}}function Ee(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.level)}}const Ne=function(){return["id"]};let ne=(()=>{class o extends J.E{constructor(t){super(t,Ze,ie),this.injector=t,this.filterWhere=n=>{let i=this.fixedFilter||[],l=n.value;return l.tenant_id?.length&&i.push(["tenant_id","==",l.tenant_id]),i},this.tenantLogsDaoService=t.get(ie),this.tenantDao=t.get(y),this.title="Painel de Logs Petrvs",this.code="PANEL_LOGS",this.filter=this.fh.FormBuilder({tenant_id:{default:""}})}filterClear(t){t.controls.tenant_id.setValue(""),super.filterClear(t)}ngOnInit(){super.ngOnInit()}filterSubmit(t){return this.queryOptions}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-list-logs"]],features:[e.qOj],decls:15,vars:17,consts:[["title","Painel de entidades (SaaS)",3,"dao","query","orderBy"],[3,"deleted","form","where","submit","clear"],[1,"row"],["controlName","tenant_id","label","SIGLA do Tenant",3,"size","control","dao","fields"],["title","Criado em",3,"template"],["columnData",""],["title","Mensagem",3,"template"],["columnMensagem",""],["title","Tipo",3,"template"],["columnTipo",""],[3,"rows"]],template:function(n,i){if(1&n&&(e.TgZ(0,"grid",0)(1,"filter",1)(2,"div",2),e._UZ(3,"input-search",3),e.qZA()(),e.TgZ(4,"columns")(5,"column",4),e.YNc(6,Me,2,1,"ng-template",null,5,e.W1O),e.qZA(),e.TgZ(8,"column",6),e.YNc(9,ke,2,1,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(11,"column",8),e.YNc(12,Ee,2,1,"ng-template",null,9,e.W1O),e.qZA()(),e._UZ(14,"pagination",10),e.qZA()),2&n){const l=e.MAs(7),a=e.MAs(10),p=e.MAs(13);e.Q6J("dao",i.tenantLogsDaoService)("query",i.query)("orderBy",i.orderBy),e.xp6(1),e.Q6J("deleted",i.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",i.filter)("where",i.filterWhere)("submit",i.filterSubmit.bind(i))("clear",i.filterClear.bind(i)),e.xp6(2),e.Q6J("size",4)("control",i.filter.controls.tenant_id)("dao",i.tenantDao)("fields",e.DdM(16,Ne)),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("template",p),e.xp6(3),e.Q6J("rows",i.rowsLimit)}},dependencies:[c.M,M.a,k.b,z.z,E.Q,Ae.V]})}return o})();var Qe=d(8544),Fe=d(8032),g=d(2133);function Le(o,s){if(1&o&&(e.TgZ(0,"option",9),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function ze(o,s){if(1&o&&(e.TgZ(0,"p",15),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.xp6(1),e.Oqu(t)}}function Pe(o,s){if(1&o&&(e.TgZ(0,"div",10)(1,"div",11)(2,"div",12),e._uU(3,"Output"),e.qZA(),e.TgZ(4,"div",13),e.YNc(5,ze,2,1,"p",14),e.qZA()()()),2&o){const t=e.oxw();e.xp6(5),e.Q6J("ngForOf",t.output)}}let Ve=(()=>{class o extends J.E{constructor(t){super(t,O,y),this.injector=t,this.seeders=[],this.selectedSeeder="",this.output=[],this.seederDao=t.get(X),this.title="Executar Seeder em todos os Tenants"}ngOnInit(){super.ngOnInit(),this.loadSeeders()}loadSeeders(){var t=this;return(0,T.Z)(function*(){t.tenant_id=t.metadata?.tenant_id||null,t.tenant_id&&(t.title="Executar Seeder no Tenant "+t.tenant_id);const n=yield t.seederDao.getAllSeeder();n&&(t.seeders=n)})()}onSeederChange(t){this.selectedSeeder=t.target.value}executeSeeder(t){this.selectedSeeder?this.seederDao.executeSeeder(this.selectedSeeder,this.tenant_id).then(n=>{n&&"object"==typeof n&&"message"in n?(this.dialog.alert("Sucesso",String(n?.message)),this.output=n?.output,console.log("Seeder executado com sucesso:",n)):console.error('Resposta inv\xe1lida ou sem propriedade "message":',n)},n=>{console.error("Erro ao executar seeder:",n),alert(n.error&&n.error.message?n.error.message:"Erro desconhecido")}):alert("Por favor, selecione um seeder para executar.")}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-seeder"]],features:[e.qOj],decls:9,vars:3,consts:[[1,"row"],[1,"col-md-8"],["label","Seeders"],["controlName","selectedSeeder",1,"form-control",3,"change"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-4"],["label","Op\xe7\xf5es"],["fullWidth","","label","Executar",3,"onClick"],["class","col-md-12",4,"ngIf"],[3,"value"],[1,"col-md-12"],[1,"card","text-bg-dark","mb-3","mt-4"],[1,"card-header"],[1,"card-body"],["class","card-text",4,"ngFor","ngForOf"],[1,"card-text"]],template:function(n,i){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"input-container",2)(3,"select",3),e.NdJ("change",function(a){return i.onSeederChange(a)}),e.YNc(4,Le,2,2,"option",4),e.qZA()()(),e.TgZ(5,"div",5)(6,"input-container",6),e._UZ(7,"action-button",7),e.qZA()(),e.YNc(8,Pe,6,1,"div",8),e.qZA()),2&n&&(e.xp6(4),e.Q6J("ngForOf",i.seeders),e.xp6(3),e.Q6J("onClick",i.executeSeeder.bind(i)),e.xp6(1),e.Q6J("ngIf",i.output.length))},dependencies:[h.sg,h.O5,Qe.h,Fe.x,g.YN,g.Kr]})}return o})();class oe extends A.X{constructor(s){super(),this.nome="",this.classe="",this.tenant_id=0,this.minutos=0,this.horas=0,this.dias=0,this.semanas=0,this.meses=0,this.expressao_cron="",this.ativo=!0,this.initialization(s)}}var De=d(8877);function Ue(o,s){if(1&o&&(e.TgZ(0,"option",49),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("value",t.value),e.xp6(1),e.Oqu(t.text)}}function qe(o,s){if(1&o&&(e.TgZ(0,"option",49),e._uU(1),e.qZA()),2&o){const t=s.$implicit;e.Q6J("value",t.value),e.xp6(1),e.Oqu(t.text)}}function Ge(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.nome)}}function Ye(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.classe)}}function Be(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.minutos)}}function He(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.horas)}}function Ke(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.dias)}}function Re(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.semanas)}}function je(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.meses)}}function We(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.expressao_cron.trim())}}function $e(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"button",50),e.NdJ("click",function(){const l=e.CHM(t).row,a=e.oxw();return e.KtG(a.deleteJob(l.id))}),e._UZ(1,"i",51),e.qZA()}}let Xe=(()=>{class o extends J.E{constructor(t){super(t,O,y),this.injector=t,this.jobs=[],this.newJob=new oe,this.showCronInput=!1,this.jobTypes=[],this.tenants=[],this.isRecurring=!1,this.scheduleTime="",this.expressionCron="",this.parameters={},this.isDisabled=!0,this.radioItems=[{key:!0,value:"Sim"},{key:!1,value:"N\xe3o"}],this.jobAgendadoDao=t.get(ee),this.tenantDaoService=t.get(y),this.title="Gerenciar Jobs agendados",this.formGroup=this.fb.group({ativo:[!0]}),this.updateCronExpression()}ngOnInit(){super.ngOnInit(),this.loadTenants(),this.LoadClassJobs(),this.loadJobs()}onInputChange(){this.validateMinutes(),this.validateHours(),this.validateDays(),this.validateMonths(),this.validateWeeks(),this.updateCronExpression()}validateMinutes(){null==this.newJob.minutos&&(this.newJob.minutos=0),this.newJob.minutos<0?this.newJob.minutos=0:this.newJob.minutos>59&&(this.newJob.minutos=59)}validateHours(){null==this.newJob.horas&&(this.newJob.horas=0),this.newJob.horas<0?this.newJob.horas=0:this.newJob.horas>23&&(this.newJob.horas=23)}validateDays(){null==this.newJob.dias&&(this.newJob.dias=0),this.newJob.dias<0?this.newJob.dias=0:this.newJob.dias>31&&(this.newJob.dias=31)}validateMonths(){null==this.newJob.meses&&(this.newJob.meses=0),this.newJob.meses<0?this.newJob.meses=0:this.newJob.meses>12&&(this.newJob.meses=12)}validateWeeks(){null==this.newJob.semanas&&(this.newJob.semanas=0),this.newJob.semanas<0?this.newJob.semanas=0:this.newJob.semanas>7&&(this.newJob.semanas=7)}toggleDisabled(){this.isDisabled=!this.isDisabled}loadTenants(){var t=this;return(0,T.Z)(function*(){try{yield t.tenantDaoService.query().asPromise().then(n=>{console.log(n),t.tenants=n.map(i=>({value:i.id,text:i.id}))})}catch(n){console.error("Erro ao carregar os tenants: ",n)}})()}LoadClassJobs(){var t=this;return(0,T.Z)(function*(){try{const n=yield t.jobAgendadoDao.getClassJobs();console.log(n),n&&(t.jobTypes=Object.keys(n.data).map(i=>({value:i,text:n.data[i]})))}catch(n){console.error("Erro ao carregar os tipos de jobs: ",n)}})()}loadJobs(){var t=this;return(0,T.Z)(function*(){t.tenant_id=t.metadata?.tenant_id||null,t.tenant_id&&(t.title="Gerenciar Jobs agendados do Tenant "+t.tenant_id),console.log(t.tenant_id);try{const n=yield t.jobAgendadoDao.getAllJobs(t.tenant_id);n&&(t.jobs=n.data)}catch(n){console.error("Erro ao carregar os jobs: ",n)}})()}createJob(){if(""!==this.newJob.nome)if(""!==this.newJob.classe)if(0!==this.newJob.tenant_id){if(this.newJob.ativo=this.formGroup.get("ativo")?.value,"string"==typeof this.newJob.parameters&&""===this.newJob.parameters.trim())this.newJob.parameters={};else if("string"==typeof this.newJob.parameters)try{this.newJob.parameters=JSON.parse(this.newJob.parameters)}catch(t){return console.error("Erro ao converter JSON:",t),void alert("JSON inv\xe1lido. Por favor, corrija os dados.")}else(!this.newJob.parameters||0===Object.keys(this.newJob.parameters).length)&&(this.newJob.parameters={});this.jobAgendadoDao.createJob(this.newJob,this.tenant_id).then(t=>{console.log("Job created:",t),this.loadJobs(),this.newJob=new oe,this.newJob.diario=!0,this.newJob.parameters="",this.updateCronExpression()}).catch(t=>{console.error("Error creating job:",t)})}else this.dialog.alert("alerta","A sele\xe7\xe3o do Tenant \xe9 obrigat\xf3rio.");else this.dialog.alert("alerta","A sele\xe7\xe3o do Job \xe9 obrigat\xf3rio.");else this.dialog.alert("alerta","O campo nome \xe9 obrigat\xf3rio.")}deleteJob(t){this.jobAgendadoDao.deleteJob(t).then(()=>{console.log("Job deleted successfully"),this.jobs=this.jobs.filter(n=>n.id!==t)}).catch(n=>{console.error("Error deleting job:",n)})}toggleCronInput(){this.showCronInput=!this.showCronInput,this.showCronInput?(this.newJob.diario=!1,this.newJob.horario=""):this.newJob.expressao_cron=""}updateCronExpression(){this.newJob.expressao_cron=`${0===this.newJob.minutos||null===this.newJob.minutos?"*":this.newJob.minutos} ${0===this.newJob.horas||null===this.newJob.horas?"*":this.newJob.horas} ${0===this.newJob.dias||null===this.newJob.dias?"*":this.newJob.dias} ${0===this.newJob.meses||null===this.newJob.meses?"*":this.newJob.meses} ${0===this.newJob.semanas||null===this.newJob.semanas?"*":this.newJob.semanas}`}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-panel-job-agendados"]],features:[e.qOj],decls:102,vars:28,consts:[[1,"container"],[1,"row","mb-3"],[1,"col-4"],["for","nome"],[1,"text-danger"],["type","text","id","nome","required","true","maxlength","255",1,"form-control",3,"ngModel","ngModelChange"],["for","jobType"],["id","jobType",1,"form-control",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["for","server"],["id","server",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-12"],["for","action"],["type","text","id","action",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-2"],["for","minutos"],["type","number","id","minutos","min","0","max","59","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","horas"],["type","number","id","horas","min","0","max","23","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","dias"],["type","number","id","dias","min","1","max","31","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","meses"],["type","number","id","meses","min","1","max","12","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],["for","semanas"],["type","number","id","semanas","min","0","max","7","placeholder","*",1,"form-control",3,"ngModel","change","ngModelChange"],[3,"items","controlName","form","label","value"],["for","cron"],["type","text","id","cron","placeholder","* * * * * *",1,"form-control",3,"disabled","ngModel","ngModelChange"],[1,"col-12","text-left"],[1,"btn","btn-info",3,"click"],[3,"items"],["title","Nome",3,"template"],["columnNome",""],["title","Job",3,"template"],["columnClasse",""],["title","Minutos",3,"template"],["columnMinutos",""],["title","Horas",3,"template"],["columnHoras",""],["title","Dias",3,"template"],["columnDias",""],["title","Semanas",3,"template"],["columnSemanas",""],["title","Meses",3,"template"],["columnMeses",""],["title","Express\xe3o Cron",3,"template"],["columnTipo",""],["title","A\xe7\xe3o",3,"template"],["columnAction",""],[3,"value"],[1,"btn","btn-danger",3,"click"],[1,"bi","bi-trash"]],template:function(n,i){if(1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"label",3),e._uU(4,"Nome "),e.TgZ(5,"span",4),e._uU(6,"*"),e.qZA()(),e.TgZ(7,"input",5),e.NdJ("ngModelChange",function(a){return i.newJob.nome=a}),e.qZA()(),e.TgZ(8,"div",2)(9,"label",6),e._uU(10,"Job: "),e.TgZ(11,"span",4),e._uU(12,"*"),e.qZA()(),e.TgZ(13,"select",7),e.NdJ("ngModelChange",function(a){return i.newJob.classe=a}),e.YNc(14,Ue,2,2,"option",8),e.qZA()(),e.TgZ(15,"div",2)(16,"label",9),e._uU(17,"Tenant "),e.TgZ(18,"span",4),e._uU(19,"*"),e.qZA()(),e.TgZ(20,"select",10),e.NdJ("ngModelChange",function(a){return i.newJob.tenant_id=a}),e.YNc(21,qe,2,2,"option",8),e.qZA()()(),e.TgZ(22,"div",1)(23,"div",11)(24,"label",12),e._uU(25,"Parametros "),e.TgZ(26,"span",4),e._uU(27,"*"),e.qZA()(),e.TgZ(28,"input",13),e.NdJ("ngModelChange",function(a){return i.newJob.parameters=a}),e.qZA()()(),e.TgZ(29,"div",1)(30,"div",14)(31,"label",15),e._uU(32,"Minutos "),e.TgZ(33,"span",4),e._uU(34,"*"),e.qZA()(),e.TgZ(35,"input",16),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.minutos=a}),e.qZA()(),e.TgZ(36,"div",14)(37,"label",17),e._uU(38,"Horas "),e.TgZ(39,"span",4),e._uU(40,"*"),e.qZA()(),e.TgZ(41,"input",18),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.horas=a}),e.qZA()(),e.TgZ(42,"div",14)(43,"label",19),e._uU(44,"Dias "),e.TgZ(45,"span",4),e._uU(46,"*"),e.qZA()(),e.TgZ(47,"input",20),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.dias=a}),e.qZA()(),e.TgZ(48,"div",14)(49,"label",21),e._uU(50,"Meses "),e.TgZ(51,"span",4),e._uU(52,"*"),e.qZA()(),e.TgZ(53,"input",22),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.meses=a}),e.qZA()(),e.TgZ(54,"div",14)(55,"label",23),e._uU(56,"Semanas "),e.TgZ(57,"span",4),e._uU(58,"*"),e.qZA()(),e.TgZ(59,"input",24),e.NdJ("change",function(){return i.onInputChange()})("ngModelChange",function(a){return i.newJob.semanas=a}),e.qZA()(),e.TgZ(60,"div",14),e._UZ(61,"input-radio",25),e.qZA()(),e.TgZ(62,"div",1)(63,"div",11)(64,"label",26),e._uU(65,"Cron "),e.TgZ(66,"span",4),e._uU(67,"*"),e.qZA()(),e.TgZ(68,"input",27),e.NdJ("ngModelChange",function(a){return i.newJob.expressao_cron=a}),e.qZA()()(),e.TgZ(69,"div",1)(70,"div",28)(71,"button",29),e.NdJ("click",function(){return i.createJob()}),e._uU(72,"Adicionar"),e.qZA()()()(),e.TgZ(73,"grid",30)(74,"columns")(75,"column",31),e.YNc(76,Ge,2,1,"ng-template",null,32,e.W1O),e.qZA(),e.TgZ(78,"column",33),e.YNc(79,Ye,2,1,"ng-template",null,34,e.W1O),e.qZA(),e.TgZ(81,"column",35),e.YNc(82,Be,2,1,"ng-template",null,36,e.W1O),e.qZA(),e.TgZ(84,"column",37),e.YNc(85,He,2,1,"ng-template",null,38,e.W1O),e.qZA(),e.TgZ(87,"column",39),e.YNc(88,Ke,2,1,"ng-template",null,40,e.W1O),e.qZA(),e.TgZ(90,"column",41),e.YNc(91,Re,2,1,"ng-template",null,42,e.W1O),e.qZA(),e.TgZ(93,"column",43),e.YNc(94,je,2,1,"ng-template",null,44,e.W1O),e.qZA(),e.TgZ(96,"column",45),e.YNc(97,We,2,1,"ng-template",null,46,e.W1O),e.qZA(),e.TgZ(99,"column",47),e.YNc(100,$e,2,0,"ng-template",null,48,e.W1O),e.qZA()()()),2&n){const l=e.MAs(77),a=e.MAs(80),p=e.MAs(83),f=e.MAs(86),C=e.MAs(89),Q=e.MAs(92),G=e.MAs(95),$i=e.MAs(98),Xi=e.MAs(101);e.xp6(7),e.Q6J("ngModel",i.newJob.nome),e.xp6(6),e.Q6J("ngModel",i.newJob.classe),e.xp6(1),e.Q6J("ngForOf",i.jobTypes),e.xp6(6),e.Q6J("ngModel",i.newJob.tenant_id),e.xp6(1),e.Q6J("ngForOf",i.tenants),e.xp6(7),e.Q6J("ngModel",i.newJob.parameters),e.xp6(7),e.Q6J("ngModel",i.newJob.minutos),e.xp6(6),e.Q6J("ngModel",i.newJob.horas),e.xp6(6),e.Q6J("ngModel",i.newJob.dias),e.xp6(6),e.Q6J("ngModel",i.newJob.meses),e.xp6(6),e.Q6J("ngModel",i.newJob.semanas),e.xp6(2),e.Q6J("items",i.radioItems)("controlName","ativo")("form",i.formGroup)("label","Ativo")("value",i.newJob.ativo),e.xp6(7),e.Q6J("disabled",i.isDisabled)("ngModel",i.newJob.expressao_cron),e.xp6(5),e.Q6J("items",i.jobs),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("template",p),e.xp6(3),e.Q6J("template",f),e.xp6(3),e.Q6J("template",C),e.xp6(3),e.Q6J("template",Q),e.xp6(3),e.Q6J("template",G),e.xp6(3),e.Q6J("template",$i),e.xp6(3),e.Q6J("template",Xi)}},dependencies:[h.sg,c.M,M.a,k.b,De.f,g.YN,g.Kr,g.Fj,g.wV,g.EJ,g.JJ,g.Q7,g.nD,g.qQ,g.Fd,g.On]})}return o})();var et=d(929);const tt=function(){return["/panel/tenants"]},it=function(){return["/panel/admins"]};let nt=(()=>{class o extends et._{constructor(t,n){super(t),this.injector=t,this.authService=n,this.setTitleUser()}ngOnInit(){}setTitleUser(){this.authService.detailUser().then(t=>{this.title="Bem vindo "+t.nome+" - Voce est\xe1 em Ambiente "+this.gb.ENV})}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3),e.Y36(L.r))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-layout"]],features:[e.qOj],decls:18,vars:5,consts:[[1,"navbar","navbar-dark","bg-dark","fixed-top"],[1,"container-fluid"],["href","#",1,"navbar-brand"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Abrir navega\xe7\xe3o",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarNav",1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["data-bs-toggle","collapse","data-bs-target","#navbarNav",1,"nav-link",3,"routerLink"],[1,"my-2"]],template:function(n,i){1&n&&(e.TgZ(0,"nav",0)(1,"div",1)(2,"a",2),e._uU(3,"Painel SasS - Petrvs"),e.qZA(),e.TgZ(4,"button",3),e._UZ(5,"span",4),e.qZA(),e.TgZ(6,"div",5)(7,"ul",6)(8,"li",7)(9,"a",8),e._uU(10,"Tenants"),e.qZA()(),e.TgZ(11,"li",7)(12,"a",8),e._uU(13,"Usu\xe1rios do painel"),e.qZA()()()()()(),e.TgZ(14,"h4",9),e._uU(15),e.qZA(),e._UZ(16,"hr")(17,"router-outlet")),2&n&&(e.xp6(9),e.Q6J("routerLink",e.DdM(3,tt)),e.xp6(3),e.Q6J("routerLink",e.DdM(4,it)),e.xp6(3),e.Oqu(i.title))},dependencies:[Z.lC,Z.rH]})}return o})();class D extends A.X{constructor(s){super(),this.email="",this.nome="",this.cpf="",this.nivel=1,this.password="",this.initialization(s)}}let U=(()=>{class o extends S.B{constructor(t){super("UserPanel",t),this.injector=t}getAllAdmins(){return new Promise((t,n)=>{this.server.get("api/"+this.collection+"/getAllAdmins").subscribe(i=>{t(i?.data||[])},i=>n(i))})}static#e=this.\u0275fac=function(n){return new(n||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function ot(o,s){1&o&&e._UZ(0,"toolbar")}function lt(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.nome)}}function st(o,s){if(1&o&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&o){const t=s.row;e.xp6(1),e.Oqu(t.email)}}let at=(()=>{class o extends J.E{constructor(t){super(t,D,U),this.injector=t,this.admins=[],this.usersPanelDao=t.get(U),this.join=["tenants"]}ngOnInit(){super.ngOnInit()}dynamicOptions(t){return[]}dynamicButtons(t){let n=[];return n.push({label:"Apagar dados",icon:"bi bi-database-dash",color:"danger",onClick:this.delete}),n}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-admins-list"]],viewQuery:function(n,i){if(1&n&&e.Gf(c.M,5),2&n){let l;e.iGM(l=e.CRH())&&(i.grid=l.first)}},features:[e.qOj],decls:11,vars:15,consts:[[3,"dao","add","orderBy","groupBy","join","selectable","hasAdd","hasEdit","select"],[4,"ngIf"],["title","Nome",3,"template"],["columnNome",""],["title","E-mail",3,"template"],["columnEmail",""],["type","options",3,"onEdit","options","dynamicButtons"],[3,"rows"]],template:function(n,i){if(1&n&&(e.TgZ(0,"grid",0),e.NdJ("select",function(a){return i.onSelect(a)}),e.YNc(1,ot,1,0,"toolbar",1),e.TgZ(2,"columns")(3,"column",2),e.YNc(4,lt,2,1,"ng-template",null,3,e.W1O),e.qZA(),e.TgZ(6,"column",4),e.YNc(7,st,2,1,"ng-template",null,5,e.W1O),e.qZA(),e._UZ(9,"column",6),e.qZA(),e._UZ(10,"pagination",7),e.qZA()),2&n){const l=e.MAs(5),a=e.MAs(8);e.Q6J("dao",i.usersPanelDao)("add",i.add)("orderBy",i.orderBy)("groupBy",i.groupBy)("join",i.join)("selectable",i.selectable)("hasAdd",!0)("hasEdit",!0),e.xp6(1),e.Q6J("ngIf",!i.selectable),e.xp6(2),e.Q6J("template",l),e.xp6(3),e.Q6J("template",a),e.xp6(3),e.Q6J("onEdit",i.edit)("options",i.options)("dynamicButtons",i.dynamicButtons.bind(i)),e.xp6(1),e.Q6J("rows",i.rowsLimit)}},dependencies:[h.O5,c.M,M.a,k.b,P.n,E.Q]})}return o})();var I=d(9838),m=d(2815),H=d(979),K=d(3148),R=d(8206),le=d(7799),_=d(8393),q=d(9705),se=d(5785),rt=d(5315);let ae=(()=>{class o extends rt.s{pathId;ngOnInit(){this.pathId="url(#"+(0,_.Th)()+")"}static \u0275fac=function(){let t;return function(i){return(t||(t=e.n5z(o)))(i||o)}}();static \u0275cmp=e.Xpm({type:o,selectors:[["TimesCircleIcon"]],standalone:!0,features:[e.qOj,e.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){1&n&&(e.O4$(),e.TgZ(0,"svg",0)(1,"g"),e._UZ(2,"path",1),e.qZA(),e.TgZ(3,"defs")(4,"clipPath",2),e._UZ(5,"rect",3),e.qZA()()()),2&n&&(e.Tol(i.getClassNames()),e.uIk("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),e.xp6(1),e.uIk("clip-path",i.pathId),e.xp6(3),e.Q6J("id",i.pathId))},encapsulation:2})}return o})();var re=d(6929),ce=d(2285);function ct(o,s){1&o&&e._UZ(0,"CheckIcon",7),2&o&&(e.Q6J("styleClass","p-checkbox-icon"),e.uIk("aria-hidden",!0))}function dt(o,s){}function ut(o,s){1&o&&e.YNc(0,dt,0,0,"ng-template")}function pt(o,s){if(1&o&&(e.TgZ(0,"span",8),e.YNc(1,ut,1,0,null,9),e.qZA()),2&o){const t=e.oxw(2);e.uIk("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.checkIconTemplate)}}function _t(o,s){if(1&o&&(e.ynx(0),e.YNc(1,ct,1,2,"CheckIcon",5),e.YNc(2,pt,2,2,"span",6),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.checkIconTemplate),e.xp6(1),e.Q6J("ngIf",t.checkIconTemplate)}}function ht(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw();let n;e.xp6(1),e.Oqu(null!==(n=t.label)&&void 0!==n?n:"empty")}}function mt(o,s){1&o&&e.GkF(0)}const N=function(o){return{height:o}},gt=function(o,s,t){return{"p-multiselect-item":!0,"p-highlight":o,"p-disabled":s,"p-focus":t}},ft=function(o){return{"p-highlight":o}},j=function(o){return{$implicit:o}},bt=["container"],xt=["overlay"],vt=["filterInput"],Tt=["focusInput"],It=["items"],yt=["scroller"],wt=["lastHiddenFocusableEl"],Ct=["firstHiddenFocusableEl"],St=["headerCheckbox"];function Ot(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(2);e.xp6(1),e.Oqu(t.label()||"empty")}}function Jt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"TimesCircleIcon",20),e.NdJ("click",function(){e.CHM(t);const i=e.oxw(2).$implicit,l=e.oxw(3);return e.KtG(l.removeOption(i,l.event))}),e.qZA()}2&o&&(e.Q6J("styleClass","p-multiselect-token-icon"),e.uIk("data-pc-section","clearicon")("aria-hidden",!0))}function Zt(o,s){1&o&&e.GkF(0)}function At(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"span",21),e.NdJ("click",function(){e.CHM(t);const i=e.oxw(2).$implicit,l=e.oxw(3);return e.KtG(l.removeOption(i,l.event))}),e.YNc(1,Zt,1,0,"ng-container",22),e.qZA()}if(2&o){const t=e.oxw(5);e.uIk("data-pc-section","clearicon")("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.removeTokenIconTemplate)}}function Mt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Jt,1,3,"TimesCircleIcon",18),e.YNc(2,At,2,3,"span",19),e.BQk()),2&o){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!t.removeTokenIconTemplate),e.xp6(1),e.Q6J("ngIf",t.removeTokenIconTemplate)}}function kt(o,s){if(1&o&&(e.TgZ(0,"div",15,16)(2,"span",17),e._uU(3),e.qZA(),e.YNc(4,Mt,3,2,"ng-container",7),e.qZA()),2&o){const t=s.$implicit,n=e.oxw(3);e.xp6(3),e.Oqu(n.getLabelByValue(t)),e.xp6(1),e.Q6J("ngIf",!n.disabled)}}function Et(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(3);e.xp6(1),e.Oqu(t.placeholder||t.defaultLabel||"empty")}}function Nt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,kt,5,2,"div",14),e.YNc(2,Et,2,1,"ng-container",7),e.BQk()),2&o){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.chipSelectedItems()),e.xp6(1),e.Q6J("ngIf",!t.modelValue()||0===t.modelValue().length)}}function Qt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Ot,2,1,"ng-container",7),e.YNc(2,Nt,3,2,"ng-container",7),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf","comma"===t.display),e.xp6(1),e.Q6J("ngIf","chip"===t.display)}}function Ft(o,s){1&o&&e.GkF(0)}function Lt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"TimesIcon",20),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(2);return e.KtG(l.clear(i))}),e.qZA()}2&o&&(e.Q6J("styleClass","p-multiselect-clear-icon"),e.uIk("data-pc-section","clearicon")("aria-hidden",!0))}function zt(o,s){}function Pt(o,s){1&o&&e.YNc(0,zt,0,0,"ng-template")}function Vt(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"span",24),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(2);return e.KtG(l.clear(i))}),e.YNc(1,Pt,1,0,null,22),e.qZA()}if(2&o){const t=e.oxw(2);e.uIk("data-pc-section","clearicon")("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.clearIconTemplate)}}function Dt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Lt,1,3,"TimesIcon",18),e.YNc(2,Vt,2,3,"span",23),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.clearIconTemplate),e.xp6(1),e.Q6J("ngIf",t.clearIconTemplate)}}function Ut(o,s){if(1&o&&e._UZ(0,"span",27),2&o){const t=e.oxw(2);e.Q6J("ngClass",t.dropdownIcon),e.uIk("data-pc-section","triggericon")("aria-hidden",!0)}}function qt(o,s){1&o&&e._UZ(0,"ChevronDownIcon",28),2&o&&(e.Q6J("styleClass","p-multiselect-trigger-icon"),e.uIk("data-pc-section","triggericon")("aria-hidden",!0))}function Gt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Ut,1,3,"span",25),e.YNc(2,qt,1,3,"ChevronDownIcon",26),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.dropdownIcon),e.xp6(1),e.Q6J("ngIf",!t.dropdownIcon)}}function Yt(o,s){}function Bt(o,s){1&o&&e.YNc(0,Yt,0,0,"ng-template")}function Ht(o,s){if(1&o&&(e.TgZ(0,"span",29),e.YNc(1,Bt,1,0,null,22),e.qZA()),2&o){const t=e.oxw();e.uIk("data-pc-section","triggericon")("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.dropdownIconTemplate)}}function Kt(o,s){1&o&&e.GkF(0)}function Rt(o,s){1&o&&e.GkF(0)}const de=function(o){return{options:o}};function jt(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Rt,1,0,"ng-container",8),e.BQk()),2&o){const t=e.oxw(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t.filterTemplate)("ngTemplateOutletContext",e.VKq(2,de,t.filterOptions))}}function Wt(o,s){1&o&&e._UZ(0,"CheckIcon",28),2&o&&(e.Q6J("styleClass","p-checkbox-icon"),e.uIk("aria-hidden",!0))}function $t(o,s){}function Xt(o,s){1&o&&e.YNc(0,$t,0,0,"ng-template")}function ei(o,s){if(1&o&&(e.TgZ(0,"span",51),e.YNc(1,Xt,1,0,null,8),e.qZA()),2&o){const t=e.oxw(6);e.uIk("aria-hidden",!0),e.xp6(1),e.Q6J("ngTemplateOutlet",t.checkIconTemplate)("ngTemplateOutletContext",e.VKq(3,j,t.allSelected()))}}function ti(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Wt,1,2,"CheckIcon",26),e.YNc(2,ei,2,5,"span",50),e.BQk()),2&o){const t=e.oxw(5);e.xp6(1),e.Q6J("ngIf",!t.checkIconTemplate),e.xp6(1),e.Q6J("ngIf",t.checkIconTemplate)}}const ii=function(o){return{"p-checkbox-disabled":o}},ni=function(o,s,t){return{"p-highlight":o,"p-focus":s,"p-disabled":t}};function oi(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",46),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onToggleAll(i))})("keydown",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onHeaderCheckboxKeyDown(i))}),e.TgZ(1,"div",2)(2,"input",47,48),e.NdJ("focus",function(){e.CHM(t);const i=e.oxw(4);return e.KtG(i.onHeaderCheckboxFocus())})("blur",function(){e.CHM(t);const i=e.oxw(4);return e.KtG(i.onHeaderCheckboxBlur())}),e.qZA()(),e.TgZ(4,"div",49),e.YNc(5,ti,3,2,"ng-container",7),e.qZA()()}if(2&o){const t=e.oxw(4);e.Q6J("ngClass",e.VKq(9,ii,t.disabled||t.toggleAllDisabled)),e.xp6(1),e.uIk("data-p-hidden-accessible",!0),e.xp6(1),e.Q6J("readonly",t.readonly)("disabled",t.disabled||t.toggleAllDisabled),e.uIk("checked",t.allSelected())("aria-label",t.toggleAllAriaLabel),e.xp6(2),e.Q6J("ngClass",e.kEZ(11,ni,t.allSelected(),t.headerCheckboxFocus,t.disabled||t.toggleAllDisabled)),e.uIk("aria-checked",t.allSelected()),e.xp6(1),e.Q6J("ngIf",t.allSelected())}}function li(o,s){1&o&&e._UZ(0,"SearchIcon",28),2&o&&e.Q6J("styleClass","p-multiselect-filter-icon")}function si(o,s){}function ai(o,s){1&o&&e.YNc(0,si,0,0,"ng-template")}function ri(o,s){if(1&o&&(e.TgZ(0,"span",56),e.YNc(1,ai,1,0,null,22),e.qZA()),2&o){const t=e.oxw(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t.filterIconTemplate)}}function ci(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",52)(1,"input",53,54),e.NdJ("input",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onFilterInputChange(i))})("keydown",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onFilterKeyDown(i))})("click",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onInputClick(i))})("blur",function(i){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onFilterBlur(i))}),e.qZA(),e.YNc(3,li,1,1,"SearchIcon",26),e.YNc(4,ri,2,1,"span",55),e.qZA()}if(2&o){const t=e.oxw(4);e.xp6(1),e.Q6J("value",t._filterValue()||"")("disabled",t.disabled),e.uIk("autocomplete",t.autocomplete)("placeholder",t.filterPlaceHolder)("aria-owns",t.id+"_list")("aria-activedescendant",t.focusedOptionId)("placeholder",t.filterPlaceHolder)("aria-label",t.ariaFilterLabel),e.xp6(2),e.Q6J("ngIf",!t.filterIconTemplate),e.xp6(1),e.Q6J("ngIf",t.filterIconTemplate)}}function di(o,s){1&o&&e._UZ(0,"TimesIcon",28),2&o&&e.Q6J("styleClass","p-multiselect-close-icon")}function ui(o,s){}function pi(o,s){1&o&&e.YNc(0,ui,0,0,"ng-template")}function _i(o,s){if(1&o&&(e.TgZ(0,"span",57),e.YNc(1,pi,1,0,null,22),e.qZA()),2&o){const t=e.oxw(4);e.xp6(1),e.Q6J("ngTemplateOutlet",t.closeIconTemplate)}}function hi(o,s){if(1&o){const t=e.EpF();e.YNc(0,oi,6,15,"div",42),e.YNc(1,ci,5,10,"div",43),e.TgZ(2,"button",44),e.NdJ("click",function(i){e.CHM(t);const l=e.oxw(3);return e.KtG(l.close(i))}),e.YNc(3,di,1,1,"TimesIcon",26),e.YNc(4,_i,2,1,"span",45),e.qZA()}if(2&o){const t=e.oxw(3);e.Q6J("ngIf",t.showToggleAll&&!t.selectionLimit),e.xp6(1),e.Q6J("ngIf",t.filter),e.xp6(2),e.Q6J("ngIf",!t.closeIconTemplate),e.xp6(1),e.Q6J("ngIf",t.closeIconTemplate)}}function mi(o,s){if(1&o&&(e.TgZ(0,"div",39),e.Hsn(1),e.YNc(2,Kt,1,0,"ng-container",22),e.YNc(3,jt,2,4,"ng-container",40),e.YNc(4,hi,5,4,"ng-template",null,41,e.W1O),e.qZA()),2&o){const t=e.MAs(5),n=e.oxw(2);e.xp6(2),e.Q6J("ngTemplateOutlet",n.headerTemplate),e.xp6(1),e.Q6J("ngIf",n.filterTemplate)("ngIfElse",t)}}function gi(o,s){1&o&&e.GkF(0)}const ue=function(o,s){return{$implicit:o,options:s}};function fi(o,s){if(1&o&&e.YNc(0,gi,1,0,"ng-container",8),2&o){const t=s.$implicit,n=s.options;e.oxw(2);const i=e.MAs(8);e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.WLB(2,ue,t,n))}}function bi(o,s){1&o&&e.GkF(0)}function xi(o,s){if(1&o&&e.YNc(0,bi,1,0,"ng-container",8),2&o){const t=s.options,n=e.oxw(4);e.Q6J("ngTemplateOutlet",n.loaderTemplate)("ngTemplateOutletContext",e.VKq(2,de,t))}}function vi(o,s){1&o&&(e.ynx(0),e.YNc(1,xi,1,4,"ng-template",60),e.BQk())}function Ti(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"p-scroller",58,59),e.NdJ("onLazyLoad",function(i){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onLazyLoad.emit(i))}),e.YNc(2,fi,1,5,"ng-template",13),e.YNc(3,vi,2,0,"ng-container",7),e.qZA()}if(2&o){const t=e.oxw(2);e.Akn(e.VKq(9,N,t.scrollHeight)),e.Q6J("items",t.visibleOptions())("itemSize",t.virtualScrollItemSize||t._itemSize)("autoSize",!0)("tabindex",-1)("lazy",t.lazy)("options",t.virtualScrollOptions),e.xp6(3),e.Q6J("ngIf",t.loaderTemplate)}}function Ii(o,s){1&o&&e.GkF(0)}const yi=function(){return{}};function wi(o,s){if(1&o&&(e.ynx(0),e.YNc(1,Ii,1,0,"ng-container",8),e.BQk()),2&o){e.oxw();const t=e.MAs(8),n=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",e.WLB(3,ue,n.visibleOptions(),e.DdM(2,yi)))}}function Ci(o,s){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw(2).$implicit,n=e.oxw(3);e.xp6(1),e.Oqu(n.getOptionGroupLabel(t.optionGroup))}}function Si(o,s){1&o&&e.GkF(0)}function Oi(o,s){if(1&o&&(e.ynx(0),e.TgZ(1,"li",65),e.YNc(2,Ci,2,1,"span",7),e.YNc(3,Si,1,0,"ng-container",8),e.qZA(),e.BQk()),2&o){const t=e.oxw(),n=t.index,i=t.$implicit,l=e.oxw().options,a=e.oxw(2);e.xp6(1),e.Q6J("ngStyle",e.VKq(5,N,l.itemSize+"px")),e.uIk("id",a.id+"_"+a.getOptionIndex(n,l)),e.xp6(1),e.Q6J("ngIf",!a.groupTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",a.groupTemplate)("ngTemplateOutletContext",e.VKq(7,j,i.optionGroup))}}function Ji(o,s){if(1&o){const t=e.EpF();e.ynx(0),e.TgZ(1,"p-multiSelectItem",66),e.NdJ("onClick",function(i){e.CHM(t);const l=e.oxw().index,a=e.oxw().options,p=e.oxw(2);return e.KtG(p.onOptionSelect(i,!1,p.getOptionIndex(l,a)))})("onMouseEnter",function(i){e.CHM(t);const l=e.oxw().index,a=e.oxw().options,p=e.oxw(2);return e.KtG(p.onOptionMouseEnter(i,p.getOptionIndex(l,a)))}),e.qZA(),e.BQk()}if(2&o){const t=e.oxw(),n=t.index,i=t.$implicit,l=e.oxw().options,a=e.oxw(2);e.xp6(1),e.Q6J("id",a.id+"_"+a.getOptionIndex(n,l))("option",i)("selected",a.isSelected(i))("label",a.getOptionLabel(i))("disabled",a.isOptionDisabled(i))("template",a.itemTemplate)("checkIconTemplate",a.checkIconTemplate)("itemSize",l.itemSize)("focused",a.focusedOptionIndex()===a.getOptionIndex(n,l))("ariaPosInset",a.getAriaPosInset(a.getOptionIndex(n,l)))("ariaSetSize",a.ariaSetSize)}}function Zi(o,s){if(1&o&&(e.YNc(0,Oi,4,9,"ng-container",7),e.YNc(1,Ji,2,11,"ng-container",7)),2&o){const t=s.$implicit,n=e.oxw(3);e.Q6J("ngIf",n.isOptionGroup(t)),e.xp6(1),e.Q6J("ngIf",!n.isOptionGroup(t))}}function Ai(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.emptyFilterMessageLabel," ")}}function Mi(o,s){1&o&&e.GkF(0,null,68)}function ki(o,s){if(1&o&&(e.TgZ(0,"li",67),e.YNc(1,Ai,2,1,"ng-container",40),e.YNc(2,Mi,2,0,"ng-container",22),e.qZA()),2&o){const t=e.oxw().options,n=e.oxw(2);e.Q6J("ngStyle",e.VKq(4,N,t.itemSize+"px")),e.xp6(1),e.Q6J("ngIf",!n.emptyFilterTemplate&&!n.emptyTemplate)("ngIfElse",n.emptyFilter),e.xp6(1),e.Q6J("ngTemplateOutlet",n.emptyFilterTemplate||n.emptyTemplate)}}function Ei(o,s){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.emptyMessageLabel," ")}}function Ni(o,s){1&o&&e.GkF(0,null,69)}function Qi(o,s){if(1&o&&(e.TgZ(0,"li",67),e.YNc(1,Ei,2,1,"ng-container",40),e.YNc(2,Ni,2,0,"ng-container",22),e.qZA()),2&o){const t=e.oxw().options,n=e.oxw(2);e.Q6J("ngStyle",e.VKq(4,N,t.itemSize+"px")),e.xp6(1),e.Q6J("ngIf",!n.emptyTemplate)("ngIfElse",n.empty),e.xp6(1),e.Q6J("ngTemplateOutlet",n.emptyTemplate)}}function Fi(o,s){if(1&o&&(e.TgZ(0,"ul",61,62),e.YNc(2,Zi,2,2,"ng-template",63),e.YNc(3,ki,3,6,"li",64),e.YNc(4,Qi,3,6,"li",64),e.qZA()),2&o){const t=s.$implicit,n=s.options,i=e.oxw(2);e.Akn(n.contentStyle),e.Q6J("ngClass",n.contentStyleClass),e.xp6(2),e.Q6J("ngForOf",t),e.xp6(1),e.Q6J("ngIf",i.hasFilter()&&i.isEmpty()),e.xp6(1),e.Q6J("ngIf",!i.hasFilter()&&i.isEmpty())}}function Li(o,s){1&o&&e.GkF(0)}function zi(o,s){if(1&o&&(e.TgZ(0,"div",70),e.Hsn(1,1),e.YNc(2,Li,1,0,"ng-container",22),e.qZA()),2&o){const t=e.oxw(2);e.xp6(2),e.Q6J("ngTemplateOutlet",t.footerTemplate)}}function Pi(o,s){if(1&o){const t=e.EpF();e.TgZ(0,"div",30)(1,"span",31,32),e.NdJ("focus",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onFirstHiddenFocus(i))}),e.qZA(),e.YNc(3,mi,6,3,"div",33),e.TgZ(4,"div",34),e.YNc(5,Ti,4,11,"p-scroller",35),e.YNc(6,wi,2,6,"ng-container",7),e.YNc(7,Fi,5,6,"ng-template",null,36,e.W1O),e.qZA(),e.YNc(9,zi,3,1,"div",37),e.TgZ(10,"span",31,38),e.NdJ("focus",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onLastHiddenFocus(i))}),e.qZA()()}if(2&o){const t=e.oxw();e.Tol(t.panelStyleClass),e.Q6J("ngClass","p-multiselect-panel p-component")("ngStyle",t.panelStyle),e.xp6(1),e.uIk("aria-hidden","true")("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),e.xp6(2),e.Q6J("ngIf",t.showHeader),e.xp6(1),e.Udp("max-height",t.virtualScroll?"auto":t.scrollHeight||"auto"),e.xp6(1),e.Q6J("ngIf",t.virtualScroll),e.xp6(1),e.Q6J("ngIf",!t.virtualScroll),e.xp6(3),e.Q6J("ngIf",t.footerFacet||t.footerTemplate),e.xp6(1),e.uIk("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Vi=[[["p-header"]],[["p-footer"]]],Di=function(o,s){return{$implicit:o,removeChip:s}},Ui=["p-header","p-footer"],qi={provide:g.JU,useExisting:(0,e.Gpc)(()=>pe),multi:!0};let Gi=(()=>{class o{id;option;selected;label;disabled;itemSize;focused;ariaPosInset;ariaSetSize;template;checkIconTemplate;onClick=new e.vpe;onMouseEnter=new e.vpe;onOptionClick(t){this.onClick.emit({originalEvent:t,option:this.option,selected:this.selected})}onOptionMouseEnter(t){this.onMouseEnter.emit({originalEvent:t,option:this.option,selected:this.selected})}static \u0275fac=function(n){return new(n||o)};static \u0275cmp=e.Xpm({type:o,selectors:[["p-multiSelectItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:"selected",label:"label",disabled:"disabled",itemSize:"itemSize",focused:"focused",ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template",checkIconTemplate:"checkIconTemplate"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},decls:6,vars:26,consts:[["pRipple","",1,"p-multiselect-item",3,"ngStyle","ngClass","id","click","mouseenter"],[1,"p-checkbox","p-component"],[1,"p-checkbox-box",3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"]],template:function(n,i){1&n&&(e.TgZ(0,"li",0),e.NdJ("click",function(a){return i.onOptionClick(a)})("mouseenter",function(a){return i.onOptionMouseEnter(a)}),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,_t,3,2,"ng-container",3),e.qZA()(),e.YNc(4,ht,2,1,"span",3),e.YNc(5,mt,1,0,"ng-container",4),e.qZA()),2&n&&(e.Q6J("ngStyle",e.VKq(16,N,i.itemSize+"px"))("ngClass",e.kEZ(18,gt,i.selected,i.disabled,i.focused))("id",i.id),e.uIk("aria-label",i.label)("aria-setsize",i.ariaSetSize)("aria-posinset",i.ariaPosInset)("aria-selected",i.selected)("data-p-focused",i.focused)("data-p-highlight",i.selected)("data-p-disabled",i.disabled),e.xp6(2),e.Q6J("ngClass",e.VKq(22,ft,i.selected)),e.uIk("aria-checked",i.selected),e.xp6(1),e.Q6J("ngIf",i.selected),e.xp6(1),e.Q6J("ngIf",!i.template),e.xp6(1),e.Q6J("ngTemplateOutlet",i.template)("ngTemplateOutletContext",e.VKq(24,j,i.option)))},dependencies:function(){return[h.mk,h.O5,h.tP,h.PC,K.H,q.n]},encapsulation:2})}return o})(),pe=(()=>{class o{el;renderer;cd;zone;filterService;config;overlayService;id;ariaLabel;style;styleClass;panelStyle;panelStyleClass;inputId;disabled;readonly;group;filter=!0;filterPlaceHolder;filterLocale;overlayVisible;tabindex=0;appendTo;dataKey;name;ariaLabelledBy;set displaySelectedLabel(t){this._displaySelectedLabel=t}get displaySelectedLabel(){return this._displaySelectedLabel}set maxSelectedLabels(t){this._maxSelectedLabels=t}get maxSelectedLabels(){return this._maxSelectedLabels}selectionLimit;selectedItemsLabel="{0} items selected";showToggleAll=!0;emptyFilterMessage="";emptyMessage="";resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";showHeader=!0;filterBy;scrollHeight="200px";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;filterMatchMode="contains";tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;autofocusFilter=!0;display="comma";autocomplete="off";showClear=!1;get autoZIndex(){return this._autoZIndex}set autoZIndex(t){this._autoZIndex=t,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get baseZIndex(){return this._baseZIndex}set baseZIndex(t){this._baseZIndex=t,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(t){this._showTransitionOptions=t,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(t){this._hideTransitionOptions=t,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}set defaultLabel(t){this._defaultLabel=t,console.warn("defaultLabel property is deprecated since 16.6.0, use placeholder instead")}get defaultLabel(){return this._defaultLabel}set placeholder(t){this._placeholder=t}get placeholder(){return this._placeholder}get options(){return this._options()}set options(t){this._options.set(t)}get filterValue(){return this._filterValue()}set filterValue(t){this._filterValue.set(t)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get selectAll(){return this._selectAll}set selectAll(t){this._selectAll=t}focusOnHover=!1;filterFields;selectOnFocus=!1;autoOptionFocus=!0;onChange=new e.vpe;onFilter=new e.vpe;onFocus=new e.vpe;onBlur=new e.vpe;onClick=new e.vpe;onClear=new e.vpe;onPanelShow=new e.vpe;onPanelHide=new e.vpe;onLazyLoad=new e.vpe;onRemove=new e.vpe;onSelectAllChange=new e.vpe;containerViewChild;overlayViewChild;filterInputChild;focusInputViewChild;itemsViewChild;scroller;lastHiddenFocusableElementOnOverlay;firstHiddenFocusableElementOnOverlay;headerCheckboxViewChild;footerFacet;headerFacet;templates;searchValue;searchTimeout;_selectAll=null;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_defaultLabel;_placeholder;_itemSize;_selectionLimit;value;_filteredOptions;onModelChange=()=>{};onModelTouched=()=>{};valuesAsString;focus;filtered;itemTemplate;groupTemplate;loaderTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;selectedItemsTemplate;checkIconTemplate;filterIconTemplate;removeTokenIconTemplate;closeIconTemplate;clearIconTemplate;dropdownIconTemplate;headerCheckboxFocus;filterOptions;maxSelectionLimitReached;preventModelTouched;preventDocumentDefault;focused=!1;itemsWrapper;_displaySelectedLabel=!0;_maxSelectedLabels=3;modelValue=(0,e.tdS)(null);_filterValue=(0,e.tdS)(null);_options=(0,e.tdS)(null);startRangeIndex=(0,e.tdS)(-1);focusedOptionIndex=(0,e.tdS)(-1);selectedOptions;get containerClass(){return{"p-multiselect p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-multiselect-clearable":this.showClear&&!this.disabled,"p-multiselect-chip":"chip"===this.display,"p-focus":this.focused,"p-inputwrapper-filled":_.gb.isNotEmpty(this.modelValue()),"p-inputwrapper-focus":this.focused||this.overlayVisible}}get inputClass(){return{"p-multiselect-label p-inputtext":!0,"p-placeholder":(this.placeholder||this.defaultLabel)&&(this.label()===this.placeholder||this.label()===this.defaultLabel),"p-multiselect-label-empty":!this.selectedItemsTemplate&&("p-emptylabel"===this.label()||0===this.label().length)}}get panelClass(){return{"p-multiselect-panel p-component":!0,"p-input-filled":"filled"===this.config.inputStyle,"p-ripple-disabled":!1===this.config.ripple}}get labelClass(){return{"p-multiselect-label":!0,"p-placeholder":this.label()===this.placeholder||this.label()===this.defaultLabel,"p-multiselect-label-empty":!(this.placeholder||this.defaultLabel||this.modelValue()&&0!==this.modelValue().length)}}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(I.ws.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(I.ws.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.modelValue()?!!this.modelValue():this.modelValue()||null!=this.modelValue()||null!=this.modelValue()}get isVisibleClearIcon(){return null!=this.modelValue()&&""!==this.modelValue()&&_.gb.isNotEmpty(this.modelValue())&&this.showClear&&!this.disabled&&this.filled}get toggleAllAriaLabel(){return this.config.translation.aria?this.config.translation.aria[this.allSelected()?"selectAll":"unselectAll"]:void 0}get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}visibleOptions=(0,e.Flj)(()=>{const t=this.group?this.flatOptions(this.options):this.options||[];if(this._filterValue()){const n=this.filterService.filter(t,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale);if(this.group){const l=[];return(this.options||[]).forEach(a=>{const f=this.getOptionGroupChildren(a).filter(C=>n.includes(C));f.length>0&&l.push({...a,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...f]})}),this.flatOptions(l)}return n}return t});label=(0,e.Flj)(()=>{let t;const n=this.modelValue();if(n&&n.length&&this.displaySelectedLabel){if(_.gb.isNotEmpty(this.maxSelectedLabels)&&n.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();t="";for(let i=0;i_.gb.isNotEmpty(this.maxSelectedLabels)&&this.modelValue()&&this.modelValue().length>this.maxSelectedLabels?this.modelValue().slice(0,this.maxSelectedLabels):this.modelValue());constructor(t,n,i,l,a,p,f){this.el=t,this.renderer=n,this.cd=i,this.zone=l,this.filterService=a,this.config=p,this.overlayService=f,(0,e.cEC)(()=>{const C=this.modelValue(),Q=this.visibleOptions();Q&&_.gb.isNotEmpty(Q)&&C&&(this.selectedOptions=this.optionValue&&this.optionLabel?Q.filter(G=>C.includes(G[this.optionLabel])||C.includes(G[this.optionValue])):[...C])})}ngOnInit(){this.id=this.id||(0,_.Th)(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:t=>this.onFilterInputChange(t),reset:()=>this.resetFilter()})}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":default:this.itemTemplate=t.template;break;case"group":this.groupTemplate=t.template;break;case"selectedItems":this.selectedItemsTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"filter":this.filterTemplate=t.template;break;case"emptyfilter":this.emptyFilterTemplate=t.template;break;case"empty":this.emptyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"checkicon":this.checkIconTemplate=t.template;break;case"filtericon":this.filterIconTemplate=t.template;break;case"removetokenicon":this.removeTokenIconTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template}})}ngAfterViewInit(){this.overlayVisible&&this.show()}ngAfterViewChecked(){this.filtered&&(this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild?.alignOverlay()},1)}),this.filtered=!1)}flatOptions(t){return(t||[]).reduce((n,i,l)=>{n.push({optionGroup:i,group:!0,index:l});const a=this.getOptionGroupChildren(i);return a&&a.forEach(p=>n.push(p)),n},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()){this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());const t=this.getOptionValue(this.visibleOptions()[this.focusedOptionIndex()]);this.onOptionSelect({originalEvent:null,option:[t]})}}updateModel(t,n){this.value=t,this.onModelChange(t),this.modelValue.set(t)}onInputClick(t){t.stopPropagation(),t.preventDefault(),this.focusedOptionIndex.set(-1)}onOptionSelect(t,n=!1,i=-1){const{originalEvent:l,option:a}=t;if(this.disabled||this.isOptionDisabled(a))return;let f=null;f=this.isSelected(a)?this.modelValue().filter(C=>!_.gb.equals(C,this.getOptionValue(a),this.equalityKey())):[...this.modelValue()||[],this.getOptionValue(a)],this.updateModel(f,l),-1!==i&&this.focusedOptionIndex.set(i),n&&m.p.focus(this.focusInputViewChild?.nativeElement),this.onChange.emit({originalEvent:t,value:f,itemValue:a})}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}onOptionSelectRange(t,n=-1,i=-1){if(-1===n&&(n=this.findNearestSelectedOptionIndex(i,!0)),-1===i&&(i=this.findNearestSelectedOptionIndex(n)),-1!==n&&-1!==i){const l=Math.min(n,i),a=Math.max(n,i),p=this.visibleOptions().slice(l,a+1).filter(f=>this.isValidOption(f)).map(f=>this.getOptionValue(f));this.updateModel(p,t)}}searchFields(){return this.filterFields||[this.optionLabel]}findNearestSelectedOptionIndex(t,n=!1){let i=-1;return this.hasSelectedOption()&&(n?(i=this.findPrevSelectedOptionIndex(t),i=-1===i?this.findNextSelectedOptionIndex(t):i):(i=this.findNextSelectedOptionIndex(t),i=-1===i?this.findPrevSelectedOptionIndex(t):i)),i>-1?i:t}findPrevSelectedOptionIndex(t){const n=this.hasSelectedOption()&&t>0?_.gb.findLastIndex(this.visibleOptions().slice(0,t),i=>this.isValidSelectedOption(i)):-1;return n>-1?n:-1}findFirstFocusedOptionIndex(){const t=this.findFirstSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t}findFirstOptionIndex(){return this.visibleOptions().findIndex(t=>this.isValidOption(t))}findFirstSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}findNextSelectedOptionIndex(t){const n=this.hasSelectedOption()&&tthis.isValidSelectedOption(i)):-1;return n>-1?n+t+1:-1}equalityKey(){return this.optionValue?null:this.dataKey}hasSelectedOption(){return _.gb.isNotEmpty(this.modelValue())}isValidSelectedOption(t){return this.isValidOption(t)&&this.isSelected(t)}isOptionGroup(t){return(this.group||this.optionGroupLabel)&&t.optionGroup&&t.group}isValidOption(t){return t&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))}isOptionDisabled(t){return(this.optionDisabled?_.gb.resolveFieldData(t,this.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled)||this.maxSelectionLimitReached&&!this.isSelected(t)}isSelected(t){const n=this.getOptionValue(t);return(this.modelValue()||[]).some(i=>_.gb.equals(i,n,this.equalityKey()))}isOptionMatched(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}isEmpty(){return!this._options()||this.visibleOptions()&&0===this.visibleOptions().length}getOptionIndex(t,n){return this.virtualScrollerDisabled?t:n&&n.getItemOptions(t).index}getAriaPosInset(t){return(this.optionGroupLabel?t-this.visibleOptions().slice(0,t).filter(n=>this.isOptionGroup(n)).length:t)+1}get ariaSetSize(){return this.visibleOptions().filter(t=>!this.isOptionGroup(t)).length}getLabelByValue(t){const i=(this.group?this.flatOptions(this._options()):this._options()||[]).find(l=>!this.isOptionGroup(l)&&_.gb.equals(this.getOptionValue(l),t,this.equalityKey()));return i?this.getOptionLabel(i):null}getSelectedItemsLabel(){let t=/{(.*?)}/;return t.test(this.selectedItemsLabel)?this.selectedItemsLabel.replace(this.selectedItemsLabel.match(t)[0],this.modelValue().length+""):this.selectedItemsLabel}getOptionLabel(t){return this.optionLabel?_.gb.resolveFieldData(t,this.optionLabel):t&&null!=t.label?t.label:t}getOptionValue(t){return this.optionValue?_.gb.resolveFieldData(t,this.optionValue):!this.optionLabel&&t&&void 0!==t.value?t.value:t}getOptionGroupLabel(t){return this.optionGroupLabel?_.gb.resolveFieldData(t,this.optionGroupLabel):t&&null!=t.label?t.label:t}getOptionGroupChildren(t){return this.optionGroupChildren?_.gb.resolveFieldData(t,this.optionGroupChildren):t.items}onKeyDown(t){if(this.disabled)return void t.preventDefault();const n=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Enter":case"Space":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"ShiftLeft":case"ShiftRight":this.onShiftKey();break;default:if("KeyA"===t.code&&n){const i=this.visibleOptions().filter(l=>this.isValidOption(l)).map(l=>this.getOptionValue(l));this.updateModel(i,t),t.preventDefault();break}!n&&_.gb.isPrintableCharacter(t.key)&&(!this.overlayVisible&&this.show(),this.searchOptions(t,t.key),t.preventDefault())}}onFilterKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0)}}onArrowLeftKey(t,n=!1){n&&this.focusedOptionIndex.set(-1)}onArrowDownKey(t){const n=-1!==this.focusedOptionIndex()?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,this.startRangeIndex(),n),this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault(),t.stopPropagation()}onArrowUpKey(t,n=!1){if(t.altKey&&!n)-1!==this.focusedOptionIndex()&&this.onOptionSelect(t,this.visibleOptions()[this.focusedOptionIndex()]),this.overlayVisible&&this.hide(),t.preventDefault();else{const i=-1!==this.focusedOptionIndex()?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,i,this.startRangeIndex()),this.changeFocusedOptionIndex(t,i),!this.overlayVisible&&this.show(),t.preventDefault()}t.stopPropagation()}onHomeKey(t,n=!1){const{currentTarget:i}=t;if(n)i.setSelectionRange(0,t.shiftKey?i.value.length:0),this.focusedOptionIndex.set(-1);else{let l=t.metaKey||t.ctrlKey,a=this.findFirstOptionIndex();t.shiftKey&&l&&this.onOptionSelectRange(t,a,this.startRangeIndex()),this.changeFocusedOptionIndex(t,a),!this.overlayVisible&&this.show()}t.preventDefault()}onEndKey(t,n=!1){const{currentTarget:i}=t;if(n){const l=i.value.length;i.setSelectionRange(t.shiftKey?0:l,l),this.focusedOptionIndex.set(-1)}else{let l=t.metaKey||t.ctrlKey,a=this.findLastFocusedOptionIndex();t.shiftKey&&l&&this.onOptionSelectRange(t,this.startRangeIndex(),a),this.changeFocusedOptionIndex(t,a),!this.overlayVisible&&this.show()}t.preventDefault()}onPageDownKey(t){this.scrollInView(this.visibleOptions().length-1),t.preventDefault()}onPageUpKey(t){this.scrollInView(0),t.preventDefault()}onEnterKey(t){this.overlayVisible?-1!==this.focusedOptionIndex()&&(t.shiftKey?this.onOptionSelectRange(t,this.focusedOptionIndex()):this.onOptionSelect({originalEvent:t,option:this.visibleOptions()[this.focusedOptionIndex()]})):this.onArrowDownKey(t),t.preventDefault()}onEscapeKey(t){this.overlayVisible&&this.hide(!0),t.preventDefault()}onDeleteKey(t){this.showClear&&(this.clear(t),t.preventDefault())}onTabKey(t,n=!1){n||(this.overlayVisible&&this.hasFocusableElements()?(m.p.focus(t.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),t.preventDefault()):(-1!==this.focusedOptionIndex()&&this.onOptionSelect({originalEvent:t,option:this.visibleOptions()[this.focusedOptionIndex()]}),this.overlayVisible&&this.hide(this.filter)))}onShiftKey(){this.startRangeIndex.set(this.focusedOptionIndex())}onContainerClick(t){if(!(this.disabled||this.readonly||t.target.isSameNode(this.focusInputViewChild?.nativeElement))){if("INPUT"===t.target.tagName||"clearicon"===t.target.getAttribute("data-pc-section")||t.target.closest('[data-pc-section="clearicon"]'))return void t.preventDefault();(!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),this.onClick.emit(t),this.cd.detectChanges()}}onFirstHiddenFocus(t){const n=t.relatedTarget===this.focusInputViewChild?.nativeElement?m.p.getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;m.p.focus(n)}onInputFocus(t){this.focused=!0;const n=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit({originalEvent:t})}onInputBlur(t){this.focused=!1,this.onBlur.emit({originalEvent:t}),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onFilterInputChange(t){let n=t.target.value?.trim();this._filterValue.set(n),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:t,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0)}onLastHiddenFocus(t){const n=t.relatedTarget===this.focusInputViewChild?.nativeElement?m.p.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;m.p.focus(n)}onOptionMouseEnter(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)}onHeaderCheckboxKeyDown(t){if(this.disabled)t.preventDefault();else switch(t.code){case"Space":case"Enter":this.onToggleAll(t)}}onFilterBlur(t){this.focusedOptionIndex.set(-1)}onHeaderCheckboxFocus(){this.headerCheckboxFocus=!0}onHeaderCheckboxBlur(){this.headerCheckboxFocus=!1}onToggleAll(t){if(!this.disabled&&!this.readonly){if(null!==this.selectAll)this.onSelectAllChange.emit({originalEvent:t,checked:!this.allSelected()});else{const n=this.allSelected()?[]:this.visibleOptions().filter(i=>this.isValidOption(i)).map(i=>this.getOptionValue(i));this.updateModel(n,t)}m.p.focus(this.headerCheckboxViewChild.nativeElement),this.headerCheckboxFocus=!0,t.preventDefault(),t.stopPropagation()}}changeFocusedOptionIndex(t,n){this.focusedOptionIndex()!==n&&(this.focusedOptionIndex.set(n),this.scrollInView())}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(t=-1){if(this.itemsViewChild&&this.itemsViewChild.nativeElement){const i=m.p.findSingle(this.itemsViewChild.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedOptionId}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(-1!==t?t:this.focusedOptionIndex())},0)}}get focusedOptionId(){return-1!==this.focusedOptionIndex()?`${this.id}_${this.focusedOptionIndex()}`:null}checkSelectionLimit(){this.maxSelectionLimitReached=!(!this.selectionLimit||!this.value||this.value.length!==this.selectionLimit)}writeValue(t){this.value=t,this.modelValue.set(this.value),this.checkSelectionLimit(),this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}allSelected(){return null!==this.selectAll?this.selectAll:_.gb.isNotEmpty(this.visibleOptions())&&this.visibleOptions().every(t=>this.isOptionGroup(t)||this.isOptionDisabled(t)||this.isSelected(t))}show(t){this.overlayVisible=!0;const n=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),t&&m.p.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}hide(t){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),t&&m.p.focus(this.focusInputViewChild?.nativeElement),this.onPanelHide.emit(),this.cd.markForCheck()}onOverlayAnimationStart(t){switch(t.toState){case"visible":if(this.itemsWrapper=m.p.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-multiselect-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this._options()&&this._options().length)if(this.virtualScroll){const n=_.gb.isNotEmpty(this.modelValue())?this.focusedOptionIndex():-1;-1!==n&&this.scroller?.scrollToIndex(n)}else{let n=m.p.findSingle(this.itemsWrapper,".p-multiselect-item.p-highlight");n&&n.scrollIntoView({block:"nearest",inline:"center"})}this.onPanelShow.emit();case"void":this.itemsWrapper=null,this.onModelTouched()}}resetFilter(){this.filterInputChild&&this.filterInputChild.nativeElement&&(this.filterInputChild.nativeElement.value=""),this._filterValue.set(null),this._filteredOptions=null}close(t){this.hide(),t.preventDefault(),t.stopPropagation()}clear(t){this.value=null,this.checkSelectionLimit(),this.updateModel(null,t),this.selectedOptions=null,this.onClear.emit(),t.stopPropagation()}removeOption(t,n){let i=this.modelValue().filter(l=>!_.gb.equals(l,t,this.equalityKey()));this.updateModel(i,n),n&&n.stopPropagation()}findNextItem(t){let n=t.nextElementSibling;return n?m.p.hasClass(n.children[0],"p-disabled")||m.p.isHidden(n.children[0])||m.p.hasClass(n,"p-multiselect-item-group")?this.findNextItem(n):n.children[0]:null}findPrevItem(t){let n=t.previousElementSibling;return n?m.p.hasClass(n.children[0],"p-disabled")||m.p.isHidden(n.children[0])||m.p.hasClass(n,"p-multiselect-item-group")?this.findPrevItem(n):n.children[0]:null}findNextOptionIndex(t){const n=tthis.isValidOption(i)):-1;return n>-1?n+t+1:t}findPrevOptionIndex(t){const n=t>0?_.gb.findLastIndex(this.visibleOptions().slice(0,t),i=>this.isValidOption(i)):-1;return n>-1?n:t}findLastSelectedOptionIndex(){return this.hasSelectedOption()?_.gb.findLastIndex(this.visibleOptions(),t=>this.isValidSelectedOption(t)):-1}findLastFocusedOptionIndex(){const t=this.findLastSelectedOptionIndex();return t<0?this.findLastOptionIndex():t}findLastOptionIndex(){return _.gb.findLastIndex(this.visibleOptions(),t=>this.isValidOption(t))}searchOptions(t,n){this.searchValue=(this.searchValue||"")+n;let i=-1,l=!1;return-1!==this.focusedOptionIndex()?(i=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(a=>this.isOptionMatched(a)),i=-1===i?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(a=>this.isOptionMatched(a)):i+this.focusedOptionIndex()):i=this.visibleOptions().findIndex(a=>this.isOptionMatched(a)),-1!==i&&(l=!0),-1===i&&-1===this.focusedOptionIndex()&&(i=this.findFirstFocusedOptionIndex()),-1!==i&&this.changeFocusedOptionIndex(t,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),l}activateFilter(){if(this.hasFilter()&&this._options){let t=(this.filterBy||this.optionLabel||"label").split(",");if(this.group){let n=[];for(let i of this.options){let l=this.filterService.filter(this.getOptionGroupChildren(i),t,this.filterValue,this.filterMatchMode,this.filterLocale);l&&l.length&&n.push({...i,[this.optionGroupChildren]:l})}this._filteredOptions=n}else this._filteredOptions=this.filterService.filter(this.options,t,this._filterValue,this.filterMatchMode,this.filterLocale)}else this._filteredOptions=null}hasFocusableElements(){return m.p.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}hasFilter(){return this._filterValue()&&this._filterValue().trim().length>0}static \u0275fac=function(n){return new(n||o)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(I.iZ),e.Y36(I.b4),e.Y36(I.F0))};static \u0275cmp=e.Xpm({type:o,selectors:[["p-multiSelect"]],contentQueries:function(n,i,l){if(1&n&&(e.Suo(l,I.$_,5),e.Suo(l,I.h4,5),e.Suo(l,I.jx,4)),2&n){let a;e.iGM(a=e.CRH())&&(i.footerFacet=a.first),e.iGM(a=e.CRH())&&(i.headerFacet=a.first),e.iGM(a=e.CRH())&&(i.templates=a)}},viewQuery:function(n,i){if(1&n&&(e.Gf(bt,5),e.Gf(xt,5),e.Gf(vt,5),e.Gf(Tt,5),e.Gf(It,5),e.Gf(yt,5),e.Gf(wt,5),e.Gf(Ct,5),e.Gf(St,5)),2&n){let l;e.iGM(l=e.CRH())&&(i.containerViewChild=l.first),e.iGM(l=e.CRH())&&(i.overlayViewChild=l.first),e.iGM(l=e.CRH())&&(i.filterInputChild=l.first),e.iGM(l=e.CRH())&&(i.focusInputViewChild=l.first),e.iGM(l=e.CRH())&&(i.itemsViewChild=l.first),e.iGM(l=e.CRH())&&(i.scroller=l.first),e.iGM(l=e.CRH())&&(i.lastHiddenFocusableElementOnOverlay=l.first),e.iGM(l=e.CRH())&&(i.firstHiddenFocusableElementOnOverlay=l.first),e.iGM(l=e.CRH())&&(i.headerCheckboxViewChild=l.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(n,i){2&n&&e.ekj("p-inputwrapper-filled",i.filled)("p-inputwrapper-focus",i.focused||i.overlayVisible)},inputs:{id:"id",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",inputId:"inputId",disabled:"disabled",readonly:"readonly",group:"group",filter:"filter",filterPlaceHolder:"filterPlaceHolder",filterLocale:"filterLocale",overlayVisible:"overlayVisible",tabindex:"tabindex",appendTo:"appendTo",dataKey:"dataKey",name:"name",ariaLabelledBy:"ariaLabelledBy",displaySelectedLabel:"displaySelectedLabel",maxSelectedLabels:"maxSelectedLabels",selectionLimit:"selectionLimit",selectedItemsLabel:"selectedItemsLabel",showToggleAll:"showToggleAll",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",showHeader:"showHeader",filterBy:"filterBy",scrollHeight:"scrollHeight",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",filterMatchMode:"filterMatchMode",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:"autofocusFilter",display:"display",autocomplete:"autocomplete",showClear:"showClear",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",defaultLabel:"defaultLabel",placeholder:"placeholder",options:"options",filterValue:"filterValue",itemSize:"itemSize",selectAll:"selectAll",focusOnHover:"focusOnHover",filterFields:"filterFields",selectOnFocus:"selectOnFocus",autoOptionFocus:"autoOptionFocus"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onClear:"onClear",onPanelShow:"onPanelShow",onPanelHide:"onPanelHide",onLazyLoad:"onLazyLoad",onRemove:"onRemove",onSelectAllChange:"onSelectAllChange"},features:[e._Bn([qi])],ngContentSelectors:Ui,decls:16,vars:41,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["role","combobox",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","focus","blur","keydown"],["focusInput",""],[1,"p-multiselect-label-container",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass"],[3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-multiselect-trigger"],["class","p-multiselect-trigger-icon",4,"ngIf"],[3,"visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions","visibleChange","onAnimationStart","onHide"],["overlay",""],["pTemplate","content"],["class","p-multiselect-token",4,"ngFor","ngForOf"],[1,"p-multiselect-token"],["token",""],[1,"p-multiselect-token-label"],[3,"styleClass","click",4,"ngIf"],["class","p-multiselect-token-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-multiselect-token-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-multiselect-clear-icon",3,"click",4,"ngIf"],[1,"p-multiselect-clear-icon",3,"click"],["class","p-multiselect-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-multiselect-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-multiselect-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["firstHiddenFocusableEl",""],["class","p-multiselect-header",4,"ngIf"],[1,"p-multiselect-items-wrapper"],[3,"items","style","itemSize","autoSize","tabindex","lazy","options","onLazyLoad",4,"ngIf"],["buildInItems",""],["class","p-multiselect-footer",4,"ngIf"],["lastHiddenFocusableEl",""],[1,"p-multiselect-header"],[4,"ngIf","ngIfElse"],["builtInFilterElement",""],["class","p-checkbox p-component",3,"ngClass","click","keydown",4,"ngIf"],["class","p-multiselect-filter-container",4,"ngIf"],["type","button","pRipple","",1,"p-multiselect-close","p-link","p-button-icon-only",3,"click"],["class","p-multiselect-close-icon",4,"ngIf"],[1,"p-checkbox","p-component",3,"ngClass","click","keydown"],["type","checkbox",3,"readonly","disabled","focus","blur"],["headerCheckbox",""],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],["class","p-checkbox-icon",4,"ngIf"],[1,"p-checkbox-icon"],[1,"p-multiselect-filter-container"],["type","text","role","searchbox",1,"p-multiselect-filter","p-inputtext","p-component",3,"value","disabled","input","keydown","click","blur"],["filterInput",""],["class","p-multiselect-filter-icon",4,"ngIf"],[1,"p-multiselect-filter-icon"],[1,"p-multiselect-close-icon"],[3,"items","itemSize","autoSize","tabindex","lazy","options","onLazyLoad"],["scroller",""],["pTemplate","loader"],["role","listbox","aria-multiselectable","true",1,"p-multiselect-items","p-component",3,"ngClass"],["items",""],["ngFor","",3,"ngForOf"],["class","p-multiselect-empty-message",3,"ngStyle",4,"ngIf"],["role","option",1,"p-multiselect-item-group",3,"ngStyle"],[3,"id","option","selected","label","disabled","template","checkIconTemplate","itemSize","focused","ariaPosInset","ariaSetSize","onClick","onMouseEnter"],[1,"p-multiselect-empty-message",3,"ngStyle"],["emptyFilter",""],["empty",""],[1,"p-multiselect-footer"]],template:function(n,i){1&n&&(e.F$t(Vi),e.TgZ(0,"div",0,1),e.NdJ("click",function(a){return i.onContainerClick(a)}),e.TgZ(2,"div",2)(3,"input",3,4),e.NdJ("focus",function(a){return i.onInputFocus(a)})("blur",function(a){return i.onInputBlur(a)})("keydown",function(a){return i.onKeyDown(a)}),e.qZA()(),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Qt,3,2,"ng-container",7),e.YNc(8,Ft,1,0,"ng-container",8),e.qZA(),e.YNc(9,Dt,3,2,"ng-container",7),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,Gt,3,2,"ng-container",7),e.YNc(12,Ht,2,3,"span",10),e.qZA(),e.TgZ(13,"p-overlay",11,12),e.NdJ("visibleChange",function(a){return i.overlayVisible=a})("onAnimationStart",function(a){return i.onOverlayAnimationStart(a)})("onHide",function(){return i.hide()}),e.YNc(15,Pi,12,18,"ng-template",13),e.qZA()()),2&n&&(e.Tol(i.styleClass),e.Q6J("ngClass",i.containerClass)("ngStyle",i.style),e.uIk("id",i.id),e.xp6(2),e.uIk("data-p-hidden-accessible",!0),e.xp6(1),e.Q6J("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass),e.uIk("aria-disabled",i.disabled)("id",i.inputId)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible)("aria-controls",i.id+"_list")("tabindex",i.disabled?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0),e.xp6(2),e.Q6J("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass),e.xp6(1),e.Q6J("ngClass",i.labelClass),e.xp6(1),e.Q6J("ngIf",!i.selectedItemsTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",i.selectedItemsTemplate)("ngTemplateOutletContext",e.WLB(38,Di,i.selectedOptions,i.removeOption.bind(i))),e.xp6(1),e.Q6J("ngIf",i.isVisibleClearIcon),e.xp6(2),e.Q6J("ngIf",!i.dropdownIconTemplate),e.xp6(1),e.Q6J("ngIf",i.dropdownIconTemplate),e.xp6(1),e.Q6J("visible",i.overlayVisible)("options",i.overlayOptions)("target","@parent")("appendTo",i.appendTo)("autoZIndex",i.autoZIndex)("baseZIndex",i.baseZIndex)("showTransitionOptions",i.showTransitionOptions)("hideTransitionOptions",i.hideTransitionOptions))},dependencies:function(){return[h.mk,h.sg,h.O5,h.tP,h.PC,H.aV,I.jx,le.u,K.H,R.T,q.n,se.W,ae,re.q,ce.v,Gi]},styles:["@layer primeng{.p-multiselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-fluid .p-multiselect{display:flex}.p-multiselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-multiselect-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),Yi=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=e.oAB({type:o});static \u0275inj=e.cJS({imports:[h.ez,H.U8,I.m8,le.z,K.T,R.v,q.n,se.W,ae,re.q,ce.v,q.n,H.U8,I.m8,R.v]})}return o})();const Bi=["tenant"];let _e=(()=>{class o extends $.F{constructor(t){super(t,D,U),this.injector=t,this.items=[],this.itemsSelecionados=[],this.tenants=[],this.validate=(n,i)=>null,this.usersPanelDao=t.get(U),this.tenantsDao=t.get(y),this.join=["tenants"],this.form=this.fh.FormBuilder({nome:{default:""},email:{default:""},password:{default:""},tenants:{default:[]}},this.cdRef,this.validate)}initializeData(t){this.entity=new D,this.loadData(this.entity,t)}loadData(t,n){var i=this;return(0,T.Z)(function*(){let l=Object.assign({},n.value);n.patchValue(i.util.fillForm(l,t)),t.tenants&&(i.itemsSelecionados=t.tenants.map(a=>a.id)),i.loading=!0;try{i.tenants=yield i.tenantsDao.query().asPromise(),i.tenants.forEach(a=>{i.items.push({key:a.id,value:a.nome_entidade})})}finally{i.loading=!1}})()}saveData(t){var n=this;return(0,T.Z)(function*(){return new Promise((i,l)=>{let a=n.util.fill(new D,n.entity);a=n.util.fillForm(a,n.form.value),a.tenants=n.tenants.filter(p=>n.itemsSelecionados.map(f=>f).includes(p.id)),i(a)})})()}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["panel-admins-form"]],viewQuery:function(n,i){if(1&n&&(e.Gf(V.Q,5),e.Gf(Bi,5)),2&n){let l;e.iGM(l=e.CRH())&&(i.editableForm=l.first),e.iGM(l=e.CRH())&&(i.tenant=l.first)}},features:[e.qOj],decls:7,vars:11,consts:[["initialFocus","nome",3,"form","disabled","title","submit","cancel"],[1,"row"],["label","Nome","controlName","nome","required","",3,"size"],["label","E-mail","controlName","email","required","",3,"size"],["label","Senha","controlName","password","required","","password","",3,"size"],[1,"col-md-12","my-3"],["display","chip","optionValue","key","optionLabel","value","placeholder","Selecione os tenants",3,"options","ngModel","showClear","ngModelChange"]],template:function(n,i){1&n&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return i.onSaveData()})("cancel",function(){return i.onCancel()}),e.TgZ(1,"div",1),e._UZ(2,"input-text",2)(3,"input-text",3)(4,"input-text",4),e.TgZ(5,"div",5)(6,"p-multiSelect",6),e.NdJ("ngModelChange",function(a){return i.itemsSelecionados=a}),e.qZA()()()()),2&n&&(e.Q6J("form",i.form)("disabled",i.formDisabled)("title",i.isModal?"":i.title),e.xp6(2),e.Q6J("size",5),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",3),e.xp6(2),e.Q6J("options",i.items)("ngModel",i.itemsSelecionados)("showClear",!0))},dependencies:[V.Q,te.m,g.JJ,g.On,pe]})}return o})();const Hi=[{path:"",component:nt,children:[{path:"tenants",component:xe,runGuardsAndResolvers:"always",data:{title:"Pain\xe9is"}},{path:"tenants/new",component:B,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Painel",modal:!0}},{path:"tenants/:id/edit",component:B,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Painel",modal:!0}},{path:"tenants/:id/consult",component:B,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Painel",modal:!0}},{path:"tenants/:id/logs",component:ne,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Logs",modal:!0}},{path:"seeder",component:Ve,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Executa Seeder no Tenant",modal:!0}},{path:"job-agendados",component:Xe,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Job agendados",modal:!0}},{path:"logs2",component:ne,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Logs",modal:!0}},{path:"admins",component:at,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Consulta admins do painel"}},{path:"admins/new",component:_e,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de usu\xe1rios do painel",modal:!0}},{path:"admins/:id/edit",component:_e,resolve:{config:x.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de usu\xe1rios do painel",modal:!0}},{path:"",redirectTo:"tenants",pathMatch:"full"}]}];let Ki=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#i=this.\u0275inj=e.cJS({imports:[Z.Bz.forChild(Hi),Z.Bz]})}return o})();var Ri=d(2662),ji=d(2864);let Wi=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#i=this.\u0275inj=e.cJS({imports:[h.ez,Ki,Ri.K,ji.UteisModule,g.u5,g.UX,Yi]})}return o})()}}]); \ No newline at end of file diff --git a/back-end/public/667.js b/back-end/public/667.js index 37184b759..a289acde5 100644 --- a/back-end/public/667.js +++ b/back-end/public/667.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[667],{1667:(La,T,n)=>{n.r(T),n.d(T,{ProgramaModule:()=>Sa});var g=n(6733),P=n(5579),p=n(1391),m=n(2314),u=n(8239),I=n(4040),f=n(2214),x=n(9230),y=n(207),S=n(8340),L=n(9055),D=n(1214),_=n(758),R=n(1184),B=n(9367),a=n(755),F=n(8820),N=n(8967),q=n(8935),E=n(2392),w=n(4495),Z=n(4603),G=n(7819),H=n(6384),V=n(4978),k=n(5560),j=n(9224);const Y=["unidade"],W=["tipoAvaliacao"];function K(i,r){if(1&i&&a._UZ(0,"input-select",36),2&i){const t=a.oxw();a.Q6J("size",3)("control",t.form.controls.periodicidade_valor)("items",t.lookup.DIA_SEMANA)}}function X(i,r){if(1&i&&a._UZ(0,"input-number",37),2&i){const t=a.oxw();a.Q6J("size",3)("control",t.form.controls.periodicidade_valor)}}function $(i,r){if(1&i&&a._UZ(0,"input-number",38),2&i){const t=a.oxw();a.Q6J("size",3)("control",t.form.controls.periodicidade_valor)}}const aa=function(){return{instituidora:!0}},ea=function(i){return{filter:i}},ta=function(){return["especie","==","TCR"]},oa=function(i){return[i]},ia=function(){return["SEMANAL","QUINZENAL"]},la=function(){return["MENSAL","BIMESTRAL","TRIMESTRAL","SEMESTRAL"]},na=function(){return["DIAS"]};let A=(()=>{class i extends R.F{constructor(t){super(t,_.i,f.w),this.injector=t,this._tipoAvaliacaoQualitativo=[],this.validate=(o,e)=>{let l=null;return["nome","unidade_id","tipo_avaliacao_plano_trabalho_id","tipo_avaliacao_plano_entrega_id"].indexOf(e)>=0&&!o.value?.length?l="Obrigat\xf3rio":"prazo_max_plano_entrega"==e&&parseInt(o.value||0)>99999?l="Inv\xe1lido":"dias_tolerancia_consolidacao"==e&&parseInt(o.value||0)>10?l="Inv\xe1lido. M\xe1ximo 10 dias":["data_inicio","data_fim"].indexOf(e)>=0&&!this.dao?.validDateTime(o.value)?l="Inv\xe1lido":"periodicidade_valor"==e&&(["SEMANAL","QUINZENAL"].includes(this.form?.controls.periodicidade_consolidacao.value)&&o.value>6&&(l="Inv\xe1lido"),["MENSAL","BIMESTRAL","TRIMESTRAL","SEMESTRAL"].includes(this.form?.controls.periodicidade_consolidacao.value)&&o.value>31&&(l="M\xe1ximo 31"),["DIAS"].includes(this.form?.controls.periodicidade_consolidacao.value)&&o.value<0&&(l="Inv\xe1lido")),l},this.formValidation=o=>{let e=null;return this.form?.controls.data_fim.value&&this.form?.controls.data_inicio.value>this.form?.controls.data_fim.value&&(e="A data do fim n\xe3o pode ser anterior \xe0 data do inicio!"),e},this.titleEdit=o=>"Editando "+this.lex.translate("Programa")+": "+(o?.nome||""),this.unidadeDao=t.get(D.J),this.templateDao=t.get(x.w),this.tipoDocumentoDao=t.get(S.Q),this.tipoAvaliacaoDao=t.get(y.r),this.tipoJustificativaDao=t.get(L.i),this.templateService=t.get(B.E),this.modalWidth=700,this.form=this.fh.FormBuilder({unidade_id:{default:""},nome:{default:""},normativa:{default:""},link_normativa:{default:null},config:{default:null},data_inicio:{default:new Date},data_fim:{default:new Date},template_tcr_id:{default:null},tipo_avaliacao_plano_entrega_id:{default:""},tipo_avaliacao_plano_trabalho_id:{default:""},tipo_documento_tcr_id:{default:null},prazo_max_plano_entrega:{default:365},termo_obrigatorio:{default:!0},periodicidade_consolidacao:{default:"MENSAL"},periodicidade_valor:{default:1},dias_tolerancia_consolidacao:{default:10},registra_comparecimento:{default:!0},plano_trabalho_assinatura_participante:{default:!0},plano_trabalho_assinatura_gestor_lotacao:{default:!0},plano_trabalho_assinatura_gestor_unidade:{default:!0},plano_trabalho_assinatura_gestor_entidade:{default:!1},checklist_avaliacao_entregas_plano_trabalho:{default:[]},checklist_plano_trabalho_texto:{default:""},checklist_avaliacao_entregas_plano_entrega:{default:[]},checklist_plano_entrega_texto:{default:""},plano_trabalho_criterios_avaliacao:{default:[]},plano_trabalho_criterio_avaliacao:{default:""},dias_tolerancia_avaliacao:{default:20},dias_tolerancia_recurso_avaliacao:{default:10},nota_padrao_avaliacao:{default:0},tipo_justificativa_id:{default:null}},this.cdRef,this.validate),this.join=["unidade"]}loadData(t,o){var e=this;return(0,u.Z)(function*(){let l=Object.assign({},o.value);yield Promise.all([e.unidade.loadSearch(t.unidade||t.unidade_id)]),t.plano_trabalho_criterios_avaliacao=t.plano_trabalho_criterios_avaliacao||[],t.checklist_avaliacao_entregas_plano_entrega=t.checklist_avaliacao_entregas_plano_entrega||[],t.checklist_avaliacao_entregas_plano_trabalho=t.checklist_avaliacao_entregas_plano_trabalho||[],o.patchValue(e.util.fillForm(l,t))})()}initializeData(t){t.patchValue(new _.i)}saveData(t){return new Promise((o,e)=>{const l=this.util.fill(new _.i,this.entity);o(this.util.fillForm(l,this.form.value))})}isTipoAvaliacao(t){let o=this.tipoAvaliacao?.selectedEntity;return o?.tipo==t||!o&&"QUANTITATIVO"==t}get tipoAvaliacaoQualitativo(){let o=this.tipoAvaliacao?.selectedEntity?.notas?.map(e=>Object.assign({},{key:e.nota,value:e.nota}))||[];return JSON.stringify(o)!=JSON.stringify(this._tipoAvaliacaoQualitativo)&&(this._tipoAvaliacaoQualitativo=o),this._tipoAvaliacaoQualitativo}addItemHandlePlanoEntregaChecklist(){let t;const o=this.form.controls.checklist_plano_entrega_texto.value,e=this.util.textHash(o);return o?.length&&this.util.validateLookupItem(this.form.controls.checklist_avaliacao_entregas_plano_entrega.value,e)&&(t={key:e,value:this.form.controls.checklist_plano_entrega_texto.value},this.form.controls.checklist_plano_entrega_texto.setValue("")),t}onClickIN(){this.form?.controls.link_normativa?.value?.length&&window.open(this.form?.controls.link_normativa.value)}static#a=this.\u0275fac=function(o){return new(o||i)(a.Y36(a.zs3))};static#e=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-programa-form"]],viewQuery:function(o,e){if(1&o&&(a.Gf(I.Q,5),a.Gf(Y,5),a.Gf(W,5)),2&o){let l;a.iGM(l=a.CRH())&&(e.editableForm=l.first),a.iGM(l=a.CRH())&&(e.unidade=l.first),a.iGM(l=a.CRH())&&(e.tipoAvaliacao=l.first)}},features:[a.qOj],decls:42,vars:82,consts:[["initialFocus","unidade_id",3,"form","disabled","title","submit","cancel"],["display","","right",""],["key","GERAL","label","Geral"],[1,"row"],["label","Unidade Instituidora","controlName","unidade_id","required","",3,"size","dao","selectParams"],["unidade",""],["date","","label","Data de In\xedcio","icon","bi bi-calendar-date","controlName","data_inicio","labelInfo","Data de in\xedcio da vig\xeancia do programa de gest\xe3o na unidade instituidora",3,"size","control"],["date","","label","Data de Fim","icon","bi bi-calendar-date","controlName","data_fim","labelInfo","Data de fim da vig\xeancia do programa de gest\xe3o na unidade instituidora",3,"size","control"],["label","Dura\xe7\xe3o M\xe1x P.E.","icon","bi bi-blockquote-left","controlName","prazo_max_plano_entrega","labelInfo","Limite m\xe1ximo de dias corridos para a dura\xe7\xe3o do plano de entregas a partir da sua data de cria\xe7\xe3o (Zero para n\xe3o limitar)",3,"size","control"],["label","T\xedtulo","icon","bi bi-textarea-t","controlName","nome","required","",3,"size","control"],["label","Normativa","icon","bi bi-blockquote-left","controlName","normativa","labelInfo","Normativa que regula o Programa",3,"size","control"],["iconButton","bi bi-box-arrow-up-right","label","Link Normativa","icon","bi bi-link-45deg","controlName","link_normativa","labelInfo","Link web da instru\xe7\xe3o normativa",3,"size","control","buttonClick"],["key","PLANO_ENTREGA",3,"label"],["controlName","tipo_avaliacao_plano_entrega_id","required","",3,"label","size","dao","labelInfo"],["tipoAvaliacaoEntrega",""],[3,"title"],["label","Checklists das entregas","controlName","checklist_avaliacao_entregas_plano_entrega",3,"size","addItemHandle"],["controlName","checklist_plano_entrega_texto",3,"size"],["key","PLANO_TRABALHO",3,"label"],["scale","small","labelPosition","right","controlName","termo_obrigatorio","label","Se o termo \xe9 obrigat\xf3rio",3,"size","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_participante",3,"size","label","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_gestor_lotacao",3,"size","label","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_gestor_unidade",3,"size","label","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_gestor_entidade",3,"size","label","disabled"],["detailsButton","","labelInfo","Template do termo utilizado no plano de trabalho","controlName","template_tcr_id","required","",3,"label","size","dao","where","selectRoute","details"],["controlName","tipo_documento_tcr_id","labelInfo","Tipo de documento utilizado para exportar o termo para o SEI/SUPER",3,"label","size","dao"],["tipoDocumento",""],["controlName","tipo_avaliacao_plano_trabalho_id","required","",3,"label","size","dao","labelInfo"],["tipoAvaliacao",""],["label","Periodicidade","controlName","periodicidade_consolidacao","labelInfo","Per\xedodo para avalia\xe7\xe3o do plano de trabalho",3,"size","control","items"],["label","Dia da semana","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control","items",4,"ngIf"],["label","Dia do m\xeas","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control",4,"ngIf"],["label","Qtd. de Dias","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control",4,"ngIf"],["label","Toler\xe2ncia","controlName","dias_tolerancia_consolidacao","labelInfo","Dias de toler\xe2ncia para o lan\xe7amento do registro das atividades na consolida\xe7\xe3o, ap\xf3s esses dias ser\xe1 liberado automaticamente para avalia\xe7\xe3o","maxValue","10",3,"size","control"],["label","Toler\xe2ncia p/ avalia\xe7\xe3o","controlName","dias_tolerancia_avaliacao","labelInfo","Dias de toler\xe2ncia para a chefia realizar a avalia\xe7\xe3o ap\xf3s o registro de execu\xe7\xe3o, por parte do participante, segundo o \xa71\xba do art. 20 da IN n\xba 24/2023. Ap\xf3s esse prazo, o registro ser\xe1 considerado como 'N\xe3o avaliado'",3,"size","control","disabled"],["label","Toler\xe2ncia p/ recurso","controlName","dias_tolerancia_recurso_avaliacao","labelInfo","Dias de toler\xe2ncia para recorrer da avalia\xe7\xe3o",3,"size","control","disabled"],["label","Dia da semana","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control","items"],["label","Dia do m\xeas","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control"],["label","Qtd. de Dias","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control"]],template:function(o,e){1&o&&(a.TgZ(0,"editable-form",0),a.NdJ("submit",function(){return e.onSaveData()})("cancel",function(){return e.onCancel()}),a.TgZ(1,"tabs",1)(2,"tab",2)(3,"div",3),a._UZ(4,"input-search",4,5),a.qZA(),a.TgZ(6,"div",3),a._UZ(7,"input-datetime",6)(8,"input-datetime",7)(9,"input-number",8),a.qZA(),a.TgZ(10,"div",3),a._UZ(11,"input-text",9)(12,"input-text",10),a.TgZ(13,"input-button",11),a.NdJ("buttonClick",function(){return e.onClickIN()}),a.qZA()()(),a.TgZ(14,"tab",12),a._UZ(15,"input-search",13,14),a.TgZ(17,"separator",15)(18,"input-multiselect",16),a._UZ(19,"input-text",17),a.qZA()()(),a.TgZ(20,"tab",18),a._UZ(21,"input-switch",19)(22,"input-switch",20)(23,"input-switch",21)(24,"input-switch",22)(25,"input-switch",23),a.TgZ(26,"input-search",24),a.NdJ("details",function(s){return e.templateService.details(s)}),a.qZA(),a._UZ(27,"input-search",25,26)(29,"input-search",27,28),a.TgZ(31,"separator",15)(32,"div",3),a._UZ(33,"input-select",29),a.YNc(34,K,1,3,"input-select",30),a.YNc(35,X,1,2,"input-number",31),a.YNc(36,$,1,2,"input-number",32),a._UZ(37,"input-number",33),a.qZA()(),a.TgZ(38,"separator",15)(39,"div",3),a._UZ(40,"input-number",34)(41,"input-number",35),a.qZA()()()()()),2&o&&(a.Q6J("form",e.form)("disabled",e.formDisabled)("title",e.isModal?"":e.title),a.xp6(4),a.Q6J("size",12)("dao",e.unidadeDao)("selectParams",a.VKq(74,ea,a.DdM(73,aa))),a.xp6(3),a.Q6J("size",4)("control",e.form.controls.data_inicio),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.data_fim),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.prazo_max_plano_entrega),a.xp6(2),a.Q6J("size",4)("control",e.form.controls.nome),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.normativa),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.link_normativa),a.xp6(1),a.Q6J("label",e.lex.translate("Plano de entrega")),a.xp6(1),a.Q6J("label",e.lex.translate("Tipo de avalia\xe7\xe3o do Plano de entrega"))("size",12)("dao",e.tipoAvaliacaoDao)("labelInfo",e.lex.translate("Tipo de avalia\xe7\xe3o")+" que especifica a forma que ser\xe1 avaliado "+e.lex.translate("plano de trabalho")+" e "+e.lex.translate("plano de entrega")),a.xp6(2),a.Q6J("title",e.lex.translate("Avalia\xe7\xe3o")+e.lex.translate(" do Plano de Entrega")),a.xp6(1),a.Q6J("size",12)("addItemHandle",e.addItemHandlePlanoEntregaChecklist.bind(e)),a.xp6(1),a.Q6J("size",12),a.uIk("maxlength",250),a.xp6(1),a.Q6J("label",e.lex.translate("Plano de trabalho")),a.xp6(1),a.Q6J("size",12)("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura "+e.lex.translate("do usu\xe1rio")+e.lex.translate(" do plano de trabalho"))("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura do gestor da lota\xe7\xe3o "+e.lex.translate("do usu\xe1rio")+" (para "+e.lex.translate("unidade")+" distinta)")("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura do gestor "+e.lex.translate("da unidade"))("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura do gestor "+e.lex.translate("da entidade"))("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("label","Template "+e.lex.translate("termo")+" (TCR)")("size",12)("dao",e.templateDao)("where",a.VKq(77,oa,a.DdM(76,ta)))("selectRoute",e.templateService.selectRoute("TCR",null==e.form||null==e.form.controls||null==e.form.controls.template_tcr_id?null:e.form.controls.template_tcr_id.value)),a.xp6(1),a.Q6J("label","Tipo de documento "+e.lex.translate("termo"))("size",12)("dao",e.tipoDocumentoDao),a.xp6(2),a.Q6J("label",e.lex.translate("Tipo de avalia\xe7\xe3o do registro de execu\xe7\xe3o do plano de trabalho"))("size",12)("dao",e.tipoAvaliacaoDao)("labelInfo",e.lex.translate("Tipo de avalia\xe7\xe3o")+" que especifica a forma que ser\xe1 avaliado "+e.lex.translate("plano de trabalho")+" e "+e.lex.translate("plano de entrega")),a.xp6(2),a.Q6J("title",e.lex.translate("Consolida\xe7\xe3o")+e.lex.translate(" do Plano de trabalho")),a.xp6(2),a.Q6J("size",6)("control",e.form.controls.periodicidade_consolidacao)("items",e.lookup.PERIODICIDADE_CONSOLIDACAO),a.xp6(1),a.Q6J("ngIf",a.DdM(79,ia).includes(e.form.controls.periodicidade_consolidacao.value)),a.xp6(1),a.Q6J("ngIf",a.DdM(80,la).includes(e.form.controls.periodicidade_consolidacao.value)),a.xp6(1),a.Q6J("ngIf",a.DdM(81,na).includes(e.form.controls.periodicidade_consolidacao.value)),a.xp6(1),a.Q6J("size",3)("control",e.form.controls.dias_tolerancia_consolidacao),a.xp6(1),a.Q6J("title",e.lex.translate("Avalia\xe7\xe3o")+e.lex.translate(" da Consolida\xe7\xe3o")),a.xp6(2),a.Q6J("size",6)("control",e.form.controls.dias_tolerancia_avaliacao)("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",6)("control",e.form.controls.dias_tolerancia_recurso_avaliacao)("disabled",e.util.isDeveloper()?void 0:"true"))},dependencies:[g.O5,I.Q,F.a,N.V,q.G,E.m,w.k,Z.p,G.p,H.n,V.i,k.N,j.l]})}return i})();var b=n(3150),C=n(8509),O=n(7224),Q=n(3351),U=n(7765),M=n(5512),z=n(2704);function ra(i,r){1&i&&a._UZ(0,"toolbar")}function sa(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA(),a._UZ(2,"br"),a.TgZ(3,"small"),a._uU(4),a.qZA()),2&i){const t=r.row;a.xp6(1),a.hij(" ",t.nome,""),a.xp6(3),a.hij(" ",t.normativa,"")}}function da(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA(),a._UZ(2,"br"),a.TgZ(3,"small"),a._uU(4),a.qZA()),2&i){const t=r.row;a.xp6(1),a.hij(" ",t.unidade.nome,""),a.xp6(3),a.hij(" ",t.unidade.sigla,"")}}function ua(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA(),a._UZ(2,"br")),2&i){const t=r.row,o=a.oxw();a.xp6(1),a.hij(" ",o.dao.getDateFormatted(t.data_inicio),"")}}function ca(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&i){const t=r.row,o=a.oxw();a.xp6(1),a.hij(" ",o.dao.getDateFormatted(t.data_fim),"")}}const pa=function(i){return{metadata:i}};let ma=(()=>{class i extends C.E{constructor(t,o){super(t,_.i,f.w),this.injector=t,this.vigentesUnidadeExecutora=!1,this.todosUnidadeExecutora=!1,this.filterWhere=e=>{let l=[],s=e.value;return this.vigentesUnidadeExecutora&&l.push(["vigentesUnidadeExecutora","==",this.auth.unidade.id]),(this.todosUnidadeExecutora||!this.util.isDeveloper())&&l.push(["todosUnidadeExecutora","==",this.auth.unidade.id]),s.nome?.length&&l.push(["nome","like","%"+s.nome.trim().replace(" ","%")+"%"]),l},this.title=this.lex.translate("Programas de Gest\xe3o"),this.code="MOD_PRGT",this.join=["unidade:id, nome"],this.filter=this.fh.FormBuilder({nome:{default:""}}),this.addOption(this.OPTION_INFORMACOES),this.addOption(this.OPTION_EXCLUIR,"MOD_PRGT_EXCL"),this.addOption(this.OPTION_LOGS,"MOD_AUDIT_LOG"),this.auth.hasPermissionTo("MOD_PART")&&this.options.push({icon:"bi bi-people",label:"Participantes",onClick:e=>this.go.navigate({route:["gestao","programa",e.id,"participantes"]},{metadata:{programa:e}})})}ngOnInit(){super.ngOnInit(),this.vigentesUnidadeExecutora=this.metadata?.vigentesUnidadeExecutora,this.todosUnidadeExecutora=this.metadata?.todosUnidadeExecutora}static#a=this.\u0275fac=function(o){return new(o||i)(a.Y36(a.zs3),a.Y36(f.w))};static#e=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-programa-list"]],viewQuery:function(o,e){if(1&o&&a.Gf(b.M,5),2&o){let l;a.iGM(l=a.CRH())&&(e.grid=l.first)}},features:[a.qOj],decls:20,vars:31,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","addMetadata","select"],[4,"ngIf"],[3,"deleted","form","where","submit","collapseChange","collapsed"],[1,"row"],["controlName","nome",3,"size","label","control","placeholder"],["title","T\xedtulo/Normativa",3,"template"],["columnTituloNormativa",""],["title","Unidade instituidora",3,"template"],["columnUnidadeInstituidora",""],["title","In\xedcio da Vig\xeancia",3,"template"],["columnInicioVigencia",""],["title","Fim da Vig\xeancia",3,"template"],["columnFimVigencia",""],["type","options",3,"onEdit","options"],[3,"rows"]],template:function(o,e){if(1&o&&(a.TgZ(0,"grid",0),a.NdJ("select",function(s){return e.onSelect(s)}),a.YNc(1,ra,1,0,"toolbar",1),a.TgZ(2,"filter",2)(3,"div",3),a._UZ(4,"input-text",4),a.qZA()(),a.TgZ(5,"columns")(6,"column",5),a.YNc(7,sa,5,2,"ng-template",null,6,a.W1O),a.qZA(),a.TgZ(9,"column",7),a.YNc(10,da,5,2,"ng-template",null,8,a.W1O),a.qZA(),a.TgZ(12,"column",9),a.YNc(13,ua,3,1,"ng-template",null,10,a.W1O),a.qZA(),a.TgZ(15,"column",11),a.YNc(16,ca,2,1,"ng-template",null,12,a.W1O),a.qZA(),a._UZ(18,"column",13),a.qZA(),a._UZ(19,"pagination",14),a.qZA()),2&o){const l=a.MAs(8),s=a.MAs(11),d=a.MAs(14),c=a.MAs(17);a.Q6J("dao",e.dao)("add",e.add)("title",e.isModal?"":e.title)("orderBy",e.orderBy)("groupBy",e.groupBy)("join",e.join)("selectable",e.selectable)("hasAdd",e.auth.hasPermissionTo("MOD_PRGT_INCL"))("hasEdit",e.auth.hasPermissionTo("MOD_PRGT_EDT"))("addMetadata",a.VKq(29,pa,e.todosUnidadeExecutora)),a.xp6(1),a.Q6J("ngIf",!e.selectable),a.xp6(1),a.Q6J("deleted",e.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",e.filter)("where",e.filterWhere)("submit",e.filterSubmit.bind(e))("collapseChange",e.filterCollapseChange.bind(e))("collapsed",!e.selectable&&e.filterCollapsed),a.xp6(2),a.Q6J("size",12)("label","Nome do "+e.lex.translate("programa"))("control",e.filter.controls.nome)("placeholder","Nome do "+e.lex.translate("programa")),a.uIk("maxlength",250),a.xp6(2),a.Q6J("template",l),a.xp6(3),a.Q6J("template",s),a.xp6(3),a.Q6J("template",d),a.xp6(3),a.Q6J("template",c),a.xp6(3),a.Q6J("onEdit",e.edit)("options",e.options),a.xp6(1),a.Q6J("rows",e.rowsLimit)}},dependencies:[g.O5,b.M,O.a,Q.b,U.z,M.n,z.Q,E.m]})}return i})();var ga=n(2866),ha=n(1042),fa=n(5255),_a=n(6898),ba=n(5489);const va=["programaSearch"];function Ea(i,r){1&i&&a._UZ(0,"toolbar")}function Aa(i,r){if(1&i&&(a.TgZ(0,"div",19)(1,"span")(2,"strong"),a._uU(3),a.qZA()()()),2&i){const t=a.oxw();a.xp6(3),a.Oqu(t.lex.translate("Usu\xe1rios"))}}function Ta(i,r){if(1&i&&(a.TgZ(0,"strong"),a._uU(1),a.qZA(),a._UZ(2,"br"),a.TgZ(3,"small"),a._uU(4),a.qZA()),2&i){const t=r.row;a.xp6(1),a.Oqu(t.nome),a.xp6(3),a.Oqu(t.apelido)}}function Pa(i,r){if(1&i&&(a.TgZ(0,"small",23),a._uU(1),a.qZA()),2&i){const t=a.oxw().$implicit;a.xp6(1),a.Oqu(t.programa.nome)}}function Ia(i,r){if(1&i&&(a.ynx(0),a.YNc(1,Pa,2,1,"small",22),a.BQk()),2&i){const t=r.$implicit;a.xp6(1),a.Q6J("ngIf",1==t.habilitado)}}function Da(i,r){if(1&i&&(a.TgZ(0,"badge",24),a._uU(1),a.qZA()),2&i){const t=a.oxw(2);a.Q6J("color","danger"),a.xp6(1),a.Oqu(t.lex.translate("Sem participa\xe7\xe3o"))}}function Na(i,r){if(1&i&&(a.YNc(0,Ia,2,1,"ng-container",20),a.YNc(1,Da,2,2,"badge",21)),2&i){const t=r.row;a.Q6J("ngForOf",t.participacoes_programas),a.xp6(1),a.Q6J("ngIf",0==t.participacoes_programas.length)}}function Za(i,r){if(1&i&&(a.TgZ(0,"div")(1,"small"),a._uU(2),a.qZA()()),2&i){const t=r.$implicit;a.xp6(2),a.Oqu(t.unidade.sigla)}}function Ca(i,r){1&i&&a.YNc(0,Za,3,1,"div",20),2&i&&a.Q6J("ngForOf",r.row.areas_trabalho)}function Oa(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&i){const t=r.row,o=a.oxw();a.xp6(1),a.Oqu(o.hasPlanoTrabalhoAtivo(t)?"sim":"n\xe3o")}}const Qa=function(i){return["vigentesUnidadeExecutora","==",i]},Ua=function(i){return[i]},Ma=function(){return{vigentesUnidadeExecutora:!0}};let J=(()=>{class i extends C.E{constructor(t){super(t,_a.b,fa.q),this.injector=t,this.multiselectMenu=[],this.programa=null,this.BOTAO_HABILITAR={label:this.lex.translate("Habilitar"),hint:this.lex.translate("Habilitar"),icon:"bi bi-person-check-fill",color:"btn-outline-success",onClick:this.habilitarParticipante.bind(this)},this.BOTAO_DESABILITAR={label:this.lex.translate("Desabilitar"),hint:this.lex.translate("Desabilitar"),icon:"bi bi-person-x-fill",color:"btn-outline-danger",onClick:this.desabilitarParticipante.bind(this)},this.condicoes=[{key:"1",value:this.lex.translate("Habilitados")},{key:"0",value:this.lex.translate("Desabilitados")}],this.validate=(o,e)=>{let l=null;return["programa_id"].indexOf(e)>=0&&!o.value?.length&&(l="Obrigat\xf3rio"),l},this.filterWhere=o=>{let e=[],l=o.value;return l.unidade_id?.length&&e.push(["lotacao","==",l.unidade_id]),l.nome_usuario?.length&&e.push(["nome","like","%"+l.nome_usuario.trim().replace(" ","%")+"%"]),e.push(["habilitado","==",this.filter?.controls.habilitados.value]),e.push(["programa_id","==",this.programa?.id||this.metadata?.programa.id]),e},this.unidadeDao=t.get(D.J),this.programaParticipanteDao=t.get(ha.U),this.programaDao=t.get(f.w),this.code="MOD_PART",this.filter=this.fh.FormBuilder({programa_id:{default:this.programa?.id},unidade_id:{default:this.auth.unidade?.id},nome_usuario:{default:""},habilitados:{default:null}},this.cdRef,this.validate),this.auth.hasPermissionTo("MOD_PART_HAB")&&this.multiselectMenu.push({icon:"bi bi-person-check-fill",label:this.lex.translate("Habilitar"),color:"btn-outline-success",onClick:this.habilitarParticipantes.bind(this)}),this.auth.hasPermissionTo("MOD_PART_DESAB")&&this.multiselectMenu.push({icon:"bi bi-person-x-fill",label:this.lex.translate("Desabilitar"),color:"btn-outline-danger",onClick:this.desabilitarParticipantes.bind(this)}),this.join=["areasTrabalho.unidade:id,sigla","planos_trabalho:id,status","participacoes_programas.programa:id"],this.title=this.lex.translate("Habilita\xe7\xf5es"),this.orderBy=[["nome","asc"]]}dynamicButtons(t){let o=[];return this.auth.hasPermissionTo("MOD_PART_HAB")&&!this.isHabilitado(t)&&o.push(this.BOTAO_HABILITAR),this.auth.hasPermissionTo("MOD_PART_DESAB")&&this.isHabilitado(t)&&o.push(this.BOTAO_DESABILITAR),o}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),this.grid.BUTTON_MULTISELECT_SELECIONAR="Marcar",this.grid.BUTTON_MULTISELECT_CANCELAR_SELECAO="Cancelar Marca\xe7\xe3o",this.grid.BUTTON_MULTISELECT.label="Marcar",(0,u.Z)(function*(){t.loading=!0;try{t.programa=t.metadata?.programa,t.programa||(yield t.programaDao.query({where:[["vigentesUnidadeExecutora","==",t.auth.unidade.id]]}).asPromise().then(o=>{t.programa=o[0]}))}finally{t.programaSearch?.loadSearch(t.programa),t.loading=!1}})()}filterClear(t){t.controls.unidade_id.setValue(void 0),t.controls.nome_usuario.setValue(""),t.controls.habilitados.setValue("1")}habilitarParticipante(t){var o=this;return(0,u.Z)(function*(){return yield o.programaParticipanteDao.habilitar([t.id],o.programa.id,1,!1).then(e=>{(o.grid?.query||o.query).refreshId(t.id),o.cdRef.detectChanges()}).catch(e=>{o.dialog.alert("Erro",e)}),!1})()}desabilitarParticipante(t){var o=this;return(0,u.Z)(function*(){if(yield o.dialog.confirm("Desabilitar ?","Deseja DESABILITAR "+o.lex.translate("o servidor")+" "+t.nome.toUpperCase()+" "+o.lex.translate("do programa")+" "+(o.programa?.nome).toUpperCase()+" ?")){let l=!1;o.hasPlanoTrabalhoAtivo(t)&&(l=yield o.dialog.confirm("ATEN\xc7\xc3O",o.lex.translate("O servidor")+" possui "+o.lex.translate("Plano de Trabalho")+" ativo vinculado a "+o.lex.translate("este Programa")+"! Deseja continuar com a desabilita\xe7\xe3o, suspendendo o seu "+o.lex.translate("Plano de Trabalho ?"))),(!o.hasPlanoTrabalhoAtivo(t)||l)&&(yield o.programaParticipanteDao.habilitar([t.id],o.programa.id,0,l).then(s=>{(o.grid?.query||o.query).refreshId(t.id),o.cdRef.detectChanges()}))}})()}habilitarParticipantes(){var t=this;return(0,u.Z)(function*(){if(t.grid.multiselectedCount){const o=t;t.dialog.confirm("Habilitar Participantes ?","Confirma a habilita\xe7\xe3o de todos esses participantes?").then(e=>{if(e){const l=Object.values(t.grid.multiselected).map(s=>s.id);t.programaParticipanteDao.habilitar(l,t.programa.id,1,!1).then(()=>{o.dialog.topAlert("Participantes habilitados com sucesso!",5e3),(o.grid?.query||o.query).refresh()}).catch(s=>{o.dialog.alert("Erro",s)}),t.grid?.enableMultiselect(!1),o.cdRef.detectChanges()}})}else t.dialog.alert("Selecione","Nenhum participante selecionado para a habilita\xe7\xe3o")})()}desabilitarParticipantes(){var t=this;return(0,u.Z)(function*(){let o=Object.keys(t.grid.multiselected);t.dialog.confirm("Desabilitar ?","Deseja DESABILITAR, "+t.lex.translate("do programa")+" "+(t.programa?.nome).toUpperCase()+" todos "+t.lex.translate("os usu\xe1rios")+" selecionados ?").then(function(){var e=(0,u.Z)(function*(l){if(l){const s=t;let d=0;yield t.programaParticipanteDao.quantidadePlanosTrabalhoAtivos(o).then(h=>{d=h});let c=!1;if(d&&(yield t.dialog.confirm("ATEN\xc7\xc3O","H\xe1 "+d+t.lex.translate(1==d?" usu\xe1rio":" usu\xe1rios")+" com "+t.lex.translate("Plano de Trabalho")+" ativo vinculado a "+t.lex.translate("este Programa")+"! Deseja continuar com a desabilita\xe7\xe3o, suspendendo "+(1==d?"o seu ":"todos ")+t.lex.translate(1==d?"Plano de Trabalho":"os Planos de Trabalho")+" ?").then(h=>{c=h})),!d||c){const h=Object.values(t.grid.multiselected).map(v=>v.id);t.programaParticipanteDao.habilitar(h,t.programa.id,0,c).then(v=>{s.dialog.topAlert("Participantes desabilitados com sucesso!",5e3),(t.grid?.query||t.query).refresh()}).catch(function(v){s.grid&&(s.grid.error=v)}),t.grid?.enableMultiselect(!1),t.cdRef.detectChanges()}}});return function(l){return e.apply(this,arguments)}}())})()}onProgramaChange(){this.programa=this.programaSearch?.selectedItem?.entity,this.programa&&this.grid?.reloadFilter()}isHabilitado(t){return!!t.participacoes_programas.find(o=>1==o.habilitado&&o.programa_id==this.programa?.id)}hasPlanoTrabalhoAtivo(t){return!!t.planos_trabalho?.find(o=>"ATIVO"==o.status&&this.util.between((0,ga.now)(),{start:o.data_inicio,end:o.data_fim}))}static#a=this.\u0275fac=function(o){return new(o||i)(a.Y36(a.zs3))};static#e=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-programa-participantes"]],viewQuery:function(o,e){if(1&o&&(a.Gf(b.M,5),a.Gf(va,5)),2&o){let l;a.iGM(l=a.CRH())&&(e.grid=l.first),a.iGM(l=a.CRH())&&(e.programaSearch=l.first)}},features:[a.qOj],decls:27,vars:57,consts:[["multiselect","","editable","",3,"dao","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","hasDelete","multiselectMenu","select"],[4,"ngIf"],[3,"deleted","form","where","clear","submit","collapseChange","collapsed"],[1,"row"],["controlName","programa_id","required","",3,"size","disabled","control","dao","where","metadata","value","change"],["programaSearch",""],["controlName","habilitados","itemTodos","- Todos -",3,"size","items","label","control","valueTodos"],["controlName","nome_usuario",3,"size","label","control","placeholder"],["controlName","unidade_id",3,"size","control","label","labelInfo","dao"],["unidade",""],["class","mt-2 mb-4",4,"ngIf"],[3,"title","template"],["columnUsuario",""],["columnPrograma",""],["columnLotacao",""],[3,"title","align","template"],["columnPlanoTrabalho",""],["type","options",3,"dynamicButtons"],[3,"rows"],[1,"mt-2","mb-4"],[4,"ngFor","ngForOf"],[3,"color",4,"ngIf"],["class","text-success",4,"ngIf"],[1,"text-success"],[3,"color"]],template:function(o,e){if(1&o&&(a.TgZ(0,"grid",0),a.NdJ("select",function(s){return e.onSelect(s)}),a.YNc(1,Ea,1,0,"toolbar",1),a.TgZ(2,"filter",2)(3,"div",3)(4,"input-search",4,5),a.NdJ("change",function(){return e.onProgramaChange()}),a.qZA(),a._UZ(6,"input-select",6),a.qZA(),a.TgZ(7,"div",3),a._UZ(8,"input-text",7)(9,"input-search",8,9),a.qZA()(),a.YNc(11,Aa,4,1,"div",10),a.TgZ(12,"columns")(13,"column",11),a.YNc(14,Ta,5,2,"ng-template",null,12,a.W1O),a.qZA(),a.TgZ(16,"column",11),a.YNc(17,Na,2,2,"ng-template",null,13,a.W1O),a.qZA(),a.TgZ(19,"column",11),a.YNc(20,Ca,1,1,"ng-template",null,14,a.W1O),a.qZA(),a.TgZ(22,"column",15),a.YNc(23,Oa,2,1,"ng-template",null,16,a.W1O),a.qZA(),a._UZ(25,"column",17),a.qZA(),a._UZ(26,"pagination",18),a.qZA()),2&o){const l=a.MAs(15),s=a.MAs(18),d=a.MAs(21),c=a.MAs(24);a.Q6J("dao",e.dao)("title",e.isModal?"":e.title)("orderBy",e.orderBy)("groupBy",e.groupBy)("join",e.join)("selectable",e.selectable)("hasAdd",!1)("hasEdit",!1)("hasDelete",!1)("multiselectMenu",e.multiselectMenu),a.xp6(1),a.Q6J("ngIf",!e.selectable),a.xp6(1),a.Q6J("deleted",e.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",e.filter)("where",e.filterWhere)("clear",e.filterClear.bind(e))("submit",e.filterSubmit.bind(e))("collapseChange",e.filterCollapseChange.bind(e))("collapsed",!e.selectable&&e.filterCollapsed),a.xp6(2),a.Q6J("size",8)("disabled",e.isModal?"true":void 0)("control",e.filter.controls.programa_id)("dao",e.programaDao)("where",a.VKq(54,Ua,a.VKq(52,Qa,e.auth.unidade.id)))("metadata",a.DdM(56,Ma))("value",null==e.programa?null:e.programa.nome),a.xp6(2),a.Q6J("size",4)("items",e.condicoes)("label","Situa\xe7\xe3o "+e.lex.translate("no programa"))("control",e.filter.controls.habilitados)("valueTodos",null),a.xp6(2),a.Q6J("size",6)("label","Nome do "+e.lex.translate("usu\xe1rio"))("control",e.filter.controls.nome_usuario)("placeholder","Nome do "+e.lex.translate("usuario")+"..."),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",6)("control",e.filter.controls.unidade_id)("label",e.lex.translate("Unidade ")+e.lex.translate("de lota\xe7\xe3o"))("labelInfo","Se a op\xe7\xe3o TODOS estiver OFF, exibe apenas "+e.lex.translate("os usu\xe1rios")+" habilitados lotados "+e.lex.translate("nessa unidade")+". Se a op\xe7\xe3o TODOS estiver ON, exibe todos "+e.lex.translate("os usu\xe1rios")+" lotados "+e.lex.translate("nessa unidade")+", habilitados, desabilitados e inabilitados.")("dao",e.unidadeDao),a.xp6(2),a.Q6J("ngIf",null==e.grid||null==e.grid.filterRef?null:e.grid.filterRef.collapsed),a.xp6(2),a.Q6J("title",e.lex.translate("Usu\xe1rio"))("template",l),a.xp6(3),a.Q6J("title",e.lex.translate("Programa de Gest\xe3o"))("template",s),a.xp6(3),a.Q6J("title",e.lex.translate("V\xednculos"))("template",d),a.xp6(3),a.Q6J("title",e.lex.translate("Plano de Trabalho")+" ativo?")("align","center")("template",c),a.xp6(3),a.Q6J("dynamicButtons",e.dynamicButtons.bind(e)),a.xp6(1),a.Q6J("rows",e.rowsLimit)}},dependencies:[g.sg,g.O5,b.M,O.a,Q.b,U.z,M.n,z.Q,N.V,E.m,Z.p,ba.F],styles:[".habilitado[_ngcontent-%COMP%]{background:#198754;border:2px solid #1B5E20}.desabilitado[_ngcontent-%COMP%]{background:#dc3545;border:2px solid #B71C1C}"]})}return i})();const za=[{path:"",component:ma,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Programas"}},{path:"new",component:A,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Programa",modal:!0}},{path:"participantes",component:J,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Participantes do Programa"}},{path:":id/edit",component:A,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Programa",modal:!0}},{path:":id/consult",component:A,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Programa",modal:!0}},{path:":id/participantes",component:J,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Participantes do Programa",modal:!0}}];let Ja=(()=>{class i{static#a=this.\u0275fac=function(o){return new(o||i)};static#e=this.\u0275mod=a.oAB({type:i});static#t=this.\u0275inj=a.cJS({imports:[P.Bz.forChild(za),P.Bz]})}return i})();var xa=n(2662),ya=n(2133);let Sa=(()=>{class i{static#a=this.\u0275fac=function(o){return new(o||i)};static#e=this.\u0275mod=a.oAB({type:i});static#t=this.\u0275inj=a.cJS({imports:[g.ez,xa.K,ya.UX,Ja]})}return i})()}}]); \ No newline at end of file +"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[667],{1667:(xa,T,n)=>{n.r(T),n.d(T,{ProgramaModule:()=>Ra});var h=n(6733),P=n(5579),p=n(1391),m=n(2314),u=n(8239),I=n(4040),f=n(2214),L=n(9230),R=n(207),x=n(8340),B=n(9055),D=n(1214),_=n(758),q=n(1184),F=n(9367),a=n(755),w=n(8820),N=n(8967),k=n(8935),E=n(2392),G=n(4495),C=n(4603),V=n(7819),H=n(6384),j=n(4978),Y=n(5560),W=n(9224);const K=["unidade"],X=["tipoAvaliacao"];function $(i,r){if(1&i&&a._UZ(0,"input-select",38),2&i){const t=a.oxw();a.Q6J("size",3)("control",t.form.controls.periodicidade_valor)("items",t.lookup.DIA_SEMANA)}}function aa(i,r){if(1&i&&a._UZ(0,"input-number",39),2&i){const t=a.oxw();a.Q6J("size",3)("control",t.form.controls.periodicidade_valor)}}function ea(i,r){if(1&i&&a._UZ(0,"input-number",40),2&i){const t=a.oxw();a.Q6J("size",3)("control",t.form.controls.periodicidade_valor)}}const Z=function(){return{instituidora:!0}},O=function(i){return{filter:i}},ta=function(){return["especie","==","TCR"]},oa=function(i){return[i]},ia=function(){return["SEMANAL","QUINZENAL"]},la=function(){return["MENSAL","BIMESTRAL","TRIMESTRAL","SEMESTRAL"]},na=function(){return["DIAS"]};let A=(()=>{class i extends q.F{constructor(t){super(t,_.i,f.w),this.injector=t,this._tipoAvaliacaoQualitativo=[],this.validate=(o,e)=>{let l=null;return["nome","unidade_autorizadora_id","unidade_id","tipo_avaliacao_plano_trabalho_id","tipo_avaliacao_plano_entrega_id"].indexOf(e)>=0&&!o.value?.length?l="Obrigat\xf3rio":"prazo_max_plano_entrega"==e&&parseInt(o.value||0)>99999?l="Inv\xe1lido":"dias_tolerancia_consolidacao"==e&&parseInt(o.value||0)>10?l="Inv\xe1lido. M\xe1ximo 10 dias":["data_inicio","data_fim"].indexOf(e)>=0&&!this.dao?.validDateTime(o.value)?l="Inv\xe1lido":"periodicidade_valor"==e&&(["SEMANAL","QUINZENAL"].includes(this.form?.controls.periodicidade_consolidacao.value)&&o.value>6&&(l="Inv\xe1lido"),["MENSAL","BIMESTRAL","TRIMESTRAL","SEMESTRAL"].includes(this.form?.controls.periodicidade_consolidacao.value)&&o.value>31&&(l="M\xe1ximo 31"),["DIAS"].includes(this.form?.controls.periodicidade_consolidacao.value)&&o.value<0&&(l="Inv\xe1lido")),l},this.formValidation=o=>{let e=null;return this.form?.controls.data_fim.value&&this.form?.controls.data_inicio.value>this.form?.controls.data_fim.value?e="A data do fim n\xe3o pode ser anterior \xe0 data do inicio!":this.form?.controls.data_fim.value==this.form?.controls.data_inicio.value&&(e="A data do fim n\xe3o pode ser igual \xe0 data do inicio!"),e},this.titleEdit=o=>"Editando "+this.lex.translate("Programa")+": "+(o?.nome||""),this.unidadeDao=t.get(D.J),this.templateDao=t.get(L.w),this.tipoDocumentoDao=t.get(x.Q),this.tipoAvaliacaoDao=t.get(R.r),this.tipoJustificativaDao=t.get(B.i),this.templateService=t.get(F.E),this.modalWidth=700,this.form=this.fh.FormBuilder({unidade_id:{default:""},unidade_autorizadora_id:{default:""},nome:{default:""},normativa:{default:""},link_normativa:{default:null},link_autorizacao:{default:null},config:{default:null},data_inicio:{default:new Date},data_fim:{default:new Date},template_tcr_id:{default:null},tipo_avaliacao_plano_entrega_id:{default:""},tipo_avaliacao_plano_trabalho_id:{default:""},tipo_documento_tcr_id:{default:null},prazo_max_plano_entrega:{default:365},termo_obrigatorio:{default:!0},periodicidade_consolidacao:{default:"MENSAL"},periodicidade_valor:{default:1},dias_tolerancia_consolidacao:{default:10},registra_comparecimento:{default:!0},plano_trabalho_assinatura_participante:{default:!0},plano_trabalho_assinatura_gestor_lotacao:{default:!0},plano_trabalho_assinatura_gestor_unidade:{default:!0},plano_trabalho_assinatura_gestor_entidade:{default:!1},checklist_avaliacao_entregas_plano_trabalho:{default:[]},checklist_plano_trabalho_texto:{default:""},checklist_avaliacao_entregas_plano_entrega:{default:[]},checklist_plano_entrega_texto:{default:""},plano_trabalho_criterios_avaliacao:{default:[]},plano_trabalho_criterio_avaliacao:{default:""},dias_tolerancia_avaliacao:{default:20},dias_tolerancia_recurso_avaliacao:{default:10},nota_padrao_avaliacao:{default:0},tipo_justificativa_id:{default:null}},this.cdRef,this.validate),this.join=["unidade"]}loadData(t,o){var e=this;return(0,u.Z)(function*(){let l=Object.assign({},o.value);yield Promise.all([e.unidade.loadSearch(t.unidade||t.unidade_id)]),t.plano_trabalho_criterios_avaliacao=t.plano_trabalho_criterios_avaliacao||[],t.checklist_avaliacao_entregas_plano_entrega=t.checklist_avaliacao_entregas_plano_entrega||[],t.checklist_avaliacao_entregas_plano_trabalho=t.checklist_avaliacao_entregas_plano_trabalho||[],o.patchValue(e.util.fillForm(l,t))})()}initializeData(t){t.patchValue(new _.i)}saveData(t){return new Promise((o,e)=>{const l=this.util.fill(new _.i,this.entity);o(this.util.fillForm(l,this.form.value))})}isTipoAvaliacao(t){let o=this.tipoAvaliacao?.selectedEntity;return o?.tipo==t||!o&&"QUANTITATIVO"==t}get tipoAvaliacaoQualitativo(){let o=this.tipoAvaliacao?.selectedEntity?.notas?.map(e=>Object.assign({},{key:e.nota,value:e.nota}))||[];return JSON.stringify(o)!=JSON.stringify(this._tipoAvaliacaoQualitativo)&&(this._tipoAvaliacaoQualitativo=o),this._tipoAvaliacaoQualitativo}addItemHandlePlanoEntregaChecklist(){let t;const o=this.form.controls.checklist_plano_entrega_texto.value,e=this.util.textHash(o);return o?.length&&this.util.validateLookupItem(this.form.controls.checklist_avaliacao_entregas_plano_entrega.value,e)&&(t={key:e,value:this.form.controls.checklist_plano_entrega_texto.value},this.form.controls.checklist_plano_entrega_texto.setValue("")),t}onClickIN(){this.form?.controls.link_normativa?.value?.length&&window.open(this.form?.controls.link_normativa.value)}static#a=this.\u0275fac=function(o){return new(o||i)(a.Y36(a.zs3))};static#e=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-programa-form"]],viewQuery:function(o,e){if(1&o&&(a.Gf(I.Q,5),a.Gf(K,5),a.Gf(X,5)),2&o){let l;a.iGM(l=a.CRH())&&(e.editableForm=l.first),a.iGM(l=a.CRH())&&(e.unidade=l.first),a.iGM(l=a.CRH())&&(e.tipoAvaliacao=l.first)}},features:[a.qOj],decls:44,vars:87,consts:[["initialFocus","unidade_id",3,"form","disabled","title","submit","cancel"],["display","","right",""],["key","GERAL","label","Geral"],[1,"row"],["label","Unidade Instituidora","controlName","unidade_id","required","",3,"size","dao","selectParams"],["unidade",""],["label","Unidade Autorizadora","controlName","unidade_autorizadora_id","required","",3,"size","dao","selectParams"],["unidade_autorizadora",""],["date","","label","Data de In\xedcio","icon","bi bi-calendar-date","controlName","data_inicio","labelInfo","Data de in\xedcio da vig\xeancia do programa de gest\xe3o na unidade instituidora",3,"size","control"],["date","","label","Data de Fim","icon","bi bi-calendar-date","controlName","data_fim","labelInfo","Data de fim da vig\xeancia do programa de gest\xe3o na unidade instituidora",3,"size","control"],["label","Dura\xe7\xe3o M\xe1x P.E.","icon","bi bi-blockquote-left","controlName","prazo_max_plano_entrega","labelInfo","Limite m\xe1ximo de dias corridos para a dura\xe7\xe3o do plano de entregas a partir da sua data de cria\xe7\xe3o (Zero para n\xe3o limitar)",3,"size","control"],["label","T\xedtulo","icon","bi bi-textarea-t","controlName","nome","required","",3,"size","control"],["iconButton","bi bi-box-arrow-up-right","label","Link autoriza\xe7\xe3o","icon","bi bi-link-45deg","controlName","link_autorizacao","labelInfo","Link web da autoriza\xe7\xe3o",3,"size","control","buttonClick"],["iconButton","bi bi-box-arrow-up-right","label","Link institui\xe7\xe3o","icon","bi bi-link-45deg","controlName","link_normativa","labelInfo","Link web da instru\xe7\xe3o normativa",3,"size","control","buttonClick"],["key","PLANO_ENTREGA",3,"label"],["controlName","tipo_avaliacao_plano_entrega_id","required","",3,"label","size","dao","labelInfo"],["tipoAvaliacaoEntrega",""],[3,"title"],["label","Checklists das entregas","controlName","checklist_avaliacao_entregas_plano_entrega",3,"size","addItemHandle"],["controlName","checklist_plano_entrega_texto",3,"size"],["key","PLANO_TRABALHO",3,"label"],["scale","small","labelPosition","right","controlName","termo_obrigatorio","label","Se o termo \xe9 obrigat\xf3rio",3,"size","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_participante",3,"size","label","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_gestor_lotacao",3,"size","label","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_gestor_unidade",3,"size","label","disabled"],["scale","small","labelPosition","right","controlName","plano_trabalho_assinatura_gestor_entidade",3,"size","label","disabled"],["detailsButton","","labelInfo","Template do termo utilizado no plano de trabalho","controlName","template_tcr_id","required","",3,"label","size","dao","where","selectRoute","details"],["controlName","tipo_documento_tcr_id","labelInfo","Tipo de documento utilizado para exportar o termo para o SEI/SUPER",3,"label","size","dao"],["tipoDocumento",""],["controlName","tipo_avaliacao_plano_trabalho_id","required","",3,"label","size","dao","labelInfo"],["tipoAvaliacao",""],["label","Periodicidade","controlName","periodicidade_consolidacao","labelInfo","Per\xedodo para avalia\xe7\xe3o do plano de trabalho",3,"size","control","items"],["label","Dia da semana","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control","items",4,"ngIf"],["label","Dia do m\xeas","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control",4,"ngIf"],["label","Qtd. de Dias","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control",4,"ngIf"],["label","Toler\xe2ncia","controlName","dias_tolerancia_consolidacao","labelInfo","Dias de toler\xe2ncia para o lan\xe7amento do registro das atividades na consolida\xe7\xe3o, ap\xf3s esses dias ser\xe1 liberado automaticamente para avalia\xe7\xe3o","maxValue","10",3,"size","control"],["label","Toler\xe2ncia p/ avalia\xe7\xe3o","controlName","dias_tolerancia_avaliacao","labelInfo","Dias de toler\xe2ncia para a chefia realizar a avalia\xe7\xe3o ap\xf3s o registro de execu\xe7\xe3o, por parte do participante, segundo o \xa71\xba do art. 20 da IN n\xba 24/2023. Ap\xf3s esse prazo, o registro ser\xe1 considerado como 'N\xe3o avaliado'",3,"size","control","disabled"],["label","Toler\xe2ncia p/ recurso","controlName","dias_tolerancia_recurso_avaliacao","labelInfo","Dias de toler\xe2ncia para recorrer da avalia\xe7\xe3o",3,"size","control","disabled"],["label","Dia da semana","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control","items"],["label","Dia do m\xeas","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control"],["label","Qtd. de Dias","controlName","periodicidade_valor","labelInfo","Representa quantidade de dias para DIAS; dia da semana para SEMANAL e QUINZENAL; e dia do m\xeas para o restante",3,"size","control"]],template:function(o,e){1&o&&(a.TgZ(0,"editable-form",0),a.NdJ("submit",function(){return e.onSaveData()})("cancel",function(){return e.onCancel()}),a.TgZ(1,"tabs",1)(2,"tab",2)(3,"div",3),a._UZ(4,"input-search",4,5)(6,"input-search",6,7),a.qZA(),a.TgZ(8,"div",3),a._UZ(9,"input-datetime",8)(10,"input-datetime",9)(11,"input-number",10),a.qZA(),a.TgZ(12,"div",3),a._UZ(13,"input-text",11),a.TgZ(14,"input-button",12),a.NdJ("buttonClick",function(){return e.onClickIN()}),a.qZA(),a.TgZ(15,"input-button",13),a.NdJ("buttonClick",function(){return e.onClickIN()}),a.qZA()()(),a.TgZ(16,"tab",14),a._UZ(17,"input-search",15,16),a.TgZ(19,"separator",17)(20,"input-multiselect",18),a._UZ(21,"input-text",19),a.qZA()()(),a.TgZ(22,"tab",20),a._UZ(23,"input-switch",21)(24,"input-switch",22)(25,"input-switch",23)(26,"input-switch",24)(27,"input-switch",25),a.TgZ(28,"input-search",26),a.NdJ("details",function(s){return e.templateService.details(s)}),a.qZA(),a._UZ(29,"input-search",27,28)(31,"input-search",29,30),a.TgZ(33,"separator",17)(34,"div",3),a._UZ(35,"input-select",31),a.YNc(36,$,1,3,"input-select",32),a.YNc(37,aa,1,2,"input-number",33),a.YNc(38,ea,1,2,"input-number",34),a._UZ(39,"input-number",35),a.qZA()(),a.TgZ(40,"separator",17)(41,"div",3),a._UZ(42,"input-number",36)(43,"input-number",37),a.qZA()()()()()),2&o&&(a.Q6J("form",e.form)("disabled",e.formDisabled)("title",e.isModal?"":e.title),a.xp6(4),a.Q6J("size",6)("dao",e.unidadeDao)("selectParams",a.VKq(76,O,a.DdM(75,Z))),a.xp6(2),a.Q6J("size",6)("dao",e.unidadeDao)("selectParams",a.VKq(79,O,a.DdM(78,Z))),a.xp6(3),a.Q6J("size",4)("control",e.form.controls.data_inicio),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.data_fim),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.prazo_max_plano_entrega),a.xp6(2),a.Q6J("size",4)("control",e.form.controls.nome),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.link_autorizacao),a.xp6(1),a.Q6J("size",4)("control",e.form.controls.link_normativa),a.xp6(1),a.Q6J("label",e.lex.translate("Plano de entrega")),a.xp6(1),a.Q6J("label",e.lex.translate("Tipo de avalia\xe7\xe3o do Plano de entrega"))("size",12)("dao",e.tipoAvaliacaoDao)("labelInfo",e.lex.translate("Tipo de avalia\xe7\xe3o")+" que especifica a forma que ser\xe1 avaliado "+e.lex.translate("plano de trabalho")+" e "+e.lex.translate("plano de entrega")),a.xp6(2),a.Q6J("title",e.lex.translate("Avalia\xe7\xe3o")+e.lex.translate(" do Plano de Entrega")),a.xp6(1),a.Q6J("size",12)("addItemHandle",e.addItemHandlePlanoEntregaChecklist.bind(e)),a.xp6(1),a.Q6J("size",12),a.uIk("maxlength",250),a.xp6(1),a.Q6J("label",e.lex.translate("Plano de trabalho")),a.xp6(1),a.Q6J("size",12)("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura "+e.lex.translate("do usu\xe1rio")+e.lex.translate(" do plano de trabalho"))("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura do gestor da lota\xe7\xe3o "+e.lex.translate("do usu\xe1rio")+" (para "+e.lex.translate("unidade")+" distinta)")("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura do gestor "+e.lex.translate("da unidade"))("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",12)("label","Exige assinatura do gestor "+e.lex.translate("da entidade"))("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("label","Template "+e.lex.translate("termo")+" (TCR)")("size",12)("dao",e.templateDao)("where",a.VKq(82,oa,a.DdM(81,ta)))("selectRoute",e.templateService.selectRoute("TCR",null==e.form||null==e.form.controls||null==e.form.controls.template_tcr_id?null:e.form.controls.template_tcr_id.value)),a.xp6(1),a.Q6J("label","Tipo de documento "+e.lex.translate("termo"))("size",12)("dao",e.tipoDocumentoDao),a.xp6(2),a.Q6J("label",e.lex.translate("Tipo de avalia\xe7\xe3o do registro de execu\xe7\xe3o do plano de trabalho"))("size",12)("dao",e.tipoAvaliacaoDao)("labelInfo",e.lex.translate("Tipo de avalia\xe7\xe3o")+" que especifica a forma que ser\xe1 avaliado "+e.lex.translate("plano de trabalho")+" e "+e.lex.translate("plano de entrega")),a.xp6(2),a.Q6J("title",e.lex.translate("Consolida\xe7\xe3o")+e.lex.translate(" do Plano de trabalho")),a.xp6(2),a.Q6J("size",6)("control",e.form.controls.periodicidade_consolidacao)("items",e.lookup.PERIODICIDADE_CONSOLIDACAO),a.xp6(1),a.Q6J("ngIf",a.DdM(84,ia).includes(e.form.controls.periodicidade_consolidacao.value)),a.xp6(1),a.Q6J("ngIf",a.DdM(85,la).includes(e.form.controls.periodicidade_consolidacao.value)),a.xp6(1),a.Q6J("ngIf",a.DdM(86,na).includes(e.form.controls.periodicidade_consolidacao.value)),a.xp6(1),a.Q6J("size",3)("control",e.form.controls.dias_tolerancia_consolidacao),a.xp6(1),a.Q6J("title",e.lex.translate("Avalia\xe7\xe3o")+e.lex.translate(" da Consolida\xe7\xe3o")),a.xp6(2),a.Q6J("size",6)("control",e.form.controls.dias_tolerancia_avaliacao)("disabled",e.util.isDeveloper()?void 0:"true"),a.xp6(1),a.Q6J("size",6)("control",e.form.controls.dias_tolerancia_recurso_avaliacao)("disabled",e.util.isDeveloper()?void 0:"true"))},dependencies:[h.O5,I.Q,w.a,N.V,k.G,E.m,G.k,C.p,V.p,H.n,j.i,Y.N,W.l]})}return i})();var b=n(3150),z=n(8509),ra=n(4554),Q=n(7224),U=n(3351),M=n(7765),y=n(5512),J=n(2704);function sa(i,r){1&i&&a._UZ(0,"toolbar")}function da(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA(),a._UZ(2,"br"),a.TgZ(3,"small"),a._uU(4),a.qZA()),2&i){const t=r.row;a.xp6(1),a.hij(" ",t.nome,""),a.xp6(3),a.hij(" ",t.normativa,"")}}function ua(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA(),a._UZ(2,"br"),a.TgZ(3,"small"),a._uU(4),a.qZA()),2&i){const t=r.row;a.xp6(1),a.hij(" ",t.unidade.nome,""),a.xp6(3),a.hij(" ",t.unidade.sigla,"")}}function ca(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA(),a._UZ(2,"br")),2&i){const t=r.row,o=a.oxw();a.xp6(1),a.hij(" ",o.dao.getDateFormatted(t.data_inicio),"")}}function pa(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&i){const t=r.row,o=a.oxw();a.xp6(1),a.hij(" ",o.dao.getDateFormatted(t.data_fim),"")}}const ma=function(i){return{metadata:i}};let ha=(()=>{class i extends z.E{constructor(t,o){super(t,_.i,f.w),this.injector=t,this.vigentesUnidadeExecutora=!1,this.todosUnidadeExecutora=!1,this.filterWhere=e=>{let l=[],s=e.value;return this.vigentesUnidadeExecutora&&l.push(["vigentesUnidadeExecutora","==",this.auth.unidade.id]),(this.todosUnidadeExecutora||!this.util.isDeveloper())&&l.push(["todosUnidadeExecutora","==",this.auth.unidade.id]),s.nome?.length&&l.push(["nome","like","%"+s.nome.trim().replace(" ","%")+"%"]),l},this.concluir=e=>{this.dialog.confirm("Concluir?","Ao encerrar este regramento, todos os planos de entregas e planos de trabalho ser\xe3o automaticamente conclu\xeddos. Al\xe9m disso, todos os agentes p\xfablicos ser\xe3o automaticamente desligados do PGD. Voc\xea confirma?").then(l=>{l&&this.dao.concluir(e).then(()=>{(this.grid?.query||this.query).refreshId(e.id),this.dialog.topAlert("Regramento conclu\xeddo com sucesso!",5e3)}).catch(s=>this.dialog.alert("Erro","Erro ao concluir: "+(s?.message?s?.message:s)))})},this.programaService=t.get(ra.o),this.title=this.lex.translate("Programas de Gest\xe3o"),this.code="MOD_PRGT",this.join=["unidade:id, nome"],this.filter=this.fh.FormBuilder({nome:{default:""}}),this.addOption(this.OPTION_INFORMACOES),this.addOption(this.OPTION_EXCLUIR,"MOD_PRGT_EXCL"),this.addOption(this.OPTION_LOGS,"MOD_AUDIT_LOG"),this.auth.hasPermissionTo("MOD_PART")&&this.options.push({icon:"bi bi-people",label:"Participantes",onClick:e=>this.go.navigate({route:["gestao","programa",e.id,"participantes"]},{metadata:{programa:e}})}),this.BOTAO_CONCLUIR={label:"Concluir",icon:"bi bi-journal-check",onClick:this.concluir.bind(this)}}dynamicButtons(t){return this.auth.hasPermissionTo("MOD_PRGT_CONCL")&&this.programaService.programaVigente(t),[]}ngOnInit(){super.ngOnInit(),this.vigentesUnidadeExecutora=this.metadata?.vigentesUnidadeExecutora,this.todosUnidadeExecutora=this.metadata?.todosUnidadeExecutora}static#a=this.\u0275fac=function(o){return new(o||i)(a.Y36(a.zs3),a.Y36(f.w))};static#e=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-programa-list"]],viewQuery:function(o,e){if(1&o&&a.Gf(b.M,5),2&o){let l;a.iGM(l=a.CRH())&&(e.grid=l.first)}},features:[a.qOj],decls:20,vars:32,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","addMetadata","select"],[4,"ngIf"],[3,"deleted","form","where","submit","collapseChange","collapsed"],[1,"row"],["controlName","nome",3,"size","label","control","placeholder"],["title","T\xedtulo/Normativa",3,"template"],["columnTituloNormativa",""],["title","Unidade instituidora",3,"template"],["columnUnidadeInstituidora",""],["title","In\xedcio da Vig\xeancia",3,"template"],["columnInicioVigencia",""],["title","Fim da Vig\xeancia",3,"template"],["columnFimVigencia",""],["type","options",3,"onEdit","options","dynamicButtons"],[3,"rows"]],template:function(o,e){if(1&o&&(a.TgZ(0,"grid",0),a.NdJ("select",function(s){return e.onSelect(s)}),a.YNc(1,sa,1,0,"toolbar",1),a.TgZ(2,"filter",2)(3,"div",3),a._UZ(4,"input-text",4),a.qZA()(),a.TgZ(5,"columns")(6,"column",5),a.YNc(7,da,5,2,"ng-template",null,6,a.W1O),a.qZA(),a.TgZ(9,"column",7),a.YNc(10,ua,5,2,"ng-template",null,8,a.W1O),a.qZA(),a.TgZ(12,"column",9),a.YNc(13,ca,3,1,"ng-template",null,10,a.W1O),a.qZA(),a.TgZ(15,"column",11),a.YNc(16,pa,2,1,"ng-template",null,12,a.W1O),a.qZA(),a._UZ(18,"column",13),a.qZA(),a._UZ(19,"pagination",14),a.qZA()),2&o){const l=a.MAs(8),s=a.MAs(11),d=a.MAs(14),c=a.MAs(17);a.Q6J("dao",e.dao)("add",e.add)("title",e.isModal?"":e.title)("orderBy",e.orderBy)("groupBy",e.groupBy)("join",e.join)("selectable",e.selectable)("hasAdd",e.auth.hasPermissionTo("MOD_PRGT_INCL"))("hasEdit",e.auth.hasPermissionTo("MOD_PRGT_EDT"))("addMetadata",a.VKq(30,ma,e.todosUnidadeExecutora)),a.xp6(1),a.Q6J("ngIf",!e.selectable),a.xp6(1),a.Q6J("deleted",e.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",e.filter)("where",e.filterWhere)("submit",e.filterSubmit.bind(e))("collapseChange",e.filterCollapseChange.bind(e))("collapsed",!e.selectable&&e.filterCollapsed),a.xp6(2),a.Q6J("size",12)("label","Nome do "+e.lex.translate("programa"))("control",e.filter.controls.nome)("placeholder","Nome do "+e.lex.translate("programa")),a.uIk("maxlength",250),a.xp6(2),a.Q6J("template",l),a.xp6(3),a.Q6J("template",s),a.xp6(3),a.Q6J("template",d),a.xp6(3),a.Q6J("template",c),a.xp6(3),a.Q6J("onEdit",e.edit)("options",e.options)("dynamicButtons",e.dynamicButtons.bind(e)),a.xp6(1),a.Q6J("rows",e.rowsLimit)}},dependencies:[h.O5,b.M,Q.a,U.b,M.z,y.n,J.Q,E.m]})}return i})();var ga=n(2866),fa=n(1042),_a=n(5255),ba=n(6898),va=n(5489);const Ea=["programaSearch"];function Aa(i,r){1&i&&a._UZ(0,"toolbar")}function Ta(i,r){if(1&i&&(a.TgZ(0,"div",19)(1,"span")(2,"strong"),a._uU(3),a.qZA()()()),2&i){const t=a.oxw();a.xp6(3),a.Oqu(t.lex.translate("Usu\xe1rios"))}}function Pa(i,r){if(1&i&&(a.TgZ(0,"strong"),a._uU(1),a.qZA(),a._UZ(2,"br"),a.TgZ(3,"small"),a._uU(4),a.qZA()),2&i){const t=r.row;a.xp6(1),a.Oqu(t.nome),a.xp6(3),a.Oqu(t.apelido)}}function Ia(i,r){if(1&i&&(a.TgZ(0,"small",23),a._uU(1),a.qZA()),2&i){const t=a.oxw().$implicit;a.xp6(1),a.Oqu(t.programa.nome)}}function Da(i,r){if(1&i&&(a.ynx(0),a.YNc(1,Ia,2,1,"small",22),a.BQk()),2&i){const t=r.$implicit;a.xp6(1),a.Q6J("ngIf",1==t.habilitado)}}function Na(i,r){if(1&i&&(a.TgZ(0,"badge",24),a._uU(1),a.qZA()),2&i){const t=a.oxw(2);a.Q6J("color","danger"),a.xp6(1),a.Oqu(t.lex.translate("Sem participa\xe7\xe3o"))}}function Ca(i,r){if(1&i&&(a.YNc(0,Da,2,1,"ng-container",20),a.YNc(1,Na,2,2,"badge",21)),2&i){const t=r.row;a.Q6J("ngForOf",t.participacoes_programas),a.xp6(1),a.Q6J("ngIf",0==t.participacoes_programas.length)}}function Za(i,r){if(1&i&&(a.TgZ(0,"div")(1,"small"),a._uU(2),a.qZA()()),2&i){const t=r.$implicit;a.xp6(2),a.Oqu(t.unidade.sigla)}}function Oa(i,r){1&i&&a.YNc(0,Za,3,1,"div",20),2&i&&a.Q6J("ngForOf",r.row.areas_trabalho)}function za(i,r){if(1&i&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&i){const t=r.row,o=a.oxw();a.xp6(1),a.Oqu(o.hasPlanoTrabalhoAtivo(t)?"sim":"n\xe3o")}}const Qa=function(i){return["vigentesUnidadeExecutora","==",i]},Ua=function(i){return[i]},Ma=function(){return{vigentesUnidadeExecutora:!0}};let S=(()=>{class i extends z.E{constructor(t){super(t,ba.b,_a.q),this.injector=t,this.multiselectMenu=[],this.programa=null,this.BOTAO_HABILITAR={label:this.lex.translate("Habilitar"),hint:this.lex.translate("Habilitar"),icon:"bi bi-person-check-fill",color:"btn-outline-success",onClick:this.habilitarParticipante.bind(this)},this.BOTAO_DESABILITAR={label:this.lex.translate("Desabilitar"),hint:this.lex.translate("Desabilitar"),icon:"bi bi-person-x-fill",color:"btn-outline-danger",onClick:this.desabilitarParticipante.bind(this)},this.condicoes=[{key:"1",value:this.lex.translate("Habilitados")},{key:"0",value:this.lex.translate("Desabilitados")}],this.validate=(o,e)=>{let l=null;return["programa_id"].indexOf(e)>=0&&!o.value?.length&&(l="Obrigat\xf3rio"),l},this.filterWhere=o=>{let e=[],l=o.value;return l.unidade_id?.length&&e.push(["lotacao","==",l.unidade_id]),l.nome_usuario?.length&&e.push(["nome","like","%"+l.nome_usuario.trim().replace(" ","%")+"%"]),e.push(["habilitado","==",this.filter?.controls.habilitados.value]),e.push(["programa_id","==",this.programa?.id||this.metadata?.programa.id]),e},this.unidadeDao=t.get(D.J),this.programaParticipanteDao=t.get(fa.U),this.programaDao=t.get(f.w),this.code="MOD_PART",this.filter=this.fh.FormBuilder({programa_id:{default:this.programa?.id},unidade_id:{default:this.auth.unidade?.id},nome_usuario:{default:""},habilitados:{default:null}},this.cdRef,this.validate),this.auth.hasPermissionTo("MOD_PART_HAB")&&this.multiselectMenu.push({icon:"bi bi-person-check-fill",label:this.lex.translate("Habilitar"),color:"btn-outline-success",onClick:this.habilitarParticipantes.bind(this)}),this.auth.hasPermissionTo("MOD_PART_DESAB")&&this.multiselectMenu.push({icon:"bi bi-person-x-fill",label:this.lex.translate("Desabilitar"),color:"btn-outline-danger",onClick:this.desabilitarParticipantes.bind(this)}),this.join=["areasTrabalho.unidade:id,sigla","planos_trabalho:id,status","participacoes_programas.programa:id"],this.title=this.lex.translate("Habilita\xe7\xf5es"),this.orderBy=[["nome","asc"]]}dynamicButtons(t){let o=[];return this.auth.hasPermissionTo("MOD_PART_HAB")&&!this.isHabilitado(t)&&o.push(this.BOTAO_HABILITAR),this.auth.hasPermissionTo("MOD_PART_DESAB")&&this.isHabilitado(t)&&o.push(this.BOTAO_DESABILITAR),o}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),this.grid.BUTTON_MULTISELECT_SELECIONAR="Marcar",this.grid.BUTTON_MULTISELECT_CANCELAR_SELECAO="Cancelar Marca\xe7\xe3o",this.grid.BUTTON_MULTISELECT.label="Marcar",(0,u.Z)(function*(){t.loading=!0;try{t.programa=t.metadata?.programa,t.programa||(yield t.programaDao.query({where:[["vigentesUnidadeExecutora","==",t.auth.unidade.id]]}).asPromise().then(o=>{t.programa=o[0]}))}finally{t.programaSearch?.loadSearch(t.programa),t.loading=!1}})()}filterClear(t){t.controls.unidade_id.setValue(void 0),t.controls.nome_usuario.setValue(""),t.controls.habilitados.setValue("1")}habilitarParticipante(t){var o=this;return(0,u.Z)(function*(){return yield o.programaParticipanteDao.habilitar([t.id],o.programa.id,1,!1).then(e=>{(o.grid?.query||o.query).refreshId(t.id),o.cdRef.detectChanges()}).catch(e=>{o.dialog.alert("Erro",e)}),!1})()}desabilitarParticipante(t){var o=this;return(0,u.Z)(function*(){if(yield o.dialog.confirm("Desabilitar ?","Deseja DESABILITAR "+o.lex.translate("o servidor")+" "+t.nome.toUpperCase()+" "+o.lex.translate("do programa")+" "+(o.programa?.nome).toUpperCase()+" ?")){let l=!1;o.hasPlanoTrabalhoAtivo(t)&&(l=yield o.dialog.confirm("ATEN\xc7\xc3O",o.lex.translate("O servidor")+" possui "+o.lex.translate("Plano de Trabalho")+" ativo vinculado a "+o.lex.translate("este Programa")+"! Deseja continuar com a desabilita\xe7\xe3o, suspendendo o seu "+o.lex.translate("Plano de Trabalho ?"))),(!o.hasPlanoTrabalhoAtivo(t)||l)&&(yield o.programaParticipanteDao.habilitar([t.id],o.programa.id,0,l).then(s=>{(o.grid?.query||o.query).refreshId(t.id),o.cdRef.detectChanges()}))}})()}habilitarParticipantes(){var t=this;return(0,u.Z)(function*(){if(t.grid.multiselectedCount){const o=t;t.dialog.confirm("Habilitar Participantes ?","Confirma a habilita\xe7\xe3o de todos esses participantes?").then(e=>{if(e){const l=Object.values(t.grid.multiselected).map(s=>s.id);t.programaParticipanteDao.habilitar(l,t.programa.id,1,!1).then(()=>{o.dialog.topAlert("Participantes habilitados com sucesso!",5e3),(o.grid?.query||o.query).refresh()}).catch(s=>{o.dialog.alert("Erro",s)}),t.grid?.enableMultiselect(!1),o.cdRef.detectChanges()}})}else t.dialog.alert("Selecione","Nenhum participante selecionado para a habilita\xe7\xe3o")})()}desabilitarParticipantes(){var t=this;return(0,u.Z)(function*(){let o=Object.keys(t.grid.multiselected);t.dialog.confirm("Desabilitar ?","Deseja DESABILITAR, "+t.lex.translate("do programa")+" "+(t.programa?.nome).toUpperCase()+" todos "+t.lex.translate("os usu\xe1rios")+" selecionados ?").then(function(){var e=(0,u.Z)(function*(l){if(l){const s=t;let d=0;yield t.programaParticipanteDao.quantidadePlanosTrabalhoAtivos(o).then(g=>{d=g});let c=!1;if(d&&(yield t.dialog.confirm("ATEN\xc7\xc3O","H\xe1 "+d+t.lex.translate(1==d?" usu\xe1rio":" usu\xe1rios")+" com "+t.lex.translate("Plano de Trabalho")+" ativo vinculado a "+t.lex.translate("este Programa")+"! Deseja continuar com a desabilita\xe7\xe3o, suspendendo "+(1==d?"o seu ":"todos ")+t.lex.translate(1==d?"Plano de Trabalho":"os Planos de Trabalho")+" ?").then(g=>{c=g})),!d||c){const g=Object.values(t.grid.multiselected).map(v=>v.id);t.programaParticipanteDao.habilitar(g,t.programa.id,0,c).then(v=>{s.dialog.topAlert("Participantes desabilitados com sucesso!",5e3),(t.grid?.query||t.query).refresh()}).catch(function(v){s.grid&&(s.grid.error=v)}),t.grid?.enableMultiselect(!1),t.cdRef.detectChanges()}}});return function(l){return e.apply(this,arguments)}}())})()}onProgramaChange(){this.programa=this.programaSearch?.selectedItem?.entity,this.programa&&this.grid?.reloadFilter()}isHabilitado(t){return!!t.participacoes_programas.find(o=>1==o.habilitado&&o.programa_id==this.programa?.id)}hasPlanoTrabalhoAtivo(t){return!!t.planos_trabalho?.find(o=>"ATIVO"==o.status&&this.util.between((0,ga.now)(),{start:o.data_inicio,end:o.data_fim}))}static#a=this.\u0275fac=function(o){return new(o||i)(a.Y36(a.zs3))};static#e=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-programa-participantes"]],viewQuery:function(o,e){if(1&o&&(a.Gf(b.M,5),a.Gf(Ea,5)),2&o){let l;a.iGM(l=a.CRH())&&(e.grid=l.first),a.iGM(l=a.CRH())&&(e.programaSearch=l.first)}},features:[a.qOj],decls:27,vars:57,consts:[["multiselect","","editable","",3,"dao","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","hasDelete","multiselectMenu","select"],[4,"ngIf"],[3,"deleted","form","where","clear","submit","collapseChange","collapsed"],[1,"row"],["controlName","programa_id","required","",3,"size","disabled","control","dao","where","metadata","value","change"],["programaSearch",""],["controlName","habilitados","itemTodos","- Todos -",3,"size","items","label","control","valueTodos"],["controlName","nome_usuario",3,"size","label","control","placeholder"],["controlName","unidade_id",3,"size","control","label","labelInfo","dao"],["unidade",""],["class","mt-2 mb-4",4,"ngIf"],[3,"title","template"],["columnUsuario",""],["columnPrograma",""],["columnLotacao",""],[3,"title","align","template"],["columnPlanoTrabalho",""],["type","options",3,"dynamicButtons"],[3,"rows"],[1,"mt-2","mb-4"],[4,"ngFor","ngForOf"],[3,"color",4,"ngIf"],["class","text-success",4,"ngIf"],[1,"text-success"],[3,"color"]],template:function(o,e){if(1&o&&(a.TgZ(0,"grid",0),a.NdJ("select",function(s){return e.onSelect(s)}),a.YNc(1,Aa,1,0,"toolbar",1),a.TgZ(2,"filter",2)(3,"div",3)(4,"input-search",4,5),a.NdJ("change",function(){return e.onProgramaChange()}),a.qZA(),a._UZ(6,"input-select",6),a.qZA(),a.TgZ(7,"div",3),a._UZ(8,"input-text",7)(9,"input-search",8,9),a.qZA()(),a.YNc(11,Ta,4,1,"div",10),a.TgZ(12,"columns")(13,"column",11),a.YNc(14,Pa,5,2,"ng-template",null,12,a.W1O),a.qZA(),a.TgZ(16,"column",11),a.YNc(17,Ca,2,2,"ng-template",null,13,a.W1O),a.qZA(),a.TgZ(19,"column",11),a.YNc(20,Oa,1,1,"ng-template",null,14,a.W1O),a.qZA(),a.TgZ(22,"column",15),a.YNc(23,za,2,1,"ng-template",null,16,a.W1O),a.qZA(),a._UZ(25,"column",17),a.qZA(),a._UZ(26,"pagination",18),a.qZA()),2&o){const l=a.MAs(15),s=a.MAs(18),d=a.MAs(21),c=a.MAs(24);a.Q6J("dao",e.dao)("title",e.isModal?"":e.title)("orderBy",e.orderBy)("groupBy",e.groupBy)("join",e.join)("selectable",e.selectable)("hasAdd",!1)("hasEdit",!1)("hasDelete",!1)("multiselectMenu",e.multiselectMenu),a.xp6(1),a.Q6J("ngIf",!e.selectable),a.xp6(1),a.Q6J("deleted",e.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",e.filter)("where",e.filterWhere)("clear",e.filterClear.bind(e))("submit",e.filterSubmit.bind(e))("collapseChange",e.filterCollapseChange.bind(e))("collapsed",!e.selectable&&e.filterCollapsed),a.xp6(2),a.Q6J("size",8)("disabled",e.isModal?"true":void 0)("control",e.filter.controls.programa_id)("dao",e.programaDao)("where",a.VKq(54,Ua,a.VKq(52,Qa,e.auth.unidade.id)))("metadata",a.DdM(56,Ma))("value",null==e.programa?null:e.programa.nome),a.xp6(2),a.Q6J("size",4)("items",e.condicoes)("label","Situa\xe7\xe3o "+e.lex.translate("no programa"))("control",e.filter.controls.habilitados)("valueTodos",null),a.xp6(2),a.Q6J("size",6)("label","Nome do "+e.lex.translate("usu\xe1rio"))("control",e.filter.controls.nome_usuario)("placeholder","Nome do "+e.lex.translate("usuario")+"..."),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",6)("control",e.filter.controls.unidade_id)("label",e.lex.translate("Unidade ")+e.lex.translate("de lota\xe7\xe3o"))("labelInfo","Se a op\xe7\xe3o TODOS estiver OFF, exibe apenas "+e.lex.translate("os usu\xe1rios")+" habilitados lotados "+e.lex.translate("nessa unidade")+". Se a op\xe7\xe3o TODOS estiver ON, exibe todos "+e.lex.translate("os usu\xe1rios")+" lotados "+e.lex.translate("nessa unidade")+", habilitados, desabilitados e inabilitados.")("dao",e.unidadeDao),a.xp6(2),a.Q6J("ngIf",null==e.grid||null==e.grid.filterRef?null:e.grid.filterRef.collapsed),a.xp6(2),a.Q6J("title",e.lex.translate("Usu\xe1rio"))("template",l),a.xp6(3),a.Q6J("title",e.lex.translate("Programa de Gest\xe3o"))("template",s),a.xp6(3),a.Q6J("title",e.lex.translate("V\xednculos"))("template",d),a.xp6(3),a.Q6J("title",e.lex.translate("Plano de Trabalho")+" ativo?")("align","center")("template",c),a.xp6(3),a.Q6J("dynamicButtons",e.dynamicButtons.bind(e)),a.xp6(1),a.Q6J("rows",e.rowsLimit)}},dependencies:[h.sg,h.O5,b.M,Q.a,U.b,M.z,y.n,J.Q,N.V,E.m,C.p,va.F],styles:[".habilitado[_ngcontent-%COMP%]{background:#198754;border:2px solid #1B5E20}.desabilitado[_ngcontent-%COMP%]{background:#dc3545;border:2px solid #B71C1C}"]})}return i})();const ya=[{path:"",component:ha,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Programas"}},{path:"new",component:A,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Programa",modal:!0}},{path:"participantes",component:S,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Participantes do Programa"}},{path:":id/edit",component:A,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Programa",modal:!0}},{path:":id/consult",component:A,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Programa",modal:!0}},{path:":id/participantes",component:S,canActivate:[p.a],resolve:{config:m.o},runGuardsAndResolvers:"always",data:{title:"Participantes do Programa",modal:!0}}];let Ja=(()=>{class i{static#a=this.\u0275fac=function(o){return new(o||i)};static#e=this.\u0275mod=a.oAB({type:i});static#t=this.\u0275inj=a.cJS({imports:[P.Bz.forChild(ya),P.Bz]})}return i})();var Sa=n(2662),La=n(2133);let Ra=(()=>{class i{static#a=this.\u0275fac=function(o){return new(o||i)};static#e=this.\u0275mod=a.oAB({type:i});static#t=this.\u0275inj=a.cJS({imports:[h.ez,Sa.K,La.UX,Ja]})}return i})()}}]); \ No newline at end of file diff --git a/back-end/public/748.js b/back-end/public/748.js index 214c9fd40..0a8642201 100644 --- a/back-end/public/748.js +++ b/back-end/public/748.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[748],{5748:(j,h,l)=>{l.r(h),l.d(h,{EntregaModule:()=>x});var r=l(6733),T=l(2133),y=l(2662),v=l(5579),u=l(1391),d=l(2314),I=l(8239),p=l(4040),g=l(7465),O=l(4368);class c extends O.X{constructor(s){super(),this.nome="",this.descricao="",this.tipo_indicador="PORCENTAGEM",this.lista_qualitativos=[],this.etiquetas=[],this.checklist=[],this.unidade_id=null,this.initialization(s)}}var A=l(1184),E=l(1214),t=l(755),C=l(2392),N=l(4508),Z=l(4603),b=l(7819);const q=["itemQualitativo"];function F(a,s){if(1&a&&(t.TgZ(0,"div",6)(1,"div",7)(2,"label",8),t._uU(3,"\xa0"),t.qZA(),t.TgZ(4,"input-multiselect",9),t._UZ(5,"input-text",10),t.qZA()()()),2&a){const o=t.oxw();t.xp6(4),t.Q6J("addItemHandle",o.addItemHandleItemQualitativo.bind(o)),t.xp6(1),t.uIk("maxlength",250)}}let m=(()=>{class a extends A.F{constructor(o){super(o,c,g.y),this.injector=o,this.listaQualitativos=[],this.etiquetas=[],this.checklist=[],this.validate=(i,e)=>{let n=null;return["nome","tipo_indicador","descricao"].indexOf(e)>=0&&!i.value?.length&&(n="Obrigat\xf3rio"),n},this.formValidation=i=>{let e=null;return"QUALITATIVO"==this.form?.controls.tipo_indicador.value&&!this.form?.controls.lista_qualitativos.value.length&&(e="Quando o tipo da entrega for Qualitativo, \xe9 necess\xe1ria a inclus\xe3o de ao menos um item de qualitativo!"),e},this.titleEdit=i=>"Editando "+this.lex.translate("Entrega")+": "+(i?.nome||""),this.unidadeDao=o.get(E.J),this.modalWidth=900,this.title="Inclus\xe3o de "+this.lex.translate("Entregas"),this.join=["unidade"],this.form=this.fh.FormBuilder({nome:{default:""},descricao:{default:""},tipo_indicador:{default:""},qualitativo:{default:""},lista_qualitativos:{default:[]},item_qualitativo:{default:""},unidade_id:{default:null},etiquetas:{default:[]},checklist:{default:[]},etiqueta_texto:{default:""},etiqueta_icone:{default:null},etiqueta_cor:{default:null}},this.cdRef,this.validate),this.formChecklist=this.fh.FormBuilder({id:{default:""},texto:{default:""},checked:{default:!1}},this.cdRef)}loadData(o,i){let e=Object.assign({},i.value);i.patchValue(this.util.fillForm(e,o)),this.loadListaQualitativos()}initializeData(o){o.patchValue(new c)}saveData(o){var i=this;return(0,I.Z)(function*(){return new Promise((e,n)=>{const f=i.util.fill(new c,i.entity);e(i.util.fillForm(f,i.form.value))})})()}incluirQualitativo(o){let i=o.trim().replace(" ","%"),e=this.form.controls.lista_qualitativos.value;!e.find(n=>n==i)&&i.length&&(this.clearErros(),e.push(i),this.form.controls.lista_qualitativos.setValue(e),this.form?.controls.qualitativo.setValue(""),this.loadListaQualitativos())}excluirQualitativo(o){let i=this.form.controls.lista_qualitativos.value;i.find(e=>e==o)&&(this.form.controls.lista_qualitativos.setValue(i.filter(e=>e!=o)),this.loadListaQualitativos())}loadListaQualitativos(){this.listaQualitativos=this.form.controls.lista_qualitativos.value||[]}addItemHandleItemQualitativo(){let o;const i=this.form.controls.item_qualitativo.value,e=this.util.onlyAlphanumeric(i).toUpperCase();return i?.length&&this.util.validateLookupItem(this.form.controls.lista_qualitativos.value,e)&&(o={key:e,value:this.form.controls.item_qualitativo.value},this.form.controls.item_qualitativo.setValue("")),o}addItemHandleEtiquetas(){let o;const i=this.form.controls.etiqueta_texto.value,e=this.util.textHash(i);return i?.length&&this.util.validateLookupItem(this.form.controls.etiquetas.value,e)&&(o={key:e,value:this.form.controls.etiqueta_texto.value,color:this.form.controls.etiqueta_cor.value,icon:this.form.controls.etiqueta_icone.value},this.form.controls.etiqueta_texto.setValue(""),this.form.controls.etiqueta_icone.setValue(null),this.form.controls.etiqueta_cor.setValue(null)),o}static#t=this.\u0275fac=function(i){return new(i||a)(t.Y36(t.zs3))};static#e=this.\u0275cmp=t.Xpm({type:a,selectors:[["app-entrega-form"]],viewQuery:function(i,e){if(1&i&&(t.Gf(p.Q,5),t.Gf(q,5)),2&i){let n;t.iGM(n=t.CRH())&&(e.editableForm=n.first),t.iGM(n=t.CRH())&&(e.itemQualitativo=n.first)}},features:[t.qOj],decls:8,vars:13,consts:[["initialFocus","nome",3,"form","disabled","title","submit","cancel"],[1,"row"],["controlName","nome","required","",3,"size","label"],["controlName","descricao","required","",3,"size","rows","label"],["icon","bi bi-arrow-up-right-circle","controlName","tipo_indicador",3,"size","label","items"],["class","row col-6",4,"ngIf"],[1,"row","col-6"],[1,"col-12"],["for","itemQualitativo",1,"radio","control-label"],["label","Itens Qualitativos","controlName","lista_qualitativos",3,"addItemHandle"],["icon","far fa-edit","controlName","item_qualitativo"]],template:function(i,e){1&i&&(t.TgZ(0,"editable-form",0),t.NdJ("submit",function(){return e.onSaveData()})("cancel",function(){return e.onCancel()}),t.TgZ(1,"div",1)(2,"div",1),t._UZ(3,"input-text",2),t.qZA(),t.TgZ(4,"div",1),t._UZ(5,"input-textarea",3)(6,"input-select",4),t.YNc(7,F,6,2,"div",5),t.qZA()()()),2&i&&(t.Q6J("form",e.form)("disabled",e.formDisabled)("title",e.isModal?"":e.title),t.xp6(3),t.Q6J("size",12)("label","Nome "+e.lex.translate("entrega")),t.uIk("maxlength",1e3),t.xp6(2),t.Q6J("size",7)("rows",2)("label","Descri\xe7\xe3o "+e.lex.translate("entrega")),t.xp6(1),t.Q6J("size",5)("label",e.lex.translate("Tipo de indicador"))("items",e.lookup.TIPO_INDICADOR),t.xp6(1),t.Q6J("ngIf","QUALITATIVO"==(null==e.form?null:e.form.controls.tipo_indicador.value)||null))},dependencies:[r.O5,p.Q,C.m,N.Q,Z.p,b.p]})}return a})();var Q=l(3150),L=l(8509),D=l(7224),J=l(3351),M=l(5512),R=l(2704),G=l(5489);function _(a,s){1&a&&t._UZ(0,"toolbar")}function B(a,s){1&a&&t._UZ(0,"badge",11),2&a&&t.Q6J("label",s.$implicit.value)}function U(a,s){if(1&a&&(t.TgZ(0,"div",9),t.YNc(1,B,1,1,"badge",10),t.qZA()),2&a){const o=s.row;t.xp6(1),t.Q6J("ngForOf",o.lista_qualitativos)}}const z=[{path:"",component:(()=>{class a extends L.E{constructor(o){super(o,c,g.y),this.injector=o,this.filterWhere=i=>{let e=[],n=i.value;return n.nome?.length&&e.push(["nome","like","%"+n.nome.trim().replace(" ","%")+"%"]),n.tipo_indicador?.length&&e.push(["tipo_indicador","==",n.tipo_indicador]),e},this.join=["unidade:id,sigla,nome"],this.title=this.lex.translate("Modelos de Entregas"),this.code="MOD_ENTRG",this.unidadeDao=o.get(E.J),this.filter=this.fh.FormBuilder({nome:{default:""},tipo_indicador:{default:null}}),this.addOption(this.OPTION_INFORMACOES),this.addOption(this.OPTION_EXCLUIR,"MOD_ENTRG_EXCL"),this.addOption(this.OPTION_LOGS,"MOD_AUDIT_LOG")}static#t=this.\u0275fac=function(i){return new(i||a)(t.Y36(t.zs3))};static#e=this.\u0275cmp=t.Xpm({type:a,selectors:[["app-entrega-list"]],viewQuery:function(i,e){if(1&i&&t.Gf(Q.M,5),2&i){let n;t.iGM(n=t.CRH())&&(e.grid=n.first)}},features:[t.qOj],decls:11,vars:16,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","select"],[4,"ngIf"],["title","Nome","field","nome","orderBy","nome"],["title","Descri\xe7\xe3o","field","descricao","orderBy","descricao"],["type","select","field","tipo_indicador",3,"title","items"],["title","N\xedveis",3,"template"],["columnQualitativos",""],["type","options",3,"onEdit","options"],[3,"rows"],[1,"one-per-line"],["color","light","icon","bi bi-check2-square",3,"label",4,"ngFor","ngForOf"],["color","light","icon","bi bi-check2-square",3,"label"]],template:function(i,e){if(1&i&&(t.TgZ(0,"grid",0),t.NdJ("select",function(f){return e.onSelect(f)}),t.YNc(1,_,1,0,"toolbar",1),t.TgZ(2,"columns"),t._UZ(3,"column",2)(4,"column",3)(5,"column",4),t.TgZ(6,"column",5),t.YNc(7,U,2,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(9,"column",7),t.qZA(),t._UZ(10,"pagination",8),t.qZA()),2&i){const n=t.MAs(8);t.Q6J("dao",e.dao)("add",e.add)("title",e.isModal?"":e.title)("orderBy",e.orderBy)("groupBy",e.groupBy)("join",e.join)("selectable",e.selectable)("hasAdd",e.auth.hasPermissionTo("MOD_ENTRG_INCL"))("hasEdit",e.auth.hasPermissionTo("MOD_ENTRG_EDT")),t.xp6(1),t.Q6J("ngIf",!e.selectable),t.xp6(4),t.Q6J("title",e.lex.translate("Tipo do indicador"))("items",e.lookup.TIPO_INDICADOR),t.xp6(1),t.Q6J("template",n),t.xp6(3),t.Q6J("onEdit",e.edit)("options",e.options),t.xp6(1),t.Q6J("rows",e.rowsLimit)}},dependencies:[r.sg,r.O5,Q.M,D.a,J.b,M.n,R.Q,G.F]})}return a})(),canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Entregas"}},{path:"new",component:m,canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Entrega",modal:!0}},{path:":id/edit",component:m,canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Entrega",modal:!0}},{path:":id/consult",component:m,canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Entrega",modal:!0}}];let V=(()=>{class a{static#t=this.\u0275fac=function(i){return new(i||a)};static#e=this.\u0275mod=t.oAB({type:a});static#i=this.\u0275inj=t.cJS({imports:[v.Bz.forChild(z),v.Bz]})}return a})(),x=(()=>{class a{static#t=this.\u0275fac=function(i){return new(i||a)};static#e=this.\u0275mod=t.oAB({type:a});static#i=this.\u0275inj=t.cJS({imports:[r.ez,y.K,T.UX,V]})}return a})()}}]); \ No newline at end of file +"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[748],{5748:(j,h,l)=>{l.r(h),l.d(h,{EntregaModule:()=>_});var r=l(6733),y=l(2133),I=l(2662),v=l(5579),u=l(1391),d=l(2314),T=l(8239),p=l(4040),g=l(7465),O=l(4368);class c extends O.X{constructor(s){super(),this.nome="",this.descricao="",this.tipo_indicador="PORCENTAGEM",this.lista_qualitativos=[],this.etiquetas=[],this.checklist=[],this.unidade_id=null,this.initialization(s)}}var A=l(1184),E=l(1214),t=l(755),C=l(2392),Z=l(4508),b=l(4603),q=l(7819);const F=["itemQualitativo"];function N(a,s){if(1&a&&(t.TgZ(0,"div",6)(1,"div",7)(2,"label",8),t._uU(3,"\xa0"),t.qZA(),t.TgZ(4,"input-multiselect",9),t._UZ(5,"input-text",10),t.qZA()()()),2&a){const o=t.oxw();t.xp6(4),t.Q6J("addItemHandle",o.addItemHandleItemQualitativo.bind(o)),t.xp6(1),t.uIk("maxlength",250)}}let m=(()=>{class a extends A.F{constructor(o){super(o,c,g.y),this.injector=o,this.listaQualitativos=[],this.etiquetas=[],this.checklist=[],this.validate=(i,e)=>{let n=null;return["nome","tipo_indicador","descricao"].indexOf(e)>=0&&!i.value?.length&&(n="Obrigat\xf3rio"),n},this.formValidation=i=>{let e=null;return"QUALITATIVO"==this.form?.controls.tipo_indicador.value&&!this.form?.controls.lista_qualitativos.value.length&&(e="Quando o tipo da entrega for Qualitativo, \xe9 necess\xe1ria a inclus\xe3o de ao menos um item de qualitativo!"),e},this.titleEdit=i=>"Editando "+this.lex.translate("Entrega")+": "+(i?.nome||""),this.unidadeDao=o.get(E.J),this.modalWidth=900,this.title="Inclus\xe3o de "+this.lex.translate("Entregas"),this.join=["unidade"],this.form=this.fh.FormBuilder({nome:{default:""},descricao:{default:""},tipo_indicador:{default:""},qualitativo:{default:""},lista_qualitativos:{default:[]},item_qualitativo:{default:""},unidade_id:{default:null},etiquetas:{default:[]},checklist:{default:[]},etiqueta_texto:{default:""},etiqueta_icone:{default:null},etiqueta_cor:{default:null}},this.cdRef,this.validate),this.formChecklist=this.fh.FormBuilder({id:{default:""},texto:{default:""},checked:{default:!1}},this.cdRef)}loadData(o,i){let e=Object.assign({},i.value);i.patchValue(this.util.fillForm(e,o)),this.loadListaQualitativos()}initializeData(o){o.patchValue(new c)}saveData(o){var i=this;return(0,T.Z)(function*(){return new Promise((e,n)=>{const f=i.util.fill(new c,i.entity);e(i.util.fillForm(f,i.form.value))})})()}incluirQualitativo(o){let i=o.trim().replace(" ","%"),e=this.form.controls.lista_qualitativos.value;!e.find(n=>n==i)&&i.length&&(this.clearErros(),e.push(i),this.form.controls.lista_qualitativos.setValue(e),this.form?.controls.qualitativo.setValue(""),this.loadListaQualitativos())}excluirQualitativo(o){let i=this.form.controls.lista_qualitativos.value;i.find(e=>e==o)&&(this.form.controls.lista_qualitativos.setValue(i.filter(e=>e!=o)),this.loadListaQualitativos())}loadListaQualitativos(){this.listaQualitativos=this.form.controls.lista_qualitativos.value||[]}addItemHandleItemQualitativo(){let o;const i=this.form.controls.item_qualitativo.value,e=this.util.onlyAlphanumeric(i).toUpperCase();return i?.length&&this.util.validateLookupItem(this.form.controls.lista_qualitativos.value,e)&&(o={key:e,value:this.form.controls.item_qualitativo.value},this.form.controls.item_qualitativo.setValue("")),o}addItemHandleEtiquetas(){let o;const i=this.form.controls.etiqueta_texto.value,e=this.util.textHash(i);return i?.length&&this.util.validateLookupItem(this.form.controls.etiquetas.value,e)&&(o={key:e,value:this.form.controls.etiqueta_texto.value,color:this.form.controls.etiqueta_cor.value,icon:this.form.controls.etiqueta_icone.value},this.form.controls.etiqueta_texto.setValue(""),this.form.controls.etiqueta_icone.setValue(null),this.form.controls.etiqueta_cor.setValue(null)),o}static#t=this.\u0275fac=function(i){return new(i||a)(t.Y36(t.zs3))};static#e=this.\u0275cmp=t.Xpm({type:a,selectors:[["app-entrega-form"]],viewQuery:function(i,e){if(1&i&&(t.Gf(p.Q,5),t.Gf(F,5)),2&i){let n;t.iGM(n=t.CRH())&&(e.editableForm=n.first),t.iGM(n=t.CRH())&&(e.itemQualitativo=n.first)}},features:[t.qOj],decls:8,vars:13,consts:[["initialFocus","nome",3,"form","disabled","title","submit","cancel"],[1,"row"],["controlName","nome","required","",3,"size","label"],["controlName","descricao","required","",3,"size","rows","label"],["icon","bi bi-arrow-up-right-circle","controlName","tipo_indicador",3,"size","label","items"],["class","row col-6",4,"ngIf"],[1,"row","col-6"],[1,"col-12"],["for","itemQualitativo",1,"radio","control-label"],["label","Itens Qualitativos","controlName","lista_qualitativos",3,"addItemHandle"],["icon","far fa-edit","controlName","item_qualitativo"]],template:function(i,e){1&i&&(t.TgZ(0,"editable-form",0),t.NdJ("submit",function(){return e.onSaveData()})("cancel",function(){return e.onCancel()}),t.TgZ(1,"div",1)(2,"div",1),t._UZ(3,"input-text",2),t.qZA(),t.TgZ(4,"div",1),t._UZ(5,"input-textarea",3)(6,"input-select",4),t.YNc(7,N,6,2,"div",5),t.qZA()()()),2&i&&(t.Q6J("form",e.form)("disabled",e.formDisabled)("title",e.isModal?"":e.title),t.xp6(3),t.Q6J("size",12)("label","Nome "+e.lex.translate("entrega")),t.uIk("maxlength",1e3),t.xp6(2),t.Q6J("size",7)("rows",2)("label","Descri\xe7\xe3o "+e.lex.translate("entrega")),t.xp6(1),t.Q6J("size",5)("label",e.lex.translate("Tipo de indicador"))("items",e.lookup.TIPO_INDICADOR),t.xp6(1),t.Q6J("ngIf","QUALITATIVO"==(null==e.form?null:e.form.controls.tipo_indicador.value)||null))},dependencies:[r.O5,p.Q,C.m,Z.Q,b.p,q.p]})}return a})();var Q=l(3150),L=l(8509),J=l(7224),D=l(3351),M=l(5512),R=l(2704),G=l(5489);function B(a,s){1&a&&t._UZ(0,"toolbar")}function U(a,s){1&a&&t._UZ(0,"badge",11),2&a&&t.Q6J("label",s.$implicit.value)}function x(a,s){if(1&a&&(t.TgZ(0,"div",9),t.YNc(1,U,1,1,"badge",10),t.qZA()),2&a){const o=s.row;t.xp6(1),t.Q6J("ngForOf",o.lista_qualitativos)}}const z=[{path:"",component:(()=>{class a extends L.E{constructor(o){super(o,c,g.y),this.injector=o,this.filterWhere=i=>{let e=[],n=i.value;return n.nome?.length&&e.push(["nome","like","%"+n.nome.trim().replace(" ","%")+"%"]),n.tipo_indicador?.length&&e.push(["tipo_indicador","==",n.tipo_indicador]),e},this.join=["unidade:id,sigla,nome"],this.title=this.lex.translate("Modelos de Entregas"),this.code="MOD_ENTRG",this.unidadeDao=o.get(E.J),this.filter=this.fh.FormBuilder({nome:{default:""},tipo_indicador:{default:null}}),this.addOption(this.OPTION_INFORMACOES),this.addOption(this.OPTION_EXCLUIR,"MOD_ENTRG_EXCL"),this.addOption(this.OPTION_LOGS,"MOD_AUDIT_LOG")}static#t=this.\u0275fac=function(i){return new(i||a)(t.Y36(t.zs3))};static#e=this.\u0275cmp=t.Xpm({type:a,selectors:[["app-entrega-list"]],viewQuery:function(i,e){if(1&i&&t.Gf(Q.M,5),2&i){let n;t.iGM(n=t.CRH())&&(e.grid=n.first)}},features:[t.qOj],decls:11,vars:16,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","select"],[4,"ngIf"],["title","Nome","field","nome","orderBy","nome"],["title","Descri\xe7\xe3o","field","descricao","orderBy","descricao"],["type","select","field","tipo_indicador",3,"title","items"],["title","N\xedveis",3,"template"],["columnQualitativos",""],["type","options",3,"onEdit","options"],[3,"rows"],[1,"one-per-line"],["color","light","icon","bi bi-check2-square",3,"label",4,"ngFor","ngForOf"],["color","light","icon","bi bi-check2-square",3,"label"]],template:function(i,e){if(1&i&&(t.TgZ(0,"grid",0),t.NdJ("select",function(f){return e.onSelect(f)}),t.YNc(1,B,1,0,"toolbar",1),t.TgZ(2,"columns"),t._UZ(3,"column",2)(4,"column",3)(5,"column",4),t.TgZ(6,"column",5),t.YNc(7,x,2,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(9,"column",7),t.qZA(),t._UZ(10,"pagination",8),t.qZA()),2&i){const n=t.MAs(8);t.Q6J("dao",e.dao)("add",e.add)("title",e.isModal?"":e.title)("orderBy",e.orderBy)("groupBy",e.groupBy)("join",e.join)("selectable",e.selectable)("hasAdd",!1)("hasEdit",!1),t.xp6(1),t.Q6J("ngIf",!e.selectable),t.xp6(4),t.Q6J("title",e.lex.translate("Tipo do indicador"))("items",e.lookup.TIPO_INDICADOR),t.xp6(1),t.Q6J("template",n),t.xp6(3),t.Q6J("onEdit",e.edit)("options",e.options),t.xp6(1),t.Q6J("rows",e.rowsLimit)}},dependencies:[r.sg,r.O5,Q.M,J.a,D.b,M.n,R.Q,G.F]})}return a})(),canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Entregas"}},{path:"new",component:m,canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Entrega",modal:!0}},{path:":id/edit",component:m,canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Entrega",modal:!0}},{path:":id/consult",component:m,canActivate:[u.a],resolve:{config:d.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Entrega",modal:!0}}];let V=(()=>{class a{static#t=this.\u0275fac=function(i){return new(i||a)};static#e=this.\u0275mod=t.oAB({type:a});static#i=this.\u0275inj=t.cJS({imports:[v.Bz.forChild(z),v.Bz]})}return a})(),_=(()=>{class a{static#t=this.\u0275fac=function(i){return new(i||a)};static#e=this.\u0275mod=t.oAB({type:a});static#i=this.\u0275inj=t.cJS({imports:[r.ez,I.K,y.UX,V]})}return a})()}}]); \ No newline at end of file diff --git a/back-end/public/837.js b/back-end/public/837.js index 13c32529f..572e14c89 100644 --- a/back-end/public/837.js +++ b/back-end/public/837.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[837],{1095:(ne,S,r)=>{r.d(S,{w:()=>P});var O=r(6976),R=r(755);let P=(()=>{class E extends O.B{constructor(u){super("Avaliacao",u),this.injector=u,this.inputSearchConfig.searchFields=[]}cancelarAvaliacao(u){return new Promise((f,D)=>{this.server.post("api/"+this.collection+"/cancelar-avaliacao",{id:u}).subscribe(I=>{I?.error?D(I?.error):f(!0)},I=>D(I))})}recorrer(u,f){return new Promise((D,I)=>{this.server.post("api/"+this.collection+"/recorrer",{id:u.id,recurso:f}).subscribe(Z=>{Z?.error?I(Z?.error):(u.recurso=f,D(!0))},Z=>I(Z))})}static#e=this.\u0275fac=function(f){return new(f||E)(R.LFG(R.zs3))};static#t=this.\u0275prov=R.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},2837:(ne,S,r)=>{r.r(S),r.d(S,{PlanoEntregaModule:()=>ho});var O=r(6733),R=r(2662),P=r(5579),E=r(1391),C=r(2314),u=r(8239),f=r(3150),D=r(9520),I=r(5458),Z=r(9190),N=r(1214),w=r(4368);class V extends w.X{constructor(l){super(),this.entregas=[],this.status_historico=[],this.data_inicio=new Date,this.data_fim=null,this.nome="",this.metadados=void 0,this.arquivar=!1,this.status="INCLUIDO",this.avaliacoes=[],this.unidade_id="",this.avaliacao_id=null,this.plano_entrega_id=null,this.planejamento_id=null,this.cadeia_valor_id=null,this.programa_id=null,this.initialization(l)}}var d=r(8509),c=r(7447),p=r(1095),T=r(609),e=r(755),b=r(7224),A=r(3351),m=r(7765),x=r(5512),z=r(2704),oe=r(8820),J=r(8967),j=r(2392),q=r(4495),G=r(4603),X=r(1915),y=r(5489),Ce=r(6486),U=r(4040),L=r(1021),F=r(2398),k=r(6298),ie=r(7819),B=r(5560),Y=r(9756),H=r(9224),le=r(4792),Ie=r(1419);function Pe(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-number",3),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onValueChange(n))}),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("disabled",t.disabled)("icon",t.icon)("label",t.label||"Porcentagem")("control",t.control)("labelInfo",t.labelInfo)}}function Ze(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-number",4),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onValueChange(n))}),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("disabled",t.disabled)("icon",t.icon)("label",t.label||"Num\xe9rico")("control",t.control)("labelInfo",t.labelInfo)}}const De=function(){return[]};function xe(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-select",5),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onValueChange(n))}),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("disabled",t.disabled)("icon",t.icon)("label",t.label||"Qualitativo")("control",t.control)("items",(null==t.entrega?null:t.entrega.lista_qualitativos)||e.DdM(6,De))("labelInfo",t.labelInfo)}}const Ne=function(){return["PORCENTAGEM"]},ye=function(){return["QUANTIDADE","VALOR"]},Ue=function(){return["QUALITATIVO"]};let $=(()=>{class o{constructor(){this.class="form-group",this.icon="",this.labelInfo="",this._size=0}set size(t){t!=this._size&&(this._size=t,this.class=this.class.replace(/\scol\-md\-[0-9]+/g,"")+" col-md-"+t)}get size(){return this._size||12}checkTipoIndicador(t){return t.includes(this.entrega?.tipo_indicador||"")}onValueChange(t){this.change&&this.change(this.control?.value,this.entrega)}static#e=this.\u0275fac=function(a){return new(a||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-valor-meta-input"]],hostVars:2,hostBindings:function(a,n){2&a&&e.Tol(n.class)},inputs:{entrega:"entrega",icon:"icon",label:"label",labelInfo:"labelInfo",disabled:"disabled",control:"control",change:"change",size:"size"},decls:3,vars:6,consts:[["sufix","%","required","",3,"disabled","icon","label","control","labelInfo","change",4,"ngIf"],["required","",3,"disabled","icon","label","control","labelInfo","change",4,"ngIf"],["required","",3,"disabled","icon","label","control","items","labelInfo","change",4,"ngIf"],["sufix","%","required","",3,"disabled","icon","label","control","labelInfo","change"],["required","",3,"disabled","icon","label","control","labelInfo","change"],["required","",3,"disabled","icon","label","control","items","labelInfo","change"]],template:function(a,n){1&a&&(e.YNc(0,Pe,1,5,"input-number",0),e.YNc(1,Ze,1,5,"input-number",1),e.YNc(2,xe,1,7,"input-select",2)),2&a&&(e.Q6J("ngIf",n.checkTipoIndicador(e.DdM(3,Ne))),e.xp6(1),e.Q6J("ngIf",n.checkTipoIndicador(e.DdM(4,ye))),e.xp6(1),e.Q6J("ngIf",n.checkTipoIndicador(e.DdM(5,Ue))))},dependencies:[O.O5,G.p,H.l]})}return o})();const Le=["etiqueta"];function we(o,l){if(1&o&&(e.TgZ(0,"strong",14),e._uU(1,"Entregas: "),e.qZA(),e.TgZ(2,"span",15),e._UZ(3,"badge",16),e.qZA()),2&o){const t=l.separator;e.xp6(3),e.Q6J("label",null==t?null:t.text)}}function qe(o,l){if(1&o&&e._UZ(0,"badge",21),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",t.unidade.sigla)}}function Qe(o,l){if(1&o&&e._UZ(0,"badge",22),2&o){const t=e.oxw().row;e.Q6J("label",t.destinatario)}}function Re(o,l){if(1&o&&e._UZ(0,"reaction",23),2&o){const t=e.oxw().row;e.Q6J("entity",t)}}function Je(o,l){if(1&o&&(e.TgZ(0,"h6"),e._uU(1),e.qZA(),e.TgZ(2,"span",17),e.YNc(3,qe,1,2,"badge",18),e.YNc(4,Qe,1,1,"badge",19),e.qZA(),e.YNc(5,Re,1,1,"reaction",20)),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Oqu(t.descricao),e.xp6(2),e.Q6J("ngIf",t.unidade),e.xp6(1),e.Q6J("ngIf",null==t.destinatario?null:t.destinatario.length),e.xp6(1),e.Q6J("ngIf",a.execucao)}}function Me(o,l){1&o&&e._UZ(0,"badge",25),2&o&&e.Q6J("lookup",l.$implicit)}function Se(o,l){1&o&&e.YNc(0,Me,1,1,"badge",24),2&o&&e.Q6J("ngForOf",l.row.etiquetas)}function Ve(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-multiselect",26)(1,"input-select",27,28),e.NdJ("details",function(){e.CHM(t);const n=e.oxw();return e.KtG(n.onEtiquetaConfigClick())}),e.qZA()()}if(2&o){const t=e.oxw();e.Q6J("size",12)("control",t.formEdit.controls.etiquetas)("addItemHandle",t.addItemHandleEtiquetas.bind(t)),e.xp6(1),e.Q6J("size",12)("control",t.formEdit.controls.etiqueta)("items",t.etiquetas)}}function ze(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function je(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function Ge(o,l){if(1&o&&(e.YNc(0,ze,2,1,"span",29),e._UZ(1,"br"),e.YNc(2,je,2,1,"span",29)),2&o){const t=l.row;e.Q6J("ngIf",t.data_inicio),e.xp6(2),e.Q6J("ngIf",t.data_fim)}}function Fe(o,l){if(1&o&&e._UZ(0,"badge",30)(1,"br")(2,"badge",31),2&o){const t=l.row,a=e.oxw();e.Q6J("textValue",a.planoEntregaService.getValorMeta(t)),e.xp6(2),e.Q6J("textValue",a.planoEntregaService.getValorRealizado(t))}}function ke(o,l){if(1&o&&e._UZ(0,"plano-entrega-valor-meta-input",32)(1,"plano-entrega-valor-meta-input",33),2&o){const t=l.row,a=e.oxw();e.Q6J("entrega",t.entrega)("size",6)("control",a.form.controls.meta),e.xp6(1),e.Q6J("entrega",t.entrega)("size",6)("control",a.form.controls.realizado)("change",a.onRealizadaChange.bind(a))}}function Be(o,l){1&o&&e._UZ(0,"i",42)}function Ye(o,l){if(1&o&&(e.TgZ(0,"tr")(1,"td"),e.YNc(2,Be,1,0,"i",40),e.qZA(),e.TgZ(3,"td",41),e._uU(4),e.qZA()()),2&o){const t=l.$implicit;e.xp6(2),e.Q6J("ngIf",t.checked),e.xp6(2),e.Oqu(t.texto)}}function He(o,l){if(1&o&&(e.TgZ(0,"table"),e.YNc(1,Ye,5,2,"tr",39),e.qZA()),2&o){const t=e.oxw(2).row;e.xp6(1),e.Q6J("ngForOf",t.checklist)}}function We(o,l){if(1&o&&(e.TgZ(0,"separator",38),e.YNc(1,He,2,1,"table",29),e.qZA()),2&o){const t=e.oxw().row;e.Q6J("collapsed",!0),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function Ke(o,l){if(1&o&&(e._UZ(0,"progress-bar",36),e.YNc(1,We,2,2,"separator",37)),2&o){const t=l.row;e.Q6J("value",t.progresso_realizado)("goal",t.progresso_esperado),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function Xe(o,l){1&o&&e._UZ(0,"separator",45)}function $e(o,l){if(1&o&&(e.TgZ(0,"tr")(1,"td"),e._UZ(2,"input-switch",46),e.qZA(),e.TgZ(3,"td",41),e._uU(4),e.qZA()()),2&o){const t=l.$implicit,a=l.index,n=e.oxw(4);e.xp6(2),e.Q6J("size",12)("source",n.checklist)("path",a+".checked"),e.xp6(2),e.Oqu(t.texto)}}function et(o,l){if(1&o&&(e.TgZ(0,"table"),e.YNc(1,$e,5,4,"tr",39),e.qZA()),2&o){const t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.checklist)}}function tt(o,l){if(1&o&&(e._UZ(0,"input-number",43),e.YNc(1,Xe,1,0,"separator",44),e.YNc(2,et,2,1,"table",29)),2&o){const t=l.row,a=e.oxw(2);e.Q6J("size",12)("control",a.formEdit.controls.progresso_realizado),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function at(o,l){if(1&o&&(e.TgZ(0,"column",4),e.YNc(1,Ke,2,3,"ng-template",null,34,e.W1O),e.YNc(3,tt,3,4,"ng-template",null,35,e.W1O),e.qZA()),2&o){const t=e.MAs(2),a=e.MAs(4),n=e.oxw();e.Q6J("title","Progresso\nChecklist")("width",200)("template",t)("editTemplate",t)("columnEditTemplate",n.selectable?void 0:a)("edit",n.selectable?void 0:n.onColumnChecklistEdit.bind(n))("save",n.selectable?void 0:n.onColumnChecklistSave.bind(n))}}function nt(o,l){if(1&o&&e._UZ(0,"badge",49),2&o){const t=e.oxw().row;e.Q6J("label",null==t.entrega?null:t.entrega.nome)}}function ot(o,l){if(1&o&&(e.YNc(0,nt,1,1,"badge",47),e._UZ(1,"comentarios-widget",48)),2&o){const t=l.row,a=e.oxw();e.Q6J("ngIf",t.entrega),e.xp6(1),e.Q6J("entity",t)("selectable",!a.execucao||!(null==a.grid||!a.grid.editing))("grid",a.grid)("save",a.refreshComentarios.bind(a))}}let se=(()=>{class o extends k.D{set noPersist(t){super.noPersist=t}get noPersist(){return super.noPersist}set control(t){super.control=t}get control(){return super.control}set entity(t){super.entity=t}get entity(){return super.entity}set planejamentoId(t){this._planejamentoId!=t&&(this._planejamentoId=t)}get planejamentoId(){return this._planejamentoId}set cadeiaValorId(t){this._cadeiaValorId!=t&&(this._cadeiaValorId=t)}get cadeiaValorId(){return this._cadeiaValorId}set unidadeId(t){this._unidadeId!=t&&(this._unidadeId=t)}get unidadeId(){return this._unidadeId}set dataFim(t){this._dataFim!=t&&(this._dataFim=t)}get dataFim(){return this._dataFim}get items(){return this.gridControl.value||this.gridControl.setValue([]),this.gridControl.value}constructor(t){super(t),this.injector=t,this.disabled=!1,this.execucao=!1,this.entityToControl=a=>a.entregas||[],this.options=[],this.planoEntregaId="",this.etiquetas=[],this.etiquetasAscendentes=[],this.selectable=!1,this.validate=(a,n)=>{let i=null;return["nome"].indexOf(n)>=0&&!a.value?.length&&(i="Obrigat\xf3rio"),i},this.filterWhere=a=>{let n=[];return n.push(["plano_entrega_id","==",this.planoEntregaId]),n},this.title=this.lex.translate("Entregas"),this.join=["unidade","entrega","reacoes.usuario:id,nome,apelido"],this.code="MOD_PENT",this.cdRef=t.get(e.sBO),this.dao=t.get(L.K),this.unidadeDao=t.get(N.J),this.planoEntregaService=t.get(c.f),this.form=this.fh.FormBuilder({descricao:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},meta:{default:""},realizado:{default:null},entrega_id:{default:null},unidade_id:{default:null},progresso_esperado:{default:null},progresso_realizado:{default:null},destinatario:{default:null},etiquetas:{default:[]}},this.cdRef,this.validate),this.formEdit=this.fh.FormBuilder({progresso_realizado:{default:0},etiquetas:{default:[]},etiqueta:{default:null}}),this.addOption(Object.assign({onClick:this.consult.bind(this)},this.OPTION_INFORMACOES),"MOD_PENT"),this.addOption(Object.assign({onClick:this.delete.bind(this)},this.OPTION_EXCLUIR),"MOD_PENT_ENTR_EXCL"),this.addOption(Object.assign({onClick:this.showLogs.bind(this)},this.OPTION_LOGS),"MOD_AUDIT_LOG")}ngOnInit(){super.ngOnInit(),this.planoEntregaId=this.urlParams.get("id")||""}get isDisabled(){return this.formDisabled||this.disabled}add(){var t=this;return(0,u.Z)(function*(){let a=new F.O({_status:"ADD",id:t.dao.generateUuid(),plano_entrega_id:t.entity?.id});var n;t.go.navigate({route:["gestao","plano-entrega","entrega"]},{metadata:{plano_entrega:t.entity,planejamento_id:t.planejamentoId,cadeia_valor_id:t.cadeiaValorId,unidade_id:t.unidadeId,data_fim:t.dataFim,entrega:a},modalClose:(n=(0,u.Z)(function*(i){if(i)try{t.items.push(t.isNoPersist?i:yield t.dao.save(i,t.join)),t.cdRef.detectChanges()}catch(s){t.error(s?.error||s?.message||s)}}),function(s){return n.apply(this,arguments)})})})()}dynamicOptions(t){return this.execucao||this.isDisabled?[]:this.options}dynamicButtons(t){const a=[];return this.isDisabled&&a.push(Object.assign({onClick:this.consult.bind(this)},this.OPTION_INFORMACOES)),this.execucao&&a.push({label:"Hist\xf3rico de execu\xe7\xe3o",icon:"bi bi-activity",color:"btn-outline-info",onClick:this.showProgresso.bind(this)}),a.push({label:"Detalhes",icon:"bi bi-eye",color:"btn-outline-success",onClick:this.showDetalhes.bind(this)}),a}edit(t){var a=this;return(0,u.Z)(function*(){if(a.execucao)a.grid.edit(t);else{t._status="ADD"==t._status?"ADD":"EDIT";let n=a.items.indexOf(t);a.go.navigate({route:["gestao","plano-entrega","entrega"]},{metadata:{plano_entrega:a.entity,planejamento_id:a.planejamentoId,cadeia_valor_id:a.cadeiaValorId,unidade_id:a.unidadeId,entrega:t},modalClose:(i=(0,u.Z)(function*(s){s&&(a.isNoPersist||(yield a.dao?.save(s)),a.items[n]=s)}),function(g){return i.apply(this,arguments)})})}var i})()}load(t,a){var n=this;return(0,u.Z)(function*(){n.form.patchValue(a),n.form.controls.meta.setValue(n.planoEntregaService.getValor(a.meta)),n.form.controls.realizado.setValue(n.planoEntregaService.getValor(a.realizado)),n.cdRef.detectChanges()})()}save(t,a){var n=this;return(0,u.Z)(function*(){let i;if(n.form.markAllAsTouched(),t.valid){n.submitting=!0;try{i=yield n.dao?.update(a.id,{realizado:n.planoEntregaService.getEntregaValor(a.entrega,t.controls.realizado.value),progresso_realizado:t.controls.progresso_realizado.value},n.join)}finally{n.submitting=!1}}return i})()}delete(t){var a=this;return(0,u.Z)(function*(){if(yield a.dialog.confirm("Exclui ?","Deseja realmente excluir?")){let i=a.items.indexOf(t);a.isNoPersist?t._status="DELETE":a.dao.delete(t).then(()=>{a.items.splice(i,1),a.cdRef.detectChanges(),a.dialog.topAlert("Registro exclu\xeddo com sucesso!",5e3)}).catch(s=>{a.dialog.alert("Erro","Erro ao excluir: "+(s?.message?s?.message:s))})}})()}consult(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega",t.id,"consult"]},{metadata:{plano_entrega:a.entity,planejamento_id:a.planejamentoId,cadeia_valor_id:a.cadeiaValorId,unidade_id:a.unidadeId,entrega:t}})})()}showLogs(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["logs","change",t.id,"consult"]})})()}showPlanejamento(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","objetivos",t]},{modal:!0})})()}showCadeiaValor(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","processos",t]},{modal:!0})})()}showProgresso(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","progresso",t.id]},{modal:!0,modalClose:n=>{a.parent?.refresh(a.entity?.id)}})})()}showDetalhes(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega",t.id,"detalhes"]},{metadata:{plano_entrega:a.entity,planejamento_id:a.planejamentoId,cadeia_valor_id:a.cadeiaValorId,unidade_id:a.unidadeId,entrega:t}})})()}refreshComentarios(t){let a=this.items.find(n=>n.id==t.id);a&&(a.comentarios=t.comentarios||[])}onRealizadaChange(){const t=this.form?.controls.meta.value,a=this.form?.controls.realizado.value;if(t&&a){let n=isNaN(a)?0:(a/t*100).toFixed(0)||0;this.form?.controls.progresso_realizado.setValue(n)}}addItemHandleEtiquetas(){let t;if(this.etiqueta&&this.etiqueta.selectedItem){const a=this.etiqueta.selectedItem,n=a.key?.length?a.key:this.util.textHash(a.value);this.util.validateLookupItem(this.formEdit.controls.etiqueta.value,n)&&(t={key:n,value:a.value,color:a.color,icon:a.icon},this.formEdit.controls.etiqueta.setValue(null))}return t}onColumnEtiquetasEdit(t){var a=this;return(0,u.Z)(function*(){if(!a.etiquetasAscendentes.filter(n=>n.data==t.unidade.id).length){let n=yield a.carregaEtiquetasUnidadesAscendentes(t.unidade);a.etiquetasAscendentes.push(...n)}a.formEdit.controls.etiquetas.setValue(t.etiquetas),a.formEdit.controls.etiqueta.setValue(null),a.etiquetas=a.util.merge(t.tipo_atividade?.etiquetas,t.unidade?.etiquetas,(n,i)=>n.key==i.key),a.etiquetas=a.util.merge(a.etiquetas,a.auth.usuario.config?.etiquetas,(n,i)=>n.key==i.key),a.etiquetas=a.util.merge(a.etiquetas,a.etiquetasAscendentes.filter(n=>n.data==t.unidade.id),(n,i)=>n.key==i.key)})()}carregaEtiquetasUnidadesAscendentes(t){var a=this;return(0,u.Z)(function*(){let n=[],i=t.path.split("/");return(yield a.unidadeDao.query({where:[["id","in",i]]}).asPromise()).forEach(g=>{n=a.util.merge(n,g.etiquetas,(_,h)=>_.key==h.key)}),n.forEach(g=>g.data=t.id),n})()}onColumnEtiquetasSave(t){var a=this;return(0,u.Z)(function*(){try{const n=yield a.dao.update(t.id,{etiquetas:a.formEdit.controls.etiquetas.value});return t.etiquetas=a.formEdit.controls.etiquetas.value,!!n}catch{return!1}})()}onEtiquetaConfigClick(){this.go.navigate({route:["configuracoes","preferencia","usuario",this.auth.usuario.id],params:{etiquetas:!0}},{modal:!0,modalClose:t=>{this.etiquetas=this.util.merge(this.etiquetas,this.auth.usuario.config?.etiquetas,(a,n)=>a.key==n.key),this.cdRef.detectChanges()}})}onColumnChecklistEdit(t){var a=this;return(0,u.Z)(function*(){a.formEdit.controls.progresso_realizado.setValue(t.progresso_realizado),a.checklist=a.util.clone(t.checklist)})()}onColumnChecklistSave(t){var a=this;return(0,u.Z)(function*(){let n=Math.round(parseInt(a.planoEntregaService.getValorMeta(t))*a.formEdit.controls.progresso_realizado.value/100);try{const i=yield a.dao.update(t.id,{progresso_realizado:a.formEdit.controls.progresso_realizado.value,realizado:a.planoEntregaService.getEntregaValor(t.entrega,n),checklist:a.checklist});return t.progresso_realizado=a.formEdit.controls.progresso_realizado.value,t.checklist=a.checklist,typeof t.realizado.porcentagem<"u"?t.realizado.porcentagem=n:typeof t.realizado.quantitativo<"u"?t.realizado.quantitativo=n:typeof t.realizado.valor<"u"&&(t.realizado.valor=n),!!i}catch{return!1}})()}getObjetivos(t){return t.objetivos.filter(a=>"DELETE"!=a._status)}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-list-entrega"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(f.M,5),e.Gf(Le,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.etiqueta=i.first)}},inputs:{cdRef:"cdRef",disabled:"disabled",parent:"parent",noPersist:"noPersist",control:"control",entity:"entity",planejamentoId:"planejamentoId",cadeiaValorId:"cadeiaValorId",unidadeId:"unidadeId",dataFim:"dataFim",execucao:"execucao"},features:[e.qOj],decls:25,vars:35,consts:[[3,"items","form","groupTemplate","minHeight","editable","hasAdd","add","hasEdit","load","save","selectable"],["groupEntregas",""],[3,"title","template","editTemplate"],["columnEntregaCliente",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save"],["columnEtiquetas",""],["columnEtiquetasEdit",""],["columnDatas",""],[3,"title","width","template","editTemplate"],["columnMetaRealizado",""],["editMetaRealizado",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save",4,"ngIf"],["columnEntregaCometario",""],["type","options",3,"onEdit","dynamicButtons","dynamicOptions"],[1,"grid-group-text"],[1,"text-wrap"],["color","primary",3,"label"],[1,"d-block"],["color","light",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-mailbox",3,"label",4,"ngIf"],["origem","PLANO_ENTREGA_ENTREGA",3,"entity",4,"ngIf"],["color","light",3,"icon","label"],["color","light","icon","bi bi-mailbox",3,"label"],["origem","PLANO_ENTREGA_ENTREGA",3,"entity"],[3,"lookup",4,"ngFor","ngForOf"],[3,"lookup"],["controlName","etiquetas",3,"size","control","addItemHandle"],["controlName","etiqueta","nullable","","itemNull","- Selecione -","detailsButton","","detailsButtonIcon","bi bi-tools",3,"size","control","items","details"],["etiqueta",""],[4,"ngIf"],["icon","bi bi-graph-up-arrow","color","light","hint","Planejada",3,"textValue"],["icon","bi bi-check-lg","color","light","hint","Realizada",3,"textValue"],["icon","bi bi-graph-up-arrow","disabled","","label","Meta",3,"entrega","size","control"],["icon","bi bi-check-lg","label","Realizada",3,"entrega","size","control","change"],["columnProgChecklist",""],["columnChecklistEdit",""],["color","success",3,"value","goal"],["small","","title","Checklist","collapse","",3,"collapsed",4,"ngIf"],["small","","title","Checklist","collapse","",3,"collapsed"],[4,"ngFor","ngForOf"],["class","bi bi-check-circle",4,"ngIf"],[1,"micro-text","fw-ligh"],[1,"bi","bi-check-circle"],["label","Realizado","sufix","%","icon","bi bi-clock","controlName","progresso_realizado","labelInfo","Progresso de execu\xe7\xe3o (% Conclu\xeddo)",3,"size","control"],["small","","title","Checklist",4,"ngIf"],["small","","title","Checklist"],["scale","small",3,"size","source","path"],["color","light","icon","bi bi-list-check",3,"label",4,"ngIf"],["origem","PLANO_ENTREGA_ENTREGA",3,"entity","selectable","grid","save"],["color","light","icon","bi bi-list-check",3,"label"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0),e.YNc(1,we,4,1,"ng-template",null,1,e.W1O),e.TgZ(3,"columns")(4,"column",2),e.YNc(5,Je,6,4,"ng-template",null,3,e.W1O),e.qZA(),e.TgZ(7,"column",4),e.YNc(8,Se,1,1,"ng-template",null,5,e.W1O),e.YNc(10,Ve,3,6,"ng-template",null,6,e.W1O),e.qZA(),e.TgZ(12,"column",2),e.YNc(13,Ge,3,2,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(15,"column",8),e.YNc(16,Fe,3,2,"ng-template",null,9,e.W1O),e.YNc(18,ke,2,7,"ng-template",null,10,e.W1O),e.qZA(),e.YNc(20,at,5,7,"column",11),e.TgZ(21,"column",2),e.YNc(22,ot,2,5,"ng-template",null,12,e.W1O),e.qZA(),e._UZ(24,"column",13),e.qZA()()),2&a){const i=e.MAs(2),s=e.MAs(6),g=e.MAs(9),_=e.MAs(11),h=e.MAs(14),v=e.MAs(17),M=e.MAs(19),Q=e.MAs(23);e.Q6J("items",n.items)("form",n.form)("groupTemplate",i)("minHeight",300)("editable",n.isDisabled?void 0:"true")("hasAdd",!n.isDisabled&&n.auth.hasPermissionTo("MOD_PENT_ENTR_INCL")&&!n.execucao)("add",n.add.bind(n))("hasEdit",!n.isDisabled&&n.auth.hasPermissionTo("MOD_PENT_ENTR_EDT"))("load",n.load.bind(n))("save",n.save.bind(n))("selectable",n.selectable),e.xp6(4),e.Q6J("title","Entrega\nDemandante/Destinat\xe1rio")("template",s)("editTemplate",s),e.xp6(3),e.Q6J("title","Etiquetas")("width",100)("template",g)("editTemplate",g)("columnEditTemplate",n.selectable?void 0:_)("edit",n.selectable?void 0:n.onColumnEtiquetasEdit.bind(n))("save",n.selectable?void 0:n.onColumnEtiquetasSave.bind(n)),e.xp6(5),e.Q6J("title","Data In\xedcio\nData Fim")("template",h)("editTemplate",h),e.xp6(3),e.Q6J("title","Meta")("width",100)("template",v)("editTemplate",M),e.xp6(5),e.Q6J("ngIf",n.execucao),e.xp6(1),e.Q6J("title",n.lex.translate("Modelo de Entrega")+"\nComent\xe1rios")("template",Q)("editTemplate",Q),e.xp6(3),e.Q6J("onEdit",n.edit.bind(n))("dynamicButtons",n.dynamicButtons.bind(n))("dynamicOptions",n.dynamicOptions.bind(n))}},dependencies:[O.sg,O.O5,f.M,b.a,A.b,oe.a,G.p,ie.p,B.N,y.F,Y.R,H.l,le.C,Ie.y,$],styles:[".objetivo[_ngcontent-%COMP%]{border-bottom:1px solid #ddd;padding:2px 0}"]})}return o})();function it(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-switch",24),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw(2);return e.KtG(i.onPrincipaisChange(n))}),e.qZA()}if(2&o){const t=e.oxw(2);e.Q6J("size",2)("control",t.filter.controls.principais)("labelInfo",t.lex.translate("Unidades")+" onde o "+t.lex.translate("usuario")+" \xe9 integrante, incluindo unidades superiores sob sua ger\xeancia.")}}function lt(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"toolbar",21)(1,"input-switch",22),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onAgruparChange(n))}),e.qZA(),e.YNc(2,it,1,3,"input-switch",23),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("buttons",t.toolbarButtons),e.xp6(1),e.Q6J("size",3)("control",t.filter.controls.agrupar),e.xp6(1),e.Q6J("ngIf",!t.avaliacao)}}function st(o,l){if(1&o&&(e.TgZ(0,"div")(1,"div",25),e._UZ(2,"input-switch",26)(3,"input-search",27,28)(5,"input-select",29)(6,"input-datetime",30)(7,"input-datetime",31),e.qZA()()),2&o){const t=e.oxw();e.xp6(2),e.Q6J("size",1)("control",t.filter.controls.meus_planos),e.xp6(1),e.Q6J("size",5)("control",t.filter.controls.unidade_id)("dao",t.unidadeDao),e.xp6(2),e.Q6J("size",2)("valueTodos",null)("control",t.filter.controls.data_filtro)("items",t.DATAS_FILTRO),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_inicio),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_fim)}}const rt=function(){return["CONCLUIDO","AVALIADO"]};function dt(o,l){if(1&o&&(e.TgZ(0,"div",25),e._UZ(1,"input-switch",26)(2,"input-text",32)(3,"input-search",27,28)(5,"input-select",33)(6,"input-switch",34),e.qZA(),e.TgZ(7,"div",25),e._UZ(8,"input-search",35,36)(10,"input-search",37,38)(12,"input-select",29)(13,"input-datetime",30)(14,"input-datetime",31),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("size",1)("control",t.filter.controls.meus_planos),e.xp6(1),e.Q6J("size",3)("control",t.filter.controls.nome)("placeholder","Nome do "+t.lex.translate("plano de entrega")),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4)("control",t.filter.controls.unidade_id)("dao",t.unidadeDao),e.xp6(2),e.Q6J("size",3)("control",t.filter.controls.status)("items",t.lookup.PLANO_ENTREGA_STATUS)("filter",t.avaliacao?e.DdM(32,rt):void 0)("valueTodos",null),e.xp6(1),e.Q6J("size",1)("control",t.filter.controls.arquivadas),e.xp6(2),e.Q6J("size",3)("control",t.filter.controls.planejamento_id)("dao",t.planejamentoDao),e.xp6(2),e.Q6J("size",3)("control",t.filter.controls.cadeia_valor_id)("dao",t.cadeiaValorDao),e.xp6(2),e.Q6J("size",2)("valueTodos",null)("control",t.filter.controls.data_filtro)("items",t.DATAS_FILTRO),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_inicio),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_fim)}}function ct(o,l){if(1&o&&(e.TgZ(0,"span",43),e._UZ(1,"i",44),e._uU(2),e.qZA()),2&o){const t=e.oxw().row;e.xp6(2),e.hij(" ",null==t.entregas?null:t.entregas.length,"")}}function ut(o,l){if(1&o&&e.YNc(0,ct,3,1,"span",42),2&o){const t=l.row;e.Q6J("ngIf",null==t.entregas?null:t.entregas.length)}}function gt(o,l){if(1&o&&e._UZ(0,"plano-entrega-list-entrega",45),2&o){const t=l.row,a=e.oxw(2);e.Q6J("parent",a)("disabled",a.avaliacao||!a.botaoAtendeCondicoes(a.BOTAO_ALTERAR,t))("entity",t)("execucao",a.execucao)("cdRef",a.cdRef)("planejamentoId",t.planejamento_id)("cadeiaValorId",t.cadeia_valor_id)("unidadeId",t.unidade_id)}}function _t(o,l){if(1&o&&(e.TgZ(0,"column",39),e.YNc(1,ut,1,1,"ng-template",null,40,e.W1O),e.YNc(3,gt,1,8,"ng-template",null,41,e.W1O),e.qZA()),2&o){const t=e.MAs(2),a=e.MAs(4),n=e.oxw();e.Q6J("align","center")("hint",n.lex.translate("Entrega"))("template",t)("expandTemplate",a)}}function pt(o,l){1&o&&(e.TgZ(0,"order",46),e._uU(1,"#ID"),e.qZA()),2&o&&e.Q6J("header",l.header)}function mt(o,l){if(1&o&&(e.TgZ(0,"small",47),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.hij("#",t.numero,"")}}function ht(o,l){if(1&o&&(e.TgZ(0,"order",48),e._uU(1,"Nome"),e.qZA(),e._UZ(2,"br"),e._uU(3)),2&o){const t=l.header,a=e.oxw();e.Q6J("header",t),e.xp6(3),e.hij(" Programa",a.filter.controls.agrupar.value?"":" - Unidade"," ")}}function ft(o,l){if(1&o&&e._UZ(0,"badge",52),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon("Programa"))("label",t.programa.nome)}}function bt(o,l){if(1&o&&e._UZ(0,"badge",53),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon(a.lex.translate("unidade")))("label",t.unidade.sigla)}}function vt(o,l){if(1&o&&(e.TgZ(0,"span",49),e._uU(1),e.qZA(),e._UZ(2,"br"),e.YNc(3,ft,1,2,"badge",50),e.YNc(4,bt,1,2,"badge",51)),2&o){const t=l.row,a=e.oxw();e.Udp("max-width",400,"px"),e.xp6(1),e.Oqu(t.nome||""),e.xp6(2),e.Q6J("ngIf",t.programa),e.xp6(1),e.Q6J("ngIf",!a.filter.controls.agrupar.value&&t.unidade)}}function Et(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function At(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function Tt(o,l){1&o&&(e._uU(0," Planejamento Institucional"),e._UZ(1,"br"),e._uU(2," Cadeia de Valor "))}function Ot(o,l){if(1&o&&e._UZ(0,"badge",55),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("maxWidth",300)("icon",a.entityService.getIcon("Planejamento"))("label",null==t.planejamento?null:t.planejamento.nome)}}function Ct(o,l){if(1&o&&e._UZ(0,"badge",55),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("maxWidth",300)("icon",a.entityService.getIcon("CadeiaValor"))("label",null==t.cadeia_valor?null:t.cadeia_valor.nome)}}function It(o,l){if(1&o&&(e.YNc(0,Ot,1,3,"badge",54),e.YNc(1,Ct,1,3,"badge",54)),2&o){const t=l.row;e.Q6J("ngIf",t.planejamento),e.xp6(1),e.Q6J("ngIf",t.cadeia_valor)}}function Pt(o,l){1&o&&e._UZ(0,"badge",60)}function Zt(o,l){1&o&&e._UZ(0,"badge",61)}function Dt(o,l){if(1&o&&e._UZ(0,"avaliar-nota-badge",62),2&o){const t=e.oxw().row;e.Q6J("align","left")("tipoAvaliacao",t.avaliacao.tipo_avaliacao)("nota",t.avaliacao.nota)}}function xt(o,l){if(1&o&&(e._UZ(0,"badge",56)(1,"br"),e.YNc(2,Pt,1,0,"badge",57),e.YNc(3,Zt,1,0,"badge",58),e.YNc(4,Dt,1,3,"avaliar-nota-badge",59)),2&o){const t=l.row,a=e.oxw();e.Q6J("color",a.lookup.getColor(a.lookup.PLANO_ENTREGA_STATUS,t.status))("icon",a.lookup.getIcon(a.lookup.PLANO_ENTREGA_STATUS,t.status))("label",a.lookup.getValue(a.lookup.PLANO_ENTREGA_STATUS,t.status)),e.xp6(2),e.Q6J("ngIf",t.data_arquivamento),e.xp6(1),e.Q6J("ngIf",t.deleted_at),e.xp6(1),e.Q6J("ngIf",t.avaliacao)}}let Nt=(()=>{class o extends d.E{constructor(t){super(t,V,Z.r),this.injector=t,this.showFilter=!0,this.avaliacao=!1,this.execucao=!1,this.habilitarAdesaoToolbar=!1,this.toolbarButtons=[],this.botoes=[],this.routeStatus={route:["uteis","status"]},this.DATAS_FILTRO=[{key:"VIGENTE",value:"Vigente"},{key:"NAOVIGENTE",value:"N\xe3o vigente"},{key:"INICIAM",value:"Iniciam"},{key:"FINALIZAM",value:"Finalizam"}],this.storeFilter=a=>{const n=a?.value;return{meus_planos:n.meus_planos,arquivadas:n.arquivadas,unidade_id:n.unidade_id}},this.filterValidate=(a,n)=>{let i=null;return"data_filtro_inicio"==n&&a.value>this.filter?.controls.data_filtro_fim.value?i="Maior que fim":"data_filtro_fim"==n&&a.value{let n=[],i=a.value;if(this.filter?.controls.principais.value){console.log("princi");let s=["unidade_id","in",(this.auth.unidades||[]).map(g=>g.id)];if(this.auth.isGestorAlgumaAreaTrabalho()){let g=this.auth.unidades?.filter(v=>this.unidadeService.isGestorUnidade(v)),_=g?.map(v=>v.unidade_pai?.id||"").filter(v=>v.length);_?.length&&s[2].push(..._);let h=["unidade.unidade_pai_id","in",g?.map(v=>v.id)];n.push(["or",s,h])}else n.push(s)}if(this.filter?.controls.meus_planos.value){let s=["unidade_id","in",(this.auth.unidades||[]).map(g=>g.id)];n.push(s)}return i.nome?.length&&n.push(["nome","like","%"+i.nome.trim().replace(" ","%")+"%"]),i.data_filtro&&(n.push(["data_filtro","==",i.data_filtro]),n.push(["data_filtro_inicio","==",i.data_filtro_inicio]),n.push(["data_filtro_fim","==",i.data_filtro_fim])),i.unidade_id&&n.push(["unidade_id","==",i.unidade_id]),i.unidade_id||n.push(["unidades_vinculadas","==",this.auth.unidade?.id]),i.planejamento_id&&n.push(["planejamento_id","==",i.planejamento_id]),i.cadeia_valor_id&&n.push(["cadeia_valor_id","==",i.cadeia_valor_id]),this.isModal?n.push(["status","==","ATIVO"]):(i.status||this.avaliacao)&&n.push(["status","in",i.status?[i.status]:["CONCLUIDO","AVALIADO"]]),n.push(["incluir_arquivados","==",this.filter.controls.arquivadas.value]),n},this.avaliacaoDao=t.get(p.w),this.unidadeDao=t.get(N.J),this.planejamentoDao=t.get(I.U),this.cadeiaValorDao=t.get(D.m),this.planoEntregaService=t.get(c.f),this.unidadeService=t.get(T.Z),this.unidadeSelecionada=this.auth.unidade,this.code="MOD_PLANE",this.title=this.lex.translate("Planos de Entregas"),this.filter=this.fh.FormBuilder({agrupar:{default:!0},principais:{default:!1},arquivadas:{default:!1},nome:{default:""},data_filtro:{default:null},data_filtro_inicio:{default:new Date},data_filtro_fim:{default:new Date},status:{default:""},unidade_id:{default:null},unidades_filhas:{default:!1},planejamento_id:{default:null},cadeia_valor_id:{default:null},meus_planos:{default:!0}},this.cdRef,this.filterValidate),this.join=["planejamento:id,nome","programa:id,nome","cadeia_valor:id,nome","unidade:id,sigla,path","entregas.entrega","entregas.objetivos.objetivo","entregas.processos.processo","entregas.unidade","entregas.comentarios.usuario:id,nome,apelido","entregas.reacoes.usuario:id,nome,apelido","unidade.gestor:id","unidade.gestores_substitutos:id","unidade.unidade_pai","avaliacao"],this.groupBy=[{field:"unidade.sigla",label:"Unidade"}],this.BOTAO_ADERIR_OPTION={label:"Aderir",icon:this.entityService.getIcon("Adesao"),onClick:(()=>{this.go.navigate({route:["gestao","plano-entrega","adesao"]},{metadata:{planoEntrega:this.linha},modalClose:a=>{this.refresh()}})}).bind(this)},this.BOTAO_ADERIR_TOOLBAR={label:"Aderir",disabled:!this.habilitarAdesaoToolbar,icon:this.entityService.getIcon("Adesao"),onClick:(()=>{this.go.navigate({route:["gestao","plano-entrega","adesao"]},{modalClose:a=>{this.refresh()}})}).bind(this)},this.BOTAO_ALTERAR={label:"Alterar",icon:"bi bi-pencil-square",color:"btn-outline-info",onClick:a=>this.go.navigate({route:["gestao","plano-entrega",a.id,"edit"]},this.modalRefreshId(a))},this.BOTAO_ARQUIVAR={label:"Arquivar",icon:"bi bi-inboxes",onClick:this.arquivar.bind(this)},this.BOTAO_AVALIAR={label:"Avaliar",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"AVALIADO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"AVALIADO"),onClick:this.avaliar.bind(this)},this.BOTAO_CANCELAR_PLANO={label:"Cancelar plano",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"CANCELADO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"CANCELADO"),onClick:this.cancelarPlano.bind(this)},this.BOTAO_CANCELAR_AVALIACAO={label:"Cancelar avalia\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"CONCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"CANCELADO"),onClick:this.cancelarAvaliacao.bind(this)},this.BOTAO_CANCELAR_CONCLUSAO={label:"Cancelar conclus\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),onClick:this.cancelarConclusao.bind(this)},this.BOTAO_CANCELAR_HOMOLOGACAO={label:"Cancelar homologa\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),onClick:this.cancelarHomologacao.bind(this)},this.BOTAO_CONCLUIR={label:"Concluir",id:"CONCLUIDO",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"CONCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"CONCLUIDO"),onClick:this.concluir.bind(this)},this.BOTAO_CONSULTAR={label:"Informa\xe7\xf5es",icon:"bi bi-info-circle",onClick:a=>this.go.navigate({route:["gestao","plano-entrega",a.id,"consult"]},{modal:!0})},this.BOTAO_DESARQUIVAR={label:"Desarquivar",icon:"bi bi-reply",onClick:this.desarquivar.bind(this)},this.BOTAO_EXCLUIR={label:"Excluir",icon:"bi bi-trash",onClick:this.delete.bind(this)},this.BOTAO_HOMOLOGAR={label:"Homologar",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),onClick:this.homologar.bind(this)},this.BOTAO_LIBERAR_HOMOLOGACAO={label:"Liberar para homologa\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),onClick:this.liberarHomologacao.bind(this)},this.BOTAO_LOGS={label:"Logs",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),onClick:a=>this.go.navigate({route:["logs","change",a.id,"consult"]})},this.BOTAO_REATIVAR={label:"Reativar",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),onClick:this.reativar.bind(this)},this.BOTAO_RETIRAR_HOMOLOGACAO={label:"Retirar de homologa\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),onClick:this.retirarHomologacao.bind(this)},this.BOTAO_SUSPENDER={label:"Suspender",id:"PAUSADO",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"SUSPENSO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"SUSPENSO"),onClick:this.suspender.bind(this)},this.botoes=[this.BOTAO_ALTERAR,this.BOTAO_ARQUIVAR,this.BOTAO_AVALIAR,this.BOTAO_CANCELAR_PLANO,this.BOTAO_CANCELAR_AVALIACAO,this.BOTAO_CANCELAR_CONCLUSAO,this.BOTAO_CANCELAR_HOMOLOGACAO,this.BOTAO_CONCLUIR,this.BOTAO_CONSULTAR,this.BOTAO_DESARQUIVAR,this.BOTAO_EXCLUIR,this.BOTAO_HOMOLOGAR,this.BOTAO_LIBERAR_HOMOLOGACAO,this.BOTAO_LOGS,this.BOTAO_REATIVAR,this.BOTAO_RETIRAR_HOMOLOGACAO,this.BOTAO_SUSPENDER]}ngOnInit(){super.ngOnInit(),this.execucao=!!this.queryParams?.execucao,this.avaliacao=!!this.queryParams?.avaliacao,this.showFilter=!(typeof this.queryParams?.showFilter<"u")||"true"==this.queryParams.showFilter,this.selectable=this.metadata?.selectable||this.selectable,this.execucao&&(this.title=this.title+" (Execu\xe7\xe3o)",this.filter.controls.unidade_id.setValue(this.auth.unidadeGestor()?.id||null),this.filter.controls.principais.setValue(!1)),this.avaliacao&&(this.title=this.title+" (Avalia\xe7\xe3o)",this.filter.controls.unidade_id.setValue(this.auth.unidadeGestor()?.id||null),this.filter.controls.unidades_filhas.setValue(!0),this.filter.controls.principais.setValue(!1)),this.checaBotaoAderirToolbar()}ngAfterContentChecked(){this.auth.unidade!=this.unidadeSelecionada&&(this.unidadeSelecionada=this.auth.unidade,this.checaBotaoAderirToolbar(),this.cdRef.detectChanges())}onGridLoad(t){const a=(this.grid?.query||this.query).extra;t&&this.execucao&&t.forEach(n=>{["ATIVO","SUSPENSO"].includes(n.status)&&this.grid.expand(n.id)}),t?.forEach(n=>{let i=n;i.avaliacao&&(i.avaliacao.tipo_avaliacao=a?.tipos_avaliacoes?.find(s=>s.id==i.avaliacao.tipo_avaliacao_id))})}checaBotaoAderirToolbar(){}planosEntregasAtivosUnidadePai(){return this.auth.unidade?.unidade_pai?.planos_entrega?.filter(t=>this.planoEntregaService.isAtivo(t))||[]}planosEntregasAtivosUnidadeSelecionada(){return this.auth?.unidade?.planos_entrega?.filter(t=>this.planoEntregaService.isAtivo(t))||[]}filterClear(t){t.controls.nome.setValue(""),t.controls.data_filtro.setValue(null),t.controls.data_filtro_inicio.setValue(new Date),t.controls.data_filtro_fim.setValue(new Date),t.controls.unidade_id.setValue(null),t.controls.planejamento_id.setValue(null),t.controls.cadeia_valor_id.setValue(null),t.controls.status.setValue(null),t.controls.meus_planos.setValue(!1),super.filterClear(t)}onAgruparChange(t){const a=this.filter.controls.agrupar.value;(a&&!this.groupBy?.length||!a&&this.groupBy?.length)&&(this.groupBy=a?[{field:"unidade.sigla",label:"Unidade"}]:[],this.cdRef.detectChanges(),this.grid.reloadFilter())}onPrincipaisChange(t){this.filter.controls.principais.value?(this.filter.controls.unidade_id.setValue(null),this.filter.controls.meus_planos.setValue(!1)):this.filter.controls.meus_planos.setValue(!0),this.grid.reloadFilter()}dynamicButtons(t){let a=[];switch(this.planoEntregaService.situacaoPlano(t)){case"INCLUIDO":this.botaoAtendeCondicoes(this.BOTAO_LIBERAR_HOMOLOGACAO,t)?a.push(this.BOTAO_LIBERAR_HOMOLOGACAO):a.push(this.BOTAO_CONSULTAR);break;case"HOMOLOGANDO":this.botaoAtendeCondicoes(this.BOTAO_HOMOLOGAR,t)&&a.push(this.BOTAO_HOMOLOGAR);break;case"ATIVO":this.botaoAtendeCondicoes(this.BOTAO_CONCLUIR,t)&&a.push(this.BOTAO_CONCLUIR);break;case"CONCLUIDO":this.botaoAtendeCondicoes(this.BOTAO_AVALIAR,t)&&a.push(this.BOTAO_AVALIAR);break;case"SUSPENSO":this.botaoAtendeCondicoes(this.BOTAO_REATIVAR,t)&&a.push(this.BOTAO_REATIVAR);break;case"AVALIADO":this.botaoAtendeCondicoes(this.BOTAO_ARQUIVAR,t)&&a.push(this.BOTAO_ARQUIVAR);break;case"ARQUIVADO":this.botaoAtendeCondicoes(this.BOTAO_DESARQUIVAR,t)&&a.push(this.BOTAO_DESARQUIVAR)}return a.length||a.push(this.BOTAO_CONSULTAR),a}dynamicOptions(t){let a=[];return this.linha=t,this.botoes.forEach(n=>{this.botaoAtendeCondicoes(n,t)&&a.push(n)}),a}botaoAtendeCondicoes(t,a){switch(t){case this.BOTAO_ADERIR_OPTION:return!this.execucao&&"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&a.unidade_id==this.auth.unidade?.unidade_pai_id&&(this.unidadeService.isGestorUnidade()||this.auth.isLotacaoUsuario(this.auth.unidade)&&this.auth.hasPermissionTo("MOD_PENT_ADR"))&&0==this.planosEntregasAtivosUnidadeSelecionada().filter(Oe=>this.util.intersection([{start:Oe.data_inicio,end:Oe.data_fim},{start:a.data_inicio,end:a.data_fim}])).length;case this.BOTAO_ALTERAR:let n=["INCLUIDO","HOMOLOGANDO","ATIVO"].includes(this.planoEntregaService.situacaoPlano(a)),i=["INCLUIDO","HOMOLOGANDO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)),s=this.unidadeService.isGestorUnidade(1==a.unidade?.instituidora?a.unidade?.id:a.unidade?.unidade_pai_id)&&this.auth.hasPermissionTo("MOD_PENT_EDT_FLH"),g=this.auth.isIntegrante("HOMOLOGADOR_PLANO_ENTREGA",a.unidade.unidade_pai_id),_="ATIVO"==this.planoEntregaService.situacaoPlano(a)&&this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo(["MOD_PENT_EDT_ATV_HOMOL","MOD_PENT_EDT_ATV_ATV"]),h=this.auth.hasPermissionTo("MOD_PENT_QQR_UND");return!this.execucao&&this.auth.hasPermissionTo("MOD_PENT_EDT")&&n&&this.planoEntregaService.isValido(a)&&(i||s||g||_||h);case this.BOTAO_ARQUIVAR:return["CONCLUIDO","AVALIADO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_ARQ"));case this.BOTAO_AVALIAR:let v=this.unidadeService.isGestorUnidade(1==a.unidade?.instituidora?a.unidade?.id:a.unidade?.unidade_pai_id),M=this.auth.isLotacaoUsuario(a.unidade?.unidade_pai)&&this.auth.hasPermissionTo("MOD_PENT_AVAL"),Q=this.auth.isGestorLinhaAscendente(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_AVAL_SUBORD");return"CONCLUIDO"==this.planoEntregaService.situacaoPlano(a)&&(v||M||Q);case this.BOTAO_CANCELAR_AVALIACAO:return"AVALIADO"==this.planoEntregaService.situacaoPlano(a)&&(1==a.unidade?.instituidora?this.unidadeService.isGestorUnidade(a.unidade?.id):this.unidadeService.isGestorUnidade(a.unidade?.unidade_pai_id)||this.auth.isIntegrante("AVALIADOR_PLANO_ENTREGA",a.unidade.id));case this.BOTAO_CANCELAR_CONCLUSAO:return"CONCLUIDO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_CANC_CONCL"));case this.BOTAO_CANCELAR_HOMOLOGACAO:return!this.execucao&&"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&(1==a.unidade?.instituidora?this.unidadeService.isGestorUnidade(a.unidade?.id):this.unidadeService.isGestorUnidade(a.unidade?.unidade_pai_id)||this.auth.isLotacaoUsuario(a.unidade?.unidade_pai)&&this.auth.hasPermissionTo("MOD_PENT_CANC_HOMOL")||this.auth.isIntegrante("HOMOLOGADOR_PLANO_ENTREGA",a.unidade.unidade_pai_id));case this.BOTAO_CANCELAR_PLANO:return this.auth.hasPermissionTo("MOD_PENT_CNC")&&["INCLUIDO","HOMOLOGANDO","ATIVO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade?.id)||this.unidadeService.isGestorUnidade(a.unidade?.unidade_pai_id));case this.BOTAO_CONCLUIR:return"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_CONC"));case this.BOTAO_CONSULTAR:return this.auth.hasPermissionTo("MOD_PENT");case this.BOTAO_DESARQUIVAR:return"ARQUIVADO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_ARQ"));case this.BOTAO_EXCLUIR:return!this.execucao&&this.auth.hasPermissionTo("MOD_PENT_EXCL")&&["INCLUIDO","HOMOLOGANDO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade));case this.BOTAO_HOMOLOGAR:let te="HOMOLOGANDO"==this.planoEntregaService.situacaoPlano(a),ae=this.unidadeService.isGestorUnidade(1==a.unidade?.instituidora?a.unidade?.id:a.unidade?.unidade_pai_id),fo=this.auth.isLotacaoUsuario(a.unidade.unidade_pai)&&this.auth.hasPermissionTo("MOD_PENT_HOMOL"),bo=this.auth.isIntegrante("HOMOLOGADOR_PLANO_ENTREGA",a.unidade.unidade_pai_id);return!this.execucao&&te&&(ae||fo||bo);case this.BOTAO_LIBERAR_HOMOLOGACAO:return!this.execucao&&"INCLUIDO"==this.planoEntregaService.situacaoPlano(a)&&a.entregas.length>0&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_LIB_HOMOL"));case this.BOTAO_LOGS:return this.unidadeService.isGestorUnidade(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_AVAL_SUBORD");case this.BOTAO_REATIVAR:return"SUSPENSO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_RTV")||this.auth.isGestorLinhaAscendente(a.unidade));case this.BOTAO_RETIRAR_HOMOLOGACAO:return!this.execucao&&"HOMOLOGANDO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_RET_HOMOL"));case this.BOTAO_SUSPENDER:return"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_SUSP")||this.auth.isGestorLinhaAscendente(a.unidade))}return!1}arquivar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:Object.assign({},t,{arquivar:!0}),novoStatus:t.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Arquivar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}avaliar(t){this.go.navigate({route:["gestao","plano-entrega",t.id,"avaliar"]},{modal:!0,metadata:{planoEntrega:t},modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id,["avaliacao.tipo_avaliacao.notas"]).then(()=>{this.checaBotaoAderirToolbar()})}})}cancelarAvaliacao(t){var a=this;return(0,u.Z)(function*(){a.submitting=!0;try{(yield a.avaliacaoDao.cancelarAvaliacao(t.avaliacao.id))&&(a.grid?.query||a.query).refreshId(t.id).then(()=>{a.checaBotaoAderirToolbar()})}catch(n){a.error(n.message||n)}finally{a.submitting=!1}})()}cancelarConclusao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"ATIVO",onClick:this.dao.cancelarConclusao.bind(this.dao)},title:"Cancelar Conclus\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}cancelarHomologacao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"HOMOLOGANDO",onClick:this.dao.cancelarHomologacao.bind(this.dao)},title:"Cancelar Homologa\xe7\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}cancelarPlano(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:Object.assign({},t,{arquivar:!0}),novoStatus:"CANCELADO",onClick:this.dao.cancelarPlano.bind(this.dao)},title:"Cancelar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}concluir(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"CONCLUIDO",onClick:this.dao.concluir.bind(this.dao)},title:"Concluir Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}desarquivar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:Object.assign({},t,{arquivar:!1}),novoStatus:t.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Desarquivar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}homologar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"ATIVO",onClick:this.dao.homologar.bind(this.dao)},title:"Homologar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}liberarHomologacao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"HOMOLOGANDO",onClick:this.dao.liberarHomologacao.bind(this.dao)},title:"Liberar para Homologa\xe7\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}reativar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"ATIVO",onClick:this.dao.reativar.bind(this.dao)},title:"Reativar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}retirarHomologacao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"INCLUIDO",onClick:this.dao.retirarHomologacao.bind(this.dao)},title:"Retirar de Homologa\xe7\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}suspender(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"SUSPENSO",onClick:this.dao.suspender.bind(this.dao)},title:"Suspender Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}canAdd(){return this.auth.hasPermissionTo("MOD_PENT_INCL")}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-list"]],viewQuery:function(a,n){if(1&a&&e.Gf(f.M,5),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first)}},features:[e.qOj],decls:34,vars:35,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","loadList","select"],[3,"buttons",4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed","visible"],[4,"ngIf","ngIfElse"],["naoEModal",""],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate",4,"ngIf"],[3,"titleTemplate","template"],["titleIdNumeroStatus",""],["columnNumero",""],["titleNomeProgramaUnidade",""],["columnNome",""],["title","In\xedcio","orderBy","data_inicio",3,"template"],["columnInicio",""],["title","Fim","orderBy","data_fim",3,"template"],["columnFim",""],["titlePlanoCadeia",""],["columnPlanoCadeia",""],[3,"title","template"],["columnStatus",""],["type","options",3,"dynamicOptions","dynamicButtons"],[3,"rows"],[3,"buttons"],["labelPosition","left","label","Agrupar por unidade","controlName","agrupar",3,"size","control","change"],["labelPosition","left","label","Vinculados","controlName","principais",3,"size","control","labelInfo","change",4,"ngIf"],["labelPosition","left","label","Vinculados","controlName","principais",3,"size","control","labelInfo","change"],[1,"row"],["label","Meus","controlName","meus_planos","labelInfo","Planos de entrega das unidade da qual sou integrante (\xc1reas de trabalho)",3,"size","control"],["controlName","unidade_id",3,"size","control","dao"],["unidade",""],["label","Data","itemTodos","- Nenhum -","controlName","data_filtro",3,"size","valueTodos","control","items"],["date","","label","In\xedcio","controlName","data_filtro_inicio","labelInfo","Data in\xedcio do per\xedodo",3,"size","disabled","control"],["date","","label","Fim","controlName","data_filtro_fim","labelInfo","Data fim do per\xedodo",3,"size","disabled","control"],["label","Nome","controlName","nome",3,"size","control","placeholder"],["label","Status","controlName","status","itemTodos","- Todos -",3,"size","control","items","filter","valueTodos"],["label","Arquivados","controlName","arquivadas","labelInfo","Listar tamb\xe9m os planos de entregas arquivados",3,"size","control"],["controlName","planejamento_id",3,"size","control","dao"],["planejamento",""],["controlName","cadeia_valor_id",3,"size","control","dao"],["cadeiaValor",""],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate"],["columnEntregas",""],["columnExpandedEntregas",""],["class","badge rounded-pill bg-light text-dark",4,"ngIf"],[1,"badge","rounded-pill","bg-light","text-dark"],[1,"bi","bi-list-check"],[3,"parent","disabled","entity","execucao","cdRef","planejamentoId","cadeiaValorId","unidadeId"],["by","numero",3,"header"],[1,"micro-text","fw-ligh"],["by","nome",3,"header"],[1,"text-break","text-wrap"],["color","light",3,"icon","label",4,"ngIf"],["color","secondary",3,"icon","label",4,"ngIf"],["color","light",3,"icon","label"],["color","secondary",3,"icon","label"],["color","light",3,"maxWidth","icon","label",4,"ngIf"],["color","light",3,"maxWidth","icon","label"],[3,"color","icon","label"],["color","warning","icon","bi bi-inboxes","label","Arquivado",4,"ngIf"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo",4,"ngIf"],[3,"align","tipoAvaliacao","nota",4,"ngIf"],["color","warning","icon","bi bi-inboxes","label","Arquivado"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo"],[3,"align","tipoAvaliacao","nota"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0),e.NdJ("select",function(s){return n.onSelect(s)}),e.YNc(1,lt,3,4,"toolbar",1),e.TgZ(2,"filter",2),e.YNc(3,st,8,15,"div",3),e.YNc(4,dt,15,33,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(6,"columns"),e.YNc(7,_t,5,4,"column",5),e.TgZ(8,"column",6),e.YNc(9,pt,2,1,"ng-template",null,7,e.W1O),e.YNc(11,mt,2,1,"ng-template",null,8,e.W1O),e.qZA(),e.TgZ(13,"column",6),e.YNc(14,ht,4,2,"ng-template",null,9,e.W1O),e.YNc(16,vt,5,5,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(18,"column",11),e.YNc(19,Et,2,1,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(21,"column",13),e.YNc(22,At,2,1,"ng-template",null,14,e.W1O),e.qZA(),e.TgZ(24,"column",6),e.YNc(25,Tt,3,0,"ng-template",null,15,e.W1O),e.YNc(27,It,2,2,"ng-template",null,16,e.W1O),e.qZA(),e.TgZ(29,"column",17),e.YNc(30,xt,5,6,"ng-template",null,18,e.W1O),e.qZA(),e._UZ(32,"column",19),e.qZA(),e._UZ(33,"pagination",20),e.qZA()),2&a){const i=e.MAs(5),s=e.MAs(10),g=e.MAs(12),_=e.MAs(15),h=e.MAs(17),v=e.MAs(20),M=e.MAs(23),Q=e.MAs(26),te=e.MAs(28),ae=e.MAs(31);e.Q6J("dao",n.dao)("add",n.add)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join)("selectable",n.selectable)("hasAdd",n.canAdd())("hasEdit",!1)("loadList",n.onGridLoad.bind(n)),e.xp6(1),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed)("visible",n.showFilter),e.xp6(1),e.Q6J("ngIf",n.isModal)("ngIfElse",i),e.xp6(4),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("titleTemplate",s)("template",g),e.xp6(5),e.Q6J("titleTemplate",_)("template",h),e.xp6(5),e.Q6J("template",v),e.xp6(3),e.Q6J("template",M),e.xp6(3),e.Q6J("titleTemplate",Q)("template",te),e.xp6(5),e.Q6J("title","Status\nAvalia\xe7\xe3o")("template",ae),e.xp6(3),e.Q6J("dynamicOptions",n.dynamicOptions.bind(n))("dynamicButtons",n.dynamicButtons.bind(n)),e.xp6(1),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,b.a,A.b,m.z,x.n,z.Q,oe.a,J.V,j.m,q.k,G.p,X.l,y.F,Ce.M,se]})}return o})();var re=r(2214),W=r(1184);const yt=["programa"],Ut=["unidade"],Lt=["nome"],wt=["data_fim"];let ee=(()=>{class o extends W.F{constructor(t){super(t,V,Z.r),this.injector=t,this.validate=(a,n)=>{let i=null;return["nome","unidade_id","programa_id"].indexOf(n)>=0&&!a.value?.length&&(i="Obrigat\xf3rio"),["data_inicio"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)&&(i="Inv\xe1lido"),["data_fim"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)&&(i="Inv\xe1lido"),i},this.formValidation=a=>{const n=this.form?.controls.data_inicio.value,i=this.form?.controls.data_fim.value;if(!this.programa?.selectedEntity)return"Obrigat\xf3rio selecionar o programa";if(!this.dao?.validDateTime(n))return"Data de in\xedcio inv\xe1lida";if(!this.dao?.validDateTime(i))return"Data de fim inv\xe1lida";if(n>i)return"A data do fim n\xe3o pode ser menor que a data do in\xedcio!";{const g=this.form.controls.entregas.value||[];for(let _ of g){if(!this.auth.hasPermissionTo("MOD_PENT_ENTR_EXTRPL")&&_.data_inicioi)return"A "+this.lex.translate("entrega")+" '"+_.descricao+"' possui data fim posterior \xe0 "+this.lex.translate("do Plano de Entrega")+": "+this.util.getDateFormatted(i)}}},this.titleEdit=a=>"Editando "+this.lex.translate("Plano de Entregas")+": "+(a?.nome||""),this.unidadeDao=t.get(N.J),this.programaDao=t.get(re.w),this.cadeiaValorDao=t.get(D.m),this.planoEntregaDao=t.get(Z.r),this.planejamentoInstitucionalDao=t.get(I.U),this.join=["entregas.entrega","entregas.objetivos.objetivo","entregas.processos.processo","entregas.unidade","unidade","entregas.reacoes.usuario:id,nome,apelido"],this.modalWidth=1200,this.form=this.fh.FormBuilder({nome:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},unidade_id:{default:""},plano_entrega_id:{default:null},planejamento_id:{default:null},cadeia_valor_id:{default:null},programa_id:{default:null},entregas:{default:[]}},this.cdRef,this.validate),this.programaMetadata={todosUnidadeExecutora:!0,vigentesUnidadeExecutora:!1}}loadData(t,a){var n=this;return(0,u.Z)(function*(){let i=Object.assign({},a.value);a.patchValue(n.util.fillForm(i,t)),n.cdRef.detectChanges()})()}initializeData(t){var a=this;return(0,u.Z)(function*(){a.entity=new V,a.entity.unidade_id=a.auth.unidade?.id||"",a.entity.unidade=a.auth.unidade;let n=yield a.programaDao.query({where:[["vigentesUnidadeExecutora","==",a.auth.unidade.id]]}).asPromise(),i=n[n.length-1];i&&(a.entity.programa=i,a.entity.programa_id=i.id);const s=new Date(a.entity.data_inicio).toLocaleDateString(),g=a.entity.data_fim?new Date(a.entity.data_fim).toLocaleDateString():(new Date).toLocaleDateString();a.entity.nome=a.auth.unidade.sigla+" - "+s+" - "+g,a.loadData(a.entity,a.form)})()}saveData(t){var a=this;return(0,u.Z)(function*(){return new Promise((n,i)=>{let s=a.util.fill(new V,a.entity);s=a.util.fillForm(s,a.form.value),s.entregas=s.entregas?.filter(g=>g._status)||[],n(s)})})()}dynamicButtons(t){return[]}onDataChange(){this.sugereNome()}onUnidadeChange(){var t=this;return(0,u.Z)(function*(){let n=t.form.controls.unidade_id.value||t.auth.unidade?.id;if(n)try{yield t.planoEntregaDao.permissaoIncluir(n)}catch(i){t.error(i)}t.sugereNome()})()}sugereNome(){const t=this.unidade?.selectedItem?this.unidade?.selectedItem?.entity.sigla:this.auth.unidade?.sigla,a=new Date(this.form.controls.data_inicio.value).toLocaleDateString(),n=this.form.controls.data_fim.value?" - "+new Date(this.form.controls.data_fim.value).toLocaleDateString():"";this.form.controls.nome.setValue(t+" - "+a+n)}somaDia(t,a){let n=new Date(t);return n.setDate(n.getDate()+a),n}onProgramaChange(){const t=this.programa?.selectedEntity?.prazo_max_plano_entrega,a=this.somaDia(this.entity.data_inicio,t);this.entity?.data_fim||(this.form.controls.data_fim.setValue(new Date(a)),this.dataFim?.change.emit())}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-plano-entrega-form"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(f.M,7),e.Gf(yt,7),e.Gf(Ut,7),e.Gf(Lt,7),e.Gf(wt,7)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.programa=i.first),e.iGM(i=e.CRH())&&(n.unidade=i.first),e.iGM(i=e.CRH())&&(n.nomePE=i.first),e.iGM(i=e.CRH())&&(n.dataFim=i.first)}},features:[e.qOj],decls:20,vars:28,consts:[["initialFocus","entregas",3,"form","disabled","title","submit","cancel"],[1,"row"],["controlName","unidade_id","required","",3,"size","disabled","dao","change"],["unidade",""],["controlName","programa_id","required","",3,"size","disabled","dao","metadata","change"],["programa",""],["date","","label","In\xedcio","controlName","data_inicio","required","",3,"size","labelInfo","change"],["date","","label","Fim","controlName","data_fim","required","",3,"size","labelInfo","change"],["data_fim",""],["label","Nome","controlName","nome","required","",3,"size"],["nome",""],["controlName","planejamento_id","label","Planejamento Institucional",3,"size","emptyValue","dao"],["planejamento",""],["controlName","cadeia_valor_id","label","Cadeia de Valor",3,"size","emptyValue","dao"],["cadeiaValor",""],["title","Entregas"],["noPersist","",3,"disabled","control","planejamentoId","cadeiaValorId","unidadeId","dataFim"],["entregas",""]],template:function(a,n){1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveData()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"div")(2,"div",1)(3,"input-search",2,3),e.NdJ("change",function(){return n.onUnidadeChange()}),e.qZA(),e.TgZ(5,"input-search",4,5),e.NdJ("change",function(){return n.onProgramaChange()}),e.qZA(),e.TgZ(7,"input-datetime",6),e.NdJ("change",function(){return n.onDataChange()}),e.qZA(),e.TgZ(8,"input-datetime",7,8),e.NdJ("change",function(){return n.onDataChange()}),e.qZA()(),e.TgZ(10,"div",1),e._UZ(11,"input-text",9,10)(13,"input-search",11,12)(15,"input-search",13,14),e.qZA(),e._UZ(17,"separator",15)(18,"plano-entrega-list-entrega",16,17),e.qZA()()),2&a&&(e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(3),e.Q6J("size",4)("disabled",null!=n.entity&&n.entity.id?"disabled":void 0)("dao",n.unidadeDao),e.xp6(2),e.Q6J("size",4)("disabled",null!=n.entity&&n.entity.id?"disabled":void 0)("dao",n.programaDao)("metadata",n.programaMetadata),e.xp6(2),e.Q6J("size",2)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entrega")),e.xp6(1),e.Q6J("size",2)("labelInfo","Fim "+n.lex.translate("Plano de Entrega")),e.xp6(3),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",4)("emptyValue",null)("dao",n.planejamentoInstitucionalDao),e.xp6(2),e.Q6J("size",4)("emptyValue",null)("dao",n.cadeiaValorDao),e.xp6(3),e.Q6J("disabled",n.formDisabled)("control",n.form.controls.entregas)("planejamentoId",n.form.controls.planejamento_id.value)("cadeiaValorId",n.form.controls.cadeia_valor_id.value)("unidadeId",n.form.controls.unidade_id.value)("dataFim",n.form.controls.data_fim.value))},dependencies:[U.Q,J.V,j.m,q.k,B.N,se]})}return o})();var de=r(7465),ce=r(1058),ue=r(7501),qt=r(9108);const Qt=["unidade"];function Rt(o,l){if(1&o&&e._UZ(0,"planejamento-show",18),2&o){const t=e.oxw(2);e.Q6J("planejamento",t.objetivo.planejamento)}}function Jt(o,l){if(1&o&&(e.ynx(0),e.YNc(1,Rt,1,1,"planejamento-show",16),e.TgZ(2,"div",17)(3,"h5"),e._uU(4,"Objetivo:"),e.qZA(),e.TgZ(5,"h6"),e._uU(6),e.qZA()(),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.objetivo.planejamento),e.xp6(5),e.Oqu(t.objetivo.nome)}}function Mt(o,l){if(1&o&&(e.TgZ(0,"div",21)(1,"h6"),e._uU(2,"Cadeia de valor:"),e.qZA(),e.TgZ(3,"h4"),e._uU(4),e.qZA()()),2&o){const t=e.oxw(2);e.xp6(4),e.Oqu(t.processo.cadeia_valor.nome)}}function St(o,l){if(1&o&&(e.ynx(0),e.YNc(1,Mt,5,1,"div",19),e.TgZ(2,"div",20)(3,"h5"),e._uU(4,"Processo:"),e.qZA(),e.TgZ(5,"h6"),e._uU(6),e.qZA()(),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.processo.cadeia_valor),e.xp6(5),e.Oqu(t.processo.nome)}}function Vt(o,l){if(1&o&&e._UZ(0,"badge",25),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",t.plano_entrega.unidade.sigla)}}function zt(o,l){if(1&o&&e._UZ(0,"badge",26),2&o){const t=e.oxw().row;e.Q6J("label",t.destinatario)}}function jt(o,l){if(1&o&&(e._uU(0),e._UZ(1,"br"),e.TgZ(2,"span",22),e.YNc(3,Vt,1,2,"badge",23),e.YNc(4,zt,1,1,"badge",24),e.qZA()),2&o){const t=l.row;e.hij(" ",t.descricao,""),e.xp6(3),e.Q6J("ngIf",t.plano_entrega&&t.plano_entrega.unidade),e.xp6(1),e.Q6J("ngIf",null==t.destinatario?null:t.destinatario.length)}}function Gt(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function Ft(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function kt(o,l){if(1&o&&(e.YNc(0,Gt,2,1,"span",0),e._UZ(1,"br"),e.YNc(2,Ft,2,1,"span",0)),2&o){const t=l.row;e.Q6J("ngIf",t.data_inicio),e.xp6(2),e.Q6J("ngIf",t.data_fim)}}function Bt(o,l){if(1&o&&e._UZ(0,"progress-bar",27),2&o){const t=l.row;e.Q6J("value",t.progresso_realizado)("goal",t.progresso_esperado)}}let ge=(()=>{class o extends d.E{constructor(t){super(t,F.O,L.K),this.injector=t,this.filterWhere=a=>{let n=[],i=a.value;return this.objetivoId&&n.push(["objetivos.objetivo_id","==",this.objetivoId]),this.processoId&&n.push(["processos.processo_id","==",this.processoId]),i.unidade_id&&n.push(["plano_entrega.unidade_id","==",i.unidade_id]),i.entrega_id&&n.push(["entrega_id","==",i.entrega_id]),i.data_inicio&&n.push(["data_inicio",">=",i.data_inicio]),i.data_fim&&n.push(["data_fim","<=",i.data_fim]),n},this.unidadeDao=t.get(N.J),this.entregaDao=t.get(de.y),this.entregaService=t.get(c.f),this.objetivoDao=t.get(ce.e),this.processoDao=t.get(ue.k),this.join=["plano_entrega.unidade"],this.title=this.lex.translate("Entregas"),this.filter=this.fh.FormBuilder({unidade_id:{default:null},entrega_id:{default:null},data_inicio:{default:null},data_fim:{default:null}})}ngOnInit(){super.ngOnInit(),this.objetivoId=this.urlParams.get("objetivo_id")||void 0,this.processoId=this.urlParams.get("processo_id")||void 0,this.objetivoId&&this.objetivoDao?.getById(this.objetivoId,["planejamento"]).then(t=>{this.objetivo=t}),this.processoId&&this.processoDao?.getById(this.processoId,["cadeia_valor"]).then(t=>{this.processo=t})}filterClear(t){t.controls.unidade_id.setValue(null),t.controls.entrega_id.setValue(null),t.controls.data_inicio.setValue(null),t.controls.data_fim.setValue(null),super.filterClear(t)}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-mapa-entregas"]],viewQuery:function(a,n){if(1&a&&(e.Gf(f.M,5),e.Gf(Qt,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.unidade=i.first)}},features:[e.qOj],decls:23,vars:31,consts:[[4,"ngIf"],[3,"dao","title","orderBy","join"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["controlName","unidade_id",3,"size","control","dao"],["unidade",""],["controlName","entrega_id",3,"size","control","dao"],["entrega",""],["date","","noIcon","","label","In\xedcio","controlName","data_inicio","labelInfo","Data de in\xedcio do planejamento institucional",3,"size","control"],["date","","noIcon","","label","Fim","controlName","data_fim","labelInfo","Data do fim do planejamento institucional",3,"size","control"],[3,"title","template"],["columnEntregaCliente",""],["columnDatas",""],[3,"title","width","template"],["columnProgresso",""],[3,"rows"],[3,"planejamento",4,"ngIf"],[1,"objetivos","arrow_box","w-100"],[3,"planejamento"],["class","planejamento arrow_box first-box w-100",4,"ngIf"],[1,"procesos","arrow_box","w-100"],[1,"planejamento","arrow_box","first-box","w-100"],[1,"d-block"],["color","light",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-mailbox",3,"label",4,"ngIf"],["color","light",3,"icon","label"],["color","light","icon","bi bi-mailbox",3,"label"],["color","success",3,"value","goal"]],template:function(a,n){if(1&a&&(e.YNc(0,Jt,7,2,"ng-container",0),e.YNc(1,St,7,2,"ng-container",0),e.TgZ(2,"grid",1),e._UZ(3,"toolbar"),e.TgZ(4,"filter",2)(5,"div",3),e._UZ(6,"input-search",4,5)(8,"input-search",6,7)(10,"input-datetime",8)(11,"input-datetime",9),e.qZA()(),e.TgZ(12,"columns")(13,"column",10),e.YNc(14,jt,5,3,"ng-template",null,11,e.W1O),e.qZA(),e.TgZ(16,"column",10),e.YNc(17,kt,3,2,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(19,"column",13),e.YNc(20,Bt,1,2,"ng-template",null,14,e.W1O),e.qZA()(),e._UZ(22,"pagination",15),e.qZA()),2&a){const i=e.MAs(15),s=e.MAs(18),g=e.MAs(21);e.Q6J("ngIf",n.objetivo),e.xp6(1),e.Q6J("ngIf",n.processo),e.xp6(1),e.Q6J("dao",n.dao)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("join",n.join),e.xp6(2),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("size",4)("control",n.filter.controls.unidade_id)("dao",n.unidadeDao),e.xp6(2),e.Q6J("size",4)("control",n.filter.controls.entrega_id)("dao",n.entregaDao),e.xp6(2),e.Q6J("size",2)("control",n.filter.controls.data_inicio),e.xp6(1),e.Q6J("size",2)("control",n.filter.controls.data_fim),e.xp6(2),e.Q6J("title","Entrega\nDemandante/Destinat\xe1rio")("template",i),e.xp6(3),e.Q6J("title","Data In\xedcio\nData Fim")("template",s),e.xp6(3),e.Q6J("title","Progresso")("width",200)("template",g),e.xp6(3),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,b.a,A.b,m.z,x.n,z.Q,J.V,q.k,y.F,Y.R,qt.W]})}return o})();const Yt=function(){return["gestao","plano-entrega"]},Ht=function(o){return{unidade_id:o,status:"ATIVO"}},Wt=function(o){return{showFilter:!1,filter:o}},Kt=function(o,l){return{route:o,params:l}},Xt=function(o){return["unidade_id","=",o]},$t=function(){return["status","=","ATIVO"]},ea=function(o,l){return[o,l]};let ta=(()=>{class o extends W.F{constructor(t){super(t,V,Z.r),this.injector=t,this.validate=(a,n)=>{let i=null;return["nome","plano_entrega_id"].indexOf(n)>=0&&!a.value?.length&&(i="Obrigat\xf3rio"),i},this.titleEdit=a=>"Editando "+this.lex.translate("Plano de Entregas")+": "+(a?.nome||""),this.unidadeDao=t.get(N.J),this.programaDao=t.get(re.w),this.planoEntregaDao=t.get(Z.r),this.cadeiaValorDao=t.get(D.m),this.planejamentoInstitucionalDao=t.get(I.U),this.join=[],this.modalWidth=1e3,this.form=this.fh.FormBuilder({nome:{default:""},data_inicio:{default:""},data_fim:{default:""},planejamento_id:{default:null},cadeia_valor_id:{default:null},unidade_id:{default:this.auth.unidade?.id},plano_entrega_id:{default:null},programa_id:{default:null},status:{default:"HOMOLOGANDO"}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit();let t=this.metadata?.planoEntrega?this.metadata?.planoEntrega:null;t&&(this.form.controls.plano_entrega_id.setValue(t.id),this.form.controls.nome.setValue(t.nome),this.form.controls.data_inicio.setValue(t.data_inicio),this.form.controls.data_fim.setValue(t.data_fim),this.form.controls.planejamento_id.setValue(t.planejamento_id),this.form.controls.cadeia_valor_id.setValue(t.cadeia_valor_id))}loadData(t,a){var n=this;return(0,u.Z)(function*(){let i=Object.assign({},a.value);a.patchValue(n.util.fillForm(i,t)),n.cdRef.detectChanges()})()}initializeData(t){var a=this;return(0,u.Z)(function*(){a.loadData(a.entity,a.form)})()}saveData(t){var a=this;return(0,u.Z)(function*(){return new Promise((n,i)=>{let s=a.util.fill(new V,a.entity);s=a.util.fillForm(s,a.form.value),n(s)})})()}onPlanoEntregaChange(t){this.form.controls.plano_entrega_id.value&&(this.form.controls.nome.setValue(this.planoEntrega?.selectedEntity.nome),this.form.controls.data_inicio.setValue(this.planoEntrega?.selectedEntity.data_inicio),this.form.controls.data_fim.setValue(this.planoEntrega?.selectedEntity.data_fim),this.form.controls.planejamento_id.setValue(this.planoEntrega?.selectedEntity.planejamento_id),this.form.controls.cadeia_valor_id.setValue(this.planoEntrega?.selectedEntity.cadeia_valor_id),this.form.controls.programa_id.setValue(this.planoEntrega?.selectedEntity.programa_id))}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-adesao"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(f.M,7),e.Gf(J.V,7)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.planoEntrega=i.first)}},features:[e.qOj],decls:21,vars:39,consts:[["initialFocus","plano_entrega_id",3,"form","disabled","title","submit","cancel"],[1,"row","mb-4"],["controlName","plano_entrega_id","label","Plano de Entregas da Unidade-pai","required","",3,"size","dao","selectRoute","where","change"],["planoEntrega",""],[1,"row"],["label","Nome deste Plano de Entregas","controlName","nome","required","",3,"size"],["disabled","","controlName","unidade_id",3,"size","label","dao"],["disabled","","label","Status","controlName","status",3,"size"],[1,"row","mt-4"],["title","Dados herdados do Plano de Entregas da Unidade-pai",3,"collapse"],["disabled","","label","Programa de Gest\xe3o","controlName","programa_id",3,"size","dao"],["disabled","","label","Planejamento Institucional","controlName","planejamento_id",3,"size","dao"],["disabled","","controlName","data_inicio","label","In\xedcio",3,"size","labelInfo"],["disabled","","label","Cadeia de Valor","controlName","cadeia_valor_id",3,"size","dao"],["disabled","","controlName","data_fim","label","Fim",3,"size","labelInfo"]],template:function(a,n){1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveData()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"div")(2,"div",1)(3,"input-search",2,3),e.NdJ("change",function(s){return n.onPlanoEntregaChange(s)}),e.qZA(),e._UZ(5,"separator"),e.qZA(),e.TgZ(6,"div",4),e._UZ(7,"input-text",5),e.qZA(),e.TgZ(8,"div",4),e._UZ(9,"input-search",6)(10,"input-text",7),e.qZA(),e.TgZ(11,"div",8)(12,"separator",9)(13,"div",4),e._UZ(14,"input-search",10),e.qZA(),e.TgZ(15,"div",4),e._UZ(16,"input-search",11)(17,"input-datetime",12),e.qZA(),e.TgZ(18,"div",4),e._UZ(19,"input-search",13)(20,"input-datetime",14),e.qZA()()()()()),2&a&&(e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(3),e.Q6J("size",12)("dao",n.planoEntregaDao)("selectRoute",e.WLB(30,Kt,e.DdM(25,Yt),e.VKq(28,Wt,e.VKq(26,Ht,n.auth.unidade.unidade_pai_id))))("where",e.WLB(36,ea,e.VKq(33,Xt,n.auth.unidade.unidade_pai_id),e.DdM(35,$t))),e.xp6(4),e.Q6J("size",12),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",9)("label",n.lex.translate("Unidade"))("dao",n.unidadeDao),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(2),e.Q6J("collapse","collapse"),e.xp6(2),e.Q6J("size",12)("dao",n.programaDao),e.xp6(2),e.Q6J("size",9)("dao",n.planejamentoInstitucionalDao),e.xp6(1),e.Q6J("size",3)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entrega")),e.xp6(2),e.Q6J("size",9)("dao",n.cadeiaValorDao),e.xp6(1),e.Q6J("size",3)("labelInfo","Fim "+n.lex.translate("Plano de Entrega")))},dependencies:[U.Q,J.V,j.m,q.k,B.N]})}return o})();var aa=r(2307),na=r(4508),_e=r(6384),pe=r(4978);const oa=["gridProcessos"],ia=["gridObjetivos"],la=["entregas"],sa=["planejamento"],ra=["cadeiaValor"],da=["inputObjetivo"],ca=["inputProcesso"],ua=["entrega"],ga=["unidade"],_a=["tabs"],pa=["etiqueta"];function ma(o,l){if(1&o&&(e.TgZ(0,"div",4),e._UZ(1,"plano-entrega-valor-meta-input",29)(2,"input-number",30),e.TgZ(3,"div",4),e._UZ(4,"plano-entrega-valor-meta-input",31)(5,"input-number",32),e.qZA()()),2&o){const t=e.oxw(),a=e.MAs(31);e.xp6(1),e.Q6J("entrega",null==a?null:a.selectedEntity)("size",6)("control",t.form.controls.meta),e.xp6(1),e.Q6J("size",6),e.xp6(2),e.Q6J("entrega",null==a?null:a.selectedEntity)("size",6)("control",t.form.controls.realizado)("change",t.onRealizadoChange.bind(t)),e.xp6(1),e.Q6J("size",6)("stepValue",.01)}}function ha(o,l){1&o&&(e.TgZ(0,"div",4),e._UZ(1,"input-number",30)(2,"input-number",32),e.qZA()),2&o&&(e.xp6(1),e.Q6J("size",6),e.xp6(1),e.Q6J("size",6)("stepValue",.01))}function fa(o,l){1&o&&(e.TgZ(0,"order",42),e._uU(1,"Objetivos"),e.qZA()),2&o&&e.Q6J("header",l.header)}function ba(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(null==t.objetivo?null:t.objetivo.nome)}}const va=function(o){return["planejamento_id","==",o]},me=function(o){return[o]},Ea=function(){return["gestao","planejamento","objetivoList"]},Aa=function(o){return{planejamento_id:o}},he=function(o){return{filter:o}},fe=function(o,l){return{route:o,params:l}};function Ta(o,l){if(1&o&&e._UZ(0,"input-search",43,44),2&o){const t=e.oxw(2);e.Q6J("size",12)("where",e.VKq(6,me,e.VKq(4,va,t.planejamentoId)))("dao",t.planejamentoObjetivoDao)("selectRoute",e.WLB(13,fe,e.DdM(8,Ea),e.VKq(11,he,e.VKq(9,Aa,t.planejamentoId))))}}function Oa(o,l){if(1&o&&(e.TgZ(0,"tab",33),e._UZ(1,"input-search",34,35),e.TgZ(3,"grid",36,37)(5,"columns")(6,"column",38),e.YNc(7,fa,2,1,"ng-template",null,39,e.W1O),e.YNc(9,ba,2,1,"ng-template",null,40,e.W1O),e.YNc(11,Ta,2,16,"ng-template",null,41,e.W1O),e.qZA(),e._UZ(13,"column",12),e.qZA()()()),2&o){const t=e.MAs(8),a=e.MAs(10),n=e.MAs(12),i=e.oxw();e.xp6(1),e.Q6J("size",12)("dao",i.planejamentoDao),e.xp6(2),e.Q6J("control",i.form.controls.objetivos)("form",i.formObjetivos)("orderBy",i.orderBy)("hasDelete",!0)("hasEdit",!0)("add",i.addObjetivo.bind(i))("remove",i.removeObjetivo.bind(i))("save",i.saveObjetivo.bind(i)),e.xp6(3),e.Q6J("titleTemplate",t)("template",a)("editTemplate",n)}}function Ca(o,l){1&o&&(e.TgZ(0,"order",53),e._uU(1,"Processos"),e.qZA()),2&o&&e.Q6J("header",l.header)}function Ia(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(null==t.processo?null:t.processo.nome)}}const Pa=function(o){return["cadeia_valor_id","==",o]},Za=function(){return["gestao","cadeia-valor","processoList"]},Da=function(o){return{cadeia_valor_id:o}};function xa(o,l){if(1&o&&e._UZ(0,"input-search",54,55),2&o){const t=e.oxw(2);e.Q6J("size",12)("where",e.VKq(6,me,e.VKq(4,Pa,t.cadeiaValorId)))("dao",t.cadeiaValorProcessoDao)("selectRoute",e.WLB(13,fe,e.DdM(8,Za),e.VKq(11,he,e.VKq(9,Da,t.cadeiaValorId))))}}function Na(o,l){if(1&o&&(e.TgZ(0,"tab",45),e._UZ(1,"input-search",46,47),e.TgZ(3,"grid",36,48)(5,"columns")(6,"column",38),e.YNc(7,Ca,2,1,"ng-template",null,49,e.W1O),e.YNc(9,Ia,2,1,"ng-template",null,50,e.W1O),e.YNc(11,xa,2,16,"ng-template",null,51,e.W1O),e.qZA(),e._UZ(13,"column",52),e.qZA()()()),2&o){const t=e.MAs(8),a=e.MAs(10),n=e.MAs(12),i=e.oxw();e.xp6(1),e.Q6J("size",12)("dao",i.cadeiaValorDao),e.xp6(2),e.Q6J("control",i.form.controls.processos)("form",i.formProcessos)("orderBy",i.orderBy)("hasDelete",!0)("hasEdit",!0)("add",i.addProcesso.bind(i))("remove",i.removeProcesso.bind(i))("save",i.saveProcesso.bind(i)),e.xp6(3),e.Q6J("titleTemplate",t)("template",a)("editTemplate",n),e.xp6(7),e.Q6J("dynamicButtons",i.dynamicButtonsProcessos.bind(i))}}const ya=function(o){return["plano_entrega.unidade_id","in",o]},Ua=function(){return["gestao","plano-entrega","entrega-list"]},La=function(o){return{route:o}},wa=function(o){return{idsUnidadesAscendentes:o}};let be=(()=>{class o extends W.F{constructor(t){super(t,F.O,L.K),this.injector=t,this.itensQualitativo=[],this.idsUnidadesAscendentes=[],this.checklist=[],this.etiquetas=[],this.etiquetasAscendentes=[],this.validate=(a,n)=>{let i=null;return["descricao","destinatario"].indexOf(n)>=0?a.value?.length?this.entrega.selectedEntity&&this.entrega.selectedEntity.descricao==a.value&&(i="\xc9 necess\xe1rio incrementar ou modificar a descri\xe7\xe3o da entrega"):i="Obrigat\xf3rio":["progresso_realizado","realizado"].indexOf(n)>=0&&!(a.value>=0||a.value?.length>0)||["progresso_esperado","meta"].indexOf(n)>=0&&!(a.value>0||a.value?.length>0)?i="Obrigat\xf3rio":["unidade_id"].indexOf(n)>=0&&!a.value?.length?i="A unidade demandante \xe9 obrigat\xf3ria":["entrega_id"].indexOf(n)>=0&&!a.value?.length?i="A entrega \xe9 obrigat\xf3ria":["data_inicio"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)||["data_fim"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)?i="Inv\xe1lido":["planejamento_objetivo_id"].indexOf(n)>=0?(a.value?.length||(i="O objetivo do planejamento \xe9 obrigat\xf3rio"),a.value?.length&&this.gridObjetivos?.items.filter(s=>"ADD"==s._status).map(s=>s.planejamento_objetivo_id).includes(this.formObjetivos.controls.planejamento_objetivo_id.value)&&(i="Este objetivo est\xe1 em duplicidade!")):["cadeia_processo_id"].indexOf(n)>=0&&(a.value?.length||(i="O processo da cadeia de valor \xe9 obrigat\xf3rio"),a.value?.length&&this.gridProcessos?.items.map(s=>s.cadeia_processo_id).includes(this.formProcessos.controls.cadeia_processo_id.value)&&(i="Este processo est\xe1 em duplicidade!")),i},this.formValidation=a=>{let n=this.form?.controls.data_inicio.value,i=this.form?.controls.data_fim.value;return this.gridObjetivos?.editing?(this.tabs.active="OBJETIVOS","Salve ou cancele o registro atual em edi\xe7\xe3o"):this.gridProcessos?.editing?(this.tabs.active="PROCESSOS","Salve ou cancele o registro atual em edi\xe7\xe3o"):this.dao?.validDateTime(n)?this.dao?.validDateTime(i)?n>i?"A data do fim n\xe3o pode ser anterior \xe0 data do in\xedcio!":!this.auth.hasPermissionTo("MOD_PENT_ENTR_EXTRPL")&&this.planoEntrega&&nthis.planoEntrega.data_fim?"Data de fim maior que a data de fim "+this.lex.translate("do Plano de Entrega")+": "+this.util.getDateFormatted(this.planoEntrega.data_fim):void 0:"Data de fim inv\xe1lida":"Data de in\xedcio inv\xe1lida"},this.planejamentoDao=t.get(I.U),this.unidadeDao=t.get(N.J),this.entregaDao=t.get(de.y),this.planoEntregaDao=t.get(Z.r),this.planejamentoInstitucionalDao=t.get(I.U),this.planoEntregaEntregaDao=t.get(L.K),this.cadeiaValorDao=t.get(D.m),this.cadeiaValorProcessoDao=t.get(ue.k),this.planejamentoObjetivoDao=t.get(ce.e),this.planoEntregaService=t.get(c.f),this.modalWidth=700,this.join=["entrega","objetivos.objetivo","processos.processo"],this.form=this.fh.FormBuilder({descricao:{default:""},descricao_entrega:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},meta:{default:100},descricao_meta:{default:""},realizado:{default:null},plano_entrega_id:{default:""},entrega_pai_id:{default:null},entrega_id:{default:null},progresso_esperado:{default:100},progresso_realizado:{default:null},unidade_id:{default:null},destinatario:{default:null},objetivos:{default:[]},processos:{default:[]},listaQualitativo:{default:[]},planejamento_id:{default:null},cadeia_valor_id:{default:null},objetivo_id:{default:null},objetivo:{default:null},checklist:{default:[]},etiquetas:{default:[]},etiqueta:{default:""}},this.cdRef,this.validate),this.formObjetivos=this.fh.FormBuilder({planejamento_objetivo_id:{default:null}},this.cdRef,this.validate),this.formProcessos=this.fh.FormBuilder({cadeia_processo_id:{default:null}},this.cdRef,this.validate),this.formChecklist=this.fh.FormBuilder({id:{default:""},texto:{default:""},checked:{default:!1}},this.cdRef)}ngOnInit(){super.ngOnInit(),this.planoEntrega=this.metadata?.plano_entrega,this.planejamentoId=this.metadata?.planejamento_id,this.cadeiaValorId=this.metadata?.cadeia_valor_id,this.unidadeId=this.metadata?.unidade_id,this.metadata?.data_fim&&(this.dataFim=this.metadata?.data_fim),this.entity=this.metadata?.entrega}loadData(t,a){var n=this;return(0,u.Z)(function*(){""==t.unidade_id&&(t.unidade_id=n.unidadeId??"");let i=Object.assign({},a.value);n.onEntregaChange(a.value);let{meta:s,realizado:g,..._}=t;yield n.entrega?.loadSearch(t.entrega||i.entrega_id,!1),yield n.unidade?.loadSearch(n.unidadeId),yield n.planejamento?.loadSearch(n.planejamentoId),yield n.cadeiaValor?.loadSearch(n.cadeiaValorId);let h=n.unidadeId?.length?yield n.unidadeDao.getById(n.unidadeId):null;n.idsUnidadesAscendentes=h?.path?.split("/").slice(1)||[],h&&n.idsUnidadesAscendentes.push(h.id),a.patchValue(n.util.fillForm(i,_)),a.controls.meta.setValue(n.planoEntregaService.getValor(t.meta)),a.controls.realizado.setValue(n.planoEntregaService.getValor(t.realizado)),a.controls.objetivos.setValue(t.objetivos),a.controls.processos.setValue(t.processos),n.dataFim&&a.controls.data_fim.setValue(n.dataFim),yield n.loadEtiquetas()})()}initializeData(t){var a=this;return(0,u.Z)(function*(){yield a.loadData(a.entity,t)})()}onSaveEntrega(){var t=this;return(0,u.Z)(function*(){let a,n=!0;if(t.formValidation)try{a=yield t.formValidation(t.form)}catch(i){a=i}if(t.form.valid&&!a){if("edit"==t.action){let i=(yield t.saveData(t.form.value)).modalResult,s=[];i._status="EDIT",t.loading=!0;try{s=yield t.planoEntregaDao.planosImpactadosPorAlteracaoEntrega(i)}finally{t.loading=!1}if(s.length){let g=s.map(_=>t.util.getDateFormatted(_.data_inicio)+" - "+t.util.getDateFormatted(_.data_fim)+" - "+_.unidade?.sigla+": "+_.usuario?.nome+"\n");n=yield t.dialog.confirm("Altera assim mesmo?","Caso prossiga com essa modifica\xe7\xe3o os seguintes planos de trabalho ser\xe3o repactuados automaticamente:\n\n"+g+"\nDeseja prosseguir?")}}n&&(yield t.onSaveData())}else t.form.markAllAsTouched(),a&&t.error(a)})()}saveData(t){return new Promise((a,n)=>{let i=this.util.fill(new F.O,this.entity);this.gridObjetivos?.confirm(),this.gridProcessos?.confirm();let{meta:s,realizado:g,..._}=this.form.value;i=this.util.fillForm(i,_),i.unidade=this.unidade?.selectedEntity,i.entrega=this.entrega?.selectedEntity,i.meta=this.planoEntregaService.getEntregaValor(i.entrega,s),i.realizado=this.planoEntregaService.getEntregaValor(i.entrega,g),a(new aa.R(i))})}onRealizadoChange(t,a){this.calculaRealizado()}calculaRealizado(){const t=this.form?.controls.meta.value,a=this.form?.controls.realizado.value;if(t&&a){let n=isNaN(a)?0:(a/t*100).toFixed(0)||0;this.form?.controls.progresso_realizado.setValue(n)}}dynamicOptionsObjetivos(t){let a=[];return a.push({label:"Excluir",icon:"bi bi-trash",color:"btn-outline-danger",onClick:i=>{this.removeObjetivo(i)}}),a}dynamicButtonsObjetivos(t){return[]}dynamicButtonsProcessos(t){return[]}addObjetivo(){var t=this;return(0,u.Z)(function*(){return{id:t.dao.generateUuid(),_status:"ADD"}})()}removeObjetivo(t){var a=this;return(0,u.Z)(function*(){return(yield a.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(t._status="DELETE"),!1})()}saveObjetivo(t,a){var n=this;return(0,u.Z)(function*(){let i=a;if(t.controls.planejamento_objetivo_id.value.length&&n.inputObjetivo.selectedItem)return i.planejamento_objetivo_id=t.controls.planejamento_objetivo_id.value,i.objetivo=n.inputObjetivo.selectedItem.entity,i})()}addProcesso(){var t=this;return(0,u.Z)(function*(){return{id:t.dao.generateUuid(),_status:"ADD"}})()}removeProcesso(t){var a=this;return(0,u.Z)(function*(){return(yield a.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(t._status="DELETE"),!1})()}saveProcesso(t,a){var n=this;return(0,u.Z)(function*(){let i=a;if(t.controls.cadeia_processo_id.value.length&&n.inputProcesso.selectedItem)return i.cadeia_processo_id=t.controls.cadeia_processo_id.value,i.processo=n.inputProcesso.selectedItem.entity,i})()}onEntregaChange(t){var a=this;return(0,u.Z)(function*(){if(a.entrega&&a.entrega.selectedItem){const n=a.entrega?.selectedEntity;switch(n.tipo_indicador){case"QUALITATIVO":a.itensQualitativo=n.lista_qualitativos||[],a.form?.controls.meta.setValue(a.itensQualitativo.length?a.itensQualitativo[0].key:null),a.form?.controls.realizado.setValue(a.itensQualitativo.length?a.itensQualitativo[0].key:null);break;case"VALOR":case"QUANTIDADE":a.form?.controls.meta.setValue(""),a.form?.controls.realizado.setValue(0);break;case"PORCENTAGEM":a.form?.controls.meta.setValue(100),a.form?.controls.realizado.setValue(0)}yield a.loadEtiquetas(),n.checklist&&a.loadChecklist(),a.calculaRealizado()}})()}loadEtiquetas(){var t=this;return(0,u.Z)(function*(){if(!t.etiquetasAscendentes.filter(a=>a.data==t.unidade?.selectedEntity?.id).length){let a=yield t.carregaEtiquetasUnidadesAscendentes(t.unidade?.selectedEntity);t.etiquetasAscendentes.push(...a)}t.etiquetas=t.util.merge(t.entrega?.selectedEntity?.etiquetas,t.unidade?.selectedEntity?.etiquetas,(a,n)=>a.key==n.key),t.etiquetas=t.util.merge(t.etiquetas,t.auth.usuario.config?.etiquetas,(a,n)=>a.key==n.key),t.etiquetas=t.util.merge(t.etiquetas,t.etiquetasAscendentes.filter(a=>a.data==t.unidade?.selectedEntity?.id),(a,n)=>a.key==n.key)})()}carregaEtiquetasUnidadesAscendentes(t){var a=this;return(0,u.Z)(function*(){let n=[],i=(t=t||a.auth.unidade).path.split("/");return(yield a.unidadeDao.query({where:[["id","in",i]]}).asPromise()).forEach(g=>{n=a.util.merge(n,g.etiquetas,(_,h)=>_.key==h.key)}),n.forEach(g=>g.data=t.id),n})()}loadChecklist(){let a=(this.entrega?.selectedEntity).checklist.map(n=>({id:n.id,texto:n.texto,checked:!1}));this.checklist=a||[],this.form.controls.checklist.setValue(a)}addItemHandleEtiquetas(){let t;if(this.etiqueta&&this.etiqueta.selectedItem){const a=this.etiqueta.selectedItem,n=a.key?.length?a.key:this.util.textHash(a.value);this.util.validateLookupItem(this.form.controls.etiquetas.value,n)&&(t={key:n,value:a.value,color:a.color,icon:a.icon},this.form.controls.etiqueta.setValue(""))}return t}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-form-entrega"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(oa,5),e.Gf(ia,5),e.Gf(la,5),e.Gf(sa,5),e.Gf(ra,5),e.Gf(da,5),e.Gf(ca,5),e.Gf(ua,5),e.Gf(ga,5),e.Gf(_a,5),e.Gf(pa,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.gridProcessos=i.first),e.iGM(i=e.CRH())&&(n.gridObjetivos=i.first),e.iGM(i=e.CRH())&&(n.entregas=i.first),e.iGM(i=e.CRH())&&(n.planejamento=i.first),e.iGM(i=e.CRH())&&(n.cadeiaValor=i.first),e.iGM(i=e.CRH())&&(n.inputObjetivo=i.first),e.iGM(i=e.CRH())&&(n.inputProcesso=i.first),e.iGM(i=e.CRH())&&(n.entrega=i.first),e.iGM(i=e.CRH())&&(n.unidade=i.first),e.iGM(i=e.CRH())&&(n.tabs=i.first),e.iGM(i=e.CRH())&&(n.etiqueta=i.first)}},features:[e.qOj],decls:44,vars:57,consts:[["initialFocus","descricao",3,"form","disabled","title","submit","cancel"],["display","","right","",3,"title"],["tabs",""],["key","ENTREGAS","label","Entregas"],[1,"row"],["collapse","",3,"title","collapsed"],["label","T\xedtulo","controlName","descricao","required","",3,"size","placeholder"],["controlName","descricao_entrega",3,"size","label","placeholder"],["controlName","entrega_pai_id",3,"size","label","dao","where","selectRoute","metadata"],[1,"row","mt-4"],["editable","",3,"control","form","hasAdd","hasDelete"],["type","text","title","Texto","field","texto"],["type","options"],["date","","label","In\xedcio","controlName","data_inicio","required","",3,"size","labelInfo"],["date","","label","Fim","controlName","data_fim","required","",3,"size","labelInfo"],["label","Demandante","controlName","unidade_id","required","",3,"size","dao"],["unidade",""],["label","Destinat\xe1rio","controlName","destinatario","required","",3,"size"],["title","Planejamento"],["controlName","entrega_id","placeholder","Selecione ou cadastre uma meta do cat\xe1logo usando a lupa","required","",3,"size","label","dao","change"],["entrega",""],["label","Descri\xe7\xe3o da meta","controlName","descricao_meta","placeholder","Descreva a meta",3,"size"],["class","row",4,"ngIf","ngIfElse"],["naoSelecionou",""],["label","Etiquetas","controlName","etiquetas",3,"size","control","addItemHandle"],["controlName","etiqueta",3,"size","control","items"],["etiqueta",""],["key","OBJETIVOS","label","Objetivos",4,"ngIf"],["key","PROCESSOS","label","Processos",4,"ngIf"],["icon","bi bi-graph-up-arrow","label","Meta","labelInfo","Onde quero chegar ao final da entrega. Evolu\xe7\xe3o total da entrega, podendo ultrapassar o per\xedodo do plano de entregas",3,"entrega","size","control"],["label","Parcela da entrega no plano","controlName","progresso_esperado","sufix","%","labelInfo","Quanto vou caminhar nesse plano de entregas. Percentual do total da entrega que ser\xe1 realizado durante a vig\xeancia desse plano",3,"size"],["icon","bi bi-check-lg","label","Progresso ao in\xedcio do plano","labelInfo","De onde estou saindo nesse plano. Valor correspondente ao progresso verificado no planejamento do plano de entregas",3,"entrega","size","control","change"],["label","Progresso j\xe1 realizado","controlName","progresso_realizado","sufix","%","disabled","","labelInfo","Quanto caminhei no plano atual Evolu\xe7\xe3o j\xe1 realizada para a meta. No ato da cria\xe7\xe3o do plano, \xe9 o percentual de progresso ao in\xedcio do plano em rela\xe7\xe3o \xe0 meta",3,"size","stepValue"],["key","OBJETIVOS","label","Objetivos"],["controlName","planejamento_id","disabled","",3,"size","dao"],["planejamento",""],["editable","",3,"control","form","orderBy","hasDelete","hasEdit","add","remove","save"],["gridObjetivos",""],[3,"titleTemplate","template","editTemplate"],["titleObjetivo",""],["columnObjetivo",""],["editObjetivo",""],["by","objetivo.nome",3,"header"],["controlName","planejamento_objetivo_id",3,"size","where","dao","selectRoute"],["inputObjetivo",""],["key","PROCESSOS","label","Processos"],["controlName","cadeia_valor_id","disabled","",3,"size","dao"],["cadeiaValor",""],["gridProcessos",""],["titleProcessos",""],["processo",""],["editProcesso",""],["type","options",3,"dynamicButtons"],["by","processo.nome",3,"header"],["label","","icon","","controlName","cadeia_processo_id","label","",3,"size","where","dao","selectRoute"],["inputProcesso",""]],template:function(a,n){if(1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveEntrega()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"tabs",1,2)(3,"tab",3)(4,"div",4)(5,"separator",5)(6,"div",4),e._UZ(7,"input-text",6),e.qZA(),e.TgZ(8,"div",4),e._UZ(9,"input-textarea",7),e.qZA(),e.TgZ(10,"div",4),e._UZ(11,"input-search",8),e.qZA(),e.TgZ(12,"separator",5)(13,"div",9)(14,"h5"),e._uU(15,"Etapas"),e.qZA(),e.TgZ(16,"grid",10)(17,"columns"),e._UZ(18,"column",11)(19,"column",12),e.qZA()()()()(),e.TgZ(20,"separator",5)(21,"div",4),e._UZ(22,"input-datetime",13)(23,"input-datetime",14),e.qZA(),e.TgZ(24,"div",4),e._UZ(25,"input-search",15,16)(27,"input-text",17),e.qZA()(),e._UZ(28,"separator",18),e.TgZ(29,"div",4)(30,"input-search",19,20),e.NdJ("change",function(s){return n.onEntregaChange(s)}),e.qZA()(),e.TgZ(32,"div",4),e._UZ(33,"input-textarea",21),e.qZA(),e.YNc(34,ma,6,10,"div",22),e.YNc(35,ha,3,3,"ng-template",null,23,e.W1O),e.TgZ(37,"separator",5)(38,"div",4)(39,"input-multiselect",24),e._UZ(40,"input-select",25,26),e.qZA()()()()(),e.YNc(42,Oa,14,13,"tab",27),e.YNc(43,Na,14,14,"tab",28),e.qZA()()),2&a){const i=e.MAs(31),s=e.MAs(36);e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(1),e.Q6J("title",n.isModal?"":n.title),e.xp6(4),e.Q6J("title","Informa\xe7\xf5es gerais da "+n.lex.translate("entrega"))("collapsed",!1),e.xp6(2),e.Q6J("size",12)("placeholder","T\xedtulo da "+n.lex.translate("entrega")),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",12)("label","Descri\xe7\xe3o da "+n.lex.translate("entrega"))("placeholder","Descreva a "+n.lex.translate("entrega")),e.xp6(2),e.Q6J("size",12)("label","V\xednculo com "+n.lex.translate("entrega")+" de "+n.lex.translate("plano de entrega")+" superior")("dao",n.planoEntregaEntregaDao)("where",e.VKq(50,ya,n.idsUnidadesAscendentes))("selectRoute",e.VKq(53,La,e.DdM(52,Ua)))("metadata",e.VKq(55,wa,n.idsUnidadesAscendentes)),e.xp6(1),e.Q6J("title","Etapas da "+n.lex.translate("entrega"))("collapsed",!0),e.xp6(4),e.Q6J("control",n.form.controls.checklist)("form",n.formChecklist)("hasAdd",!0)("hasDelete",!0),e.xp6(4),e.Q6J("title","Especifica\xe7\xf5es da "+n.lex.translate("entrega"))("collapsed",!1),e.xp6(2),e.Q6J("size",6)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entregas")),e.xp6(1),e.Q6J("size",6)("labelInfo","Fim "+n.lex.translate("Plano de Entregas")+"(Estimativa Inicial)"),e.xp6(2),e.Q6J("size",6)("dao",n.unidadeDao),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(3),e.Q6J("size",12)("label",n.lex.translate("Tipo de Meta"))("dao",n.entregaDao),e.xp6(3),e.Q6J("size",12),e.xp6(1),e.Q6J("ngIf",null==i?null:i.selectedEntity)("ngIfElse",s),e.xp6(3),e.Q6J("title","Caracteriza\xe7\xe3o da "+n.lex.translate("entrega"))("collapsed",!1),e.xp6(2),e.Q6J("size",12)("control",n.form.controls.etiquetas)("addItemHandle",n.addItemHandleEtiquetas.bind(n)),e.xp6(1),e.Q6J("size",12)("control",n.form.controls.etiqueta)("items",n.etiquetas),e.xp6(2),e.Q6J("ngIf",null==n.planejamentoId?null:n.planejamentoId.length),e.xp6(1),e.Q6J("ngIf",null==n.cadeiaValorId?null:n.cadeiaValorId.length)}},dependencies:[O.O5,f.M,b.a,A.b,U.Q,J.V,j.m,na.Q,q.k,G.p,ie.p,_e.n,pe.i,B.N,X.l,H.l,$]})}return o})();var ve=r(8958),qa=r(39);const Qa=["selectResponsaveis"];function Ra(o,l){1&o&&(e.TgZ(0,"strong"),e._uU(1,"Respons\xe1vel"),e.qZA())}function Ja(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.hij(" ",t.responsavel," ")}}function Ma(o,l){1&o&&(e.TgZ(0,"strong"),e._uU(1,"Criado em"),e.qZA())}function Sa(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Oqu(a.util.getDateTimeFormatted(t.date_time))}}function Va(o,l){1&o&&(e.TgZ(0,"div",2)(1,"div",17)(2,"strong"),e._uU(3,"Atributos"),e.qZA()(),e.TgZ(4,"div",18)(5,"strong"),e._uU(6,"Valores"),e._UZ(7,"br"),e._uU(8,"Atuais"),e.qZA()(),e.TgZ(9,"div",18)(10,"strong"),e._uU(11,"Valores"),e._UZ(12,"br"),e._uU(13,"Anteriores"),e.qZA()()())}function za(o,l){if(1&o&&(e.TgZ(0,"tr")(1,"td",21),e._uU(2),e.qZA(),e.TgZ(3,"td",22),e._uU(4),e.qZA(),e.TgZ(5,"td",22),e._uU(6),e.qZA()()),2&o){const t=l.$implicit,a=e.oxw(2);e.xp6(2),e.Oqu(t[0]),e.xp6(2),e.Oqu("EDIT"==a.action||"ADD"==a.action?t[1]:""),e.xp6(2),e.Oqu("EDIT"==a.action?t[2]:"ADD"==a.action?"":t[1])}}function ja(o,l){if(1&o&&(e.TgZ(0,"separator",19)(1,"table")(2,"tbody"),e.YNc(3,za,7,3,"tr",20),e.qZA()()()),2&o){const t=l.row,a=e.oxw();e.Q6J("collapse","collapse")("collapsed",!0),e.xp6(3),e.Q6J("ngForOf",a.preparaDelta(t))}}let Ga=(()=>{class o extends d.E{constructor(t,a){super(t,qa.R,ve.D),this.injector=t,this.responsaveis=[],this.planoId="",this.action="",this.filterWhere=n=>{let i=[],s=n.value;return i.push(["table_name","==","planos_entregas"]),i.push(["row_id","==",this.planoId]),s.responsavel_id?.length&&i.push(["user_id","==","null"==s.responsavel_id?null:s.responsavel_id]),s.data_inicio&&i.push(["date_time",">=",s.data_inicio]),s.data_fim&&i.push(["date_time","<=",s.data_fim]),s.tipo?.length&&i.push(["type","==",s.tipo]),i},this.planoEntregaDao=t.get(Z.r),this.title="Logs de Planos de Entregas",this.filter=this.fh.FormBuilder({responsavel_id:{default:""},data_inicio:{default:""},data_fim:{default:""},tipo:{default:""}}),this.orderBy=[["id","desc"]]}ngOnInit(){super.ngOnInit(),this.planoId=this.urlParams?.get("id")||"",this.planoEntregaDao.getById(this.planoId).then(t=>this.planoEntrega=t)}ngAfterViewInit(){super.ngAfterViewInit()}filterClear(t){t.controls.responsavel_id.setValue(""),t.controls.data_inicio.setValue(""),t.controls.data_fim.setValue(""),t.controls.tipo.setValue(""),super.filterClear(t)}preparaDelta(t){this.action=t.type;let a=t.delta instanceof Array?t.delta:Object.entries(t.delta);return a.forEach(n=>{n[1]instanceof Date&&(n[1]=new Date(n[1]).toUTCString()),n.length>2&&n[2]instanceof Date&&(n[2]=new Date(n[2]).toUTCString())}),a}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3),e.Y36(ve.D))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-list-logs"]],viewQuery:function(a,n){if(1&a&&(e.Gf(f.M,5),e.Gf(Qa,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.selectResponsaveis=i.first)}},features:[e.qOj],decls:31,vars:30,consts:[[3,"dao","hasEdit","title","orderBy","groupBy","join"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel pelo registro","controlName","responsavel_id",3,"control","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio dos registros",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim dos registros",3,"size","control"],["label","Tipo","icon","bi bi-arrow-up-right-circle","controlName","tipo","itemTodos","Todos","valueTodos","",3,"size","control","items"],[3,"titleTemplate","template"],["titleResponsavel",""],["columnResponsavel",""],["titleDataCriacao",""],["columnDataCriacao",""],["titleDiferenca",""],["columnDiferenca",""],["title","Tipo de Opera\xe7\xe3o","field","type"],[3,"rows"],["width","150",1,"col","align-bottom"],["width","250",1,"col"],["title","(ver detalhes)",3,"collapse","collapsed"],[4,"ngFor","ngForOf"],["width","150"],["width","250"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0)(1,"span")(2,"strong"),e._uU(3),e.qZA()(),e._UZ(4,"toolbar"),e.TgZ(5,"filter",1)(6,"div",2),e._UZ(7,"input-select",3,4),e.qZA(),e.TgZ(9,"div",2),e._UZ(10,"input-datetime",5)(11,"input-datetime",6)(12,"input-select",7),e.qZA()(),e.TgZ(13,"columns")(14,"column",8),e.YNc(15,Ra,2,0,"ng-template",null,9,e.W1O),e.YNc(17,Ja,2,1,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(19,"column",8),e.YNc(20,Ma,2,0,"ng-template",null,11,e.W1O),e.YNc(22,Sa,2,1,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(24,"column",8),e.YNc(25,Va,14,0,"ng-template",null,13,e.W1O),e.YNc(27,ja,4,3,"ng-template",null,14,e.W1O),e.qZA(),e._UZ(29,"column",15),e.qZA(),e._UZ(30,"pagination",16),e.qZA()),2&a){const i=e.MAs(16),s=e.MAs(18),g=e.MAs(21),_=e.MAs(23),h=e.MAs(26),v=e.MAs(28);e.Q6J("dao",n.dao)("hasEdit",!1)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join),e.xp6(3),e.Oqu((null==n.planoEntrega?null:n.planoEntrega.numero)+" - "+(null==n.planoEntrega?null:n.planoEntrega.nome)),e.xp6(2),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("control",n.filter.controls.responsavel_id)("items",n.responsaveis),e.xp6(3),e.Q6J("size",4)("control",n.filter.controls.data_inicio),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.data_fim),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.tipo)("items",n.lookup.TIPO_LOG_CHANGE),e.xp6(2),e.Q6J("titleTemplate",i)("template",s),e.xp6(5),e.Q6J("titleTemplate",g)("template",_),e.xp6(5),e.Q6J("titleTemplate",h)("template",v),e.xp6(6),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.sg,f.M,b.a,A.b,m.z,x.n,z.Q,q.k,G.p,B.N]})}return o})();function Fa(o,l){if(1&o&&(e.TgZ(0,"h3",18),e._uU(1),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Oqu(t.title)}}function ka(o,l){if(1&o&&e._UZ(0,"toolbar",19),2&o){const t=e.oxw();e.Q6J("buttons",t.buttons)}}function Ba(o,l){if(1&o&&(e._uU(0),e._UZ(1,"br")(2,"badge",20)(3,"br")(4,"badge",21)),2&o){const t=l.row,a=e.oxw();e.hij(" ",t.descricao||"(n\xe3o informado)",""),e.xp6(2),e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",t.unidade.sigla||"(n\xe3o informado)"),e.xp6(2),e.Q6J("label",t.destinatario||"(n\xe3o informado)")}}function Ya(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e._uU(3),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Oqu(a.dao.getDateFormatted(t.data_inicio)),e.xp6(2),e.Oqu(a.dao.getDateFormatted(t.data_fim))}}function Ha(o,l){if(1&o&&(e.TgZ(0,"span",23),e._UZ(1,"i",24),e._uU(2),e.qZA()),2&o){const t=e.oxw().row;e.xp6(2),e.hij(" ",t.entrega.nome||t.entrega_pai.descricao," ")}}function Wa(o,l){1&o&&e.YNc(0,Ha,3,1,"span",22),2&o&&e.Q6J("ngIf",l.row.entrega)}function Ka(o,l){if(1&o&&e._UZ(0,"badge",25)(1,"br")(2,"badge",25),2&o){const t=l.row,a=e.oxw();e.Q6J("label",a.planoEntregaService.getValorMeta(t)),e.xp6(2),e.Q6J("label",a.planoEntregaService.getValorRealizado(t))}}function Xa(o,l){1&o&&e._UZ(0,"progress-bar",26),2&o&&e.Q6J("value",l.row.progresso_realizado)}let $a=(()=>{class o extends d.E{constructor(t){super(t,F.O,L.K),this.injector=t,this.buttons=[],this.idsUnidadesAscendentes=[],this.filterWhere=a=>{let n=a.value,i=[];return this.idsUnidadesAscendentes.length&&i.push(["plano_entrega.unidade_id","in",this.idsUnidadesAscendentes]),n.unidade_id?.length&&i.push(["unidade_id","==",n.unidade_id]),n.descricao?.length&&i.push(["descricao","like","%"+n.descricao.trim().replace(" ","%")+"%"]),n.descricao?.length&&i.push(["descricao_entrega","like","%"+n.descricao_entrega.trim().replace(" ","%")+"%"]),n.destinatario?.length&&i.push(["destinatario","like","%"+n.destinatario.trim().replace(" ","%")+"%"]),i},this.planoEntregaDao=t.get(L.K),this.unidadeDao=t.get(N.J),this.planoEntregaService=t.get(c.f),this.title=this.lex.translate("Entregas"),this.filter=this.fh.FormBuilder({descricao:{default:""},descricao_entrega:{default:""},unidade_id:{default:""},destinatario:{default:""}}),this.join=["entrega:id,nome","entrega_pai:id,descricao","unidade:id,sigla","plano_entrega:id,nome"],this.groupBy=[{field:"plano_entrega.nome",label:"Unidade"}]}ngOnInit(){super.ngOnInit(),this.idsUnidadesAscendentes=this.metadata?.idsUnidadesAscendentes||this.idsUnidadesAscendentes,this.filter?.controls.unidade_id.setValue(this.idsUnidadesAscendentes[0])}dynamicOptions(t){let a=[];return a.push({label:"Informa\xe7\xf5es",icon:"bi bi-info-circle",onClick:n=>this.go.navigate({route:["gestao","planejamento","objetivo",n.id,"consult"]},{modal:!0})}),a}filterClear(t){super.filterClear(t)}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-plano-entrega-list-entrega-list"]],viewQuery:function(a,n){if(1&a&&e.Gf(f.M,5),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first)}},features:[e.qOj],decls:26,vars:32,consts:[["class","my-2",4,"ngIf"],[3,"dao","orderBy","groupBy","join","selectable","select"],[3,"buttons",4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Unidade","controlName","unidade_id",3,"size","control","dao"],["label","T\xedtulo da entrega","controlName","descricao","placeholder","T\xedtulo",3,"size","control"],["label","Descri\xe7\xe3o da entrega","controlName","descricao_entrega","placeholder","Descri\xe7\xe3o",3,"size","control"],[3,"title","template"],["columnEntregaCliente",""],["columnDatas",""],["title","Entrega",3,"template"],["columnIndicador",""],["columnMetaRealizado",""],["title","Progresso",3,"template"],["columnProgresso",""],["type","options"],[3,"rows"],[1,"my-2"],[3,"buttons"],["color","success",3,"icon","label"],["icon","bi bi-mailbox","color","light",3,"label"],["class","badge bg-light text-dark",4,"ngIf"],[1,"badge","bg-light","text-dark"],[1,"bi","bi-list-check"],["color","light",3,"label"],["color","success",3,"value"]],template:function(a,n){if(1&a&&(e.YNc(0,Fa,2,1,"h3",0),e.TgZ(1,"grid",1),e.NdJ("select",function(s){return n.onSelect(s)}),e.YNc(2,ka,1,1,"toolbar",2),e.TgZ(3,"filter",3)(4,"div",4),e._UZ(5,"input-search",5)(6,"input-text",6)(7,"input-text",7),e.qZA()(),e.TgZ(8,"columns")(9,"column",8),e.YNc(10,Ba,5,4,"ng-template",null,9,e.W1O),e.qZA(),e.TgZ(12,"column",8),e.YNc(13,Ya,4,2,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(15,"column",11),e.YNc(16,Wa,1,1,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(18,"column",8),e.YNc(19,Ka,3,2,"ng-template",null,13,e.W1O),e.qZA(),e.TgZ(21,"column",14),e.YNc(22,Xa,1,1,"ng-template",null,15,e.W1O),e.qZA(),e._UZ(24,"column",16),e.qZA(),e._UZ(25,"pagination",17),e.qZA()),2&a){const i=e.MAs(11),s=e.MAs(14),g=e.MAs(17),_=e.MAs(20),h=e.MAs(23);e.Q6J("ngIf",!n.isModal),e.xp6(1),e.Q6J("dao",n.dao)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join)("selectable",n.selectable),e.xp6(1),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("size",4)("control",n.filter.controls.unidade_id)("dao",n.unidadeDao),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.descricao),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.descricao_entrega),e.uIk("maxlength",250),e.xp6(2),e.Q6J("title","Entrega\nDemandante\nDestinat\xe1rio")("template",i),e.xp6(3),e.Q6J("title","Data In\xedcio\nData Fim")("template",s),e.xp6(3),e.Q6J("template",g),e.xp6(3),e.Q6J("title","Meta\nRealizado")("template",_),e.xp6(3),e.Q6J("template",h),e.xp6(4),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,b.a,A.b,m.z,x.n,z.Q,J.V,j.m,y.F,Y.R]})}return o})();var en=r(38),tn=r(6976);let Ee=(()=>{class o extends tn.B{constructor(t){super("PlanoEntregaEntregaProgresso",t),this.injector=t,this.inputSearchConfig.searchFields=["data_progresso"]}static#e=this.\u0275fac=function(a){return new(a||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();class K extends w.X{constructor(l){super(),this.data_inicio=new Date,this.data_fim=null,this.data_progresso=null,this.homologado=!1,this.meta={},this.realizado={},this.progresso_esperado=100,this.progresso_realizado=0,this.plano_entrega_entrega_id="",this.usuario_id="",this.initialization(l)}}function an(o,l){1&o&&e._UZ(0,"toolbar")}function nn(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_progresso),"")}}function on(o,l){1&o&&e.YNc(0,nn,2,1,"span",1),2&o&&e.Q6J("ngIf",l.row.data_progresso)}function ln(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function sn(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function rn(o,l){if(1&o&&(e.YNc(0,ln,2,1,"span",1),e._UZ(1,"br"),e.YNc(2,sn,2,1,"span",1)),2&o){const t=l.row;e.Q6J("ngIf",t.data_inicio),e.xp6(2),e.Q6J("ngIf",t.data_fim)}}function dn(o,l){if(1&o&&e._UZ(0,"badge",15)(1,"br")(2,"badge",16),2&o){const t=l.row,a=e.oxw();e.Q6J("textValue",a.planoEntregaService.getValorMeta(t.plano_entrega_entrega)),e.xp6(2),e.Q6J("textValue",a.planoEntregaService.getValorRealizado(t.plano_entrega_entrega))}}function cn(o,l){if(1&o&&e._UZ(0,"progress-bar",17),2&o){const t=l.row;e.Q6J("value",t.progresso_realizado)("goal",t.progresso_esperado)}}let un=(()=>{class o extends d.E{constructor(t){super(t,K,Ee),this.injector=t,this.planoEntregaEntregaId="",this.filterWhere=a=>{let n=[],i=a.value;return i.data_inicial_progresso&&n.push(["data_progresso",">=",i.data_inicial_progresso]),i.data_final_progresso&&n.push(["data_progresso","<=",i.data_final_progresso]),n.push(["plano_entrega_entrega_id","==",this.planoEntregaEntregaId]),n},this.planoEntregaService=t.get(c.f),this.title=this.lex.translate("Hist\xf3rico de execu\xe7\xe3o"),this.orderBy=[["data_progresso","desc"]],this.join=["plano_entrega_entrega.entrega"],this.filter=this.fh.FormBuilder({data_inicial_progresso:{default:null},data_final_progresso:{default:null}}),this.addOption(Object.assign({onClick:this.delete.bind(this)},this.OPTION_EXCLUIR),"MOD_PENT_ENTR_PRO_EXCL")}onGridLoad(t){t?.forEach(a=>a.entrega=a.plano_entrega_entrega?.entrega)}ngOnInit(){super.ngOnInit(),this.planoEntregaEntregaId=this.urlParams.get("entrega_id")||""}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-plano-entrega-list-progresso"]],viewQuery:function(a,n){if(1&a&&e.Gf(f.M,5),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first)}},features:[e.qOj],decls:21,vars:38,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","loadList","select"],[4,"ngIf"],[3,"deleted","form","where","submit","collapseChange","collapsed"],[1,"row"],["noIcon","","label","Data inical do progresso","controlName","data_inicial_progresso","labelInfo","Data que foi registrado o progresso",3,"size","control"],["noIcon","","label","Data final do progresso","controlName","data_final_progresso","labelInfo","Data que foi registrado o progresso",3,"size","control"],[3,"title","template","editTemplate"],["columnProgressoData",""],["columnDatas",""],[3,"title","width","template"],["columnMetaRealizado",""],[3,"title","width","template","editTemplate","columnEditTemplate"],["columnProgresso",""],["type","options",3,"onEdit","options"],[3,"rows"],["icon","bi bi-graph-up-arrow","color","light","hint","Planejada",3,"textValue"],["icon","bi bi-check-lg","color","light","hint","Realizada",3,"textValue"],["color","success",3,"value","goal"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0),e.NdJ("select",function(s){return n.onSelect(s)}),e.YNc(1,an,1,0,"toolbar",1),e.TgZ(2,"filter",2)(3,"div",3),e._UZ(4,"input-datetime",4)(5,"input-datetime",5),e.qZA()(),e.TgZ(6,"columns")(7,"column",6),e.YNc(8,on,1,1,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(10,"column",6),e.YNc(11,rn,3,2,"ng-template",null,8,e.W1O),e.qZA(),e.TgZ(13,"column",9),e.YNc(14,dn,3,2,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(16,"column",11),e.YNc(17,cn,1,2,"ng-template",null,12,e.W1O),e.qZA(),e._UZ(19,"column",13),e.qZA(),e._UZ(20,"pagination",14),e.qZA()),2&a){const i=e.MAs(9),s=e.MAs(12),g=e.MAs(15),_=e.MAs(18);e.Q6J("dao",n.dao)("add",n.add)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join)("selectable",n.selectable)("hasAdd",n.auth.hasPermissionTo("MOD_PENT_ENTR_PRO_INCL"))("hasEdit",n.auth.hasPermissionTo("MOD_PENT_ENTR_PRO_EDT"))("loadList",n.onGridLoad.bind(n)),e.xp6(1),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("size",3)("control",n.filter.controls.data_inicial_progresso),e.xp6(1),e.Q6J("size",3)("control",n.filter.controls.data_final_progresso),e.xp6(2),e.Q6J("title","Data progresso")("template",i)("editTemplate",i),e.xp6(3),e.Q6J("title","Data In\xedcio\nData Fim")("template",s)("editTemplate",s),e.xp6(3),e.Q6J("title","Meta")("width",100)("template",g),e.xp6(3),e.Q6J("title","Progresso")("width",200)("template",_)("editTemplate",_)("columnEditTemplate",n.selectable?void 0:_),e.xp6(3),e.Q6J("onEdit",n.edit)("options",n.options),e.xp6(1),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,b.a,A.b,m.z,x.n,z.Q,q.k,y.F,Y.R]})}return o})(),Ae=(()=>{class o extends W.F{constructor(t){super(t,K,Ee),this.injector=t,this.validate=(a,n)=>{let i=null;return["progresso_realizado","realizado"].indexOf(n)>=0&&!(a.value>=0||a.value?.length>0)||["progresso_esperado","meta"].indexOf(n)>=0&&!(a.value>0||a.value?.length>0)?i="Obrigat\xf3rio":(["data_inicio"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)||["data_fim"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value))&&(i="Inv\xe1lido"),i},this.titleEdit=a=>"Editando "+this.lex.translate("Progresso da entrega")+": "+(a?.entrega?.descricao||""),this.planoEntregaService=t.get(c.f),this.planoEntregaEntregaDao=t.get(L.K),this.join=["plano_entrega_entrega.entrega"],this.form=this.fh.FormBuilder({data_progresso:{default:new Date},data_inicio:{default:new Date},data_fim:{default:new Date},meta:{default:100},realizado:{default:null},progresso_esperado:{default:100},progresso_realizado:{default:null},usuario_id:{default:null},plano_entrega_entrega_id:{default:null}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit(),this.planoEntregaEntregaId=this.urlParams.get("entrega_id")}loadData(t,a){var n=this;return(0,u.Z)(function*(){let i=Object.assign({},a.value),{meta:s,realizado:g,..._}=t;a.patchValue(n.util.fillForm(i,_)),a.controls.meta.setValue(n.planoEntregaService.getValor(t.meta)),a.controls.realizado.setValue(n.planoEntregaService.getValor(t.realizado))})()}initializeData(t){var a=this;return(0,u.Z)(function*(){a.entity=new K,a.planoEntregaEntrega=a.planoEntregaEntregaId?yield a.planoEntregaEntregaDao.getById(a.planoEntregaEntregaId,["entrega"]):void 0,a.entity.usuario_id=a.auth.usuario.id,a.entity.plano_entrega_entrega_id=a.planoEntregaEntrega?.id,a.entity.plano_entrega_entrega=a.planoEntregaEntrega,a.entity.meta=a.planoEntregaEntrega?.meta,a.entity.realizado=a.planoEntregaEntrega?.realizado,a.entity.progresso_esperado=a.planoEntregaEntrega?.progresso_esperado,a.entity.progresso_realizado=a.planoEntregaEntrega?.progresso_realizado,a.entity.data_inicio=a.planoEntregaEntrega?.data_inicio,a.entity.data_fim=a.planoEntregaEntrega?.data_fim,yield a.loadData(a.entity,t)})()}saveData(t){return new Promise((a,n)=>{let i=this.util.fill(new K,this.entity),{meta:s,realizado:g,..._}=this.form.value;i=this.util.fillForm(i,_),i.meta=this.planoEntregaService.getEntregaValor(this.entity.plano_entrega_entrega?.entrega,s),i.realizado=this.planoEntregaService.getEntregaValor(this.entity.plano_entrega_entrega?.entrega,g),a(i)})}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-form-progresso"]],viewQuery:function(a,n){if(1&a&&e.Gf(U.Q,5),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first)}},features:[e.qOj],decls:11,vars:16,consts:[["initialFocus","data_progresso",3,"form","disabled","title","submit","cancel"],[1,"row"],["date","","label","Data do progresso","controlName","data_progresso","required","",3,"size"],["date","","label","In\xedcio","controlName","data_inicio","required","",3,"size","labelInfo"],["date","","label","Fim","controlName","data_fim","required","",3,"size","labelInfo"],["icon","bi bi-graph-up-arrow","label","Meta",3,"entrega","size","control"],["icon","bi bi-check-lg","label","Valor Inicial","labelInfo","Valor da meta verificado no in\xedcio do plano de entrega",3,"entrega","size","control"],["label","Progresso Esperado","controlName","progresso_esperado","sufix","%",3,"size"],["label","Progresso Realizado","controlName","progresso_realizado","sufix","%",3,"size"]],template:function(a,n){1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveData()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"div",1),e._UZ(2,"input-datetime",2)(3,"input-datetime",3)(4,"input-datetime",4),e.qZA(),e.TgZ(5,"div",1),e._UZ(6,"plano-entrega-valor-meta-input",5)(7,"plano-entrega-valor-meta-input",6),e.qZA(),e.TgZ(8,"div",1),e._UZ(9,"input-number",7)(10,"input-number",8),e.qZA()()),2&a&&(e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(2),e.Q6J("size",4),e.xp6(1),e.Q6J("size",4)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entregas")),e.xp6(1),e.Q6J("size",4)("labelInfo","Fim "+n.lex.translate("Plano de Entregas")+"(Estimativa Inicial)"),e.xp6(2),e.Q6J("entrega",null==n.entity||null==n.entity.plano_entrega_entrega?null:n.entity.plano_entrega_entrega.entrega)("size",6)("control",n.form.controls.meta),e.xp6(1),e.Q6J("entrega",null==n.entity||null==n.entity.plano_entrega_entrega?null:n.entity.plano_entrega_entrega.entrega)("size",6)("control",n.form.controls.realizado),e.xp6(2),e.Q6J("size",6),e.xp6(1),e.Q6J("size",6))},dependencies:[U.Q,q.k,H.l,$]})}return o})();var gn=r(7744),_n=r(9173),pn=r(684),mn=r(4971);const hn=["listaAtividades"];function fn(o,l){1&o&&(e.TgZ(0,"b"),e._uU(1,"Descri\xe7\xe3o"),e.qZA())}function bn(o,l){if(1&o&&(e.TgZ(0,"span",8),e._uU(1),e.qZA(),e._UZ(2,"reaction",9)),2&o){const t=l.row;e.xp6(1),e.Oqu(t.descricao),e.xp6(1),e.Q6J("entity",t)}}function vn(o,l){if(1&o&&(e._uU(0," Un./"),e.TgZ(1,"order",10),e._uU(2,"Respons\xe1vel"),e.qZA(),e._UZ(3,"br"),e.TgZ(4,"order",11),e._uU(5,"Demandante"),e.qZA()),2&o){const t=l.header;e.xp6(1),e.Q6J("header",t),e.xp6(3),e.Q6J("header",t)}}function En(o,l){if(1&o&&(e.TgZ(0,"div",12),e._UZ(1,"badge",13)(2,"badge",14),e.qZA(),e._UZ(3,"badge",15)),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Q6J("label",t.unidade.sigla),e.xp6(1),e.Q6J("icon","bi "+(null!=t.usuario&&null!=t.usuario.nome&&t.usuario.nome.length?"bi-person-check":"bi-person-x"))("label",a.util.apelidoOuNome(t.usuario,!0)||"(N\xe3o atribu\xeddo)")("hint","Respons\xe1vel: "+((null==t.usuario?null:t.usuario.nome)||"N\xe3o atribuido a nenhum usu\xe1rio")),e.xp6(1),e.Q6J("label",a.util.apelidoOuNome(t.demandante,!0)||"Desconhecido")("hint","Demandante: "+((null==t.demandante?null:t.demandante.nome)||"Desconhecido"))}}function An(o,l){1&o&&e._UZ(0,"progress-bar",16),2&o&&e.Q6J("value",l.row.progresso)}let Tn=(()=>{class o extends k.D{set entregaId(t){this._entregaId!=t&&(this._entregaId=t)}get entregaId(){return this._entregaId}constructor(t){super(t),this.injector=t,this.items=[],this.loader=!1,this.AtividadeDao=t.get(mn.P),this.join=["unidade","usuario","demandante","reacoes.usuario:id,nome,apelido"]}ngOnInit(){super.ngOnInit(),this.loadData()}loadData(){this.loader=!0,this.AtividadeDao.query({where:[["plano_trabalho_entrega_id","==",this._entregaId],["unidades_subordinadas","==",!0]],join:this.join}).asPromise().then(t=>{this.items=t}).finally(()=>{this.loader=!1})}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-trabalho-entrega-atividades"]],viewQuery:function(a,n){if(1&a&&e.Gf(hn,5),2&a){let i;e.iGM(i=e.CRH())&&(n.listaAtividades=i.first)}},inputs:{entregaId:"entregaId"},features:[e.qOj],decls:17,vars:10,consts:[[3,"items","loading"],[3,"titleTemplate","template"],["titleIdAtividadeDescricao",""],["columnAtividadeDescricao",""],["titleUnResponsavelDemandante",""],["columnPessoas",""],[3,"title","width","template"],["columnProgressoEtiquetasChecklist",""],[1,"micro-text","fw-ligh","atividade-descricao"],["origem","ATIVIDADE",3,"entity"],["by","usuario.nome",3,"header"],["by","demandante.nome",3,"header"],[1,"text-nowrap"],["icon","bi bi-briefcase","color","light",3,"label"],["color","light",3,"icon","label","hint"],["icon","bi bi-cursor","color","light",3,"label","hint"],["color","success",3,"value"]],template:function(a,n){if(1&a&&(e.TgZ(0,"h5"),e._uU(1),e.qZA(),e.TgZ(2,"grid",0)(3,"columns")(4,"column",1),e.YNc(5,fn,2,0,"ng-template",null,2,e.W1O),e.YNc(7,bn,3,2,"ng-template",null,3,e.W1O),e.qZA(),e.TgZ(9,"column",1),e.YNc(10,vn,6,2,"ng-template",null,4,e.W1O),e.YNc(12,En,4,6,"ng-template",null,5,e.W1O),e.qZA(),e.TgZ(14,"column",6),e.YNc(15,An,1,1,"ng-template",null,7,e.W1O),e.qZA()()()),2&a){const i=e.MAs(6),s=e.MAs(8),g=e.MAs(11),_=e.MAs(13),h=e.MAs(16);e.xp6(1),e.hij("",n.lex.translate("Atividades"),":"),e.xp6(1),e.Q6J("items",n.items)("loading",n.loader),e.xp6(2),e.Q6J("titleTemplate",i)("template",s),e.xp6(5),e.Q6J("titleTemplate",g)("template",_),e.xp6(5),e.Q6J("title","Progresso")("width",200)("template",h)}},dependencies:[f.M,b.a,A.b,X.l,y.F,Y.R,le.C]})}return o})();const On=["accordionUser"];function Cn(o,l){}function In(o,l){1&o&&e._UZ(0,"plano-trabalho-entrega-atividades",29),2&o&&e.Q6J("entregaId",l.row.id)}function Pn(o,l){1&o&&(e.TgZ(0,"div",30)(1,"span")(2,"strong"),e._uU(3,"Plano de trabalho"),e.qZA()()())}function Zn(o,l){if(1&o&&(e.TgZ(0,"span",31),e._uU(1),e._UZ(2,"br"),e._uU(3),e.qZA()),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.xp6(1),e.hij("",a.PlanoTrabalhoDao.getDateFormatted(t.data_inicio)," "),e.xp6(2),e.Oqu(" at\xe9 "+a.PlanoTrabalhoDao.getDateFormatted(t.data_fim))}}function Dn(o,l){1&o&&(e.TgZ(0,"div",30)(1,"span")(2,"strong"),e._uU(3,"Origem"),e.qZA()()())}function xn(o,l){if(1&o&&e._UZ(0,"badge",37),2&o){const t=e.oxw().row,a=e.oxw(3);e.Q6J("label",(null==t.plano_entrega_entrega||null==t.plano_entrega_entrega.plano_entrega||null==t.plano_entrega_entrega.plano_entrega.unidade?null:t.plano_entrega_entrega.plano_entrega.unidade.sigla)||"Desconhecido")("icon",a.entityService.getIcon("Unidade"))}}function Nn(o,l){if(1&o&&e._UZ(0,"badge",38),2&o){const t=e.oxw().row;e.Q6J("label",t.orgao)}}function yn(o,l){if(1&o&&(e.TgZ(0,"div",32)(1,"div",33),e._UZ(2,"badge",34),e.YNc(3,xn,1,2,"badge",35),e.YNc(4,Nn,1,1,"badge",36),e.qZA()()),2&o){const t=l.row,a=e.oxw(3);e.xp6(2),e.Q6J("label",a.planoTrabalhoService.tipoEntrega(t,a.entity).titulo)("color",a.planoTrabalhoService.tipoEntrega(t,a.entity).cor),e.xp6(1),e.Q6J("ngIf",null==t.plano_entrega_entrega_id?null:t.plano_entrega_entrega_id.length),e.xp6(1),e.Q6J("ngIf",null==t.orgao?null:t.orgao.length)}}function Un(o,l){if(1&o&&(e.TgZ(0,"div",30)(1,"small"),e._UZ(2,"badge",39),e.qZA()()),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.xp6(2),e.Q6J("color",100==a.totalForcaTrabalho(t.entregas)?"success":"warning")("label",a.totalForcaTrabalho(t.entregas)+"%")}}function Ln(o,l){if(1&o&&(e.TgZ(0,"small"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(t.forca_trabalho+"%")}}function wn(o,l){1&o&&(e.TgZ(0,"div",30)(1,"span")(2,"strong"),e._uU(3,"Detalhamento/Descri\xe7\xe3o dos Trabalhos"),e.qZA()()())}function qn(o,l){if(1&o&&(e.TgZ(0,"small",30),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(t.descricao)}}function Qn(o,l){if(1&o&&e._UZ(0,"badge",40),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.Q6J("color",a.lookup.getColor(a.lookup.PLANO_TRABALHO_STATUS,t.status))("icon",a.lookup.getIcon(a.lookup.PLANO_TRABALHO_STATUS,t.status))("label",a.lookup.getValue(a.lookup.PLANO_TRABALHO_STATUS,t.status))}}function Rn(o,l){if(1&o&&(e.TgZ(0,"div",12)(1,"div",13)(2,"grid",14)(3,"columns")(4,"column",15),e.YNc(5,In,1,1,"ng-template",null,16,e.W1O),e.qZA(),e.TgZ(7,"column",17),e.YNc(8,Pn,4,0,"ng-template",null,18,e.W1O),e.YNc(10,Zn,4,2,"ng-template",null,19,e.W1O),e.qZA(),e.TgZ(12,"column",20),e.YNc(13,Dn,4,0,"ng-template",null,21,e.W1O),e.YNc(15,yn,5,4,"ng-template",null,22,e.W1O),e.qZA(),e.TgZ(17,"column",23),e.YNc(18,Un,3,2,"ng-template",null,9,e.W1O),e.YNc(20,Ln,2,1,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(22,"column",24),e.YNc(23,wn,4,0,"ng-template",null,25,e.W1O),e.YNc(25,qn,2,1,"ng-template",null,26,e.W1O),e.qZA(),e.TgZ(27,"column",27),e.YNc(28,Qn,1,3,"ng-template",null,28,e.W1O),e.qZA()()()()()),2&o){const t=l.$implicit,a=e.MAs(6),n=e.MAs(9),i=e.MAs(11),s=e.MAs(14),g=e.MAs(16),_=e.MAs(19),h=e.MAs(21),v=e.MAs(24),M=e.MAs(26),Q=e.MAs(29);e.xp6(2),e.Q6J("items",t.entregas),e.xp6(2),e.Akn("vertical-align:middle"),e.Q6J("expandTemplate",a),e.xp6(3),e.Q6J("template",i)("titleTemplate",n),e.xp6(5),e.Q6J("titleTemplate",s)("template",g)("verticalAlign","middle")("width",300)("align","center"),e.xp6(5),e.Q6J("titleTemplate",_)("title","% CHD")("template",h)("width",125)("align","center")("titleHint","% Carga Hor\xe1ria Dispon\xedvel"),e.xp6(5),e.Q6J("maxWidth",250)("titleTemplate",v)("template",M)("verticalAlign","middle")("align","center"),e.xp6(5),e.Q6J("template",Q)}}function Jn(o,l){if(1&o&&(e.TgZ(0,"h5"),e._uU(1,"Entregas do plano:"),e.qZA(),e._UZ(2,"hr"),e.YNc(3,Rn,30,23,"div",11)),2&o){const t=l.row;e.xp6(3),e.Q6J("ngForOf",t.planos_trabalho)}}function Mn(o,l){1&o&&(e.TgZ(0,"b"),e._uU(1,"Participante"),e.qZA())}function Sn(o,l){if(1&o&&(e.TgZ(0,"b"),e._uU(1),e.qZA(),e._UZ(2,"br"),e.TgZ(3,"small"),e._uU(4),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(t.nome),e.xp6(3),e.Oqu(t.apelido||"")}}function Vn(o,l){}function zn(o,l){if(1&o&&(e.TgZ(0,"small"),e._UZ(1,"badge",39),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Q6J("color",100==a.totalForcaTrabalho(a.planoAtivo(t.planos_trabalho).entregas)?"success":"warning")("label",a.totalForcaTrabalho(a.planoAtivo(t.planos_trabalho).entregas)+"%")}}let jn=(()=>{class o extends k.D{set entregaId(t){this._entregaId!=t&&(this._entregaId=t)}get entregaId(){return this._entregaId}constructor(t){super(t),this.injector=t,this.items=[],this.loader=!1,this.PlanoTrabalhoDao=t.get(gn.t),this.PlanoTrabalhoEntregaDao=t.get(_n.w),this.planoTrabalhoService=t.get(pn.p),this.join=["plano_trabalho.usuario","plano_entrega_entrega.plano_entrega.unidade"],this.groupBy=[{field:"plano_trabalho.usuario",label:"Usu\xe1rio"}]}ngOnInit(){super.ngOnInit(),this.loadData()}loadData(){this.loader=!0,this.cdRef.detectChanges();try{this.PlanoTrabalhoEntregaDao.query({where:[["plano_entrega_entrega_id","==",this._entregaId],["planoTrabalho.status","in",["ATIVO","CONCLUIDO","AVALIADO"]]],join:this.join}).asPromise().then(t=>{t.forEach(a=>{const n=a.plano_trabalho.usuario;if(n){const i=n.id;let s=this.items.find(v=>v.id===i);s||(s={...n,planos_trabalho:[],initialization(v){}},this.items.push(s));const g=a.plano_trabalho.id;let _=s.planos_trabalho.find(v=>v.id===g);_||(_={...a.plano_trabalho,entregas:[],initialization(v){}},s.planos_trabalho.push(_));const h={...a,initialization(v){}};_.entregas.push(h)}})}).finally(()=>{this.loader=!1,this.cdRef.detectChanges()})}catch{console.log("Erro")}}totalForcaTrabalho(t=[]){const a=t.map(n=>1*n.forca_trabalho).reduce((n,i)=>n+i,0);return Math.round(100*a)/100}planoAtivo(t){return t.find(n=>"ATIVO"===n.status)||{}}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-entregas-plano-trabalho"]],viewQuery:function(a,n){if(1&a&&e.Gf(On,5),2&a){let i;e.iGM(i=e.CRH())&&(n.accordionUser=i.first)}},inputs:{entregaId:"entregaId"},features:[e.qOj],decls:18,vars:11,consts:[[3,"items","loading"],["accordionUser",""],["type","expand",3,"expandTemplate","template","width"],["usuarioSectionTitle",""],["columnExpandeEntregas",""],[3,"titleTemplate","template"],["titleParticipante",""],["columnParticipante",""],[3,"titleTemplate","template","title","titleHint"],["titleForcaTrabalho",""],["columnForcaTrabalho",""],["class","card mb-2",4,"ngFor","ngForOf"],[1,"card","mb-2"],[1,"card-body"],[3,"items"],["type","expand",3,"expandTemplate"],["columnExpandedAtividades",""],[3,"template","titleTemplate"],["titlePlano",""],["columnPlano",""],[3,"titleTemplate","template","verticalAlign","width","align"],["titleOrigem",""],["columnOrigem",""],[3,"titleTemplate","title","template","width","align","titleHint"],[3,"maxWidth","titleTemplate","template","verticalAlign","align"],["titleDescricao",""],["columnDescricao",""],["title","Status",3,"template"],["columnStatus",""],[3,"entregaId"],[1,"text-center"],[1,"d-block","text-center"],[1,"w-100","d-flex","justify-content-center"],[1,"one-per-line"],[3,"label","color"],["color","primary",3,"label","icon",4,"ngIf"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label",4,"ngIf"],["color","primary",3,"label","icon"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label"],["icon","bi bi-calculator",3,"color","label"],[3,"color","icon","label"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0,1)(2,"columns")(3,"column",2),e.YNc(4,Cn,0,0,"ng-template",null,3,e.W1O),e.YNc(6,Jn,4,1,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(8,"column",5),e.YNc(9,Mn,2,0,"ng-template",null,6,e.W1O),e.YNc(11,Sn,5,2,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(13,"column",8),e.YNc(14,Vn,0,0,"ng-template",null,9,e.W1O),e.YNc(16,zn,2,2,"ng-template",null,10,e.W1O),e.qZA()()()),2&a){const i=e.MAs(5),s=e.MAs(7),g=e.MAs(10),_=e.MAs(12),h=e.MAs(15),v=e.MAs(17);e.Q6J("items",n.items)("loading",n.loader),e.xp6(3),e.Q6J("expandTemplate",s)("template",i)("width",40),e.xp6(5),e.Q6J("titleTemplate",g)("template",_),e.xp6(5),e.Q6J("titleTemplate",h)("template",v)("title","% CHD")("titleHint","% Carga Hor\xe1ria Dispon\xedvel")}},dependencies:[O.sg,O.O5,f.M,b.a,A.b,y.F,Tn]})}return o})();var Te=r(5471),Gn=r(9838);function Fn(o,l){if(1&o&&e._UZ(0,"badge",8),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",null==t.data||null==t.data.unidade?null:t.data.unidade.sigla)}}function kn(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"div",4),e._uU(1),e.qZA(),e.YNc(2,Fn,1,2,"badge",5),e._UZ(3,"br"),e.TgZ(4,"button",6),e.NdJ("click",function(){const i=e.CHM(t).$implicit,s=e.oxw(2);return e.KtG(s.showDetalhes(i.data))}),e._UZ(5,"i",7),e.qZA()}if(2&o){const t=l.$implicit;e.xp6(1),e.Oqu(t.label),e.xp6(1),e.Q6J("ngIf",null==t.data?null:t.data.unidade)}}function Bn(o,l){if(1&o&&(e.TgZ(0,"p-organizationChart",2),e.YNc(1,kn,6,2,"ng-template",3),e.qZA()),2&o){const t=e.oxw();e.Q6J("value",t.entregasVinculadas)}}function Yn(o,l){1&o&&(e.TgZ(0,"div",9)(1,"div",10),e._UZ(2,"span",11),e.qZA()())}let Hn=(()=>{class o extends k.D{set entregaId(t){this._entregaId!=t&&(this._entregaId=t)}get entregaId(){return this._entregaId}constructor(t){super(t),this.injector=t,this.loader=!1,this.entregasVinculadas=[],this.planoEntregaEntregaDao=t.get(L.K),this.join=["unidade"]}ngOnInit(){super.ngOnInit(),this.loadData()}loadData(){var t=this;return(0,u.Z)(function*(){t.loader=!0;try{t.entregasVinculadas=yield t.planoEntregaEntregaDao.hierarquia(t._entregaId),t.cdRef.detectChanges(),t.loader=!1}catch{console.log("Erro")}})()}showDetalhes(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega",t.id,"detalhes"]},{metadata:{entrega:t}})})()}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-entregas-vinculadas"]],inputs:{entregaId:"entregaId"},features:[e.qOj],decls:2,vars:2,consts:[[3,"value",4,"ngIf"],["class","d-flex justify-content-center my-2",4,"ngIf"],[3,"value"],["pTemplate","default"],[1,"p-2"],["color","light",3,"icon","label",4,"ngIf"],["title","Detalhes da entrega",1,"btn","btn-sm",3,"click"],[1,"bi","bi-eye"],["color","light",3,"icon","label"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"]],template:function(a,n){1&a&&(e.YNc(0,Bn,2,1,"p-organizationChart",0),e.YNc(1,Yn,3,0,"div",1)),2&a&&(e.Q6J("ngIf",n.entregasVinculadas.length),e.xp6(1),e.Q6J("ngIf",n.loader))},dependencies:[O.O5,y.F,Te.OE,Gn.jx]})}return o})();function Wn(o,l){1&o&&e._UZ(0,"badge",19),2&o&&e.Q6J("lookup",l.$implicit)}function Kn(o,l){if(1&o&&e._UZ(0,"badge",20),2&o){const t=e.oxw(2);e.Q6J("icon",t.entityService.getIcon("Unidade"))("label",null==t.entrega||null==t.entrega.unidade?null:t.entrega.unidade.sigla)}}function Xn(o,l){if(1&o&&e._UZ(0,"badge",21),2&o){const t=e.oxw(2);e.Q6J("label",null==t.entrega?null:t.entrega.destinatario)}}function $n(o,l){if(1&o&&(e.TgZ(0,"div",22)(1,"div")(2,"b"),e._uU(3,"Planejada"),e.qZA(),e._UZ(4,"br")(5,"badge",23),e.qZA(),e._UZ(6,"div",24),e.TgZ(7,"div")(8,"b"),e._uU(9,"Executada"),e.qZA(),e._UZ(10,"br")(11,"badge",25),e.qZA()()),2&o){const t=e.oxw(2);e.xp6(5),e.Q6J("textValue",t.planoEntregaService.getValorMeta(t.entrega)),e.xp6(6),e.Q6J("textValue",t.planoEntregaService.getValorRealizado(t.entrega))}}function eo(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"div",33)(1,"small"),e._uU(2),e.qZA(),e.TgZ(3,"button",34),e.NdJ("click",function(){e.CHM(t);const n=e.oxw().$implicit,i=e.oxw(3);return e.KtG(i.showPlanejamento(n.objetivo.id))}),e._UZ(4,"i",35),e.qZA()()}if(2&o){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(t.objetivo.nome)}}function to(o,l){if(1&o&&(e.TgZ(0,"li",31),e.YNc(1,eo,5,1,"div",32),e.qZA()),2&o){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf",t.objetivo)}}function ao(o,l){if(1&o&&(e.TgZ(0,"div",26)(1,"h5",27),e._uU(2),e.qZA(),e.TgZ(3,"div",28)(4,"ul",29),e.YNc(5,to,2,1,"li",30),e.qZA()()()),2&o){const t=e.oxw(2);e.xp6(2),e.Oqu(t.lex.translate("Objetivos")),e.xp6(3),e.Q6J("ngForOf",null==t.entrega?null:t.entrega.objetivos)}}function no(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"div",33)(1,"small"),e._uU(2),e.qZA(),e.TgZ(3,"button",34),e.NdJ("click",function(){e.CHM(t);const n=e.oxw().$implicit,i=e.oxw(3);return e.KtG(i.showCadeiaValor(n.processo.id))}),e._UZ(4,"i",35),e.qZA()()}if(2&o){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(t.processo.nome)}}function oo(o,l){if(1&o&&(e.TgZ(0,"li",31),e.YNc(1,no,5,1,"div",32),e.qZA()),2&o){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf",t.processo)}}function io(o,l){if(1&o&&(e.TgZ(0,"div",26)(1,"h5",27),e._uU(2),e.qZA(),e.TgZ(3,"div",28)(4,"ul",29),e.YNc(5,oo,2,1,"li",30),e.qZA()()()),2&o){const t=e.oxw(2);e.xp6(2),e.Oqu(t.lex.translate("Processos")),e.xp6(3),e.Q6J("ngForOf",null==t.entrega?null:t.entrega.processos)}}function lo(o,l){if(1&o&&(e.TgZ(0,"div",8)(1,"div",9),e.YNc(2,Wn,1,1,"badge",10),e.qZA(),e.TgZ(3,"h5"),e._uU(4),e.qZA(),e.TgZ(5,"small"),e._uU(6),e.qZA(),e._UZ(7,"hr"),e.TgZ(8,"p"),e._uU(9,"Per\xedodo: "),e.TgZ(10,"small"),e._uU(11),e.qZA()(),e.TgZ(12,"div",11)(13,"p",12),e._uU(14,"Demandante: "),e.YNc(15,Kn,1,2,"badge",13),e.qZA(),e.TgZ(16,"p"),e._uU(17,"Destinat\xe1rio: "),e.YNc(18,Xn,1,1,"badge",14),e.qZA()(),e.TgZ(19,"h5",15),e._uU(20),e.qZA(),e.TgZ(21,"small",16),e._uU(22),e.qZA(),e.YNc(23,$n,12,2,"div",17),e.YNc(24,ao,6,2,"div",18),e.YNc(25,io,6,2,"div",18),e.qZA()),2&o){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",null==t.entrega?null:t.entrega.etiquetas),e.xp6(2),e.Oqu(null==t.entrega?null:t.entrega.descricao),e.xp6(2),e.Oqu(null==t.entrega?null:t.entrega.descricao_entrega),e.xp6(5),e.AsE("",t.planoEntregaEntregaDao.getDateFormatted(null==t.entrega?null:t.entrega.data_inicio)," at\xe9 ",t.planoEntregaEntregaDao.getDateFormatted(null==t.entrega?null:t.entrega.data_fim),""),e.xp6(4),e.Q6J("ngIf",null==t.entrega?null:t.entrega.unidade),e.xp6(3),e.Q6J("ngIf",null==t.entrega||null==t.entrega.destinatario?null:t.entrega.destinatario.length),e.xp6(2),e.Oqu(t.lex.translate("Meta")),e.xp6(2),e.Oqu(null==t.entrega?null:t.entrega.descricao_meta),e.xp6(1),e.Q6J("ngIf",t.entrega),e.xp6(1),e.Q6J("ngIf",null==t.entrega||null==t.entrega.objetivos?null:t.entrega.objetivos.length),e.xp6(1),e.Q6J("ngIf",null==t.entrega||null==t.entrega.processos?null:t.entrega.processos.length)}}function so(o,l){if(1&o&&(e.TgZ(0,"div",36),e._UZ(1,"plano-entrega-entregas-vinculadas",37),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("entregaId",t.entrega.id)}}function ro(o,l){if(1&o&&(e.TgZ(0,"div",38),e._UZ(1,"plano-entrega-entregas-plano-trabalho",37),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("entregaId",t.entrega.id)}}const uo=[{path:"",component:Nt,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Plano de Entregas"}},{path:"new",component:ee,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Plano de Entregas",modal:!0}},{path:":id/edit",component:ee,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Plano de Entregas",modal:!0}},{path:":id/consult",component:ee,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Plano de Entregas",modal:!0}},{path:":id/logs",component:Ga,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Logs de Altera\xe7\xf5es em Planos de Entregas",modal:!0}},{path:":planoEntregaId/avaliar",component:en.w,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Avaliar Plano de Entrega"}},{path:"entrega",component:be,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"entrega/:id/consult",component:be,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Consulta entrega do Plano de Entregas",modal:!0}},{path:"entrega/:id/detalhes",component:(()=>{class o extends k.D{constructor(t){super(t),this.injector=t,this.planoEntregaEntregaDao=t.get(L.K),this.planoEntregaService=t.get(c.f)}ngOnInit(){super.ngOnInit(),this.entrega=this.metadata?.entrega}showPlanejamento(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","objetivos",t]},{modal:!0})})()}showCadeiaValor(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","processos",t]},{modal:!0})})()}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-entrega-detalhes"]],features:[e.qOj],decls:8,vars:4,consts:[["right","",3,"title"],["detalhesEntrega",""],["key","INFOS","icon","bi bi-info-lg","label","Informa\xe7\xf5es"],["key","VINCULOS","icon","bi bi-arrow-down-up","label","V\xednculos"],["key","PARTICIPANTES","icon","bi bi-people","label","Participantes"],["class","","style","min-height: 400px;",4,"ngIf"],["style","min-height: 400px;",4,"ngIf"],["class","row","style","min-height: 400px;",4,"ngIf"],[1,"",2,"min-height","400px"],[1,"mb-2"],[3,"lookup",4,"ngFor","ngForOf"],[1,"d-flex"],[1,"me-2"],["color","light",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-mailbox",3,"label",4,"ngIf"],[1,"text-center"],[1,"d-block","text-center","mb-2"],["class","d-flex justify-content-center",4,"ngIf"],["class","mt-3",4,"ngIf"],[3,"lookup"],["color","light",3,"icon","label"],["color","light","icon","bi bi-mailbox",3,"label"],[1,"d-flex","justify-content-center"],["icon","bi bi-graph-up-arrow","color","light","hint","Planejada",3,"textValue"],[1,"vr","mx-5"],["icon","bi bi-check-lg","color","light","hint","Realizada",3,"textValue"],[1,"mt-3"],[1,"text-center","mb-2"],[1,"card"],[1,"list-group","list-group-flush"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"list-group-item"],["class","d-flex justify-content-between align-items-center",4,"ngIf"],[1,"d-flex","justify-content-between","align-items-center"],[1,"btn","btn-sm","btn-outline-info","me-2",3,"click"],[1,"bi","bi-eye"],[2,"min-height","400px"],[3,"entregaId"],[1,"row",2,"min-height","400px"]],template:function(a,n){if(1&a&&(e.TgZ(0,"tabs",0,1),e._UZ(2,"tab",2)(3,"tab",3)(4,"tab",4),e.qZA(),e.YNc(5,lo,26,12,"div",5),e.YNc(6,so,2,1,"div",6),e.YNc(7,ro,2,1,"div",7)),2&a){const i=e.MAs(1);e.Q6J("title",n.isModal?"":n.title),e.xp6(5),e.Q6J("ngIf","INFOS"==i.active),e.xp6(1),e.Q6J("ngIf","VINCULOS"==i.active&&n.entrega),e.xp6(1),e.Q6J("ngIf","PARTICIPANTES"==i.active&&n.entrega)}},dependencies:[O.sg,O.O5,_e.n,pe.i,y.F,jn,Hn]})}return o})(),canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Detalhes da entrega do Plano de Entregas",modal:!0}},{path:"entrega-list",component:$a,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"entrega/objetivos/:objetivo_id",component:ge,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"entrega/processos/:processo_id",component:ge,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"adesao",component:ta,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Ades\xe3o a Plano de Entregas",modal:!0}},{path:"entrega/progresso/:entrega_id",component:un,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Progressos da entrega do Plano de Entregas",modal:!0}},{path:"entrega/progresso/:entrega_id/new",component:Ae,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Progresso entrega do Plano de Entregas",modal:!0}},{path:"entrega/progresso/:entrega_id/:id/edit",component:Ae,canActivate:[E.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Progresso entrega do Plano de Entregas",modal:!0}}];let go=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#t=this.\u0275mod=e.oAB({type:o});static#a=this.\u0275inj=e.cJS({imports:[P.Bz.forChild(uo),P.Bz]})}return o})();var _o=r(7024),po=r(588),mo=r(2864);let ho=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#t=this.\u0275mod=e.oAB({type:o});static#a=this.\u0275inj=e.cJS({imports:[O.ez,R.K,go,_o.PlanejamentoModule,po.CadeiaValorModule,Te.lC,mo.UteisModule]})}return o})()},684:(ne,S,r)=>{r.d(S,{p:()=>N});var O=r(8239),R=r(3972),P=r(755),E=r(2333),C=r(9193),u=r(2307),f=r(9702),D=r(7744),I=r(1095),Z=r(9367);let N=(()=>{class w{constructor(d,c,p,T,e,b,A,m){this.auth=d,this.util=c,this.go=p,this.lookup=T,this.dao=e,this.avaliacaoDao=b,this.templateService=A,this.planoTrabalhoDao=m}template(d){return d.programa?.template_tcr}metadados(d){return{needSign:this.needSign.bind(this),extraTags:this.extraTags.bind(this),especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",dataset:this.planoTrabalhoDao.dataset(),datasource:this.planoTrabalhoDao.datasource(d),template:d.programa?.template_tcr,template_id:d.programa?.template_tcr_id}}needSign(d,c){const p=d,T=c||(p?.documentos||[]).find(e=>p?.documento_id?.length&&e.id==p?.documento_id)||p?.documento;if(d&&T&&!T.assinaturas?.find(e=>e.usuario_id==this.auth.usuario.id)){const e=p.tipo_modalidade,b=p.programa,A=this.auth.entidade;let m=[];return b?.plano_trabalho_assinatura_participante&&m.push(p.usuario_id),b?.plano_trabalho_assinatura_gestor_lotacao&&m.push(...this.auth.gestoresLotacao.map(x=>x.id)),b?.plano_trabalho_assinatura_gestor_unidade&&m.push(p.unidade?.gestor?.id||"",...p.unidade?.gestores_substitutos?.map(x=>x.id)||""),b?.plano_trabalho_assinatura_gestor_entidade&&m.push(A.gestor_id||"",A.gestor_substituto_id||""),!!e&&m.includes(this.auth.usuario.id)}return!1}extraTags(d,c,p){const T=d;let e=[];return T?.documento_id==c.id&&e.push({key:c.id,value:"Vigente",icon:"bi bi-check-all",color:"primary"}),JSON.stringify(p.tags)!=JSON.stringify(e)&&(p.tags=e),p.tags}tipoEntrega(d,c){let p=c||d.plano_trabalho,T=d.plano_entrega_entrega?.plano_entrega?.unidade_id==p.unidade_id?"PROPRIA_UNIDADE":d.plano_entrega_entrega?"OUTRA_UNIDADE":d.orgao?.length?"OUTRO_ORGAO":"SEM_ENTREGA",e=this.lookup.ORIGENS_ENTREGAS_PLANO_TRABALHO.find(m=>m.key==T)||{key:"",value:"Desconhecido1"};return{titulo:e.value,cor:e.color||"danger",nome:p?._metadata?.novaEntrega?.plano_entrega_entrega?.entrega?.nome||d.plano_entrega_entrega?.entrega?.nome||"Desconhecido2",tipo:T,descricao:p?._metadata?.novaEntrega?.plano_entrega_entrega?.descricao||d.plano_entrega_entrega?.descricao||""}}atualizarTcr(d,c,p,T){if(c.usuario&&c.unidade){let e=this.dao.datasource(d),b=this.dao.datasource(c),A=c.programa;if(b.usuario.texto_complementar_plano=p||c.usuario?.texto_complementar_plano||"",b.unidade.texto_complementar_plano=T||c.unidade?.texto_complementar_plano||"",(A?.termo_obrigatorio||c.documento_id?.length)&&JSON.stringify(b)!=JSON.stringify(e)&&A?.template_tcr){let m=c.documentos?.find(x=>x.id==c.documento_id);c.documento_id?.length&&m&&!m.assinaturas?.length&&"LINK"!=m.tipo?(m.conteudo=this.templateService.renderTemplate(A?.template_tcr?.conteudo||"",b),m.dataset=this.dao.dataset(),m.datasource=b,m._status="ADD"==m._status?"ADD":"EDIT"):(m=new R.U({id:this.dao?.generateUuid(),tipo:"HTML",especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",conteudo:this.templateService.renderTemplate(A?.template_tcr?.conteudo||"",b),status:"GERADO",_status:"ADD",template:A?.template_tcr?.conteudo,dataset:this.dao.dataset(),datasource:b,entidade_id:this.auth.entidade?.id,plano_trabalho_id:c.id,template_id:A?.template_tcr_id}),c.documentos.push(m)),c.documento=m,c.documento_id=m?.id||null}}return c.documento}situacaoPlano(d){return d.deleted_at?"EXCLUIDO":d.data_arquivamento?"ARQUIVADO":d.status}isValido(d){return!d.deleted_at&&"CANCELADO"!=d.status&&!d.data_arquivamento}estaVigente(d){let c=new Date;return"ATIVO"==d.status&&d.data_inicio<=c&&d.data_fim>=c}diasParaConcluirConsolidacao(d,c){return d&&c?this.util.daystamp(d.data_fim)+c.dias_tolerancia_avaliacao-this.util.daystamp(this.auth.hora):-1}avaliar(d,c,p){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",d.id,"avaliar"]},{modal:!0,metadata:{consolidacao:d,programa:c},modalClose:T=>{T&&(d.status="AVALIADO",d.avaliacao_id=T.id,d.avaliacao=T,p(d))}})}visualizarAvaliacao(d){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",d.id,"verAvaliacoes"]},{modal:!0,metadata:{consolidacao:d}})}fazerRecurso(d,c,p){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",d.id,"recurso"]},{modal:!0,metadata:{recurso:!0,consolidacao:d,programa:c},modalClose:T=>{T&&(d.avaliacao=T,p(d))}})}cancelarAvaliacao(d,c,p){var T=this;return(0,O.Z)(function*(){c.submitting=!0;try{(yield T.avaliacaoDao.cancelarAvaliacao(d.avaliacao.id))&&(d.status="CONCLUIDO",d.avaliacao_id=null,d.avaliacao=void 0,p(d))}catch(e){c.error(e.message||e)}finally{c.submitting=!1}})()}usuarioAssinou(d,c){return c=c||this.auth.usuario.id,Object.values(d).some(p=>(p||[]).includes(c))}assinaturasFaltantes(d,c){return{participante:d.participante.filter(p=>!c.participante.includes(p)),gestores_unidade_executora:d.gestores_unidade_executora.length?d.gestores_unidade_executora.filter(p=>c.gestores_unidade_executora.includes(p)).length?[]:d.gestores_unidade_executora:[],gestores_unidade_lotacao:d.gestores_unidade_lotacao.length?d.gestores_unidade_lotacao.filter(p=>c.gestores_unidade_lotacao.includes(p)).length?[]:d.gestores_unidade_lotacao:[],gestores_entidade:d.gestores_entidade.length?d.gestores_entidade.filter(p=>c.gestores_entidade.includes(p)).length?[]:d.gestores_entidade:[]}}static#e=this.\u0275fac=function(c){return new(c||w)(P.LFG(E.e),P.LFG(C.f),P.LFG(u.o),P.LFG(f.W),P.LFG(D.t),P.LFG(I.w),P.LFG(Z.E),P.LFG(D.t))};static#t=this.\u0275prov=P.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()}}]); \ No newline at end of file +"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[837],{1095:(oe,S,r)=>{r.d(S,{w:()=>P});var O=r(6976),R=r(755);let P=(()=>{class b extends O.B{constructor(u){super("Avaliacao",u),this.injector=u,this.inputSearchConfig.searchFields=[]}cancelarAvaliacao(u){return new Promise((f,D)=>{this.server.post("api/"+this.collection+"/cancelar-avaliacao",{id:u}).subscribe(I=>{I?.error?D(I?.error):f(!0)},I=>D(I))})}recorrer(u,f){return new Promise((D,I)=>{this.server.post("api/"+this.collection+"/recorrer",{id:u.id,recurso:f}).subscribe(Z=>{Z?.error?I(Z?.error):(u.recurso=f,D(!0))},Z=>I(Z))})}static#e=this.\u0275fac=function(f){return new(f||b)(R.LFG(R.zs3))};static#t=this.\u0275prov=R.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},2837:(oe,S,r)=>{r.r(S),r.d(S,{PlanoEntregaModule:()=>fo});var O=r(6733),R=r(2662),P=r(5579),b=r(1391),C=r(2314),u=r(8239),f=r(3150),D=r(9520),I=r(5458),Z=r(9190),N=r(1214),w=r(4368);class V extends w.X{constructor(l){super(),this.entregas=[],this.status_historico=[],this.data_inicio=new Date,this.data_fim=null,this.nome="",this.metadados=void 0,this.arquivar=!1,this.status="INCLUIDO",this.avaliacoes=[],this.unidade_id="",this.avaliacao_id=null,this.plano_entrega_id=null,this.planejamento_id=null,this.cadeia_valor_id=null,this.programa_id=null,this.initialization(l)}}var d=r(8509),c=r(7447),p=r(1095),A=r(609),T=r(4554),e=r(755),E=r(7224),m=r(3351),x=r(7765),z=r(5512),j=r(2704),ie=r(8820),J=r(8967),G=r(2392),q=r(4495),F=r(4603),$=r(1915),y=r(5489),Ie=r(6486),U=r(4040),L=r(1021),k=r(2398),B=r(6298),le=r(7819),Y=r(5560),H=r(9756),W=r(9224),se=r(4792),Pe=r(1419);function Ze(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-number",3),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onValueChange(n))}),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("disabled",t.disabled)("icon",t.icon)("label",t.label||"Porcentagem")("control",t.control)("labelInfo",t.labelInfo)}}function De(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-number",4),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onValueChange(n))}),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("disabled",t.disabled)("icon",t.icon)("label",t.label||"Num\xe9rico")("control",t.control)("labelInfo",t.labelInfo)}}const xe=function(){return[]};function Ne(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-select",5),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onValueChange(n))}),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("disabled",t.disabled)("icon",t.icon)("label",t.label||"Qualitativo")("control",t.control)("items",(null==t.entrega?null:t.entrega.lista_qualitativos)||e.DdM(6,xe))("labelInfo",t.labelInfo)}}const ye=function(){return["PORCENTAGEM"]},Ue=function(){return["QUANTIDADE","VALOR"]},Le=function(){return["QUALITATIVO"]};let ee=(()=>{class o{constructor(){this.class="form-group",this.icon="",this.labelInfo="",this._size=0}set size(t){t!=this._size&&(this._size=t,this.class=this.class.replace(/\scol\-md\-[0-9]+/g,"")+" col-md-"+t)}get size(){return this._size||12}checkTipoIndicador(t){return t.includes(this.entrega?.tipo_indicador||"")}onValueChange(t){this.change&&this.change(this.control?.value,this.entrega)}static#e=this.\u0275fac=function(a){return new(a||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-valor-meta-input"]],hostVars:2,hostBindings:function(a,n){2&a&&e.Tol(n.class)},inputs:{entrega:"entrega",icon:"icon",label:"label",labelInfo:"labelInfo",disabled:"disabled",control:"control",change:"change",size:"size"},decls:3,vars:6,consts:[["sufix","%","required","",3,"disabled","icon","label","control","labelInfo","change",4,"ngIf"],["required","",3,"disabled","icon","label","control","labelInfo","change",4,"ngIf"],["required","",3,"disabled","icon","label","control","items","labelInfo","change",4,"ngIf"],["sufix","%","required","",3,"disabled","icon","label","control","labelInfo","change"],["required","",3,"disabled","icon","label","control","labelInfo","change"],["required","",3,"disabled","icon","label","control","items","labelInfo","change"]],template:function(a,n){1&a&&(e.YNc(0,Ze,1,5,"input-number",0),e.YNc(1,De,1,5,"input-number",1),e.YNc(2,Ne,1,7,"input-select",2)),2&a&&(e.Q6J("ngIf",n.checkTipoIndicador(e.DdM(3,ye))),e.xp6(1),e.Q6J("ngIf",n.checkTipoIndicador(e.DdM(4,Ue))),e.xp6(1),e.Q6J("ngIf",n.checkTipoIndicador(e.DdM(5,Le))))},dependencies:[O.O5,F.p,W.l]})}return o})();const we=["etiqueta"];function qe(o,l){if(1&o&&(e.TgZ(0,"strong",14),e._uU(1,"Entregas: "),e.qZA(),e.TgZ(2,"span",15),e._UZ(3,"badge",16),e.qZA()),2&o){const t=l.separator;e.xp6(3),e.Q6J("label",null==t?null:t.text)}}function Qe(o,l){if(1&o&&e._UZ(0,"badge",21),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",t.unidade.sigla)}}function Re(o,l){if(1&o&&e._UZ(0,"badge",22),2&o){const t=e.oxw().row;e.Q6J("label",t.destinatario)}}function Je(o,l){if(1&o&&e._UZ(0,"reaction",23),2&o){const t=e.oxw().row;e.Q6J("entity",t)}}function Me(o,l){if(1&o&&(e.TgZ(0,"h6"),e._uU(1),e.qZA(),e.TgZ(2,"span",17),e.YNc(3,Qe,1,2,"badge",18),e.YNc(4,Re,1,1,"badge",19),e.qZA(),e.YNc(5,Je,1,1,"reaction",20)),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Oqu(t.descricao),e.xp6(2),e.Q6J("ngIf",t.unidade),e.xp6(1),e.Q6J("ngIf",null==t.destinatario?null:t.destinatario.length),e.xp6(1),e.Q6J("ngIf",a.execucao)}}function Se(o,l){1&o&&e._UZ(0,"badge",25),2&o&&e.Q6J("lookup",l.$implicit)}function Ve(o,l){1&o&&e.YNc(0,Se,1,1,"badge",24),2&o&&e.Q6J("ngForOf",l.row.etiquetas)}function ze(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-multiselect",26)(1,"input-select",27,28),e.NdJ("details",function(){e.CHM(t);const n=e.oxw();return e.KtG(n.onEtiquetaConfigClick())}),e.qZA()()}if(2&o){const t=e.oxw();e.Q6J("size",12)("control",t.formEdit.controls.etiquetas)("addItemHandle",t.addItemHandleEtiquetas.bind(t)),e.xp6(1),e.Q6J("size",12)("control",t.formEdit.controls.etiqueta)("items",t.etiquetas)}}function je(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function Ge(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function Fe(o,l){if(1&o&&(e.YNc(0,je,2,1,"span",29),e._UZ(1,"br"),e.YNc(2,Ge,2,1,"span",29)),2&o){const t=l.row;e.Q6J("ngIf",t.data_inicio),e.xp6(2),e.Q6J("ngIf",t.data_fim)}}function ke(o,l){if(1&o&&e._UZ(0,"badge",30)(1,"br")(2,"badge",31),2&o){const t=l.row,a=e.oxw();e.Q6J("textValue",a.planoEntregaService.getValorMeta(t)),e.xp6(2),e.Q6J("textValue",a.planoEntregaService.getValorRealizado(t))}}function Be(o,l){if(1&o&&e._UZ(0,"plano-entrega-valor-meta-input",32)(1,"plano-entrega-valor-meta-input",33),2&o){const t=l.row,a=e.oxw();e.Q6J("entrega",t.entrega)("size",6)("control",a.form.controls.meta),e.xp6(1),e.Q6J("entrega",t.entrega)("size",6)("control",a.form.controls.realizado)("change",a.onRealizadaChange.bind(a))}}function Ye(o,l){1&o&&e._UZ(0,"i",42)}function He(o,l){if(1&o&&(e.TgZ(0,"tr")(1,"td"),e.YNc(2,Ye,1,0,"i",40),e.qZA(),e.TgZ(3,"td",41),e._uU(4),e.qZA()()),2&o){const t=l.$implicit;e.xp6(2),e.Q6J("ngIf",t.checked),e.xp6(2),e.Oqu(t.texto)}}function We(o,l){if(1&o&&(e.TgZ(0,"table"),e.YNc(1,He,5,2,"tr",39),e.qZA()),2&o){const t=e.oxw(2).row;e.xp6(1),e.Q6J("ngForOf",t.checklist)}}function Ke(o,l){if(1&o&&(e.TgZ(0,"separator",38),e.YNc(1,We,2,1,"table",29),e.qZA()),2&o){const t=e.oxw().row;e.Q6J("collapsed",!0),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function Xe(o,l){if(1&o&&(e._UZ(0,"progress-bar",36),e.YNc(1,Ke,2,2,"separator",37)),2&o){const t=l.row;e.Q6J("value",t.progresso_realizado)("goal",t.progresso_esperado),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function $e(o,l){1&o&&e._UZ(0,"separator",45)}function et(o,l){if(1&o&&(e.TgZ(0,"tr")(1,"td"),e._UZ(2,"input-switch",46),e.qZA(),e.TgZ(3,"td",41),e._uU(4),e.qZA()()),2&o){const t=l.$implicit,a=l.index,n=e.oxw(4);e.xp6(2),e.Q6J("size",12)("source",n.checklist)("path",a+".checked"),e.xp6(2),e.Oqu(t.texto)}}function tt(o,l){if(1&o&&(e.TgZ(0,"table"),e.YNc(1,et,5,4,"tr",39),e.qZA()),2&o){const t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.checklist)}}function at(o,l){if(1&o&&(e._UZ(0,"input-number",43),e.YNc(1,$e,1,0,"separator",44),e.YNc(2,tt,2,1,"table",29)),2&o){const t=l.row,a=e.oxw(2);e.Q6J("size",12)("control",a.formEdit.controls.progresso_realizado),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length),e.xp6(1),e.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function nt(o,l){if(1&o&&(e.TgZ(0,"column",4),e.YNc(1,Xe,2,3,"ng-template",null,34,e.W1O),e.YNc(3,at,3,4,"ng-template",null,35,e.W1O),e.qZA()),2&o){const t=e.MAs(2),a=e.MAs(4),n=e.oxw();e.Q6J("title","Progresso\nChecklist")("width",200)("template",t)("editTemplate",t)("columnEditTemplate",n.selectable?void 0:a)("edit",n.selectable?void 0:n.onColumnChecklistEdit.bind(n))("save",n.selectable?void 0:n.onColumnChecklistSave.bind(n))}}function ot(o,l){if(1&o&&e._UZ(0,"badge",49),2&o){const t=e.oxw().row;e.Q6J("label",null==t.entrega?null:t.entrega.nome)}}function it(o,l){if(1&o&&(e.YNc(0,ot,1,1,"badge",47),e._UZ(1,"comentarios-widget",48)),2&o){const t=l.row,a=e.oxw();e.Q6J("ngIf",t.entrega),e.xp6(1),e.Q6J("entity",t)("selectable",!a.execucao||!(null==a.grid||!a.grid.editing))("grid",a.grid)("save",a.refreshComentarios.bind(a))}}let re=(()=>{class o extends B.D{set noPersist(t){super.noPersist=t}get noPersist(){return super.noPersist}set control(t){super.control=t}get control(){return super.control}set entity(t){super.entity=t}get entity(){return super.entity}set planejamentoId(t){this._planejamentoId!=t&&(this._planejamentoId=t)}get planejamentoId(){return this._planejamentoId}set cadeiaValorId(t){this._cadeiaValorId!=t&&(this._cadeiaValorId=t)}get cadeiaValorId(){return this._cadeiaValorId}set unidadeId(t){this._unidadeId!=t&&(this._unidadeId=t)}get unidadeId(){return this._unidadeId}set dataFim(t){this._dataFim!=t&&(this._dataFim=t)}get dataFim(){return this._dataFim}get items(){return this.gridControl.value||this.gridControl.setValue([]),this.gridControl.value}constructor(t){super(t),this.injector=t,this.disabled=!1,this.execucao=!1,this.entityToControl=a=>a.entregas||[],this.options=[],this.planoEntregaId="",this.etiquetas=[],this.etiquetasAscendentes=[],this.selectable=!1,this.validate=(a,n)=>{let i=null;return["nome"].indexOf(n)>=0&&!a.value?.length&&(i="Obrigat\xf3rio"),i},this.filterWhere=a=>{let n=[];return n.push(["plano_entrega_id","==",this.planoEntregaId]),n},this.title=this.lex.translate("Entregas"),this.join=["unidade","entrega","reacoes.usuario:id,nome,apelido"],this.code="MOD_PENT",this.cdRef=t.get(e.sBO),this.dao=t.get(L.K),this.unidadeDao=t.get(N.J),this.planoEntregaService=t.get(c.f),this.form=this.fh.FormBuilder({descricao:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},meta:{default:""},realizado:{default:null},entrega_id:{default:null},unidade_id:{default:null},progresso_esperado:{default:null},progresso_realizado:{default:null},destinatario:{default:null},etiquetas:{default:[]}},this.cdRef,this.validate),this.formEdit=this.fh.FormBuilder({progresso_realizado:{default:0},etiquetas:{default:[]},etiqueta:{default:null}}),this.addOption(Object.assign({onClick:this.consult.bind(this)},this.OPTION_INFORMACOES),"MOD_PENT"),this.addOption(Object.assign({onClick:this.delete.bind(this)},this.OPTION_EXCLUIR),"MOD_PENT_ENTR_EXCL"),this.addOption(Object.assign({onClick:this.showLogs.bind(this)},this.OPTION_LOGS),"MOD_AUDIT_LOG")}ngOnInit(){super.ngOnInit(),this.planoEntregaId=this.urlParams.get("id")||""}get isDisabled(){return this.formDisabled||this.disabled}add(){var t=this;return(0,u.Z)(function*(){let a=new k.O({_status:"ADD",id:t.dao.generateUuid(),plano_entrega_id:t.entity?.id});var n;t.go.navigate({route:["gestao","plano-entrega","entrega"]},{metadata:{plano_entrega:t.entity,planejamento_id:t.planejamentoId,cadeia_valor_id:t.cadeiaValorId,unidade_id:t.unidadeId,data_fim:t.dataFim,entrega:a},modalClose:(n=(0,u.Z)(function*(i){if(i)try{t.items.push(t.isNoPersist?i:yield t.dao.save(i,t.join)),t.cdRef.detectChanges()}catch(s){t.error(s?.error||s?.message||s)}}),function(s){return n.apply(this,arguments)})})})()}dynamicOptions(t){return this.execucao||this.isDisabled?[]:this.options}dynamicButtons(t){const a=[];return this.isDisabled&&a.push(Object.assign({onClick:this.consult.bind(this)},this.OPTION_INFORMACOES)),this.execucao&&a.push({label:"Hist\xf3rico de execu\xe7\xe3o",icon:"bi bi-activity",color:"btn-outline-info",onClick:this.showProgresso.bind(this)}),a.push({label:"Detalhes",icon:"bi bi-eye",color:"btn-outline-success",onClick:this.showDetalhes.bind(this)}),a}edit(t){var a=this;return(0,u.Z)(function*(){if(a.execucao)a.grid.edit(t);else{t._status="ADD"==t._status?"ADD":"EDIT";let n=a.items.indexOf(t);a.go.navigate({route:["gestao","plano-entrega","entrega"]},{metadata:{plano_entrega:a.entity,planejamento_id:a.planejamentoId,cadeia_valor_id:a.cadeiaValorId,unidade_id:a.unidadeId,entrega:t},modalClose:(i=(0,u.Z)(function*(s){s&&(a.isNoPersist||(yield a.dao?.save(s)),a.items[n]=s)}),function(g){return i.apply(this,arguments)})})}var i})()}load(t,a){var n=this;return(0,u.Z)(function*(){n.form.patchValue(a),n.form.controls.meta.setValue(n.planoEntregaService.getValor(a.meta)),n.form.controls.realizado.setValue(n.planoEntregaService.getValor(a.realizado)),n.cdRef.detectChanges()})()}save(t,a){var n=this;return(0,u.Z)(function*(){let i;if(n.form.markAllAsTouched(),t.valid){n.submitting=!0;try{i=yield n.dao?.update(a.id,{realizado:n.planoEntregaService.getEntregaValor(a.entrega,t.controls.realizado.value),progresso_realizado:t.controls.progresso_realizado.value},n.join)}finally{n.submitting=!1}}return i})()}delete(t){var a=this;return(0,u.Z)(function*(){if(yield a.dialog.confirm("Exclui ?","Deseja realmente excluir?")){let i=a.items.indexOf(t);a.isNoPersist?t._status="DELETE":a.dao.delete(t).then(()=>{a.items.splice(i,1),a.cdRef.detectChanges(),a.dialog.topAlert("Registro exclu\xeddo com sucesso!",5e3)}).catch(s=>{a.dialog.alert("Erro","Erro ao excluir: "+(s?.message?s?.message:s))})}})()}consult(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega",t.id,"consult"]},{metadata:{plano_entrega:a.entity,planejamento_id:a.planejamentoId,cadeia_valor_id:a.cadeiaValorId,unidade_id:a.unidadeId,entrega:t}})})()}showLogs(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["logs","change",t.id,"consult"]})})()}showPlanejamento(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","objetivos",t]},{modal:!0})})()}showCadeiaValor(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","processos",t]},{modal:!0})})()}showProgresso(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","progresso",t.id]},{modal:!0,modalClose:n=>{a.parent?.refresh(a.entity?.id)}})})()}showDetalhes(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega",t.id,"detalhes"]},{metadata:{plano_entrega:a.entity,planejamento_id:a.planejamentoId,cadeia_valor_id:a.cadeiaValorId,unidade_id:a.unidadeId,entrega:t}})})()}refreshComentarios(t){let a=this.items.find(n=>n.id==t.id);a&&(a.comentarios=t.comentarios||[])}onRealizadaChange(){const t=this.form?.controls.meta.value,a=this.form?.controls.realizado.value;if(t&&a){let n=isNaN(a)?0:(a/t*100).toFixed(0)||0;this.form?.controls.progresso_realizado.setValue(n)}}addItemHandleEtiquetas(){let t;if(this.etiqueta&&this.etiqueta.selectedItem){const a=this.etiqueta.selectedItem,n=a.key?.length?a.key:this.util.textHash(a.value);this.util.validateLookupItem(this.formEdit.controls.etiqueta.value,n)&&(t={key:n,value:a.value,color:a.color,icon:a.icon},this.formEdit.controls.etiqueta.setValue(null))}return t}onColumnEtiquetasEdit(t){var a=this;return(0,u.Z)(function*(){if(!a.etiquetasAscendentes.filter(n=>n.data==t.unidade.id).length){let n=yield a.carregaEtiquetasUnidadesAscendentes(t.unidade);a.etiquetasAscendentes.push(...n)}a.formEdit.controls.etiquetas.setValue(t.etiquetas),a.formEdit.controls.etiqueta.setValue(null),a.etiquetas=a.util.merge(t.tipo_atividade?.etiquetas,t.unidade?.etiquetas,(n,i)=>n.key==i.key),a.etiquetas=a.util.merge(a.etiquetas,a.auth.usuario.config?.etiquetas,(n,i)=>n.key==i.key),a.etiquetas=a.util.merge(a.etiquetas,a.etiquetasAscendentes.filter(n=>n.data==t.unidade.id),(n,i)=>n.key==i.key)})()}carregaEtiquetasUnidadesAscendentes(t){var a=this;return(0,u.Z)(function*(){let n=[],i=t.path.split("/");return(yield a.unidadeDao.query({where:[["id","in",i]]}).asPromise()).forEach(g=>{n=a.util.merge(n,g.etiquetas,(_,h)=>_.key==h.key)}),n.forEach(g=>g.data=t.id),n})()}onColumnEtiquetasSave(t){var a=this;return(0,u.Z)(function*(){try{const n=yield a.dao.update(t.id,{etiquetas:a.formEdit.controls.etiquetas.value});return t.etiquetas=a.formEdit.controls.etiquetas.value,!!n}catch{return!1}})()}onEtiquetaConfigClick(){this.go.navigate({route:["configuracoes","preferencia","usuario",this.auth.usuario.id],params:{etiquetas:!0}},{modal:!0,modalClose:t=>{this.etiquetas=this.util.merge(this.etiquetas,this.auth.usuario.config?.etiquetas,(a,n)=>a.key==n.key),this.cdRef.detectChanges()}})}onColumnChecklistEdit(t){var a=this;return(0,u.Z)(function*(){a.formEdit.controls.progresso_realizado.setValue(t.progresso_realizado),a.checklist=a.util.clone(t.checklist)})()}onColumnChecklistSave(t){var a=this;return(0,u.Z)(function*(){let n=Math.round(parseInt(a.planoEntregaService.getValorMeta(t))*a.formEdit.controls.progresso_realizado.value/100);try{const i=yield a.dao.update(t.id,{progresso_realizado:a.formEdit.controls.progresso_realizado.value,realizado:a.planoEntregaService.getEntregaValor(t.entrega,n),checklist:a.checklist});return t.progresso_realizado=a.formEdit.controls.progresso_realizado.value,t.checklist=a.checklist,typeof t.realizado.porcentagem<"u"?t.realizado.porcentagem=n:typeof t.realizado.quantitativo<"u"?t.realizado.quantitativo=n:typeof t.realizado.valor<"u"&&(t.realizado.valor=n),!!i}catch{return!1}})()}getObjetivos(t){return t.objetivos.filter(a=>"DELETE"!=a._status)}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-list-entrega"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(f.M,5),e.Gf(we,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.etiqueta=i.first)}},inputs:{cdRef:"cdRef",disabled:"disabled",parent:"parent",noPersist:"noPersist",control:"control",entity:"entity",planejamentoId:"planejamentoId",cadeiaValorId:"cadeiaValorId",unidadeId:"unidadeId",dataFim:"dataFim",execucao:"execucao"},features:[e.qOj],decls:25,vars:35,consts:[[3,"items","form","groupTemplate","minHeight","editable","hasAdd","add","hasEdit","load","save","selectable"],["groupEntregas",""],[3,"title","template","editTemplate"],["columnEntregaCliente",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save"],["columnEtiquetas",""],["columnEtiquetasEdit",""],["columnDatas",""],[3,"title","width","template","editTemplate"],["columnMetaRealizado",""],["editMetaRealizado",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save",4,"ngIf"],["columnEntregaCometario",""],["type","options",3,"onEdit","dynamicButtons","dynamicOptions"],[1,"grid-group-text"],[1,"text-wrap"],["color","primary",3,"label"],[1,"d-block"],["color","light",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-mailbox",3,"label",4,"ngIf"],["origem","PLANO_ENTREGA_ENTREGA",3,"entity",4,"ngIf"],["color","light",3,"icon","label"],["color","light","icon","bi bi-mailbox",3,"label"],["origem","PLANO_ENTREGA_ENTREGA",3,"entity"],[3,"lookup",4,"ngFor","ngForOf"],[3,"lookup"],["controlName","etiquetas",3,"size","control","addItemHandle"],["controlName","etiqueta","nullable","","itemNull","- Selecione -","detailsButton","","detailsButtonIcon","bi bi-tools",3,"size","control","items","details"],["etiqueta",""],[4,"ngIf"],["icon","bi bi-graph-up-arrow","color","light","hint","Planejada",3,"textValue"],["icon","bi bi-check-lg","color","light","hint","Realizada",3,"textValue"],["icon","bi bi-graph-up-arrow","disabled","","label","Meta",3,"entrega","size","control"],["icon","bi bi-check-lg","label","Realizada",3,"entrega","size","control","change"],["columnProgChecklist",""],["columnChecklistEdit",""],["color","success",3,"value","goal"],["small","","title","Checklist","collapse","",3,"collapsed",4,"ngIf"],["small","","title","Checklist","collapse","",3,"collapsed"],[4,"ngFor","ngForOf"],["class","bi bi-check-circle",4,"ngIf"],[1,"micro-text","fw-ligh"],[1,"bi","bi-check-circle"],["label","Realizado","sufix","%","icon","bi bi-clock","controlName","progresso_realizado","labelInfo","Progresso de execu\xe7\xe3o (% Conclu\xeddo)",3,"size","control"],["small","","title","Checklist",4,"ngIf"],["small","","title","Checklist"],["scale","small",3,"size","source","path"],["color","light","icon","bi bi-list-check",3,"label",4,"ngIf"],["origem","PLANO_ENTREGA_ENTREGA",3,"entity","selectable","grid","save"],["color","light","icon","bi bi-list-check",3,"label"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0),e.YNc(1,qe,4,1,"ng-template",null,1,e.W1O),e.TgZ(3,"columns")(4,"column",2),e.YNc(5,Me,6,4,"ng-template",null,3,e.W1O),e.qZA(),e.TgZ(7,"column",4),e.YNc(8,Ve,1,1,"ng-template",null,5,e.W1O),e.YNc(10,ze,3,6,"ng-template",null,6,e.W1O),e.qZA(),e.TgZ(12,"column",2),e.YNc(13,Fe,3,2,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(15,"column",8),e.YNc(16,ke,3,2,"ng-template",null,9,e.W1O),e.YNc(18,Be,2,7,"ng-template",null,10,e.W1O),e.qZA(),e.YNc(20,nt,5,7,"column",11),e.TgZ(21,"column",2),e.YNc(22,it,2,5,"ng-template",null,12,e.W1O),e.qZA(),e._UZ(24,"column",13),e.qZA()()),2&a){const i=e.MAs(2),s=e.MAs(6),g=e.MAs(9),_=e.MAs(11),h=e.MAs(14),v=e.MAs(17),M=e.MAs(19),Q=e.MAs(23);e.Q6J("items",n.items)("form",n.form)("groupTemplate",i)("minHeight",300)("editable",n.isDisabled?void 0:"true")("hasAdd",!n.isDisabled&&n.auth.hasPermissionTo("MOD_PENT_ENTR_INCL")&&!n.execucao)("add",n.add.bind(n))("hasEdit",!n.isDisabled&&n.auth.hasPermissionTo("MOD_PENT_ENTR_EDT"))("load",n.load.bind(n))("save",n.save.bind(n))("selectable",n.selectable),e.xp6(4),e.Q6J("title","Entrega\nDemandante/Destinat\xe1rio")("template",s)("editTemplate",s),e.xp6(3),e.Q6J("title","Etiquetas")("width",100)("template",g)("editTemplate",g)("columnEditTemplate",n.selectable?void 0:_)("edit",n.selectable?void 0:n.onColumnEtiquetasEdit.bind(n))("save",n.selectable?void 0:n.onColumnEtiquetasSave.bind(n)),e.xp6(5),e.Q6J("title","Data In\xedcio\nData Fim")("template",h)("editTemplate",h),e.xp6(3),e.Q6J("title","Meta")("width",100)("template",v)("editTemplate",M),e.xp6(5),e.Q6J("ngIf",n.execucao),e.xp6(1),e.Q6J("title",n.lex.translate("Modelo de Entrega")+"\nComent\xe1rios")("template",Q)("editTemplate",Q),e.xp6(3),e.Q6J("onEdit",n.edit.bind(n))("dynamicButtons",n.dynamicButtons.bind(n))("dynamicOptions",n.dynamicOptions.bind(n))}},dependencies:[O.sg,O.O5,f.M,E.a,m.b,ie.a,F.p,le.p,Y.N,y.F,H.R,W.l,se.C,Pe.y,ee],styles:[".objetivo[_ngcontent-%COMP%]{border-bottom:1px solid #ddd;padding:2px 0}"]})}return o})();function lt(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"input-switch",24),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw(2);return e.KtG(i.onPrincipaisChange(n))}),e.qZA()}if(2&o){const t=e.oxw(2);e.Q6J("size",2)("control",t.filter.controls.principais)("labelInfo",t.lex.translate("Unidades")+" onde o "+t.lex.translate("usuario")+" \xe9 integrante, incluindo unidades superiores sob sua ger\xeancia.")}}function st(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"toolbar",21)(1,"input-switch",22),e.NdJ("change",function(n){e.CHM(t);const i=e.oxw();return e.KtG(i.onAgruparChange(n))}),e.qZA(),e.YNc(2,lt,1,3,"input-switch",23),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("buttons",t.toolbarButtons),e.xp6(1),e.Q6J("size",3)("control",t.filter.controls.agrupar),e.xp6(1),e.Q6J("ngIf",!t.avaliacao)}}function rt(o,l){if(1&o&&(e.TgZ(0,"div")(1,"div",25),e._UZ(2,"input-switch",26)(3,"input-search",27,28)(5,"input-select",29)(6,"input-datetime",30)(7,"input-datetime",31),e.qZA()()),2&o){const t=e.oxw();e.xp6(2),e.Q6J("size",1)("control",t.filter.controls.meus_planos),e.xp6(1),e.Q6J("size",5)("control",t.filter.controls.unidade_id)("dao",t.unidadeDao),e.xp6(2),e.Q6J("size",2)("valueTodos",null)("control",t.filter.controls.data_filtro)("items",t.DATAS_FILTRO),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_inicio),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_fim)}}const dt=function(){return["CONCLUIDO","AVALIADO"]};function ct(o,l){if(1&o&&(e.TgZ(0,"div",25),e._UZ(1,"input-switch",26)(2,"input-text",32)(3,"input-search",27,28)(5,"input-select",33)(6,"input-switch",34),e.qZA(),e.TgZ(7,"div",25),e._UZ(8,"input-search",35,36)(10,"input-search",37,38)(12,"input-select",29)(13,"input-datetime",30)(14,"input-datetime",31),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("size",1)("control",t.filter.controls.meus_planos),e.xp6(1),e.Q6J("size",3)("control",t.filter.controls.nome)("placeholder","Nome do "+t.lex.translate("plano de entrega")),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4)("control",t.filter.controls.unidade_id)("dao",t.unidadeDao),e.xp6(2),e.Q6J("size",3)("control",t.filter.controls.status)("items",t.lookup.PLANO_ENTREGA_STATUS)("filter",t.avaliacao?e.DdM(32,dt):void 0)("valueTodos",null),e.xp6(1),e.Q6J("size",1)("control",t.filter.controls.arquivadas),e.xp6(2),e.Q6J("size",3)("control",t.filter.controls.planejamento_id)("dao",t.planejamentoDao),e.xp6(2),e.Q6J("size",3)("control",t.filter.controls.cadeia_valor_id)("dao",t.cadeiaValorDao),e.xp6(2),e.Q6J("size",2)("valueTodos",null)("control",t.filter.controls.data_filtro)("items",t.DATAS_FILTRO),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_inicio),e.xp6(1),e.Q6J("size",2)("disabled",null==t.filter.controls.data_filtro.value?"true":void 0)("control",t.filter.controls.data_filtro_fim)}}function ut(o,l){if(1&o&&(e.TgZ(0,"span",43),e._UZ(1,"i",44),e._uU(2),e.qZA()),2&o){const t=e.oxw().row;e.xp6(2),e.hij(" ",null==t.entregas?null:t.entregas.length,"")}}function gt(o,l){if(1&o&&e.YNc(0,ut,3,1,"span",42),2&o){const t=l.row;e.Q6J("ngIf",null==t.entregas?null:t.entregas.length)}}function _t(o,l){if(1&o&&e._UZ(0,"plano-entrega-list-entrega",45),2&o){const t=l.row,a=e.oxw(2);e.Q6J("parent",a)("disabled",a.avaliacao||!a.botaoAtendeCondicoes(a.BOTAO_ALTERAR,t))("entity",t)("execucao",a.execucao)("cdRef",a.cdRef)("planejamentoId",t.planejamento_id)("cadeiaValorId",t.cadeia_valor_id)("unidadeId",t.unidade_id)}}function pt(o,l){if(1&o&&(e.TgZ(0,"column",39),e.YNc(1,gt,1,1,"ng-template",null,40,e.W1O),e.YNc(3,_t,1,8,"ng-template",null,41,e.W1O),e.qZA()),2&o){const t=e.MAs(2),a=e.MAs(4),n=e.oxw();e.Q6J("align","center")("hint",n.lex.translate("Entrega"))("template",t)("expandTemplate",a)}}function mt(o,l){1&o&&(e.TgZ(0,"order",46),e._uU(1,"#ID"),e.qZA()),2&o&&e.Q6J("header",l.header)}function ht(o,l){if(1&o&&(e.TgZ(0,"small",47),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.hij("#",t.numero,"")}}function ft(o,l){if(1&o&&(e.TgZ(0,"order",48),e._uU(1,"Nome"),e.qZA(),e._UZ(2,"br"),e._uU(3)),2&o){const t=l.header,a=e.oxw();e.Q6J("header",t),e.xp6(3),e.hij(" Programa",a.filter.controls.agrupar.value?"":" - Unidade"," ")}}function vt(o,l){if(1&o&&e._UZ(0,"badge",52),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon("Programa"))("label",t.programa.nome)}}function bt(o,l){if(1&o&&e._UZ(0,"badge",53),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon(a.lex.translate("unidade")))("label",t.unidade.sigla)}}function Et(o,l){if(1&o&&(e.TgZ(0,"span",49),e._uU(1),e.qZA(),e._UZ(2,"br"),e.YNc(3,vt,1,2,"badge",50),e.YNc(4,bt,1,2,"badge",51)),2&o){const t=l.row,a=e.oxw();e.Udp("max-width",400,"px"),e.xp6(1),e.Oqu(t.nome||""),e.xp6(2),e.Q6J("ngIf",t.programa),e.xp6(1),e.Q6J("ngIf",!a.filter.controls.agrupar.value&&t.unidade)}}function At(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function Tt(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function Ot(o,l){1&o&&(e._uU(0," Planejamento Institucional"),e._UZ(1,"br"),e._uU(2," Cadeia de Valor "))}function Ct(o,l){if(1&o&&e._UZ(0,"badge",55),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("maxWidth",300)("icon",a.entityService.getIcon("Planejamento"))("label",null==t.planejamento?null:t.planejamento.nome)}}function It(o,l){if(1&o&&e._UZ(0,"badge",55),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("maxWidth",300)("icon",a.entityService.getIcon("CadeiaValor"))("label",null==t.cadeia_valor?null:t.cadeia_valor.nome)}}function Pt(o,l){if(1&o&&(e.YNc(0,Ct,1,3,"badge",54),e.YNc(1,It,1,3,"badge",54)),2&o){const t=l.row;e.Q6J("ngIf",t.planejamento),e.xp6(1),e.Q6J("ngIf",t.cadeia_valor)}}function Zt(o,l){1&o&&e._UZ(0,"badge",60)}function Dt(o,l){1&o&&e._UZ(0,"badge",61)}function xt(o,l){if(1&o&&e._UZ(0,"avaliar-nota-badge",62),2&o){const t=e.oxw().row;e.Q6J("align","left")("tipoAvaliacao",t.avaliacao.tipo_avaliacao)("nota",t.avaliacao.nota)}}function Nt(o,l){if(1&o&&(e._UZ(0,"badge",56)(1,"br"),e.YNc(2,Zt,1,0,"badge",57),e.YNc(3,Dt,1,0,"badge",58),e.YNc(4,xt,1,3,"avaliar-nota-badge",59)),2&o){const t=l.row,a=e.oxw();e.Q6J("color",a.lookup.getColor(a.lookup.PLANO_ENTREGA_STATUS,t.status))("icon",a.lookup.getIcon(a.lookup.PLANO_ENTREGA_STATUS,t.status))("label",a.lookup.getValue(a.lookup.PLANO_ENTREGA_STATUS,t.status)),e.xp6(2),e.Q6J("ngIf",t.data_arquivamento),e.xp6(1),e.Q6J("ngIf",t.deleted_at),e.xp6(1),e.Q6J("ngIf",t.avaliacao)}}let yt=(()=>{class o extends d.E{constructor(t){super(t,V,Z.r),this.injector=t,this.showFilter=!0,this.avaliacao=!1,this.execucao=!1,this.habilitarAdesaoToolbar=!1,this.toolbarButtons=[],this.botoes=[],this.routeStatus={route:["uteis","status"]},this.DATAS_FILTRO=[{key:"VIGENTE",value:"Vigente"},{key:"NAOVIGENTE",value:"N\xe3o vigente"},{key:"INICIAM",value:"Iniciam"},{key:"FINALIZAM",value:"Finalizam"}],this.storeFilter=a=>{const n=a?.value;return{meus_planos:n.meus_planos,arquivadas:n.arquivadas,unidade_id:n.unidade_id}},this.filterValidate=(a,n)=>{let i=null;return"data_filtro_inicio"==n&&a.value>this.filter?.controls.data_filtro_fim.value?i="Maior que fim":"data_filtro_fim"==n&&a.value{let n=[],i=a.value;if(this.filter?.controls.principais.value){let s=["unidade_id","in",(this.auth.unidades||[]).map(g=>g.id)];if(this.auth.isGestorAlgumaAreaTrabalho()){let g=this.auth.unidades?.filter(v=>this.unidadeService.isGestorUnidade(v)),_=g?.map(v=>v.unidade_pai?.id||"").filter(v=>v.length);_?.length&&s[2].push(..._);let h=["unidade.unidade_pai_id","in",g?.map(v=>v.id)];n.push(["or",s,h])}else n.push(s)}if(this.filter?.controls.meus_planos.value){let s=["unidade_id","in",(this.auth.unidades||[]).map(g=>g.id)];n.push(s)}return i.nome?.length&&n.push(["nome","like","%"+i.nome.trim().replace(" ","%")+"%"]),i.data_filtro&&(n.push(["data_filtro","==",i.data_filtro]),n.push(["data_filtro_inicio","==",i.data_filtro_inicio]),n.push(["data_filtro_fim","==",i.data_filtro_fim])),i.unidade_id&&n.push(["unidade_id","==",i.unidade_id]),i.unidade_id||n.push(["unidades_vinculadas","==",this.auth.unidade?.id]),i.planejamento_id&&n.push(["planejamento_id","==",i.planejamento_id]),i.cadeia_valor_id&&n.push(["cadeia_valor_id","==",i.cadeia_valor_id]),this.isModal?n.push(["status","==","ATIVO"]):(i.status||this.avaliacao)&&n.push(["status","in",i.status?[i.status]:["CONCLUIDO","AVALIADO"]]),n.push(["incluir_arquivados","==",this.filter.controls.arquivadas.value]),n},this.avaliacaoDao=t.get(p.w),this.unidadeDao=t.get(N.J),this.planejamentoDao=t.get(I.U),this.cadeiaValorDao=t.get(D.m),this.planoEntregaService=t.get(c.f),this.unidadeService=t.get(A.Z),this.programaService=t.get(T.o),this.unidadeSelecionada=this.auth.unidade,this.code="MOD_PLANE",this.title=this.lex.translate("Planos de Entregas"),this.filter=this.fh.FormBuilder({agrupar:{default:!0},principais:{default:!1},arquivadas:{default:!1},nome:{default:""},data_filtro:{default:null},data_filtro_inicio:{default:new Date},data_filtro_fim:{default:new Date},status:{default:""},unidade_id:{default:null},unidades_filhas:{default:!1},planejamento_id:{default:null},cadeia_valor_id:{default:null},meus_planos:{default:!0}},this.cdRef,this.filterValidate),this.join=["planejamento:id,nome","programa:id,nome","cadeia_valor:id,nome","unidade:id,sigla,path","entregas.entrega","entregas.objetivos.objetivo","entregas.processos.processo","entregas.unidade","entregas.comentarios.usuario:id,nome,apelido","entregas.reacoes.usuario:id,nome,apelido","unidade.gestor:id","unidade.gestores_substitutos:id","unidade.unidade_pai","avaliacao"],this.groupBy=[{field:"unidade.sigla",label:"Unidade"}],this.BOTAO_ADERIR_OPTION={label:"Aderir",icon:this.entityService.getIcon("Adesao"),onClick:(()=>{this.go.navigate({route:["gestao","plano-entrega","adesao"]},{metadata:{planoEntrega:this.linha},modalClose:a=>{this.refresh()}})}).bind(this)},this.BOTAO_ADERIR_TOOLBAR={label:"Aderir",disabled:!this.habilitarAdesaoToolbar,icon:this.entityService.getIcon("Adesao"),onClick:(()=>{this.go.navigate({route:["gestao","plano-entrega","adesao"]},{modalClose:a=>{this.refresh()}})}).bind(this)},this.BOTAO_ALTERAR={label:"Alterar",icon:"bi bi-pencil-square",color:"btn-outline-info",onClick:a=>this.go.navigate({route:["gestao","plano-entrega",a.id,"edit"]},this.modalRefreshId(a))},this.BOTAO_ARQUIVAR={label:"Arquivar",icon:"bi bi-inboxes",onClick:this.arquivar.bind(this)},this.BOTAO_AVALIAR={label:"Avaliar",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"AVALIADO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"AVALIADO"),onClick:this.avaliar.bind(this)},this.BOTAO_CANCELAR_PLANO={label:"Cancelar plano",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"CANCELADO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"CANCELADO"),onClick:this.cancelarPlano.bind(this)},this.BOTAO_CANCELAR_AVALIACAO={label:"Cancelar avalia\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"CONCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"CANCELADO"),onClick:this.cancelarAvaliacao.bind(this)},this.BOTAO_CANCELAR_CONCLUSAO={label:"Cancelar conclus\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),onClick:this.cancelarConclusao.bind(this)},this.BOTAO_CANCELAR_HOMOLOGACAO={label:"Cancelar homologa\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),onClick:this.cancelarHomologacao.bind(this)},this.BOTAO_CONCLUIR={label:"Concluir",id:"CONCLUIDO",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"CONCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"CONCLUIDO"),onClick:this.concluir.bind(this)},this.BOTAO_CONSULTAR={label:"Informa\xe7\xf5es",icon:"bi bi-info-circle",onClick:a=>this.go.navigate({route:["gestao","plano-entrega",a.id,"consult"]},{modal:!0})},this.BOTAO_DESARQUIVAR={label:"Desarquivar",icon:"bi bi-reply",onClick:this.desarquivar.bind(this)},this.BOTAO_EXCLUIR={label:"Excluir",icon:"bi bi-trash",onClick:this.delete.bind(this)},this.BOTAO_HOMOLOGAR={label:"Homologar",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),onClick:this.homologar.bind(this)},this.BOTAO_LIBERAR_HOMOLOGACAO={label:"Liberar para homologa\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"HOMOLOGANDO"),onClick:this.liberarHomologacao.bind(this)},this.BOTAO_LOGS={label:"Logs",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),onClick:a=>this.go.navigate({route:["logs","change",a.id,"consult"]})},this.BOTAO_REATIVAR={label:"Reativar",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"ATIVO"),onClick:this.reativar.bind(this)},this.BOTAO_RETIRAR_HOMOLOGACAO={label:"Retirar de homologa\xe7\xe3o",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"INCLUIDO"),onClick:this.retirarHomologacao.bind(this)},this.BOTAO_SUSPENDER={label:"Suspender",id:"PAUSADO",icon:this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS,"SUSPENSO"),color:this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS,"SUSPENSO"),onClick:this.suspender.bind(this)},this.botoes=[this.BOTAO_ALTERAR,this.BOTAO_ARQUIVAR,this.BOTAO_AVALIAR,this.BOTAO_CANCELAR_PLANO,this.BOTAO_CANCELAR_AVALIACAO,this.BOTAO_CANCELAR_CONCLUSAO,this.BOTAO_CANCELAR_HOMOLOGACAO,this.BOTAO_CONCLUIR,this.BOTAO_CONSULTAR,this.BOTAO_DESARQUIVAR,this.BOTAO_EXCLUIR,this.BOTAO_HOMOLOGAR,this.BOTAO_LIBERAR_HOMOLOGACAO,this.BOTAO_LOGS,this.BOTAO_REATIVAR,this.BOTAO_RETIRAR_HOMOLOGACAO,this.BOTAO_SUSPENDER]}ngOnInit(){super.ngOnInit(),this.execucao=!!this.queryParams?.execucao,this.avaliacao=!!this.queryParams?.avaliacao,this.showFilter=!(typeof this.queryParams?.showFilter<"u")||"true"==this.queryParams.showFilter,this.selectable=this.metadata?.selectable||this.selectable,this.execucao&&(this.title=this.title+" (Execu\xe7\xe3o)",this.filter.controls.unidade_id.setValue(this.auth.unidadeGestor()?.id||null),this.filter.controls.principais.setValue(!1)),this.avaliacao&&(this.title=this.title+" (Avalia\xe7\xe3o)",this.filter.controls.unidade_id.setValue(this.auth.unidadeGestor()?.id||null),this.filter.controls.unidades_filhas.setValue(!0),this.filter.controls.principais.setValue(!1)),this.checaBotaoAderirToolbar()}ngAfterContentChecked(){this.auth.unidade!=this.unidadeSelecionada&&(this.unidadeSelecionada=this.auth.unidade,this.checaBotaoAderirToolbar(),this.cdRef.detectChanges())}onGridLoad(t){const a=(this.grid?.query||this.query).extra;t?.forEach(n=>{let i=n;i.avaliacao&&(i.avaliacao.tipo_avaliacao=a?.tipos_avaliacoes?.find(s=>s.id==i.avaliacao.tipo_avaliacao_id))})}checaBotaoAderirToolbar(){}planosEntregasAtivosUnidadePai(){return this.auth.unidade?.unidade_pai?.planos_entrega?.filter(t=>this.planoEntregaService.isAtivo(t))||[]}planosEntregasAtivosUnidadeSelecionada(){return this.auth?.unidade?.planos_entrega?.filter(t=>this.planoEntregaService.isAtivo(t))||[]}filterClear(t){t.controls.nome.setValue(""),t.controls.data_filtro.setValue(null),t.controls.data_filtro_inicio.setValue(new Date),t.controls.data_filtro_fim.setValue(new Date),t.controls.unidade_id.setValue(null),t.controls.planejamento_id.setValue(null),t.controls.cadeia_valor_id.setValue(null),t.controls.status.setValue(null),t.controls.meus_planos.setValue(!1),super.filterClear(t)}onAgruparChange(t){const a=this.filter.controls.agrupar.value;(a&&!this.groupBy?.length||!a&&this.groupBy?.length)&&(this.groupBy=a?[{field:"unidade.sigla",label:"Unidade"}]:[],this.cdRef.detectChanges(),this.grid.reloadFilter())}onPrincipaisChange(t){this.filter.controls.principais.value?(this.filter.controls.unidade_id.setValue(null),this.filter.controls.meus_planos.setValue(!1)):this.filter.controls.meus_planos.setValue(!0),this.grid.reloadFilter()}dynamicButtons(t){let a=[];switch(this.planoEntregaService.situacaoPlano(t)){case"INCLUIDO":this.botaoAtendeCondicoes(this.BOTAO_LIBERAR_HOMOLOGACAO,t)?a.push(this.BOTAO_LIBERAR_HOMOLOGACAO):a.push(this.BOTAO_CONSULTAR);break;case"HOMOLOGANDO":this.botaoAtendeCondicoes(this.BOTAO_HOMOLOGAR,t)&&a.push(this.BOTAO_HOMOLOGAR);break;case"ATIVO":this.botaoAtendeCondicoes(this.BOTAO_CONCLUIR,t)&&a.push(this.BOTAO_CONCLUIR);break;case"CONCLUIDO":this.botaoAtendeCondicoes(this.BOTAO_AVALIAR,t)&&a.push(this.BOTAO_AVALIAR);break;case"SUSPENSO":this.botaoAtendeCondicoes(this.BOTAO_REATIVAR,t)&&a.push(this.BOTAO_REATIVAR);break;case"AVALIADO":this.botaoAtendeCondicoes(this.BOTAO_ARQUIVAR,t)&&a.push(this.BOTAO_ARQUIVAR);break;case"ARQUIVADO":this.botaoAtendeCondicoes(this.BOTAO_DESARQUIVAR,t)&&a.push(this.BOTAO_DESARQUIVAR)}return a.length||a.push(this.BOTAO_CONSULTAR),a}dynamicOptions(t){let a=[];return this.linha=t,this.botoes.forEach(n=>{this.botaoAtendeCondicoes(n,t)&&a.push(n)}),a}botaoAtendeCondicoes(t,a){switch(t){case this.BOTAO_ADERIR_OPTION:return!this.execucao&&"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&a.unidade_id==this.auth.unidade?.unidade_pai_id&&(this.unidadeService.isGestorUnidade()||this.auth.isLotacaoUsuario(this.auth.unidade)&&this.auth.hasPermissionTo("MOD_PENT_ADR"))&&0==this.planosEntregasAtivosUnidadeSelecionada().filter(Ce=>this.util.intersection([{start:Ce.data_inicio,end:Ce.data_fim},{start:a.data_inicio,end:a.data_fim}])).length;case this.BOTAO_ALTERAR:let n=["INCLUIDO","HOMOLOGANDO","ATIVO"].includes(this.planoEntregaService.situacaoPlano(a)),i=["INCLUIDO","HOMOLOGANDO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)),s=this.unidadeService.isGestorUnidade(1==a.unidade?.instituidora?a.unidade?.id:a.unidade?.unidade_pai_id)&&this.auth.hasPermissionTo("MOD_PENT_EDT_FLH"),g=this.auth.isIntegrante("HOMOLOGADOR_PLANO_ENTREGA",a.unidade.unidade_pai_id),_="ATIVO"==this.planoEntregaService.situacaoPlano(a)&&this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo(["MOD_PENT_EDT_ATV_HOMOL","MOD_PENT_EDT_ATV_ATV"]),h=this.auth.hasPermissionTo("MOD_PENT_QQR_UND");return!this.execucao&&this.auth.hasPermissionTo("MOD_PENT_EDT")&&n&&this.planoEntregaService.isValido(a)&&(i||s||g||_||h);case this.BOTAO_ARQUIVAR:return["CONCLUIDO","AVALIADO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_ARQ"));case this.BOTAO_AVALIAR:let v=this.unidadeService.isGestorUnidade(1==a.unidade?.instituidora?a.unidade?.id:a.unidade?.unidade_pai_id),M=this.auth.isLotacaoUsuario(a.unidade?.unidade_pai)&&this.auth.hasPermissionTo("MOD_PENT_AVAL"),Q=this.auth.isGestorLinhaAscendente(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_AVAL_SUBORD");return"CONCLUIDO"==this.planoEntregaService.situacaoPlano(a)&&(v||M||Q);case this.BOTAO_CANCELAR_AVALIACAO:return"AVALIADO"==this.planoEntregaService.situacaoPlano(a)&&(1==a.unidade?.instituidora?this.unidadeService.isGestorUnidade(a.unidade?.id):this.unidadeService.isGestorUnidade(a.unidade?.unidade_pai_id)||this.auth.isIntegrante("AVALIADOR_PLANO_ENTREGA",a.unidade.id));case this.BOTAO_CANCELAR_CONCLUSAO:return"CONCLUIDO"==this.planoEntregaService.situacaoPlano(a)&&this.programaService.programaVigente(a.programa)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_CANC_CONCL"));case this.BOTAO_CANCELAR_HOMOLOGACAO:return!this.execucao&&"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&(1==a.unidade?.instituidora?this.unidadeService.isGestorUnidade(a.unidade?.id):this.unidadeService.isGestorUnidade(a.unidade?.unidade_pai_id)||this.auth.isLotacaoUsuario(a.unidade?.unidade_pai)&&this.auth.hasPermissionTo("MOD_PENT_CANC_HOMOL")||this.auth.isIntegrante("HOMOLOGADOR_PLANO_ENTREGA",a.unidade.unidade_pai_id));case this.BOTAO_CANCELAR_PLANO:return this.auth.hasPermissionTo("MOD_PENT_CNC")&&["INCLUIDO","HOMOLOGANDO","ATIVO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade?.id)||this.unidadeService.isGestorUnidade(a.unidade?.unidade_pai_id));case this.BOTAO_CONCLUIR:return"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_CONC"));case this.BOTAO_CONSULTAR:return this.auth.hasPermissionTo("MOD_PENT");case this.BOTAO_DESARQUIVAR:return"ARQUIVADO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_ARQ"));case this.BOTAO_EXCLUIR:return!this.execucao&&this.auth.hasPermissionTo("MOD_PENT_EXCL")&&["INCLUIDO","HOMOLOGANDO"].includes(this.planoEntregaService.situacaoPlano(a))&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade));case this.BOTAO_HOMOLOGAR:let ae="HOMOLOGANDO"==this.planoEntregaService.situacaoPlano(a),ne=this.unidadeService.isGestorUnidade(1==a.unidade?.instituidora?a.unidade?.id:a.unidade?.unidade_pai_id),vo=this.auth.isLotacaoUsuario(a.unidade.unidade_pai)&&this.auth.hasPermissionTo("MOD_PENT_HOMOL"),bo=this.auth.isIntegrante("HOMOLOGADOR_PLANO_ENTREGA",a.unidade.unidade_pai_id);return!this.execucao&&ae&&(ne||vo||bo);case this.BOTAO_LIBERAR_HOMOLOGACAO:return!this.execucao&&"INCLUIDO"==this.planoEntregaService.situacaoPlano(a)&&a.entregas.length>0&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_LIB_HOMOL"));case this.BOTAO_LOGS:return this.unidadeService.isGestorUnidade(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_AVAL_SUBORD");case this.BOTAO_REATIVAR:return"SUSPENSO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_RTV")||this.auth.isGestorLinhaAscendente(a.unidade));case this.BOTAO_RETIRAR_HOMOLOGACAO:return!this.execucao&&"HOMOLOGANDO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_RET_HOMOL"));case this.BOTAO_SUSPENDER:return"ATIVO"==this.planoEntregaService.situacaoPlano(a)&&(this.unidadeService.isGestorUnidade(a.unidade)||this.auth.isLotacaoUsuario(a.unidade)&&this.auth.hasPermissionTo("MOD_PENT_SUSP")||this.auth.isGestorLinhaAscendente(a.unidade))}return!1}arquivar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:Object.assign({},t,{arquivar:!0}),novoStatus:t.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Arquivar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}avaliar(t){this.go.navigate({route:["gestao","plano-entrega",t.id,"avaliar"]},{modal:!0,metadata:{planoEntrega:t},modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id,["avaliacao.tipo_avaliacao.notas"]).then(()=>{this.checaBotaoAderirToolbar()})}})}cancelarAvaliacao(t){var a=this;return(0,u.Z)(function*(){a.submitting=!0;try{(yield a.avaliacaoDao.cancelarAvaliacao(t.avaliacao.id))&&(a.grid?.query||a.query).refreshId(t.id).then(()=>{a.checaBotaoAderirToolbar()})}catch(n){a.error(n.message||n)}finally{a.submitting=!1}})()}cancelarConclusao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"ATIVO",onClick:this.dao.cancelarConclusao.bind(this.dao)},title:"Cancelar Conclus\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}cancelarHomologacao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"HOMOLOGANDO",onClick:this.dao.cancelarHomologacao.bind(this.dao)},title:"Cancelar Homologa\xe7\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}cancelarPlano(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:Object.assign({},t,{arquivar:!0}),novoStatus:"CANCELADO",onClick:this.dao.cancelarPlano.bind(this.dao)},title:"Cancelar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}concluir(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"CONCLUIDO",onClick:this.dao.concluir.bind(this.dao)},title:"Concluir Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}desarquivar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:Object.assign({},t,{arquivar:!1}),novoStatus:t.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Desarquivar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}homologar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"ATIVO",onClick:this.dao.homologar.bind(this.dao)},title:"Homologar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}liberarHomologacao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"HOMOLOGANDO",onClick:this.dao.liberarHomologacao.bind(this.dao)},title:"Liberar para Homologa\xe7\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}reativar(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"ATIVO",onClick:this.dao.reativar.bind(this.dao)},title:"Reativar Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}retirarHomologacao(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"INCLUIDO",onClick:this.dao.retirarHomologacao.bind(this.dao)},title:"Retirar de Homologa\xe7\xe3o",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}suspender(t){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoEntrega",entity:t,novoStatus:"SUSPENSO",onClick:this.dao.suspender.bind(this.dao)},title:"Suspender Plano de Entregas",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(t.id).then(()=>{this.checaBotaoAderirToolbar()})}})}canAdd(){return this.auth.hasPermissionTo("MOD_PENT_INCL")}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-list"]],viewQuery:function(a,n){if(1&a&&e.Gf(f.M,5),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first)}},features:[e.qOj],decls:34,vars:35,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","loadList","select"],[3,"buttons",4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed","visible"],[4,"ngIf","ngIfElse"],["naoEModal",""],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate",4,"ngIf"],[3,"titleTemplate","template"],["titleIdNumeroStatus",""],["columnNumero",""],["titleNomeProgramaUnidade",""],["columnNome",""],["title","In\xedcio","orderBy","data_inicio",3,"template"],["columnInicio",""],["title","Fim","orderBy","data_fim",3,"template"],["columnFim",""],["titlePlanoCadeia",""],["columnPlanoCadeia",""],[3,"title","template"],["columnStatus",""],["type","options",3,"dynamicOptions","dynamicButtons"],[3,"rows"],[3,"buttons"],["labelPosition","left","label","Agrupar por unidade","controlName","agrupar",3,"size","control","change"],["labelPosition","left","label","Vinculados","controlName","principais",3,"size","control","labelInfo","change",4,"ngIf"],["labelPosition","left","label","Vinculados","controlName","principais",3,"size","control","labelInfo","change"],[1,"row"],["label","Meus","controlName","meus_planos","labelInfo","Planos de entrega das unidade da qual sou integrante (\xc1reas de trabalho)",3,"size","control"],["controlName","unidade_id",3,"size","control","dao"],["unidade",""],["label","Data","itemTodos","- Nenhum -","controlName","data_filtro",3,"size","valueTodos","control","items"],["date","","label","In\xedcio","controlName","data_filtro_inicio","labelInfo","Data in\xedcio do per\xedodo",3,"size","disabled","control"],["date","","label","Fim","controlName","data_filtro_fim","labelInfo","Data fim do per\xedodo",3,"size","disabled","control"],["label","Nome","controlName","nome",3,"size","control","placeholder"],["label","Status","controlName","status","itemTodos","- Todos -",3,"size","control","items","filter","valueTodos"],["label","Arquivados","controlName","arquivadas","labelInfo","Listar tamb\xe9m os planos de entregas arquivados",3,"size","control"],["controlName","planejamento_id",3,"size","control","dao"],["planejamento",""],["controlName","cadeia_valor_id",3,"size","control","dao"],["cadeiaValor",""],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate"],["columnEntregas",""],["columnExpandedEntregas",""],["class","badge rounded-pill bg-light text-dark",4,"ngIf"],[1,"badge","rounded-pill","bg-light","text-dark"],[1,"bi","bi-list-check"],[3,"parent","disabled","entity","execucao","cdRef","planejamentoId","cadeiaValorId","unidadeId"],["by","numero",3,"header"],[1,"micro-text","fw-ligh"],["by","nome",3,"header"],[1,"text-break","text-wrap"],["color","light",3,"icon","label",4,"ngIf"],["color","secondary",3,"icon","label",4,"ngIf"],["color","light",3,"icon","label"],["color","secondary",3,"icon","label"],["color","light",3,"maxWidth","icon","label",4,"ngIf"],["color","light",3,"maxWidth","icon","label"],[3,"color","icon","label"],["color","warning","icon","bi bi-inboxes","label","Arquivado",4,"ngIf"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo",4,"ngIf"],[3,"align","tipoAvaliacao","nota",4,"ngIf"],["color","warning","icon","bi bi-inboxes","label","Arquivado"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo"],[3,"align","tipoAvaliacao","nota"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0),e.NdJ("select",function(s){return n.onSelect(s)}),e.YNc(1,st,3,4,"toolbar",1),e.TgZ(2,"filter",2),e.YNc(3,rt,8,15,"div",3),e.YNc(4,ct,15,33,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(6,"columns"),e.YNc(7,pt,5,4,"column",5),e.TgZ(8,"column",6),e.YNc(9,mt,2,1,"ng-template",null,7,e.W1O),e.YNc(11,ht,2,1,"ng-template",null,8,e.W1O),e.qZA(),e.TgZ(13,"column",6),e.YNc(14,ft,4,2,"ng-template",null,9,e.W1O),e.YNc(16,Et,5,5,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(18,"column",11),e.YNc(19,At,2,1,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(21,"column",13),e.YNc(22,Tt,2,1,"ng-template",null,14,e.W1O),e.qZA(),e.TgZ(24,"column",6),e.YNc(25,Ot,3,0,"ng-template",null,15,e.W1O),e.YNc(27,Pt,2,2,"ng-template",null,16,e.W1O),e.qZA(),e.TgZ(29,"column",17),e.YNc(30,Nt,5,6,"ng-template",null,18,e.W1O),e.qZA(),e._UZ(32,"column",19),e.qZA(),e._UZ(33,"pagination",20),e.qZA()),2&a){const i=e.MAs(5),s=e.MAs(10),g=e.MAs(12),_=e.MAs(15),h=e.MAs(17),v=e.MAs(20),M=e.MAs(23),Q=e.MAs(26),ae=e.MAs(28),ne=e.MAs(31);e.Q6J("dao",n.dao)("add",n.add)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join)("selectable",n.selectable)("hasAdd",n.canAdd())("hasEdit",!1)("loadList",n.onGridLoad.bind(n)),e.xp6(1),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed)("visible",n.showFilter),e.xp6(1),e.Q6J("ngIf",n.isModal)("ngIfElse",i),e.xp6(4),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("titleTemplate",s)("template",g),e.xp6(5),e.Q6J("titleTemplate",_)("template",h),e.xp6(5),e.Q6J("template",v),e.xp6(3),e.Q6J("template",M),e.xp6(3),e.Q6J("titleTemplate",Q)("template",ae),e.xp6(5),e.Q6J("title","Status\nAvalia\xe7\xe3o")("template",ne),e.xp6(3),e.Q6J("dynamicOptions",n.dynamicOptions.bind(n))("dynamicButtons",n.dynamicButtons.bind(n)),e.xp6(1),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,E.a,m.b,x.z,z.n,j.Q,ie.a,J.V,G.m,q.k,F.p,$.l,y.F,Ie.M,re]})}return o})();var de=r(2214),K=r(1184);const Ut=["programa"],Lt=["unidade"],wt=["nome"],qt=["data_fim"];let te=(()=>{class o extends K.F{constructor(t){super(t,V,Z.r),this.injector=t,this.validate=(a,n)=>{let i=null;return["nome","unidade_id","programa_id"].indexOf(n)>=0&&!a.value?.length&&(i="Obrigat\xf3rio"),["data_inicio"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)&&(i="Inv\xe1lido"),["data_fim"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)&&(i="Inv\xe1lido"),i},this.formValidation=a=>{const n=this.form?.controls.data_inicio.value,i=this.form?.controls.data_fim.value;if(!this.programa?.selectedEntity)return"Obrigat\xf3rio selecionar o programa";if(!this.dao?.validDateTime(n))return"Data de in\xedcio inv\xe1lida";if(!this.dao?.validDateTime(i))return"Data de fim inv\xe1lida";if(n>i)return"A data do fim n\xe3o pode ser menor que a data do in\xedcio!";{const g=this.form.controls.entregas.value||[];for(let _ of g){if(!this.auth.hasPermissionTo("MOD_PENT_ENTR_EXTRPL")&&_.data_inicioi)return"A "+this.lex.translate("entrega")+" '"+_.descricao+"' possui data fim posterior \xe0 "+this.lex.translate("do Plano de Entrega")+": "+this.util.getDateFormatted(i)}}},this.titleEdit=a=>"Editando "+this.lex.translate("Plano de Entregas")+": "+(a?.nome||""),this.unidadeDao=t.get(N.J),this.programaDao=t.get(de.w),this.cadeiaValorDao=t.get(D.m),this.planoEntregaDao=t.get(Z.r),this.planejamentoInstitucionalDao=t.get(I.U),this.join=["entregas.entrega","entregas.objetivos.objetivo","entregas.processos.processo","entregas.unidade","unidade","entregas.reacoes.usuario:id,nome,apelido"],this.modalWidth=1200,this.form=this.fh.FormBuilder({nome:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},unidade_id:{default:""},plano_entrega_id:{default:null},planejamento_id:{default:null},cadeia_valor_id:{default:null},programa_id:{default:null},entregas:{default:[]}},this.cdRef,this.validate),this.programaMetadata={todosUnidadeExecutora:!0,vigentesUnidadeExecutora:!1}}loadData(t,a){var n=this;return(0,u.Z)(function*(){let i=Object.assign({},a.value);a.patchValue(n.util.fillForm(i,t)),n.cdRef.detectChanges()})()}initializeData(t){var a=this;return(0,u.Z)(function*(){a.entity=new V,a.entity.unidade_id=a.auth.unidade?.id||"",a.entity.unidade=a.auth.unidade;let n=yield a.programaDao.query({where:[["vigentesUnidadeExecutora","==",a.auth.unidade.id]]}).asPromise(),i=n[n.length-1];i&&(a.entity.programa=i,a.entity.programa_id=i.id);const s=new Date(a.entity.data_inicio).toLocaleDateString(),g=a.entity.data_fim?new Date(a.entity.data_fim).toLocaleDateString():(new Date).toLocaleDateString();a.entity.nome=a.auth.unidade.sigla+" - "+s+" - "+g,a.loadData(a.entity,a.form)})()}saveData(t){var a=this;return(0,u.Z)(function*(){return new Promise((n,i)=>{let s=a.util.fill(new V,a.entity);s=a.util.fillForm(s,a.form.value),s.entregas=s.entregas?.filter(g=>g._status)||[],n(s)})})()}dynamicButtons(t){return[]}onDataChange(){this.sugereNome()}onUnidadeChange(){var t=this;return(0,u.Z)(function*(){let n=t.form.controls.unidade_id.value||t.auth.unidade?.id;if(n)try{yield t.planoEntregaDao.permissaoIncluir(n)}catch(i){t.error(i)}t.sugereNome()})()}sugereNome(){const t=this.unidade?.selectedItem?this.unidade?.selectedItem?.entity.sigla:this.auth.unidade?.sigla,a=new Date(this.form.controls.data_inicio.value).toLocaleDateString(),n=this.form.controls.data_fim.value?" - "+new Date(this.form.controls.data_fim.value).toLocaleDateString():"";this.form.controls.nome.setValue(t+" - "+a+n)}somaDia(t,a){let n=new Date(t);return n.setDate(n.getDate()+a),n}onProgramaChange(){const t=this.programa?.selectedEntity?.prazo_max_plano_entrega,a=this.somaDia(this.entity.data_inicio,t);this.entity?.data_fim||(this.form.controls.data_fim.setValue(new Date(a)),this.dataFim?.change.emit())}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-plano-entrega-form"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(f.M,7),e.Gf(Ut,7),e.Gf(Lt,7),e.Gf(wt,7),e.Gf(qt,7)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.programa=i.first),e.iGM(i=e.CRH())&&(n.unidade=i.first),e.iGM(i=e.CRH())&&(n.nomePE=i.first),e.iGM(i=e.CRH())&&(n.dataFim=i.first)}},features:[e.qOj],decls:20,vars:28,consts:[["initialFocus","entregas",3,"form","disabled","title","submit","cancel"],[1,"row"],["controlName","unidade_id","required","",3,"size","disabled","dao","change"],["unidade",""],["controlName","programa_id","required","",3,"size","disabled","dao","metadata","change"],["programa",""],["date","","label","In\xedcio","controlName","data_inicio","required","",3,"size","labelInfo","change"],["date","","label","Fim","controlName","data_fim","required","",3,"size","labelInfo","change"],["data_fim",""],["label","Nome","controlName","nome","required","",3,"size"],["nome",""],["controlName","planejamento_id","label","Planejamento Institucional",3,"size","emptyValue","dao"],["planejamento",""],["controlName","cadeia_valor_id","label","Cadeia de Valor",3,"size","emptyValue","dao"],["cadeiaValor",""],["title","Entregas"],["noPersist","",3,"disabled","control","planejamentoId","cadeiaValorId","unidadeId","dataFim"],["entregas",""]],template:function(a,n){1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveData()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"div")(2,"div",1)(3,"input-search",2,3),e.NdJ("change",function(){return n.onUnidadeChange()}),e.qZA(),e.TgZ(5,"input-search",4,5),e.NdJ("change",function(){return n.onProgramaChange()}),e.qZA(),e.TgZ(7,"input-datetime",6),e.NdJ("change",function(){return n.onDataChange()}),e.qZA(),e.TgZ(8,"input-datetime",7,8),e.NdJ("change",function(){return n.onDataChange()}),e.qZA()(),e.TgZ(10,"div",1),e._UZ(11,"input-text",9,10)(13,"input-search",11,12)(15,"input-search",13,14),e.qZA(),e._UZ(17,"separator",15)(18,"plano-entrega-list-entrega",16,17),e.qZA()()),2&a&&(e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(3),e.Q6J("size",4)("disabled",null!=n.entity&&n.entity.id?"disabled":void 0)("dao",n.unidadeDao),e.xp6(2),e.Q6J("size",4)("disabled",null!=n.entity&&n.entity.id?"disabled":void 0)("dao",n.programaDao)("metadata",n.programaMetadata),e.xp6(2),e.Q6J("size",2)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entrega")),e.xp6(1),e.Q6J("size",2)("labelInfo","Fim "+n.lex.translate("Plano de Entrega")),e.xp6(3),e.Q6J("size",4),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",4)("emptyValue",null)("dao",n.planejamentoInstitucionalDao),e.xp6(2),e.Q6J("size",4)("emptyValue",null)("dao",n.cadeiaValorDao),e.xp6(3),e.Q6J("disabled",n.formDisabled)("control",n.form.controls.entregas)("planejamentoId",n.form.controls.planejamento_id.value)("cadeiaValorId",n.form.controls.cadeia_valor_id.value)("unidadeId",n.form.controls.unidade_id.value)("dataFim",n.form.controls.data_fim.value))},dependencies:[U.Q,J.V,G.m,q.k,Y.N,re]})}return o})();var ce=r(7465),ue=r(1058),ge=r(7501),Qt=r(9108);const Rt=["unidade"];function Jt(o,l){if(1&o&&e._UZ(0,"planejamento-show",18),2&o){const t=e.oxw(2);e.Q6J("planejamento",t.objetivo.planejamento)}}function Mt(o,l){if(1&o&&(e.ynx(0),e.YNc(1,Jt,1,1,"planejamento-show",16),e.TgZ(2,"div",17)(3,"h5"),e._uU(4,"Objetivo:"),e.qZA(),e.TgZ(5,"h6"),e._uU(6),e.qZA()(),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.objetivo.planejamento),e.xp6(5),e.Oqu(t.objetivo.nome)}}function St(o,l){if(1&o&&(e.TgZ(0,"div",21)(1,"h6"),e._uU(2,"Cadeia de valor:"),e.qZA(),e.TgZ(3,"h4"),e._uU(4),e.qZA()()),2&o){const t=e.oxw(2);e.xp6(4),e.Oqu(t.processo.cadeia_valor.nome)}}function Vt(o,l){if(1&o&&(e.ynx(0),e.YNc(1,St,5,1,"div",19),e.TgZ(2,"div",20)(3,"h5"),e._uU(4,"Processo:"),e.qZA(),e.TgZ(5,"h6"),e._uU(6),e.qZA()(),e.BQk()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.processo.cadeia_valor),e.xp6(5),e.Oqu(t.processo.nome)}}function zt(o,l){if(1&o&&e._UZ(0,"badge",25),2&o){const t=e.oxw().row,a=e.oxw();e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",t.plano_entrega.unidade.sigla)}}function jt(o,l){if(1&o&&e._UZ(0,"badge",26),2&o){const t=e.oxw().row;e.Q6J("label",t.destinatario)}}function Gt(o,l){if(1&o&&(e._uU(0),e._UZ(1,"br"),e.TgZ(2,"span",22),e.YNc(3,zt,1,2,"badge",23),e.YNc(4,jt,1,1,"badge",24),e.qZA()),2&o){const t=l.row;e.hij(" ",t.descricao,""),e.xp6(3),e.Q6J("ngIf",t.plano_entrega&&t.plano_entrega.unidade),e.xp6(1),e.Q6J("ngIf",null==t.destinatario?null:t.destinatario.length)}}function Ft(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function kt(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function Bt(o,l){if(1&o&&(e.YNc(0,Ft,2,1,"span",0),e._UZ(1,"br"),e.YNc(2,kt,2,1,"span",0)),2&o){const t=l.row;e.Q6J("ngIf",t.data_inicio),e.xp6(2),e.Q6J("ngIf",t.data_fim)}}function Yt(o,l){if(1&o&&e._UZ(0,"progress-bar",27),2&o){const t=l.row;e.Q6J("value",t.progresso_realizado)("goal",t.progresso_esperado)}}let _e=(()=>{class o extends d.E{constructor(t){super(t,k.O,L.K),this.injector=t,this.filterWhere=a=>{let n=[],i=a.value;return this.objetivoId&&n.push(["objetivos.objetivo_id","==",this.objetivoId]),this.processoId&&n.push(["processos.processo_id","==",this.processoId]),i.unidade_id&&n.push(["plano_entrega.unidade_id","==",i.unidade_id]),i.entrega_id&&n.push(["entrega_id","==",i.entrega_id]),i.data_inicio&&n.push(["data_inicio",">=",i.data_inicio]),i.data_fim&&n.push(["data_fim","<=",i.data_fim]),n},this.unidadeDao=t.get(N.J),this.entregaDao=t.get(ce.y),this.entregaService=t.get(c.f),this.objetivoDao=t.get(ue.e),this.processoDao=t.get(ge.k),this.join=["plano_entrega.unidade"],this.title=this.lex.translate("Entregas"),this.filter=this.fh.FormBuilder({unidade_id:{default:null},entrega_id:{default:null},data_inicio:{default:null},data_fim:{default:null}})}ngOnInit(){super.ngOnInit(),this.objetivoId=this.urlParams.get("objetivo_id")||void 0,this.processoId=this.urlParams.get("processo_id")||void 0,this.objetivoId&&this.objetivoDao?.getById(this.objetivoId,["planejamento"]).then(t=>{this.objetivo=t}),this.processoId&&this.processoDao?.getById(this.processoId,["cadeia_valor"]).then(t=>{this.processo=t})}filterClear(t){t.controls.unidade_id.setValue(null),t.controls.entrega_id.setValue(null),t.controls.data_inicio.setValue(null),t.controls.data_fim.setValue(null),super.filterClear(t)}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-mapa-entregas"]],viewQuery:function(a,n){if(1&a&&(e.Gf(f.M,5),e.Gf(Rt,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.unidade=i.first)}},features:[e.qOj],decls:23,vars:31,consts:[[4,"ngIf"],[3,"dao","title","orderBy","join"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["controlName","unidade_id",3,"size","control","dao"],["unidade",""],["controlName","entrega_id",3,"size","control","dao"],["entrega",""],["date","","noIcon","","label","In\xedcio","controlName","data_inicio","labelInfo","Data de in\xedcio do planejamento institucional",3,"size","control"],["date","","noIcon","","label","Fim","controlName","data_fim","labelInfo","Data do fim do planejamento institucional",3,"size","control"],[3,"title","template"],["columnEntregaCliente",""],["columnDatas",""],[3,"title","width","template"],["columnProgresso",""],[3,"rows"],[3,"planejamento",4,"ngIf"],[1,"objetivos","arrow_box","w-100"],[3,"planejamento"],["class","planejamento arrow_box first-box w-100",4,"ngIf"],[1,"procesos","arrow_box","w-100"],[1,"planejamento","arrow_box","first-box","w-100"],[1,"d-block"],["color","light",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-mailbox",3,"label",4,"ngIf"],["color","light",3,"icon","label"],["color","light","icon","bi bi-mailbox",3,"label"],["color","success",3,"value","goal"]],template:function(a,n){if(1&a&&(e.YNc(0,Mt,7,2,"ng-container",0),e.YNc(1,Vt,7,2,"ng-container",0),e.TgZ(2,"grid",1),e._UZ(3,"toolbar"),e.TgZ(4,"filter",2)(5,"div",3),e._UZ(6,"input-search",4,5)(8,"input-search",6,7)(10,"input-datetime",8)(11,"input-datetime",9),e.qZA()(),e.TgZ(12,"columns")(13,"column",10),e.YNc(14,Gt,5,3,"ng-template",null,11,e.W1O),e.qZA(),e.TgZ(16,"column",10),e.YNc(17,Bt,3,2,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(19,"column",13),e.YNc(20,Yt,1,2,"ng-template",null,14,e.W1O),e.qZA()(),e._UZ(22,"pagination",15),e.qZA()),2&a){const i=e.MAs(15),s=e.MAs(18),g=e.MAs(21);e.Q6J("ngIf",n.objetivo),e.xp6(1),e.Q6J("ngIf",n.processo),e.xp6(1),e.Q6J("dao",n.dao)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("join",n.join),e.xp6(2),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("size",4)("control",n.filter.controls.unidade_id)("dao",n.unidadeDao),e.xp6(2),e.Q6J("size",4)("control",n.filter.controls.entrega_id)("dao",n.entregaDao),e.xp6(2),e.Q6J("size",2)("control",n.filter.controls.data_inicio),e.xp6(1),e.Q6J("size",2)("control",n.filter.controls.data_fim),e.xp6(2),e.Q6J("title","Entrega\nDemandante/Destinat\xe1rio")("template",i),e.xp6(3),e.Q6J("title","Data In\xedcio\nData Fim")("template",s),e.xp6(3),e.Q6J("title","Progresso")("width",200)("template",g),e.xp6(3),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,E.a,m.b,x.z,z.n,j.Q,J.V,q.k,y.F,H.R,Qt.W]})}return o})();const Ht=function(){return["gestao","plano-entrega"]},Wt=function(o){return{unidade_id:o,status:"ATIVO"}},Kt=function(o){return{showFilter:!1,filter:o}},Xt=function(o,l){return{route:o,params:l}},$t=function(o){return["unidade_id","=",o]},ea=function(){return["status","=","ATIVO"]},ta=function(o,l){return[o,l]};let aa=(()=>{class o extends K.F{constructor(t){super(t,V,Z.r),this.injector=t,this.validate=(a,n)=>{let i=null;return["nome","plano_entrega_id"].indexOf(n)>=0&&!a.value?.length&&(i="Obrigat\xf3rio"),i},this.titleEdit=a=>"Editando "+this.lex.translate("Plano de Entregas")+": "+(a?.nome||""),this.unidadeDao=t.get(N.J),this.programaDao=t.get(de.w),this.planoEntregaDao=t.get(Z.r),this.cadeiaValorDao=t.get(D.m),this.planejamentoInstitucionalDao=t.get(I.U),this.join=[],this.modalWidth=1e3,this.form=this.fh.FormBuilder({nome:{default:""},data_inicio:{default:""},data_fim:{default:""},planejamento_id:{default:null},cadeia_valor_id:{default:null},unidade_id:{default:this.auth.unidade?.id},plano_entrega_id:{default:null},programa_id:{default:null},status:{default:"HOMOLOGANDO"}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit();let t=this.metadata?.planoEntrega?this.metadata?.planoEntrega:null;t&&(this.form.controls.plano_entrega_id.setValue(t.id),this.form.controls.nome.setValue(t.nome),this.form.controls.data_inicio.setValue(t.data_inicio),this.form.controls.data_fim.setValue(t.data_fim),this.form.controls.planejamento_id.setValue(t.planejamento_id),this.form.controls.cadeia_valor_id.setValue(t.cadeia_valor_id))}loadData(t,a){var n=this;return(0,u.Z)(function*(){let i=Object.assign({},a.value);a.patchValue(n.util.fillForm(i,t)),n.cdRef.detectChanges()})()}initializeData(t){var a=this;return(0,u.Z)(function*(){a.loadData(a.entity,a.form)})()}saveData(t){var a=this;return(0,u.Z)(function*(){return new Promise((n,i)=>{let s=a.util.fill(new V,a.entity);s=a.util.fillForm(s,a.form.value),n(s)})})()}onPlanoEntregaChange(t){this.form.controls.plano_entrega_id.value&&(this.form.controls.nome.setValue(this.planoEntrega?.selectedEntity.nome),this.form.controls.data_inicio.setValue(this.planoEntrega?.selectedEntity.data_inicio),this.form.controls.data_fim.setValue(this.planoEntrega?.selectedEntity.data_fim),this.form.controls.planejamento_id.setValue(this.planoEntrega?.selectedEntity.planejamento_id),this.form.controls.cadeia_valor_id.setValue(this.planoEntrega?.selectedEntity.cadeia_valor_id),this.form.controls.programa_id.setValue(this.planoEntrega?.selectedEntity.programa_id))}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-adesao"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(f.M,7),e.Gf(J.V,7)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.planoEntrega=i.first)}},features:[e.qOj],decls:21,vars:39,consts:[["initialFocus","plano_entrega_id",3,"form","disabled","title","submit","cancel"],[1,"row","mb-4"],["controlName","plano_entrega_id","label","Plano de Entregas da Unidade-pai","required","",3,"size","dao","selectRoute","where","change"],["planoEntrega",""],[1,"row"],["label","Nome deste Plano de Entregas","controlName","nome","required","",3,"size"],["disabled","","controlName","unidade_id",3,"size","label","dao"],["disabled","","label","Status","controlName","status",3,"size"],[1,"row","mt-4"],["title","Dados herdados do Plano de Entregas da Unidade-pai",3,"collapse"],["disabled","","label","Programa de Gest\xe3o","controlName","programa_id",3,"size","dao"],["disabled","","label","Planejamento Institucional","controlName","planejamento_id",3,"size","dao"],["disabled","","controlName","data_inicio","label","In\xedcio",3,"size","labelInfo"],["disabled","","label","Cadeia de Valor","controlName","cadeia_valor_id",3,"size","dao"],["disabled","","controlName","data_fim","label","Fim",3,"size","labelInfo"]],template:function(a,n){1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveData()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"div")(2,"div",1)(3,"input-search",2,3),e.NdJ("change",function(s){return n.onPlanoEntregaChange(s)}),e.qZA(),e._UZ(5,"separator"),e.qZA(),e.TgZ(6,"div",4),e._UZ(7,"input-text",5),e.qZA(),e.TgZ(8,"div",4),e._UZ(9,"input-search",6)(10,"input-text",7),e.qZA(),e.TgZ(11,"div",8)(12,"separator",9)(13,"div",4),e._UZ(14,"input-search",10),e.qZA(),e.TgZ(15,"div",4),e._UZ(16,"input-search",11)(17,"input-datetime",12),e.qZA(),e.TgZ(18,"div",4),e._UZ(19,"input-search",13)(20,"input-datetime",14),e.qZA()()()()()),2&a&&(e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(3),e.Q6J("size",12)("dao",n.planoEntregaDao)("selectRoute",e.WLB(30,Xt,e.DdM(25,Ht),e.VKq(28,Kt,e.VKq(26,Wt,n.auth.unidade.unidade_pai_id))))("where",e.WLB(36,ta,e.VKq(33,$t,n.auth.unidade.unidade_pai_id),e.DdM(35,ea))),e.xp6(4),e.Q6J("size",12),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",9)("label",n.lex.translate("Unidade"))("dao",n.unidadeDao),e.xp6(1),e.Q6J("size",3),e.uIk("maxlength",250),e.xp6(2),e.Q6J("collapse","collapse"),e.xp6(2),e.Q6J("size",12)("dao",n.programaDao),e.xp6(2),e.Q6J("size",9)("dao",n.planejamentoInstitucionalDao),e.xp6(1),e.Q6J("size",3)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entrega")),e.xp6(2),e.Q6J("size",9)("dao",n.cadeiaValorDao),e.xp6(1),e.Q6J("size",3)("labelInfo","Fim "+n.lex.translate("Plano de Entrega")))},dependencies:[U.Q,J.V,G.m,q.k,Y.N]})}return o})();var na=r(2307),oa=r(4508),pe=r(6384),me=r(4978);const ia=["gridProcessos"],la=["gridObjetivos"],sa=["entregas"],ra=["planejamento"],da=["cadeiaValor"],ca=["inputObjetivo"],ua=["inputProcesso"],ga=["entrega"],_a=["unidade"],pa=["tabs"],ma=["etiqueta"];function ha(o,l){if(1&o&&(e.TgZ(0,"div",4),e._UZ(1,"plano-entrega-valor-meta-input",29)(2,"input-number",30),e.TgZ(3,"div",4),e._UZ(4,"plano-entrega-valor-meta-input",31)(5,"input-number",32),e.qZA()()),2&o){const t=e.oxw(),a=e.MAs(31);e.xp6(1),e.Q6J("entrega",null==a?null:a.selectedEntity)("size",6)("control",t.form.controls.meta),e.xp6(1),e.Q6J("size",6),e.xp6(2),e.Q6J("entrega",null==a?null:a.selectedEntity)("size",6)("control",t.form.controls.realizado)("change",t.onRealizadoChange.bind(t)),e.xp6(1),e.Q6J("size",6)("stepValue",.01)}}function fa(o,l){1&o&&(e.TgZ(0,"div",4),e._UZ(1,"input-number",30)(2,"input-number",32),e.qZA()),2&o&&(e.xp6(1),e.Q6J("size",6),e.xp6(1),e.Q6J("size",6)("stepValue",.01))}function va(o,l){1&o&&(e.TgZ(0,"order",42),e._uU(1,"Objetivos"),e.qZA()),2&o&&e.Q6J("header",l.header)}function ba(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(null==t.objetivo?null:t.objetivo.nome)}}const Ea=function(o){return["planejamento_id","==",o]},he=function(o){return[o]},Aa=function(){return["gestao","planejamento","objetivoList"]},Ta=function(o){return{planejamento_id:o}},fe=function(o){return{filter:o}},ve=function(o,l){return{route:o,params:l}};function Oa(o,l){if(1&o&&e._UZ(0,"input-search",43,44),2&o){const t=e.oxw(2);e.Q6J("size",12)("where",e.VKq(6,he,e.VKq(4,Ea,t.planejamentoId)))("dao",t.planejamentoObjetivoDao)("selectRoute",e.WLB(13,ve,e.DdM(8,Aa),e.VKq(11,fe,e.VKq(9,Ta,t.planejamentoId))))}}function Ca(o,l){if(1&o&&(e.TgZ(0,"tab",33),e._UZ(1,"input-search",34,35),e.TgZ(3,"grid",36,37)(5,"columns")(6,"column",38),e.YNc(7,va,2,1,"ng-template",null,39,e.W1O),e.YNc(9,ba,2,1,"ng-template",null,40,e.W1O),e.YNc(11,Oa,2,16,"ng-template",null,41,e.W1O),e.qZA(),e._UZ(13,"column",12),e.qZA()()()),2&o){const t=e.MAs(8),a=e.MAs(10),n=e.MAs(12),i=e.oxw();e.xp6(1),e.Q6J("size",12)("dao",i.planejamentoDao),e.xp6(2),e.Q6J("control",i.form.controls.objetivos)("form",i.formObjetivos)("orderBy",i.orderBy)("hasDelete",!0)("hasEdit",!0)("add",i.addObjetivo.bind(i))("remove",i.removeObjetivo.bind(i))("save",i.saveObjetivo.bind(i)),e.xp6(3),e.Q6J("titleTemplate",t)("template",a)("editTemplate",n)}}function Ia(o,l){1&o&&(e.TgZ(0,"order",53),e._uU(1,"Processos"),e.qZA()),2&o&&e.Q6J("header",l.header)}function Pa(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(null==t.processo?null:t.processo.nome)}}const Za=function(o){return["cadeia_valor_id","==",o]},Da=function(){return["gestao","cadeia-valor","processoList"]},xa=function(o){return{cadeia_valor_id:o}};function Na(o,l){if(1&o&&e._UZ(0,"input-search",54,55),2&o){const t=e.oxw(2);e.Q6J("size",12)("where",e.VKq(6,he,e.VKq(4,Za,t.cadeiaValorId)))("dao",t.cadeiaValorProcessoDao)("selectRoute",e.WLB(13,ve,e.DdM(8,Da),e.VKq(11,fe,e.VKq(9,xa,t.cadeiaValorId))))}}function ya(o,l){if(1&o&&(e.TgZ(0,"tab",45),e._UZ(1,"input-search",46,47),e.TgZ(3,"grid",36,48)(5,"columns")(6,"column",38),e.YNc(7,Ia,2,1,"ng-template",null,49,e.W1O),e.YNc(9,Pa,2,1,"ng-template",null,50,e.W1O),e.YNc(11,Na,2,16,"ng-template",null,51,e.W1O),e.qZA(),e._UZ(13,"column",52),e.qZA()()()),2&o){const t=e.MAs(8),a=e.MAs(10),n=e.MAs(12),i=e.oxw();e.xp6(1),e.Q6J("size",12)("dao",i.cadeiaValorDao),e.xp6(2),e.Q6J("control",i.form.controls.processos)("form",i.formProcessos)("orderBy",i.orderBy)("hasDelete",!0)("hasEdit",!0)("add",i.addProcesso.bind(i))("remove",i.removeProcesso.bind(i))("save",i.saveProcesso.bind(i)),e.xp6(3),e.Q6J("titleTemplate",t)("template",a)("editTemplate",n),e.xp6(7),e.Q6J("dynamicButtons",i.dynamicButtonsProcessos.bind(i))}}const Ua=function(o){return["plano_entrega.unidade_id","in",o]},La=function(){return["gestao","plano-entrega","entrega-list"]},wa=function(o){return{route:o}},qa=function(o){return{idsUnidadesAscendentes:o}};let be=(()=>{class o extends K.F{constructor(t){super(t,k.O,L.K),this.injector=t,this.itensQualitativo=[],this.idsUnidadesAscendentes=[],this.checklist=[],this.etiquetas=[],this.etiquetasAscendentes=[],this.validate=(a,n)=>{let i=null;return["descricao","destinatario"].indexOf(n)>=0?a.value?.length?this.entrega.selectedEntity&&this.entrega.selectedEntity.descricao==a.value&&(i="\xc9 necess\xe1rio incrementar ou modificar a descri\xe7\xe3o da entrega"):i="Obrigat\xf3rio":["progresso_realizado","realizado"].indexOf(n)>=0&&!(a.value>=0||a.value?.length>0)||["progresso_esperado","meta"].indexOf(n)>=0&&!(a.value>0||a.value?.length>0)?i="Obrigat\xf3rio":["unidade_id"].indexOf(n)>=0&&!a.value?.length?i="A unidade demandante \xe9 obrigat\xf3ria":["entrega_id"].indexOf(n)>=0&&!a.value?.length?i="A entrega \xe9 obrigat\xf3ria":["data_inicio"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)||["data_fim"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)?i="Inv\xe1lido":["planejamento_objetivo_id"].indexOf(n)>=0?(a.value?.length||(i="O objetivo do planejamento \xe9 obrigat\xf3rio"),a.value?.length&&this.gridObjetivos?.items.filter(s=>"ADD"==s._status).map(s=>s.planejamento_objetivo_id).includes(this.formObjetivos.controls.planejamento_objetivo_id.value)&&(i="Este objetivo est\xe1 em duplicidade!")):["cadeia_processo_id"].indexOf(n)>=0&&(a.value?.length||(i="O processo da cadeia de valor \xe9 obrigat\xf3rio"),a.value?.length&&this.gridProcessos?.items.map(s=>s.cadeia_processo_id).includes(this.formProcessos.controls.cadeia_processo_id.value)&&(i="Este processo est\xe1 em duplicidade!")),i},this.formValidation=a=>{let n=this.form?.controls.data_inicio.value,i=this.form?.controls.data_fim.value;return this.gridObjetivos?.editing?(this.tabs.active="OBJETIVOS","Salve ou cancele o registro atual em edi\xe7\xe3o"):this.gridProcessos?.editing?(this.tabs.active="PROCESSOS","Salve ou cancele o registro atual em edi\xe7\xe3o"):this.dao?.validDateTime(n)?this.dao?.validDateTime(i)?n>i?"A data do fim n\xe3o pode ser anterior \xe0 data do in\xedcio!":!this.auth.hasPermissionTo("MOD_PENT_ENTR_EXTRPL")&&this.planoEntrega&&nthis.planoEntrega.data_fim?"Data de fim maior que a data de fim "+this.lex.translate("do Plano de Entrega")+": "+this.util.getDateFormatted(this.planoEntrega.data_fim):void 0:"Data de fim inv\xe1lida":"Data de in\xedcio inv\xe1lida"},this.planejamentoDao=t.get(I.U),this.unidadeDao=t.get(N.J),this.entregaDao=t.get(ce.y),this.planoEntregaDao=t.get(Z.r),this.planejamentoInstitucionalDao=t.get(I.U),this.planoEntregaEntregaDao=t.get(L.K),this.cadeiaValorDao=t.get(D.m),this.cadeiaValorProcessoDao=t.get(ge.k),this.planejamentoObjetivoDao=t.get(ue.e),this.planoEntregaService=t.get(c.f),this.modalWidth=700,this.join=["entrega","objetivos.objetivo","processos.processo"],this.form=this.fh.FormBuilder({descricao:{default:""},descricao_entrega:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},meta:{default:100},descricao_meta:{default:""},realizado:{default:null},plano_entrega_id:{default:""},entrega_pai_id:{default:null},entrega_id:{default:null},progresso_esperado:{default:100},progresso_realizado:{default:null},unidade_id:{default:null},destinatario:{default:null},objetivos:{default:[]},processos:{default:[]},listaQualitativo:{default:[]},planejamento_id:{default:null},cadeia_valor_id:{default:null},objetivo_id:{default:null},objetivo:{default:null},checklist:{default:[]},etiquetas:{default:[]},etiqueta:{default:""}},this.cdRef,this.validate),this.formObjetivos=this.fh.FormBuilder({planejamento_objetivo_id:{default:null}},this.cdRef,this.validate),this.formProcessos=this.fh.FormBuilder({cadeia_processo_id:{default:null}},this.cdRef,this.validate),this.formChecklist=this.fh.FormBuilder({id:{default:""},texto:{default:""},checked:{default:!1}},this.cdRef)}ngOnInit(){super.ngOnInit(),this.planoEntrega=this.metadata?.plano_entrega,this.planejamentoId=this.metadata?.planejamento_id,this.cadeiaValorId=this.metadata?.cadeia_valor_id,this.unidadeId=this.metadata?.unidade_id,this.metadata?.data_fim&&(this.dataFim=this.metadata?.data_fim),this.entity=this.metadata?.entrega}loadData(t,a){var n=this;return(0,u.Z)(function*(){""==t.unidade_id&&(t.unidade_id=n.unidadeId??"");let i=Object.assign({},a.value);n.onEntregaChange(a.value);let{meta:s,realizado:g,..._}=t;yield n.entrega?.loadSearch(t.entrega||i.entrega_id,!1),yield n.unidade?.loadSearch(n.unidadeId),yield n.planejamento?.loadSearch(n.planejamentoId),yield n.cadeiaValor?.loadSearch(n.cadeiaValorId);let h=n.unidadeId?.length?yield n.unidadeDao.getById(n.unidadeId):null;n.idsUnidadesAscendentes=h?.path?.split("/").slice(1)||[],h&&n.idsUnidadesAscendentes.push(h.id),a.patchValue(n.util.fillForm(i,_)),a.controls.meta.setValue(n.planoEntregaService.getValor(t.meta)),a.controls.realizado.setValue(n.planoEntregaService.getValor(t.realizado)),a.controls.objetivos.setValue(t.objetivos),a.controls.processos.setValue(t.processos),n.dataFim&&a.controls.data_fim.setValue(n.dataFim),yield n.loadEtiquetas()})()}initializeData(t){var a=this;return(0,u.Z)(function*(){yield a.loadData(a.entity,t)})()}onSaveEntrega(){var t=this;return(0,u.Z)(function*(){let a,n=!0;if(t.formValidation)try{a=yield t.formValidation(t.form)}catch(i){a=i}if(t.form.valid&&!a){if("edit"==t.action){let i=(yield t.saveData(t.form.value)).modalResult,s=[];i._status="EDIT",t.loading=!0;try{s=yield t.planoEntregaDao.planosImpactadosPorAlteracaoEntrega(i)}finally{t.loading=!1}if(s.length){let g=s.map(_=>t.util.getDateFormatted(_.data_inicio)+" - "+t.util.getDateFormatted(_.data_fim)+" - "+_.unidade?.sigla+": "+_.usuario?.nome+"\n");n=yield t.dialog.confirm("Altera assim mesmo?","Caso prossiga com essa modifica\xe7\xe3o os seguintes planos de trabalho ser\xe3o repactuados automaticamente:\n\n"+g+"\nDeseja prosseguir?")}}n&&(yield t.onSaveData())}else t.form.markAllAsTouched(),a&&t.error(a)})()}saveData(t){return new Promise((a,n)=>{let i=this.util.fill(new k.O,this.entity);this.gridObjetivos?.confirm(),this.gridProcessos?.confirm();let{meta:s,realizado:g,..._}=this.form.value;i=this.util.fillForm(i,_),i.unidade=this.unidade?.selectedEntity,i.entrega=this.entrega?.selectedEntity,i.meta=this.planoEntregaService.getEntregaValor(i.entrega,s),i.realizado=this.planoEntregaService.getEntregaValor(i.entrega,g),a(new na.R(i))})}onRealizadoChange(t,a){this.calculaRealizado()}calculaRealizado(){const t=this.form?.controls.meta.value,a=this.form?.controls.realizado.value;if(t&&a){let n=isNaN(a)?0:(a/t*100).toFixed(0)||0;this.form?.controls.progresso_realizado.setValue(n)}}dynamicOptionsObjetivos(t){let a=[];return a.push({label:"Excluir",icon:"bi bi-trash",color:"btn-outline-danger",onClick:i=>{this.removeObjetivo(i)}}),a}dynamicButtonsObjetivos(t){return[]}dynamicButtonsProcessos(t){return[]}addObjetivo(){var t=this;return(0,u.Z)(function*(){return{id:t.dao.generateUuid(),_status:"ADD"}})()}removeObjetivo(t){var a=this;return(0,u.Z)(function*(){return(yield a.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(t._status="DELETE"),!1})()}saveObjetivo(t,a){var n=this;return(0,u.Z)(function*(){let i=a;if(t.controls.planejamento_objetivo_id.value.length&&n.inputObjetivo.selectedItem)return i.planejamento_objetivo_id=t.controls.planejamento_objetivo_id.value,i.objetivo=n.inputObjetivo.selectedItem.entity,i})()}addProcesso(){var t=this;return(0,u.Z)(function*(){return{id:t.dao.generateUuid(),_status:"ADD"}})()}removeProcesso(t){var a=this;return(0,u.Z)(function*(){return(yield a.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(t._status="DELETE"),!1})()}saveProcesso(t,a){var n=this;return(0,u.Z)(function*(){let i=a;if(t.controls.cadeia_processo_id.value.length&&n.inputProcesso.selectedItem)return i.cadeia_processo_id=t.controls.cadeia_processo_id.value,i.processo=n.inputProcesso.selectedItem.entity,i})()}onEntregaChange(t){var a=this;return(0,u.Z)(function*(){if(a.entrega&&a.entrega.selectedItem){const n=a.entrega?.selectedEntity;switch(n.tipo_indicador){case"QUALITATIVO":a.itensQualitativo=n.lista_qualitativos||[],a.form?.controls.meta.setValue(a.itensQualitativo.length?a.itensQualitativo[0].key:null),a.form?.controls.realizado.setValue(a.itensQualitativo.length?a.itensQualitativo[0].key:null);break;case"VALOR":case"QUANTIDADE":a.form?.controls.meta.setValue(""),a.form?.controls.realizado.setValue(0);break;case"PORCENTAGEM":a.form?.controls.meta.setValue(100),a.form?.controls.realizado.setValue(0)}yield a.loadEtiquetas(),n.checklist&&a.loadChecklist(),a.calculaRealizado()}})()}loadEtiquetas(){var t=this;return(0,u.Z)(function*(){if(!t.etiquetasAscendentes.filter(a=>a.data==t.unidade?.selectedEntity?.id).length){let a=yield t.carregaEtiquetasUnidadesAscendentes(t.unidade?.selectedEntity);t.etiquetasAscendentes.push(...a)}t.etiquetas=t.util.merge(t.entrega?.selectedEntity?.etiquetas,t.unidade?.selectedEntity?.etiquetas,(a,n)=>a.key==n.key),t.etiquetas=t.util.merge(t.etiquetas,t.auth.usuario.config?.etiquetas,(a,n)=>a.key==n.key),t.etiquetas=t.util.merge(t.etiquetas,t.etiquetasAscendentes.filter(a=>a.data==t.unidade?.selectedEntity?.id),(a,n)=>a.key==n.key)})()}carregaEtiquetasUnidadesAscendentes(t){var a=this;return(0,u.Z)(function*(){let n=[],i=(t=t||a.auth.unidade).path.split("/");return(yield a.unidadeDao.query({where:[["id","in",i]]}).asPromise()).forEach(g=>{n=a.util.merge(n,g.etiquetas,(_,h)=>_.key==h.key)}),n.forEach(g=>g.data=t.id),n})()}loadChecklist(){let a=(this.entrega?.selectedEntity).checklist.map(n=>({id:n.id,texto:n.texto,checked:!1}));this.checklist=a||[],this.form.controls.checklist.setValue(a)}addItemHandleEtiquetas(){let t;if(this.etiqueta&&this.etiqueta.selectedItem){const a=this.etiqueta.selectedItem,n=a.key?.length?a.key:this.util.textHash(a.value);this.util.validateLookupItem(this.form.controls.etiquetas.value,n)&&(t={key:n,value:a.value,color:a.color,icon:a.icon},this.form.controls.etiqueta.setValue(""))}return t}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-form-entrega"]],viewQuery:function(a,n){if(1&a&&(e.Gf(U.Q,5),e.Gf(ia,5),e.Gf(la,5),e.Gf(sa,5),e.Gf(ra,5),e.Gf(da,5),e.Gf(ca,5),e.Gf(ua,5),e.Gf(ga,5),e.Gf(_a,5),e.Gf(pa,5),e.Gf(ma,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first),e.iGM(i=e.CRH())&&(n.gridProcessos=i.first),e.iGM(i=e.CRH())&&(n.gridObjetivos=i.first),e.iGM(i=e.CRH())&&(n.entregas=i.first),e.iGM(i=e.CRH())&&(n.planejamento=i.first),e.iGM(i=e.CRH())&&(n.cadeiaValor=i.first),e.iGM(i=e.CRH())&&(n.inputObjetivo=i.first),e.iGM(i=e.CRH())&&(n.inputProcesso=i.first),e.iGM(i=e.CRH())&&(n.entrega=i.first),e.iGM(i=e.CRH())&&(n.unidade=i.first),e.iGM(i=e.CRH())&&(n.tabs=i.first),e.iGM(i=e.CRH())&&(n.etiqueta=i.first)}},features:[e.qOj],decls:44,vars:57,consts:[["initialFocus","descricao",3,"form","disabled","title","submit","cancel"],["display","","right","",3,"title"],["tabs",""],["key","ENTREGAS","label","Entregas"],[1,"row"],["collapse","",3,"title","collapsed"],["label","T\xedtulo","controlName","descricao","required","",3,"size","placeholder"],["controlName","descricao_entrega",3,"size","label","placeholder"],["controlName","entrega_pai_id",3,"size","label","dao","where","selectRoute","metadata"],[1,"row","mt-4"],["editable","",3,"control","form","hasAdd","hasDelete"],["type","text","title","Texto","field","texto"],["type","options"],["date","","label","In\xedcio","controlName","data_inicio","required","",3,"size","labelInfo"],["date","","label","Fim","controlName","data_fim","required","",3,"size","labelInfo"],["label","Demandante","controlName","unidade_id","required","",3,"size","dao"],["unidade",""],["label","Destinat\xe1rio","controlName","destinatario","required","",3,"size"],["title","Planejamento"],["controlName","entrega_id","placeholder","Selecione ou cadastre uma meta do cat\xe1logo usando a lupa","required","",3,"size","label","dao","change"],["entrega",""],["label","Descri\xe7\xe3o da meta","controlName","descricao_meta","placeholder","Descreva a meta",3,"size"],["class","row",4,"ngIf","ngIfElse"],["naoSelecionou",""],["label","Etiquetas","controlName","etiquetas",3,"size","control","addItemHandle"],["controlName","etiqueta",3,"size","control","items"],["etiqueta",""],["key","OBJETIVOS","label","Objetivos",4,"ngIf"],["key","PROCESSOS","label","Processos",4,"ngIf"],["icon","bi bi-graph-up-arrow","label","Meta","labelInfo","Onde quero chegar ao final da entrega. Evolu\xe7\xe3o total da entrega, podendo ultrapassar o per\xedodo do plano de entregas",3,"entrega","size","control"],["label","Parcela da entrega no plano","controlName","progresso_esperado","sufix","%","labelInfo","Quanto vou caminhar nesse plano de entregas. Percentual do total da entrega que ser\xe1 realizado durante a vig\xeancia desse plano",3,"size"],["icon","bi bi-check-lg","label","Progresso ao in\xedcio do plano","labelInfo","De onde estou saindo nesse plano. Valor correspondente ao progresso verificado no planejamento do plano de entregas",3,"entrega","size","control","change"],["label","Progresso j\xe1 realizado","controlName","progresso_realizado","sufix","%","disabled","","labelInfo","Quanto caminhei no plano atual Evolu\xe7\xe3o j\xe1 realizada para a meta. No ato da cria\xe7\xe3o do plano, \xe9 o percentual de progresso ao in\xedcio do plano em rela\xe7\xe3o \xe0 meta",3,"size","stepValue"],["key","OBJETIVOS","label","Objetivos"],["controlName","planejamento_id","disabled","",3,"size","dao"],["planejamento",""],["editable","",3,"control","form","orderBy","hasDelete","hasEdit","add","remove","save"],["gridObjetivos",""],[3,"titleTemplate","template","editTemplate"],["titleObjetivo",""],["columnObjetivo",""],["editObjetivo",""],["by","objetivo.nome",3,"header"],["controlName","planejamento_objetivo_id",3,"size","where","dao","selectRoute"],["inputObjetivo",""],["key","PROCESSOS","label","Processos"],["controlName","cadeia_valor_id","disabled","",3,"size","dao"],["cadeiaValor",""],["gridProcessos",""],["titleProcessos",""],["processo",""],["editProcesso",""],["type","options",3,"dynamicButtons"],["by","processo.nome",3,"header"],["label","","icon","","controlName","cadeia_processo_id","label","",3,"size","where","dao","selectRoute"],["inputProcesso",""]],template:function(a,n){if(1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveEntrega()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"tabs",1,2)(3,"tab",3)(4,"div",4)(5,"separator",5)(6,"div",4),e._UZ(7,"input-text",6),e.qZA(),e.TgZ(8,"div",4),e._UZ(9,"input-textarea",7),e.qZA(),e.TgZ(10,"div",4),e._UZ(11,"input-search",8),e.qZA(),e.TgZ(12,"separator",5)(13,"div",9)(14,"h5"),e._uU(15,"Etapas"),e.qZA(),e.TgZ(16,"grid",10)(17,"columns"),e._UZ(18,"column",11)(19,"column",12),e.qZA()()()()(),e.TgZ(20,"separator",5)(21,"div",4),e._UZ(22,"input-datetime",13)(23,"input-datetime",14),e.qZA(),e.TgZ(24,"div",4),e._UZ(25,"input-search",15,16)(27,"input-text",17),e.qZA()(),e._UZ(28,"separator",18),e.TgZ(29,"div",4)(30,"input-search",19,20),e.NdJ("change",function(s){return n.onEntregaChange(s)}),e.qZA()(),e.TgZ(32,"div",4),e._UZ(33,"input-textarea",21),e.qZA(),e.YNc(34,ha,6,10,"div",22),e.YNc(35,fa,3,3,"ng-template",null,23,e.W1O),e.TgZ(37,"separator",5)(38,"div",4)(39,"input-multiselect",24),e._UZ(40,"input-select",25,26),e.qZA()()()()(),e.YNc(42,Ca,14,13,"tab",27),e.YNc(43,ya,14,14,"tab",28),e.qZA()()),2&a){const i=e.MAs(31),s=e.MAs(36);e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(1),e.Q6J("title",n.isModal?"":n.title),e.xp6(4),e.Q6J("title","Informa\xe7\xf5es gerais da "+n.lex.translate("entrega"))("collapsed",!1),e.xp6(2),e.Q6J("size",12)("placeholder","T\xedtulo da "+n.lex.translate("entrega")),e.uIk("maxlength",250),e.xp6(2),e.Q6J("size",12)("label","Descri\xe7\xe3o da "+n.lex.translate("entrega"))("placeholder","Descreva a "+n.lex.translate("entrega")),e.xp6(2),e.Q6J("size",12)("label","V\xednculo com "+n.lex.translate("entrega")+" de "+n.lex.translate("plano de entrega")+" superior")("dao",n.planoEntregaEntregaDao)("where",e.VKq(50,Ua,n.idsUnidadesAscendentes))("selectRoute",e.VKq(53,wa,e.DdM(52,La)))("metadata",e.VKq(55,qa,n.idsUnidadesAscendentes)),e.xp6(1),e.Q6J("title","Etapas da "+n.lex.translate("entrega"))("collapsed",!0),e.xp6(4),e.Q6J("control",n.form.controls.checklist)("form",n.formChecklist)("hasAdd",!0)("hasDelete",!0),e.xp6(4),e.Q6J("title","Especifica\xe7\xf5es da "+n.lex.translate("entrega"))("collapsed",!1),e.xp6(2),e.Q6J("size",6)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entregas")),e.xp6(1),e.Q6J("size",6)("labelInfo","Fim "+n.lex.translate("Plano de Entregas")+"(Estimativa Inicial)"),e.xp6(2),e.Q6J("size",6)("dao",n.unidadeDao),e.xp6(2),e.Q6J("size",6),e.uIk("maxlength",250),e.xp6(3),e.Q6J("size",12)("label",n.lex.translate("Tipo de Meta"))("dao",n.entregaDao),e.xp6(3),e.Q6J("size",12),e.xp6(1),e.Q6J("ngIf",null==i?null:i.selectedEntity)("ngIfElse",s),e.xp6(3),e.Q6J("title","Caracteriza\xe7\xe3o da "+n.lex.translate("entrega"))("collapsed",!1),e.xp6(2),e.Q6J("size",12)("control",n.form.controls.etiquetas)("addItemHandle",n.addItemHandleEtiquetas.bind(n)),e.xp6(1),e.Q6J("size",12)("control",n.form.controls.etiqueta)("items",n.etiquetas),e.xp6(2),e.Q6J("ngIf",null==n.planejamentoId?null:n.planejamentoId.length),e.xp6(1),e.Q6J("ngIf",null==n.cadeiaValorId?null:n.cadeiaValorId.length)}},dependencies:[O.O5,f.M,E.a,m.b,U.Q,J.V,G.m,oa.Q,q.k,F.p,le.p,pe.n,me.i,Y.N,$.l,W.l,ee]})}return o})();var Ee=r(8958),Qa=r(39);const Ra=["selectResponsaveis"];function Ja(o,l){1&o&&(e.TgZ(0,"strong"),e._uU(1,"Respons\xe1vel"),e.qZA())}function Ma(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.hij(" ",t.responsavel," ")}}function Sa(o,l){1&o&&(e.TgZ(0,"strong"),e._uU(1,"Criado em"),e.qZA())}function Va(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Oqu(a.util.getDateTimeFormatted(t.date_time))}}function za(o,l){1&o&&(e.TgZ(0,"div",2)(1,"div",17)(2,"strong"),e._uU(3,"Atributos"),e.qZA()(),e.TgZ(4,"div",18)(5,"strong"),e._uU(6,"Valores"),e._UZ(7,"br"),e._uU(8,"Atuais"),e.qZA()(),e.TgZ(9,"div",18)(10,"strong"),e._uU(11,"Valores"),e._UZ(12,"br"),e._uU(13,"Anteriores"),e.qZA()()())}function ja(o,l){if(1&o&&(e.TgZ(0,"tr")(1,"td",21),e._uU(2),e.qZA(),e.TgZ(3,"td",22),e._uU(4),e.qZA(),e.TgZ(5,"td",22),e._uU(6),e.qZA()()),2&o){const t=l.$implicit,a=e.oxw(2);e.xp6(2),e.Oqu(t[0]),e.xp6(2),e.Oqu("EDIT"==a.action||"ADD"==a.action?t[1]:""),e.xp6(2),e.Oqu("EDIT"==a.action?t[2]:"ADD"==a.action?"":t[1])}}function Ga(o,l){if(1&o&&(e.TgZ(0,"separator",19)(1,"table")(2,"tbody"),e.YNc(3,ja,7,3,"tr",20),e.qZA()()()),2&o){const t=l.row,a=e.oxw();e.Q6J("collapse","collapse")("collapsed",!0),e.xp6(3),e.Q6J("ngForOf",a.preparaDelta(t))}}let Fa=(()=>{class o extends d.E{constructor(t,a){super(t,Qa.R,Ee.D),this.injector=t,this.responsaveis=[],this.planoId="",this.action="",this.filterWhere=n=>{let i=[],s=n.value;return i.push(["table_name","==","planos_entregas"]),i.push(["row_id","==",this.planoId]),s.responsavel_id?.length&&i.push(["user_id","==","null"==s.responsavel_id?null:s.responsavel_id]),s.data_inicio&&i.push(["date_time",">=",s.data_inicio]),s.data_fim&&i.push(["date_time","<=",s.data_fim]),s.tipo?.length&&i.push(["type","==",s.tipo]),i},this.planoEntregaDao=t.get(Z.r),this.title="Logs de Planos de Entregas",this.filter=this.fh.FormBuilder({responsavel_id:{default:""},data_inicio:{default:""},data_fim:{default:""},tipo:{default:""}}),this.orderBy=[["id","desc"]]}ngOnInit(){super.ngOnInit(),this.planoId=this.urlParams?.get("id")||"",this.planoEntregaDao.getById(this.planoId).then(t=>this.planoEntrega=t)}ngAfterViewInit(){super.ngAfterViewInit()}filterClear(t){t.controls.responsavel_id.setValue(""),t.controls.data_inicio.setValue(""),t.controls.data_fim.setValue(""),t.controls.tipo.setValue(""),super.filterClear(t)}preparaDelta(t){this.action=t.type;let a=t.delta instanceof Array?t.delta:Object.entries(t.delta);return a.forEach(n=>{n[1]instanceof Date&&(n[1]=new Date(n[1]).toUTCString()),n.length>2&&n[2]instanceof Date&&(n[2]=new Date(n[2]).toUTCString())}),a}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3),e.Y36(Ee.D))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-list-logs"]],viewQuery:function(a,n){if(1&a&&(e.Gf(f.M,5),e.Gf(Ra,5)),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first),e.iGM(i=e.CRH())&&(n.selectResponsaveis=i.first)}},features:[e.qOj],decls:31,vars:30,consts:[[3,"dao","hasEdit","title","orderBy","groupBy","join"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel pelo registro","controlName","responsavel_id",3,"control","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio dos registros",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim dos registros",3,"size","control"],["label","Tipo","icon","bi bi-arrow-up-right-circle","controlName","tipo","itemTodos","Todos","valueTodos","",3,"size","control","items"],[3,"titleTemplate","template"],["titleResponsavel",""],["columnResponsavel",""],["titleDataCriacao",""],["columnDataCriacao",""],["titleDiferenca",""],["columnDiferenca",""],["title","Tipo de Opera\xe7\xe3o","field","type"],[3,"rows"],["width","150",1,"col","align-bottom"],["width","250",1,"col"],["title","(ver detalhes)",3,"collapse","collapsed"],[4,"ngFor","ngForOf"],["width","150"],["width","250"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0)(1,"span")(2,"strong"),e._uU(3),e.qZA()(),e._UZ(4,"toolbar"),e.TgZ(5,"filter",1)(6,"div",2),e._UZ(7,"input-select",3,4),e.qZA(),e.TgZ(9,"div",2),e._UZ(10,"input-datetime",5)(11,"input-datetime",6)(12,"input-select",7),e.qZA()(),e.TgZ(13,"columns")(14,"column",8),e.YNc(15,Ja,2,0,"ng-template",null,9,e.W1O),e.YNc(17,Ma,2,1,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(19,"column",8),e.YNc(20,Sa,2,0,"ng-template",null,11,e.W1O),e.YNc(22,Va,2,1,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(24,"column",8),e.YNc(25,za,14,0,"ng-template",null,13,e.W1O),e.YNc(27,Ga,4,3,"ng-template",null,14,e.W1O),e.qZA(),e._UZ(29,"column",15),e.qZA(),e._UZ(30,"pagination",16),e.qZA()),2&a){const i=e.MAs(16),s=e.MAs(18),g=e.MAs(21),_=e.MAs(23),h=e.MAs(26),v=e.MAs(28);e.Q6J("dao",n.dao)("hasEdit",!1)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join),e.xp6(3),e.Oqu((null==n.planoEntrega?null:n.planoEntrega.numero)+" - "+(null==n.planoEntrega?null:n.planoEntrega.nome)),e.xp6(2),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("control",n.filter.controls.responsavel_id)("items",n.responsaveis),e.xp6(3),e.Q6J("size",4)("control",n.filter.controls.data_inicio),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.data_fim),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.tipo)("items",n.lookup.TIPO_LOG_CHANGE),e.xp6(2),e.Q6J("titleTemplate",i)("template",s),e.xp6(5),e.Q6J("titleTemplate",g)("template",_),e.xp6(5),e.Q6J("titleTemplate",h)("template",v),e.xp6(6),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.sg,f.M,E.a,m.b,x.z,z.n,j.Q,q.k,F.p,Y.N]})}return o})();function ka(o,l){if(1&o&&(e.TgZ(0,"h3",18),e._uU(1),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Oqu(t.title)}}function Ba(o,l){if(1&o&&e._UZ(0,"toolbar",19),2&o){const t=e.oxw();e.Q6J("buttons",t.buttons)}}function Ya(o,l){if(1&o&&(e._uU(0),e._UZ(1,"br")(2,"badge",20)(3,"br")(4,"badge",21)),2&o){const t=l.row,a=e.oxw();e.hij(" ",t.descricao||"(n\xe3o informado)",""),e.xp6(2),e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",t.unidade.sigla||"(n\xe3o informado)"),e.xp6(2),e.Q6J("label",t.destinatario||"(n\xe3o informado)")}}function Ha(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e._uU(3),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Oqu(a.dao.getDateFormatted(t.data_inicio)),e.xp6(2),e.Oqu(a.dao.getDateFormatted(t.data_fim))}}function Wa(o,l){if(1&o&&(e.TgZ(0,"span",23),e._UZ(1,"i",24),e._uU(2),e.qZA()),2&o){const t=e.oxw().row;e.xp6(2),e.hij(" ",t.entrega.nome||t.entrega_pai.descricao," ")}}function Ka(o,l){1&o&&e.YNc(0,Wa,3,1,"span",22),2&o&&e.Q6J("ngIf",l.row.entrega)}function Xa(o,l){if(1&o&&e._UZ(0,"badge",25)(1,"br")(2,"badge",25),2&o){const t=l.row,a=e.oxw();e.Q6J("label",a.planoEntregaService.getValorMeta(t)),e.xp6(2),e.Q6J("label",a.planoEntregaService.getValorRealizado(t))}}function $a(o,l){1&o&&e._UZ(0,"progress-bar",26),2&o&&e.Q6J("value",l.row.progresso_realizado)}let en=(()=>{class o extends d.E{constructor(t){super(t,k.O,L.K),this.injector=t,this.buttons=[],this.idsUnidadesAscendentes=[],this.filterWhere=a=>{let n=a.value,i=[];return this.idsUnidadesAscendentes.length&&i.push(["plano_entrega.unidade_id","in",this.idsUnidadesAscendentes]),n.unidade_id?.length&&i.push(["unidade_id","==",n.unidade_id]),n.descricao?.length&&i.push(["descricao","like","%"+n.descricao.trim().replace(" ","%")+"%"]),n.descricao?.length&&i.push(["descricao_entrega","like","%"+n.descricao_entrega.trim().replace(" ","%")+"%"]),n.destinatario?.length&&i.push(["destinatario","like","%"+n.destinatario.trim().replace(" ","%")+"%"]),i},this.planoEntregaDao=t.get(L.K),this.unidadeDao=t.get(N.J),this.planoEntregaService=t.get(c.f),this.title=this.lex.translate("Entregas"),this.filter=this.fh.FormBuilder({descricao:{default:""},descricao_entrega:{default:""},unidade_id:{default:""},destinatario:{default:""}}),this.join=["entrega:id,nome","entrega_pai:id,descricao","unidade:id,sigla","plano_entrega:id,nome"],this.groupBy=[{field:"plano_entrega.nome",label:"Unidade"}]}ngOnInit(){super.ngOnInit(),this.idsUnidadesAscendentes=this.metadata?.idsUnidadesAscendentes||this.idsUnidadesAscendentes,this.filter?.controls.unidade_id.setValue(this.idsUnidadesAscendentes[0])}dynamicOptions(t){let a=[];return a.push({label:"Informa\xe7\xf5es",icon:"bi bi-info-circle",onClick:n=>this.go.navigate({route:["gestao","planejamento","objetivo",n.id,"consult"]},{modal:!0})}),a}filterClear(t){super.filterClear(t)}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-plano-entrega-list-entrega-list"]],viewQuery:function(a,n){if(1&a&&e.Gf(f.M,5),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first)}},features:[e.qOj],decls:26,vars:32,consts:[["class","my-2",4,"ngIf"],[3,"dao","orderBy","groupBy","join","selectable","select"],[3,"buttons",4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Unidade","controlName","unidade_id",3,"size","control","dao"],["label","T\xedtulo da entrega","controlName","descricao","placeholder","T\xedtulo",3,"size","control"],["label","Descri\xe7\xe3o da entrega","controlName","descricao_entrega","placeholder","Descri\xe7\xe3o",3,"size","control"],[3,"title","template"],["columnEntregaCliente",""],["columnDatas",""],["title","Entrega",3,"template"],["columnIndicador",""],["columnMetaRealizado",""],["title","Progresso",3,"template"],["columnProgresso",""],["type","options"],[3,"rows"],[1,"my-2"],[3,"buttons"],["color","success",3,"icon","label"],["icon","bi bi-mailbox","color","light",3,"label"],["class","badge bg-light text-dark",4,"ngIf"],[1,"badge","bg-light","text-dark"],[1,"bi","bi-list-check"],["color","light",3,"label"],["color","success",3,"value"]],template:function(a,n){if(1&a&&(e.YNc(0,ka,2,1,"h3",0),e.TgZ(1,"grid",1),e.NdJ("select",function(s){return n.onSelect(s)}),e.YNc(2,Ba,1,1,"toolbar",2),e.TgZ(3,"filter",3)(4,"div",4),e._UZ(5,"input-search",5)(6,"input-text",6)(7,"input-text",7),e.qZA()(),e.TgZ(8,"columns")(9,"column",8),e.YNc(10,Ya,5,4,"ng-template",null,9,e.W1O),e.qZA(),e.TgZ(12,"column",8),e.YNc(13,Ha,4,2,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(15,"column",11),e.YNc(16,Ka,1,1,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(18,"column",8),e.YNc(19,Xa,3,2,"ng-template",null,13,e.W1O),e.qZA(),e.TgZ(21,"column",14),e.YNc(22,$a,1,1,"ng-template",null,15,e.W1O),e.qZA(),e._UZ(24,"column",16),e.qZA(),e._UZ(25,"pagination",17),e.qZA()),2&a){const i=e.MAs(11),s=e.MAs(14),g=e.MAs(17),_=e.MAs(20),h=e.MAs(23);e.Q6J("ngIf",!n.isModal),e.xp6(1),e.Q6J("dao",n.dao)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join)("selectable",n.selectable),e.xp6(1),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("clear",n.filterClear.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("size",4)("control",n.filter.controls.unidade_id)("dao",n.unidadeDao),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.descricao),e.uIk("maxlength",250),e.xp6(1),e.Q6J("size",4)("control",n.filter.controls.descricao_entrega),e.uIk("maxlength",250),e.xp6(2),e.Q6J("title","Entrega\nDemandante\nDestinat\xe1rio")("template",i),e.xp6(3),e.Q6J("title","Data In\xedcio\nData Fim")("template",s),e.xp6(3),e.Q6J("template",g),e.xp6(3),e.Q6J("title","Meta\nRealizado")("template",_),e.xp6(3),e.Q6J("template",h),e.xp6(4),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,E.a,m.b,x.z,z.n,j.Q,J.V,G.m,y.F,H.R]})}return o})();var tn=r(38),an=r(6976);let Ae=(()=>{class o extends an.B{constructor(t){super("PlanoEntregaEntregaProgresso",t),this.injector=t,this.inputSearchConfig.searchFields=["data_progresso"]}static#e=this.\u0275fac=function(a){return new(a||o)(e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();class X extends w.X{constructor(l){super(),this.data_inicio=new Date,this.data_fim=null,this.data_progresso=null,this.homologado=!1,this.meta={},this.realizado={},this.progresso_esperado=100,this.progresso_realizado=0,this.plano_entrega_entrega_id="",this.usuario_id="",this.initialization(l)}}function nn(o,l){1&o&&e._UZ(0,"toolbar")}function on(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_progresso),"")}}function ln(o,l){1&o&&e.YNc(0,on,2,1,"span",1),2&o&&e.Q6J("ngIf",l.row.data_progresso)}function sn(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_inicio),"")}}function rn(o,l){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const t=e.oxw().row,a=e.oxw();e.xp6(1),e.hij(" ",a.dao.getDateFormatted(t.data_fim),"")}}function dn(o,l){if(1&o&&(e.YNc(0,sn,2,1,"span",1),e._UZ(1,"br"),e.YNc(2,rn,2,1,"span",1)),2&o){const t=l.row;e.Q6J("ngIf",t.data_inicio),e.xp6(2),e.Q6J("ngIf",t.data_fim)}}function cn(o,l){if(1&o&&e._UZ(0,"badge",15)(1,"br")(2,"badge",16),2&o){const t=l.row,a=e.oxw();e.Q6J("textValue",a.planoEntregaService.getValorMeta(t.plano_entrega_entrega)),e.xp6(2),e.Q6J("textValue",a.planoEntregaService.getValorRealizado(t.plano_entrega_entrega))}}function un(o,l){if(1&o&&e._UZ(0,"progress-bar",17),2&o){const t=l.row;e.Q6J("value",t.progresso_realizado)("goal",t.progresso_esperado)}}let gn=(()=>{class o extends d.E{constructor(t){super(t,X,Ae),this.injector=t,this.planoEntregaEntregaId="",this.filterWhere=a=>{let n=[],i=a.value;return i.data_inicial_progresso&&n.push(["data_progresso",">=",i.data_inicial_progresso]),i.data_final_progresso&&n.push(["data_progresso","<=",i.data_final_progresso]),n.push(["plano_entrega_entrega_id","==",this.planoEntregaEntregaId]),n},this.planoEntregaService=t.get(c.f),this.title=this.lex.translate("Hist\xf3rico de execu\xe7\xe3o"),this.orderBy=[["data_progresso","desc"]],this.join=["plano_entrega_entrega.entrega"],this.filter=this.fh.FormBuilder({data_inicial_progresso:{default:null},data_final_progresso:{default:null}}),this.addOption(Object.assign({onClick:this.delete.bind(this)},this.OPTION_EXCLUIR),"MOD_PENT_ENTR_PRO_EXCL")}onGridLoad(t){t?.forEach(a=>a.entrega=a.plano_entrega_entrega?.entrega)}ngOnInit(){super.ngOnInit(),this.planoEntregaEntregaId=this.urlParams.get("entrega_id")||""}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-plano-entrega-list-progresso"]],viewQuery:function(a,n){if(1&a&&e.Gf(f.M,5),2&a){let i;e.iGM(i=e.CRH())&&(n.grid=i.first)}},features:[e.qOj],decls:21,vars:38,consts:[[3,"dao","add","title","orderBy","groupBy","join","selectable","hasAdd","hasEdit","loadList","select"],[4,"ngIf"],[3,"deleted","form","where","submit","collapseChange","collapsed"],[1,"row"],["noIcon","","label","Data inical do progresso","controlName","data_inicial_progresso","labelInfo","Data que foi registrado o progresso",3,"size","control"],["noIcon","","label","Data final do progresso","controlName","data_final_progresso","labelInfo","Data que foi registrado o progresso",3,"size","control"],[3,"title","template","editTemplate"],["columnProgressoData",""],["columnDatas",""],[3,"title","width","template"],["columnMetaRealizado",""],[3,"title","width","template","editTemplate","columnEditTemplate"],["columnProgresso",""],["type","options",3,"onEdit","options"],[3,"rows"],["icon","bi bi-graph-up-arrow","color","light","hint","Planejada",3,"textValue"],["icon","bi bi-check-lg","color","light","hint","Realizada",3,"textValue"],["color","success",3,"value","goal"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0),e.NdJ("select",function(s){return n.onSelect(s)}),e.YNc(1,nn,1,0,"toolbar",1),e.TgZ(2,"filter",2)(3,"div",3),e._UZ(4,"input-datetime",4)(5,"input-datetime",5),e.qZA()(),e.TgZ(6,"columns")(7,"column",6),e.YNc(8,ln,1,1,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(10,"column",6),e.YNc(11,dn,3,2,"ng-template",null,8,e.W1O),e.qZA(),e.TgZ(13,"column",9),e.YNc(14,cn,3,2,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(16,"column",11),e.YNc(17,un,1,2,"ng-template",null,12,e.W1O),e.qZA(),e._UZ(19,"column",13),e.qZA(),e._UZ(20,"pagination",14),e.qZA()),2&a){const i=e.MAs(9),s=e.MAs(12),g=e.MAs(15),_=e.MAs(18);e.Q6J("dao",n.dao)("add",n.add)("title",n.isModal?"":n.title)("orderBy",n.orderBy)("groupBy",n.groupBy)("join",n.join)("selectable",n.selectable)("hasAdd",n.auth.hasPermissionTo("MOD_PENT_ENTR_PRO_INCL"))("hasEdit",n.auth.hasPermissionTo("MOD_PENT_ENTR_PRO_EDT"))("loadList",n.onGridLoad.bind(n)),e.xp6(1),e.Q6J("ngIf",!n.selectable),e.xp6(1),e.Q6J("deleted",n.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",n.filter)("where",n.filterWhere)("submit",n.filterSubmit.bind(n))("collapseChange",n.filterCollapseChange.bind(n))("collapsed",!n.selectable&&n.filterCollapsed),e.xp6(2),e.Q6J("size",3)("control",n.filter.controls.data_inicial_progresso),e.xp6(1),e.Q6J("size",3)("control",n.filter.controls.data_final_progresso),e.xp6(2),e.Q6J("title","Data progresso")("template",i)("editTemplate",i),e.xp6(3),e.Q6J("title","Data In\xedcio\nData Fim")("template",s)("editTemplate",s),e.xp6(3),e.Q6J("title","Meta")("width",100)("template",g),e.xp6(3),e.Q6J("title","Progresso")("width",200)("template",_)("editTemplate",_)("columnEditTemplate",n.selectable?void 0:_),e.xp6(3),e.Q6J("onEdit",n.edit)("options",n.options),e.xp6(1),e.Q6J("rows",n.rowsLimit)}},dependencies:[O.O5,f.M,E.a,m.b,x.z,z.n,j.Q,q.k,y.F,H.R]})}return o})(),Te=(()=>{class o extends K.F{constructor(t){super(t,X,Ae),this.injector=t,this.validate=(a,n)=>{let i=null;return["progresso_realizado","realizado"].indexOf(n)>=0&&!(a.value>=0||a.value?.length>0)||["progresso_esperado","meta"].indexOf(n)>=0&&!(a.value>0||a.value?.length>0)?i="Obrigat\xf3rio":(["data_inicio"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value)||["data_fim"].indexOf(n)>=0&&!this.dao?.validDateTime(a.value))&&(i="Inv\xe1lido"),i},this.titleEdit=a=>"Editando "+this.lex.translate("Progresso da entrega")+": "+(a?.entrega?.descricao||""),this.planoEntregaService=t.get(c.f),this.planoEntregaEntregaDao=t.get(L.K),this.join=["plano_entrega_entrega.entrega"],this.form=this.fh.FormBuilder({data_progresso:{default:new Date},data_inicio:{default:new Date},data_fim:{default:new Date},meta:{default:100},realizado:{default:null},progresso_esperado:{default:100},progresso_realizado:{default:null},usuario_id:{default:null},plano_entrega_entrega_id:{default:null}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit(),this.planoEntregaEntregaId=this.urlParams.get("entrega_id")}loadData(t,a){var n=this;return(0,u.Z)(function*(){let i=Object.assign({},a.value),{meta:s,realizado:g,..._}=t;a.patchValue(n.util.fillForm(i,_)),a.controls.meta.setValue(n.planoEntregaService.getValor(t.meta)),a.controls.realizado.setValue(n.planoEntregaService.getValor(t.realizado))})()}initializeData(t){var a=this;return(0,u.Z)(function*(){a.entity=new X,a.planoEntregaEntrega=a.planoEntregaEntregaId?yield a.planoEntregaEntregaDao.getById(a.planoEntregaEntregaId,["entrega"]):void 0,a.entity.usuario_id=a.auth.usuario.id,a.entity.plano_entrega_entrega_id=a.planoEntregaEntrega?.id,a.entity.plano_entrega_entrega=a.planoEntregaEntrega,a.entity.meta=a.planoEntregaEntrega?.meta,a.entity.realizado=a.planoEntregaEntrega?.realizado,a.entity.progresso_esperado=a.planoEntregaEntrega?.progresso_esperado,a.entity.progresso_realizado=a.planoEntregaEntrega?.progresso_realizado,a.entity.data_inicio=a.planoEntregaEntrega?.data_inicio,a.entity.data_fim=a.planoEntregaEntrega?.data_fim,yield a.loadData(a.entity,t)})()}saveData(t){return new Promise((a,n)=>{let i=this.util.fill(new X,this.entity),{meta:s,realizado:g,..._}=this.form.value;i=this.util.fillForm(i,_),i.meta=this.planoEntregaService.getEntregaValor(this.entity.plano_entrega_entrega?.entrega,s),i.realizado=this.planoEntregaService.getEntregaValor(this.entity.plano_entrega_entrega?.entrega,g),a(i)})}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-form-progresso"]],viewQuery:function(a,n){if(1&a&&e.Gf(U.Q,5),2&a){let i;e.iGM(i=e.CRH())&&(n.editableForm=i.first)}},features:[e.qOj],decls:11,vars:16,consts:[["initialFocus","data_progresso",3,"form","disabled","title","submit","cancel"],[1,"row"],["date","","label","Data do progresso","controlName","data_progresso","required","",3,"size"],["date","","label","In\xedcio","controlName","data_inicio","required","",3,"size","labelInfo"],["date","","label","Fim","controlName","data_fim","required","",3,"size","labelInfo"],["icon","bi bi-graph-up-arrow","label","Meta",3,"entrega","size","control"],["icon","bi bi-check-lg","label","Valor Inicial","labelInfo","Valor da meta verificado no in\xedcio do plano de entrega",3,"entrega","size","control"],["label","Progresso Esperado","controlName","progresso_esperado","sufix","%",3,"size"],["label","Progresso Realizado","controlName","progresso_realizado","sufix","%",3,"size"]],template:function(a,n){1&a&&(e.TgZ(0,"editable-form",0),e.NdJ("submit",function(){return n.onSaveData()})("cancel",function(){return n.onCancel()}),e.TgZ(1,"div",1),e._UZ(2,"input-datetime",2)(3,"input-datetime",3)(4,"input-datetime",4),e.qZA(),e.TgZ(5,"div",1),e._UZ(6,"plano-entrega-valor-meta-input",5)(7,"plano-entrega-valor-meta-input",6),e.qZA(),e.TgZ(8,"div",1),e._UZ(9,"input-number",7)(10,"input-number",8),e.qZA()()),2&a&&(e.Q6J("form",n.form)("disabled",n.formDisabled)("title",n.isModal?"":n.title),e.xp6(2),e.Q6J("size",4),e.xp6(1),e.Q6J("size",4)("labelInfo","In\xedcio "+n.lex.translate("Plano de Entregas")),e.xp6(1),e.Q6J("size",4)("labelInfo","Fim "+n.lex.translate("Plano de Entregas")+"(Estimativa Inicial)"),e.xp6(2),e.Q6J("entrega",null==n.entity||null==n.entity.plano_entrega_entrega?null:n.entity.plano_entrega_entrega.entrega)("size",6)("control",n.form.controls.meta),e.xp6(1),e.Q6J("entrega",null==n.entity||null==n.entity.plano_entrega_entrega?null:n.entity.plano_entrega_entrega.entrega)("size",6)("control",n.form.controls.realizado),e.xp6(2),e.Q6J("size",6),e.xp6(1),e.Q6J("size",6))},dependencies:[U.Q,q.k,W.l,ee]})}return o})();var _n=r(7744),pn=r(9173),mn=r(684),hn=r(4971);const fn=["listaAtividades"];function vn(o,l){1&o&&(e.TgZ(0,"b"),e._uU(1,"Descri\xe7\xe3o"),e.qZA())}function bn(o,l){if(1&o&&(e.TgZ(0,"span",8),e._uU(1),e.qZA(),e._UZ(2,"reaction",9)),2&o){const t=l.row;e.xp6(1),e.Oqu(t.descricao),e.xp6(1),e.Q6J("entity",t)}}function En(o,l){if(1&o&&(e._uU(0," Un./"),e.TgZ(1,"order",10),e._uU(2,"Respons\xe1vel"),e.qZA(),e._UZ(3,"br"),e.TgZ(4,"order",11),e._uU(5,"Demandante"),e.qZA()),2&o){const t=l.header;e.xp6(1),e.Q6J("header",t),e.xp6(3),e.Q6J("header",t)}}function An(o,l){if(1&o&&(e.TgZ(0,"div",12),e._UZ(1,"badge",13)(2,"badge",14),e.qZA(),e._UZ(3,"badge",15)),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Q6J("label",t.unidade.sigla),e.xp6(1),e.Q6J("icon","bi "+(null!=t.usuario&&null!=t.usuario.nome&&t.usuario.nome.length?"bi-person-check":"bi-person-x"))("label",a.util.apelidoOuNome(t.usuario,!0)||"(N\xe3o atribu\xeddo)")("hint","Respons\xe1vel: "+((null==t.usuario?null:t.usuario.nome)||"N\xe3o atribuido a nenhum usu\xe1rio")),e.xp6(1),e.Q6J("label",a.util.apelidoOuNome(t.demandante,!0)||"Desconhecido")("hint","Demandante: "+((null==t.demandante?null:t.demandante.nome)||"Desconhecido"))}}function Tn(o,l){1&o&&e._UZ(0,"progress-bar",16),2&o&&e.Q6J("value",l.row.progresso)}let On=(()=>{class o extends B.D{set entregaId(t){this._entregaId!=t&&(this._entregaId=t)}get entregaId(){return this._entregaId}constructor(t){super(t),this.injector=t,this.items=[],this.loader=!1,this.AtividadeDao=t.get(hn.P),this.join=["unidade","usuario","demandante","reacoes.usuario:id,nome,apelido"]}ngOnInit(){super.ngOnInit(),this.loadData()}loadData(){this.loader=!0,this.AtividadeDao.query({where:[["plano_trabalho_entrega_id","==",this._entregaId],["unidades_subordinadas","==",!0]],join:this.join}).asPromise().then(t=>{this.items=t}).finally(()=>{this.loader=!1})}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-trabalho-entrega-atividades"]],viewQuery:function(a,n){if(1&a&&e.Gf(fn,5),2&a){let i;e.iGM(i=e.CRH())&&(n.listaAtividades=i.first)}},inputs:{entregaId:"entregaId"},features:[e.qOj],decls:17,vars:10,consts:[[3,"items","loading"],[3,"titleTemplate","template"],["titleIdAtividadeDescricao",""],["columnAtividadeDescricao",""],["titleUnResponsavelDemandante",""],["columnPessoas",""],[3,"title","width","template"],["columnProgressoEtiquetasChecklist",""],[1,"micro-text","fw-ligh","atividade-descricao"],["origem","ATIVIDADE",3,"entity"],["by","usuario.nome",3,"header"],["by","demandante.nome",3,"header"],[1,"text-nowrap"],["icon","bi bi-briefcase","color","light",3,"label"],["color","light",3,"icon","label","hint"],["icon","bi bi-cursor","color","light",3,"label","hint"],["color","success",3,"value"]],template:function(a,n){if(1&a&&(e.TgZ(0,"h5"),e._uU(1),e.qZA(),e.TgZ(2,"grid",0)(3,"columns")(4,"column",1),e.YNc(5,vn,2,0,"ng-template",null,2,e.W1O),e.YNc(7,bn,3,2,"ng-template",null,3,e.W1O),e.qZA(),e.TgZ(9,"column",1),e.YNc(10,En,6,2,"ng-template",null,4,e.W1O),e.YNc(12,An,4,6,"ng-template",null,5,e.W1O),e.qZA(),e.TgZ(14,"column",6),e.YNc(15,Tn,1,1,"ng-template",null,7,e.W1O),e.qZA()()()),2&a){const i=e.MAs(6),s=e.MAs(8),g=e.MAs(11),_=e.MAs(13),h=e.MAs(16);e.xp6(1),e.hij("",n.lex.translate("Atividades"),":"),e.xp6(1),e.Q6J("items",n.items)("loading",n.loader),e.xp6(2),e.Q6J("titleTemplate",i)("template",s),e.xp6(5),e.Q6J("titleTemplate",g)("template",_),e.xp6(5),e.Q6J("title","Progresso")("width",200)("template",h)}},dependencies:[f.M,E.a,m.b,$.l,y.F,H.R,se.C]})}return o})();const Cn=["accordionUser"];function In(o,l){}function Pn(o,l){1&o&&e._UZ(0,"plano-trabalho-entrega-atividades",29),2&o&&e.Q6J("entregaId",l.row.id)}function Zn(o,l){1&o&&(e.TgZ(0,"div",30)(1,"span")(2,"strong"),e._uU(3,"Plano de trabalho"),e.qZA()()())}function Dn(o,l){if(1&o&&(e.TgZ(0,"span",31),e._uU(1),e._UZ(2,"br"),e._uU(3),e.qZA()),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.xp6(1),e.hij("",a.PlanoTrabalhoDao.getDateFormatted(t.data_inicio)," "),e.xp6(2),e.Oqu(" at\xe9 "+a.PlanoTrabalhoDao.getDateFormatted(t.data_fim))}}function xn(o,l){1&o&&(e.TgZ(0,"div",30)(1,"span")(2,"strong"),e._uU(3,"Origem"),e.qZA()()())}function Nn(o,l){if(1&o&&e._UZ(0,"badge",37),2&o){const t=e.oxw().row,a=e.oxw(3);e.Q6J("label",(null==t.plano_entrega_entrega||null==t.plano_entrega_entrega.plano_entrega||null==t.plano_entrega_entrega.plano_entrega.unidade?null:t.plano_entrega_entrega.plano_entrega.unidade.sigla)||"Desconhecido")("icon",a.entityService.getIcon("Unidade"))}}function yn(o,l){if(1&o&&e._UZ(0,"badge",38),2&o){const t=e.oxw().row;e.Q6J("label",t.orgao)}}function Un(o,l){if(1&o&&(e.TgZ(0,"div",32)(1,"div",33),e._UZ(2,"badge",34),e.YNc(3,Nn,1,2,"badge",35),e.YNc(4,yn,1,1,"badge",36),e.qZA()()),2&o){const t=l.row,a=e.oxw(3);e.xp6(2),e.Q6J("label",a.planoTrabalhoService.tipoEntrega(t,a.entity).titulo)("color",a.planoTrabalhoService.tipoEntrega(t,a.entity).cor),e.xp6(1),e.Q6J("ngIf",null==t.plano_entrega_entrega_id?null:t.plano_entrega_entrega_id.length),e.xp6(1),e.Q6J("ngIf",null==t.orgao?null:t.orgao.length)}}function Ln(o,l){if(1&o&&(e.TgZ(0,"div",30)(1,"small"),e._UZ(2,"badge",39),e.qZA()()),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.xp6(2),e.Q6J("color",100==a.totalForcaTrabalho(t.entregas)?"success":"warning")("label",a.totalForcaTrabalho(t.entregas)+"%")}}function wn(o,l){if(1&o&&(e.TgZ(0,"small"),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(t.forca_trabalho+"%")}}function qn(o,l){1&o&&(e.TgZ(0,"div",30)(1,"span")(2,"strong"),e._uU(3,"Detalhamento/Descri\xe7\xe3o dos Trabalhos"),e.qZA()()())}function Qn(o,l){if(1&o&&(e.TgZ(0,"small",30),e._uU(1),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(t.descricao)}}function Rn(o,l){if(1&o&&e._UZ(0,"badge",40),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.Q6J("color",a.lookup.getColor(a.lookup.PLANO_TRABALHO_STATUS,t.status))("icon",a.lookup.getIcon(a.lookup.PLANO_TRABALHO_STATUS,t.status))("label",a.lookup.getValue(a.lookup.PLANO_TRABALHO_STATUS,t.status))}}function Jn(o,l){if(1&o&&(e.TgZ(0,"div",12)(1,"div",13)(2,"grid",14)(3,"columns")(4,"column",15),e.YNc(5,Pn,1,1,"ng-template",null,16,e.W1O),e.qZA(),e.TgZ(7,"column",17),e.YNc(8,Zn,4,0,"ng-template",null,18,e.W1O),e.YNc(10,Dn,4,2,"ng-template",null,19,e.W1O),e.qZA(),e.TgZ(12,"column",20),e.YNc(13,xn,4,0,"ng-template",null,21,e.W1O),e.YNc(15,Un,5,4,"ng-template",null,22,e.W1O),e.qZA(),e.TgZ(17,"column",23),e.YNc(18,Ln,3,2,"ng-template",null,9,e.W1O),e.YNc(20,wn,2,1,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(22,"column",24),e.YNc(23,qn,4,0,"ng-template",null,25,e.W1O),e.YNc(25,Qn,2,1,"ng-template",null,26,e.W1O),e.qZA(),e.TgZ(27,"column",27),e.YNc(28,Rn,1,3,"ng-template",null,28,e.W1O),e.qZA()()()()()),2&o){const t=l.$implicit,a=e.MAs(6),n=e.MAs(9),i=e.MAs(11),s=e.MAs(14),g=e.MAs(16),_=e.MAs(19),h=e.MAs(21),v=e.MAs(24),M=e.MAs(26),Q=e.MAs(29);e.xp6(2),e.Q6J("items",t.entregas),e.xp6(2),e.Akn("vertical-align:middle"),e.Q6J("expandTemplate",a),e.xp6(3),e.Q6J("template",i)("titleTemplate",n),e.xp6(5),e.Q6J("titleTemplate",s)("template",g)("verticalAlign","middle")("width",300)("align","center"),e.xp6(5),e.Q6J("titleTemplate",_)("title","% CHD")("template",h)("width",125)("align","center")("titleHint","% Carga Hor\xe1ria Dispon\xedvel"),e.xp6(5),e.Q6J("maxWidth",250)("titleTemplate",v)("template",M)("verticalAlign","middle")("align","center"),e.xp6(5),e.Q6J("template",Q)}}function Mn(o,l){if(1&o&&(e.TgZ(0,"h5"),e._uU(1,"Entregas do plano:"),e.qZA(),e._UZ(2,"hr"),e.YNc(3,Jn,30,23,"div",11)),2&o){const t=l.row;e.xp6(3),e.Q6J("ngForOf",t.planos_trabalho)}}function Sn(o,l){1&o&&(e.TgZ(0,"b"),e._uU(1,"Participante"),e.qZA())}function Vn(o,l){if(1&o&&(e.TgZ(0,"b"),e._uU(1),e.qZA(),e._UZ(2,"br"),e.TgZ(3,"small"),e._uU(4),e.qZA()),2&o){const t=l.row;e.xp6(1),e.Oqu(t.nome),e.xp6(3),e.Oqu(t.apelido||"")}}function zn(o,l){}function jn(o,l){if(1&o&&(e.TgZ(0,"small"),e._UZ(1,"badge",39),e.qZA()),2&o){const t=l.row,a=e.oxw();e.xp6(1),e.Q6J("color",100==a.totalForcaTrabalho(a.planoAtivo(t.planos_trabalho).entregas)?"success":"warning")("label",a.totalForcaTrabalho(a.planoAtivo(t.planos_trabalho).entregas)+"%")}}let Gn=(()=>{class o extends B.D{set entregaId(t){this._entregaId!=t&&(this._entregaId=t)}get entregaId(){return this._entregaId}constructor(t){super(t),this.injector=t,this.items=[],this.loader=!1,this.PlanoTrabalhoDao=t.get(_n.t),this.PlanoTrabalhoEntregaDao=t.get(pn.w),this.planoTrabalhoService=t.get(mn.p),this.join=["plano_trabalho.usuario","plano_entrega_entrega.plano_entrega.unidade"],this.groupBy=[{field:"plano_trabalho.usuario",label:"Usu\xe1rio"}]}ngOnInit(){super.ngOnInit(),this.loadData()}loadData(){this.loader=!0,this.cdRef.detectChanges();try{this.PlanoTrabalhoEntregaDao.query({where:[["plano_entrega_entrega_id","==",this._entregaId],["planoTrabalho.status","in",["ATIVO","CONCLUIDO","AVALIADO"]]],join:this.join}).asPromise().then(t=>{t.forEach(a=>{const n=a.plano_trabalho.usuario;if(n){const i=n.id;let s=this.items.find(v=>v.id===i);s||(s={...n,planos_trabalho:[],initialization(v){}},this.items.push(s));const g=a.plano_trabalho.id;let _=s.planos_trabalho.find(v=>v.id===g);_||(_={...a.plano_trabalho,entregas:[],initialization(v){}},s.planos_trabalho.push(_));const h={...a,initialization(v){}};_.entregas.push(h)}})}).finally(()=>{this.loader=!1,this.cdRef.detectChanges()})}catch{console.log("Erro")}}totalForcaTrabalho(t=[]){const a=t.map(n=>1*n.forca_trabalho).reduce((n,i)=>n+i,0);return Math.round(100*a)/100}planoAtivo(t){return t.find(n=>"ATIVO"===n.status)||{}}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-entregas-plano-trabalho"]],viewQuery:function(a,n){if(1&a&&e.Gf(Cn,5),2&a){let i;e.iGM(i=e.CRH())&&(n.accordionUser=i.first)}},inputs:{entregaId:"entregaId"},features:[e.qOj],decls:18,vars:11,consts:[[3,"items","loading"],["accordionUser",""],["type","expand",3,"expandTemplate","template","width"],["usuarioSectionTitle",""],["columnExpandeEntregas",""],[3,"titleTemplate","template"],["titleParticipante",""],["columnParticipante",""],[3,"titleTemplate","template","title","titleHint"],["titleForcaTrabalho",""],["columnForcaTrabalho",""],["class","card mb-2",4,"ngFor","ngForOf"],[1,"card","mb-2"],[1,"card-body"],[3,"items"],["type","expand",3,"expandTemplate"],["columnExpandedAtividades",""],[3,"template","titleTemplate"],["titlePlano",""],["columnPlano",""],[3,"titleTemplate","template","verticalAlign","width","align"],["titleOrigem",""],["columnOrigem",""],[3,"titleTemplate","title","template","width","align","titleHint"],[3,"maxWidth","titleTemplate","template","verticalAlign","align"],["titleDescricao",""],["columnDescricao",""],["title","Status",3,"template"],["columnStatus",""],[3,"entregaId"],[1,"text-center"],[1,"d-block","text-center"],[1,"w-100","d-flex","justify-content-center"],[1,"one-per-line"],[3,"label","color"],["color","primary",3,"label","icon",4,"ngIf"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label",4,"ngIf"],["color","primary",3,"label","icon"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label"],["icon","bi bi-calculator",3,"color","label"],[3,"color","icon","label"]],template:function(a,n){if(1&a&&(e.TgZ(0,"grid",0,1)(2,"columns")(3,"column",2),e.YNc(4,In,0,0,"ng-template",null,3,e.W1O),e.YNc(6,Mn,4,1,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(8,"column",5),e.YNc(9,Sn,2,0,"ng-template",null,6,e.W1O),e.YNc(11,Vn,5,2,"ng-template",null,7,e.W1O),e.qZA(),e.TgZ(13,"column",8),e.YNc(14,zn,0,0,"ng-template",null,9,e.W1O),e.YNc(16,jn,2,2,"ng-template",null,10,e.W1O),e.qZA()()()),2&a){const i=e.MAs(5),s=e.MAs(7),g=e.MAs(10),_=e.MAs(12),h=e.MAs(15),v=e.MAs(17);e.Q6J("items",n.items)("loading",n.loader),e.xp6(3),e.Q6J("expandTemplate",s)("template",i)("width",40),e.xp6(5),e.Q6J("titleTemplate",g)("template",_),e.xp6(5),e.Q6J("titleTemplate",h)("template",v)("title","% CHD")("titleHint","% Carga Hor\xe1ria Dispon\xedvel")}},dependencies:[O.sg,O.O5,f.M,E.a,m.b,y.F,On]})}return o})();var Oe=r(5471),Fn=r(9838);function kn(o,l){if(1&o&&e._UZ(0,"badge",8),2&o){const t=e.oxw().$implicit,a=e.oxw(2);e.Q6J("icon",a.entityService.getIcon("Unidade"))("label",null==t.data||null==t.data.unidade?null:t.data.unidade.sigla)}}function Bn(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"div",4),e._uU(1),e.qZA(),e.YNc(2,kn,1,2,"badge",5),e._UZ(3,"br"),e.TgZ(4,"button",6),e.NdJ("click",function(){const i=e.CHM(t).$implicit,s=e.oxw(2);return e.KtG(s.showDetalhes(i.data))}),e._UZ(5,"i",7),e.qZA()}if(2&o){const t=l.$implicit;e.xp6(1),e.Oqu(t.label),e.xp6(1),e.Q6J("ngIf",null==t.data?null:t.data.unidade)}}function Yn(o,l){if(1&o&&(e.TgZ(0,"p-organizationChart",2),e.YNc(1,Bn,6,2,"ng-template",3),e.qZA()),2&o){const t=e.oxw();e.Q6J("value",t.entregasVinculadas)}}function Hn(o,l){1&o&&(e.TgZ(0,"div",9)(1,"div",10),e._UZ(2,"span",11),e.qZA()())}let Wn=(()=>{class o extends B.D{set entregaId(t){this._entregaId!=t&&(this._entregaId=t)}get entregaId(){return this._entregaId}constructor(t){super(t),this.injector=t,this.loader=!1,this.entregasVinculadas=[],this.planoEntregaEntregaDao=t.get(L.K),this.join=["unidade"]}ngOnInit(){super.ngOnInit(),this.loadData()}loadData(){var t=this;return(0,u.Z)(function*(){t.loader=!0;try{t.entregasVinculadas=yield t.planoEntregaEntregaDao.hierarquia(t._entregaId),t.cdRef.detectChanges(),t.loader=!1}catch{console.log("Erro")}})()}showDetalhes(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega",t.id,"detalhes"]},{metadata:{entrega:t}})})()}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-entregas-vinculadas"]],inputs:{entregaId:"entregaId"},features:[e.qOj],decls:2,vars:2,consts:[[3,"value",4,"ngIf"],["class","d-flex justify-content-center my-2",4,"ngIf"],[3,"value"],["pTemplate","default"],[1,"p-2"],["color","light",3,"icon","label",4,"ngIf"],["title","Detalhes da entrega",1,"btn","btn-sm",3,"click"],[1,"bi","bi-eye"],["color","light",3,"icon","label"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"]],template:function(a,n){1&a&&(e.YNc(0,Yn,2,1,"p-organizationChart",0),e.YNc(1,Hn,3,0,"div",1)),2&a&&(e.Q6J("ngIf",n.entregasVinculadas.length),e.xp6(1),e.Q6J("ngIf",n.loader))},dependencies:[O.O5,y.F,Oe.OE,Fn.jx]})}return o})();function Kn(o,l){1&o&&e._UZ(0,"badge",19),2&o&&e.Q6J("lookup",l.$implicit)}function Xn(o,l){if(1&o&&e._UZ(0,"badge",20),2&o){const t=e.oxw(2);e.Q6J("icon",t.entityService.getIcon("Unidade"))("label",null==t.entrega||null==t.entrega.unidade?null:t.entrega.unidade.sigla)}}function $n(o,l){if(1&o&&e._UZ(0,"badge",21),2&o){const t=e.oxw(2);e.Q6J("label",null==t.entrega?null:t.entrega.destinatario)}}function eo(o,l){if(1&o&&(e.TgZ(0,"div",22)(1,"div")(2,"b"),e._uU(3,"Planejada"),e.qZA(),e._UZ(4,"br")(5,"badge",23),e.qZA(),e._UZ(6,"div",24),e.TgZ(7,"div")(8,"b"),e._uU(9,"Executada"),e.qZA(),e._UZ(10,"br")(11,"badge",25),e.qZA()()),2&o){const t=e.oxw(2);e.xp6(5),e.Q6J("textValue",t.planoEntregaService.getValorMeta(t.entrega)),e.xp6(6),e.Q6J("textValue",t.planoEntregaService.getValorRealizado(t.entrega))}}function to(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"div",33)(1,"small"),e._uU(2),e.qZA(),e.TgZ(3,"button",34),e.NdJ("click",function(){e.CHM(t);const n=e.oxw().$implicit,i=e.oxw(3);return e.KtG(i.showPlanejamento(n.objetivo.id))}),e._UZ(4,"i",35),e.qZA()()}if(2&o){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(t.objetivo.nome)}}function ao(o,l){if(1&o&&(e.TgZ(0,"li",31),e.YNc(1,to,5,1,"div",32),e.qZA()),2&o){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf",t.objetivo)}}function no(o,l){if(1&o&&(e.TgZ(0,"div",26)(1,"h5",27),e._uU(2),e.qZA(),e.TgZ(3,"div",28)(4,"ul",29),e.YNc(5,ao,2,1,"li",30),e.qZA()()()),2&o){const t=e.oxw(2);e.xp6(2),e.Oqu(t.lex.translate("Objetivos")),e.xp6(3),e.Q6J("ngForOf",null==t.entrega?null:t.entrega.objetivos)}}function oo(o,l){if(1&o){const t=e.EpF();e.TgZ(0,"div",33)(1,"small"),e._uU(2),e.qZA(),e.TgZ(3,"button",34),e.NdJ("click",function(){e.CHM(t);const n=e.oxw().$implicit,i=e.oxw(3);return e.KtG(i.showCadeiaValor(n.processo.id))}),e._UZ(4,"i",35),e.qZA()()}if(2&o){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(t.processo.nome)}}function io(o,l){if(1&o&&(e.TgZ(0,"li",31),e.YNc(1,oo,5,1,"div",32),e.qZA()),2&o){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf",t.processo)}}function lo(o,l){if(1&o&&(e.TgZ(0,"div",26)(1,"h5",27),e._uU(2),e.qZA(),e.TgZ(3,"div",28)(4,"ul",29),e.YNc(5,io,2,1,"li",30),e.qZA()()()),2&o){const t=e.oxw(2);e.xp6(2),e.Oqu(t.lex.translate("Processos")),e.xp6(3),e.Q6J("ngForOf",null==t.entrega?null:t.entrega.processos)}}function so(o,l){if(1&o&&(e.TgZ(0,"div",8)(1,"div",9),e.YNc(2,Kn,1,1,"badge",10),e.qZA(),e.TgZ(3,"h5"),e._uU(4),e.qZA(),e.TgZ(5,"small"),e._uU(6),e.qZA(),e._UZ(7,"hr"),e.TgZ(8,"p"),e._uU(9,"Per\xedodo: "),e.TgZ(10,"small"),e._uU(11),e.qZA()(),e.TgZ(12,"div",11)(13,"p",12),e._uU(14,"Demandante: "),e.YNc(15,Xn,1,2,"badge",13),e.qZA(),e.TgZ(16,"p"),e._uU(17,"Destinat\xe1rio: "),e.YNc(18,$n,1,1,"badge",14),e.qZA()(),e.TgZ(19,"h5",15),e._uU(20),e.qZA(),e.TgZ(21,"small",16),e._uU(22),e.qZA(),e.YNc(23,eo,12,2,"div",17),e.YNc(24,no,6,2,"div",18),e.YNc(25,lo,6,2,"div",18),e.qZA()),2&o){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",null==t.entrega?null:t.entrega.etiquetas),e.xp6(2),e.Oqu(null==t.entrega?null:t.entrega.descricao),e.xp6(2),e.Oqu(null==t.entrega?null:t.entrega.descricao_entrega),e.xp6(5),e.AsE("",t.planoEntregaEntregaDao.getDateFormatted(null==t.entrega?null:t.entrega.data_inicio)," at\xe9 ",t.planoEntregaEntregaDao.getDateFormatted(null==t.entrega?null:t.entrega.data_fim),""),e.xp6(4),e.Q6J("ngIf",null==t.entrega?null:t.entrega.unidade),e.xp6(3),e.Q6J("ngIf",null==t.entrega||null==t.entrega.destinatario?null:t.entrega.destinatario.length),e.xp6(2),e.Oqu(t.lex.translate("Meta")),e.xp6(2),e.Oqu(null==t.entrega?null:t.entrega.descricao_meta),e.xp6(1),e.Q6J("ngIf",t.entrega),e.xp6(1),e.Q6J("ngIf",null==t.entrega||null==t.entrega.objetivos?null:t.entrega.objetivos.length),e.xp6(1),e.Q6J("ngIf",null==t.entrega||null==t.entrega.processos?null:t.entrega.processos.length)}}function ro(o,l){if(1&o&&(e.TgZ(0,"div",36),e._UZ(1,"plano-entrega-entregas-vinculadas",37),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("entregaId",t.entrega.id)}}function co(o,l){if(1&o&&(e.TgZ(0,"div",38),e._UZ(1,"plano-entrega-entregas-plano-trabalho",37),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("entregaId",t.entrega.id)}}const go=[{path:"",component:yt,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Plano de Entregas"}},{path:"new",component:te,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Plano de Entregas",modal:!0}},{path:":id/edit",component:te,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Plano de Entregas",modal:!0}},{path:":id/consult",component:te,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Plano de Entregas",modal:!0}},{path:":id/logs",component:Fa,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Logs de Altera\xe7\xf5es em Planos de Entregas",modal:!0}},{path:":planoEntregaId/avaliar",component:tn.w,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Avaliar Plano de Entrega"}},{path:"entrega",component:be,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"entrega/:id/consult",component:be,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Consulta entrega do Plano de Entregas",modal:!0}},{path:"entrega/:id/detalhes",component:(()=>{class o extends B.D{constructor(t){super(t),this.injector=t,this.planoEntregaEntregaDao=t.get(L.K),this.planoEntregaService=t.get(c.f)}ngOnInit(){super.ngOnInit(),this.entrega=this.metadata?.entrega}showPlanejamento(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","objetivos",t]},{modal:!0})})()}showCadeiaValor(t){var a=this;return(0,u.Z)(function*(){a.go.navigate({route:["gestao","plano-entrega","entrega","processos",t]},{modal:!0})})()}static#e=this.\u0275fac=function(a){return new(a||o)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["plano-entrega-entrega-detalhes"]],features:[e.qOj],decls:8,vars:4,consts:[["right","",3,"title"],["detalhesEntrega",""],["key","INFOS","icon","bi bi-info-lg","label","Informa\xe7\xf5es"],["key","VINCULOS","icon","bi bi-arrow-down-up","label","V\xednculos"],["key","PARTICIPANTES","icon","bi bi-people","label","Participantes"],["class","","style","min-height: 400px;",4,"ngIf"],["style","min-height: 400px;",4,"ngIf"],["class","row","style","min-height: 400px;",4,"ngIf"],[1,"",2,"min-height","400px"],[1,"mb-2"],[3,"lookup",4,"ngFor","ngForOf"],[1,"d-flex"],[1,"me-2"],["color","light",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-mailbox",3,"label",4,"ngIf"],[1,"text-center"],[1,"d-block","text-center","mb-2"],["class","d-flex justify-content-center",4,"ngIf"],["class","mt-3",4,"ngIf"],[3,"lookup"],["color","light",3,"icon","label"],["color","light","icon","bi bi-mailbox",3,"label"],[1,"d-flex","justify-content-center"],["icon","bi bi-graph-up-arrow","color","light","hint","Planejada",3,"textValue"],[1,"vr","mx-5"],["icon","bi bi-check-lg","color","light","hint","Realizada",3,"textValue"],[1,"mt-3"],[1,"text-center","mb-2"],[1,"card"],[1,"list-group","list-group-flush"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"list-group-item"],["class","d-flex justify-content-between align-items-center",4,"ngIf"],[1,"d-flex","justify-content-between","align-items-center"],[1,"btn","btn-sm","btn-outline-info","me-2",3,"click"],[1,"bi","bi-eye"],[2,"min-height","400px"],[3,"entregaId"],[1,"row",2,"min-height","400px"]],template:function(a,n){if(1&a&&(e.TgZ(0,"tabs",0,1),e._UZ(2,"tab",2)(3,"tab",3)(4,"tab",4),e.qZA(),e.YNc(5,so,26,12,"div",5),e.YNc(6,ro,2,1,"div",6),e.YNc(7,co,2,1,"div",7)),2&a){const i=e.MAs(1);e.Q6J("title",n.isModal?"":n.title),e.xp6(5),e.Q6J("ngIf","INFOS"==i.active),e.xp6(1),e.Q6J("ngIf","VINCULOS"==i.active&&n.entrega),e.xp6(1),e.Q6J("ngIf","PARTICIPANTES"==i.active&&n.entrega)}},dependencies:[O.sg,O.O5,pe.n,me.i,y.F,Gn,Wn]})}return o})(),canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Detalhes da entrega do Plano de Entregas",modal:!0}},{path:"entrega-list",component:en,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"entrega/objetivos/:objetivo_id",component:_e,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"entrega/processos/:processo_id",component:_e,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Entregas do Plano de Entregas",modal:!0}},{path:"adesao",component:aa,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Ades\xe3o a Plano de Entregas",modal:!0}},{path:"entrega/progresso/:entrega_id",component:gn,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Progressos da entrega do Plano de Entregas",modal:!0}},{path:"entrega/progresso/:entrega_id/new",component:Te,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Progresso entrega do Plano de Entregas",modal:!0}},{path:"entrega/progresso/:entrega_id/:id/edit",component:Te,canActivate:[b.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Progresso entrega do Plano de Entregas",modal:!0}}];let _o=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#t=this.\u0275mod=e.oAB({type:o});static#a=this.\u0275inj=e.cJS({imports:[P.Bz.forChild(go),P.Bz]})}return o})();var po=r(7024),mo=r(588),ho=r(2864);let fo=(()=>{class o{static#e=this.\u0275fac=function(a){return new(a||o)};static#t=this.\u0275mod=e.oAB({type:o});static#a=this.\u0275inj=e.cJS({imports:[O.ez,R.K,_o,po.PlanejamentoModule,mo.CadeiaValorModule,Oe.lC,ho.UteisModule]})}return o})()},684:(oe,S,r)=>{r.d(S,{p:()=>N});var O=r(8239),R=r(3972),P=r(755),b=r(2333),C=r(9193),u=r(2307),f=r(9702),D=r(7744),I=r(1095),Z=r(9367);let N=(()=>{class w{constructor(d,c,p,A,T,e,E,m){this.auth=d,this.util=c,this.go=p,this.lookup=A,this.dao=T,this.avaliacaoDao=e,this.templateService=E,this.planoTrabalhoDao=m}template(d){return d.programa?.template_tcr}metadados(d){return{needSign:this.needSign.bind(this),extraTags:this.extraTags.bind(this),especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",dataset:this.planoTrabalhoDao.dataset(),datasource:this.planoTrabalhoDao.datasource(d),template:d.programa?.template_tcr,template_id:d.programa?.template_tcr_id}}needSign(d,c){const p=d,A=c||(p?.documentos||[]).find(T=>p?.documento_id?.length&&T.id==p?.documento_id)||p?.documento;if(d&&A&&!A.assinaturas?.find(T=>T.usuario_id==this.auth.usuario.id)){const T=p.tipo_modalidade,e=p.programa,E=this.auth.entidade;let m=[];return e?.plano_trabalho_assinatura_participante&&m.push(p.usuario_id),e?.plano_trabalho_assinatura_gestor_lotacao&&m.push(...this.auth.gestoresLotacao.map(x=>x.id)),e?.plano_trabalho_assinatura_gestor_unidade&&m.push(p.unidade?.gestor?.id||"",...p.unidade?.gestores_substitutos?.map(x=>x.id)||""),e?.plano_trabalho_assinatura_gestor_entidade&&m.push(E.gestor_id||"",E.gestor_substituto_id||""),!!T&&m.includes(this.auth.usuario.id)}return!1}extraTags(d,c,p){const A=d;let T=[];return A?.documento_id==c.id&&T.push({key:c.id,value:"Vigente",icon:"bi bi-check-all",color:"primary"}),JSON.stringify(p.tags)!=JSON.stringify(T)&&(p.tags=T),p.tags}tipoEntrega(d,c){let p=c||d.plano_trabalho,A=d.plano_entrega_entrega?.plano_entrega?.unidade_id==p.unidade_id?"PROPRIA_UNIDADE":d.plano_entrega_entrega?"OUTRA_UNIDADE":d.orgao?.length?"OUTRO_ORGAO":"SEM_ENTREGA",T=this.lookup.ORIGENS_ENTREGAS_PLANO_TRABALHO.find(m=>m.key==A)||{key:"",value:"Desconhecido1"};return{titulo:T.value,cor:T.color||"danger",nome:p?._metadata?.novaEntrega?.plano_entrega_entrega?.entrega?.nome||d.plano_entrega_entrega?.entrega?.nome||"Desconhecido2",tipo:A,descricao:p?._metadata?.novaEntrega?.plano_entrega_entrega?.descricao||d.plano_entrega_entrega?.descricao||""}}atualizarTcr(d,c,p,A){if(c.usuario&&c.unidade){let T=this.dao.datasource(d),e=this.dao.datasource(c),E=c.programa;if(e.usuario.texto_complementar_plano=p||c.usuario?.texto_complementar_plano||"",e.unidade.texto_complementar_plano=A||c.unidade?.texto_complementar_plano||"",(E?.termo_obrigatorio||c.documento_id?.length)&&JSON.stringify(e)!=JSON.stringify(T)&&E?.template_tcr){let m=c.documentos?.find(x=>x.id==c.documento_id);c.documento_id?.length&&m&&!m.assinaturas?.length&&"LINK"!=m.tipo?(m.conteudo=this.templateService.renderTemplate(E?.template_tcr?.conteudo||"",e),m.dataset=this.dao.dataset(),m.datasource=e,m._status="ADD"==m._status?"ADD":"EDIT"):(m=new R.U({id:this.dao?.generateUuid(),tipo:"HTML",especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",conteudo:this.templateService.renderTemplate(E?.template_tcr?.conteudo||"",e),status:"GERADO",_status:"ADD",template:E?.template_tcr?.conteudo,dataset:this.dao.dataset(),datasource:e,entidade_id:this.auth.entidade?.id,plano_trabalho_id:c.id,template_id:E?.template_tcr_id}),c.documentos.push(m)),c.documento=m,c.documento_id=m?.id||null}}return c.documento}situacaoPlano(d){return d.deleted_at?"EXCLUIDO":d.data_arquivamento?"ARQUIVADO":d.status}isValido(d){return!d.deleted_at&&"CANCELADO"!=d.status&&!d.data_arquivamento}estaVigente(d){let c=new Date;return"ATIVO"==d.status&&d.data_inicio<=c&&d.data_fim>=c}diasParaConcluirConsolidacao(d,c){return d&&c?this.util.daystamp(d.data_fim)+c.dias_tolerancia_avaliacao-this.util.daystamp(this.auth.hora):-1}avaliar(d,c,p){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",d.id,"avaliar"]},{modal:!0,metadata:{consolidacao:d,programa:c},modalClose:A=>{A&&(d.status="AVALIADO",d.avaliacao_id=A.id,d.avaliacao=A,p(d))}})}visualizarAvaliacao(d){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",d.id,"verAvaliacoes"]},{modal:!0,metadata:{consolidacao:d}})}fazerRecurso(d,c,p){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",d.id,"recurso"]},{modal:!0,metadata:{recurso:!0,consolidacao:d,programa:c},modalClose:A=>{A&&(d.avaliacao=A,p(d))}})}cancelarAvaliacao(d,c,p){var A=this;return(0,O.Z)(function*(){c.submitting=!0;try{(yield A.avaliacaoDao.cancelarAvaliacao(d.avaliacao.id))&&(d.status="CONCLUIDO",d.avaliacao_id=null,d.avaliacao=void 0,p(d))}catch(T){c.error(T.message||T)}finally{c.submitting=!1}})()}usuarioAssinou(d,c){return c=c||this.auth.usuario.id,Object.values(d).some(p=>(p||[]).includes(c))}assinaturasFaltantes(d,c){return{participante:d.participante.filter(p=>!c.participante.includes(p)),gestores_unidade_executora:d.gestores_unidade_executora.length?d.gestores_unidade_executora.filter(p=>c.gestores_unidade_executora.includes(p)).length?[]:d.gestores_unidade_executora:[],gestores_unidade_lotacao:d.gestores_unidade_lotacao.length?d.gestores_unidade_lotacao.filter(p=>c.gestores_unidade_lotacao.includes(p)).length?[]:d.gestores_unidade_lotacao:[],gestores_entidade:d.gestores_entidade.length?d.gestores_entidade.filter(p=>c.gestores_entidade.includes(p)).length?[]:d.gestores_entidade:[]}}static#e=this.\u0275fac=function(c){return new(c||w)(P.LFG(b.e),P.LFG(C.f),P.LFG(u.o),P.LFG(f.W),P.LFG(D.t),P.LFG(I.w),P.LFG(Z.E),P.LFG(D.t))};static#t=this.\u0275prov=P.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()}}]); \ No newline at end of file diff --git a/back-end/public/970.js b/back-end/public/970.js index ebde37343..1bb056257 100644 --- a/back-end/public/970.js +++ b/back-end/public/970.js @@ -1,3 +1 @@ - -"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[970],{2970:(ii,ea,s)=>{s.r(ea),s.d(ea,{PlanoTrabalhoModule:()=>oi});var h=s(6733),oa=s(5579),b=s(1391),v=s(2314),d=s(8239),D=s(4040),ia=s(5026),w=s(7744),na=s(2214),Ia=s(8340),la=s(6075),N=s(1214),L=s(5255),ra=s(9084),O=s(762),sa=s(1184),Pa=s(2307),a=s(755),J=s(8820),Ua=s(1823),y=s(8967),G=s(2392),M=s(4495),I=s(5560),da=s(3417);const wa=["usuario"],Na=["unidade"],Ja=["programa"],Qa=["tipoDocumento"],Sa=["tipoModalidade"];let Ra=(()=>{class i extends sa.F{constructor(t){super(t,O.p,w.t),this.injector=t,this.validate=(e,o)=>{let n=null;return"tipo_documento_id"==o&&!e?.value?.length&&this.form?.controls?.numero_processo?.value?.length&&(n="Obrigat\xf3rio"),n},this.formValidation=e=>{if(!this.tipoDocumento?.selectedEntity&&e?.controls.tipo_documento_id.value?.length)return"Aguarde o carregamento do tipo de documento"},this.titleEdit=e=>"Editando "+this.lex.translate("TCR")+" "+this.lex.translate("do Plano de Trabalho")+": "+(e?.usuario?.nome||""),this.join=["unidade","usuario","programa.template_tcr","tipo_modalidade","documento","documentos","atividades.atividade"],this.unidadeDao=t.get(N.J),this.programaDao=t.get(na.w),this.usuarioDao=t.get(L.q),this.tipoDocumentoDao=t.get(Ia.Q),this.allPages=t.get(ra.T),this.tipoModalidadeDao=t.get(la.D),this.documentoDao=t.get(ia.d),this.form=this.fh.FormBuilder({carga_horaria:{default:""},tempo_total:{default:""},tempo_proporcional:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},programa_id:{default:""},usuario_id:{default:""},unidade_id:{default:""},documento_id:{default:""},documentos:{default:[]},tipo_documento_id:{default:""},numero_processo:{default:""},vinculadas:{default:!0},tipo_modalidade_id:{default:""},forma_contagem_carga_horaria:{default:"DIA"}},this.cdRef,this.validate)}onVinculadasChange(t){this.cdRef.detectChanges()}loadData(t,e){var o=this;return(0,d.Z)(function*(){let n=Object.assign({},e.value);n=o.util.fillForm(n,t),yield Promise.all([o.unidade.loadSearch(t.unidade||t.unidade_id),o.usuario.loadSearch(t.usuario||t.usuario_id),o.programa.loadSearch(t.programa||t.programa_id),o.tipoModalidade.loadSearch(t.tipo_modalidade||t.tipo_modalidade_id)]),o.processo&&(n.id_processo=o.processo.id_processo,n.numero_processo=o.processo.numero_processo),n.data_inicio=o.auth.hora,e.patchValue(n)})()}initializeData(t){var e=this;return(0,d.Z)(function*(){e.entity=yield e.dao.getById(e.metadata.plano_trabalho.id,e.join),e.processo=e.metadata?.processo,yield e.loadData(e.entity,t)})()}saveData(t){return new Promise((e,o)=>{e(new Pa.R(Object.assign(this.form.value,{codigo_tipo_documento:this.tipoDocumento?.selectedEntity?.codigo})))})}get formaContagemCargaHoraria(){const t=this.form?.controls.forma_contagem_carga_horaria?.value||"DIA";return"DIA"==t?"day":"SEMANA"==t?"week":"mouth"}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-form-termo"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(wa,5),a.Gf(Na,5),a.Gf(Ja,5),a.Gf(Qa,5),a.Gf(Sa,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.usuario=n.first),a.iGM(n=a.CRH())&&(o.unidade=n.first),a.iGM(n=a.CRH())&&(o.programa=n.first),a.iGM(n=a.CRH())&&(o.tipoDocumento=n.first),a.iGM(n=a.CRH())&&(o.tipoModalidade=n.first)}},features:[a.qOj],decls:25,vars:41,consts:[["initialFocus","programa_id",3,"form","disabled","title","submit","cancel"],["collapse","",3,"title","collapsed"],[1,"row"],["disabled","","controlName","programa_id",3,"size","dao"],["programa",""],["disabled","","controlName","usuario_id",3,"size","dao"],["usuario",""],["disabled","","controlName","unidade_id",3,"size","dao"],["unidade",""],["disabled","","controlName","tipo_modalidade_id",3,"size","dao"],["tipoModalidade",""],["numbers","","disabled","","label","% prod.","icon","bi bi-hourglass-split","controlName","ganho_produtividade",3,"size","control","labelInfo"],["label","H. Parciais","icon","bi bi-clock","controlName","tempo_proporcional","labelInfo","Total de horas menos os afastamentos.",3,"size","control"],["disabled","","label","In\xedcio","icon","bi bi-calendar-date","controlName","data_inicio","labelInfo","In\xedcio da Vig\xeancia do Programa",3,"size","control"],["disabled","","label","Final","icon","bi bi-calendar-date","controlName","data_fim","labelInfo","Final da Vig\xeancia do Programa",3,"size","control"],["disabled","","label","C. Hor\xe1ria","icon","bi bi-hourglass-split","controlName","carga_horaria",3,"size","unit","control","labelInfo"],["label","H. Totais","icon","bi bi-clock","controlName","tempo_total","labelInfo","Horas \xfateis de trabalho no per\xedodo de vig\xeancia considerando a carga hor\xe1ria, feriados e fins de semana",3,"size","control"],["disabled","","label","Data e hora","controlName","data_inicio","labelInfo","Data de cadastro do termo",3,"size","control"],["controlName","numero_processo","disabled","","labelInfo","N\xfamero do processo, com a formata\xe7\xe3o de origem",3,"label","size","control"],["controlName","tipo_documento_id","required","",3,"size","disabled","dao"],["tipoDocumento",""],["label","Vinculadas","controlName","vinculadas","labelInfo","Se inclui as atividades das unidades vinculadas a unidade do plano",3,"disabled","size","control","change"]],template:function(e,o){1&e&&(a.TgZ(0,"editable-form",0),a.NdJ("submit",function(){return o.onSaveData()})("cancel",function(){return o.onCancel()}),a.TgZ(1,"separator",1)(2,"div",2),a._UZ(3,"input-search",3,4)(5,"input-search",5,6),a.qZA(),a.TgZ(7,"div",2),a._UZ(8,"input-search",7,8)(10,"input-search",9,10)(12,"input-text",11)(13,"input-display",12),a.qZA(),a.TgZ(14,"div",2),a._UZ(15,"input-datetime",13)(16,"input-datetime",14)(17,"input-workload",15)(18,"input-display",16),a.qZA()(),a.TgZ(19,"div",2),a._UZ(20,"input-datetime",17)(21,"input-text",18)(22,"input-search",19,20),a.TgZ(24,"input-switch",21),a.NdJ("change",function(r){return o.onVinculadasChange(r)}),a.qZA()()()),2&e&&(a.Q6J("form",o.form)("disabled",o.formDisabled)("title",o.isModal?"":o.title),a.xp6(1),a.Q6J("title",o.lex.translate("Plano de trabalho"))("collapsed",!1),a.xp6(2),a.Q6J("size",6)("dao",o.programaDao),a.xp6(2),a.Q6J("size",6)("dao",o.usuarioDao),a.xp6(3),a.Q6J("size",5)("dao",o.unidadeDao),a.xp6(2),a.Q6J("size",3)("dao",o.tipoModalidadeDao),a.xp6(2),a.Q6J("size",2)("control",o.form.controls.ganho_produtividade)("labelInfo","Percentual de ganho de produtividade (Ser\xe1 descontado do "+o.lex.translate("tempo pactuado")+")"),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",2)("control",o.form.controls.tempo_proporcional),a.xp6(2),a.Q6J("size",3)("control",o.form.controls.data_inicio),a.xp6(1),a.Q6J("size",3)("control",o.form.controls.data_fim),a.xp6(1),a.Q6J("size",3)("unit",o.formaContagemCargaHoraria)("control",o.form.controls.carga_horaria)("labelInfo","Carga hor\xe1ria"+o.lex.translate("do usu\xe1rio")),a.xp6(1),a.Q6J("size",3)("control",o.form.controls.tempo_total),a.xp6(2),a.Q6J("size",3)("control",o.form.controls.data_inicio),a.xp6(1),a.Q6J("label","N\xfamero "+o.lex.translate("Processo"))("size",3)("control",o.form.controls.numero_processo),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",4)("disabled",null!=o.form.controls.numero_processo.value&&o.form.controls.numero_processo.value.length?void 0:"true")("dao",o.tipoDocumentoDao),a.xp6(2),a.Q6J("disabled",null!=o.entity&&null!=o.entity.atividades&&o.entity.atividades.length?"true":void 0)("size",2)("control",o.form.controls.vinculadas))},dependencies:[D.Q,J.a,Ua.B,y.V,G.m,M.k,I.N,da.S]})}return i})();var Ma=s(2702),ca=s(6551),Q=s(684),qa=s(9367),Fa=s(9193),Va=s(3085),q=s(6384),z=s(4978),La=s(933),Ga=s(5795),za=s(785),Ya=s(6601),C=s(3150),S=s(6298),Ha=s(5754),Ba=s(9173),ka=s(9190),ua=s(1021),Y=s(609),P=s(7224),U=s(3351),ma=s(4508),H=s(4603),E=s(5489),pa=s(4792);const Wa=["origem"],ja=["planoEntrega"],Ka=["entrega"];function Xa(i,l){1&i&&(a.TgZ(0,"div",21)(1,"span")(2,"strong"),a._uU(3,"Origem"),a.qZA()()())}function $a(i,l){if(1&i&&a._UZ(0,"badge",27),2&i){const t=a.oxw().row,e=a.oxw();a.Q6J("label",(null==t.plano_entrega_entrega||null==t.plano_entrega_entrega.plano_entrega||null==t.plano_entrega_entrega.plano_entrega.unidade?null:t.plano_entrega_entrega.plano_entrega.unidade.sigla)||"DESCONHECIDO")("icon",e.entityService.getIcon("Unidade"))}}function at(i,l){if(1&i&&a._UZ(0,"badge",28),2&i){const t=a.oxw().row;a.Q6J("label",t.orgao)}}function tt(i,l){if(1&i&&(a.TgZ(0,"div",22)(1,"div",23),a._UZ(2,"badge",24),a.YNc(3,$a,1,2,"badge",25),a.YNc(4,at,1,1,"badge",26),a.qZA()()),2&i){const t=l.row,e=a.oxw();a.xp6(2),a.Q6J("label",e.planoTrabalhoService.tipoEntrega(t,e.entity).titulo)("color",e.planoTrabalhoService.tipoEntrega(t,e.entity).cor),a.xp6(1),a.Q6J("ngIf",null==t.plano_entrega_entrega_id?null:t.plano_entrega_entrega_id.length),a.xp6(1),a.Q6J("ngIf",null==t.orgao?null:t.orgao.length)}}const et=function(){return["entregas.entrega:id,nome","unidade"]},ot=function(i){return["unidade_id","==",i]},_a=function(){return["status","==","ATIVO"]},it=function(i,l){return[i,l]},nt=function(i){return[i]},lt=function(i){return{unidade_id:i,status:"ATIVO"}},ga=function(i){return{filter:i}},rt=function(){return{status:"ATIVO"}};function st(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-search",33,34),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw(2);return a.KtG(n.onPlanoEntregaChange(o))}),a.qZA()}if(2&i){a.oxw();const t=a.MAs(1),e=a.oxw();a.Q6J("placeholder","Selecione o "+e.lex.translate("Plano de entrega"))("join",a.DdM(5,et))("where","PROPRIA_UNIDADE"==(null==t?null:t.value)?a.WLB(9,it,a.VKq(6,ot,null==e.entity?null:e.entity.unidade_id),a.DdM(8,_a)):a.VKq(13,nt,a.DdM(12,_a)))("selectParams","PROPRIA_UNIDADE"==(null==t?null:t.value)?a.VKq(17,ga,a.VKq(15,lt,null==e.entity?null:e.entity.unidade_id)):a.VKq(20,ga,a.DdM(19,rt)))("dao",e.planoEntregaDao)}}function dt(i,l){1&i&&a._UZ(0,"input-text",35,36),2&i&&a.uIk("maxlength",250)}const B=function(){return["PROPRIA_UNIDADE","OUTRA_UNIDADE"]};function ct(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-select",29,30),a.NdJ("change",function(){const n=a.CHM(t).row,r=a.oxw();return a.KtG(r.onOrigemChange(n))}),a.qZA(),a.YNc(2,st,2,22,"input-search",31),a.YNc(3,dt,2,1,"input-text",32)}if(2&i){const t=a.MAs(1),e=a.oxw();a.Q6J("control",e.form.controls.origem)("items",e.lookup.ORIGENS_ENTREGAS_PLANO_TRABALHO),a.xp6(2),a.Q6J("ngIf",a.DdM(4,B).includes(null==t?null:t.value)),a.xp6(1),a.Q6J("ngIf","OUTRO_ORGAO"==(null==t?null:t.value))}}function ut(i,l){1&i&&(a.TgZ(0,"span")(1,"strong"),a._uU(2,"Entrega"),a.qZA()())}function mt(i,l){if(1&i&&(a.TgZ(0,"div",39),a._UZ(1,"badge",40)(2,"badge",41),a.qZA()),2&i){const t=a.oxw().row,e=a.oxw();a.xp6(1),a.Q6J("label",e.util.getDateFormatted(null==t.plano_entrega_entrega?null:t.plano_entrega_entrega.data_inicio)),a.xp6(1),a.Q6J("label",e.util.getDateFormatted(null==t.plano_entrega_entrega?null:t.plano_entrega_entrega.data_fim))}}function pt(i,l){if(1&i&&(a.TgZ(0,"small"),a._uU(1),a.qZA(),a.YNc(2,mt,3,2,"div",37),a._UZ(3,"reaction",38)),2&i){const t=l.row,e=a.oxw();a.xp6(1),a.Oqu(e.planoTrabalhoService.tipoEntrega(t,e.entity).descricao),a.xp6(1),a.Q6J("ngIf",a.DdM(3,B).includes(e.planoTrabalhoService.tipoEntrega(t,e.entity).tipo)),a.xp6(1),a.Q6J("entity",t)}}function _t(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-select",43,44),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw(2);return a.KtG(n.onEntregaChange(o))}),a.qZA()}if(2&i){const t=a.oxw(2);a.Q6J("control",t.form.controls.plano_entrega_entrega_id)("items",t.entregas)}}function gt(i,l){if(1&i&&(a.TgZ(0,"div",39),a._UZ(1,"badge",40)(2,"badge",41),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("label",t.util.getDateFormatted(t.entrega.selectedItem.data.data_inicio)),a.xp6(1),a.Q6J("label",t.util.getDateFormatted(t.entrega.selectedItem.data.data_fim))}}function ht(i,l){if(1&i&&(a.YNc(0,_t,2,2,"input-select",42),a.YNc(1,gt,3,2,"div",37)),2&i){const t=a.oxw();a.Q6J("ngIf",a.DdM(2,B).includes(null==t.origem?null:t.origem.value)),a.xp6(1),a.Q6J("ngIf",null==t.entrega?null:t.entrega.selectedItem)}}function ft(i,l){if(1&i&&(a.TgZ(0,"div")(1,"small"),a._UZ(2,"badge",47),a.qZA(),a.TgZ(3,"small"),a._UZ(4,"badge",48),a.qZA()()),2&i){const t=a.oxw(2);a.xp6(2),a.Q6J("color","warning")("label",t.totalForcaTrabalho+"%"),a.xp6(2),a.Q6J("color","secondary")("label",t.totalForcaTrabalho-100+"%")}}function bt(i,l){if(1&i&&(a.TgZ(0,"small"),a._UZ(1,"badge",47),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("color",100==t.totalForcaTrabalho?"success":"warning")("label",t.totalForcaTrabalho+"%")}}function vt(i,l){if(1&i&&(a.TgZ(0,"div",21),a.YNc(1,ft,5,4,"div",45),a.YNc(2,bt,2,2,"ng-template",null,46,a.W1O),a.qZA()),2&i){const t=a.MAs(3),e=a.oxw();a.xp6(1),a.Q6J("ngIf",e.totalForcaTrabalho>100)("ngIfElse",t)}}function Tt(i,l){if(1&i&&(a.TgZ(0,"small"),a._uU(1),a.qZA()),2&i){const t=l.row;a.xp6(1),a.Oqu(t.forca_trabalho+"%")}}function Ct(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-text",49),a.NdJ("change",function(){const n=a.CHM(t).row,r=a.oxw();return a.KtG(r.onForcaTrabalhoChange(n))}),a.qZA()}if(2&i){const t=a.oxw();a.Q6J("control",t.form.controls.forca_trabalho),a.uIk("maxlength",250)}}function At(i,l){1&i&&(a.TgZ(0,"div",21)(1,"span")(2,"strong"),a._uU(3,"Descri\xe7\xe3o dos Trabalhos"),a.qZA()()())}function yt(i,l){if(1&i&&(a.TgZ(0,"div")(1,"small"),a._uU(2),a.qZA()()),2&i){const t=a.oxw().row;a.xp6(2),a.Oqu(t.descricao)}}function xt(i,l){if(1&i&&a.YNc(0,yt,3,1,"div",45),2&i){const t=l.row,e=a.oxw(),o=a.MAs(30);a.Q6J("ngIf",t.descricao!=e.planoTrabalhoService.tipoEntrega(t,e.entity).descricao)("ngIfElse",o)}}function Et(i,l){1&i&&(a.TgZ(0,"small"),a._uU(1,"Detalhe/Descreva os trabalhos"),a.qZA())}function Zt(i,l){if(1&i&&a._UZ(0,"input-textarea",50),2&i){const t=a.oxw();a.Q6J("rows",2)("control",t.form.controls.descricao)}}let k=(()=>{class i extends S.D{set control(t){super.control=t}get control(){return super.control}set entity(t){super.entity=t}get entity(){return super.entity}set disabled(t){this._disabled!=t&&(this._disabled=t)}get disabled(){return this._disabled}set noPersist(t){super.noPersist=t}get noPersist(){return super.noPersist}set planoTrabalhoEditavel(t){this._planoTrabalhoEditavel!=t&&(this._planoTrabalhoEditavel=t)}get planoTrabalhoEditavel(){return this._planoTrabalhoEditavel}get items(){return this.gridControl.value||this.gridControl.setValue(new O.p),this.gridControl.value.entregas||(this.gridControl.value.entregas=[]),this.gridControl.value.entregas}constructor(t){super(t),this.injector=t,this.atualizaPlanoTrabalhoEvent=new a.vpe,this.options=[],this.totalForcaTrabalho=0,this.entregas=[],this._disabled=!1,this._planoTrabalhoEditavel=!0,this.validate=(e,o)=>{let n=null;return["forca_trabalho"].indexOf(o)>=0&&1==e.value||(["forca_trabalho"].indexOf(o)>=0&&!e.value&&(n="Obrigat\xf3rio!"),["descricao"].indexOf(o)>=0&&!e.value?.length&&(n="Obrigat\xf3rio!"),["forca_trabalho"].indexOf(o)>=0&&(e.value<1||e.value>100)&&(n="Deve estar entre 1 e 100"),["plano_entrega_entrega_id"].indexOf(o)>=0&&(["PROPRIA_UNIDADE","OUTRA_UNIDADE"].includes(this.form?.controls.origem.value)&&!e.value&&(n="Obrigat\xf3rio!"),this.entity?.entregas?.filter(r=>!!r.plano_entrega_entrega_id&&r.id!=this.grid?.editing?.id).find(r=>r.plano_entrega_entrega_id==e.value)&&(n="Esta entrega est\xe1 em duplicidade!"))),n},this.dao=t.get(Ba.w),this.cdRef=t.get(a.sBO),this.planoTrabalhoDao=t.get(w.t),this.planoEntregaDao=t.get(ka.r),this.planoTrabalhoService=t.get(Q.p),this.peeDao=t.get(ua.K),this.unidadeService=t.get(Y.Z),this.join=["entrega","plano_entrega_entrega.entrega","plano_entrega_entrega.plano_entrega:id,unidade_id","plano_entrega_entrega.plano_entrega.unidade:id,sigla"],this.form=this.fh.FormBuilder({origem:{default:null},orgao:{default:null},descricao:{default:""},forca_trabalho:{default:1},plano_trabalho_id:{default:null},plano_entrega_id:{default:null},plano_entrega_entrega_id:{default:null}},this.cdRef,this.validate)}validateEntregas(){let t={start:this.entity.data_inicio,end:this.entity.data_fim};for(let e of this.items){let o=e.plano_entrega_entrega;if(o&&(!(o.data_fim?o.data_fim:o.data_inicio.getTime()<=this.entity.data_fim.getTime()?this.entity.data_fim:void 0)||!this.util.intersection([{start:o.data_inicio,end:o.data_fim||o.data_inicio},t])))return this.lex.translate("Entrega")+" "+o.descricao+" possui datas incompat\xedveis (in\xedcio "+this.util.getDateFormatted(o.data_inicio)+(o.data_fim?"e fim "+this.util.getDateFormatted(o.data_fim):"")+")"}}ngOnInit(){var t=()=>super.ngOnInit,e=this;return(0,d.Z)(function*(){t().call(e),e.entity=e.metadata?.entity||e.entity,e.totalForcaTrabalho=Math.round(100*e.somaForcaTrabalho(e.entity?.entregas))/100,e.entity._metadata=e.entity._metadata||{},e.entity._metadata.novaEntrega=void 0})()}addEntrega(){var t=this;return(0,d.Z)(function*(){return Object.assign(new Ha.U,{_status:"ADD",id:t.dao.generateUuid(),plano_trabalho_id:t.entity?.id})})()}loadEntrega(t,e){var o=this;return(0,d.Z)(function*(){let n=e;if(t.controls.descricao.setValue(e.descricao),t.controls.forca_trabalho.setValue(e.forca_trabalho),t.controls.plano_trabalho_id.setValue(e.plano_trabalho_id),t.controls.orgao.setValue(null),t.controls.plano_entrega_entrega_id.setValue(null),e.plano_entrega_entrega&&(t.controls.plano_entrega_id.setValue(e.plano_entrega_entrega.plano_entrega.id),t.controls.plano_entrega_entrega_id.setValue(e.plano_entrega_entrega_id)),"ADD"!=n._status||t.controls.plano_entrega_id.value)n.plano_entrega_entrega?.plano_entrega?.unidade_id==o.entity.unidade_id?(t.controls.origem.setValue("PROPRIA_UNIDADE"),yield o.carregarEntregas(n.plano_entrega_entrega.plano_entrega_id),t.controls.plano_entrega_entrega_id.setValue(n.plano_entrega_entrega_id)):n.plano_entrega_entrega?(t.controls.origem.setValue("OUTRA_UNIDADE"),yield o.carregarEntregas(n.plano_entrega_entrega.plano_entrega_id),t.controls.plano_entrega_entrega_id.setValue(n.plano_entrega_entrega_id)):n.orgao?.length?(t.controls.origem.setValue("OUTRO_ORGAO"),t.controls.orgao.setValue(n.orgao)):t.controls.origem.setValue("SEM_ENTREGA");else{t.controls.origem.setValue("PROPRIA_UNIDADE");let r=yield o.planoEntregaDao.query({where:[["unidade_id","==",o.entity.unidade_id],["status","==","ATIVO"]]}).asPromise();t.controls.plano_entrega_id.setValue(r[0].id)}})()}removeEntrega(t){var e=this;return(0,d.Z)(function*(){if(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir?")){e.loading=!0;try{e.isNoPersist?Object.assign(t,{_status:"DELETE"}):yield e.dao?.delete(t.id)}finally{e.loading=!1,e.atualizaPlanoTrabalhoEvent.emit(e.entity.id)}return e.totalForcaTrabalho=Math.round(100*(e.totalForcaTrabalho-1*t.forca_trabalho))/100,!e.isNoPersist}return!1})()}saveEntrega(t,e){var o=this;return(0,d.Z)(function*(){o.entity._metadata=o.entity._metadata||{},o.entity._metadata.novaEntrega=e,o.entity._metadata.novaEntrega.plano_entrega_entrega_id=o.form?.controls.plano_entrega_entrega_id.value,o.entity._metadata.novaEntrega.orgao=o.form?.controls.orgao.value,o.entity._metadata.novaEntrega.descricao=o.form?.controls.descricao.value,o.entity._metadata.novaEntrega.forca_trabalho=o.form?.controls.forca_trabalho.value,o.loading=!0;try{o.isNoPersist||(yield o.dao.save(o.entity._metadata.novaEntrega,o.join))}catch(n){o.error(n.message?n.message:n.toString()||n)}finally{e.forca_trabalho=1*o.form?.controls.forca_trabalho.value,e.plano_entrega_entrega=o.entrega?.selectedItem?.data||null,o.totalForcaTrabalho=Math.round(100*o.somaForcaTrabalho(o.entity?.entregas))/100,o.loading=!1}return o.entity._metadata.novaEntrega})()}saveEndEntrega(t){this.entity._metadata=null,this.atualizaPlanoTrabalhoEvent.emit(this.entity.id)}somaForcaTrabalho(t=[]){return t.map(e=>1*e.forca_trabalho).reduce((e,o)=>e+o,0)}carregarEntregas(t){var e=this;return(0,d.Z)(function*(){let o="string"==typeof t?yield e.planoEntregaDao.getById(t,["entregas.entrega:id,nome","unidade"]):t,n={id:o?.id,unidade_id:o?.unidade_id,unidade:o?.unidade};e.entregas=o?.entregas.map(r=>Object.assign({},{key:r.id,value:r.descricao||r.entrega?.nome||"Desconhecido",data:Object.assign(r,{plano_entrega:n})}))||[],e.entregas.sort((r,m)=>r.value>m.value?1:-1),e.entregas.find(r=>r.key==e.form.controls.plano_entrega_entrega_id.value)||e.form.controls.plano_entrega_entrega_id.setValue(null)})()}onOrigemChange(t){var e=this;return(0,d.Z)(function*(){let o=e.form.controls.origem.value;e.cdRef.detectChanges(),"OUTRO_ORGAO"==o?e.form?.controls.plano_entrega_entrega_id.setValue(null):"SEM_ENTREGA"==o?(e.form?.controls.orgao.setValue(null),e.form?.controls.plano_entrega_entrega_id.setValue(null)):"OUTRA_UNIDADE"==o&&(e.form?.controls.orgao.setValue(null),e.form?.controls.plano_entrega_id.value||(e.loading=!0,e.planoEntrega?.onSelectClick(new Event("SELECT")),e.loading=!1))})()}onPlanoEntregaChange(t){let e=this.planoEntrega?.selectedEntity;this.carregarEntregas(e)}onEntregaChange(t){}onForcaTrabalhoChange(t){let e=this.items.findIndex(o=>o.id==t.id);this.totalForcaTrabalho=Math.round(100*(this.somaForcaTrabalho(this.grid?.items)-1*this.items[e].forca_trabalho+1*this.form?.controls.forca_trabalho.value))/100}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-list-entrega"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(C.M,5),a.Gf(Wa,5),a.Gf(ja,5),a.Gf(Ka,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.grid=n.first),a.iGM(n=a.CRH())&&(o.origem=n.first),a.iGM(n=a.CRH())&&(o.planoEntrega=n.first),a.iGM(n=a.CRH())&&(o.entrega=n.first)}},inputs:{control:"control",entity:"entity",disabled:"disabled",noPersist:"noPersist",cdRef:"cdRef",planoTrabalhoEditavel:"planoTrabalhoEditavel"},outputs:{atualizaPlanoTrabalhoEvent:"atualizaPlanoTrabalhoEvent"},features:[a.qOj],decls:34,vars:39,consts:[["noMargin","","editable","",3,"items","form","selectable","minHeight","join","groupBy","add","remove","save","load","saveEnd","hasDelete","hasEdit","hasAdd"],["gridEntregas",""],[3,"titleTemplate","template","editTemplate","verticalAlign","width","align"],["titleOrigem",""],["columnOrigem",""],["editOrigem",""],[3,"width","titleTemplate","template","editTemplate","verticalAlign"],["class","text-center"],["titleEntrega",""],["columnEntrega",""],["editEntrega",""],[3,"titleTemplate","title","template","editTemplate","width","align","titleHint"],["titleForcaTrabalho",""],["columnForcaTrabalho",""],["editForcaTrabalho",""],[3,"minWidth","maxWidth","titleTemplate","template","editTemplate","verticalAlign","align"],["titleDescricao",""],["columnDescricao",""],["solicitarDescricao",""],["editDescricao",""],["type","options"],[1,"text-center"],[1,"w-100","d-flex","justify-content-center"],[1,"one-per-line"],[3,"label","color"],["color","primary",3,"label","icon",4,"ngIf"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label",4,"ngIf"],["color","primary",3,"label","icon"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label"],["controlName","origem","controlName","origem",3,"control","items","change"],["origem",""],["label","","controlName","plano_entrega_id",3,"placeholder","join","where","selectParams","dao","change",4,"ngIf"],["controlName","orgao","placeholder","\xd3rg\xe3o",4,"ngIf"],["label","","controlName","plano_entrega_id",3,"placeholder","join","where","selectParams","dao","change"],["planoEntrega",""],["controlName","orgao","placeholder","\xd3rg\xe3o"],["orgao",""],["class","w-100",4,"ngIf"],["origem","PLANO_TRABALHO_ENTREGA",3,"entity"],[1,"w-100"],["color","light","icon","bi bi-box-arrow-in-right","hint","Data de in\xedcio",3,"label"],["color","light","icon","bi bi-box-arrow-right","hint","Data de t\xe9rmino",3,"label"],["nullable","","itemNull","- Selecione -","controlName","plano_entrega_entrega_id",3,"control","items","change",4,"ngIf"],["nullable","","itemNull","- Selecione -","controlName","plano_entrega_entrega_id",3,"control","items","change"],["entrega",""],[4,"ngIf","ngIfElse"],["umCHD",""],["icon","bi bi-calculator",3,"color","label"],["icon","bi bi-intersect",3,"color","label"],["number","","sufix","%","controlName","forca_trabalho",3,"control","change"],["controlName","descricao",3,"rows","control"]],template:function(e,o){if(1&e&&(a.TgZ(0,"grid",0,1)(2,"columns")(3,"column",2),a.YNc(4,Xa,4,0,"ng-template",null,3,a.W1O),a.YNc(6,tt,5,4,"ng-template",null,4,a.W1O),a.YNc(8,ct,4,5,"ng-template",null,5,a.W1O),a.qZA(),a.TgZ(10,"column",6),a.YNc(11,ut,3,0,"ng-template",7,8,a.W1O),a.YNc(13,pt,4,4,"ng-template",null,9,a.W1O),a.YNc(15,ht,2,3,"ng-template",null,10,a.W1O),a.qZA(),a.TgZ(17,"column",11),a.YNc(18,vt,4,2,"ng-template",null,12,a.W1O),a.YNc(20,Tt,2,1,"ng-template",null,13,a.W1O),a.YNc(22,Ct,1,2,"ng-template",null,14,a.W1O),a.qZA(),a.TgZ(24,"column",15),a.YNc(25,At,4,0,"ng-template",null,16,a.W1O),a.YNc(27,xt,1,2,"ng-template",null,17,a.W1O),a.YNc(29,Et,2,0,"ng-template",null,18,a.W1O),a.YNc(31,Zt,1,2,"ng-template",null,19,a.W1O),a.qZA(),a._UZ(33,"column",20),a.qZA()()),2&e){const n=a.MAs(5),r=a.MAs(7),m=a.MAs(9),p=a.MAs(12),_=a.MAs(14),c=a.MAs(16),f=a.MAs(19),u=a.MAs(21),A=a.MAs(23),Z=a.MAs(26),R=a.MAs(28),x=a.MAs(32);a.Q6J("items",o.items)("form",o.form)("selectable",!1)("minHeight",o.items.length>2?0:300)("join",o.join)("groupBy",o.groupBy)("add",o.addEntrega.bind(o))("remove",o.removeEntrega.bind(o))("save",o.saveEntrega.bind(o))("load",o.loadEntrega.bind(o))("saveEnd",o.saveEndEntrega.bind(o))("hasDelete",!o.disabled&&o.planoTrabalhoEditavel)("hasEdit",!o.disabled&&o.planoTrabalhoEditavel)("hasAdd",!o.disabled&&o.planoTrabalhoEditavel),a.xp6(3),a.Q6J("titleTemplate",n)("template",r)("editTemplate",m)("verticalAlign","middle")("width",300)("align","center"),a.xp6(7),a.Q6J("width",350)("titleTemplate",p)("template",_)("editTemplate",c)("verticalAlign","middle"),a.xp6(7),a.Q6J("titleTemplate",f)("title","% CHD")("template",u)("editTemplate",A)("width",100)("align","center")("titleHint","% Carga Hor\xe1ria Dispon\xedvel"),a.xp6(7),a.Q6J("minWidth",150)("maxWidth",250)("titleTemplate",Z)("template",R)("editTemplate",x)("verticalAlign","middle")("align","center")}},dependencies:[h.O5,C.M,P.a,U.b,y.V,G.m,ma.Q,H.p,E.F,pa.C]})}return i})();const Dt=["gridAtividades"],Ot=["gridDocumentos"],It=["tabs"],Pt=["usuario"],Ut=["programa"],wt=["unidade"],Nt=["tipoModalidade"],Jt=["planoEntrega"],Qt=["atividade"],St=["entrega"],Rt=["documentos"];function Mt(i,l){if(1&i&&(a.TgZ(0,"separator",26),a._UZ(1,"calendar-efemerides",27),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("efemerides",t.horasTotais)("partial",!1)}}function qt(i,l){if(1&i&&(a.TgZ(0,"separator",28),a._UZ(1,"calendar-efemerides",29),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("efemerides",t.horasParciais)}}function Ft(i,l){if(1&i){const t=a.EpF();a.ynx(0),a.TgZ(1,"div",4)(2,"input-workload",21),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw();return a.KtG(n.onCargaHorariaChenge(o))}),a.qZA(),a._UZ(3,"input-timer",22)(4,"input-timer",23),a.qZA(),a.YNc(5,Mt,2,2,"separator",24),a.YNc(6,qt,2,1,"separator",25),a.BQk()}if(2&i){const t=a.oxw();a.xp6(2),a.Q6J("size",4)("unit",t.formaContagemCargaHoraria)("control",t.form.controls.carga_horaria)("unitChange",t.onFormaContagemCargaHorariaChange.bind(t)),a.xp6(1),a.Q6J("size",4)("control",t.form.controls.tempo_total),a.xp6(1),a.Q6J("size",4)("control",t.form.controls.tempo_proporcional),a.xp6(1),a.Q6J("ngIf",t.horasTotais),a.xp6(1),a.Q6J("ngIf",t.horasParciais)}}function Vt(i,l){if(1&i&&a._UZ(0,"top-alert",30),2&i){const t=a.oxw();a.Q6J("message","Antes de incluir "+t.lex.translate("entrega")+" neste "+t.lex.translate("Plano de Trabalho")+", \xe9 necess\xe1rio selecionar "+t.lex.translate("a Unidade")+" e o "+t.lex.translate("Programa")+"!")}}function Lt(i,l){if(1&i&&(a.TgZ(0,"div"),a._UZ(1,"plano-trabalho-list-entrega",31),a.qZA()),2&i){const t=a.oxw();a.xp6(1),a.Q6J("disabled",t.formDisabled)("entity",t.entity)}}function Gt(i,l){if(1&i&&(a.TgZ(0,"tab",32)(1,"separator",17),a._UZ(2,"input-switch",33)(3,"input-editor",34),a.qZA(),a.TgZ(4,"separator",35),a._UZ(5,"input-switch",36)(6,"input-editor",37),a.qZA()()),2&i){const t=a.oxw();a.Q6J("label",t.lex.translate("Texto Complementar")),a.xp6(1),a.Q6J("title","Texto complementar da "+t.lex.translate("unidade")),a.xp6(1),a.Q6J("disabled",t.podeEditarTextoComplementar(t.form.controls.unidade_id.value))("size",12)("label","Editar texto complementar "+t.lex.translate("na unidade")),a.xp6(1),a.Q6J("disabled",t.form.controls.editar_texto_complementar_unidade.value?void 0:"true")("dataset",t.planoDataset),a.xp6(2),a.Q6J("disabled",t.podeEditarTextoComplementar(t.form.controls.unidade_id.value))("size",12)("label","Editar texto complementar "+t.lex.translate("do usu\xe1rio")),a.xp6(1),a.Q6J("disabled",t.form.controls.editar_texto_complementar_usuario.value?void 0:"true")("dataset",t.planoDataset)}}function zt(i,l){if(1&i&&(a.TgZ(0,"tab",38)(1,"div",39),a._UZ(2,"documentos",40,41),a.qZA()()),2&i){const t=a.oxw(),e=a.MAs(12);a.Q6J("label",t.lex.translate("Termo")),a.xp6(2),a.Q6J("entity",t.entity)("disabled",t.formDisabled)("cdRef",t.cdRef)("needSign",t.planoTrabalhoService.needSign)("extraTags",t.planoTrabalhoService.extraTags)("editingId",t.formDisabled?void 0:t.editingId)("datasource",t.datasource)("template",null==e||null==e.selectedEntity?null:e.selectedEntity.template_tcr)}}const Yt=function(){return["afastamentos","lotacao","unidades","participacoes_programas"]},Ht=function(){return["usuario_id"]},Bt=function(){return["usuario_id","programa_id","tipo_modalidade_id"]};let W=(()=>{class i extends sa.F{constructor(t){super(t,O.p,w.t),this.injector=t,this.entregas=[],this.gestoresUnidadeExecutora=[],this.validate=(e,o)=>{let n=null;return["unidade_id","programa_id","usuario_id","tipo_modalidade_id"].indexOf(o)>=0&&!e.value?.length?n="Obrigat\xf3rio":["carga_horaria"].indexOf(o)>=0&&!e.value?n="Valor n\xe3o pode ser zero.":["data_inicio","data_fim"].includes(o)&&!this.util.isDataValid(e.value)?n="Inv\xe1lido":"data_fim"==o&&this.util.isDataValid(this.form?.controls.data_inicio.value)&&this.util.asTimestamp(e.value)<=this.util.asTimestamp(this.form.controls.data_inicio.value)?n="Menor que o in\xedcio":this.programa&&"data_inicio"==o&&e.value.getTime()this.programa.selectedEntity?.data_fim.getTime()&&(n="Maior que programa"),n},this.formValidation=function(){var e=(0,d.Z)(function*(o){return""});return function(o){return e.apply(this,arguments)}}(),this.titleEdit=e=>"Editando "+this.lex.translate("Plano de Trabalho")+": "+(e?.usuario?.apelido||""),this.join=["unidade.entidade","entregas.entrega","entregas.plano_entrega_entrega:id,plano_entrega_id","usuario","programa.template_tcr","tipo_modalidade","documento","documentos.assinaturas.usuario:id,nome,apelido","entregas.plano_entrega_entrega.entrega","entregas.plano_entrega_entrega.plano_entrega.unidade:id,nome,sigla","entregas.reacoes.usuario:id,nome,apelido"],this.joinPrograma=["template_tcr"],this.programaDao=t.get(na.w),this.usuarioDao=t.get(L.q),this.unidadeDao=t.get(N.J),this.documentoService=t.get(Ma.t),this.templateService=t.get(qa.E),this.utilService=t.get(Fa.f),this.calendar=t.get(ca.o),this.allPages=t.get(ra.T),this.tipoModalidadeDao=t.get(la.D),this.documentoDao=t.get(ia.d),this.planoTrabalhoService=t.get(Q.p),this.modalWidth=1300,this.planoDataset=this.dao.dataset(),this.form=this.fh.FormBuilder({carga_horaria:{default:""},tempo_total:{default:""},tempo_proporcional:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},usuario_id:{default:""},unidade_id:{default:""},programa_id:{default:""},documento_id:{default:null},documentos:{default:[]},atividades:{default:[]},entregas:{default:[]},tipo_modalidade_id:{default:""},forma_contagem_carga_horaria:{default:"DIA"},editar_texto_complementar_unidade:{default:!1},editar_texto_complementar_usuario:{default:!1},unidade_texto_complementar:{default:""},usuario_texto_complementar:{default:""},criterios_avaliacao:{default:[]},criterio_avaliacao:{default:""}},this.cdRef,this.validate),this.programaMetadata={todosUnidadeExecutora:!0,vigentesUnidadeExecutora:!1}}ngOnInit(){super.ngOnInit();const t=(this.url?this.url[this.url.length-1]?.path:"")||"";this.action=["termos"].includes(t)?t:this.action,this.buscaGestoresUnidadeExecutora(this.entity?.unidade??null)}atualizarTcr(){this.entity=this.loadEntity();let o=this.planoTrabalhoService.atualizarTcr(this.planoTrabalho,this.entity,this.form.controls.usuario_texto_complementar.value,this.form.controls.unidade_texto_complementar.value);this.form?.controls.documento_id.setValue(o?.id),this.form?.controls.documentos.setValue(this.entity.documentos),this.datasource=o?.datasource||{},this.template=this.entity.programa?.template_tcr,this.editingId=["ADD","EDIT"].includes(o?._status||"")?o.id:void 0,this.cdRef.detectChanges()}get isTermos(){return"termos"==this.action}onUnidadeSelect(t){let e=this.unidade?.selectedEntity;this.entity.unidade=e,this.entity.unidade_id=e.id,this.form.controls.forma_contagem_carga_horaria.setValue(e?.entidade?.forma_contagem_carga_horaria||"DIA"),this.form.controls.unidade_texto_complementar.setValue(e?.texto_complementar_plano||""),this.unidadeDao.getById(e.id,["gestor:id,usuario_id","gestores_substitutos:id,usuario_id","gestores_delegados:id,usuario_id"]).then(o=>{this.buscaGestoresUnidadeExecutora(o)})}podeEditarTextoComplementar(t){return t==this.auth.unidadeGestor()?.id?void 0:"true"}onProgramaSelect(t){let e=t.entity;this.entity.programa_id=e.id,this.entity.programa=e,this.form?.controls.criterios_avaliacao.setValue(e.plano_trabalho_criterios_avaliacao||[]),this.form?.controls.data_inicio.updateValueAndValidity(),this.form?.controls.data_fim.updateValueAndValidity(),this.calculaTempos(),this.cdRef.detectChanges()}onUsuarioSelect(t){var e=this;this.form.controls.usuario_texto_complementar.setValue(t.entity?.texto_complementar_plano||""),this.form?.controls.unidade_id.value||t.entity.unidades?.every(function(){var o=(0,d.Z)(function*(n){if(t.entity.lotacao.unidade_id==n.id){if(!e.form?.controls.programa_id.value){n.path.split("/").reverse();let p=0,_=0;for(;0==p;)yield e.programaDao.query({where:[["vigentesUnidadeExecutora","==",e.auth.unidade.id]]}).asPromise().then(c=>{c.length>0&&0==p&&(p=1,e.preencheUnidade(n),e.preenchePrograma(c[0]))}),_+=1}return!1}return!0});return function(n){return o.apply(this,arguments)}}()),this.calculaTempos(),this.cdRef.detectChanges()}preencheUnidade(t){this.form?.controls.unidade_id.setValue(t.id),this.entity.unidade=t,this.entity.unidade_id=t.id,this.form.controls.forma_contagem_carga_horaria.setValue(t?.entidade?.forma_contagem_carga_horaria||"DIA"),this.form.controls.unidade_texto_complementar.setValue(t?.texto_complementar_plano||""),this.unidadeDao.getById(t.id,["gestor:id,usuario_id","gestores_substitutos:id,usuario_id","gestores_delegados:id,usuario_id"]).then(e=>{this.buscaGestoresUnidadeExecutora(e)})}preenchePrograma(t){t?(this.form?.controls.programa_id.setValue(t.id),this.entity.programa_id=t.id,this.entity.programa=t,this.form?.controls.criterios_avaliacao.setValue(t.plano_trabalho_criterios_avaliacao||[]),this.form?.controls.data_inicio.updateValueAndValidity(),this.form?.controls.data_fim.updateValueAndValidity()):this.form?.setErrors({programa:"N\xe3o h\xe1 programa vigente para a unidade executora."})}onDataInicioChange(t){this.calculaTempos()}onDataFimChange(t){this.calculaTempos()}onCargaHorariaChenge(t){this.calculaTempos()}calculaTempos(){const t=this.form?.controls.data_inicio.value,e=this.form?.controls.data_fim.value,o=this.form?.controls.carga_horaria.value||8,n=this.usuario?.selectedEntity,r=this.unidade?.selectedEntity;n&&r&&this.util.isDataValid(t)&&this.util.isDataValid(e)&&this.util.asTimestamp(t){this.horasTotais=this.calendar.calculaDataTempoUnidade(t,e,o,r,"ENTREGA",[],[]),this.horasParciais=this.calendar.calculaDataTempoUnidade(t,e,o,r,"ENTREGA",[],n.afastamentos),this.form?.controls.tempo_total.setValue(this.horasTotais.tempoUtil),this.form?.controls.tempo_proporcional.setValue(this.horasParciais.tempoUtil)})}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.planoTrabalho=new O.p(t),yield Promise.all([o.calendar.loadFeriadosCadastrados(t.unidade_id),o.usuario?.loadSearch(t.usuario||t.usuario_id),o.unidade?.loadSearch(t.unidade||t.unidade_id),o.programa?.loadSearch(t.programa||t.programa_id),o.tipoModalidade?.loadSearch(t.tipo_modalidade||t.tipo_modalidade_id)]);let n=Object.assign({},e.value);e.patchValue(o.util.fillForm(n,t)),o.calculaTempos(),o.atualizarTcr()})()}initializeData(t){var e=this;return(0,d.Z)(function*(){if(e.isTermos)e.entity=yield e.dao.getById(e.urlParams.get("id"),e.join);else{e.entity=new O.p,e.entity.carga_horaria=e.auth.entidade?.carga_horaria_padrao||8,e.entity.forma_contagem_carga_horaria=e.auth.entidade?.forma_contagem_carga_horaria||"DIA",e.entity.unidade_id=e.auth.unidade.id;let n=yield e.programaDao.query({where:[["vigentesUnidadeExecutora","==",e.auth.unidade.id]],join:e.joinPrograma}).asPromise();e.preenchePrograma(n[n.length-1]),e.buscaGestoresUnidadeExecutora(e.auth.unidade),e.gestoresUnidadeExecutora.includes(e.auth.unidade.id)||(e.entity.usuario_id=e.auth.usuario.id)}yield e.loadData(e.entity,e.form);let o=new Date;o.setHours(0,0,0,0),e.form?.controls.data_inicio.setValue(o),e.form?.controls.data_fim.setValue("")})()}loadEntity(){let t=this.util.fill(new O.p,this.entity);return t=this.util.fillForm(t,this.form.value),t.usuario=this.usuario.selectedEntity||this.entity?.usuario,t.unidade=this.unidade?.selectedEntity||this.entity?.unidade,t.programa=this.programa?.selectedEntity||this.entity?.programa,t.tipo_modalidade=this.tipoModalidade.selectedEntity||this.entity?.tipo_modalidade,t}saveData(t){var e=this;return(0,d.Z)(function*(){e.submitting=!0;try{e.atualizarTcr(),e.documentos?.saveData(),e.submitting=!0,e.entity.documentos=e.entity.documentos.filter(r=>["ADD","EDIT","DELETE"].includes(r._status||""));let o=[e.dao.save(e.entity,e.join)];e.form.controls.editar_texto_complementar_unidade.value&&o.push(e.unidadeDao.update(e.entity.unidade_id,{texto_complementar_plano:e.form.controls.unidade_texto_complementar.value})),e.form.controls.editar_texto_complementar_usuario.value&&o.push(e.usuarioDao.update(e.entity.usuario_id,{texto_complementar_plano:e.form.controls.usuario_texto_complementar.value}));let n=yield Promise.all(o);e.entity=n[0]}finally{e.submitting=!1}return!0})()}onTabSelect(t){"TERMO"==t.key&&this.atualizarTcr()}documentoDynamicButtons(t){let e=[];return this.isTermos&&this.planoTrabalhoService.needSign(this.entity,t)&&e.push({hint:"Assinar",icon:"bi bi-pen",onClick:this.signDocumento.bind(this)}),e.push({hint:"Preview",icon:"bi bi-zoom-in",onClick:(n=>{this.dialog.html({title:"Termo de ades\xe3o",modalWidth:1e3},n.conteudo||"")}).bind(this)}),e}signDocumento(t){var e=this;return(0,d.Z)(function*(){yield e.documentoService.sign([t]),e.cdRef.detectChanges()})()}get formaContagemCargaHoraria(){const t=this.form?.controls.forma_contagem_carga_horaria.value||"DIA";return"DIA"==t?"day":"SEMANA"==t?"week":"mouth"}onFormaContagemCargaHorariaChange(t){this.form.controls.forma_contagem_carga_horaria.setValue("day"==t?"DIA":"week"==t?"SEMANA":"MES")}isVigente(t){return this.form.controls.documento_id.value==t.id}buscaGestoresUnidadeExecutora(t){return t&&[t.gestor?.usuario_id,...t.gestores_substitutos?.map(e=>e.usuario_id),...t.gestores_delegados?.map(e=>e.usuario_id)].forEach(e=>{e&&this.gestoresUnidadeExecutora.push(e)}),this.gestoresUnidadeExecutora}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-form"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(Dt,5),a.Gf(Ot,5),a.Gf(It,5),a.Gf(Pt,5),a.Gf(Ut,5),a.Gf(wt,5),a.Gf(Nt,5),a.Gf(Jt,5),a.Gf(Qt,5),a.Gf(St,5),a.Gf(Rt,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.gridAtividades=n.first),a.iGM(n=a.CRH())&&(o.gridDocumentos=n.first),a.iGM(n=a.CRH())&&(o.tabs=n.first),a.iGM(n=a.CRH())&&(o.usuario=n.first),a.iGM(n=a.CRH())&&(o.programa=n.first),a.iGM(n=a.CRH())&&(o.unidade=n.first),a.iGM(n=a.CRH())&&(o.tipoModalidade=n.first),a.iGM(n=a.CRH())&&(o.planoEntrega=n.first),a.iGM(n=a.CRH())&&(o.atividade=n.first),a.iGM(n=a.CRH())&&(o.entrega=n.first),a.iGM(n=a.CRH())&&(o.documentos=n.first)}},features:[a.qOj],decls:24,vars:36,consts:[["initialFocus","plano_entrega_id",3,"form","disabled","noButtons","submit","cancel"],["display","","right","",3,"hidden","title","select"],["tabs",""],["key","DADOS","label","Dados"],[1,"row"],[1,"col-md-12"],["required","","controlName","usuario_id",3,"size","disabled","dao","join","select"],["usuario",""],["required","","controlName","unidade_id",3,"size","disabled","dao","select"],["unidade",""],["icon","bi bi-file-bar-graph","required","","controlName","programa_id",3,"size","label","disabled","join","dao","metadata","select"],["programa",""],["label","In\xedcio","icon","bi bi-calendar-date","controlName","data_inicio","required","",3,"size","control","labelInfo","change"],["label","Final","icon","bi bi-calendar-date","controlName","data_fim","required","",3,"size","control","labelInfo","change"],["controlName","tipo_modalidade_id","required","",3,"size","dao"],["tipoModalidade",""],[4,"ngIf"],[3,"title"],["type","warning",3,"message",4,"ngIf"],["key","MENSAGENS",3,"label",4,"ngIf"],["key","TERMO",3,"label",4,"ngIf"],["label","Carga Hor\xe1ria","icon","bi bi-hourglass-split","controlName","carga_horaria","labelInfo","Carga hor\xe1ria do usu\xe1rio (M\xe1x.: di\xe1ria 24 horas; semana 24*5=240 horas; mensal 24*20=480 horas)","required","",3,"size","unit","control","unitChange","change"],["onlyHours","","disabled","","label","Horas Totais","icon","bi bi-clock","controlName","tempo_total","labelInfo","Horas \xfateis de trabalho no per\xedodo de vig\xeancia considerando a carga hor\xe1ria, feriados e fins de semana",3,"size","control"],["onlyHours","","disabled","","label","Horas Parciais","icon","bi bi-clock","controlName","tempo_proporcional","labelInfo","Total de horas menos os afastamentos.",3,"size","control"],["title","C\xe1lculos das horas totais","collapse","",4,"ngIf"],["title","C\xe1lculos das horas parciais","collapse","",4,"ngIf"],["title","C\xe1lculos das horas totais","collapse",""],[3,"efemerides","partial"],["title","C\xe1lculos das horas parciais","collapse",""],[3,"efemerides"],["type","warning",3,"message"],["noPersist","",3,"disabled","entity"],["key","MENSAGENS",3,"label"],["controlName","editar_texto_complementar_unidade","scale","small","labelPosition","right",3,"disabled","size","label"],["controlName","unidade_texto_complementar",3,"disabled","dataset"],["title","Texto complementar do usuario"],["controlName","editar_texto_complementar_usuario","scale","small","labelPosition","right",3,"disabled","size","label"],["controlName","usuario_texto_complementar",3,"disabled","dataset"],["key","TERMO",3,"label"],["clss","row"],["noPersist","","especie","TCR",3,"entity","disabled","cdRef","needSign","extraTags","editingId","datasource","template"],["documentos",""]],template:function(e,o){if(1&e&&(a.TgZ(0,"editable-form",0),a.NdJ("submit",function(){return o.onSaveData()})("cancel",function(){return o.onCancel()}),a.TgZ(1,"tabs",1,2)(3,"tab",3)(4,"div",4)(5,"div",5)(6,"div",4)(7,"input-search",6,7),a.NdJ("select",function(r){return o.onUsuarioSelect(r)}),a.qZA(),a.TgZ(9,"input-search",8,9),a.NdJ("select",function(r){return o.onUnidadeSelect(r)}),a.qZA(),a.TgZ(11,"input-search",10,11),a.NdJ("select",function(r){return o.onProgramaSelect(r)}),a.qZA()(),a.TgZ(13,"div",4)(14,"input-datetime",12),a.NdJ("change",function(r){return o.onDataInicioChange(r)}),a.qZA(),a.TgZ(15,"input-datetime",13),a.NdJ("change",function(r){return o.onDataFimChange(r)}),a.qZA(),a._UZ(16,"input-search",14,15),a.qZA(),a.YNc(18,Ft,7,10,"ng-container",16),a.qZA()(),a.TgZ(19,"separator",17),a.YNc(20,Vt,1,1,"top-alert",18),a.YNc(21,Lt,2,2,"div",16),a.qZA()(),a.YNc(22,Gt,7,12,"tab",19),a.YNc(23,zt,4,9,"tab",20),a.qZA()()),2&e){const n=a.MAs(17);a.Q6J("form",o.form)("disabled",o.formDisabled)("noButtons",o.isTermos?"true":void 0),a.xp6(1),a.Q6J("hidden",o.isTermos?"true":void 0)("title",o.isModal?"":o.title)("select",o.onTabSelect.bind(o)),a.xp6(6),a.Q6J("size",4)("disabled","new"==o.action?void 0:"true")("dao",o.usuarioDao)("join",a.DdM(33,Yt)),a.xp6(2),a.Q6J("size",4)("disabled","new"==o.action?void 0:"true")("dao",o.unidadeDao),a.xp6(2),a.Q6J("size",4)("label",o.lex.translate("Programa de gest\xe3o"))("disabled","new"==o.action?void 0:"true")("join",o.joinPrograma)("dao",o.programaDao)("metadata",o.programaMetadata),a.xp6(3),a.Q6J("size",3)("control",o.form.controls.data_inicio)("labelInfo","In\xedcio da Vig\xeancia do "+o.lex.translate("Plano de trabalho")),a.xp6(1),a.Q6J("size",3)("control",o.form.controls.data_fim)("labelInfo","Final da Vig\xeancia do "+o.lex.translate("Plano de trabalho")),a.xp6(1),a.Q6J("size",6)("dao",o.tipoModalidadeDao),a.xp6(2),a.Q6J("ngIf",null==n.selectedEntity?null:n.selectedEntity.plano_trabalho_calcula_horas),a.xp6(1),a.Q6J("title",o.lex.translate("Entregas")+o.lex.translate(" do plano de trabalho")),a.xp6(1),a.Q6J("ngIf",!(null!=o.form.controls.programa_id.value&&o.form.controls.programa_id.value.length&&null!=o.form.controls.unidade_id.value&&o.form.controls.unidade_id.value.length)),a.xp6(1),a.Q6J("ngIf",(null==o.form.controls.programa_id.value?null:o.form.controls.programa_id.value.length)&&(null==o.form.controls.unidade_id.value?null:o.form.controls.unidade_id.value.length)),a.xp6(1),a.Q6J("ngIf",o.checkFilled(a.DdM(34,Ht))),a.xp6(1),a.Q6J("ngIf",o.checkFilled(a.DdM(35,Bt)))}},dependencies:[h.O5,D.Q,J.a,y.V,M.k,Va.u,q.n,z.i,I.N,La.o,da.S,Ga.G,za.Y,Ya.N,k]})}return i})();var ha=s(9997),j=s(7765),fa=s(2729),kt=s(5736);function Wt(i,l){if(1&i&&a._UZ(0,"i"),2&i){const t=a.oxw();a.Tol(t.icon)}}const ba=function(i){return{data:i}};function jt(i,l){if(1&i&&a.GkF(0,5),2&i){const t=a.oxw();a.Q6J("ngTemplateOutlet",t.titleTemplate)("ngTemplateOutletContext",a.VKq(2,ba,t.data))}}function Kt(i,l){if(1&i&&a.GkF(0,5),2&i){const t=a.oxw(2);a.Q6J("ngTemplateOutlet",t.template)("ngTemplateOutletContext",a.VKq(2,ba,t.data))}}function Xt(i,l){if(1&i&&(a.TgZ(0,"div",6),a.YNc(1,Kt,1,4,"ng-container",3),a.Hsn(2),a.qZA()),2&i){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",t.template)}}const $t=["*"];let ae=(()=>{class i extends kt.V{set class(t){this._class!=t&&(this._class=t)}get class(){return"card m-3 "+this.getClassBorderColor(this.color)+this._class}constructor(t){super(t),this.injector=t,this.collapsed=!0}ngOnInit(){}onHeaderClick(){this.collapsed=!this.collapsed,this.cdRef.detectChanges()}get style(){return this.getStyleBgColor(this.color)}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["collapse-card"]],inputs:{title:"title",data:"data",icon:"icon",collapsed:"collapsed",color:"color",template:"template",titleTemplate:"titleTemplate",class:"class"},features:[a.qOj],ngContentSelectors:$t,decls:7,vars:6,consts:[[1,"card","border-primary","m-3"],["role","button",1,"card-header",3,"click"],[3,"class",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","card-body text-primary",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"card-body","text-primary"]],template:function(e,o){1&e&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1),a.NdJ("click",function(){return o.onHeaderClick()}),a.YNc(2,Wt,1,2,"i",2),a._uU(3),a.YNc(4,jt,1,4,"ng-container",3),a._UZ(5,"i"),a.qZA(),a.YNc(6,Xt,3,1,"div",4),a.qZA()),2&e&&(a.xp6(2),a.Q6J("ngIf",o.icon),a.xp6(1),a.hij(" ",o.title||""," "),a.xp6(1),a.Q6J("ngIf",o.titleTemplate),a.xp6(1),a.Tol("collapse-card-toggle-icon "+(o.collapsed?"bi bi-chevron-down":"bi bi-chevron-up")),a.xp6(1),a.Q6J("ngIf",!o.collapsed))},dependencies:[h.O5,h.tP],styles:[".card-header[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{transition:.3s transform ease-in-out}.card-header[_ngcontent-%COMP%] .collapsed[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{transform:rotate(90deg)}.collapse-card-toggle-icon[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px}"]})}return i})();var te=s(58),F=s(4539),ee=s(4368);class va extends ee.X{constructor(l){super(),this.data_inicio=new Date,this.data_fim=new Date,this.status="INCLUIDO",this.avaliacoes=[],this.status_historico=[],this.plano_trabalho_id="",this.avaliacao_id=null,this.initialization(l)}}var Ta=s(1095),K=s(6486),oe=s(3101),ie=s(2981),ne=s(7447),le=s(4971),re=s(7338),se=s(9373),de=s(6976);let ce=(()=>{class i extends de.B{constructor(t){super("Comparecimento",t),this.injector=t,this.inputSearchConfig.searchFields=["data_comparecimento"]}static#a=this.\u0275fac=function(e){return new(e||i)(a.LFG(a.zs3))};static#t=this.\u0275prov=a.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ue=s(5034),me=s(7819),pe=s(9756),_e=s(9224),ge=s(1419),Ca=s(2504),he=s(2095);const fe=["gridEntregas"],be=["gridAtividades"],ve=["etiqueta"],Te=["tipoAtividade"],Ce=["listTarefas"];function Ae(i,l){if(1&i&&(a.TgZ(0,"span",31),a._UZ(1,"i",32),a._uU(2),a.qZA()),2&i){const t=a.oxw().row;a.xp6(2),a.hij(" ",null==t.atividades?null:t.atividades.length,"")}}function ye(i,l){if(1&i&&a.YNc(0,Ae,3,1,"span",30),2&i){const t=l.row;a.Q6J("ngIf",null==t.atividades?null:t.atividades.length)}}function xe(i,l){if(1&i&&(a.TgZ(0,"span",31),a._UZ(1,"i",32),a._uU(2),a.qZA()),2&i){const t=a.oxw().row;a.xp6(2),a.hij(" ",null==t.tarefas?null:t.tarefas.length,"")}}function Ee(i,l){if(1&i&&a.YNc(0,xe,3,1,"span",30),2&i){const t=l.row;a.Q6J("ngIf",null==t.tarefas?null:t.tarefas.length)}}function Ze(i,l){1&i&&a._UZ(0,"atividade-list-tarefa",49,50),2&i&&a.Q6J("atividade",l.row)("consolidacao",!1)}function De(i,l){if(1&i&&(a.TgZ(0,"span",51),a._UZ(1,"badge",52),a.qZA(),a.TgZ(2,"span",53),a._uU(3),a.qZA(),a._UZ(4,"reaction",54)),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Q6J("label",t.numero)("data",t.numero)("click",e.atividadeService.onIdClick.bind(e)),a.xp6(2),a.Oqu(t.descricao),a.xp6(1),a.Q6J("entity",t)}}function Oe(i,l){if(1&i&&a._UZ(0,"input-textarea",55),2&i){const t=a.oxw(2);a.Q6J("size",12)("rows",2)("control",t.formAtividade.controls.descricao)}}function Ie(i,l){1&i&&a._UZ(0,"badge",58),2&i&&a.Q6J("badge",l.$implicit)}function Pe(i,l){if(1&i&&(a.TgZ(0,"div",56),a.YNc(1,Ie,1,1,"badge",57),a.qZA()),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Q6J("ngForOf",e.tempoAtividade(t))}}function Ue(i,l){if(1&i&&(a.TgZ(0,"separator",59),a._UZ(1,"input-datetime",60)(2,"input-datetime",61),a.qZA()),2&i){const t=a.oxw(2);a.Q6J("collapsed",!0),a.xp6(1),a.Q6J("control",t.formAtividade.controls.data_inicio),a.xp6(1),a.Q6J("control",t.formAtividade.controls.data_entrega)}}function we(i,l){1&i&&a._UZ(0,"badge",66),2&i&&a.Q6J("lookup",l.$implicit)}function Ne(i,l){1&i&&a._UZ(0,"separator",67)}function Je(i,l){1&i&&a._UZ(0,"i",71)}function Qe(i,l){if(1&i&&(a.TgZ(0,"tr")(1,"td"),a.YNc(2,Je,1,0,"i",69),a.qZA(),a.TgZ(3,"td",70),a._uU(4),a.qZA()()),2&i){const t=l.$implicit;a.xp6(2),a.Q6J("ngIf",t.checked),a.xp6(2),a.Oqu(t.texto)}}function Se(i,l){if(1&i&&(a.TgZ(0,"table"),a.YNc(1,Qe,5,2,"tr",68),a.qZA()),2&i){const t=a.oxw().row;a.xp6(1),a.Q6J("ngForOf",t.checklist)}}function Re(i,l){if(1&i&&(a._UZ(0,"progress-bar",62),a.YNc(1,we,1,1,"badge",63),a.YNc(2,Ne,1,0,"separator",64),a.YNc(3,Se,2,1,"table",65)),2&i){const t=l.row;a.Q6J("value",t.progresso),a.xp6(1),a.Q6J("ngForOf",t.etiquetas),a.xp6(1),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length),a.xp6(1),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function Me(i,l){1&i&&a._UZ(0,"separator",67)}function qe(i,l){if(1&i&&(a.TgZ(0,"tr")(1,"td"),a._UZ(2,"input-switch",76),a.qZA(),a.TgZ(3,"td",70),a._uU(4),a.qZA()()),2&i){const t=l.$implicit,e=l.index,o=a.oxw(4);a.xp6(2),a.Q6J("size",12)("source",o.checklist)("path",e+".checked"),a.xp6(2),a.Oqu(t.texto)}}function Fe(i,l){if(1&i&&(a.TgZ(0,"table"),a.YNc(1,qe,5,4,"tr",68),a.qZA()),2&i){const t=a.oxw(3);a.xp6(1),a.Q6J("ngForOf",t.checklist)}}function Ve(i,l){if(1&i){const t=a.EpF();a._uU(0),a._UZ(1,"input-number",72),a.TgZ(2,"input-multiselect",73)(3,"input-select",74,75),a.NdJ("details",function(){a.CHM(t);const o=a.oxw(2);return a.KtG(o.onEtiquetaConfigClick())}),a.qZA()(),a.YNc(5,Me,1,0,"separator",64),a.YNc(6,Fe,2,1,"table",65)}if(2&i){const t=l.row,e=a.oxw(2);a.hij(" ",t._status," "),a.xp6(1),a.Q6J("size",12)("decimals",2)("control",e.formEdit.controls.progresso),a.xp6(1),a.Q6J("size",12)("control",e.formEdit.controls.etiquetas)("addItemHandle",e.addItemHandleEtiquetas.bind(e)),a.xp6(1),a.Q6J("size",12)("control",e.formEdit.controls.etiqueta)("items",e.etiquetas),a.xp6(2),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length),a.xp6(1),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function Le(i,l){if(1&i&&a._UZ(0,"badge",81),2&i){const t=l.$implicit;a.Q6J("data",t)("color",t.color)("icon",t.icon)("label",t.label)}}function Ge(i,l){if(1&i&&a._UZ(0,"comentarios-widget",82),2&i){const t=a.oxw().row;a.oxw();const e=a.MAs(1);a.Q6J("entity",t)("selectable",!1)("grid",e)}}function ze(i,l){if(1&i&&(a._UZ(0,"documentos-badge",77),a.TgZ(1,"span",78),a.YNc(2,Le,1,4,"badge",79),a.qZA(),a.YNc(3,Ge,1,3,"comentarios-widget",80)),2&i){const t=l.row;a.oxw();const e=a.MAs(1),o=a.oxw();a.Q6J("documento",t.documento_requisicao),a.xp6(2),a.Q6J("ngForOf",o.atividadeService.getStatus(t,o.entity)),a.xp6(1),a.Q6J("ngIf",!e.editing)}}const Ye=function(){return{abrirEmEdicao:!0}};function He(i,l){if(1&i&&(a.TgZ(0,"grid",33,34)(2,"columns")(3,"column",35),a.YNc(4,Ee,1,1,"ng-template",null,36,a.W1O),a.YNc(6,Ze,2,2,"ng-template",null,37,a.W1O),a.qZA(),a.TgZ(8,"column",38),a.YNc(9,De,5,5,"ng-template",null,39,a.W1O),a.YNc(11,Oe,1,3,"ng-template",null,40,a.W1O),a.qZA(),a.TgZ(13,"column",41),a.YNc(14,Pe,2,1,"ng-template",null,42,a.W1O),a.YNc(16,Ue,3,3,"ng-template",null,43,a.W1O),a.qZA(),a.TgZ(18,"column",44),a.YNc(19,Re,4,4,"ng-template",null,45,a.W1O),a.YNc(21,Ve,7,12,"ng-template",null,46,a.W1O),a.qZA(),a.TgZ(23,"column",41),a.YNc(24,ze,4,3,"ng-template",null,47,a.W1O),a.qZA(),a._UZ(26,"column",48),a.qZA()()),2&i){const t=l.row,e=a.MAs(5),o=a.MAs(7),n=a.MAs(10),r=a.MAs(12),m=a.MAs(15),p=a.MAs(17),_=a.MAs(20),c=a.MAs(22),f=a.MAs(25),u=a.oxw();a.Q6J("items",t.atividades)("minHeight",0)("form",u.formAtividade)("hasAdd",!u.disabled)("hasDelete",!1)("hasEdit",!1)("add",u.addAtividade.bind(u,t.entrega))("load",u.loadAtividade.bind(u))("remove",u.removeAtividade.bind(u,t.atividades))("save",u.saveAtividade.bind(u)),a.xp6(3),a.Q6J("width",50)("align","center")("hint","Tarefas da "+u.lex.translate("atividade"))("template",e)("expandTemplate",o),a.xp6(5),a.Q6J("title","#ID/Trabalho executado")("width",400)("template",n)("editTemplate",r)("columnEditTemplate",r)("edit",u.onColumnAtividadeDescricaoEdit.bind(u))("save",u.onColumnAtividadeDescricaoSave.bind(u))("metadata",a.DdM(42,Ye)),a.xp6(5),a.Q6J("title","In\xedcio e Conclus\xe3o")("width",250)("template",m)("editTemplate",p),a.xp6(5),a.Q6J("title","Progresso\nEtiquetas/Checklist")("width",200)("template",_)("editTemplate",_)("columnEditTemplate",c)("edit",u.onColumnProgressoEtiquetasChecklistEdit.bind(u))("save",u.onColumnProgressoEtiquetasChecklistSave.bind(u))("canEdit",u.podeEditar.bind(u)),a.xp6(5),a.Q6J("title","n\xba Processo/Status\nComent\xe1rios")("width",300)("template",f)("editTemplate",f),a.xp6(3),a.Q6J("metadata",u.atividadeOptionsMetadata)("dynamicOptions",u.atividadeService.dynamicOptions.bind(u))("dynamicButtons",u.atividadeService.dynamicButtons.bind(u))}}function Be(i,l){if(1&i&&a._UZ(0,"badge",83),2&i){const t=l.row;a.Q6J("label",t.badge.titulo)("color",t.badge.cor)}}function ke(i,l){if(1&i&&(a._uU(0),a._UZ(1,"br"),a.TgZ(2,"small"),a._uU(3),a.qZA(),a._UZ(4,"reaction",84)),2&i){const t=l.row;a.hij(" ",t.badge.descricao||t.entrega.descricao,""),a.xp6(3),a.Oqu(t.entrega.descricao),a.xp6(1),a.Q6J("entity",t.entrega)}}function We(i,l){1&i&&a._UZ(0,"badge",85),2&i&&a.Q6J("label",l.row.entrega.forca_trabalho+"%")}function je(i,l){if(1&i&&a._UZ(0,"badge",86)(1,"br")(2,"badge",87),2&i){const t=l.row;a.Q6J("textValue",t.meta),a.xp6(2),a.Q6J("textValue",t.metaRealizado)}}function Ke(i,l){1&i&&a._UZ(0,"progress-bar",62),2&i&&a.Q6J("value",l.row.progresso_realizado)}function Xe(i,l){if(1&i&&(a._UZ(0,"badge",88),a._uU(1)),2&i){const t=l.row;a.Q6J("color",t.tipo_motivo_afastamento.cor)("icon",t.tipo_motivo_afastamento.icone)("label",t.tipo_motivo_afastamento.nome),a.xp6(1),a.hij(" ",t.observacao," ")}}function $e(i,l){if(1&i&&a._UZ(0,"badge",89),2&i){const t=l.row,e=a.oxw();a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",t.unidade.sigla)("textValue",t.unidade.nome)}}function ao(i,l){if(1&i&&a._UZ(0,"input-search",90,91),2&i){const t=a.oxw();a.Q6J("size",6)("dao",t.unidadeDao)}}let Aa=(()=>{class i extends S.D{set noPersist(t){super.noPersist=t}get noPersist(){return super.noPersist}set control(t){super.control=t}get control(){return super.control}set entity(t){super.entity=t,this.bindEntity()}get entity(){return super.entity}set disabled(t){(this._disabled!=t||this.atividadeOptionsMetadata.disabled!==t)&&(this._disabled=t,this.atividadeOptionsMetadata.disabled=t,this.cdRef.detectChanges())}get disabled(){return this._disabled}constructor(t){super(t),this.injector=t,this.joinAtividade=["demandante","usuario","tipo_atividade","comentarios.usuario:id,nome,apelido","reacoes.usuario:id,nome,apelido"],this.itemsEntregas=[],this.etiquetas=[],this.etiquetasAscendentes=[],this.itemsOcorrencias=[],this.itemsComparecimentos=[],this.itemsAfastamentos=[],this._disabled=!0,this.validateAtividade=(e,o)=>{let n=null;return["descricao"].indexOf(o)>=0&&!e.value?.length?n="Obrigat\xf3rio":["data_inicio","data_entrega"].includes(o)&&!this.util.isDataValid(e.value)?n="Inv\xe1lido":"data_inicio"==o&&e.value.getTime(){let n=null;return["detalhamento","unidade_id"].indexOf(o)>=0&&!e.value?.length?n="Obrigat\xf3rio":"data_comparecimento"==o&&this.entity&&!this.util.between(e.value,{start:this.entity.data_inicio,end:this.entity.data_fim})&&(n="Inv\xe1lido"),n},this.cdRef=t.get(a.sBO),this.dao=t.get(F.E),this.unidadeDao=t.get(N.J),this.comparecimentoDao=t.get(ce),this.atividadeDao=t.get(le.P),this.atividadeService=t.get(re.s),this.calendar=t.get(ca.o),this.ocorrenciaDao=t.get(ue.u),this.tipoAtividadeDao=t.get(ie.Y),this.planoTrabalhoService=t.get(Q.p),this.planoEntregaService=t.get(ne.f),this.pEEDao=t.get(ua.K),this.formAtividade=this.fh.FormBuilder({descricao:{default:""},etiquetas:{default:[]},checklist:{default:[]},comentarios:{default:[]},esforco:{default:0},tempo_planejado:{default:0},data_distribuicao:{default:new Date},data_estipulada_entrega:{default:new Date},data_inicio:{default:new Date},data_entrega:{default:new Date}},this.cdRef,this.validateAtividade),this.formComparecimento=this.fh.FormBuilder({data_comparecimento:{default:new Date},unidade_id:{default:""},detalhamento:{default:""}},this.cdRef,this.validateComparecimento),this.formEdit=this.fh.FormBuilder({descricao:{default:""},comentarios:{default:[]},progresso:{default:0},etiquetas:{default:[]},etiqueta:{default:null}}),this.atividadeOptionsMetadata={refreshId:this.atividadeRefreshId.bind(this),removeId:this.atividadeRemoveId.bind(this),refresh:this.refresh.bind(this)}}refresh(){this.loadData(this.entity,this.form)}bindEntity(){this.entity&&(this.entity._metadata=this.entity._metadata||{},this.entity._metadata.planoTrabalhoConsolidacaoFormComponent=this)}atividadeRefreshId(t,e){this.itemsEntregas.forEach(o=>{let n=o.atividades.findIndex(r=>r.id==t);n>=0&&(e?o.atividades[n]=e:this.atividadeDao.getById(t,this.joinAtividade).then(r=>{r&&(o.atividades[n]=r)}))}),this.cdRef.detectChanges()}atividadeRemoveId(t){this.itemsEntregas.forEach(e=>{let o=e.atividades.findIndex(n=>n.id==t);o>=0&&e.atividades.splice(o,1)}),this.cdRef.detectChanges()}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),(0,d.Z)(function*(){yield t.loadData(t.entity,t.form)})()}loadConsolidacao(t){this.itemsEntregas=t.entregas.map(e=>(e.plano_entrega_entrega&&(e.plano_entrega_entrega.plano_entrega=t.planosEntregas.find(n=>n.id==e.plano_entrega_entrega?.plano_entrega_id)),{id:e.id,entrega:e,atividades:t.atividades.filter(n=>n.plano_trabalho_entrega_id==e.id),badge:this.planoTrabalhoService.tipoEntrega(e,t.planoTrabalho),meta:e.plano_entrega_entrega?this.planoEntregaService.getValorMeta(e.plano_entrega_entrega):"",metaRealizado:e.plano_entrega_entrega?this.planoEntregaService.getValorRealizado(e.plano_entrega_entrega):"",progresso_realizado:e.plano_entrega_entrega?e.plano_entrega_entrega.progresso_realizado:0,objetivos:e.plano_entrega_entrega?e.plano_entrega_entrega.objetivos:[],processos:e.plano_entrega_entrega?e.plano_entrega_entrega.processos:[]})),this.programa=t.programa,this.planoTrabalho=t.planoTrabalho,this.itemsOcorrencias=t.ocorrencias,this.itemsComparecimentos=t.comparecimentos,this.itemsAfastamentos=t.afastamentos,this.unidade=t.planoTrabalho.unidade||this.entity.plano_trabalho?.unidade,this.cdRef.detectChanges()}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.gridEntregas.loading=!0,o.cdRef.detectChanges();try{let n=yield o.dao.dadosConsolidacao(t.id);o.loadConsolidacao(n)}finally{o.gridEntregas.loading=!1,o.cdRef.detectChanges()}})()}addAtividade(t){var e=this;return(0,d.Z)(function*(){let o=t.plano_trabalho||e.entity.plano_trabalho,n=e.calendar.calculaDataTempoUnidade(e.entity.data_inicio,e.entity.data_fim,o.carga_horaria,e.unidade,"ENTREGA");const r=e.calendar.horasUteis(e.entity.data_inicio,e.entity.data_fim,o.carga_horaria,e.unidade,"DISTRIBUICAO"),m=e.util.maxDate(e.util.setTime(e.entity.data_inicio,0,0,0),o.data_inicio),p=e.util.minDate(e.util.setTime(e.entity.data_fim,23,59,59),o.data_fim);let _=e.dao.generateUuid();return new oe.a({id:_,plano_trabalho:o,plano_trabalho_entrega:t,plano_trabalho_consolidacao:e.entity,demandante:e.auth.usuario,usuario:e.auth.usuario,unidade:e.unidade,data_distribuicao:m,carga_horaria:o.carga_horaria,data_estipulada_entrega:p,data_inicio:m,data_entrega:p,tempo_planejado:r,tempo_despendido:n?.tempoUtil||0,status:"CONCLUIDO",progresso:100,plano_trabalho_id:e.entity.plano_trabalho_id,plano_trabalho_entrega_id:t.id,plano_trabalho_consolidacao_id:e.entity.id,demandante_id:e.auth.usuario.id,usuario_id:e.auth.usuario.id,unidade_id:e.unidade.id,metadados:{atrasado:!1,tempo_despendido:0,tempo_atraso:0,pausado:!1,iniciado:!0,concluido:!0,avaliado:!1,arquivado:!1,produtividade:0,extra:void 0,_status:[]},_status:"temporario"})})()}loadAtividade(t,e){var o=this;return(0,d.Z)(function*(){o.formAtividade.patchValue(e),o.cdRef.detectChanges()})()}removeAtividade(t,e){var o=this;return(0,d.Z)(function*(){if(!(yield o.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")))return!1;try{let r=e;return yield o.atividadeDao?.delete(r),t.splice(t.findIndex(m=>m.id==r.id),1),!0}catch{return!1}})()}saveAtividade(t,e){var o=this;return(0,d.Z)(function*(){let n;if(o.gridAtividades.error="",o.formAtividade.markAllAsTouched(),o.formAtividade.valid){e.id="NEW"==e.id?o.dao.generateUuid():e.id,o.util.fillForm(e,o.formAtividade.value),o.submitting=!0;try{n=yield o.atividadeDao?.save(e,o.joinAtividade,["etiquetas","checklist","comentarios","pausas","tarefas"]),o.atividadeRefreshId(e.id,n)}catch(r){n=!1,o.gridAtividades.error=r.message||r}finally{o.submitting=!1}}return n})()}onDataDistribuicaoChange(t){this.formAtividade.controls.data_inicio.setValue(this.formAtividade.controls.data_distribuicao.value)}onDataEstipuladaEntregaChange(t){this.formAtividade.controls.data_entrega.setValue(this.formAtividade.controls.data_estipulada_entrega.value)}atividadeDynamicButtons(t){let e=[];return e.push(Object.assign({},this.gridEntregas.BUTTON_EDIT,{})),e.push(Object.assign({},this.gridEntregas.BUTTON_DELETE,{})),e}onColumnProgressoEtiquetasChecklistEdit(t){var e=this;return(0,d.Z)(function*(){if(!e.etiquetasAscendentes.filter(o=>o.data==t.plano_trabalho.unidade.id).length){let o=yield e.carregaEtiquetasUnidadesAscendentes(t.plano_trabalho.unidade);e.etiquetasAscendentes.push(...o)}e.formEdit.controls.progresso.setValue(t.progresso),e.formEdit.controls.etiquetas.setValue(t.etiquetas),e.formEdit.controls.etiqueta.setValue(null),e.etiquetas=e.util.merge(t.tipo_atividade?.etiquetas,t.plano_trabalho.unidade?.etiquetas,(o,n)=>o.key==n.key),e.etiquetas=e.util.merge(e.etiquetas,e.auth.usuario.config?.etiquetas,(o,n)=>o.key==n.key),e.etiquetas=e.util.merge(e.etiquetas,e.etiquetasAscendentes.filter(o=>o.data==t.plano_trabalho.unidade.id),(o,n)=>o.key==n.key),e.checklist=e.util.clone(t.checklist)})()}carregaEtiquetasUnidadesAscendentes(t){var e=this;return(0,d.Z)(function*(){let o=[];if((t=t||e.auth.unidade).path){let n=t.path.split("/");(yield e.unidadeDao.query({where:[["id","in",n]]}).asPromise()).forEach(m=>{o=e.util.merge(o,m.etiquetas,(p,_)=>p.key==_.key)}),o.forEach(m=>m.data=t.id)}return o})()}onColumnProgressoEtiquetasChecklistSave(t){var e=this;return(0,d.Z)(function*(){try{const o=yield e.atividadeDao.update(t.id,{progresso:e.formEdit.controls.progresso.value,etiquetas:e.formEdit.controls.etiquetas.value,checklist:e.checklist});return t.progresso=e.formEdit.controls.progresso.value,t.checklist=e.checklist,!!o}catch{return!1}})()}onEtiquetaConfigClick(){this.go.navigate({route:["configuracoes","preferencia","usuario",this.auth.usuario.id],params:{etiquetas:!0}},{modal:!0,modalClose:t=>{this.etiquetas=this.util.merge(this.etiquetas,this.auth.usuario.config?.etiquetas,(e,o)=>e.key==o.key),this.cdRef.detectChanges()}})}addItemHandleEtiquetas(){let t;if(this.etiqueta&&this.etiqueta.selectedItem){const e=this.etiqueta.selectedItem,o=e.key?.length?e.key:this.util.textHash(e.value);this.util.validateLookupItem(this.formEdit.controls.etiquetas.value,o)&&(t={key:o,value:e.value,color:e.color,icon:e.icon},this.formEdit.controls.etiqueta.setValue(null))}return t}podeEditar(t){return!t._status}loadTipoAtividade(t){t?(this.etiquetas=this.atividadeService.buildEtiquetas(this.unidade,t),this.atividadeService.buildChecklist(t,this.formAtividade.controls.checklist),this.formAtividade.controls.esforco.setValue(t?.esforco||0)):(this.etiquetas=[],this.formAtividade.controls.esforco.setValue(0)),this.cdRef.detectChanges()}onTipoAtividadeSelect(t){const e=t.entity;this.loadTipoAtividade(e),this.atividadeService.comentarioAtividade(e,this.formAtividade.controls.comentarios),this.cdRef.detectChanges()}onColumnAtividadeDescricaoEdit(t){var e=this;return(0,d.Z)(function*(){e.formAtividade.controls.descricao.setValue(t.descricao),e.formAtividade.controls.comentarios.setValue(t.comentarios)})()}onColumnAtividadeDescricaoSave(t){var e=this;return(0,d.Z)(function*(){try{e.atividadeService.comentarioAtividade(e.tipoAtividade?.selectedEntity,e.formAtividade.controls.comentarios);const o=yield e.atividadeDao.update(t.id,{descricao:e.formAtividade.controls.descricao.value,comentarios:(e.formAtividade.controls.comentarios.value||[]).filter(n=>["ADD","EDIT","DELETE"].includes(n._status||""))});return t.descricao=e.formAtividade.controls.descricao.value,t.tipo_atividade=e.tipoAtividade?.selectedEntity||null,t.comentarios=e.formAtividade.controls.comentarios.value,!!o}catch{return!1}})()}tempoAtividade(t){let e=[{color:"light",hint:"In\xedcio",icon:"bi bi-file-earmark-play",label:this.dao.getDateTimeFormatted(t.data_inicio)}],o=this.atividadeService.temposAtividade(t);return o=o.filter(n=>"bi bi-file-earmark-plus"!=n.icon&&"bi bi-calendar-check"!=n.icon),e.push(...o),e}dynamicButtons(t){let e=[];return e.push({label:"Detalhes",icon:"bi bi-eye",color:"btn-outline-success",onClick:this.showDetalhes.bind(this)}),e}showDetalhes(t){var e=this;return(0,d.Z)(function*(){let o=yield e.pEEDao.getById(t.entrega.plano_entrega_entrega.id,["entrega","objetivos.objetivo"]);e.go.navigate({route:["gestao","plano-entrega","entrega",t.entrega.plano_entrega_entrega.id,"detalhes"]},{metadata:{plano_entrega:t.entrega.plano_entrega_entrega.plano_entrega,planejamento_id:t.entrega.plano_entrega_entrega.plano_entrega.planejamento_id,cadeia_valor_id:t.entrega.plano_entrega_entrega.plano_entrega.cadeia_valor_id,unidade_id:t.entrega.plano_entrega_entrega.plano_entrega.unidade_id,entrega:o}})})()}addOcorrencia(){var t=this;return(0,d.Z)(function*(){t.go.navigate({route:["gestao","ocorrencia","new"]},{metadata:{consolidacao:t.entity,planoTrabalho:t.planoTrabalho},modalClose:e=>{e&&t.refresh()}})})()}editOcorrencia(t){var e=this;return(0,d.Z)(function*(){e.go.navigate({route:["gestao","ocorrencia",t.id,"edit"]},{modalClose:o=>{o&&e.refresh()}})})()}removeOcorrencia(t){var e=this;return(0,d.Z)(function*(){if(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")){e.submitting=!0;try{let o=t;yield e.ocorrenciaDao?.delete(o),e.itemsOcorrencias.splice(e.itemsOcorrencias.findIndex(n=>n.id==o.id),1)}finally{e.submitting=!1}}})()}ocorrenciaDynamicButtons(t){let e=[];return!this.disabled&&this.auth.hasPermissionTo("MOD_OCOR_EDT")&&e.push(Object.assign({},this.OPTION_ALTERAR,{onClick:this.editOcorrencia.bind(this)})),!this.disabled&&this.auth.hasPermissionTo("MOD_OCOR_EXCL")&&e.push(Object.assign({},this.OPTION_EXCLUIR,{onClick:this.removeOcorrencia.bind(this)})),e}addComparecimento(){var t=this;return(0,d.Z)(function*(){return new se.V({unidade_id:t.unidade?.id,unidade:t.unidade,plano_trabalho_consolidacao_id:t.entity.id})})()}loadComparecimento(t,e){var o=this;return(0,d.Z)(function*(){o.formComparecimento.patchValue({data_comparecimento:e.data_comparecimento,unidade_id:e.unidade_id,detalhamento:e.detalhamento}),o.cdRef.detectChanges()})()}removeComparecimento(t){var e=this;return(0,d.Z)(function*(){if(!(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")))return!1;try{let n=t;return yield e.comparecimentoDao?.delete(n),e.itemsComparecimentos.splice(e.itemsComparecimentos.findIndex(r=>r.id==n.id),1),!0}catch{return!1}})()}saveComparecimento(t,e){var o=this;return(0,d.Z)(function*(){let n;if(o.formComparecimento.markAllAsTouched(),o.formComparecimento.valid){e.id="NEW"==e.id?o.dao.generateUuid():e.id,e.data_comparecimento=t.controls.data_comparecimento.value,e.detalhamento=t.controls.detalhamento.value,e.plano_trabalho_consolidacao_id=o.entity.id,e.unidade_id=t.controls.unidade_id.value,o.submitting=!0;try{n=yield o.comparecimentoDao?.save(e)}finally{o.submitting=!1}}return n})()}comparecimentoDynamicButtons(t){return[]}addAfastamento(){var t=this;return(0,d.Z)(function*(){t.go.navigate({route:["gestao","afastamento","new"]},{metadata:{consolidacao:t.entity},filterSnapshot:void 0,querySnapshot:void 0,modalClose:e=>{e&&t.refresh()}})})()}afastamentoDynamicButtons(t){let e=[];return e.push(Object.assign({},this.OPTION_INFORMACOES,{onClick:o=>this.go.navigate({route:["gestao","afastamento",o.id,"consult"]})})),e}showPlanejamento(t){var e=this;return(0,d.Z)(function*(){e.go.navigate({route:["gestao","planejamento",t,"consult"]},{modal:!0})})()}showCadeiaValor(t){var e=this;return(0,d.Z)(function*(){e.go.navigate({route:["gestao","cadeia-valor",t,"consult"]},{modal:!0})})()}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-consolidacao-form"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(fe,5),a.Gf(be,5),a.Gf(ve,5),a.Gf(Te,5),a.Gf(Ce,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.gridEntregas=n.first),a.iGM(n=a.CRH())&&(o.gridAtividades=n.first),a.iGM(n=a.CRH())&&(o.etiqueta=n.first),a.iGM(n=a.CRH())&&(o.tipoAtividade=n.first),a.iGM(n=a.CRH())&&(o.listTarefas=n.first)}},inputs:{cdRef:"cdRef",planoTrabalho:"planoTrabalho",noPersist:"noPersist",control:"control",entity:"entity",disabled:"disabled"},features:[a.qOj],decls:47,vars:54,consts:[["collapse","",3,"collapsed","title","icon"],[3,"items","minHeight","hasEdit"],["gridEntregas",""],["type","expand",3,"width","icon","align","hint","template","expandTemplate"],["columnConsolidacao",""],["columnExpandedConsolidacao",""],["title","Origem",3,"template","width"],["columnOrigem",""],["title","Entrega",3,"template"],["columnEntrega",""],["title","% CHD Planejado",3,"template","width","titleHint"],["columnForcaTrabalho",""],[3,"title","template","width"],["columnMetaRealizado",""],["title","Progresso",3,"template","width"],["columnProgresso",""],["type","options",3,"dynamicButtons"],["editable","",3,"items","minHeight","hasEdit","hasDelete","hasAdd","add"],["gridAfastamento",""],["title","In\xedcio","type","datetime","field","data_inicio",3,"width"],["title","Fim","type","datetime","field","data_fim",3,"width"],["title","Motivo/Observa\xe7\xe3o",3,"template"],["columnMotivoObservacao",""],["editable","",3,"items","minHeight","form","hasDelete","hasAdd","hasEdit","add","load","remove","save"],["gridComparecimento",""],["title","Data","type","date","field","data_comparecimento",3,"width"],["title","Unidade",3,"template","editTemplate"],["columnUnidade",""],["editUnidade",""],["title","Detalhamento","type","text","field","detalhamento"],["class","badge rounded-pill bg-light text-dark",4,"ngIf"],[1,"badge","rounded-pill","bg-light","text-dark"],[1,"bi","bi-boxes"],["editable","",3,"items","minHeight","form","hasAdd","hasDelete","hasEdit","add","load","remove","save"],["gridAtividades",""],["type","expand","icon","bi bi-boxes",3,"width","align","hint","template","expandTemplate"],["columnTarefas",""],["columnExpandedTarefas",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save","metadata"],["columnAtividadeDescricao",""],["editAtividadeDescricao",""],[3,"title","width","template","editTemplate"],["columnTempos",""],["editTempos",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save","canEdit"],["columnProgressoEtiquetasChecklist",""],["columnProgressoEtiquetasChecklistEdit",""],["columnNumero",""],["type","options",3,"metadata","dynamicOptions","dynamicButtons"],["persist","",3,"atividade","consolidacao"],["listTarefas",""],[1,"text-nowrap","d-block"],["icon","bi bi-hash","color","light",3,"label","data","click"],[1,"micro-text","fw-ligh","atividade-descricao"],["origem","ATIVIDADE",3,"entity"],["label","Descri\xe7\xe3o","controlName","descricao","required","",3,"size","rows","control"],[1,"one-per-line"],[3,"badge",4,"ngFor","ngForOf"],[3,"badge"],["title","In\xedcio e Conclus\xe3o","collapse","",3,"collapsed"],["icon","bi bi-play-circle","label","In\xedcio","controlName","data_inicio","labelInfo","Data de inicializa\xe7\xe3o da atividade",3,"control"],["icon","bi bi-check-circle","label","Conclus\xe3o","controlName","data_entrega","labelInfo","Data da conclus\xe3o da atividade",3,"control"],["color","success",3,"value"],[3,"lookup",4,"ngFor","ngForOf"],["small","","title","Checklist",4,"ngIf"],[4,"ngIf"],[3,"lookup"],["small","","title","Checklist"],[4,"ngFor","ngForOf"],["class","bi bi-check-circle",4,"ngIf"],[1,"micro-text","fw-ligh"],[1,"bi","bi-check-circle"],["label","Progresso","sufix","%","icon","bi bi-clock","controlName","progresso","labelInfo","Progresso de execu\xe7\xe3o (% Conclu\xeddo)",3,"size","decimals","control"],["controlName","etiquetas",3,"size","control","addItemHandle"],["label","Etiqueta","controlName","etiqueta","nullable","","itemNull","- Selecione -","detailsButton","","detailsButtonIcon","bi bi-tools",3,"size","control","items","details"],["etiqueta",""],["scale","small",3,"size","source","path"],[3,"documento"],[1,"d-block"],[3,"data","color","icon","label",4,"ngFor","ngForOf"],["origem","ATIVIDADE",3,"entity","selectable","grid",4,"ngIf"],[3,"data","color","icon","label"],["origem","ATIVIDADE",3,"entity","selectable","grid"],[3,"label","color"],["origem","PLANO_TRABALHO_ENTREGA",3,"entity"],["color","light",3,"label"],["icon","bi bi-graph-up-arrow","color","light","hint","Meta",3,"textValue"],["icon","bi bi-check-lg","color","light","hint","Realizado",3,"textValue"],[3,"color","icon","label"],["color","success",3,"icon","label","textValue"],["label","","icon","","controlName","unidade_id",3,"size","dao"],["unidade",""]],template:function(e,o){if(1&e&&(a.TgZ(0,"separator",0)(1,"grid",1,2)(3,"columns")(4,"column",3),a.YNc(5,ye,1,1,"ng-template",null,4,a.W1O),a.YNc(7,He,27,43,"ng-template",null,5,a.W1O),a.qZA(),a.TgZ(9,"column",6),a.YNc(10,Be,1,2,"ng-template",null,7,a.W1O),a.qZA(),a.TgZ(12,"column",8),a.YNc(13,ke,5,3,"ng-template",null,9,a.W1O),a.qZA(),a.TgZ(15,"column",10),a.YNc(16,We,1,1,"ng-template",null,11,a.W1O),a.qZA(),a.TgZ(18,"column",12),a.YNc(19,je,3,2,"ng-template",null,13,a.W1O),a.qZA(),a.TgZ(21,"column",14),a.YNc(22,Ke,1,1,"ng-template",null,15,a.W1O),a.qZA(),a._UZ(24,"column",16),a.qZA()()(),a.TgZ(25,"separator",0)(26,"grid",17,18)(28,"columns"),a._UZ(29,"column",19)(30,"column",20),a.TgZ(31,"column",21),a.YNc(32,Xe,2,4,"ng-template",null,22,a.W1O),a.qZA(),a._UZ(34,"column",16),a.qZA()()(),a.TgZ(35,"separator",0)(36,"grid",23,24)(38,"columns"),a._UZ(39,"column",25),a.TgZ(40,"column",26),a.YNc(41,$e,1,3,"ng-template",null,27,a.W1O),a.YNc(43,ao,2,2,"ng-template",null,28,a.W1O),a.qZA(),a._UZ(45,"column",29)(46,"column",16),a.qZA()()()),2&e){const n=a.MAs(6),r=a.MAs(8),m=a.MAs(11),p=a.MAs(14),_=a.MAs(17),c=a.MAs(20),f=a.MAs(23),u=a.MAs(33),A=a.MAs(42),Z=a.MAs(44);a.Q6J("collapsed",!1)("title",o.lex.translate("Atividades"))("icon",o.entityService.getIcon("Atividade")),a.xp6(1),a.Q6J("items",o.itemsEntregas)("minHeight",0)("hasEdit",!1),a.xp6(3),a.Q6J("width",50)("icon",o.entityService.getIcon("PlanoTrabalhoConsolidacao"))("align","center")("hint",o.lex.translate("Consolida\xe7\xe3o"))("template",n)("expandTemplate",r),a.xp6(5),a.Q6J("template",m)("width",200),a.xp6(3),a.Q6J("template",p),a.xp6(3),a.Q6J("template",_)("width",100)("titleHint","% Carga Hor\xe1ria Dispon\xedvel Planejada"),a.xp6(3),a.Q6J("title","Meta")("template",c)("width",100),a.xp6(3),a.Q6J("template",f)("width",150),a.xp6(3),a.Q6J("dynamicButtons",o.dynamicButtons.bind(o)),a.xp6(1),a.Q6J("collapsed",!1)("title",o.lex.translate("Afastamentos"))("icon",o.entityService.getIcon("Afastamento")),a.xp6(1),a.Q6J("items",o.itemsAfastamentos)("minHeight",0)("hasEdit",!1)("hasDelete",!1)("hasAdd",!o.disabled)("add",o.addAfastamento.bind(o)),a.xp6(3),a.Q6J("width",300),a.xp6(1),a.Q6J("width",300),a.xp6(1),a.Q6J("template",u),a.xp6(3),a.Q6J("dynamicButtons",o.afastamentoDynamicButtons.bind(o)),a.xp6(1),a.Q6J("collapsed",!1)("title",o.lex.translate("Comparecimentos"))("icon",o.entityService.getIcon("Comparecimento")),a.xp6(1),a.Q6J("items",o.itemsComparecimentos)("minHeight",0)("form",o.formComparecimento)("hasDelete",!o.disabled)("hasAdd",!o.disabled)("hasEdit",!o.disabled)("add",o.addComparecimento.bind(o))("load",o.loadComparecimento.bind(o))("remove",o.removeComparecimento.bind(o))("save",o.saveComparecimento.bind(o)),a.xp6(3),a.Q6J("width",300),a.xp6(1),a.Q6J("template",A)("editTemplate",Z),a.xp6(6),a.Q6J("dynamicButtons",o.comparecimentoDynamicButtons.bind(o))}},dependencies:[h.sg,h.O5,C.M,P.a,U.b,J.a,y.V,ma.Q,M.k,H.p,me.p,I.N,E.F,pe.R,_e.l,pa.C,ge.y,Ca.h,he.u]})}return i})();function to(i,l){}function eo(i,l){if(1&i&&a._UZ(0,"plano-trabalho-consolidacao-form",16,17),2&i){const t=l.row,e=a.oxw();a.Q6J("disabled",e.isDisabled(t))("entity",t)("planoTrabalho",e.entity)("cdRef",e.cdRef)}}function oo(i,l){if(1&i&&a._uU(0),2&i){const t=l.row,e=a.oxw();a.hij(" ",e.util.getDateFormatted(t.data_inicio)," ")}}function io(i,l){if(1&i&&a._uU(0),2&i){const t=l.row,e=a.oxw();a.hij(" ",e.util.getDateFormatted(t.data_fim)," ")}}function no(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"avaliar-nota-badge",20),a.NdJ("click",function(){a.CHM(t);const o=a.oxw().row,n=a.oxw();return a.KtG(n.mostrarAvaliacao(o))}),a.qZA()}if(2&i){const t=a.oxw().row,e=a.oxw();a.Q6J("align","left")("tipoAvaliacao",t.avaliacao.tipo_avaliacao||e.entity.programa.tipo_avaliacao_plano_trabalho)("nota",t.avaliacao.nota)}}function lo(i,l){if(1&i&&(a.TgZ(0,"separator",21)(1,"small"),a._uU(2),a.qZA()()),2&i){const t=a.oxw().row;a.Q6J("collapsed",!1),a.xp6(2),a.Oqu(t.avaliacao.recurso)}}function ro(i,l){if(1&i&&(a.YNc(0,no,1,3,"avaliar-nota-badge",18),a.YNc(1,lo,3,2,"separator",19)),2&i){const t=l.row;a.Q6J("ngIf",t.avaliacao),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}function so(i,l){1&i&&a._UZ(0,"badge",25)}function co(i,l){if(1&i&&(a.TgZ(0,"div",22),a._UZ(1,"badge",23),a.YNc(2,so,1,0,"badge",24),a.qZA()),2&i){const t=l.row,e=a.oxw();a.xp6(1),a.Q6J("color",e.lookup.getColor(e.lookup.CONSOLIDACAO_STATUS,t.status))("icon",e.lookup.getIcon(e.lookup.CONSOLIDACAO_STATUS,t.status))("label",e.lookup.getValue(e.lookup.CONSOLIDACAO_STATUS,t.status)),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}let ya=(()=>{class i extends S.D{set entity(t){super.entity=t}get entity(){return super.entity}get items(){return this.entity?.consolidacoes||[]}constructor(t){super(t),this.injector=t,this.validate=(e,o)=>null,this.dao=t.get(F.E),this.avaliacaoDao=t.get(Ta.w),this.planoTrabalhoService=t.get(Q.p),this.unidadeService=t.get(Y.Z),this.planoTrabalhoDao=t.get(w.t),this.title=this.lex.translate("Consolida\xe7\xf5es"),this.code="MOD_PTR_CSLD",this.modalWidth=1200,this.form=this.fh.FormBuilder({data_inicio:{default:new Date},data_fim:{default:new Date}},this.cdRef,this.validate)}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),(0,d.Z)(function*(){if(t.urlParams?.has("usuarioId")&&t.urlParams?.has("planoTrabalhoId")){let o=yield t.planoTrabalhoDao.getByUsuario(t.urlParams.get("usuarioId"),!0,t.urlParams.get("planoTrabalhoId"));1==o.planos.length&&(t.entity=o.planos[0])}let e=(new Date).getTime();t.items.forEach(o=>{o.plano_trabalho||(o.plano_trabalho=t.entity),t.util.asTimestamp(o.data_inicio)<=e&&e<=t.util.asTimestamp(o.data_fim)&&t.grid.expand(o.id)})})()}addConsolidacao(){var t=this;return(0,d.Z)(function*(){return new va({id:t.dao.generateUuid(),plano_trabalho_id:t.entity.id})})()}loadConsolidacao(t,e){var o=this;return(0,d.Z)(function*(){o.form.patchValue({data_inicio:e.data_inicio,data_fim:e.data_fim}),o.cdRef.detectChanges()})()}removeConsolidacao(t){var e=this;return(0,d.Z)(function*(){if(!(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")))return!1;try{let n=t;return yield e.dao?.delete(n),e.items.splice(e.items.findIndex(r=>r.id==n.id),1),!0}catch{return!1}})()}saveConsolidacao(t,e){var o=this;return(0,d.Z)(function*(){let n;return o.form.markAllAsTouched(),o.form.valid&&(e.id="NEW"==e.id?o.dao.generateUuid():e.id,e.data_inicio=t.controls.data_inicio.value,e.data_fim=t.controls.data_fim.value,n=yield o.dao?.save(e)),n})()}refreshConsolidacao(t,e){e&&t._metadata?.planoTrabalhoConsolidacaoFormComponent?(t._metadata?.planoTrabalhoConsolidacaoFormComponent).loadConsolidacao(e):this.grid.refreshExpanded(t.id),this.grid.refreshRows()}concluir(t){var e=this;return(0,d.Z)(function*(){e.submitting=!0;try{let o=yield e.dao.concluir(t.id);t.status=o.status,e.refreshConsolidacao(t,o)}catch(o){e.error(o.message||o)}finally{e.submitting=!1}})()}cancelarConclusao(t){var e=this;return(0,d.Z)(function*(){e.submitting=!0;try{let o=yield e.dao.cancelarConclusao(t.id);t.status=o.status,e.refreshConsolidacao(t,o)}catch(o){e.error(o.message||o)}finally{e.submitting=!1}})()}anterior(t){return this.entity.consolidacoes.reduce((e,o)=>this.util.asTimestamp(o.data_inicio)this.util.asTimestamp(o.data_fim)>this.util.asTimestamp(t.data_fim)&&(!e||this.util.asTimestamp(e.data_fim)>this.util.asTimestamp(o.data_fim))?o:e,void 0)}isDisabled(t){return t&&"INCLUIDO"!=t.status||"ATIVO"!=this.entity?.status}podeInserir(){return this.auth.hasPermissionTo("MOD_PTR_CSLD_INCL")}dynamicButtons(t){let e=[],o=t;const n=o.plano_trabalho?.usuario_id,r=this.entity.unidade_id,m=o?.avaliacoes.filter(T=>null!=T.recurso).length>0,p=this.auth.usuario.id==n,_={gestor:!1,gestorSubstituto:!1,gestorDelegado:!1},c=this.entity?._metadata.atribuicoesGestorUsuarioLogado||_,f=this.entity?._metadata.atribuicoesGestorUsuario||_,u=this.entity?._metadata.gestorUnidadeSuperior||_,A=!p&&this.auth.hasPermissionTo("MOD_PTR_CSLD_AVAL")&&(this.auth.isIntegrante("AVALIADOR_PLANO_TRABALHO",r)||f.gestor&&(u.gestor||u.gestorSubstituto)||f.gestorSubstituto&&(c.gestor||u.gestor||u.gestorSubstituto)||!f.gestor&&!f.gestorSubstituto&&(c.gestor||c.gestorSubstituto)),Z={hint:"Concluir",icon:"bi bi-check-circle",color:"btn-outline-success",onClick:this.concluir.bind(this)},R={hint:"Cancelar conclus\xe3o",icon:"bi bi-backspace",color:"btn-outline-danger",onClick:this.cancelarConclusao.bind(this)},x={hint:"Avaliar",icon:"bi bi-star",color:"btn-outline-warning",onClick:T=>this.planoTrabalhoService.avaliar(T,this.entity.programa,this.refreshConsolidacao.bind(this))},X={hint:"Reavaliar",icon:"bi bi-star-half",color:"btn-outline-warning",onClick:T=>this.planoTrabalhoService.avaliar(T,this.entity.programa,this.refreshConsolidacao.bind(this))},$={label:"Recurso",id:"RECORRIDO",icon:"bi bi-journal-medical",color:"btn-outline-warning",onClick:T=>this.planoTrabalhoService.fazerRecurso(T,this.entity.programa,this.refreshConsolidacao.bind(this))},aa={hint:"Cancelar avalia\xe7\xe3o",id:"INCLUIDO",icon:"bi bi-backspace",color:"btn-outline-danger",onClick:T=>this.planoTrabalhoService.cancelarAvaliacao(T,this,this.refreshConsolidacao.bind(this))};return"INCLUIDO"==o.status&&(p||this.auth.hasPermissionTo("MOD_PTR_CSLD_CONCL"))&&e.push(Z),"CONCLUIDO"==o.status&&(p||this.auth.hasPermissionTo("MOD_PTR_CSLD_DES_CONCL"))&&e.push(R),"CONCLUIDO"==o.status&&A&&e.push(x),"AVALIADO"==o.status&&o.avaliacao&&(p&&!m&&this.auth.hasPermissionTo("MOD_PTR_CSLD_REC_AVAL")&&o.avaliacao?.data_avaliacao&&["Inadequado","N\xe3o executado"].includes(o.avaliacao?.nota)&&e.push($),A&&(o.avaliacoes.reduce((g,ta)=>ta.data_avaliacao>g.data_avaliacao?ta:g,o.avaliacoes[0]).data_avaliacao>new Date(Date.now()-864e5)&&e.push(X),o.avaliacoes.filter(g=>g.recurso).length>0||e.push(aa))),e}mostrarAvaliacao(t){this.planoTrabalhoService.fazerRecurso(t,this.entity.programa,this.refreshConsolidacao.bind(this))}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-consolidacao-list"]],viewQuery:function(e,o){if(1&e&&a.Gf(C.M,5),2&e){let n;a.iGM(n=a.CRH())&&(o.grid=n.first)}},inputs:{entity:"entity"},features:[a.qOj],decls:24,vars:20,consts:[["editable","",3,"items","form","hasDelete","minHeight","add","hasAdd","hasEdit"],["grid",""],[1,"my-2"],[1,"bi","bi-arrow-down"],["type","expand",3,"icon","align","hint","template","expandTemplate"],["columnConsolidacao",""],["columnExpandedConsolidacao",""],["title","Data in\xedcio",3,"template"],["columnDataInicio",""],["title","Data fim",3,"template"],["columnDataFim",""],["title","Estat\xedsticas/Avalia\xe7\xf5es",3,"template","width"],["columnEstatisticas",""],["title","Status",3,"template"],["columnStatus",""],["type","options",3,"dynamicButtons"],[3,"disabled","entity","planoTrabalho","cdRef"],["consolidacao",""],[3,"align","tipoAvaliacao","nota","click",4,"ngIf"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed",4,"ngIf"],[3,"align","tipoAvaliacao","nota","click"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed"],[1,"one-per-line"],[3,"color","icon","label"],["icon","bi bi-journal-medical","color","warning","label","Recorrido",4,"ngIf"],["icon","bi bi-journal-medical","color","warning","label","Recorrido"]],template:function(e,o){if(1&e&&(a.TgZ(0,"grid",0,1)(2,"h5",2),a._uU(3),a._UZ(4,"i",3),a.qZA(),a.TgZ(5,"columns")(6,"column",4),a.YNc(7,to,0,0,"ng-template",null,5,a.W1O),a.YNc(9,eo,2,4,"ng-template",null,6,a.W1O),a.qZA(),a.TgZ(11,"column",7),a.YNc(12,oo,1,1,"ng-template",null,8,a.W1O),a.qZA(),a.TgZ(14,"column",9),a.YNc(15,io,1,1,"ng-template",null,10,a.W1O),a.qZA(),a.TgZ(17,"column",11),a.YNc(18,ro,2,2,"ng-template",null,12,a.W1O),a.qZA(),a.TgZ(20,"column",13),a.YNc(21,co,3,4,"ng-template",null,14,a.W1O),a.qZA(),a._UZ(23,"column",15),a.qZA()()),2&e){const n=a.MAs(8),r=a.MAs(10),m=a.MAs(13),p=a.MAs(16),_=a.MAs(19),c=a.MAs(22);a.Q6J("items",o.items)("form",o.form)("hasDelete",!0)("minHeight",0)("add",o.addConsolidacao.bind(o))("hasAdd",!1)("hasEdit",!1)("hasDelete",!1),a.xp6(3),a.hij("",o.lex.translate("Consolida\xe7\xf5es")," "),a.xp6(3),a.Q6J("icon",o.entityService.getIcon("PlanoTrabalhoConsolidacao"))("align","center")("hint",o.lex.translate("Consolida\xe7\xe3o"))("template",n)("expandTemplate",r),a.xp6(5),a.Q6J("template",m),a.xp6(3),a.Q6J("template",p),a.xp6(3),a.Q6J("template",_)("width",300),a.xp6(3),a.Q6J("template",c),a.xp6(3),a.Q6J("dynamicButtons",o.dynamicButtons.bind(o))}},dependencies:[h.O5,C.M,P.a,U.b,I.N,E.F,K.M,Aa]})}return i})();const uo=["accordion"];function mo(i,l){1&i&&a._UZ(0,"badge",13),2&i&&a.Q6J("badge",l.$implicit)}function po(i,l){if(1&i&&(a.TgZ(0,"div",1)(1,"div",2),a._uU(2),a.qZA(),a.TgZ(3,"div",3),a._UZ(4,"badge",10)(5,"badge",10)(6,"badge",10)(7,"badge",10),a.qZA(),a.TgZ(8,"div",4),a._uU(9),a.qZA(),a.TgZ(10,"div",5),a.YNc(11,mo,1,1,"badge",11),a.qZA(),a.TgZ(12,"div",5),a._UZ(13,"badge",12),a.qZA()()),2&i){const t=l.item,e=a.oxw();a.xp6(2),a.Oqu("#"+t.numero),a.xp6(2),a.Q6J("icon",e.entityService.getIcon("Usuario"))("label",null==t.usuario?null:t.usuario.nome)("hint",e.lex.translate("Participante")+": "+(null==t.usuario?null:t.usuario.nome)),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",null==t.unidade?null:t.unidade.sigla)("hint",e.lex.translate("Unidade")+": "+(null==t.unidade?null:t.unidade.nome)),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("Programa"))("label",null==t.programa?null:t.programa.nome)("hint",e.lex.translate("Programa")),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("TipoModalidade"))("label",null==t.tipo_modalidade?null:t.tipo_modalidade.nome)("hint",e.lex.translate("Tipo de modalidade")),a.xp6(2),a.hij(" ",e.dao.getDateFormatted(t.data_inicio)+" at\xe9 "+e.dao.getDateFormatted(t.data_fim)," "),a.xp6(2),a.Q6J("ngForOf",e.getPlanoBadges(t)),a.xp6(2),a.Q6J("label",e.lookup.getValue(e.lookup.PLANO_TRABALHO_STATUS,t.status))("icon",e.lookup.getIcon(e.lookup.PLANO_TRABALHO_STATUS,t.status))("color",e.lookup.getColor(e.lookup.PLANO_TRABALHO_STATUS,t.status))}}function _o(i,l){1&i&&a._UZ(0,"plano-trabalho-consolidacao-list",14),2&i&&a.Q6J("entity",l.item)}let go=(()=>{class i extends S.D{set arquivados(t){this._arquivados!=t&&(this._arquivados=t,this.viewInit&&this.loadData(this.entity,this.form))}get arquivados(){return this._arquivados}constructor(t){super(t),this.injector=t,this.selectedIndex=-1,this.planos=[],this._arquivados=!1,this.dao=t.get(w.t)}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),(0,d.Z)(function*(){yield t.loadData(t.entity,t.form)})()}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.accordion.loading=!0;try{let r=yield o.dao.getByUsuario(o.usuarioId,o.arquivados),m=(new Date).getTime();o.planos=r.planos;for(var n=0;n"CONCLUIDO"==r.status),n=t.consolidacoes.filter(r=>"AVALIADO"==r.status);if(o.length){const r=this.lookup.getLookup(this.lookup.CONSOLIDACAO_STATUS,"CONCLUIDO");e.push({icon:r?.icon,label:r?.value,color:r?.color,textValue:o.length.toString()})}if(n.length){const r=this.lookup.getLookup(this.lookup.CONSOLIDACAO_STATUS,"AVALIADO");e.push({icon:r?.icon,label:r?.value,color:r?.color,textValue:n.length.toString()})}return JSON.stringify(t._metadata?.badges)!=this.JSON.stringify(e)&&(t._metadata=Object.assign(t._metadata||{},{badges:e})),t._metadata.badges}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-list-accordeon"]],viewQuery:function(e,o){if(1&e&&a.Gf(uo,5),2&e){let n;a.iGM(n=a.CRH())&&(o.accordion=n.first)}},inputs:{usuarioId:"usuarioId",arquivados:"arquivados"},features:[a.qOj],decls:17,vars:8,consts:[[1,"p-3","bg-body-secondary","mb-3"],[1,"row","w-100"],[1,"col-md-1"],[1,"col-md-4"],[1,"col-md-3"],[1,"col-md-2"],[3,"items","selectedIndex","titleTemplate","template"],["accordion",""],["planoTrabalhoSectionTitle",""],["planoTrabalhoSection",""],["color","light",3,"icon","label","hint"],[3,"badge",4,"ngFor","ngForOf"],[3,"label","icon","color"],[3,"badge"],[3,"entity"]],template:function(e,o){if(1&e&&(a.TgZ(0,"div",0)(1,"div",1)(2,"div",2),a._uU(3,"#ID"),a.qZA(),a.TgZ(4,"div",3),a._uU(5),a.qZA(),a.TgZ(6,"div",4),a._uU(7,"Vig\xeancia"),a.qZA(),a._UZ(8,"div",5),a.TgZ(9,"div",5),a._uU(10,"Status"),a.qZA()()(),a.TgZ(11,"accordion",6,7),a.YNc(13,po,14,18,"ng-template",null,8,a.W1O),a.YNc(15,_o,1,1,"ng-template",null,9,a.W1O),a.qZA()),2&e){const n=a.MAs(14),r=a.MAs(16);a.xp6(5),a.HOy("",o.lex.translate("Participante"),"/",o.lex.translate("Unidade"),"/",o.lex.translate("Programa"),"/",o.lex.translate("Tipo de modalidade"),""),a.xp6(6),a.Q6J("items",o.planos)("selectedIndex",o.selectedIndex)("titleTemplate",n)("template",r)}},dependencies:[h.sg,E.F,te.Z,ya]})}return i})();function ho(i,l){1&i&&(a.TgZ(0,"div",15)(1,"div",16),a._UZ(2,"span",17),a.qZA()())}function fo(i,l){if(1&i&&(a.TgZ(0,"div",21)(1,"div",22),a._UZ(2,"profile-picture",23),a.qZA(),a.TgZ(3,"div",24)(4,"strong"),a._uU(5),a.qZA(),a._UZ(6,"br"),a.TgZ(7,"small"),a._uU(8),a.qZA()()()),2&i){const t=l.data;a.xp6(2),a.Q6J("url",t.url_foto)("size",40)("hint",t.nome),a.xp6(3),a.Oqu(t.nome||""),a.xp6(3),a.Oqu(t.apelido||"")}}function bo(i,l){1&i&&a._UZ(0,"plano-trabalho-list-accordeon",25),2&i&&a.Q6J("usuarioId",l.data.id)}function vo(i,l){if(1&i&&(a.TgZ(0,"collapse-card",18),a.YNc(1,fo,9,5,"ng-template",null,19,a.W1O),a.YNc(3,bo,1,1,"ng-template",null,20,a.W1O),a.qZA()),2&i){const t=l.$implicit,e=a.MAs(2),o=a.MAs(4);a.Q6J("data",t)("titleTemplate",e)("template",o)}}function To(i,l){if(1&i&&(a.TgZ(0,"filter",7)(1,"div",8),a._UZ(2,"input-search",9,10),a.qZA()(),a.TgZ(4,"div",11)(5,"h5"),a._uU(6),a.qZA(),a.TgZ(7,"h4"),a._uU(8),a._UZ(9,"i",12),a.qZA()(),a.YNc(10,ho,3,0,"div",13),a.YNc(11,vo,5,3,"collapse-card",14)),2&i){const t=a.MAs(3),e=a.oxw(2);a.Q6J("form",e.filter)("filter",e.filterWhere)("collapsed",!1),a.xp6(2),a.Q6J("size",12)("control",e.filter.controls.unidade_id)("dao",e.unidadeDao),a.xp6(4),a.lnq("",e.lex.translate("Unidade")," selecionada: ",null==t||null==t.selectedItem?null:t.selectedItem.entity.sigla," - ",null==t||null==t.selectedItem?null:t.selectedItem.entity.nome,""),a.xp6(2),a.hij("",e.lex.translate("Participantes")," "),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngForOf",e.usuarios)}}function Co(i,l){if(1&i&&(a.TgZ(0,"tab",5),a.YNc(1,To,12,12,"ng-template",null,6,a.W1O),a.qZA()),2&i){const t=a.MAs(2),e=a.oxw();a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",e.lex.translate("Unidade"))("template",t)}}function Ao(i,l){if(1&i&&(a.TgZ(0,"div",26)(1,"h5",27),a._uU(2),a._UZ(3,"i",12),a.qZA(),a._UZ(4,"separator",28),a.qZA(),a._UZ(5,"plano-trabalho-list-accordeon",29)),2&i){const t=a.oxw();a.xp6(2),a.hij("",t.lex.translate("Planos de Trabalho")," "),a.xp6(2),a.Q6J("control",t.form.controls.arquivados)("title","Mostrar "+t.lex.translate("Planos de trabalho")+" arquivados?"),a.xp6(1),a.Q6J("usuarioId",t.auth.usuario.id)("arquivados",t.form.controls.arquivados.value)}}let yo=(()=>{class i extends S.D{constructor(t){super(t),this.injector=t,this.usuarios=[],this.loadingUnidade=!1,this.filterWhere=e=>{this.loadUsuarios(e.value.unidade_id)},this.unidadeDao=t.get(N.J),this.form=this.fh.FormBuilder({arquivados:{default:!1}}),this.filter=this.fh.FormBuilder({unidade_id:{default:!1}})}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),this.tabs.active=this.queryParams?.tab||"USUARIO",this.tabs.title=this.lex.translate("Consolida\xe7\xf5es"),(0,d.Z)(function*(){yield t.loadData(t.entity,t.form)})()}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.unidade=o.auth.unidadeGestor(),o.filter.controls.unidade_id.setValue(o.unidade?.id||o.auth.lotacao||null),o.unidade&&(yield o.loadUsuarios(o.unidade.id))})()}loadUsuarios(t){var e=this;return(0,d.Z)(function*(){e.usuarios=[],e.loadingUnidade=!0,e.loading=!0,e.cdRef.detectChanges();try{e.usuarios=yield e.unidadeDao.lotados(t)}finally{e.loading=!1,e.loadingUnidade=!1,e.cdRef.detectChanges()}})()}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-plano-trabalho-consolidacao"]],viewQuery:function(e,o){if(1&e&&(a.Gf(q.n,5),a.Gf(y.V,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.tabs=n.first),a.iGM(n=a.CRH())&&(o.unidadeSelecionada=n.first)}},features:[a.qOj],decls:6,vars:5,consts:[["right","",3,"title"],["tabs",""],["key","UNIDADE",3,"icon","label","template",4,"ngIf"],["key","USUARIO",3,"icon","label","template"],["tabUsuario",""],["key","UNIDADE",3,"icon","label","template"],["tabUnidade",""],[3,"form","filter","collapsed"],[1,"row"],["label","Selecione a unidade","controlName","unidade_id",3,"size","control","dao"],["unidadeSelecionada",""],[1,"p-3","mb-3","bg-body-secondary"],[1,"bi","bi-arrow-down"],["class","d-flex justify-content-center my-2",4,"ngIf"],[3,"data","titleTemplate","template",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[3,"data","titleTemplate","template"],["usuarioCardTitle",""],["usuarioCard",""],[1,"d-flex"],[1,"ms-3"],[3,"url","size","hint"],[1,"flex-fill","ms-3"],[3,"usuarioId"],[1,"d-flex","justify-content-between"],[1,"mt-2"],[3,"control","title"],[3,"usuarioId","arquivados"]],template:function(e,o){if(1&e&&(a.TgZ(0,"tabs",0,1),a.YNc(2,Co,3,3,"tab",2),a.TgZ(3,"tab",3),a.YNc(4,Ao,6,5,"ng-template",null,4,a.W1O),a.qZA()()),2&e){const n=a.MAs(5);a.Q6J("title",o.isModal?"":o.title),a.xp6(2),a.Q6J("ngIf",o.unidade),a.xp6(1),a.Q6J("icon",o.entityService.getIcon("Usuario"))("label",o.lex.translate("Usu\xe1rio"))("template",n)}},dependencies:[h.sg,h.O5,j.z,y.V,q.n,z.i,I.N,fa.q,ae,go]})}return i})();var xa=s(38),xo=s(929);function Eo(i,l){if(1&i&&(a.TgZ(0,"div",12)(1,"div",13)(2,"strong"),a._uU(3),a.qZA(),a._UZ(4,"br"),a.TgZ(5,"small"),a._uU(6),a.qZA()()()),2&i){const t=l.row;a.xp6(3),a.Oqu(t.avaliador.nome||""),a.xp6(3),a.Oqu(t.avaliador.apelido||"")}}function Zo(i,l){if(1&i&&a._UZ(0,"badge",17),2&i){const t=l.$implicit,e=a.oxw(3);a.Q6J("icon",e.entityService.getIcon("TipoJustificativa"))("label",t.value)}}function Do(i,l){if(1&i&&(a._UZ(0,"avaliar-nota-badge",14)(1,"br"),a.TgZ(2,"small"),a._uU(3),a.qZA(),a.TgZ(4,"div",15),a.YNc(5,Zo,1,2,"badge",16),a.qZA()),2&i){const t=l.row;a.Q6J("align","left")("tipoAvaliacao",t.tipo_avaliacao)("nota",t.nota),a.xp6(3),a.Oqu(t.justificativa||""),a.xp6(2),a.Q6J("ngForOf",t.justificativas)}}function Oo(i,l){if(1&i&&(a.TgZ(0,"small"),a._uU(1),a.qZA()),2&i){const t=l.row;a.xp6(1),a.Oqu(t.recurso||"")}}function Io(i,l){1&i&&a._UZ(0,"badge",19)}function Po(i,l){if(1&i&&(a.TgZ(0,"div",15),a.YNc(1,Io,1,0,"badge",18),a.qZA()),2&i){const t=l.row;a.xp6(1),a.Q6J("ngIf",null==t.recurso?null:t.recurso.length)}}function Uo(i,l){if(1&i&&(a.ynx(0),a.TgZ(1,"grid",1,2)(3,"columns"),a._UZ(4,"column",3),a.TgZ(5,"column",4),a.YNc(6,Eo,7,2,"ng-template",null,5,a.W1O),a.qZA(),a.TgZ(8,"column",6),a.YNc(9,Do,6,5,"ng-template",null,7,a.W1O),a.qZA(),a.TgZ(11,"column",8),a.YNc(12,Oo,2,1,"ng-template",null,9,a.W1O),a.qZA(),a.TgZ(14,"column",10),a.YNc(15,Po,2,1,"ng-template",null,11,a.W1O),a.qZA()()(),a.BQk()),2&i){const t=a.MAs(7),e=a.MAs(10),o=a.MAs(13),n=a.MAs(16),r=a.oxw();a.xp6(1),a.Q6J("items",r.consolidacao.avaliacoes)("minHeight",0),a.xp6(4),a.Q6J("template",t),a.xp6(3),a.Q6J("title","Nota\nJustificativas")("template",e),a.xp6(3),a.Q6J("template",o),a.xp6(3),a.Q6J("template",n)}}let wo=(()=>{class i extends xo._{constructor(t){super(t),this.injector=t,this.joinConsolidacao=["avaliacoes.tipo_avaliacao","avaliacoes.avaliador"],this.consolidacaoDao=t.get(F.E)}ngOnInit(){super.ngOnInit(),this.buscaConsolidacao()}buscaConsolidacao(){var t=this;return(0,d.Z)(function*(){t.consolidacao=yield t.consolidacaoDao.getById(t.urlParams.get("consolidacaoId"),t.joinConsolidacao)})()}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["visualizar-avaliacao"]],features:[a.qOj],decls:1,vars:1,consts:[[4,"ngIf"],[3,"items","minHeight"],["gridEntregas",""],["title","Data","type","datetime","field","data_avaliacao"],["title","Avaliador",3,"template"],["columnAvaliador",""],[3,"title","template"],["columnNotaJustificativa",""],["title","Recurso",3,"template"],["columnRecurso",""],["title","Status",3,"template"],["columnStatus",""],[1,"avaliador"],[1,"avaliador-nome"],[3,"align","tipoAvaliacao","nota"],[1,"one-per-line"],[3,"icon","label",4,"ngFor","ngForOf"],[3,"icon","label"],["icon","bi bi-journal-medical","color","warning","label","Recorrido",4,"ngIf"],["icon","bi bi-journal-medical","color","warning","label","Recorrido"]],template:function(e,o){1&e&&a.YNc(0,Uo,17,7,"ng-container",0),2&e&&a.Q6J("ngIf",o.consolidacao)},dependencies:[h.sg,h.O5,C.M,P.a,U.b,E.F,K.M]})}return i})();var No=s(8509),Jo=s(1313),Ea=s(5512),Za=s(2704);function Qo(i,l){if(1&i&&(a.TgZ(0,"div",31)(1,"div",32),a._UZ(2,"profile-picture",33),a.qZA(),a.TgZ(3,"div",34)(4,"strong"),a._uU(5),a.qZA(),a._UZ(6,"br")(7,"badge",35),a.qZA()()),2&i){const t=l.separator,e=a.oxw(2);let o,n,r,m;a.xp6(2),a.Q6J("url",null==(o=e.usuarioSeparator(t))?null:o.url_foto)("size",40)("hint",null==(n=e.usuarioSeparator(t))?null:n.nome),a.xp6(3),a.Oqu((null==(r=e.usuarioSeparator(t))?null:r.nome)||"Desconhecido"),a.xp6(2),a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",(null==(m=e.unidadeSeparator(t))?null:m.sigla)||"Desconhecido")}}function So(i,l){1&i&&a._UZ(0,"toolbar")}function Ro(i,l){}function Mo(i,l){if(1&i&&a._UZ(0,"plano-trabalho-consolidacao-form",36,37),2&i){const t=l.row,e=a.oxw(2);a.Q6J("disabled",!0)("entity",t)("planoTrabalho",t.plano_trabalho)("cdRef",e.cdRef)}}function qo(i,l){if(1&i&&(a._uU(0),a._UZ(1,"badge",38)(2,"badge",39)(3,"badge",40)),2&i){const t=l.row,e=a.oxw(2);a.hij(" #",null==t.plano_trabalho?null:t.plano_trabalho.numero," "),a.xp6(1),a.Q6J("textValue",e.util.getDateFormatted(null==t.plano_trabalho?null:t.plano_trabalho.data_inicio)),a.xp6(1),a.Q6J("textValue",e.util.getDateFormatted(null==t.plano_trabalho?null:t.plano_trabalho.data_fim)),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("TipoModalidade"))("label",null==t.plano_trabalho||null==t.plano_trabalho.tipo_modalidade?null:t.plano_trabalho.tipo_modalidade.nome)("hint",e.lex.translate("Tipo de modalidade"))}}function Fo(i,l){if(1&i&&a._uU(0),2&i){const t=l.row,e=a.oxw(2);a.hij(" ",e.util.getDateFormatted(t.data_inicio)," ")}}function Vo(i,l){if(1&i&&(a.TgZ(0,"strong"),a._uU(1),a.qZA()),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Oqu(e.util.getDateFormatted(t.data_fim))}}function Lo(i,l){if(1&i&&a._UZ(0,"avaliar-nota-badge",43),2&i){const t=a.oxw().row;a.Q6J("align","left")("tipoAvaliacao",t.avaliacao.tipo_avaliacao)("nota",t.avaliacao.nota)}}function Go(i,l){if(1&i&&(a.TgZ(0,"separator",44)(1,"small"),a._uU(2),a.qZA()()),2&i){const t=a.oxw().row;a.Q6J("collapsed",!1),a.xp6(2),a.Oqu(t.avaliacao.recurso)}}function zo(i,l){if(1&i&&(a.YNc(0,Lo,1,3,"avaliar-nota-badge",41),a.YNc(1,Go,3,2,"separator",42)),2&i){const t=l.row;a.Q6J("ngIf",t.avaliacao),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}function Yo(i,l){1&i&&a._UZ(0,"badge",48)}function Ho(i,l){if(1&i&&(a.TgZ(0,"div",45),a._UZ(1,"badge",46),a.YNc(2,Yo,1,0,"badge",47),a.qZA()),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Q6J("color",e.lookup.getColor(e.lookup.CONSOLIDACAO_STATUS,t.status))("icon",e.lookup.getIcon(e.lookup.CONSOLIDACAO_STATUS,t.status))("label",e.lookup.getValue(e.lookup.CONSOLIDACAO_STATUS,t.status)),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}function Bo(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"grid",3),a.YNc(1,Qo,8,6,"ng-template",null,4,a.W1O),a.YNc(3,So,1,0,"toolbar",5),a.TgZ(4,"filter",6)(5,"div",7),a._UZ(6,"input-search",8,9),a.TgZ(8,"input-search",10,11),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw();return a.KtG(n.onUnidadeChange(o))}),a.qZA(),a._UZ(10,"input-switch",12,13)(12,"input-switch",14,15),a.qZA()(),a.TgZ(14,"columns")(15,"column",16),a.YNc(16,Ro,0,0,"ng-template",null,17,a.W1O),a.YNc(18,Mo,2,4,"ng-template",null,18,a.W1O),a.qZA(),a.TgZ(20,"column",19),a.YNc(21,qo,4,6,"ng-template",null,20,a.W1O),a.qZA(),a.TgZ(23,"column",21),a.YNc(24,Fo,1,1,"ng-template",null,22,a.W1O),a.qZA(),a.TgZ(26,"column",23),a.YNc(27,Vo,2,1,"ng-template",null,24,a.W1O),a.qZA(),a.TgZ(29,"column",25),a.YNc(30,zo,2,2,"ng-template",null,26,a.W1O),a.qZA(),a.TgZ(32,"column",27),a.YNc(33,Ho,3,4,"ng-template",null,28,a.W1O),a.qZA(),a._UZ(35,"column",29),a.qZA(),a._UZ(36,"pagination",30),a.qZA()}if(2&i){const t=a.MAs(2),e=a.MAs(17),o=a.MAs(19),n=a.MAs(22),r=a.MAs(25),m=a.MAs(28),p=a.MAs(31),_=a.MAs(34),c=a.oxw();a.Q6J("dao",c.dao)("orderBy",c.orderBy)("groupBy",c.groupBy)("join",c.join)("init",c.initGrid.bind(c))("hasAdd",!1)("hasEdit",!1)("loadList",c.onGridLoad.bind(c))("groupTemplate",t),a.xp6(3),a.Q6J("ngIf",!c.selectable),a.xp6(1),a.Q6J("form",c.filter)("where",c.filterWhere)("submit",c.filterSubmit.bind(c))("collapseChange",c.filterCollapseChange.bind(c))("collapsed",c.filterCollapsed)("deleted",c.auth.hasPermissionTo("MOD_AUDIT_DEL")),a.xp6(2),a.Q6J("size",5)("control",c.filter.controls.usuario_id)("dao",c.usuarioDao),a.xp6(2),a.Q6J("size",5)("control",c.filter.controls.unidade_id)("dao",c.unidadeDao),a.xp6(2),a.Q6J("size",1)("disabled",c.canFilterSubordinadas)("control",c.filter.controls.unidades_subordinadas),a.xp6(2),a.Q6J("size",1)("control",c.filter.controls.incluir_arquivados),a.xp6(3),a.Q6J("icon",c.entityService.getIcon("PlanoTrabalhoConsolidacao"))("align","center")("hint",c.lex.translate("Consolida\xe7\xe3o"))("template",e)("expandTemplate",o),a.xp6(5),a.Q6J("title","Plano de trabalho/Vig\xeancia/Modalidade")("template",n),a.xp6(3),a.Q6J("template",r),a.xp6(3),a.Q6J("template",m),a.xp6(3),a.Q6J("title","Estat\xedsticas\nAvalia\xe7\xf5es")("template",p)("width",300),a.xp6(3),a.Q6J("template",_),a.xp6(3),a.Q6J("dynamicButtons",c.dynamicButtons.bind(c)),a.xp6(1),a.Q6J("rows",c.rowsLimit)}}const Wo=[{path:"",component:ha.H,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Planos de Trabalho"}},{path:"new",component:W,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Plano de Trabalho",modal:!0}},{path:"termo",component:Ra,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Termo de ades\xe3o",modal:!0}},{path:"consolidacao/avaliacao",component:(()=>{class i extends No.E{constructor(t){super(t,va,F.E),this.injector=t,this.avaliacoes=[],this.planos_trabalhos=[],this.programas=[],this.avaliacao=new Jo.g,this.consolidacaoId=[],this.joinAvaliacao=["avaliador","entregas_checklist","tipo_avaliacao.notas"],this.filterWhere=e=>{let o=[],n=e.value;return o.push(["status","in",["CONCLUIDO","AVALIADO"]]),n.usuario_id?.length&&o.push(["plano_trabalho.usuario.id","==",n.usuario_id]),n.unidade_id?.length&&o.push(["plano_trabalho.unidade.id","==",n.unidade_id]),n.unidades_subordinadas&&o.push(["unidades_subordinadas","==",!0]),n.incluir_arquivados&&o.push(["incluir_arquivados","==",!0]),o},this.filterWhereHistorico=e=>{let o=[],n=e.value;return o.push(["status","in",["AVALIADO"]]),n.usuario_id?.length&&o.push(["plano_trabalho.usuario.id","==",n.usuario_id]),n.unidade_id?.length&&o.push(["plano_trabalho.unidade.id","==",n.unidade_id]),n.unidades_subordinadas&&o.push(["unidades_subordinadas","==",!0]),n.incluir_arquivados&&o.push(["incluir_arquivados","==",!0]),o},this.unidadeService=t.get(Y.Z),this.join=["avaliacoes:id,recurso","avaliacao","plano_trabalho:id"],this.extraJoin=["avaliacao.tipoAvaliacao.notas","planoTrabalho.unidade:id,sigla,nome","planoTrabalho.unidade.gestor:id,unidade_id,usuario_id","planoTrabalho.unidade.unidadePai.gestoresSubstitutos:id,unidade_id,usuario_id","planoTrabalho.unidade.unidadePai.gestor:id,unidade_id,usuario_id","planoTrabalho.unidade.gestoresSubstitutos:id,unidade_id,usuario_id","planoTrabalho.tipoModalidade:id,nome","planoTrabalho.usuario:id,nome,apelido,foto_perfil,url_foto"],this.groupBy=[{field:"plano_trabalho.unidade.sigla",label:this.lex.translate("Unidade")},{field:"plano_trabalho.unidade.id",label:"Unidade Id"},{field:"plano_trabalho.usuario.nome",label:this.lex.translate("Participante")},{field:"plano_trabalho.usuario.id",label:"Usu\xe1rio Id"}],this.usuarioDao=t.get(L.q),this.unidadeDao=t.get(N.J),this.avaliacaoDao=t.get(Ta.w),this.planoTrabalhoService=t.get(Q.p),this.title="Avalia\xe7\xf5es "+this.lex.translate("das Consolida\xe7\xf5es"),this.code="MOD_PTR_CSLD_AVAL",this.filter=this.fh.FormBuilder({usuario_id:{default:""},unidade_id:{default:""},unidades_subordinadas:{default:!1},incluir_arquivados:{default:!1}}),this.rowsLimit=10,this.addOption(this.OPTION_INFORMACOES),this.addOption(this.OPTION_LOGS,"MOD_AUDIT_LOG")}ngOnInit(){super.ngOnInit(),this.filter.controls.unidade_id.setValue(this.auth.unidadeGestor()?.id||this.auth.lotacao||null)}get canFilterSubordinadas(){return this.unidadeService.isGestorUnidade(this.filter.controls.unidade_id.value)?void 0:"true"}usuarioSeparator(t){let e=t.group[3].value;return t.metadata=t.metadata||{},t.metadata.usuario=t.metadata.usuario||this.planos_trabalhos?.find(o=>o.usuario_id==e)?.usuario,t.metadata.usuario}unidadeSeparator(t){let e=t.group[1].value;return t.metadata=t.metadata||{},t.metadata.unidade=t.metadata.unidade||this.planos_trabalhos?.find(o=>o.unidade_id==e)?.unidade,t.metadata.unidade}onUnidadeChange(t){this.unidadeService.isGestorUnidade(this.filter.controls.unidade_id.value)||this.filter.controls.unidades_subordinadas.setValue(!1)}onGridLoad(t){this.extra=(this.grid?.query||this.query).extra,this.extra&&(this.planos_trabalhos=(this.planos_trabalhos||[]).concat(this.extra?.planos_trabalhos||[]),this.programas=(this.programas||[]).concat(this.extra?.programas||[]),this.planos_trabalhos.forEach(e=>{let o=e;o.programa=this.programas?.find(n=>n.id==o.programa_id)}),t?.forEach(e=>{let o=e;o.plano_trabalho=this.planos_trabalhos?.find(n=>n.id==o.plano_trabalho_id),o.avaliacao&&(o.avaliacao.tipo_avaliacao=this.extra?.tipos_avaliacoes?.find(n=>n.id==o.avaliacao.tipo_avaliacao_id))}))}refreshConsolidacao(t){var e=this;(0,d.Z)(function*(){yield e.grid.query.refreshId(t.id,e.extraJoin),e.grid.refreshRows()})()}dynamicButtons(t){let e=[],o=t,n=o.plano_trabalho.programa,r=!1;const m=o.plano_trabalho.usuario_id,p=o.plano_trabalho.unidade_id,_=o.plano_trabalho.unidade,c=m==this.auth.usuario?.id,f=_?.gestor?.usuario_id==m,u=_?.gestores_substitutos.map(g=>g.usuario_id).includes(m),A=_?.gestores_delegados.map(g=>g.usuario_id).includes(m),Z=!f&&!u&&!A,R=this.auth.hasPermissionTo("MOD_PTR_CSLD_AVAL"),x=!!o.plano_trabalho.unidade&&this.unidadeService.isGestorUnidadeSuperior(o.plano_trabalho.unidade);f?r=x:u?r=x||this.unidadeService.isGestorTitularUnidade(p):A?r=x||this.unidadeService.isGestorUnidade(p,!1):Z&&(r=x||this.unidadeService.isGestorUnidade(p));const X={hint:"Visualizar",icon:"bi bi-eye",color:"btn-outline-primary",onClick:g=>this.planoTrabalhoService.visualizarAvaliacao(g)},aa={hint:"Reavaliar",icon:"bi bi-star-half",color:"btn-outline-warning",onClick:g=>this.planoTrabalhoService.avaliar(g,n,this.refreshConsolidacao.bind(this))},T={label:"Recurso",id:"RECORRIDO",icon:"bi bi-journal-medical",color:"btn-outline-warning",onClick:g=>this.planoTrabalhoService.fazerRecurso(g,n,this.refreshConsolidacao.bind(this))},Da={hint:"Cancelar avalia\xe7\xe3o",id:"INCLUIDO",icon:"bi bi-backspace",color:"btn-outline-danger",onClick:g=>this.planoTrabalhoService.cancelarAvaliacao(g,this,this.refreshConsolidacao.bind(this))};return"CONCLUIDO"==o.status&&!c&&r&&R&&e.push({hint:"Avaliar",icon:"bi bi-star",color:"btn-outline-info",onClick:g=>this.planoTrabalhoService.avaliar(g,n,this.refreshConsolidacao.bind(this))}),"AVALIADO"==o.status&&o.avaliacao&&(e.push(X),c&&this.auth.hasPermissionTo("MOD_PTR_CSLD_REC_AVAL")&&o.avaliacao?.data_avaliacao&&["Inadequado","N\xe3o executado"].includes(o.avaliacao?.nota)&&e.push(T),r&&(o.avaliacoes.reduce((V,Oa)=>Oa.data_avaliacao>V.data_avaliacao?Oa:V,o.avaliacoes[0]).data_avaliacao>new Date(Date.now()-864e5)&&e.push(aa),o.avaliacoes.filter(V=>V.recurso).length>0||e.push(Da))),e}onSelectTab(t){var e=this;return(0,d.Z)(function*(){e.viewInit&&e.saveUsuarioConfig({active_tab:t.key})})()}initGrid(t){t.queryInit()}getAvaliacoes(t){return this.avaliacoes.filter(e=>e.plano_trabalho_consolidacao_id==t.id)}loadData(){var t=this;return(0,d.Z)(function*(){t.loading=!0;try{t.avaliacoes=yield t.avaliacaoDao.query({where:[["plano_trabalho_consolidacao_id","in",t.consolidacaoId]],join:t.joinAvaliacao,orderBy:[["data_avaliacao","desc"]]}).asPromise(),t.avaliacao=t.avaliacoes[0]||t.avaliacao}finally{t.loading=!1}})()}onGridLoadHistorico(t){this.extra=(this.grid?.query||this.query).extra,(this.extra?.planos_trabalhos||[]).forEach(o=>{let n=o;n.programa=this.extra?.programas?.find(r=>r.id==n.programa_id)}),t?.forEach(o=>{this.consolidacaoId?.push(o.id);let n=o;n.plano_trabalho=this.extra?.planos_trabalhos?.find(r=>r.id==n.plano_trabalho_id),n.avaliacao&&(n.avaliacao.tipo_avaliacao=this.extra?.tipos_avaliacoes?.find(r=>r.id==n.avaliacao.tipo_avaliacao_id))}),this.loadData()}getNota(t){return t.tipo_avaliacao.notas.find(e=>e.codigo==t.nota)}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-plano-trabalho-consolidacao-avaliacao"]],viewQuery:function(e,o){if(1&e&&a.Gf(C.M,5),2&e){let n;a.iGM(n=a.CRH())&&(o.grid=n.first)}},features:[a.qOj],decls:4,vars:4,consts:[["right","",3,"title","select"],["key","CONSOLIDACOES","icon","bi bi-clipboard-check",3,"label","template"],["consolidacoes",""],[3,"dao","orderBy","groupBy","join","init","hasAdd","hasEdit","loadList","groupTemplate"],["groupUnidadeUsuario",""],[4,"ngIf"],[3,"form","where","submit","collapseChange","collapsed","deleted"],[1,"row"],["controlName","usuario_id",3,"size","control","dao"],["usuario",""],["controlName","unidade_id",3,"size","control","dao","change"],["unidade",""],["label","Sub.","controlName","unidades_subordinadas","labelInfo","Incluir as unidades subordinadas",3,"size","disabled","control"],["subordinadas",""],["label","Arq.","controlName","incluir_arquivados","labelInfo","Incluir os planos de trabalhos arquivados",3,"size","control"],["arquivadas",""],["type","expand",3,"icon","align","hint","template","expandTemplate"],["columnConsolidacao",""],["columnExpandedConsolidacao",""],[3,"title","template"],["columnPlanoTrabalho",""],["title","Data in\xedcio",3,"template"],["columnDataInicio",""],["title","Data fim",3,"template"],["columnDataFim",""],[3,"title","template","width"],["columnEstatisticas",""],["title","Status",3,"template"],["columnStatus",""],["type","options",3,"dynamicButtons"],[3,"rows"],[1,"d-flex"],[1,"ms-3"],[3,"url","size","hint"],[1,"flex-fill","ms-3"],["color","primary",3,"icon","label"],[3,"disabled","entity","planoTrabalho","cdRef"],["consolidacao",""],["label","In\xedcio","color","light","icon","bi bi-calendar2",3,"textValue"],["label","T\xe9rmino","color","light","icon","bi bi-calendar2-check",3,"textValue"],["color","light",3,"icon","label","hint"],[3,"align","tipoAvaliacao","nota",4,"ngIf"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed",4,"ngIf"],[3,"align","tipoAvaliacao","nota"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed"],[1,"one-per-line"],[3,"color","icon","label"],["icon","bi bi-journal-medical","color","warning","label","Recorrido",4,"ngIf"],["icon","bi bi-journal-medical","color","warning","label","Recorrido"]],template:function(e,o){if(1&e&&(a.TgZ(0,"tabs",0)(1,"tab",1),a.YNc(2,Bo,37,42,"ng-template",null,2,a.W1O),a.qZA()()),2&e){const n=a.MAs(3);a.Q6J("title",o.isModal?"":o.title)("select",o.onSelectTab.bind(o)),a.xp6(1),a.Q6J("label",o.lex.translate("Consolida\xe7\xf5es"))("template",n)}},dependencies:[h.O5,C.M,P.a,U.b,j.z,Ea.n,Za.Q,J.a,y.V,q.n,z.i,I.N,E.F,fa.q,K.M,Aa]})}return i})(),canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Avalia\xe7\xe3o das Consolida\xe7\xf5es do Plano de Trabalho"}},{path:"consolidacao/:consolidacaoId/avaliar",component:xa.w,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Avaliar Consolida\xe7\xe3o do Plano de Trabalho"}},{path:"consolidacao/:consolidacaoId/recurso",component:xa.w,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Recurso da Avalia\xe7\xe3o da Consolida\xe7\xe3o do Plano de Trabalho"}},{path:"consolidacao/:consolidacaoId/verAvaliacoes",component:wo,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Visualizar avalia\xe7\xf5es da Consolida\xe7\xe3o do Plano de Trabalho"}},{path:"consolidacao/:usuarioId/:planoTrabalhoId",component:ya,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Consolida\xe7\xf5es do Plano de Trabalho"}},{path:"consolidacao",component:yo,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Consolida\xe7\xf5es"}},{path:":id/edit",component:W,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Plano de Trabalho",modal:!0}},{path:":id/consult",component:W,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Plano de Trabalho",modal:!0}},{path:"entrega-list",component:k,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Lista de Entregas do Plano de Trabalho",modal:!0}}];let jo=(()=>{class i{static#a=this.\u0275fac=function(e){return new(e||i)};static#t=this.\u0275mod=a.oAB({type:i});static#e=this.\u0275inj=a.cJS({imports:[oa.Bz.forChild(Wo),oa.Bz]})}return i})();var Ko=s(2662),Xo=s(2133),$o=s(2864),ai=s(9013),ti=s(8252),ei=s(1915);let oi=(()=>{class i{static#a=this.\u0275fac=function(e){return new(e||i)};static#t=this.\u0275mod=a.oAB({type:i});static#e=this.\u0275inj=a.cJS({imports:[h.ez,Ko.K,Xo.UX,jo,$o.UteisModule,ai.AtividadeModule]})}return i})();a.B6R(ha.H,[h.O5,C.M,P.a,U.b,j.z,Ea.n,Za.Q,J.a,y.V,G.m,M.k,H.p,ti.Y,ei.l,E.F,Ca.h,k],[])}}]); - +"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[970],{2970:(li,oa,s)=>{s.r(oa),s.d(oa,{PlanoTrabalhoModule:()=>ni});var h=s(6733),ia=s(5579),b=s(1391),v=s(2314),d=s(8239),D=s(4040),na=s(5026),w=s(7744),la=s(2214),Pa=s(8340),ra=s(6075),N=s(1214),G=s(5255),sa=s(9084),O=s(762),da=s(1184),Ua=s(2307),a=s(755),J=s(8820),wa=s(1823),y=s(8967),z=s(2392),M=s(4495),I=s(5560),ca=s(3417);const Na=["usuario"],Ja=["unidade"],Qa=["programa"],Sa=["tipoDocumento"],Ra=["tipoModalidade"];let Ma=(()=>{class i extends da.F{constructor(t){super(t,O.p,w.t),this.injector=t,this.validate=(e,o)=>{let n=null;return"tipo_documento_id"==o&&!e?.value?.length&&this.form?.controls?.numero_processo?.value?.length&&(n="Obrigat\xf3rio"),n},this.formValidation=e=>{if(!this.tipoDocumento?.selectedEntity&&e?.controls.tipo_documento_id.value?.length)return"Aguarde o carregamento do tipo de documento"},this.titleEdit=e=>"Editando "+this.lex.translate("TCR")+" "+this.lex.translate("do Plano de Trabalho")+": "+(e?.usuario?.nome||""),this.join=["unidade","usuario","programa.template_tcr","tipo_modalidade","documento","documentos","atividades.atividade"],this.unidadeDao=t.get(N.J),this.programaDao=t.get(la.w),this.usuarioDao=t.get(G.q),this.tipoDocumentoDao=t.get(Pa.Q),this.allPages=t.get(sa.T),this.tipoModalidadeDao=t.get(ra.D),this.documentoDao=t.get(na.d),this.form=this.fh.FormBuilder({carga_horaria:{default:""},tempo_total:{default:""},tempo_proporcional:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},programa_id:{default:""},usuario_id:{default:""},unidade_id:{default:""},documento_id:{default:""},documentos:{default:[]},tipo_documento_id:{default:""},numero_processo:{default:""},vinculadas:{default:!0},tipo_modalidade_id:{default:""},forma_contagem_carga_horaria:{default:"DIA"}},this.cdRef,this.validate)}onVinculadasChange(t){this.cdRef.detectChanges()}loadData(t,e){var o=this;return(0,d.Z)(function*(){let n=Object.assign({},e.value);n=o.util.fillForm(n,t),yield Promise.all([o.unidade.loadSearch(t.unidade||t.unidade_id),o.usuario.loadSearch(t.usuario||t.usuario_id),o.programa.loadSearch(t.programa||t.programa_id),o.tipoModalidade.loadSearch(t.tipo_modalidade||t.tipo_modalidade_id)]),o.processo&&(n.id_processo=o.processo.id_processo,n.numero_processo=o.processo.numero_processo),n.data_inicio=o.auth.hora,e.patchValue(n)})()}initializeData(t){var e=this;return(0,d.Z)(function*(){e.entity=yield e.dao.getById(e.metadata.plano_trabalho.id,e.join),e.processo=e.metadata?.processo,yield e.loadData(e.entity,t)})()}saveData(t){return new Promise((e,o)=>{e(new Ua.R(Object.assign(this.form.value,{codigo_tipo_documento:this.tipoDocumento?.selectedEntity?.codigo})))})}get formaContagemCargaHoraria(){const t=this.form?.controls.forma_contagem_carga_horaria?.value||"DIA";return"DIA"==t?"day":"SEMANA"==t?"week":"mouth"}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-form-termo"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(Na,5),a.Gf(Ja,5),a.Gf(Qa,5),a.Gf(Sa,5),a.Gf(Ra,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.usuario=n.first),a.iGM(n=a.CRH())&&(o.unidade=n.first),a.iGM(n=a.CRH())&&(o.programa=n.first),a.iGM(n=a.CRH())&&(o.tipoDocumento=n.first),a.iGM(n=a.CRH())&&(o.tipoModalidade=n.first)}},features:[a.qOj],decls:25,vars:41,consts:[["initialFocus","programa_id",3,"form","disabled","title","submit","cancel"],["collapse","",3,"title","collapsed"],[1,"row"],["disabled","","controlName","programa_id",3,"size","dao"],["programa",""],["disabled","","controlName","usuario_id",3,"size","dao"],["usuario",""],["disabled","","controlName","unidade_id",3,"size","dao"],["unidade",""],["disabled","","controlName","tipo_modalidade_id",3,"size","dao"],["tipoModalidade",""],["numbers","","disabled","","label","% prod.","icon","bi bi-hourglass-split","controlName","ganho_produtividade",3,"size","control","labelInfo"],["label","H. Parciais","icon","bi bi-clock","controlName","tempo_proporcional","labelInfo","Total de horas menos os afastamentos.",3,"size","control"],["disabled","","label","In\xedcio","icon","bi bi-calendar-date","controlName","data_inicio","labelInfo","In\xedcio da Vig\xeancia do Programa",3,"size","control"],["disabled","","label","Final","icon","bi bi-calendar-date","controlName","data_fim","labelInfo","Final da Vig\xeancia do Programa",3,"size","control"],["disabled","","label","C. Hor\xe1ria","icon","bi bi-hourglass-split","controlName","carga_horaria",3,"size","unit","control","labelInfo"],["label","H. Totais","icon","bi bi-clock","controlName","tempo_total","labelInfo","Horas \xfateis de trabalho no per\xedodo de vig\xeancia considerando a carga hor\xe1ria, feriados e fins de semana",3,"size","control"],["disabled","","label","Data e hora","controlName","data_inicio","labelInfo","Data de cadastro do termo",3,"size","control"],["controlName","numero_processo","disabled","","labelInfo","N\xfamero do processo, com a formata\xe7\xe3o de origem",3,"label","size","control"],["controlName","tipo_documento_id","required","",3,"size","disabled","dao"],["tipoDocumento",""],["label","Vinculadas","controlName","vinculadas","labelInfo","Se inclui as atividades das unidades vinculadas a unidade do plano",3,"disabled","size","control","change"]],template:function(e,o){1&e&&(a.TgZ(0,"editable-form",0),a.NdJ("submit",function(){return o.onSaveData()})("cancel",function(){return o.onCancel()}),a.TgZ(1,"separator",1)(2,"div",2),a._UZ(3,"input-search",3,4)(5,"input-search",5,6),a.qZA(),a.TgZ(7,"div",2),a._UZ(8,"input-search",7,8)(10,"input-search",9,10)(12,"input-text",11)(13,"input-display",12),a.qZA(),a.TgZ(14,"div",2),a._UZ(15,"input-datetime",13)(16,"input-datetime",14)(17,"input-workload",15)(18,"input-display",16),a.qZA()(),a.TgZ(19,"div",2),a._UZ(20,"input-datetime",17)(21,"input-text",18)(22,"input-search",19,20),a.TgZ(24,"input-switch",21),a.NdJ("change",function(r){return o.onVinculadasChange(r)}),a.qZA()()()),2&e&&(a.Q6J("form",o.form)("disabled",o.formDisabled)("title",o.isModal?"":o.title),a.xp6(1),a.Q6J("title",o.lex.translate("Plano de trabalho"))("collapsed",!1),a.xp6(2),a.Q6J("size",6)("dao",o.programaDao),a.xp6(2),a.Q6J("size",6)("dao",o.usuarioDao),a.xp6(3),a.Q6J("size",5)("dao",o.unidadeDao),a.xp6(2),a.Q6J("size",3)("dao",o.tipoModalidadeDao),a.xp6(2),a.Q6J("size",2)("control",o.form.controls.ganho_produtividade)("labelInfo","Percentual de ganho de produtividade (Ser\xe1 descontado do "+o.lex.translate("tempo pactuado")+")"),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",2)("control",o.form.controls.tempo_proporcional),a.xp6(2),a.Q6J("size",3)("control",o.form.controls.data_inicio),a.xp6(1),a.Q6J("size",3)("control",o.form.controls.data_fim),a.xp6(1),a.Q6J("size",3)("unit",o.formaContagemCargaHoraria)("control",o.form.controls.carga_horaria)("labelInfo","Carga hor\xe1ria"+o.lex.translate("do usu\xe1rio")),a.xp6(1),a.Q6J("size",3)("control",o.form.controls.tempo_total),a.xp6(2),a.Q6J("size",3)("control",o.form.controls.data_inicio),a.xp6(1),a.Q6J("label","N\xfamero "+o.lex.translate("Processo"))("size",3)("control",o.form.controls.numero_processo),a.uIk("maxlength",250),a.xp6(1),a.Q6J("size",4)("disabled",null!=o.form.controls.numero_processo.value&&o.form.controls.numero_processo.value.length?void 0:"true")("dao",o.tipoDocumentoDao),a.xp6(2),a.Q6J("disabled",null!=o.entity&&null!=o.entity.atividades&&o.entity.atividades.length?"true":void 0)("size",2)("control",o.form.controls.vinculadas))},dependencies:[D.Q,J.a,wa.B,y.V,z.m,M.k,I.N,ca.S]})}return i})();var qa=s(2702),ua=s(6551),Q=s(684),Fa=s(9367),Va=s(9193),La=s(2866),q=s.n(La),Ga=s(3085),F=s(6384),Y=s(4978),za=s(933),Ya=s(5795),Ha=s(785),Ba=s(6601),C=s(3150),S=s(6298),ka=s(5754),Wa=s(9173),ja=s(9190),ma=s(1021),H=s(609),P=s(7224),U=s(3351),pa=s(4508),B=s(4603),E=s(5489),_a=s(4792);const Ka=["origem"],Xa=["planoEntrega"],$a=["entrega"];function at(i,l){1&i&&(a.TgZ(0,"div",21)(1,"span")(2,"strong"),a._uU(3,"Origem"),a.qZA()()())}function tt(i,l){if(1&i&&a._UZ(0,"badge",27),2&i){const t=a.oxw().row,e=a.oxw();a.Q6J("label",(null==t.plano_entrega_entrega||null==t.plano_entrega_entrega.plano_entrega||null==t.plano_entrega_entrega.plano_entrega.unidade?null:t.plano_entrega_entrega.plano_entrega.unidade.sigla)||"DESCONHECIDO")("icon",e.entityService.getIcon("Unidade"))}}function et(i,l){if(1&i&&a._UZ(0,"badge",28),2&i){const t=a.oxw().row;a.Q6J("label",t.orgao)}}function ot(i,l){if(1&i&&(a.TgZ(0,"div",22)(1,"div",23),a._UZ(2,"badge",24),a.YNc(3,tt,1,2,"badge",25),a.YNc(4,et,1,1,"badge",26),a.qZA()()),2&i){const t=l.row,e=a.oxw();a.xp6(2),a.Q6J("label",e.planoTrabalhoService.tipoEntrega(t,e.entity).titulo)("color",e.planoTrabalhoService.tipoEntrega(t,e.entity).cor),a.xp6(1),a.Q6J("ngIf",null==t.plano_entrega_entrega_id?null:t.plano_entrega_entrega_id.length),a.xp6(1),a.Q6J("ngIf",null==t.orgao?null:t.orgao.length)}}const it=function(){return["entregas.entrega:id,nome","unidade"]},nt=function(i){return["unidade_id","==",i]},ga=function(){return["status","==","ATIVO"]},lt=function(i,l){return[i,l]},rt=function(i){return[i]},st=function(i){return{unidade_id:i,status:"ATIVO"}},ha=function(i){return{filter:i}},dt=function(){return{status:"ATIVO"}};function ct(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-search",33,34),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw(2);return a.KtG(n.onPlanoEntregaChange(o))}),a.qZA()}if(2&i){a.oxw();const t=a.MAs(1),e=a.oxw();a.Q6J("placeholder","Selecione o "+e.lex.translate("Plano de entrega"))("join",a.DdM(5,it))("where","PROPRIA_UNIDADE"==(null==t?null:t.value)?a.WLB(9,lt,a.VKq(6,nt,null==e.entity?null:e.entity.unidade_id),a.DdM(8,ga)):a.VKq(13,rt,a.DdM(12,ga)))("selectParams","PROPRIA_UNIDADE"==(null==t?null:t.value)?a.VKq(17,ha,a.VKq(15,st,null==e.entity?null:e.entity.unidade_id)):a.VKq(20,ha,a.DdM(19,dt)))("dao",e.planoEntregaDao)}}function ut(i,l){1&i&&a._UZ(0,"input-text",35,36),2&i&&a.uIk("maxlength",250)}const k=function(){return["PROPRIA_UNIDADE","OUTRA_UNIDADE"]};function mt(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-select",29,30),a.NdJ("change",function(){const n=a.CHM(t).row,r=a.oxw();return a.KtG(r.onOrigemChange(n))}),a.qZA(),a.YNc(2,ct,2,22,"input-search",31),a.YNc(3,ut,2,1,"input-text",32)}if(2&i){const t=a.MAs(1),e=a.oxw();a.Q6J("control",e.form.controls.origem)("items",e.lookup.ORIGENS_ENTREGAS_PLANO_TRABALHO),a.xp6(2),a.Q6J("ngIf",a.DdM(4,k).includes(null==t?null:t.value)),a.xp6(1),a.Q6J("ngIf","OUTRO_ORGAO"==(null==t?null:t.value))}}function pt(i,l){1&i&&(a.TgZ(0,"span")(1,"strong"),a._uU(2,"Entrega"),a.qZA()())}function _t(i,l){if(1&i&&(a.TgZ(0,"div",39),a._UZ(1,"badge",40)(2,"badge",41),a.qZA()),2&i){const t=a.oxw().row,e=a.oxw();a.xp6(1),a.Q6J("label",e.util.getDateFormatted(null==t.plano_entrega_entrega?null:t.plano_entrega_entrega.data_inicio)),a.xp6(1),a.Q6J("label",e.util.getDateFormatted(null==t.plano_entrega_entrega?null:t.plano_entrega_entrega.data_fim))}}function gt(i,l){if(1&i&&(a.TgZ(0,"small"),a._uU(1),a.qZA(),a.YNc(2,_t,3,2,"div",37),a._UZ(3,"reaction",38)),2&i){const t=l.row,e=a.oxw();a.xp6(1),a.Oqu(e.planoTrabalhoService.tipoEntrega(t,e.entity).descricao),a.xp6(1),a.Q6J("ngIf",a.DdM(3,k).includes(e.planoTrabalhoService.tipoEntrega(t,e.entity).tipo)),a.xp6(1),a.Q6J("entity",t)}}function ht(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-select",43,44),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw(2);return a.KtG(n.onEntregaChange(o))}),a.qZA()}if(2&i){const t=a.oxw(2);a.Q6J("control",t.form.controls.plano_entrega_entrega_id)("items",t.entregas)}}function ft(i,l){if(1&i&&(a.TgZ(0,"div",39),a._UZ(1,"badge",40)(2,"badge",41),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("label",t.util.getDateFormatted(t.entrega.selectedItem.data.data_inicio)),a.xp6(1),a.Q6J("label",t.util.getDateFormatted(t.entrega.selectedItem.data.data_fim))}}function bt(i,l){if(1&i&&(a.YNc(0,ht,2,2,"input-select",42),a.YNc(1,ft,3,2,"div",37)),2&i){const t=a.oxw();a.Q6J("ngIf",a.DdM(2,k).includes(null==t.origem?null:t.origem.value)),a.xp6(1),a.Q6J("ngIf",null==t.entrega?null:t.entrega.selectedItem)}}function vt(i,l){if(1&i&&(a.TgZ(0,"div")(1,"small"),a._UZ(2,"badge",47),a.qZA(),a.TgZ(3,"small"),a._UZ(4,"badge",48),a.qZA()()),2&i){const t=a.oxw(2);a.xp6(2),a.Q6J("color","warning")("label",t.totalForcaTrabalho+"%"),a.xp6(2),a.Q6J("color","secondary")("label",t.totalForcaTrabalho-100+"%")}}function Tt(i,l){if(1&i&&(a.TgZ(0,"small"),a._UZ(1,"badge",47),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("color",100==t.totalForcaTrabalho?"success":"warning")("label",t.totalForcaTrabalho+"%")}}function Ct(i,l){if(1&i&&(a.TgZ(0,"div",21),a.YNc(1,vt,5,4,"div",45),a.YNc(2,Tt,2,2,"ng-template",null,46,a.W1O),a.qZA()),2&i){const t=a.MAs(3),e=a.oxw();a.xp6(1),a.Q6J("ngIf",e.totalForcaTrabalho>100)("ngIfElse",t)}}function At(i,l){if(1&i&&(a.TgZ(0,"small"),a._uU(1),a.qZA()),2&i){const t=l.row;a.xp6(1),a.Oqu(t.forca_trabalho+"%")}}function yt(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"input-text",49),a.NdJ("change",function(){const n=a.CHM(t).row,r=a.oxw();return a.KtG(r.onForcaTrabalhoChange(n))}),a.qZA()}if(2&i){const t=a.oxw();a.Q6J("control",t.form.controls.forca_trabalho),a.uIk("maxlength",250)}}function xt(i,l){1&i&&(a.TgZ(0,"div",21)(1,"span")(2,"strong"),a._uU(3,"Descri\xe7\xe3o dos Trabalhos"),a.qZA()()())}function Et(i,l){if(1&i&&(a.TgZ(0,"div")(1,"small"),a._uU(2),a.qZA()()),2&i){const t=a.oxw().row;a.xp6(2),a.Oqu(t.descricao)}}function Zt(i,l){if(1&i&&a.YNc(0,Et,3,1,"div",45),2&i){const t=l.row,e=a.oxw(),o=a.MAs(30);a.Q6J("ngIf",t.descricao!=e.planoTrabalhoService.tipoEntrega(t,e.entity).descricao)("ngIfElse",o)}}function Dt(i,l){1&i&&(a.TgZ(0,"small"),a._uU(1,"Detalhe/Descreva os trabalhos"),a.qZA())}function Ot(i,l){if(1&i&&a._UZ(0,"input-textarea",50),2&i){const t=a.oxw();a.Q6J("rows",2)("control",t.form.controls.descricao)}}let W=(()=>{class i extends S.D{set control(t){super.control=t}get control(){return super.control}set entity(t){super.entity=t}get entity(){return super.entity}set disabled(t){this._disabled!=t&&(this._disabled=t)}get disabled(){return this._disabled}set noPersist(t){super.noPersist=t}get noPersist(){return super.noPersist}set planoTrabalhoEditavel(t){this._planoTrabalhoEditavel!=t&&(this._planoTrabalhoEditavel=t)}get planoTrabalhoEditavel(){return this._planoTrabalhoEditavel}get items(){return this.gridControl.value||this.gridControl.setValue(new O.p),this.gridControl.value.entregas||(this.gridControl.value.entregas=[]),this.gridControl.value.entregas}constructor(t){super(t),this.injector=t,this.atualizaPlanoTrabalhoEvent=new a.vpe,this.options=[],this.totalForcaTrabalho=0,this.entregas=[],this._disabled=!1,this._planoTrabalhoEditavel=!0,this.validate=(e,o)=>{let n=null;return["forca_trabalho"].indexOf(o)>=0&&1==e.value||(["forca_trabalho"].indexOf(o)>=0&&!e.value&&(n="Obrigat\xf3rio!"),["descricao"].indexOf(o)>=0&&!e.value?.length&&(n="Obrigat\xf3rio!"),["forca_trabalho"].indexOf(o)>=0&&(e.value<1||e.value>100)&&(n="Deve estar entre 1 e 100"),["plano_entrega_entrega_id"].indexOf(o)>=0&&(["PROPRIA_UNIDADE","OUTRA_UNIDADE"].includes(this.form?.controls.origem.value)&&!e.value&&(n="Obrigat\xf3rio!"),this.entity?.entregas?.filter(r=>!!r.plano_entrega_entrega_id&&r.id!=this.grid?.editing?.id).find(r=>r.plano_entrega_entrega_id==e.value)&&(n="Esta entrega est\xe1 em duplicidade!"))),n},this.dao=t.get(Wa.w),this.cdRef=t.get(a.sBO),this.planoTrabalhoDao=t.get(w.t),this.planoEntregaDao=t.get(ja.r),this.planoTrabalhoService=t.get(Q.p),this.peeDao=t.get(ma.K),this.unidadeService=t.get(H.Z),this.join=["entrega","plano_entrega_entrega.entrega","plano_entrega_entrega.plano_entrega:id,unidade_id","plano_entrega_entrega.plano_entrega.unidade:id,sigla"],this.form=this.fh.FormBuilder({origem:{default:null},orgao:{default:null},descricao:{default:""},forca_trabalho:{default:1},plano_trabalho_id:{default:null},plano_entrega_id:{default:null},plano_entrega_entrega_id:{default:null}},this.cdRef,this.validate)}validateEntregas(){let t={start:this.entity.data_inicio,end:this.entity.data_fim};for(let e of this.items){let o=e.plano_entrega_entrega;if(o&&(!(o.data_fim?o.data_fim:o.data_inicio.getTime()<=this.entity.data_fim.getTime()?this.entity.data_fim:void 0)||!this.util.intersection([{start:o.data_inicio,end:o.data_fim||o.data_inicio},t])))return this.lex.translate("Entrega")+" "+o.descricao+" possui datas incompat\xedveis (in\xedcio "+this.util.getDateFormatted(o.data_inicio)+(o.data_fim?"e fim "+this.util.getDateFormatted(o.data_fim):"")+")"}}ngOnInit(){var t=()=>super.ngOnInit,e=this;return(0,d.Z)(function*(){t().call(e),e.entity=e.metadata?.entity||e.entity,e.totalForcaTrabalho=Math.round(100*e.somaForcaTrabalho(e.entity?.entregas))/100,e.entity._metadata=e.entity._metadata||{},e.entity._metadata.novaEntrega=void 0})()}addEntrega(){var t=this;return(0,d.Z)(function*(){return Object.assign(new ka.U,{_status:"ADD",id:t.dao.generateUuid(),plano_trabalho_id:t.entity?.id})})()}loadEntrega(t,e){var o=this;return(0,d.Z)(function*(){let n=e;if(t.controls.descricao.setValue(e.descricao),t.controls.forca_trabalho.setValue(e.forca_trabalho),t.controls.plano_trabalho_id.setValue(e.plano_trabalho_id),t.controls.orgao.setValue(null),t.controls.plano_entrega_entrega_id.setValue(null),e.plano_entrega_entrega&&(t.controls.plano_entrega_id.setValue(e.plano_entrega_entrega.plano_entrega.id),t.controls.plano_entrega_entrega_id.setValue(e.plano_entrega_entrega_id)),"ADD"!=n._status||t.controls.plano_entrega_id.value)n.plano_entrega_entrega?.plano_entrega?.unidade_id==o.entity.unidade_id?(t.controls.origem.setValue("PROPRIA_UNIDADE"),yield o.carregarEntregas(n.plano_entrega_entrega.plano_entrega_id),t.controls.plano_entrega_entrega_id.setValue(n.plano_entrega_entrega_id)):n.plano_entrega_entrega?(t.controls.origem.setValue("OUTRA_UNIDADE"),yield o.carregarEntregas(n.plano_entrega_entrega.plano_entrega_id),t.controls.plano_entrega_entrega_id.setValue(n.plano_entrega_entrega_id)):n.orgao?.length?(t.controls.origem.setValue("OUTRO_ORGAO"),t.controls.orgao.setValue(n.orgao)):t.controls.origem.setValue("SEM_ENTREGA");else{t.controls.origem.setValue("PROPRIA_UNIDADE");let r=yield o.planoEntregaDao.query({where:[["unidade_id","==",o.entity.unidade_id],["status","==","ATIVO"]]}).asPromise();t.controls.plano_entrega_id.setValue(r[0].id)}})()}removeEntrega(t){var e=this;return(0,d.Z)(function*(){if(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir?")){e.loading=!0;try{e.isNoPersist?Object.assign(t,{_status:"DELETE"}):yield e.dao?.delete(t.id)}finally{e.loading=!1,e.atualizaPlanoTrabalhoEvent.emit(e.entity.id)}return e.totalForcaTrabalho=Math.round(100*(e.totalForcaTrabalho-1*t.forca_trabalho))/100,!e.isNoPersist}return!1})()}saveEntrega(t,e){var o=this;return(0,d.Z)(function*(){o.entity._metadata=o.entity._metadata||{},o.entity._metadata.novaEntrega=e,o.entity._metadata.novaEntrega.plano_entrega_entrega_id=o.form?.controls.plano_entrega_entrega_id.value,o.entity._metadata.novaEntrega.orgao=o.form?.controls.orgao.value,o.entity._metadata.novaEntrega.descricao=o.form?.controls.descricao.value,o.entity._metadata.novaEntrega.forca_trabalho=o.form?.controls.forca_trabalho.value,o.loading=!0;try{o.isNoPersist||(yield o.dao.save(o.entity._metadata.novaEntrega,o.join))}catch(n){o.error(n.message?n.message:n.toString()||n)}finally{e.forca_trabalho=1*o.form?.controls.forca_trabalho.value,e.plano_entrega_entrega=o.entrega?.selectedItem?.data||null,o.totalForcaTrabalho=Math.round(100*o.somaForcaTrabalho(o.entity?.entregas))/100,o.loading=!1}return o.entity._metadata.novaEntrega})()}saveEndEntrega(t){this.entity._metadata=null,this.atualizaPlanoTrabalhoEvent.emit(this.entity.id)}somaForcaTrabalho(t=[]){return t.map(e=>1*e.forca_trabalho).reduce((e,o)=>e+o,0)}carregarEntregas(t){var e=this;return(0,d.Z)(function*(){let o="string"==typeof t?yield e.planoEntregaDao.getById(t,["entregas.entrega:id,nome","unidade"]):t,n={id:o?.id,unidade_id:o?.unidade_id,unidade:o?.unidade};e.entregas=o?.entregas.map(r=>Object.assign({},{key:r.id,value:r.descricao||r.entrega?.nome||"Desconhecido",data:Object.assign(r,{plano_entrega:n})}))||[],e.entregas.sort((r,m)=>r.value>m.value?1:-1),e.entregas.find(r=>r.key==e.form.controls.plano_entrega_entrega_id.value)||e.form.controls.plano_entrega_entrega_id.setValue(null)})()}onOrigemChange(t){var e=this;return(0,d.Z)(function*(){let o=e.form.controls.origem.value;e.cdRef.detectChanges(),"OUTRO_ORGAO"==o?e.form?.controls.plano_entrega_entrega_id.setValue(null):"SEM_ENTREGA"==o?(e.form?.controls.orgao.setValue(null),e.form?.controls.plano_entrega_entrega_id.setValue(null)):"OUTRA_UNIDADE"==o&&(e.form?.controls.orgao.setValue(null),e.form?.controls.plano_entrega_id.value||(e.loading=!0,e.planoEntrega?.onSelectClick(new Event("SELECT")),e.loading=!1))})()}onPlanoEntregaChange(t){let e=this.planoEntrega?.selectedEntity;this.carregarEntregas(e)}onEntregaChange(t){}onForcaTrabalhoChange(t){let e=this.items.findIndex(o=>o.id==t.id);this.totalForcaTrabalho=Math.round(100*(this.somaForcaTrabalho(this.grid?.items)-1*this.items[e].forca_trabalho+1*this.form?.controls.forca_trabalho.value))/100}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-list-entrega"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(C.M,5),a.Gf(Ka,5),a.Gf(Xa,5),a.Gf($a,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.grid=n.first),a.iGM(n=a.CRH())&&(o.origem=n.first),a.iGM(n=a.CRH())&&(o.planoEntrega=n.first),a.iGM(n=a.CRH())&&(o.entrega=n.first)}},inputs:{control:"control",entity:"entity",disabled:"disabled",noPersist:"noPersist",cdRef:"cdRef",planoTrabalhoEditavel:"planoTrabalhoEditavel"},outputs:{atualizaPlanoTrabalhoEvent:"atualizaPlanoTrabalhoEvent"},features:[a.qOj],decls:34,vars:39,consts:[["noMargin","","editable","",3,"items","form","selectable","minHeight","join","groupBy","add","remove","save","load","saveEnd","hasDelete","hasEdit","hasAdd"],["gridEntregas",""],[3,"titleTemplate","template","editTemplate","verticalAlign","width","align"],["titleOrigem",""],["columnOrigem",""],["editOrigem",""],[3,"width","titleTemplate","template","editTemplate","verticalAlign"],["class","text-center"],["titleEntrega",""],["columnEntrega",""],["editEntrega",""],[3,"titleTemplate","title","template","editTemplate","width","align","titleHint"],["titleForcaTrabalho",""],["columnForcaTrabalho",""],["editForcaTrabalho",""],[3,"minWidth","maxWidth","titleTemplate","template","editTemplate","verticalAlign","align"],["titleDescricao",""],["columnDescricao",""],["solicitarDescricao",""],["editDescricao",""],["type","options"],[1,"text-center"],[1,"w-100","d-flex","justify-content-center"],[1,"one-per-line"],[3,"label","color"],["color","primary",3,"label","icon",4,"ngIf"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label",4,"ngIf"],["color","primary",3,"label","icon"],["icon","bi bi-box-arrow-down-left","color","warning",3,"label"],["controlName","origem","controlName","origem",3,"control","items","change"],["origem",""],["label","","controlName","plano_entrega_id",3,"placeholder","join","where","selectParams","dao","change",4,"ngIf"],["controlName","orgao","placeholder","\xd3rg\xe3o",4,"ngIf"],["label","","controlName","plano_entrega_id",3,"placeholder","join","where","selectParams","dao","change"],["planoEntrega",""],["controlName","orgao","placeholder","\xd3rg\xe3o"],["orgao",""],["class","w-100",4,"ngIf"],["origem","PLANO_TRABALHO_ENTREGA",3,"entity"],[1,"w-100"],["color","light","icon","bi bi-box-arrow-in-right","hint","Data de in\xedcio",3,"label"],["color","light","icon","bi bi-box-arrow-right","hint","Data de t\xe9rmino",3,"label"],["nullable","","itemNull","- Selecione -","controlName","plano_entrega_entrega_id",3,"control","items","change",4,"ngIf"],["nullable","","itemNull","- Selecione -","controlName","plano_entrega_entrega_id",3,"control","items","change"],["entrega",""],[4,"ngIf","ngIfElse"],["umCHD",""],["icon","bi bi-calculator",3,"color","label"],["icon","bi bi-intersect",3,"color","label"],["number","","sufix","%","controlName","forca_trabalho",3,"control","change"],["controlName","descricao",3,"rows","control"]],template:function(e,o){if(1&e&&(a.TgZ(0,"grid",0,1)(2,"columns")(3,"column",2),a.YNc(4,at,4,0,"ng-template",null,3,a.W1O),a.YNc(6,ot,5,4,"ng-template",null,4,a.W1O),a.YNc(8,mt,4,5,"ng-template",null,5,a.W1O),a.qZA(),a.TgZ(10,"column",6),a.YNc(11,pt,3,0,"ng-template",7,8,a.W1O),a.YNc(13,gt,4,4,"ng-template",null,9,a.W1O),a.YNc(15,bt,2,3,"ng-template",null,10,a.W1O),a.qZA(),a.TgZ(17,"column",11),a.YNc(18,Ct,4,2,"ng-template",null,12,a.W1O),a.YNc(20,At,2,1,"ng-template",null,13,a.W1O),a.YNc(22,yt,1,2,"ng-template",null,14,a.W1O),a.qZA(),a.TgZ(24,"column",15),a.YNc(25,xt,4,0,"ng-template",null,16,a.W1O),a.YNc(27,Zt,1,2,"ng-template",null,17,a.W1O),a.YNc(29,Dt,2,0,"ng-template",null,18,a.W1O),a.YNc(31,Ot,1,2,"ng-template",null,19,a.W1O),a.qZA(),a._UZ(33,"column",20),a.qZA()()),2&e){const n=a.MAs(5),r=a.MAs(7),m=a.MAs(9),p=a.MAs(12),_=a.MAs(14),c=a.MAs(16),f=a.MAs(19),u=a.MAs(21),A=a.MAs(23),Z=a.MAs(26),R=a.MAs(28),x=a.MAs(32);a.Q6J("items",o.items)("form",o.form)("selectable",!1)("minHeight",o.items.length>2?0:300)("join",o.join)("groupBy",o.groupBy)("add",o.addEntrega.bind(o))("remove",o.removeEntrega.bind(o))("save",o.saveEntrega.bind(o))("load",o.loadEntrega.bind(o))("saveEnd",o.saveEndEntrega.bind(o))("hasDelete",!o.disabled&&o.planoTrabalhoEditavel)("hasEdit",!o.disabled&&o.planoTrabalhoEditavel)("hasAdd",!o.disabled&&o.planoTrabalhoEditavel),a.xp6(3),a.Q6J("titleTemplate",n)("template",r)("editTemplate",m)("verticalAlign","middle")("width",300)("align","center"),a.xp6(7),a.Q6J("width",350)("titleTemplate",p)("template",_)("editTemplate",c)("verticalAlign","middle"),a.xp6(7),a.Q6J("titleTemplate",f)("title","% CHD")("template",u)("editTemplate",A)("width",100)("align","center")("titleHint","% Carga Hor\xe1ria Dispon\xedvel"),a.xp6(7),a.Q6J("minWidth",150)("maxWidth",250)("titleTemplate",Z)("template",R)("editTemplate",x)("verticalAlign","middle")("align","center")}},dependencies:[h.O5,C.M,P.a,U.b,y.V,z.m,pa.Q,B.p,E.F,_a.C]})}return i})();const It=["gridAtividades"],Pt=["gridDocumentos"],Ut=["tabs"],wt=["usuario"],Nt=["programa"],Jt=["unidade"],Qt=["tipoModalidade"],St=["planoEntrega"],Rt=["atividade"],Mt=["entrega"],qt=["documentos"];function Ft(i,l){if(1&i&&(a.TgZ(0,"separator",26),a._UZ(1,"calendar-efemerides",27),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("efemerides",t.horasTotais)("partial",!1)}}function Vt(i,l){if(1&i&&(a.TgZ(0,"separator",28),a._UZ(1,"calendar-efemerides",29),a.qZA()),2&i){const t=a.oxw(2);a.xp6(1),a.Q6J("efemerides",t.horasParciais)}}function Lt(i,l){if(1&i){const t=a.EpF();a.ynx(0),a.TgZ(1,"div",4)(2,"input-workload",21),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw();return a.KtG(n.onCargaHorariaChenge(o))}),a.qZA(),a._UZ(3,"input-timer",22)(4,"input-timer",23),a.qZA(),a.YNc(5,Ft,2,2,"separator",24),a.YNc(6,Vt,2,1,"separator",25),a.BQk()}if(2&i){const t=a.oxw();a.xp6(2),a.Q6J("size",4)("unit",t.formaContagemCargaHoraria)("control",t.form.controls.carga_horaria)("unitChange",t.onFormaContagemCargaHorariaChange.bind(t)),a.xp6(1),a.Q6J("size",4)("control",t.form.controls.tempo_total),a.xp6(1),a.Q6J("size",4)("control",t.form.controls.tempo_proporcional),a.xp6(1),a.Q6J("ngIf",t.horasTotais),a.xp6(1),a.Q6J("ngIf",t.horasParciais)}}function Gt(i,l){if(1&i&&a._UZ(0,"top-alert",30),2&i){const t=a.oxw();a.Q6J("message","Antes de incluir "+t.lex.translate("entrega")+" neste "+t.lex.translate("Plano de Trabalho")+", \xe9 necess\xe1rio selecionar "+t.lex.translate("a Unidade")+" e o "+t.lex.translate("Programa")+"!")}}function zt(i,l){if(1&i&&(a.TgZ(0,"div"),a._UZ(1,"plano-trabalho-list-entrega",31),a.qZA()),2&i){const t=a.oxw();a.xp6(1),a.Q6J("disabled",t.formDisabled)("entity",t.entity)}}function Yt(i,l){if(1&i&&(a.TgZ(0,"tab",32)(1,"separator",17),a._UZ(2,"input-switch",33)(3,"input-editor",34),a.qZA(),a.TgZ(4,"separator",35),a._UZ(5,"input-switch",36)(6,"input-editor",37),a.qZA()()),2&i){const t=a.oxw();a.Q6J("label",t.lex.translate("Texto Complementar")),a.xp6(1),a.Q6J("title","Texto complementar da "+t.lex.translate("unidade")),a.xp6(1),a.Q6J("disabled",t.podeEditarTextoComplementar(t.form.controls.unidade_id.value))("size",12)("label","Editar texto complementar "+t.lex.translate("na unidade")),a.xp6(1),a.Q6J("disabled",t.form.controls.editar_texto_complementar_unidade.value?void 0:"true")("dataset",t.planoDataset),a.xp6(2),a.Q6J("disabled",t.podeEditarTextoComplementar(t.form.controls.unidade_id.value))("size",12)("label","Editar texto complementar "+t.lex.translate("do usu\xe1rio")),a.xp6(1),a.Q6J("disabled",t.form.controls.editar_texto_complementar_usuario.value?void 0:"true")("dataset",t.planoDataset)}}function Ht(i,l){if(1&i&&(a.TgZ(0,"tab",38)(1,"div",39),a._UZ(2,"documentos",40,41),a.qZA()()),2&i){const t=a.oxw(),e=a.MAs(12);a.Q6J("label",t.lex.translate("Termo")),a.xp6(2),a.Q6J("entity",t.entity)("disabled",t.formDisabled)("cdRef",t.cdRef)("needSign",t.planoTrabalhoService.needSign)("extraTags",t.planoTrabalhoService.extraTags)("editingId",t.formDisabled?void 0:t.editingId)("datasource",t.datasource)("template",null==e||null==e.selectedEntity?null:e.selectedEntity.template_tcr)}}const Bt=function(){return["afastamentos","lotacao","unidades","participacoes_programas"]},kt=function(){return["usuario_id"]},Wt=function(){return["usuario_id","programa_id","tipo_modalidade_id"]};let j=(()=>{class i extends da.F{constructor(t){super(t,O.p,w.t),this.injector=t,this.entregas=[],this.gestoresUnidadeExecutora=[],this.validate=(e,o)=>{let n=null;return["unidade_id","programa_id","usuario_id","tipo_modalidade_id"].indexOf(o)>=0&&!e.value?.length?n="Obrigat\xf3rio":["carga_horaria"].indexOf(o)>=0&&!e.value?n="Valor n\xe3o pode ser zero.":["data_inicio","data_fim"].includes(o)&&!this.util.isDataValid(e.value)?n="Inv\xe1lido":"data_fim"==o&&this.util.isDataValid(this.form?.controls.data_inicio.value)&&this.util.asTimestamp(e.value)<=this.util.asTimestamp(this.form.controls.data_inicio.value)?n="Menor que o in\xedcio":this.programa&&"data_inicio"==o&&q()(e.value).startOf("day")q()(this.programa.selectedEntity?.data_fim).startOf("day")&&(n="Maior que programa"),n},this.formValidation=function(){var e=(0,d.Z)(function*(o){return""});return function(o){return e.apply(this,arguments)}}(),this.titleEdit=e=>"Editando "+this.lex.translate("Plano de Trabalho")+": "+(e?.usuario?.apelido||""),this.join=["unidade.entidade","entregas.entrega","entregas.plano_entrega_entrega:id,plano_entrega_id","usuario","programa.template_tcr","tipo_modalidade","documento","documentos.assinaturas.usuario:id,nome,apelido","entregas.plano_entrega_entrega.entrega","entregas.plano_entrega_entrega.plano_entrega.unidade:id,nome,sigla","entregas.reacoes.usuario:id,nome,apelido"],this.joinPrograma=["template_tcr"],this.programaDao=t.get(la.w),this.usuarioDao=t.get(G.q),this.unidadeDao=t.get(N.J),this.documentoService=t.get(qa.t),this.templateService=t.get(Fa.E),this.utilService=t.get(Va.f),this.calendar=t.get(ua.o),this.allPages=t.get(sa.T),this.tipoModalidadeDao=t.get(ra.D),this.documentoDao=t.get(na.d),this.planoTrabalhoService=t.get(Q.p),this.modalWidth=1300,this.planoDataset=this.dao.dataset(),this.form=this.fh.FormBuilder({carga_horaria:{default:""},tempo_total:{default:""},tempo_proporcional:{default:""},data_inicio:{default:new Date},data_fim:{default:new Date},usuario_id:{default:""},unidade_id:{default:""},programa_id:{default:""},documento_id:{default:null},documentos:{default:[]},atividades:{default:[]},entregas:{default:[]},tipo_modalidade_id:{default:""},forma_contagem_carga_horaria:{default:"DIA"},editar_texto_complementar_unidade:{default:!1},editar_texto_complementar_usuario:{default:!1},unidade_texto_complementar:{default:""},usuario_texto_complementar:{default:""},criterios_avaliacao:{default:[]},criterio_avaliacao:{default:""}},this.cdRef,this.validate),this.programaMetadata={todosUnidadeExecutora:!0,vigentesUnidadeExecutora:!1}}ngOnInit(){super.ngOnInit();const t=(this.url?this.url[this.url.length-1]?.path:"")||"";this.action=["termos"].includes(t)?t:this.action,this.buscaGestoresUnidadeExecutora(this.entity?.unidade??null)}atualizarTcr(){this.entity=this.loadEntity();let o=this.planoTrabalhoService.atualizarTcr(this.planoTrabalho,this.entity,this.form.controls.usuario_texto_complementar.value,this.form.controls.unidade_texto_complementar.value);this.form?.controls.documento_id.setValue(o?.id),this.form?.controls.documentos.setValue(this.entity.documentos),this.datasource=o?.datasource||{},this.template=this.entity.programa?.template_tcr,this.editingId=["ADD","EDIT"].includes(o?._status||"")?o.id:void 0,this.cdRef.detectChanges()}get isTermos(){return"termos"==this.action}onUnidadeSelect(t){let e=this.unidade?.selectedEntity;this.entity.unidade=e,this.entity.unidade_id=e.id,this.form.controls.forma_contagem_carga_horaria.setValue(e?.entidade?.forma_contagem_carga_horaria||"DIA"),this.form.controls.unidade_texto_complementar.setValue(e?.texto_complementar_plano||""),this.unidadeDao.getById(e.id,["gestor:id,usuario_id","gestores_substitutos:id,usuario_id","gestores_delegados:id,usuario_id"]).then(o=>{this.buscaGestoresUnidadeExecutora(o)})}podeEditarTextoComplementar(t){return t==this.auth.unidadeGestor()?.id?void 0:"true"}onProgramaSelect(t){let e=t.entity;this.entity.programa_id=e.id,this.entity.programa=e,this.form?.controls.criterios_avaliacao.setValue(e.plano_trabalho_criterios_avaliacao||[]),this.form?.controls.data_inicio.updateValueAndValidity(),this.form?.controls.data_fim.updateValueAndValidity(),this.calculaTempos(),this.cdRef.detectChanges()}onUsuarioSelect(t){var e=this;this.form.controls.usuario_texto_complementar.setValue(t.entity?.texto_complementar_plano||""),this.form?.controls.unidade_id.value||t.entity.unidades?.every(function(){var o=(0,d.Z)(function*(n){if(t.entity.lotacao.unidade_id==n.id){if(!e.form?.controls.programa_id.value){n.path.split("/").reverse();let p=0,_=0;for(;0==p;)yield e.programaDao.query({where:[["vigentesUnidadeExecutora","==",e.auth.unidade.id]]}).asPromise().then(c=>{c.length>0&&0==p&&(p=1,e.preencheUnidade(n),e.preenchePrograma(c[0]))}),_+=1}return!1}return!0});return function(n){return o.apply(this,arguments)}}()),this.calculaTempos(),this.cdRef.detectChanges()}preencheUnidade(t){this.form?.controls.unidade_id.setValue(t.id),this.entity.unidade=t,this.entity.unidade_id=t.id,this.form.controls.forma_contagem_carga_horaria.setValue(t?.entidade?.forma_contagem_carga_horaria||"DIA"),this.form.controls.unidade_texto_complementar.setValue(t?.texto_complementar_plano||""),this.unidadeDao.getById(t.id,["gestor:id,usuario_id","gestores_substitutos:id,usuario_id","gestores_delegados:id,usuario_id"]).then(e=>{this.buscaGestoresUnidadeExecutora(e)})}preenchePrograma(t){t?(this.form?.controls.programa_id.setValue(t.id),this.entity.programa_id=t.id,this.entity.programa=t,this.form?.controls.criterios_avaliacao.setValue(t.plano_trabalho_criterios_avaliacao||[]),this.form?.controls.data_inicio.updateValueAndValidity(),this.form?.controls.data_fim.updateValueAndValidity()):this.form?.setErrors({programa:"N\xe3o h\xe1 programa vigente para a unidade executora."})}onDataInicioChange(t){this.calculaTempos()}onDataFimChange(t){this.calculaTempos()}onCargaHorariaChenge(t){this.calculaTempos()}calculaTempos(){const t=this.form?.controls.data_inicio.value,e=this.form?.controls.data_fim.value,o=this.form?.controls.carga_horaria.value||8,n=this.usuario?.selectedEntity,r=this.unidade?.selectedEntity;n&&r&&this.util.isDataValid(t)&&this.util.isDataValid(e)&&this.util.asTimestamp(t){this.horasTotais=this.calendar.calculaDataTempoUnidade(t,e,o,r,"ENTREGA",[],[]),this.horasParciais=this.calendar.calculaDataTempoUnidade(t,e,o,r,"ENTREGA",[],n.afastamentos),this.form?.controls.tempo_total.setValue(this.horasTotais.tempoUtil),this.form?.controls.tempo_proporcional.setValue(this.horasParciais.tempoUtil)})}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.planoTrabalho=new O.p(t),yield Promise.all([o.calendar.loadFeriadosCadastrados(t.unidade_id),o.usuario?.loadSearch(t.usuario||t.usuario_id),o.unidade?.loadSearch(t.unidade||t.unidade_id),o.programa?.loadSearch(t.programa||t.programa_id),o.tipoModalidade?.loadSearch(t.tipo_modalidade||t.tipo_modalidade_id)]);let n=Object.assign({},e.value);e.patchValue(o.util.fillForm(n,t)),o.calculaTempos(),o.atualizarTcr()})()}initializeData(t){var e=this;return(0,d.Z)(function*(){if(e.isTermos)e.entity=yield e.dao.getById(e.urlParams.get("id"),e.join);else{e.entity=new O.p,e.entity.carga_horaria=e.auth.entidade?.carga_horaria_padrao||8,e.entity.forma_contagem_carga_horaria=e.auth.entidade?.forma_contagem_carga_horaria||"DIA",e.entity.unidade_id=e.auth.unidade.id;let n=yield e.programaDao.query({where:[["vigentesUnidadeExecutora","==",e.auth.unidade.id]],join:e.joinPrograma}).asPromise();e.preenchePrograma(n[n.length-1]),e.buscaGestoresUnidadeExecutora(e.auth.unidade),e.gestoresUnidadeExecutora.includes(e.auth.unidade.id)||(e.entity.usuario_id=e.auth.usuario.id)}yield e.loadData(e.entity,e.form);let o=new Date;o.setHours(0,0,0,0),e.form?.controls.data_inicio.setValue(o),e.form?.controls.data_fim.setValue("")})()}loadEntity(){let t=this.util.fill(new O.p,this.entity);return t=this.util.fillForm(t,this.form.value),t.usuario=this.usuario.selectedEntity||this.entity?.usuario,t.unidade=this.unidade?.selectedEntity||this.entity?.unidade,t.programa=this.programa?.selectedEntity||this.entity?.programa,t.tipo_modalidade=this.tipoModalidade.selectedEntity||this.entity?.tipo_modalidade,t}saveData(t){var e=this;return(0,d.Z)(function*(){e.submitting=!0;try{e.atualizarTcr(),e.documentos?.saveData(),e.submitting=!0,e.entity.documentos=e.entity.documentos.filter(r=>["ADD","EDIT","DELETE"].includes(r._status||""));let o=[e.dao.save(e.entity,e.join)];e.form.controls.editar_texto_complementar_unidade.value&&o.push(e.unidadeDao.update(e.entity.unidade_id,{texto_complementar_plano:e.form.controls.unidade_texto_complementar.value})),e.form.controls.editar_texto_complementar_usuario.value&&o.push(e.usuarioDao.update(e.entity.usuario_id,{texto_complementar_plano:e.form.controls.usuario_texto_complementar.value}));let n=yield Promise.all(o);e.entity=n[0]}finally{e.submitting=!1}return!0})()}onTabSelect(t){"TERMO"==t.key&&this.atualizarTcr()}documentoDynamicButtons(t){let e=[];return this.isTermos&&this.planoTrabalhoService.needSign(this.entity,t)&&e.push({hint:"Assinar",icon:"bi bi-pen",onClick:this.signDocumento.bind(this)}),e.push({hint:"Preview",icon:"bi bi-zoom-in",onClick:(n=>{this.dialog.html({title:"Termo de ades\xe3o",modalWidth:1e3},n.conteudo||"")}).bind(this)}),e}signDocumento(t){var e=this;return(0,d.Z)(function*(){yield e.documentoService.sign([t]),e.cdRef.detectChanges()})()}get formaContagemCargaHoraria(){const t=this.form?.controls.forma_contagem_carga_horaria.value||"DIA";return"DIA"==t?"day":"SEMANA"==t?"week":"mouth"}onFormaContagemCargaHorariaChange(t){this.form.controls.forma_contagem_carga_horaria.setValue("day"==t?"DIA":"week"==t?"SEMANA":"MES")}isVigente(t){return this.form.controls.documento_id.value==t.id}buscaGestoresUnidadeExecutora(t){return t&&[t.gestor?.usuario_id,...t.gestores_substitutos?.map(e=>e.usuario_id),...t.gestores_delegados?.map(e=>e.usuario_id)].forEach(e=>{e&&this.gestoresUnidadeExecutora.push(e)}),this.gestoresUnidadeExecutora}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-form"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(It,5),a.Gf(Pt,5),a.Gf(Ut,5),a.Gf(wt,5),a.Gf(Nt,5),a.Gf(Jt,5),a.Gf(Qt,5),a.Gf(St,5),a.Gf(Rt,5),a.Gf(Mt,5),a.Gf(qt,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.gridAtividades=n.first),a.iGM(n=a.CRH())&&(o.gridDocumentos=n.first),a.iGM(n=a.CRH())&&(o.tabs=n.first),a.iGM(n=a.CRH())&&(o.usuario=n.first),a.iGM(n=a.CRH())&&(o.programa=n.first),a.iGM(n=a.CRH())&&(o.unidade=n.first),a.iGM(n=a.CRH())&&(o.tipoModalidade=n.first),a.iGM(n=a.CRH())&&(o.planoEntrega=n.first),a.iGM(n=a.CRH())&&(o.atividade=n.first),a.iGM(n=a.CRH())&&(o.entrega=n.first),a.iGM(n=a.CRH())&&(o.documentos=n.first)}},features:[a.qOj],decls:24,vars:36,consts:[["initialFocus","plano_entrega_id",3,"form","disabled","noButtons","submit","cancel"],["display","","right","",3,"hidden","title","select"],["tabs",""],["key","DADOS","label","Dados"],[1,"row"],[1,"col-md-12"],["required","","controlName","usuario_id",3,"size","disabled","dao","join","select"],["usuario",""],["required","","controlName","unidade_id",3,"size","disabled","dao","select"],["unidade",""],["icon","bi bi-file-bar-graph","required","","controlName","programa_id",3,"size","label","disabled","join","dao","metadata","select"],["programa",""],["date","","label","In\xedcio","icon","bi bi-calendar-date","controlName","data_inicio","required","",3,"size","control","labelInfo","change"],["date","","label","Final","icon","bi bi-calendar-date","controlName","data_fim","required","",3,"size","control","labelInfo","change"],["controlName","tipo_modalidade_id","required","",3,"size","dao"],["tipoModalidade",""],[4,"ngIf"],[3,"title"],["type","warning",3,"message",4,"ngIf"],["key","MENSAGENS",3,"label",4,"ngIf"],["key","TERMO",3,"label",4,"ngIf"],["label","Carga Hor\xe1ria","icon","bi bi-hourglass-split","controlName","carga_horaria","labelInfo","Carga hor\xe1ria do usu\xe1rio (M\xe1x.: di\xe1ria 24 horas; semana 24*5=240 horas; mensal 24*20=480 horas)","required","",3,"size","unit","control","unitChange","change"],["onlyHours","","disabled","","label","Horas Totais","icon","bi bi-clock","controlName","tempo_total","labelInfo","Horas \xfateis de trabalho no per\xedodo de vig\xeancia considerando a carga hor\xe1ria, feriados e fins de semana",3,"size","control"],["onlyHours","","disabled","","label","Horas Parciais","icon","bi bi-clock","controlName","tempo_proporcional","labelInfo","Total de horas menos os afastamentos.",3,"size","control"],["title","C\xe1lculos das horas totais","collapse","",4,"ngIf"],["title","C\xe1lculos das horas parciais","collapse","",4,"ngIf"],["title","C\xe1lculos das horas totais","collapse",""],[3,"efemerides","partial"],["title","C\xe1lculos das horas parciais","collapse",""],[3,"efemerides"],["type","warning",3,"message"],["noPersist","",3,"disabled","entity"],["key","MENSAGENS",3,"label"],["controlName","editar_texto_complementar_unidade","scale","small","labelPosition","right",3,"disabled","size","label"],["controlName","unidade_texto_complementar",3,"disabled","dataset"],["title","Texto complementar do usuario"],["controlName","editar_texto_complementar_usuario","scale","small","labelPosition","right",3,"disabled","size","label"],["controlName","usuario_texto_complementar",3,"disabled","dataset"],["key","TERMO",3,"label"],["clss","row"],["noPersist","","especie","TCR",3,"entity","disabled","cdRef","needSign","extraTags","editingId","datasource","template"],["documentos",""]],template:function(e,o){if(1&e&&(a.TgZ(0,"editable-form",0),a.NdJ("submit",function(){return o.onSaveData()})("cancel",function(){return o.onCancel()}),a.TgZ(1,"tabs",1,2)(3,"tab",3)(4,"div",4)(5,"div",5)(6,"div",4)(7,"input-search",6,7),a.NdJ("select",function(r){return o.onUsuarioSelect(r)}),a.qZA(),a.TgZ(9,"input-search",8,9),a.NdJ("select",function(r){return o.onUnidadeSelect(r)}),a.qZA(),a.TgZ(11,"input-search",10,11),a.NdJ("select",function(r){return o.onProgramaSelect(r)}),a.qZA()(),a.TgZ(13,"div",4)(14,"input-datetime",12),a.NdJ("change",function(r){return o.onDataInicioChange(r)}),a.qZA(),a.TgZ(15,"input-datetime",13),a.NdJ("change",function(r){return o.onDataFimChange(r)}),a.qZA(),a._UZ(16,"input-search",14,15),a.qZA(),a.YNc(18,Lt,7,10,"ng-container",16),a.qZA()(),a.TgZ(19,"separator",17),a.YNc(20,Gt,1,1,"top-alert",18),a.YNc(21,zt,2,2,"div",16),a.qZA()(),a.YNc(22,Yt,7,12,"tab",19),a.YNc(23,Ht,4,9,"tab",20),a.qZA()()),2&e){const n=a.MAs(17);a.Q6J("form",o.form)("disabled",o.formDisabled)("noButtons",o.isTermos?"true":void 0),a.xp6(1),a.Q6J("hidden",o.isTermos?"true":void 0)("title",o.isModal?"":o.title)("select",o.onTabSelect.bind(o)),a.xp6(6),a.Q6J("size",4)("disabled","new"==o.action?void 0:"true")("dao",o.usuarioDao)("join",a.DdM(33,Bt)),a.xp6(2),a.Q6J("size",4)("disabled","new"==o.action?void 0:"true")("dao",o.unidadeDao),a.xp6(2),a.Q6J("size",4)("label",o.lex.translate("Programa de gest\xe3o"))("disabled","new"==o.action?void 0:"true")("join",o.joinPrograma)("dao",o.programaDao)("metadata",o.programaMetadata),a.xp6(3),a.Q6J("size",3)("control",o.form.controls.data_inicio)("labelInfo","In\xedcio da Vig\xeancia do "+o.lex.translate("Plano de trabalho")),a.xp6(1),a.Q6J("size",3)("control",o.form.controls.data_fim)("labelInfo","Final da Vig\xeancia do "+o.lex.translate("Plano de trabalho")),a.xp6(1),a.Q6J("size",6)("dao",o.tipoModalidadeDao),a.xp6(2),a.Q6J("ngIf",null==n.selectedEntity?null:n.selectedEntity.plano_trabalho_calcula_horas),a.xp6(1),a.Q6J("title",o.lex.translate("Entregas")+o.lex.translate(" do plano de trabalho")),a.xp6(1),a.Q6J("ngIf",!(null!=o.form.controls.programa_id.value&&o.form.controls.programa_id.value.length&&null!=o.form.controls.unidade_id.value&&o.form.controls.unidade_id.value.length)),a.xp6(1),a.Q6J("ngIf",(null==o.form.controls.programa_id.value?null:o.form.controls.programa_id.value.length)&&(null==o.form.controls.unidade_id.value?null:o.form.controls.unidade_id.value.length)),a.xp6(1),a.Q6J("ngIf",o.checkFilled(a.DdM(34,kt))),a.xp6(1),a.Q6J("ngIf",o.checkFilled(a.DdM(35,Wt)))}},dependencies:[h.O5,D.Q,J.a,y.V,M.k,Ga.u,F.n,Y.i,I.N,za.o,ca.S,Ya.G,Ha.Y,Ba.N,W]})}return i})();var fa=s(9997),K=s(7765),ba=s(2729),jt=s(5736);function Kt(i,l){if(1&i&&a._UZ(0,"i"),2&i){const t=a.oxw();a.Tol(t.icon)}}const va=function(i){return{data:i}};function Xt(i,l){if(1&i&&a.GkF(0,5),2&i){const t=a.oxw();a.Q6J("ngTemplateOutlet",t.titleTemplate)("ngTemplateOutletContext",a.VKq(2,va,t.data))}}function $t(i,l){if(1&i&&a.GkF(0,5),2&i){const t=a.oxw(2);a.Q6J("ngTemplateOutlet",t.template)("ngTemplateOutletContext",a.VKq(2,va,t.data))}}function ae(i,l){if(1&i&&(a.TgZ(0,"div",6),a.YNc(1,$t,1,4,"ng-container",3),a.Hsn(2),a.qZA()),2&i){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",t.template)}}const te=["*"];let ee=(()=>{class i extends jt.V{set class(t){this._class!=t&&(this._class=t)}get class(){return"card m-3 "+this.getClassBorderColor(this.color)+this._class}constructor(t){super(t),this.injector=t,this.collapsed=!0}ngOnInit(){}onHeaderClick(){this.collapsed=!this.collapsed,this.cdRef.detectChanges()}get style(){return this.getStyleBgColor(this.color)}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["collapse-card"]],inputs:{title:"title",data:"data",icon:"icon",collapsed:"collapsed",color:"color",template:"template",titleTemplate:"titleTemplate",class:"class"},features:[a.qOj],ngContentSelectors:te,decls:7,vars:6,consts:[[1,"card","border-primary","m-3"],["role","button",1,"card-header",3,"click"],[3,"class",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","card-body text-primary",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"card-body","text-primary"]],template:function(e,o){1&e&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1),a.NdJ("click",function(){return o.onHeaderClick()}),a.YNc(2,Kt,1,2,"i",2),a._uU(3),a.YNc(4,Xt,1,4,"ng-container",3),a._UZ(5,"i"),a.qZA(),a.YNc(6,ae,3,1,"div",4),a.qZA()),2&e&&(a.xp6(2),a.Q6J("ngIf",o.icon),a.xp6(1),a.hij(" ",o.title||""," "),a.xp6(1),a.Q6J("ngIf",o.titleTemplate),a.xp6(1),a.Tol("collapse-card-toggle-icon "+(o.collapsed?"bi bi-chevron-down":"bi bi-chevron-up")),a.xp6(1),a.Q6J("ngIf",!o.collapsed))},dependencies:[h.O5,h.tP],styles:[".card-header[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{transition:.3s transform ease-in-out}.card-header[_ngcontent-%COMP%] .collapsed[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{transform:rotate(90deg)}.collapse-card-toggle-icon[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px}"]})}return i})();var oe=s(58),V=s(4539),ie=s(4368);class Ta extends ie.X{constructor(l){super(),this.data_inicio=new Date,this.data_fim=new Date,this.status="INCLUIDO",this.avaliacoes=[],this.status_historico=[],this.plano_trabalho_id="",this.avaliacao_id=null,this.initialization(l)}}var Ca=s(1095),X=s(6486),ne=s(3101),le=s(2981),re=s(7447),se=s(4971),de=s(7338),ce=s(9373),ue=s(6976);let me=(()=>{class i extends ue.B{constructor(t){super("Comparecimento",t),this.injector=t,this.inputSearchConfig.searchFields=["data_comparecimento"]}static#a=this.\u0275fac=function(e){return new(e||i)(a.LFG(a.zs3))};static#t=this.\u0275prov=a.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var pe=s(5034),_e=s(7819),ge=s(9756),he=s(9224),fe=s(1419),Aa=s(2504),be=s(2095);const ve=["gridEntregas"],Te=["gridAtividades"],Ce=["etiqueta"],Ae=["tipoAtividade"],ye=["listTarefas"];function xe(i,l){if(1&i&&(a.TgZ(0,"span",31),a._UZ(1,"i",32),a._uU(2),a.qZA()),2&i){const t=a.oxw().row;a.xp6(2),a.hij(" ",null==t.atividades?null:t.atividades.length,"")}}function Ee(i,l){if(1&i&&a.YNc(0,xe,3,1,"span",30),2&i){const t=l.row;a.Q6J("ngIf",null==t.atividades?null:t.atividades.length)}}function Ze(i,l){if(1&i&&(a.TgZ(0,"span",31),a._UZ(1,"i",32),a._uU(2),a.qZA()),2&i){const t=a.oxw().row;a.xp6(2),a.hij(" ",null==t.tarefas?null:t.tarefas.length,"")}}function De(i,l){if(1&i&&a.YNc(0,Ze,3,1,"span",30),2&i){const t=l.row;a.Q6J("ngIf",null==t.tarefas?null:t.tarefas.length)}}function Oe(i,l){1&i&&a._UZ(0,"atividade-list-tarefa",49,50),2&i&&a.Q6J("atividade",l.row)("consolidacao",!1)}function Ie(i,l){if(1&i&&(a.TgZ(0,"span",51),a._UZ(1,"badge",52),a.qZA(),a.TgZ(2,"span",53),a._uU(3),a.qZA(),a._UZ(4,"reaction",54)),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Q6J("label",t.numero)("data",t.numero)("click",e.atividadeService.onIdClick.bind(e)),a.xp6(2),a.Oqu(t.descricao),a.xp6(1),a.Q6J("entity",t)}}function Pe(i,l){if(1&i&&a._UZ(0,"input-textarea",55),2&i){const t=a.oxw(2);a.Q6J("size",12)("rows",2)("control",t.formAtividade.controls.descricao)}}function Ue(i,l){1&i&&a._UZ(0,"badge",58),2&i&&a.Q6J("badge",l.$implicit)}function we(i,l){if(1&i&&(a.TgZ(0,"div",56),a.YNc(1,Ue,1,1,"badge",57),a.qZA()),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Q6J("ngForOf",e.tempoAtividade(t))}}function Ne(i,l){if(1&i&&(a.TgZ(0,"separator",59),a._UZ(1,"input-datetime",60)(2,"input-datetime",61),a.qZA()),2&i){const t=a.oxw(2);a.Q6J("collapsed",!0),a.xp6(1),a.Q6J("control",t.formAtividade.controls.data_inicio),a.xp6(1),a.Q6J("control",t.formAtividade.controls.data_entrega)}}function Je(i,l){1&i&&a._UZ(0,"badge",66),2&i&&a.Q6J("lookup",l.$implicit)}function Qe(i,l){1&i&&a._UZ(0,"separator",67)}function Se(i,l){1&i&&a._UZ(0,"i",71)}function Re(i,l){if(1&i&&(a.TgZ(0,"tr")(1,"td"),a.YNc(2,Se,1,0,"i",69),a.qZA(),a.TgZ(3,"td",70),a._uU(4),a.qZA()()),2&i){const t=l.$implicit;a.xp6(2),a.Q6J("ngIf",t.checked),a.xp6(2),a.Oqu(t.texto)}}function Me(i,l){if(1&i&&(a.TgZ(0,"table"),a.YNc(1,Re,5,2,"tr",68),a.qZA()),2&i){const t=a.oxw().row;a.xp6(1),a.Q6J("ngForOf",t.checklist)}}function qe(i,l){if(1&i&&(a._UZ(0,"progress-bar",62),a.YNc(1,Je,1,1,"badge",63),a.YNc(2,Qe,1,0,"separator",64),a.YNc(3,Me,2,1,"table",65)),2&i){const t=l.row;a.Q6J("value",t.progresso),a.xp6(1),a.Q6J("ngForOf",t.etiquetas),a.xp6(1),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length),a.xp6(1),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function Fe(i,l){1&i&&a._UZ(0,"separator",67)}function Ve(i,l){if(1&i&&(a.TgZ(0,"tr")(1,"td"),a._UZ(2,"input-switch",76),a.qZA(),a.TgZ(3,"td",70),a._uU(4),a.qZA()()),2&i){const t=l.$implicit,e=l.index,o=a.oxw(4);a.xp6(2),a.Q6J("size",12)("source",o.checklist)("path",e+".checked"),a.xp6(2),a.Oqu(t.texto)}}function Le(i,l){if(1&i&&(a.TgZ(0,"table"),a.YNc(1,Ve,5,4,"tr",68),a.qZA()),2&i){const t=a.oxw(3);a.xp6(1),a.Q6J("ngForOf",t.checklist)}}function Ge(i,l){if(1&i){const t=a.EpF();a._uU(0),a._UZ(1,"input-number",72),a.TgZ(2,"input-multiselect",73)(3,"input-select",74,75),a.NdJ("details",function(){a.CHM(t);const o=a.oxw(2);return a.KtG(o.onEtiquetaConfigClick())}),a.qZA()(),a.YNc(5,Fe,1,0,"separator",64),a.YNc(6,Le,2,1,"table",65)}if(2&i){const t=l.row,e=a.oxw(2);a.hij(" ",t._status," "),a.xp6(1),a.Q6J("size",12)("decimals",2)("control",e.formEdit.controls.progresso),a.xp6(1),a.Q6J("size",12)("control",e.formEdit.controls.etiquetas)("addItemHandle",e.addItemHandleEtiquetas.bind(e)),a.xp6(1),a.Q6J("size",12)("control",e.formEdit.controls.etiqueta)("items",e.etiquetas),a.xp6(2),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length),a.xp6(1),a.Q6J("ngIf",null==t.checklist?null:t.checklist.length)}}function ze(i,l){if(1&i&&a._UZ(0,"badge",81),2&i){const t=l.$implicit;a.Q6J("data",t)("color",t.color)("icon",t.icon)("label",t.label)}}function Ye(i,l){if(1&i&&a._UZ(0,"comentarios-widget",82),2&i){const t=a.oxw().row;a.oxw();const e=a.MAs(1);a.Q6J("entity",t)("selectable",!1)("grid",e)}}function He(i,l){if(1&i&&(a._UZ(0,"documentos-badge",77),a.TgZ(1,"span",78),a.YNc(2,ze,1,4,"badge",79),a.qZA(),a.YNc(3,Ye,1,3,"comentarios-widget",80)),2&i){const t=l.row;a.oxw();const e=a.MAs(1),o=a.oxw();a.Q6J("documento",t.documento_requisicao),a.xp6(2),a.Q6J("ngForOf",o.atividadeService.getStatus(t,o.entity)),a.xp6(1),a.Q6J("ngIf",!e.editing)}}const Be=function(){return{abrirEmEdicao:!0}};function ke(i,l){if(1&i&&(a.TgZ(0,"grid",33,34)(2,"columns")(3,"column",35),a.YNc(4,De,1,1,"ng-template",null,36,a.W1O),a.YNc(6,Oe,2,2,"ng-template",null,37,a.W1O),a.qZA(),a.TgZ(8,"column",38),a.YNc(9,Ie,5,5,"ng-template",null,39,a.W1O),a.YNc(11,Pe,1,3,"ng-template",null,40,a.W1O),a.qZA(),a.TgZ(13,"column",41),a.YNc(14,we,2,1,"ng-template",null,42,a.W1O),a.YNc(16,Ne,3,3,"ng-template",null,43,a.W1O),a.qZA(),a.TgZ(18,"column",44),a.YNc(19,qe,4,4,"ng-template",null,45,a.W1O),a.YNc(21,Ge,7,12,"ng-template",null,46,a.W1O),a.qZA(),a.TgZ(23,"column",41),a.YNc(24,He,4,3,"ng-template",null,47,a.W1O),a.qZA(),a._UZ(26,"column",48),a.qZA()()),2&i){const t=l.row,e=a.MAs(5),o=a.MAs(7),n=a.MAs(10),r=a.MAs(12),m=a.MAs(15),p=a.MAs(17),_=a.MAs(20),c=a.MAs(22),f=a.MAs(25),u=a.oxw();a.Q6J("items",t.atividades)("minHeight",0)("form",u.formAtividade)("hasAdd",!u.disabled)("hasDelete",!1)("hasEdit",!1)("add",u.addAtividade.bind(u,t.entrega))("load",u.loadAtividade.bind(u))("remove",u.removeAtividade.bind(u,t.atividades))("save",u.saveAtividade.bind(u)),a.xp6(3),a.Q6J("width",50)("align","center")("hint","Tarefas da "+u.lex.translate("atividade"))("template",e)("expandTemplate",o),a.xp6(5),a.Q6J("title","#ID/Trabalho executado")("width",400)("template",n)("editTemplate",r)("columnEditTemplate",r)("edit",u.onColumnAtividadeDescricaoEdit.bind(u))("save",u.onColumnAtividadeDescricaoSave.bind(u))("metadata",a.DdM(42,Be)),a.xp6(5),a.Q6J("title","In\xedcio e Conclus\xe3o")("width",250)("template",m)("editTemplate",p),a.xp6(5),a.Q6J("title","Progresso\nEtiquetas/Checklist")("width",200)("template",_)("editTemplate",_)("columnEditTemplate",c)("edit",u.onColumnProgressoEtiquetasChecklistEdit.bind(u))("save",u.onColumnProgressoEtiquetasChecklistSave.bind(u))("canEdit",u.podeEditar.bind(u)),a.xp6(5),a.Q6J("title","n\xba Processo/Status\nComent\xe1rios")("width",300)("template",f)("editTemplate",f),a.xp6(3),a.Q6J("metadata",u.atividadeOptionsMetadata)("dynamicOptions",u.atividadeService.dynamicOptions.bind(u))("dynamicButtons",u.atividadeService.dynamicButtons.bind(u))}}function We(i,l){if(1&i&&a._UZ(0,"badge",83),2&i){const t=l.row;a.Q6J("label",t.badge.titulo)("color",t.badge.cor)}}function je(i,l){if(1&i&&(a._uU(0),a._UZ(1,"br"),a.TgZ(2,"small"),a._uU(3),a.qZA(),a._UZ(4,"reaction",84)),2&i){const t=l.row;a.hij(" ",t.badge.descricao||t.entrega.descricao,""),a.xp6(3),a.Oqu(t.entrega.descricao),a.xp6(1),a.Q6J("entity",t.entrega)}}function Ke(i,l){1&i&&a._UZ(0,"badge",85),2&i&&a.Q6J("label",l.row.entrega.forca_trabalho+"%")}function Xe(i,l){if(1&i&&a._UZ(0,"badge",86)(1,"br")(2,"badge",87),2&i){const t=l.row;a.Q6J("textValue",t.meta),a.xp6(2),a.Q6J("textValue",t.metaRealizado)}}function $e(i,l){1&i&&a._UZ(0,"progress-bar",62),2&i&&a.Q6J("value",l.row.progresso_realizado)}function ao(i,l){if(1&i&&(a._UZ(0,"badge",88),a._uU(1)),2&i){const t=l.row;a.Q6J("color",t.tipo_motivo_afastamento.cor)("icon",t.tipo_motivo_afastamento.icone)("label",t.tipo_motivo_afastamento.nome),a.xp6(1),a.hij(" ",t.observacao," ")}}function to(i,l){if(1&i&&a._UZ(0,"badge",89),2&i){const t=l.row,e=a.oxw();a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",t.unidade.sigla)("textValue",t.unidade.nome)}}function eo(i,l){if(1&i&&a._UZ(0,"input-search",90,91),2&i){const t=a.oxw();a.Q6J("size",6)("dao",t.unidadeDao)}}let ya=(()=>{class i extends S.D{set noPersist(t){super.noPersist=t}get noPersist(){return super.noPersist}set control(t){super.control=t}get control(){return super.control}set entity(t){super.entity=t,this.bindEntity()}get entity(){return super.entity}set disabled(t){(this._disabled!=t||this.atividadeOptionsMetadata.disabled!==t)&&(this._disabled=t,this.atividadeOptionsMetadata.disabled=t,this.cdRef.detectChanges())}get disabled(){return this._disabled}constructor(t){super(t),this.injector=t,this.joinAtividade=["demandante","usuario","tipo_atividade","comentarios.usuario:id,nome,apelido","reacoes.usuario:id,nome,apelido"],this.itemsEntregas=[],this.etiquetas=[],this.etiquetasAscendentes=[],this.itemsOcorrencias=[],this.itemsComparecimentos=[],this.itemsAfastamentos=[],this._disabled=!0,this.validateAtividade=(e,o)=>{let n=null;return["descricao"].indexOf(o)>=0&&!e.value?.length?n="Obrigat\xf3rio":["data_inicio","data_entrega"].includes(o)&&!this.util.isDataValid(e.value)?n="Inv\xe1lido":"data_inicio"==o&&e.value.getTime(){let n=null;return["detalhamento","unidade_id"].indexOf(o)>=0&&!e.value?.length?n="Obrigat\xf3rio":"data_comparecimento"==o&&this.entity&&!this.util.between(e.value,{start:this.entity.data_inicio,end:this.entity.data_fim})&&(n="Inv\xe1lido"),n},this.cdRef=t.get(a.sBO),this.dao=t.get(V.E),this.unidadeDao=t.get(N.J),this.comparecimentoDao=t.get(me),this.atividadeDao=t.get(se.P),this.atividadeService=t.get(de.s),this.calendar=t.get(ua.o),this.ocorrenciaDao=t.get(pe.u),this.tipoAtividadeDao=t.get(le.Y),this.planoTrabalhoService=t.get(Q.p),this.planoEntregaService=t.get(re.f),this.pEEDao=t.get(ma.K),this.formAtividade=this.fh.FormBuilder({descricao:{default:""},etiquetas:{default:[]},checklist:{default:[]},comentarios:{default:[]},esforco:{default:0},tempo_planejado:{default:0},data_distribuicao:{default:new Date},data_estipulada_entrega:{default:new Date},data_inicio:{default:new Date},data_entrega:{default:new Date}},this.cdRef,this.validateAtividade),this.formComparecimento=this.fh.FormBuilder({data_comparecimento:{default:new Date},unidade_id:{default:""},detalhamento:{default:""}},this.cdRef,this.validateComparecimento),this.formEdit=this.fh.FormBuilder({descricao:{default:""},comentarios:{default:[]},progresso:{default:0},etiquetas:{default:[]},etiqueta:{default:null}}),this.atividadeOptionsMetadata={refreshId:this.atividadeRefreshId.bind(this),removeId:this.atividadeRemoveId.bind(this),refresh:this.refresh.bind(this)}}refresh(){this.loadData(this.entity,this.form)}bindEntity(){this.entity&&(this.entity._metadata=this.entity._metadata||{},this.entity._metadata.planoTrabalhoConsolidacaoFormComponent=this)}atividadeRefreshId(t,e){this.itemsEntregas.forEach(o=>{let n=o.atividades.findIndex(r=>r.id==t);n>=0&&(e?o.atividades[n]=e:this.atividadeDao.getById(t,this.joinAtividade).then(r=>{r&&(o.atividades[n]=r)}))}),this.cdRef.detectChanges()}atividadeRemoveId(t){this.itemsEntregas.forEach(e=>{let o=e.atividades.findIndex(n=>n.id==t);o>=0&&e.atividades.splice(o,1)}),this.cdRef.detectChanges()}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),(0,d.Z)(function*(){yield t.loadData(t.entity,t.form)})()}loadConsolidacao(t){this.itemsEntregas=t.entregas.map(e=>(e.plano_entrega_entrega&&(e.plano_entrega_entrega.plano_entrega=t.planosEntregas.find(n=>n.id==e.plano_entrega_entrega?.plano_entrega_id)),{id:e.id,entrega:e,atividades:t.atividades.filter(n=>n.plano_trabalho_entrega_id==e.id),badge:this.planoTrabalhoService.tipoEntrega(e,t.planoTrabalho),meta:e.plano_entrega_entrega?this.planoEntregaService.getValorMeta(e.plano_entrega_entrega):"",metaRealizado:e.plano_entrega_entrega?this.planoEntregaService.getValorRealizado(e.plano_entrega_entrega):"",progresso_realizado:e.plano_entrega_entrega?e.plano_entrega_entrega.progresso_realizado:0,objetivos:e.plano_entrega_entrega?e.plano_entrega_entrega.objetivos:[],processos:e.plano_entrega_entrega?e.plano_entrega_entrega.processos:[]})),this.programa=t.programa,this.planoTrabalho=t.planoTrabalho,this.itemsOcorrencias=t.ocorrencias,this.itemsComparecimentos=t.comparecimentos,this.itemsAfastamentos=t.afastamentos,this.unidade=t.planoTrabalho.unidade||this.entity.plano_trabalho?.unidade,this.cdRef.detectChanges()}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.gridEntregas.loading=!0,o.cdRef.detectChanges();try{let n=yield o.dao.dadosConsolidacao(t.id);o.loadConsolidacao(n)}finally{o.gridEntregas.loading=!1,o.cdRef.detectChanges()}})()}addAtividade(t){var e=this;return(0,d.Z)(function*(){let o=t.plano_trabalho||e.entity.plano_trabalho,n=e.calendar.calculaDataTempoUnidade(e.entity.data_inicio,e.entity.data_fim,o.carga_horaria,e.unidade,"ENTREGA");const r=e.calendar.horasUteis(e.entity.data_inicio,e.entity.data_fim,o.carga_horaria,e.unidade,"DISTRIBUICAO"),m=e.util.maxDate(e.util.setTime(e.entity.data_inicio,0,0,0),o.data_inicio),p=e.util.minDate(e.util.setTime(e.entity.data_fim,23,59,59),o.data_fim);let _=e.dao.generateUuid();return new ne.a({id:_,plano_trabalho:o,plano_trabalho_entrega:t,plano_trabalho_consolidacao:e.entity,demandante:e.auth.usuario,usuario:e.auth.usuario,unidade:e.unidade,data_distribuicao:m,carga_horaria:o.carga_horaria,data_estipulada_entrega:p,data_inicio:m,data_entrega:p,tempo_planejado:r,tempo_despendido:n?.tempoUtil||0,status:"CONCLUIDO",progresso:100,plano_trabalho_id:e.entity.plano_trabalho_id,plano_trabalho_entrega_id:t.id,plano_trabalho_consolidacao_id:e.entity.id,demandante_id:e.auth.usuario.id,usuario_id:e.auth.usuario.id,unidade_id:e.unidade.id,metadados:{atrasado:!1,tempo_despendido:0,tempo_atraso:0,pausado:!1,iniciado:!0,concluido:!0,avaliado:!1,arquivado:!1,produtividade:0,extra:void 0,_status:[]},_status:"temporario"})})()}loadAtividade(t,e){var o=this;return(0,d.Z)(function*(){o.formAtividade.patchValue(e),o.cdRef.detectChanges()})()}removeAtividade(t,e){var o=this;return(0,d.Z)(function*(){if(!(yield o.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")))return!1;try{let r=e;return yield o.atividadeDao?.delete(r),t.splice(t.findIndex(m=>m.id==r.id),1),!0}catch{return!1}})()}saveAtividade(t,e){var o=this;return(0,d.Z)(function*(){let n;if(o.gridAtividades.error="",o.formAtividade.markAllAsTouched(),o.formAtividade.valid){e.id="NEW"==e.id?o.dao.generateUuid():e.id,o.util.fillForm(e,o.formAtividade.value),o.submitting=!0;try{n=yield o.atividadeDao?.save(e,o.joinAtividade,["etiquetas","checklist","comentarios","pausas","tarefas"]),o.atividadeRefreshId(e.id,n)}catch(r){n=!1,o.gridAtividades.error=r.message||r}finally{o.submitting=!1}}return n})()}onDataDistribuicaoChange(t){this.formAtividade.controls.data_inicio.setValue(this.formAtividade.controls.data_distribuicao.value)}onDataEstipuladaEntregaChange(t){this.formAtividade.controls.data_entrega.setValue(this.formAtividade.controls.data_estipulada_entrega.value)}atividadeDynamicButtons(t){let e=[];return e.push(Object.assign({},this.gridEntregas.BUTTON_EDIT,{})),e.push(Object.assign({},this.gridEntregas.BUTTON_DELETE,{})),e}onColumnProgressoEtiquetasChecklistEdit(t){var e=this;return(0,d.Z)(function*(){if(!e.etiquetasAscendentes.filter(o=>o.data==t.plano_trabalho.unidade.id).length){let o=yield e.carregaEtiquetasUnidadesAscendentes(t.plano_trabalho.unidade);e.etiquetasAscendentes.push(...o)}e.formEdit.controls.progresso.setValue(t.progresso),e.formEdit.controls.etiquetas.setValue(t.etiquetas),e.formEdit.controls.etiqueta.setValue(null),e.etiquetas=e.util.merge(t.tipo_atividade?.etiquetas,t.plano_trabalho.unidade?.etiquetas,(o,n)=>o.key==n.key),e.etiquetas=e.util.merge(e.etiquetas,e.auth.usuario.config?.etiquetas,(o,n)=>o.key==n.key),e.etiquetas=e.util.merge(e.etiquetas,e.etiquetasAscendentes.filter(o=>o.data==t.plano_trabalho.unidade.id),(o,n)=>o.key==n.key),e.checklist=e.util.clone(t.checklist)})()}carregaEtiquetasUnidadesAscendentes(t){var e=this;return(0,d.Z)(function*(){let o=[];if((t=t||e.auth.unidade).path){let n=t.path.split("/");(yield e.unidadeDao.query({where:[["id","in",n]]}).asPromise()).forEach(m=>{o=e.util.merge(o,m.etiquetas,(p,_)=>p.key==_.key)}),o.forEach(m=>m.data=t.id)}return o})()}onColumnProgressoEtiquetasChecklistSave(t){var e=this;return(0,d.Z)(function*(){try{const o=yield e.atividadeDao.update(t.id,{progresso:e.formEdit.controls.progresso.value,etiquetas:e.formEdit.controls.etiquetas.value,checklist:e.checklist});return t.progresso=e.formEdit.controls.progresso.value,t.checklist=e.checklist,!!o}catch{return!1}})()}onEtiquetaConfigClick(){this.go.navigate({route:["configuracoes","preferencia","usuario",this.auth.usuario.id],params:{etiquetas:!0}},{modal:!0,modalClose:t=>{this.etiquetas=this.util.merge(this.etiquetas,this.auth.usuario.config?.etiquetas,(e,o)=>e.key==o.key),this.cdRef.detectChanges()}})}addItemHandleEtiquetas(){let t;if(this.etiqueta&&this.etiqueta.selectedItem){const e=this.etiqueta.selectedItem,o=e.key?.length?e.key:this.util.textHash(e.value);this.util.validateLookupItem(this.formEdit.controls.etiquetas.value,o)&&(t={key:o,value:e.value,color:e.color,icon:e.icon},this.formEdit.controls.etiqueta.setValue(null))}return t}podeEditar(t){return!t._status}loadTipoAtividade(t){t?(this.etiquetas=this.atividadeService.buildEtiquetas(this.unidade,t),this.atividadeService.buildChecklist(t,this.formAtividade.controls.checklist),this.formAtividade.controls.esforco.setValue(t?.esforco||0)):(this.etiquetas=[],this.formAtividade.controls.esforco.setValue(0)),this.cdRef.detectChanges()}onTipoAtividadeSelect(t){const e=t.entity;this.loadTipoAtividade(e),this.atividadeService.comentarioAtividade(e,this.formAtividade.controls.comentarios),this.cdRef.detectChanges()}onColumnAtividadeDescricaoEdit(t){var e=this;return(0,d.Z)(function*(){e.formAtividade.controls.descricao.setValue(t.descricao),e.formAtividade.controls.comentarios.setValue(t.comentarios)})()}onColumnAtividadeDescricaoSave(t){var e=this;return(0,d.Z)(function*(){try{e.atividadeService.comentarioAtividade(e.tipoAtividade?.selectedEntity,e.formAtividade.controls.comentarios);const o=yield e.atividadeDao.update(t.id,{descricao:e.formAtividade.controls.descricao.value,comentarios:(e.formAtividade.controls.comentarios.value||[]).filter(n=>["ADD","EDIT","DELETE"].includes(n._status||""))});return t.descricao=e.formAtividade.controls.descricao.value,t.tipo_atividade=e.tipoAtividade?.selectedEntity||null,t.comentarios=e.formAtividade.controls.comentarios.value,!!o}catch{return!1}})()}tempoAtividade(t){let e=[{color:"light",hint:"In\xedcio",icon:"bi bi-file-earmark-play",label:this.dao.getDateTimeFormatted(t.data_inicio)}],o=this.atividadeService.temposAtividade(t);return o=o.filter(n=>"bi bi-file-earmark-plus"!=n.icon&&"bi bi-calendar-check"!=n.icon),e.push(...o),e}dynamicButtons(t){let e=[];return e.push({label:"Detalhes",icon:"bi bi-eye",color:"btn-outline-success",onClick:this.showDetalhes.bind(this)}),e}showDetalhes(t){var e=this;return(0,d.Z)(function*(){let o=yield e.pEEDao.getById(t.entrega.plano_entrega_entrega.id,["entrega","objetivos.objetivo"]);e.go.navigate({route:["gestao","plano-entrega","entrega",t.entrega.plano_entrega_entrega.id,"detalhes"]},{metadata:{plano_entrega:t.entrega.plano_entrega_entrega.plano_entrega,planejamento_id:t.entrega.plano_entrega_entrega.plano_entrega.planejamento_id,cadeia_valor_id:t.entrega.plano_entrega_entrega.plano_entrega.cadeia_valor_id,unidade_id:t.entrega.plano_entrega_entrega.plano_entrega.unidade_id,entrega:o}})})()}addOcorrencia(){var t=this;return(0,d.Z)(function*(){t.go.navigate({route:["gestao","ocorrencia","new"]},{metadata:{consolidacao:t.entity,planoTrabalho:t.planoTrabalho},modalClose:e=>{e&&t.refresh()}})})()}editOcorrencia(t){var e=this;return(0,d.Z)(function*(){e.go.navigate({route:["gestao","ocorrencia",t.id,"edit"]},{modalClose:o=>{o&&e.refresh()}})})()}removeOcorrencia(t){var e=this;return(0,d.Z)(function*(){if(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")){e.submitting=!0;try{let o=t;yield e.ocorrenciaDao?.delete(o),e.itemsOcorrencias.splice(e.itemsOcorrencias.findIndex(n=>n.id==o.id),1)}finally{e.submitting=!1}}})()}ocorrenciaDynamicButtons(t){let e=[];return!this.disabled&&this.auth.hasPermissionTo("MOD_OCOR_EDT")&&e.push(Object.assign({},this.OPTION_ALTERAR,{onClick:this.editOcorrencia.bind(this)})),!this.disabled&&this.auth.hasPermissionTo("MOD_OCOR_EXCL")&&e.push(Object.assign({},this.OPTION_EXCLUIR,{onClick:this.removeOcorrencia.bind(this)})),e}addComparecimento(){var t=this;return(0,d.Z)(function*(){return new ce.V({unidade_id:t.unidade?.id,unidade:t.unidade,plano_trabalho_consolidacao_id:t.entity.id})})()}loadComparecimento(t,e){var o=this;return(0,d.Z)(function*(){o.formComparecimento.patchValue({data_comparecimento:e.data_comparecimento,unidade_id:e.unidade_id,detalhamento:e.detalhamento}),o.cdRef.detectChanges()})()}removeComparecimento(t){var e=this;return(0,d.Z)(function*(){if(!(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")))return!1;try{let n=t;return yield e.comparecimentoDao?.delete(n),e.itemsComparecimentos.splice(e.itemsComparecimentos.findIndex(r=>r.id==n.id),1),!0}catch{return!1}})()}saveComparecimento(t,e){var o=this;return(0,d.Z)(function*(){let n;if(o.formComparecimento.markAllAsTouched(),o.formComparecimento.valid){e.id="NEW"==e.id?o.dao.generateUuid():e.id,e.data_comparecimento=t.controls.data_comparecimento.value,e.detalhamento=t.controls.detalhamento.value,e.plano_trabalho_consolidacao_id=o.entity.id,e.unidade_id=t.controls.unidade_id.value,o.submitting=!0;try{n=yield o.comparecimentoDao?.save(e)}finally{o.submitting=!1}}return n})()}comparecimentoDynamicButtons(t){return[]}addAfastamento(){var t=this;return(0,d.Z)(function*(){t.go.navigate({route:["gestao","afastamento","new"]},{metadata:{consolidacao:t.entity},filterSnapshot:void 0,querySnapshot:void 0,modalClose:e=>{e&&t.refresh()}})})()}afastamentoDynamicButtons(t){let e=[];return e.push(Object.assign({},this.OPTION_INFORMACOES,{onClick:o=>this.go.navigate({route:["gestao","afastamento",o.id,"consult"]})})),e}showPlanejamento(t){var e=this;return(0,d.Z)(function*(){e.go.navigate({route:["gestao","planejamento",t,"consult"]},{modal:!0})})()}showCadeiaValor(t){var e=this;return(0,d.Z)(function*(){e.go.navigate({route:["gestao","cadeia-valor",t,"consult"]},{modal:!0})})()}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-consolidacao-form"]],viewQuery:function(e,o){if(1&e&&(a.Gf(D.Q,5),a.Gf(ve,5),a.Gf(Te,5),a.Gf(Ce,5),a.Gf(Ae,5),a.Gf(ye,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.editableForm=n.first),a.iGM(n=a.CRH())&&(o.gridEntregas=n.first),a.iGM(n=a.CRH())&&(o.gridAtividades=n.first),a.iGM(n=a.CRH())&&(o.etiqueta=n.first),a.iGM(n=a.CRH())&&(o.tipoAtividade=n.first),a.iGM(n=a.CRH())&&(o.listTarefas=n.first)}},inputs:{cdRef:"cdRef",planoTrabalho:"planoTrabalho",noPersist:"noPersist",control:"control",entity:"entity",disabled:"disabled"},features:[a.qOj],decls:47,vars:54,consts:[["collapse","",3,"collapsed","title","icon"],[3,"items","minHeight","hasEdit"],["gridEntregas",""],["type","expand",3,"width","icon","align","hint","template","expandTemplate"],["columnConsolidacao",""],["columnExpandedConsolidacao",""],["title","Origem",3,"template","width"],["columnOrigem",""],["title","Entrega",3,"template"],["columnEntrega",""],["title","% CHD Planejado",3,"template","width","titleHint"],["columnForcaTrabalho",""],[3,"title","template","width"],["columnMetaRealizado",""],["title","Progresso",3,"template","width"],["columnProgresso",""],["type","options",3,"dynamicButtons"],["editable","",3,"items","minHeight","hasEdit","hasDelete","hasAdd","add"],["gridAfastamento",""],["title","In\xedcio","type","datetime","field","data_inicio",3,"width"],["title","Fim","type","datetime","field","data_fim",3,"width"],["title","Motivo/Observa\xe7\xe3o",3,"template"],["columnMotivoObservacao",""],["editable","",3,"items","minHeight","form","hasDelete","hasAdd","hasEdit","add","load","remove","save"],["gridComparecimento",""],["title","Data","type","date","field","data_comparecimento",3,"width"],["title","Unidade",3,"template","editTemplate"],["columnUnidade",""],["editUnidade",""],["title","Detalhamento","type","text","field","detalhamento"],["class","badge rounded-pill bg-light text-dark",4,"ngIf"],[1,"badge","rounded-pill","bg-light","text-dark"],[1,"bi","bi-boxes"],["editable","",3,"items","minHeight","form","hasAdd","hasDelete","hasEdit","add","load","remove","save"],["gridAtividades",""],["type","expand","icon","bi bi-boxes",3,"width","align","hint","template","expandTemplate"],["columnTarefas",""],["columnExpandedTarefas",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save","metadata"],["columnAtividadeDescricao",""],["editAtividadeDescricao",""],[3,"title","width","template","editTemplate"],["columnTempos",""],["editTempos",""],[3,"title","width","template","editTemplate","columnEditTemplate","edit","save","canEdit"],["columnProgressoEtiquetasChecklist",""],["columnProgressoEtiquetasChecklistEdit",""],["columnNumero",""],["type","options",3,"metadata","dynamicOptions","dynamicButtons"],["persist","",3,"atividade","consolidacao"],["listTarefas",""],[1,"text-nowrap","d-block"],["icon","bi bi-hash","color","light",3,"label","data","click"],[1,"micro-text","fw-ligh","atividade-descricao"],["origem","ATIVIDADE",3,"entity"],["label","Descri\xe7\xe3o","controlName","descricao","required","",3,"size","rows","control"],[1,"one-per-line"],[3,"badge",4,"ngFor","ngForOf"],[3,"badge"],["title","In\xedcio e Conclus\xe3o","collapse","",3,"collapsed"],["icon","bi bi-play-circle","label","In\xedcio","controlName","data_inicio","labelInfo","Data de inicializa\xe7\xe3o da atividade",3,"control"],["icon","bi bi-check-circle","label","Conclus\xe3o","controlName","data_entrega","labelInfo","Data da conclus\xe3o da atividade",3,"control"],["color","success",3,"value"],[3,"lookup",4,"ngFor","ngForOf"],["small","","title","Checklist",4,"ngIf"],[4,"ngIf"],[3,"lookup"],["small","","title","Checklist"],[4,"ngFor","ngForOf"],["class","bi bi-check-circle",4,"ngIf"],[1,"micro-text","fw-ligh"],[1,"bi","bi-check-circle"],["label","Progresso","sufix","%","icon","bi bi-clock","controlName","progresso","labelInfo","Progresso de execu\xe7\xe3o (% Conclu\xeddo)",3,"size","decimals","control"],["controlName","etiquetas",3,"size","control","addItemHandle"],["label","Etiqueta","controlName","etiqueta","nullable","","itemNull","- Selecione -","detailsButton","","detailsButtonIcon","bi bi-tools",3,"size","control","items","details"],["etiqueta",""],["scale","small",3,"size","source","path"],[3,"documento"],[1,"d-block"],[3,"data","color","icon","label",4,"ngFor","ngForOf"],["origem","ATIVIDADE",3,"entity","selectable","grid",4,"ngIf"],[3,"data","color","icon","label"],["origem","ATIVIDADE",3,"entity","selectable","grid"],[3,"label","color"],["origem","PLANO_TRABALHO_ENTREGA",3,"entity"],["color","light",3,"label"],["icon","bi bi-graph-up-arrow","color","light","hint","Meta",3,"textValue"],["icon","bi bi-check-lg","color","light","hint","Realizado",3,"textValue"],[3,"color","icon","label"],["color","success",3,"icon","label","textValue"],["label","","icon","","controlName","unidade_id",3,"size","dao"],["unidade",""]],template:function(e,o){if(1&e&&(a.TgZ(0,"separator",0)(1,"grid",1,2)(3,"columns")(4,"column",3),a.YNc(5,Ee,1,1,"ng-template",null,4,a.W1O),a.YNc(7,ke,27,43,"ng-template",null,5,a.W1O),a.qZA(),a.TgZ(9,"column",6),a.YNc(10,We,1,2,"ng-template",null,7,a.W1O),a.qZA(),a.TgZ(12,"column",8),a.YNc(13,je,5,3,"ng-template",null,9,a.W1O),a.qZA(),a.TgZ(15,"column",10),a.YNc(16,Ke,1,1,"ng-template",null,11,a.W1O),a.qZA(),a.TgZ(18,"column",12),a.YNc(19,Xe,3,2,"ng-template",null,13,a.W1O),a.qZA(),a.TgZ(21,"column",14),a.YNc(22,$e,1,1,"ng-template",null,15,a.W1O),a.qZA(),a._UZ(24,"column",16),a.qZA()()(),a.TgZ(25,"separator",0)(26,"grid",17,18)(28,"columns"),a._UZ(29,"column",19)(30,"column",20),a.TgZ(31,"column",21),a.YNc(32,ao,2,4,"ng-template",null,22,a.W1O),a.qZA(),a._UZ(34,"column",16),a.qZA()()(),a.TgZ(35,"separator",0)(36,"grid",23,24)(38,"columns"),a._UZ(39,"column",25),a.TgZ(40,"column",26),a.YNc(41,to,1,3,"ng-template",null,27,a.W1O),a.YNc(43,eo,2,2,"ng-template",null,28,a.W1O),a.qZA(),a._UZ(45,"column",29)(46,"column",16),a.qZA()()()),2&e){const n=a.MAs(6),r=a.MAs(8),m=a.MAs(11),p=a.MAs(14),_=a.MAs(17),c=a.MAs(20),f=a.MAs(23),u=a.MAs(33),A=a.MAs(42),Z=a.MAs(44);a.Q6J("collapsed",!1)("title",o.lex.translate("Atividades"))("icon",o.entityService.getIcon("Atividade")),a.xp6(1),a.Q6J("items",o.itemsEntregas)("minHeight",0)("hasEdit",!1),a.xp6(3),a.Q6J("width",50)("icon",o.entityService.getIcon("PlanoTrabalhoConsolidacao"))("align","center")("hint",o.lex.translate("Consolida\xe7\xe3o"))("template",n)("expandTemplate",r),a.xp6(5),a.Q6J("template",m)("width",200),a.xp6(3),a.Q6J("template",p),a.xp6(3),a.Q6J("template",_)("width",100)("titleHint","% Carga Hor\xe1ria Dispon\xedvel Planejada"),a.xp6(3),a.Q6J("title","Meta")("template",c)("width",100),a.xp6(3),a.Q6J("template",f)("width",150),a.xp6(3),a.Q6J("dynamicButtons",o.dynamicButtons.bind(o)),a.xp6(1),a.Q6J("collapsed",!1)("title",o.lex.translate("Afastamentos"))("icon",o.entityService.getIcon("Afastamento")),a.xp6(1),a.Q6J("items",o.itemsAfastamentos)("minHeight",0)("hasEdit",!1)("hasDelete",!1)("hasAdd",!o.disabled)("add",o.addAfastamento.bind(o)),a.xp6(3),a.Q6J("width",300),a.xp6(1),a.Q6J("width",300),a.xp6(1),a.Q6J("template",u),a.xp6(3),a.Q6J("dynamicButtons",o.afastamentoDynamicButtons.bind(o)),a.xp6(1),a.Q6J("collapsed",!1)("title",o.lex.translate("Comparecimentos"))("icon",o.entityService.getIcon("Comparecimento")),a.xp6(1),a.Q6J("items",o.itemsComparecimentos)("minHeight",0)("form",o.formComparecimento)("hasDelete",!o.disabled)("hasAdd",!o.disabled)("hasEdit",!o.disabled)("add",o.addComparecimento.bind(o))("load",o.loadComparecimento.bind(o))("remove",o.removeComparecimento.bind(o))("save",o.saveComparecimento.bind(o)),a.xp6(3),a.Q6J("width",300),a.xp6(1),a.Q6J("template",A)("editTemplate",Z),a.xp6(6),a.Q6J("dynamicButtons",o.comparecimentoDynamicButtons.bind(o))}},dependencies:[h.sg,h.O5,C.M,P.a,U.b,J.a,y.V,pa.Q,M.k,B.p,_e.p,I.N,E.F,ge.R,he.l,_a.C,fe.y,Aa.h,be.u]})}return i})();function oo(i,l){}function io(i,l){if(1&i&&a._UZ(0,"plano-trabalho-consolidacao-form",16,17),2&i){const t=l.row,e=a.oxw();a.Q6J("disabled",e.isDisabled(t))("entity",t)("planoTrabalho",e.entity)("cdRef",e.cdRef)}}function no(i,l){if(1&i&&a._uU(0),2&i){const t=l.row,e=a.oxw();a.hij(" ",e.util.getDateFormatted(t.data_inicio)," ")}}function lo(i,l){if(1&i&&a._uU(0),2&i){const t=l.row,e=a.oxw();a.hij(" ",e.util.getDateFormatted(t.data_fim)," ")}}function ro(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"avaliar-nota-badge",20),a.NdJ("click",function(){a.CHM(t);const o=a.oxw().row,n=a.oxw();return a.KtG(n.mostrarAvaliacao(o))}),a.qZA()}if(2&i){const t=a.oxw().row,e=a.oxw();a.Q6J("align","left")("tipoAvaliacao",t.avaliacao.tipo_avaliacao||e.entity.programa.tipo_avaliacao_plano_trabalho)("nota",t.avaliacao.nota)}}function so(i,l){if(1&i&&(a.TgZ(0,"separator",21)(1,"small"),a._uU(2),a.qZA()()),2&i){const t=a.oxw().row;a.Q6J("collapsed",!1),a.xp6(2),a.Oqu(t.avaliacao.recurso)}}function co(i,l){if(1&i&&(a.YNc(0,ro,1,3,"avaliar-nota-badge",18),a.YNc(1,so,3,2,"separator",19)),2&i){const t=l.row;a.Q6J("ngIf",t.avaliacao),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}function uo(i,l){1&i&&a._UZ(0,"badge",25)}function mo(i,l){if(1&i&&(a.TgZ(0,"div",22),a._UZ(1,"badge",23),a.YNc(2,uo,1,0,"badge",24),a.qZA()),2&i){const t=l.row,e=a.oxw();a.xp6(1),a.Q6J("color",e.lookup.getColor(e.lookup.CONSOLIDACAO_STATUS,t.status))("icon",e.lookup.getIcon(e.lookup.CONSOLIDACAO_STATUS,t.status))("label",e.lookup.getValue(e.lookup.CONSOLIDACAO_STATUS,t.status)),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}let xa=(()=>{class i extends S.D{set entity(t){super.entity=t}get entity(){return super.entity}get items(){return this.entity?.consolidacoes||[]}constructor(t){super(t),this.injector=t,this.validate=(e,o)=>null,this.dao=t.get(V.E),this.avaliacaoDao=t.get(Ca.w),this.planoTrabalhoService=t.get(Q.p),this.unidadeService=t.get(H.Z),this.planoTrabalhoDao=t.get(w.t),this.title=this.lex.translate("Consolida\xe7\xf5es"),this.code="MOD_PTR_CSLD",this.modalWidth=1200,this.form=this.fh.FormBuilder({data_inicio:{default:new Date},data_fim:{default:new Date}},this.cdRef,this.validate)}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),(0,d.Z)(function*(){if(t.urlParams?.has("usuarioId")&&t.urlParams?.has("planoTrabalhoId")){let o=yield t.planoTrabalhoDao.getByUsuario(t.urlParams.get("usuarioId"),!0,t.urlParams.get("planoTrabalhoId"));1==o.planos.length&&(t.entity=o.planos[0])}let e=(new Date).getTime();t.items.forEach(o=>{o.plano_trabalho||(o.plano_trabalho=t.entity),t.util.asTimestamp(o.data_inicio)<=e&&e<=t.util.asTimestamp(o.data_fim)&&t.grid.expand(o.id)})})()}addConsolidacao(){var t=this;return(0,d.Z)(function*(){return new Ta({id:t.dao.generateUuid(),plano_trabalho_id:t.entity.id})})()}loadConsolidacao(t,e){var o=this;return(0,d.Z)(function*(){o.form.patchValue({data_inicio:e.data_inicio,data_fim:e.data_fim}),o.cdRef.detectChanges()})()}removeConsolidacao(t){var e=this;return(0,d.Z)(function*(){if(!(yield e.dialog.confirm("Exclui ?","Deseja realmente excluir o item ?")))return!1;try{let n=t;return yield e.dao?.delete(n),e.items.splice(e.items.findIndex(r=>r.id==n.id),1),!0}catch{return!1}})()}saveConsolidacao(t,e){var o=this;return(0,d.Z)(function*(){let n;return o.form.markAllAsTouched(),o.form.valid&&(e.id="NEW"==e.id?o.dao.generateUuid():e.id,e.data_inicio=t.controls.data_inicio.value,e.data_fim=t.controls.data_fim.value,n=yield o.dao?.save(e)),n})()}refreshConsolidacao(t,e){e&&t._metadata?.planoTrabalhoConsolidacaoFormComponent?(t._metadata?.planoTrabalhoConsolidacaoFormComponent).loadConsolidacao(e):this.grid.refreshExpanded(t.id),this.grid.refreshRows()}concluir(t){var e=this;return(0,d.Z)(function*(){e.submitting=!0;try{let o=yield e.dao.concluir(t.id);t.status=o.status,e.refreshConsolidacao(t,o)}catch(o){e.error(o.message||o)}finally{e.submitting=!1}})()}cancelarConclusao(t){var e=this;return(0,d.Z)(function*(){e.submitting=!0;try{let o=yield e.dao.cancelarConclusao(t.id);t.status=o.status,e.refreshConsolidacao(t,o)}catch(o){e.error(o.message||o)}finally{e.submitting=!1}})()}anterior(t){return this.entity.consolidacoes.reduce((e,o)=>this.util.asTimestamp(o.data_inicio)this.util.asTimestamp(o.data_fim)>this.util.asTimestamp(t.data_fim)&&(!e||this.util.asTimestamp(e.data_fim)>this.util.asTimestamp(o.data_fim))?o:e,void 0)}isDisabled(t){return t&&"INCLUIDO"!=t.status||"ATIVO"!=this.entity?.status}podeInserir(){return this.auth.hasPermissionTo("MOD_PTR_CSLD_INCL")}dynamicButtons(t){let e=[],o=t;const n=o.plano_trabalho?.usuario_id,r=this.entity.unidade_id,m=o?.avaliacoes.filter(T=>null!=T.recurso).length>0,p=this.auth.usuario.id==n,_={gestor:!1,gestorSubstituto:!1,gestorDelegado:!1},c=this.entity?._metadata.atribuicoesGestorUsuarioLogado||_,f=this.entity?._metadata.atribuicoesGestorUsuario||_,u=this.entity?._metadata.gestorUnidadeSuperior||_,A=!p&&this.auth.hasPermissionTo("MOD_PTR_CSLD_AVAL")&&(this.auth.isIntegrante("AVALIADOR_PLANO_TRABALHO",r)||f.gestor&&(u.gestor||u.gestorSubstituto)||f.gestorSubstituto&&(c.gestor||u.gestor||u.gestorSubstituto)||!f.gestor&&!f.gestorSubstituto&&(c.gestor||c.gestorSubstituto)),Z={hint:"Concluir",icon:"bi bi-check-circle",color:"btn-outline-success",onClick:this.concluir.bind(this)},R={hint:"Cancelar conclus\xe3o",icon:"bi bi-backspace",color:"btn-outline-danger",onClick:this.cancelarConclusao.bind(this)},x={hint:"Avaliar",icon:"bi bi-star",color:"btn-outline-warning",onClick:T=>this.planoTrabalhoService.avaliar(T,this.entity.programa,this.refreshConsolidacao.bind(this))},$={hint:"Reavaliar",icon:"bi bi-star-half",color:"btn-outline-warning",onClick:T=>this.planoTrabalhoService.avaliar(T,this.entity.programa,this.refreshConsolidacao.bind(this))},aa={label:"Recurso",id:"RECORRIDO",icon:"bi bi-journal-medical",color:"btn-outline-warning",onClick:T=>this.planoTrabalhoService.fazerRecurso(T,this.entity.programa,this.refreshConsolidacao.bind(this))},ta={hint:"Cancelar avalia\xe7\xe3o",id:"INCLUIDO",icon:"bi bi-backspace",color:"btn-outline-danger",onClick:T=>this.planoTrabalhoService.cancelarAvaliacao(T,this,this.refreshConsolidacao.bind(this))};return"INCLUIDO"==o.status&&(p||this.auth.hasPermissionTo("MOD_PTR_CSLD_CONCL"))&&e.push(Z),"CONCLUIDO"==o.status&&(p||this.auth.hasPermissionTo("MOD_PTR_CSLD_DES_CONCL"))&&e.push(R),"CONCLUIDO"==o.status&&A&&e.push(x),"AVALIADO"==o.status&&o.avaliacao&&(p&&!m&&this.auth.hasPermissionTo("MOD_PTR_CSLD_REC_AVAL")&&o.avaliacao?.data_avaliacao&&["Inadequado","N\xe3o executado"].includes(o.avaliacao?.nota)&&e.push(aa),A&&(o.avaliacoes.reduce((g,ea)=>ea.data_avaliacao>g.data_avaliacao?ea:g,o.avaliacoes[0]).data_avaliacao>new Date(Date.now()-864e5)&&e.push($),o.avaliacoes.filter(g=>g.recurso).length>0||e.push(ta))),e}mostrarAvaliacao(t){this.planoTrabalhoService.fazerRecurso(t,this.entity.programa,this.refreshConsolidacao.bind(this))}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-consolidacao-list"]],viewQuery:function(e,o){if(1&e&&a.Gf(C.M,5),2&e){let n;a.iGM(n=a.CRH())&&(o.grid=n.first)}},inputs:{entity:"entity"},features:[a.qOj],decls:24,vars:20,consts:[["editable","",3,"items","form","hasDelete","minHeight","add","hasAdd","hasEdit"],["grid",""],[1,"my-2"],[1,"bi","bi-arrow-down"],["type","expand",3,"icon","align","hint","template","expandTemplate"],["columnConsolidacao",""],["columnExpandedConsolidacao",""],["title","Data in\xedcio",3,"template"],["columnDataInicio",""],["title","Data fim",3,"template"],["columnDataFim",""],["title","Estat\xedsticas/Avalia\xe7\xf5es",3,"template","width"],["columnEstatisticas",""],["title","Status",3,"template"],["columnStatus",""],["type","options",3,"dynamicButtons"],[3,"disabled","entity","planoTrabalho","cdRef"],["consolidacao",""],[3,"align","tipoAvaliacao","nota","click",4,"ngIf"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed",4,"ngIf"],[3,"align","tipoAvaliacao","nota","click"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed"],[1,"one-per-line"],[3,"color","icon","label"],["icon","bi bi-journal-medical","color","warning","label","Recorrido",4,"ngIf"],["icon","bi bi-journal-medical","color","warning","label","Recorrido"]],template:function(e,o){if(1&e&&(a.TgZ(0,"grid",0,1)(2,"h5",2),a._uU(3),a._UZ(4,"i",3),a.qZA(),a.TgZ(5,"columns")(6,"column",4),a.YNc(7,oo,0,0,"ng-template",null,5,a.W1O),a.YNc(9,io,2,4,"ng-template",null,6,a.W1O),a.qZA(),a.TgZ(11,"column",7),a.YNc(12,no,1,1,"ng-template",null,8,a.W1O),a.qZA(),a.TgZ(14,"column",9),a.YNc(15,lo,1,1,"ng-template",null,10,a.W1O),a.qZA(),a.TgZ(17,"column",11),a.YNc(18,co,2,2,"ng-template",null,12,a.W1O),a.qZA(),a.TgZ(20,"column",13),a.YNc(21,mo,3,4,"ng-template",null,14,a.W1O),a.qZA(),a._UZ(23,"column",15),a.qZA()()),2&e){const n=a.MAs(8),r=a.MAs(10),m=a.MAs(13),p=a.MAs(16),_=a.MAs(19),c=a.MAs(22);a.Q6J("items",o.items)("form",o.form)("hasDelete",!0)("minHeight",0)("add",o.addConsolidacao.bind(o))("hasAdd",!1)("hasEdit",!1)("hasDelete",!1),a.xp6(3),a.hij("",o.lex.translate("Consolida\xe7\xf5es")," "),a.xp6(3),a.Q6J("icon",o.entityService.getIcon("PlanoTrabalhoConsolidacao"))("align","center")("hint",o.lex.translate("Consolida\xe7\xe3o"))("template",n)("expandTemplate",r),a.xp6(5),a.Q6J("template",m),a.xp6(3),a.Q6J("template",p),a.xp6(3),a.Q6J("template",_)("width",300),a.xp6(3),a.Q6J("template",c),a.xp6(3),a.Q6J("dynamicButtons",o.dynamicButtons.bind(o))}},dependencies:[h.O5,C.M,P.a,U.b,I.N,E.F,X.M,ya]})}return i})();const po=["accordion"];function _o(i,l){1&i&&a._UZ(0,"badge",13),2&i&&a.Q6J("badge",l.$implicit)}function go(i,l){if(1&i&&(a.TgZ(0,"div",1)(1,"div",2),a._uU(2),a.qZA(),a.TgZ(3,"div",3),a._UZ(4,"badge",10)(5,"badge",10)(6,"badge",10)(7,"badge",10),a.qZA(),a.TgZ(8,"div",4),a._uU(9),a.qZA(),a.TgZ(10,"div",5),a.YNc(11,_o,1,1,"badge",11),a.qZA(),a.TgZ(12,"div",5),a._UZ(13,"badge",12),a.qZA()()),2&i){const t=l.item,e=a.oxw();a.xp6(2),a.Oqu("#"+t.numero),a.xp6(2),a.Q6J("icon",e.entityService.getIcon("Usuario"))("label",null==t.usuario?null:t.usuario.nome)("hint",e.lex.translate("Participante")+": "+(null==t.usuario?null:t.usuario.nome)),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",null==t.unidade?null:t.unidade.sigla)("hint",e.lex.translate("Unidade")+": "+(null==t.unidade?null:t.unidade.nome)),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("Programa"))("label",null==t.programa?null:t.programa.nome)("hint",e.lex.translate("Programa")),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("TipoModalidade"))("label",null==t.tipo_modalidade?null:t.tipo_modalidade.nome)("hint",e.lex.translate("Tipo de modalidade")),a.xp6(2),a.hij(" ",e.dao.getDateFormatted(t.data_inicio)+" at\xe9 "+e.dao.getDateFormatted(t.data_fim)," "),a.xp6(2),a.Q6J("ngForOf",e.getPlanoBadges(t)),a.xp6(2),a.Q6J("label",e.lookup.getValue(e.lookup.PLANO_TRABALHO_STATUS,t.status))("icon",e.lookup.getIcon(e.lookup.PLANO_TRABALHO_STATUS,t.status))("color",e.lookup.getColor(e.lookup.PLANO_TRABALHO_STATUS,t.status))}}function ho(i,l){1&i&&a._UZ(0,"plano-trabalho-consolidacao-list",14),2&i&&a.Q6J("entity",l.item)}let fo=(()=>{class i extends S.D{set arquivados(t){this._arquivados!=t&&(this._arquivados=t,this.viewInit&&this.loadData(this.entity,this.form))}get arquivados(){return this._arquivados}constructor(t){super(t),this.injector=t,this.selectedIndex=-1,this.planos=[],this._arquivados=!1,this.dao=t.get(w.t)}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),(0,d.Z)(function*(){yield t.loadData(t.entity,t.form)})()}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.accordion.loading=!0;try{let r=yield o.dao.getByUsuario(o.usuarioId,o.arquivados),m=(new Date).getTime();o.planos=r.planos;for(var n=0;n"CONCLUIDO"==r.status),n=t.consolidacoes.filter(r=>"AVALIADO"==r.status);if(o.length){const r=this.lookup.getLookup(this.lookup.CONSOLIDACAO_STATUS,"CONCLUIDO");e.push({icon:r?.icon,label:r?.value,color:r?.color,textValue:o.length.toString()})}if(n.length){const r=this.lookup.getLookup(this.lookup.CONSOLIDACAO_STATUS,"AVALIADO");e.push({icon:r?.icon,label:r?.value,color:r?.color,textValue:n.length.toString()})}return JSON.stringify(t._metadata?.badges)!=this.JSON.stringify(e)&&(t._metadata=Object.assign(t._metadata||{},{badges:e})),t._metadata.badges}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["plano-trabalho-list-accordeon"]],viewQuery:function(e,o){if(1&e&&a.Gf(po,5),2&e){let n;a.iGM(n=a.CRH())&&(o.accordion=n.first)}},inputs:{usuarioId:"usuarioId",arquivados:"arquivados"},features:[a.qOj],decls:17,vars:8,consts:[[1,"p-3","bg-body-secondary","mb-3"],[1,"row","w-100"],[1,"col-md-1"],[1,"col-md-4"],[1,"col-md-3"],[1,"col-md-2"],[3,"items","selectedIndex","titleTemplate","template"],["accordion",""],["planoTrabalhoSectionTitle",""],["planoTrabalhoSection",""],["color","light",3,"icon","label","hint"],[3,"badge",4,"ngFor","ngForOf"],[3,"label","icon","color"],[3,"badge"],[3,"entity"]],template:function(e,o){if(1&e&&(a.TgZ(0,"div",0)(1,"div",1)(2,"div",2),a._uU(3,"#ID"),a.qZA(),a.TgZ(4,"div",3),a._uU(5),a.qZA(),a.TgZ(6,"div",4),a._uU(7,"Vig\xeancia"),a.qZA(),a._UZ(8,"div",5),a.TgZ(9,"div",5),a._uU(10,"Status"),a.qZA()()(),a.TgZ(11,"accordion",6,7),a.YNc(13,go,14,18,"ng-template",null,8,a.W1O),a.YNc(15,ho,1,1,"ng-template",null,9,a.W1O),a.qZA()),2&e){const n=a.MAs(14),r=a.MAs(16);a.xp6(5),a.HOy("",o.lex.translate("Participante"),"/",o.lex.translate("Unidade"),"/",o.lex.translate("Programa"),"/",o.lex.translate("Tipo de modalidade"),""),a.xp6(6),a.Q6J("items",o.planos)("selectedIndex",o.selectedIndex)("titleTemplate",n)("template",r)}},dependencies:[h.sg,E.F,oe.Z,xa]})}return i})();function bo(i,l){1&i&&(a.TgZ(0,"div",15)(1,"div",16),a._UZ(2,"span",17),a.qZA()())}function vo(i,l){if(1&i&&(a.TgZ(0,"div",21)(1,"div",22),a._UZ(2,"profile-picture",23),a.qZA(),a.TgZ(3,"div",24)(4,"strong"),a._uU(5),a.qZA(),a._UZ(6,"br"),a.TgZ(7,"small"),a._uU(8),a.qZA()()()),2&i){const t=l.data;a.xp6(2),a.Q6J("url",t.url_foto)("size",40)("hint",t.nome),a.xp6(3),a.Oqu(t.nome||""),a.xp6(3),a.Oqu(t.apelido||"")}}function To(i,l){1&i&&a._UZ(0,"plano-trabalho-list-accordeon",25),2&i&&a.Q6J("usuarioId",l.data.id)}function Co(i,l){if(1&i&&(a.TgZ(0,"collapse-card",18),a.YNc(1,vo,9,5,"ng-template",null,19,a.W1O),a.YNc(3,To,1,1,"ng-template",null,20,a.W1O),a.qZA()),2&i){const t=l.$implicit,e=a.MAs(2),o=a.MAs(4);a.Q6J("data",t)("titleTemplate",e)("template",o)}}function Ao(i,l){if(1&i&&(a.TgZ(0,"filter",7)(1,"div",8),a._UZ(2,"input-search",9,10),a.qZA()(),a.TgZ(4,"div",11)(5,"h5"),a._uU(6),a.qZA(),a.TgZ(7,"h4"),a._uU(8),a._UZ(9,"i",12),a.qZA()(),a.YNc(10,bo,3,0,"div",13),a.YNc(11,Co,5,3,"collapse-card",14)),2&i){const t=a.MAs(3),e=a.oxw(2);a.Q6J("form",e.filter)("filter",e.filterWhere)("collapsed",!1),a.xp6(2),a.Q6J("size",12)("control",e.filter.controls.unidade_id)("dao",e.unidadeDao),a.xp6(4),a.lnq("",e.lex.translate("Unidade")," selecionada: ",null==t||null==t.selectedItem?null:t.selectedItem.entity.sigla," - ",null==t||null==t.selectedItem?null:t.selectedItem.entity.nome,""),a.xp6(2),a.hij("",e.lex.translate("Participantes")," "),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngForOf",e.usuarios)}}function yo(i,l){if(1&i&&(a.TgZ(0,"tab",5),a.YNc(1,Ao,12,12,"ng-template",null,6,a.W1O),a.qZA()),2&i){const t=a.MAs(2),e=a.oxw();a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",e.lex.translate("Unidade"))("template",t)}}function xo(i,l){if(1&i&&(a.TgZ(0,"div",26)(1,"h5",27),a._uU(2),a._UZ(3,"i",12),a.qZA(),a._UZ(4,"separator",28),a.qZA(),a._UZ(5,"plano-trabalho-list-accordeon",29)),2&i){const t=a.oxw();a.xp6(2),a.hij("",t.lex.translate("Planos de Trabalho")," "),a.xp6(2),a.Q6J("control",t.form.controls.arquivados)("title","Mostrar "+t.lex.translate("Planos de trabalho")+" arquivados?"),a.xp6(1),a.Q6J("usuarioId",t.auth.usuario.id)("arquivados",t.form.controls.arquivados.value)}}let Eo=(()=>{class i extends S.D{constructor(t){super(t),this.injector=t,this.usuarios=[],this.loadingUnidade=!1,this.filterWhere=e=>{this.loadUsuarios(e.value.unidade_id)},this.unidadeDao=t.get(N.J),this.form=this.fh.FormBuilder({arquivados:{default:!1}}),this.filter=this.fh.FormBuilder({unidade_id:{default:!1}})}ngAfterViewInit(){var t=this;super.ngAfterViewInit(),this.tabs.active=this.queryParams?.tab||"USUARIO",this.tabs.title=this.lex.translate("Consolida\xe7\xf5es"),(0,d.Z)(function*(){yield t.loadData(t.entity,t.form)})()}loadData(t,e){var o=this;return(0,d.Z)(function*(){o.unidade=o.auth.unidadeGestor(),o.filter.controls.unidade_id.setValue(o.unidade?.id||o.auth.lotacao||null),o.unidade&&(yield o.loadUsuarios(o.unidade.id))})()}loadUsuarios(t){var e=this;return(0,d.Z)(function*(){e.usuarios=[],e.loadingUnidade=!0,e.loading=!0,e.cdRef.detectChanges();try{e.usuarios=yield e.unidadeDao.lotados(t)}finally{e.loading=!1,e.loadingUnidade=!1,e.cdRef.detectChanges()}})()}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-plano-trabalho-consolidacao"]],viewQuery:function(e,o){if(1&e&&(a.Gf(F.n,5),a.Gf(y.V,5)),2&e){let n;a.iGM(n=a.CRH())&&(o.tabs=n.first),a.iGM(n=a.CRH())&&(o.unidadeSelecionada=n.first)}},features:[a.qOj],decls:6,vars:5,consts:[["right","",3,"title"],["tabs",""],["key","UNIDADE",3,"icon","label","template",4,"ngIf"],["key","USUARIO",3,"icon","label","template"],["tabUsuario",""],["key","UNIDADE",3,"icon","label","template"],["tabUnidade",""],[3,"form","filter","collapsed"],[1,"row"],["label","Selecione a unidade","controlName","unidade_id",3,"size","control","dao"],["unidadeSelecionada",""],[1,"p-3","mb-3","bg-body-secondary"],[1,"bi","bi-arrow-down"],["class","d-flex justify-content-center my-2",4,"ngIf"],[3,"data","titleTemplate","template",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[3,"data","titleTemplate","template"],["usuarioCardTitle",""],["usuarioCard",""],[1,"d-flex"],[1,"ms-3"],[3,"url","size","hint"],[1,"flex-fill","ms-3"],[3,"usuarioId"],[1,"d-flex","justify-content-between"],[1,"mt-2"],[3,"control","title"],[3,"usuarioId","arquivados"]],template:function(e,o){if(1&e&&(a.TgZ(0,"tabs",0,1),a.YNc(2,yo,3,3,"tab",2),a.TgZ(3,"tab",3),a.YNc(4,xo,6,5,"ng-template",null,4,a.W1O),a.qZA()()),2&e){const n=a.MAs(5);a.Q6J("title",o.isModal?"":o.title),a.xp6(2),a.Q6J("ngIf",o.unidade),a.xp6(1),a.Q6J("icon",o.entityService.getIcon("Usuario"))("label",o.lex.translate("Usu\xe1rio"))("template",n)}},dependencies:[h.sg,h.O5,K.z,y.V,F.n,Y.i,I.N,ba.q,ee,fo]})}return i})();var Ea=s(38),Zo=s(929);function Do(i,l){if(1&i&&(a.TgZ(0,"div",12)(1,"div",13)(2,"strong"),a._uU(3),a.qZA(),a._UZ(4,"br"),a.TgZ(5,"small"),a._uU(6),a.qZA()()()),2&i){const t=l.row;a.xp6(3),a.Oqu(t.avaliador.nome||""),a.xp6(3),a.Oqu(t.avaliador.apelido||"")}}function Oo(i,l){if(1&i&&a._UZ(0,"badge",17),2&i){const t=l.$implicit,e=a.oxw(3);a.Q6J("icon",e.entityService.getIcon("TipoJustificativa"))("label",t.value)}}function Io(i,l){if(1&i&&(a._UZ(0,"avaliar-nota-badge",14)(1,"br"),a.TgZ(2,"small"),a._uU(3),a.qZA(),a.TgZ(4,"div",15),a.YNc(5,Oo,1,2,"badge",16),a.qZA()),2&i){const t=l.row;a.Q6J("align","left")("tipoAvaliacao",t.tipo_avaliacao)("nota",t.nota),a.xp6(3),a.Oqu(t.justificativa||""),a.xp6(2),a.Q6J("ngForOf",t.justificativas)}}function Po(i,l){if(1&i&&(a.TgZ(0,"small"),a._uU(1),a.qZA()),2&i){const t=l.row;a.xp6(1),a.Oqu(t.recurso||"")}}function Uo(i,l){1&i&&a._UZ(0,"badge",19)}function wo(i,l){if(1&i&&(a.TgZ(0,"div",15),a.YNc(1,Uo,1,0,"badge",18),a.qZA()),2&i){const t=l.row;a.xp6(1),a.Q6J("ngIf",null==t.recurso?null:t.recurso.length)}}function No(i,l){if(1&i&&(a.ynx(0),a.TgZ(1,"grid",1,2)(3,"columns"),a._UZ(4,"column",3),a.TgZ(5,"column",4),a.YNc(6,Do,7,2,"ng-template",null,5,a.W1O),a.qZA(),a.TgZ(8,"column",6),a.YNc(9,Io,6,5,"ng-template",null,7,a.W1O),a.qZA(),a.TgZ(11,"column",8),a.YNc(12,Po,2,1,"ng-template",null,9,a.W1O),a.qZA(),a.TgZ(14,"column",10),a.YNc(15,wo,2,1,"ng-template",null,11,a.W1O),a.qZA()()(),a.BQk()),2&i){const t=a.MAs(7),e=a.MAs(10),o=a.MAs(13),n=a.MAs(16),r=a.oxw();a.xp6(1),a.Q6J("items",r.consolidacao.avaliacoes)("minHeight",0),a.xp6(4),a.Q6J("template",t),a.xp6(3),a.Q6J("title","Nota\nJustificativas")("template",e),a.xp6(3),a.Q6J("template",o),a.xp6(3),a.Q6J("template",n)}}let Jo=(()=>{class i extends Zo._{constructor(t){super(t),this.injector=t,this.joinConsolidacao=["avaliacoes.tipo_avaliacao","avaliacoes.avaliador"],this.consolidacaoDao=t.get(V.E)}ngOnInit(){super.ngOnInit(),this.buscaConsolidacao()}buscaConsolidacao(){var t=this;return(0,d.Z)(function*(){t.consolidacao=yield t.consolidacaoDao.getById(t.urlParams.get("consolidacaoId"),t.joinConsolidacao)})()}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["visualizar-avaliacao"]],features:[a.qOj],decls:1,vars:1,consts:[[4,"ngIf"],[3,"items","minHeight"],["gridEntregas",""],["title","Data","type","datetime","field","data_avaliacao"],["title","Avaliador",3,"template"],["columnAvaliador",""],[3,"title","template"],["columnNotaJustificativa",""],["title","Recurso",3,"template"],["columnRecurso",""],["title","Status",3,"template"],["columnStatus",""],[1,"avaliador"],[1,"avaliador-nome"],[3,"align","tipoAvaliacao","nota"],[1,"one-per-line"],[3,"icon","label",4,"ngFor","ngForOf"],[3,"icon","label"],["icon","bi bi-journal-medical","color","warning","label","Recorrido",4,"ngIf"],["icon","bi bi-journal-medical","color","warning","label","Recorrido"]],template:function(e,o){1&e&&a.YNc(0,No,17,7,"ng-container",0),2&e&&a.Q6J("ngIf",o.consolidacao)},dependencies:[h.sg,h.O5,C.M,P.a,U.b,E.F,X.M]})}return i})();var Qo=s(8509),So=s(1313),Za=s(5512),Da=s(2704);function Ro(i,l){if(1&i&&(a.TgZ(0,"div",31)(1,"div",32),a._UZ(2,"profile-picture",33),a.qZA(),a.TgZ(3,"div",34)(4,"strong"),a._uU(5),a.qZA(),a._UZ(6,"br")(7,"badge",35),a.qZA()()),2&i){const t=l.separator,e=a.oxw(2);let o,n,r,m;a.xp6(2),a.Q6J("url",null==(o=e.usuarioSeparator(t))?null:o.url_foto)("size",40)("hint",null==(n=e.usuarioSeparator(t))?null:n.nome),a.xp6(3),a.Oqu((null==(r=e.usuarioSeparator(t))?null:r.nome)||"Desconhecido"),a.xp6(2),a.Q6J("icon",e.entityService.getIcon("Unidade"))("label",(null==(m=e.unidadeSeparator(t))?null:m.sigla)||"Desconhecido")}}function Mo(i,l){1&i&&a._UZ(0,"toolbar")}function qo(i,l){}function Fo(i,l){if(1&i&&a._UZ(0,"plano-trabalho-consolidacao-form",36,37),2&i){const t=l.row,e=a.oxw(2);a.Q6J("disabled",!0)("entity",t)("planoTrabalho",t.plano_trabalho)("cdRef",e.cdRef)}}function Vo(i,l){if(1&i&&(a._uU(0),a._UZ(1,"badge",38)(2,"badge",39)(3,"badge",40)),2&i){const t=l.row,e=a.oxw(2);a.hij(" #",null==t.plano_trabalho?null:t.plano_trabalho.numero," "),a.xp6(1),a.Q6J("textValue",e.util.getDateFormatted(null==t.plano_trabalho?null:t.plano_trabalho.data_inicio)),a.xp6(1),a.Q6J("textValue",e.util.getDateFormatted(null==t.plano_trabalho?null:t.plano_trabalho.data_fim)),a.xp6(1),a.Q6J("icon",e.entityService.getIcon("TipoModalidade"))("label",null==t.plano_trabalho||null==t.plano_trabalho.tipo_modalidade?null:t.plano_trabalho.tipo_modalidade.nome)("hint",e.lex.translate("Tipo de modalidade"))}}function Lo(i,l){if(1&i&&a._uU(0),2&i){const t=l.row,e=a.oxw(2);a.hij(" ",e.util.getDateFormatted(t.data_inicio)," ")}}function Go(i,l){if(1&i&&(a.TgZ(0,"strong"),a._uU(1),a.qZA()),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Oqu(e.util.getDateFormatted(t.data_fim))}}function zo(i,l){if(1&i&&a._UZ(0,"avaliar-nota-badge",43),2&i){const t=a.oxw().row;a.Q6J("align","left")("tipoAvaliacao",t.avaliacao.tipo_avaliacao)("nota",t.avaliacao.nota)}}function Yo(i,l){if(1&i&&(a.TgZ(0,"separator",44)(1,"small"),a._uU(2),a.qZA()()),2&i){const t=a.oxw().row;a.Q6J("collapsed",!1),a.xp6(2),a.Oqu(t.avaliacao.recurso)}}function Ho(i,l){if(1&i&&(a.YNc(0,zo,1,3,"avaliar-nota-badge",41),a.YNc(1,Yo,3,2,"separator",42)),2&i){const t=l.row;a.Q6J("ngIf",t.avaliacao),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}function Bo(i,l){1&i&&a._UZ(0,"badge",48)}function ko(i,l){if(1&i&&(a.TgZ(0,"div",45),a._UZ(1,"badge",46),a.YNc(2,Bo,1,0,"badge",47),a.qZA()),2&i){const t=l.row,e=a.oxw(2);a.xp6(1),a.Q6J("color",e.lookup.getColor(e.lookup.CONSOLIDACAO_STATUS,t.status))("icon",e.lookup.getIcon(e.lookup.CONSOLIDACAO_STATUS,t.status))("label",e.lookup.getValue(e.lookup.CONSOLIDACAO_STATUS,t.status)),a.xp6(1),a.Q6J("ngIf",null==t.avaliacao||null==t.avaliacao.recurso?null:t.avaliacao.recurso.length)}}function Wo(i,l){if(1&i){const t=a.EpF();a.TgZ(0,"grid",3),a.YNc(1,Ro,8,6,"ng-template",null,4,a.W1O),a.YNc(3,Mo,1,0,"toolbar",5),a.TgZ(4,"filter",6)(5,"div",7),a._UZ(6,"input-search",8,9),a.TgZ(8,"input-search",10,11),a.NdJ("change",function(o){a.CHM(t);const n=a.oxw();return a.KtG(n.onUnidadeChange(o))}),a.qZA(),a._UZ(10,"input-switch",12,13)(12,"input-switch",14,15),a.qZA()(),a.TgZ(14,"columns")(15,"column",16),a.YNc(16,qo,0,0,"ng-template",null,17,a.W1O),a.YNc(18,Fo,2,4,"ng-template",null,18,a.W1O),a.qZA(),a.TgZ(20,"column",19),a.YNc(21,Vo,4,6,"ng-template",null,20,a.W1O),a.qZA(),a.TgZ(23,"column",21),a.YNc(24,Lo,1,1,"ng-template",null,22,a.W1O),a.qZA(),a.TgZ(26,"column",23),a.YNc(27,Go,2,1,"ng-template",null,24,a.W1O),a.qZA(),a.TgZ(29,"column",25),a.YNc(30,Ho,2,2,"ng-template",null,26,a.W1O),a.qZA(),a.TgZ(32,"column",27),a.YNc(33,ko,3,4,"ng-template",null,28,a.W1O),a.qZA(),a._UZ(35,"column",29),a.qZA(),a._UZ(36,"pagination",30),a.qZA()}if(2&i){const t=a.MAs(2),e=a.MAs(17),o=a.MAs(19),n=a.MAs(22),r=a.MAs(25),m=a.MAs(28),p=a.MAs(31),_=a.MAs(34),c=a.oxw();a.Q6J("dao",c.dao)("orderBy",c.orderBy)("groupBy",c.groupBy)("join",c.join)("init",c.initGrid.bind(c))("hasAdd",!1)("hasEdit",!1)("loadList",c.onGridLoad.bind(c))("groupTemplate",t),a.xp6(3),a.Q6J("ngIf",!c.selectable),a.xp6(1),a.Q6J("form",c.filter)("where",c.filterWhere)("submit",c.filterSubmit.bind(c))("collapseChange",c.filterCollapseChange.bind(c))("collapsed",c.filterCollapsed)("deleted",c.auth.hasPermissionTo("MOD_AUDIT_DEL")),a.xp6(2),a.Q6J("size",5)("control",c.filter.controls.usuario_id)("dao",c.usuarioDao),a.xp6(2),a.Q6J("size",5)("control",c.filter.controls.unidade_id)("dao",c.unidadeDao),a.xp6(2),a.Q6J("size",1)("disabled",c.canFilterSubordinadas)("control",c.filter.controls.unidades_subordinadas),a.xp6(2),a.Q6J("size",1)("control",c.filter.controls.incluir_arquivados),a.xp6(3),a.Q6J("icon",c.entityService.getIcon("PlanoTrabalhoConsolidacao"))("align","center")("hint",c.lex.translate("Consolida\xe7\xe3o"))("template",e)("expandTemplate",o),a.xp6(5),a.Q6J("title","Plano de trabalho/Vig\xeancia/Modalidade")("template",n),a.xp6(3),a.Q6J("template",r),a.xp6(3),a.Q6J("template",m),a.xp6(3),a.Q6J("title","Estat\xedsticas\nAvalia\xe7\xf5es")("template",p)("width",300),a.xp6(3),a.Q6J("template",_),a.xp6(3),a.Q6J("dynamicButtons",c.dynamicButtons.bind(c)),a.xp6(1),a.Q6J("rows",c.rowsLimit)}}const Ko=[{path:"",component:fa.H,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Planos de Trabalho"}},{path:"new",component:j,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Inclus\xe3o de Plano de Trabalho",modal:!0}},{path:"termo",component:Ma,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Termo de ades\xe3o",modal:!0}},{path:"consolidacao/avaliacao",component:(()=>{class i extends Qo.E{constructor(t){super(t,Ta,V.E),this.injector=t,this.avaliacoes=[],this.planos_trabalhos=[],this.programas=[],this.avaliacao=new So.g,this.consolidacaoId=[],this.joinAvaliacao=["avaliador","entregas_checklist","tipo_avaliacao.notas"],this.filterWhere=e=>{let o=[],n=e.value;return o.push(["status","in",["CONCLUIDO","AVALIADO"]]),n.usuario_id?.length&&o.push(["plano_trabalho.usuario.id","==",n.usuario_id]),n.unidade_id?.length&&o.push(["plano_trabalho.unidade.id","==",n.unidade_id]),n.unidades_subordinadas&&o.push(["unidades_subordinadas","==",!0]),n.incluir_arquivados&&o.push(["incluir_arquivados","==",!0]),o},this.filterWhereHistorico=e=>{let o=[],n=e.value;return o.push(["status","in",["AVALIADO"]]),n.usuario_id?.length&&o.push(["plano_trabalho.usuario.id","==",n.usuario_id]),n.unidade_id?.length&&o.push(["plano_trabalho.unidade.id","==",n.unidade_id]),n.unidades_subordinadas&&o.push(["unidades_subordinadas","==",!0]),n.incluir_arquivados&&o.push(["incluir_arquivados","==",!0]),o},this.unidadeService=t.get(H.Z),this.join=["avaliacoes:id,recurso","avaliacao","plano_trabalho:id"],this.extraJoin=["avaliacao.tipoAvaliacao.notas","planoTrabalho.unidade:id,sigla,nome","planoTrabalho.unidade.gestor:id,unidade_id,usuario_id","planoTrabalho.unidade.unidadePai.gestoresSubstitutos:id,unidade_id,usuario_id","planoTrabalho.unidade.unidadePai.gestor:id,unidade_id,usuario_id","planoTrabalho.unidade.gestoresSubstitutos:id,unidade_id,usuario_id","planoTrabalho.tipoModalidade:id,nome","planoTrabalho.usuario:id,nome,apelido,foto_perfil,url_foto"],this.groupBy=[{field:"plano_trabalho.unidade.sigla",label:this.lex.translate("Unidade")},{field:"plano_trabalho.unidade.id",label:"Unidade Id"},{field:"plano_trabalho.usuario.nome",label:this.lex.translate("Participante")},{field:"plano_trabalho.usuario.id",label:"Usu\xe1rio Id"}],this.usuarioDao=t.get(G.q),this.unidadeDao=t.get(N.J),this.avaliacaoDao=t.get(Ca.w),this.planoTrabalhoService=t.get(Q.p),this.title="Avalia\xe7\xf5es "+this.lex.translate("das Consolida\xe7\xf5es"),this.code="MOD_PTR_CSLD_AVAL",this.filter=this.fh.FormBuilder({usuario_id:{default:""},unidade_id:{default:""},unidades_subordinadas:{default:!1},incluir_arquivados:{default:!1}}),this.rowsLimit=10,this.addOption(this.OPTION_INFORMACOES),this.addOption(this.OPTION_LOGS,"MOD_AUDIT_LOG")}ngOnInit(){super.ngOnInit(),this.filter.controls.unidade_id.setValue(this.auth.unidadeGestor()?.id||this.auth.lotacao||null)}get canFilterSubordinadas(){return this.unidadeService.isGestorUnidade(this.filter.controls.unidade_id.value)?void 0:"true"}usuarioSeparator(t){let e=t.group[3].value;return t.metadata=t.metadata||{},t.metadata.usuario=t.metadata.usuario||this.planos_trabalhos?.find(o=>o.usuario_id==e)?.usuario,t.metadata.usuario}unidadeSeparator(t){let e=t.group[1].value;return t.metadata=t.metadata||{},t.metadata.unidade=t.metadata.unidade||this.planos_trabalhos?.find(o=>o.unidade_id==e)?.unidade,t.metadata.unidade}onUnidadeChange(t){this.unidadeService.isGestorUnidade(this.filter.controls.unidade_id.value)||this.filter.controls.unidades_subordinadas.setValue(!1)}onGridLoad(t){this.extra=(this.grid?.query||this.query).extra,this.extra&&(this.planos_trabalhos=(this.planos_trabalhos||[]).concat(this.extra?.planos_trabalhos||[]),this.programas=(this.programas||[]).concat(this.extra?.programas||[]),this.planos_trabalhos.forEach(e=>{let o=e;o.programa=this.programas?.find(n=>n.id==o.programa_id)}),t?.forEach(e=>{let o=e;o.plano_trabalho=this.planos_trabalhos?.find(n=>n.id==o.plano_trabalho_id),o.avaliacao&&(o.avaliacao.tipo_avaliacao=this.extra?.tipos_avaliacoes?.find(n=>n.id==o.avaliacao.tipo_avaliacao_id))}))}refreshConsolidacao(t){var e=this;(0,d.Z)(function*(){yield e.grid.query.refreshId(t.id,e.extraJoin),e.grid.refreshRows()})()}dynamicButtons(t){let e=[],o=t,n=o.plano_trabalho.programa,r=!1;const m=o.plano_trabalho.usuario_id,p=o.plano_trabalho.unidade_id,_=o.plano_trabalho.unidade,c=m==this.auth.usuario?.id,f=_?.gestor?.usuario_id==m,u=_?.gestores_substitutos.map(g=>g.usuario_id).includes(m),A=_?.gestores_delegados.map(g=>g.usuario_id).includes(m),Z=!f&&!u&&!A,R=this.auth.hasPermissionTo("MOD_PTR_CSLD_AVAL"),x=!!o.plano_trabalho.unidade&&this.unidadeService.isGestorUnidadeSuperior(o.plano_trabalho.unidade);f?r=x:u?r=x||this.unidadeService.isGestorTitularUnidade(p):A?r=x||this.unidadeService.isGestorUnidade(p,!1):Z&&(r=x||this.unidadeService.isGestorUnidade(p));const $={hint:"Visualizar",icon:"bi bi-eye",color:"btn-outline-primary",onClick:g=>this.planoTrabalhoService.visualizarAvaliacao(g)},ta={hint:"Reavaliar",icon:"bi bi-star-half",color:"btn-outline-warning",onClick:g=>this.planoTrabalhoService.avaliar(g,n,this.refreshConsolidacao.bind(this))},T={label:"Recurso",id:"RECORRIDO",icon:"bi bi-journal-medical",color:"btn-outline-warning",onClick:g=>this.planoTrabalhoService.fazerRecurso(g,n,this.refreshConsolidacao.bind(this))},Oa={hint:"Cancelar avalia\xe7\xe3o",id:"INCLUIDO",icon:"bi bi-backspace",color:"btn-outline-danger",onClick:g=>this.planoTrabalhoService.cancelarAvaliacao(g,this,this.refreshConsolidacao.bind(this))};return"CONCLUIDO"==o.status&&!c&&r&&R&&e.push({hint:"Avaliar",icon:"bi bi-star",color:"btn-outline-info",onClick:g=>this.planoTrabalhoService.avaliar(g,n,this.refreshConsolidacao.bind(this))}),"AVALIADO"==o.status&&o.avaliacao&&(e.push($),c&&this.auth.hasPermissionTo("MOD_PTR_CSLD_REC_AVAL")&&o.avaliacao?.data_avaliacao&&["Inadequado","N\xe3o executado"].includes(o.avaliacao?.nota)&&e.push(T),r&&(o.avaliacoes.reduce((L,Ia)=>Ia.data_avaliacao>L.data_avaliacao?Ia:L,o.avaliacoes[0]).data_avaliacao>new Date(Date.now()-864e5)&&e.push(ta),o.avaliacoes.filter(L=>L.recurso).length>0||e.push(Oa))),e}onSelectTab(t){var e=this;return(0,d.Z)(function*(){e.viewInit&&e.saveUsuarioConfig({active_tab:t.key})})()}initGrid(t){t.queryInit()}getAvaliacoes(t){return this.avaliacoes.filter(e=>e.plano_trabalho_consolidacao_id==t.id)}loadData(){var t=this;return(0,d.Z)(function*(){t.loading=!0;try{t.avaliacoes=yield t.avaliacaoDao.query({where:[["plano_trabalho_consolidacao_id","in",t.consolidacaoId]],join:t.joinAvaliacao,orderBy:[["data_avaliacao","desc"]]}).asPromise(),t.avaliacao=t.avaliacoes[0]||t.avaliacao}finally{t.loading=!1}})()}onGridLoadHistorico(t){this.extra=(this.grid?.query||this.query).extra,(this.extra?.planos_trabalhos||[]).forEach(o=>{let n=o;n.programa=this.extra?.programas?.find(r=>r.id==n.programa_id)}),t?.forEach(o=>{this.consolidacaoId?.push(o.id);let n=o;n.plano_trabalho=this.extra?.planos_trabalhos?.find(r=>r.id==n.plano_trabalho_id),n.avaliacao&&(n.avaliacao.tipo_avaliacao=this.extra?.tipos_avaliacoes?.find(r=>r.id==n.avaliacao.tipo_avaliacao_id))}),this.loadData()}getNota(t){return t.tipo_avaliacao.notas.find(e=>e.codigo==t.nota)}static#a=this.\u0275fac=function(e){return new(e||i)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:i,selectors:[["app-plano-trabalho-consolidacao-avaliacao"]],viewQuery:function(e,o){if(1&e&&a.Gf(C.M,5),2&e){let n;a.iGM(n=a.CRH())&&(o.grid=n.first)}},features:[a.qOj],decls:4,vars:4,consts:[["right","",3,"title","select"],["key","CONSOLIDACOES","icon","bi bi-clipboard-check",3,"label","template"],["consolidacoes",""],[3,"dao","orderBy","groupBy","join","init","hasAdd","hasEdit","loadList","groupTemplate"],["groupUnidadeUsuario",""],[4,"ngIf"],[3,"form","where","submit","collapseChange","collapsed","deleted"],[1,"row"],["controlName","usuario_id",3,"size","control","dao"],["usuario",""],["controlName","unidade_id",3,"size","control","dao","change"],["unidade",""],["label","Sub.","controlName","unidades_subordinadas","labelInfo","Incluir as unidades subordinadas",3,"size","disabled","control"],["subordinadas",""],["label","Arq.","controlName","incluir_arquivados","labelInfo","Incluir os planos de trabalhos arquivados",3,"size","control"],["arquivadas",""],["type","expand",3,"icon","align","hint","template","expandTemplate"],["columnConsolidacao",""],["columnExpandedConsolidacao",""],[3,"title","template"],["columnPlanoTrabalho",""],["title","Data in\xedcio",3,"template"],["columnDataInicio",""],["title","Data fim",3,"template"],["columnDataFim",""],[3,"title","template","width"],["columnEstatisticas",""],["title","Status",3,"template"],["columnStatus",""],["type","options",3,"dynamicButtons"],[3,"rows"],[1,"d-flex"],[1,"ms-3"],[3,"url","size","hint"],[1,"flex-fill","ms-3"],["color","primary",3,"icon","label"],[3,"disabled","entity","planoTrabalho","cdRef"],["consolidacao",""],["label","In\xedcio","color","light","icon","bi bi-calendar2",3,"textValue"],["label","T\xe9rmino","color","light","icon","bi bi-calendar2-check",3,"textValue"],["color","light",3,"icon","label","hint"],[3,"align","tipoAvaliacao","nota",4,"ngIf"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed",4,"ngIf"],[3,"align","tipoAvaliacao","nota"],["title","Recurso da avalia\xe7\xe3o","collapse","",3,"collapsed"],[1,"one-per-line"],[3,"color","icon","label"],["icon","bi bi-journal-medical","color","warning","label","Recorrido",4,"ngIf"],["icon","bi bi-journal-medical","color","warning","label","Recorrido"]],template:function(e,o){if(1&e&&(a.TgZ(0,"tabs",0)(1,"tab",1),a.YNc(2,Wo,37,42,"ng-template",null,2,a.W1O),a.qZA()()),2&e){const n=a.MAs(3);a.Q6J("title",o.isModal?"":o.title)("select",o.onSelectTab.bind(o)),a.xp6(1),a.Q6J("label",o.lex.translate("Consolida\xe7\xf5es"))("template",n)}},dependencies:[h.O5,C.M,P.a,U.b,K.z,Za.n,Da.Q,J.a,y.V,F.n,Y.i,I.N,E.F,ba.q,X.M,ya]})}return i})(),canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Avalia\xe7\xe3o das Consolida\xe7\xf5es do Plano de Trabalho"}},{path:"consolidacao/:consolidacaoId/avaliar",component:Ea.w,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Avaliar Consolida\xe7\xe3o do Plano de Trabalho"}},{path:"consolidacao/:consolidacaoId/recurso",component:Ea.w,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Recurso da Avalia\xe7\xe3o da Consolida\xe7\xe3o do Plano de Trabalho"}},{path:"consolidacao/:consolidacaoId/verAvaliacoes",component:Jo,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Visualizar avalia\xe7\xf5es da Consolida\xe7\xe3o do Plano de Trabalho"}},{path:"consolidacao/:usuarioId/:planoTrabalhoId",component:xa,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Consolida\xe7\xf5es do Plano de Trabalho"}},{path:"consolidacao",component:Eo,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Consolida\xe7\xf5es"}},{path:":id/edit",component:j,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Edi\xe7\xe3o de Plano de Trabalho",modal:!0}},{path:":id/consult",component:j,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Plano de Trabalho",modal:!0}},{path:"entrega-list",component:W,canActivate:[b.a],resolve:{config:v.o},runGuardsAndResolvers:"always",data:{title:"Lista de Entregas do Plano de Trabalho",modal:!0}}];let Xo=(()=>{class i{static#a=this.\u0275fac=function(e){return new(e||i)};static#t=this.\u0275mod=a.oAB({type:i});static#e=this.\u0275inj=a.cJS({imports:[ia.Bz.forChild(Ko),ia.Bz]})}return i})();var $o=s(2662),ai=s(2133),ti=s(2864),ei=s(9013),oi=s(8252),ii=s(1915);let ni=(()=>{class i{static#a=this.\u0275fac=function(e){return new(e||i)};static#t=this.\u0275mod=a.oAB({type:i});static#e=this.\u0275inj=a.cJS({imports:[h.ez,$o.K,ai.UX,Xo,ti.UteisModule,ei.AtividadeModule]})}return i})();a.B6R(fa.H,[h.O5,C.M,P.a,U.b,K.z,Za.n,Da.Q,J.a,y.V,z.m,M.k,B.p,oi.Y,ii.l,E.F,Aa.h,W],[])}}]); \ No newline at end of file diff --git a/back-end/public/997.js b/back-end/public/997.js index a39fc7539..106515c82 100644 --- a/back-end/public/997.js +++ b/back-end/public/997.js @@ -1,3 +1 @@ - -"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[997],{1095:(z,L,d)=>{d.d(L,{w:()=>A});var U=d(6976),S=d(755);let A=(()=>{class b extends U.B{constructor(g){super("Avaliacao",g),this.injector=g,this.inputSearchConfig.searchFields=[]}cancelarAvaliacao(g){return new Promise((T,E)=>{this.server.post("api/"+this.collection+"/cancelar-avaliacao",{id:g}).subscribe(O=>{O?.error?E(O?.error):T(!0)},O=>E(O))})}recorrer(g,T){return new Promise((E,O)=>{this.server.post("api/"+this.collection+"/recorrer",{id:g.id,recurso:T}).subscribe(v=>{v?.error?O(v?.error):(g.recurso=T,E(!0))},v=>O(v))})}static#t=this.\u0275fac=function(T){return new(T||b)(S.LFG(S.zs3))};static#e=this.\u0275prov=S.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},9997:(z,L,d)=>{d.d(L,{H:()=>Ot});var U=d(3150),S=d(5026),A=d(7744),b=d(2214),x=d(6075),g=d(1214),T=d(5255),E=d(762),O=d(8509),v=d(684),J=d(2702),P=d(9193),X=d(609),t=d(755);function s(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"input-switch",47),t.NdJ("change",function(i){t.CHM(e);const l=t.oxw(2);return t.KtG(l.onLotadosMinhaUnidadeChange(i))}),t.qZA()}if(2&o){const e=t.oxw(2);t.Q6J("size",4)("control",e.filter.controls.lotados_minha_unidade)}}function r(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"toolbar"),t.YNc(1,s,1,2,"input-switch",45),t.TgZ(2,"input-switch",46),t.NdJ("change",function(i){t.CHM(e);const l=t.oxw();return t.KtG(l.onAgruparChange(i))}),t.qZA()()}if(2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.temAtribuicaoChefia),t.xp6(1),t.Q6J("size",4)("control",e.filter.controls.agrupar)}}function _(o,n){if(1&o&&(t.TgZ(0,"span",52),t._UZ(1,"i",53),t._uU(2),t.qZA()),2&o){const e=t.oxw().row;t.xp6(2),t.hij(" ",null==e.entregas?null:e.entregas.length,"")}}function c(o,n){if(1&o&&t.YNc(0,_,3,1,"span",51),2&o){const e=n.row;t.Q6J("ngIf",null==e.entregas?null:e.entregas.length)}}function h(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"plano-trabalho-list-entrega",54),t.NdJ("atualizaPlanoTrabalhoEvent",function(i){t.CHM(e);const l=t.oxw(2);return t.KtG(null==((null==l.grid?null:l.grid.query)||l.query)?null:((null==l.grid?null:l.grid.query)||l.query).refreshId(i))}),t.qZA()}if(2&o){const e=n.row;t.Q6J("entity",e)("planoTrabalhoEditavel",e._metadata.editavel||!1)}}function m(o,n){if(1&o&&(t.TgZ(0,"column",48),t.YNc(1,c,1,1,"ng-template",null,49,t.W1O),t.YNc(3,h,1,2,"ng-template",null,50,t.W1O),t.qZA()),2&o){const e=t.MAs(2),a=t.MAs(4),i=t.oxw();t.Q6J("align","center")("hint",i.lex.translate("Entrega"))("template",e)("expandTemplate",a)}}function u(o,n){1&o&&(t.TgZ(0,"order",55),t._uU(1,"#ID"),t.qZA()),2&o&&t.Q6J("header",n.header)}function R(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=n.row;t.xp6(1),t.hij(" ","#"+e.numero,"")}}function $(o,n){1&o&&(t.TgZ(0,"order",56),t._uU(1,"Usu\xe1rio"),t.qZA(),t._UZ(2,"br"),t._uU(3,"Programa ")),2&o&&t.Q6J("header",n.header)}function tt(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA(),t._UZ(2,"br")(3,"badge",57)),2&o){const e=n.row;t.xp6(1),t.hij(" ",(null==e.usuario?null:e.usuario.nome)||"",""),t.xp6(2),t.Q6J("label",(null==e.programa?null:e.programa.nome)||"")}}function et(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=n.row;t.xp6(1),t.hij(" ",(null==e.unidade?null:e.unidade.sigla)||"","")}}function at(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=n.row;t.xp6(1),t.hij(" ",(null==e.tipo_modalidade?null:e.tipo_modalidade.nome)||"","")}}function it(o,n){if(1&o&&(t._uU(0," Vig\xeancia de"),t._UZ(1,"br"),t.TgZ(2,"order",58),t._uU(3,"In\xedcio"),t.qZA(),t._uU(4,"a"),t.TgZ(5,"order",59),t._uU(6,"Fim"),t.qZA()),2&o){const e=n.header;t.xp6(2),t.Q6J("header",e),t.xp6(3),t.Q6J("header",e)}}function ot(o,n){1&o&&t._UZ(0,"badge",62)}function st(o,n){if(1&o&&(t.TgZ(0,"small"),t._uU(1),t.qZA(),t.TgZ(2,"div",60),t.YNc(3,ot,1,0,"badge",61),t.qZA()),2&o){const e=n.row,a=t.oxw();t.xp6(1),t.AsE(" ",a.dao.getDateFormatted(e.data_inicio)," "," at\xe9 "+a.dao.getDateFormatted(e.data_fim),""),t.xp6(2),t.Q6J("ngIf",a.planoTrabalhoService.estaVigente(e))}}function nt(o,n){1&o&&t._UZ(0,"documentos-badge",63),2&o&&t.Q6J("documento",n.row.documento)("maxWidth",200)}function lt(o,n){1&o&&t._UZ(0,"badge",67)}function rt(o,n){1&o&&t._UZ(0,"badge",68)}function dt(o,n){if(1&o&&(t._UZ(0,"badge",64)(1,"br"),t.YNc(2,lt,1,0,"badge",65),t.YNc(3,rt,1,0,"badge",66)),2&o){const e=n.row,a=t.oxw();t.Q6J("color",a.lookup.getColor(a.lookup.PLANO_TRABALHO_STATUS,e.status))("icon",a.lookup.getIcon(a.lookup.PLANO_TRABALHO_STATUS,e.status))("label",a.lookup.getValue(a.lookup.PLANO_TRABALHO_STATUS,e.status)),t.xp6(2),t.Q6J("ngIf",e.data_arquivamento),t.xp6(1),t.Q6J("ngIf",e.deleted_at)}}function ut(o,n){1&o&&t._uU(0),2&o&&t.Oqu(n.row.numero)}function _t(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.usuario?null:e.usuario.matricula)||"")}}function ct(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.programa?null:e.programa.nome)||"")}}function ht(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.unidade?null:e.unidade.nome)||"")}}function mt(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.tipo_modalidade?null:e.tipo_modalidade.nome)||"")}}function pt(o,n){if(1&o&&t._uU(0),2&o){const e=n.row,a=t.oxw();t.Oqu(a.util.getDateTimeFormatted(e.data_inicio))}}function At(o,n){if(1&o&&t._uU(0),2&o){const e=n.row,a=t.oxw();t.Oqu(a.util.getDateTimeFormatted(e.data_fim))}}function gt(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu(null!=e.documento&&null!=e.documento.numero_processo&&e.documento.numero_processo.length?null==e.documento?null:e.documento.numero_processo:"N\xe3o atribu\xeddo")}}let Ot=(()=>{class o extends O.E{constructor(e){super(e,E.p,A.t),this.injector=e,this.temAtribuicaoChefia=!1,this.routeStatus={route:["uteis","status"]},this.multiselectAllFields=["tipo_modalidade_id","usuario_id","unidade_id","documento_id"],this.relatorios=[{key:"PTR_LISTA",value:"Lista Planos de Trabalhos"}],this.botoes=[],this.planoTrabalhoEditavel=!1,this.DATAS_FILTRO=[{key:"VIGENTE",value:"Vigente"},{key:"NAOVIGENTE",value:"N\xe3o vigente"},{key:"INICIAM",value:"Iniciam"},{key:"FINALIZAM",value:"Finalizam"}],this.filterValidate=(a,i)=>{let l=null;return"data_filtro_inicio"==i&&a.value>this.filter?.controls.data_filtro_fim.value?l="Maior que fim":"data_filtro_fim"==i&&a.value{let i=[],l=a.value;return l.tipo_modalidade_id?.length&&i.push(["tipo_modalidade_id","==",l.tipo_modalidade_id]),l.data_filtro&&(i.push(["data_filtro","==",l.data_filtro]),i.push(["data_filtro_inicio","==",l.data_filtro_inicio]),i.push(["data_filtro_fim","==",l.data_filtro_fim])),l.usuario?.length&&i.push(["usuario.nome","like","%"+l.usuario.trim().replace(" ","%")+"%"]),l.unidade_id?.length&&i.push(["unidade_id","==",l.unidade_id]),l.status&&i.push(["status","==",l.status]),l.lotados_minha_unidade&&i.push(["lotados_minha_unidade","==",!0]),i.push(["incluir_arquivados","==",this.filter.controls.arquivados.value]),i},this.dynamicMultiselectMenu=a=>{let i=!!Object.keys(a).length,l=[];return Object.entries(a).forEach(([C,N])=>{this.planoTrabalhoService.needSign(N)||(i=!1)}),i&&l.push({label:"Assinar",icon:"bi bi-pen",onClick:this.assinar.bind(this)}),l},this.unidadeDao=e.get(g.J),this.programaDao=e.get(b.w),this.documentoDao=e.get(S.d),this.documentoService=e.get(J.t),this.unidadeService=e.get(X.Z),this.utilService=e.get(P.f),this.usuarioDao=e.get(T.q),this.planoTrabalhoService=e.get(v.p),this.tipoModalidadeDao=e.get(x.D),this.title=this.lex.translate("Planos de Trabalho"),this.code="MOD_PTR",this.filter=this.fh.FormBuilder({agrupar:{default:!0},lotados_minha_unidade:{default:!1},usuario:{default:""},status:{default:""},unidade_id:{default:null},arquivados:{default:!1},tipo_modalidade_id:{default:null},data_filtro:{default:null},data_filtro_inicio:{default:new Date},data_filtro_fim:{default:new Date}},this.cdRef,this.filterValidate),this.join=["unidade.gestor.usuario:id","documento.assinaturas.usuario:id,nome,url_foto","documento.assinaturas:id,usuario_id,documento_id","programa:id,nome","documento:id,numero","tipo_modalidade:id,nome","entregas.plano_entrega_entrega.entrega","entregas.plano_entrega_entrega.plano_entrega:id,unidade_id","entregas.plano_entrega_entrega.plano_entrega.unidade","entregas.entrega","entregas.reacoes.usuario:id,nome,apelido","unidade.entidade:id,sigla","unidade:id,sigla,entidade_id,unidade_pai_id","usuario:id,nome,matricula,url_foto"],this.temAtribuicaoChefia=this.auth.isGestorAlgumaAreaTrabalho(!1),this.groupBy=[{field:"unidade.sigla",label:"Unidade"}],this.BOTAO_ALTERAR={label:"Alterar",icon:"bi bi-pencil-square",color:"btn-outline-info",onClick:this.edit.bind(this)},this.BOTAO_ARQUIVAR={label:"Arquivar",icon:"bi bi-inboxes",onClick:this.arquivar.bind(this)},this.BOTAO_ASSINAR={label:"Assinar",icon:"bi bi-pen",onClick:this.assinar.bind(this)},this.BOTAO_ATIVAR={label:"Ativar",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),onClick:this.ativar.bind(this)},this.BOTAO_CANCELAR_ASSINATURA={label:"Cancelar assinatura",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA ou INCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA ou INCLUIDO"),onClick:this.cancelarAssinatura.bind(this)},this.BOTAO_CANCELAR_PLANO={label:"Cancelar plano",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"CANCELADO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"CANCELADO"),onClick:this.cancelarPlano.bind(this)},this.BOTAO_DESARQUIVAR={label:"Desarquivar",icon:"bi bi-reply",onClick:this.desarquivar.bind(this)},this.BOTAO_ENVIAR_ASSINATURA={label:"Enviar para assinatura",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA"),onClick:this.enviarParaAssinatura.bind(this)},this.BOTAO_INFORMACOES={label:"Informa\xe7\xf5es",icon:"bi bi-info-circle",onClick:this.consult.bind(this)},this.BOTAO_RELATORIO={label:"Relat\xf3rio",icon:"bi bi-file-pdf",onClick:a=>this.report(a,"PTR_LISTA_ENTREGAS")},this.BOTAO_TERMOS={label:"Termos",icon:"bi bi-file-earmark-check",onClick:(a=>this.go.navigate({route:["uteis","documentos","TCR",a.id]},{modalClose:i=>(this.grid?.query||this.query).refreshId(a.id),metadata:this.planoTrabalhoService.metadados(a)})).bind(this)},this.BOTAO_CONSOLIDACOES={label:"Consolida\xe7\xf5es",icon:this.entityService.getIcon("PlanoTrabalhoConsolidacao"),onClick:(a=>this.go.navigate({route:["gestao","plano-trabalho","consolidacao",a.usuario_id,a.id]},{modalClose:i=>(this.grid?.query||this.query).refreshId(a.id),modal:!0})).bind(this)},this.BOTAO_REATIVAR={label:"Reativar",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),onClick:this.reativar.bind(this)},this.BOTAO_SUSPENDER={label:"Suspender",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"SUSPENSO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"SUSPENSO"),onClick:this.suspender.bind(this)},this.botoes=[this.BOTAO_ALTERAR,this.BOTAO_ARQUIVAR,this.BOTAO_ASSINAR,this.BOTAO_ATIVAR,this.BOTAO_CANCELAR_ASSINATURA,this.BOTAO_CANCELAR_PLANO,this.BOTAO_DESARQUIVAR,this.BOTAO_ENVIAR_ASSINATURA,this.BOTAO_INFORMACOES,this.BOTAO_RELATORIO,this.BOTAO_TERMOS,this.BOTAO_CONSOLIDACOES,this.BOTAO_REATIVAR,this.BOTAO_SUSPENDER],this.rowsLimit=10}ngOnInit(){super.ngOnInit(),this.metadata?.minha_unidade&&this.filter?.controls.unidade_id.setValue(this.auth.unidade?.id),this.route.queryParams.subscribe(e=>{"EXECUCAO"==e.context&&this.filter&&this.filter?.controls.usuario.setValue(this.auth.usuario?.nome),"GESTAO"==e.context&&this.filter&&this.filter?.controls.unidade_id.setValue(this.auth.unidade?.id)})}dynamicOptions(e){let a=[];return this.botoes.forEach(i=>{this.botaoAtendeCondicoes(i,e)&&a.push(i)}),a.push(this.BOTAO_RELATORIO),a}dynamicButtons(e){let a=[];switch(this.planoTrabalhoService.situacaoPlano(e)){case"INCLUIDO":this.botaoAtendeCondicoes(this.BOTAO_ASSINAR,e)?a.push(this.BOTAO_ASSINAR):this.botaoAtendeCondicoes(this.BOTAO_ATIVAR,e)?a.push(this.BOTAO_ATIVAR):this.botaoAtendeCondicoes(this.BOTAO_ENVIAR_ASSINATURA,e)&&a.push(this.BOTAO_ENVIAR_ASSINATURA);break;case"AGUARDANDO_ASSINATURA":this.botaoAtendeCondicoes(this.BOTAO_ASSINAR,e)&&a.push(this.BOTAO_ASSINAR);break;case"ATIVO":case"SUSPENSO":case"ARQUIVADO":break;case"CONCLUIDO":case"CANCELADO":this.botaoAtendeCondicoes(this.BOTAO_ARQUIVAR,e)&&a.push(this.BOTAO_ARQUIVAR)}return a.length||a.push(this.BOTAO_INFORMACOES),a}filterClear(e){e.controls.usuario.setValue(""),e.controls.unidade_id.setValue(null),e.controls.status.setValue(null),e.controls.arquivados.setValue(!1),e.controls.tipo_modalidade_id.setValue(null),e.controls.data_filtro.setValue(null),e.controls.data_filtro_inicio.setValue(new Date),e.controls.data_filtro_fim.setValue(new Date),super.filterClear(e)}onAgruparChange(e){const a=this.filter.controls.agrupar.value;(a&&!this.groupBy?.length||!a&&this.groupBy?.length)&&(this.groupBy=a?[{field:"unidade.sigla",label:"Unidade"}]:[],this.grid.reloadFilter())}onLotadosMinhaUnidadeChange(e){this.grid.reloadFilter()}botaoAtendeCondicoes(e,a){let i=a._metadata?.assinaturasExigidas,l=[...i.gestores_entidade,...i.gestores_unidade_executora,...i.gestores_unidade_lotacao,...i.participante],C=this.planoTrabalhoService.assinaturasFaltantes(a._metadata?.assinaturasExigidas,a._metadata?.jaAssinaramTCR),N=!!(C.participante.length||C.gestores_unidade_executora.length||C.gestores_unidade_lotacao.length||C.gestores_entidade.length),I=this.unidadeService.isGestorUnidade(a.unidade_id),M=this.planoTrabalhoService.usuarioAssinou(a._metadata?.jaAssinaramTCR),q=!!l?.includes(this.auth.usuario?.id),D="INCLUIDO"==this.planoTrabalhoService.situacaoPlano(a),f=this.auth.usuario?.id==a.usuario_id,B="AGUARDANDO_ASSINATURA"==this.planoTrabalhoService.situacaoPlano(a),k="ATIVO"==this.planoTrabalhoService.situacaoPlano(a),W="CONCLUIDO"==this.planoTrabalhoService.situacaoPlano(a),w="CANCELADO"==this.planoTrabalhoService.situacaoPlano(a),F="EXCLUIDO"==this.planoTrabalhoService.situacaoPlano(a),V="ARQUIVADO"==this.planoTrabalhoService.situacaoPlano(a),G="SUSPENSO"==this.planoTrabalhoService.situacaoPlano(a),y=a.entregas.length>0;if(e==this.BOTAO_INFORMACOES&&this.auth.hasPermissionTo("MOD_PTR"))return!0;if(F)return!1;{let p=!1,Z=a._metadata?.atribuicoesLogadoUnidadeSuperior.gestor||a._metadata?.atribuicoesLogadoUnidadeSuperior.gestorSubstituto,Q=a._metadata?.atribuicoesLogado.gestor||a._metadata?.atribuicoesLogado.gestorSubstituto;switch(e){case this.BOTAO_ALTERAR:p=f?a._metadata?.usuarioEhParticipanteHabilitado:a._metadata?.atribuicoesParticipante.gestor?Z:a._metadata?.atribuicoesParticipante.gestorSubstituto?Z||a._metadata?.atribuicoesLogado.gestor:a._metadata?.atribuicoesParticipante.gestorDelegado?Q:Q||a._metadata?.atribuicoesLogado.gestorDelegado;let K=this.auth.hasPermissionTo("MOD_PTR_EDT"),Y=this.planoTrabalhoService.isValido(a),H=(D||B)&&p,j=k&&p&&this.auth.hasPermissionTo("MOD_PTR_EDT_ATV");return a._metadata={...a._metadata,editavel:K&&Y&&(H||j)},K&&Y&&(H||j);case this.BOTAO_ARQUIVAR:return(W||w)&&!V&&(f||I);case this.BOTAO_ASSINAR:return(D||B)&&y&&q&&!M;case this.BOTAO_ATIVAR:return p=a._metadata?.atribuicoesParticipante.gestor?Z||a._metadata?.usuarioEhParticipanteHabilitado:a._metadata?.atribuicoesParticipante.gestorSubstituto?a._metadata?.atribuicoesLogado.gestor||f&&a._metadata?.usuarioEhParticipanteHabilitado||!f&&a._metadata?.atribuicoesLogado.gestorSubstituto:a._metadata?.atribuicoesParticipante.gestorDelegado?a._metadata?.atribuicoesLogado.gestor||a._metadata?.atribuicoesLogado.gestorSubstituto||f&&a._metadata?.usuarioEhParticipanteHabilitado:f?Q||a._metadata?.usuarioEhParticipanteHabilitado:Q,D&&p&&!i?.todas?.length&&y;case this.BOTAO_CANCELAR_ASSINATURA:return B&&M;case this.BOTAO_CANCELAR_PLANO:return!!a._metadata?.podeCancelar;case this.BOTAO_DESARQUIVAR:return V&&(f||I);case this.BOTAO_ENVIAR_ASSINATURA:return D&&(!q||M)&&N&&y&&(f||I);case this.BOTAO_REATIVAR:return G&&I;case this.BOTAO_SUSPENDER:return k&&I;case this.BOTAO_TERMOS:return this.auth.hasPermissionTo("MOD_PTR");case this.BOTAO_CONSOLIDACOES:return!0}}return!1}arquivar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:Object.assign({},e,{arquivar:!0}),novoStatus:e.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Arquivar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}assinar(e){const a=e?[e.id]:Object.keys(this.grid.multiselected||{}),i=this.grid.items.filter(l=>a.includes(l.id)&&l.documento_id?.length).map(l=>l.documento);i.length?this.documentoService.sign(i).then(()=>(this.grid?.query||this.query).refreshId(e.id)):this.dialog.alert("Selecione","Nenhum plano selecionado!")}ativar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"ATIVO",onClick:this.dao.ativar.bind(this.dao)},title:"Ativar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}cancelarAssinatura(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"AGUARDANDO_ASSINATURA",onClick:this.dao.cancelarAssinatura.bind(this.dao)},title:"Cancelar Assinatura do TCR",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}cancelarPlano(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:Object.assign({},e,{arquivar:!0}),exigeJustificativa:!0,novoStatus:"CANCELADO",onClick:this.dao.cancelarPlano.bind(this.dao)},title:"Cancelar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}desarquivar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:Object.assign({},e,{arquivar:!1}),novoStatus:e.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Desarquivar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}report(e,a){const i={id:e.id,join:["unidade.entidade","unidade.gestor.usuario:id","usuario","programa.template_tcr","tipo_modalidade","entregas.plano_entrega_entrega.entrega","entregas.plano_entrega_entrega.plano_entrega:id,unidade_id","entregas.plano_entrega_entrega.plano_entrega.unidade","entregas.entrega"]};this.grid?.buildRowReport(a,i)}enviarParaAssinatura(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"AGUARDANDO_ASSINATURA",onClick:this.dao.enviarParaAssinatura.bind(this.dao)},title:"Disponibilizar Plano de Trabalho para assinatura",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}reativar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"ATIVO",onClick:this.dao.reativar.bind(this.dao)},title:"Reativar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}suspender(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"SUSPENSO",onClick:this.dao.suspender.bind(this.dao)},title:"Suspender Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}static#t=this.\u0275fac=function(a){return new(a||o)(t.Y36(t.zs3))};static#e=this.\u0275cmp=t.Xpm({type:o,selectors:[["plano-trabalho-list"]],viewQuery:function(a,i){if(1&a&&t.Gf(U.M,5),2&a){let l;t.iGM(l=t.CRH())&&(i.grid=l.first)}},features:[t.qOj],decls:69,vars:71,consts:[["multiselect","",3,"dao","add","title","orderBy","groupBy","join","selectable","relatorios","hasDelete","hasAdd","hasEdit","dynamicMultiselectMenu","multiselectAllFields","select"],[4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["controlName","usuario","placeholder","Usu\xe1rio",3,"size","label","control"],["controlName","unidade_id",3,"size","control","dao"],["label","Status","controlName","status","itemTodos","- Todos -",3,"size","items","control","valueTodos"],["label","Arquivados","controlName","arquivados","labelInfo","Listar tamb\xe9m os planos de trabalho arquivados",3,"size","control"],["controlName","tipo_modalidade_id",3,"size","control","dao"],["label","Data","itemTodos","- Nenhum -","controlName","data_filtro",3,"size","valueTodos","control","items"],["date","","label","In\xedcio","controlName","data_filtro_inicio","labelInfo","Data in\xedcio do per\xedodo",3,"size","disabled","control"],["date","","label","Fim","controlName","data_filtro_fim","labelInfo","Data fim do per\xedodo",3,"size","disabled","control"],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate",4,"ngIf"],[3,"titleTemplate","template","minWidth"],["titleNumero",""],["columnNumero",""],[3,"titleTemplate","template"],["titleUsuario",""],["columnUsuario",""],["title","Unidade",3,"template"],["columnUnidade",""],["title","Modalidade",3,"template"],["columnModalidade",""],["titleVigencia",""],["columnInicioVigencia",""],[3,"title","template"],["documento",""],["title","Status",3,"template"],["columnStatus",""],["type","options",3,"dynamicOptions","dynamicButtons"],["title","Numero",3,"template"],["reportNumero",""],["title","Matricula usu\xe1rio",3,"template"],["reportMatricula",""],["title","Programa",3,"template"],["reportPrograma",""],["reportUnidade",""],["reportModalidade",""],["title","In\xedcio vig\xeancia",3,"template"],["reportInicioVigencia",""],["title","Fim vig\xeancia",3,"template"],["reportFimVigencia",""],["title","Termo de Ades\xe3o",3,"template"],["reportTermoAdesao",""],[3,"rows"],["labelPosition","left","label","Lotados em minha unidade","controlName","lotados_minha_unidade",3,"size","control","change",4,"ngIf"],["labelPosition","left","label","Agrupar por unidade","controlName","agrupar",3,"size","control","change"],["labelPosition","left","label","Lotados em minha unidade","controlName","lotados_minha_unidade",3,"size","control","change"],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate"],["columnEntregas",""],["columnExpandedEntregas",""],["class","badge rounded-pill bg-light text-dark",4,"ngIf"],[1,"badge","rounded-pill","bg-light","text-dark"],[1,"bi","bi-list-check"],[3,"entity","planoTrabalhoEditavel","atualizaPlanoTrabalhoEvent"],["by","numero",3,"header"],["by","usuario.nome",3,"header"],["color","light","icon","bi bi-file-bar-graph",3,"label"],["by","data_inicio",3,"header"],["by","data_fim",3,"header"],[1,"d-block"],["color","#5362fb","icon","bi bi-calendar-check-fill","label","Vigente","hint","Vigente",4,"ngIf"],["color","#5362fb","icon","bi bi-calendar-check-fill","label","Vigente","hint","Vigente"],["signatures","","noRounded","","withLink","",3,"documento","maxWidth"],[3,"color","icon","label"],["color","warning","icon","bi bi-inboxes","label","Arquivado",4,"ngIf"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo",4,"ngIf"],["color","warning","icon","bi bi-inboxes","label","Arquivado"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo"]],template:function(a,i){if(1&a&&(t.TgZ(0,"grid",0),t.NdJ("select",function(C){return i.onSelect(C)}),t.YNc(1,r,3,3,"toolbar",1),t.TgZ(2,"filter",2)(3,"div",3),t._UZ(4,"input-text",4)(5,"input-search",5)(6,"input-select",6)(7,"input-switch",7),t.qZA(),t.TgZ(8,"div",3),t._UZ(9,"input-search",8)(10,"input-select",9)(11,"input-datetime",10)(12,"input-datetime",11),t.qZA()(),t.TgZ(13,"columns"),t.YNc(14,m,5,4,"column",12),t.TgZ(15,"column",13),t.YNc(16,u,2,1,"ng-template",null,14,t.W1O),t.YNc(18,R,2,1,"ng-template",null,15,t.W1O),t.qZA(),t.TgZ(20,"column",16),t.YNc(21,$,4,1,"ng-template",null,17,t.W1O),t.YNc(23,tt,4,2,"ng-template",null,18,t.W1O),t.qZA(),t.TgZ(25,"column",19),t.YNc(26,et,2,1,"ng-template",null,20,t.W1O),t.qZA(),t.TgZ(28,"column",21),t.YNc(29,at,2,1,"ng-template",null,22,t.W1O),t.qZA(),t.TgZ(31,"column",16),t.YNc(32,it,7,2,"ng-template",null,23,t.W1O),t.YNc(34,st,4,3,"ng-template",null,24,t.W1O),t.qZA(),t.TgZ(36,"column",25),t.YNc(37,nt,1,2,"ng-template",null,26,t.W1O),t.qZA(),t.TgZ(39,"column",27),t.YNc(40,dt,4,5,"ng-template",null,28,t.W1O),t.qZA(),t._UZ(42,"column",29),t.qZA(),t.TgZ(43,"report")(44,"column",30),t.YNc(45,ut,1,1,"ng-template",null,31,t.W1O),t.qZA(),t.TgZ(47,"column",32),t.YNc(48,_t,1,1,"ng-template",null,33,t.W1O),t.qZA(),t.TgZ(50,"column",34),t.YNc(51,ct,1,1,"ng-template",null,35,t.W1O),t.qZA(),t.TgZ(53,"column",19),t.YNc(54,ht,1,1,"ng-template",null,36,t.W1O),t.qZA(),t.TgZ(56,"column",21),t.YNc(57,mt,1,1,"ng-template",null,37,t.W1O),t.qZA(),t.TgZ(59,"column",38),t.YNc(60,pt,1,1,"ng-template",null,39,t.W1O),t.qZA(),t.TgZ(62,"column",40),t.YNc(63,At,1,1,"ng-template",null,41,t.W1O),t.qZA(),t.TgZ(65,"column",42),t.YNc(66,gt,1,1,"ng-template",null,43,t.W1O),t.qZA()(),t._UZ(68,"pagination",44),t.qZA()),2&a){const l=t.MAs(17),C=t.MAs(19),N=t.MAs(22),I=t.MAs(24),M=t.MAs(27),q=t.MAs(30),D=t.MAs(33),f=t.MAs(35),B=t.MAs(38),k=t.MAs(41),W=t.MAs(46),w=t.MAs(49),F=t.MAs(52),V=t.MAs(55),G=t.MAs(58),y=t.MAs(61),p=t.MAs(64),Z=t.MAs(67);t.Q6J("dao",i.dao)("add",i.add)("title",i.isModal?"":i.title)("orderBy",i.orderBy)("groupBy",i.groupBy)("join",i.join)("selectable",i.selectable)("relatorios",i.relatorios)("hasDelete",!1)("hasAdd",i.auth.hasPermissionTo("MOD_PTR_INCL"))("hasEdit",!1)("dynamicMultiselectMenu",i.dynamicMultiselectMenu.bind(i))("multiselectAllFields",i.multiselectAllFields),t.xp6(1),t.Q6J("ngIf",!i.selectable),t.xp6(1),t.Q6J("deleted",i.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",i.filter)("where",i.filterWhere)("submit",i.filterSubmit.bind(i))("clear",i.filterClear.bind(i))("collapseChange",i.filterCollapseChange.bind(i))("collapsed",!i.selectable&&i.filterCollapsed),t.xp6(2),t.Q6J("size",4)("label",i.lex.translate("Usu\xe1rio"))("control",i.filter.controls.usuario),t.uIk("maxlength",250),t.xp6(1),t.Q6J("size",4)("control",i.filter.controls.unidade_id)("dao",i.unidadeDao),t.xp6(1),t.Q6J("size",2)("items",i.lookup.PLANO_TRABALHO_STATUS)("control",i.filter.controls.status)("valueTodos",null),t.xp6(1),t.Q6J("size",2)("control",i.filter.controls.arquivados),t.xp6(2),t.Q6J("size",6)("control",i.filter.controls.tipo_modalidade_id)("dao",i.tipoModalidadeDao),t.xp6(1),t.Q6J("size",2)("valueTodos",null)("control",i.filter.controls.data_filtro)("items",i.DATAS_FILTRO),t.xp6(1),t.Q6J("size",2)("disabled",null==i.filter.controls.data_filtro.value?"true":void 0)("control",i.filter.controls.data_filtro_inicio),t.xp6(1),t.Q6J("size",2)("disabled",null==i.filter.controls.data_filtro.value?"true":void 0)("control",i.filter.controls.data_filtro_fim),t.xp6(2),t.Q6J("ngIf",!i.selectable),t.xp6(1),t.Q6J("titleTemplate",l)("template",C)("minWidth",50),t.xp6(5),t.Q6J("titleTemplate",N)("template",I),t.xp6(5),t.Q6J("template",M),t.xp6(3),t.Q6J("template",q),t.xp6(3),t.Q6J("titleTemplate",D)("template",f),t.xp6(5),t.Q6J("title","Termo\nAssinaturas")("template",B),t.xp6(3),t.Q6J("template",k),t.xp6(3),t.Q6J("dynamicOptions",i.dynamicOptions.bind(i))("dynamicButtons",i.dynamicButtons.bind(i)),t.xp6(2),t.Q6J("template",W),t.xp6(3),t.Q6J("template",w),t.xp6(3),t.Q6J("template",F),t.xp6(3),t.Q6J("template",V),t.xp6(3),t.Q6J("template",G),t.xp6(3),t.Q6J("template",y),t.xp6(3),t.Q6J("template",p),t.xp6(3),t.Q6J("template",Z),t.xp6(3),t.Q6J("rows",i.rowsLimit)}}})}return o})()},684:(z,L,d)=>{d.d(L,{p:()=>J});var U=d(8239),S=d(3972),A=d(755),b=d(2333),x=d(9193),g=d(2307),T=d(9702),E=d(7744),O=d(1095),v=d(9367);let J=(()=>{class P{constructor(t,s,r,_,c,h,m,u){this.auth=t,this.util=s,this.go=r,this.lookup=_,this.dao=c,this.avaliacaoDao=h,this.templateService=m,this.planoTrabalhoDao=u}template(t){return t.programa?.template_tcr}metadados(t){return{needSign:this.needSign.bind(this),extraTags:this.extraTags.bind(this),especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",dataset:this.planoTrabalhoDao.dataset(),datasource:this.planoTrabalhoDao.datasource(t),template:t.programa?.template_tcr,template_id:t.programa?.template_tcr_id}}needSign(t,s){const r=t,_=s||(r?.documentos||[]).find(c=>r?.documento_id?.length&&c.id==r?.documento_id)||r?.documento;if(t&&_&&!_.assinaturas?.find(c=>c.usuario_id==this.auth.usuario.id)){const c=r.tipo_modalidade,h=r.programa,m=this.auth.entidade;let u=[];return h?.plano_trabalho_assinatura_participante&&u.push(r.usuario_id),h?.plano_trabalho_assinatura_gestor_lotacao&&u.push(...this.auth.gestoresLotacao.map(R=>R.id)),h?.plano_trabalho_assinatura_gestor_unidade&&u.push(r.unidade?.gestor?.id||"",...r.unidade?.gestores_substitutos?.map(R=>R.id)||""),h?.plano_trabalho_assinatura_gestor_entidade&&u.push(m.gestor_id||"",m.gestor_substituto_id||""),!!c&&u.includes(this.auth.usuario.id)}return!1}extraTags(t,s,r){const _=t;let c=[];return _?.documento_id==s.id&&c.push({key:s.id,value:"Vigente",icon:"bi bi-check-all",color:"primary"}),JSON.stringify(r.tags)!=JSON.stringify(c)&&(r.tags=c),r.tags}tipoEntrega(t,s){let r=s||t.plano_trabalho,_=t.plano_entrega_entrega?.plano_entrega?.unidade_id==r.unidade_id?"PROPRIA_UNIDADE":t.plano_entrega_entrega?"OUTRA_UNIDADE":t.orgao?.length?"OUTRO_ORGAO":"SEM_ENTREGA",c=this.lookup.ORIGENS_ENTREGAS_PLANO_TRABALHO.find(u=>u.key==_)||{key:"",value:"Desconhecido1"};return{titulo:c.value,cor:c.color||"danger",nome:r?._metadata?.novaEntrega?.plano_entrega_entrega?.entrega?.nome||t.plano_entrega_entrega?.entrega?.nome||"Desconhecido2",tipo:_,descricao:r?._metadata?.novaEntrega?.plano_entrega_entrega?.descricao||t.plano_entrega_entrega?.descricao||""}}atualizarTcr(t,s,r,_){if(s.usuario&&s.unidade){let c=this.dao.datasource(t),h=this.dao.datasource(s),m=s.programa;if(h.usuario.texto_complementar_plano=r||s.usuario?.texto_complementar_plano||"",h.unidade.texto_complementar_plano=_||s.unidade?.texto_complementar_plano||"",(m?.termo_obrigatorio||s.documento_id?.length)&&JSON.stringify(h)!=JSON.stringify(c)&&m?.template_tcr){let u=s.documentos?.find(R=>R.id==s.documento_id);s.documento_id?.length&&u&&!u.assinaturas?.length&&"LINK"!=u.tipo?(u.conteudo=this.templateService.renderTemplate(m?.template_tcr?.conteudo||"",h),u.dataset=this.dao.dataset(),u.datasource=h,u._status="ADD"==u._status?"ADD":"EDIT"):(u=new S.U({id:this.dao?.generateUuid(),tipo:"HTML",especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",conteudo:this.templateService.renderTemplate(m?.template_tcr?.conteudo||"",h),status:"GERADO",_status:"ADD",template:m?.template_tcr?.conteudo,dataset:this.dao.dataset(),datasource:h,entidade_id:this.auth.entidade?.id,plano_trabalho_id:s.id,template_id:m?.template_tcr_id}),s.documentos.push(u)),s.documento=u,s.documento_id=u?.id||null}}return s.documento}situacaoPlano(t){return t.deleted_at?"EXCLUIDO":t.data_arquivamento?"ARQUIVADO":t.status}isValido(t){return!t.deleted_at&&"CANCELADO"!=t.status&&!t.data_arquivamento}estaVigente(t){let s=new Date;return"ATIVO"==t.status&&t.data_inicio<=s&&t.data_fim>=s}diasParaConcluirConsolidacao(t,s){return t&&s?this.util.daystamp(t.data_fim)+s.dias_tolerancia_avaliacao-this.util.daystamp(this.auth.hora):-1}avaliar(t,s,r){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",t.id,"avaliar"]},{modal:!0,metadata:{consolidacao:t,programa:s},modalClose:_=>{_&&(t.status="AVALIADO",t.avaliacao_id=_.id,t.avaliacao=_,r(t))}})}visualizarAvaliacao(t){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",t.id,"verAvaliacoes"]},{modal:!0,metadata:{consolidacao:t}})}fazerRecurso(t,s,r){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",t.id,"recurso"]},{modal:!0,metadata:{recurso:!0,consolidacao:t,programa:s},modalClose:_=>{_&&(t.avaliacao=_,r(t))}})}cancelarAvaliacao(t,s,r){var _=this;return(0,U.Z)(function*(){s.submitting=!0;try{(yield _.avaliacaoDao.cancelarAvaliacao(t.avaliacao.id))&&(t.status="CONCLUIDO",t.avaliacao_id=null,t.avaliacao=void 0,r(t))}catch(c){s.error(c.message||c)}finally{s.submitting=!1}})()}usuarioAssinou(t,s){return s=s||this.auth.usuario.id,Object.values(t).some(r=>(r||[]).includes(s))}assinaturasFaltantes(t,s){return{participante:t.participante.filter(r=>!s.participante.includes(r)),gestores_unidade_executora:t.gestores_unidade_executora.length?t.gestores_unidade_executora.filter(r=>s.gestores_unidade_executora.includes(r)).length?[]:t.gestores_unidade_executora:[],gestores_unidade_lotacao:t.gestores_unidade_lotacao.length?t.gestores_unidade_lotacao.filter(r=>s.gestores_unidade_lotacao.includes(r)).length?[]:t.gestores_unidade_lotacao:[],gestores_entidade:t.gestores_entidade.length?t.gestores_entidade.filter(r=>s.gestores_entidade.includes(r)).length?[]:t.gestores_entidade:[]}}static#t=this.\u0275fac=function(s){return new(s||P)(A.LFG(b.e),A.LFG(x.f),A.LFG(g.o),A.LFG(T.W),A.LFG(E.t),A.LFG(O.w),A.LFG(v.E),A.LFG(E.t))};static#e=this.\u0275prov=A.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()}}]); - +"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[997],{1095:(z,L,d)=>{d.d(L,{w:()=>A});var U=d(6976),S=d(755);let A=(()=>{class b extends U.B{constructor(g){super("Avaliacao",g),this.injector=g,this.inputSearchConfig.searchFields=[]}cancelarAvaliacao(g){return new Promise((T,E)=>{this.server.post("api/"+this.collection+"/cancelar-avaliacao",{id:g}).subscribe(O=>{O?.error?E(O?.error):T(!0)},O=>E(O))})}recorrer(g,T){return new Promise((E,O)=>{this.server.post("api/"+this.collection+"/recorrer",{id:g.id,recurso:T}).subscribe(v=>{v?.error?O(v?.error):(g.recurso=T,E(!0))},v=>O(v))})}static#t=this.\u0275fac=function(T){return new(T||b)(S.LFG(S.zs3))};static#e=this.\u0275prov=S.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},9997:(z,L,d)=>{d.d(L,{H:()=>Ot});var U=d(3150),S=d(5026),A=d(7744),b=d(2214),x=d(6075),g=d(1214),T=d(5255),E=d(762),O=d(8509),v=d(684),J=d(2702),P=d(9193),X=d(609),t=d(755);function s(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"input-switch",47),t.NdJ("change",function(i){t.CHM(e);const l=t.oxw(2);return t.KtG(l.onLotadosMinhaUnidadeChange(i))}),t.qZA()}if(2&o){const e=t.oxw(2);t.Q6J("size",4)("control",e.filter.controls.lotados_minha_unidade)}}function r(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"toolbar"),t.YNc(1,s,1,2,"input-switch",45),t.TgZ(2,"input-switch",46),t.NdJ("change",function(i){t.CHM(e);const l=t.oxw();return t.KtG(l.onAgruparChange(i))}),t.qZA()()}if(2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.temAtribuicaoChefia),t.xp6(1),t.Q6J("size",4)("control",e.filter.controls.agrupar)}}function _(o,n){if(1&o&&(t.TgZ(0,"span",52),t._UZ(1,"i",53),t._uU(2),t.qZA()),2&o){const e=t.oxw().row;t.xp6(2),t.hij(" ",null==e.entregas?null:e.entregas.length,"")}}function c(o,n){if(1&o&&t.YNc(0,_,3,1,"span",51),2&o){const e=n.row;t.Q6J("ngIf",null==e.entregas?null:e.entregas.length)}}function h(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"plano-trabalho-list-entrega",54),t.NdJ("atualizaPlanoTrabalhoEvent",function(i){t.CHM(e);const l=t.oxw(2);return t.KtG(null==((null==l.grid?null:l.grid.query)||l.query)?null:((null==l.grid?null:l.grid.query)||l.query).refreshId(i))}),t.qZA()}if(2&o){const e=n.row;t.Q6J("entity",e)("planoTrabalhoEditavel",e._metadata.editavel||!1)}}function m(o,n){if(1&o&&(t.TgZ(0,"column",48),t.YNc(1,c,1,1,"ng-template",null,49,t.W1O),t.YNc(3,h,1,2,"ng-template",null,50,t.W1O),t.qZA()),2&o){const e=t.MAs(2),a=t.MAs(4),i=t.oxw();t.Q6J("align","center")("hint",i.lex.translate("Entrega"))("template",e)("expandTemplate",a)}}function u(o,n){1&o&&(t.TgZ(0,"order",55),t._uU(1,"#ID"),t.qZA()),2&o&&t.Q6J("header",n.header)}function R(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=n.row;t.xp6(1),t.hij(" ","#"+e.numero,"")}}function $(o,n){1&o&&(t.TgZ(0,"order",56),t._uU(1,"Usu\xe1rio"),t.qZA(),t._UZ(2,"br"),t._uU(3,"Programa ")),2&o&&t.Q6J("header",n.header)}function tt(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA(),t._UZ(2,"br")(3,"badge",57)),2&o){const e=n.row;t.xp6(1),t.hij(" ",(null==e.usuario?null:e.usuario.nome)||"",""),t.xp6(2),t.Q6J("label",(null==e.programa?null:e.programa.nome)||"")}}function et(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=n.row;t.xp6(1),t.hij(" ",(null==e.unidade?null:e.unidade.sigla)||"","")}}function at(o,n){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=n.row;t.xp6(1),t.hij(" ",(null==e.tipo_modalidade?null:e.tipo_modalidade.nome)||"","")}}function it(o,n){if(1&o&&(t._uU(0," Vig\xeancia de"),t._UZ(1,"br"),t.TgZ(2,"order",58),t._uU(3,"In\xedcio"),t.qZA(),t._uU(4,"a"),t.TgZ(5,"order",59),t._uU(6,"Fim"),t.qZA()),2&o){const e=n.header;t.xp6(2),t.Q6J("header",e),t.xp6(3),t.Q6J("header",e)}}function ot(o,n){1&o&&t._UZ(0,"badge",62)}function st(o,n){if(1&o&&(t.TgZ(0,"small"),t._uU(1),t.qZA(),t.TgZ(2,"div",60),t.YNc(3,ot,1,0,"badge",61),t.qZA()),2&o){const e=n.row,a=t.oxw();t.xp6(1),t.AsE(" ",a.dao.getDateFormatted(e.data_inicio)," "," at\xe9 "+a.dao.getDateFormatted(e.data_fim),""),t.xp6(2),t.Q6J("ngIf",a.planoTrabalhoService.estaVigente(e))}}function nt(o,n){1&o&&t._UZ(0,"documentos-badge",63),2&o&&t.Q6J("documento",n.row.documento)("maxWidth",200)}function lt(o,n){1&o&&t._UZ(0,"badge",67)}function rt(o,n){1&o&&t._UZ(0,"badge",68)}function dt(o,n){if(1&o&&(t._UZ(0,"badge",64)(1,"br"),t.YNc(2,lt,1,0,"badge",65),t.YNc(3,rt,1,0,"badge",66)),2&o){const e=n.row,a=t.oxw();t.Q6J("color",a.lookup.getColor(a.lookup.PLANO_TRABALHO_STATUS,e.status))("icon",a.lookup.getIcon(a.lookup.PLANO_TRABALHO_STATUS,e.status))("label",a.lookup.getValue(a.lookup.PLANO_TRABALHO_STATUS,e.status)),t.xp6(2),t.Q6J("ngIf",e.data_arquivamento),t.xp6(1),t.Q6J("ngIf",e.deleted_at)}}function ut(o,n){1&o&&t._uU(0),2&o&&t.Oqu(n.row.numero)}function _t(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.usuario?null:e.usuario.matricula)||"")}}function ct(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.programa?null:e.programa.nome)||"")}}function ht(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.unidade?null:e.unidade.nome)||"")}}function mt(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu((null==e.tipo_modalidade?null:e.tipo_modalidade.nome)||"")}}function pt(o,n){if(1&o&&t._uU(0),2&o){const e=n.row,a=t.oxw();t.Oqu(a.util.getDateTimeFormatted(e.data_inicio))}}function At(o,n){if(1&o&&t._uU(0),2&o){const e=n.row,a=t.oxw();t.Oqu(a.util.getDateTimeFormatted(e.data_fim))}}function gt(o,n){if(1&o&&t._uU(0),2&o){const e=n.row;t.Oqu(null!=e.documento&&null!=e.documento.numero_processo&&e.documento.numero_processo.length?null==e.documento?null:e.documento.numero_processo:"N\xe3o atribu\xeddo")}}let Ot=(()=>{class o extends O.E{constructor(e){super(e,E.p,A.t),this.injector=e,this.temAtribuicaoChefia=!1,this.routeStatus={route:["uteis","status"]},this.multiselectAllFields=["tipo_modalidade_id","usuario_id","unidade_id","documento_id"],this.relatorios=[{key:"PTR_LISTA",value:"Lista Planos de Trabalhos"}],this.botoes=[],this.planoTrabalhoEditavel=!1,this.DATAS_FILTRO=[{key:"VIGENTE",value:"Vigente"},{key:"NAOVIGENTE",value:"N\xe3o vigente"},{key:"INICIAM",value:"Iniciam"},{key:"FINALIZAM",value:"Finalizam"}],this.filterValidate=(a,i)=>{let l=null;return"data_filtro_inicio"==i&&a.value>this.filter?.controls.data_filtro_fim.value?l="Maior que fim":"data_filtro_fim"==i&&a.value{let i=[],l=a.value;return l.tipo_modalidade_id?.length&&i.push(["tipo_modalidade_id","==",l.tipo_modalidade_id]),l.data_filtro&&(i.push(["data_filtro","==",l.data_filtro]),i.push(["data_filtro_inicio","==",l.data_filtro_inicio]),i.push(["data_filtro_fim","==",l.data_filtro_fim])),l.usuario?.length&&i.push(["usuario.nome","like","%"+l.usuario.trim().replace(" ","%")+"%"]),l.unidade_id?.length&&i.push(["unidade_id","==",l.unidade_id]),l.status&&i.push(["status","==",l.status]),l.lotados_minha_unidade&&i.push(["lotados_minha_unidade","==",!0]),i.push(["incluir_arquivados","==",this.filter.controls.arquivados.value]),i},this.dynamicMultiselectMenu=a=>{let i=!!Object.keys(a).length,l=[];return Object.entries(a).forEach(([C,N])=>{this.planoTrabalhoService.needSign(N)||(i=!1)}),i&&l.push({label:"Assinar",icon:"bi bi-pen",onClick:this.assinar.bind(this)}),l},this.unidadeDao=e.get(g.J),this.programaDao=e.get(b.w),this.documentoDao=e.get(S.d),this.documentoService=e.get(J.t),this.unidadeService=e.get(X.Z),this.utilService=e.get(P.f),this.usuarioDao=e.get(T.q),this.planoTrabalhoService=e.get(v.p),this.tipoModalidadeDao=e.get(x.D),this.title=this.lex.translate("Planos de Trabalho"),this.code="MOD_PTR",this.filter=this.fh.FormBuilder({agrupar:{default:!0},lotados_minha_unidade:{default:!1},usuario:{default:""},status:{default:""},unidade_id:{default:null},arquivados:{default:!1},tipo_modalidade_id:{default:null},data_filtro:{default:null},data_filtro_inicio:{default:new Date},data_filtro_fim:{default:new Date}},this.cdRef,this.filterValidate),this.join=["unidade.gestor.usuario:id","documento.assinaturas.usuario:id,nome,url_foto","documento.assinaturas:id,usuario_id,documento_id","programa:id,nome","documento:id,numero","tipo_modalidade:id,nome","entregas.plano_entrega_entrega.entrega","entregas.plano_entrega_entrega.plano_entrega:id,unidade_id","entregas.plano_entrega_entrega.plano_entrega.unidade","entregas.entrega","entregas.reacoes.usuario:id,nome,apelido","unidade.entidade:id,sigla","unidade:id,sigla,entidade_id,unidade_pai_id","usuario:id,nome,matricula,url_foto"],this.temAtribuicaoChefia=this.auth.isGestorAlgumaAreaTrabalho(!1),this.groupBy=[{field:"unidade.sigla",label:"Unidade"}],this.BOTAO_ALTERAR={label:"Alterar",icon:"bi bi-pencil-square",color:"btn-outline-info",onClick:this.edit.bind(this)},this.BOTAO_ARQUIVAR={label:"Arquivar",icon:"bi bi-inboxes",onClick:this.arquivar.bind(this)},this.BOTAO_ASSINAR={label:"Assinar",icon:"bi bi-pen",onClick:this.assinar.bind(this)},this.BOTAO_ATIVAR={label:"Ativar",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),onClick:this.ativar.bind(this)},this.BOTAO_CANCELAR_ASSINATURA={label:"Cancelar assinatura",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA ou INCLUIDO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA ou INCLUIDO"),onClick:this.cancelarAssinatura.bind(this)},this.BOTAO_CANCELAR_PLANO={label:"Cancelar plano",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"CANCELADO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"CANCELADO"),onClick:this.cancelarPlano.bind(this)},this.BOTAO_DESARQUIVAR={label:"Desarquivar",icon:"bi bi-reply",onClick:this.desarquivar.bind(this)},this.BOTAO_ENVIAR_ASSINATURA={label:"Enviar para assinatura",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"AGUARDANDO_ASSINATURA"),onClick:this.enviarParaAssinatura.bind(this)},this.BOTAO_INFORMACOES={label:"Informa\xe7\xf5es",icon:"bi bi-info-circle",onClick:this.consult.bind(this)},this.BOTAO_RELATORIO={label:"Relat\xf3rio",icon:"bi bi-file-pdf",onClick:a=>this.report(a,"PTR_LISTA_ENTREGAS")},this.BOTAO_TERMOS={label:"Termos",icon:"bi bi-file-earmark-check",onClick:(a=>this.go.navigate({route:["uteis","documentos","TCR",a.id]},{modalClose:i=>(this.grid?.query||this.query).refreshId(a.id),metadata:this.planoTrabalhoService.metadados(a)})).bind(this)},this.BOTAO_CONSOLIDACOES={label:"Consolida\xe7\xf5es",icon:this.entityService.getIcon("PlanoTrabalhoConsolidacao"),onClick:(a=>this.go.navigate({route:["gestao","plano-trabalho","consolidacao",a.usuario_id,a.id]},{modalClose:i=>(this.grid?.query||this.query).refreshId(a.id),modal:!0})).bind(this)},this.BOTAO_REATIVAR={label:"Reativar",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"ATIVO"),onClick:this.reativar.bind(this)},this.BOTAO_SUSPENDER={label:"Suspender",icon:this.lookup.getIcon(this.lookup.PLANO_TRABALHO_STATUS,"SUSPENSO"),color:this.lookup.getColor(this.lookup.PLANO_TRABALHO_STATUS,"SUSPENSO"),onClick:this.suspender.bind(this)},this.botoes=[this.BOTAO_ALTERAR,this.BOTAO_ARQUIVAR,this.BOTAO_ASSINAR,this.BOTAO_ATIVAR,this.BOTAO_CANCELAR_ASSINATURA,this.BOTAO_CANCELAR_PLANO,this.BOTAO_DESARQUIVAR,this.BOTAO_ENVIAR_ASSINATURA,this.BOTAO_INFORMACOES,this.BOTAO_RELATORIO,this.BOTAO_TERMOS,this.BOTAO_CONSOLIDACOES,this.BOTAO_REATIVAR,this.BOTAO_SUSPENDER],this.rowsLimit=10}ngOnInit(){super.ngOnInit(),this.metadata?.minha_unidade&&this.filter?.controls.unidade_id.setValue(this.auth.unidade?.id),this.route.queryParams.subscribe(e=>{"EXECUCAO"==e.context&&this.filter&&this.filter?.controls.usuario.setValue(this.auth.usuario?.nome),"GESTAO"==e.context&&this.filter&&this.filter?.controls.unidade_id.setValue(this.auth.unidade?.id)})}dynamicOptions(e){let a=[];return this.botoes.forEach(i=>{this.botaoAtendeCondicoes(i,e)&&a.push(i)}),a.push(this.BOTAO_RELATORIO),a}dynamicButtons(e){let a=[];switch(this.planoTrabalhoService.situacaoPlano(e)){case"INCLUIDO":this.botaoAtendeCondicoes(this.BOTAO_ASSINAR,e)?a.push(this.BOTAO_ASSINAR):this.botaoAtendeCondicoes(this.BOTAO_ATIVAR,e)?a.push(this.BOTAO_ATIVAR):this.botaoAtendeCondicoes(this.BOTAO_ENVIAR_ASSINATURA,e)&&a.push(this.BOTAO_ENVIAR_ASSINATURA);break;case"AGUARDANDO_ASSINATURA":this.botaoAtendeCondicoes(this.BOTAO_ASSINAR,e)&&a.push(this.BOTAO_ASSINAR);break;case"ATIVO":case"SUSPENSO":case"ARQUIVADO":break;case"CONCLUIDO":case"CANCELADO":this.botaoAtendeCondicoes(this.BOTAO_ARQUIVAR,e)&&a.push(this.BOTAO_ARQUIVAR)}return a.length||a.push(this.BOTAO_INFORMACOES),a}filterClear(e){e.controls.usuario.setValue(""),e.controls.unidade_id.setValue(null),e.controls.status.setValue(null),e.controls.arquivados.setValue(!1),e.controls.tipo_modalidade_id.setValue(null),e.controls.data_filtro.setValue(null),e.controls.data_filtro_inicio.setValue(new Date),e.controls.data_filtro_fim.setValue(new Date),super.filterClear(e)}onAgruparChange(e){const a=this.filter.controls.agrupar.value;(a&&!this.groupBy?.length||!a&&this.groupBy?.length)&&(this.groupBy=a?[{field:"unidade.sigla",label:"Unidade"}]:[],this.grid.reloadFilter())}onLotadosMinhaUnidadeChange(e){this.grid.reloadFilter()}botaoAtendeCondicoes(e,a){let i=a._metadata?.assinaturasExigidas,l=[...i.gestores_entidade,...i.gestores_unidade_executora,...i.gestores_unidade_lotacao,...i.participante],C=this.planoTrabalhoService.assinaturasFaltantes(a._metadata?.assinaturasExigidas,a._metadata?.jaAssinaramTCR),N=!!(C.participante.length||C.gestores_unidade_executora.length||C.gestores_unidade_lotacao.length||C.gestores_entidade.length),I=this.unidadeService.isGestorUnidade(a.unidade_id),M=this.planoTrabalhoService.usuarioAssinou(a._metadata?.jaAssinaramTCR),q=!!l?.includes(this.auth.usuario?.id),D="INCLUIDO"==this.planoTrabalhoService.situacaoPlano(a),f=this.auth.usuario?.id==a.usuario_id,B="AGUARDANDO_ASSINATURA"==this.planoTrabalhoService.situacaoPlano(a),k="ATIVO"==this.planoTrabalhoService.situacaoPlano(a),W="CONCLUIDO"==this.planoTrabalhoService.situacaoPlano(a),w="CANCELADO"==this.planoTrabalhoService.situacaoPlano(a),F="EXCLUIDO"==this.planoTrabalhoService.situacaoPlano(a),V="ARQUIVADO"==this.planoTrabalhoService.situacaoPlano(a),G="SUSPENSO"==this.planoTrabalhoService.situacaoPlano(a),y=a.entregas.length>0;if(e==this.BOTAO_INFORMACOES&&this.auth.hasPermissionTo("MOD_PTR"))return!0;if(F)return!1;{let p=!1,Z=a._metadata?.atribuicoesLogadoUnidadeSuperior.gestor||a._metadata?.atribuicoesLogadoUnidadeSuperior.gestorSubstituto,Q=a._metadata?.atribuicoesLogado.gestor||a._metadata?.atribuicoesLogado.gestorSubstituto;switch(e){case this.BOTAO_ALTERAR:p=f?a._metadata?.usuarioEhParticipanteHabilitado:a._metadata?.atribuicoesParticipante.gestor?Z:a._metadata?.atribuicoesParticipante.gestorSubstituto?Z||a._metadata?.atribuicoesLogado.gestor:a._metadata?.atribuicoesParticipante.gestorDelegado?Q:Q||a._metadata?.atribuicoesLogado.gestorDelegado;let K=this.auth.hasPermissionTo("MOD_PTR_EDT"),Y=this.planoTrabalhoService.isValido(a),H=(D||B)&&p,j=k&&p&&this.auth.hasPermissionTo("MOD_PTR_EDT_ATV");return a._metadata={...a._metadata,editavel:K&&Y&&(H||j)},K&&Y&&(H||j);case this.BOTAO_ARQUIVAR:return(W||w)&&!V&&(f||I);case this.BOTAO_ASSINAR:return(D||B)&&y&&q&&!M;case this.BOTAO_ATIVAR:return p=a._metadata?.atribuicoesParticipante.gestor?Z||a._metadata?.usuarioEhParticipanteHabilitado:a._metadata?.atribuicoesParticipante.gestorSubstituto?a._metadata?.atribuicoesLogado.gestor||f&&a._metadata?.usuarioEhParticipanteHabilitado||!f&&a._metadata?.atribuicoesLogado.gestorSubstituto:a._metadata?.atribuicoesParticipante.gestorDelegado?a._metadata?.atribuicoesLogado.gestor||a._metadata?.atribuicoesLogado.gestorSubstituto||f&&a._metadata?.usuarioEhParticipanteHabilitado:f?Q||a._metadata?.usuarioEhParticipanteHabilitado:Q,D&&p&&!i?.todas?.length&&y;case this.BOTAO_CANCELAR_ASSINATURA:return B&&M;case this.BOTAO_CANCELAR_PLANO:return!!a._metadata?.podeCancelar;case this.BOTAO_DESARQUIVAR:return V&&(f||I);case this.BOTAO_ENVIAR_ASSINATURA:return D&&(!q||M)&&N&&y&&(f||I);case this.BOTAO_REATIVAR:return G&&I;case this.BOTAO_SUSPENDER:return k&&I;case this.BOTAO_TERMOS:return this.auth.hasPermissionTo("MOD_PTR");case this.BOTAO_CONSOLIDACOES:return!0}}return!1}arquivar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:Object.assign({},e,{arquivar:!0}),novoStatus:e.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Arquivar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}assinar(e){const a=e?[e.id]:Object.keys(this.grid.multiselected||{}),i=this.grid.items.filter(l=>a.includes(l.id)&&l.documento_id?.length).map(l=>l.documento);i.length?this.documentoService.sign(i).then(()=>(this.grid?.query||this.query).refreshId(e.id)):this.dialog.alert("Selecione","Nenhum plano selecionado!")}ativar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"ATIVO",onClick:this.dao.ativar.bind(this.dao)},title:"Ativar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}cancelarAssinatura(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"AGUARDANDO_ASSINATURA",onClick:this.dao.cancelarAssinatura.bind(this.dao)},title:"Cancelar Assinatura do TCR",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}cancelarPlano(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:Object.assign({},e,{arquivar:!0}),exigeJustificativa:!0,novoStatus:"CANCELADO",onClick:this.dao.cancelarPlano.bind(this.dao)},title:"Cancelar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}desarquivar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:Object.assign({},e,{arquivar:!1}),novoStatus:e.status,onClick:this.dao.arquivar.bind(this.dao)},title:"Desarquivar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}report(e,a){const i={id:e.id,join:["unidade.entidade","unidade.gestor.usuario:id","usuario","programa.template_tcr","tipo_modalidade","entregas.plano_entrega_entrega.entrega","entregas.plano_entrega_entrega.plano_entrega:id,unidade_id","entregas.plano_entrega_entrega.plano_entrega.unidade","entregas.entrega"]};this.grid?.buildRowReport(a,i)}enviarParaAssinatura(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"AGUARDANDO_ASSINATURA",onClick:this.dao.enviarParaAssinatura.bind(this.dao)},title:"Disponibilizar Plano de Trabalho para assinatura",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}reativar(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"ATIVO",onClick:this.dao.reativar.bind(this.dao)},title:"Reativar Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}suspender(e){this.go.navigate(this.routeStatus,{metadata:{tipo:"PlanoTrabalho",entity:e,novoStatus:"SUSPENSO",onClick:this.dao.suspender.bind(this.dao)},title:"Suspender Plano de Trabalho",modalClose:a=>{a&&(this.grid?.query||this.query).refreshId(e.id)}})}static#t=this.\u0275fac=function(a){return new(a||o)(t.Y36(t.zs3))};static#e=this.\u0275cmp=t.Xpm({type:o,selectors:[["plano-trabalho-list"]],viewQuery:function(a,i){if(1&a&&t.Gf(U.M,5),2&a){let l;t.iGM(l=t.CRH())&&(i.grid=l.first)}},features:[t.qOj],decls:69,vars:71,consts:[["multiselect","",3,"dao","add","title","orderBy","groupBy","join","selectable","relatorios","hasDelete","hasAdd","hasEdit","dynamicMultiselectMenu","multiselectAllFields","select"],[4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["controlName","usuario","placeholder","Usu\xe1rio",3,"size","label","control"],["controlName","unidade_id",3,"size","control","dao"],["label","Status","controlName","status","itemTodos","- Todos -",3,"size","items","control","valueTodos"],["label","Arquivados","controlName","arquivados","labelInfo","Listar tamb\xe9m os planos de trabalho arquivados",3,"size","control"],["controlName","tipo_modalidade_id",3,"size","control","dao"],["label","Data","itemTodos","- Nenhum -","controlName","data_filtro",3,"size","valueTodos","control","items"],["date","","label","In\xedcio","controlName","data_filtro_inicio","labelInfo","Data in\xedcio do per\xedodo",3,"size","disabled","control"],["date","","label","Fim","controlName","data_filtro_fim","labelInfo","Data fim do per\xedodo",3,"size","disabled","control"],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate",4,"ngIf"],[3,"titleTemplate","template","minWidth"],["titleNumero",""],["columnNumero",""],[3,"titleTemplate","template"],["titleUsuario",""],["columnUsuario",""],["title","Unidade",3,"template"],["columnUnidade",""],["title","Modalidade",3,"template"],["columnModalidade",""],["titleVigencia",""],["columnInicioVigencia",""],[3,"title","template"],["documento",""],["title","Status",3,"template"],["columnStatus",""],["type","options",3,"dynamicOptions","dynamicButtons"],["title","Numero",3,"template"],["reportNumero",""],["title","Matricula usu\xe1rio",3,"template"],["reportMatricula",""],["title","Programa",3,"template"],["reportPrograma",""],["reportUnidade",""],["reportModalidade",""],["title","In\xedcio vig\xeancia",3,"template"],["reportInicioVigencia",""],["title","Fim vig\xeancia",3,"template"],["reportFimVigencia",""],["title","Termo de Ades\xe3o",3,"template"],["reportTermoAdesao",""],[3,"rows"],["labelPosition","left","label","Lotados em minha unidade","controlName","lotados_minha_unidade",3,"size","control","change",4,"ngIf"],["labelPosition","left","label","Agrupar por unidade","controlName","agrupar",3,"size","control","change"],["labelPosition","left","label","Lotados em minha unidade","controlName","lotados_minha_unidade",3,"size","control","change"],["type","expand","icon","bi bi-list-check",3,"align","hint","template","expandTemplate"],["columnEntregas",""],["columnExpandedEntregas",""],["class","badge rounded-pill bg-light text-dark",4,"ngIf"],[1,"badge","rounded-pill","bg-light","text-dark"],[1,"bi","bi-list-check"],[3,"entity","planoTrabalhoEditavel","atualizaPlanoTrabalhoEvent"],["by","numero",3,"header"],["by","usuario.nome",3,"header"],["color","light","icon","bi bi-file-bar-graph",3,"label"],["by","data_inicio",3,"header"],["by","data_fim",3,"header"],[1,"d-block"],["color","#5362fb","icon","bi bi-calendar-check-fill","label","Vigente","hint","Vigente",4,"ngIf"],["color","#5362fb","icon","bi bi-calendar-check-fill","label","Vigente","hint","Vigente"],["signatures","","noRounded","","withLink","",3,"documento","maxWidth"],[3,"color","icon","label"],["color","warning","icon","bi bi-inboxes","label","Arquivado",4,"ngIf"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo",4,"ngIf"],["color","warning","icon","bi bi-inboxes","label","Arquivado"],["color","danger","icon","bi bi-trash3","label","Exclu\xeddo"]],template:function(a,i){if(1&a&&(t.TgZ(0,"grid",0),t.NdJ("select",function(C){return i.onSelect(C)}),t.YNc(1,r,3,3,"toolbar",1),t.TgZ(2,"filter",2)(3,"div",3),t._UZ(4,"input-text",4)(5,"input-search",5)(6,"input-select",6)(7,"input-switch",7),t.qZA(),t.TgZ(8,"div",3),t._UZ(9,"input-search",8)(10,"input-select",9)(11,"input-datetime",10)(12,"input-datetime",11),t.qZA()(),t.TgZ(13,"columns"),t.YNc(14,m,5,4,"column",12),t.TgZ(15,"column",13),t.YNc(16,u,2,1,"ng-template",null,14,t.W1O),t.YNc(18,R,2,1,"ng-template",null,15,t.W1O),t.qZA(),t.TgZ(20,"column",16),t.YNc(21,$,4,1,"ng-template",null,17,t.W1O),t.YNc(23,tt,4,2,"ng-template",null,18,t.W1O),t.qZA(),t.TgZ(25,"column",19),t.YNc(26,et,2,1,"ng-template",null,20,t.W1O),t.qZA(),t.TgZ(28,"column",21),t.YNc(29,at,2,1,"ng-template",null,22,t.W1O),t.qZA(),t.TgZ(31,"column",16),t.YNc(32,it,7,2,"ng-template",null,23,t.W1O),t.YNc(34,st,4,3,"ng-template",null,24,t.W1O),t.qZA(),t.TgZ(36,"column",25),t.YNc(37,nt,1,2,"ng-template",null,26,t.W1O),t.qZA(),t.TgZ(39,"column",27),t.YNc(40,dt,4,5,"ng-template",null,28,t.W1O),t.qZA(),t._UZ(42,"column",29),t.qZA(),t.TgZ(43,"report")(44,"column",30),t.YNc(45,ut,1,1,"ng-template",null,31,t.W1O),t.qZA(),t.TgZ(47,"column",32),t.YNc(48,_t,1,1,"ng-template",null,33,t.W1O),t.qZA(),t.TgZ(50,"column",34),t.YNc(51,ct,1,1,"ng-template",null,35,t.W1O),t.qZA(),t.TgZ(53,"column",19),t.YNc(54,ht,1,1,"ng-template",null,36,t.W1O),t.qZA(),t.TgZ(56,"column",21),t.YNc(57,mt,1,1,"ng-template",null,37,t.W1O),t.qZA(),t.TgZ(59,"column",38),t.YNc(60,pt,1,1,"ng-template",null,39,t.W1O),t.qZA(),t.TgZ(62,"column",40),t.YNc(63,At,1,1,"ng-template",null,41,t.W1O),t.qZA(),t.TgZ(65,"column",42),t.YNc(66,gt,1,1,"ng-template",null,43,t.W1O),t.qZA()(),t._UZ(68,"pagination",44),t.qZA()),2&a){const l=t.MAs(17),C=t.MAs(19),N=t.MAs(22),I=t.MAs(24),M=t.MAs(27),q=t.MAs(30),D=t.MAs(33),f=t.MAs(35),B=t.MAs(38),k=t.MAs(41),W=t.MAs(46),w=t.MAs(49),F=t.MAs(52),V=t.MAs(55),G=t.MAs(58),y=t.MAs(61),p=t.MAs(64),Z=t.MAs(67);t.Q6J("dao",i.dao)("add",i.add)("title",i.isModal?"":i.title)("orderBy",i.orderBy)("groupBy",i.groupBy)("join",i.join)("selectable",i.selectable)("relatorios",i.relatorios)("hasDelete",!1)("hasAdd",i.auth.hasPermissionTo("MOD_PTR_INCL"))("hasEdit",!1)("dynamicMultiselectMenu",i.dynamicMultiselectMenu.bind(i))("multiselectAllFields",i.multiselectAllFields),t.xp6(1),t.Q6J("ngIf",!i.selectable),t.xp6(1),t.Q6J("deleted",i.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",i.filter)("where",i.filterWhere)("submit",i.filterSubmit.bind(i))("clear",i.filterClear.bind(i))("collapseChange",i.filterCollapseChange.bind(i))("collapsed",!i.selectable&&i.filterCollapsed),t.xp6(2),t.Q6J("size",4)("label",i.lex.translate("Usu\xe1rio"))("control",i.filter.controls.usuario),t.uIk("maxlength",250),t.xp6(1),t.Q6J("size",4)("control",i.filter.controls.unidade_id)("dao",i.unidadeDao),t.xp6(1),t.Q6J("size",2)("items",i.lookup.PLANO_TRABALHO_STATUS)("control",i.filter.controls.status)("valueTodos",null),t.xp6(1),t.Q6J("size",2)("control",i.filter.controls.arquivados),t.xp6(2),t.Q6J("size",6)("control",i.filter.controls.tipo_modalidade_id)("dao",i.tipoModalidadeDao),t.xp6(1),t.Q6J("size",2)("valueTodos",null)("control",i.filter.controls.data_filtro)("items",i.DATAS_FILTRO),t.xp6(1),t.Q6J("size",2)("disabled",null==i.filter.controls.data_filtro.value?"true":void 0)("control",i.filter.controls.data_filtro_inicio),t.xp6(1),t.Q6J("size",2)("disabled",null==i.filter.controls.data_filtro.value?"true":void 0)("control",i.filter.controls.data_filtro_fim),t.xp6(2),t.Q6J("ngIf",!i.selectable),t.xp6(1),t.Q6J("titleTemplate",l)("template",C)("minWidth",50),t.xp6(5),t.Q6J("titleTemplate",N)("template",I),t.xp6(5),t.Q6J("template",M),t.xp6(3),t.Q6J("template",q),t.xp6(3),t.Q6J("titleTemplate",D)("template",f),t.xp6(5),t.Q6J("title","Termo\nAssinaturas")("template",B),t.xp6(3),t.Q6J("template",k),t.xp6(3),t.Q6J("dynamicOptions",i.dynamicOptions.bind(i))("dynamicButtons",i.dynamicButtons.bind(i)),t.xp6(2),t.Q6J("template",W),t.xp6(3),t.Q6J("template",w),t.xp6(3),t.Q6J("template",F),t.xp6(3),t.Q6J("template",V),t.xp6(3),t.Q6J("template",G),t.xp6(3),t.Q6J("template",y),t.xp6(3),t.Q6J("template",p),t.xp6(3),t.Q6J("template",Z),t.xp6(3),t.Q6J("rows",i.rowsLimit)}}})}return o})()},684:(z,L,d)=>{d.d(L,{p:()=>J});var U=d(8239),S=d(3972),A=d(755),b=d(2333),x=d(9193),g=d(2307),T=d(9702),E=d(7744),O=d(1095),v=d(9367);let J=(()=>{class P{constructor(t,s,r,_,c,h,m,u){this.auth=t,this.util=s,this.go=r,this.lookup=_,this.dao=c,this.avaliacaoDao=h,this.templateService=m,this.planoTrabalhoDao=u}template(t){return t.programa?.template_tcr}metadados(t){return{needSign:this.needSign.bind(this),extraTags:this.extraTags.bind(this),especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",dataset:this.planoTrabalhoDao.dataset(),datasource:this.planoTrabalhoDao.datasource(t),template:t.programa?.template_tcr,template_id:t.programa?.template_tcr_id}}needSign(t,s){const r=t,_=s||(r?.documentos||[]).find(c=>r?.documento_id?.length&&c.id==r?.documento_id)||r?.documento;if(t&&_&&!_.assinaturas?.find(c=>c.usuario_id==this.auth.usuario.id)){const c=r.tipo_modalidade,h=r.programa,m=this.auth.entidade;let u=[];return h?.plano_trabalho_assinatura_participante&&u.push(r.usuario_id),h?.plano_trabalho_assinatura_gestor_lotacao&&u.push(...this.auth.gestoresLotacao.map(R=>R.id)),h?.plano_trabalho_assinatura_gestor_unidade&&u.push(r.unidade?.gestor?.id||"",...r.unidade?.gestores_substitutos?.map(R=>R.id)||""),h?.plano_trabalho_assinatura_gestor_entidade&&u.push(m.gestor_id||"",m.gestor_substituto_id||""),!!c&&u.includes(this.auth.usuario.id)}return!1}extraTags(t,s,r){const _=t;let c=[];return _?.documento_id==s.id&&c.push({key:s.id,value:"Vigente",icon:"bi bi-check-all",color:"primary"}),JSON.stringify(r.tags)!=JSON.stringify(c)&&(r.tags=c),r.tags}tipoEntrega(t,s){let r=s||t.plano_trabalho,_=t.plano_entrega_entrega?.plano_entrega?.unidade_id==r.unidade_id?"PROPRIA_UNIDADE":t.plano_entrega_entrega?"OUTRA_UNIDADE":t.orgao?.length?"OUTRO_ORGAO":"SEM_ENTREGA",c=this.lookup.ORIGENS_ENTREGAS_PLANO_TRABALHO.find(u=>u.key==_)||{key:"",value:"Desconhecido1"};return{titulo:c.value,cor:c.color||"danger",nome:r?._metadata?.novaEntrega?.plano_entrega_entrega?.entrega?.nome||t.plano_entrega_entrega?.entrega?.nome||"Desconhecido2",tipo:_,descricao:r?._metadata?.novaEntrega?.plano_entrega_entrega?.descricao||t.plano_entrega_entrega?.descricao||""}}atualizarTcr(t,s,r,_){if(s.usuario&&s.unidade){let c=this.dao.datasource(t),h=this.dao.datasource(s),m=s.programa;if(h.usuario.texto_complementar_plano=r||s.usuario?.texto_complementar_plano||"",h.unidade.texto_complementar_plano=_||s.unidade?.texto_complementar_plano||"",(m?.termo_obrigatorio||s.documento_id?.length)&&JSON.stringify(h)!=JSON.stringify(c)&&m?.template_tcr){let u=s.documentos?.find(R=>R.id==s.documento_id);s.documento_id?.length&&u&&!u.assinaturas?.length&&"LINK"!=u.tipo?(u.conteudo=this.templateService.renderTemplate(m?.template_tcr?.conteudo||"",h),u.dataset=this.dao.dataset(),u.datasource=h,u._status="ADD"==u._status?"ADD":"EDIT"):(u=new S.U({id:this.dao?.generateUuid(),tipo:"HTML",especie:"TCR",titulo:"Termo de Ci\xeancia e Responsabilidade",conteudo:this.templateService.renderTemplate(m?.template_tcr?.conteudo||"",h),status:"GERADO",_status:"ADD",template:m?.template_tcr?.conteudo,dataset:this.dao.dataset(),datasource:h,entidade_id:this.auth.entidade?.id,plano_trabalho_id:s.id,template_id:m?.template_tcr_id}),s.documentos.push(u)),s.documento=u,s.documento_id=u?.id||null}}return s.documento}situacaoPlano(t){return t.deleted_at?"EXCLUIDO":t.data_arquivamento?"ARQUIVADO":t.status}isValido(t){return!t.deleted_at&&"CANCELADO"!=t.status&&!t.data_arquivamento}estaVigente(t){let s=new Date;return"ATIVO"==t.status&&t.data_inicio<=s&&t.data_fim>=s}diasParaConcluirConsolidacao(t,s){return t&&s?this.util.daystamp(t.data_fim)+s.dias_tolerancia_avaliacao-this.util.daystamp(this.auth.hora):-1}avaliar(t,s,r){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",t.id,"avaliar"]},{modal:!0,metadata:{consolidacao:t,programa:s},modalClose:_=>{_&&(t.status="AVALIADO",t.avaliacao_id=_.id,t.avaliacao=_,r(t))}})}visualizarAvaliacao(t){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",t.id,"verAvaliacoes"]},{modal:!0,metadata:{consolidacao:t}})}fazerRecurso(t,s,r){this.go.navigate({route:["gestao","plano-trabalho","consolidacao",t.id,"recurso"]},{modal:!0,metadata:{recurso:!0,consolidacao:t,programa:s},modalClose:_=>{_&&(t.avaliacao=_,r(t))}})}cancelarAvaliacao(t,s,r){var _=this;return(0,U.Z)(function*(){s.submitting=!0;try{(yield _.avaliacaoDao.cancelarAvaliacao(t.avaliacao.id))&&(t.status="CONCLUIDO",t.avaliacao_id=null,t.avaliacao=void 0,r(t))}catch(c){s.error(c.message||c)}finally{s.submitting=!1}})()}usuarioAssinou(t,s){return s=s||this.auth.usuario.id,Object.values(t).some(r=>(r||[]).includes(s))}assinaturasFaltantes(t,s){return{participante:t.participante.filter(r=>!s.participante.includes(r)),gestores_unidade_executora:t.gestores_unidade_executora.length?t.gestores_unidade_executora.filter(r=>s.gestores_unidade_executora.includes(r)).length?[]:t.gestores_unidade_executora:[],gestores_unidade_lotacao:t.gestores_unidade_lotacao.length?t.gestores_unidade_lotacao.filter(r=>s.gestores_unidade_lotacao.includes(r)).length?[]:t.gestores_unidade_lotacao:[],gestores_entidade:t.gestores_entidade.length?t.gestores_entidade.filter(r=>s.gestores_entidade.includes(r)).length?[]:t.gestores_entidade:[]}}static#t=this.\u0275fac=function(s){return new(s||P)(A.LFG(b.e),A.LFG(x.f),A.LFG(g.o),A.LFG(T.W),A.LFG(E.t),A.LFG(O.w),A.LFG(v.E),A.LFG(E.t))};static#e=this.\u0275prov=A.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()}}]); \ No newline at end of file diff --git a/back-end/public/app.json b/back-end/public/app.json index c74920964..0bada46c0 100644 --- a/back-end/public/app.json +++ b/back-end/public/app.json @@ -1,5 +1,5 @@ { - "version": "2.0.16", + "version": "2.0.17", "externalLibs": [ "https://apis.google.com/js/platform.js" ], diff --git a/back-end/public/assets/build-info.json b/back-end/public/assets/build-info.json index 532c9ab2c..d4b33bb99 100644 --- a/back-end/public/assets/build-info.json +++ b/back-end/public/assets/build-info.json @@ -1,6 +1,4 @@ { - - "build_date": "2024-07-02T14:29:55.904Z", - "build_number": 1719930595905 -} - + "build_date": "2024-08-06T20:57:20.089Z", + "build_number": 1722977840090 +} \ No newline at end of file diff --git a/back-end/public/common.js b/back-end/public/common.js index 96e3d5e9e..c65bf81a1 100644 --- a/back-end/public/common.js +++ b/back-end/public/common.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[592],{959:(T,C,l)=>{l.d(C,{t:()=>c});var s=l(8239),u=l(5736),i=l(2307),E=l(1454),d=l(755),v=l(3232),I=l(6733);const D=function(g){return{cursor:g}};let c=(()=>{class g extends u.V{set imgIcon(e){this._imgIcon!=e&&(this._imgIcon=e,this.loadSvg())}get imgIcon(){return this._imgIcon}constructor(e,o){super(e),this.injector=e,this.sanitizer=o,this.title="",this.textColor="#ddd",this.borderColor="#000",this.externalLink=!1,this._imgIcon=!1,this.go=e.get(i.o),this.server=e.get(E.N)}ngOnInit(){}loadSvg(){var e=this;return(0,s.Z)(function*(){e.seuCodigoSvg$=yield e.server.getSvg(e.imgIcon)})()}onClick(){this.route&&(this.externalLink?window.open(this.route.route.toString(),"_blank"):this.go.navigate(this.route,this.metadata))}static#e=this.\u0275fac=function(o){return new(o||g)(d.Y36(d.zs3),d.Y36(v.H7))};static#t=this.\u0275cmp=d.Xpm({type:g,selectors:[["app-button-dashboard"]],inputs:{title:"title",textColor:"textColor",borderColor:"borderColor",route:"route",metadata:"metadata",externalLink:"externalLink",imgIcon:"imgIcon"},features:[d.qOj],decls:6,vars:7,consts:[[1,"card","h-100",3,"ngStyle","click"],[1,"card-body","text-center","buttons-home"],[3,"innerHTML"],[1,"fs-5","fw-semibold","mt-3"]],template:function(o,t){if(1&o&&(d.TgZ(0,"div",0),d.NdJ("click",function(){return t.onClick()}),d.TgZ(1,"div",1),d._UZ(2,"div",2),d.ALo(3,"async"),d.TgZ(4,"h2",3),d._uU(5),d.qZA()()()),2&o){let n;d.Q6J("ngStyle",d.VKq(5,D,t.route?"pointer":"inherit")),d.xp6(2),d.Q6J("innerHTML",t.sanitizer.bypassSecurityTrustHtml(null!==(n=d.lcZ(3,3,t.seuCodigoSvg$))&&void 0!==n?n:""),d.oJD),d.xp6(3),d.Oqu(t.title)}},dependencies:[I.PC,I.Ov],styles:[".card[_ngcontent-%COMP%]:hover{box-shadow:inset 5px -8px 9px #a5a5a554}"]})}return g})()},3417:(T,C,l)=>{l.d(C,{S:()=>D});var s=l(755),u=l(2133),i=l(645),E=l(6733),d=l(8544);const v=["inputElement"];function I(c,g){if(1&c){const a=s.EpF();s.TgZ(0,"input",4,5),s.NdJ("change",function(o){s.CHM(a);const t=s.oxw();return s.KtG(t.onChange(o))}),s.qZA()}if(2&c){const a=s.oxw();s.ekj("is-invalid",a.isInvalid()),s.Q6J("formControl",a.workControl)("id",a.generatedId(a.controlName))("readonly",a.isDisabled),s.uIk("aria-describedby",a.controlName+"_button")("max",a.isDaysOrHours?void 0:a.maxValue)}}let D=(()=>{class c extends i.M{set unit(a){this._unit!=a&&(this._unit=a,this.maxValue="day"==this.unit?24:"week"==this.unit?120:480,this.valueToWork(),this.detectChanges())}get unit(){return this._unit}set control(a){this._control=a}get control(){return this.getControl()}set size(a){this.setSize(a)}get size(){return this.getSize()}constructor(a){super(a),this.injector=a,this.class="form-group",this.change=new s.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value=0,this.loading=!1,this.workControl=new u.NI,this.maxValue=24,this._unit="day"}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(a=>this.valueToWork()),this.valueToWork())}onButtonClick(a){const e=this.isDaysOrHours?"day"==this.unit?"hour":"day":"day"==this.unit?"week":"week"==this.unit?"mouth":"day";console.log(this.unit,e),this.unit=e,this.unitChange&&this.unitChange(e)}get isDaysOrHours(){return null!=this.daysOrHours}get iconWork(){return"hour"==this.unit?"bi bi-clock":"day"==this.unit?"bi bi-calendar3-event":"week"==this.unit?"bi bi-calendar3-week":"bi bi-calendar3"}get unitWork(){return"hour"==this.unit?"horas":"day"==this.unit?this.isDaysOrHours?"dias":"h/dia":"week"==this.unit?"h/semana":"h/m\xeas"}onChange(a){this.workToValue(),this.change&&this.change.emit(a)}valueToWork(){const a=["hour","day"].includes(this.unit)?1:"week"==this.unit?5:20,e=this.control?this.control.value*a:this.value*a;this.workControl.value!=e&&this.workControl.setValue(e)}workToValue(){const a=["hour","day"].includes(this.unit)?1:"week"==this.unit?5:20,e=this.workControl.value/a;this.control?this.control.value!=e&&this.control.setValue(e):this.value!=e&&(this.value=e)}static#e=this.\u0275fac=function(e){return new(e||c)(s.Y36(s.zs3))};static#t=this.\u0275cmp=s.Xpm({type:c,selectors:[["input-workload"]],viewQuery:function(e,o){if(1&e&&s.Gf(v,5),2&e){let t;s.iGM(t=s.CRH())&&(o.inputElement=t.first)}},hostVars:2,hostBindings:function(e,o){2&e&&s.Tol(o.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",form:"form",source:"source",path:"path",daysOrHours:"daysOrHours",maxLength:"maxLength",required:"required",unitChange:"unitChange",unit:"unit",control:"control",size:"size"},outputs:{change:"change"},features:[s._Bn([],[{provide:u.gN,useExisting:u.sg}]),s.qOj],decls:6,vars:18,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["type","number","class","form-control","min","0",3,"formControl","id","is-invalid","readonly","change",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],["type","number","min","0",1,"form-control",3,"formControl","id","readonly","change"],["inputElement",""]],template:function(e,o){1&e&&(s.TgZ(0,"input-container",0)(1,"div",1),s.YNc(2,I,2,7,"input",2),s.TgZ(3,"button",3),s.NdJ("click",function(n){return o.onButtonClick(n)}),s._UZ(4,"i"),s._uU(5),s.qZA()()()),2&e&&(s.Q6J("labelPosition",o.labelPosition)("labelClass",o.labelClass)("controlName",o.controlName)("required",o.required)("control",o.control)("loading",!1)("disabled",o.disabled)("label",o.label)("labelInfo",o.labelInfo)("icon",o.icon)("bold",o.bold),s.xp6(2),s.Q6J("ngIf",o.viewInit),s.xp6(1),s.ekj("disabled",o.isDisabled),s.Q6J("id",o.generatedId(o.controlName)+"_button"),s.xp6(1),s.Tol(o.iconWork),s.xp6(1),s.hij(" ",o.unitWork," "))},dependencies:[E.O5,u.Fj,u.wV,u.JJ,u.qQ,u.oH,d.h],styles:["input[type=number][_ngcontent-%COMP%]:read-only, input[type=number][_ngcontent-%COMP%]:disabled{background-color:#e9ecef}"]})}return c})()},5296:(T,C,l)=>{l.d(C,{H:()=>u});var s=l(4368);class u extends s.X{constructor(E){super(),this.nome="",this.initialization(E)}}},5007:(T,C,l)=>{l.d(C,{Z:()=>c});var s=l(8239),u=l(2559),i=l(755),E=l(8720),d=l(9193),v=l(8820),I=l(4495),D=l(7819);let c=(()=>{class g{set disabled(e){this._disabled!=e&&(this._disabled=e,this.loadExpediente())}get disabled(){return this._disabled}set control(e){var o=this;this._control!=e&&(this._control=e,this.expediente=this.control?.value,e?.valueChanges.subscribe(function(){var t=(0,s.Z)(function*(n){o.expediente=n});return function(n){return t.apply(this,arguments)}}()))}get control(){return this._control}set expediente(e){this._expediente!=e&&(this._expediente=e,this.loadExpediente())}get expediente(){return this._expediente}constructor(e,o,t){this.fh=e,this.cdRef=o,this.util=t,this.diasSemana=["domingo","segunda","terca","quarta","quinta","sexta","sabado"],this.validate=(n,r)=>{for(let p of this.diasSemana)if(r.startsWith(p)&&r.endsWith("_fim")&&n?.value?.length){let h=this.form?.controls[p+"_inicio"]?.value;if(!this.util.isTimeValid(h)||!this.util.isTimeValid(n.value)||this.util.getStrTimeHours(h)>this.util.getStrTimeHours(n.value))return"Inv\xe1lido"}return null},this.form=e.FormBuilder({domingo:{default:[]},segunda:{default:[]},terca:{default:[]},quarta:{default:[]},quinta:{default:[]},sexta:{default:[]},sabado:{default:[]},especial:{default:[]},domingo_inicio:{default:""},domingo_fim:{default:""},segunda_inicio:{default:""},segunda_fim:{default:""},terca_inicio:{default:""},terca_fim:{default:""},quarta_inicio:{default:""},quarta_fim:{default:""},quinta_inicio:{default:""},quinta_fim:{default:""},sexta_inicio:{default:""},sexta_fim:{default:""},sabado_inicio:{default:""},sabado_fim:{default:""},especial_inicio:{default:""},especial_fim:{default:""},especial_data:{default:null},especial_sem:{default:!1}},this.cdRef,this.validate)}ngOnInit(){}get isDisabled(){return null!=this._disabled}loadExpediente(){let e=(this.isDisabled?this.expedienteDisabled:this._expediente)||new u.z;const o=(t,n)=>t.map(r=>Object.assign({},{key:this.util.textHash(("especial"==n?this.util.getDateFormatted(r.data):"")+n+r.inicio+r.fim),value:("especial"==n?this.util.getDateFormatted(r.data)+" - ":"")+r.inicio+" at\xe9 "+r.fim,data:{inicio:r.inicio,fim:r.fim,data:r.data,sem:r.sem}}));this.isDisabled||(this._expediente=e),this.form.controls.domingo.setValue(o(e.domingo,"domingo")),this.form.controls.segunda.setValue(o(e.segunda,"segunda")),this.form.controls.terca.setValue(o(e.terca,"terca")),this.form.controls.quarta.setValue(o(e.quarta,"quarta")),this.form.controls.quinta.setValue(o(e.quinta,"quinta")),this.form.controls.sexta.setValue(o(e.sexta,"sexta")),this.form.controls.sabado.setValue(o(e.sabado,"sabado")),this.form.controls.especial.setValue(o(e.especial,"especial"))}saveExpediente(){this.isDisabled||(this._expediente=this._expediente||new u.z,this._expediente.domingo=this.form.controls.domingo.value.map(e=>e.data),this._expediente.segunda=this.form.controls.segunda.value.map(e=>e.data),this._expediente.terca=this.form.controls.terca.value.map(e=>e.data),this._expediente.quarta=this.form.controls.quarta.value.map(e=>e.data),this._expediente.quinta=this.form.controls.quinta.value.map(e=>e.data),this._expediente.sexta=this.form.controls.sexta.value.map(e=>e.data),this._expediente.sabado=this.form.controls.sabado.value.map(e=>e.data),this._expediente.especial=this.form.controls.especial.value.map(e=>e.data),this.control&&(this.control.setValue(this._expediente),this.cdRef.detectChanges()))}isEmpty(){return!1}addItemHandleDomingo(){return this.addItemHandle("domingo")}addItemHandleSegunda(){return this.addItemHandle("segunda")}addItemHandleTerca(){return this.addItemHandle("terca")}addItemHandleQuarta(){return this.addItemHandle("quarta")}addItemHandleQuinta(){return this.addItemHandle("quinta")}addItemHandleSexta(){return this.addItemHandle("sexta")}addItemHandleSabado(){return this.addItemHandle("sabado")}addItemHandleEspecial(){return this.addItemHandle("especial")}onChange(){this.saveExpediente()}addItemHandle(e){let o;const t=this.form.controls[e+"_inicio"].value,n=this.form.controls[e+"_fim"].value,r=this.form.controls.especial_data.value,b=this.form.controls.especial_sem.value,p=this.util.textHash(("especial"==e?this.util.getDateFormatted(r):"")+e+t+n),h=this.form.controls[e].value;return this.util.isTimeValid(t)&&this.util.isTimeValid(n)&&this.util.getStrTimeHours(t)0&&h.forEach(f=>{const m=f.data.inicio,_=f.data.fim;(t>=m&&n<=m||t<=m&&n>=m||t>=m&&n<=m||t<=m&&n>=_||t>=m&&t<=_||n>=m&&n<=_||t==_||n==m)&&(console.log("Conflitante"),o=void 0)}),this.form.controls[e+"_inicio"].setValue(""),this.form.controls[e+"_fim"].setValue(""),"especial"==e&&(this.form.controls[e+"_data"].setValue(null),this.form.controls[e+"_sem"].setValue(!1)),o}static#e=this.\u0275fac=function(o){return new(o||g)(i.Y36(E.k),i.Y36(i.sBO),i.Y36(d.f))};static#t=this.\u0275cmp=i.Xpm({type:g,selectors:[["calendar-expediente"]],inputs:{expedienteDisabled:"expedienteDisabled",disabled:"disabled",control:"control",expediente:"expediente"},decls:28,vars:76,consts:[[1,"row"],["label","Domingo","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","domingo_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","domingo_fim",3,"size","control"],["label","Segunda","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","segunda_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","segunda_fim",3,"size","control"],["label","Ter\xe7a","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","terca_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","terca_fim",3,"size","control"],["label","Quarta","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","quarta_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","quarta_fim",3,"size","control"],["label","Quinta","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","quinta_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","quinta_fim",3,"size","control"],["label","Sexta","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","sexta_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","sexta_fim",3,"size","control"],["label","Sabado","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","sabado_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","sabado_fim",3,"size","control"],["label","Especial","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","date","","label","Dia","controlName","especial_data",3,"size","control"],["label","Sem","controlName","especial_sem","labelInfo","Sem expediente. Se o hor\xe1rio ir\xe1 representar um per\xedodo que n\xe1o haver\xe1 expediente.",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","especial_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","especial_fim",3,"size","control"]],template:function(o,t){1&o&&(i.TgZ(0,"div",0)(1,"input-multiselect",1),i._UZ(2,"input-datetime",2)(3,"input-datetime",3),i.qZA(),i.TgZ(4,"input-multiselect",4),i._UZ(5,"input-datetime",5)(6,"input-datetime",6),i.qZA(),i.TgZ(7,"input-multiselect",7),i._UZ(8,"input-datetime",8)(9,"input-datetime",9),i.qZA(),i.TgZ(10,"input-multiselect",10),i._UZ(11,"input-datetime",11)(12,"input-datetime",12),i.qZA()(),i.TgZ(13,"div",0)(14,"input-multiselect",13),i._UZ(15,"input-datetime",14)(16,"input-datetime",15),i.qZA(),i.TgZ(17,"input-multiselect",16),i._UZ(18,"input-datetime",17)(19,"input-datetime",18),i.qZA(),i.TgZ(20,"input-multiselect",19),i._UZ(21,"input-datetime",20)(22,"input-datetime",21),i.qZA(),i.TgZ(23,"input-multiselect",22),i._UZ(24,"input-datetime",23)(25,"input-switch",24)(26,"input-datetime",25)(27,"input-datetime",26),i.qZA()()),2&o&&(i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.domingo)("size",3)("addItemHandle",t.addItemHandleDomingo.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.domingo_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.domingo_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.segunda)("size",3)("addItemHandle",t.addItemHandleSegunda.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.segunda_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.segunda_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.terca)("size",3)("addItemHandle",t.addItemHandleTerca.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.terca_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.terca_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.quarta)("size",3)("addItemHandle",t.addItemHandleQuarta.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quarta_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quarta_fim),i.xp6(2),i.Q6J("disabled",t.disabled)("control",t.form.controls.quinta)("size",3)("addItemHandle",t.addItemHandleQuinta.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quinta_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quinta_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.sexta)("size",3)("addItemHandle",t.addItemHandleSexta.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sexta_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sexta_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.sabado)("size",3)("addItemHandle",t.addItemHandleSabado.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sabado_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sabado_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.especial)("size",3)("addItemHandle",t.addItemHandleEspecial.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",8)("control",t.form.controls.especial_data),i.xp6(1),i.Q6J("size",4)("control",t.form.controls.especial_sem),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.especial_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.especial_fim))},dependencies:[v.a,I.k,D.p]})}return g})()},7918:(T,C,l)=>{l.d(C,{X:()=>D});var s=l(8239),u=l(9702),i=l(9193),E=l(5545),d=l(5908),v=l(6898),I=l(755);let D=(()=>{class c{constructor(a){this.injector=a,this.lookup=this.injector.get(u.W),this.lex=this.injector.get(d.E),this.dialog=this.injector.get(E.x),this.util=this.injector.get(i.f)}converterAtribuicoes(a){return a.map(e=>Object.assign({},{key:e,value:this.lookup.getValue(this.lookup.UNIDADE_INTEGRANTE_TIPO,e),icon:this.lookup.getIcon(this.lookup.UNIDADE_INTEGRANTE_TIPO,e),color:this.lookup.getColor(this.lookup.UNIDADE_INTEGRANTE_TIPO,e)}))}haAlteracaoGestor(a,e,o,t){let n="",r=this.util.array_diff(e.atribuicoes,a).includes("GESTOR"),b=this.util.array_diff(a,e.atribuicoes).includes("GESTOR");if(!r&&!b)return["nenhuma",-1,"",!1];let p=this.lookup.getValue(this.lookup.UNIDADE_INTEGRANTE_TIPO,"GESTOR")+" "+this.lex.translate("da Unidade")+" ";if(r)return n=t.toUpperCase()+" deixar\xe1 de ser "+p+e.unidade_sigla?.toUpperCase()+".",["perda",-1,n,!1];let h=e.atribuicoes.includes("LOTADO");n=t.toUpperCase()+" passar\xe1 a ser "+p+e.unidade_sigla?.toUpperCase();let f=o.find(_=>_.atribuicoes.includes("GESTOR")),m=o.findIndex((_,O,P)=>_.atribuicoes.includes("LOTADO"));return n=f?.id.length?n+" e deixar\xe1 de ser "+p+f.unidade_sigla+". ":n+". ",!h&&m>=0&&(n+="Por consequ\xeancia, sua lota\xe7\xe3o ser\xe1 alterada de "+o[m].unidade_sigla?.toUpperCase()+" para "+e.unidade_sigla?.toUpperCase()+"."),f?.id.length?["troca",o.findIndex(_=>_.id==f?.id),n,!0]:["ganho",-1,n,!h]}haAlteracaoGerencia(a,e,o,t){let n="",r=this.util.array_diff(e.atribuicoes,a).includes("GESTOR"),b=this.util.array_diff(a,e.atribuicoes).includes("GESTOR");if(!r&&!b)return["nenhuma",-1,"",!1];let p=this.lookup.getValue(this.lookup.UNIDADE_INTEGRANTE_TIPO,"GESTOR")+" "+this.lex.translate("da Unidade")+" ";if(r)return n=e.usuario_nome?.toUpperCase()+" deixar\xe1 de ser "+p+t.toUpperCase()+".",["perda",-1,n,!1];let h=e.atribuicoes.includes("LOTADO");n=e.usuario_nome?.toUpperCase()+" passar\xe1 a ser "+p+t.toUpperCase();let f=o.find(_=>_.atribuicoes.includes("GESTOR"));n=(f?.id.length?n+" em substitui\xe7\xe3o a "+f.usuario_nome?.toUpperCase():n)+". ";let m=o.findIndex((_,O,P)=>_.atribuicoes.includes("LOTADO"));return!h&&m>=0&&(n+="Como \xe9 lotado em outra unidade, a lota\xe7\xe3o de "+e.usuario_nome?.toUpperCase()+" ser\xe1 alterada para "+this.lex.translate("a Unidade")+" - "+t.toUpperCase()+"."),f?.id.length?["troca",o.findIndex(_=>_.id==f?.id),n,!0]:["ganho",-1,n,!h]}haAlteracaoLotacao(a,e,o,t){let n=a.controls.atribuicoes.value.map(h=>h.key),r=o.findIndex((h,f,m)=>h.atribuicoes.includes("LOTADO"));if(!n.includes("LOTADO")||-1==r)return[!1,-1,"",""];let b=this.lex.translate("A lota\xe7\xe3o")+" de "+t.toUpperCase()+" passar\xe1 de "+o[r].unidade_sigla?.toUpperCase()+" para "+e.unidade_sigla?.toUpperCase()+".",p="N\xe3o \xe9 poss\xedvel alterar a lota\xe7\xe3o de "+t.toUpperCase()+" porque \xe9 Chefe da sua atual unidade de lota\xe7\xe3o - "+o[r].unidade_sigla?.toUpperCase()+".";return a.controls.unidade_id.value!=o[r].unidade_id?[!0,r,b,p]:[!1,-1,"",""]}inserirAtribuicao(a,e){let o=this.lookup.getLookup(this.lookup.UNIDADE_INTEGRANTE_TIPO,e);return o&&a.push(o),this.lookup.uniqueLookupItem(a)}ordenarIntegrantes(a){return a.sort((e,o)=>{let t=(e.usuario_nome||e.unidade_nome)?.toLowerCase(),n=(o.usuario_nome||o.unidade_nome)?.toLowerCase();return tn?1:0}),a.forEach(e=>{e.atribuicoes.sort()}),a}completarIntegrante(a,e,o,t){return Object.assign({},a,{unidade_id:e,usuario_id:o,atribuicoes:t})}ehPermitidoApagar(a){var e=this;let t=!["LOTADO"].includes(a),n="LOTADO"==a?"A lota\xe7\xe3o do servidor n\xe3o pode ser apagada. Para alter\xe1-la, lote-o em outra Unidade.":"";return(0,s.Z)(function*(){t||(yield e.dialog.alert("N\xc3O PERMITIDO!",n))})(),t}substituirItem(a,e,o){let t=a.itens.findIndex(b=>b.id==a.id),n=o instanceof v.b;return a.itens[t]=this.completarIntegrante(n?{id:a.id,unidade_sigla:a.apelidoOuSigla,unidade_nome:a.nome,unidade_codigo:a.codigo}:{id:a.id,usuario_apelido:a.apelidoOuSigla,usuario_nome:a.nome},n?a.id:o.id,n?o.id:a.id,e),a.itens}static#e=this.\u0275fac=function(e){return new(e||c)(I.LFG(I.zs3))};static#t=this.\u0275prov=I.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()}}]); \ No newline at end of file +"use strict";(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[592],{959:(T,C,l)=>{l.d(C,{t:()=>c});var s=l(8239),u=l(5736),i=l(2307),h=l(1454),d=l(755),g=l(3232),I=l(6733);const D=function(E){return{cursor:E}};let c=(()=>{class E extends u.V{set imgIcon(e){this._imgIcon!=e&&(this._imgIcon=e,this.loadSvg())}get imgIcon(){return this._imgIcon}constructor(e,o){super(e),this.injector=e,this.sanitizer=o,this.title="",this.textColor="#ddd",this.borderColor="#000",this.externalLink=!1,this._imgIcon=!1,this.go=e.get(i.o),this.server=e.get(h.N)}ngOnInit(){}loadSvg(){var e=this;return(0,s.Z)(function*(){e.seuCodigoSvg$=yield e.server.getSvg(e.imgIcon)})()}onClick(){this.route&&(this.externalLink?window.open(this.route.route.toString(),"_blank"):this.go.navigate(this.route,this.metadata))}static#e=this.\u0275fac=function(o){return new(o||E)(d.Y36(d.zs3),d.Y36(g.H7))};static#t=this.\u0275cmp=d.Xpm({type:E,selectors:[["app-button-dashboard"]],inputs:{title:"title",textColor:"textColor",borderColor:"borderColor",route:"route",metadata:"metadata",externalLink:"externalLink",imgIcon:"imgIcon"},features:[d.qOj],decls:6,vars:7,consts:[[1,"card","h-100",3,"ngStyle","click"],[1,"card-body","text-center","buttons-home"],[3,"innerHTML"],[1,"fs-5","fw-semibold","mt-3"]],template:function(o,t){if(1&o&&(d.TgZ(0,"div",0),d.NdJ("click",function(){return t.onClick()}),d.TgZ(1,"div",1),d._UZ(2,"div",2),d.ALo(3,"async"),d.TgZ(4,"h2",3),d._uU(5),d.qZA()()()),2&o){let n;d.Q6J("ngStyle",d.VKq(5,D,t.route?"pointer":"inherit")),d.xp6(2),d.Q6J("innerHTML",t.sanitizer.bypassSecurityTrustHtml(null!==(n=d.lcZ(3,3,t.seuCodigoSvg$))&&void 0!==n?n:""),d.oJD),d.xp6(3),d.Oqu(t.title)}},dependencies:[I.PC,I.Ov],styles:[".card[_ngcontent-%COMP%]:hover{box-shadow:inset 5px -8px 9px #a5a5a554}"]})}return E})()},3417:(T,C,l)=>{l.d(C,{S:()=>D});var s=l(755),u=l(2133),i=l(645),h=l(6733),d=l(8544);const g=["inputElement"];function I(c,E){if(1&c){const a=s.EpF();s.TgZ(0,"input",4,5),s.NdJ("change",function(o){s.CHM(a);const t=s.oxw();return s.KtG(t.onChange(o))}),s.qZA()}if(2&c){const a=s.oxw();s.ekj("is-invalid",a.isInvalid()),s.Q6J("formControl",a.workControl)("id",a.generatedId(a.controlName))("readonly",a.isDisabled),s.uIk("aria-describedby",a.controlName+"_button")("max",a.isDaysOrHours?void 0:a.maxValue)}}let D=(()=>{class c extends i.M{set unit(a){this._unit!=a&&(this._unit=a,this.maxValue="day"==this.unit?24:"week"==this.unit?120:480,this.valueToWork(),this.detectChanges())}get unit(){return this._unit}set control(a){this._control=a}get control(){return this.getControl()}set size(a){this.setSize(a)}get size(){return this.getSize()}constructor(a){super(a),this.injector=a,this.class="form-group",this.change=new s.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value=0,this.loading=!1,this.workControl=new u.NI,this.maxValue=24,this._unit="day"}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(a=>this.valueToWork()),this.valueToWork())}onButtonClick(a){const e=this.isDaysOrHours?"day"==this.unit?"hour":"day":"day"==this.unit?"week":"week"==this.unit?"mouth":"day";console.log(this.unit,e),this.unit=e,this.unitChange&&this.unitChange(e)}get isDaysOrHours(){return null!=this.daysOrHours}get iconWork(){return"hour"==this.unit?"bi bi-clock":"day"==this.unit?"bi bi-calendar3-event":"week"==this.unit?"bi bi-calendar3-week":"bi bi-calendar3"}get unitWork(){return"hour"==this.unit?"horas":"day"==this.unit?this.isDaysOrHours?"dias":"h/dia":"week"==this.unit?"h/semana":"h/m\xeas"}onChange(a){this.workToValue(),this.change&&this.change.emit(a)}valueToWork(){const a=["hour","day"].includes(this.unit)?1:"week"==this.unit?5:20,e=this.control?this.control.value*a:this.value*a;this.workControl.value!=e&&this.workControl.setValue(e)}workToValue(){const a=["hour","day"].includes(this.unit)?1:"week"==this.unit?5:20,e=this.workControl.value/a;this.control?this.control.value!=e&&this.control.setValue(e):this.value!=e&&(this.value=e)}static#e=this.\u0275fac=function(e){return new(e||c)(s.Y36(s.zs3))};static#t=this.\u0275cmp=s.Xpm({type:c,selectors:[["input-workload"]],viewQuery:function(e,o){if(1&e&&s.Gf(g,5),2&e){let t;s.iGM(t=s.CRH())&&(o.inputElement=t.first)}},hostVars:2,hostBindings:function(e,o){2&e&&s.Tol(o.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",form:"form",source:"source",path:"path",daysOrHours:"daysOrHours",maxLength:"maxLength",required:"required",unitChange:"unitChange",unit:"unit",control:"control",size:"size"},outputs:{change:"change"},features:[s._Bn([],[{provide:u.gN,useExisting:u.sg}]),s.qOj],decls:6,vars:18,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["type","number","class","form-control","min","0",3,"formControl","id","is-invalid","readonly","change",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],["type","number","min","0",1,"form-control",3,"formControl","id","readonly","change"],["inputElement",""]],template:function(e,o){1&e&&(s.TgZ(0,"input-container",0)(1,"div",1),s.YNc(2,I,2,7,"input",2),s.TgZ(3,"button",3),s.NdJ("click",function(n){return o.onButtonClick(n)}),s._UZ(4,"i"),s._uU(5),s.qZA()()()),2&e&&(s.Q6J("labelPosition",o.labelPosition)("labelClass",o.labelClass)("controlName",o.controlName)("required",o.required)("control",o.control)("loading",!1)("disabled",o.disabled)("label",o.label)("labelInfo",o.labelInfo)("icon",o.icon)("bold",o.bold),s.xp6(2),s.Q6J("ngIf",o.viewInit),s.xp6(1),s.ekj("disabled",o.isDisabled),s.Q6J("id",o.generatedId(o.controlName)+"_button"),s.xp6(1),s.Tol(o.iconWork),s.xp6(1),s.hij(" ",o.unitWork," "))},dependencies:[h.O5,u.Fj,u.wV,u.JJ,u.qQ,u.oH,d.h],styles:["input[type=number][_ngcontent-%COMP%]:read-only, input[type=number][_ngcontent-%COMP%]:disabled{background-color:#e9ecef}"]})}return c})()},5296:(T,C,l)=>{l.d(C,{H:()=>u});var s=l(4368);class u extends s.X{constructor(h){super(),this.nome="",this.initialization(h)}}},5007:(T,C,l)=>{l.d(C,{Z:()=>c});var s=l(8239),u=l(2559),i=l(755),h=l(8720),d=l(9193),g=l(8820),I=l(4495),D=l(7819);let c=(()=>{class E{set disabled(e){this._disabled!=e&&(this._disabled=e,this.loadExpediente())}get disabled(){return this._disabled}set control(e){var o=this;this._control!=e&&(this._control=e,this.expediente=this.control?.value,e?.valueChanges.subscribe(function(){var t=(0,s.Z)(function*(n){o.expediente=n});return function(n){return t.apply(this,arguments)}}()))}get control(){return this._control}set expediente(e){this._expediente!=e&&(this._expediente=e,this.loadExpediente())}get expediente(){return this._expediente}constructor(e,o,t){this.fh=e,this.cdRef=o,this.util=t,this.diasSemana=["domingo","segunda","terca","quarta","quinta","sexta","sabado"],this.validate=(n,r)=>{for(let f of this.diasSemana)if(r.startsWith(f)&&r.endsWith("_fim")&&n?.value?.length){let p=this.form?.controls[f+"_inicio"]?.value;if(!this.util.isTimeValid(p)||!this.util.isTimeValid(n.value)||this.util.getStrTimeHours(p)>this.util.getStrTimeHours(n.value))return"Inv\xe1lido"}return null},this.form=e.FormBuilder({domingo:{default:[]},segunda:{default:[]},terca:{default:[]},quarta:{default:[]},quinta:{default:[]},sexta:{default:[]},sabado:{default:[]},especial:{default:[]},domingo_inicio:{default:""},domingo_fim:{default:""},segunda_inicio:{default:""},segunda_fim:{default:""},terca_inicio:{default:""},terca_fim:{default:""},quarta_inicio:{default:""},quarta_fim:{default:""},quinta_inicio:{default:""},quinta_fim:{default:""},sexta_inicio:{default:""},sexta_fim:{default:""},sabado_inicio:{default:""},sabado_fim:{default:""},especial_inicio:{default:""},especial_fim:{default:""},especial_data:{default:null},especial_sem:{default:!1}},this.cdRef,this.validate)}ngOnInit(){}get isDisabled(){return null!=this._disabled}loadExpediente(){let e=(this.isDisabled?this.expedienteDisabled:this._expediente)||new u.z;const o=(t,n)=>t.map(r=>Object.assign({},{key:this.util.textHash(("especial"==n?this.util.getDateFormatted(r.data):"")+n+r.inicio+r.fim),value:("especial"==n?this.util.getDateFormatted(r.data)+" - ":"")+r.inicio+" at\xe9 "+r.fim,data:{inicio:r.inicio,fim:r.fim,data:r.data,sem:r.sem}}));this.isDisabled||(this._expediente=e),this.form.controls.domingo.setValue(o(e.domingo,"domingo")),this.form.controls.segunda.setValue(o(e.segunda,"segunda")),this.form.controls.terca.setValue(o(e.terca,"terca")),this.form.controls.quarta.setValue(o(e.quarta,"quarta")),this.form.controls.quinta.setValue(o(e.quinta,"quinta")),this.form.controls.sexta.setValue(o(e.sexta,"sexta")),this.form.controls.sabado.setValue(o(e.sabado,"sabado")),this.form.controls.especial.setValue(o(e.especial,"especial"))}saveExpediente(){this.isDisabled||(this._expediente=this._expediente||new u.z,this._expediente.domingo=this.form.controls.domingo.value.map(e=>e.data),this._expediente.segunda=this.form.controls.segunda.value.map(e=>e.data),this._expediente.terca=this.form.controls.terca.value.map(e=>e.data),this._expediente.quarta=this.form.controls.quarta.value.map(e=>e.data),this._expediente.quinta=this.form.controls.quinta.value.map(e=>e.data),this._expediente.sexta=this.form.controls.sexta.value.map(e=>e.data),this._expediente.sabado=this.form.controls.sabado.value.map(e=>e.data),this._expediente.especial=this.form.controls.especial.value.map(e=>e.data),this.control&&(this.control.setValue(this._expediente),this.cdRef.detectChanges()))}isEmpty(){return!1}addItemHandleDomingo(){return this.addItemHandle("domingo")}addItemHandleSegunda(){return this.addItemHandle("segunda")}addItemHandleTerca(){return this.addItemHandle("terca")}addItemHandleQuarta(){return this.addItemHandle("quarta")}addItemHandleQuinta(){return this.addItemHandle("quinta")}addItemHandleSexta(){return this.addItemHandle("sexta")}addItemHandleSabado(){return this.addItemHandle("sabado")}addItemHandleEspecial(){return this.addItemHandle("especial")}onChange(){this.saveExpediente()}addItemHandle(e){let o;const t=this.form.controls[e+"_inicio"].value,n=this.form.controls[e+"_fim"].value,r=this.form.controls.especial_data.value,v=this.form.controls.especial_sem.value,f=this.util.textHash(("especial"==e?this.util.getDateFormatted(r):"")+e+t+n),p=this.form.controls[e].value;return this.util.isTimeValid(t)&&this.util.isTimeValid(n)&&this.util.getStrTimeHours(t)0&&p.forEach(b=>{const m=b.data.inicio,_=b.data.fim;(t>=m&&n<=m||t<=m&&n>=m||t>=m&&n<=m||t<=m&&n>=_||t>=m&&t<=_||n>=m&&n<=_||t==_||n==m)&&(console.log("Conflitante"),o=void 0)}),this.form.controls[e+"_inicio"].setValue(""),this.form.controls[e+"_fim"].setValue(""),"especial"==e&&(this.form.controls[e+"_data"].setValue(null),this.form.controls[e+"_sem"].setValue(!1)),o}static#e=this.\u0275fac=function(o){return new(o||E)(i.Y36(h.k),i.Y36(i.sBO),i.Y36(d.f))};static#t=this.\u0275cmp=i.Xpm({type:E,selectors:[["calendar-expediente"]],inputs:{expedienteDisabled:"expedienteDisabled",disabled:"disabled",control:"control",expediente:"expediente"},decls:28,vars:76,consts:[[1,"row"],["label","Domingo","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","domingo_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","domingo_fim",3,"size","control"],["label","Segunda","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","segunda_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","segunda_fim",3,"size","control"],["label","Ter\xe7a","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","terca_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","terca_fim",3,"size","control"],["label","Quarta","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","quarta_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","quarta_fim",3,"size","control"],["label","Quinta","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","quinta_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","quinta_fim",3,"size","control"],["label","Sexta","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","sexta_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","sexta_fim",3,"size","control"],["label","Sabado","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","sabado_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","sabado_fim",3,"size","control"],["label","Especial","hostClass","col-12 col-md-3",3,"disabled","control","size","addItemHandle","change"],["noIcon","","date","","label","Dia","controlName","especial_data",3,"size","control"],["label","Sem","controlName","especial_sem","labelInfo","Sem expediente. Se o hor\xe1rio ir\xe1 representar um per\xedodo que n\xe1o haver\xe1 expediente.",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","In\xedcio","hostClass","pe-0","controlName","especial_inicio",3,"size","control"],["noIcon","","noIndicator","","time","","time24hours","","label","Fim","hostClass","ps-0","controlName","especial_fim",3,"size","control"]],template:function(o,t){1&o&&(i.TgZ(0,"div",0)(1,"input-multiselect",1),i._UZ(2,"input-datetime",2)(3,"input-datetime",3),i.qZA(),i.TgZ(4,"input-multiselect",4),i._UZ(5,"input-datetime",5)(6,"input-datetime",6),i.qZA(),i.TgZ(7,"input-multiselect",7),i._UZ(8,"input-datetime",8)(9,"input-datetime",9),i.qZA(),i.TgZ(10,"input-multiselect",10),i._UZ(11,"input-datetime",11)(12,"input-datetime",12),i.qZA()(),i.TgZ(13,"div",0)(14,"input-multiselect",13),i._UZ(15,"input-datetime",14)(16,"input-datetime",15),i.qZA(),i.TgZ(17,"input-multiselect",16),i._UZ(18,"input-datetime",17)(19,"input-datetime",18),i.qZA(),i.TgZ(20,"input-multiselect",19),i._UZ(21,"input-datetime",20)(22,"input-datetime",21),i.qZA(),i.TgZ(23,"input-multiselect",22),i._UZ(24,"input-datetime",23)(25,"input-switch",24)(26,"input-datetime",25)(27,"input-datetime",26),i.qZA()()),2&o&&(i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.domingo)("size",3)("addItemHandle",t.addItemHandleDomingo.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.domingo_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.domingo_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.segunda)("size",3)("addItemHandle",t.addItemHandleSegunda.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.segunda_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.segunda_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.terca)("size",3)("addItemHandle",t.addItemHandleTerca.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.terca_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.terca_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.quarta)("size",3)("addItemHandle",t.addItemHandleQuarta.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quarta_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quarta_fim),i.xp6(2),i.Q6J("disabled",t.disabled)("control",t.form.controls.quinta)("size",3)("addItemHandle",t.addItemHandleQuinta.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quinta_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.quinta_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.sexta)("size",3)("addItemHandle",t.addItemHandleSexta.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sexta_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sexta_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.sabado)("size",3)("addItemHandle",t.addItemHandleSabado.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sabado_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.sabado_fim),i.xp6(1),i.Q6J("disabled",t.disabled)("control",t.form.controls.especial)("size",3)("addItemHandle",t.addItemHandleEspecial.bind(t))("change",t.onChange.bind(t)),i.xp6(1),i.Q6J("size",8)("control",t.form.controls.especial_data),i.xp6(1),i.Q6J("size",4)("control",t.form.controls.especial_sem),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.especial_inicio),i.xp6(1),i.Q6J("size",6)("control",t.form.controls.especial_fim))},dependencies:[g.a,I.k,D.p]})}return E})()},7918:(T,C,l)=>{l.d(C,{X:()=>D});var s=l(8239),u=l(9702),i=l(9193),h=l(5545),d=l(5908),g=l(6898),I=l(755);let D=(()=>{class c{constructor(a){this.injector=a,this.lookup=this.injector.get(u.W),this.lex=this.injector.get(d.E),this.dialog=this.injector.get(h.x),this.util=this.injector.get(i.f)}converterAtribuicoes(a){return a.map(e=>Object.assign({},{key:e,value:this.lookup.getValue(this.lookup.UNIDADE_INTEGRANTE_TIPO,e),icon:this.lookup.getIcon(this.lookup.UNIDADE_INTEGRANTE_TIPO,e),color:this.lookup.getColor(this.lookup.UNIDADE_INTEGRANTE_TIPO,e)}))}haAlteracaoGestor(a,e,o,t){let n="",r=this.util.array_diff(e.atribuicoes,a).includes("GESTOR"),v=this.util.array_diff(a,e.atribuicoes).includes("GESTOR");if(!r&&!v)return["nenhuma",-1,"",!1];let f=this.lookup.getValue(this.lookup.UNIDADE_INTEGRANTE_TIPO,"GESTOR")+" "+this.lex.translate("da Unidade")+" ";if(r)return n=t.toUpperCase()+" deixar\xe1 de ser "+f+e.unidade_sigla?.toUpperCase()+".",["perda",-1,n,!1];let p=e.atribuicoes.includes("LOTADO");n=t.toUpperCase()+" passar\xe1 a ser "+f+e.unidade_sigla?.toUpperCase();let b=o.find(_=>_.atribuicoes.includes("GESTOR")),m=o.findIndex((_,O,P)=>_.atribuicoes.includes("LOTADO"));return n=b?.id.length?n+" e deixar\xe1 de ser "+f+b.unidade_sigla+". ":n+". ",!p&&m>=0&&(n+="Por consequ\xeancia, sua lota\xe7\xe3o ser\xe1 alterada de "+o[m].unidade_sigla?.toUpperCase()+" para "+e.unidade_sigla?.toUpperCase()+"."),b?.id.length?["troca",o.findIndex(_=>_.id==b?.id),n,!0]:["ganho",-1,n,!p]}haAlteracaoGerencia(a,e,o,t){let n="",r=this.util.array_diff(e.atribuicoes,a).includes("GESTOR"),v=this.util.array_diff(a,e.atribuicoes).includes("GESTOR");if(!r&&!v)return["nenhuma",-1,"",!1];let f=this.lookup.getValue(this.lookup.UNIDADE_INTEGRANTE_TIPO,"GESTOR")+" "+this.lex.translate("da Unidade")+" ";if(r)return n=e.usuario_nome?.toUpperCase()+" deixar\xe1 de ser "+f+t.toUpperCase()+".",["perda",-1,n,!1];let p=e.atribuicoes.includes("LOTADO");n=e.usuario_nome?.toUpperCase()+" passar\xe1 a ser "+f+t.toUpperCase();let b=o.find(_=>_.atribuicoes.includes("GESTOR"));n=(b?.id.length?n+" em substitui\xe7\xe3o a "+b.usuario_nome?.toUpperCase():n)+". ";let m=o.findIndex((_,O,P)=>_.atribuicoes.includes("LOTADO"));return!p&&m>=0&&(n+="Como \xe9 lotado em outra unidade, a lota\xe7\xe3o de "+e.usuario_nome?.toUpperCase()+" ser\xe1 alterada para "+this.lex.translate("a Unidade")+" - "+t.toUpperCase()+"."),b?.id.length?["troca",o.findIndex(_=>_.id==b?.id),n,!0]:["ganho",-1,n,!p]}haAlteracaoLotacao(a,e,o,t){let n=a.controls.atribuicoes.value.map(p=>p.key),r=o.findIndex((p,b,m)=>p.atribuicoes.includes("LOTADO"));if(!n.includes("LOTADO")||-1==r)return[!1,-1,"",""];let v=this.lex.translate("A lota\xe7\xe3o")+" de "+t.toUpperCase()+" passar\xe1 de "+o[r].unidade_sigla?.toUpperCase()+" para "+e.unidade_sigla?.toUpperCase()+".",f="N\xe3o \xe9 poss\xedvel alterar a lota\xe7\xe3o de "+t.toUpperCase()+" porque \xe9 Chefe da sua atual unidade de lota\xe7\xe3o - "+o[r].unidade_sigla?.toUpperCase()+".";return a.controls.unidade_id.value!=o[r].unidade_id?[!0,r,v,f]:[!1,-1,"",""]}inserirAtribuicao(a,e){let o=this.lookup.getLookup(this.lookup.UNIDADE_INTEGRANTE_TIPO,e);return o&&a.push(o),this.lookup.uniqueLookupItem(a)}ordenarIntegrantes(a){return a.sort((e,o)=>{let t=(e.usuario_nome||e.unidade_nome)?.toLowerCase(),n=(o.usuario_nome||o.unidade_nome)?.toLowerCase();return tn?1:0}),a.forEach(e=>{e.atribuicoes.sort()}),a}completarIntegrante(a,e,o,t){return Object.assign({},a,{unidade_id:e,usuario_id:o,atribuicoes:t})}ehPermitidoApagar(a){var e=this;let t=!["LOTADO"].includes(a),n="LOTADO"==a?"A lota\xe7\xe3o do servidor n\xe3o pode ser apagada. Para alter\xe1-la, lote-o em outra Unidade.":"";return(0,s.Z)(function*(){t||(yield e.dialog.alert("N\xc3O PERMITIDO!",n))})(),t}substituirItem(a,e,o){let t=a.itens.findIndex(v=>v.id==a.id),n=o instanceof g.b;return a.itens[t]=this.completarIntegrante(n?{id:a.id,unidade_sigla:a.apelidoOuSigla,unidade_nome:a.nome,unidade_codigo:a.codigo}:{id:a.id,usuario_apelido:a.apelidoOuSigla,usuario_nome:a.nome},n?a.id:o.id,n?o.id:a.id,e),a.itens}static#e=this.\u0275fac=function(e){return new(e||c)(I.LFG(I.zs3))};static#t=this.\u0275prov=I.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},4554:(T,C,l)=>{l.d(C,{o:()=>i});var s=l(755),u=l(2333);let i=(()=>{class h{constructor(g){this.auth=g,this.programa=[]}programaVigente(g){return!g||g.data_fim>=new Date}static#e=this.\u0275fac=function(I){return new(I||h)(s.LFG(u.e))};static#t=this.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()}}]); \ No newline at end of file diff --git a/back-end/public/main.js b/back-end/public/main.js index 20b0c27c2..cac2628df 100644 --- a/back-end/public/main.js +++ b/back-end/public/main.js @@ -1 +1 @@ -(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[179],{8537:function(lt){lt.exports=function(){"use strict";const _e=new Map,m={set(E,v,M){_e.has(E)||_e.set(E,new Map);const W=_e.get(E);W.has(v)||0===W.size?W.set(v,M):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(W.keys())[0]}.`)},get:(E,v)=>_e.has(E)&&_e.get(E).get(v)||null,remove(E,v){if(!_e.has(E))return;const M=_e.get(E);M.delete(v),0===M.size&&_e.delete(E)}},i="transitionend",t=E=>(E&&window.CSS&&window.CSS.escape&&(E=E.replace(/#([^\s"#']+)/g,(v,M)=>`#${CSS.escape(M)}`)),E),A=E=>{E.dispatchEvent(new Event(i))},a=E=>!(!E||"object"!=typeof E)&&(void 0!==E.jquery&&(E=E[0]),void 0!==E.nodeType),y=E=>a(E)?E.jquery?E[0]:E:"string"==typeof E&&E.length>0?document.querySelector(t(E)):null,C=E=>{if(!a(E)||0===E.getClientRects().length)return!1;const v="visible"===getComputedStyle(E).getPropertyValue("visibility"),M=E.closest("details:not([open])");if(!M)return v;if(M!==E){const W=E.closest("summary");if(W&&W.parentNode!==M||null===W)return!1}return v},b=E=>!E||E.nodeType!==Node.ELEMENT_NODE||!!E.classList.contains("disabled")||(void 0!==E.disabled?E.disabled:E.hasAttribute("disabled")&&"false"!==E.getAttribute("disabled")),F=E=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof E.getRootNode){const v=E.getRootNode();return v instanceof ShadowRoot?v:null}return E instanceof ShadowRoot?E:E.parentNode?F(E.parentNode):null},j=()=>{},x=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,H=[],k=()=>"rtl"===document.documentElement.dir,P=E=>{var v;v=()=>{const M=x();if(M){const W=E.NAME,ue=M.fn[W];M.fn[W]=E.jQueryInterface,M.fn[W].Constructor=E,M.fn[W].noConflict=()=>(M.fn[W]=ue,E.jQueryInterface)}},"loading"===document.readyState?(H.length||document.addEventListener("DOMContentLoaded",()=>{for(const M of H)M()}),H.push(v)):v()},X=(E,v=[],M=E)=>"function"==typeof E?E(...v):M,me=(E,v,M=!0)=>{if(!M)return void X(E);const W=(et=>{if(!et)return 0;let{transitionDuration:q,transitionDelay:U}=window.getComputedStyle(et);const Y=Number.parseFloat(q),ne=Number.parseFloat(U);return Y||ne?(q=q.split(",")[0],U=U.split(",")[0],1e3*(Number.parseFloat(q)+Number.parseFloat(U))):0})(v)+5;let ue=!1;const be=({target:et})=>{et===v&&(ue=!0,v.removeEventListener(i,be),X(E))};v.addEventListener(i,be),setTimeout(()=>{ue||A(v)},W)},Oe=(E,v,M,W)=>{const ue=E.length;let be=E.indexOf(v);return-1===be?!M&&W?E[ue-1]:E[0]:(be+=M?1:-1,W&&(be=(be+ue)%ue),E[Math.max(0,Math.min(be,ue-1))])},Se=/[^.]*(?=\..*)\.|.*/,wt=/\..*/,K=/::\d+$/,V={};let J=1;const ae={mouseenter:"mouseover",mouseleave:"mouseout"},oe=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ye(E,v){return v&&`${v}::${J++}`||E.uidEvent||J++}function Ee(E){const v=ye(E);return E.uidEvent=v,V[v]=V[v]||{},V[v]}function Ge(E,v,M=null){return Object.values(E).find(W=>W.callable===v&&W.delegationSelector===M)}function gt(E,v,M){const W="string"==typeof v,ue=W?M:v||M;let be=Qe(E);return oe.has(be)||(be=E),[W,ue,be]}function Ze(E,v,M,W,ue){if("string"!=typeof v||!E)return;let[be,et,q]=gt(v,M,W);var It;v in ae&&(It=et,et=function(Xt){if(!Xt.relatedTarget||Xt.relatedTarget!==Xt.delegateTarget&&!Xt.delegateTarget.contains(Xt.relatedTarget))return It.call(this,Xt)});const U=Ee(E),Y=U[q]||(U[q]={}),ne=Ge(Y,et,be?M:null);if(ne)return void(ne.oneOff=ne.oneOff&&ue);const pe=ye(et,v.replace(Se,"")),Ve=be?function(bt,It,Xt){return function Cn(ni){const oi=bt.querySelectorAll(It);for(let{target:Ei}=ni;Ei&&Ei!==this;Ei=Ei.parentNode)for(const Hi of oi)if(Hi===Ei)return Nt(ni,{delegateTarget:Ei}),Cn.oneOff&&pt.off(bt,ni.type,It,Xt),Xt.apply(Ei,[ni])}}(E,M,et):function(bt,It){return function Xt(Cn){return Nt(Cn,{delegateTarget:bt}),Xt.oneOff&&pt.off(bt,Cn.type,It),It.apply(bt,[Cn])}}(E,et);Ve.delegationSelector=be?M:null,Ve.callable=et,Ve.oneOff=ue,Ve.uidEvent=pe,Y[pe]=Ve,E.addEventListener(q,Ve,be)}function Je(E,v,M,W,ue){const be=Ge(v[M],W,ue);be&&(E.removeEventListener(M,be,!!ue),delete v[M][be.uidEvent])}function tt(E,v,M,W){const ue=v[M]||{};for(const[be,et]of Object.entries(ue))be.includes(W)&&Je(E,v,M,et.callable,et.delegationSelector)}function Qe(E){return E=E.replace(wt,""),ae[E]||E}const pt={on(E,v,M,W){Ze(E,v,M,W,!1)},one(E,v,M,W){Ze(E,v,M,W,!0)},off(E,v,M,W){if("string"!=typeof v||!E)return;const[ue,be,et]=gt(v,M,W),q=et!==v,U=Ee(E),Y=U[et]||{},ne=v.startsWith(".");if(void 0===be){if(ne)for(const pe of Object.keys(U))tt(E,U,pe,v.slice(1));for(const[pe,Ve]of Object.entries(Y)){const bt=pe.replace(K,"");q&&!v.includes(bt)||Je(E,U,et,Ve.callable,Ve.delegationSelector)}}else{if(!Object.keys(Y).length)return;Je(E,U,et,be,ue?M:null)}},trigger(E,v,M){if("string"!=typeof v||!E)return null;const W=x();let ue=null,be=!0,et=!0,q=!1;v!==Qe(v)&&W&&(ue=W.Event(v,M),W(E).trigger(ue),be=!ue.isPropagationStopped(),et=!ue.isImmediatePropagationStopped(),q=ue.isDefaultPrevented());const U=Nt(new Event(v,{bubbles:be,cancelable:!0}),M);return q&&U.preventDefault(),et&&E.dispatchEvent(U),U.defaultPrevented&&ue&&ue.preventDefault(),U}};function Nt(E,v={}){for(const[M,W]of Object.entries(v))try{E[M]=W}catch{Object.defineProperty(E,M,{configurable:!0,get:()=>W})}return E}function Jt(E){if("true"===E)return!0;if("false"===E)return!1;if(E===Number(E).toString())return Number(E);if(""===E||"null"===E)return null;if("string"!=typeof E)return E;try{return JSON.parse(decodeURIComponent(E))}catch{return E}}function nt(E){return E.replace(/[A-Z]/g,v=>`-${v.toLowerCase()}`)}const ot={setDataAttribute(E,v,M){E.setAttribute(`data-bs-${nt(v)}`,M)},removeDataAttribute(E,v){E.removeAttribute(`data-bs-${nt(v)}`)},getDataAttributes(E){if(!E)return{};const v={},M=Object.keys(E.dataset).filter(W=>W.startsWith("bs")&&!W.startsWith("bsConfig"));for(const W of M){let ue=W.replace(/^bs/,"");ue=ue.charAt(0).toLowerCase()+ue.slice(1,ue.length),v[ue]=Jt(E.dataset[W])}return v},getDataAttribute:(E,v)=>Jt(E.getAttribute(`data-bs-${nt(v)}`))};class Ct{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(v){return v=this._mergeConfigObj(v),v=this._configAfterMerge(v),this._typeCheckConfig(v),v}_configAfterMerge(v){return v}_mergeConfigObj(v,M){const W=a(M)?ot.getDataAttribute(M,"config"):{};return{...this.constructor.Default,..."object"==typeof W?W:{},...a(M)?ot.getDataAttributes(M):{},..."object"==typeof v?v:{}}}_typeCheckConfig(v,M=this.constructor.DefaultType){for(const[ue,be]of Object.entries(M)){const et=v[ue],q=a(et)?"element":null==(W=et)?`${W}`:Object.prototype.toString.call(W).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(be).test(q))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${ue}" provided type "${q}" but expected type "${be}".`)}var W}}class He extends Ct{constructor(v,M){super(),(v=y(v))&&(this._element=v,this._config=this._getConfig(M),m.set(this._element,this.constructor.DATA_KEY,this))}dispose(){m.remove(this._element,this.constructor.DATA_KEY),pt.off(this._element,this.constructor.EVENT_KEY);for(const v of Object.getOwnPropertyNames(this))this[v]=null}_queueCallback(v,M,W=!0){me(v,M,W)}_getConfig(v){return v=this._mergeConfigObj(v,this._element),v=this._configAfterMerge(v),this._typeCheckConfig(v),v}static getInstance(v){return m.get(y(v),this.DATA_KEY)}static getOrCreateInstance(v,M={}){return this.getInstance(v)||new this(v,"object"==typeof M?M:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(v){return`${v}${this.EVENT_KEY}`}}const mt=E=>{let v=E.getAttribute("data-bs-target");if(!v||"#"===v){let M=E.getAttribute("href");if(!M||!M.includes("#")&&!M.startsWith("."))return null;M.includes("#")&&!M.startsWith("#")&&(M=`#${M.split("#")[1]}`),v=M&&"#"!==M?M.trim():null}return v?v.split(",").map(M=>t(M)).join(","):null},vt={find:(E,v=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(v,E)),findOne:(E,v=document.documentElement)=>Element.prototype.querySelector.call(v,E),children:(E,v)=>[].concat(...E.children).filter(M=>M.matches(v)),parents(E,v){const M=[];let W=E.parentNode.closest(v);for(;W;)M.push(W),W=W.parentNode.closest(v);return M},prev(E,v){let M=E.previousElementSibling;for(;M;){if(M.matches(v))return[M];M=M.previousElementSibling}return[]},next(E,v){let M=E.nextElementSibling;for(;M;){if(M.matches(v))return[M];M=M.nextElementSibling}return[]},focusableChildren(E){const v=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(M=>`${M}:not([tabindex^="-"])`).join(",");return this.find(v,E).filter(M=>!b(M)&&C(M))},getSelectorFromElement(E){const v=mt(E);return v&&vt.findOne(v)?v:null},getElementFromSelector(E){const v=mt(E);return v?vt.findOne(v):null},getMultipleElementsFromSelector(E){const v=mt(E);return v?vt.find(v):[]}},hn=(E,v="hide")=>{const W=E.NAME;pt.on(document,`click.dismiss${E.EVENT_KEY}`,`[data-bs-dismiss="${W}"]`,function(ue){if(["A","AREA"].includes(this.tagName)&&ue.preventDefault(),b(this))return;const be=vt.getElementFromSelector(this)||this.closest(`.${W}`);E.getOrCreateInstance(be)[v]()})},yt=".bs.alert",Fn=`close${yt}`,xn=`closed${yt}`;class In extends He{static get NAME(){return"alert"}close(){if(pt.trigger(this._element,Fn).defaultPrevented)return;this._element.classList.remove("show");const v=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,v)}_destroyElement(){this._element.remove(),pt.trigger(this._element,xn),this.dispose()}static jQueryInterface(v){return this.each(function(){const M=In.getOrCreateInstance(this);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v](this)}})}}hn(In,"close"),P(In);const dn='[data-bs-toggle="button"]';class qn extends He{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(v){return this.each(function(){const M=qn.getOrCreateInstance(this);"toggle"===v&&M[v]()})}}pt.on(document,"click.bs.button.data-api",dn,E=>{E.preventDefault();const v=E.target.closest(dn);qn.getOrCreateInstance(v).toggle()}),P(qn);const di=".bs.swipe",ir=`touchstart${di}`,Bn=`touchmove${di}`,xi=`touchend${di}`,fi=`pointerdown${di}`,Mt=`pointerup${di}`,Ot={endCallback:null,leftCallback:null,rightCallback:null},ve={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class De extends Ct{constructor(v,M){super(),this._element=v,v&&De.isSupported()&&(this._config=this._getConfig(M),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ot}static get DefaultType(){return ve}static get NAME(){return"swipe"}dispose(){pt.off(this._element,di)}_start(v){this._supportPointerEvents?this._eventIsPointerPenTouch(v)&&(this._deltaX=v.clientX):this._deltaX=v.touches[0].clientX}_end(v){this._eventIsPointerPenTouch(v)&&(this._deltaX=v.clientX-this._deltaX),this._handleSwipe(),X(this._config.endCallback)}_move(v){this._deltaX=v.touches&&v.touches.length>1?0:v.touches[0].clientX-this._deltaX}_handleSwipe(){const v=Math.abs(this._deltaX);if(v<=40)return;const M=v/this._deltaX;this._deltaX=0,M&&X(M>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(pt.on(this._element,fi,v=>this._start(v)),pt.on(this._element,Mt,v=>this._end(v)),this._element.classList.add("pointer-event")):(pt.on(this._element,ir,v=>this._start(v)),pt.on(this._element,Bn,v=>this._move(v)),pt.on(this._element,xi,v=>this._end(v)))}_eventIsPointerPenTouch(v){return this._supportPointerEvents&&("pen"===v.pointerType||"touch"===v.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const xe=".bs.carousel",Ye=".data-api",xt="next",cn="prev",Kn="left",An="right",gs=`slide${xe}`,Qt=`slid${xe}`,ki=`keydown${xe}`,ta=`mouseenter${xe}`,Pi=`mouseleave${xe}`,co=`dragstart${xe}`,Or=`load${xe}${Ye}`,Dr=`click${xe}${Ye}`,bs="carousel",Do="active",Ms=".active",Ls=".carousel-item",On=Ms+Ls,mr={ArrowLeft:An,ArrowRight:Kn},Pt={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ln={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Yt extends He{constructor(v,M){super(v,M),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=vt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===bs&&this.cycle()}static get Default(){return Pt}static get DefaultType(){return ln}static get NAME(){return"carousel"}next(){this._slide(xt)}nextWhenVisible(){!document.hidden&&C(this._element)&&this.next()}prev(){this._slide(cn)}pause(){this._isSliding&&A(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?pt.one(this._element,Qt,()=>this.cycle()):this.cycle())}to(v){const M=this._getItems();if(v>M.length-1||v<0)return;if(this._isSliding)return void pt.one(this._element,Qt,()=>this.to(v));const W=this._getItemIndex(this._getActive());W!==v&&this._slide(v>W?xt:cn,M[v])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(v){return v.defaultInterval=v.interval,v}_addEventListeners(){this._config.keyboard&&pt.on(this._element,ki,v=>this._keydown(v)),"hover"===this._config.pause&&(pt.on(this._element,ta,()=>this.pause()),pt.on(this._element,Pi,()=>this._maybeEnableCycle())),this._config.touch&&De.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const M of vt.find(".carousel-item img",this._element))pt.on(M,co,W=>W.preventDefault());this._swipeHelper=new De(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Kn)),rightCallback:()=>this._slide(this._directionToOrder(An)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(v){if(/input|textarea/i.test(v.target.tagName))return;const M=mr[v.key];M&&(v.preventDefault(),this._slide(this._directionToOrder(M)))}_getItemIndex(v){return this._getItems().indexOf(v)}_setActiveIndicatorElement(v){if(!this._indicatorsElement)return;const M=vt.findOne(Ms,this._indicatorsElement);M.classList.remove(Do),M.removeAttribute("aria-current");const W=vt.findOne(`[data-bs-slide-to="${v}"]`,this._indicatorsElement);W&&(W.classList.add(Do),W.setAttribute("aria-current","true"))}_updateInterval(){const v=this._activeElement||this._getActive();if(!v)return;const M=Number.parseInt(v.getAttribute("data-bs-interval"),10);this._config.interval=M||this._config.defaultInterval}_slide(v,M=null){if(this._isSliding)return;const W=this._getActive(),ue=v===xt,be=M||Oe(this._getItems(),W,ue,this._config.wrap);if(be===W)return;const et=this._getItemIndex(be),q=pe=>pt.trigger(this._element,pe,{relatedTarget:be,direction:this._orderToDirection(v),from:this._getItemIndex(W),to:et});if(q(gs).defaultPrevented||!W||!be)return;const U=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(et),this._activeElement=be;const Y=ue?"carousel-item-start":"carousel-item-end",ne=ue?"carousel-item-next":"carousel-item-prev";be.classList.add(ne),W.classList.add(Y),be.classList.add(Y),this._queueCallback(()=>{be.classList.remove(Y,ne),be.classList.add(Do),W.classList.remove(Do,ne,Y),this._isSliding=!1,q(Qt)},W,this._isAnimated()),U&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return vt.findOne(On,this._element)}_getItems(){return vt.find(Ls,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(v){return k()?v===Kn?cn:xt:v===Kn?xt:cn}_orderToDirection(v){return k()?v===cn?Kn:An:v===cn?An:Kn}static jQueryInterface(v){return this.each(function(){const M=Yt.getOrCreateInstance(this,v);if("number"!=typeof v){if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v]()}}else M.to(v)})}}pt.on(document,Dr,"[data-bs-slide], [data-bs-slide-to]",function(E){const v=vt.getElementFromSelector(this);if(!v||!v.classList.contains(bs))return;E.preventDefault();const M=Yt.getOrCreateInstance(v),W=this.getAttribute("data-bs-slide-to");return W?(M.to(W),void M._maybeEnableCycle()):"next"===ot.getDataAttribute(this,"slide")?(M.next(),void M._maybeEnableCycle()):(M.prev(),void M._maybeEnableCycle())}),pt.on(window,Or,()=>{const E=vt.find('[data-bs-ride="carousel"]');for(const v of E)Yt.getOrCreateInstance(v)}),P(Yt);const li=".bs.collapse",Qr=`show${li}`,Sr=`shown${li}`,Pn=`hide${li}`,sn=`hidden${li}`,Rt=`click${li}.data-api`,Bt="show",bn="collapse",mi="collapsing",rr=`:scope .${bn} .${bn}`,Ri='[data-bs-toggle="collapse"]',Ur={parent:null,toggle:!0},mn={parent:"(null|element)",toggle:"boolean"};class Xe extends He{constructor(v,M){super(v,M),this._isTransitioning=!1,this._triggerArray=[];const W=vt.find(Ri);for(const ue of W){const be=vt.getSelectorFromElement(ue),et=vt.find(be).filter(q=>q===this._element);null!==be&&et.length&&this._triggerArray.push(ue)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ur}static get DefaultType(){return mn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let v=[];if(this._config.parent&&(v=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(ue=>ue!==this._element).map(ue=>Xe.getOrCreateInstance(ue,{toggle:!1}))),v.length&&v[0]._isTransitioning||pt.trigger(this._element,Qr).defaultPrevented)return;for(const ue of v)ue.hide();const M=this._getDimension();this._element.classList.remove(bn),this._element.classList.add(mi),this._element.style[M]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const W=`scroll${M[0].toUpperCase()+M.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(mi),this._element.classList.add(bn,Bt),this._element.style[M]="",pt.trigger(this._element,Sr)},this._element,!0),this._element.style[M]=`${this._element[W]}px`}hide(){if(this._isTransitioning||!this._isShown()||pt.trigger(this._element,Pn).defaultPrevented)return;const v=this._getDimension();this._element.style[v]=`${this._element.getBoundingClientRect()[v]}px`,this._element.classList.add(mi),this._element.classList.remove(bn,Bt);for(const M of this._triggerArray){const W=vt.getElementFromSelector(M);W&&!this._isShown(W)&&this._addAriaAndCollapsedClass([M],!1)}this._isTransitioning=!0,this._element.style[v]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(mi),this._element.classList.add(bn),pt.trigger(this._element,sn)},this._element,!0)}_isShown(v=this._element){return v.classList.contains(Bt)}_configAfterMerge(v){return v.toggle=!!v.toggle,v.parent=y(v.parent),v}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const v=this._getFirstLevelChildren(Ri);for(const M of v){const W=vt.getElementFromSelector(M);W&&this._addAriaAndCollapsedClass([M],this._isShown(W))}}_getFirstLevelChildren(v){const M=vt.find(rr,this._config.parent);return vt.find(v,this._config.parent).filter(W=>!M.includes(W))}_addAriaAndCollapsedClass(v,M){if(v.length)for(const W of v)W.classList.toggle("collapsed",!M),W.setAttribute("aria-expanded",M)}static jQueryInterface(v){const M={};return"string"==typeof v&&/show|hide/.test(v)&&(M.toggle=!1),this.each(function(){const W=Xe.getOrCreateInstance(this,M);if("string"==typeof v){if(void 0===W[v])throw new TypeError(`No method named "${v}"`);W[v]()}})}}pt.on(document,Rt,Ri,function(E){("A"===E.target.tagName||E.delegateTarget&&"A"===E.delegateTarget.tagName)&&E.preventDefault();for(const v of vt.getMultipleElementsFromSelector(this))Xe.getOrCreateInstance(v,{toggle:!1}).toggle()}),P(Xe);var ke="top",ge="bottom",Ae="right",it="left",Ht="auto",Kt=[ke,ge,Ae,it],yn="start",Tn="end",pi="clippingParents",nn="viewport",Ti="popper",yi="reference",Hr=Kt.reduce(function(E,v){return E.concat([v+"-"+yn,v+"-"+Tn])},[]),ss=[].concat(Kt,[Ht]).reduce(function(E,v){return E.concat([v,v+"-"+yn,v+"-"+Tn])},[]),wr="beforeRead",yr="afterRead",jr="beforeMain",Co="afterMain",ns="beforeWrite",To="afterWrite",Bs=[wr,"read",yr,jr,"main",Co,ns,"write",To];function Eo(E){return E?(E.nodeName||"").toLowerCase():null}function wo(E){if(null==E)return window;if("[object Window]"!==E.toString()){var v=E.ownerDocument;return v&&v.defaultView||window}return E}function Ra(E){return E instanceof wo(E).Element||E instanceof Element}function Ps(E){return E instanceof wo(E).HTMLElement||E instanceof HTMLElement}function Ds(E){return typeof ShadowRoot<"u"&&(E instanceof wo(E).ShadowRoot||E instanceof ShadowRoot)}const St={name:"applyStyles",enabled:!0,phase:"write",fn:function(E){var v=E.state;Object.keys(v.elements).forEach(function(M){var W=v.styles[M]||{},ue=v.attributes[M]||{},be=v.elements[M];Ps(be)&&Eo(be)&&(Object.assign(be.style,W),Object.keys(ue).forEach(function(et){var q=ue[et];!1===q?be.removeAttribute(et):be.setAttribute(et,!0===q?"":q)}))})},effect:function(E){var v=E.state,M={popper:{position:v.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(v.elements.popper.style,M.popper),v.styles=M,v.elements.arrow&&Object.assign(v.elements.arrow.style,M.arrow),function(){Object.keys(v.elements).forEach(function(W){var ue=v.elements[W],be=v.attributes[W]||{},et=Object.keys(v.styles.hasOwnProperty(W)?v.styles[W]:M[W]).reduce(function(q,U){return q[U]="",q},{});Ps(ue)&&Eo(ue)&&(Object.assign(ue.style,et),Object.keys(be).forEach(function(q){ue.removeAttribute(q)}))})}},requires:["computeStyles"]};function En(E){return E.split("-")[0]}var dt=Math.max,Tt=Math.min,un=Math.round;function Yn(){var E=navigator.userAgentData;return null!=E&&E.brands&&Array.isArray(E.brands)?E.brands.map(function(v){return v.brand+"/"+v.version}).join(" "):navigator.userAgent}function Ui(){return!/^((?!chrome|android).)*safari/i.test(Yn())}function Gi(E,v,M){void 0===v&&(v=!1),void 0===M&&(M=!1);var W=E.getBoundingClientRect(),ue=1,be=1;v&&Ps(E)&&(ue=E.offsetWidth>0&&un(W.width)/E.offsetWidth||1,be=E.offsetHeight>0&&un(W.height)/E.offsetHeight||1);var et=(Ra(E)?wo(E):window).visualViewport,q=!Ui()&&M,U=(W.left+(q&&et?et.offsetLeft:0))/ue,Y=(W.top+(q&&et?et.offsetTop:0))/be,ne=W.width/ue,pe=W.height/be;return{width:ne,height:pe,top:Y,right:U+ne,bottom:Y+pe,left:U,x:U,y:Y}}function _r(E){var v=Gi(E),M=E.offsetWidth,W=E.offsetHeight;return Math.abs(v.width-M)<=1&&(M=v.width),Math.abs(v.height-W)<=1&&(W=v.height),{x:E.offsetLeft,y:E.offsetTop,width:M,height:W}}function us(E,v){var M=v.getRootNode&&v.getRootNode();if(E.contains(v))return!0;if(M&&Ds(M)){var W=v;do{if(W&&E.isSameNode(W))return!0;W=W.parentNode||W.host}while(W)}return!1}function So(E){return wo(E).getComputedStyle(E)}function Fo(E){return["table","td","th"].indexOf(Eo(E))>=0}function Ks(E){return((Ra(E)?E.ownerDocument:E.document)||window.document).documentElement}function na(E){return"html"===Eo(E)?E:E.assignedSlot||E.parentNode||(Ds(E)?E.host:null)||Ks(E)}function _s(E){return Ps(E)&&"fixed"!==So(E).position?E.offsetParent:null}function ko(E){for(var v=wo(E),M=_s(E);M&&Fo(M)&&"static"===So(M).position;)M=_s(M);return M&&("html"===Eo(M)||"body"===Eo(M)&&"static"===So(M).position)?v:M||function(W){var ue=/firefox/i.test(Yn());if(/Trident/i.test(Yn())&&Ps(W)&&"fixed"===So(W).position)return null;var be=na(W);for(Ds(be)&&(be=be.host);Ps(be)&&["html","body"].indexOf(Eo(be))<0;){var et=So(be);if("none"!==et.transform||"none"!==et.perspective||"paint"===et.contain||-1!==["transform","perspective"].indexOf(et.willChange)||ue&&"filter"===et.willChange||ue&&et.filter&&"none"!==et.filter)return be;be=be.parentNode}return null}(E)||v}function da(E){return["top","bottom"].indexOf(E)>=0?"x":"y"}function Wa(E,v,M){return dt(E,Tt(v,M))}function er(E){return Object.assign({},{top:0,right:0,bottom:0,left:0},E)}function Cr(E,v){return v.reduce(function(M,W){return M[W]=E,M},{})}const Ss={name:"arrow",enabled:!0,phase:"main",fn:function(E){var v,sr,Er,M=E.state,W=E.name,ue=E.options,be=M.elements.arrow,et=M.modifiersData.popperOffsets,q=En(M.placement),U=da(q),Y=[it,Ae].indexOf(q)>=0?"height":"width";if(be&&et){var ne=(Er=M,er("number"!=typeof(sr="function"==typeof(sr=ue.padding)?sr(Object.assign({},Er.rects,{placement:Er.placement})):sr)?sr:Cr(sr,Kt))),pe=_r(be),Ve="y"===U?ke:it,bt="y"===U?ge:Ae,It=M.rects.reference[Y]+M.rects.reference[U]-et[U]-M.rects.popper[Y],Xt=et[U]-M.rects.reference[U],Cn=ko(be),ni=Cn?"y"===U?Cn.clientHeight||0:Cn.clientWidth||0:0,hi=ni/2-pe[Y]/2+(It/2-Xt/2),wi=Wa(ne[Ve],hi,ni-pe[Y]-ne[bt]);M.modifiersData[W]=((v={})[U]=wi,v.centerOffset=wi-hi,v)}},effect:function(E){var v=E.state,M=E.options.element,W=void 0===M?"[data-popper-arrow]":M;null!=W&&("string"!=typeof W||(W=v.elements.popper.querySelector(W)))&&us(v.elements.popper,W)&&(v.elements.arrow=W)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function br(E){return E.split("-")[1]}var ds={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yo(E){var v,M=E.popper,W=E.popperRect,ue=E.placement,be=E.variation,et=E.offsets,q=E.position,U=E.gpuAcceleration,Y=E.adaptive,ne=E.roundOffsets,pe=E.isFixed,Ve=et.x,bt=void 0===Ve?0:Ve,It=et.y,Xt=void 0===It?0:It,Cn="function"==typeof ne?ne({x:bt,y:Xt}):{x:bt,y:Xt};bt=Cn.x,Xt=Cn.y;var ni=et.hasOwnProperty("x"),oi=et.hasOwnProperty("y"),Ei=it,Hi=ke,hi=window;if(Y){var wi=ko(M),Tr="clientHeight",sr="clientWidth";wi===wo(M)&&"static"!==So(wi=Ks(M)).position&&"absolute"===q&&(Tr="scrollHeight",sr="scrollWidth"),(ue===ke||(ue===it||ue===Ae)&&be===Tn)&&(Hi=ge,Xt-=(pe&&wi===hi&&hi.visualViewport?hi.visualViewport.height:wi[Tr])-W.height,Xt*=U?1:-1),ue!==it&&(ue!==ke&&ue!==ge||be!==Tn)||(Ei=Ae,bt-=(pe&&wi===hi&&hi.visualViewport?hi.visualViewport.width:wi[sr])-W.width,bt*=U?1:-1)}var Er,Xa,Wo,Zo,Ns,ms=Object.assign({position:q},Y&&ds),ao=!0===ne?(Xa={x:bt,y:Xt},Wo=wo(M),Zo=Xa.y,{x:un(Xa.x*(Ns=Wo.devicePixelRatio||1))/Ns||0,y:un(Zo*Ns)/Ns||0}):{x:bt,y:Xt};return bt=ao.x,Xt=ao.y,Object.assign({},ms,U?((Er={})[Hi]=oi?"0":"",Er[Ei]=ni?"0":"",Er.transform=(hi.devicePixelRatio||1)<=1?"translate("+bt+"px, "+Xt+"px)":"translate3d("+bt+"px, "+Xt+"px, 0)",Er):((v={})[Hi]=oi?Xt+"px":"",v[Ei]=ni?bt+"px":"",v.transform="",v))}const gl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(E){var v=E.state,M=E.options,W=M.gpuAcceleration,ue=void 0===W||W,be=M.adaptive,et=void 0===be||be,q=M.roundOffsets,U=void 0===q||q,Y={placement:En(v.placement),variation:br(v.placement),popper:v.elements.popper,popperRect:v.rects.popper,gpuAcceleration:ue,isFixed:"fixed"===v.options.strategy};null!=v.modifiersData.popperOffsets&&(v.styles.popper=Object.assign({},v.styles.popper,Yo(Object.assign({},Y,{offsets:v.modifiersData.popperOffsets,position:v.options.strategy,adaptive:et,roundOffsets:U})))),null!=v.modifiersData.arrow&&(v.styles.arrow=Object.assign({},v.styles.arrow,Yo(Object.assign({},Y,{offsets:v.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:U})))),v.attributes.popper=Object.assign({},v.attributes.popper,{"data-popper-placement":v.placement})},data:{}};var ha={passive:!0};const as={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(E){var v=E.state,M=E.instance,W=E.options,ue=W.scroll,be=void 0===ue||ue,et=W.resize,q=void 0===et||et,U=wo(v.elements.popper),Y=[].concat(v.scrollParents.reference,v.scrollParents.popper);return be&&Y.forEach(function(ne){ne.addEventListener("scroll",M.update,ha)}),q&&U.addEventListener("resize",M.update,ha),function(){be&&Y.forEach(function(ne){ne.removeEventListener("scroll",M.update,ha)}),q&&U.removeEventListener("resize",M.update,ha)}},data:{}};var Na={left:"right",right:"left",bottom:"top",top:"bottom"};function Ma(E){return E.replace(/left|right|bottom|top/g,function(v){return Na[v]})}var Fi={start:"end",end:"start"};function _i(E){return E.replace(/start|end/g,function(v){return Fi[v]})}function dr(E){var v=wo(E);return{scrollLeft:v.pageXOffset,scrollTop:v.pageYOffset}}function $r(E){return Gi(Ks(E)).left+dr(E).scrollLeft}function Fr(E){var v=So(E);return/auto|scroll|overlay|hidden/.test(v.overflow+v.overflowY+v.overflowX)}function Ho(E){return["html","body","#document"].indexOf(Eo(E))>=0?E.ownerDocument.body:Ps(E)&&Fr(E)?E:Ho(na(E))}function no(E,v){var M;void 0===v&&(v=[]);var W=Ho(E),ue=W===(null==(M=E.ownerDocument)?void 0:M.body),be=wo(W),et=ue?[be].concat(be.visualViewport||[],Fr(W)?W:[]):W,q=v.concat(et);return ue?q:q.concat(no(na(et)))}function Vr(E){return Object.assign({},E,{left:E.x,top:E.y,right:E.x+E.width,bottom:E.y+E.height})}function os(E,v,M){return v===nn?Vr(function(W,ue){var be=wo(W),et=Ks(W),q=be.visualViewport,U=et.clientWidth,Y=et.clientHeight,ne=0,pe=0;if(q){U=q.width,Y=q.height;var Ve=Ui();(Ve||!Ve&&"fixed"===ue)&&(ne=q.offsetLeft,pe=q.offsetTop)}return{width:U,height:Y,x:ne+$r(W),y:pe}}(E,M)):Ra(v)?((be=Gi(W=v,!1,"fixed"===M)).top=be.top+W.clientTop,be.left=be.left+W.clientLeft,be.bottom=be.top+W.clientHeight,be.right=be.left+W.clientWidth,be.width=W.clientWidth,be.height=W.clientHeight,be.x=be.left,be.y=be.top,be):Vr(function(W){var ue,be=Ks(W),et=dr(W),q=null==(ue=W.ownerDocument)?void 0:ue.body,U=dt(be.scrollWidth,be.clientWidth,q?q.scrollWidth:0,q?q.clientWidth:0),Y=dt(be.scrollHeight,be.clientHeight,q?q.scrollHeight:0,q?q.clientHeight:0),ne=-et.scrollLeft+$r(W),pe=-et.scrollTop;return"rtl"===So(q||be).direction&&(ne+=dt(be.clientWidth,q?q.clientWidth:0)-U),{width:U,height:Y,x:ne,y:pe}}(Ks(E)));var W,be}function $o(E){var v,M=E.reference,W=E.element,ue=E.placement,be=ue?En(ue):null,et=ue?br(ue):null,q=M.x+M.width/2-W.width/2,U=M.y+M.height/2-W.height/2;switch(be){case ke:v={x:q,y:M.y-W.height};break;case ge:v={x:q,y:M.y+M.height};break;case Ae:v={x:M.x+M.width,y:U};break;case it:v={x:M.x-W.width,y:U};break;default:v={x:M.x,y:M.y}}var Y=be?da(be):null;if(null!=Y){var ne="y"===Y?"height":"width";switch(et){case yn:v[Y]=v[Y]-(M[ne]/2-W[ne]/2);break;case Tn:v[Y]=v[Y]+(M[ne]/2-W[ne]/2)}}return v}function Ko(E,v){void 0===v&&(v={});var Wo,mo,Zo,Ns,Is,ll,tr,Va,hc,_o,W=v.placement,ue=void 0===W?E.placement:W,be=v.strategy,et=void 0===be?E.strategy:be,q=v.boundary,U=void 0===q?pi:q,Y=v.rootBoundary,ne=void 0===Y?nn:Y,pe=v.elementContext,Ve=void 0===pe?Ti:pe,bt=v.altBoundary,It=void 0!==bt&&bt,Xt=v.padding,Cn=void 0===Xt?0:Xt,ni=er("number"!=typeof Cn?Cn:Cr(Cn,Kt)),Ei=E.rects.popper,Hi=E.elements[It?Ve===Ti?yi:Ti:Ve],hi=(Wo=Ra(Hi)?Hi:Hi.contextElement||Ks(E.elements.popper),Zo=ne,Ns=et,Va="clippingParents"===(mo=U)?(ll=no(na(Is=Wo)),Ra(tr=["absolute","fixed"].indexOf(So(Is).position)>=0&&Ps(Is)?ko(Is):Is)?ll.filter(function(Ir){return Ra(Ir)&&us(Ir,tr)&&"body"!==Eo(Ir)}):[]):[].concat(mo),_o=(hc=[].concat(Va,[Zo])).reduce(function(Is,ll){var tr=os(Wo,ll,Ns);return Is.top=dt(tr.top,Is.top),Is.right=Tt(tr.right,Is.right),Is.bottom=Tt(tr.bottom,Is.bottom),Is.left=dt(tr.left,Is.left),Is},os(Wo,hc[0],Ns)),_o.width=_o.right-_o.left,_o.height=_o.bottom-_o.top,_o.x=_o.left,_o.y=_o.top,_o),wi=Gi(E.elements.reference),Tr=$o({reference:wi,element:Ei,strategy:"absolute",placement:ue}),sr=Vr(Object.assign({},Ei,Tr)),Er=Ve===Ti?sr:wi,ms={top:hi.top-Er.top+ni.top,bottom:Er.bottom-hi.bottom+ni.bottom,left:hi.left-Er.left+ni.left,right:Er.right-hi.right+ni.right},ao=E.modifiersData.offset;if(Ve===Ti&&ao){var Xa=ao[ue];Object.keys(ms).forEach(function(Wo){var mo=[Ae,ge].indexOf(Wo)>=0?1:-1,Zo=[ke,ge].indexOf(Wo)>=0?"y":"x";ms[Wo]+=Xa[Zo]*mo})}return ms}const Mo={name:"flip",enabled:!0,phase:"main",fn:function(E){var v=E.state,M=E.options,W=E.name;if(!v.modifiersData[W]._skip){for(var ue=M.mainAxis,be=void 0===ue||ue,et=M.altAxis,q=void 0===et||et,U=M.fallbackPlacements,Y=M.padding,ne=M.boundary,pe=M.rootBoundary,Ve=M.altBoundary,bt=M.flipVariations,It=void 0===bt||bt,Xt=M.allowedAutoPlacements,Cn=v.options.placement,ni=En(Cn),oi=U||(ni!==Cn&&It?function(Is){if(En(Is)===Ht)return[];var ll=Ma(Is);return[_i(Is),ll,_i(ll)]}(Cn):[Ma(Cn)]),Ei=[Cn].concat(oi).reduce(function(Is,ll){return Is.concat(En(ll)===Ht?function Rn(E,v){void 0===v&&(v={});var ue=v.boundary,be=v.rootBoundary,et=v.padding,q=v.flipVariations,U=v.allowedAutoPlacements,Y=void 0===U?ss:U,ne=br(v.placement),pe=ne?q?Hr:Hr.filter(function(It){return br(It)===ne}):Kt,Ve=pe.filter(function(It){return Y.indexOf(It)>=0});0===Ve.length&&(Ve=pe);var bt=Ve.reduce(function(It,Xt){return It[Xt]=Ko(E,{placement:Xt,boundary:ue,rootBoundary:be,padding:et})[En(Xt)],It},{});return Object.keys(bt).sort(function(It,Xt){return bt[It]-bt[Xt]})}(v,{placement:ll,boundary:ne,rootBoundary:pe,padding:Y,flipVariations:It,allowedAutoPlacements:Xt}):ll)},[]),Hi=v.rects.reference,hi=v.rects.popper,wi=new Map,Tr=!0,sr=Ei[0],Er=0;Er=0,mo=Wo?"width":"height",Zo=Ko(v,{placement:ms,boundary:ne,rootBoundary:pe,altBoundary:Ve,padding:Y}),Ns=Wo?Xa?Ae:it:Xa?ge:ke;Hi[mo]>hi[mo]&&(Ns=Ma(Ns));var Va=Ma(Ns),hc=[];if(be&&hc.push(Zo[ao]<=0),q&&hc.push(Zo[Ns]<=0,Zo[Va]<=0),hc.every(function(Is){return Is})){sr=ms,Tr=!1;break}wi.set(ms,hc)}if(Tr)for(var Ml=function(Is){var ll=Ei.find(function(tr){var Ir=wi.get(tr);if(Ir)return Ir.slice(0,Is).every(function(kr){return kr})});if(ll)return sr=ll,"break"},_o=It?3:1;_o>0&&"break"!==Ml(_o);_o--);v.placement!==sr&&(v.modifiersData[W]._skip=!0,v.placement=sr,v.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Aa(E,v,M){return void 0===M&&(M={x:0,y:0}),{top:E.top-v.height-M.y,right:E.right-v.width+M.x,bottom:E.bottom-v.height+M.y,left:E.left-v.width-M.x}}function Xr(E){return[ke,Ae,ge,it].some(function(v){return E[v]>=0})}const gr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(E){var v=E.state,M=E.name,W=v.rects.reference,ue=v.rects.popper,be=v.modifiersData.preventOverflow,et=Ko(v,{elementContext:"reference"}),q=Ko(v,{altBoundary:!0}),U=Aa(et,W),Y=Aa(q,ue,be),ne=Xr(U),pe=Xr(Y);v.modifiersData[M]={referenceClippingOffsets:U,popperEscapeOffsets:Y,isReferenceHidden:ne,hasPopperEscaped:pe},v.attributes.popper=Object.assign({},v.attributes.popper,{"data-popper-reference-hidden":ne,"data-popper-escaped":pe})}},Us={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(E){var v=E.state,W=E.name,ue=E.options.offset,be=void 0===ue?[0,0]:ue,et=ss.reduce(function(ne,pe){return ne[pe]=(bt=v.rects,It=be,Xt=En(Ve=pe),Cn=[it,ke].indexOf(Xt)>=0?-1:1,oi=(oi=(ni="function"==typeof It?It(Object.assign({},bt,{placement:Ve})):It)[0])||0,Ei=((Ei=ni[1])||0)*Cn,[it,Ae].indexOf(Xt)>=0?{x:Ei,y:oi}:{x:oi,y:Ei}),ne;var Ve,bt,It,Xt,Cn,ni,oi,Ei},{}),q=et[v.placement],Y=q.y;null!=v.modifiersData.popperOffsets&&(v.modifiersData.popperOffsets.x+=q.x,v.modifiersData.popperOffsets.y+=Y),v.modifiersData[W]=et}},Rs={name:"popperOffsets",enabled:!0,phase:"read",fn:function(E){var v=E.state;v.modifiersData[E.name]=$o({reference:v.rects.reference,element:v.rects.popper,strategy:"absolute",placement:v.placement})},data:{}},Mr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(E){var js,Sl,v=E.state,M=E.options,W=E.name,ue=M.mainAxis,be=void 0===ue||ue,et=M.altAxis,q=void 0!==et&&et,Ve=M.tether,bt=void 0===Ve||Ve,It=M.tetherOffset,Xt=void 0===It?0:It,Cn=Ko(v,{boundary:M.boundary,rootBoundary:M.rootBoundary,padding:M.padding,altBoundary:M.altBoundary}),ni=En(v.placement),oi=br(v.placement),Ei=!oi,Hi=da(ni),hi="x"===Hi?"y":"x",wi=v.modifiersData.popperOffsets,Tr=v.rects.reference,sr=v.rects.popper,Er="function"==typeof Xt?Xt(Object.assign({},v.rects,{placement:v.placement})):Xt,ms="number"==typeof Er?{mainAxis:Er,altAxis:Er}:Object.assign({mainAxis:0,altAxis:0},Er),ao=v.modifiersData.offset?v.modifiersData.offset[v.placement]:null,Xa={x:0,y:0};if(wi){if(be){var Wo,mo="y"===Hi?ke:it,Zo="y"===Hi?ge:Ae,Ns="y"===Hi?"height":"width",Va=wi[Hi],hc=Va+Cn[mo],Ml=Va-Cn[Zo],_o=bt?-sr[Ns]/2:0,Is=oi===yn?Tr[Ns]:sr[Ns],ll=oi===yn?-sr[Ns]:-Tr[Ns],tr=v.elements.arrow,Ir=bt&&tr?_r(tr):{width:0,height:0},kr=v.modifiersData["arrow#persistent"]?v.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Jr=kr[mo],Go=kr[Zo],oa=Wa(0,Tr[Ns],Ir[Ns]),Hl=Ei?Tr[Ns]/2-_o-oa-Jr-ms.mainAxis:Is-oa-Jr-ms.mainAxis,vs=Ei?-Tr[Ns]/2+_o+oa+Go+ms.mainAxis:ll+oa+Go+ms.mainAxis,fs=v.elements.arrow&&ko(v.elements.arrow),aa=fs?"y"===Hi?fs.clientTop||0:fs.clientLeft||0:0,jl=null!=(Wo=ao?.[Hi])?Wo:0,cl=Va+vs-jl,qa=Wa(bt?Tt(hc,Va+Hl-jl-aa):hc,Va,bt?dt(Ml,cl):Ml);wi[Hi]=qa,Xa[Hi]=qa-Va}if(q){var zl,yc=wi[hi],cs="y"===hi?"height":"width",R=yc+Cn["x"===Hi?ke:it],te=yc-Cn["x"===Hi?ge:Ae],Ie=-1!==[ke,it].indexOf(ni),Pe=null!=(zl=ao?.[hi])?zl:0,ft=Ie?R:yc-Tr[cs]-sr[cs]-Pe+ms.altAxis,on=Ie?yc+Tr[cs]+sr[cs]-Pe-ms.altAxis:te,Gn=bt&&Ie?(Sl=Wa(ft,yc,js=on))>js?js:Sl:Wa(bt?ft:R,yc,bt?on:te);wi[hi]=Gn,Xa[hi]=Gn-yc}v.modifiersData[W]=Xa}},requiresIfExists:["offset"]};function Zr(E,v,M){void 0===M&&(M=!1);var W,ue,pe,Ve,bt,It,be=Ps(v),et=Ps(v)&&(Ve=(pe=v).getBoundingClientRect(),bt=un(Ve.width)/pe.offsetWidth||1,It=un(Ve.height)/pe.offsetHeight||1,1!==bt||1!==It),q=Ks(v),U=Gi(E,et,M),Y={scrollLeft:0,scrollTop:0},ne={x:0,y:0};return(be||!be&&!M)&&(("body"!==Eo(v)||Fr(q))&&(Y=(W=v)!==wo(W)&&Ps(W)?{scrollLeft:(ue=W).scrollLeft,scrollTop:ue.scrollTop}:dr(W)),Ps(v)?((ne=Gi(v,!0)).x+=v.clientLeft,ne.y+=v.clientTop):q&&(ne.x=$r(q))),{x:U.left+Y.scrollLeft-ne.x,y:U.top+Y.scrollTop-ne.y,width:U.width,height:U.height}}function Ji(E){var v=new Map,M=new Set,W=[];function ue(be){M.add(be.name),[].concat(be.requires||[],be.requiresIfExists||[]).forEach(function(et){if(!M.has(et)){var q=v.get(et);q&&ue(q)}}),W.push(be)}return E.forEach(function(be){v.set(be.name,be)}),E.forEach(function(be){M.has(be.name)||ue(be)}),W}var uo={placement:"bottom",modifiers:[],strategy:"absolute"};function Oo(){for(var E=arguments.length,v=new Array(E),M=0;MNumber.parseInt(M,10)):"function"==typeof v?M=>v(M,this._element):v}_getPopperConfig(){const v={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(ot.setDataAttribute(this._menu,"popper","static"),v.modifiers=[{name:"applyStyles",enabled:!1}]),{...v,...X(this._config.popperConfig,[v])}}_selectMenuItem({key:v,target:M}){const W=vt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(ue=>C(ue));W.length&&Oe(W,M,v===tl,!W.includes(M)).focus()}static jQueryInterface(v){return this.each(function(){const M=ya.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v]()}})}static clearMenus(v){if(2===v.button||"keyup"===v.type&&"Tab"!==v.key)return;const M=vt.find(nl);for(const W of M){const ue=ya.getInstance(W);if(!ue||!1===ue._config.autoClose)continue;const be=v.composedPath(),et=be.includes(ue._menu);if(be.includes(ue._element)||"inside"===ue._config.autoClose&&!et||"outside"===ue._config.autoClose&&et||ue._menu.contains(v.target)&&("keyup"===v.type&&"Tab"===v.key||/input|select|option|textarea|form/i.test(v.target.tagName)))continue;const q={relatedTarget:ue._element};"click"===v.type&&(q.clickEvent=v),ue._completeHide(q)}}static dataApiKeydownHandler(v){const M=/input|textarea/i.test(v.target.tagName),W="Escape"===v.key,ue=[Pl,tl].includes(v.key);if(!ue&&!W||M&&!W)return;v.preventDefault();const be=this.matches(Sa)?this:vt.prev(this,Sa)[0]||vt.next(this,Sa)[0]||vt.findOne(Sa,v.delegateTarget.parentNode),et=ya.getOrCreateInstance(be);if(ue)return v.stopPropagation(),et.show(),void et._selectMenuItem(v);et._isShown()&&(v.stopPropagation(),et.hide(),be.focus())}}pt.on(document,Da,Sa,ya.dataApiKeydownHandler),pt.on(document,Da,ia,ya.dataApiKeydownHandler),pt.on(document,Hs,ya.clearMenus),pt.on(document,Za,ya.clearMenus),pt.on(document,Hs,Sa,function(E){E.preventDefault(),ya.getOrCreateInstance(this).toggle()}),P(ya);const Ne="backdrop",Ce=`mousedown.bs.${Ne}`,ut={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Zt={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Yi extends Ct{constructor(v){super(),this._config=this._getConfig(v),this._isAppended=!1,this._element=null}static get Default(){return ut}static get DefaultType(){return Zt}static get NAME(){return Ne}show(v){if(!this._config.isVisible)return void X(v);this._append();const M=this._getElement();M.classList.add("show"),this._emulateAnimation(()=>{X(v)})}hide(v){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),X(v)})):X(v)}dispose(){this._isAppended&&(pt.off(this._element,Ce),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const v=document.createElement("div");v.className=this._config.className,this._config.isAnimated&&v.classList.add("fade"),this._element=v}return this._element}_configAfterMerge(v){return v.rootElement=y(v.rootElement),v}_append(){if(this._isAppended)return;const v=this._getElement();this._config.rootElement.append(v),pt.on(v,Ce,()=>{X(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(v){me(v,this._getElement(),this._config.isAnimated)}}const lr=".bs.focustrap",ro=`focusin${lr}`,Xs=`keydown.tab${lr}`,Jo="backward",Qo={autofocus:!0,trapElement:null},ga={autofocus:"boolean",trapElement:"element"};class Ts extends Ct{constructor(v){super(),this._config=this._getConfig(v),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Qo}static get DefaultType(){return ga}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),pt.off(document,lr),pt.on(document,ro,v=>this._handleFocusin(v)),pt.on(document,Xs,v=>this._handleKeydown(v)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,pt.off(document,lr))}_handleFocusin(v){const{trapElement:M}=this._config;if(v.target===document||v.target===M||M.contains(v.target))return;const W=vt.focusableChildren(M);0===W.length?M.focus():this._lastTabNavDirection===Jo?W[W.length-1].focus():W[0].focus()}_handleKeydown(v){"Tab"===v.key&&(this._lastTabNavDirection=v.shiftKey?Jo:"forward")}}const rl=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",kc=".sticky-top",Cs="padding-right",Rl="margin-right";class pa{constructor(){this._element=document.body}getWidth(){const v=document.documentElement.clientWidth;return Math.abs(window.innerWidth-v)}hide(){const v=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Cs,M=>M+v),this._setElementAttributes(rl,Cs,M=>M+v),this._setElementAttributes(kc,Rl,M=>M-v)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Cs),this._resetElementAttributes(rl,Cs),this._resetElementAttributes(kc,Rl)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(v,M,W){const ue=this.getWidth();this._applyManipulationCallback(v,be=>{if(be!==this._element&&window.innerWidth>be.clientWidth+ue)return;this._saveInitialAttribute(be,M);const et=window.getComputedStyle(be).getPropertyValue(M);be.style.setProperty(M,`${W(Number.parseFloat(et))}px`)})}_saveInitialAttribute(v,M){const W=v.style.getPropertyValue(M);W&&ot.setDataAttribute(v,M,W)}_resetElementAttributes(v,M){this._applyManipulationCallback(v,W=>{const ue=ot.getDataAttribute(W,M);null!==ue?(ot.removeDataAttribute(W,M),W.style.setProperty(M,ue)):W.style.removeProperty(M)})}_applyManipulationCallback(v,M){if(a(v))M(v);else for(const W of vt.find(v,this._element))M(W)}}const ba=".bs.modal",Jl=`hide${ba}`,Fa=`hidePrevented${ba}`,so=`hidden${ba}`,Vs=`show${ba}`,Vn=`shown${ba}`,Ga=`resize${ba}`,ra=`click.dismiss${ba}`,ai=`mousedown.dismiss${ba}`,Nl=`keydown.dismiss${ba}`,Oc=`click${ba}.data-api`,sl="modal-open",Cl="modal-static",Ao={backdrop:!0,focus:!0,keyboard:!0},Lc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ol extends He{constructor(v,M){super(v,M),this._dialog=vt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new pa,this._addEventListeners()}static get Default(){return Ao}static get DefaultType(){return Lc}static get NAME(){return"modal"}toggle(v){return this._isShown?this.hide():this.show(v)}show(v){this._isShown||this._isTransitioning||pt.trigger(this._element,Vs,{relatedTarget:v}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sl),this._adjustDialog(),this._backdrop.show(()=>this._showElement(v)))}hide(){this._isShown&&!this._isTransitioning&&(pt.trigger(this._element,Jl).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){pt.off(window,ba),pt.off(this._dialog,ba),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Yi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ts({trapElement:this._element})}_showElement(v){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const M=vt.findOne(".modal-body",this._dialog);M&&(M.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,pt.trigger(this._element,Vn,{relatedTarget:v})},this._dialog,this._isAnimated())}_addEventListeners(){pt.on(this._element,Nl,v=>{"Escape"===v.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),pt.on(window,Ga,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),pt.on(this._element,ai,v=>{pt.one(this._element,ra,M=>{this._element===v.target&&this._element===M.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(sl),this._resetAdjustments(),this._scrollBar.reset(),pt.trigger(this._element,so)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(pt.trigger(this._element,Fa).defaultPrevented)return;const v=this._element.scrollHeight>document.documentElement.clientHeight,M=this._element.style.overflowY;"hidden"===M||this._element.classList.contains(Cl)||(v||(this._element.style.overflowY="hidden"),this._element.classList.add(Cl),this._queueCallback(()=>{this._element.classList.remove(Cl),this._queueCallback(()=>{this._element.style.overflowY=M},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const v=this._element.scrollHeight>document.documentElement.clientHeight,M=this._scrollBar.getWidth(),W=M>0;if(W&&!v){const ue=k()?"paddingLeft":"paddingRight";this._element.style[ue]=`${M}px`}if(!W&&v){const ue=k()?"paddingRight":"paddingLeft";this._element.style[ue]=`${M}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(v,M){return this.each(function(){const W=ol.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===W[v])throw new TypeError(`No method named "${v}"`);W[v](M)}})}}pt.on(document,Oc,'[data-bs-toggle="modal"]',function(E){const v=vt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&E.preventDefault(),pt.one(v,Vs,W=>{W.defaultPrevented||pt.one(v,so,()=>{C(this)&&this.focus()})});const M=vt.findOne(".modal.show");M&&ol.getInstance(M).hide(),ol.getOrCreateInstance(v).toggle(this)}),hn(ol),P(ol);const Xo=".bs.offcanvas",hs=".data-api",vl=`load${Xo}${hs}`,qo="showing",hr=".offcanvas.show",zo=`show${Xo}`,Wr=`shown${Xo}`,is=`hide${Xo}`,Ql=`hidePrevented${Xo}`,re=`hidden${Xo}`,qe=`resize${Xo}`,Te=`click${Xo}${hs}`,We=`keydown.dismiss${Xo}`,Ut={backdrop:!0,keyboard:!0,scroll:!1},Ln={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Hn extends He{constructor(v,M){super(v,M),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ut}static get DefaultType(){return Ln}static get NAME(){return"offcanvas"}toggle(v){return this._isShown?this.hide():this.show(v)}show(v){this._isShown||pt.trigger(this._element,zo,{relatedTarget:v}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new pa).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qo),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(qo),pt.trigger(this._element,Wr,{relatedTarget:v})},this._element,!0))}hide(){this._isShown&&(pt.trigger(this._element,is).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new pa).reset(),pt.trigger(this._element,re)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const v=!!this._config.backdrop;return new Yi({className:"offcanvas-backdrop",isVisible:v,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:v?()=>{"static"!==this._config.backdrop?this.hide():pt.trigger(this._element,Ql)}:null})}_initializeFocusTrap(){return new Ts({trapElement:this._element})}_addEventListeners(){pt.on(this._element,We,v=>{"Escape"===v.key&&(this._config.keyboard?this.hide():pt.trigger(this._element,Ql))})}static jQueryInterface(v){return this.each(function(){const M=Hn.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v](this)}})}}pt.on(document,Te,'[data-bs-toggle="offcanvas"]',function(E){const v=vt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&E.preventDefault(),b(this))return;pt.one(v,re,()=>{C(this)&&this.focus()});const M=vt.findOne(hr);M&&M!==v&&Hn.getInstance(M).hide(),Hn.getOrCreateInstance(v).toggle(this)}),pt.on(window,vl,()=>{for(const E of vt.find(hr))Hn.getOrCreateInstance(E).show()}),pt.on(window,qe,()=>{for(const E of vt.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(E).position&&Hn.getOrCreateInstance(E).hide()}),hn(Hn),P(Hn);const Si={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ps=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,ls=(E,v)=>{const M=E.nodeName.toLowerCase();return v.includes(M)?!ps.has(M)||!!qr.test(E.nodeValue):v.filter(W=>W instanceof RegExp).some(W=>W.test(M))},zr={allowList:Si,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Ws={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ks={entry:"(string|element|function|null)",selector:"(string|element)"};class rs extends Ct{constructor(v){super(),this._config=this._getConfig(v)}static get Default(){return zr}static get DefaultType(){return Ws}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(v=>this._resolvePossibleFunction(v)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(v){return this._checkContent(v),this._config.content={...this._config.content,...v},this}toHtml(){const v=document.createElement("div");v.innerHTML=this._maybeSanitize(this._config.template);for(const[ue,be]of Object.entries(this._config.content))this._setContent(v,be,ue);const M=v.children[0],W=this._resolvePossibleFunction(this._config.extraClass);return W&&M.classList.add(...W.split(" ")),M}_typeCheckConfig(v){super._typeCheckConfig(v),this._checkContent(v.content)}_checkContent(v){for(const[M,W]of Object.entries(v))super._typeCheckConfig({selector:M,entry:W},ks)}_setContent(v,M,W){const ue=vt.findOne(W,v);ue&&((M=this._resolvePossibleFunction(M))?a(M)?this._putElementInTemplate(y(M),ue):this._config.html?ue.innerHTML=this._maybeSanitize(M):ue.textContent=M:ue.remove())}_maybeSanitize(v){return this._config.sanitize?function(M,W,ue){if(!M.length)return M;if(ue&&"function"==typeof ue)return ue(M);const be=(new window.DOMParser).parseFromString(M,"text/html"),et=[].concat(...be.body.querySelectorAll("*"));for(const q of et){const U=q.nodeName.toLowerCase();if(!Object.keys(W).includes(U)){q.remove();continue}const Y=[].concat(...q.attributes),ne=[].concat(W["*"]||[],W[U]||[]);for(const pe of Y)ls(pe,ne)||q.removeAttribute(pe.nodeName)}return be.body.innerHTML}(v,this._config.allowList,this._config.sanitizeFn):v}_resolvePossibleFunction(v){return X(v,[this])}_putElementInTemplate(v,M){if(this._config.html)return M.innerHTML="",void M.append(v);M.textContent=v.textContent}}const ea=new Set(["sanitize","allowList","sanitizeFn"]),Zs="fade",xa="show",$a="hide.bs.modal",fo="hover",za="focus",Uc={AUTO:"auto",TOP:"top",RIGHT:k()?"left":"right",BOTTOM:"bottom",LEFT:k()?"right":"left"},Es={allowList:Si,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Vl={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Ka extends He{constructor(v,M){if(void 0===Kl)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(v,M),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Es}static get DefaultType(){return Vl}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),pt.off(this._element.closest(".modal"),$a,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const v=pt.trigger(this._element,this.constructor.eventName("show")),M=(F(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(v.defaultPrevented||!M)return;this._disposePopper();const W=this._getTipElement();this._element.setAttribute("aria-describedby",W.getAttribute("id"));const{container:ue}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(ue.append(W),pt.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(W),W.classList.add(xa),"ontouchstart"in document.documentElement)for(const be of[].concat(...document.body.children))pt.on(be,"mouseover",j);this._queueCallback(()=>{pt.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!pt.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(xa),"ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))pt.off(v,"mouseover",j);this._activeTrigger.click=!1,this._activeTrigger[za]=!1,this._activeTrigger[fo]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),pt.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(v){const M=this._getTemplateFactory(v).toHtml();if(!M)return null;M.classList.remove(Zs,xa),M.classList.add(`bs-${this.constructor.NAME}-auto`);const W=(ue=>{do{ue+=Math.floor(1e6*Math.random())}while(document.getElementById(ue));return ue})(this.constructor.NAME).toString();return M.setAttribute("id",W),this._isAnimated()&&M.classList.add(Zs),M}setContent(v){this._newContent=v,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(v){return this._templateFactory?this._templateFactory.changeContent(v):this._templateFactory=new rs({...this._config,content:v,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(v){return this.constructor.getOrCreateInstance(v.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zs)}_isShown(){return this.tip&&this.tip.classList.contains(xa)}_createPopper(v){const M=X(this._config.placement,[this,v,this._element]),W=Uc[M.toUpperCase()];return fa(this._element,v,this._getPopperConfig(W))}_getOffset(){const{offset:v}=this._config;return"string"==typeof v?v.split(",").map(M=>Number.parseInt(M,10)):"function"==typeof v?M=>v(M,this._element):v}_resolvePossibleFunction(v){return X(v,[this._element])}_getPopperConfig(v){const M={placement:v,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:W=>{this._getTipElement().setAttribute("data-popper-placement",W.state.placement)}}]};return{...M,...X(this._config.popperConfig,[M])}}_setListeners(){const v=this._config.trigger.split(" ");for(const M of v)if("click"===M)pt.on(this._element,this.constructor.eventName("click"),this._config.selector,W=>{this._initializeOnDelegatedTarget(W).toggle()});else if("manual"!==M){const W=this.constructor.eventName(M===fo?"mouseenter":"focusin"),ue=this.constructor.eventName(M===fo?"mouseleave":"focusout");pt.on(this._element,W,this._config.selector,be=>{const et=this._initializeOnDelegatedTarget(be);et._activeTrigger["focusin"===be.type?za:fo]=!0,et._enter()}),pt.on(this._element,ue,this._config.selector,be=>{const et=this._initializeOnDelegatedTarget(be);et._activeTrigger["focusout"===be.type?za:fo]=et._element.contains(be.relatedTarget),et._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},pt.on(this._element.closest(".modal"),$a,this._hideModalHandler)}_fixTitle(){const v=this._element.getAttribute("title");v&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",v),this._element.setAttribute("data-bs-original-title",v),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(v,M){clearTimeout(this._timeout),this._timeout=setTimeout(v,M)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(v){const M=ot.getDataAttributes(this._element);for(const W of Object.keys(M))ea.has(W)&&delete M[W];return v={...M,..."object"==typeof v&&v?v:{}},v=this._mergeConfigObj(v),v=this._configAfterMerge(v),this._typeCheckConfig(v),v}_configAfterMerge(v){return v.container=!1===v.container?document.body:y(v.container),"number"==typeof v.delay&&(v.delay={show:v.delay,hide:v.delay}),"number"==typeof v.title&&(v.title=v.title.toString()),"number"==typeof v.content&&(v.content=v.content.toString()),v}_getDelegateConfig(){const v={};for(const[M,W]of Object.entries(this._config))this.constructor.Default[M]!==W&&(v[M]=W);return v.selector=!1,v.trigger="manual",v}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(v){return this.each(function(){const M=Ka.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v]()}})}}P(Ka);const go={...Ka.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Fl={...Ka.DefaultType,content:"(null|string|element|function)"};class Ba extends Ka{static get Default(){return go}static get DefaultType(){return Fl}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(v){return this.each(function(){const M=Ba.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v]()}})}}P(Ba);const po=".bs.scrollspy",yo=`activate${po}`,ma=`click${po}`,xl=`load${po}.data-api`,Xl="active",_a="[href]",cc=".nav-link",Hc=`${cc}, .nav-item > ${cc}, .list-group-item`,Pc={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},uc={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ql extends He{constructor(v,M){super(v,M),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Pc}static get DefaultType(){return uc}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const v of this._observableSections.values())this._observer.observe(v)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(v){return v.target=y(v.target)||document.body,v.rootMargin=v.offset?`${v.offset}px 0px -30%`:v.rootMargin,"string"==typeof v.threshold&&(v.threshold=v.threshold.split(",").map(M=>Number.parseFloat(M))),v}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(pt.off(this._config.target,ma),pt.on(this._config.target,ma,_a,v=>{const M=this._observableSections.get(v.target.hash);if(M){v.preventDefault();const W=this._rootElement||window,ue=M.offsetTop-this._element.offsetTop;if(W.scrollTo)return void W.scrollTo({top:ue,behavior:"smooth"});W.scrollTop=ue}}))}_getNewObserver(){return new IntersectionObserver(M=>this._observerCallback(M),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(v){const M=et=>this._targetLinks.get(`#${et.target.id}`),W=et=>{this._previousScrollData.visibleEntryTop=et.target.offsetTop,this._process(M(et))},ue=(this._rootElement||document.documentElement).scrollTop,be=ue>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=ue;for(const et of v){if(!et.isIntersecting){this._activeTarget=null,this._clearActiveClass(M(et));continue}const q=et.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(be&&q){if(W(et),!ue)return}else be||q||W(et)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const v=vt.find(_a,this._config.target);for(const M of v){if(!M.hash||b(M))continue;const W=vt.findOne(decodeURI(M.hash),this._element);C(W)&&(this._targetLinks.set(decodeURI(M.hash),M),this._observableSections.set(M.hash,W))}}_process(v){this._activeTarget!==v&&(this._clearActiveClass(this._config.target),this._activeTarget=v,v.classList.add(Xl),this._activateParents(v),pt.trigger(this._element,yo,{relatedTarget:v}))}_activateParents(v){if(v.classList.contains("dropdown-item"))vt.findOne(".dropdown-toggle",v.closest(".dropdown")).classList.add(Xl);else for(const M of vt.parents(v,".nav, .list-group"))for(const W of vt.prev(M,Hc))W.classList.add(Xl)}_clearActiveClass(v){v.classList.remove(Xl);const M=vt.find(`${_a}.${Xl}`,v);for(const W of M)W.classList.remove(Xl)}static jQueryInterface(v){return this.each(function(){const M=ql.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v]()}})}}pt.on(window,xl,()=>{for(const E of vt.find('[data-bs-spy="scroll"]'))ql.getOrCreateInstance(E)}),P(ql);const Yl=".bs.tab",cr=`hide${Yl}`,Tl=`hidden${Yl}`,Bl=`show${Yl}`,Ac=`shown${Yl}`,au=`click${Yl}`,ic=`keydown${Yl}`,Zc=`load${Yl}`,El="ArrowLeft",Gc="ArrowRight",Ja="ArrowUp",rc="ArrowDown",Vo="Home",$c="End",ii="active",Ic="show",Ul=".dropdown-toggle",Ta=`:not(${Ul})`,Rc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Al=`.nav-link${Ta}, .list-group-item${Ta}, [role="tab"]${Ta}, ${Rc}`,Oa=`.${ii}[data-bs-toggle="tab"], .${ii}[data-bs-toggle="pill"], .${ii}[data-bs-toggle="list"]`;class Ea extends He{constructor(v){super(v),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),pt.on(this._element,ic,M=>this._keydown(M)))}static get NAME(){return"tab"}show(){const v=this._element;if(this._elemIsActive(v))return;const M=this._getActiveElem(),W=M?pt.trigger(M,cr,{relatedTarget:v}):null;pt.trigger(v,Bl,{relatedTarget:M}).defaultPrevented||W&&W.defaultPrevented||(this._deactivate(M,v),this._activate(v,M))}_activate(v,M){v&&(v.classList.add(ii),this._activate(vt.getElementFromSelector(v)),this._queueCallback(()=>{"tab"===v.getAttribute("role")?(v.removeAttribute("tabindex"),v.setAttribute("aria-selected",!0),this._toggleDropDown(v,!0),pt.trigger(v,Ac,{relatedTarget:M})):v.classList.add(Ic)},v,v.classList.contains("fade")))}_deactivate(v,M){v&&(v.classList.remove(ii),v.blur(),this._deactivate(vt.getElementFromSelector(v)),this._queueCallback(()=>{"tab"===v.getAttribute("role")?(v.setAttribute("aria-selected",!1),v.setAttribute("tabindex","-1"),this._toggleDropDown(v,!1),pt.trigger(v,Tl,{relatedTarget:M})):v.classList.remove(Ic)},v,v.classList.contains("fade")))}_keydown(v){if(![El,Gc,Ja,rc,Vo,$c].includes(v.key))return;v.stopPropagation(),v.preventDefault();const M=this._getChildren().filter(ue=>!b(ue));let W;if([Vo,$c].includes(v.key))W=M[v.key===Vo?0:M.length-1];else{const ue=[Gc,rc].includes(v.key);W=Oe(M,v.target,ue,!0)}W&&(W.focus({preventScroll:!0}),Ea.getOrCreateInstance(W).show())}_getChildren(){return vt.find(Al,this._parent)}_getActiveElem(){return this._getChildren().find(v=>this._elemIsActive(v))||null}_setInitialAttributes(v,M){this._setAttributeIfNotExists(v,"role","tablist");for(const W of M)this._setInitialAttributesOnChild(W)}_setInitialAttributesOnChild(v){v=this._getInnerElement(v);const M=this._elemIsActive(v),W=this._getOuterElement(v);v.setAttribute("aria-selected",M),W!==v&&this._setAttributeIfNotExists(W,"role","presentation"),M||v.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(v,"role","tab"),this._setInitialAttributesOnTargetPanel(v)}_setInitialAttributesOnTargetPanel(v){const M=vt.getElementFromSelector(v);M&&(this._setAttributeIfNotExists(M,"role","tabpanel"),v.id&&this._setAttributeIfNotExists(M,"aria-labelledby",`${v.id}`))}_toggleDropDown(v,M){const W=this._getOuterElement(v);if(!W.classList.contains("dropdown"))return;const ue=(be,et)=>{const q=vt.findOne(be,W);q&&q.classList.toggle(et,M)};ue(Ul,ii),ue(".dropdown-menu",Ic),W.setAttribute("aria-expanded",M)}_setAttributeIfNotExists(v,M,W){v.hasAttribute(M)||v.setAttribute(M,W)}_elemIsActive(v){return v.classList.contains(ii)}_getInnerElement(v){return v.matches(Al)?v:vt.findOne(Al,v)}_getOuterElement(v){return v.closest(".nav-item, .list-group-item")||v}static jQueryInterface(v){return this.each(function(){const M=Ea.getOrCreateInstance(this);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v]()}})}}pt.on(document,au,Rc,function(E){["A","AREA"].includes(this.tagName)&&E.preventDefault(),b(this)||Ea.getOrCreateInstance(this).show()}),pt.on(window,Zc,()=>{for(const E of vt.find(Oa))Ea.getOrCreateInstance(E)}),P(Ea);const wl=".bs.toast",jc=`mouseover${wl}`,Nc=`mouseout${wl}`,Fc=`focusin${wl}`,sa=`focusout${wl}`,Qa=`hide${wl}`,Kr=`hidden${wl}`,oo=`show${wl}`,Ua=`shown${wl}`,he="show",jt="showing",L={animation:"boolean",autohide:"boolean",delay:"number"},Ue={animation:!0,autohide:!0,delay:5e3};class je extends He{constructor(v,M){super(v,M),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ue}static get DefaultType(){return L}static get NAME(){return"toast"}show(){pt.trigger(this._element,oo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(he,jt),this._queueCallback(()=>{this._element.classList.remove(jt),pt.trigger(this._element,Ua),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(pt.trigger(this._element,Qa).defaultPrevented||(this._element.classList.add(jt),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(jt,he),pt.trigger(this._element,Kr)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(he),super.dispose()}isShown(){return this._element.classList.contains(he)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(v,M){switch(v.type){case"mouseover":case"mouseout":this._hasMouseInteraction=M;break;case"focusin":case"focusout":this._hasKeyboardInteraction=M}if(M)return void this._clearTimeout();const W=v.relatedTarget;this._element===W||this._element.contains(W)||this._maybeScheduleHide()}_setListeners(){pt.on(this._element,jc,v=>this._onInteraction(v,!0)),pt.on(this._element,Nc,v=>this._onInteraction(v,!1)),pt.on(this._element,Fc,v=>this._onInteraction(v,!0)),pt.on(this._element,sa,v=>this._onInteraction(v,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(v){return this.each(function(){const M=je.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v](this)}})}}return hn(je),P(je),{Alert:In,Button:qn,Carousel:Yt,Collapse:Xe,Dropdown:ya,Modal:ol,Offcanvas:Hn,Popover:Ba,ScrollSpy:ql,Tab:Ea,Toast:je,Tooltip:Ka}}()},861:function(lt,_e,m){!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(A){return/^nm$/i.test(A)},meridiem:function(A,a,y){return A<12?y?"vm":"VM":y?"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(A){return A+(1===A||8===A||A>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},8847:function(lt,_e,m){!function(i){"use strict";var t=function(b){return 0===b?0:1===b?1:2===b?2:b%100>=3&&b%100<=10?3:b%100>=11?4:5},A={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"]},a=function(b){return function(F,j,N,x){var H=t(F),k=A[b][t(F)];return 2===H&&(k=k[j?0:1]),k.replace(/%d/i,F)}},y=["\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"];i.defineLocale("ar-dz",{months:y,monthsShort:y,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(b){return"\u0645"===b},meridiem:function(b,F,j){return b<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:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(b){return b.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(m(2866))},9832:function(lt,_e,m){!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}})}(m(2866))},7272:function(lt,_e,m){!function(i){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},A=function(F){return 0===F?0:1===F?1:2===F?2:F%100>=3&&F%100<=10?3:F%100>=11?4:5},a={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"]},y=function(F){return function(j,N,x,H){var k=A(j),P=a[F][A(j)];return 2===k&&(P=P[N?0:1]),P.replace(/%d/i,j)}},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"];i.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(F){return"\u0645"===F},meridiem:function(F,j,N){return F<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:y("s"),ss:y("s"),m:y("m"),mm:y("m"),h:y("h"),hh:y("h"),d:y("d"),dd:y("d"),M:y("M"),MM:y("M"),y:y("y"),yy:y("y")},preparse:function(F){return F.replace(/\u060c/g,",")},postformat:function(F){return F.replace(/\d/g,function(j){return t[j]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(m(2866))},9508:function(lt,_e,m){!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\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:"\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}})}(m(2866))},2807:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};i.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".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(y){return"\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(C){return A[C]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(C){return A[C]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(m(2866))},393:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\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(y){return"\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(C){return A[C]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(m(2866))},7541:function(lt,_e,m){!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}})}(m(2866))},7279:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=function(j){return 0===j?0:1===j?1:2===j?2:j%100>=3&&j%100<=10?3:j%100>=11?4:5},y={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(j){return function(N,x,H,k){var P=a(N),X=y[j][a(N)];return 2===P&&(X=X[x?0:1]),X.replace(/%d/i,N)}},b=["\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:b,monthsShort:b,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(j){return"\u0645"===j},meridiem:function(j,N,x){return j<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(j){return j.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return A[N]}).replace(/\u060c/g,",")},postformat:function(j){return j.replace(/\d/g,function(N){return t[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(m(2866))},2986:function(lt,_e,m){!function(i){"use strict";var t={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:"bir ne\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(a){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(a)},meridiem:function(a,y,C){return a<4?"gec\u0259":a<12?"s\u0259h\u0259r":a<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(a){if(0===a)return a+"-\u0131nc\u0131";var y=a%10;return a+(t[y]||t[a%100-y]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},7112:function(lt,_e,m){!function(i){"use strict";function A(y,C,b){return"m"===b?C?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===b?C?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":y+" "+function t(y,C){var b=y.split("_");return C%10==1&&C%100!=11?b[0]:C%10>=2&&C%10<=4&&(C%100<10||C%100>=20)?b[1]:b[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"}[b],+y)}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:A,mm:A,h:A,hh:A,d:"\u0434\u0437\u0435\u043d\u044c",dd:A,M:"\u043c\u0435\u0441\u044f\u0446",MM:A,y:"\u0433\u043e\u0434",yy:A},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(y){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(y)},meridiem:function(y,C,b){return y<4?"\u043d\u043e\u0447\u044b":y<12?"\u0440\u0430\u043d\u0456\u0446\u044b":y<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(y,C){switch(C){case"M":case"d":case"DDD":case"w":case"W":return y%10!=2&&y%10!=3||y%100==12||y%100==13?y+"-\u044b":y+"-\u0456";case"D":return y+"-\u0433\u0430";default:return y}},week:{dow:1,doy:7}})}(m(2866))},6367:function(lt,_e,m){!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\u0443_\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"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\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\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\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(A){var a=A%10,y=A%100;return 0===A?A+"-\u0435\u0432":0===y?A+"-\u0435\u043d":y>10&&y<20?A+"-\u0442\u0438":1===a?A+"-\u0432\u0438":2===a?A+"-\u0440\u0438":7===a||8===a?A+"-\u043c\u0438":A+"-\u0442\u0438"},week:{dow:1,doy:7}})}(m(2866))},3316:function(lt,_e,m){!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}})}(m(2866))},6067:function(lt,_e,m){!function(i){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},A={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};i.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===C?y<4?y:y+12:"\u09ad\u09cb\u09b0"===C||"\u09b8\u0995\u09be\u09b2"===C?y:"\u09a6\u09c1\u09aa\u09c1\u09b0"===C?y>=3?y:y+12:"\u09ac\u09bf\u0995\u09be\u09b2"===C||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u09b0\u09be\u09a4":y<6?"\u09ad\u09cb\u09b0":y<12?"\u09b8\u0995\u09be\u09b2":y<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<18?"\u09ac\u09bf\u0995\u09be\u09b2":y<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(m(2866))},5815:function(lt,_e,m){!function(i){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},A={"\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\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===C&&y>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===C&&y<5||"\u09ac\u09bf\u0995\u09be\u09b2"===C?y+12:y},meridiem:function(y,C,b){return y<4?"\u09b0\u09be\u09a4":y<10?"\u09b8\u0995\u09be\u09b2":y<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(m(2866))},4530:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},A={"\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\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,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_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".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(y){return y.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},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(y,C){return 12===y&&(y=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===C&&y>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===C&&y<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===C?y+12:y},meridiem:function(y,C,b){return y<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":y<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":y<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":y<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(m(2866))},9739:function(lt,_e,m){!function(i){"use strict";function t(X,me,Oe){return X+" "+function y(X,me){return 2===me?function C(X){var me={m:"v",b:"v",d:"z"};return void 0===me[X.charAt(0)]?X:me[X.charAt(0)]+X.substring(1)}(X):X}({mm:"munutenn",MM:"miz",dd:"devezh"}[Oe],X)}function a(X){return X>9?a(X%10):X}var b=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],F=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,k=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];i.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:k,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:k,monthsRegex:F,monthsShortRegex:F,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function A(X){switch(a(X)){case 1:case 3:case 4:case 5:case 9:return X+" bloaz";default:return X+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(X){return X+(1===X?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(X){return"g.m."===X},meridiem:function(X,me,Oe){return X<12?"a.m.":"g.m."}})}(m(2866))},8445:function(lt,_e,m){!function(i){"use strict";function A(y,C,b){var F=y+" ";switch(b){case"ss":return F+(1===y?"sekunda":2===y||3===y||4===y?"sekunde":"sekundi");case"mm":return F+(1===y?"minuta":2===y||3===y||4===y?"minute":"minuta");case"h":return"jedan sat";case"hh":return F+(1===y?"sat":2===y||3===y||4===y?"sata":"sati");case"dd":return F+(1===y?"dan":"dana");case"MM":return F+(1===y?"mjesec":2===y||3===y||4===y?"mjeseca":"mjeseci");case"yy":return F+(1===y?"godina":2===y||3===y||4===y?"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:A,m:function t(y,C,b,F){if("m"===b)return C?"jedna minuta":F?"jednu minutu":"jedne minute"},mm:A,h:A,hh:A,d:"dan",dd:A,M:"mjesec",MM:A,y:"godinu",yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},7690:function(lt,_e,m){!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(A,a){var y=1===A?"r":2===A?"n":3===A?"r":4===A?"t":"\xe8";return("w"===a||"W"===a)&&(y="a"),A+y},week:{dow:1,doy:4}})}(m(2866))},8799:function(lt,_e,m){!function(i){"use strict";var t={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},A="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),a=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],y=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function C(j){return j>1&&j<5&&1!=~~(j/10)}function b(j,N,x,H){var k=j+" ";switch(x){case"s":return N||H?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return N||H?k+(C(j)?"sekundy":"sekund"):k+"sekundami";case"m":return N?"minuta":H?"minutu":"minutou";case"mm":return N||H?k+(C(j)?"minuty":"minut"):k+"minutami";case"h":return N?"hodina":H?"hodinu":"hodinou";case"hh":return N||H?k+(C(j)?"hodiny":"hodin"):k+"hodinami";case"d":return N||H?"den":"dnem";case"dd":return N||H?k+(C(j)?"dny":"dn\xed"):k+"dny";case"M":return N||H?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return N||H?k+(C(j)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):k+"m\u011bs\xedci";case"y":return N||H?"rok":"rokem";case"yy":return N||H?k+(C(j)?"roky":"let"):k+"lety"}}i.defineLocale("cs",{months:t,monthsShort:A,monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},8385:function(lt,_e,m){!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(A){return A+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(A)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(A)?"\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}})}(m(2866))},6212:function(lt,_e,m){!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(A){var y="";return A>20?y=40===A||50===A||60===A||80===A||100===A?"fed":"ain":A>0&&(y=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][A]),A+y},week:{dow:1,doy:4}})}(m(2866))},5782:function(lt,_e,m){!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}})}(m(2866))},1934:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var F={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return y?F[C][0]:F[C][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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},2863:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var F={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return y?F[C][0]:F[C][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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},7782:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var F={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return y?F[C][0]:F[C][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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},1146:function(lt,_e,m){!function(i){"use strict";var t=["\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"],A=["\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:t,monthsShort:t,weekdays:A,weekdaysShort:A,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(y){return"\u0789\u078a"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(m(2866))},9745:function(lt,_e,m){!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(a,y){return a?"string"==typeof y&&/D/.test(y.substring(0,y.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.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(a,y,C){return a>11?C?"\u03bc\u03bc":"\u039c\u039c":C?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(a){return"\u03bc"===(a+"").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(a,y){var C=this._calendarEl[a],b=y&&y.hours();return function t(a){return typeof Function<"u"&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}(C)&&(C=C.apply(y)),C.replace("{}",b%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}})}(m(2866))},1150:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:4}})}(m(2866))},2924:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(m(2866))},7406:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},9952:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},4772:function(lt,_e,m){!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",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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(m(2866))},1961:function(lt,_e,m){!function(i){"use strict";i.defineLocale("en-in",{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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:6}})}(m(2866))},4014:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},3332:function(lt,_e,m){!function(i){"use strict";i.defineLocale("en-sg",{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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},989:function(lt,_e,m){!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_mart_apr_maj_jun_jul_a\u016dg_sept_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:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(A){return"p"===A.charAt(0).toLowerCase()},meridiem:function(A,a,y){return A>11?y?"p.t.m.":"P.T.M.":y?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(m(2866))},6393:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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(b,F){return b?/-MMM-/.test(F)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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",w:"una semana",ww:"%d semanas",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}})}(m(2866))},2324:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,F){return b?/-MMM-/.test(F)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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",w:"una semana",ww:"%d semanas",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:4},invalidDate:"Fecha inv\xe1lida"})}(m(2866))},7641:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,F){return b?/-MMM-/.test(F)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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:"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",w:"una semana",ww:"%d semanas",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}})}(m(2866))},3209:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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(b,F){return b?/-MMM-/.test(F)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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",w:"una semana",ww:"%d semanas",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},invalidDate:"Fecha inv\xe1lida"})}(m(2866))},6373:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var F={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[a+"sekundi",a+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[a+" minuti",a+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[a+" tunni",a+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[a+" kuu",a+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[a+" aasta",a+" aastat"]};return y?F[C][2]?F[C][2]:F[C][1]:b?F[C][0]:F[C][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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},1954:function(lt,_e,m){!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}})}(m(2866))},9289:function(lt,_e,m){!function(i){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},A={"\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(y){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(y)},meridiem:function(y,C,b){return y<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:"%d \u062b\u0627\u0646\u06cc\u0647",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(y){return y.replace(/[\u06f0-\u06f9]/g,function(C){return A[C]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(m(2866))},3381:function(lt,_e,m){!function(i){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),A=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function a(b,F,j,N){var x="";switch(j){case"s":return N?"muutaman sekunnin":"muutama sekunti";case"ss":x=N?"sekunnin":"sekuntia";break;case"m":return N?"minuutin":"minuutti";case"mm":x=N?"minuutin":"minuuttia";break;case"h":return N?"tunnin":"tunti";case"hh":x=N?"tunnin":"tuntia";break;case"d":return N?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":x=N?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return N?"kuukauden":"kuukausi";case"MM":x=N?"kuukauden":"kuukautta";break;case"y":return N?"vuoden":"vuosi";case"yy":x=N?"vuoden":"vuotta"}return function y(b,F){return b<10?F?A[b]:t[b]:b}(b,N)+" "+x}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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9031:function(lt,_e,m){!function(i){"use strict";i.defineLocale("fil",{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(A){return A},week:{dow:1,doy:4}})}(m(2866))},3571:function(lt,_e,m){!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 minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},7389:function(lt,_e,m){!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(A,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return A+(1===A?"er":"e");case"w":case"W":return A+(1===A?"re":"e")}}})}(m(2866))},7785:function(lt,_e,m){!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(A,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return A+(1===A?"er":"e");case"w":case"W":return A+(1===A?"re":"e")}},week:{dow:1,doy:4}})}(m(2866))},5515:function(lt,_e,m){!function(i){"use strict";var a=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,y=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];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("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,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",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(b,F){switch(F){case"D":return b+(1===b?"er":"");default:case"M":case"Q":case"DDD":case"d":return b+(1===b?"er":"e");case"w":case"W":return b+(1===b?"re":"e")}},week:{dow:1,doy:4}})}(m(2866))},1826:function(lt,_e,m){!function(i){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),A="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(y,C){return y?/-MMM-/.test(C)?A[y.month()]:t[y.month()]:t},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(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},6687:function(lt,_e,m){!function(i){"use strict";i.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(F){return F+(1===F?"d":F%10==2?"na":"mh")},week:{dow:1,doy:4}})}(m(2866))},8851:function(lt,_e,m){!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(F){return F+(1===F?"d":F%10==2?"na":"mh")},week:{dow:1,doy:4}})}(m(2866))},1637:function(lt,_e,m){!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(A){return 0===A.indexOf("un")?"n"+A:"en "+A},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}})}(m(2866))},1003:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var F={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[a+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",a+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[a+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",a+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[a+" \u0935\u0930\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[a+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",a+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[a+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",a+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[a+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return b?F[C][0]:F[C][1]}i.defineLocale("gom-deva",{months:{standalone:"\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\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\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("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\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:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(a,y){return"D"===y?a+"\u0935\u0947\u0930":a},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(a,y){return 12===a&&(a=0),"\u0930\u093e\u0924\u0940"===y?a<4?a:a+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===y?a:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===y?a>12?a:a+12:"\u0938\u093e\u0902\u091c\u0947"===y?a+12:void 0},meridiem:function(a,y,C){return a<4?"\u0930\u093e\u0924\u0940":a<12?"\u0938\u0915\u093e\u0933\u0940\u0902":a<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":a<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(m(2866))},4225:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var F={s:["thoddea sekondamni","thodde sekond"],ss:[a+" sekondamni",a+" sekond"],m:["eka mintan","ek minut"],mm:[a+" mintamni",a+" mintam"],h:["eka voran","ek vor"],hh:[a+" voramni",a+" voram"],d:["eka disan","ek dis"],dd:[a+" disamni",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineamni",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsamni",a+" vorsam"]};return b?F[C][0]:F[C][1]}i.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_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 Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,y){return"D"===y?a+"er":a},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(a,y){return 12===a&&(a=0),"rati"===y?a<4?a:a+12:"sokallim"===y?a:"donparam"===y?a>12?a:a+12:"sanje"===y?a+12:void 0},meridiem:function(a,y,C){return a<4?"rati":a<12?"sokallim":a<16?"donparam":a<20?"sanje":"rati"}})}(m(2866))},9360:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},A={"\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\u0ab9\u0ac7\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(y){return y.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0ab0\u0abe\u0aa4"===C?y<4?y:y+12:"\u0ab8\u0ab5\u0abe\u0ab0"===C?y:"\u0aac\u0aaa\u0acb\u0ab0"===C?y>=10?y:y+12:"\u0ab8\u0abe\u0a82\u0a9c"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u0ab0\u0abe\u0aa4":y<10?"\u0ab8\u0ab5\u0abe\u0ab0":y<17?"\u0aac\u0aaa\u0acb\u0ab0":y<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(m(2866))},7853:function(lt,_e,m){!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(A){return 2===A?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":A+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(A){return 2===A?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":A+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(A){return 2===A?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":A+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(A){return 2===A?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":A%10==0&&10!==A?A+" \u05e9\u05e0\u05d4":A+" \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(A){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(A)},meridiem:function(A,a,y){return A<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":A<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":A<12?y?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":A<18?y?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(m(2866))},5428:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},a=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];i.defineLocale("hi",{months:{format:"\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("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\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\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\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("_"),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"},monthsParse:a,longMonthsParse:a,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\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|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\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\.?)/i,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(b){return b.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(F){return A[F]})},postformat:function(b){return b.replace(/\d/g,function(F){return t[F]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(b,F){return 12===b&&(b=0),"\u0930\u093e\u0924"===F?b<4?b:b+12:"\u0938\u0941\u092c\u0939"===F?b:"\u0926\u094b\u092a\u0939\u0930"===F?b>=10?b:b+12:"\u0936\u093e\u092e"===F?b+12:void 0},meridiem:function(b,F,j){return b<4?"\u0930\u093e\u0924":b<10?"\u0938\u0941\u092c\u0939":b<17?"\u0926\u094b\u092a\u0939\u0930":b<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(m(2866))},1001:function(lt,_e,m){!function(i){"use strict";function t(a,y,C){var b=a+" ";switch(C){case"ss":return b+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"m":return y?"jedna minuta":"jedne minute";case"mm":return b+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return y?"jedan sat":"jednog sata";case"hh":return b+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return b+(1===a?"dan":"dana");case"MM":return b+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return b+(1===a?"godina":2===a||3===a||4===a?"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:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do 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:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},4579:function(lt,_e,m){!function(i){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function A(C,b,F,j){var N=C;switch(F){case"s":return j||b?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return N+(j||b)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(j||b?" perc":" perce");case"mm":return N+(j||b?" perc":" perce");case"h":return"egy"+(j||b?" \xf3ra":" \xf3r\xe1ja");case"hh":return N+(j||b?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(j||b?" nap":" napja");case"dd":return N+(j||b?" nap":" napja");case"M":return"egy"+(j||b?" h\xf3nap":" h\xf3napja");case"MM":return N+(j||b?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(j||b?" \xe9v":" \xe9ve");case"yy":return N+(j||b?" \xe9v":" \xe9ve")}return""}function a(C){return(C?"":"[m\xfalt] ")+"["+t[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("_"),monthsParseExact:!0,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(C){return"u"===C.charAt(1).toLowerCase()},meridiem:function(C,b,F){return C<12?!0===F?"de":"DE":!0===F?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9866:function(lt,_e,m){!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(A){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(A)},meridiem:function(A){return A<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":A<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":A<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(A,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===A?A+"-\u056b\u0576":A+"-\u0580\u0564";default:return A}},week:{dow:1,doy:7}})}(m(2866))},9689:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"pagi"===a?A:"siang"===a?A>=11?A:A+12:"sore"===a||"malam"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"pagi":A<15?"siang":A<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:0,doy:6}})}(m(2866))},2956:function(lt,_e,m){!function(i){"use strict";function t(y){return y%100==11||y%10!=1}function A(y,C,b,F){var j=y+" ";switch(b){case"s":return C||F?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(y)?j+(C||F?"sek\xfandur":"sek\xfandum"):j+"sek\xfanda";case"m":return C?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(y)?j+(C||F?"m\xedn\xfatur":"m\xedn\xfatum"):C?j+"m\xedn\xfata":j+"m\xedn\xfatu";case"hh":return t(y)?j+(C||F?"klukkustundir":"klukkustundum"):j+"klukkustund";case"d":return C?"dagur":F?"dag":"degi";case"dd":return t(y)?C?j+"dagar":j+(F?"daga":"d\xf6gum"):C?j+"dagur":j+(F?"dag":"degi");case"M":return C?"m\xe1nu\xf0ur":F?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(y)?C?j+"m\xe1nu\xf0ir":j+(F?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):C?j+"m\xe1nu\xf0ur":j+(F?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return C||F?"\xe1r":"\xe1ri";case"yy":return t(y)?j+(C||F?"\xe1r":"\xe1rum"):j+(C||F?"\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:A,ss:A,m:A,mm:A,h:"klukkustund",hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},6052:function(lt,_e,m){!function(i){"use strict";i.defineLocale("it-ch",{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(A){return(/^[0-9].+$/.test(A)?"tra":"in")+" "+A},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}})}(m(2866))},1557:function(lt,_e,m){!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:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",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",w:"una settimana",ww:"%d settimane",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}})}(m(2866))},1774:function(lt,_e,m){!function(i){"use strict";i.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(A,a){return"\u5143"===a[1]?1:parseInt(a[1]||A,10)},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(A){return"\u5348\u5f8c"===A},meridiem:function(A,a,y){return A<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(A){return A.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(A){return this.week()!==A.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(A,a){switch(a){case"y":return 1===A?"\u5143\u5e74":A+"\u5e74";case"d":case"D":case"DDD":return A+"\u65e5";default:return A}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(m(2866))},7631:function(lt,_e,m){!function(i){"use strict";i.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".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:/enjing|siyang|sonten|ndalu/,meridiemHour:function(A,a){return 12===A&&(A=0),"enjing"===a?A:"siyang"===a?A>=11?A:A+12:"sonten"===a||"ndalu"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"enjing":A<15?"siyang":A<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}})}(m(2866))},9968:function(lt,_e,m){!function(i){"use strict";i.defineLocale("ka",{months:"\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("_"),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:"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:"[\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(A){return A.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(a,y,C){return"\u10d8"===C?y+"\u10e8\u10d8":y+C+"\u10e8\u10d8"})},past:function(A){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(A)?A.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(A)?A.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):A},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(A){return 0===A?A:1===A?A+"-\u10da\u10d8":A<20||A<=100&&A%20==0||A%100==0?"\u10db\u10d4-"+A:A+"-\u10d4"},week:{dow:1,doy:7}})}(m(2866))},4916:function(lt,_e,m){!function(i){"use strict";var t={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(a){return a+(t[a]||t[a%10]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},2305:function(lt,_e,m){!function(i){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},A={"\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(y){return"\u179b\u17d2\u1784\u17b6\u1785"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},week:{dow:1,doy:4}})}(m(2866))},8994:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},A={"\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(y){return y.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},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(y,C){return 12===y&&(y=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===C?y<4?y:y+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===C?y:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===C?y>=10?y:y+12:"\u0cb8\u0c82\u0c9c\u0cc6"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":y<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":y<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":y<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(y){return y+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(m(2866))},3558:function(lt,_e,m){!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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\uc77c";case"M":return A+"\uc6d4";case"w":case"W":return A+"\uc8fc";default:return A}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(A){return"\uc624\ud6c4"===A},meridiem:function(A,a,y){return A<12?"\uc624\uc804":"\uc624\ud6c4"}})}(m(2866))},9529:function(lt,_e,m){!function(i){"use strict";function t(y,C,b,F){var j={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[y+" san\xeeye",y+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[y+" deq\xeeqe",y+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[y+" saet",y+" saetan"],d:["rojek","rojek\xea"],dd:[y+" roj",y+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[y+" hefte",y+" hefteyan"],M:["mehek","mehek\xea"],MM:[y+" meh",y+" mehan"],y:["salek","salek\xea"],yy:[y+" sal",y+" salan"]};return C?j[b][0]:j[b][1]}i.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(y,C,b){return y<12?b?"bn":"BN":b?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(y,C){var b=C.toLowerCase();return b.includes("w")||b.includes("m")?y+".":y+function A(y){var C=(y=""+y).substring(y.length-1),b=y.length>1?y.substring(y.length-2):"";return 12==b||13==b||"2"!=C&&"3"!=C&&"50"!=b&&"70"!=C&&"80"!=C?"\xea":"y\xea"}(y)},week:{dow:1,doy:4}})}(m(2866))},2243:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];i.defineLocale("ku",{months:a,monthsShort:a,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\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:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(C){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(C)},meridiem:function(C,b,F){return C<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(b){return A[b]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(b){return t[b]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(m(2866))},4638:function(lt,_e,m){!function(i){"use strict";var t={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\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\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(a){return a+(t[a]||t[a%10]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},4167:function(lt,_e,m){!function(i){"use strict";function t(b,F,j,N){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 F?x[j][0]:x[j][1]}function y(b){if(b=parseInt(b,10),isNaN(b))return!1;if(b<0)return!0;if(b<10)return 4<=b&&b<=7;if(b<100){var F=b%10;return y(0===F?b/10:F)}if(b<1e4){for(;b>=10;)b/=10;return y(b)}return y(b/=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 A(b){return y(b.substr(0,b.indexOf(" ")))?"a "+b:"an "+b},past:function a(b){return y(b.substr(0,b.indexOf(" ")))?"viru "+b:"virun "+b},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9897:function(lt,_e,m){!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(A){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===A},meridiem:function(A,a,y){return A<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(A){return"\u0e97\u0eb5\u0ec8"+A}})}(m(2866))},2543:function(lt,_e,m){!function(i){"use strict";var t={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 a(j,N,x,H){return N?C(x)[0]:H?C(x)[1]:C(x)[2]}function y(j){return j%10==0||j>10&&j<20}function C(j){return t[j].split("_")}function b(j,N,x,H){var k=j+" ";return 1===j?k+a(0,N,x[0],H):N?k+(y(j)?C(x)[1]:C(x)[0]):H?k+C(x)[1]:k+(y(j)?C(x)[1]:C(x)[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 A(j,N,x,H){return N?"kelios sekund\u0117s":H?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:b,m:a,mm:b,h:a,hh:b,d:a,dd:b,M:a,MM:b,y:a,yy:b},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(j){return j+"-oji"},week:{dow:1,doy:4}})}(m(2866))},5752:function(lt,_e,m){!function(i){"use strict";var t={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 A(F,j,N){return N?j%10==1&&j%100!=11?F[2]:F[3]:j%10==1&&j%100!=11?F[0]:F[1]}function a(F,j,N){return F+" "+A(t[N],F,j)}function y(F,j,N){return A(t[N],F,j)}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 C(F,j){return j?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:a,m:y,mm:a,h:y,hh:a,d:y,dd:a,M:y,MM:a,y,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},3350:function(lt,_e,m){!function(i){"use strict";var t={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(a,y){return 1===a?y[0]:a>=2&&a<=4?y[1]:y[2]},translate:function(a,y,C){var b=t.words[C];return 1===C.length?y?b[0]:b[1]:a+" "+t.correctGrammaticalCase(a,b)}};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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},4134:function(lt,_e,m){!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}})}(m(2866))},2177:function(lt,_e,m){!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:"\u0437\u0430 %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:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \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(A){var a=A%10,y=A%100;return 0===A?A+"-\u0435\u0432":0===y?A+"-\u0435\u043d":y>10&&y<20?A+"-\u0442\u0438":1===a?A+"-\u0432\u0438":2===a?A+"-\u0440\u0438":7===a||8===a?A+"-\u043c\u0438":A+"-\u0442\u0438"},week:{dow:1,doy:7}})}(m(2866))},8100:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&A>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?A+12:A},meridiem:function(A,a,y){return A<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":A<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":A<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":A<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(m(2866))},9571:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){switch(C){case"s":return y?"\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 a+(y?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return a+(y?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return a+(y?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return a+(y?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return a+(y?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return a+(y?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return a}}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(a){return"\u04ae\u0425"===a},meridiem:function(a,y,C){return a<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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(a,y){switch(y){case"d":case"D":case"DDD":return a+" \u04e9\u0434\u04e9\u0440";default:return a}}})}(m(2866))},3656:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function a(C,b,F,j){var N="";if(b)switch(F){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":N="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":N="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":N="%d \u0924\u093e\u0938";break;case"d":N="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":N="%d \u0926\u093f\u0935\u0938";break;case"M":N="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":N="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u0947"}else switch(F){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":N="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":N="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":N="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":N="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":N="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":N="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":N="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return N.replace(/%d/i,C)}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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(b){return A[b]})},postformat:function(C){return C.replace(/\d/g,function(b){return t[b]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(C,b){return 12===C&&(C=0),"\u092a\u0939\u093e\u091f\u0947"===b||"\u0938\u0915\u093e\u0933\u0940"===b?C:"\u0926\u0941\u092a\u093e\u0930\u0940"===b||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===b||"\u0930\u093e\u0924\u094d\u0930\u0940"===b?C>=12?C:C+12:void 0},meridiem:function(C,b,F){return C>=0&&C<6?"\u092a\u0939\u093e\u091f\u0947":C<12?"\u0938\u0915\u093e\u0933\u0940":C<17?"\u0926\u0941\u092a\u093e\u0930\u0940":C<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(m(2866))},1319:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"pagi"===a?A:"tengahari"===a?A>=11?A:A+12:"petang"===a||"malam"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"pagi":A<15?"tengahari":A<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}})}(m(2866))},848:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"pagi"===a?A:"tengahari"===a?A>=11?A:A+12:"petang"===a||"malam"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"pagi":A<15?"tengahari":A<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}})}(m(2866))},7029:function(lt,_e,m){!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}})}(m(2866))},6570:function(lt,_e,m){!function(i){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},A={"\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(y){return y.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},week:{dow:1,doy:4}})}(m(2866))},4819:function(lt,_e,m){!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_apr._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:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9576:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\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(y){return y.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0930\u093e\u0924\u093f"===C?y<4?y:y+12:"\u092c\u093f\u0939\u093e\u0928"===C?y:"\u0926\u093f\u0909\u0901\u0938\u094b"===C?y>=10?y:y+12:"\u0938\u093e\u0901\u091d"===C?y+12:void 0},meridiem:function(y,C,b){return y<3?"\u0930\u093e\u0924\u093f":y<12?"\u092c\u093f\u0939\u093e\u0928":y<16?"\u0926\u093f\u0909\u0901\u0938\u094b":y<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}})}(m(2866))},3475:function(lt,_e,m){!function(i){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),A="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^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],y=/^(januari|februari|maart|april|mei|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(b,F){return b?/-MMM-/.test(F)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},778:function(lt,_e,m){!function(i){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),A="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^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],y=/^(januari|februari|maart|april|mei|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(b,F){return b?/-MMM-/.test(F)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},1722:function(lt,_e,m){!function(i){"use strict";i.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,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",w:"ei veke",ww:"%d veker",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}})}(m(2866))},7467:function(lt,_e,m){!function(i){"use strict";i.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_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] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(A,a){var y=1===A?"r":2===A?"n":3===A?"r":4===A?"t":"\xe8";return("w"===a||"W"===a)&&(y="a"),A+y},week:{dow:1,doy:4}})}(m(2866))},4869:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},A={"\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(y){return y.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0a30\u0a3e\u0a24"===C?y<4?y:y+12:"\u0a38\u0a35\u0a47\u0a30"===C?y:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===C?y>=10?y:y+12:"\u0a38\u0a3c\u0a3e\u0a2e"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u0a30\u0a3e\u0a24":y<10?"\u0a38\u0a35\u0a47\u0a30":y<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":y<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(m(2866))},8357:function(lt,_e,m){!function(i){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),A="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),a=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function y(F){return F%10<5&&F%10>1&&~~(F/10)%10!=1}function C(F,j,N){var x=F+" ";switch(N){case"ss":return x+(y(F)?"sekundy":"sekund");case"m":return j?"minuta":"minut\u0119";case"mm":return x+(y(F)?"minuty":"minut");case"h":return j?"godzina":"godzin\u0119";case"hh":return x+(y(F)?"godziny":"godzin");case"ww":return x+(y(F)?"tygodnie":"tygodni");case"MM":return x+(y(F)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return x+(y(F)?"lata":"lat")}}i.defineLocale("pl",{months:function(F,j){return F?/D MMMM/.test(j)?A[F.month()]:t[F.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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:C,m:C,mm:C,h:C,hh:C,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:C,M:"miesi\u0105c",MM:C,y:"rok",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9641:function(lt,_e,m){!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",invalidDate:"Data inv\xe1lida"})}(m(2866))},2768:function(lt,_e,m){!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",w:"uma semana",ww:"%d semanas",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}})}(m(2866))},8876:function(lt,_e,m){!function(i){"use strict";function t(a,y,C){var F=" ";return(a%100>=20||a>=100&&a%100==0)&&(F=" de "),a+F+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[C]}i.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._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:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(m(2866))},8663:function(lt,_e,m){!function(i){"use strict";function A(C,b,F){return"m"===F?b?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":C+" "+function t(C,b){var F=C.split("_");return b%10==1&&b%100!=11?F[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?F[1]:F[2]}({ss:b?"\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:b?"\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",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",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"}[F],+C)}var a=[/^\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:a,longMonthsParse:a,shortMonthsParse:a,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(C){if(C.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(C){if(C.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:A,m:A,mm:A,h:"\u0447\u0430\u0441",hh:A,d:"\u0434\u0435\u043d\u044c",dd:A,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:A,M:"\u043c\u0435\u0441\u044f\u0446",MM:A,y:"\u0433\u043e\u0434",yy:A},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(C)},meridiem:function(C,b,F){return C<4?"\u043d\u043e\u0447\u0438":C<12?"\u0443\u0442\u0440\u0430":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(C,b){switch(b){case"M":case"d":case"DDD":return C+"-\u0439";case"D":return C+"-\u0433\u043e";case"w":case"W":return C+"-\u044f";default:return C}},week:{dow:1,doy:4}})}(m(2866))},3727:function(lt,_e,m){!function(i){"use strict";var t=["\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"],A=["\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:t,monthsShort:t,weekdays:A,weekdaysShort:A,weekdaysMin:A,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(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(m(2866))},4051:function(lt,_e,m){!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}})}(m(2866))},8643:function(lt,_e,m){!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(A){return A+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(A){return"\u0db4.\u0dc0."===A||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===A},meridiem:function(A,a,y){return A>11?y?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":y?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(m(2866))},9616:function(lt,_e,m){!function(i){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),A="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function a(b){return b>1&&b<5}function y(b,F,j,N){var x=b+" ";switch(j){case"s":return F||N?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return F||N?x+(a(b)?"sekundy":"sek\xfand"):x+"sekundami";case"m":return F?"min\xfata":N?"min\xfatu":"min\xfatou";case"mm":return F||N?x+(a(b)?"min\xfaty":"min\xfat"):x+"min\xfatami";case"h":return F?"hodina":N?"hodinu":"hodinou";case"hh":return F||N?x+(a(b)?"hodiny":"hod\xedn"):x+"hodinami";case"d":return F||N?"de\u0148":"d\u0148om";case"dd":return F||N?x+(a(b)?"dni":"dn\xed"):x+"d\u0148ami";case"M":return F||N?"mesiac":"mesiacom";case"MM":return F||N?x+(a(b)?"mesiace":"mesiacov"):x+"mesiacmi";case"y":return F||N?"rok":"rokom";case"yy":return F||N?x+(a(b)?"roky":"rokov"):x+"rokmi"}}i.defineLocale("sk",{months:t,monthsShort:A,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:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},2423:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var F=a+" ";switch(C){case"s":return y||b?"nekaj sekund":"nekaj sekundami";case"ss":return F+(1===a?y?"sekundo":"sekundi":2===a?y||b?"sekundi":"sekundah":a<5?y||b?"sekunde":"sekundah":"sekund");case"m":return y?"ena minuta":"eno minuto";case"mm":return F+(1===a?y?"minuta":"minuto":2===a?y||b?"minuti":"minutama":a<5?y||b?"minute":"minutami":y||b?"minut":"minutami");case"h":return y?"ena ura":"eno uro";case"hh":return F+(1===a?y?"ura":"uro":2===a?y||b?"uri":"urama":a<5?y||b?"ure":"urami":y||b?"ur":"urami");case"d":return y||b?"en dan":"enim dnem";case"dd":return F+(1===a?y||b?"dan":"dnem":2===a?y||b?"dni":"dnevoma":y||b?"dni":"dnevi");case"M":return y||b?"en mesec":"enim mesecem";case"MM":return F+(1===a?y||b?"mesec":"mesecem":2===a?y||b?"meseca":"mesecema":a<5?y||b?"mesece":"meseci":y||b?"mesecev":"meseci");case"y":return y||b?"eno leto":"enim letom";case"yy":return F+(1===a?y||b?"leto":"letom":2===a?y||b?"leti":"letoma":a<5?y||b?"leta":"leti":y||b?"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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},5466:function(lt,_e,m){!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(A){return"M"===A.charAt(0)},meridiem:function(A,a,y){return A<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}})}(m(2866))},7449:function(lt,_e,m){!function(i){"use strict";var t={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\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(a,y){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?y[0]:y[1]:y[2]},translate:function(a,y,C,b){var j,F=t.words[C];return 1===C.length?"y"===C&&y?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":b||y?F[0]:F[1]:(j=t.correctGrammaticalCase(a,F),"yy"===C&&y&&"\u0433\u043e\u0434\u0438\u043d\u0443"===j?a+" \u0433\u043e\u0434\u0438\u043d\u0430":a+" "+j)}};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:"D. M. 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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},614:function(lt,_e,m){!function(i){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(a,y){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?y[0]:y[1]:y[2]},translate:function(a,y,C,b){var j,F=t.words[C];return 1===C.length?"y"===C&&y?"jedna godina":b||y?F[0]:F[1]:(j=t.correctGrammaticalCase(a,F),"yy"===C&&y&&"godinu"===j?a+" godina":a+" "+j)}};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:"D. M. 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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},82:function(lt,_e,m){!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(A,a,y){return A<11?"ekuseni":A<15?"emini":A<19?"entsambama":"ebusuku"},meridiemHour:function(A,a){return 12===A&&(A=0),"ekuseni"===a?A:"emini"===a?A>=11?A:A+12:"entsambama"===a||"ebusuku"===a?0===A?0:A+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(m(2866))},2689:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?":e":1===a||2===a?":a":":e")},week:{dow:1,doy:4}})}(m(2866))},6471:function(lt,_e,m){!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 A",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:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(m(2866))},4437:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},A={"\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(y){return y+"\u0bb5\u0ba4\u0bc1"},preparse:function(y){return y.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},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(y,C,b){return y<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":y<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":y<10?" \u0b95\u0bbe\u0bb2\u0bc8":y<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":y<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":y<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(y,C){return 12===y&&(y=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===C?y<2?y:y+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===C||"\u0b95\u0bbe\u0bb2\u0bc8"===C||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===C&&y>=10?y:y+12},week:{dow:0,doy:6}})}(m(2866))},4512:function(lt,_e,m){!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\u0c41\u0c32\u0c48_\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\u0c41\u0c32\u0c48_\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(A,a){return 12===A&&(A=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?A<4?A:A+12:"\u0c09\u0c26\u0c2f\u0c02"===a?A:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?A>=10?A:A+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?A+12:void 0},meridiem:function(A,a,y){return A<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":A<10?"\u0c09\u0c26\u0c2f\u0c02":A<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":A<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(m(2866))},9434:function(lt,_e,m){!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:"segundu balun",ss:"segundu %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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},8765:function(lt,_e,m){!function(i){"use strict";var t={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:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\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:"[\u0424\u0430\u0440\u0434\u043e \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(a,y){return 12===a&&(a=0),"\u0448\u0430\u0431"===y?a<4?a:a+12:"\u0441\u0443\u0431\u04b3"===y?a:"\u0440\u04ef\u0437"===y?a>=11?a:a+12:"\u0431\u0435\u0433\u043e\u04b3"===y?a+12:void 0},meridiem:function(a,y,C){return a<4?"\u0448\u0430\u0431":a<11?"\u0441\u0443\u0431\u04b3":a<16?"\u0440\u04ef\u0437":a<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(a){return a+(t[a]||t[a%10]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},2099:function(lt,_e,m){!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(A){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===A},meridiem:function(A,a,y){return A<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",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(m(2866))},9133:function(lt,_e,m){!function(i){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};i.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".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 sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(a,y){switch(y){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'unjy";var C=a%10;return a+(t[C]||t[a%100-C]||t[a>=100?100:null])}},week:{dow:1,doy:7}})}(m(2866))},7497:function(lt,_e,m){!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(A){return A},week:{dow:1,doy:4}})}(m(2866))},7086:function(lt,_e,m){!function(i){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function y(F,j,N,x){var H=function C(F){var j=Math.floor(F%1e3/100),N=Math.floor(F%100/10),x=F%10,H="";return j>0&&(H+=t[j]+"vatlh"),N>0&&(H+=(""!==H?" ":"")+t[N]+"maH"),x>0&&(H+=(""!==H?" ":"")+t[x]),""===H?"pagh":H}(F);switch(N){case"ss":return H+" lup";case"mm":return H+" tup";case"hh":return H+" rep";case"dd":return H+" jaj";case"MM":return H+" jar";case"yy":return H+" 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 A(F){var j=F;return-1!==F.indexOf("jaj")?j.slice(0,-3)+"leS":-1!==F.indexOf("jar")?j.slice(0,-3)+"waQ":-1!==F.indexOf("DIS")?j.slice(0,-3)+"nem":j+" pIq"},past:function a(F){var j=F;return-1!==F.indexOf("jaj")?j.slice(0,-3)+"Hu\u2019":-1!==F.indexOf("jar")?j.slice(0,-3)+"wen":-1!==F.indexOf("DIS")?j.slice(0,-3)+"ben":j+" ret"},s:"puS lup",ss:y,m:"wa\u2019 tup",mm:y,h:"wa\u2019 rep",hh:y,d:"wa\u2019 jaj",dd:y,M:"wa\u2019 jar",MM:y,y:"wa\u2019 DIS",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},1118:function(lt,_e,m){!function(i){"use strict";var t={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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(a,y,C){return a<12?C?"\xf6\xf6":"\xd6\xd6":C?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(a){return"\xf6s"===a||"\xd6S"===a},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",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(a,y){switch(y){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'\u0131nc\u0131";var C=a%10;return a+(t[C]||t[a%100-C]||t[a>=100?100:null])}},week:{dow:1,doy:7}})}(m(2866))},5781:function(lt,_e,m){!function(i){"use strict";function A(a,y,C,b){var F={s:["viensas secunds","'iensas secunds"],ss:[a+" secunds",a+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[a+" m\xeduts",a+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[a+" \xfeoras",a+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",a+" ars"]};return b||y?F[C][0]:F[C][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(a){return"d'o"===a.toLowerCase()},meridiem:function(a,y,C){return a>11?C?"d'o":"D'O":C?"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:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},4415:function(lt,_e,m){!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}})}(m(2866))},5982:function(lt,_e,m){!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}})}(m(2866))},5975:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a?A:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===a||"\u0643\u06d5\u0686"===a?A+12:A>=11?A:A+12},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":C<900?"\u0633\u06d5\u06be\u06d5\u0631":C<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":C<1230?"\u0686\u06c8\u0634":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return A+"-\u06be\u06d5\u067e\u062a\u06d5";default:return A}},preparse:function(A){return A.replace(/\u060c/g,",")},postformat:function(A){return A.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(m(2866))},3715:function(lt,_e,m){!function(i){"use strict";function A(b,F,j){return"m"===j?F?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===j?F?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":b+" "+function t(b,F){var j=b.split("_");return F%10==1&&F%100!=11?j[0]:F%10>=2&&F%10<=4&&(F%100<10||F%100>=20)?j[1]:j[2]}({ss:F?"\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:F?"\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:F?"\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"}[j],+b)}function y(b){return function(){return b+"\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 a(b,F){var j={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!0===b?j.nominative.slice(1,7).concat(j.nominative.slice(0,1)):b?j[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(F)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(F)?"genitive":"nominative"][b.day()]:j.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:y("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:y("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:y("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:y("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return y("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return y("[\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:A,m:A,mm:A,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:A,d:"\u0434\u0435\u043d\u044c",dd:A,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:A,y:"\u0440\u0456\u043a",yy:A},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(b){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(b)},meridiem:function(b,F,j){return b<4?"\u043d\u043e\u0447\u0456":b<12?"\u0440\u0430\u043d\u043a\u0443":b<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(b,F){switch(F){case"M":case"d":case"DDD":case"w":case"W":return b+"-\u0439";case"D":return b+"-\u0433\u043e";default:return b}},week:{dow:1,doy:7}})}(m(2866))},7307:function(lt,_e,m){!function(i){"use strict";var t=["\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"],A=["\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:t,monthsShort:t,weekdays:A,weekdaysShort:A,weekdaysMin:A,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(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(m(2866))},3397:function(lt,_e,m){!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}})}(m(2866))},5232:function(lt,_e,m){!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}})}(m(2866))},7842:function(lt,_e,m){!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:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".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(A){return/^ch$/i.test(A)},meridiem:function(A,a,y){return A<12?y?"sa":"SA":y?"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 tr\u01b0\u1edbc 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",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(A){return A},week:{dow:1,doy:4}})}(m(2866))},2490:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},9348:function(lt,_e,m){!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}})}(m(2866))},5912:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:A>=11?A:A+12},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(A){return A.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(A){return this.week()!==A.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u5468";default:return A}},relativeTime:{future:"%s\u540e",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",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(m(2866))},6858:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e2d\u5348"===a?A>=11?A:A+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:void 0},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1200?"\u4e0a\u5348":1200===C?"\u4e2d\u5348":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},relativeTime:{future:"%s\u5f8c",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"}})}(m(2866))},719:function(lt,_e,m){!function(i){"use strict";i.defineLocale("zh-mo",{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:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e2d\u5348"===a?A>=11?A:A+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:void 0},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},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"}})}(m(2866))},3533:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e2d\u5348"===a?A>=11?A:A+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:void 0},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},relativeTime:{future:"%s\u5f8c",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"}})}(m(2866))},2866:function(lt,_e,m){(lt=m.nmd(lt)).exports=function(){"use strict";var i,me;function t(){return i.apply(null,arguments)}function a(R){return R instanceof Array||"[object Array]"===Object.prototype.toString.call(R)}function y(R){return null!=R&&"[object Object]"===Object.prototype.toString.call(R)}function C(R,te){return Object.prototype.hasOwnProperty.call(R,te)}function b(R){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(R).length;var te;for(te in R)if(C(R,te))return!1;return!0}function F(R){return void 0===R}function j(R){return"number"==typeof R||"[object Number]"===Object.prototype.toString.call(R)}function N(R){return R instanceof Date||"[object Date]"===Object.prototype.toString.call(R)}function x(R,te){var Pe,Ie=[],ft=R.length;for(Pe=0;Pe>>0;for(Pe=0;Pe0)for(Ie=0;Ie=0?Ie?"+":"":"-")+Math.pow(10,Math.max(0,te-Pe.length)).toString().substr(1)+Pe}var nt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ot=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ct={},He={};function mt(R,te,Ie,Pe){var ft=Pe;"string"==typeof Pe&&(ft=function(){return this[Pe]()}),R&&(He[R]=ft),te&&(He[te[0]]=function(){return Jt(ft.apply(this,arguments),te[1],te[2])}),Ie&&(He[Ie]=function(){return this.localeData().ordinal(ft.apply(this,arguments),R)})}function vt(R){return R.match(/\[[\s\S]/)?R.replace(/^\[|\]$/g,""):R.replace(/\\/g,"")}function yt(R,te){return R.isValid()?(te=Fn(te,R.localeData()),Ct[te]=Ct[te]||function hn(R){var Ie,Pe,te=R.match(nt);for(Ie=0,Pe=te.length;Ie=0&&ot.test(R);)R=R.replace(ot,Pe),ot.lastIndex=0,Ie-=1;return R}var Ot={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ve(R){return"string"==typeof R?Ot[R]||Ot[R.toLowerCase()]:void 0}function De(R){var Ie,Pe,te={};for(Pe in R)C(R,Pe)&&(Ie=ve(Pe))&&(te[Ie]=R[Pe]);return te}var xe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var ln,xt=/\d/,cn=/\d\d/,Kn=/\d{3}/,An=/\d{4}/,gs=/[+-]?\d{6}/,Qt=/\d\d?/,ki=/\d\d\d\d?/,ta=/\d\d\d\d\d\d?/,Pi=/\d{1,3}/,co=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Dr=/\d+/,bs=/[+-]?\d+/,Do=/Z|[+-]\d\d:?\d\d/gi,Ms=/Z|[+-]\d\d(?::?\d\d)?/gi,On=/[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,mr=/^[1-9]\d?/,Pt=/^([1-9]\d|\d)/;function Yt(R,te,Ie){ln[R]=gt(te)?te:function(Pe,ft){return Pe&&Ie?Ie:te}}function li(R,te){return C(ln,R)?ln[R](te._strict,te._locale):new RegExp(function Qr(R){return Sr(R.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(te,Ie,Pe,ft,on){return Ie||Pe||ft||on}))}(R))}function Sr(R){return R.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Pn(R){return R<0?Math.ceil(R)||0:Math.floor(R)}function sn(R){var te=+R,Ie=0;return 0!==te&&isFinite(te)&&(Ie=Pn(te)),Ie}ln={};var Rt={};function Bt(R,te){var Ie,ft,Pe=te;for("string"==typeof R&&(R=[R]),j(te)&&(Pe=function(on,Gn){Gn[te]=sn(on)}),ft=R.length,Ie=0;Ie68?1900:2e3)};var wr,yn=pi("FullYear",!0);function pi(R,te){return function(Ie){return null!=Ie?(Ti(this,R,Ie),t.updateOffset(this,te),this):nn(this,R)}}function nn(R,te){if(!R.isValid())return NaN;var Ie=R._d,Pe=R._isUTC;switch(te){case"Milliseconds":return Pe?Ie.getUTCMilliseconds():Ie.getMilliseconds();case"Seconds":return Pe?Ie.getUTCSeconds():Ie.getSeconds();case"Minutes":return Pe?Ie.getUTCMinutes():Ie.getMinutes();case"Hours":return Pe?Ie.getUTCHours():Ie.getHours();case"Date":return Pe?Ie.getUTCDate():Ie.getDate();case"Day":return Pe?Ie.getUTCDay():Ie.getDay();case"Month":return Pe?Ie.getUTCMonth():Ie.getMonth();case"FullYear":return Pe?Ie.getUTCFullYear():Ie.getFullYear();default:return NaN}}function Ti(R,te,Ie){var Pe,ft,on,Gn,Vi;if(R.isValid()&&!isNaN(Ie)){switch(Pe=R._d,ft=R._isUTC,te){case"Milliseconds":return void(ft?Pe.setUTCMilliseconds(Ie):Pe.setMilliseconds(Ie));case"Seconds":return void(ft?Pe.setUTCSeconds(Ie):Pe.setSeconds(Ie));case"Minutes":return void(ft?Pe.setUTCMinutes(Ie):Pe.setMinutes(Ie));case"Hours":return void(ft?Pe.setUTCHours(Ie):Pe.setHours(Ie));case"Date":return void(ft?Pe.setUTCDate(Ie):Pe.setDate(Ie));case"FullYear":break;default:return}on=Ie,Gn=R.month(),Vi=29!==(Vi=R.date())||1!==Gn||rr(on)?Vi:28,ft?Pe.setUTCFullYear(on,Gn,Vi):Pe.setFullYear(on,Gn,Vi)}}function Ki(R,te){if(isNaN(R)||isNaN(te))return NaN;var Ie=function ss(R,te){return(R%te+te)%te}(te,12);return R+=(te-Ie)/12,1===Ie?rr(R)?29:28:31-Ie%7%2}wr=Array.prototype.indexOf?Array.prototype.indexOf:function(R){var te;for(te=0;te=0?(Vi=new Date(R+400,te,Ie,Pe,ft,on,Gn),isFinite(Vi.getFullYear())&&Vi.setFullYear(R)):Vi=new Date(R,te,Ie,Pe,ft,on,Gn),Vi}function Tt(R){var te,Ie;return R<100&&R>=0?((Ie=Array.prototype.slice.call(arguments))[0]=R+400,te=new Date(Date.UTC.apply(null,Ie)),isFinite(te.getUTCFullYear())&&te.setUTCFullYear(R)):te=new Date(Date.UTC.apply(null,arguments)),te}function un(R,te,Ie){var Pe=7+te-Ie;return-(7+Tt(R,0,Pe).getUTCDay()-te)%7+Pe-1}function Yn(R,te,Ie,Pe,ft){var Pr,js,Vi=1+7*(te-1)+(7+Ie-Pe)%7+un(R,Pe,ft);return Vi<=0?js=Kt(Pr=R-1)+Vi:Vi>Kt(R)?(Pr=R+1,js=Vi-Kt(R)):(Pr=R,js=Vi),{year:Pr,dayOfYear:js}}function Ui(R,te,Ie){var on,Gn,Pe=un(R.year(),te,Ie),ft=Math.floor((R.dayOfYear()-Pe-1)/7)+1;return ft<1?on=ft+Gi(Gn=R.year()-1,te,Ie):ft>Gi(R.year(),te,Ie)?(on=ft-Gi(R.year(),te,Ie),Gn=R.year()+1):(Gn=R.year(),on=ft),{week:on,year:Gn}}function Gi(R,te,Ie){var Pe=un(R,te,Ie),ft=un(R+1,te,Ie);return(Kt(R)-Pe+ft)/7}mt("w",["ww",2],"wo","week"),mt("W",["WW",2],"Wo","isoWeek"),Yt("w",Qt,mr),Yt("ww",Qt,cn),Yt("W",Qt,mr),Yt("WW",Qt,cn),bn(["w","ww","W","WW"],function(R,te,Ie,Pe){te[Pe.substr(0,1)]=sn(R)});function da(R,te){return R.slice(te,7).concat(R.slice(0,te))}mt("d",0,"do","day"),mt("dd",0,0,function(R){return this.localeData().weekdaysMin(this,R)}),mt("ddd",0,0,function(R){return this.localeData().weekdaysShort(this,R)}),mt("dddd",0,0,function(R){return this.localeData().weekdays(this,R)}),mt("e",0,0,"weekday"),mt("E",0,0,"isoWeekday"),Yt("d",Qt),Yt("e",Qt),Yt("E",Qt),Yt("dd",function(R,te){return te.weekdaysMinRegex(R)}),Yt("ddd",function(R,te){return te.weekdaysShortRegex(R)}),Yt("dddd",function(R,te){return te.weekdaysRegex(R)}),bn(["dd","ddd","dddd"],function(R,te,Ie,Pe){var ft=Ie._locale.weekdaysParse(R,Pe,Ie._strict);null!=ft?te.d=ft:X(Ie).invalidWeekday=R}),bn(["d","e","E"],function(R,te,Ie,Pe){te[Pe]=sn(R)});var Wa="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),er="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Cr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ss=On,br=On,ds=On;function as(R,te,Ie){var Pe,ft,on,Gn=R.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Pe=0;Pe<7;++Pe)on=k([2e3,1]).day(Pe),this._minWeekdaysParse[Pe]=this.weekdaysMin(on,"").toLocaleLowerCase(),this._shortWeekdaysParse[Pe]=this.weekdaysShort(on,"").toLocaleLowerCase(),this._weekdaysParse[Pe]=this.weekdays(on,"").toLocaleLowerCase();return Ie?"dddd"===te?-1!==(ft=wr.call(this._weekdaysParse,Gn))?ft:null:"ddd"===te?-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))?ft:null:-1!==(ft=wr.call(this._minWeekdaysParse,Gn))?ft:null:"dddd"===te?-1!==(ft=wr.call(this._weekdaysParse,Gn))||-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))||-1!==(ft=wr.call(this._minWeekdaysParse,Gn))?ft:null:"ddd"===te?-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))||-1!==(ft=wr.call(this._weekdaysParse,Gn))||-1!==(ft=wr.call(this._minWeekdaysParse,Gn))?ft:null:-1!==(ft=wr.call(this._minWeekdaysParse,Gn))||-1!==(ft=wr.call(this._weekdaysParse,Gn))||-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))?ft:null}function Ho(){function R(Sl,zc){return zc.length-Sl.length}var on,Gn,Vi,Pr,js,te=[],Ie=[],Pe=[],ft=[];for(on=0;on<7;on++)Gn=k([2e3,1]).day(on),Vi=Sr(this.weekdaysMin(Gn,"")),Pr=Sr(this.weekdaysShort(Gn,"")),js=Sr(this.weekdays(Gn,"")),te.push(Vi),Ie.push(Pr),Pe.push(js),ft.push(Vi),ft.push(Pr),ft.push(js);te.sort(R),Ie.sort(R),Pe.sort(R),ft.sort(R),this._weekdaysRegex=new RegExp("^("+ft.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Pe.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ie.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+te.join("|")+")","i")}function no(){return this.hours()%12||12}function os(R,te){mt(R,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),te)})}function $o(R,te){return te._meridiemParse}mt("H",["HH",2],0,"hour"),mt("h",["hh",2],0,no),mt("k",["kk",2],0,function Vr(){return this.hours()||24}),mt("hmm",0,0,function(){return""+no.apply(this)+Jt(this.minutes(),2)}),mt("hmmss",0,0,function(){return""+no.apply(this)+Jt(this.minutes(),2)+Jt(this.seconds(),2)}),mt("Hmm",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)}),mt("Hmmss",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)+Jt(this.seconds(),2)}),os("a",!0),os("A",!1),Yt("a",$o),Yt("A",$o),Yt("H",Qt,Pt),Yt("h",Qt,mr),Yt("k",Qt,mr),Yt("HH",Qt,cn),Yt("hh",Qt,cn),Yt("kk",Qt,cn),Yt("hmm",ki),Yt("hmmss",ta),Yt("Hmm",ki),Yt("Hmmss",ta),Bt(["H","HH"],Xe),Bt(["k","kk"],function(R,te,Ie){var Pe=sn(R);te[Xe]=24===Pe?0:Pe}),Bt(["a","A"],function(R,te,Ie){Ie._isPm=Ie._locale.isPM(R),Ie._meridiem=R}),Bt(["h","hh"],function(R,te,Ie){te[Xe]=sn(R),X(Ie).bigHour=!0}),Bt("hmm",function(R,te,Ie){var Pe=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe)),X(Ie).bigHour=!0}),Bt("hmmss",function(R,te,Ie){var Pe=R.length-4,ft=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe,2)),te[ge]=sn(R.substr(ft)),X(Ie).bigHour=!0}),Bt("Hmm",function(R,te,Ie){var Pe=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe))}),Bt("Hmmss",function(R,te,Ie){var Pe=R.length-4,ft=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe,2)),te[ge]=sn(R.substr(ft))});var Mo=pi("Hours",!0);var Rs,Xr={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:yr,monthsShort:jr,week:{dow:0,doy:6},weekdays:Wa,weekdaysMin:Cr,weekdaysShort:er,meridiemParse:/[ap]\.?m?\.?/i},gr={},Us={};function Mr(R,te){var Ie,Pe=Math.min(R.length,te.length);for(Ie=0;Ie0;){if(ft=Oo(on.slice(0,Ie).join("-")))return ft;if(Pe&&Pe.length>=Ie&&Mr(on,Pe)>=Ie-1)break;Ie--}te++}return Rs}(R)}function vo(R){var te,Ie=R._a;return Ie&&-2===X(R).overflow&&(te=Ie[Ur]<0||Ie[Ur]>11?Ur:Ie[mn]<1||Ie[mn]>Ki(Ie[Ri],Ie[Ur])?mn:Ie[Xe]<0||Ie[Xe]>24||24===Ie[Xe]&&(0!==Ie[ke]||0!==Ie[ge]||0!==Ie[Ae])?Xe:Ie[ke]<0||Ie[ke]>59?ke:Ie[ge]<0||Ie[ge]>59?ge:Ie[Ae]<0||Ie[Ae]>999?Ae:-1,X(R)._overflowDayOfYear&&(temn)&&(te=mn),X(R)._overflowWeeks&&-1===te&&(te=it),X(R)._overflowWeekday&&-1===te&&(te=Ht),X(R).overflow=te),R}var io=/^\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)?)?$/,Ci=/^\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)?)?$/,Pl=/Z|[+-]\d\d(?::?\d\d)?/,tl=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ho=[["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/]],pl=/^\/?Date\((-?\d+)/i,Lr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Qs={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(R){var te,Ie,on,Gn,Vi,Pr,Pe=R._i,ft=io.exec(Pe)||Ci.exec(Pe),js=tl.length,Sl=ho.length;if(ft){for(X(R).iso=!0,te=0,Ie=js;te7)&&(Pr=!0)):(on=R._locale._week.dow,Gn=R._locale._week.doy,js=Ui(Zt(),on,Gn),Ie=ka(te.gg,R._a[Ri],js.year),Pe=ka(te.w,js.week),null!=te.d?((ft=te.d)<0||ft>6)&&(Pr=!0):null!=te.e?(ft=te.e+on,(te.e<0||te.e>6)&&(Pr=!0)):ft=on),Pe<1||Pe>Gi(Ie,on,Gn)?X(R)._overflowWeeks=!0:null!=Pr?X(R)._overflowWeekday=!0:(Vi=Yn(Ie,Pe,ft,on,Gn),R._a[Ri]=Vi.year,R._dayOfYear=Vi.dayOfYear)}(R),null!=R._dayOfYear&&(Gn=ka(R._a[Ri],ft[Ri]),(R._dayOfYear>Kt(Gn)||0===R._dayOfYear)&&(X(R)._overflowDayOfYear=!0),Ie=Tt(Gn,0,R._dayOfYear),R._a[Ur]=Ie.getUTCMonth(),R._a[mn]=Ie.getUTCDate()),te=0;te<3&&null==R._a[te];++te)R._a[te]=Pe[te]=ft[te];for(;te<7;te++)R._a[te]=Pe[te]=null==R._a[te]?2===te?1:0:R._a[te];24===R._a[Xe]&&0===R._a[ke]&&0===R._a[ge]&&0===R._a[Ae]&&(R._nextDay=!0,R._a[Xe]=0),R._d=(R._useUTC?Tt:dt).apply(null,Pe),on=R._useUTC?R._d.getUTCDay():R._d.getDay(),null!=R._tzm&&R._d.setUTCMinutes(R._d.getUTCMinutes()-R._tzm),R._nextDay&&(R._a[Xe]=24),R._w&&typeof R._w.d<"u"&&R._w.d!==on&&(X(R).weekdayMismatch=!0)}}function il(R){if(R._f!==t.ISO_8601)if(R._f!==t.RFC_2822){R._a=[],X(R).empty=!0;var Ie,Pe,ft,on,Gn,js,Sl,te=""+R._i,Vi=te.length,Pr=0;for(Sl=(ft=Fn(R._f,R._locale).match(nt)||[]).length,Ie=0;Ie0&&X(R).unusedInput.push(Gn),te=te.slice(te.indexOf(Pe)+Pe.length),Pr+=Pe.length),He[on]?(Pe?X(R).empty=!1:X(R).unusedTokens.push(on),mi(on,Pe,R)):R._strict&&!Pe&&X(R).unusedTokens.push(on);X(R).charsLeftOver=Vi-Pr,te.length>0&&X(R).unusedInput.push(te),R._a[Xe]<=12&&!0===X(R).bigHour&&R._a[Xe]>0&&(X(R).bigHour=void 0),X(R).parsedDateParts=R._a.slice(0),X(R).meridiem=R._meridiem,R._a[Xe]=function As(R,te,Ie){var Pe;return null==Ie?te:null!=R.meridiemHour?R.meridiemHour(te,Ie):(null!=R.isPM&&((Pe=R.isPM(Ie))&&te<12&&(te+=12),!Pe&&12===te&&(te=0)),te)}(R._locale,R._a[Xe],R._meridiem),null!==(js=X(R).era)&&(R._a[Ri]=R._locale.erasConvertYear(js,R._a[Ri])),yl(R),vo(R)}else ia(R);else Hs(R)}function ze(R){var te=R._i,Ie=R._f;return R._locale=R._locale||fa(R._l),null===te||void 0===Ie&&""===te?Se({nullInput:!0}):("string"==typeof te&&(R._i=te=R._locale.preparse(te)),ae(te)?new J(vo(te)):(N(te)?R._d=te:a(Ie)?function _l(R){var te,Ie,Pe,ft,on,Gn,Vi=!1,Pr=R._f.length;if(0===Pr)return X(R).invalidFormat=!0,void(R._d=new Date(NaN));for(ft=0;ftthis?this:R:Se()});function ro(R,te){var Ie,Pe;if(1===te.length&&a(te[0])&&(te=te[0]),!te.length)return Zt();for(Ie=te[0],Pe=1;Pe=0?new Date(R+400,te,Ie)-po:new Date(R,te,Ie).valueOf()}function xl(R,te,Ie){return R<100&&R>=0?Date.UTC(R+400,te,Ie)-po:Date.UTC(R,te,Ie)}function es(R,te){return te.erasAbbrRegex(R)}function Rc(){var ft,on,Gn,Vi,Pr,R=[],te=[],Ie=[],Pe=[],js=this.eras();for(ft=0,on=js.length;ft(on=Gi(R,Pe,ft))&&(te=on),Qa.call(this,R,te,Ie,Pe,ft))}function Qa(R,te,Ie,Pe,ft){var on=Yn(R,te,Ie,Pe,ft),Gn=Tt(on.year,0,on.dayOfYear);return this.year(Gn.getUTCFullYear()),this.month(Gn.getUTCMonth()),this.date(Gn.getUTCDate()),this}mt("N",0,0,"eraAbbr"),mt("NN",0,0,"eraAbbr"),mt("NNN",0,0,"eraAbbr"),mt("NNNN",0,0,"eraName"),mt("NNNNN",0,0,"eraNarrow"),mt("y",["y",1],"yo","eraYear"),mt("y",["yy",2],0,"eraYear"),mt("y",["yyy",3],0,"eraYear"),mt("y",["yyyy",4],0,"eraYear"),Yt("N",es),Yt("NN",es),Yt("NNN",es),Yt("NNNN",function Ic(R,te){return te.erasNameRegex(R)}),Yt("NNNNN",function Ul(R,te){return te.erasNarrowRegex(R)}),Bt(["N","NN","NNN","NNNN","NNNNN"],function(R,te,Ie,Pe){var ft=Ie._locale.erasParse(R,Pe,Ie._strict);ft?X(Ie).era=ft:X(Ie).invalidEra=R}),Yt("y",Dr),Yt("yy",Dr),Yt("yyy",Dr),Yt("yyyy",Dr),Yt("yo",function Ta(R,te){return te._eraYearOrdinalRegex||Dr}),Bt(["y","yy","yyy","yyyy"],Ri),Bt(["yo"],function(R,te,Ie,Pe){var ft;Ie._locale._eraYearOrdinalRegex&&(ft=R.match(Ie._locale._eraYearOrdinalRegex)),te[Ri]=Ie._locale.eraYearOrdinalParse?Ie._locale.eraYearOrdinalParse(R,ft):parseInt(R,10)}),mt(0,["gg",2],0,function(){return this.weekYear()%100}),mt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Al("gggg","weekYear"),Al("ggggg","weekYear"),Al("GGGG","isoWeekYear"),Al("GGGGG","isoWeekYear"),Yt("G",bs),Yt("g",bs),Yt("GG",Qt,cn),Yt("gg",Qt,cn),Yt("GGGG",co,An),Yt("gggg",co,An),Yt("GGGGG",Or,gs),Yt("ggggg",Or,gs),bn(["gggg","ggggg","GGGG","GGGGG"],function(R,te,Ie,Pe){te[Pe.substr(0,2)]=sn(R)}),bn(["gg","GG"],function(R,te,Ie,Pe){te[Pe]=t.parseTwoDigitYear(R)}),mt("Q",0,"Qo","quarter"),Yt("Q",xt),Bt("Q",function(R,te){te[Ur]=3*(sn(R)-1)}),mt("D",["DD",2],"Do","date"),Yt("D",Qt,mr),Yt("DD",Qt,cn),Yt("Do",function(R,te){return R?te._dayOfMonthOrdinalParse||te._ordinalParse:te._dayOfMonthOrdinalParseLenient}),Bt(["D","DD"],mn),Bt("Do",function(R,te){te[mn]=sn(R.match(Qt)[0])});var oo=pi("Date",!0);mt("DDD",["DDDD",3],"DDDo","dayOfYear"),Yt("DDD",Pi),Yt("DDDD",Kn),Bt(["DDD","DDDD"],function(R,te,Ie){Ie._dayOfYear=sn(R)}),mt("m",["mm",2],0,"minute"),Yt("m",Qt,Pt),Yt("mm",Qt,cn),Bt(["m","mm"],ke);var dc=pi("Minutes",!1);mt("s",["ss",2],0,"second"),Yt("s",Qt,Pt),Yt("ss",Qt,cn),Bt(["s","ss"],ge);var jt,L,he=pi("Seconds",!1);for(mt("S",0,0,function(){return~~(this.millisecond()/100)}),mt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),mt(0,["SSS",3],0,"millisecond"),mt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),mt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),mt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),mt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),mt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),mt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Yt("S",Pi,xt),Yt("SS",Pi,cn),Yt("SSS",Pi,Kn),jt="SSSS";jt.length<=9;jt+="S")Yt(jt,Dr);function Ue(R,te){te[Ae]=sn(1e3*("0."+R))}for(jt="S";jt.length<=9;jt+="S")Bt(jt,Ue);L=pi("Milliseconds",!1),mt("z",0,0,"zoneAbbr"),mt("zz",0,0,"zoneName");var v=J.prototype;function ue(R){return R}v.add=Wr,v.calendar=function Ln(R,te){1===arguments.length&&(arguments[0]?re(arguments[0])?(R=arguments[0],te=void 0):function We(R){var ft,te=y(R)&&!b(R),Ie=!1,Pe=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(ft=0;ftIe.valueOf():Ie.valueOf()9999?yt(Ie,te?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):gt(Date.prototype.toISOString)?te?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",yt(Ie,"Z")):yt(Ie,te?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},v.inspect=function xa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var Ie,Pe,R="moment",te="";return this.isLocal()||(R=0===this.utcOffset()?"moment.utc":"moment.parseZone",te="Z"),Ie="["+R+'("]',Pe=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(Ie+Pe+"-MM-DD[T]HH:mm:ss.SSS"+te+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(v[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),v.toJSON=function Yl(){return this.isValid()?this.toISOString():null},v.toString=function ea(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},v.unix=function Hc(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function cc(){return this._d.valueOf()-6e4*(this._offset||0)},v.creationData=function Ac(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},v.eraName=function El(){var R,te,Ie,Pe=this.localeData().eras();for(R=0,te=Pe.length;Rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},v.isLocal=function Ao(){return!!this.isValid()&&!this._isUTC},v.isUtcOffset=function Lc(){return!!this.isValid()&&this._isUTC},v.isUtc=ol,v.isUTC=ol,v.zoneAbbr=function je(){return this._isUTC?"UTC":""},v.zoneName=function E(){return this._isUTC?"Coordinated Universal Time":""},v.dates=ye("dates accessor is deprecated. Use date instead.",oo),v.months=ye("months accessor is deprecated. Use month instead",Ra),v.years=ye("years accessor is deprecated. Use year instead",yn),v.zone=ye("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ra(R,te){return null!=R?("string"!=typeof R&&(R=-R),this.utcOffset(R,te),this):-this.utcOffset()}),v.isDSTShifted=ye("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Cl(){if(!F(this._isDSTShifted))return this._isDSTShifted;var te,R={};return V(R,this),(R=ze(R))._a?(te=R._isUTC?k(R._a):Zt(R._a),this._isDSTShifted=this.isValid()&&function ba(R,te,Ie){var Gn,Pe=Math.min(R.length,te.length),ft=Math.abs(R.length-te.length),on=0;for(Gn=0;Gn0):this._isDSTShifted=!1,this._isDSTShifted});var be=tt.prototype;function et(R,te,Ie,Pe){var ft=fa(),on=k().set(Pe,te);return ft[Ie](on,R)}function q(R,te,Ie){if(j(R)&&(te=R,R=void 0),R=R||"",null!=te)return et(R,te,Ie,"month");var Pe,ft=[];for(Pe=0;Pe<12;Pe++)ft[Pe]=et(R,Pe,Ie,"month");return ft}function U(R,te,Ie,Pe){"boolean"==typeof R?(j(te)&&(Ie=te,te=void 0),te=te||""):(Ie=te=R,R=!1,j(te)&&(Ie=te,te=void 0),te=te||"");var Gn,ft=fa(),on=R?ft._week.dow:0,Vi=[];if(null!=Ie)return et(te,(Ie+on)%7,Pe,"day");for(Gn=0;Gn<7;Gn++)Vi[Gn]=et(te,(Gn+on)%7,Pe,"day");return Vi}be.calendar=function Nt(R,te,Ie){var Pe=this._calendar[R]||this._calendar.sameElse;return gt(Pe)?Pe.call(te,Ie):Pe},be.longDateFormat=function In(R){var te=this._longDateFormat[R],Ie=this._longDateFormat[R.toUpperCase()];return te||!Ie?te:(this._longDateFormat[R]=Ie.match(nt).map(function(Pe){return"MMMM"===Pe||"MM"===Pe||"DD"===Pe||"dddd"===Pe?Pe.slice(1):Pe}).join(""),this._longDateFormat[R])},be.invalidDate=function qn(){return this._invalidDate},be.ordinal=function Bn(R){return this._ordinal.replace("%d",R)},be.preparse=ue,be.postformat=ue,be.relativeTime=function fi(R,te,Ie,Pe){var ft=this._relativeTime[Ie];return gt(ft)?ft(R,te,Ie,Pe):ft.replace(/%d/i,R)},be.pastFuture=function Mt(R,te){var Ie=this._relativeTime[R>0?"future":"past"];return gt(Ie)?Ie(te):Ie.replace(/%s/i,te)},be.set=function Ze(R){var te,Ie;for(Ie in R)C(R,Ie)&&(gt(te=R[Ie])?this[Ie]=te:this["_"+Ie]=te);this._config=R,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},be.eras=function au(R,te){var Ie,Pe,ft,on=this._eras||fa("en")._eras;for(Ie=0,Pe=on.length;Ie=0)return on[Pe]},be.erasConvertYear=function Zc(R,te){var Ie=R.since<=R.until?1:-1;return void 0===te?t(R.since).year():t(R.since).year()+(te-R.offset)*Ie},be.erasAbbrRegex=function $c(R){return C(this,"_erasAbbrRegex")||Rc.call(this),R?this._erasAbbrRegex:this._erasRegex},be.erasNameRegex=function Vo(R){return C(this,"_erasNameRegex")||Rc.call(this),R?this._erasNameRegex:this._erasRegex},be.erasNarrowRegex=function ii(R){return C(this,"_erasNarrowRegex")||Rc.call(this),R?this._erasNarrowRegex:this._erasRegex},be.months=function Nr(R,te){return R?a(this._months)?this._months[R.month()]:this._months[(this._months.isFormat||xs).test(te)?"format":"standalone"][R.month()]:a(this._months)?this._months:this._months.standalone},be.monthsShort=function To(R,te){return R?a(this._monthsShort)?this._monthsShort[R.month()]:this._monthsShort[xs.test(te)?"format":"standalone"][R.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},be.monthsParse=function Eo(R,te,Ie){var Pe,ft,on;if(this._monthsParseExact)return Bs.call(this,R,te,Ie);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Pe=0;Pe<12;Pe++){if(ft=k([2e3,Pe]),Ie&&!this._longMonthsParse[Pe]&&(this._longMonthsParse[Pe]=new RegExp("^"+this.months(ft,"").replace(".","")+"$","i"),this._shortMonthsParse[Pe]=new RegExp("^"+this.monthsShort(ft,"").replace(".","")+"$","i")),!Ie&&!this._monthsParse[Pe]&&(on="^"+this.months(ft,"")+"|^"+this.monthsShort(ft,""),this._monthsParse[Pe]=new RegExp(on.replace(".",""),"i")),Ie&&"MMMM"===te&&this._longMonthsParse[Pe].test(R))return Pe;if(Ie&&"MMM"===te&&this._shortMonthsParse[Pe].test(R))return Pe;if(!Ie&&this._monthsParse[Pe].test(R))return Pe}},be.monthsRegex=function St(R){return this._monthsParseExact?(C(this,"_monthsRegex")||En.call(this),R?this._monthsStrictRegex:this._monthsRegex):(C(this,"_monthsRegex")||(this._monthsRegex=ns),this._monthsStrictRegex&&R?this._monthsStrictRegex:this._monthsRegex)},be.monthsShortRegex=function Ds(R){return this._monthsParseExact?(C(this,"_monthsRegex")||En.call(this),R?this._monthsShortStrictRegex:this._monthsShortRegex):(C(this,"_monthsShortRegex")||(this._monthsShortRegex=Co),this._monthsShortStrictRegex&&R?this._monthsShortStrictRegex:this._monthsShortRegex)},be.week=function _r(R){return Ui(R,this._week.dow,this._week.doy).week},be.firstDayOfYear=function Fo(){return this._week.doy},be.firstDayOfWeek=function So(){return this._week.dow},be.weekdays=function Yo(R,te){var Ie=a(this._weekdays)?this._weekdays:this._weekdays[R&&!0!==R&&this._weekdays.isFormat.test(te)?"format":"standalone"];return!0===R?da(Ie,this._week.dow):R?Ie[R.day()]:Ie},be.weekdaysMin=function ha(R){return!0===R?da(this._weekdaysMin,this._week.dow):R?this._weekdaysMin[R.day()]:this._weekdaysMin},be.weekdaysShort=function gl(R){return!0===R?da(this._weekdaysShort,this._week.dow):R?this._weekdaysShort[R.day()]:this._weekdaysShort},be.weekdaysParse=function Na(R,te,Ie){var Pe,ft,on;if(this._weekdaysParseExact)return as.call(this,R,te,Ie);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Pe=0;Pe<7;Pe++){if(ft=k([2e3,1]).day(Pe),Ie&&!this._fullWeekdaysParse[Pe]&&(this._fullWeekdaysParse[Pe]=new RegExp("^"+this.weekdays(ft,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Pe]=new RegExp("^"+this.weekdaysShort(ft,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Pe]=new RegExp("^"+this.weekdaysMin(ft,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Pe]||(on="^"+this.weekdays(ft,"")+"|^"+this.weekdaysShort(ft,"")+"|^"+this.weekdaysMin(ft,""),this._weekdaysParse[Pe]=new RegExp(on.replace(".",""),"i")),Ie&&"dddd"===te&&this._fullWeekdaysParse[Pe].test(R))return Pe;if(Ie&&"ddd"===te&&this._shortWeekdaysParse[Pe].test(R))return Pe;if(Ie&&"dd"===te&&this._minWeekdaysParse[Pe].test(R))return Pe;if(!Ie&&this._weekdaysParse[Pe].test(R))return Pe}},be.weekdaysRegex=function dr(R){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Ho.call(this),R?this._weekdaysStrictRegex:this._weekdaysRegex):(C(this,"_weekdaysRegex")||(this._weekdaysRegex=Ss),this._weekdaysStrictRegex&&R?this._weekdaysStrictRegex:this._weekdaysRegex)},be.weekdaysShortRegex=function $r(R){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Ho.call(this),R?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(C(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=br),this._weekdaysShortStrictRegex&&R?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},be.weekdaysMinRegex=function Fr(R){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Ho.call(this),R?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(C(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ds),this._weekdaysMinStrictRegex&&R?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},be.isPM=function Ko(R){return"p"===(R+"").toLowerCase().charAt(0)},be.meridiem=function Aa(R,te,Ie){return R>11?Ie?"pm":"PM":Ie?"am":"AM"},Js("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(R){var te=R%10;return R+(1===sn(R%100/10)?"th":1===te?"st":2===te?"nd":3===te?"rd":"th")}}),t.lang=ye("moment.lang is deprecated. Use moment.locale instead.",Js),t.langData=ye("moment.langData is deprecated. Use moment.localeData instead.",fa);var It=Math.abs;function Cn(R,te,Ie,Pe){var ft=vl(te,Ie);return R._milliseconds+=Pe*ft._milliseconds,R._days+=Pe*ft._days,R._months+=Pe*ft._months,R._bubble()}function Ei(R){return R<0?Math.floor(R):Math.ceil(R)}function hi(R){return 4800*R/146097}function wi(R){return 146097*R/4800}function sr(R){return function(){return this.as(R)}}var Er=sr("ms"),ms=sr("s"),ao=sr("m"),Xa=sr("h"),Wo=sr("d"),mo=sr("w"),Zo=sr("M"),Ns=sr("Q"),Va=sr("y"),hc=Er;function Is(R){return function(){return this.isValid()?this._data[R]:NaN}}var ll=Is("milliseconds"),tr=Is("seconds"),Ir=Is("minutes"),kr=Is("hours"),Jr=Is("days"),Go=Is("months"),oa=Is("years");var vs=Math.round,fs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function aa(R,te,Ie,Pe,ft){return ft.relativeTime(te||1,!!Ie,R,Pe)}var Dl=Math.abs;function sc(R){return(R>0)-(R<0)||+R}function yc(){if(!this.isValid())return this.localeData().invalidDate();var Pe,ft,on,Gn,Pr,js,Sl,zc,R=Dl(this._milliseconds)/1e3,te=Dl(this._days),Ie=Dl(this._months),Vi=this.asSeconds();return Vi?(Pe=Pn(R/60),ft=Pn(Pe/60),R%=60,Pe%=60,on=Pn(Ie/12),Ie%=12,Gn=R?R.toFixed(3).replace(/\.?0+$/,""):"",Pr=Vi<0?"-":"",js=sc(this._months)!==sc(Vi)?"-":"",Sl=sc(this._days)!==sc(Vi)?"-":"",zc=sc(this._milliseconds)!==sc(Vi)?"-":"",Pr+"P"+(on?js+on+"Y":"")+(Ie?js+Ie+"M":"")+(te?Sl+te+"D":"")+(ft||Pe||R?"T":"")+(ft?zc+ft+"H":"")+(Pe?zc+Pe+"M":"")+(R?zc+Gn+"S":"")):"P0D"}var cs=Cs.prototype;return cs.isValid=function rl(){return this._isValid},cs.abs=function Xt(){var R=this._data;return this._milliseconds=It(this._milliseconds),this._days=It(this._days),this._months=It(this._months),R.milliseconds=It(R.milliseconds),R.seconds=It(R.seconds),R.minutes=It(R.minutes),R.hours=It(R.hours),R.months=It(R.months),R.years=It(R.years),this},cs.add=function ni(R,te){return Cn(this,R,te,1)},cs.subtract=function oi(R,te){return Cn(this,R,te,-1)},cs.as=function Tr(R){if(!this.isValid())return NaN;var te,Ie,Pe=this._milliseconds;if("month"===(R=ve(R))||"quarter"===R||"year"===R)switch(te=this._days+Pe/864e5,Ie=this._months+hi(te),R){case"month":return Ie;case"quarter":return Ie/3;case"year":return Ie/12}else switch(te=this._days+Math.round(wi(this._months)),R){case"week":return te/7+Pe/6048e5;case"day":return te+Pe/864e5;case"hour":return 24*te+Pe/36e5;case"minute":return 1440*te+Pe/6e4;case"second":return 86400*te+Pe/1e3;case"millisecond":return Math.floor(864e5*te)+Pe;default:throw new Error("Unknown unit "+R)}},cs.asMilliseconds=Er,cs.asSeconds=ms,cs.asMinutes=ao,cs.asHours=Xa,cs.asDays=Wo,cs.asWeeks=mo,cs.asMonths=Zo,cs.asQuarters=Ns,cs.asYears=Va,cs.valueOf=hc,cs._bubble=function Hi(){var ft,on,Gn,Vi,Pr,R=this._milliseconds,te=this._days,Ie=this._months,Pe=this._data;return R>=0&&te>=0&&Ie>=0||R<=0&&te<=0&&Ie<=0||(R+=864e5*Ei(wi(Ie)+te),te=0,Ie=0),Pe.milliseconds=R%1e3,ft=Pn(R/1e3),Pe.seconds=ft%60,on=Pn(ft/60),Pe.minutes=on%60,Gn=Pn(on/60),Pe.hours=Gn%24,te+=Pn(Gn/24),Ie+=Pr=Pn(hi(te)),te-=Ei(wi(Pr)),Vi=Pn(Ie/12),Ie%=12,Pe.days=te,Pe.months=Ie,Pe.years=Vi,this},cs.clone=function Ml(){return vl(this)},cs.get=function _o(R){return R=ve(R),this.isValid()?this[R+"s"]():NaN},cs.milliseconds=ll,cs.seconds=tr,cs.minutes=Ir,cs.hours=kr,cs.days=Jr,cs.weeks=function Hl(){return Pn(this.days()/7)},cs.months=Go,cs.years=oa,cs.humanize=function zl(R,te){if(!this.isValid())return this.localeData().invalidDate();var ft,on,Ie=!1,Pe=fs;return"object"==typeof R&&(te=R,R=!1),"boolean"==typeof R&&(Ie=R),"object"==typeof te&&(Pe=Object.assign({},fs,te),null!=te.s&&null==te.ss&&(Pe.ss=te.s-1)),on=function jl(R,te,Ie,Pe){var ft=vl(R).abs(),on=vs(ft.as("s")),Gn=vs(ft.as("m")),Vi=vs(ft.as("h")),Pr=vs(ft.as("d")),js=vs(ft.as("M")),Sl=vs(ft.as("w")),zc=vs(ft.as("y")),bc=on<=Ie.ss&&["s",on]||on0,bc[4]=Pe,aa.apply(null,bc)}(this,!Ie,Pe,ft=this.localeData()),Ie&&(on=ft.pastFuture(+this,on)),ft.postformat(on)},cs.toISOString=yc,cs.toString=yc,cs.toJSON=yc,cs.locale=Es,cs.localeData=Ka,cs.toIsoString=ye("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yc),cs.lang=Vl,mt("X",0,0,"unix"),mt("x",0,0,"valueOf"),Yt("x",bs),Yt("X",/[+-]?\d+(\.\d{1,3})?/),Bt("X",function(R,te,Ie){Ie._d=new Date(1e3*parseFloat(R))}),Bt("x",function(R,te,Ie){Ie._d=new Date(sn(R))}),t.version="2.30.1",function A(R){i=R}(Zt),t.fn=v,t.min=function Xs(){return ro("isBefore",[].slice.call(arguments,0))},t.max=function Jo(){return ro("isAfter",[].slice.call(arguments,0))},t.now=function(){return Date.now?Date.now():+new Date},t.utc=k,t.unix=function M(R){return Zt(1e3*R)},t.months=function Y(R,te){return q(R,te,"months")},t.isDate=N,t.locale=Js,t.invalid=Se,t.duration=vl,t.isMoment=ae,t.weekdays=function pe(R,te,Ie){return U(R,te,Ie,"weekdays")},t.parseZone=function W(){return Zt.apply(null,arguments).parseZone()},t.localeData=fa,t.isDuration=Rl,t.monthsShort=function ne(R,te){return q(R,te,"monthsShort")},t.weekdaysMin=function bt(R,te,Ie){return U(R,te,Ie,"weekdaysMin")},t.defineLocale=Ia,t.updateLocale=function xr(R,te){if(null!=te){var Ie,Pe,ft=Xr;null!=gr[R]&&null!=gr[R].parentLocale?gr[R].set(Je(gr[R]._config,te)):(null!=(Pe=Oo(R))&&(ft=Pe._config),te=Je(ft,te),null==Pe&&(te.abbr=R),(Ie=new tt(te)).parentLocale=gr[R],gr[R]=Ie),Js(R)}else null!=gr[R]&&(null!=gr[R].parentLocale?(gr[R]=gr[R].parentLocale,R===Js()&&Js(R)):null!=gr[R]&&delete gr[R]);return gr[R]},t.locales=function Kl(){return Qe(gr)},t.weekdaysShort=function Ve(R,te,Ie){return U(R,te,Ie,"weekdaysShort")},t.normalizeUnits=ve,t.relativeTimeRounding=function cl(R){return void 0===R?vs:"function"==typeof R&&(vs=R,!0)},t.relativeTimeThreshold=function qa(R,te){return void 0!==fs[R]&&(void 0===te?fs[R]:(fs[R]=te,"s"===R&&(fs.ss=te-1),!0))},t.calendarFormat=function Ut(R,te){var Ie=R.diff(te,"days",!0);return Ie<-6?"sameElse":Ie<-1?"lastWeek":Ie<0?"lastDay":Ie<1?"sameDay":Ie<2?"nextDay":Ie<7?"nextWeek":"sameElse"},t.prototype=v,t.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:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}()},6424:(lt,_e,m)=>{"use strict";m.d(_e,{X:()=>t});var i=m(8748);class t extends i.x{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const y=super._subscribe(a);return!y.closed&&a.next(this._value),y}getValue(){const{hasError:a,thrownError:y,_value:C}=this;if(a)throw y;return this._throwIfClosed(),C}next(a){super.next(this._value=a)}}},8132:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>F});var i=m(4676),t=m(902),A=m(9837),a=m(2222),y=m(9885),C=m(3649),b=m(1855);let F=(()=>{class H{constructor(P){P&&(this._subscribe=P)}lift(P){const X=new H;return X.source=this,X.operator=P,X}subscribe(P,X,me){const Oe=function x(H){return H&&H instanceof i.Lv||function N(H){return H&&(0,C.m)(H.next)&&(0,C.m)(H.error)&&(0,C.m)(H.complete)}(H)&&(0,t.Nn)(H)}(P)?P:new i.Hp(P,X,me);return(0,b.x)(()=>{const{operator:Se,source:wt}=this;Oe.add(Se?Se.call(Oe,wt):wt?this._subscribe(Oe):this._trySubscribe(Oe))}),Oe}_trySubscribe(P){try{return this._subscribe(P)}catch(X){P.error(X)}}forEach(P,X){return new(X=j(X))((me,Oe)=>{const Se=new i.Hp({next:wt=>{try{P(wt)}catch(K){Oe(K),Se.unsubscribe()}},error:Oe,complete:me});this.subscribe(Se)})}_subscribe(P){var X;return null===(X=this.source)||void 0===X?void 0:X.subscribe(P)}[A.L](){return this}pipe(...P){return(0,a.U)(P)(this)}toPromise(P){return new(P=j(P))((X,me)=>{let Oe;this.subscribe(Se=>Oe=Se,Se=>me(Se),()=>X(Oe))})}}return H.create=k=>new H(k),H})();function j(H){var k;return null!==(k=H??y.config.Promise)&&void 0!==k?k:Promise}},8748:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>b});var i=m(8132),t=m(902);const a=(0,m(9046).d)(j=>function(){j(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var y=m(801),C=m(1855);let b=(()=>{class j extends i.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(x){const H=new F(this,this);return H.operator=x,H}_throwIfClosed(){if(this.closed)throw new a}next(x){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const H of this.currentObservers)H.next(x)}})}error(x){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=x;const{observers:H}=this;for(;H.length;)H.shift().error(x)}})}complete(){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:x}=this;for(;x.length;)x.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var x;return(null===(x=this.observers)||void 0===x?void 0:x.length)>0}_trySubscribe(x){return this._throwIfClosed(),super._trySubscribe(x)}_subscribe(x){return this._throwIfClosed(),this._checkFinalizedStatuses(x),this._innerSubscribe(x)}_innerSubscribe(x){const{hasError:H,isStopped:k,observers:P}=this;return H||k?t.Lc:(this.currentObservers=null,P.push(x),new t.w0(()=>{this.currentObservers=null,(0,y.P)(P,x)}))}_checkFinalizedStatuses(x){const{hasError:H,thrownError:k,isStopped:P}=this;H?x.error(k):P&&x.complete()}asObservable(){const x=new i.y;return x.source=this,x}}return j.create=(N,x)=>new F(N,x),j})();class F extends b{constructor(N,x){super(),this.destination=N,this.source=x}next(N){var x,H;null===(H=null===(x=this.destination)||void 0===x?void 0:x.next)||void 0===H||H.call(x,N)}error(N){var x,H;null===(H=null===(x=this.destination)||void 0===x?void 0:x.error)||void 0===H||H.call(x,N)}complete(){var N,x;null===(x=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===x||x.call(N)}_subscribe(N){var x,H;return null!==(H=null===(x=this.source)||void 0===x?void 0:x.subscribe(N))&&void 0!==H?H:t.Lc}}},4676:(lt,_e,m)=>{"use strict";m.d(_e,{Hp:()=>me,Lv:()=>H});var i=m(3649),t=m(902),A=m(9885),a=m(9102),y=m(6811);const C=j("C",void 0,void 0);function j(V,J,ae){return{kind:V,value:J,error:ae}}var N=m(3112),x=m(1855);class H extends t.w0{constructor(J){super(),this.isStopped=!1,J?(this.destination=J,(0,t.Nn)(J)&&J.add(this)):this.destination=K}static create(J,ae,oe){return new me(J,ae,oe)}next(J){this.isStopped?wt(function F(V){return j("N",V,void 0)}(J),this):this._next(J)}error(J){this.isStopped?wt(function b(V){return j("E",void 0,V)}(J),this):(this.isStopped=!0,this._error(J))}complete(){this.isStopped?wt(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(J){this.destination.next(J)}_error(J){try{this.destination.error(J)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k=Function.prototype.bind;function P(V,J){return k.call(V,J)}class X{constructor(J){this.partialObserver=J}next(J){const{partialObserver:ae}=this;if(ae.next)try{ae.next(J)}catch(oe){Oe(oe)}}error(J){const{partialObserver:ae}=this;if(ae.error)try{ae.error(J)}catch(oe){Oe(oe)}else Oe(J)}complete(){const{partialObserver:J}=this;if(J.complete)try{J.complete()}catch(ae){Oe(ae)}}}class me extends H{constructor(J,ae,oe){let ye;if(super(),(0,i.m)(J)||!J)ye={next:J??void 0,error:ae??void 0,complete:oe??void 0};else{let Ee;this&&A.config.useDeprecatedNextContext?(Ee=Object.create(J),Ee.unsubscribe=()=>this.unsubscribe(),ye={next:J.next&&P(J.next,Ee),error:J.error&&P(J.error,Ee),complete:J.complete&&P(J.complete,Ee)}):ye=J}this.destination=new X(ye)}}function Oe(V){A.config.useDeprecatedSynchronousErrorHandling?(0,x.O)(V):(0,a.h)(V)}function wt(V,J){const{onStoppedNotification:ae}=A.config;ae&&N.z.setTimeout(()=>ae(V,J))}const K={closed:!0,next:y.Z,error:function Se(V){throw V},complete:y.Z}},902:(lt,_e,m)=>{"use strict";m.d(_e,{Lc:()=>C,w0:()=>y,Nn:()=>b});var i=m(3649);const A=(0,m(9046).d)(j=>function(x){j(this),this.message=x?`${x.length} errors occurred during unsubscription:\n${x.map((H,k)=>`${k+1}) ${H.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=x});var a=m(801);class y{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:x}=this;if(x)if(this._parentage=null,Array.isArray(x))for(const P of x)P.remove(this);else x.remove(this);const{initialTeardown:H}=this;if((0,i.m)(H))try{H()}catch(P){N=P instanceof A?P.errors:[P]}const{_finalizers:k}=this;if(k){this._finalizers=null;for(const P of k)try{F(P)}catch(X){N=N??[],X instanceof A?N=[...N,...X.errors]:N.push(X)}}if(N)throw new A(N)}}add(N){var x;if(N&&N!==this)if(this.closed)F(N);else{if(N instanceof y){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(x=this._finalizers)&&void 0!==x?x:[]).push(N)}}_hasParent(N){const{_parentage:x}=this;return x===N||Array.isArray(x)&&x.includes(N)}_addParent(N){const{_parentage:x}=this;this._parentage=Array.isArray(x)?(x.push(N),x):x?[x,N]:N}_removeParent(N){const{_parentage:x}=this;x===N?this._parentage=null:Array.isArray(x)&&(0,a.P)(x,N)}remove(N){const{_finalizers:x}=this;x&&(0,a.P)(x,N),N instanceof y&&N._removeParent(this)}}y.EMPTY=(()=>{const j=new y;return j.closed=!0,j})();const C=y.EMPTY;function b(j){return j instanceof y||j&&"closed"in j&&(0,i.m)(j.remove)&&(0,i.m)(j.add)&&(0,i.m)(j.unsubscribe)}function F(j){(0,i.m)(j)?j():j.unsubscribe()}},9885:(lt,_e,m)=>{"use strict";m.d(_e,{config:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5623:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>y});var i=m(2605),A=m(8197),a=m(3489);function y(...C){return function t(){return(0,i.J)(1)}()((0,a.D)(C,(0,A.yG)(C)))}},3562:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>A});var i=m(8132),t=m(6974);function A(a){return new i.y(y=>{(0,t.Xf)(a()).subscribe(y)})}},453:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>t});const t=new(m(8132).y)(y=>y.complete())},3489:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>oe});var i=m(6974),t=m(3224),A=m(6142),a=m(134);function y(ye,Ee=0){return(0,A.e)((Ge,gt)=>{Ge.subscribe((0,a.x)(gt,Ze=>(0,t.f)(gt,ye,()=>gt.next(Ze),Ee),()=>(0,t.f)(gt,ye,()=>gt.complete(),Ee),Ze=>(0,t.f)(gt,ye,()=>gt.error(Ze),Ee)))})}function C(ye,Ee=0){return(0,A.e)((Ge,gt)=>{gt.add(ye.schedule(()=>Ge.subscribe(gt),Ee))})}var j=m(8132),x=m(6818),H=m(3649);function P(ye,Ee){if(!ye)throw new Error("Iterable cannot be null");return new j.y(Ge=>{(0,t.f)(Ge,Ee,()=>{const gt=ye[Symbol.asyncIterator]();(0,t.f)(Ge,Ee,()=>{gt.next().then(Ze=>{Ze.done?Ge.complete():Ge.next(Ze.value)})},0,!0)})})}var X=m(8040),me=m(3913),Oe=m(3234),Se=m(8926),wt=m(3525),K=m(369),V=m(5994);function oe(ye,Ee){return Ee?function ae(ye,Ee){if(null!=ye){if((0,X.c)(ye))return function b(ye,Ee){return(0,i.Xf)(ye).pipe(C(Ee),y(Ee))}(ye,Ee);if((0,Oe.z)(ye))return function N(ye,Ee){return new j.y(Ge=>{let gt=0;return Ee.schedule(function(){gt===ye.length?Ge.complete():(Ge.next(ye[gt++]),Ge.closed||this.schedule())})})}(ye,Ee);if((0,me.t)(ye))return function F(ye,Ee){return(0,i.Xf)(ye).pipe(C(Ee),y(Ee))}(ye,Ee);if((0,wt.D)(ye))return P(ye,Ee);if((0,Se.T)(ye))return function k(ye,Ee){return new j.y(Ge=>{let gt;return(0,t.f)(Ge,Ee,()=>{gt=ye[x.h](),(0,t.f)(Ge,Ee,()=>{let Ze,Je;try{({value:Ze,done:Je}=gt.next())}catch(tt){return void Ge.error(tt)}Je?Ge.complete():Ge.next(Ze)},0,!0)}),()=>(0,H.m)(gt?.return)&>.return()})}(ye,Ee);if((0,V.L)(ye))return function J(ye,Ee){return P((0,V.Q)(ye),Ee)}(ye,Ee)}throw(0,K.z)(ye)}(ye,Ee):(0,i.Xf)(ye)}},409:(lt,_e,m)=>{"use strict";m.d(_e,{R:()=>N});var i=m(6974),t=m(8132),A=m(9342),a=m(3234),y=m(3649),C=m(5993);const b=["addListener","removeListener"],F=["addEventListener","removeEventListener"],j=["on","off"];function N(X,me,Oe,Se){if((0,y.m)(Oe)&&(Se=Oe,Oe=void 0),Se)return N(X,me,Oe).pipe((0,C.Z)(Se));const[wt,K]=function P(X){return(0,y.m)(X.addEventListener)&&(0,y.m)(X.removeEventListener)}(X)?F.map(V=>J=>X[V](me,J,Oe)):function H(X){return(0,y.m)(X.addListener)&&(0,y.m)(X.removeListener)}(X)?b.map(x(X,me)):function k(X){return(0,y.m)(X.on)&&(0,y.m)(X.off)}(X)?j.map(x(X,me)):[];if(!wt&&(0,a.z)(X))return(0,A.z)(V=>N(V,me,Oe))((0,i.Xf)(X));if(!wt)throw new TypeError("Invalid event target");return new t.y(V=>{const J=(...ae)=>V.next(1K(J)})}function x(X,me){return Oe=>Se=>X[Oe](me,Se)}},6974:(lt,_e,m)=>{"use strict";m.d(_e,{Xf:()=>k});var i=m(4911),t=m(3234),A=m(3913),a=m(8132),y=m(8040),C=m(3525),b=m(369),F=m(8926),j=m(5994),N=m(3649),x=m(9102),H=m(9837);function k(V){if(V instanceof a.y)return V;if(null!=V){if((0,y.c)(V))return function P(V){return new a.y(J=>{const ae=V[H.L]();if((0,N.m)(ae.subscribe))return ae.subscribe(J);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(V);if((0,t.z)(V))return function X(V){return new a.y(J=>{for(let ae=0;ae{V.then(ae=>{J.closed||(J.next(ae),J.complete())},ae=>J.error(ae)).then(null,x.h)})}(V);if((0,C.D)(V))return Se(V);if((0,F.T)(V))return function Oe(V){return new a.y(J=>{for(const ae of V)if(J.next(ae),J.closed)return;J.complete()})}(V);if((0,j.L)(V))return function wt(V){return Se((0,j.Q)(V))}(V)}throw(0,b.z)(V)}function Se(V){return new a.y(J=>{(function K(V,J){var ae,oe,ye,Ee;return(0,i.mG)(this,void 0,void 0,function*(){try{for(ae=(0,i.KL)(V);!(oe=yield ae.next()).done;)if(J.next(oe.value),J.closed)return}catch(Ge){ye={error:Ge}}finally{try{oe&&!oe.done&&(Ee=ae.return)&&(yield Ee.call(ae))}finally{if(ye)throw ye.error}}J.complete()})})(V,J).catch(ae=>J.error(ae))})}},5047:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>C});var i=m(2605),t=m(6974),A=m(453),a=m(8197),y=m(3489);function C(...b){const F=(0,a.yG)(b),j=(0,a._6)(b,1/0),N=b;return N.length?1===N.length?(0,t.Xf)(N[0]):(0,i.J)(j)((0,y.D)(N,F)):A.E}},1209:(lt,_e,m)=>{"use strict";m.d(_e,{of:()=>A});var i=m(8197),t=m(3489);function A(...a){const y=(0,i.yG)(a);return(0,t.D)(a,y)}},1960:(lt,_e,m)=>{"use strict";m.d(_e,{_:()=>A});var i=m(8132),t=m(3649);function A(a,y){const C=(0,t.m)(a)?a:()=>a,b=F=>F.error(C());return new i.y(y?F=>y.schedule(b,0,F):b)}},1925:(lt,_e,m)=>{"use strict";m.d(_e,{H:()=>y});var i=m(8132),t=m(8634),A=m(6943);function y(C=0,b,F=t.P){let j=-1;return null!=b&&((0,A.K)(b)?F=b:j=b),new i.y(N=>{let x=function a(C){return C instanceof Date&&!isNaN(C)}(C)?+C-F.now():C;x<0&&(x=0);let H=0;return F.schedule(function(){N.closed||(N.next(H++),0<=j?this.schedule(void 0,j):N.complete())},x)})}},134:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>t});var i=m(4676);function t(a,y,C,b,F){return new A(a,y,C,b,F)}class A extends i.Lv{constructor(y,C,b,F,j,N){super(y),this.onFinalize=j,this.shouldUnsubscribe=N,this._next=C?function(x){try{C(x)}catch(H){y.error(H)}}:super._next,this._error=F?function(x){try{F(x)}catch(H){y.error(H)}finally{this.unsubscribe()}}:super._error,this._complete=b?function(){try{b()}catch(x){y.error(x)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var y;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(y=this.onFinalize)||void 0===y||y.call(this))}}}},7560:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>a});var i=m(6974),t=m(134),A=m(6142);function a(y){return(0,A.e)((C,b)=>{let N,F=null,j=!1;F=C.subscribe((0,t.x)(b,void 0,void 0,x=>{N=(0,i.Xf)(y(x,a(y)(C))),F?(F.unsubscribe(),F=null,N.subscribe(b)):j=!0})),j&&(F.unsubscribe(),F=null,N.subscribe(b))})}},109:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>A});var i=m(9342),t=m(3649);function A(a,y){return(0,t.m)(y)?(0,i.z)(a,y,1):(0,i.z)(a,1)}},407:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>A});var i=m(6142),t=m(134);function A(a){return(0,i.e)((y,C)=>{let b=!1;y.subscribe((0,t.x)(C,F=>{b=!0,C.next(F)},()=>{b||C.next(a),C.complete()}))})}},4893:(lt,_e,m)=>{"use strict";m.d(_e,{g:()=>k});var i=m(8634),t=m(5623),A=m(1813),a=m(6142),y=m(134),C=m(6811),F=m(7376),j=m(9342),N=m(6974);function x(P,X){return X?me=>(0,t.z)(X.pipe((0,A.q)(1),function b(){return(0,a.e)((P,X)=>{P.subscribe((0,y.x)(X,C.Z))})}()),me.pipe(x(P))):(0,j.z)((me,Oe)=>(0,N.Xf)(P(me,Oe)).pipe((0,A.q)(1),(0,F.h)(me)))}var H=m(1925);function k(P,X=i.z){const me=(0,H.H)(P,X);return x(()=>me)}},8004:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>a});var i=m(9401),t=m(6142),A=m(134);function a(C,b=i.y){return C=C??y,(0,t.e)((F,j)=>{let N,x=!0;F.subscribe((0,A.x)(j,H=>{const k=b(H);(x||!C(N,k))&&(x=!1,N=k,j.next(H))}))})}function y(C,b){return C===b}},5333:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>A});var i=m(6142),t=m(134);function A(a,y){return(0,i.e)((C,b)=>{let F=0;C.subscribe((0,t.x)(b,j=>a.call(y,j,F++)&&b.next(j)))})}},6293:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>t});var i=m(6142);function t(A){return(0,i.e)((a,y)=>{try{a.subscribe(y)}finally{y.add(A)}})}},6121:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>b});var i=m(7998),t=m(5333),A=m(1813),a=m(407),y=m(6261),C=m(9401);function b(F,j){const N=arguments.length>=2;return x=>x.pipe(F?(0,t.h)((H,k)=>F(H,k,x)):C.y,(0,A.q)(1),N?(0,a.d)(j):(0,y.T)(()=>new i.K))}},2425:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>A});var i=m(6142),t=m(134);function A(a,y){return(0,i.e)((C,b)=>{let F=0;C.subscribe((0,t.x)(b,j=>{b.next(a.call(y,j,F++))}))})}},7376:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>t});var i=m(2425);function t(A){return(0,i.U)(()=>A)}},2605:(lt,_e,m)=>{"use strict";m.d(_e,{J:()=>A});var i=m(9342),t=m(9401);function A(a=1/0){return(0,i.z)(t.y,a)}},5116:(lt,_e,m)=>{"use strict";m.d(_e,{p:()=>a});var i=m(6974),t=m(3224),A=m(134);function a(y,C,b,F,j,N,x,H){const k=[];let P=0,X=0,me=!1;const Oe=()=>{me&&!k.length&&!P&&C.complete()},Se=K=>P{N&&C.next(K),P++;let V=!1;(0,i.Xf)(b(K,X++)).subscribe((0,A.x)(C,J=>{j?.(J),N?Se(J):C.next(J)},()=>{V=!0},void 0,()=>{if(V)try{for(P--;k.length&&Pwt(J)):wt(J)}Oe()}catch(J){C.error(J)}}))};return y.subscribe((0,A.x)(C,Se,()=>{me=!0,Oe()})),()=>{H?.()}}},9342:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>C});var i=m(2425),t=m(6974),A=m(6142),a=m(5116),y=m(3649);function C(b,F,j=1/0){return(0,y.m)(F)?C((N,x)=>(0,i.U)((H,k)=>F(N,H,x,k))((0,t.Xf)(b(N,x))),j):("number"==typeof F&&(j=F),(0,A.e)((N,x)=>(0,a.p)(N,x,b,j)))}},8557:(lt,_e,m)=>{"use strict";m.d(_e,{B:()=>y});var i=m(6974),t=m(8748),A=m(4676),a=m(6142);function y(b={}){const{connector:F=(()=>new t.x),resetOnError:j=!0,resetOnComplete:N=!0,resetOnRefCountZero:x=!0}=b;return H=>{let k,P,X,me=0,Oe=!1,Se=!1;const wt=()=>{P?.unsubscribe(),P=void 0},K=()=>{wt(),k=X=void 0,Oe=Se=!1},V=()=>{const J=k;K(),J?.unsubscribe()};return(0,a.e)((J,ae)=>{me++,!Se&&!Oe&&wt();const oe=X=X??F();ae.add(()=>{me--,0===me&&!Se&&!Oe&&(P=C(V,x))}),oe.subscribe(ae),!k&&me>0&&(k=new A.Hp({next:ye=>oe.next(ye),error:ye=>{Se=!0,wt(),P=C(K,j,ye),oe.error(ye)},complete:()=>{Oe=!0,wt(),P=C(K,N),oe.complete()}}),(0,i.Xf)(J).subscribe(k))})(H)}}function C(b,F,...j){if(!0===F)return void b();if(!1===F)return;const N=new A.Hp({next:()=>{N.unsubscribe(),b()}});return(0,i.Xf)(F(...j)).subscribe(N)}},9414:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>y});var i=m(8748),t=m(6406);class A extends i.x{constructor(b=1/0,F=1/0,j=t.l){super(),this._bufferSize=b,this._windowTime=F,this._timestampProvider=j,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=F===1/0,this._bufferSize=Math.max(1,b),this._windowTime=Math.max(1,F)}next(b){const{isStopped:F,_buffer:j,_infiniteTimeWindow:N,_timestampProvider:x,_windowTime:H}=this;F||(j.push(b),!N&&j.push(x.now()+H)),this._trimBuffer(),super.next(b)}_subscribe(b){this._throwIfClosed(),this._trimBuffer();const F=this._innerSubscribe(b),{_infiniteTimeWindow:j,_buffer:N}=this,x=N.slice();for(let H=0;Hnew A(j,b,F),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:N})}},3843:(lt,_e,m)=>{"use strict";m.d(_e,{O:()=>a});var i=m(5623),t=m(8197),A=m(6142);function a(...y){const C=(0,t.yG)(y);return(0,A.e)((b,F)=>{(C?(0,i.z)(y,b,C):(0,i.z)(y,b)).subscribe(F)})}},4787:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>a});var i=m(6974),t=m(6142),A=m(134);function a(y,C){return(0,t.e)((b,F)=>{let j=null,N=0,x=!1;const H=()=>x&&!j&&F.complete();b.subscribe((0,A.x)(F,k=>{j?.unsubscribe();let P=0;const X=N++;(0,i.Xf)(y(k,X)).subscribe(j=(0,A.x)(F,me=>F.next(C?C(k,me,X,P++):me),()=>{j=null,H()}))},()=>{x=!0,H()}))})}},1813:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>a});var i=m(453),t=m(6142),A=m(134);function a(y){return y<=0?()=>i.E:(0,t.e)((C,b)=>{let F=0;C.subscribe((0,A.x)(b,j=>{++F<=y&&(b.next(j),y<=F&&b.complete())}))})}},1749:(lt,_e,m)=>{"use strict";m.d(_e,{R:()=>y});var i=m(6142),t=m(134),A=m(6974),a=m(6811);function y(C){return(0,i.e)((b,F)=>{(0,A.Xf)(C).subscribe((0,t.x)(F,()=>F.complete(),a.Z)),!F.closed&&b.subscribe(F)})}},1570:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>y});var i=m(3649),t=m(6142),A=m(134),a=m(9401);function y(C,b,F){const j=(0,i.m)(C)||b||F?{next:C,error:b,complete:F}:C;return j?(0,t.e)((N,x)=>{var H;null===(H=j.subscribe)||void 0===H||H.call(j);let k=!0;N.subscribe((0,A.x)(x,P=>{var X;null===(X=j.next)||void 0===X||X.call(j,P),x.next(P)},()=>{var P;k=!1,null===(P=j.complete)||void 0===P||P.call(j),x.complete()},P=>{var X;k=!1,null===(X=j.error)||void 0===X||X.call(j,P),x.error(P)},()=>{var P,X;k&&(null===(P=j.unsubscribe)||void 0===P||P.call(j)),null===(X=j.finalize)||void 0===X||X.call(j)}))}):a.y}},6261:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>a});var i=m(7998),t=m(6142),A=m(134);function a(C=y){return(0,t.e)((b,F)=>{let j=!1;b.subscribe((0,A.x)(F,N=>{j=!0,F.next(N)},()=>j?F.complete():F.error(C())))})}function y(){return new i.K}},54:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>y});var i=m(902);class t extends i.w0{constructor(b,F){super()}schedule(b,F=0){return this}}const A={setInterval(C,b,...F){const{delegate:j}=A;return j?.setInterval?j.setInterval(C,b,...F):setInterval(C,b,...F)},clearInterval(C){const{delegate:b}=A;return(b?.clearInterval||clearInterval)(C)},delegate:void 0};var a=m(801);class y extends t{constructor(b,F){super(b,F),this.scheduler=b,this.work=F,this.pending=!1}schedule(b,F=0){var j;if(this.closed)return this;this.state=b;const N=this.id,x=this.scheduler;return null!=N&&(this.id=this.recycleAsyncId(x,N,F)),this.pending=!0,this.delay=F,this.id=null!==(j=this.id)&&void 0!==j?j:this.requestAsyncId(x,this.id,F),this}requestAsyncId(b,F,j=0){return A.setInterval(b.flush.bind(b,this),j)}recycleAsyncId(b,F,j=0){if(null!=j&&this.delay===j&&!1===this.pending)return F;null!=F&&A.clearInterval(F)}execute(b,F){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const j=this._execute(b,F);if(j)return j;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(b,F){let N,j=!1;try{this.work(b)}catch(x){j=!0,N=x||new Error("Scheduled action threw falsy error")}if(j)return this.unsubscribe(),N}unsubscribe(){if(!this.closed){const{id:b,scheduler:F}=this,{actions:j}=F;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.P)(j,this),null!=b&&(this.id=this.recycleAsyncId(F,b,null)),this.delay=null,super.unsubscribe()}}}},5804:(lt,_e,m)=>{"use strict";m.d(_e,{v:()=>A});var i=m(6406);class t{constructor(y,C=t.now){this.schedulerActionCtor=y,this.now=C}schedule(y,C=0,b){return new this.schedulerActionCtor(this,y).schedule(b,C)}}t.now=i.l.now;class A extends t{constructor(y,C=t.now){super(y,C),this.actions=[],this._active=!1}flush(y){const{actions:C}=this;if(this._active)return void C.push(y);let b;this._active=!0;do{if(b=y.execute(y.state,y.delay))break}while(y=C.shift());if(this._active=!1,b){for(;y=C.shift();)y.unsubscribe();throw b}}}},8634:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>a,z:()=>A});var i=m(54);const A=new(m(5804).v)(i.o),a=A},6406:(lt,_e,m)=>{"use strict";m.d(_e,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},3112:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>i});const i={setTimeout(t,A,...a){const{delegate:y}=i;return y?.setTimeout?y.setTimeout(t,A,...a):setTimeout(t,A,...a)},clearTimeout(t){const{delegate:A}=i;return(A?.clearTimeout||clearTimeout)(t)},delegate:void 0}},6818:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>t});const t=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},9837:(lt,_e,m)=>{"use strict";m.d(_e,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},7998:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>t});const t=(0,m(9046).d)(A=>function(){A(this),this.name="EmptyError",this.message="no elements in sequence"})},8197:(lt,_e,m)=>{"use strict";m.d(_e,{_6:()=>C,jO:()=>a,yG:()=>y});var i=m(3649),t=m(6943);function A(b){return b[b.length-1]}function a(b){return(0,i.m)(A(b))?b.pop():void 0}function y(b){return(0,t.K)(A(b))?b.pop():void 0}function C(b,F){return"number"==typeof A(b)?b.pop():F}},6632:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>y});const{isArray:i}=Array,{getPrototypeOf:t,prototype:A,keys:a}=Object;function y(b){if(1===b.length){const F=b[0];if(i(F))return{args:F,keys:null};if(function C(b){return b&&"object"==typeof b&&t(b)===A}(F)){const j=a(F);return{args:j.map(N=>F[N]),keys:j}}}return{args:b,keys:null}}},801:(lt,_e,m)=>{"use strict";function i(t,A){if(t){const a=t.indexOf(A);0<=a&&t.splice(a,1)}}m.d(_e,{P:()=>i})},9046:(lt,_e,m)=>{"use strict";function i(t){const a=t(y=>{Error.call(y),y.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}m.d(_e,{d:()=>i})},2713:(lt,_e,m)=>{"use strict";function i(t,A){return t.reduce((a,y,C)=>(a[y]=A[C],a),{})}m.d(_e,{n:()=>i})},1855:(lt,_e,m)=>{"use strict";m.d(_e,{O:()=>a,x:()=>A});var i=m(9885);let t=null;function A(y){if(i.config.useDeprecatedSynchronousErrorHandling){const C=!t;if(C&&(t={errorThrown:!1,error:null}),y(),C){const{errorThrown:b,error:F}=t;if(t=null,b)throw F}}else y()}function a(y){i.config.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=y)}},3224:(lt,_e,m)=>{"use strict";function i(t,A,a,y=0,C=!1){const b=A.schedule(function(){a(),C?t.add(this.schedule(null,y)):this.unsubscribe()},y);if(t.add(b),!C)return b}m.d(_e,{f:()=>i})},9401:(lt,_e,m)=>{"use strict";function i(t){return t}m.d(_e,{y:()=>i})},3234:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},3525:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>t});var i=m(3649);function t(A){return Symbol.asyncIterator&&(0,i.m)(A?.[Symbol.asyncIterator])}},3649:(lt,_e,m)=>{"use strict";function i(t){return"function"==typeof t}m.d(_e,{m:()=>i})},8040:(lt,_e,m)=>{"use strict";m.d(_e,{c:()=>A});var i=m(9837),t=m(3649);function A(a){return(0,t.m)(a[i.L])}},8926:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>A});var i=m(6818),t=m(3649);function A(a){return(0,t.m)(a?.[i.h])}},3913:(lt,_e,m)=>{"use strict";m.d(_e,{t:()=>t});var i=m(3649);function t(A){return(0,i.m)(A?.then)}},5994:(lt,_e,m)=>{"use strict";m.d(_e,{L:()=>a,Q:()=>A});var i=m(4911),t=m(3649);function A(y){return(0,i.FC)(this,arguments,function*(){const b=y.getReader();try{for(;;){const{value:F,done:j}=yield(0,i.qq)(b.read());if(j)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(F)}}finally{b.releaseLock()}})}function a(y){return(0,t.m)(y?.getReader)}},6943:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>t});var i=m(3649);function t(A){return A&&(0,i.m)(A.schedule)}},6142:(lt,_e,m)=>{"use strict";m.d(_e,{A:()=>t,e:()=>A});var i=m(3649);function t(a){return(0,i.m)(a?.lift)}function A(a){return y=>{if(t(y))return y.lift(function(C){try{return a(C,this)}catch(b){this.error(b)}});throw new TypeError("Unable to lift unknown Observable type")}}},5993:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>a});var i=m(2425);const{isArray:t}=Array;function a(y){return(0,i.U)(C=>function A(y,C){return t(C)?y(...C):y(C)}(y,C))}},6811:(lt,_e,m)=>{"use strict";function i(){}m.d(_e,{Z:()=>i})},2222:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>A,z:()=>t});var i=m(9401);function t(...a){return A(a)}function A(a){return 0===a.length?i.y:1===a.length?a[0]:function(C){return a.reduce((b,F)=>F(b),C)}}},9102:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>A});var i=m(9885),t=m(3112);function A(a){t.z.setTimeout(()=>{const{onUnhandledError:y}=i.config;if(!y)throw a;y(a)})}},369:(lt,_e,m)=>{"use strict";function i(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}m.d(_e,{z:()=>i})},9927:(lt,_e)=>{"use strict";var i=function(){function t(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}return t.hashStr=function(A,a){return void 0===a&&(a=!1),this.onePassHasher.start().appendStr(A).end(a)},t.hashAsciiStr=function(A,a){return void 0===a&&(a=!1),this.onePassHasher.start().appendAsciiStr(A).end(a)},t._hex=function(A){var C,b,F,j,a=t.hexChars,y=t.hexOut;for(j=0;j<4;j+=1)for(b=8*j,C=A[j],F=0;F<8;F+=2)y[b+1+F]=a.charAt(15&C),y[b+0+F]=a.charAt(15&(C>>>=4)),C>>>=4;return y.join("")},t._md5cycle=function(A,a){var y=A[0],C=A[1],b=A[2],F=A[3];C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&b|~C&F)+a[0]-680876936|0)<<7|y>>>25)+C|0)&C|~y&b)+a[1]-389564586|0)<<12|F>>>20)+y|0)&y|~F&C)+a[2]+606105819|0)<<17|b>>>15)+F|0)&F|~b&y)+a[3]-1044525330|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&b|~C&F)+a[4]-176418897|0)<<7|y>>>25)+C|0)&C|~y&b)+a[5]+1200080426|0)<<12|F>>>20)+y|0)&y|~F&C)+a[6]-1473231341|0)<<17|b>>>15)+F|0)&F|~b&y)+a[7]-45705983|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&b|~C&F)+a[8]+1770035416|0)<<7|y>>>25)+C|0)&C|~y&b)+a[9]-1958414417|0)<<12|F>>>20)+y|0)&y|~F&C)+a[10]-42063|0)<<17|b>>>15)+F|0)&F|~b&y)+a[11]-1990404162|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&b|~C&F)+a[12]+1804603682|0)<<7|y>>>25)+C|0)&C|~y&b)+a[13]-40341101|0)<<12|F>>>20)+y|0)&y|~F&C)+a[14]-1502002290|0)<<17|b>>>15)+F|0)&F|~b&y)+a[15]+1236535329|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&F|b&~F)+a[1]-165796510|0)<<5|y>>>27)+C|0)&b|C&~b)+a[6]-1069501632|0)<<9|F>>>23)+y|0)&C|y&~C)+a[11]+643717713|0)<<14|b>>>18)+F|0)&y|F&~y)+a[0]-373897302|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&F|b&~F)+a[5]-701558691|0)<<5|y>>>27)+C|0)&b|C&~b)+a[10]+38016083|0)<<9|F>>>23)+y|0)&C|y&~C)+a[15]-660478335|0)<<14|b>>>18)+F|0)&y|F&~y)+a[4]-405537848|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&F|b&~F)+a[9]+568446438|0)<<5|y>>>27)+C|0)&b|C&~b)+a[14]-1019803690|0)<<9|F>>>23)+y|0)&C|y&~C)+a[3]-187363961|0)<<14|b>>>18)+F|0)&y|F&~y)+a[8]+1163531501|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C&F|b&~F)+a[13]-1444681467|0)<<5|y>>>27)+C|0)&b|C&~b)+a[2]-51403784|0)<<9|F>>>23)+y|0)&C|y&~C)+a[7]+1735328473|0)<<14|b>>>18)+F|0)&y|F&~y)+a[12]-1926607734|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C^b^F)+a[5]-378558|0)<<4|y>>>28)+C|0)^C^b)+a[8]-2022574463|0)<<11|F>>>21)+y|0)^y^C)+a[11]+1839030562|0)<<16|b>>>16)+F|0)^F^y)+a[14]-35309556|0)<<23|C>>>9)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C^b^F)+a[1]-1530992060|0)<<4|y>>>28)+C|0)^C^b)+a[4]+1272893353|0)<<11|F>>>21)+y|0)^y^C)+a[7]-155497632|0)<<16|b>>>16)+F|0)^F^y)+a[10]-1094730640|0)<<23|C>>>9)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C^b^F)+a[13]+681279174|0)<<4|y>>>28)+C|0)^C^b)+a[0]-358537222|0)<<11|F>>>21)+y|0)^y^C)+a[3]-722521979|0)<<16|b>>>16)+F|0)^F^y)+a[6]+76029189|0)<<23|C>>>9)+b|0,C=((C+=((b=((b+=((F=((F+=((y=((y+=(C^b^F)+a[9]-640364487|0)<<4|y>>>28)+C|0)^C^b)+a[12]-421815835|0)<<11|F>>>21)+y|0)^y^C)+a[15]+530742520|0)<<16|b>>>16)+F|0)^F^y)+a[2]-995338651|0)<<23|C>>>9)+b|0,C=((C+=((F=((F+=(C^((y=((y+=(b^(C|~F))+a[0]-198630844|0)<<6|y>>>26)+C|0)|~b))+a[7]+1126891415|0)<<10|F>>>22)+y|0)^((b=((b+=(y^(F|~C))+a[14]-1416354905|0)<<15|b>>>17)+F|0)|~y))+a[5]-57434055|0)<<21|C>>>11)+b|0,C=((C+=((F=((F+=(C^((y=((y+=(b^(C|~F))+a[12]+1700485571|0)<<6|y>>>26)+C|0)|~b))+a[3]-1894986606|0)<<10|F>>>22)+y|0)^((b=((b+=(y^(F|~C))+a[10]-1051523|0)<<15|b>>>17)+F|0)|~y))+a[1]-2054922799|0)<<21|C>>>11)+b|0,C=((C+=((F=((F+=(C^((y=((y+=(b^(C|~F))+a[8]+1873313359|0)<<6|y>>>26)+C|0)|~b))+a[15]-30611744|0)<<10|F>>>22)+y|0)^((b=((b+=(y^(F|~C))+a[6]-1560198380|0)<<15|b>>>17)+F|0)|~y))+a[13]+1309151649|0)<<21|C>>>11)+b|0,C=((C+=((F=((F+=(C^((y=((y+=(b^(C|~F))+a[4]-145523070|0)<<6|y>>>26)+C|0)|~b))+a[11]-1120210379|0)<<10|F>>>22)+y|0)^((b=((b+=(y^(F|~C))+a[2]+718787259|0)<<15|b>>>17)+F|0)|~y))+a[9]-343485551|0)<<21|C>>>11)+b|0,A[0]=y+A[0]|0,A[1]=C+A[1]|0,A[2]=b+A[2]|0,A[3]=F+A[3]|0},t.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(t.stateIdentity),this},t.prototype.appendStr=function(A){var b,F,a=this._buffer8,y=this._buffer32,C=this._bufferLength;for(F=0;F>>6),a[C++]=63&b|128;else if(b<55296||b>56319)a[C++]=224+(b>>>12),a[C++]=b>>>6&63|128,a[C++]=63&b|128;else{if((b=1024*(b-55296)+(A.charCodeAt(++F)-56320)+65536)>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");a[C++]=240+(b>>>18),a[C++]=b>>>12&63|128,a[C++]=b>>>6&63|128,a[C++]=63&b|128}C>=64&&(this._dataLength+=64,t._md5cycle(this._state,y),C-=64,y[0]=y[16])}return this._bufferLength=C,this},t.prototype.appendAsciiStr=function(A){for(var b,a=this._buffer8,y=this._buffer32,C=this._bufferLength,F=0;;){for(b=Math.min(A.length-F,64-C);b--;)a[C++]=A.charCodeAt(F++);if(C<64)break;this._dataLength+=64,t._md5cycle(this._state,y),C=0}return this._bufferLength=C,this},t.prototype.appendByteArray=function(A){for(var b,a=this._buffer8,y=this._buffer32,C=this._bufferLength,F=0;;){for(b=Math.min(A.length-F,64-C);b--;)a[C++]=A[F++];if(C<64)break;this._dataLength+=64,t._md5cycle(this._state,y),C=0}return this._bufferLength=C,this},t.prototype.getState=function(){var A=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[A[0],A[1],A[2],A[3]]}},t.prototype.setState=function(A){var b,a=A.buffer,y=A.state,C=this._state;for(this._dataLength=A.length,this._bufferLength=A.buflen,C[0]=y[0],C[1]=y[1],C[2]=y[2],C[3]=y[3],b=0;b>2);this._dataLength+=a;var F=8*this._dataLength;if(y[a]=128,y[a+1]=y[a+2]=y[a+3]=0,C.set(t.buffer32Identity.subarray(b),b),a>55&&(t._md5cycle(this._state,C),C.set(t.buffer32Identity)),F<=4294967295)C[14]=F;else{var j=F.toString(16).match(/(.*?)(.{0,8})$/);if(null===j)return;var N=parseInt(j[2],16),x=parseInt(j[1],16)||0;C[14]=N,C[15]=x}return t._md5cycle(this._state,C),A?this._state:t._hex(this._state)},t.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),t.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.hexChars="0123456789abcdef",t.hexOut=[],t.onePassHasher=new t,t}();if(_e.V=i,"5d41402abc4b2a76b9719d911017c592"!==i.hashStr("hello"))throw new Error("Md5 self test failed.")},6401:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>Ot});var i=m(8239),t=m(755),A=m(5579),a=m(9084),y=m(2333),C=m(5545),b=m(1547),F=m(5908),j=m(2307),N=m(9193),x=m(9702),H=m(1508),k=m(2067),P=m(609);const X=["dialogs"];function me(ve,De){}function Oe(ve,De){1&ve&&(t.TgZ(0,"button",25),t._UZ(1,"span",26),t.qZA()),2&ve&&t.uIk("data-bs-toggle","collapse")("data-bs-target","#navbarSupportedContent")}function Se(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"div",31)(1,"button",32),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(3);return t.KtG(Kn.onRestoreClick(cn))}),t.TgZ(2,"span",33),t._UZ(3,"i"),t._uU(4),t.qZA()()()}if(2&ve){const xe=De.$implicit;t.xp6(3),t.Tol(xe.icon||"bi bi-window-stack"),t.xp6(1),t.hij(" ",xe.title||"Minimizado"," ")}}function wt(ve,De){if(1&ve&&(t.TgZ(0,"div",27),t._UZ(1,"div",28),t.TgZ(2,"div",29),t.YNc(3,Se,5,3,"div",30),t.qZA()()),2&ve){const xe=t.oxw(2);t.xp6(3),t.Q6J("ngForOf",xe.dialog.minimized)}}function K(ve,De){1&ve&&t._UZ(0,"div",28)}function V(ve,De){if(1&ve&&t._UZ(0,"i",44),2&ve){const xe=t.oxw().$implicit;t.Tol(xe.icon),t.s9C("title",xe.hint||xe.label||""),t.uIk("data-bs-toggle","tooltip")}}function J(ve,De){if(1&ve&&(t.TgZ(0,"button",45)(1,"span",46),t._uU(2,"Toggle Dropdown"),t.qZA()()),2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(4);t.Tol("btn dropdown-toggle dropdown-toggle-split "+(xe.color||"btn-outline-primary")),t.ekj("disabled",Ye.isButtonRunning(xe)),t.uIk("id",Ye.buttonId(xe))("data-bs-toggle","dropdown")}}function ae(ve,De){if(1&ve&&t._UZ(0,"i"),2&ve){const xe=t.oxw().$implicit;t.Tol(xe.icon)}}function oe(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li")(1,"a",49),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(6);return t.KtG(Kn.onToolbarButtonClick(cn))}),t.YNc(2,ae,1,2,"i",50),t._uU(3),t.qZA()()}if(2&ve){const xe=De.$implicit;t.xp6(2),t.Q6J("ngIf",null==xe.icon?null:xe.icon.length),t.xp6(1),t.hij(" ",xe.label||""," ")}}function ye(ve,De){if(1&ve&&(t.TgZ(0,"ul",47),t.YNc(1,oe,4,2,"li",48),t.qZA()),2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(4);t.ekj("dropdown-menu-end",xe.onClick),t.uIk("aria-labelledby",Ye.buttonId(xe)),t.xp6(1),t.Q6J("ngForOf",xe.items)}}function Ee(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"div",31)(1,"button",40),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(4);return t.KtG(Kn.onToolbarButtonClick(cn))}),t.YNc(2,V,1,4,"i",41),t._uU(3),t.qZA(),t.YNc(4,J,3,6,"button",42),t.YNc(5,ye,2,4,"ul",43),t.qZA()}if(2&ve){const xe=De.$implicit,Ye=t.oxw(4);t.xp6(1),t.Tol("btn "+(xe.color||"btn-outline-primary")),t.ekj("disabled",Ye.isButtonRunning(xe))("dropdown-toggle",xe.items&&!xe.onClick),t.uIk("id",(xe.onClick?"_":"")+Ye.buttonId(xe))("data-bs-toggle",xe.items&&!xe.onClick?"dropdown":void 0),t.xp6(1),t.Q6J("ngIf",null==xe.icon?null:xe.icon.length),t.xp6(1),t.hij(" ",xe.label||""," "),t.xp6(1),t.Q6J("ngIf",(null==xe.items?null:xe.items.length)&&xe.onClick),t.xp6(1),t.Q6J("ngIf",xe.items)}}function Ge(ve,De){if(1&ve&&(t.TgZ(0,"div",39),t.YNc(1,Ee,6,12,"div",30),t.qZA()),2&ve){const xe=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",xe.gb.toolbarButtons)}}function gt(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"a",63),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2).$implicit,cn=t.oxw(7);return t.KtG(cn.openModule(xt))}),t._UZ(1,"i"),t._uU(2),t.qZA()}if(2&ve){const xe=t.oxw(2).$implicit,Ye=t.oxw(7);t.Tol(Ye.menuItemClass("dropdown-item",xe)),t.xp6(1),t.Tol(xe.icon),t.xp6(1),t.hij(" ",xe.name," ")}}function Ze(ve,De){1&ve&&t._UZ(0,"hr",64)}function Je(ve,De){if(1&ve&&(t.TgZ(0,"li"),t.YNc(1,gt,3,5,"a",61),t.YNc(2,Ze,1,0,"ng-template",null,62,t.W1O),t.qZA()),2&ve){const xe=t.MAs(3),Ye=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf","-"!=Ye)("ngIfElse",xe)}}function tt(ve,De){if(1&ve&&(t.ynx(0),t.YNc(1,Je,4,2,"li",24),t.BQk()),2&ve){const xe=De.$implicit,Ye=t.oxw(7);t.xp6(1),t.Q6J("ngIf",xe&&(!(null!=xe.permition&&xe.permition.length)||Ye.auth.hasPermissionTo(xe.permition)))}}function Qe(ve,De){if(1&ve&&(t.TgZ(0,"ul",58)(1,"div",59)(2,"div",60),t.YNc(3,tt,2,1,"ng-container",48),t.qZA()()()),2&ve){const xe=t.oxw(2).$implicit;t.uIk("aria-labelledby",xe.id),t.xp6(3),t.Q6J("ngForOf",xe.menu)}}function pt(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",55)(1,"a",56),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw().$implicit,cn=t.oxw(4);return t.KtG(cn.openModule(xt))}),t._uU(2),t.qZA(),t.YNc(3,Qe,4,2,"ul",57),t.qZA()}if(2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(4);t.Q6J("ngClass",null!=xe.menu&&xe.menu.length?"dropdown":""),t.xp6(1),t.Tol(Ye.menuItemClass("nav-link"+(xe.route?"":" dropdown-toggle"),xe)),t.uIk("id",xe.id)("data-bs-target",null!=xe.menu&&xe.menu.length?"":".navbar-collapse.show")("data-bs-toggle",null!=xe.menu&&xe.menu.length?"dropdown":"collapse"),t.xp6(1),t.hij(" ",xe.name," "),t.xp6(1),t.Q6J("ngIf",!xe.route)}}function Nt(ve,De){if(1&ve&&(t.ynx(0),t.YNc(1,pt,4,8,"li",54),t.BQk()),2&ve){const xe=De.$implicit,Ye=t.oxw(4);t.xp6(1),t.Q6J("ngIf",xe&&(!(null!=xe.permition&&xe.permition.length)||Ye.auth.hasPermissionTo(xe.permition)))}}const Jt=function(){return["home"]},nt=function(ve){return{route:ve}};function ot(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"ul",51)(1,"li",52)(2,"a",53),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.gb.goHome())}),t._uU(3,"Home"),t.qZA()(),t.YNc(4,Nt,2,1,"ng-container",48),t.qZA()}if(2&ve){const xe=t.oxw(3);t.xp6(2),t.Tol(xe.menuItemClass("nav-link",t.VKq(4,nt,t.DdM(3,Jt)))),t.xp6(2),t.Q6J("ngForOf",xe.modulo)}}function Ct(ve,De){1&ve&&(t.TgZ(0,"div",65),t._UZ(1,"span",46),t.qZA())}function He(ve,De){if(1&ve&&(t.TgZ(0,"div",34),t.YNc(1,K,1,0,"div",35),t.YNc(2,Ge,2,1,"div",36),t.YNc(3,ot,5,6,"ul",37),t.YNc(4,Ct,2,0,"div",38),t.qZA()),2&ve){const xe=t.oxw(2);t.xp6(1),t.Q6J("ngIf",xe.gb.isToolbar||!xe.auth.logged),t.xp6(1),t.Q6J("ngIf",null==xe.gb.toolbarButtons?null:xe.gb.toolbarButtons.length),t.xp6(1),t.Q6J("ngIf",!xe.gb.isToolbar&&xe.auth.logged),t.xp6(1),t.Q6J("ngIf",xe.auth.logging)}}function mt(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",76),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw().$implicit,cn=t.oxw(3);return t.KtG(cn.gb.setContexto(xt.key))}),t.TgZ(1,"a",77),t._UZ(2,"i"),t._uU(3),t.qZA()()}if(2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(3);t.xp6(1),t.ekj("active",(null==Ye.gb.contexto?null:Ye.gb.contexto.name)==xe.name),t.xp6(1),t.Tol(xe.icon),t.xp6(1),t.hij(" ",xe.name," ")}}function vt(ve,De){if(1&ve&&(t.ynx(0),t.YNc(1,mt,4,5,"li",75),t.BQk()),2&ve){const xe=De.$implicit,Ye=t.oxw(3);t.xp6(1),t.Q6J("ngIf",(null==Ye.gb.contexto?null:Ye.gb.contexto.key)!=xe.key&&Ye.auth.hasPermissionTo(xe.permition))}}function hn(ve,De){if(1&ve&&(t.TgZ(0,"li",66)(1,"a",67)(2,"span",68),t._uU(3),t._UZ(4,"i",69),t.qZA(),t.TgZ(5,"span",70),t._UZ(6,"i"),t.qZA()(),t.TgZ(7,"div",71)(8,"div",59)(9,"div",60)(10,"small",72),t._uU(11,"Escolha o m\xf3dulo que deseja usar"),t.qZA(),t._UZ(12,"div",73),t.TgZ(13,"ul",74),t.YNc(14,vt,2,1,"ng-container",48),t.qZA()()()()()),2&ve){const xe=t.oxw(2);t.xp6(1),t.uIk("data-bs-toggle","dropdown"),t.xp6(2),t.hij(" ",(null==xe.gb.contexto?null:xe.gb.contexto.name)||"Selecione..."," "),t.xp6(3),t.Tol(null==xe.gb.contexto?null:xe.gb.contexto.icon),t.xp6(8),t.Q6J("ngForOf",xe.menuContexto)}}function yt(ve,De){if(1&ve&&(t.TgZ(0,"span",78),t._uU(1),t.TgZ(2,"span",46),t._uU(3,"Mensagens n\xe3o lidas"),t.qZA()()),2&ve){const xe=t.oxw(2);t.xp6(1),t.hij(" ",xe.notificacao.naoLidas>9?"9+":xe.notificacao.naoLidas," ")}}function Fn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",52)(1,"a",105),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(4);return t.KtG(Kn.selecionaUnidade(cn.id))}),t._uU(2),t.qZA()()}if(2&ve){const xe=De.$implicit,Ye=t.oxw(4);t.xp6(1),t.ekj("active",xe.id==(null==Ye.auth.unidade?null:Ye.auth.unidade.id)),t.xp6(1),t.Oqu(xe.sigla)}}function xn(ve,De){if(1&ve&&(t.TgZ(0,"ul",74),t.YNc(1,Fn,3,3,"li",104),t.qZA()),2&ve){const xe=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",xe.unidades)}}function In(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",52)(1,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.go.navigate({route:["configuracoes","unidade",xt.auth.unidade.id,"edit"]},{root:!0,modal:!0}))}),t._UZ(2,"i",106),t._uU(3," Unidade "),t.qZA()()}}function dn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",52)(1,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.go.navigate({route:["configuracoes","unidade","",xt.auth.unidade.id,"integrante"]},{metadata:{unidade:xt.auth.unidade}}))}),t._UZ(2,"i",107),t._uU(3," Integrantes "),t.qZA()()}}function qn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"button",108),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.toolbarLogin())}),t._uU(1," Login\n"),t.qZA()}}function di(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"button",32),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.onCollapseContainerClick())}),t._UZ(1,"i",44),t.qZA()}if(2&ve){const xe=t.oxw(3);t.xp6(1),t.Tol("bi "+(xe.collapseContainer?"bi bi-plus":"bi bi-dash")),t.Q6J("title",xe.collapseContainer?"Expandir Petrvs":"Contrair Petrvs"),t.uIk("data-bs-toggle","tooltip")}}function ir(ve,De){if(1&ve){const xe=t.EpF();t.ynx(0),t.TgZ(1,"li",79)(2,"a",80),t._uU(3),t._UZ(4,"i",69),t.qZA(),t.TgZ(5,"div",81)(6,"div",59)(7,"div",82),t.YNc(8,xn,2,1,"ul",83),t.qZA()()()(),t.TgZ(9,"li",66)(10,"a",84)(11,"div",85),t._UZ(12,"profile-picture",86),t.qZA()(),t.TgZ(13,"div",87)(14,"div",59)(15,"div",88)(16,"div",89)(17,"div",90),t._UZ(18,"profile-picture",86),t.qZA(),t.TgZ(19,"h6",91),t._uU(20),t.qZA()()(),t.TgZ(21,"ul",92)(22,"li",52)(23,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2);return t.KtG(xt.go.navigate({route:["configuracoes","usuario",xt.auth.usuario.id,"edit"]},{root:!0,modal:!0}))}),t._UZ(24,"i",94),t._uU(25," Perfil "),t.qZA()(),t.TgZ(26,"li",52)(27,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2);return t.KtG(xt.go.navigate({route:["configuracoes","preferencia","usuario",xt.auth.usuario.id]},{root:!0,modal:!0}))}),t._UZ(28,"i",95),t._uU(29," Prefer\xeancias "),t.qZA()(),t.YNc(30,In,4,0,"li",96),t.YNc(31,dn,4,0,"li",96),t.qZA(),t.TgZ(32,"div",97)(33,"div",98)(34,"li",99)(35,"a",100),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2);return t.KtG(xt.logout())}),t._UZ(36,"i",101),t._uU(37," Sair "),t.qZA()()()()()()(),t.YNc(38,qn,2,0,"button",102),t.YNc(39,di,2,4,"button",103),t.BQk()}if(2&ve){const xe=t.oxw(2);t.xp6(2),t.uIk("data-bs-toggle","dropdown"),t.xp6(1),t.hij(" ",null==xe.auth.unidade?null:xe.auth.unidade.sigla," "),t.xp6(5),t.Q6J("ngIf",null==xe.unidades?null:xe.unidades.length),t.xp6(2),t.uIk("data-bs-toggle","dropdown"),t.xp6(2),t.Q6J("url",xe.usuarioFoto)("hint",(null==xe.auth.usuario?null:xe.auth.usuario.nome)||"Usu\xe1rio desconhecido"),t.xp6(6),t.Q6J("url",xe.usuarioFoto)("hint",(null==xe.auth.usuario?null:xe.auth.usuario.nome)||"Usu\xe1rio desconhecido"),t.xp6(2),t.Oqu(xe.usuarioNome),t.xp6(10),t.Q6J("ngIf",xe.unidadeService.isGestorUnidade(xe.auth.unidade,!0)),t.xp6(1),t.Q6J("ngIf",xe.unidadeService.isGestorUnidade(xe.auth.unidade,!0)),t.xp6(7),t.Q6J("ngIf",xe.gb.isToolbar&&!xe.auth.logged&&xe.gb.requireLogged),t.xp6(1),t.Q6J("ngIf",xe.gb.isEmbedded&&xe.auth.logged&&!xe.gb.isToolbar)}}function Bn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"nav",7)(1,"div",8),t.YNc(2,Oe,2,2,"button",9),t.TgZ(3,"a",10)(4,"div",11),t._UZ(5,"img",12),t.TgZ(6,"span",13),t._uU(7,"PETRVS"),t.qZA()()()(),t.YNc(8,wt,4,1,"div",14),t.YNc(9,He,5,4,"div",15),t.TgZ(10,"ul",16),t.YNc(11,hn,15,5,"li",17),t.TgZ(12,"li",18)(13,"a",19),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw();return t.KtG(xt.openModule({route:["suporte"]}))}),t._UZ(14,"i",20),t.qZA()(),t.TgZ(15,"li",18)(16,"a",21),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw();return t.KtG(xt.go.navigate({route:["uteis","notificacoes"]}))}),t._UZ(17,"i",22),t.YNc(18,yt,4,1,"span",23),t.qZA()(),t.YNc(19,ir,40,13,"ng-container",24),t.qZA()()}if(2&ve){const xe=t.oxw();t.ekj("fixed-top",!xe.gb.isEmbedded),t.xp6(2),t.Q6J("ngIf",!xe.gb.isToolbar),t.xp6(3),t.Q6J("src",xe.gb.getResourcePath("assets/images/icon_"+xe.gb.theme+".png"),t.LSH),t.xp6(3),t.Q6J("ngIf",xe.isMinimized),t.xp6(1),t.Q6J("ngIf",!xe.isMinimized),t.xp6(2),t.Q6J("ngIf",xe.utils.isDeveloper()),t.xp6(2),t.uIk("data-bs-toggle","tooltip"),t.xp6(5),t.Q6J("ngIf",xe.notificacao.naoLidas),t.xp6(1),t.Q6J("ngIf",!xe.auth.logging&&xe.auth.logged)}}function xi(ve,De){if(1&ve&&(t.TgZ(0,"div",109)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&ve){const xe=t.oxw();t.xp6(4),t.Oqu((xe.error||"").split("&")[0]),t.xp6(2),t.hij("",(xe.error||"").split("&")[1],"\n")}}function fi(ve,De){if(1&ve&&t._UZ(0,"top-alert",110),2&ve){const xe=De.$implicit;t.Q6J("id",xe.id)("close",xe.close)("message",xe.message)("closable",xe.closable)}}function Mt(ve,De){if(1&ve&&(t.TgZ(0,"footer",111)(1,"div",112)(2,"div")(3,"div",113)(4,"p",114)(5,"small",115),t._uU(6),t.qZA()()()(),t.TgZ(7,"div",116),t._UZ(8,"img",117)(9,"img",117),t.qZA()()()),2&ve){const xe=t.oxw();t.xp6(6),t.hij("Vers\xe3o: ",xe.gb.VERSAO_SYS," "),t.xp6(2),t.Q6J("src",xe.gb.getResourcePath("assets/images/logo_pgd_"+("light"!=xe.gb.theme?"light":"normal")+".png"),t.LSH),t.xp6(1),t.Q6J("src",xe.gb.getResourcePath("assets/images/logo_gov_"+("light"!=xe.gb.theme?"light":"normal")+".png"),t.LSH)}}let Ot=(()=>{class ve{constructor(xe){this.injector=xe,this.title="petrvs",this.error="",this.unidadeHora="",this.menuSchema={},this.menuToolbar=[],this.menuContexto=[],ve.instance=this,this.gb=xe.get(b.d),this.cdRef=xe.get(t.sBO),this.auth=xe.get(y.e),this.dialog=xe.get(C.x),this.lex=xe.get(F.E),this.router=xe.get(A.F0),this.route=xe.get(A.gz),this.go=xe.get(j.o),this.allPages=xe.get(a.T),this.utils=xe.get(N.f),this.lookup=xe.get(x.W),this.entity=xe.get(H.c),this.notificacao=xe.get(k.r),this.unidadeService=xe.get(P.Z),this.notificacao.heartbeat(),this.auth.app=this,this.lex.app=this,this.gb.app=this,this.gb.isEmbedded&&this.gb.initialRoute?.length&&this.go.navigate({route:this.gb.initialRoute}),this.lex.cdRef=this.cdRef,this.setMenuVars()}setMenuVars(){this.menuSchema={CIDADES:{name:this.lex.translate("Cidades"),permition:"MOD_CID",route:["cadastros","cidade"],icon:this.entity.getIcon("Cidade")},EIXOS_TEMATICOS:{name:this.lex.translate("Eixos Tem\xe1ticos"),permition:"MOD_EXTM",route:["cadastros","eixo-tematico"],icon:this.entity.getIcon("EixoTematico")},ENTREGAS:{name:this.lex.translate("Modelos de Entregas"),permition:"MOD_ENTRG",route:["cadastros","entrega"],icon:this.entity.getIcon("Entrega")},FERIADOS:{name:this.lex.translate("Feriados"),permition:"MOD_FER",route:["cadastros","feriado"],icon:this.entity.getIcon("Feriado")},MATERIAIS_SERVICOS:{name:this.lex.translate("Materiais e Servi\xe7os"),permition:"",route:["cadastros","material-servico"],icon:this.entity.getIcon("MaterialServico")},TEMPLATES:{name:this.lex.translate("Templates"),permition:"MOD_TEMP",route:["cadastros","templates"],icon:this.entity.getIcon("Template"),params:{modo:"listagem"}},TIPOS_TAREFAS:{name:this.lex.translate("Tipos de Tarefas"),permition:"MOD_TIPO_TRF",route:["cadastros","tipo-tarefa"],icon:this.entity.getIcon("TipoTarefa")},TIPOS_ATIVIDADES:{name:this.lex.translate("Tipos de Atividades"),permition:"MOD_TIPO_ATV",route:["cadastros","tipo-atividade"],icon:this.entity.getIcon("TipoAtividade")},TIPOS_AVALIACOES:{name:this.lex.translate("Tipos de Avalia\xe7\xe3o"),permition:"MOD_TIPO_AVAL",route:["cadastros","tipo-avaliacao"],icon:this.entity.getIcon("TipoAvaliacao")},TIPOS_DOCUMENTOS:{name:this.lex.translate("Tipos de Documento"),permition:"MOD_TIPO_DOC",route:["cadastros","tipo-documento"],icon:this.entity.getIcon("TipoDocumento")},TIPOS_JUSTIFICATIVAS:{name:this.lex.translate("Tipos de Justificativa"),permition:"MOD_TIPO_JUST",route:["cadastros","tipo-justificativa"],icon:this.entity.getIcon("TipoJustificativa")},TIPOS_MODALIDADES:{name:this.lex.translate("Tipos de Modalidade"),permition:"MOD_TIPO_MDL",route:["cadastros","tipo-modalidade"],icon:this.entity.getIcon("TipoModalidade")},TIPOS_MOTIVOS_AFASTAMENTOS:{name:this.lex.translate("Tipos de Motivo de Afastamento"),permition:"MOD_TIPO_MTV_AFT",route:["cadastros","tipo-motivo-afastamento"],icon:this.entity.getIcon("TipoMotivoAfastamento")},TIPOS_PROCESSOS:{name:this.lex.translate("Tipos de Processo"),permition:"MOD_TIPO_PROC",route:["cadastros","tipo-processo"],icon:this.entity.getIcon("TipoProcesso")},AFASTAMENTOS:{name:this.lex.translate("Afastamentos"),permition:"MOD_AFT",route:["gestao","afastamento"],icon:this.entity.getIcon("Afastamento")},OCORRENCIAS:{name:this.lex.translate("Ocorrencias"),permition:"MOD_OCOR",route:["gestao","ocorrencia"],icon:this.entity.getIcon("Ocorrencia")},CADEIAS_VALORES:{name:this.lex.translate("Cadeias de Valores"),permition:"MOD_CADV",route:["gestao","cadeia-valor"],icon:this.entity.getIcon("CadeiaValor")},ATIVIDADES:{name:this.lex.translate("Atividades"),permition:"MOD_ATV",route:["gestao","atividade"],icon:this.entity.getIcon("Atividade")},PLANEJAMENTOS_INSTITUCIONAIS:{name:this.lex.translate("Planejamentos Institucionais"),permition:"MOD_PLAN_INST",route:["gestao","planejamento"],icon:this.entity.getIcon("Planejamento")},PLANOS_ENTREGAS:{name:this.lex.translate("Planos de Entregas"),permition:"MOD_PENT",route:["gestao","plano-entrega"],icon:this.entity.getIcon("PlanoEntrega")},PLANOS_TRABALHOS:{name:this.lex.translate("Planos de Trabalho"),permition:"MOD_PTR",route:["gestao","plano-trabalho"],icon:this.entity.getIcon("PlanoTrabalho")},CONSOLIDACOES:{name:this.lex.translate("Consolida\xe7\xf5es"),permition:"MOD_PTR_CSLD",route:["gestao","plano-trabalho","consolidacao"],icon:this.entity.getIcon("PlanoTrabalhoConsolidacao")},PROGRAMAS_GESTAO:{name:this.lex.translate("Programas de Gest\xe3o"),permition:"MOD_PRGT",route:["gestao","programa"],icon:this.entity.getIcon("Programa")},HABILITACOES_PROGRAMA:{name:this.lex.translate("Habilita\xe7\xf5es"),permition:"MOD_PART",route:["gestao","programa","participantes"],icon:this.entity.getIcon("Programa")},PORTIFOLIOS:{name:this.lex.translate("Portif\xf3lios"),permition:"MOD_PROJ",route:["gestao","projeto"],icon:this.entity.getIcon("Projeto")},PROJETOS:{name:this.lex.translate("Projetos"),permition:"MOD_PROJ",route:["gestao","projeto"],icon:this.entity.getIcon("Projeto")},EXECUCAO_PLANOS_ENTREGAS:{name:this.lex.translate("Planos de Entregas"),permition:"MOD_PENT",route:["execucao","plano-entrega"],icon:this.entity.getIcon("PlanoEntrega"),params:{execucao:!0}},FORCAS_TRABALHOS_SERVIDORES:{name:"For\xe7a de Trabalho - Servidor",permition:"MOD_PTR_CONS",route:["relatorios","forca-de-trabalho","servidor"],icon:this.entity.getIcon("RelatorioServidor")},FORCAS_TRABALHOS_AREAS:{name:"For\xe7a de Trabalho - \xc1rea",permition:"MOD_PTR_CONS",route:["relatorios","forca-de-trabalho","area"],icon:this.entity.getIcon("RelatorioArea")},AVALIACAO_CONSOLIDACAO_PLANO_TRABALHO:{name:this.lex.translate("Consolida\xe7\xf5es"),permition:"MOD_PTR_CSLD_AVAL",route:["avaliacao","plano-trabalho","consolidacao","avaliacao"],icon:this.entity.getIcon("PlanoTrabalho")},AVALIACAO_PLANOS_ENTREGAS:{name:this.lex.translate("Planos de Entregas"),permition:"MOD_PENT_AVAL",route:["avaliacao","plano-entrega"],icon:this.entity.getIcon("PlanoEntrega"),params:{avaliacao:!0}},PREFERENCIAS:{name:"Prefer\xeancias",permition:"",route:["configuracoes","preferencia"],metadata:{root:!0,modal:!0},icon:this.entity.getIcon("Preferencia")},ENTIDADES:{name:this.lex.translate("Entidades"),permition:"MOD_CFG_ENTD",route:["configuracoes","entidade"],icon:this.entity.getIcon("Entidade")},UNIDADES:{name:this.lex.translate("Unidades"),permition:"MOD_CFG_UND",route:["configuracoes","unidade"],icon:this.entity.getIcon("Unidade")},USUARIOS:{name:this.lex.translate("Usu\xe1rios"),permition:"MOD_CFG_USER",route:["configuracoes","usuario"],icon:this.entity.getIcon("Usuario")},PERFIS:{name:this.lex.translate("Perfis"),permition:"MOD_CFG_PERFS",route:["configuracoes","perfil"],icon:this.entity.getIcon("Perfil")},SOBRE:{name:this.lex.translate("Sobre"),permition:"",route:["configuracoes","sobre"],icon:""},ROTINAS_INTEGRACAO:{name:"Rotina de Integra\xe7\xe3o",permition:"",route:["rotinas","integracao"],icon:this.entity.getIcon("Integracao")},LOGS_ALTERACOES:{name:"Log das Altera\xe7\xf5es",permition:"",route:["logs","change"],icon:this.entity.getIcon("Change")},LOGS_ERROS:{name:"Log dos Erros",permition:"",route:["logs","error"],icon:this.entity.getIcon("Error")},LOGS_TRAFEGOS:{name:"Log do Tr\xe1fego",permition:"",route:["logs","traffic"],icon:this.entity.getIcon("Traffic")},LOGS_TESTES_EXPEDIENTES:{name:"Teste Expediente",permition:"",route:["teste"],icon:this.entity.getIcon("Teste")},TESTE_CALCULA_DATATEMPO:{name:"Teste calculaDataTempo",permition:"",route:["teste","calcula-tempo"],icon:this.entity.getIcon("Teste")},CURRICULUM_CADASTRO_PESSOAL:{name:this.lex.translate("Dados Pessoais"),permition:"MOD_RX_CURR",route:["raiox","pessoal"],icon:"bi bi-file-person"},CURRICULUM_CADASTRO_PROFISSIONAL:{name:this.lex.translate("Dados Profissionais"),permition:"MOD_RX_CURR",route:["raiox","profissional"],icon:"fa fa-briefcase"},CURRICULUM_CADASTRO_ATRIBUTOS:{name:this.lex.translate("Atributos Comportamentais"),permition:"MOD_RX_CURR",route:["raiox","atributos"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_SOFTSKILLS:{name:this.lex.translate("Soft Skills"),permition:"MOD_RX_CURR",route:["raiox","teste"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_B5:{name:this.lex.translate("Big Five - B5"),permition:"MOD_RX_CURR",route:["raiox","big5"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_DASS:{name:this.lex.translate("DASS"),permition:"MOD_RX_CURR",route:["raiox","big5"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_SRQ20:{name:this.lex.translate("SRQ-20"),permition:"MOD_RX_CURR",route:["raiox","big5"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_QVT:{name:this.lex.translate("QVT"),permition:"MOD_RX_CURR",route:["raiox","qvt"],icon:""},CURRICULUM_OPORTUNIDADES:{name:this.lex.translate("Oportunidades"),permition:"MOD_RX_OPO",route:["raiox"],icon:"bi bi-lightbulb-fill"},CURRICULUM_CADASTRO_AREAS_ATIVIDADES_EXTERNAS:{name:this.lex.translate("\xc1reas de Atividade Externa"),permition:"MOD_RX_OUT",route:["raiox","cadastros","area-atividade-externa"],icon:"bi bi-arrows-fullscreen"},CURRICULUM_CADASTRO_AREAS_CONHECIMENTO:{name:this.lex.translate("\xc1reas de Conhecimento"),permition:"MOD_RX_OUT",route:["raiox","cadastros","area-conhecimento"],icon:"bi bi-mortarboard"},CURRICULUM_CADASTRO_AREAS_TEMATICAS:{name:this.lex.translate("\xc1reas Tem\xe1ticas"),permition:"MOD_RX_OUT",route:["raiox","cadastros","area-tematica"],icon:"bi bi-box-arrow-in-down"},CURRICULUM_CADASTRO_CAPACIDADES_TECNICAS:{name:this.lex.translate("Capacidades T\xe9cnicas"),permition:"MOD_RX_OUT",route:["raiox","cadastros","capacidade-tecnica"],icon:"bi bi-arrows-angle-contract"},CURRICULUM_CADASTRO_CARGOS:{name:this.lex.translate("Cargos"),permition:"MOD_RX_OUT",route:["raiox","cadastros","cargo"],icon:"bi bi-person-badge"},CURRICULUM_CADASTRO_CENTROS_TREINAMENTO:{name:this.lex.translate("Centros de Treinamento"),permition:"MOD_RX_OUT",route:["raiox","cadastros","centro-treinamento"],icon:"bi bi-building-fill"},CURRICULUM_CADASTRO_CURSOS:{name:this.lex.translate("Cursos"),permition:"MOD_RX_OUT",route:["raiox","cadastros","curso"],icon:"bi bi-mortarboard-fill"},CURRICULUM_CADASTRO_FUNCAO:{name:this.lex.translate("Fun\xe7\xf5es"),permition:"MOD_RX_OUT",route:["raiox","cadastros","funcao"],icon:"bi bi-check-circle-fill"},CURRICULUM_CADASTRO_GRUPOS_ESPECIALIZADOS:{name:this.lex.translate("Grupos Especializados"),permition:"MOD_RX_OUT",route:["raiox","cadastros","grupo-especializado"],icon:"bi bi-check-circle"},CURRICULUM_CADASTRO_DISCIPLINAS:{name:this.lex.translate("Disciplina"),permition:"MOD_RX_OUT",route:["raiox","cadastros","disciplina"],icon:"bi bi-list-check"},CURRICULUM_CADASTRO_QUESTIONARIOS_PERGUNTAS:{name:this.lex.translate("Question\xe1rios"),permition:"MOD_RX_OUT",route:["raiox","cadastros","questionario"],icon:"bi bi-patch-question"},CURRICULUM_CADASTRO_QUESTIONARIOS_RESPOSTAS:{name:this.lex.translate("Respostas"),permition:"MOD_RX_OUT",route:["raiox","cadastros","questionario","reposta"],icon:"bi bi-list-task"},CURRICULUM_CADASTRO_QUESTIONARIOS_TESTE:{name:this.lex.translate("Testes"),permition:"MOD_RX_OUT",route:["raiox","cadastros","questionario","teste"],icon:"bi bi-list-task"},CURRICULUM_CADASTRO_TIPOS_CURSOS:{name:this.lex.translate("Tipos de Curso"),permition:"MOD_RX_OUT",route:["raiox","cadastros","tipo-curso"],icon:"bi bi-box-seam"},CURRICULUM_PESQUISA_ADM:{name:this.lex.translate("Ca\xe7a-talentos"),permition:"MOD_RX_OUT",route:["raiox","pesquisa-adm"],icon:"bi bi-binoculars"},CURRICULUM_PESQUISA_USR:{name:this.lex.translate("Usu\xe1rio"),permition:"MOD_RX_OUT",route:["raiox","pesquisa-usuario"],icon:"bi bi-search"},PAINEL:{name:"Painel",permition:"",route:["panel"],icon:""},AUDITORIA:{name:"Auditoria",permition:"",route:["configuracoes","sobre"],icon:""}},this.moduloGestao=[{name:this.lex.translate("Planejamento"),permition:"MENU_GESTAO_ACESSO",id:"navbarDropdownGestaoPlanejamento",menu:[this.menuSchema.PLANEJAMENTOS_INSTITUCIONAIS,this.menuSchema.CADEIAS_VALORES,this.menuSchema.PROGRAMAS_GESTAO,this.menuSchema.HABILITACOES_PROGRAMA,this.menuSchema.PLANOS_ENTREGAS,this.menuSchema.PLANOS_TRABALHOS].sort(this.orderMenu)},{name:this.lex.translate("Execu\xe7\xe3o"),permition:"MENU_GESTAO_ACESSO",id:"navbarDropdownGestaoExecucao",menu:[this.menuSchema.EXECUCAO_PLANOS_ENTREGAS,Object.assign({},this.menuSchema.CONSOLIDACOES,{params:{tab:"USUARIO"}}),this.menuSchema.OCORRENCIAS,this.menuSchema.AFASTAMENTOS,this.menuSchema.ATIVIDADES].sort(this.orderMenu)},{name:this.lex.translate("Avalia\xe7\xe3o"),permition:"MENU_GESTAO_ACESSO",id:"navbarDropdownGestaoAvaliacao",menu:[this.menuSchema.AVALIACAO_CONSOLIDACAO_PLANO_TRABALHO,this.menuSchema.AVALIACAO_PLANOS_ENTREGAS].sort(this.orderMenu)},{name:this.lex.translate("Gerenciamento"),permition:"MENU_CONFIG_ACESSO",id:"navbarDropdownGestaoGerencial",menu:[this.menuSchema.ENTIDADES,this.menuSchema.UNIDADES,this.menuSchema.USUARIOS,this.menuSchema.PERFIS].sort(this.orderMenu)},{name:this.lex.translate("Cadastros"),permition:"MENU_CAD_ACESSO",id:"navbarDropdownGestaoCadastros",menu:[this.menuSchema.EIXOS_TEMATICOS,this.menuSchema.ENTREGAS,this.menuSchema.TIPOS_AVALIACOES,this.menuSchema.TIPOS_ATIVIDADES,this.menuSchema.TIPOS_JUSTIFICATIVAS,this.menuSchema.TIPOS_MODALIDADES,this.menuSchema.TIPOS_MOTIVOS_AFASTAMENTOS,this.menuSchema.TIPOS_TAREFAS].sort(this.orderMenu)}],this.moduloExecucao=[Object.assign({},this.menuSchema.PLANOS_TRABALHOS,{metadata:{minha_unidade:!0}}),this.menuSchema.ATIVIDADES,Object.assign({},this.menuSchema.CONSOLIDACOES,{params:{tab:"UNIDADE"}}),this.menuSchema.OCORRENCIAS],this.moduloAdministrador=[{name:this.lex.translate("Cadastros"),permition:"MENU_CAD_ACESSO",id:"navbarDropdownCadastrosAdm",menu:[this.menuSchema.AFASTAMENTOS,this.menuSchema.CIDADES,this.menuSchema.EIXOS_TEMATICOS,this.menuSchema.ENTREGAS,this.menuSchema.FERIADOS,this.menuSchema.MATERIAIS_SERVICOS,this.menuSchema.OCORRENCIAS,this.menuSchema.TEMPLATES,this.menuSchema.TIPOS_ATIVIDADES,this.menuSchema.TIPOS_AVALIACOES,this.menuSchema.TIPOS_DOCUMENTOS,this.menuSchema.TIPOS_JUSTIFICATIVAS,this.menuSchema.TIPOS_MODALIDADES,this.menuSchema.TIPOS_MOTIVOS_AFASTAMENTOS,this.menuSchema.TIPOS_PROCESSOS,this.menuSchema.TIPOS_TAREFAS].sort(this.orderMenu)},{name:this.lex.translate("Gerenciamento"),permition:"MENU_CONFIG_ACESSO",id:"navbarDropdownGerencialAdm",menu:[this.menuSchema.ENTIDADES,this.menuSchema.UNIDADES,this.menuSchema.USUARIOS,this.menuSchema.PERFIS].sort(this.orderMenu)}],this.moduloDev=[{name:this.lex.translate("Manuten\xe7\xe3o"),permition:"MENU_DEV_ACESSO",id:"navbarDropdownDevManutencao",menu:[this.menuSchema.ROTINAS_INTEGRACAO,this.menuSchema.PAINEL]},{name:this.lex.translate("Logs e Auditorias"),permition:"MENU_DEV_ACESSO",id:"navbarDropdownDevLogs",menu:[this.menuSchema.LOGS_ALTERACOES,this.menuSchema.LOGS_ERROS,this.menuSchema.LOGS_TRAFEGOS]},{name:this.lex.translate("Testes"),permition:"MENU_DEV_ACESSO",id:"navbarDropdownDevTestes",menu:[this.menuSchema.LOGS_TESTES_EXPEDIENTES,this.menuSchema.TESTE_CALCULA_DATATEMPO]}],this.menuContexto=[{key:"GESTAO",permition:"CTXT_GEST",icon:"bi bi-clipboard-data",name:this.lex.translate("PGD"),menu:this.moduloGestao},{key:"EXECUCAO",permition:"CTXT_EXEC",icon:"bi bi-clipboard-data",name:this.lex.translate("PGD"),menu:this.moduloExecucao},{key:"ADMINISTRADOR",permition:"CTXT_ADM",icon:"bi bi-emoji-sunglasses",name:this.lex.translate("Administrador"),menu:this.moduloAdministrador},{key:"DEV",permition:"CTXT_DEV",icon:"bi bi-braces",name:this.lex.translate("Desenvolvedor"),menu:this.moduloDev}]}orderMenu(xe,Ye){return xe.nome"EXECUCAO"!==xt.key):Ye&&!xe&&(this.menuContexto=this.menuContexto.filter(xt=>"GESTAO"!==xt.key))}toolbarLogin(){this.go.navigate({route:["login"]},{modal:!0})}menuItemClass(xe,Ye){let xt=this.go.getRouteUrl().replace(/^\//,"");return Ye.menu?.find(cn=>!cn)&&console.log(Ye),xe+(Ye.route?.join("/")==xt||Ye.menu?.find(cn=>cn?.route?.join("/")==xt)?" fw-bold":"")}isButtonRunning(xe){return xe.running||!!xe.items?.find(Ye=>Ye.running)}buttonId(xe){return"button_"+this.utils.md5((xe.icon||"")+(xe.hint||"")+(xe.label||""))}openModule(xe){xe.route&&this.go.navigate({route:xe.route,params:xe.params},xe.metadata||{root:!0})}get unidades(){return this.auth.unidades||[]}get usuarioNome(){return this.utils.shortName(this.auth.usuario?.apelido.length?this.auth.usuario?.apelido:this.auth.usuario?.nome||"")}get usuarioFoto(){return this.gb.getResourcePath(this.auth.usuario?.url_foto||"assets/images/profile.png")}onCollapseContainerClick(){this.auth.usuarioConfig={ocultar_container_petrvs:!this.auth.usuario.config.ocultar_container_petrvs},this.cdRef.detectChanges()}get collapseContainer(){return this.gb.isEmbedded&&this.auth.logged&&!!this.auth.usuario?.config.ocultar_container_petrvs}onRestoreClick(xe){xe.restore()}selecionaUnidade(xe){this.auth.selecionaUnidade(xe,this.cdRef)}onToolbarButtonClick(xe){var Ye=this;return(0,i.Z)(function*(){try{xe.running=!0,Ye.cdRef.detectChanges(),xe.onClick&&(yield xe.onClick(xe))}finally{xe.running=!1,Ye.cdRef.detectChanges()}})()}get isMinimized(){return!!this.dialog.minimized?.length}logout(){this.auth.logOut()}static#e=this.\u0275fac=function(Ye){return new(Ye||ve)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:ve,selectors:[["app-root"]],viewQuery:function(Ye,xt){if(1&Ye&&t.Gf(X,5,t.s_b),2&Ye){let cn;t.iGM(cn=t.CRH())&&(xt.dialogs=cn.first)}},features:[t._Bn([{provide:"ID_GENERATOR_BASE",useFactory:(xe,Ye,xt)=>xt.onlyAlphanumeric(Ye.getRouteUrl()),deps:[ve,j.o,N.f]}])],decls:9,vars:6,consts:[[1,"d-flex","flex-column","h-100","petrvs"],["dialogs",""],["class","navbar navbar-expand-lg px-3 hidden-print",3,"fixed-top",4,"ngIf"],["class","alert alert-danger mt-2","role","alert",4,"ngIf"],[1,"content"],["type","alert",3,"id","close","message","closable",4,"ngFor","ngForOf"],["class","footer mt-auto",4,"ngIf"],[1,"navbar","navbar-expand-lg","px-3","hidden-print"],[1,"navbar-logo"],["class","navbar-toggler","type","button","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Abri menu",4,"ngIf"],["role","button",1,"navbar-brand"],[1,"d-flex","align-items-center"],["alt","Logo Petrvs","width","30",1,"d-inline-block","align-text-top",3,"src"],[1,"logo-text","ms-2","d-none","d-sm-block"],["class","collapse navbar-collapse","id","navbarSupportedContent",4,"ngIf"],["class","collapse navbar-collapse order-1 order-lg-0","id","navbarSupportedContent",4,"ngIf"],[1,"navbar-nav","navbar-nav-icons","flex-row","align-items-center","justify-content-end"],["class","nav-item dropdown",4,"ngIf"],[1,"nav-item","ms-3","ms-lg-2"],["role","button","data-bs-placement","top","title","Suporte Petrvs",1,"nav-link",3,"click"],[1,"bi","bi-question-lg"],["href","javascript:void(0)",1,"nav-link","position-relative",3,"click"],[1,"bi","bi-bell"],["class","position-absolute translate-middle badge rounded-pill bg-danger",4,"ngIf"],[4,"ngIf"],["type","button","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Abri menu",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"d-flex"],["role","group","aria-label","Janelas",1,"btn-group"],["class","btn-group","role","group",4,"ngFor","ngForOf"],["role","group",1,"btn-group"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"d-inline-block","text-truncate",2,"max-width","150px"],["id","navbarSupportedContent",1,"collapse","navbar-collapse","order-1","order-lg-0"],["class","d-flex",4,"ngIf"],["class","btn-group","role","group","aria-label","Op\xe7\xf5es",4,"ngIf"],["class","navbar-nav me-auto mb-2 mb-lg-0",4,"ngIf"],["width","25","class","spinner-border spinner-border-sm m-0 ms-2","role","status",4,"ngIf"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group"],["type","button","aria-expanded","false",3,"click"],["data-bs-placement","top",3,"class","title",4,"ngIf"],["type","button","aria-expanded","false","data-bs-reference","parent",3,"disabled","class",4,"ngIf"],["class","dropdown-menu",3,"dropdown-menu-end",4,"ngIf"],["data-bs-placement","top",3,"title"],["type","button","aria-expanded","false","data-bs-reference","parent"],[1,"visually-hidden"],[1,"dropdown-menu"],[4,"ngFor","ngForOf"],["role","button",1,"dropdown-item",3,"click"],[3,"class",4,"ngIf"],[1,"navbar-nav","me-auto","mb-2","mb-lg-0"],[1,"nav-item"],["aria-current","page","role","button",3,"click"],["class","nav-item",3,"ngClass",4,"ngIf"],[1,"nav-item",3,"ngClass"],["role","button","role","button","aria-expanded","false",3,"click"],["class","dropdown-menu navbar-dropdown-caret shadow border border-300 py-0",4,"ngIf"],[1,"dropdown-menu","navbar-dropdown-caret","shadow","border","border-300","py-0"],[1,"card","position-relative","border-0"],[1,"card-body","py-3","px-3"],["role","button",3,"class","click",4,"ngIf","ngIfElse"],["divider",""],["role","button",3,"click"],[1,"dropdown-divider"],["width","25","role","status",1,"spinner-border","spinner-border-sm","m-0","ms-2"],[1,"nav-item","dropdown"],["id","petrvs-context","href","#","role","button","aria-haspopup","true","aria-expanded","false","data-bs-auto-close","outside","title","M\xf3dulo",1,"nav-link"],[1,"d-none","d-md-block"],[1,"bi","bi-chevron-down","fs-6"],[1,"d-block","d-md-none"],["aria-labelledby","petrvs-context",1,"dropdown-menu","contextoDropdown","navbar-dropdown-caret","py-0","shadow","border","border-300"],[1,"texto-modulo"],[1,"divider"],[1,"nav","d-flex","flex-column"],["class","nav-item",3,"click",4,"ngIf"],[1,"nav-item",3,"click"],["role","button",1,"nav-link"],[1,"position-absolute","translate-middle","badge","rounded-pill","bg-danger"],[1,"nav-item","dropdown","ms-3","ms-lg-2"],["id","navbarDropdownBranch","href","#","role","button","aria-haspopup","true","data-bs-auto-close","outside","aria-expanded","false",1,"nav-link"],["aria-labelledby","navbarDropdownBranch","data-bs-popper","static",1,"dropdown-menu","dropdown-menu-end","navbar-dropdown-caret","py-0","shadow","border","border-300"],[1,"card-body","py-3","px-3","pb-0","overflow-auto","scrollbar",2,"height","20rem"],["class","nav d-flex flex-column",4,"ngIf"],["id","navbarDropdownUser","href","#!","role","button","data-bs-auto-close","outside","aria-haspopup","true","aria-expanded","false",1,"nav-link"],[1,""],[3,"url","hint"],["aria-labelledby","navbarDropdownUser",1,"dropdown-menu","dropdown-menu-end","navbar-dropdown-caret","py-0","dropdown-profile","shadow","border","border-300"],[1,"card-body","p-0"],[1,"text-center","pt-4","pb-3","avatar-info"],[1,"avatar","avatar-xl"],[1,"mt-2"],[1,"nav","d-flex","flex-column","mb-2","pb-1"],["role","button",1,"nav-link","px-3",3,"click"],[1,"bi","bi-person-circle"],[1,"bi","bi-gear"],["class","nav-item",4,"ngIf"],[1,"card-footer","p-0","border-top"],[1,"px-3","py-2"],[1,"nav-item","d-grid"],["role","button",1,"btn","btn-outline-secondary","btn-sm",3,"click"],[1,"bi","bi-arrow-bar-right"],["type","button","class","btn btn-outline-danger","role","button",3,"click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"click",4,"ngIf"],["class","nav-item",4,"ngFor","ngForOf"],["role","button",1,"nav-link",3,"click"],[1,"fa-unity","fab"],[1,"bi","bi-people"],["type","button","role","button",1,"btn","btn-outline-danger",3,"click"],["role","alert",1,"alert","alert-danger","mt-2"],["type","alert",3,"id","close","message","closable"],[1,"footer","mt-auto"],[1,"d-flex","justify-content-between"],[1,"d-flex","justify-content-between","align-items-center"],[1,"m-0"],[1,"text-primary"],[1,"logos"],[3,"src"]],template:function(Ye,xt){1&Ye&&(t.TgZ(0,"div",0),t.YNc(1,me,0,0,"ng-template",null,1,t.W1O),t.YNc(3,Bn,20,10,"nav",2),t.YNc(4,xi,7,2,"div",3),t.TgZ(5,"div",4),t.YNc(6,fi,1,4,"top-alert",5),t._UZ(7,"router-outlet"),t.qZA(),t.YNc(8,Mt,10,3,"footer",6),t.qZA()),2&Ye&&(t.xp6(3),t.Q6J("ngIf",xt.auth.logged),t.xp6(1),t.Q6J("ngIf",null==xt.error?null:xt.error.length),t.xp6(1),t.ekj("d-none",xt.gb.isToolbar||xt.collapseContainer),t.xp6(1),t.Q6J("ngForOf",xt.dialog.topAlerts),t.xp6(2),t.Q6J("ngIf",xt.auth.usuario&&!xt.gb.isEmbedded))},styles:[".app-container[_ngcontent-%COMP%]{text-decoration:none;width:100%;height:100%}.profile-photo[_ngcontent-%COMP%]{margin:-2px 2px}[_nghost-%COMP%] .export-excel-table{display:none}[_nghost-%COMP%]{height:100%}.fixed-top[_ngcontent-%COMP%]{position:fixed;top:0;right:0;left:0;z-index:1030}.navbar[_ngcontent-%COMP%]{box-shadow:none;border-bottom:1px solid var(--petrvs-navbar-vertical-border-color);background:var(--petrvs-navbar-top-bg-color)}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:absolute}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{color:var(--petrvs-nav-link-color);border-radius:var(--petrvs-btn-radius);font-weight:600;font-size:.9rem}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{background-color:var(--petrvs-nav-link-bg-hover)}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{background-color:var(--petrvs-nav-link-bg-active)}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{top:6px;font-size:.6rem}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.2rem}.navbar[_ngcontent-%COMP%] .navbar-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{--bs-navbar-brand-font-size: 1rem;--bs-navbar-brand-color: var(--petrvs-navbar-brand-color);font-weight:600}.navbar[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:static}.navbar[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{border:none;padding-top:0rem;padding-bottom:0rem;margin-top:0}.navbar[_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%]{border:none;margin-right:.6125rem;--bs-navbar-toggler-padding-y: 0;--bs-navbar-toggler-padding-x: 0;--bs-navbar-toggler-focus-width: 0}.navbar[_ngcontent-%COMP%] .contextoDropdown[_ngcontent-%COMP%]{min-width:15rem}.navbar[_ngcontent-%COMP%] .contextoDropdown[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{height:1px;width:100%;display:block;background:var(--bs-nav-link-color);margin:6px 0}.navbar[_ngcontent-%COMP%] .contextoDropdown[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:.775em}.navbar[_ngcontent-%COMP%] .avatar-info[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:var(--bs-nav-link-color)}.submenu[_ngcontent-%COMP%]{list-style:none;padding-left:10px}.texto-modulo[_ngcontent-%COMP%]{color:var(--petrvs-nav-link-color)}.footer[_ngcontent-%COMP%]{background:var(--petrvs-navbar-top-bg-color);border-top:1px solid var(--petrvs-navbar-vertical-border-color);padding:5px}.footer[_ngcontent-%COMP%] .logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:30px;margin-right:20px}@media (min-width: 992px){.navbar-expand-lg[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:absolute}}@media (min-width: 1200px){.navbar-expand-xl[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:absolute}}.avatar[_ngcontent-%COMP%]{position:relative;display:inline-block;vertical-align:middle}"]})}return ve})()},58:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>F});var i=m(755),t=m(5736),A=m(5691);function a(j,N){1&j&&(i.TgZ(0,"div",3)(1,"div",4),i._UZ(2,"span",5),i.qZA()())}function y(j,N){if(1&j&&i._UZ(0,"section",7),2&j){const x=N.$implicit,H=N.index,k=i.oxw(2);i.Q6J("parentId",k.generatedId("accordion"))("selected",H==k.selectedIndex)("index",H)("item",x)("load",k.load)("template",k.template)("titleTemplate",k.titleTemplate)("accordion",k)}}function C(j,N){if(1&j&&(i.YNc(0,y,1,8,"section",6),i.Hsn(1)),2&j){const x=i.oxw();i.Q6J("ngForOf",x.items)}}const b=["*"];let F=(()=>{class j extends t.V{set active(x){this._active!=x&&(!x||this.items.find(H=>(H.id||H.key)==x))&&(this._active=x,this.cdRef.detectChanges())}get active(){return this._active}set loading(x){this._loading!=x&&(this._loading=x,this.cdRef.detectChanges())}get loading(){return this._loading}constructor(x){super(x),this.injector=x,this.items=[],this.selectedIndex=0,this._active=void 0,this._loading=!1,this.cdRef=x.get(i.sBO)}ngOnInit(){}ngAfterContentInit(){this.loadSections(),this.sectionsRef?.changes.subscribe(x=>this.loadSections()),null==this.active&&this.items.length&&(this.active=this.items[0].id||this.items[0].key)}loadSections(){this.sectionsRef?.forEach(x=>{})}static#e=this.\u0275fac=function(H){return new(H||j)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:j,selectors:[["accordion"]],contentQueries:function(H,k,P){if(1&H&&i.Suo(P,A.e,5),2&H){let X;i.iGM(X=i.CRH())&&(k.sectionsRef=X)}},inputs:{load:"load",items:"items",selectedIndex:"selectedIndex",template:"template",titleTemplate:"titleTemplate",active:"active",loading:"loading"},features:[i.qOj],ngContentSelectors:b,decls:4,vars:2,consts:[["id","generatedId('accordion')",1,"accordion"],["class","d-flex justify-content-center my-2",4,"ngIf","ngIfElse"],["sections",""],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[3,"parentId","selected","index","item","load","template","titleTemplate","accordion",4,"ngFor","ngForOf"],[3,"parentId","selected","index","item","load","template","titleTemplate","accordion"]],template:function(H,k){if(1&H&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,a,3,0,"div",1),i.YNc(2,C,2,1,"ng-template",null,2,i.W1O),i.qZA()),2&H){const P=i.MAs(3);i.xp6(1),i.Q6J("ngIf",k.loading)("ngIfElse",P)}}})}return j})()},5691:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>j});var i=m(8239),t=m(5736),A=m(755),a=m(6733);const y=function(N,x,H){return{item:N,data:x,accordion:H}};function C(N,x){if(1&N&&A.GkF(0,7),2&N){const H=A.oxw();A.Q6J("ngTemplateOutlet",H.titleTemplate)("ngTemplateOutletContext",A.kEZ(2,y,H.item,H.data,H.accordion))}}function b(N,x){1&N&&(A.TgZ(0,"div",8)(1,"div",9),A._UZ(2,"span",10),A.qZA()())}function F(N,x){if(1&N&&(A.TgZ(0,"div",11),A.GkF(1,7),A.qZA()),2&N){const H=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",H.template)("ngTemplateOutletContext",A.kEZ(2,y,H.item,H.data,H.accordion))}}let j=(()=>{class N extends t.V{constructor(H){super(H),this.injector=H,this.item=void 0,this.index=0,this.selected=!1,this.parentId=this.generatedId("accordion"),this.loading=!1,this.loaded=!1}ngOnInit(){}onClick(){var H=this;return(0,i.Z)(function*(){if(H.selected=!0,H.accordion&&(H.accordion.selectedIndex=H.index),H.load){H.loading=!0;try{H.cdRef.detectChanges(),H.data=yield H.load(H.item)}finally{H.loading=!1,H.cdRef.detectChanges()}}H.accordion?.cdRef.detectChanges()})()}static#e=this.\u0275fac=function(k){return new(k||N)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:N,selectors:[["section"]],inputs:{item:"item",load:"load",template:"template",titleTemplate:"titleTemplate",accordion:"accordion",index:"index",selected:"selected",parentId:"parentId"},features:[A.qOj],decls:7,vars:14,consts:[[1,"accordion-item","mb-3"],[1,"accordion-header"],["type","button","data-bs-toggle","collapse",1,"accordion-button",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[1,"accordion-collapse","collapse"],["class","d-flex justify-content-center my-2",4,"ngIf"],["class","accordion-body",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[1,"accordion-body"]],template:function(k,P){1&k&&(A.TgZ(0,"div",0)(1,"h2",1)(2,"button",2),A.NdJ("click",function(){return P.onClick()}),A.YNc(3,C,1,6,"ng-container",3),A.qZA()(),A.TgZ(4,"div",4),A.YNc(5,b,3,0,"div",5),A.YNc(6,F,2,6,"div",6),A.qZA()()),2&k&&(A.xp6(1),A.uIk("id",P.generatedId("heading"+P.index)),A.xp6(1),A.ekj("collapsed",!P.selected),A.uIk("data-bs-target","#"+P.generatedId("collapse"+P.index))("aria-expanded",P.selected?"true":"false")("aria-controls",P.generatedId("collapse"+P.index)),A.xp6(1),A.Q6J("ngIf",P.titleTemplate),A.xp6(1),A.ekj("show",P.selected),A.uIk("id",P.generatedId("collapse"+P.index))("aria-labelledby",P.generatedId("heading"+P.index))("data-bs-parent","#"+P.parentId),A.xp6(1),A.Q6J("ngIf",P.loading),A.xp6(1),A.Q6J("ngIf",P.selected&&P.template&&(!P.load||!P.loading)))},dependencies:[a.O5,a.tP]})}return N})()},5489:(lt,_e,m)=>{"use strict";m.d(_e,{F:()=>F});var i=m(5736),t=m(755),A=m(6733);function a(j,N){if(1&j&&t._UZ(0,"img",6),2&j){const x=t.oxw();t.Q6J("src",x.img,t.LSH)}}function y(j,N){if(1&j&&t._UZ(0,"i"),2&j){const x=t.oxw();t.Tol(x.icon)}}function C(j,N){if(1&j&&(t.TgZ(0,"span",7),t._uU(1),t.qZA()),2&j){const x=t.oxw();t.xp6(1),t.Oqu(x.textValue)}}const b=["*"];let F=(()=>{class j extends i.V{set badge(x){this._badge!=x&&(this._badge=x),this._badge.id=this._badge.id||this.generatedButtonId(this._badge)}get badge(){return this._badge}set lookup(x){this._lookup!=x&&(this._lookup=x),this.fromLookup()}get lookup(){return this._lookup}set click(x){this._badge.click!=x&&(this._badge.click=x)}get click(){return this._badge.click}set data(x){this._badge.data!=x&&(this._badge.data=x)}get data(){return this._badge.data}set hint(x){this._badge.hint!=x&&(this._badge.hint=x)}get hint(){return this._badge.hint}set icon(x){this._badge.icon!=x&&(this._badge.icon=x)}get icon(){return this._badge.icon}set img(x){this._badge.img!=x&&(this._badge.img=x)}get img(){return this._badge.img}set label(x){this._badge.label!=x&&(this._badge.label=x)}get label(){return this._badge.label}set textValue(x){this._badge.textValue!=x&&(this._badge.textValue=x)}get textValue(){return this._badge.textValue}set color(x){this._badge.color!=x&&(this._badge.color=x)}get color(){return this._badge.color}set class(x){this._badge.class!=x&&(this._badge.class=x)}get class(){return"badge "+(this.rounded?"rounded-pill ":"")+(this.maxWidth?"text-break text-wrap ":"")+this.getClassBgColor(this.color)+(this._badge.class?" "+this._badge.class:"")}set maxWidth(x){this._badge.maxWidth!=x&&(this._badge.maxWidth=x)}get maxWidth(){return this._badge.maxWidth||150}constructor(x){super(x),this.injector=x,this.rounded=!0,this._badge={}}ngOnInit(){}generatedBadgeId(x,H){return this.generatedId((x.label||x.hint||x.icon||"_badge")+(H||""))}onBadgeClick(x){this.click&&this.click(this.data)}fromLookup(){this._lookup&&(Object.assign(this._badge,{color:this._lookup.color,icon:this._lookup.icon,label:this._lookup.value,data:this._lookup}),this._badge.id=this.generatedButtonId(this._badge),this.detectChanges())}get style(){return this.getStyleBgColor(this.color)}static#e=this.\u0275fac=function(H){return new(H||j)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:j,selectors:[["badge"]],inputs:{badge:"badge",lookup:"lookup",click:"click",data:"data",hint:"hint",icon:"icon",img:"img",label:"label",textValue:"textValue",color:"color",class:"class",maxWidth:"maxWidth",rounded:"rounded"},features:[t.qOj],ngContentSelectors:b,decls:8,vars:13,consts:[["data-bs-toggle","tooltip","data-bs-placement","top",3,"id","title","click"],[1,"d-flex","align-items-center"],["width","15","height","15",3,"src",4,"ngIf"],[3,"class",4,"ngIf"],[1,"text-truncate","ms-1"],["class","textValue rounded-end-pill text-truncate",4,"ngIf"],["width","15","height","15",3,"src"],[1,"textValue","rounded-end-pill","text-truncate"]],template:function(H,k){1&H&&(t.F$t(),t.TgZ(0,"span",0),t.NdJ("click",function(X){return k.onBadgeClick(X)}),t.TgZ(1,"div",1),t.YNc(2,a,1,1,"img",2),t.YNc(3,y,1,2,"i",3),t.TgZ(4,"div",4),t._uU(5),t.qZA(),t.YNc(6,C,2,1,"span",5),t.Hsn(7),t.qZA()()),2&H&&(t.Akn(k.style),t.Tol(k.class+(k.textValue?" withTextValue":"")),t.Udp("max-width",k.maxWidth,"px"),t.Q6J("id",k.generatedId(k.label)+"_bedge")("title",k.hint||k.label),t.uIk("role",k.click?"button":void 0),t.xp6(2),t.Q6J("ngIf",null==k.img?null:k.img.length),t.xp6(1),t.Q6J("ngIf",null==k.icon?null:k.icon.length),t.xp6(2),t.Oqu(k.label||""),t.xp6(1),t.Q6J("ngIf",k.textValue))},dependencies:[A.O5]})}return j})()},5736:(lt,_e,m)=>{"use strict";m.d(_e,{V:()=>A});var i=m(755),t=m(9193);let A=(()=>{class a{getStyleBgColor(C){if(!Object.keys(this._bgColors).includes(C||"")){const b=C||"#000000";return`background-color: ${b}; color: ${this.util.contrastColor(b)};`}}getClassBgColor(C){return Object.keys(this._bgColors).includes(C||"")?this._bgColors[C].class:""}getClassButtonColor(C){return Object.keys(this._bgColors).includes(C||"")?"btn-outline-"+C:C}getClassBorderColor(C){return Object.keys(this._bgColors).includes(C||"")?"border-"+C:C}getHexColor(C){return Object.keys(this._bgColors).includes(C||"")?this._bgColors[C].hex:C}generatedId(C){let b=this.relativeId||C;return this._generatedId||(this._generatedId="ID_"+this.ID_GENERATOR_BASE),this._generatedId+(b?.length?"_"+this.util.onlyAlphanumeric(b):"")}generatedButtonId(C,b){return this.generatedId((C.id||C.label||C.hint||C.icon||"_button")+(b||""))}detectChanges(){this.viewInit?this.cdRef.detectChanges():this.cdRef.markForCheck()}constructor(C){this.injector=C,this.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,this.viewInit=!1,this._bgColors={primary:{class:"bg-primary ",hex:"#0d6efd"},secondary:{class:"bg-secondary ",hex:"#6c757d"},success:{class:"bg-success ",hex:"#198754"},danger:{class:"bg-danger ",hex:"#dc3545"},warning:{class:"bg-warning text-dark ",hex:"#212529"},info:{class:"bg-info text-dark ",hex:"#212529"},light:{class:"bg-light text-dark ",hex:"#f8f9fa"},dark:{class:"bg-dark ",hex:"#212529"},none:{class:"",hex:""}},this.cdRef=C.get(i.sBO),this.selfElement=C.get(i.SBq),this.util=C.get(t.f),this.selfElement.nativeElement.component=this,this.ID_GENERATOR_BASE=C.get("ID_GENERATOR_BASE")}ngAfterViewInit(){this.viewInit=!0}focus(){}static#e=this.\u0275fac=function(b){return new(b||a)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:a,factory:a.\u0275fac})}return a})()},2662:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>dc});var i=m(6733),t=m(2133),A=m(2953),a=m(755),y=m(9838),C=m(2815),b=m(3148),F=m(8206),j=m(8393),N=m(9705),x=m(2285),H=m(9202),k=m(5315);let P=(()=>{class he extends k.s{static \u0275fac=function(){let L;return function(je){return(L||(L=a.n5z(he)))(je||he)}}();static \u0275cmp=a.Xpm({type:he,selectors:[["MinusIcon"]],standalone:!0,features:[a.qOj,a.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(Ue,je){1&Ue&&(a.O4$(),a.TgZ(0,"svg",0),a._UZ(1,"path",1),a.qZA()),2&Ue&&(a.Tol(je.getClassNames()),a.uIk("aria-label",je.ariaLabel)("aria-hidden",je.ariaHidden)("role",je.role))},dependencies:[i.ez],encapsulation:2})}return he})(),X=(()=>{class he extends k.s{pathId;ngOnInit(){this.pathId="url(#"+(0,j.Th)()+")"}static \u0275fac=function(){let L;return function(je){return(L||(L=a.n5z(he)))(je||he)}}();static \u0275cmp=a.Xpm({type:he,selectors:[["PlusIcon"]],standalone:!0,features:[a.qOj,a.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(Ue,je){1&Ue&&(a.O4$(),a.TgZ(0,"svg",0)(1,"g"),a._UZ(2,"path",1),a.qZA(),a.TgZ(3,"defs")(4,"clipPath",2),a._UZ(5,"rect",3),a.qZA()()()),2&Ue&&(a.Tol(je.getClassNames()),a.uIk("aria-label",je.ariaLabel)("aria-hidden",je.ariaHidden)("role",je.role),a.xp6(1),a.uIk("clip-path",je.pathId),a.xp6(3),a.Q6J("id",je.pathId))},encapsulation:2})}return he})();var me=m(5785),Oe=m(7848);const Se=function(he){return{"p-treenode-droppoint-active":he}};function wt(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"li",4),a.NdJ("drop",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPoint(je,-1))})("dragover",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragOver(je))})("dragenter",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragEnter(je,-1))})("dragleave",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragLeave(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("ngClass",a.VKq(1,Se,L.draghoverPrev))}}function K(he,jt){1&he&&a._UZ(0,"ChevronRightIcon",14),2&he&&a.Q6J("styleClass","p-tree-toggler-icon")}function V(he,jt){1&he&&a._UZ(0,"ChevronDownIcon",14),2&he&&a.Q6J("styleClass","p-tree-toggler-icon")}function J(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,K,1,1,"ChevronRightIcon",13),a.YNc(2,V,1,1,"ChevronDownIcon",13),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngIf",!L.node.expanded),a.xp6(1),a.Q6J("ngIf",L.node.expanded)}}function ae(he,jt){}function oe(he,jt){1&he&&a.YNc(0,ae,0,0,"ng-template")}const ye=function(he){return{$implicit:he}};function Ee(he,jt){if(1&he&&(a.TgZ(0,"span",15),a.YNc(1,oe,1,0,null,16),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.togglerIconTemplate)("ngTemplateOutletContext",a.VKq(2,ye,L.node.expanded))}}function Ge(he,jt){1&he&&a._UZ(0,"CheckIcon",14),2&he&&a.Q6J("styleClass","p-checkbox-icon")}function gt(he,jt){1&he&&a._UZ(0,"MinusIcon",14),2&he&&a.Q6J("styleClass","p-checkbox-icon")}function Ze(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Ge,1,1,"CheckIcon",13),a.YNc(2,gt,1,1,"MinusIcon",13),a.BQk()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngIf",!L.node.partialSelected&&L.isSelected()),a.xp6(1),a.Q6J("ngIf",L.node.partialSelected)}}function Je(he,jt){}function tt(he,jt){1&he&&a.YNc(0,Je,0,0,"ng-template")}const Qe=function(he){return{"p-checkbox-disabled":he}},pt=function(he,jt){return{"p-highlight":he,"p-indeterminate":jt}},Nt=function(he,jt){return{$implicit:he,partialSelected:jt}};function Jt(he,jt){if(1&he&&(a.TgZ(0,"div",17)(1,"div",18),a.YNc(2,Ze,3,2,"ng-container",8),a.YNc(3,tt,1,0,null,16),a.qZA()()),2&he){const L=a.oxw(3);a.Q6J("ngClass",a.VKq(5,Qe,!1===L.node.selectable)),a.xp6(1),a.Q6J("ngClass",a.WLB(7,pt,L.isSelected(),L.node.partialSelected)),a.xp6(1),a.Q6J("ngIf",!L.tree.checkboxIconTemplate),a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.checkboxIconTemplate)("ngTemplateOutletContext",a.WLB(10,Nt,L.isSelected(),L.node.partialSelected))}}function nt(he,jt){if(1&he&&a._UZ(0,"span"),2&he){const L=a.oxw(3);a.Tol(L.getIcon())}}function ot(he,jt){if(1&he&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.AsE("",L.node.label," ",L.node.children?L.node.children.length:0,"")}}function Ct(he,jt){1&he&&a.GkF(0)}function He(he,jt){if(1&he&&(a.TgZ(0,"span"),a.YNc(1,Ct,1,0,"ng-container",16),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.getTemplateForNode(L.node))("ngTemplateOutletContext",a.VKq(2,ye,L.node))}}function mt(he,jt){if(1&he&&a._UZ(0,"p-treeNode",21),2&he){const L=jt.$implicit,Ue=jt.first,je=jt.last,E=jt.index,v=a.oxw(4);a.Q6J("node",L)("parentNode",v.node)("firstChild",Ue)("lastChild",je)("index",E)("itemSize",v.itemSize)("level",v.level+1)}}function vt(he,jt){if(1&he&&(a.TgZ(0,"ul",19),a.YNc(1,mt,1,7,"p-treeNode",20),a.qZA()),2&he){const L=a.oxw(3);a.Udp("display",L.node.expanded?"block":"none"),a.xp6(1),a.Q6J("ngForOf",L.node.children)("ngForTrackBy",L.tree.trackBy)}}const hn=function(he,jt){return["p-treenode",he,jt]},yt=function(he){return{height:he}},Fn=function(he,jt,L){return{"p-treenode-selectable":he,"p-treenode-dragover":jt,"p-highlight":L}};function xn(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"li",5),a.NdJ("keydown",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onKeyDown(je))}),a.TgZ(1,"div",6),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeClick(je))})("contextmenu",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeRightClick(je))})("touchend",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onNodeTouchEnd())})("drop",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNode(je))})("dragover",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNodeDragOver(je))})("dragenter",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNodeDragEnter(je))})("dragleave",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNodeDragLeave(je))})("dragstart",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDragStart(je))})("dragend",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDragStop(je))}),a.TgZ(2,"button",7),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.toggle(je))}),a.YNc(3,J,3,2,"ng-container",8),a.YNc(4,Ee,2,4,"span",9),a.qZA(),a.YNc(5,Jt,4,13,"div",10),a.YNc(6,nt,1,2,"span",3),a.TgZ(7,"span",11),a.YNc(8,ot,2,2,"span",8),a.YNc(9,He,2,4,"span",8),a.qZA()(),a.YNc(10,vt,2,4,"ul",12),a.qZA()}if(2&he){const L=a.oxw(2);a.Akn(L.node.style),a.Q6J("ngClass",a.WLB(24,hn,L.node.styleClass||"",L.isLeaf()?"p-treenode-leaf":""))("ngStyle",a.VKq(27,yt,L.itemSize+"px")),a.uIk("aria-label",L.node.label)("aria-checked",L.ariaChecked)("aria-setsize",L.node.children?L.node.children.length:0)("aria-selected",L.ariaSelected)("aria-expanded",L.node.expanded)("aria-posinset",L.index+1)("aria-level",L.level)("tabindex",0===L.index?0:-1),a.xp6(1),a.Udp("padding-left",L.level*L.indentation+"rem"),a.Q6J("draggable",L.tree.draggableNodes)("ngClass",a.kEZ(29,Fn,L.tree.selectionMode&&!1!==L.node.selectable,L.draghoverNode,L.isSelected())),a.xp6(1),a.uIk("data-pc-section","toggler"),a.xp6(1),a.Q6J("ngIf",!L.tree.togglerIconTemplate),a.xp6(1),a.Q6J("ngIf",L.tree.togglerIconTemplate),a.xp6(1),a.Q6J("ngIf","checkbox"==L.tree.selectionMode),a.xp6(1),a.Q6J("ngIf",L.node.icon||L.node.expandedIcon||L.node.collapsedIcon),a.xp6(2),a.Q6J("ngIf",!L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",!L.tree.virtualScroll&&L.node.children&&L.node.expanded)}}function In(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"li",4),a.NdJ("drop",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPoint(je,1))})("dragover",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragOver(je))})("dragenter",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragEnter(je,1))})("dragleave",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragLeave(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("ngClass",a.VKq(1,Se,L.draghoverNext))}}const dn=function(he){return{"p-treenode-connector-line":he}};function qn(he,jt){if(1&he&&(a.TgZ(0,"td",27)(1,"table",28)(2,"tbody")(3,"tr"),a._UZ(4,"td",29),a.qZA(),a.TgZ(5,"tr"),a._UZ(6,"td",29),a.qZA()()()()),2&he){const L=a.oxw(3);a.xp6(4),a.Q6J("ngClass",a.VKq(2,dn,!L.firstChild)),a.xp6(2),a.Q6J("ngClass",a.VKq(4,dn,!L.lastChild))}}function di(he,jt){if(1&he&&a._UZ(0,"PlusIcon",32),2&he){const L=a.oxw(5);a.Q6J("styleClass","p-tree-toggler-icon")("ariaLabel",L.tree.togglerAriaLabel)}}function ir(he,jt){if(1&he&&a._UZ(0,"MinusIcon",32),2&he){const L=a.oxw(5);a.Q6J("styleClass","p-tree-toggler-icon")("ariaLabel",L.tree.togglerAriaLabel)}}function Bn(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,di,1,2,"PlusIcon",31),a.YNc(2,ir,1,2,"MinusIcon",31),a.BQk()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngIf",!L.node.expanded),a.xp6(1),a.Q6J("ngIf",L.node.expanded)}}function xi(he,jt){}function fi(he,jt){1&he&&a.YNc(0,xi,0,0,"ng-template")}function Mt(he,jt){if(1&he&&(a.TgZ(0,"span",15),a.YNc(1,fi,1,0,null,16),a.qZA()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.togglerIconTemplate)("ngTemplateOutletContext",a.VKq(2,ye,L.node.expanded))}}function Ot(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"span",30),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(3);return a.KtG(E.toggle(je))}),a.YNc(1,Bn,3,2,"ng-container",8),a.YNc(2,Mt,2,4,"span",9),a.qZA()}if(2&he){const L=a.oxw(3);a.Q6J("ngClass","p-tree-toggler"),a.xp6(1),a.Q6J("ngIf",!L.tree.togglerIconTemplate),a.xp6(1),a.Q6J("ngIf",L.tree.togglerIconTemplate)}}function ve(he,jt){if(1&he&&a._UZ(0,"span"),2&he){const L=a.oxw(3);a.Tol(L.getIcon())}}function De(he,jt){if(1&he&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Oqu(L.node.label)}}function xe(he,jt){1&he&&a.GkF(0)}function Ye(he,jt){if(1&he&&(a.TgZ(0,"span"),a.YNc(1,xe,1,0,"ng-container",16),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.getTemplateForNode(L.node))("ngTemplateOutletContext",a.VKq(2,ye,L.node))}}function xt(he,jt){if(1&he&&a._UZ(0,"p-treeNode",36),2&he){const Ue=jt.first,je=jt.last;a.Q6J("node",jt.$implicit)("firstChild",Ue)("lastChild",je)}}function cn(he,jt){if(1&he&&(a.TgZ(0,"td",33)(1,"div",34),a.YNc(2,xt,1,3,"p-treeNode",35),a.qZA()()),2&he){const L=a.oxw(3);a.Udp("display",L.node.expanded?"table-cell":"none"),a.xp6(2),a.Q6J("ngForOf",L.node.children)("ngForTrackBy",L.tree.trackBy)}}const Kn=function(he){return{"p-treenode-collapsed":he}},An=function(he,jt){return{"p-treenode-selectable":he,"p-highlight":jt}};function gs(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"table")(1,"tbody")(2,"tr"),a.YNc(3,qn,7,6,"td",22),a.TgZ(4,"td",23)(5,"div",24),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeClick(je))})("contextmenu",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeRightClick(je))})("touchend",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onNodeTouchEnd())})("keydown",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeKeydown(je))}),a.YNc(6,Ot,3,3,"span",25),a.YNc(7,ve,1,2,"span",3),a.TgZ(8,"span",11),a.YNc(9,De,2,1,"span",8),a.YNc(10,Ye,2,4,"span",8),a.qZA()()(),a.YNc(11,cn,3,4,"td",26),a.qZA()()()}if(2&he){const L=a.oxw(2);a.Tol(L.node.styleClass),a.xp6(3),a.Q6J("ngIf",!L.root),a.xp6(1),a.Q6J("ngClass",a.VKq(10,Kn,!L.node.expanded)),a.xp6(1),a.Q6J("ngClass",a.WLB(12,An,L.tree.selectionMode,L.isSelected())),a.xp6(1),a.Q6J("ngIf",!L.isLeaf()),a.xp6(1),a.Q6J("ngIf",L.node.icon||L.node.expandedIcon||L.node.collapsedIcon),a.xp6(2),a.Q6J("ngIf",!L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",L.node.children&&L.node.expanded)}}function Qt(he,jt){if(1&he&&(a.YNc(0,wt,1,3,"li",1),a.YNc(1,xn,11,33,"li",2),a.YNc(2,In,1,3,"li",1),a.YNc(3,gs,12,15,"table",3)),2&he){const L=a.oxw();a.Q6J("ngIf",L.tree.droppableNodes),a.xp6(1),a.Q6J("ngIf",!L.tree.horizontal),a.xp6(1),a.Q6J("ngIf",L.tree.droppableNodes&&L.lastChild),a.xp6(1),a.Q6J("ngIf",L.tree.horizontal)}}const ki=["filter"],ta=["scroller"],Pi=["wrapper"];function co(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(3);a.Tol("p-tree-loading-icon pi-spin "+L.loadingIcon)}}function Or(he,jt){1&he&&a._UZ(0,"SpinnerIcon",13),2&he&&a.Q6J("spin",!0)("styleClass","p-tree-loading-icon")}function Dr(he,jt){}function bs(he,jt){1&he&&a.YNc(0,Dr,0,0,"ng-template")}function Do(he,jt){if(1&he&&(a.TgZ(0,"span",14),a.YNc(1,bs,1,0,null,4),a.qZA()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngTemplateOutlet",L.loadingIconTemplate)}}function Ms(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Or,1,2,"SpinnerIcon",11),a.YNc(2,Do,2,1,"span",12),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngIf",!L.loadingIconTemplate),a.xp6(1),a.Q6J("ngIf",L.loadingIconTemplate)}}function Ls(he,jt){if(1&he&&(a.TgZ(0,"div",9),a.YNc(1,co,1,2,"i",10),a.YNc(2,Ms,3,2,"ng-container",7),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",L.loadingIcon),a.xp6(1),a.Q6J("ngIf",!L.loadingIcon)}}function On(he,jt){1&he&&a.GkF(0)}function mr(he,jt){1&he&&a._UZ(0,"SearchIcon",20),2&he&&a.Q6J("styleClass","p-tree-filter-icon")}function Pt(he,jt){}function ln(he,jt){1&he&&a.YNc(0,Pt,0,0,"ng-template")}function Yt(he,jt){if(1&he&&(a.TgZ(0,"span",21),a.YNc(1,ln,1,0,null,4),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.filterIconTemplate)}}function li(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",15)(1,"input",16,17),a.NdJ("keydown.enter",function(je){return je.preventDefault()})("input",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E._filter(je.target.value))}),a.qZA(),a.YNc(3,mr,1,1,"SearchIcon",18),a.YNc(4,Yt,2,1,"span",19),a.qZA()}if(2&he){const L=a.oxw(2);a.xp6(1),a.uIk("placeholder",L.filterPlaceholder),a.xp6(2),a.Q6J("ngIf",!L.filterIconTemplate),a.xp6(1),a.Q6J("ngIf",L.filterIconTemplate)}}function Qr(he,jt){if(1&he&&a._UZ(0,"p-treeNode",28,29),2&he){const L=jt.$implicit,Ue=jt.first,je=jt.last,E=jt.index,v=a.oxw(2).options,M=a.oxw(3);a.Q6J("level",L.level)("rowNode",L)("node",L.node)("firstChild",Ue)("lastChild",je)("index",M.getIndex(v,E))("itemSize",v.itemSize)("indentation",M.indentation)}}function Sr(he,jt){if(1&he&&(a.TgZ(0,"ul",26),a.YNc(1,Qr,2,8,"p-treeNode",27),a.qZA()),2&he){const L=a.oxw(),Ue=L.options,je=L.$implicit,E=a.oxw(3);a.Akn(Ue.contentStyle),a.Q6J("ngClass",Ue.contentStyleClass),a.uIk("aria-label",E.ariaLabel)("aria-labelledby",E.ariaLabelledBy),a.xp6(1),a.Q6J("ngForOf",je)("ngForTrackBy",E.trackBy)}}function Pn(he,jt){1&he&&a.YNc(0,Sr,2,7,"ul",25),2&he&&a.Q6J("ngIf",jt.$implicit)}function sn(he,jt){1&he&&a.GkF(0)}const Rt=function(he){return{options:he}};function Bt(he,jt){if(1&he&&a.YNc(0,sn,1,0,"ng-container",31),2&he){const L=jt.options,Ue=a.oxw(4);a.Q6J("ngTemplateOutlet",Ue.loaderTemplate)("ngTemplateOutletContext",a.VKq(2,Rt,L))}}function bn(he,jt){1&he&&(a.ynx(0),a.YNc(1,Bt,1,4,"ng-template",30),a.BQk())}function mi(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"p-scroller",22,23),a.NdJ("onScroll",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onScroll.emit(je))})("onScrollIndexChange",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onScrollIndexChange.emit(je))})("onLazyLoad",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onLazyLoad.emit(je))}),a.YNc(2,Pn,1,1,"ng-template",24),a.YNc(3,bn,2,0,"ng-container",7),a.qZA()}if(2&he){const L=a.oxw(2);a.Akn(a.VKq(9,yt,"flex"!==L.scrollHeight?L.scrollHeight:void 0)),a.Q6J("items",L.serializedValue)("tabindex",-1)("scrollHeight","flex"!==L.scrollHeight?void 0:"100%")("itemSize",L.virtualScrollItemSize||L._virtualNodeHeight)("lazy",L.lazy)("options",L.virtualScrollOptions),a.xp6(3),a.Q6J("ngIf",L.loaderTemplate)}}function rr(he,jt){if(1&he&&a._UZ(0,"p-treeNode",37),2&he){const Ue=jt.first,je=jt.last,E=jt.index;a.Q6J("node",jt.$implicit)("firstChild",Ue)("lastChild",je)("index",E)("level",0)}}function Ri(he,jt){if(1&he&&(a.TgZ(0,"ul",35),a.YNc(1,rr,1,5,"p-treeNode",36),a.qZA()),2&he){const L=a.oxw(3);a.uIk("aria-label",L.ariaLabel)("aria-labelledby",L.ariaLabelledBy),a.xp6(1),a.Q6J("ngForOf",L.getRootNode())("ngForTrackBy",L.trackBy)}}function Ur(he,jt){if(1&he&&(a.ynx(0),a.TgZ(1,"div",32,33),a.YNc(3,Ri,2,4,"ul",34),a.qZA(),a.BQk()),2&he){const L=a.oxw(2);a.xp6(1),a.Udp("max-height",L.scrollHeight),a.xp6(2),a.Q6J("ngIf",L.getRootNode())}}function mn(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.hij(" ",L.emptyMessageLabel," ")}}function Xe(he,jt){1&he&&a.GkF(0,null,40)}function ke(he,jt){if(1&he&&(a.TgZ(0,"div",38),a.YNc(1,mn,2,1,"ng-container",39),a.YNc(2,Xe,2,0,"ng-container",4),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",!L.emptyMessageTemplate)("ngIfElse",L.emptyFilter),a.xp6(1),a.Q6J("ngTemplateOutlet",L.emptyMessageTemplate)}}function ge(he,jt){1&he&&a.GkF(0)}const Ae=function(he,jt,L,Ue){return{"p-tree p-component":!0,"p-tree-selectable":he,"p-treenode-dragover":jt,"p-tree-loading":L,"p-tree-flex-scrollable":Ue}};function it(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",2),a.NdJ("drop",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onDrop(je))})("dragover",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onDragOver(je))})("dragenter",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onDragEnter())})("dragleave",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onDragLeave(je))}),a.YNc(1,Ls,3,2,"div",3),a.YNc(2,On,1,0,"ng-container",4),a.YNc(3,li,5,3,"div",5),a.YNc(4,mi,4,11,"p-scroller",6),a.YNc(5,Ur,4,3,"ng-container",7),a.YNc(6,ke,3,3,"div",8),a.YNc(7,ge,1,0,"ng-container",4),a.qZA()}if(2&he){const L=a.oxw();a.Tol(L.styleClass),a.Q6J("ngClass",a.l5B(11,Ae,L.selectionMode,L.dragHover,L.loading,"flex"===L.scrollHeight))("ngStyle",L.style),a.xp6(1),a.Q6J("ngIf",L.loading),a.xp6(1),a.Q6J("ngTemplateOutlet",L.headerTemplate),a.xp6(1),a.Q6J("ngIf",L.filter),a.xp6(1),a.Q6J("ngIf",L.virtualScroll),a.xp6(1),a.Q6J("ngIf",!L.virtualScroll),a.xp6(1),a.Q6J("ngIf",!L.loading&&(null==L.getRootNode()||0===L.getRootNode().length)),a.xp6(1),a.Q6J("ngTemplateOutlet",L.footerTemplate)}}function Ht(he,jt){1&he&&a.GkF(0)}function Kt(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(3);a.Tol("p-tree-loading-icon pi-spin "+L.loadingIcon)}}function yn(he,jt){1&he&&a._UZ(0,"SpinnerIcon",13),2&he&&a.Q6J("spin",!0)("styleClass","p-tree-loading-icon")}function Tn(he,jt){}function pi(he,jt){1&he&&a.YNc(0,Tn,0,0,"ng-template")}function nn(he,jt){if(1&he&&(a.TgZ(0,"span",14),a.YNc(1,pi,1,0,null,4),a.qZA()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngTemplateOutlet",L.loadingIconTemplate)}}function Ti(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,yn,1,2,"SpinnerIcon",11),a.YNc(2,nn,2,1,"span",12),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngIf",!L.loadingIconTemplate),a.xp6(1),a.Q6J("ngIf",L.loadingIconTemplate)}}function yi(he,jt){if(1&he&&(a.TgZ(0,"div",43),a.YNc(1,Kt,1,2,"i",10),a.YNc(2,Ti,3,2,"ng-container",7),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",L.loadingIcon),a.xp6(1),a.Q6J("ngIf",!L.loadingIcon)}}function Hr(he,jt){if(1&he&&(a.TgZ(0,"table"),a._UZ(1,"p-treeNode",44),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("node",L.value[0])("root",!0)}}function ss(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.hij(" ",L.emptyMessageLabel," ")}}function wr(he,jt){1&he&&a.GkF(0,null,40)}function Ki(he,jt){if(1&he&&(a.TgZ(0,"div",38),a.YNc(1,ss,2,1,"ng-container",39),a.YNc(2,wr,2,0,"ng-container",4),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",!L.emptyMessageTemplate)("ngIfElse",L.emptyFilter),a.xp6(1),a.Q6J("ngTemplateOutlet",L.emptyMessageTemplate)}}function yr(he,jt){1&he&&a.GkF(0)}const jr=function(he){return{"p-tree p-tree-horizontal p-component":!0,"p-tree-selectable":he}};function xs(he,jt){if(1&he&&(a.TgZ(0,"div",41),a.YNc(1,Ht,1,0,"ng-container",4),a.YNc(2,yi,3,2,"div",42),a.YNc(3,Hr,2,2,"table",7),a.YNc(4,Ki,3,3,"div",8),a.YNc(5,yr,1,0,"ng-container",4),a.qZA()),2&he){const L=a.oxw();a.Tol(L.styleClass),a.Q6J("ngClass",a.VKq(9,jr,L.selectionMode))("ngStyle",L.style),a.xp6(1),a.Q6J("ngTemplateOutlet",L.headerTemplate),a.xp6(1),a.Q6J("ngIf",L.loading),a.xp6(1),a.Q6J("ngIf",L.value&&L.value[0]),a.xp6(1),a.Q6J("ngIf",!L.loading&&(null==L.getRootNode()||0===L.getRootNode().length)),a.xp6(1),a.Q6J("ngTemplateOutlet",L.footerTemplate)}}let Co=(()=>{class he{static ICON_CLASS="p-treenode-icon ";rowNode;node;parentNode;root;index;firstChild;lastChild;level;indentation;itemSize;tree;timeout;draghoverPrev;draghoverNext;draghoverNode;get ariaSelected(){return"single"===this.tree.selectionMode||"multiple"===this.tree.selectionMode?this.isSelected():void 0}get ariaChecked(){return"checkbox"===this.tree.selectionMode?this.isSelected():void 0}constructor(L){this.tree=L}ngOnInit(){this.node.parent=this.parentNode,this.parentNode&&(this.setAllNodesTabIndexes(),this.tree.syncNodeOption(this.node,this.tree.value,"parent",this.tree.getNodeWithKey(this.parentNode.key,this.tree.value)))}getIcon(){let L;return L=this.node.icon?this.node.icon:this.node.expanded&&this.node.children&&this.node.children?.length?this.node.expandedIcon:this.node.collapsedIcon,he.ICON_CLASS+" "+L}isLeaf(){return this.tree.isNodeLeaf(this.node)}toggle(L){this.node.expanded?this.collapse(L):this.expand(L),L.stopPropagation()}expand(L){this.node.expanded=!0,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeExpand.emit({originalEvent:L,node:this.node})}collapse(L){this.node.expanded=!1,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeCollapse.emit({originalEvent:L,node:this.node})}onNodeClick(L){this.tree.onNodeClick(L,this.node)}onNodeKeydown(L){"Enter"===L.key&&this.tree.onNodeClick(L,this.node)}onNodeTouchEnd(){this.tree.onNodeTouchEnd()}onNodeRightClick(L){this.tree.onNodeRightClick(L,this.node)}isSelected(){return this.tree.isSelected(this.node)}isSameNode(L){return L.currentTarget&&(L.currentTarget.isSameNode(L.target)||L.currentTarget.isSameNode(L.target.closest('[role="treeitem"]')))}onDropPoint(L,Ue){L.preventDefault();let je=this.tree.dragNode,M=this.tree.dragNodeTree!==this.tree||1===Ue||this.tree.dragNodeIndex!==this.index-1;if(this.tree.allowDrop(je,this.node,this.tree.dragNodeScope)&&M){let W={...this.createDropPointEventMetadata(Ue)};this.tree.validateDrop?this.tree.onNodeDrop.emit({originalEvent:L,dragNode:je,dropNode:this.node,index:this.index,accept:()=>{this.processPointDrop(W)}}):(this.processPointDrop(W),this.tree.onNodeDrop.emit({originalEvent:L,dragNode:je,dropNode:this.node,index:this.index}))}this.draghoverPrev=!1,this.draghoverNext=!1}processPointDrop(L){let Ue=L.dropNode.parent?L.dropNode.parent.children:this.tree.value;L.dragNodeSubNodes.splice(L.dragNodeIndex,1);let je=this.index;L.position<0?(je=L.dragNodeSubNodes===Ue?L.dragNodeIndex>L.index?L.index:L.index-1:L.index,Ue.splice(je,0,L.dragNode)):(je=Ue.length,Ue.push(L.dragNode)),this.tree.dragDropService.stopDrag({node:L.dragNode,subNodes:L.dropNode.parent?L.dropNode.parent.children:this.tree.value,index:L.dragNodeIndex})}createDropPointEventMetadata(L){return{dragNode:this.tree.dragNode,dragNodeIndex:this.tree.dragNodeIndex,dragNodeSubNodes:this.tree.dragNodeSubNodes,dropNode:this.node,index:this.index,position:L}}onDropPointDragOver(L){L.dataTransfer.dropEffect="move",L.preventDefault()}onDropPointDragEnter(L,Ue){this.tree.allowDrop(this.tree.dragNode,this.node,this.tree.dragNodeScope)&&(Ue<0?this.draghoverPrev=!0:this.draghoverNext=!0)}onDropPointDragLeave(L){this.draghoverPrev=!1,this.draghoverNext=!1}onDragStart(L){this.tree.draggableNodes&&!1!==this.node.draggable?(L.dataTransfer.setData("text","data"),this.tree.dragDropService.startDrag({tree:this,node:this.node,subNodes:this.node?.parent?this.node.parent.children:this.tree.value,index:this.index,scope:this.tree.draggableScope})):L.preventDefault()}onDragStop(L){this.tree.dragDropService.stopDrag({node:this.node,subNodes:this.node?.parent?this.node.parent.children:this.tree.value,index:this.index})}onDropNodeDragOver(L){L.dataTransfer.dropEffect="move",this.tree.droppableNodes&&(L.preventDefault(),L.stopPropagation())}onDropNode(L){if(this.tree.droppableNodes&&!1!==this.node?.droppable){let Ue=this.tree.dragNode;if(this.tree.allowDrop(Ue,this.node,this.tree.dragNodeScope)){let je={...this.createDropNodeEventMetadata()};this.tree.validateDrop?this.tree.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:this.node,index:this.index,accept:()=>{this.processNodeDrop(je)}}):(this.processNodeDrop(je),this.tree.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:this.node,index:this.index}))}}L.preventDefault(),L.stopPropagation(),this.draghoverNode=!1}createDropNodeEventMetadata(){return{dragNode:this.tree.dragNode,dragNodeIndex:this.tree.dragNodeIndex,dragNodeSubNodes:this.tree.dragNodeSubNodes,dropNode:this.node}}processNodeDrop(L){let Ue=L.dragNodeIndex;L.dragNodeSubNodes.splice(Ue,1),L.dropNode.children?L.dropNode.children.push(L.dragNode):L.dropNode.children=[L.dragNode],this.tree.dragDropService.stopDrag({node:L.dragNode,subNodes:L.dropNode.parent?L.dropNode.parent.children:this.tree.value,index:Ue})}onDropNodeDragEnter(L){this.tree.droppableNodes&&!1!==this.node?.droppable&&this.tree.allowDrop(this.tree.dragNode,this.node,this.tree.dragNodeScope)&&(this.draghoverNode=!0)}onDropNodeDragLeave(L){if(this.tree.droppableNodes){let Ue=L.currentTarget.getBoundingClientRect();(L.x>Ue.left+Ue.width||L.x=Math.floor(Ue.top+Ue.height)||L.y0)this.focusRowChange(Ue,je.children[0]);else if(Ue.parentElement.nextElementSibling)this.focusRowChange(Ue,Ue.parentElement.nextElementSibling);else{let E=this.findNextSiblingOfAncestor(Ue.parentElement);E&&this.focusRowChange(Ue,E)}L.preventDefault()}onArrowRight(L){!this.node?.expanded&&!this.tree.isNodeLeaf(this.node)&&(this.expand(L),L.currentTarget.tabIndex=-1,setTimeout(()=>{this.onArrowDown(L)},1)),L.preventDefault()}onArrowLeft(L){const Ue="toggler"===L.target.getAttribute("data-pc-section")?L.target.closest('[role="treeitem"]'):L.target;if(0===this.level&&!this.node?.expanded)return!1;if(this.node?.expanded)return void this.collapse(L);let je=this.getParentNodeElement(Ue.parentElement);je&&this.focusRowChange(L.currentTarget,je),L.preventDefault()}onEnter(L){this.tree.onNodeClick(L,this.node),this.setTabIndexForSelectionMode(L,this.tree.nodeTouched),L.preventDefault()}setAllNodesTabIndexes(){const L=C.p.find(this.tree.el.nativeElement,".p-treenode"),Ue=[...L].some(je=>"true"===je.getAttribute("aria-selected")||"true"===je.getAttribute("aria-checked"));[...L].forEach(je=>{je.tabIndex=-1}),Ue?[...L].filter(E=>"true"===E.getAttribute("aria-selected")||"true"===E.getAttribute("aria-checked"))[0].tabIndex=0:[...L][0].tabIndex=0}setTabIndexForSelectionMode(L,Ue){if(null!==this.tree.selectionMode){const je=[...C.p.find(this.tree.el.nativeElement,".p-treenode")];L.currentTarget.tabIndex=!1===Ue?-1:0,je.every(E=>-1===E.tabIndex)&&(je[0].tabIndex=0)}}findNextSiblingOfAncestor(L){let Ue=this.getParentNodeElement(L);return Ue?Ue.nextElementSibling?Ue.nextElementSibling:this.findNextSiblingOfAncestor(Ue):null}findLastVisibleDescendant(L){const je=Array.from(L.children).find(E=>C.p.hasClass(E,"p-treenode")).children[1];return je&&je.children.length>0?this.findLastVisibleDescendant(je.children[je.children.length-1]):L}getParentNodeElement(L){const Ue=L.parentElement?.parentElement?.parentElement;return"P-TREENODE"===Ue?.tagName?Ue:null}focusNode(L){this.tree.droppableNodes?L.children[1].focus():L.children[0].focus()}focusRowChange(L,Ue,je){L.tabIndex="-1",Ue.children[0].tabIndex="0",this.focusNode(je||Ue)}focusVirtualNode(){this.timeout=setTimeout(()=>{let L=C.p.findSingle(document.body,`[data-id="${this.node?.key??this.node?.data}"]`);C.p.focus(L)},1)}static \u0275fac=function(Ue){return new(Ue||he)(a.Y36((0,a.Gpc)(()=>ns)))};static \u0275cmp=a.Xpm({type:he,selectors:[["p-treeNode"]],hostAttrs:[1,"p-element"],hostVars:1,hostBindings:function(Ue,je){2&Ue&&a.uIk("role","treeitem")},inputs:{rowNode:"rowNode",node:"node",parentNode:"parentNode",root:"root",index:"index",firstChild:"firstChild",lastChild:"lastChild",level:"level",indentation:"indentation",itemSize:"itemSize"},decls:1,vars:1,consts:[[3,"ngIf"],["class","p-treenode-droppoint",3,"ngClass","drop","dragover","dragenter","dragleave",4,"ngIf"],["role","treeitem",3,"ngClass","ngStyle","style","keydown",4,"ngIf"],[3,"class",4,"ngIf"],[1,"p-treenode-droppoint",3,"ngClass","drop","dragover","dragenter","dragleave"],["role","treeitem",3,"ngClass","ngStyle","keydown"],[1,"p-treenode-content",3,"draggable","ngClass","click","contextmenu","touchend","drop","dragover","dragenter","dragleave","dragstart","dragend"],["type","button","pRipple","","tabindex","-1","aria-hidden","true",1,"p-tree-toggler","p-link",3,"click"],[4,"ngIf"],["class","p-tree-toggler-icon",4,"ngIf"],["class","p-checkbox p-component","aria-hidden","true",3,"ngClass",4,"ngIf"],[1,"p-treenode-label"],["class","p-treenode-children","style","display: none;","role","group",3,"display",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[1,"p-tree-toggler-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"p-checkbox","p-component",3,"ngClass"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],["role","group",1,"p-treenode-children",2,"display","none"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level"],["class","p-treenode-connector",4,"ngIf"],[1,"p-treenode",3,"ngClass"],["tabindex","0",1,"p-treenode-content",3,"ngClass","click","contextmenu","touchend","keydown"],[3,"ngClass","click",4,"ngIf"],["class","p-treenode-children-container",3,"display",4,"ngIf"],[1,"p-treenode-connector"],[1,"p-treenode-connector-table"],[3,"ngClass"],[3,"ngClass","click"],[3,"styleClass","ariaLabel",4,"ngIf"],[3,"styleClass","ariaLabel"],[1,"p-treenode-children-container"],[1,"p-treenode-children"],[3,"node","firstChild","lastChild",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild"]],template:function(Ue,je){1&Ue&&a.YNc(0,Qt,4,4,"ng-template",0),2&Ue&&a.Q6J("ngIf",je.node)},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,b.H,N.n,x.v,H.X,P,X,he]},encapsulation:2})}return he})(),ns=(()=>{class he{el;dragDropService;config;cd;value;selectionMode;selection;style;styleClass;contextMenu;layout="vertical";draggableScope;droppableScope;draggableNodes;droppableNodes;metaKeySelection=!0;propagateSelectionUp=!0;propagateSelectionDown=!0;loading;loadingIcon;emptyMessage="";ariaLabel;togglerAriaLabel;ariaLabelledBy;validateDrop;filter;filterBy="label";filterMode="lenient";filterPlaceholder;filteredNodes;filterLocale;scrollHeight;lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;indentation=1.5;_templateMap;trackBy=(L,Ue)=>Ue;_virtualNodeHeight;get virtualNodeHeight(){return this._virtualNodeHeight}set virtualNodeHeight(L){this._virtualNodeHeight=L,console.warn("The virtualNodeHeight property is deprecated, use virtualScrollItemSize property instead.")}selectionChange=new a.vpe;onNodeSelect=new a.vpe;onNodeUnselect=new a.vpe;onNodeExpand=new a.vpe;onNodeCollapse=new a.vpe;onNodeContextMenuSelect=new a.vpe;onNodeDrop=new a.vpe;onLazyLoad=new a.vpe;onScroll=new a.vpe;onScrollIndexChange=new a.vpe;onFilter=new a.vpe;templates;filterViewChild;scroller;wrapperViewChild;serializedValue;headerTemplate;footerTemplate;loaderTemplate;emptyMessageTemplate;togglerIconTemplate;checkboxIconTemplate;loadingIconTemplate;filterIconTemplate;nodeTouched;dragNodeTree;dragNode;dragNodeSubNodes;dragNodeIndex;dragNodeScope;dragHover;dragStartSubscription;dragStopSubscription;constructor(L,Ue,je,E){this.el=L,this.dragDropService=Ue,this.config=je,this.cd=E}ngOnInit(){this.droppableNodes&&(this.dragStartSubscription=this.dragDropService.dragStart$.subscribe(L=>{this.dragNodeTree=L.tree,this.dragNode=L.node,this.dragNodeSubNodes=L.subNodes,this.dragNodeIndex=L.index,this.dragNodeScope=L.scope}),this.dragStopSubscription=this.dragDropService.dragStop$.subscribe(L=>{this.dragNodeTree=null,this.dragNode=null,this.dragNodeSubNodes=null,this.dragNodeIndex=null,this.dragNodeScope=null,this.dragHover=!1}))}ngOnChanges(L){L.value&&this.updateSerializedValue()}get horizontal(){return"horizontal"==this.layout}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(y.ws.EMPTY_MESSAGE)}ngAfterContentInit(){this.templates.length&&(this._templateMap={}),this.templates.forEach(L=>{switch(L.getType()){case"header":this.headerTemplate=L.template;break;case"empty":this.emptyMessageTemplate=L.template;break;case"footer":this.footerTemplate=L.template;break;case"loader":this.loaderTemplate=L.template;break;case"togglericon":this.togglerIconTemplate=L.template;break;case"checkboxicon":this.checkboxIconTemplate=L.template;break;case"loadingicon":this.loadingIconTemplate=L.template;break;case"filtericon":this.filterIconTemplate=L.template;break;default:this._templateMap[L.name]=L.template}})}updateSerializedValue(){this.serializedValue=[],this.serializeNodes(null,this.getRootNode(),0,!0)}serializeNodes(L,Ue,je,E){if(Ue&&Ue.length)for(let v of Ue){v.parent=L;const M={node:v,parent:L,level:je,visible:E&&(!L||L.expanded)};this.serializedValue.push(M),M.visible&&v.expanded&&this.serializeNodes(v,v.children,je+1,M.visible)}}onNodeClick(L,Ue){let je=L.target;if(!C.p.hasClass(je,"p-tree-toggler")&&!C.p.hasClass(je,"p-tree-toggler-icon")){if(this.selectionMode){if(!1===Ue.selectable||this.hasFilteredNodes()&&!(Ue=this.getNodeWithKey(Ue.key,this.value)))return;let E=this.findIndexInSelection(Ue),v=E>=0;if(this.isCheckboxSelectionMode())v?(this.propagateSelectionDown?this.propagateDown(Ue,!1):this.selection=this.selection.filter((M,W)=>W!=E),this.propagateSelectionUp&&Ue.parent&&this.propagateUp(Ue.parent,!1),this.selectionChange.emit(this.selection),this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.propagateSelectionDown?this.propagateDown(Ue,!0):this.selection=[...this.selection||[],Ue],this.propagateSelectionUp&&Ue.parent&&this.propagateUp(Ue.parent,!0),this.selectionChange.emit(this.selection),this.onNodeSelect.emit({originalEvent:L,node:Ue}));else if(!this.nodeTouched&&this.metaKeySelection){let W=L.metaKey||L.ctrlKey;v&&W?(this.isSingleSelectionMode()?this.selectionChange.emit(null):(this.selection=this.selection.filter((ue,be)=>be!=E),this.selectionChange.emit(this.selection)),this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.isSingleSelectionMode()?this.selectionChange.emit(Ue):this.isMultipleSelectionMode()&&(this.selection=W&&this.selection||[],this.selection=[...this.selection,Ue],this.selectionChange.emit(this.selection)),this.onNodeSelect.emit({originalEvent:L,node:Ue}))}else this.isSingleSelectionMode()?v?(this.selection=null,this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.selection=Ue,this.onNodeSelect.emit({originalEvent:L,node:Ue})):v?(this.selection=this.selection.filter((W,ue)=>ue!=E),this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.selection=[...this.selection||[],Ue],this.onNodeSelect.emit({originalEvent:L,node:Ue})),this.selectionChange.emit(this.selection)}this.nodeTouched=!1}}onNodeTouchEnd(){this.nodeTouched=!0}onNodeRightClick(L,Ue){if(this.contextMenu){let je=L.target;if(je.className&&0===je.className.indexOf("p-tree-toggler"))return;this.findIndexInSelection(Ue)>=0||(this.isSingleSelectionMode()?this.selectionChange.emit(Ue):this.selectionChange.emit([Ue])),this.contextMenu.show(L),this.onNodeContextMenuSelect.emit({originalEvent:L,node:Ue})}}findIndexInSelection(L){let Ue=-1;if(this.selectionMode&&this.selection)if(this.isSingleSelectionMode())Ue=this.selection.key&&this.selection.key===L.key||this.selection==L?0:-1;else for(let je=0;je=0&&(this.selection=this.selection.filter((W,ue)=>ue!=M))}L.partialSelected=!!(v||E>0&&E!=L.children.length)}this.syncNodeOption(L,this.filteredNodes,"partialSelected")}let je=L.parent;je&&this.propagateUp(je,Ue)}propagateDown(L,Ue){let je=this.findIndexInSelection(L);if(Ue&&-1==je?this.selection=[...this.selection||[],L]:!Ue&&je>-1&&(this.selection=this.selection.filter((E,v)=>v!=je)),L.partialSelected=!1,this.syncNodeOption(L,this.filteredNodes,"partialSelected"),L.children&&L.children.length)for(let E of L.children)this.propagateDown(E,Ue)}isSelected(L){return-1!=this.findIndexInSelection(L)}isSingleSelectionMode(){return this.selectionMode&&"single"==this.selectionMode}isMultipleSelectionMode(){return this.selectionMode&&"multiple"==this.selectionMode}isCheckboxSelectionMode(){return this.selectionMode&&"checkbox"==this.selectionMode}isNodeLeaf(L){return 0!=L.leaf&&!(L.children&&L.children.length)}getRootNode(){return this.filteredNodes?this.filteredNodes:this.value}getTemplateForNode(L){return this._templateMap?L.type?this._templateMap[L.type]:this._templateMap.default:null}onDragOver(L){this.droppableNodes&&(!this.value||0===this.value.length)&&(L.dataTransfer.dropEffect="move",L.preventDefault())}onDrop(L){if(this.droppableNodes&&(!this.value||0===this.value.length)){L.preventDefault();let Ue=this.dragNode;if(this.allowDrop(Ue,null,this.dragNodeScope)){let je=this.dragNodeIndex;this.value=this.value||[],this.validateDrop?this.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:null,index:je,accept:()=>{this.processTreeDrop(Ue,je)}}):(this.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:null,index:je}),this.processTreeDrop(Ue,je))}}}processTreeDrop(L,Ue){this.dragNodeSubNodes.splice(Ue,1),this.value.push(L),this.dragDropService.stopDrag({node:L})}onDragEnter(){this.droppableNodes&&this.allowDrop(this.dragNode,null,this.dragNodeScope)&&(this.dragHover=!0)}onDragLeave(L){if(this.droppableNodes){let Ue=L.currentTarget.getBoundingClientRect();(L.x>Ue.left+Ue.width||L.xUe.top+Ue.height||L.y-1&&(M=!0);return(!M||v&&!this.isNodeLeaf(L))&&(M=this.findFilteredNodes(L,{searchFields:je,filterText:E,isStrictMode:v})||M),M}getIndex(L,Ue){const je=L.getItemOptions;return je?je(Ue).index:Ue}getBlockableElement(){return this.el.nativeElement.children[0]}ngOnDestroy(){this.dragStartSubscription&&this.dragStartSubscription.unsubscribe(),this.dragStopSubscription&&this.dragStopSubscription.unsubscribe()}static \u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.SBq),a.Y36(y.Y,8),a.Y36(y.b4),a.Y36(a.sBO))};static \u0275cmp=a.Xpm({type:he,selectors:[["p-tree"]],contentQueries:function(Ue,je,E){if(1&Ue&&a.Suo(E,y.jx,4),2&Ue){let v;a.iGM(v=a.CRH())&&(je.templates=v)}},viewQuery:function(Ue,je){if(1&Ue&&(a.Gf(ki,5),a.Gf(ta,5),a.Gf(Pi,5)),2&Ue){let E;a.iGM(E=a.CRH())&&(je.filterViewChild=E.first),a.iGM(E=a.CRH())&&(je.scroller=E.first),a.iGM(E=a.CRH())&&(je.wrapperViewChild=E.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",selectionMode:"selectionMode",selection:"selection",style:"style",styleClass:"styleClass",contextMenu:"contextMenu",layout:"layout",draggableScope:"draggableScope",droppableScope:"droppableScope",draggableNodes:"draggableNodes",droppableNodes:"droppableNodes",metaKeySelection:"metaKeySelection",propagateSelectionUp:"propagateSelectionUp",propagateSelectionDown:"propagateSelectionDown",loading:"loading",loadingIcon:"loadingIcon",emptyMessage:"emptyMessage",ariaLabel:"ariaLabel",togglerAriaLabel:"togglerAriaLabel",ariaLabelledBy:"ariaLabelledBy",validateDrop:"validateDrop",filter:"filter",filterBy:"filterBy",filterMode:"filterMode",filterPlaceholder:"filterPlaceholder",filteredNodes:"filteredNodes",filterLocale:"filterLocale",scrollHeight:"scrollHeight",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",indentation:"indentation",_templateMap:"_templateMap",trackBy:"trackBy",virtualNodeHeight:"virtualNodeHeight"},outputs:{selectionChange:"selectionChange",onNodeSelect:"onNodeSelect",onNodeUnselect:"onNodeUnselect",onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onNodeContextMenuSelect:"onNodeContextMenuSelect",onNodeDrop:"onNodeDrop",onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange",onFilter:"onFilter"},features:[a.TTD],decls:2,vars:2,consts:[[3,"ngClass","ngStyle","class","drop","dragover","dragenter","dragleave",4,"ngIf"],[3,"ngClass","ngStyle","class",4,"ngIf"],[3,"ngClass","ngStyle","drop","dragover","dragenter","dragleave"],["class","p-tree-loading-overlay p-component-overlay",4,"ngIf"],[4,"ngTemplateOutlet"],["class","p-tree-filter-container",4,"ngIf"],["styleClass","p-tree-wrapper",3,"items","tabindex","style","scrollHeight","itemSize","lazy","options","onScroll","onScrollIndexChange","onLazyLoad",4,"ngIf"],[4,"ngIf"],["class","p-tree-empty-message",4,"ngIf"],[1,"p-tree-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-tree-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-tree-loading-icon"],[1,"p-tree-filter-container"],["type","text","autocomplete","off",1,"p-tree-filter","p-inputtext","p-component",3,"keydown.enter","input"],["filter",""],[3,"styleClass",4,"ngIf"],["class","p-tree-filter-icon",4,"ngIf"],[3,"styleClass"],[1,"p-tree-filter-icon"],["styleClass","p-tree-wrapper",3,"items","tabindex","scrollHeight","itemSize","lazy","options","onScroll","onScrollIndexChange","onLazyLoad"],["scroller",""],["pTemplate","content"],["class","p-tree-container","role","tree",3,"ngClass","style",4,"ngIf"],["role","tree",1,"p-tree-container",3,"ngClass"],[3,"level","rowNode","node","firstChild","lastChild","index","itemSize","indentation",4,"ngFor","ngForOf","ngForTrackBy"],[3,"level","rowNode","node","firstChild","lastChild","index","itemSize","indentation"],["treeNode",""],["pTemplate","loader"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-tree-wrapper"],["wrapper",""],["class","p-tree-container","role","tree",4,"ngIf"],["role","tree",1,"p-tree-container"],[3,"node","firstChild","lastChild","index","level",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild","index","level"],[1,"p-tree-empty-message"],[4,"ngIf","ngIfElse"],["emptyFilter",""],[3,"ngClass","ngStyle"],["class","p-tree-loading-mask p-component-overlay",4,"ngIf"],[1,"p-tree-loading-mask","p-component-overlay"],[3,"node","root"]],template:function(Ue,je){1&Ue&&(a.YNc(0,it,8,16,"div",0),a.YNc(1,xs,6,11,"div",1)),2&Ue&&(a.Q6J("ngIf",!je.horizontal),a.xp6(1),a.Q6J("ngIf",je.horizontal))},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,y.jx,F.T,me.W,Oe.L,Co]},styles:["@layer primeng{.p-tree-container{margin:0;padding:0;list-style-type:none;overflow:auto}.p-treenode-children{margin:0;padding:0;list-style-type:none}.p-tree-wrapper{overflow:auto}.p-treenode-selectable{cursor:pointer;-webkit-user-select:none;user-select:none}.p-tree-toggler{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative;flex-shrink:0}.p-treenode-leaf>.p-treenode-content .p-tree-toggler{visibility:hidden}.p-treenode-content{display:flex;align-items:center}.p-tree-filter{width:100%}.p-tree-filter-container{position:relative;display:block;width:100%}.p-tree-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-tree-loading{position:relative;min-height:4rem}.p-tree .p-tree-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2}.p-tree-flex-scrollable{display:flex;flex:1;height:100%;flex-direction:column}.p-tree-flex-scrollable .p-tree-wrapper{flex:1}.p-tree .p-treenode-droppoint{height:4px;list-style-type:none}.p-tree .p-treenode-droppoint-active{border:0 none}.p-tree-horizontal{width:auto;padding-left:0;padding-right:0;overflow:auto}.p-tree.p-tree-horizontal table,.p-tree.p-tree-horizontal tr,.p-tree.p-tree-horizontal td{border-collapse:collapse;margin:0;padding:0;vertical-align:middle}.p-tree-horizontal .p-treenode-content{font-weight:400;padding:.4em 1em .4em .2em;display:flex;align-items:center}.p-tree-horizontal .p-treenode-parent .p-treenode-content{font-weight:400;white-space:nowrap}.p-tree.p-tree-horizontal .p-treenode{background:url(data:image/gif;base64,R0lGODlhAQABAIAAALGxsf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4xLWMwMzQgNDYuMjcyOTc2LCBTYXQgSmFuIDI3IDIwMDcgMjI6Mzc6MzcgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhhcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+CiAgICAgICAgIDx4YXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTMzwveGFwOkNyZWF0b3JUb29sPgogICAgICAgICA8eGFwOkNyZWF0ZURhdGU+MjAxMC0wMy0xMVQxMDoxNjo0MVo8L3hhcDpDcmVhdGVEYXRlPgogICAgICAgICA8eGFwOk1vZGlmeURhdGU+MjAxMC0wMy0xMVQxMjo0NDoxOVo8L3hhcDpNb2RpZnlEYXRlPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIj4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9naWY8L2RjOmZvcm1hdD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PAA6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQABwD/ACwAAAAAAQABAAACAkQBADs=) repeat-x scroll center center transparent;padding:.25rem 2.5rem}.p-tree.p-tree-horizontal .p-treenode.p-treenode-leaf,.p-tree.p-tree-horizontal .p-treenode.p-treenode-collapsed{padding-right:0}.p-tree.p-tree-horizontal .p-treenode-children{padding:0;margin:0}.p-tree.p-tree-horizontal .p-treenode-connector{width:1px}.p-tree.p-tree-horizontal .p-treenode-connector-table{height:100%;width:1px}.p-tree.p-tree-horizontal .p-treenode-connector-line{background:url(data:image/gif;base64,R0lGODlhAQABAIAAALGxsf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4xLWMwMzQgNDYuMjcyOTc2LCBTYXQgSmFuIDI3IDIwMDcgMjI6Mzc6MzcgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhhcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+CiAgICAgICAgIDx4YXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTMzwveGFwOkNyZWF0b3JUb29sPgogICAgICAgICA8eGFwOkNyZWF0ZURhdGU+MjAxMC0wMy0xMVQxMDoxNjo0MVo8L3hhcDpDcmVhdGVEYXRlPgogICAgICAgICA8eGFwOk1vZGlmeURhdGU+MjAxMC0wMy0xMVQxMjo0NDoxOVo8L3hhcDpNb2RpZnlEYXRlPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIj4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9naWY8L2RjOmZvcm1hdD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PAA6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQABwD/ACwAAAAAAQABAAACAkQBADs=) repeat-y scroll 0 0 transparent;width:1px}.p-tree.p-tree-horizontal table{height:0}.p-scroller .p-tree-container{overflow:visible}}\n"],encapsulation:2})}return he})(),Nr=(()=>{class he{static \u0275fac=function(Ue){return new(Ue||he)};static \u0275mod=a.oAB({type:he});static \u0275inj=a.cJS({imports:[i.ez,y.m8,b.T,F.v,N.n,x.v,H.X,P,me.W,Oe.L,X,y.m8,F.v]})}return he})();var To=m(6929),Bs=m(979);const Eo=["container"],wo=["focusInput"],Ra=["filter"],Ps=["tree"],Ds=["panel"],St=["overlay"],En=["firstHiddenFocusableEl"],dt=["lastHiddenFocusableEl"];function Tt(he,jt){1&he&&a.GkF(0)}const un=function(he,jt){return{$implicit:he,placeholder:jt}};function Yn(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Tt,1,0,"ng-container",16),a.BQk()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngTemplateOutlet",L.valueTemplate)("ngTemplateOutletContext",a.WLB(2,un,L.value,L.placeholder))}}function Ui(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(2);a.xp6(1),a.hij(" ",L.label||"empty"," ")}}function Gi(he,jt){if(1&he&&(a.TgZ(0,"div",19)(1,"span",20),a._uU(2),a.qZA()()),2&he){const L=jt.$implicit;a.xp6(2),a.Oqu(L.label)}}function _r(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Oqu(L.placeholder||"empty")}}function us(he,jt){if(1&he&&(a.YNc(0,Gi,3,1,"div",18),a.YNc(1,_r,2,1,"ng-container",9)),2&he){const L=a.oxw(2);a.Q6J("ngForOf",L.value),a.xp6(1),a.Q6J("ngIf",L.emptyValue)}}function So(he,jt){if(1&he&&(a.YNc(0,Ui,2,1,"ng-container",7),a.YNc(1,us,2,2,"ng-template",null,17,a.W1O)),2&he){const L=a.MAs(2),Ue=a.oxw();a.Q6J("ngIf","comma"===Ue.display)("ngIfElse",L)}}function Fo(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"TimesIcon",23),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.clear(je))}),a.qZA()}2&he&&a.Q6J("styleClass","p-treeselect-clear-icon")}function Ks(he,jt){}function na(he,jt){1&he&&a.YNc(0,Ks,0,0,"ng-template")}function _s(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"span",24),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.clear(je))}),a.YNc(1,na,1,0,null,25),a.qZA()}if(2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngTemplateOutlet",L.clearIconTemplate)}}function ko(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Fo,1,1,"TimesIcon",21),a.YNc(2,_s,2,1,"span",22),a.BQk()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngIf",!L.clearIconTemplate),a.xp6(1),a.Q6J("ngIf",L.clearIconTemplate)}}function da(he,jt){1&he&&a._UZ(0,"ChevronDownIcon",26),2&he&&a.Q6J("styleClass","p-treeselect-trigger-icon")}function Wa(he,jt){}function er(he,jt){1&he&&a.YNc(0,Wa,0,0,"ng-template")}function Cr(he,jt){if(1&he&&(a.TgZ(0,"span",27),a.YNc(1,er,1,0,null,25),a.qZA()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngTemplateOutlet",L.triggerIconTemplate)}}function Ss(he,jt){1&he&&a.GkF(0)}function br(he,jt){1&he&&a._UZ(0,"SearchIcon",26),2&he&&a.Q6J("styleClass","p-treeselect-filter-icon")}function ds(he,jt){}function Yo(he,jt){1&he&&a.YNc(0,ds,0,0,"ng-template")}function gl(he,jt){if(1&he&&(a.TgZ(0,"span",43),a.YNc(1,Yo,1,0,null,25),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.filterIconTemplate)}}function ha(he,jt){1&he&&a._UZ(0,"TimesIcon")}function as(he,jt){}function Na(he,jt){1&he&&a.YNc(0,as,0,0,"ng-template")}function Ma(he,jt){if(1&he&&(a.TgZ(0,"span"),a.YNc(1,Na,1,0,null,25),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.closeIconTemplate)}}function Fi(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",37),a.NdJ("keydown.arrowdown",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onArrowDown(je))}),a.TgZ(1,"div",38)(2,"input",39,40),a.NdJ("keydown.enter",function(je){return je.preventDefault()})("input",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onFilterInput(je))}),a.qZA(),a.YNc(4,br,1,1,"SearchIcon",11),a.YNc(5,gl,2,1,"span",41),a.qZA(),a.TgZ(6,"button",42),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.hide())}),a.YNc(7,ha,1,0,"TimesIcon",9),a.YNc(8,Ma,2,1,"span",9),a.qZA()()}if(2&he){const L=a.oxw(2);a.xp6(2),a.Q6J("value",L.filterValue),a.uIk("placeholder",L.filterPlaceholder),a.xp6(2),a.Q6J("ngIf",!L.filterIconTemplate),a.xp6(1),a.Q6J("ngIf",L.filterIconTemplate),a.xp6(2),a.Q6J("ngIf",!L.closeIconTemplate),a.xp6(1),a.Q6J("ngIf",L.closeIconTemplate)}}function _i(he,jt){1&he&&a.GkF(0)}function dr(he,jt){if(1&he&&a.YNc(0,_i,1,0,"ng-container",25),2&he){const L=a.oxw(3);a.Q6J("ngTemplateOutlet",L.emptyTemplate)}}function $r(he,jt){1&he&&(a.ynx(0),a.YNc(1,dr,1,1,"ng-template",44),a.BQk())}function Fr(he,jt){1&he&&a.GkF(0)}const Ho=function(he){return{$implicit:he}};function no(he,jt){if(1&he&&a.YNc(0,Fr,1,0,"ng-container",16),2&he){const L=jt.$implicit,Ue=a.oxw(3);a.Q6J("ngTemplateOutlet",Ue.itemTogglerIconTemplate)("ngTemplateOutletContext",a.VKq(2,Ho,L))}}function Vr(he,jt){1&he&&a.YNc(0,no,1,4,"ng-template",45)}function os(he,jt){}function $o(he,jt){1&he&&a.YNc(0,os,0,0,"ng-template")}function Ko(he,jt){if(1&he&&a.YNc(0,$o,1,0,null,25),2&he){const L=a.oxw(3);a.Q6J("ngTemplateOutlet",L.itemCheckboxIconTemplate)}}function Rn(he,jt){1&he&&a.YNc(0,Ko,1,1,"ng-template",46)}function Mo(he,jt){1&he&&a.GkF(0)}function Aa(he,jt){if(1&he&&a.YNc(0,Mo,1,0,"ng-container",25),2&he){const L=a.oxw(3);a.Q6J("ngTemplateOutlet",L.itemLoadingIconTemplate)}}function Xr(he,jt){1&he&&a.YNc(0,Aa,1,1,"ng-template",47)}function gr(he,jt){1&he&&a.GkF(0)}const Us=function(he,jt){return{$implicit:he,options:jt}},Rs=function(he){return{"max-height":he}};function Mr(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",28,29)(2,"span",30,31),a.NdJ("focus",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onFirstHiddenFocus(je))}),a.qZA(),a.YNc(4,Ss,1,0,"ng-container",16),a.YNc(5,Fi,9,6,"div",32),a.TgZ(6,"div",33)(7,"p-tree",34,35),a.NdJ("selectionChange",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onSelectionChange(je))})("onNodeExpand",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.nodeExpand(je))})("onNodeCollapse",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.nodeCollapse(je))})("onNodeSelect",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onSelect(je))})("onNodeUnselect",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onUnselect(je))}),a.YNc(9,$r,2,0,"ng-container",9),a.YNc(10,Vr,1,0,null,9),a.YNc(11,Rn,1,0,null,9),a.YNc(12,Xr,1,0,null,9),a.qZA()(),a.YNc(13,gr,1,0,"ng-container",16),a.TgZ(14,"span",30,36),a.NdJ("focus",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onLastHiddenFocus(je))}),a.qZA()()}if(2&he){const L=a.oxw();a.Tol(L.panelStyleClass),a.Q6J("ngStyle",L.panelStyle)("ngClass",L.panelClass),a.xp6(2),a.uIk("aria-hidden","true")("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),a.xp6(2),a.Q6J("ngTemplateOutlet",L.headerTemplate)("ngTemplateOutletContext",a.WLB(35,Us,L.value,L.options)),a.xp6(1),a.Q6J("ngIf",L.filter),a.xp6(1),a.Q6J("ngStyle",a.VKq(38,Rs,L.scrollHeight)),a.xp6(1),a.Q6J("value",L.options)("propagateSelectionDown",L.propagateSelectionDown)("propagateSelectionUp",L.propagateSelectionUp)("selectionMode",L.selectionMode)("selection",L.value)("metaKeySelection",L.metaKeySelection)("emptyMessage",L.emptyMessage)("filterBy",L.filterBy)("filterMode",L.filterMode)("filterPlaceholder",L.filterPlaceholder)("filterLocale",L.filterLocale)("filteredNodes",L.filteredNodes)("_templateMap",L.templateMap),a.xp6(2),a.Q6J("ngIf",L.emptyTemplate),a.xp6(1),a.Q6J("ngIf",L.itemTogglerIconTemplate),a.xp6(1),a.Q6J("ngIf",L.itemCheckboxIconTemplate),a.xp6(1),a.Q6J("ngIf",L.itemLoadingIconTemplate),a.xp6(1),a.Q6J("ngTemplateOutlet",L.footerTemplate)("ngTemplateOutletContext",a.WLB(40,Us,L.value,L.options)),a.xp6(1),a.uIk("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Zr={provide:t.JU,useExisting:(0,a.Gpc)(()=>Ji),multi:!0};let Ji=(()=>{class he{config;cd;el;overlayService;inputId;scrollHeight="400px";disabled;metaKeySelection=!0;display="comma";selectionMode="single";tabindex="0";ariaLabel;ariaLabelledBy;placeholder;panelClass;panelStyle;panelStyleClass;containerStyle;containerStyleClass;labelStyle;labelStyleClass;overlayOptions;emptyMessage="";appendTo;filter=!1;filterBy="label";filterMode="lenient";filterPlaceholder;filterLocale;filterInputAutoFocus=!0;propagateSelectionDown=!0;propagateSelectionUp=!0;showClear=!1;resetFilterOnHide=!0;get options(){return this._options}set options(L){this._options=L,this.updateTreeState()}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(L){this._showTransitionOptions=L,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(L){this._hideTransitionOptions=L,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}onNodeExpand=new a.vpe;onNodeCollapse=new a.vpe;onShow=new a.vpe;onHide=new a.vpe;onClear=new a.vpe;onFilter=new a.vpe;onNodeUnselect=new a.vpe;onNodeSelect=new a.vpe;_showTransitionOptions;_hideTransitionOptions;templates;containerEl;focusInput;filterViewChild;treeViewChild;panelEl;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;filteredNodes;filterValue=null;serializedValue;valueTemplate;headerTemplate;emptyTemplate;footerTemplate;clearIconTemplate;triggerIconTemplate;filterIconTemplate;closeIconTemplate;itemTogglerIconTemplate;itemCheckboxIconTemplate;itemLoadingIconTemplate;focused;overlayVisible;selfChange;value;expandedNodes=[];_options;templateMap;onModelChange=()=>{};onModelTouched=()=>{};listId="";constructor(L,Ue,je,E){this.config=L,this.cd=Ue,this.el=je,this.overlayService=E}ngOnInit(){this.listId=(0,j.Th)()+"_list",this.updateTreeState()}ngAfterContentInit(){this.templates.length&&(this.templateMap={}),this.templates.forEach(L=>{switch(L.getType()){case"value":this.valueTemplate=L.template;break;case"header":this.headerTemplate=L.template;break;case"empty":this.emptyTemplate=L.template;break;case"footer":this.footerTemplate=L.template;break;case"clearicon":this.clearIconTemplate=L.template;break;case"triggericon":this.triggerIconTemplate=L.template;break;case"filtericon":this.filterIconTemplate=L.template;break;case"closeicon":this.closeIconTemplate=L.template;break;case"itemtogglericon":this.itemTogglerIconTemplate=L.template;break;case"itemcheckboxicon":this.itemCheckboxIconTemplate=L.template;break;case"itemloadingicon":this.itemLoadingIconTemplate=L.template;break;default:L.name?this.templateMap[L.name]=L.template:this.valueTemplate=L.template}})}onOverlayAnimationStart(L){if("visible"===L.toState)if(this.filter)j.gb.isNotEmpty(this.filterValue)&&this.treeViewChild?._filter(this.filterValue),this.filterInputAutoFocus&&this.filterViewChild?.nativeElement.focus();else{let Ue=C.p.getFocusableElements(this.panelEl.nativeElement);Ue&&Ue.length>0&&Ue[0].focus()}}onSelectionChange(L){this.value=L,this.onModelChange(this.value),this.cd.markForCheck()}onClick(L){this.disabled||!this.overlayViewChild?.el?.nativeElement?.contains(L.target)&&!C.p.hasClass(L.target,"p-treeselect-close")&&(this.overlayVisible?this.hide():this.show(),this.focusInput?.nativeElement.focus())}onKeyDown(L){switch(L.code){case"ArrowDown":this.overlayVisible||(this.show(),L.preventDefault()),this.onArrowDown(L),L.preventDefault();break;case"Space":case"Enter":this.overlayVisible||(this.show(),L.preventDefault());break;case"Escape":this.overlayVisible&&(this.hide(),this.focusInput?.nativeElement.focus(),L.preventDefault());break;case"Tab":this.onTabKey(L)}}onFilterInput(L){this.filterValue=L.target.value,this.treeViewChild?._filter(this.filterValue),this.onFilter.emit({originalEvent:L,filteredValue:this.treeViewChild?.filteredNodes})}onArrowDown(L){if(this.overlayVisible&&this.panelEl?.nativeElement){let Ue=C.p.getFocusableElements(this.panelEl.nativeElement,".p-treenode");Ue&&Ue.length>0&&Ue[0].focus(),L.preventDefault()}}onFirstHiddenFocus(L){const Ue=L.relatedTarget===this.focusInput?.nativeElement?C.p.getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;C.p.focus(Ue)}onLastHiddenFocus(L){const Ue=L.relatedTarget===this.focusInput?.nativeElement?C.p.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;C.p.focus(Ue)}show(){this.overlayVisible=!0}hide(L){this.overlayVisible=!1,this.resetFilter(),this.onHide.emit(L),this.cd.markForCheck()}clear(L){this.value=null,this.resetExpandedNodes(),this.resetPartialSelected(),this.onModelChange(this.value),this.onClear.emit(),L.stopPropagation()}checkValue(){return null!==this.value&&j.gb.isNotEmpty(this.value)}onTabKey(L,Ue=!1){Ue||(this.overlayVisible&&this.hasFocusableElements()?(C.p.focus(L.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),L.preventDefault()):this.overlayVisible&&this.hide(this.filter))}hasFocusableElements(){return C.p.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}resetFilter(){this.filter&&!this.resetFilterOnHide?(this.filteredNodes=this.treeViewChild?.filteredNodes,this.treeViewChild?.resetFilter()):this.filterValue=null}updateTreeState(){if(this.value){let L="single"===this.selectionMode?[this.value]:[...this.value];this.resetExpandedNodes(),this.resetPartialSelected(),L&&this.options&&this.updateTreeBranchState(null,null,L)}}updateTreeBranchState(L,Ue,je){if(L){if(this.isSelected(L)&&(this.expandPath(Ue),je.splice(je.indexOf(L),1)),je.length>0&&L.children)for(let E of L.children)this.updateTreeBranchState(E,[...Ue,L],je)}else for(let E of this.options)this.updateTreeBranchState(E,[],je)}expandPath(L){for(let Ue of L)Ue.expanded=!0;this.expandedNodes=[...L]}nodeExpand(L){this.onNodeExpand.emit(L),this.expandedNodes.push(L.node)}nodeCollapse(L){this.onNodeCollapse.emit(L),this.expandedNodes.splice(this.expandedNodes.indexOf(L.node),1)}resetExpandedNodes(){for(let L of this.expandedNodes)L.expanded=!1;this.expandedNodes=[]}resetPartialSelected(L=this.options){if(L)for(let Ue of L)Ue.partialSelected=!1,Ue.children&&Ue.children?.length>0&&this.resetPartialSelected(Ue.children)}findSelectedNodes(L,Ue,je){if(L){if(this.isSelected(L)&&(je.push(L),delete Ue[L.key]),Object.keys(Ue).length&&L.children)for(let E of L.children)this.findSelectedNodes(E,Ue,je)}else for(let E of this.options)this.findSelectedNodes(E,Ue,je)}isSelected(L){return-1!=this.findIndexInSelection(L)}findIndexInSelection(L){let Ue=-1;if(this.value)if("single"===this.selectionMode)Ue=this.value.key&&this.value.key===L.key||this.value==L?0:-1;else for(let je=0;jeUe.label).join(", "):"single"===this.selectionMode&&this.value?L.label:this.placeholder}static \u0275fac=function(Ue){return new(Ue||he)(a.Y36(y.b4),a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(y.F0))};static \u0275cmp=a.Xpm({type:he,selectors:[["p-treeSelect"]],contentQueries:function(Ue,je,E){if(1&Ue&&a.Suo(E,y.jx,4),2&Ue){let v;a.iGM(v=a.CRH())&&(je.templates=v)}},viewQuery:function(Ue,je){if(1&Ue&&(a.Gf(Eo,5),a.Gf(wo,5),a.Gf(Ra,5),a.Gf(Ps,5),a.Gf(Ds,5),a.Gf(St,5),a.Gf(En,5),a.Gf(dt,5)),2&Ue){let E;a.iGM(E=a.CRH())&&(je.containerEl=E.first),a.iGM(E=a.CRH())&&(je.focusInput=E.first),a.iGM(E=a.CRH())&&(je.filterViewChild=E.first),a.iGM(E=a.CRH())&&(je.treeViewChild=E.first),a.iGM(E=a.CRH())&&(je.panelEl=E.first),a.iGM(E=a.CRH())&&(je.overlayViewChild=E.first),a.iGM(E=a.CRH())&&(je.firstHiddenFocusableElementOnOverlay=E.first),a.iGM(E=a.CRH())&&(je.lastHiddenFocusableElementOnOverlay=E.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(Ue,je){2&Ue&&a.ekj("p-inputwrapper-filled",!je.emptyValue)("p-inputwrapper-focus",je.focused)("p-treeselect-clearable",je.showClear&&!je.disabled)},inputs:{inputId:"inputId",scrollHeight:"scrollHeight",disabled:"disabled",metaKeySelection:"metaKeySelection",display:"display",selectionMode:"selectionMode",tabindex:"tabindex",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",placeholder:"placeholder",panelClass:"panelClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",containerStyle:"containerStyle",containerStyleClass:"containerStyleClass",labelStyle:"labelStyle",labelStyleClass:"labelStyleClass",overlayOptions:"overlayOptions",emptyMessage:"emptyMessage",appendTo:"appendTo",filter:"filter",filterBy:"filterBy",filterMode:"filterMode",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",filterInputAutoFocus:"filterInputAutoFocus",propagateSelectionDown:"propagateSelectionDown",propagateSelectionUp:"propagateSelectionUp",showClear:"showClear",resetFilterOnHide:"resetFilterOnHide",options:"options",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onShow:"onShow",onHide:"onHide",onClear:"onClear",onFilter:"onFilter",onNodeUnselect:"onNodeUnselect",onNodeSelect:"onNodeSelect"},features:[a._Bn([Zr])],decls:17,vars:28,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["type","text","role","combobox","readonly","",3,"disabled","focus","blur","keydown"],["focusInput",""],[1,"p-treeselect-label-container"],[3,"ngClass","ngStyle"],[4,"ngIf","ngIfElse"],["defaultValueTemplate",""],[4,"ngIf"],["role","button","aria-haspopup","tree",1,"p-treeselect-trigger"],[3,"styleClass",4,"ngIf"],["class","p-treeselect-trigger-icon",4,"ngIf"],[3,"visible","options","target","appendTo","showTransitionOptions","hideTransitionOptions","visibleChange","onAnimationStart","onShow","onHide"],["overlay",""],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["chipsValueTemplate",""],["class","p-treeselect-token",4,"ngFor","ngForOf"],[1,"p-treeselect-token"],[1,"p-treeselect-token-label"],[3,"styleClass","click",4,"ngIf"],["class","p-treeselect-clear-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-treeselect-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[3,"styleClass"],[1,"p-treeselect-trigger-icon"],[1,"p-treeselect-panel","p-component",3,"ngStyle","ngClass"],["panel",""],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["firstHiddenFocusableEl",""],["class","p-treeselect-header",3,"keydown.arrowdown",4,"ngIf"],[1,"p-treeselect-items-wrapper",3,"ngStyle"],[3,"value","propagateSelectionDown","propagateSelectionUp","selectionMode","selection","metaKeySelection","emptyMessage","filterBy","filterMode","filterPlaceholder","filterLocale","filteredNodes","_templateMap","selectionChange","onNodeExpand","onNodeCollapse","onNodeSelect","onNodeUnselect"],["tree",""],["lastHiddenFocusableEl",""],[1,"p-treeselect-header",3,"keydown.arrowdown"],[1,"p-treeselect-filter-container"],["type","text","autocomplete","off",1,"p-treeselect-filter","p-inputtext","p-component",3,"value","keydown.enter","input"],["filter",""],["class","p-treeselect-filter-icon",4,"ngIf"],[1,"p-treeselect-close","p-link",3,"click"],[1,"p-treeselect-filter-icon"],["pTemplate","empty"],["pTemplate","togglericon"],["pTemplate","checkboxicon"],["pTemplate","loadingicon"]],template:function(Ue,je){if(1&Ue&&(a.TgZ(0,"div",0,1),a.NdJ("click",function(v){return je.onClick(v)}),a.TgZ(2,"div",2)(3,"input",3,4),a.NdJ("focus",function(){return je.onFocus()})("blur",function(){return je.onBlur()})("keydown",function(v){return je.onKeyDown(v)}),a.qZA()(),a.TgZ(5,"div",5)(6,"div",6),a.YNc(7,Yn,2,5,"ng-container",7),a.YNc(8,So,3,2,"ng-template",null,8,a.W1O),a.qZA(),a.YNc(10,ko,3,2,"ng-container",9),a.qZA(),a.TgZ(11,"div",10),a.YNc(12,da,1,1,"ChevronDownIcon",11),a.YNc(13,Cr,2,1,"span",12),a.qZA(),a.TgZ(14,"p-overlay",13,14),a.NdJ("visibleChange",function(v){return je.overlayVisible=v})("onAnimationStart",function(v){return je.onOverlayAnimationStart(v)})("onShow",function(v){return je.onShow.emit(v)})("onHide",function(v){return je.hide(v)}),a.YNc(16,Mr,16,43,"ng-template",15),a.qZA()()),2&Ue){const E=a.MAs(9);a.Tol(je.containerStyleClass),a.Q6J("ngClass",je.containerClass())("ngStyle",je.containerStyle),a.xp6(3),a.Q6J("disabled",je.disabled),a.uIk("id",je.inputId)("tabindex",je.disabled?-1:je.tabindex)("aria-controls",je.listId)("aria-haspopup","tree")("aria-expanded",je.overlayVisible)("aria-labelledby",je.ariaLabelledBy)("aria-label",je.ariaLabel||("p-emptylabel"===je.label?void 0:je.label)),a.xp6(3),a.Tol(je.labelStyleClass),a.Q6J("ngClass",je.labelClass())("ngStyle",je.labelStyle),a.xp6(1),a.Q6J("ngIf",je.valueTemplate)("ngIfElse",E),a.xp6(3),a.Q6J("ngIf",je.checkValue()&&!je.disabled&&je.showClear),a.xp6(1),a.uIk("aria-expanded",je.overlayVisible),a.xp6(1),a.Q6J("ngIf",!je.triggerIconTemplate),a.xp6(1),a.Q6J("ngIf",je.triggerIconTemplate),a.xp6(1),a.Q6J("visible",je.overlayVisible)("options",je.overlayOptions)("target","@parent")("appendTo",je.appendTo)("showTransitionOptions",je.showTransitionOptions)("hideTransitionOptions",je.hideTransitionOptions)}},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,Bs.aV,y.jx,ns,me.W,To.q,x.v]},styles:["@layer primeng{.p-treeselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-treeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-treeselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-treeselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-treeselect-label-empty{overflow:hidden;visibility:hidden}.p-treeselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-treeselect-items-wrapper{overflow:auto}.p-treeselect-header{display:flex;align-items:center;justify-content:space-between}.p-treeselect-filter-container{position:relative;flex:1 1 auto}.p-treeselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-treeselect-filter-container .p-inputtext{width:100%}.p-treeselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative;margin-left:auto}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-treeselect{display:flex}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-treeselect-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return he})(),uo=(()=>{class he{static \u0275fac=function(Ue){return new(Ue||he)};static \u0275mod=a.oAB({type:he});static \u0275inj=a.cJS({imports:[i.ez,Bs.U8,b.T,y.m8,Nr,me.W,To.q,x.v,Bs.U8,y.m8,Nr]})}return he})();var Oo=m(3150),Js=m(8239),Ia=m(2204);function xr(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.column.icon)}}function fa(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.orderClass)}}function Kl(he,jt){if(1&he&&(a.TgZ(0,"strong"),a._uU(1),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Oqu(L.column.title)}}function vo(he,jt){if(1&he&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Oqu(L.column.title)}}function io(he,jt){if(1&he&&a._UZ(0,"i",7),2&he){const L=a.oxw(2);a.s9C("title",L.column.titleHint)}}function Ci(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",3),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onOrderClick(je))}),a.YNc(1,xr,1,2,"i",4),a.YNc(2,fa,1,2,"i",4),a.YNc(3,Kl,2,1,"strong",5),a.YNc(4,vo,2,1,"span",5),a.YNc(5,io,1,1,"i",6),a.qZA()}if(2&he){const L=a.oxw();a.ekj("text-center",L.isAlign("center"))("text-end",L.isAlign("right")),a.Q6J("id",(null==L.grid?null:L.grid.getId(L.index.toString()))+"_title"),a.uIk("title",L.column.hint)("role",L.column.orderBy.length?"button":void 0),a.xp6(1),a.Q6J("ngIf",null==L.column.icon?null:L.column.icon.length),a.xp6(1),a.Q6J("ngIf",null==L.column.orderBy?null:L.column.orderBy.length),a.xp6(1),a.Q6J("ngIf",L.bold),a.xp6(1),a.Q6J("ngIf",!L.bold),a.xp6(1),a.Q6J("ngIf",null==L.column.titleHint?null:L.column.titleHint.length)}}function Pl(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.orderClass)}}const tl=function(he){return{header:he}};function ho(he,jt){if(1&he&&(a.TgZ(0,"div",8),a.YNc(1,Pl,1,2,"i",4),a.GkF(2,9),a.qZA()),2&he){const L=a.oxw();a.Q6J("id",(null==L.grid?null:L.grid.getId(L.index.toString()))+"_template"),a.xp6(1),a.Q6J("ngIf",null==L.column.orderBy?null:L.column.orderBy.length),a.xp6(1),a.Q6J("ngTemplateOutlet",L.column.titleTemplate)("ngTemplateOutletContext",a.VKq(4,tl,L))}}function pl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",10)(1,"button",11),a.NdJ("click",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onAddClick())}),a._UZ(2,"i",12),a.qZA()()}if(2&he){const L=a.oxw();a.xp6(1),a.Q6J("id",(null==L.grid?null:L.grid.getId(L.index.toString()))+"_add_button")("disabled",null==L.grid?null:L.grid.editing)}}let Lr=(()=>{class he{constructor(){this.column=new Ia.C,this.grid=void 0,this.index=0,this.bold=!0}ngOnInit(){}get orderClass(){const L=(this.grid?.orderBy||[]).find(Ue=>Ue[0]==this.column.orderBy);return L?"asc"==L[1]?"bi-sort-down":"bi-sort-up":"bi-chevron-expand"}isAlign(L){return this.column.align==L}onOrderClick(L){if(this.column.orderBy?.length&&this.grid&&this.grid.query){const Ue=(this.grid?.orderBy||[]).findIndex(E=>E[0]==this.column.orderBy),je=(this.grid?.orderBy||[]).find(E=>E[0]==this.column.orderBy)||[this.column.orderBy,void 0];this.grid.orderBy=L.ctrlKey||L.shiftKey?this.grid?.orderBy:(this.grid?.groupBy||[]).map(E=>[E.field,"asc"]),je[1]=je[1]?"asc"==je[1]?"desc":void 0:"asc",Ue>=0&&this.grid.orderBy.splice(Ue,1),je[1]&&this.grid.orderBy.push(je),this.grid.query.order(this.grid.orderBy||[])}}onAddClick(){var L=this;return(0,Js.Z)(function*(){L.grid.selectable&&!L.grid.isEditable?yield L.grid.addToolbarButtonClick():L.grid.onAddItem()})()}static#e=this.\u0275fac=function(Ue){return new(Ue||he)};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-header"]],inputs:{column:"column",grid:"grid",index:"index",bold:"bold"},decls:3,vars:3,consts:[["class","grid-header","data-bs-toggle","tooltip","data-bs-placement","top",3,"id","text-center","text-end","click",4,"ngIf"],[3,"id",4,"ngIf"],["class","w-100 text-end",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"grid-header",3,"id","click"],[3,"class",4,"ngIf"],[4,"ngIf"],["class","bi bi-info-circle label-info text-muted ms-1","data-bs-toggle","tooltip","data-bs-placement","top",3,"title",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted","ms-1",3,"title"],[3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"w-100","text-end"],["type","button",1,"btn","btn-outline-primary",3,"id","disabled","click"],[1,"bi","bi-plus-circle"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Ci,6,12,"div",0),a.YNc(1,ho,3,6,"div",1),a.YNc(2,pl,3,2,"div",2)),2&Ue&&(a.Q6J("ngIf",(null==je.column.title?null:je.column.title.length)||(null==je.column.icon?null:je.column.icon.length)),a.xp6(1),a.Q6J("ngIf",je.column.titleTemplate),a.xp6(1),a.Q6J("ngIf",!(null!=je.grid&&je.grid.isDisabled)&&(null==je.grid?null:je.grid.isEditableGridOptions(je.column))))},dependencies:[i.O5,i.tP],styles:[".grid-header[_ngcontent-%COMP%]{white-space:pre-line}"]})}return he})();var Qs=m(9702),Hs=m(9193),Da=m(8820),Za=m(1823),jo=m(8967),Sa=m(2392),nl=m(4508),ia=m(4495),lc=m(8877),ka=m(4603),ml=m(3085);const yl=function(he,jt,L,Ue){return{row:he,grid:jt,column:L,metadata:Ue}};function Bc(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.template)("ngTemplateOutletContext",a.l5B(2,yl,L.row,L.grid,L.column,L.grid.getMetadata(L.row)))}}function il(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.getIcon())}}function As(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,il,1,2,"i",1),a._uU(2),a.BQk()),2&he){const L=a.oxw();a.Tol(L.getClass()),a.xp6(1),a.Q6J("ngIf",L.hasIcon()),a.xp6(1),a.hij("",L.getColumnText(),"\n")}}const _l=function(he,jt,L){return{row:he,grid:jt,metadata:L}};function ya(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.editTemplate)("ngTemplateOutletContext",a.kEZ(2,_l,L.row,L.grid,L.grid.getMetadata(L.row)))}}function Ne(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.columnEditTemplate)("ngTemplateOutletContext",a.kEZ(2,_l,L.row,L.grid,L.grid.getMetadata(L.row)))}}function ze(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw(2);a.Q6J("ngTemplateOutlet",L.column.template)("ngTemplateOutletContext",a.kEZ(2,_l,L.row,L.grid,L.grid.getMetadata(L.row)))}}function Ce(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-search",14),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("dao",L.column.dao)}}function ut(he,jt){if(1&he&&a._UZ(0,"input-display",15),2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)}}function Zt(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-text",16),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("numbers",L.isType("number")?"":void 0)("size",12)("controlName",L.column.field)("stepValue",L.column.stepValue)("control",L.control),a.uIk("maxlength",250)}}function Yi(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-datetime",17),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("date",L.isType("date")?"":void 0)("time",L.isType("time")?"":void 0)("size",12)("controlName",L.column.field)("control",L.control)}}function lr(he,jt){if(1&he&&a._UZ(0,"input-radio",18),2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("items",L.column.items)}}function ro(he,jt){if(1&he&&a._UZ(0,"input-select",18),2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("items",L.column.items)}}function Xs(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-switch",19),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)}}function Jo(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-timer",20),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("onlyHours",L.column.onlyHours)("onlyDays",L.column.onlyDays)}}function Qo(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-textarea",21),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("rows",3)("size",12)("controlName",L.column.field)("control",L.control),a.uIk("maxlength",250)}}const ga=function(){return["text","number"]},Ts=function(){return["datetime","date","time"]};function rl(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,ze,1,6,"ng-container",0),a.YNc(2,Ce,1,4,"input-search",6),a.YNc(3,ut,1,3,"input-display",7),a.YNc(4,Zt,1,6,"input-text",8),a.YNc(5,Yi,1,5,"input-datetime",9),a.YNc(6,lr,1,4,"input-radio",10),a.YNc(7,ro,1,4,"input-select",10),a.YNc(8,Xs,1,3,"input-switch",11),a.YNc(9,Jo,1,5,"input-timer",12),a.YNc(10,Qo,1,5,"input-textarea",13),a.BQk()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngIf",L.isType("template")&&L.column.template),a.xp6(1),a.Q6J("ngIf",L.isType("search")),a.xp6(1),a.Q6J("ngIf",L.isType("display")),a.xp6(1),a.Q6J("ngIf",L.inType(a.DdM(10,ga))),a.xp6(1),a.Q6J("ngIf",L.inType(a.DdM(11,Ts))),a.xp6(1),a.Q6J("ngIf",L.isType("radio")),a.xp6(1),a.Q6J("ngIf",L.isType("select")),a.xp6(1),a.Q6J("ngIf",L.isType("switch")),a.xp6(1),a.Q6J("ngIf",L.isType("timer")),a.xp6(1),a.Q6J("ngIf",L.isType("textarea"))}}function kc(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"i",25),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onEdit(je))}),a.qZA()}}function Cs(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"i",28),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(3);return a.KtG(E.onSave(je))}),a.qZA()}if(2&he){const L=a.oxw(3);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_save")}}function Rl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"i",29),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(3);return a.KtG(E.onCancel(je))}),a.qZA()}if(2&he){const L=a.oxw(3);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_cancel")}}function pa(he,jt){if(1&he&&(a.YNc(0,Cs,1,1,"i",26),a._UZ(1,"br"),a.YNc(2,Rl,1,1,"i",27)),2&he){const L=a.oxw(2);a.Q6J("ngIf",L.isEditing),a.xp6(2),a.Q6J("ngIf",L.isEditing)}}function ba(he,jt){if(1&he&&(a.TgZ(0,"div",22),a.YNc(1,kc,1,0,"i",23),a.YNc(2,pa,3,2,"ng-template",null,24,a.W1O),a.qZA()),2&he){const L=a.MAs(3),Ue=a.oxw();a.ekj("grid-column-editing",Ue.column.editing),a.xp6(1),a.Q6J("ngIf",!Ue.column.editing)("ngIfElse",L)}}function Jl(he,jt){1&he&&(a.TgZ(0,"div",30)(1,"div",31),a._UZ(2,"span",32),a.qZA()())}let Fa=(()=>{class he{constructor(L,Ue){this.lookup=L,this.util=Ue,this.column=new Ia.C,this.row=void 0,this.index=0,this.metadata={},this.saving=!1}ngOnInit(){}get control(){return this.grid?.form.controls[this.column.field]||void 0}isRowEditing(L){return this.row.id==(this.grid?.editing||{id:void 0}).id&&(!this.column.isColumnEditable(L)||this.column.metadata?.abrirEmEdicao)}get isEditing(){return this.row?.id==this.grid?.editingColumn?.id}isType(L){return this.column.isType(L)}inType(L){return this.column.inType(L)}getClass(){let L="center"==this.column.align?"text-center":"right"==this.column.align?"text-end":"";return this.column.inType(["select","radio"])&&this.column.items&&(L+=" "+this.lookup.getColor(this.column.items,this.row[this.column.field])),L.trim().replace(" ","%").length?L.trim().replace(" ","%"):void 0}onChange(L){this.column.onChange&&this.column.onChange(this.row,this.grid.form)}onEdit(L){var Ue=this;return(0,Js.Z)(function*(){Ue.column.editing=!0,Ue.grid.editingColumn=Ue.row,Ue.column.edit&&(yield Ue.column.edit(Ue.row))})()}onSave(L){var Ue=this;return(0,Js.Z)(function*(){let je=!0;Ue.saving=!0;try{Ue.column.save&&(je=yield Ue.column.save(Ue.row))}finally{Ue.saving=!1,je&&(Ue.grid.editingColumn=void 0,Ue.column.editing=!1)}})()}onCancel(L){this.column.editing=!1}hasIcon(){return this.column.isType("switch")&&this.row[this.column.field]||this.column.inType(["select","radio"])&&!!this.column.items&&!!this.lookup.getIcon(this.column.items,this.row[this.column.field])?.length}getIcon(){return this.column.isType("switch")?"bi bi-check":this.column.items?this.lookup.getIcon(this.column.items,this.row[this.column.field]):void 0}getColumnText(){let L="";return this.column.inType(["text","textarea","display"])?L=this.row[this.column.field]||"":this.column.isType("date")?L=this.util.getDateFormatted(this.row[this.column.field]):this.column.isType("datetime")?L=this.util.getDateTimeFormatted(this.row[this.column.field]):this.column.isType("number")?L=this.row[this.column.field]||"":this.column.isType("timer")?L=this.util.decimalToTimerFormated(this.row[this.column.field]||0,!0,24):this.column.inType(["select","radio"])&&(L=this.column.items?this.lookup.getValue(this.column.items,this.row[this.column.field]):this.row[this.column.field]),L}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(Qs.W),a.Y36(Hs.f))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-row"]],inputs:{column:"column",row:"row",grid:"grid",index:"index"},features:[a._Bn([],[{provide:t.gN,useExisting:t.sg}])],decls:7,vars:7,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"class",4,"ngIf"],[4,"ngIf"],["class","grid-column-editable-options",3,"grid-column-editing",4,"ngIf"],["class","text-center d-flex align-items-center justify-content-center grid-column-saving",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"size","controlName","control","dao","change",4,"ngIf"],[3,"size","controlName","control",4,"ngIf"],[3,"numbers","size","controlName","stepValue","control","change",4,"ngIf"],["noIcon","",3,"date","time","size","controlName","control","change",4,"ngIf"],[3,"size","controlName","control","items",4,"ngIf"],[3,"size","controlName","control","change",4,"ngIf"],[3,"size","controlName","control","onlyHours","onlyDays","change",4,"ngIf"],[3,"rows","size","controlName","control","change",4,"ngIf"],[3,"size","controlName","control","dao","change"],[3,"size","controlName","control"],[3,"numbers","size","controlName","stepValue","control","change"],["noIcon","",3,"date","time","size","controlName","control","change"],[3,"size","controlName","control","items"],[3,"size","controlName","control","change"],[3,"size","controlName","control","onlyHours","onlyDays","change"],[3,"rows","size","controlName","control","change"],[1,"grid-column-editable-options"],["role","button","class","bi bi-pencil-square",3,"click",4,"ngIf","ngIfElse"],["columnEditing",""],["role","button",1,"bi","bi-pencil-square",3,"click"],["class","bi bi-check-square","role","button",3,"id","click",4,"ngIf"],["class","bi bi-x-square","role","button",3,"id","click",4,"ngIf"],["role","button",1,"bi","bi-check-square",3,"id","click"],["role","button",1,"bi","bi-x-square",3,"id","click"],[1,"text-center","d-flex","align-items-center","justify-content-center","grid-column-saving"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Bc,1,7,"ng-container",0),a.YNc(1,As,3,4,"ng-container",1),a.YNc(2,ya,1,6,"ng-container",0),a.YNc(3,Ne,1,6,"ng-container",0),a.YNc(4,rl,11,12,"ng-container",2),a.YNc(5,ba,4,4,"div",3),a.YNc(6,Jl,3,0,"div",4)),2&Ue&&(a.Q6J("ngIf",!je.isRowEditing(je.row)&&(!je.column.editing||!je.isEditing)&&je.column.template),a.xp6(1),a.Q6J("ngIf",!(je.isRowEditing(je.row)||je.column.editing&&je.isEditing||je.column.template)),a.xp6(1),a.Q6J("ngIf",je.isRowEditing(je.row)&&je.column.editTemplate),a.xp6(1),a.Q6J("ngIf",je.column.editing&&je.isEditing&&je.column.columnEditTemplate),a.xp6(1),a.Q6J("ngIf",(je.isRowEditing(je.row)||je.column.editing&&je.isEditing)&&!je.column.editTemplate&&!je.column.columnEditTemplate),a.xp6(1),a.Q6J("ngIf",!je.isRowEditing(je.row)&&je.column.isColumnEditable(je.row)&&(!je.column.canEdit||je.column.canEdit(je.row))),a.xp6(1),a.Q6J("ngIf",je.column.isColumnEditable(je.row)&&je.isEditing&&je.saving))},dependencies:[i.O5,i.tP,Da.a,Za.B,jo.V,Sa.m,nl.Q,ia.k,lc.f,ka.p,ml.u],styles:[".grid-column-editable-options[_ngcontent-%COMP%]{display:inline;position:absolute;top:calc(50% - 10px);right:5px}.grid-column-saving[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;background-color:RGBA(200,200,200,.2)}"]})}return he})();var so=m(2307),Vs=m(5736);const Vn=["optionButton"];function Ga(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"button",7),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onMoveClick(!0))}),a._UZ(1,"i",8),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_up_button")}}function ra(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"button",9),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onMoveClick(!1))}),a._UZ(1,"i",10),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_down_button")}}function ai(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw().$implicit;a.Tol(L.icon)}}function Nl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"button",11),a.NdJ("click",function(){const E=a.CHM(L).$implicit,v=a.oxw(2);return a.KtG(v.onButtonClick(E))}),a.YNc(1,ai,1,2,"i",12),a.qZA()}if(2&he){const L=jt.$implicit,Ue=a.oxw(2);a.Tol("column-option-button btn "+(Ue.getClassButtonColor(L.color)||"btn-outline-primary")),a.s9C("title",L.hint||L.label||""),a.Q6J("id",(null==Ue.grid?null:Ue.grid.getId("_"+Ue.index+"_"+Ue.row.id+"_"+L.icon))+"_button"),a.xp6(1),a.Q6J("ngIf",null==L.icon?null:L.icon.length)}}function Oc(he,jt){1&he&&a._UZ(0,"hr",21)}function sl(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2).$implicit;a.Tol(L.icon)}}function bl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"a",22),a.NdJ("click",function(){a.CHM(L);const je=a.oxw().$implicit,E=a.oxw(3);return a.KtG(E.onButtonClick(je))}),a.YNc(1,sl,1,2,"i",12),a._uU(2),a.qZA()}if(2&he){const L=a.oxw().$implicit,Ue=a.oxw(3);a.Q6J("id",(null==Ue.grid?null:Ue.grid.getId("_"+Ue.index+"_"+Ue.row.id+"_"+L.label))+"_option"),a.xp6(1),a.Q6J("ngIf",null==L.icon?null:L.icon.length),a.xp6(1),a.hij(" ",L.label||""," ")}}function Cl(he,jt){if(1&he&&(a.TgZ(0,"li"),a.YNc(1,Oc,1,0,"hr",19),a.YNc(2,bl,3,3,"a",20),a.qZA()),2&he){const L=jt.$implicit;a.xp6(1),a.Q6J("ngIf",L.divider),a.xp6(1),a.Q6J("ngIf",!L.divider)}}function Ao(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",13)(1,"button",14,15),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onOptionsClick())}),a._UZ(3,"i",16),a.qZA(),a.TgZ(4,"ul",17),a.YNc(5,Cl,3,2,"li",18),a.qZA()()}if(2&he){const L=a.oxw(2);a.Q6J("ngClass",L.lastRow?"dropup":""),a.xp6(1),a.Q6J("id","btnToolbarOptions"+L.randomId)("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_options_button"),a.xp6(3),a.uIk("aria-labelledby",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_options_button"),a.xp6(1),a.Q6J("ngForOf",L.optionsList)}}function Lc(he,jt){if(1&he&&(a.TgZ(0,"div",2),a.YNc(1,Ga,2,1,"button",3),a.YNc(2,ra,2,1,"button",4),a.YNc(3,Nl,2,5,"button",5),a.YNc(4,Ao,6,5,"div",6),a.qZA()),2&he){const L=a.oxw();a.ekj("invisible",null==L.grid?null:L.grid.editing),a.xp6(1),a.Q6J("ngIf",L.isUpDownButtons),a.xp6(1),a.Q6J("ngIf",L.isUpDownButtons),a.xp6(1),a.Q6J("ngForOf",L.allButtons),a.xp6(1),a.Q6J("ngIf",L.allOptions.length)}}function ol(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",2)(1,"button",23),a.NdJ("click",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onSaveClick())}),a._UZ(2,"i",24),a.qZA(),a.TgZ(3,"button",25),a.NdJ("click",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onCancelClick())}),a._UZ(4,"i",26),a.qZA()()}if(2&he){const L=a.oxw();a.xp6(1),a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_edit_button"),a.xp6(2),a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_cancel_button")}}let Xo=(()=>{class he extends Vs.V{constructor(L){super(L),this.injector=L,this.calcWidthChange=new a.vpe,this.index=0,this.column=new Ia.C,this.row=void 0,this.buttons=[],this.options=[],this.randomId=Math.round(1e3*Math.random()).toString(),this._hashButtons="",this._hashOptions="",this._allButtons=void 0,this._allOptions=void 0,this.lastRow=!1,this.go=L.get(so.o)}ngOnInit(){if(this.grid&&this.grid.items.length>1){const L=this.grid.items.slice(-1);this.lastRow=this.row.id==L[0].id}}onMoveClick(L){const Ue=this.grid.items,je=Ue?.findIndex(E=>E.id==this.row.id);if(je>=0){const E=Ue[je];L&&je>0?(Ue[je]=Ue[je-1],Ue[je-1]=E):!L&&je""==Ue||"object"!=typeof je&&"function"!=typeof je?je:"";return this.util.md5(JSON.stringify(this.row,L)+JSON.stringify(this.column.metadata,L))}get allButtons(){let L=this.calcHashChanges();if(!(this.isDeletedRow||this._allButtons&&this._hashButtons==L)){this._hashButtons=L;const Ue=this.dynamicButtons?this.dynamicButtons(this.row,this.column.metadata):[];this._allButtons=[...Ue,...this.buttons],this.recalcWith()}return this._allButtons}get allOptions(){let L=this.calcHashChanges();if(this.isDeletedRow&&(this.options=this.options?.filter(Ue=>"Logs"===Ue.label)),!this._allOptions||this._hashOptions!=L){this._hashOptions=L;const Ue=this.dynamicOptions?this.dynamicOptions(this.row,this.column.metadata):[];this._allOptions=[...Ue,...this.options||[]],this.recalcWith()}return this._allOptions}onOptionsClick(){this.cdRef.detectChanges()}onSaveClick(){this.grid.onSaveItem(this.row)}get optionsList(){return this.optionButton?.nativeElement.className.includes("show")?this.allOptions:[]}onCancelClick(){this.grid.onCancelItem()}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-options"]],viewQuery:function(Ue,je){if(1&Ue&&a.Gf(Vn,5),2&Ue){let E;a.iGM(E=a.CRH())&&(je.optionButton=E.first)}},inputs:{calcWidth:"calcWidth",index:"index",column:"column",row:"row",grid:"grid",upDownButtons:"upDownButtons",buttons:"buttons",dynamicButtons:"dynamicButtons",options:"options",dynamicOptions:"dynamicOptions"},outputs:{calcWidthChange:"calcWidthChange"},features:[a.qOj],decls:2,vars:2,consts:[["class","btn-group","role","group",3,"invisible",4,"ngIf"],["class","btn-group","role","group",4,"ngIf"],["role","group",1,"btn-group"],["type","button","class","column-option-button btn btn-outline-secondary","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para cima",3,"id","click",4,"ngIf"],["type","button","class","column-option-button btn btn-outline-secondary","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para baixo",3,"id","click",4,"ngIf"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top",3,"id","class","title","click",4,"ngFor","ngForOf"],["class","btn-group","role","group",3,"ngClass",4,"ngIf"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para cima",1,"column-option-button","btn","btn-outline-secondary",3,"id","click"],[1,"bi","bi-arrow-up"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para baixo",1,"column-option-button","btn","btn-outline-secondary",3,"id","click"],[1,"bi","bi-arrow-down"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top",3,"id","title","click"],[3,"class",4,"ngIf"],["role","group",1,"btn-group",3,"ngClass"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"column-option-button","btn","btn-outline-secondary","dropdown-toggle",3,"id","click"],["optionButton",""],[1,"bi","bi-three-dots"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"],["type","button",1,"btn","btn-outline-primary",3,"id","click"],[1,"bi","bi-check-circle"],["type","button",1,"btn","btn-outline-danger",3,"id","click"],[1,"bi","bi-dash-circle"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Lc,5,6,"div",0),a.YNc(1,ol,5,2,"div",1)),2&Ue&&(a.Q6J("ngIf",!je.isRowEditing&&(!(null!=je.grid&&je.grid.selectable)||je.column.isAlways)),a.xp6(1),a.Q6J("ngIf",(null==je.grid?null:je.grid.editing)&&je.isRowEditing&&(!(null!=je.grid&&je.grid.sidePanel)||(null==je.grid||null==je.grid.sidePanel?null:je.grid.sidePanel.isNoToolbar))))},dependencies:[i.mk,i.sg,i.O5]})}return he})();var hs=m(5512),vl=m(7765),al=m(4040),qo=m(8544),Io=m(8935),hr=m(7819),zo=m(6848),Wr=m(52),is=m(2984),Ql=m(6384),re=m(4978),qe=m(3409),Te=m(8252);const We=function(he,jt){return{row:he,grid:jt}};function Ut(he,jt){if(1&he&&a.GkF(0,3),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.template)("ngTemplateOutletContext",a.WLB(2,We,L.row,L.grid))}}function Ln(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.getIcon())}}function Hn(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Ln,1,2,"i",1),a._uU(2),a.BQk()),2&he){const L=a.oxw();a.Tol(L.getClass()),a.xp6(1),a.Q6J("ngIf",L.hasIcon()),a.xp6(1),a.hij("",L.getColumnText(),"\n")}}function Si(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"span",4)(1,"i",5),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onExpand(je))}),a.qZA()()}if(2&he){const L=a.oxw();a.xp6(1),a.Tol(L.getExpandIcon()),a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_expand")}}let ps=(()=>{class he extends Vs.V{set expanded(L){this._expanded!=L&&(this._expanded=L,this.viewInit&&(this.grid.expandedIds[this.row.id]=L))}get expanded(){return this._expanded}constructor(L){super(L),this.column=new Ia.C,this.row=void 0,this.index=0,this.toggleable=!0,this.saving=!1,this._expanded=!1,this.lookup=L.get(Qs.W)}ngOnInit(){}get control(){return this.grid?.form.controls[this.column.field]||void 0}getClass(){let L="center"==this.column.align?"text-center":"right"==this.column.align?"text-end":"";return L.trim().replace(" ","%").length?L.trim().replace(" ","%"):void 0}onExpand(L){this.expanded=!this.expanded,this.grid?.cdRef.detectChanges()}getExpandIcon(){return this.expanded?"bi bi-dash-square":"bi bi-plus-square"}hasIcon(){return this.column.isSubType("switch")&&this.row[this.column.field]||this.column.inSubType(["select","radio"])&&!!this.column.items&&!!this.lookup.getIcon(this.column.items,this.row[this.column.field])?.length}getIcon(){return this.column.isSubType("switch")?"bi bi-check":this.column.items?this.lookup.getIcon(this.column.items,this.row[this.column.field]):void 0}getColumnText(){let L="";return this.column.inSubType(["text","display"])?L=this.row[this.column.field]||"":this.column.isSubType("date")?L=this.grid.dao.getDateFormatted(this.row[this.column.field]):this.column.isSubType("datetime")?L=this.grid.dao.getDateTimeFormatted(this.row[this.column.field]):this.column.isSubType("number")?L=this.row[this.column.field]||"":this.column.isSubType("timer")?L=this.util.decimalToTimerFormated(this.row[this.column.field]||0,!0,24):this.column.inSubType(["select","radio"])&&(L=this.column.items?this.lookup.getValue(this.column.items,this.row[this.column.field]):this.row[this.column.field]),L}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-expand"]],inputs:{column:"column",row:"row",grid:"grid",index:"index",toggleable:"toggleable",expanded:"expanded"},features:[a._Bn([],[{provide:t.gN,useExisting:t.sg}]),a.qOj],decls:3,vars:3,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"class",4,"ngIf"],["class","d-block text-center",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"d-block","text-center"],["role","button",3,"id","click"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Ut,1,5,"ng-container",0),a.YNc(1,Hn,3,4,"ng-container",1),a.YNc(2,Si,2,3,"span",2)),2&Ue&&(a.Q6J("ngIf",je.column.template),a.xp6(1),a.Q6J("ngIf",!je.column.template),a.xp6(1),a.Q6J("ngIf",je.toggleable))},dependencies:[i.O5,i.tP]})}return he})();var qr=m(8189),ls=m(4502),zr=m(6152);function Ws(he,jt){if(1&he&&a._UZ(0,"i",17),2&he){const L=a.oxw().$implicit;a.Tol(L.icon),a.uIk("title",L.hint||L.label||"")}}function ks(he,jt){1&he&&a._UZ(0,"hr",22)}function rs(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2).$implicit;a.Tol(L.icon)}}function ea(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"a",23),a.NdJ("click",function(){a.CHM(L);const je=a.oxw().$implicit,E=a.oxw(5);return a.KtG(E.onButtonClick(je))}),a.YNc(1,rs,1,2,"i",24),a._uU(2),a.qZA()}if(2&he){const L=a.oxw().$implicit,Ue=a.oxw(5);a.Q6J("id",Ue.generatedButtonId(L,"_option")),a.xp6(1),a.Q6J("ngIf",null==L.icon?null:L.icon.length),a.xp6(1),a.hij(" ",L.label||"","")}}function Zs(he,jt){if(1&he&&(a.TgZ(0,"li"),a.YNc(1,ks,1,0,"hr",20),a.YNc(2,ea,3,3,"a",21),a.qZA()),2&he){const L=jt.$implicit;a.xp6(1),a.Q6J("ngIf",L.divider),a.xp6(1),a.Q6J("ngIf",!L.divider)}}function xa(he,jt){if(1&he&&(a.TgZ(0,"ul",18),a.YNc(1,Zs,3,2,"li",19),a.qZA()),2&he){const L=a.oxw().$implicit,Ue=a.MAs(2),je=a.oxw(3);a.uIk("aria-labelledby",je.generatedButtonId(L)),a.xp6(1),a.Q6J("ngForOf",je.getButtonItems(Ue,L))}}function Ya(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",12)(1,"button",13,14),a.NdJ("click",function(){const E=a.CHM(L).$implicit,v=a.oxw(3);return a.KtG(v.onButtonClick(E))}),a.YNc(3,Ws,1,3,"i",15),a.qZA(),a.YNc(4,xa,2,2,"ul",16),a.qZA()}if(2&he){const L=jt.$implicit,Ue=a.oxw(3);a.xp6(1),a.Tol("btn btn-sm "+(L.color||"btn-outline-primary")),a.ekj("dropdown-toggle",Ue.hasButtonItems(L)),a.Q6J("id",Ue.generatedButtonId(L)),a.uIk("data-bs-toggle",Ue.hasButtonItems(L)?"dropdown":void 0),a.xp6(2),a.Q6J("ngIf",null==L.icon?null:L.icon.length),a.xp6(1),a.Q6J("ngIf",Ue.hasButtonItems(L))}}function $a(he,jt){if(1&he&&(a.TgZ(0,"div",10),a.YNc(1,Ya,5,8,"div",11),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngForOf",L.menu)}}function fo(he,jt){if(1&he&&(a.TgZ(0,"div",7)(1,"div",3)(2,"h5",8),a._uU(3),a.qZA()(),a.YNc(4,$a,2,1,"div",9),a.qZA()),2&he){const L=a.oxw();a.xp6(3),a.Oqu(L.item.title||""),a.xp6(1),a.Q6J("ngIf",L.hasMenu)}}function za(he,jt){if(1&he&&(a.TgZ(0,"h6",25),a._uU(1),a.qZA()),2&he){const L=a.oxw();a.xp6(1),a.Oqu(L.item.subTitle)}}function Uc(he,jt){if(1&he&&(a.TgZ(0,"p",26),a._uU(1),a.qZA()),2&he){const L=a.oxw();a.xp6(1),a.Oqu(L.item.text)}}const Es=function(he,jt,L){return{card:he,context:jt,metadata:L}};function Vl(he,jt){if(1&he&&a.GkF(0,27),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.template)("ngTemplateOutletContext",a.kEZ(2,Es,L.item,null==L.kanban?null:L.kanban.context,L.metadata))}}let Ka=(()=>{class he extends Vs.V{set template(L){this._template!=L&&(this._template=L)}get template(){return this._template||this.kanban?.template}set placeholderTemplate(L){this._placeholderTemplate!=L&&(this._placeholderTemplate=L)}get placeholderTemplate(){return this._placeholderTemplate||this.kanban?.placeholderTemplate}constructor(L){super(L),this.injector=L,this.class="draggable-card",this.metadata={},this.go=L.get(so.o)}ngOnInit(){}hasButtonItems(L){return!!L.items||!!L.dynamicItems}get hasMenu(){return!!this.item?.menu||!!this.item?.dynamicMenu}get menu(){return this.item?.dynamicMenu&&this.item?.dynamicMenu(this.item)||this.item?.menu||[]}get isUseCardData(){return null!=this.kanban?.useCardData}onButtonClick(L){L.route?this.go.navigate(L.route,L.metadata):L.onClick&&L.onClick(this.isUseCardData?this.item?.data:this.item,this.docker)}getButtonItems(L,Ue){return L.className.includes("show")&&(Ue.dynamicItems&&Ue.dynamicItems(this.item)||Ue.items)||[]}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["card"]],hostVars:2,hostBindings:function(Ue,je){2&Ue&&a.Tol(je.class)},inputs:{item:"item",docker:"docker",kanban:"kanban",template:"template",placeholderTemplate:"placeholderTemplate"},features:[a.qOj],decls:7,vars:4,consts:[[1,"card","border-secondary","my-1"],[1,"card-body"],["class","d-flex w-100",4,"ngIf"],[1,"flex-fill"],["class","card-subtitle mb-2 text-muted small ",4,"ngIf"],["class","card-text small",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[1,"d-flex","w-100"],[1,"card-title","small"],["class","btn-group card-buttons","role","group","aria-label","Op\xe7\xf5es",4,"ngIf"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group","card-buttons"],["class","btn-group","role","group",4,"ngFor","ngForOf"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"id","click"],["itemsButton",""],["data-bs-toggle","tooltip","data-bs-placement","top",3,"class",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"],[3,"class",4,"ngIf"],[1,"card-subtitle","mb-2","text-muted","small"],[1,"card-text","small"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Ue,je){1&Ue&&(a.TgZ(0,"div",0)(1,"div",1),a.YNc(2,fo,5,2,"div",2),a.TgZ(3,"div",3),a.YNc(4,za,2,1,"h6",4),a.YNc(5,Uc,2,1,"p",5),a.qZA(),a.YNc(6,Vl,1,6,"ng-container",6),a.qZA()()),2&Ue&&(a.xp6(2),a.Q6J("ngIf",je.item.title||je.hasMenu),a.xp6(2),a.Q6J("ngIf",je.item.subTitle),a.xp6(1),a.Q6J("ngIf",je.item.text),a.xp6(1),a.Q6J("ngIf",je.template))},dependencies:[i.sg,i.O5,i.tP],styles:[".card-buttons[_ngcontent-%COMP%]{height:-moz-fit-content!important;height:fit-content!important}"]})}return he})();var go=m(4575),Fl=m(1338),Ba=m(9224),po=m(5795),yo=m(409),ma=m(3562),xl=m(8748),Xl=m(1749),_a=m(1813),cc=m(7376),Hc=m(9414);function Pc(he,jt){}const uc=()=>{const he=typeof window<"u"?window:void 0;return he&&he.tinymce?he.tinymce:null};let ql=(()=>{class he{constructor(){this.onBeforePaste=new a.vpe,this.onBlur=new a.vpe,this.onClick=new a.vpe,this.onContextMenu=new a.vpe,this.onCopy=new a.vpe,this.onCut=new a.vpe,this.onDblclick=new a.vpe,this.onDrag=new a.vpe,this.onDragDrop=new a.vpe,this.onDragEnd=new a.vpe,this.onDragGesture=new a.vpe,this.onDragOver=new a.vpe,this.onDrop=new a.vpe,this.onFocus=new a.vpe,this.onFocusIn=new a.vpe,this.onFocusOut=new a.vpe,this.onKeyDown=new a.vpe,this.onKeyPress=new a.vpe,this.onKeyUp=new a.vpe,this.onMouseDown=new a.vpe,this.onMouseEnter=new a.vpe,this.onMouseLeave=new a.vpe,this.onMouseMove=new a.vpe,this.onMouseOut=new a.vpe,this.onMouseOver=new a.vpe,this.onMouseUp=new a.vpe,this.onPaste=new a.vpe,this.onSelectionChange=new a.vpe,this.onActivate=new a.vpe,this.onAddUndo=new a.vpe,this.onBeforeAddUndo=new a.vpe,this.onBeforeExecCommand=new a.vpe,this.onBeforeGetContent=new a.vpe,this.onBeforeRenderUI=new a.vpe,this.onBeforeSetContent=new a.vpe,this.onChange=new a.vpe,this.onClearUndos=new a.vpe,this.onDeactivate=new a.vpe,this.onDirty=new a.vpe,this.onExecCommand=new a.vpe,this.onGetContent=new a.vpe,this.onHide=new a.vpe,this.onInit=new a.vpe,this.onInitNgModel=new a.vpe,this.onLoadContent=new a.vpe,this.onNodeChange=new a.vpe,this.onPostProcess=new a.vpe,this.onPostRender=new a.vpe,this.onPreInit=new a.vpe,this.onPreProcess=new a.vpe,this.onProgressState=new a.vpe,this.onRedo=new a.vpe,this.onRemove=new a.vpe,this.onReset=new a.vpe,this.onResizeEditor=new a.vpe,this.onSaveContent=new a.vpe,this.onSetAttrib=new a.vpe,this.onObjectResizeStart=new a.vpe,this.onObjectResized=new a.vpe,this.onObjectSelected=new a.vpe,this.onSetContent=new a.vpe,this.onShow=new a.vpe,this.onSubmit=new a.vpe,this.onUndo=new a.vpe,this.onVisualAid=new a.vpe}}return he.\u0275fac=function(L){return new(L||he)},he.\u0275dir=a.lG2({type:he,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),he})();const Yl=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],cr=(he,jt,L)=>(0,yo.R)(he,jt).pipe((0,Xl.R)(L)),Ac=(he,jt)=>"string"==typeof he?he.split(",").map(L=>L.trim()):Array.isArray(he)?he:jt;let au=0;const Zc=he=>typeof he<"u"&&"textarea"===he.tagName.toLowerCase(),El=he=>typeof he>"u"||""===he?[]:Array.isArray(he)?he:he.split(" "),Gc=(he,jt)=>El(he).concat(El(jt)),Ja=()=>{},rc=he=>null==he,ii=(()=>{let he={script$:null};return{load:(Ue,je)=>he.script$||(he.script$=(0,ma.P)(()=>{const E=Ue.createElement("script");return E.referrerPolicy="origin",E.type="application/javascript",E.src=je,Ue.head.appendChild(E),(0,yo.R)(E,"load").pipe((0,_a.q)(1),(0,cc.h)(void 0))}).pipe((0,Hc.d)({bufferSize:1,refCount:!0}))),reinitialize:()=>{he={script$:null}}}})(),es=new a.OlP("TINYMCE_SCRIPT_SRC"),Ic={provide:t.JU,useExisting:(0,a.Gpc)(()=>Ul),multi:!0};let Ul=(()=>{class he extends ql{constructor(L,Ue,je,E){super(),this.platformId=je,this.tinymceScriptSrc=E,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=Ja,this.destroy$=new xl.x,this.initialise=()=>{const v={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:Gc(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:M=>{this._editor=M,cr(M,"init",this.destroy$).subscribe(()=>{this.initEditor(M)}),((he,jt,L)=>{(he=>{const jt=Ac(he.ignoreEvents,[]);return Ac(he.allowedEvents,Yl).filter(Ue=>Yl.includes(Ue)&&!jt.includes(Ue))})(he).forEach(je=>{const E=he[je];cr(jt,je.substring(2),L).subscribe(v=>{E.observers.length>0&&he.ngZone.run(()=>E.emit({event:v,editor:jt}))})})})(this,M,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(M)}};Zc(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{uc().init(v)})},this._elementRef=L,this.ngZone=Ue}set disabled(L){this._disabled=L,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(L?"readonly":"design"):this._editor.setMode(L?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(L){this._editor&&this._editor.initialized?this._editor.setContent(rc(L)?"":L):this.initialValue=null===L?void 0:L}registerOnChange(L){this.onChangeCallback=L}registerOnTouched(L){this.onTouchedCallback=L}setDisabledState(L){this.disabled=L}ngAfterViewInit(){(0,i.NF)(this.platformId)&&(this.id=this.id||(he=>{const L=(new Date).getTime(),Ue=Math.floor(1e9*Math.random());return au++,"tiny-angular_"+Ue+au+String(L)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==uc()?this.initialise():this._element&&this._element.ownerDocument&&ii.load(this._element.ownerDocument,this.getScriptSrc()).pipe((0,Xl.R)(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==uc()&&uc().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,Zc(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return rc(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(L){cr(L,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),cr(L,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(L))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{L.setContent(this.initialValue),L.getContent()!==this.initialValue&&this.emitOnChange(L),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(L)})}emitOnChange(L){this.onChangeCallback&&this.onChangeCallback(L.getContent({format:this.outputFormat}))}}return he.\u0275fac=function(L){return new(L||he)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.Lbi),a.Y36(es,8))},he.\u0275cmp=a.Xpm({type:he,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[a._Bn([Ic]),a.qOj,a.jDz],decls:1,vars:0,template:function(L,Ue){1&L&&a.YNc(0,Pc,0,0,"ng-template")},dependencies:[i.ez,t.u5],styles:["[_nghost-%COMP%]{display:block}"]}),he})(),Ta=(()=>{class he{}return he.\u0275fac=function(L){return new(L||he)},he.\u0275mod=a.oAB({type:he}),he.\u0275inj=a.cJS({imports:[Ul]}),he})();var Rc=m(1547),Al=m(58),Oa=m(5691);const Ea=["mainDiv"],wl=["wrapperDiv"],jc=function(he){return{height:he}},Nc=function(he,jt){return{"overflow-x":he,height:jt}},Fc=function(he,jt){return{width:he,height:jt}},sa=function(he){return{"overflow-x":he}},Qa=["*"];let Kr=(()=>{class he extends Vs.V{constructor(L){super(L),this.injector=L}ngOnInit(){let L=this.getWidth();this.nativeScrollBarHeight=L+"px",this.scrollBarElementHeight=L+1+"px"}ngAfterViewInit(){this.wrapper2scrollWidth=this.mainDiv.nativeElement.scrollWidth+"px",this.cdRef.detectChanges()}onWrapperScroll(){this.mainDiv.nativeElement.scrollLeft=this.wrapperDiv.nativeElement.scrollLeft}onMainScroll(){this.wrapperDiv.nativeElement.scrollLeft=this.mainDiv.nativeElement.scrollLeft}getWidth(){var L=document.createElement("div"),Ue=document.createElement("div");L.style.width="100%",L.style.height="200px",Ue.style.width="200px",Ue.style.height="150px",Ue.style.position="absolute",Ue.style.top="0",Ue.style.left="0",Ue.style.visibility="hidden",Ue.style.overflow="hidden",Ue.appendChild(L),document.body.appendChild(Ue);var je=L.offsetWidth;Ue.style.overflow="scroll";var E=Ue.clientWidth;return document.body.removeChild(Ue),je-E}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["double-scrollbar"]],viewQuery:function(Ue,je){if(1&Ue&&(a.Gf(Ea,5),a.Gf(wl,5)),2&Ue){let E;a.iGM(E=a.CRH())&&(je.mainDiv=E.first),a.iGM(E=a.CRH())&&(je.wrapperDiv=E.first)}},inputs:{doubleScrollBarHorizontal:"doubleScrollBarHorizontal"},features:[a.qOj],ngContentSelectors:Qa,decls:7,vars:14,consts:[[2,"overflow-y","hidden",3,"ngStyle"],[2,"overflow-y","hidden","position","relative","top","-1px",3,"ngStyle","scroll"],["wrapperDiv",""],[3,"ngStyle"],[3,"ngStyle","scroll"],["mainDiv",""]],template:function(Ue,je){1&Ue&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1,2),a.NdJ("scroll",function(){return je.onWrapperScroll()}),a._UZ(3,"div",3),a.qZA()(),a.TgZ(4,"div",4,5),a.NdJ("scroll",function(){return je.onMainScroll()}),a.Hsn(6),a.qZA()),2&Ue&&(a.Q6J("ngStyle",a.VKq(4,jc,je.nativeScrollBarHeight)),a.xp6(1),a.Q6J("ngStyle",a.WLB(6,Nc,"always"==je.doubleScrollBarHorizontal?"scroll":"auto",je.scrollBarElementHeight)),a.xp6(2),a.Q6J("ngStyle",a.WLB(9,Fc,je.wrapper2scrollWidth,je.scrollBarElementHeight)),a.xp6(1),a.Q6J("ngStyle",a.VKq(12,sa,"always"==je.doubleScrollBarHorizontal?"scroll":"auto")))},dependencies:[i.PC],encapsulation:2})}return he})();var oo=m(6925);const Ua=()=>({validation:!1});let dc=(()=>{class he{static#e=this.\u0275fac=function(Ue){return new(Ue||he)};static#t=this.\u0275mod=a.oAB({type:he});static#n=this.\u0275inj=a.cJS({providers:[{provide:es,useFactory:L=>L.baseURL+"/tinymce/tinymce.min.js",deps:[Rc.d]},(0,A.np)(Ua)],imports:[i.ez,Fl.vQ,qe.Rq,t.UX,t.u5,go.c8,Ta,oo.kb,Nr,uo]})}return he})();a.B6R(Oo.M,[i.sg,i.O5,i.tP,t._Y,t.JL,t.sg,Lr,Fa,Xo,hs.n,ps],[]),a.B6R(vl.z,[i.O5,t._Y,t.JL,t.sg,Da.a],[]),a.B6R(al.Q,[i.sg,i.O5,t._Y,t.JL,t.sg,hs.n],[]),a.B6R(Da.a,[i.O5,qo.h],[]),a.B6R(Za.B,[qo.h],[]),a.B6R(jo.V,[i.sg,i.O5,i.tP,qo.h],[]),a.B6R(Io.G,[i.O5,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(Sa.m,[i.O5,t.Fj,t.JJ,t.oH,A.Z6,qo.h],[]),a.B6R(nl.Q,[i.O5,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(ia.k,[i.O5,A.Z6,qo.h],[]),a.B6R(lc.f,[i.sg,i.O5,qo.h],[]),a.B6R(ka.p,[i.sg,i.O5,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(hr.p,[i.mk,i.sg,i.O5,qo.h],[]),a.B6R(zo.z,[i.sg,i.O5,t.YN,t.Kr,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(ml.u,[i.O5,t._Y,t.Fj,t.wV,t.eT,t.JJ,t.JL,t.sg,t.u,qo.h],[]),a.B6R(Wr.i,[i.sg,qo.h],[]),a.B6R(is.d,[i.sg,i.O5,qo.h],[]),a.B6R(Te.Y,[i.sg,Lr,Fa],[]),a.B6R(qr.C,[i.sg,go.Q4,go.s1,ls.x,zr.m,Kr],[]),a.B6R(ls.x,[i.O5,go.jk,zr.m],[]),a.B6R(zr.m,[i.sg,i.O5,i.tP,go.jk,go.Q4,go.mv,go.s1,Ka],[]),a.B6R(Ba.l,[i.O5,t.Fj,t.JJ,t.oH,A.Z6,qo.h],[]),a.B6R(po.G,[i.sg,i.O5,t._Y,t.JJ,t.JL,t.sg,t.u,t.On,Ul,oo.KC,ns,Ji,qo.h,Sa.m,lc.f,ka.p,Ql.n,re.i,Ba.l],[]),a.B6R(Al.Z,[i.sg,i.O5,Oa.e],[])},3705:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>y});var i=m(755),t=m(6733);function A(C,b){if(1&C&&i._UZ(0,"div",2),2&C){const F=i.oxw();i.ekj("document-preview-margin",!F.isNoMargin),i.Q6J("innerHTML",F.html,i.oJD)}}function a(C,b){if(1&C&&(i.TgZ(0,"div",3)(1,"div",4),i._UZ(2,"i",5)(3,"br"),i.TgZ(4,"h5"),i._uU(5),i.qZA()()()),2&C){const F=i.oxw();i.ekj("document-preview-margin",!F.isNoMargin),i.xp6(5),i.Oqu(F.emptyDocumentMensage)}}let y=(()=>{class C{constructor(){}ngOnInit(){}get isNoMargin(){return null!=this.noMargin}static#e=this.\u0275fac=function(j){return new(j||C)};static#t=this.\u0275cmp=i.Xpm({type:C,selectors:[["document-preview"]],inputs:{html:"html",emptyDocumentMensage:"emptyDocumentMensage",noMargin:"noMargin"},decls:2,vars:2,consts:[["class","document-preview-paper",3,"innerHTML","document-preview-margin",4,"ngIf"],["class","document-preview-paper",3,"document-preview-margin",4,"ngIf"],[1,"document-preview-paper",3,"innerHTML"],[1,"document-preview-paper"],[1,"document-preview-no-document","d-block"],[1,"bi","bi-question-octagon",2,"font-size","2rem"]],template:function(j,N){1&j&&(i.YNc(0,A,1,3,"div",0),i.YNc(1,a,6,3,"div",1)),2&j&&(i.Q6J("ngIf",N.html),i.xp6(1),i.Q6J("ngIf",!N.html&&N.emptyDocumentMensage))},dependencies:[t.O5],styles:[".document-preview-paper[_ngcontent-%COMP%]{display:block;width:100%;min-height:300px}.document-preview-no-document[_ngcontent-%COMP%]{padding-top:100px;display:block;width:100%;text-align:center;display:inline;min-height:300px}"]})}return C})()},4040:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>mt});var i=m(2307),t=m(755),A=m(2133),a=m(3150),y=m(8935),C=m(6848),b=m(8544),F=m(4495),j=m(1823),N=m(7819),x=m(2984),H=m(8877),k=m(52),P=m(8967),X=m(4603),me=m(8820),Oe=m(2392),Se=m(4508),wt=m(3085),K=m(5736),V=m(5795),J=m(9224),ae=m(6733),oe=m(645),ye=m(8720),Ee=m(8748),Ge=m(1749),gt=m(5545);function Ze(vt,hn){if(1&vt&&t._UZ(0,"toolbar",6),2&vt){const yt=t.oxw();t.Q6J("title",yt.title)("buttons",yt.toolbarButtons)}}function Je(vt,hn){if(1&vt&&(t.TgZ(0,"div",7)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&vt){const yt=t.oxw();t.Q6J("id",yt.generatedId(yt.title)+"_error"),t.xp6(4),t.Oqu((yt.error||"").split("&")[0]),t.xp6(2),t.hij("",(yt.error||"").split("&")[1],"\n")}}function tt(vt,hn){1&vt&&(t.ynx(0),t.TgZ(1,"small"),t._uU(2," ("),t.TgZ(3,"span",8),t._uU(4,"\uff0a"),t.qZA(),t._uU(5,") Campos obrigat\xf3rios "),t.qZA(),t.BQk())}function Qe(vt,hn){if(1&vt&&t._UZ(0,"i"),2&vt){const yt=t.oxw().$implicit;t.Tol(yt.icon)}}function pt(vt,hn){if(1&vt){const yt=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){const In=t.CHM(yt).$implicit,dn=t.oxw(2);return t.KtG(dn.onButtonClick(In))}),t.YNc(1,Qe,1,2,"i",15),t._uU(2),t.qZA()}if(2&vt){const yt=hn.$implicit,Fn=t.oxw(2);t.Tol("btn "+(yt.color||"btn-outline-primary")),t.Q6J("id",Fn.generatedId(Fn.title+yt.label+yt.icon)+"_button"),t.xp6(1),t.Q6J("ngIf",null==yt.icon?null:yt.icon.length),t.xp6(1),t.hij(" ",yt.label||""," ")}}function Nt(vt,hn){1&vt&&t._UZ(0,"span",18)}function Jt(vt,hn){if(1&vt&&t._UZ(0,"i"),2&vt){const yt=t.oxw(3);t.Tol(yt.form.valid&&!yt.forceInvalid?"bi-check-circle":"bi-exclamation-circle")}}function nt(vt,hn){if(1&vt){const yt=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(yt);const xn=t.oxw(2);return t.KtG(xn.onSubmit())}),t.YNc(1,Nt,1,0,"span",17),t.YNc(2,Jt,1,2,"i",15),t._uU(3),t.qZA()}if(2&vt){const yt=t.oxw(2);t.Q6J("id",yt.generatedId(yt.title)+"_submit")("disabled",yt.submitting),t.xp6(1),t.Q6J("ngIf",yt.submitting),t.xp6(1),t.Q6J("ngIf",!yt.submitting),t.xp6(1),t.hij(" ",null!=yt.confirmLabel&&yt.confirmLabel.length?yt.confirmLabel:"Gravar"," ")}}function ot(vt,hn){if(1&vt){const yt=t.EpF();t.TgZ(0,"button",19),t.NdJ("click",function(){t.CHM(yt);const xn=t.oxw(2);return t.KtG(xn.onCancel())}),t._UZ(1,"i",20),t._uU(2),t.qZA()}if(2&vt){const yt=t.oxw(2);t.Q6J("id",yt.generatedId(yt.title)+"_cancel"),t.xp6(2),t.hij(" ",null!=yt.cancelLabel&&yt.cancelLabel.length?yt.cancelLabel:yt.disabled?"Fechar":"Cancelar"," ")}}function Ct(vt,hn){if(1&vt&&(t.TgZ(0,"div",9)(1,"div",10),t.YNc(2,pt,3,5,"button",11),t.YNc(3,nt,4,5,"button",12),t.YNc(4,ot,3,2,"button",13),t.qZA()()),2&vt){const yt=t.oxw();t.xp6(2),t.Q6J("ngForOf",yt.buttons),t.xp6(1),t.Q6J("ngIf",yt.hasSubmit&&!yt.disabled),t.xp6(1),t.Q6J("ngIf",yt.hasCancel)}}const He=["*"];let mt=(()=>{class vt extends K.V{set disabled(yt){this._disabled!=yt&&(this._disabled=yt,this.disableAll(yt))}get disabled(){return this._disabled}set error(yt){this._error=yt,this.submitting=!1}get error(){return this._error}get isNoButtons(){return void 0!==this.noButtons}get isNoMargin(){return void 0!==this.noMargin}constructor(yt,Fn,xn){super(yt),this.document=Fn,this.dialog=xn,this.disable=new t.vpe,this.submit=new t.vpe,this.cancel=new t.vpe,this.title="",this.buttons=[],this.toolbarButtons=[],this.withScroll=!0,this.forceInvalid=!1,this._disabled=!1,this.submitting=!1,this.unsubscribe$=new Ee.x,this.fb=yt.get(A.qu),this.go=yt.get(i.o),this.fh=yt.get(ye.k),this.dialog.modalClosed.pipe((0,Ge.R)(this.unsubscribe$)).subscribe(()=>{this.clearGridNoSaved()})}ngOnInit(){}get hasSubmit(){return!!this.submit.observers.length}get hasCancel(){return!!this.cancel.observers.length}ngAfterViewInit(){this.disabled&&this.disableAll(!0),this.setInititalFocus()}setInititalFocus(){if(this.initialFocus){for(const[yt,Fn]of Object.entries(this.form.controls))if(yt==this.initialFocus)for(const xn of this.components)if(xn.control==Fn){xn.focus();break}}else{const yt=Object.entries(this.form.controls)[0];if(yt)for(const Fn of this.components)if(Fn.control==yt[1]){Fn.focus();break}}}get components(){return[...this.grids?.toArray()||[],...this.inputContainers?.toArray()||[],...this.inputSwitchs?.toArray()||[],...this.inputDisplays?.toArray()||[],...this.inputSearchs?.toArray()||[],...this.inputButtons?.toArray()||[],...this.inputTexts?.toArray()||[],...this.inputNumbers?.toArray()||[],...this.inputTextareas?.toArray()||[],...this.inputDatetimes?.toArray()||[],...this.inputRadios?.toArray()||[],...this.inputSelects?.toArray()||[],...this.inputColors?.toArray()||[],...this.inputMultiselects?.toArray()||[],...this.inputTimers?.toArray()||[],...this.inputRates?.toArray()||[],...this.inputEditors?.toArray()||[],...this.inputMultitoggles?.toArray()||[]]}disableAll(yt){this.components?.forEach(Fn=>Fn.disabled=yt?"true":void 0),this.forms?.toArray()?.forEach(Fn=>Fn.disabled=yt),this.disable&&this.disable.emit(new Event("disabled"))}revalidate(){this.fh.revalidate(this.form)}onButtonClick(yt){yt.route?this.go.navigate(yt.route,yt.metadata):yt.onClick&&yt.onClick()}onSubmit(){this.revalidate(),this.form.valid?(this.submitting=!0,this.submit.emit(this)):(this.form.markAllAsTouched(),Object.entries(this.form.controls).forEach(([yt,Fn])=>{Fn.invalid&&console.log("Validate => "+yt,Fn.value,Fn.errors)}))}onCancel(){this.cancel.emit()}get anyRequired(){for(const yt of this.components)if(yt instanceof oe.M&&yt.isRequired)return!0;return!1}clearGridNoSaved(yt=this.form){this.removeAddStatusRecursively(yt.value)}removeAddStatusRecursively(yt){Array.isArray(yt)?yt.forEach(Fn=>{Fn&&"object"==typeof Fn&&this.removeAddStatusRecursively(Fn)}):null!==yt&&"object"==typeof yt&&Object.keys(yt).forEach(Fn=>{"_status"===Fn&&"ADD"===yt[Fn]?Object.keys(yt).length<=2&&(yt[Fn]="DELETE"):this.removeAddStatusRecursively(yt[Fn])})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Fn){return new(Fn||vt)(t.Y36(t.zs3),t.Y36(ae.K0),t.Y36(gt.x))};static#t=this.\u0275cmp=t.Xpm({type:vt,selectors:[["editable-form"]],contentQueries:function(Fn,xn,In){if(1&Fn&&(t.Suo(In,a.M,5),t.Suo(In,vt,5),t.Suo(In,b.h,5),t.Suo(In,me.a,5),t.Suo(In,j.B,5),t.Suo(In,P.V,5),t.Suo(In,y.G,5),t.Suo(In,Oe.m,5),t.Suo(In,J.l,5),t.Suo(In,Se.Q,5),t.Suo(In,F.k,5),t.Suo(In,H.f,5),t.Suo(In,X.p,5),t.Suo(In,C.z,5),t.Suo(In,N.p,5),t.Suo(In,wt.u,5),t.Suo(In,k.i,5),t.Suo(In,V.G,5),t.Suo(In,x.d,5)),2&Fn){let dn;t.iGM(dn=t.CRH())&&(xn.grids=dn),t.iGM(dn=t.CRH())&&(xn.forms=dn),t.iGM(dn=t.CRH())&&(xn.inputContainers=dn),t.iGM(dn=t.CRH())&&(xn.inputSwitchs=dn),t.iGM(dn=t.CRH())&&(xn.inputDisplays=dn),t.iGM(dn=t.CRH())&&(xn.inputSearchs=dn),t.iGM(dn=t.CRH())&&(xn.inputButtons=dn),t.iGM(dn=t.CRH())&&(xn.inputTexts=dn),t.iGM(dn=t.CRH())&&(xn.inputNumbers=dn),t.iGM(dn=t.CRH())&&(xn.inputTextareas=dn),t.iGM(dn=t.CRH())&&(xn.inputDatetimes=dn),t.iGM(dn=t.CRH())&&(xn.inputRadios=dn),t.iGM(dn=t.CRH())&&(xn.inputSelects=dn),t.iGM(dn=t.CRH())&&(xn.inputColors=dn),t.iGM(dn=t.CRH())&&(xn.inputMultiselects=dn),t.iGM(dn=t.CRH())&&(xn.inputTimers=dn),t.iGM(dn=t.CRH())&&(xn.inputRates=dn),t.iGM(dn=t.CRH())&&(xn.inputEditors=dn),t.iGM(dn=t.CRH())&&(xn.inputMultitoggles=dn)}},viewQuery:function(Fn,xn){if(1&Fn&&t.Gf(A.sg,5),2&Fn){let In;t.iGM(In=t.CRH())&&(xn.formDirective=In.first)}},inputs:{form:"form",title:"title",buttons:"buttons",toolbarButtons:"toolbarButtons",confirmLabel:"confirmLabel",cancelLabel:"cancelLabel",noButtons:"noButtons",noMargin:"noMargin",initialFocus:"initialFocus",withScroll:"withScroll",forceInvalid:"forceInvalid",disabled:"disabled"},outputs:{disable:"disable",submit:"submit",cancel:"cancel"},features:[t._Bn([{provide:A.sg,useFactory:yt=>{const Fn=new A.sg([],[]);return Fn.form=yt.form,yt.formDirective||Fn},deps:[vt]}]),t.qOj],ngContentSelectors:He,decls:7,vars:8,consts:[[3,"title","buttons",4,"ngIf"],["class","alert alert-danger mt-2 break-spaces","role","alert",3,"id",4,"ngIf"],[1,"px-2"],[1,"d-block",3,"id","formGroup"],[4,"ngIf"],["class","d-flex flex-row-reverse mt-3",4,"ngIf"],[3,"title","buttons"],["role","alert",1,"alert","alert-danger","mt-2","break-spaces",3,"id"],[1,"fs-6"],[1,"d-flex","flex-row-reverse","mt-3"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group","float-right"],["type","button",3,"id","class","click",4,"ngFor","ngForOf"],["type","button","class","btn btn-outline-success",3,"id","disabled","click",4,"ngIf"],["type","button","class","btn btn-outline-danger",3,"id","click",4,"ngIf"],["type","button",3,"id","click"],[3,"class",4,"ngIf"],["type","button",1,"btn","btn-outline-success",3,"id","disabled","click"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],["type","button",1,"btn","btn-outline-danger",3,"id","click"],[1,"bi","bi-dash-circle"]],template:function(Fn,xn){1&Fn&&(t.F$t(),t.YNc(0,Ze,1,2,"toolbar",0),t.YNc(1,Je,7,3,"div",1),t.TgZ(2,"div",2)(3,"form",3),t.Hsn(4),t.qZA()(),t.YNc(5,tt,6,0,"ng-container",4),t.YNc(6,Ct,5,3,"div",5)),2&Fn&&(t.Q6J("ngIf",xn.title.length||xn.toolbarButtons.length),t.xp6(1),t.Q6J("ngIf",null==xn.error?null:xn.error.length),t.xp6(2),t.Tol(xn.isNoMargin?"m-0 p-0":"mx-2 mt-2"),t.Q6J("id",xn.generatedId(xn.title)+"_form")("formGroup",xn.form),t.xp6(2),t.Q6J("ngIf",!xn.isNoButtons&&xn.anyRequired),t.xp6(1),t.Q6J("ngIf",!xn.isNoButtons))},styles:[".break-spaces[_ngcontent-%COMP%]{white-space:break-spaces}"]})}return vt})()},3351:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>t});var i=m(755);let t=(()=>{class A{constructor(){this.title="",this.type="display",this.field="",this.orderBy="",this.editable=!1,this.align="none",this.verticalAlign="bottom",this.minWidth=void 0,this.maxWidth=void 0,this.width=void 0}ngOnInit(){}static#e=this.\u0275fac=function(C){return new(C||A)};static#t=this.\u0275cmp=i.Xpm({type:A,selectors:[["column"]],inputs:{icon:"icon",hint:"hint",title:"title",titleHint:"titleHint",type:"type",field:"field",dao:"dao",orderBy:"orderBy",editable:"editable",template:"template",titleTemplate:"titleTemplate",editTemplate:"editTemplate",columnEditTemplate:"columnEditTemplate",expandTemplate:"expandTemplate",items:"items",onlyHours:"onlyHours",onlyDays:"onlyDays",buttons:"buttons",dynamicButtons:"dynamicButtons",options:"options",save:"save",edit:"edit",canEdit:"canEdit",dynamicOptions:"dynamicOptions",onEdit:"onEdit",onDelete:"onDelete",onChange:"onChange",upDownButtons:"upDownButtons",stepValue:"stepValue",align:"align",verticalAlign:"verticalAlign",minWidth:"minWidth",maxWidth:"maxWidth",width:"width",cellClass:"cellClass",always:"always",metadata:"metadata"},decls:0,vars:0,template:function(C,b){}})}return A})()},7224:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>a});var i=m(3351),t=m(755);const A=["*"];let a=(()=>{class y{constructor(){}ngOnInit(){}get columns(){return this.columnsRef?this.columnsRef.map(b=>b):[]}static#e=this.\u0275fac=function(F){return new(F||y)};static#t=this.\u0275cmp=t.Xpm({type:y,selectors:[["columns"]],contentQueries:function(F,j,N){if(1&F&&t.Suo(N,i.b,5),2&F){let x;t.iGM(x=t.CRH())&&(j.columnsRef=x)}},ngContentSelectors:A,decls:1,vars:0,template:function(F,j){1&F&&(t.F$t(),t.Hsn(0))}})}return y})()},7765:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>b});var i=m(755),t=m(2133),A=m(5736);function a(F,j){if(1&F){const N=i.EpF();i.TgZ(0,"div",11)(1,"input-switch",12),i.NdJ("change",function(H){i.CHM(N);const k=i.oxw(2);return i.KtG(k.onDeletedChange(H))}),i.qZA()()}if(2&F){const N=i.oxw(2);i.xp6(1),i.Q6J("size",4)("hostClass","mt-0")("control",N.deletedControl)}}function y(F,j){if(1&F){const N=i.EpF();i.TgZ(0,"div",3)(1,"div",4),i.YNc(2,a,2,3,"div",5),i.TgZ(3,"div",6)(4,"button",7),i.NdJ("click",function(){i.CHM(N);const H=i.oxw();return i.KtG(H.onButtonFilterClick())}),i._UZ(5,"i",8),i._uU(6," Filtrar "),i.qZA(),i.TgZ(7,"button",9),i.NdJ("click",function(){i.CHM(N);const H=i.oxw();return i.KtG(H.onButtonClearClick())}),i._UZ(8,"i",10),i._uU(9," Limpar "),i.qZA()()()()}if(2&F){const N=i.oxw();i.xp6(2),i.Q6J("ngIf",N.deleted),i.xp6(2),i.Q6J("id",N.getId("_filter_filtrar")),i.xp6(3),i.Q6J("id",N.getId("_filter_limpar"))}}const C=["*"];let b=(()=>{class F extends A.V{constructor(N){super(N),this.filterClear=new i.vpe,this.visible=!0,this.deleted=!1,this.collapsed=!0,this.deletedControl=new t.NI(!1)}ngOnInit(){}getId(N){return this.grid?.getId(N)||this.generatedId(N)}get isHidden(){return null!=this.hidden}get isNoButtons(){return void 0!==this.noButtons}toggle(){this.collapsed=!this.collapsed,this.collapseChange&&this.collapseChange(this.form)}onDeletedChange(N){this.onButtonFilterClick()}onButtonClearClick(){this.filterClear.emit(),this.form&&(this.clear?this.clear(this.form):this.form.reset(this.form.initialState),this.onButtonFilterClick())}onButtonFilterClick(){if(this.filter)this.filter(this.form);else{let N=this.submit?this.submit(this.form):void 0;N=N||this.grid?.queryOptions||this.queryOptions||{},N.deleted=!!this.deletedControl.value,(this.grid?.query||this.query).reload(N)}}static#e=this.\u0275fac=function(x){return new(x||F)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:F,selectors:[["filter"]],viewQuery:function(x,H){if(1&x&&i.Gf(t.sg,5),2&x){let k;i.iGM(k=i.CRH())&&(H.formDirective=k.first)}},inputs:{form:"form",filter:"filter",submit:"submit",clear:"clear",where:"where",collapseChange:"collapseChange",visible:"visible",deleted:"deleted",noButtons:"noButtons",collapsed:"collapsed",grid:"grid",query:"query",queryOptions:"queryOptions",hidden:"hidden"},outputs:{filterClear:"filterClear"},features:[i._Bn([{provide:t.sg,useFactory:N=>N.formDirective,deps:[F]}]),i.qOj],ngContentSelectors:C,decls:4,vars:2,consts:[[1,"container-fluid"],[1,"mt-2",3,"formGroup"],["class","d-flex flex-row-reverse mt-2",4,"ngIf"],[1,"d-flex","flex-row-reverse","mt-2"],[1,"flex-fill","d-flex","justify-content-end"],["class","me-2",4,"ngIf"],["role","group","aria-label","Grupo de bot\xf5es para filtrar e limpar filtro",1,"btn-group"],["type","button",1,"btn","btn-outline-success",3,"id","click"],[1,"bi","bi-filter-circle"],["type","button",1,"btn","btn-outline-danger",3,"id","click"],[1,"bi","bi-x-circle"],[1,"me-2"],["labelPosition","left","label","Mostrar os deletados",3,"size","hostClass","control","change"]],template:function(x,H){1&x&&(i.F$t(),i.TgZ(0,"div",0)(1,"form",1),i.Hsn(2),i.qZA(),i.YNc(3,y,10,3,"div",2),i.qZA()),2&x&&(i.xp6(1),i.Q6J("formGroup",H.form),i.xp6(2),i.Q6J("ngIf",!H.isNoButtons))},styles:[".container-fluid[_ngcontent-%COMP%]{border-bottom:1px solid var(--petrvs-navbar-vertical-border-color);padding-bottom:10px}"]})}return F})()},2204:(lt,_e,m)=>{"use strict";m.d(_e,{C:()=>i});class i{constructor(){this.title="",this.type="display",this.field="",this.orderBy="",this.editable=!1,this.items=[],this.editing=!1,this.align="none",this.verticalAlign="bottom",this.minWidth=void 0,this.maxWidth=void 0,this.width=void 0}isType(A){return(this.type+":").startsWith(A+":")}inType(A){return!!A.find(a=>(this.type+":").startsWith(a+":"))}isSubType(A){return(":"+this.type).endsWith(":"+A)}inSubType(A){return!!A.find(a=>(":"+this.type).endsWith(":"+a))}isColumnEditable(A){return!!this.save&&(!!A&&"boolean"!=typeof this.editable&&!!this.editable&&this.editable(A)||"boolean"==typeof this.editable&&(this.editable||!!this.columnEditTemplate))}get isAlways(){return null!=this.always}}},3150:(lt,_e,m)=>{"use strict";m.d(_e,{M:()=>fi});var i=m(8239),t=m(755),A=m(2133),a=m(6976),y=m(5545),C=m(2307),b=m(5736),F=m(5512),j=m(7224),N=m(7765),x=m(2204),H=m(2704),k=m(8252),P=m(4788),X=m(9230),me=m(2702);function Oe(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div",10)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&Mt){const ve=t.oxw();t.xp6(4),t.Oqu((ve.error||"").split("&")[0]),t.xp6(2),t.hij("",(ve.error||"").split("&")[1]," ")}}function Se(Mt,Ot){1&Mt&&(t.TgZ(0,"th",13),t._UZ(1,"i",14),t.qZA())}function wt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"th",15),t._UZ(1,"column-header",16),t.qZA()),2&Mt){const ve=Ot.$implicit,De=Ot.index,xe=t.oxw(2);t.Tol(ve.cellClass||""),t.Udp("width",ve.width,"px")("min-width",ve.minWidth,"px")("max-width",ve.maxWidth,"px")("vertical-align",ve.verticalAlign),t.ekj("grid-editable-options",xe.isEditableGridOptions(ve)),t.xp6(1),t.Q6J("column",ve)("index",De)("grid",xe.self)}}function K(Mt,Ot){if(1&Mt&&(t.TgZ(0,"thead")(1,"tr"),t.YNc(2,Se,2,0,"th",11),t.YNc(3,wt,2,15,"th",12),t.qZA()()),2&Mt){const ve=t.oxw();t.xp6(2),t.Q6J("ngIf",ve.multiselecting),t.xp6(1),t.Q6J("ngForOf",ve.columns)}}const V=function(Mt,Ot,ve){return{grid:Mt,separator:Ot,group:ve}};function J(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.Q6J("ngTemplateOutlet",De.groupTemplate)("ngTemplateOutletContext",t.kEZ(2,V,De,De.getGroupSeparator(ve),De.getGroupSeparator(ve).group))}}function ae(Mt,Ot){if(1&Mt&&(t.TgZ(0,"strong",24),t._uU(1),t.qZA()),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.xp6(1),t.Oqu(De.getGroupSeparator(ve).text)}}function oe(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr",19)(1,"td",20),t.YNc(2,J,1,6,"ng-container",21),t.YNc(3,ae,2,1,"strong",22),t.qZA()()),2&Mt){const ve=t.oxw(2);t.xp6(1),t.uIk("colspan",ve.columns.length),t.xp6(1),t.Q6J("ngIf",ve.groupTemplate),t.xp6(1),t.Q6J("ngIf",!ve.groupTemplate)}}function ye(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div",27)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&Mt){const ve=t.oxw(3);t.xp6(4),t.Oqu((ve.error||"").split("&")[0]),t.xp6(2),t.hij("",(ve.error||"").split("&")[1]," ")}}function Ee(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr",19)(1,"td",25),t.YNc(2,ye,7,2,"div",26),t.qZA()()),2&Mt){const ve=t.oxw(2);t.xp6(1),t.uIk("colspan",ve.columns.length),t.xp6(1),t.Q6J("ngIf",null==ve.error?null:ve.error.length)}}function Ge(Mt,Ot){if(1&Mt){const ve=t.EpF();t.TgZ(0,"input",33),t.NdJ("change",function(xe){t.CHM(ve);const Ye=t.oxw(3).$implicit,xt=t.oxw();return t.KtG(xt.onMultiselectChange(xe,Ye))}),t.qZA()}if(2&Mt){const ve=t.oxw(3).$implicit,De=t.oxw();t.uIk("checked",De.isMultiselectChecked(ve))}}function gt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"td",31),t.YNc(1,Ge,1,1,"input",32),t.qZA()),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.xp6(1),t.Q6J("ngIf",!De.canSelect||De.canSelect(ve))}}function Ze(Mt,Ot){if(1&Mt&&t._UZ(0,"column-row",37),2&Mt){const ve=t.oxw(),De=ve.index,xe=ve.$implicit,Ye=t.oxw(2).$implicit,xt=t.oxw();t.Q6J("index",De)("column",xe)("row",Ye)("grid",xt.self)}}function Je(Mt,Ot){if(1&Mt&&t._UZ(0,"column-expand",38),2&Mt){const ve=t.oxw(),De=ve.index,xe=ve.$implicit,Ye=t.oxw(2).$implicit,xt=t.oxw();t.Q6J("index",De)("toggleable",!xt.isNoToggleable)("expanded",!!xt.expandedIds[Ye.id])("column",xe)("row",Ye)("grid",xt.self)}}const tt=function(){return[]};function Qe(Mt,Ot){if(1&Mt){const ve=t.EpF();t.TgZ(0,"column-options",39),t.NdJ("calcWidthChange",function(xe){t.CHM(ve);const Ye=t.oxw().$implicit;return t.KtG(Ye.width=xe)}),t.qZA()}if(2&Mt){const ve=t.oxw(),De=ve.$implicit,xe=ve.index,Ye=t.oxw(2).$implicit,xt=t.oxw();t.Q6J("calcWidth",De.width)("index",xe)("column",De)("row",Ye)("grid",xt.self)("options",De.options)("buttons",De.buttons||t.DdM(10,tt))("dynamicOptions",De.dynamicOptions)("dynamicButtons",De.dynamicButtons)("upDownButtons",De.upDownButtons)}}const pt=function(){return["options","expand"]};function Nt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"td"),t.YNc(1,Ze,1,4,"column-row",34),t.YNc(2,Je,1,6,"column-expand",35),t.YNc(3,Qe,1,11,"column-options",36),t.qZA()),2&Mt){const ve=Ot.$implicit,De=t.oxw(2).$implicit,xe=t.oxw();t.Tol("grid-column "+(ve.cellClass||"")),t.Udp("width",ve.width,"px")("min-width",ve.minWidth,"px")("max-width",ve.maxWidth,"px"),t.ekj("text-center","center"==ve.align)("text-end","right"==ve.align)("grid-column-expanded",ve.isType("expand")&&!!xe.expandedIds[De.id])("grid-column-editing-options",ve.editing)("text-end",ve.isType("options")),t.xp6(1),t.Q6J("ngIf",!ve.inType(t.DdM(21,pt))),t.xp6(1),t.Q6J("ngIf",ve.isType("expand")),t.xp6(1),t.Q6J("ngIf",ve.isType("options")&&!xe.multiselecting)}}const Jt=function(){return{id:null}};function nt(Mt,Ot){if(1&Mt){const ve=t.EpF();t.TgZ(0,"tr",28),t.NdJ("click",function(xe){t.CHM(ve);const Ye=t.oxw().$implicit,xt=t.oxw();return t.KtG(xt.onRowClick(xe,Ye))}),t.YNc(1,gt,2,1,"td",29),t.YNc(2,Nt,4,22,"td",30),t.qZA()}if(2&Mt){const ve=t.oxw().$implicit,De=t.oxw();t.ekj("d-none","DELETE"==ve._status)("deleted_at",ve.deleted_at)("table-active",(ve||t.DdM(10,Jt)).id==(De.selected||t.DdM(11,Jt)).id),t.Q6J("id","row_"+(ve||t.DdM(12,Jt)).id),t.uIk("role",De.isSelectable?"button":void 0),t.xp6(1),t.Q6J("ngIf",De.multiselecting),t.xp6(1),t.Q6J("ngForOf",De.columns)}}const ot=function(Mt,Ot){return{row:Mt,grid:Ot}};function Ct(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.Q6J("ngTemplateOutlet",De.expandedColumn.expandTemplate)("ngTemplateOutletContext",t.WLB(2,ot,ve,De))}}function He(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr")(1,"td",40),t._uU(2,"\xa0"),t.qZA(),t.TgZ(3,"td",40),t.YNc(4,Ct,1,5,"ng-container",21),t.qZA()()),2&Mt){const ve=t.oxw(2);t.xp6(3),t.uIk("colspan",ve.columns.length-1),t.xp6(1),t.Q6J("ngIf",null==ve.expandedColumn?null:ve.expandedColumn.expandTemplate)}}function mt(Mt,Ot){if(1&Mt&&(t.ynx(0),t.YNc(1,oe,4,3,"tr",17),t.YNc(2,Ee,3,2,"tr",17),t.YNc(3,nt,3,13,"tr",18),t.YNc(4,He,5,2,"tr",6),t.BQk()),2&Mt){const ve=Ot.$implicit,De=t.oxw();t.xp6(1),t.Q6J("ngIf",!!De.getGroupSeparator(ve)),t.xp6(1),t.Q6J("ngIf",(null==De.error?null:De.error.length)&&(null==De.editing?null:De.editing.id)==ve.id),t.xp6(1),t.Q6J("ngIf",!De.isSeparator(ve)),t.xp6(1),t.Q6J("ngIf",De.isNoToggleable||!!De.expandedIds[ve.id])}}function vt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr")(1,"td",19)(2,"div",41)(3,"div",42),t._UZ(4,"span",43),t.qZA()()()()),2&Mt){const ve=t.oxw();t.xp6(1),t.uIk("colspan",ve.columns.length)}}function hn(Mt,Ot){1&Mt&&t.Hsn(0,1,["*ngIf","paginationRef?.type == 'infinity'"])}function yt(Mt,Ot){if(1&Mt&&t._UZ(0,"toolbar",45),2&Mt){const ve=t.oxw(2);t.Q6J("title",ve.sidePanel.title)("buttons",ve.editing?ve.panelButtons:t.DdM(2,tt))}}const Fn=function(Mt,Ot,ve){return{row:Mt,grid:Ot,metadata:ve}};function xn(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2);t.Q6J("ngTemplateOutlet",ve.sidePanel.template)("ngTemplateOutletContext",t.kEZ(2,Fn,ve.selected,ve,ve.getMetadata(ve.selected)))}}function In(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2);t.Q6J("ngTemplateOutlet",ve.sidePanel.editTemplate)("ngTemplateOutletContext",t.kEZ(2,Fn,ve.selected,ve,ve.getMetadata(ve.selected)))}}function dn(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div"),t.YNc(1,yt,1,3,"toolbar",44),t.YNc(2,xn,1,6,"ng-container",21),t.YNc(3,In,1,6,"ng-container",21),t.qZA()),2&Mt){const ve=t.oxw();t.Tol(ve.classColPanel),t.xp6(1),t.Q6J("ngIf",!ve.sidePanel.isNoToolbar&&((null==ve.sidePanel.title?null:ve.sidePanel.title.length)||ve.editing)),t.xp6(1),t.Q6J("ngIf",!ve.editing&&ve.sidePanel.template),t.xp6(1),t.Q6J("ngIf",ve.editing&&ve.sidePanel.editTemplate)}}function qn(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div",46),t._UZ(1,"i",47),t._uU(2),t.qZA()),2&Mt){const ve=t.oxw();t.ekj("d-block",ve.isInvalid()),t.xp6(2),t.hij(" ",ve.errorMessage()," ")}}function di(Mt,Ot){1&Mt&&t.Hsn(0,2,["*ngIf","paginationRef?.type == 'pages'"])}const ir=["*",[["pagination"]],[["pagination"]]],Bn=["*","pagination","pagination"];class xi{constructor(Ot){this.group=Ot,this.metadata=void 0}get text(){return this.group.map(Ot=>Ot.value).join(" - ")}}let fi=(()=>{class Mt extends b.V{get class(){return this.isNoMargin?"p-0 m-0":""}set title(ve){ve!=this._title&&(this._title=ve,this.toolbarRef&&(this.toolbarRef.title=ve))}get title(){return this._title}set hasAdd(ve){ve!==this._hasAdd&&(this._hasAdd=ve,this.reset())}get hasAdd(){return this._hasAdd}set hasEdit(ve){ve!==this._hasEdit&&(this._hasEdit=ve,this.reset())}get hasEdit(){return this._hasEdit}set hasDelete(ve){ve!==this._hasDelete&&(this._hasDelete=ve,this.reset())}get hasDelete(){return this._hasDelete}set disabled(ve){ve!=this._disabled&&(this._disabled=ve,this.reset())}get disabled(){return this._disabled}set query(ve){this._query=ve,this.paginationRef&&(this.paginationRef.query=ve,this.paginationRef.cdRef.detectChanges()),ve&&(this.list=ve.subject.asObservable())}get query(){return this._query}set list(ve){var De=this;this._list=ve,ve&&ve.subscribe(function(){var xe=(0,i.Z)(function*(Ye){De.loadList&&(yield De.loadList(Ye)),De.items=Ye,De.selected=void 0,De.cdRef.detectChanges()});return function(Ye){return xe.apply(this,arguments)}}(),xe=>this.error=xe.message||xe.toString())}get list(){return this._list}set items(ve){this._items=ve,this.isExpanded&&this.expandAll(),this.group(ve),this.control?.setValue(ve),this.cdRef.detectChanges()}get items(){return this.control?.value||this._items||[]}set visible(ve){this._visible=ve,this.cdRef.detectChanges()}get visible(){return this._visible}set loading(ve){this._loading=ve,this.cdRef.detectChanges()}get loading(){return this._loading}set error(ve){this._error=ve}get error(){return this._error}set exporting(ve){ve!=this._exporting&&(this._exporting=ve,ve?this.dialog.showSppinerOverlay("Exportando dados..."):this.dialog.closeSppinerOverlay())}get exporting(){return this._exporting}constructor(ve){var De;super(ve),De=this,this.injector=ve,this.select=new t.vpe,this.icon="",this.selectable=!1,this.labelAdd="Incluir",this.join=[],this.relatorios=[],this.form=new A.cw({}),this.hasReport=!0,this.scrollable=!1,this.controlName=null,this.control=void 0,this.minHeight=350,this.multiselectAllFields=[],this._loading=!1,this._hasAdd=!0,this._hasEdit=!0,this._hasDelete=!1,this._title="",this._visible=!0,this._exporting=!1,this.filterCollapsedOnMultiselect=!1,this.self=this,this.columns=[],this.toolbarButtons=[],this.adding=!1,this.multiselecting=!1,this.multiselected={},this.multiselectExtra=void 0,this.groupIds={_qtdRows:-1},this.expandedIds={},this.metadatas={},this.BUTTON_FILTER={icon:"bi bi-search",label:"Filtros",onClick:()=>this.filterRef?.toggle()},this.addToolbarButtonClick=(0,i.Z)(function*(){return yield De.add?De.isEditable&&De.hasToolbar?De.onAddItem():De.add():De.go.navigate(De.addRoute,De.addMetadata)}).bind(this),this.BUTTON_ADD={icon:"bi bi-plus-circle",color:"btn-outline-success",label:this.labelAdd,onClick:this.addToolbarButtonClick},this.BUTTON_REPORT={icon:"bi-file-earmark-spreadsheet",color:"btn-outline-info",label:"Exportar",onClick:()=>this.report()},this.BUTTON_EDIT={label:"Alterar",icon:"bi bi-pencil-square",hint:"Alterar",color:"btn-outline-info"},this.BUTTON_DELETE={label:"Excluir",icon:"bi bi-trash",hint:"Excluir",color:"btn-outline-danger"},this.BUTTON_MULTISELECT_SELECIONAR="Selecionar",this.BUTTON_MULTISELECT_CANCELAR_SELECAO="Cancelar sele\xe7\xe3o",this.BUTTON_MULTISELECT={label:"Selecionar",icon:"bi bi-ui-checks-grid",hint:"Excluir",toggle:!0,pressed:!1,color:"btn-outline-danger",onClick:this.onMultiselectClick.bind(this),items:[{label:"Todos",icon:"bi bi-grid-fill",hint:"Selecionar",color:"btn-outline-danger",onClick:this.onSelectAllClick.bind(this)},{label:"Nenhum",icon:"bi bi-grid",hint:"Selecionar",color:"btn-outline-danger",onClick:this.onUnselectAllClick.bind(this)}]},this.BUTTON_REPORTS={label:"Relat\xf3rios",icon:"bi bi-file-earmark-ruled",toggle:!0,pressed:!1,color:"btn-outline-info",onClick:this.onMultiselectClick.bind(this),items:[{label:"Exportar para Excel",icon:"bi bi-file-spreadsheet",hint:"Excel",color:"btn-outline-danger",onClick:this.report.bind(this)}]},this.panelButtons=[{id:"concluir_valid",label:"Concluir",icon:"bi-check-circle",color:"btn-outline-success",dynamicVisible:(()=>this.form.valid).bind(this),onClick:(()=>this.onSaveItem(this.editing)).bind(this)},{id:"concluir_invalid",label:"Concluir",icon:"bi-exclamation-circle",color:"btn-outline-success",dynamicVisible:(()=>!this.form.valid).bind(this),onClick:(()=>console.log(this.form.errors)).bind(this)},{id:"cancelar",label:"Cancelar",icon:"bi-dash-circle",color:"btn-outline-danger",onClick:this.onCancelItem.bind(this)}],this.go=this.injector.get(C.o),this.dialog=this.injector.get(y.x),this.dao=new a.B("",ve),this.templateDao=this.injector.get(X.w),this.documentoService=this.injector.get(me.t)}ngOnInit(){this.BUTTON_ADD.label=this.labelAdd,this.relatorios&&this.relatorios.forEach(ve=>{this.BUTTON_REPORTS.items?.find(xe=>xe.id===ve.key)||this.BUTTON_REPORTS.items?.push({label:ve.value,icon:"bi bi-file-pdf",hint:"Visualizar",id:ve.key,onClick:()=>this.buildReport(ve.key)})})}getId(ve){return this.generatedId("_grid_"+this.controlName+this.title+ve)}ngAfterContentInit(){this.loadColumns(),this.loadFilter(),this.loadReport(),this.loadToolbar(),this.loadPagination(),this.isMultiselectEnabled&&this.enableMultiselect(!0)}ngAfterViewInit(){this.init&&this.init(this)}reset(){this.columns=[],this.toolbarButtons=[],this.selected=void 0,this.editing=void 0,this.adding=!1,this.ngAfterContentInit()}queryInit(){this.query=this.dao?.query(this.queryOptions,{after:()=>this.cdRef.detectChanges()}),this.cdRef.detectChanges()}isSeparator(ve){return ve instanceof xi}get isExpanded(){return null!=this.expanded}get isNoHeader(){return null!=this.noHeader}get isNoToggleable(){return null!=this.noToggleable}get isNoMargin(){return null!=this.noMargin}get isLoading(){return this.query?.loading||this.loading}getGroupSeparator(ve){return this.groupBy&&this.groupIds._qtdRows!=this.items?.length&&this.group(this.items),ve instanceof xi?ve:this.groupIds[ve.id]}get isMultiselect(){return null!=this.multiselect}get isMultiselectEnabled(){return null!=this.multiselectEnabled}get isEditable(){return null!=this.editable}get isSelectable(){return this.selectable||!!this.sidePanel}confirm(){var ve=this;return(0,i.Z)(function*(){if(ve.editing)return yield ve.saveItem(ve.editing)})()}get hasToolbar(){return!!this.toolbarRef}get hasItems(){return!!this.control||!this.query}get isDisabled(){return void 0!==this.disabled}get queryOptions(){return{where:this.filterRef?.where&&this.filterRef?.form?this.filterRef?.where(this.filterRef.form):[],orderBy:[...(this.groupBy||[]).map(ve=>[ve.field,"asc"]),...this.orderBy||[]],join:this.join||[],limit:this.rowsLimit}}group(ve){if(this.groupBy&&ve?.length){let De="";this.groupIds={_qtdRows:ve.length};let xe=ve.filter(Ye=>!(Ye instanceof xi)).map(Ye=>Object.assign(Ye,{_group:this.groupBy.map(xt=>Object.assign({},xt,{value:this.util.getNested(Ye,xt.field)}))}));ve.splice(0,ve.length,...xe),this.query||ve.sort((Ye,xt)=>JSON.stringify(Ye._group)>JSON.stringify(xt._group)?1:JSON.stringify(Ye._group){this.documentoService.preview(xe)})}expand(ve){this.expandedIds[ve]=!0,this.cdRef.detectChanges()}expandAll(){this.items.forEach(ve=>this.expandedIds[ve.id]=!0)}refreshExpanded(ve){let De=this.expandedIds[ve];this.expandedIds[ve]=!1,this.cdRef.detectChanges(),this.expandedIds[ve]=De,this.cdRef.detectChanges()}refreshRows(){let ve=this._items;this._items=[],this.cdRef.detectChanges(),this._items=ve,this.cdRef.detectChanges()}refreshMultiselectToolbar(){this.toolbarRef&&(this.toolbarRef.buttons=this.multiselecting?[this.BUTTON_MULTISELECT,...this.multiselectMenu||[],...this.dynamicMultiselectMenu?this.dynamicMultiselectMenu(this.multiselected):[]]:[...this.initialButtons||[],...this.toolbarButtons])}enableMultiselect(ve){this.multiselecting=ve,this.multiselecting?(this.filterCollapsedOnMultiselect=!!this.filterRef?.collapsed,this.filterRef&&(this.filterRef.collapsed=!0),this.BUTTON_MULTISELECT.label=this.BUTTON_MULTISELECT_CANCELAR_SELECAO,this.refreshMultiselectToolbar(),this.BUTTON_MULTISELECT.badge=this.multiselectedCount?this.multiselectedCount.toString():void 0):(this.multiselected={},this.BUTTON_MULTISELECT.label=this.BUTTON_MULTISELECT_SELECIONAR,this.filterRef&&(this.filterRef.collapsed=this.filterCollapsedOnMultiselect),this.refreshMultiselectToolbar(),this.BUTTON_MULTISELECT.badge=void 0),this.cdRef.detectChanges()}onMultiselectClick(){this.enableMultiselect(!!this.BUTTON_MULTISELECT.pressed)}get multiselectedCount(){return Object.keys(this.multiselected).length}onSelectAllClick(){var ve=this;return(0,i.Z)(function*(){ve.BUTTON_MULTISELECT.pressed=!0,ve.multiselecting||ve.enableMultiselect(!0),ve.dialog.showSppinerOverlay("Obtendo informa\xe7\xf5es de todos os registros . . .");try{if(ve.items&&!ve.query)ve.multiselected={},ve.items.forEach(De=>ve.multiselected[De.id]=De);else if(ve.query){console.log(ve.multiselectAllFields);const De=yield ve.query.getAllIds(ve.multiselectAllFields);ve.multiselectExtra=De.extra;for(let xe of De.rows)ve.multiselected[xe.id]=xe}}finally{ve.dialog.closeSppinerOverlay()}ve.BUTTON_MULTISELECT.badge=ve.multiselectedCount?ve.multiselectedCount.toString():void 0,ve.refreshMultiselectToolbar(),ve.cdRef.detectChanges(),ve.multiselectChange&&ve.multiselectChange(ve.multiselected)})()}onUnselectAllClick(){this.clearMultiselect()}clearMultiselect(){this.multiselected={},this.BUTTON_MULTISELECT.badge=void 0,this.refreshMultiselectToolbar(),this.cdRef.detectChanges(),this.multiselectChange&&this.multiselectChange(this.multiselected)}isMultiselectChecked(ve){return this.multiselected.hasOwnProperty(ve.id)?"":void 0}get multiselectedList(){return Object.values(this.multiselected)||[]}onMultiselectChange(ve,De){ve.currentTarget.checked?this.multiselected.hasOwnProperty(De.id)||(this.multiselected[De.id]=De):this.multiselected.hasOwnProperty(De.id)&&delete this.multiselected[De.id],this.BUTTON_MULTISELECT.badge=this.multiselectedCount?this.multiselectedCount.toString():void 0,this.refreshMultiselectToolbar(),this.cdRef.detectChanges(),this.multiselectChange&&this.multiselectChange(this.multiselected)}setMultiselectSelectedItems(ve){ve.forEach(De=>this.multiselected[De.id]=De),this.BUTTON_MULTISELECT.badge=this.multiselectedCount?this.multiselectedCount.toString():void 0,this.refreshMultiselectToolbar(),this.cdRef.detectChanges()}loadFilter(){this.filterRef&&(this.filterRef.grid=this)}loadReport(){this.reportRef&&(this.reportRef.grid=this,this.hasReport&&this.toolbarButtons.push(this.BUTTON_REPORTS))}loadToolbar(){this.toolbarRef&&!this.isDisabled&&(this.initialButtons||(this.initialButtons=[...this.toolbarRef.buttons||[]]),this.isMultiselect&&this.toolbarButtons.push(this.BUTTON_MULTISELECT),this.hasAdd&&(this.addRoute||this.add)&&this.toolbarButtons.push(this.BUTTON_ADD),this.toolbarRef.buttons=[...this.initialButtons||[],...this.toolbarButtons],this.toolbarRef.icon=this.icon,this.toolbarRef.title=this.title)}loadPagination(){this.paginationRef&&(this.paginationRef.query=this.query,this.rowsLimit=this.paginationRef.rows)}isEditableGridOptions(ve){return"options"==ve.type&&(this.isEditable||this.isSelectable)&&this.hasAdd&&!this.hasToolbar}get expandedColumn(){return this.columns.find(ve=>ve.isType("expand"))}reloadFilter(){this.query?.reload(this.queryOptions)}showFilter(){this.filterRef&&(this.filterRef.collapsed=!1)}hideFilter(){this.filterRef&&(this.filterRef.collapsed=!0)}loadColumns(){this.columns=[],this.columnsRef?.columns.forEach(ve=>{const De="options"==ve.type;if(!De||!this.isDisabled){let xe=[];De&&this.hasEdit&&xe.push(Object.assign(this.BUTTON_EDIT,{onClick:this.isEditable&&!ve.onEdit?this.onEditItem.bind(this):ve.onEdit})),De&&this.hasDelete&&xe.push(Object.assign(this.BUTTON_DELETE,{onClick:this.isEditable&&!ve.onDelete?this.onDeleteItem.bind(this):ve.onDelete})),this.columns.push(Object.assign(new x.C,ve,{items:ve.items||[],buttons:"options"!=ve.type?void 0:ve.buttons||xe}))}})}onAddItem(){var ve=this;this.adding||(this.adding=!0,(0,i.Z)(function*(){ve.form.reset(ve.form.initialState);let De=ve.add?yield ve.add():ve.form.value;De?(!(De.id||"").length&&ve.hasItems&&(De.id=ve.dao?ve.dao.generateUuid():ve.util.md5()),ve.items.push(De),yield ve.edit(De)):ve.adding=!1}).bind(this)())}onEditItem(ve){var De=this;this.editing||(this.editing=ve,(0,i.Z)(function*(){yield De.edit(ve)}).bind(this)())}onDeleteItem(ve){var De=this;(0,i.Z)(function*(){const Ye=(De.remove?yield De.remove(ve):De.hasItems)?De.items.findIndex(xt=>xt.id==ve.id):-1;Ye>=0&&De.items.splice(Ye,1),De.group(De.items),De.selected=void 0,De.cdRef.detectChanges()}).bind(this)()}onCancelItem(){var ve=this;(0,i.Z)(function*(){ve.adding&&ve.items.splice(ve.items.findIndex(De=>!(De instanceof xi)&&De.id==(ve.editing||{id:void 0}).id),1),yield ve.endEdit()}).bind(this)()}onSaveItem(ve){var De=this;(0,i.Z)(function*(){yield De.saveItem(ve)}).bind(this)()}saveItem(ve){var De=this;return(0,i.Z)(function*(){if(De.form.valid){const xe=De.save?yield De.save(De.form,ve):De.form.value;if(xe){const Ye=(De.items.indexOf(ve)+1||De.items.findIndex(cn=>!(cn.id||"").length||cn.id==xe.id)+1)-1;let xt;Ye>=0?(xt=De.items[Ye],Object.assign(De.items[Ye],De.util.fillForm(xt,xe))):xe.id?.length&&(xt=xe,De.items.push(xe)),De.editing=xt,De.saveEnd&&De.saveEnd(xt)}!1!==xe&&(De.group(De.items),De.control?.setValue(De.items),De.cdRef.detectChanges(),yield De.endEdit())}else De.form.markAllAsTouched()})()}edit(ve){var De=this;return(0,i.Z)(function*(){De.isSelectable&&ve&&De.onRowClick(new Event("SelectByEdit"),ve),De.editing=ve,De.filterRef&&(De.filterRef.visible=!1),De.toolbarRef&&(De.toolbarRef.visible=!1),De.load?yield De.load(De.form,ve):De.form.patchValue(De.util.fillForm(De.form.value,ve)),De.cdRef.detectChanges(),document.getElementById("row_"+ve.id)?.scrollIntoView({block:"end",inline:"nearest",behavior:"smooth"})})()}endEdit(){var ve=this;return(0,i.Z)(function*(){const De=ve.editing?.id;ve.query&&ve.editing&&(yield ve.query.refreshId(ve.editing.id)),ve.editing=void 0,ve.adding=!1,ve.items=ve.items,ve.filterRef&&(ve.filterRef.visible=!0),ve.toolbarRef&&(ve.toolbarRef.visible=!0),ve.cdRef.detectChanges(),ve.isSelectable&&ve.onRowClick(new Event("SelectByEdit"),ve.items.find(xe=>xe.id==De)),ve.editEnd&&ve.editEnd(De)})()}onRowClick(ve,De){this.isSelectable&&(this.editing!=De&&this.onCancelItem(),this.selected=De,this.cdRef.detectChanges(),this.select&&this.select.emit(De))}selectById(ve){let De=this.items.find(xe=>xe.id==ve);return this.isSelectable&&De&&this.onRowClick(new Event("SelectById"),De),De}getMetadata(ve){return ve?.id?(this.metadatas[ve.id]||(this.metadatas[ve.id]={}),this.metadatas[ve.id]):{}}setMetadata(ve,De){ve.id&&(this.metadatas[ve.id]=De)}clearMetadata(){this.metadatas={},this.cdRef.detectChanges()}get classColTable(){return(this.sidePanel?"col-md-"+(12-this.sidePanel.size)+(this.sidePanel.isFullSizeOnEdit&&this.editing?" d-none":""):"col-md-12")+(this.isNoMargin?" p-0 m-0":"")}get classColPanel(){return"col-md-"+(this.sidePanel.isFullSizeOnEdit&&this.editing?12:this.sidePanel.size)}isInvalid(){return!!this.control?.invalid&&(this.control.dirty||this.control.touched)}hasError(){return!!this.control?.errors}errorMessage(){return this.control.errors?.errorMessage}static#e=this.\u0275fac=function(De){return new(De||Mt)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:Mt,selectors:[["grid"]],contentQueries:function(De,xe,Ye){if(1&De&&(t.Suo(Ye,j.a,5),t.Suo(Ye,k.Y,5),t.Suo(Ye,N.z,5),t.Suo(Ye,P.h,5),t.Suo(Ye,F.n,5),t.Suo(Ye,H.Q,5)),2&De){let xt;t.iGM(xt=t.CRH())&&(xe.columnsRef=xt.first),t.iGM(xt=t.CRH())&&(xe.reportRef=xt.first),t.iGM(xt=t.CRH())&&(xe.filterRef=xt.first),t.iGM(xt=t.CRH())&&(xe.sidePanel=xt.first),t.iGM(xt=t.CRH())&&(xe.toolbarRef=xt.first),t.iGM(xt=t.CRH())&&(xe.paginationRef=xt.first)}},viewQuery:function(De,xe){if(1&De&&t.Gf(A.sg,5),2&De){let Ye;t.iGM(Ye=t.CRH())&&(xe.formDirective=Ye.first)}},hostVars:2,hostBindings:function(De,xe){2&De&&t.Tol(xe.class)},inputs:{dao:"dao",icon:"icon",selectable:"selectable",loadList:"loadList",multiselectChange:"multiselectChange",init:"init",add:"add",load:"load",remove:"remove",save:"save",editEnd:"editEnd",saveEnd:"saveEnd",addRoute:"addRoute",addMetadata:"addMetadata",labelAdd:"labelAdd",orderBy:"orderBy",groupBy:"groupBy",join:"join",relatorios:"relatorios",form:"form",noHeader:"noHeader",noMargin:"noMargin",editable:"editable",hasReport:"hasReport",scrollable:"scrollable",controlName:"controlName",control:"control",expanded:"expanded",noToggleable:"noToggleable",minHeight:"minHeight",multiselect:"multiselect",multiselectEnabled:"multiselectEnabled",multiselectAllFields:"multiselectAllFields",canSelect:"canSelect",dynamicMultiselectMenu:"dynamicMultiselectMenu",multiselectMenu:"multiselectMenu",groupTemplate:"groupTemplate",title:"title",hasAdd:"hasAdd",hasEdit:"hasEdit",hasDelete:"hasDelete",disabled:"disabled",query:"query",list:"list",items:"items",visible:"visible",loading:"loading"},outputs:{select:"select"},features:[t._Bn([{provide:A.sg,useFactory:ve=>ve.formDirective,deps:[Mt]}]),t.qOj],ngContentSelectors:Bn,decls:16,vars:19,consts:[[1,"h-100","hidden-print"],["class","alert alert-danger mt-2","role","alert",4,"ngIf"],[1,"grid-list-container","h-100",3,"formGroup"],[1,"row","m-0","p-0","h-100"],[1,"table-responsive"],[1,"table"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"class",4,"ngIf"],["class","invalid-feedback",3,"d-block",4,"ngIf"],["role","alert",1,"alert","alert-danger","mt-2"],["class","grid-multiselect-header",4,"ngIf"],["scope","col",3,"class","grid-editable-options","width","min-width","max-width","vertical-align",4,"ngFor","ngForOf"],[1,"grid-multiselect-header"],[1,"bi","bi-card-checklist"],["scope","col"],[3,"column","index","grid"],["class","grid-no-hover",4,"ngIf"],[3,"id","d-none","deleted_at","table-active","click",4,"ngIf"],[1,"grid-no-hover"],[1,"grid-no-hover","px-0"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","grid-group-text px-2",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"grid-group-text","px-2"],[1,"grid-no-hover","px-0","border-0"],["class","alert alert-danger mt-2 mb-5","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-danger","mt-2","mb-5"],[3,"id","click"],["class","grid-multiselect-column",4,"ngIf"],[3,"class","text-center","text-end","grid-column-expanded","grid-column-editing-options","width","min-width","max-width",4,"ngFor","ngForOf"],[1,"grid-multiselect-column"],["class","form-check-input","type","checkbox","name","gird_multiselect_ids[]",3,"change",4,"ngIf"],["type","checkbox","name","gird_multiselect_ids[]",1,"form-check-input",3,"change"],[3,"index","column","row","grid",4,"ngIf"],[3,"index","toggleable","expanded","column","row","grid",4,"ngIf"],[3,"calcWidth","index","column","row","grid","options","buttons","dynamicOptions","dynamicButtons","upDownButtons","calcWidthChange",4,"ngIf"],[3,"index","column","row","grid"],[3,"index","toggleable","expanded","column","row","grid"],[3,"calcWidth","index","column","row","grid","options","buttons","dynamicOptions","dynamicButtons","upDownButtons","calcWidthChange"],[1,"grid-expanded-background"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[3,"title","buttons",4,"ngIf"],[3,"title","buttons"],[1,"invalid-feedback"],[1,"bi","bi-info-circle"]],template:function(De,xe){1&De&&(t.F$t(ir),t.TgZ(0,"div",0),t.YNc(1,Oe,7,2,"div",1),t.TgZ(2,"form",2)(3,"div",3)(4,"div"),t.Hsn(5),t.TgZ(6,"div",4)(7,"table",5),t.YNc(8,K,4,2,"thead",6),t.TgZ(9,"tbody"),t.YNc(10,mt,5,4,"ng-container",7),t.YNc(11,vt,5,1,"tr",6),t.YNc(12,hn,1,0,"ng-content",6),t.qZA()()()(),t.YNc(13,dn,4,5,"div",8),t.qZA()(),t.YNc(14,qn,3,3,"div",9),t.YNc(15,di,1,0,"ng-content",6),t.qZA()),2&De&&(t.ekj("grid-invisible",!xe.visible),t.xp6(1),t.Q6J("ngIf",(null==xe.error?null:xe.error.length)&&!xe.editing),t.xp6(1),t.Q6J("formGroup",xe.form),t.xp6(2),t.Tol(xe.classColTable),t.xp6(2),t.Udp("min-height",xe.minHeight+"px"),t.xp6(1),t.ekj("table-hover",xe.isSelectable)("scrollable",xe.scrollable),t.xp6(1),t.Q6J("ngIf",!xe.isNoHeader),t.xp6(2),t.Q6J("ngForOf",xe.items),t.xp6(1),t.Q6J("ngIf",xe.isLoading),t.xp6(1),t.Q6J("ngIf","infinity"==(null==xe.paginationRef?null:xe.paginationRef.type)),t.xp6(1),t.Q6J("ngIf",xe.sidePanel),t.xp6(1),t.Q6J("ngIf",xe.hasError()),t.xp6(1),t.Q6J("ngIf","pages"==(null==xe.paginationRef?null:xe.paginationRef.type)))},styles:[".grid-group-text[_ngcontent-%COMP%]{margin-left:0}.grid-editable-options[_ngcontent-%COMP%]{width:100px}.grid-no-hover[_ngcontent-%COMP%], .grid-no-hover[_ngcontent-%COMP%]:hover{background-color:var(--bs-body-bg)!important;filter:brightness(95%)!important;cursor:default}.grid-column[_ngcontent-%COMP%]{position:relative} .grid-column:hover .grid-column-editable-options{display:block} .grid-column .grid-column-editing{display:block!important;top:calc(50% - 25px)!important}.grid-column-editing-options[_ngcontent-%COMP%]{padding-right:25px!important}.grid-column-expanded[_ngcontent-%COMP%]{border-bottom:0px;background-color:var(--bs-body-bg)!important;filter:brightness(95%)!important}.grid-expanded-background[_ngcontent-%COMP%]{background-color:var(--bs-body-bg)!important;filter:brightness(95%)!important}.grid-multiselect-header[_ngcontent-%COMP%]{width:40px}.grid-invisible[_ngcontent-%COMP%]{display:none}"]})}return Mt})()},2704:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>b});var i=m(5736),t=m(755),A=m(6733),a=m(3409);function y(F,j){if(1&F){const N=t.EpF();t.TgZ(0,"div",2)(1,"div",3)(2,"button",4),t.NdJ("click",function(){t.CHM(N);const H=t.oxw();return t.KtG(H.paginaAnterior())}),t._UZ(3,"i",5),t._uU(4," ANTERIOR"),t.qZA(),t.TgZ(5,"button",4),t.NdJ("click",function(){t.CHM(N);const H=t.oxw();return t.KtG(H.proximaPagina())}),t._uU(6,"PR\xd3XIMA "),t._UZ(7,"i",6),t.qZA()()()}if(2&F){const N=t.oxw();t.xp6(2),t.Q6J("id",N.generatedId("_grid_anterior"))("disabled",!N.query.enablePrior),t.xp6(3),t.Q6J("id",N.generatedId("_grid_proxima"))("disabled",!N.query.enableNext)}}function C(F,j){if(1&F){const N=t.EpF();t.TgZ(0,"div",7),t.NdJ("scrolled",function(){t.CHM(N);const H=t.oxw();return t.KtG(H.onScroll())}),t.qZA()}2&F&&t.Q6J("infiniteScrollDistance",2)("infiniteScrollThrottle",50)}let b=(()=>{class F extends i.V{set query(N){this._query=N,this.query&&(this.query.cumulate="infinity"==this.type)}get query(){return this._query}set type(N){this._type=N,this.query&&(this.query.cumulate="infinity"==this.type)}get type(){return this._type}constructor(N){super(N),this.injector=N,this.rows=10,this._type="infinity"}ngOnInit(){this.query&&(this.query.cumulate="infinity"==this.type)}isType(N){return N==this.type}paginaAnterior(){this.query.priorPage()}proximaPagina(){this.query.nextPage()}onScroll(){this.query.nextPage()}static#e=this.\u0275fac=function(x){return new(x||F)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:F,selectors:[["pagination"]],inputs:{query:"query",rows:"rows",type:"type"},features:[t.qOj],decls:2,vars:2,consts:[["class","d-flex flex-row-reverse",4,"ngIf"],["class","search-results","infiniteScroll","",3,"infiniteScrollDistance","infiniteScrollThrottle","scrolled",4,"ngIf"],[1,"d-flex","flex-row-reverse"],["role","group","aria-label","Pagina\xe7\xe3o",1,"btn-group","float-right"],["type","button",1,"btn","btn-outline-info",3,"id","disabled","click"],[1,"bi-arrow-left-circle"],[1,"bi-arrow-right-circle"],["infiniteScroll","",1,"search-results",3,"infiniteScrollDistance","infiniteScrollThrottle","scrolled"]],template:function(x,H){1&x&&(t.YNc(0,y,8,4,"div",0),t.YNc(1,C,1,2,"div",1)),2&x&&(t.Q6J("ngIf",!!H.query&&H.isType("pages")),t.xp6(1),t.Q6J("ngIf",H.isType("infinity")))},dependencies:[A.O5,a.Ry]})}return F})()},8252:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>P});var i=m(8239),t=m(2133),A=m(3351),a=m(2204),y=m(755),C=m(9193),b=m(9437);const F=["tableExportExcel"];function j(X,me){if(1&X&&(y.TgZ(0,"tr")(1,"td"),y._uU(2),y.qZA()()),2&X){const Oe=me.$implicit,Se=y.oxw();y.xp6(1),y.uIk("colspan",Se.reportColumns.length),y.xp6(1),y.Oqu(Oe)}}function N(X,me){if(1&X&&(y.TgZ(0,"th"),y._UZ(1,"column-header",3),y.qZA()),2&X){const Oe=me.$implicit,Se=y.oxw();y.xp6(1),y.Q6J("column",Oe)("grid",Se.grid)}}function x(X,me){if(1&X&&(y.TgZ(0,"td"),y._UZ(1,"column-row",4),y.qZA()),2&X){const Oe=me.$implicit,Se=y.oxw().$implicit,wt=y.oxw();y.xp6(1),y.Q6J("column",Oe)("row",Se)("grid",wt.grid)}}function H(X,me){if(1&X&&(y.TgZ(0,"tr"),y.YNc(1,x,2,3,"td",2),y.qZA()),2&X){const Oe=y.oxw();y.xp6(1),y.Q6J("ngForOf",Oe.reportColumns)}}const k=["*"];let P=(()=>{class X{constructor(Oe,Se,wt){this.util=Oe,this.cdRef=Se,this.xlsx=wt,this.title="Relat\xf3rio",this.list=[],this.dataTime="",this.headers=[],this.reportColumns=[]}ngOnInit(){}get columns(){return this.columnsRef?this.columnsRef.map(Oe=>Oe):[]}reportExcel(){var Oe=this;return(0,i.Z)(function*(){Oe.grid.exporting=!0;try{Oe.reportColumns=Oe.columns.map(wt=>Object.assign(new a.C,wt)),Oe.dataTime=Oe.util.getDateTimeFormatted(new Date),Oe.headers=Oe.filterHeader?Oe.filterHeader(Oe.grid.filterRef?.form||new t.cw({})):[];const Se=yield Oe.grid.query.getAll();Oe.list=Se,Oe.cdRef.detectChanges(),Oe.xlsx.exportTable(Oe.title,"Relatorio",Oe.tableExportExcel)}finally{Oe.grid.exporting=!1}})()}static#e=this.\u0275fac=function(Se){return new(Se||X)(y.Y36(C.f),y.Y36(y.sBO),y.Y36(b.x))};static#t=this.\u0275cmp=y.Xpm({type:X,selectors:[["report"]],contentQueries:function(Se,wt,K){if(1&Se&&y.Suo(K,A.b,5),2&Se){let V;y.iGM(V=y.CRH())&&(wt.columnsRef=V)}},viewQuery:function(Se,wt){if(1&Se&&y.Gf(F,5),2&Se){let K;y.iGM(K=y.CRH())&&(wt.tableExportExcel=K.first)}},inputs:{title:"title",filterHeader:"filterHeader"},ngContentSelectors:k,decls:17,vars:7,consts:[[1,"export-excel-table"],["tableExportExcel",""],[4,"ngFor","ngForOf"],[3,"column","grid"],[3,"column","row","grid"]],template:function(Se,wt){1&Se&&(y.F$t(),y.Hsn(0),y.TgZ(1,"table",0,1)(3,"thead")(4,"tr")(5,"td"),y._uU(6),y.qZA(),y.TgZ(7,"td"),y._uU(8),y.qZA()(),y.YNc(9,j,3,2,"tr",2),y.TgZ(10,"tr")(11,"td"),y._uU(12,"\xa0"),y.qZA()(),y.TgZ(13,"tr"),y.YNc(14,N,2,2,"th",2),y.qZA()(),y.TgZ(15,"tbody"),y.YNc(16,H,2,1,"tr",2),y.qZA()()),2&Se&&(y.xp6(5),y.uIk("colspan",wt.reportColumns.length-1),y.xp6(1),y.hij(" ",wt.title," "),y.xp6(2),y.hij(" Data e Hora: ",wt.dataTime," "),y.xp6(1),y.Q6J("ngForOf",wt.headers),y.xp6(2),y.uIk("colspan",wt.reportColumns.length),y.xp6(3),y.Q6J("ngForOf",wt.reportColumns),y.xp6(2),y.Q6J("ngForOf",wt.list))}})}return X})()},4788:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>t});var i=m(755);let t=(()=>{class A{constructor(){this.title="",this.size=6}ngOnInit(){}get isFullSizeOnEdit(){return null!=this.fullSizeOnEdit}get isNoToolbar(){return null!=this.noToolbar}static#e=this.\u0275fac=function(C){return new(C||A)};static#t=this.\u0275cmp=i.Xpm({type:A,selectors:[["side-panel"]],inputs:{template:"template",editTemplate:"editTemplate",fullSizeOnEdit:"fullSizeOnEdit",noToolbar:"noToolbar",title:"title",size:"size"},decls:0,vars:0,template:function(C,b){}})}return A})()},645:(lt,_e,m)=>{"use strict";m.d(_e,{M:()=>a});var i=m(2133),t=m(5736),A=m(755);let a=(()=>{class y extends t.V{getValue(){return this.source&&this.path?this.util.getNested(this.source,this.path):this._value}setValue(b){this.source&&this.path?this.util.setNested(this.source,this.path,b):this._value=b}getSize(){return this._size}setSize(b){b!=this._size&&(this._size=b,this.class=this.class.replace(/col\-md\-[0-9]+/g,"col-md-"+b))}focus(){setTimeout(()=>{document.getElementById(this.inputElement?.nativeElement.id)?.focus()},1e3)}onEnterKeyDown(b){b.preventDefault();let F=b.srcElement;const j=document.querySelectorAll("input,select,button,textarea");for(var N=0;N0&&(this.class+=" "+this.hostClass+" col-md-"+this.size)}ngAfterViewInit(){super.ngAfterViewInit();try{this.formDirective=this.injector.get(i.sg)}catch{}this.form=this.form||this.formDirective?.form,this.isRequired&&(this.validators.push(this.requiredValidator.bind(this)),this.control.validator&&this.validators.push(this.control.validator),this.control.setValidators(this.proxyValidator.bind(this)),this.control?.updateValueAndValidity()),this.cdRef.detectChanges()}proxyValidator(b){for(let F of this.validators){let j=F(b);if(j)return j}return null}requiredValidator(b){return this.util.empty(b.value)?{errorMessage:"Obrigat\xf3rio"}:null}get isDisabled(){return null!=this.disabled}get isRequired(){return null!=this.required}get formControl(){return this.getControl()||this._fakeControl}getControl(){return this._control||(this.controlName?.length&&this.form?this.form.controls[this.controlName]:void 0)}isInvalid(){return!this.isDisabled&&(!this.control||this.control.invalid&&(this.control.dirty||this.control.touched))}hasError(){return!(!this.control||this.isDisabled||!this.control?.errors)}errorMessage(){return this.control.errors?.errorMessage}static#e=this.\u0275fac=function(F){return new(F||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac})}return y})()},8935:(lt,_e,m)=>{"use strict";m.d(_e,{G:()=>j});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(N,x){if(1&N){const H=i.EpF();i.TgZ(0,"input",4,5),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))}),i.qZA()}if(2&N){const H=i.oxw();i.ekj("text-uppercase","upper"==H.textCase)("text-lowercase","lower"==H.textCase)("is-invalid",H.isInvalid()),i.Q6J("type",H.isNumbers?"number":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("readonly",H.isDisabled||H.loading),i.uIk("value",H.isDisabled?H.control?H.control.value:H.value:void 0)("aria-describedby",H.generatedId(H.controlName)+"_button")("maxlength",H.maxLength?H.maxLength:void 0)}}function C(N,x){if(1&N&&i._UZ(0,"i"),2&N){const H=i.oxw(2);i.Tol(H.iconButton)}}function b(N,x){1&N&&(i.TgZ(0,"div",9),i._UZ(1,"span",10),i.qZA())}function F(N,x){if(1&N){const H=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onButtonClick(P))}),i.YNc(1,C,1,2,"i",7),i.YNc(2,b,2,0,"div",8),i.qZA()}if(2&N){const H=i.oxw();i.ekj("disabled",H.loading),i.Q6J("id",H.generatedId(H.controlName)+"_button"),i.xp6(1),i.Q6J("ngIf",!H.loading),i.xp6(1),i.Q6J("ngIf",H.loading)}}let j=(()=>{class N extends A.M{set value(H){this.formControl.setValue(H)}get value(){return this.formControl.value}set control(H){this._control=H}get control(){return this.getControl()}set size(H){this.setSize(H)}get size(){return this.getSize()}constructor(H){super(H),this.injector=H,this.class="form-group",this.buttonClick=new i.vpe,this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.textCase="",this.iconButton="bi-search"}get isNumbers(){return void 0!==this.numbers}ngOnInit(){super.ngOnInit()}onButtonClick(H){this.buttonClick&&this.buttonClick.emit(H)}onChange(H){this.change&&this.change.emit(H)}static#e=this.\u0275fac=function(k){return new(k||N)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:N,selectors:[["input-button"]],viewQuery:function(k,P){if(1&k&&i.Gf(a,5),2&k){let X;i.iGM(X=i.CRH())&&(P.inputElement=X.first)}},hostVars:2,hostBindings:function(k,P){2&k&&i.Tol(P.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",numbers:"numbers",textCase:"textCase",iconButton:"iconButton",form:"form",source:"source",path:"path",maxLength:"maxLength",required:"required",value:"value",control:"control",size:"size"},outputs:{buttonClick:"buttonClick",change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:4,vars:12,consts:[["required","",3,"labelPosition","labelClass","controlName","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","form-control",3,"type","text-uppercase","text-lowercase","formControl","id","is-invalid","readonly","change",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"id","disabled","click",4,"ngIf"],[1,"form-control",3,"type","formControl","id","readonly","change"],["inputElement",""],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],[3,"class",4,"ngIf"],["class","spinner-border spinner-border-sm","role","status",4,"ngIf"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"]],template:function(k,P){1&k&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,y,2,13,"input",2),i.YNc(3,F,3,5,"button",3),i.qZA()()),2&k&&(i.Q6J("labelPosition",P.labelPosition)("labelClass",P.labelClass)("controlName",P.controlName)("control",P.control)("loading",!1)("disabled",P.disabled)("label",P.label)("labelInfo",P.labelInfo)("icon",P.icon)("bold",P.bold),i.xp6(2),i.Q6J("ngIf",P.viewInit),i.xp6(1),i.Q6J("ngIf",!P.isDisabled))}})}return N})()},6848:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>N});var i=m(755),t=m(2133),A=m(9702),a=m(645);const y=["inputElement"];function C(x,H){if(1&x&&(i.TgZ(0,"option",9),i._uU(1),i.qZA()),2&x){const k=H.$implicit,P=i.oxw(2);i.Udp("background-color",P.getBackgroundColor(k.key))("color",P.getColor(k.key)),i.s9C("value",k.key),i.xp6(1),i.Oqu(k.value)}}function b(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"select",5,6),i.NdJ("change",function(X){i.CHM(k);const me=i.oxw();return i.KtG(me.onChange(X))}),i.YNc(2,C,2,6,"option",7),i.TgZ(3,"option",8),i._uU(4,"Personalizado"),i.qZA()()}if(2&x){const k=i.oxw();i.ekj("is-invalid",k.isInvalid()),i.Q6J("id",k.generatedId(k.controlName)),i.uIk("disabled",!!k.isDisabled||void 0),i.xp6(2),i.Q6J("ngForOf",k.cores),i.xp6(1),i.Udp("background-color",k.getBackgroundColor(k.value))("color",k.getColor(k.value))}}function F(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"input",10),i.NdJ("change",function(X){i.CHM(k);const me=i.oxw();return i.KtG(me.onChange(X))}),i.qZA()}if(2&x){const k=i.oxw();i.Q6J("id",k.generatedId(k.controlName)+"_color")("formControl",k.formControl)}}function j(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"input",11),i.NdJ("change",function(X){i.CHM(k);const me=i.oxw();return i.KtG(me.onChange(X))}),i.qZA()}if(2&x){const k=i.oxw();i.Q6J("id",k.generatedId(k.controlName)+"_color"),i.uIk("value",k.value)}}let N=(()=>{class x extends a.M{set control(k){this._control=k}get control(){return this.getControl()}set size(k){this.setSize(k)}get size(){return this.getSize()}constructor(k){super(k),this.injector=k,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-palette",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.lookup=k.get(A.W)}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit(),this.control?this.control.valueChanges.subscribe(k=>{this.select(k)}):this.select(this.value)}get isBackground(){return null!=this.background}get cores(){return this.palette||(this.isBackground?this.lookup.CORES_BACKGROUND:this.lookup.CORES)}select(k){if(this.value!=k){this.value=k;const P=document.getElementById(this.controlName);this.lookup.CORES.find(X=>X.key==this.value)?P&&(P.value=this.value):P&&(P.value=""),this.control?.setValue(this.value)}}onChange(k){this.select(k.target.value||"#000000"),this.change&&this.change.emit(k)}getColor(k){return this.isBackground?"#000000":k||"#000000"}getBackgroundColor(k){return this.isBackground?k||"#000000":void 0}static#e=this.\u0275fac=function(P){return new(P||x)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:x,selectors:[["input-color"]],viewQuery:function(P,X){if(1&P&&i.Gf(y,5),2&P){let me;i.iGM(me=i.CRH())&&(X.inputElement=me.first)}},hostVars:2,hostBindings:function(P,X){2&P&&i.Tol(X.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",palette:"palette",background:"background",value:"value",loading:"loading",form:"form",source:"source",path:"path",required:"required",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:5,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","form-control",3,"id","is-invalid","change",4,"ngIf"],["class","colorpicker","type","color",3,"id","formControl","change",4,"ngIf"],["class","colorpicker","type","color",3,"id","change",4,"ngIf"],[1,"form-control",3,"id","change"],["inputElement",""],[3,"value","background-color","color",4,"ngFor","ngForOf"],["value",""],[3,"value"],["type","color",1,"colorpicker",3,"id","formControl","change"],["type","color",1,"colorpicker",3,"id","change"]],template:function(P,X){1&P&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,b,5,9,"select",2),i.YNc(3,F,1,2,"input",3),i.YNc(4,j,1,2,"input",4),i.qZA()()),2&P&&(i.Q6J("labelPosition",X.labelPosition)("labelClass",X.labelClass)("controlName",X.controlName)("required",X.required)("control",X.control)("loading",X.loading)("disabled",X.disabled)("label",X.label)("labelInfo",X.labelInfo)("icon",X.icon)("bold",X.bold),i.xp6(2),i.Q6J("ngIf",X.viewInit),i.xp6(1),i.Q6J("ngIf",X.viewInit&&X.control),i.xp6(1),i.Q6J("ngIf",X.viewInit&&!X.control))},styles:[".colorpicker[_ngcontent-%COMP%]{height:auto;width:38px;cursor:pointer}"]})}return x})()},8544:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>P});var i=m(2133),t=m(645),A=m(755),a=m(6733);function y(X,me){if(1&X&&A._UZ(0,"i"),2&X){const Oe=A.oxw(2);A.Tol(Oe.icon)}}function C(X,me){1&X&&(A.TgZ(0,"span",9),A._uU(1,"*"),A.qZA())}function b(X,me){if(1&X&&A._UZ(0,"i",10),2&X){const Oe=A.oxw(2);A.uIk("data-bs-title",Oe.labelInfo)}}function F(X,me){if(1&X&&(A.TgZ(0,"label",4),A.YNc(1,y,1,2,"i",5),A.TgZ(2,"span",6),A._uU(3),A.YNc(4,C,2,0,"span",7),A.qZA(),A.YNc(5,b,1,1,"i",8),A.qZA()),2&X){const Oe=A.oxw();A.Tol(Oe.labelClass),A.ekj("radio",Oe.isRadio)("fw-bold",Oe.bold)("control-label",Oe.isRadio),A.s9C("for",Oe.controlName),A.xp6(1),A.Q6J("ngIf",Oe.icon.length),A.xp6(2),A.hij("",Oe.label," "),A.xp6(1),A.Q6J("ngIf",Oe.isRequired),A.xp6(1),A.Q6J("ngIf",Oe.labelInfo.length)}}function j(X,me){1&X&&(A.TgZ(0,"div",11),A._UZ(1,"span",12),A.qZA())}function N(X,me){1&X&&A.Hsn(0)}function x(X,me){if(1&X&&A._UZ(0,"i"),2&X){const Oe=A.oxw(2);A.Tol("bi "+Oe.errorMessageIcon)}}function H(X,me){if(1&X&&(A.TgZ(0,"div",13),A.YNc(1,x,1,2,"i",5),A._uU(2),A.qZA()),2&X){const Oe=A.oxw();A.ekj("d-block",Oe.isInvalid()),A.xp6(1),A.Q6J("ngIf",Oe.errorMessageIcon),A.xp6(1),A.hij(" ",Oe.errorMessage(),"\n")}}const k=["*"];let P=(()=>{class X extends t.M{set control(Oe){this._control=Oe}get control(){return this.getControl()}set size(Oe){this.setSize(Oe)}get size(){return this.getSize()}constructor(Oe){super(Oe),this.injector=Oe,this.class="",this.hostClass="mt-2",this.labelPosition="top",this.controlName=null,this.isRadio=!1,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(Se){return new(Se||X)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:X,selectors:[["input-container"]],hostVars:2,hostBindings:function(Se,wt){2&Se&&A.Tol(wt.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",isRadio:"isRadio",icon:"icon",label:"label",labelInfo:"labelInfo",required:"required",labelClass:"labelClass",bold:"bold",loading:"loading",errorMessageIcon:"errorMessageIcon",form:"form",source:"source",path:"path",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],ngContentSelectors:k,decls:5,vars:4,consts:[["class","d-flex align-items-center mb-1",3,"for","class","radio","fw-bold","control-label",4,"ngIf"],["class","spinner-border spinner-border-sm m-0","role","status",4,"ngIf","ngIfElse"],["content",""],["class","invalid-feedback",3,"d-block",4,"ngIf"],[1,"d-flex","align-items-center","mb-1",3,"for"],[3,"class",4,"ngIf"],[1,"mx-1"],["class","required-field",4,"ngIf"],["class","bi bi-info-circle label-info text-muted ms-auto","data-bs-toggle","tooltip","data-bs-placement","top",4,"ngIf"],[1,"required-field"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted","ms-auto"],["role","status",1,"spinner-border","spinner-border-sm","m-0"],[1,"visually-hidden"],[1,"invalid-feedback"]],template:function(Se,wt){if(1&Se&&(A.F$t(),A.YNc(0,F,6,13,"label",0),A.YNc(1,j,2,0,"div",1),A.YNc(2,N,1,0,"ng-template",null,2,A.W1O),A.YNc(4,H,3,4,"div",3)),2&Se){const K=A.MAs(3);A.Q6J("ngIf","top"==wt.labelPosition&&wt.label.length),A.xp6(1),A.Q6J("ngIf",wt.loading)("ngIfElse",K),A.xp6(3),A.Q6J("ngIf",wt.viewInit&&wt.hasError())}},dependencies:[a.O5],styles:["[_nghost-%COMP%]{position:relative;display:block}.label-info[_ngcontent-%COMP%]{cursor:help}.required-field[_ngcontent-%COMP%]{font-size:2rem;position:absolute;top:-11px}"]})}return X})()},4495:(lt,_e,m)=>{"use strict";m.d(_e,{k:()=>X});var i=m(755),t=m(2133),A=m(645),a=m(2866),y=m.n(a),C=m(9193);const b=["inputElement"],F=["dateInput"],j=["timeInput"];function N(me,Oe){if(1&me&&(i.TgZ(0,"span",6),i._uU(1),i.qZA()),2&me){const Se=i.oxw();i.xp6(1),i.Oqu(Se.prefix)}}function x(me,Oe){if(1&me&&(i.TgZ(0,"span",7),i._UZ(1,"i",8),i.qZA()),2&me){const Se=i.oxw();i.Q6J("id",Se.generatedId(Se.controlName)+"_icon")}}function H(me,Oe){if(1&me){const Se=i.EpF();i.TgZ(0,"input",9,10),i.NdJ("change",function(K){i.CHM(Se);const V=i.oxw();return i.KtG(V.onChangeDateTime(K))}),i.qZA()}if(2&me){const Se=i.oxw();i.ekj("no-indicator",Se.isNoIndicator)("firefox-date",Se.isFirefox)("is-invalid",Se.isInvalid()),i.Q6J("type",Se.isDate||Se.isFirefox||Se.isTime24hours?"date":"datetime-local")("id",Se.generatedId(Se.controlName)+"_date")("disabled",Se.isDisabled)("max",Se.maxDate)("min",Se.minDate),i.uIk("aria-describedby",Se.generatedId(Se.controlName)+"_icon")}}function k(me,Oe){if(1&me){const Se=i.EpF();i.TgZ(0,"input",11,12),i.NdJ("change",function(K){i.CHM(Se);const V=i.oxw();return i.KtG(V.onChangeDateTime(K))}),i.qZA()}if(2&me){const Se=i.oxw();i.ekj("no-indicator",Se.isNoIndicator)("is-invalid",Se.isInvalid()),i.Q6J("type",Se.isTime24hours?"text":"time")("id",Se.generatedId(Se.controlName)+"_time")("mask",Se.isTime24hours?"00:00":"")("showMaskTyped",!0)("disabled",Se.isDisabled)}}function P(me,Oe){if(1&me&&(i.TgZ(0,"span",6),i._uU(1),i.qZA()),2&me){const Se=i.oxw();i.xp6(1),i.Oqu(Se.sufix)}}let X=(()=>{class me extends A.M{set control(Se){this._control=Se}get control(){return this.getControl()}set size(Se){this.setSize(Se)}get size(){return this.getSize()}set date(Se){this._date!=Se&&(this._date=Se,this.detectChanges(),this.updateInputs())}get date(){return this._date}set time(Se){this._time!=Se&&(this._time=Se,this.detectChanges(),this.updateInputs())}get time(){return this._time}constructor(Se){super(Se),this.injector=Se,this.class="form-group",this.buttonClick=new i.vpe,this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-calendar-date",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.value="",this.util=Se.get(C.f)}get isDate(){return void 0!==this.date}get isTime(){return void 0!==this.time}get isTime24hours(){return void 0!==this.time24hours}get isNoIcon(){return void 0!==this.noIcon}get isNoIndicator(){return void 0!==this.noIndicator}ngOnInit(){super.ngOnInit(),this.minDate=y()().subtract(100,"years").format("YYYY-MM-DD").toString(),this.maxDate=y()().add(10,"years").format("YYYY-MM-DD").toString()}updateInputs(){this.viewInit&&(this.dateInput&&(this.dateInput.nativeElement.value=this.getDateValue()),this.hasTimeInput&&this.timeInput&&(this.timeInput.nativeElement.value=this.getTimeValue(),this.timeInput.nativeElement.dispatchEvent(new Event("input"))),this.cdRef.detectChanges())}get hasTimeInput(){return!this.isDate&&(this.isTime||this.isFirefox)}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(Se=>{this.value!=Se&&(this.value=Se,this.updateInputs())}),this.value=this.control.value),this.updateInputs()}onChangeDateTime(Se){const wt=this.dateInput?.nativeElement.value||"",K=this.timeInput?.nativeElement.value||"00:00:00";let V=this.value;try{if(V=this.isTime?K:new Date(wt+(wt.includes("T")?"":"T"+K)),this.isTime&&!this.util.isTimeValid(V)||!this.isTime&&!this.util.isDataValid(V))throw new Error("Data inv\xe1lida")}catch{V=null}finally{(!!V!=!!this.value||V?.toString()!=this.value?.toString())&&(this.value=V,this.control?.setValue(V,{emitEvent:!1}),this.change&&this.change.emit(Se),this.cdRef.detectChanges())}}getDateValue(){return this.value&&this.value instanceof Date?this.isFirefox||this.isDate?y()(this.value).format("YYYY-MM-DD"):y()(this.value).format("YYYY-MM-DDTHH:mm"):null}getTimeValue(){return this.value?this.value instanceof Date?y()(this.value).format("HH:mm"):this.util.isTimeValid(this.value)?this.value.substr(0,5):null:null}formattedDateTime(Se,wt=!1){return wt=!!wt||this.isDate,Se?y()(Se).format(wt?"DD/MM/YYYY":"DD/MM/YYYY HH:mm"):""}static#e=this.\u0275fac=function(wt){return new(wt||me)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:me,selectors:[["input-datetime"]],viewQuery:function(wt,K){if(1&wt&&(i.Gf(b,5),i.Gf(F,5),i.Gf(j,5)),2&wt){let V;i.iGM(V=i.CRH())&&(K.inputElement=V.first),i.iGM(V=i.CRH())&&(K.dateInput=V.first),i.iGM(V=i.CRH())&&(K.timeInput=V.first)}},hostVars:2,hostBindings:function(wt,K){2&wt&&i.Tol(K.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",prefix:"prefix",sufix:"sufix",time24hours:"time24hours",noIcon:"noIcon",noIndicator:"noIndicator",form:"form",source:"source",path:"path",value:"value",required:"required",control:"control",size:"size",date:"date",time:"time"},outputs:{buttonClick:"buttonClick",change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:7,vars:16,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","input-group-text",4,"ngIf"],["class","input-group-text",3,"id",4,"ngIf"],["class","form-control",3,"type","no-indicator","firefox-date","id","is-invalid","disabled","max","min","change",4,"ngIf"],["class","form-control firefox-time",3,"type","no-indicator","id","is-invalid","mask","showMaskTyped","disabled","change",4,"ngIf"],[1,"input-group-text"],[1,"input-group-text",3,"id"],[1,"bi","bi-calendar3"],[1,"form-control",3,"type","id","disabled","max","min","change"],["inputElement","","dateInput",""],[1,"form-control","firefox-time",3,"type","id","mask","showMaskTyped","disabled","change"],["timeInput",""]],template:function(wt,K){1&wt&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,N,2,1,"span",2),i.YNc(3,x,2,1,"span",3),i.YNc(4,H,3,12,"input",4),i.YNc(5,k,2,9,"input",5),i.YNc(6,P,2,1,"span",2),i.qZA()()),2&wt&&(i.Q6J("labelPosition",K.labelPosition)("labelClass",K.labelClass)("controlName",K.controlName)("required",K.required)("control",K.control)("loading",K.loading)("disabled",K.disabled)("label",K.label)("labelInfo",K.labelInfo)("icon",K.icon)("bold",K.bold),i.xp6(2),i.Q6J("ngIf",K.prefix),i.xp6(1),i.Q6J("ngIf",!K.isNoIcon),i.xp6(1),i.Q6J("ngIf",!K.isTime),i.xp6(1),i.Q6J("ngIf",K.hasTimeInput),i.xp6(1),i.Q6J("ngIf",K.sufix))},styles:[".firefox-date[_ngcontent-%COMP%]{flex:5!important}.firefox-time[_ngcontent-%COMP%]{flex:2!important}input[type=date][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{padding:0;margin:0}input[type=datetime-local][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{padding:0;margin:0}.no-indicator[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{display:none}"]})}return me})()},1823:(lt,_e,m)=>{"use strict";m.d(_e,{B:()=>y});var i=m(2133),t=m(645),A=m(755);const a=["inputElement"];let y=(()=>{class C extends t.M{set control(F){this._control=F}get control(){return this.getControl()}set size(F){this.setSize(F)}get size(){return this.getSize()}constructor(F){super(F),this.injector=F,this.class="form-group",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1}ngOnInit(){super.ngOnInit()}static#e=this.\u0275fac=function(j){return new(j||C)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:C,selectors:[["input-display"]],viewQuery:function(j,N){if(1&j&&A.Gf(a,5),2&j){let x;A.iGM(x=A.CRH())&&(N.inputElement=x.first)}},hostVars:2,hostBindings:function(j,N){2&j&&A.Tol(N.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",form:"form",source:"source",path:"path",required:"required",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],decls:3,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],["type","text",1,"form-control",3,"id","readonly"],["inputElement",""]],template:function(j,N){1&j&&(A.TgZ(0,"input-container",0),A._UZ(1,"input",1,2),A.qZA()),2&j&&(A.Q6J("labelPosition",N.labelPosition)("labelClass",N.labelClass)("controlName",N.controlName)("required",N.required)("control",N.control)("loading",N.loading)("disabled",N.disabled)("label",N.label)("labelInfo",N.labelInfo)("icon",N.icon)("bold",N.bold),A.xp6(1),A.Q6J("id",N.generatedId(N.controlName))("readonly",!0),A.uIk("value",N.control?N.control.value:N.value))}})}return C})()},5795:(lt,_e,m)=>{"use strict";m.d(_e,{G:()=>Ze});var i=m(8239),t=m(755),A=m(2133),a=m(5545),y=m(645),C=m(9367),b=m(9702);const F=["helpTemplate"],j=["addMacroTemplate"],N=["editor"],x=["inputElement"];function H(Je,tt){1&Je&&t._UZ(0,"input-text",38),2&Je&&t.Q6J("size",6)}function k(Je,tt){1&Je&&t._UZ(0,"input-number",39),2&Je&&t.Q6J("size",6)}function P(Je,tt){if(1&Je&&t._UZ(0,"input-select",40),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.listas)}}function X(Je,tt){if(1&Je&&t._UZ(0,"input-radio",41),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.lookup.LOGICOS)}}function me(Je,tt){if(1&Je){const Qe=t.EpF();t.TgZ(0,"div",42)(1,"label",43),t._uU(2,"Vari\xe1vel"),t.qZA(),t.TgZ(3,"div",44)(4,"p-treeSelect",45),t.NdJ("onNodeSelect",function(Nt){t.CHM(Qe);const Jt=t.oxw(2);return t.KtG(Jt.selectVariable(Nt,1))}),t.qZA()()()}if(2&Je){const Qe=t.oxw(2);t.xp6(4),t.Q6J("options",Qe.variaveis)}}function Oe(Je,tt){1&Je&&t._UZ(0,"input-text",46),2&Je&&t.Q6J("size",6)}function Se(Je,tt){1&Je&&t._UZ(0,"input-number",47),2&Je&&t.Q6J("size",6)}function wt(Je,tt){if(1&Je&&t._UZ(0,"input-select",48),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.listas)}}function K(Je,tt){if(1&Je&&t._UZ(0,"input-radio",49),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.lookup.LOGICOS)}}function V(Je,tt){if(1&Je){const Qe=t.EpF();t.TgZ(0,"div",42)(1,"label",43),t._uU(2,"Vari\xe1vel"),t.qZA(),t.TgZ(3,"div",44)(4,"p-treeSelect",50),t.NdJ("onNodeSelect",function(Nt){t.CHM(Qe);const Jt=t.oxw(2);return t.KtG(Jt.selectVariable(Nt,2))}),t.qZA()()()}if(2&Je){const Qe=t.oxw(2);t.xp6(4),t.Q6J("options",Qe.variaveis)}}function J(Je,tt){1&Je&&t._UZ(0,"input-text",51),2&Je&&t.Q6J("size",6)}function ae(Je,tt){1&Je&&t._UZ(0,"input-text",52),2&Je&&t.Q6J("size",6)}function oe(Je,tt){if(1&Je){const Qe=t.EpF();t._uU(0,' Funcionalidade em desenvolvimento. Utilize as instru\xe7\xf5es do bot\xe3o "Ajuda sobre como utilizar vari\xe1veis" para adicionar manualmente macros no template. '),t.TgZ(1,"tabs",4)(2,"tab",5)(3,"div",6)(4,"div",7)(5,"code"),t._uU(6),t.qZA()(),t.TgZ(7,"button",8),t.NdJ("click",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.insertVariable())}),t._uU(8,"Inserir"),t.qZA()(),t.TgZ(9,"ng-scrollbar",9)(10,"p-tree",10),t.NdJ("onNodeSelect",function(Nt){t.CHM(Qe);const Jt=t.oxw();return t.KtG(Jt.nodeSelect(Nt))}),t.qZA()()(),t.TgZ(11,"tab",11)(12,"form",12),t.NdJ("submit",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.insertOperator())}),t.TgZ(13,"div",13)(14,"div",14)(15,"div",6)(16,"div",7)(17,"code"),t._uU(18),t.qZA()(),t.TgZ(19,"button",15),t._uU(20,"Inserir"),t.qZA()()(),t.TgZ(21,"div",16)(22,"div",17)(23,"label",18),t._uU(24,"Valor Um"),t.qZA(),t.TgZ(25,"div",13)(26,"input-select",19),t.NdJ("change",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.changeTypeOperator(1))}),t.qZA(),t.YNc(27,H,1,1,"input-text",20),t.YNc(28,k,1,1,"input-number",21),t.YNc(29,P,1,2,"input-select",22),t.YNc(30,X,1,2,"input-radio",23),t.YNc(31,me,5,1,"div",24),t.qZA()()(),t._UZ(32,"input-select",25),t.TgZ(33,"div",26)(34,"div",17)(35,"label",18),t._uU(36,"Valor Dois"),t.qZA(),t.TgZ(37,"div",13)(38,"input-select",27),t.NdJ("change",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.changeTypeOperator(2))}),t.qZA(),t.YNc(39,Oe,1,1,"input-text",28),t.YNc(40,Se,1,1,"input-number",29),t.YNc(41,wt,1,2,"input-select",30),t.YNc(42,K,1,2,"input-radio",31),t.YNc(43,V,5,1,"div",24),t.qZA()()()()()(),t.TgZ(44,"tab",32)(45,"form",33),t.NdJ("ngSubmit",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.insertBlockFor())}),t.TgZ(46,"div",13)(47,"div",14)(48,"div",6)(49,"div",7)(50,"code"),t._uU(51),t.qZA()(),t.TgZ(52,"button",15),t._uU(53,"Inserir"),t.qZA()()(),t._UZ(54,"input-radio",34),t.YNc(55,J,1,1,"input-text",35),t.YNc(56,ae,1,1,"input-text",36),t._UZ(57,"input-select",37),t.qZA()()()()}if(2&Je){const Qe=t.oxw();t.xp6(6),t.hij(" ",Qe.getVariableString()," "),t.xp6(1),t.Q6J("disabled",""==Qe.getVariableString()),t.xp6(3),t.Q6J("value",Qe.variaveis)("selection",Qe.selectedVariable),t.xp6(2),t.Q6J("formGroup",Qe.operatorForm),t.xp6(6),t.hij(" ",Qe.expressaoIf," "),t.xp6(1),t.Q6J("disabled",!Qe.operatorForm.valid),t.xp6(7),t.Q6J("size",6)("items",Qe.lookup.TIPO_OPERADOR),t.xp6(1),t.Q6J("ngIf","string"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","number"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","list"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","boolean"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","variable"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("size",12)("items",Qe.lookup.OPERADOR),t.xp6(6),t.Q6J("size",6)("items",Qe.lookup.TIPO_OPERADOR),t.xp6(1),t.Q6J("ngIf","string"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","number"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","list"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","boolean"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","variable"==Qe.tipoComparadorDois),t.xp6(2),t.Q6J("formGroup",Qe.blockForForm),t.xp6(6),t.hij(" ",Qe.expressaoFor," "),t.xp6(1),t.Q6J("disabled",!Qe.blockForForm.valid),t.xp6(2),t.Q6J("size",12)("items",Qe.lookup.LISTA_TIPO),t.xp6(1),t.Q6J("ngIf","variavel"==Qe.blockForForm.controls.tipo.value),t.xp6(1),t.Q6J("ngIf","indice"==Qe.blockForForm.controls.tipo.value),t.xp6(1),t.Q6J("size",6)("items",Qe.listas)}}function ye(Je,tt){if(1&Je&&(t.TgZ(0,"span")(1,"strong"),t._uU(2),t.qZA(),t._uU(3),t._UZ(4,"br"),t.qZA()),2&Je){const Qe=tt.$implicit;t.xp6(1),t.Udp("margin-left",10*Qe.level,"px"),t.xp6(1),t.hij("",Qe.variable,":"),t.xp6(1),t.hij(" ",Qe.label,"")}}function Ee(Je,tt){if(1&Je&&(t.TgZ(0,"tabs",4)(1,"tab",53)(2,"h2"),t._uU(3,"Conte\xfado din\xe2mico"),t.qZA(),t.TgZ(4,"p"),t._uU(5),t.qZA(),t.TgZ(6,"h3"),t._uU(7,"1. Vari\xe1vel"),t.qZA(),t.TgZ(8,"p"),t._uU(9,"Para renderizar o valor de uma vri\xe1vel ser\xe1 necess\xe1rio somente colocar o nome da vari\xe1vel dentro do chaves duplas:\xa0"),t.qZA(),t.TgZ(10,"p"),t._uU(11),t.qZA(),t.TgZ(12,"p"),t._uU(13,"O nome da vari\xe1vel dever\xe1 ser exatamente o disponibilizado pelo dataset (descri\xe7\xe3o da vari\xe1vel), inclusive as letras mai\xfasculas e min\xfasculas. Para valores pertencentes a uma lista dever\xe1 ser utilizado colchetes com o indice dentro (maiores detalhes ser\xe3o apresentados na sess\xe3o\xa0"),t.TgZ(14,"em"),t._uU(15,"3. Itera\xe7\xe3o de lista"),t.qZA(),t._uU(16,"). Caso deseje obter o n\xfamero de itens de uma lista dever\xe1 ser utilizado o [+]."),t.qZA(),t.TgZ(17,"p")(18,"strong"),t._uU(19,"1.1 Exemplos"),t.qZA()(),t.TgZ(20,"ul")(21,"li"),t._uU(22),t.qZA(),t.TgZ(23,"li"),t._uU(24),t.qZA(),t.TgZ(25,"li"),t._uU(26),t.qZA(),t.TgZ(27,"li"),t._uU(28),t.qZA()(),t.TgZ(29,"h2"),t._uU(30,"2. Condicional (if)"),t.qZA(),t.TgZ(31,"p"),t._uU(32,'As vezes pode ser necess\xe1rio apresentar um conte\xfado somente se uma condi\xe7\xe3o for aceita. Para isso basta colocar a condi\xe7\xe3o dentro de chaves duplas precedido de "if:", como demonstrado nos exemplos abaixo. Cada condi\xe7\xe3o dever\xe1 obrigatoriamente ter o "end-if" correspondente. A condi\xe7\xe3o dever\xe1 ser no formato OPERANDO OPERADOR OPERANDO, sendo que o OPERANDO pode ser qualquer express\xe3o semelhante a '),t.TgZ(33,"em"),t._uU(34,"1. Vari\xe1vel"),t.qZA(),t._uU(35,", j\xe1 o OPERADOR pode ser (sem os dois pontos):"),t.qZA(),t.TgZ(36,"ul")(37,"li"),t._uU(38,"=, ==: Se o valor \xe9 igual"),t.qZA(),t.TgZ(39,"li"),t._uU(40,"<: Se o valor \xe9 menor"),t.qZA(),t.TgZ(41,"li"),t._uU(42,"<=: Se o valor \xe9 menor ou igual"),t.qZA(),t.TgZ(43,"li"),t._uU(44,">: Se o valor \xe9 maior"),t.qZA(),t.TgZ(45,"li"),t._uU(46,">=: Se o valor \xe9 maior ou igual"),t.qZA(),t.TgZ(47,"li"),t._uU(48,"<>, !=: Se o valor \xe9 diferente"),t.qZA()(),t.TgZ(49,"p")(50,"strong"),t._uU(51,"2.1 Parametros"),t.qZA()(),t.TgZ(52,"ul")(53,"li"),t._uU(54,"\xa0drop=tag: Ir\xe1 remover a tag em que o comando est\xe1 dentro, sendo que tag representa a tag HTML que ser\xe1 removida. Por exemplo drop=tr ir\xe1 remover a tag que o comando est\xe1 dentro.\xa0"),t.qZA()(),t.TgZ(55,"p")(56,"strong"),t._uU(57,"2.2 Exemplos"),t.qZA()(),t.TgZ(58,"ul")(59,"li"),t._uU(60),t.qZA(),t.TgZ(61,"li"),t._uU(62),t.qZA(),t.TgZ(63,"li"),t._uU(64),t.qZA(),t.TgZ(65,"li"),t._uU(66),t._UZ(67,"br"),t.TgZ(68,"table",54)(69,"colgroup"),t._UZ(70,"col",55)(71,"col",55),t.qZA(),t.TgZ(72,"tbody")(73,"tr")(74,"td",56),t._uU(75,"Esta tabela ser\xe1 mostrado se status for cancelado"),t.qZA(),t.TgZ(76,"td",56),t._uU(77,"Qualquer coisa"),t.qZA()(),t.TgZ(78,"tr")(79,"td",56),t._uU(80,"Dentro do if poder\xe1 ter qualquer conte\xfado como tabelas, imagens, enumeradores"),t.qZA(),t.TgZ(81,"td",56),t._uU(82,"Outra coisa"),t.qZA()()()(),t._uU(83),t.qZA()(),t.TgZ(84,"h2"),t._uU(85,"3. Itera\xe7\xe3o de lista"),t.qZA(),t.TgZ(86,"p"),t._uU(87,'\xc9 poss\xedvel iterar listas utilizando o "for:" dentro de chaves duplas e a express\xe3o para itera\xe7\xe3o, assim como demonstrado nos exemplos abaixo. A vari\xe1vel da lista dever\xe1 ser acompanhada por colchetes, e dentro dos colchetes dever\xe1 ser informado qual crit\xe9rio de itera\xe7\xe3o e qual o nome da vari\xe1vel que ser\xe1 utilizado para indexar. Existem basicamente duas maneiras de iterar a lista:'),t.qZA(),t.TgZ(88,"p")(89,"strong"),t._uU(90,"3.1 Iterando lista utilizando indice"),t.qZA()(),t.TgZ(91,"p"),t._uU(92),t.qZA(),t.TgZ(93,"ul")(94,"li"),t._uU(95),t.qZA(),t.TgZ(96,"li"),t._uU(97),t.qZA()(),t.TgZ(98,"p")(99,"strong"),t._uU(100,"3.2 Iterando lista utilizando vari\xe1vel"),t.qZA()(),t.TgZ(101,"p"),t._uU(102),t.qZA(),t.TgZ(103,"p")(104,"strong"),t._uU(105,"3.3 Parametros"),t.qZA()(),t.TgZ(106,"ul")(107,"li"),t._uU(108,"\xa0drop=tag: Ir\xe1 remover a tag em que o comando est\xe1 dentro, sendo que tag representa a tag HTML que ser\xe1 removida. Por exemplo drop=tr ir\xe1 remover a tag que o comando est\xe1 dentro. Muito \xfatil para iterar itens em tabelas, onde ser\xe1 necess\xe1rio remover a linha que o comando do for est\xe1 dentro.\xa0"),t.qZA()(),t.TgZ(109,"p")(110,"strong"),t._uU(111,"3.4 Exemplos"),t.qZA()(),t.TgZ(112,"ul")(113,"li"),t._uU(114),t.qZA(),t.TgZ(115,"li"),t._uU(116),t.qZA(),t.TgZ(117,"li")(118,"table",54)(119,"colgroup"),t._UZ(120,"col",55)(121,"col",55),t.qZA(),t.TgZ(122,"tbody")(123,"tr")(124,"td",56),t._uU(125,"T\xedtulo 1"),t.qZA(),t.TgZ(126,"td",56),t._uU(127,"T\xedtulo 2"),t.qZA()(),t.TgZ(128,"tr")(129,"td",57),t._uU(130),t.qZA()(),t.TgZ(131,"tr")(132,"td",56),t._uU(133),t.qZA(),t.TgZ(134,"td",56),t._uU(135),t.qZA()(),t.TgZ(136,"tr")(137,"td",57),t._uU(138),t.qZA()()()()()()(),t.TgZ(139,"tab",58)(140,"h2"),t._uU(141,"Vari\xe1veis dispon\xedveis"),t.qZA(),t.YNc(142,ye,5,4,"span",59),t.qZA()()),2&Je){const Qe=t.oxw();t.xp6(5),t.AsE("O sistema permite renderizar conte\xfado din\xe2mico. Todo conte\xfado din\xe2mico ficar\xe1 dentro de chaves duplas: ","{{","EXPRESS\xc3O","}}",""),t.xp6(6),t.AsE("","{{","NOME_DA_VARIAVEL","}}",""),t.xp6(11),t.AsE("","{{","nome","}}",""),t.xp6(2),t.AsE("","{{","lista[+]","}}",""),t.xp6(2),t.AsE("","{{","lista[x].nome","}}",""),t.xp6(2),t.AsE("","{{","lista[x].sublista[y].quantidade","}}",""),t.xp6(32),t.HOy("","{{",'if:nome="Usu\xe1rio de Teste"',"}}","Mostrar somente quando for o Usu\xe1rio de Teste","{{","end-if","}}",""),t.xp6(2),t.HOy("","{{","if:lista[+]>0","}}","Ser\xe1 mostrado somente se a lista tiver ao menos um elemento","{{","end-if","}}",""),t.xp6(2),t.HOy("","{{","if:lista[x].ativo=true","}}","Ser\xe1 mostrado se a propriedade ativo da lista na posi\xe7\xe3o x estriver como true","{{","end-if","}}",""),t.xp6(2),t.AsE("","{{",'if:status="CANCELADO"',"}}",""),t.xp6(17),t.AsE(" ","{{","end-if","}}"," "),t.xp6(9),t.HOy("Para iterar a lista utilizando indice, ser\xe1 criado uma outra var\xedavel (que estar\xe1 dispon\xedvel somente dentro do ","{{","for:..","}}"," at\xe9 o respectivo ","{{","end-for","}}","). A itera\xe7\xe3o poder\xe1 ocorrer de forma acendente ou decendente e poder\xe1 ser disponibilizado tamb\xe9m uma vari\xe1vel de total de itens:"),t.xp6(3),t.HOy("","{{","for:lista[0..x..t]","}}",': lista \xe9 a vari\xe1vel do tipo lista, o valor zero significa que a itera\xe7\xe3o come\xe7ar\xe1 do item 0 (em todas as lista o primeiro elemento sempre ser\xe1 0), a vari\xe1vel x conter\xe1 o indice atual na itera\xe7\xe3o e por fim a vari\xe1vel t conter\xe1 o total de elementos da lista. O "..t" \xe9 opcional, podendo ficar ',"{{","for:lista[0..x]","}}",". Nesta configura\xe7\xe3o a itera\xe7\xe3o ser\xe1 acendente (do menor para o maior).\xa0"),t.xp6(2),t.HOy("","{{","for:lista[t..x..1]","}}",': lista \xe9 a vari\xe1vel do tipo lista, a vari\xe1vel t conter\xe1 o total de elementos da lista (o "..t" \xe9 opcional), a vari\xe1vel x conter\xe1 o indice atual na itera\xe7\xe3o e por fim o valor 1 significa que a itera\xe7\xe3o terminar\xe1 no item 1 (em todas as lista o primeiro elemento sempre ser\xe1 0), podendo ficar ',"{{","for:lista[x..1]","}}",". Nesta configura\xe7\xe3o a itera\xe7\xe3o ser\xe1 descendente (do maior para o menor).\xa0"),t.xp6(5),t.qoO(["A lista poder\xe1 ser iteranda utilizando uma outra vari\xe1vel como destino dos itens que est\xe3o sendo iterados (est\xe1 nova vari\xe1vel estar\xe1 dispon\xedvel somente dentro do contexto do ","{{","for:...","}}"," at\xe9 o respectivo ","{{","end-for","}}",", e ser\xe1 iterado sempre de forma acendente). O for ser\xe1 no seguinte modelo ","{{","for:lista[item]","}}",", onde lista representa a vari\xe1vel que ser\xe1 iterada, e item representa o item atual da lista que est\xe1 sendo iterada. A vari\xe1vel item estar\xe1 dispon\xedvel somente dentro do ","{{","for:..","}}"," at\xe9 ","{{","end-for","}}","."]),t.xp6(12),t.qoO(["","{{","for:lista[0..x..t]","}}"," Indice ","{{","x","}}"," de um total de ","{{","t","}}"," registros: ","{{","lista[x].nome","}}"," ","{{","end-for","}}",""]),t.xp6(2),t.gL8("","{{","for:lista[item]","}}"," registros: ","{{","item.nome","}}"," ","{{","end-for","}}",""),t.xp6(14),t.AsE("","{{","for:lista[item];drop=tr","}}",""),t.xp6(3),t.AsE("","{{","item.nome","}}",""),t.xp6(2),t.AsE("","{{","item.valor","}}",""),t.xp6(3),t.AsE("","{{","end-for;drop=tr","}}",""),t.xp6(4),t.Q6J("ngForOf",Qe.variables)}}const Ge=function(){return{standalone:!0}};function gt(Je,tt){if(1&Je){const Qe=t.EpF();t.TgZ(0,"editor",60,61),t.NdJ("ngModelChange",function(Nt){t.CHM(Qe);const Jt=t.oxw();return t.KtG(Jt.value=Nt)}),t.qZA()}if(2&Je){const Qe=t.oxw();t.Q6J("disabled",Qe.isDisabled)("ngModel",Qe.value)("ngModelOptions",t.DdM(6,Ge))("init",Qe.editorConfig)("plugins",Qe.plugins)("toolbar",Qe.toolbar)}}let Ze=(()=>{class Je extends y.M{set template(Qe){this._template!=Qe&&(this._template=Qe,this.viewInit&&this.updateEditor())}get template(){return this._template}set datasource(Qe){this._datasource!=Qe&&(this._datasource=Qe,this.viewInit&&this.updateEditor())}get datasource(){return this._datasource}set value(Qe){this.isEditingTemplate?this._editingTemplate=Qe:this._value!=Qe&&(this._value=Qe,this.valueChange.emit(this._value),this.control&&this.control.value!=this._value&&this.control.setValue(this._value),this.detectChanges())}get value(){return this.isEditingTemplate?this._editingTemplate:this._value}set control(Qe){this._control=Qe}get control(){return this.getControl()}set size(Qe){this.setSize(Qe)}get size(){return this.getSize()}get variables(){let Qe=[];const pt=(Nt,Jt,nt)=>{for(let ot of Nt)Qe.push({level:Jt,variable:nt+ot.field+("ARRAY"==ot.type?"[]":""),label:ot.label}),"ARRAY"==ot.type&&pt(ot.fields||[],Jt+1,"[]."),"OBJECT"==ot.type&&pt(ot.fields||[],Jt+1,".")};return pt(this.dataset||[],0,""),JSON.stringify(Qe)!=JSON.stringify(this._variables)&&(this._variables=Qe),Qe}constructor(Qe){var pt;super(Qe),pt=this,this.injector=Qe,this.class="form-group",this.valueChange=new t.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.canEditTemplate=!1,this.toolbars=["customEditTemplateButton","customDoneEditTemplateButton customCancelEditTemplateButton | customAddMacroTemplate customHelpTemplate | undo redo | bold italic underline strikethrough | fontselect fontsize formatselect | alignleft aligncenter alignright alignjustify | outdent indent | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | ltr rtl visualblocks code","customAddMacroTemplate customHelpTemplate | undo redo | customLockTemplate customUnlockTemplate | bold italic underline strikethrough | fontselect fontsize formatselect | alignleft aligncenter alignright alignjustify | outdent indent | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | ltr rtl visualblocks code","undo redo | bold italic underline strikethrough | fontselect fontsize formatselect | alignleft aligncenter alignright alignjustify | outdent indent | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | ltr rtl visualblocks code"],this.plugins="print preview paste importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists wordcount imagetools textpattern noneditable help charmap quickbars emoticons",this.editorConfig={imagetools_cors_hosts:["picsum.photos"],toolbar_sticky:!0,image_advtab:!0,menubar:!1,statusbar:!1,image_caption:!0,quickbars_selection_toolbar:"bold italic | quicklink h2 h3 blockquote quickimage quicktable",noneditable_noneditable_class:"mceNonEditable",toolbar_mode:"sliding",contextmenu:"link image imagetools table",fontsize_formats:"8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",table_class_list:[{title:"Sem classe",value:""},{title:"Padr\xe3o",value:"table table-sm"},{title:"Sem bordas",value:"table table-borderless table-sm"},{title:"Com bordas",value:"table table-sm table-bordered"},{title:"Zebrada",value:"table table-striped table-sm"}],setup:(Nt=>{this.editor=Nt,Nt.on("init",()=>{this.isDisabled&&Nt.mode.set("readonly")}),Nt.ui.registry.addButton("customDoneEditTemplateButton",{icon:"checkmark",text:"Concluir",tooltip:"Concluir edi\xe7\xe3o do template",onAction:Jt=>this.onDoneTemplateClick()}),Nt.ui.registry.addButton("customCancelEditTemplateButton",{icon:"close",text:"Cancelar",tooltip:"Cancelar edi\xe7\xe3o do template",onAction:Jt=>this.onCancelTemplateClick()}),Nt.ui.registry.addButton("customEditTemplateButton",{icon:"edit-block",text:"Editar",tooltip:"Editar template",onAction:Jt=>this.onEditTemplateClick()}),Nt.ui.registry.addButton("customAddMacroTemplate",{icon:"code-sample",tooltip:"Inserir macro (valores din\xe2micos)",onAction:Jt=>(0,i.Z)(function*(){return(yield pt.dialog.template({title:"Adicionar macro",modalWidth:500},pt.addMacroTemplate,[{label:"Fechar",color:"btn btn-outline-danger"}]).asPromise()).dialog.close()})()}),Nt.ui.registry.addButton("customHelpTemplate",{icon:"info",tooltip:"Ajuda sobre como utilizar vari\xe1veis",onAction:Jt=>(0,i.Z)(function*(){return(yield pt.dialog.template({title:"Ajuda sobre vari\xe1veis",modalWidth:800},pt.helpTemplate,[{label:"Fechar",color:"btn btn-outline-danger"}]).asPromise()).dialog.close()})()}),Nt.ui.registry.addButton("customLockTemplate",{icon:"lock",tooltip:"Bloqueia a regi\xe3o selecionada",onAction:Jt=>{let nt=Nt.selection.getContent({format:"html"}),ot=(new Date).getTime(),Ct=this.util.md5(""+nt+ot);Nt.execCommand("insertHTML",!1,'
'+nt+"
")},onSetup:Jt=>{const nt=ot=>Jt.setEnabled("mceNonEditable"!=ot.element.className);return Nt.on("NodeChange",nt),ot=>Nt.off("NodeChange",nt)}}),Nt.ui.registry.addButton("customUnlockTemplate",{icon:"unlock",tooltip:"Desbloqueia a regi\xe3o selecionada",onAction:Jt=>{let He=Nt.selection.getContent({format:"html"}).replace(/^/,"").replace(/<\/div>$/,"");Nt.execCommand("insertHTML",!1,He)},onSetup:Jt=>{const nt=ot=>Jt.setEnabled("mceNonEditable"==ot.element.className);return Nt.on("NodeChange",nt),ot=>Nt.off("NodeChange",nt)}})}).bind(this)},this.listas=[],this.variaveis=[],this.tipoComparadorUm="",this.tipoComparadorDois="",this._variables=[],this.expressaoIf="{{if}}{{end-if}}",this.expressaoFor="{{for}}{{end-for}}",this.lookup=this.injector.get(b.W),this.dialog=Qe.get(a.x),this.templateService=Qe.get(C.E),this._value="",this.operatorForm=this.fb.group({operador:[""],comparadorUmTipo:["",[A.kI.required]],comparadorUmValor:[""],comparadorDoisTipo:["",[A.kI.required]],comparadorDoisValor:[""]},this.cdRef),this.blockForForm=this.fb.group({tipo:["indice"],variavel:["item"],variavelIndice:["x"],lista:["",[A.kI.required]]},this.cdRef)}validarVariaveis(Qe){const pt=Qe.get("tipo")?.value,Nt=Qe.get("variavel"),Jt=Qe.get("variavelIndice");"variavel"===pt?Nt?.setValidators([A.kI.required]):Nt?.clearValidators(),"indice"===pt?Jt?.setValidators([A.kI.required]):Jt?.clearValidators(),Nt?.updateValueAndValidity(),Jt?.updateValueAndValidity()}onEditTemplateClick(){this._editingTemplate=this.template,this.cdRef.detectChanges()}onDoneTemplateClick(){this.template=this._editingTemplate,this._editingTemplate=void 0,this.updateEditor(),this.cdRef.detectChanges()}onCancelTemplateClick(){this._editingTemplate=void 0,this.updateEditor(),this.cdRef.detectChanges()}get hasTemplate(){return null!=this.template}get hasDataset(){return null!=this.dataset}get toolbar(){return this.isEditingTemplate?this.toolbars[0]:this.hasTemplate&&this.canEditTemplate?this.toolbars[1]:this.hasDataset?this.toolbars[2]:this.hasTemplate||this.disabled?"":this.toolbars[3]}get isEditingTemplate(){return null!=this._editingTemplate}get isDisabled(){return null!=this.disabled||this.canEditTemplate&&null!=this.template&&!this.isEditingTemplate}updateEditor(Qe){this.value=null!=this.template&&null!=this.datasource?this.templateService.renderTemplate(this.template,this.datasource):Qe||"",this.cdRef.detectChanges()}ngOnInit(){super.ngOnInit(),this.dataset&&(this.variaveis=this.convertArrayToTreeNodes(this.dataset))}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(Qe=>{this.value!=Qe&&this.updateEditor(Qe)}),this.value=this.control.value),this.updateEditor(),this.operatorForm.valueChanges.subscribe(Qe=>{const pt=Qe.comparadorUmTipo,Nt=Qe.comparadorDoisTipo;let Jt="",nt="";"list"==pt&&(Jt=`${Qe.comparadorUmValor}[+]`),"string"==pt&&(Jt=`"${Qe.comparadorUmValor}"`),("number"==pt||"boolean"==pt)&&(Jt=`${Qe.comparadorUmValor}`),"variable"==pt&&(Jt=`${Qe.comparadorUmValor.data?.path}`),"list"==Nt&&(nt=`${Qe.comparadorDoisValor}[+]`),"string"==Nt&&(nt=`"${Qe.comparadorDoisValor}"`),("number"==Nt||"boolean"==Nt)&&(nt=`${Qe.comparadorDoisValor}`),"variable"==Nt&&(nt=`${Qe.comparadorDoisValor.data?.path}`),this.expressaoIf=`{{if:${Jt}${Qe.operador}${nt}}}{{end-if}}`}),this.blockForForm.valueChanges.subscribe(Qe=>{this.expressaoFor="indice"==Qe.tipo?`{{for:${Qe.lista}[0..${Qe.variavelIndice}..t]}} {{end-for}}`:`{{for:${Qe.lista}[${Qe.variavel}]}} {{end-for}}`})}getVariableString(){return this.selectedVariable?`{{${this.selectedVariable.data?.path}}}`:""}insertVariable(){this.editor?.insertContent(`{{${this.selectedVariable.data.path}}}`),this.dialog.close()}nodeSelect(Qe){this.selectedVariable=Qe.node}insertBlockFor(){this.editor?.insertContent(this.expressaoFor),this.dialog.close()}insertOperator(){this.editor?.insertContent(this.expressaoIf),this.dialog.close()}convertToTreeNode(Qe,pt){const Nt=pt?pt+"."+Qe.field:Qe.field,Jt={label:Qe.label,data:{path:Nt},type:Qe.type,children:[],selectable:Qe.type&&!["ARRAY","OBJECT"].includes(Qe.type)};return Qe.fields&&(Jt.children=this.convertArrayToTreeNodes(Qe.fields,Nt)),"ARRAY"===Qe.type&&this.listas.push({key:Qe.field,value:Qe.label}),Jt}convertArrayToTreeNodes(Qe,pt){return Qe.map(Nt=>this.convertToTreeNode(Nt,pt))}changeTypeOperator(Qe){1==Qe&&(this.tipoComparadorUm=this.operatorForm.controls.comparadorUmTipo.value),2==Qe&&(this.tipoComparadorDois=this.operatorForm.controls.comparadorDoisTipo.value),console.log(this.operatorForm.controls)}selectVariable(Qe,pt){1==pt&&this.operatorForm.controls.comparadorUmValor.patchValue(Qe.node),2==pt&&this.operatorForm.controls.comparadorDoisValor.patchValue(Qe.node)}static#e=this.\u0275fac=function(pt){return new(pt||Je)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:Je,selectors:[["input-editor"]],viewQuery:function(pt,Nt){if(1&pt&&(t.Gf(F,5),t.Gf(j,5),t.Gf(N,5),t.Gf(x,5)),2&pt){let Jt;t.iGM(Jt=t.CRH())&&(Nt.helpTemplate=Jt.first),t.iGM(Jt=t.CRH())&&(Nt.addMacroTemplate=Jt.first),t.iGM(Jt=t.CRH())&&(Nt.editorComponent=Jt.first),t.iGM(Jt=t.CRH())&&(Nt.inputElement=Jt.first)}},hostVars:2,hostBindings:function(pt,Nt){2&pt&&t.Tol(Nt.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",form:"form",source:"source",path:"path",canEditTemplate:"canEditTemplate",dataset:"dataset",required:"required",template:"template",datasource:"datasource",value:"value",control:"control",size:"size"},outputs:{valueChange:"valueChange"},features:[t._Bn([],[{provide:A.gN,useExisting:A.sg}]),t.qOj],decls:6,vars:11,consts:[["addMacroTemplate",""],["helpTemplate",""],[3,"labelPosition","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[3,"disabled","ngModel","ngModelOptions","init","plugins","toolbar","ngModelChange",4,"ngIf"],["display",""],["key","VARIAVEIS_DISPONIVEIS","label","Vari\xe1veis"],[1,"d-flex","align-items-center","my-2"],[1,"card","card-body","me-2"],[1,"btn","btn-success",3,"disabled","click"],["autoHeightDisabled","false",2,"max-height","400px"],["selectionMode","single",1,"w-full","md:w-30rem",3,"value","selection","onNodeSelect"],["key","OPERADORES","label","Operadores l\xf3gicos"],[3,"formGroup","submit"],[1,"row"],[1,"col-md-12"],["type","submit",1,"btn","btn-success",3,"disabled"],[1,"col-md-12","mb-3"],[1,"card","card-body"],[1,"form-label"],["controlName","comparadorUmTipo","label","Tipo",3,"size","items","change"],["controlName","comparadorUmValor","label","Texto",3,"size",4,"ngIf"],["controlName","comparadorUmValor","label","N\xfamero",3,"size",4,"ngIf"],["controlName","comparadorUmValor","label","Lista",3,"size","items",4,"ngIf"],["controlName","comparadorUmValor",3,"size","items",4,"ngIf"],["class","col-md-6",4,"ngIf"],["controlName","operador","label","Operador",3,"size","items"],[1,"col-md-12","my-3"],["controlName","comparadorDoisTipo","label","Tipo",3,"size","items","change"],["controlName","comparadorDoisValor","label","Texto",3,"size",4,"ngIf"],["controlName","comparadorDoisValor","label","N\xfamero",3,"size",4,"ngIf"],["controlName","comparadorDoisValor","label","Lista",3,"size","items",4,"ngIf"],["controlName","comparadorDoisValor",3,"size","items",4,"ngIf"],["key","BLOCOS","label","Blocos de c\xf3digo"],[3,"formGroup","ngSubmit"],["controlName","tipo","label","Tipo da lista",3,"size","items"],["controlName","variavel","label","Vari\xe1vel da lista",3,"size",4,"ngIf"],["controlName","variavelIndice","label","V\xe1riavel do \xedndice",3,"size",4,"ngIf"],["controlName","lista","label","Selecione a lista para iterar",3,"size","items"],["controlName","comparadorUmValor","label","Texto",3,"size"],["controlName","comparadorUmValor","label","N\xfamero",3,"size"],["controlName","comparadorUmValor","label","Lista",3,"size","items"],["controlName","comparadorUmValor",3,"size","items"],[1,"col-md-6"],[1,"d-block","mb-1"],[1,"d-block"],["containerStyleClass","w-full","formControlName","comparadorUmValor",1,"md:w-20rem","w-full",3,"options","onNodeSelect"],["controlName","comparadorDoisValor","label","Texto",3,"size"],["controlName","comparadorDoisValor","label","N\xfamero",3,"size"],["controlName","comparadorDoisValor","label","Lista",3,"size","items"],["controlName","comparadorDoisValor",3,"size","items"],["containerStyleClass","w-full","formControlName","comparadorDoisValor",1,"md:w-20rem","w-full",3,"options","onNodeSelect"],["controlName","variavel","label","Vari\xe1vel da lista",3,"size"],["controlName","variavelIndice","label","V\xe1riavel do \xedndice",3,"size"],["key","PRINCIPAL","label","Principal"],[2,"border","1px solid","width","100%"],[2,"width","50%"],[2,"border","1px solid"],["colspan","2",2,"border","1px solid"],["key","VARIAVEIS","label","Vari\xe1veis"],[4,"ngFor","ngForOf"],[3,"disabled","ngModel","ngModelOptions","init","plugins","toolbar","ngModelChange"],["editor",""]],template:function(pt,Nt){1&pt&&(t.YNc(0,oe,58,32,"ng-template",null,0,t.W1O),t.YNc(2,Ee,143,75,"ng-template",null,1,t.W1O),t.TgZ(4,"input-container",2),t.YNc(5,gt,2,7,"editor",3),t.qZA()),2&pt&&(t.xp6(4),t.Q6J("labelPosition",Nt.labelPosition)("controlName",Nt.controlName)("required",Nt.required)("control",Nt.control)("loading",Nt.loading)("disabled",Nt.disabled)("label",Nt.label)("labelInfo",Nt.labelInfo)("icon",Nt.icon)("bold",Nt.bold),t.xp6(1),t.Q6J("ngIf",Nt.viewInit))}})}return Je})()},1720:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>X});var i=m(8239),t=m(755),A=m(2133),a=m(645),y=m(6733),C=m(8544);const b=["inputElement"],F=["newInputLevel"];function j(me,Oe){if(1&me&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&me){const Se=t.oxw(2);t.xp6(1),t.Oqu(Se.separator)}}function N(me,Oe){if(1&me){const Se=t.EpF();t.TgZ(0,"input",7),t.NdJ("change",function(K){t.CHM(Se);const V=t.oxw().index,J=t.oxw();return t.KtG(J.onChange(K,V))}),t.qZA()}if(2&me){const Se=t.oxw(),wt=Se.$implicit,K=Se.index,V=t.oxw();t.Udp("width",V.inputWidth,"px"),t.ekj("input-level-invalid",!wt.valid),t.Q6J("type",V.type)("id",V.generatedId(V.controlName)+"_"+K)("readonly",V.isDisabled),t.uIk("min",wt.min)("max",wt.max)("value",wt.value)}}function x(me,Oe){if(1&me&&(t.ynx(0),t.YNc(1,j,2,1,"span",4),t.YNc(2,N,1,10,"input",5),t.BQk()),2&me){const Se=Oe.index,wt=t.oxw();t.xp6(1),t.Q6J("ngIf",Se>0),t.xp6(1),t.Q6J("ngIf",wt.viewInit)}}function H(me,Oe){if(1&me&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&me){const Se=t.oxw(2);t.xp6(1),t.Oqu(Se.separator)}}function k(me,Oe){if(1&me){const Se=t.EpF();t.TgZ(0,"input",7,8),t.NdJ("change",function(K){t.CHM(Se);const V=t.oxw(2);return t.KtG(V.onNewLevelChange(K))}),t.qZA()}if(2&me){const Se=t.oxw(2);t.Udp("width",Se.inputWidth,"px"),t.ekj("input-level-invalid",!Se.newLevel.valid),t.Q6J("type",Se.type)("id",Se.generatedId(Se.controlName)+"_new")("readonly",Se.isDisabled),t.uIk("min",Se.newLevel.min)("max",Se.newLevel.max)("value",Se.newLevel.value)}}function P(me,Oe){if(1&me&&(t.ynx(0),t.YNc(1,H,2,1,"span",4),t.YNc(2,k,2,10,"input",5),t.BQk()),2&me){const Se=t.oxw();t.xp6(1),t.Q6J("ngIf",Se.levels.length),t.xp6(1),t.Q6J("ngIf",Se.viewInit)}}let X=(()=>{class me extends a.M{set control(Se){this._control=Se}get control(){return this.getControl()}set size(Se){this.setSize(Se)}get size(){return this.getSize()}constructor(Se){super(Se),this.injector=Se,this.class="form-group",this.change=new t.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.inputWidth=50,this.loading=!1,this.type="number",this.separator=".",this.levels=[],this.newLevel={valid:!0}}controlChange(Se){this.levels=(Se||"").split(this.separator).filter(wt=>!this.isEmpty(wt)).map(wt=>Object.assign({},{value:wt,valid:!0})),this.checkValidate()}isEmpty(Se){return[void 0,"0","",0].includes(Se)}updateControl(){this.control&&this.control.setValue(this.levels.map(Se=>Se.value).join(this.separator))}get hasNewLevel(){return!0}checkValidate(){var Se=this;(0,i.Z)(function*(){for(let wt=0;wt{"use strict";m.d(_e,{p:()=>wt});var i=m(8239),t=m(2133),A=m(645),a=m(8967),y=m(4603),C=m(755);function b(K,V){if(1&K&&C._UZ(0,"i"),2&K){const J=C.oxw(2);C.Tol(J.icon)}}function F(K,V){if(1&K&&(C.TgZ(0,"h5",6),C.YNc(1,b,1,2,"i",7),C._uU(2),C.qZA()),2&K){const J=C.oxw();C.xp6(1),C.Q6J("ngIf",J.icon.length),C.xp6(1),C.hij(" ",J.label," ")}}function j(K,V){if(1&K&&C._UZ(0,"i"),2&K){const J=C.oxw(2).$implicit;C.Tol("multiselect-icon "+J.icon)}}function N(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"span",14),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2).$implicit,ye=C.oxw();return C.KtG(ye.onEdit(oe))}),C._UZ(1,"i",15),C.qZA()}}function x(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"span",16),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2).$implicit,ye=C.oxw();return C.KtG(ye.onDelete(oe))}),C._uU(1,"X"),C.qZA()}}function H(K,V){if(1&K&&(C.TgZ(0,"div",9)(1,"div",10),C.YNc(2,j,1,2,"i",7),C.TgZ(3,"div",11),C._uU(4),C.qZA(),C.YNc(5,N,2,0,"span",12),C.YNc(6,x,2,0,"span",13),C.qZA()()),2&K){const J=C.oxw().$implicit,ae=C.oxw();C.Udp("max-width","inline"==ae.multiselectStyle?ae.maxItemWidth:void 0,"px"),C.ekj("multiselect-item-row","rows"==ae.multiselectStyle),C.Q6J("id",ae.generatedId(ae.controlName)+"_button_"+J.key),C.uIk("title",J.value),C.xp6(1),C.Q6J("ngClass","rows"==ae.multiselectStyle?"justify-content-between":""),C.xp6(1),C.Q6J("ngIf",J.icon),C.xp6(1),C.Udp("color",ae.getHexColor(J.color)),C.ekj("muiltiselect-text-icon",J.icon),C.xp6(1),C.Oqu(J.value),C.xp6(1),C.Q6J("ngIf",!ae.isDisabled&&!ae.editing&&ae.canEdit),C.xp6(1),C.Q6J("ngIf",!ae.isDisabled&&!ae.editing)}}function k(K,V){if(1&K&&(C.ynx(0),C.YNc(1,H,7,15,"div",8),C.BQk()),2&K){const J=V.$implicit;C.xp6(1),C.Q6J("ngIf","DELETE"!=(null==J.data?null:J.data._status))}}function P(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"button",23),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2);return C.KtG(oe.onAddItemClick())}),C._UZ(1,"i",24),C.qZA()}if(2&K){const J=C.oxw(2);C.Q6J("id",J.generatedId(J.controlName)+"_add_button")}}function X(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"button",25),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2);return C.KtG(oe.onSaveItemClick())}),C._UZ(1,"i",26),C.qZA()}if(2&K){const J=C.oxw(2);C.Q6J("id",J.generatedId(J.controlName)+"_save_button")}}function me(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"button",27),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2);return C.KtG(oe.onCancelItemClick())}),C._UZ(1,"i",28),C.qZA()}if(2&K){const J=C.oxw(2);C.Q6J("id",J.generatedId(J.controlName)+"_cancel_button")}}function Oe(K,V){if(1&K&&(C.TgZ(0,"div",17)(1,"div",18),C.Hsn(2),C.qZA(),C.TgZ(3,"div",19),C.YNc(4,P,2,1,"button",20),C.YNc(5,X,2,1,"button",21),C.YNc(6,me,2,1,"button",22),C.qZA()()),2&K){const J=C.oxw();C.xp6(4),C.Q6J("ngIf",!J.editing),C.xp6(1),C.Q6J("ngIf",J.editing),C.xp6(1),C.Q6J("ngIf",J.editing)}}const Se=["*"];let wt=(()=>{class K extends A.M{set items(J){this._items=J,this.control?.setValue(J),this.detectChanges()}get items(){return this.control?.value||this._items||[]}set control(J){this._control=J}get control(){return this.getControl()}set size(J){this.setSize(J)}get size(){return this.getSize()}constructor(J){super(J),this.injector=J,this.class="form-group my-2",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.maxItemWidth=150,this.maxListHeight=0,this.multiselectStyle="rows",this.canEdit=!1,this.selectedItem=void 0}ngOnInit(){super.ngOnInit(),this.class=this.isNoBox?this.class.replace(" my-2",""):this.class}onEdit(J){var ae=this;return(0,i.Z)(function*(){ae.editing=J,ae.loadItemHandle&&(yield ae.loadItemHandle(J)),ae.cdRef.detectChanges()})()}onDelete(J){let ae=J.data?._status,oe=!this.deleteItemHandle||this.deleteItemHandle(J);oe&&this.items.splice(this.items.findIndex(ye=>ye.key==J.key),1),this.cdRef.detectChanges(),this.change&&(oe||ae!=J.data?._status)&&this.change()}get isNoForm(){return null!=this.noForm}get isNoBox(){return null!=this.noBox}onSaveItemClick(){var J=this;return(0,i.Z)(function*(){let ae;if(J.saveItemHandle&&(ae=yield J.saveItemHandle(J.editing)),J.addItemControl)if(J.addItemControl instanceof a.V&&J.addItemControl.selectedItem?.value){const oe=J.addItemControl;J.editing.key=oe.selectedItem.value,J.editing.value=oe.selectedItem.text,J.editing.data=oe.selectedEntity,ae=J.editing}else if(J.addItemControl instanceof y.p&&J.addItemControl.selectedItem?.key){const oe=J.addItemControl;J.editing.key=oe.selectedItem?.key,J.editing.value=oe.selectedItem?.value||"",J.editing.data=oe.selectedItem?.data,ae=J.editing}return ae&&J.endEdit(),ae})()}onCancelItemClick(){this.endEdit()}endEdit(){this.editing=void 0,this.clearItemForm?this.clearItemForm():this.addItemControl&&(this.addItemControl?.setValue(""),this.addItemControl?.control?.setValue("")),this.cdRef.detectChanges()}onAddItemClick(){var J=this;return(0,i.Z)(function*(){let ae;if(J.addItemHandle)ae=J.addItemHandle();else if(J.addItemAsyncHandle)ae=yield J.addItemAsyncHandle();else if(J.addItemControl)if(J.addItemControl instanceof a.V&&J.addItemControl.selectedItem?.value){const oe=J.addItemControl;ae={key:oe.selectedItem.value,value:oe.selectedItem.text,data:J.addItemControl.selectedEntity}}else if(J.addItemControl instanceof y.p&&J.addItemControl.selectedItem?.key){const oe=J.addItemControl;ae=Object.assign({},oe.items.find(ye=>ye.key==oe.selectedItem?.key))}ae&&(J._items||(J._items=[]),J.items.push(ae),J.items=J.items,J.clearItemForm&&J.clearItemForm(),J.cdRef.detectChanges(),J.change&&J.change())})()}static#e=this.\u0275fac=function(ae){return new(ae||K)(C.Y36(C.zs3))};static#t=this.\u0275cmp=C.Xpm({type:K,selectors:[["input-multiselect"]],hostVars:2,hostBindings:function(ae,oe){2&ae&&C.Tol(oe.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",noForm:"noForm",noBox:"noBox",loading:"loading",maxItemWidth:"maxItemWidth",maxListHeight:"maxListHeight",change:"change",deleteItemHandle:"deleteItemHandle",loadItemHandle:"loadItemHandle",saveItemHandle:"saveItemHandle",addItemHandle:"addItemHandle",addItemAsyncHandle:"addItemAsyncHandle",clearItemForm:"clearItemForm",addItemControl:"addItemControl",multiselectStyle:"multiselectStyle",form:"form",source:"source",path:"path",canEdit:"canEdit",required:"required",items:"items",control:"control",size:"size"},features:[C._Bn([],[{provide:t.gN,useExisting:t.sg}]),C.qOj],ngContentSelectors:Se,decls:8,vars:20,consts:[["errorMessageIcon","bi-info-circle",3,"labelPosition","labelClass","loading","disabled","controlName","required","control","label","labelInfo","icon","bold"],["class","card-header",4,"ngIf"],[1,"multiselect"],[1,"border","rounded","multiselect-list","px-1","d-flex","flex-wrap"],[4,"ngFor","ngForOf"],["class","multiselect-container d-flex align-items-end ",4,"ngIf"],[1,"card-header"],[3,"class",4,"ngIf"],["type","button","class","btn btn-light m-1 multiselect-item ","data-bs-toggle","tooltip",3,"id","multiselect-item-row","max-width",4,"ngIf"],["type","button","data-bs-toggle","tooltip",1,"btn","btn-light","m-1","multiselect-item",3,"id"],[1,"d-flex","align-items-center",3,"ngClass"],[1,"mx-1","text-start"],["class","badge bg-primary ms-1 multiselect-delete-button","role","button",3,"click",4,"ngIf"],["class","badge bg-danger ms-1 multiselect-delete-button","role","button",3,"click",4,"ngIf"],["role","button",1,"badge","bg-primary","ms-1","multiselect-delete-button",3,"click"],[1,"bi","bi-pencil-square"],["role","button",1,"badge","bg-danger","ms-1","multiselect-delete-button",3,"click"],[1,"multiselect-container","d-flex","align-items-end"],[1,"flex-grow-1","row"],[1,"btn-group","mx-2"],["type","button","class","btn btn-success","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",3,"id","click",4,"ngIf"],["type","button","class","btn btn-primary","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",3,"id","click",4,"ngIf"],["type","button","class","btn btn-danger","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",3,"id","click",4,"ngIf"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",1,"btn","btn-success",3,"id","click"],[1,"bi","bi-arrow-bar-up"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",1,"btn","btn-primary",3,"id","click"],[1,"bi","bi-check-circle"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",1,"btn","btn-danger",3,"id","click"],[1,"bi","bi-dash-circle"]],template:function(ae,oe){1&ae&&(C.F$t(),C.TgZ(0,"input-container",0)(1,"div"),C.YNc(2,F,3,2,"h5",1),C.TgZ(3,"div")(4,"div",2)(5,"div",3),C.YNc(6,k,2,1,"ng-container",4),C.qZA(),C.YNc(7,Oe,7,3,"div",5),C.qZA()()()()),2&ae&&(C.Q6J("labelPosition",oe.labelPosition)("labelClass",oe.labelClass)("loading",oe.loading)("disabled",oe.disabled)("controlName",oe.controlName)("required",oe.required)("control",oe.control)("label",oe.isNoBox?oe.label:"")("labelInfo",oe.labelInfo)("icon",oe.icon)("bold",oe.bold),C.xp6(1),C.ekj("card",!oe.isNoBox),C.xp6(1),C.Q6J("ngIf",(null==oe.label?null:oe.label.length)&&!oe.isNoBox),C.xp6(1),C.ekj("card-body",!oe.isNoBox),C.xp6(2),C.Udp("max-height",oe.maxListHeight>0?oe.maxListHeight:void 0,"px"),C.xp6(1),C.Q6J("ngForOf",oe.items),C.xp6(1),C.Q6J("ngIf",!oe.isDisabled&&!oe.isNoForm))},styles:[".multiselect[_ngcontent-%COMP%] .multiselect-list[_ngcontent-%COMP%]{overflow:auto}.multiselect[_ngcontent-%COMP%] .multiselect-icon[_ngcontent-%COMP%]{float:left;margin-right:3px}.multiselect[_ngcontent-%COMP%] .multiselect-item[_ngcontent-%COMP%]{cursor:default}.multiselect[_ngcontent-%COMP%] .multiselect-item-row[_ngcontent-%COMP%]{display:block;width:calc(100% - 8px)}.multiselect[_ngcontent-%COMP%] .multiselect-text[_ngcontent-%COMP%]{float:left;width:calc(100% - 28px);text-align:left}.multiselect[_ngcontent-%COMP%] .multiselect-has-edit[_ngcontent-%COMP%]{width:calc(100% - 58px)!important}.multiselect[_ngcontent-%COMP%] .muiltiselect-text-icon[_ngcontent-%COMP%]{width:calc(100% - 45px)!important}.multiselect[_ngcontent-%COMP%] .multiselect-delete-button[_ngcontent-%COMP%]{cursor:pointer;margin-top:2px}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%]{display:inline-table;width:100%}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%] .multiselect-container-buttons[_ngcontent-%COMP%]{display:table-cell;vertical-align:bottom;width:40px}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%] .multiselect-container-form[_ngcontent-%COMP%]{display:flex;width:auto}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%] .multiselect-container-form-button[_ngcontent-%COMP%]{vertical-align:baseline!important}"]})}return K})()},2984:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>C});var i=m(2133),t=m(645),A=m(755);function a(b,F){if(1&b&&A._UZ(0,"i"),2&b){const j=A.oxw().$implicit;A.Tol(j.icon)}}function y(b,F){if(1&b){const j=A.EpF();A.TgZ(0,"button",3),A.NdJ("click",function(){const H=A.CHM(j).$implicit,k=A.oxw();return A.KtG(k.onButtonToggle(H))}),A.YNc(1,a,1,2,"i",4),A._uU(2),A.qZA()}if(2&b){const j=F.$implicit,N=A.oxw();A.Tol("m-1 btn "+N.classButton(j)),A.ekj("active",N.isChecked(j)),A.Q6J("id",N.generatedId(N.controlName)+"_"+j.key)("disabled",N.isDisabled?"true":void 0),A.xp6(1),A.Q6J("ngIf",j.icon),A.xp6(1),A.hij(" ",j.value," ")}}let C=(()=>{class b extends t.M{set value(j){JSON.stringify(this._value)!=JSON.stringify(j)&&(this._value=j,this.control?.setValue(this.value)),this.cdRef.markForCheck()}get value(){return this._value}set items(j){this._items=j||[],this.value=this.value.filter(N=>!!this._items?.find(x=>x.key==N.key)),this.cdRef.detectChanges()}get items(){return this._items}set control(j){this._control=j}get control(){return this.getControl()}set size(j){this.setSize(j)}get size(){return this.getSize()}constructor(j){super(j),this.injector=j,this.class="form-group",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this._items=[],this._value=[]}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){if(super.ngAfterViewInit(),this.control){const j=N=>{this.value=N?.filter(x=>!!this._items?.find(H=>H.key==x.key))||[]};this.control.valueChanges.subscribe(j),j(this.control.value)}}onButtonToggle(j){const N=this.value.findIndex(H=>H.key==j.key);let x=[...this.value];N>=0?x.splice(N,1):x.push(j),this.value=x}isChecked(j){return!!this.value.find(N=>N.key==j.key)}classButton(j){return this.isDisabled&&!this.isChecked(j)?"btn-outline-secundary":"btn-outline-primary"}static#e=this.\u0275fac=function(N){return new(N||b)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:b,selectors:[["input-multitoggle"]],hostVars:2,hostBindings:function(N,x){2&N&&A.Tol(x.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",form:"form",source:"source",path:"path",required:"required",value:"value",items:"items",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],decls:3,vars:13,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold","isRadio"],[1,"container-fluid","d-flex","justify-content-center","border","rounded","flex-wrap"],["type","button",3,"id","active","class","disabled","click",4,"ngFor","ngForOf"],["type","button",3,"id","disabled","click"],[3,"class",4,"ngIf"]],template:function(N,x){1&N&&(A.TgZ(0,"input-container",0)(1,"div",1),A.YNc(2,y,3,8,"button",2),A.qZA()()),2&N&&(A.Q6J("labelPosition",x.labelPosition)("labelClass",x.labelClass)("controlName",x.controlName)("required",x.required)("control",x.control)("loading",x.loading)("disabled",x.disabled)("label",x.label)("labelInfo",x.labelInfo)("icon",x.icon)("bold",x.bold)("isRadio",!0),A.xp6(2),A.Q6J("ngForOf",x.items))}})}return b})()},9224:(lt,_e,m)=>{"use strict";m.d(_e,{l:()=>j});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(N,x){if(1&N&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&N){const H=i.oxw();i.xp6(1),i.Oqu(H.prefix)}}function C(N,x){if(1&N){const H=i.EpF();i.TgZ(0,"input",6,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("blur",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.converteNumero(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&N){const H=i.oxw();i.ekj("is-invalid",H.isInvalid()),i.Q6J("type",H.isInteger?"number":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("value",H.control?void 0:H.value)}}function b(N,x){if(1&N){const H=i.EpF();i.TgZ(0,"input",8,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("blur",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.converteNumero(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&N){const H=i.oxw();i.ekj("is-invalid",H.isInvalid()),i.Q6J("type",H.isInteger?"number":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("mask",H.maskFormat)("dropSpecialCharacters",!1)("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("value",H.control?void 0:H.value)}}function F(N,x){if(1&N&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&N){const H=i.oxw();i.xp6(1),i.Oqu(H.sufix)}}let j=(()=>{class N extends A.M{set control(H){this._control=H}get control(){return this.getControl()}set currency(H){this._currency!=H&&(this._currency=H,null!=H&&(this.prefix="R$",this.decimals=2))}get currency(){return this._currency}set decimals(H){this._decimals!=H&&(this._decimals=H,this.maskFormat=H?"0*."+"0".repeat(H):"")}set size(H){this.setSize(H)}get size(){return this.getSize()}constructor(H){super(H),this.injector=H,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this._decimals=0}get isAllowNegative(){return null!=this.allowNegative}get isInteger(){return 0==this._decimals}ngOnInit(){super.ngOnInit()}onChange(H){this.change&&this.change.emit(H)}converteNumero(H){let k=H.target.value;k&&!isNaN(1*k)&&this.formControl.patchValue(1*(this.isInteger?parseInt(k):parseFloat(k)))}static#e=this.\u0275fac=function(k){return new(k||N)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:N,selectors:[["input-number"]],viewQuery:function(k,P){if(1&k&&i.Gf(a,5),2&k){let X;i.iGM(X=i.CRH())&&(P.inputElement=X.first)}},hostVars:2,hostBindings:function(k,P){2&k&&i.Tol(P.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",minValue:"minValue",maxValue:"maxValue",stepValue:"stepValue",prefix:"prefix",sufix:"sufix",form:"form",allowNegative:"allowNegative",source:"source",path:"path",required:"required",control:"control",currency:"currency",decimals:"decimals",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:6,vars:15,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","input-group-text",4,"ngIf"],["class","form-control text-end",3,"type","formControl","id","is-invalid","readonly","change","blur","keydown.enter",4,"ngIf"],["class","form-control text-end","thousandSeparator",".",3,"type","formControl","id","is-invalid","mask","dropSpecialCharacters","readonly","change","blur","keydown.enter",4,"ngIf"],[1,"input-group-text"],[1,"form-control","text-end",3,"type","formControl","id","readonly","change","blur","keydown.enter"],["inputElement",""],["thousandSeparator",".",1,"form-control","text-end",3,"type","formControl","id","mask","dropSpecialCharacters","readonly","change","blur","keydown.enter"]],template:function(k,P){1&k&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,y,2,1,"span",2),i.YNc(3,C,2,10,"input",3),i.YNc(4,b,2,12,"input",4),i.YNc(5,F,2,1,"span",2),i.qZA()()),2&k&&(i.Q6J("labelPosition",P.labelPosition)("labelClass",P.labelClass)("controlName",P.controlName)("required",P.required)("control",P.control)("loading",P.loading)("disabled",P.disabled)("label",P.label)("labelInfo",P.labelInfo)("icon",P.icon)("bold",P.bold),i.xp6(2),i.Q6J("ngIf",P.prefix),i.xp6(1),i.Q6J("ngIf",P.viewInit&&!P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.viewInit&&P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.sufix))},styles:["input[type=text][_ngcontent-%COMP%]:read-only, input[type=number][_ngcontent-%COMP%]:read-only, input[type=text][_ngcontent-%COMP%]:disabled, input[type=number][_ngcontent-%COMP%]:disabled{background-color:var(--bs-secondary-bg)}"]})}return N})()},8877:(lt,_e,m)=>{"use strict";m.d(_e,{f:()=>N});var i=m(2133),t=m(645),A=m(755);function a(x,H){if(1&x){const k=A.EpF();A.TgZ(0,"input",8),A.NdJ("change",function(X){A.CHM(k);const me=A.oxw(3);return A.KtG(me.onRadioChange(X))}),A.qZA()}if(2&x){const k=A.oxw().$implicit,P=A.oxw(2);A.Q6J("id",P.generatedId(P.controlName)+"_"+k.key)("disabled",P.disabled),A.uIk("name",P.generatedId(P.controlName))("value",k.key.toString())("checked",P.isChecked(k))}}function y(x,H){if(1&x&&A._UZ(0,"i"),2&x){const k=A.oxw().$implicit;A.Tol(k.icon)}}function C(x,H){if(1&x&&(A.ynx(0),A.YNc(1,a,1,5,"input",5),A.TgZ(2,"label",6),A.YNc(3,y,1,2,"i",7),A._uU(4),A.qZA(),A.BQk()),2&x){const k=H.$implicit,P=A.oxw(2);A.xp6(1),A.Q6J("ngIf",P.viewInit),A.xp6(1),A.ekj("label-input-invalid",P.isInvalid())("disabled",P.isDisabled),A.Q6J("title",k.hint),A.uIk("for",P.generatedId(P.controlName)+"_"+k.key)("data-bs-toggle",k.hint?"tooltip":void 0)("data-bs-placement",k.hint?"top":void 0),A.xp6(1),A.Q6J("ngIf",null==k.icon?null:k.icon.length),A.xp6(1),A.hij(" ",k.value," ")}}function b(x,H){if(1&x&&(A.TgZ(0,"div",3),A.YNc(1,C,5,11,"ng-container",4),A.qZA()),2&x){const k=A.oxw();A.xp6(1),A.Q6J("ngForOf",k.items)}}function F(x,H){if(1&x){const k=A.EpF();A.ynx(0),A.TgZ(1,"div",9)(2,"input",10),A.NdJ("change",function(X){A.CHM(k);const me=A.oxw(2);return A.KtG(me.onRadioChange(X))}),A.qZA(),A.TgZ(3,"label",11),A._uU(4),A.qZA()(),A.BQk()}if(2&x){const k=H.$implicit,P=A.oxw(2);A.xp6(1),A.ekj("form-check-inline",P.isInline),A.xp6(1),A.Q6J("id",P.generatedId(P.controlName)+"_"+k.key)("disabled",P.disabled),A.uIk("name",P.generatedId(P.controlName))("value",k.key.toString())("checked",P.isChecked(k)),A.xp6(1),A.uIk("for",P.generatedId(P.controlName)+"_"+k.key),A.xp6(1),A.Oqu(k.value)}}function j(x,H){if(1&x&&A.YNc(0,F,5,9,"ng-container",4),2&x){const k=A.oxw();A.Q6J("ngForOf",k.items)}}let N=(()=>{class x extends t.M{set value(k){if(k!=this._value){this._value=k,this.detectChanges();const P=document.getElementById(this.controlName+k);P&&(P.checked=!0)}}get value(){return this._value}set control(k){this._control=k}get control(){return this.getControl()}set size(k){this.setSize(k)}get size(){return this.getSize()}constructor(k){super(k),this.injector=k,this.class="form-group",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-toggle-on",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.items=[],this._value=""}ngOnInit(){super.ngOnInit()}onRadioChange(k){const P=k.target,X=this.items.find(me=>me.key.toString()==P.value);this.control?.setValue(X?.key),this.change&&this.change(X?.key)}isChecked(k){return this.value==k.key?"":void 0}get isCircle(){return null!=this.circle}get isInline(){return null!=this.inline}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.value=this.control.value,this.control.valueChanges.subscribe(k=>{this.value=k}))}static#e=this.\u0275fac=function(P){return new(P||x)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:x,selectors:[["input-radio"]],hostVars:2,hostBindings:function(P,X){2&P&&A.Tol(X.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",items:"items",form:"form",source:"source",path:"path",required:"required",circle:"circle",inline:"inline",change:"change",value:"value",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],decls:4,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold","isRadio"],["class","btn-group full-container-button-group","role","group",4,"ngIf","ngIfElse"],["inputCircle",""],["role","group",1,"btn-group","full-container-button-group"],[4,"ngFor","ngForOf"],["type","radio","class","btn-check","autocomplete","off",3,"id","disabled","change",4,"ngIf"],[1,"btn","petrvs","btn-outline-primary",3,"title"],[3,"class",4,"ngIf"],["type","radio","autocomplete","off",1,"btn-check",3,"id","disabled","change"],[1,"form-check"],["type","radio",1,"form-check-input",3,"id","disabled","change"],[1,"form-check-label"]],template:function(P,X){if(1&P&&(A.TgZ(0,"input-container",0),A.YNc(1,b,2,1,"div",1),A.YNc(2,j,1,1,"ng-template",null,2,A.W1O),A.qZA()),2&P){const me=A.MAs(3);A.Q6J("labelPosition",X.labelPosition)("labelClass",X.labelClass)("controlName",X.controlName)("required",X.required)("control",X.control)("loading",X.loading)("disabled",X.disabled)("label",X.label)("labelInfo",X.labelInfo)("icon",X.icon)("bold",X.bold)("isRadio",!0),A.xp6(1),A.Q6J("ngIf",!X.isCircle)("ngIfElse",me)}},styles:[".label-input-invalid[_ngcontent-%COMP%]{border-color:#dc3545}"]})}return x})()},52:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>y});var i=m(755),t=m(2133),A=m(645);function a(C,b){if(1&C){const F=i.EpF();i.TgZ(0,"i",3),i.NdJ("click",function(){const x=i.CHM(F).index,H=i.oxw();return i.KtG(H.onClick(x))}),i.qZA()}if(2&C){const F=b.index,j=i.oxw();i.Tol(j.startClass(F)),i.Udp("font-size",j.isSmall?.8:void 0,"rem"),i.Q6J("id",j.generatedId(j.controlName)+"_"+F),i.uIk("role",j.isDisabled?void 0:"button")}}let y=(()=>{class C extends A.M{set control(F){this._control=F}get control(){return this.getControl()}set max(F){this._max!=F&&(this._max=F,this.stars=Array(F).fill(!1),this.stars.map((j,N)=>this.stars[N]=Nthis.stars[N]=N{"use strict";m.d(_e,{V:()=>dg});var i={};m.r(i),m.d(i,{afterMain:()=>oe,afterRead:()=>V,afterWrite:()=>Ge,applyStyles:()=>nt,arrow:()=>Kn,auto:()=>j,basePlacements:()=>N,beforeMain:()=>J,beforeRead:()=>wt,beforeWrite:()=>ye,bottom:()=>C,clippingParents:()=>k,computeStyles:()=>Pi,createPopper:()=>Eo,createPopperBase:()=>To,createPopperLite:()=>Ra,detectOverflow:()=>mi,end:()=>H,eventListeners:()=>Dr,flip:()=>mn,hide:()=>Ae,left:()=>F,main:()=>ae,modifierPhases:()=>gt,offset:()=>Kt,placements:()=>Se,popper:()=>X,popperGenerator:()=>Nr,popperOffsets:()=>Tn,preventOverflow:()=>Ti,read:()=>K,reference:()=>me,right:()=>b,start:()=>x,top:()=>y,variationPlacements:()=>Oe,viewport:()=>P,write:()=>Ee});var t=m(8239),A=m(755),a=m(2133),y="top",C="bottom",b="right",F="left",j="auto",N=[y,C,b,F],x="start",H="end",k="clippingParents",P="viewport",X="popper",me="reference",Oe=N.reduce(function(Me,Z){return Me.concat([Z+"-"+x,Z+"-"+H])},[]),Se=[].concat(N,[j]).reduce(function(Me,Z){return Me.concat([Z,Z+"-"+x,Z+"-"+H])},[]),wt="beforeRead",K="read",V="afterRead",J="beforeMain",ae="main",oe="afterMain",ye="beforeWrite",Ee="write",Ge="afterWrite",gt=[wt,K,V,J,ae,oe,ye,Ee,Ge];function Ze(Me){return Me?(Me.nodeName||"").toLowerCase():null}function Je(Me){if(null==Me)return window;if("[object Window]"!==Me.toString()){var Z=Me.ownerDocument;return Z&&Z.defaultView||window}return Me}function tt(Me){return Me instanceof Je(Me).Element||Me instanceof Element}function Qe(Me){return Me instanceof Je(Me).HTMLElement||Me instanceof HTMLElement}function pt(Me){return!(typeof ShadowRoot>"u")&&(Me instanceof Je(Me).ShadowRoot||Me instanceof ShadowRoot)}const nt={name:"applyStyles",enabled:!0,phase:"write",fn:function Nt(Me){var Z=Me.state;Object.keys(Z.elements).forEach(function(le){var st=Z.styles[le]||{},At=Z.attributes[le]||{},fn=Z.elements[le];!Qe(fn)||!Ze(fn)||(Object.assign(fn.style,st),Object.keys(At).forEach(function(Mn){var Xn=At[Mn];!1===Xn?fn.removeAttribute(Mn):fn.setAttribute(Mn,!0===Xn?"":Xn)}))})},effect:function Jt(Me){var Z=Me.state,le={popper:{position:Z.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(Z.elements.popper.style,le.popper),Z.styles=le,Z.elements.arrow&&Object.assign(Z.elements.arrow.style,le.arrow),function(){Object.keys(Z.elements).forEach(function(st){var At=Z.elements[st],fn=Z.attributes[st]||{},Xn=Object.keys(Z.styles.hasOwnProperty(st)?Z.styles[st]:le[st]).reduce(function(Ai,nr){return Ai[nr]="",Ai},{});!Qe(At)||!Ze(At)||(Object.assign(At.style,Xn),Object.keys(fn).forEach(function(Ai){At.removeAttribute(Ai)}))})}},requires:["computeStyles"]};function ot(Me){return Me.split("-")[0]}var Ct=Math.max,He=Math.min,mt=Math.round;function vt(){var Me=navigator.userAgentData;return null!=Me&&Me.brands&&Array.isArray(Me.brands)?Me.brands.map(function(Z){return Z.brand+"/"+Z.version}).join(" "):navigator.userAgent}function hn(){return!/^((?!chrome|android).)*safari/i.test(vt())}function yt(Me,Z,le){void 0===Z&&(Z=!1),void 0===le&&(le=!1);var st=Me.getBoundingClientRect(),At=1,fn=1;Z&&Qe(Me)&&(At=Me.offsetWidth>0&&mt(st.width)/Me.offsetWidth||1,fn=Me.offsetHeight>0&&mt(st.height)/Me.offsetHeight||1);var Xn=(tt(Me)?Je(Me):window).visualViewport,Ai=!hn()&&le,nr=(st.left+(Ai&&Xn?Xn.offsetLeft:0))/At,Ni=(st.top+(Ai&&Xn?Xn.offsetTop:0))/fn,Os=st.width/At,Fs=st.height/fn;return{width:Os,height:Fs,top:Ni,right:nr+Os,bottom:Ni+Fs,left:nr,x:nr,y:Ni}}function Fn(Me){var Z=yt(Me),le=Me.offsetWidth,st=Me.offsetHeight;return Math.abs(Z.width-le)<=1&&(le=Z.width),Math.abs(Z.height-st)<=1&&(st=Z.height),{x:Me.offsetLeft,y:Me.offsetTop,width:le,height:st}}function xn(Me,Z){var le=Z.getRootNode&&Z.getRootNode();if(Me.contains(Z))return!0;if(le&&pt(le)){var st=Z;do{if(st&&Me.isSameNode(st))return!0;st=st.parentNode||st.host}while(st)}return!1}function In(Me){return Je(Me).getComputedStyle(Me)}function dn(Me){return["table","td","th"].indexOf(Ze(Me))>=0}function qn(Me){return((tt(Me)?Me.ownerDocument:Me.document)||window.document).documentElement}function di(Me){return"html"===Ze(Me)?Me:Me.assignedSlot||Me.parentNode||(pt(Me)?Me.host:null)||qn(Me)}function ir(Me){return Qe(Me)&&"fixed"!==In(Me).position?Me.offsetParent:null}function xi(Me){for(var Z=Je(Me),le=ir(Me);le&&dn(le)&&"static"===In(le).position;)le=ir(le);return le&&("html"===Ze(le)||"body"===Ze(le)&&"static"===In(le).position)?Z:le||function Bn(Me){var Z=/firefox/i.test(vt());if(/Trident/i.test(vt())&&Qe(Me)&&"fixed"===In(Me).position)return null;var At=di(Me);for(pt(At)&&(At=At.host);Qe(At)&&["html","body"].indexOf(Ze(At))<0;){var fn=In(At);if("none"!==fn.transform||"none"!==fn.perspective||"paint"===fn.contain||-1!==["transform","perspective"].indexOf(fn.willChange)||Z&&"filter"===fn.willChange||Z&&fn.filter&&"none"!==fn.filter)return At;At=At.parentNode}return null}(Me)||Z}function fi(Me){return["top","bottom"].indexOf(Me)>=0?"x":"y"}function Mt(Me,Z,le){return Ct(Me,He(Z,le))}function De(Me){return Object.assign({},{top:0,right:0,bottom:0,left:0},Me)}function xe(Me,Z){return Z.reduce(function(le,st){return le[st]=Me,le},{})}const Kn={name:"arrow",enabled:!0,phase:"main",fn:function xt(Me){var Z,le=Me.state,st=Me.name,At=Me.options,fn=le.elements.arrow,Mn=le.modifiersData.popperOffsets,Xn=ot(le.placement),Ai=fi(Xn),Ni=[F,b].indexOf(Xn)>=0?"height":"width";if(fn&&Mn){var Os=function(Z,le){return De("number"!=typeof(Z="function"==typeof Z?Z(Object.assign({},le.rects,{placement:le.placement})):Z)?Z:xe(Z,N))}(At.padding,le),Fs=Fn(fn),ys="y"===Ai?y:F,La="y"===Ai?C:b,qs=le.rects.reference[Ni]+le.rects.reference[Ai]-Mn[Ai]-le.rects.popper[Ni],Lo=Mn[Ai]-le.rects.reference[Ai],eo=xi(fn),ul=eo?"y"===Ai?eo.clientHeight||0:eo.clientWidth||0:0,ca=ul/2-Fs[Ni]/2+(qs/2-Lo/2),dl=Mt(Os[ys],ca,ul-Fs[Ni]-Os[La]);le.modifiersData[st]=((Z={})[Ai]=dl,Z.centerOffset=dl-ca,Z)}},effect:function cn(Me){var Z=Me.state,st=Me.options.element,At=void 0===st?"[data-popper-arrow]":st;null!=At&&("string"==typeof At&&!(At=Z.elements.popper.querySelector(At))||xn(Z.elements.popper,At)&&(Z.elements.arrow=At))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function An(Me){return Me.split("-")[1]}var gs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ki(Me){var Z,le=Me.popper,st=Me.popperRect,At=Me.placement,fn=Me.variation,Mn=Me.offsets,Xn=Me.position,Ai=Me.gpuAcceleration,nr=Me.adaptive,Ni=Me.roundOffsets,Os=Me.isFixed,Fs=Mn.x,ys=void 0===Fs?0:Fs,La=Mn.y,qs=void 0===La?0:La,Lo="function"==typeof Ni?Ni({x:ys,y:qs}):{x:ys,y:qs};ys=Lo.x,qs=Lo.y;var eo=Mn.hasOwnProperty("x"),ul=Mn.hasOwnProperty("y"),kl=F,bo=y,la=window;if(nr){var ca=xi(le),dl="clientHeight",ua="clientWidth";ca===Je(le)&&"static"!==In(ca=qn(le)).position&&"absolute"===Xn&&(dl="scrollHeight",ua="scrollWidth"),(At===y||(At===F||At===b)&&fn===H)&&(bo=C,qs-=(Os&&ca===la&&la.visualViewport?la.visualViewport.height:ca[dl])-st.height,qs*=Ai?1:-1),At!==F&&(At!==y&&At!==C||fn!==H)||(kl=b,ys-=(Os&&ca===la&&la.visualViewport?la.visualViewport.width:ca[ua])-st.width,ys*=Ai?1:-1)}var gc,tc=Object.assign({position:Xn},nr&&gs),Tc=!0===Ni?function Qt(Me,Z){var st=Me.y,At=Z.devicePixelRatio||1;return{x:mt(Me.x*At)/At||0,y:mt(st*At)/At||0}}({x:ys,y:qs},Je(le)):{x:ys,y:qs};return ys=Tc.x,qs=Tc.y,Object.assign({},tc,Ai?((gc={})[bo]=ul?"0":"",gc[kl]=eo?"0":"",gc.transform=(la.devicePixelRatio||1)<=1?"translate("+ys+"px, "+qs+"px)":"translate3d("+ys+"px, "+qs+"px, 0)",gc):((Z={})[bo]=ul?qs+"px":"",Z[kl]=eo?ys+"px":"",Z.transform="",Z))}const Pi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function ta(Me){var Z=Me.state,le=Me.options,st=le.gpuAcceleration,At=void 0===st||st,fn=le.adaptive,Mn=void 0===fn||fn,Xn=le.roundOffsets,Ai=void 0===Xn||Xn,nr={placement:ot(Z.placement),variation:An(Z.placement),popper:Z.elements.popper,popperRect:Z.rects.popper,gpuAcceleration:At,isFixed:"fixed"===Z.options.strategy};null!=Z.modifiersData.popperOffsets&&(Z.styles.popper=Object.assign({},Z.styles.popper,ki(Object.assign({},nr,{offsets:Z.modifiersData.popperOffsets,position:Z.options.strategy,adaptive:Mn,roundOffsets:Ai})))),null!=Z.modifiersData.arrow&&(Z.styles.arrow=Object.assign({},Z.styles.arrow,ki(Object.assign({},nr,{offsets:Z.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Ai})))),Z.attributes.popper=Object.assign({},Z.attributes.popper,{"data-popper-placement":Z.placement})},data:{}};var co={passive:!0};const Dr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Or(Me){var Z=Me.state,le=Me.instance,st=Me.options,At=st.scroll,fn=void 0===At||At,Mn=st.resize,Xn=void 0===Mn||Mn,Ai=Je(Z.elements.popper),nr=[].concat(Z.scrollParents.reference,Z.scrollParents.popper);return fn&&nr.forEach(function(Ni){Ni.addEventListener("scroll",le.update,co)}),Xn&&Ai.addEventListener("resize",le.update,co),function(){fn&&nr.forEach(function(Ni){Ni.removeEventListener("scroll",le.update,co)}),Xn&&Ai.removeEventListener("resize",le.update,co)}},data:{}};var bs={left:"right",right:"left",bottom:"top",top:"bottom"};function Do(Me){return Me.replace(/left|right|bottom|top/g,function(Z){return bs[Z]})}var Ms={start:"end",end:"start"};function Ls(Me){return Me.replace(/start|end/g,function(Z){return Ms[Z]})}function On(Me){var Z=Je(Me);return{scrollLeft:Z.pageXOffset,scrollTop:Z.pageYOffset}}function mr(Me){return yt(qn(Me)).left+On(Me).scrollLeft}function Yt(Me){var Z=In(Me);return/auto|scroll|overlay|hidden/.test(Z.overflow+Z.overflowY+Z.overflowX)}function li(Me){return["html","body","#document"].indexOf(Ze(Me))>=0?Me.ownerDocument.body:Qe(Me)&&Yt(Me)?Me:li(di(Me))}function Qr(Me,Z){var le;void 0===Z&&(Z=[]);var st=li(Me),At=st===(null==(le=Me.ownerDocument)?void 0:le.body),fn=Je(st),Mn=At?[fn].concat(fn.visualViewport||[],Yt(st)?st:[]):st,Xn=Z.concat(Mn);return At?Xn:Xn.concat(Qr(di(Mn)))}function Sr(Me){return Object.assign({},Me,{left:Me.x,top:Me.y,right:Me.x+Me.width,bottom:Me.y+Me.height})}function sn(Me,Z,le){return Z===P?Sr(function Pt(Me,Z){var le=Je(Me),st=qn(Me),At=le.visualViewport,fn=st.clientWidth,Mn=st.clientHeight,Xn=0,Ai=0;if(At){fn=At.width,Mn=At.height;var nr=hn();(nr||!nr&&"fixed"===Z)&&(Xn=At.offsetLeft,Ai=At.offsetTop)}return{width:fn,height:Mn,x:Xn+mr(Me),y:Ai}}(Me,le)):tt(Z)?function Pn(Me,Z){var le=yt(Me,!1,"fixed"===Z);return le.top=le.top+Me.clientTop,le.left=le.left+Me.clientLeft,le.bottom=le.top+Me.clientHeight,le.right=le.left+Me.clientWidth,le.width=Me.clientWidth,le.height=Me.clientHeight,le.x=le.left,le.y=le.top,le}(Z,le):Sr(function ln(Me){var Z,le=qn(Me),st=On(Me),At=null==(Z=Me.ownerDocument)?void 0:Z.body,fn=Ct(le.scrollWidth,le.clientWidth,At?At.scrollWidth:0,At?At.clientWidth:0),Mn=Ct(le.scrollHeight,le.clientHeight,At?At.scrollHeight:0,At?At.clientHeight:0),Xn=-st.scrollLeft+mr(Me),Ai=-st.scrollTop;return"rtl"===In(At||le).direction&&(Xn+=Ct(le.clientWidth,At?At.clientWidth:0)-fn),{width:fn,height:Mn,x:Xn,y:Ai}}(qn(Me)))}function bn(Me){var Ai,Z=Me.reference,le=Me.element,st=Me.placement,At=st?ot(st):null,fn=st?An(st):null,Mn=Z.x+Z.width/2-le.width/2,Xn=Z.y+Z.height/2-le.height/2;switch(At){case y:Ai={x:Mn,y:Z.y-le.height};break;case C:Ai={x:Mn,y:Z.y+Z.height};break;case b:Ai={x:Z.x+Z.width,y:Xn};break;case F:Ai={x:Z.x-le.width,y:Xn};break;default:Ai={x:Z.x,y:Z.y}}var nr=At?fi(At):null;if(null!=nr){var Ni="y"===nr?"height":"width";switch(fn){case x:Ai[nr]=Ai[nr]-(Z[Ni]/2-le[Ni]/2);break;case H:Ai[nr]=Ai[nr]+(Z[Ni]/2-le[Ni]/2)}}return Ai}function mi(Me,Z){void 0===Z&&(Z={});var st=Z.placement,At=void 0===st?Me.placement:st,fn=Z.strategy,Mn=void 0===fn?Me.strategy:fn,Xn=Z.boundary,Ai=void 0===Xn?k:Xn,nr=Z.rootBoundary,Ni=void 0===nr?P:nr,Os=Z.elementContext,Fs=void 0===Os?X:Os,ys=Z.altBoundary,La=void 0!==ys&&ys,qs=Z.padding,Lo=void 0===qs?0:qs,eo=De("number"!=typeof Lo?Lo:xe(Lo,N)),kl=Me.rects.popper,bo=Me.elements[La?Fs===X?me:X:Fs],la=function Bt(Me,Z,le,st){var At="clippingParents"===Z?function Rt(Me){var Z=Qr(di(Me)),st=["absolute","fixed"].indexOf(In(Me).position)>=0&&Qe(Me)?xi(Me):Me;return tt(st)?Z.filter(function(At){return tt(At)&&xn(At,st)&&"body"!==Ze(At)}):[]}(Me):[].concat(Z),fn=[].concat(At,[le]),Xn=fn.reduce(function(Ai,nr){var Ni=sn(Me,nr,st);return Ai.top=Ct(Ni.top,Ai.top),Ai.right=He(Ni.right,Ai.right),Ai.bottom=He(Ni.bottom,Ai.bottom),Ai.left=Ct(Ni.left,Ai.left),Ai},sn(Me,fn[0],st));return Xn.width=Xn.right-Xn.left,Xn.height=Xn.bottom-Xn.top,Xn.x=Xn.left,Xn.y=Xn.top,Xn}(tt(bo)?bo:bo.contextElement||qn(Me.elements.popper),Ai,Ni,Mn),ca=yt(Me.elements.reference),dl=bn({reference:ca,element:kl,strategy:"absolute",placement:At}),ua=Sr(Object.assign({},kl,dl)),ec=Fs===X?ua:ca,Zl={top:la.top-ec.top+eo.top,bottom:ec.bottom-la.bottom+eo.bottom,left:la.left-ec.left+eo.left,right:ec.right-la.right+eo.right},tc=Me.modifiersData.offset;if(Fs===X&&tc){var Tc=tc[At];Object.keys(Zl).forEach(function(gc){var pc=[b,C].indexOf(gc)>=0?1:-1,oc=[y,C].indexOf(gc)>=0?"y":"x";Zl[gc]+=Tc[oc]*pc})}return Zl}const mn={name:"flip",enabled:!0,phase:"main",fn:function Ur(Me){var Z=Me.state,le=Me.options,st=Me.name;if(!Z.modifiersData[st]._skip){for(var At=le.mainAxis,fn=void 0===At||At,Mn=le.altAxis,Xn=void 0===Mn||Mn,Ai=le.fallbackPlacements,nr=le.padding,Ni=le.boundary,Os=le.rootBoundary,Fs=le.altBoundary,ys=le.flipVariations,La=void 0===ys||ys,qs=le.allowedAutoPlacements,Lo=Z.options.placement,eo=ot(Lo),kl=Ai||(eo!==Lo&&La?function Ri(Me){if(ot(Me)===j)return[];var Z=Do(Me);return[Ls(Me),Z,Ls(Z)]}(Lo):[Do(Lo)]),bo=[Lo].concat(kl).reduce(function(Ju,pu){return Ju.concat(ot(pu)===j?function rr(Me,Z){void 0===Z&&(Z={});var At=Z.boundary,fn=Z.rootBoundary,Mn=Z.padding,Xn=Z.flipVariations,Ai=Z.allowedAutoPlacements,nr=void 0===Ai?Se:Ai,Ni=An(Z.placement),Os=Ni?Xn?Oe:Oe.filter(function(La){return An(La)===Ni}):N,Fs=Os.filter(function(La){return nr.indexOf(La)>=0});0===Fs.length&&(Fs=Os);var ys=Fs.reduce(function(La,qs){return La[qs]=mi(Me,{placement:qs,boundary:At,rootBoundary:fn,padding:Mn})[ot(qs)],La},{});return Object.keys(ys).sort(function(La,qs){return ys[La]-ys[qs]})}(Z,{placement:pu,boundary:Ni,rootBoundary:Os,padding:nr,flipVariations:La,allowedAutoPlacements:qs}):pu)},[]),la=Z.rects.reference,ca=Z.rects.popper,dl=new Map,ua=!0,ec=bo[0],Zl=0;Zl=0,oc=pc?"width":"height",mc=mi(Z,{placement:tc,boundary:Ni,rootBoundary:Os,altBoundary:Fs,padding:nr}),Yc=pc?gc?b:F:gc?C:y;la[oc]>ca[oc]&&(Yc=Do(Yc));var Gu=Do(Yc),$u=[];if(fn&&$u.push(mc[Tc]<=0),Xn&&$u.push(mc[Yc]<=0,mc[Gu]<=0),$u.every(function(Ju){return Ju})){ec=tc,ua=!1;break}dl.set(tc,$u)}if(ua)for(var jd=function(pu){var Mu=bo.find(function(_d){var mu=dl.get(_d);if(mu)return mu.slice(0,pu).every(function(pf){return pf})});if(Mu)return ec=Mu,"break"},zd=La?3:1;zd>0&&"break"!==jd(zd);zd--);Z.placement!==ec&&(Z.modifiersData[st]._skip=!0,Z.placement=ec,Z.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Xe(Me,Z,le){return void 0===le&&(le={x:0,y:0}),{top:Me.top-Z.height-le.y,right:Me.right-Z.width+le.x,bottom:Me.bottom-Z.height+le.y,left:Me.left-Z.width-le.x}}function ke(Me){return[y,b,C,F].some(function(Z){return Me[Z]>=0})}const Ae={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function ge(Me){var Z=Me.state,le=Me.name,st=Z.rects.reference,At=Z.rects.popper,fn=Z.modifiersData.preventOverflow,Mn=mi(Z,{elementContext:"reference"}),Xn=mi(Z,{altBoundary:!0}),Ai=Xe(Mn,st),nr=Xe(Xn,At,fn),Ni=ke(Ai),Os=ke(nr);Z.modifiersData[le]={referenceClippingOffsets:Ai,popperEscapeOffsets:nr,isReferenceHidden:Ni,hasPopperEscaped:Os},Z.attributes.popper=Object.assign({},Z.attributes.popper,{"data-popper-reference-hidden":Ni,"data-popper-escaped":Os})}},Kt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Ht(Me){var Z=Me.state,st=Me.name,At=Me.options.offset,fn=void 0===At?[0,0]:At,Mn=Se.reduce(function(Ni,Os){return Ni[Os]=function it(Me,Z,le){var st=ot(Me),At=[F,y].indexOf(st)>=0?-1:1,fn="function"==typeof le?le(Object.assign({},Z,{placement:Me})):le,Mn=fn[0],Xn=fn[1];return Mn=Mn||0,Xn=(Xn||0)*At,[F,b].indexOf(st)>=0?{x:Xn,y:Mn}:{x:Mn,y:Xn}}(Os,Z.rects,fn),Ni},{}),Xn=Mn[Z.placement],nr=Xn.y;null!=Z.modifiersData.popperOffsets&&(Z.modifiersData.popperOffsets.x+=Xn.x,Z.modifiersData.popperOffsets.y+=nr),Z.modifiersData[st]=Mn}},Tn={name:"popperOffsets",enabled:!0,phase:"read",fn:function yn(Me){var Z=Me.state;Z.modifiersData[Me.name]=bn({reference:Z.rects.reference,element:Z.rects.popper,strategy:"absolute",placement:Z.placement})},data:{}},Ti={name:"preventOverflow",enabled:!0,phase:"main",fn:function nn(Me){var Z=Me.state,le=Me.options,st=Me.name,At=le.mainAxis,fn=void 0===At||At,Mn=le.altAxis,Xn=void 0!==Mn&&Mn,Fs=le.tether,ys=void 0===Fs||Fs,La=le.tetherOffset,qs=void 0===La?0:La,Lo=mi(Z,{boundary:le.boundary,rootBoundary:le.rootBoundary,padding:le.padding,altBoundary:le.altBoundary}),eo=ot(Z.placement),ul=An(Z.placement),kl=!ul,bo=fi(eo),la=function pi(Me){return"x"===Me?"y":"x"}(bo),ca=Z.modifiersData.popperOffsets,dl=Z.rects.reference,ua=Z.rects.popper,ec="function"==typeof qs?qs(Object.assign({},Z.rects,{placement:Z.placement})):qs,Zl="number"==typeof ec?{mainAxis:ec,altAxis:ec}:Object.assign({mainAxis:0,altAxis:0},ec),tc=Z.modifiersData.offset?Z.modifiersData.offset[Z.placement]:null,Tc={x:0,y:0};if(ca){if(fn){var gc,pc="y"===bo?y:F,oc="y"===bo?C:b,mc="y"===bo?"height":"width",Yc=ca[bo],Gu=Yc+Lo[pc],$u=Yc-Lo[oc],bh=ys?-ua[mc]/2:0,jd=ul===x?dl[mc]:ua[mc],zd=ul===x?-ua[mc]:-dl[mc],Ku=Z.elements.arrow,Ju=ys&&Ku?Fn(Ku):{width:0,height:0},pu=Z.modifiersData["arrow#persistent"]?Z.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Mu=pu[pc],_d=pu[oc],mu=Mt(0,dl[mc],Ju[mc]),pf=kl?dl[mc]/2-bh-mu-Mu-Zl.mainAxis:jd-mu-Mu-Zl.mainAxis,hg=kl?-dl[mc]/2+bh+mu+_d+Zl.mainAxis:zd+mu+_d+Zl.mainAxis,Vd=Z.elements.arrow&&xi(Z.elements.arrow),Cd=Vd?"y"===bo?Vd.clientTop||0:Vd.clientLeft||0:0,Du=null!=(gc=tc?.[bo])?gc:0,Wd=Yc+hg-Du,_f=Mt(ys?He(Gu,Yc+pf-Du-Cd):Gu,Yc,ys?Ct($u,Wd):$u);ca[bo]=_f,Tc[bo]=_f-Yc}if(Xn){var gp,Vc=ca[la],uu="y"===la?"height":"width",Xu=Vc+Lo["x"===bo?y:F],vd=Vc-Lo["x"===bo?C:b],Ad=-1!==[y,F].indexOf(eo),Wc=null!=(gp=tc?.[la])?gp:0,Id=Ad?Xu:Vc-dl[uu]-ua[uu]-Wc+Zl.altAxis,Zd=Ad?Vc+dl[uu]+ua[uu]-Wc-Zl.altAxis:vd,du=ys&&Ad?function Ot(Me,Z,le){var st=Mt(Me,Z,le);return st>le?le:st}(Id,Vc,Zd):Mt(ys?Id:Xu,Vc,ys?Zd:vd);ca[la]=du,Tc[la]=du-Vc}Z.modifiersData[st]=Tc}},requiresIfExists:["offset"]};function wr(Me,Z,le){void 0===le&&(le=!1);var st=Qe(Z),At=Qe(Z)&&function ss(Me){var Z=Me.getBoundingClientRect(),le=mt(Z.width)/Me.offsetWidth||1,st=mt(Z.height)/Me.offsetHeight||1;return 1!==le||1!==st}(Z),fn=qn(Z),Mn=yt(Me,At,le),Xn={scrollLeft:0,scrollTop:0},Ai={x:0,y:0};return(st||!st&&!le)&&(("body"!==Ze(Z)||Yt(fn))&&(Xn=function Hr(Me){return Me!==Je(Me)&&Qe(Me)?function yi(Me){return{scrollLeft:Me.scrollLeft,scrollTop:Me.scrollTop}}(Me):On(Me)}(Z)),Qe(Z)?((Ai=yt(Z,!0)).x+=Z.clientLeft,Ai.y+=Z.clientTop):fn&&(Ai.x=mr(fn))),{x:Mn.left+Xn.scrollLeft-Ai.x,y:Mn.top+Xn.scrollTop-Ai.y,width:Mn.width,height:Mn.height}}function Ki(Me){var Z=new Map,le=new Set,st=[];function At(fn){le.add(fn.name),[].concat(fn.requires||[],fn.requiresIfExists||[]).forEach(function(Xn){if(!le.has(Xn)){var Ai=Z.get(Xn);Ai&&At(Ai)}}),st.push(fn)}return Me.forEach(function(fn){Z.set(fn.name,fn)}),Me.forEach(function(fn){le.has(fn.name)||At(fn)}),st}function jr(Me){var Z;return function(){return Z||(Z=new Promise(function(le){Promise.resolve().then(function(){Z=void 0,le(Me())})})),Z}}var Co={placement:"bottom",modifiers:[],strategy:"absolute"};function ns(){for(var Me=arguments.length,Z=new Array(Me),le=0;lePs.has(Me)&&Ps.get(Me).get(Z)||null,remove(Me,Z){if(!Ps.has(Me))return;const le=Ps.get(Me);le.delete(Z),0===le.size&&Ps.delete(Me)}},dt="transitionend",Tt=Me=>(Me&&window.CSS&&window.CSS.escape&&(Me=Me.replace(/#([^\s"#']+)/g,(Z,le)=>`#${CSS.escape(le)}`)),Me),Gi=Me=>{Me.dispatchEvent(new Event(dt))},_r=Me=>!(!Me||"object"!=typeof Me)&&(typeof Me.jquery<"u"&&(Me=Me[0]),typeof Me.nodeType<"u"),us=Me=>_r(Me)?Me.jquery?Me[0]:Me:"string"==typeof Me&&Me.length>0?document.querySelector(Tt(Me)):null,So=Me=>{if(!_r(Me)||0===Me.getClientRects().length)return!1;const Z="visible"===getComputedStyle(Me).getPropertyValue("visibility"),le=Me.closest("details:not([open])");if(!le)return Z;if(le!==Me){const st=Me.closest("summary");if(st&&st.parentNode!==le||null===st)return!1}return Z},Fo=Me=>!(Me&&Me.nodeType===Node.ELEMENT_NODE&&!Me.classList.contains("disabled"))||(typeof Me.disabled<"u"?Me.disabled:Me.hasAttribute("disabled")&&"false"!==Me.getAttribute("disabled")),Ks=Me=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof Me.getRootNode){const Z=Me.getRootNode();return Z instanceof ShadowRoot?Z:null}return Me instanceof ShadowRoot?Me:Me.parentNode?Ks(Me.parentNode):null},na=()=>{},ko=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,da=[],er=()=>"rtl"===document.documentElement.dir,Cr=Me=>{(Me=>{"loading"===document.readyState?(da.length||document.addEventListener("DOMContentLoaded",()=>{for(const Z of da)Z()}),da.push(Me)):Me()})(()=>{const Z=ko();if(Z){const le=Me.NAME,st=Z.fn[le];Z.fn[le]=Me.jQueryInterface,Z.fn[le].Constructor=Me,Z.fn[le].noConflict=()=>(Z.fn[le]=st,Me.jQueryInterface)}})},Ss=(Me,Z=[],le=Me)=>"function"==typeof Me?Me(...Z):le,br=(Me,Z,le=!0)=>{if(!le)return void Ss(Me);const At=(Me=>{if(!Me)return 0;let{transitionDuration:Z,transitionDelay:le}=window.getComputedStyle(Me);const st=Number.parseFloat(Z),At=Number.parseFloat(le);return st||At?(Z=Z.split(",")[0],le=le.split(",")[0],1e3*(Number.parseFloat(Z)+Number.parseFloat(le))):0})(Z)+5;let fn=!1;const Mn=({target:Xn})=>{Xn===Z&&(fn=!0,Z.removeEventListener(dt,Mn),Ss(Me))};Z.addEventListener(dt,Mn),setTimeout(()=>{fn||Gi(Z)},At)},ds=(Me,Z,le,st)=>{const At=Me.length;let fn=Me.indexOf(Z);return-1===fn?!le&&st?Me[At-1]:Me[0]:(fn+=le?1:-1,st&&(fn=(fn+At)%At),Me[Math.max(0,Math.min(fn,At-1))])},Yo=/[^.]*(?=\..*)\.|.*/,gl=/\..*/,ha=/::\d+$/,as={};let Na=1;const Ma={mouseenter:"mouseover",mouseleave:"mouseout"},Fi=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function _i(Me,Z){return Z&&`${Z}::${Na++}`||Me.uidEvent||Na++}function dr(Me){const Z=_i(Me);return Me.uidEvent=Z,as[Z]=as[Z]||{},as[Z]}function Ho(Me,Z,le=null){return Object.values(Me).find(st=>st.callable===Z&&st.delegationSelector===le)}function no(Me,Z,le){const st="string"==typeof Z,At=st?le:Z||le;let fn=Ko(Me);return Fi.has(fn)||(fn=Me),[st,At,fn]}function Vr(Me,Z,le,st,At){if("string"!=typeof Z||!Me)return;let[fn,Mn,Xn]=no(Z,le,st);var La;Z in Ma&&(La=Mn,Mn=function(qs){if(!qs.relatedTarget||qs.relatedTarget!==qs.delegateTarget&&!qs.delegateTarget.contains(qs.relatedTarget))return La.call(this,qs)});const Ai=dr(Me),nr=Ai[Xn]||(Ai[Xn]={}),Ni=Ho(nr,Mn,fn?le:null);if(Ni)return void(Ni.oneOff=Ni.oneOff&&At);const Os=_i(Mn,Z.replace(Yo,"")),Fs=fn?function Fr(Me,Z,le){return function st(At){const fn=Me.querySelectorAll(Z);for(let{target:Mn}=At;Mn&&Mn!==this;Mn=Mn.parentNode)for(const Xn of fn)if(Xn===Mn)return Mo(At,{delegateTarget:Mn}),st.oneOff&&Rn.off(Me,At.type,Z,le),le.apply(Mn,[At])}}(Me,le,Mn):function $r(Me,Z){return function le(st){return Mo(st,{delegateTarget:Me}),le.oneOff&&Rn.off(Me,st.type,Z),Z.apply(Me,[st])}}(Me,Mn);Fs.delegationSelector=fn?le:null,Fs.callable=Mn,Fs.oneOff=At,Fs.uidEvent=Os,nr[Os]=Fs,Me.addEventListener(Xn,Fs,fn)}function os(Me,Z,le,st,At){const fn=Ho(Z[le],st,At);fn&&(Me.removeEventListener(le,fn,!!At),delete Z[le][fn.uidEvent])}function $o(Me,Z,le,st){const At=Z[le]||{};for(const[fn,Mn]of Object.entries(At))fn.includes(st)&&os(Me,Z,le,Mn.callable,Mn.delegationSelector)}function Ko(Me){return Me=Me.replace(gl,""),Ma[Me]||Me}const Rn={on(Me,Z,le,st){Vr(Me,Z,le,st,!1)},one(Me,Z,le,st){Vr(Me,Z,le,st,!0)},off(Me,Z,le,st){if("string"!=typeof Z||!Me)return;const[At,fn,Mn]=no(Z,le,st),Xn=Mn!==Z,Ai=dr(Me),nr=Ai[Mn]||{},Ni=Z.startsWith(".");if(typeof fn<"u"){if(!Object.keys(nr).length)return;os(Me,Ai,Mn,fn,At?le:null)}else{if(Ni)for(const Os of Object.keys(Ai))$o(Me,Ai,Os,Z.slice(1));for(const[Os,Fs]of Object.entries(nr)){const ys=Os.replace(ha,"");(!Xn||Z.includes(ys))&&os(Me,Ai,Mn,Fs.callable,Fs.delegationSelector)}}},trigger(Me,Z,le){if("string"!=typeof Z||!Me)return null;const st=ko();let Mn=null,Xn=!0,Ai=!0,nr=!1;Z!==Ko(Z)&&st&&(Mn=st.Event(Z,le),st(Me).trigger(Mn),Xn=!Mn.isPropagationStopped(),Ai=!Mn.isImmediatePropagationStopped(),nr=Mn.isDefaultPrevented());const Ni=Mo(new Event(Z,{bubbles:Xn,cancelable:!0}),le);return nr&&Ni.preventDefault(),Ai&&Me.dispatchEvent(Ni),Ni.defaultPrevented&&Mn&&Mn.preventDefault(),Ni}};function Mo(Me,Z={}){for(const[le,st]of Object.entries(Z))try{Me[le]=st}catch{Object.defineProperty(Me,le,{configurable:!0,get:()=>st})}return Me}function Aa(Me){if("true"===Me)return!0;if("false"===Me)return!1;if(Me===Number(Me).toString())return Number(Me);if(""===Me||"null"===Me)return null;if("string"!=typeof Me)return Me;try{return JSON.parse(decodeURIComponent(Me))}catch{return Me}}function Xr(Me){return Me.replace(/[A-Z]/g,Z=>`-${Z.toLowerCase()}`)}const gr={setDataAttribute(Me,Z,le){Me.setAttribute(`data-bs-${Xr(Z)}`,le)},removeDataAttribute(Me,Z){Me.removeAttribute(`data-bs-${Xr(Z)}`)},getDataAttributes(Me){if(!Me)return{};const Z={},le=Object.keys(Me.dataset).filter(st=>st.startsWith("bs")&&!st.startsWith("bsConfig"));for(const st of le){let At=st.replace(/^bs/,"");At=At.charAt(0).toLowerCase()+At.slice(1,At.length),Z[At]=Aa(Me.dataset[st])}return Z},getDataAttribute:(Me,Z)=>Aa(Me.getAttribute(`data-bs-${Xr(Z)}`))};class Us{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(Z){return Z=this._mergeConfigObj(Z),Z=this._configAfterMerge(Z),this._typeCheckConfig(Z),Z}_configAfterMerge(Z){return Z}_mergeConfigObj(Z,le){const st=_r(le)?gr.getDataAttribute(le,"config"):{};return{...this.constructor.Default,..."object"==typeof st?st:{},..._r(le)?gr.getDataAttributes(le):{},..."object"==typeof Z?Z:{}}}_typeCheckConfig(Z,le=this.constructor.DefaultType){for(const[st,At]of Object.entries(le)){const fn=Z[st],Mn=_r(fn)?"element":null==(Me=fn)?`${Me}`:Object.prototype.toString.call(Me).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(At).test(Mn))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${st}" provided type "${Mn}" but expected type "${At}".`)}var Me}}class Mr extends Us{constructor(Z,le){super(),(Z=us(Z))&&(this._element=Z,this._config=this._getConfig(le),Ds.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ds.remove(this._element,this.constructor.DATA_KEY),Rn.off(this._element,this.constructor.EVENT_KEY);for(const Z of Object.getOwnPropertyNames(this))this[Z]=null}_queueCallback(Z,le,st=!0){br(Z,le,st)}_getConfig(Z){return Z=this._mergeConfigObj(Z,this._element),Z=this._configAfterMerge(Z),this._typeCheckConfig(Z),Z}static getInstance(Z){return Ds.get(us(Z),this.DATA_KEY)}static getOrCreateInstance(Z,le={}){return this.getInstance(Z)||new this(Z,"object"==typeof le?le:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(Z){return`${Z}${this.EVENT_KEY}`}}const Zr=Me=>{let Z=Me.getAttribute("data-bs-target");if(!Z||"#"===Z){let le=Me.getAttribute("href");if(!le||!le.includes("#")&&!le.startsWith("."))return null;le.includes("#")&&!le.startsWith("#")&&(le=`#${le.split("#")[1]}`),Z=le&&"#"!==le?le.trim():null}return Z?Z.split(",").map(le=>Tt(le)).join(","):null},Ji={find:(Me,Z=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(Z,Me)),findOne:(Me,Z=document.documentElement)=>Element.prototype.querySelector.call(Z,Me),children:(Me,Z)=>[].concat(...Me.children).filter(le=>le.matches(Z)),parents(Me,Z){const le=[];let st=Me.parentNode.closest(Z);for(;st;)le.push(st),st=st.parentNode.closest(Z);return le},prev(Me,Z){let le=Me.previousElementSibling;for(;le;){if(le.matches(Z))return[le];le=le.previousElementSibling}return[]},next(Me,Z){let le=Me.nextElementSibling;for(;le;){if(le.matches(Z))return[le];le=le.nextElementSibling}return[]},focusableChildren(Me){const Z=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(le=>`${le}:not([tabindex^="-"])`).join(",");return this.find(Z,Me).filter(le=>!Fo(le)&&So(le))},getSelectorFromElement(Me){const Z=Zr(Me);return Z&&Ji.findOne(Z)?Z:null},getElementFromSelector(Me){const Z=Zr(Me);return Z?Ji.findOne(Z):null},getMultipleElementsFromSelector(Me){const Z=Zr(Me);return Z?Ji.find(Z):[]}},uo=(Me,Z="hide")=>{const st=Me.NAME;Rn.on(document,`click.dismiss${Me.EVENT_KEY}`,`[data-bs-dismiss="${st}"]`,function(At){if(["A","AREA"].includes(this.tagName)&&At.preventDefault(),Fo(this))return;const fn=Ji.getElementFromSelector(this)||this.closest(`.${st}`);Me.getOrCreateInstance(fn)[Z]()})},Ia=".bs.alert",xr=`close${Ia}`,fa=`closed${Ia}`;class io extends Mr{static get NAME(){return"alert"}close(){if(Rn.trigger(this._element,xr).defaultPrevented)return;this._element.classList.remove("show");const le=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,le)}_destroyElement(){this._element.remove(),Rn.trigger(this._element,fa),this.dispose()}static jQueryInterface(Z){return this.each(function(){const le=io.getOrCreateInstance(this);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z](this)}})}}uo(io,"close"),Cr(io);const Lr='[data-bs-toggle="button"]';class Hs extends Mr{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(Z){return this.each(function(){const le=Hs.getOrCreateInstance(this);"toggle"===Z&&le[Z]()})}}Rn.on(document,"click.bs.button.data-api",Lr,Me=>{Me.preventDefault();const Z=Me.target.closest(Lr);Hs.getOrCreateInstance(Z).toggle()}),Cr(Hs);const Za=".bs.swipe",jo=`touchstart${Za}`,Sa=`touchmove${Za}`,nl=`touchend${Za}`,ia=`pointerdown${Za}`,lc=`pointerup${Za}`,il={endCallback:null,leftCallback:null,rightCallback:null},As={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class _l extends Us{constructor(Z,le){super(),this._element=Z,Z&&_l.isSupported()&&(this._config=this._getConfig(le),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return il}static get DefaultType(){return As}static get NAME(){return"swipe"}dispose(){Rn.off(this._element,Za)}_start(Z){this._supportPointerEvents?this._eventIsPointerPenTouch(Z)&&(this._deltaX=Z.clientX):this._deltaX=Z.touches[0].clientX}_end(Z){this._eventIsPointerPenTouch(Z)&&(this._deltaX=Z.clientX-this._deltaX),this._handleSwipe(),Ss(this._config.endCallback)}_move(Z){this._deltaX=Z.touches&&Z.touches.length>1?0:Z.touches[0].clientX-this._deltaX}_handleSwipe(){const Z=Math.abs(this._deltaX);if(Z<=40)return;const le=Z/this._deltaX;this._deltaX=0,le&&Ss(le>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Rn.on(this._element,ia,Z=>this._start(Z)),Rn.on(this._element,lc,Z=>this._end(Z)),this._element.classList.add("pointer-event")):(Rn.on(this._element,jo,Z=>this._start(Z)),Rn.on(this._element,Sa,Z=>this._move(Z)),Rn.on(this._element,nl,Z=>this._end(Z)))}_eventIsPointerPenTouch(Z){return this._supportPointerEvents&&("pen"===Z.pointerType||"touch"===Z.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ze=".bs.carousel",Ce=".data-api",lr="next",ro="prev",Xs="left",Jo="right",Qo=`slide${ze}`,ga=`slid${ze}`,Ts=`keydown${ze}`,rl=`mouseenter${ze}`,kc=`mouseleave${ze}`,Cs=`dragstart${ze}`,Rl=`load${ze}${Ce}`,pa=`click${ze}${Ce}`,ba="carousel",Jl="active",ra=".active",ai=".carousel-item",Nl=ra+ai,Ao={ArrowLeft:Jo,ArrowRight:Xs},Lc={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ol={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Xo extends Mr{constructor(Z,le){super(Z,le),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ji.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ba&&this.cycle()}static get Default(){return Lc}static get DefaultType(){return ol}static get NAME(){return"carousel"}next(){this._slide(lr)}nextWhenVisible(){!document.hidden&&So(this._element)&&this.next()}prev(){this._slide(ro)}pause(){this._isSliding&&Gi(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding)return void Rn.one(this._element,ga,()=>this.cycle());this.cycle()}}to(Z){const le=this._getItems();if(Z>le.length-1||Z<0)return;if(this._isSliding)return void Rn.one(this._element,ga,()=>this.to(Z));const st=this._getItemIndex(this._getActive());st!==Z&&this._slide(Z>st?lr:ro,le[Z])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(Z){return Z.defaultInterval=Z.interval,Z}_addEventListeners(){this._config.keyboard&&Rn.on(this._element,Ts,Z=>this._keydown(Z)),"hover"===this._config.pause&&(Rn.on(this._element,rl,()=>this.pause()),Rn.on(this._element,kc,()=>this._maybeEnableCycle())),this._config.touch&&_l.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const st of Ji.find(".carousel-item img",this._element))Rn.on(st,Cs,At=>At.preventDefault());this._swipeHelper=new _l(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Xs)),rightCallback:()=>this._slide(this._directionToOrder(Jo)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(Z){if(/input|textarea/i.test(Z.target.tagName))return;const le=Ao[Z.key];le&&(Z.preventDefault(),this._slide(this._directionToOrder(le)))}_getItemIndex(Z){return this._getItems().indexOf(Z)}_setActiveIndicatorElement(Z){if(!this._indicatorsElement)return;const le=Ji.findOne(ra,this._indicatorsElement);le.classList.remove(Jl),le.removeAttribute("aria-current");const st=Ji.findOne(`[data-bs-slide-to="${Z}"]`,this._indicatorsElement);st&&(st.classList.add(Jl),st.setAttribute("aria-current","true"))}_updateInterval(){const Z=this._activeElement||this._getActive();if(!Z)return;const le=Number.parseInt(Z.getAttribute("data-bs-interval"),10);this._config.interval=le||this._config.defaultInterval}_slide(Z,le=null){if(this._isSliding)return;const st=this._getActive(),At=Z===lr,fn=le||ds(this._getItems(),st,At,this._config.wrap);if(fn===st)return;const Mn=this._getItemIndex(fn),Xn=ys=>Rn.trigger(this._element,ys,{relatedTarget:fn,direction:this._orderToDirection(Z),from:this._getItemIndex(st),to:Mn});if(Xn(Qo).defaultPrevented||!st||!fn)return;const nr=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Mn),this._activeElement=fn;const Ni=At?"carousel-item-start":"carousel-item-end",Os=At?"carousel-item-next":"carousel-item-prev";fn.classList.add(Os),st.classList.add(Ni),fn.classList.add(Ni),this._queueCallback(()=>{fn.classList.remove(Ni,Os),fn.classList.add(Jl),st.classList.remove(Jl,Os,Ni),this._isSliding=!1,Xn(ga)},st,this._isAnimated()),nr&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Ji.findOne(Nl,this._element)}_getItems(){return Ji.find(ai,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(Z){return er()?Z===Xs?ro:lr:Z===Xs?lr:ro}_orderToDirection(Z){return er()?Z===ro?Xs:Jo:Z===ro?Jo:Xs}static jQueryInterface(Z){return this.each(function(){const le=Xo.getOrCreateInstance(this,Z);if("number"!=typeof Z){if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z]()}}else le.to(Z)})}}Rn.on(document,pa,"[data-bs-slide], [data-bs-slide-to]",function(Me){const Z=Ji.getElementFromSelector(this);if(!Z||!Z.classList.contains(ba))return;Me.preventDefault();const le=Xo.getOrCreateInstance(Z),st=this.getAttribute("data-bs-slide-to");return st?(le.to(st),void le._maybeEnableCycle()):"next"===gr.getDataAttribute(this,"slide")?(le.next(),void le._maybeEnableCycle()):(le.prev(),void le._maybeEnableCycle())}),Rn.on(window,Rl,()=>{const Me=Ji.find('[data-bs-ride="carousel"]');for(const Z of Me)Xo.getOrCreateInstance(Z)}),Cr(Xo);const al=".bs.collapse",Io=`show${al}`,hr=`shown${al}`,zo=`hide${al}`,Wr=`hidden${al}`,is=`click${al}.data-api`,Ql="show",re="collapse",qe="collapsing",We=`:scope .${re} .${re}`,ps='[data-bs-toggle="collapse"]',qr={parent:null,toggle:!0},ls={parent:"(null|element)",toggle:"boolean"};class zr extends Mr{constructor(Z,le){super(Z,le),this._isTransitioning=!1,this._triggerArray=[];const st=Ji.find(ps);for(const At of st){const fn=Ji.getSelectorFromElement(At),Mn=Ji.find(fn).filter(Xn=>Xn===this._element);null!==fn&&Mn.length&&this._triggerArray.push(At)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return qr}static get DefaultType(){return ls}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let Z=[];if(this._config.parent&&(Z=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(Xn=>Xn!==this._element).map(Xn=>zr.getOrCreateInstance(Xn,{toggle:!1}))),Z.length&&Z[0]._isTransitioning||Rn.trigger(this._element,Io).defaultPrevented)return;for(const Xn of Z)Xn.hide();const st=this._getDimension();this._element.classList.remove(re),this._element.classList.add(qe),this._element.style[st]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const Mn=`scroll${st[0].toUpperCase()+st.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(qe),this._element.classList.add(re,Ql),this._element.style[st]="",Rn.trigger(this._element,hr)},this._element,!0),this._element.style[st]=`${this._element[Mn]}px`}hide(){if(this._isTransitioning||!this._isShown()||Rn.trigger(this._element,zo).defaultPrevented)return;const le=this._getDimension();this._element.style[le]=`${this._element.getBoundingClientRect()[le]}px`,this._element.classList.add(qe),this._element.classList.remove(re,Ql);for(const At of this._triggerArray){const fn=Ji.getElementFromSelector(At);fn&&!this._isShown(fn)&&this._addAriaAndCollapsedClass([At],!1)}this._isTransitioning=!0,this._element.style[le]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(qe),this._element.classList.add(re),Rn.trigger(this._element,Wr)},this._element,!0)}_isShown(Z=this._element){return Z.classList.contains(Ql)}_configAfterMerge(Z){return Z.toggle=!!Z.toggle,Z.parent=us(Z.parent),Z}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const Z=this._getFirstLevelChildren(ps);for(const le of Z){const st=Ji.getElementFromSelector(le);st&&this._addAriaAndCollapsedClass([le],this._isShown(st))}}_getFirstLevelChildren(Z){const le=Ji.find(We,this._config.parent);return Ji.find(Z,this._config.parent).filter(st=>!le.includes(st))}_addAriaAndCollapsedClass(Z,le){if(Z.length)for(const st of Z)st.classList.toggle("collapsed",!le),st.setAttribute("aria-expanded",le)}static jQueryInterface(Z){const le={};return"string"==typeof Z&&/show|hide/.test(Z)&&(le.toggle=!1),this.each(function(){const st=zr.getOrCreateInstance(this,le);if("string"==typeof Z){if(typeof st[Z]>"u")throw new TypeError(`No method named "${Z}"`);st[Z]()}})}}Rn.on(document,is,ps,function(Me){("A"===Me.target.tagName||Me.delegateTarget&&"A"===Me.delegateTarget.tagName)&&Me.preventDefault();for(const Z of Ji.getMultipleElementsFromSelector(this))zr.getOrCreateInstance(Z,{toggle:!1}).toggle()}),Cr(zr);const Ws="dropdown",rs=".bs.dropdown",ea=".data-api",Ya="ArrowUp",$a="ArrowDown",za=`hide${rs}`,Uc=`hidden${rs}`,Es=`show${rs}`,Vl=`shown${rs}`,Ka=`click${rs}${ea}`,go=`keydown${rs}${ea}`,Fl=`keyup${rs}${ea}`,Ba="show",_a='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',cc=`${_a}.${Ba}`,Hc=".dropdown-menu",Yl=er()?"top-end":"top-start",cr=er()?"top-start":"top-end",Tl=er()?"bottom-end":"bottom-start",Bl=er()?"bottom-start":"bottom-end",Ac=er()?"left-start":"right-start",au=er()?"right-start":"left-start",El={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gc={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ja extends Mr{constructor(Z,le){super(Z,le),this._popper=null,this._parent=this._element.parentNode,this._menu=Ji.next(this._element,Hc)[0]||Ji.prev(this._element,Hc)[0]||Ji.findOne(Hc,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return El}static get DefaultType(){return Gc}static get NAME(){return Ws}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fo(this._element)||this._isShown())return;const Z={relatedTarget:this._element};if(!Rn.trigger(this._element,Es,Z).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const st of[].concat(...document.body.children))Rn.on(st,"mouseover",na);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ba),this._element.classList.add(Ba),Rn.trigger(this._element,Vl,Z)}}hide(){!Fo(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(Z){if(!Rn.trigger(this._element,za,Z).defaultPrevented){if("ontouchstart"in document.documentElement)for(const st of[].concat(...document.body.children))Rn.off(st,"mouseover",na);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ba),this._element.classList.remove(Ba),this._element.setAttribute("aria-expanded","false"),gr.removeDataAttribute(this._menu,"popper"),Rn.trigger(this._element,Uc,Z)}}_getConfig(Z){if("object"==typeof(Z=super._getConfig(Z)).reference&&!_r(Z.reference)&&"function"!=typeof Z.reference.getBoundingClientRect)throw new TypeError(`${Ws.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return Z}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let Z=this._element;"parent"===this._config.reference?Z=this._parent:_r(this._config.reference)?Z=us(this._config.reference):"object"==typeof this._config.reference&&(Z=this._config.reference);const le=this._getPopperConfig();this._popper=Eo(Z,this._menu,le)}_isShown(){return this._menu.classList.contains(Ba)}_getPlacement(){const Z=this._parent;if(Z.classList.contains("dropend"))return Ac;if(Z.classList.contains("dropstart"))return au;if(Z.classList.contains("dropup-center"))return"top";if(Z.classList.contains("dropdown-center"))return"bottom";const le="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return Z.classList.contains("dropup")?le?cr:Yl:le?Bl:Tl}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:Z}=this._config;return"string"==typeof Z?Z.split(",").map(le=>Number.parseInt(le,10)):"function"==typeof Z?le=>Z(le,this._element):Z}_getPopperConfig(){const Z={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(gr.setDataAttribute(this._menu,"popper","static"),Z.modifiers=[{name:"applyStyles",enabled:!1}]),{...Z,...Ss(this._config.popperConfig,[Z])}}_selectMenuItem({key:Z,target:le}){const st=Ji.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(At=>So(At));st.length&&ds(st,le,Z===$a,!st.includes(le)).focus()}static jQueryInterface(Z){return this.each(function(){const le=Ja.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z]()}})}static clearMenus(Z){if(2===Z.button||"keyup"===Z.type&&"Tab"!==Z.key)return;const le=Ji.find(cc);for(const st of le){const At=Ja.getInstance(st);if(!At||!1===At._config.autoClose)continue;const fn=Z.composedPath(),Mn=fn.includes(At._menu);if(fn.includes(At._element)||"inside"===At._config.autoClose&&!Mn||"outside"===At._config.autoClose&&Mn||At._menu.contains(Z.target)&&("keyup"===Z.type&&"Tab"===Z.key||/input|select|option|textarea|form/i.test(Z.target.tagName)))continue;const Xn={relatedTarget:At._element};"click"===Z.type&&(Xn.clickEvent=Z),At._completeHide(Xn)}}static dataApiKeydownHandler(Z){const le=/input|textarea/i.test(Z.target.tagName),st="Escape"===Z.key,At=[Ya,$a].includes(Z.key);if(!At&&!st||le&&!st)return;Z.preventDefault();const fn=this.matches(_a)?this:Ji.prev(this,_a)[0]||Ji.next(this,_a)[0]||Ji.findOne(_a,Z.delegateTarget.parentNode),Mn=Ja.getOrCreateInstance(fn);if(At)return Z.stopPropagation(),Mn.show(),void Mn._selectMenuItem(Z);Mn._isShown()&&(Z.stopPropagation(),Mn.hide(),fn.focus())}}Rn.on(document,go,_a,Ja.dataApiKeydownHandler),Rn.on(document,go,Hc,Ja.dataApiKeydownHandler),Rn.on(document,Ka,Ja.clearMenus),Rn.on(document,Fl,Ja.clearMenus),Rn.on(document,Ka,_a,function(Me){Me.preventDefault(),Ja.getOrCreateInstance(this).toggle()}),Cr(Ja);const rc="backdrop",ii=`mousedown.bs.${rc}`,es={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ic={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ul extends Us{constructor(Z){super(),this._config=this._getConfig(Z),this._isAppended=!1,this._element=null}static get Default(){return es}static get DefaultType(){return Ic}static get NAME(){return rc}show(Z){if(!this._config.isVisible)return void Ss(Z);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{Ss(Z)})}hide(Z){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),Ss(Z)})):Ss(Z)}dispose(){this._isAppended&&(Rn.off(this._element,ii),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const Z=document.createElement("div");Z.className=this._config.className,this._config.isAnimated&&Z.classList.add("fade"),this._element=Z}return this._element}_configAfterMerge(Z){return Z.rootElement=us(Z.rootElement),Z}_append(){if(this._isAppended)return;const Z=this._getElement();this._config.rootElement.append(Z),Rn.on(Z,ii,()=>{Ss(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(Z){br(Z,this._getElement(),this._config.isAnimated)}}const Al=".bs.focustrap",Oa=`focusin${Al}`,Ea=`keydown.tab${Al}`,Nc="backward",Fc={autofocus:!0,trapElement:null},sa={autofocus:"boolean",trapElement:"element"};class Qa extends Us{constructor(Z){super(),this._config=this._getConfig(Z),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Fc}static get DefaultType(){return sa}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Rn.off(document,Al),Rn.on(document,Oa,Z=>this._handleFocusin(Z)),Rn.on(document,Ea,Z=>this._handleKeydown(Z)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Rn.off(document,Al))}_handleFocusin(Z){const{trapElement:le}=this._config;if(Z.target===document||Z.target===le||le.contains(Z.target))return;const st=Ji.focusableChildren(le);0===st.length?le.focus():this._lastTabNavDirection===Nc?st[st.length-1].focus():st[0].focus()}_handleKeydown(Z){"Tab"===Z.key&&(this._lastTabNavDirection=Z.shiftKey?Nc:"forward")}}const Kr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oo=".sticky-top",Ua="padding-right",dc="margin-right";class he{constructor(){this._element=document.body}getWidth(){const Z=document.documentElement.clientWidth;return Math.abs(window.innerWidth-Z)}hide(){const Z=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ua,le=>le+Z),this._setElementAttributes(Kr,Ua,le=>le+Z),this._setElementAttributes(oo,dc,le=>le-Z)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ua),this._resetElementAttributes(Kr,Ua),this._resetElementAttributes(oo,dc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(Z,le,st){const At=this.getWidth();this._applyManipulationCallback(Z,Mn=>{if(Mn!==this._element&&window.innerWidth>Mn.clientWidth+At)return;this._saveInitialAttribute(Mn,le);const Xn=window.getComputedStyle(Mn).getPropertyValue(le);Mn.style.setProperty(le,`${st(Number.parseFloat(Xn))}px`)})}_saveInitialAttribute(Z,le){const st=Z.style.getPropertyValue(le);st&&gr.setDataAttribute(Z,le,st)}_resetElementAttributes(Z,le){this._applyManipulationCallback(Z,At=>{const fn=gr.getDataAttribute(At,le);null!==fn?(gr.removeDataAttribute(At,le),At.style.setProperty(le,fn)):At.style.removeProperty(le)})}_applyManipulationCallback(Z,le){if(_r(Z))le(Z);else for(const st of Ji.find(Z,this._element))le(st)}}const Ue=".bs.modal",v=`hide${Ue}`,M=`hidePrevented${Ue}`,W=`hidden${Ue}`,ue=`show${Ue}`,be=`shown${Ue}`,et=`resize${Ue}`,q=`click.dismiss${Ue}`,U=`mousedown.dismiss${Ue}`,Y=`keydown.dismiss${Ue}`,ne=`click${Ue}.data-api`,pe="modal-open",It="modal-static",Ei={backdrop:!0,focus:!0,keyboard:!0},Hi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class hi extends Mr{constructor(Z,le){super(Z,le),this._dialog=Ji.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new he,this._addEventListeners()}static get Default(){return Ei}static get DefaultType(){return Hi}static get NAME(){return"modal"}toggle(Z){return this._isShown?this.hide():this.show(Z)}show(Z){this._isShown||this._isTransitioning||Rn.trigger(this._element,ue,{relatedTarget:Z}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(pe),this._adjustDialog(),this._backdrop.show(()=>this._showElement(Z)))}hide(){!this._isShown||this._isTransitioning||Rn.trigger(this._element,v).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Rn.off(window,Ue),Rn.off(this._dialog,Ue),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ul({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Qa({trapElement:this._element})}_showElement(Z){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const le=Ji.findOne(".modal-body",this._dialog);le&&(le.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Rn.trigger(this._element,be,{relatedTarget:Z})},this._dialog,this._isAnimated())}_addEventListeners(){Rn.on(this._element,Y,Z=>{if("Escape"===Z.key){if(this._config.keyboard)return void this.hide();this._triggerBackdropTransition()}}),Rn.on(window,et,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Rn.on(this._element,U,Z=>{Rn.one(this._element,q,le=>{if(this._element===Z.target&&this._element===le.target){if("static"===this._config.backdrop)return void this._triggerBackdropTransition();this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(pe),this._resetAdjustments(),this._scrollBar.reset(),Rn.trigger(this._element,W)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Rn.trigger(this._element,M).defaultPrevented)return;const le=this._element.scrollHeight>document.documentElement.clientHeight,st=this._element.style.overflowY;"hidden"===st||this._element.classList.contains(It)||(le||(this._element.style.overflowY="hidden"),this._element.classList.add(It),this._queueCallback(()=>{this._element.classList.remove(It),this._queueCallback(()=>{this._element.style.overflowY=st},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const Z=this._element.scrollHeight>document.documentElement.clientHeight,le=this._scrollBar.getWidth(),st=le>0;if(st&&!Z){const At=er()?"paddingLeft":"paddingRight";this._element.style[At]=`${le}px`}if(!st&&Z){const At=er()?"paddingRight":"paddingLeft";this._element.style[At]=`${le}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(Z,le){return this.each(function(){const st=hi.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof st[Z]>"u")throw new TypeError(`No method named "${Z}"`);st[Z](le)}})}}Rn.on(document,ne,'[data-bs-toggle="modal"]',function(Me){const Z=Ji.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&Me.preventDefault(),Rn.one(Z,ue,At=>{At.defaultPrevented||Rn.one(Z,W,()=>{So(this)&&this.focus()})});const le=Ji.findOne(".modal.show");le&&hi.getInstance(le).hide(),hi.getOrCreateInstance(Z).toggle(this)}),uo(hi),Cr(hi);const sr=".bs.offcanvas",Er=".data-api",ms=`load${sr}${Er}`,Wo="showing",Ns=".offcanvas.show",Va=`show${sr}`,hc=`shown${sr}`,Ml=`hide${sr}`,_o=`hidePrevented${sr}`,Is=`hidden${sr}`,ll=`resize${sr}`,tr=`click${sr}${Er}`,Ir=`keydown.dismiss${sr}`,Jr={backdrop:!0,keyboard:!0,scroll:!1},Go={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class oa extends Mr{constructor(Z,le){super(Z,le),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Jr}static get DefaultType(){return Go}static get NAME(){return"offcanvas"}toggle(Z){return this._isShown?this.hide():this.show(Z)}show(Z){this._isShown||Rn.trigger(this._element,Va,{relatedTarget:Z}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new he).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Wo),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Wo),Rn.trigger(this._element,hc,{relatedTarget:Z})},this._element,!0))}hide(){this._isShown&&!Rn.trigger(this._element,Ml).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new he).reset(),Rn.trigger(this._element,Is)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const le=!!this._config.backdrop;return new Ul({className:"offcanvas-backdrop",isVisible:le,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:le?()=>{"static"!==this._config.backdrop?this.hide():Rn.trigger(this._element,_o)}:null})}_initializeFocusTrap(){return new Qa({trapElement:this._element})}_addEventListeners(){Rn.on(this._element,Ir,Z=>{if("Escape"===Z.key){if(this._config.keyboard)return void this.hide();Rn.trigger(this._element,_o)}})}static jQueryInterface(Z){return this.each(function(){const le=oa.getOrCreateInstance(this,Z);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z](this)}})}}Rn.on(document,tr,'[data-bs-toggle="offcanvas"]',function(Me){const Z=Ji.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&Me.preventDefault(),Fo(this))return;Rn.one(Z,Is,()=>{So(this)&&this.focus()});const le=Ji.findOne(Ns);le&&le!==Z&&oa.getInstance(le).hide(),oa.getOrCreateInstance(Z).toggle(this)}),Rn.on(window,ms,()=>{for(const Me of Ji.find(Ns))oa.getOrCreateInstance(Me).show()}),Rn.on(window,ll,()=>{for(const Me of Ji.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(Me).position&&oa.getOrCreateInstance(Me).hide()}),uo(oa),Cr(oa);const vs={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},fs=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),aa=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,jl=(Me,Z)=>{const le=Me.nodeName.toLowerCase();return Z.includes(le)?!fs.has(le)||!!aa.test(Me.nodeValue):Z.filter(st=>st instanceof RegExp).some(st=>st.test(le))},zl={allowList:vs,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Dl={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},sc={entry:"(string|element|function|null)",selector:"(string|element)"};class yc extends Us{constructor(Z){super(),this._config=this._getConfig(Z)}static get Default(){return zl}static get DefaultType(){return Dl}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(Z=>this._resolvePossibleFunction(Z)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(Z){return this._checkContent(Z),this._config.content={...this._config.content,...Z},this}toHtml(){const Z=document.createElement("div");Z.innerHTML=this._maybeSanitize(this._config.template);for(const[At,fn]of Object.entries(this._config.content))this._setContent(Z,fn,At);const le=Z.children[0],st=this._resolvePossibleFunction(this._config.extraClass);return st&&le.classList.add(...st.split(" ")),le}_typeCheckConfig(Z){super._typeCheckConfig(Z),this._checkContent(Z.content)}_checkContent(Z){for(const[le,st]of Object.entries(Z))super._typeCheckConfig({selector:le,entry:st},sc)}_setContent(Z,le,st){const At=Ji.findOne(st,Z);if(At){if(!(le=this._resolvePossibleFunction(le)))return void At.remove();if(_r(le))return void this._putElementInTemplate(us(le),At);if(this._config.html)return void(At.innerHTML=this._maybeSanitize(le));At.textContent=le}}_maybeSanitize(Z){return this._config.sanitize?function cl(Me,Z,le){if(!Me.length)return Me;if(le&&"function"==typeof le)return le(Me);const At=(new window.DOMParser).parseFromString(Me,"text/html"),fn=[].concat(...At.body.querySelectorAll("*"));for(const Mn of fn){const Xn=Mn.nodeName.toLowerCase();if(!Object.keys(Z).includes(Xn)){Mn.remove();continue}const Ai=[].concat(...Mn.attributes),nr=[].concat(Z["*"]||[],Z[Xn]||[]);for(const Ni of Ai)jl(Ni,nr)||Mn.removeAttribute(Ni.nodeName)}return At.body.innerHTML}(Z,this._config.allowList,this._config.sanitizeFn):Z}_resolvePossibleFunction(Z){return Ss(Z,[this])}_putElementInTemplate(Z,le){if(this._config.html)return le.innerHTML="",void le.append(Z);le.textContent=Z.textContent}}const R=new Set(["sanitize","allowList","sanitizeFn"]),te="fade",Pe="show",Gn="hide.bs.modal",Vi="hover",Pr="focus",Uu={AUTO:"auto",TOP:"top",RIGHT:er()?"left":"right",BOTTOM:"bottom",LEFT:er()?"right":"left"},lu={allowList:vs,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},hd={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class cu extends Mr{constructor(Z,le){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(Z,le),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lu}static get DefaultType(){return hd}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown())return void this._leave();this._enter()}}dispose(){clearTimeout(this._timeout),Rn.off(this._element.closest(".modal"),Gn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const Z=Rn.trigger(this._element,this.constructor.eventName("show")),st=(Ks(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(Z.defaultPrevented||!st)return;this._disposePopper();const At=this._getTipElement();this._element.setAttribute("aria-describedby",At.getAttribute("id"));const{container:fn}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(fn.append(At),Rn.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(At),At.classList.add(Pe),"ontouchstart"in document.documentElement)for(const Xn of[].concat(...document.body.children))Rn.on(Xn,"mouseover",na);this._queueCallback(()=>{Rn.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!Rn.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Pe),"ontouchstart"in document.documentElement)for(const At of[].concat(...document.body.children))Rn.off(At,"mouseover",na);this._activeTrigger.click=!1,this._activeTrigger[Pr]=!1,this._activeTrigger[Vi]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Rn.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(Z){const le=this._getTemplateFactory(Z).toHtml();if(!le)return null;le.classList.remove(te,Pe),le.classList.add(`bs-${this.constructor.NAME}-auto`);const st=(Me=>{do{Me+=Math.floor(1e6*Math.random())}while(document.getElementById(Me));return Me})(this.constructor.NAME).toString();return le.setAttribute("id",st),this._isAnimated()&&le.classList.add(te),le}setContent(Z){this._newContent=Z,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(Z){return this._templateFactory?this._templateFactory.changeContent(Z):this._templateFactory=new yc({...this._config,content:Z,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(Z){return this.constructor.getOrCreateInstance(Z.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(te)}_isShown(){return this.tip&&this.tip.classList.contains(Pe)}_createPopper(Z){const le=Ss(this._config.placement,[this,Z,this._element]),st=Uu[le.toUpperCase()];return Eo(this._element,Z,this._getPopperConfig(st))}_getOffset(){const{offset:Z}=this._config;return"string"==typeof Z?Z.split(",").map(le=>Number.parseInt(le,10)):"function"==typeof Z?le=>Z(le,this._element):Z}_resolvePossibleFunction(Z){return Ss(Z,[this._element])}_getPopperConfig(Z){const le={placement:Z,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:st=>{this._getTipElement().setAttribute("data-popper-placement",st.state.placement)}}]};return{...le,...Ss(this._config.popperConfig,[le])}}_setListeners(){const Z=this._config.trigger.split(" ");for(const le of Z)if("click"===le)Rn.on(this._element,this.constructor.eventName("click"),this._config.selector,st=>{this._initializeOnDelegatedTarget(st).toggle()});else if("manual"!==le){const st=this.constructor.eventName(le===Vi?"mouseenter":"focusin"),At=this.constructor.eventName(le===Vi?"mouseleave":"focusout");Rn.on(this._element,st,this._config.selector,fn=>{const Mn=this._initializeOnDelegatedTarget(fn);Mn._activeTrigger["focusin"===fn.type?Pr:Vi]=!0,Mn._enter()}),Rn.on(this._element,At,this._config.selector,fn=>{const Mn=this._initializeOnDelegatedTarget(fn);Mn._activeTrigger["focusout"===fn.type?Pr:Vi]=Mn._element.contains(fn.relatedTarget),Mn._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Rn.on(this._element.closest(".modal"),Gn,this._hideModalHandler)}_fixTitle(){const Z=this._element.getAttribute("title");Z&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",Z),this._element.setAttribute("data-bs-original-title",Z),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(Z,le){clearTimeout(this._timeout),this._timeout=setTimeout(Z,le)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(Z){const le=gr.getDataAttributes(this._element);for(const st of Object.keys(le))R.has(st)&&delete le[st];return Z={...le,..."object"==typeof Z&&Z?Z:{}},Z=this._mergeConfigObj(Z),Z=this._configAfterMerge(Z),this._typeCheckConfig(Z),Z}_configAfterMerge(Z){return Z.container=!1===Z.container?document.body:us(Z.container),"number"==typeof Z.delay&&(Z.delay={show:Z.delay,hide:Z.delay}),"number"==typeof Z.title&&(Z.title=Z.title.toString()),"number"==typeof Z.content&&(Z.content=Z.content.toString()),Z}_getDelegateConfig(){const Z={};for(const[le,st]of Object.entries(this._config))this.constructor.Default[le]!==st&&(Z[le]=st);return Z.selector=!1,Z.trigger="manual",Z}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(Z){return this.each(function(){const le=cu.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Cr(cu);const tp={...cu.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Ld={...cu.DefaultType,content:"(null|string|element|function)"};class bu extends cu{static get Default(){return tp}static get DefaultType(){return Ld}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(Z){return this.each(function(){const le=bu.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Cr(bu);const Wf=".bs.scrollspy",gd=`activate${Wf}`,Zf=`click${Wf}`,Gf=`load${Wf}.data-api`,Hu="active",Xh="[href]",zu=".nav-link",xu=`${zu}, .nav-item > ${zu}, .list-group-item`,Jf={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Vu={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class fc extends Mr{constructor(Z,le){super(Z,le),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Jf}static get DefaultType(){return Vu}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const Z of this._observableSections.values())this._observer.observe(Z)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(Z){return Z.target=us(Z.target)||document.body,Z.rootMargin=Z.offset?`${Z.offset}px 0px -30%`:Z.rootMargin,"string"==typeof Z.threshold&&(Z.threshold=Z.threshold.split(",").map(le=>Number.parseFloat(le))),Z}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Rn.off(this._config.target,Zf),Rn.on(this._config.target,Zf,Xh,Z=>{const le=this._observableSections.get(Z.target.hash);if(le){Z.preventDefault();const st=this._rootElement||window,At=le.offsetTop-this._element.offsetTop;if(st.scrollTo)return void st.scrollTo({top:At,behavior:"smooth"});st.scrollTop=At}}))}_getNewObserver(){return new IntersectionObserver(le=>this._observerCallback(le),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(Z){const le=Mn=>this._targetLinks.get(`#${Mn.target.id}`),st=Mn=>{this._previousScrollData.visibleEntryTop=Mn.target.offsetTop,this._process(le(Mn))},At=(this._rootElement||document.documentElement).scrollTop,fn=At>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=At;for(const Mn of Z){if(!Mn.isIntersecting){this._activeTarget=null,this._clearActiveClass(le(Mn));continue}const Xn=Mn.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(fn&&Xn){if(st(Mn),!At)return}else!fn&&!Xn&&st(Mn)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const Z=Ji.find(Xh,this._config.target);for(const le of Z){if(!le.hash||Fo(le))continue;const st=Ji.findOne(decodeURI(le.hash),this._element);So(st)&&(this._targetLinks.set(decodeURI(le.hash),le),this._observableSections.set(le.hash,st))}}_process(Z){this._activeTarget!==Z&&(this._clearActiveClass(this._config.target),this._activeTarget=Z,Z.classList.add(Hu),this._activateParents(Z),Rn.trigger(this._element,gd,{relatedTarget:Z}))}_activateParents(Z){if(Z.classList.contains("dropdown-item"))Ji.findOne(".dropdown-toggle",Z.closest(".dropdown")).classList.add(Hu);else for(const le of Ji.parents(Z,".nav, .list-group"))for(const st of Ji.prev(le,xu))st.classList.add(Hu)}_clearActiveClass(Z){Z.classList.remove(Hu);const le=Ji.find(`${Xh}.${Hu}`,Z);for(const st of le)st.classList.remove(Hu)}static jQueryInterface(Z){return this.each(function(){const le=fc.getOrCreateInstance(this,Z);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Rn.on(window,Gf,()=>{for(const Me of Ji.find('[data-bs-spy="scroll"]'))fc.getOrCreateInstance(Me)}),Cr(fc);const Tu=".bs.tab",Qf=`hide${Tu}`,ip=`hidden${Tu}`,tf=`show${Tu}`,rp=`shown${Tu}`,Xf=`click${Tu}`,nf=`keydown${Tu}`,qf=`load${Tu}`,hh="ArrowLeft",pd="ArrowRight",sp="ArrowUp",Rd="ArrowDown",fh="Home",Nd="End",Eu="active",Fd="show",rf=".dropdown-toggle",mh=`:not(${rf})`,_h='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ch=`.nav-link${mh}, .list-group-item${mh}, [role="tab"]${mh}, ${_h}`,af=`.${Eu}[data-bs-toggle="tab"], .${Eu}[data-bs-toggle="pill"], .${Eu}[data-bs-toggle="list"]`;class md extends Mr{constructor(Z){super(Z),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Rn.on(this._element,nf,le=>this._keydown(le)))}static get NAME(){return"tab"}show(){const Z=this._element;if(this._elemIsActive(Z))return;const le=this._getActiveElem(),st=le?Rn.trigger(le,Qf,{relatedTarget:Z}):null;Rn.trigger(Z,tf,{relatedTarget:le}).defaultPrevented||st&&st.defaultPrevented||(this._deactivate(le,Z),this._activate(Z,le))}_activate(Z,le){Z&&(Z.classList.add(Eu),this._activate(Ji.getElementFromSelector(Z)),this._queueCallback(()=>{"tab"===Z.getAttribute("role")?(Z.removeAttribute("tabindex"),Z.setAttribute("aria-selected",!0),this._toggleDropDown(Z,!0),Rn.trigger(Z,rp,{relatedTarget:le})):Z.classList.add(Fd)},Z,Z.classList.contains("fade")))}_deactivate(Z,le){Z&&(Z.classList.remove(Eu),Z.blur(),this._deactivate(Ji.getElementFromSelector(Z)),this._queueCallback(()=>{"tab"===Z.getAttribute("role")?(Z.setAttribute("aria-selected",!1),Z.setAttribute("tabindex","-1"),this._toggleDropDown(Z,!1),Rn.trigger(Z,ip,{relatedTarget:le})):Z.classList.remove(Fd)},Z,Z.classList.contains("fade")))}_keydown(Z){if(![hh,pd,sp,Rd,fh,Nd].includes(Z.key))return;Z.stopPropagation(),Z.preventDefault();const le=this._getChildren().filter(At=>!Fo(At));let st;if([fh,Nd].includes(Z.key))st=le[Z.key===fh?0:le.length-1];else{const At=[pd,Rd].includes(Z.key);st=ds(le,Z.target,At,!0)}st&&(st.focus({preventScroll:!0}),md.getOrCreateInstance(st).show())}_getChildren(){return Ji.find(Ch,this._parent)}_getActiveElem(){return this._getChildren().find(Z=>this._elemIsActive(Z))||null}_setInitialAttributes(Z,le){this._setAttributeIfNotExists(Z,"role","tablist");for(const st of le)this._setInitialAttributesOnChild(st)}_setInitialAttributesOnChild(Z){Z=this._getInnerElement(Z);const le=this._elemIsActive(Z),st=this._getOuterElement(Z);Z.setAttribute("aria-selected",le),st!==Z&&this._setAttributeIfNotExists(st,"role","presentation"),le||Z.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(Z,"role","tab"),this._setInitialAttributesOnTargetPanel(Z)}_setInitialAttributesOnTargetPanel(Z){const le=Ji.getElementFromSelector(Z);le&&(this._setAttributeIfNotExists(le,"role","tabpanel"),Z.id&&this._setAttributeIfNotExists(le,"aria-labelledby",`${Z.id}`))}_toggleDropDown(Z,le){const st=this._getOuterElement(Z);if(!st.classList.contains("dropdown"))return;const At=(fn,Mn)=>{const Xn=Ji.findOne(fn,st);Xn&&Xn.classList.toggle(Mn,le)};At(rf,Eu),At(".dropdown-menu",Fd),st.setAttribute("aria-expanded",le)}_setAttributeIfNotExists(Z,le,st){Z.hasAttribute(le)||Z.setAttribute(le,st)}_elemIsActive(Z){return Z.classList.contains(Eu)}_getInnerElement(Z){return Z.matches(Ch)?Z:Ji.findOne(Ch,Z)}_getOuterElement(Z){return Z.closest(".nav-item, .list-group-item")||Z}static jQueryInterface(Z){return this.each(function(){const le=md.getOrCreateInstance(this);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Rn.on(document,Xf,_h,function(Me){["A","AREA"].includes(this.tagName)&&Me.preventDefault(),!Fo(this)&&md.getOrCreateInstance(this).show()}),Rn.on(window,qf,()=>{for(const Me of Ji.find(af))md.getOrCreateInstance(Me)}),Cr(md);const wu=".bs.toast",vh=`mouseover${wu}`,tg=`mouseout${wu}`,ap=`focusin${wu}`,ng=`focusout${wu}`,Nm=`hide${wu}`,ig=`hidden${wu}`,Fm=`show${wu}`,lp=`shown${wu}`,cf="show",uf="showing",df={animation:"boolean",autohide:"boolean",delay:"number"},Ym={animation:!0,autohide:!0,delay:5e3};class hf extends Mr{constructor(Z,le){super(Z,le),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ym}static get DefaultType(){return df}static get NAME(){return"toast"}show(){Rn.trigger(this._element,Fm).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(cf,uf),this._queueCallback(()=>{this._element.classList.remove(uf),Rn.trigger(this._element,lp),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!Rn.trigger(this._element,Nm).defaultPrevented&&(this._element.classList.add(uf),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(uf,cf),Rn.trigger(this._element,ig)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(cf),super.dispose()}isShown(){return this._element.classList.contains(cf)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(Z,le){switch(Z.type){case"mouseover":case"mouseout":this._hasMouseInteraction=le;break;case"focusin":case"focusout":this._hasKeyboardInteraction=le}if(le)return void this._clearTimeout();const st=Z.relatedTarget;this._element===st||this._element.contains(st)||this._maybeScheduleHide()}_setListeners(){Rn.on(this._element,vh,Z=>this._onInteraction(Z,!0)),Rn.on(this._element,tg,Z=>this._onInteraction(Z,!1)),Rn.on(this._element,ap,Z=>this._onInteraction(Z,!0)),Rn.on(this._element,ng,Z=>this._onInteraction(Z,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(Z){return this.each(function(){const le=hf.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z](this)}})}}uo(hf),Cr(hf);var rg=m(2307),up=m(9193),dp=m(645),sg=m(1508);const Ah=["inputElement"];function Ud(Me,Z){1&Me&&A._UZ(0,"i",9)}function og(Me,Z){1&Me&&(A.TgZ(0,"div",10),A._UZ(1,"span",11),A.qZA())}function ff(Me,Z){if(1&Me&&(A.TgZ(0,"div",4),A._UZ(1,"input",5),A.TgZ(2,"button",6),A.YNc(3,Ud,1,0,"i",7),A.YNc(4,og,2,0,"div",8),A.qZA()()),2&Me){const le=A.oxw();A.Q6J("id",le.generatedId(le.controlName)+"_search_container"),A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)),A.uIk("placeholder",le.placeholder),A.xp6(2),A.Q6J("ngIf",!le.searching&&!le.loading),A.xp6(1),A.Q6J("ngIf",le.searching||le.loading)}}function ag(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"a",25),A.NdJ("click",function(){A.CHM(le);const At=A.oxw().$implicit,fn=A.oxw(2);return A.KtG(fn.onItemClick(At))}),A._uU(1),A.qZA()}if(2&Me){const le=A.oxw().$implicit,st=A.oxw(2);A.Q6J("id",st.getItemId(le)),A.xp6(1),A.Oqu(le.text)}}function Zu(Me,Z){if(1&Me&&(A.TgZ(0,"strong",26),A._uU(1),A.qZA()),2&Me){const le=A.oxw().$implicit;A.xp6(1),A.Oqu(le.text)}}function lg(Me,Z){if(1&Me&&(A.TgZ(0,"li"),A.YNc(1,ag,2,2,"a",23),A.YNc(2,Zu,2,1,"ng-template",null,24,A.W1O),A.qZA()),2&Me){const le=Z.$implicit,st=A.MAs(3),At=A.oxw(2);A.xp6(1),A.Q6J("ngIf",!At.isSeparator(le))("ngIfElse",st)}}function cg(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"button",27),A.NdJ("click",function(At){A.CHM(le);const fn=A.oxw(2);return A.KtG(fn.onDetailsClick(At))}),A._UZ(1,"i",28),A.qZA()}if(2&Me){const le=A.oxw(2);A.Q6J("id",le.generatedId(le.controlName)+"_details_button")("disabled",!le.selectedEntity||void 0)}}function Ih(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"button",29),A.NdJ("click",function(At){A.CHM(le);const fn=A.oxw(2);return A.KtG(fn.onAddClick(At))}),A._UZ(1,"i",30),A.qZA()}if(2&Me){const le=A.oxw(2);A.Q6J("id",le.generatedId(le.controlName)+"_route_button")}}function Hd(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"button",31),A.NdJ("click",function(){A.CHM(le);const At=A.oxw(2);return A.KtG(At.clear(!0,!1))}),A._UZ(1,"i",32),A.qZA()}}function yh(Me,Z){1&Me&&A._UZ(0,"i",33)}function hp(Me,Z){1&Me&&(A.TgZ(0,"div",10),A._UZ(1,"span",11),A.qZA())}function gf(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"div",12)(1,"div",4),A._UZ(2,"div",13),A.TgZ(3,"ul",14),A.YNc(4,lg,4,2,"li",15),A.qZA(),A.TgZ(5,"input",16,17),A.NdJ("keydown",function(At){A.CHM(le);const fn=A.oxw();return A.KtG(fn.onKeyDown(At))})("keyup",function(At){A.CHM(le);const fn=A.oxw();return A.KtG(fn.onKeyUp(At))}),A.qZA(),A.YNc(7,cg,2,2,"button",18),A.YNc(8,Ih,2,1,"button",19),A.YNc(9,Hd,2,0,"button",20),A.TgZ(10,"button",21),A.NdJ("click",function(At){A.CHM(le);const fn=A.oxw();return A.KtG(fn.onSelectClick(At))}),A.YNc(11,yh,1,0,"i",22),A.YNc(12,hp,2,0,"div",8),A.qZA()()()}if(2&Me){const le=A.oxw();A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)+"_search_container"),A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)+"_search_dropdown"),A.xp6(1),A.Udp("width",le.dropdownWidth,"px"),A.uIk("aria-labelledby",le.generatedId(le.controlName)+"_search_dropdown"),A.xp6(1),A.Q6J("ngForOf",le.items),A.xp6(1),A.ekj("search-text-invalid",!le.isTextValid),A.Q6J("id",le.generatedId(le.controlName)),A.uIk("readonly",le.isOnlySelect?"true":void 0)("placeholder",le.placeholder),A.xp6(2),A.Q6J("ngIf",le.isDetails),A.xp6(1),A.Q6J("ngIf",le.addRoute),A.xp6(1),A.Q6J("ngIf",le.selectedItem&&null==le.required),A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)+"_select_button"),A.xp6(1),A.Q6J("ngIf",!le.searching&&!le.loading),A.xp6(1),A.Q6J("ngIf",le.searching||le.loading)}}const fp=function(Me){return{selected:Me}};function ug(Me,Z){if(1&Me&&(A.TgZ(0,"span",34),A.GkF(1,35),A.qZA()),2&Me){const le=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",le.displayTemplate)("ngTemplateOutletContext",A.VKq(2,fp,le.selectedItem))}}class tu{constructor(Z){this.groups=Z}get text(){return this.groups.map(Z=>Z.value).join(" - ")}}let dg=(()=>{class Me extends dp.M{set control(le){this._control=le}get control(){return this.getControl()}set size(le){this.setSize(le)}get size(){return this.getSize()}set disabled(le){le!=this._disabled&&(this._disabled=le,this.detectChanges(),this.dropdown?.toString(),this.selectedValue&&this.selectItem(this.selectedValue,!1,!1))}get disabled(){return this._disabled}set icon(le){le!=this._icon&&(this._icon=le)}get icon(){return typeof this._icon<"u"?this._icon:(this.dao?this.entities.getIcon(this.dao.collection):void 0)||""}set label(le){le!=this._label&&(this._label=le)}get label(){return typeof this._label<"u"?this._label:(this.dao?this.entities.getLabel(this.dao.collection):void 0)||""}set selectRoute(le){le!=this._selectRoute&&(this._selectRoute=le)}get selectRoute(){return typeof this._selectRoute<"u"?this._selectRoute:this.dao?this.entities.getSelectRoute(this.dao.collection):{route:[]}}get dropdown(){const le=document.getElementById(this.generatedId(this.controlName)+"_search_dropdown");return this._dropdown=this.isDisabled?void 0:this._dropdown||(le?new Ja(le):void 0),this._dropdown}constructor(le){super(le),this.injector=le,this.class="form-group",this.details=new A.vpe,this.select=new A.vpe,this.load=new A.vpe,this.change=new A.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.labelInfo="",this.bold=!1,this.loading=!1,this.value="",this.emptyValue="",this.placeholder="",this.dao=void 0,this.DEBOUNCE_TIMER=1e3,this.queryText="",this.timer=void 0,this.dropdownWidth=200,this.items=[],this.selectedItem=void 0,this.selectedValue=void 0,this.selectedEntity=void 0,this.searching=!1,this.entities=this.injector.get(sg.c),this.util=this.injector.get(up.f),this.go=le.get(rg.o)}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){var le=this;super.ngAfterViewInit(),this.control?.valueChanges.subscribe(function(){var st=(0,t.Z)(function*(At){le.selectedValue!=At&&(le.selectedValue=At,yield le.loadSearch())});return function(At){return st.apply(this,arguments)}}()),this.control?.setValue(this.control.value)}selectItem(le,st=!0,At=!0){const fn=this.items.find(Xn=>!(Xn instanceof tu)&&Xn.value==le),Mn=Xn=>{fn&&(fn.entity=Xn),this.selectedEntity=Xn,this.selectedItem=fn,this.select&&At&&this.select.emit(fn),this.change&&At&&this.change.emit(new Event("change"))};if(fn){const Xn=document.getElementById(this.generatedId(this.controlName));Xn&&(Xn.value=fn.text),this.selectedValue=fn.value,this.control?.setValue(this.selectedValue,{emitEvent:!1}),this.selectedEntity=void 0,this.selectedValue?.length&&(st?(this.loading=!0,this.dao?.getById(this.selectedValue,this.join).then(Mn).finally(()=>this.loading=!1)):Mn(fn.entity))}this.cdRef.detectChanges()}get isTextValid(){let le=!!this.selectedItem||!this.inputElement?.nativeElement.value?.length;if(this.control)if(le&&this.control.errors?.incorrect){let{incorrect:st,...At}=this.control.errors;this.control.setErrors(1==Object.entries(this.control.errors).length?null:At)}else if(!le&&!this.control.errors?.incorrect){let st=Object.assign(this.control.errors||{},{incorrect:!0});this.control.setErrors(st)}return le}onItemClick(le){this.selectItem(le.value)}onAddClick(le){var st=this;return(0,t.Z)(function*(){const At=st.addRoute;var fn;At.params=Object.assign(At.params||{},{modal:!0}),st.go.navigate(At,{modalClose:(fn=(0,t.Z)(function*(Mn){Mn?.length&&(st.control?.setValue(Mn,{emitEvent:!1}),yield st.loadSearch())}),function(Xn){return fn.apply(this,arguments)})})})()}onSelectClick(le){var st=this;return(0,t.Z)(function*(){return new Promise((At,fn)=>{if(st.selectRoute){const Mn=st.selectRoute;Mn.params=Object.assign(Mn.params||{},st.selectParams||{},{selectable:!0,modal:!0}),st.go.navigate(Mn,{metadata:st.metadata||{},modalClose:(Xn=(0,t.Z)(function*(Ai){Ai?.id?.length?(st.control?.setValue(Ai.id,{emitEvent:!1}),yield st.loadSearch(),At(Ai?.id)):fn("Nada foi selecionado")}),function(nr){return Xn.apply(this,arguments)})})}else fn("Rota de sele\xe7\xe3o inexistente");var Xn})})()}onKeyDown(le){["Enter","ArrowDown","ArrowUp"].indexOf(le.key)>=0&&("Enter"==le.key?(this.onEnterKeyDown(le),console.log("Enter")):"Esc"==le.key?console.log("Esc"):"ArrowDown"==le.key?console.log("Down"):"ArrowUp"==le.key&&console.log("Up"),le.preventDefault())}onKeyUp(le){this.typed(le.target.value)}typed(le){this.queryText!=le&&(this.queryText=le,this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.search(this.queryText)},this.DEBOUNCE_TIMER))}getItemId(le){return this.generatedId(this.controlName)+(le.hasOwnProperty("value")?"_item_"+le.value:"_sep_"+this.util.onlyAlphanumeric(le.groups.text))}isSeparator(le){return le instanceof tu}get isOnlySelect(){return null!=this.onlySelect}isDisplayOnlySelected(){return null!=this.displayOnlySelected}group(le){if(this.groupBy&&le.length){let st="";le=le.filter(At=>!(At instanceof tu));for(let At=0;AtObject.assign({},Mn,{value:le[At].order[Xn]}));st!=JSON.stringify(fn)&&(st=JSON.stringify(fn),le.splice(At,0,new tu(fn)))}}return le}search(le){this.searching=!0,this.control&&this.control.setValue(this.emptyValue,{emitEvent:!1}),this.clear(!1,!0,!1),this.dao?.searchText(le,this.fields,this.where,this.groupBy?.map(st=>[st.field,"asc"])).then(st=>{if(this.queryText==le){this.items=this.group(st);const At=document.getElementById(this.generatedId(this.controlName));if(At){const fn=getComputedStyle(At),Mn=At.offsetWidth+parseInt(fn.marginLeft)+parseInt(fn.marginRight);this.dropdownWidth=Mn||200}else this.dropdownWidth=200;this.cdRef.detectChanges(),this.items.length?this.dropdown?.show():this.dropdown?.hide()}}).finally(()=>{this.searching=!1})}get isDetails(){return void 0!==this.detailsButton}onDetailsClick(le){this.details&&this.selectedItem&&this.selectedEntity&&this.details.emit({...this.selectedItem,entity:this.selectedEntity})}clear(le=!0,st=!0,At=!0){this.items=[],this.selectedItem=void 0,this.selectedValue=void 0,this.selectedEntity=void 0,At&&this.inputElement&&(this.queryText=this.inputElement.nativeElement.value=""),le&&!this.isDisabled&&this.control&&this.control.setValue(this.emptyValue),this.change&&st&&this.change.emit(new Event("change")),this.cdRef.detectChanges()}isTypeSelectItem(le){return!!le.value&&!!le.text}loadSearch(le,st=!0){var At=this;return(0,t.Z)(function*(){let fn;if(At.clear(!1,st),le){const Mn="string"==typeof le?le:le.id||le.value;At.selectedValue=Mn,At.control?.setValue(Mn,{emitEvent:!1}),fn="object"==typeof le?le.id?At.dao?.entityToSelectItem(le,At.fields):le:void 0}if(At.control?.value?.length){At.searching=!0,At.cdRef.detectChanges();try{let Mn=fn||(yield At.dao?.searchKey(At.control?.value,At.fields,At.join));Mn&&(At.items=[Mn],At.selectItem(At.control?.value,!1,st))}finally{At.searching=!1}}})()}static#e=this.\u0275fac=function(st){return new(st||Me)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:Me,selectors:[["input-search"]],viewQuery:function(st,At){if(1&st&&A.Gf(Ah,5),2&st){let fn;A.iGM(fn=A.CRH())&&(At.inputElement=fn.first)}},hostVars:2,hostBindings:function(st,At){2&st&&A.Tol(At.class)},inputs:{relativeId:"relativeId",hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",value:"value",emptyValue:"emptyValue",placeholder:"placeholder",fields:"fields",join:"join",groupBy:"groupBy",where:"where",metadata:"metadata",dao:"dao",detailsButton:"detailsButton",addRoute:"addRoute",selectParams:"selectParams",onlySelect:"onlySelect",form:"form",source:"source",path:"path",required:"required",displayOnlySelected:"displayOnlySelected",displayTemplate:"displayTemplate",control:"control",size:"size",disabled:"disabled",icon:"icon",label:"label",selectRoute:"selectRoute"},outputs:{details:"details",select:"select",load:"load",change:"change"},features:[A._Bn([],[{provide:a.gN,useExisting:a.sg}]),A.qOj],decls:4,vars:13,consts:[[3,"labelPosition","labelClass","controlName","required","control","disabled","label","labelInfo","icon","bold"],["class","input-group",3,"id",4,"ngIf"],["class","dropdown",4,"ngIf"],["class","m-2 d-block w-100 border border-secondary",4,"ngIf"],[1,"input-group",3,"id"],["type","text","readonly","",1,"form-control",3,"id"],["type","button","disabled","",1,"btn","btn-outline-secondary"],["class","bi bi-check",4,"ngIf"],["class","spinner-border spinner-border-sm","role","status",4,"ngIf"],[1,"bi","bi-check"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"],[1,"dropdown"],["data-bs-toggle","dropdown","aria-expanded","false",1,"dropdown_hidden",3,"id"],[1,"dropdown-menu"],[4,"ngFor","ngForOf"],["type","text","autocomplete","off","aria-expanded","false",1,"form-control",3,"id","keydown","keyup"],["inputElement",""],["class","btn btn-outline-secondary","type","button",3,"id","disabled","click",4,"ngIf"],["class","btn btn-outline-success","type","button",3,"id","click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"click",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],["class","bi bi-search",4,"ngIf"],["class","dropdown-item text-truncate","role","button",3,"id","click",4,"ngIf","ngIfElse"],["group",""],["role","button",1,"dropdown-item","text-truncate",3,"id","click"],[1,"search-group-text"],["type","button",1,"btn","btn-outline-secondary",3,"id","disabled","click"],[1,"bi","bi-info-circle"],["type","button",1,"btn","btn-outline-success",3,"id","click"],[1,"bi","bi-plus-circle"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"bi","bi-x"],[1,"bi","bi-search"],[1,"m-2","d-block","w-100","border","border-secondary"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(st,At){1&st&&(A.TgZ(0,"input-container",0),A.YNc(1,ff,5,5,"div",1),A.YNc(2,gf,13,17,"div",2),A.qZA(),A.YNc(3,ug,2,4,"span",3)),2&st&&(A.Q6J("labelPosition",At.labelPosition)("labelClass",At.labelClass)("controlName",At.controlName)("required",At.required)("control",At.control)("disabled",At.disabled)("label",At.label)("labelInfo",At.labelInfo)("icon",At.icon)("bold",At.bold),A.xp6(1),A.Q6J("ngIf",At.isDisabled),A.xp6(1),A.Q6J("ngIf",!At.isDisabled),A.xp6(1),A.Q6J("ngIf",At.displayTemplate&&(!At.isDisplayOnlySelected||At.selectedItem)))},styles:[".dropdown_hidden[_ngcontent-%COMP%]{width:0px;margin:0;padding:0;float:left}.search-group-text[_ngcontent-%COMP%]{margin-left:5px}.search-text-invalid[_ngcontent-%COMP%], .search-text-invalid[_ngcontent-%COMP%]:focus{color:red}"]})}return Me})()},4603:(lt,_e,m)=>{"use strict";m.d(_e,{p:()=>wt});var i=m(755),t=m(2133),A=m(2307),a=m(645);const y=["inputElement"],C=["dropdownButton"];function b(K,V){1&K&&(i.TgZ(0,"button",4)(1,"div",5),i._UZ(2,"span",6),i.qZA(),i._uU(3," carregando . . . "),i.qZA())}function F(K,V){if(1&K&&i._UZ(0,"i"),2&K){const J=i.oxw(2);i.Tol(J.current.icon)}}function j(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"input",20),i.NdJ("change",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onFilterChange())}),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("formControl",J.filterControl)("id",J.generatedId(J.controlName)+"_live")}}function N(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"li")(1,"a",21),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onItemClick(oe.itemNullButton))}),i._uU(2),i.qZA()()}if(2&K){const J=i.oxw(2);i.xp6(1),i.ekj("active",J.isActive(J.itemNullButton)),i.Q6J("id",J.generatedId(J.controlName)+"_item_null"),i.xp6(1),i.hij(" ",J.itemNullButton.value," ")}}function x(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"li")(1,"a",21),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onItemClick(oe.itemTodosButton))}),i._uU(2),i.qZA()()}if(2&K){const J=i.oxw(2);i.xp6(1),i.ekj("active",J.isActive(J.itemTodosButton)),i.Q6J("id",J.generatedId(J.controlName)+"_item_todos"),i.xp6(1),i.hij(" ",J.itemTodosButton.value," ")}}function H(K,V){if(1&K&&i._UZ(0,"i"),2&K){const J=i.oxw(2).$implicit;i.Tol(J.icon)}}function k(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"li")(1,"a",22),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw().$implicit,ye=i.oxw(2);return i.KtG(ye.onItemClick(oe))}),i.YNc(2,H,1,2,"i",11),i._uU(3),i.qZA()()}if(2&K){const J=i.oxw().$implicit,ae=i.oxw(2);i.xp6(1),i.Udp("color",ae.isNoColor?void 0:J.color||"#000000"),i.ekj("active",ae.isActive(ae.itemTodosButton)),i.Q6J("id",ae.generatedId(ae.controlName)+"_"+ae.getStringId(J.key)),i.xp6(1),i.Q6J("ngIf",!ae.isNoIcon&&J.icon),i.xp6(1),i.hij(" ",J.value," ")}}function P(K,V){if(1&K&&(i.ynx(0),i.YNc(1,k,4,7,"li",3),i.BQk()),2&K){const J=V.$implicit,ae=i.oxw(2);i.xp6(1),i.Q6J("ngIf",ae.itemVisible(J))}}function X(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"button",23),i.NdJ("click",function(oe){i.CHM(J);const ye=i.oxw(2);return i.KtG(ye.onAddClick(oe))}),i._UZ(1,"i",24),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("id",J.generatedId(J.controlName)+"_route_button")}}function me(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"button",25),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onSearchClick(oe.searchRoute))}),i._UZ(1,"i"),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("id",J.generatedId(J.controlName)+"_search_button"),i.xp6(1),i.Tol(J.searchButtonIcon||"bi bi-search")}}function Oe(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"button",26),i.NdJ("click",function(oe){i.CHM(J);const ye=i.oxw(2);return i.KtG(ye.onDetailsClick(oe))}),i._UZ(1,"i"),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("id",J.generatedId(J.controlName)+"_details_button")("disabled",J.selectedItem?void 0:"true"),i.xp6(1),i.Tol(J.detailsButtonIcon||"bi-info-circle")}}function Se(K,V){if(1&K&&(i.ynx(0),i.TgZ(1,"div",7)(2,"div",8)(3,"button",9,10),i.YNc(5,F,1,2,"i",11),i.TgZ(6,"span",12),i._uU(7),i.qZA()(),i.TgZ(8,"div",13),i.YNc(9,j,1,2,"input",14),i.TgZ(10,"ul",15),i.YNc(11,N,3,4,"li",3),i.YNc(12,x,3,4,"li",3),i.YNc(13,P,2,1,"ng-container",16),i.qZA()()(),i.TgZ(14,"div"),i.YNc(15,X,2,1,"button",17),i.YNc(16,me,2,3,"button",18),i.YNc(17,Oe,2,4,"button",19),i.qZA()(),i.BQk()),2&K){const J=i.oxw();i.xp6(2),i.uIk("title",J.current.value),i.xp6(1),i.Udp("color",J.isNoColor?void 0:J.current.color||"#000000"),i.Q6J("id",J.generatedId(J.controlName))("disabled",J.isDisabled),i.xp6(2),i.Q6J("ngIf",!J.isNoIcon&&J.current.icon),i.xp6(1),i.ekj("input-select-label-icon",!J.isNoIcon&&J.current.icon),i.xp6(1),i.Oqu(J.current.value),i.xp6(1),i.Udp("width",J.dropdownWidth,"px"),i.uIk("aria-labelledby",J.generatedId(J.controlName)),i.xp6(1),i.Q6J("ngIf",J.isLiveSearch),i.xp6(1),i.Udp("max-height",J.listHeight,"px"),i.xp6(1),i.Q6J("ngIf",J.isNullable),i.xp6(1),i.Q6J("ngIf",J.isTodos),i.xp6(1),i.Q6J("ngForOf",J.items),i.xp6(2),i.Q6J("ngIf",J.addRoute&&J.dao),i.xp6(1),i.Q6J("ngIf",J.isSearch),i.xp6(1),i.Q6J("ngIf",J.isDetails)}}let wt=(()=>{class K extends a.M{set where(J){JSON.stringify(this._where)!=JSON.stringify(J)&&(this._where=J,this.loadItems())}get where(){return this._where}set itemTodos(J){this.itemTodosButton.value!=J&&(this.itemTodosButton.value=J)}get itemTodos(){return this.itemTodosButton.value}set itemNull(J){this.itemNullButton.value!=J&&(this.itemNullButton.value=J)}get itemNull(){return this.itemNullButton.value}set valueTodos(J){this.itemTodosButton.key!=J&&(this.itemTodosButton.key=J)}get valueTodos(){return this.itemTodosButton.key}set items(J){JSON.stringify(this._items)!=JSON.stringify(J)&&(this._items=J,this.setValue(this.currentValue),this.detectChanges())}get items(){return this._items}set control(J){this._control=J}get control(){return this.getControl()}set loading(J){this._loading!=J&&(this._loading=J,this.detectChanges())}get loading(){return this._loading}set size(J){this.setSize(J)}get size(){return this.getSize()}constructor(J){super(J),this.injector=J,this.class="form-group",this.change=new i.vpe,this.details=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.value=void 0,this.icon="bi bi-menu-button-wide",this.label="",this.labelInfo="",this.bold=!1,this.fields=[],this.dao=void 0,this.listHeight=200,this._items=[],this._loading=!1,this._where=void 0,this.filterControl=new t.NI(""),this.itemNullButton={key:null,value:" - "},this.itemTodosButton={key:void 0,value:""},this.itemDesconhecidoButton={key:"UNKNOW",value:""},this.go=J.get(A.o)}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>{this.dao&&this.loadItems(),this.control&&(this.control.valueChanges.subscribe(J=>this.setValue(J)),this.setValue(this.control.value))})}get isFullEntity(){return null!=this.fullEntity}get isNullable(){return null!=this.nullable}get isTodos(){return!!this.itemTodos?.length}get isNoIcon(){return null!=this.noIcon}get isNoColor(){return null!=this.noColor}get isLiveSearch(){return null!=this.liveSearch}get dropdownWidth(){return this.dropdownButton?.nativeElement.offsetWidth||10}isActive(J){return J.key==this.current.value}getStringId(J){return this.util.onlyAlphanumeric(JSON.stringify(J))}get currentValue(){return this.control?this.control.value:this.value}get current(){return this.isNullable&&null==this.currentValue?this.itemNullButton:this.isTodos&&this.currentValue==this.valueTodos?this.itemTodosButton:this.selectedItem?this.selectedItem:this.itemDesconhecidoButton}get selectedItem(){return this.items.find(J=>J.key==this.currentValue)}onFilterChange(){this.cdRef.detectChanges()}itemVisible(J){return(!this.filterControl.value?.length||new RegExp(this.filterControl.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i").test(J.value))&&(!this.filter?.length||this.filter.includes(J.key))}getSelectItemValue(J){return(this.fields.length?this.fields:this.dao?.inputSearchConfig.searchFields||[]).map(ae=>J[ae]).join(" - ")}loadItems(){this.loading=!0,this.detectChanges(),this.isFullEntity?this.dao?.query({where:this.where}).asPromise().then(J=>{this.loading=!1,this.items=J.map(ae=>({key:ae.id,value:this.getSelectItemValue(ae),data:ae}))||[]}):this.dao?.searchText("",this.fields.length?this.fields:void 0,this.where,this.orderBy).then(J=>{this.loading=!1,this.items=J.map(ae=>({key:ae.value,value:ae.text}))||[]})}get isDetails(){return void 0!==this.detailsButton}get isSearch(){return void 0!==this.searchButton}setValue(J){(this.control&&this.control.value!=J||this.value!=J)&&(this.value=J,this.control&&this.control.setValue(J),this.change&&this.change.emit(new Event("change")))}onDetailsClick(J){if(this.details&&(this.isNullable||typeof this.currentValue<"u")){const ae=this.items.find(oe=>oe.key==this.currentValue);this.details.emit({value:ae?.key,text:ae?.value||"",entity:ae?.data})}}onItemClick(J){this.setValue(J.key)}onAddClick(J){const ae=this.addRoute;ae.params=Object.assign(ae.params||{},{modal:!0}),this.go.navigate(this.addRoute,{modalClose:oe=>{oe?.length&&(this.control?.setValue(oe),this.loadItems())}})}onSearchClick(J){const ae=J;ae.params=Object.assign(ae?.params||{},{modal:!0}),this.go.navigate(J,{metadata:{selectable:!0},modalClose:oe=>{oe&&this.afterSearch&&this.afterSearch(oe)}})}static#e=this.\u0275fac=function(ae){return new(ae||K)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:K,selectors:[["input-select"]],viewQuery:function(ae,oe){if(1&ae&&(i.Gf(y,5),i.Gf(C,5)),2&ae){let ye;i.iGM(ye=i.CRH())&&(oe.inputElement=ye.first),i.iGM(ye=i.CRH())&&(oe.dropdownButton=ye.first)}},hostVars:2,hostBindings:function(ae,oe){2&ae&&i.Tol(oe.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",value:"value",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",fields:"fields",fullEntity:"fullEntity",dao:"dao",addRoute:"addRoute",searchRoute:"searchRoute",afterSearch:"afterSearch",form:"form",source:"source",path:"path",nullable:"nullable",noIcon:"noIcon",noColor:"noColor",liveSearch:"liveSearch",detailsButton:"detailsButton",detailsButtonIcon:"detailsButtonIcon",searchButton:"searchButton",searchButtonIcon:"searchButtonIcon",listHeight:"listHeight",prefix:"prefix",sufix:"sufix",required:"required",filter:"filter",orderBy:"orderBy",where:"where",itemTodos:"itemTodos",itemNull:"itemNull",valueTodos:"valueTodos",items:"items",control:"control",loading:"loading",size:"size"},outputs:{change:"change",details:"details"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:4,vars:12,consts:[[3,"labelPosition","labelClass","controlName","required","control","disabled","label","labelInfo","icon","bold"],[1,"input-group","dropdown"],["class","btn btn-light w-100","disabled","",4,"ngIf"],[4,"ngIf"],["disabled","",1,"btn","btn-light","w-100"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"],[1,"d-flex","w-100"],["data-bs-toggle","tooltip",1,"flex-grow-1","w-100"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-light","dropdown-toggle","w-100",3,"id","disabled"],["dropdownButton",""],[3,"class",4,"ngIf"],[1,"input-select-label","ms-1"],[1,"dropdown-menu","p-0"],["type","text","class","form-control","placeholder","Filtrar...",3,"formControl","id","change",4,"ngIf"],[1,"input-select-no-dots","p-0","m-0","input-select-list"],[4,"ngFor","ngForOf"],["class","btn btn-outline-success","type","button",3,"id","click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"id","click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"id","disabled","click",4,"ngIf"],["type","text","placeholder","Filtrar...",1,"form-control",3,"formControl","id","change"],[1,"dropdown-item",3,"id","click"],[1,"dropdown-item","text-wrap","text-break",3,"id","click"],["type","button",1,"btn","btn-outline-success",3,"id","click"],[1,"bi","bi-plus-circle"],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],["type","button",1,"btn","btn-outline-secondary",3,"id","disabled","click"]],template:function(ae,oe){1&ae&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,b,4,0,"button",2),i.YNc(3,Se,18,21,"ng-container",3),i.qZA()()),2&ae&&(i.Q6J("labelPosition",oe.labelPosition)("labelClass",oe.labelClass)("controlName",oe.controlName)("required",oe.required)("control",oe.control)("disabled",oe.disabled)("label",oe.label)("labelInfo",oe.labelInfo)("icon",oe.icon)("bold",oe.bold),i.xp6(2),i.Q6J("ngIf",oe.loading),i.xp6(1),i.Q6J("ngIf",!oe.loading))},styles:[".input-select-no-dots[_ngcontent-%COMP%]{list-style-type:none}.input-select-list[_ngcontent-%COMP%]{overflow:overlay}.bootstrap-select[_ngcontent-%COMP%]{padding:0}.input-select-label[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:left;width:calc(100% - 15px);display:inline-block;line-height:1;max-width:350px}.input-select-label-icon[_ngcontent-%COMP%]{width:calc(100% - 30px)!important}"]})}return K})()},8820:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>Oe});var i=m(755),t=m(2133),A=m(645);const a=["checkbox"];function y(Se,wt){if(1&Se&&i._UZ(0,"i"),2&Se){const K=i.oxw(3);i.Tol(K.icon)}}function C(Se,wt){if(1&Se&&i._UZ(0,"i",8),2&Se){const K=i.oxw(3);i.s9C("title",K.labelInfo)}}function b(Se,wt){if(1&Se&&(i.TgZ(0,"label",6),i.YNc(1,y,1,2,"i",1),i._uU(2),i.YNc(3,C,1,1,"i",7),i.qZA()),2&Se){const K=i.oxw(2);i.ekj("me-3","small"==K.scale)("me-5","medium"==K.scale),i.s9C("for",K.generatedId(K.controlName)),i.xp6(1),i.Q6J("ngIf",K.icon.length),i.xp6(1),i.hij(" ",K.label," "),i.xp6(1),i.Q6J("ngIf",K.labelInfo.length)}}function F(Se,wt){if(1&Se){const K=i.EpF();i.TgZ(0,"input",9,10),i.NdJ("change",function(J){i.CHM(K);const ae=i.oxw(2);return i.KtG(ae.onChange(J))}),i.qZA()}if(2&Se){const K=i.oxw(2);i.Tol("form-check-input "+K.scaleClass),i.Q6J("id",K.generatedId(K.controlName)),i.uIk("disabled",!!K.isDisabled||void 0)}}function j(Se,wt){if(1&Se&&i._UZ(0,"i"),2&Se){const K=i.oxw(3);i.Tol(K.icon)}}function N(Se,wt){if(1&Se&&i._UZ(0,"i",8),2&Se){const K=i.oxw(3);i.s9C("title",K.labelInfo)}}function x(Se,wt){if(1&Se&&(i.TgZ(0,"label",11),i.YNc(1,j,1,2,"i",1),i._uU(2),i.YNc(3,N,1,1,"i",7),i.qZA()),2&Se){const K=i.oxw(2);i.s9C("for",K.generatedId(K.controlName)),i.xp6(1),i.Q6J("ngIf",K.icon.length),i.xp6(1),i.hij(" ",K.label," "),i.xp6(1),i.Q6J("ngIf",K.labelInfo.length)}}function H(Se,wt){if(1&Se&&(i.TgZ(0,"div"),i.YNc(1,b,4,8,"label",3),i.YNc(2,F,2,4,"input",4),i.YNc(3,x,4,4,"label",5),i.qZA()),2&Se){const K=i.oxw();i.Tol(K.containerClass),i.xp6(1),i.Q6J("ngIf","left"==K.labelPosition),i.xp6(1),i.Q6J("ngIf",K.viewInit),i.xp6(1),i.Q6J("ngIf","right"==K.labelPosition)}}function k(Se,wt){if(1&Se){const K=i.EpF();i.TgZ(0,"input",13,10),i.NdJ("change",function(J){i.CHM(K);const ae=i.oxw(2);return i.KtG(ae.onChange(J))}),i.qZA()}if(2&Se){const K=i.oxw(2);i.Q6J("id",K.generatedId(K.controlName)),i.uIk("disabled",!!K.isDisabled||void 0)}}function P(Se,wt){if(1&Se&&i._UZ(0,"i"),2&Se){const K=i.oxw(2);i.Tol(K.buttonIcon)}}function X(Se,wt){if(1&Se&&(i.ynx(0),i.YNc(1,k,2,2,"input",12),i.TgZ(2,"label"),i.YNc(3,P,1,2,"i",1),i._uU(4),i.qZA(),i.BQk()),2&Se){const K=i.oxw();i.xp6(1),i.Q6J("ngIf",K.viewInit),i.xp6(1),i.Tol("d-block btn "+(K.buttonColor||"btn-outline-success")),i.uIk("for",K.generatedId(K.controlName)),i.xp6(1),i.Q6J("ngIf",null==K.buttonIcon?null:K.buttonIcon.length),i.xp6(1),i.hij(" ",K.buttonCaption||""," ")}}const me=function(){return["right","left"]};let Oe=(()=>{class Se extends A.M{set value(K){this.setValue(K)}get value(){return this.getValue()}set control(K){this._control=K}get control(){return this.getControl()}set size(K){this.setSize(K)}get size(){return this.getSize()}constructor(K){super(K),this.injector=K,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.scale="medium"}get scaleClass(){return"large"==this.scale?"switch-lg":"small"==this.scale?"switch-sm":"switch-md"}get containerClass(){return"form-check form-switch d-flex align-items-center"+("left"==this.labelPosition?" p-0 text-end justify-content-end me-2":"")}updateValue(K){this.value=K,this.checkbox&&(this.checkbox.nativeElement.checked=this.valueOn?this.valueOn==K:!!K)}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(this.updateValue.bind(this)),this.value=this.control.value),this.updateValue(this.value)}get isButton(){return null!=this.button}onChange(K){const V=K.target.checked?this.valueOn||!0:this.valueOff||!1;this.control?.setValue(V),this.updateValue(V),this.change&&this.change.emit(K)}ngOnInit(){super.ngOnInit()}static#e=this.\u0275fac=function(V){return new(V||Se)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:Se,selectors:[["input-switch"]],viewQuery:function(V,J){if(1&V&&i.Gf(a,5),2&V){let ae;i.iGM(ae=i.CRH())&&(J.checkbox=ae.first)}},hostVars:2,hostBindings:function(V,J){2&V&&i.Tol(J.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",form:"form",source:"source",path:"path",valueOn:"valueOn",valueOff:"valueOff",button:"button",buttonIcon:"buttonIcon",buttonColor:"buttonColor",buttonCaption:"buttonCaption",scale:"scale",required:"required",value:"value",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:3,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","disabled","label","labelInfo","icon","bold","hostClass"],[3,"class",4,"ngIf"],[4,"ngIf"],["class","form-check-label",3,"me-3","me-5","for",4,"ngIf"],["type","checkbox",3,"class","id","change",4,"ngIf"],["class","form-check-label ms-2",3,"for",4,"ngIf"],[1,"form-check-label",3,"for"],["class","bi bi-info-circle label-info text-muted","data-bs-toggle","tooltip","data-bs-placement","top",3,"title",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted",3,"title"],["type","checkbox",3,"id","change"],["checkbox",""],[1,"form-check-label","ms-2",3,"for"],["class","btn-check","type","checkbox",3,"id","change",4,"ngIf"],["type","checkbox",1,"btn-check",3,"id","change"]],template:function(V,J){1&V&&(i.TgZ(0,"input-container",0),i.YNc(1,H,4,5,"div",1),i.YNc(2,X,5,6,"ng-container",2),i.qZA()),2&V&&(i.Q6J("labelPosition",i.DdM(13,me).includes(J.labelPosition)?"none":J.labelPosition)("labelClass",J.labelClass)("controlName",J.controlName)("required",J.required)("control",J.control)("disabled",J.disabled)("label",J.label)("labelInfo",J.labelInfo)("icon",J.icon)("bold",J.bold)("hostClass",J.hostClass),i.xp6(1),i.Q6J("ngIf",!J.isButton),i.xp6(1),i.Q6J("ngIf",J.isButton))},styles:[".switch-md[type=checkbox][_ngcontent-%COMP%]{border-radius:1.5em!important;height:30px!important;width:60px!important}.switch-lg[type=checkbox][_ngcontent-%COMP%]{border-radius:1.5em!important;height:50px!important;width:100px!important}"]})}return Se})()},2392:(lt,_e,m)=>{"use strict";m.d(_e,{m:()=>j});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(N,x){if(1&N&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&N){const H=i.oxw();i.xp6(1),i.Oqu(H.prefix)}}function C(N,x){if(1&N){const H=i.EpF();i.TgZ(0,"input",6,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("keyup",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onKeyUp(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&N){const H=i.oxw();i.Gre("form-control ",H.hostClass,""),i.ekj("text-uppercase","upper"==H.textCase)("text-lowercase","lower"==H.textCase)("text-end",H.isNumbers||H.isRight)("is-invalid",H.isInvalid()),i.Q6J("type",H.isNumbers?"number":H.isPassword?"password":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("placeholder",null!=H.placeholder&&H.placeholder.length?H.placeholder:void 0)("value",H.control?void 0:H.value)("maxlength",H.maxLength?H.maxLength:void 0)}}function b(N,x){if(1&N){const H=i.EpF();i.TgZ(0,"input",8,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("keyup",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onKeyUp(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&N){const H=i.oxw();i.Gre("form-control ",H.hostClass,""),i.ekj("text-uppercase","upper"==H.textCase)("text-lowercase","lower"==H.textCase)("text-end",H.isNumbers||H.isRight)("is-invalid",H.isInvalid()),i.Q6J("type",H.isNumbers?"number":H.isPassword?"password":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("mask",H.maskFormat)("dropSpecialCharacters",H.maskDropSpecialCharacters)("specialCharacters",H.maskSpecialCharacters)("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("placeholder",null!=H.placeholder&&H.placeholder.length?H.placeholder:void 0)("value",H.control?void 0:H.value)("maxlength",H.maxLength?H.maxLength:250)}}function F(N,x){if(1&N&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&N){const H=i.oxw();i.xp6(1),i.Oqu(H.sufix)}}let j=(()=>{class N extends A.M{set control(H){this._control=H}get control(){return this.getControl()}set size(H){this.setSize(H)}get size(){return this.getSize()}constructor(H){super(H),this.injector=H,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-textarea-t",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.textCase="",this.maxLength=250,this.maskDropSpecialCharacters=!1,this.maskSpecialCharacters=["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"]}get isNumbers(){return void 0!==this.numbers}get isRight(){return void 0!==this.right}get isPassword(){return void 0!==this.password}ngOnInit(){super.ngOnInit()}onChange(H){this.change&&this.change.emit(H)}onKeyUp(H){let k=this.inputElement.nativeElement.value;this.buffer!=k&&(this.buffer=k,this.change&&this.change.emit(H))}static#e=this.\u0275fac=function(k){return new(k||N)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:N,selectors:[["input-text"]],viewQuery:function(k,P){if(1&k&&i.Gf(a,5),2&k){let X;i.iGM(X=i.CRH())&&(P.inputElement=X.first)}},hostVars:2,hostBindings:function(k,P){2&k&&i.Tol(P.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",numbers:"numbers",password:"password",textCase:"textCase",minValue:"minValue",maxValue:"maxValue",stepValue:"stepValue",prefix:"prefix",sufix:"sufix",form:"form",source:"source",path:"path",placeholder:"placeholder",maxLength:"maxLength",maskFormat:"maskFormat",right:"right",maskDropSpecialCharacters:"maskDropSpecialCharacters",required:"required",maskSpecialCharacters:"maskSpecialCharacters",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:6,vars:15,consts:[[3,"labelPosition","labelClass","required","controlName","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","input-group-text",4,"ngIf"],[3,"type","class","text-uppercase","text-lowercase","text-end","formControl","id","is-invalid","readonly","change","keyup","keydown.enter",4,"ngIf"],[3,"type","class","text-uppercase","text-lowercase","text-end","formControl","id","is-invalid","mask","dropSpecialCharacters","specialCharacters","readonly","change","keyup","keydown.enter",4,"ngIf"],[1,"input-group-text"],[3,"type","formControl","id","readonly","change","keyup","keydown.enter"],["inputElement",""],[3,"type","formControl","id","mask","dropSpecialCharacters","specialCharacters","readonly","change","keyup","keydown.enter"]],template:function(k,P){1&k&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,y,2,1,"span",2),i.YNc(3,C,2,21,"input",3),i.YNc(4,b,2,24,"input",4),i.YNc(5,F,2,1,"span",2),i.qZA()()),2&k&&(i.Q6J("labelPosition",P.labelPosition)("labelClass",P.labelClass)("required",P.required)("controlName",P.controlName)("control",P.control)("loading",P.loading)("disabled",P.disabled)("label",P.label)("labelInfo",P.labelInfo)("icon",P.icon)("bold",P.bold),i.xp6(2),i.Q6J("ngIf",P.prefix),i.xp6(1),i.Q6J("ngIf",P.viewInit&&!P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.viewInit&&P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.sufix))},styles:["input[type=text][_ngcontent-%COMP%]:read-only, input[type=text][_ngcontent-%COMP%]:disabled{background-color:var(--bs-secondary-bg)}"]})}return N})()},4508:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>C});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(b,F){if(1&b){const j=i.EpF();i.TgZ(0,"textarea",2,3),i.NdJ("change",function(x){i.CHM(j);const H=i.oxw();return i.KtG(H.onChange(x))})("keydown.enter",function(x){i.CHM(j);const H=i.oxw();return i.KtG(H.onEnterKeyDown(x))}),i.qZA()}if(2&b){const j=i.oxw();i.ekj("text-uppercase","upper"==j.textCase)("text-lowercase","lower"==j.textCase)("is-invalid",j.isInvalid()),i.Q6J("rows",j.rows)("formControl",j.formControl)("id",j.generatedId(j.controlName))("readonly",j.isDisabled),i.uIk("placeholder",null!=j.placeholder&&j.placeholder.length?j.placeholder:void 0)("value",j.control?void 0:j.value)}}let C=(()=>{class b extends A.M{set control(j){this._control=j}get control(){return this.getControl()}set size(j){this.setSize(j)}get size(){return this.getSize()}constructor(j){super(j),this.injector=j,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-textarea",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.textCase="",this.rows=0}ngOnInit(){super.ngOnInit()}onChange(j){this.change&&this.change.emit(j)}static#e=this.\u0275fac=function(N){return new(N||b)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:b,selectors:[["input-textarea"]],viewQuery:function(N,x){if(1&N&&i.Gf(a,5),2&N){let H;i.iGM(H=i.CRH())&&(x.inputElement=H.first)}},hostVars:2,hostBindings:function(N,x){2&N&&i.Tol(x.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",textCase:"textCase",rows:"rows",form:"form",source:"source",path:"path",placeholder:"placeholder",required:"required",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:2,vars:12,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],["class","form-control",3,"rows","text-uppercase","text-lowercase","formControl","id","is-invalid","readonly","change","keydown.enter",4,"ngIf"],[1,"form-control",3,"rows","formControl","id","readonly","change","keydown.enter"],["inputElement",""]],template:function(N,x){1&N&&(i.TgZ(0,"input-container",0),i.YNc(1,y,2,12,"textarea",1),i.qZA()),2&N&&(i.Q6J("labelPosition",x.labelPosition)("labelClass",x.labelClass)("controlName",x.controlName)("required",x.required)("control",x.control)("loading",x.loading)("disabled",x.disabled)("label",x.label)("labelInfo",x.labelInfo)("icon",x.icon)("bold",x.bold),i.xp6(1),i.Q6J("ngIf",x.viewInit))},styles:["textarea[_ngcontent-%COMP%]:read-only, textarea[_ngcontent-%COMP%]:disabled{background-color:var(--bs-secondary-bg)}"]})}return b})()},3085:(lt,_e,m)=>{"use strict";m.d(_e,{u:()=>x});var i=m(755),t=m(2133),A=m(8720),a=m(9193),y=m(645);const C=["inputElement"];function b(H,k){if(1&H&&(i.TgZ(0,"div",7)(1,"label"),i._uU(2," Dias \xfateis "),i._UZ(3,"i",8),i.qZA(),i.TgZ(4,"div",9),i._UZ(5,"input",10),i.TgZ(6,"span",11),i._uU(7),i.qZA()()()),2&H){const P=i.oxw();i.xp6(1),i.uIk("for",P.generatedId(P.controlName)+"_group"),i.xp6(2),i.MGl("title","",P.hoursPerDay," horas di\xe1rias"),i.xp6(1),i.Q6J("id",P.generatedId(P.controlName)+"_group"),i.xp6(3),i.Oqu(P.getDaysInHours())}}function F(H,k){if(1&H&&(i.TgZ(0,"div",7)(1,"label"),i._uU(2,"Horas e Minutos"),i.qZA(),i.TgZ(3,"div",12),i._UZ(4,"input",13),i.TgZ(5,"span",11),i._uU(6,":"),i.qZA(),i._UZ(7,"input",14),i.qZA()()),2&H){const P=i.oxw();i.xp6(1),i.uIk("for",P.generatedId(P.controlName)+"_group_timer"),i.xp6(2),i.Q6J("id",P.generatedId(P.controlName)+"_group_timer")}}function j(H,k){if(1&H&&(i.TgZ(0,"div",7)(1,"label",15),i._uU(2,"Horas"),i.qZA(),i._UZ(3,"input",16),i.qZA()),2&H){const P=i.oxw();i.xp6(3),i.uIk("max",P.hoursPerDay)}}function N(H,k){1&H&&(i.TgZ(0,"div",7)(1,"label",17),i._uU(2,"Minutos"),i.qZA(),i._UZ(3,"input",18),i.qZA())}let x=(()=>{class H extends y.M{set control(P){this._control=P}get control(){return this.getControl()}set hoursPerDay(P){this._hoursPerDay=P,this.updateForm(this.value),this.detectChanges()}get hoursPerDay(){return this._hoursPerDay}set size(P){this.setSize(P)}get size(){return this.getSize()}constructor(P){super(P),this.injector=P,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-clock",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this._hoursPerDay=24,this.util=P.get(a.f),this.fh=P.get(A.k),this.formDropdown=this.fh.FormBuilder({days:{default:0},hours:{default:0},minutes:{default:0}})}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){if(super.ngAfterViewInit(),this.control){const P=X=>{this.updateValue(X),this.updateForm(X)};this.control.valueChanges.subscribe(P),P(this.control.value)}this.formDropdown.valueChanges.subscribe(P=>{const me=P.days*this.hoursPerDay+P.hours+Math.round(P.minutes*(100/60))/100;this.updateValue(Math.max(me,0))})}get isOnlyHours(){return void 0!==this.onlyHours}get isOnlyDays(){return void 0!==this.onlyDays}getDaysInHours(){const P=this.formDropdown.controls.days.value;return P?P*this.hoursPerDay+" horas":" - Nenhum - "}updateValue(P){this.value!=P&&(this.value=P,this.control&&this.control.value!=P&&this.control.setValue(P,{emitEvent:!1}),this.change&&this.change.emit(new Event("change")),this.cdRef.detectChanges())}updateForm(P){const X=P?this.util.decimalToTimer(P,this.isOnlyHours,this.hoursPerDay):{days:0,hours:0,minutes:0};JSON.stringify({days:this.formDropdown.controls.days.value,hours:this.formDropdown.controls.hours.value,minutes:this.formDropdown.controls.minutes.value})!=JSON.stringify(X)&&this.formDropdown.patchValue(X,{emitEvent:!1})}getButtonText(){return null!=this.value?this.util.decimalToTimerFormated(this.value,this.isOnlyHours,this.hoursPerDay):" - Vazio - "}static#e=this.\u0275fac=function(X){return new(X||H)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:H,selectors:[["input-timer"]],viewQuery:function(X,me){if(1&X&&i.Gf(C,5),2&X){let Oe;i.iGM(Oe=i.CRH())&&(me.inputElement=Oe.first)}},hostVars:2,hostBindings:function(X,me){2&X&&i.Tol(me.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",onlyHours:"onlyHours",onlyDays:"onlyDays",loading:"loading",form:"form",source:"source",path:"path",required:"required",control:"control",hoursPerDay:"hoursPerDay",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:11,vars:23,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"dropdown","d-grid"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-outline-secondary","text-end"],["inputElement",""],[1,"dropdown-menu","timer-dropdown"],[1,"px-4","py-3",3,"formGroup"],["class","mb-3",4,"ngIf"],[1,"mb-3"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info",3,"title"],[1,"input-group","mb-3",3,"id"],["type","number","formControlName","days","step","1",1,"form-control"],[1,"input-group-text"],[1,"input-group","col-6","mb-3",3,"id"],["type","number","formControlName","hours","step","1",1,"form-control"],["type","number","formControlName","minutes","step","1",1,"form-control"],["for","horas",1,"form-label"],["type","range","min","0","id","horas","formControlName","hours",1,"form-range"],["for","minutos",1,"form-label"],["type","range","min","0","max","59","id","minutos","formControlName","minutes",1,"form-range"]],template:function(X,me){1&X&&(i.TgZ(0,"input-container",0)(1,"div",1)(2,"button",2,3),i._uU(4),i.qZA(),i.TgZ(5,"div",4)(6,"form",5),i.YNc(7,b,8,4,"div",6),i.YNc(8,F,8,2,"div",6),i.YNc(9,j,4,1,"div",6),i.YNc(10,N,4,0,"div",6),i.qZA()()()()),2&X&&(i.Q6J("labelPosition",me.labelPosition)("labelClass",me.labelClass)("controlName",me.controlName)("required",me.required)("control",me.control)("loading",me.loading)("disabled",me.disabled)("label",me.label)("labelInfo",me.labelInfo)("icon",me.icon)("bold",me.bold),i.xp6(2),i.ekj("dropdown-toggle",!me.isDisabled)("disabled",me.isDisabled),i.uIk("id",me.generatedId(me.controlName)+"_timer_dropdown"),i.xp6(2),i.hij(" ",me.getButtonText()," "),i.xp6(1),i.uIk("aria-labelledby",me.generatedId(me.controlName)+"_timer_dropdown"),i.xp6(1),i.Q6J("formGroup",me.formDropdown),i.xp6(1),i.Q6J("ngIf",!me.isOnlyHours),i.xp6(1),i.Q6J("ngIf",!me.isOnlyDays),i.xp6(1),i.Q6J("ngIf",!me.isOnlyHours&&!me.isOnlyDays),i.xp6(1),i.Q6J("ngIf",!me.isOnlyDays))},styles:[".timer-dropdown[_ngcontent-%COMP%]{min-width:230px}"]})}return H})()},6152:(lt,_e,m)=>{"use strict";m.d(_e,{m:()=>pt});var i=m(8239),t=m(755),A=m(4502),a=m(9193),y=m(2307);const C=["docker"],b=function(Nt){return{docker:Nt}};function F(Nt,Jt){if(1&Nt&&t.GkF(0,11),2&Nt){const nt=t.oxw(2);t.Q6J("ngTemplateOutlet",nt.titleTemplate)("ngTemplateOutletContext",t.VKq(2,b,nt))}}function j(Nt,Jt){if(1&Nt&&t._UZ(0,"i"),2&Nt){const nt=t.oxw(2);t.Tol(nt.icon)}}function N(Nt,Jt){if(1&Nt&&(t.TgZ(0,"span",12),t._UZ(1,"i"),t._uU(2),t.qZA()),2&Nt){const nt=Jt.$implicit,ot=t.oxw(2);t.Akn(ot.getLabelStyle(nt)),t.xp6(1),t.Tol(nt.icon),t.xp6(1),t.hij(" ",nt.value," ")}}function x(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",7),t.YNc(1,F,1,4,"ng-container",8),t.YNc(2,j,1,2,"i",9),t._uU(3),t.YNc(4,N,3,5,"span",10),t.qZA()),2&Nt){const nt=t.oxw();t.xp6(1),t.Q6J("ngIf",nt.titleTemplate),t.xp6(1),t.Q6J("ngIf",null==nt.icon?null:nt.icon.length),t.xp6(1),t.hij(" ",nt.title," "),t.xp6(1),t.Q6J("ngForOf",nt.labels)}}function H(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw(2);return t.KtG(Ct.onEditClick())}),t._UZ(1,"i",17),t.qZA()}}function k(Nt,Jt){if(1&Nt&&t._UZ(0,"i",3),2&Nt){const nt=t.oxw().$implicit;t.Tol(nt.icon),t.Q6J("title",nt.hint)}}function P(Nt,Jt){1&Nt&&t._UZ(0,"hr",27)}function X(Nt,Jt){if(1&Nt&&t._UZ(0,"i"),2&Nt){const nt=t.oxw(2).$implicit;t.Tol(nt.icon)}}function me(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"a",28),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw().$implicit,He=t.oxw(4);return t.KtG(He.onButtonClick(Ct))}),t.YNc(1,X,1,2,"i",9),t._uU(2),t.qZA()}if(2&Nt){const nt=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",null==nt.icon?null:nt.icon.length),t.xp6(1),t.hij(" ",nt.label||"","")}}function Oe(Nt,Jt){if(1&Nt&&(t.TgZ(0,"li"),t.YNc(1,P,1,0,"hr",25),t.YNc(2,me,3,2,"a",26),t.qZA()),2&Nt){const nt=Jt.$implicit;t.xp6(1),t.Q6J("ngIf",nt.divider),t.xp6(1),t.Q6J("ngIf",!nt.divider)}}function Se(Nt,Jt){if(1&Nt&&(t.TgZ(0,"ul",23),t.YNc(1,Oe,3,2,"li",24),t.qZA()),2&Nt){const nt=t.oxw().$implicit,ot=t.MAs(2),Ct=t.oxw(2);t.uIk("aria-labelledby",Ct.buttonId(nt)),t.xp6(1),t.Q6J("ngForOf",Ct.getButtonItems(ot,nt))}}function wt(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"div",18)(1,"button",19,20),t.NdJ("click",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onButtonClick(He))}),t.YNc(3,k,1,3,"i",21),t._uU(4),t.qZA(),t.YNc(5,Se,2,2,"ul",22),t.qZA()}if(2&Nt){const nt=Jt.$implicit,ot=t.oxw(2);t.xp6(1),t.Tol("btn btn-sm "+(nt.color||"btn-outline-primary")),t.ekj("dropdown-toggle",ot.hasButtonItems(nt)),t.uIk("id",ot.buttonId(nt))("data-bs-toggle",ot.hasButtonItems(nt)?"dropdown":void 0),t.xp6(2),t.Q6J("ngIf",null==nt.icon?null:nt.icon.length),t.xp6(1),t.hij(" ",nt.label||""," "),t.xp6(1),t.Q6J("ngIf",ot.hasButtonItems(nt))}}function K(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",13),t.YNc(1,H,2,0,"button",14),t.YNc(2,wt,6,9,"div",15),t.qZA()),2&Nt){const nt=t.oxw();t.xp6(1),t.Q6J("ngIf",nt.isEditable&&!(null!=nt.kanban&&nt.kanban.editing)),t.xp6(1),t.Q6J("ngForOf",nt.menu)}}function V(Nt,Jt){if(1&Nt&&t.GkF(0,11),2&Nt){const nt=t.oxw(2);t.Q6J("ngTemplateOutlet",nt.editTemplate)("ngTemplateOutletContext",t.VKq(2,b,nt))}}function J(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",7),t.YNc(1,V,1,4,"ng-container",8),t.qZA()),2&Nt){const nt=t.oxw();t.xp6(1),t.Q6J("ngIf",nt.editTemplate)}}function ae(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"div",13)(1,"button",16),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw();return t.KtG(Ct.onSaveClick())}),t._UZ(2,"i",29),t.qZA(),t.TgZ(3,"button",30),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw();return t.KtG(Ct.onDeleteClick())}),t._UZ(4,"i",31),t.qZA(),t.TgZ(5,"button",32),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw();return t.KtG(Ct.onCancelClick())}),t._UZ(6,"i",33),t.qZA()()}}function oe(Nt,Jt){1&Nt&&(t.TgZ(0,"div",40)(1,"div",41),t._UZ(2,"span",42),t.qZA()())}function ye(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",43)(1,"div",44),t._UZ(2,"i",45),t._uU(3," Vazio "),t.qZA()()),2&Nt){const nt=t.oxw(2);t.xp6(1),t.Udp("height",nt.emptyCardHeight)}}function Ee(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",44),t._uU(1,"..."),t.qZA()),2&Nt){const nt=t.oxw(2);t.Udp("height",nt.emptyCardHeight,"px")}}const Ge=function(){return{}};function gt(Nt,Jt){if(1&Nt&&t.GkF(0,11),2&Nt){const nt=t.oxw(2);t.Q6J("ngTemplateOutlet",nt.placeholderTemplate)("ngTemplateOutletContext",t.DdM(2,Ge))}}function Ze(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"card",46),t.NdJ("dndStart",function(Ct){const mt=t.CHM(nt).$implicit,vt=t.oxw(2);return t.KtG(vt.onDragStart(Ct,mt))})("dndCopied",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"copy"))})("dndLinked",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"link"))})("dndMoved",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"move"))})("dndCanceled",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"none"))})("dndEnd",function(Ct){t.CHM(nt);const He=t.oxw(2);return t.KtG(He.onDragEnd(Ct))}),t.qZA()}if(2&Nt){const nt=Jt.$implicit,ot=t.oxw(2);t.Q6J("kanban",ot.kanban)("docker",ot)("item",nt)("template",ot.template)("dndDraggable",nt)("dndDisableIf",!1),t.uIk("id",nt.id)}}const Je=function(){return["card"]};function tt(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"div",34),t.NdJ("dndDrop",function(Ct){t.CHM(nt);const He=t.oxw();return t.KtG(He.onDrop(Ct,He.cards))}),t.Hsn(1),t.YNc(2,oe,3,0,"div",35),t.YNc(3,ye,4,2,"div",36),t.TgZ(4,"div",37),t.YNc(5,Ee,2,2,"div",38),t.YNc(6,gt,1,3,"ng-container",8),t.qZA(),t.YNc(7,Ze,1,7,"card",39),t.qZA()}if(2&Nt){const nt=t.oxw();t.Udp("min-height",nt.emptyCardHeight,"px"),t.Q6J("dndDropzone",t.DdM(9,Je))("dndDisableIf",nt.disableDropIf),t.xp6(2),t.Q6J("ngIf",null==nt.kanban?null:nt.kanban.loading),t.xp6(1),t.Q6J("ngIf",!(nt.cards.length||null!=nt.kanban&&nt.kanban.loading||null!=nt.kanban&&nt.kanban.dragItem)),t.xp6(2),t.Q6J("ngIf",!nt.placeholderTemplate),t.xp6(1),t.Q6J("ngIf",nt.placeholderTemplate),t.xp6(1),t.Q6J("ngForOf",nt.cards)}}const Qe=["*"];let pt=(()=>{class Nt{get class(){return"kanban-docker"+(this.collapse?" kanban-docker-collapsed":"")+(this.marginRight?" docker-margin-right":"")}set collapse(nt){nt!=this._collapse&&(this._collapse=nt,this.swimlane?.dockers&&(this.swimlane.width=this.swimlaneWidth,this.swimlane.cdRef.detectChanges()))}get collapse(){return this._collapse}get marginLeft(){return(this.swimlane?.dockers||[]).length>1&&!!this.swimlane?.dockers?.find(nt=>nt.collapse)&&this!=this.swimlane?.dockers?.get(0)}get marginRight(){return this.collapse&&(this.swimlane?.dockers||[]).length>1&&this==this.swimlane?.dockers?.last}set editing(nt){this._editing!=nt&&(this._editing=nt,this.kanban?.editingChange())}get editing(){return this._editing}set template(nt){this._template!=nt&&(this._template=nt)}get template(){return this._template||this.kanban?.template}set placeholderTemplate(nt){this._placeholderTemplate!=nt&&(this._placeholderTemplate=nt,this.cdRef.detectChanges())}get placeholderTemplate(){return this._placeholderTemplate||this.kanban?.placeholderTemplate}set kanban(nt){this._kanban!=nt&&(this._kanban=nt,this.cdRef.detectChanges())}get kanban(){return this._kanban}constructor(nt,ot,Ct,He,mt){this.swimlane=nt,this.cdRef=ot,this.util=Ct,this.go=He,this.renderer=mt,this.title="",this.cards=[],this.menu=[],this.labels=[],this.dropIf=vt=>!0,this.emptyCardHeight=65,this._editing=!1,this._collapse=!1}ngOnInit(){var nt=this;this.editing&&(0,i.Z)(function*(){yield nt.onEditClick()})()}ngAfterViewInit(){this.kanban?.editingChange(),this.swimlane&&(this.swimlane.width=this.swimlaneWidth),this.swimlane?.cdRef.detectChanges(),this.kanban?.cdRef.detectChanges()}get isEditable(){return null!=this.editable}get alone(){return!0}buttonId(nt){return"button_"+this.util.md5((nt.icon||"")+(nt.hint||"")+(nt.label||""))}onEditClick(){var nt=this;return(0,i.Z)(function*(){nt.edit&&(yield nt.edit(nt)),nt.editing=!0,nt.kanban?.cdRef.detectChanges()})()}onButtonClick(nt){nt.route?this.go.navigate(nt.route,nt.metadata):nt.onClick&&nt.onClick(this,this.swimlane)}onSaveClick(){var nt=this;return(0,i.Z)(function*(){nt.save&&(yield nt.save(nt))&&(nt.editing=!1,nt.kanban?.cdRef.detectChanges())})()}onDeleteClick(){var nt=this;return(0,i.Z)(function*(){nt.delete&&(yield nt.delete(nt)),nt.editing=!1,nt.kanban?.cdRef.detectChanges()})()}onCancelClick(){var nt=this;return(0,i.Z)(function*(){nt.cancel&&(yield nt.cancel(nt)),nt.editing=!1,nt.kanban?.cdRef.detectChanges()})()}onCollapseClick(){this.collapse=!this.collapse,this.kanban?.cdRef.detectChanges(),this.toggle&&this.toggle(this,this.collapse)}get swimlaneWidth(){const nt=this.swimlane?.dockers;return screen.width>575&&nt?.find(ot=>ot.collapse)?"max-content":"min-content"}get offsetWidth(){return this.docker?.nativeElement.offsetWidth||400}hasButtonItems(nt){return!!nt.items||!!nt.dynamicItems}getButtonItems(nt,ot){return nt.className.includes("show")&&(ot.dynamicItems&&ot.dynamicItems(this)||ot.items)||[]}onDragStart(nt,ot){this.kanban.dragItem=ot,this.cdRef.detectChanges()}get disableDropIf(){return this.kanban?.editing||!!this.kanban?.dragItem&&!this.dropIf(this.kanban.dragItem)}getLabelStyle(nt){const ot=nt.color||"#000000";return`background-color: ${ot}; color: ${this.util.contrastColor(ot)};`}onDragged(nt,ot,Ct){if(this.dragged)this.dragged(nt,ot,Ct);else if("move"===Ct){const He=ot.indexOf(nt);ot.splice(He,1)}}onDragEnd(nt){this.kanban.dragItem=void 0,this.cdRef.detectChanges()}onDrop(nt,ot){if(this.drop)this.drop(nt,ot);else if(ot&&("copy"===nt.dropEffect||"move"===nt.dropEffect)){let Ct=nt.index;typeof Ct>"u"&&(Ct=ot.length),ot.splice(Ct,0,nt.data)}}static#e=this.\u0275fac=function(ot){return new(ot||Nt)(t.Y36((0,t.Gpc)(()=>A.x)),t.Y36(t.sBO),t.Y36(a.f),t.Y36(y.o),t.Y36(t.Qsj))};static#t=this.\u0275cmp=t.Xpm({type:Nt,selectors:[["docker"]],viewQuery:function(ot,Ct){if(1&ot&&t.Gf(C,5),2&ot){let He;t.iGM(He=t.CRH())&&(Ct.docker=He.first)}},hostVars:2,hostBindings:function(ot,Ct){2&ot&&t.Tol(Ct.class)},inputs:{title:"title",key:"key",cards:"cards",menu:"menu",labels:"labels",editable:"editable",color:"color",colorStyle:"colorStyle",icon:"icon",toggle:"toggle",dragged:"dragged",drop:"drop",dropIf:"dropIf",edit:"edit",save:"save",cancel:"cancel",delete:"delete",emptyCardHeight:"emptyCardHeight",editTemplate:"editTemplate",titleTemplate:"titleTemplate",collapse:"collapse",editing:"editing",template:"template",placeholderTemplate:"placeholderTemplate"},ngContentSelectors:Qe,decls:10,vars:15,consts:[["docker",""],["dndHandle","",1,"card-header","d-flex","align-items-center","w-100","p-2"],["type","button",1,"btn","btn-sm","btn-outline-secondary","me-2",3,"click"],["data-bs-toggle","tooltip","data-bs-placement","top",3,"title"],["class","flex-fill",4,"ngIf"],["class","btn-group","role","group","aria-label","Op\xe7\xf5es",4,"ngIf"],["class","docker-fixed-size card-body p-0 px-1","dndEffectAllowed","move",3,"min-height","dndDropzone","dndDisableIf","dndDrop",4,"ngIf"],[1,"flex-fill"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"class",4,"ngIf"],["class","badge me-1","role","button",3,"style",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","button",1,"badge","me-1"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group"],["type","button","class","btn btn-sm btn-outline-primary",3,"click",4,"ngIf"],["class","btn-group","role","group",4,"ngFor","ngForOf"],["type","button",1,"btn","btn-sm","btn-outline-primary",3,"click"],["data-bs-toggle","tooltip","data-bs-placement","top","title","Editar",1,"bi","bi-gear"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"click"],["itemsButton",""],["data-bs-toggle","tooltip","data-bs-placement","top",3,"class","title",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"click"],[1,"bi","bi-check-circle"],["type","button",1,"btn","btn-sm","btn-outline-danger",3,"click"],[1,"bi","bi-trash"],["type","button",1,"btn","btn-sm","btn-outline-success",3,"click"],[1,"bi","bi-dash-circle"],["dndEffectAllowed","move",1,"docker-fixed-size","card-body","p-0","px-1",3,"dndDropzone","dndDisableIf","dndDrop"],["class","d-flex justify-content-center my-2",4,"ngIf"],["class","card my-1",4,"ngIf"],["dndPlaceholderRef","",1,"card","my-1"],["class","card-body align-middle text-center",3,"height",4,"ngIf"],["dndEffectAllowed","move","dndType","card",3,"kanban","docker","item","template","dndDraggable","dndDisableIf","dndStart","dndCopied","dndLinked","dndMoved","dndCanceled","dndEnd",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[1,"card","my-1"],[1,"card-body","align-middle","text-center"],[1,"bi","bi-slash-circle"],["dndEffectAllowed","move","dndType","card",3,"kanban","docker","item","template","dndDraggable","dndDisableIf","dndStart","dndCopied","dndLinked","dndMoved","dndCanceled","dndEnd"]],template:function(ot,Ct){1&ot&&(t.F$t(),t.TgZ(0,"div",null,0)(2,"div",1)(3,"button",2),t.NdJ("click",function(){return Ct.onCollapseClick()}),t._UZ(4,"i",3),t.qZA(),t.YNc(5,x,5,4,"div",4),t.YNc(6,K,3,2,"div",5),t.YNc(7,J,2,1,"div",4),t.YNc(8,ae,7,0,"div",5),t.qZA(),t.YNc(9,tt,8,10,"div",6),t.qZA()),2&ot&&(t.Tol("docker card mb-3 "+(Ct.color||"border-primary")),t.ekj("docker-margin-left",Ct.marginLeft)("docker-collapsed",Ct.collapse&&Ct.alone),t.uIk("style",Ct.colorStyle,t.Ckj),t.xp6(4),t.Tol("bi "+(Ct.collapse?"bi bi-plus":"bi bi-dash")),t.Q6J("title",Ct.collapse?"Expandir lista":"Contrair lista"),t.xp6(1),t.Q6J("ngIf",!Ct.editing),t.xp6(1),t.Q6J("ngIf",!(null!=Ct.kanban&&Ct.kanban.editing||Ct.collapse||Ct.editing)),t.xp6(1),t.Q6J("ngIf",Ct.editing),t.xp6(1),t.Q6J("ngIf",Ct.editing),t.xp6(1),t.Q6J("ngIf",!Ct.collapse))},styles:[".dndDropzoneDisabled[_ngcontent-%COMP%]{cursor:no-drop}@media only screen and (min-width: 576px){.docker-collapsed[_ngcontent-%COMP%]{transform:translateY(50%) rotate(90deg);transform-origin:25px 25px;margin-top:-25px;min-width:400px}.docker-fixed-size[_ngcontent-%COMP%]{width:380px}.docker-margin-left[_ngcontent-%COMP%]{margin-left:20px}}.dndDraggingSource[_ngcontent-%COMP%]{display:none}"]})}return Nt})()},8189:(lt,_e,m)=>{"use strict";m.d(_e,{C:()=>j});var i=m(4893),t=m(4502),A=m(755);const a=["kanbanContainer"],y=function(){return[]};function C(N,x){if(1&N&&(A.TgZ(0,"swimlane",6),A._UZ(1,"docker",7),A.qZA()),2&N){const H=x.$implicit,k=x.index,P=A.oxw();A.Q6J("key","SL"+k)("kanban",P)("docker",H),A.xp6(1),A.Q6J("key",k)("editable",k>0?"true":void 0)("collapse",H.collapse)("editing",!!H.editing)("title",H.title||"")("editTemplate",P.dockerEditTemplate)("toggle",P.dockerToggle)("edit",P.dockerEdit)("save",P.dockerSave)("delete",P.dockerDelete)("cancel",P.dockerCancel)("colorStyle",P.dockerColorStyle?P.dockerColorStyle(H):void 0)("dragged",P.dockerDragged)("drop",P.dockerDrop)("labels",H.labels)("menu",H.menu||A.DdM(20,y))("cards",H.cards||A.DdM(21,y))}}const b=function(){return["swimlane"]},F=["*"];let j=(()=>{class N{set loading(H){this._loading!=H&&(this._loading=H,this.cdRef.detectChanges())}get loading(){return this._loading}set template(H){this._template!=H&&(this._template=H,this.cdRef.detectChanges())}get template(){return this._template}set placeholderTemplate(H){this._placeholderTemplate!=H&&(this._placeholderTemplate=H,this.cdRef.detectChanges())}get placeholderTemplate(){return this._placeholderTemplate}constructor(H){this.cdRef=H,this.dockers=[],this.dragSwimlanes=!0,this.editing=!1,this._loading=!1}ngOnInit(){}ngAfterViewInit(){this.broadcastKanban(this.swimlanes?.toArray()||[]),this.swimlanes?.changes.pipe((0,i.g)(0)).subscribe(()=>{this.broadcastKanban(this.swimlanes?.toArray()||[])})}refreshDoubleScrollbar(){}broadcastKanban(H){for(let k of H)k.kanban=this}editingChange(){this.editing=!!this.swimlanes?.some(H=>!!H.dockers?.some(k=>k.editing))}onSwimlaneDrop(H){const k=this.dockers.indexOf(this.swimlaneDragging.docker);this.swimlaneDrop&&this.swimlaneDrop(H,k)}static#e=this.\u0275fac=function(k){return new(k||N)(A.Y36(A.sBO))};static#t=this.\u0275cmp=A.Xpm({type:N,selectors:[["kanban"]],contentQueries:function(k,P,X){if(1&k&&A.Suo(X,t.x,5),2&k){let me;A.iGM(me=A.CRH())&&(P.swimlanes=me)}},viewQuery:function(k,P){if(1&k&&A.Gf(a,5),2&k){let X;A.iGM(X=A.CRH())&&(P.kanbanContainer=X.first)}},inputs:{swimlaneDragged:"swimlaneDragged",swimlaneDrop:"swimlaneDrop",dockerToggle:"dockerToggle",dockerEdit:"dockerEdit",dockerSave:"dockerSave",dockerCancel:"dockerCancel",dockerDelete:"dockerDelete",dockerDragged:"dockerDragged",dockerDrop:"dockerDrop",dockerColorStyle:"dockerColorStyle",dockerEditTemplate:"dockerEditTemplate",useCardData:"useCardData",context:"context",dockers:"dockers",dragSwimlanes:"dragSwimlanes",loading:"loading",template:"template",placeholderTemplate:"placeholderTemplate"},ngContentSelectors:F,decls:7,vars:6,consts:[["doubleScrollBarHorizontal","always",1,"d-block","mt-2"],["doubleScrollbar",""],["dndEffectAllowed","move",1,"kanban","d-flex","flex-column","flex-md-row","flex-nowrap","justify-content-start","text-dark","mt-2",2,"min-height","410px",3,"dndDropzone","dndHorizontal","dndDisableIf","dndDrop"],["kanbanContainer",""],["placeholder","","dndPlaceholderRef","",3,"kanban"],[3,"key","kanban","docker",4,"ngFor","ngForOf"],[3,"key","kanban","docker"],[3,"key","editable","collapse","editing","title","editTemplate","toggle","edit","save","delete","cancel","colorStyle","dragged","drop","labels","menu","cards"]],template:function(k,P){1&k&&(A.F$t(),A.TgZ(0,"double-scrollbar",0,1)(2,"div",2,3),A.NdJ("dndDrop",function(me){return P.onSwimlaneDrop(me)}),A._UZ(4,"swimlane",4),A.YNc(5,C,2,22,"swimlane",5),A.Hsn(6),A.qZA()()),2&k&&(A.xp6(2),A.Q6J("dndDropzone",A.DdM(5,b))("dndHorizontal",!0)("dndDisableIf",!P.dragSwimlanes),A.xp6(2),A.Q6J("kanban",P),A.xp6(1),A.Q6J("ngForOf",P.dockers))},styles:["[_nghost-%COMP%] .draggable-card{display:block}.kanban[_ngcontent-%COMP%]{height:100%}.dndDraggingSource[_ngcontent-%COMP%]{display:none}"]})}return N})()},4502:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>N});var i=m(4575),t=m(4893),A=m(6152),a=m(755);const y=["swimlane"];function C(x,H){if(1&x){const k=a.EpF();a.TgZ(0,"div",2,3),a.NdJ("dndStart",function(X){a.CHM(k);const me=a.oxw();return a.KtG(me.onDragStart(X))})("dndMoved",function(){a.CHM(k);const X=a.oxw();return a.KtG(X.onDragged(X.key,"move"))})("dndCanceled",function(){a.CHM(k);const X=a.oxw();return a.KtG(X.onDragged(X.key,"none"))})("dndEnd",function(X){a.CHM(k);const me=a.oxw();return a.KtG(me.onDragEnd(X))}),a.Hsn(2),a.qZA()}if(2&x){const k=a.oxw();a.Tol("container-sm swimlane-container swimlane-container-min-content"+k.widthAsClass),a.Udp("min-width",k.width?void 0:k.minWidth,"px")("width",k.widthAsNumber,"px"),a.Q6J("dndDraggable",k.key)("dndDisableIf",!(null!=k.kanban&&k.kanban.dragSwimlanes))}}const b=function(){return[]};function F(x,H){if(1&x&&(a.TgZ(0,"div",4),a._UZ(1,"docker",5),a.qZA()),2&x){const k=a.oxw();a.Udp("min-width",k.width?void 0:k.minWidth,"px")("width",k.width,"px"),a.xp6(1),a.Q6J("collapse",k.swimlaneDragging.collapse)("template",null==k.kanban?null:k.kanban.template)("title",k.swimlaneDragging.title||"")("colorStyle",null!=k.kanban&&k.kanban.dockerColorStyle?k.kanban.dockerColorStyle(k.swimlaneDragging):void 0)("labels",k.swimlaneDragging.labels)("menu",k.swimlaneDragging.menu||a.DdM(11,b))("cards",k.swimlaneDragging.cards||a.DdM(12,b))}}const j=["*"];let N=(()=>{class x{set kanban(k){this._kanban!=k&&(this._kanban=k,this.broadcastKanban(this.dockers?.toArray()||[]))}get kanban(){return this._kanban}constructor(k){this.cdRef=k,this.minWidth=400,this.width="min-content",this.key="SWIMLANE_ID_"+Math.round(1e3*Math.random())}ngOnInit(){}ngAfterViewInit(){this.broadcastKanban(this.dockers?.toArray()||[]),this.dockers?.changes.pipe((0,t.g)(0)).subscribe(()=>{this.broadcastKanban(this.dockers?.toArray()||[])})}get widthAsNumber(){return"number"==typeof this.width?this.width:void 0}get widthAsClass(){return"max-content"==this.width?" swimlane-container-max-content":""}get isPlaceholder(){return null!=this.placeholder}get swimlaneDragging(){return this.kanban?.swimlaneDragging?.docker}broadcastKanban(k){for(let P of k)P.kanban=this.kanban}get isDragging(){return this.kanban.swimlaneDragging?.key==this.key}onDragStart(k){this.kanban.swimlaneDragging=this}onDragged(k,P){this.kanban?.swimlaneDragged&&this.kanban?.swimlaneDragged(k,P)}onDragEnd(k){this.kanban.swimlaneDragging=void 0,this.kanban.cdRef.detectChanges()}static#e=this.\u0275fac=function(P){return new(P||x)(a.Y36(a.sBO))};static#t=this.\u0275cmp=a.Xpm({type:x,selectors:[["swimlane"]],contentQueries:function(P,X,me){if(1&P&&(a.Suo(me,i.jk,5),a.Suo(me,A.m,5)),2&P){let Oe;a.iGM(Oe=a.CRH())&&(X.dndDraggableRef=Oe.first),a.iGM(Oe=a.CRH())&&(X.dockers=Oe)}},viewQuery:function(P,X){if(1&P&&a.Gf(y,5),2&P){let me;a.iGM(me=a.CRH())&&(X.swimlane=me.first)}},inputs:{minWidth:"minWidth",width:"width",placeholder:"placeholder",docker:"docker",key:"key",kanban:"kanban"},features:[a._Bn([i.jk])],ngContentSelectors:j,decls:2,vars:2,consts:[["dndEffectAllowed","move","dndType","swimlane",3,"class","min-width","width","dndDraggable","dndDisableIf","dndStart","dndMoved","dndCanceled","dndEnd",4,"ngIf"],["class","container-sm",3,"min-width","width",4,"ngIf"],["dndEffectAllowed","move","dndType","swimlane",3,"dndDraggable","dndDisableIf","dndStart","dndMoved","dndCanceled","dndEnd"],["swimlane",""],[1,"container-sm"],[3,"collapse","template","title","colorStyle","labels","menu","cards"]],template:function(P,X){1&P&&(a.F$t(),a.YNc(0,C,3,8,"div",0),a.YNc(1,F,2,13,"div",1)),2&P&&(a.Q6J("ngIf",!X.isPlaceholder),a.xp6(1),a.Q6J("ngIf",X.isPlaceholder&&X.swimlaneDragging))},styles:[".dndDraggingSource[_ngcontent-%COMP%]{display:none}@media only screen and (min-width: 576px){.swimlane-container[_ngcontent-%COMP%]{width:max-content;padding:0;margin-left:10px;margin-right:10px}}.swimlane-container-min-content[_ngcontent-%COMP%]{width:min-content}.swimlane-container-max-content[_ngcontent-%COMP%]{width:max-content!important}@media only screen and (min-width: 576px){ .kanban-docker{display:block;float:left}}@media only screen and (min-width: 576px){ .docker-margin-right{margin-right:20px}}@media only screen and (min-width: 576px){ .kanban-docker-collapsed{width:50px}}@media only screen and (min-width: 576px){ .docker-margin-left{margin-left:20px}}"]})}return x})()},2729:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>A});var i=m(755),t=m(1547);let A=(()=>{class a{constructor(C){this.gb=C,this.size=25,this.url=this.gb.servidorURL+"/assets/images/profile.png",this.urlError=this.gb.servidorURL+"/assets/images/profile.png"}ngOnInit(){}get profileClass(){return(this.isThumbnail?"img-thumbnail ":"rounded-circle profile-photo ")+(this.class||"")}get isThumbnail(){return null!=this.thumbnail}onError(C){C.target.src=this.urlError}get resourceUrl(){return"string"==typeof this.url?this.url?.startsWith("http")?this.url:this.gb.getResourcePath(this.url||"assets/images/profile.png"):this.url}onClick(C){this.click&&this.click()}static#e=this.\u0275fac=function(b){return new(b||a)(i.Y36(t.d))};static#t=this.\u0275cmp=i.Xpm({type:a,selectors:[["profile-picture"]],inputs:{url:"url",urlError:"urlError",size:"size",hint:"hint",thumbnail:"thumbnail",class:"class",click:"click"},decls:1,vars:6,consts:[["data-bs-toggle","tooltip","data-bs-placement","top",3,"src","error","click"]],template:function(b,F){1&b&&(i.TgZ(0,"img",0),i.NdJ("error",function(N){return F.onError(N)})("click",function(N){return F.onClick(N)}),i.qZA()),2&b&&(i.Tol(F.profileClass),i.Q6J("src",F.resourceUrl,i.LSH),i.uIk("width",F.size)("height",F.size)("title",F.hint))},styles:[".profile-photo[_ngcontent-%COMP%]{margin:-2px 2px}.img-thumbnail[_ngcontent-%COMP%]{border-radius:0% 50% 50%;width:auto;max-width:120px;border-width:8px;border-style:solid;border-color:grayscale(60%);display:block;margin:auto}"]})}return a})()},5560:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>K});var i=m(755),t=m(5736),A=m(6733),a=m(2133);function y(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"input",10,11),i.NdJ("change",function(ye){i.CHM(ae);const Ee=i.oxw(3);return i.KtG(Ee.onChange(ye))}),i.qZA()}if(2&V){const ae=i.oxw(3);i.Q6J("formControl",ae.formControl)("id",ae.generatedId(ae.title))}}function C(V,J){if(1&V&&i._UZ(0,"i"),2&V){const ae=i.oxw(3);i.Tol(ae.icon)}}function b(V,J){if(1&V&&i._UZ(0,"i",12),2&V){const ae=i.oxw(3);i.s9C("title",ae.labelInfo)}}function F(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li",5),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.YNc(1,y,2,2,"input",6),i.YNc(2,C,1,2,"i",7),i.TgZ(3,"span",8),i._uU(4),i.qZA(),i.YNc(5,b,1,1,"i",9),i.qZA()}if(2&V){const ae=i.oxw(2);i.Tol("nav-item flex-fill"+(ae.control?" form-check form-switch":"")),i.uIk("role",ae.isCollapse?"button":void 0),i.xp6(1),i.Q6J("ngIf",ae.control),i.xp6(1),i.Q6J("ngIf",null==ae.icon?null:ae.icon.length),i.xp6(1),i.ekj("font-weight-bold",ae.bold)("small",ae.isSmall),i.xp6(1),i.Oqu(ae.title),i.xp6(1),i.Q6J("ngIf",null==ae.labelInfo?null:ae.labelInfo.length)}}function j(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",13),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onButtonClick())}),i.qZA(),i._uU(2),i.qZA()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol(ae.button.icon),i.s9C("title",ae.button.hint||ae.button.label||""),i.xp6(1),i.hij(" ",ae.button.label||""," ")}}function N(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",14),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.qZA()()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol("bi "+(ae.collapsed?"bi-arrow-down-circle":"bi-arrow-up-circle"))}}function x(V,J){if(1&V&&(i.TgZ(0,"ul",2),i.YNc(1,F,6,11,"li",3),i.YNc(2,j,3,4,"li",4),i.YNc(3,N,2,2,"li",4),i.qZA()),2&V){const ae=i.oxw();i.xp6(1),i.Q6J("ngIf",ae.title.length),i.xp6(1),i.Q6J("ngIf",ae.button),i.xp6(1),i.Q6J("ngIf",ae.isCollapse)}}function H(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"input",10,11),i.NdJ("change",function(ye){i.CHM(ae);const Ee=i.oxw(3);return i.KtG(Ee.onChange(ye))}),i.qZA()}if(2&V){const ae=i.oxw(3);i.Q6J("formControl",ae.formControl)("id",ae.generatedId(ae.title))}}function k(V,J){if(1&V&&i._UZ(0,"i"),2&V){const ae=i.oxw(3);i.Tol(ae.icon)}}function P(V,J){if(1&V&&i._UZ(0,"i",12),2&V){const ae=i.oxw(3);i.s9C("title",ae.labelInfo)}}function X(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li",16),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.YNc(1,H,2,2,"input",6),i.YNc(2,k,1,2,"i",7),i.TgZ(3,"span",8),i._uU(4),i.qZA(),i.YNc(5,P,1,1,"i",9),i.qZA()}if(2&V){const ae=i.oxw(2);i.uIk("role",ae.isCollapse?"button":void 0),i.xp6(1),i.Q6J("ngIf",ae.control),i.xp6(1),i.Q6J("ngIf",null==ae.icon?null:ae.icon.length),i.xp6(1),i.ekj("font-weight-bold",ae.bold)("small",ae.isSmall),i.xp6(1),i.Oqu(ae.title),i.xp6(1),i.Q6J("ngIf",null==ae.labelInfo?null:ae.labelInfo.length)}}function me(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",13),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onButtonClick())}),i.qZA(),i._uU(2),i.qZA()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol(ae.button.icon),i.s9C("title",ae.button.hint||ae.button.label||""),i.xp6(1),i.hij(" ",ae.button.label||""," ")}}function Oe(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",14),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.qZA()()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol("bi "+(ae.collapsed?"bi-arrow-up-circle":"bi-arrow-down-circle"))}}function Se(V,J){if(1&V&&(i.TgZ(0,"ul",2),i.YNc(1,X,6,9,"li",15),i.YNc(2,me,3,4,"li",4),i.YNc(3,Oe,2,2,"li",4),i.qZA()),2&V){const ae=i.oxw();i.xp6(1),i.Q6J("ngIf",ae.title.length),i.xp6(1),i.Q6J("ngIf",ae.button),i.xp6(1),i.Q6J("ngIf",ae.isCollapse)}}const wt=["*"];let K=(()=>{class V extends t.V{constructor(ae){super(ae),this.buttonClick=new i.vpe,this.change=new i.vpe,this.title="",this.bold=!1,this.icon=void 0,this.collapse=void 0,this.transparent=void 0,this.small=void 0,this.bottom=void 0,this.button=void 0,this.collapsed=!0,this.margin=0}get formControl(){return this.control}get isCollapse(){return void 0!==this.collapse}get isSmall(){return void 0!==this.small}get isCollapsed(){return this.isCollapse&&this.collapsed}get isTransparent(){return void 0!==this.transparent}get isBottom(){return void 0!==this.bottom}onButtonClick(){this.buttonClick&&this.buttonClick.emit()}onExpandClick(){this.isCollapse&&(this.collapsed=!this.collapsed,this.cdRef.detectChanges())}onChange(ae){this.change&&this.change.emit(ae)}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:V,selectors:[["separator"]],inputs:{title:"title",bold:"bold",icon:"icon",collapse:"collapse",transparent:"transparent",small:"small",bottom:"bottom",button:"button",collapsed:"collapsed",control:"control",labelInfo:"labelInfo",margin:"margin"},outputs:{buttonClick:"buttonClick",change:"change"},features:[i.qOj],ngContentSelectors:wt,decls:4,vars:8,consts:[["class","nav nav-tabs justify-content-end my-2",4,"ngIf"],[1,"row","g-0"],[1,"nav","nav-tabs","justify-content-end","my-2"],[3,"class","click",4,"ngIf"],[4,"ngIf"],[3,"click"],["class","form-check-input switch-sm","type","checkbox",3,"formControl","id","change",4,"ngIf"],[3,"class",4,"ngIf"],[1,"h6","ms-1"],["class","bi bi-info-circle label-info text-muted ms-1","data-bs-toggle","tooltip","data-bs-placement","top",3,"title",4,"ngIf"],["type","checkbox",1,"form-check-input","switch-sm",3,"formControl","id","change"],["checkbox",""],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted","ms-1",3,"title"],["role","button","data-bs-toggle","tooltip","data-bs-placement","top",3,"title","click"],["role","button",3,"click"],["class","nav-item flex-fill",3,"click",4,"ngIf"],[1,"nav-item","flex-fill",3,"click"]],template:function(oe,ye){1&oe&&(i.F$t(),i.YNc(0,x,4,3,"ul",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,Se,4,3,"ul",0)),2&oe&&(i.Q6J("ngIf",!ye.isBottom),i.xp6(1),i.Tol(ye.margin?"pb-"+ye.margin:void 0),i.ekj("separator-background",!ye.isTransparent)("d-none",ye.isCollapsed),i.xp6(2),i.Q6J("ngIf",ye.isBottom))},dependencies:[A.O5,a.Wl,a.JJ,a.oH],styles:[".separator-background[_ngcontent-%COMP%]{background-color:var(--bs-body-bg)}@media print{[_nghost-%COMP%]{display:none!important}}"]})}return V})()},4978:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>b});var i=m(755),t=m(6733);const A=function(){return{}};function a(F,j){if(1&F&&i.GkF(0,3),2&F){const N=i.oxw(2);i.Q6J("ngTemplateOutlet",N.template)("ngTemplateOutletContext",i.DdM(2,A))}}function y(F,j){if(1&F&&(i.TgZ(0,"div",1),i.YNc(1,a,1,3,"ng-container",2),i.Hsn(2),i.qZA()),2&F){const N=i.oxw();i.ekj("d-none",!N.isActive),i.xp6(1),i.Q6J("ngIf",N.template)}}const C=["*"];let b=(()=>{class F{constructor(){this.label=""}get isActive(){return this.tabs?.active==this.key}ngOnInit(){}static#e=this.\u0275fac=function(x){return new(x||F)};static#t=this.\u0275cmp=i.Xpm({type:F,selectors:[["tab"]],inputs:{template:"template",key:"key",label:"label",icon:"icon"},ngContentSelectors:C,decls:1,vars:1,consts:[["class","my-2",3,"d-none",4,"ngIf"],[1,"my-2"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(x,H){1&x&&(i.F$t(),i.YNc(0,y,3,3,"div",0)),2&x&&i.Q6J("ngIf",(null==H.tabs?null:H.tabs.isDisplay)||H.isActive)},dependencies:[t.O5,t.tP]})}return F})()},6384:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>N});var i=m(755),t=m(5736),A=m(4978),a=m(6733);function y(x,H){if(1&x&&(i.TgZ(0,"li",4)(1,"span"),i._uU(2),i.qZA()()),2&x){const k=i.oxw(2);i.xp6(1),i.Tol(k.class_span),i.xp6(1),i.Oqu(k.title)}}function C(x,H){if(1&x&&i._UZ(0,"i"),2&x){const k=i.oxw().$implicit;i.Tol(k.icon)}}function b(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"li",5)(1,"a",6),i.NdJ("click",function(){const me=i.CHM(k).$implicit,Oe=i.oxw(2);return i.KtG(Oe.onClick(me))}),i.YNc(2,C,1,2,"i",7),i._uU(3),i.qZA()()}if(2&x){const k=H.$implicit,P=i.oxw(2);i.xp6(1),i.ekj("active",k.key==P.active),i.xp6(1),i.Q6J("ngIf",k.icon),i.xp6(1),i.hij(" ",k.value," ")}}function F(x,H){if(1&x&&(i.TgZ(0,"ul",1),i.YNc(1,y,3,3,"li",2),i.YNc(2,b,4,4,"li",3),i.qZA()),2&x){const k=i.oxw();i.ekj("justify-content-end",k.isRight),i.xp6(1),i.Q6J("ngIf",k.title.length&&k.isRight),i.xp6(1),i.Q6J("ngForOf",k.items)}}const j=["*"];let N=(()=>{class x extends t.V{set active(k){if(this._active!=k){let P=this.items.find(X=>X.key==k);P&&(this._active=k,this.cdRef.detectChanges(),this.select&&P&&this.select(P))}}get active(){return this._active}constructor(k){super(k),this.injector=k,this.items=[],this.title="",this.class_span="h3",this._active=void 0,this.cdRef=k.get(i.sBO)}get isDisplay(){return null!=this.display}get isHidden(){return null!=this.hidden}get isRight(){return null!=this.right}ngOnInit(){}ngAfterContentInit(){this.loadTabs(),this.tabsRef?.changes.subscribe(k=>this.loadTabs()),null==this.active&&this.items.length&&(this.active=this.items[0].key)}loadTabs(){this.items.splice(0,this.items.length),this.tabsRef?.forEach(k=>{k.tabs=this,this.items.push({key:k.key,value:k.label,icon:k.icon})}),this.cdRef.detectChanges()}onClick(k){this.active=k.key}static#e=this.\u0275fac=function(P){return new(P||x)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:x,selectors:[["tabs"]],contentQueries:function(P,X,me){if(1&P&&i.Suo(me,A.i,5),2&P){let Oe;i.iGM(Oe=i.CRH())&&(X.tabsRef=Oe)}},inputs:{select:"select",items:"items",title:"title",class_span:"class_span",active:"active",display:"display",hidden:"hidden",right:"right",cdRef:"cdRef"},features:[i.qOj],ngContentSelectors:j,decls:2,vars:1,consts:[["class","nav nav-tabs",3,"justify-content-end",4,"ngIf"],[1,"nav","nav-tabs"],["class","nav-item flex-fill",3,"tab-title-left",4,"ngIf"],["class","nav-item",4,"ngFor","ngForOf"],[1,"nav-item","flex-fill",3,"tab-title-left"],[1,"nav-item"],["role","button",1,"nav-link",3,"click"],[3,"class",4,"ngIf"]],template:function(P,X){1&P&&(i.F$t(),i.YNc(0,F,3,4,"ul",0),i.Hsn(1)),2&P&&i.Q6J("ngIf",!X.isHidden)},dependencies:[a.sg,a.O5]})}return x})()},5512:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>Ee});var i=m(2307),t=m(5736),A=m(1547),a=m(755),y=m(6733);function C(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(3);a.Tol(Ze.icon)}}function b(Ge,gt){if(1&Ge&&(a.TgZ(0,"h3"),a.YNc(1,C,1,2,"i",7),a._uU(2),a.qZA()),2&Ge){const Ze=a.oxw(2);a.xp6(1),a.Q6J("ngIf",Ze.icon.length),a.xp6(1),a.hij(" ",Ze.title," ")}}function F(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(2).$implicit;a.Tol(Ze.icon)}}function j(Ge,gt){if(1&Ge&&a._UZ(0,"img",15),2&Ge){const Ze=a.oxw(2).$implicit,Je=a.oxw(2);a.Q6J("src",Je.gb.getResourcePath(Ze.img),a.LSH)}}function N(Ge,gt){if(1&Ge&&(a.TgZ(0,"span",16),a._uU(1),a.qZA()),2&Ge){const Ze=a.oxw(2).$implicit;a.xp6(1),a.Oqu(Ze.badge)}}function x(Ge,gt){if(1&Ge&&(a.TgZ(0,"button",17)(1,"span",18),a._uU(2,"V"),a.qZA()()),2&Ge){const Ze=a.oxw(2).$implicit,Je=a.oxw(2);a.Tol("btn dropdown-toggle dropdown-toggle-split "+(Ze.color||"btn-outline-primary")),a.uIk("id",Je.generatedButtonId(Ze)+"_dropdown")}}function H(Ge,gt){1&Ge&&a._UZ(0,"hr",22)}function k(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(2).$implicit;a.Tol(Ze.icon)}}function P(Ge,gt){if(1&Ge){const Ze=a.EpF();a.TgZ(0,"a",23),a.NdJ("click",function(){a.CHM(Ze);const tt=a.oxw().$implicit,Qe=a.oxw(5);return a.KtG(Qe.onButtonClick(tt))}),a.YNc(1,k,1,2,"i",7),a._uU(2),a.qZA()}if(2&Ge){const Ze=a.oxw().$implicit,Je=a.oxw(5);a.Q6J("id",Je.generatedButtonId(Ze,"_item")),a.xp6(1),a.Q6J("ngIf",null==Ze.icon?null:Ze.icon.length),a.xp6(1),a.hij(" ",Ze.label||"","")}}function X(Ge,gt){if(1&Ge&&(a.TgZ(0,"li"),a.YNc(1,H,1,0,"hr",20),a.YNc(2,P,3,3,"a",21),a.qZA()),2&Ge){const Ze=gt.$implicit;a.xp6(1),a.Q6J("ngIf",Ze.divider),a.xp6(1),a.Q6J("ngIf",!Ze.divider)}}function me(Ge,gt){if(1&Ge&&(a.TgZ(0,"ul",19),a.YNc(1,X,3,2,"li",5),a.qZA()),2&Ge){const Ze=a.oxw(2).$implicit,Je=a.oxw(2);a.uIk("aria-labelledby",Je.generatedButtonId(Ze)+(Ze.items&&Ze.toggle?"_dropdown":"")),a.xp6(1),a.Q6J("ngForOf",Ze.items)}}function Oe(Ge,gt){if(1&Ge){const Ze=a.EpF();a.TgZ(0,"div",8)(1,"button",9),a.NdJ("click",function(){a.CHM(Ze);const tt=a.oxw().$implicit,Qe=a.oxw(2);return a.KtG(Qe.onButtonClick(tt))}),a.YNc(2,F,1,2,"i",7),a.YNc(3,j,1,1,"img",10),a.TgZ(4,"span",11),a._uU(5),a.qZA(),a.YNc(6,N,2,1,"span",12),a.qZA(),a.YNc(7,x,3,3,"button",13),a.YNc(8,me,2,2,"ul",14),a.qZA()}if(2&Ge){const Ze=a.oxw().$implicit,Je=a.oxw(2);a.xp6(1),a.Tol("btn "+(Ze.color||"btn-outline-primary")),a.ekj("active",Je.buttonPressed(Ze))("dropdown-toggle",Ze.items&&!Ze.toggle),a.Q6J("id",Je.generatedButtonId(Ze))("disabled",Je.buttonDisabled(Ze)),a.uIk("data-bs-toggle",Ze.items&&!Ze.toggle?"dropdown":void 0),a.xp6(1),a.Q6J("ngIf",null==Ze.icon?null:Ze.icon.length),a.xp6(1),a.Q6J("ngIf",null==Ze.img?null:Ze.img.length),a.xp6(2),a.Oqu(Ze.label||""),a.xp6(1),a.Q6J("ngIf",null==Ze.badge?null:Ze.badge.length),a.xp6(1),a.Q6J("ngIf",Ze.items&&Ze.toggle),a.xp6(1),a.Q6J("ngIf",Ze.items)}}function Se(Ge,gt){if(1&Ge&&(a.ynx(0),a.YNc(1,Oe,9,15,"div",6),a.BQk()),2&Ge){const Ze=gt.$implicit;a.xp6(1),a.Q6J("ngIf",!Ze.dynamicVisible||Ze.dynamicVisible(Ze))}}function wt(Ge,gt){1&Ge&&a._UZ(0,"hr",22)}function K(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(2).$implicit;a.Tol(Ze.icon)}}function V(Ge,gt){if(1&Ge){const Ze=a.EpF();a.TgZ(0,"a",23),a.NdJ("click",function(){a.CHM(Ze);const tt=a.oxw().$implicit,Qe=a.oxw(3);return a.KtG(Qe.onButtonClick(tt))}),a.YNc(1,K,1,2,"i",7),a._uU(2),a.qZA()}if(2&Ge){const Ze=a.oxw().$implicit,Je=a.oxw(3);a.Q6J("id",Je.generatedButtonId(Ze,"_option")),a.xp6(1),a.Q6J("ngIf",null==Ze.icon?null:Ze.icon.length),a.xp6(1),a.hij(" ",Ze.label||"","")}}function J(Ge,gt){if(1&Ge&&(a.TgZ(0,"li"),a.YNc(1,wt,1,0,"hr",20),a.YNc(2,V,3,3,"a",21),a.qZA()),2&Ge){const Ze=gt.$implicit;a.xp6(1),a.Q6J("ngIf",Ze.divider),a.xp6(1),a.Q6J("ngIf",!Ze.divider)}}function ae(Ge,gt){if(1&Ge&&(a.TgZ(0,"div",8)(1,"button",24),a._uU(2,"Op\xe7\xf5es"),a.qZA(),a.TgZ(3,"ul",19),a.YNc(4,J,3,2,"li",5),a.qZA()()),2&Ge){const Ze=a.oxw(2);a.xp6(1),a.Q6J("id",Ze.generatedId("_options")),a.xp6(2),a.uIk("aria-labelledby",Ze.generatedId("_options")),a.xp6(1),a.Q6J("ngForOf",Ze.options)}}function oe(Ge,gt){if(1&Ge&&(a.TgZ(0,"div",1),a.YNc(1,b,3,2,"h3",2),a.TgZ(2,"div",3),a.Hsn(3),a.qZA(),a.TgZ(4,"div",4),a.YNc(5,Se,2,1,"ng-container",5),a.YNc(6,ae,5,3,"div",6),a.qZA()()),2&Ge){const Ze=a.oxw();a.xp6(1),a.Q6J("ngIf",Ze.title.length),a.xp6(4),a.Q6J("ngForOf",Ze.buttons),a.xp6(1),a.Q6J("ngIf",Ze.options)}}const ye=["*"];let Ee=(()=>{class Ge extends t.V{get title(){return this._title}set title(Ze){this._title!=Ze&&(this._title=Ze,this.cdRef.detectChanges())}get buttons(){return this._buttons}set buttons(Ze){this._buttons=Ze,this.cdRef.detectChanges()}constructor(Ze){super(Ze),this.injector=Ze,this.icon="",this.visible=!0,this._title="",this.go=Ze.get(i.o),this.gb=Ze.get(A.d)}ngOnInit(){}buttonDisabled(Ze){return"function"==typeof Ze.disabled?Ze.disabled():!!Ze.disabled}buttonPressed(Ze){return!!Ze.toggle&&(Ze.pressed&&"boolean"!=typeof Ze.pressed?!!Ze.pressed(this):!!Ze.pressed)}onButtonClick(Ze){Ze.toggle&&"boolean"==typeof Ze.pressed&&(Ze.pressed=!Ze.pressed),Ze.route?this.go.navigate(Ze.route,Ze.metadata):Ze.onClick&&Ze.onClick(Ze),this.cdRef.detectChanges()}static#e=this.\u0275fac=function(Je){return new(Je||Ge)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:Ge,selectors:[["toolbar"]],inputs:{icon:"icon",options:"options",visible:"visible",title:"title",buttons:"buttons"},features:[a.qOj],ngContentSelectors:ye,decls:1,vars:1,consts:[["class","d-flex flex-column flex-md-row justify-content-end align-items-center mt-2 hidden-print",4,"ngIf"],[1,"d-flex","flex-column","flex-md-row","justify-content-end","align-items-center","mt-2","hidden-print"],[4,"ngIf"],[1,"flex-fill","d-flex","justify-content-end"],["role","group","aria-label","Button group with nested dropdown",1,"btn-group","ms-auto"],[4,"ngFor","ngForOf"],["class","btn-group","role","group",4,"ngIf"],[3,"class",4,"ngIf"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"id","disabled","click"],["height","20",3,"src",4,"ngIf"],[1,"d-none","d-md-inline-block","ms-2"],["class","badge bg-primary ms-2",4,"ngIf"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",3,"class",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],["height","20",3,"src"],[1,"badge","bg-primary","ms-2"],["type","button","data-bs-toggle","dropdown","aria-expanded","false"],[1,"visually-hidden"],[1,"dropdown-menu","dropdown-menu-end"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"],["id","btnToolbarOptions","type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-outline-secondary","dropdown-toggle",3,"id"]],template:function(Je,tt){1&Je&&(a.F$t(),a.YNc(0,oe,7,3,"div",0)),2&Je&&a.Q6J("ngIf",tt.visible)},dependencies:[y.sg,y.O5],styles:["@media print{[_nghost-%COMP%]{display:none!important}}"]})}return Ge})()},933:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>C});var i=m(5736),t=m(755),A=m(6733);function a(b,F){if(1&b){const j=t.EpF();t.TgZ(0,"button",4),t.NdJ("click",function(x){t.CHM(j);const H=t.oxw(2);return t.KtG(H.onCloseClick(x))}),t.qZA()}if(2&b){const j=t.oxw(2);t.Q6J("id",j.generatedId("_message_close_button"))}}function y(b,F){if(1&b&&(t.TgZ(0,"div",1),t._UZ(1,"i"),t.TgZ(2,"span",2),t._uU(3),t.qZA(),t.YNc(4,a,1,1,"button",3),t.qZA()),2&b){const j=t.oxw();t.Tol(j.alertClass),t.xp6(1),t.Tol(j.iconClass),t.xp6(1),t.Q6J("id",j.generatedId("_message")),t.xp6(1),t.Oqu(j.message),t.xp6(1),t.Q6J("ngIf",j.isClosable)}}let C=(()=>{class b extends i.V{constructor(j){super(j),this.injector=j,this.type="alert",this.id=this.util.md5()}ngOnInit(){}get isClosable(){return null!=this.closable}get alertClass(){return"mt-2 alert alert-"+("alert"==this.type?"primary":"success"==this.type?"success":"warning"==this.type?"warning":"danger")+(this.isClosable?" alert-dismissible fade show":"")}get iconClass(){return"me-2 bi bi-"+("alert"==this.type?"info-circle-fill":"success"==this.type?"check-circle-fill":"warning"==this.type?"exclamation-circle-fill":"exclamation-triangle-fill")}onCloseClick(j){this.lastMessage=this.message,this.close&&this.close(this.id)}static#e=this.\u0275fac=function(N){return new(N||b)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:b,selectors:[["top-alert"]],inputs:{message:"message",type:"type",closable:"closable",id:"id",close:"close"},features:[t.qOj],decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],[3,"id"],["type","button","class","btn-close","data-dismiss","alert","aria-label","Close",3,"id","click",4,"ngIf"],["type","button","data-dismiss","alert","aria-label","Close",1,"btn-close",3,"id","click"]],template:function(N,x){1&N&&t.YNc(0,y,5,7,"div",0),2&N&&t.Q6J("ngIf",x.message!=x.lastMessage)},dependencies:[A.O5]})}return b})()},4561:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Afastamento",C),this.injector=C,this.inputSearchConfig.searchFields=["observacoes"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4971:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>x});var i=m(3101),t=m(9193),A=m(6976),a=m(1193),y=m(5754),C=m(2398),b=m(7511),F=m(6229),j=m(9478),N=m(755);let x=(()=>{class H extends A.B{constructor(P){super("Atividade",P),this.injector=P,this.inputSearchConfig.searchFields=["numero","descricao"]}prazo(P,X,me,Oe){return new Promise((Se,wt)=>{this.server.post("api/"+this.collection+"/prazo",{inicio_data:t.f.dateToIso8601(P),horas:X,carga_horaria:me,unidade_id:Oe}).subscribe(K=>{Se(t.f.iso8601ToDate(K?.date))},K=>wt(K))})}getAtividade(P){return this.getById(P,["pausas","unidade","tipo_atividade","comentarios.usuario","plano_trabalho.entregas.entrega:id,nome","plano_trabalho.tipo_modalidade","plano_trabalho.documento:id,metadados","usuario","usuario.afastamentos","usuario.planos_trabalho.tipo_modalidade","tarefas.tipo_tarefa","tarefas.comentarios.usuario"])}getHierarquia(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/hierarquia",{atividade_id:P}).subscribe(Oe=>{X(this.loadHierarquiaDados(Oe))},Oe=>{console.log("Erro ao montar a hierarquia da atividade!",Oe),X([])})})}loadHierarquiaDados(P){let X=P?.hierarquia;return X.planejamento=new a.Z(this.getRow(X.planejamento)),X.cadeiaValor=new j.y(this.getRow(X.cadeiaValor)),X.entregaPlanoTrabalho=new y.U(this.getRow(X.entregaPlanoTrabalho)),X.entregasPlanoEntrega=X.entregasPlanoEntrega?.map(me=>new C.O(Object.assign(this.getRow(me)))).reverse(),X.objetivos=X.objetivos?.map(me=>new b.i(Object.assign(this.getRow(me)))).reverse(),X.processos=X.processos?.map(me=>new F.q(Object.assign(this.getRow(me)))),X.atividade=new i.a(this.getRow(X.atividade)),X}iniciadas(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/iniciadas",{usuario_id:P}).subscribe(Oe=>{X(Oe?.iniciadas||[])},Oe=>me(Oe))})}iniciar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/iniciar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}concluir(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/concluir",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}pausar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/pausar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}reiniciar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/reiniciar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}cancelarInicio(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/cancelar-inicio",{id:P}).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}cancelarConclusao(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/cancelar-conclusao",{id:P}).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}prorrogar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/prorrogar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}arquivar(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/arquivar",{id:P,arquivar:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}static#e=this.\u0275fac=function(X){return new(X||H)(N.LFG(N.zs3))};static#t=this.\u0275prov=N.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},949:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("AtividadeTarefa",C),this.injector=C}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9520:(lt,_e,m)=>{"use strict";m.d(_e,{m:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("CadeiaValor",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},7501:(lt,_e,m)=>{"use strict";m.d(_e,{k:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("CadeiaValorProcesso",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6994:(lt,_e,m)=>{"use strict";m.d(_e,{W:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Capacidade",C),this.injector=C}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8958:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Change",C),this.injector=C,this.inputSearchConfig.searchFields=["type","date_time","user_id","row_id","table_name"]}showTables(){return new Promise((C,b)=>{this.server.post("api/Petrvs/showTables",[]).subscribe(F=>{C(F.tabelas)},F=>{console.log("Erro ao buscar a lista das tabelas do banco de dados!",F),C([])})})}showResponsaveis(C){return console.log(C),new Promise((b,F)=>{this.server.post("api/Change/showResponsaveis",{usuario_ids:C}).subscribe(j=>{b(j.responsaveis)},j=>{console.log("Erro ao buscar a lista dos respons\xe1veis pelas altera\xe7\xf5es no Banco de Dados-!",j),b([])})})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},497:(lt,_e,m)=>{"use strict";m.d(_e,{l:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{dataset(C){return this.deepsFilter([{field:"codigo_ibge",label:"C\xf3digo"},{field:"nome",label:"Nome"},{field:"uf",label:"UF"}],C)}constructor(C){super("Cidade",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6976:(lt,_e,m)=>{"use strict";m.d(_e,{B:()=>wt});var C,i=m(8239),t=m(8748),A=m(1547),a=m(1454),y=m(9138),b=new Uint8Array(16);function F(){if(!C&&!(C=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return C(b)}const j=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var H=[],k=0;k<256;++k)H.push((k+256).toString(16).substr(1));const X=function P(K){var V=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,J=(H[K[V+0]]+H[K[V+1]]+H[K[V+2]]+H[K[V+3]]+"-"+H[K[V+4]]+H[K[V+5]]+"-"+H[K[V+6]]+H[K[V+7]]+"-"+H[K[V+8]]+H[K[V+9]]+"-"+H[K[V+10]]+H[K[V+11]]+H[K[V+12]]+H[K[V+13]]+H[K[V+14]]+H[K[V+15]]).toLowerCase();if(!function N(K){return"string"==typeof K&&j.test(K)}(J))throw TypeError("Stringified UUID is invalid");return J},Oe=function me(K,V,J){var ae=(K=K||{}).random||(K.rng||F)();if(ae[6]=15&ae[6]|64,ae[8]=63&ae[8]|128,V){J=J||0;for(var oe=0;oe<16;++oe)V[J+oe]=ae[oe];return V}return X(ae)};var Se=m(9193);class wt{get gb(){return this._gb=this._gb||this.injector.get(A.d),this._gb}get server(){return this._server=this._server||this.injector.get(a.N),this._server}get util(){return this._util=this._util||this.injector.get(Se.f),this._util}constructor(V,J){this.collection=V,this.injector=J,this.inputSearchConfig={searchFields:[]},this.PREFIX_URL="api"}datasource(V,J){return this.values(V,this.dataset(J))}dataset(V){return[]}values(V,J){return J.reduce((ae,oe)=>{const ye=typeof V[oe.field]>"u"||null==V[oe.field];return"OBJECT"!=oe.type||ye?"ARRAY"==oe.type&&Array.isArray(V[oe.field])?ae[oe.field]=V[oe.field].map(Ee=>this.values(Ee,oe.fields||[])):oe.type&&"VALUE"!=oe.type||ye?"TEMPLATE"!=oe.type||ye?"DATE"!=oe.type||ye?"DATETIME"!=oe.type||ye?"LAMBDA"==oe.type&&oe.lambda&&(ae[oe.field]=oe.lambda(V)):ae[oe.field]=this.util.getDateTimeFormatted(V[oe.field]):ae[oe.field]=this.util.getDateFormatted(V[oe.field]):ae[oe.field]=V[oe.field]:ae[oe.field]=oe.lookup&&oe.lookup.find(Ee=>Ee.key==V[oe.field])?.value||V[oe.field]:ae[oe.field]=this.values(V[oe.field],oe.fields||[]),ae},{})}deepsFilter(V,J){return(V=V.filter(ae=>typeof J>"u"||!["ARRAY","OBJECT"].includes(ae.type||"VALUE")||J?.includes(ae.field))).map(ae=>["ARRAY","OBJECT"].includes(ae.type||"VALUE")&&ae.dao?Object.assign(ae,{fields:ae.dao.dataset([])}):ae)}deep(V,J,ae,oe,ye){return typeof V>"u"||V.includes(J)?{field:J,label:ae,type:oe,fields:ye.dataset([])}:void 0}getSelectItemText(V){return this.inputSearchConfig.display?this.inputSearchConfig.display(V):(V||[]).join(" - ")}searchText(V,J,ae,oe){return new Promise((ye,Ee)=>{try{let Ge=J||this.inputSearchConfig.searchFields,gt=Ge.length>1&&V.indexOf(" - ")>0?V.substr(0,V.indexOf(" - ")):V;this.server.post(this.PREFIX_URL+"/"+this.collection+"/search-text",{collection:this.collection,query:gt,fields:Ge,orderBy:oe||[],where:ae||[]}).subscribe(Je=>{Je?.error?Ee(Je?.error):ye(Je?.values?.map(tt=>({value:tt[0],text:this.getSelectItemText(this.iso8601ToDate(tt[1])),order:tt[2]}))||[])},Je=>Ee(Je))}catch(Ge){Ee(Ge)}})}entityToSelectItem(V,J){const oe=this.getSelectItemText((J||this.inputSearchConfig.searchFields||[]).map(ye=>this.util.getNested(V,ye)||""));return{value:V.id,text:oe,entity:V}}searchKey(V,J,ae){return new Promise((oe,ye)=>{try{this.server.post(this.PREFIX_URL+"/"+this.collection+"/search-key",{collection:this.collection,key:V,fields:J||this.inputSearchConfig.searchFields,with:ae||[]}).subscribe(gt=>{let Ze=this.iso8601ToDate(gt?.value);oe({value:Ze.value,text:this.getSelectItemText(Ze.data),entity:Ze.entity})},gt=>ye(gt))}catch(Ee){ye(Ee)}})}getDownloadUrl(V){return new Promise((J,ae)=>{let oe=new FormData;oe.append("file",V),this.server.post(this.PREFIX_URL+"/"+this.collection+"/download-url",oe).subscribe(ye=>J(ye.url),ye=>ae(ye))})}uploadFile(V,J,ae){let oe=new FormData;return oe.append("file",ae,J),oe.append("name",J),oe.append("path",V),new Promise((ye,Ee)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/upload",oe).subscribe(Ge=>ye(Ge),Ge=>Ee(Ge))})}deleteFile(V){let J=new FormData;return J.append("file",V),new Promise((ae,oe)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/delete-file",J).subscribe(ye=>ae(ye),ye=>oe(ye))})}dataUrlToFile(V,J,ae){return(0,i.Z)(function*(){let ye=yield(yield fetch(V)).arrayBuffer();return new File([ye],J,{type:ae})})()}getDateFormatted(V){return this.util.getDateFormatted(V)}getTimeFormatted(V){return this.util.getTimeFormatted(V)}getDateTimeFormatted(V,J=" "){return this.util.getDateTimeFormatted(V,J)}validDateTime(V){return this.util.isDataValid(V)}generateUuid(){return Oe()}dateToIso8601(V){const J=ae=>{ae&&Object.entries(ae).forEach(([oe,ye])=>{ye instanceof Date?ae[oe]=Se.f.dateToIso8601(ye):Array.isArray(ye)?ye.forEach((Ee,Ge)=>{"object"==typeof Ee&&J(Ee)}):"object"==typeof ye&&J(ye)})};return V&&J(V),V}iso8601ToDate(V){const J=ae=>{ae&&Object.entries(ae).forEach(([oe,ye])=>{"string"==typeof ye&&Se.f.ISO8601_VALIDATE.test(ye)?ae[oe]=Se.f.iso8601ToDate(ye):Array.isArray(ye)?ye.forEach((Ee,Ge)=>{"object"==typeof Ee&&J(Ee)}):"object"==typeof ye&&J(ye)})};return V&&J(V),V}getById(V,J=[]){return new Promise((ae,oe)=>{V?.length?this.server.post(this.PREFIX_URL+"/"+this.collection+"/get-by-id",{id:V,with:J}).subscribe(ye=>{ae(ye.data?this.getRow(ye.data):null)},ye=>{ae(null)}):ae(null)})}getByIds(V){return new Promise((J,ae)=>{this.query({where:[["id","in",V]]},{resolve:J,reject:ae})})}mergeExtra(V,J){if(J?.merge){const ae=Object.keys(J.merge);for(let oe of V)for(let ye of ae)oe.hasOwnProperty(ye+"_id")&&J.merge[ye].hasOwnProperty(oe[ye+"_id"])&&(oe[ye]=J.merge[ye][oe[ye+"_id"]])}}getAllIds(V={},J){return new Promise((ae,oe)=>{try{this.server.post(this.PREFIX_URL+"/"+this.collection+"/get-all-ids",{where:wt.prepareWhere(V.where||[]),with:V.join||[],fields:J}).subscribe(Ee=>{if(Ee?.error)oe(Ee?.error);else{let Ge={rows:Ee?.rows||[],extra:Ee?.extra};this.mergeExtra(Ge.rows,Ge.extra),ae(Ge)}},Ee=>oe(Ee))}catch(ye){oe(ye)}})}getRow(V){return this.iso8601ToDate(V)}toPDF(V){if(V){const J=new Blob([V],{type:"application/pdf"});let ae=window.URL.createObjectURL(J);window.open(ae)}else console.error("Conte\xfado do PDF inv\xe1lido.")}getRawRow(V){return this.iso8601ToDate(V)}getRows(V,J){var ae=[];return V.rows?.length&&V.rows.forEach(oe=>{ae.push(this.getRow(oe))}),ae}static prepareWhere(V){for(const[J,ae]of V.entries())Array.isArray(ae)?wt.prepareWhere(ae):ae instanceof Date&&(V[J]=Se.f.dateToIso8601(ae));return V}intersectionWhere(V,J,ae,oe){return[[J,">=",ae],[V,"<=",oe]]}query(V={},J={}){return this.contextQuery(new y.f(this,this.collection,new t.x,V,J))}contextQuery(V){V.events.before&&V.events.before(),V.loading=!0,V.enablePrior=!1,V.enableNext=!1,(!V.cumulate||V.page<=1)&&V.subject.next(null);const J=this.server.post(this.PREFIX_URL+"/"+V.collection+"/query",{where:wt.prepareWhere(V.options.where||[]),orderBy:V.options.orderBy||[],limit:V.options.limit||0,with:V.options.join||[],deleted:V.options.deleted,page:V.page});return J.subscribe(ae=>{ae.error?V.subject.error(ae.error):(V.rows=V.cumulate&&V.rows?.length?V.rows:[],V.rows.push(...this.getRows(ae).filter(oe=>!V.rows.find(ye=>ye.id==oe.id))),V.extra=this.iso8601ToDate(ae.extra),V.enablePrior=V.page>1,V.enableNext=!!V.options.limit&&ae.count>(V.page-1)*V.options.limit+ae.rows.length,V.loading=!1,this.mergeExtra(V.rows,V.extra),V.subject.next(V.rows),V.events.resolve&&V.events.resolve(V.rows),V.events.after&&V.events.after())},ae=>{V.subject.error(ae),this.server.errorHandle(ae,J),V.events.reject&&V.events.reject(ae)}),V}nextPage(V){V.enableNext&&(V.page++,this.contextQuery(V))}priorPage(V){V.enablePrior&&(V.page--,this.contextQuery(V))}refresh(V){return V.rows=[],this.contextQuery(V).asPromise()}prepareToSave(V,J){let ae=V;return V instanceof Date?ae=Se.f.dateToIso8601(V):"object"==typeof V&&V&&(Array.isArray(V)?V.forEach((oe,ye)=>ae[ye]=this.prepareToSave(oe)):(ae=typeof J<"u"?{}:ae,Object.entries(V).forEach(([oe,ye])=>{try{let Ee=(J||[]).filter(Ze=>(Ze+".").substring(0,oe.length+1)==oe+"."),Ge=Ee.map(Ze=>Ze.substring(oe.length+1)).filter(Ze=>Ze.length),gt="object"==typeof ye&&!(ye instanceof Date);(!J||!gt||Ee.length)&&(ae[oe]="object"==typeof ye&&ye instanceof wt?void 0:this.prepareToSave(ye,Ge.length?Ge:void 0))}catch{console.log("Erro ao tentar atribuir valor a "+oe)}}))),ae}save(V,J=[],ae){return new Promise((oe,ye)=>{try{this.server.post(this.PREFIX_URL+"/"+this.collection+"/store",{entity:this.prepareToSave(V,ae),with:J}).subscribe(Ee=>{if(Ee.error)ye(Ee.error);else{var Ge=this.getRows(Ee);oe(Ge[0])}},Ee=>ye(Ee))}catch(Ee){ye(Ee)}})}update(V,J,ae=[]){return new Promise((oe,ye)=>{J.id&&delete J.id,this.server.post(this.PREFIX_URL+"/"+this.collection+"/update",{id:V,data:this.prepareToSave(J),with:ae}).subscribe(Ee=>{if(Ee.error)ye(Ee.error);else{var Ge=this.getRows(Ee);oe(Ge[0])}},Ee=>ye(Ee))})}updateJson(V,J,ae,oe=[]){return new Promise((ye,Ee)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/update-json",{id:V,field:J,data:ae,with:oe}).subscribe(Ge=>{if(Ge.error)Ee(Ge.error);else{var gt=this.getRows(Ge);ye(gt[0])}},Ge=>Ee(Ge))})}delete(V){return new Promise((J,ae)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/destroy",{id:"string"==typeof V?V:V.id}).subscribe(oe=>{oe.error?ae(oe.error):J()},oe=>ae(oe))})}}},5026:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Documento",C),this.injector=C}documentoPendenteSei(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/pendente-sei",{id_documento:C}).subscribe(j=>{j.error?F(j.error):b(j?.data?this.getRow(j?.data):void 0)},j=>F(j))})}assinar(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/assinar",{documentos_ids:C}).subscribe(j=>{j.error&&F(j.error),b(j?.rows?this.getRows(j):void 0)},j=>F(j))})}gerarPDF(C){return new Promise((b,F)=>{this.server.getPDF("api/"+this.collection+"/gerarPDF",{documento_id:C}).subscribe(j=>{j.error?F(j.error):b(this.toPDF(j))},j=>F(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1240:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("EixoTematico",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5316:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>y});var i=m(497),t=m(6976),A=m(5255),a=m(755);let y=(()=>{class C extends t.B{constructor(F){super("Entidade",F),this.injector=F,this.usuarioDao=F.get(A.q),this.cidadeDao=F.get(i.l),this.inputSearchConfig.searchFields=["sigla","nome"]}dataset(F){return this.deepsFilter([{field:"sigla",label:"Sigla"},{field:"nome",label:"Nome"},{field:"gestor",label:"Gestor",fields:this.usuarioDao.dataset([])},{field:"gestores_substitutos",label:"Gestor substituto",fields:this.usuarioDao.dataset([]),type:"ARRAY"},{field:"cidade",label:"Cidade",dao:this.cidadeDao}],F)}generateApiKey(F){return new Promise((j,N)=>{this.server.post("api/"+this.collection+"/generate-api-key",{entidade_id:F}).subscribe(x=>{j(x?.api_public_key)},x=>N(x))})}static#e=this.\u0275fac=function(j){return new(j||C)(a.LFG(a.zs3))};static#t=this.\u0275prov=a.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},7465:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Entrega",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4317:(lt,_e,m)=>{"use strict";m.d(_e,{v:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Error",C),this.injector=C}showResponsaveis(){return new Promise((C,b)=>{this.server.post("api/Error/showResponsaveis",[]).subscribe(F=>{C(F.responsaveis)},F=>{console.log("Erro ao buscar a lista dos respons\xe1veis pelos registros de erros no Banco de Dados!",F),C([])})})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4972:(lt,_e,m)=>{"use strict";m.d(_e,{F:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Feriado",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},7909:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Integracao",C),this.injector=C,this.inputSearchConfig.searchFields=["usuario_id","data_execucao","atualizar_unidades","atualizar_servidores","atualizar_gestores"]}showResponsaveis(){return new Promise((C,b)=>{this.server.post("api/Integracao/showResponsaveis",[]).subscribe(F=>{C(F.responsaveis)},F=>{console.log("Erro ao buscar a lista dos respons\xe1veis pela execu\xe7\xe3o da Rotina de Integra\xe7\xe3o!",F),C([])})})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4166:(lt,_e,m)=>{"use strict";m.d(_e,{g:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("MaterialServico",C),this.injector=C,this.inputSearchConfig.searchFields=["codigo","referencia","descricao"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4999:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Notificacao",C),this.injector=C}naoLidas(){return new Promise((C,b)=>{this.server.post("api/"+this.collection+"/nao-lidas",{}).subscribe(F=>{C(F?.nao_lidas||0)},F=>b(F))})}marcarComoLido(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/marcar-como-lido",{destinatarios_ids:C}).subscribe(j=>{b(j?.marcadas_como_lido||0)},j=>F(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5034:(lt,_e,m)=>{"use strict";m.d(_e,{u:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Ocorrencia",C),this.injector=C}dataset(C){return this.deepsFilter([],C)}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5298:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Perfil",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5458:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Planejamento",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1058:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("PlanejamentoObjetivo",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9190:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("PlanoEntrega",C),this.injector=C,this.inputSearchConfig.searchFields=["numero","nome"]}arquivar(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/arquivar",{id:C.id,arquivar:C.arquivar}).subscribe(j=>{j.error?F(j.error):b(!!j?.success)},j=>F(j))})}avaliar(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/avaliar",{id:C.id,arquivar:C.arquivar}).subscribe(j=>{j.error?F(j.error):b(!!j?.success)},j=>F(j))})}cancelarAvaliacao(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/cancelar-avaliacao",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}cancelarConclusao(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/cancelar-conclusao",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}cancelarHomologacao(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/cancelar-homologacao",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}cancelarPlano(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/cancelar-plano",{id:C.id,justificativa:b,arquivar:C.arquivar}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}concluir(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/concluir",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}homologar(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/homologar",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}liberarHomologacao(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/liberar-homologacao",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}reativar(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/reativar",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}retirarHomologacao(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/retirar-homologacao",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}suspender(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/suspender",{id:C.id,justificativa:b}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}planosImpactadosPorAlteracaoEntrega(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/planos-impactados-por-alteracao-entrega",{entrega:C}).subscribe(j=>{j.error?F(j.error):b(j?.planos_trabalhos||[])},j=>F(j))})}permissaoIncluir(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/permissao-incluir",{unidade_id:C}).subscribe(j=>{j.error?F(j.error):b(!!j?.success)},j=>F(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1021:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("PlanoEntregaEntrega",C),this.injector=C,this.inputSearchConfig.searchFields=["descricao","destinatario"]}dataset(C){return this.deepsFilter([{field:"descricao",label:"Descri\xe7\xe3o da entrega"},{field:"data_inicio",label:"Data in\xedcio"},{field:"data_fim",label:"Data fim"},{field:"homologado",label:"Se a entrega j\xe1 foi homologada"},{field:"progresso_esperado",label:"Percentual de progesso esperado da entrega"},{field:"progresso_realizado",label:"Percentual de progesso realizado da entrega"},{field:"destinatario",label:"Destinat\xe1rio da entrega"}],C)}hierarquia(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/hierarquia",{entrega_id:C}).subscribe(j=>{b(this.loadHierarquiaDados(j.hierarquia,C))},j=>{console.log("Erro ao montar a hierarquia da entrega!",j),b([])})})}loadHierarquiaDados(C,b){const F=this.mapHierarquia(C,b),j=C.filhos?C.filhos.flatMap(N=>this.loadHierarquiaDados(N,b)):[];return C.pai?[{...this.mapHierarquia(C.pai,b),children:[{...F,children:j}]}]:[{...F,children:j}]}mapHierarquia(C,b){return{label:C.descricao,key:C.id,data:C,expanded:!0,styleClass:b==C.id?"bg-primary text-white":"",children:[]}}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4539:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>x});var i=m(6976),t=m(3101),A=m(5754),a=m(4684),y=m(762),C=m(758),b=m(9373),F=m(4368);class j extends F.X{constructor(k){super(),this.data_inicio=new Date,this.data_fim=new Date,this.descricao="",this.usuario_id="",this.plano_trabalho_id=null,this.initialization(k)}}var N=m(755);let x=(()=>{class H extends i.B{constructor(P){super("PlanoTrabalhoConsolidacao",P),this.injector=P}dataset(P){return this.deepsFilter([],P)}loadConsolidacaoDados(P){let X=P?.dados;return X.programa=new C.i(this.getRow(X.programa)),X.planoTrabalho=new y.p(this.getRow(X.planoTrabalho)),X.planoTrabalho.entregas=(X.planoTrabalho.entregas||[]).map(me=>new A.U(this.getRow(me))),X.afastamentos=X.afastamentos.map(me=>new a.i(this.getRow(me))),X.atividades=X.atividades.map(me=>new t.a(Object.assign(this.getRow(me),{plano_trabalho:X.planoTrabalho}))),X.entregas=X.planoTrabalho.entregas,X.ocorrencias=X.ocorrencias.map(me=>new j(this.getRow(me))),X.comparecimentos=X.comparecimentos.map(me=>new b.V(this.getRow(me))),X}dadosConsolidacao(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/consolidacao-dados",{id:P}).subscribe(Oe=>{Oe?.error?me(Oe?.error):X(this.loadConsolidacaoDados(Oe))},Oe=>me(Oe))})}concluir(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/concluir",{id:P}).subscribe(Oe=>{Oe?.error?me(Oe?.error):X(this.loadConsolidacaoDados(Oe))},Oe=>me(Oe))})}cancelarConclusao(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/cancelar-conclusao",{id:P}).subscribe(Oe=>{Oe?.error?me(Oe?.error):X(this.loadConsolidacaoDados(Oe))},Oe=>me(Oe))})}static#e=this.\u0275fac=function(X){return new(X||H)(N.LFG(N.zs3))};static#t=this.\u0275prov=N.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},7744:(lt,_e,m)=>{"use strict";m.d(_e,{t:()=>x});var i=m(762),t=m(6976),A=m(6075),a=m(1214),y=m(5255),C=m(2214),b=m(9702),F=m(9173),j=m(758),N=m(755);let x=(()=>{class H extends t.B{constructor(P){super("PlanoTrabalho",P),this.injector=P,this.tipoModalidadeDao=P.get(A.D),this.unidadeDao=P.get(a.J),this.usuarioDao=P.get(y.q),this.programaDao=P.get(C.w),this.planoTrabalhoEntregaDao=P.get(F.w),this.lookup=P.get(b.W),this.inputSearchConfig.searchFields=["numero","data_inicio","data_fim","usuario.nome"],this.inputSearchConfig.display=X=>"#"+X[0]+": "+this.util.getDateFormatted(X[1])+" a "+this.util.getDateFormatted(X[2])+" - "+X[3]}dataset(P){return this.deepsFilter([{field:"carga_horaria",label:"Carga hor\xe1ria di\xe1ria"},{field:"tempo_total",label:"Tempo total do plano"},{field:"tempo_proporcional",label:"Tempo proporcional (descontando afastamentos)"},{field:"data_inicio",label:"Data inicial do plano",type:"DATETIME"},{field:"data_fim",label:"Data final do plano",type:"DATETIME"},{field:"tipo_modalidade",label:"Tipo de modalidade",fields:this.tipoModalidadeDao.dataset(),type:"OBJECT"},{field:"unidade",label:"Unidade",fields:this.unidadeDao.dataset(),type:"OBJECT"},{field:"usuario",label:"Usu\xe1rio",fields:this.usuarioDao.dataset(),type:"OBJECT"},{field:"programa",label:"Programa",fields:this.programaDao.dataset(),type:"OBJECT"},{field:"entregas",label:"Entregas",fields:this.planoTrabalhoEntregaDao.dataset(),type:"ARRAY"},{field:"criterios_avaliacao",label:"Crit\xe9rios de avalia\xe7\xe3o",fields:[{field:"value",label:"Crit\xe9rio"}],type:"ARRAY"}],P)}metadadosPlano(P,X,me){return new Promise((Oe,Se)=>{this.server.post("api/"+this.collection+"/metadados-plano",{plano_trabalho_id:P,inicioPeriodo:X,fimPeriodo:me}).subscribe(wt=>{Oe(wt?.metadadosPlano||[])},wt=>Se(wt))})}getByUsuario(P,X,me=null){return new Promise((Oe,Se)=>{this.server.post("api/"+this.collection+"/get-by-usuario",{usuario_id:P,arquivados:X,plano_trabalho_id:me}).subscribe(wt=>{if(wt?.error)Se(wt?.error);else{let K=wt?.dados;K.planos=K.planos.map(V=>new i.p(this.getRow(V))),K.programas=K.programas.map(V=>new j.i(this.getRow(V))),K.planos.forEach(V=>V.programa=K.programas.find(J=>J.id==V.programa_id)),Oe(K)}},wt=>Se(wt))})}arquivar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/arquivar",{id:P.id,arquivar:P.arquivar}).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}ativar(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/ativar",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}cancelarAssinatura(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/cancelar-assinatura",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}cancelarPlano(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/cancelar-plano",{id:P.id,justificativa:X,arquivar:P.arquivar}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}enviarParaAssinatura(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/enviar-para-assinatura",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}reativar(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/reativar",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}suspender(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/suspender",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}static#e=this.\u0275fac=function(X){return new(X||H)(N.LFG(N.zs3))};static#t=this.\u0275prov=N.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},9173:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>a});var i=m(6976),t=m(1021),A=m(755);let a=(()=>{class y extends i.B{constructor(b){super("PlanoTrabalhoEntrega",b),this.injector=b,this.programaEntregaEntregaDao=b.get(t.K)}dataset(b){return this.deepsFilter([{field:"descricao",label:"Descri\xe7\xe3o da entrega"},{field:"forca_trabalho",label:"Percentual da for\xe7a de trabalho"},{field:"orgao",label:"Org\xe3o externo vinculado a entrega"},{field:"meta",label:"Meta extipulada para a entrega"},{field:"entrega",label:"Entrega do plano de entrega",fields:this.programaEntregaEntregaDao.dataset(),type:"OBJECT"}],b)}static#e=this.\u0275fac=function(F){return new(F||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},2214:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Programa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}dataset(C){return this.deepsFilter([{field:"nome",label:"Nome"},{field:"normativa",label:"Normativa"},{field:"data_inicio",label:"Data in\xedcio"},{field:"data_fim",label:"Data t\xe9rmino"}],C)}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1042:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>a});var i=m(6976),t=m(5255),A=m(755);let a=(()=>{class y extends i.B{constructor(b){super("ProgramaParticipante",b),this.injector=b,this.usuarioDao=b.get(t.q)}dataset(b){return this.deepsFilter([{field:"habilitado",label:"Habilitado"},{field:"usuario",label:"Usu\xe1rio",fields:this.usuarioDao.dataset(),type:"OBJECT"}],b)}quantidadePlanosTrabalhoAtivos(b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/quantidade-planos-trabalho-ativos",{ids:b}).subscribe(N=>{N.error?j(N.error):F(N.count)},N=>j(N))})}habilitar(b,F,j,N){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/habilitar",{participantes_ids:b,programa_id:F,habilitar:j,suspender_plano_trabalho:N}).subscribe(k=>{k.error?H(k.error):x(!!k?.success)},k=>H(k))})}notificar(b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/notificar",{participantes_ids:b.id,programa_id:b.programa_id,habilitado:b.habilitado}).subscribe(N=>{N.error?j(N.error):F(!!N?.success)},N=>j(N))})}static#e=this.\u0275fac=function(F){return new(F||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},9707:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Projeto",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8325:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("ProjetoTarefa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9138:(lt,_e,m)=>{"use strict";m.d(_e,{f:()=>i});let i=(()=>{class t{static#e=this.DEFAULT_LIMIT=50;set loading(a){this._loading!=a&&(this._loading=a,this.onLoadingChange&&this.onLoadingChange(a))}get loading(){return this._loading}constructor(a,y,C,b={},F={}){this.dao=a,this.collection=y,this.subject=C,this.options=b,this.events=F,this.rows=[],this.cumulate=!1,this._loading=!1,this.page=1,this.count=0,this.enablePrior=!1,this.enableNext=!1}asPromise(){return new Promise((a,y)=>this.subject.asObservable().subscribe(a,y))}firstOrDefault(a=void 0){return new Promise((y,C)=>this.subject.asObservable().subscribe(b=>y(b?.length?b[0]:a),C))}order(a){this.options.orderBy=a,this.rows=[],this.refresh()}nextPage(){this.dao.nextPage(this)}priorPage(){this.dao.priorPage(this)}refresh(){return this.dao.refresh(this)}refreshId(a,y){let C=[...this.options.join||[],...y||[]];return this.loadingId=a,this.dao.getById(a,C||[]).then(b=>{const F=this.rows.findIndex(j=>j.id==a);return b&&(F>=0?this.rows[F]=b:this.rows.push(b),this.subject.next(this.rows)),b}).finally(()=>this.loadingId=void 0)}removeId(a){const y=this.rows.findIndex(C=>C.id==a);y>=0&&this.rows.splice(y,1),this.subject.next(this.rows)}reload(a){a&&(this.options=Object.assign(this.options,a)),this.page=1,this.count=0,this.enablePrior=!1,this.enableNext=!1,this.rows=[],this.dao.contextQuery(this)}getAll(){return new Promise((a,y)=>{const C=this.options?Object.keys(this.options).filter(b=>"limit"!=b).reduce((b,F)=>(b[F]=this.options[F],b),{}):void 0;this.dao.query(C,{resolve:a,reject:y})})}getAllIds(a=[]){const y=this.options?Object.keys(this.options).filter(C=>"limit"!=C).reduce((C,b)=>(C[b]=this.options[b],C),{}):void 0;return this.dao.getAllIds(y,a)}}return t})()},9230:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Template",C),this.injector=C,this.inputSearchConfig.searchFields=["titulo"]}getDataset(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/carrega-dataset",{codigo:b,especie:C}).subscribe(N=>{F(N?.dataset)},N=>j(N))})}getReport(C,b,F){return new Promise((j,N)=>{this.server.post("api/"+this.collection+"/gera-relatorio",{entidade:C,codigo:b,params:F||[]}).subscribe(x=>{j(x?.report)},x=>N(x))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},2981:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoAtividade",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},207:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoAvaliacao",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6150:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoCapacidade",C),this.injector=C,this.inputSearchConfig.searchFields=["descricao"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8340:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoDocumento",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}atualizar(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/atualizar",{lista:C}).subscribe(j=>{b(j?.success)},j=>F(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9055:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoJustificativa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6075:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoModalidade",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}dataset(C){return this.deepsFilter([{field:"nome",label:"Nome"}],C)}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4002:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoMotivoAfastamento",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},361:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoProcesso",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}atualizar(C){return new Promise((b,F)=>{this.server.post("api/"+this.collection+"/atualizar",{lista:C}).subscribe(j=>{b(j?.success)},j=>F(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5213:(lt,_e,m)=>{"use strict";m.d(_e,{J:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoTarefa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1214:(lt,_e,m)=>{"use strict";m.d(_e,{J:()=>b});var i=m(497),t=m(6976),A=m(5316),a=m(5255),y=m(9190),C=m(755);let b=(()=>{class F extends t.B{constructor(N){super("Unidade",N),this.injector=N,this.usuarioDao=N.get(a.q),this.entidadeDao=N.get(A.i),this.cidadeDao=N.get(i.l),this.planoEntregaDao=N.get(y.r),this.inputSearchConfig.searchFields=["codigo","sigla","nome"]}dataset(N){return this.deepsFilter([{field:"codigo",label:"C\xf3digo"},{field:"sigla",label:"Sigla"},{field:"nome",label:"Nome"},{field:"gestor",label:"Gestor",fields:this.usuarioDao.dataset([]),type:"OBJECT"},{field:"gestores_substitutos",label:"Gestor substituto",fields:this.usuarioDao.dataset([]),type:"ARRAY"},{field:"entidade",label:"Entidade",dao:this.entidadeDao},{field:"cidade",label:"Cidade",dao:this.cidadeDao},{field:"texto_complementar_plano",label:"Mensagem do Plano de trabalho",type:"TEMPLATE"}],N)}metadadosArea(N,x){return new Promise((H,k)=>{this.server.post("api/"+this.collection+"/metadados-area",{unidade_id:N,programa_id:x}).subscribe(P=>{H(P?.metadadosArea||[])},P=>k(P))})}dashboards(N,x,H){return new Promise((k,P)=>{N?.length&&x.length?this.server.post("api/"+this.collection+"/dashboards",{idsUnidades:N,programa_id:x,unidadesSubordinadas:H}).subscribe(X=>{k(X?.dashboards)},X=>P(X)):k(null)})}mesmaSigla(){return new Promise((N,x)=>{this.server.post("api/"+this.collection+"/mesma-sigla",{}).subscribe(H=>{N(H?.rows||[])},H=>x(H))})}unificar(N,x){return new Promise((H,k)=>{this.server.post("api/"+this.collection+"/unificar",{correspondencias:N,exclui:x}).subscribe(P=>{H(!!P?.success)},P=>k(P))})}inativar(N,x){return new Promise((H,k)=>{this.server.post("api/"+this.collection+"/inativar",{id:N,inativo:x}).subscribe(P=>{H(!!P?.success)},P=>k(P))})}subordinadas(N){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/subordinadas",{unidade_id:N}).subscribe(k=>{x(k?.subordinadas||[])},k=>H(k))})}hierarquiaUnidades(N){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/hierarquia",{unidade_id:N}).subscribe(k=>{x(k?.unidades||[])},k=>H(k))})}unidadesFilhas(N){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/filhas",{unidade_id:N}).subscribe(k=>{x(k?.unidades||[])},k=>H(k))})}unidadesSuperiores(N){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/linhaAscendente",{unidade_id:N}).subscribe(k=>{x(k?.linhaAscendente||[])},k=>H(k))})}lotados(N){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/lotados",{unidade_id:N}).subscribe(k=>{x(k?.usuarios||[])},k=>H(k))})}lookupTodasUnidades(){return new Promise((N,x)=>{this.server.post("api/Unidade/lookup-todas-unidades",{}).subscribe(H=>{N(H?.unidades||[])},H=>x(H))})}static#e=this.\u0275fac=function(x){return new(x||F)(C.LFG(C.zs3))};static#t=this.\u0275prov=C.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},8631:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("UnidadeIntegrante",C),this.injector=C,this.inputSearchConfig.searchFields=[]}carregarIntegrantes(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/carregar-integrantes",{unidade_id:C,usuario_id:b}).subscribe(N=>{F({integrantes:N?.rows||[]})},N=>j(N))})}salvarIntegrantes(C,b){return new Promise((F,j)=>{this.server.post("api/"+this.collection+"/salvar-integrantes",{integrantesConsolidados:C,metadata:b}).subscribe(N=>{N?.error?j(N.error):F(N?.data||null)},N=>j(N))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5255:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>a});var i=m(9702),t=m(6976),A=m(755);let a=(()=>{class y extends t.B{constructor(b){super("Usuario",b),this.injector=b,this.lookup=b.get(i.W),this.inputSearchConfig.searchFields=["matricula","nome"]}dataset(b){return this.deepsFilter([{field:"nome",label:"Nome"},{field:"email",label:"E-mail"},{field:"cpf",label:"CPF"},{field:"matricula",label:"Matr\xedcula"},{field:"apelido",label:"Apelido"},{field:"telefone",label:"Telefone"},{field:"sexo",label:"Sexo",lookup:this.lookup.SEXO},{field:"situacao_funcional",label:"Situa\xe7\xe3o Funcional",lookup:this.lookup.USUARIO_SITUACAO_FUNCIONAL},{field:"texto_complementar_plano",label:"Mensagem do Plano de trabalho",type:"TEMPLATE"}],b)}calculaDataTempoUnidade(b,F,j,N,x,H,k){return new Promise((P,X)=>{this.server.post("api/Teste/calculaDataTempoUnidade",{inicio:b,fimOuTempo:F,cargaHoraria:j,unidade_id:N,tipo:x,pausas:H,afastamentos:k}).subscribe(me=>{P(me.data)},me=>{console.log("Erro no c\xe1lculo das Efemerides pelo servidor!",me),P(void 0)})})}static#e=this.\u0275fac=function(F){return new(F||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},1391:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>C});var i=m(5579),t=m(2333),A=m(5545),a=m(1547),y=m(755);let C=(()=>{class b{get gb(){return this._gb=this._gb||this.injector.get(a.d),this._gb}get auth(){return this._auth=this._auth||this.injector.get(t.e),this._auth}get dialogs(){return this._dialogs=this._dialogs||this.injector.get(A.x),this._dialogs}get router(){return this._router=this._router||this.injector.get(i.F0),this._router}constructor(j){this.injector=j}canActivate(j,N){const x=!!this.auth.usuario;let H=x;return j.data.login?H=!x||this.router.parseUrl(this.gb.initialRoute.join("/")):!x&&this.gb.requireLogged?H=new Promise((k,P)=>{const X=me=>{if(me)k(!0);else if(this.gb.isToolbar)k(!this.gb.requireLogged);else{let Oe=this.router.parseUrl("/login");const Se=Object.entries(j.queryParams||{}).reduce((K,V)=>("idroute"!=V[0]&&(K[V[0]]=V[1]),K),{});let wt={route:j.url.map(K=>K.path),params:Se};Oe.queryParams={redirectTo:JSON.stringify(wt),noSession:!0},k(Oe)}};j.queryParams?.context&&this.gb.setContexto(j.queryParams?.context,!1),this.auth.authSession().then(X).catch(me=>X(!1))}):j.data.permission&&!this.auth.hasPermissionTo(j.data.permission)&&(this.dialogs.alert("Permiss\xe3o negada","O usu\xe1rio n\xe3o tem permiss\xe3o para acessar esse recurso"),H=!1),H}static#e=this.\u0275fac=function(N){return new(N||b)(y.LFG(y.zs3))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},9084:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>A});var i=m(922),t=m(755);let A=(()=>{class a extends i.x{constructor(C){super(C,"all_pages"),this.injector=C,this.ngOnInit()}getButtonTitle(C,b){return b?.length?"Sei n\xba "+b:C?.length?"Processo "+C:"Sem processo vinculado"}getDadosDocumento(C){return this.execute("getDadosDocumento",[C])}getDadosProcesso(C){return this.execute("getDadosProcesso",[C])}openDocumentoSei(C,b){window?.open(this.auth.entidade?.url_sei||this.gb.URL_SEI+"sei/controlador.php?acao=procedimento_trabalhar&id_procedimento="+C+(b?"&id_documento="+b:""),"_blank")?.focus()}visibilidadeMenuSei(C){return this.execute("visibilidadeMenuSei",[C])}getTiposProcessos(){return this.execute("getTiposProcessos",[])}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},922:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>F});var i=m(8239),t=m(2333),A=m(5545),a=m(1547),y=m(5908),C=m(2307),b=m(755);let F=(()=>{class j{constructor(x,H){this.injector=x,this.eventName=H,this.init=!1,this.autoId=0,this.timeout=6e4,this.executions=[],this.auth=x.get(t.e),this.go=x.get(C.o),this.gb=x.get(a.d),this.lex=x.get(y.E),this.dialog=x.get(A.x)}ngOnInit(){var x=this;this.gb.isEmbedded&&(document.addEventListener(this.eventName+":angular",function(){var H=(0,i.Z)(function*(k){const P=k.detail||{type:"unknow"};switch(P.source=P.source||"extension",P.type){case"return":case"error":const X=x.executions.findIndex(me=>me.id==P.id);if(X>=0){const me=x.executions[X];clearTimeout(me.timeout),P.error?me.reject(P.error):me.resolve(P.result),x.executions.splice(X,1)}break;case"call":try{const me=yield x[P.funct](...P.params);document.dispatchEvent(new CustomEvent(x.eventName+":"+P.source,{detail:{id:P.id,type:"return",source:"angular",result:me}}))}catch(me){document.dispatchEvent(new CustomEvent(x.eventName+":"+P.source,{detail:{id:P.id,source:"angular",type:"error",error:me||{message:"unknow"}}}))}break;case"init":x.init||(x.init=!0,x.initCallback&&x.initCallback(),document.dispatchEvent(new CustomEvent(x.eventName+":extension",{detail:{type:"init",source:"angular"}})))}});return function(k){return H.apply(this,arguments)}}()),document.dispatchEvent(new CustomEvent(this.eventName+":extension",{detail:{type:"init",source:"angular"}})))}execute(x,H,k="extension"){return new Promise((P,X)=>{const me=setTimeout(()=>{const Se=this.executions.findIndex(wt=>wt.id==Oe.id);Se>=0&&(this.executions.splice(Se,1),X({message:"timeout"}))},this.timeout),Oe={id:this.autoId++,type:"call",funct:x,source:"angular",params:H};this.executions.push({id:Oe.id,timeout:me,resolve:P,reject:X}),document.dispatchEvent(new CustomEvent(this.eventName+":"+k,{detail:Oe}))})}static#e=this.\u0275fac=function(H){return new(H||j)(b.LFG(b.zs3),b.LFG("inherited"))};static#t=this.\u0275prov=b.Yz7({token:j,factory:j.\u0275fac})}return j})()},4684:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.observacoes=null,this.data_inicio=new Date,this.data_fim=new Date,this.usuario_id="",this.tipo_motivo_afastamento_id="",this.initialization(a)}}},3101:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.status_historico=[],this.numero=0,this.descricao="",this.data_distribuicao=new Date,this.tempo_planejado=0,this.carga_horaria=0,this.data_estipulada_entrega=new Date,this.data_inicio=null,this.data_entrega=null,this.esforco=0,this.tempo_despendido=null,this.data_arquivamento=null,this.status=null,this.etiquetas=[],this.checklist=[],this.prioridade=null,this.progresso=0,this.metadados=void 0,this.comentarios=[],this.pausas=[],this.tarefas=[],this.plano_trabalho_id=null,this.plano_trabalho_entrega_id=null,this.plano_trabalho_consolidacao_id=null,this.tipo_atividade_id=null,this.demandante_id="",this.usuario_id=null,this.unidade_id="",this.documento_requisicao_id=null,this.documento_entrega_id=null,this.reacoes=[],this.initialization(a)}}},4368:(lt,_e,m)=>{"use strict";m.d(_e,{X:()=>i});class i{constructor(){this.id="",this.created_at=new Date,this.updated_at=new Date,this.deleted_at=null}initialization(A){A&&Object.assign(this,A)}}},6229:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>t});var i=m(4368);class t extends i.X{find(a){throw new Error("Method not implemented.")}constructor(a){super(),this.path="",this.nome="",this.sequencia=0,this.cadeia_valor_id="",this.processo_pai_id=null,this.initialization(a)}}},9478:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.processos=[],this.data_inicio=new Date,this.data_fim=null,this.data_arquivamento=null,this.nome="",this.unidade_id="",this.entidade_id="",this.initialization(a)}}},39:(lt,_e,m)=>{"use strict";m.d(_e,{R:()=>t});var i=m(4368);class t extends i.X{constructor(){super(),this.user_id="",this.date_time="",this.table_name="",this.row_id="",this.type="",this.delta=[]}}},1597:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.texto="",this.path="",this.data_comentario=new Date,this.tipo="COMENTARIO",this.privacidade="PUBLICO",this.usuario_id="",this.comentario_id=null,this.atividade_id=null,this.atividade_tarefa_id=null,this.projeto_id=null,this.projeto_tarefa_id=null,this.plano_entrega_entrega_id=null,this.initialization(a)}}},9373:(lt,_e,m)=>{"use strict";m.d(_e,{V:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.data_comparecimento=new Date,this.detalhamento="",this.plano_trabalho_consolidacao_id="",this.unidade_id="",this.initialization(a)}}},3972:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>t});var i=m(4368);let t=(()=>{class A extends i.X{static#e=this.STATUS_GERADO="GERADO";static#t=this.STATUS_AGUARDANDO_SEI="GERADO";constructor(y){super(),this.assinaturas=[],this.numero=0,this.titulo="",this.tipo="HTML",this.especie="OUTRO",this.conteudo=null,this.metadados=null,this.link=null,this.status="GERADO",this.template=null,this.dataset=null,this.datasource=null,this.entidade_id=null,this.tipo_documento_id=null,this.tipo_processo_id=null,this.template_id=null,this.plano_trabalho_id=null,this.atividade_id=null,this.atividade_tarefa_id=null,this.initialization(y)}}return A})()},2469:(lt,_e,m)=>{"use strict";m.d(_e,{H:()=>a});var i=m(4368),t=m(2559),A=m(1340);class a extends i.X{constructor(C){super(),this.sigla="",this.nome="",this.abrangencia="NACIONAL",this.codigo_ibge=null,this.uf=null,this.carga_horaria_padrao=8,this.gravar_historico_processo=0,this.layout_formulario_atividade="COMPLETO",this.campos_ocultos_atividade=[],this.nomenclatura=[],this.url_sei="",this.notificacoes=new A.$,this.forma_contagem_carga_horaria="DIA",this.expediente=new t.z,this.gestor_id=null,this.gestor_substituto_id=null,this.cidade_id=null,this.tipo_modalidade_id=null,this.initialization(C)}}},2559:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>i});class i{constructor(A){this.domingo=[],this.segunda=[],this.terca=[],this.quarta=[],this.quinta=[],this.sexta=[],this.sabado=[],this.especial=[],A&&Object.assign(this,A)}}},3362:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.nome="",this.dia=1,this.mes=1,this.ano=null,this.recorrente=1,this.abrangencia="NACIONAL",this.codigo_ibge=null,this.entidade_id=null,this.cidade_id=null,this.uf=null,this.initialization(a)}}},1340:(lt,_e,m)=>{"use strict";m.d(_e,{$:()=>t,z:()=>A});var i=m(4368);class t{constructor(){this.enviar_petrvs=!0,this.enviar_email=!0,this.enviar_whatsapp=!0,this.nao_notificar=[]}}class A extends i.X{constructor(y){super(),this.codigo="UNKNOW",this.data_registro=new Date,this.mensagem="",this.numero=0,this.remetente_id=null,this.destinatarios=[],this.initialization(y)}}},7511:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.nome="",this.fundamentacao="",this.sequencia=0,this.path=null,this.integra_okr=!0,this.planejamento_id=null,this.eixo_tematico_id=null,this.objetivo_pai_id=null,this.objetivo_superior_id=null,this.initialization(a)}}},1193:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.data_arquivamento=null,this.data_inicio=new Date,this.data_fim=null,this.nome="",this.missao="",this.visao="",this.valores=[],this.resultados_institucionais=[],this.unidade_id=null,this.entidade_id=null,this.planejamento_superior_id=null,this.initialization(a)}}},2398:(lt,_e,m)=>{"use strict";m.d(_e,{O:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.objetivos=[],this.processos=[],this.data_inicio=new Date,this.data_fim=null,this.descricao="",this.descricao_meta="",this.descricao_entrega="",this.homologado=!1,this.meta={},this.realizado={},this.progresso_esperado=100,this.progresso_realizado=0,this.destinatario="",this.avaliacoes=[],this.comentarios=[],this.reacoes=[],this.etiquetas=[],this.checklist=[],this.entrega_id="",this.unidade_id="",this.entrega_pai_id=null,this.avaliacao_id=null,this.plano_entrega_id=null,this.initialization(a)}}},5754:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.descricao="",this.orgao=null,this.forca_trabalho=1,this.plano_trabalho_id="",this.plano_entrega_entrega_id=null,this.reacoes=[],this.initialization(a)}}},762:(lt,_e,m)=>{"use strict";m.d(_e,{p:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.carga_horaria=0,this.tempo_total=0,this.tempo_proporcional=0,this.data_inicio=new Date,this.data_fim=new Date,this.status="INCLUIDO",this.forma_contagem_carga_horaria="DIA",this.metadados=void 0,this.arquivar=!1,this.entregas=[],this.documentos=[],this.atividades=[],this.status_historico=[],this.consolidacoes=[],this.assinaturasExigidas={participante:[],gestores_unidade_executora:[],gestores_unidade_lotacao:[],gestores_entidade:[]},this.jaAssinaramTCR={participante:[],gestores_unidade_executora:[],gestores_unidade_lotacao:[],gestores_entidade:[]},this.criterios_avaliacao=[],this.programa_id="",this.usuario_id="",this.unidade_id="",this.tipo_modalidade_id="",this.documento_id=null,this.initialization(a)}}},758:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.nome="",this.normativa="",this.link_normativa="",this.config=null,this.data_inicio=new Date,this.data_fim=new Date,this.termo_obrigatorio=!0,this.prazo_max_plano_entrega=365,this.periodicidade_consolidacao="MENSAL",this.periodicidade_valor=1,this.dias_tolerancia_consolidacao=10,this.dias_tolerancia_avaliacao=20,this.dias_tolerancia_recurso_avaliacao=10,this.nota_padrao_avaliacao=null,this.checklist_avaliacao_entregas_plano_entrega=[],this.checklist_avaliacao_entregas_plano_trabalho=[],this.registra_comparecimento=1,this.plano_trabalho_assinatura_participante=1,this.plano_trabalho_assinatura_gestor_lotacao=1,this.plano_trabalho_assinatura_gestor_unidade=1,this.plano_trabalho_assinatura_gestor_entidade=0,this.plano_trabalho_criterios_avaliacao=[],this.tipo_avaliacao_plano_trabalho_id="",this.tipo_avaliacao_plano_entrega_id="",this.tipo_justificativa_id=null,this.unidade_id="",this.template_tcr_id=null,this.tipo_documento_tcr_id=null,this.initialization(a)}}},8409:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.codigo=null,this.numero=0,this.especie="OUTRO",this.titulo="",this.conteudo="",this.dataset=[],this.entidade_id=null,this.unidade_id=null,this.initialization(a)}}},3937:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>A});var i=m(4368),t=m(1340);class A extends i.X{constructor(y){super(),this.gestor=null,this.gestores_substitutos=[],this.gestores_delegados=[],this.codigo="",this.sigla="",this.nome="",this.path="",this.atividades_arquivamento_automatico=0,this.distribuicao_forma_contagem_prazos="DIAS_UTEIS",this.entrega_forma_contagem_prazos="HORAS_UTEIS",this.notificacoes=new t.$,this.etiquetas=[],this.checklist=[],this.data_inativacao=null,this.instituidora=0,this.informal=1,this.expediente=null,this.texto_complementar_plano="",this.unidade_pai_id=null,this.entidade_id=null,this.cidade_id="",this.initialization(y)}}},6898:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>a,x:()=>A});var i=m(4368),t=m(1340);class A{constructor(){this.etiquetas=[],this.menu_contexto="EXECUCAO",this.ocultar_menu_sei=!0,this.ocultar_container_petrvs=!1,this.theme="light"}}class a extends i.X{constructor(C){super(),this.gerencias_substitutas=[],this.gerencias_delegadas=[],this.participacoes_programas=[],this.nome="",this.email="",this.cpf="",this.matricula=null,this.apelido="",this.telefone=null,this.data_nascimento=new Date,this.uf="DF",this.sexo=null,this.config=new A,this.notificacoes=new t.$,this.id_google=null,this.url_foto=null,this.situacao_funcional="ATIVO_PERMANENTE",this.texto_complementar_plano="",this.nome_jornada=null,this.cod_jornada=null,this.perfil_id="",this.initialization(C)}}},929:(lt,_e,m)=>{"use strict";m.d(_e,{_:()=>P});var i=m(755),t=m(2133),A=m(5579),a=m(9702),y=m(5545),C=m(1547),b=m(9193),F=m(5908),j=m(8720),N=m(2307),x=m(8748),H=m(2333),k=m(1508);let P=(()=>{class X{set loading(Oe){Oe?this._loading||this.dialog.showSppinerOverlay(this.mensagemCarregando):this.dialog.closeSppinerOverlay(),this._loading=Oe}get loading(){return this._loading}set submitting(Oe){Oe?(!this._submitting||!this.dialog.sppinerShowing)&&this.dialog.showSppinerOverlay(this.mensagemSalvando):this.dialog.closeSppinerOverlay(),this._submitting=Oe}get submitting(){return this._submitting}get MAX_LENGTH_TEXT(){return 65500}get MIN_LENGTH_TEXT(){return 10}set title(Oe){this._title!=Oe&&(this._title=Oe,this.titleSubscriber.next(Oe))}get title(){return this._title}set usuarioConfig(Oe){this.code.length&&(this.auth.usuarioConfig={[this.code]:Oe})}get usuarioConfig(){return Object.assign(this.defaultUsuarioConfig(),this.auth.usuarioConfig[this.code]||{})}constructor(Oe){this.injector=Oe,this.action="",this.modalInterface=!0,this.shown=!1,this.JSON=JSON,this.code="",this.titleSubscriber=new x.x,this._loading=!1,this._submitting=!1,this.OPTION_INFORMACOES={icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",hint:"Informa\xe7\xf5es",color:"btn-outline-info"},this.OPTION_ALTERAR={icon:"bi bi-pencil-square",label:"Alterar",hint:"Alterar",color:"btn-outline-warning"},this.OPTION_EXCLUIR={icon:"bi bi-trash",label:"Excluir",hint:"Excluir",color:"btn-outline-danger"},this.OPTION_LOGS={icon:"bi bi-list-ul",label:"Logs",hint:"Alterar",color:"btn-outline-secondary"},this.mensagemCarregando="Carregando...",this.mensagemSalvando="Salvando...",this.breadcrumbs=[],this.backRoute={route:["home"]},this.modalWidth=1e3,this.viewInit=!1,this.options=[],this._title="",this.error=Se=>{this.dialog.topAlert(Se)},this.lookup=this.injector.get(a.W),this.router=this.injector.get(A.F0),this.route=this.injector.get(A.gz),this.fb=this.injector.get(t.qu),this.fh=this.injector.get(j.k),this.gb=this.injector.get(C.d),this.cdRef=this.injector.get(i.sBO),this.dialog=this.injector.get(y.x),this.util=this.injector.get(b.f),this.go=this.injector.get(N.o),this.lex=this.injector.get(F.E),this.auth=this.injector.get(H.e),this.entityService=Oe.get(k.c)}ngOnInit(){this.snapshot=this.snapshot||this.modalRoute||this.route.snapshot,this.urlParams=this.snapshot.paramMap,this.queryParams=this.go.decodeParam(this.snapshot.queryParams),this.metadata=this.go.getMetadata(this.snapshot.queryParams.idroute),this.url=this.snapshot.url,this.snapshot.queryParams?.idroute?.length&&this.go.setDefaultBackRoute(this.snapshot.queryParams.idroute,this.backRoute)}get isModal(){return!!this.modalRoute}ngAfterViewInit(){!this.title?.length&&this.snapshot?.data?.title?.length&&(this.title=this.snapshot.data?.title),this.modalRoute||(this.shown=!0,this.onShow&&this.onShow()),document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(function(Se){let wt=new bootstrap.Tooltip(Se,{trigger:"hover"});Se.addEventListener("click",()=>{wt.hide()})}),this.cdRef.detectChanges(),this.viewInit=!0}saveUsuarioConfig(Oe){const Se=this.storeExtra?this.storeExtra():void 0;this.usuarioConfig=Object.assign(this.usuarioConfig||{},Se||{},Oe||{})}defaultUsuarioConfig(){return{}}addOption(Oe,Se){(!Se||this.auth.hasPermissionTo(Se))&&this.options.push(Oe)}isInvalid(Oe){return!Oe||Oe.invalid&&(Oe.dirty||Oe.touched)}hasError(Oe){return!!Oe&&!!Oe.errors}errorMessage(Oe){return Oe.errors?.errorMessage}getBackRoute(){return this.backRoute?this.backRoute:this.breadcrumbs.length?this.breadcrumbs[this.breadcrumbs.length-1]:{route:[]}}close(){this.go.back(void 0,this.backRoute)}static#e=this.\u0275fac=function(Se){return new(Se||X)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:X,factory:X.\u0275fac})}return X})()},1184:(lt,_e,m)=>{"use strict";m.d(_e,{F:()=>C});var i=m(8239),t=m(2133),A=m(929),a=m(2307),y=m(755);let C=(()=>{class b extends A._{constructor(j,N,x){super(j),this.injector=j,this.action="",this.join=[],this.mensagemSalvarSucesso="Registro salvo com sucesso!",this.mensagemCarregando="Carregando dados do formul\xe1rio...",this.mensagemSalvando="Salvando dados do formul\xe1rio...",this.error=H=>{this.editableForm&&(this.editableForm.error=H)},this.clearErros=()=>{this.editableForm&&(this.editableForm.error="")},this.dao=j.get(x)}ngOnInit(){super.ngOnInit();const j=(this.url?this.url[this.url.length-1]?.path:"")||"";this.action=["edit","consult"].includes(j)?j:"new",this.id="new"!=this.action?this.urlParams.get("id"):void 0}ngAfterViewInit(){super.ngAfterViewInit(),this.onInitializeData(),this.cdRef.detectChanges()}get isNew(){return"new"==this.action}get formDisabled(){return"consult"==this.action}checkFilled(j){return!j.find(N=>!this.form.controls[N].value?.length)}onInitializeData(){var j=this;(0,i.Z)(function*(){j.loading=!0;try{if(["edit","consult"].includes(j.action)){const N=yield j.dao.getById(j.id,j.join);j.entity=N,yield j.loadData(j.entity,j.form)}else yield j.initializeData(j.form)}catch(N){j.error("Erro ao carregar dados: "+N)}finally{j.loading=!1}"edit"==j.action&&j.titleEdit&&(j.title=j.titleEdit(j.entity))})()}onSaveData(){var j=this;return(0,i.Z)(function*(){const N=j;let x;if(j.formValidation)try{x=yield j.formValidation(j.form)}catch(H){x=H}if(j.form.valid&&!x){j.submitting=!0;try{let H=yield j.saveData(j.form.value);if(H){const k="boolean"==typeof H?j.entity?.id:H instanceof a.R?H.modalResult:(yield j.dao.save(H,j.join)).id;N.modalRoute?.queryParams?.idroute?.length&&N.go.setModalResult(N.modalRoute?.queryParams?.idroute,k),N.close()}}catch(H){N.error(H.message?H.message:H)}finally{N.submitting=!1}}else j.form.markAllAsTouched(),x&&j.error(x),Object.entries(j.form.controls).forEach(([H,k])=>{k.invalid&&console.log("Validate => "+H,k.value,k.errors)})})()}onCancel(){this.close()}getControlByName(j){return this.form.controls[j]}resetForm(j){j&&Object.keys(j.controls).forEach(N=>{const x=this.form?.get(N);if(console.log(typeof x),x instanceof t.cw)this.resetForm(x);else if(x instanceof t.Oe)for(;0!==x.length;)x.removeAt(0);else x?.reset()})}static#e=this.\u0275fac=function(N){return new(N||b)(y.LFG(y.zs3),y.LFG(y.DyG),y.LFG(y.DyG))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac})}return b})()},6298:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>C});var i=m(8239),t=m(2133),A=m(929),a=m(2307),y=m(755);let C=(()=>{class b extends A._{set control(j){this._control!=j&&(this._control=j)}get control(){return this._control}set entity(j){this._entity!=j&&(this._entity=j,this.fakeControl.setValue(this.entityToControl(j)),this.viewInit&&this.loadData(j,this.form))}get entity(){return this._entity}set noPersist(j){this._noPersist!=j&&(this._noPersist=j)}get noPersist(){return this._noPersist}constructor(j){super(j),this.injector=j,this.action="",this._entity=void 0,this._noPersist=void 0,this._control=void 0,this.fakeControl=new t.NI,this.join=[],this.entityToControl=N=>N,this.error=N=>{this.editableForm?this.editableForm.error=N:(window.scrollTo({top:0,behavior:"smooth"}),this.dialog.topAlert(N))},this.clearErros=()=>{this.editableForm&&(this.editableForm.error="")}}ngOnInit(){super.ngOnInit(),this.urlParams?.has("id")&&(this.entity_id=this.urlParams.get("id"),this.isNoPersist&&(this.entity=this.metadata?.entity))}ngAfterViewInit(){super.ngAfterViewInit(),this.onInitializeData(),this.cdRef.detectChanges()}get isNew(){return"new"==this.action}get isNoPersist(){return null!=this._noPersist||"NOPERSIST"==this.entity_id}get gridControl(){return this._control||this.fakeControl}get formDisabled(){return"consult"==this.action}loadData(j,N){}initializeData(j){}saveData(j){return(0,i.Z)(function*(){return!0})()}onInitializeData(){var j=this;this.entity_id?.length&&!this.isNoPersist&&(0,i.Z)(function*(){j.loading=!0;try{"new"==j.entity_id||j.isNew?yield j.initializeData(j.form):(j.entity=yield j.dao?.getById(j.entity_id,j.join),yield j.loadData(j.entity,j.form))}catch(N){j.error("Erro ao carregar dados: "+N)}finally{j.loading=!1}})()}onSaveData(){var j=this;return(0,i.Z)(function*(){j.submitting=!0;try{let N=yield j.saveData(j.form.value);if(N){const x=j.isNoPersist?j.entity:"boolean"==typeof N?N:N instanceof a.R?N.modalResult:yield j.dao?.update(j.entity.id,N,j.join);j.modalRoute?.queryParams?.idroute?.length&&j.go.setModalResult(j.modalRoute?.queryParams?.idroute,x),j.close()}}catch(N){j.error("Erro ao carregar dados: "+N)}finally{j.submitting=!1}})()}onCancel(){this.close()}getControlByName(j){return this.form.controls[j]}static#e=this.\u0275fac=function(N){return new(N||b)(y.LFG(y.zs3))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac})}return b})()},8509:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>C});var i=m(8239),t=m(929),A=m(9138),a=m(6401),y=m(755);let C=(()=>{class b extends t._{constructor(j,N,x){var H;super(j),H=this,this.injector=j,this.filterCollapsed=!0,this.join=[],this.rowsLimit=A.f.DEFAULT_LIMIT,this.selectable=!1,this.selectButtons=[{color:"btn-outline-success",label:"Selecionar",icon:"bi-check-circle",disabled:()=>!this.grid?.selected,onClick:()=>this.onSelect(this.grid.selected)},{color:"btn-outline-danger",label:"Cancelar",icon:"bi bi-dash-circle",onClick:()=>this.close()}],this.add=(0,i.Z)(function*(){H.go.navigate({route:H.addRoute||[...H.go.currentOrDefault.route,"new"],params:H.addParams},{filterSnapshot:void 0,querySnapshot:void 0,modalClose:k=>{k&&(H.refresh(),H.afterAdd&&H.afterAdd(k),H.dialog.topAlert("Registro inclu\xeddo com sucesso!",5e3))}})}),this.consult=function(){var k=(0,i.Z)(function*(P){H.go.navigate({route:[...H.go.currentOrDefault.route,P.id,"consult"]})});return function(P){return k.apply(this,arguments)}}(),this.showLogs=function(){var k=(0,i.Z)(function*(P){H.go.navigate({route:["logs","change",P.id,"consult"]})});return function(P){return k.apply(this,arguments)}}(),this.edit=function(){var k=(0,i.Z)(function*(P){H.go.navigate({route:[...H.go.currentOrDefault.route,P.id,"edit"]},{filterSnapshot:void 0,querySnapshot:void 0,modalClose:X=>{X&&(H.refresh(P.id),H.afterEdit&&H.afterEdit(X),H.dialog.topAlert("Registro alterado com sucesso!",5e3))}})});return function(P){return k.apply(this,arguments)}}(),this.delete=function(){var k=(0,i.Z)(function*(P){const X=H;H.dialog.confirm("Exclui ?","Deseja realmente excluir?").then(me=>{me&&H.dao.delete(P).then(function(){(X.grid.query||X.query).removeId(P.id),X.dialog.topAlert("Registro exclu\xeddo com sucesso!",5e3)}).catch(Oe=>{X.dialog.alert("Erro","Erro ao excluir: "+(Oe?.message?Oe?.message:Oe))})})});return function(P){return k.apply(this,arguments)}}(),this.error=k=>{this.grid&&(this.grid.error=k)},this.cancel=function(){var k=(0,i.Z)(function*(P){const X=H;H.dialog.confirm("Cancelar ?","Deseja realmente cancelar o registro?").then(me=>{me&&H.dao.delete(P).then(function(){(X.grid.query||X.query).removeId(P.id),X.dialog.topAlert("Registro cancelado com sucesso!",5e3)}).catch(Oe=>{X.dialog.alert("Erro","Erro ao cancelar: "+(Oe?.message?Oe?.message:Oe))})})});return function(P){return k.apply(this,arguments)}}(),this.dao=j.get(x),this.OPTION_INFORMACOES.onClick=this.consult.bind(this),this.OPTION_EXCLUIR.onClick=this.delete.bind(this),this.OPTION_LOGS.onClick=this.showLogs.bind(this)}saveUsuarioConfig(j){const N={filter:this.storeFilter?this.storeFilter(this.filter):void 0,filterCollapsed:this.filterCollapsed};super.saveUsuarioConfig(Object.assign(N,{orderBy:this.orderBy},j||{}))}filterSubmit(j){this.saveUsuarioConfig()}filterClear(j){this.saveUsuarioConfig()}filterCollapseChange(j){this.filterCollapsed=!!this.grid?.filterRef?.collapsed,this.saveUsuarioConfig()}static modalSelect(j){return new Promise((N,x)=>{if(this.selectRoute){const H={route:this.selectRoute.route,params:Object.assign(this.selectRoute.params||{},{selectable:!0,modal:!0},j)};a.y.instance.go.navigate(H,{modalClose:N.bind(this)})}else x("Rota de sele\xe7\xe3o indefinida")})}modalRefreshId(j){var N=this;return{modal:!0,modalClose:function(){var x=(0,i.Z)(function*(H){return N.refresh(j.id)});return function(H){return x.apply(this,arguments)}}().bind(this)}}modalRefresh(){var j=this;return{modal:!0,modalClose:function(){var N=(0,i.Z)(function*(x){return j.refresh()});return function(x){return N.apply(this,arguments)}}().bind(this)}}get queryOptions(){return{where:this.filterWhere&&this.filter?this.filterWhere(this.filter):[],orderBy:[...(this.groupBy||[]).map(j=>[j.field,"asc"]),...this.orderBy||[]],join:this.join||[],limit:this.rowsLimit}}onLoad(){this.grid?.queryInit(),this.grid||(this.query=this.dao?.query(this.queryOptions,{after:()=>this.cdRef.detectChanges()}))}ngOnInit(){super.ngOnInit(),this.selectable=!!this.queryParams?.selectable}ngAfterViewInit(){super.ngAfterViewInit(),this.usuarioConfig?.filter&&this.filter?.patchValue(this.usuarioConfig.filter,{emitEvent:!0}),null!=this.usuarioConfig?.filterCollapsed&&(this.filterCollapsed=this.usuarioConfig?.filterCollapsed,this.cdRef.detectChanges()),this.queryParams?.filter&&(this.loadFilterParams?this.loadFilterParams(this.queryParams?.filter,this.filter):this.filter?.patchValue(this.queryParams?.filter,{emitEvent:!0})),this.queryParams?.fixedFilter&&(this.fixedFilter=this.queryParams?.fixedFilter),this.selectable&&!this.title.startsWith("Selecionar ")&&(this.title="Selecionar "+this.title),this.onLoad()}refresh(j){return j?(this.grid?.query||this.query).refreshId(j):(this.grid?.query||this.query).refresh()}onSelect(j){const N=(this.modalRoute||this.snapshot)?.queryParams?.idroute;j&&!(j instanceof Event)&&N?.length&&(this.go.setModalResult(N,j),this.close())}static#e=this.\u0275fac=function(N){return new(N||b)(y.LFG(y.zs3),y.LFG(y.DyG),y.LFG(y.DyG))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac})}return b})()},5336:(lt,_e,m)=>{"use strict";m.r(_e),m.d(_e,{LogModule:()=>Mt});var i=m(6733),t=m(5579),A=m(1391),a=m(2314),y=m(8239),C=m(3150),b=m(8958),F=m(5255),j=m(1508),N=m(9084),x=m(39),H=m(8509),k=m(755),P=m(9437),X=m(7765),me=m(5512),Oe=m(2704),Se=m(4495),wt=m(4603),K=m(5489),V=m(5736);function J(Ot,ve){1&Ot&&k._UZ(0,"div",9)}function ae(Ot,ve){if(1&Ot&&(k.TgZ(0,"span",10),k._uU(1),k.qZA()),2&Ot){const De=k.oxw().$implicit;k.xp6(1),k.Oqu(De.description)}}function oe(Ot,ve){if(1&Ot&&(k.TgZ(0,"div",11),k._UZ(1,"json-viewer",12),k.qZA()),2&Ot){const De=k.oxw().$implicit,xe=k.oxw();k.xp6(1),k.Q6J("json",De.value)("expanded",xe.expanded)("depth",xe.depth)("_currentDepth",xe._currentDepth+1)}}const ye=function(Ot){return["segment",Ot]},Ee=function(Ot,ve){return{"segment-main":!0,expandable:Ot,expanded:ve}};function Ge(Ot,ve){if(1&Ot){const De=k.EpF();k.TgZ(0,"div",2)(1,"div",3),k.NdJ("click",function(){const xt=k.CHM(De).$implicit,cn=k.oxw();return k.KtG(cn.toggle(xt))}),k.YNc(2,J,1,0,"div",4),k.TgZ(3,"span",5),k._uU(4),k.qZA(),k.TgZ(5,"span",6),k._uU(6,": "),k.qZA(),k.YNc(7,ae,2,1,"span",7),k.qZA(),k.YNc(8,oe,2,4,"div",8),k.qZA()}if(2&Ot){const De=ve.$implicit,xe=k.oxw();k.Q6J("ngClass",k.VKq(6,ye,"segment-type-"+De.type)),k.xp6(1),k.Q6J("ngClass",k.WLB(8,Ee,xe.isExpandable(De),De.expanded)),k.xp6(1),k.Q6J("ngIf",xe.isExpandable(De)),k.xp6(2),k.Oqu(De.key),k.xp6(3),k.Q6J("ngIf",!De.expanded||!xe.isExpandable(De)),k.xp6(1),k.Q6J("ngIf",De.expanded&&xe.isExpandable(De))}}let gt=(()=>{class Ot extends V.V{constructor(){super(...arguments),this.expanded=!1,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],console.log(this.segments),this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(De=>{this.segments.push(this.parseKeyValue(De,this.json[De]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(De){return"object"===De.type||"array"===De.type}toggle(De){this.isExpandable(De)&&(De.expanded=!De.expanded)}parseKeyValue(De,xe){const Ye={key:De,value:xe,type:void 0,description:""+xe,expanded:this.isExpanded()};switch(typeof Ye.value){case"number":Ye.type="number";break;case"boolean":Ye.type="boolean";break;case"function":Ye.type="function";break;case"string":Ye.type="string",Ye.description='"'+Ye.value+'"';break;case"undefined":Ye.type="undefined",Ye.description="undefined";break;case"object":null===Ye.value?(Ye.type="null",Ye.description="null"):Array.isArray(Ye.value)?(Ye.type="array",Ye.description="Array["+Ye.value.length+"] "+JSON.stringify(Ye.value)):Ye.value instanceof Date?(Ye.type="date",Ye.description=this.util.getDateTimeFormatted(Ye.value," - ")):(Ye.type="object",Ye.description="Object "+JSON.stringify(Ye.value))}return Ye}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(De){const xe=new WeakMap;return function Ye(xt,cn){let Kn,An;return"object"!=typeof xt||null===xt||xt instanceof Boolean||xt instanceof Date||xt instanceof Number||xt instanceof RegExp||xt instanceof String?xt:(Kn=xe.get(xt),void 0!==Kn?{$ref:Kn}:(xe.set(xt,cn),Array.isArray(xt)?(An=[],xt.forEach(function(gs,Qt){An[Qt]=Ye(gs,cn+"["+Qt+"]")})):(An={},Object.keys(xt).forEach(function(gs){An[gs]=Ye(xt[gs],cn+"["+JSON.stringify(gs)+"]")})),An))}(De,"$")}static#e=this.\u0275fac=function(){let De;return function(Ye){return(De||(De=k.n5z(Ot)))(Ye||Ot)}}();static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[k.qOj,k.TTD],decls:2,vars:1,consts:[[1,"json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(xe,Ye){1&xe&&(k.TgZ(0,"div",0),k.YNc(1,Ge,9,11,"div",1),k.qZA()),2&xe&&(k.xp6(1),k.Q6J("ngForOf",Ye.segments))},dependencies:[i.mk,i.sg,i.O5,Ot],styles:['@charset "UTF-8";[_nghost-%COMP%]{height:100%}.json-viewer[_ngcontent-%COMP%]{font-family:var(--json-font-family, monospace);font-size:var(--json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--json-toggler, #787878)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--json-key, #c2920d)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--json-separator, #999)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--json-value, #000)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-string, #FF6B6B)}.json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-number, #009688)}.json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-boolean, #B938A4)}.json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-date, #05668D)}.json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-array, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-object, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-function, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-null, #fff)}.json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-undefined, #fff)}.json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--json-null-bg, red)}.json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--json-undefined-key, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--json-undefined-key, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']})}return Ot})();const Ze=["selectResponsaveis"],Je=["relacao"];function tt(Ot,ve){if(1&Ot){const De=k.EpF();k.TgZ(0,"button",12),k.NdJ("click",function(){k.CHM(De);const Ye=k.oxw();return k.KtG(Ye.exportarCSV())}),k.TgZ(1,"i",13),k._uU(2," Exportar CSV"),k.qZA()()}}function Qe(Ot,ve){if(1&Ot&&(k.TgZ(0,"div",14)(1,"h2",15)(2,"button",16)(3,"div",17)(4,"span",18),k._uU(5),k.qZA(),k.TgZ(6,"span",19),k._UZ(7,"badge",20),k.qZA(),k.TgZ(8,"span",21),k._uU(9),k.qZA(),k.TgZ(10,"span",22),k._UZ(11,"badge",20),k.qZA()()()(),k.TgZ(12,"div",23)(13,"div",24),k._UZ(14,"json-viewer",25),k.qZA()()()),2&Ot){const De=ve.$implicit,xe=k.oxw();k.xp6(2),k.uIk("data-bs-toggle","collapse")("data-bs-target","#collapse_"+De.id)("aria-controls","collapse_"+De.id),k.xp6(3),k.Oqu(De._metadata.responsavel),k.xp6(2),k.Q6J("label",De.type)("color","DELETE"==De.type?"#910404":"#030521"),k.xp6(2),k.Oqu(De.table_name),k.xp6(2),k.Q6J("label",xe.util.getDateTimeFormatted(De.date_time))("color","#676789"),k.xp6(1),k.uIk("id","collapse_"+De.id)("data-bs-target","#accordionLogs"),k.xp6(2),k.Q6J("json",De.delta)}}let pt=(()=>{class Ot extends H.E{constructor(De,xe,Ye){super(De,x.R,b.D),this.injector=De,this.xlsx=Ye,this.toolbarButtons=[],this.responsaveis=[],this.relacoes=[],this.changes=[],this.filterWhere=xt=>{let cn=[],Kn=xt.value;return Kn.usuario_id?.length&&cn.push(["user_id","==","null"==Kn.usuario_id?null:Kn.usuario_id]),Kn.data_inicio&&cn.push(["date_time",">=",Kn.data_inicio]),Kn.data_fim&&cn.push(["date_time","<=",Kn.data_fim]),Kn.tabela&&cn.push(["table_name","==",Kn.tabela]),Kn.row_id_text&&cn.push(["row_id","==",Kn.row_id_text]),Kn.row_id_search&&!Kn.row_id_text&&cn.push(["row_id","==",Kn.row_id_search]),Kn.tipo?.length&&cn.push(["type","==",Kn.tipo]),cn},this.usuarioDao=De.get(F.q),this.entityService=De.get(j.c),this.allPages=De.get(N.T),this.title=this.lex.translate("Logs das Altera\xe7\xf5es"),this.filter=this.fh.FormBuilder({relacoes:{default:[]},usuario_id:{default:""},data_inicio:{default:""},data_fim:{default:""},tabela:{default:""},tipo:{default:""},row_id:{default:""},row_id_text:{default:""},row_id_search:{default:""}}),this.orderBy=[["id","desc"]]}ngOnInit(){super.ngOnInit(),this.filter?.controls.row_id_text.setValue(this.urlParams?.get("id"))}carregaResposaveis(De){this.selectResponsaveis.loading=!0,this.dao?.showResponsaveis(De).then(xe=>{this.responsaveis=xe.map(Ye=>({key:Ye.id,value:Ye.nome}))}).finally(()=>this.selectResponsaveis.loading=!1)}montaRelacoes(De){this.relacoes=De[0]._metadata.relacoes.map(xe=>({key:xe,value:xe}))}loadChanges(De){var xe=this;return(0,y.Z)(function*(){if(De){xe.changes=De;let Ye=xe.changes.map(xt=>xt.user_id);Ye=Array.from(new Set(Ye)),xe.carregaResposaveis(Ye),xe.changes.length>1&&xe.montaRelacoes(xe.changes)}})()}onRelacaoChange(De){const xe=De.target.value,Ye=this.filter?.controls.relacoes.value||[];if(Ye.includes(xe)){const xt=Ye.indexOf(xe);Ye.splice(xt,1)}else Ye.push(xe);this.filter?.controls.relacoes.setValue(Ye)}filterClear(De){De.controls.usuario_id.setValue(""),De.controls.data_inicio.setValue(""),De.controls.data_fim.setValue(""),De.controls.tabela.setValue(""),De.controls.tipo.setValue(""),De.controls.opcao_filtro.setValue("ID do registro"),super.filterClear(De)}exportarCSV(){const De=this.changes.map(xe=>({...xe,delta:JSON.stringify(xe.delta)}));this.xlsx.exportJSON("logs",De)}static#e=this.\u0275fac=function(xe){return new(xe||Ot)(k.Y36(k.zs3),k.Y36(b.D),k.Y36(P.x))};static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["app-change-list"]],viewQuery:function(xe,Ye){if(1&xe&&(k.Gf(C.M,5),k.Gf(Ze,5),k.Gf(Je,5)),2&xe){let xt;k.iGM(xt=k.CRH())&&(Ye.grid=xt.first),k.iGM(xt=k.CRH())&&(Ye.selectResponsaveis=xt.first),k.iGM(xt=k.CRH())&&(Ye.relacao=xt.first)}},features:[k.qOj],decls:14,vars:26,consts:[[3,"dao","hasEdit","title","orderBy","groupBy","join","loadList"],["class","btn btn-outline-info me-2",3,"click",4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel pelo registro","controlName","usuario_id",3,"control","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio dos registros",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim dos registros",3,"size","control"],["label","Tipo","icon","bi bi-arrow-up-right-circle","controlName","tipo","itemTodos","Todos","valueTodos","",3,"size","control","items"],["id","accordionLogs",1,"accordion","mt-3"],["class","accordion-item",4,"ngFor","ngForOf"],[3,"rows"],[1,"btn","btn-outline-info","me-2",3,"click"],[1,"bi","bi-filetype-csv"],[1,"accordion-item"],[1,"accordion-header"],["type","button","aria-expanded","false",1,"accordion-button","collapsed"],[1,"d-flex","justify-content-start","align-items-center","m-0"],[1,"nome","me-2"],[1,"acao","me-2"],[3,"label","color"],[1,"tabela","me-2"],[1,"data"],[1,"accordion-collapse","collapse"],[1,"accordion-body"],[3,"json"]],template:function(xe,Ye){1&xe&&(k.TgZ(0,"grid",0)(1,"toolbar"),k.YNc(2,tt,3,0,"button",1),k.qZA(),k.TgZ(3,"filter",2)(4,"div",3),k._UZ(5,"input-select",4,5),k.qZA(),k.TgZ(7,"div",3),k._UZ(8,"input-datetime",6)(9,"input-datetime",7)(10,"input-select",8),k.qZA()(),k.TgZ(11,"div",9),k.YNc(12,Qe,15,12,"div",10),k.qZA(),k._UZ(13,"pagination",11),k.qZA()),2&xe&&(k.Q6J("dao",Ye.dao)("hasEdit",!1)("title",Ye.isModal?"":Ye.title)("orderBy",Ye.orderBy)("groupBy",Ye.groupBy)("join",Ye.join)("loadList",Ye.loadChanges.bind(Ye)),k.xp6(2),k.Q6J("ngIf",Ye.changes.length),k.xp6(1),k.Q6J("deleted",Ye.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Ye.filter)("where",Ye.filterWhere)("submit",Ye.filterSubmit.bind(Ye))("clear",Ye.filterClear.bind(Ye))("collapseChange",Ye.filterCollapseChange.bind(Ye))("collapsed",!Ye.selectable&&Ye.filterCollapsed),k.xp6(2),k.Q6J("control",Ye.filter.controls.usuario_id)("items",Ye.responsaveis),k.xp6(3),k.Q6J("size",4)("control",Ye.filter.controls.data_inicio),k.xp6(1),k.Q6J("size",4)("control",Ye.filter.controls.data_fim),k.xp6(1),k.Q6J("size",4)("control",Ye.filter.controls.tipo)("items",Ye.lookup.TIPO_LOG_CHANGE),k.xp6(2),k.Q6J("ngForOf",Ye.changes),k.xp6(1),k.Q6J("rows",Ye.rowsLimit))},dependencies:[i.sg,i.O5,C.M,X.z,me.n,Oe.Q,Se.k,wt.p,K.F,gt]})}return Ot})();var Nt=m(4040),Jt=m(4317),nt=m(4368);class ot extends nt.X{constructor(){super(),this.user=[],this.date_time="",this.message="",this.data="",this.trace="",this.type="ERROR"}}var Ct=m(1184),He=m(2392),mt=m(4508);let vt=(()=>{class Ot extends Ct.F{constructor(De){super(De,ot,Jt.v),this.injector=De,this.form=this.fh.FormBuilder({message:{default:""},data:{default:""},trace:{default:""},user_id:{default:""},user_email:{default:""},user_nome:{default:""},date_time:{default:null},type:{default:""}},this.cdRef)}ngOnInit(){super.ngOnInit()}loadData(De,xe){let Ye=Object.assign({},xe.value);xe.patchValue(this.util.fillForm(Ye,De))}initializeData(De){De.patchValue(new ot)}saveData(De){return new Promise((xe,Ye)=>{const xt=this.util.fill(new ot,this.entity);xe(this.util.fillForm(xt,this.form.value))})}static#e=this.\u0275fac=function(xe){return new(xe||Ot)(k.Y36(k.zs3))};static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["error-form"]],viewQuery:function(xe,Ye){if(1&xe&&k.Gf(Nt.Q,5),2&xe){let xt;k.iGM(xt=k.CRH())&&(Ye.editableForm=xt.first)}},features:[k.qOj],decls:15,vars:26,consts:[[3,"form","disabled","title","cancel"],[1,"row"],["label","Tipo de altera\xe7\xe3o","icon","bi bi-upc","controlName","type",3,"size","control"],["datetime","","label","Data do registro","controlName","date_time",3,"size","control"],["label","Respons\xe1vel pelo registro","icon","bi bi-upc","controlName","user_nome",3,"size","control"],["label","ID","icon","bi bi-upc","controlName","user_id",3,"size","control"],["label","E-mail","icon","bi bi-upc","controlName","user_email",3,"size","control"],["label","Mensagem","icon","bi bi-textarea-t","controlName","message",3,"size","rows","control"],["label","Dados","icon","bi bi-textarea-t","controlName","data",3,"size","rows","control"],["label","Trace","icon","bi bi-textarea-t","controlName","trace",3,"size","rows","control"]],template:function(xe,Ye){1&xe&&(k.TgZ(0,"editable-form",0),k.NdJ("cancel",function(){return Ye.onCancel()}),k.TgZ(1,"div",1)(2,"div",1),k._UZ(3,"input-text",2)(4,"input-datetime",3),k.qZA(),k.TgZ(5,"div",1),k._UZ(6,"input-text",4)(7,"input-text",5)(8,"input-text",6),k.qZA(),k.TgZ(9,"div",1),k._UZ(10,"input-textarea",7),k.qZA(),k.TgZ(11,"div",1),k._UZ(12,"input-textarea",8),k.qZA(),k.TgZ(13,"div",1),k._UZ(14,"input-textarea",9),k.qZA()()()),2&xe&&(k.Q6J("form",Ye.form)("disabled",!0)("title",Ye.isModal?"":Ye.title),k.xp6(3),k.Q6J("size",3)("control",Ye.form.controls.type),k.uIk("maxlength",250),k.xp6(1),k.Q6J("size",4)("control",Ye.form.controls.date_time),k.xp6(2),k.Q6J("size",4)("control",Ye.form.controls.user_nome),k.uIk("maxlength",250),k.xp6(1),k.Q6J("size",4)("control",Ye.form.controls.user_id),k.uIk("maxlength",250),k.xp6(1),k.Q6J("size",4)("control",Ye.form.controls.user_email),k.uIk("maxlength",250),k.xp6(2),k.Q6J("size",12)("rows",3)("control",Ye.form.controls.message),k.xp6(2),k.Q6J("size",12)("rows",3)("control",Ye.form.controls.data),k.xp6(2),k.Q6J("size",12)("rows",3)("control",Ye.form.controls.trace))},dependencies:[Nt.Q,He.m,mt.Q,Se.k]})}return Ot})();var hn=m(7224),yt=m(3351);function Fn(Ot,ve){if(1&Ot&&(k.TgZ(0,"span")(1,"small"),k._uU(2),k.qZA()()),2&Ot){const De=ve.row;k.xp6(2),k.Oqu(De.user&&De.user.nome||"")}}function xn(Ot,ve){if(1&Ot&&(k.TgZ(0,"span")(1,"small"),k._uU(2),k.qZA()()),2&Ot){const De=ve.row,xe=k.oxw();k.xp6(2),k.Oqu(xe.util.getDateTimeFormatted(De.date_time))}}function In(Ot,ve){if(1&Ot&&(k.TgZ(0,"span")(1,"small"),k._uU(2),k.qZA()()),2&Ot){const De=ve.row;k.xp6(2),k.Oqu(De.message.substr(0,200))}}function dn(Ot,ve){if(1&Ot&&k._UZ(0,"column",17),2&Ot){const De=k.oxw();k.Q6J("dynamicButtons",De.dynamicButtons.bind(De))}}const di=[{path:"change",component:pt,canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Logs das Altera\xe7\xf5es"}},{path:"change/:id/consult",component:pt,canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Log de Altera\xe7\xe3o",modal:!0}},{path:"error",component:(()=>{class Ot extends H.E{constructor(De,xe){super(De,ot,Jt.v),this.injector=De,this.responsaveis=[],this.filterWhere=Ye=>{let xt=[],cn=Ye.value;return cn.responsavel_id?.length&&xt.push(["user_id","==","null"==cn.responsavel_id?null:cn.responsavel_id]),cn.data_inicio&&xt.push(["date_time",">=",cn.data_inicio]),cn.data_fim&&xt.push(["date_time","<=",cn.data_fim]),cn.type?.length&&xt.push(["type","==",cn.type]),xt},this.usuarioDao=De.get(F.q),this.allPages=De.get(N.T),this.title=this.lex.translate("Logs dos Erros"),this.filter=this.fh.FormBuilder({type:{default:""},responsavel_id:{default:""},data_inicio:{default:null},data_fim:{default:null}}),this.orderBy=[["date_time","desc"]]}ngAfterViewInit(){var De=()=>super.ngAfterViewInit,xe=this;return(0,y.Z)(function*(){De().call(xe),xe.selectResponsaveis.loading=!0,xe.dao?.showResponsaveis().then(Ye=>{xe.responsaveis=Ye||[]}),xe.cdRef.detectChanges(),xe.selectResponsaveis.loading=!1})()}filterClear(De){De.controls.responsavel_id.setValue(""),De.controls.data_inicio.setValue(""),De.controls.data_fim.setValue(""),De.controls.type.setValue("")}dynamicButtons(De){let xe=[];return this.auth.hasPermissionTo("MOD_PENT")&&xe.push({icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",onClick:this.consult.bind(this)}),xe}static#e=this.\u0275fac=function(xe){return new(xe||Ot)(k.Y36(k.zs3),k.Y36(Jt.v))};static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["error-list"]],viewQuery:function(xe,Ye){if(1&xe&&(k.Gf(C.M,5),k.Gf(wt.p,5)),2&xe){let xt;k.iGM(xt=k.CRH())&&(Ye.grid=xt.first),k.iGM(xt=k.CRH())&&(Ye.selectResponsaveis=xt.first)}},features:[k.qOj],decls:22,vars:29,consts:[[3,"dao","hasEdit","title","orderBy"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel pelo registro","controlName","responsavel_id","itemTodos","Todos","valueTodos","",3,"control","size","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio da pesquisa",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim da pesquisa",3,"size","control"],["label","Tipo","icon","bi bi-arrow-up-right-circle","controlName","type","itemTodos","Todos","valueTodos","",3,"size","control","items"],["title","Respons\xe1vel","field","user",3,"width","template"],["columnUser",""],["title","Criado em","field","date_time",3,"width","template"],["columnDataCriacao",""],["title","Mensagem","field","message",3,"width","template"],["columnMessage",""],["title","Tipo","field","type"],["type","options",3,"dynamicButtons",4,"ngIf"],[3,"rows"],["type","options",3,"dynamicButtons"]],template:function(xe,Ye){if(1&xe&&(k.TgZ(0,"grid",0),k._UZ(1,"toolbar"),k.TgZ(2,"filter",1)(3,"div",2),k._UZ(4,"input-select",3,4)(6,"input-datetime",5)(7,"input-datetime",6)(8,"input-select",7),k.qZA()(),k.TgZ(9,"columns")(10,"column",8),k.YNc(11,Fn,3,1,"ng-template",null,9,k.W1O),k.qZA(),k.TgZ(13,"column",10),k.YNc(14,xn,3,1,"ng-template",null,11,k.W1O),k.qZA(),k.TgZ(16,"column",12),k.YNc(17,In,3,1,"ng-template",null,13,k.W1O),k.qZA(),k._UZ(19,"column",14),k.YNc(20,dn,1,1,"column",15),k.qZA(),k._UZ(21,"pagination",16),k.qZA()),2&xe){const xt=k.MAs(12),cn=k.MAs(15),Kn=k.MAs(18);k.Q6J("dao",Ye.dao)("hasEdit",!1)("title",Ye.isModal?"":Ye.title)("orderBy",Ye.orderBy),k.xp6(2),k.Q6J("deleted",Ye.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Ye.filter)("where",Ye.filterWhere)("submit",Ye.filterSubmit.bind(Ye))("clear",Ye.filterClear.bind(Ye))("collapseChange",Ye.filterCollapseChange.bind(Ye))("collapsed",!Ye.selectable&&Ye.filterCollapsed),k.xp6(2),k.Q6J("control",Ye.filter.controls.responsavel_id)("size",4)("items",Ye.responsaveis),k.xp6(2),k.Q6J("size",3)("control",Ye.filter.controls.data_inicio),k.xp6(1),k.Q6J("size",3)("control",Ye.filter.controls.data_fim),k.xp6(1),k.Q6J("size",2)("control",Ye.filter.controls.type)("items",Ye.lookup.TIPO_LOG_ERROR),k.xp6(2),k.Q6J("width",80)("template",xt),k.xp6(3),k.Q6J("width",80)("template",cn),k.xp6(3),k.Q6J("width",80)("template",Kn),k.xp6(4),k.Q6J("ngIf",!Ye.selectable),k.xp6(1),k.Q6J("rows",Ye.rowsLimit)}},dependencies:[i.O5,C.M,hn.a,yt.b,X.z,me.n,Oe.Q,Se.k,wt.p]})}return Ot})(),canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Logs dos Erros"}},{path:"error/:id/consult",component:vt,canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Log de Erro",modal:!0}}];let ir=(()=>{class Ot{static#e=this.\u0275fac=function(xe){return new(xe||Ot)};static#t=this.\u0275mod=k.oAB({type:Ot});static#n=this.\u0275inj=k.cJS({imports:[t.Bz.forChild(di),t.Bz]})}return Ot})();var Bn=m(2662),xi=m(2133),fi=m(900);let Mt=(()=>{class Ot{static#e=this.\u0275fac=function(xe){return new(xe||Ot)};static#t=this.\u0275mod=k.oAB({type:Ot});static#n=this.\u0275inj=k.cJS({imports:[i.ez,Bn.K,xi.UX,ir,fi.JP.forRoot()]})}return Ot})()},9179:(lt,_e,m)=>{"use strict";m.r(_e),m.d(_e,{RotinaModule:()=>ve});var i=m(6733),t=m(2662),A=m(2133),a=m(5579),y=m(1391),C=m(2314),b=m(4040),F=m(5316),j=m(7909),N=m(4368);class x extends N.X{constructor(){super(),this.data_execucao="",this.atualizar_unidades=!1,this.atualizar_servidores=!1,this.atualizar_gestores=!0,this.usar_arquivos_locais=!1,this.gravar_arquivos_locais=!1,this.usuario_id="",this.entidade_id=""}}var H=m(1184),k=m(553),P=m(755),X=m(8820),me=m(2392),Oe=m(4495),Se=m(5560);const wt=["entidade"],K=["usuario"];function V(De,xe){if(1&De&&(P.TgZ(0,"div",1),P._UZ(1,"input-text",13,14)(3,"input-text",15,16)(5,"input-datetime",17),P.qZA()),2&De){const Ye=P.oxw();P.xp6(1),P.Q6J("size",4)("control",Ye.form.controls.entidade_id),P.uIk("maxlength",250),P.xp6(2),P.Q6J("size",5)("control",Ye.form.controls.usuario_id),P.uIk("maxlength",250),P.xp6(2),P.Q6J("size",3)("control",Ye.form.controls.data_execucao)}}function J(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function ae(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function oe(De,xe){if(1&De&&(P.TgZ(0,"div",19)(1,"span")(2,"strong"),P._uU(3,"Falhas"),P.qZA()(),P.YNc(4,ae,2,1,"span",20),P.qZA()),2&De){const Ye=P.oxw(2);P.xp6(4),P.Q6J("ngForOf",Ye.falhas_unidades)}}function ye(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Ee(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Ge(De,xe){if(1&De&&(P.TgZ(0,"div",19)(1,"span")(2,"strong"),P._uU(3,"Falhas"),P.qZA()(),P.YNc(4,Ee,2,1,"span",20),P.qZA()),2&De){const Ye=P.oxw(2);P.xp6(4),P.Q6J("ngForOf",Ye.falhas_servidores)}}function gt(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Ze(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Je(De,xe){if(1&De&&(P.TgZ(0,"div",19)(1,"span")(2,"strong"),P._uU(3,"Falhas"),P.qZA()(),P.YNc(4,Ze,2,1,"span",20),P.qZA()),2&De){const Ye=P.oxw(2);P.xp6(4),P.Q6J("ngForOf",Ye.falhas_gestores)}}function tt(De,xe){if(1&De&&(P.TgZ(0,"div",1)(1,"separator",18)(2,"div",1)(3,"span")(4,"strong"),P._uU(5,"Resultado"),P.qZA()(),P.TgZ(6,"span"),P._uU(7),P.qZA()(),P.TgZ(8,"div",19)(9,"span")(10,"strong"),P._uU(11,"Observa\xe7\xf5es"),P.qZA()(),P.YNc(12,J,2,1,"span",20),P.qZA(),P.YNc(13,oe,5,1,"div",21),P.qZA(),P.TgZ(14,"separator",22)(15,"div",1)(16,"span")(17,"strong"),P._uU(18,"Resultado"),P.qZA()(),P.TgZ(19,"span"),P._uU(20),P.qZA()(),P.TgZ(21,"div",19)(22,"span")(23,"strong"),P._uU(24,"Observa\xe7\xf5es"),P.qZA()(),P.YNc(25,ye,2,1,"span",20),P.qZA(),P.YNc(26,Ge,5,1,"div",21),P.qZA(),P.TgZ(27,"separator",23)(28,"div",1)(29,"span")(30,"strong"),P._uU(31,"Resultado"),P.qZA()(),P.TgZ(32,"span"),P._uU(33),P.qZA()(),P.TgZ(34,"div",19)(35,"span")(36,"strong"),P._uU(37,"Observa\xe7\xf5es"),P.qZA()(),P.YNc(38,gt,2,1,"span",20),P.qZA(),P.YNc(39,Je,5,1,"div",21),P.qZA()()),2&De){const Ye=P.oxw();P.xp6(1),P.Q6J("collapse","collapse"),P.xp6(6),P.Oqu(Ye.resultado_unidades),P.xp6(5),P.Q6J("ngForOf",Ye.obs_unidades),P.xp6(1),P.Q6J("ngIf",Ye.falhas_unidades.length>0),P.xp6(1),P.Q6J("collapse","collapse"),P.xp6(6),P.Oqu(Ye.resultado_servidores),P.xp6(5),P.Q6J("ngForOf",Ye.obs_servidores),P.xp6(1),P.Q6J("ngIf",Ye.falhas_servidores.length>0),P.xp6(1),P.Q6J("collapse","collapse"),P.xp6(6),P.Oqu(Ye.resultado_gestores),P.xp6(5),P.Q6J("ngForOf",Ye.obs_gestores),P.xp6(1),P.Q6J("ngIf",Ye.falhas_gestores.length>0)}}let Qe=(()=>{class De extends H.F{constructor(Ye,xt){super(Ye,x,j.a),this.injector=Ye,this.confirmLabel="Executar",this.production=!1,this.resultado_unidades="",this.obs_unidades=[],this.falhas_unidades=[],this.resultado_servidores="",this.obs_servidores=[],this.falhas_servidores=[],this.resultado_gestores="",this.obs_gestores=[],this.falhas_gestores=[],this.validate=(cn,Kn)=>{let An=null;return["entidade_id","usuario_id"].indexOf(Kn)>=0&&!cn.value?.length&&(An="Obrigat\xf3rio"),An},this.entidadeDao=Ye.get(F.i),this.form=this.fh.FormBuilder({atualizar_unidades:{default:!1},atualizar_servidores:{default:!1},atualizar_gestores:{default:!0},usar_arquivos_locais:{default:!1},gravar_arquivos_locais:{default:!1},entidade_id:{default:""},usuario_id:{default:""},data_execucao:{default:""},resultado:{default:""}},this.cdRef,this.validate),this.join=["entidade","usuario"]}loadData(Ye,xt){let cn=Object.assign({},xt.value);xt.patchValue(this.util.fillForm(cn,Ye)),this.preparaFormulario(Ye)}preparaFormulario(Ye){this.production=k.N.production,this.form.controls.entidade_id.setValue(Ye.id?Ye.entidade.nome:this.auth.unidade?.entidade_id),this.form.controls.usuario_id.setValue(Ye.id?Ye.usuario_id?Ye.usuario.nome:"Usu\xe1rio n\xe3o logado":this.auth.usuario.id),this.resultado_unidades=Ye.id?JSON.parse(Ye.resultado).unidades.Resultado:"",this.obs_unidades=Ye.id?JSON.parse(Ye.resultado).unidades.Observa\u00e7\u00f5es:[],this.falhas_unidades=Ye.id?JSON.parse(Ye.resultado).unidades.Falhas:[],this.resultado_servidores=Ye.id?JSON.parse(Ye.resultado).servidores.Resultado:"",this.obs_servidores=Ye.id?JSON.parse(Ye.resultado).servidores.Observa\u00e7\u00f5es:[],this.falhas_servidores=Ye.id?JSON.parse(Ye.resultado).servidores.Falhas:[],this.resultado_gestores=Ye.id?JSON.parse(Ye.resultado).gestores.Resultado:"",this.obs_gestores=Ye.id?JSON.parse(Ye.resultado).gestores.Observa\u00e7\u00f5es:[],this.falhas_gestores=Ye.id?JSON.parse(Ye.resultado).gestores.Falhas:[]}initializeData(Ye){this.loadData(new x,Ye)}saveData(Ye){return new Promise((xt,cn)=>{const Kn=this.util.fill(new x,this.entity);xt(this.util.fillForm(Kn,this.form.value))})}static#e=this.\u0275fac=function(xt){return new(xt||De)(P.Y36(P.zs3),P.Y36(j.a))};static#t=this.\u0275cmp=P.Xpm({type:De,selectors:[["app-integracao-form"]],viewQuery:function(xt,cn){if(1&xt&&(P.Gf(b.Q,5),P.Gf(wt,5),P.Gf(K,5)),2&xt){let Kn;P.iGM(Kn=P.CRH())&&(cn.editableForm=Kn.first),P.iGM(Kn=P.CRH())&&(cn.entidade=Kn.first),P.iGM(Kn=P.CRH())&&(cn.usuario=Kn.first)}},features:[P.qOj],decls:16,vars:21,consts:[[3,"form","disabled","title","confirmLabel","submit","cancel"],[1,"row"],["class","row",4,"ngIf"],[1,"mt-2",3,"title","collapse"],["title","Deve ser atualizado pela Rotina de Integra\xe7\xe3o:"],["labelPosition","right","label","Unidades","controlName","atualizar_unidades",3,"size","control"],["labelPosition","right","label","Servidores","controlName","atualizar_servidores",3,"size","control"],["labelPosition","right","label","Gestores","controlName","atualizar_gestores",3,"disabled","size","control"],[1,"row","mt-4"],["title","Com rela\xe7\xe3o aos dados atualizados...(*)"],[1,"badge","rounded-pill","bg-info","text-dark"],["labelPosition","right","label","Usar arquivos locais","controlName","usar_arquivos_locais","labelInfo","Selecione se os dados para atualiza\xe7\xe3o devem ser lidos de um arquivo local",3,"disabled","size","control"],["labelPosition","right","label","Gravar em arquivos locais","controlName","gravar_arquivos_locais","labelInfo","Selecione se os dados atualizados devem ser salvos em um arquivo local",3,"disabled","size","control"],["label","Entidade","icon","bi bi-upc","controlName","entidade_id",3,"size","control"],["entidade",""],["label","Usu\xe1rio","icon","bi bi-upc","controlName","usuario_id",3,"size","control"],["usuario",""],["datetime","","label","Execu\xe7\xe3o","icon","bi bi-calendar-date","controlName","data_execucao",3,"size","control"],["title","UNIDADES",1,"mt-2",3,"collapse"],[1,"row","mt-2"],[4,"ngFor","ngForOf"],["class","row mt-2",4,"ngIf"],["title","SERVIDORES",3,"collapse"],["title","GESTORES",3,"collapse"]],template:function(xt,cn){1&xt&&(P.TgZ(0,"editable-form",0),P.NdJ("submit",function(){return cn.onSaveData()})("cancel",function(){return cn.onCancel()}),P.TgZ(1,"div",1),P.YNc(2,V,6,8,"div",2),P.YNc(3,tt,40,12,"div",2),P.TgZ(4,"separator",3)(5,"div",1)(6,"separator",4),P._UZ(7,"input-switch",5)(8,"input-switch",6)(9,"input-switch",7),P.qZA()(),P.TgZ(10,"div",8)(11,"separator",9)(12,"span",10),P._uU(13,"(*) N\xe3o funciona em ambientes de Produ\xe7\xe3o / Homologa\xe7\xe3o"),P.qZA(),P._UZ(14,"input-switch",11)(15,"input-switch",12),P.qZA()()()()()),2&xt&&(P.Q6J("form",cn.form)("disabled",cn.formDisabled)("title",cn.isModal?"":cn.title)("confirmLabel",cn.confirmLabel),P.xp6(2),P.Q6J("ngIf",cn.formDisabled),P.xp6(1),P.Q6J("ngIf",cn.formDisabled),P.xp6(1),P.Q6J("title",cn.formDisabled?"Par\xe2metros utilizados":"")("collapse",cn.formDisabled?"collapse":void 0),P.xp6(3),P.Q6J("size",4)("control",cn.form.controls.atualizar_unidades),P.xp6(1),P.Q6J("size",4)("control",cn.form.controls.atualizar_servidores),P.xp6(1),P.Q6J("disabled",cn.util.isDeveloper()?void 0:"disabled")("size",4)("control",cn.form.controls.atualizar_gestores),P.xp6(5),P.Q6J("disabled",cn.production?"disabled":void 0)("size",4)("control",cn.form.controls.usar_arquivos_locais),P.xp6(1),P.Q6J("disabled",cn.production?"disabled":void 0)("size",4)("control",cn.form.controls.gravar_arquivos_locais))},dependencies:[i.sg,i.O5,b.Q,X.a,me.m,Oe.k,Se.N]})}return De})();var pt=m(3150),Nt=m(5255),Jt=m(9084),nt=m(8509),ot=m(7224),Ct=m(3351),He=m(7765),mt=m(5512),vt=m(2704),hn=m(4603);const yt=["selectResponsaveis"];function Fn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row;P.xp6(1),P.hij(" ",Ye.usuario?Ye.usuario.nome:"Usu\xe1rio n\xe3o logado"," ")}}function xn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getDateTimeFormatted(Ye.data_execucao))}}function In(De,xe){1&De&&(P._uU(0," Solic. altera\xe7\xe3o"),P._UZ(1,"br"),P._uU(2,"de Unidades "))}function dn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA(),P._UZ(2,"br")),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getBooleanFormatted(Ye.atualizar_unidades))}}function qn(De,xe){1&De&&(P._uU(0," Solic. altera\xe7\xe3o"),P._UZ(1,"br"),P._uU(2,"de Servidores "))}function di(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getBooleanFormatted(Ye.atualizar_servidores))}}function ir(De,xe){1&De&&(P._uU(0," Solic. altera\xe7\xe3o"),P._UZ(1,"br"),P._uU(2,"de Gestores "))}function Bn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getBooleanFormatted(Ye.atualizar_gestores))}}function xi(De,xe){if(1&De&&P._UZ(0,"column",24),2&De){const Ye=P.oxw();P.Q6J("dynamicButtons",Ye.dynamicButtons.bind(Ye))}}const Mt=[{path:"integracao",component:(()=>{class De extends nt.E{constructor(Ye,xt){super(Ye,x,j.a),this.injector=Ye,this.toolbarButtons=[],this.responsaveis=[],this.labelAdd="Executar",this.filterWhere=cn=>{let Kn=[],An=cn.value;return An.usuario_id.length&&Kn.push(["usuario_id","==","null"==An.usuario_id?null:An.usuario_id]),An.data_inicio&&Kn.push(["data_execucao",">=",An.data_inicio]),An.data_fim&&Kn.push(["data_execucao","<=",An.data_fim]),An.atualizar_unidades&&Kn.push(["atualizar_unidades","==",An.atualizar_unidades]),An.atualizar_servidores&&Kn.push(["atualizar_servidores","==",An.atualizar_servidores]),An.atualizar_gestores&&Kn.push(["atualizar_gestores","==",An.atualizar_gestores]),Kn},this.allPages=Ye.get(Jt.T),this.usuarioDao=Ye.get(Nt.q),this.title=this.lex.translate("Rotinas de Integra\xe7\xe3o"),this.filter=this.fh.FormBuilder({usuario_id:{default:""},data_inicio:{default:""},data_fim:{default:""},atualizar_unidades:{default:""},atualizar_servidores:{default:""},atualizar_gestores:{default:""}}),this.orderBy=[["data_execucao","desc"]]}ngAfterViewInit(){super.ngAfterViewInit(),this.selectResponsaveis.loading=!0,this.dao?.showResponsaveis().then(Ye=>{this.responsaveis=Ye||[],this.cdRef.detectChanges()}).finally(()=>this.selectResponsaveis.loading=!1)}ngAfterViewChecked(){this.cdRef.detectChanges()}filterClear(Ye){Ye.controls.usuario_id.setValue(""),Ye.controls.data_inicio.setValue(""),Ye.controls.data_fim.setValue(""),Ye.controls.atualizar_unidades.setValue(""),Ye.controls.atualizar_servidores.setValue(""),Ye.controls.atualizar_gestores.setValue(""),super.filterClear(Ye)}dynamicButtons(Ye){let xt=[];return this.auth.hasPermissionTo("MOD_DEV_TUDO")&&xt.push({icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",onClick:this.consult.bind(this)}),xt}static#e=this.\u0275fac=function(xt){return new(xt||De)(P.Y36(P.zs3),P.Y36(j.a))};static#t=this.\u0275cmp=P.Xpm({type:De,selectors:[["app-integracao-list"]],viewQuery:function(xt,cn){if(1&xt&&(P.Gf(pt.M,5),P.Gf(yt,5)),2&xt){let Kn;P.iGM(Kn=P.CRH())&&(cn.grid=Kn.first),P.iGM(Kn=P.CRH())&&(cn.selectResponsaveis=Kn.first)}},features:[P.qOj],decls:37,vars:40,consts:[[3,"dao","add","title","orderBy","groupBy","join","labelAdd","selectable","hasAdd","hasEdit","select"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel","controlName","usuario_id",3,"size","control","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio dos registros",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim dos registros",3,"size","control"],["title","Considerar integra\xe7\xf5es com a atualiza\xe7\xe3o solicitada: "],["scale","small","labelPosition","right","label","de Unidades","controlName","atualizar_unidades",3,"size","control"],["scale","small","labelPosition","right","label","de Servidores","controlName","atualizar_servidores",3,"size","control"],["scale","small","labelPosition","right","label","de Gestores","controlName","atualizar_gestores",3,"size","control"],["title","Respons\xe1vel",3,"template"],["columnResponsavel",""],["title","Executada em","orderBy","data_execucao",3,"template"],["columnDataExecucao",""],[3,"titleTemplate","template"],["titleUnidades",""],["columnUnidades",""],["titleServidores",""],["columnServidores",""],["titleGestores",""],["columnGestores",""],["type","options",3,"dynamicButtons",4,"ngIf"],[3,"rows"],["type","options",3,"dynamicButtons"]],template:function(xt,cn){if(1&xt&&(P.TgZ(0,"grid",0),P.NdJ("select",function(An){return cn.onSelect(An)}),P._UZ(1,"toolbar"),P.TgZ(2,"filter",1)(3,"div",2),P._UZ(4,"input-select",3,4)(6,"input-datetime",5)(7,"input-datetime",6),P.qZA(),P.TgZ(8,"div",2)(9,"separator",7),P._UZ(10,"input-switch",8)(11,"input-switch",9)(12,"input-switch",10),P.qZA()()(),P.TgZ(13,"columns")(14,"column",11),P.YNc(15,Fn,2,1,"ng-template",null,12,P.W1O),P.qZA(),P.TgZ(17,"column",13),P.YNc(18,xn,2,1,"ng-template",null,14,P.W1O),P.qZA(),P.TgZ(20,"column",15),P.YNc(21,In,3,0,"ng-template",null,16,P.W1O),P.YNc(23,dn,3,1,"ng-template",null,17,P.W1O),P.qZA(),P.TgZ(25,"column",15),P.YNc(26,qn,3,0,"ng-template",null,18,P.W1O),P.YNc(28,di,2,1,"ng-template",null,19,P.W1O),P.qZA(),P.TgZ(30,"column",15),P.YNc(31,ir,3,0,"ng-template",null,20,P.W1O),P.YNc(33,Bn,2,1,"ng-template",null,21,P.W1O),P.qZA(),P.YNc(35,xi,1,1,"column",22),P.qZA(),P._UZ(36,"pagination",23),P.qZA()),2&xt){const Kn=P.MAs(16),An=P.MAs(19),gs=P.MAs(22),Qt=P.MAs(24),ki=P.MAs(27),ta=P.MAs(29),Pi=P.MAs(32),co=P.MAs(34);P.Q6J("dao",cn.dao)("add",cn.add)("title",cn.isModal?"":cn.title)("orderBy",cn.orderBy)("groupBy",cn.groupBy)("join",cn.join)("labelAdd",cn.labelAdd)("selectable",cn.selectable)("hasAdd",cn.auth.hasPermissionTo("MOD_DEV_TUDO"))("hasEdit",!1),P.xp6(2),P.Q6J("deleted",cn.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",cn.filter)("where",cn.filterWhere)("submit",cn.filterSubmit.bind(cn))("clear",cn.filterClear.bind(cn))("collapseChange",cn.filterCollapseChange.bind(cn))("collapsed",!cn.selectable&&cn.filterCollapsed),P.xp6(2),P.Q6J("size",4)("control",cn.filter.controls.usuario_id)("items",cn.responsaveis),P.xp6(2),P.Q6J("size",3)("control",cn.filter.controls.data_inicio),P.xp6(1),P.Q6J("size",3)("control",cn.filter.controls.data_fim),P.xp6(3),P.Q6J("size",4)("control",cn.filter.controls.atualizar_unidades),P.xp6(1),P.Q6J("size",4)("control",cn.filter.controls.atualizar_servidores),P.xp6(1),P.Q6J("size",4)("control",cn.filter.controls.atualizar_gestores),P.xp6(2),P.Q6J("template",Kn),P.xp6(3),P.Q6J("template",An),P.xp6(3),P.Q6J("titleTemplate",gs)("template",Qt),P.xp6(5),P.Q6J("titleTemplate",ki)("template",ta),P.xp6(5),P.Q6J("titleTemplate",Pi)("template",co),P.xp6(5),P.Q6J("ngIf",!cn.selectable),P.xp6(1),P.Q6J("rows",cn.rowsLimit)}},dependencies:[i.O5,pt.M,ot.a,Ct.b,He.z,mt.n,vt.Q,X.a,Oe.k,hn.p,Se.N]})}return De})(),canActivate:[y.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Rotinas de Integra\xe7\xe3o"}},{path:"integracao/new",component:Qe,canActivate:[y.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Execu\xe7\xe3o de Rotina de Integra\xe7\xe3o",modal:!0}},{path:"integracao/:id/consult",component:Qe,canActivate:[y.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Rotina de Integra\xe7\xe3o",modal:!0}}];let Ot=(()=>{class De{static#e=this.\u0275fac=function(xt){return new(xt||De)};static#t=this.\u0275mod=P.oAB({type:De});static#n=this.\u0275inj=P.cJS({imports:[a.Bz.forChild(Mt),a.Bz]})}return De})(),ve=(()=>{class De{static#e=this.\u0275fac=function(xt){return new(xt||De)};static#t=this.\u0275mod=P.oAB({type:De});static#n=this.\u0275inj=P.cJS({imports:[i.ez,t.K,A.UX,Ot]})}return De})()},785:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>gt});var i=m(755),t=m(9193),A=m(9702),a=m(6733),y=m(5560);function C(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [DAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o da quantidade de dias que t\xeam ao menos um Afastamento [HA] ou uma Pausa [HP])"),i.qZA(),i._UZ(4,"br"),i.BQk())}function b(Ze,Je){if(1&Ze&&(i.ynx(0),i._uU(1," [DU]=[HU]/[CH] "),i.TgZ(2,"small"),i._uU(3,"(Dias \xfateis necess\xe1rios)"),i.qZA(),i._UZ(4,"br"),i.YNc(5,C,5,0,"ng-container",4),i._uU(6),i.BQk()),2&Ze){const tt=i.oxw(2);i.xp6(5),i.Q6J("ngIf",tt.partial),i.xp6(1),i.AsE(" [F]=[I]+[DU]",tt.partial?"+[DAP]":"","",tt.useCorridos?"":"+[FER]+[FDS]"," ")}}function F(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [HAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o das horas de afastamentos e/ou pausas)"),i.qZA(),i._UZ(4,"br"),i.BQk())}function j(Ze,Je){if(1&Ze&&(i._uU(0," [EX]=[HFE]-[HIE]-[TIN]"),i._UZ(1,"br"),i._uU(2," [HD]=MIN([EX], [CH]) "),i.TgZ(3,"small"),i._uU(4,"(Horas por dia, ser\xe1 o menor valor entre: [EX] e [CH])"),i.qZA(),i._UZ(5,"br"),i._uU(6," [IE]=[HFE]-[HD] "),i.TgZ(7,"small"),i._uU(8,"(In\xedcio do expediente para o servidor, para encerrar o dia exatamente no [HFE])"),i.qZA(),i._UZ(9,"br"),i._uU(10," [SHI]=[I]-[IE] "),i.TgZ(11,"small"),i._uU(12,"(Saldo inicial, horas a partir do in\xedcio do expediente [IE] at\xe9 a data e hora inicial [I])"),i.qZA(),i._UZ(13,"br"),i.YNc(14,F,5,0,"ng-container",4),i._uU(15),i.TgZ(16,"small"),i._uU(17,"(Quantidade de dias \xfateis necess\xe1rios, sendo arredondado sempre para cima, ex: 3.2 = 4)"),i.qZA(),i._UZ(18,"br"),i._uU(19),i.TgZ(20,"small"),i._uU(21,"(Saldo final, diferen\xe7a do [DF] que estamos buscando at\xe9 o final do expediente [HFE], em horas)"),i.qZA(),i._UZ(22,"br"),i._uU(23),i.TgZ(24,"small"),i._uU(25,"(Data e hor\xe1rio final at\xe9 o cumprimento das [HU])"),i.qZA(),i._UZ(26,"br")),2&Ze){const tt=i.oxw(2);i.xp6(14),i.Q6J("ngIf",tt.partial),i.xp6(1),i.hij(" [QDU]=([HU]",tt.partial?"+[HAP]":"","+[SHI])/[HD] "),i.xp6(4),i.hij(" [SHF]=([HD]*[QDU])-([HU]",tt.partial?"+[HAP]":"","+[SHI]) "),i.xp6(4),i.hij(" [DF]=[QDU]",tt.useCorridos?"":"+[FER]+[FDS]","+[HFE]-[SHF] ")}}function N(Ze,Je){if(1&Ze&&(i.TgZ(0,"div",7),i._UZ(1,"i",8),i._uU(2," A data final [F] \xe9 obtida atrav\xe9s do c\xe1lculo:"),i._UZ(3,"br")(4,"br"),i.YNc(5,b,7,3,"ng-container",1),i.YNc(6,j,27,4,"ng-template",null,9,i.W1O),i.qZA()),2&Ze){const tt=i.MAs(7),Qe=i.oxw();i.xp6(5),i.Q6J("ngIf",Qe.useDias)("ngIfElse",tt)}}function x(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [DAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o da quantidade de dias que t\xeam ao menos um Afastamento [HA] ou uma Pausa [HP])"),i.qZA(),i._UZ(4,"br"),i.BQk())}function H(Ze,Je){if(1&Ze&&(i.ynx(0),i._uU(1," [DC]=[F]-[I] "),i.YNc(2,x,5,0,"ng-container",4),i._uU(3),i.TgZ(4,"small"),i._uU(5,"(Dias \xfateis)"),i.qZA(),i._UZ(6,"br"),i._uU(7," [HU]=[CH]*[DU] "),i.BQk()),2&Ze){const tt=i.oxw(2);i.xp6(2),i.Q6J("ngIf",tt.partial),i.xp6(1),i.AsE(" [DU]=[DC]",tt.useCorridos?"":"-[FER]-[FDS]","",tt.partial?"-[DAP]":""," ")}}function k(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [HAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o das horas de afastamentos e/ou pausas)"),i.qZA(),i._UZ(4,"br"),i.BQk())}function P(Ze,Je){if(1&Ze&&(i._uU(0," [EX]=[HFE]-[HIE]-[TIN]"),i._UZ(1,"br"),i._uU(2," [SHI]=[I]-[IE] "),i.TgZ(3,"small"),i._uU(4,"(Saldo inicial, horas a partir do in\xedcio do expediente [IE] at\xe9 a data e hora inicial [I])"),i.qZA(),i._UZ(5,"br"),i._uU(6," [SHF]=[HFE]-[F] "),i.TgZ(7,"small"),i._uU(8,"(Saldo final, horas a partir da data e hora final [F] at\xe9 o fim do expediente [HFE])"),i.qZA(),i._UZ(9,"br"),i.YNc(10,k,5,0,"ng-container",4),i._uU(11," [DU]=[DC](-[FER]-[FDS])"),i._UZ(12,"br"),i._uU(13)),2&Ze){const tt=i.oxw(2);i.xp6(10),i.Q6J("ngIf",tt.partial),i.xp6(3),i.hij(" [HU]=[CH]*[DU](-[SHI]-[SHF])",tt.partial?"-[HAP]":""," ")}}function X(Ze,Je){if(1&Ze&&(i.TgZ(0,"div",7),i._UZ(1,"i",8),i._uU(2," As horas s\xe3o obtidas atrav\xe9s do c\xe1lculo:"),i._UZ(3,"br")(4,"br"),i.YNc(5,H,8,3,"ng-container",1),i.YNc(6,P,14,2,"ng-template",null,10,i.W1O),i.qZA()),2&Ze){const tt=i.MAs(7),Qe=i.oxw();i.xp6(5),i.Q6J("ngIf",Qe.useDias)("ngIfElse",tt)}}function me(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," * O c\xe1lculo para dias corridos n\xe3o considera feriados nem fins de semana e levar\xe1 em considera\xe7\xe3o o expediente da unidade "),i.BQk())}function Oe(Ze,Je){if(1&Ze&&i.YNc(0,me,2,0,"ng-container",4),2&Ze){const tt=i.oxw(2);i.Q6J("ngIf",tt.useCorridos)}}function Se(Ze,Je){1&Ze&&i.YNc(0,Oe,1,1,"ng-template")}function wt(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," * O c\xe1lculo para horas corridas N\xc3O considera o expediente da unidade, APENAS leva em considera\xe7\xe3o afastamentos [HA] e pausas [HP] "),i.BQk())}function K(Ze,Je){if(1&Ze&&i.YNc(0,wt,2,0,"ng-container",4),2&Ze){const tt=i.oxw();i.Q6J("ngIf",tt.useCorridos)}}function V(Ze,Je){if(1&Ze&&(i.TgZ(0,"span",11),i._uU(1),i.qZA()),2&Ze){const tt=Je.$implicit;i.xp6(1),i.Oqu(tt)}}function J(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit,Qe=i.oxw(2);i.xp6(1),i.lnq(" De ",Qe.util.getDateTimeFormatted(tt.data_inicio)," at\xe9 ",Qe.util.getDateTimeFormatted(tt.data_fim)," - ",tt.observacoes,"")}}function ae(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit,Qe=i.oxw(2);i.xp6(1),i.AsE(" De ",Qe.util.getDateTimeFormatted(tt.data_inicio)," - ",tt.data_fim?"at\xe9 "+Qe.util.getDateTimeFormatted(tt.data_fim):"em aberto","")}}function oe(Ze,Je){if(1&Ze&&(i.ynx(0),i.TgZ(1,"strong"),i._uU(2),i.qZA(),i._UZ(3,"br"),i.YNc(4,J,3,3,"span",5),i.TgZ(5,"strong"),i._uU(6),i.qZA(),i._UZ(7,"br"),i.YNc(8,ae,3,2,"span",5),i.BQk()),2&Ze){const tt=i.oxw();i.xp6(2),i.hij("[HA] Afastamento(s) (",null==tt.efemerides||null==tt.efemerides.afastamentos?null:tt.efemerides.afastamentos.length,"):"),i.xp6(2),i.Q6J("ngForOf",tt.efemerides.afastamentos),i.xp6(2),i.hij("[HP] Pausa(s) (",null==tt.efemerides||null==tt.efemerides.pausas?null:tt.efemerides.pausas.length,"):"),i.xp6(2),i.Q6J("ngForOf",tt.efemerides.pausas)}}function ye(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit;i.xp6(1),i.AsE(" ",tt[0]," - ",tt[1],"")}}function Ee(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit;i.xp6(1),i.AsE(" ",tt[0]," - ",tt[1],"")}}function Ge(Ze,Je){if(1&Ze&&(i.TgZ(0,"span")(1,"b"),i._uU(2),i.qZA(),i._uU(3),i._UZ(4,"br"),i._uU(5),i._UZ(6,"br"),i._uU(7),i._UZ(8,"br")(9,"br"),i.qZA()),2&Ze){const tt=Je.$implicit,Qe=i.oxw();i.xp6(2),i.Oqu(tt.diaSemana),i.xp6(1),i.lnq(" - In\xedcio: ",Qe.util.getDateTimeFormatted(Qe.data(tt.tInicio))," - Fim: ",Qe.util.getDateTimeFormatted(Qe.data(tt.tFim))," - Total: ",+tt.hExpediente.toFixed(2),"h"),i.xp6(2),i.AsE(" Intervalos: Qde(",tt.intervalos.length,") - Total de horas(",Qe.totalHoras(tt.intervalos),"h)"),i.xp6(2),i.hij(" Qde. horas contabilizadas: ",+tt.hExpediente.toFixed(2)-Qe.totalHoras(tt.intervalos),"")}}let gt=(()=>{class Ze{constructor(tt,Qe){this.util=tt,this.lookup=Qe,this.partial=!0,this._expediente=[]}ngOnInit(){}get forma(){return this.efemerides?this.lookup.getValue(this.lookup.DIA_HORA_CORRIDOS_OU_UTEIS,this.efemerides.forma):"Desconhecido"}get expediente(){let Qe=this.lookup.DIA_SEMANA.map(pt=>this.efemerides?.expediente[pt.code]?.length?pt.value+": "+this.efemerides.expediente[pt.code].map(Nt=>Nt.inicio+" at\xe9 "+Nt.fim).join(", "):"").filter(pt=>pt.length);return this.efemerides?.expediente?.especial?.length&&Qe.push("Especial: "+this.efemerides.expediente.especial.map(pt=>this.util.getDateFormatted(pt.data)+" - "+pt.inicio+" at\xe9 "+pt.fim+(pt.sem?" (Sem expediente)":"")).join(", ")),JSON.stringify(this._expediente)!=JSON.stringify(Qe)&&(this._expediente=Qe),this._expediente}get useDias(){return["DIAS_UTEIS","DIAS_CORRIDOS"].includes(this.efemerides.forma)}get useCorridos(){return["DIAS_CORRIDOS","HORAS_CORRIDAS"].includes(this.efemerides.forma)}isoToFormatted(tt){return tt.substr(8,2)+"/"+tt.substr(5,2)+"/"+tt.substr(0,4)}get feriados(){return Object.entries(this.efemerides?.feriados||{}).map(tt=>[this.isoToFormatted(tt[0]),tt[1]])}get diasNaoUteis(){return Object.entries(this.efemerides?.diasNaoUteis||{}).map(tt=>[this.isoToFormatted(tt[0]),tt[1]])}data(tt){return new Date(tt)}totalHoras(tt){return+tt.reduce((Qe,pt)=>Qe+this.util.getHoursBetween(pt.start,pt.end),0).toFixed(2)}static#e=this.\u0275fac=function(Qe){return new(Qe||Ze)(i.Y36(t.f),i.Y36(A.W))};static#t=this.\u0275cmp=i.Xpm({type:Ze,selectors:[["calendar-efemerides"]],inputs:{efemerides:"efemerides",partial:"partial"},decls:49,vars:23,consts:[["class","mt-2 alert alert-primary","role","alert",4,"ngIf"],[4,"ngIf","ngIfElse"],["obsUseHoras",""],["class","ms-2 d-block",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],["collapse","","transparent","",3,"bold","title"],["role","alert",1,"mt-2","alert","alert-primary"],[1,"bi","bi-info-circle-fill"],["dataUseHoras",""],["tempoUseHoras",""],[1,"ms-2","d-block"]],template:function(Qe,pt){if(1&Qe&&(i.YNc(0,N,8,2,"div",0),i.YNc(1,X,8,2,"div",0),i.YNc(2,Se,1,0,null,1),i.YNc(3,K,1,1,"ng-template",null,2,i.W1O),i._UZ(5,"br"),i.TgZ(6,"strong"),i._uU(7,"[I] In\xedcio:"),i.qZA(),i._uU(8),i._UZ(9,"br"),i.TgZ(10,"strong"),i._uU(11,"[F] Fim:"),i.qZA(),i._uU(12),i._UZ(13,"br"),i.TgZ(14,"strong"),i._uU(15,"[DC] Dias corridos:"),i.qZA(),i._uU(16),i._UZ(17,"br"),i.TgZ(18,"strong"),i._uU(19),i.qZA(),i._uU(20),i._UZ(21,"br"),i.TgZ(22,"strong"),i._uU(23),i.qZA(),i._uU(24),i._UZ(25,"br"),i.TgZ(26,"strong"),i._uU(27,"[FC] Forma de c\xe1lculo:"),i.qZA(),i._uU(28),i._UZ(29,"br"),i.TgZ(30,"strong"),i._uU(31,"[CH] Carga hor\xe1ria:"),i.qZA(),i._uU(32),i._UZ(33,"br"),i.TgZ(34,"strong"),i._uU(35,"Expediente (nos dias da semana):"),i.qZA(),i._UZ(36,"br"),i.YNc(37,V,2,1,"span",3),i.YNc(38,oe,9,4,"ng-container",4),i.TgZ(39,"strong"),i._uU(40),i.qZA(),i._UZ(41,"br"),i.YNc(42,ye,3,2,"span",5),i.TgZ(43,"strong"),i._uU(44),i.qZA(),i._UZ(45,"br"),i.YNc(46,Ee,3,2,"span",5),i.TgZ(47,"separator",6),i.YNc(48,Ge,10,7,"span",5),i.qZA()),2&Qe){const Nt=i.MAs(4);i.Q6J("ngIf","DATA"==(null==pt.efemerides?null:pt.efemerides.resultado)),i.xp6(1),i.Q6J("ngIf","TEMPO"==(null==pt.efemerides?null:pt.efemerides.resultado)),i.xp6(1),i.Q6J("ngIf",pt.useDias)("ngIfElse",Nt),i.xp6(6),i.hij(" ",pt.util.getDateTimeFormatted(null==pt.efemerides?null:pt.efemerides.inicio),""),i.xp6(4),i.hij(" ",pt.util.getDateTimeFormatted(null==pt.efemerides?null:pt.efemerides.fim),""),i.xp6(4),i.hij(" ",null==pt.efemerides?null:pt.efemerides.dias_corridos,""),i.xp6(3),i.hij("[HU] Horas ",pt.useCorridos?"corridas":"\xfateis",":"),i.xp6(1),i.hij(" ",pt.util.decimalToTimerFormated(null==pt.efemerides?null:pt.efemerides.tempoUtil,!0),""),i.xp6(3),i.hij("[HNU] Horas ",pt.useCorridos?"n\xe3o contabilizadas":"n\xe3o \xfateis",":"),i.xp6(1),i.hij(" ",pt.util.decimalToTimerFormated(null==pt.efemerides?null:pt.efemerides.horasNaoUteis,!0),""),i.xp6(4),i.hij(" ",pt.forma,""),i.xp6(4),i.AsE(" ",pt.util.decimalToTimerFormated(null==pt.efemerides?null:pt.efemerides.cargaHoraria,!0),"",pt.useCorridos?" - Utilizada: 24h/dia":"",""),i.xp6(5),i.Q6J("ngForOf",pt.expediente),i.xp6(1),i.Q6J("ngIf",pt.partial),i.xp6(2),i.hij("[DNU] Dias n\xe3o \xfateis (",pt.diasNaoUteis.length,"):"),i.xp6(2),i.Q6J("ngForOf",pt.diasNaoUteis),i.xp6(2),i.hij("[FER] Feriado(s) (",pt.feriados.length,"):"),i.xp6(2),i.Q6J("ngForOf",pt.feriados),i.xp6(1),i.Q6J("bold",!0)("title","Detalhes dia-a-dia ("+(null==pt.efemerides||null==pt.efemerides.diasDetalhes?null:pt.efemerides.diasDetalhes.length)+"):"),i.xp6(1),i.Q6J("ngForOf",null==pt.efemerides?null:pt.efemerides.diasDetalhes)}},dependencies:[a.sg,a.O5,y.N]})}return Ze})()},4240:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>oe});var i=m(8239),t=m(3150),A=m(949),a=m(9707),y=m(2124),C=m(6298),b=m(8325),F=m(4971),j=m(1021),N=m(755),x=m(6733),H=m(7224),k=m(3351),P=m(4040),X=m(4508),me=m(4603),Oe=m(2729);const Se=["texto"],wt=["comentarios"];function K(ye,Ee){if(1&ye&&(N.TgZ(0,"td",15),N._uU(1,"\xa0"),N.qZA()),2&ye){const Ge=N.oxw().row,gt=N.oxw();N.Udp("width",20*gt.comentario.comentarioLevel(Ge).length,"px")}}function V(ye,Ee){if(1&ye&&(N.TgZ(0,"table",7)(1,"tr"),N.YNc(2,K,2,2,"td",8),N.TgZ(3,"td",9),N._UZ(4,"profile-picture",10)(5,"br"),N.qZA(),N.TgZ(6,"td",11),N._UZ(7,"span",12),N.TgZ(8,"h6",13),N._uU(9),N.TgZ(10,"span"),N._uU(11),N.qZA(),N.TgZ(12,"span"),N._uU(13),N.qZA(),N.TgZ(14,"span"),N._uU(15),N.qZA()(),N.TgZ(16,"p",14),N._uU(17),N.qZA()()()()),2&ye){const Ge=Ee.row,gt=N.oxw();N.xp6(2),N.Q6J("ngIf",gt.comentario.comentarioLevel(Ge).length>0),N.xp6(2),N.Q6J("url",null==Ge.usuario?null:Ge.usuario.url_foto)("hint",(null==Ge.usuario?null:Ge.usuario.nome)||"Desconhecido"),N.xp6(2),N.Udp("border-color",gt.util.getBackgroundColor(gt.comentario.comentarioLevel(Ge).length,20)),N.xp6(1),N.Udp("border-color",gt.util.getBackgroundColor(gt.comentario.comentarioLevel(Ge).length,20)),N.xp6(2),N.hij(" ",(null==Ge.usuario?null:Ge.usuario.nome)||"Desconhecido"," "),N.xp6(2),N.Oqu(gt.lookup.getValue(gt.lookup.COMENTARIO_TIPO,Ge.tipo)),N.xp6(2),N.Oqu(gt.lookup.getValue(gt.lookup.COMENTARIO_PRIVACIDADE,Ge.privacidade)),N.xp6(2),N.Oqu(gt.util.getDateTimeFormatted(Ge.comentario)),N.xp6(2),N.Oqu(Ge.texto)}}function J(ye,Ee){1&ye&&(N.ynx(0),N.TgZ(1,"span",25),N._uU(2,"\u2022"),N.qZA(),N._UZ(3,"br"),N.BQk())}function ae(ye,Ee){if(1&ye&&(N.TgZ(0,"div",16)(1,"div",17),N._UZ(2,"profile-picture",10)(3,"br"),N.YNc(4,J,4,0,"ng-container",18),N.qZA(),N.TgZ(5,"div",19),N._UZ(6,"input-textarea",20,21),N.qZA(),N.TgZ(8,"div",22)(9,"div",16),N._UZ(10,"input-select",23),N.qZA(),N.TgZ(11,"div",16),N._UZ(12,"input-select",24),N.qZA()()()),2&ye){const Ge=Ee.row,gt=N.oxw();N.xp6(2),N.Q6J("url",null==Ge.usuario?null:Ge.usuario.url_foto)("hint",(null==Ge.usuario?null:Ge.usuario.nome)||"Desconhecido"),N.xp6(2),N.Q6J("ngForOf",gt.comentario.comentarioLevel(Ge)),N.xp6(2),N.Q6J("size",12)("rows",3)("control",gt.formComentarios.controls.texto),N.xp6(4),N.Q6J("size",12)("control",gt.formComentarios.controls.tipo)("items",gt.comentarioTipos),N.xp6(2),N.Q6J("size",12)("control",gt.formComentarios.controls.privacidade)("items",gt.lookup.COMENTARIO_PRIVACIDADE)}}let oe=(()=>{class ye extends C.D{set control(Ge){this._control!=Ge&&(this._control=Ge,Ge&&this.comentario&&Ge.setValue(this.comentario.orderComentarios(Ge.value||[])))}get control(){return this._control}set entity(Ge){this._entity!=Ge&&(this._entity=Ge,Ge&&this.comentario&&(Ge.comentarios=this.comentario.orderComentarios(Ge.comentarios||[])),this.fakeControl.setValue(Ge?.comentarios))}get entity(){return this._entity}set origem(Ge){if(this._origem!=Ge){this._origem=Ge;const gt=["PROJETO","PROJETO_TAREFA"].includes(Ge||"")?["COMENTARIO","GERENCIAL","TECNICO"]:["COMENTARIO","TECNICO"];this.comentarioTipos=this.lookup.COMENTARIO_TIPO.filter(Ze=>gt.includes(Ze.key))}}get origem(){return this._origem}constructor(Ge){var gt;super(Ge),gt=this,this.injector=Ge,this.comentarioTipos=[],this._origem=void 0,this.validate=(Ze,Je)=>{let tt=null;return"texto"==Je&&!Ze.value?.length&&(tt="N\xe3o pode ser em branco"),tt},this.addComentario=(0,i.Z)(function*(){gt.comentario.newComentario(gt.gridControl,gt.comentarios)}),this.comentario=Ge.get(y.K),this.form=this.fh.FormBuilder({}),this.join=["comentarios.usuario"],this.formComentarios=this.fh.FormBuilder({texto:{default:""},tipo:{default:"COMENTARIO"},privacidade:{default:"PUBLICO"}},this.cdRef,this.validate)}ngOnInit(){switch(super.ngOnInit(),this.urlParams?.has("origem")&&(this.origem=this.urlParams.get("origem"),this.comentario_id=this.queryParams?.comentario_id),this.origem){case"ATIVIDADE":this.dao=this.injector.get(F.P);break;case"ATIVIDADE_TAREFA":this.dao=this.injector.get(A.n);break;case"PROJETO":this.dao=this.injector.get(a.P);break;case"PROJETO_TAREFA":this.dao=this.injector.get(b.z);break;case"PLANO_ENTREGA_ENTREGA":this.dao=this.injector.get(j.K)}}get isNoPersist(){return"NOPERSIST"==this.entity_id}get constrolOrItems(){return this.control||this.entity?.comentarios||[]}dynamicButtons(Ge){let gt=[];return Ge.usuario_id==this.auth.usuario?.id&>.push({icon:"bi bi-pencil-square",hint:"Alterar",color:"btn-outline-info",onClick:Je=>{this.grid.edit(Je)}}),gt.push({hint:"Responder",color:"btn-outline-success",icon:"bi bi-reply",onClick:Je=>{this.comentario.newComentario(this.gridControl,this.comentarios,Je)}}),gt}saveComentario(Ge,gt){var Ze=this;return(0,i.Z)(function*(){Object.assign(Ze.comentarios.editing,Ge.value)})()}loadComentario(Ge,gt){var Ze=this;return(0,i.Z)(function*(){Ze.formComentarios.controls.texto.setValue(gt.texto),Ze.formComentarios.controls.tipo.setValue(gt.tipo),Ze.formComentarios.controls.privacidade.setValue(gt.privacidade)})()}confirm(){this.comentarios?.confirm()}loadData(Ge,gt){const Ze=this.comentario_id?.length?(this.gridControl.value||[]).find(Je=>Je.id==this.comentario_id):void 0;this.comentario.newComentario(this.gridControl,this.comentarios,Ze),this.cdRef.detectChanges(),this.texto.focus()}saveData(){var Ge=this;return(0,i.Z)(function*(){return Ge.confirm(),{comentarios:Ge.gridControl.value}})()}static#e=this.\u0275fac=function(gt){return new(gt||ye)(N.Y36(N.zs3))};static#t=this.\u0275cmp=N.Xpm({type:ye,selectors:[["comentarios"]],viewQuery:function(gt,Ze){if(1>&&(N.Gf(t.M,5),N.Gf(Se,5),N.Gf(wt,5)),2>){let Je;N.iGM(Je=N.CRH())&&(Ze.grid=Je.first),N.iGM(Je=N.CRH())&&(Ze.texto=Je.first),N.iGM(Je=N.CRH())&&(Ze.comentarios=Je.first)}},inputs:{control:"control",entity:"entity",origem:"origem"},features:[N.qOj],decls:10,vars:12,consts:[[3,"form","noButtons","submit","cancel"],["editable","",3,"control","hasEdit","hasDelete","add","form","load","save"],["comentarios",""],["title","Coment\xe1rios",3,"template","editTemplate"],["mensagem",""],["mensagemEdit",""],["type","options",3,"dynamicButtons"],[1,"comentario-table"],["class","d-none d-md-table-cell",3,"width",4,"ngIf"],[1,"comentario-user","text-center"],[3,"url","hint"],[1,"comentario-container"],[1,"comentario-user-indicator"],[1,"comentario-message-title"],[1,"fw-light"],[1,"d-none","d-md-table-cell"],[1,"row"],[1,"col-md-1","comentario-user","text-center"],[4,"ngFor","ngForOf"],[1,"col-md-7"],["label","Mensagem","icon","bi bi-textarea-t","controlName","texto",3,"size","rows","control"],["texto",""],[1,"col-md-4"],["label","Tipo","icon","bi bi-braces","controlName","tipo",3,"size","control","items"],["label","privacidade","icon","bi bi-incognito","controlName","privacidade",3,"size","control","items"],[1,"comentario-level"]],template:function(gt,Ze){if(1>&&(N.TgZ(0,"editable-form",0),N.NdJ("submit",function(){return Ze.onSaveData()})("cancel",function(){return Ze.onCancel()}),N.TgZ(1,"grid",1,2)(3,"columns")(4,"column",3),N.YNc(5,V,18,12,"ng-template",null,4,N.W1O),N.YNc(7,ae,13,12,"ng-template",null,5,N.W1O),N.qZA(),N._UZ(9,"column",6),N.qZA()()()),2>){const Je=N.MAs(6),tt=N.MAs(8);N.Q6J("form",Ze.form)("noButtons",Ze.entity_id?void 0:"true"),N.xp6(1),N.Q6J("control",Ze.gridControl)("hasEdit",!1)("hasDelete",!1)("add",Ze.addComentario.bind(Ze))("form",Ze.formComentarios)("load",Ze.loadComentario.bind(Ze))("save",Ze.saveComentario.bind(Ze)),N.xp6(3),N.Q6J("template",Je)("editTemplate",tt),N.xp6(5),N.Q6J("dynamicButtons",Ze.dynamicButtons.bind(Ze))}},dependencies:[x.sg,x.O5,t.M,H.a,k.b,P.Q,X.Q,me.p,Oe.q],styles:['@charset "UTF-8";.comentario-table[_ngcontent-%COMP%]{width:100%}.comentario-user[_ngcontent-%COMP%]{width:50px;vertical-align:top;padding:8px}.comentario-container[_ngcontent-%COMP%]{padding-left:10px;width:auto;border-left:var(--bs-gray-400) 2px solid;position:relative}.comentario-user-indicator[_ngcontent-%COMP%]{content:"";position:absolute;width:0px;height:0px;top:0;left:-12px;border-top:.75rem solid var(--bs-gray-400);border-left:.75rem solid transparent}.comentario-level[_ngcontent-%COMP%]{color:var(--bs-gray)}.comentario-message-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.7em;color:var(--bs-gray)}.comentario-message-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:before{content:" \\2022 "}']})}return ye})()},2702:(lt,_e,m)=>{"use strict";m.d(_e,{t:()=>b});var i=m(755),t=m(5545),A=m(9367),a=m(9084),y=m(5026),C=m(2307);let b=(()=>{class F{constructor(N,x,H,k,P){this.dialog=N,this.templateService=x,this.allPages=H,this.documentoDao=k,this.go=P}preview(N){this.go.navigate({route:["uteis","documentos","preview",N.id]},{metadata:{documento:N}})}onLinkClick(N){"SEI"==N?.tipo?this.allPages.openDocumentoSei(N?.id_processo||0,N?.id_documento||0):"URL"==N?.tipo&&this.go.openNewTab(N?.url||"#")}onDocumentoClick(N){"LINK"==N.tipo&&N.link?this.onLinkClick(N.link):"HTML"==N.tipo&&this.preview(N)}documentoHint(N){return this.allPages.getButtonTitle(N.link?.numero_processo,N.link?.numero_documento)}sign(N){return new Promise((x,H)=>{this.go.navigate({route:["uteis","documentos","assinar"]},{metadata:{documentos:N},modalClose:x})})}static#e=this.\u0275fac=function(x){return new(x||F)(i.LFG(t.x),i.LFG(A.E),i.LFG(a.T),i.LFG(y.d),i.LFG(C.o))};static#t=this.\u0275prov=i.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},2504:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>wt});var i=m(755),t=m(2702),A=m(6733),a=m(5560),y=m(5489),C=m(2729);function b(K,V){if(1&K&&(i.TgZ(0,"small"),i._uU(1),i.qZA()),2&K){const J=i.oxw(3);i.xp6(1),i.hij("Sei n\xba ",null==J.documento||null==J.documento.link?null:J.documento.link.numero_documento,"")}}function F(K,V){if(1&K&&(i.ynx(0),i._uU(1),i._UZ(2,"br"),i.YNc(3,b,2,1,"small",4),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento||null==J.documento.link?null:J.documento.link.numero_processo)||J.emptyMessage,""),i.xp6(2),i.Q6J("ngIf",null==J.documento||null==J.documento.link||null==J.documento.link.numero_documento?null:J.documento.link.numero_documento.length)}}function j(K,V){if(1&K&&(i.ynx(0),i._uU(1),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento?null:J.documento.titulo)||J.emptyMessage," ")}}function N(K,V){if(1&K&&(i.ynx(0),i.TgZ(1,"span",6)(2,"small")(3,"strong"),i._uU(4),i.qZA(),i._uU(5),i.qZA()(),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.Udp("max-width",J.maxWidth,"px"),i.xp6(3),i.hij("#",null==J.documento?null:J.documento.numero,""),i.xp6(1),i.hij(" - ",(null==J.documento?null:J.documento.titulo)||J.emptyMessage,"")}}function x(K,V){if(1&K&&(i.ynx(0),i._uU(1),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento?null:J.documento.titulo)||J.emptyMessage," ")}}function H(K,V){if(1&K&&i._UZ(0,"profile-picture",10),2&K){const J=V.$implicit;i.Q6J("url",(null==J.usuario?null:J.usuario.url_foto)||"")("hint",(null==J.usuario?null:J.usuario.nome)||"Desconhecido")}}function k(K,V){if(1&K&&(i.TgZ(0,"separator",7)(1,"div",8),i.YNc(2,H,1,2,"profile-picture",9),i.qZA()()),2&K){const J=i.oxw(2);i.xp6(2),i.Q6J("ngForOf",J.documento.assinaturas)}}function P(K,V){if(1&K&&(i.TgZ(0,"badge",2)(1,"div",3),i.YNc(2,F,4,2,"ng-container",4),i.YNc(3,j,2,1,"ng-container",4),i.YNc(4,N,6,4,"ng-container",4),i.YNc(5,x,2,1,"ng-container",4),i.YNc(6,k,3,1,"separator",5),i.qZA()()),2&K){const J=i.oxw();i.Q6J("icon",J.icon)("color",J.color)("rounded",!J.isNoRounded)("data",J.documento)("click",J.documentoService.onDocumentoClick.bind(J.documentoService))("hint",J.documentoService.documentoHint(J.documento)),i.xp6(2),i.Q6J("ngIf",J.isLinkSei),i.xp6(1),i.Q6J("ngIf",J.isLinkUrl),i.xp6(1),i.Q6J("ngIf",J.isHtml),i.xp6(1),i.Q6J("ngIf",J.isPdf),i.xp6(1),i.Q6J("ngIf",J.isSignatures&&(null==J.documento||null==J.documento.assinaturas?null:J.documento.assinaturas.length))}}function X(K,V){if(1&K&&(i.TgZ(0,"small"),i._uU(1),i.qZA()),2&K){const J=i.oxw(3);i.xp6(1),i.hij("Sei n\xba ",null==J.documento.link?null:J.documento.link.numero_documento,"")}}function me(K,V){if(1&K&&(i.ynx(0),i._uU(1),i._UZ(2,"br"),i.YNc(3,X,2,1,"small",4),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento.link?null:J.documento.link.numero_processo)||J.emptyMessage,""),i.xp6(2),i.Q6J("ngIf",null==J.documento||null==J.documento.link||null==J.documento.link.numero_documento?null:J.documento.link.numero_documento.length)}}function Oe(K,V){if(1&K&&(i.ynx(0),i._uU(1),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",J.documento.titulo||J.emptyMessage," ")}}function Se(K,V){if(1&K&&(i.TgZ(0,"badge",11),i.YNc(1,me,4,2,"ng-container",4),i.YNc(2,Oe,2,1,"ng-container",4),i.qZA()),2&K){const J=i.oxw();i.Tol("d-block"),i.Q6J("icon",J.linkIcon)("rounded",!1)("data",J.documento.link)("click",J.documentoService.onLinkClick.bind(J.documentoService))("hint",J.documentoService.documentoHint(J.documento)),i.xp6(1),i.Q6J("ngIf","SEI"==(null==J.documento||null==J.documento.link?null:J.documento.link.tipo)),i.xp6(1),i.Q6J("ngIf","URL"==(null==J.documento||null==J.documento.link?null:J.documento.link.tipo))}}let wt=(()=>{class K{constructor(J){this.documentoService=J,this.color="light"}get show(){return this.isOnlyLink&&(this.isLinkSei||this.isLinkUrl)||!this.isOnlyLink&&(!!this.documento||!!this.emptyMessage?.length)}get icon(){return this.isLinkUrl?"bi bi-link-45deg":this.isLinkSei?this.documento?.link?.numero_processo?.length?"bi bi-folder-symlink":"bi bi-x-lg":this.isPdf?"bi bi-file-earmark-pdf":"bi bi-filetype-html"}get linkIcon(){return"SEI"==this.documento?.link?.tipo?this.documento?.link?.numero_processo?.length?"bi bi-folder-symlink":"bi bi-x-lg":"bi bi-link-45deg"}get hasLink(){return["SEI","URL"].includes(this.documento?.link?.tipo||"")}get isLinkSei(){return"LINK"==this.documento?.tipo&&"SEI"==this.documento?.link?.tipo}get isLinkUrl(){return"LINK"==this.documento?.tipo&&"URL"==this.documento?.link?.tipo}get isHtml(){return"HTML"==this.documento?.tipo}get isPdf(){return"PDF"==this.documento?.tipo}get isSignatures(){return null!=this.signatures}get isNoRounded(){return null!=this.noRounded}get isWithLink(){return null!=this.withLink}get isOnlyLink(){return null!=this.onlyLink}static#e=this.\u0275fac=function(ae){return new(ae||K)(i.Y36(t.t))};static#t=this.\u0275cmp=i.Xpm({type:K,selectors:[["documentos-badge"]],inputs:{documento:"documento",emptyMessage:"emptyMessage",signatures:"signatures",maxWidth:"maxWidth",noRounded:"noRounded",withLink:"withLink",onlyLink:"onlyLink",color:"color"},decls:2,vars:2,consts:[[3,"icon","color","rounded","data","click","hint",4,"ngIf"],["color","warning",3,"class","icon","rounded","data","click","hint",4,"ngIf"],[3,"icon","color","rounded","data","click","hint"],[1,"d-flex","flex-column"],[4,"ngIf"],["transparent","",4,"ngIf"],[1,"text-wrap"],["transparent",""],[1,"d-flex","flex-wrap"],[3,"url","hint",4,"ngFor","ngForOf"],[3,"url","hint"],["color","warning",3,"icon","rounded","data","click","hint"]],template:function(ae,oe){1&ae&&(i.YNc(0,P,7,11,"badge",0),i.YNc(1,Se,3,9,"badge",1)),2&ae&&(i.Q6J("ngIf",oe.show),i.xp6(1),i.Q6J("ngIf",oe.documento&&!oe.isLinkSei&&!oe.isLinkUrl&&(oe.isWithLink||oe.isOnlyLink)&&oe.hasLink))},dependencies:[A.sg,A.O5,a.N,y.F,C.q],styles:[".doc[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:5px;padding:7px;max-width:200px}"]})}return K})()},6601:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>Ge});var i=m(8239),t=m(755),A=m(3150),a=m(5026),y=m(7744),C=m(3972),b=m(6298),F=m(9367),j=m(2702),N=m(6733),x=m(7224),H=m(3351),k=m(2392),P=m(5560),X=m(5489),me=m(2729),Oe=m(5795),Se=m(4788),wt=m(3705),K=m(2504);function V(gt,Ze){if(1>&&(t.TgZ(0,"h5"),t._uU(1),t.qZA(),t._UZ(2,"document-preview",8)),2>){const Je=Ze.row;t.xp6(1),t.Oqu((null==Je?null:Je.titulo)||"Preview do template"),t.xp6(1),t.Q6J("html",null==Je?null:Je.conteudo)}}function J(gt,Ze){if(1>&&(t.TgZ(0,"div",9),t._UZ(1,"input-text",10),t.qZA(),t.TgZ(2,"div"),t._UZ(3,"input-editor",11),t.qZA()),2>){const Je=t.oxw();t.xp6(1),t.Q6J("size",12)("control",Je.form.controls.titulo),t.uIk("maxlength",250),t.xp6(2),t.Q6J("size",12)("control",Je.form.controls.conteudo)("canEditTemplate",Je.canEdit)("template",Je.form.controls.template.value)("datasource",Je.form.controls.datasource.value)}}function ae(gt,Ze){if(1>&&t._UZ(0,"badge",14),2>){const Je=Ze.$implicit;t.Q6J("color",Je.color)("icon",Je.icon)("label",Je.value)}}function oe(gt,Ze){if(1>&&t._UZ(0,"profile-picture",20),2>){const Je=Ze.$implicit,tt=t.oxw(3);t.Q6J("url",null==Je.usuario?null:Je.usuario.url_foto)("hint",tt.util.apelidoOuNome(Je.usuario))}}function ye(gt,Ze){if(1>&&(t.TgZ(0,"separator",18),t.YNc(1,oe,1,2,"profile-picture",19),t.qZA()),2>){const Je=t.oxw().row;t.xp6(1),t.Q6J("ngForOf",Je.assinaturas)}}function Ee(gt,Ze){if(1>&&(t.TgZ(0,"div",9)(1,"strong"),t._uU(2),t.TgZ(3,"small"),t._uU(4),t.qZA()()(),t.TgZ(5,"div",9)(6,"small"),t._uU(7),t.qZA()(),t.TgZ(8,"div",9)(9,"div",12),t._UZ(10,"badge",13)(11,"badge",14),t.YNc(12,ae,1,3,"badge",15),t._UZ(13,"documentos-badge",16),t.YNc(14,ye,2,1,"separator",17),t.qZA()()),2>){const Je=Ze.row,tt=Ze.metadata,Qe=t.oxw();t.xp6(2),t.hij("#",Je.numero>0?Je.numero:"NOVO",""),t.xp6(2),t.hij(" \u2022 ",Qe.util.getDateTimeFormatted(Je.created_at),""),t.xp6(3),t.Oqu(Je.titulo),t.xp6(3),t.Q6J("color",Qe.lookup.getColor(Qe.lookup.DOCUMENTO_ESPECIE,Je.especie))("label",Qe.lookup.getValue(Qe.lookup.DOCUMENTO_ESPECIE,Je.especie)),t.xp6(1),t.Q6J("color",Qe.lookup.getColor(Qe.lookup.DOCUMENTO_STATUS,Je.status))("icon",Qe.lookup.getIcon(Qe.lookup.DOCUMENTO_STATUS,Je.status))("label",Qe.lookup.getValue(Qe.lookup.DOCUMENTO_STATUS,Je.status)),t.xp6(1),t.Q6J("ngForOf",Qe.extraTags(Qe.entity,Je,tt)),t.xp6(1),t.Q6J("documento",Je),t.xp6(1),t.Q6J("ngIf",null==Je.assinaturas?null:Je.assinaturas.length)}}let Ge=(()=>{class gt extends b.D{set entity(Je){super.entity=Je}get entity(){return super.entity}set noPersist(Je){super.noPersist=Je}get noPersist(){return super.noPersist}set datasource(Je){JSON.stringify(this._datasource)!=this.JSON.stringify(Je)&&(this._datasource=Je,this.grid?.editing?.assinaturas?.length||this.form.controls.datasource.setValue(Je),this.cdRef.detectChanges())}get datasource(){return this._datasource}set editingId(Je){this._editingId!=Je&&(this._editingId=Je,Je&&(this.action="edit",this.documentoId=Je,this.loadData(this.entity)))}get editingId(){return this._editingId}get items(){return this.gridControl.value||this.gridControl.setValue({documentos:[]}),this.gridControl.value.documentos||(this.gridControl.value.documentos=[]),this.gridControl.value.documentos}constructor(Je){super(Je),this.injector=Je,this.needSign=(tt,Qe)=>!0,this.extraTags=(tt,Qe,pt)=>[],this.especie="OUTRO",this.disabled=!1,this.canEditTemplate=!1,this.validate=(tt,Qe)=>{let pt=null;return"titulo"==Qe&&!tt?.value?.length&&(pt="Obrigat\xf3rio"),pt},this.cdRef=Je.get(t.sBO),this.documentoDao=Je.get(a.d),this.templateService=Je.get(F.E),this.documentoService=Je.get(j.t),this.modalWidth=1200,this.form=this.fh.FormBuilder({id:{default:""},tipo:{default:"HTML"},titulo:{default:""},conteudo:{default:""},link:{default:null},dataset:{default:void 0},datasource:{default:void 0},template:{default:void 0},template_id:{default:void 0}},this.cdRef,this.validate),this.join=["documentos.assinaturas.usuario"]}ngOnInit(){super.ngOnInit(),this.needSign=this.metadata?.needSign||this.needSign,this.extraTags=this.metadata?.extraTags||this.extraTags,this.especie=this.urlParams?.has("especie")?this.urlParams.get("especie"):this.metadata?.especie||this.especie,this.action=this.urlParams?.has("action")?this.urlParams.get("action")||"":this.action,this.documentoId=this.urlParams?.has("documentoId")?this.urlParams.get("documentoId")||void 0:this.documentoId,this.dataset=this.metadata?.dataset||this.dataset,this.datasource=this.metadata?.datasource||this.datasource,this.template=this.metadata?.template||this.template,this.tituloDefault=this.metadata?.titulo||this.tituloDefault,this.dao=["TCR"].includes(this.especie)?this.injector.get(y.t):void 0}loadData(Je,tt){this.entity=Je,this.viewInit&&!this.grid.editing&&!this.grid.adding&&("new"==this.action&&this.grid.onAddItem(),"edit"==this.action&&this.grid.onEditItem(this.grid.selectById(this.documentoId||"")))}initializeData(Je){this.entity=this.entity||{id:this.dao?.generateUuid(),documentos:[],documento_id:null},this.loadData(this.entity,this.form)}saveData(Je){var tt=this;return(0,i.Z)(function*(){return yield tt.grid?.confirm(),tt.entity})()}get canEdit(){const Je=this.grid?.selected;return this.canEditTemplate&&!Je?.assinaturas?.length&&"LINK"!=Je?.tipo}editEndDocumento(Je){}documentoDynamicButtons(Je){let tt=[];return!this.isNoPersist&&this.entity&&this.needSign(this.entity,Je)&&tt.push({hint:"Assinar",icon:"bi bi-pen",color:"secondary",onClick:this.signDocumento.bind(this)}),tt}signDocumento(Je){var tt=this;return(0,i.Z)(function*(){yield tt.documentoService.sign([Je]),tt.cdRef.detectChanges()})()}addDocumento(){var Je=this;return(0,i.Z)(function*(){return new C.U({id:Je.dao.generateUuid(),entidade_id:Je.auth.unidade?.entidade_id||null,tipo:"HTML",especie:Je.especie,link:null,_status:"ADD",titulo:Je.tituloDefault||"",dataset:Je.dataset||null,datasource:Je.datasource||null,template:Je.metadata?.template.conteudo,template_id:Je.metadata?.template.id,plano_trabalho_id:["TCR"].includes(Je.especie)?Je.entity.id:null})})()}loadDocumento(Je,tt){var Qe=this;return(0,i.Z)(function*(){const pt=tt;Qe.form.patchValue({id:pt?.id||"",tipo:pt?.tipo||"HTML",titulo:pt?.titulo||"",conteudo:pt?.conteudo||"",link:pt?.link,dataset:pt?.dataset,datasource:pt?.datasource,template:pt?.template,template_id:pt?.template_id}),Qe.cdRef.detectChanges()})()}removeDocumento(Je){var tt=this;return(0,i.Z)(function*(){return!!(yield tt.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(tt.isNoPersist?Je._status="DEL":yield tt.dao.delete(Je),!0)})()}saveDocumento(Je,tt){var Qe=this;return(0,i.Z)(function*(){let pt;if(Qe.form.markAllAsTouched(),Qe.form.valid){tt.titulo=Je.controls.titulo.value,tt.conteudo=Je.controls.conteudo.value,tt.dataset=Qe.templateService.prepareDatasetToSave(tt.dataset||[]),Qe.submitting=!0;try{pt=Qe.isNoPersist?tt:yield Qe.documentoDao.save(tt),Je.controls.id.setValue(pt.id),tt.id=pt.id}catch(Nt){Qe.error(Nt.message?Nt.message:Nt)}finally{Qe.submitting=!1}Qe.cdRef.detectChanges()}return pt})()}static#e=this.\u0275fac=function(tt){return new(tt||gt)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["documentos"]],viewQuery:function(tt,Qe){if(1&tt&&t.Gf(A.M,5),2&tt){let pt;t.iGM(pt=t.CRH())&&(Qe.grid=pt.first)}},inputs:{cdRef:"cdRef",entity:"entity",noPersist:"noPersist",needSign:"needSign",extraTags:"extraTags",especie:"especie",dataset:"dataset",disabled:"disabled",canEditTemplate:"canEditTemplate",template:"template",datasource:"datasource",editingId:"editingId"},features:[t.qOj],decls:12,vars:18,consts:[[3,"items","form","editable","selectable","add","load","remove","save","editEnd","hasAdd","hasEdit","hasDelete"],["gridDocumentos",""],["fullSizeOnEdit","",3,"size","noToolbar","template","editTemplate"],["panelDocumento",""],["panelDocumentoEdit",""],["title","#ID/Especie",3,"template"],["documentoTemplate",""],["type","options","always","",3,"dynamicButtons"],["emptyDocumentMensage","Nenhum documento selecionado",3,"html"],[1,"row"],["label","T\xedtulo",3,"size","control"],["label","Conte\xfado",3,"size","control","canEditTemplate","template","datasource"],[1,"col-12","text-wrap"],["icon","bi bi-hash",3,"color","label"],[3,"color","icon","label"],[3,"color","icon","label",4,"ngFor","ngForOf"],["onlyLink","",3,"documento"],["title","Assinaturas","small","","transparent","",4,"ngIf"],["title","Assinaturas","small","","transparent",""],[3,"url","hint",4,"ngFor","ngForOf"],[3,"url","hint"]],template:function(tt,Qe){if(1&tt&&(t.TgZ(0,"grid",0,1)(2,"side-panel",2),t.YNc(3,V,3,2,"ng-template",null,3,t.W1O),t.YNc(5,J,4,8,"ng-template",null,4,t.W1O),t.qZA(),t.TgZ(7,"columns")(8,"column",5),t.YNc(9,Ee,15,11,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(11,"column",7),t.qZA()()),2&tt){const pt=t.MAs(4),Nt=t.MAs(6),Jt=t.MAs(10);t.Q6J("items",Qe.items)("form",Qe.form)("editable",Qe.disabled?void 0:"true")("selectable",!0)("add",Qe.addDocumento.bind(Qe))("load",Qe.loadDocumento.bind(Qe))("remove",Qe.removeDocumento.bind(Qe))("save",Qe.saveDocumento.bind(Qe))("editEnd",Qe.editEndDocumento.bind(Qe))("hasAdd",!Qe.disabled)("hasEdit",Qe.canEdit)("hasDelete",!1),t.xp6(2),t.Q6J("size",8)("noToolbar",Qe.editingId?"true":void 0)("template",pt)("editTemplate",Nt),t.xp6(6),t.Q6J("template",Jt),t.xp6(3),t.Q6J("dynamicButtons",Qe.documentoDynamicButtons.bind(Qe))}},dependencies:[N.sg,N.O5,A.M,x.a,H.b,k.m,P.N,X.F,me.q,Oe.G,Se.h,wt.a,K.h]})}return gt})()},2067:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>C});var i=m(755),t=m(2333),A=m(5545),a=m(4999),y=m(2307);let C=(()=>{class b{constructor(j,N,x,H,k){this.auth=j,this.dialog=N,this.notificacaoService=x,this.notificacaoDao=H,this.go=k,this.naoLidas=0}updateNaoLidas(){this.auth.usuario&&(this.naoLidas=this.auth.usuario.notificacoes_destinatario?.length||0)}heartbeat(){this.updateNaoLidas(),this.intervalId||(this.intervalId=setInterval(this.updateNaoLidas.bind(this),6e4))}details(j){this.dialog.html({title:"Pre-visualiza\xe7\xe3o do documento",modalWidth:1e3},j.entity.conteudo,[])}dataset(j){return[]}titulo(j){return""}hint(j){return""}static#e=this.\u0275fac=function(N){return new(N||b)(i.LFG(t.e),i.LFG(A.x),i.LFG(a.r),i.LFG(a.r),i.LFG(y.o))};static#t=this.\u0275prov=i.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},2739:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>x,y:()=>H});var i=m(8239),t=m(755),A=m(3150),a=m(6298),y=m(9367),C=m(1340);function b(k,P){if(1&k){const X=t.EpF();t.TgZ(0,"input-switch",6),t.NdJ("change",function(){t.CHM(X);const Oe=t.oxw();return t.KtG(Oe.updateNotificacoes())}),t.qZA()}2&k&&t.Q6J("size",4)}function F(k,P){if(1&k){const X=t.EpF();t.TgZ(0,"input-switch",7),t.NdJ("change",function(){t.CHM(X);const Oe=t.oxw();return t.KtG(Oe.updateNotificacoes())}),t.qZA()}2&k&&t.Q6J("size",4)}function j(k,P){if(1&k){const X=t.EpF();t.TgZ(0,"input-switch",8),t.NdJ("change",function(){t.CHM(X);const Oe=t.oxw();return t.KtG(Oe.updateNotificacoes())}),t.qZA()}2&k&&t.Q6J("size",4)}function N(k,P){if(1&k&&(t.TgZ(0,"separator",9),t._UZ(1,"notificacoes-template",10),t.qZA()),2&k){const X=t.oxw();t.xp6(1),t.Q6J("entity",X.entity)("source",X.source)("unidadeId",X.unidadeId)("entidadeId",X.entidadeId)("cdRef",X.cdRef)}}class x{constructor(P){this.codigo="",this.notifica=!0,this.descricao="",Object.assign(this,P||{})}}let H=(()=>{class k extends a.D{set entity(X){super.entity=X}get entity(){return super.entity}constructor(X){super(X),this.injector=X,this.disabled=!1,this.notificar=[],this.source=[],this.loadingNotificacoes=!1,this.cdRef=X.get(t.sBO),this.templateService=X.get(y.E),this.code="MOD_NOTF_CONF",this.title="Notifica\xe7\xf5es",this.form=this.fh.FormBuilder({enviar_petrvs:{default:!0},enviar_email:{default:!0},enviar_whatsapp:{default:!0}})}ngOnInit(){super.ngOnInit(),this.entidadeId=this.entidadeId||this.queryParams?.entidadeId,this.unidadeId=this.unidadeId||this.queryParams?.unidadeId}ngAfterViewInit(){super.ngAfterViewInit(),this.loadNotificacoes(this.entity)}loadNotificacoes(X){var me=this;(0,i.Z)(function*(){me.loadingNotificacoes=!0,me.cdRef.detectChanges();try{me.source=yield me.templateService.loadNotificacoes(me.entidadeId,me.unidadeId),me.notificar=me.templateService.buildNotificar(me.entity?.notificacoes||new C.$);let Oe=Object.assign({},me.form.value);me.form.patchValue(me.util.fillForm(Oe,X.notificacoes))}finally{me.loadingNotificacoes=!1,me.cdRef.detectChanges()}})()}saveData(X){var me=this;return(0,i.Z)(function*(){return me.entity.notificacoes_templates=me.entity.notificacoes_templates?.filter(Oe=>!!Oe._status),me.util.fillForm(me.entity.notificacoes,me.form.value),me.entity})()}updateNotificacoes(){this.entity.notificacoes.enviar_petrvs=this.form.controls.enviar_email.value,this.entity.notificacoes.enviar_email=this.form.controls.enviar_email.value,this.entity.notificacoes.enviar_whatsapp=this.form.controls.enviar_whatsapp.value,this.entity.notificacoes.nao_notificar=this.notificar.filter(X=>!X.notifica).map(X=>X.codigo)}static#e=this.\u0275fac=function(me){return new(me||k)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["notificacoes-config"]],viewQuery:function(me,Oe){if(1&me&&t.Gf(A.M,5),2&me){let Se;t.iGM(Se=t.CRH())&&(Oe.grid=Se.first)}},inputs:{cdRef:"cdRef",entity:"entity",entidadeId:"entidadeId",unidadeId:"unidadeId",disabled:"disabled"},features:[t.qOj],decls:6,vars:7,consts:[["noButtons","",3,"form","disabled","withScroll"],["transparent","","title","Formas de notifica\xe7\xe3o"],["scale","small","icon","bi bi-bell","labelPosition","right","label","Notificar no Petrvs","controlName","enviar_petrvs",3,"size","change",4,"ngIf"],["scale","small","icon","bi bi-envelope-at","labelPosition","right","label","Notificar por e-mail","controlName","enviar_email",3,"size","change",4,"ngIf"],["scale","small","icon","bi bi-whatsapp","labelPosition","right","label","Notificar por Whatsapp","controlName","enviar_whatsapp",3,"size","change",4,"ngIf"],["title","Templates e habilita\xe7\xe3o de notifica\xe7\xf5es",4,"ngIf"],["scale","small","icon","bi bi-bell","labelPosition","right","label","Notificar no Petrvs","controlName","enviar_petrvs",3,"size","change"],["scale","small","icon","bi bi-envelope-at","labelPosition","right","label","Notificar por e-mail","controlName","enviar_email",3,"size","change"],["scale","small","icon","bi bi-whatsapp","labelPosition","right","label","Notificar por Whatsapp","controlName","enviar_whatsapp",3,"size","change"],["title","Templates e habilita\xe7\xe3o de notifica\xe7\xf5es"],[3,"entity","source","unidadeId","entidadeId","cdRef"]],template:function(me,Oe){1&me&&(t.TgZ(0,"editable-form",0)(1,"separator",1),t.YNc(2,b,1,1,"input-switch",2),t.YNc(3,F,1,1,"input-switch",3),t.YNc(4,j,1,1,"input-switch",4),t.qZA(),t.YNc(5,N,2,5,"separator",5),t.qZA()),2&me&&(t.Q6J("form",Oe.form)("disabled",Oe.disabled)("withScroll",!1),t.xp6(2),t.Q6J("ngIf",Oe.templateService.notifica.petrvs),t.xp6(1),t.Q6J("ngIf",Oe.templateService.notifica.email),t.xp6(1),t.Q6J("ngIf",Oe.templateService.notifica.whatsapp),t.xp6(1),t.Q6J("ngIf",Oe.viewInit))}})}return k})()},9367:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>N});var i=m(8239),t=m(8409),A=m(2739),a=m(755),y=m(7744),C=m(9230),b=m(2333),F=m(5545),j=m(9193);let N=(()=>{class x{static#e=this.OPEN_TAG="{{";static#t=this.CLOSE_TAG="}}";static#n=this.EXPRESSION_BOOLEAN=/^(true|false)$/;static#i=this.EXPRESSION_NUMBER=/^[0-9,\.]+$/;static#r=this.EXPRESSION_STRING=/^".*"$/;static#s=this.EXPRESSION_VAR=/^[a-zA-z]\w*?((\.\w+?)|(\[\+\])|(\[(\d+?|[a-zA-z]\w*?)\]))*$/;static#o=this.EXPRESSION_IF=/^if:(".*"|true|false|([0-9,\.]+)|([a-zA-z]\w*?((\.\w+?)|(\[\+\])|(\[(\d+?|[a-zA-z]\w*?)\]))*))(\s*)(=|==|\>|\>=|\<|\<=|\<\>|\!=)(\s*)(".*"|true|false|([0-9,\.]+)|([a-zA-z]\w*?((\.\w+?)|(\[\+\])|(\[(\d+?|[a-zA-z]\w*?)\]))*))(;.+?\=.+?)*$/;static#a=this.EXPRESSION_FOR=/^for:([a-zA-z]\w*?((\.\w+?)|(\[(\d+?|[a-zA-z]\w*?)\]))*)\[((\d+\.\.[a-zA-Z]\w*?(\.\.[a-zA-Z]\w*?)?)|(([a-zA-Z]\w*?\.\.)?[a-zA-Z]\w*?\.\.\d+)|([a-zA-Z]\w*?))\](;.+?\=.+?)*$/;static#l=this.STATEMENT_FOR=/^for:(?([a-zA-z]\w*?((\.\w+?)|(\[(\d+?|[a-zA-z]\w*?)\]))*))\[(((?\w+?)\.\.(?\w*?)(\.\.(?\w+?))?)|(%(?\w+?)%))\](?(;.+?\=.+?)*)$/;static#c=this.STATEMENT_IF=/^if:(?.+?)(\s*)(?=|==|\>|\>=|\<|\<=|\<\>|\!=)(\s*)(?.+?)(?(;.+?\=.+?)*)$/;static#u=this.STATEMENT_FOR_WITHOUT_PARS=/^(?for:\w+\[.+\])/;static#d=this.PARAMETER_DROP="drop";constructor(k,P,X,me,Oe){this.planoTrabalhoDao=k,this.templateDao=P,this.auth=X,this.dialog=me,this.util=Oe,this.notificacoes=[],this.notifica={petrvs:!1,email:!1,whatsapp:!1}}selectRoute(k,P){return Object.assign({route:["uteis","templates",k]},P?.length?{params:{selectId:P}}:{})}details(k){this.dialog.html({title:"Pre-visualiza\xe7\xe3o do documento",modalWidth:1e3},k.entity.conteudo,[])}dataset(k,P){var X=this;return(0,i.Z)(function*(){let me=[];return["TCR"].includes(k)?me=yield X.planoTrabalhoDao.dataset():"NOTIFICACAO"==k?me=(yield X.notificacoes.find(Oe=>Oe.codigo==P)?.dataset)||[]:"RELATORIO"==k&&(me=yield X.templateDao.getDataset("REPORT",P)),me})()}titulo(k){return"TCR"==k?"Termo de ci\xeancia e responsabilidade":""}template(k,P){}prepareDatasetToSave(k){let P=[];for(let X of k){let{dao:me,...Oe}=X;(["OBJECT","ARRAY"].includes(Oe.type||"")||Oe.fields?.length)&&(Oe.fields=this.prepareDatasetToSave(Oe.fields||[])),P.push(Oe)}return P}loadNotificacoes(k,P){var X=this;return(0,i.Z)(function*(){let me=[];if(k||P||!X.notificacoes?.length){let Oe=[["especie","==","NOTIFICACAO"]];Oe.push(k?.length?["entidade_id","==",k]:P?.length?["unidade_id","==",P]:["id","==",null]);let Se=X.templateDao.query({where:Oe,orderBy:[],join:[],limit:void 0});me=yield Se.asPromise(),X.notificacoes=Se.extra?.notificacoes?.sort((wt,K)=>wt.codigo(Oe.codigo||"")<(Se.codigo||"")?-1:1)||[]),X})()}buildItems(k,P,X){return this.notificacoes.map(me=>{let Oe=P?.find(K=>K.codigo==me.codigo),Se=k.filter(K=>K.codigo==me.codigo&&K.id!=Oe?.id).reduce((K,V)=>K&&K.unidade_id?.length?K:V,void 0),wt=("DELETE"!=Oe?._status?Oe:void 0)||Se||new t.Y({id:me.codigo,conteudo:me.template,especie:"NOTIFICACAO",codigo:me.codigo,titulo:me.descricao,dataset:me.dataset,entidade_id:null,unidade_id:null});return Object.assign(wt,{_metadata:{notificar:!(X||[]).includes(me.codigo)}})})}buildNotificar(k){return this.notificacoes.map(P=>new A.Y({codigo:P.codigo,descricao:P.descricao,notifica:!(k.nao_notificar||[]).includes(P.codigo)}))}getStrRegEx(k){return k?"string"==typeof k?k.split("").map(P=>"<>/\\{}[]()-?*.!~".includes(P)?"\\"+P:P).join(""):k.toString().replace(/^\//,"").replace(/\/.*?$/,""):""}tagSplit(k,P,X){let me=K=>"^(?[\\s\\S]*?)(?"+this.getStrRegEx(K.before)+"[\\s\\t\\n]*)(?"+this.getStrRegEx(K.tag)+")(?[\\s\\t\\n]*"+this.getStrRegEx(K.after)+")(?[\\s\\S]*?)$",Oe=me("string"==typeof P?{tag:P}:P),Se=me("string"==typeof X?{tag:X}:X),wt=k.match(new RegExp(Oe))?.groups;if(wt){let K=wt.AFTER.match(new RegExp(Se))?.groups;if(K)return{before:wt.BEFORE,start:{before:wt.START,tag:wt.TAG,after:wt.END},content:K.BEFORE,end:{before:K.STERT,tag:K.TAG,after:K.END},after:K.AFTER}}}getExpressionValue(k,P){return k=k.replace("[+]",".length"),k.match(/\[\w+\]/g)?.map(X=>X.replace(/^\[/,"").replace(/\]$/,"")).forEach(X=>k=k.replace("["+X+"]","["+this.getExpressionValue(X,P).toString()+"]")),k.toLowerCase().match(x.EXPRESSION_BOOLEAN)?"true"==k.toLowerCase():k.match(x.EXPRESSION_STRING)?k.replace(/^\"/,"").replace(/\"$/,""):k.match(x.EXPRESSION_NUMBER)?+k:k.match(x.EXPRESSION_VAR)?this.util.getNested(P,k):void 0}bondaryTag(k,P,X){let me=k.before.match(new RegExp("(?[\\s\\S]*)(?"+P+")")),Oe=k.after.match(new RegExp("(?"+X+")(?[\\s\\S]*)"));k.start.before=me?.groups?.CONTENT||"",k.before=me?.groups?.BEFORE||"",k.after=Oe?.groups?.AFTER||"",k.end.after=Oe?.groups?.CONTENT||""}evaluateOperator(k,P,X){switch(P){case"==":case"=":return k==X;case"<>":case"!=":return k!=X;case">":return k>X;case">=":return k>=X;case"<":return k=0?-1:1,!Oe)return Se.before=me+Se.before,Se;k=Se.after,me+=Se.before+Se.start.tag+Se.content+Se.end.tag}}processParamDrop(k,P){let X=[],me=(P?.replace(/^;/,"")||"").split(";").reduce((Oe,Se)=>(X=Se.split("="),Oe[X[0]]=X[1],Oe),{});k&&me.drop&&me.drop.match(/^\w+$/)&&(this.bondaryTag(k,"<"+me.drop+">[\\s\\S]*?$","^[\\s\\S]*?<\\/"+me.drop+">"),k.start.before="",k.end.after="")}renderTemplate(k,P){let X,me=null,Oe=k,Se="";for(;X=this.tagSplit(Oe,x.OPEN_TAG,x.CLOSE_TAG);){try{if(X.content.match(x.EXPRESSION_VAR)){let wt=(this.getExpressionValue(X.content,P)+"").replace(/^undefined$/,"");X.content=this.renderTemplate(wt,P)}else if(X.content.match(x.EXPRESSION_IF)){me=X.content.match(x.STATEMENT_IF);let wt=this.getExpressionValue(me?.groups?.EXP_A||"",P),K=this.getExpressionValue(me?.groups?.EXP_B||"",P),V=this.evaluateOperator(wt,me?.groups?.OPER||"",K);this.processParamDrop(X,me?.groups?.PARS);let J=this.splitEndTag(X.after,"if:","end-if");if(!J)throw new Error("o if n\xe3o possui um repectivo end-if");this.processParamDrop(J,J.content?.replace(/^;/,"")),X.content=V?this.renderTemplate(J.before,P):"",X.after=J.after}else if(X.content.match(x.EXPRESSION_FOR)){me=X.content.match(x.STATEMENT_FOR),this.processParamDrop(X,me?.groups?.PARS);let wt=this.splitEndTag(X.after,"for:","end-for");if(!wt)throw new Error("o for n\xe3o possui um repectivo end-for");{if(this.processParamDrop(wt,wt.content?.replace(/^;/,"")),X.content="",X.after=wt.after,P[me?.groups?.EACH||me?.groups?.INDEX||""])throw new Error("Vari\xe1vel de contexto j\xe1 existe no contexto atual");let K=this.getExpressionValue(me?.groups?.EXP||"",P),V=!!me?.groups?.EACH?.match(/^[a-zA-Z]\w+$/),J=V||!!me?.groups?.START?.match(/^\d+$/),oe=V||J?K.length:+me.groups.END;for(let ye=V?0:J?+me.groups.START:K.length;J?yeoe;J?ye++:ye--){let Ee=K[ye],Ge=Object.assign({},P);if(V)Ge[me.groups.EACH]=Ee;else{let gt=J&&me?.groups?.END?me.groups.END:!J&&me?.groups?.START?me.groups.START:void 0;gt&&(Ge[gt]=K.length),Ge[me.groups.INDEX]=ye}X.content+=this.renderTemplate(wt.before,Ge)}}}}catch{X.content="(ERRO)"}finally{X.start.tag="",X.end.tag=""}Se+=X.before+(X.start.before||"")+X.start.tag+(X.start.after||"")+X.content+(X.end.before||"")+X.end.tag+(X.end.after||""),Oe=X.after}return Se+=Oe,Se}static#h=this.\u0275fac=function(P){return new(P||x)(a.LFG(y.t),a.LFG(C.w),a.LFG(b.e),a.LFG(F.x),a.LFG(j.f))};static#f=this.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},2864:(lt,_e,m)=>{"use strict";m.r(_e),m.d(_e,{UteisModule:()=>Ls});var i=m(6733),t=m(2662),A=m(5579),a=m(1391),y=m(2314),C=m(4240),b=m(8239),F=m(4040),j=m(5026),N=m(6298),x=m(755),H=m(2392),k=m(8877);function P(On,mr){if(1&On&&(x.TgZ(0,"div",1),x._UZ(1,"input-text",4),x.qZA()),2&On){const Pt=x.oxw();x.xp6(1),x.Q6J("size",12)("control",Pt.form.controls.confirmacao),x.uIk("maxlength",250)}}function X(On,mr){1&On&&(x.TgZ(0,"div",1)(1,"h5"),x._uU(2,"Em desenvolvimento"),x.qZA()())}let me=(()=>{class On extends N.D{constructor(Pt){super(Pt),this.injector=Pt,this.textoConfirmar="confirmo",this.documentos=[],this.TIPO_ASSINATURA=[{key:"ELETRONICA",value:"Assinatura Elet\xf4nica"},{key:"DIGITAL",value:"Assinatura Digital"}],this.isProcessandoClique=!1,this.validate=(ln,Yt)=>{let li=null;return"ELETRONICA"==this.form?.controls.tipo.value&&"confirmacao"==Yt&&ln.value.toLowerCase()!=this.textoConfirmar.toLowerCase()?li="Valor dever\xe1 ser "+this.textoConfirmar:"DIGITAL"==this.form?.controls.tipo.value&&"certificado_id"==Yt&&!ln.value?.length&&(li="Obrigat\xf3rio selecionar um certificado"),li},this.documentoDao=Pt.get(j.d),this.modalWidth=450,this.form=this.fh.FormBuilder({tipo:{default:"ELETRONICA"},confirmacao:{default:""},certificado_id:{default:null}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit(),this.documentos=this.metadata?.documentos}onAssinarClick(){var Pt=this;return(0,b.Z)(function*(){if(!Pt.isProcessandoClique){Pt.isProcessandoClique=!0,Pt.dialog.showSppinerOverlay("Assinando . . .");try{let ln=yield Pt.documentoDao.assinar(Pt.documentos.map(Yt=>Yt.id));ln?.forEach(Yt=>{const li=Pt.documentos.find(Qr=>Qr.id==Yt.id);li&&(li.assinaturas=Yt.assinaturas)}),Pt.go.setModalResult(Pt.modalRoute?.queryParams?.idroute,ln),Pt.close()}catch(ln){Pt.error(ln?.error.message||ln?.message||ln||"Erro desconhecido")}finally{Pt.dialog.closeSppinerOverlay(),Pt.isProcessandoClique=!1}}})()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["app-assinar"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(F.Q,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.editableForm=li.first)}},features:[x.qOj],decls:6,vars:6,consts:[["confirmLabel","Assinar",3,"form","submit","cancel"],[1,"row"],["controlName","tipo",3,"size","control","items"],["class","row",4,"ngIf"],["label","Digite a palavra CONFIRMO para prosseguir","icon","bi bi-hand-thumbs-up","controlName","confirmacao",3,"size","control"]],template:function(ln,Yt){1&ln&&(x.TgZ(0,"editable-form",0),x.NdJ("submit",function(){return Yt.onAssinarClick()})("cancel",function(){return Yt.onCancel()}),x.TgZ(1,"div",1)(2,"div",1),x._UZ(3,"input-radio",2),x.qZA(),x.YNc(4,P,2,3,"div",3),x.YNc(5,X,3,0,"div",3),x.qZA()()),2&ln&&(x.Q6J("form",Yt.form),x.xp6(3),x.Q6J("size",12)("control",Yt.form.controls.tipo)("items",Yt.TIPO_ASSINATURA),x.xp6(1),x.Q6J("ngIf","ELETRONICA"==Yt.form.controls.tipo.value),x.xp6(1),x.Q6J("ngIf","DIGITAL"==Yt.form.controls.tipo.value))},dependencies:[i.O5,F.Q,H.m,k.f]})}return On})();var Oe=m(6601),Se=m(8409),wt=m(9230),K=m(3150),V=m(8509),J=m(9367),ae=m(7224),oe=m(3351),ye=m(7765),Ee=m(5512),Ge=m(2704),gt=m(5489),Ze=m(5795),Je=m(4788),tt=m(3705);function Qe(On,mr){1&On&&x._UZ(0,"toolbar")}function pt(On,mr){if(1&On&&(x.TgZ(0,"h5"),x._uU(1),x.qZA(),x._UZ(2,"document-preview",11)),2&On){const Pt=mr.row;x.xp6(1),x.Oqu((null==Pt?null:Pt.titulo)||"Preview do template"),x.xp6(1),x.Q6J("html",null==Pt?null:Pt.conteudo)}}function Nt(On,mr){if(1&On&&(x.TgZ(0,"div",12),x._UZ(1,"input-text",13)(2,"input-text",14),x.qZA(),x.TgZ(3,"div"),x._UZ(4,"input-editor",15),x.qZA()),2&On){const Pt=x.oxw();x.xp6(1),x.Q6J("size",2)("control",Pt.form.controls.codigo),x.uIk("maxlength",250),x.xp6(1),x.Q6J("size",10)("control",Pt.form.controls.titulo),x.uIk("maxlength",250),x.xp6(2),x.Q6J("size",12)("dataset",Pt.dataset)("control",Pt.form.controls.conteudo)}}function Jt(On,mr){if(1&On&&x._UZ(0,"badge",19),2&On){const Pt=x.oxw().row;x.Q6J("label",Pt.codigo)}}function nt(On,mr){if(1&On&&(x.TgZ(0,"small"),x._uU(1),x.qZA(),x._UZ(2,"br")(3,"badge",16)(4,"badge",17),x.YNc(5,Jt,1,1,"badge",18)),2&On){const Pt=mr.row,ln=x.oxw();x.xp6(1),x.Oqu(Pt.titulo),x.xp6(2),x.Q6J("label",Pt.numero),x.xp6(1),x.Q6J("icon",ln.lookup.getIcon(ln.lookup.TEMPLATE_ESPECIE,Pt.especie))("label",ln.lookup.getValue(ln.lookup.TEMPLATE_ESPECIE,Pt.especie))("color",ln.lookup.getColor(ln.lookup.TEMPLATE_ESPECIE,Pt.especie)),x.xp6(1),x.Q6J("ngIf",null==Pt.codigo?null:Pt.codigo.length)}}function ot(On,mr){if(1&On&&x._UZ(0,"toolbar",20),2&On){const Pt=x.oxw();x.Q6J("buttons",Pt.selectButtons)}}let Ct=(()=>{class On extends V.E{constructor(Pt){super(Pt,Se.Y,wt.w),this.injector=Pt,this.filterWhere=ln=>[["especie","==",this.especie]],this.templateService=Pt.get(J.E),this.code="MOD_TEMP",this.modalWidth=1200,this.filter=this.fh.FormBuilder({}),this.form=this.fh.FormBuilder({codigo:{default:""},titulo:{default:""},conteudo:{default:""}})}onGridLoad(Pt){this.selectId&&Pt?.find(ln=>ln.id==this.selectId)&&this.grid.selectById(this.selectId)}ngOnInit(){var Pt=()=>super.ngOnInit,ln=this;return(0,b.Z)(function*(){Pt().call(ln),ln.especie=ln.urlParams?.has("especie")?ln.urlParams.get("especie"):ln.metadata?.especie||ln.especie||"OUTRO",ln.dataset=ln.dataset||(yield ln.templateService.dataset(ln.especie)),ln.title=ln.lookup.getValue(ln.lookup.TEMPLATE_ESPECIE,ln.especie),ln.selectId=ln.queryParams?.selectId})()}onTemplateSelect(Pt){const ln=Pt||void 0;this.form.patchValue({codigo:ln?.codigo||"",titulo:ln?.titulo||"",conteudo:ln?.conteudo||""}),this.cdRef.detectChanges()}addTemplate(){var Pt=this;return(0,b.Z)(function*(){return new Se.Y({codigo:"",conteudo:"",especie:Pt.especie,dataset:Pt.dataset,titulo:Pt.templateService.titulo(Pt.especie)})})()}loadTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){Pt.controls.codigo.setValue(ln.codigo),Pt.controls.titulo.setValue(ln.titulo),Pt.controls.conteudo.setValue(ln.conteudo),Yt.cdRef.detectChanges()})()}removeTemplate(Pt){var ln=this;return(0,b.Z)(function*(){return!!(yield ln.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(yield ln.dao.delete(Pt),!0)})()}saveTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){let li;if(Yt.form.markAllAsTouched(),Yt.form.valid){ln.codigo=Pt.controls.codigo.value,ln.titulo=Pt.controls.titulo.value,ln.conteudo=Pt.controls.conteudo.value,ln.dataset=Yt.templateService.prepareDatasetToSave(Yt.dataset||[]),Yt.submitting=!0;try{li=yield Yt.dao.save(ln,Yt.join)}catch(Qr){Yt.error(Qr.message?Qr.message:Qr)}finally{Yt.submitting=!1}Yt.cdRef.detectChanges()}return li})()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["app-templates"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(K.M,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.grid=li.first)}},inputs:{especie:"especie",dataset:"dataset"},features:[x.qOj],decls:15,vars:29,consts:[["editable","",3,"dao","form","title","orderBy","groupBy","join","selectable","add","load","remove","save","hasAdd","hasEdit","hasDelete","loadList"],[4,"ngIf"],["hidden","",3,"deleted","form","where","submit","clear","collapseChange","collapsed"],["fullSizeOnEdit","",3,"size","template","editTemplate"],["panelTemplate",""],["panelTemplateEdit",""],["title","Template",3,"template"],["columnTemplate",""],["type","options","always",""],[3,"rows"],[3,"buttons",4,"ngIf"],["emptyDocumentMensage","Nenhum template selecionado",3,"html"],[1,"row"],["label","C\xf3digo",3,"size","control"],["label","T\xedtulo",3,"size","control"],["label","Preview do template",3,"size","dataset","control"],["icon","bi bi-hash","color","light",3,"label"],[3,"icon","label","color"],["icon","bi bi-tag",3,"label",4,"ngIf"],["icon","bi bi-tag",3,"label"],[3,"buttons"]],template:function(ln,Yt){if(1&ln&&(x.TgZ(0,"grid",0),x.YNc(1,Qe,1,0,"toolbar",1),x._UZ(2,"filter",2),x.TgZ(3,"side-panel",3),x.YNc(4,pt,3,2,"ng-template",null,4,x.W1O),x.YNc(6,Nt,5,9,"ng-template",null,5,x.W1O),x.qZA(),x.TgZ(8,"columns")(9,"column",6),x.YNc(10,nt,6,6,"ng-template",null,7,x.W1O),x.qZA(),x._UZ(12,"column",8),x.qZA(),x._UZ(13,"pagination",9),x.qZA(),x.YNc(14,ot,1,1,"toolbar",10)),2&ln){const li=x.MAs(5),Qr=x.MAs(7),Sr=x.MAs(11);x.Q6J("dao",Yt.dao)("form",Yt.form)("title",Yt.isModal?"":Yt.title)("orderBy",Yt.orderBy)("groupBy",Yt.groupBy)("join",Yt.join)("selectable",Yt.selectable)("add",Yt.addTemplate.bind(Yt))("load",Yt.loadTemplate.bind(Yt))("remove",Yt.removeTemplate.bind(Yt))("save",Yt.saveTemplate.bind(Yt))("hasAdd",!0)("hasEdit",!0)("hasDelete",!0)("loadList",Yt.onGridLoad.bind(Yt)),x.xp6(1),x.Q6J("ngIf",!Yt.selectable),x.xp6(1),x.Q6J("deleted",Yt.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Yt.filter)("where",Yt.filterWhere)("submit",Yt.filterSubmit.bind(Yt))("clear",Yt.filterClear.bind(Yt))("collapseChange",Yt.filterCollapseChange.bind(Yt))("collapsed",!Yt.selectable&&Yt.filterCollapsed),x.xp6(1),x.Q6J("size",8)("template",li)("editTemplate",Qr),x.xp6(6),x.Q6J("template",Sr),x.xp6(4),x.Q6J("rows",Yt.rowsLimit),x.xp6(1),x.Q6J("ngIf",Yt.selectable&&!(null!=Yt.grid&&Yt.grid.editing))}},dependencies:[i.O5,K.M,ae.a,oe.b,ye.z,Ee.n,Ge.Q,H.m,gt.F,Ze.G,Je.h,tt.a]})}return On})();var He=m(1340),mt=m(4999),vt=m(2067),hn=m(8820),yt=m(4495);function Fn(On,mr){if(1&On&&(x.TgZ(0,"div",3)(1,"strong"),x._uU(2),x.TgZ(3,"small"),x._uU(4),x.qZA()()(),x.TgZ(5,"div",3)(6,"div",11),x._uU(7),x.qZA()()),2&On){const Pt=mr.row,ln=x.oxw();x.xp6(2),x.hij("#",Pt.numero,""),x.xp6(2),x.hij(" \u2022 ",ln.util.getDateTimeFormatted(Pt.data_registro),""),x.xp6(3),x.hij(" ",Pt.mensagem," ")}}function xn(On,mr){if(1&On&&x._UZ(0,"badge",17),2&On){const Pt=x.oxw().$implicit;x.Q6J("label",Pt.data_leitura?"Lido":"N\xe3o lido")}}function In(On,mr){if(1&On&&x._UZ(0,"badge",18),2&On){const Pt=x.oxw().$implicit;x.Q6J("label",Pt.data_leitura?"Lido":"N\xe3o lido")}}function dn(On,mr){if(1&On&&x._UZ(0,"badge",19),2&On){const Pt=x.oxw().$implicit;x.Q6J("label",Pt.data_leitura?"Lido":"N\xe3o lido")}}function qn(On,mr){if(1&On&&(x.ynx(0),x.YNc(1,xn,1,1,"badge",14),x.YNc(2,In,1,1,"badge",15),x.YNc(3,dn,1,1,"badge",16),x.BQk()),2&On){const Pt=mr.$implicit;x.xp6(1),x.Q6J("ngIf","PETRVS"==Pt.tipo),x.xp6(1),x.Q6J("ngIf","EMAIL"==Pt.tipo),x.xp6(1),x.Q6J("ngIf","WHATSAPP"==Pt.tipo)}}function di(On,mr){if(1&On&&(x.TgZ(0,"div",12),x.YNc(1,qn,4,3,"ng-container",13),x.qZA()),2&On){const Pt=mr.row;x.xp6(1),x.Q6J("ngForOf",Pt.destinatarios)}}let ir=(()=>{class On extends V.E{constructor(Pt){super(Pt,He.z,mt.r),this.injector=Pt,this.toolbarButtons=[{icon:"bi bi-check-all",label:"Lido",color:"btn-outline-success",hint:"Marcar todas as notifica\xe7\xf5es como lido",onClick:this.onLidoClick.bind(this)}],this.filterWhere=ln=>{let Yt=[],li=ln.value;return Yt.push(["usuario_id","==",this.auth.usuario.id]),li.todas&&Yt.push(["todas","==",!0]),this.util.isDataValid(li.data_inicio)&&Yt.push(["data_registro",">=",li.data_inicio]),this.util.isDataValid(li.data_fim)&&Yt.push(["data_registro","<=",li.data_fim]),Yt},this.notificacaoService=Pt.get(vt.r),this.modalWidth=700,this.join=["destinatarios"],this.title=this.lex.translate("Notifica\xe7\xf5es"),this.filter=this.fh.FormBuilder({todas:{default:!1},data_inicio:{default:void 0},data_fim:{default:void 0}})}filterClear(Pt){Pt.controls.todas.setValue(!1),Pt.controls.data_inicio.setValue(void 0),Pt.controls.data_fim.setValue(void 0),super.filterClear(Pt)}onLidoClick(){let Pt=(this.grid?.items||[]).reduce((ln,Yt)=>(ln.push(...Yt.destinatarios.filter(li=>!li.data_leitura).map(li=>li.id)),ln),[]);this.dao.marcarComoLido(Pt).then(ln=>{this.grid.reloadFilter(),this.auth.usuario&&(this.auth.usuario.notificacoes_destinatario=[]),this.notificacaoService.updateNaoLidas()})}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["notificacoes"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(K.M,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.grid=li.first)}},features:[x.qOj],decls:14,vars:23,consts:[[3,"dao","hasAdd","hasEdit","hasDelete","orderBy","groupBy","join"],[3,"buttons"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Todas","controlName","todas","labelInfo","Todas as notifica\xe7\xf5es incluindo as j\xe1 lidas",3,"size","control"],["label","In\xedcio","controlName","data_inicio","labelInfo","Data in\xedcio",3,"size","control"],["label","Fim","controlName","data_fim","labelInfo","Data fim",3,"size","control"],["title","Mensagens",3,"template"],["mensagemTemplate",""],["title","Envios",3,"template"],["formatoTemplate",""],[1,"col-12","text-wrap"],[1,"text-wrap"],[4,"ngFor","ngForOf"],["img","assets/images/logo_24x24.png","hint","PETRVS",3,"label",4,"ngIf"],["icon","bi bi-envelope-at","hint","E-mail",3,"label",4,"ngIf"],["icon","bi bi-whatsapp","hint","WhatsApp",3,"label",4,"ngIf"],["img","assets/images/logo_24x24.png","hint","PETRVS",3,"label"],["icon","bi bi-envelope-at","hint","E-mail",3,"label"],["icon","bi bi-whatsapp","hint","WhatsApp",3,"label"]],template:function(ln,Yt){if(1&ln&&(x.TgZ(0,"grid",0),x._UZ(1,"toolbar",1),x.TgZ(2,"filter",2)(3,"div",3),x._UZ(4,"input-switch",4)(5,"input-datetime",5)(6,"input-datetime",6),x.qZA()(),x.TgZ(7,"columns")(8,"column",7),x.YNc(9,Fn,8,3,"ng-template",null,8,x.W1O),x.qZA(),x.TgZ(11,"column",9),x.YNc(12,di,2,1,"ng-template",null,10,x.W1O),x.qZA()()()),2&ln){const li=x.MAs(10),Qr=x.MAs(13);x.Q6J("dao",Yt.dao)("hasAdd",!1)("hasEdit",!1)("hasDelete",!1)("orderBy",Yt.orderBy)("groupBy",Yt.groupBy)("join",Yt.join),x.xp6(1),x.Q6J("buttons",Yt.toolbarButtons),x.xp6(1),x.Q6J("deleted",Yt.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Yt.filter)("where",Yt.filterWhere)("submit",Yt.filterSubmit.bind(Yt))("clear",Yt.filterClear.bind(Yt))("collapseChange",Yt.filterCollapseChange.bind(Yt))("collapsed",Yt.filterCollapsed),x.xp6(2),x.Q6J("size",2)("control",Yt.filter.controls.todas),x.xp6(1),x.Q6J("size",5)("control",Yt.filter.controls.data_inicio),x.xp6(1),x.Q6J("size",5)("control",Yt.filter.controls.data_fim),x.xp6(2),x.Q6J("template",li),x.xp6(3),x.Q6J("template",Qr)}},dependencies:[i.sg,i.O5,K.M,ae.a,oe.b,ye.z,Ee.n,hn.a,yt.k,gt.F]})}return On})();var Bn=m(9702);let xi=(()=>{class On{getItem(Pt){return this.itens[Pt]}constructor(Pt){this.lookup=Pt,this.itens={PlanoTrabalho:this.lookup.PLANO_TRABALHO_STATUS,PlanoEntrega:this.lookup.PLANO_ENTREGA_STATUS,Atividade:this.lookup.ATIVIDADE_STATUS,Consolidacao:this.lookup.CONSOLIDACAO_STATUS}}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.LFG(Bn.W))};static#t=this.\u0275prov=x.Yz7({token:On,factory:On.\u0275fac,providedIn:"root"})}return On})();var fi=m(4508),Mt=m(4603);function Ot(On,mr){1&On&&x._UZ(0,"input-textarea",5),2&On&&x.Q6J("size",12)("rows",3)}const ve=function(){return[]};let De=(()=>{class On extends N.D{constructor(Pt){super(Pt),this.injector=Pt,this.novoStatus="",this.tipo="",this._exigeJustificativa=!1,this.validate=(ln,Yt)=>{let li=null,Qr=ln.value?.trim().length;return"justificativa"==Yt&&this._exigeJustificativa&&(Qr?(Qrthis.MAX_LENGTH_TEXT&&(li="Conte\xfado ("+Qr+" caracteres) excede o comprimento m\xe1ximo: "+this.MAX_LENGTH_TEXT+".")):li="Obrigat\xf3rio"),li},this.statusService=Pt.get(xi),this.lookup=Pt.get(Bn.W),this.modalWidth=450,this.form=this.fh.FormBuilder({justificativa:{default:""},novo_status:{default:null}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit(),this.tipo=this.metadata?.tipo,this.entity=this.metadata?.entity||this.entity,this._exigeJustificativa=this.metadata?.exigeJustificativa||this._exigeJustificativa,this.novoStatus=this.metadata?.novoStatus||this.novoStatus,this.novoStatus.length&&this.form?.controls.novo_status?.setValue(this.novoStatus)}onSubmitClick(){var Pt=this;return(0,b.Z)(function*(){if(Pt.metadata.onClick){Pt.loading=!0;try{let ln=yield Pt.metadata.onClick(Pt.entity,Pt.form?.controls.justificativa.value);Pt.go.setModalResult(Pt.modalRoute?.queryParams?.idroute,ln),Pt.close()}catch(ln){Pt.error(ln?.message||ln?.error||ln||"Erro desconhecido")}finally{Pt.loading=!1}}})()}get exigeJustificativa(){if(this._exigeJustificativa)return!0;let Pt=this.lookup.getData(this.statusService.getItem(this.tipo),this.form?.controls.novo_status?.value);return this._exigeJustificativa=(Pt?.justificar||[]).includes(this.entity?.status),this._exigeJustificativa}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["app-status"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(F.Q,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.editableForm=li.first)}},features:[x.qOj],decls:6,vars:6,consts:[["confirmLabel","Confirmar",3,"form","submit","cancel"],[1,"row"],[1,"row","mb-4"],["label","Novo status","icon","","controlName","novo_status",3,"size","items","disabled"],["label","Justificativa","controlName","justificativa",3,"size","rows",4,"ngIf"],["label","Justificativa","controlName","justificativa",3,"size","rows"]],template:function(ln,Yt){1&ln&&(x.TgZ(0,"editable-form",0),x.NdJ("submit",function(){return Yt.onSubmitClick()})("cancel",function(){return Yt.onCancel()}),x.TgZ(1,"div",1)(2,"div",2),x._UZ(3,"input-select",3),x.qZA(),x.TgZ(4,"div",1),x.YNc(5,Ot,1,2,"input-textarea",4),x.qZA()()()),2&ln&&(x.Q6J("form",Yt.form),x.xp6(3),x.Q6J("size",12)("items",Yt.statusService.getItem(Yt.tipo)||x.DdM(5,ve))("disabled",Yt.novoStatus.length?"true":void 0),x.xp6(2),x.Q6J("ngIf",Yt.exigeJustificativa))},dependencies:[i.O5,F.Q,fi.Q,Mt.p]})}return On})();var xe=m(5560),Ye=m(933);function xt(On,mr){1&On&&x._UZ(0,"top-alert",3)}function cn(On,mr){if(1&On&&x._UZ(0,"document-preview",4),2&On){const Pt=x.oxw();x.Q6J("html",(null==Pt.documento?null:Pt.documento.conteudo)||"")}}const Kn=function(){return["HTML","REPORT"]},gs=[{path:"comentarios/:origem/:id/new",component:C.y,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Coment\xe1rios",modal:!0}},{path:"documentos/assinar",component:me,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Assinar",modal:!0}},{path:"documentos/preview/:documentoId",component:(()=>{class On extends N.D{constructor(Pt){super(Pt),this.injector=Pt,this.documentoSalvo=!1,this.buttons=[{icon:"bi bi-floppy",hint:"Salvar documento",color:"btn-outline-info border-0",onClick:()=>this.salvarParaUsuario(),id:"salvarDocumento"},{icon:"bi bi-printer",hint:"Imprimir",color:"btn-outline-secondary border-0",onClick:()=>this.imprimir()},{icon:"bi bi-envelope-at",hint:"Enviar E-mail",color:"btn-outline-warning border-0"},{icon:"bi bi-file-earmark-pdf",hint:"Exportar PDF",color:"btn-outline-danger border-0",onClick:()=>this.geraPDF()},{icon:"bi bi-whatsapp",hint:"Enviar WhatsApp",color:"btn-outline-success border-0"},{img:"assets/images/sei_icon.png",hint:"Enviar SEI",color:"btn-outline-primary border-0"}],this.validate=(ln,Yt)=>null,this.documentoDao=Pt.get(j.d),this.modalWidth=1e3,this.form=this.fh.FormBuilder({conteudo:{default:""}},this.cdRef,this.validate)}ngOnInit(){var Pt=this;super.ngOnInit(),(0,b.Z)(function*(){Pt.loading=!0;try{if(Pt.documentoId=Pt.documentoId||Pt.metadata?.documentoId||Pt.urlParams?.get("documentoId"),Pt.documento=Pt.documento||Pt.metadata?.documento||(yield Pt.dao.getById(Pt.documentoId)),Pt.documento?.assinaturas?.length){let ln="


Assinatura(s):
";Pt.documento?.assinaturas.forEach(Yt=>{ln+=`

${Yt.usuario?.nome}

${Pt.util.getDateTimeFormatted(Yt.data_assinatura)}
${Yt.assinatura}
`}),ln+="
",Pt.documento.conteudo?.includes(ln)||(Pt.documento.conteudo=Pt.documento.conteudo?.concat(ln)||null)}Pt.cdRef.detectChanges()}finally{Pt.loading=!1}})()}salvarParaUsuario(){this.documento&&this.documentoDao.update(this.documento.id,{usuario_id:this.auth.usuario?.id}).then(Pt=>{this.documentoSalvo=!0;const ln=this.buttons.find(Yt=>"salvarDocumento"==Yt.id);ln&&(ln.disabled=!0)})}geraPDF(){this.documento&&this.documentoDao.gerarPDF(this.documento.id).then(Pt=>{})}imprimir(){window.print()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["documentos-preview"]],inputs:{documentoId:"documentoId",documento:"documento"},features:[x.qOj],decls:4,vars:5,consts:[[3,"title","buttons"],["type","success","message","Documento foi salvo com sucesso!",4,"ngIf"],["emptysDocumentMensage","Vazio",3,"html",4,"ngIf"],["type","success","message","Documento foi salvo com sucesso!"],["emptysDocumentMensage","Vazio",3,"html"]],template:function(ln,Yt){1&ln&&(x._UZ(0,"toolbar",0),x.YNc(1,xt,1,0,"top-alert",1),x._UZ(2,"separator"),x.YNc(3,cn,1,1,"document-preview",2)),2&ln&&(x.Q6J("title",(null==Yt.documento?null:Yt.documento.titulo)||"")("buttons",Yt.buttons),x.xp6(1),x.Q6J("ngIf",Yt.documentoSalvo),x.xp6(2),x.Q6J("ngIf",(null==Yt.documento?null:Yt.documento.tipo)&&x.DdM(4,Kn).includes(Yt.documento.tipo)))},dependencies:[i.O5,Ee.n,xe.N,Ye.o,tt.a]})}return On})(),canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Preview",modal:!0}},{path:"documentos/:especie/:id",component:Oe.N,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Documentos",modal:!0}},{path:"documentos/:especie/:id/:action",component:Oe.N,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Documentos",modal:!0}},{path:"documentos/:especie/:id/:action/:documentoId",component:Oe.N,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Documentos",modal:!0}},{path:"status",component:De,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Altera\xe7\xe3o de Status",modal:!0}},{path:"notificacoes",component:ir,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Notifica\xe7\xf5es",modal:!0}},{path:"templates/:especie",component:Ct,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Templates",modal:!0}}];let Qt=(()=>{class On{static#e=this.\u0275fac=function(ln){return new(ln||On)};static#t=this.\u0275mod=x.oAB({type:On});static#n=this.\u0275inj=x.cJS({imports:[A.Bz.forChild(gs),A.Bz]})}return On})();var ki=m(2739);function ta(On,mr){if(1&On&&(x.TgZ(0,"div",8)(1,"h5",9),x._uU(2),x.qZA(),x._UZ(3,"hr")(4,"document-preview",10),x.qZA()),2&On){const Pt=mr.row;x.xp6(2),x.Oqu((null==Pt?null:Pt.titulo)||"Preview do template"),x.xp6(2),x.Q6J("html",null==Pt?null:Pt.conteudo)}}function Pi(On,mr){if(1&On&&(x.TgZ(0,"div",11),x._UZ(1,"input-text",12)(2,"input-text",13),x.qZA(),x.TgZ(3,"div"),x._UZ(4,"input-editor",14),x.qZA()),2&On){const Pt=x.oxw(2);x.xp6(1),x.Q6J("size",2)("control",Pt.form.controls.codigo),x.uIk("maxlength",250),x.xp6(1),x.Q6J("size",10)("control",Pt.form.controls.titulo),x.uIk("maxlength",250),x.xp6(2),x.Q6J("size",12)("dataset",Pt.dataset)("control",Pt.form.controls.conteudo)}}function co(On,mr){if(1&On&&x._UZ(0,"badge",21),2&On){const Pt=x.oxw().row;x.Q6J("label",Pt.codigo)}}function Or(On,mr){if(1&On&&x._UZ(0,"badge",22),2&On){const Pt=x.oxw(3);x.Q6J("icon",Pt.entityService.getIcon("Entidade"))("label",Pt.lex.translate("Entidade"))}}function Dr(On,mr){if(1&On&&x._UZ(0,"badge",23),2&On){const Pt=x.oxw(3);x.Q6J("icon",Pt.entityService.getIcon("Unidade"))("label",Pt.lex.translate("Unidade"))}}function bs(On,mr){if(1&On){const Pt=x.EpF();x.TgZ(0,"div",11)(1,"div",15)(2,"input-switch",16),x.NdJ("change",function(){const li=x.CHM(Pt).row,Qr=x.oxw(2);return x.KtG(Qr.onNotificarChange(li))}),x.qZA()(),x.TgZ(3,"div",17)(4,"small"),x._uU(5),x.qZA()()(),x.YNc(6,co,1,1,"badge",18),x.YNc(7,Or,1,2,"badge",19),x.YNc(8,Dr,1,2,"badge",20)}if(2&On){const Pt=mr.row;x.xp6(2),x.Q6J("size",12)("source",Pt._metadata),x.xp6(3),x.Oqu(Pt.titulo),x.xp6(1),x.Q6J("ngIf",null==Pt.codigo?null:Pt.codigo.length),x.xp6(1),x.Q6J("ngIf",null==Pt.entidade_id?null:Pt.entidade_id.length),x.xp6(1),x.Q6J("ngIf",null==Pt.unidade_id?null:Pt.unidade_id.length)}}function Do(On,mr){if(1&On&&(x.TgZ(0,"grid",1)(1,"side-panel",2),x.YNc(2,ta,5,2,"ng-template",null,3,x.W1O),x.YNc(4,Pi,5,9,"ng-template",null,4,x.W1O),x.qZA(),x.TgZ(6,"columns")(7,"column",5),x.YNc(8,bs,9,6,"ng-template",null,6,x.W1O),x.qZA(),x._UZ(10,"column",7),x.qZA()()),2&On){const Pt=x.MAs(3),ln=x.MAs(5),Yt=x.MAs(9),li=x.oxw();x.Q6J("items",li.items)("form",li.form)("title",li.isModal?"":li.title)("orderBy",li.orderBy)("groupBy",li.groupBy)("join",li.join)("selectable",!0)("load",li.loadTemplate.bind(li))("remove",li.removeTemplate.bind(li))("save",li.saveTemplate.bind(li))("hasAdd",!1)("hasEdit",!1)("hasDelete",!1),x.xp6(1),x.Q6J("size",8)("template",Pt)("editTemplate",ln),x.xp6(6),x.Q6J("template",Yt),x.xp6(3),x.Q6J("dynamicButtons",li.dynamicButtons.bind(li))}}let Ms=(()=>{class On extends N.D{set entity(Pt){super.entity=Pt}get entity(){return super.entity}set source(Pt){this._source!=Pt&&(this._source=Pt,this.items=this.templateService.buildItems(this.source,this.entity?.notificacoes_templates||[],this.entity?.notificacoes?.nao_notificar),this.cdRef.detectChanges())}get source(){return this._source}constructor(Pt){super(Pt),this.injector=Pt,this.items=[],this._source=[],this.cdRef=Pt.get(x.sBO),this.dao=Pt.get(wt.w),this.templateService=Pt.get(J.E),this.code="MOD_NOTF_TEMP",this.form=this.fh.FormBuilder({codigo:{default:""},titulo:{default:""},conteudo:{default:""}})}dynamicButtons(Pt){let ln=[],Yt=this.unidadeId?.length&&this.unidadeId==Pt.unidade_id||this.entidadeId?.length&&this.entidadeId==Pt.entidade_id;return(this.unidadeId?.length||this.entidadeId?.length)&&ln.push({hint:"Alterar",icon:"bi bi-pencil-square",color:"btn-outline-info",onClick:this.grid?.onEditItem.bind(this.grid)}),Yt&&ln.push({hint:"Limpar",icon:"bi bi-x-circle",color:"btn-outline-danger",onClick:this.grid?.onDeleteItem.bind(this.grid)}),ln}loadTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){Yt.dataset=yield Yt.templateService.dataset("NOTIFICACAO",ln.codigo),Pt.controls.codigo.setValue(ln.codigo),Pt.controls.titulo.setValue(ln.titulo),Pt.controls.conteudo.setValue(ln.conteudo),Yt.cdRef.detectChanges()})()}removeTemplate(Pt){var ln=this;return(0,b.Z)(function*(){let Yt=ln.entity.notificacoes_templates?.find(li=>li.id==Pt.id);return Yt&&(Yt._status="DELETE",ln.items=ln.templateService.buildItems(ln.source,ln.entity.notificacoes_templates||[],ln.entity?.notificacoes?.nao_notificar),ln.cdRef.detectChanges()),!1})()}onNotificarChange(Pt){Pt._metadata?.notificar||this.entity?.notificacoes?.nao_notificar?.includes(Pt.codigo)?Pt._metadata?.notificar&&this.entity?.notificacoes?.nao_notificar?.includes(Pt.codigo)&&this.entity?.notificacoes?.nao_notificar?.splice(this.entity?.notificacoes?.nao_notificar?.indexOf(Pt.codigo),1):this.entity?.notificacoes?.nao_notificar?.push(Pt.codigo)}saveTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){if(Yt.form.markAllAsTouched(),Yt.form.valid)if(Yt.unidadeId?.length&&Yt.unidadeId==ln.unidade_id||Yt.entidadeId?.length&&Yt.entidadeId==ln.entidade_id)ln.codigo=Pt.controls.codigo.value,ln.titulo=Pt.controls.titulo.value,ln.conteudo=Pt.controls.conteudo.value,ln.dataset=Yt.dataset,ln._status="ADD"==ln._status?"ADD":"EDIT";else{let Sr=new Se.Y({id:Yt.dao.generateUuid(),codigo:Pt.controls.codigo.value,titulo:Pt.controls.titulo.value,conteudo:Pt.controls.conteudo.value,dataset:Yt.dataset,especie:"NOTIFICACAO",entidade_id:Yt.entidadeId||null,unidade_id:Yt.unidadeId||null,_status:"ADD",_metadata:{notificar:!0}});Yt.entity.notificacoes_templates=Yt.entity.notificacoes_templates||[],Yt.entity.notificacoes_templates.push(Sr),Yt.entity.notificacoes?.nao_notificar?.includes(Sr.codigo)&&Yt.entity.notificacoes?.nao_notificar?.splice(Yt.entity.notificacoes?.nao_notificar?.indexOf(Sr.codigo),1),Yt.items=Yt.templateService.buildItems(Yt.source,Yt.entity.notificacoes_templates||[],Yt.entity?.notificacoes?.nao_notificar),Yt.cdRef.detectChanges()}})()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["notificacoes-template"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(K.M,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.grid=li.first)}},inputs:{cdRef:"cdRef",entity:"entity",entidadeId:"entidadeId",unidadeId:"unidadeId",source:"source"},features:[x.qOj],decls:1,vars:1,consts:[["editable","",3,"items","form","title","orderBy","groupBy","join","selectable","load","remove","save","hasAdd","hasEdit","hasDelete",4,"ngIf"],["editable","",3,"items","form","title","orderBy","groupBy","join","selectable","load","remove","save","hasAdd","hasEdit","hasDelete"],["fullSizeOnEdit","",3,"size","template","editTemplate"],["panelTemplate",""],["panelTemplateEdit",""],["title","Template",3,"template"],["columnTemplate",""],["type","options","always","",3,"dynamicButtons"],[1,"h-100","ps-3","contentTemplte"],[1,"pt-3","m-0"],["emptyDocumentMensage","Nenhum template selecionado",3,"html"],[1,"row"],["label","C\xf3digo",3,"size","control"],["label","T\xedtulo",3,"size","control"],["label","Preview do template",3,"size","dataset","control"],[1,"col-md-2"],["scale","small","path","notificar",3,"size","source","change"],[1,"col-md-10"],["color","light","icon","bi bi-tag",3,"label",4,"ngIf"],["color","primary",3,"icon","label",4,"ngIf"],["color","success",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-tag",3,"label"],["color","primary",3,"icon","label"],["color","success",3,"icon","label"]],template:function(ln,Yt){1&ln&&x.YNc(0,Do,11,18,"grid",0),2&ln&&x.Q6J("ngIf",Yt.viewInit)},dependencies:[i.O5,K.M,ae.a,oe.b,hn.a,H.m,gt.F,Ze.G,Je.h,tt.a],styles:[".contentTemplte[_ngcontent-%COMP%]{border-left:1px solid #e3e3e3}"]})}return On})(),Ls=(()=>{class On{static#e=this.\u0275fac=function(ln){return new(ln||On)};static#t=this.\u0275mod=x.oAB({type:On});static#n=this.\u0275inj=x.cJS({imports:[i.ez,t.K,Qt]})}return On})();x.B6R(ki.y,[i.O5,F.Q,hn.a,xe.N,Ms],[])},2314:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>b});var i=m(1209),t=m(453),A=m(5545),a=m(1547),y=m(2307),C=m(755);let b=(()=>{class F{get gb(){return this._gb=this._gb||this.injector.get(a.d),this._gb}get go(){return this._go=this._go||this.injector.get(y.o),this._go}get dialog(){return this._dialog=this._dialog||this.injector.get(A.x),this._dialog}constructor(N){this.injector=N}resolve(N,x){let H=(0,i.of)(!0),k=!1;return N.queryParams?.idroute?.length&&(!this.go.first&&(N.data.modal&&this.gb.useModals||N.queryParams?.modal)&&(this.dialog.modal(N),k=!0,H=t.E),this.go.config(N.queryParams?.idroute,{title:N.data.title,modal:k,path:N.pathFromRoot.map(P=>P.routeConfig?.path||"").join("/")})),H}static#e=this.\u0275fac=function(x){return new(x||F)(C.LFG(C.zs3))};static#t=this.\u0275prov=C.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},7457:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(1454),t=m(755);let A=(()=>{class a{get server(){return this._server=this._server||this.injector.get(i.N),this._server}constructor(C){this.injector=C}isAuthenticated(){return this.server.get("api/panel-login-check").toPromise().then(C=>{if(C&&void 0!==C.authenticated)return C.authenticated;throw new Error("Resposta inv\xe1lida do servidor")}).catch(C=>(console.error("Erro ao verificar autentica\xe7\xe3o:",C),!1))}loginPanel(C,b){return this.server.post("api/panel-login",{email:C,password:b}).toPromise().then(F=>F)}detailUser(){return this.server.get("api/panel-login-detail").toPromise().then(C=>{if(C)return C;throw new Error("Resposta inv\xe1lida do servidor")}).catch(C=>(console.error("Erro ao verificar autentica\xe7\xe3o:",C),!1))}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},2333:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>V});var i=m(8239),t=m(3937),A=m(6898),a=m(5545),y=m(1547),C=m(504),b=m(2307),F=m(1454),j=m(2866),N=m.n(j),x=m(5579),H=m(6551),k=m(5908),P=m(9193),X=m(5255),me=m(2469),Oe=m(1214),Se=m(2067),wt=m(609),K=m(755);let V=(()=>{class J{get logging(){return this._logging}set logging(oe){oe!=this._logging&&(this._logging=oe,this.gb.isEmbedded||(oe?this.dialogs.showSppinerOverlay("Logando . . .",6e4):this.dialogs.closeSppinerOverlay()))}set apiToken(oe){this._apiToken=oe}get apiToken(){return typeof MD_MULTIAGENCIA_PETRVS_SESSION_TOKEN<"u"?MD_MULTIAGENCIA_PETRVS_SESSION_TOKEN:this._apiToken}get server(){return this._server=this._server||this.injector.get(F.N),this._server}get lex(){return this._lex=this._lex||this.injector.get(k.E),this._lex}get gb(){return this._gb=this._gb||this.injector.get(y.d),this._gb}get util(){return this._util=this._util||this.injector.get(P.f),this._util}get go(){return this._go=this._go||this.injector.get(b.o),this._go}get googleApi(){return this._googleApi=this._googleApi||this.injector.get(C.q),this._googleApi}get dialogs(){return this._dialogs=this._dialogs||this.injector.get(a.x),this._dialogs}get route(){return this._route=this._route||this.injector.get(x.gz),this._route}get calendar(){return this._calendar=this._calendar||this.injector.get(H.o),this._calendar}get usuarioDao(){return this._usuarioDao=this._usuarioDao||this.injector.get(X.q),this._usuarioDao}get unidadeDao(){return this._unidadeDao=this._unidadeDao||this.injector.get(Oe.J),this._unidadeDao}get notificacao(){return this._notificacao=this._notificacao||this.injector.get(Se.r),this._notificacao}get unidadeService(){return this._unidade=this._unidade||this.injector.get(wt.Z),this._unidade}set usuarioConfig(oe){this.updateUsuarioConfig(this.usuario.id,oe)}get usuarioConfig(){const oe=new A.x;return this.util.assign(oe,this.usuario?.config||{})}constructor(oe){this.injector=oe,this.logged=!1,this.capacidades=[],this._apiToken=void 0,this._logging=!1}success(oe,ye){this.app.go.navigate(ye||{route:this.app.gb.initialRoute})}fail(oe){this.app.go.navigate({route:["login"],params:{error:oe?.error||oe?.message||oe}})}leave(){this.app.go.navigate({route:["login"]})}get unidadeHora(){return N()(this.hora).format("HH:mm")}get hora(){let oe=new Date;if(this.unidade?.cidade){const ye=this.gb.horarioDelta.servidor.getTime()-this.gb.horarioDelta.local.getTime(),Ee=60*(this.unidade.cidade.timezone+Math.abs(this.unidade.cidade.timezone))*60*1e3;oe.setTime(oe.getTime()+Ee+ye)}return oe}registerPopupLoginResultListener(){window.addEventListener("message",oe=>{"COMPLETAR_LOGIN"==oe?.data&&(this.dialogs.closeSppinerOverlay(),this.authSession().then(ye=>{ye&&this.success(this.usuario,{route:["home"]})}))},!1)}updateUsuarioConfig(oe,ye){return this.usuario?.id==oe&&(this.usuario.config=this.util.assign(this.usuario.config,ye)),this.usuarioDao.updateJson(oe,"config",ye)}updateUsuarioNotificacoes(oe,ye){return this.usuario?.id==oe&&(this.usuario.notificacoes=this.util.assign(this.usuario.notificacoes,ye)),this.usuarioDao.updateJson(oe,"notificacoes",ye)}registerEntity(oe){oe?(this.entidade=Object.assign(new me.H,oe),this.lex.loadVocabulary(this.entidade.nomenclatura||[])):this.entidade=void 0}registerUser(oe,ye){if(oe){let Ee=[];this.usuario=Object.assign(new A.b,oe),this.capacidades=this.usuario?.perfil?.capacidades?.filter(Ge=>null==Ge.deleted_at).map(Ge=>Ge.tipo_capacidade?.codigo||"")||[],this.kind=this.kind,this.logged=!0,this.unidades=this.usuario?.areas_trabalho?.map(Ge=>Ge.unidade)||[],this.unidade=this.usuario?.config.unidade_id&&this.unidades.find(Ge=>Ge.id===this.usuario?.config.unidade_id)?this.unidades.find(Ge=>Ge.id===this.usuario?.config.unidade_id):this.usuario?.areas_trabalho?.find(Ge=>Ge.atribuicoes?.find(gt=>"LOTADO"==gt.atribuicao))?.unidade,this.unidade&&this.calendar.loadFeriadosCadastrados(this.unidade.id),ye?.length&&localStorage.setItem("petrvs_api_token",ye),this.hasPermissionTo("CTXT_GEST")&&Ee.push("GESTAO"),this.hasPermissionTo("CTXT_EXEC")&&Ee.push("EXECUCAO"),this.hasPermissionTo("CTXT_DEV")&&Ee.push("DEV"),this.hasPermissionTo("CTXT_ADM")&&Ee.push("ADMINISTRADOR"),this.hasPermissionTo("CTXT_RX")&&Ee.push("RAIOX"),Ee.includes(this.usuario?.config.menu_contexto)||(this.gb.contexto=this.app?.menuContexto.find(Ge=>Ge.key===this.usuario?.config.menu_contexto)),this.gb.setContexto(Ee[0]),this.notificacao.updateNaoLidas()}else this.usuario=void 0,this.kind=void 0,this.logged=!1,this.unidades=void 0;this.logging=!1}hasPermissionTo(oe){const ye="string"==typeof oe?[oe]:oe;for(let Ee of ye)if("string"==typeof Ee&&this.capacidades.includes(Ee)||Array.isArray(Ee)&&Ee.reduce((Ge,gt)=>Ge&&this.capacidades.includes(gt),!0))return!0;return!1}get routerTo(){let oe=this.route.snapshot?.queryParams?.redirectTo?JSON.parse(this.route.snapshot?.queryParams?.redirectTo):{route:this.gb.initialRoute};return"login"==oe.route[0]&&(oe={route:this.gb.initialRoute}),oe}authAzure(){this.dialogs.showSppinerOverlay("Logando...",3e5),this.go.openPopup(this.gb.servidorURL+"/web/login-azure-redirect?entidade="+encodeURI(this.gb.ENTIDADE))}authLoginUnicoBackEnd(){this.dialogs.showSppinerOverlay("Logando...",3e5),this.go.openPopup(this.gb.servidorURL+"/web/login-govbr-redirect?entidade="+encodeURI(this.gb.ENTIDADE))}authUserPassword(oe,ye,Ee){return this.logIn("USERPASSWORD","login-user-password",{entidade:this.gb.ENTIDADE,email:oe,password:ye},Ee)}authDprfSeguranca(oe,ye,Ee,Ge){return this.logIn("DPRFSEGURANCA","login-institucional",{entidade:this.gb.ENTIDADE,cpf:oe,senha:ye,token:Ee},Ge)}authGoogle(oe,ye){return this.logIn("GOOGLE","login-google-token",{entidade:this.gb.ENTIDADE,token:oe},ye)}authLoginUnico(oe,ye,Ee){return this.logIn("LOGINUNICO","login-unico",{entidade:this.gb.ENTIDADE,code:oe,state:ye},Ee)}authSession(){return this._apiToken=localStorage.getItem("petrvs_api_token")||void 0,this.logIn("SESSION","login-session",{})}logIn(oe,ye,Ee,Ge){let gt=this.gb.isExtension?"EXTENSION":this.gb.isSeiModule?"SEI":"BROWSER",Ze=()=>this.server.post((this.gb.isEmbedded?"api/":"web/")+ye,{...Ee,device_name:gt}).toPromise().then(Je=>{if(Je?.error)throw new Error(Je?.error);return this.kind=Je?.kind||oe,this.apiToken=Je.token,this.registerEntity(Je.entidade),this.registerUser(Je.usuario,this.apiToken),this.app?.setMenuVars(),Je.horario_servidor?.length&&(this.gb.horarioDelta.servidor=P.f.iso8601ToDate(Je.horario_servidor),this.gb.horarioDelta.local=new Date),this.success&&"SESSION"!=oe&&this.success(this.usuario,Ge),this.gb.refresh&&this.gb.refresh(),!0}).catch(Je=>(this.registerUser(void 0),this.fail&&"SESSION"!=oe&&this.fail(Je?.message||Je?.error||Je.toString()),this.gb.refresh&&this.gb.refresh(),!1));return this.logging=!0,this.gb.isEmbedded?Ze():this.server.get("sanctum/csrf-cookie").toPromise().then(Ze)}logOut(){var oe=this;return(0,i.Z)(function*(){try{oe.logging=!0,yield oe.server.get((oe.gb.isEmbedded?"api/":"web/")+"logout").toPromise();const ye=()=>{localStorage.removeItem("petrvs_api_token"),oe.registerUser(void 0),oe.leave&&oe.leave(),oe.gb.refresh&&oe.gb.refresh()};oe.gb.hasGoogleLogin&&oe.gb.loginGoogleClientId?.length&&"GOOGLE"==oe.kind&&(yield oe.googleApi.initialize(),yield oe.googleApi.signOut()),ye(),oe.logging=!1}catch(ye){console.error("Ocorreu um erro durante o logout:",ye)}finally{oe.logging=!1}})()}selecionaUnidade(oe,ye){return this.unidades?.find(Ee=>Ee.id==oe)?(this.unidade=void 0,ye?.detectChanges(),this.server.post("api/seleciona-unidade",{unidade_id:oe}).toPromise().then(Ee=>(Ee?.unidade&&(this.unidade=Object.assign(new t.b,Ee?.unidade),this.calendar.loadFeriadosCadastrados(this.unidade.id),this.unidade.entidade&&this.lex.loadVocabulary(this.unidade.entidade.nomenclatura||[])),ye?.detectChanges(),this.unidade)).catch(Ee=>{this.dialogs.alert("Erro","N\xe3o foi poss\xedvel selecionar a unidade!")})):Promise.resolve(void 0)}hasLotacao(oe){return this.usuario.areas_trabalho?.find(ye=>ye.unidade_id==oe)}isGestorAlgumaAreaTrabalho(oe=!0){return!!this.unidades?.filter(ye=>this.unidadeService.isGestorUnidade(ye,oe)).length}unidadeGestor(){return this.unidades?.find(oe=>this.unidadeService.isGestorUnidade(oe))}get lotacao(){return this.usuario?.areas_trabalho?.find(oe=>oe.atribuicoes?.find(ye=>"LOTADO"==ye.atribuicao))?.unidade}get gestoresLotacao(){let oe=this.lotacao,ye=[];return oe?.gestor?.usuario&&ye.push(oe?.gestor?.usuario),oe?.gestores_substitutos.length&&(oe?.gestores_substitutos.map(Ee=>Ee.usuario)).forEach(Ee=>ye.push(Ee)),ye}isLotacaoUsuario(oe=null){let ye=oe||this.unidade;return this.usuario?.areas_trabalho?.find(Ge=>Ge.atribuicoes?.find(gt=>"LOTADO"==gt.atribuicao))?.unidade?.id==ye.id}isIntegrante(oe,ye){let Ee=this.usuario?.unidades_integrantes?.find(Ge=>Ge.unidade_id==ye);return!!Ee&&Ee.atribuicoes.map(Ge=>Ge.atribuicao).includes(oe)}isLotadoNaLinhaAscendente(oe){let ye=!1;return this.usuario.areas_trabalho?.map(Ee=>Ee.unidade_id).forEach(Ee=>{oe.path.split("/").slice(1).includes(Ee)&&(ye=!0)}),ye}isGestorLinhaAscendente(oe){let ye=!1,Ee=this.usuario?.gerencias_substitutas?.map(Ze=>Ze.unidade_id)||[],gt=[...this.usuario?.gerencias_delegadas?.map(Ze=>Ze.unidade_id)||[],...Ee];return this.usuario?.gerencia_titular?.unidade?.id&>.push(this.usuario?.gerencia_titular.unidade_id),gt.forEach(Ze=>{oe.path&&oe.path.split("/").slice(1).includes(Ze)&&(ye=!0)}),!1}loginPanel(oe,ye){return this.server.post("api/panel-login",{user:oe,password:ye}).toPromise().then(Ee=>Ee)}static#e=this.\u0275fac=function(ye){return new(ye||J)(K.LFG(K.zs3))};static#t=this.\u0275prov=K.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})()},6551:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>N});var i=m(2866),t=m.n(i),A=m(2559),a=m(2333),y=m(1547),C=m(9702),b=m(1454),F=m(9193),j=m(755);let N=(()=>{class x{get gb(){return this._gb=this._gb||this.injector.get(y.d),this._gb}get server(){return this._server=this._server||this.injector.get(b.N),this._server}get util(){return this._util=this._util||this.injector.get(F.f),this._util}get auth(){return this._auth=this._auth||this.injector.get(a.e),this._auth}get lookup(){return this._lookup=this._lookup||this.injector.get(C.W),this._lookup}constructor(k){this.injector=k,this.feriadosCadastrados={},this.feriadosReligiosos={}}easter(k=void 0){const P=(k=k||(new Date).getFullYear())%19,X=Math.floor(k/100),me=(X-Math.floor(X/4)-Math.floor((8*X+13)/25)+19*P+15)%30,Oe=me-Math.floor(me/28)*(1-Math.floor(29/(me+1))*Math.floor((21-P)/11)),wt=Oe-(k+Math.floor(k/4)+Oe+2-X+Math.floor(X/4))%7,K=3+Math.floor((wt+40)/44),V=wt+28-31*Math.floor(K/4);return new Date(k,K,V,0,0,0,0)}loadFeriadosReligiosos(k){const P=this.easter(k),X=P.getDate(),me=P.getMonth()-1,Oe=P.getFullYear();let Se={};return Se[t()(new Date(Oe,me,X-48,0,0,0,0)).format("YYYY-MM-DD")]="2\xaa-feira Carnaval",Se[t()(new Date(Oe,me,X-47,0,0,0,0)).format("YYYY-MM-DD")]="3\xaa-feira Carnaval",Se[t()(new Date(Oe,me,X-2,0,0,0,0)).format("YYYY-MM-DD")]="6\xaa-feira Santa",Se[t()(new Date(Oe,me,X,0,0,0,0)).format("YYYY-MM-DD")]="P\xe1scoa",Se[t()(new Date(Oe,me,X+60,0,0,0,0)).format("YYYY-MM-DD")]="Corpus Christi",Se}loadFeriadosCadastrados(k){return new Promise((P,X)=>{this.feriadosCadastrados[k]?P(this.feriadosCadastrados[k]):this.server.post("api/Calendario/feriados-cadastrados",{unidade_id:k}).subscribe(me=>{this.feriadosCadastrados[k]=me.feriados,P(this.feriadosCadastrados[k])},me=>X(me))})}produtividade(k,P){return Math.round(k/P*1e4)/100}isFeriadoCadastrado(k,P){let X=P.id?this.feriadosCadastrados[P.id]:P;if(X){const me=t()(k).format("YYYY-MM-DD");return X[me]||X["0000"+me.substr(-6)]}throw new Error("Lista de feriados da unidade n\xe3o carregada no sistema.")}isFeriadoReligioso(k){const P=t()(k).format("YYYY-MM-DD"),X=k.getFullYear().toString();return this.feriadosReligiosos[X]||(this.feriadosReligiosos[X]=this.loadFeriadosReligiosos(k.getFullYear())),this.feriadosReligiosos[X][P]}isFinalSemana(k){return 6==k.getDay()?"S\xe1bado":0==k.getDay()?"Domingo":void 0}nestedExpediente(k){return k.expediente||k.entidade?.expediente||this.auth.entidade?.expediente||new A.z}expedienteMedio(k){if(k){const P=(Oe,Se)=>Oe+(this.util.getStrTimeHours(Se.fim)-this.util.getStrTimeHours(Se.inicio));let X=this.nestedExpediente(k),me=[X.domingo.reduce(P,0),X.segunda.reduce(P,0),X.terca.reduce(P,0),X.quarta.reduce(P,0),X.quinta.reduce(P,0),X.sexta.reduce(P,0),X.sabado.reduce(P,0),X.domingo.reduce(P,0)].filter(Oe=>Oe>0);return me.reduce((Oe,Se)=>Oe+Se,0)/me.length}return 24}prazo(k,P,X,me,Oe){const Se=this.feriadosCadastrados[me.id]||[],wt="DISTRIBUICAO"==Oe?me.distribuicao_forma_contagem_prazos:me.entrega_forma_contagem_prazos,K=this.nestedExpediente(me);return this.calculaDataTempo(k,P,wt,X,K,Se).fim}horasUteis(k,P,X,me,Oe,Se,wt){const K=this.feriadosCadastrados[me.id]||[],V="DISTRIBUICAO"==Oe?me.distribuicao_forma_contagem_prazos:me.entrega_forma_contagem_prazos,J=this.nestedExpediente(me);return this.util.round(this.calculaDataTempo(k,P,V,X,J,K,Se,wt).tempoUtil,2)}horasAtraso(k,P){return this.util.round(this.calculaDataTempo(k,this.auth.hora,"HORAS_CORRIDAS",24).tempoUtil,2)}horasAdiantado(k,P,X,me){const Oe=this.nestedExpediente(me);return this.util.round(this.calculaDataTempo(k,P,me.entrega_forma_contagem_prazos,X,Oe).tempoUtil,2)}calculaDataTempoUnidade(k,P,X,me,Oe,Se,wt){let K=this.feriadosCadastrados[me.id]||[];K.length||(this.loadFeriadosCadastrados(me.id),K=this.feriadosCadastrados[me.id]||[]);const V="DISTRIBUICAO"==Oe?me.distribuicao_forma_contagem_prazos:me.entrega_forma_contagem_prazos,J=this.nestedExpediente(me);return this.calculaDataTempo(k,P,V,X,J,K,Se,wt)}calculaDataTempo(k,P,X,me,Oe,Se,wt,K){const V="DIAS_CORRIDOS"==X||"HORAS_CORRIDAS"==X,J="DIAS_CORRIDOS"==X||"DIAS_UTEIS"==X,ae="number"==typeof P,oe=this.util.daystamp(k),ye=ae?oe:this.util.daystamp(P);if(!Oe&&!V)throw new Error("Expediente n\xe3o informado");Oe=V?void 0:Oe;const Ee=(Qe,pt)=>{let Nt=[];for(let Jt of K||[]){const nt=this.util.intersection([{start:Qe,end:pt},{start:Jt.data_inicio.getTime(),end:Jt.data_fim.getTime()}]);nt&&nt.start!=nt.end&&(Nt.push(nt),tt.afastamentos.includes(Jt)||tt.afastamentos.push(Jt))}return Nt},Ge=(Qe,pt)=>{let Nt=[];for(let Jt of wt||[]){const nt=this.util.intersection([{start:Qe,end:pt},{start:Jt.data_inicio.getTime(),end:Jt.data_fim?.getTime()||pt}]);nt&&(Nt.push(nt),tt.pausas.includes(Jt)||tt.pausas.push(Jt))}return Nt},gt=(Qe,pt)=>{const Nt=this.lookup.getCode(this.lookup.DIA_SEMANA,Je.getDay()),Jt=this.lookup.getValue(this.lookup.DIA_SEMANA,Je.getDay()),nt=this.util.setStrTime(Je,Qe||"00:00").getTime(),ot=this.util.setStrTime(Je,pt||"24:00").getTime();let Ct={diaSemana:Nt,diaLiteral:Jt,tInicio:nt,tFim:ot,hExpediente:this.util.getHoursBetween(nt,ot),intervalos:[]};if(Oe){const He=t()(Je).format("YYYY-MM-DD"),mt=Oe.especial.filter(hn=>t()(hn.data).format("YYYY-MM-DD")==He),vt=[...Oe[Nt],...mt.filter(hn=>!hn.sem)].sort((hn,yt)=>this.util.getStrTimeHours(hn.inicio)-this.util.getStrTimeHours(yt.inicio));if(tt.expediente[Nt]=Oe[Nt],tt.expediente.especial.push(...mt),vt.length){let hn;Ct.tInicio=Math.max(nt,this.util.setStrTime(Je,vt[0].inicio).getTime()),Ct.tFim=Math.min(ot,Math.max(this.util.setStrTime(Je,vt[0].fim).getTime(),Ct.tInicio));for(let yt of vt){const Fn=this.util.setStrTime(Je,yt.inicio).getTime(),xn=this.util.setStrTime(Je,yt.fim).getTime();nt!!yt.sem).forEach(yt=>Ct.intervalos.push({start:this.util.setStrTime(Je,yt.inicio).getTime(),end:this.util.setStrTime(Je,yt.fim).getTime()})),Ct.intervalos=this.util.union(Ct.intervalos),Ct.intervalos=Ct.intervalos.filter(yt=>yt.start<=Ct.tFim&&yt.end>=Ct.tInicio).map(yt=>Object.assign(yt,{start:Math.max(yt.start,Ct.tInicio),end:Math.min(yt.end,Ct.tFim)}))}else Ct.tInicio=0,Ct.tFim=0,Ct.hExpediente=0}return Ct};let Ze=ae?P:0,Je=new Date(k.getTime()),tt={resultado:ae?"DATA":"TEMPO",dias_corridos:0,inicio:k,fim:ae?new Date(k.getTime()):P,tempoUtil:ae?P:0,forma:X,horasNaoUteis:0,cargaHoraria:me||24,expediente:new A.z,afastamentos:[],pausas:[],feriados:{},diasNaoUteis:{},diasDetalhes:[]};for(me="HORAS_CORRIDAS"==X?24:tt.cargaHoraria;ae?this.util.round(Ze,2)>0:this.util.daystamp(Je)<=ye;){const Qe=this.util.daystamp(Je)==oe,pt=this.util.daystamp(Je)==ye,Nt=t()(Je).format("YYYY-MM-DD"),ot=gt(J||!Qe?void 0:this.util.getTimeFormatted(k),J||!pt||ae?void 0:this.util.getTimeFormatted(P)),Ct=Ee(ot.tInicio,ot.tFim),He=Ge(ot.tInicio,ot.tFim),mt=V?void 0:this.isFeriadoCadastrado(Je,Se||{}),vt=V?void 0:this.isFeriadoReligioso(Je);V||(mt&&(tt.feriados[Nt]=mt),vt&&(tt.feriados[Nt]=vt));const hn=V?[]:this.util.union([...Ct,...He,...ot.intervalos]),yt=hn.reduce((xn,In)=>xn+this.util.getHoursBetween(In.start,In.end),0),Fn=V||!mt&&!vt&&ot.hExpediente>yt;if(Fn||(tt.diasNaoUteis[Nt]=[ot.diaLiteral,mt,vt].filter(xn=>xn?.length).join(", ")),J)Fn&&(V||!Ct.length&&!He.length)?ae?(Ze-=me,tt.fim=new Date(ot.tFim)):tt.tempoUtil+=me:tt.horasNaoUteis+=me;else if(Fn){let xn=Math.min(ot.hExpediente-yt,me,ae?Ze:24);if(xn)if(ae){Ze-=xn;const In=hn.reduce((dn,qn)=>{const di=this.util.getHoursBetween(dn,qn.start);return di{"use strict";m.d(_e,{K:()=>C});var i=m(1597),t=m(755),A=m(9193),a=m(2333),y=m(4971);let C=(()=>{class b{constructor(j,N,x){this.util=j,this.auth=N,this.dao=x}comentarioLevel(j){return(j.path||"").split("").filter(N=>"/"==N)}orderComentarios(j){return j?.sort((x,H)=>{if(x.path=x.path||"",H.path=H.path||"",x.path==H.path)return x.data_comentario.getTime()Se.id==(k[X.length]||x.id)&&Se.id!=H.id)||x).data_comentario.getTime(),Oe=(j.find(Se=>Se.id==(P[X.length]||H.id)&&Se.id!=x.id)||H).data_comentario.getTime();return me==Oe?0:me{"use strict";m.d(_e,{x:()=>K});var i=m(755),t=m(1547),A=m(2307),a=m(9193),y=m(6733),C=m(3705);const b=["body"];function F(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"i",13),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw();return i.KtG(ye.openNewBrowserTab())}),i.qZA()}}function j(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"button",14),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw();return i.KtG(ye.minimize())}),i.qZA()}}function N(V,J){if(1&V&&i._UZ(0,"document-preview",15),2&V){const ae=i.oxw();i.Q6J("html",ae.html)}}function x(V,J){}function H(V,J){if(1&V&&i.GkF(0,16),2&V){const ae=i.oxw();i.Q6J("ngTemplateOutlet",ae.template)("ngTemplateOutletContext",ae.templateContext)}}function k(V,J){if(1&V&&i._UZ(0,"i"),2&V){const ae=i.oxw().$implicit;i.Tol(ae.icon)}}function P(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"button",19),i.NdJ("click",function(){const Ee=i.CHM(ae).$implicit,Ge=i.oxw(2);return i.KtG(Ge.buttonClick(Ee))}),i.YNc(1,k,1,2,"i",20),i._uU(2),i.qZA()}if(2&V){const ae=J.$implicit;i.Tol("btn "+(ae.color||"btn-primary")),i.xp6(1),i.Q6J("ngIf",ae.icon),i.xp6(1),i.hij(" ",ae.label," ")}}function X(V,J){if(1&V&&(i.TgZ(0,"div",17),i.YNc(1,P,3,4,"button",18),i.qZA()),2&V){const ae=i.oxw();i.xp6(1),i.Q6J("ngForOf",ae.buttons)}}let me=(()=>{class V{set message(ae){this._message!=ae&&(this._message=ae,this.cdRef.detectChanges())}get message(){return this._message}set title(ae){this._title!=ae&&(this._title=ae,this.cdRef.detectChanges())}get title(){return this._title}get factory(){return this._factory=this._factory||this.injector.get(i._Vd),this._factory}get cdRef(){return this._cdRef=this._cdRef||this.injector.get(i.sBO),this._cdRef}get go(){return this._go=this._go||this.injector.get(A.o),this._go}get gb(){return this._gb=this._gb||this.injector.get(t.d),this._gb}constructor(ae){this.injector=ae,this.onClose=new i.vpe,this.onButtonClick=new i.vpe,this.buttons=[],this.modalWidth=500,this.minimized=!1,this._title="",this._message="",this.id="dialog"+(new Date).getTime()}ngOnInit(){}minimize(){this.minimized=!0,this.dialogs?.minimized.push(this),this.gb.refresh&&this.gb.refresh(),this.bootstapModal.hide()}restore(){const ae=this.dialogs.minimized.indexOf(this);ae>=0&&(this.minimized=!1,this.dialogs?.minimized.splice(ae,1),this.gb.refresh&&this.gb.refresh(),this.bootstapModal.show())}get bootstapModal(){if(!this.modal){const ae=document.getElementById(this.id);this.modal=new bootstrap.Modal(ae,{backdrop:"static",keyboard:!1}),ae.addEventListener("hidden.bs.modal",oe=>{this.minimized||this.hide()}),ae.addEventListener("shown.bs.modal",oe=>{const ye=this.modalBodyRef?.instance;ye&&(ye.shown=!0,ye.onShow&&ye?.onShow(),this.cdRef.detectChanges())})}return this.modal}hide(){let ae=this.dialogs.dialogs.findIndex(ye=>ye.id==this.id);ae>=0&&this.dialogs.dialogs.splice(ae,1),this.route&&this.go.back(this.route.queryParams?.idroute),this.onClose&&this.onClose.emit(),this.componentRef?.destroy();const oe=this.componentRef?.instance.modalBodyRef?.instance;oe&&oe.form&&this.dialogs?.modalClosed.next()}ngAfterViewInit(){if(this.route&&this.route.component){const oe=this.factory.resolveComponentFactory(this.route.component);if(this.route.data.title?.length&&(this.title=this.route.data.title),this.modalBodyRef=this.body.createComponent(oe),"modalInterface"in this.modalBodyRef.instance){const ye=this.modalBodyRef.instance;ye.modalRoute=this.route,this.modalWidth=parseInt(this.route.queryParams?.modalWidth||ye.modalWidth),ye.titleSubscriber.subscribe(Ee=>{this.title=Ee,this.cdRef.detectChanges()}),ye.title?.length&&(this.title=ye.title),this.cdRef.detectChanges()}else this.template&&(this.modalWidth=600,this.cdRef.detectChanges())}this.bootstapModal.show(),this.zIndexRefresh()}zIndexRefresh(){document.querySelectorAll(".modal").forEach((ae,oe)=>{ae.style.zIndex=""+1055*(oe+1)}),document.querySelectorAll(".modal-backdrop").forEach((ae,oe)=>{ae.style.zIndex=""+1050*(oe+1)})}show(){this.bootstapModal.show()}close(ae=!0){ae||(this.route=void 0),this.bootstapModal.hide()}buttonClick(ae){this.onButtonClick?.emit(ae)}openNewBrowserTab(){this.go.openNewBrowserTab(this.route)}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:V,selectors:[["app-dialog"]],viewQuery:function(oe,ye){if(1&oe&&i.Gf(b,5,i.s_b),2&oe){let Ee;i.iGM(Ee=i.CRH())&&(ye.body=Ee.first)}},inputs:{message:"message",title:"title"},outputs:{onClose:"onClose",onButtonClick:"onButtonClick"},features:[i._Bn([{provide:"ID_GENERATOR_BASE",useFactory:(ae,oe,ye)=>ye.onlyAlphanumeric(oe.getStackRouteUrl()),deps:[V,A.o,a.f]}])],decls:16,vars:16,consts:[["data-bs-backdrop","static","data-bs-keyboard","false","tabindex","-1","aria-hidden","true","data-bs-focus","false",1,"modal","fade",3,"id"],[1,"modal-dialog"],[1,"modal-content"],[1,"modal-header","hidden-print"],["class","bi bi-box-arrow-up-right me-2","role","button",3,"click",4,"ngIf"],[1,"modal-title","break-title",3,"id"],["type","button","class","btn-close btn-minimize","data-bs-dismiss","modal","aria-label","Minimize",3,"click",4,"ngIf"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body"],["noMargin","",3,"html",4,"ngIf"],["body",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","modal-footer hidden-print",4,"ngIf"],["role","button",1,"bi","bi-box-arrow-up-right","me-2",3,"click"],["type","button","data-bs-dismiss","modal","aria-label","Minimize",1,"btn-close","btn-minimize",3,"click"],["noMargin","",3,"html"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"modal-footer","hidden-print"],["type","button",3,"class","click",4,"ngFor","ngForOf"],["type","button",3,"click"],[3,"class",4,"ngIf"]],template:function(oe,ye){1&oe&&(i.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),i.YNc(4,F,1,0,"i",4),i.TgZ(5,"h5",5),i._uU(6),i.qZA(),i.YNc(7,j,1,0,"button",6),i._UZ(8,"button",7),i.qZA(),i.TgZ(9,"div",8),i.YNc(10,N,1,1,"document-preview",9),i.YNc(11,x,0,0,"ng-template",null,10,i.W1O),i.YNc(13,H,1,2,"ng-container",11),i._uU(14),i.qZA(),i.YNc(15,X,2,1,"div",12),i.qZA()()()),2&oe&&(i.Q6J("id",ye.id),i.uIk("aria-labelledby",ye.id+"Label"),i.xp6(1),i.Udp("max-width",ye.modalWidth,"px"),i.xp6(3),i.Q6J("ngIf",ye.route),i.xp6(1),i.Udp("max-width",ye.modalWidth-100,"px"),i.Q6J("id",ye.id+"Label"),i.xp6(1),i.Oqu(ye.title),i.xp6(1),i.Q6J("ngIf",ye.gb.isToolbar),i.xp6(1),i.ekj("btn-no-left-margin",ye.gb.isEmbedded),i.xp6(2),i.Q6J("ngIf",null==ye.html?null:ye.html.length),i.xp6(3),i.Q6J("ngIf",ye.template),i.xp6(1),i.hij(" ",ye.message," "),i.xp6(1),i.Q6J("ngIf",ye.buttons.length))},dependencies:[y.sg,y.O5,y.tP,C.a],styles:[".btn-minimize[_ngcontent-%COMP%]{background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg viewBox='0 0 16 16' width='16' height='16' fill='%23000' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1.937' y='13.255' width='11.785' height='0.969' style='stroke: rgb(0, 0, 0);'/%3E%3C/svg%3E\")!important}.btn-no-left-margin[_ngcontent-%COMP%]{margin-left:0!important}.break-title[_ngcontent-%COMP%]{word-break:break-all}"]})}return V})(),Oe=(()=>{class V{get cdRef(){return this._cdRef=this._cdRef||this.injector.get(i.sBO),this._cdRef}constructor(ae){this.injector=ae,this.message="",this.show=!1}ngOnInit(){}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:V,selectors:[["app-spinner-overlay"]],inputs:{message:"message",show:"show"},decls:5,vars:5,consts:[[1,"overlay"],[1,"spanner"],[1,"loader"]],template:function(oe,ye){1&oe&&(i._UZ(0,"div",0),i.TgZ(1,"div",1),i._UZ(2,"div",2),i.TgZ(3,"p"),i._uU(4),i.qZA()()),2&oe&&(i.ekj("show",ye.show),i.xp6(1),i.ekj("show",ye.show),i.xp6(3),i.Oqu(ye.message))},styles:['.spanner[_ngcontent-%COMP%]{position:fixed;left:0;width:100%;display:block;text-align:center;height:300px;color:#fff;top:50%;transform:translateY(-50%);z-index:200000;visibility:hidden}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);visibility:hidden;z-index:199999}.loader[_ngcontent-%COMP%], .loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{border-radius:50%;width:2.5em;height:2.5em;animation-fill-mode:both;animation:_ngcontent-%COMP%_load7 1.8s infinite ease-in-out}.loader[_ngcontent-%COMP%]{color:#fff;font-size:10px;margin:80px auto;position:relative;text-indent:-9999em;transform:translateZ(0);animation-delay:-.16s}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0}.loader[_ngcontent-%COMP%]:before{left:-3.5em;animation-delay:-.32s}.loader[_ngcontent-%COMP%]:after{left:3.5em}@keyframes _ngcontent-%COMP%_load7{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em}}.show[_ngcontent-%COMP%]{visibility:visible}.spanner[_ngcontent-%COMP%], .overlay[_ngcontent-%COMP%]{opacity:0;transition:all .3s}.spanner.show[_ngcontent-%COMP%], .overlay.show[_ngcontent-%COMP%]{opacity:1}']})}return V})();var Se=m(8748);class wt{constructor(J,ae){this.dialog=J,this.result=ae}asPromise(){return this.result}}let K=(()=>{class V{get factory(){return this._factory=this._factory||this.injector.get(i._Vd),this._factory}get utils(){return this._utils=this._utils||this.injector.get(a.f),this._utils}constructor(ae){this.injector=ae,this.dialogs=[],this.minimized=[],this.topAlerts=[],this.modalClosed=new Se.x}createDialogView(){const ae=this.factory.resolveComponentFactory(me),ye=this.container.createComponent(ae);return this.dialogs.push(ye.instance),ye.instance.componentRef=ye,ye.instance.dialogs=this,ye}createSpinnerView(){const ae=this.factory.resolveComponentFactory(Oe);return this.spinnerRef=this.container.createComponent(ae),this.spinnerRef}restore(ae){ae.restore()}topAlert(ae,oe){const ye=this.utils.md5(),Ee=gt=>{const Ze=this.topAlerts.findIndex(Je=>Je.id==gt);Ze>=0&&this.topAlerts.splice(Ze,1),this.cdRef?.detectChanges()};this.topAlerts.push({id:ye,message:ae,closable:oe?void 0:"true",timer:oe,setTimer:oe?setTimeout((()=>{Ee(ye)}).bind(this),oe):void 0,close:Ee.bind(this)})}alert(ae,oe){const Ee=this.createDialogView().instance;return Ee.title=ae,Ee.message=oe,Ee.buttons=[{label:"Ok"}],Ee.cdRef.detectChanges(),this.cdRef?.detectChanges(),new Promise((Ge,gt)=>{Ee.onButtonClick.subscribe(Ze=>{Ee.close(),Ge()})})}confirm(ae,oe,ye){const Ge=this.createDialogView().instance;return Ge.title=ae,Ge.message=oe,Ge.buttons=ye||[{label:"Ok",value:!0,color:"btn-success"},{label:"Cancelar",value:!1,color:"btn-danger"}],Ge.cdRef.detectChanges(),this.cdRef?.detectChanges(),new Promise((gt,Ze)=>{Ge.onButtonClick.subscribe(Je=>{Ge.close(),gt(Je.value)})})}choose(ae,oe,ye){const Ge=this.createDialogView().instance;return Ge.title=ae,Ge.message=oe,Ge.buttons=ye,Ge.cdRef.detectChanges(),this.cdRef?.detectChanges(),new Promise((gt,Ze)=>{Ge.onButtonClick.subscribe(Je=>{Ge.close(),gt(Je)})})}template(ae,oe,ye,Ee){const gt=this.createDialogView().instance;return gt.title=ae.title||"",gt.modalWidth=ae.modalWidth||gt.modalWidth,gt.template=oe,gt.templateContext=Ee,gt.buttons=ye,gt.cdRef.detectChanges(),this.cdRef?.detectChanges(),new wt(gt,new Promise((Ze,Je)=>{gt.onButtonClick.subscribe(tt=>{Ze({button:tt,dialog:gt})})}))}html(ae,oe,ye=[]){const Ge=this.createDialogView().instance;return Ge.title=ae.title||"",Ge.modalWidth=ae.modalWidth||Ge.modalWidth,Ge.html=oe,Ge.buttons=ye,Ge.cdRef.detectChanges(),this.cdRef?.detectChanges(),new wt(Ge,new Promise((gt,Ze)=>{Ge.onButtonClick.subscribe(Je=>{gt({button:Je,dialog:Ge})})}))}modal(ae){this.createDialogView().instance.route=ae}closeAll(){this.dialogs.map(ae=>ae.close()),this.dialogs=[]}detectChanges(){this.dialogs.forEach(ae=>ae.cdRef.detectChanges())}showing(ae){return!!this.dialogs.find(oe=>oe.route?.queryParams?.idroute==ae)}close(ae,oe=!0){(ae?this.dialogs.find(Ee=>Ee.route?.queryParams?.idroute==ae):this.dialogs[this.dialogs.length-1])?.close(oe)}showSppinerOverlay(ae,oe){this.spinnerRef||this.createSpinnerView(),this.spinnerRef.instance.message=ae,this.spinnerRef.instance.show=!0,this.spinnerRef.instance.cdRef.detectChanges(),this.cdRef?.detectChanges(),oe&&(this.sppinerTimeout=setTimeout(()=>{this.closeSppinerOverlay()},oe))}closeSppinerOverlay(){this.spinnerRef&&(this.sppinerTimeout&&clearTimeout(this.sppinerTimeout),this.sppinerTimeout=void 0,this.spinnerRef.instance.show=!1,this.cdRef?.detectChanges())}get sppinerShowing(){return!!this.spinnerRef?.instance.show}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})()},1508:(lt,_e,m)=>{"use strict";m.d(_e,{c:()=>Kn});var i=m(4561),t=m(5908),A=m(5255),a=m(1214),y=m(5298),C=m(5316),b=m(9707),F=m(7744),j=m(5213),N=m(2214),x=m(4972),H=m(497),k=m(4166),P=m(2981),X=m(207),me=m(8340),Oe=m(9055),Se=m(6075),wt=m(4002),K=m(361),V=m(9230),J=m(9520),ae=m(6994),oe=m(949),ye=m(5026),Ee=m(1240),Ge=m(7465),gt=m(7909),Ze=m(5458),Je=m(1058),tt=m(9190),Qe=m(1021),pt=m(1042),Nt=m(6976),Jt=m(755);let nt=(()=>{class An extends Nt.B{constructor(Qt){super("ProjetoAlocacao",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["descricao"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),ot=(()=>{class An extends Nt.B{constructor(Qt){super("ProjetoRegra",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Ct=(()=>{class An extends Nt.B{constructor(Qt){super("ProjetoRecurso",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})();var He=m(8325);let mt=(()=>{class An extends Nt.B{constructor(Qt){super("TipoAvaliacaoJustificativa",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})();var vt=m(6150),hn=m(8631),yt=m(7501),Fn=m(8958),xn=m(4317);let In=(()=>{class An extends Nt.B{constructor(Qt){super("Traffic",Qt),this.injector=Qt}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),dn=(()=>{class An extends Nt.B{constructor(Qt){super("AreaConhecimento",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),qn=(()=>{class An extends Nt.B{constructor(Qt){super("TipoCurso",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),di=(()=>{class An extends Nt.B{constructor(Qt){super("CentroTreinamento",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),ir=(()=>{class An extends Nt.B{constructor(Qt){super("Funcao",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Bn=(()=>{class An extends Nt.B{constructor(Qt){super("GrupoEspecializado",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),xi=(()=>{class An extends Nt.B{constructor(Qt){super("PlanoEntregaEntregaObjetivo",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["objetivo.nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),fi=(()=>{class An extends Nt.B{constructor(Qt){super("PlanoEntregaEntregaProcesso",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["processo.nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Mt=(()=>{class An extends Nt.B{constructor(Qt){super("Cargo",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Ot=(()=>{class An extends Nt.B{constructor(Qt){super("AreaAtividadeExterna",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),ve=(()=>{class An extends Nt.B{constructor(Qt){super("AreaTematica",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),De=(()=>{class An extends Nt.B{constructor(Qt){super("CapacidadeTecnica",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})();var xe=m(4971),Ye=m(4539),xt=m(5034);let cn=(()=>{class An extends Nt.B{constructor(Qt){super("Disciplina",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["sigla","nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Kn=(()=>{class An{constructor(Qt){this.injector=Qt,this.lex=Qt.get(t.E),this.list=[{collection:"Adesao",icon:"bi bi-universal-access-circle",label:"Ades\xe3o"},{collection:"Afastamento",codigo:"MOD_AFT",table:"afastamentos",campo:"observacoes",icon:"bi bi-toggle-off",dao:Qt.get(i.e),label:"Afastamento",selectRoute:{route:["gestao","afastamento"]}},{collection:"AreaAtividadeExterna",codigo:"MOD_RX_CURR",table:"areas_atividades_externas",campo:"nome",icon:"bi bi-box-arrow-in-down",dao:Qt.get(Ot),label:"\xc1rea Atividade Externa ",selectRoute:{route:["raiox","cadastros","area-atividade-externa"]}},{collection:"AreaConhecimento",codigo:"MOD_RX_CURR",table:"areas_conhecimentos",campo:"nome_area",icon:"bi bi-mortarboard",dao:Qt.get(dn),label:"Area do Conhecimento",selectRoute:{route:["raiox","cadastros","area-conhecimento"]}},{collection:"AreaTematica",codigo:"MOD_RX_CURR",table:"areas_tematicas",campo:"nome",icon:"bi bi-mortarboard",dao:Qt.get(ve),label:"Area do Conhecimento",selectRoute:{route:["raiox","cadastros","area-tematica"]}},{collection:"Atividade",codigo:"MOD_ATV",table:"atividades",campo:"descricao",icon:"bi bi-activity",dao:Qt.get(xe.P),label:"Atividade",selectRoute:{route:["gestao","atividade"]}},{collection:"AtividadeTarefa",table:"atividades_tarefas",campo:"atividade_id",icon:"",dao:Qt.get(oe.n),label:"Tarefa da Atividade"},{collection:"CadeiaValor",codigo:"MOD_CADV",table:"cadeias_valores",campo:"nome",icon:"bi bi-bar-chart-steps",dao:Qt.get(J.m),label:"Cadeia de Valor",selectRoute:{route:["gestao","cadeia-valor"]}},{collection:"CadeiaValorProcesso",table:"cadeias_valores_processos",campo:"nome",icon:"",dao:Qt.get(yt.k),label:"Processo da Cadeia de Valor",selectRoute:{route:["gestao","cadeia-valor","processoList"]}},{collection:"Capacidade",table:"capacidades",campo:"tipo_capacidade_id",icon:"",dao:Qt.get(ae.W),label:"Capacidade"},{collection:"CapacidadeTecnica",codigo:"MOD_RX_CURR",table:"capacidades_tecnicas",campo:"nome",icon:"bi bi-arrows-angle-contract",dao:Qt.get(De),label:"Capacidade T\xe9cnica",selectRoute:{route:["raiox","cadastros","capacidade-tecnica"]}},{collection:"Cargo",codigo:"MOD_RX_CURR",table:"cargos",campo:"nome",icon:"bi bi-person-badge",dao:Qt.get(Mt),label:"Cargo",selectRoute:{route:["raiox","cadastros","cargo"]}},{collection:"Change",table:"changes",campo:"row_id",icon:"bi bi-filter-square",dao:Qt.get(Fn.D),label:"Log de Altera\xe7\xe3o",selectRoute:{route:["logs","change"]}},{collection:"CentroTreinamento",codigo:"MOD_RX_CURR",table:"centros_treinamentos",campo:"nome",icon:"bi bi-building-fill",dao:Qt.get(di),label:"Centro de Treinamento",selectRoute:{route:["raiox","cadastros","centro-treinamento"]}},{collection:"Cidade",codigo:"MOD_CID",table:"cidades",campo:"nome",icon:"bi bi-building",dao:Qt.get(H.l),label:"Cidade",selectRoute:{route:["cadastros","cidade"]}},{collection:"Documento",table:"documentos",campo:"numero",icon:"",dao:Qt.get(ye.d),label:"Documento"},{collection:"EixoTematico",codigo:"MOD_EXTM",table:"eixos_tematicos",campo:"nome",icon:"bi bi-gear",dao:Qt.get(Ee.e),label:"Eixo Tem\xe1tico",selectRoute:{route:["cadastros","eixo-tematico"]}},{collection:"Entidade",codigo:"MOD_ENTD",table:"entidades",campo:"nome",icon:"bi bi-bookmark-heart",dao:Qt.get(C.i),label:"Entidade",selectRoute:{route:["configuracoes","entidade"]}},{collection:"Entrega",codigo:"MOD_ENTRG",table:"entregas",campo:"nome",icon:"bi bi-list-check",dao:Qt.get(Ge.y),label:"Entrega",selectRoute:{route:["cadastros","entrega"]}},{collection:"Error",table:"errors",campo:"type",icon:"bi bi-bug",dao:Qt.get(xn.v),label:"Log de Erro",selectRoute:{route:["logs","error"]}},{collection:"Feriado",codigo:"MOD_FER",table:"feriados",campo:"nome",icon:"bi bi-emoji-sunglasses",dao:Qt.get(x.F),label:"Feriado",selectRoute:{route:["cadastros","feriado"]}},{collection:"Funcao",codigo:"MOD_RX_CURR",table:"funcoes",campo:"nome",icon:"bi bi-check-circle-fill",dao:Qt.get(ir),label:"Fun\xe7\xe3o",selectRoute:{route:["raiox","cadastros","funcao"]}},{collection:"GrupoEspecializado",codigo:"MOD_RX_CURR",table:"grupos_especializados",campo:"nome",icon:"bi bi-check-circle",dao:Qt.get(Bn),label:"Grupos Especializados",selectRoute:{route:["raiox","cadastros","grupo-especializado"]}},{collection:"Integracao",table:"integracoes",campo:"usuario_id",icon:"bi bi-pencil-square",dao:Qt.get(gt.a),label:"Integra\xe7\xe3o"},{collection:"Disciplina",codigo:"MOD_RX_CURR",table:"disciplinas",campo:"nome",icon:"bi bi-list-check",dao:Qt.get(cn),label:"Disciplinas",selectRoute:{route:["raiox","cadastros","disciplina"]}},{collection:"MaterialServico",codigo:"MOD_MATSRV",table:"materiais_servicos",campo:"descricao",icon:"bi bi-list-check",dao:Qt.get(k.g),label:"Material/Servi\xe7o",selectRoute:{route:["cadastros","material-servico"]}},{collection:"Perfil",codigo:"MOD_PERF",table:"perfis",campo:"nome",icon:"bi bi-fingerprint",dao:Qt.get(y.r),label:"Perfil",selectRoute:{route:["configuracoes","perfil"]}},{collection:"Ocorrencia",codigo:"MOD_OCOR",table:"ocorrencias",campo:"descricao",icon:"bi bi-exclamation-diamond",dao:Qt.get(xt.u),label:"Ocorr\xeancia",selectRoute:{route:["gestao","ocorrencia"]}},{collection:"Planejamento",codigo:"MOD_PLAN_INST",table:"planejamentos",campo:"nome",icon:"bi bi-journals",dao:Qt.get(Ze.U),label:"Planejamento Institucional",selectRoute:{route:["gestao","planejamento"]}},{collection:"PlanejamentoObjetivo",table:"planejamentos_objetivos",campo:"nome",icon:"bi bi-bullseye",dao:Qt.get(Je.e),label:"Objetivo do Planejamento",selectRoute:{route:["gestao","planejamento","objetivoList"]}},{collection:"PlanoTrabalho",codigo:"MOD_PTR",table:"planos_trabalhos",campo:"numero",icon:"bi bi-list-stars",dao:Qt.get(F.t),label:"Plano de Trabalho",selectRoute:{route:["gestao","plano-trabalho"]}},{collection:"PlanoTrabalhoConsolidacao",codigo:"MOD_PTR_CSLD",table:"planos_trabalhos_consolidacoes",icon:"bi bi-clipboard-check",dao:Qt.get(Ye.E),label:"Consolida\xe7\xf5es",selectRoute:{route:["gestao","plano-trabalho","consolidacao"]}},{collection:"PlanoEntrega",codigo:"MOD_PENT",table:"planos_entregas",campo:"nome",icon:"bi bi-list-columns-reverse",dao:Qt.get(tt.r),label:"Plano de Entrega",selectRoute:{route:["gestao","plano-entrega"]}},{collection:"PlanoEntregaEntrega",codigo:"MOD_PENT_ENTR",table:"planos_entregas_entregas",campo:"descricao",icon:"bi bi-list-check",dao:Qt.get(Qe.K),label:"Entrega do Plano de Entrega",selectRoute:{route:["gestao","plano-entrega","entrega-list"]}},{collection:"PlanoEntregaObjetivo",codigo:"MOD_PENT_OBJ",table:"planos_entregas_objetivos",campo:"descricao",icon:"",dao:Qt.get(xi),label:"Objetivo do Plano de Entrega"},{collection:"PlanoEntregaProcesso",codigo:"MOD_PENT_PRO",table:"planos_entregas_processos",campo:"descricao",icon:"",dao:Qt.get(fi),label:"Processo do Plano de Entrega"},{collection:"Preferencia",icon:"bi bi-person-fill-gear",label:"Prefer\xeancia"},{collection:"Programa",codigo:"MOD_PRGT",table:"programas",campo:"nome",icon:"bi bi-graph-up-arrow",dao:Qt.get(N.w),label:"Programa de Gest\xe3o",selectRoute:{route:["gestao","programa"]}},{collection:"ProgramaParticipante",table:"programas_participantes",campo:"usuario_id",icon:"",dao:Qt.get(pt.U),label:"Participante do Programa"},{collection:"Projeto",codigo:"MOD_PROJ",table:"projetos",campo:"nome",icon:"bi bi-diagram-2",dao:Qt.get(b.P),label:"Projeto",selectRoute:{route:["gestao","projeto"]}},{collection:"ProjetoAlocacao",table:"projetos_alocacoes",campo:"descricao",icon:"",dao:Qt.get(nt),label:"Aloca\xe7\xe3o"},{collection:"ProjetoRecurso",table:"projetos_recursos",campo:"nome",icon:"",dao:Qt.get(Ct),label:"Recurso"},{collection:"ProjetoRegra",table:"projetos_regras",campo:"nome",icon:"",dao:Qt.get(ot),label:"Regra"},{collection:"ProjetoTarefa",table:"projetos_tarefas",campo:"nome",icon:"",dao:Qt.get(He.z),label:"Tarefa do Projeto"},{collection:"RelatorioArea",icon:"bi bi-diagram-3-fill",label:"\xc1rea"},{collection:"RelatorioServidor",icon:"bi bi-file-person",label:"Servidor"},{collection:"TipoTarefa",table:"tipos_tarefas",campo:"nome",icon:"bi bi-boxes",dao:Qt.get(j.J),label:"Tipo de Tarefa",selectRoute:{route:["cadastros","tipo-tarefa"]}},{collection:"Template",codigo:"MOD_TEMP",table:"templates",campo:"titulo",icon:"bi bi-archive",dao:Qt.get(V.w),label:"Template",selectRoute:{route:["cadastros","template"]}},{collection:"Teste",icon:"bi bi-clipboard-check",label:"Teste"},{collection:"TipoAtividade",codigo:"MOD_TIPO_ATV",table:"tipos_atividades",campo:"nome",icon:"bi bi-clipboard-pulse",dao:Qt.get(P.Y),label:"Tipo de Atividade",selectRoute:{route:["cadastros","tipo-atividade"]}},{collection:"TipoAvaliacao",codigo:"MOD_TIPO_AVAL",table:"tipos_avaliacoes",campo:"nome",icon:"bi bi-question-square",dao:Qt.get(X.r),label:"Tipo de Avalia\xe7\xe3o",selectRoute:{route:["cadastros","tipo-avaliacao"]}},{collection:"TipoAvaliacaoJustificativa",table:"tipos_avaliacoes_justificativas",campo:"tipo_avaliacao_id",icon:"",dao:Qt.get(mt),label:"Justificativa do Tipo de Avalia\xe7\xe3o"},{collection:"TipoCapacidade",codigo:"MOD_TIPO_CAP",table:"tipos_capacidades",campo:"descricao",icon:"",dao:Qt.get(vt.r),label:"Tipo de Capacidade"},{collection:"TipoCurso",codigo:"MOD_RX_CURR",table:"tipos_cursos",campo:"nome",icon:"bi bi-box2",dao:Qt.get(qn),label:"Tipo de Curso",selectRoute:{route:["raiox","cadastros","tipo-curso"]}},{collection:"TipoDocumento",codigo:"MOD_TIPO_DOC",table:"tipos_documentos",campo:"nome",icon:"bi bi-files",dao:Qt.get(me.Q),label:"Tipo de Documento",selectRoute:{route:["cadastros","tipo-documento"]}},{collection:"TipoJustificativa",codigo:"MOD_TIPO_JUST",table:"tipos_justificativas",campo:"nome",icon:"bi bi-window-stack",dao:Qt.get(Oe.i),label:"Tipo de Justificativa",selectRoute:{route:["cadastros","tipo-justificativa"]}},{collection:"TipoModalidade",codigo:"MOD_TIPO_MDL",table:"tipos_modalidades",campo:"nome",icon:"bi bi-bar-chart-steps",dao:Qt.get(Se.D),label:"Tipo de Modalidade",selectRoute:{route:["cadastros","tipo-modalidade"]}},{collection:"TipoMotivoAfastamento",codigo:"MOD_TIPO_MTV_AFT",table:"tipos_motivos_afastamentos",campo:"nome",icon:"bi bi-list-ol",dao:Qt.get(wt.n),label:this.lex.translate("Motivo de Afastamento"),selectRoute:{route:["cadastros","tipo-motivo-afastamento"]}},{collection:"TipoProcesso",codigo:"MOD_TIPO_PROC",table:"tipos_processos",campo:"nome",icon:"bi bi-folder-check",dao:Qt.get(K.n),label:"Tipo de Processo",selectRoute:{route:["cadastros","tipo-processo"]}},{collection:"Traffic",table:"traffic",campo:"url",icon:"bi bi-stoplights",dao:Qt.get(In),label:"Log de Tr\xe1fego",selectRoute:{route:["logs","traffic"]}},{collection:"Unidade",codigo:"MOD_UND",table:"unidades",campo:"nome",icon:"fa-unity fab",dao:Qt.get(a.J),label:"Unidade",selectRoute:{route:["configuracoes","unidade"]}},{collection:"UnidadeIntegrante",table:"unidades_integrantes",campo:"atribuicao",icon:"",dao:Qt.get(hn.o),label:"Integrante da Unidade"},{collection:"Usuario",codigo:"MOD_USER",table:"usuarios",campo:"nome",icon:"bi bi-people",dao:Qt.get(A.q),label:"Usu\xe1rio",selectRoute:{route:["configuracoes","usuario"]}}]}getDao(Qt){return this.list.find(ki=>ki.collection==Qt)?.dao}getLabel(Qt){let ki=this.list.find(ta=>ta.collection==Qt);return ki?this.lex.translate(ki.label):""}getIcon(Qt){return this.list.find(ki=>ki.collection==Qt)?.icon||""}getCampo(Qt){return this.list.find(ki=>ki.collection==Qt)?.campo}getTable(Qt){return this.list.find(ki=>ki.collection==Qt)?.table}getSelectRoute(Qt){return this.list.find(ki=>ki.collection==Qt)?.selectRoute||{route:[]}}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})()},9437:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>Y1});var i={version:"0.18.5"},t=1200,A=1252,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],y={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},C=function(e){-1!=a.indexOf(e)&&(A=y[0]=e)},F=function(e){t=e,C(e)};var me,P=function(s){return String.fromCharCode(s)},X=function(s){return String.fromCharCode(s)},Se=null,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function V(e){for(var s="",r=0,h=0,f=0,T=0,D=0,B=0,ee=0,se=0;se>2,D=(3&r)<<4|(h=e.charCodeAt(se++))>>4,B=(15&h)<<2|(f=e.charCodeAt(se++))>>6,ee=63&f,isNaN(h)?B=ee=64:isNaN(f)&&(ee=64),s+=K.charAt(T)+K.charAt(D)+K.charAt(B)+K.charAt(ee);return s}function J(e){var s="",T=0,D=0,B=0,ee=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var se=0;se>4),64!==(B=K.indexOf(e.charAt(se++)))&&(s+=String.fromCharCode((15&D)<<4|B>>2)),64!==(ee=K.indexOf(e.charAt(se++)))&&(s+=String.fromCharCode((3&B)<<6|ee));return s}var ae=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),oe=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(s,r){return r?new Buffer(s,r):new Buffer(s)}:Buffer.from.bind(Buffer)}return function(){}}();function ye(e){return ae?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Ee(e){return ae?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Ge=function(s){return ae?oe(s,"binary"):s.split("").map(function(r){return 255&r.charCodeAt(0)})};function gt(e){if(typeof ArrayBuffer>"u")return Ge(e);for(var s=new ArrayBuffer(e.length),r=new Uint8Array(s),h=0;h!=e.length;++h)r[h]=255&e.charCodeAt(h);return s}function Ze(e){if(Array.isArray(e))return e.map(function(h){return String.fromCharCode(h)}).join("");for(var s=[],r=0;r=0;)s+=e.charAt(r--);return s}function ot(e,s){var r=""+e;return r.length>=s?r:un("0",s-r.length)+r}function Ct(e,s){var r=""+e;return r.length>=s?r:un(" ",s-r.length)+r}function He(e,s){var r=""+e;return r.length>=s?r:r+un(" ",s-r.length)}var hn=Math.pow(2,32);function yt(e,s){return e>hn||e<-hn?function mt(e,s){var r=""+Math.round(e);return r.length>=s?r:un("0",s-r.length)+r}(e,s):function vt(e,s){var r=""+e;return r.length>=s?r:un("0",s-r.length)+r}(Math.round(e),s)}function Fn(e,s){return e.length>=7+(s=s||0)&&103==(32|e.charCodeAt(s))&&101==(32|e.charCodeAt(s+1))&&110==(32|e.charCodeAt(s+2))&&101==(32|e.charCodeAt(s+3))&&114==(32|e.charCodeAt(s+4))&&97==(32|e.charCodeAt(s+5))&&108==(32|e.charCodeAt(s+6))}var xn=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],In=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]],qn={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},di={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},ir={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Bn(e,s,r){for(var h=e<0?-1:1,f=e*h,T=0,D=1,B=0,ee=1,se=0,de=0,Fe=Math.floor(f);ses&&(se>s?(de=ee,B=T):(de=se,B=D)),!r)return[0,h*B,de];var Be=Math.floor(h*B/de);return[Be,h*B-Be*de,de]}function xi(e,s,r){if(e>2958465||e<0)return null;var h=0|e,f=Math.floor(86400*(e-h)),T=0,D=[],B={D:h,T:f,u:86400*(e-h)-f,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(B.u)<1e-6&&(B.u=0),s&&s.date1904&&(h+=1462),B.u>.9999&&(B.u=0,86400==++f&&(B.T=f=0,++h,++B.D)),60===h)D=r?[1317,10,29]:[1900,2,29],T=3;else if(0===h)D=r?[1317,8,29]:[1900,1,0],T=6;else{h>60&&--h;var ee=new Date(1900,0,1);ee.setDate(ee.getDate()+h-1),D=[ee.getFullYear(),ee.getMonth()+1,ee.getDate()],T=ee.getDay(),h<60&&(T=(T+6)%7),r&&(T=function An(e,s){s[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}(ee,D))}return B.y=D[0],B.m=D[1],B.d=D[2],B.S=f%60,f=Math.floor(f/60),B.M=f%60,f=Math.floor(f/60),B.H=f,B.q=T,B}var fi=new Date(1899,11,31,0,0,0),Mt=fi.getTime(),Ot=new Date(1900,2,1,0,0,0);function ve(e,s){var r=e.getTime();return s?r-=1262304e5:e>=Ot&&(r+=864e5),(r-(Mt+6e4*(e.getTimezoneOffset()-fi.getTimezoneOffset())))/864e5}function De(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Kn(e,s){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):function cn(e){var r,s=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return r=s>=-4&&s<=-1?e.toPrecision(10+s):Math.abs(s)<=9?function Ye(e){var s=e<0?12:11,r=De(e.toFixed(12));return r.length<=s||(r=e.toPrecision(10)).length<=s?r:e.toExponential(5)}(e):10===s?e.toFixed(10).substr(0,12):function xt(e){var s=De(e.toFixed(11));return s.length>(e<0?12:11)||"0"===s||"-0"===s?e.toPrecision(6):s}(e),De(function xe(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(r.toUpperCase()))}(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Xe(14,ve(e,s&&s.date1904),s)}throw new Error("unsupported value in General format: "+e)}function gs(e,s,r,h){var ee,f="",T=0,D=0,B=r.y,se=0;switch(e){case 98:B=r.y+543;case 121:switch(s.length){case 1:case 2:ee=B%100,se=2;break;default:ee=B%1e4,se=4}break;case 109:switch(s.length){case 1:case 2:ee=r.m,se=s.length;break;case 3:return In[r.m-1][1];case 5:return In[r.m-1][0];default:return In[r.m-1][2]}break;case 100:switch(s.length){case 1:case 2:ee=r.d,se=s.length;break;case 3:return xn[r.q][0];default:return xn[r.q][1]}break;case 104:switch(s.length){case 1:case 2:ee=1+(r.H+11)%12,se=s.length;break;default:throw"bad hour format: "+s}break;case 72:switch(s.length){case 1:case 2:ee=r.H,se=s.length;break;default:throw"bad hour format: "+s}break;case 77:switch(s.length){case 1:case 2:ee=r.M,se=s.length;break;default:throw"bad minute format: "+s}break;case 115:if("s"!=s&&"ss"!=s&&".0"!=s&&".00"!=s&&".000"!=s)throw"bad second format: "+s;return 0!==r.u||"s"!=s&&"ss"!=s?(D=h>=2?3===h?1e3:100:1===h?10:1,(T=Math.round(D*(r.S+r.u)))>=60*D&&(T=0),"s"===s?0===T?"0":""+T/D:(f=ot(T,2+h),"ss"===s?f.substr(0,2):"."+f.substr(2,s.length-1))):ot(r.S,s.length);case 90:switch(s){case"[h]":case"[hh]":ee=24*r.D+r.H;break;case"[m]":case"[mm]":ee=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":ee=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+s}se=3===s.length?1:2;break;case 101:ee=B,se=1}return se>0?ot(ee,se):""}function Qt(e){if(e.length<=3)return e;for(var r=e.length%3,h=e.substr(0,r);r!=e.length;r+=3)h+=(h.length>0?",":"")+e.substr(r,3);return h}var ki=/%/g;function co(e,s){var r,h=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==s)return"0.0E+0";if(s<0)return"-"+co(e,-s);var f=e.indexOf(".");-1===f&&(f=e.indexOf("E"));var T=Math.floor(Math.log(s)*Math.LOG10E)%f;if(T<0&&(T+=f),-1===(r=(s/Math.pow(10,T)).toPrecision(h+1+(f+T)%f)).indexOf("e")){var D=Math.floor(Math.log(s)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(D-r.length+T):r+="E+"+(D-T);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,f)+"."+r.substr(2+f)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(B,ee,se,de){return ee+se+de.substr(0,(f+T)%f)+"."+de.substr(T)+"E"})}else r=s.toExponential(h);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var Or=/# (\?+)( ?)\/( ?)(\d+)/,Do=/^#*0*\.([0#]+)/,Ms=/\).*[0#]/,Ls=/\(###\) ###\\?-####/;function On(e){for(var r,s="",h=0;h!=e.length;++h)switch(r=e.charCodeAt(h)){case 35:break;case 63:s+=" ";break;case 48:s+="0";break;default:s+=String.fromCharCode(r)}return s}function mr(e,s){var r=Math.pow(10,s);return""+Math.round(e*r)/r}function Pt(e,s){var r=e-Math.floor(e),h=Math.pow(10,s);return s<(""+Math.round(r*h)).length?0:Math.round(r*h)}function li(e,s,r){if(40===e.charCodeAt(0)&&!s.match(Ms)){var h=s.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?li("n",h,r):"("+li("n",h,-r)+")"}if(44===s.charCodeAt(s.length-1))return function Pi(e,s,r){for(var h=s.length-1;44===s.charCodeAt(h-1);)--h;return Rt(e,s.substr(0,h),r/Math.pow(10,3*(s.length-h)))}(e,s,r);if(-1!==s.indexOf("%"))return function ta(e,s,r){var h=s.replace(ki,""),f=s.length-h.length;return Rt(e,h,r*Math.pow(10,2*f))+un("%",f)}(e,s,r);if(-1!==s.indexOf("E"))return co(s,r);if(36===s.charCodeAt(0))return"$"+li(e,s.substr(" "==s.charAt(1)?2:1),r);var f,T,D,B,ee=Math.abs(r),se=r<0?"-":"";if(s.match(/^00+$/))return se+yt(ee,s.length);if(s.match(/^[#?]+$/))return"0"===(f=yt(r,0))&&(f=""),f.length>s.length?f:On(s.substr(0,s.length-f.length))+f;if(T=s.match(Or))return function Dr(e,s,r){var h=parseInt(e[4],10),f=Math.round(s*h),T=Math.floor(f/h),D=f-T*h,B=h;return r+(0===T?"":""+T)+" "+(0===D?un(" ",e[1].length+1+e[4].length):Ct(D,e[1].length)+e[2]+"/"+e[3]+ot(B,e[4].length))}(T,ee,se);if(s.match(/^#+0+$/))return se+yt(ee,s.length-s.indexOf("0"));if(T=s.match(Do))return f=mr(r,T[1].length).replace(/^([^\.]+)$/,"$1."+On(T[1])).replace(/\.$/,"."+On(T[1])).replace(/\.(\d*)$/,function(rt,Re){return"."+Re+un("0",On(T[1]).length-Re.length)}),-1!==s.indexOf("0.")?f:f.replace(/^0\./,".");if(s=s.replace(/^#+([0.])/,"$1"),T=s.match(/^(0*)\.(#*)$/))return se+mr(ee,T[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,T[1].length?"0.":".");if(T=s.match(/^#{1,3},##0(\.?)$/))return se+Qt(yt(ee,0));if(T=s.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+li(e,s,-r):Qt(""+(Math.floor(r)+function ln(e,s){return s<(""+Math.round((e-Math.floor(e))*Math.pow(10,s))).length?1:0}(r,T[1].length)))+"."+ot(Pt(r,T[1].length),T[1].length);if(T=s.match(/^#,#*,#0/))return li(e,s.replace(/^#,#*,/,""),r);if(T=s.match(/^([0#]+)(\\?-([0#]+))+$/))return f=nt(li(e,s.replace(/[\\-]/g,""),r)),D=0,nt(nt(s.replace(/\\/g,"")).replace(/[0#]/g,function(rt){return D-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(rt){return"00,"+(rt.length<3?ot(0,3-rt.length):"")+rt})+"."+ot(D,T[1].length);switch(s){case"###,##0.00":return li(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var $e=Qt(yt(ee,0));return"0"!==$e?se+$e:"";case"###,###.00":return li(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return li(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+s+"|")}function Pn(e,s){var r,h=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==s)return"0.0E+0";if(s<0)return"-"+Pn(e,-s);var f=e.indexOf(".");-1===f&&(f=e.indexOf("E"));var T=Math.floor(Math.log(s)*Math.LOG10E)%f;if(T<0&&(T+=f),!(r=(s/Math.pow(10,T)).toPrecision(h+1+(f+T)%f)).match(/[Ee]/)){var D=Math.floor(Math.log(s)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(D-r.length+T):r+="E+"+(D-T),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(B,ee,se,de){return ee+se+de.substr(0,(f+T)%f)+"."+de.substr(T)+"E"})}else r=s.toExponential(h);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function sn(e,s,r){if(40===e.charCodeAt(0)&&!s.match(Ms)){var h=s.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?sn("n",h,r):"("+sn("n",h,-r)+")"}if(44===s.charCodeAt(s.length-1))return function Qr(e,s,r){for(var h=s.length-1;44===s.charCodeAt(h-1);)--h;return Rt(e,s.substr(0,h),r/Math.pow(10,3*(s.length-h)))}(e,s,r);if(-1!==s.indexOf("%"))return function Sr(e,s,r){var h=s.replace(ki,""),f=s.length-h.length;return Rt(e,h,r*Math.pow(10,2*f))+un("%",f)}(e,s,r);if(-1!==s.indexOf("E"))return Pn(s,r);if(36===s.charCodeAt(0))return"$"+sn(e,s.substr(" "==s.charAt(1)?2:1),r);var f,T,D,B,ee=Math.abs(r),se=r<0?"-":"";if(s.match(/^00+$/))return se+ot(ee,s.length);if(s.match(/^[#?]+$/))return f=""+r,0===r&&(f=""),f.length>s.length?f:On(s.substr(0,s.length-f.length))+f;if(T=s.match(Or))return function bs(e,s,r){return r+(0===s?"":""+s)+un(" ",e[1].length+2+e[4].length)}(T,ee,se);if(s.match(/^#+0+$/))return se+ot(ee,s.length-s.indexOf("0"));if(T=s.match(Do))return f=(f=(""+r).replace(/^([^\.]+)$/,"$1."+On(T[1])).replace(/\.$/,"."+On(T[1]))).replace(/\.(\d*)$/,function(rt,Re){return"."+Re+un("0",On(T[1]).length-Re.length)}),-1!==s.indexOf("0.")?f:f.replace(/^0\./,".");if(s=s.replace(/^#+([0.])/,"$1"),T=s.match(/^(0*)\.(#*)$/))return se+(""+ee).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,T[1].length?"0.":".");if(T=s.match(/^#{1,3},##0(\.?)$/))return se+Qt(""+ee);if(T=s.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+sn(e,s,-r):Qt(""+r)+"."+un("0",T[1].length);if(T=s.match(/^#,#*,#0/))return sn(e,s.replace(/^#,#*,/,""),r);if(T=s.match(/^([0#]+)(\\?-([0#]+))+$/))return f=nt(sn(e,s.replace(/[\\-]/g,""),r)),D=0,nt(nt(s.replace(/\\/g,"")).replace(/[0#]/g,function(rt){return D-1||"\\"==r&&"-"==e.charAt(s+1)&&"0#".indexOf(e.charAt(s+2))>-1););break;case"?":for(;e.charAt(++s)===r;);break;case"*":++s,(" "==e.charAt(s)||"*"==e.charAt(s))&&++s;break;case"(":case")":++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;s-1;);break;default:++s}return!1}var Ri=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ur(e,s){if(null==s)return!1;var r=parseFloat(s[2]);switch(s[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function Xe(e,s,r){null==r&&(r={});var h="";switch(typeof e){case"string":h="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(h=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:qn)[e])&&(h=r.table&&r.table[di[e]]||qn[di[e]]),null==h&&(h=ir[e]||"General")}if(Fn(h,0))return Kn(s,r);s instanceof Date&&(s=ve(s,r.date1904));var f=function mn(e,s){var r=function Bt(e){for(var s=[],r=!1,h=0,f=0;h-1&&--h,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof s)return[4,4===r.length||f>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=f>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=f>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=f>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var T=s>0?r[0]:s<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[h,T];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var D=r[0].match(Ri),B=r[1].match(Ri);return Ur(s,D)?[h,r[0]]:Ur(s,B)?[h,r[1]]:[h,r[null!=D&&null!=B?2:1]]}return[h,T]}(h,s);if(Fn(f[1]))return Kn(s,r);if(!0===s)s="TRUE";else if(!1===s)s="FALSE";else if(""===s||null==s)return"";return function rr(e,s,r,h){for(var se,de,Fe,f=[],T="",D=0,B="",ee="t",Be="H";D=12?"P":"A"),Re.t="T",Be="h",D+=3):"AM/PM"===e.substr(D,5).toUpperCase()?(null!=se&&(Re.v=se.H>=12?"PM":"AM"),Re.t="T",D+=5,Be="h"):"\u4e0a\u5348/\u4e0b\u5348"===e.substr(D,5).toUpperCase()?(null!=se&&(Re.v=se.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),Re.t="T",D+=5,Be="h"):(Re.t="t",++D),null==se&&"T"===Re.t)return"";f[f.length]=Re,ee=B;break;case"[":for(T=B;"]"!==e.charAt(D++)&&D-1&&(T=(T.match(/\$([^-\[\]]*)/)||[])[1]||"$",mi(e)||(f[f.length]={t:"t",v:T}));break;case".":if(null!=se){for(T=B;++D-1;)T+=B;f[f.length]={t:"n",v:T};break;case"?":for(T=B;e.charAt(++D)===B;)T+=B;f[f.length]={t:B,v:T},ee=B;break;case"*":++D,(" "==e.charAt(D)||"*"==e.charAt(D))&&++D;break;case"(":case")":f[f.length]={t:1===h?"t":B,v:B},++D;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(T=B;D-1;)T+=e.charAt(D);f[f.length]={t:"D",v:T};break;case" ":f[f.length]={t:B,v:B},++D;break;case"$":f[f.length]={t:"t",v:"$"},++D;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(B))throw new Error("unrecognized character "+B+" in "+e);f[f.length]={t:"t",v:B},++D}var Vt,at=0,zt=0;for(D=f.length-1,ee="t";D>=0;--D)switch(f[D].t){case"h":case"H":f[D].t=Be,ee="h",at<1&&(at=1);break;case"s":(Vt=f[D].v.match(/\.0+$/))&&(zt=Math.max(zt,Vt[0].length-1)),at<3&&(at=3);case"d":case"y":case"M":case"e":ee=f[D].t;break;case"m":"s"===ee&&(f[D].t="M",at<2&&(at=2));break;case"X":break;case"Z":at<1&&f[D].v.match(/[Hh]/)&&(at=1),at<2&&f[D].v.match(/[Mm]/)&&(at=2),at<3&&f[D].v.match(/[Ss]/)&&(at=3)}switch(at){case 0:break;case 1:se.u>=.5&&(se.u=0,++se.S),se.S>=60&&(se.S=0,++se.M),se.M>=60&&(se.M=0,++se.H);break;case 2:se.u>=.5&&(se.u=0,++se.S),se.S>=60&&(se.S=0,++se.M)}var wn,kt="";for(D=0;D0){40==kt.charCodeAt(0)?(ei=s<0&&45===kt.charCodeAt(0)?-s:s,rn=Rt("n",kt,ei)):(rn=Rt("n",kt,ei=s<0&&h>1?-s:s),ei<0&&f[0]&&"t"==f[0].t&&(rn=rn.substr(1),f[0].v="-"+f[0].v)),wn=rn.length-1;var Nn=f.length;for(D=0;D-1){Nn=D;break}var Sn=f.length;if(Nn===f.length&&-1===rn.indexOf("E")){for(D=f.length-1;D>=0;--D)null==f[D]||-1==="n?".indexOf(f[D].t)||(wn>=f[D].v.length-1?f[D].v=rn.substr(1+(wn-=f[D].v.length),f[D].v.length):wn<0?f[D].v="":(f[D].v=rn.substr(0,wn+1),wn=-1),f[D].t="t",Sn=D);wn>=0&&Sn=0;--D)if(null!=f[D]&&-1!=="n?".indexOf(f[D].t)){for(de=f[D].v.indexOf(".")>-1&&D===Nn?f[D].v.indexOf(".")-1:f[D].v.length-1,Un=f[D].v.substr(de+1);de>=0;--de)wn>=0&&("0"===f[D].v.charAt(de)||"#"===f[D].v.charAt(de))&&(Un=rn.charAt(wn--)+Un);f[D].v=Un,f[D].t="t",Sn=D}for(wn>=0&&Sn-1&&D===Nn?f[D].v.indexOf(".")+1:0,Un=f[D].v.substr(0,de);de-1&&(f[D].v=Rt(f[D].t,f[D].v,ei=h>1&&s<0&&D>0&&"-"===f[D-1].v?-s:s),f[D].t="t");var ti="";for(D=0;D!==f.length;++D)null!=f[D]&&(ti+=f[D].v);return ti}(f[1],s,r,f[0])}function ke(e,s){if("number"!=typeof s){s=+s||-1;for(var r=0;r<392;++r)if(null!=qn[r]){if(qn[r]==e){s=r;break}}else s<0&&(s=r);s<0&&(s=391)}return qn[s]=e,s}function ge(e){for(var s=0;392!=s;++s)void 0!==e[s]&&ke(e[s],s)}function Ae(){qn=function dn(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',e}()}var Kt=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,pi=function(){var e={version:"1.2.0"},r=function s(){for(var rn=0,Nn=new Array(256),Sn=0;256!=Sn;++Sn)Nn[Sn]=rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=Sn)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1;return typeof Int32Array<"u"?new Int32Array(Nn):Nn}(),f=function h(rn){var Nn=0,Sn=0,ti=0,ri=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(ti=0;256!=ti;++ti)ri[ti]=rn[ti];for(ti=0;256!=ti;++ti)for(Sn=rn[ti],Nn=256+ti;Nn<4096;Nn+=256)Sn=ri[Nn]=Sn>>>8^rn[255&Sn];var kn=[];for(ti=1;16!=ti;++ti)kn[ti-1]=typeof Int32Array<"u"?ri.subarray(256*ti,256*ti+256):ri.slice(256*ti,256*ti+256);return kn}(r),T=f[0],D=f[1],B=f[2],ee=f[3],se=f[4],de=f[5],Fe=f[6],Be=f[7],$e=f[8],rt=f[9],Re=f[10],at=f[11],zt=f[12],Vt=f[13],kt=f[14];return e.table=r,e.bstr=function wn(rn,Nn){for(var Sn=-1^Nn,ti=0,ri=rn.length;ti>>8^r[255&(Sn^rn.charCodeAt(ti++))];return~Sn},e.buf=function Un(rn,Nn){for(var Sn=-1^Nn,ti=rn.length-15,ri=0;ri>8&255]^zt[rn[ri++]^Sn>>16&255]^at[rn[ri++]^Sn>>>24]^Re[rn[ri++]]^rt[rn[ri++]]^$e[rn[ri++]]^Be[rn[ri++]]^Fe[rn[ri++]]^de[rn[ri++]]^se[rn[ri++]]^ee[rn[ri++]]^B[rn[ri++]]^D[rn[ri++]]^T[rn[ri++]]^r[rn[ri++]];for(ti+=15;ri>>8^r[255&(Sn^rn[ri++])];return~Sn},e.str=function ei(rn,Nn){for(var Sn=-1^Nn,ti=0,ri=rn.length,kn=0,$i=0;ti>>8^r[255&(Sn^kn)]:kn<2048?Sn=(Sn=Sn>>>8^r[255&(Sn^(192|kn>>6&31))])>>>8^r[255&(Sn^(128|63&kn))]:kn>=55296&&kn<57344?(kn=64+(1023&kn),$i=1023&rn.charCodeAt(ti++),Sn=(Sn=(Sn=(Sn=Sn>>>8^r[255&(Sn^(240|kn>>8&7))])>>>8^r[255&(Sn^(128|kn>>2&63))])>>>8^r[255&(Sn^(128|$i>>6&15|(3&kn)<<4))])>>>8^r[255&(Sn^(128|63&$i))]):Sn=(Sn=(Sn=Sn>>>8^r[255&(Sn^(224|kn>>12&15))])>>>8^r[255&(Sn^(128|kn>>6&63))])>>>8^r[255&(Sn^(128|63&kn))];return~Sn},e}(),nn=function(){var ee,s={};function h(ht){if("/"==ht.charAt(ht.length-1))return-1===ht.slice(0,-1).indexOf("/")?ht:h(ht.slice(0,-1));var Wt=ht.lastIndexOf("/");return-1===Wt?ht:ht.slice(0,Wt+1)}function f(ht){if("/"==ht.charAt(ht.length-1))return f(ht.slice(0,-1));var Wt=ht.lastIndexOf("/");return-1===Wt?ht:ht.slice(Wt+1)}function T(ht,Wt){"string"==typeof Wt&&(Wt=new Date(Wt));var Dt=Wt.getHours();Dt=(Dt=Dt<<6|Wt.getMinutes())<<5|Wt.getSeconds()>>>1,ht.write_shift(2,Dt);var Lt=Wt.getFullYear()-1980;Lt=(Lt=Lt<<4|Wt.getMonth()+1)<<5|Wt.getDate(),ht.write_shift(2,Lt)}function B(ht){so(ht,0);for(var Wt={},Dt=0;ht.l<=ht.length-4;){var Lt=ht.read_shift(2),Gt=ht.read_shift(2),$t=ht.l+Gt,jn={};21589===Lt&&(1&(Dt=ht.read_shift(1))&&(jn.mtime=ht.read_shift(4)),Gt>5&&(2&Dt&&(jn.atime=ht.read_shift(4)),4&Dt&&(jn.ctime=ht.read_shift(4))),jn.mtime&&(jn.mt=new Date(1e3*jn.mtime))),ht.l=$t,Wt[Lt]=jn}return Wt}function se(){return ee||(ee={})}function de(ht,Wt){if(80==ht[0]&&75==ht[1])return MA(ht,Wt);if(109==(32|ht[0])&&105==(32|ht[1]))return function W1(ht,Wt){if("mime-version:"!=pr(ht.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var Dt=Wt&&Wt.root||"",Lt=(ae&&Buffer.isBuffer(ht)?ht.toString("binary"):pr(ht)).split("\r\n"),Gt=0,$t="";for(Gt=0;Gt0&&(Dt=(Dt=Dt.slice(0,Dt.length-1)).slice(0,Dt.lastIndexOf("/")+1),$t.slice(0,Dt.length)!=Dt););var jn=(Lt[1]||"").match(/boundary="(.*?)"/);if(!jn)throw new Error("MAD cannot find boundary");var si="--"+(jn[1]||""),$n={FileIndex:[],FullPaths:[]};rn($n);var Bi,Xi=0;for(Gt=0;Gt=Gt&&(Xi-=Gt),!jn[Xi]){Wn=[];var qi=[];for(Bi=Xi;Bi>=0;){qi[Bi]=!0,jn[Bi]=!0,si[si.length]=Bi,Wn.push(ht[Bi]);var ar=Dt[Math.floor(4*Bi/Lt)];if(Lt<4+(Rr=4*Bi&zn))throw new Error("FAT boundary crossed: "+Bi+" 4 "+Lt);if(!ht[ar]||qi[Bi=rl(ht[ar],Rr)])break}$t[Xi]={nodes:si,data:Sa([Wn])}}return $t}($s,jn,zn,Lt);Ll[jn].name="!Directory",Gt>0&&si!==$i&&(Ll[si].name="!MiniFAT"),Ll[zn[0]].name="!FAT",Ll.fat_addrs=zn,Ll.ssz=Lt;var ac=[],Iu=[],Om=[];(function kt(ht,Wt,Dt,Lt,Gt,$t,jn,si){for(var Rr,Wn=0,zn=Lt.length?2:0,$n=Wt[ht].data,Bi=0,Xi=0;Bi<$n.length;Bi+=128){var qi=$n.slice(Bi,Bi+128);so(qi,64),Xi=qi.read_shift(2),Rr=ia(qi,0,Xi-zn),Lt.push(Rr);var ar={name:Rr,type:qi.read_shift(1),color:qi.read_shift(1),L:qi.read_shift(4,"i"),R:qi.read_shift(4,"i"),C:qi.read_shift(4,"i"),clsid:qi.read_shift(16),state:qi.read_shift(4,"i"),start:0,size:0};0!==qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)&&(ar.ct=wn(qi,qi.l-8)),0!==qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)&&(ar.mt=wn(qi,qi.l-8)),ar.start=qi.read_shift(4,"i"),ar.size=qi.read_shift(4,"i"),ar.size<0&&ar.start<0&&(ar.size=ar.type=0,ar.start=$i,ar.name=""),5===ar.type?(Wn=ar.start,Gt>0&&Wn!==$i&&(Wt[Wn].name="!StreamData")):ar.size>=4096?(ar.storage="fat",void 0===Wt[ar.start]&&(Wt[ar.start]=zt(Dt,ar.start,Wt.fat_addrs,Wt.ssz)),Wt[ar.start].name=ar.name,ar.content=Wt[ar.start].data.slice(0,ar.size)):(ar.storage="minifat",ar.size<0?ar.size=0:Wn!==$i&&ar.start!==$i&&Wt[Wn]&&(ar.content=Re(ar,Wt[Wn].data,(Wt[si]||{}).data))),ar.content&&so(ar.content,0),$t[Rr]=ar,jn.push(ar)}})(jn,Ll,$s,ac,Gt,{},Iu,si),function rt(ht,Wt,Dt){for(var Lt=0,Gt=0,$t=0,jn=0,si=0,Wn=Dt.length,zn=[],$n=[];Lt0&&jn>=0;)$t.push(Wt.slice(jn*kn,jn*kn+kn)),Gt-=kn,jn=rl(Dt,4*jn);return 0===$t.length?Vn(0):Qe($t).slice(0,ht.size)}function at(ht,Wt,Dt,Lt,Gt){var $t=$i;if(ht===$i){if(0!==Wt)throw new Error("DIFAT chain shorter than expected")}else if(-1!==ht){var jn=Dt[ht],si=(Lt>>>2)-1;if(!jn)return;for(var Wn=0;Wn=0;){Gt[Wn]=!0,$t[$t.length]=Wn,jn.push(ht[Wn]);var $n=Dt[Math.floor(4*Wn/Lt)];if(Lt<4+(zn=4*Wn&si))throw new Error("FAT boundary crossed: "+Wn+" 4 "+Lt);if(!ht[$n])break;Wn=rl(ht[$n],zn)}return{nodes:$t,data:Sa([jn])}}function wn(ht,Wt){return new Date(1e3*(Ts(ht,Wt+4)/1e7*Math.pow(2,32)+Ts(ht,Wt)/1e7-11644473600))}function rn(ht,Wt){var Dt=Wt||{},Lt=Dt.root||"Root Entry";if(ht.FullPaths||(ht.FullPaths=[]),ht.FileIndex||(ht.FileIndex=[]),ht.FullPaths.length!==ht.FileIndex.length)throw new Error("inconsistent CFB structure");0===ht.FullPaths.length&&(ht.FullPaths[0]=Lt+"/",ht.FileIndex[0]={name:Lt,type:5}),Dt.CLSID&&(ht.FileIndex[0].clsid=Dt.CLSID),function Nn(ht){var Wt="\x01Sh33tJ5";if(!nn.find(ht,"/"+Wt)){var Dt=Vn(4);Dt[0]=55,Dt[1]=Dt[3]=50,Dt[2]=54,ht.FileIndex.push({name:Wt,type:2,content:Dt,size:4,L:69,R:69,C:69}),ht.FullPaths.push(ht.FullPaths[0]+Wt),Sn(ht)}}(ht)}function Sn(ht,Wt){rn(ht);for(var Dt=!1,Lt=!1,Gt=ht.FullPaths.length-1;Gt>=0;--Gt){var $t=ht.FileIndex[Gt];switch($t.type){case 0:Lt?Dt=!0:(ht.FileIndex.pop(),ht.FullPaths.pop());break;case 1:case 2:case 5:Lt=!0,isNaN($t.R*$t.L*$t.C)&&(Dt=!0),$t.R>-1&&$t.L>-1&&$t.R==$t.L&&(Dt=!0);break;default:Dt=!0}}if(Dt||Wt){var jn=new Date(1987,1,19),si=0,Wn=Object.create?Object.create(null):{},zn=[];for(Gt=0;Gt1?1:-1,Bi.size=0,Bi.type=5;else if("/"==Xi.slice(-1)){for(si=Gt+1;si=zn.length?-1:si,si=Gt+1;si=zn.length?-1:si,Bi.type=1}else h(ht.FullPaths[Gt+1]||"")==h(Xi)&&(Bi.R=Gt+1),Bi.type=2}}}function ti(ht,Wt){var Dt=Wt||{};if("mad"==Dt.fileType)return function SA(ht,Wt){for(var Dt=Wt||{},Lt=Dt.boundary||"SheetJS",Gt=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(Lt="------="+Lt).slice(2)+'"',"","",""],$t=ht.FullPaths[0],jn=$t,si=ht.FileIndex[0],Wn=1;Wn=32&&Rr<128&&++Bi;var ar=Bi>=4*Xi/5;Gt.push(Lt),Gt.push("Content-Location: "+(Dt.root||"file:///C:/SheetJS/")+jn),Gt.push("Content-Transfer-Encoding: "+(ar?"quoted-printable":"base64")),Gt.push("Content-Type: "+j1(si,jn)),Gt.push(""),Gt.push(ar?z1($n):DA($n))}return Gt.push(Lt+"--\r\n"),Gt.join("\r\n")}(ht,Dt);if("zip"===(Sn(ht),Dt.fileType))return function H1(ht,Wt){var Dt=Wt||{},Lt=[],Gt=[],$t=Vn(1),jn=Dt.compression?8:0,si=0,zn=0,$n=0,Bi=0,Xi=0,Rr=ht.FullPaths[0],qi=Rr,ar=ht.FileIndex[0],$s=[],Ll=0;for(zn=1;zn0&&(ou<4096?qi+=ou+63>>6:ar+=ou+511>>9)}}for(var ac=Rr.FullPaths.length+3>>2,Om=qi+127>>7,qg=(qi+7>>3)+ar+ac+Om,Uf=qg+127>>7,gv=Uf<=109?0:Math.ceil((Uf-109)/127);qg+Uf+gv+127>>7>Uf;)gv=++Uf<=109?0:Math.ceil((Uf-109)/127);var ch=[1,gv,Uf,Om,ac,ar,qi,0];return Rr.FileIndex[0].size=qi<<6,ch[7]=(Rr.FileIndex[0].start=ch[0]+ch[1]+ch[2]+ch[3]+ch[4]+ch[5])+(ch[6]+7>>3),ch}(ht),Gt=Vn(Lt[7]<<9),$t=0,jn=0;for($t=0;$t<8;++$t)Gt.write_shift(1,Qi[$t]);for($t=0;$t<8;++$t)Gt.write_shift(2,0);for(Gt.write_shift(2,62),Gt.write_shift(2,3),Gt.write_shift(2,65534),Gt.write_shift(2,9),Gt.write_shift(2,6),$t=0;$t<3;++$t)Gt.write_shift(2,0);for(Gt.write_shift(4,0),Gt.write_shift(4,Lt[2]),Gt.write_shift(4,Lt[0]+Lt[1]+Lt[2]+Lt[3]-1),Gt.write_shift(4,0),Gt.write_shift(4,4096),Gt.write_shift(4,Lt[3]?Lt[0]+Lt[1]+Lt[2]-1:$i),Gt.write_shift(4,Lt[3]),Gt.write_shift(-4,Lt[1]?Lt[0]-1:$i),Gt.write_shift(4,Lt[1]),$t=0;$t<109;++$t)Gt.write_shift(-4,$t>9));for(si(Lt[6]+7>>3);511&Gt.l;)Gt.write_shift(-4,Gr.ENDOFCHAIN);for(jn=$t=0,Wn=0;Wn=4096)&&($n.start=jn,si(zn+63>>6));for(;511&Gt.l;)Gt.write_shift(-4,Gr.ENDOFCHAIN);for($t=0;$t=4096)if(Gt.l=$n.start+1<<9,ae&&Buffer.isBuffer($n.content))$n.content.copy(Gt,Gt.l,0,$n.size),Gt.l+=$n.size+511&-512;else{for(Wn=0;Wn<$n.size;++Wn)Gt.write_shift(1,$n.content[Wn]);for(;511&Wn;++Wn)Gt.write_shift(1,0)}for($t=1;$t0&&$n.size<4096)if(ae&&Buffer.isBuffer($n.content))$n.content.copy(Gt,Gt.l,0,$n.size),Gt.l+=$n.size+63&-64;else{for(Wn=0;Wn<$n.size;++Wn)Gt.write_shift(1,$n.content[Wn]);for(;63&Wn;++Wn)Gt.write_shift(1,0)}if(ae)Gt.l=Gt.length;else for(;Gt.l>16|Wt>>8|Wt));function qt(ht,Wt){var Dt=Ii[255&ht];return Wt<=8?Dt>>>8-Wt:(Dt=Dt<<8|Ii[ht>>8&255],Wt<=16?Dt>>>16-Wt:(Dt=Dt<<8|Ii[ht>>16&255])>>>24-Wt)}function Ha(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=6?0:ht[Lt+1]<<8))>>>Dt&3}function Ro(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=5?0:ht[Lt+1]<<8))>>>Dt&7}function Bo(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=3?0:ht[Lt+1]<<8))>>>Dt&31}function or(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=1?0:ht[Lt+1]<<8))>>>Dt&127}function Ol(ht,Wt,Dt){var Lt=7&Wt,Gt=Wt>>>3,jn=ht[Gt]>>>Lt;return Dt<8-Lt||(jn|=ht[Gt+1]<<8-Lt,Dt<16-Lt)||(jn|=ht[Gt+2]<<16-Lt,Dt<24-Lt)||(jn|=ht[Gt+3]<<24-Lt),jn&(1<>>3;return Lt<=5?ht[Gt]|=(7&Dt)<>8-Lt),Wt+3}function Sd(ht,Wt,Dt){return ht[Wt>>>3]|=Dt=(1&Dt)<<(7&Wt),Wt+1}function rh(ht,Wt,Dt){var Gt=Wt>>>3;return ht[Gt]|=255&(Dt<<=7&Wt),ht[Gt+1]=Dt>>>=8,Wt+8}function Qg(ht,Wt,Dt){var Gt=Wt>>>3;return ht[Gt]|=255&(Dt<<=7&Wt),ht[Gt+1]=255&(Dt>>>=8),ht[Gt+2]=Dt>>>8,Wt+16}function sh(ht,Wt){var Dt=ht.length,Lt=2*Dt>Wt?2*Dt:Wt+5,Gt=0;if(Dt>=Wt)return ht;if(ae){var $t=Ee(Lt);if(ht.copy)ht.copy($t);else for(;Gt>Lt-Bi,jn=(1<=0;--jn)Wt[si|jn<0;)Wn[Wn.l++]=si[zn++]}return Wn.l}(Wn,zn):function jn(si,Wn){for(var zn=0,$n=0,Bi=Zi?new Uint16Array(32768):[];$n0;)Wn[Wn.l++]=si[$n++];zn=8*Wn.l}else{zn=Fu(Wn,zn,+($n+Xi==si.length)+2);for(var Rr=0;Xi-- >0;){var qi=si[$n],ar=-1,$s=0;if((ar=Bi[Rr=32767&(Rr<<5^qi)])&&((ar|=-32768&$n)>$n&&(ar-=32768),ar<$n))for(;si[ar+$s]==si[$n+$s]&&$s<250;)++$s;if($s>2){(qi=Gt[$s])<=22?zn=rh(Wn,zn,Ii[qi+1]>>1)-1:(rh(Wn,zn,3),rh(Wn,zn+=5,Ii[qi-23]>>5),zn+=3);var Ll=qi<8?0:qi-4>>2;Ll>0&&(Qg(Wn,zn,$s-ui[qi]),zn+=Ll),zn=rh(Wn,zn,Ii[qi=Wt[$n-ar]]>>3),zn-=3;var ou=qi<4?0:qi-2>>1;ou>0&&(Qg(Wn,zn,$n-ar-ur[qi]),zn+=ou);for(var ac=0;ac<$s;++ac)Bi[Rr]=32767&$n,Rr=32767&(Rr<<5^si[$n]),++$n;Xi-=$s-1}else qi<=143?qi+=48:zn=Sd(Wn,zn,1),zn=rh(Wn,zn,Ii[qi]),Bi[Rr]=32767&$n,++$n}zn=rh(Wn,zn,0)-1}}return Wn.l=(zn+7)/8|0,Wn.l}(Wn,zn)}}();function Uo(ht){var Wt=Vn(50+Math.floor(1.1*ht.length)),Dt=lh(ht,Wt);return Wt.slice(0,Dt)}var Cc=Zi?new Uint16Array(32768):gu(32768),ud=Zi?new Uint16Array(32768):gu(32768),vc=Zi?new Uint16Array(128):gu(128),kd=1,TA=1;function B1(ht,Wt){var Dt=Bo(ht,Wt)+257,Lt=Bo(ht,Wt+=5)+1,Gt=function ja(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=4?0:ht[Lt+1]<<8))>>>Dt&15}(ht,Wt+=5)+4;Wt+=4;for(var $t=0,jn=Zi?new Uint8Array(19):gu(19),si=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Wn=1,zn=Zi?new Uint8Array(8):gu(8),$n=Zi?new Uint8Array(8):gu(8),Bi=jn.length,Xi=0;Xi>8-qi;for(var ar=(1<<7-qi)-1;ar>=0;--ar)vc[Rr|ar<>>=3){case 16:for($t=3+Ha(ht,Wt),Wt+=2,Rr=$s[$s.length-1];$t-- >0;)$s.push(Rr);break;case 17:for($t=3+Ro(ht,Wt),Wt+=3;$t-- >0;)$s.push(0);break;case 18:for($t=11+or(ht,Wt),Wt+=7;$t-- >0;)$s.push(0);break;default:$s.push(Rr),Wn>>0,si=0,Wn=0;!(1&Lt);)if(Lt=Ro(ht,Dt),Dt+=3,Lt>>>1)for(Lt>>1==1?(si=9,Wn=5):(Dt=B1(ht,Dt),si=kd,Wn=TA);;){!Wt&&jn<$t+32767&&(jn=(Gt=sh(Gt,$t+32767)).length);var $n=Ol(ht,Dt,si),Bi=Lt>>>1==1?ah[$n]:Cc[$n];if(Dt+=15&Bi,(Bi>>>=4)>>>8&255){if(256==Bi)break;var Xi=(Bi-=257)<8?0:Bi-4>>2;Xi>5&&(Xi=0);var Rr=$t+ui[Bi];Xi>0&&(Rr+=Ol(ht,Dt,Xi),Dt+=Xi),$n=Ol(ht,Dt,Wn),Dt+=15&(Bi=Lt>>>1==1?Sm[$n]:ud[$n]);var qi=(Bi>>>=4)<4?0:Bi-2>>1,ar=ur[Bi];for(qi>0&&(ar+=Ol(ht,Dt,qi),Dt+=qi),!Wt&&jn>>3]|ht[1+(Dt>>>3)]<<8;if(Dt+=32,zn>0)for(!Wt&&jn<$t+zn&&(jn=(Gt=sh(Gt,$t+zn)).length);zn-- >0;)Gt[$t++]=ht[Dt>>>3],Dt+=8}return Wt?[Gt,Dt+7>>>3]:[Gt.slice(0,$t),Dt+7>>>3]}(ht.slice(ht.l||0),Wt);return ht.l+=Lt[1],Lt[0]}function wA(ht,Wt){if(!ht)throw new Error(Wt);typeof console<"u"&&console.error(Wt)}function MA(ht,Wt){var Dt=ht;so(Dt,0);var $t={FileIndex:[],FullPaths:[]};rn($t,{root:Wt.root});for(var jn=Dt.length-4;(80!=Dt[jn]||75!=Dt[jn+1]||5!=Dt[jn+2]||6!=Dt[jn+3])&&jn>=0;)--jn;Dt.l=jn+4,Dt.l+=4;var si=Dt.read_shift(2);Dt.l+=6;var Wn=Dt.read_shift(4);for(Dt.l=Wn,jn=0;jn>>=5);Dt>>>=4,Lt.setMilliseconds(0),Lt.setFullYear(Dt+1980),Lt.setMonth($t-1),Lt.setDate(Gt);var jn=31&Wt,si=63&(Wt>>>=5);return Lt.setHours(Wt>>>=6),Lt.setMinutes(si),Lt.setSeconds(jn<<1),Lt}(ht);if(8257&$t)throw new Error("Unsupported ZIP encryption");ht.read_shift(4);for(var zn=ht.read_shift(4),$n=ht.read_shift(4),Bi=ht.read_shift(2),Xi=ht.read_shift(2),Rr="",qi=0;qi"u")throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function ss(e,s,r){if(typeof Ti<"u"&&Ti.writeFileSync)return r?Ti.writeFileSync(e,s,r):Ti.writeFileSync(e,s);if(typeof Deno<"u"){if(r&&"string"==typeof s)switch(r){case"utf8":s=new TextEncoder(r).encode(s);break;case"binary":s=gt(s);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,s)}var h="utf8"==r?Ji(s):s;if(typeof IE_SaveFile<"u")return IE_SaveFile(h,e);if(typeof Blob<"u"){var f=new Blob([Hr(h)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(f,e);if(typeof saveAs<"u")return saveAs(f,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var T=URL.createObjectURL(f);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(T)},6e4),chrome.downloads.download({url:T,filename:e,saveAs:!0});var D=document.createElement("a");if(null!=D.download)return D.download=e,D.href=T,document.body.appendChild(D),D.click(),document.body.removeChild(D),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(T)},6e4),T}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var B=File(e);return B.open("w"),B.encoding="binary",Array.isArray(s)&&(s=Ze(s)),B.write(s),B.close(),s}catch(ee){if(!ee.message||!ee.message.match(/onstruct/))throw ee}throw new Error("cannot save file "+e)}function Ki(e){for(var s=Object.keys(e),r=[],h=0;h0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):s<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==Ds.getFullYear()&&!isNaN(r.getFullYear())){var h=r.getFullYear();return e.indexOf(""+h)>-1||r.setFullYear(r.getFullYear()+100),r}var f=e.match(/\d+/g)||["2017","2","19","0","0","0"],T=new Date(+f[0],+f[1]-1,+f[2],+f[3]||0,+f[4]||0,+f[5]||0);return e.indexOf("Z")>-1&&(T=new Date(T.getTime()-60*T.getTimezoneOffset()*1e3)),T}function dt(e,s){if(ae&&Buffer.isBuffer(e)){if(s){if(255==e[0]&&254==e[1])return Ji(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Ji(function H(e){for(var s=[],r=0;r>1;++r)s[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return s.join("")}(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(s){if(255==e[0]&&254==e[1])return Ji(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Ji(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"\u20ac":"\x80","\u201a":"\x82",\u0192:"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87",\u02c6:"\x88","\u2030":"\x89",\u0160:"\x8a","\u2039":"\x8b",\u0152:"\x8c",\u017d:"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99",\u0161:"\x9a","\u203a":"\x9b",\u0153:"\x9c",\u017e:"\x9e",\u0178:"\x9f"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,function(T){return r[T]||T})}catch{}for(var h=[],f=0;f!=e.length;++f)h.push(String.fromCharCode(e[f]));return h.join("")}function Tt(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var s={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(s[r]=Tt(e[r]));return s}function un(e,s){for(var r="";r.length3&&-1==Ui.indexOf(D))return r}else if(D.match(/[a-z]/))return r;return h<0||h>8099?r:(f>0||T>1)&&101!=h?s:e.match(/[^-0-9:,\/\\]/)?r:s}function er(e,s,r){if(e.FullPaths){var h;if("string"==typeof r)return h=ae?oe(r):function pt(e){for(var s=[],r=0,h=e.length+250,f=ye(e.length+255),T=0;T>6&31,f[r++]=128|63&D;else if(D>=55296&&D<57344){D=64+(1023&D);var B=1023&e.charCodeAt(++T);f[r++]=240|D>>8&7,f[r++]=128|D>>2&63,f[r++]=128|B>>6&15|(3&D)<<4,f[r++]=128|63&B}else f[r++]=224|D>>12&15,f[r++]=128|D>>6&63,f[r++]=128|63&D;r>h&&(s.push(f.slice(0,r)),r=0,f=ye(65535),h=65530)}return s.push(f.slice(0,r)),Qe(s)}(r),nn.utils.cfb_add(e,s,h);nn.utils.cfb_add(e,s,r)}else e.file(s,r)}function Cr(){return nn.utils.cfb_new()}var ds='\r\n',$r=jr({""":'"',"'":"'",">":">","<":"<","&":"&"}),Ho=/[&<>'"]/g,no=/[\u0000-\u0008\u000b-\u001f]/g;function Vr(e){return(e+"").replace(Ho,function(r){return $r[r]}).replace(no,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function os(e){return Vr(e).replace(/ /g,"_x0020_")}var $o=/[\u0000-\u001f]/g;function Ko(e){return(e+"").replace(Ho,function(r){return $r[r]}).replace(/\n/g,"
").replace($o,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function gr(e){for(var s="",r=0,h=0,f=0,T=0,D=0,B=0;r191&&h<224?(D=(31&h)<<6,D|=63&f,s+=String.fromCharCode(D)):(T=e.charCodeAt(r++),h<240?s+=String.fromCharCode((15&h)<<12|(63&f)<<6|63&T):(B=((7&h)<<18|(63&f)<<12|(63&T)<<6|63&(D=e.charCodeAt(r++)))-65536,s+=String.fromCharCode(55296+(B>>>10&1023)),s+=String.fromCharCode(56320+(1023&B)))));return s}function Us(e){var r,h,B,s=ye(2*e.length),f=1,T=0,D=0;for(h=0;h>>10&1023),r=56320+(1023&r)),0!==D&&(s[T++]=255&D,s[T++]=D>>>8,D=0),s[T++]=r%256,s[T++]=r>>>8;return s.slice(0,T).toString("ucs2")}function Rs(e){return oe(e,"binary").toString("utf8")}var Mr="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",Zr=ae&&(Rs(Mr)==gr(Mr)&&Rs||Us(Mr)==gr(Mr)&&Us)||gr,Ji=ae?function(e){return oe(e,"utf8").toString("binary")}:function(e){for(var s=[],r=0,h=0,f=0;r>6))),s.push(String.fromCharCode(128+(63&h)));break;case h>=55296&&h<57344:h-=55296,f=e.charCodeAt(r++)-56320+(h<<10),s.push(String.fromCharCode(240+(f>>18&7))),s.push(String.fromCharCode(144+(f>>12&63))),s.push(String.fromCharCode(128+(f>>6&63))),s.push(String.fromCharCode(128+(63&f)));break;default:s.push(String.fromCharCode(224+(h>>12))),s.push(String.fromCharCode(128+(h>>6&63))),s.push(String.fromCharCode(128+(63&h)))}return s.join("")},Oo=function(){var e=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(s){return[new RegExp("&"+s[0]+";","ig"),s[1]]});return function(r){for(var h=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),f=0;f"+s+""}function io(e){return Ki(e).map(function(s){return" "+s+'="'+e[s]+'"'}).join("")}function Ci(e,s,r){return"<"+e+(null!=r?io(r):"")+(null!=s?(s.match(Kl)?' xml:space="preserve"':"")+">"+s+""}function Pl(e,s){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(s)throw r}return""}var Lr={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Qs=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Hs={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"},jo=function(e){for(var s=[],h=0;h0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(s){return Buffer.isBuffer(s)?s:oe(s)})):jo(e)}:jo,nl=function(e,s,r){for(var h=[],f=s;f0?yl(e,s+4,s+4+r-1):""},il=Bc,As=function(e,s){var r=Ts(e,s);return r>0?yl(e,s+4,s+4+r-1):""},_l=As,ya=function(e,s){var r=2*Ts(e,s);return r>0?yl(e,s+4,s+4+r-1):""},Ne=ya,ze=function(s,r){var h=Ts(s,r);return h>0?ia(s,r+4,r+4+h):""},Ce=ze,ut=function(e,s){var r=Ts(e,s);return r>0?yl(e,s+4,s+4+r):""},Zt=ut,Yi=function(e,s){return function Da(e,s){for(var r=1-2*(e[s+7]>>>7),h=((127&e[s+7])<<4)+(e[s+6]>>>4&15),f=15&e[s+6],T=5;T>=0;--T)f=256*f+e[s+T];return 2047==h?0==f?r*(1/0):NaN:(0==h?h=-1022:(h-=1023,f+=Math.pow(2,52)),r*Math.pow(2,h-52)*f)}(e,s)},lr=Yi,ro=function(s){return Array.isArray(s)||typeof Uint8Array<"u"&&s instanceof Uint8Array};ae&&(il=function(s,r){if(!Buffer.isBuffer(s))return Bc(s,r);var h=s.readUInt32LE(r);return h>0?s.toString("utf8",r+4,r+4+h-1):""},_l=function(s,r){if(!Buffer.isBuffer(s))return As(s,r);var h=s.readUInt32LE(r);return h>0?s.toString("utf8",r+4,r+4+h-1):""},Ne=function(s,r){if(!Buffer.isBuffer(s))return ya(s,r);var h=2*s.readUInt32LE(r);return s.toString("utf16le",r+4,r+4+h-1)},Ce=function(s,r){if(!Buffer.isBuffer(s))return ze(s,r);var h=s.readUInt32LE(r);return s.toString("utf16le",r+4,r+4+h)},Zt=function(s,r){if(!Buffer.isBuffer(s))return ut(s,r);var h=s.readUInt32LE(r);return s.toString("utf8",r+4,r+4+h)},lr=function(s,r){return Buffer.isBuffer(s)?s.readDoubleLE(r):Yi(s,r)},ro=function(s){return Buffer.isBuffer(s)||Array.isArray(s)||typeof Uint8Array<"u"&&s instanceof Uint8Array}),typeof me<"u"&&function Xs(){ia=function(e,s,r){return me.utils.decode(1200,e.slice(s,r)).replace(Nt,"")},yl=function(e,s,r){return me.utils.decode(65001,e.slice(s,r))},il=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(A,e.slice(s+4,s+4+r-1)):""},_l=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(t,e.slice(s+4,s+4+r-1)):""},Ne=function(e,s){var r=2*Ts(e,s);return r>0?me.utils.decode(1200,e.slice(s+4,s+4+r-1)):""},Ce=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(1200,e.slice(s+4,s+4+r)):""},Zt=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(65001,e.slice(s+4,s+4+r)):""}}();var Jo=function(e,s){return e[s]},Qo=function(e,s){return 256*e[s+1]+e[s]},ga=function(e,s){var r=256*e[s+1]+e[s];return r<32768?r:-1*(65535-r+1)},Ts=function(e,s){return e[s+3]*(1<<24)+(e[s+2]<<16)+(e[s+1]<<8)+e[s]},rl=function(e,s){return e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s]},kc=function(e,s){return e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]};function Cs(e,s){var h,f,D,B,ee,se,r="",T=[];switch(s){case"dbcs":if(se=this.l,ae&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(ee=0;ee0?rl:kc)(this,this.l),this.l+=4,h);case 8:case-8:if("f"===s)return f=8==e?lr(this,this.l):lr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,f;e=8;case 16:r=ka(this,this.l,e)}}return this.l+=e,r}var Rl=function(e,s,r){e[r]=255&s,e[r+1]=s>>>8&255,e[r+2]=s>>>16&255,e[r+3]=s>>>24&255},pa=function(e,s,r){e[r]=255&s,e[r+1]=s>>8&255,e[r+2]=s>>16&255,e[r+3]=s>>24&255},ba=function(e,s,r){e[r]=255&s,e[r+1]=s>>>8&255};function Jl(e,s,r){var h=0,f=0;if("dbcs"===r){for(f=0;f!=s.length;++f)ba(this,s.charCodeAt(f),this.l+2*f);h=2*s.length}else if("sbcs"===r){if(typeof me<"u"&&874==A)for(f=0;f!=s.length;++f){var T=me.utils.encode(A,s.charAt(f));this[this.l+f]=T[0]}else for(s=s.replace(/[^\x00-\x7F]/g,"_"),f=0;f!=s.length;++f)this[this.l+f]=255&s.charCodeAt(f);h=s.length}else{if("hex"===r){for(;f>8}for(;this.l>>=8);break;case 3:h=3,this[this.l]=255&s,this[this.l+1]=255&(s>>>=8),this[this.l+2]=255&(s>>>=8);break;case 4:h=4,Rl(this,s,this.l);break;case 8:if(h=8,"f"===r){!function Za(e,s,r){var h=(s<0||1/s==-1/0?1:0)<<7,f=0,T=0,D=h?-s:s;isFinite(D)?0==D?f=T=0:(f=Math.floor(Math.log(D)/Math.LN2),T=D*Math.pow(2,52-f),f<=-1023&&(!isFinite(T)||T>4|h}(this,s,this.l);break}case 16:break;case-4:h=4,pa(this,s,this.l)}}return this.l+=h,this}function Fa(e,s){var r=ka(this,this.l,e.length>>1);if(r!==e)throw new Error(s+"Expected "+e+" saw "+r);this.l+=e.length>>1}function so(e,s){e.l=s,e.read_shift=Cs,e.chk=Fa,e.write_shift=Jl}function Vs(e,s){e.l+=s}function Vn(e){var s=ye(e);return so(s,0),s}function ra(){var e=[],s=ae?256:2048,r=function(se){var de=Vn(se);return so(de,0),de},h=r(s),f=function(){h&&(h.length>h.l&&((h=h.slice(0,h.l)).l=h.length),h.length>0&&e.push(h),h=null)},T=function(se){return h&&se=128?1:0)+1,h>=128&&++T,h>=16384&&++T,h>=2097152&&++T;var D=e.next(T);f<=127?D.write_shift(1,f):(D.write_shift(1,128+(127&f)),D.write_shift(1,f>>7));for(var B=0;4!=B;++B){if(!(h>=128)){D.write_shift(1,h);break}D.write_shift(1,128+(127&h)),h>>=7}h>0&&ro(r)&&e.push(r)}}function Nl(e,s,r){var h=Tt(e);if(s.s?(h.cRel&&(h.c+=s.s.c),h.rRel&&(h.r+=s.s.r)):(h.cRel&&(h.c+=s.c),h.rRel&&(h.r+=s.r)),!r||r.biff<12){for(;h.c>=256;)h.c-=256;for(;h.r>=65536;)h.r-=65536}return h}function Oc(e,s,r){var h=Tt(e);return h.s=Nl(h.s,s.s,r),h.e=Nl(h.e,s.s,r),h}function sl(e,s){if(e.cRel&&e.c<0)for(e=Tt(e);e.c<0;)e.c+=s>8?16384:256;if(e.rRel&&e.r<0)for(e=Tt(e);e.r<0;)e.r+=s>8?1048576:s>5?65536:16384;var r=hr(e);return!e.cRel&&null!=e.cRel&&(r=function vl(e){return e.replace(/^([A-Z])/,"$$$1")}(r)),!e.rRel&&null!=e.rRel&&(r=function Lc(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function bl(e,s){return 0!=e.s.r||e.s.rRel||e.e.r!=(s.biff>=12?1048575:s.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(s.biff>=12?16383:255)||e.e.cRel?sl(e.s,s.biff)+":"+sl(e.e,s.biff):(e.s.rRel?"":"$")+Ao(e.s.r)+":"+(e.e.rRel?"":"$")+Ao(e.e.r):(e.s.cRel?"":"$")+hs(e.s.c)+":"+(e.e.cRel?"":"$")+hs(e.e.c)}function Cl(e){return parseInt(function ol(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function Ao(e){return""+(e+1)}function Xo(e){for(var s=function al(e){return e.replace(/^\$([A-Z])/,"$1")}(e),r=0,h=0;h!==s.length;++h)r=26*r+s.charCodeAt(h)-64;return r-1}function hs(e){if(e<0)throw new Error("invalid column "+e);var s="";for(++e;e;e=Math.floor((e-1)/26))s=String.fromCharCode((e-1)%26+65)+s;return s}function Io(e){for(var s=0,r=0,h=0;h=48&&f<=57?s=10*s+(f-48):f>=65&&f<=90&&(r=26*r+(f-64))}return{c:r-1,r:s-1}}function hr(e){for(var s=e.c+1,r="";s;s=(s-1)/26|0)r=String.fromCharCode((s-1)%26+65)+r;return r+(e.r+1)}function zo(e){var s=e.indexOf(":");return-1==s?{s:Io(e),e:Io(e)}:{s:Io(e.slice(0,s)),e:Io(e.slice(s+1))}}function Wr(e,s){return typeof s>"u"||"number"==typeof s?Wr(e.s,e.e):("string"!=typeof e&&(e=hr(e)),"string"!=typeof s&&(s=hr(s)),e==s?e:e+":"+s)}function is(e){var s={s:{c:0,r:0},e:{c:0,r:0}},r=0,h=0,f=0,T=e.length;for(r=0;h26);++h)r=26*r+f;for(s.s.c=--r,r=0;h9);++h)r=10*r+f;if(s.s.r=--r,h===T||10!=f)return s.e.c=s.s.c,s.e.r=s.s.r,s;for(++h,r=0;h!=T&&!((f=e.charCodeAt(h)-64)<1||f>26);++h)r=26*r+f;for(s.e.c=--r,r=0;h!=T&&!((f=e.charCodeAt(h)-48)<0||f>9);++h)r=10*r+f;return s.e.r=--r,s}function re(e,s,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Ea[e.v]||e.v:function Ql(e,s){var r="d"==e.t&&s instanceof Date;if(null!=e.z)try{return e.w=Xe(e.z,r?Nr(s):s)}catch{}try{return e.w=Xe((e.XF||{}).numFmtId||(r?14:0),r?Nr(s):s)}catch{return""+s}}(e,null==s?e.v:s))}function qe(e,s){var r=s&&s.sheet?s.sheet:"Sheet1",h={};return h[r]=e,{SheetNames:[r],Sheets:h}}function Te(e,s,r){var h=r||{},f=e?Array.isArray(e):h.dense;null!=Se&&null==f&&(f=Se);var T=e||(f?[]:{}),D=0,B=0;if(T&&null!=h.origin){if("number"==typeof h.origin)D=h.origin;else{var ee="string"==typeof h.origin?Io(h.origin):h.origin;D=ee.r,B=ee.c}T["!ref"]||(T["!ref"]="A1:A1")}var se={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(T["!ref"]){var de=is(T["!ref"]);se.s.c=de.s.c,se.s.r=de.s.r,se.e.c=Math.max(se.e.c,de.e.c),se.e.r=Math.max(se.e.r,de.e.r),-1==D&&(se.e.r=D=de.e.r+1)}for(var Fe=0;Fe!=s.length;++Fe)if(s[Fe]){if(!Array.isArray(s[Fe]))throw new Error("aoa_to_sheet expects an array of arrays");for(var Be=0;Be!=s[Fe].length;++Be)if(!(typeof s[Fe][Be]>"u")){var $e={v:s[Fe][Be]},rt=D+Fe,Re=B+Be;if(se.s.r>rt&&(se.s.r=rt),se.s.c>Re&&(se.s.c=Re),se.e.r0&&s.write_shift(0,e,"dbcs"),r?s.slice(0,s.l):s}function ps(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function ls(e,s){var r=e.l,h=e.read_shift(1),f=Hn(e),T=[],D={t:f,h:f};if(1&h){for(var B=e.read_shift(4),ee=0;ee!=B;++ee)T.push(ps(e));D.r=T}else D.r=[{ich:0,ifnt:0}];return e.l=r+s,D}var Ws=ls;function rs(e){var s=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:s,iStyleRef:r}}function ea(e,s){return null==s&&(s=Vn(8)),s.write_shift(-4,e.c),s.write_shift(3,e.iStyleRef||e.s),s.write_shift(1,0),s}function Zs(e){var s=e.read_shift(2);return s+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:s}}function xa(e,s){return null==s&&(s=Vn(4)),s.write_shift(3,e.iStyleRef||e.s),s.write_shift(1,0),s}var Ya=Hn,$a=Si;function fo(e){var s=e.read_shift(4);return 0===s||4294967295===s?"":e.read_shift(s,"dbcs")}function za(e,s){var r=!1;return null==s&&(r=!0,s=Vn(127)),s.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&s.write_shift(0,e,"dbcs"),r?s.slice(0,s.l):s}var Uc=Hn,Es=fo,Vl=za;function Ka(e){var s=e.slice(e.l,e.l+4),r=1&s[0],h=2&s[0];e.l+=4;var f=0===h?lr([0,0,0,0,252&s[0],s[1],s[2],s[3]],0):rl(s,0)>>2;return r?f/100:f}function go(e,s){null==s&&(s=Vn(4));var r=0,h=0,f=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?h=1:f==(0|f)&&f>=-(1<<29)&&f<1<<29&&(h=1,r=1),!h)throw new Error("unsupported RkNumber "+e);s.write_shift(-4,((r?f:e)<<2)+(r+2))}function Fl(e){var s={s:{},e:{}};return s.s.r=e.read_shift(4),s.e.r=e.read_shift(4),s.s.c=e.read_shift(4),s.e.c=e.read_shift(4),s}var po=Fl,yo=function Ba(e,s){return s||(s=Vn(16)),s.write_shift(4,e.s.r),s.write_shift(4,e.e.r),s.write_shift(4,e.s.c),s.write_shift(4,e.e.c),s};function ma(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function xl(e,s){return(s||Vn(8)).write_shift(8,e,"f")}function _a(e,s){if(s||(s=Vn(8)),!e||e.auto)return s.write_shift(4,0),s.write_shift(4,0),s;null!=e.index?(s.write_shift(1,2),s.write_shift(1,e.index)):null!=e.theme?(s.write_shift(1,6),s.write_shift(1,e.theme)):(s.write_shift(1,5),s.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),s.write_shift(2,r),e.rgb&&null==e.theme){var h=e.rgb||"FFFFFF";"number"==typeof h&&(h=("000000"+h.toString(16)).slice(-6)),s.write_shift(1,parseInt(h.slice(0,2),16)),s.write_shift(1,parseInt(h.slice(2,4),16)),s.write_shift(1,parseInt(h.slice(4,6),16)),s.write_shift(1,255)}else s.write_shift(2,0),s.write_shift(1,0),s.write_shift(1,0);return s}var es={1:{n:"CodePage",t:2},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Ic={1:{n:"CodePage",t:2},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function Rc(e){return e.map(function(s){return[s>>16&255,s>>8&255,255&s]})}var Oa=Tt(Rc([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Ea={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},jc={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Nc={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Qa(e,s){var f,r=function Co(e){for(var s=[],r=Ki(e),h=0;h!==r.length;++h)null==s[e[r[h]]]&&(s[e[r[h]]]=[]),s[e[r[h]]].push(r[h]);return s}(jc),h=[];h[h.length]=ds,h[h.length]=Ci("Types",null,{xmlns:Lr.CT,"xmlns:xsd":Lr.xsd,"xmlns:xsi":Lr.xsi}),h=h.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(ee){return Ci("Default",null,{Extension:ee[0],ContentType:ee[1]})}));var T=function(ee){e[ee]&&e[ee].length>0&&(h[h.length]=Ci("Override",null,{PartName:("/"==(f=e[ee][0])[0]?"":"/")+f,ContentType:Nc[ee][s.bookType]||Nc[ee].xlsx}))},D=function(ee){(e[ee]||[]).forEach(function(se){h[h.length]=Ci("Override",null,{PartName:("/"==se[0]?"":"/")+se,ContentType:Nc[ee][s.bookType]||Nc[ee].xlsx})})},B=function(ee){(e[ee]||[]).forEach(function(se){h[h.length]=Ci("Override",null,{PartName:("/"==se[0]?"":"/")+se,ContentType:r[ee][0]})})};return T("workbooks"),D("sheets"),D("charts"),B("themes"),["strs","styles"].forEach(T),["coreprops","extprops","custprops"].forEach(B),B("vba"),B("comments"),B("threadedcomments"),B("drawings"),D("metadata"),B("people"),h.length>2&&(h[h.length]="",h[1]=h[1].replace("/>",">")),h.join("")}var Kr={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function oo(e){var s=e.lastIndexOf("/");return e.slice(0,s+1)+"_rels/"+e.slice(s+1)+".rels"}function dc(e){var s=[ds,Ci("Relationships",null,{xmlns:Lr.RELS})];return Ki(e["!id"]).forEach(function(r){s[s.length]=Ci("Relationship",null,e["!id"][r])}),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function he(e,s,r,h,f,T){if(f||(f={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),s<0)for(s=e["!idx"];e["!id"]["rId"+s];++s);if(e["!idx"]=s+1,f.Id="rId"+s,f.Type=h,f.Target=r,T?f.TargetMode=T:[Kr.HLINK,Kr.XPATH,Kr.XMISS].indexOf(f.Type)>-1&&(f.TargetMode="External"),e["!id"][f.Id])throw new Error("Cannot rewrite rId "+s);return e["!id"][f.Id]=f,e[("/"+f.Target).replace("//","/")]=f,s}function je(e,s,r){return[' \n',' \n'," \n"].join("")}function E(e,s){return[' \n',' \n'," \n"].join("")}function M(){return'SheetJS '+i.version+""}var W=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function et(e,s,r,h,f){null!=f[e]||null==s||""===s||(f[e]=s,s=Vr(s),h[h.length]=r?Ci(e,s,r):vo(e,s))}function q(e,s){var r=s||{},h=[ds,Ci("cp:coreProperties",null,{"xmlns:cp":Lr.CORE_PROPS,"xmlns:dc":Lr.dc,"xmlns:dcterms":Lr.dcterms,"xmlns:dcmitype":Lr.dcmitype,"xmlns:xsi":Lr.xsi})],f={};if(!e&&!r.Props)return h.join("");e&&(null!=e.CreatedDate&&et("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:Pl(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},h,f),null!=e.ModifiedDate&&et("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:Pl(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},h,f));for(var T=0;T!=W.length;++T){var D=W[T],B=r.Props&&null!=r.Props[D[1]]?r.Props[D[1]]:e?e[D[1]]:null;!0===B?B="1":!1===B?B="0":"number"==typeof B&&(B=String(B)),null!=B&&et(D[0],B,null,h,f)}return h.length>2&&(h[h.length]="",h[1]=h[1].replace("/>",">")),h.join("")}var U=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],Y=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Ve(e){var s=[],r=Ci;return e||(e={}),e.Application="SheetJS",s[s.length]=ds,s[s.length]=Ci("Properties",null,{xmlns:Lr.EXT_PROPS,"xmlns:vt":Lr.vt}),U.forEach(function(h){if(void 0!==e[h[1]]){var f;switch(h[2]){case"string":f=Vr(String(e[h[1]]));break;case"bool":f=e[h[1]]?"true":"false"}void 0!==f&&(s[s.length]=r(h[0],f))}}),s[s.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),s[s.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(h){return""+Vr(h)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function Xt(e){var s=[ds,Ci("Properties",null,{xmlns:Lr.CUST_PROPS,"xmlns:vt":Lr.vt})];if(!e)return s.join("");var r=1;return Ki(e).forEach(function(f){++r,s[s.length]=Ci("property",function tl(e,s){switch(typeof e){case"string":var r=Ci("vt:lpwstr",Vr(e));return s&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return Ci((0|e)==e?"vt:i4":"vt:r8",Vr(String(e)));case"boolean":return Ci("vt:bool",e?"true":"false")}if(e instanceof Date)return Ci("vt:filetime",Pl(e));throw new Error("Unable to serialize "+e)}(e[f],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Vr(f)})}),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}var Cn={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function _o(e,s){var r=Vn(4),h=Vn(4);switch(r.write_shift(4,80==e?31:e),e){case 3:h.write_shift(-4,s);break;case 5:(h=Vn(8)).write_shift(8,s,"f");break;case 11:h.write_shift(4,s?1:0);break;case 64:h=function wi(e){var r=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,h=r%Math.pow(2,32),f=(r-h)/Math.pow(2,32);f*=1e7;var T=(h*=1e7)/Math.pow(2,32)|0;T>0&&(h%=Math.pow(2,32),f+=T);var D=Vn(8);return D.write_shift(4,h),D.write_shift(4,f),D}(s);break;case 31:case 80:for((h=Vn(4+2*(s.length+1)+(s.length%2?0:2))).write_shift(4,s.length+1),h.write_shift(0,s,"dbcs");h.l!=h.length;)h.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+s)}return Qe([r,h])}var ll=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function tr(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Ir(e,s,r){var h=Vn(8),f=[],T=[],D=8,B=0,ee=Vn(8),se=Vn(8);if(ee.write_shift(4,2),ee.write_shift(4,1200),se.write_shift(4,1),T.push(ee),f.push(se),D+=8+ee.length,!s){(se=Vn(8)).write_shift(4,0),f.unshift(se);var de=[Vn(4)];for(de[0].write_shift(4,e.length),B=0;B-1||Y.indexOf(e[B][0])>-1)&&null!=e[B][1]){var Be=e[B][1],$e=0;if(s){var rt=r[$e=+s[e[B][0]]];if("version"==rt.p&&"string"==typeof Be){var Re=Be.split(".");Be=(+Re[0]<<16)+(+Re[1]||0)}ee=_o(rt.t,Be)}else{var at=tr(Be);-1==at&&(at=31,Be=String(Be)),ee=_o(at,Be)}T.push(ee),(se=Vn(8)).write_shift(4,s?$e:2+B),f.push(se),D+=8+ee.length}var zt=8*(T.length+1);for(B=0;B=12?2:1),f="sbcs-cont",T=t;r&&r.biff>=8&&(t=1200),r&&8!=r.biff?12==r.biff&&(f="wstr"):e.read_shift(1)&&(f="dbcs-cont"),r.biff>=2&&r.biff<=5&&(f="cpstr");var B=h?e.read_shift(h,f):"";return t=T,B}function yc(e){var s=e.t||"",h=Vn(3);h.write_shift(2,s.length),h.write_shift(1,1);var f=Vn(2*s.length);return f.write_shift(2*s.length,s,"utf16le"),Qe([h,f])}function Ie(e,s,r){return r||(r=Vn(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Pr(e,s){s||(s=Vn(6+2*e.length)),s.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(h.charAt(0)){case"#":T=28;break;case".":T&=-3}s.write_shift(4,2),s.write_shift(4,T);var D=[8,6815827,6619237,4849780,83];for(r=0;r-1?h.slice(0,f):h;for(s.write_shift(4,2*(B.length+1)),r=0;r-1?h.slice(f+1):"",s)}else{for(D="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2;return[e.read_shift(h),e.read_shift(h,"i"),e.read_shift(h,"i")]}function dd(e){var s=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(2),r:s},e:{c:e.read_shift(2),r}}}function Uu(e,s){return s||(s=Vn(8)),s.write_shift(2,e.s.r),s.write_shift(2,e.e.r),s.write_shift(2,e.s.c),s.write_shift(2,e.e.c),s}function Vf(e,s,r){var h=1536,f=16;switch(r.bookType){case"biff8":case"xla":break;case"biff5":h=1280,f=8;break;case"biff4":h=4,f=6;break;case"biff3":h=3,f=6;break;case"biff2":h=2,f=4;break;default:throw new Error("unsupported BIFF version")}var T=Vn(f);return T.write_shift(2,h),T.write_shift(2,s),f>4&&T.write_shift(2,29282),f>6&&T.write_shift(2,1997),f>8&&(T.write_shift(2,49161),T.write_shift(2,1),T.write_shift(2,1798),T.write_shift(2,0)),T}function Gf(e,s){var r=!s||s.biff>=8?2:1,h=Vn(8+r*e.name.length);h.write_shift(4,e.pos),h.write_shift(1,e.hs||0),h.write_shift(1,e.dt),h.write_shift(1,e.name.length),s.biff>=8&&h.write_shift(1,1),h.write_shift(r*e.name.length,e.name,s.biff<8?"sbcs":"utf16le");var f=h.slice(0,h.l);return f.l=h.l,f}function tf(e,s,r,h){var f=r&&5==r.biff;h||(h=Vn(f?3+s.length:5+2*s.length)),h.write_shift(2,e),h.write_shift(f?1:2,s.length),f||h.write_shift(1,1),h.write_shift((f?1:2)*s.length,s,f?"sbcs":"utf16le");var T=h.length>h.l?h.slice(0,h.l):h;return null==T.l&&(T.l=T.length),T}function fh(e,s,r,h){var f=r&&5==r.biff;h||(h=Vn(f?16:20)),h.write_shift(2,0),e.style?(h.write_shift(2,e.numFmtId||0),h.write_shift(2,65524)):(h.write_shift(2,e.numFmtId||0),h.write_shift(2,s<<4));var T=0;return e.numFmtId>0&&f&&(T|=1024),h.write_shift(4,T),h.write_shift(4,0),f||h.write_shift(4,0),h.write_shift(2,0),h}function cp(e){var s=Vn(24),r=Io(e[0]);s.write_shift(2,r.r),s.write_shift(2,r.r),s.write_shift(2,r.c),s.write_shift(2,r.c);for(var h="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),f=0;f<16;++f)s.write_shift(1,parseInt(h[f],16));return Qe([s,Sl(e[1])])}function cf(e){var s=e[1].Tooltip,r=Vn(10+2*(s.length+1));r.write_shift(2,2048);var h=Io(e[0]);r.write_shift(2,h.r),r.write_shift(2,h.r),r.write_shift(2,h.c),r.write_shift(2,h.c);for(var f=0;f1048576&&(Re=1e6),2!=Fe&&(at=de.read_shift(2));var zt=de.read_shift(2),Vt=ee.codepage||1252;2!=Fe&&(de.l+=16,de.read_shift(1),0!==de[de.l]&&(Vt=e[de[de.l]]),de.l+=1,de.l+=2),rt&&(de.l+=36);for(var kt=[],wn={},Un=Math.min(de.length,2==Fe?521:at-10-($e?264:0)),ei=rt?32:11;de.l0;)if(42!==de[de.l])for(++de.l,se[++rn]=[],Nn=0,Nn=0;Nn!=kt.length;++Nn){var Sn=de.slice(de.l,de.l+kt[Nn].len);de.l+=kt[Nn].len,so(Sn,0);var ti=me.utils.decode(Vt,Sn);switch(kt[Nn].type){case"C":ti.trim().length&&(se[rn][Nn]=ti.replace(/\s+$/,""));break;case"D":se[rn][Nn]=8===ti.length?new Date(+ti.slice(0,4),+ti.slice(4,6)-1,+ti.slice(6,8)):ti;break;case"F":se[rn][Nn]=parseFloat(ti.trim());break;case"+":case"I":se[rn][Nn]=rt?2147483648^Sn.read_shift(-4,"i"):Sn.read_shift(4,"i");break;case"L":switch(ti.trim().toUpperCase()){case"Y":case"T":se[rn][Nn]=!0;break;case"N":case"F":se[rn][Nn]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+ti+"|")}break;case"M":if(!Be)throw new Error("DBF Unexpected MEMO for type "+Fe.toString(16));se[rn][Nn]="##MEMO##"+(rt?parseInt(ti.trim(),10):Sn.read_shift(4));break;case"N":(ti=ti.replace(/\u0000/g,"").trim())&&"."!=ti&&(se[rn][Nn]=+ti||0);break;case"@":se[rn][Nn]=new Date(Sn.read_shift(-8,"f")-621356832e5);break;case"T":se[rn][Nn]=new Date(864e5*(Sn.read_shift(4)-2440588)+Sn.read_shift(4));break;case"Y":se[rn][Nn]=Sn.read_shift(4,"i")/1e4+Sn.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":se[rn][Nn]=-Sn.read_shift(-8,"f");break;case"B":if($e&&8==kt[Nn].len){se[rn][Nn]=Sn.read_shift(8,"f");break}case"G":case"P":Sn.l+=kt[Nn].len;break;case"0":if("_NullFlags"===kt[Nn].name)break;default:throw new Error("DBF Unsupported data type "+kt[Nn].type)}}else de.l+=zt;if(2!=Fe&&de.l=0&&F(+se.codepage),"string"==se.type)throw new Error("Cannot write DBF to JS string");var de=ra(),Fe=wm(B,{header:1,raw:!0,cellDates:!0}),Be=Fe[0],$e=Fe.slice(1),rt=B["!cols"]||[],Re=0,at=0,zt=0,Vt=1;for(Re=0;Re250&&(Sn=250),"C"==(Nn=((rt[Re]||{}).DBF||{}).type)&&rt[Re].DBF.len>Sn&&(Sn=rt[Re].DBF.len),"B"==rn&&"N"==Nn&&(rn="N",ei[Re]=rt[Re].DBF.dec,Sn=rt[Re].DBF.len),Un[Re]="C"==rn||"N"==Nn?Sn:T[rn]||0,Vt+=Un[Re],wn[Re]=rn}else wn[Re]="?"}var ri=de.next(32);for(ri.write_shift(4,318902576),ri.write_shift(4,$e.length),ri.write_shift(2,296+32*zt),ri.write_shift(2,Vt),Re=0;Re<4;++Re)ri.write_shift(4,0);for(ri.write_shift(4,0|(+s[A]||3)<<8),Re=0,at=0;Re":190,"?":191,"{":223},s=new RegExp("\x1bN("+Ki(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(Be,$e){var rt=e[$e];return"number"==typeof rt?X(rt):rt},h=function(Be,$e,rt){var Re=$e.charCodeAt(0)-32<<4|rt.charCodeAt(0)-48;return 59==Re?Be:X(Re)};function T(Be,$e){var ri,rt=Be.split(/[\n\r]+/),Re=-1,at=-1,zt=0,Vt=0,kt=[],wn=[],Un=null,ei={},rn=[],Nn=[],Sn=[],ti=0;for(+$e.codepage>=0&&F(+$e.codepage);zt!==rt.length;++zt){ti=0;var Qi,kn=rt[zt].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,h).replace(s,r),$i=kn.replace(/;;/g,"\0").split(";").map(function(pn){return pn.replace(/\u0000/g,";")});if(kn.length>0)switch($i[0]){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==$i[1].charAt(0)&&wn.push(kn.slice(3).replace(/;;/g,";"));break;case"C":var Br=!1,Gr=!1,Po=!1,pr=!1,ws=-1,bi=-1;for(Vt=1;Vt<$i.length;++Vt)switch($i[Vt].charAt(0)){case"A":case"G":break;case"X":at=parseInt($i[Vt].slice(1))-1,Gr=!0;break;case"Y":for(Re=parseInt($i[Vt].slice(1))-1,Gr||(at=0),ri=kt.length;ri<=Re;++ri)kt[ri]=[];break;case"K":'"'===(Qi=$i[Vt].slice(1)).charAt(0)?Qi=Qi.slice(1,Qi.length-1):"TRUE"===Qi?Qi=!0:"FALSE"===Qi?Qi=!1:isNaN(Yn(Qi))?isNaN(Gi(Qi).getDate())||(Qi=En(Qi)):(Qi=Yn(Qi),null!==Un&&mi(Un)&&(Qi=wo(Qi))),typeof me<"u"&&"string"==typeof Qi&&"string"!=($e||{}).type&&($e||{}).codepage&&(Qi=me.utils.decode($e.codepage,Qi)),Br=!0;break;case"E":pr=!0;var tn=td($i[Vt].slice(1),{r:Re,c:at});kt[Re][at]=[kt[Re][at],tn];break;case"S":Po=!0,kt[Re][at]=[kt[Re][at],"S5S"];break;case"R":ws=parseInt($i[Vt].slice(1))-1;break;case"C":bi=parseInt($i[Vt].slice(1))-1;break;default:if($e&&$e.WTF)throw new Error("SYLK bad record "+kn)}if(Br&&(kt[Re][at]&&2==kt[Re][at].length?kt[Re][at][0]=Qi:kt[Re][at]=Qi,Un=null),Po){if(pr)throw new Error("SYLK shared formula cannot have own formula");var Zn=ws>-1&&kt[ws][bi];if(!Zn||!Zn[1])throw new Error("SYLK shared formula cannot find base");kt[Re][at][1]=ku(Zn[1],{r:Re-ws,c:at-bi})}break;case"F":var _n=0;for(Vt=1;Vt<$i.length;++Vt)switch($i[Vt].charAt(0)){case"X":at=parseInt($i[Vt].slice(1))-1,++_n;break;case"Y":for(Re=parseInt($i[Vt].slice(1))-1,ri=kt.length;ri<=Re;++ri)kt[ri]=[];break;case"M":ti=parseInt($i[Vt].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":Un=wn[parseInt($i[Vt].slice(1))];break;case"W":for(Sn=$i[Vt].slice(1).split(" "),ri=parseInt(Sn[0],10);ri<=parseInt(Sn[1],10);++ri)ti=parseInt(Sn[2],10),Nn[ri-1]=0===ti?{hidden:!0}:{wch:ti},Wc(Nn[ri-1]);break;case"C":Nn[at=parseInt($i[Vt].slice(1))-1]||(Nn[at]={});break;case"R":rn[Re=parseInt($i[Vt].slice(1))-1]||(rn[Re]={}),ti>0?(rn[Re].hpt=ti,rn[Re].hpx=Su(ti)):0===ti&&(rn[Re].hidden=!0);break;default:if($e&&$e.WTF)throw new Error("SYLK bad record "+kn)}_n<1&&(Un=null);break;default:if($e&&$e.WTF)throw new Error("SYLK bad record "+kn)}}return rn.length>0&&(ei["!rows"]=rn),Nn.length>0&&(ei["!cols"]=Nn),$e&&$e.sheetRows&&(kt=kt.slice(0,$e.sheetRows)),[kt,ei]}function D(Be,$e){var rt=function f(Be,$e){switch($e.type){case"base64":return T(J(Be),$e);case"binary":return T(Be,$e);case"buffer":return T(ae&&Buffer.isBuffer(Be)?Be.toString("binary"):Ze(Be),$e);case"array":return T(dt(Be),$e)}throw new Error("Unrecognized type "+$e.type)}(Be,$e),at=rt[1],zt=We(rt[0],$e);return Ki(at).forEach(function(Vt){zt[Vt]=at[Vt]}),zt}function ee(Be,$e,rt,Re){var at="C;Y"+(rt+1)+";X"+(Re+1)+";K";switch(Be.t){case"n":at+=Be.v||0,Be.f&&!Be.F&&(at+=";E"+Af(Be.f,{r:rt,c:Re}));break;case"b":at+=Be.v?"TRUE":"FALSE";break;case"e":at+=Be.w||Be.v;break;case"d":at+='"'+(Be.w||Be.v)+'"';break;case"s":at+='"'+Be.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return at}return e["|"]=254,{to_workbook:function B(Be,$e){return qe(D(Be,$e),$e)},to_sheet:D,from_sheet:function Fe(Be,$e){var zt,rt=["ID;PWXL;N;E"],Re=[],at=is(Be["!ref"]),Vt=Array.isArray(Be),kt="\r\n";rt.push("P;PGeneral"),rt.push("F;P0;DG0G8;M255"),Be["!cols"]&&function se(Be,$e){$e.forEach(function(rt,Re){var at="F;W"+(Re+1)+" "+(Re+1)+" ";rt.hidden?at+="0":("number"==typeof rt.width&&!rt.wpx&&(rt.wpx=Vc(rt.width)),"number"==typeof rt.wpx&&!rt.wch&&(rt.wch=uu(rt.wpx)),"number"==typeof rt.wch&&(at+=Math.round(rt.wch)))," "!=at.charAt(at.length-1)&&Be.push(at)})}(rt,Be["!cols"]),Be["!rows"]&&function de(Be,$e){$e.forEach(function(rt,Re){var at="F;";rt.hidden?at+="M0;":rt.hpt?at+="M"+20*rt.hpt+";":rt.hpx&&(at+="M"+20*du(rt.hpx)+";"),at.length>2&&Be.push(at+"R"+(Re+1))})}(rt,Be["!rows"]),rt.push("B;Y"+(at.e.r-at.s.r+1)+";X"+(at.e.c-at.s.c+1)+";D"+[at.s.c,at.s.r,at.e.c,at.e.r].join(" "));for(var wn=at.s.r;wn<=at.e.r;++wn)for(var Un=at.s.c;Un<=at.e.c;++Un){var ei=hr({r:wn,c:Un});(zt=Vt?(Be[wn]||[])[Un]:Be[ei])&&(null!=zt.v||zt.f&&!zt.F)&&Re.push(ee(zt,0,wn,Un))}return rt.join(kt)+kt+Re.join(kt)+kt+"E"+kt}}}(),Me=function(){function s(T,D){for(var B=T.split("\n"),ee=-1,se=-1,de=0,Fe=[];de!==B.length;++de)if("BOT"!==B[de].trim()){if(!(ee<0)){for(var Be=B[de].trim().split(","),$e=Be[0],rt=Be[1],Re=B[++de]||"";1&(Re.match(/["]/g)||[]).length&&de=0||de.indexOf(",")>=0||de.indexOf(";")>=0?function T(de,Fe){var Be=Fe||{},$e="";null!=Se&&null==Be.dense&&(Be.dense=Se);var rt=Be.dense?[]:{},Re={s:{c:0,r:0},e:{c:0,r:0}};"sep="==de.slice(0,4)?13==de.charCodeAt(5)&&10==de.charCodeAt(6)?($e=de.charAt(4),de=de.slice(7)):13==de.charCodeAt(5)||10==de.charCodeAt(5)?($e=de.charAt(4),de=de.slice(6)):$e=f(de.slice(0,1024)):$e=Be&&Be.FS?Be.FS:f(de.slice(0,1024));var at=0,zt=0,Vt=0,kt=0,wn=0,Un=$e.charCodeAt(0),ei=!1,rn=0,Nn=de.charCodeAt(0);de=de.replace(/\r\n/gm,"\n");var Sn=null!=Be.dateNF?function yn(e){var s="number"==typeof e?qn[e]:e;return s=s.replace(Kt,"(\\d+)"),new RegExp("^"+s+"$")}(Be.dateNF):null;function ti(){var ri=de.slice(kt,wn),kn={};if('"'==ri.charAt(0)&&'"'==ri.charAt(ri.length-1)&&(ri=ri.slice(1,-1).replace(/""/g,'"')),0===ri.length)kn.t="z";else if(Be.raw)kn.t="s",kn.v=ri;else if(0===ri.trim().length)kn.t="s",kn.v=ri;else if(61==ri.charCodeAt(0))34==ri.charCodeAt(1)&&34==ri.charCodeAt(ri.length-1)?(kn.t="s",kn.v=ri.slice(2,-1).replace(/""/g,'"')):function Oh(e){return 1!=e.length}(ri)?(kn.t="n",kn.f=ri.slice(1)):(kn.t="s",kn.v=ri);else if("TRUE"==ri)kn.t="b",kn.v=!0;else if("FALSE"==ri)kn.t="b",kn.v=!1;else if(isNaN(Vt=Yn(ri)))if(!isNaN(Gi(ri).getDate())||Sn&&ri.match(Sn)){kn.z=Be.dateNF||qn[14];var $i=0;Sn&&ri.match(Sn)&&(ri=function Tn(e,s,r){var h=-1,f=-1,T=-1,D=-1,B=-1,ee=-1;(s.match(Kt)||[]).forEach(function(Fe,Be){var $e=parseInt(r[Be+1],10);switch(Fe.toLowerCase().charAt(0)){case"y":h=$e;break;case"d":T=$e;break;case"h":D=$e;break;case"s":ee=$e;break;case"m":D>=0?B=$e:f=$e}}),ee>=0&&-1==B&&f>=0&&(B=f,f=-1);var se=(""+(h>=0?h:(new Date).getFullYear())).slice(-4)+"-"+("00"+(f>=1?f:1)).slice(-2)+"-"+("00"+(T>=1?T:1)).slice(-2);7==se.length&&(se="0"+se),8==se.length&&(se="20"+se);var de=("00"+(D>=0?D:0)).slice(-2)+":"+("00"+(B>=0?B:0)).slice(-2)+":"+("00"+(ee>=0?ee:0)).slice(-2);return-1==D&&-1==B&&-1==ee?se:-1==h&&-1==f&&-1==T?de:se+"T"+de}(0,Be.dateNF,ri.match(Sn)||[]),$i=1),Be.cellDates?(kn.t="d",kn.v=En(ri,$i)):(kn.t="n",kn.v=Nr(En(ri,$i))),!1!==Be.cellText&&(kn.w=Xe(kn.z,kn.v instanceof Date?Nr(kn.v):kn.v)),Be.cellNF||delete kn.z}else kn.t="s",kn.v=ri;else kn.t="n",!1!==Be.cellText&&(kn.w=ri),kn.v=Vt;if("z"==kn.t||(Be.dense?(rt[at]||(rt[at]=[]),rt[at][zt]=kn):rt[hr({c:zt,r:at})]=kn),Nn=de.charCodeAt(kt=wn+1),Re.e.c0&&ti(),rt["!ref"]=Wr(Re),rt}(de,Fe):We(function s(de,Fe){var Be=Fe||{},$e=[];if(!de||0===de.length)return $e;for(var rt=de.split(/[\r\n]/),Re=rt.length-1;Re>=0&&0===rt[Re].length;)--Re;for(var at=10,zt=0,Vt=0;Vt<=Re;++Vt)-1==(zt=rt[Vt].indexOf(" "))?zt=rt[Vt].length:zt++,at=Math.max(at,zt);for(Vt=0;Vt<=Re;++Vt){$e[Vt]=[];var kt=0;for(e(rt[Vt].slice(0,at).trim(),$e,Vt,kt,Be),kt=1;kt<=(rt[Vt].length-at)/10+1;++kt)e(rt[Vt].slice(at+10*(kt-1),at+10*kt).trim(),$e,Vt,kt,Be)}return Be.sheetRows&&($e=$e.slice(0,Be.sheetRows)),$e}(de,Fe),Fe)}function B(de,Fe){var Be="",$e="string"==Fe.type?[0,0,0,0]:function xm(e,s){var r="";switch((s||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=J(e.slice(0,12));break;case"binary":r=e;break;default:throw new Error("Unrecognized type "+(s&&s.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}(de,Fe);switch(Fe.type){case"base64":Be=J(de);break;case"binary":case"string":Be=de;break;case"buffer":Be=65001==Fe.codepage?de.toString("utf8"):Fe.codepage&&typeof me<"u"?me.utils.decode(Fe.codepage,de):ae&&Buffer.isBuffer(de)?de.toString("binary"):Ze(de);break;case"array":Be=dt(de);break;default:throw new Error("Unrecognized type "+Fe.type)}return 239==$e[0]&&187==$e[1]&&191==$e[2]?Be=Zr(Be.slice(3)):"string"!=Fe.type&&"buffer"!=Fe.type&&65001==Fe.codepage?Be=Zr(Be):"binary"==Fe.type&&typeof me<"u"&&Fe.codepage&&(Be=me.utils.decode(Fe.codepage,me.utils.encode(28591,Be))),"socialcalc:version:"==Be.slice(0,19)?Z.to_sheet("string"==Fe.type?Be:Zr(Be),Fe):D(Be,Fe)}return{to_workbook:function ee(de,Fe){return qe(B(de,Fe),Fe)},to_sheet:B,from_sheet:function se(de){for(var $e,Fe=[],Be=is(de["!ref"]),rt=Array.isArray(de),Re=Be.s.r;Re<=Be.e.r;++Re){for(var at=[],zt=Be.s.c;zt<=Be.e.c;++zt){var Vt=hr({r:Re,c:zt});if(($e=rt?(de[Re]||[])[zt]:de[Vt])&&null!=$e.v){for(var kt=($e.w||(re($e),$e.w)||"").slice(0,10);kt.length<10;)kt+=" ";at.push(kt+(0===zt?" ":""))}else at.push(" ")}Fe.push(at.join(""))}return Fe.join("\n")}}}(),At=function(){function e(tn,Zn,_n){if(tn){so(tn,tn.l||0);for(var pn=_n.Enum||ws;tn.l=16&&5==tn[14]&&108===tn[15])throw new Error("Unsupported Works 3 for Mac file");if(2==tn[2])_n.Enum=ws,e(tn,function(or,Ol,Fu){switch(Fu){case 0:_n.vers=or,or>=4096&&(_n.qpro=!0);break;case 6:qt=or;break;case 204:or&&(ur=or);break;case 222:ur=or;break;case 15:case 51:_n.qpro||(or[1].v=or[1].v.slice(1));case 13:case 14:case 16:14==Fu&&112==(112&or[2])&&(15&or[2])>1&&(15&or[2])<15&&(or[1].z=_n.dateNF||qn[14],_n.cellDates&&(or[1].t="d",or[1].v=wo(or[1].v))),_n.qpro&&or[3]>ji&&(pn["!ref"]=Wr(qt),Zi[ui]=pn,Ii.push(ui),pn=_n.dense?[]:{},qt={s:{r:0,c:0},e:{r:0,c:0}},ji=or[3],ui=ur||"Sheet"+(ji+1),ur="");var Sd=_n.dense?(pn[or[0].r]||[])[or[0].c]:pn[hr(or[0])];if(Sd){Sd.t=or[1].t,Sd.v=or[1].v,null!=or[1].z&&(Sd.z=or[1].z),null!=or[1].f&&(Sd.f=or[1].f);break}_n.dense?(pn[or[0].r]||(pn[or[0].r]=[]),pn[or[0].r][or[0].c]=or[1]):pn[hr(or[0])]=or[1]}},_n);else{if(26!=tn[2]&&14!=tn[2])throw new Error("Unrecognized LOTUS BOF "+tn[2]);_n.Enum=bi,14==tn[2]&&(_n.qpro=!0,tn.l=0),e(tn,function(or,Ol,Fu){switch(Fu){case 204:ui=or;break;case 22:or[1].v=or[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(or[3]>ji&&(pn["!ref"]=Wr(qt),Zi[ui]=pn,Ii.push(ui),pn=_n.dense?[]:{},qt={s:{r:0,c:0},e:{r:0,c:0}},ui="Sheet"+((ji=or[3])+1)),Ha>0&&or[0].r>=Ha)break;_n.dense?(pn[or[0].r]||(pn[or[0].r]=[]),pn[or[0].r][or[0].c]=or[1]):pn[hr(or[0])]=or[1],qt.e.c=128?95:ur)}return pn.write_shift(1,0),pn}function $e(tn,Zn,_n){var pn=Vn(7);return pn.write_shift(1,255),pn.write_shift(2,Zn),pn.write_shift(2,tn),pn.write_shift(2,_n,"i"),pn}function Re(tn,Zn,_n){var pn=Vn(13);return pn.write_shift(1,255),pn.write_shift(2,Zn),pn.write_shift(2,tn),pn.write_shift(8,_n,"f"),pn}function zt(tn,Zn,_n){var pn=32768&Zn;return Zn=(pn?tn:0)+((Zn&=-32769)>=8192?Zn-16384:Zn),(pn?"":"$")+(_n?hs(Zn):Ao(Zn))}var Vt={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},kt=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function Un(tn){var Zn=[{c:0,r:0},{t:"n",v:0},0];return Zn[0].r=tn.read_shift(2),Zn[3]=tn[tn.l++],Zn[0].c=tn[tn.l++],Zn}function rn(tn,Zn,_n,pn){var ui=Vn(6+pn.length);ui.write_shift(2,tn),ui.write_shift(1,_n),ui.write_shift(1,Zn),ui.write_shift(1,39);for(var ur=0;ur=128?95:ji)}return ui.write_shift(1,0),ui}function Sn(tn,Zn){var _n=Un(tn),pn=tn.read_shift(4),ui=tn.read_shift(4),ur=tn.read_shift(2);if(65535==ur)return 0===pn&&3221225472===ui?(_n[1].t="e",_n[1].v=15):0===pn&&3489660928===ui?(_n[1].t="e",_n[1].v=42):_n[1].v=0,_n;var ji=32768&ur;return ur=(32767&ur)-16446,_n[1].v=(1-2*ji)*(ui*Math.pow(2,ur+32)+pn*Math.pow(2,ur)),_n}function ti(tn,Zn,_n,pn){var ui=Vn(14);if(ui.write_shift(2,tn),ui.write_shift(1,_n),ui.write_shift(1,Zn),0==pn)return ui.write_shift(4,0),ui.write_shift(4,0),ui.write_shift(2,65535),ui;var ur=0,ji=0,Ii=0;return pn<0&&(ur=1,pn=-pn),ji=0|Math.log2(pn),2147483648&(Ii=(pn/=Math.pow(2,ji-31))>>>0)||(++ji,Ii=(pn/=2)>>>0),pn-=Ii,Ii|=2147483648,Ii>>>=0,pn*=Math.pow(2,32),ui.write_shift(4,pn>>>0),ui.write_shift(4,Ii),ui.write_shift(2,ji+=16383+(ur?32768:0)),ui}function $i(tn,Zn){var _n=Un(tn),pn=tn.read_shift(8,"f");return _n[1].v=pn,_n}function Qi(tn,Zn){return 0==tn[tn.l+Zn-1]?tn.read_shift(Zn,"cstr"):""}function pr(tn,Zn){var _n=Vn(5+tn.length);_n.write_shift(2,14e3),_n.write_shift(2,Zn);for(var pn=0;pn127?95:ui}return _n[_n.l++]=0,_n}var ws={0:{n:"BOF",f:aa},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function B(tn,Zn,_n){var pn={s:{c:0,r:0},e:{c:0,r:0}};return 8==Zn&&_n.qpro?(pn.s.c=tn.read_shift(1),tn.l++,pn.s.r=tn.read_shift(2),pn.e.c=tn.read_shift(1),tn.l++,pn.e.r=tn.read_shift(2),pn):(pn.s.c=tn.read_shift(2),pn.s.r=tn.read_shift(2),12==Zn&&_n.qpro&&(tn.l+=2),pn.e.c=tn.read_shift(2),pn.e.r=tn.read_shift(2),12==Zn&&_n.qpro&&(tn.l+=2),65535==pn.s.c&&(pn.s.c=pn.e.c=pn.s.r=pn.e.r=0),pn)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function Be(tn,Zn,_n){var pn=se(tn,0,_n);return pn[1].v=tn.read_shift(2,"i"),pn}},14:{n:"NUMBER",f:function rt(tn,Zn,_n){var pn=se(tn,0,_n);return pn[1].v=tn.read_shift(8,"f"),pn}},15:{n:"LABEL",f:de},16:{n:"FORMULA",f:function at(tn,Zn,_n){var pn=tn.l+Zn,ui=se(tn,0,_n);if(ui[1].v=tn.read_shift(8,"f"),_n.qpro)tn.l=pn;else{var ur=tn.read_shift(2);(function wn(tn,Zn){so(tn,0);for(var _n=[],pn=0,ui="",ur="",ji="",Zi="";tn.l_n.length)return void console.error("WK1 bad formula parse 0x"+Ii.toString(16)+":|"+_n.join("|")+"|");var Ro=_n.slice(-pn);_n.length-=pn,_n.push(Vt[Ii][0]+"("+Ro.join(",")+")")}}}1==_n.length?Zn[1].f=""+_n[0]:console.error("WK1 bad formula parse |"+_n.join("|")+"|")})(tn.slice(tn.l,tn.l+ur),ui),tn.l+=ur}return ui}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:de},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:Qi},222:{n:"SHEETNAMELP",f:function Br(tn,Zn){var _n=tn[tn.l++];_n>Zn-1&&(_n=Zn-1);for(var pn="";pn.length<_n;)pn+=String.fromCharCode(tn[tn.l++]);return pn}},65535:{n:""}},bi={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function ei(tn,Zn){var _n=Un(tn);return _n[1].t="s",_n[1].v=tn.read_shift(Zn-4,"cstr"),_n}},23:{n:"NUMBER17",f:Sn},24:{n:"NUMBER18",f:function Nn(tn,Zn){var _n=Un(tn);_n[1].v=tn.read_shift(2);var pn=_n[1].v>>1;if(1&_n[1].v)switch(7&pn){case 0:pn=5e3*(pn>>3);break;case 1:pn=500*(pn>>3);break;case 2:pn=(pn>>3)/20;break;case 3:pn=(pn>>3)/200;break;case 4:pn=(pn>>3)/2e3;break;case 5:pn=(pn>>3)/2e4;break;case 6:pn=(pn>>3)/16;break;case 7:pn=(pn>>3)/64}return _n[1].v=pn,_n}},25:{n:"FORMULA19",f:function ri(tn,Zn){var _n=Sn(tn);return tn.l+=Zn-14,_n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function Po(tn,Zn){for(var _n={},pn=tn.l+Zn;tn.l>6,_n}},38:{n:"??"},39:{n:"NUMBER27",f:$i},40:{n:"FORMULA28",f:function Ar(tn,Zn){var _n=$i(tn);return tn.l+=Zn-10,_n}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:Qi},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function Gr(tn,Zn,_n){if(_n.qpro&&!(Zn<21)){var pn=tn.read_shift(1);return tn.l+=17,tn.l+=1,tn.l+=2,[pn,tn.read_shift(Zn-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function h(tn,Zn){var _n=Zn||{};if(+_n.codepage>=0&&F(+_n.codepage),"string"==_n.type)throw new Error("Cannot write WK1 to JS string");var pn=ra(),ui=is(tn["!ref"]),ur=Array.isArray(tn),ji=[];zi(pn,0,function T(tn){var Zn=Vn(2);return Zn.write_shift(2,tn),Zn}(1030)),zi(pn,6,function ee(tn){var Zn=Vn(8);return Zn.write_shift(2,tn.s.c),Zn.write_shift(2,tn.s.r),Zn.write_shift(2,tn.e.c),Zn.write_shift(2,tn.e.r),Zn}(ui));for(var Zi=Math.min(ui.e.r,8191),Ii=ui.s.r;Ii<=Zi;++Ii)for(var xo=Ao(Ii),qt=ui.s.c;qt<=ui.e.c;++qt){Ii===ui.s.r&&(ji[qt]=hs(qt));var Ro=ur?(tn[Ii]||[])[qt]:tn[ji[qt]+xo];Ro&&"z"!=Ro.t&&("n"==Ro.t?(0|Ro.v)==Ro.v&&Ro.v>=-32768&&Ro.v<=32767?zi(pn,13,$e(Ii,qt,Ro.v)):zi(pn,14,Re(Ii,qt,Ro.v)):zi(pn,15,Fe(Ii,qt,re(Ro).slice(0,239))))}return zi(pn,1),pn.end()},book_to_wk3:function f(tn,Zn){var _n=Zn||{};if(+_n.codepage>=0&&F(+_n.codepage),"string"==_n.type)throw new Error("Cannot write WK3 to JS string");var pn=ra();zi(pn,0,function D(tn){var Zn=Vn(26);Zn.write_shift(2,4096),Zn.write_shift(2,4),Zn.write_shift(4,0);for(var _n=0,pn=0,ui=0,ur=0;ur8191&&(_n=8191),Zn.write_shift(2,_n),Zn.write_shift(1,ui),Zn.write_shift(1,pn),Zn.write_shift(2,0),Zn.write_shift(2,0),Zn.write_shift(1,1),Zn.write_shift(1,2),Zn.write_shift(4,0),Zn.write_shift(4,0),Zn}(tn));for(var ui=0,ur=0;ui";f.r?T+=f.r:(T+=""),r[r.length]=T+=""}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var la=function zr(e,s){var r=!1;return null==s&&(r=!0,s=Vn(15+4*e.t.length)),s.write_shift(1,0),Si(e.t,s),r?s.slice(0,s.l):s};function ca(e){var s=ra();ai(s,159,function bo(e,s){return s||(s=Vn(8)),s.write_shift(4,e.Count),s.write_shift(4,e.Unique),s}(e));for(var r=0;r=0;--T)s=((16384&s?1:0)|s<<1&32767)^r[T];return 52811^s}var hg=function(){function e(f,T){switch(T.type){case"base64":return s(J(f),T);case"binary":return s(f,T);case"buffer":return s(ae&&Buffer.isBuffer(f)?f.toString("binary"):Ze(f),T);case"array":return s(dt(f),T)}throw new Error("Unrecognized type "+T.type)}function s(f,T){var B=(T||{}).dense?[]:{},ee=f.match(/\\trowd.*?\\row\b/g);if(!ee.length)throw new Error("RTF missing table");var se={s:{c:0,r:0},e:{c:0,r:ee.length-1}};return ee.forEach(function(de,Fe){Array.isArray(B)&&(B[Fe]=[]);for(var rt,Be=/\\\w+\b/g,$e=0,Re=-1;rt=Be.exec(de);){if("\\cell"===rt[0]){var at=de.slice($e,Be.lastIndex-rt[0].length);if(" "==at[0]&&(at=at.slice(1)),++Re,at.length){var zt={v:at,t:"s"};Array.isArray(B)?B[Fe][Re]=zt:B[hr({r:Fe,c:Re})]=zt}}$e=Be.lastIndex}Re>se.e.c&&(se.e.c=Re)}),B["!ref"]=Wr(se),B}return{to_workbook:function r(f,T){return qe(e(f,T),T)},to_sheet:e,from_sheet:function h(f){for(var B,T=["{\\rtf1\\ansi"],D=is(f["!ref"]),ee=Array.isArray(f),se=D.s.r;se<=D.e.r;++se){T.push("\\trowd\\trautofit1");for(var de=D.s.c;de<=D.e.c;++de)T.push("\\cellx"+(de+1));for(T.push("\\pard\\intbl"),de=D.s.c;de<=D.e.c;++de){var Fe=hr({r:se,c:de});(B=ee?(f[se]||[])[de]:f[Fe])&&(null!=B.v||B.f&&!B.F)&&(T.push(" "+(B.w||(re(B),B.w))),T.push("\\cell"))}T.push("\\pard\\intbl\\row")}return T.join("")+"}"}}}();function Cd(e){for(var s=0,r=1;3!=s;++s)r=256*r+(e[s]>255?255:e[s]<0?0:e[s]);return r.toString(16).toUpperCase().slice(1)}var Ca=6;function Vc(e){return Math.floor((e+Math.round(128/Ca)/256)*Ca)}function uu(e){return Math.floor((e-5)/Ca*100+.5)/100}function Xu(e){return Math.round((e*Ca+5)/Ca*256)/256}function Wc(e){e.width?(e.wpx=Vc(e.width),e.wch=uu(e.wpx),e.MDW=Ca):e.wpx?(e.wch=uu(e.wpx),e.width=Xu(e.wch),e.MDW=Ca):"number"==typeof e.wch&&(e.width=Xu(e.wch),e.wpx=Vc(e.width),e.MDW=Ca),e.customWidth&&delete e.customWidth}var Zd=96;function du(e){return 96*e/Zd}function Su(e){return e*Zd/96}function _g(e,s){var h,r=[ds,Ci("styleSheet",null,{xmlns:Qs[0],"xmlns:vt":Lr.vt})];return e.SSF&&null!=(h=function y0(e){var s=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var h=r[0];h<=r[1];++h)null!=e[h]&&(s[s.length]=Ci("numFmt",null,{numFmtId:h,formatCode:Vr(e[h])}))}),1===s.length?"":(s[s.length]="",s[0]=Ci("numFmts",null,{count:s.length-2}).replace("/>",">"),s.join(""))}(e.SSF))&&(r[r.length]=h),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(h=function Hm(e){var s=[];return s[s.length]=Ci("cellXfs",null),e.forEach(function(r){s[s.length]=Ci("xf",null,r)}),s[s.length]="",2===s.length?"":(s[0]=Ci("cellXfs",null,{count:s.length-2}).replace("/>",">"),s.join(""))}(s.cellXfs))&&(r[r.length]=h),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function b0(e,s,r){r||(r=Vn(6+4*s.length)),r.write_shift(2,e),Si(s,r);var h=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),h}var Cf,T0=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],E0=Vs;function hu(e,s){s||(s=Vn(84)),Cf||(Cf=jr(T0));var r=Cf[e.patternType];null==r&&(r=40),s.write_shift(4,r);var h=0;if(40!=r)for(_a({auto:1},s),_a({auto:1},s);h<12;++h)s.write_shift(4,0);else{for(;h<4;++h)s.write_shift(4,0);for(;h<12;++h)s.write_shift(4,0)}return s.length>s.l?s.slice(0,s.l):s}function Cg(e,s,r){return r||(r=Vn(16)),r.write_shift(2,s||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Th(e,s){return s||(s=Vn(10)),s.write_shift(1,0),s.write_shift(1,0),s.write_shift(4,0),s.write_shift(4,0),s}var jm=Vs;function O0(e,s){var r=ra();return ai(r,278),function D0(e,s){if(s){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(h){for(var f=h[0];f<=h[1];++f)null!=s[f]&&++r}),0!=r&&(ai(e,615,Ln(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(h){for(var f=h[0];f<=h[1];++f)null!=s[f]&&ai(e,44,b0(f,s[f]))}),ai(e,616))}}(r,e.SSF),function S0(e){ai(e,611,Ln(1)),ai(e,43,function Iv(e,s){s||(s=Vn(153)),s.write_shift(2,20*e.sz),function Hc(e,s){s||(s=Vn(2)),s.write_shift(1,(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0)),s.write_shift(1,0)}(e,s),s.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),s.write_shift(2,r),s.write_shift(1,e.underline||0),s.write_shift(1,e.family||0),s.write_shift(1,e.charset||0),s.write_shift(1,0),_a(e.color,s);var h=0;return"major"==e.scheme&&(h=1),"minor"==e.scheme&&(h=2),s.write_shift(1,h),Si(e.name,s),s.length>s.l?s.slice(0,s.l):s}({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),ai(e,612)}(r),function Vm(e){ai(e,603,Ln(2)),ai(e,45,hu({patternType:"none"})),ai(e,45,hu({patternType:"gray125"})),ai(e,604)}(r),function qu(e){ai(e,613,Ln(1)),ai(e,46,function zm(e,s){return s||(s=Vn(51)),s.write_shift(1,0),Th(0,s),Th(0,s),Th(0,s),Th(0,s),Th(0,s),s.length>s.l?s.slice(0,s.l):s}()),ai(e,614)}(r),function Eh(e){ai(e,626,Ln(1)),ai(e,47,Cg({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),ai(e,627)}(r),function wh(e,s){ai(e,617,Ln(s.length)),s.forEach(function(r){ai(e,47,Cg(r,0))}),ai(e,618)}(r,s.cellXfs),function k0(e){ai(e,619,Ln(1)),ai(e,48,function Kd(e,s){return s||(s=Vn(52)),s.write_shift(4,e.xfId),s.write_shift(2,1),s.write_shift(1,+e.builtinId),s.write_shift(1,0),za(e.name||"",s),s.length>s.l?s.slice(0,s.l):s}({xfId:0,builtinId:0,name:"Normal"})),ai(e,620)}(r),function vg(e){ai(e,505,Ln(0)),ai(e,506)}(r),function Wm(e){ai(e,508,function w0(e,s,r){var h=Vn(2052);return h.write_shift(4,e),za(s,h),za(r,h),h.length>h.l?h.slice(0,h.l):h}(0,"TableStyleMedium9","PivotStyleMedium4")),ai(e,509)}(r),ai(r,279),r.end()}function yg(e,s){if(s&&s.themeXLSX)return s.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[ds];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function Y0(){var e=ra();return ai(e,332),ai(e,334,Ln(1)),ai(e,335,function F0(e){var s=Vn(12+2*e.name.length);return s.write_shift(4,e.flags),s.write_shift(4,e.version),Si(e.name,s),s.slice(0,s.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),ai(e,336),ai(e,339,function Km(e,s){var r=Vn(8+2*s.length);return r.write_shift(4,e),Si(s,r),r.slice(0,r.l)}(1,"XLDAPR")),ai(e,52),ai(e,35,Ln(514)),ai(e,4096,Ln(0)),ai(e,4097,jl(1)),ai(e,36),ai(e,53),ai(e,340),ai(e,337,function Jm(e,s){var r=Vn(8);return r.write_shift(4,e),r.write_shift(4,s?1:0),r}(1,!0)),ai(e,51,function $m(e){var s=Vn(4+8*e.length);s.write_shift(4,e.length);for(var r=0;r\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),e.join("")}var Sh=1024;function bp(e,s){for(var r=[21600,21600],h=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),f=[Ci("xml",null,{"xmlns:v":Hs.v,"xmlns:o":Hs.o,"xmlns:x":Hs.x,"xmlns:mv":Hs.mv}).replace(/\/>/,">"),Ci("o:shapelayout",Ci("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Ci("v:shapetype",[Ci("v:stroke",null,{joinstyle:"miter"}),Ci("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:h})];Sh<1e3*e;)Sh+=1e3;return s.forEach(function(T){var D=Io(T[0]),B={color2:"#BEFF82",type:"gradient"};"gradient"==B.type&&(B.angle="-180");var ee="gradient"==B.type?Ci("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,se=Ci("v:fill",ee,B);++Sh,f=f.concat(["",se,Ci("v:shadow",null,{on:"t",obscured:"t"}),Ci("v:path",null,{"o:connecttype":"none"}),'
','',"","",vo("x:Anchor",[D.c+1,0,D.r+1,0,D.c+3,20,D.r+5,20].join(",")),vo("x:AutoFill","False"),vo("x:Row",String(D.r)),vo("x:Column",String(D.c)),T[1].hidden?"":"","",""])}),f.push("
"),f.join("")}function kh(e){var s=[ds,Ci("comments",null,{xmlns:Qs[0]})],r=[];return s.push(""),e.forEach(function(h){h[1].forEach(function(f){var T=Vr(f.a);-1==r.indexOf(T)&&(r.push(T),s.push(""+T+"")),f.T&&f.ID&&-1==r.indexOf("tc="+f.ID)&&(r.push("tc="+f.ID),s.push("tc="+f.ID+""))})}),0==r.length&&(r.push("SheetJ5"),s.push("SheetJ5")),s.push(""),s.push(""),e.forEach(function(h){var f=0,T=[];if(h[1][0]&&h[1][0].T&&h[1][0].ID?f=r.indexOf("tc="+h[1][0].ID):h[1].forEach(function(ee){ee.a&&(f=r.indexOf(Vr(ee.a))),T.push(ee.t||"")}),s.push(''),T.length<=1)s.push(vo("t",Vr(T[0]||"")));else{for(var D="Comment:\n "+T[0]+"\n",B=1;B")}),s.push(""),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function qm(e,s,r){var h=[ds,Ci("ThreadedComments",null,{xmlns:Lr.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(f){var T="";(f[1]||[]).forEach(function(D,B){if(D.T){D.a&&-1==s.indexOf(D.a)&&s.push(D.a);var ee={ref:f[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==B?T=ee.id:ee.parentId=T,D.ID=ee.id,D.a&&(ee.personId="{54EE7950-7262-4200-6969-"+("000000000000"+s.indexOf(D.a)).slice(-12)+"}"),h.push(Ci("threadedComment",vo("text",D.t||""),ee))}else delete D.ID})}),h.push(""),h.join("")}var e_=Hn;function Mv(e){var s=ra(),r=[];return ai(s,628),ai(s,630),e.forEach(function(h){h[1].forEach(function(f){r.indexOf(f.a)>-1||(r.push(f.a.slice(0,54)),ai(s,632,function t_(e){return Si(e.slice(0,54))}(f.a)))})}),ai(s,631),ai(s,633),e.forEach(function(h){h[1].forEach(function(f){f.iauthor=r.indexOf(f.a);var T={s:Io(h[0]),e:Io(h[0])};ai(s,635,function j0(e,s){return null==s&&(s=Vn(36)),s.write_shift(4,e[1].iauthor),yo(e[0],s),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,0),s}([T,f])),f.t&&f.t.length>0&&ai(s,637,function ks(e,s){var r=!1;return null==s&&(r=!0,s=Vn(23+4*e.t.length)),s.write_shift(1,1),Si(e.t,s),s.write_shift(4,1),function qr(e,s){s||(s=Vn(4)),s.write_shift(2,e.ich||0),s.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},s),r?s.slice(0,s.l):s}(f)),ai(s,636),delete f.iauthor})}),ai(s,634),ai(s,629),s.end()}var Mp=["xlsb","xlsm","xlam","biff8","xla"],td=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,s={r:0,c:0};function r(h,f,T,D){var B=!1,ee=!1;0==T.length?ee=!0:"["==T.charAt(0)&&(ee=!0,T=T.slice(1,-1)),0==D.length?B=!0:"["==D.charAt(0)&&(B=!0,D=D.slice(1,-1));var se=T.length>0?0|parseInt(T,10):0,de=D.length>0?0|parseInt(D,10):0;return B?de+=s.c:--de,ee?se+=s.r:--se,f+(B?"":"$")+hs(de)+(ee?"":"$")+Ao(se)}return function(f,T){return s=T,f.replace(e,r)}}(),Sp=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Af=function(){return function(s,r){return s.replace(Sp,function(h,f,T,D,B,ee){var se=Xo(D)-(T?0:r.c),de=Cl(ee)-(B?0:r.r);return f+"R"+(0==de?"":B?de+1:"["+de+"]")+"C"+(0==se?"":T?se+1:"["+se+"]")})}}();function ku(e,s){return e.replace(Sp,function(r,h,f,T,D,B){return h+("$"==f?f+T:hs(Xo(T)+s.c))+("$"==D?D+B:Ao(Cl(B)+s.r))})}function nc(e){e.l+=1}function yd(e,s){var r=e.read_shift(1==s?1:2);return[16383&r,r>>14&1,r>>15&1]}function kp(e,s,r){var h=2;if(r){if(r.biff>=2&&r.biff<=5)return Lu(e);12==r.biff&&(h=4)}var f=e.read_shift(h),T=e.read_shift(h),D=yd(e,2),B=yd(e,2);return{s:{r:f,c:D[0],cRel:D[1],rRel:D[2]},e:{r:T,c:B[0],cRel:B[1],rRel:B[2]}}}function Lu(e){var s=yd(e,2),r=yd(e,2),h=e.read_shift(1),f=e.read_shift(1);return{s:{r:s[0],c:h,cRel:s[1],rRel:s[2]},e:{r:r[0],c:f,cRel:r[1],rRel:r[2]}}}function r_(e,s,r){if(r&&r.biff>=2&&r.biff<=5)return function Z0(e){var s=yd(e,2),r=e.read_shift(1);return{r:s[0],c:r,cRel:s[1],rRel:s[2]}}(e);var h=e.read_shift(r&&12==r.biff?4:2),f=yd(e,2);return{r:h,c:f[0],cRel:f[1],rRel:f[2]}}function Op(e){var s=e.read_shift(2),r=e.read_shift(2);return{r:s,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Q0(e){var s=1&e[e.l+1];return e.l+=4,[s,1]}function nd(e){return[e.read_shift(1),e.read_shift(1)]}function Yp(e,s){var r=[e.read_shift(1)];if(12==s)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=function vs(e,s){return 1===e.read_shift(s)}(e,1)?"TRUE":"FALSE",12!=s&&(e.l+=7);break;case 37:case 16:r[1]=Ea[e[e.l]],e.l+=12==s?4:8;break;case 0:e.l+=8;break;case 1:r[1]=ma(e);break;case 2:r[1]=function te(e,s,r){if(r.biff>5)return function R(e,s,r){var h=e.read_shift(r&&2==r.biff?1:2);return 0===h?(e.l++,""):function cs(e,s,r){if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(s,"cpstr");if(r.biff>=12)return e.read_shift(s,"dbcs-cont")}var f=e.read_shift(1);return e.read_shift(s,0===f?"sbcs-cont":"dbcs-cont")}(e,h,r)}(e,0,r);var h=e.read_shift(1);return 0===h?(e.l++,""):e.read_shift(h,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}(e,0,{biff:s>0&&s<8?2:s});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function c_(e,s,r){for(var h=e.read_shift(12==r.biff?4:2),f=[],T=0;T!=h;++T)f.push((12==r.biff?po:dd)(e,8));return f}function tC(e,s,r){var h=0,f=0;12==r.biff?(h=e.read_shift(4),f=e.read_shift(4)):(f=1+e.read_shift(1),h=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--h,0==--f&&(f=256));for(var T=0,D=[];T!=h&&(D[T]=[]);++T)for(var B=0;B!=f;++B)D[T][B]=Yp(e,r.biff);return D}function Nh(e,s,r){return e.l+=2,[Op(e)]}function Up(e){return e.l+=6,[]}function Fh(e){return e.l+=2,[aa(e),1&e.read_shift(2)]}var aC=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],g_={1:{n:"PtgExp",f:function wg(e,s,r){return e.l++,r&&12==r.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Vs},3:{n:"PtgAdd",f:nc},4:{n:"PtgSub",f:nc},5:{n:"PtgMul",f:nc},6:{n:"PtgDiv",f:nc},7:{n:"PtgPower",f:nc},8:{n:"PtgConcat",f:nc},9:{n:"PtgLt",f:nc},10:{n:"PtgLe",f:nc},11:{n:"PtgEq",f:nc},12:{n:"PtgGe",f:nc},13:{n:"PtgGt",f:nc},14:{n:"PtgNe",f:nc},15:{n:"PtgIsect",f:nc},16:{n:"PtgUnion",f:nc},17:{n:"PtgRange",f:nc},18:{n:"PtgUplus",f:nc},19:{n:"PtgUminus",f:nc},20:{n:"PtgPercent",f:nc},21:{n:"PtgParen",f:nc},22:{n:"PtgMissArg",f:nc},23:{n:"PtgStr",f:function l_(e,s,r){return e.l++,Dl(e,0,r)}},26:{n:"PtgSheet",f:function cC(e,s,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function Df(e,s,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function Rh(e){return e.l++,Ea[e.read_shift(1)]}},29:{n:"PtgBool",f:function a_(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function q0(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function eC(e){return e.l++,ma(e)}},32:{n:"PtgArray",f:function J0(e,s,r){var h=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[h]}},33:{n:"PtgFunc",f:function Fp(e,s,r){var h=(96&e[e.l])>>5;e.l+=1;var f=e.read_shift(r&&r.biff<=3?1:2);return[pC[f],Lg[f],h]}},34:{n:"PtgFuncVar",f:function Eg(e,s,r){var h=e[e.l++],f=e.read_shift(1),T=r&&r.biff<=3?[88==h?-1:0,e.read_shift(1)]:function Tf(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[f,(0===T[0]?Lg:gC)[T[1]]]}},35:{n:"PtgName",f:function nC(e,s,r){var h=e.read_shift(1)>>>5&3,T=e.read_shift(!r||r.biff>=8?4:2);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[h,0,T]}},36:{n:"PtgRef",f:function xf(e,s,r){var h=(96&e[e.l])>>5;return e.l+=1,[h,r_(e,0,r)]}},37:{n:"PtgArea",f:function o_(e,s,r){return[(96&e[e.l++])>>5,kp(e,0,r)]}},38:{n:"PtgMemArea",f:function Ef(e,s,r){var h=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[h,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Vs},40:{n:"PtgMemNoMem",f:Vs},41:{n:"PtgMemFunc",f:function Bp(e,s,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function rC(e,s,r){var h=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[h]}},43:{n:"PtgAreaErr",f:function If(e,s,r){var h=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[h]}},44:{n:"PtgRefN",f:function Np(e,s,r){var h=(96&e[e.l])>>5;e.l+=1;var f=function s_(e,s,r){var h=r&&r.biff?r.biff:8;if(h>=2&&h<=5)return function G0(e){var s=e.read_shift(2),r=e.read_shift(1),h=(32768&s)>>15,f=(16384&s)>>14;return s&=16383,1==h&&s>=8192&&(s-=16384),1==f&&r>=128&&(r-=256),{r:s,c:r,cRel:f,rRel:h}}(e);var f=e.read_shift(h>=12?4:2),T=e.read_shift(2),D=(16384&T)>>14,B=(32768&T)>>15;if(T&=16383,1==B)for(;f>524287;)f-=1048576;if(1==D)for(;T>8191;)T-=16384;return{r:f,c:T,cRel:D,rRel:B}}(e,0,r);return[h,f]}},45:{n:"PtgAreaN",f:function K0(e,s,r){var h=(96&e[e.l++])>>5,f=function W0(e,s,r){if(r.biff<8)return Lu(e);var h=e.read_shift(12==r.biff?4:2),f=e.read_shift(12==r.biff?4:2),T=yd(e,2),D=yd(e,2);return{s:{r:h,c:T[0],cRel:T[1],rRel:T[2]},e:{r:f,c:D[0],cRel:D[1],rRel:D[2]}}}(e,0,r);return[h,f]}},46:{n:"PtgMemAreaN",f:function Ov(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function zp(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function Sv(e,s,r){return 5==r.biff?function iC(e){var s=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var h=e.read_shift(2);return e.l+=12,[s,r,h]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function Ph(e,s,r){var h=(96&e[e.l])>>5;e.l+=1;var f=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[h,f,r_(e,0,r)]}},59:{n:"PtgArea3d",f:function Lp(e,s,r){var h=(96&e[e.l++])>>5,f=e.read_shift(2,"i");if(r&&5===r.biff)e.l+=12;return[h,f,kp(e,0,r)]}},60:{n:"PtgRefErr3d",f:function u_(e,s,r){var h=(96&e[e.l++])>>5,f=e.read_shift(2),T=4;if(r)switch(r.biff){case 5:T=15;break;case 12:T=6}return e.l+=T,[h,f]}},61:{n:"PtgAreaErr3d",f:function $0(e,s,r){var h=(96&e[e.l++])>>5,f=e.read_shift(2),T=8;if(r)switch(r.biff){case 5:e.l+=12,T=6;break;case 12:T=12}return e.l+=T,[h,f]}},255:{}},Wp={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},p_={1:{n:"PtgElfLel",f:Fh},2:{n:"PtgElfRw",f:Nh},3:{n:"PtgElfCol",f:Nh},6:{n:"PtgElfRwV",f:Nh},7:{n:"PtgElfColV",f:Nh},10:{n:"PtgElfRadical",f:Nh},11:{n:"PtgElfRadicalS",f:Up},13:{n:"PtgElfColS",f:Up},15:{n:"PtgElfColSV",f:Up},16:{n:"PtgElfRadicalLel",f:Fh},25:{n:"PtgList",f:function lC(e){e.l+=2;var s=e.read_shift(2),r=e.read_shift(2),h=e.read_shift(4),f=e.read_shift(2),T=e.read_shift(2);return{ixti:s,coltype:3&r,rt:aC[r>>2&31],idx:h,c:f,C:T}}},29:{n:"PtgSxName",f:function Dg(e){return e.l+=2,[e.read_shift(4)]}},255:{}},uC={0:{n:"PtgAttrNoop",f:function Vp(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function Pp(e,s,r){var h=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[h]}},2:{n:"PtgAttrIf",f:function X0(e,s,r){var h=255&e[e.l+1]?1:0;return e.l+=2,[h,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function yf(e,s,r){e.l+=2;for(var h=e.read_shift(r&&2==r.biff?1:2),f=[],T=0;T<=h;++T)f.push(e.read_shift(r&&2==r.biff?1:2));return f}},8:{n:"PtgAttrGoto",f:function Tg(e,s,r){var h=255&e[e.l+1]?1:0;return e.l+=2,[h,e.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function Dv(e,s,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Q0},33:{n:"PtgAttrBaxcel",f:Q0},64:{n:"PtgAttrSpace",f:function Rp(e){return e.read_shift(2),nd(e)}},65:{n:"PtgAttrSpaceSemi",f:function bf(e){return e.read_shift(2),nd(e)}},128:{n:"PtgAttrIfError",f:function Lh(e){var s=255&e[e.l+1]?1:0;return e.l+=2,[s,e.read_shift(2)]}},255:{}};function Bh(e,s,r,h){if(h.biff<8)return Vs(e,s);for(var f=e.l+s,T=[],D=0;D!==r.length;++D)switch(r[D][0]){case"PtgArray":r[D][1]=tC(e,0,h),T.push(r[D][1]);break;case"PtgMemArea":r[D][2]=c_(e,0,h),T.push(r[D][2]);break;case"PtgExp":h&&12==h.biff&&(r[D][1][1]=e.read_shift(4),T.push(r[D][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[D][0]}return 0!=(s=f-e.l)&&T.push(Vs(e,s)),T}function m_(e){for(var s=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Sg(e,s,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[s]))return e.SheetNames[s];if(!e.XTI)return"SH33TJSERR6";var h=e.XTI[s];if(r.biff<8)return s>1e4&&(s-=65536),s<0&&(s=-s),0==s?"":e.XTI[s-1];if(!h)return"SH33TJSERR1";var f="";if(r.biff>8)switch(e[h[0]][0]){case 357:return f=-1==h[1]?"#REF":e.SheetNames[h[1]],h[1]==h[2]?f:f+":"+e.SheetNames[h[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[h[0]][0];default:return"SH33TJSSRC"+e[h[0]][0]}switch(e[h[0]][0][0]){case 1025:return f=-1==h[1]?"#REF":e.SheetNames[h[1]]||"SH33TJSERR3",h[1]==h[2]?f:f+":"+e.SheetNames[h[2]];case 14849:return e[h[0]].slice(1).map(function(T){return T.Name}).join(";;");default:return e[h[0]][0][3]?(f=-1==h[1]?"#REF":e[h[0]][0][3][h[1]]||"SH33TJSERR4",h[1]==h[2]?f:f+":"+e[h[0]][0][3][h[2]]):"SH33TJSERR2"}}function fu(e,s,r){var h=Sg(e,s,r);return"#REF"==h?h:function __(e,s){if(!(e||s&&s.biff<=5&&s.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(h,r)}function Ec(e,s,r,h,f){var ee,se,de,$e,T=f&&f.biff||8,D={s:{c:0,r:0},e:{c:0,r:0}},B=[],Fe=0,Be=0,rt="";if(!e[0]||!e[0][0])return"";for(var Re=-1,at="",zt=0,Vt=e[0].length;zt=0){switch(e[0][Re][1][0]){case 0:at=un(" ",e[0][Re][1][1]);break;case 1:at=un("\r",e[0][Re][1][1]);break;default:if(at="",f.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][Re][1][0])}se+=at,Re=-1}B.push(se+dC[kt[0]]+ee);break;case"PtgIsect":ee=B.pop(),se=B.pop(),B.push(se+" "+ee);break;case"PtgUnion":ee=B.pop(),se=B.pop(),B.push(se+","+ee);break;case"PtgRange":ee=B.pop(),se=B.pop(),B.push(se+":"+ee);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":de=Nl(kt[1][1],D,f),B.push(sl(de,T));break;case"PtgRefN":de=r?Nl(kt[1][1],r,f):kt[1][1],B.push(sl(de,T));break;case"PtgRef3d":Fe=kt[1][1],de=Nl(kt[1][2],D,f),rt=fu(h,Fe,f),B.push(rt+"!"+sl(de,T));break;case"PtgFunc":case"PtgFuncVar":var Un=kt[1][0],ei=kt[1][1];Un||(Un=0);var rn=0==(Un&=127)?[]:B.slice(-Un);B.length-=Un,"User"===ei&&(ei=rn.shift()),B.push(ei+"("+rn.join(",")+")");break;case"PtgBool":B.push(kt[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":B.push(kt[1]);break;case"PtgNum":B.push(String(kt[1]));break;case"PtgStr":B.push('"'+kt[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":$e=Oc(kt[1][1],r?{s:r}:D,f),B.push(bl($e,f));break;case"PtgArea":$e=Oc(kt[1][1],D,f),B.push(bl($e,f));break;case"PtgArea3d":$e=kt[1][2],rt=fu(h,Fe=kt[1][1],f),B.push(rt+"!"+bl($e,f));break;case"PtgAttrSum":B.push("SUM("+B.pop()+")");break;case"PtgName":var Nn=(h.names||[])[(Be=kt[1][2])-1]||(h[0]||[])[Be],Sn=Nn?Nn.Name:"SH33TJSNAME"+String(Be);Sn&&"_xlfn."==Sn.slice(0,6)&&!f.xlfn&&(Sn=Sn.slice(6)),B.push(Sn);break;case"PtgNameX":var ri,ti=kt[1][1];if(Be=kt[1][2],!(f.biff<=5)){var kn="";if(14849==((h[ti]||[])[0]||[])[0]||(1025==((h[ti]||[])[0]||[])[0]?h[ti][Be]&&h[ti][Be].itab>0&&(kn=h.SheetNames[h[ti][Be].itab-1]+"!"):kn=h.SheetNames[Be-1]+"!"),h[ti]&&h[ti][Be])kn+=h[ti][Be].Name;else if(h[0]&&h[0][Be])kn+=h[0][Be].Name;else{var $i=(Sg(h,ti,f)||"").split(";;");$i[Be-1]?kn=$i[Be-1]:kn+="SH33TJSERRX"}B.push(kn);break}ti<0&&(ti=-ti),h[ti]&&(ri=h[ti][Be]),ri||(ri={Name:"SH33TJSERRY"}),B.push(ri.Name);break;case"PtgParen":var Ar="(",Qi=")";if(Re>=0){switch(at="",e[0][Re][1][0]){case 2:Ar=un(" ",e[0][Re][1][1])+Ar;break;case 3:Ar=un("\r",e[0][Re][1][1])+Ar;break;case 4:Qi=un(" ",e[0][Re][1][1])+Qi;break;case 5:Qi=un("\r",e[0][Re][1][1])+Qi;break;default:if(f.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][Re][1][0])}Re=-1}B.push(Ar+B.pop()+Qi);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":B.push("#REF!");break;case"PtgExp":var Br={c:r.c,r:r.r};if(h.sharedf[hr(de={c:kt[1][1],r:kt[1][0]})]){var Gr=h.sharedf[hr(de)];B.push(Ec(Gr,0,Br,h,f))}else{var Po=!1;for(ee=0;ee!=h.arrayf.length;++ee)if(!(de.c<(se=h.arrayf[ee])[0].s.c||de.c>se[0].e.c||de.rse[0].e.r)){B.push(Ec(se[1],0,Br,h,f)),Po=!0;break}Po||B.push(kt[1])}break;case"PtgArray":B.push("{"+m_(kt[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":Re=zt;break;case"PtgMissArg":B.push("");break;case"PtgList":B.push("Table"+kt[1].idx+"[#"+kt[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(kt))}if(3!=f.biff&&Re>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][zt][0])){var ws=!0;switch((kt=e[0][Re])[1][0]){case 4:ws=!1;case 0:at=un(" ",kt[1][1]);break;case 5:ws=!1;case 1:at=un("\r",kt[1][1]);break;default:if(at="",f.WTF)throw new Error("Unexpected PtgAttrSpaceType "+kt[1][0])}B.push((ws?at:"")+B.pop()+(ws?"":at)),Re=-1}}if(B.length>1&&f.WTF)throw new Error("bad formula stack");return B[0]}function nu(e,s,r){var h=e.read_shift(4),f=function Sf(e,s,r){for(var f,T,h=e.l+s,D=[];h!=e.l;)s=h-e.l,f=g_[T=e[e.l]]||g_[Wp[T]],(24===T||25===T)&&(f=(24===T?p_:uC)[e[e.l+1]]),f&&f.f?D.push([f.n,f.f(e,s,r)]):Vs(e,s);return D}(e,h,r),T=e.read_shift(4);return[f,T>0?Bh(e,T,f,r):null]}var v_=nu,Og=nu,Lv=nu,_c=nu,gC={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Lg={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},pC={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Kp(e){return("of:="+e.replace(Sp,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function I_(e){return e.replace(/\./,"!")}var Uh=typeof Map<"u";function Jp(e,s,r){var h=0,f=e.length;if(r){if(Uh?r.has(s):Object.prototype.hasOwnProperty.call(r,s))for(var T=Uh?r.get(s):r[s];h-1?(r.width=Xu(h),r.customWidth=1):null!=s.width&&(r.width=s.width),s.hidden&&(r.hidden=!0),null!=s.level&&(r.outlineLevel=r.level=s.level),r}function xd(e,s){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==s&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function id(e,s,r){var h=r.revssf[null!=s.z?s.z:"General"],f=60,T=e.length;if(null==h&&r.ssf)for(;f<392;++f)if(null==r.ssf[f]){ke(s.z,f),r.ssf[f]=s.z,r.revssf[s.z]=h=f;break}for(f=0;f!=T;++f)if(e[f].numFmtId===h)return f;return e[T]={numFmtId:h,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},T}function rd(e,s,r){if(e&&e["!ref"]){var h=is(e["!ref"]);if(h.e.c"u"&&(e.z=qn[14]);break;default:f=e.v}var B=vo("v",Vr(f)),ee={r:s},se=id(h.cellXfs,e,h);switch(0!==se&&(ee.s=se),e.t){case"n":case"z":break;case"d":ee.t="d";break;case"b":ee.t="b";break;case"e":ee.t="e";break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(h&&h.bookSST){B=vo("v",""+Jp(h.Strings,e.v,h.revStrings)),ee.t="s";break}ee.t="str"}if(e.t!=T&&(e.t=T,e.v=D),"string"==typeof e.f&&e.f){var de=e.F&&e.F.slice(0,s.length)==s?{t:"array",ref:e.F}:null;B=Ci("f",Vr(e.f),de)+(null!=e.v?B:"")}return e.l&&r["!links"].push([s,e.l]),e.D&&(ee.cm=1),Ci("c",B,ee)}function im(e,s,r,h){var D,f=[ds,Ci("worksheet",null,{xmlns:Qs[0],"xmlns:r":Lr.r})],B="",ee=r.Sheets[r.SheetNames[e]];null==ee&&(ee={});var se=ee["!ref"]||"A1",de=is(se);if(de.e.c>16383||de.e.r>1048575){if(s.WTF)throw new Error("Range "+se+" exceeds format limit A1:XFD1048576");de.e.c=Math.min(de.e.c,16383),de.e.r=Math.min(de.e.c,1048575),se=Wr(de)}h||(h={}),ee["!comments"]=[];var Fe=[];(function vC(e,s,r,h,f){var T=!1,D={},B=null;if("xlsx"!==h.bookType&&s.vbaraw){var ee=s.SheetNames[r];try{s.Workbook&&(ee=s.Workbook.Sheets[r].CodeName||ee)}catch{}T=!0,D.codeName=Ji(Vr(ee))}if(e&&e["!outline"]){var se={summaryBelow:1,summaryRight:1};e["!outline"].above&&(se.summaryBelow=0),e["!outline"].left&&(se.summaryRight=0),B=(B||"")+Ci("outlinePr",null,se)}!T&&!B||(f[f.length]=Ci("sheetPr",B,D))})(ee,r,e,s,f),f[f.length]=Ci("dimension",null,{ref:se}),f[f.length]=function Ys(e,s,r,h){var f={workbookViewId:"0"};return(((h||{}).Workbook||{}).Views||[])[0]&&(f.rightToLeft=h.Workbook.Views[0].RTL?"1":"0"),Ci("sheetViews",Ci("sheetView",null,f),{})}(0,0,0,r),s.sheetFormat&&(f[f.length]=Ci("sheetFormatPr",null,{defaultRowHeight:s.sheetFormat.defaultRowHeight||"16",baseColWidth:s.sheetFormat.baseColWidth||"10",outlineLevelRow:s.sheetFormat.outlineLevelRow||"7"})),null!=ee["!cols"]&&ee["!cols"].length>0&&(f[f.length]=function x_(e,s){for(var h,r=[""],f=0;f!=s.length;++f)(h=s[f])&&(r[r.length]=Ci("col",null,Ng(f,h)));return r[r.length]="",r.join("")}(0,ee["!cols"])),f[D=f.length]="",ee["!links"]=[],null!=ee["!ref"]&&(B=function th(e,s,r,h){var ee,at,f=[],T=[],D=is(e["!ref"]),B="",se="",de=[],Fe=0,Be=0,$e=e["!rows"],rt=Array.isArray(e),Re={r:se},zt=-1;for(Be=D.s.c;Be<=D.e.c;++Be)de[Be]=hs(Be);for(Fe=D.s.r;Fe<=D.e.r;++Fe){for(T=[],se=Ao(Fe),Be=D.s.c;Be<=D.e.c;++Be){ee=de[Be]+se;var Vt=rt?(e[Fe]||[])[Be]:e[ee];void 0!==Vt&&null!=(B=M_(Vt,ee,e,s))&&T.push(B)}(T.length>0||$e&&$e[Fe])&&(Re={r:se},$e&&$e[Fe]&&((at=$e[Fe]).hidden&&(Re.hidden=1),zt=-1,at.hpx?zt=du(at.hpx):at.hpt&&(zt=at.hpt),zt>-1&&(Re.ht=zt,Re.customHeight=1),at.level&&(Re.outlineLevel=at.level)),f[f.length]=Ci("row",T.join(""),Re))}if($e)for(;Fe<$e.length;++Fe)$e&&$e[Fe]&&(Re={r:Fe+1},(at=$e[Fe]).hidden&&(Re.hidden=1),zt=-1,at.hpx?zt=du(at.hpx):at.hpt&&(zt=at.hpt),zt>-1&&(Re.ht=zt,Re.customHeight=1),at.level&&(Re.outlineLevel=at.level),f[f.length]=Ci("row","",Re));return f.join("")}(ee,s),B.length>0&&(f[f.length]=B)),f.length>D+1&&(f[f.length]="",f[D]=f[D].replace("/>",">")),ee["!protect"]&&(f[f.length]=function Pv(e){var s={sheet:1};return AC.forEach(function(r){null!=e[r]&&e[r]&&(s[r]="1")}),IC.forEach(function(r){null!=e[r]&&!e[r]&&(s[r]="0")}),e.password&&(s.password=Ku(e.password).toString(16).toUpperCase()),Ci("sheetProtection",null,s)}(ee["!protect"])),null!=ee["!autofilter"]&&(f[f.length]=function yC(e,s,r,h){var f="string"==typeof e.ref?e.ref:Wr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var T=r.Workbook.Names,D=zo(f);D.s.r==D.e.r&&(D.e.r=zo(s["!ref"]).e.r,f=Wr(D));for(var B=0;B0&&(f[f.length]=function em(e){if(0===e.length)return"";for(var s='',r=0;r!=e.length;++r)s+='';return s+""}(ee["!merges"]));var $e,Be=-1,rt=-1;return ee["!links"].length>0&&(f[f.length]="",ee["!links"].forEach(function(Re){Re[1].Target&&($e={ref:Re[0]},"#"!=Re[1].Target.charAt(0)&&(rt=he(h,-1,Vr(Re[1].Target).replace(/#.*$/,""),Kr.HLINK),$e["r:id"]="rId"+rt),(Be=Re[1].Target.indexOf("#"))>-1&&($e.location=Vr(Re[1].Target.slice(Be+1))),Re[1].Tooltip&&($e.tooltip=Vr(Re[1].Tooltip)),f[f.length]=Ci("hyperlink",null,$e))}),f[f.length]=""),delete ee["!links"],null!=ee["!margins"]&&(f[f.length]=function Rv(e){return xd(e),Ci("pageMargins",null,e)}(ee["!margins"])),(!s||s.ignoreEC||null==s.ignoreEC)&&(f[f.length]=vo("ignoredErrors",Ci("ignoredError",null,{numberStoredAsText:1,sqref:se}))),Fe.length>0&&(rt=he(h,-1,"../drawings/drawing"+(e+1)+".xml",Kr.DRAW),f[f.length]=Ci("drawing",null,{"r:id":"rId"+rt}),ee["!drawing"]=Fe),ee["!comments"].length>0&&(rt=he(h,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Kr.VML),f[f.length]=Ci("legacyDrawing",null,{"r:id":"rId"+rt}),ee["!legacy"]=rt),f.length>1&&(f[f.length]="",f[1]=f[1].replace("/>",">")),f.join("")}function zh(e,s,r,h){var f=function Ug(e,s,r){var h=Vn(145),f=(r["!rows"]||[])[e]||{};h.write_shift(4,e),h.write_shift(4,0);var T=320;f.hpx?T=20*du(f.hpx):f.hpt&&(T=20*f.hpt),h.write_shift(2,T),h.write_shift(1,0);var D=0;f.level&&(D|=f.level),f.hidden&&(D|=16),(f.hpx||f.hpt)&&(D|=32),h.write_shift(1,D),h.write_shift(1,0);var B=0,ee=h.l;h.l+=4;for(var se={r:e,c:0},de=0;de<16;++de)if(!(s.s.c>de+1<<10||s.e.ch.l?h.slice(0,h.l):h}(h,r,s);(f.length>17||(s["!rows"]||[])[h])&&ai(e,0,f)}var rm=po,Lf=yo;var Pu=po,um=yo,Td=["left","right","top","bottom","header","footer"];function z(e,s,r,h,f,T,D){if(void 0===s.v)return!1;var B="";switch(s.t){case"b":B=s.v?"1":"0";break;case"d":(s=Tt(s)).z=s.z||qn[14],s.v=Nr(En(s.v)),s.t="n";break;case"n":case"e":B=""+s.v;break;default:B=s.v}var ee={r,c:h};switch(ee.s=id(f.cellXfs,s,f),s.l&&T["!links"].push([hr(ee),s.l]),s.c&&T["!comments"].push([hr(ee),s.c]),s.t){case"s":case"str":return f.bookSST?(B=Jp(f.Strings,s.v,f.revStrings),ee.t="s",ee.v=B,D?ai(e,18,function iu(e,s,r){return null==r&&(r=Vn(8)),xa(s,r),r.write_shift(4,s.v),r}(0,ee)):ai(e,7,function F_(e,s,r){return null==r&&(r=Vn(12)),ea(s,r),r.write_shift(4,s.v),r}(0,ee))):(ee.t="str",D?ai(e,17,function BC(e,s,r){return null==r&&(r=Vn(8+4*e.v.length)),xa(s,r),Si(e.v,r),r.length>r.l?r.slice(0,r.l):r}(s,ee)):ai(e,6,function YC(e,s,r){return null==r&&(r=Vn(12+4*e.v.length)),ea(s,r),Si(e.v,r),r.length>r.l?r.slice(0,r.l):r}(s,ee))),!0;case"n":return s.v==(0|s.v)&&s.v>-1e3&&s.v<1e3?D?ai(e,13,function RC(e,s,r){return null==r&&(r=Vn(8)),xa(s,r),go(e.v,r),r}(s,ee)):ai(e,2,function LC(e,s,r){return null==r&&(r=Vn(12)),ea(s,r),go(e.v,r),r}(s,ee)):D?ai(e,16,function lm(e,s,r){return null==r&&(r=Vn(12)),xa(s,r),xl(e.v,r),r}(s,ee)):ai(e,5,function kC(e,s,r){return null==r&&(r=Vn(16)),ea(s,r),xl(e.v,r),r}(s,ee)),!0;case"b":return ee.t="b",D?ai(e,15,function L_(e,s,r){return null==r&&(r=Vn(5)),xa(s,r),r.write_shift(1,e.v?1:0),r}(s,ee)):ai(e,4,function EC(e,s,r){return null==r&&(r=Vn(9)),ea(s,r),r.write_shift(1,e.v?1:0),r}(s,ee)),!0;case"e":return ee.t="e",D?ai(e,14,function R_(e,s,r){return null==r&&(r=Vn(8)),xa(s,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}(s,ee)):ai(e,3,function MC(e,s,r){return null==r&&(r=Vn(9)),ea(s,r),r.write_shift(1,e.v),r}(s,ee)),!0}return D?ai(e,12,function xC(e,s,r){return null==r&&(r=Vn(4)),xa(s,r)}(0,ee)):ai(e,1,function k_(e,s,r){return null==r&&(r=Vn(8)),ea(s,r)}(0,ee)),!0}function Jn(e,s,r,h){var f=ra(),T=r.SheetNames[e],D=r.Sheets[T]||{},B=T;try{r&&r.Workbook&&(B=r.Workbook.Sheets[e].CodeName||B)}catch{}var ee=is(D["!ref"]||"A1");if(ee.e.c>16383||ee.e.r>1048575){if(s.WTF)throw new Error("Range "+(D["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");ee.e.c=Math.min(ee.e.c,16383),ee.e.r=Math.min(ee.e.c,1048575)}return D["!links"]=[],D["!comments"]=[],ai(f,129),(r.vbaraw||D["!outline"])&&ai(f,147,function om(e,s,r){null==r&&(r=Vn(84+4*e.length));var h=192;s&&(s.above&&(h&=-65),s.left&&(h&=-129)),r.write_shift(1,h);for(var f=1;f<3;++f)r.write_shift(1,0);return _a({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),$a(e,r),r.slice(0,r.l)}(B,D["!outline"])),ai(f,148,Lf(ee)),function an(e,s,r){ai(e,133),ai(e,137,function d(e,s,r){null==r&&(r=Vn(30));var h=924;return(((s||{}).Views||[])[0]||{}).RTL&&(h|=32),r.write_shift(2,h),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}(0,r)),ai(e,138),ai(e,134)}(f,0,r.Workbook),function we(e,s){!s||!s["!cols"]||(ai(e,390),s["!cols"].forEach(function(r,h){r&&ai(e,60,function dm(e,s,r){null==r&&(r=Vn(18));var h=Ng(e,s);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(h.width||10)),r.write_shift(4,0);var f=0;return s.hidden&&(f|=1),"number"==typeof h.width&&(f|=2),s.level&&(f|=s.level<<8),r.write_shift(2,f),r}(h,r))}),ai(e,391))}(f,D),function Q(e,s,r,h){var f=is(s["!ref"]||"A1"),D="",B=[];ai(e,145);var ee=Array.isArray(s),se=f.e.r;s["!rows"]&&(se=Math.max(f.e.r,s["!rows"].length-1));for(var de=f.s.r;de<=se;++de){D=Ao(de),zh(e,s,f,de);var Fe=!1;if(de<=f.e.r)for(var Be=f.s.c;Be<=f.e.c;++Be){de===f.s.r&&(B[Be]=hs(Be));var $e=ee?(s[de]||[])[Be]:s[B[Be]+D];Fe=!!$e&&z(e,$e,de,Be,h,s,Fe)}}ai(e,146)}(f,D,0,s),function Qn(e,s){s["!protect"]&&ai(e,535,function p(e,s){return null==s&&(s=Vn(66)),s.write_shift(2,e.password?Ku(e.password):0),s.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){s.write_shift(4,r[1]?null==e[r[0]]||e[r[0]]?0:1:null!=e[r[0]]&&e[r[0]]?0:1)}),s}(s["!protect"]))}(f,D),function en(e,s,r,h){if(s["!autofilter"]){var f=s["!autofilter"],T="string"==typeof f.ref?f.ref:Wr(f.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var D=r.Workbook.Names,B=zo(T);B.s.r==B.e.r&&(B.e.r=zo(s["!ref"]).e.r,T=Wr(B));for(var ee=0;ee0){var f=he(h,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Kr.VML);ai(e,551,Vl("rId"+f)),s["!legacy"]=f}}(f,D,e,h),ai(f,130),f.end()}var Gs=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],_u="][*?/\\".split("");function Mc(e,s){if(e.length>31){if(s)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return _u.forEach(function(h){if(-1!=e.indexOf(h)){if(!s)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function Cu(e){var s=[ds];s[s.length]=Ci("workbook",null,{xmlns:Qs[0],"xmlns:r":Lr.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,h={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Gs.forEach(function(B){null!=e.Workbook.WBProps[B[0]]&&e.Workbook.WBProps[B[0]]!=B[1]&&(h[B[0]]=e.Workbook.WBProps[B[0]])}),e.Workbook.WBProps.CodeName&&(h.codeName=e.Workbook.WBProps.CodeName,delete h.CodeName)),s[s.length]=Ci("workbookPr",null,h);var f=e.Workbook&&e.Workbook.Sheets||[],T=0;if(f&&f[0]&&f[0].Hidden){for(s[s.length]="",T=0;T!=e.SheetNames.length&&f[T]&&f[T].Hidden;++T);T==e.SheetNames.length&&(T=0),s[s.length]='',s[s.length]=""}for(s[s.length]="",T=0;T!=e.SheetNames.length;++T){var D={name:Vr(e.SheetNames[T].slice(0,31))};if(D.sheetId=""+(T+1),D["r:id"]="rId"+(T+1),f[T])switch(f[T].Hidden){case 1:D.state="hidden";break;case 2:D.state="veryHidden"}s[s.length]=Ci("sheet",null,D)}return s[s.length]="",r&&(s[s.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(B){var ee={name:B.Name};B.Comment&&(ee.comment=B.Comment),null!=B.Sheet&&(ee.localSheetId=""+B.Sheet),B.Hidden&&(ee.hidden="1"),B.Ref&&(s[s.length]=Ci("definedName",Vr(B.Ref),ee))}),s[s.length]=""),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function nh(e,s){return s||(s=Vn(127)),s.write_shift(4,e.Hidden),s.write_shift(4,e.iTabID),Vl(e.strRelID,s),Si(e.name.slice(0,31),s),s.length>s.l?s.slice(0,s.l):s}function Uv(e,s){var r=ra();return ai(r,131),ai(r,128,function Bv(e,s){s||(s=Vn(127));for(var r=0;4!=r;++r)s.write_shift(4,0);return Si("SheetJS",s),Si(i.version,s),Si(i.version,s),Si("7262",s),s.length>s.l?s.slice(0,s.l):s}()),ai(r,153,function zA(e,s){s||(s=Vn(72));var r=0;return e&&e.filterPrivacy&&(r|=8),s.write_shift(4,r),s.write_shift(4,0),$a(e&&e.CodeName||"ThisWorkbook",s),s.slice(0,s.l)}(e.Workbook&&e.Workbook.WBProps||null)),function DI(e,s){if(s.Workbook&&s.Workbook.Sheets){for(var r=s.Workbook.Sheets,h=0,f=-1,T=-1;hf||(ai(e,135),ai(e,158,function GA(e,s){return s||(s=Vn(29)),s.write_shift(-4,0),s.write_shift(-4,460),s.write_shift(4,28800),s.write_shift(4,17600),s.write_shift(4,500),s.write_shift(4,e),s.write_shift(4,e),s.write_shift(1,120),s.length>s.l?s.slice(0,s.l):s}(f)),ai(e,136))}}(r,e),function Yv(e,s){ai(e,143);for(var r=0;r!=s.SheetNames.length;++r)ai(e,156,nh({Hidden:s.Workbook&&s.Workbook.Sheets&&s.Workbook.Sheets[r]&&s.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:s.SheetNames[r]}));ai(e,144)}(r,e),ai(r,132),r.end()}function ZC(e,s,r,h,f){return(".bin"===s.slice(-4)?Jn:im)(e,r,h,f)}function Vg(e,s,r){return(".bin"===s.slice(-4)?Mv:kh)(e,r)}function XA(e){return Ci("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Af(e.Ref,{r:0,c:0})})}function LI(e,s,r,h,f,T,D){if(!e||null==e.v&&null==e.f)return"";var B={};if(e.f&&(B["ss:Formula"]="="+Vr(Af(e.f,D))),e.F&&e.F.slice(0,s.length)==s){var ee=Io(e.F.slice(s.length+1));B["ss:ArrayRange"]="RC:R"+(ee.r==D.r?"":"["+(ee.r-D.r)+"]")+"C"+(ee.c==D.c?"":"["+(ee.c-D.c)+"]")}if(e.l&&e.l.Target&&(B["ss:HRef"]=Vr(e.l.Target),e.l.Tooltip&&(B["x:HRefScreenTip"]=Vr(e.l.Tooltip))),r["!merges"])for(var se=r["!merges"],de=0;de!=se.length;++de)se[de].s.c!=D.c||se[de].s.r!=D.r||(se[de].e.c>se[de].s.c&&(B["ss:MergeAcross"]=se[de].e.c-se[de].s.c),se[de].e.r>se[de].s.r&&(B["ss:MergeDown"]=se[de].e.r-se[de].s.r));var Fe="",Be="";switch(e.t){case"z":if(!h.sheetStubs)return"";break;case"n":Fe="Number",Be=String(e.v);break;case"b":Fe="Boolean",Be=e.v?"1":"0";break;case"e":Fe="Error",Be=Ea[e.v];break;case"d":Fe="DateTime",Be=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||qn[14]);break;case"s":Fe="String",Be=function Rn(e){return(e+"").replace(Ho,function(r){return $r[r]}).replace($o,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}(e.v||"")}var $e=id(h.cellXfs,e,h);B["ss:StyleID"]="s"+(21+$e),B["ss:Index"]=D.c+1;var Re="z"==e.t?"":''+(null!=e.v?Be:"")+"";return(e.c||[]).length>0&&(Re+=function t1(e){return e.map(function(s){var r=function Aa(e){return e.replace(/(\r\n|[\r\n])/g," ")}(s.t||""),h=Ci("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Ci("Comment",h,{"ss:Author":s.a})}).join("")}(e.c)),Ci("Cell",Re,B)}function n1(e,s){var r='"}function r1(e,s,r){var h=[],T=r.Sheets[r.SheetNames[e]],D=T?function e1(e,s,r,h){if(!e||!((h||{}).Workbook||{}).Names)return"";for(var f=h.Workbook.Names,T=[],D=0;D0&&h.push(""+D+""),D=T?function i1(e,s,r,h){if(!e["!ref"])return"";var f=is(e["!ref"]),T=e["!merges"]||[],D=0,B=[];e["!cols"]&&e["!cols"].forEach(function(at,zt){Wc(at);var Vt=!!at.width,kt=Ng(zt,at),wn={"ss:Index":zt+1};Vt&&(wn["ss:Width"]=Vc(kt.width)),at.hidden&&(wn["ss:Hidden"]="1"),B.push(Ci("Column",null,wn))});for(var ee=Array.isArray(e),se=f.s.r;se<=f.e.r;++se){for(var de=[n1(se,(e["!rows"]||[])[se])],Fe=f.s.c;Fe<=f.e.c;++Fe){var Be=!1;for(D=0;D!=T.length;++D)if(!(T[D].s.c>Fe||T[D].s.r>se||T[D].e.c"),de.length>2&&B.push(de.join(""))}return B.join("")}(T,s):"",D.length>0&&h.push(""+D+"
"),h.push(function OI(e,s,r,h){if(!e)return"";var f=[];if(e["!margins"]&&(f.push(""),e["!margins"].header&&f.push(Ci("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&f.push(Ci("Footer",null,{"x:Margin":e["!margins"].footer})),f.push(Ci("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),f.push("")),h&&h.Workbook&&h.Workbook.Sheets&&h.Workbook.Sheets[r])if(h.Workbook.Sheets[r].Hidden)f.push(Ci("Visible",1==h.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var T=0;T")}return((((h||{}).Workbook||{}).Views||[])[0]||{}).RTL&&f.push(""),e["!protect"]&&(f.push(vo("ProtectContents","True")),e["!protect"].objects&&f.push(vo("ProtectObjects","True")),e["!protect"].scenarios&&f.push(vo("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null!=e["!protect"].selectUnlockedCells&&!e["!protect"].selectUnlockedCells&&f.push(vo("EnableSelection","UnlockedCells")):f.push(vo("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(D){e["!protect"][D[0]]&&f.push("<"+D[1]+"/>")})),0==f.length?"":Ci("WorksheetOptions",f.join(""),{xmlns:Hs.x})}(T,0,e,r)),h.join("")}function $C(e,s){s||(s={}),e.SSF||(e.SSF=Tt(qn)),e.SSF&&(Ae(),ge(e.SSF),s.revssf=xs(e.SSF),s.revssf[e.SSF[65535]]=0,s.ssf=e.SSF,s.cellXfs=[],id(s.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(function GC(e,s){var r=[];return e.Props&&r.push(function Ei(e,s){var r=[];return Ki(Cn).map(function(h){for(var f=0;f'+f.join("")+""}(e.Props,e.Custprops)),r.join("")}(e,s)),r.push(""),r.push(""),r.push("");for(var h=0;h'];return s.cellXfs.forEach(function(h,f){var T=[];T.push(Ci("NumberFormat",null,{"ss:Format":Vr(qn[h.numFmtId])}));var D={"ss:ID":"s"+(21+f)};r.push(Ci("Style",T.join(""),D))}),Ci("Styles",r.join(""))}(0,s),r[3]=function qA(e){if(!((e||{}).Workbook||{}).Names)return"";for(var s=e.Workbook.Names,r=[],h=0;h0&&(h.family=B);var ee=e.read_shift(1);switch(ee>0&&(h.charset=ee),e.l++,h.color=function Xl(e){var s={},h=e.read_shift(1)>>>1,f=e.read_shift(1),T=e.read_shift(2,"i"),D=e.read_shift(1),B=e.read_shift(1),ee=e.read_shift(1);switch(e.l++,h){case 0:s.auto=1;break;case 1:s.index=f;var se=Oa[f];se&&(s.rgb=Cd(se));break;case 2:s.rgb=Cd([D,B,ee]);break;case 3:s.theme=f}return 0!=T&&(s.tint=T>0?T/32767:T/32768),s}(e),e.read_shift(1)){case 1:h.scheme="major";break;case 2:h.scheme="minor"}return h.name=Hn(e),h}},44:{f:function xh(e,s){return[e.read_shift(2),Hn(e)]}},45:{f:E0},46:{f:jm},47:{f:function $d(e,s){var r=e.l+s,h=e.read_shift(2),f=e.read_shift(2);return e.l=r,{ixfe:h,numFmtId:f}}},48:{},49:{f:function Ut(e){return e.read_shift(4,"i")}},50:{},51:{f:function vp(e){for(var s=[],r=e.read_shift(4);r-- >0;)s.push([e.read_shift(4),e.read_shift(4)]);return s}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:function up(e,s,r){if(!r.cellStyles)return Vs(e,s);var h=r&&r.biff>=12?4:2,f=e.read_shift(h),T=e.read_shift(h),D=e.read_shift(h),B=e.read_shift(h),ee=e.read_shift(2);2==h&&(e.l+=2);var se={s:f,e:T,w:D,ixfe:B,flags:ee};return(r.biff>=5||!r.biff)&&(se.level=ee>>8&7),se}},62:{f:function NC(e){return[rs(e),ls(e),"is"]}},63:{f:function yp(e){var s={};s.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),s.r=hr(r);var h=e.read_shift(1);return 2&h&&(s.l="1"),8&h&&(s.a="1"),s}},64:{f:function _(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Vs,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function u(e){var s=e.read_shift(2);return e.l+=28,{RTL:32&s}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function sm(e,s){var r={},h=e[e.l];return++e.l,r.above=!(64&h),r.left=!(128&h),e.l+=18,r.name=Ya(e,s-19),r}},148:{f:rm,p:16},151:{f:function B_(){}},152:{},153:{f:function jA(e,s){var r={},h=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var f=s>8?Hn(e):"";return f.length>0&&(r.CodeName=f),r.autoCompressPictures=!!(65536&h),r.backupFile=!!(64&h),r.checkCompatibility=!!(4096&h),r.date1904=!!(1&h),r.filterPrivacy=!!(8&h),r.hidePivotFieldList=!!(1024&h),r.promptedSolutions=!!(16&h),r.publishItems=!!(2048&h),r.refreshAllConnections=!!(262144&h),r.saveExternalLinkValues=!!(128&h),r.showBorderUnselectedTables=!!(4&h),r.showInkAnnotation=!!(32&h),r.showObjects=["all","placeholders","none"][h>>13&3],r.showPivotChartFilter=!!(32768&h),r.updateLinks=["userSet","never","always"][h>>8&3],r}},154:{},155:{},156:{f:function Rf(e,s){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Es(e,s-8),r.name=Hn(e),r}},157:{},158:{},159:{T:1,f:function ul(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:po},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Pu},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function Cp(e,s){return{flags:e.read_shift(4),version:e.read_shift(4),name:Hn(e)}}},336:{T:-1},337:{f:function bg(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Es},357:{},358:{},359:{},360:{T:1},361:{},362:{f:function _h(e,s,r){if(r.biff<8)return function Ch(e,s,r){3==e[e.l+1]&&e[e.l]++;var h=Dl(e,0,r);return 3==h.charCodeAt(0)?h.slice(1):h}(e,0,r);for(var h=[],f=e.l+s,T=e.read_shift(r.biff>8?4:2);0!=T--;)h.push(uh(e,0,r));if(e.l!=f)throw new Error("Bad ExternSheet: "+e.l+" != "+f);return h}},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function sd(e,s,r){var h=e.l+s,f=Fl(e),T=e.read_shift(1),D=[f];if(D[2]=T,r.cellFormula){var B=v_(e,h-e.l,r);D[1]=B}else e.l=h;return D}},427:{f:function Vh(e,s,r){var h=e.l+s,T=[po(e,16)];if(r.cellFormula){var D=_c(e,h-e.l,r);T[1]=D,e.l=h}else e.l=h;return T}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function hm(e){var s={};return Td.forEach(function(r){s[r]=ma(e)}),s}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function S_(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function zC(e,s){var r=e.l+s,h=po(e,16),f=fo(e),T=Hn(e),D=Hn(e),B=Hn(e);e.l=r;var ee={rfx:h,relId:f,loc:T,display:B};return D&&(ee.Tooltip=D),ee}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Es},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:e_},633:{T:1},634:{T:-1},635:{T:1,f:function Xd(e){var s={};s.iauthor=e.read_shift(4);var r=po(e,16);return s.rfx=r.s,s.ref=hr(r.s),e.l+=16,s}},636:{T:-1},637:{f:Ws},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function vr(e,s){return e.l+=10,{name:Hn(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function w(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function zi(e,s,r,h){var f=s;if(!isNaN(f)){var T=h||(r||[]).length||0,D=e.next(4);D.write_shift(2,f),D.write_shift(2,T),T>0&&ro(r)&&e.push(r)}}function G_(e,s,r){return e||(e=Vn(7)),e.write_shift(2,s),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function JC(e,s,r,h){if(null!=s.v)switch(s.t){case"d":case"n":var f="d"==s.t?Nr(En(s.v)):s.v;return void(f==(0|f)&&f>=0&&f<65536?zi(e,2,function yh(e,s,r){var h=Vn(9);return G_(h,e,s),h.write_shift(2,r),h}(r,h,f)):zi(e,3,function Ih(e,s,r){var h=Vn(15);return G_(h,e,s),h.write_shift(8,r,"f"),h}(r,h,f)));case"b":case"e":return void zi(e,5,function a1(e,s,r,h){var f=Vn(9);return G_(f,e,s),zl(r,h||"b",f),f}(r,h,s.v,s.t));case"s":case"str":return void zi(e,4,function l1(e,s,r){var h=Vn(8+2*r.length);return G_(h,e,s),h.write_shift(1,r.length),h.write_shift(r.length,r,"sbcs"),h.l255||$e.e.r>=rt){if(s.WTF)throw new Error("Range "+(T["!ref"]||"A1")+" exceeds format limit A1:IV16384");$e.e.c=Math.min($e.e.c,255),$e.e.r=Math.min($e.e.c,rt-1)}zi(h,2057,Vf(0,16,s)),zi(h,13,jl(1)),zi(h,12,jl(100)),zi(h,15,fs(!0)),zi(h,17,fs(!1)),zi(h,16,xl(.001)),zi(h,95,fs(!0)),zi(h,42,fs(!1)),zi(h,43,fs(!1)),zi(h,130,jl(1)),zi(h,128,function Eu(e){var s=Vn(8);return s.write_shift(4,0),s.write_shift(2,e[0]?e[0]+1:0),s.write_shift(2,e[1]?e[1]+1:0),s}([0,0])),zi(h,131,fs(!1)),zi(h,132,fs(!1)),se&&function h1(e,s){if(s){var r=0;s.forEach(function(h,f){++r<=256&&h&&zi(e,125,function dp(e,s){var r=Vn(12);r.write_shift(2,s),r.write_shift(2,s),r.write_shift(2,256*e.width),r.write_shift(2,0);var h=0;return e.hidden&&(h|=1),r.write_shift(1,h),r.write_shift(1,h=e.level||0),r.write_shift(2,0),r}(Ng(f,h),f))})}}(h,T["!cols"]),zi(h,512,function nf(e,s){var r=8!=s.biff&&s.biff?2:4,h=Vn(2*r+6);return h.write_shift(r,e.s.r),h.write_shift(r,e.e.r+1),h.write_shift(2,e.s.c),h.write_shift(2,e.e.c+1),h.write_shift(2,0),h}($e,s)),se&&(T["!links"]=[]);for(var Re=$e.s.r;Re<=$e.e.r;++Re){Fe=Ao(Re);for(var at=$e.s.c;at<=$e.e.c;++at){Re===$e.s.r&&(Be[at]=hs(at)),de=Be[at]+Fe;var zt=ee?(T[Re]||[])[at]:T[de];zt&&(f1(h,zt,Re,at,s),se&&zt.l&&T["!links"].push([de,zt.l]))}}var Vt=B.CodeName||B.name||f;return se&&zi(h,574,function Rm(e){var s=Vn(18),r=1718;return e&&e.RTL&&(r|=64),s.write_shift(2,r),s.write_shift(4,0),s.write_shift(4,64),s.write_shift(4,0),s.write_shift(4,0),s}((D.Views||[])[0])),se&&(T["!merges"]||[]).length&&zi(h,229,function ap(e){var s=Vn(2+8*e.length);s.write_shift(2,e.length);for(var r=0;r255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}var T=s||{};switch(T.biff||2){case 8:case 5:return function QC(e,s){var r=s||{},h=[];e&&!e.SSF&&(e.SSF=Tt(qn)),e&&e.SSF&&(Ae(),ge(e.SSF),r.revssf=xs(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,n0(r),r.cellXfs=[],id(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var f=0;f255||T.e.r>16383){if(h.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:IV16384");T.e.c=Math.min(T.e.c,255),T.e.r=Math.min(T.e.c,16383),D=Wr(T)}for(var se=T.s.r;se<=T.e.r;++se){B=Ao(se);for(var de=T.s.c;de<=T.e.c;++de){se===T.s.r&&(ee[de]=hs(de)),D=ee[de]+B;var Fe=f?(s[se]||[])[de]:s[D];Fe&&JC(e,Fe,se,de)}}}(h,e.Sheets[e.SheetNames[f]],0,r),zi(h,10),h.end()}(e,s)}throw new Error("invalid type "+T.bookType+" for BIFF")}function Am(e,s,r,h){for(var f=e["!merges"]||[],T=[],D=s.s.c;D<=s.e.c;++D){for(var B=0,ee=0,se=0;ser||f[se].s.c>D||f[se].e.r1&&($e.rowspan=B),ee>1&&($e.colspan=ee),h.editable?Be=''+Be+"":Fe&&($e["data-t"]=Fe&&Fe.t||"z",null!=Fe.v&&($e["data-v"]=Fe.v),null!=Fe.z&&($e["data-z"]=Fe.z),Fe.l&&"#"!=(Fe.l.Target||"#").charAt(0)&&(Be=''+Be+"")),$e.id=(h.id||"sjs")+"-"+de,T.push(Ci("td",Be,$e))}}return""+T.join("")+""}var Im='SheetJS Table Export',K_="";function rA(e,s){var r=s||{},f=null!=r.footer?r.footer:K_,T=[null!=r.header?r.header:Im],D=zo(e["!ref"]);r.dense=Array.isArray(e),T.push(function iA(e,s,r){return[].join("")+""}(0,0,r));for(var B=D.s.r;B<=D.e.r;++B)T.push(Am(e,D,B,r));return T.push(""+f),T.join("")}function sA(e,s,r){var h=r||{};null!=Se&&(h.dense=Se);var f=0,T=0;if(null!=h.origin)if("number"==typeof h.origin)f=h.origin;else{var D="string"==typeof h.origin?Io(h.origin):h.origin;f=D.r,T=D.c}var B=s.getElementsByTagName("tr"),ee=Math.min(h.sheetRows||1e7,B.length),se={s:{r:0,c:0},e:{r:f,c:T}};if(e["!ref"]){var de=zo(e["!ref"]);se.s.r=Math.min(se.s.r,de.s.r),se.s.c=Math.min(se.s.c,de.s.c),se.e.r=Math.max(se.e.r,de.e.r),se.e.c=Math.max(se.e.c,de.e.c),-1==f&&(se.e.r=f=de.e.r+1)}var Fe=[],Be=0,$e=e["!rows"]||(e["!rows"]=[]),rt=0,Re=0,at=0,zt=0,Vt=0,kt=0;for(e["!cols"]||(e["!cols"]=[]);rt1||kt>1)&&Fe.push({s:{r:Re+f,c:zt+T},e:{r:Re+f+(Vt||1)-1,c:zt+T+(kt||1)-1}});var ti={t:"s",v:rn},ri=ei.getAttribute("data-t")||ei.getAttribute("t")||"";null!=rn&&(0==rn.length?ti.t=ri||"z":h.raw||0==rn.trim().length||"s"==ri||("TRUE"===rn?ti={t:"b",v:!0}:"FALSE"===rn?ti={t:"b",v:!1}:isNaN(Yn(rn))?isNaN(Gi(rn).getDate())||(ti={t:"d",v:En(rn)},h.cellDates||(ti={t:"n",v:Nr(ti.v)}),ti.z=h.dateNF||qn[14]):ti={t:"n",v:Yn(rn)})),void 0===ti.z&&null!=Nn&&(ti.z=Nn);var kn="",$i=ei.getElementsByTagName("A");if($i&&$i.length)for(var Ar=0;Ar<$i.length&&(!$i[Ar].hasAttribute("href")||"#"==(kn=$i[Ar].getAttribute("href")).charAt(0));++Ar);kn&&"#"!=kn.charAt(0)&&(ti.l={Target:kn}),h.dense?(e[Re+f]||(e[Re+f]=[]),e[Re+f][zt+T]=ti):e[hr({c:zt+T,r:Re+f})]=ti,se.e.c=ee&&(e["!fullref"]=Wr((se.e.r=B.length-rt+Re-1+f,se))),e}function ym(e,s){return sA((s||{}).dense?[]:{},e,s)}function Q_(e){var s="",r=function oA(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return r&&(s=r(e).getPropertyValue("display")),s||(s=e.style&&e.style.display),"none"===s}var ev=function(){var e=["",'',"",'',"",'',"",""].join(""),s=""+e+"";return function(){return ds+s}}(),tv=function(){var e=function(T){return Vr(T).replace(/ +/g,function(D){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},s=" \n",h=function(T,D,B){var ee=[];ee.push(' \n');var se=0,de=0,Fe=zo(T["!ref"]||"A1"),Be=T["!merges"]||[],$e=0,rt=Array.isArray(T);if(T["!cols"])for(de=0;de<=Fe.e.c;++de)ee.push(" \n");var at=T["!rows"]||[];for(se=0;se\n");for(;se<=Fe.e.r;++se){for(ee.push(" \n"),de=0;dede||Be[$e].s.r>se||Be[$e].e.c\n");else{var wn=hr({r:se,c:de}),Un=rt?(T[se]||[])[de]:T[wn];if(Un&&Un.f&&(Vt["table:formula"]=Vr(Kp(Un.f)),Un.F&&Un.F.slice(0,wn.length)==wn)){var ei=zo(Un.F);Vt["table:number-matrix-columns-spanned"]=ei.e.c-ei.s.c+1,Vt["table:number-matrix-rows-spanned"]=ei.e.r-ei.s.r+1}if(Un){switch(Un.t){case"b":kt=Un.v?"TRUE":"FALSE",Vt["office:value-type"]="boolean",Vt["office:boolean-value"]=Un.v?"true":"false";break;case"n":kt=Un.w||String(Un.v||0),Vt["office:value-type"]="float",Vt["office:value"]=Un.v||0;break;case"s":case"str":kt=null==Un.v?"":Un.v,Vt["office:value-type"]="string";break;case"d":kt=Un.w||En(Un.v).toISOString(),Vt["office:value-type"]="date",Vt["office:date-value"]=En(Un.v).toISOString(),Vt["table:style-name"]="ce1";break;default:ee.push(s);continue}var rn=e(kt);if(Un.l&&Un.l.Target){var Nn=Un.l.Target;"#"!=(Nn="#"==Nn.charAt(0)?"#"+I_(Nn.slice(1)):Nn).charAt(0)&&!Nn.match(/^\w+:/)&&(Nn="../"+Nn),rn=Ci("text:a",rn,{"xlink:href":Nn.replace(/&/g,"&")})}ee.push(" "+Ci("table:table-cell",Ci("text:p",rn,{}),Vt)+"\n")}else ee.push(s)}}ee.push(" \n")}return ee.push(" \n"),ee.join("")};return function(D,B){var ee=[ds],se=io({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),de=io({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==B.bookType?(ee.push("\n"),ee.push(M().replace(/office:document-meta/g,"office:meta"))):ee.push("\n"),function(T,D){T.push(" \n"),T.push(' \n'),T.push(' \n'),T.push(" /\n"),T.push(' \n'),T.push(" /\n"),T.push(" \n"),T.push(" \n");var B=0;D.SheetNames.map(function(se){return D.Sheets[se]}).forEach(function(se){if(se&&se["!cols"])for(var de=0;de\n'),T.push(' \n'),T.push(" \n"),++B}});var ee=0;D.SheetNames.map(function(se){return D.Sheets[se]}).forEach(function(se){if(se&&se["!rows"])for(var de=0;de\n'),T.push(' \n'),T.push(" \n"),++ee}}),T.push(' \n'),T.push(' \n'),T.push(" \n"),T.push(' \n'),T.push(" \n")}(ee,D),ee.push(" \n"),ee.push(" \n");for(var Fe=0;Fe!=D.SheetNames.length;++Fe)ee.push(h(D.Sheets[D.SheetNames[Fe]],D,Fe));return ee.push(" \n"),ee.push(" \n"),ee.push("fods"==B.bookType?"":""),ee.join("")}}();function lA(e,s){if("fods"==s.bookType)return tv(e,s);var r=Cr(),h="",f=[],T=[];return er(r,h="mimetype","application/vnd.oasis.opendocument.spreadsheet"),er(r,h="content.xml",tv(e,s)),f.push([h,"text/xml"]),T.push([h,"ContentFile"]),er(r,h="styles.xml",ev(e,s)),f.push([h,"text/xml"]),T.push([h,"StylesFile"]),er(r,h="meta.xml",ds+M()),f.push([h,"text/xml"]),T.push([h,"MetadataFile"]),er(r,h="manifest.rdf",function v(e){var s=[ds];s.push('\n');for(var r=0;r!=e.length;++r)s.push(je(e[r][0],e[r][1])),s.push(E("",e[r][0]));return s.push(je("","Document","pkg")),s.push(""),s.join("")}(T)),f.push([h,"application/rdf+xml"]),er(r,h="META-INF/manifest.xml",function Ue(e){var s=[ds];s.push('\n'),s.push(' \n');for(var r=0;r\n');return s.push(""),s.join("")}(f)),r}function $h(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function cA(e){return typeof TextEncoder<"u"?(new TextEncoder).encode(e):Ge(Ji(e))}function Kh(e){var s=e.reduce(function(f,T){return f+T.length},0),r=new Uint8Array(s),h=0;return e.forEach(function(f){r.set(f,h),h+=f.length}),r}function Jh(e,s){var r=s?s[0]:0,h=127&e[r];e:if(e[r++]>=128&&(h|=(127&e[r])<<7,e[r++]<128||(h|=(127&e[r])<<14,e[r++]<128)||(h|=(127&e[r])<<21,e[r++]<128)||(h+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)||(h+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)||(h+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)))break e;return s&&(s[0]=r),h}function wa(e){var s=new Uint8Array(7);s[0]=127&e;var r=1;e:if(e>127){if(s[r-1]|=128,s[r]=e>>7&127,++r,e<=16383||(s[r-1]|=128,s[r]=e>>14&127,++r,e<=2097151)||(s[r-1]|=128,s[r]=e>>21&127,++r,e<=268435455)||(s[r-1]|=128,s[r]=e/256>>>21&127,++r,e<=34359738367)||(s[r-1]|=128,s[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;s[r-1]|=128,s[r]=e/16777216>>>21&127,++r}return s.slice(0,r)}function $l(e){var s=0,r=127&e[s];e:if(e[s++]>=128){if(r|=(127&e[s])<<7,e[s++]<128||(r|=(127&e[s])<<14,e[s++]<128)||(r|=(127&e[s])<<21,e[s++]<128))break e;r|=(127&e[s])<<28}return r}function va(e){for(var s=[],r=[0];r[0]=128;);B=e.slice(ee,r[0]);break;case 5:B=e.slice(r[0],r[0]+(D=4)),r[0]+=D;break;case 1:B=e.slice(r[0],r[0]+(D=8)),r[0]+=D;break;case 2:D=Jh(e,r),B=e.slice(r[0],r[0]+D),r[0]+=D;break;default:throw new Error("PB Type ".concat(T," for Field ").concat(f," at offset ").concat(h))}var se={data:B,type:T};null==s[f]?s[f]=[se]:s[f].push(se)}return s}function Dc(e){var s=[];return e.forEach(function(r,h){r.forEach(function(f){f.data&&(s.push(wa(8*h+f.type)),2==f.type&&s.push(wa(f.data.length)),s.push(f.data))})}),Kh(s)}function vu(e){for(var s,r=[],h=[0];h[0]>>0>0),r.push(D)}return r}function Bf(e){var s=[];return e.forEach(function(r){var h=[];h[1]=[{data:wa(r.id),type:0}],h[2]=[],null!=r.merge&&(h[3]=[{data:wa(+!!r.merge),type:0}]);var f=[];r.messages.forEach(function(D){f.push(D.data),D.meta[3]=[{type:0,data:wa(D.data.length)}],h[2].push({data:Dc(D.meta),type:2})});var T=Dc(h);s.push(wa(T.length)),s.push(T),f.forEach(function(D){return s.push(D)})}),Kh(s)}function hA(e,s){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],h=Jh(s,r),f=[];r[0]>2&7),ee=(224&s[r[0]++])<<3,ee|=s[r[0]++]):(se=1+(s[r[0]++]>>2),2==T?(ee=s[r[0]]|s[r[0]+1]<<8,r[0]+=2):(ee=(s[r[0]]|s[r[0]+1]<<8|s[r[0]+2]<<16|s[r[0]+3]<<24)>>>0,r[0]+=4)),f=[Kh(f)],0==ee)throw new Error("Invalid offset 0");if(ee>f[0].length)throw new Error("Invalid offset beyond length");if(se>=ee)for(f.push(f[0].slice(-ee)),se-=ee;se>=f[f.length-1].length;)f.push(f[f.length-1]),se-=f[f.length-1].length;f.push(f[0].slice(-ee,-ee+se))}else{var D=s[r[0]++]>>2;if(D<60)++D;else{var B=D-59;D=s[r[0]],B>1&&(D|=s[r[0]+1]<<8),B>2&&(D|=s[r[0]+2]<<16),B>3&&(D|=s[r[0]+3]<<24),D>>>=0,D++,r[0]+=B}f.push(s.slice(r[0],r[0]+D)),r[0]+=D}}var de=Kh(f);if(de.length!=h)throw new Error("Unexpected length: ".concat(de.length," != ").concat(h));return de}function ru(e){for(var s=[],r=0;r>8&255]))):h<=16777216?(D+=4,s.push(new Uint8Array([248,h-1&255,h-1>>8&255,h-1>>16&255]))):h<=4294967296&&(D+=5,s.push(new Uint8Array([252,h-1&255,h-1>>8&255,h-1>>16&255,h-1>>>24&255]))),s.push(e.slice(r,r+h)),D+=h,f[0]=0,f[1]=255&D,f[2]=D>>8&255,f[3]=D>>16&255,r+=h}return Kh(s)}function bm(e,s){var r=new Uint8Array(32),h=$h(r),f=12,T=0;switch(r[0]=5,e.t){case"n":r[1]=2,function iv(e,s,r){var h=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,f=r/Math.pow(10,h-6176);e[s+15]|=h>>7,e[s+14]|=(127&h)<<1;for(var T=0;f>=1;++T,f/=256)e[s+T]=255&f;e[s+15]|=r>=0?0:128}(r,f,e.v),T|=1,f+=16;break;case"b":r[1]=6,h.setFloat64(f,e.v?1:0,!0),T|=2,f+=8;break;case"s":if(-1==s.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,h.setUint32(f,s.indexOf(e.v),!0),T|=8,f+=4;break;default:throw"unsupported cell type "+e.t}return h.setUint32(8,T,!0),r.slice(0,f)}function ih(e,s){var r=new Uint8Array(32),h=$h(r),f=12,T=0;switch(r[0]=3,e.t){case"n":r[2]=2,h.setFloat64(f,e.v,!0),T|=32,f+=8;break;case"b":r[2]=6,h.setFloat64(f,e.v?1:0,!0),T|=32,f+=8;break;case"s":if(-1==s.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,h.setUint32(f,s.indexOf(e.v),!0),T|=16,f+=4;break;default:throw"unsupported cell type "+e.t}return h.setUint32(4,T,!0),r.slice(0,f)}function qc(e){return Jh(va(e)[1][0].data)}function y1(e,s,r){var h,f,T,D;if(null==(h=e[6])||!h[0]||null==(f=e[7])||!f[0])throw"Mutation only works on post-BNC storages!";if((null==(D=null==(T=e[8])?void 0:T[0])?void 0:D.data)&&$l(e[8][0].data)>0)throw"Math only works with normal offsets";for(var ee=0,se=$h(e[7][0].data),de=0,Fe=[],Be=$h(e[4][0].data),$e=0,rt=[],Re=0;Re1&&console.error("The Numbers writer currently writes only the first table");var h=zo(r["!ref"]);h.s.r=h.s.c=0;var f=!1;h.e.c>9&&(f=!0,h.e.c=9),h.e.r>49&&(f=!0,h.e.r=49),f&&console.error("The Numbers writer is currently limited to ".concat(Wr(h)));var T=wm(r,{range:h,header:1}),D=["~Sh33tJ5~"];T.forEach(function(_n){return _n.forEach(function(pn){"string"==typeof pn&&D.push(pn)})});var B={},ee=[],se=nn.read(s.numbers,{type:"base64"});se.FileIndex.map(function(_n,pn){return[_n,se.FullPaths[pn]]}).forEach(function(_n){var pn=_n[0],ui=_n[1];2==pn.type&&pn.name.match(/\.iwa/)&&vu(ru(pn.content)).forEach(function(Ii){ee.push(Ii.id),B[Ii.id]={deps:[],location:ui,type:$l(Ii.messages[0].meta[1][0].data)}})}),ee.sort(function(_n,pn){return _n-pn});var de=ee.filter(function(_n){return _n>1}).map(function(_n){return[_n,wa(_n)]});se.FileIndex.map(function(_n,pn){return[_n,se.FullPaths[pn]]}).forEach(function(_n){var pn=_n[0];pn.name.match(/\.iwa/)&&vu(ru(pn.content)).forEach(function(ji){ji.messages.forEach(function(Zi){de.forEach(function(Ii){ji.messages.some(function(xo){return 11006!=$l(xo.meta[1][0].data)&&function uA(e,s){e:for(var r=0;r<=e.length-s.length;++r){for(var h=0;h-1,f={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};n0(s=s||{});var T=Cr(),D="",B=0;if(s.cellXfs=[],id(s.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),er(T,D="docProps/core.xml",q(e.Props,s)),f.coreprops.push(D),he(s.rels,2,D,Kr.CORE_PROPS),D="docProps/app.xml",!e.Props||!e.Props.SheetNames)if(e.Workbook&&e.Workbook.Sheets){for(var ee=[],se=0;se0&&(er(T,D="docProps/custom.xml",Xt(e.Custprops)),f.custprops.push(D),he(s.rels,4,D,Kr.CUST_PROPS)),B=1;B<=e.SheetNames.length;++B){var de={"!id":{}},Fe=e.Sheets[e.SheetNames[B-1]];if(er(T,D="xl/worksheets/sheet"+B+"."+r,ZC(B-1,D,s,e,de)),f.sheets.push(D),he(s.wbrels,-1,"worksheets/sheet"+B+"."+r,Kr.WS[0]),Fe){var $e=Fe["!comments"],rt=!1,Re="";$e&&$e.length>0&&(er(T,Re="xl/comments"+B+"."+r,Vg($e,Re,s)),f.comments.push(Re),he(de,-1,"../comments"+B+"."+r,Kr.CMNT),rt=!0),Fe["!legacy"]&&rt&&er(T,"xl/drawings/vmlDrawing"+B+".vml",bp(B,Fe["!comments"])),delete Fe["!comments"],delete Fe["!legacy"]}de["!id"].rId1&&er(T,oo(D),dc(de))}return null!=s.Strings&&s.Strings.length>0&&(er(T,D="xl/sharedStrings."+r,function zg(e,s,r){return(".bin"===s.slice(-4)?ca:eo)(e,r)}(s.Strings,D,s)),f.strs.push(D),he(s.wbrels,-1,"sharedStrings."+r,Kr.SST)),er(T,D="xl/workbook."+r,function Ru(e,s,r){return(".bin"===s.slice(-4)?Uv:Cu)(e,r)}(e,D,s)),f.workbooks.push(D),he(s.rels,1,D,Kr.WB),er(T,D="xl/theme/theme1.xml",yg(e.Themes,s)),f.themes.push(D),he(s.wbrels,-1,"theme/theme1.xml",Kr.THEME),er(T,D="xl/styles."+r,function jg(e,s,r){return(".bin"===s.slice(-4)?O0:_g)(e,r)}(e,D,s)),f.styles.push(D),he(s.wbrels,-1,"styles."+r,Kr.STY),e.vbaraw&&h&&(er(T,D="xl/vbaProject.bin",e.vbaraw),f.vba.push(D),he(s.wbrels,-1,"vbaProject.bin",Kr.VBA)),er(T,D="xl/metadata."+r,function Wg(e){return(".bin"===e.slice(-4)?Y0:Ip)()}(D)),f.metadata.push(D),he(s.wbrels,-1,"metadata."+r,Kr.XLMETA),er(T,"[Content_Types].xml",Qa(f,s)),er(T,"_rels/.rels",dc(s.rels)),er(T,"xl/_rels/workbook."+r+".rels",dc(s.wbrels)),delete s.revssf,delete s.ssf,T}(e,s):function r0(e,s){Sh=1024,e&&!e.SSF&&(e.SSF=Tt(qn)),e&&e.SSF&&(Ae(),ge(e.SSF),s.revssf=xs(e.SSF),s.revssf[e.SSF[65535]]=0,s.ssf=e.SSF),s.rels={},s.wbrels={},s.Strings=[],s.Strings.Count=0,s.Strings.Unique=0,Uh?s.revStrings=new Map:(s.revStrings={},s.revStrings.foo=[],delete s.revStrings.foo);var r="xml",h=Mp.indexOf(s.bookType)>-1,f={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};n0(s=s||{});var T=Cr(),D="",B=0;if(s.cellXfs=[],id(s.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),er(T,D="docProps/core.xml",q(e.Props,s)),f.coreprops.push(D),he(s.rels,2,D,Kr.CORE_PROPS),D="docProps/app.xml",!e.Props||!e.Props.SheetNames)if(e.Workbook&&e.Workbook.Sheets){for(var ee=[],se=0;se0&&(er(T,D="docProps/custom.xml",Xt(e.Custprops)),f.custprops.push(D),he(s.rels,4,D,Kr.CUST_PROPS));var de=["SheetJ5"];for(s.tcid=0,B=1;B<=e.SheetNames.length;++B){var Fe={"!id":{}},Be=e.Sheets[e.SheetNames[B-1]];if(er(T,D="xl/worksheets/sheet"+B+"."+r,im(B-1,s,e,Fe)),f.sheets.push(D),he(s.wbrels,-1,"worksheets/sheet"+B+"."+r,Kr.WS[0]),Be){var rt=Be["!comments"],Re=!1,at="";if(rt&&rt.length>0){var zt=!1;rt.forEach(function(Vt){Vt[1].forEach(function(kt){1==kt.T&&(zt=!0)})}),zt&&(er(T,at="xl/threadedComments/threadedComment"+B+"."+r,qm(rt,de,s)),f.threadedcomments.push(at),he(Fe,-1,"../threadedComments/threadedComment"+B+"."+r,Kr.TCMNT)),er(T,at="xl/comments"+B+"."+r,kh(rt)),f.comments.push(at),he(Fe,-1,"../comments"+B+"."+r,Kr.CMNT),Re=!0}Be["!legacy"]&&Re&&er(T,"xl/drawings/vmlDrawing"+B+".vml",bp(B,Be["!comments"])),delete Be["!comments"],delete Be["!legacy"]}Fe["!id"].rId1&&er(T,oo(D),dc(Fe))}return null!=s.Strings&&s.Strings.length>0&&(er(T,D="xl/sharedStrings."+r,eo(s.Strings,s)),f.strs.push(D),he(s.wbrels,-1,"sharedStrings."+r,Kr.SST)),er(T,D="xl/workbook."+r,Cu(e)),f.workbooks.push(D),he(s.rels,1,D,Kr.WB),er(T,D="xl/theme/theme1.xml",yg(e.Themes,s)),f.themes.push(D),he(s.wbrels,-1,"theme/theme1.xml",Kr.THEME),er(T,D="xl/styles."+r,_g(e,s)),f.styles.push(D),he(s.wbrels,-1,"styles."+r,Kr.STY),e.vbaraw&&h&&(er(T,D="xl/vbaProject.bin",e.vbaraw),f.vba.push(D),he(s.wbrels,-1,"vbaProject.bin",Kr.VBA)),er(T,D="xl/metadata."+r,Ip()),f.metadata.push(D),he(s.wbrels,-1,"metadata."+r,Kr.XLMETA),de.length>1&&(er(T,D="xl/persons/person.xml",function Tp(e){var s=[ds,Ci("personList",null,{xmlns:Lr.TCMNT,"xmlns:x":Qs[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,h){s.push(Ci("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+h).slice(-12)+"}",userId:r,providerId:"None"}))}),s.push(""),s.join("")}(de)),f.people.push(D),he(s.wbrels,-1,"persons/person.xml",Kr.PEOPLE)),er(T,"[Content_Types].xml",Qa(f,s)),er(T,"_rels/.rels",dc(s.rels)),er(T,"xl/_rels/workbook.xml.rels",dc(s.wbrels)),delete s.revssf,delete s.ssf,T}(e,s)}function CA(e,s){switch(s.type){case"base64":case"binary":break;case"buffer":case"array":s.type="";break;case"file":return ss(s.file,nn.write(e,{type:ae?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+s.bookType+"' files");default:throw new Error("Unrecognized type "+s.type)}return nn.write(e,s)}function Dd(e,s,r){r||(r="");var h=r+e;switch(s.type){case"base64":return V(Ji(h));case"binary":return Ji(h);case"string":return e;case"file":return ss(s.file,h,"utf8");case"buffer":return ae?oe(h,"utf8"):typeof TextEncoder<"u"?(new TextEncoder).encode(h):Dd(h,{type:"binary"}).split("").map(function(f){return f.charCodeAt(0)})}throw new Error("Unrecognized type "+s.type)}function l0(e,s){switch(s.type){case"string":case"base64":case"binary":for(var r="",h=0;h22)throw new Error("Bad Code Name: Worksheet"+D)}})}(e.SheetNames,e.Workbook&&e.Workbook.Sheets||[],!!e.vbaraw);for(var r=0;r-1||Y.indexOf(f[T][0])>-1||null!=f[T][1]&&se.push(f[T]);h.length&&nn.utils.cfb_add(s,"/\x05SummaryInformation",Jr(h,mm.SI,ee,Ic)),(r.length||se.length)&&nn.utils.cfb_add(s,"/\x05DocumentSummaryInformation",Jr(r,mm.DSI,B,es,se.length?se:null,mm.UDI))}(e,h),8==r.biff&&e.vbaraw&&function wp(e,s){s.FullPaths.forEach(function(r,h){if(0!=h){var f=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==f.slice(-1)&&nn.utils.cfb_add(e,f,s.FileIndex[h].content)}})}(h,nn.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),h}(e,r),r)}(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function w1(e,s){var r=Tt(s||{});return function a0(e,s){var r={},h=ae?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(s.compression&&(r.compression="DEFLATE"),s.password)r.type=h;else switch(s.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+s.bookType+"' files");case"buffer":case"file":r.type=h;break;default:throw new Error("Unrecognized type "+s.type)}var f=e.FullPaths?nn.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!s.compression}):e.generate(r);if(typeof Deno<"u"&&"string"==typeof f){if("binary"==s.type||"base64"==s.type)return f;f=new Uint8Array(gt(f))}return s.password&&typeof encrypt_agile<"u"?CA(encrypt_agile(f,s.password),s):"file"===s.type?ss(s.file,f):"string"==s.type?Zr(f):f}(_A(e,r),r)}(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Em(e,s,r){var h=r||{};return h.type="file",h.file=s,function u0(e){if(!e.bookType){var r=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();r.match(/^\.[a-z]+$/)&&(e.bookType=r.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}(h),c0(e,h)}function lv(e,s,r,h,f,T,D,B){var ee=Ao(r),se=B.defval,de=B.raw||!Object.prototype.hasOwnProperty.call(B,"raw"),Fe=!0,Be=1===f?[]:{};if(1!==f)if(Object.defineProperty)try{Object.defineProperty(Be,"__rowNum__",{value:r,enumerable:!1})}catch{Be.__rowNum__=r}else Be.__rowNum__=r;if(!D||e[r])for(var $e=s.s.c;$e<=s.e.c;++$e){var rt=D?e[r][$e]:e[h[$e]+ee];if(void 0!==rt&&void 0!==rt.t){var Re=rt.v;switch(rt.t){case"z":if(null==Re)break;continue;case"e":Re=0==Re?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+rt.t)}if(null!=T[$e]){if(null==Re)if("e"==rt.t&&null===Re)Be[T[$e]]=null;else if(void 0!==se)Be[T[$e]]=se;else{if(!de||null!==Re)continue;Be[T[$e]]=null}else Be[T[$e]]=de&&("n"!==rt.t||"n"===rt.t&&!1!==B.rawNumbers)?Re:re(rt,Re,B);null!=Re&&(Fe=!1)}}else{if(void 0===se)continue;null!=T[$e]&&(Be[T[$e]]=se)}}return{row:Be,isempty:Fe}}function wm(e,s){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},h=0,f=1,T=[],D=0,B="",ee={s:{r:0,c:0},e:{r:0,c:0}},se=s||{},de=null!=se.range?se.range:e["!ref"];switch(1===se.header?h=1:"A"===se.header?h=2:Array.isArray(se.header)?h=3:null==se.header&&(h=0),typeof de){case"string":ee=is(de);break;case"number":(ee=is(e["!ref"])).s.r=de;break;default:ee=de}h>0&&(f=0);var Fe=Ao(ee.s.r),Be=[],$e=[],rt=0,Re=0,at=Array.isArray(e),zt=ee.s.r,Vt=0,kt={};at&&!e[zt]&&(e[zt]=[]);var wn=se.skipHidden&&e["!cols"]||[],Un=se.skipHidden&&e["!rows"]||[];for(Vt=ee.s.c;Vt<=ee.e.c;++Vt)if(!(wn[Vt]||{}).hidden)switch(Be[Vt]=hs(Vt),r=at?e[zt][Vt]:e[Be[Vt]+Fe],h){case 1:T[Vt]=Vt-ee.s.c;break;case 2:T[Vt]=Be[Vt];break;case 3:T[Vt]=se.header[Vt-ee.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),B=D=re(r,null,se),Re=kt[D]||0){do{B=D+"_"+Re++}while(kt[B]);kt[D]=Re,kt[B]=1}else kt[D]=1;T[Vt]=B}for(zt=ee.s.r+f;zt<=ee.e.r;++zt)if(!(Un[zt]||{}).hidden){var ei=lv(e,ee,zt,Be,h,T,at,se);(!1===ei.isempty||(1===h?!1!==se.blankrows:se.blankrows))&&($e[rt++]=ei.row)}return $e.length=rt,$e}var IA=/"/g;function yA(e,s,r,h,f,T,D,B){for(var ee=!0,se=[],de="",Fe=Ao(r),Be=s.s.c;Be<=s.e.c;++Be)if(h[Be]){var $e=B.dense?(e[r]||[])[Be]:e[h[Be]+Fe];if(null==$e)de="";else if(null!=$e.v){ee=!1,de=""+(B.rawNumbers&&"n"==$e.t?$e.v:re($e,null,B));for(var rt=0,Re=0;rt!==de.length;++rt)if((Re=de.charCodeAt(rt))===f||Re===T||34===Re||B.forceQuotes){de='"'+de.replace(IA,'""')+'"';break}"ID"==de&&(de='"ID"')}else null==$e.f||$e.F?de="":(ee=!1,(de="="+$e.f).indexOf(",")>=0&&(de='"'+de.replace(IA,'""')+'"'));se.push(de)}return!1===B.blankrows&&ee?null:se.join(D)}function Mm(e,s){var r=[],h=s??{};if(null==e||null==e["!ref"])return"";var f=is(e["!ref"]),T=void 0!==h.FS?h.FS:",",D=T.charCodeAt(0),B=void 0!==h.RS?h.RS:"\n",ee=B.charCodeAt(0),se=new RegExp(("|"==T?"\\|":T)+"+$"),de="",Fe=[];h.dense=Array.isArray(e);for(var Be=h.skipHidden&&e["!cols"]||[],$e=h.skipHidden&&e["!rows"]||[],rt=f.s.c;rt<=f.e.c;++rt)(Be[rt]||{}).hidden||(Fe[rt]=hs(rt));for(var Re=0,at=f.s.r;at<=f.e.r;++at)($e[at]||{}).hidden||null!=(de=yA(e,f,at,Fe,D,ee,T,h))&&(h.strip&&(de=de.replace(se,"")),(de||!1!==h.blankrows)&&r.push((Re++?B:"")+de));return delete h.dense,r.join("")}function Dm(e,s){s||(s={}),s.FS="\t",s.RS="\n";var r=Mm(e,s);if(typeof me>"u"||"string"==s.type)return r;var h=me.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+h}function d0(e,s,r){var h=r||{},f=+!h.skipHeader,T=e||{},D=0,B=0;if(T&&null!=h.origin)if("number"==typeof h.origin)D=h.origin;else{var ee="string"==typeof h.origin?Io(h.origin):h.origin;D=ee.r,B=ee.c}var se,de={s:{c:0,r:0},e:{c:B,r:D+s.length-1+f}};if(T["!ref"]){var Fe=is(T["!ref"]);de.e.c=Math.max(de.e.c,Fe.e.c),de.e.r=Math.max(de.e.r,Fe.e.r),-1==D&&(de.e.r=(D=Fe.e.r+1)+s.length-1+f)}else-1==D&&(D=0,de.e.r=s.length-1+f);var Be=h.header||[],$e=0;s.forEach(function(Re,at){Ki(Re).forEach(function(zt){-1==($e=Be.indexOf(zt))&&(Be[$e=Be.length]=zt);var Vt=Re[zt],kt="z",wn="",Un=hr({c:B+$e,r:D+at+f});se=Kg(T,Un),!Vt||"object"!=typeof Vt||Vt instanceof Date?("number"==typeof Vt?kt="n":"boolean"==typeof Vt?kt="b":"string"==typeof Vt?kt="s":Vt instanceof Date?(kt="d",h.cellDates||(kt="n",Vt=Nr(Vt)),wn=h.dateNF||qn[14]):null===Vt&&h.nullError&&(kt="e",Vt=0),se?(se.t=kt,se.v=Vt,delete se.w,delete se.R,wn&&(se.z=wn)):T[Un]=se={t:kt,v:Vt},wn&&(se.z=wn)):T[Un]=Vt})}),de.e.c=Math.max(de.e.c,B+Be.length-1);var rt=Ao(D);if(f)for($e=0;$e=65535)throw new Error("Too many worksheets");if(h&&e.SheetNames.indexOf(r)>=0){var T=r.match(/(^.*?)(\d+)$/);f=T&&+T[2]||0;var D=T&&T[1]||r;for(++f;f<=65535&&-1!=e.SheetNames.indexOf(r=D+f);++f);}if(Mc(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=s,r},book_set_sheet_visibility:function hv(e,s,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var h=function dv(e,s){if("number"==typeof s){if(s>=0&&e.SheetNames.length>s)return s;throw new Error("Cannot find sheet # "+s)}if("string"==typeof s){var r=e.SheetNames.indexOf(s);if(r>-1)return r;throw new Error("Cannot find sheet name |"+s+"|")}throw new Error("Cannot find sheet |"+s+"|")}(e,s);switch(e.Workbook.Sheets[h]||(e.Workbook.Sheets[h]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[h].Hidden=r},cell_set_number_format:function bA(e,s){return e.z=s,e},cell_set_hyperlink:xA,cell_set_internal_link:function S1(e,s,r){return xA(e,"#"+s,r)},cell_add_comment:function k1(e,s,r){e.c||(e.c=[]),e.c.push({t:s,a:r||"SheetJS"})},sheet_set_array_formula:function O1(e,s,r,h){for(var f="string"!=typeof s?s:is(s),T="string"==typeof s?s:Wr(s),D=f.s.r;D<=f.e.r;++D)for(var B=f.s.c;B<=f.e.c;++B){var ee=Kg(e,D,B);ee.t="n",ee.F=T,delete ee.v,D==f.s.r&&B==f.s.c&&(ee.f=r,h&&(ee.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},F1=m(755);let Y1=(()=>{class e{constructor(){}exportTable(r,h,f){const T=Jg.table_to_sheet(f.nativeElement),D=Jg.book_new();Jg.book_append_sheet(D,T,h),Em(D,r+".xlsx")}exportJSON(r,h){const f=Jg.json_to_sheet(h),T=Jg.book_new();Jg.book_append_sheet(T,f,"Dates"),Em(T,r+".xlsx",{compression:!0})}static#e=this.\u0275fac=function(h){return new(h||e)};static#t=this.\u0275prov=F1.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},8720:(lt,_e,m)=>{"use strict";m.d(_e,{k:()=>A});var i=m(2133),t=m(755);let A=(()=>{class a{get fb(){return this._fb=this._fb||this.injector.get(i.qu),this._fb}constructor(C){this.injector=C}FormBuilder(C,b,F,j){let N={},x={};return Object.entries(C).forEach(([H,k])=>{const P=k.async?{asyncValidators:this.asyncValidate(H,b,j),updateOn:"blur"}:this.validate(H,b,F);N[H]=[k.default,P],x[H]=k.default,k.values&&k.values.forEach(X=>{const me=k.async?{asyncValidators:this.asyncValidate(H+"$"+X.key,b,j),updateOn:"blur"}:this.validate(H+"$"+X.key,b,F);N[H+"$"+X.key]=[k.default.indexOf(X.key)>=0,me]})}),Object.assign(this.fb.group(N),{initialState:x})}validate(C,b,F){return j=>{let N=F?F(j,C):null;return b?.markForCheck(),N?{errorMessage:N}:null}}revalidate(C){C.markAllAsTouched(),Object.values(C.controls||{}).forEach(b=>b.updateValueAndValidity({emitEvent:!1}))}asyncValidate(C,b,F){return j=>new Promise((N,x)=>{F?F(j,C).then(H=>{b?.markForCheck(),N(H?{errorMessage:H}:null)}):N(null)})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1547:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>b});var i=m(3232),t=m(553),A=m(6733),a=m(2333),y=m(2307),C=m(755);let b=(()=>{class F{set toolbarButtons(N){this._toolbarButtons=N,this.refresh&&this.refresh()}get toolbarButtons(){return this._toolbarButtons}constructor(N,x){this.document=N,this.injector=x,this.VERSAO_DB=1,this.VERSAO_SYS=t.N.versao,this.URL_SEI="https://sei.prf.gov.br/",this.IMAGES=t.N.images,this.ENTIDADE=t.N.entidade||"",this.ENV=t.N.env||"",this.SUPPORT_URL=t.N.suporte||"",this.urlBuffer={},this._toolbarButtons=[],this.horarioDelta={servidor:new Date,local:new Date},this.auth=x.get(a.e),this.go=x.get(y.o)}refresh(){document.getElementsByTagName("html")[0].setAttribute("data-bs-theme",this.theme);const N=this.document.getElementById("primeng-thme");N&&(N.href=this.theme+".css"),this.app.cdRef.detectChanges()}setContexto(N,x=!0){if(this.contexto?.key!=N){let H=this.app.menuContexto.find(k=>k.key==N);(!this.auth.usuario||!H?.permition||this.auth.capacidades.includes(H.permition))&&(this.contexto=H),this.contexto&&x&&this.goHome(),this.app.cdRef.detectChanges()}this.auth.usuario&&this.auth.usuarioConfig.menu_contexto!=this.contexto?.key&&(this.auth.usuarioConfig={menu_contexto:this.contexto?.key||""})}goHome(){this.go.navigate({route:["home",this.contexto.key.toLowerCase()]})}get isEmbedded(){return this.isExtension||this.isSeiModule}get isExtension(){return typeof IS_PETRVS_EXTENSION<"u"&&!!IS_PETRVS_EXTENSION||typeof PETRVS_IS_EXTENSION<"u"&&!!PETRVS_IS_EXTENSION}get isSeiModule(){return typeof PETRVS_IS_SEI_MODULE<"u"&&!!PETRVS_IS_SEI_MODULE}is(N){return t.N.entidade==N}get baseURL(){const N=typeof MD_MULTIAGENCIA_PETRVS_URL<"u"?MD_MULTIAGENCIA_PETRVS_URL:typeof EXTENSION_BASE_URL<"u"?EXTENSION_BASE_URL:typeof PETRVS_BASE_URL<"u"?PETRVS_BASE_URL:void 0,x=this.isEmbedded?N:this.servidorURL;return x.endsWith("/")?x:x+"/"}get servidorURL(){const N=typeof PETRVS_SERVIDOR_URL<"u"?PETRVS_SERVIDOR_URL:typeof EXTENSION_SERVIDOR_URL<"u"?EXTENSION_SERVIDOR_URL:"";return this.isExtension&&N.length?N:(t.N.https?"https://":"http://")+t.N.host}get isToolbar(){const N=typeof PETRVS_EXTENSION_TOOLBAR<"u"?PETRVS_EXTENSION_TOOLBAR:typeof PETRVS_TOOLBAR<"u"&&PETRVS_TOOLBAR;return!!this.isEmbedded&&N}get initialRoute(){const N=typeof PETRVS_EXTENSION_ROUTE<"u"?PETRVS_EXTENSION_ROUTE:typeof PETRVS_ROUTE<"u"?PETRVS_ROUTE:"/home",x=this.isEmbedded?N:this.contexto?"/home/"+this.contexto.key.toLowerCase():"/home";return x.substring(x.startsWith("/")?1:0).split("/")}get requireLogged(){const N=typeof PETRVS_EXTENSION_LOGGED<"u"?PETRVS_EXTENSION_LOGGED:!(typeof PETRVS_LOGGED<"u")||PETRVS_LOGGED;return!this.isEmbedded||N}get useModals(){return!0}get sanitizer(){return this._sanitizer=this._sanitizer||this.injector.get(i.H7),this._sanitizer}getResourcePath(N){const x="URL_"+encodeURI(N),H=!!N.match(/\/?assets\//);return this.isEmbedded&&!this.urlBuffer[x]&&(this.urlBuffer[x]=this.sanitizer.bypassSecurityTrustResourceUrl((H?this.baseURL:this.servidorURL+"/")+N)),this.isEmbedded?this.urlBuffer[x]:H||N.startsWith("http")?N:this.servidorURL+"/"+N}get isFirefox(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}get loginGoogleClientId(){return t.N.login.google_client_id||""}get hasGoogleLogin(){return 1==t.N.login.gsuit}get hasAzureLogin(){return 1==t.N.login.azure}get hasUserPasswordLogin(){return 1==t.N.login.user_password}get hasFirebaseLogin(){return 1==t.N.login.firebase}get hasInstitucionalLogin(){return 1==t.N.login.institucional}get hasLoginUnicoLogin(){return 1==t.N.login.login_unico}get theme(){return this.auth.usuarioConfig.theme||"light"}get edicao(){return t.N.edicao}static#e=this.\u0275fac=function(x){return new(x||F)(C.LFG(A.K0),C.LFG(C.zs3))};static#t=this.\u0275prov=C.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},504:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>N});var i=m(8239),t=m(755),A=m(6424),a=m(5333);function y(H){return(0,a.h)((k,P)=>H<=P)}var C=m(1813),b=m(9193),F=m(2333),j=m(1547);let N=(()=>{class H{constructor(P,X,me){this.utilService=P,this.auth=X,this.gb=me,this.changeUser=new t.vpe,this._socialUser=new A.X(null),this._accessToken=new A.X(null),this._receivedAccessToken=new t.vpe,this._socialUser.pipe(y(1)).subscribe(this.changeUser),this._accessToken.pipe(y(1)).subscribe(this._receivedAccessToken)}initialize(P){return new Promise((X,me)=>{try{this.utilService.loadScript("https://accounts.google.com/gsi/client").onload=()=>{H.retrieveSocialUser(),google.accounts.id.initialize({client_id:this.gb.loginGoogleClientId,ux_mode:"popup",autoLogin:P,cancel_on_tap_outside:!0,oneTapEnabled:!0,callback:({credential:wt})=>{this.auth.authGoogle(wt).then(K=>{const V=this.createSocialUser(wt);this._socialUser.next(V),H.persistSocialUser(V)})}}),X(google.accounts.id)}}catch(Oe){me(Oe)}})}signOut(){var P=this;return(0,i.Z)(function*(){google.accounts.id.disableAutoSelect(),P._socialUser.next(null),H.clearSocialUser()})()}refreshToken(){return new Promise((P,X)=>{const me=H.retrieveSocialUser();null!==me&&this._socialUser.next(me),this._socialUser?.value?google.accounts.id.revoke(this._socialUser?.value?.id,Oe=>{Oe?.error?X(Oe.error):P(this._socialUser.value)}):X("Nenhum usu\xe1rio")})}getLoginStatus(){return new Promise((P,X)=>{let me=H.retrieveSocialUser();null!==me&&this._socialUser.next(me),this._socialUser.value?P(this._socialUser.value):X("No user is currently logged in with Google")})}createSocialUser(P){const X=new x;X.idToken=P;const me=this.decodeJwt(P);return X.id=me.sub,X.name=me.name,X.email=me.email,X}getAccessToken(){return new Promise((P,X)=>{this._tokenClient?(this._tokenClient.requestAccessToken({hint:this._socialUser.value?.email}),this._receivedAccessToken.pipe((0,C.q)(1)).subscribe(P)):X(this._socialUser.value?"No token client was instantiated, you should specify some scopes.":"You should be logged-in first.")})}revokeAccessToken(){return new Promise((P,X)=>{this._tokenClient?this._accessToken.value?google.accounts.oauth2.revoke(this._accessToken.value,()=>{this._accessToken.next(null),P()}):X("No access token to revoke"):X("No token client was instantiated, you should specify some scopes.")})}signIn(){return Promise.reject('You should not call this method directly for Google, use "" wrapper or generate the button yourself with "google.accounts.id.renderButton()" (https://developers.google.com/identity/gsi/web/guides/display-button#javascript)')}decodeJwt(P){const me=P.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),Oe=decodeURIComponent(window.atob(me).split("").map(function(Se){return"%"+("00"+Se.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(Oe)}static persistSocialUser(P){localStorage.setItem("google_socialUser",JSON.stringify(P))}static retrieveSocialUser(){let P=localStorage.getItem("google_socialUser");return null===P?null:JSON.parse(P)}static clearSocialUser(){localStorage.removeItem("google_socialUser")}static#e=this.\u0275fac=function(X){return new(X||H)(t.LFG(b.f),t.LFG(F.e),t.LFG(j.d))};static#t=this.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();class x{}},5908:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>t});var i=m(755);let t=(()=>{class A{constructor(y){this.injector=y,this.PREPOSITIONS_MALE=["o","os","ao","aos","do","dos","dum","duns","no","nos","um","num","uns","nuns","pelo","pelos"],this.PREPOSITIONS_FEMALE=["a","as","\xe0","\xe0s","da","das","duma","dumas","na","nas","uma","numa","umas","numas","pela","pelas"],this.defaults={adesao:{single:"ades\xe3o",plural:"ades\xf5es",female:!0},administrador:{single:"administrador",plural:"administradores",female:!1},afastamento:{single:"afastamento",plural:"afastamentos",female:!1},"\xe1rea de trabalho":{single:"\xe1rea de trabalho",plural:"\xe1reas de trabalho",female:!0},"area do conhecimento":{single:"area do conhecimento",plural:"areas dos conhecimentos",female:!0},atividade:{single:"atividade",plural:"atividades",female:!1},atribui\u00e7\u00e3o:{single:"atribui\xe7\xe3o",plural:"atribui\xe7\xf5es",female:!0},avalia\u00e7\u00e3o:{single:"avalia\xe7\xe3o",plural:"avalia\xe7\xf5es",female:!0},cadastro:{single:"cadastro",plural:"cadastros",female:!1},cadeiaValor:{single:"cadeia de valor",plural:"cadeias de valor",female:!0},capacidade:{single:"capacidade",plural:"capacidades",female:!0},chefe:{single:"chefe",plural:"chefes",female:!0},cidade:{single:"cidade",plural:"cidades",female:!0},consolida\u00e7\u00e3o:{single:"consolida\xe7\xe3o",plural:"consolida\xe7\xf5es",female:!1},"data de distribui\xe7\xe3o":{single:"data de distribui\xe7\xe3o",plural:"datas de distribui\xe7\xe3o",female:!0},"data de homologa\xe7\xe3o":{single:"data de homologa\xe7\xe3o",plural:"datas de homologa\xe7\xe3o",female:!0},demanda:{single:"demanda",plural:"demandas",female:!0},desabilitado:{single:"desabilitado",plural:"desabilitados",female:!1},desabilitar:{single:"desabilitar",plural:"desabilitar",female:!1},desenvolvedor:{single:"desenvolvedor",plural:"desenvolvedores",female:!1},documento:{single:"documento",plural:"documentos",female:!1},entidade:{single:"entidade",plural:"entidades",female:!0},entrega:{single:"entrega",plural:"entregas",female:!0},"eixo tem\xe1tico":{single:"eixo tem\xe1tico",plural:"eixos tem\xe1ticos",female:!1},execu\u00e7\u00e3o:{single:"execu\xe7\xe3o",plural:"execu\xe7\xf5es",female:!1},feriado:{single:"feriado",plural:"feriados",female:!1},gerenciamento:{single:"gerenciamento",plural:"gerenciamentos",female:!1},"inclus\xe3o de atividade":{single:"inclus\xe3o de atividade",plural:"inclus\xf5es de atividades",female:!1},habilita\u00e7\u00e3o:{single:"habilita\xe7\xe3o",plural:"habilita\xe7\xf5es",female:!0},habilitado:{single:"habilitado",plural:"habilitados",female:!1},habilitar:{single:"habilitar",plural:"habilitar",female:!1},justificativa:{single:"justificativa",plural:"justificativas",female:!0},lota\u00e7\u00e3o:{single:"lota\xe7\xe3o",plural:"lota\xe7\xf5es",female:!0},"material e servi\xe7o":{single:"material e servi\xe7o",plural:"materiais e servi\xe7os",female:!1},modalidade:{single:"modalidade",plural:"modalidades",female:!0},"modelo de entrega":{single:"modelo de entrega",plural:"modelos de entregas",female:!1},"motivo de afastamento":{single:"motivo de afastamento",plural:"motivos de afastamento",female:!1},notifica\u00e7\u00e3o:{single:"notifica\xe7\xe3o",plural:"notifica\xe7\xf5es",female:!0},objetivo:{single:"objetivo",plural:"objetivos",female:!1},ocorr\u00eancia:{single:"ocorr\xeancia",plural:"ocorr\xeancias",female:!0},"pela unidade gestora":{single:"pela Unidade Gestora",plural:"pelas Unidades Gestoras",female:!0},perfil:{single:"perfil",plural:"perfis",female:!1},"perfil do menu":{single:"perfil do menu",plural:"perfis do menu",female:!1},planejamento:{single:"planejamento",plural:"planejamentos",female:!1},"planejamento institucional":{single:"planejamento institucional",plural:"planejamentos institucionais",female:!1},"plano de trabalho":{single:"plano de trabalho",plural:"planos de trabalho",female:!1},"plano de entrega":{single:"plano de entrega",plural:"planos de entrega",female:!1},"ponto de controle":{single:"ponto de controle",plural:"pontos de controle",female:!1},"ponto eletr\xf4nico":{single:"ponto eletr\xf4nico",plural:"pontos eletr\xf4nicos",female:!1},"prazo de distribui\xe7\xe3o":{single:"prazo de distribui\xe7\xe3o",plural:"prazos de distribui\xe7\xe3o",female:!1},"prazo de entrega":{single:"prazo de entrega",plural:"prazos de entrega",female:!1},"prazo recalculado":{single:"prazo recalculado",plural:"prazos recalculados",female:!1},processo:{single:"processo",plural:"processos",female:!1},produtividade:{single:"produtividade",plural:"produtividades",female:!0},programa:{single:"programa",plural:"programas",female:!1},"programa de gest\xe3o":{single:"programa de gest\xe3o",plural:"programas de gest\xe3o",female:!1},projeto:{single:"projeto",plural:"projetos",female:!1},requisi\u00e7\u00e3o:{single:"requisi\xe7\xe3o",plural:"requisi\xe7\xf5es",female:!0},respons\u00e1vel:{single:"respons\xe1vel",plural:"respons\xe1veis",female:!1},"resultado institucional":{single:"resultado institucional",plural:"resultados institucionais",female:!1},"rotina de integra\xe7\xe3o":{single:"rotina de integra\xe7\xe3o",plural:"rotinas de integra\xe7\xe3o",female:!0},servidor:{single:"servidor",plural:"servidores",female:!1},tarefa:{single:"tarefa",plural:"tarefas",female:!0},"tarefa da atividade":{single:"tarefa da atividade",plural:"tarefas da atividade",female:!0},tcr:{single:"tcr",plural:"tcrs",female:!1},"termo de ci\xeancia e responsabilidade":{single:"termo de ci\xeancia e responsabilidade",plural:"termos de ci\xeancia e responsabilidade",female:!1},"tempo estimado":{single:"tempo estimado",plural:"tempos estimados",female:!1},"tempo pactuado":{single:"tempo pactuado",plural:"tempos pactuados",female:!1},"tempo planejado":{single:"tempo planejado",plural:"tempos planejados",female:!1},template:{single:"template",plural:"templates",female:!1},termo:{single:"termo",plural:"termos",female:!1},"texto complementar":{single:"texto complementar",plural:"textos complementares",female:!1},"tipo de indicador":{single:"tipo de indicador",plural:"tipos de indicadores",female:!1},"tipo de atividade":{single:"tipo de atividade",plural:"tipos de atividades",female:!1},"tipo de capacidade":{single:"tipo de capacidade",plural:"tipos de capacidades",female:!1},"tipo de meta":{single:"tipo de meta",plural:"tipos de metas",female:!1},unidade:{single:"unidade",plural:"unidades",female:!0},usuario:{single:"usu\xe1rio",plural:"usu\xe1rios",female:!1},"valor institucional":{single:"valor institucional",plural:"valores institucionais",female:!1},"tipo de avalia\xe7\xe3o do registro de execu\xe7\xe3o do plano de trabalho":{single:"Tipo de avalia\xe7\xe3o do registro de execu\xe7\xe3o do plano de trabalho",plural:"Tipos de avalia\xe7\xf5es do registro de execu\xe7\xe3o do plano de trabalho",female:!1}},this.plurals={},this.vocabulary={},this.vocabulary=this.defaults,Object.entries(this.defaults).forEach(C=>this.plurals[C[1].plural]=C[0])}loadVocabulary(y){let C={};Object.entries(this.defaults).forEach(([b,F])=>{const j=y?.find(N=>N.nome==b);C[b]=j?{single:j.singular,plural:j.plural,female:j.feminino}:F}),this.vocabulary=C,this.update&&this.update(),this.cdRef?.detectChanges()}update(){this.app.setMenuVars()}noun(y,C=!1,b=!1){const F=y.toLowerCase();var j="";if(this.vocabulary[F]){const N=y[0]==y[0].toUpperCase()&&y[1]!=y[1].toUpperCase(),x=y==y.toUpperCase(),H=C?this.vocabulary[F].plural:this.vocabulary[F].single,k=H.split(" "),P=k.length>1;j=k[0][0].toUpperCase()+k[0].substring(1)+(P?" "+(2==k.length?k[1][0].toUpperCase()+k[1].substring(1):k[1]+" "+k[2][0].toUpperCase()+k[2].substring(1)):"");const X=b?C?this.vocabulary[F].female?" das ":" dos ":this.vocabulary[F].female?" da ":" do ":"";return x?(X+H).toUpperCase():N?X+j:X+H}return y}translate(y){let b=/^(\s*)(o\s|a\s|os\s|as\s|um\s|uma\s|uns\s|umas\s|ao\s|\xe0\s|aos\s|\xe0s\s|do\s|da\s|dos\s|das\s|dum\s|duma\s|duns\s|dumas\s|no\s|na\s|nos\s|nas\s|num\s|numa\s|nuns\s|numas\s|pelo\s|pela\s|pelos\s|pelas|)(.*)$/i.exec(y),F=b?b[1]:"",j=b?b[2].trim().replace(" ","%"):"",N=b?b[3]:"",x=this.plurals[N.toLowerCase()],H=(x||N).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),k=(x||N).toLowerCase(),P=this.defaults[H]?this.defaults[H]:this.defaults[k]?this.defaults[k]:null,X=this.vocabulary[H]?this.vocabulary[H]:this.vocabulary[k]?this.vocabulary[k]:null;return P&&(P.single!=X.single||P.plural!=X.plural)&&(j?.length&&!["de","em","por"].includes(j.toLowerCase())&&P.female!==X.female&&(j=this.keepCase(j,P.female?this.PREPOSITIONS_MALE[this.PREPOSITIONS_FEMALE.indexOf(j.toLowerCase())]:this.PREPOSITIONS_FEMALE[this.PREPOSITIONS_MALE.indexOf(j.toLowerCase())])),N=this.keepCase(N,x?X.plural:X.single)),F+(j?.length?j+" ":"")+N}keepCase(y,C){const b=y[0]==y[0].toUpperCase()&&y.length>1&&y[1]!=y[1].toUpperCase();return y==y.toUpperCase()?C.toUpperCase():b?C.split(" ").map(j=>this.PREPOSITIONS_MALE.includes(j)||this.PREPOSITIONS_FEMALE.includes(j)?j:j[0].toUpperCase()+j.substring(1)).join(" "):C}static#e=this.\u0275fac=function(C){return new(C||A)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},9702:(lt,_e,m)=>{"use strict";m.d(_e,{W:()=>t});var i=m(755);let t=(()=>{class A{constructor(y){this.injector=y,this.EDICOES=[{key:"PRF",value:"PRF"},{key:"MGI",value:"MGI"}],this.SIMNAO=[{key:1,value:"Sim"},{key:0,value:"N\xe3o"}],this.TODOSSIMNAO=[{key:"",value:"Todos"},{key:"S",value:"Sim"},{key:"N",value:"N\xe3o"}],this.FORMATO_HORA=[{key:1,value:"Horas"},{key:0,value:"Dias"}],this.SEXO=[{key:"MASCULINO",value:"Masculino"},{key:"FEMININO",value:"Feminino"}],this.TIPO_INDICADOR=[{key:"QUANTIDADE",value:"Quantidade"},{key:"VALOR",value:"Valor"},{key:"PORCENTAGEM",value:"Porcentagem"},{key:"QUALITATIVO",value:"Qualitativo"}],this.TIPO_LAYOUT=[{key:"COMPLETO",value:"Completo"},{key:"SIMPLIFICADO",value:"Simplificado"}],this.TIPO_CONTAGEM=[{key:"DISTRIBUICAO",value:"DISTRIBUI\xc7\xc3O"},{key:"ENTREGA",value:"ENTREGA"}],this.COMENTARIO_PRIVACIDADE=[{key:"PUBLICO",value:"P\xfablico"},{key:"PRIVADO",value:"Privado"}],this.TIPO_RELATORIO_PRODUTIVIDADE_INDIVIDUAL=[{key:"POR_PERIODO",value:"Por Per\xedodo"},{key:"POR_PLANO",value:"Por Plano de Trabalho"}],this.COMENTARIO_TIPO=[{key:"COMENTARIO",value:"Coment\xe1rio",icon:"bi bi-chat-left-quote"},{key:"TECNICO",value:"T\xe9cnico",icon:"bi bi-chat-left-text"},{key:"GERENCIAL",value:"Gerencial",icon:"bi bi-clipboard2-pulse"},{key:"AVALIACAO",value:"Avalia\xe7\xe3o",icon:"bi bi-check2-circle"},{key:"TAREFA",value:"Tarefa",icon:"bi bi-envelope-exclamation"},{key:"ATIVIDADE",value:"Atividade",icon:"bi bi-envelope-exclamation"}],this.REACAO_TIPO=[{key:"like",value:"Curti",icon:"like"},{key:"love",value:"Amei",icon:"love"},{key:"care",value:"For\xe7a",icon:"care"},{key:"haha",value:"Haha",icon:"haha"},{key:"wow",value:"Uau",icon:"wow"},{key:"sad",value:"Triste",icon:"sad"},{key:"angry",value:"Grr",icon:"angry"}],this.USUARIO_SITUACAO_FUNCIONAL=[{key:"ATIVO_PERMANENTE",value:"Ativo permanente"},{key:"APOSENTADO",value:"Aposentado"},{key:"CEDIDO/REQUISITADO",value:"Cedido/Requisitado"},{key:"NOMEADO_CARGO_COMISSIONADO",value:"Nomeado em Cargo Comissionado"},{key:"SEM_VINCULO",value:"Sem v\xednculo"},{key:"TABELISTA(ESP/EMERG)",value:"Tabelista(ESP/EMERG)"},{key:"NATUREZA_ESPECIAL",value:"Natureza especial"},{key:"ATIVO_EM_OUTRO_ORGAO",value:"Ativo em outro \xf3rg\xe3o"},{key:"REDISTRIBUIDO",value:"Redistribu\xeddo"},{key:"ATIVO_TRANSITORIO",value:"Ativo transit\xf3rio"},{key:"EXCEDENTE_A_LOTACAO",value:"Excedente \xe0 lota\xe7\xe3o"},{key:"EM_DISPONIBILIDADE",value:"Em disponibilidade"},{key:"REQUISITADO_DE_OUTROS_ORGAOS",value:"Requisitado de outros \xf3rg\xe3os"},{key:"INSTITUIDOR_PENSAO",value:"Instituidor de pens\xe3o"},{key:"REQUISITADO_MILITAR_FORCAS_ARMADAS",value:"Requisitado militar - For\xe7as Armadas"},{key:"APOSENTADO_TCU733/94",value:"Aposentado TCU733/94"},{key:"EXERCICIO_DESCENTRALIZADO_CARREIRA",value:"Exerc\xedcio descentralizado de carreira"},{key:"EXERCICIO_PROVISORIO",value:"Exerc\xedcio provis\xf3rio"},{key:"CELETISTA",value:"Celetista"},{key:"ATIVO_PERMANENTE_LEI_8878/94",value:"Ativo permanente Lei 8878/94"},{key:"ANISTIADO_ADCT_CF",value:"Anistiado ADCT CF"},{key:"CELETISTA/EMPREGADO",value:"Celetista/Empregado"},{key:"CLT_ANS_DECISAO_JUDICIAL",value:"CLT Anistiado decis\xe3o judicial"},{key:"CLT_ANS_JUDICIAL_CEDIDO",value:"CLT Anistiado judicial cedido"},{key:"CLT_APOS_COMPLEMENTO",value:"CLT Aposentado complemento"},{key:"CLT_APOS_DECISAO_JUDICIAL",value:"CLT Aposentado decis\xe3o judicial"},{key:"INST_PS_DECISAO_JUDICIAL",value:"Instituidor de pens\xe3o decis\xe3o judicial"},{key:"EMPREGO_PUBLICO",value:"Emprego p\xfablico"},{key:"REFORMA_CBM/PM",value:"Reforma CBM/PM"},{key:"RESERVA_CBM/PM",value:"Reserva CBM/PM"},{key:"REQUISITADO_MILITAR_GDF",value:"Requisitado militar GDF"},{key:"ANISTIADO_PUBLICO_L10559",value:"Anistiado p\xfablico L10559"},{key:"ANISTIADO_PRIVADO_L10559",value:"Anistiado privado L10559"},{key:"ATIVO_DECISAO_JUDICIAL",value:"Ativo decis\xe3o judicial"},{key:"CONTRATO_TEMPORARIO",value:"Contrato tempor\xe1rio"},{key:"COLAB_PCCTAE_E_MAGISTERIO",value:"Colaborador PCCTAE e Magist\xe9rio"},{key:"COLABORADOR_ICT",value:"Colaborador ICT"},{key:"CLT_ANS_DEC_6657/08",value:"CLT Anistiado Decreto 6657/08"},{key:"EXERCICIO_7_ART93_8112",value:"Exerc\xedcio \xa77\xb0 Art.93 Lei 8112"},{key:"CEDIDO_SUS/LEI_8270",value:"Cedido SUS Lei 8270"},{key:"INST_ANIST_PUBLICO",value:"Instituidor anistiado p\xfablico"},{key:"INST_ANIST_PRIVADO",value:"Instituidor anistiado privado"},{key:"CELETISTA_DECISAO_JUDICIAL",value:"Celetista decis\xe3o judicial"},{key:"CONTRATO_TEMPORARIO_CLT",value:"Contrato tempor\xe1rio CLT"},{key:"EMPREGO_PCC/EX-TERRITORIO",value:"Emprego PCC/Ex-Territ\xf3rio"},{key:"EXC_INDISCIPLINA",value:"Exc. indisciplina"},{key:"CONTRATO_PROFESSOR_SUBSTITUTO",value:"Contrato Professor Substituto"},{key:"ESTAGIARIO",value:"Estagi\xe1rio"},{key:"ESTAGIARIO_SIGEPE",value:"Estagi\xe1rio SIGEPE"},{key:"RESIDENCIA_E_PMM",value:"Resid\xeancia e PMM"},{key:"APOSENTADO_TEMPORARIRIO",value:"Aposentado tempor\xe1rio"},{key:"CEDIDO_DF_ESTADO_MUNICIPIO",value:"Cedido DF Estado Mun\xedcipio"},{key:"EXERC_DESCEN_CDT",value:"Exerc\xedcio descentralizado CDT"},{key:"EXERC_LEI_13681/18",value:"Exerc\xedcio lei 13681/18"},{key:"PENSIONISTA",value:"Pensionista"},{key:"BENEFICIARIO_PENSAO",value:"Benefici\xe1rio de pens\xe3o"},{key:"QE/MRE_CEDIDO",value:"QE/MRE Cedido"},{key:"QUADRO_ESPEC_QE/MRE",value:"Quadro ESPEC QE/MRE"},{key:"DESCONHECIDO",value:"Desconhecido"}],this.ATIVIDADE_STATUS=[{key:"INCLUIDO",value:"N\xe3o iniciado",icon:"bi bi-stop-circle",color:"warning"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-play-circle",color:"info"},{key:"PAUSADO",value:"Pausado",icon:"bi bi-sign-stop",color:"danger"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-check-circle",color:"primary"}],this.ATIVIDADE_STATUS_COM_ARQUIVADAS=[{key:"INCLUIDO",value:"N\xe3o iniciado",icon:"bi bi-stop-circle",color:"warning"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-play-circle",color:"info"},{key:"PAUSADO",value:"Pausado",icon:"bi bi-sign-stop",color:"danger"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-check-circle",color:"primary"},{key:"NAOCONCLUIDO",value:"N\xe3o conclu\xeddo",icon:"bi bi-play-circle",color:"info"},{key:"ARQUIVADO",value:"Arquivado",icon:"bi bi-inboxes",color:"secondary"}],this.DOCUMENTO_STATUS=[{key:"GERADO",value:"Gerado",icon:"bi bi-file-earmark-check",color:"success"},{key:"AGUARDANDO_SEI",value:"Aguardando SEI",icon:"bi bi-hourglass-split",color:"warning"}],this.DOCUMENTO_ESPECIE=[{key:"SEI",value:"Documento SEI",icon:"bi bi-exclamation",color:"primary"},{key:"TCR",value:"TCR",icon:"bi bi-file-medical-fill",color:"success"},{key:"OUTRO",value:"Outro",icon:"bi bi-question-circle",color:"danger"},{key:"NOTIFICACAO",value:"Notifica\xe7\xe3o",icon:"bi bi-bell",color:"info"},{key:"RELATORIO",value:"Relat\xf3rio",icon:"bi bi-file",color:"secondary"}],this.UNIDADE_INTEGRANTE_TIPO=[{key:"COLABORADOR",value:"Servidor Vinculado",icon:"bi bi-person-add",color:"secondary"},{key:"GESTOR",value:"Chefe",icon:"bi bi-star-fill",color:"primary"},{key:"GESTOR_DELEGADO",value:"Servidor Delegado",icon:"bi bi-star-fill",color:"danger"},{key:"GESTOR_SUBSTITUTO",value:"Chefe Substituto",icon:"bi bi-star-half",color:"primary"},{key:"LOTADO",value:"Lotado",icon:"bi bi-file-person",color:"dark"}],this.TEMPLATE_ESPECIE=this.DOCUMENTO_ESPECIE,this.DIA_HORA_CORRIDOS_OU_UTEIS=[{key:"HORAS_CORRIDAS",value:"Horas Corridas"},{key:"DIAS_CORRIDOS",value:"Dias Corridos"},{key:"HORAS_UTEIS",value:"Horas \xdateis"},{key:"DIAS_UTEIS",value:"Dias \xdateis"}],this.ORIGENS_ENTREGAS_PLANO_TRABALHO=[{key:"PROPRIA_UNIDADE",value:"Pr\xf3pria Unidade",color:"success"},{key:"OUTRA_UNIDADE",value:"Outra Unidade",color:"primary"},{key:"OUTRO_ORGAO",value:"Outro \xd3rg\xe3o/Entidade",color:"warning"},{key:"SEM_ENTREGA",value:"N\xe3o vinculadas a entregas",color:"info"}],this.HORAS_CORRIDAS_OU_UTEIS=[{key:"HORAS_CORRIDAS",value:"Horas Corridas"},{key:"HORAS_UTEIS",value:"Horas \xdateis"}],this.DIA_OU_HORA=[{key:"HORAS",value:"Horas"},{key:"DIAS",value:"Dias"}],this.ABRANGENCIA=[{key:"NACIONAL",value:"Nacional"},{key:"ESTADUAL",value:"Estadual/Distrital"},{key:"MUNICIPAL",value:"Municipal"}],this.TIPODIA=[{key:"MES",value:"Dia do M\xeas"},{key:"SEMANA",value:"Dia da Semana"}],this.NOTA=[{key:0,value:"0"},{key:1,value:"1"},{key:2,value:"2"},{key:3,value:"3"},{key:4,value:"4"},{key:5,value:"5"},{key:6,value:"6"},{key:7,value:"7"},{key:8,value:"8"},{key:9,value:"9"},{key:10,value:"10"}],this.TIMEZONE=[{key:-2,value:"FNT Noronha (UTC -2)"},{key:-3,value:"BRT Bras\xedlia (UTC -3)"},{key:-4,value:"AMT Amaz\xf4nia (UTC -4)"},{key:-5,value:"ACT Acre (UTC -5)"}],this.CORES=[{key:"#0d6efd",value:"Azul",color:"#0d6efd"},{key:"#6610f2",value:"Indigo",color:"#6610f2"},{key:"#6f42c1",value:"Roxo",color:"#6f42c1"},{key:"#d63384",value:"Rosa",color:"#d63384"},{key:"#dc3545",value:"Vermelho",color:"#dc3545"},{key:"#fd7e14",value:"Laranja",color:"#fd7e14"},{key:"#ffc107",value:"Amarelo",color:"#ffc107"},{key:"#198754",value:"Verde",color:"#198754"},{key:"#0dcaf0",value:"Ciano",color:"#0dcaf0"},{key:"#6c757d",value:"Cinza",color:"#6c757d"},{key:"#343a40",value:"Preto",color:"#343a40"}],this.CORES_BACKGROUND=[{key:"#FAEDCD",value:"Bege",color:"#FAEDCD"},{key:"#E9EDC9",value:"Verde Claro",color:"#E9EDC9"},{key:"#F1F7B5",value:"Verde Lima",color:"#F1F7B5"},{key:"#B9F3FC",value:"Azul Claro",color:"#B9F3FC"},{key:"#AEE2FF",value:"Azul M\xe9dio",color:"#AEE2FF"},{key:"#FFD4B2",value:"Laranja",color:"#FFD4B2"},{key:"#FFD1D1",value:"Rosa",color:"#FFD1D1"},{key:"#D0C9C0",value:"Cinza",color:"#D0C9C0"},{key:"#D7E9F7",value:"Azul",color:"#D7E9F7"},{key:"#DBE4C6",value:"Verde",color:"#DBE4C6"},{key:"#FFEB99",value:"Amarelo",color:"#FFEB99"}],this.ICONES=[{key:"bi bi-award",value:"Medalha",icon:"bi bi-award"},{key:"bi bi-bell",value:"Sino",icon:"bi bi-bell"},{key:"bi bi-alarm",value:"Alarme",icon:"bi bi-alarm"},{key:"bi bi-archive",value:"Arquivo",icon:"bi bi-archive"},{key:"bi bi-asterisk",value:"Asterisco",icon:"bi bi-asterisk"},{key:"bi bi-bar-chart",value:"Grafico",icon:"bi bi-bar-chart"},{key:"bi bi-bell-slash",value:"Silencioso",icon:"bi bi-bell-slash"},{key:"bi bi-book",value:"Livro",icon:"bi bi-book"},{key:"bi bi-brightness-high",value:"Sol",icon:"bi bi-brightness-high"},{key:"bi bi-brightness-alt-high",value:"Amanhecer",icon:"bi bi-brightness-alt-high"},{key:"bi bi-brush",value:"Pincel",icon:"bi bi-brush"},{key:"bi bi-calculator",value:"Calculadora",icon:"bi bi-calculator"},{key:"bi bi-calendar-date",value:"Calend\xe1rio",icon:"bi bi-calendar-date"},{key:"bi bi-bug",value:"Bug",icon:"bi bi-bug"},{key:"bi bi-building",value:"Edif\xedcios",icon:"bi bi-building"},{key:"bi bi-camera-fill",value:"C\xe2mera",icon:"bi bi-camera-fill"},{key:"bi bi-camera-reels",value:"Filmadora",icon:"bi bi-camera-reels"},{key:"bi bi-camera-video-off",value:"C\xe2mera OFF",icon:"bi bi-camera-video-off"},{key:"bi bi-card-checklist",value:"Checklist",icon:"bi bi-card-checklist"},{key:"bi bi-card-image",value:"Imagem",icon:"bi bi-card-image"},{key:"bi bi-card-list",value:"Lista",icon:"bi bi-card-list"},{key:"bi bi-cart3",value:"Carrinho",icon:"bi bi-cart3"},{key:"bi bi-cash",value:"Dinheiro",icon:"bi bi-cash"},{key:"bi bi-chat",value:"Bal\xe3o de Fala (Vazio)",icon:"bi bi-chat"},{key:"bi bi-chat-dots",value:"Bal\xe3o de Fala (...)",icon:"bi bi-chat-dots"},{key:"bi bi-check-circle",value:"Check",icon:"bi bi-check-circle"},{key:"bi bi-clock",value:"Rel\xf3gio",icon:"bi bi-clock"},{key:"bi bi-clock-history",value:"Rel\xf3gio Ativo",icon:"bi bi-clock-history"},{key:"bi bi-cloud",value:"Nuvem",icon:"bi bi-cloud"},{key:"bi bi-cone-striped",value:"Cone",icon:"bi bi-cone-striped"},{key:"bi bi-diagram-3",value:"Diagrama",icon:"bi bi-diagram-3"},{key:"bi bi-emoji-smile",value:"Emoji Sorrindo",icon:"bi bi-emoji-smile"},{key:"bi bi-emoji-neutral",value:"Emoji Neutro",icon:"bi bi-emoji-neutral"},{key:"bi bi-emoji-frown",value:"Emoji Triste",icon:"bi bi-emoji-frown"},{key:"bi bi-envelope",value:"Envelope",icon:"bi bi-envelope"},{key:"bi bi-eye",value:"Olho",icon:"bi bi-eye"},{key:"bi bi-folder",value:"Pasta",icon:"bi bi-folder"},{key:"bi bi-gear",value:"Configura\xe7\xf5es",icon:"bi bi-gear"},{key:"bi bi-gift",value:"Presente",icon:"bi bi-gift"},{key:"bi bi-hand-thumbs-up",value:"Positivo",icon:"bi bi-hand-thumbs-up"},{key:"bi bi-hand-thumbs-down",value:"Negativo",icon:"bi bi-hand-thumbs-down"},{key:"bi bi-heart",value:"Cora\xe7\xe3o",icon:"bi bi-heart"},{key:"bi bi-house",value:"Home",icon:"bi bi-house"},{key:"bi bi-info-circle",value:"Informa\xe7\xe3o",icon:"bi bi-info-circle"},{key:"bi bi-moon-stars",value:"Noite",icon:"bi bi-moon-stars"},{key:"bi bi-person-circle",value:"Perfil",icon:"bi bi-person-circle"},{key:"bi bi-printer",value:"Impressora",icon:"bi bi-printer"},{key:"bi bi-reply",value:"Retorno",icon:"bi bi-reply"},{key:"bi bi-search",value:"Lupa de Pesquisa",icon:"bi bi-search"},{key:"bi bi-trash",value:"Lixeira",icon:"bi bi-trash"},{key:"bi bi-trophy",value:"Tr\xf3feu",icon:"bi bi-trophy"},{key:"far fa-frown-open",value:"Emoji triste boca aberta",icon:"far fa-frown-open"},{key:"fas fa-frown-open",value:"Emoji triste solido",icon:"fas fa-frown-open"},{key:"fas fa-frown",value:"Emoji triste solido",icon:"fas fa-frown"},{key:"far fa-frown",value:"Emoji triste vazado",icon:"far fa-frown"},{key:"fas fa-smile",value:"Emoji sorrindo solido",icon:"fas fa-smile"},{key:"far fa-smile",value:"Emoji sorrindo vazado",icon:"far fa-smile"},{key:"far fa-smile-wink",value:"Emoji piscando vazado",icon:"far fa-smile-wink"},{key:"fas fa-smile-wink",value:"Emoji piscando solido",icon:"fas fa-smile-wink"},{key:"far fa-sad-cry",value:"Emoji chorando vazado",icon:"far fa-sad-cry"},{key:"fas fa-sad-cry",value:"Emoji chorando solido",icon:"fas fa-sad-cry"},{key:"far fa-meh",value:"Emoji neutro vazado",icon:"far fa-meh"},{key:"fas fa-meh",value:"Emoji neutro solido",icon:"fas fa-meh"},{key:"far fa-grin-stars",value:"Emoji sorrindo estrela no olho vazado",icon:"far fa-grin-stars"},{key:"fas fa-grin-stars",value:"Emoji sorrindo estrela no olho solido",icon:"fas fa-grin-stars"},{key:"far fa-angry",value:"Emoji bravo vazado",icon:"far fa-angry"},{key:"fas fa-angry",value:"Emoji bravo solido",icon:"fas fa-angry"},{key:"far fa-surprise",value:"Emoji surpreso vazado",icon:"far fa-surprise"},{key:"fas fa-surprise",value:"Emoji surpreso solido",icon:"fas fa-surprise"},{key:"far fa-tired",value:"Emoji cansado vazado",icon:"far fa-tired"},{key:"fas fa-tired",value:"Emoji cansado solido",icon:"fas fa-tired"},{key:"far fa-sad-tear",value:"Emoji triste 1 l\xe1grima",icon:"far fa-sad-tear"},{key:"fas fa-sad-tear",value:"Emoji triste 1 l\xe1grima solido",icon:"fas fa-sad-tear"},{key:"far fa-smile-beam",value:"Emoji sorriso vazado",icon:"far fa-smile-beam"},{key:"fas fa-smile-beam",value:"Emoji sorriso solido",icon:"fas fa-smile-beam"},{key:"far fa-laugh-beam",value:"Emoji gargalhada",icon:"far fa-laugh-beam"},{key:"fas fa-laugh-beam",value:"Emoji gargalhada solido",icon:"fas fa-laugh-beam"},{key:"far fa-grin",value:"Emoji sorriso",icon:"far fa-grin"},{key:"fas fa-grin",value:"Emoji sorriso solido",icon:"fas fa-grin"},{key:"fa-solid fa-chart-pie",value:"Grafico de Pizza solido",icon:"fas fa-chart-pie"},{key:"fa-solid fa-chart-bar",value:"Grafico de barra vertical",icon:"fas fa-chart-bar"},{key:"fa-solid fa-chart-line",value:"Grafico de linha",icon:"fas fa-chart-line"},{key:"fa-regular fa-comment",value:"Balao vazado",icon:"far fa-comment"},{key:"fa-solid fa-comment",value:"Balao solido",icon:"fas fa-comment"},{key:"fa-regular fa-comment-dots",value:"Balao vazado com ponto",icon:"far fa-comment-dots"},{key:"fa-solid fa-comment-dots",value:"Balao solido com ponto",icon:"fas fa-comment-dots"},{key:"fa-regular fa-comments",value:"2 Baloes vazados",icon:"far fa-comments"},{key:"fa-solid fa-comments",value:"2 Baloes solidos",icon:"fas fa-comments"},{key:"fa-regular fa-message",value:"Balao retangular vazado",icon:"far fa-comment-alt"},{key:"fa-solid fa-message",value:"Balao retangular solido",icon:"fas fa-comment-alt"},{key:"fa-regular fa-handshake",value:"Aperto de mao vazado",icon:"far fa-handshake"},{key:"fa-solid fa-handshake",value:"Aperto de mao solido",icon:"fas fa-handshake"},{key:"fa-solid fa-arrow-down",value:"Seta para baixo",icon:"fas fa-arrow-down"},{key:"fa-solid fa-arrow-down-long",value:"Seta para baixo longa",icon:"fas fa-long-arrow-alt-down"},{key:"fa-solid fa-arrow-left",value:"Seta para esquerda",icon:"fas fa-arrow-left"},{key:"fa-solid fa-arrow-left-long",value:"Seta para esquerda longa",icon:"fas fa-long-arrow-alt-left"},{key:"fa-solid fa-arrow-right",value:"Seta para direita",icon:"fas fa-arrow-right"},{key:"fa-solid fa-arrow-right-long",value:"Seta para direita longa",icon:"fas fa-long-arrow-alt-right"},{key:"fa-solid fa-arrow-up",value:"Seta para cima",icon:"fas fa-arrow-up"},{key:"fa-solid fa-arrow-up-long",value:"Seta para cima longa",icon:"fas fa-long-arrow-alt-up"},{key:"fa-solid fa-check",value:"Check",icon:"fas fa-check"},{key:"fa-solid fa-check-double",value:"Check duplo",icon:"fas fa-check-double"},{key:"fa-regular fa-circle-check",value:" Circulo com check vazado",icon:"far fa-check-circle"},{key:"fa-solid fa-circle-check",value:"Circulo com check solido",icon:"fas fa-check-circle"},{key:"fa-regular fa-square-check",value:" Quadrado com check vazado",icon:"far fa-check-square"},{key:"fa-solid fa-square-check",value:"Quadrado com check solido",icon:"fas fa-check-square"},{key:"fa-solid fa-clipboard-check",value:"Check de prancheta",icon:"fas fa-clipboard-check"},{key:"fa-solid fa-user-check",value:"Check de usuario solido",icon:"fas fa-user-check"},{key:"fa-solid fa-filter",value:"Filtro solido",icon:"fas fa-filter"},{key:"fa-light fa-arrow-down-a-z",value:"Filtro A-Z seta para baixo",icon:"fas fa-sort-alpha-down"},{key:"fa-light fa-arrow-up-a-z",value:"Filtro A-Z seta para cima",icon:"fas fa-sort-alpha-up"},{key:"fa-light fa-arrow-down-1-9",value:"Filtro 1-9 seta para baixo",icon:"fas fa-sort-numeric-down"},{key:"fa-light fa-arrow-up-1-9",value:"Filtro 1-9 seta para cima",icon:"fas fa-sort-numeric-up"},{key:"fa-regular fa-file",value:" Arquivo Folha vazado",icon:"far fa-file"},{key:"fa-solid fa-file",value:"Arquivo Folha solido",icon:"fas fa-file"},{key:"fa-thin fa-folder-open",value:" Pasta vazado",icon:"far fa-folder-open"},{key:"fa-solid fa-folder-open",value:"Pasta solido",icon:"fas fa-folder-open"},{key:"fa-light fa-calendar-days",value:"Calendario",icon:"far fa-calendar-alt"}],this.NUMERO_SEMANA=[{key:1,value:"1\xaa"},{key:2,value:"2\xaa"},{key:3,value:"3\xaa"},{key:4,value:"4\xaa"},{key:5,value:"5\xaa"}],this.UF=[{key:"AC",code:"01",value:"Acre"},{key:"AL",code:"02",value:"Alagoas"},{key:"AP",code:"04",value:"Amap\xe1"},{key:"AM",code:"03",value:"Amazonas"},{key:"BA",code:"05",value:"Bahia"},{key:"CE",code:"06",value:"Cear\xe1"},{key:"DF",code:"07",value:"Distrito Federal"},{key:"ES",code:"08",value:"Esp\xedrito Santo"},{key:"GO",code:"09",value:"Goi\xe1s"},{key:"MA",code:"10",value:"Maranh\xe3o"},{key:"MT",code:"13",value:"Mato Grosso"},{key:"MS",code:"12",value:"Mato Grosso do Sul"},{key:"MG",code:"11",value:"Minas Gerais"},{key:"PA",code:"14",value:"Par\xe1"},{key:"PB",code:"15",value:"Para\xedba"},{key:"PR",code:"18",value:"Paran\xe1"},{key:"PE",code:"16",value:"Pernambuco"},{key:"PI",code:"17",value:"Piau\xed"},{key:"RJ",code:"19",value:"Rio de Janeiro"},{key:"RN",code:"20",value:"Rio Grande do Norte"},{key:"RS",code:"23",value:"Rio Grande do Sul"},{key:"RO",code:"21",value:"Rond\xf4nia"},{key:"RR",code:"22",value:"Roraima"},{key:"SC",code:"24",value:"Santa Catarina"},{key:"SP",code:"26",value:"S\xe3o Paulo"},{key:"SE",code:"25",value:"Sergipe"},{key:"TO",code:"27",value:"Tocantins"}],this.TIPO_CIDADE=[{key:"MUNICIPIO",value:"Munic\xedpio"},{key:"DISTRITO",value:"Distrito"},{key:"CAPITAL",value:"Capital"}],this.DIA_SEMANA=[{key:0,code:"domingo",value:"Domingo"},{key:1,code:"segunda",value:"Segunda-feira"},{key:2,code:"terca",value:"Ter\xe7a-feira"},{key:3,code:"quarta",value:"Quarta-feira"},{key:4,code:"quinta",value:"Quinta-feira"},{key:5,code:"sexta",value:"Sexta-feira"},{key:6,code:"sabado",value:"S\xe1bado"}],this.DIA_MES=[{key:1,value:"1"},{key:2,value:"2"},{key:3,value:"3"},{key:4,value:"4"},{key:5,value:"5"},{key:6,value:"6"},{key:7,value:"7"},{key:8,value:"8"},{key:9,value:"9"},{key:10,value:"10"},{key:11,value:"11"},{key:12,value:"12"},{key:13,value:"13"},{key:14,value:"14"},{key:15,value:"15"},{key:16,value:"16"},{key:17,value:"17"},{key:18,value:"18"},{key:19,value:"19"},{key:20,value:"20"},{key:21,value:"21"},{key:22,value:"22"},{key:23,value:"23"},{key:24,value:"24"},{key:25,value:"25"},{key:26,value:"26"},{key:27,value:"27"},{key:28,value:"28"},{key:29,value:"29"},{key:30,value:"30"},{key:31,value:"31"}],this.MESES=[{key:1,value:"Janeiro"},{key:2,value:"Fevereiro"},{key:3,value:"Mar\xe7o"},{key:4,value:"Abril"},{key:5,value:"Maio"},{key:6,value:"Junho"},{key:7,value:"Julho"},{key:8,value:"Agosto"},{key:9,value:"Setembro"},{key:10,value:"Outubro"},{key:11,value:"Novembro"},{key:12,value:"Dezembro"}],this.TIPO_CARGA_HORARIA=[{key:"DIA",icon:"bi bi-calendar3-event",value:"Horas por dia"},{key:"DIA",icon:"bi bi-calendar3-week",value:"Horas por semana"},{key:"DIA",icon:"bi bi-calendar3",value:"Horas por m\xeas"}],this.MATERIAL_SERVICO_TIPO=[{key:"MATERIAL",icon:"bi bi-box-seam",value:"Material"},{key:"SERVICO",icon:"bi bi-tools",value:"Servi\xe7o"}],this.MATERIAL_SERVICO_UNIDADE=[{key:"UNIDADE",value:"Unidade"},{key:"CAIXA",value:"Caixa"},{key:"METRO",value:"Metro"},{key:"KILO",value:"Quilo"},{key:"LITRO",value:"Litro"},{key:"DUZIA",value:"D\xfazia"},{key:"MONETARIO",value:"Monet\xe1rio"},{key:"HORAS",value:"Horas"},{key:"DIAS",value:"Dias"},{key:"PACOTE",value:"Pacote"}],this.PROJETO_STATUS=[{key:"PLANEJADO",value:"Planejado",icon:"bi bi-bar-chart-steps",color:"bg-primary"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-collection-play",color:"bg-success"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-calendar2-check",color:"bg-dark"},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-pause-btn",color:"bg-warning text-dark"},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"bg-danger"}],this.CONSOLIDACAO_STATUS=[{key:"INCLUIDO",value:"Incluido",icon:"bi bi-pencil-square",color:"secondary"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-clipboard2-check",color:"primary"},{key:"AVALIADO",value:"Avaliado",icon:"bi bi-star",color:"info"}],this.PERIODICIDADE_CONSOLIDACAO=[{key:"DIAS",value:"Dias"},{key:"SEMANAL",value:"Semanal"},{key:"QUINZENAL",value:"Quinzenal"},{key:"MENSAL",value:"Mensal"},{key:"BIMESTRAL",value:"Bimestral"},{key:"TRIMESTRAL",value:"Trimestral"},{key:"SEMESTRAL",value:"Semestral"}],this.TIPO_AVALIACAO_TIPO=[{key:"QUALITATIVO",value:"Qualitativo (conceitual)"},{key:"QUANTITATIVO",value:"Quantitativo (valor)"}],this.ADESAO_STATUS=[{key:"SOLICITADO",value:"Solicitado",color:"bg-primary"},{key:"HOMOLOGADO",value:"Homologado",color:"bg-success"},{key:"CANCELADO",value:"Cancelado",color:"bg-danger"}],this.PROJETO_TAREFA_STATUS=[{key:"PLANEJADO",value:"Planejado",icon:"bi bi-bar-chart-steps",color:"primary"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-collection-play",color:"success"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-calendar2-check",color:"secondary"},{key:"FALHO",value:"Falho",icon:"bi bi-question-octagon",color:"danger"},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-pause-btn",color:"warning"},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"danger"},{key:"AGUARDANDO",value:"Aguardando",icon:"bi bi-pause-fill",color:"light"}],this.TIPO_LOG_CHANGE=[{key:"ADD",value:"ADD"},{key:"EDIT",value:"EDIT"},{key:"SOFT_DELETE",value:"SOFT_DELETE"},{key:"DELETE",value:"DELETE"}],this.TIPO_LOG_ERROR=[{key:"ERROR",value:"ERROR"},{key:"FRONT-ERROR",value:"FRONT-ERROR"},{key:"FRONT-WARNING",value:"FRONT-WARNING"},{key:"WARNING",value:"WARNING"}],this.PROJETO_TIPO_RECURSOS=[{key:"HUMANO",value:"Humano",icon:"bi bi-people-fill",color:"primary"},{key:"DEPARTAMENTO",value:"Departamento",icon:"bi bi-house-gear-fill",color:"success"},{key:"MATERIAL",value:"Material",icon:"bi bi-boxes",color:"info"},{key:"SERVI\xc7O",value:"Servi\xe7o",icon:"bi bi-tools",color:"warning"},{key:"CUSTO",value:"Custo",icon:"bi bi-currency-exchange",color:"danger"}],this.PLANO_ENTREGA_STATUS=[{key:"INCLUIDO",value:"Inclu\xeddo",icon:"bi bi-pencil-square",color:"secondary",data:{justificar:["HOMOLOGANDO"]}},{key:"HOMOLOGANDO",value:"Aguardando homologa\xe7\xe3o",icon:"bi bi-clock",color:"warning",data:{justificar:["ATIVO"]}},{key:"ATIVO",value:"Em execu\xe7\xe3o",icon:"bi bi-caret-right",color:"success",data:{justificar:["CONCLUIDO"]}},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-clipboard2-check",color:"primary",data:{justificar:["AVALIADO"]}},{key:"AVALIADO",value:"Avaliado",icon:"bi bi-star",color:"info",data:{justificar:[]}},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-sign-stop",color:"dark",data:{justificar:[]}},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"danger",data:{justificar:[]}}],this.PLANO_TRABALHO_STATUS=[{key:"INCLUIDO",value:"Inclu\xeddo",icon:"bi bi-pencil-square",color:"secondary",data:{justificar:["AGUARDANDO_ASSINATURA"]}},{key:"AGUARDANDO_ASSINATURA",value:"Aguardando assinatura",icon:"bi bi-clock",color:"warning",data:{justificar:[]}},{key:"ATIVO",value:"Aprovado",icon:"bi bi-check2-circle",color:"success",data:{justificar:[]}},{key:"CONCLUIDO",value:"Executado",icon:"bi bi-clipboard2-check",color:"primary",data:{justificar:[]}},{key:"AVALIADO",value:"Avaliado",icon:"bi bi-star",color:"info",data:{justificar:[]}},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-sign-stop",color:"dark",data:{justificar:[]}},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"danger",data:{justificar:[]}}],this.PROJETO_PERFIS=[{key:"ESCRITORIO",value:"Escrit\xf3rio",icon:"bi bi-house-gear",data:["DEPARTAMENTO"]},{key:"GERENTE",value:"Gerente",icon:"bi bi-person-gear",data:["HUMANO"]},{key:"ACESSAR",value:"Acessar o projeto",icon:"bi bi-unlock",data:["HUMANO","DEPARTAMENTO"]}],this.IDIOMAS=[{key:"ALEMAO",value:"Alem\xe3o"},{key:"ARABE",value:"\xc1rabe"},{key:"ARGELINO",value:"Argelino"},{key:"AZERI",value:"Azeri"},{key:"BENGALI",value:"Bengali"},{key:"CHINES",value:"Chin\xeas"},{key:"COREANO",value:"Coreano"},{key:"EGIPCIO",value:"Eg\xedpcio"},{key:"ESPANHOL",value:"Espanhol"},{key:"FRANCES",value:"Frances"},{key:"INDI",value:"indi"},{key:"HOLANDES",value:"Holand\xeas"},{key:"INDONESIO",value:"Indon\xe9sio"},{key:"INGLES",value:"Ingl\xeas"},{key:"IORUBA",value:"Iorub\xe1"},{key:"ITALIANO",value:"Italiano"},{key:"JAPONES",value:"Japon\xeas"},{key:"JAVANES",value:"Javan\xeas"},{key:"MALAIO",value:"Malaio"},{key:"MALAIOB",value:"Malaio/Bahasa"},{key:"MARATA",value:"Marata"},{key:"PERSA ",value:"Persa"},{key:"PUNJABI ",value:"Punjabi"},{key:"ROMENO",value:"Romeno"},{key:"RUSSO",value:"Russo"},{key:"SUAILI",value:"Sua\xedli"},{key:"TAILANDES",value:"Tailandes"},{key:"TAMIL ",value:"T\xe2mil"},{key:"TELUGU",value:"Telugu"},{key:"TURCO",value:"Turco"},{key:"UCRANIANO",value:"Ucraniano"},{key:"URDU",value:"Urdu"},{key:"VIETNAMITA",value:"Vietnamita"}],this.NIVEL_IDIOMA=[{key:"BASICO",value:"B\xe1sico"},{key:"INTERMEDIARIO",value:"Intermedi\xe1rio"},{key:"AVANCADO",value:"Avan\xe7ado"},{key:"FLUENTE",value:"Fluente"}],this.ESTADO_CIVIL=[{key:"CASADO",value:"Casado"},{key:"DIVORCIADO",value:"Divorciado"},{key:"SOLTEIRO",value:"Solteiro"},{key:"SEPARADO",value:"Separado"},{key:"VIUVO",value:"Vi\xfavo"},{key:"UNIAO",value:"Uni\xe3o Est\xe1vel"},{key:"OUTRO",value:"Outro"}],this.COR_RACA=[{key:"BRANCA",value:"Branca"},{key:"PRETA",value:"Preta"},{key:"PARDA",value:"Parda"},{key:"INDIGENA",value:"Indigena"},{key:"AMARELA",value:"Amarela"}],this.TIPO_DISCRIMINACAO=[{key:"SOCIAL",value:"Social"},{key:"RACIAL",value:"Racial"},{key:"RELIGIOSA",value:"Religiosa"},{key:"SEXUAL",value:"Sexual"},{key:"POLITICA",value:"Politica"}],this.ESCOLARIDADE=[{key:"ESCOLARIDADE_FUNDAMENTAL",value:"Ensino Fundamental"},{key:"ESCOLARIDADE_MEDIO",value:"Ensino M\xe9dio"},{key:"ESCOLARIDADE_SUPERIOR",value:"Ensino Superior"},{key:"ESCOLARIDADE_ESPECIAL",value:"Especializa\xe7\xe3o"},{key:"ESCOLARIDADE_MESTRADO",value:"Mestrado"},{key:"ESCOLARIDADE_DOUTORADO",value:"Doutorado"},{key:"ESCOLARIDADE_POS_DOUTORADO",value:"P\xf3s Doutorado"}],this.TITULOS_CURSOS=[{key:"GRAD_TEC",value:"Tecn\xf3logo"},{key:"GRAD_BAC",value:"Bacharelado"},{key:"GRAD_LIC",value:"Licenciatura"},{key:"ESPECIAL",value:"Especializa\xe7\xe3o"},{key:"MESTRADO",value:"Mestrado"},{key:"DOUTORADO",value:"Doutorado"},{key:"POS_DOUTORADO",value:"P\xf3s Doutorado"}],this.TITULOS_CURSOS_INST=[{key:"INSTITUCIONAL",value:"Institucional"},{key:"GRAD_TEC",value:"Tecn\xf3logo"},{key:"GRAD_BAC",value:"Bacharelado"},{key:"GRAD_LIC",value:"Licenciatura"},{key:"ESPECIAL",value:"Especializa\xe7\xe3o"},{key:"MESTRADO",value:"Mestrado"},{key:"DOUTORADO",value:"Doutorado"},{key:"POS_DOUTORADO",value:"P\xf3s Doutorado"}],this.CARGOS_PRF=[{key:"PRF",value:"PRF"},{key:"ADM",value:"Agente Administrativo"}],this.SITUACAO_FUNCIONAL=[{key:"CONCURSADO_E",value:"Concursado Efetivo"},{key:"CONCURSADO_T",value:"Consursado Tempor\xe1rio"},{key:"TERCEIRIZADO",value:"Colaborador de empresa terceirizada"},{key:"ESTAGIARIO",value:"Estagi\xe1rio"}],this.PG_PRF=[{key:"PRESENCIAL",value:"Presencial"},{key:"TELETRABALHO_PARCIAL",value:"Teletrabalho parcial"},{key:"TELETRABALHO_INTEGRAL",value:"Teletrabalho integral"}],this.QUESTIONARIO_TIPO=[{key:"INTERNO",value:"Interno"},{key:"PERSONALIZADO",value:"Personalizado"},{key:"ANONIMO",value:"An\xf4nimo"}],this.QUESTIONARIO_PERGUNTA_TIPO=[{key:"SELECT",value:"\xdanica Escolha"},{key:"MULTI_SELECT",value:"Multipla Escolha"},{key:"TEXT",value:"Texto Livre"},{key:"RATE",value:"Classifica\xe7\xe3o"},{key:"SWITCH",value:"Sim/N\xe3o"},{key:"RADIO",value:"\xdanica Escolha"},{key:"NUMBER",value:"Num\xe9rica"},{key:"SEARCH",value:"Pesquisa"},{key:"EMOJI",value:"Emojis"},{key:"TEXT_AREA",value:"Caixa de Texto"},{key:"TIMER",value:"Tempo"},{key:"DATE_TIME",value:"Data/Hora"},{key:"RADIO_BUTTON",value:"Bot\xf5es"},{key:"RADIO_INLINE",value:"\xdanica Escolha"},{key:"CHECK",value:"M\xfaltipla Escolha"}],this.SOFT_SKILLS=[{key:"COMUNICACAO",value:"Comunica\xe7\xe3o"},{key:"LIDERANCA",value:"Lideran\xe7a"},{key:"RESOLUCAO",value:"Resolu\xe7\xe3o de problemas"},{key:"CRIATIVIDADE",value:"Criatividade e curiosidade"},{key:"PENSAMENTO",value:"Pensamento cr\xedtico"},{key:"HABILIDADES",value:"Habilidades com pessoas e equipes"},{key:"ADAPTABILIDADE",value:"Adaptabilidade e resili\xeancia"},{key:"ETICA",value:"\xc9tica"}],this.ATRIBUTOS_COMPORTAMENTAIS=[{key:"EXTROVERSAO",value:"Extrovers\xe3o"},{key:"AGRADABILIDADE",value:"Agradabilidade"},{key:"CONSCIENCIOSIDADE",value:"Conscienciosidade"},{key:"EMOCIONAL",value:"Estabilidade Emocional"},{key:"ABERTURA",value:"Abertura"}],this.THEMES=[{key:"light",value:"Branco (light)"},{key:"blue",value:"Azul (oxford)"},{key:"dark",value:"Preto (dark)"}],this.TIPO_INTEGRACAO=[{key:"NENHUMA",value:"Nenhuma"},{key:"SIAPE",value:"Siape-WS"}],this.GOV_BR_ENV=[{key:"staging",value:"Teste"},{key:"production",value:"Produ\xe7\xe3o"}],this.EXISTE_PAGADOR=[{key:"A",value:"V\xednculos ativos sem ocorr\xeancia de exclus\xe3o"},{key:"B",value:"Todos os v\xednculos"}],this.TIPO_VINCULO=[{key:"A",value:"Ativos em exerc\xedcio no \xf3rg\xe3o"},{key:"B",value:"Ativos e aposentados"},{key:"C",value:"Ativos, aposentados e pensionistas"}],this.LOGICOS=[{key:!0,value:"Verdadeiro"},{key:!1,value:"Falso"}],this.TIPO_OPERADOR=[{key:"number",value:"N\xfamero"},{key:"string",value:"Texto"},{key:"boolean",value:"L\xf3gico"},{key:"variable",value:"Vari\xe1vel"},{key:"list",value:"Lista"}],this.OPERADOR=[{key:"==",value:"\xc9 igual"},{key:"<",value:"\xc9 menor"},{key:"<=",value:"\xc9 menor ou igual"},{key:">",value:"\xc9 maior"},{key:">=",value:"\xc9 maior ou igual"},{key:"<>",value:"\xc9 diferente"}],this.LISTA_TIPO=[{key:"indice",value:"Lista utilizando \xedndice"},{key:"variavel",value:"Lista utilizando vari\xe1vel"}],this.CALCULO=[{key:"ACRESCIMO",value:"Adiciona"},{key:"DECRESCIMO",value:"Subtrai"}]}getLookup(y,C){return y.find(b=>b.key==C)}getCode(y,C){return y.find(b=>b.key==C)?.code||""}getValue(y,C){return y.find(b=>b.key==C)?.value||""}getColor(y,C){return y.find(b=>b.key==C)?.color||""}getIcon(y,C){return y.find(b=>b.key==C)?.icon||""}getData(y,C){return y?.find(b=>b.key==C)?.data}uniqueLookupItem(y){let C=[];return y.forEach(b=>{C.find(F=>F.key==b.key)||C.push(b)}),C}ordenarLookupItem(y){return y.sort((C,b)=>C.value{"use strict";m.d(_e,{R:()=>C,o:()=>b});var i=m(755),t=m(5579),A=m(9927),a=m(5545),y=m(1547);class C{constructor(j){this.modalResult=j}}let b=(()=>{class F{get ngZone(){return this._ngZone=this._ngZone||this.injector.get(i.R0b),this._ngZone}get router(){return this._router=this._router||this.injector.get(t.F0),this._router}get dialogs(){return this._dialogs=this._dialogs||this.injector.get(a.x),this._dialogs}get gb(){return this._gb=this._gb||this.injector.get(y.d),this._gb}constructor(N){this.injector=N,this.ROOT_ROUTE=["home"],this.routes=[]}encodeParam(N){for(let[x,H]of Object.entries(N))["function","object"].includes(typeof H)&&(N["_$"+x+"$_"]=JSON.stringify(H),Array.isArray(H)&&(N[x]="[object Array]"))}decodeParam(N){if(N){let x={};for(let[H,k]of Object.entries(N))if("string"==typeof k&&k.startsWith("[object")&&N["_$"+H+"$_"]){const P=JSON.parse(N["_$"+H+"$_"]);switch(k){case"[object Object]":case"[object Function]":case"[object Array]":case"[object RegExp]":x[H]=P;break;case"[object Date]":x[H]=new Date(P);break;default:x[H]=k}}else/_\$.*\$_$/g.test(H)||(x[H]=k);return x}return N}navigate(N,x){N.params=Object.assign(N.params||{},{context:this.gb.contexto?.key,idroute:A.V.hashStr(this.currentOrDefault.route.join("")+N.route.join(""))}),N.params.modal=x?.modal||N.params.modal,x?.modalWidth&&(N.params.modalWidth=x?.modalWidth),this.encodeParam(N.params);let H=Object.assign(x||{},{id:N.params.idroute,context:N.params.context,source:this.current,destination:N,modal:N.params?.modal,modalClose:x?.modalClose});return H.root&&this.clearRoutes(),this.routes.push(H),this.ngZone.run(()=>this.router.navigate(N.route,{queryParams:N.params}))}getMetadata(N){return this.routes.find(x=>x.id==N)?.metadata}getRouteUrl(){return this.router.url.split("?")[0]}getStackRouteUrl(){return this.routes.map(N=>N.path||N.destination?.route.join("/")||"").join(";")}clearRoutes(){this.routes=[],this.dialogs.closeAll()}get first(){return!this.routes.length}back(N,x){if(!this.routes.length)return this.ngZone.run(()=>this.router.navigate(x?.route||this.ROOT_ROUTE,{queryParams:x?.params}));{if(N?.length&&this.routes[this.routes.length-1].id!=N)return;let H=this.routes.pop();if(H.modal)this.dialogs.close(H.id,!1),H.modalClose&&H.modalClose(H?.modalResult);else if(H.back)return this.clearRoutes(),this.ngZone.run(()=>this.router.navigate(H.back.route,{queryParams:H.back.params}));if(!H.modal){if(H.source)return this.ngZone.run(()=>this.router.navigate(H.source.route,{queryParams:H.source.params}));if(H.default)return this.ngZone.run(()=>this.router.navigate(H.default.route,{queryParams:H.default.params}))}}return null}get current(){return this.routes.length?this.routes[this.routes.length-1].destination:void 0}get currentOrDefault(){return this.current||{route:this.router.url.split("?")[0].split("/")}}config(N,x){let H=this.routes.find(k=>k.id==N);H&&(x.title&&(H.title=x.title),x.modal&&(H.modal=x.modal),x.path&&(H.path=x.path))}setModalResult(N,x){let H=this.routes.find(k=>k.id==N);H&&(H.modalResult=x)}getModalResult(N,x){return this.routes.find(H=>H.id==N)?.modalResult}setDefaultBackRoute(N,x){let H=this.routes.find(k=>k.id==N);H&&(H.default=x)}isActivePath(N){return this.router.url.toLowerCase().startsWith("string"==typeof N?N:"/"+N.join("/"))}link(N){return N}params(N){return N}openNewBrowserTab(N){if(N){let x=this.gb.servidorURL+"#"+N.pathFromRoot.map(H=>H.url.map(k=>k.path).join("/")).join("/");x+=N.queryParamMap.keys.length>0?"?"+N.queryParamMap.keys.map(H=>N.queryParamMap.getAll(H).map(k=>H+"="+k).join("&")).join("&"):"",window?.open(x,"_blank")?.focus()}}openNewTab(N){window.open(N,"_blank")?.focus()}openPopup(N,x=500,H=600){window.open(N,"targetWindow","toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width="+x+", height="+H)?.focus()}refresh(){const N=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([N])})}static#e=this.\u0275fac=function(x){return new(x||F)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},1454:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>F});var i=m(2939),t=m(1960),A=m(8748),a=m(7560),y=m(2333),C=m(1547),b=m(755);let F=(()=>{class j{static#e=this.BATCH_TIMEOUT=5e3;get auth(){return this._auth=this._auth||this.injector.get(y.e),this._auth}get http(){return this._http=this._http||this.injector.get(i.eN),this._http}get gb(){return this._gb=this._gb||this.injector.get(C.d),this._gb}get tokenExtractor(){return this._tokenExtractor=this._tokenExtractor||this.injector.get(i.YS),this._tokenExtractor}constructor(x){this.injector=x}startBatch(x=!0,H=!1){if(!H&&typeof this.batch<"u")throw new Error("Already exists a batch started");this.batch={sameTransaction:x,actions:[]},this._batchTimeout=setTimeout(()=>{this.endBatch()},j.BATCH_TIMEOUT)}endBatch(){if(typeof this.batch>"u")throw new Error("Batch not started");let x={sameTransaction:this.batch.sameTransaction,actions:this.batch.actions.map(P=>Object.assign({},{route:P.route,method:P.method,data:P.data}))},H=this.batch;this.batch=void 0,clearTimeout(this._batchTimeout);let k=this.http.post(this.gb.servidorURL+"/api/batch",x,this.requestOptions());return k.pipe((0,a.K)((P,X)=>(H.actions.map(Oe=>Oe.response).forEach((Oe,Se)=>{Oe.error(P)}),this.errorHandle(P,X)))),k.subscribe(P=>{H.actions.map(me=>me.response).forEach((me,Oe)=>{me.next(P.error?P:P.returns[Oe]),me.complete()})}),k}errorHandle(x,H){return x instanceof i.UA&&[419,401].includes(x.status)&&this.auth.logOut(),(0,t._)(x)}requestOptions(){let x={withCredentials:!0,headers:{}},H={};if(this.gb.isEmbedded&&this.auth.apiToken?.length)x.headers.Authorization="Bearer "+this.auth.apiToken;else{let k=this.tokenExtractor.getToken();null!==k&&(x.headers["X-XSRF-TOKEN"]=k)}return H.version=this.gb.VERSAO_DB,this.auth.unidade&&(H.unidade_id=this.auth.unidade.id),x.headers["X-PETRVS"]=btoa(JSON.stringify(H)),x.headers["X-ENTIDADE"]=this.gb.ENTIDADE,x}get(x){let H;if(typeof this.batch<"u"){let k={route:this.gb.servidorURL+"/"+x,method:"GET",data:null,response:new A.x};this.batch.actions.push(k),H=k.response.asObservable()}else H=this.http.get(this.gb.servidorURL+"/"+x,this.requestOptions()),H.pipe((0,a.K)(this.errorHandle.bind(this)));return H}post(x,H){let k;if(typeof this.batch<"u"){let P={route:this.gb.servidorURL+"/"+x,method:"POST",data:H,response:new A.x};this.batch.actions.push(P),k=P.response.asObservable()}else k=this.http.post(this.gb.servidorURL+"/"+x,H,this.requestOptions()),k.pipe((0,a.K)(this.errorHandle.bind(this)));return k}delete(x,H){let k=this.requestOptions();return k.params=H,this.http.delete(this.gb.servidorURL+"/"+x,k)}getSvg(x){let H=this.http.get(x,{responseType:"text"});return H.pipe((0,a.K)(this.errorHandle.bind(this))),H}getPDF(x,H){let k=this.requestOptions();return k=this.addCustomHeaders(k),this.http.get(this.gb.servidorURL+"/"+x,{...k,params:H,responseType:"blob"})}addCustomHeaders(x){return x.headers["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",x.headers.Accept="application/pdf",x}static#t=this.\u0275fac=function(H){return new(H||j)(b.LFG(b.zs3))};static#n=this.\u0275prov=b.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},609:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>a});var i=m(8239),t=m(755),A=m(2333);let a=(()=>{class y{constructor(b){this.auth=b,this.unidade=[]}getAllUnidades(){var b=this;return(0,i.Z)(function*(){b.unidadeDao?.query().getAll().then(F=>(b.unidade=F.map(j=>Object.assign({},{key:j.id,value:j.sigla})),b.unidade))})()}isGestorUnidade(b=null,F=!0){let j=null==b?this.auth.unidade?.id||null:"string"==typeof b?b:b.id,N=this.auth.unidades?.find(H=>H.id==j),x=[N?.gestor?.usuario_id,...N?.gestores_substitutos?.map(H=>H.usuario_id)||[]];return F&&x.push(...N?.gestores_delegados?.map(H=>H.usuario_id)||[]),!!j&&!!N&&x.includes(this.auth.usuario.id)}isGestorUnidadeSuperior(b){let F=[];return F.push(b.unidade_pai?.gestor?.usuario_id),F.push(...b.unidade_pai?.gestores_substitutos?.map(j=>j.usuario_id)??[]),F.includes(this.auth.usuario.id)}isGestorTitularUnidade(b=null){let F=null==b?this.auth.unidade?.id||null:"string"==typeof b?b:b.id,j=this.auth.unidades?.find(x=>x.id==F);return!!F&&!!j&&[j?.gestor?.usuario_id].includes(this.auth.usuario.id)}isGestorUnidadePlano(b,F){let j=[];return j.push(b.gestor?.usuario_id),j.push(...b.gestores_substitutos?.map(N=>N.usuario_id)??[]),j.includes(F)}static#e=this.\u0275fac=function(F){return new(F||y)(t.LFG(A.e))};static#t=this.\u0275prov=t.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},9193:(lt,_e,m)=>{"use strict";m.d(_e,{f:()=>F});var i=m(9927),t=m(2866),A=m.n(t),a=m(2953),y=m(6733),C=m(2333),b=m(755);let F=(()=>{class j{static#e=this.ISO8601_VALIDATE=/^[0-9]{4}-((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|[12][0-9]))((T|\s)(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9])(:(0[0-9]|[1-5][0-9])(\.([0-9]{3}|[0-9]{6}))?)?)?Z?$/;static#t=this.ISO8601_FORMAT="YYYY-MM-DDTHH:mm:ss";static#n=this.TIME_VALIDATE=/^(([01][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?)|(24:00(:00)?)$/;constructor(x,H,k){this.injector=x,this.document=H,this.maskService=x.get(a.KD),this.auth=x.get(C.e),this.maskService.thousandSeparator=".",this.renderer=k.createRenderer(null,null)}copyToClipboard(x){const H=document.createElement("textarea");H.style.position="fixed",H.style.left="0",H.style.top="0",H.style.opacity="0",H.value=x,document.body.appendChild(H),H.focus(),H.select(),document.execCommand("copy"),document.body.removeChild(H)}clone(x){if("object"==typeof x){if(Array.isArray(x))return x.map(H=>this.clone(H));if(x instanceof Date)return new Date(x.getTime());if(typeof x>"u")return;{if(null==x)return null;let H={};for(let[k,P]of Object.entries(x))H[k]=this.clone(P);return H}}return x}round(x,H){const k=Math.pow(10,H);return Math.round((x+Number.EPSILON)*k)/k}avg(x){for(var H=0,k=0,P=x.length;Hk.length).reduce((k,P)=>k&&k[Array.isArray(k)&&!isNaN(+P)?parseInt(P):P],x)}setNested(x,H,k){let P=H.replace("[",".").replace("]",".").replace(/^\./g,"").split("."),X=P.pop(),me=P.reduce((Oe,Se)=>Oe[Array.isArray(Oe)?parseInt(Se):Se],x);me&&X&&(me[X]=k)}validateLookupItem(x,H){let k=!0;return H.indexOf(x)<0?x.forEach(P=>{(P.key==H||"d41d8cd98f00b204e9800998ecf8427e"==H)&&(k=!1)}):"d41d8cd98f00b204e9800998ecf8427e"==H&&(k=!1),k}commonBegin(x,H){let k=[],P=Array.isArray(x)?x:x.split(""),X=Array.isArray(H)?H:H.split("");const me=Math.min(P.length,X.length);for(let Oe=0;OeOe>=Se.length-2&&me).map(me=>+me),X=(me,Oe)=>10*(me=>H.filter((Oe,Se,wt)=>Se+Oe))(Oe).reduce((Se,wt,K)=>Se+wt*(me-K),0)%11%10;return!(X(10,2)!==k[0]||X(11,1)!==k[1])}validarEmail(x){return/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(x)}onlyNumbers(x){return x?[...x].filter(H=>/[0-9]/.test(H)).join(""):""}onlyAlphanumeric(x){return x.replace(/[^a-z0-9]/gi,"")}fill(x,H){return x&&(Object.keys(x).forEach(k=>{H&&H[k]&&Array.isArray(H[k])?((!Array.isArray(x[k])||typeof x[k]>"u")&&(x[k]=[]),x[k].push(...H[k])):!("object"==typeof x[k]&&H&&typeof H[k]<"u"&&H[k])||x[k]instanceof Date||H[k]instanceof Date?H&&typeof H[k]<"u"&&(x[k]=H[k]):x[k]=this.fill(x[k],H[k])}),H&&H._status&&(x._status=H._status)),x}assign(x,H){if(x){const k=Object.keys(x);k.forEach(P=>{Array.isArray(x[P])&&H&&H[P]&&Array.isArray(H[P])?x[P]=[...H[P]]:!("object"==typeof x[P]&&H&&typeof H[P]<"u"&&H[P])||x[P]instanceof Date||H[P]instanceof Date?H&&typeof H[P]<"u"&&(x[P]=H[P]):x[P]=this.assign(x[P],H[P])}),Object.entries(H||{}).forEach(([P,X])=>{k.includes(P)||(x[P]=X)})}return x}getParameters(x){return"function"==typeof x?new RegExp("(?:"+x.name+"\\s*|^)\\s*\\((.*?)\\)").exec(x.toString().replace(/\n/g,""))[1].replace(/\/\*.*?\*\//g,"").replace(/ /g,""):[]}mergeArrayOfObject(x,H,k,P=!0,X,me,Oe){const Se=X&&this.getParameters(X).length>1;for(let wt of H){let K=x.find(V=>"string"==typeof k?V[k]==wt[k]:k(V,wt));if(K)me?me(K,wt):Se?X("EDIT",K,wt):Object.assign(K,wt);else{let V=X?Se?X("ADD",void 0,wt):X(wt):wt;V&&x.push(V)}}if(P)for(let wt=0;wt"string"==typeof k?V[k]==K[k]:k(K,V))||(Oe?Oe(K):!Se||X("DELETE",K))&&(x.splice(wt,1),wt--)}return x}writeToFile(x,H){var k=document.createElement("a");k.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(H)),k.setAttribute("download",x),k.style.display="none",document.body.appendChild(k),k.click(),document.body.removeChild(k)}md5(x){return i.V.hashStr(x||Math.random().toString())}fillForm(x,H){return x&&H&&Object.keys(x).forEach(k=>{if(typeof H[k]<"u")x[k]=H[k];else if(k.indexOf("_")>0&&typeof H[k.substr(0,k.indexOf("_"))]<"u"){let P=H[k.substr(0,k.indexOf("_"))];P&&typeof P[k.substr(k.indexOf("_")+1)]<"u"&&(x[k]=P[k.substr(k.indexOf("_")+1)])}else if(k.indexOf("$")>0){const P=k.substr(0,k.indexOf("$")),X=k.substr(k.indexOf("$")+1);x[k]=H[P]?.indexOf(X)>=0}else"object"==typeof x[k]&&typeof H[k]<"u"&&(Array.isArray(x[k])?x[k]=Object.entries(H).filter(([P,X])=>P.startsWith(k)&&X).map(([P,X])=>P)||[]:Object.keys(x[k]).forEach(P=>{typeof H[k+"_"+P]<"u"&&(x[k][P]=H[k+"_"+P])}))}),x}empty(x){return null==x||null==x||("string"==typeof x?!x.length:"object"==typeof x&&x instanceof Date&&("function"!=typeof x.getMonth||x<=new Date(0)))}deepEach(x,H,k=!1,P=[]){if(x)for(let[X,me]of Array.isArray(x)?x.entries():Object.entries(x)){let Oe=[...P,X],Se=H(me,X,x,Oe);k&&null==Se&&(Array.isArray(x),delete x[X]),Se&&this.deepEach(Se,H,k,Oe)}}removeAcentos(x){return[...x].map(P=>{let X="\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\u0154\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff\u0155".indexOf(P);return X>=0?"AAAAAAACEEEEIIIIDNOOOOOOUUUUYRsBaaaaaaaceeeeiiiionoooooouuuuybyr"[X]:P}).join("")}textHash(x){return this.md5(this.removeAcentos(x.toLowerCase()))}apelidoOuNome(x,H=!1){const k=x?.apelido?.length?x.apelido:x?.nome||"";return k&&H?this.capitalCase(k):k}shortName(x){let H=x.replace(/\s\s+/g," ").split(" "),k="";for(let P of H)k+=k.length<5?" "+P[0].toUpperCase()+P.substring(1).toLowerCase():"";return k.trim().replace(" ","%")}capitalCase(x){return x.toLowerCase().replace(/(^\w|\.\w|\s\w)/g,H=>H.toUpperCase())}contrastColor(x){const H=this.colorHexToRGB(x);return.299*H.r+.587*H.g+.114*H.b>186?"#000000":"#ffffff"}colorHexToRGB(x){const H="#"===x.charAt(0)?x.substring(1,7):x;return{r:parseInt(H.substring(0,2),16),g:parseInt(H.substring(2,4),16),b:parseInt(H.substring(4,6),16)}}getBackgroundColor(x=0,H=20,k=51,P=62,X=51){const me=[];for(let Oe=0;Oe<=H;Oe++)me.push(`hsl(${Oe*k/H}, ${P}%, ${X}%)`);return me[H-x%(H+1)]}getRandomColor(){let H="#";for(let k=0;k<6;k++)H+="0123456789ABCDEF"[Math.floor(16*Math.random())];return H}isTimeValid(x){return j.TIME_VALIDATE.test(x)}isDataValid(x){const H=x&&"string"==typeof x?new Date(x):x;return!!H&&(A()(H).isValid()||"[object Date]"===Object.prototype.toString.call(H)&&!isNaN(H))}isDeveloper(){return 0==this.auth.usuario?.perfil?.nivel}decimalToTimer(x,H=!1,k=24){const P=H?Math.trunc(x):Math.trunc(x)%k,X=Math.round(x%1*60);return{days:H?0:Math.trunc(x-P)/k,hours:P,minutes:X}}decimalToTimerFormated(x,H=!1,k=24){let P="";if(void 0!==x){const X=this.decimalToTimer(x,H,k);P+=X.days?X.days+(1==X.days?" dia":" dias"):"",P+=X.hours?(X.days?", ":"")+this.strZero(X.hours,2)+"h":"",P+=X.minutes?(X.days&&!X.hours?", ":"")+this.strZero(X.minutes,2)+"min":"",P+=P.length?"":" - Zero - "}return P}between(x,H){const k="number"==typeof H.start?H.start:H.start.getTime(),P="number"==typeof H.end?H.end:H.end.getTime();return(x="number"==typeof x?x:x.getTime())>=k&&x<=P}asDate(x,H=null){return x instanceof Date?H=x:"number"==typeof x?H=new Date(x):"string"==typeof x&&A()(x).isValid()&&(H=A()(x).toDate()),H}asTimestamp(x,H=-1){return this.asDate(x)?.getTime()||H}asDateInterval(x){return{start:x.start instanceof Date?x.start:new Date(x.start),end:x.end instanceof Date?x.end:new Date(x.end)}}asTimeInterval(x){return{start:x.start instanceof Date?x.start.getTime():x.start,end:x.end instanceof Date?x.end.getTime():x.end}}intersection(x){const H=x[0]?.start instanceof Date;let k;if(x.length>1){k=this.asTimeInterval(x[0]);for(let P=1;P=X.start&&k.start<=X.end?{start:Math.max(k.start,X.start),end:Math.min(k.end,X.end)}:void 0}}return k&&H?this.asDateInterval(k):k}union(x){if(x.length<2)return x;{const H=x[0]?.start instanceof Date;let k=x.map(X=>this.asTimeInterval(X)),P=[];P.push(k[0]),k.shift();for(let X=0;X=k[me].start&&P[X].start<=k[me].end&&(P[X]={start:Math.min(P[X].start,k[me].start),end:Math.max(P[X].end,k[me].end)},k.splice(me,1),me=-1);k.length&&(P.push(k[0]),k.shift())}return H?P.map(X=>this.asDateInterval(X)):P}}merge(x,H,k){let P=[...x||[]];return(H||[]).forEach(X=>{P.find(me=>k(me,X))||P.push(X)}),P}getDateFormatted(x){return x?A()(x).format("DD/MM/YYYY"):""}getBooleanFormatted(x){return 0==x?"n\xe3o":"sim"}getTimeFormatted(x){return x?A()(x).format("HH:mm"):""}getTimeFormattedUSA(x){return x?A()(x).format("YYYY-MM-DD HH:mm:ss"):""}getDateTimeFormatted(x,H=" "){return x?x instanceof Date||"string"==typeof x&&x.match(j.ISO8601_VALIDATE)?this.getDateFormatted(x)+H+this.getTimeFormatted(x):JSON.stringify(x):""}static dateToIso8601(x){return A()(x).format(j.ISO8601_FORMAT)}static iso8601ToDate(x){return new Date(x.match(/.+[\sT]\d\d:\d\d(:\d\d)?(\.\d+Z)?$/)?x:x+"T00:00:00")}timestamp(x){const H=6e4*x.getTimezoneOffset();return Math.floor((x.getTime()-H)/1e3)}daystamp(x){const H=6e4*x.getTimezoneOffset();return Math.floor((x.getTime()-H)/864e5)}setTime(x,H,k,P){const X=new Date(x.getTime());return X.setHours(H,k,P),X}setStrTime(x,H){const k=H.split(":").map(P=>parseInt(P));return this.setTime(x,k[0]||0,k[1]||0,k[2]||0)}getTimeHours(x){const H=6e4*(new Date).getTimezoneOffset(),k=x instanceof Date?x:new Date(0==x?"0":x+H);return k.getHours()+k.getMinutes()/60+k.getSeconds()/3600}secondsToTimer(x){return{hours:Math.floor(x/3600),minutes:Math.floor(x%3600/60),secounds:Math.floor(x%3600%60)}}getHoursBetween(x,H){const k=Math.floor(((H instanceof Date?H.getTime():H)-(x instanceof Date?x.getTime():x))/1e3),P=this.secondsToTimer(k);return P.hours+P.minutes/60+P.secounds/3600}getStrTimeHours(x){const H=x.split(":").map(k=>parseInt(k));return H[0]+(H[1]||0)/60+(H[2]||0)/3600}addTimeHours(x,H){let k=new Date(x.getTime());return k.setTime(k.getTime()+60*H*60*1e3),k}startOfDay(x){return this.setTime(x,0,0,0)}endOfDay(x){return this.setTime(x,23,59,59)}minDate(...x){return x.reduce(function(H,k){return H&&k?H.getTime()k.getTime()?H:k:H||k})}loadScript(x){const H=this.renderer.createElement("script");return H.type="text/javascript",H.src=x,this.renderer.appendChild(this.document.body,H),H}clearControl(x,H=null){x.setValue(H),x.setErrors(null),x.markAsUntouched()}array_diff(x,H){return x.filter(k=>!H.includes(k))}array_diff_simm(x,H){let k=[...new Set([...x,...H])],P=x.filter(X=>H.includes(X));return this.array_diff(k,P)}uniqueArray(x){return x.filter((H,k)=>x.indexOf(H)===k)}decodeUnicode(x){return x.replace(/\\u[\dA-F]{4}/gi,function(H){return String.fromCharCode(parseInt(H.replace(/\\u/g,""),16))})}static#i=this.\u0275fac=function(H){return new(H||j)(b.LFG(b.zs3),b.LFG(y.K0),b.LFG(b.FYo))};static#r=this.\u0275prov=b.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},553:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>j});const i=typeof chrome<"u"?chrome:typeof browser<"u"?browser:void 0,t={api_url:i?.runtime?.getURL?i.runtime.getURL(""):"",app_env:"local",suporte_url:"https://suporte.prf.gov.br",entidade:"PRF",logo_url:"logo_vertical.png",versao:"1.0.0",edicao:"MGI",login:{google_client_id:"",gsuit:!0,azure:!0,institucional:!0,firebase:!1,user_password:!0}},A=typeof PETRVS_GLOBAL_CONFIG<"u"?PETRVS_GLOBAL_CONFIG:t,a=typeof EXTENSION_BASE_URL<"u"?EXTENSION_BASE_URL:typeof PETRVS_BASE_URL<"u"?PETRVS_BASE_URL:void 0,C=(typeof EXTENSION_SERVIDOR_URL<"u"?EXTENSION_SERVIDOR_URL:typeof PETRVS_SERVIDOR_URL<"u"?PETRVS_SERVIDOR_URL:void 0)||a||A.api_url,j={production:!0,host:C.replace(/^https?:\/\//,"").replace(/\/$/,""),https:C.startsWith("https"),env:A?.app_env||"local",suporte:A?.suporte_url||"https://suporte.prf.gov.br",entidade:A?.entidade||"PRF",images:{login:A?.logo_url||"logo.png"},versao:A?.versao||"1.0.0",edicao:A?.edicao||"MGI",login:A?.login||{google_client_id:A?.google_client_id||"",gsuit:!0,azure:!0,institucional:!0,firebase:!1,user_password:!0,login_unico:!0}}},8536:(lt,_e,m)=>{"use strict";var i=m(3232),t=m(755),A=m(2939),a=m(2133),y=m(1338),C=m(5579),b=m(1391),F=m(929);let j=(()=>{class q extends F._{constructor(Y){super(Y),this.injector=Y}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-config"]],features:[t.qOj],decls:2,vars:0,template:function(ne,pe){1&ne&&(t.TgZ(0,"p"),t._uU(1,"config works!"),t.qZA())}})}return q})(),N=(()=>{class q{constructor(){}ngOnInit(){this.bc=new BroadcastChannel("petrvs_login_popup"),this.bc?.postMessage("COMPLETAR_LOGIN"),setTimeout(()=>window.close(),1e3)}static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-login-retorno"]],decls:2,vars:0,template:function(ne,pe){1&ne&&(t.TgZ(0,"p"),t._uU(1,"login-retorno works!"),t.qZA())}})}return q})();var x=m(8239),H=m(8748),k=m(6733),P=m(1547),X=m(2307),me=m(2333),Oe=m(9193),Se=m(8720),wt=m(504),K=m(5545);let V=(()=>{class q{constructor(Y){this.http=Y}getBuildInfo(){return this.http.get("/assets/build-info.json")}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(A.eN))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})();var J=m(2392);function ae(q,U){if(1&q&&(t.TgZ(0,"div",28)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&q){const Y=t.oxw();t.xp6(4),t.Oqu((Y.error||"").split("&")[0]),t.xp6(2),t.hij("",(Y.error||"").split("&")[1]," ")}}function oe(q,U){1&q&&(t.TgZ(0,"div",16),t._UZ(1,"div",29),t.qZA())}function ye(q,U){1&q&&(t.TgZ(0,"div",30),t._UZ(1,"div",31),t.TgZ(2,"div",32),t._uU(3,"ou"),t.qZA(),t._UZ(4,"div",31),t.qZA())}function Ee(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"div",33)(1,"button",34),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw();return t.KtG(pe.signInLoginUnicoBackEnd())}),t._uU(2," Entrar com "),t.TgZ(3,"span"),t._uU(4,"gov.br"),t.qZA()()()}}function Ge(q,U){1&q&&(t.TgZ(0,"div",30),t._UZ(1,"div",31),t.TgZ(2,"div",32),t._uU(3,"ou"),t.qZA(),t._UZ(4,"div",31),t.qZA())}function gt(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"a",39),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw(2);return t.KtG(pe.signInAzure())}),t._UZ(1,"img",40),t._uU(2," Microsoft (Login Institucional) "),t.qZA()}if(2&q){const Y=t.oxw(2);t.xp6(1),t.Q6J("src",Y.globals.getResourcePath("assets/images/microsoft_logo.png"),t.LSH)}}function Ze(q,U){1&q&&(t.TgZ(0,"div",41),t._UZ(1,"span",42),t.qZA())}function Je(q,U){if(1&q&&(t.TgZ(0,"div",16)(1,"div",35)(2,"div",36),t.YNc(3,gt,3,1,"a",37),t.YNc(4,Ze,2,0,"div",38),t.qZA()()()),2&q){const Y=t.oxw();t.xp6(3),t.Q6J("ngIf",!Y.auth.logging),t.xp6(1),t.Q6J("ngIf",Y.auth.logging)}}function tt(q,U){1&q&&(t.TgZ(0,"div",30),t._UZ(1,"div",31),t.TgZ(2,"div",32),t._uU(3,"ou"),t.qZA(),t._UZ(4,"div",31),t.qZA())}function Qe(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"div",43)(1,"div",44)(2,"a",39),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw();return t.KtG(pe.showDprfSeguranca())}),t._UZ(3,"img",45),t._uU(4," DPRF-Seguran\xe7a "),t.qZA()()()}if(2&q){const Y=t.oxw();t.xp6(3),t.Q6J("src",Y.globals.getResourcePath("assets/images/prf.ico"),t.LSH)}}function pt(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"form",47)(1,"div",48),t._UZ(2,"input-text",49),t.qZA(),t.TgZ(3,"div",48),t._UZ(4,"input-text",50),t.qZA(),t.TgZ(5,"div",48),t._UZ(6,"input-text",51),t.qZA(),t.TgZ(7,"div",52)(8,"div",53)(9,"button",54),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw(2);return t.KtG(pe.signInDprfSeguranca())}),t._uU(10," Logar com DPRF "),t.qZA()()()()}if(2&q){const Y=t.oxw(2);t.Q6J("formGroup",Y.login),t.xp6(2),t.uIk("maxlength",15),t.xp6(2),t.uIk("maxlength",250)}}function Nt(q,U){if(1&q&&t.YNc(0,pt,11,3,"form",46),2&q){const Y=t.oxw();t.Q6J("ngIf",Y.globals.hasInstitucionalLogin)}}function Jt(q,U){if(1&q&&(t.TgZ(0,"div",24)(1,"p",25),t._uU(2),t.qZA(),t.TgZ(3,"p",25),t._uU(4),t.qZA()()),2&q){const Y=t.oxw();t.xp6(2),t.hij("Build Data: ",Y.buildInfo.build_date,""),t.xp6(2),t.hij("Build N\xfamero: ",Y.buildInfo.build_number,"")}}let nt=(()=>{class q{constructor(Y,ne,pe,Ve,bt,It,Xt,Cn,ni,oi,Ei,Hi,hi,wi){this.globals=Y,this.go=ne,this.router=pe,this.cdRef=Ve,this.route=bt,this.auth=It,this.util=Xt,this.fh=Cn,this.formBuilder=ni,this.googleApi=oi,this.dialog=Ei,this.ngZone=Hi,this.buildInfoService=hi,this.document=wi,this.buttonDprfSeguranca=!0,this.error="",this.modalInterface=!0,this.modalWidth=400,this.noSession=!1,this.titleSubscriber=new H.x,this.validate=(Tr,sr)=>{let Er=null;return["senha","token"].indexOf(sr)>=0&&!Tr.value?.length?Er="Obrigat\xf3rio":"usuario"==sr&&!this.util.validarCPF(Tr.value)&&(Er="Inv\xe1lido"),Er},this.closeModalIfSuccess=Tr=>{Tr&&this.modalRoute&&this.go.clearRoutes()},this.document.body.classList.add("login"),this.login=this.fh.FormBuilder({usuario:{default:""},senha:{default:""},token:{default:""}},this.cdRef,this.validate)}ngOnInit(){var Y=this;this.buildInfoService.getBuildInfo().subscribe(ne=>{this.buildInfo=ne,this.buildInfo.build_date=this.formatDate(this.buildInfo.build_date)}),this.titleSubscriber.next("Login Petrvs"),this.route.queryParams.subscribe(ne=>{if(this.error=ne.error?ne.error:"",ne.redirectTo){let pe=JSON.parse(ne.redirectTo);this.redirectTo="login"==pe.route[0]?pe:void 0}this.noSession=!!ne.noSession}),this.auth.registerPopupLoginResultListener(),(0,x.Z)(function*(){Y.globals.hasGoogleLogin&&(yield Y.googleApi.initialize(!0)).renderButton(document.getElementById("gbtn"),{size:"large",width:320});let ne=!1;if(Y.noSession||(ne=yield Y.auth.authSession()),ne)Y.auth.success&&Y.auth.success(Y.auth.usuario,Y.redirectTo);else if(Y.globals.hasGoogleLogin){var pe;try{pe=yield Y.googleApi.getLoginStatus()}catch{}pe?.idToken&&Y.auth.authGoogle(pe?.idToken)}})(),window.location.href.includes("pgdpetrvs.gestao.gov.br")&&(this.ambiente="Ambiente antigo")}openModal(Y){Y.route&&this.go.navigate({route:Y.route,params:Y.params},{title:"Suporte Petrvs"})}showDprfSeguranca(){this.buttonDprfSeguranca=!this.buttonDprfSeguranca}signInDprfSeguranca(){const Y=this.login.controls;this.login.markAllAsTouched(),this.login.valid?this.auth.authDprfSeguranca(this.util.onlyNumbers(Y.usuario.value),Y.senha.value,this.util.onlyNumbers(Y.token.value),this.redirectTo).then(this.closeModalIfSuccess):this.error="Verifique se est\xe1 correto:"+(Y.cpf.invalid?" CPF;":"")+(Y.password.invalid?" Senha;":"")+(Y.password.invalid?" Token;":"")}signInMicrosoft(){const Y=this.login.controls;this.login.valid?this.auth.authDprfSeguranca(Y.usuario.value,Y.senha.value,Y.token.value,this.redirectTo).then(this.closeModalIfSuccess):this.error="Verifique se est\xe1 correto:"+(Y.cpf.invalid?" CPF;":"")+(Y.password.invalid?" Senha;":"")+(Y.password.invalid?" Token;":"")}signInLoginUnico(){const Xt=btoa('{"entidade":"'+this.globals.ENTIDADE+'"}');window.location.href=`https://sso.staging.acesso.gov.br/authorize?response_type=code&client_id=pgd-pre.dth.api.gov.br&scope=openid+email+profile&redirect_uri=https://pgd-pre.dth.api.gov.br/#/login-unico&state=${Xt}&nonce=nonce&code_challenge=LwIDqJyJEGgdSQuwygHlkQDKsUXFz6jMIfkM_Jlv94w&code_challenge_method=S256`}signInAzure(){this.auth.authAzure()}signInLoginUnicoBackEnd(){this.auth.authLoginUnicoBackEnd()}ngOnDestroy(){this.document.body.classList.remove("login")}formatDate(Y){const ne=new Date(Y);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(ne)}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(P.d),t.Y36(X.o),t.Y36(C.F0),t.Y36(t.sBO),t.Y36(C.gz),t.Y36(me.e),t.Y36(Oe.f),t.Y36(Se.k),t.Y36(a.qu),t.Y36(wt.q),t.Y36(K.x),t.Y36(t.R0b),t.Y36(V),t.Y36(k.K0))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-login"]],decls:38,vars:16,consts:[[1,"d-flex","vh-100","g-0","bg-gray-100"],[1,"col-lg-6","position-relative","d-none","d-lg-block","bg-primary-subtle"],[1,"bg-holder",2,"background-image","url(../../../assets/images/intro_login.jpg)"],["data-bs-placement","top","title","Suporte Petrvs",1,"btn","btn-outline-primary","botao-suporte","rounded","btn-sm",3,"click"],[1,"bi","bi-headset"],[1,"d-flex","align-items-center","justify-content-center","h-100","g-0","px-4","px-sm-0"],[1,".col","col-sm-6","col-lg-7","col-xl-6"],["class","alert alert-danger mt-2 mb-5","role","alert",4,"ngIf"],[1,"text-center","mb-5","d-flex","align-items-center","justify-content-center"],["src","../assets/images/logo_pgd.png",1,"logo-pgd"],["alt","Petrvs",1,"logo-petrvs",3,"src"],[1,"text-center","mb-5"],[1,"fw-bold"],[1,"fw-medium"],[1,"fw-bold","text-danger"],[1,"text-center"],[1,"card-body"],["class","card-body",4,"ngIf"],["class","or-container",4,"ngIf"],["class","govbr",4,"ngIf"],["class","d-flex flex-column",4,"ngIf","ngIfElse"],["dprfSeguranca",""],[1,"logos"],["class","text-left mt-3 small text-muted",4,"ngIf"],[1,"text-left","mt-3","small","text-muted"],[1,"m-0"],[1,"text-primary"],["src","../assets/images/logo_gov.png"],["role","alert",1,"alert","alert-danger","mt-2","mb-5"],["id","gbtn"],[1,"or-container"],[1,"line-separator"],[1,"or-label"],[1,"govbr"],["type","button",1,"br-button","btn","btn-primary","rounded-pill","mt-3",3,"click"],[1,"row","mt-2"],[1,"col-md-12","d-flex","justify-content-center"],["class","btn btn-lg btn-google btn-outline",3,"click",4,"ngIf"],["class","spinner-border spinner-border-sm","role","status",4,"ngIf"],[1,"btn","btn-lg","btn-google","btn-outline",3,"click"],[3,"src"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"],[1,"d-flex","flex-column"],[1,""],["width","20","height","20",3,"src"],[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"form-group","form-primary","mb-2"],["controlName","usuario","maskFormat","000.000.000-00","placeholder","CPF"],["password","password","controlName","senha","placeholder","Senha"],["controlName","token","maskFormat","000000","placeholder","Token"],[1,"row"],[1,"col-md-12"],[1,"btn","btn-petrvs-blue","btn-md","rounded-1","btn-full","waves-effect","text-center","mb-2",3,"click"]],template:function(ne,pe){if(1&ne&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div")(4,"button",3),t.NdJ("click",function(){return pe.openModal({route:["suporte"]})}),t._UZ(5,"i",4),t.qZA(),t.TgZ(6,"div",5)(7,"div",6),t.YNc(8,ae,7,2,"div",7),t.TgZ(9,"div",8),t._UZ(10,"img",9)(11,"img",10),t.qZA(),t.TgZ(12,"div",11)(13,"h3",12),t._uU(14,"Acesso"),t.qZA(),t.TgZ(15,"p",13),t._uU(16,"Fa\xe7a login com seu e-mail institucional"),t.qZA()(),t.TgZ(17,"div",11)(18,"h4",14),t._uU(19),t.qZA()(),t.TgZ(20,"div",15)(21,"div",16),t.YNc(22,oe,2,0,"div",17),t.YNc(23,ye,5,0,"div",18),t.YNc(24,Ee,5,0,"div",19),t.YNc(25,Ge,5,0,"div",18),t.YNc(26,Je,5,2,"div",17),t.YNc(27,tt,5,0,"div",18),t.YNc(28,Qe,5,1,"div",20),t.YNc(29,Nt,1,1,"ng-template",null,21,t.W1O),t.qZA()()()(),t.TgZ(31,"div",22),t.YNc(32,Jt,5,2,"div",23),t.TgZ(33,"div",24)(34,"p",25)(35,"small",26),t._uU(36),t.qZA()()(),t._UZ(37,"img",27),t.qZA()()()),2&ne){const Ve=t.MAs(30);t.xp6(3),t.Tol("col-12 col-lg-6"),t.xp6(1),t.uIk("data-bs-toggle","tooltip"),t.xp6(4),t.Q6J("ngIf",null==pe.error?null:pe.error.length),t.xp6(3),t.Q6J("src",pe.globals.getResourcePath("assets/images/"+pe.globals.IMAGES.login),t.LSH),t.xp6(8),t.Oqu(pe.ambiente),t.xp6(3),t.Q6J("ngIf",pe.globals.hasGoogleLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasGoogleLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasLoginUnicoLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasLoginUnicoLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasAzureLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasAzureLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasInstitucionalLogin&&pe.buttonDprfSeguranca)("ngIfElse",Ve),t.xp6(4),t.Q6J("ngIf",pe.buildInfo),t.xp6(4),t.hij("Vers\xe3o: ",pe.globals.VERSAO_SYS,"")}},dependencies:[k.O5,a._Y,a.JL,a.sg,J.m],styles:[".or-container[_ngcontent-%COMP%]{align-items:center;color:#ccc;display:flex;margin:10px 0}.line-separator[_ngcontent-%COMP%]{background-color:#ccc;flex-grow:5;height:1px}.or-label[_ngcontent-%COMP%]{flex-grow:1;margin:0 15px;text-align:center}.btn[_ngcontent-%COMP%]{border-radius:2px;font-size:15px;padding:10px 19px;cursor:pointer}.btn-full[_ngcontent-%COMP%]{width:100%}.btn-google[_ngcontent-%COMP%]{color:#545454;background-color:#fff;box-shadow:0 1px 2px 1px #ddd;max-width:320px;width:100%}.btn-md[_ngcontent-%COMP%]{padding:10px 16px;font-size:15px;line-height:23px}.btn-primary[_ngcontent-%COMP%]{background-color:#4099ff;border-color:#4099ff;color:#fff;cursor:pointer;transition:all ease-in .3s}.br-button[_ngcontent-%COMP%]{background-color:#1351b4;font-weight:500;width:320px;color:#fff;font-size:16.8px}.br-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:900;font-size:16.8px}.bg-holder[_ngcontent-%COMP%]{position:absolute;width:100%;min-height:100%;top:0;left:0;background-size:cover;background-position:center;overflow:hidden;will-change:transform,opacity,filter;backface-visibility:hidden;background-repeat:no-repeat;z-index:0}.login-logo[_ngcontent-%COMP%]{height:150px}.botao-suporte[_ngcontent-%COMP%]{position:absolute;right:10px;top:10px}.logos[_ngcontent-%COMP%]{position:absolute;z-index:2;padding:30px;display:flex;justify-content:space-between;flex-wrap:inherit;width:100%;bottom:0;right:0}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:50px}.logo-pgd[_ngcontent-%COMP%]{max-height:50px;margin-right:10px}.logo-petrvs[_ngcontent-%COMP%]{max-height:50px}"]})}return q})();var ot=m(4040),Ct=m(4002),He=m(1214),mt=m(5255),vt=m(6898),hn=m(6551),yt=m(1184),Fn=m(4971),xn=m(5512),In=m(8820),dn=m(8967),qn=m(4495),di=m(8877),ir=m(4603),Bn=m(3085),xi=m(5560),fi=m(9224),Mt=m(785);const Ot=["atividades"];function ve(q,U){if(1&q&&(t.TgZ(0,"div",22),t._uU(1),t.qZA()),2&q){const Y=t.oxw();t.xp6(1),t.Oqu(Y.erros)}}function De(q,U){if(1&q&&(t.TgZ(0,"div",23),t._UZ(1,"calendar-efemerides",24),t.qZA()),2&q){const Y=t.oxw();t.xp6(1),t.Q6J("efemerides",Y.efemeridesFrontEnd)}}function xe(q,U){if(1&q&&(t.TgZ(0,"div",23),t._UZ(1,"calendar-efemerides",24),t.qZA()),2&q){const Y=t.oxw();t.xp6(1),t.Q6J("efemerides",Y.efemeridesBackEnd)}}let Ye=(()=>{class q extends yt.F{constructor(Y){super(Y,vt.b,mt.q),this.injector=Y,this.atividades_usuario=[],this.disabled_datetime=!1,this.disabled_pausas=!1,this.disabled_afastamentos=!1,this.opcoes_calculo=[{key:0,value:"Data-fim"},{key:1,value:"Tempo"}],this.erros="",this.toolbarButtons=[{label:"Comparar calculaDataTempo",icon:"bi bi-backspace",onClick:()=>{let ne;if(this.formValidation)try{ne=this.formValidation(this.form)}catch(pe){ne=pe}if(this.form.valid&&!ne)try{this.compararFuncoes()}catch(pe){this.erros=pe}else this.form.markAllAsTouched(),ne&&(this.erros=ne),Object.entries(this.form.controls).forEach(([pe,Ve])=>{Ve.invalid&&console.log("Validate => "+pe,Ve.value,Ve.errors)})}}],this.validate=(ne,pe)=>{let Ve=null;return["unidade_id"].indexOf(pe)>=0&&!ne.value?.length&&(Ve="Obrigat\xf3rio"),["inicio"].indexOf(pe)>=0&&!this.util.isDataValid(ne.value)&&(Ve="Data inv\xe1lida!"),["carga_horaria"].indexOf(pe)>=0&&!ne.value&&(Ve="Valor n\xe3o pode ser zero!"),Ve},this.formValidation=ne=>this.util.isDataValid(this.form.controls.datafim_fimoutempo.value)||1!=this.form.controls.tipo_calculo.value?this.form.controls.tempo_fimoutempo.value||0!=this.form.controls.tipo_calculo.value?!this.form.controls.incluir_afastamentos.value&&!this.form.controls.incluir_pausas.value||this.form.controls.usuario_id.value?.length?void 0:"\xc9 necess\xe1rio escolher um Usu\xe1rio!":"Para calcular a data-fim, o campo TEMPO n\xe3o pode ser nulo!":"Para calcular o tempo, o campo DATA-FIM precisa ser v\xe1lido!",this.log("constructor"),this.calendar=Y.get(hn.o),this.unidadeDao=Y.get(He.J),this.usuarioDao=Y.get(mt.q),this.atividadeDao=Y.get(Fn.P),this.tipoMotivoAfastamentoDao=Y.get(Ct.n),this.form=this.fh.FormBuilder({data_inicio:{default:new Date("2023-01-01 09:00:00 -03:00")},tipo_calculo:{default:1},datafim_fimoutempo:{default:new Date("2023-02-15 09:00:00 -03:00")},tempo_fimoutempo:{default:0},carga_horaria:{default:8},unidade_id:{default:""},tipo:{default:"DISTRIBUICAO"},atividade_id:{default:""},usuario_id:{default:""},data_inicio_afastamento:{default:""},data_fim_afastamento:{default:""},tipo_motivo_afastamento_id:{default:""},incluir_pausas:{default:!1},incluir_afastamentos:{default:!1}},this.cdRef,this.validate),this.join=["atividades","afastamentos"]}loadData(Y,ne){}initializeData(Y){}saveData(Y){throw new Error("Method not implemented.")}onPausasChange(Y){this.disabled_pausas=!this.form.controls.incluir_pausas.value}onAfastamentosChange(Y){this.disabled_afastamentos=!this.form.controls.incluir_afastamentos.value}onTipoCalculoChange(Y){this.disabled_datetime=0==this.form.controls.tipo_calculo.value}onUsuarioSelect(){var Y=this;return(0,x.Z)(function*(){yield Y.dao.getById(Y.form.controls.usuario_id.value,Y.join).then(ne=>{Y.usuario=ne,ne?.atividades?.forEach(pe=>{Y.atividades_usuario.push({key:pe.id,value:pe.descricao||""})}),Y.atividades.items=Y.atividades_usuario,Y.cdRef.detectChanges()})})()}onAtividadeChange(Y){var ne=this;return(0,x.Z)(function*(){yield ne.atividadeDao.getById(ne.form.controls.atividade_id.value).then(pe=>{ne.atividade=pe})})()}compararFuncoes(){var Y=this;return(0,x.Z)(function*(){let ne=Y.form.controls.tipo_calculo.value,pe=Y.form.controls.inicio.value,Ve=pe.toString().substring(0,33),bt=Y.form.controls.datafim_fimoutempo.value,It=bt?bt.toString().substring(0,33):"",Xt=Y.form.controls.tempo_fimoutempo.value,Cn=Y.form.controls.carga_horaria.value,ni=yield Y.unidadeDao.getById(Y.form.controls.unidade_id.value,["entidade"]),oi=Y.form.controls.tipo.value,Ei=Y.form.controls.incluir_pausas.value?Y.atividade.pausas:[],Hi=Y.form.controls.incluir_afastamentos.value?Y.usuario.afastamentos??[]:[];Y.efemeridesFrontEnd=Y.calendar.calculaDataTempoUnidade(pe,ne?bt:Xt,Cn,ni,oi,Ei,Hi),yield Y.dao.calculaDataTempoUnidade(Ve,ne?It:Xt,Cn,ni.id,oi,Ei,Hi).then(hi=>{Y.efemeridesBackEnd=hi}),Y.preparaParaExibicao()})()}preparaParaExibicao(){this.efemeridesBackEnd.inicio=new Date(this.efemeridesBackEnd.inicio),this.efemeridesBackEnd.fim=new Date(this.efemeridesBackEnd.fim),this.efemeridesBackEnd?.afastamentos.forEach(ne=>ne.data_inicio=new Date(ne.data_inicio)),this.efemeridesBackEnd?.afastamentos.forEach(ne=>ne.data_fim=new Date(ne.data_fim)),this.efemeridesBackEnd?.diasDetalhes.forEach(ne=>ne.intervalos=Object.values(ne.intervalos))}log(Y){console.log(Y)}ngOnInit(){super.ngOnInit(),this.log("ngOnInit")}ngOnChanges(){}ngDoCheck(){}ngAfterContentInit(){this.log("ngAfterContentInit")}ngAfterContentChecked(){}ngAfterViewInit(){super.ngAfterViewInit(),this.log("ngAfterViewInit")}ngAfterViewChecked(){}ngOnDestroy(){this.log("ngOnDestroy")}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-teste-form"]],viewQuery:function(ne,pe){if(1&ne&&(t.Gf(ot.Q,5),t.Gf(Ot,5)),2&ne){let Ve;t.iGM(Ve=t.CRH())&&(pe.editableForm=Ve.first),t.iGM(Ve=t.CRH())&&(pe.atividades=Ve.first)}},features:[t.qOj,t.TTD],decls:27,vars:34,consts:[[3,"form","disabled","title"],["class","alert alert-danger mt-2 break-spaces","role","alert",4,"ngIf"],[1,"row"],["datetime","","label","In\xedcio","controlName","data_inicio",3,"size","control"],["label","C\xe1lculo desejado","controlName","tipo_calculo",3,"size","control","items","onChange"],["datetime","","label","Data-fim","controlName","datafim_fimoutempo",3,"size","disabled","control"],["onlyHours","","label","Tempo","icon","bi bi-clock","controlName","tempo_fimoutempo",3,"disabled","size","control"],["controlName","unidade_id",3,"size","dao"],["unidade",""],["numbers","","label","Carga hor\xe1ria","icon","bi bi-upc","controlName","carga_horaria",3,"size","control"],["label","Tipo Contagem","controlName","tipo",3,"size","control","items"],["controlName","usuario_id",3,"size","dao","select"],["usuario",""],["label","Incluir Afastamentos","controlName","incluir_afastamentos",3,"size","control","change"],["title","Pesquisa de Pausas"],["label","Incluir Pausas","controlName","incluir_pausas",3,"size","control","change"],["label","Atividade","controlName","atividade_id",3,"size","control","items","change"],["atividades",""],["title","Bot\xf5es para Testes"],[3,"buttons"],["title","Resultados"],["class","col-6",4,"ngIf"],["role","alert",1,"alert","alert-danger","mt-2","break-spaces"],[1,"col-6"],[3,"efemerides"]],template:function(ne,pe){1&ne&&(t.TgZ(0,"editable-form",0),t.YNc(1,ve,2,1,"div",1),t.TgZ(2,"div",2)(3,"div",2),t._UZ(4,"input-datetime",3),t.TgZ(5,"input-radio",4),t.NdJ("onChange",function(bt){return pe.onTipoCalculoChange(bt)}),t.qZA(),t._UZ(6,"input-datetime",5)(7,"input-timer",6),t.qZA(),t.TgZ(8,"div",2),t._UZ(9,"input-search",7,8)(11,"input-number",9)(12,"input-select",10),t.qZA(),t.TgZ(13,"div",2)(14,"input-search",11,12),t.NdJ("select",function(){return pe.onUsuarioSelect()}),t.qZA(),t.TgZ(16,"input-switch",13),t.NdJ("change",function(bt){return pe.onAfastamentosChange(bt)}),t.qZA()(),t.TgZ(17,"separator",14)(18,"div",2)(19,"input-switch",15),t.NdJ("change",function(bt){return pe.onPausasChange(bt)}),t.qZA(),t.TgZ(20,"input-select",16,17),t.NdJ("change",function(bt){return pe.onAtividadeChange(bt)}),t.qZA()()()(),t.TgZ(22,"separator",18),t._UZ(23,"toolbar",19),t.qZA()(),t.TgZ(24,"separator",20),t.YNc(25,De,2,1,"div",21),t.YNc(26,xe,2,1,"div",21),t.qZA()),2&ne&&(t.Q6J("form",pe.form)("disabled",!1)("title",pe.isModal?"":pe.title),t.xp6(1),t.Q6J("ngIf",null==pe.erros?null:pe.erros.length),t.xp6(3),t.Q6J("size",3)("control",pe.form.controls.data_inicio),t.xp6(1),t.Q6J("size",4)("control",pe.form.controls.tipo_calculo)("items",pe.opcoes_calculo),t.xp6(1),t.Q6J("size",3)("disabled",pe.disabled_datetime?"disabled":void 0)("control",pe.form.controls.datafim_fimoutempo),t.xp6(1),t.Q6J("disabled",pe.disabled_datetime?"disabled":void 0)("size",2)("control",pe.form.controls.tempo_fimoutempo),t.xp6(2),t.Q6J("size",7)("dao",pe.unidadeDao),t.xp6(2),t.Q6J("size",2)("control",pe.form.controls.carga_horaria),t.xp6(1),t.Q6J("size",3)("control",pe.form.controls.tipo)("items",pe.lookup.TIPO_CONTAGEM),t.xp6(2),t.Q6J("size",6)("dao",pe.usuarioDao),t.xp6(2),t.Q6J("size",2)("control",pe.form.controls.incluir_afastamentos),t.xp6(3),t.Q6J("size",2)("control",pe.form.controls.incluir_pausas),t.xp6(1),t.Q6J("size",6)("control",pe.form.controls.atividade_id)("items",pe.atividades_usuario),t.xp6(3),t.Q6J("buttons",pe.toolbarButtons),t.xp6(2),t.Q6J("ngIf",pe.efemeridesFrontEnd),t.xp6(1),t.Q6J("ngIf",pe.efemeridesBackEnd))},dependencies:[k.O5,xn.n,ot.Q,In.a,dn.V,qn.k,di.f,ir.p,Bn.u,xi.N,fi.l,Mt.Y]})}return q})();var xt=m(2866),cn=m.n(xt),Kn=m(2559),An=m(3362),gs=m(4684),Qt=m(5458),ki=m(9702),ta=m(1454),Pi=m(1720);function co(q,U){}function Or(q,U){}function Dr(q,U){}function bs(q,U){}function Do(q,U){}function Ms(q,U){1&q&&(t.TgZ(0,"button",28),t._UZ(1,"i",29),t.qZA())}function Ls(q,U){1&q&&(t.TgZ(0,"button",30),t._UZ(1,"i",31),t.qZA())}function On(q,U){1&q&&(t.TgZ(0,"button",32),t._UZ(1,"i",33),t.qZA())}const mr=function(){return[]};let Pt=(()=>{class q{constructor(Y,ne,pe,Ve,bt,It,Xt,Cn,ni){this.fh=Y,this.planejamentoDao=ne,this.usuarioDao=pe,this.lookup=Ve,this.util=bt,this.go=It,this.server=Xt,this.calendar=Cn,this.ID_GENERATOR_BASE=ni,this.items=[],this.disabled=!0,this.expediente=new Kn.z({domingo:[],segunda:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],terca:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],quarta:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],quinta:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],sexta:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],sabado:[],especial:[]}),this.naoIniciadas=[{id:"ni1",title:"N\xe3o iniciada 1",subTitle:"Texto n\xe3o iniciado 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"},{id:"ni2",title:"N\xe3o iniciada 2",subTitle:"Texto n\xe3o iniciado 2",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"},{id:"ni3",title:"N\xe3o iniciada 3",subTitle:"Texto n\xe3o iniciado 3",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.pausadas=[{id:"p1",title:"Pausada 1",subTitle:"Texto 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.iniciadas=[{id:"i1",title:"iniciada 1",subTitle:"Texto iniciado 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"},{id:"i2",title:"iniciada 2",subTitle:"Texto iniciado 2",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.concluidas=[],this.avaliadas=[{id:"a1",title:"avaliada 1",subTitle:"avaliado 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.button_items=[{key:"1",value:"1",icon:"bi-heart-fill",color:"#107165",data:{label:"Stretchable Button Hover Effect"}},{key:"1",value:"1",icon:"bi-emoji-smile",color:"#2b1071",data:{label:"Embedded",selected:!0}},{key:"1",value:"1",icon:"bi-hand-thumbs-down",color:"#713710",data:{label:"Embed your icons within the HTML of your page"}},{key:"1",value:"1",icon:"bi-heart-fill",color:"#107165",data:{label:"Stretchable Button Hover Effect"}},{key:"1",value:"1",icon:"bi-emoji-smile",color:"#2b1071",data:{label:"Embedded",selected:!0}},{key:"1",value:"1",icon:"bi-hand-thumbs-down",color:"#713710",data:{label:"Embed your icons within the HTML of your page"}},{key:"1",value:"1",icon:"bi-heart-fill",color:"#107165",data:{label:"Stretchable Button Hover Effect"}},{key:"1",value:"1",icon:"bi-emoji-smile",color:"#2b1071",data:{label:"Embedded",selected:!0}},{key:"1",value:"1",icon:"bi-hand-thumbs-down",color:"#713710",data:{label:"Embed your icons within the HTML of your page"}}],this.calendarOptions={initialView:"dayGridMonth",events:[{title:"event 1",start:cn()().add(-1,"days").toDate(),end:cn()().add(1,"days").toDate()},{title:"event 2",start:cn()().add(1,"days").toDate(),end:cn()().add(5,"days").toDate()}]},this.dataset=[{field:"nome",label:"Usu\xe1rio: Nome"},{field:"numero",label:"Numero"},{field:"texto",label:"Texto"},{field:"boo",label:"Boolean"},{field:"atividades",label:"Atividades",type:"ARRAY",fields:[{field:"nome",label:"Nome"},{field:"valor",label:"Valor"}]}],this.datasource={nome:"Genisson Rodrigues Albuquerque",numero:10,texto:"Teste",boo:!0,atividades:[{nome:"atividade 1",valor:100,opcoes:[{nome:"opc 1"},{nome:"opc 2"}]},{nome:"atividade 2",valor:200,opcoes:[]},{nome:"atividade 3",valor:300,opcoes:[{nome:"opc 3"}]}]},this.textoEditor="",this.template='\n

Este é o {{nome}}.

\n

{{if:texto="Teste"}}Texto \xe9 teste{{end-if}}{{if:numero!=10}}N\xfamero n\xe3o \xe9 10{{end-if}}

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ItemsExpenditureOp\xe7\xf5es
{{for:atividades[0..x];drop=tr}}
{{atividades[x].nome}}{{atividades[x].valor}}{{atividades[x].opcoes[0].nome}}{{for:atividades[x].opcoes[1..y]}}, {{atividades[x].opcoes[y].nome}}{{end-for}}
{{end-for;drop=tr}}
\n
\n
\natividades: {{atividades[0].nome}}{{for:atividades[0..y]}}, {{atividades[y].nome}}{{end-for}}\n ',this.buttons=[{label:"Calcular data fim",onClick:()=>{let oi=this.form.value;this.efemerides=this.calendar.calculaDataTempo(oi.data_inicio,oi.tempo,oi.forma,oi.carga_horaria,this.expediente,oi.feriados.map(Ei=>Ei.data),[],oi.afastamentos.map(Ei=>Ei.data))}},{label:"Calcular tempo",onClick:()=>{let oi=this.form.value;this.efemerides=this.calendar.calculaDataTempo(oi.data_inicio,oi.data_fim,oi.forma,oi.carga_horaria,this.expediente,oi.feriados.map(Ei=>Ei.data),[],oi.afastamentos.map(Ei=>Ei.data))}}],this.mapa=[],this.JSON=JSON,this.validateLevel=(oi,Ei,Hi)=>Ei.value%2==0,this.gridItems=[{id:this.util.md5(),campo1:"campo1-1",campo2:new Date,campo3:new Date,campo4:"campo4-1",campo5:!1},{id:this.util.md5(),campo1:"campo1-2",campo2:new Date,campo3:new Date,campo4:"campo4-2",campo5:!1},{id:this.util.md5(),campo1:"campo1-3",campo2:new Date,campo3:new Date,campo4:"campo4-3",campo5:!1},{id:this.util.md5(),campo1:"campo1-4",campo2:new Date,campo3:new Date,campo4:"campo4-4",campo5:!1},{id:this.util.md5(),campo1:"campo1-5",campo2:new Date,campo3:new Date,campo4:"campo4-5",campo5:!1}],this.form=Y.FormBuilder({editor:{default:this.textoEditor},template:{default:this.template},id:{default:""},level:{default:"2.4.6.8"},campo1:{default:""},campo2:{default:new Date},campo3:{default:new Date},campo4:{default:""},campo5:{default:!0},datetime:{default:new Date},forma:{default:""},tempo:{default:0},feriados:{default:[]},afastamentos:{default:[]},data_inicio:{default:new Date},data_fim:{default:new Date},carga_horaria:{default:24},dia:{default:0},mes:{default:0},ano:{default:0},data_inicio_afastamento:{default:new Date},data_fim_afastamento:{default:new Date},observacao:{default:""},nome:{default:""},rate:{default:2},horas:{default:150.5},label:{default:""},valor:{default:15.5},icon:{default:null},color:{default:null},multiselect:{default:[]}})}incDate(Y,ne){return(ne=ne||new Date).setDate(ne.getDate()+Y),ne}isHoras(){return["HORAS_CORRIDOS","HORAS_UTEIS"].includes(this.form.controls.forma.value)}openDocumentos(){this.go.navigate({route:["uteis","documentos"]},{metadata:{needSign:Y=>!0,extraTags:(Y,ne,pe)=>[],especie:"TCR",dataset:this.dataset,datasource:this.datasource,template:this.template,template_id:"ID"}})}ngOnInit(){this.planejamentoDao.getById("867c7768-9690-11ed-b4ae-0242ac130002",["objetivos.eixo_tematico","unidade","entidade"]).then(pe=>{let Ve=[];this.planejamento=pe||void 0,pe&&(Ve=(pe.objetivos?.reduce((It,Xt)=>(It.find(Cn=>Cn.id==Xt.eixo_tematico_id)||It.push(Xt.eixo_tematico),It),[])||[]).map(It=>({data:It,children:pe.objetivos?.filter(Xt=>Xt.eixo_tematico_id==It.id).map(Xt=>Object.assign({},{data:Xt}))}))),this.mapa=Ve}),this.server.startBatch();let Y=this.usuarioDao.query({limit:100}).asPromise(),ne=this.planejamentoDao.query({limit:100}).asPromise();this.server.endBatch(),Promise.all([Y,ne]).then(pe=>{console.log(pe[0]),console.log(pe[1])})}ngAfterViewInit(){}renderTemplate(){this.server.post("api/Template/teste",{}).subscribe(Y=>{console.log(Y)},Y=>console.log(Y))}addItemHandle(){let Y=this;return{key:Y.form.controls.label.value,value:Y.form.controls.label.value,color:Y.form.controls.color.value,icon:Y.form.controls.icon.value}}addFeriadoHandle(){let Y=this.form.value,ne=new An.Z({id:this.util.md5(),nome:Y.nome,dia:Y.dia,mes:Y.mes,ano:Y.ano||null,recorrente:Y.ano?0:1,abrangencia:"NACIONAL"});return{key:ne.id,value:ne.dia+"/"+ne.mes+"/"+ne.ano+" - "+ne.nome,data:ne}}addAfastamentoHandle(){let Y=this.form.value,ne=new gs.i({id:this.util.md5(),observacoes:Y.observacao,data_inicio:Y.data_inicio_afastamento,data_fim:Y.data_fim_afastamento});return{key:ne.id,value:this.util.getDateTimeFormatted(ne.data_inicio)+" at\xe9 "+this.util.getDateTimeFormatted(ne.data_fim)+" - "+ne.observacoes,data:ne}}dataChange(Y){console.log(cn()(this.form.controls.datetime.value).format(Oe.f.ISO8601_FORMAT))}onAddItem(){return{id:this.util.md5(),campo1:"Qualquer "+1e3*Math.random(),campo2:new Date,campo3:new Date,campo4:"Coisa Nova "+1e5*Math.random(),campo5:!1}}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(Se.k),t.Y36(Qt.U),t.Y36(mt.q),t.Y36(ki.W),t.Y36(Oe.f),t.Y36(X.o),t.Y36(ta.N),t.Y36(hn.o),t.Y36("ID_GENERATOR_BASE"))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-teste"]],decls:78,vars:10,consts:[["type","button",1,"btn","btn-primary",3,"click"],["objetivo",""],["unidade",""],["entregas",""],["metas",""],["atividades",""],[1,"table","okr"],["scope","col"],["rowspan","4",1,"azul"],["rowspan","3",1,"vermelho"],[1,"verde"],[1,"vazio"],[1,"rosa"],[1,"amarelo"],[1,"laranja"],["rowspan","3",1,"roxo"],["rowspan","2",1,"verde"],[1,"vermelho"],[3,"form"],[1,"d-flex"],[1,"flex-grow-1"],["controlName","level",3,"size","items"],[1,"btn-group"],["type","button","class","btn btn-success","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",4,"ngIf"],["type","button","class","btn btn-primary","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",4,"ngIf"],["type","button","class","btn btn-danger","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",4,"ngIf"],[1,"row"],["controlName","level",3,"size","validate"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",1,"btn","btn-success"],[1,"bi","bi-arrow-bar-up"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",1,"btn","btn-primary"],[1,"bi","bi-check-circle"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",1,"btn","btn-danger"],[1,"bi","bi-dash-circle"]],template:function(ne,pe){1&ne&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return pe.renderTemplate()}),t._uU(1,"Primary"),t.qZA(),t.YNc(2,co,0,0,"ng-template",null,1,t.W1O),t.YNc(4,Or,0,0,"ng-template",null,2,t.W1O),t.YNc(6,Dr,0,0,"ng-template",null,3,t.W1O),t.YNc(8,bs,0,0,"ng-template",null,4,t.W1O),t.YNc(10,Do,0,0,"ng-template",null,5,t.W1O),t.TgZ(12,"table",6)(13,"thead")(14,"tr")(15,"th",7),t._uU(16,"O - Objetivo"),t.qZA(),t.TgZ(17,"th",7),t._uU(18,"Unidades"),t.qZA(),t.TgZ(19,"th",7),t._uU(20,"K - Entregas"),t.qZA(),t.TgZ(21,"th",7),t._uU(22,"R - Metas"),t.qZA(),t.TgZ(23,"th",7),t._uU(24,"Atividades"),t.qZA()()(),t.TgZ(25,"tbody")(26,"tr")(27,"td",8),t._uU(28,"Ser simples e \xe1gil"),t.qZA(),t.TgZ(29,"td",9),t._uU(30,"SETIC-PI"),t.qZA(),t.TgZ(31,"td",10),t._uU(32,"Utilizar o Petrvs"),t.qZA(),t.TgZ(33,"td",11),t._uU(34,"Frequentemente"),t.qZA()(),t.TgZ(35,"tr")(36,"td",12),t._uU(37,"Requisi\xe7\xe3o de servidores"),t.qZA(),t.TgZ(38,"td",11),t._uU(39,"6"),t.qZA()(),t.TgZ(40,"tr")(41,"td",13),t._uU(42,"Compra de equipamentos"),t.qZA(),t.TgZ(43,"td",11),t._uU(44,"2000"),t.qZA()(),t.TgZ(45,"tr")(46,"td",14),t._uU(47,"SUPEX"),t.qZA(),t._UZ(48,"td",11)(49,"td",11),t.qZA(),t.TgZ(50,"tr")(51,"td",15),t._uU(52,"Otimizar esfor\xe7os e recursos"),t.qZA(),t.TgZ(53,"td",16),t._uU(54,"DGP"),t.qZA(),t._UZ(55,"td",11)(56,"td",11),t.qZA(),t.TgZ(57,"tr"),t._UZ(58,"td",11)(59,"td",11),t.qZA(),t.TgZ(60,"tr")(61,"td",17),t._uU(62,"DIREX"),t.qZA(),t._UZ(63,"td",11)(64,"td",11),t.qZA()()(),t.TgZ(65,"editable-form",18)(66,"div",19)(67,"div",20),t._UZ(68,"input-select",21),t.qZA(),t.TgZ(69,"div",22),t.YNc(70,Ms,2,0,"button",23),t.YNc(71,Ls,2,0,"button",24),t.YNc(72,On,2,0,"button",25),t.qZA()(),t.TgZ(73,"div",26),t._UZ(74,"input-level",27),t.qZA()(),t._UZ(75,"br")(76,"br"),t._uU(77)),2&ne&&(t.xp6(65),t.Q6J("form",pe.form),t.xp6(3),t.Q6J("size",12)("items",t.DdM(9,mr)),t.xp6(2),t.Q6J("ngIf",!0),t.xp6(1),t.Q6J("ngIf",!1),t.xp6(1),t.Q6J("ngIf",!1),t.xp6(2),t.Q6J("size",12)("validate",pe.validateLevel),t.xp6(3),t.hij("\n",pe.form.controls.editor.value||""," "))},dependencies:[k.O5,ot.Q,ir.p,Pi.E],styles:[".eixo-tematico[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-o-transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.okr[_ngcontent-%COMP%]{border-spacing:2px}.okr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0px;border-right-width:5px;border-style:solid;vertical-align:middle}.okr[_ngcontent-%COMP%] .vazio[_ngcontent-%COMP%]{border-right-width:0px}.okr[_ngcontent-%COMP%] .azul[_ngcontent-%COMP%]{border-color:var(--blue-600)}.okr[_ngcontent-%COMP%] .verde[_ngcontent-%COMP%]{border-color:var(--green-600)}.okr[_ngcontent-%COMP%] .rosa[_ngcontent-%COMP%]{border-color:var(--pink-600)}.okr[_ngcontent-%COMP%] .vermelho[_ngcontent-%COMP%]{border-color:var(--red-600)}.okr[_ngcontent-%COMP%] .roxo[_ngcontent-%COMP%]{border-color:var(--purple-600)}.okr[_ngcontent-%COMP%] .laranja[_ngcontent-%COMP%]{border-color:var(--orange-600)}.okr[_ngcontent-%COMP%] .amarelo[_ngcontent-%COMP%]{border-color:var(--yellow-600)}"]})}return q})();var ln=m(2314);let Yt=(()=>{class q{constructor(Y,ne){this.auth=Y,this.route=ne,this.code="",this.state=""}ngOnInit(){this.route.queryParams.subscribe(Y=>{this.code=Y.code,this.state=Y.state}),this.code&&this.auth.authLoginUnico(this.code,this.state,this.redirectTo)}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(me.e),t.Y36(C.gz))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-login-unico"]],decls:1,vars:0,template:function(ne,pe){1&ne&&t._uU(0,"Redirecionando ...\n")}})}return q})();var li=m(7457);const Pn=[{path:"panel-login",component:(()=>{class q{constructor(Y,ne,pe,Ve){this.router=Y,this.authService=ne,this.fh=pe,this.formBuilder=Ve,this.login=this.fh.FormBuilder({email:{default:""},password:{default:""}})}loginPanel(){const Y=this.login.controls;this.authService.loginPanel(Y.email.value,Y.password.value).then(ne=>{ne?this.router.navigate(["/panel"]):alert("Credenciais inv\xe1lidas. Por favor, tente novamente.")}).catch(ne=>{alert("Erro durante o login:"+ne.error.error),console.error("Erro durante o login:",ne.error.error)})}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(C.F0),t.Y36(li.r),t.Y36(Se.k),t.Y36(a.qu))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-panel-login"]],decls:11,vars:3,consts:[[1,"login-container"],[1,"login-content"],[3,"formGroup"],[1,"form-group"],["controlName","email","placeholder","Email"],[1,"form-group","form-primary","mb-2"],["password","password","controlName","password","placeholder","Senha"],[1,"btn-login",3,"click"]],template:function(ne,pe){1&ne&&(t.TgZ(0,"div",0)(1,"div",1)(2,"h2"),t._uU(3,"Panel - Login"),t.qZA(),t.TgZ(4,"form",2)(5,"div",3),t._UZ(6,"input-text",4),t.qZA(),t.TgZ(7,"div",5),t._UZ(8,"input-text",6),t.qZA(),t.TgZ(9,"button",7),t.NdJ("click",function(){return pe.loginPanel()}),t._uU(10," Logar "),t.qZA()()()()),2&ne&&(t.xp6(4),t.Q6J("formGroup",pe.login),t.xp6(2),t.uIk("maxlength",250),t.xp6(2),t.uIk("maxlength",250))},dependencies:[J.m,a._Y,a.JL,a.sg],styles:['@charset "UTF-8";.login-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100vh}.login-content[_ngcontent-%COMP%]{max-width:400px;width:100%;padding:20px;border:1px solid #ccc;border-radius:5px;box-sizing:border-box}.form-group[_ngcontent-%COMP%]{margin-bottom:20px}label[_ngcontent-%COMP%]{display:block}input[type=email][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%]{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px;box-sizing:border-box}.btn-login[_ngcontent-%COMP%]{width:100%;padding:10px;background-color:#007bff;color:#fff;border:none;border-radius:5px;cursor:pointer}.btn-login[_ngcontent-%COMP%]:hover{background-color:#0056b3}@media (max-width: 768px){.login-content[_ngcontent-%COMP%]{max-width:90%}}@media (max-width: 576px){.login-content[_ngcontent-%COMP%]{padding:10px}}']})}return q})()},{path:"panel",loadChildren:()=>Promise.all([m.e(799),m.e(555)]).then(m.bind(m,9555)).then(q=>q.PanelModule),canActivate:[(()=>{class q{constructor(Y,ne){this.router=Y,this.auth=ne}canActivate(Y,ne){return this.auth.isAuthenticated().then(pe=>!!pe||(this.router.navigate(["/panel-login"]),!1))}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(C.F0),t.LFG(li.r))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()]},{path:"teste",component:Pt,resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Teste"}},{path:"teste/calcula-tempo",component:Ye,resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Teste - CalculaTempo"}},{path:"home",loadChildren:()=>Promise.all([m.e(592),m.e(159)]).then(m.bind(m,5159)).then(q=>q.HomeModule),canActivate:[b.a]},{path:"login",component:nt,canActivate:[b.a],resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Login Petrvs",login:!0}},{path:"login-retorno",component:N,data:{title:"Retorno de login",login:!0}},{path:"login-unico",component:Yt,data:{title:"Retorno de login"}},{path:"config",component:j,canActivate:[b.a],resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Configura\xe7\xf5es",modal:!0}},{path:"suporte",loadChildren:()=>Promise.all([m.e(799),m.e(592),m.e(683)]).then(m.bind(m,2683)).then(q=>q.SuporteModule),resolve:{config:ln.o}},{path:"uteis",loadChildren:()=>Promise.resolve().then(m.bind(m,2864)).then(q=>q.UteisModule),canActivate:[b.a]},{path:"cadastros/cidade",loadChildren:()=>m.e(737).then(m.bind(m,4737)).then(q=>q.CidadeModule),canActivate:[b.a]},{path:"cadastros/entrega",loadChildren:()=>m.e(748).then(m.bind(m,5748)).then(q=>q.EntregaModule),canActivate:[b.a]},{path:"cadastros/eixo-tematico",loadChildren:()=>m.e(124).then(m.bind(m,124)).then(q=>q.EixoTematicoModule),canActivate:[b.a]},{path:"cadastros/feriado",loadChildren:()=>m.e(300).then(m.bind(m,9842)).then(q=>q.FeriadoModule),canActivate:[b.a]},{path:"cadastros/material-servico",loadChildren:()=>m.e(842).then(m.bind(m,7760)).then(q=>q.MaterialServicoModule),canActivate:[b.a]},{path:"cadastros/templates",loadChildren:()=>m.e(615).then(m.bind(m,5615)).then(q=>q.TemplateModule),canActivate:[b.a]},{path:"cadastros/tipo-tarefa",loadChildren:()=>m.e(750).then(m.bind(m,4750)).then(q=>q.TipoTarefaModule),canActivate:[b.a]},{path:"cadastros/tipo-atividade",loadChildren:()=>m.e(796).then(m.bind(m,5796)).then(q=>q.TipoAtividadeModule),canActivate:[b.a]},{path:"cadastros/tipo-avaliacao",loadChildren:()=>Promise.all([m.e(592),m.e(357)]).then(m.bind(m,3357)).then(q=>q.TipoAvaliacaoModule),canActivate:[b.a]},{path:"cadastros/tipo-documento",loadChildren:()=>m.e(644).then(m.bind(m,6644)).then(q=>q.TipoDocumentoModule),canActivate:[b.a]},{path:"cadastros/tipo-justificativa",loadChildren:()=>Promise.all([m.e(592),m.e(547)]).then(m.bind(m,3547)).then(q=>q.TipoJustificativaModule),canActivate:[b.a]},{path:"cadastros/tipo-modalidade",loadChildren:()=>m.e(928).then(m.bind(m,3928)).then(q=>q.TipoModalidadeModule),canActivate:[b.a]},{path:"cadastros/tipo-motivo-afastamento",loadChildren:()=>m.e(564).then(m.bind(m,1564)).then(q=>q.TipoMotivoAfastamentoModule),canActivate:[b.a]},{path:"cadastros/tipo-processo",loadChildren:()=>m.e(998).then(m.bind(m,1998)).then(q=>q.TipoProcessoModule),canActivate:[b.a]},{path:"gestao/afastamento",loadChildren:()=>m.e(314).then(m.bind(m,9314)).then(q=>q.AfastamentoModule),canActivate:[b.a]},{path:"gestao/programa",loadChildren:()=>m.e(667).then(m.bind(m,1667)).then(q=>q.ProgramaModule),canActivate:[b.a]},{path:"gestao/cadeia-valor",loadChildren:()=>Promise.all([m.e(625),m.e(32)]).then(m.bind(m,588)).then(q=>q.CadeiaValorModule),canActivate:[b.a]},{path:"gestao/atividade",loadChildren:()=>Promise.all([m.e(471),m.e(557),m.e(89),m.e(13)]).then(m.bind(m,9013)).then(q=>q.AtividadeModule),canActivate:[b.a]},{path:"gestao/planejamento",loadChildren:()=>Promise.all([m.e(24),m.e(108)]).then(m.bind(m,7024)).then(q=>q.PlanejamentoModule),canActivate:[b.a]},{path:"gestao/plano-trabalho",loadChildren:()=>Promise.all([m.e(471),m.e(557),m.e(89),m.e(13),m.e(997),m.e(38),m.e(592),m.e(970)]).then(m.bind(m,2970)).then(q=>q.PlanoTrabalhoModule),canActivate:[b.a]},{path:"gestao/plano-entrega",loadChildren:()=>Promise.all([m.e(471),m.e(89),m.e(24),m.e(625),m.e(38),m.e(837)]).then(m.bind(m,2837)).then(q=>q.PlanoEntregaModule),canActivate:[b.a]},{path:"gestao/desdobramento",loadChildren:()=>Promise.all([m.e(471),m.e(358)]).then(m.bind(m,4358)).then(q=>q.DesdobramentoModule),canActivate:[b.a]},{path:"execucao/plano-entrega",loadChildren:()=>Promise.all([m.e(471),m.e(89),m.e(24),m.e(625),m.e(38),m.e(837)]).then(m.bind(m,2837)).then(q=>q.PlanoEntregaModule),canActivate:[b.a]},{path:"avaliacao/plano-entrega",loadChildren:()=>Promise.all([m.e(471),m.e(89),m.e(24),m.e(625),m.e(38),m.e(837)]).then(m.bind(m,2837)).then(q=>q.PlanoEntregaModule),canActivate:[b.a]},{path:"avaliacao/plano-trabalho",loadChildren:()=>Promise.all([m.e(471),m.e(557),m.e(89),m.e(13),m.e(997),m.e(38),m.e(592),m.e(970)]).then(m.bind(m,2970)).then(q=>q.PlanoTrabalhoModule),canActivate:[b.a]},{path:"configuracoes/preferencia",loadChildren:()=>m.e(224).then(m.bind(m,6224)).then(q=>q.PreferenciaModule),canActivate:[b.a]},{path:"configuracoes/entidade",loadChildren:()=>Promise.all([m.e(592),m.e(526)]).then(m.bind(m,4526)).then(q=>q.EntidadeModule),canActivate:[b.a]},{path:"configuracoes/perfil",loadChildren:()=>m.e(105).then(m.bind(m,4105)).then(q=>q.PerfilModule),canActivate:[b.a]},{path:"configuracoes/unidade",loadChildren:()=>Promise.all([m.e(471),m.e(592),m.e(215)]).then(m.bind(m,2215)).then(q=>q.UnidadeModule),canActivate:[b.a]},{path:"configuracoes/usuario",loadChildren:()=>Promise.all([m.e(592),m.e(562)]).then(m.bind(m,5562)).then(q=>q.UsuarioModule),canActivate:[b.a]},{path:"listeners",loadChildren:()=>Promise.all([m.e(557),m.e(997),m.e(761)]).then(m.bind(m,3761)).then(q=>q.ListenersModule),canActivate:[b.a]},{path:"extension",loadChildren:()=>m.e(870).then(m.bind(m,3870)).then(q=>q.ExtensionModule)},{path:"logs",loadChildren:()=>Promise.resolve().then(m.bind(m,5336)).then(q=>q.LogModule),canActivate:[b.a]},{path:"rotinas",loadChildren:()=>Promise.resolve().then(m.bind(m,9179)).then(q=>q.RotinaModule),canActivate:[b.a]},{path:"",redirectTo:"login",pathMatch:"full"}];let sn=(()=>{class q{static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275mod=t.oAB({type:q});static#n=this.\u0275inj=t.cJS({imports:[C.Bz.forRoot(Pn,{useHash:!0}),C.Bz]})}return q})();var Rt=m(6401),Bt=m(2662),bn=m(2405);function rr(q){return new t.vHH(3e3,!1)}function Tt(q){switch(q.length){case 0:return new bn.ZN;case 1:return q[0];default:return new bn.ZE(q)}}function un(q,U,Y=new Map,ne=new Map){const pe=[],Ve=[];let bt=-1,It=null;if(U.forEach(Xt=>{const Cn=Xt.get("offset"),ni=Cn==bt,oi=ni&&It||new Map;Xt.forEach((Ei,Hi)=>{let hi=Hi,wi=Ei;if("offset"!==Hi)switch(hi=q.normalizePropertyName(hi,pe),wi){case bn.k1:wi=Y.get(Hi);break;case bn.l3:wi=ne.get(Hi);break;default:wi=q.normalizeStyleValue(Hi,hi,wi,pe)}oi.set(hi,wi)}),ni||Ve.push(oi),It=oi,bt=Cn}),pe.length)throw function Co(q){return new t.vHH(3502,!1)}();return Ve}function Yn(q,U,Y,ne){switch(U){case"start":q.onStart(()=>ne(Y&&Ui(Y,"start",q)));break;case"done":q.onDone(()=>ne(Y&&Ui(Y,"done",q)));break;case"destroy":q.onDestroy(()=>ne(Y&&Ui(Y,"destroy",q)))}}function Ui(q,U,Y){const Ve=Gi(q.element,q.triggerName,q.fromState,q.toState,U||q.phaseName,Y.totalTime??q.totalTime,!!Y.disabled),bt=q._data;return null!=bt&&(Ve._data=bt),Ve}function Gi(q,U,Y,ne,pe="",Ve=0,bt){return{element:q,triggerName:U,fromState:Y,toState:ne,phaseName:pe,totalTime:Ve,disabled:!!bt}}function _r(q,U,Y){let ne=q.get(U);return ne||q.set(U,ne=Y),ne}function us(q){const U=q.indexOf(":");return[q.substring(1,U),q.slice(U+1)]}const So=(()=>typeof document>"u"?null:document.documentElement)();function Fo(q){const U=q.parentNode||q.host||null;return U===So?null:U}let na=null,_s=!1;function er(q,U){for(;U;){if(U===q)return!0;U=Fo(U)}return!1}function Cr(q,U,Y){if(Y)return Array.from(q.querySelectorAll(U));const ne=q.querySelector(U);return ne?[ne]:[]}let br=(()=>{class q{validateStyleProperty(Y){return function ko(q){na||(na=function Wa(){return typeof document<"u"?document.body:null}()||{},_s=!!na.style&&"WebkitAppearance"in na.style);let U=!0;return na.style&&!function Ks(q){return"ebkit"==q.substring(1,6)}(q)&&(U=q in na.style,!U&&_s&&(U="Webkit"+q.charAt(0).toUpperCase()+q.slice(1)in na.style)),U}(Y)}matchesElement(Y,ne){return!1}containsElement(Y,ne){return er(Y,ne)}getParentElement(Y){return Fo(Y)}query(Y,ne,pe){return Cr(Y,ne,pe)}computeStyle(Y,ne,pe){return pe||""}animate(Y,ne,pe,Ve,bt,It=[],Xt){return new bn.ZN(pe,Ve)}static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})(),ds=(()=>{class q{static#e=this.NOOP=new br}return q})();const Yo=1e3,as="ng-enter",Na="ng-leave",Ma="ng-trigger",Fi=".ng-trigger",_i="ng-animating",dr=".ng-animating";function $r(q){if("number"==typeof q)return q;const U=q.match(/^(-?[\.\d]+)(m?s)/);return!U||U.length<2?0:Fr(parseFloat(U[1]),U[2])}function Fr(q,U){return"s"===U?q*Yo:q}function Ho(q,U,Y){return q.hasOwnProperty("duration")?q:function no(q,U,Y){let pe,Ve=0,bt="";if("string"==typeof q){const It=q.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===It)return U.push(rr()),{duration:0,delay:0,easing:""};pe=Fr(parseFloat(It[1]),It[2]);const Xt=It[3];null!=Xt&&(Ve=Fr(parseFloat(Xt),It[4]));const Cn=It[5];Cn&&(bt=Cn)}else pe=q;if(!Y){let It=!1,Xt=U.length;pe<0&&(U.push(function Ri(){return new t.vHH(3100,!1)}()),It=!0),Ve<0&&(U.push(function Ur(){return new t.vHH(3101,!1)}()),It=!0),It&&U.splice(Xt,0,rr())}return{duration:pe,delay:Ve,easing:bt}}(q,U,Y)}function Vr(q,U={}){return Object.keys(q).forEach(Y=>{U[Y]=q[Y]}),U}function os(q){const U=new Map;return Object.keys(q).forEach(Y=>{U.set(Y,q[Y])}),U}function Rn(q,U=new Map,Y){if(Y)for(let[ne,pe]of Y)U.set(ne,pe);for(let[ne,pe]of q)U.set(ne,pe);return U}function Mo(q,U,Y){U.forEach((ne,pe)=>{const Ve=uo(pe);Y&&!Y.has(pe)&&Y.set(pe,q.style[Ve]),q.style[Ve]=ne})}function Aa(q,U){U.forEach((Y,ne)=>{const pe=uo(ne);q.style[pe]=""})}function Xr(q){return Array.isArray(q)?1==q.length?q[0]:(0,bn.vP)(q):q}const Us=new RegExp("{{\\s*(.+?)\\s*}}","g");function Rs(q){let U=[];if("string"==typeof q){let Y;for(;Y=Us.exec(q);)U.push(Y[1]);Us.lastIndex=0}return U}function Mr(q,U,Y){const ne=q.toString(),pe=ne.replace(Us,(Ve,bt)=>{let It=U[bt];return null==It&&(Y.push(function Xe(q){return new t.vHH(3003,!1)}()),It=""),It.toString()});return pe==ne?q:pe}function Zr(q){const U=[];let Y=q.next();for(;!Y.done;)U.push(Y.value),Y=q.next();return U}const Ji=/-+([a-z0-9])/g;function uo(q){return q.replace(Ji,(...U)=>U[1].toUpperCase())}function xr(q,U,Y){switch(U.type){case 7:return q.visitTrigger(U,Y);case 0:return q.visitState(U,Y);case 1:return q.visitTransition(U,Y);case 2:return q.visitSequence(U,Y);case 3:return q.visitGroup(U,Y);case 4:return q.visitAnimate(U,Y);case 5:return q.visitKeyframes(U,Y);case 6:return q.visitStyle(U,Y);case 8:return q.visitReference(U,Y);case 9:return q.visitAnimateChild(U,Y);case 10:return q.visitAnimateRef(U,Y);case 11:return q.visitQuery(U,Y);case 12:return q.visitStagger(U,Y);default:throw function ke(q){return new t.vHH(3004,!1)}()}}function fa(q,U){return window.getComputedStyle(q)[U]}const ho="*";function pl(q,U){const Y=[];return"string"==typeof q?q.split(/\s*,\s*/).forEach(ne=>function Lr(q,U,Y){if(":"==q[0]){const Xt=function Qs(q,U){switch(q){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(Y,ne)=>parseFloat(ne)>parseFloat(Y);case":decrement":return(Y,ne)=>parseFloat(ne) *"}}(q,Y);if("function"==typeof Xt)return void U.push(Xt);q=Xt}const ne=q.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ne||ne.length<4)return Y.push(function wr(q){return new t.vHH(3015,!1)}()),U;const pe=ne[1],Ve=ne[2],bt=ne[3];U.push(Za(pe,bt));"<"==Ve[0]&&!(pe==ho&&bt==ho)&&U.push(Za(bt,pe))}(ne,Y,U)):Y.push(q),Y}const Hs=new Set(["true","1"]),Da=new Set(["false","0"]);function Za(q,U){const Y=Hs.has(q)||Da.has(q),ne=Hs.has(U)||Da.has(U);return(pe,Ve)=>{let bt=q==ho||q==pe,It=U==ho||U==Ve;return!bt&&Y&&"boolean"==typeof pe&&(bt=pe?Hs.has(q):Da.has(q)),!It&&ne&&"boolean"==typeof Ve&&(It=Ve?Hs.has(U):Da.has(U)),bt&&It}}const Sa=new RegExp("s*:selfs*,?","g");function nl(q,U,Y,ne){return new lc(q).build(U,Y,ne)}class lc{constructor(U){this._driver=U}build(U,Y,ne){const pe=new yl(Y);return this._resetContextStyleTimingState(pe),xr(this,Xr(U),pe)}_resetContextStyleTimingState(U){U.currentQuerySelector="",U.collectedStyles=new Map,U.collectedStyles.set("",new Map),U.currentTime=0}visitTrigger(U,Y){let ne=Y.queryCount=0,pe=Y.depCount=0;const Ve=[],bt=[];return"@"==U.name.charAt(0)&&Y.errors.push(function Ae(){return new t.vHH(3006,!1)}()),U.definitions.forEach(It=>{if(this._resetContextStyleTimingState(Y),0==It.type){const Xt=It,Cn=Xt.name;Cn.toString().split(/\s*,\s*/).forEach(ni=>{Xt.name=ni,Ve.push(this.visitState(Xt,Y))}),Xt.name=Cn}else if(1==It.type){const Xt=this.visitTransition(It,Y);ne+=Xt.queryCount,pe+=Xt.depCount,bt.push(Xt)}else Y.errors.push(function it(){return new t.vHH(3007,!1)}())}),{type:7,name:U.name,states:Ve,transitions:bt,queryCount:ne,depCount:pe,options:null}}visitState(U,Y){const ne=this.visitStyle(U.styles,Y),pe=U.options&&U.options.params||null;if(ne.containsDynamicStyles){const Ve=new Set,bt=pe||{};ne.styles.forEach(It=>{It instanceof Map&&It.forEach(Xt=>{Rs(Xt).forEach(Cn=>{bt.hasOwnProperty(Cn)||Ve.add(Cn)})})}),Ve.size&&(Zr(Ve.values()),Y.errors.push(function Ht(q,U){return new t.vHH(3008,!1)}()))}return{type:0,name:U.name,style:ne,options:pe?{params:pe}:null}}visitTransition(U,Y){Y.queryCount=0,Y.depCount=0;const ne=xr(this,Xr(U.animation),Y);return{type:1,matchers:pl(U.expr,Y.errors),animation:ne,queryCount:Y.queryCount,depCount:Y.depCount,options:As(U.options)}}visitSequence(U,Y){return{type:2,steps:U.steps.map(ne=>xr(this,ne,Y)),options:As(U.options)}}visitGroup(U,Y){const ne=Y.currentTime;let pe=0;const Ve=U.steps.map(bt=>{Y.currentTime=ne;const It=xr(this,bt,Y);return pe=Math.max(pe,Y.currentTime),It});return Y.currentTime=pe,{type:3,steps:Ve,options:As(U.options)}}visitAnimate(U,Y){const ne=function il(q,U){if(q.hasOwnProperty("duration"))return q;if("number"==typeof q)return _l(Ho(q,U).duration,0,"");const Y=q;if(Y.split(/\s+/).some(Ve=>"{"==Ve.charAt(0)&&"{"==Ve.charAt(1))){const Ve=_l(0,0,"");return Ve.dynamic=!0,Ve.strValue=Y,Ve}const pe=Ho(Y,U);return _l(pe.duration,pe.delay,pe.easing)}(U.timings,Y.errors);Y.currentAnimateTimings=ne;let pe,Ve=U.styles?U.styles:(0,bn.oB)({});if(5==Ve.type)pe=this.visitKeyframes(Ve,Y);else{let bt=U.styles,It=!1;if(!bt){It=!0;const Cn={};ne.easing&&(Cn.easing=ne.easing),bt=(0,bn.oB)(Cn)}Y.currentTime+=ne.duration+ne.delay;const Xt=this.visitStyle(bt,Y);Xt.isEmptyStep=It,pe=Xt}return Y.currentAnimateTimings=null,{type:4,timings:ne,style:pe,options:null}}visitStyle(U,Y){const ne=this._makeStyleAst(U,Y);return this._validateStyleAst(ne,Y),ne}_makeStyleAst(U,Y){const ne=[],pe=Array.isArray(U.styles)?U.styles:[U.styles];for(let It of pe)"string"==typeof It?It===bn.l3?ne.push(It):Y.errors.push(new t.vHH(3002,!1)):ne.push(os(It));let Ve=!1,bt=null;return ne.forEach(It=>{if(It instanceof Map&&(It.has("easing")&&(bt=It.get("easing"),It.delete("easing")),!Ve))for(let Xt of It.values())if(Xt.toString().indexOf("{{")>=0){Ve=!0;break}}),{type:6,styles:ne,easing:bt,offset:U.offset,containsDynamicStyles:Ve,options:null}}_validateStyleAst(U,Y){const ne=Y.currentAnimateTimings;let pe=Y.currentTime,Ve=Y.currentTime;ne&&Ve>0&&(Ve-=ne.duration+ne.delay),U.styles.forEach(bt=>{"string"!=typeof bt&&bt.forEach((It,Xt)=>{const Cn=Y.collectedStyles.get(Y.currentQuerySelector),ni=Cn.get(Xt);let oi=!0;ni&&(Ve!=pe&&Ve>=ni.startTime&&pe<=ni.endTime&&(Y.errors.push(function Tn(q,U,Y,ne,pe){return new t.vHH(3010,!1)}()),oi=!1),Ve=ni.startTime),oi&&Cn.set(Xt,{startTime:Ve,endTime:pe}),Y.options&&function gr(q,U,Y){const ne=U.params||{},pe=Rs(q);pe.length&&pe.forEach(Ve=>{ne.hasOwnProperty(Ve)||Y.push(function mn(q){return new t.vHH(3001,!1)}())})}(It,Y.options,Y.errors)})})}visitKeyframes(U,Y){const ne={type:5,styles:[],options:null};if(!Y.currentAnimateTimings)return Y.errors.push(function pi(){return new t.vHH(3011,!1)}()),ne;let Ve=0;const bt=[];let It=!1,Xt=!1,Cn=0;const ni=U.steps.map(sr=>{const Er=this._makeStyleAst(sr,Y);let ms=null!=Er.offset?Er.offset:function Bc(q){if("string"==typeof q)return null;let U=null;if(Array.isArray(q))q.forEach(Y=>{if(Y instanceof Map&&Y.has("offset")){const ne=Y;U=parseFloat(ne.get("offset")),ne.delete("offset")}});else if(q instanceof Map&&q.has("offset")){const Y=q;U=parseFloat(Y.get("offset")),Y.delete("offset")}return U}(Er.styles),ao=0;return null!=ms&&(Ve++,ao=Er.offset=ms),Xt=Xt||ao<0||ao>1,It=It||ao0&&Ve{const ms=Ei>0?Er==Hi?1:Ei*Er:bt[Er],ao=ms*Tr;Y.currentTime=hi+wi.delay+ao,wi.duration=ao,this._validateStyleAst(sr,Y),sr.offset=ms,ne.styles.push(sr)}),ne}visitReference(U,Y){return{type:8,animation:xr(this,Xr(U.animation),Y),options:As(U.options)}}visitAnimateChild(U,Y){return Y.depCount++,{type:9,options:As(U.options)}}visitAnimateRef(U,Y){return{type:10,animation:this.visitReference(U.animation,Y),options:As(U.options)}}visitQuery(U,Y){const ne=Y.currentQuerySelector,pe=U.options||{};Y.queryCount++,Y.currentQuery=U;const[Ve,bt]=function ka(q){const U=!!q.split(/\s*,\s*/).find(Y=>":self"==Y);return U&&(q=q.replace(Sa,"")),q=q.replace(/@\*/g,Fi).replace(/@\w+/g,Y=>Fi+"-"+Y.slice(1)).replace(/:animating/g,dr),[q,U]}(U.selector);Y.currentQuerySelector=ne.length?ne+" "+Ve:Ve,_r(Y.collectedStyles,Y.currentQuerySelector,new Map);const It=xr(this,Xr(U.animation),Y);return Y.currentQuery=null,Y.currentQuerySelector=ne,{type:11,selector:Ve,limit:pe.limit||0,optional:!!pe.optional,includeSelf:bt,animation:It,originalSelector:U.selector,options:As(U.options)}}visitStagger(U,Y){Y.currentQuery||Y.errors.push(function Hr(){return new t.vHH(3013,!1)}());const ne="full"===U.timings?{duration:0,delay:0,easing:"full"}:Ho(U.timings,Y.errors,!0);return{type:12,animation:xr(this,Xr(U.animation),Y),timings:ne,options:null}}}class yl{constructor(U){this.errors=U,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 As(q){return q?(q=Vr(q)).params&&(q.params=function ml(q){return q?Vr(q):null}(q.params)):q={},q}function _l(q,U,Y){return{duration:q,delay:U,easing:Y}}function ya(q,U,Y,ne,pe,Ve,bt=null,It=!1){return{type:1,element:q,keyframes:U,preStyleProps:Y,postStyleProps:ne,duration:pe,delay:Ve,totalTime:pe+Ve,easing:bt,subTimeline:It}}class Ne{constructor(){this._map=new Map}get(U){return this._map.get(U)||[]}append(U,Y){let ne=this._map.get(U);ne||this._map.set(U,ne=[]),ne.push(...Y)}has(U){return this._map.has(U)}clear(){this._map.clear()}}const ut=new RegExp(":enter","g"),Yi=new RegExp(":leave","g");function lr(q,U,Y,ne,pe,Ve=new Map,bt=new Map,It,Xt,Cn=[]){return(new ro).buildKeyframes(q,U,Y,ne,pe,Ve,bt,It,Xt,Cn)}class ro{buildKeyframes(U,Y,ne,pe,Ve,bt,It,Xt,Cn,ni=[]){Cn=Cn||new Ne;const oi=new Jo(U,Y,Cn,pe,Ve,ni,[]);oi.options=Xt;const Ei=Xt.delay?$r(Xt.delay):0;oi.currentTimeline.delayNextStep(Ei),oi.currentTimeline.setStyles([bt],null,oi.errors,Xt),xr(this,ne,oi);const Hi=oi.timelines.filter(hi=>hi.containsAnimation());if(Hi.length&&It.size){let hi;for(let wi=Hi.length-1;wi>=0;wi--){const Tr=Hi[wi];if(Tr.element===Y){hi=Tr;break}}hi&&!hi.allowOnlyTimelineStyles()&&hi.setStyles([It],null,oi.errors,Xt)}return Hi.length?Hi.map(hi=>hi.buildKeyframes()):[ya(Y,[],[],[],0,Ei,"",!1)]}visitTrigger(U,Y){}visitState(U,Y){}visitTransition(U,Y){}visitAnimateChild(U,Y){const ne=Y.subInstructions.get(Y.element);if(ne){const pe=Y.createSubContext(U.options),Ve=Y.currentTimeline.currentTime,bt=this._visitSubInstructions(ne,pe,pe.options);Ve!=bt&&Y.transformIntoNewTimeline(bt)}Y.previousNode=U}visitAnimateRef(U,Y){const ne=Y.createSubContext(U.options);ne.transformIntoNewTimeline(),this._applyAnimationRefDelays([U.options,U.animation.options],Y,ne),this.visitReference(U.animation,ne),Y.transformIntoNewTimeline(ne.currentTimeline.currentTime),Y.previousNode=U}_applyAnimationRefDelays(U,Y,ne){for(const pe of U){const Ve=pe?.delay;if(Ve){const bt="number"==typeof Ve?Ve:$r(Mr(Ve,pe?.params??{},Y.errors));ne.delayNextStep(bt)}}}_visitSubInstructions(U,Y,ne){let Ve=Y.currentTimeline.currentTime;const bt=null!=ne.duration?$r(ne.duration):null,It=null!=ne.delay?$r(ne.delay):null;return 0!==bt&&U.forEach(Xt=>{const Cn=Y.appendInstructionToTimeline(Xt,bt,It);Ve=Math.max(Ve,Cn.duration+Cn.delay)}),Ve}visitReference(U,Y){Y.updateOptions(U.options,!0),xr(this,U.animation,Y),Y.previousNode=U}visitSequence(U,Y){const ne=Y.subContextCount;let pe=Y;const Ve=U.options;if(Ve&&(Ve.params||Ve.delay)&&(pe=Y.createSubContext(Ve),pe.transformIntoNewTimeline(),null!=Ve.delay)){6==pe.previousNode.type&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=Xs);const bt=$r(Ve.delay);pe.delayNextStep(bt)}U.steps.length&&(U.steps.forEach(bt=>xr(this,bt,pe)),pe.currentTimeline.applyStylesToKeyframe(),pe.subContextCount>ne&&pe.transformIntoNewTimeline()),Y.previousNode=U}visitGroup(U,Y){const ne=[];let pe=Y.currentTimeline.currentTime;const Ve=U.options&&U.options.delay?$r(U.options.delay):0;U.steps.forEach(bt=>{const It=Y.createSubContext(U.options);Ve&&It.delayNextStep(Ve),xr(this,bt,It),pe=Math.max(pe,It.currentTimeline.currentTime),ne.push(It.currentTimeline)}),ne.forEach(bt=>Y.currentTimeline.mergeTimelineCollectedStyles(bt)),Y.transformIntoNewTimeline(pe),Y.previousNode=U}_visitTiming(U,Y){if(U.dynamic){const ne=U.strValue;return Ho(Y.params?Mr(ne,Y.params,Y.errors):ne,Y.errors)}return{duration:U.duration,delay:U.delay,easing:U.easing}}visitAnimate(U,Y){const ne=Y.currentAnimateTimings=this._visitTiming(U.timings,Y),pe=Y.currentTimeline;ne.delay&&(Y.incrementTime(ne.delay),pe.snapshotCurrentStyles());const Ve=U.style;5==Ve.type?this.visitKeyframes(Ve,Y):(Y.incrementTime(ne.duration),this.visitStyle(Ve,Y),pe.applyStylesToKeyframe()),Y.currentAnimateTimings=null,Y.previousNode=U}visitStyle(U,Y){const ne=Y.currentTimeline,pe=Y.currentAnimateTimings;!pe&&ne.hasCurrentStyleProperties()&&ne.forwardFrame();const Ve=pe&&pe.easing||U.easing;U.isEmptyStep?ne.applyEmptyStep(Ve):ne.setStyles(U.styles,Ve,Y.errors,Y.options),Y.previousNode=U}visitKeyframes(U,Y){const ne=Y.currentAnimateTimings,pe=Y.currentTimeline.duration,Ve=ne.duration,It=Y.createSubContext().currentTimeline;It.easing=ne.easing,U.styles.forEach(Xt=>{It.forwardTime((Xt.offset||0)*Ve),It.setStyles(Xt.styles,Xt.easing,Y.errors,Y.options),It.applyStylesToKeyframe()}),Y.currentTimeline.mergeTimelineCollectedStyles(It),Y.transformIntoNewTimeline(pe+Ve),Y.previousNode=U}visitQuery(U,Y){const ne=Y.currentTimeline.currentTime,pe=U.options||{},Ve=pe.delay?$r(pe.delay):0;Ve&&(6===Y.previousNode.type||0==ne&&Y.currentTimeline.hasCurrentStyleProperties())&&(Y.currentTimeline.snapshotCurrentStyles(),Y.previousNode=Xs);let bt=ne;const It=Y.invokeQuery(U.selector,U.originalSelector,U.limit,U.includeSelf,!!pe.optional,Y.errors);Y.currentQueryTotal=It.length;let Xt=null;It.forEach((Cn,ni)=>{Y.currentQueryIndex=ni;const oi=Y.createSubContext(U.options,Cn);Ve&&oi.delayNextStep(Ve),Cn===Y.element&&(Xt=oi.currentTimeline),xr(this,U.animation,oi),oi.currentTimeline.applyStylesToKeyframe(),bt=Math.max(bt,oi.currentTimeline.currentTime)}),Y.currentQueryIndex=0,Y.currentQueryTotal=0,Y.transformIntoNewTimeline(bt),Xt&&(Y.currentTimeline.mergeTimelineCollectedStyles(Xt),Y.currentTimeline.snapshotCurrentStyles()),Y.previousNode=U}visitStagger(U,Y){const ne=Y.parentContext,pe=Y.currentTimeline,Ve=U.timings,bt=Math.abs(Ve.duration),It=bt*(Y.currentQueryTotal-1);let Xt=bt*Y.currentQueryIndex;switch(Ve.duration<0?"reverse":Ve.easing){case"reverse":Xt=It-Xt;break;case"full":Xt=ne.currentStaggerTime}const ni=Y.currentTimeline;Xt&&ni.delayNextStep(Xt);const oi=ni.currentTime;xr(this,U.animation,Y),Y.previousNode=U,ne.currentStaggerTime=pe.currentTime-oi+(pe.startTime-ne.currentTimeline.startTime)}}const Xs={};class Jo{constructor(U,Y,ne,pe,Ve,bt,It,Xt){this._driver=U,this.element=Y,this.subInstructions=ne,this._enterClassName=pe,this._leaveClassName=Ve,this.errors=bt,this.timelines=It,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xs,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Xt||new Qo(this._driver,Y,0),It.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(U,Y){if(!U)return;const ne=U;let pe=this.options;null!=ne.duration&&(pe.duration=$r(ne.duration)),null!=ne.delay&&(pe.delay=$r(ne.delay));const Ve=ne.params;if(Ve){let bt=pe.params;bt||(bt=this.options.params={}),Object.keys(Ve).forEach(It=>{(!Y||!bt.hasOwnProperty(It))&&(bt[It]=Mr(Ve[It],bt,this.errors))})}}_copyOptions(){const U={};if(this.options){const Y=this.options.params;if(Y){const ne=U.params={};Object.keys(Y).forEach(pe=>{ne[pe]=Y[pe]})}}return U}createSubContext(U=null,Y,ne){const pe=Y||this.element,Ve=new Jo(this._driver,pe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pe,ne||0));return Ve.previousNode=this.previousNode,Ve.currentAnimateTimings=this.currentAnimateTimings,Ve.options=this._copyOptions(),Ve.updateOptions(U),Ve.currentQueryIndex=this.currentQueryIndex,Ve.currentQueryTotal=this.currentQueryTotal,Ve.parentContext=this,this.subContextCount++,Ve}transformIntoNewTimeline(U){return this.previousNode=Xs,this.currentTimeline=this.currentTimeline.fork(this.element,U),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(U,Y,ne){const pe={duration:Y??U.duration,delay:this.currentTimeline.currentTime+(ne??0)+U.delay,easing:""},Ve=new ga(this._driver,U.element,U.keyframes,U.preStyleProps,U.postStyleProps,pe,U.stretchStartingKeyframe);return this.timelines.push(Ve),pe}incrementTime(U){this.currentTimeline.forwardTime(this.currentTimeline.duration+U)}delayNextStep(U){U>0&&this.currentTimeline.delayNextStep(U)}invokeQuery(U,Y,ne,pe,Ve,bt){let It=[];if(pe&&It.push(this.element),U.length>0){U=(U=U.replace(ut,"."+this._enterClassName)).replace(Yi,"."+this._leaveClassName);let Cn=this._driver.query(this.element,U,1!=ne);0!==ne&&(Cn=ne<0?Cn.slice(Cn.length+ne,Cn.length):Cn.slice(0,ne)),It.push(...Cn)}return!Ve&&0==It.length&&bt.push(function ss(q){return new t.vHH(3014,!1)}()),It}}class Qo{constructor(U,Y,ne,pe){this._driver=U,this.element=Y,this.startTime=ne,this._elementTimelineStylesLookup=pe,this.duration=0,this.easing=null,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(Y),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(Y,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(U){const Y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||Y?(this.forwardTime(this.currentTime+U),Y&&this.snapshotCurrentStyles()):this.startTime+=U}fork(U,Y){return this.applyStylesToKeyframe(),new Qo(this._driver,U,Y||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(U){this.applyStylesToKeyframe(),this.duration=U,this._loadKeyframe()}_updateStyle(U,Y){this._localTimelineStyles.set(U,Y),this._globalTimelineStyles.set(U,Y),this._styleSummary.set(U,{time:this.currentTime,value:Y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(U){U&&this._previousKeyframe.set("easing",U);for(let[Y,ne]of this._globalTimelineStyles)this._backFill.set(Y,ne||bn.l3),this._currentKeyframe.set(Y,bn.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(U,Y,ne,pe){Y&&this._previousKeyframe.set("easing",Y);const Ve=pe&&pe.params||{},bt=function rl(q,U){const Y=new Map;let ne;return q.forEach(pe=>{if("*"===pe){ne=ne||U.keys();for(let Ve of ne)Y.set(Ve,bn.l3)}else Rn(pe,Y)}),Y}(U,this._globalTimelineStyles);for(let[It,Xt]of bt){const Cn=Mr(Xt,Ve,ne);this._pendingStyles.set(It,Cn),this._localTimelineStyles.has(It)||this._backFill.set(It,this._globalTimelineStyles.get(It)??bn.l3),this._updateStyle(It,Cn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((U,Y)=>{this._currentKeyframe.set(Y,U)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((U,Y)=>{this._currentKeyframe.has(Y)||this._currentKeyframe.set(Y,U)}))}snapshotCurrentStyles(){for(let[U,Y]of this._localTimelineStyles)this._pendingStyles.set(U,Y),this._updateStyle(U,Y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const U=[];for(let Y in this._currentKeyframe)U.push(Y);return U}mergeTimelineCollectedStyles(U){U._styleSummary.forEach((Y,ne)=>{const pe=this._styleSummary.get(ne);(!pe||Y.time>pe.time)&&this._updateStyle(ne,Y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const U=new Set,Y=new Set,ne=1===this._keyframes.size&&0===this.duration;let pe=[];this._keyframes.forEach((It,Xt)=>{const Cn=Rn(It,new Map,this._backFill);Cn.forEach((ni,oi)=>{ni===bn.k1?U.add(oi):ni===bn.l3&&Y.add(oi)}),ne||Cn.set("offset",Xt/this.duration),pe.push(Cn)});const Ve=U.size?Zr(U.values()):[],bt=Y.size?Zr(Y.values()):[];if(ne){const It=pe[0],Xt=new Map(It);It.set("offset",0),Xt.set("offset",1),pe=[It,Xt]}return ya(this.element,pe,Ve,bt,this.duration,this.startTime,this.easing,!1)}}class ga extends Qo{constructor(U,Y,ne,pe,Ve,bt,It=!1){super(U,Y,bt.delay),this.keyframes=ne,this.preStyleProps=pe,this.postStyleProps=Ve,this._stretchStartingKeyframe=It,this.timings={duration:bt.duration,delay:bt.delay,easing:bt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let U=this.keyframes,{delay:Y,duration:ne,easing:pe}=this.timings;if(this._stretchStartingKeyframe&&Y){const Ve=[],bt=ne+Y,It=Y/bt,Xt=Rn(U[0]);Xt.set("offset",0),Ve.push(Xt);const Cn=Rn(U[0]);Cn.set("offset",Ts(It)),Ve.push(Cn);const ni=U.length-1;for(let oi=1;oi<=ni;oi++){let Ei=Rn(U[oi]);const Hi=Ei.get("offset");Ei.set("offset",Ts((Y+Hi*ne)/bt)),Ve.push(Ei)}ne=bt,Y=0,pe="",U=Ve}return ya(this.element,U,this.preStyleProps,this.postStyleProps,ne,Y,pe,!0)}}function Ts(q,U=3){const Y=Math.pow(10,U-1);return Math.round(q*Y)/Y}class Cs{}const pa=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 ba extends Cs{normalizePropertyName(U,Y){return uo(U)}normalizeStyleValue(U,Y,ne,pe){let Ve="";const bt=ne.toString().trim();if(pa.has(Y)&&0!==ne&&"0"!==ne)if("number"==typeof ne)Ve="px";else{const It=ne.match(/^[+-]?[\d\.]+([a-z]*)$/);It&&0==It[1].length&&pe.push(function ge(q,U){return new t.vHH(3005,!1)}())}return bt+Ve}}function Jl(q,U,Y,ne,pe,Ve,bt,It,Xt,Cn,ni,oi,Ei){return{type:0,element:q,triggerName:U,isRemovalTransition:pe,fromState:Y,fromStyles:Ve,toState:ne,toStyles:bt,timelines:It,queriedElements:Xt,preStyleProps:Cn,postStyleProps:ni,totalTime:oi,errors:Ei}}const Fa={};class so{constructor(U,Y,ne){this._triggerName=U,this.ast=Y,this._stateStyles=ne}match(U,Y,ne,pe){return function Vn(q,U,Y,ne,pe){return q.some(Ve=>Ve(U,Y,ne,pe))}(this.ast.matchers,U,Y,ne,pe)}buildStyles(U,Y,ne){let pe=this._stateStyles.get("*");return void 0!==U&&(pe=this._stateStyles.get(U?.toString())||pe),pe?pe.buildStyles(Y,ne):new Map}build(U,Y,ne,pe,Ve,bt,It,Xt,Cn,ni){const oi=[],Ei=this.ast.options&&this.ast.options.params||Fa,hi=this.buildStyles(ne,It&&It.params||Fa,oi),wi=Xt&&Xt.params||Fa,Tr=this.buildStyles(pe,wi,oi),sr=new Set,Er=new Map,ms=new Map,ao="void"===pe,Xa={params:Ga(wi,Ei),delay:this.ast.options?.delay},Wo=ni?[]:lr(U,Y,this.ast.animation,Ve,bt,hi,Tr,Xa,Cn,oi);let mo=0;if(Wo.forEach(Ns=>{mo=Math.max(Ns.duration+Ns.delay,mo)}),oi.length)return Jl(Y,this._triggerName,ne,pe,ao,hi,Tr,[],[],Er,ms,mo,oi);Wo.forEach(Ns=>{const Va=Ns.element,hc=_r(Er,Va,new Set);Ns.preStyleProps.forEach(_o=>hc.add(_o));const Ml=_r(ms,Va,new Set);Ns.postStyleProps.forEach(_o=>Ml.add(_o)),Va!==Y&&sr.add(Va)});const Zo=Zr(sr.values());return Jl(Y,this._triggerName,ne,pe,ao,hi,Tr,Wo,Zo,Er,ms,mo)}}function Ga(q,U){const Y=Vr(U);for(const ne in q)q.hasOwnProperty(ne)&&null!=q[ne]&&(Y[ne]=q[ne]);return Y}class ra{constructor(U,Y,ne){this.styles=U,this.defaultParams=Y,this.normalizer=ne}buildStyles(U,Y){const ne=new Map,pe=Vr(this.defaultParams);return Object.keys(U).forEach(Ve=>{const bt=U[Ve];null!==bt&&(pe[Ve]=bt)}),this.styles.styles.forEach(Ve=>{"string"!=typeof Ve&&Ve.forEach((bt,It)=>{bt&&(bt=Mr(bt,pe,Y));const Xt=this.normalizer.normalizePropertyName(It,Y);bt=this.normalizer.normalizeStyleValue(It,Xt,bt,Y),ne.set(It,bt)})}),ne}}class Nl{constructor(U,Y,ne){this.name=U,this.ast=Y,this._normalizer=ne,this.transitionFactories=[],this.states=new Map,Y.states.forEach(pe=>{this.states.set(pe.name,new ra(pe.style,pe.options&&pe.options.params||{},ne))}),sl(this.states,"true","1"),sl(this.states,"false","0"),Y.transitions.forEach(pe=>{this.transitionFactories.push(new so(U,pe,this.states))}),this.fallbackTransition=function Oc(q,U,Y){return new so(q,{type:1,animation:{type:2,steps:[],options:null},matchers:[(bt,It)=>!0],options:null,queryCount:0,depCount:0},U)}(U,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(U,Y,ne,pe){return this.transitionFactories.find(bt=>bt.match(U,Y,ne,pe))||null}matchStyles(U,Y,ne){return this.fallbackTransition.buildStyles(U,Y,ne)}}function sl(q,U,Y){q.has(U)?q.has(Y)||q.set(Y,q.get(U)):q.has(Y)&&q.set(U,q.get(Y))}const bl=new Ne;class Cl{constructor(U,Y,ne){this.bodyNode=U,this._driver=Y,this._normalizer=ne,this._animations=new Map,this._playersById=new Map,this.players=[]}register(U,Y){const ne=[],Ve=nl(this._driver,Y,ne,[]);if(ne.length)throw function ns(q){return new t.vHH(3503,!1)}();this._animations.set(U,Ve)}_buildPlayer(U,Y,ne){const pe=U.element,Ve=un(this._normalizer,U.keyframes,Y,ne);return this._driver.animate(pe,Ve,U.duration,U.delay,U.easing,[],!0)}create(U,Y,ne={}){const pe=[],Ve=this._animations.get(U);let bt;const It=new Map;if(Ve?(bt=lr(this._driver,Y,Ve,as,Na,new Map,new Map,ne,bl,pe),bt.forEach(ni=>{const oi=_r(It,ni.element,new Map);ni.postStyleProps.forEach(Ei=>oi.set(Ei,null))})):(pe.push(function Nr(){return new t.vHH(3300,!1)}()),bt=[]),pe.length)throw function To(q){return new t.vHH(3504,!1)}();It.forEach((ni,oi)=>{ni.forEach((Ei,Hi)=>{ni.set(Hi,this._driver.computeStyle(oi,Hi,bn.l3))})});const Cn=Tt(bt.map(ni=>{const oi=It.get(ni.element);return this._buildPlayer(ni,new Map,oi)}));return this._playersById.set(U,Cn),Cn.onDestroy(()=>this.destroy(U)),this.players.push(Cn),Cn}destroy(U){const Y=this._getPlayer(U);Y.destroy(),this._playersById.delete(U);const ne=this.players.indexOf(Y);ne>=0&&this.players.splice(ne,1)}_getPlayer(U){const Y=this._playersById.get(U);if(!Y)throw function Bs(q){return new t.vHH(3301,!1)}();return Y}listen(U,Y,ne,pe){const Ve=Gi(Y,"","","");return Yn(this._getPlayer(U),ne,Ve,pe),()=>{}}command(U,Y,ne,pe){if("register"==ne)return void this.register(U,pe[0]);if("create"==ne)return void this.create(U,Y,pe[0]||{});const Ve=this._getPlayer(U);switch(ne){case"play":Ve.play();break;case"pause":Ve.pause();break;case"reset":Ve.reset();break;case"restart":Ve.restart();break;case"finish":Ve.finish();break;case"init":Ve.init();break;case"setPosition":Ve.setPosition(parseFloat(pe[0]));break;case"destroy":this.destroy(U)}}}const Ao="ng-animate-queued",ol="ng-animate-disabled",al=[],qo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Io={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},hr="__ng_removed";class zo{get params(){return this.options.params}constructor(U,Y=""){this.namespaceId=Y;const ne=U&&U.hasOwnProperty("value");if(this.value=function We(q){return q??null}(ne?U.value:U),ne){const Ve=Vr(U);delete Ve.value,this.options=Ve}else this.options={};this.options.params||(this.options.params={})}absorbOptions(U){const Y=U.params;if(Y){const ne=this.options.params;Object.keys(Y).forEach(pe=>{null==ne[pe]&&(ne[pe]=Y[pe])})}}}const Wr="void",is=new zo(Wr);class Ql{constructor(U,Y,ne){this.id=U,this.hostElement=Y,this._engine=ne,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+U,qr(Y,this._hostClassName)}listen(U,Y,ne,pe){if(!this._triggers.has(Y))throw function Eo(q,U){return new t.vHH(3302,!1)}();if(null==ne||0==ne.length)throw function wo(q){return new t.vHH(3303,!1)}();if(!function Ln(q){return"start"==q||"done"==q}(ne))throw function Ra(q,U){return new t.vHH(3400,!1)}();const Ve=_r(this._elementListeners,U,[]),bt={name:Y,phase:ne,callback:pe};Ve.push(bt);const It=_r(this._engine.statesByElement,U,new Map);return It.has(Y)||(qr(U,Ma),qr(U,Ma+"-"+Y),It.set(Y,is)),()=>{this._engine.afterFlush(()=>{const Xt=Ve.indexOf(bt);Xt>=0&&Ve.splice(Xt,1),this._triggers.has(Y)||It.delete(Y)})}}register(U,Y){return!this._triggers.has(U)&&(this._triggers.set(U,Y),!0)}_getTrigger(U){const Y=this._triggers.get(U);if(!Y)throw function Ps(q){return new t.vHH(3401,!1)}();return Y}trigger(U,Y,ne,pe=!0){const Ve=this._getTrigger(Y),bt=new qe(this.id,Y,U);let It=this._engine.statesByElement.get(U);It||(qr(U,Ma),qr(U,Ma+"-"+Y),this._engine.statesByElement.set(U,It=new Map));let Xt=It.get(Y);const Cn=new zo(ne,this.id);if(!(ne&&ne.hasOwnProperty("value"))&&Xt&&Cn.absorbOptions(Xt.options),It.set(Y,Cn),Xt||(Xt=is),Cn.value!==Wr&&Xt.value===Cn.value){if(!function rs(q,U){const Y=Object.keys(q),ne=Object.keys(U);if(Y.length!=ne.length)return!1;for(let pe=0;pe{Aa(U,Tr),Mo(U,sr)})}return}const Ei=_r(this._engine.playersByElement,U,[]);Ei.forEach(wi=>{wi.namespaceId==this.id&&wi.triggerName==Y&&wi.queued&&wi.destroy()});let Hi=Ve.matchTransition(Xt.value,Cn.value,U,Cn.params),hi=!1;if(!Hi){if(!pe)return;Hi=Ve.fallbackTransition,hi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:U,triggerName:Y,transition:Hi,fromState:Xt,toState:Cn,player:bt,isFallbackTransition:hi}),hi||(qr(U,Ao),bt.onStart(()=>{ls(U,Ao)})),bt.onDone(()=>{let wi=this.players.indexOf(bt);wi>=0&&this.players.splice(wi,1);const Tr=this._engine.playersByElement.get(U);if(Tr){let sr=Tr.indexOf(bt);sr>=0&&Tr.splice(sr,1)}}),this.players.push(bt),Ei.push(bt),bt}deregister(U){this._triggers.delete(U),this._engine.statesByElement.forEach(Y=>Y.delete(U)),this._elementListeners.forEach((Y,ne)=>{this._elementListeners.set(ne,Y.filter(pe=>pe.name!=U))})}clearElementCache(U){this._engine.statesByElement.delete(U),this._elementListeners.delete(U);const Y=this._engine.playersByElement.get(U);Y&&(Y.forEach(ne=>ne.destroy()),this._engine.playersByElement.delete(U))}_signalRemovalForInnerTriggers(U,Y){const ne=this._engine.driver.query(U,Fi,!0);ne.forEach(pe=>{if(pe[hr])return;const Ve=this._engine.fetchNamespacesByElement(pe);Ve.size?Ve.forEach(bt=>bt.triggerLeaveAnimation(pe,Y,!1,!0)):this.clearElementCache(pe)}),this._engine.afterFlushAnimationsDone(()=>ne.forEach(pe=>this.clearElementCache(pe)))}triggerLeaveAnimation(U,Y,ne,pe){const Ve=this._engine.statesByElement.get(U),bt=new Map;if(Ve){const It=[];if(Ve.forEach((Xt,Cn)=>{if(bt.set(Cn,Xt.value),this._triggers.has(Cn)){const ni=this.trigger(U,Cn,Wr,pe);ni&&It.push(ni)}}),It.length)return this._engine.markElementAsRemoved(this.id,U,!0,Y,bt),ne&&Tt(It).onDone(()=>this._engine.processLeaveNode(U)),!0}return!1}prepareLeaveAnimationListeners(U){const Y=this._elementListeners.get(U),ne=this._engine.statesByElement.get(U);if(Y&&ne){const pe=new Set;Y.forEach(Ve=>{const bt=Ve.name;if(pe.has(bt))return;pe.add(bt);const Xt=this._triggers.get(bt).fallbackTransition,Cn=ne.get(bt)||is,ni=new zo(Wr),oi=new qe(this.id,bt,U);this._engine.totalQueuedPlayers++,this._queue.push({element:U,triggerName:bt,transition:Xt,fromState:Cn,toState:ni,player:oi,isFallbackTransition:!0})})}}removeNode(U,Y){const ne=this._engine;if(U.childElementCount&&this._signalRemovalForInnerTriggers(U,Y),this.triggerLeaveAnimation(U,Y,!0))return;let pe=!1;if(ne.totalAnimations){const Ve=ne.players.length?ne.playersByQueriedElement.get(U):[];if(Ve&&Ve.length)pe=!0;else{let bt=U;for(;bt=bt.parentNode;)if(ne.statesByElement.get(bt)){pe=!0;break}}}if(this.prepareLeaveAnimationListeners(U),pe)ne.markElementAsRemoved(this.id,U,!1,Y);else{const Ve=U[hr];(!Ve||Ve===qo)&&(ne.afterFlush(()=>this.clearElementCache(U)),ne.destroyInnerAnimations(U),ne._onRemovalComplete(U,Y))}}insertNode(U,Y){qr(U,this._hostClassName)}drainQueuedTransitions(U){const Y=[];return this._queue.forEach(ne=>{const pe=ne.player;if(pe.destroyed)return;const Ve=ne.element,bt=this._elementListeners.get(Ve);bt&&bt.forEach(It=>{if(It.name==ne.triggerName){const Xt=Gi(Ve,ne.triggerName,ne.fromState.value,ne.toState.value);Xt._data=U,Yn(ne.player,It.phase,Xt,It.callback)}}),pe.markedForDestroy?this._engine.afterFlush(()=>{pe.destroy()}):Y.push(ne)}),this._queue=[],Y.sort((ne,pe)=>{const Ve=ne.transition.ast.depCount,bt=pe.transition.ast.depCount;return 0==Ve||0==bt?Ve-bt:this._engine.driver.containsElement(ne.element,pe.element)?1:-1})}destroy(U){this.players.forEach(Y=>Y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,U)}}class re{_onRemovalComplete(U,Y){this.onRemovalComplete(U,Y)}constructor(U,Y,ne){this.bodyNode=U,this.driver=Y,this._normalizer=ne,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=(pe,Ve)=>{}}get queuedPlayers(){const U=[];return this._namespaceList.forEach(Y=>{Y.players.forEach(ne=>{ne.queued&&U.push(ne)})}),U}createNamespace(U,Y){const ne=new Ql(U,Y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,Y)?this._balanceNamespaceList(ne,Y):(this.newHostElements.set(Y,ne),this.collectEnterElement(Y)),this._namespaceLookup[U]=ne}_balanceNamespaceList(U,Y){const ne=this._namespaceList,pe=this.namespacesByHostElement;if(ne.length-1>=0){let bt=!1,It=this.driver.getParentElement(Y);for(;It;){const Xt=pe.get(It);if(Xt){const Cn=ne.indexOf(Xt);ne.splice(Cn+1,0,U),bt=!0;break}It=this.driver.getParentElement(It)}bt||ne.unshift(U)}else ne.push(U);return pe.set(Y,U),U}register(U,Y){let ne=this._namespaceLookup[U];return ne||(ne=this.createNamespace(U,Y)),ne}registerTrigger(U,Y,ne){let pe=this._namespaceLookup[U];pe&&pe.register(Y,ne)&&this.totalAnimations++}destroy(U,Y){U&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ne=this._fetchNamespace(U);this.namespacesByHostElement.delete(ne.hostElement);const pe=this._namespaceList.indexOf(ne);pe>=0&&this._namespaceList.splice(pe,1),ne.destroy(Y),delete this._namespaceLookup[U]}))}_fetchNamespace(U){return this._namespaceLookup[U]}fetchNamespacesByElement(U){const Y=new Set,ne=this.statesByElement.get(U);if(ne)for(let pe of ne.values())if(pe.namespaceId){const Ve=this._fetchNamespace(pe.namespaceId);Ve&&Y.add(Ve)}return Y}trigger(U,Y,ne,pe){if(Ut(Y)){const Ve=this._fetchNamespace(U);if(Ve)return Ve.trigger(Y,ne,pe),!0}return!1}insertNode(U,Y,ne,pe){if(!Ut(Y))return;const Ve=Y[hr];if(Ve&&Ve.setForRemoval){Ve.setForRemoval=!1,Ve.setForMove=!0;const bt=this.collectedLeaveElements.indexOf(Y);bt>=0&&this.collectedLeaveElements.splice(bt,1)}if(U){const bt=this._fetchNamespace(U);bt&&bt.insertNode(Y,ne)}pe&&this.collectEnterElement(Y)}collectEnterElement(U){this.collectedEnterElements.push(U)}markElementAsDisabled(U,Y){Y?this.disabledNodes.has(U)||(this.disabledNodes.add(U),qr(U,ol)):this.disabledNodes.has(U)&&(this.disabledNodes.delete(U),ls(U,ol))}removeNode(U,Y,ne){if(Ut(Y)){const pe=U?this._fetchNamespace(U):null;pe?pe.removeNode(Y,ne):this.markElementAsRemoved(U,Y,!1,ne);const Ve=this.namespacesByHostElement.get(Y);Ve&&Ve.id!==U&&Ve.removeNode(Y,ne)}else this._onRemovalComplete(Y,ne)}markElementAsRemoved(U,Y,ne,pe,Ve){this.collectedLeaveElements.push(Y),Y[hr]={namespaceId:U,setForRemoval:pe,hasAnimation:ne,removedBeforeQueried:!1,previousTriggersValues:Ve}}listen(U,Y,ne,pe,Ve){return Ut(Y)?this._fetchNamespace(U).listen(Y,ne,pe,Ve):()=>{}}_buildInstruction(U,Y,ne,pe,Ve){return U.transition.build(this.driver,U.element,U.fromState.value,U.toState.value,ne,pe,U.fromState.options,U.toState.options,Y,Ve)}destroyInnerAnimations(U){let Y=this.driver.query(U,Fi,!0);Y.forEach(ne=>this.destroyActiveAnimationsForElement(ne)),0!=this.playersByQueriedElement.size&&(Y=this.driver.query(U,dr,!0),Y.forEach(ne=>this.finishActiveQueriedAnimationOnElement(ne)))}destroyActiveAnimationsForElement(U){const Y=this.playersByElement.get(U);Y&&Y.forEach(ne=>{ne.queued?ne.markedForDestroy=!0:ne.destroy()})}finishActiveQueriedAnimationOnElement(U){const Y=this.playersByQueriedElement.get(U);Y&&Y.forEach(ne=>ne.finish())}whenRenderingDone(){return new Promise(U=>{if(this.players.length)return Tt(this.players).onDone(()=>U());U()})}processLeaveNode(U){const Y=U[hr];if(Y&&Y.setForRemoval){if(U[hr]=qo,Y.namespaceId){this.destroyInnerAnimations(U);const ne=this._fetchNamespace(Y.namespaceId);ne&&ne.clearElementCache(U)}this._onRemovalComplete(U,Y.setForRemoval)}U.classList?.contains(ol)&&this.markElementAsDisabled(U,!1),this.driver.query(U,".ng-animate-disabled",!0).forEach(ne=>{this.markElementAsDisabled(ne,!1)})}flush(U=-1){let Y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ne,pe)=>this._balanceNamespaceList(ne,pe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ne=0;nene()),this._flushFns=[],this._whenQuietFns.length){const ne=this._whenQuietFns;this._whenQuietFns=[],Y.length?Tt(Y).onDone(()=>{ne.forEach(pe=>pe())}):ne.forEach(pe=>pe())}}reportError(U){throw function Ds(q){return new t.vHH(3402,!1)}()}_flushAnimations(U,Y){const ne=new Ne,pe=[],Ve=new Map,bt=[],It=new Map,Xt=new Map,Cn=new Map,ni=new Set;this.disabledNodes.forEach(tr=>{ni.add(tr);const Ir=this.driver.query(tr,".ng-animate-queued",!0);for(let kr=0;kr{const kr=as+wi++;hi.set(Ir,kr),tr.forEach(Jr=>qr(Jr,kr))});const Tr=[],sr=new Set,Er=new Set;for(let tr=0;trsr.add(Jr)):Er.add(Ir))}const ms=new Map,ao=ps(Ei,Array.from(sr));ao.forEach((tr,Ir)=>{const kr=Na+wi++;ms.set(Ir,kr),tr.forEach(Jr=>qr(Jr,kr))}),U.push(()=>{Hi.forEach((tr,Ir)=>{const kr=hi.get(Ir);tr.forEach(Jr=>ls(Jr,kr))}),ao.forEach((tr,Ir)=>{const kr=ms.get(Ir);tr.forEach(Jr=>ls(Jr,kr))}),Tr.forEach(tr=>{this.processLeaveNode(tr)})});const Xa=[],Wo=[];for(let tr=this._namespaceList.length-1;tr>=0;tr--)this._namespaceList[tr].drainQueuedTransitions(Y).forEach(kr=>{const Jr=kr.player,Go=kr.element;if(Xa.push(Jr),this.collectedEnterElements.length){const cl=Go[hr];if(cl&&cl.setForMove){if(cl.previousTriggersValues&&cl.previousTriggersValues.has(kr.triggerName)){const qa=cl.previousTriggersValues.get(kr.triggerName),zl=this.statesByElement.get(kr.element);if(zl&&zl.has(kr.triggerName)){const Dl=zl.get(kr.triggerName);Dl.value=qa,zl.set(kr.triggerName,Dl)}}return void Jr.destroy()}}const oa=!oi||!this.driver.containsElement(oi,Go),Hl=ms.get(Go),vs=hi.get(Go),fs=this._buildInstruction(kr,ne,vs,Hl,oa);if(fs.errors&&fs.errors.length)return void Wo.push(fs);if(oa)return Jr.onStart(()=>Aa(Go,fs.fromStyles)),Jr.onDestroy(()=>Mo(Go,fs.toStyles)),void pe.push(Jr);if(kr.isFallbackTransition)return Jr.onStart(()=>Aa(Go,fs.fromStyles)),Jr.onDestroy(()=>Mo(Go,fs.toStyles)),void pe.push(Jr);const aa=[];fs.timelines.forEach(cl=>{cl.stretchStartingKeyframe=!0,this.disabledNodes.has(cl.element)||aa.push(cl)}),fs.timelines=aa,ne.append(Go,fs.timelines),bt.push({instruction:fs,player:Jr,element:Go}),fs.queriedElements.forEach(cl=>_r(It,cl,[]).push(Jr)),fs.preStyleProps.forEach((cl,qa)=>{if(cl.size){let zl=Xt.get(qa);zl||Xt.set(qa,zl=new Set),cl.forEach((Dl,sc)=>zl.add(sc))}}),fs.postStyleProps.forEach((cl,qa)=>{let zl=Cn.get(qa);zl||Cn.set(qa,zl=new Set),cl.forEach((Dl,sc)=>zl.add(sc))})});if(Wo.length){const tr=[];Wo.forEach(Ir=>{tr.push(function En(q,U){return new t.vHH(3505,!1)}())}),Xa.forEach(Ir=>Ir.destroy()),this.reportError(tr)}const mo=new Map,Zo=new Map;bt.forEach(tr=>{const Ir=tr.element;ne.has(Ir)&&(Zo.set(Ir,Ir),this._beforeAnimationBuild(tr.player.namespaceId,tr.instruction,mo))}),pe.forEach(tr=>{const Ir=tr.element;this._getPreviousPlayers(Ir,!1,tr.namespaceId,tr.triggerName,null).forEach(Jr=>{_r(mo,Ir,[]).push(Jr),Jr.destroy()})});const Ns=Tr.filter(tr=>ea(tr,Xt,Cn)),Va=new Map;Si(Va,this.driver,Er,Cn,bn.l3).forEach(tr=>{ea(tr,Xt,Cn)&&Ns.push(tr)});const Ml=new Map;Hi.forEach((tr,Ir)=>{Si(Ml,this.driver,new Set(tr),Xt,bn.k1)}),Ns.forEach(tr=>{const Ir=Va.get(tr),kr=Ml.get(tr);Va.set(tr,new Map([...Ir?.entries()??[],...kr?.entries()??[]]))});const _o=[],Is=[],ll={};bt.forEach(tr=>{const{element:Ir,player:kr,instruction:Jr}=tr;if(ne.has(Ir)){if(ni.has(Ir))return kr.onDestroy(()=>Mo(Ir,Jr.toStyles)),kr.disabled=!0,kr.overrideTotalTime(Jr.totalTime),void pe.push(kr);let Go=ll;if(Zo.size>1){let Hl=Ir;const vs=[];for(;Hl=Hl.parentNode;){const fs=Zo.get(Hl);if(fs){Go=fs;break}vs.push(Hl)}vs.forEach(fs=>Zo.set(fs,Go))}const oa=this._buildAnimation(kr.namespaceId,Jr,mo,Ve,Ml,Va);if(kr.setRealPlayer(oa),Go===ll)_o.push(kr);else{const Hl=this.playersByElement.get(Go);Hl&&Hl.length&&(kr.parentPlayer=Tt(Hl)),pe.push(kr)}}else Aa(Ir,Jr.fromStyles),kr.onDestroy(()=>Mo(Ir,Jr.toStyles)),Is.push(kr),ni.has(Ir)&&pe.push(kr)}),Is.forEach(tr=>{const Ir=Ve.get(tr.element);if(Ir&&Ir.length){const kr=Tt(Ir);tr.setRealPlayer(kr)}}),pe.forEach(tr=>{tr.parentPlayer?tr.syncPlayerEvents(tr.parentPlayer):tr.destroy()});for(let tr=0;tr!oa.destroyed);Go.length?zr(this,Ir,Go):this.processLeaveNode(Ir)}return Tr.length=0,_o.forEach(tr=>{this.players.push(tr),tr.onDone(()=>{tr.destroy();const Ir=this.players.indexOf(tr);this.players.splice(Ir,1)}),tr.play()}),_o}afterFlush(U){this._flushFns.push(U)}afterFlushAnimationsDone(U){this._whenQuietFns.push(U)}_getPreviousPlayers(U,Y,ne,pe,Ve){let bt=[];if(Y){const It=this.playersByQueriedElement.get(U);It&&(bt=It)}else{const It=this.playersByElement.get(U);if(It){const Xt=!Ve||Ve==Wr;It.forEach(Cn=>{Cn.queued||!Xt&&Cn.triggerName!=pe||bt.push(Cn)})}}return(ne||pe)&&(bt=bt.filter(It=>!(ne&&ne!=It.namespaceId||pe&&pe!=It.triggerName))),bt}_beforeAnimationBuild(U,Y,ne){const Ve=Y.element,bt=Y.isRemovalTransition?void 0:U,It=Y.isRemovalTransition?void 0:Y.triggerName;for(const Xt of Y.timelines){const Cn=Xt.element,ni=Cn!==Ve,oi=_r(ne,Cn,[]);this._getPreviousPlayers(Cn,ni,bt,It,Y.toState).forEach(Hi=>{const hi=Hi.getRealPlayer();hi.beforeDestroy&&hi.beforeDestroy(),Hi.destroy(),oi.push(Hi)})}Aa(Ve,Y.fromStyles)}_buildAnimation(U,Y,ne,pe,Ve,bt){const It=Y.triggerName,Xt=Y.element,Cn=[],ni=new Set,oi=new Set,Ei=Y.timelines.map(hi=>{const wi=hi.element;ni.add(wi);const Tr=wi[hr];if(Tr&&Tr.removedBeforeQueried)return new bn.ZN(hi.duration,hi.delay);const sr=wi!==Xt,Er=function Ws(q){const U=[];return ks(q,U),U}((ne.get(wi)||al).map(mo=>mo.getRealPlayer())).filter(mo=>!!mo.element&&mo.element===wi),ms=Ve.get(wi),ao=bt.get(wi),Xa=un(this._normalizer,hi.keyframes,ms,ao),Wo=this._buildPlayer(hi,Xa,Er);if(hi.subTimeline&&pe&&oi.add(wi),sr){const mo=new qe(U,It,wi);mo.setRealPlayer(Wo),Cn.push(mo)}return Wo});Cn.forEach(hi=>{_r(this.playersByQueriedElement,hi.element,[]).push(hi),hi.onDone(()=>function Te(q,U,Y){let ne=q.get(U);if(ne){if(ne.length){const pe=ne.indexOf(Y);ne.splice(pe,1)}0==ne.length&&q.delete(U)}return ne}(this.playersByQueriedElement,hi.element,hi))}),ni.forEach(hi=>qr(hi,_i));const Hi=Tt(Ei);return Hi.onDestroy(()=>{ni.forEach(hi=>ls(hi,_i)),Mo(Xt,Y.toStyles)}),oi.forEach(hi=>{_r(pe,hi,[]).push(Hi)}),Hi}_buildPlayer(U,Y,ne){return Y.length>0?this.driver.animate(U.element,Y,U.duration,U.delay,U.easing,ne):new bn.ZN(U.duration,U.delay)}}class qe{constructor(U,Y,ne){this.namespaceId=U,this.triggerName=Y,this.element=ne,this._player=new bn.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(U){this._containsRealPlayer||(this._player=U,this._queuedCallbacks.forEach((Y,ne)=>{Y.forEach(pe=>Yn(U,ne,void 0,pe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(U.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(U){this.totalTime=U}syncPlayerEvents(U){const Y=this._player;Y.triggerCallback&&U.onStart(()=>Y.triggerCallback("start")),U.onDone(()=>this.finish()),U.onDestroy(()=>this.destroy())}_queueEvent(U,Y){_r(this._queuedCallbacks,U,[]).push(Y)}onDone(U){this.queued&&this._queueEvent("done",U),this._player.onDone(U)}onStart(U){this.queued&&this._queueEvent("start",U),this._player.onStart(U)}onDestroy(U){this.queued&&this._queueEvent("destroy",U),this._player.onDestroy(U)}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(U){this.queued||this._player.setPosition(U)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(U){const Y=this._player;Y.triggerCallback&&Y.triggerCallback(U)}}function Ut(q){return q&&1===q.nodeType}function Hn(q,U){const Y=q.style.display;return q.style.display=U??"none",Y}function Si(q,U,Y,ne,pe){const Ve=[];Y.forEach(Xt=>Ve.push(Hn(Xt)));const bt=[];ne.forEach((Xt,Cn)=>{const ni=new Map;Xt.forEach(oi=>{const Ei=U.computeStyle(Cn,oi,pe);ni.set(oi,Ei),(!Ei||0==Ei.length)&&(Cn[hr]=Io,bt.push(Cn))}),q.set(Cn,ni)});let It=0;return Y.forEach(Xt=>Hn(Xt,Ve[It++])),bt}function ps(q,U){const Y=new Map;if(q.forEach(It=>Y.set(It,[])),0==U.length)return Y;const pe=new Set(U),Ve=new Map;function bt(It){if(!It)return 1;let Xt=Ve.get(It);if(Xt)return Xt;const Cn=It.parentNode;return Xt=Y.has(Cn)?Cn:pe.has(Cn)?1:bt(Cn),Ve.set(It,Xt),Xt}return U.forEach(It=>{const Xt=bt(It);1!==Xt&&Y.get(Xt).push(It)}),Y}function qr(q,U){q.classList?.add(U)}function ls(q,U){q.classList?.remove(U)}function zr(q,U,Y){Tt(Y).onDone(()=>q.processLeaveNode(U))}function ks(q,U){for(let Y=0;Ype.add(Ve)):U.set(q,ne),Y.delete(q),!0}class Zs{constructor(U,Y,ne){this.bodyNode=U,this._driver=Y,this._normalizer=ne,this._triggerCache={},this.onRemovalComplete=(pe,Ve)=>{},this._transitionEngine=new re(U,Y,ne),this._timelineEngine=new Cl(U,Y,ne),this._transitionEngine.onRemovalComplete=(pe,Ve)=>this.onRemovalComplete(pe,Ve)}registerTrigger(U,Y,ne,pe,Ve){const bt=U+"-"+pe;let It=this._triggerCache[bt];if(!It){const Xt=[],ni=nl(this._driver,Ve,Xt,[]);if(Xt.length)throw function xs(q,U){return new t.vHH(3404,!1)}();It=function ai(q,U,Y){return new Nl(q,U,Y)}(pe,ni,this._normalizer),this._triggerCache[bt]=It}this._transitionEngine.registerTrigger(Y,pe,It)}register(U,Y){this._transitionEngine.register(U,Y)}destroy(U,Y){this._transitionEngine.destroy(U,Y)}onInsert(U,Y,ne,pe){this._transitionEngine.insertNode(U,Y,ne,pe)}onRemove(U,Y,ne){this._transitionEngine.removeNode(U,Y,ne)}disableAnimations(U,Y){this._transitionEngine.markElementAsDisabled(U,Y)}process(U,Y,ne,pe){if("@"==ne.charAt(0)){const[Ve,bt]=us(ne);this._timelineEngine.command(Ve,Y,bt,pe)}else this._transitionEngine.trigger(U,Y,ne,pe)}listen(U,Y,ne,pe,Ve){if("@"==ne.charAt(0)){const[bt,It]=us(ne);return this._timelineEngine.listen(bt,Y,It,Ve)}return this._transitionEngine.listen(U,Y,ne,pe,Ve)}flush(U=-1){this._transitionEngine.flush(U)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(U){this._transitionEngine.afterFlushAnimationsDone(U)}}let Ya=(()=>{class q{static#e=this.initialStylesByElement=new WeakMap;constructor(Y,ne,pe){this._element=Y,this._startStyles=ne,this._endStyles=pe,this._state=0;let Ve=q.initialStylesByElement.get(Y);Ve||q.initialStylesByElement.set(Y,Ve=new Map),this._initialStyles=Ve}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&&(q.initialStylesByElement.delete(this._element),this._startStyles&&(Aa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Aa(this._element,this._endStyles),this._endStyles=null),Mo(this._element,this._initialStyles),this._state=3)}}return q})();function $a(q){let U=null;return q.forEach((Y,ne)=>{(function fo(q){return"display"===q||"position"===q})(ne)&&(U=U||new Map,U.set(ne,Y))}),U}class za{constructor(U,Y,ne,pe){this.element=U,this.keyframes=Y,this.options=ne,this._specialStyles=pe,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=ne.duration,this._delay=ne.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const U=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,U,this.options),this._finalKeyframe=U.length?U[U.length-1]:new Map;const Y=()=>this._onFinish();this.domPlayer.addEventListener("finish",Y),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",Y)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(U){const Y=[];return U.forEach(ne=>{Y.push(Object.fromEntries(ne))}),Y}_triggerWebAnimation(U,Y,ne){return U.animate(this._convertKeyframesToObject(Y),ne)}onStart(U){this._originalOnStartFns.push(U),this._onStartFns.push(U)}onDone(U){this._originalOnDoneFns.push(U),this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(U=>U()),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(U=>U()),this._onDestroyFns=[])}setPosition(U){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=U*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const U=new Map;this.hasStarted()&&this._finalKeyframe.forEach((ne,pe)=>{"offset"!==pe&&U.set(pe,this._finished?ne:fa(this.element,pe))}),this.currentSnapshot=U}triggerCallback(U){const Y="start"===U?this._onStartFns:this._onDoneFns;Y.forEach(ne=>ne()),Y.length=0}}class Uc{validateStyleProperty(U){return!0}validateAnimatableStyleProperty(U){return!0}matchesElement(U,Y){return!1}containsElement(U,Y){return er(U,Y)}getParentElement(U){return Fo(U)}query(U,Y,ne){return Cr(U,Y,ne)}computeStyle(U,Y,ne){return window.getComputedStyle(U)[Y]}animate(U,Y,ne,pe,Ve,bt=[]){const Xt={duration:ne,delay:pe,fill:0==pe?"both":"forwards"};Ve&&(Xt.easing=Ve);const Cn=new Map,ni=bt.filter(Hi=>Hi instanceof za);(function Js(q,U){return 0===q||0===U})(ne,pe)&&ni.forEach(Hi=>{Hi.currentSnapshot.forEach((hi,wi)=>Cn.set(wi,hi))});let oi=function $o(q){return q.length?q[0]instanceof Map?q:q.map(U=>os(U)):[]}(Y).map(Hi=>Rn(Hi));oi=function Ia(q,U,Y){if(Y.size&&U.length){let ne=U[0],pe=[];if(Y.forEach((Ve,bt)=>{ne.has(bt)||pe.push(bt),ne.set(bt,Ve)}),pe.length)for(let Ve=1;Vebt.set(It,fa(q,It)))}}return U}(U,oi,Cn);const Ei=function xa(q,U){let Y=null,ne=null;return Array.isArray(U)&&U.length?(Y=$a(U[0]),U.length>1&&(ne=$a(U[U.length-1]))):U instanceof Map&&(Y=$a(U)),Y||ne?new Ya(q,Y,ne):null}(U,oi);return new za(U,oi,Xt,Ei)}}let Es=(()=>{class q extends bn._j{constructor(Y,ne){super(),this._nextAnimationId=0,this._renderer=Y.createRenderer(ne.body,{id:"0",encapsulation:t.ifc.None,styles:[],data:{animation:[]}})}build(Y){const ne=this._nextAnimationId.toString();this._nextAnimationId++;const pe=Array.isArray(Y)?(0,bn.vP)(Y):Y;return go(this._renderer,null,ne,"register",[pe]),new Vl(ne,this._renderer)}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(t.FYo),t.LFG(k.K0))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})();class Vl extends bn.LC{constructor(U,Y){super(),this._id=U,this._renderer=Y}create(U,Y){return new Ka(this._id,U,Y||{},this._renderer)}}class Ka{constructor(U,Y,ne,pe){this.id=U,this.element=Y,this._renderer=pe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ne)}_listen(U,Y){return this._renderer.listen(this.element,`@@${this.id}:${U}`,Y)}_command(U,...Y){return go(this._renderer,this.element,this.id,U,Y)}onDone(U){this._listen("done",U)}onStart(U){this._listen("start",U)}onDestroy(U){this._listen("destroy",U)}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(U){this._command("setPosition",U)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function go(q,U,Y,ne,pe){return q.setProperty(U,`@@${Y}:${ne}`,pe)}const Ba="@.disabled";let po=(()=>{class q{constructor(Y,ne,pe){this.delegate=Y,this.engine=ne,this._zone=pe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ne.onRemovalComplete=(Ve,bt)=>{const It=bt?.parentNode(Ve);It&&bt.removeChild(It,Ve)}}createRenderer(Y,ne){const Ve=this.delegate.createRenderer(Y,ne);if(!(Y&&ne&&ne.data&&ne.data.animation)){let ni=this._rendererCache.get(Ve);return ni||(ni=new yo("",Ve,this.engine,()=>this._rendererCache.delete(Ve)),this._rendererCache.set(Ve,ni)),ni}const bt=ne.id,It=ne.id+"-"+this._currentId;this._currentId++,this.engine.register(It,Y);const Xt=ni=>{Array.isArray(ni)?ni.forEach(Xt):this.engine.registerTrigger(bt,It,Y,ni.name,ni)};return ne.data.animation.forEach(Xt),new ma(this,It,Ve,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(Y,ne,pe){Y>=0&&Yne(pe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Ve=>{const[bt,It]=Ve;bt(It)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ne,pe]))}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()}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(t.FYo),t.LFG(Zs),t.LFG(t.R0b))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})();class yo{constructor(U,Y,ne,pe){this.namespaceId=U,this.delegate=Y,this.engine=ne,this._onDestroy=pe}get data(){return this.delegate.data}destroyNode(U){this.delegate.destroyNode?.(U)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(U,Y){return this.delegate.createElement(U,Y)}createComment(U){return this.delegate.createComment(U)}createText(U){return this.delegate.createText(U)}appendChild(U,Y){this.delegate.appendChild(U,Y),this.engine.onInsert(this.namespaceId,Y,U,!1)}insertBefore(U,Y,ne,pe=!0){this.delegate.insertBefore(U,Y,ne),this.engine.onInsert(this.namespaceId,Y,U,pe)}removeChild(U,Y,ne){this.engine.onRemove(this.namespaceId,Y,this.delegate)}selectRootElement(U,Y){return this.delegate.selectRootElement(U,Y)}parentNode(U){return this.delegate.parentNode(U)}nextSibling(U){return this.delegate.nextSibling(U)}setAttribute(U,Y,ne,pe){this.delegate.setAttribute(U,Y,ne,pe)}removeAttribute(U,Y,ne){this.delegate.removeAttribute(U,Y,ne)}addClass(U,Y){this.delegate.addClass(U,Y)}removeClass(U,Y){this.delegate.removeClass(U,Y)}setStyle(U,Y,ne,pe){this.delegate.setStyle(U,Y,ne,pe)}removeStyle(U,Y,ne){this.delegate.removeStyle(U,Y,ne)}setProperty(U,Y,ne){"@"==Y.charAt(0)&&Y==Ba?this.disableAnimations(U,!!ne):this.delegate.setProperty(U,Y,ne)}setValue(U,Y){this.delegate.setValue(U,Y)}listen(U,Y,ne){return this.delegate.listen(U,Y,ne)}disableAnimations(U,Y){this.engine.disableAnimations(U,Y)}}class ma extends yo{constructor(U,Y,ne,pe,Ve){super(Y,ne,pe,Ve),this.factory=U,this.namespaceId=Y}setProperty(U,Y,ne){"@"==Y.charAt(0)?"."==Y.charAt(1)&&Y==Ba?this.disableAnimations(U,ne=void 0===ne||!!ne):this.engine.process(this.namespaceId,U,Y.slice(1),ne):this.delegate.setProperty(U,Y,ne)}listen(U,Y,ne){if("@"==Y.charAt(0)){const pe=function xl(q){switch(q){case"body":return document.body;case"document":return document;case"window":return window;default:return q}}(U);let Ve=Y.slice(1),bt="";return"@"!=Ve.charAt(0)&&([Ve,bt]=function Xl(q){const U=q.indexOf(".");return[q.substring(0,U),q.slice(U+1)]}(Ve)),this.engine.listen(this.namespaceId,pe,Ve,bt,It=>{this.factory.scheduleListenerCallback(It._data||-1,ne,It)})}return this.delegate.listen(U,Y,ne)}}const Pc=[{provide:bn._j,useClass:Es},{provide:Cs,useFactory:function cc(){return new ba}},{provide:Zs,useClass:(()=>{class q extends Zs{constructor(Y,ne,pe,Ve){super(Y.body,ne,pe)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(k.K0),t.LFG(ds),t.LFG(Cs),t.LFG(t.z2F))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})()},{provide:t.FYo,useFactory:function Hc(q,U,Y){return new po(q,U,Y)},deps:[i.se,Zs,t.R0b]}],uc=[{provide:ds,useFactory:()=>new Uc},{provide:t.QbO,useValue:"BrowserAnimations"},...Pc],ql=[{provide:ds,useClass:br},{provide:t.QbO,useValue:"NoopAnimations"},...Pc];let Yl=(()=>{class q{static withConfig(Y){return{ngModule:q,providers:Y.disableAnimations?ql:uc}}static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275mod=t.oAB({type:q});static#n=this.\u0275inj=t.cJS({providers:uc,imports:[i.b2]})}return q})();var Ac=m(5336),au=m(2864),ic=m(9179),Zc=m(6925),El=m(9838),Gc=m(6929),Ja=m(5315),rc=m(8393);let Vo=(()=>{class q extends Ja.s{pathId;ngOnInit(){this.pathId="url(#"+(0,rc.Th)()+")"}static \u0275fac=function(){let Y;return function(pe){return(Y||(Y=t.n5z(q)))(pe||q)}}();static \u0275cmp=t.Xpm({type:q,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[t.qOj,t.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(ne,pe){1&ne&&(t.O4$(),t.TgZ(0,"svg",0)(1,"g"),t._UZ(2,"path",1),t.qZA(),t.TgZ(3,"defs")(4,"clipPath",2),t._UZ(5,"rect",3),t.qZA()()()),2&ne&&(t.Tol(pe.getClassNames()),t.uIk("aria-label",pe.ariaLabel)("aria-hidden",pe.ariaHidden)("role",pe.role),t.xp6(1),t.uIk("clip-path",pe.pathId),t.xp6(3),t.Q6J("id",pe.pathId))},encapsulation:2})}return q})(),$c=(()=>{class q extends Ja.s{pathId;ngOnInit(){this.pathId="url(#"+(0,rc.Th)()+")"}static \u0275fac=function(){let Y;return function(pe){return(Y||(Y=t.n5z(q)))(pe||q)}}();static \u0275cmp=t.Xpm({type:q,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[t.qOj,t.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(ne,pe){1&ne&&(t.O4$(),t.TgZ(0,"svg",0)(1,"g"),t._UZ(2,"path",1),t.qZA(),t.TgZ(3,"defs")(4,"clipPath",2),t._UZ(5,"rect",3),t.qZA()()()),2&ne&&(t.Tol(pe.getClassNames()),t.uIk("aria-label",pe.ariaLabel)("aria-hidden",pe.ariaHidden)("role",pe.role),t.xp6(1),t.uIk("clip-path",pe.pathId),t.xp6(3),t.Q6J("id",pe.pathId))},encapsulation:2})}return q})();(0,bn.oQ)([(0,bn.oB)({transform:"{{transform}}",opacity:0}),(0,bn.jt)("{{transition}}",(0,bn.oB)({transform:"none",opacity:1}))]),(0,bn.oQ)([(0,bn.jt)("{{transition}}",(0,bn.oB)({transform:"{{transform}}",opacity:0}))]);let je=(()=>{class q{static \u0275fac=function(ne){return new(ne||q)};static \u0275mod=t.oAB({type:q});static \u0275inj=t.cJS({imports:[k.ez,Vo,$c,Gc.q,El.m8,El.m8]})}return q})();var M=m(933),W=m(2729);let ue=(()=>{class q{static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275mod=t.oAB({type:q,bootstrap:[Rt.y]});static#n=this.\u0275inj=t.cJS({imports:[i.b2,Yl,A.JF,a.UX,Bt.K,sn,y.vQ,au.UteisModule,Ac.LogModule,ic.RotinaModule,Zc.kb,je]})}return q})();t.B6R(Rt.y,[k.mk,k.sg,k.O5,M.o,W.q,C.lC],[]);var be=m(553);m(8537),be.N.production&&(0,t.G48)(),i.q6().bootstrapModule(ue).catch(q=>console.error(q))},6700:(lt,_e,m)=>{var i={"./af":861,"./af.js":861,"./ar":7279,"./ar-dz":8847,"./ar-dz.js":8847,"./ar-kw":9832,"./ar-kw.js":9832,"./ar-ly":7272,"./ar-ly.js":7272,"./ar-ma":9508,"./ar-ma.js":9508,"./ar-ps":2807,"./ar-ps.js":2807,"./ar-sa":393,"./ar-sa.js":393,"./ar-tn":7541,"./ar-tn.js":7541,"./ar.js":7279,"./az":2986,"./az.js":2986,"./be":7112,"./be.js":7112,"./bg":6367,"./bg.js":6367,"./bm":3316,"./bm.js":3316,"./bn":5815,"./bn-bd":6067,"./bn-bd.js":6067,"./bn.js":5815,"./bo":4530,"./bo.js":4530,"./br":9739,"./br.js":9739,"./bs":8445,"./bs.js":8445,"./ca":7690,"./ca.js":7690,"./cs":8799,"./cs.js":8799,"./cv":8385,"./cv.js":8385,"./cy":6212,"./cy.js":6212,"./da":5782,"./da.js":5782,"./de":7782,"./de-at":1934,"./de-at.js":1934,"./de-ch":2863,"./de-ch.js":2863,"./de.js":7782,"./dv":1146,"./dv.js":1146,"./el":9745,"./el.js":9745,"./en-au":1150,"./en-au.js":1150,"./en-ca":2924,"./en-ca.js":2924,"./en-gb":7406,"./en-gb.js":7406,"./en-ie":9952,"./en-ie.js":9952,"./en-il":4772,"./en-il.js":4772,"./en-in":1961,"./en-in.js":1961,"./en-nz":4014,"./en-nz.js":4014,"./en-sg":3332,"./en-sg.js":3332,"./eo":989,"./eo.js":989,"./es":3209,"./es-do":6393,"./es-do.js":6393,"./es-mx":2324,"./es-mx.js":2324,"./es-us":7641,"./es-us.js":7641,"./es.js":3209,"./et":6373,"./et.js":6373,"./eu":1954,"./eu.js":1954,"./fa":9289,"./fa.js":9289,"./fi":3381,"./fi.js":3381,"./fil":9031,"./fil.js":9031,"./fo":3571,"./fo.js":3571,"./fr":5515,"./fr-ca":7389,"./fr-ca.js":7389,"./fr-ch":7785,"./fr-ch.js":7785,"./fr.js":5515,"./fy":1826,"./fy.js":1826,"./ga":6687,"./ga.js":6687,"./gd":8851,"./gd.js":8851,"./gl":1637,"./gl.js":1637,"./gom-deva":1003,"./gom-deva.js":1003,"./gom-latn":4225,"./gom-latn.js":4225,"./gu":9360,"./gu.js":9360,"./he":7853,"./he.js":7853,"./hi":5428,"./hi.js":5428,"./hr":1001,"./hr.js":1001,"./hu":4579,"./hu.js":4579,"./hy-am":9866,"./hy-am.js":9866,"./id":9689,"./id.js":9689,"./is":2956,"./is.js":2956,"./it":1557,"./it-ch":6052,"./it-ch.js":6052,"./it.js":1557,"./ja":1774,"./ja.js":1774,"./jv":7631,"./jv.js":7631,"./ka":9968,"./ka.js":9968,"./kk":4916,"./kk.js":4916,"./km":2305,"./km.js":2305,"./kn":8994,"./kn.js":8994,"./ko":3558,"./ko.js":3558,"./ku":2243,"./ku-kmr":9529,"./ku-kmr.js":9529,"./ku.js":2243,"./ky":4638,"./ky.js":4638,"./lb":4167,"./lb.js":4167,"./lo":9897,"./lo.js":9897,"./lt":2543,"./lt.js":2543,"./lv":5752,"./lv.js":5752,"./me":3350,"./me.js":3350,"./mi":4134,"./mi.js":4134,"./mk":2177,"./mk.js":2177,"./ml":8100,"./ml.js":8100,"./mn":9571,"./mn.js":9571,"./mr":3656,"./mr.js":3656,"./ms":848,"./ms-my":1319,"./ms-my.js":1319,"./ms.js":848,"./mt":7029,"./mt.js":7029,"./my":6570,"./my.js":6570,"./nb":4819,"./nb.js":4819,"./ne":9576,"./ne.js":9576,"./nl":778,"./nl-be":3475,"./nl-be.js":3475,"./nl.js":778,"./nn":1722,"./nn.js":1722,"./oc-lnc":7467,"./oc-lnc.js":7467,"./pa-in":4869,"./pa-in.js":4869,"./pl":8357,"./pl.js":8357,"./pt":2768,"./pt-br":9641,"./pt-br.js":9641,"./pt.js":2768,"./ro":8876,"./ro.js":8876,"./ru":8663,"./ru.js":8663,"./sd":3727,"./sd.js":3727,"./se":4051,"./se.js":4051,"./si":8643,"./si.js":8643,"./sk":9616,"./sk.js":9616,"./sl":2423,"./sl.js":2423,"./sq":5466,"./sq.js":5466,"./sr":614,"./sr-cyrl":7449,"./sr-cyrl.js":7449,"./sr.js":614,"./ss":82,"./ss.js":82,"./sv":2689,"./sv.js":2689,"./sw":6471,"./sw.js":6471,"./ta":4437,"./ta.js":4437,"./te":4512,"./te.js":4512,"./tet":9434,"./tet.js":9434,"./tg":8765,"./tg.js":8765,"./th":2099,"./th.js":2099,"./tk":9133,"./tk.js":9133,"./tl-ph":7497,"./tl-ph.js":7497,"./tlh":7086,"./tlh.js":7086,"./tr":1118,"./tr.js":1118,"./tzl":5781,"./tzl.js":5781,"./tzm":5982,"./tzm-latn":4415,"./tzm-latn.js":4415,"./tzm.js":5982,"./ug-cn":5975,"./ug-cn.js":5975,"./uk":3715,"./uk.js":3715,"./ur":7307,"./ur.js":7307,"./uz":5232,"./uz-latn":3397,"./uz-latn.js":3397,"./uz.js":5232,"./vi":7842,"./vi.js":7842,"./x-pseudo":2490,"./x-pseudo.js":2490,"./yo":9348,"./yo.js":9348,"./zh-cn":5912,"./zh-cn.js":5912,"./zh-hk":6858,"./zh-hk.js":6858,"./zh-mo":719,"./zh-mo.js":719,"./zh-tw":3533,"./zh-tw.js":3533};function t(a){var y=A(a);return m(y)}function A(a){if(!m.o(i,a)){var y=new Error("Cannot find module '"+a+"'");throw y.code="MODULE_NOT_FOUND",y}return i[a]}t.keys=function(){return Object.keys(i)},t.resolve=A,lt.exports=t,t.id=6700},2405:(lt,_e,m)=>{"use strict";m.d(_e,{LC:()=>t,SB:()=>j,X$:()=>a,ZE:()=>Se,ZN:()=>Oe,_7:()=>P,_j:()=>i,eR:()=>x,jt:()=>y,k1:()=>wt,l3:()=>A,oB:()=>F,oQ:()=>H,vP:()=>b});class i{}class t{}const A="*";function a(K,V){return{type:7,name:K,definitions:V,options:{}}}function y(K,V=null){return{type:4,styles:V,timings:K}}function b(K,V=null){return{type:2,steps:K,options:V}}function F(K){return{type:6,styles:K,offset:null}}function j(K,V,J){return{type:0,name:K,styles:V,options:J}}function x(K,V,J=null){return{type:1,expr:K,animation:V,options:J}}function H(K,V=null){return{type:8,animation:K,options:V}}function P(K,V=null){return{type:10,animation:K,options:V}}class Oe{constructor(V=0,J=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=V+J}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._originalOnStartFns.push(V),this._onStartFns.push(V)}onDone(V){this._originalOnDoneFns.push(V),this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(V=>V()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const J="start"==V?this._onStartFns:this._onDoneFns;J.forEach(ae=>ae()),J.length=0}}class Se{constructor(V){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=V;let J=0,ae=0,oe=0;const ye=this.players.length;0==ye?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ee=>{Ee.onDone(()=>{++J==ye&&this._onFinish()}),Ee.onDestroy(()=>{++ae==ye&&this._onDestroy()}),Ee.onStart(()=>{++oe==ye&&this._onStart()})}),this.totalTime=this.players.reduce((Ee,Ge)=>Math.max(Ee,Ge.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this.players.forEach(V=>V.init())}onStart(V){this._onStartFns.push(V)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(V=>V()),this._onStartFns=[])}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(V=>V.play())}pause(){this.players.forEach(V=>V.pause())}restart(){this.players.forEach(V=>V.restart())}finish(){this._onFinish(),this.players.forEach(V=>V.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(V=>V.destroy()),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this.players.forEach(V=>V.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(V){const J=V*this.totalTime;this.players.forEach(ae=>{const oe=ae.totalTime?Math.min(1,J/ae.totalTime):1;ae.setPosition(oe)})}getPosition(){const V=this.players.reduce((J,ae)=>null===J||ae.totalTime>J.totalTime?ae:J,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const J="start"==V?this._onStartFns:this._onDoneFns;J.forEach(ae=>ae()),J.length=0}}const wt="!"},6733:(lt,_e,m)=>{"use strict";m.d(_e,{Do:()=>me,EM:()=>Rs,HT:()=>a,JF:()=>uo,K0:()=>C,Mx:()=>wr,NF:()=>Mo,O5:()=>Eo,Ov:()=>na,PC:()=>Yn,PM:()=>Aa,S$:()=>k,V_:()=>F,Ye:()=>Oe,b0:()=>X,bD:()=>os,ez:()=>Vr,mk:()=>jr,q:()=>A,sg:()=>Nr,tP:()=>Ui,w_:()=>y});var i=m(755);let t=null;function A(){return t}function a(re){t||(t=re)}class y{}const C=new i.OlP("DocumentToken");let b=(()=>{class re{historyGo(Te){throw new Error("Not implemented")}static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275prov=i.Yz7({token:re,factory:function(){return(0,i.f3M)(j)},providedIn:"platform"})}return re})();const F=new i.OlP("Location Initialized");let j=(()=>{class re extends b{constructor(){super(),this._doc=(0,i.f3M)(C),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(Te){const We=A().getGlobalEventTarget(this._doc,"window");return We.addEventListener("popstate",Te,!1),()=>We.removeEventListener("popstate",Te)}onHashChange(Te){const We=A().getGlobalEventTarget(this._doc,"window");return We.addEventListener("hashchange",Te,!1),()=>We.removeEventListener("hashchange",Te)}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(Te){this._location.pathname=Te}pushState(Te,We,Ut){this._history.pushState(Te,We,Ut)}replaceState(Te,We,Ut){this._history.replaceState(Te,We,Ut)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Te=0){this._history.go(Te)}getState(){return this._history.state}static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275prov=i.Yz7({token:re,factory:function(){return new re},providedIn:"platform"})}return re})();function N(re,qe){if(0==re.length)return qe;if(0==qe.length)return re;let Te=0;return re.endsWith("/")&&Te++,qe.startsWith("/")&&Te++,2==Te?re+qe.substring(1):1==Te?re+qe:re+"/"+qe}function x(re){const qe=re.match(/#|\?|$/),Te=qe&&qe.index||re.length;return re.slice(0,Te-("/"===re[Te-1]?1:0))+re.slice(Te)}function H(re){return re&&"?"!==re[0]?"?"+re:re}let k=(()=>{class re{historyGo(Te){throw new Error("Not implemented")}static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275prov=i.Yz7({token:re,factory:function(){return(0,i.f3M)(X)},providedIn:"root"})}return re})();const P=new i.OlP("appBaseHref");let X=(()=>{class re extends k{constructor(Te,We){super(),this._platformLocation=Te,this._removeListenerFns=[],this._baseHref=We??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}prepareExternalUrl(Te){return N(this._baseHref,Te)}path(Te=!1){const We=this._platformLocation.pathname+H(this._platformLocation.search),Ut=this._platformLocation.hash;return Ut&&Te?`${We}${Ut}`:We}pushState(Te,We,Ut,Ln){const Hn=this.prepareExternalUrl(Ut+H(Ln));this._platformLocation.pushState(Te,We,Hn)}replaceState(Te,We,Ut,Ln){const Hn=this.prepareExternalUrl(Ut+H(Ln));this._platformLocation.replaceState(Te,We,Hn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static#e=this.\u0275fac=function(We){return new(We||re)(i.LFG(b),i.LFG(P,8))};static#t=this.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})(),me=(()=>{class re extends k{constructor(Te,We){super(),this._platformLocation=Te,this._baseHref="",this._removeListenerFns=[],null!=We&&(this._baseHref=We)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}path(Te=!1){let We=this._platformLocation.hash;return null==We&&(We="#"),We.length>0?We.substring(1):We}prepareExternalUrl(Te){const We=N(this._baseHref,Te);return We.length>0?"#"+We:We}pushState(Te,We,Ut,Ln){let Hn=this.prepareExternalUrl(Ut+H(Ln));0==Hn.length&&(Hn=this._platformLocation.pathname),this._platformLocation.pushState(Te,We,Hn)}replaceState(Te,We,Ut,Ln){let Hn=this.prepareExternalUrl(Ut+H(Ln));0==Hn.length&&(Hn=this._platformLocation.pathname),this._platformLocation.replaceState(Te,We,Hn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static#e=this.\u0275fac=function(We){return new(We||re)(i.LFG(b),i.LFG(P,8))};static#t=this.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac})}return re})(),Oe=(()=>{class re{constructor(Te){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Te;const We=this._locationStrategy.getBaseHref();this._basePath=function V(re){if(new RegExp("^(https?:)?//").test(re)){const[,Te]=re.split(/\/\/[^\/]+/);return Te}return re}(x(K(We))),this._locationStrategy.onPopState(Ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ut.state,type:Ut.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Te=!1){return this.normalize(this._locationStrategy.path(Te))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Te,We=""){return this.path()==this.normalize(Te+H(We))}normalize(Te){return re.stripTrailingSlash(function wt(re,qe){if(!re||!qe.startsWith(re))return qe;const Te=qe.substring(re.length);return""===Te||["/",";","?","#"].includes(Te[0])?Te:qe}(this._basePath,K(Te)))}prepareExternalUrl(Te){return Te&&"/"!==Te[0]&&(Te="/"+Te),this._locationStrategy.prepareExternalUrl(Te)}go(Te,We="",Ut=null){this._locationStrategy.pushState(Ut,"",Te,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+H(We)),Ut)}replaceState(Te,We="",Ut=null){this._locationStrategy.replaceState(Ut,"",Te,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+H(We)),Ut)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Te=0){this._locationStrategy.historyGo?.(Te)}onUrlChange(Te){return this._urlChangeListeners.push(Te),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(We=>{this._notifyUrlChangeListeners(We.url,We.state)})),()=>{const We=this._urlChangeListeners.indexOf(Te);this._urlChangeListeners.splice(We,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Te="",We){this._urlChangeListeners.forEach(Ut=>Ut(Te,We))}subscribe(Te,We,Ut){return this._subject.subscribe({next:Te,error:We,complete:Ut})}static#e=this.normalizeQueryParams=H;static#t=this.joinWithSlash=N;static#n=this.stripTrailingSlash=x;static#i=this.\u0275fac=function(We){return new(We||re)(i.LFG(k))};static#r=this.\u0275prov=i.Yz7({token:re,factory:function(){return function Se(){return new Oe((0,i.LFG)(k))}()},providedIn:"root"})}return re})();function K(re){return re.replace(/\/index.html$/,"")}function wr(re,qe){qe=encodeURIComponent(qe);for(const Te of re.split(";")){const We=Te.indexOf("="),[Ut,Ln]=-1==We?[Te,""]:[Te.slice(0,We),Te.slice(We+1)];if(Ut.trim()===qe)return decodeURIComponent(Ln)}return null}const Ki=/\s+/,yr=[];let jr=(()=>{class re{constructor(Te,We,Ut,Ln){this._iterableDiffers=Te,this._keyValueDiffers=We,this._ngEl=Ut,this._renderer=Ln,this.initialClasses=yr,this.stateMap=new Map}set klass(Te){this.initialClasses=null!=Te?Te.trim().split(Ki):yr}set ngClass(Te){this.rawClass="string"==typeof Te?Te.trim().split(Ki):Te}ngDoCheck(){for(const We of this.initialClasses)this._updateState(We,!0);const Te=this.rawClass;if(Array.isArray(Te)||Te instanceof Set)for(const We of Te)this._updateState(We,!0);else if(null!=Te)for(const We of Object.keys(Te))this._updateState(We,!!Te[We]);this._applyStateDiff()}_updateState(Te,We){const Ut=this.stateMap.get(Te);void 0!==Ut?(Ut.enabled!==We&&(Ut.changed=!0,Ut.enabled=We),Ut.touched=!0):this.stateMap.set(Te,{enabled:We,changed:!0,touched:!0})}_applyStateDiff(){for(const Te of this.stateMap){const We=Te[0],Ut=Te[1];Ut.changed?(this._toggleClass(We,Ut.enabled),Ut.changed=!1):Ut.touched||(Ut.enabled&&this._toggleClass(We,!1),this.stateMap.delete(We)),Ut.touched=!1}}_toggleClass(Te,We){(Te=Te.trim()).length>0&&Te.split(Ki).forEach(Ut=>{We?this._renderer.addClass(this._ngEl.nativeElement,Ut):this._renderer.removeClass(this._ngEl.nativeElement,Ut)})}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return re})();class ns{constructor(qe,Te,We,Ut){this.$implicit=qe,this.ngForOf=Te,this.index=We,this.count=Ut}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 Nr=(()=>{class re{set ngForOf(Te){this._ngForOf=Te,this._ngForOfDirty=!0}set ngForTrackBy(Te){this._trackByFn=Te}get ngForTrackBy(){return this._trackByFn}constructor(Te,We,Ut){this._viewContainer=Te,this._template=We,this._differs=Ut,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Te){Te&&(this._template=Te)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Te=this._ngForOf;!this._differ&&Te&&(this._differ=this._differs.find(Te).create(this.ngForTrackBy))}if(this._differ){const Te=this._differ.diff(this._ngForOf);Te&&this._applyChanges(Te)}}_applyChanges(Te){const We=this._viewContainer;Te.forEachOperation((Ut,Ln,Hn)=>{if(null==Ut.previousIndex)We.createEmbeddedView(this._template,new ns(Ut.item,this._ngForOf,-1,-1),null===Hn?void 0:Hn);else if(null==Hn)We.remove(null===Ln?void 0:Ln);else if(null!==Ln){const Si=We.get(Ln);We.move(Si,Hn),To(Si,Ut)}});for(let Ut=0,Ln=We.length;Ut{To(We.get(Ut.currentIndex),Ut)})}static ngTemplateContextGuard(Te,We){return!0}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return re})();function To(re,qe){re.context.$implicit=qe.item}let Eo=(()=>{class re{constructor(Te,We){this._viewContainer=Te,this._context=new wo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=We}set ngIf(Te){this._context.$implicit=this._context.ngIf=Te,this._updateView()}set ngIfThen(Te){Ra("ngIfThen",Te),this._thenTemplateRef=Te,this._thenViewRef=null,this._updateView()}set ngIfElse(Te){Ra("ngIfElse",Te),this._elseTemplateRef=Te,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(Te,We){return!0}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.s_b),i.Y36(i.Rgc))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return re})();class wo{constructor(){this.$implicit=null,this.ngIf=null}}function Ra(re,qe){if(qe&&!qe.createEmbeddedView)throw new Error(`${re} must be a TemplateRef, but received '${(0,i.AaK)(qe)}'.`)}let Yn=(()=>{class re{constructor(Te,We,Ut){this._ngEl=Te,this._differs=We,this._renderer=Ut,this._ngStyle=null,this._differ=null}set ngStyle(Te){this._ngStyle=Te,!this._differ&&Te&&(this._differ=this._differs.find(Te).create())}ngDoCheck(){if(this._differ){const Te=this._differ.diff(this._ngStyle);Te&&this._applyChanges(Te)}}_setStyle(Te,We){const[Ut,Ln]=Te.split("."),Hn=-1===Ut.indexOf("-")?void 0:i.JOm.DashCase;null!=We?this._renderer.setStyle(this._ngEl.nativeElement,Ut,Ln?`${We}${Ln}`:We,Hn):this._renderer.removeStyle(this._ngEl.nativeElement,Ut,Hn)}_applyChanges(Te){Te.forEachRemovedItem(We=>this._setStyle(We.key,null)),Te.forEachAddedItem(We=>this._setStyle(We.key,We.currentValue)),Te.forEachChangedItem(We=>this._setStyle(We.key,We.currentValue))}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return re})(),Ui=(()=>{class re{constructor(Te){this._viewContainerRef=Te,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Te){if(Te.ngTemplateOutlet||Te.ngTemplateOutletInjector){const We=this._viewContainerRef;if(this._viewRef&&We.remove(We.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ut,ngTemplateOutletContext:Ln,ngTemplateOutletInjector:Hn}=this;this._viewRef=We.createEmbeddedView(Ut,Ln,Hn?{injector:Hn}:void 0)}else this._viewRef=null}else this._viewRef&&Te.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.s_b))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]})}return re})();class us{createSubscription(qe,Te){return(0,i.rg0)(()=>qe.subscribe({next:Te,error:We=>{throw We}}))}dispose(qe){(0,i.rg0)(()=>qe.unsubscribe())}}class So{createSubscription(qe,Te){return qe.then(Te,We=>{throw We})}dispose(qe){}}const Fo=new So,Ks=new us;let na=(()=>{class re{constructor(Te){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Te}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Te){return this._obj?Te!==this._obj?(this._dispose(),this.transform(Te)):this._latestValue:(Te&&this._subscribe(Te),this._latestValue)}_subscribe(Te){this._obj=Te,this._strategy=this._selectStrategy(Te),this._subscription=this._strategy.createSubscription(Te,We=>this._updateLatestValue(Te,We))}_selectStrategy(Te){if((0,i.QGY)(Te))return Fo;if((0,i.F4k)(Te))return Ks;throw function _r(re,qe){return new i.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Te,We){Te===this._obj&&(this._latestValue=We,this._ref.markForCheck())}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.sBO,16))};static#t=this.\u0275pipe=i.Yjl({name:"async",type:re,pure:!1,standalone:!0})}return re})(),Vr=(()=>{class re{static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275mod=i.oAB({type:re});static#n=this.\u0275inj=i.cJS({})}return re})();const os="browser",$o="server";function Mo(re){return re===os}function Aa(re){return re===$o}let Rs=(()=>{class re{static#e=this.\u0275prov=(0,i.Yz7)({token:re,providedIn:"root",factory:()=>new Mr((0,i.LFG)(C),window)})}return re})();class Mr{constructor(qe,Te){this.document=qe,this.window=Te,this.offset=()=>[0,0]}setOffset(qe){this.offset=Array.isArray(qe)?()=>qe:qe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(qe){this.supportsScrolling()&&this.window.scrollTo(qe[0],qe[1])}scrollToAnchor(qe){if(!this.supportsScrolling())return;const Te=function Zr(re,qe){const Te=re.getElementById(qe)||re.getElementsByName(qe)[0];if(Te)return Te;if("function"==typeof re.createTreeWalker&&re.body&&"function"==typeof re.body.attachShadow){const We=re.createTreeWalker(re.body,NodeFilter.SHOW_ELEMENT);let Ut=We.currentNode;for(;Ut;){const Ln=Ut.shadowRoot;if(Ln){const Hn=Ln.getElementById(qe)||Ln.querySelector(`[name="${qe}"]`);if(Hn)return Hn}Ut=We.nextNode()}}return null}(this.document,qe);Te&&(this.scrollToElement(Te),Te.focus())}setHistoryScrollRestoration(qe){this.supportsScrolling()&&(this.window.history.scrollRestoration=qe)}scrollToElement(qe){const Te=qe.getBoundingClientRect(),We=Te.left+this.window.pageXOffset,Ut=Te.top+this.window.pageYOffset,Ln=this.offset();this.window.scrollTo(We-Ln[0],Ut-Ln[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class uo{}},2939:(lt,_e,m)=>{"use strict";m.d(_e,{JF:()=>Bt,UA:()=>Nt,YS:()=>Dr,eN:()=>nt});var i=m(755),t=m(1209),A=m(3489),a=m(8132),y=m(109),C=m(5333),b=m(2425),F=m(6293),j=m(4787),N=m(6733);class x{}class H{}class k{constructor(Ae){this.normalizedNames=new Map,this.lazyUpdate=null,Ae?"string"==typeof Ae?this.lazyInit=()=>{this.headers=new Map,Ae.split("\n").forEach(it=>{const Ht=it.indexOf(":");if(Ht>0){const Kt=it.slice(0,Ht),yn=Kt.toLowerCase(),Tn=it.slice(Ht+1).trim();this.maybeSetNormalizedName(Kt,yn),this.headers.has(yn)?this.headers.get(yn).push(Tn):this.headers.set(yn,[Tn])}})}:typeof Headers<"u"&&Ae instanceof Headers?(this.headers=new Map,Ae.forEach((it,Ht)=>{this.setHeaderEntries(Ht,it)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ae).forEach(([it,Ht])=>{this.setHeaderEntries(it,Ht)})}:this.headers=new Map}has(Ae){return this.init(),this.headers.has(Ae.toLowerCase())}get(Ae){this.init();const it=this.headers.get(Ae.toLowerCase());return it&&it.length>0?it[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ae){return this.init(),this.headers.get(Ae.toLowerCase())||null}append(Ae,it){return this.clone({name:Ae,value:it,op:"a"})}set(Ae,it){return this.clone({name:Ae,value:it,op:"s"})}delete(Ae,it){return this.clone({name:Ae,value:it,op:"d"})}maybeSetNormalizedName(Ae,it){this.normalizedNames.has(it)||this.normalizedNames.set(it,Ae)}init(){this.lazyInit&&(this.lazyInit instanceof k?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ae=>this.applyUpdate(Ae)),this.lazyUpdate=null))}copyFrom(Ae){Ae.init(),Array.from(Ae.headers.keys()).forEach(it=>{this.headers.set(it,Ae.headers.get(it)),this.normalizedNames.set(it,Ae.normalizedNames.get(it))})}clone(Ae){const it=new k;return it.lazyInit=this.lazyInit&&this.lazyInit instanceof k?this.lazyInit:this,it.lazyUpdate=(this.lazyUpdate||[]).concat([Ae]),it}applyUpdate(Ae){const it=Ae.name.toLowerCase();switch(Ae.op){case"a":case"s":let Ht=Ae.value;if("string"==typeof Ht&&(Ht=[Ht]),0===Ht.length)return;this.maybeSetNormalizedName(Ae.name,it);const Kt=("a"===Ae.op?this.headers.get(it):void 0)||[];Kt.push(...Ht),this.headers.set(it,Kt);break;case"d":const yn=Ae.value;if(yn){let Tn=this.headers.get(it);if(!Tn)return;Tn=Tn.filter(pi=>-1===yn.indexOf(pi)),0===Tn.length?(this.headers.delete(it),this.normalizedNames.delete(it)):this.headers.set(it,Tn)}else this.headers.delete(it),this.normalizedNames.delete(it)}}setHeaderEntries(Ae,it){const Ht=(Array.isArray(it)?it:[it]).map(yn=>yn.toString()),Kt=Ae.toLowerCase();this.headers.set(Kt,Ht),this.maybeSetNormalizedName(Ae,Kt)}forEach(Ae){this.init(),Array.from(this.normalizedNames.keys()).forEach(it=>Ae(this.normalizedNames.get(it),this.headers.get(it)))}}class X{encodeKey(Ae){return wt(Ae)}encodeValue(Ae){return wt(Ae)}decodeKey(Ae){return decodeURIComponent(Ae)}decodeValue(Ae){return decodeURIComponent(Ae)}}const Oe=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wt(ge){return encodeURIComponent(ge).replace(Oe,(Ae,it)=>Se[it]??Ae)}function K(ge){return`${ge}`}class V{constructor(Ae={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ae.encoder||new X,Ae.fromString){if(Ae.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function me(ge,Ae){const it=new Map;return ge.length>0&&ge.replace(/^\?/,"").split("&").forEach(Kt=>{const yn=Kt.indexOf("="),[Tn,pi]=-1==yn?[Ae.decodeKey(Kt),""]:[Ae.decodeKey(Kt.slice(0,yn)),Ae.decodeValue(Kt.slice(yn+1))],nn=it.get(Tn)||[];nn.push(pi),it.set(Tn,nn)}),it}(Ae.fromString,this.encoder)}else Ae.fromObject?(this.map=new Map,Object.keys(Ae.fromObject).forEach(it=>{const Ht=Ae.fromObject[it],Kt=Array.isArray(Ht)?Ht.map(K):[K(Ht)];this.map.set(it,Kt)})):this.map=null}has(Ae){return this.init(),this.map.has(Ae)}get(Ae){this.init();const it=this.map.get(Ae);return it?it[0]:null}getAll(Ae){return this.init(),this.map.get(Ae)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ae,it){return this.clone({param:Ae,value:it,op:"a"})}appendAll(Ae){const it=[];return Object.keys(Ae).forEach(Ht=>{const Kt=Ae[Ht];Array.isArray(Kt)?Kt.forEach(yn=>{it.push({param:Ht,value:yn,op:"a"})}):it.push({param:Ht,value:Kt,op:"a"})}),this.clone(it)}set(Ae,it){return this.clone({param:Ae,value:it,op:"s"})}delete(Ae,it){return this.clone({param:Ae,value:it,op:"d"})}toString(){return this.init(),this.keys().map(Ae=>{const it=this.encoder.encodeKey(Ae);return this.map.get(Ae).map(Ht=>it+"="+this.encoder.encodeValue(Ht)).join("&")}).filter(Ae=>""!==Ae).join("&")}clone(Ae){const it=new V({encoder:this.encoder});return it.cloneFrom=this.cloneFrom||this,it.updates=(this.updates||[]).concat(Ae),it}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ae=>this.map.set(Ae,this.cloneFrom.map.get(Ae))),this.updates.forEach(Ae=>{switch(Ae.op){case"a":case"s":const it=("a"===Ae.op?this.map.get(Ae.param):void 0)||[];it.push(K(Ae.value)),this.map.set(Ae.param,it);break;case"d":if(void 0===Ae.value){this.map.delete(Ae.param);break}{let Ht=this.map.get(Ae.param)||[];const Kt=Ht.indexOf(K(Ae.value));-1!==Kt&&Ht.splice(Kt,1),Ht.length>0?this.map.set(Ae.param,Ht):this.map.delete(Ae.param)}}}),this.cloneFrom=this.updates=null)}}class ae{constructor(){this.map=new Map}set(Ae,it){return this.map.set(Ae,it),this}get(Ae){return this.map.has(Ae)||this.map.set(Ae,Ae.defaultValue()),this.map.get(Ae)}delete(Ae){return this.map.delete(Ae),this}has(Ae){return this.map.has(Ae)}keys(){return this.map.keys()}}function ye(ge){return typeof ArrayBuffer<"u"&&ge instanceof ArrayBuffer}function Ee(ge){return typeof Blob<"u"&&ge instanceof Blob}function Ge(ge){return typeof FormData<"u"&&ge instanceof FormData}class Ze{constructor(Ae,it,Ht,Kt){let yn;if(this.url=it,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ae.toUpperCase(),function oe(ge){switch(ge){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Kt?(this.body=void 0!==Ht?Ht:null,yn=Kt):yn=Ht,yn&&(this.reportProgress=!!yn.reportProgress,this.withCredentials=!!yn.withCredentials,yn.responseType&&(this.responseType=yn.responseType),yn.headers&&(this.headers=yn.headers),yn.context&&(this.context=yn.context),yn.params&&(this.params=yn.params)),this.headers||(this.headers=new k),this.context||(this.context=new ae),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=it;else{const pi=it.indexOf("?");this.urlWithParams=it+(-1===pi?"?":piHr.set(ss,Ae.setHeaders[ss]),nn)),Ae.setParams&&(Ti=Object.keys(Ae.setParams).reduce((Hr,ss)=>Hr.set(ss,Ae.setParams[ss]),Ti)),new Ze(it,Ht,yn,{params:Ti,headers:nn,context:yi,reportProgress:pi,responseType:Kt,withCredentials:Tn})}}var Je=function(ge){return ge[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge}(Je||{});class tt{constructor(Ae,it=200,Ht="OK"){this.headers=Ae.headers||new k,this.status=void 0!==Ae.status?Ae.status:it,this.statusText=Ae.statusText||Ht,this.url=Ae.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends tt{constructor(Ae={}){super(Ae),this.type=Je.ResponseHeader}clone(Ae={}){return new Qe({headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class pt extends tt{constructor(Ae={}){super(Ae),this.type=Je.Response,this.body=void 0!==Ae.body?Ae.body:null}clone(Ae={}){return new pt({body:void 0!==Ae.body?Ae.body:this.body,headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class Nt extends tt{constructor(Ae){super(Ae,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ae.url||"(unknown url)"}`:`Http failure response for ${Ae.url||"(unknown url)"}: ${Ae.status} ${Ae.statusText}`,this.error=Ae.error||null}}function Jt(ge,Ae){return{body:Ae,headers:ge.headers,context:ge.context,observe:ge.observe,params:ge.params,reportProgress:ge.reportProgress,responseType:ge.responseType,withCredentials:ge.withCredentials}}let nt=(()=>{class ge{constructor(it){this.handler=it}request(it,Ht,Kt={}){let yn;if(it instanceof Ze)yn=it;else{let nn,Ti;nn=Kt.headers instanceof k?Kt.headers:new k(Kt.headers),Kt.params&&(Ti=Kt.params instanceof V?Kt.params:new V({fromObject:Kt.params})),yn=new Ze(it,Ht,void 0!==Kt.body?Kt.body:null,{headers:nn,context:Kt.context,params:Ti,reportProgress:Kt.reportProgress,responseType:Kt.responseType||"json",withCredentials:Kt.withCredentials})}const Tn=(0,t.of)(yn).pipe((0,y.b)(nn=>this.handler.handle(nn)));if(it instanceof Ze||"events"===Kt.observe)return Tn;const pi=Tn.pipe((0,C.h)(nn=>nn instanceof pt));switch(Kt.observe||"body"){case"body":switch(yn.responseType){case"arraybuffer":return pi.pipe((0,b.U)(nn=>{if(null!==nn.body&&!(nn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return nn.body}));case"blob":return pi.pipe((0,b.U)(nn=>{if(null!==nn.body&&!(nn.body instanceof Blob))throw new Error("Response is not a Blob.");return nn.body}));case"text":return pi.pipe((0,b.U)(nn=>{if(null!==nn.body&&"string"!=typeof nn.body)throw new Error("Response is not a string.");return nn.body}));default:return pi.pipe((0,b.U)(nn=>nn.body))}case"response":return pi;default:throw new Error(`Unreachable: unhandled observe type ${Kt.observe}}`)}}delete(it,Ht={}){return this.request("DELETE",it,Ht)}get(it,Ht={}){return this.request("GET",it,Ht)}head(it,Ht={}){return this.request("HEAD",it,Ht)}jsonp(it,Ht){return this.request("JSONP",it,{params:(new V).append(Ht,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(it,Ht={}){return this.request("OPTIONS",it,Ht)}patch(it,Ht,Kt={}){return this.request("PATCH",it,Jt(Kt,Ht))}post(it,Ht,Kt={}){return this.request("POST",it,Jt(Kt,Ht))}put(it,Ht,Kt={}){return this.request("PUT",it,Jt(Kt,Ht))}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(x))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();function Fn(ge,Ae){return Ae(ge)}function xn(ge,Ae){return(it,Ht)=>Ae.intercept(it,{handle:Kt=>ge(Kt,Ht)})}const dn=new i.OlP(""),qn=new i.OlP(""),di=new i.OlP("");function ir(){let ge=null;return(Ae,it)=>{null===ge&&(ge=((0,i.f3M)(dn,{optional:!0})??[]).reduceRight(xn,Fn));const Ht=(0,i.f3M)(i.HDt),Kt=Ht.add();return ge(Ae,it).pipe((0,F.x)(()=>Ht.remove(Kt)))}}let Bn=(()=>{class ge extends x{constructor(it,Ht){super(),this.backend=it,this.injector=Ht,this.chain=null,this.pendingTasks=(0,i.f3M)(i.HDt)}handle(it){if(null===this.chain){const Kt=Array.from(new Set([...this.injector.get(qn),...this.injector.get(di,[])]));this.chain=Kt.reduceRight((yn,Tn)=>function In(ge,Ae,it){return(Ht,Kt)=>it.runInContext(()=>Ae(Ht,yn=>ge(yn,Kt)))}(yn,Tn,this.injector),Fn)}const Ht=this.pendingTasks.add();return this.chain(it,Kt=>this.backend.handle(Kt)).pipe((0,F.x)(()=>this.pendingTasks.remove(Ht)))}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(H),i.LFG(i.lqb))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const An=/^\)\]\}',?\n/;let Qt=(()=>{class ge{constructor(it){this.xhrFactory=it}handle(it){if("JSONP"===it.method)throw new i.vHH(-2800,!1);const Ht=this.xhrFactory;return(Ht.\u0275loadImpl?(0,A.D)(Ht.\u0275loadImpl()):(0,t.of)(null)).pipe((0,j.w)(()=>new a.y(yn=>{const Tn=Ht.build();if(Tn.open(it.method,it.urlWithParams),it.withCredentials&&(Tn.withCredentials=!0),it.headers.forEach((yr,jr)=>Tn.setRequestHeader(yr,jr.join(","))),it.headers.has("Accept")||Tn.setRequestHeader("Accept","application/json, text/plain, */*"),!it.headers.has("Content-Type")){const yr=it.detectContentTypeHeader();null!==yr&&Tn.setRequestHeader("Content-Type",yr)}if(it.responseType){const yr=it.responseType.toLowerCase();Tn.responseType="json"!==yr?yr:"text"}const pi=it.serializeBody();let nn=null;const Ti=()=>{if(null!==nn)return nn;const yr=Tn.statusText||"OK",jr=new k(Tn.getAllResponseHeaders()),xs=function gs(ge){return"responseURL"in ge&&ge.responseURL?ge.responseURL:/^X-Request-URL:/m.test(ge.getAllResponseHeaders())?ge.getResponseHeader("X-Request-URL"):null}(Tn)||it.url;return nn=new Qe({headers:jr,status:Tn.status,statusText:yr,url:xs}),nn},yi=()=>{let{headers:yr,status:jr,statusText:xs,url:Co}=Ti(),ns=null;204!==jr&&(ns=typeof Tn.response>"u"?Tn.responseText:Tn.response),0===jr&&(jr=ns?200:0);let Nr=jr>=200&&jr<300;if("json"===it.responseType&&"string"==typeof ns){const To=ns;ns=ns.replace(An,"");try{ns=""!==ns?JSON.parse(ns):null}catch(Bs){ns=To,Nr&&(Nr=!1,ns={error:Bs,text:ns})}}Nr?(yn.next(new pt({body:ns,headers:yr,status:jr,statusText:xs,url:Co||void 0})),yn.complete()):yn.error(new Nt({error:ns,headers:yr,status:jr,statusText:xs,url:Co||void 0}))},Hr=yr=>{const{url:jr}=Ti(),xs=new Nt({error:yr,status:Tn.status||0,statusText:Tn.statusText||"Unknown Error",url:jr||void 0});yn.error(xs)};let ss=!1;const wr=yr=>{ss||(yn.next(Ti()),ss=!0);let jr={type:Je.DownloadProgress,loaded:yr.loaded};yr.lengthComputable&&(jr.total=yr.total),"text"===it.responseType&&Tn.responseText&&(jr.partialText=Tn.responseText),yn.next(jr)},Ki=yr=>{let jr={type:Je.UploadProgress,loaded:yr.loaded};yr.lengthComputable&&(jr.total=yr.total),yn.next(jr)};return Tn.addEventListener("load",yi),Tn.addEventListener("error",Hr),Tn.addEventListener("timeout",Hr),Tn.addEventListener("abort",Hr),it.reportProgress&&(Tn.addEventListener("progress",wr),null!==pi&&Tn.upload&&Tn.upload.addEventListener("progress",Ki)),Tn.send(pi),yn.next({type:Je.Sent}),()=>{Tn.removeEventListener("error",Hr),Tn.removeEventListener("abort",Hr),Tn.removeEventListener("load",yi),Tn.removeEventListener("timeout",Hr),it.reportProgress&&(Tn.removeEventListener("progress",wr),null!==pi&&Tn.upload&&Tn.upload.removeEventListener("progress",Ki)),Tn.readyState!==Tn.DONE&&Tn.abort()}})))}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(N.JF))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const ki=new i.OlP("XSRF_ENABLED"),Pi=new i.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Or=new i.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Dr{}let bs=(()=>{class ge{constructor(it,Ht,Kt){this.doc=it,this.platform=Ht,this.cookieName=Kt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const it=this.doc.cookie||"";return it!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,N.Mx)(it,this.cookieName),this.lastCookieString=it),this.lastToken}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(N.K0),i.LFG(i.Lbi),i.LFG(Pi))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();function Do(ge,Ae){const it=ge.url.toLowerCase();if(!(0,i.f3M)(ki)||"GET"===ge.method||"HEAD"===ge.method||it.startsWith("http://")||it.startsWith("https://"))return Ae(ge);const Ht=(0,i.f3M)(Dr).getToken(),Kt=(0,i.f3M)(Or);return null!=Ht&&!ge.headers.has(Kt)&&(ge=ge.clone({headers:ge.headers.set(Kt,Ht)})),Ae(ge)}var Ls=function(ge){return ge[ge.Interceptors=0]="Interceptors",ge[ge.LegacyInterceptors=1]="LegacyInterceptors",ge[ge.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ge[ge.NoXsrfProtection=3]="NoXsrfProtection",ge[ge.JsonpSupport=4]="JsonpSupport",ge[ge.RequestsMadeViaParent=5]="RequestsMadeViaParent",ge[ge.Fetch=6]="Fetch",ge}(Ls||{});function mr(...ge){const Ae=[nt,Qt,Bn,{provide:x,useExisting:Bn},{provide:H,useExisting:Qt},{provide:qn,useValue:Do,multi:!0},{provide:ki,useValue:!0},{provide:Dr,useClass:bs}];for(const it of ge)Ae.push(...it.\u0275providers);return(0,i.MR2)(Ae)}const ln=new i.OlP("LEGACY_INTERCEPTOR_FN");function Yt(){return function On(ge,Ae){return{\u0275kind:ge,\u0275providers:Ae}}(Ls.LegacyInterceptors,[{provide:ln,useFactory:ir},{provide:qn,useExisting:ln,multi:!0}])}let Bt=(()=>{class ge{static#e=this.\u0275fac=function(Ht){return new(Ht||ge)};static#t=this.\u0275mod=i.oAB({type:ge});static#n=this.\u0275inj=i.cJS({providers:[mr(Yt())]})}return ge})()},755:(lt,_e,m)=>{"use strict";m.d(_e,{$8M:()=>dd,$WT:()=>ds,$Z:()=>im,AFp:()=>s_,ALo:()=>cy,AaK:()=>H,Akn:()=>ad,AsE:()=>cv,B6R:()=>Fo,BQk:()=>J_,CHM:()=>Ic,CRH:()=>Ty,Ckj:()=>Qm,DdM:()=>XI,DyG:()=>Hu,EJc:()=>zx,EiD:()=>Jm,EpF:()=>XC,F$t:()=>nv,F4k:()=>qC,FYo:()=>jp,FiY:()=>Rd,Flj:()=>Lc,G48:()=>ET,Gf:()=>by,GfV:()=>Dg,GkF:()=>Q_,Gpc:()=>X,Gre:()=>bA,HDt:()=>$y,HOy:()=>uv,Hsn:()=>dA,JOm:()=>yh,JVY:()=>k0,JZr:()=>K,KtG:()=>Ul,L6k:()=>vg,LAX:()=>yv,LFG:()=>Ri,LSH:()=>yp,Lbi:()=>Lp,Lck:()=>Pb,MAs:()=>eA,MGl:()=>Jh,MMx:()=>VI,MR2:()=>Xd,NdJ:()=>ev,O4$:()=>Xt,Ojb:()=>K0,OlP:()=>Pi,Oqu:()=>Mm,P3R:()=>bp,PXZ:()=>CT,Q6J:()=>QC,QGY:()=>X_,QbO:()=>$0,Qsj:()=>oC,R0b:()=>_c,RDi:()=>E0,Rgc:()=>_v,SBq:()=>Mf,Sil:()=>Zx,Suo:()=>xy,TTD:()=>zr,TgZ:()=>Am,Tol:()=>av,Udp:()=>r0,VKq:()=>qI,VuI:()=>eE,W1O:()=>Dy,WLB:()=>ey,XFs:()=>Ye,Xpm:()=>So,Xq5:()=>Hv,Xts:()=>Qd,Y36:()=>th,YKP:()=>jI,YNc:()=>Qv,Yjl:()=>er,Yz7:()=>dn,Z0I:()=>Bn,ZZ4:()=>TI,_Bn:()=>HI,_UZ:()=>K_,_Vd:()=>wf,_c5:()=>jT,_uU:()=>lv,aQg:()=>EI,c2e:()=>Gy,cEC:()=>ce,cJS:()=>di,cg1:()=>kt,dDg:()=>gT,dqk:()=>Qt,eBb:()=>Wm,eFA:()=>rb,eJc:()=>cI,ekj:()=>xm,eoX:()=>eb,evT:()=>xd,f3M:()=>mn,g9A:()=>o_,gL8:()=>dv,h0i:()=>Lm,hGG:()=>zT,hYB:()=>wa,hij:()=>Dm,iGM:()=>yy,ifc:()=>Tn,ip1:()=>Zy,jDz:()=>WI,kEZ:()=>ty,kL8:()=>Un,l5B:()=>ny,lG2:()=>Wa,lcZ:()=>uy,lnq:()=>d0,lqb:()=>Ou,lri:()=>Xy,mCW:()=>Ag,n5z:()=>zf,oAB:()=>_s,oJD:()=>Ip,oxw:()=>uA,pB0:()=>O0,q3G:()=>Jd,qFp:()=>nE,qLn:()=>bd,qOj:()=>Ed,qZA:()=>Im,qoO:()=>hv,qzn:()=>Eh,rFY:()=>iy,rWj:()=>qy,rg0:()=>Ln,s9C:()=>iv,sBO:()=>wT,s_b:()=>PA,soG:()=>NA,tb:()=>vI,tdS:()=>Wr,tp0:()=>Nd,uIk:()=>ZC,vHH:()=>V,vpe:()=>nu,wAp:()=>Nn,xp6:()=>M_,ynx:()=>ym,z2F:()=>C0,z3N:()=>qu,zSh:()=>Dp,zs3:()=>fu});var i=m(8748),t=m(902),A=m(8132),a=m(5047),y=m(6424),C=m(1209),b=m(8557),F=m(4787),j=m(8004);function N(n){for(let o in n)if(n[o]===N)return o;throw Error("Could not find renamed property on target object.")}function x(n,o){for(const l in o)o.hasOwnProperty(l)&&!n.hasOwnProperty(l)&&(n[l]=o[l])}function H(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(H).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const o=n.toString();if(null==o)return""+o;const l=o.indexOf("\n");return-1===l?o:o.substring(0,l)}function k(n,o){return null==n||""===n?null===o?"":o:null==o||""===o?n:n+" "+o}const P=N({__forward_ref__:N});function X(n){return n.__forward_ref__=X,n.toString=function(){return H(this())},n}function me(n){return Oe(n)?n():n}function Oe(n){return"function"==typeof n&&n.hasOwnProperty(P)&&n.__forward_ref__===X}function Se(n){return n&&!!n.\u0275providers}const K="https://g.co/ng/security#xss";class V extends Error{constructor(o,l){super(function J(n,o){return`NG0${Math.abs(n)}${o?": "+o:""}`}(o,l)),this.code=o}}function ae(n){return"string"==typeof n?n:null==n?"":String(n)}function gt(n,o){throw new V(-201,!1)}function hn(n,o){null==n&&function yt(n,o,l,g){throw new Error(`ASSERTION ERROR: ${n}`+(null==g?"":` [Expected=> ${l} ${g} ${o} <=Actual]`))}(o,n,null,"!=")}function dn(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function di(n){return{providers:n.providers||[],imports:n.imports||[]}}function ir(n){return xi(n,Ot)||xi(n,De)}function Bn(n){return null!==ir(n)}function xi(n,o){return n.hasOwnProperty(o)?n[o]:null}function Mt(n){return n&&(n.hasOwnProperty(ve)||n.hasOwnProperty(xe))?n[ve]:null}const Ot=N({\u0275prov:N}),ve=N({\u0275inj:N}),De=N({ngInjectableDef:N}),xe=N({ngInjectorDef:N});var Ye=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(Ye||{});let xt;function cn(){return xt}function Kn(n){const o=xt;return xt=n,o}function An(n,o,l){const g=ir(n);return g&&"root"==g.providedIn?void 0===g.value?g.value=g.factory():g.value:l&Ye.Optional?null:void 0!==o?o:void gt(H(n))}const Qt=globalThis;class Pi{constructor(o,l){this._desc=o,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof l?this.__NG_ELEMENT_ID__=l:void 0!==l&&(this.\u0275prov=dn({token:this,providedIn:l.providedIn||"root",factory:l.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Yt={},li="__NG_DI_FLAG__",Qr="ngTempTokenPath",Pn=/\n/gm,Rt="__source";let Bt;function mi(n){const o=Bt;return Bt=n,o}function rr(n,o=Ye.Default){if(void 0===Bt)throw new V(-203,!1);return null===Bt?An(n,void 0,o):Bt.get(n,o&Ye.Optional?null:void 0,o)}function Ri(n,o=Ye.Default){return(cn()||rr)(me(n),o)}function mn(n,o=Ye.Default){return Ri(n,Xe(o))}function Xe(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function ke(n){const o=[];for(let l=0;lo){G=S-1;break}}}for(;SS?"":I[Ft+1].toLowerCase();const Dn=8&g?vn:null;if(Dn&&-1!==jr(Dn,Le,0)||2&g&&Le!==vn){if(Ds(g))return!1;G=!0}}}}else{if(!G&&!Ds(g)&&!Ds(fe))return!1;if(G&&Ds(fe))continue;G=!1,g=fe|1&g}}return Ds(g)||G}function Ds(n){return 0==(1&n)}function St(n,o,l,g){if(null===o)return-1;let I=0;if(g||!l){let S=!1;for(;I-1)for(l++;l0?'="'+ie+'"':"")+"]"}else 8&g?I+="."+G:4&g&&(I+=" "+G);else""!==I&&!Ds(G)&&(o+=Ui(S,I),I=""),g=G,S=S||!Ds(g);l++}return""!==I&&(o+=Ui(S,I)),o}function So(n){return Kt(()=>{const o=gl(n),l={...o,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===yn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Tn.Emulated,styles:n.styles||nn,_:null,schemas:n.schemas||null,tView:null,id:""};ha(l);const g=n.dependencies;return l.directiveDefs=as(g,!1),l.pipeDefs=as(g,!0),l.id=function Ma(n){let o=0;const l=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const I of l)o=Math.imul(31,o)+I.charCodeAt(0)<<0;return o+=2147483648,"c"+o}(l),l})}function Fo(n,o,l){const g=n.\u0275cmp;g.directiveDefs=as(o,!1),g.pipeDefs=as(l,!0)}function Ks(n){return Cr(n)||Ss(n)}function na(n){return null!==n}function _s(n){return Kt(()=>({type:n.type,bootstrap:n.bootstrap||nn,declarations:n.declarations||nn,imports:n.imports||nn,exports:n.exports||nn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function da(n,o){if(null==n)return pi;const l={};for(const g in n)if(n.hasOwnProperty(g)){let I=n[g],S=I;Array.isArray(I)&&(S=I[1],I=I[0]),l[I]=g,o&&(o[I]=S)}return l}function Wa(n){return Kt(()=>{const o=gl(n);return ha(o),o})}function er(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Cr(n){return n[Ti]||null}function Ss(n){return n[yi]||null}function br(n){return n[Hr]||null}function ds(n){const o=Cr(n)||Ss(n)||br(n);return null!==o&&o.standalone}function Yo(n,o){const l=n[ss]||null;if(!l&&!0===o)throw new Error(`Type ${H(n)} does not have '\u0275mod' property.`);return l}function gl(n){const o={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:o,inputTransforms:null,inputConfig:n.inputs||pi,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||nn,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:da(n.inputs,o),outputs:da(n.outputs)}}function ha(n){n.features?.forEach(o=>o(n))}function as(n,o){if(!n)return null;const l=o?br:Ks;return()=>("function"==typeof n?n():n).map(g=>l(g)).filter(na)}const Fi=0,_i=1,dr=2,$r=3,Fr=4,Ho=5,no=6,Vr=7,os=8,$o=9,Ko=10,Rn=11,Mo=12,Aa=13,Xr=14,gr=15,Us=16,Rs=17,Mr=18,Zr=19,Ji=20,uo=21,Oo=22,Js=23,Ia=24,xr=25,Kl=1,vo=2,io=7,Pl=9,ho=11;function Lr(n){return Array.isArray(n)&&"object"==typeof n[Kl]}function Qs(n){return Array.isArray(n)&&!0===n[Kl]}function Hs(n){return 0!=(4&n.flags)}function Da(n){return n.componentOffset>-1}function Za(n){return 1==(1&n.flags)}function jo(n){return!!n.template}function Sa(n){return 0!=(512&n[dr])}function ga(n,o){return n.hasOwnProperty(wr)?n[wr]:null}const Ts=Symbol("SIGNAL");function kc(n,o){return(null===n||"object"!=typeof n)&&Object.is(n,o)}let Cs=null,Rl=!1;function pa(n){const o=Cs;return Cs=n,o}const ba={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Jl(n){if(Rl)throw new Error("");if(null===Cs)return;const o=Cs.nextProducerIndex++;Cl(Cs),on.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function ai(n){Cl(n);for(let o=0;o0}function Cl(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function Ao(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function Lc(n,o){const l=Object.create(vl);l.computation=n,o?.equal&&(l.equal=o.equal);const g=()=>{if(Fa(l),Jl(l),l.value===hs)throw l.error;return l.value};return g[Ts]=l,g}const ol=Symbol("UNSET"),Xo=Symbol("COMPUTING"),hs=Symbol("ERRORED"),vl=(()=>({...ba,value:ol,dirty:!0,error:null,equal:kc,producerMustRecompute:n=>n.value===ol||n.value===Xo,producerRecomputeValue(n){if(n.value===Xo)throw new Error("Detected cycle in computations.");const o=n.value;n.value=Xo;const l=Ga(n);let g;try{g=n.computation()}catch(I){g=hs,n.error=I}finally{ra(n,l)}o!==ol&&o!==hs&&g!==hs&&n.equal(o,g)?n.value=o:(n.value=g,n.version++)}}))();let qo=function al(){throw new Error};function Io(){qo()}let zo=null;function Wr(n,o){const l=Object.create(Ql);function g(){return Jl(l),l.value}return l.value=n,o?.equal&&(l.equal=o.equal),g.set=qe,g.update=Te,g.mutate=We,g.asReadonly=Ut,g[Ts]=l,g}const Ql=(()=>({...ba,equal:kc,readonlyFn:void 0}))();function re(n){n.version++,so(n),zo?.()}function qe(n){const o=this[Ts];Vs()||Io(),o.equal(o.value,n)||(o.value=n,re(o))}function Te(n){Vs()||Io(),qe.call(this,n(this[Ts].value))}function We(n){const o=this[Ts];Vs()||Io(),n(o.value),re(o)}function Ut(){const n=this[Ts];if(void 0===n.readonlyFn){const o=()=>this();o[Ts]=n,n.readonlyFn=o}return n.readonlyFn}function Ln(n){const o=pa(null);try{return n()}finally{pa(o)}}const Si=()=>{},ps=(()=>({...ba,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule(n.ref)},hasRun:!1,cleanupFn:Si}))();class ls{constructor(o,l,g){this.previousValue=o,this.currentValue=l,this.firstChange=g}isFirstChange(){return this.firstChange}}function zr(){return Ws}function Ws(n){return n.type.prototype.ngOnChanges&&(n.setInput=rs),ks}function ks(){const n=Zs(this),o=n?.current;if(o){const l=n.previous;if(l===pi)n.previous=o;else for(let g in o)l[g]=o[g];n.current=null,this.ngOnChanges(o)}}function rs(n,o,l,g){const I=this.declaredInputs[l],S=Zs(n)||function xa(n,o){return n[ea]=o}(n,{previous:pi,current:null}),G=S.current||(S.current={}),ie=S.previous,fe=ie[I];G[I]=new ls(fe&&fe.currentValue,o,ie===pi),n[g]=o}zr.ngInherit=!0;const ea="__ngSimpleChanges__";function Zs(n){return n[ea]||null}const fo=function(n,o,l){},za="svg";function Es(n){for(;Array.isArray(n);)n=n[Fi];return n}function Ka(n,o){return Es(o[n])}function go(n,o){return Es(o[n.index])}function Ba(n,o){return n.data[o]}function po(n,o){return n[o]}function yo(n,o){const l=o[n];return Lr(l)?l:l[Fi]}function _a(n,o){return null==o?null:n[o]}function cc(n){n[Rs]=0}function Hc(n){1024&n[dr]||(n[dr]|=1024,uc(n,1))}function Pc(n){1024&n[dr]&&(n[dr]&=-1025,uc(n,-1))}function uc(n,o){let l=n[$r];if(null===l)return;l[Ho]+=o;let g=l;for(l=l[$r];null!==l&&(1===o&&1===g[Ho]||-1===o&&0===g[Ho]);)l[Ho]+=o,g=l,l=l[$r]}function ql(n,o){if(256==(256&n[dr]))throw new V(911,!1);null===n[uo]&&(n[uo]=[]),n[uo].push(o)}const cr={lFrame:et(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zc(){return cr.bindingsEnabled}function El(){return null!==cr.skipHydrationRootTNode}function ii(){return cr.lFrame.lView}function es(){return cr.lFrame.tView}function Ic(n){return cr.lFrame.contextLView=n,n[os]}function Ul(n){return cr.lFrame.contextLView=null,n}function Ta(){let n=Rc();for(;null!==n&&64===n.type;)n=n.parent;return n}function Rc(){return cr.lFrame.currentTNode}function Oa(n,o){const l=cr.lFrame;l.currentTNode=n,l.isParent=o}function Ea(){return cr.lFrame.isParent}function wl(){cr.lFrame.isParent=!1}function sa(){const n=cr.lFrame;let o=n.bindingRootIndex;return-1===o&&(o=n.bindingRootIndex=n.tView.bindingStartIndex),o}function Qa(){return cr.lFrame.bindingIndex}function Kr(n){return cr.lFrame.bindingIndex=n}function oo(){return cr.lFrame.bindingIndex++}function Ua(n){const o=cr.lFrame,l=o.bindingIndex;return o.bindingIndex=o.bindingIndex+n,l}function jt(n,o){const l=cr.lFrame;l.bindingIndex=l.bindingRootIndex=n,Ue(o)}function Ue(n){cr.lFrame.currentDirectiveIndex=n}function E(){return cr.lFrame.currentQueryIndex}function v(n){cr.lFrame.currentQueryIndex=n}function M(n){const o=n[_i];return 2===o.type?o.declTNode:1===o.type?n[no]:null}function W(n,o,l){if(l&Ye.SkipSelf){let I=o,S=n;for(;!(I=I.parent,null!==I||l&Ye.Host||(I=M(S),null===I||(S=S[Xr],10&I.type))););if(null===I)return!1;o=I,n=S}const g=cr.lFrame=be();return g.currentTNode=o,g.lView=n,!0}function ue(n){const o=be(),l=n[_i];cr.lFrame=o,o.currentTNode=l.firstChild,o.lView=n,o.tView=l,o.contextLView=n,o.bindingIndex=l.bindingStartIndex,o.inI18n=!1}function be(){const n=cr.lFrame,o=null===n?null:n.child;return null===o?et(n):o}function et(n){const o={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=o),o}function q(){const n=cr.lFrame;return cr.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const U=q;function Y(){const n=q();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 Ve(){return cr.lFrame.selectedIndex}function bt(n){cr.lFrame.selectedIndex=n}function It(){const n=cr.lFrame;return Ba(n.tView,n.selectedIndex)}function Xt(){cr.lFrame.currentNamespace=za}let Hi=!0;function hi(){return Hi}function wi(n){Hi=n}function sr(n,o){for(let l=o.directiveStart,g=o.directiveEnd;l=g)break}else o[fe]<0&&(n[Rs]+=65536),(ie>13>16&&(3&n[dr])===o&&(n[dr]+=8192,Wo(ie,S)):Wo(ie,S)}const Zo=-1;class Ns{constructor(o,l,g){this.factory=o,this.resolving=!1,this.canSeeViewProviders=l,this.injectImpl=g}}function kr(n){return n!==Zo}function Jr(n){return 32767&n}function oa(n,o){let l=function Go(n){return n>>16}(n),g=o;for(;l>0;)g=g[Xr],l--;return g}let Hl=!0;function vs(n){const o=Hl;return Hl=n,o}const aa=255,jl=5;let cl=0;const qa={};function Dl(n,o){const l=yc(n,o);if(-1!==l)return l;const g=o[_i];g.firstCreatePass&&(n.injectorIndex=o.length,sc(g.data,n),sc(o,null),sc(g.blueprint,null));const I=cs(n,o),S=n.injectorIndex;if(kr(I)){const G=Jr(I),ie=oa(I,o),fe=ie[_i].data;for(let Le=0;Le<8;Le++)o[S+Le]=ie[G+Le]|fe[G+Le]}return o[S+8]=I,S}function sc(n,o){n.push(0,0,0,0,0,0,0,0,o)}function yc(n,o){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===o[n.injectorIndex+8]?-1:n.injectorIndex}function cs(n,o){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let l=0,g=null,I=o;for(;null!==I;){if(g=Qh(I),null===g)return Zo;if(l++,I=I[Xr],-1!==g.injectorIndex)return g.injectorIndex|l<<16}return Zo}function R(n,o,l){!function zl(n,o,l){let g;"string"==typeof l?g=l.charCodeAt(0)||0:l.hasOwnProperty(Ki)&&(g=l[Ki]),null==g&&(g=l[Ki]=cl++);const I=g&aa;o.data[n+(I>>jl)]|=1<=0?o&aa:jf:o}(l);if("function"==typeof S){if(!W(o,n,g))return g&Ye.Host?Ie(I,0,g):Pe(o,l,g,I);try{let G;if(G=S(g),null!=G||g&Ye.Optional)return G;gt()}finally{U()}}else if("number"==typeof S){let G=null,ie=yc(n,o),fe=Zo,Le=g&Ye.Host?o[gr][no]:null;for((-1===ie||g&Ye.SkipSelf)&&(fe=-1===ie?cs(n,o):o[ie+8],fe!==Zo&&zc(g,!1)?(G=o[_i],ie=Jr(fe),o=oa(fe,o)):ie=-1);-1!==ie;){const ct=o[_i];if(Sl(S,ie,ct.data)){const Ft=Gn(ie,o,l,G,g,Le);if(Ft!==qa)return Ft}fe=o[ie+8],fe!==Zo&&zc(g,o[_i].data[ie+8]===Le)&&Sl(S,ie,o)?(G=ct,ie=Jr(fe),o=oa(fe,o)):ie=-1}}return I}function Gn(n,o,l,g,I,S){const G=o[_i],ie=G.data[n+8],ct=Vi(ie,G,l,null==g?Da(ie)&&Hl:g!=G&&0!=(3&ie.type),I&Ye.Host&&S===ie);return null!==ct?Pr(o,G,ct,ie):qa}function Vi(n,o,l,g,I){const S=n.providerIndexes,G=o.data,ie=1048575&S,fe=n.directiveStart,ct=S>>20,vn=I?ie+ct:n.directiveEnd;for(let Dn=g?ie:ie+ct;Dn=fe&&ci.type===l)return Dn}if(I){const Dn=G[fe];if(Dn&&jo(Dn)&&Dn.type===l)return fe}return null}function Pr(n,o,l,g){let I=n[l];const S=o.data;if(function Va(n){return n instanceof Ns}(I)){const G=I;G.resolving&&function ye(n,o){const l=o?`. Dependency path: ${o.join(" > ")} > ${n}`:"";throw new V(-200,`Circular dependency in DI detected for ${n}${l}`)}(function oe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():ae(n)}(S[l]));const ie=vs(G.canSeeViewProviders);G.resolving=!0;const Le=G.injectImpl?Kn(G.injectImpl):null;W(n,g,Ye.Default);try{I=n[l]=G.factory(void 0,S,n,g),o.firstCreatePass&&l>=g.directiveStart&&function Tr(n,o,l){const{ngOnChanges:g,ngOnInit:I,ngDoCheck:S}=o.type.prototype;if(g){const G=Ws(o);(l.preOrderHooks??=[]).push(n,G),(l.preOrderCheckHooks??=[]).push(n,G)}I&&(l.preOrderHooks??=[]).push(0-n,I),S&&((l.preOrderHooks??=[]).push(n,S),(l.preOrderCheckHooks??=[]).push(n,S))}(l,S[l],o)}finally{null!==Le&&Kn(Le),vs(ie),G.resolving=!1,U()}}return I}function Sl(n,o,l){return!!(l[o+(n>>jl)]&1<{const o=n.prototype.constructor,l=o[wr]||uh(o),g=Object.prototype;let I=Object.getPrototypeOf(n.prototype).constructor;for(;I&&I!==g;){const S=I[wr]||uh(I);if(S&&S!==l)return S;I=Object.getPrototypeOf(I)}return S=>new S})}function uh(n){return Oe(n)?()=>{const o=uh(me(n));return o&&o()}:ga(n)}function Qh(n){const o=n[_i],l=o.type;return 2===l?o.declTNode:1===l?n[no]:null}function dd(n){return function te(n,o){if("class"===o)return n.classes;if("style"===o)return n.styles;const l=n.attrs;if(l){const g=l.length;let I=0;for(;I{const g=function dh(n){return function(...l){if(n){const g=n(...l);for(const I in g)this[I]=g[I]}}}(o);function I(...S){if(this instanceof I)return g.apply(this,S),this;const G=new I(...S);return ie.annotation=G,ie;function ie(fe,Le,ct){const Ft=fe.hasOwnProperty(lu)?fe[lu]:Object.defineProperty(fe,lu,{value:[]})[lu];for(;Ft.length<=ct;)Ft.push(null);return(Ft[ct]=Ft[ct]||[]).push(G),fe}}return l&&(I.prototype=Object.create(l.prototype)),I.prototype.ngMetadataName=n,I.annotationCls=I,I})}const Hu=Function;function zu(n,o){n.forEach(l=>Array.isArray(l)?zu(l,o):o(l))}function $f(n,o,l){o>=n.length?n.push(l):n.splice(o,0,l)}function qh(n,o){return o>=n.length-1?n.pop():n.splice(o,1)[0]}function xu(n,o){const l=[];for(let g=0;g=0?n[1|g]=l:(g=~g,function Jf(n,o,l,g){let I=n.length;if(I==o)n.push(l,g);else if(1===I)n.push(g,n[0]),n[0]=l;else{for(I--,n.push(n[I-1],n[I]);I>o;)n[I]=n[I-2],I--;n[o]=l,n[o+1]=g}}(n,g,o,l)),g}function ef(n,o){const l=Pd(n,o);if(l>=0)return n[1|l]}function Pd(n,o){return function Qf(n,o,l){let g=0,I=n.length>>l;for(;I!==g;){const S=g+(I-g>>1),G=n[S<o?I=S:g=S+1}return~(I<|^->||--!>|)/g,fp="\u200b$1\u200b";const tu=new Map;let dg=0;const Ai="__ngContext__";function nr(n,o){Lr(o)?(n[Ai]=o[Zr],function Z(n){tu.set(n[Zr],n)}(o)):n[Ai]=o}let la;function ca(n,o){return la(n,o)}function ua(n){const o=n[$r];return Qs(o)?o[$r]:o}function tc(n){return gc(n[Mo])}function Tc(n){return gc(n[Fr])}function gc(n){for(;null!==n&&!Qs(n);)n=n[Fr];return n}function pc(n,o,l,g,I){if(null!=g){let S,G=!1;Qs(g)?S=g:Lr(g)&&(G=!0,g=g[Fi]);const ie=Es(g);0===n&&null!==l?null==I?mf(o,l,ie):Du(o,l,ie,I||null,!0):1===n&&null!==l?Du(o,l,ie,I||null,!0):2===n?function Su(n,o,l){const g=Qu(n,o);g&&function _f(n,o,l,g){n.removeChild(o,l,g)}(n,g,o,l)}(o,ie,G):3===n&&o.destroyNode(ie),null!=S&&function y0(n,o,l,g,I){const S=l[io];S!==Es(l)&&pc(o,n,g,S,I);for(let ie=ho;ieo.replace(gf,fp))}(o))}function Gu(n,o,l){return n.createElement(o,l)}function pu(n,o){const l=n[Pl],g=l.indexOf(o);Pc(o),l.splice(g,1)}function Mu(n,o){if(n.length<=ho)return;const l=ho+o,g=n[l];if(g){const I=g[Us];null!==I&&I!==n&&pu(I,g),o>0&&(n[l-1][Fr]=g[Fr]);const S=qh(n,ho+o);!function $u(n,o){fg(n,o,o[Rn],2,null,null),o[Fi]=null,o[no]=null}(g[_i],g);const G=S[Mr];null!==G&&G.detachView(S[_i]),g[$r]=null,g[Fr]=null,g[dr]&=-129}return g}function _d(n,o){if(!(256&o[dr])){const l=o[Rn];o[Js]&&Nl(o[Js]),o[Ia]&&Nl(o[Ia]),l.destroyNode&&fg(n,o,l,3,null,null),function zd(n){let o=n[Mo];if(!o)return mu(n[_i],n);for(;o;){let l=null;if(Lr(o))l=o[Mo];else{const g=o[ho];g&&(l=g)}if(!l){for(;o&&!o[Fr]&&o!==n;)Lr(o)&&mu(o[_i],o),o=o[$r];null===o&&(o=n),Lr(o)&&mu(o[_i],o),l=o&&o[Fr]}o=l}}(o)}}function mu(n,o){if(!(256&o[dr])){o[dr]&=-129,o[dr]|=256,function hg(n,o){let l;if(null!=n&&null!=(l=n.destroyHooks))for(let g=0;g=0?g[G]():g[-G].unsubscribe(),S+=2}else l[S].call(g[l[S+1]]);null!==g&&(o[Vr]=null);const I=o[uo];if(null!==I){o[uo]=null;for(let S=0;S-1){const{encapsulation:S}=n.data[g.directiveStart+I];if(S===Tn.None||S===Tn.Emulated)return null}return go(g,l)}}(n,o.parent,l)}function Du(n,o,l,g,I){n.insertBefore(o,l,g,I)}function mf(n,o,l){n.appendChild(o,l)}function Wd(n,o,l,g,I){null!==g?Du(n,o,l,g,I):mf(n,o,l)}function Qu(n,o){return n.parentNode(o)}function Vc(n,o,l){return Xu(n,o,l)}let vd,mg,Cf,$d,Xu=function uu(n,o,l){return 40&n.type?go(n,l):null};function Wc(n,o,l,g){const I=Vd(n,g,o),S=o[Rn],ie=Vc(g.parent||o[no],g,o);if(null!=I)if(Array.isArray(l))for(let fe=0;fen,createScript:n=>n,createScriptURL:n=>n})}catch{}return mg}()?.createHTML(n)||n}function E0(n){Cf=n}function hu(){if(void 0!==Cf)return Cf;if(typeof document<"u")return document;throw new V(210,!1)}function Cg(){if(void 0===$d&&($d=null,Qt.trustedTypes))try{$d=Qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return $d}function Th(n){return Cg()?.createHTML(n)||n}function zm(n){return Cg()?.createScriptURL(n)||n}class Kd{constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${K})`}}class w0 extends Kd{getTypeName(){return"HTML"}}class M0 extends Kd{getTypeName(){return"Style"}}class D0 extends Kd{getTypeName(){return"Script"}}class S0 extends Kd{getTypeName(){return"URL"}}class Vm extends Kd{getTypeName(){return"ResourceURL"}}function qu(n){return n instanceof Kd?n.changingThisBreaksApplicationSecurity:n}function Eh(n,o){const l=function wh(n){return n instanceof Kd&&n.getTypeName()||null}(n);if(null!=l&&l!==o){if("ResourceURL"===l&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${l} (see ${K})`)}return l===o}function k0(n){return new w0(n)}function vg(n){return new M0(n)}function Wm(n){return new D0(n)}function yv(n){return new S0(n)}function O0(n){return new Vm(n)}class L0{constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o=""+o;try{const l=(new window.DOMParser).parseFromString(xh(o),"text/html").body;return null===l?this.inertDocumentHelper.getInertBodyElement(o):(l.removeChild(l.firstChild),l)}catch{return null}}}class P0{constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const l=this.inertDocument.createElement("template");return l.innerHTML=xh(o),l}}const N0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ag(n){return(n=String(n)).match(N0)?n:"unsafe:"+n}function ed(n){const o={};for(const l of n.split(","))o[l]=!0;return o}function vf(...n){const o={};for(const l of n)for(const g in l)l.hasOwnProperty(g)&&(o[g]=!0);return o}const Zm=ed("area,br,col,hr,img,wbr"),Ig=ed("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yg=ed("rp,rt"),mp=vf(Zm,vf(Ig,ed("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")),vf(yg,ed("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")),vf(yg,Ig)),_p=ed("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gm=vf(_p,ed("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ed("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")),Cp=ed("script,style,template");class F0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(o){let l=o.firstChild,g=!0;for(;l;)if(l.nodeType===Node.ELEMENT_NODE?g=this.startElement(l):l.nodeType===Node.TEXT_NODE?this.chars(l.nodeValue):this.sanitizedSomething=!0,g&&l.firstChild)l=l.firstChild;else for(;l;){l.nodeType===Node.ELEMENT_NODE&&this.endElement(l);let I=this.checkClobberedElement(l,l.nextSibling);if(I){l=I;break}l=this.checkClobberedElement(l,l.parentNode)}return this.buf.join("")}startElement(o){const l=o.nodeName.toLowerCase();if(!mp.hasOwnProperty(l))return this.sanitizedSomething=!0,!Cp.hasOwnProperty(l);this.buf.push("<"),this.buf.push(l);const g=o.attributes;for(let I=0;I"),!0}endElement(o){const l=o.nodeName.toLowerCase();mp.hasOwnProperty(l)&&!Zm.hasOwnProperty(l)&&(this.buf.push(""))}chars(o){this.buf.push(Km(o))}checkClobberedElement(o,l){if(l&&(o.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${o.outerHTML}`);return l}}const vp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$m=/([^\#-~ |!])/g;function Km(n){return n.replace(/&/g,"&").replace(vp,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace($m,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(//g,">")}let bg;function Jm(n,o){let l=null;try{bg=bg||function Mh(n){const o=new P0(n);return function R0(){try{return!!(new window.DOMParser).parseFromString(xh(""),"text/html")}catch{return!1}}()?new L0(o):o}(n);let g=o?String(o):"";l=bg.getInertBodyElement(g);let I=5,S=g;do{if(0===I)throw new Error("Failed to sanitize html because the input is unstable");I--,g=S,S=l.innerHTML,l=bg.getInertBodyElement(g)}while(g!==S);return xh((new F0).sanitizeChildren(Ap(l)||l))}finally{if(l){const g=Ap(l)||l;for(;g.firstChild;)g.removeChild(g.firstChild)}}}function Ap(n){return"content"in n&&function Y0(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Jd=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Jd||{});function Ip(n){const o=kh();return o?Th(o.sanitize(Jd.HTML,n)||""):Eh(n,"HTML")?Th(qu(n)):Jm(hu(),ae(n))}function Qm(n){const o=kh();return o?o.sanitize(Jd.STYLE,n)||"":Eh(n,"Style")?qu(n):ae(n)}function yp(n){const o=kh();return o?o.sanitize(Jd.URL,n)||"":Eh(n,"URL")?qu(n):Ag(ae(n))}function Xm(n){const o=kh();if(o)return zm(o.sanitize(Jd.RESOURCE_URL,n)||"");if(Eh(n,"ResourceURL"))return zm(qu(n));throw new V(904,!1)}function bp(n,o,l){return function Sh(n,o){return"src"===o&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===o&&("base"===n||"link"===n)?Xm:yp}(o,l)(n)}function kh(){const n=ii();return n&&n[Ko].sanitizer}const Qd=new Pi("ENVIRONMENT_INITIALIZER"),qm=new Pi("INJECTOR",-1),xp=new Pi("INJECTOR_DEF_TYPES");class Tp{get(o,l=Yt){if(l===Yt){const g=new Error(`NullInjectorError: No provider for ${H(o)}!`);throw g.name="NullInjectorError",g}return l}}function Xd(n){return{\u0275providers:n}}function j0(...n){return{\u0275providers:e_(0,n),\u0275fromNgModule:!0}}function e_(n,...o){const l=[],g=new Set;let I;const S=G=>{l.push(G)};return zu(o,G=>{const ie=G;xg(ie,S,[],g)&&(I||=[],I.push(ie))}),void 0!==I&&t_(I,S),l}function t_(n,o){for(let l=0;l{o(S,g)})}}function xg(n,o,l,g){if(!(n=me(n)))return!1;let I=null,S=Mt(n);const G=!S&&Cr(n);if(S||G){if(G&&!G.standalone)return!1;I=n}else{const fe=n.ngModule;if(S=Mt(fe),!S)return!1;I=fe}const ie=g.has(I);if(G){if(ie)return!1;if(g.add(I),G.dependencies){const fe="function"==typeof G.dependencies?G.dependencies():G.dependencies;for(const Le of fe)xg(Le,o,l,g)}}else{if(!S)return!1;{if(null!=S.imports&&!ie){let Le;g.add(I);try{zu(S.imports,ct=>{xg(ct,o,l,g)&&(Le||=[],Le.push(ct))})}finally{}void 0!==Le&&t_(Le,o)}if(!ie){const Le=ga(I)||(()=>new I);o({provide:I,useFactory:Le,deps:nn},I),o({provide:xp,useValue:I,multi:!0},I),o({provide:Qd,useValue:()=>Ri(I),multi:!0},I)}const fe=S.providers;if(null!=fe&&!ie){const Le=n;Ep(fe,ct=>{o(ct,Le)})}}}return I!==n&&void 0!==n.providers}function Ep(n,o){for(let l of n)Se(l)&&(l=l.\u0275providers),Array.isArray(l)?Ep(l,o):o(l)}const z0=N({provide:String,useValue:N});function wp(n){return null!==n&&"object"==typeof n&&z0 in n}function qd(n){return"function"==typeof n}const Dp=new Pi("Set Injector scope."),td={},Sp={};let Af;function ku(){return void 0===Af&&(Af=new Tp),Af}class Ou{}class Oh extends Ou{get destroyed(){return this._destroyed}constructor(o,l,g,I){super(),this.parent=l,this.source=g,this.scopes=I,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Op(o,G=>this.processProvider(G)),this.records.set(qm,Lu(void 0,this)),I.has("environment")&&this.records.set(Ou,Lu(void 0,this));const S=this.records.get(Dp);null!=S&&"string"==typeof S.value&&this.scopes.add(S.value),this.injectorDefTypes=new Set(this.get(xp.multi,nn,Ye.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of o)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(o){return this.assertNotDestroyed(),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){this.assertNotDestroyed();const l=mi(this),g=Kn(void 0);try{return o()}finally{mi(l),Kn(g)}}get(o,l=Yt,g=Ye.Default){if(this.assertNotDestroyed(),o.hasOwnProperty(yr))return o[yr](this);g=Xe(g);const S=mi(this),G=Kn(void 0);try{if(!(g&Ye.SkipSelf)){let fe=this.records.get(o);if(void 0===fe){const Le=function Z0(n){return"function"==typeof n||"object"==typeof n&&n instanceof Pi}(o)&&ir(o);fe=Le&&this.injectableDefInScope(Le)?Lu(i_(o),td):null,this.records.set(o,fe)}if(null!=fe)return this.hydrate(o,fe)}return(g&Ye.Self?ku():this.parent).get(o,l=g&Ye.Optional&&l===Yt?null:l)}catch(ie){if("NullInjectorError"===ie.name){if((ie[Qr]=ie[Qr]||[]).unshift(H(o)),S)throw ie;return function it(n,o,l,g){const I=n[Qr];throw o[Rt]&&I.unshift(o[Rt]),n.message=function Ht(n,o,l,g=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let I=H(o);if(Array.isArray(o))I=o.map(H).join(" -> ");else if("object"==typeof o){let S=[];for(let G in o)if(o.hasOwnProperty(G)){let ie=o[G];S.push(G+":"+("string"==typeof ie?JSON.stringify(ie):H(ie)))}I=`{${S.join(", ")}}`}return`${l}${g?"("+g+")":""}[${I}]: ${n.replace(Pn,"\n ")}`}("\n"+n.message,I,l,g),n.ngTokenPath=I,n[Qr]=null,n}(ie,o,"R3InjectorError",this.source)}throw ie}finally{Kn(G),mi(S)}}resolveInjectorInitializers(){const o=mi(this),l=Kn(void 0);try{const I=this.get(Qd.multi,nn,Ye.Self);for(const S of I)S()}finally{mi(o),Kn(l)}}toString(){const o=[],l=this.records;for(const g of l.keys())o.push(H(g));return`R3Injector[${o.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new V(205,!1)}processProvider(o){let l=qd(o=me(o))?o:me(o&&o.provide);const g=function yd(n){return wp(n)?Lu(void 0,n.useValue):Lu(kp(n),td)}(o);if(qd(o)||!0!==o.multi)this.records.get(l);else{let I=this.records.get(l);I||(I=Lu(void 0,td,!0),I.factory=()=>ke(I.multi),this.records.set(l,I)),l=o,I.multi.push(o)}this.records.set(l,g)}hydrate(o,l){return l.value===td&&(l.value=Sp,l.value=l.factory()),"object"==typeof l.value&&l.value&&function r_(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(l.value)&&this._ngOnDestroyHooks.add(l.value),l.value}injectableDefInScope(o){if(!o.providedIn)return!1;const l=me(o.providedIn);return"string"==typeof l?"any"===l||this.scopes.has(l):this.injectorDefTypes.has(l)}removeOnDestroy(o){const l=this._onDestroyHooks.indexOf(o);-1!==l&&this._onDestroyHooks.splice(l,1)}}function i_(n){const o=ir(n),l=null!==o?o.factory:ga(n);if(null!==l)return l;if(n instanceof Pi)throw new V(204,!1);if(n instanceof Function)return function nc(n){const o=n.length;if(o>0)throw xu(o,"?"),new V(204,!1);const l=function fi(n){return n&&(n[Ot]||n[De])||null}(n);return null!==l?()=>l.factory(n):()=>new n}(n);throw new V(204,!1)}function kp(n,o,l){let g;if(qd(n)){const I=me(n);return ga(I)||i_(I)}if(wp(n))g=()=>me(n.useValue);else if(function n_(n){return!(!n||!n.useFactory)}(n))g=()=>n.useFactory(...ke(n.deps||[]));else if(function Mp(n){return!(!n||!n.useExisting)}(n))g=()=>Ri(me(n.useExisting));else{const I=me(n&&(n.useClass||n.provide));if(!function W0(n){return!!n.deps}(n))return ga(I)||i_(I);g=()=>new I(...ke(n.deps))}return g}function Lu(n,o,l=!1){return{factory:n,value:o,multi:l?[]:void 0}}function Op(n,o){for(const l of n)Array.isArray(l)?Op(l,o):l&&Se(l)?Op(l.\u0275providers,o):o(l)}const s_=new Pi("AppId",{providedIn:"root",factory:()=>G0}),G0="ng",o_=new Pi("Platform Initializer"),Lp=new Pi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),$0=new Pi("AnimationModuleType"),K0=new Pi("CSP nonce",{providedIn:"root",factory:()=>hu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let a_=(n,o,l)=>null;function Yp(n,o,l=!1){return a_(n,o,l)}class h_{}class Nh{}class sC{resolveComponentFactory(o){throw function Up(n){const o=Error(`No component factory found for ${H(n)}.`);return o.ngComponent=n,o}(o)}}let wf=(()=>{class n{static#e=this.NULL=new sC}return n})();function Fh(){return Yh(Ta(),ii())}function Yh(n,o){return new Mf(go(n,o))}let Mf=(()=>{class n{constructor(l){this.nativeElement=l}static#e=this.__NG_ELEMENT_ID__=Fh}return n})();function f_(n){return n instanceof Mf?n.nativeElement:n}class jp{}let oC=(()=>{class n{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function aC(){const n=ii(),l=yo(Ta().index,n);return(Lr(l)?l:n)[Rn]}()}return n})(),lC=(()=>{class n{static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:()=>null})}return n})();class Dg{constructor(o){this.full=o,this.major=o.split(".")[0],this.minor=o.split(".")[1],this.patch=o.split(".").slice(2).join(".")}}const cC=new Dg("16.2.12"),Df={};function __(n,o=null,l=null,g){const I=Sg(n,o,l,g);return I.resolveInjectorInitializers(),I}function Sg(n,o=null,l=null,g,I=new Set){const S=[l||nn,j0(n)];return g=g||("object"==typeof n?void 0:H(n)),new Oh(S,o||ku(),g||null,I)}let fu=(()=>{class n{static#e=this.THROW_IF_NOT_FOUND=Yt;static#t=this.NULL=new Tp;static create(l,g){if(Array.isArray(l))return __({name:""},g,l,"");{const I=l.name??"";return __({name:I},l.parent,l.providers,I)}}static#n=this.\u0275prov=dn({token:n,providedIn:"any",factory:()=>Ri(qm)});static#i=this.__NG_ELEMENT_ID__=-1}return n})();function Zp(n){return n.ngOriginalError}class bd{constructor(){this._console=console}handleError(o){const l=this._findOriginalError(o);this._console.error("ERROR",o),l&&this._console.error("ORIGINAL ERROR",l)}_findOriginalError(o){let l=o&&Zp(o);for(;l&&Zp(l);)l=Zp(l);return l||null}}let kg=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=fC;static#t=this.__NG_ENV_ID__=l=>l}return n})();class C_ extends kg{constructor(o){super(),this._lView=o}onDestroy(o){return ql(this._lView,o),()=>function Yl(n,o){if(null===n[uo])return;const l=n[uo].indexOf(o);-1!==l&&n[uo].splice(l,1)}(this._lView,o)}}function fC(){return new C_(ii())}function $p(n){return o=>{setTimeout(n,void 0,o)}}const nu=class Gp extends i.x{constructor(o=!1){super(),this.__isAsync=o}emit(o){super.next(o)}subscribe(o,l,g){let I=o,S=l||(()=>null),G=g;if(o&&"object"==typeof o){const fe=o;I=fe.next?.bind(fe),S=fe.error?.bind(fe),G=fe.complete?.bind(fe)}this.__isAsync&&(S=$p(S),I&&(I=$p(I)),G&&(G=$p(G)));const ie=super.subscribe({next:I,error:S,complete:G});return o instanceof t.w0&&o.add(ie),ie}};function v_(...n){}class _c{constructor({enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:g=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new nu(!1),this.onMicrotaskEmpty=new nu(!1),this.onStable=new nu(!1),this.onError=new nu(!1),typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const I=this;I._nesting=0,I._outer=I._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(I._inner=I._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(I._inner=I._inner.fork(Zone.longStackTraceZoneSpec)),I.shouldCoalesceEventChangeDetection=!g&&l,I.shouldCoalesceRunChangeDetection=g,I.lastRequestAnimationFrameId=-1,I.nativeRequestAnimationFrame=function Og(){const n="function"==typeof Qt.requestAnimationFrame;let o=Qt[n?"requestAnimationFrame":"setTimeout"],l=Qt[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&o&&l){const g=o[Zone.__symbol__("OriginalDelegate")];g&&(o=g);const I=l[Zone.__symbol__("OriginalDelegate")];I&&(l=I)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function A_(n){const o=()=>{!function pC(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Qt,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Kp(n),n.isCheckStableRunning=!0,Lg(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Kp(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(l,g,I,S,G,ie)=>{if(function Jp(n){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0].data?.__ignore_ng_zone__}(ie))return l.invokeTask(I,S,G,ie);try{return Pg(n),l.invokeTask(I,S,G,ie)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===S.type||n.shouldCoalesceRunChangeDetection)&&o(),I_(n)}},onInvoke:(l,g,I,S,G,ie,fe)=>{try{return Pg(n),l.invoke(I,S,G,ie,fe)}finally{n.shouldCoalesceRunChangeDetection&&o(),I_(n)}},onHasTask:(l,g,I,S)=>{l.hasTask(I,S),g===I&&("microTask"==S.change?(n._hasPendingMicrotasks=S.microTask,Kp(n),Lg(n)):"macroTask"==S.change&&(n.hasPendingMacrotasks=S.macroTask))},onHandleError:(l,g,I,S)=>(l.handleError(I,S),n.runOutsideAngular(()=>n.onError.emit(S)),!1)})}(I)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_c.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(_c.isInAngularZone())throw new V(909,!1)}run(o,l,g){return this._inner.run(o,l,g)}runTask(o,l,g,I){const S=this._inner,G=S.scheduleEventTask("NgZoneEvent: "+I,o,gC,v_,v_);try{return S.runTask(G,l,g)}finally{S.cancelTask(G)}}runGuarded(o,l,g){return this._inner.runGuarded(o,l,g)}runOutsideAngular(o){return this._outer.run(o)}}const gC={};function Lg(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Kp(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Pg(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function I_(n){n._nesting--,Lg(n)}class Rg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new nu,this.onMicrotaskEmpty=new nu,this.onStable=new nu,this.onError=new nu}run(o,l,g){return o.apply(l,g)}runGuarded(o,l,g){return o.apply(l,g)}runOutsideAngular(o){return o()}runTask(o,l,g,I){return o.apply(l,g)}}const eh=new Pi("",{providedIn:"root",factory:Uh});function Uh(){const n=mn(_c);let o=!0;const l=new A.y(I=>{o=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{I.next(o),I.complete()})}),g=new A.y(I=>{let S;n.runOutsideAngular(()=>{S=n.onStable.subscribe(()=>{_c.assertNotInAngularZone(),queueMicrotask(()=>{!o&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(o=!0,I.next(!0))})})});const G=n.onUnstable.subscribe(()=>{_c.assertInAngularZone(),o&&(o=!1,n.runOutsideAngular(()=>{I.next(!1)}))});return()=>{S.unsubscribe(),G.unsubscribe()}});return(0,a.T)(l,g.pipe((0,b.B)()))}function xd(n){return n.ownerDocument}function rd(n){return n instanceof Function?n():n}let Qp=(()=>{class n{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:()=>new n})}return n})();function kf(n){for(;n;){n[dr]|=64;const o=ua(n);if(Sa(n)&&!o)return n;n=o}return null}const qp=new Pi("",{providedIn:"root",factory:()=>!1});let Bg=null;function x_(n,o){return n[o]??w_()}function T_(n,o){const l=w_();l.producerNode?.length&&(n[o]=Bg,l.lView=n,Bg=E_())}const yC={...ba,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{kf(n.lView)},lView:null};function E_(){return Object.create(yC)}function w_(){return Bg??=E_(),Bg}const Ys={};function M_(n){D_(es(),ii(),Ve()+n,!1)}function D_(n,o,l,g){if(!g)if(3==(3&o[dr])){const S=n.preOrderCheckHooks;null!==S&&Er(o,S,l)}else{const S=n.preOrderHooks;null!==S&&ms(o,S,0,l)}bt(l)}function th(n,o=Ye.Default){const l=ii();return null===l?Ri(n,o):ft(Ta(),l,me(n),o)}function im(){throw new Error("invalid")}function Ug(n,o,l,g,I,S,G,ie,fe,Le,ct){const Ft=o.blueprint.slice();return Ft[Fi]=I,Ft[dr]=140|g,(null!==Le||n&&2048&n[dr])&&(Ft[dr]|=2048),cc(Ft),Ft[$r]=Ft[Xr]=n,Ft[os]=l,Ft[Ko]=G||n&&n[Ko],Ft[Rn]=ie||n&&n[Rn],Ft[$o]=fe||n&&n[$o]||null,Ft[no]=S,Ft[Zr]=function Me(){return dg++}(),Ft[Oo]=ct,Ft[Ji]=Le,Ft[gr]=2==o.type?n[gr]:Ft,Ft}function zh(n,o,l,g,I){let S=n.data[o];if(null===S)S=function rm(n,o,l,g,I){const S=Rc(),G=Ea(),fe=n.data[o]=function P_(n,o,l,g,I,S){let G=o?o.injectorIndex:-1,ie=0;return El()&&(ie|=128),{type:l,index:g,insertBeforeIndex:null,injectorIndex:G,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:ie,providerIndexes:0,value:I,attrs:S,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:o,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,G?S:S&&S.parent,l,o,g,I);return null===n.firstChild&&(n.firstChild=fe),null!==S&&(G?null==S.child&&null!==fe.parent&&(S.child=fe):null===S.next&&(S.next=fe,fe.prev=S)),fe}(n,o,l,g,I),function dc(){return cr.lFrame.inI18n}()&&(S.flags|=32);else if(64&S.type){S.type=l,S.value=g,S.attrs=I;const G=function Al(){const n=cr.lFrame,o=n.currentTNode;return n.isParent?o:o.parent}();S.injectorIndex=null===G?-1:G.injectorIndex}return Oa(S,!0),S}function Lf(n,o,l,g){if(0===l)return-1;const I=o.length;for(let S=0;Sxr&&D_(n,o,xr,!1),fo(ie?2:0,I);const Le=ie?S:null,ct=Ga(Le);try{null!==Le&&(Le.dirty=!1),l(g,I)}finally{ra(Le,ct)}}finally{ie&&null===o[Js]&&T_(o,Js),bt(G),fo(ie?3:1,I)}}function sm(n,o,l){if(Hs(o)){const g=pa(null);try{const S=o.directiveEnd;for(let G=o.directiveStart;Gnull;function R_(n,o,l,g){for(let I in n)if(n.hasOwnProperty(I)){l=null===l?{}:l;const S=n[I];null===g?N_(l,o,I,S):g.hasOwnProperty(I)&&N_(l,o,g[I],S)}return l}function N_(n,o,l,g){n.hasOwnProperty(l)?n[l].push(o,g):n[l]=[o,g]}function iu(n,o,l,g,I,S,G,ie){const fe=go(o,l);let ct,Le=o.inputs;!ie&&null!=Le&&(ct=Le[g])?(c(n,l,ct,g,I),Da(o)&&function SC(n,o){const l=yo(o,n);16&l[dr]||(l[dr]|=64)}(l,o.index)):3&o.type&&(g=function DC(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(g),I=null!=G?G(I,o.value||"",g):I,S.setProperty(fe,g,I))}function lm(n,o,l,g){if(Zc()){const I=null===g?null:{"":-1},S=function YC(n,o){const l=n.directiveRegistry;let g=null,I=null;if(l)for(let S=0;S0;){const l=n[--o];if("number"==typeof l&&l<0)return l}return 0})(G)!=ie&&G.push(ie),G.push(l,g,S)}}(n,o,g,Lf(n,l,I.hostVars,Ys),I)}function Pu(n,o,l,g,I,S){const G=go(n,o);!function um(n,o,l,g,I,S,G){if(null==S)n.removeAttribute(o,I,l);else{const ie=null==G?ae(S):G(S,g||"",I);n.setAttribute(o,I,ie,l)}}(o[Rn],G,S,n.value,l,g,I)}function Fv(n,o,l,g,I,S){const G=S[o];if(null!==G)for(let ie=0;ie{class n{constructor(){this.all=new Set,this.queue=new Map}create(l,g,I){const S=typeof Zone>"u"?null:Zone.current,G=function Hn(n,o,l){const g=Object.create(ps);l&&(g.consumerAllowSignalWrites=!0),g.fn=n,g.schedule=o;const I=G=>{g.cleanupFn=G};return g.ref={notify:()=>Vn(g),run:()=>{if(g.dirty=!1,g.hasRun&&!ai(g))return;g.hasRun=!0;const G=Ga(g);try{g.cleanupFn(),g.cleanupFn=Si,g.fn(I)}finally{ra(g,G)}},cleanup:()=>g.cleanupFn()},g.ref}(l,Le=>{this.all.has(Le)&&this.queue.set(Le,S)},I);let ie;this.all.add(G),G.notify();const fe=()=>{G.cleanup(),ie?.(),this.all.delete(G),this.queue.delete(G)};return ie=g?.onDestroy(fe),{destroy:fe}}flush(){if(0!==this.queue.size)for(const[l,g]of this.queue)this.queue.delete(l),g?g.run(()=>l.run()):l.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:()=>new n})}return n})();function ce(n,o){!o?.injector&&function zp(n){if(!cn()&&!function bn(){return Bt}())throw new V(-203,!1)}();const l=o?.injector??mn(fu),g=l.get(Q),I=!0!==o?.manualCleanup?l.get(kg):null;return g.create(n,I,!!o?.allowSignalWrites)}function we(n,o,l){let g=l?n.styles:null,I=l?n.classes:null,S=0;if(null!==o)for(let G=0;G0){Qn(n,1);const I=l.components;null!==I&&gi(n,I,1)}}function gi(n,o,l){for(let g=0;g-1&&(Mu(o,g),qh(l,g))}this._attachedToViewContainer=!1}_d(this._lView[_i],this._lView)}onDestroy(o){ql(this._lView,o)}markForCheck(){kf(this._cdRefInjectingView||this._lView)}detach(){this._lView[dr]&=-129}reattach(){this._lView[dr]|=128}detectChanges(){Et(this._lView[_i],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function jd(n,o){fg(n,o,o[Rn],2,null,null)}(this._lView[_i],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=o}}class vr extends Di{constructor(o){super(o),this._view=o}detectChanges(){const o=this._view;Et(o[_i],o,o[os],!1)}checkNoChanges(){}get context(){return null}}class Wi extends wf{constructor(o){super(),this.ngModule=o}resolveComponentFactory(o){const l=Cr(o);return new lo(l,this.ngModule)}}function Yr(n){const o=[];for(let l in n)n.hasOwnProperty(l)&&o.push({propName:n[l],templateName:l});return o}class to{constructor(o,l){this.injector=o,this.parentInjector=l}get(o,l,g){g=Xe(g);const I=this.injector.get(o,Df,g);return I!==Df||l===Df?I:this.parentInjector.get(o,l,g)}}class lo extends Nh{get inputs(){const o=this.componentDef,l=o.inputTransforms,g=Yr(o.inputs);if(null!==l)for(const I of g)l.hasOwnProperty(I.propName)&&(I.transform=l[I.propName]);return g}get outputs(){return Yr(this.componentDef.outputs)}constructor(o,l){super(),this.componentDef=o,this.ngModule=l,this.componentType=o.type,this.selector=function _r(n){return n.map(Gi).join(",")}(o.selectors),this.ngContentSelectors=o.ngContentSelectors?o.ngContentSelectors:[],this.isBoundToModule=!!l}create(o,l,g,I){let S=(I=I||this.ngModule)instanceof Ou?I:I?.injector;S&&null!==this.componentDef.getStandaloneInjector&&(S=this.componentDef.getStandaloneInjector(S)||S);const G=S?new to(o,S):o,ie=G.get(jp,null);if(null===ie)throw new V(407,!1);const Ft={rendererFactory:ie,sanitizer:G.get(lC,null),effectManager:G.get(Q,null),afterRenderEventManager:G.get(Qp,null)},vn=ie.createRenderer(null,this.componentDef),Dn=this.componentDef.selectors[0][0]||"div",ci=g?function TC(n,o,l,g){const S=g.get(qp,!1)||l===Tn.ShadowDom,G=n.selectRootElement(o,S);return function EC(n){O_(n)}(G),G}(vn,g,this.componentDef.encapsulation,G):Gu(vn,Dn,function Gs(n){const o=n.toLowerCase();return"svg"===o?za:"math"===o?"math":null}(Dn)),ts=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let vi=null;null!==ci&&(vi=Yp(ci,G,!0));const zs=Hg(0,null,null,1,0,null,null,null,null,null,null),No=Ug(null,zs,null,ts,null,null,Ft,vn,G,null,vi);let fl,Bu;ue(No);try{const Hf=this.componentDef;let v0,MI=null;Hf.findHostDirectiveDefs?(v0=[],MI=new Map,Hf.findHostDirectiveDefs(Hf,v0,MI),v0.push(Hf)):v0=[Hf];const iE=function Jc(n,o){const l=n[_i],g=xr;return n[g]=o,zh(l,g,2,"#host",null)}(No,ci),rE=function Pa(n,o,l,g,I,S,G){const ie=I[_i];!function hl(n,o,l,g){for(const I of n)o.mergedAttrs=Nr(o.mergedAttrs,I.hostAttrs);null!==o.mergedAttrs&&(we(o,o.mergedAttrs,!0),null!==l&&Hm(g,l,o))}(g,n,o,G);let fe=null;null!==o&&(fe=Yp(o,I[$o]));const Le=S.rendererFactory.createRenderer(o,l);let ct=16;l.signals?ct=4096:l.onPush&&(ct=64);const Ft=Ug(I,k_(l),null,ct,I[n.index],n,S,Le,null,null,fe);return ie.firstCreatePass&&cm(ie,n,g.length-1),Vh(I,Ft),I[n.index]=Ft}(iE,ci,Hf,v0,No,Ft,vn);Bu=Ba(zs,xr),ci&&function _u(n,o,l,g){if(g)xs(n,l,["ng-version",cC.full]);else{const{attrs:I,classes:S}=function us(n){const o=[],l=[];let g=1,I=2;for(;g0&&pg(n,l,S.join(" "))}}(vn,Hf,ci,g),void 0!==l&&function Mc(n,o,l){const g=n.projection=[];for(let I=0;I=0;g--){const I=n[g];I.hostVars=o+=I.hostVars,I.hostAttrs=Nr(I.hostAttrs,l=Nr(l,I.hostAttrs))}}(g)}function Cu(n){return n===pi?{}:n===nn?[]:n}function Rf(n,o){const l=n.viewQuery;n.viewQuery=l?(g,I)=>{o(g,I),l(g,I)}:o}function nh(n,o){const l=n.contentQueries;n.contentQueries=l?(g,I,S)=>{o(g,I,S),l(g,I,S)}:o}function jA(n,o){const l=n.hostBindings;n.hostBindings=l?(g,I)=>{o(g,I),l(g,I)}:o}function Hv(n){const o=n.inputConfig,l={};for(const g in o)if(o.hasOwnProperty(g)){const I=o[g];Array.isArray(I)&&I[2]&&(l[g]=I[2])}n.inputTransforms=l}function H_(n){return!!WC(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function WC(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function wd(n,o,l){return n[o]=l}function Qc(n,o,l){return!Object.is(n[o],l)&&(n[o]=l,!0)}function Nf(n,o,l,g){const I=Qc(n,o,l);return Qc(n,o+1,g)||I}function j_(n,o,l,g,I){const S=Nf(n,o,l,g);return Qc(n,o+2,I)||S}function Ru(n,o,l,g,I,S){const G=Nf(n,o,l,g);return Nf(n,o+2,I,S)||G}function ZC(n,o,l,g){const I=ii();return Qc(I,oo(),o)&&(es(),Pu(It(),I,n,o,l,g)),ZC}function jg(n,o,l,g){return Qc(n,oo(),l)?o+ae(l)+g:Ys}function zg(n,o,l,g,I,S){const ie=Nf(n,Qa(),l,I);return Ua(2),ie?o+ae(l)+g+ae(I)+S:Ys}function Qv(n,o,l,g,I,S,G,ie){const fe=ii(),Le=es(),ct=n+xr,Ft=Le.firstCreatePass?function d1(n,o,l,g,I,S,G,ie,fe){const Le=o.consts,ct=zh(o,n,4,G||null,_a(Le,ie));lm(o,l,ct,_a(Le,fe)),sr(o,ct);const Ft=ct.tView=Hg(2,ct,g,I,S,o.directiveRegistry,o.pipeRegistry,null,o.schemas,Le,null);return null!==o.queries&&(o.queries.template(o,ct),Ft.queries=o.queries.embeddedTView(ct)),ct}(ct,Le,fe,o,l,g,I,S,G):Le.data[ct];Oa(Ft,!1);const vn=Xv(Le,fe,Ft,n);hi()&&Wc(Le,fe,vn,Ft),nr(vn,fe),Vh(fe,fe[ct]=B_(vn,fe,vn,Ft)),Za(Ft)&&om(Le,fe,Ft),null!=G&&am(fe,Ft,ie)}let Xv=function qv(n,o,l,g){return wi(!0),o[Rn].createComment("")};function eA(n){return po(function jc(){return cr.lFrame.contextLView}(),xr+n)}function QC(n,o,l){const g=ii();return Qc(g,oo(),o)&&iu(es(),It(),g,n,o,g[Rn],l,!1),QC}function $_(n,o,l,g,I){const G=I?"class":"style";c(n,l,o.inputs[G],G,g)}function Am(n,o,l,g){const I=ii(),S=es(),G=xr+n,ie=I[Rn],fe=S.firstCreatePass?function tA(n,o,l,g,I,S){const G=o.consts,fe=zh(o,n,2,g,_a(G,I));return lm(o,l,fe,_a(G,S)),null!==fe.attrs&&we(fe,fe.attrs,!1),null!==fe.mergedAttrs&&we(fe,fe.mergedAttrs,!0),null!==o.queries&&o.queries.elementStart(o,fe),fe}(G,S,I,o,l,g):S.data[G],Le=nA(S,I,fe,ie,o,n);I[G]=Le;const ct=Za(fe);return Oa(fe,!0),Hm(ie,Le,fe),32!=(32&fe.flags)&&hi()&&Wc(S,I,Le,fe),0===function Ac(){return cr.lFrame.elementDepthCount}()&&nr(Le,I),function au(){cr.lFrame.elementDepthCount++}(),ct&&(om(S,I,fe),sm(S,fe,I)),null!==g&&am(I,fe),Am}function Im(){let n=Ta();Ea()?wl():(n=n.parent,Oa(n,!1));const o=n;(function Gc(n){return cr.skipHydrationRootTNode===n})(o)&&function $c(){cr.skipHydrationRootTNode=null}(),function ic(){cr.lFrame.elementDepthCount--}();const l=es();return l.firstCreatePass&&(sr(l,n),Hs(n)&&l.queries.elementEnd(n)),null!=o.classesWithoutHost&&function Is(n){return 0!=(8&n.flags)}(o)&&$_(l,o,ii(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function ll(n){return 0!=(16&n.flags)}(o)&&$_(l,o,ii(),o.stylesWithoutHost,!1),Im}function K_(n,o,l,g){return Am(n,o,l,g),Im(),K_}let nA=(n,o,l,g,I,S)=>(wi(!0),Gu(g,I,function Ei(){return cr.lFrame.currentNamespace}()));function ym(n,o,l){const g=ii(),I=es(),S=n+xr,G=I.firstCreatePass?function sA(n,o,l,g,I){const S=o.consts,G=_a(S,g),ie=zh(o,n,8,"ng-container",G);return null!==G&&we(ie,G,!0),lm(o,l,ie,_a(S,I)),null!==o.queries&&o.queries.elementStart(o,ie),ie}(S,I,g,o,l):I.data[S];Oa(G,!0);const ie=oA(I,g,G,n);return g[S]=ie,hi()&&Wc(I,g,ie,G),nr(ie,g),Za(G)&&(om(I,g,G),sm(I,G,g)),null!=l&&am(g,G),ym}function J_(){let n=Ta();const o=es();return Ea()?wl():(n=n.parent,Oa(n,!1)),o.firstCreatePass&&(sr(o,n),Hs(n)&&o.queries.elementEnd(n)),J_}function Q_(n,o,l){return ym(n,o,l),J_(),Q_}let oA=(n,o,l,g)=>(wi(!0),Yc(o[Rn],""));function XC(){return ii()}function X_(n){return!!n&&"function"==typeof n.then}function qC(n){return!!n&&"function"==typeof n.subscribe}function ev(n,o,l,g){const I=ii(),S=es(),G=Ta();return function $h(n,o,l,g,I,S,G){const ie=Za(g),Le=n.firstCreatePass&&U_(n),ct=o[os],Ft=hm(o);let vn=!0;if(3&g.type||G){const Oi=go(g,o),fr=G?G(Oi):Oi,ts=Ft.length,vi=G?No=>G(Es(No[g.index])):g.index;let zs=null;if(!G&&ie&&(zs=function lA(n,o,l,g){const I=n.cleanup;if(null!=I)for(let S=0;Sfe?ie[fe]:null}"string"==typeof G&&(S+=2)}return null}(n,o,I,g.index)),null!==zs)(zs.__ngLastListenerFn__||zs).__ngNextListenerFn__=S,zs.__ngLastListenerFn__=S,vn=!1;else{S=cA(g,o,ct,S,!1);const No=l.listen(fr,I,S);Ft.push(S,No),Le&&Le.push(I,vi,ts,ts+1)}}else S=cA(g,o,ct,S,!1);const Dn=g.outputs;let ci;if(vn&&null!==Dn&&(ci=Dn[I])){const Oi=ci.length;if(Oi)for(let fr=0;fr-1?yo(n.index,o):o);let fe=q_(o,l,g,G),Le=S.__ngNextListenerFn__;for(;Le;)fe=q_(o,l,Le,G)&&fe,Le=Le.__ngNextListenerFn__;return I&&!1===fe&&G.preventDefault(),fe}}function uA(n=1){return function ne(n){return(cr.lFrame.contextLView=function pe(n,o){for(;n>0;)o=o[Xr],n--;return o}(n,cr.lFrame.contextLView))[os]}(n)}function Kh(n,o){let l=null;const g=function dt(n){const o=n.attrs;if(null!=o){const l=o.indexOf(5);if(!(1&l))return o[l+1]}return null}(n);for(let I=0;I>17&32767}function bm(n){return 2|n}function ih(n){return(131068&n)>>2}function rv(n,o){return-131069&n|o<<2}function fA(n){return 1|n}function gA(n,o,l,g,I){const S=n[l+1],G=null===o;let ie=g?Au(S):ih(S),fe=!1;for(;0!==ie&&(!1===fe||G);){const ct=n[ie+1];I1(n[ie],o)&&(fe=!0,n[ie+1]=g?fA(ct):bm(ct)),ie=g?Au(ct):ih(ct)}fe&&(n[l+1]=g?bm(S):fA(S))}function I1(n,o){return null===n||null==o||(Array.isArray(n)?n[1]:n)===o||!(!Array.isArray(n)||"string"!=typeof o)&&Pd(n,o)>=0}const Sc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t0(n){return n.substring(Sc.key,Sc.keyEnd)}function y1(n){return n.substring(Sc.value,Sc.valueEnd)}function sv(n,o){const l=Sc.textEnd;return l===o?-1:(o=Sc.keyEnd=function x1(n,o,l){for(;o32;)o++;return o}(n,Sc.key=o,l),$g(n,o,l))}function n0(n,o){const l=Sc.textEnd;let g=Sc.key=$g(n,o,l);return l===g?-1:(g=Sc.keyEnd=function Nu(n,o,l){let g;for(;o=65&&(-33&g)<=90||g>=48&&g<=57);)o++;return o}(n,g,l),g=mA(n,g,l),g=Sc.value=$g(n,g,l),g=Sc.valueEnd=function T1(n,o,l){let g=-1,I=-1,S=-1,G=o,ie=G;for(;G32&&(ie=G),S=I,I=g,g=-33&fe}return ie}(n,g,l),mA(n,g,l))}function pA(n){Sc.key=0,Sc.keyEnd=0,Sc.value=0,Sc.valueEnd=0,Sc.textEnd=n.length}function $g(n,o,l){for(;o=0;l=n0(o,l))vA(n,t0(o),y1(o))}function av(n){cd(l0,Md,n,!0)}function Md(n,o){for(let l=function b1(n){return pA(n),sv(n,$g(n,0,Sc.textEnd))}(o);l>=0;l=sv(o,l))fc(n,t0(o),!0)}function ld(n,o,l,g){const I=ii(),S=es(),G=Ua(2);S.firstUpdatePass&&o0(S,n,G,g),o!==Ys&&Qc(I,G,o)&&c0(S,S.data[Ve()],I,I[Rn],n,I[G+1]=function FI(n,o){return null==n||""===n||("string"==typeof o?n+=o:"object"==typeof n&&(n=H(qu(n)))),n}(o,l),g,G)}function cd(n,o,l,g){const I=es(),S=Ua(2);I.firstUpdatePass&&o0(I,null,S,g);const G=ii();if(l!==Ys&&Qc(G,S,l)){const ie=I.data[Ve()];if(D1(ie,g)&&!s0(I,S)){let fe=g?ie.classesWithoutHost:ie.stylesWithoutHost;null!==fe&&(l=k(fe,l||"")),$_(I,ie,G,l,g)}else!function AA(n,o,l,g,I,S,G,ie){I===Ys&&(I=nn);let fe=0,Le=0,ct=0=n.expandoStartIndex}function o0(n,o,l,g){const I=n.data;if(null===I[l+1]){const S=I[Ve()],G=s0(n,l);D1(S,g)&&null===o&&!G&&(o=!1),o=function NI(n,o,l,g){const I=function je(n){const o=cr.lFrame.currentDirectiveIndex;return-1===o?null:n[o]}(n);let S=g?o.residualClasses:o.residualStyles;if(null===I)0===(g?o.classBindings:o.styleBindings)&&(l=Tm(l=a0(null,n,o,l,g),o.attrs,g),S=null);else{const G=o.directiveStylingLast;if(-1===G||n[G]!==I)if(l=a0(I,n,o,l,g),null===S){let fe=function CA(n,o,l){const g=l?o.classBindings:o.styleBindings;if(0!==ih(g))return n[Au(g)]}(n,o,g);void 0!==fe&&Array.isArray(fe)&&(fe=a0(null,n,o,fe[1],g),fe=Tm(fe,o.attrs,g),function w1(n,o,l,g){n[Au(l?o.classBindings:o.styleBindings)]=g}(n,o,g,fe))}else S=function M1(n,o,l){let g;const I=o.directiveEnd;for(let S=1+o.directiveStylingLast;S0)&&(Le=!0)):ct=l,I)if(0!==fe){const vn=Au(n[ie+1]);n[g+1]=ru(vn,ie),0!==vn&&(n[vn+1]=rv(n[vn+1],g)),n[ie+1]=function _1(n,o){return 131071&n|o<<17}(n[ie+1],g)}else n[g+1]=ru(ie,0),0!==ie&&(n[ie+1]=rv(n[ie+1],g)),ie=g;else n[g+1]=ru(fe,0),0===ie?ie=g:n[fe+1]=rv(n[fe+1],g),fe=g;Le&&(n[g+1]=bm(n[g+1])),gA(n,ct,g,!0),gA(n,ct,g,!1),function A1(n,o,l,g,I){const S=I?n.residualClasses:n.residualStyles;null!=S&&"string"==typeof o&&Pd(S,o)>=0&&(l[g+1]=fA(l[g+1]))}(o,ct,n,g,S),G=ru(ie,fe),S?o.classBindings=G:o.styleBindings=G}(I,S,o,l,G,g)}}function a0(n,o,l,g,I){let S=null;const G=l.directiveEnd;let ie=l.directiveStylingLast;for(-1===ie?ie=l.directiveStart:ie++;ie0;){const fe=n[I],Le=Array.isArray(fe),ct=Le?fe[1]:fe,Ft=null===ct;let vn=l[I+1];vn===Ys&&(vn=Ft?nn:void 0);let Dn=Ft?ef(vn,g):ct===g?vn:void 0;if(Le&&!Em(Dn)&&(Dn=ef(fe,g)),Em(Dn)&&(ie=Dn,G))return ie;const ci=n[I+1];I=G?Au(ci):ih(ci)}if(null!==o){let fe=S?o.residualClasses:o.residualStyles;null!=fe&&(ie=ef(fe,g))}return ie}function Em(n){return void 0!==n}function D1(n,o){return 0!=(n.flags&(o?8:16))}function lv(n,o=""){const l=ii(),g=es(),I=n+xr,S=g.firstCreatePass?zh(g,I,1,o,null):g.data[I],G=wm(g,l,S,o,n);l[I]=G,hi()&&Wc(g,l,G,S),Oa(S,!1)}let wm=(n,o,l,g,I)=>(wi(!0),function oc(n,o){return n.createText(o)}(o[Rn],g));function Mm(n){return Dm("",n,""),Mm}function Dm(n,o,l){const g=ii(),I=jg(g,n,o,l);return I!==Ys&&p(g,Ve(),I),Dm}function cv(n,o,l,g,I){const S=ii(),G=zg(S,n,o,l,g,I);return G!==Ys&&p(S,Ve(),G),cv}function d0(n,o,l,g,I,S,G){const ie=ii(),fe=function Vg(n,o,l,g,I,S,G,ie){const Le=j_(n,Qa(),l,I,G);return Ua(3),Le?o+ae(l)+g+ae(I)+S+ae(G)+ie:Ys}(ie,n,o,l,g,I,S,G);return fe!==Ys&&p(ie,Ve(),fe),d0}function uv(n,o,l,g,I,S,G,ie,fe){const Le=ii(),ct=function Wg(n,o,l,g,I,S,G,ie,fe,Le){const Ft=Ru(n,Qa(),l,I,G,fe);return Ua(4),Ft?o+ae(l)+g+ae(I)+S+ae(G)+ie+ae(fe)+Le:Ys}(Le,n,o,l,g,I,S,G,ie,fe);return ct!==Ys&&p(Le,Ve(),ct),uv}function dv(n,o,l,g,I,S,G,ie,fe,Le,ct,Ft,vn){const Dn=ii(),ci=function Yf(n,o,l,g,I,S,G,ie,fe,Le,ct,Ft,vn,Dn){const ci=Qa();let Oi=Ru(n,ci,l,I,G,fe);return Oi=Nf(n,ci+4,ct,vn)||Oi,Ua(6),Oi?o+ae(l)+g+ae(I)+S+ae(G)+ie+ae(fe)+Le+ae(ct)+Ft+ae(vn)+Dn:Ys}(Dn,n,o,l,g,I,S,G,ie,fe,Le,ct,Ft,vn);return ci!==Ys&&p(Dn,Ve(),ci),dv}function hv(n){const o=ii(),l=function gm(n,o){let l=!1,g=Qa();for(let S=1;S>20;if(qd(n)||!n.multi){const Dn=new Ns(Le,I,th),ci=Q1(fe,o,I?ct:ct+vn,Ft);-1===ci?(R(Dl(ie,G),S,fe),J1(S,n,o.length),o.push(fe),ie.directiveStart++,ie.directiveEnd++,I&&(ie.providerIndexes+=1048576),l.push(Dn),G.push(Dn)):(l[ci]=Dn,G[ci]=Dn)}else{const Dn=Q1(fe,o,ct+vn,Ft),ci=Q1(fe,o,ct,ct+vn),fr=ci>=0&&l[ci];if(I&&!fr||!I&&!(Dn>=0&&l[Dn])){R(Dl(ie,G),S,fe);const ts=function Lb(n,o,l,g,I){const S=new Ns(n,l,th);return S.multi=[],S.index=o,S.componentProviders=0,UI(S,I,g&&!l),S}(I?Ob:kb,l.length,I,g,Le);!I&&fr&&(l[ci].providerFactory=ts),J1(S,n,o.length,0),o.push(fe),ie.directiveStart++,ie.directiveEnd++,I&&(ie.providerIndexes+=1048576),l.push(ts),G.push(ts)}else J1(S,n,Dn>-1?Dn:ci,UI(l[I?ci:Dn],Le,!I&&g));!I&&g&&fr&&l[ci].componentProviders++}}}function J1(n,o,l,g){const I=qd(o),S=function V0(n){return!!n.useClass}(o);if(I||S){const fe=(S?me(o.useClass):o).prototype.ngOnDestroy;if(fe){const Le=n.destroyHooks||(n.destroyHooks=[]);if(!I&&o.multi){const ct=Le.indexOf(l);-1===ct?Le.push(l,[g,fe]):Le[ct+1].push(g,fe)}else Le.push(l,fe)}}}function UI(n,o,l){return l&&n.componentProviders++,n.multi.push(o)-1}function Q1(n,o,l,g){for(let I=l;I{l.providersResolver=(g,I)=>function Sb(n,o,l){const g=es();if(g.firstCreatePass){const I=jo(n);K1(l,g.data,g.blueprint,I,!0),K1(o,g.data,g.blueprint,I,!1)}}(g,I?I(n):n,o)}}class Lm{}class jI{}function Pb(n,o){return new q1(n,o??null,[])}class q1 extends Lm{constructor(o,l,g){super(),this._parent=l,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wi(this);const I=Yo(o);this._bootstrapComponents=rd(I.bootstrap),this._r3Injector=Sg(o,l,[{provide:Lm,useValue:this},{provide:wf,useValue:this.componentFactoryResolver},...g],H(o),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(o)}get injector(){return this._r3Injector}destroy(){const o=this._r3Injector;!o.destroyed&&o.destroy(),this.destroyCbs.forEach(l=>l()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class eI extends jI{constructor(o){super(),this.moduleType=o}create(o){return new q1(this.moduleType,o,[])}}class zI extends Lm{constructor(o){super(),this.componentFactoryResolver=new Wi(this),this.instance=null;const l=new Oh([...o.providers,{provide:Lm,useValue:this},{provide:wf,useValue:this.componentFactoryResolver}],o.parent||ku(),o.debugName,new Set(["environment"]));this.injector=l,o.runEnvironmentInitializers&&l.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function VI(n,o,l=null){return new zI({providers:n,parent:o,debugName:l,runEnvironmentInitializers:!0}).injector}let Nb=(()=>{class n{constructor(l){this._injector=l,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(l){if(!l.standalone)return null;if(!this.cachedInjectors.has(l)){const g=e_(0,l.type),I=g.length>0?VI([g],this._injector,`Standalone[${l.type.name}]`):null;this.cachedInjectors.set(l,I)}return this.cachedInjectors.get(l)}ngOnDestroy(){try{for(const l of this.cachedInjectors.values())null!==l&&l.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=dn({token:n,providedIn:"environment",factory:()=>new n(Ri(Ou))})}return n})();function WI(n){n.getStandaloneInjector=o=>o.get(Nb).getOrCreateStandaloneInjector(n)}function XI(n,o,l){const g=sa()+n,I=ii();return I[g]===Ys?wd(I,g,l?o.call(l):o()):function fm(n,o){return n[o]}(I,g)}function qI(n,o,l,g){return ry(ii(),sa(),n,o,l,g)}function ey(n,o,l,g,I){return function sy(n,o,l,g,I,S,G){const ie=o+l;return Nf(n,ie,I,S)?wd(n,ie+2,G?g.call(G,I,S):g(I,S)):pv(n,ie+2)}(ii(),sa(),n,o,l,g,I)}function ty(n,o,l,g,I,S){return function oy(n,o,l,g,I,S,G,ie){const fe=o+l;return j_(n,fe,I,S,G)?wd(n,fe+3,ie?g.call(ie,I,S,G):g(I,S,G)):pv(n,fe+3)}(ii(),sa(),n,o,l,g,I,S)}function ny(n,o,l,g,I,S,G){return function ay(n,o,l,g,I,S,G,ie,fe){const Le=o+l;return Ru(n,Le,I,S,G,ie)?wd(n,Le+4,fe?g.call(fe,I,S,G,ie):g(I,S,G,ie)):pv(n,Le+4)}(ii(),sa(),n,o,l,g,I,S,G)}function iy(n,o,l,g){return function ly(n,o,l,g,I,S){let G=o+l,ie=!1;for(let fe=0;fe=0;l--){const g=o[l];if(n===g.name)return g}}(o,l.pipeRegistry),l.data[I]=g,g.onDestroy&&(l.destroyHooks??=[]).push(I,g.onDestroy)):g=l.data[I];const S=g.factory||(g.factory=ga(g.type)),ie=Kn(th);try{const fe=vs(!1),Le=S();return vs(fe),function g1(n,o,l,g){l>=n.data.length&&(n.data[l]=null,n.blueprint[l]=null),o[l]=g}(l,ii(),I,Le),Le}finally{Kn(ie)}}function uy(n,o,l){const g=n+xr,I=ii(),S=po(I,g);return function mv(n,o){return n[_i].data[o].pure}(I,g)?ry(I,sa(),o,S.transform,l,S):S.transform(l)}function ex(){return this._results[Symbol.iterator]()}class nI{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new nu)}constructor(o=!1){this._emitDistinctChangesOnly=o,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const l=nI.prototype;l[Symbol.iterator]||(l[Symbol.iterator]=ex)}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,l){return this._results.reduce(o,l)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,l){const g=this;g.dirty=!1;const I=function Kc(n){return n.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function Xh(n,o,l){if(n.length!==o.length)return!1;for(let g=0;g0&&(l[I-1][Fr]=o),g{class n{static#e=this.__NG_ELEMENT_ID__=sx}return n})();const ix=_v,rx=class extends ix{constructor(o,l,g){super(),this._declarationLView=o,this._declarationTContainer=l,this.elementRef=g}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,l){return this.createEmbeddedViewImpl(o,l)}createEmbeddedViewImpl(o,l,g){const I=function tx(n,o,l,g){const I=o.tView,ie=Ug(n,I,l,4096&n[dr]?4096:16,null,o,null,null,null,g?.injector??null,g?.hydrationInfo??null);ie[Us]=n[o.index];const Le=n[Mr];return null!==Le&&(ie[Mr]=Le.createEmbeddedView(I)),O(I,ie,l),ie}(this._declarationLView,this._declarationTContainer,o,{injector:l,hydrationInfo:g});return new Di(I)}};function sx(){return OA(Ta(),ii())}function OA(n,o){return 4&n.type?new rx(o,n,Yh(n,o)):null}let PA=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=dx}return n})();function dx(){return _y(Ta(),ii())}const hx=PA,py=class extends hx{constructor(o,l,g){super(),this._lContainer=o,this._hostTNode=l,this._hostLView=g}get element(){return Yh(this._hostTNode,this._hostLView)}get injector(){return new Il(this._hostTNode,this._hostLView)}get parentInjector(){const o=cs(this._hostTNode,this._hostLView);if(kr(o)){const l=oa(o,this._hostLView),g=Jr(o);return new Il(l[_i].data[g+8],l)}return new Il(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const l=my(this._lContainer);return null!==l&&l[o]||null}get length(){return this._lContainer.length-ho}createEmbeddedView(o,l,g){let I,S;"number"==typeof g?I=g:null!=g&&(I=g.index,S=g.injector);const ie=o.createEmbeddedViewImpl(l||{},S,null);return this.insertImpl(ie,I,false),ie}createComponent(o,l,g,I,S){const G=o&&!function ju(n){return"function"==typeof n}(o);let ie;if(G)ie=l;else{const Oi=l||{};ie=Oi.index,g=Oi.injector,I=Oi.projectableNodes,S=Oi.environmentInjector||Oi.ngModuleRef}const fe=G?o:new lo(Cr(o)),Le=g||this.parentInjector;if(!S&&null==fe.ngModule){const fr=(G?Le:this.parentInjector).get(Ou,null);fr&&(S=fr)}Cr(fe.componentType??{});const Dn=fe.create(Le,I,null,S);return this.insertImpl(Dn.hostView,ie,false),Dn}insert(o,l){return this.insertImpl(o,l,!1)}insertImpl(o,l,g){const I=o._lView;if(function Xl(n){return Qs(n[$r])}(I)){const fe=this.indexOf(o);if(-1!==fe)this.detach(fe);else{const Le=I[$r],ct=new py(Le,Le[no],Le[$r]);ct.detach(ct.indexOf(o))}}const G=this._adjustIndex(l),ie=this._lContainer;return nx(ie,I,G,!g),o.attachToViewContainerRef(),$f(iI(ie),G,o),o}move(o,l){return this.insert(o,l)}indexOf(o){const l=my(this._lContainer);return null!==l?l.indexOf(o):-1}remove(o){const l=this._adjustIndex(o,-1),g=Mu(this._lContainer,l);g&&(qh(iI(this._lContainer),l),_d(g[_i],g))}detach(o){const l=this._adjustIndex(o,-1),g=Mu(this._lContainer,l);return g&&null!=qh(iI(this._lContainer),l)?new Di(g):null}_adjustIndex(o,l=0){return o??this.length+l}};function my(n){return n[8]}function iI(n){return n[8]||(n[8]=[])}function _y(n,o){let l;const g=o[n.index];return Qs(g)?l=g:(l=B_(g,o,null,n),o[n.index]=l,Vh(o,l)),Cy(l,o,n,g),new py(l,n,o)}let Cy=function vy(n,o,l,g){if(n[io])return;let I;I=8&l.type?Es(g):function fx(n,o){const l=n[Rn],g=l.createComment(""),I=go(o,n);return Du(l,Qu(l,I),g,function Ca(n,o){return n.nextSibling(o)}(l,I),!1),g}(o,l),n[io]=I};class rI{constructor(o){this.queryList=o,this.matches=null}clone(){return new rI(this.queryList)}setDirty(){this.queryList.setDirty()}}class sI{constructor(o=[]){this.queries=o}createEmbeddedView(o){const l=o.queries;if(null!==l){const g=null!==o.contentQueries?o.contentQueries[0]:l.length,I=[];for(let S=0;S0)g.push(G[ie/2]);else{const Le=S[ie+1],ct=o[-fe];for(let Ft=ho;Ft{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((l,g)=>{this.resolve=l,this.reject=g}),this.appInits=mn(Zy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const l=[];for(const I of this.appInits){const S=I();if(X_(S))l.push(S);else if(qC(S)){const G=new Promise((ie,fe)=>{S.subscribe({complete:ie,error:fe})});l.push(G)}}const g=()=>{this.done=!0,this.resolve()};Promise.all(l).then(()=>{g()}).catch(I=>{this.reject(I)}),0===l.length&&g(),this.initialized=!0}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Gy=(()=>{class n{log(l){console.log(l)}warn(l){console.warn(l)}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();const NA=new Pi("LocaleId",{providedIn:"root",factory:()=>mn(NA,Ye.Optional|Ye.SkipSelf)||function jx(){return typeof $localize<"u"&&$localize.locale||kn}()}),zx=new Pi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let $y=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new y.X(!1)}add(){this.hasPendingTasks.next(!0);const l=this.taskId++;return this.pendingTasks.add(l),l}remove(l){this.pendingTasks.delete(l),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class Wx{constructor(o,l){this.ngModuleFactory=o,this.componentFactories=l}}let Zx=(()=>{class n{compileModuleSync(l){return new eI(l)}compileModuleAsync(l){return Promise.resolve(this.compileModuleSync(l))}compileModuleAndAllComponentsSync(l){const g=this.compileModuleSync(l),S=rd(Yo(l).declarations).reduce((G,ie)=>{const fe=Cr(ie);return fe&&G.push(new lo(fe)),G},[]);return new Wx(g,S)}compileModuleAndAllComponentsAsync(l){return Promise.resolve(this.compileModuleAndAllComponentsSync(l))}clearCache(){}clearCacheFor(l){}getModuleId(l){}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Xy=new Pi(""),qy=new Pi("");let _I,gT=(()=>{class n{constructor(l,g,I){this._ngZone=l,this.registry=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,_I||(function pT(n){_I=n}(I),I.addToWindow(g)),this._watchAngularEvents(),l.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:()=>{_c.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let l=this._callbacks.pop();clearTimeout(l.timeoutId),l.doneCb(this._didWork)}this._didWork=!1});else{let l=this.getPendingTasks();this._callbacks=this._callbacks.filter(g=>!g.updateCb||!g.updateCb(l)||(clearTimeout(g.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(l=>({source:l.source,creationLocation:l.creationLocation,data:l.data})):[]}addCallback(l,g,I){let S=-1;g&&g>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(G=>G.timeoutId!==S),l(this._didWork,this.getPendingTasks())},g)),this._callbacks.push({doneCb:l,timeoutId:S,updateCb:I})}whenStable(l,g,I){if(I&&!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(l,g,I),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(l){this.registry.registerApplication(l,this)}unregisterApplication(l){this.registry.unregisterApplication(l)}findProviders(l,g,I){return[]}static#e=this.\u0275fac=function(g){return new(g||n)(Ri(_c),Ri(eb),Ri(qy))};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac})}return n})(),eb=(()=>{class n{constructor(){this._applications=new Map}registerApplication(l,g){this._applications.set(l,g)}unregisterApplication(l){this._applications.delete(l)}unregisterAllApplications(){this._applications.clear()}getTestability(l){return this._applications.get(l)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(l,g=!0){return _I?.findTestabilityInTree(this,l,g)??null}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),ep=null;const tb=new Pi("AllowMultipleToken"),CI=new Pi("PlatformDestroyListeners"),vI=new Pi("appBootstrapListener");class CT{constructor(o,l){this.name=o,this.token=l}}function rb(n,o,l=[]){const g=`Platform: ${o}`,I=new Pi(g);return(S=[])=>{let G=AI();if(!G||G.injector.get(tb,!1)){const ie=[...l,...S,{provide:I,useValue:!0}];n?n(ie):function vT(n){if(ep&&!ep.get(tb,!1))throw new V(400,!1);(function nb(){!function hr(n){qo=n}(()=>{throw new V(600,!1)})})(),ep=n;const o=n.get(ob);(function ib(n){n.get(o_,null)?.forEach(l=>l())})(n)}(function sb(n=[],o){return fu.create({name:o,providers:[{provide:Dp,useValue:"platform"},{provide:CI,useValue:new Set([()=>ep=null])},...n]})}(ie,g))}return function IT(n){const o=AI();if(!o)throw new V(401,!1);return o}()}}function AI(){return ep?.get(ob)??null}let ob=(()=>{class n{constructor(l){this._injector=l,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(l,g){const I=function yT(n="zone.js",o){return"noop"===n?new Rg:"zone.js"===n?new _c(o):n}(g?.ngZone,function ab(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:g?.ngZoneEventCoalescing,runCoalescing:g?.ngZoneRunCoalescing}));return I.run(()=>{const S=function Rb(n,o,l){return new q1(n,o,l)}(l.moduleType,this.injector,function hb(n){return[{provide:_c,useFactory:n},{provide:Qd,multi:!0,useFactory:()=>{const o=mn(xT,{optional:!0});return()=>o.initialize()}},{provide:db,useFactory:bT},{provide:eh,useFactory:Uh}]}(()=>I)),G=S.injector.get(bd,null);return I.runOutsideAngular(()=>{const ie=I.onError.subscribe({next:fe=>{G.handleError(fe)}});S.onDestroy(()=>{YA(this._modules,S),ie.unsubscribe()})}),function lb(n,o,l){try{const g=l();return X_(g)?g.catch(I=>{throw o.runOutsideAngular(()=>n.handleError(I)),I}):g}catch(g){throw o.runOutsideAngular(()=>n.handleError(g)),g}}(G,I,()=>{const ie=S.injector.get(gI);return ie.runInitializers(),ie.donePromise.then(()=>(function pr(n){hn(n,"Expected localeId to be defined"),"string"==typeof n&&(Po=n.toLowerCase().replace(/_/g,"-"))}(S.injector.get(NA,kn)||kn),this._moduleDoBootstrap(S),S))})})}bootstrapModule(l,g=[]){const I=cb({},g);return function mT(n,o,l){const g=new eI(l);return Promise.resolve(g)}(0,0,l).then(S=>this.bootstrapModuleFactory(S,I))}_moduleDoBootstrap(l){const g=l.injector.get(C0);if(l._bootstrapComponents.length>0)l._bootstrapComponents.forEach(I=>g.bootstrap(I));else{if(!l.instance.ngDoBootstrap)throw new V(-403,!1);l.instance.ngDoBootstrap(g)}this._modules.push(l)}onDestroy(l){this._destroyListeners.push(l)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new V(404,!1);this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g());const l=this._injector.get(CI,null);l&&(l.forEach(g=>g()),l.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(g){return new(g||n)(Ri(fu))};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function cb(n,o){return Array.isArray(o)?o.reduce(cb,n):{...n,...o}}let C0=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=mn(db),this.zoneIsStable=mn(eh),this.componentTypes=[],this.components=[],this.isStable=mn($y).hasPendingTasks.pipe((0,F.w)(l=>l?(0,C.of)(!1):this.zoneIsStable),(0,j.x)(),(0,b.B)()),this._injector=mn(Ou)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(l,g){const I=l instanceof Nh;if(!this._injector.get(gI).done)throw!I&&ds(l),new V(405,!1);let G;G=I?l:this._injector.get(wf).resolveComponentFactory(l),this.componentTypes.push(G.componentType);const ie=function _T(n){return n.isBoundToModule}(G)?void 0:this._injector.get(Lm),Le=G.create(fu.NULL,[],g||G.selector,ie),ct=Le.location.nativeElement,Ft=Le.injector.get(Xy,null);return Ft?.registerApplication(ct),Le.onDestroy(()=>{this.detachView(Le.hostView),YA(this.components,Le),Ft?.unregisterApplication(ct)}),this._loadComponent(Le),Le}tick(){if(this._runningTick)throw new V(101,!1);try{this._runningTick=!0;for(let l of this._views)l.detectChanges()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1}}attachView(l){const g=l;this._views.push(g),g.attachToAppRef(this)}detachView(l){const g=l;YA(this._views,g),g.detachFromAppRef()}_loadComponent(l){this.attachView(l.hostView),this.tick(),this.components.push(l);const g=this._injector.get(vI,[]);g.push(...this._bootstrapListeners),g.forEach(I=>I(l))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(l=>l()),this._views.slice().forEach(l=>l.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(l){return this._destroyListeners.push(l),()=>YA(this._destroyListeners,l)}destroy(){if(this._destroyed)throw new V(406,!1);const l=this._injector;l.destroy&&!l.destroyed&&l.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function YA(n,o){const l=n.indexOf(o);l>-1&&n.splice(l,1)}const db=new Pi("",{providedIn:"root",factory:()=>mn(bd).handleError.bind(void 0)});function bT(){const n=mn(_c),o=mn(bd);return l=>n.runOutsideAngular(()=>o.handleError(l))}let xT=(()=>{class n{constructor(){this.zone=mn(_c),this.applicationRef=mn(C0)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ET(){}let wT=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=MT}return n})();function MT(n){return function DT(n,o,l){if(Da(n)&&!l){const g=yo(n.index,o);return new Di(g,g)}return 47&n.type?new Di(o[gr],o):null}(Ta(),ii(),16==(16&n))}class mb{constructor(){}supports(o){return H_(o)}create(o){return new RT(o)}}const PT=(n,o)=>o;class RT{constructor(o){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=o||PT}forEachItem(o){let l;for(l=this._itHead;null!==l;l=l._next)o(l)}forEachOperation(o){let l=this._itHead,g=this._removalsHead,I=0,S=null;for(;l||g;){const G=!g||l&&l.currentIndex{G=this._trackByFn(I,ie),null!==l&&Object.is(l.trackById,G)?(g&&(l=this._verifyReinsertion(l,ie,G,I)),Object.is(l.item,ie)||this._addIdentityChange(l,ie)):(l=this._mismatch(l,ie,G,I),g=!0),l=l._next,I++}),this.length=I;return this._truncate(l),this.collection=o,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let o;for(o=this._previousItHead=this._itHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._additionsHead;null!==o;o=o._nextAdded)o.previousIndex=o.currentIndex;for(this._additionsHead=this._additionsTail=null,o=this._movesHead;null!==o;o=o._nextMoved)o.previousIndex=o.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(o,l,g,I){let S;return null===o?S=this._itTail:(S=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null))?(Object.is(o.item,l)||this._addIdentityChange(o,l),this._reinsertAfter(o,S,I)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(g,I))?(Object.is(o.item,l)||this._addIdentityChange(o,l),this._moveAfter(o,S,I)):o=this._addAfter(new NT(l,g),S,I),o}_verifyReinsertion(o,l,g,I){let S=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null);return null!==S?o=this._reinsertAfter(S,o._prev,I):o.currentIndex!=I&&(o.currentIndex=I,this._addToMoves(o,I)),o}_truncate(o){for(;null!==o;){const l=o._next;this._addToRemovals(this._unlink(o)),o=l}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(o,l,g){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const I=o._prevRemoved,S=o._nextRemoved;return null===I?this._removalsHead=S:I._nextRemoved=S,null===S?this._removalsTail=I:S._prevRemoved=I,this._insertAfter(o,l,g),this._addToMoves(o,g),o}_moveAfter(o,l,g){return this._unlink(o),this._insertAfter(o,l,g),this._addToMoves(o,g),o}_addAfter(o,l,g){return this._insertAfter(o,l,g),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,l,g){const I=null===l?this._itHead:l._next;return o._next=I,o._prev=l,null===I?this._itTail=o:I._prev=o,null===l?this._itHead=o:l._next=o,null===this._linkedRecords&&(this._linkedRecords=new _b),this._linkedRecords.put(o),o.currentIndex=g,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const l=o._prev,g=o._next;return null===l?this._itHead=g:l._next=g,null===g?this._itTail=l:g._prev=l,o}_addToMoves(o,l){return o.previousIndex===l||(this._movesTail=null===this._movesTail?this._movesHead=o:this._movesTail._nextMoved=o),o}_addToRemovals(o){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _b),this._unlinkedRecords.put(o),o.currentIndex=null,o._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=o,o._prevRemoved=null):(o._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=o),o}_addIdentityChange(o,l){return o.item=l,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=o:this._identityChangesTail._nextIdentityChange=o,o}}class NT{constructor(o,l){this.item=o,this.trackById=l,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 FT{constructor(){this._head=null,this._tail=null}add(o){null===this._head?(this._head=this._tail=o,o._nextDup=null,o._prevDup=null):(this._tail._nextDup=o,o._prevDup=this._tail,o._nextDup=null,this._tail=o)}get(o,l){let g;for(g=this._head;null!==g;g=g._nextDup)if((null===l||l<=g.currentIndex)&&Object.is(g.trackById,o))return g;return null}remove(o){const l=o._prevDup,g=o._nextDup;return null===l?this._head=g:l._nextDup=g,null===g?this._tail=l:g._prevDup=l,null===this._head}}class _b{constructor(){this.map=new Map}put(o){const l=o.trackById;let g=this.map.get(l);g||(g=new FT,this.map.set(l,g)),g.add(o)}get(o,l){const I=this.map.get(o);return I?I.get(o,l):null}remove(o){const l=o.trackById;return this.map.get(l).remove(o)&&this.map.delete(l),o}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Cb(n,o,l){const g=n.previousIndex;if(null===g)return g;let I=0;return l&&g{if(l&&l.key===I)this._maybeAddToChanges(l,g),this._appendAfter=l,l=l._next;else{const S=this._getOrCreateRecordForKey(I,g);l=this._insertBeforeOrAppend(l,S)}}),l){l._prev&&(l._prev._next=null),this._removalsHead=l;for(let g=l;null!==g;g=g._nextRemoved)g===this._mapHead&&(this._mapHead=null),this._records.delete(g.key),g._nextRemoved=g._next,g.previousValue=g.currentValue,g.currentValue=null,g._prev=null,g._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,l){if(o){const g=o._prev;return l._next=o,l._prev=g,o._prev=l,g&&(g._next=l),o===this._mapHead&&(this._mapHead=l),this._appendAfter=o,o}return this._appendAfter?(this._appendAfter._next=l,l._prev=this._appendAfter):this._mapHead=l,this._appendAfter=l,null}_getOrCreateRecordForKey(o,l){if(this._records.has(o)){const I=this._records.get(o);this._maybeAddToChanges(I,l);const S=I._prev,G=I._next;return S&&(S._next=G),G&&(G._prev=S),I._next=null,I._prev=null,I}const g=new BT(o);return this._records.set(o,g),g.currentValue=l,this._addToAdditions(g),g}_reset(){if(this.isDirty){let o;for(this._previousMapHead=this._mapHead,o=this._previousMapHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._changesHead;null!==o;o=o._nextChanged)o.previousValue=o.currentValue;for(o=this._additionsHead;null!=o;o=o._nextAdded)o.previousValue=o.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(o,l){Object.is(l,o.currentValue)||(o.previousValue=o.currentValue,o.currentValue=l,this._addToChanges(o))}_addToAdditions(o){null===this._additionsHead?this._additionsHead=this._additionsTail=o:(this._additionsTail._nextAdded=o,this._additionsTail=o)}_addToChanges(o){null===this._changesHead?this._changesHead=this._changesTail=o:(this._changesTail._nextChanged=o,this._changesTail=o)}_forEach(o,l){o instanceof Map?o.forEach(l):Object.keys(o).forEach(g=>l(o[g],g))}}class BT{constructor(o){this.key=o,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 Ab(){return new TI([new mb])}let TI=(()=>{class n{static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:Ab});constructor(l){this.factories=l}static create(l,g){if(null!=g){const I=g.factories.slice();l=l.concat(I)}return new n(l)}static extend(l){return{provide:n,useFactory:g=>n.create(l,g||Ab()),deps:[[n,new Nd,new Rd]]}}find(l){const g=this.factories.find(I=>I.supports(l));if(null!=g)return g;throw new V(901,!1)}}return n})();function Ib(){return new EI([new vb])}let EI=(()=>{class n{static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:Ib});constructor(l){this.factories=l}static create(l,g){if(g){const I=g.factories.slice();l=l.concat(I)}return new n(l)}static extend(l){return{provide:n,useFactory:g=>n.create(l,g||Ib()),deps:[[n,new Nd,new Rd]]}}find(l){const g=this.factories.find(I=>I.supports(l));if(g)return g;throw new V(901,!1)}}return n})();const jT=rb(null,"core",[]);let zT=(()=>{class n{constructor(l){}static#e=this.\u0275fac=function(g){return new(g||n)(Ri(C0))};static#t=this.\u0275mod=_s({type:n});static#n=this.\u0275inj=di({})}return n})();function eE(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function nE(n){const o=Cr(n);if(!o)return null;const l=new lo(o);return{get selector(){return l.selector},get type(){return l.componentType},get inputs(){return l.inputs},get outputs(){return l.outputs},get ngContentSelectors(){return l.ngContentSelectors},get isStandalone(){return o.standalone},get isSignal(){return o.signals}}}},2133:(lt,_e,m)=>{"use strict";m.d(_e,{Wl:()=>Oe,gN:()=>Ot,Fj:()=>V,Oe:()=>ia,qu:()=>yl,NI:()=>Tt,oH:()=>Ma,u:()=>os,cw:()=>Ri,sg:()=>_i,u5:()=>_l,nD:()=>Qs,Fd:()=>Ia,qQ:()=>fa,Cf:()=>oe,JU:()=>X,JJ:()=>xt,JL:()=>cn,On:()=>ko,YN:()=>Aa,wV:()=>er,eT:()=>ha,UX:()=>ya,Q7:()=>io,EJ:()=>Mo,kI:()=>Ge,_Y:()=>da,Kr:()=>Zr});var i=m(755),t=m(6733),A=m(3489),a=m(8132),y=m(6632),C=m(6974),b=m(8197),F=m(134),j=m(5993),N=m(2713),H=m(2425);let k=(()=>{class Ne{constructor(Ce,ut){this._renderer=Ce,this._elementRef=ut,this.onChange=Zt=>{},this.onTouched=()=>{}}setProperty(Ce,ut){this._renderer.setProperty(this._elementRef.nativeElement,Ce,ut)}registerOnTouched(Ce){this.onTouched=Ce}registerOnChange(Ce){this.onChange=Ce}setDisabledState(Ce){this.setProperty("disabled",Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.Qsj),i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:Ne})}return Ne})(),P=(()=>{class Ne extends k{static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,features:[i.qOj]})}return Ne})();const X=new i.OlP("NgValueAccessor"),me={provide:X,useExisting:(0,i.Gpc)(()=>Oe),multi:!0};let Oe=(()=>{class Ne extends P{writeValue(Ce){this.setProperty("checked",Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("change",function(lr){return Zt.onChange(lr.target.checked)})("blur",function(){return Zt.onTouched()})},features:[i._Bn([me]),i.qOj]})}return Ne})();const Se={provide:X,useExisting:(0,i.Gpc)(()=>V),multi:!0},K=new i.OlP("CompositionEventMode");let V=(()=>{class Ne extends k{constructor(Ce,ut,Zt){super(Ce,ut),this._compositionMode=Zt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function wt(){const Ne=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(Ne.toLowerCase())}())}writeValue(Ce){this.setProperty("value",Ce??"")}_handleInput(Ce){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ce)}_compositionStart(){this._composing=!0}_compositionEnd(Ce){this._composing=!1,this._compositionMode&&this.onChange(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(K,8))};static#t=this.\u0275dir=i.lG2({type:Ne,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(ut,Zt){1&ut&&i.NdJ("input",function(lr){return Zt._handleInput(lr.target.value)})("blur",function(){return Zt.onTouched()})("compositionstart",function(){return Zt._compositionStart()})("compositionend",function(lr){return Zt._compositionEnd(lr.target.value)})},features:[i._Bn([Se]),i.qOj]})}return Ne})();function J(Ne){return null==Ne||("string"==typeof Ne||Array.isArray(Ne))&&0===Ne.length}function ae(Ne){return null!=Ne&&"number"==typeof Ne.length}const oe=new i.OlP("NgValidators"),ye=new i.OlP("NgAsyncValidators"),Ee=/^(?=.{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 Ge{static min(ze){return gt(ze)}static max(ze){return Ze(ze)}static required(ze){return Je(ze)}static requiredTrue(ze){return function tt(Ne){return!0===Ne.value?null:{required:!0}}(ze)}static email(ze){return function Qe(Ne){return J(Ne.value)||Ee.test(Ne.value)?null:{email:!0}}(ze)}static minLength(ze){return function pt(Ne){return ze=>J(ze.value)||!ae(ze.value)?null:ze.value.length{if(J(ut.value))return null;const Zt=ut.value;return ze.test(Zt)?null:{pattern:{requiredPattern:Ce,actualValue:Zt}}}}(ze)}static nullValidator(ze){return null}static compose(ze){return yt(ze)}static composeAsync(ze){return xn(ze)}}function gt(Ne){return ze=>{if(J(ze.value)||J(Ne))return null;const Ce=parseFloat(ze.value);return!isNaN(Ce)&&Ce{if(J(ze.value)||J(Ne))return null;const Ce=parseFloat(ze.value);return!isNaN(Ce)&&Ce>Ne?{max:{max:Ne,actual:ze.value}}:null}}function Je(Ne){return J(Ne.value)?{required:!0}:null}function Nt(Ne){return ze=>ae(ze.value)&&ze.value.length>Ne?{maxlength:{requiredLength:Ne,actualLength:ze.value.length}}:null}function nt(Ne){return null}function ot(Ne){return null!=Ne}function Ct(Ne){return(0,i.QGY)(Ne)?(0,A.D)(Ne):Ne}function He(Ne){let ze={};return Ne.forEach(Ce=>{ze=null!=Ce?{...ze,...Ce}:ze}),0===Object.keys(ze).length?null:ze}function mt(Ne,ze){return ze.map(Ce=>Ce(Ne))}function hn(Ne){return Ne.map(ze=>function vt(Ne){return!Ne.validate}(ze)?ze:Ce=>ze.validate(Ce))}function yt(Ne){if(!Ne)return null;const ze=Ne.filter(ot);return 0==ze.length?null:function(Ce){return He(mt(Ce,ze))}}function Fn(Ne){return null!=Ne?yt(hn(Ne)):null}function xn(Ne){if(!Ne)return null;const ze=Ne.filter(ot);return 0==ze.length?null:function(Ce){return function x(...Ne){const ze=(0,b.jO)(Ne),{args:Ce,keys:ut}=(0,y.D)(Ne),Zt=new a.y(Yi=>{const{length:lr}=Ce;if(!lr)return void Yi.complete();const ro=new Array(lr);let Xs=lr,Jo=lr;for(let Qo=0;Qo{ga||(ga=!0,Jo--),ro[Qo]=Ts},()=>Xs--,void 0,()=>{(!Xs||!ga)&&(Jo||Yi.next(ut?(0,N.n)(ut,ro):ro),Yi.complete())}))}});return ze?Zt.pipe((0,j.Z)(ze)):Zt}(mt(Ce,ze).map(Ct)).pipe((0,H.U)(He))}}function In(Ne){return null!=Ne?xn(hn(Ne)):null}function dn(Ne,ze){return null===Ne?[ze]:Array.isArray(Ne)?[...Ne,ze]:[Ne,ze]}function qn(Ne){return Ne._rawValidators}function di(Ne){return Ne._rawAsyncValidators}function ir(Ne){return Ne?Array.isArray(Ne)?Ne:[Ne]:[]}function Bn(Ne,ze){return Array.isArray(Ne)?Ne.includes(ze):Ne===ze}function xi(Ne,ze){const Ce=ir(ze);return ir(Ne).forEach(Zt=>{Bn(Ce,Zt)||Ce.push(Zt)}),Ce}function fi(Ne,ze){return ir(ze).filter(Ce=>!Bn(Ne,Ce))}class Mt{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(ze){this._rawValidators=ze||[],this._composedValidatorFn=Fn(this._rawValidators)}_setAsyncValidators(ze){this._rawAsyncValidators=ze||[],this._composedAsyncValidatorFn=In(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ze){this._onDestroyCallbacks.push(ze)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ze=>ze()),this._onDestroyCallbacks=[]}reset(ze=void 0){this.control&&this.control.reset(ze)}hasError(ze,Ce){return!!this.control&&this.control.hasError(ze,Ce)}getError(ze,Ce){return this.control?this.control.getError(ze,Ce):null}}class Ot extends Mt{get formDirective(){return null}get path(){return null}}class ve extends Mt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class De{constructor(ze){this._cd=ze}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 xt=(()=>{class Ne extends De{constructor(Ce){super(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(ve,2))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ut,Zt){2&ut&&i.ekj("ng-untouched",Zt.isUntouched)("ng-touched",Zt.isTouched)("ng-pristine",Zt.isPristine)("ng-dirty",Zt.isDirty)("ng-valid",Zt.isValid)("ng-invalid",Zt.isInvalid)("ng-pending",Zt.isPending)},features:[i.qOj]})}return Ne})(),cn=(()=>{class Ne extends De{constructor(Ce){super(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(Ot,10))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ut,Zt){2&ut&&i.ekj("ng-untouched",Zt.isUntouched)("ng-touched",Zt.isTouched)("ng-pristine",Zt.isPristine)("ng-dirty",Zt.isDirty)("ng-valid",Zt.isValid)("ng-invalid",Zt.isInvalid)("ng-pending",Zt.isPending)("ng-submitted",Zt.isSubmitted)},features:[i.qOj]})}return Ne})();const ln="VALID",Yt="INVALID",li="PENDING",Qr="DISABLED";function Sr(Ne){return(Bt(Ne)?Ne.validators:Ne)||null}function sn(Ne,ze){return(Bt(ze)?ze.asyncValidators:Ne)||null}function Bt(Ne){return null!=Ne&&!Array.isArray(Ne)&&"object"==typeof Ne}function bn(Ne,ze,Ce){const ut=Ne.controls;if(!(ze?Object.keys(ut):ut).length)throw new i.vHH(1e3,"");if(!ut[Ce])throw new i.vHH(1001,"")}function mi(Ne,ze,Ce){Ne._forEachChild((ut,Zt)=>{if(void 0===Ce[Zt])throw new i.vHH(1002,"")})}class rr{constructor(ze,Ce){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ze),this._assignAsyncValidators(Ce)}get validator(){return this._composedValidatorFn}set validator(ze){this._rawValidators=this._composedValidatorFn=ze}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ze){this._rawAsyncValidators=this._composedAsyncValidatorFn=ze}get parent(){return this._parent}get valid(){return this.status===ln}get invalid(){return this.status===Yt}get pending(){return this.status==li}get disabled(){return this.status===Qr}get enabled(){return this.status!==Qr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ze){this._assignValidators(ze)}setAsyncValidators(ze){this._assignAsyncValidators(ze)}addValidators(ze){this.setValidators(xi(ze,this._rawValidators))}addAsyncValidators(ze){this.setAsyncValidators(xi(ze,this._rawAsyncValidators))}removeValidators(ze){this.setValidators(fi(ze,this._rawValidators))}removeAsyncValidators(ze){this.setAsyncValidators(fi(ze,this._rawAsyncValidators))}hasValidator(ze){return Bn(this._rawValidators,ze)}hasAsyncValidator(ze){return Bn(this._rawAsyncValidators,ze)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ze={}){this.touched=!0,this._parent&&!ze.onlySelf&&this._parent.markAsTouched(ze)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ze=>ze.markAllAsTouched())}markAsUntouched(ze={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ce=>{Ce.markAsUntouched({onlySelf:!0})}),this._parent&&!ze.onlySelf&&this._parent._updateTouched(ze)}markAsDirty(ze={}){this.pristine=!1,this._parent&&!ze.onlySelf&&this._parent.markAsDirty(ze)}markAsPristine(ze={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ce=>{Ce.markAsPristine({onlySelf:!0})}),this._parent&&!ze.onlySelf&&this._parent._updatePristine(ze)}markAsPending(ze={}){this.status=li,!1!==ze.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ze.onlySelf&&this._parent.markAsPending(ze)}disable(ze={}){const Ce=this._parentMarkedDirty(ze.onlySelf);this.status=Qr,this.errors=null,this._forEachChild(ut=>{ut.disable({...ze,onlySelf:!0})}),this._updateValue(),!1!==ze.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ze,skipPristineCheck:Ce}),this._onDisabledChange.forEach(ut=>ut(!0))}enable(ze={}){const Ce=this._parentMarkedDirty(ze.onlySelf);this.status=ln,this._forEachChild(ut=>{ut.enable({...ze,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ze.emitEvent}),this._updateAncestors({...ze,skipPristineCheck:Ce}),this._onDisabledChange.forEach(ut=>ut(!1))}_updateAncestors(ze){this._parent&&!ze.onlySelf&&(this._parent.updateValueAndValidity(ze),ze.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ze){this._parent=ze}getRawValue(){return this.value}updateValueAndValidity(ze={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ln||this.status===li)&&this._runAsyncValidator(ze.emitEvent)),!1!==ze.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ze.onlySelf&&this._parent.updateValueAndValidity(ze)}_updateTreeValidity(ze={emitEvent:!0}){this._forEachChild(Ce=>Ce._updateTreeValidity(ze)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ze.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Qr:ln}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ze){if(this.asyncValidator){this.status=li,this._hasOwnPendingAsyncValidator=!0;const Ce=Ct(this.asyncValidator(this));this._asyncValidationSubscription=Ce.subscribe(ut=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ut,{emitEvent:ze})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ze,Ce={}){this.errors=ze,this._updateControlsErrors(!1!==Ce.emitEvent)}get(ze){let Ce=ze;return null==Ce||(Array.isArray(Ce)||(Ce=Ce.split(".")),0===Ce.length)?null:Ce.reduce((ut,Zt)=>ut&&ut._find(Zt),this)}getError(ze,Ce){const ut=Ce?this.get(Ce):this;return ut&&ut.errors?ut.errors[ze]:null}hasError(ze,Ce){return!!this.getError(ze,Ce)}get root(){let ze=this;for(;ze._parent;)ze=ze._parent;return ze}_updateControlsErrors(ze){this.status=this._calculateStatus(),ze&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ze)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Qr:this.errors?Yt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(li)?li:this._anyControlsHaveStatus(Yt)?Yt:ln}_anyControlsHaveStatus(ze){return this._anyControls(Ce=>Ce.status===ze)}_anyControlsDirty(){return this._anyControls(ze=>ze.dirty)}_anyControlsTouched(){return this._anyControls(ze=>ze.touched)}_updatePristine(ze={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ze.onlySelf&&this._parent._updatePristine(ze)}_updateTouched(ze={}){this.touched=this._anyControlsTouched(),this._parent&&!ze.onlySelf&&this._parent._updateTouched(ze)}_registerOnCollectionChange(ze){this._onCollectionChange=ze}_setUpdateStrategy(ze){Bt(ze)&&null!=ze.updateOn&&(this._updateOn=ze.updateOn)}_parentMarkedDirty(ze){return!ze&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ze){return null}_assignValidators(ze){this._rawValidators=Array.isArray(ze)?ze.slice():ze,this._composedValidatorFn=function Pn(Ne){return Array.isArray(Ne)?Fn(Ne):Ne||null}(this._rawValidators)}_assignAsyncValidators(ze){this._rawAsyncValidators=Array.isArray(ze)?ze.slice():ze,this._composedAsyncValidatorFn=function Rt(Ne){return Array.isArray(Ne)?In(Ne):Ne||null}(this._rawAsyncValidators)}}class Ri extends rr{constructor(ze,Ce,ut){super(Sr(Ce),sn(ut,Ce)),this.controls=ze,this._initObservables(),this._setUpdateStrategy(Ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ze,Ce){return this.controls[ze]?this.controls[ze]:(this.controls[ze]=Ce,Ce.setParent(this),Ce._registerOnCollectionChange(this._onCollectionChange),Ce)}addControl(ze,Ce,ut={}){this.registerControl(ze,Ce),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}removeControl(ze,Ce={}){this.controls[ze]&&this.controls[ze]._registerOnCollectionChange(()=>{}),delete this.controls[ze],this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}setControl(ze,Ce,ut={}){this.controls[ze]&&this.controls[ze]._registerOnCollectionChange(()=>{}),delete this.controls[ze],Ce&&this.registerControl(ze,Ce),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}contains(ze){return this.controls.hasOwnProperty(ze)&&this.controls[ze].enabled}setValue(ze,Ce={}){mi(this,0,ze),Object.keys(ze).forEach(ut=>{bn(this,!0,ut),this.controls[ut].setValue(ze[ut],{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce)}patchValue(ze,Ce={}){null!=ze&&(Object.keys(ze).forEach(ut=>{const Zt=this.controls[ut];Zt&&Zt.patchValue(ze[ut],{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce))}reset(ze={},Ce={}){this._forEachChild((ut,Zt)=>{ut.reset(ze?ze[Zt]:null,{onlySelf:!0,emitEvent:Ce.emitEvent})}),this._updatePristine(Ce),this._updateTouched(Ce),this.updateValueAndValidity(Ce)}getRawValue(){return this._reduceChildren({},(ze,Ce,ut)=>(ze[ut]=Ce.getRawValue(),ze))}_syncPendingControls(){let ze=this._reduceChildren(!1,(Ce,ut)=>!!ut._syncPendingControls()||Ce);return ze&&this.updateValueAndValidity({onlySelf:!0}),ze}_forEachChild(ze){Object.keys(this.controls).forEach(Ce=>{const ut=this.controls[Ce];ut&&ze(ut,Ce)})}_setUpControls(){this._forEachChild(ze=>{ze.setParent(this),ze._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ze){for(const[Ce,ut]of Object.entries(this.controls))if(this.contains(Ce)&&ze(ut))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ce,ut,Zt)=>((ut.enabled||this.disabled)&&(Ce[Zt]=ut.value),Ce))}_reduceChildren(ze,Ce){let ut=ze;return this._forEachChild((Zt,Yi)=>{ut=Ce(ut,Zt,Yi)}),ut}_allControlsDisabled(){for(const ze of Object.keys(this.controls))if(this.controls[ze].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ze){return this.controls.hasOwnProperty(ze)?this.controls[ze]:null}}class Xe extends Ri{}const ge=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ae}),Ae="always";function it(Ne,ze){return[...ze.path,Ne]}function Ht(Ne,ze,Ce=Ae){pi(Ne,ze),ze.valueAccessor.writeValue(Ne.value),(Ne.disabled||"always"===Ce)&&ze.valueAccessor.setDisabledState?.(Ne.disabled),function Ti(Ne,ze){ze.valueAccessor.registerOnChange(Ce=>{Ne._pendingValue=Ce,Ne._pendingChange=!0,Ne._pendingDirty=!0,"change"===Ne.updateOn&&Hr(Ne,ze)})}(Ne,ze),function ss(Ne,ze){const Ce=(ut,Zt)=>{ze.valueAccessor.writeValue(ut),Zt&&ze.viewToModelUpdate(ut)};Ne.registerOnChange(Ce),ze._registerOnDestroy(()=>{Ne._unregisterOnChange(Ce)})}(Ne,ze),function yi(Ne,ze){ze.valueAccessor.registerOnTouched(()=>{Ne._pendingTouched=!0,"blur"===Ne.updateOn&&Ne._pendingChange&&Hr(Ne,ze),"submit"!==Ne.updateOn&&Ne.markAsTouched()})}(Ne,ze),function Tn(Ne,ze){if(ze.valueAccessor.setDisabledState){const Ce=ut=>{ze.valueAccessor.setDisabledState(ut)};Ne.registerOnDisabledChange(Ce),ze._registerOnDestroy(()=>{Ne._unregisterOnDisabledChange(Ce)})}}(Ne,ze)}function Kt(Ne,ze,Ce=!0){const ut=()=>{};ze.valueAccessor&&(ze.valueAccessor.registerOnChange(ut),ze.valueAccessor.registerOnTouched(ut)),nn(Ne,ze),Ne&&(ze._invokeOnDestroyCallbacks(),Ne._registerOnCollectionChange(()=>{}))}function yn(Ne,ze){Ne.forEach(Ce=>{Ce.registerOnValidatorChange&&Ce.registerOnValidatorChange(ze)})}function pi(Ne,ze){const Ce=qn(Ne);null!==ze.validator?Ne.setValidators(dn(Ce,ze.validator)):"function"==typeof Ce&&Ne.setValidators([Ce]);const ut=di(Ne);null!==ze.asyncValidator?Ne.setAsyncValidators(dn(ut,ze.asyncValidator)):"function"==typeof ut&&Ne.setAsyncValidators([ut]);const Zt=()=>Ne.updateValueAndValidity();yn(ze._rawValidators,Zt),yn(ze._rawAsyncValidators,Zt)}function nn(Ne,ze){let Ce=!1;if(null!==Ne){if(null!==ze.validator){const Zt=qn(Ne);if(Array.isArray(Zt)&&Zt.length>0){const Yi=Zt.filter(lr=>lr!==ze.validator);Yi.length!==Zt.length&&(Ce=!0,Ne.setValidators(Yi))}}if(null!==ze.asyncValidator){const Zt=di(Ne);if(Array.isArray(Zt)&&Zt.length>0){const Yi=Zt.filter(lr=>lr!==ze.asyncValidator);Yi.length!==Zt.length&&(Ce=!0,Ne.setAsyncValidators(Yi))}}}const ut=()=>{};return yn(ze._rawValidators,ut),yn(ze._rawAsyncValidators,ut),Ce}function Hr(Ne,ze){Ne._pendingDirty&&Ne.markAsDirty(),Ne.setValue(Ne._pendingValue,{emitModelToViewChange:!1}),ze.viewToModelUpdate(Ne._pendingValue),Ne._pendingChange=!1}function Nr(Ne,ze){if(!Ne.hasOwnProperty("model"))return!1;const Ce=Ne.model;return!!Ce.isFirstChange()||!Object.is(ze,Ce.currentValue)}function Eo(Ne,ze){if(!ze)return null;let Ce,ut,Zt;return Array.isArray(ze),ze.forEach(Yi=>{Yi.constructor===V?Ce=Yi:function To(Ne){return Object.getPrototypeOf(Ne.constructor)===P}(Yi)?ut=Yi:Zt=Yi}),Zt||ut||Ce||null}function En(Ne,ze){const Ce=Ne.indexOf(ze);Ce>-1&&Ne.splice(Ce,1)}function dt(Ne){return"object"==typeof Ne&&null!==Ne&&2===Object.keys(Ne).length&&"value"in Ne&&"disabled"in Ne}const Tt=class extends rr{constructor(ze=null,Ce,ut){super(Sr(Ce),sn(ut,Ce)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ze),this._setUpdateStrategy(Ce),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bt(Ce)&&(Ce.nonNullable||Ce.initialValueIsDefault)&&(this.defaultValue=dt(ze)?ze.value:ze)}setValue(ze,Ce={}){this.value=this._pendingValue=ze,this._onChange.length&&!1!==Ce.emitModelToViewChange&&this._onChange.forEach(ut=>ut(this.value,!1!==Ce.emitViewToModelChange)),this.updateValueAndValidity(Ce)}patchValue(ze,Ce={}){this.setValue(ze,Ce)}reset(ze=this.defaultValue,Ce={}){this._applyFormState(ze),this.markAsPristine(Ce),this.markAsUntouched(Ce),this.setValue(this.value,Ce),this._pendingChange=!1}_updateValue(){}_anyControls(ze){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ze){this._onChange.push(ze)}_unregisterOnChange(ze){En(this._onChange,ze)}registerOnDisabledChange(ze){this._onDisabledChange.push(ze)}_unregisterOnDisabledChange(ze){En(this._onDisabledChange,ze)}_forEachChild(ze){}_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(ze){dt(ze)?(this.value=this._pendingValue=ze.value,ze.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ze}},na={provide:ve,useExisting:(0,i.Gpc)(()=>ko)},_s=(()=>Promise.resolve())();let ko=(()=>{class Ne extends ve{constructor(Ce,ut,Zt,Yi,lr,ro){super(),this._changeDetectorRef=lr,this.callSetDisabledState=ro,this.control=new Tt,this._registered=!1,this.name="",this.update=new i.vpe,this._parent=Ce,this._setValidators(ut),this._setAsyncValidators(Zt),this.valueAccessor=Eo(0,Yi)}ngOnChanges(Ce){if(this._checkForErrors(),!this._registered||"name"in Ce){if(this._registered&&(this._checkName(),this.formDirective)){const ut=Ce.name.previousValue;this.formDirective.removeControl({name:ut,path:this._getPath(ut)})}this._setUpControl()}"isDisabled"in Ce&&this._updateDisabled(Ce),Nr(Ce,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Ce){this.viewModel=Ce,this.update.emit(Ce)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ht(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ce){_s.then(()=>{this.control.setValue(Ce,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ce){const ut=Ce.isDisabled.currentValue,Zt=0!==ut&&(0,i.VuI)(ut);_s.then(()=>{Zt&&!this.control.disabled?this.control.disable():!Zt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ce){return this._parent?it(Ce,this._parent):[Ce]}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(Ot,9),i.Y36(oe,10),i.Y36(ye,10),i.Y36(X,10),i.Y36(i.sBO,8),i.Y36(ge,8))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([na]),i.qOj,i.TTD]})}return Ne})(),da=(()=>{class Ne{static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Ne})();const Wa={provide:X,useExisting:(0,i.Gpc)(()=>er),multi:!0};let er=(()=>{class Ne extends P{writeValue(Ce){this.setProperty("value",Ce??"")}registerOnChange(Ce){this.onChange=ut=>{Ce(""==ut?null:parseFloat(ut))}}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("input",function(lr){return Zt.onChange(lr.target.value)})("blur",function(){return Zt.onTouched()})},features:[i._Bn([Wa]),i.qOj]})}return Ne})(),br=(()=>{class Ne{static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({})}return Ne})();const gl={provide:X,useExisting:(0,i.Gpc)(()=>ha),multi:!0};let ha=(()=>{class Ne extends P{writeValue(Ce){this.setProperty("value",parseFloat(Ce))}registerOnChange(Ce){this.onChange=ut=>{Ce(""==ut?null:parseFloat(ut))}}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("change",function(lr){return Zt.onChange(lr.target.value)})("input",function(lr){return Zt.onChange(lr.target.value)})("blur",function(){return Zt.onTouched()})},features:[i._Bn([gl]),i.qOj]})}return Ne})();const as=new i.OlP("NgModelWithFormControlWarning"),Na={provide:ve,useExisting:(0,i.Gpc)(()=>Ma)};let Ma=(()=>{class Ne extends ve{set isDisabled(Ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ce,ut,Zt,Yi,lr){super(),this._ngModelWarningConfig=Yi,this.callSetDisabledState=lr,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(Ce),this._setAsyncValidators(ut),this.valueAccessor=Eo(0,Zt)}ngOnChanges(Ce){if(this._isControlChanged(Ce)){const ut=Ce.form.previousValue;ut&&Kt(ut,this,!1),Ht(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Nr(Ce,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Kt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ce){this.viewModel=Ce,this.update.emit(Ce)}_isControlChanged(Ce){return Ce.hasOwnProperty("form")}static#t=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(oe,10),i.Y36(ye,10),i.Y36(X,10),i.Y36(as,8),i.Y36(ge,8))};static#n=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([Na]),i.qOj,i.TTD]})}return Ne})();const Fi={provide:Ot,useExisting:(0,i.Gpc)(()=>_i)};let _i=(()=>{class Ne extends Ot{constructor(Ce,ut,Zt){super(),this.callSetDisabledState=Zt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(Ce),this._setAsyncValidators(ut)}ngOnChanges(Ce){this._checkFormPresent(),Ce.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ce){const ut=this.form.get(Ce.path);return Ht(ut,Ce,this.callSetDisabledState),ut.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ce),ut}getControl(Ce){return this.form.get(Ce.path)}removeControl(Ce){Kt(Ce.control||null,Ce,!1),function wo(Ne,ze){const Ce=Ne.indexOf(ze);Ce>-1&&Ne.splice(Ce,1)}(this.directives,Ce)}addFormGroup(Ce){this._setUpFormContainer(Ce)}removeFormGroup(Ce){this._cleanUpFormContainer(Ce)}getFormGroup(Ce){return this.form.get(Ce.path)}addFormArray(Ce){this._setUpFormContainer(Ce)}removeFormArray(Ce){this._cleanUpFormContainer(Ce)}getFormArray(Ce){return this.form.get(Ce.path)}updateModel(Ce,ut){this.form.get(Ce.path).setValue(ut)}onSubmit(Ce){return this.submitted=!0,function Bs(Ne,ze){Ne._syncPendingControls(),ze.forEach(Ce=>{const ut=Ce.control;"submit"===ut.updateOn&&ut._pendingChange&&(Ce.viewToModelUpdate(ut._pendingValue),ut._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(Ce),"dialog"===Ce?.target?.method}onReset(){this.resetForm()}resetForm(Ce=void 0){this.form.reset(Ce),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ce=>{const ut=Ce.control,Zt=this.form.get(Ce.path);ut!==Zt&&(Kt(ut||null,Ce),(Ne=>Ne instanceof Tt)(Zt)&&(Ht(Zt,Ce,this.callSetDisabledState),Ce.control=Zt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ce){const ut=this.form.get(Ce.path);(function wr(Ne,ze){pi(Ne,ze)})(ut,Ce),ut.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ce){if(this.form){const ut=this.form.get(Ce.path);ut&&function Ki(Ne,ze){return nn(Ne,ze)}(ut,Ce)&&ut.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){pi(this.form,this),this._oldForm&&nn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(oe,10),i.Y36(ye,10),i.Y36(ge,8))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formGroup",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("submit",function(lr){return Zt.onSubmit(lr)})("reset",function(){return Zt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Fi]),i.qOj,i.TTD]})}return Ne})();const Vr={provide:ve,useExisting:(0,i.Gpc)(()=>os)};let os=(()=>{class Ne extends ve{set isDisabled(Ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ce,ut,Zt,Yi,lr){super(),this._ngModelWarningConfig=lr,this._added=!1,this.name=null,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=Ce,this._setValidators(ut),this._setAsyncValidators(Zt),this.valueAccessor=Eo(0,Yi)}ngOnChanges(Ce){this._added||this._setUpControl(),Nr(Ce,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ce){this.viewModel=Ce,this.update.emit(Ce)}get path(){return it(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}static#t=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(Ot,13),i.Y36(oe,10),i.Y36(ye,10),i.Y36(X,10),i.Y36(as,8))};static#n=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Vr]),i.qOj,i.TTD]})}return Ne})();const $o={provide:X,useExisting:(0,i.Gpc)(()=>Mo),multi:!0};function Ko(Ne,ze){return null==Ne?`${ze}`:(ze&&"object"==typeof ze&&(ze="Object"),`${Ne}: ${ze}`.slice(0,50))}let Mo=(()=>{class Ne extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ce){this._compareWith=Ce}writeValue(Ce){this.value=Ce;const Zt=Ko(this._getOptionId(Ce),Ce);this.setProperty("value",Zt)}registerOnChange(Ce){this.onChange=ut=>{this.value=this._getOptionValue(ut),Ce(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Ce){for(const ut of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ut),Ce))return ut;return null}_getOptionValue(Ce){const ut=function Rn(Ne){return Ne.split(":")[0]}(Ce);return this._optionMap.has(ut)?this._optionMap.get(ut):Ce}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("change",function(lr){return Zt.onChange(lr.target.value)})("blur",function(){return Zt.onTouched()})},inputs:{compareWith:"compareWith"},features:[i._Bn([$o]),i.qOj]})}return Ne})(),Aa=(()=>{class Ne{constructor(Ce,ut,Zt){this._element=Ce,this._renderer=ut,this._select=Zt,this._select&&(this.id=this._select._registerOption())}set ngValue(Ce){null!=this._select&&(this._select._optionMap.set(this.id,Ce),this._setElementValue(Ko(this.id,Ce)),this._select.writeValue(this._select.value))}set value(Ce){this._setElementValue(Ce),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Ce){this._renderer.setProperty(this._element.nativeElement,"value",Ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Mo,9))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ne})();const Xr={provide:X,useExisting:(0,i.Gpc)(()=>Mr),multi:!0};function gr(Ne,ze){return null==Ne?`${ze}`:("string"==typeof ze&&(ze=`'${ze}'`),ze&&"object"==typeof ze&&(ze="Object"),`${Ne}: ${ze}`.slice(0,50))}let Mr=(()=>{class Ne extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ce){this._compareWith=Ce}writeValue(Ce){let ut;if(this.value=Ce,Array.isArray(Ce)){const Zt=Ce.map(Yi=>this._getOptionId(Yi));ut=(Yi,lr)=>{Yi._setSelected(Zt.indexOf(lr.toString())>-1)}}else ut=(Zt,Yi)=>{Zt._setSelected(!1)};this._optionMap.forEach(ut)}registerOnChange(Ce){this.onChange=ut=>{const Zt=[],Yi=ut.selectedOptions;if(void 0!==Yi){const lr=Yi;for(let ro=0;ro{class Ne{constructor(Ce,ut,Zt){this._element=Ce,this._renderer=ut,this._select=Zt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Ce){null!=this._select&&(this._value=Ce,this._setElementValue(gr(this.id,Ce)),this._select.writeValue(this._select.value))}set value(Ce){this._select?(this._value=Ce,this._setElementValue(gr(this.id,Ce)),this._select.writeValue(this._select.value)):this._setElementValue(Ce)}_setElementValue(Ce){this._renderer.setProperty(this._element.nativeElement,"value",Ce)}_setSelected(Ce){this._renderer.setProperty(this._element.nativeElement,"selected",Ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Mr,9))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ne})();function uo(Ne){return"number"==typeof Ne?Ne:parseFloat(Ne)}let Oo=(()=>{class Ne{constructor(){this._validator=nt}ngOnChanges(Ce){if(this.inputName in Ce){const ut=this.normalizeInput(Ce[this.inputName].currentValue);this._enabled=this.enabled(ut),this._validator=this._enabled?this.createValidator(ut):nt,this._onChange&&this._onChange()}}validate(Ce){return this._validator(Ce)}registerOnValidatorChange(Ce){this._onChange=Ce}enabled(Ce){return null!=Ce}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275dir=i.lG2({type:Ne,features:[i.TTD]})}return Ne})();const Js={provide:oe,useExisting:(0,i.Gpc)(()=>Ia),multi:!0};let Ia=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ce=>uo(Ce),this.createValidator=Ce=>Ze(Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("max",Zt._enabled?Zt.max:null)},inputs:{max:"max"},features:[i._Bn([Js]),i.qOj]})}return Ne})();const xr={provide:oe,useExisting:(0,i.Gpc)(()=>fa),multi:!0};let fa=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ce=>uo(Ce),this.createValidator=Ce=>gt(Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("min",Zt._enabled?Zt.min:null)},inputs:{min:"min"},features:[i._Bn([xr]),i.qOj]})}return Ne})();const Kl={provide:oe,useExisting:(0,i.Gpc)(()=>io),multi:!0};let io=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=i.VuI,this.createValidator=Ce=>Je}enabled(Ce){return Ce}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("required",Zt._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([Kl]),i.qOj]})}return Ne})();const Lr={provide:oe,useExisting:(0,i.Gpc)(()=>Qs),multi:!0};let Qs=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Ce=>function Ji(Ne){return"number"==typeof Ne?Ne:parseInt(Ne,10)}(Ce),this.createValidator=Ce=>Nt(Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("maxlength",Zt._enabled?Zt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([Lr]),i.qOj]})}return Ne})(),nl=(()=>{class Ne{static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[br]})}return Ne})();class ia extends rr{constructor(ze,Ce,ut){super(Sr(Ce),sn(ut,Ce)),this.controls=ze,this._initObservables(),this._setUpdateStrategy(Ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ze){return this.controls[this._adjustIndex(ze)]}push(ze,Ce={}){this.controls.push(ze),this._registerControl(ze),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}insert(ze,Ce,ut={}){this.controls.splice(ze,0,Ce),this._registerControl(Ce),this.updateValueAndValidity({emitEvent:ut.emitEvent})}removeAt(ze,Ce={}){let ut=this._adjustIndex(ze);ut<0&&(ut=0),this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),this.controls.splice(ut,1),this.updateValueAndValidity({emitEvent:Ce.emitEvent})}setControl(ze,Ce,ut={}){let Zt=this._adjustIndex(ze);Zt<0&&(Zt=0),this.controls[Zt]&&this.controls[Zt]._registerOnCollectionChange(()=>{}),this.controls.splice(Zt,1),Ce&&(this.controls.splice(Zt,0,Ce),this._registerControl(Ce)),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ze,Ce={}){mi(this,0,ze),ze.forEach((ut,Zt)=>{bn(this,!1,Zt),this.at(Zt).setValue(ut,{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce)}patchValue(ze,Ce={}){null!=ze&&(ze.forEach((ut,Zt)=>{this.at(Zt)&&this.at(Zt).patchValue(ut,{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce))}reset(ze=[],Ce={}){this._forEachChild((ut,Zt)=>{ut.reset(ze[Zt],{onlySelf:!0,emitEvent:Ce.emitEvent})}),this._updatePristine(Ce),this._updateTouched(Ce),this.updateValueAndValidity(Ce)}getRawValue(){return this.controls.map(ze=>ze.getRawValue())}clear(ze={}){this.controls.length<1||(this._forEachChild(Ce=>Ce._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ze.emitEvent}))}_adjustIndex(ze){return ze<0?ze+this.length:ze}_syncPendingControls(){let ze=this.controls.reduce((Ce,ut)=>!!ut._syncPendingControls()||Ce,!1);return ze&&this.updateValueAndValidity({onlySelf:!0}),ze}_forEachChild(ze){this.controls.forEach((Ce,ut)=>{ze(Ce,ut)})}_updateValue(){this.value=this.controls.filter(ze=>ze.enabled||this.disabled).map(ze=>ze.value)}_anyControls(ze){return this.controls.some(Ce=>Ce.enabled&&ze(Ce))}_setUpControls(){this._forEachChild(ze=>this._registerControl(ze))}_allControlsDisabled(){for(const ze of this.controls)if(ze.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ze){ze.setParent(this),ze._registerOnCollectionChange(this._onCollectionChange)}_find(ze){return this.at(ze)??null}}function ml(Ne){return!!Ne&&(void 0!==Ne.asyncValidators||void 0!==Ne.validators||void 0!==Ne.updateOn)}let yl=(()=>{class Ne{constructor(){this.useNonNullable=!1}get nonNullable(){const Ce=new Ne;return Ce.useNonNullable=!0,Ce}group(Ce,ut=null){const Zt=this._reduceControls(Ce);let Yi={};return ml(ut)?Yi=ut:null!==ut&&(Yi.validators=ut.validator,Yi.asyncValidators=ut.asyncValidator),new Ri(Zt,Yi)}record(Ce,ut=null){const Zt=this._reduceControls(Ce);return new Xe(Zt,ut)}control(Ce,ut,Zt){let Yi={};return this.useNonNullable?(ml(ut)?Yi=ut:(Yi.validators=ut,Yi.asyncValidators=Zt),new Tt(Ce,{...Yi,nonNullable:!0})):new Tt(Ce,ut,Zt)}array(Ce,ut,Zt){const Yi=Ce.map(lr=>this._createControl(lr));return new ia(Yi,ut,Zt)}_reduceControls(Ce){const ut={};return Object.keys(Ce).forEach(Zt=>{ut[Zt]=this._createControl(Ce[Zt])}),ut}_createControl(Ce){return Ce instanceof Tt||Ce instanceof rr?Ce:Array.isArray(Ce)?this.control(Ce[0],Ce.length>1?Ce[1]:null,Ce.length>2?Ce[2]:null):this.control(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275prov=i.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),_l=(()=>{class Ne{static withConfig(Ce){return{ngModule:Ne,providers:[{provide:ge,useValue:Ce.callSetDisabledState??Ae}]}}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[nl]})}return Ne})(),ya=(()=>{class Ne{static withConfig(Ce){return{ngModule:Ne,providers:[{provide:as,useValue:Ce.warnOnNgModelWithFormControl??"always"},{provide:ge,useValue:Ce.callSetDisabledState??Ae}]}}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[nl]})}return Ne})()},3232:(lt,_e,m)=>{"use strict";m.d(_e,{Dx:()=>ve,H7:()=>Do,b2:()=>Bn,q6:()=>dn,se:()=>Ee});var i=m(755),t=m(6733);class A extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class a extends A{static makeCurrent(){(0,t.HT)(new a)}onAndCancel(sn,Rt,Bt){return sn.addEventListener(Rt,Bt),()=>{sn.removeEventListener(Rt,Bt)}}dispatchEvent(sn,Rt){sn.dispatchEvent(Rt)}remove(sn){sn.parentNode&&sn.parentNode.removeChild(sn)}createElement(sn,Rt){return(Rt=Rt||this.getDefaultDocument()).createElement(sn)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(sn){return sn.nodeType===Node.ELEMENT_NODE}isShadowRoot(sn){return sn instanceof DocumentFragment}getGlobalEventTarget(sn,Rt){return"window"===Rt?window:"document"===Rt?sn:"body"===Rt?sn.body:null}getBaseHref(sn){const Rt=function C(){return y=y||document.querySelector("base"),y?y.getAttribute("href"):null}();return null==Rt?null:function F(Pn){b=b||document.createElement("a"),b.setAttribute("href",Pn);const sn=b.pathname;return"/"===sn.charAt(0)?sn:`/${sn}`}(Rt)}resetBaseElement(){y=null}getUserAgent(){return window.navigator.userAgent}getCookie(sn){return(0,t.Mx)(document.cookie,sn)}}let b,y=null,N=(()=>{class Pn{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const x=new i.OlP("EventManagerPlugins");let H=(()=>{class Pn{constructor(Rt,Bt){this._zone=Bt,this._eventNameToPlugin=new Map,Rt.forEach(bn=>{bn.manager=this}),this._plugins=Rt.slice().reverse()}addEventListener(Rt,Bt,bn){return this._findPluginFor(Bt).addEventListener(Rt,Bt,bn)}getZone(){return this._zone}_findPluginFor(Rt){let Bt=this._eventNameToPlugin.get(Rt);if(Bt)return Bt;if(Bt=this._plugins.find(mi=>mi.supports(Rt)),!Bt)throw new i.vHH(5101,!1);return this._eventNameToPlugin.set(Rt,Bt),Bt}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(x),i.LFG(i.R0b))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();class k{constructor(sn){this._doc=sn}}const P="ng-app-id";let X=(()=>{class Pn{constructor(Rt,Bt,bn,mi={}){this.doc=Rt,this.appId=Bt,this.nonce=bn,this.platformId=mi,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,t.PM)(mi),this.resetHostNodes()}addStyles(Rt){for(const Bt of Rt)1===this.changeUsageCount(Bt,1)&&this.onStyleAdded(Bt)}removeStyles(Rt){for(const Bt of Rt)this.changeUsageCount(Bt,-1)<=0&&this.onStyleRemoved(Bt)}ngOnDestroy(){const Rt=this.styleNodesInDOM;Rt&&(Rt.forEach(Bt=>Bt.remove()),Rt.clear());for(const Bt of this.getAllStyles())this.onStyleRemoved(Bt);this.resetHostNodes()}addHost(Rt){this.hostNodes.add(Rt);for(const Bt of this.getAllStyles())this.addStyleToHost(Rt,Bt)}removeHost(Rt){this.hostNodes.delete(Rt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Rt){for(const Bt of this.hostNodes)this.addStyleToHost(Bt,Rt)}onStyleRemoved(Rt){const Bt=this.styleRef;Bt.get(Rt)?.elements?.forEach(bn=>bn.remove()),Bt.delete(Rt)}collectServerRenderedStyles(){const Rt=this.doc.head?.querySelectorAll(`style[${P}="${this.appId}"]`);if(Rt?.length){const Bt=new Map;return Rt.forEach(bn=>{null!=bn.textContent&&Bt.set(bn.textContent,bn)}),Bt}return null}changeUsageCount(Rt,Bt){const bn=this.styleRef;if(bn.has(Rt)){const mi=bn.get(Rt);return mi.usage+=Bt,mi.usage}return bn.set(Rt,{usage:Bt,elements:[]}),Bt}getStyleElement(Rt,Bt){const bn=this.styleNodesInDOM,mi=bn?.get(Bt);if(mi?.parentNode===Rt)return bn.delete(Bt),mi.removeAttribute(P),mi;{const rr=this.doc.createElement("style");return this.nonce&&rr.setAttribute("nonce",this.nonce),rr.textContent=Bt,this.platformIsServer&&rr.setAttribute(P,this.appId),rr}}addStyleToHost(Rt,Bt){const bn=this.getStyleElement(Rt,Bt);Rt.appendChild(bn);const mi=this.styleRef,rr=mi.get(Bt)?.elements;rr?rr.push(bn):mi.set(Bt,{elements:[bn],usage:1})}resetHostNodes(){const Rt=this.hostNodes;Rt.clear(),Rt.add(this.doc.head)}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0),i.LFG(i.AFp),i.LFG(i.Ojb,8),i.LFG(i.Lbi))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const me={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/"},Oe=/%COMP%/g,J=new i.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ye(Pn,sn){return sn.map(Rt=>Rt.replace(Oe,Pn))}let Ee=(()=>{class Pn{constructor(Rt,Bt,bn,mi,rr,Ri,Ur,mn=null){this.eventManager=Rt,this.sharedStylesHost=Bt,this.appId=bn,this.removeStylesOnCompDestroy=mi,this.doc=rr,this.platformId=Ri,this.ngZone=Ur,this.nonce=mn,this.rendererByCompId=new Map,this.platformIsServer=(0,t.PM)(Ri),this.defaultRenderer=new Ge(Rt,rr,Ur,this.platformIsServer)}createRenderer(Rt,Bt){if(!Rt||!Bt)return this.defaultRenderer;this.platformIsServer&&Bt.encapsulation===i.ifc.ShadowDom&&(Bt={...Bt,encapsulation:i.ifc.Emulated});const bn=this.getOrCreateRenderer(Rt,Bt);return bn instanceof pt?bn.applyToHost(Rt):bn instanceof Qe&&bn.applyStyles(),bn}getOrCreateRenderer(Rt,Bt){const bn=this.rendererByCompId;let mi=bn.get(Bt.id);if(!mi){const rr=this.doc,Ri=this.ngZone,Ur=this.eventManager,mn=this.sharedStylesHost,Xe=this.removeStylesOnCompDestroy,ke=this.platformIsServer;switch(Bt.encapsulation){case i.ifc.Emulated:mi=new pt(Ur,mn,Bt,this.appId,Xe,rr,Ri,ke);break;case i.ifc.ShadowDom:return new tt(Ur,mn,Rt,Bt,rr,Ri,this.nonce,ke);default:mi=new Qe(Ur,mn,Bt,Xe,rr,Ri,ke)}bn.set(Bt.id,mi)}return mi}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(H),i.LFG(X),i.LFG(i.AFp),i.LFG(J),i.LFG(t.K0),i.LFG(i.Lbi),i.LFG(i.R0b),i.LFG(i.Ojb))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();class Ge{constructor(sn,Rt,Bt,bn){this.eventManager=sn,this.doc=Rt,this.ngZone=Bt,this.platformIsServer=bn,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(sn,Rt){return Rt?this.doc.createElementNS(me[Rt]||Rt,sn):this.doc.createElement(sn)}createComment(sn){return this.doc.createComment(sn)}createText(sn){return this.doc.createTextNode(sn)}appendChild(sn,Rt){(Je(sn)?sn.content:sn).appendChild(Rt)}insertBefore(sn,Rt,Bt){sn&&(Je(sn)?sn.content:sn).insertBefore(Rt,Bt)}removeChild(sn,Rt){sn&&sn.removeChild(Rt)}selectRootElement(sn,Rt){let Bt="string"==typeof sn?this.doc.querySelector(sn):sn;if(!Bt)throw new i.vHH(-5104,!1);return Rt||(Bt.textContent=""),Bt}parentNode(sn){return sn.parentNode}nextSibling(sn){return sn.nextSibling}setAttribute(sn,Rt,Bt,bn){if(bn){Rt=bn+":"+Rt;const mi=me[bn];mi?sn.setAttributeNS(mi,Rt,Bt):sn.setAttribute(Rt,Bt)}else sn.setAttribute(Rt,Bt)}removeAttribute(sn,Rt,Bt){if(Bt){const bn=me[Bt];bn?sn.removeAttributeNS(bn,Rt):sn.removeAttribute(`${Bt}:${Rt}`)}else sn.removeAttribute(Rt)}addClass(sn,Rt){sn.classList.add(Rt)}removeClass(sn,Rt){sn.classList.remove(Rt)}setStyle(sn,Rt,Bt,bn){bn&(i.JOm.DashCase|i.JOm.Important)?sn.style.setProperty(Rt,Bt,bn&i.JOm.Important?"important":""):sn.style[Rt]=Bt}removeStyle(sn,Rt,Bt){Bt&i.JOm.DashCase?sn.style.removeProperty(Rt):sn.style[Rt]=""}setProperty(sn,Rt,Bt){sn[Rt]=Bt}setValue(sn,Rt){sn.nodeValue=Rt}listen(sn,Rt,Bt){if("string"==typeof sn&&!(sn=(0,t.q)().getGlobalEventTarget(this.doc,sn)))throw new Error(`Unsupported event target ${sn} for event ${Rt}`);return this.eventManager.addEventListener(sn,Rt,this.decoratePreventDefault(Bt))}decoratePreventDefault(sn){return Rt=>{if("__ngUnwrap__"===Rt)return sn;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>sn(Rt)):sn(Rt))&&Rt.preventDefault()}}}function Je(Pn){return"TEMPLATE"===Pn.tagName&&void 0!==Pn.content}class tt extends Ge{constructor(sn,Rt,Bt,bn,mi,rr,Ri,Ur){super(sn,mi,rr,Ur),this.sharedStylesHost=Rt,this.hostEl=Bt,this.shadowRoot=Bt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const mn=ye(bn.id,bn.styles);for(const Xe of mn){const ke=document.createElement("style");Ri&&ke.setAttribute("nonce",Ri),ke.textContent=Xe,this.shadowRoot.appendChild(ke)}}nodeOrShadowRoot(sn){return sn===this.hostEl?this.shadowRoot:sn}appendChild(sn,Rt){return super.appendChild(this.nodeOrShadowRoot(sn),Rt)}insertBefore(sn,Rt,Bt){return super.insertBefore(this.nodeOrShadowRoot(sn),Rt,Bt)}removeChild(sn,Rt){return super.removeChild(this.nodeOrShadowRoot(sn),Rt)}parentNode(sn){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(sn)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends Ge{constructor(sn,Rt,Bt,bn,mi,rr,Ri,Ur){super(sn,mi,rr,Ri),this.sharedStylesHost=Rt,this.removeStylesOnCompDestroy=bn,this.styles=Ur?ye(Ur,Bt.styles):Bt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class pt extends Qe{constructor(sn,Rt,Bt,bn,mi,rr,Ri,Ur){const mn=bn+"-"+Bt.id;super(sn,Rt,Bt,mi,rr,Ri,Ur,mn),this.contentAttr=function ae(Pn){return"_ngcontent-%COMP%".replace(Oe,Pn)}(mn),this.hostAttr=function oe(Pn){return"_nghost-%COMP%".replace(Oe,Pn)}(mn)}applyToHost(sn){this.applyStyles(),this.setAttribute(sn,this.hostAttr,"")}createElement(sn,Rt){const Bt=super.createElement(sn,Rt);return super.setAttribute(Bt,this.contentAttr,""),Bt}}let Nt=(()=>{class Pn extends k{constructor(Rt){super(Rt)}supports(Rt){return!0}addEventListener(Rt,Bt,bn){return Rt.addEventListener(Bt,bn,!1),()=>this.removeEventListener(Rt,Bt,bn)}removeEventListener(Rt,Bt,bn){return Rt.removeEventListener(Bt,bn)}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const Jt=["alt","control","meta","shift"],nt={"\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"},ot={alt:Pn=>Pn.altKey,control:Pn=>Pn.ctrlKey,meta:Pn=>Pn.metaKey,shift:Pn=>Pn.shiftKey};let Ct=(()=>{class Pn extends k{constructor(Rt){super(Rt)}supports(Rt){return null!=Pn.parseEventName(Rt)}addEventListener(Rt,Bt,bn){const mi=Pn.parseEventName(Bt),rr=Pn.eventCallback(mi.fullKey,bn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(Rt,mi.domEventName,rr))}static parseEventName(Rt){const Bt=Rt.toLowerCase().split("."),bn=Bt.shift();if(0===Bt.length||"keydown"!==bn&&"keyup"!==bn)return null;const mi=Pn._normalizeKey(Bt.pop());let rr="",Ri=Bt.indexOf("code");if(Ri>-1&&(Bt.splice(Ri,1),rr="code."),Jt.forEach(mn=>{const Xe=Bt.indexOf(mn);Xe>-1&&(Bt.splice(Xe,1),rr+=mn+".")}),rr+=mi,0!=Bt.length||0===mi.length)return null;const Ur={};return Ur.domEventName=bn,Ur.fullKey=rr,Ur}static matchEventFullKeyCode(Rt,Bt){let bn=nt[Rt.key]||Rt.key,mi="";return Bt.indexOf("code.")>-1&&(bn=Rt.code,mi="code."),!(null==bn||!bn)&&(bn=bn.toLowerCase()," "===bn?bn="space":"."===bn&&(bn="dot"),Jt.forEach(rr=>{rr!==bn&&(0,ot[rr])(Rt)&&(mi+=rr+".")}),mi+=bn,mi===Bt)}static eventCallback(Rt,Bt,bn){return mi=>{Pn.matchEventFullKeyCode(mi,Rt)&&bn.runGuarded(()=>Bt(mi))}}static _normalizeKey(Rt){return"esc"===Rt?"escape":Rt}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const dn=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:t.bD},{provide:i.g9A,useValue:function yt(){a.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function xn(){return(0,i.RDi)(document),document},deps:[]}]),qn=new i.OlP(""),di=[{provide:i.rWj,useClass:class j{addToWindow(sn){i.dqk.getAngularTestability=(Bt,bn=!0)=>{const mi=sn.findTestabilityInTree(Bt,bn);if(null==mi)throw new i.vHH(5103,!1);return mi},i.dqk.getAllAngularTestabilities=()=>sn.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>sn.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(Bt=>{const bn=i.dqk.getAllAngularTestabilities();let mi=bn.length,rr=!1;const Ri=function(Ur){rr=rr||Ur,mi--,0==mi&&Bt(rr)};bn.forEach(Ur=>{Ur.whenStable(Ri)})})}findTestabilityInTree(sn,Rt,Bt){return null==Rt?null:sn.getTestability(Rt)??(Bt?(0,t.q)().isShadowRoot(Rt)?this.findTestabilityInTree(sn,Rt.host,!0):this.findTestabilityInTree(sn,Rt.parentElement,!0):null)}},deps:[]},{provide:i.lri,useClass:i.dDg,deps:[i.R0b,i.eoX,i.rWj]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b,i.eoX,i.rWj]}],ir=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Fn(){return new i.qLn},deps:[]},{provide:x,useClass:Nt,multi:!0,deps:[t.K0,i.R0b,i.Lbi]},{provide:x,useClass:Ct,multi:!0,deps:[t.K0]},Ee,X,H,{provide:i.FYo,useExisting:Ee},{provide:t.JF,useClass:N,deps:[]},[]];let Bn=(()=>{class Pn{constructor(Rt){}static withServerTransition(Rt){return{ngModule:Pn,providers:[{provide:i.AFp,useValue:Rt.appId}]}}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(qn,12))};static#t=this.\u0275mod=i.oAB({type:Pn});static#n=this.\u0275inj=i.cJS({providers:[...ir,...di],imports:[t.ez,i.hGG]})}return Pn})(),ve=(()=>{class Pn{constructor(Rt){this._doc=Rt}getTitle(){return this._doc.title}setTitle(Rt){this._doc.title=Rt||""}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:function(Bt){let bn=null;return bn=Bt?new Bt:function Ot(){return new ve((0,i.LFG)(t.K0))}(),bn},providedIn:"root"})}return Pn})();typeof window<"u"&&window;let Do=(()=>{class Pn{static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:function(Bt){let bn=null;return bn=Bt?new(Bt||Pn):i.LFG(Ls),bn},providedIn:"root"})}return Pn})(),Ls=(()=>{class Pn extends Do{constructor(Rt){super(),this._doc=Rt}sanitize(Rt,Bt){if(null==Bt)return null;switch(Rt){case i.q3G.NONE:return Bt;case i.q3G.HTML:return(0,i.qzn)(Bt,"HTML")?(0,i.z3N)(Bt):(0,i.EiD)(this._doc,String(Bt)).toString();case i.q3G.STYLE:return(0,i.qzn)(Bt,"Style")?(0,i.z3N)(Bt):Bt;case i.q3G.SCRIPT:if((0,i.qzn)(Bt,"Script"))return(0,i.z3N)(Bt);throw new i.vHH(5200,!1);case i.q3G.URL:return(0,i.qzn)(Bt,"URL")?(0,i.z3N)(Bt):(0,i.mCW)(String(Bt));case i.q3G.RESOURCE_URL:if((0,i.qzn)(Bt,"ResourceURL"))return(0,i.z3N)(Bt);throw new i.vHH(5201,!1);default:throw new i.vHH(5202,!1)}}bypassSecurityTrustHtml(Rt){return(0,i.JVY)(Rt)}bypassSecurityTrustStyle(Rt){return(0,i.L6k)(Rt)}bypassSecurityTrustScript(Rt){return(0,i.eBb)(Rt)}bypassSecurityTrustUrl(Rt){return(0,i.LAX)(Rt)}bypassSecurityTrustResourceUrl(Rt){return(0,i.pB0)(Rt)}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:function(Bt){let bn=null;return bn=Bt?new Bt:function Ms(Pn){return new Ls(Pn.get(t.K0))}(i.LFG(i.zs3)),bn},providedIn:"root"})}return Pn})()},5579:(lt,_e,m)=>{"use strict";m.d(_e,{gz:()=>dr,F0:()=>po,rH:()=>xl,Od:()=>Xl,Bz:()=>jc,lC:()=>Rn});var i=m(755),t=m(8132),A=m(3649),y=m(3489),C=m(1209),b=m(6424),F=m(6632),j=m(9401),N=m(5993),x=m(8197),H=m(2713),k=m(134),P=m(3224);function X(...E){const v=(0,x.yG)(E),M=(0,x.jO)(E),{args:W,keys:ue}=(0,F.D)(E);if(0===W.length)return(0,y.D)([],v);const be=new t.y(function me(E,v,M=j.y){return W=>{Oe(v,()=>{const{length:ue}=E,be=new Array(ue);let et=ue,q=ue;for(let U=0;U{const Y=(0,y.D)(E[U],v);let ne=!1;Y.subscribe((0,k.x)(W,pe=>{be[U]=pe,ne||(ne=!0,q--),q||W.next(M(be.slice()))},()=>{--et||W.complete()}))},W)},W)}}(W,v,ue?et=>(0,H.n)(ue,et):j.y));return M?be.pipe((0,N.Z)(M)):be}function Oe(E,v,M){E?(0,P.f)(M,E,v):v()}var Se=m(7998),wt=m(5623),K=m(3562),V=m(2222),J=m(1960),ae=m(453),oe=m(902),ye=m(6142);function Ee(){return(0,ye.e)((E,v)=>{let M=null;E._refCount++;const W=(0,k.x)(v,void 0,void 0,void 0,()=>{if(!E||E._refCount<=0||0<--E._refCount)return void(M=null);const ue=E._connection,be=M;M=null,ue&&(!be||ue===be)&&ue.unsubscribe(),v.unsubscribe()});E.subscribe(W),W.closed||(M=E.connect())})}class Ge extends t.y{constructor(v,M){super(),this.source=v,this.subjectFactory=M,this._subject=null,this._refCount=0,this._connection=null,(0,ye.A)(v)&&(this.lift=v.lift)}_subscribe(v){return this.getSubject().subscribe(v)}getSubject(){const v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:v}=this;this._subject=this._connection=null,v?.unsubscribe()}connect(){let v=this._connection;if(!v){v=this._connection=new oe.w0;const M=this.getSubject();v.add(this.source.subscribe((0,k.x)(M,void 0,()=>{this._teardown(),M.complete()},W=>{this._teardown(),M.error(W)},()=>this._teardown()))),v.closed&&(this._connection=null,v=oe.w0.EMPTY)}return v}refCount(){return Ee()(this)}}var gt=m(8748),Ze=m(6733),Je=m(2425),tt=m(4787),Qe=m(1813),pt=m(3843),Nt=m(5333),Jt=m(9342),nt=m(6121),ot=m(109),Ct=m(1570),He=m(7560);var hn=m(407);function yt(E){return E<=0?()=>ae.E:(0,ye.e)((v,M)=>{let W=[];v.subscribe((0,k.x)(M,ue=>{W.push(ue),E{for(const ue of W)M.next(ue);M.complete()},void 0,()=>{W=null}))})}var Fn=m(6261),In=m(7376),dn=m(6293),qn=m(1749),di=m(2605),ir=m(3232);const Bn="primary",xi=Symbol("RouteTitle");class fi{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const M=this.params[v];return Array.isArray(M)?M[0]:M}return null}getAll(v){if(this.has(v)){const M=this.params[v];return Array.isArray(M)?M:[M]}return[]}get keys(){return Object.keys(this.params)}}function Mt(E){return new fi(E)}function Ot(E,v,M){const W=M.path.split("/");if(W.length>E.length||"full"===M.pathMatch&&(v.hasChildren()||W.lengthW[be]===ue)}return E===v}function Ye(E){return E.length>0?E[E.length-1]:null}function xt(E){return function a(E){return!!E&&(E instanceof t.y||(0,A.m)(E.lift)&&(0,A.m)(E.subscribe))}(E)?E:(0,i.QGY)(E)?(0,y.D)(Promise.resolve(E)):(0,C.of)(E)}const cn={exact:function Qt(E,v,M){if(!Ms(E.segments,v.segments)||!co(E.segments,v.segments,M)||E.numberOfChildren!==v.numberOfChildren)return!1;for(const W in v.children)if(!E.children[W]||!Qt(E.children[W],v.children[W],M))return!1;return!0},subset:ta},Kn={exact:function gs(E,v){return De(E,v)},subset:function ki(E,v){return Object.keys(v).length<=Object.keys(E).length&&Object.keys(v).every(M=>xe(E[M],v[M]))},ignored:()=>!0};function An(E,v,M){return cn[M.paths](E.root,v.root,M.matrixParams)&&Kn[M.queryParams](E.queryParams,v.queryParams)&&!("exact"===M.fragment&&E.fragment!==v.fragment)}function ta(E,v,M){return Pi(E,v,v.segments,M)}function Pi(E,v,M,W){if(E.segments.length>M.length){const ue=E.segments.slice(0,M.length);return!(!Ms(ue,M)||v.hasChildren()||!co(ue,M,W))}if(E.segments.length===M.length){if(!Ms(E.segments,M)||!co(E.segments,M,W))return!1;for(const ue in v.children)if(!E.children[ue]||!ta(E.children[ue],v.children[ue],W))return!1;return!0}{const ue=M.slice(0,E.segments.length),be=M.slice(E.segments.length);return!!(Ms(E.segments,ue)&&co(E.segments,ue,W)&&E.children[Bn])&&Pi(E.children[Bn],v,be,W)}}function co(E,v,M){return v.every((W,ue)=>Kn[M](E[ue].parameters,W.parameters))}class Or{constructor(v=new Dr([],{}),M={},W=null){this.root=v,this.queryParams=M,this.fragment=W}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return Pt.serialize(this)}}class Dr{constructor(v,M){this.segments=v,this.children=M,this.parent=null,Object.values(M).forEach(W=>W.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ln(this)}}class bs{constructor(v,M){this.path=v,this.parameters=M}get parameterMap(){return this._parameterMap||(this._parameterMap=Mt(this.parameters)),this._parameterMap}toString(){return Bt(this)}}function Ms(E,v){return E.length===v.length&&E.every((M,W)=>M.path===v[W].path)}let On=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return new mr},providedIn:"root"})}return E})();class mr{parse(v){const M=new it(v);return new Or(M.parseRootSegment(),M.parseQueryParams(),M.parseFragment())}serialize(v){const M=`/${Yt(v.root,!0)}`,W=function mi(E){const v=Object.keys(E).map(M=>{const W=E[M];return Array.isArray(W)?W.map(ue=>`${Qr(M)}=${Qr(ue)}`).join("&"):`${Qr(M)}=${Qr(W)}`}).filter(M=>!!M);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${M}${W}${"string"==typeof v.fragment?`#${function Sr(E){return encodeURI(E)}(v.fragment)}`:""}`}}const Pt=new mr;function ln(E){return E.segments.map(v=>Bt(v)).join("/")}function Yt(E,v){if(!E.hasChildren())return ln(E);if(v){const M=E.children[Bn]?Yt(E.children[Bn],!1):"",W=[];return Object.entries(E.children).forEach(([ue,be])=>{ue!==Bn&&W.push(`${ue}:${Yt(be,!1)}`)}),W.length>0?`${M}(${W.join("//")})`:M}{const M=function Ls(E,v){let M=[];return Object.entries(E.children).forEach(([W,ue])=>{W===Bn&&(M=M.concat(v(ue,W)))}),Object.entries(E.children).forEach(([W,ue])=>{W!==Bn&&(M=M.concat(v(ue,W)))}),M}(E,(W,ue)=>ue===Bn?[Yt(E.children[Bn],!1)]:[`${ue}:${Yt(W,!1)}`]);return 1===Object.keys(E.children).length&&null!=E.children[Bn]?`${ln(E)}/${M[0]}`:`${ln(E)}/(${M.join("//")})`}}function li(E){return encodeURIComponent(E).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qr(E){return li(E).replace(/%3B/gi,";")}function Pn(E){return li(E).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function sn(E){return decodeURIComponent(E)}function Rt(E){return sn(E.replace(/\+/g,"%20"))}function Bt(E){return`${Pn(E.path)}${function bn(E){return Object.keys(E).map(v=>`;${Pn(v)}=${Pn(E[v])}`).join("")}(E.parameters)}`}const rr=/^[^\/()?;#]+/;function Ri(E){const v=E.match(rr);return v?v[0]:""}const Ur=/^[^\/()?;=#]+/,Xe=/^[^=?&#]+/,ge=/^[^&#]+/;class it{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dr([],{}):new Dr([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let M={};this.peekStartsWith("/(")&&(this.capture("/"),M=this.parseParens(!0));let W={};return this.peekStartsWith("(")&&(W=this.parseParens(!1)),(v.length>0||Object.keys(M).length>0)&&(W[Bn]=new Dr(v,M)),W}parseSegment(){const v=Ri(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new i.vHH(4009,!1);return this.capture(v),new bs(sn(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const M=function mn(E){const v=E.match(Ur);return v?v[0]:""}(this.remaining);if(!M)return;this.capture(M);let W="";if(this.consumeOptional("=")){const ue=Ri(this.remaining);ue&&(W=ue,this.capture(W))}v[sn(M)]=sn(W)}parseQueryParam(v){const M=function ke(E){const v=E.match(Xe);return v?v[0]:""}(this.remaining);if(!M)return;this.capture(M);let W="";if(this.consumeOptional("=")){const et=function Ae(E){const v=E.match(ge);return v?v[0]:""}(this.remaining);et&&(W=et,this.capture(W))}const ue=Rt(M),be=Rt(W);if(v.hasOwnProperty(ue)){let et=v[ue];Array.isArray(et)||(et=[et],v[ue]=et),et.push(be)}else v[ue]=be}parseParens(v){const M={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const W=Ri(this.remaining),ue=this.remaining[W.length];if("/"!==ue&&")"!==ue&&";"!==ue)throw new i.vHH(4010,!1);let be;W.indexOf(":")>-1?(be=W.slice(0,W.indexOf(":")),this.capture(be),this.capture(":")):v&&(be=Bn);const et=this.parseChildren();M[be]=1===Object.keys(et).length?et[Bn]:new Dr([],et),this.consumeOptional("//")}return M}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new i.vHH(4011,!1)}}function Ht(E){return E.segments.length>0?new Dr([],{[Bn]:E}):E}function Kt(E){const v={};for(const W of Object.keys(E.children)){const be=Kt(E.children[W]);if(W===Bn&&0===be.segments.length&&be.hasChildren())for(const[et,q]of Object.entries(be.children))v[et]=q;else(be.segments.length>0||be.hasChildren())&&(v[W]=be)}return function yn(E){if(1===E.numberOfChildren&&E.children[Bn]){const v=E.children[Bn];return new Dr(E.segments.concat(v.segments),v.children)}return E}(new Dr(E.segments,v))}function Tn(E){return E instanceof Or}function nn(E){let v;const ue=Ht(function M(be){const et={};for(const U of be.children){const Y=M(U);et[U.outlet]=Y}const q=new Dr(be.url,et);return be===E&&(v=q),q}(E.root));return v??ue}function Ti(E,v,M,W){let ue=E;for(;ue.parent;)ue=ue.parent;if(0===v.length)return ss(ue,ue,ue,M,W);const be=function yr(E){if("string"==typeof E[0]&&1===E.length&&"/"===E[0])return new Ki(!0,0,E);let v=0,M=!1;const W=E.reduce((ue,be,et)=>{if("object"==typeof be&&null!=be){if(be.outlets){const q={};return Object.entries(be.outlets).forEach(([U,Y])=>{q[U]="string"==typeof Y?Y.split("/"):Y}),[...ue,{outlets:q}]}if(be.segmentPath)return[...ue,be.segmentPath]}return"string"!=typeof be?[...ue,be]:0===et?(be.split("/").forEach((q,U)=>{0==U&&"."===q||(0==U&&""===q?M=!0:".."===q?v++:""!=q&&ue.push(q))}),ue):[...ue,be]},[]);return new Ki(M,v,W)}(v);if(be.toRoot())return ss(ue,ue,new Dr([],{}),M,W);const et=function xs(E,v,M){if(E.isAbsolute)return new jr(v,!0,0);if(!M)return new jr(v,!1,NaN);if(null===M.parent)return new jr(M,!0,0);const W=yi(E.commands[0])?0:1;return function Co(E,v,M){let W=E,ue=v,be=M;for(;be>ue;){if(be-=ue,W=W.parent,!W)throw new i.vHH(4005,!1);ue=W.segments.length}return new jr(W,!1,ue-be)}(M,M.segments.length-1+W,E.numberOfDoubleDots)}(be,ue,E),q=et.processChildren?To(et.segmentGroup,et.index,be.commands):Nr(et.segmentGroup,et.index,be.commands);return ss(ue,et.segmentGroup,q,M,W)}function yi(E){return"object"==typeof E&&null!=E&&!E.outlets&&!E.segmentPath}function Hr(E){return"object"==typeof E&&null!=E&&E.outlets}function ss(E,v,M,W,ue){let et,be={};W&&Object.entries(W).forEach(([U,Y])=>{be[U]=Array.isArray(Y)?Y.map(ne=>`${ne}`):`${Y}`}),et=E===v?M:wr(E,v,M);const q=Ht(Kt(et));return new Or(q,be,ue)}function wr(E,v,M){const W={};return Object.entries(E.children).forEach(([ue,be])=>{W[ue]=be===v?M:wr(be,v,M)}),new Dr(E.segments,W)}class Ki{constructor(v,M,W){if(this.isAbsolute=v,this.numberOfDoubleDots=M,this.commands=W,v&&W.length>0&&yi(W[0]))throw new i.vHH(4003,!1);const ue=W.find(Hr);if(ue&&ue!==Ye(W))throw new i.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class jr{constructor(v,M,W){this.segmentGroup=v,this.processChildren=M,this.index=W}}function Nr(E,v,M){if(E||(E=new Dr([],{})),0===E.segments.length&&E.hasChildren())return To(E,v,M);const W=function Bs(E,v,M){let W=0,ue=v;const be={match:!1,pathIndex:0,commandIndex:0};for(;ue=M.length)return be;const et=E.segments[ue],q=M[W];if(Hr(q))break;const U=`${q}`,Y=W0&&void 0===U)break;if(U&&Y&&"object"==typeof Y&&void 0===Y.outlets){if(!Ps(U,Y,et))return be;W+=2}else{if(!Ps(U,{},et))return be;W++}ue++}return{match:!0,pathIndex:ue,commandIndex:W}}(E,v,M),ue=M.slice(W.commandIndex);if(W.match&&W.pathIndexbe!==Bn)&&E.children[Bn]&&1===E.numberOfChildren&&0===E.children[Bn].segments.length){const be=To(E.children[Bn],v,M);return new Dr(E.segments,be.children)}return Object.entries(W).forEach(([be,et])=>{"string"==typeof et&&(et=[et]),null!==et&&(ue[be]=Nr(E.children[be],v,et))}),Object.entries(E.children).forEach(([be,et])=>{void 0===W[be]&&(ue[be]=et)}),new Dr(E.segments,ue)}}function Eo(E,v,M){const W=E.segments.slice(0,v);let ue=0;for(;ue{"string"==typeof W&&(W=[W]),null!==W&&(v[M]=Eo(new Dr([],{}),0,W))}),v}function Ra(E){const v={};return Object.entries(E).forEach(([M,W])=>v[M]=`${W}`),v}function Ps(E,v,M){return E==M.path&&De(v,M.parameters)}const Ds="imperative";class St{constructor(v,M){this.id=v,this.url=M}}class En extends St{constructor(v,M,W="imperative",ue=null){super(v,M),this.type=0,this.navigationTrigger=W,this.restoredState=ue}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dt extends St{constructor(v,M,W){super(v,M),this.urlAfterRedirects=W,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Tt extends St{constructor(v,M,W,ue){super(v,M),this.reason=W,this.code=ue,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class un extends St{constructor(v,M,W,ue){super(v,M),this.reason=W,this.code=ue,this.type=16}}class Yn extends St{constructor(v,M,W,ue){super(v,M),this.error=W,this.target=ue,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ui extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gi extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _r extends St{constructor(v,M,W,ue,be){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.shouldActivate=be,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class us extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class So extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fo{constructor(v){this.route=v,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ks{constructor(v){this.route=v,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class na{constructor(v){this.snapshot=v,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _s{constructor(v){this.snapshot=v,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ko{constructor(v){this.snapshot=v,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class da{constructor(v){this.snapshot=v,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wa{constructor(v,M,W){this.routerEvent=v,this.position=M,this.anchor=W,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class er{}class Cr{constructor(v){this.url=v}}class br{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ds,this.attachRef=null}}let ds=(()=>{class E{constructor(){this.contexts=new Map}onChildOutletCreated(M,W){const ue=this.getOrCreateContext(M);ue.outlet=W,this.contexts.set(M,ue)}onChildOutletDestroyed(M){const W=this.getContext(M);W&&(W.outlet=null,W.attachRef=null)}onOutletDeactivated(){const M=this.contexts;return this.contexts=new Map,M}onOutletReAttached(M){this.contexts=M}getOrCreateContext(M){let W=this.getContext(M);return W||(W=new br,this.contexts.set(M,W)),W}getContext(M){return this.contexts.get(M)||null}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();class Yo{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const M=this.pathFromRoot(v);return M.length>1?M[M.length-2]:null}children(v){const M=gl(v,this._root);return M?M.children.map(W=>W.value):[]}firstChild(v){const M=gl(v,this._root);return M&&M.children.length>0?M.children[0].value:null}siblings(v){const M=ha(v,this._root);return M.length<2?[]:M[M.length-2].children.map(ue=>ue.value).filter(ue=>ue!==v)}pathFromRoot(v){return ha(v,this._root).map(M=>M.value)}}function gl(E,v){if(E===v.value)return v;for(const M of v.children){const W=gl(E,M);if(W)return W}return null}function ha(E,v){if(E===v.value)return[v];for(const M of v.children){const W=ha(E,M);if(W.length)return W.unshift(v),W}return[]}class as{constructor(v,M){this.value=v,this.children=M}toString(){return`TreeNode(${this.value})`}}function Na(E){const v={};return E&&E.children.forEach(M=>v[M.value.outlet]=M),v}class Ma extends Yo{constructor(v,M){super(v),this.snapshot=M,Vr(this,v)}toString(){return this.snapshot.toString()}}function Fi(E,v){const M=function _i(E,v){const et=new Ho([],{},{},"",{},Bn,v,null,{});return new no("",new as(et,[]))}(0,v),W=new b.X([new bs("",{})]),ue=new b.X({}),be=new b.X({}),et=new b.X({}),q=new b.X(""),U=new dr(W,ue,et,q,be,Bn,v,M.root);return U.snapshot=M.root,new Ma(new as(U,[]),M)}class dr{constructor(v,M,W,ue,be,et,q,U){this.urlSubject=v,this.paramsSubject=M,this.queryParamsSubject=W,this.fragmentSubject=ue,this.dataSubject=be,this.outlet=et,this.component=q,this._futureSnapshot=U,this.title=this.dataSubject?.pipe((0,Je.U)(Y=>Y[xi]))??(0,C.of)(void 0),this.url=v,this.params=M,this.queryParams=W,this.fragment=ue,this.data=be}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((0,Je.U)(v=>Mt(v)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Je.U)(v=>Mt(v)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $r(E,v="emptyOnly"){const M=E.pathFromRoot;let W=0;if("always"!==v)for(W=M.length-1;W>=1;){const ue=M[W],be=M[W-1];if(ue.routeConfig&&""===ue.routeConfig.path)W--;else{if(be.component)break;W--}}return function Fr(E){return E.reduce((v,M)=>({params:{...v.params,...M.params},data:{...v.data,...M.data},resolve:{...M.data,...v.resolve,...M.routeConfig?.data,...M._resolvedData}}),{params:{},data:{},resolve:{}})}(M.slice(W))}class Ho{get title(){return this.data?.[xi]}constructor(v,M,W,ue,be,et,q,U,Y){this.url=v,this.params=M,this.queryParams=W,this.fragment=ue,this.data=be,this.outlet=et,this.component=q,this.routeConfig=U,this._resolve=Y}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=Mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(W=>W.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class no extends Yo{constructor(v,M){super(M),this.url=v,Vr(this,M)}toString(){return os(this._root)}}function Vr(E,v){v.value._routerState=E,v.children.forEach(M=>Vr(E,M))}function os(E){const v=E.children.length>0?` { ${E.children.map(os).join(", ")} } `:"";return`${E.value}${v}`}function $o(E){if(E.snapshot){const v=E.snapshot,M=E._futureSnapshot;E.snapshot=M,De(v.queryParams,M.queryParams)||E.queryParamsSubject.next(M.queryParams),v.fragment!==M.fragment&&E.fragmentSubject.next(M.fragment),De(v.params,M.params)||E.paramsSubject.next(M.params),function ve(E,v){if(E.length!==v.length)return!1;for(let M=0;MDe(M.parameters,v[W].parameters))}(E.url,v.url);return M&&!(!E.parent!=!v.parent)&&(!E.parent||Ko(E.parent,v.parent))}let Rn=(()=>{class E{constructor(){this.activated=null,this._activatedRoute=null,this.name=Bn,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(ds),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb),this.inputBinder=(0,i.f3M)(Aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(M){if(M.name){const{firstChange:W,previousValue:ue}=M.name;if(W)return;this.isTrackedInParentContexts(ue)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ue)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(M){return this.parentContexts.getContext(M)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const M=this.parentContexts.getContext(this.name);M?.route&&(M.attachRef?this.attach(M.attachRef,M.route):this.activateWith(M.route,M.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,!1);this.location.detach();const M=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(M.instance),M}attach(M,W){this.activated=M,this._activatedRoute=W,this.location.insert(M.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(M.instance)}deactivate(){if(this.activated){const M=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(M)}}activateWith(M,W){if(this.isActivated)throw new i.vHH(4013,!1);this._activatedRoute=M;const ue=this.location,et=M.snapshot.component,q=this.parentContexts.getOrCreateContext(this.name).children,U=new Mo(M,q,ue.injector);this.activated=ue.createComponent(et,{index:ue.length,injector:U,environmentInjector:W??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275dir=i.lG2({type:E,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]})}return E})();class Mo{constructor(v,M,W){this.route=v,this.childContexts=M,this.parent=W}get(v,M){return v===dr?this.route:v===ds?this.childContexts:this.parent.get(v,M)}}const Aa=new i.OlP("");let Xr=(()=>{class E{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(M){this.unsubscribeFromRouteData(M),this.subscribeToRouteData(M)}unsubscribeFromRouteData(M){this.outletDataSubscriptions.get(M)?.unsubscribe(),this.outletDataSubscriptions.delete(M)}subscribeToRouteData(M){const{activatedRoute:W}=M,ue=X([W.queryParams,W.params,W.data]).pipe((0,tt.w)(([be,et,q],U)=>(q={...be,...et,...q},0===U?(0,C.of)(q):Promise.resolve(q)))).subscribe(be=>{if(!M.isActivated||!M.activatedComponentRef||M.activatedRoute!==W||null===W.component)return void this.unsubscribeFromRouteData(M);const et=(0,i.qFp)(W.component);if(et)for(const{templateName:q}of et.inputs)M.activatedComponentRef.setInput(q,be[q]);else this.unsubscribeFromRouteData(M)});this.outletDataSubscriptions.set(M,ue)}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac})}return E})();function Us(E,v,M){if(M&&E.shouldReuseRoute(v.value,M.value.snapshot)){const W=M.value;W._futureSnapshot=v.value;const ue=function Rs(E,v,M){return v.children.map(W=>{for(const ue of M.children)if(E.shouldReuseRoute(W.value,ue.value.snapshot))return Us(E,W,ue);return Us(E,W)})}(E,v,M);return new as(W,ue)}{if(E.shouldAttach(v.value)){const be=E.retrieve(v.value);if(null!==be){const et=be.route;return et.value._futureSnapshot=v.value,et.children=v.children.map(q=>Us(E,q)),et}}const W=function Mr(E){return new dr(new b.X(E.url),new b.X(E.params),new b.X(E.queryParams),new b.X(E.fragment),new b.X(E.data),E.outlet,E.component,E)}(v.value),ue=v.children.map(be=>Us(E,be));return new as(W,ue)}}const Zr="ngNavigationCancelingError";function Ji(E,v){const{redirectTo:M,navigationBehaviorOptions:W}=Tn(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,ue=uo(!1,0,v);return ue.url=M,ue.navigationBehaviorOptions=W,ue}function uo(E,v,M){const W=new Error("NavigationCancelingError: "+(E||""));return W[Zr]=!0,W.cancellationCode=v,M&&(W.url=M),W}function Js(E){return E&&E[Zr]}let Ia=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275cmp=i.Xpm({type:E,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(W,ue){1&W&&i._UZ(0,"router-outlet")},dependencies:[Rn],encapsulation:2})}return E})();function pl(E){const v=E.children&&E.children.map(pl),M=v?{...E,children:v}:{...E};return!M.component&&!M.loadComponent&&(v||M.loadChildren)&&M.outlet&&M.outlet!==Bn&&(M.component=Ia),M}function Lr(E){return E.outlet||Bn}function Hs(E){if(!E)return null;if(E.routeConfig?._injector)return E.routeConfig._injector;for(let v=E.parent;v;v=v.parent){const M=v.routeConfig;if(M?._loadedInjector)return M._loadedInjector;if(M?._injector)return M._injector}return null}class jo{constructor(v,M,W,ue,be){this.routeReuseStrategy=v,this.futureState=M,this.currState=W,this.forwardEvent=ue,this.inputBindingEnabled=be}activate(v){const M=this.futureState._root,W=this.currState?this.currState._root:null;this.deactivateChildRoutes(M,W,v),$o(this.futureState.root),this.activateChildRoutes(M,W,v)}deactivateChildRoutes(v,M,W){const ue=Na(M);v.children.forEach(be=>{const et=be.value.outlet;this.deactivateRoutes(be,ue[et],W),delete ue[et]}),Object.values(ue).forEach(be=>{this.deactivateRouteAndItsChildren(be,W)})}deactivateRoutes(v,M,W){const ue=v.value,be=M?M.value:null;if(ue===be)if(ue.component){const et=W.getContext(ue.outlet);et&&this.deactivateChildRoutes(v,M,et.children)}else this.deactivateChildRoutes(v,M,W);else be&&this.deactivateRouteAndItsChildren(M,W)}deactivateRouteAndItsChildren(v,M){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,M):this.deactivateRouteAndOutlet(v,M)}detachAndStoreRouteSubtree(v,M){const W=M.getContext(v.value.outlet),ue=W&&v.value.component?W.children:M,be=Na(v);for(const et of Object.keys(be))this.deactivateRouteAndItsChildren(be[et],ue);if(W&&W.outlet){const et=W.outlet.detach(),q=W.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:et,route:v,contexts:q})}}deactivateRouteAndOutlet(v,M){const W=M.getContext(v.value.outlet),ue=W&&v.value.component?W.children:M,be=Na(v);for(const et of Object.keys(be))this.deactivateRouteAndItsChildren(be[et],ue);W&&(W.outlet&&(W.outlet.deactivate(),W.children.onOutletDeactivated()),W.attachRef=null,W.route=null)}activateChildRoutes(v,M,W){const ue=Na(M);v.children.forEach(be=>{this.activateRoutes(be,ue[be.value.outlet],W),this.forwardEvent(new da(be.value.snapshot))}),v.children.length&&this.forwardEvent(new _s(v.value.snapshot))}activateRoutes(v,M,W){const ue=v.value,be=M?M.value:null;if($o(ue),ue===be)if(ue.component){const et=W.getOrCreateContext(ue.outlet);this.activateChildRoutes(v,M,et.children)}else this.activateChildRoutes(v,M,W);else if(ue.component){const et=W.getOrCreateContext(ue.outlet);if(this.routeReuseStrategy.shouldAttach(ue.snapshot)){const q=this.routeReuseStrategy.retrieve(ue.snapshot);this.routeReuseStrategy.store(ue.snapshot,null),et.children.onOutletReAttached(q.contexts),et.attachRef=q.componentRef,et.route=q.route.value,et.outlet&&et.outlet.attach(q.componentRef,q.route.value),$o(q.route.value),this.activateChildRoutes(v,null,et.children)}else{const q=Hs(ue.snapshot);et.attachRef=null,et.route=ue,et.injector=q,et.outlet&&et.outlet.activateWith(ue,et.injector),this.activateChildRoutes(v,null,et.children)}}else this.activateChildRoutes(v,null,W)}}class Sa{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class nl{constructor(v,M){this.component=v,this.route=M}}function ia(E,v,M){const W=E._root;return ml(W,v?v._root:null,M,[W.value])}function ka(E,v){const M=Symbol(),W=v.get(E,M);return W===M?"function"!=typeof E||(0,i.Z0I)(E)?v.get(E):E:W}function ml(E,v,M,W,ue={canDeactivateChecks:[],canActivateChecks:[]}){const be=Na(v);return E.children.forEach(et=>{(function yl(E,v,M,W,ue={canDeactivateChecks:[],canActivateChecks:[]}){const be=E.value,et=v?v.value:null,q=M?M.getContext(E.value.outlet):null;if(et&&be.routeConfig===et.routeConfig){const U=function Bc(E,v,M){if("function"==typeof M)return M(E,v);switch(M){case"pathParamsChange":return!Ms(E.url,v.url);case"pathParamsOrQueryParamsChange":return!Ms(E.url,v.url)||!De(E.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ko(E,v)||!De(E.queryParams,v.queryParams);default:return!Ko(E,v)}}(et,be,be.routeConfig.runGuardsAndResolvers);U?ue.canActivateChecks.push(new Sa(W)):(be.data=et.data,be._resolvedData=et._resolvedData),ml(E,v,be.component?q?q.children:null:M,W,ue),U&&q&&q.outlet&&q.outlet.isActivated&&ue.canDeactivateChecks.push(new nl(q.outlet.component,et))}else et&&il(v,q,ue),ue.canActivateChecks.push(new Sa(W)),ml(E,null,be.component?q?q.children:null:M,W,ue)})(et,be[et.value.outlet],M,W.concat([et.value]),ue),delete be[et.value.outlet]}),Object.entries(be).forEach(([et,q])=>il(q,M.getContext(et),ue)),ue}function il(E,v,M){const W=Na(E),ue=E.value;Object.entries(W).forEach(([be,et])=>{il(et,ue.component?v?v.children.getContext(be):null:v,M)}),M.canDeactivateChecks.push(new nl(ue.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,ue))}function As(E){return"function"==typeof E}function lr(E){return E instanceof Se.K||"EmptyError"===E?.name}const ro=Symbol("INITIAL_VALUE");function Xs(){return(0,tt.w)(E=>X(E.map(v=>v.pipe((0,Qe.q)(1),(0,pt.O)(ro)))).pipe((0,Je.U)(v=>{for(const M of v)if(!0!==M){if(M===ro)return ro;if(!1===M||M instanceof Or)return M}return!0}),(0,Nt.h)(v=>v!==ro),(0,Qe.q)(1)))}function ba(E){return(0,V.z)((0,Ct.b)(v=>{if(Tn(v))throw Ji(0,v)}),(0,Je.U)(v=>!0===v))}class Fa{constructor(v){this.segmentGroup=v||null}}class so{constructor(v){this.urlTree=v}}function Vs(E){return(0,J._)(new Fa(E))}function Vn(E){return(0,J._)(new so(E))}class ai{constructor(v,M){this.urlSerializer=v,this.urlTree=M}noMatchError(v){return new i.vHH(4002,!1)}lineralizeSegments(v,M){let W=[],ue=M.root;for(;;){if(W=W.concat(ue.segments),0===ue.numberOfChildren)return(0,C.of)(W);if(ue.numberOfChildren>1||!ue.children[Bn])return(0,J._)(new i.vHH(4e3,!1));ue=ue.children[Bn]}}applyRedirectCommands(v,M,W){return this.applyRedirectCreateUrlTree(M,this.urlSerializer.parse(M),v,W)}applyRedirectCreateUrlTree(v,M,W,ue){const be=this.createSegmentGroup(v,M.root,W,ue);return new Or(be,this.createQueryParams(M.queryParams,this.urlTree.queryParams),M.fragment)}createQueryParams(v,M){const W={};return Object.entries(v).forEach(([ue,be])=>{if("string"==typeof be&&be.startsWith(":")){const q=be.substring(1);W[ue]=M[q]}else W[ue]=be}),W}createSegmentGroup(v,M,W,ue){const be=this.createSegments(v,M.segments,W,ue);let et={};return Object.entries(M.children).forEach(([q,U])=>{et[q]=this.createSegmentGroup(v,U,W,ue)}),new Dr(be,et)}createSegments(v,M,W,ue){return M.map(be=>be.path.startsWith(":")?this.findPosParam(v,be,ue):this.findOrReturn(be,W))}findPosParam(v,M,W){const ue=W[M.path.substring(1)];if(!ue)throw new i.vHH(4001,!1);return ue}findOrReturn(v,M){let W=0;for(const ue of M){if(ue.path===v.path)return M.splice(W),ue;W++}return v}}const Nl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Oc(E,v,M,W,ue){const be=sl(E,v,M);return be.matched?(W=function xr(E,v){return E.providers&&!E._injector&&(E._injector=(0,i.MMx)(E.providers,v,`Route: ${E.path}`)),E._injector??v}(v,W),function Jl(E,v,M,W){const ue=v.canMatch;if(!ue||0===ue.length)return(0,C.of)(!0);const be=ue.map(et=>{const q=ka(et,E);return xt(function ut(E){return E&&As(E.canMatch)}(q)?q.canMatch(v,M):E.runInContext(()=>q(v,M)))});return(0,C.of)(be).pipe(Xs(),ba())}(W,v,M).pipe((0,Je.U)(et=>!0===et?be:{...Nl}))):(0,C.of)(be)}function sl(E,v,M){if(""===v.path)return"full"===v.pathMatch&&(E.hasChildren()||M.length>0)?{...Nl}:{matched:!0,consumedSegments:[],remainingSegments:M,parameters:{},positionalParamSegments:{}};const ue=(v.matcher||Ot)(M,E,v);if(!ue)return{...Nl};const be={};Object.entries(ue.posParams??{}).forEach(([q,U])=>{be[q]=U.path});const et=ue.consumed.length>0?{...be,...ue.consumed[ue.consumed.length-1].parameters}:be;return{matched:!0,consumedSegments:ue.consumed,remainingSegments:M.slice(ue.consumed.length),parameters:et,positionalParamSegments:ue.posParams??{}}}function bl(E,v,M,W){return M.length>0&&function Lc(E,v,M){return M.some(W=>Xo(E,v,W)&&Lr(W)!==Bn)}(E,M,W)?{segmentGroup:new Dr(v,Ao(W,new Dr(M,E.children))),slicedSegments:[]}:0===M.length&&function ol(E,v,M){return M.some(W=>Xo(E,v,W))}(E,M,W)?{segmentGroup:new Dr(E.segments,Cl(E,0,M,W,E.children)),slicedSegments:M}:{segmentGroup:new Dr(E.segments,E.children),slicedSegments:M}}function Cl(E,v,M,W,ue){const be={};for(const et of W)if(Xo(E,M,et)&&!ue[Lr(et)]){const q=new Dr([],{});be[Lr(et)]=q}return{...ue,...be}}function Ao(E,v){const M={};M[Bn]=v;for(const W of E)if(""===W.path&&Lr(W)!==Bn){const ue=new Dr([],{});M[Lr(W)]=ue}return M}function Xo(E,v,M){return(!(E.hasChildren()||v.length>0)||"full"!==M.pathMatch)&&""===M.path}class qo{constructor(v,M,W,ue,be,et,q){this.injector=v,this.configLoader=M,this.rootComponentType=W,this.config=ue,this.urlTree=be,this.paramsInheritanceStrategy=et,this.urlSerializer=q,this.allowRedirects=!0,this.applyRedirects=new ai(this.urlSerializer,this.urlTree)}noMatchError(v){return new i.vHH(4002,!1)}recognize(){const v=bl(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,v,Bn).pipe((0,He.K)(M=>{if(M instanceof so)return this.allowRedirects=!1,this.urlTree=M.urlTree,this.match(M.urlTree);throw M instanceof Fa?this.noMatchError(M):M}),(0,Je.U)(M=>{const W=new Ho([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Bn,this.rootComponentType,null,{}),ue=new as(W,M),be=new no("",ue),et=function pi(E,v,M=null,W=null){return Ti(nn(E),v,M,W)}(W,[],this.urlTree.queryParams,this.urlTree.fragment);return et.queryParams=this.urlTree.queryParams,be.url=this.urlSerializer.serialize(et),this.inheritParamsAndData(be._root),{state:be,tree:et}}))}match(v){return this.processSegmentGroup(this.injector,this.config,v.root,Bn).pipe((0,He.K)(W=>{throw W instanceof Fa?this.noMatchError(W):W}))}inheritParamsAndData(v){const M=v.value,W=$r(M,this.paramsInheritanceStrategy);M.params=Object.freeze(W.params),M.data=Object.freeze(W.data),v.children.forEach(ue=>this.inheritParamsAndData(ue))}processSegmentGroup(v,M,W,ue){return 0===W.segments.length&&W.hasChildren()?this.processChildren(v,M,W):this.processSegment(v,M,W,W.segments,ue,!0)}processChildren(v,M,W){const ue=[];for(const be of Object.keys(W.children))"primary"===be?ue.unshift(be):ue.push(be);return(0,y.D)(ue).pipe((0,ot.b)(be=>{const et=W.children[be],q=function Qs(E,v){const M=E.filter(W=>Lr(W)===v);return M.push(...E.filter(W=>Lr(W)!==v)),M}(M,be);return this.processSegmentGroup(v,q,et,be)}),function vt(E,v){return(0,ye.e)(function mt(E,v,M,W,ue){return(be,et)=>{let q=M,U=v,Y=0;be.subscribe((0,k.x)(et,ne=>{const pe=Y++;U=q?E(U,ne,pe):(q=!0,ne),W&&et.next(U)},ue&&(()=>{q&&et.next(U),et.complete()})))}}(E,v,arguments.length>=2,!0))}((be,et)=>(be.push(...et),be)),(0,hn.d)(null),function xn(E,v){const M=arguments.length>=2;return W=>W.pipe(E?(0,Nt.h)((ue,be)=>E(ue,be,W)):j.y,yt(1),M?(0,hn.d)(v):(0,Fn.T)(()=>new Se.K))}(),(0,Jt.z)(be=>{if(null===be)return Vs(W);const et=zo(be);return function Io(E){E.sort((v,M)=>v.value.outlet===Bn?-1:M.value.outlet===Bn?1:v.value.outlet.localeCompare(M.value.outlet))}(et),(0,C.of)(et)}))}processSegment(v,M,W,ue,be,et){return(0,y.D)(M).pipe((0,ot.b)(q=>this.processSegmentAgainstRoute(q._injector??v,M,q,W,ue,be,et).pipe((0,He.K)(U=>{if(U instanceof Fa)return(0,C.of)(null);throw U}))),(0,nt.P)(q=>!!q),(0,He.K)(q=>{if(lr(q))return function vl(E,v,M){return 0===v.length&&!E.children[M]}(W,ue,be)?(0,C.of)([]):Vs(W);throw q}))}processSegmentAgainstRoute(v,M,W,ue,be,et,q){return function hs(E,v,M,W){return!!(Lr(E)===W||W!==Bn&&Xo(v,M,E))&&("**"===E.path||sl(v,E,M).matched)}(W,ue,be,et)?void 0===W.redirectTo?this.matchSegmentAgainstRoute(v,ue,W,be,et,q):q&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(v,ue,M,W,be,et):Vs(ue):Vs(ue)}expandSegmentAgainstRouteUsingRedirect(v,M,W,ue,be,et){return"**"===ue.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(v,W,ue,et):this.expandRegularSegmentAgainstRouteUsingRedirect(v,M,W,ue,be,et)}expandWildCardWithParamsAgainstRouteUsingRedirect(v,M,W,ue){const be=this.applyRedirects.applyRedirectCommands([],W.redirectTo,{});return W.redirectTo.startsWith("/")?Vn(be):this.applyRedirects.lineralizeSegments(W,be).pipe((0,Jt.z)(et=>{const q=new Dr(et,{});return this.processSegment(v,M,q,et,ue,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(v,M,W,ue,be,et){const{matched:q,consumedSegments:U,remainingSegments:Y,positionalParamSegments:ne}=sl(M,ue,be);if(!q)return Vs(M);const pe=this.applyRedirects.applyRedirectCommands(U,ue.redirectTo,ne);return ue.redirectTo.startsWith("/")?Vn(pe):this.applyRedirects.lineralizeSegments(ue,pe).pipe((0,Jt.z)(Ve=>this.processSegment(v,W,M,Ve.concat(Y),et,!1)))}matchSegmentAgainstRoute(v,M,W,ue,be,et){let q;if("**"===W.path){const U=ue.length>0?Ye(ue).parameters:{},Y=new Ho(ue,U,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,is(W),Lr(W),W.component??W._loadedComponent??null,W,Ql(W));q=(0,C.of)({snapshot:Y,consumedSegments:[],remainingSegments:[]}),M.children={}}else q=Oc(M,W,ue,v).pipe((0,Je.U)(({matched:U,consumedSegments:Y,remainingSegments:ne,parameters:pe})=>U?{snapshot:new Ho(Y,pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,is(W),Lr(W),W.component??W._loadedComponent??null,W,Ql(W)),consumedSegments:Y,remainingSegments:ne}:null));return q.pipe((0,tt.w)(U=>null===U?Vs(M):this.getChildConfig(v=W._injector??v,W,ue).pipe((0,tt.w)(({routes:Y})=>{const ne=W._loadedInjector??v,{snapshot:pe,consumedSegments:Ve,remainingSegments:bt}=U,{segmentGroup:It,slicedSegments:Xt}=bl(M,Ve,bt,Y);if(0===Xt.length&&It.hasChildren())return this.processChildren(ne,Y,It).pipe((0,Je.U)(ni=>null===ni?null:[new as(pe,ni)]));if(0===Y.length&&0===Xt.length)return(0,C.of)([new as(pe,[])]);const Cn=Lr(W)===be;return this.processSegment(ne,Y,It,Xt,Cn?Bn:be,!0).pipe((0,Je.U)(ni=>[new as(pe,ni)]))}))))}getChildConfig(v,M,W){return M.children?(0,C.of)({routes:M.children,injector:v}):M.loadChildren?void 0!==M._loadedRoutes?(0,C.of)({routes:M._loadedRoutes,injector:M._loadedInjector}):function pa(E,v,M,W){const ue=v.canLoad;if(void 0===ue||0===ue.length)return(0,C.of)(!0);const be=ue.map(et=>{const q=ka(et,E);return xt(function ya(E){return E&&As(E.canLoad)}(q)?q.canLoad(v,M):E.runInContext(()=>q(v,M)))});return(0,C.of)(be).pipe(Xs(),ba())}(v,M,W).pipe((0,Jt.z)(ue=>ue?this.configLoader.loadChildren(v,M).pipe((0,Ct.b)(be=>{M._loadedRoutes=be.routes,M._loadedInjector=be.injector})):function ra(E){return(0,J._)(uo(!1,3))}())):(0,C.of)({routes:[],injector:v})}}function hr(E){const v=E.value.routeConfig;return v&&""===v.path}function zo(E){const v=[],M=new Set;for(const W of E){if(!hr(W)){v.push(W);continue}const ue=v.find(be=>W.value.routeConfig===be.value.routeConfig);void 0!==ue?(ue.children.push(...W.children),M.add(ue)):v.push(W)}for(const W of M){const ue=zo(W.children);v.push(new as(W.value,ue))}return v.filter(W=>!M.has(W))}function is(E){return E.data||{}}function Ql(E){return E.resolve||{}}function Hn(E){return"string"==typeof E.title||null===E.title}function Si(E){return(0,tt.w)(v=>{const M=E(v);return M?(0,y.D)(M).pipe((0,Je.U)(()=>v)):(0,C.of)(v)})}const ps=new i.OlP("ROUTES");let qr=(()=>{class E{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(M){if(this.componentLoaders.get(M))return this.componentLoaders.get(M);if(M._loadedComponent)return(0,C.of)(M._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(M);const W=xt(M.loadComponent()).pipe((0,Je.U)(Ws),(0,Ct.b)(be=>{this.onLoadEndListener&&this.onLoadEndListener(M),M._loadedComponent=be}),(0,dn.x)(()=>{this.componentLoaders.delete(M)})),ue=new Ge(W,()=>new gt.x).pipe(Ee());return this.componentLoaders.set(M,ue),ue}loadChildren(M,W){if(this.childrenLoaders.get(W))return this.childrenLoaders.get(W);if(W._loadedRoutes)return(0,C.of)({routes:W._loadedRoutes,injector:W._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(W);const be=function ls(E,v,M,W){return xt(E.loadChildren()).pipe((0,Je.U)(Ws),(0,Jt.z)(ue=>ue instanceof i.YKP||Array.isArray(ue)?(0,C.of)(ue):(0,y.D)(v.compileModuleAsync(ue))),(0,Je.U)(ue=>{W&&W(E);let be,et,q=!1;return Array.isArray(ue)?(et=ue,!0):(be=ue.create(M).injector,et=be.get(ps,[],{optional:!0,self:!0}).flat()),{routes:et.map(pl),injector:be}}))}(W,this.compiler,M,this.onLoadEndListener).pipe((0,dn.x)(()=>{this.childrenLoaders.delete(W)})),et=new Ge(be,()=>new gt.x).pipe(Ee());return this.childrenLoaders.set(W,et),et}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();function Ws(E){return function zr(E){return E&&"object"==typeof E&&"default"in E}(E)?E.default:E}let ks=(()=>{class E{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new gt.x,this.transitionAbortSubject=new gt.x,this.configLoader=(0,i.f3M)(qr),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(On),this.rootContexts=(0,i.f3M)(ds),this.inputBindingEnabled=null!==(0,i.f3M)(Aa,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,C.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ue=>this.events.next(new Ks(ue)),this.configLoader.onLoadStartListener=ue=>this.events.next(new Fo(ue))}complete(){this.transitions?.complete()}handleNavigationRequest(M){const W=++this.navigationId;this.transitions?.next({...this.transitions.value,...M,id:W})}setupNavigations(M,W,ue){return this.transitions=new b.X({id:0,currentUrlTree:W,currentRawUrl:W,currentBrowserUrl:W,extractedUrl:M.urlHandlingStrategy.extract(W),urlAfterRedirects:M.urlHandlingStrategy.extract(W),rawUrl:W,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ds,restoredState:null,currentSnapshot:ue.snapshot,targetSnapshot:null,currentRouterState:ue,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Nt.h)(be=>0!==be.id),(0,Je.U)(be=>({...be,extractedUrl:M.urlHandlingStrategy.extract(be.rawUrl)})),(0,tt.w)(be=>{this.currentTransition=be;let et=!1,q=!1;return(0,C.of)(be).pipe((0,Ct.b)(U=>{this.currentNavigation={id:U.id,initialUrl:U.rawUrl,extractedUrl:U.extractedUrl,trigger:U.source,extras:U.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,tt.w)(U=>{const Y=U.currentBrowserUrl.toString(),ne=!M.navigated||U.extractedUrl.toString()!==Y||Y!==U.currentUrlTree.toString();if(!ne&&"reload"!==(U.extras.onSameUrlNavigation??M.onSameUrlNavigation)){const Ve="";return this.events.next(new un(U.id,this.urlSerializer.serialize(U.rawUrl),Ve,0)),U.resolve(null),ae.E}if(M.urlHandlingStrategy.shouldProcessUrl(U.rawUrl))return(0,C.of)(U).pipe((0,tt.w)(Ve=>{const bt=this.transitions?.getValue();return this.events.next(new En(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),Ve.source,Ve.restoredState)),bt!==this.transitions?.getValue()?ae.E:Promise.resolve(Ve)}),function re(E,v,M,W,ue,be){return(0,Jt.z)(et=>function al(E,v,M,W,ue,be,et="emptyOnly"){return new qo(E,v,M,W,ue,et,be).recognize()}(E,v,M,W,et.extractedUrl,ue,be).pipe((0,Je.U)(({state:q,tree:U})=>({...et,targetSnapshot:q,urlAfterRedirects:U}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,M.config,this.urlSerializer,M.paramsInheritanceStrategy),(0,Ct.b)(Ve=>{be.targetSnapshot=Ve.targetSnapshot,be.urlAfterRedirects=Ve.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ve.urlAfterRedirects};const bt=new Ui(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(bt)}));if(ne&&M.urlHandlingStrategy.shouldProcessUrl(U.currentRawUrl)){const{id:Ve,extractedUrl:bt,source:It,restoredState:Xt,extras:Cn}=U,ni=new En(Ve,this.urlSerializer.serialize(bt),It,Xt);this.events.next(ni);const oi=Fi(0,this.rootComponentType).snapshot;return this.currentTransition=be={...U,targetSnapshot:oi,urlAfterRedirects:bt,extras:{...Cn,skipLocationChange:!1,replaceUrl:!1}},(0,C.of)(be)}{const Ve="";return this.events.next(new un(U.id,this.urlSerializer.serialize(U.extractedUrl),Ve,1)),U.resolve(null),ae.E}}),(0,Ct.b)(U=>{const Y=new Gi(U.id,this.urlSerializer.serialize(U.extractedUrl),this.urlSerializer.serialize(U.urlAfterRedirects),U.targetSnapshot);this.events.next(Y)}),(0,Je.U)(U=>(this.currentTransition=be={...U,guards:ia(U.targetSnapshot,U.currentSnapshot,this.rootContexts)},be)),function Jo(E,v){return(0,Jt.z)(M=>{const{targetSnapshot:W,currentSnapshot:ue,guards:{canActivateChecks:be,canDeactivateChecks:et}}=M;return 0===et.length&&0===be.length?(0,C.of)({...M,guardsResult:!0}):function Qo(E,v,M,W){return(0,y.D)(E).pipe((0,Jt.z)(ue=>function Rl(E,v,M,W,ue){const be=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!be||0===be.length)return(0,C.of)(!0);const et=be.map(q=>{const U=Hs(v)??ue,Y=ka(q,U);return xt(function Ce(E){return E&&As(E.canDeactivate)}(Y)?Y.canDeactivate(E,v,M,W):U.runInContext(()=>Y(E,v,M,W))).pipe((0,nt.P)())});return(0,C.of)(et).pipe(Xs())}(ue.component,ue.route,M,v,W)),(0,nt.P)(ue=>!0!==ue,!0))}(et,W,ue,E).pipe((0,Jt.z)(q=>q&&function _l(E){return"boolean"==typeof E}(q)?function ga(E,v,M,W){return(0,y.D)(v).pipe((0,ot.b)(ue=>(0,wt.z)(function rl(E,v){return null!==E&&v&&v(new na(E)),(0,C.of)(!0)}(ue.route.parent,W),function Ts(E,v){return null!==E&&v&&v(new ko(E)),(0,C.of)(!0)}(ue.route,W),function Cs(E,v,M){const W=v[v.length-1],be=v.slice(0,v.length-1).reverse().map(et=>function lc(E){const v=E.routeConfig?E.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:E,guards:v}:null}(et)).filter(et=>null!==et).map(et=>(0,K.P)(()=>{const q=et.guards.map(U=>{const Y=Hs(et.node)??M,ne=ka(U,Y);return xt(function ze(E){return E&&As(E.canActivateChild)}(ne)?ne.canActivateChild(W,E):Y.runInContext(()=>ne(W,E))).pipe((0,nt.P)())});return(0,C.of)(q).pipe(Xs())}));return(0,C.of)(be).pipe(Xs())}(E,ue.path,M),function kc(E,v,M){const W=v.routeConfig?v.routeConfig.canActivate:null;if(!W||0===W.length)return(0,C.of)(!0);const ue=W.map(be=>(0,K.P)(()=>{const et=Hs(v)??M,q=ka(be,et);return xt(function Ne(E){return E&&As(E.canActivate)}(q)?q.canActivate(v,E):et.runInContext(()=>q(v,E))).pipe((0,nt.P)())}));return(0,C.of)(ue).pipe(Xs())}(E,ue.route,M))),(0,nt.P)(ue=>!0!==ue,!0))}(W,be,E,v):(0,C.of)(q)),(0,Je.U)(q=>({...M,guardsResult:q})))})}(this.environmentInjector,U=>this.events.next(U)),(0,Ct.b)(U=>{if(be.guardsResult=U.guardsResult,Tn(U.guardsResult))throw Ji(0,U.guardsResult);const Y=new _r(U.id,this.urlSerializer.serialize(U.extractedUrl),this.urlSerializer.serialize(U.urlAfterRedirects),U.targetSnapshot,!!U.guardsResult);this.events.next(Y)}),(0,Nt.h)(U=>!!U.guardsResult||(this.cancelNavigationTransition(U,"",3),!1)),Si(U=>{if(U.guards.canActivateChecks.length)return(0,C.of)(U).pipe((0,Ct.b)(Y=>{const ne=new us(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot);this.events.next(ne)}),(0,tt.w)(Y=>{let ne=!1;return(0,C.of)(Y).pipe(function qe(E,v){return(0,Jt.z)(M=>{const{targetSnapshot:W,guards:{canActivateChecks:ue}}=M;if(!ue.length)return(0,C.of)(M);let be=0;return(0,y.D)(ue).pipe((0,ot.b)(et=>function Te(E,v,M,W){const ue=E.routeConfig,be=E._resolve;return void 0!==ue?.title&&!Hn(ue)&&(be[xi]=ue.title),function We(E,v,M,W){const ue=function Ut(E){return[...Object.keys(E),...Object.getOwnPropertySymbols(E)]}(E);if(0===ue.length)return(0,C.of)({});const be={};return(0,y.D)(ue).pipe((0,Jt.z)(et=>function Ln(E,v,M,W){const ue=Hs(v)??W,be=ka(E,ue);return xt(be.resolve?be.resolve(v,M):ue.runInContext(()=>be(v,M)))}(E[et],v,M,W).pipe((0,nt.P)(),(0,Ct.b)(q=>{be[et]=q}))),yt(1),(0,In.h)(be),(0,He.K)(et=>lr(et)?ae.E:(0,J._)(et)))}(be,E,v,W).pipe((0,Je.U)(et=>(E._resolvedData=et,E.data=$r(E,M).resolve,ue&&Hn(ue)&&(E.data[xi]=ue.title),null)))}(et.route,W,E,v)),(0,Ct.b)(()=>be++),yt(1),(0,Jt.z)(et=>be===ue.length?(0,C.of)(M):ae.E))})}(M.paramsInheritanceStrategy,this.environmentInjector),(0,Ct.b)({next:()=>ne=!0,complete:()=>{ne||this.cancelNavigationTransition(Y,"",2)}}))}),(0,Ct.b)(Y=>{const ne=new So(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot);this.events.next(ne)}))}),Si(U=>{const Y=ne=>{const pe=[];ne.routeConfig?.loadComponent&&!ne.routeConfig._loadedComponent&&pe.push(this.configLoader.loadComponent(ne.routeConfig).pipe((0,Ct.b)(Ve=>{ne.component=Ve}),(0,Je.U)(()=>{})));for(const Ve of ne.children)pe.push(...Y(Ve));return pe};return X(Y(U.targetSnapshot.root)).pipe((0,hn.d)(),(0,Qe.q)(1))}),Si(()=>this.afterPreactivation()),(0,Je.U)(U=>{const Y=function gr(E,v,M){const W=Us(E,v._root,M?M._root:void 0);return new Ma(W,v)}(M.routeReuseStrategy,U.targetSnapshot,U.currentRouterState);return this.currentTransition=be={...U,targetRouterState:Y},be}),(0,Ct.b)(()=>{this.events.next(new er)}),((E,v,M,W)=>(0,Je.U)(ue=>(new jo(v,ue.targetRouterState,ue.currentRouterState,M,W).activate(E),ue)))(this.rootContexts,M.routeReuseStrategy,U=>this.events.next(U),this.inputBindingEnabled),(0,Qe.q)(1),(0,Ct.b)({next:U=>{et=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new dt(U.id,this.urlSerializer.serialize(U.extractedUrl),this.urlSerializer.serialize(U.urlAfterRedirects))),M.titleStrategy?.updateTitle(U.targetRouterState.snapshot),U.resolve(!0)},complete:()=>{et=!0}}),(0,qn.R)(this.transitionAbortSubject.pipe((0,Ct.b)(U=>{throw U}))),(0,dn.x)(()=>{et||q||this.cancelNavigationTransition(be,"",1),this.currentNavigation?.id===be.id&&(this.currentNavigation=null)}),(0,He.K)(U=>{if(q=!0,Js(U))this.events.next(new Tt(be.id,this.urlSerializer.serialize(be.extractedUrl),U.message,U.cancellationCode)),function Oo(E){return Js(E)&&Tn(E.url)}(U)?this.events.next(new Cr(U.url)):be.resolve(!1);else{this.events.next(new Yn(be.id,this.urlSerializer.serialize(be.extractedUrl),U,be.targetSnapshot??void 0));try{be.resolve(M.errorHandler(U))}catch(Y){be.reject(Y)}}return ae.E}))}))}cancelNavigationTransition(M,W,ue){const be=new Tt(M.id,this.urlSerializer.serialize(M.extractedUrl),W,ue);this.events.next(be),M.resolve(!1)}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();function rs(E){return E!==Ds}let ea=(()=>{class E{buildTitle(M){let W,ue=M.root;for(;void 0!==ue;)W=this.getResolvedTitleForRoute(ue)??W,ue=ue.children.find(be=>be.outlet===Bn);return W}getResolvedTitleForRoute(M){return M.data[xi]}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return(0,i.f3M)(Zs)},providedIn:"root"})}return E})(),Zs=(()=>{class E extends ea{constructor(M){super(),this.title=M}updateTitle(M){const W=this.buildTitle(M);void 0!==W&&this.title.setTitle(W)}static#e=this.\u0275fac=function(W){return new(W||E)(i.LFG(ir.Dx))};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),xa=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return(0,i.f3M)($a)},providedIn:"root"})}return E})();class Ya{shouldDetach(v){return!1}store(v,M){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,M){return v.routeConfig===M.routeConfig}}let $a=(()=>{class E extends Ya{static#e=this.\u0275fac=function(){let M;return function(ue){return(M||(M=i.n5z(E)))(ue||E)}}();static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();const fo=new i.OlP("",{providedIn:"root",factory:()=>({})});let za=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return(0,i.f3M)(Uc)},providedIn:"root"})}return E})(),Uc=(()=>{class E{shouldProcessUrl(M){return!0}extract(M){return M}merge(M,W){return M}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();var Es=function(E){return E[E.COMPLETE=0]="COMPLETE",E[E.FAILED=1]="FAILED",E[E.REDIRECTING=2]="REDIRECTING",E}(Es||{});function Vl(E,v){E.events.pipe((0,Nt.h)(M=>M instanceof dt||M instanceof Tt||M instanceof Yn||M instanceof un),(0,Je.U)(M=>M instanceof dt||M instanceof un?Es.COMPLETE:M instanceof Tt&&(0===M.code||1===M.code)?Es.REDIRECTING:Es.FAILED),(0,Nt.h)(M=>M!==Es.REDIRECTING),(0,Qe.q)(1)).subscribe(()=>{v()})}function Ka(E){throw E}function go(E,v,M){return v.parse("/")}const Fl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ba={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let po=(()=>{class E{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this._events=new gt.x,this.options=(0,i.f3M)(fo,{optional:!0})||{},this.pendingTasks=(0,i.f3M)(i.HDt),this.errorHandler=this.options.errorHandler||Ka,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||go,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(za),this.routeReuseStrategy=(0,i.f3M)(xa),this.titleStrategy=(0,i.f3M)(ea),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,i.f3M)(ps,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.f3M)(ks),this.urlSerializer=(0,i.f3M)(On),this.location=(0,i.f3M)(Ze.Ye),this.componentInputBindingEnabled=!!(0,i.f3M)(Aa,{optional:!0}),this.eventsSubscription=new oe.w0,this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Or,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Fi(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(M=>{this.lastSuccessfulId=M.id,this.currentPageId=this.browserPageId},M=>{this.console.warn(`Unhandled Navigation Error: ${M}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const M=this.navigationTransitions.events.subscribe(W=>{try{const{currentTransition:ue}=this.navigationTransitions;if(null===ue)return void(ma(W)&&this._events.next(W));if(W instanceof En)rs(ue.source)&&(this.browserUrlTree=ue.extractedUrl);else if(W instanceof un)this.rawUrlTree=ue.rawUrl;else if(W instanceof Ui){if("eager"===this.urlUpdateStrategy){if(!ue.extras.skipLocationChange){const be=this.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl);this.setBrowserUrl(be,ue)}this.browserUrlTree=ue.urlAfterRedirects}}else if(W instanceof er)this.currentUrlTree=ue.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl),this.routerState=ue.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ue.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ue),this.browserUrlTree=ue.urlAfterRedirects);else if(W instanceof Tt)0!==W.code&&1!==W.code&&(this.navigated=!0),(3===W.code||2===W.code)&&this.restoreHistory(ue);else if(W instanceof Cr){const be=this.urlHandlingStrategy.merge(W.url,ue.currentRawUrl),et={skipLocationChange:ue.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||rs(ue.source)};this.scheduleNavigation(be,Ds,null,et,{resolve:ue.resolve,reject:ue.reject,promise:ue.promise})}W instanceof Yn&&this.restoreHistory(ue,!0),W instanceof dt&&(this.navigated=!0),ma(W)&&this._events.next(W)}catch(ue){this.navigationTransitions.transitionAbortSubject.next(ue)}});this.eventsSubscription.add(M)}resetRootComponentType(M){this.routerState.root.component=M,this.navigationTransitions.rootComponentType=M}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const M=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ds,M)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(M=>{const W="popstate"===M.type?"popstate":"hashchange";"popstate"===W&&setTimeout(()=>{this.navigateToSyncWithBrowser(M.url,W,M.state)},0)}))}navigateToSyncWithBrowser(M,W,ue){const be={replaceUrl:!0},et=ue?.navigationId?ue:null;if(ue){const U={...ue};delete U.navigationId,delete U.\u0275routerPageId,0!==Object.keys(U).length&&(be.state=U)}const q=this.parseUrl(M);this.scheduleNavigation(q,W,et,be)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(M){this.config=M.map(pl),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(M,W={}){const{relativeTo:ue,queryParams:be,fragment:et,queryParamsHandling:q,preserveFragment:U}=W,Y=U?this.currentUrlTree.fragment:et;let pe,ne=null;switch(q){case"merge":ne={...this.currentUrlTree.queryParams,...be};break;case"preserve":ne=this.currentUrlTree.queryParams;break;default:ne=be||null}null!==ne&&(ne=this.removeEmptyProps(ne));try{pe=nn(ue?ue.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof M[0]||!M[0].startsWith("/"))&&(M=[]),pe=this.currentUrlTree.root}return Ti(pe,M,ne,Y??null)}navigateByUrl(M,W={skipLocationChange:!1}){const ue=Tn(M)?M:this.parseUrl(M),be=this.urlHandlingStrategy.merge(ue,this.rawUrlTree);return this.scheduleNavigation(be,Ds,null,W)}navigate(M,W={skipLocationChange:!1}){return function yo(E){for(let v=0;v{const be=M[ue];return null!=be&&(W[ue]=be),W},{})}scheduleNavigation(M,W,ue,be,et){if(this.disposed)return Promise.resolve(!1);let q,U,Y;et?(q=et.resolve,U=et.reject,Y=et.promise):Y=new Promise((pe,Ve)=>{q=pe,U=Ve});const ne=this.pendingTasks.add();return Vl(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ne))}),this.navigationTransitions.handleNavigationRequest({source:W,restoredState:ue,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:M,extras:be,resolve:q,reject:U,promise:Y,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Y.catch(pe=>Promise.reject(pe))}setBrowserUrl(M,W){const ue=this.urlSerializer.serialize(M);if(this.location.isCurrentPathEqualTo(ue)||W.extras.replaceUrl){const et={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId)};this.location.replaceState(ue,"",et)}else{const be={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId+1)};this.location.go(ue,"",be)}}restoreHistory(M,W=!1){if("computed"===this.canceledNavigationResolution){const be=this.currentPageId-this.browserPageId;0!==be?this.location.historyGo(be):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===be&&(this.resetState(M),this.browserUrlTree=M.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(W&&this.resetState(M),this.resetUrlToCurrentUrlTree())}resetState(M){this.routerState=M.currentRouterState,this.currentUrlTree=M.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,M.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(M,W){return"computed"===this.canceledNavigationResolution?{navigationId:M,\u0275routerPageId:W}:{navigationId:M}}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();function ma(E){return!(E instanceof er||E instanceof Cr)}let xl=(()=>{class E{constructor(M,W,ue,be,et,q){this.router=M,this.route=W,this.tabIndexAttribute=ue,this.renderer=be,this.el=et,this.locationStrategy=q,this.href=null,this.commands=null,this.onChanges=new gt.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const U=et.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===U||"area"===U,this.isAnchorElement?this.subscription=M.events.subscribe(Y=>{Y instanceof dt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(M){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",M)}ngOnChanges(M){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(M){null!=M?(this.commands=Array.isArray(M)?M:[M],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(M,W,ue,be,et){return!!(null===this.urlTree||this.isAnchorElement&&(0!==M||W||ue||be||et||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const M=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",M)}applyAttributeValue(M,W){const ue=this.renderer,be=this.el.nativeElement;null!==W?ue.setAttribute(be,M,W):ue.removeAttribute(be,M)}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})}static#e=this.\u0275fac=function(W){return new(W||E)(i.Y36(po),i.Y36(dr),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(Ze.S$))};static#t=this.\u0275dir=i.lG2({type:E,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(W,ue){1&W&&i.NdJ("click",function(et){return ue.onClick(et.button,et.ctrlKey,et.shiftKey,et.altKey,et.metaKey)}),2&W&&i.uIk("target",ue.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",i.VuI],replaceUrl:["replaceUrl","replaceUrl",i.VuI],routerLink:"routerLink"},standalone:!0,features:[i.Xq5,i.TTD]})}return E})(),Xl=(()=>{class E{get isActive(){return this._isActive}constructor(M,W,ue,be,et){this.router=M,this.element=W,this.renderer=ue,this.cdr=be,this.link=et,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.vpe,this.routerEventsSubscription=M.events.subscribe(q=>{q instanceof dt&&this.update()})}ngAfterContentInit(){(0,C.of)(this.links.changes,(0,C.of)(null)).pipe((0,di.J)()).subscribe(M=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const M=[...this.links.toArray(),this.link].filter(W=>!!W).map(W=>W.onChanges);this.linkInputChangesSubscription=(0,y.D)(M).pipe((0,di.J)()).subscribe(W=>{this._isActive!==this.isLinkActive(this.router)(W)&&this.update()})}set routerLinkActive(M){const W=Array.isArray(M)?M:M.split(" ");this.classes=W.filter(ue=>!!ue)}ngOnChanges(M){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const M=this.hasActiveLinks();this._isActive!==M&&(this._isActive=M,this.cdr.markForCheck(),this.classes.forEach(W=>{M?this.renderer.addClass(this.element.nativeElement,W):this.renderer.removeClass(this.element.nativeElement,W)}),M&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(M))})}isLinkActive(M){const W=function _a(E){return!!E.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ue=>!!ue.urlTree&&M.isActive(ue.urlTree,W)}hasActiveLinks(){const M=this.isLinkActive(this.router);return this.link&&M(this.link)||this.links.some(M)}static#e=this.\u0275fac=function(W){return new(W||E)(i.Y36(po),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(xl,8))};static#t=this.\u0275dir=i.lG2({type:E,selectors:[["","routerLinkActive",""]],contentQueries:function(W,ue,be){if(1&W&&i.Suo(be,xl,5),2&W){let et;i.iGM(et=i.CRH())&&(ue.links=et)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[i.TTD]})}return E})();class cc{}let uc=(()=>{class E{constructor(M,W,ue,be,et){this.router=M,this.injector=ue,this.preloadingStrategy=be,this.loader=et}setUpPreloading(){this.subscription=this.router.events.pipe((0,Nt.h)(M=>M instanceof dt),(0,ot.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(M,W){const ue=[];for(const be of W){be.providers&&!be._injector&&(be._injector=(0,i.MMx)(be.providers,M,`Route: ${be.path}`));const et=be._injector??M,q=be._loadedInjector??et;(be.loadChildren&&!be._loadedRoutes&&void 0===be.canLoad||be.loadComponent&&!be._loadedComponent)&&ue.push(this.preloadConfig(et,be)),(be.children||be._loadedRoutes)&&ue.push(this.processRoutes(q,be.children??be._loadedRoutes))}return(0,y.D)(ue).pipe((0,di.J)())}preloadConfig(M,W){return this.preloadingStrategy.preload(W,()=>{let ue;ue=W.loadChildren&&void 0===W.canLoad?this.loader.loadChildren(M,W):(0,C.of)(null);const be=ue.pipe((0,Jt.z)(et=>null===et?(0,C.of)(void 0):(W._loadedRoutes=et.routes,W._loadedInjector=et.injector,this.processRoutes(et.injector??M,et.routes))));if(W.loadComponent&&!W._loadedComponent){const et=this.loader.loadComponent(W);return(0,y.D)([be,et]).pipe((0,di.J)())}return be})}static#e=this.\u0275fac=function(W){return new(W||E)(i.LFG(po),i.LFG(i.Sil),i.LFG(i.lqb),i.LFG(cc),i.LFG(qr))};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();const ql=new i.OlP("");let Yl=(()=>{class E{constructor(M,W,ue,be,et={}){this.urlSerializer=M,this.transitions=W,this.viewportScroller=ue,this.zone=be,this.options=et,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},et.scrollPositionRestoration=et.scrollPositionRestoration||"disabled",et.anchorScrolling=et.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof En?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=M.navigationTrigger,this.restoredId=M.restoredState?M.restoredState.navigationId:0):M instanceof dt?(this.lastId=M.id,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.urlAfterRedirects).fragment)):M instanceof un&&0===M.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof Wa&&(M.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(M.position):M.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(M.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(M,W){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Wa(M,"popstate"===this.lastSource?this.store[this.restoredId]:null,W))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(W){i.$Z()};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac})}return E})();function Bl(E,v){return{\u0275kind:E,\u0275providers:v}}function El(){const E=(0,i.f3M)(i.zs3);return v=>{const M=E.get(i.z2F);if(v!==M.components[0])return;const W=E.get(po),ue=E.get(Gc);1===E.get(Ja)&&W.initialNavigation(),E.get(ii,null,i.XFs.Optional)?.setUpPreloading(),E.get(ql,null,i.XFs.Optional)?.init(),W.resetRootComponentType(M.componentTypes[0]),ue.closed||(ue.next(),ue.complete(),ue.unsubscribe())}}const Gc=new i.OlP("",{factory:()=>new gt.x}),Ja=new i.OlP("",{providedIn:"root",factory:()=>1}),ii=new i.OlP("");function es(E){return Bl(0,[{provide:ii,useExisting:uc},{provide:cc,useExisting:E}])}const Oa=new i.OlP("ROUTER_FORROOT_GUARD"),Ea=[Ze.Ye,{provide:On,useClass:mr},po,ds,{provide:dr,useFactory:function Tl(E){return E.routerState.root},deps:[po]},qr,[]];function wl(){return new i.PXZ("Router",po)}let jc=(()=>{class E{constructor(M){}static forRoot(M,W){return{ngModule:E,providers:[Ea,[],{provide:ps,multi:!0,useValue:M},{provide:Oa,useFactory:Qa,deps:[[po,new i.FiY,new i.tp0]]},{provide:fo,useValue:W||{}},W?.useHash?{provide:Ze.S$,useClass:Ze.Do}:{provide:Ze.S$,useClass:Ze.b0},{provide:ql,useFactory:()=>{const E=(0,i.f3M)(Ze.EM),v=(0,i.f3M)(i.R0b),M=(0,i.f3M)(fo),W=(0,i.f3M)(ks),ue=(0,i.f3M)(On);return M.scrollOffset&&E.setOffset(M.scrollOffset),new Yl(ue,W,E,v,M)}},W?.preloadingStrategy?es(W.preloadingStrategy).\u0275providers:[],{provide:i.PXZ,multi:!0,useFactory:wl},W?.initialNavigation?Kr(W):[],W?.bindToComponentInputs?Bl(8,[Xr,{provide:Aa,useExisting:Xr}]).\u0275providers:[],[{provide:oo,useFactory:El},{provide:i.tb,multi:!0,useExisting:oo}]]}}static forChild(M){return{ngModule:E,providers:[{provide:ps,multi:!0,useValue:M}]}}static#e=this.\u0275fac=function(W){return new(W||E)(i.LFG(Oa,8))};static#t=this.\u0275mod=i.oAB({type:E});static#n=this.\u0275inj=i.cJS({})}return E})();function Qa(E){return"guarded"}function Kr(E){return["disabled"===E.initialNavigation?Bl(3,[{provide:i.ip1,multi:!0,useFactory:()=>{const v=(0,i.f3M)(po);return()=>{v.setUpLocationChangeListener()}}},{provide:Ja,useValue:2}]).\u0275providers:[],"enabledBlocking"===E.initialNavigation?Bl(2,[{provide:Ja,useValue:0},{provide:i.ip1,multi:!0,deps:[i.zs3],useFactory:v=>{const M=v.get(Ze.V_,Promise.resolve());return()=>M.then(()=>new Promise(W=>{const ue=v.get(po),be=v.get(Gc);Vl(ue,()=>{W(!0)}),v.get(ks).afterPreactivation=()=>(W(!0),be.closed?(0,C.of)(void 0):be),ue.initialNavigation()}))}}]).\u0275providers:[]]}const oo=new i.OlP("")},1338:(lt,_e,m)=>{"use strict";m.d(_e,{vQ:()=>U_});var i=m(755);function t(u){return u+.5|0}const A=(u,d,c)=>Math.max(Math.min(u,c),d);function a(u){return A(t(2.55*u),0,255)}function C(u){return A(t(255*u),0,255)}function b(u){return A(t(u/2.55)/100,0,1)}function F(u){return A(t(100*u),0,100)}const j={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},N=[..."0123456789ABCDEF"],x=u=>N[15&u],H=u=>N[(240&u)>>4]+N[15&u],k=u=>(240&u)>>4==(15&u);const Se=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function wt(u,d,c){const p=d*Math.min(c,1-c),_=(w,O=(w+u/30)%12)=>c-p*Math.max(Math.min(O-3,9-O,1),-1);return[_(0),_(8),_(4)]}function K(u,d,c){const p=(_,w=(_+u/60)%6)=>c-c*d*Math.max(Math.min(w,4-w,1),0);return[p(5),p(3),p(1)]}function V(u,d,c){const p=wt(u,1,.5);let _;for(d+c>1&&(_=1/(d+c),d*=_,c*=_),_=0;_<3;_++)p[_]*=1-d-c,p[_]+=d;return p}function ae(u){const c=u.r/255,p=u.g/255,_=u.b/255,w=Math.max(c,p,_),O=Math.min(c,p,_),z=(w+O)/2;let Q,ce,we;return w!==O&&(we=w-O,ce=z>.5?we/(2-w-O):we/(w+O),Q=function J(u,d,c,p,_){return u===_?(d-c)/p+(du<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,vt=u=>u<=.04045?u/12.92:Math.pow((u+.055)/1.055,2.4);function yt(u,d,c){if(u){let p=ae(u);p[d]=Math.max(0,Math.min(p[d]+p[d]*c,0===d?360:1)),p=ye(p),u.r=p[0],u.g=p[1],u.b=p[2]}}function Fn(u,d){return u&&Object.assign(d||{},u)}function xn(u){var d={r:0,g:0,b:0,a:255};return Array.isArray(u)?u.length>=3&&(d={r:u[0],g:u[1],b:u[2],a:255},u.length>3&&(d.a=C(u[3]))):(d=Fn(u,{r:0,g:0,b:0,a:1})).a=C(d.a),d}function In(u){return"r"===u.charAt(0)?function Ct(u){const d=ot.exec(u);let p,_,w,c=255;if(d){if(d[7]!==p){const O=+d[7];c=d[8]?a(O):A(255*O,0,255)}return p=+d[1],_=+d[3],w=+d[5],p=255&(d[2]?a(p):A(p,0,255)),_=255&(d[4]?a(_):A(_,0,255)),w=255&(d[6]?a(w):A(w,0,255)),{r:p,g:_,b:w,a:c}}}(u):function Ze(u){const d=Se.exec(u);let p,c=255;if(!d)return;d[5]!==p&&(c=d[6]?a(+d[5]):C(+d[5]));const _=gt(+d[2]),w=+d[3]/100,O=+d[4]/100;return p="hwb"===d[1]?function Ee(u,d,c){return oe(V,u,d,c)}(_,w,O):"hsv"===d[1]?function Ge(u,d,c){return oe(K,u,d,c)}(_,w,O):ye(_,w,O),{r:p[0],g:p[1],b:p[2],a:c}}(u)}class dn{constructor(d){if(d instanceof dn)return d;const c=typeof d;let p;"object"===c?p=xn(d):"string"===c&&(p=function X(u){var c,d=u.length;return"#"===u[0]&&(4===d||5===d?c={r:255&17*j[u[1]],g:255&17*j[u[2]],b:255&17*j[u[3]],a:5===d?17*j[u[4]]:255}:(7===d||9===d)&&(c={r:j[u[1]]<<4|j[u[2]],g:j[u[3]]<<4|j[u[4]],b:j[u[5]]<<4|j[u[6]],a:9===d?j[u[7]]<<4|j[u[8]]:255})),c}(d)||function nt(u){Jt||(Jt=function Nt(){const u={},d=Object.keys(pt),c=Object.keys(Qe);let p,_,w,O,z;for(p=0;p>16&255,w>>8&255,255&w]}return u}(),Jt.transparent=[0,0,0,0]);const d=Jt[u.toLowerCase()];return d&&{r:d[0],g:d[1],b:d[2],a:4===d.length?d[3]:255}}(d)||In(d)),this._rgb=p,this._valid=!!p}get valid(){return this._valid}get rgb(){var d=Fn(this._rgb);return d&&(d.a=b(d.a)),d}set rgb(d){this._rgb=xn(d)}rgbString(){return this._valid?function He(u){return u&&(u.a<255?`rgba(${u.r}, ${u.g}, ${u.b}, ${b(u.a)})`:`rgb(${u.r}, ${u.g}, ${u.b})`)}(this._rgb):void 0}hexString(){return this._valid?function Oe(u){var d=(u=>k(u.r)&&k(u.g)&&k(u.b)&&k(u.a))(u)?x:H;return u?"#"+d(u.r)+d(u.g)+d(u.b)+((u,d)=>u<255?d(u):"")(u.a,d):void 0}(this._rgb):void 0}hslString(){return this._valid?function tt(u){if(!u)return;const d=ae(u),c=d[0],p=F(d[1]),_=F(d[2]);return u.a<255?`hsla(${c}, ${p}%, ${_}%, ${b(u.a)})`:`hsl(${c}, ${p}%, ${_}%)`}(this._rgb):void 0}mix(d,c){if(d){const p=this.rgb,_=d.rgb;let w;const O=c===w?.5:c,z=2*O-1,Q=p.a-_.a,ce=((z*Q==-1?z:(z+Q)/(1+z*Q))+1)/2;w=1-ce,p.r=255&ce*p.r+w*_.r+.5,p.g=255&ce*p.g+w*_.g+.5,p.b=255&ce*p.b+w*_.b+.5,p.a=O*p.a+(1-O)*_.a,this.rgb=p}return this}interpolate(d,c){return d&&(this._rgb=function hn(u,d,c){const p=vt(b(u.r)),_=vt(b(u.g)),w=vt(b(u.b));return{r:C(mt(p+c*(vt(b(d.r))-p))),g:C(mt(_+c*(vt(b(d.g))-_))),b:C(mt(w+c*(vt(b(d.b))-w))),a:u.a+c*(d.a-u.a)}}(this._rgb,d._rgb,c)),this}clone(){return new dn(this.rgb)}alpha(d){return this._rgb.a=C(d),this}clearer(d){return this._rgb.a*=1-d,this}greyscale(){const d=this._rgb,c=t(.3*d.r+.59*d.g+.11*d.b);return d.r=d.g=d.b=c,this}opaquer(d){return this._rgb.a*=1+d,this}negate(){const d=this._rgb;return d.r=255-d.r,d.g=255-d.g,d.b=255-d.b,this}lighten(d){return yt(this._rgb,2,d),this}darken(d){return yt(this._rgb,2,-d),this}saturate(d){return yt(this._rgb,1,d),this}desaturate(d){return yt(this._rgb,1,-d),this}rotate(d){return function Je(u,d){var c=ae(u);c[0]=gt(c[0]+d),c=ye(c),u.r=c[0],u.g=c[1],u.b=c[2]}(this._rgb,d),this}}function di(){}const ir=(()=>{let u=0;return()=>u++})();function Bn(u){return null===u||typeof u>"u"}function xi(u){if(Array.isArray&&Array.isArray(u))return!0;const d=Object.prototype.toString.call(u);return"[object"===d.slice(0,7)&&"Array]"===d.slice(-6)}function fi(u){return null!==u&&"[object Object]"===Object.prototype.toString.call(u)}function Mt(u){return("number"==typeof u||u instanceof Number)&&isFinite(+u)}function Ot(u,d){return Mt(u)?u:d}function ve(u,d){return typeof u>"u"?d:u}const xe=(u,d)=>"string"==typeof u&&u.endsWith("%")?parseFloat(u)/100*d:+u;function Ye(u,d,c){if(u&&"function"==typeof u.call)return u.apply(c,d)}function xt(u,d,c,p){let _,w,O;if(xi(u))if(w=u.length,p)for(_=w-1;_>=0;_--)d.call(c,u[_],_);else for(_=0;_u,x:u=>u.x,y:u=>u.y};function bs(u,d){return(co[d]||(co[d]=function Dr(u){const d=function Or(u){const d=u.split("."),c=[];let p="";for(const _ of d)p+=_,p.endsWith("\\")?p=p.slice(0,-1)+".":(c.push(p),p="");return c}(u);return c=>{for(const p of d){if(""===p)break;c=c&&c[p]}return c}}(d)))(u)}function Do(u){return u.charAt(0).toUpperCase()+u.slice(1)}const Ms=u=>typeof u<"u",Ls=u=>"function"==typeof u,On=(u,d)=>{if(u.size!==d.size)return!1;for(const c of u)if(!d.has(c))return!1;return!0},Pt=Math.PI,ln=2*Pt,Yt=ln+Pt,li=Number.POSITIVE_INFINITY,Qr=Pt/180,Sr=Pt/2,Pn=Pt/4,sn=2*Pt/3,Rt=Math.log10,Bt=Math.sign;function bn(u,d,c){return Math.abs(u-d)Q&&ce=Math.min(d,c)-p&&u<=Math.max(d,c)+p}function Ti(u,d,c){c=c||(O=>u[O]1;)w=_+p>>1,c(w)?_=w:p=w;return{lo:_,hi:p}}const yi=(u,d,c,p)=>Ti(u,c,p?_=>{const w=u[_][d];return wu[_][d]Ti(u,c,p=>u[p][d]>=c),wr=["push","pop","shift","splice","unshift"];function yr(u,d){const c=u._chartjs;if(!c)return;const p=c.listeners,_=p.indexOf(d);-1!==_&&p.splice(_,1),!(p.length>0)&&(wr.forEach(w=>{delete u[w]}),delete u._chartjs)}function jr(u){const d=new Set(u);return d.size===u.length?u:Array.from(d)}const Co=typeof window>"u"?function(u){return u()}:window.requestAnimationFrame;function ns(u,d){let c=[],p=!1;return function(..._){c=_,p||(p=!0,Co.call(window,()=>{p=!1,u.apply(d,c)}))}}const To=u=>"start"===u?"left":"end"===u?"right":"center",Bs=(u,d,c)=>"start"===u?d:"end"===u?c:(d+c)/2;function wo(u,d,c){const p=d.length;let _=0,w=p;if(u._sorted){const{iScale:O,_parsed:z}=u,Q=O.axis,{min:ce,max:we,minDefined:Ke,maxDefined:_t}=O.getUserBounds();Ke&&(_=Tn(Math.min(yi(z,Q,ce).lo,c?p:yi(d,Q,O.getPixelForValue(ce)).lo),0,p-1)),w=_t?Tn(Math.max(yi(z,O.axis,we,!0).hi+1,c?0:yi(d,Q,O.getPixelForValue(we),!0).hi+1),_,p)-_:p-_}return{start:_,count:w}}function Ra(u){const{xScale:d,yScale:c,_scaleRanges:p}=u,_={xmin:d.min,xmax:d.max,ymin:c.min,ymax:c.max};if(!p)return u._scaleRanges=_,!0;const w=p.xmin!==d.min||p.xmax!==d.max||p.ymin!==c.min||p.ymax!==c.max;return Object.assign(p,_),w}const Ps=u=>0===u||1===u,Ds=(u,d,c)=>-Math.pow(2,10*(u-=1))*Math.sin((u-d)*ln/c),St=(u,d,c)=>Math.pow(2,-10*u)*Math.sin((u-d)*ln/c)+1,En={linear:u=>u,easeInQuad:u=>u*u,easeOutQuad:u=>-u*(u-2),easeInOutQuad:u=>(u/=.5)<1?.5*u*u:-.5*(--u*(u-2)-1),easeInCubic:u=>u*u*u,easeOutCubic:u=>(u-=1)*u*u+1,easeInOutCubic:u=>(u/=.5)<1?.5*u*u*u:.5*((u-=2)*u*u+2),easeInQuart:u=>u*u*u*u,easeOutQuart:u=>-((u-=1)*u*u*u-1),easeInOutQuart:u=>(u/=.5)<1?.5*u*u*u*u:-.5*((u-=2)*u*u*u-2),easeInQuint:u=>u*u*u*u*u,easeOutQuint:u=>(u-=1)*u*u*u*u+1,easeInOutQuint:u=>(u/=.5)<1?.5*u*u*u*u*u:.5*((u-=2)*u*u*u*u+2),easeInSine:u=>1-Math.cos(u*Sr),easeOutSine:u=>Math.sin(u*Sr),easeInOutSine:u=>-.5*(Math.cos(Pt*u)-1),easeInExpo:u=>0===u?0:Math.pow(2,10*(u-1)),easeOutExpo:u=>1===u?1:1-Math.pow(2,-10*u),easeInOutExpo:u=>Ps(u)?u:u<.5?.5*Math.pow(2,10*(2*u-1)):.5*(2-Math.pow(2,-10*(2*u-1))),easeInCirc:u=>u>=1?u:-(Math.sqrt(1-u*u)-1),easeOutCirc:u=>Math.sqrt(1-(u-=1)*u),easeInOutCirc:u=>(u/=.5)<1?-.5*(Math.sqrt(1-u*u)-1):.5*(Math.sqrt(1-(u-=2)*u)+1),easeInElastic:u=>Ps(u)?u:Ds(u,.075,.3),easeOutElastic:u=>Ps(u)?u:St(u,.075,.3),easeInOutElastic:u=>Ps(u)?u:u<.5?.5*Ds(2*u,.1125,.45):.5+.5*St(2*u-1,.1125,.45),easeInBack:u=>u*u*(2.70158*u-1.70158),easeOutBack:u=>(u-=1)*u*(2.70158*u+1.70158)+1,easeInOutBack(u){let d=1.70158;return(u/=.5)<1?u*u*((1+(d*=1.525))*u-d)*.5:.5*((u-=2)*u*((1+(d*=1.525))*u+d)+2)},easeInBounce:u=>1-En.easeOutBounce(1-u),easeOutBounce:u=>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:u=>u<.5?.5*En.easeInBounce(2*u):.5*En.easeOutBounce(2*u-1)+.5};function dt(u){if(u&&"object"==typeof u){const d=u.toString();return"[object CanvasPattern]"===d||"[object CanvasGradient]"===d}return!1}function Tt(u){return dt(u)?u:new dn(u)}function un(u){return dt(u)?u:new dn(u).saturate(.5).darken(.1).hexString()}const Yn=["x","y","borderWidth","radius","tension"],Ui=["color","borderColor","backgroundColor"],us=new Map;function Fo(u,d,c){return function So(u,d){d=d||{};const c=u+JSON.stringify(d);let p=us.get(c);return p||(p=new Intl.NumberFormat(u,d),us.set(c,p)),p}(d,c).format(u)}const Ks={values:u=>xi(u)?u:""+u,numeric(u,d,c){if(0===u)return"0";const p=this.chart.options.locale;let _,w=u;if(c.length>1){const ce=Math.max(Math.abs(c[0].value),Math.abs(c[c.length-1].value));(ce<1e-4||ce>1e15)&&(_="scientific"),w=function na(u,d){let c=d.length>3?d[2].value-d[1].value:d[1].value-d[0].value;return Math.abs(c)>=1&&u!==Math.floor(u)&&(c=u-Math.floor(u)),c}(u,c)}const O=Rt(Math.abs(w)),z=isNaN(O)?1:Math.max(Math.min(-1*Math.floor(O),20),0),Q={notation:_,minimumFractionDigits:z,maximumFractionDigits:z};return Object.assign(Q,this.options.ticks.format),Fo(u,p,Q)},logarithmic(u,d,c){if(0===u)return"0";const p=c[d].significand||u/Math.pow(10,Math.floor(Rt(u)));return[1,2,3,5,10,15].includes(p)||d>.8*c.length?Ks.numeric.call(this,u,d,c):""}};var _s={formatters:Ks};const da=Object.create(null),Wa=Object.create(null);function er(u,d){if(!d)return u;const c=d.split(".");for(let p=0,_=c.length;p<_;++p){const w=c[p];u=u[w]||(u[w]=Object.create(null))}return u}function Cr(u,d,c){return"string"==typeof d?Qt(er(u,d),c):Qt(er(u,""),d)}class Ss{constructor(d,c){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=p=>p.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(p,_)=>un(_.backgroundColor),this.hoverBorderColor=(p,_)=>un(_.borderColor),this.hoverColor=(p,_)=>un(_.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(d),this.apply(c)}set(d,c){return Cr(this,d,c)}get(d){return er(this,d)}describe(d,c){return Cr(Wa,d,c)}override(d,c){return Cr(da,d,c)}route(d,c,p,_){const w=er(this,d),O=er(this,p),z="_"+c;Object.defineProperties(w,{[z]:{value:w[c],writable:!0},[c]:{enumerable:!0,get(){const Q=this[z],ce=O[_];return fi(Q)?Object.assign({},ce,Q):ve(Q,ce)},set(Q){this[z]=Q}}})}apply(d){d.forEach(c=>c(this))}}var br=new Ss({_scriptable:u=>!u.startsWith("on"),_indexable:u=>"events"!==u,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function Gi(u){u.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),u.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:d=>"onProgress"!==d&&"onComplete"!==d&&"fn"!==d}),u.set("animations",{colors:{type:"color",properties:Ui},numbers:{type:"number",properties:Yn}}),u.describe("animations",{_fallback:"animation"}),u.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:d=>0|d}}}})},function _r(u){u.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function ko(u){u.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(d,c)=>c.lineWidth,tickColor:(d,c)=>c.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:_s.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),u.route("scale.ticks","color","","color"),u.route("scale.grid","color","","borderColor"),u.route("scale.border","color","","borderColor"),u.route("scale.title","color","","color"),u.describe("scale",{_fallback:!1,_scriptable:d=>!d.startsWith("before")&&!d.startsWith("after")&&"callback"!==d&&"parser"!==d,_indexable:d=>"borderDash"!==d&&"tickBorderDash"!==d&&"dash"!==d}),u.describe("scales",{_fallback:"scale"}),u.describe("scale.ticks",{_scriptable:d=>"backdropPadding"!==d&&"callback"!==d,_indexable:d=>"backdropPadding"!==d})}]);function Yo(u,d,c,p,_){let w=d[_];return w||(w=d[_]=u.measureText(_).width,c.push(_)),w>p&&(p=w),p}function gl(u,d,c,p){let _=(p=p||{}).data=p.data||{},w=p.garbageCollect=p.garbageCollect||[];p.font!==d&&(_=p.data={},w=p.garbageCollect=[],p.font=d),u.save(),u.font=d;let O=0;const z=c.length;let Q,ce,we,Ke,_t;for(Q=0;Qc.length){for(Q=0;Q0&&u.stroke()}}function Fi(u,d,c){return c=c||.5,!d||u&&u.x>d.left-c&&u.xd.top-c&&u.y0&&""!==w.strokeColor;let Q,ce;for(u.save(),u.font=_.string,function Ho(u,d){d.translation&&u.translate(d.translation[0],d.translation[1]),Bn(d.rotation)||u.rotate(d.rotation),d.color&&(u.fillStyle=d.color),d.textAlign&&(u.textAlign=d.textAlign),d.textBaseline&&(u.textBaseline=d.textBaseline)}(u,w),Q=0;Q+u||0;function Xr(u,d){const c={},p=fi(d),_=p?Object.keys(d):d,w=fi(u)?p?O=>ve(u[O],u[d[O]]):O=>u[O]:()=>u;for(const O of _)c[O]=Aa(w(O));return c}function gr(u){return Xr(u,{top:"y",right:"x",bottom:"y",left:"x"})}function Us(u){return Xr(u,["topLeft","topRight","bottomLeft","bottomRight"])}function Rs(u){const d=gr(u);return d.width=d.left+d.right,d.height=d.top+d.bottom,d}function Mr(u,d){let c=ve((u=u||{}).size,(d=d||br.font).size);"string"==typeof c&&(c=parseInt(c,10));let p=ve(u.style,d.style);p&&!(""+p).match(Rn)&&(console.warn('Invalid font style specified: "'+p+'"'),p=void 0);const _={family:ve(u.family,d.family),lineHeight:Mo(ve(u.lineHeight,d.lineHeight),c),size:c,style:p,weight:ve(u.weight,d.weight),string:""};return _.string=function ds(u){return!u||Bn(u.size)||Bn(u.family)?null:(u.style?u.style+" ":"")+(u.weight?u.weight+" ":"")+u.size+"px "+u.family}(_),_}function Zr(u,d,c,p){let w,O,z,_=!0;for(w=0,O=u.length;wu[0])){const w=c||u;typeof p>"u"&&(p=Da("_fallback",u));const O={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:u,_rootScopes:w,_fallback:p,_getTarget:_,override:z=>Oo([z,...u],d,w,p)};return new Proxy(O,{deleteProperty:(z,Q)=>(delete z[Q],delete z._keys,delete u[0][Q],!0),get:(z,Q)=>Kl(z,Q,()=>function Hs(u,d,c,p){let _;for(const w of d)if(_=Da(xr(w,u),c),typeof _<"u")return fa(u,_)?pl(c,p,u,_):_}(Q,d,u,z)),getOwnPropertyDescriptor:(z,Q)=>Reflect.getOwnPropertyDescriptor(z._scopes[0],Q),getPrototypeOf:()=>Reflect.getPrototypeOf(u[0]),has:(z,Q)=>Za(z).includes(Q),ownKeys:z=>Za(z),set(z,Q,ce){const we=z._storage||(z._storage=_());return z[Q]=we[Q]=ce,delete z._keys,!0}})}function Js(u,d,c,p){const _={_cacheable:!1,_proxy:u,_context:d,_subProxy:c,_stack:new Set,_descriptors:Ia(u,p),setContext:w=>Js(u,w,c,p),override:w=>Js(u.override(w),d,c,p)};return new Proxy(_,{deleteProperty:(w,O)=>(delete w[O],delete u[O],!0),get:(w,O,z)=>Kl(w,O,()=>function vo(u,d,c){const{_proxy:p,_context:_,_subProxy:w,_descriptors:O}=u;let z=p[d];return Ls(z)&&O.isScriptable(d)&&(z=function io(u,d,c,p){const{_proxy:_,_context:w,_subProxy:O,_stack:z}=c;if(z.has(u))throw new Error("Recursion detected: "+Array.from(z).join("->")+"->"+u);z.add(u);let Q=d(w,O||p);return z.delete(u),fa(u,Q)&&(Q=pl(_._scopes,_,u,Q)),Q}(d,z,u,c)),xi(z)&&z.length&&(z=function Ci(u,d,c,p){const{_proxy:_,_context:w,_subProxy:O,_descriptors:z}=c;if(typeof w.index<"u"&&p(u))return d[w.index%d.length];if(fi(d[0])){const Q=d,ce=_._scopes.filter(we=>we!==Q);d=[];for(const we of Q){const Ke=pl(ce,_,u,we);d.push(Js(Ke,w,O&&O[u],z))}}return d}(d,z,u,O.isIndexable)),fa(d,z)&&(z=Js(z,_,w&&w[d],O)),z}(w,O,z)),getOwnPropertyDescriptor:(w,O)=>w._descriptors.allKeys?Reflect.has(u,O)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(u,O),getPrototypeOf:()=>Reflect.getPrototypeOf(u),has:(w,O)=>Reflect.has(u,O),ownKeys:()=>Reflect.ownKeys(u),set:(w,O,z)=>(u[O]=z,delete w[O],!0)})}function Ia(u,d={scriptable:!0,indexable:!0}){const{_scriptable:c=d.scriptable,_indexable:p=d.indexable,_allKeys:_=d.allKeys}=u;return{allKeys:_,scriptable:c,indexable:p,isScriptable:Ls(c)?c:()=>c,isIndexable:Ls(p)?p:()=>p}}const xr=(u,d)=>u?u+Do(d):d,fa=(u,d)=>fi(d)&&"adapters"!==u&&(null===Object.getPrototypeOf(d)||d.constructor===Object);function Kl(u,d,c){if(Object.prototype.hasOwnProperty.call(u,d)||"constructor"===d)return u[d];const p=c();return u[d]=p,p}function Pl(u,d,c){return Ls(u)?u(d,c):u}const tl=(u,d)=>!0===u?d:"string"==typeof u?bs(d,u):void 0;function ho(u,d,c,p,_){for(const w of d){const O=tl(c,w);if(O){u.add(O);const z=Pl(O._fallback,c,_);if(typeof z<"u"&&z!==c&&z!==p)return z}else if(!1===O&&typeof p<"u"&&c!==p)return null}return!1}function pl(u,d,c,p){const _=d._rootScopes,w=Pl(d._fallback,c,p),O=[...u,..._],z=new Set;z.add(p);let Q=Lr(z,O,c,w||c,p);return!(null===Q||typeof w<"u"&&w!==c&&(Q=Lr(z,O,w,Q,p),null===Q))&&Oo(Array.from(z),[""],_,w,()=>function Qs(u,d,c){const p=u._getTarget();d in p||(p[d]={});const _=p[d];return xi(_)&&fi(c)?c:_||{}}(d,c,p))}function Lr(u,d,c,p,_){for(;c;)c=ho(u,d,c,p,_);return c}function Da(u,d){for(const c of d){if(!c)continue;const p=c[u];if(typeof p<"u")return p}}function Za(u){let d=u._keys;return d||(d=u._keys=function jo(u){const d=new Set;for(const c of u)for(const p of Object.keys(c).filter(_=>!_.startsWith("_")))d.add(p);return Array.from(d)}(u._scopes)),d}function Sa(u,d,c,p){const{iScale:_}=u,{key:w="r"}=this._parsing,O=new Array(p);let z,Q,ce,we;for(z=0,Q=p;zd"x"===u?"y":"x";function ka(u,d,c,p){const _=u.skip?d:u,w=d,O=c.skip?d:c,z=it(w,_),Q=it(O,w);let ce=z/(z+Q),we=Q/(z+Q);ce=isNaN(ce)?0:ce,we=isNaN(we)?0:we;const Ke=p*ce,_t=p*we;return{previous:{x:w.x-Ke*(O.x-_.x),y:w.y-Ke*(O.y-_.y)},next:{x:w.x+_t*(O.x-_.x),y:w.y+_t*(O.y-_.y)}}}function il(u,d,c){return Math.max(Math.min(u,c),d)}function _l(u,d,c,p,_){let w,O,z,Q;if(d.spanGaps&&(u=u.filter(ce=>!ce.skip)),"monotone"===d.cubicInterpolationMode)!function Bc(u,d="x"){const c=lc(d),p=u.length,_=Array(p).fill(0),w=Array(p);let O,z,Q,ce=ia(u,0);for(O=0;Ou.ownerDocument.defaultView.getComputedStyle(u,null),Zt=["top","right","bottom","left"];function Yi(u,d,c){const p={};c=c?"-"+c:"";for(let _=0;_<4;_++){const w=Zt[_];p[w]=parseFloat(u[d+"-"+w+c])||0}return p.width=p.left+p.right,p.height=p.top+p.bottom,p}const lr=(u,d,c)=>(u>0||d>0)&&(!c||!c.shadowRoot);function Xs(u,d){if("native"in u)return u;const{canvas:c,currentDevicePixelRatio:p}=d,_=Ce(c),w="border-box"===_.boxSizing,O=Yi(_,"padding"),z=Yi(_,"border","width"),{x:Q,y:ce,box:we}=function ro(u,d){const c=u.touches,p=c&&c.length?c[0]:u,{offsetX:_,offsetY:w}=p;let z,Q,O=!1;if(lr(_,w,u.target))z=_,Q=w;else{const ce=d.getBoundingClientRect();z=p.clientX-ce.left,Q=p.clientY-ce.top,O=!0}return{x:z,y:Q,box:O}}(u,c),Ke=O.left+(we&&z.left),_t=O.top+(we&&z.top);let{width:Et,height:en}=d;return w&&(Et-=O.width+z.width,en-=O.height+z.height),{x:Math.round((Q-Ke)/Et*c.width/p),y:Math.round((ce-_t)/en*c.height/p)}}const Qo=u=>Math.round(10*u)/10;function Ts(u,d,c){const p=d||1,_=Math.floor(u.height*p),w=Math.floor(u.width*p);u.height=Math.floor(u.height),u.width=Math.floor(u.width);const O=u.canvas;return O.style&&(c||!O.style.height&&!O.style.width)&&(O.style.height=`${u.height}px`,O.style.width=`${u.width}px`),(u.currentDevicePixelRatio!==p||O.height!==_||O.width!==w)&&(u.currentDevicePixelRatio=p,O.height=_,O.width=w,u.ctx.setTransform(p,0,0,p,0,0),!0)}const rl=function(){let u=!1;try{const d={get passive(){return u=!0,!1}};ya()&&(window.addEventListener("test",null,d),window.removeEventListener("test",null,d))}catch{}return u}();function kc(u,d){const c=function ut(u,d){return Ce(u).getPropertyValue(d)}(u,d),p=c&&c.match(/^(\d+)(\.\d+)?px$/);return p?+p[1]:void 0}function Cs(u,d,c,p){return{x:u.x+c*(d.x-u.x),y:u.y+c*(d.y-u.y)}}function Rl(u,d,c,p){return{x:u.x+c*(d.x-u.x),y:"middle"===p?c<.5?u.y:d.y:"after"===p?c<1?u.y:d.y:c>0?d.y:u.y}}function pa(u,d,c,p){const _={x:u.cp2x,y:u.cp2y},w={x:d.cp1x,y:d.cp1y},O=Cs(u,_,c),z=Cs(_,w,c),Q=Cs(w,d,c),ce=Cs(O,z,c),we=Cs(z,Q,c);return Cs(ce,we,c)}function Fa(u,d,c){return u?function(u,d){return{x:c=>u+u+d-c,setWidth(c){d=c},textAlign:c=>"center"===c?c:"right"===c?"left":"right",xPlus:(c,p)=>c-p,leftForLtr:(c,p)=>c-p}}(d,c):{x:u=>u,setWidth(u){},textAlign:u=>u,xPlus:(u,d)=>u+d,leftForLtr:(u,d)=>u}}function so(u,d){let c,p;("ltr"===d||"rtl"===d)&&(c=u.canvas.style,p=[c.getPropertyValue("direction"),c.getPropertyPriority("direction")],c.setProperty("direction",d,"important"),u.prevTextDirection=p)}function Vs(u,d){void 0!==d&&(delete u.prevTextDirection,u.canvas.style.setProperty("direction",d[0],d[1]))}function Vn(u){return"angle"===u?{between:yn,compare:Ht,normalize:Kt}:{between:nn,compare:(d,c)=>d-c,normalize:d=>d}}function Ga({start:u,end:d,count:c,loop:p,style:_}){return{start:u%c,end:d%c,loop:p&&(d-u+1)%c==0,style:_}}function ai(u,d,c){if(!c)return[u];const{property:p,start:_,end:w}=c,O=d.length,{compare:z,between:Q,normalize:ce}=Vn(p),{start:we,end:Ke,loop:_t,style:Et}=function ra(u,d,c){const{property:p,start:_,end:w}=c,{between:O,normalize:z}=Vn(p),Q=d.length;let _t,Et,{start:ce,end:we,loop:Ke}=u;if(Ke){for(ce+=Q,we+=Q,_t=0,Et=Q;_tz({chart:d,initial:c.initial,numSteps:O,currentStep:Math.min(p-c.start,O)}))}_refresh(){this._request||(this._running=!0,this._request=Co.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(d=Date.now()){let c=0;this._charts.forEach((p,_)=>{if(!p.running||!p.items.length)return;const w=p.items;let Q,O=w.length-1,z=!1;for(;O>=0;--O)Q=w[O],Q._active?(Q._total>p.duration&&(p.duration=Q._total),Q.tick(d),z=!0):(w[O]=w[w.length-1],w.pop());z&&(_.draw(),this._notify(_,p,d,"progress")),w.length||(p.running=!1,this._notify(_,p,d,"complete"),p.initial=!1),c+=w.length}),this._lastDate=d,0===c&&(this._running=!1)}_getAnims(d){const c=this._charts;let p=c.get(d);return p||(p={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},c.set(d,p)),p}listen(d,c,p){this._getAnims(d).listeners[c].push(p)}add(d,c){!c||!c.length||this._getAnims(d).items.push(...c)}has(d){return this._getAnims(d).items.length>0}start(d){const c=this._charts.get(d);c&&(c.running=!0,c.start=Date.now(),c.duration=c.items.reduce((p,_)=>Math.max(p,_._duration),0),this._refresh())}running(d){if(!this._running)return!1;const c=this._charts.get(d);return!(!c||!c.running||!c.items.length)}stop(d){const c=this._charts.get(d);if(!c||!c.items.length)return;const p=c.items;let _=p.length-1;for(;_>=0;--_)p[_].cancel();c.items=[],this._notify(d,c,Date.now(),"complete")}remove(d){return this._charts.delete(d)}}var hs=new Xo;const vl="transparent",al={boolean:(u,d,c)=>c>.5?d:u,color(u,d,c){const p=Tt(u||vl),_=p.valid&&Tt(d||vl);return _&&_.valid?_.mix(p,c).hexString():d},number:(u,d,c)=>u+(d-u)*c};class qo{constructor(d,c,p,_){const w=c[p];_=Zr([d.to,_,w,d.from]);const O=Zr([d.from,w,_]);this._active=!0,this._fn=d.fn||al[d.type||typeof O],this._easing=En[d.easing]||En.linear,this._start=Math.floor(Date.now()+(d.delay||0)),this._duration=this._total=Math.floor(d.duration),this._loop=!!d.loop,this._target=c,this._prop=p,this._from=O,this._to=_,this._promises=void 0}active(){return this._active}update(d,c,p){if(this._active){this._notify(!1);const _=this._target[this._prop],w=p-this._start,O=this._duration-w;this._start=p,this._duration=Math.floor(Math.max(O,d.duration)),this._total+=w,this._loop=!!d.loop,this._to=Zr([d.to,c,_,d.from]),this._from=Zr([d.from,_,c])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(d){const c=d-this._start,p=this._duration,_=this._prop,w=this._from,O=this._loop,z=this._to;let Q;if(this._active=w!==z&&(O||c1?2-Q:Q,Q=this._easing(Math.min(1,Math.max(0,Q))),this._target[_]=this._fn(w,z,Q))}wait(){const d=this._promises||(this._promises=[]);return new Promise((c,p)=>{d.push({res:c,rej:p})})}_notify(d){const c=d?"res":"rej",p=this._promises||[];for(let _=0;_{const w=d[_];if(!fi(w))return;const O={};for(const z of c)O[z]=w[z];(xi(w.properties)&&w.properties||[_]).forEach(z=>{(z===_||!p.has(z))&&p.set(z,O)})})}_animateOptions(d,c){const p=c.options,_=function zo(u,d){if(!d)return;let c=u.options;if(c)return c.$shared&&(u.options=c=Object.assign({},c,{$shared:!1,$animations:{}})),c;u.options=d}(d,p);if(!_)return[];const w=this._createAnimations(_,p);return p.$shared&&function hr(u,d){const c=[],p=Object.keys(d);for(let _=0;_{d.options=p},()=>{}),w}_createAnimations(d,c){const p=this._properties,_=[],w=d.$animations||(d.$animations={}),O=Object.keys(c),z=Date.now();let Q;for(Q=O.length-1;Q>=0;--Q){const ce=O[Q];if("$"===ce.charAt(0))continue;if("options"===ce){_.push(...this._animateOptions(d,c));continue}const we=c[ce];let Ke=w[ce];const _t=p.get(ce);if(Ke){if(_t&&Ke.active()){Ke.update(_t,we,z);continue}Ke.cancel()}_t&&_t.duration?(w[ce]=Ke=new qo(_t,d,ce,we),_.push(Ke)):d[ce]=we}return _}update(d,c){if(0===this._properties.size)return void Object.assign(d,c);const p=this._createAnimations(d,c);return p.length?(hs.add(this._chart,p),!0):void 0}}function Wr(u,d){const c=u&&u.options||{},p=c.reverse,_=void 0===c.min?d:0,w=void 0===c.max?d:0;return{start:p?w:_,end:p?_:w}}function re(u,d){const c=[],p=u._getSortedDatasetMetas(d);let _,w;for(_=0,w=p.length;_0||!c&&w<0)return _.index}return null}function ps(u,d){const{chart:c,_cachedMeta:p}=u,_=c._stacks||(c._stacks={}),{iScale:w,vScale:O,index:z}=p,Q=w.axis,ce=O.axis,we=function Ut(u,d,c){return`${u.id}.${d.id}.${c.stack||c.type}`}(w,O,p),Ke=d.length;let _t;for(let Et=0;Etc[p].axis===d).shift()}function Ws(u,d){const c=u.controller.index,p=u.vScale&&u.vScale.axis;if(p){d=d||u._parsed;for(const _ of d){const w=_._stacks;if(!w||void 0===w[p]||void 0===w[p][c])return;delete w[p][c],void 0!==w[p]._visualValues&&void 0!==w[p]._visualValues[c]&&delete w[p]._visualValues[c]}}}const ks=u=>"reset"===u||"none"===u,rs=(u,d)=>d?u:Object.assign({},u);let Zs=(()=>class u{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(c,p){this.chart=c,this._ctx=c.ctx,this.index=p,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const c=this._cachedMeta;this.configure(),this.linkScales(),c._stacked=We(c.vScale,c),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(c){this.index!==c&&Ws(this._cachedMeta),this.index=c}linkScales(){const c=this.chart,p=this._cachedMeta,_=this.getDataset(),w=(_t,Et,en,an)=>"x"===_t?Et:"r"===_t?an:en,O=p.xAxisID=ve(_.xAxisID,qr(c,"x")),z=p.yAxisID=ve(_.yAxisID,qr(c,"y")),Q=p.rAxisID=ve(_.rAxisID,qr(c,"r")),ce=p.indexAxis,we=p.iAxisID=w(ce,O,z,Q),Ke=p.vAxisID=w(ce,z,O,Q);p.xScale=this.getScaleForId(O),p.yScale=this.getScaleForId(z),p.rScale=this.getScaleForId(Q),p.iScale=this.getScaleForId(we),p.vScale=this.getScaleForId(Ke)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(c){return this.chart.scales[c]}_getOtherScale(c){const p=this._cachedMeta;return c===p.iScale?p.vScale:p.iScale}reset(){this._update("reset")}_destroy(){const c=this._cachedMeta;this._data&&yr(this._data,this),c._stacked&&Ws(c)}_dataCheck(){const c=this.getDataset(),p=c.data||(c.data=[]),_=this._data;if(fi(p))this._data=function Te(u,d){const{iScale:c,vScale:p}=d,_="x"===c.axis?"x":"y",w="x"===p.axis?"x":"y",O=Object.keys(u),z=new Array(O.length);let Q,ce,we;for(Q=0,ce=O.length;Q{const p="_onData"+Do(c),_=u[c];Object.defineProperty(u,c,{configurable:!0,enumerable:!1,value(...w){const O=_.apply(this,w);return u._chartjs.listeners.forEach(z=>{"function"==typeof z[p]&&z[p](...w)}),O}})}))}(p,this),this._syncList=[],this._data=p}}addElements(){const c=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(c.dataset=new this.datasetElementType)}buildOrUpdateElements(c){const p=this._cachedMeta,_=this.getDataset();let w=!1;this._dataCheck();const O=p._stacked;p._stacked=We(p.vScale,p),p.stack!==_.stack&&(w=!0,Ws(p),p.stack=_.stack),this._resyncElements(c),(w||O!==p._stacked)&&ps(this,p._parsed)}configure(){const c=this.chart.config,p=c.datasetScopeKeys(this._type),_=c.getOptionScopes(this.getDataset(),p,!0);this.options=c.createResolver(_,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(c,p){const{_cachedMeta:_,_data:w}=this,{iScale:O,_stacked:z}=_,Q=O.axis;let Ke,_t,Et,ce=0===c&&p===w.length||_._sorted,we=c>0&&_._parsed[c-1];if(!1===this._parsing)_._parsed=w,_._sorted=!0,Et=w;else{Et=xi(w[c])?this.parseArrayData(_,w,c,p):fi(w[c])?this.parseObjectData(_,w,c,p):this.parsePrimitiveData(_,w,c,p);const en=()=>null===_t[Q]||we&&_t[Q]u&&!d.hidden&&d._stacked&&{keys:re(this.chart,!0),values:null})(p,_),we={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:Ke,max:_t}=function Ln(u){const{min:d,max:c,minDefined:p,maxDefined:_}=u.getUserBounds();return{min:p?d:Number.NEGATIVE_INFINITY,max:_?c:Number.POSITIVE_INFINITY}}(Q);let Et,en;function an(){en=w[Et];const gn=en[Q.axis];return!Mt(en[c.axis])||Ke>gn||_t=0;--Et)if(!an()){this.updateRangeFromParsed(we,c,en,ce);break}return we}getAllParsedValues(c){const p=this._cachedMeta._parsed,_=[];let w,O,z;for(w=0,O=p.length;w=0&&cthis.getContext(_,w,p),_t);return gn.$shared&&(gn.$shared=ce,O[z]=Object.freeze(rs(gn,ce))),gn}_resolveAnimations(c,p,_){const w=this.chart,O=this._cachedDataOpts,z=`animation-${p}`,Q=O[z];if(Q)return Q;let ce;if(!1!==w.options.animation){const Ke=this.chart.config,_t=Ke.datasetAnimationScopeKeys(this._type,p),Et=Ke.getOptionScopes(this.getDataset(),_t);ce=Ke.createResolver(Et,this.getContext(c,_,p))}const we=new Io(w,ce&&ce.animations);return ce&&ce._cacheable&&(O[z]=Object.freeze(we)),we}getSharedOptions(c){if(c.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},c))}includeOptions(c,p){return!p||ks(c)||this.chart._animationsDisabled}_getSharedOptions(c,p){const _=this.resolveDataElementOptions(c,p),w=this._sharedOptions,O=this.getSharedOptions(_),z=this.includeOptions(p,O)||O!==w;return this.updateSharedOptions(O,p,_),{sharedOptions:O,includeOptions:z}}updateElement(c,p,_,w){ks(w)?Object.assign(c,_):this._resolveAnimations(p,w).update(c,_)}updateSharedOptions(c,p,_){c&&!ks(p)&&this._resolveAnimations(void 0,p).update(c,_)}_setStyle(c,p,_,w){c.active=w;const O=this.getStyle(p,w);this._resolveAnimations(p,_,w).update(c,{options:!w&&this.getSharedOptions(O)||O})}removeHoverStyle(c,p,_){this._setStyle(c,_,"active",!1)}setHoverStyle(c,p,_){this._setStyle(c,_,"active",!0)}_removeDatasetHoverStyle(){const c=this._cachedMeta.dataset;c&&this._setStyle(c,void 0,"active",!1)}_setDatasetHoverStyle(){const c=this._cachedMeta.dataset;c&&this._setStyle(c,void 0,"active",!0)}_resyncElements(c){const p=this._data,_=this._cachedMeta.data;for(const[Q,ce,we]of this._syncList)this[Q](ce,we);this._syncList=[];const w=_.length,O=p.length,z=Math.min(O,w);z&&this.parse(0,z),O>w?this._insertElements(w,O-w,c):O{for(we.length+=p,Q=we.length-1;Q>=z;Q--)we[Q]=we[Q-p]};for(ce(O),Q=c;Q_-w))}return u._cache.$bar}(d,u.type);let _,w,O,z,p=d._length;const Q=()=>{32767===O||-32768===O||(Ms(z)&&(p=Math.min(p,Math.abs(O-z)||p)),z=O)};for(_=0,w=c.length;_Math.abs(z)&&(Q=z,ce=O),d[c.axis]=ce,d._custom={barStart:Q,barEnd:ce,start:_,end:w,min:O,max:z}}(u,d,c,p):d[c.axis]=c.parse(u,p),d}function Es(u,d,c,p){const _=u.iScale,w=u.vScale,O=_.getLabels(),z=_===w,Q=[];let ce,we,Ke,_t;for(ce=c,we=c+p;ceu.x,c="left",p="right"):(d=u.baseclass u extends Zs{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(c,p,_,w){return Es(c,p,_,w)}parseArrayData(c,p,_,w){return Es(c,p,_,w)}parseObjectData(c,p,_,w){const{iScale:O,vScale:z}=c,{xAxisKey:Q="x",yAxisKey:ce="y"}=this._parsing,we="x"===O.axis?Q:ce,Ke="x"===z.axis?Q:ce,_t=[];let Et,en,an,gn;for(Et=_,en=_+w;Etce.controller.options.grouped),O=_.options.stacked,z=[],Q=ce=>{const we=ce.controller.getParsed(p),Ke=we&&we[ce.vScale.axis];if(Bn(Ke)||isNaN(Ke))return!0};for(const ce of w)if((void 0===p||!Q(ce))&&((!1===O||-1===z.indexOf(ce.stack)||void 0===O&&void 0===ce.stack)&&z.push(ce.stack),ce.index===c))break;return z.length||z.push(void 0),z}_getStackCount(c){return this._getStacks(void 0,c).length}_getStackIndex(c,p,_){const w=this._getStacks(c,_),O=void 0!==p?w.indexOf(p):-1;return-1===O?w.length-1:O}_getRuler(){const c=this.options,p=this._cachedMeta,_=p.iScale,w=[];let O,z;for(O=0,z=p.data.length;O=c?1:-1)}(gn,p,Q)*z,_t===Q&&(Jn-=gn/2);const Mi=p.getPixelForDecimal(0),Li=p.getPixelForDecimal(1),gi=Math.min(Mi,Li),Di=Math.max(Mi,Li);Jn=Math.max(Math.min(Jn,Di),gi),an=Jn+gn,_&&!Ke&&(ce._stacks[p.axis]._visualValues[w]=p.getValueForPixel(an)-p.getValueForPixel(Jn))}if(Jn===p.getPixelForValue(Q)){const Mi=Bt(gn)*p.getLineWidthForValue(Q)/2;Jn+=Mi,gn-=Mi}return{size:gn,base:Jn,head:an,center:an+gn/2}}_calculateBarIndexPixels(c,p){const _=p.scale,w=this.options,O=w.skipNull,z=ve(w.maxBarThickness,1/0);let Q,ce;if(p.grouped){const we=O?this._getStackCount(c):p.stackCount,Ke="flex"===w.barThickness?function fo(u,d,c,p){const _=d.pixels,w=_[u];let O=u>0?_[u-1]:null,z=u<_.length-1?_[u+1]:null;const Q=c.categoryPercentage;null===O&&(O=w-(null===z?d.end-d.start:z-w)),null===z&&(z=w+w-O);const ce=w-(w-Math.min(O,z))/2*Q;return{chunk:Math.abs(z-O)/2*Q/p,ratio:c.barPercentage,start:ce}}(c,p,w,we):function $a(u,d,c,p){const _=c.barThickness;let w,O;return Bn(_)?(w=d.min*c.categoryPercentage,O=c.barPercentage):(w=_*p,O=1),{chunk:w/p,ratio:O,start:d.pixels[u]-w/2}}(c,p,w,we),_t=this._getStackIndex(this.index,this._cachedMeta.stack,O?c:void 0);Q=Ke.start+Ke.chunk*_t+Ke.chunk/2,ce=Math.min(z,Ke.chunk*Ke.ratio)}else Q=_.getPixelForValue(this.getParsed(c)[_.axis],c),ce=Math.min(z,p.min*p.ratio);return{base:Q-ce/2,head:Q+ce/2,center:Q,size:ce}}draw(){const c=this._cachedMeta,p=c.vScale,_=c.data,w=_.length;let O=0;for(;Oclass u extends Zs{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(c,p,_,w){const O=super.parsePrimitiveData(c,p,_,w);for(let z=0;z=0;--_)p=Math.max(p,c[_].size(this.resolveDataElementOptions(_))/2);return p>0&&p}getLabelAndValue(c){const p=this._cachedMeta,_=this.chart.data.labels||[],{xScale:w,yScale:O}=p,z=this.getParsed(c),Q=w.getLabelForValue(z.x),ce=O.getLabelForValue(z.y),we=z._custom;return{label:_[c]||"",value:"("+Q+", "+ce+(we?", "+we:"")+")"}}update(c){const p=this._cachedMeta.data;this.updateElements(p,0,p.length,c)}updateElements(c,p,_,w){const O="reset"===w,{iScale:z,vScale:Q}=this._cachedMeta,{sharedOptions:ce,includeOptions:we}=this._getSharedOptions(p,w),Ke=z.axis,_t=Q.axis;for(let Et=p;Etclass u extends Zs{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:c=>"spacing"!==c,_indexable:c=>"spacing"!==c&&!c.startsWith("borderDash")&&!c.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(c){const p=c.data;if(p.labels.length&&p.datasets.length){const{labels:{pointStyle:_,color:w}}=c.legend.options;return p.labels.map((O,z)=>{const ce=c.getDatasetMeta(0).controller.getStyle(z);return{text:O,fillStyle:ce.backgroundColor,strokeStyle:ce.borderColor,fontColor:w,lineWidth:ce.borderWidth,pointStyle:_,hidden:!c.getDataVisibility(z),index:z}})}return[]}},onClick(c,p,_){_.chart.toggleDataVisibility(p.index),_.chart.update()}}}};constructor(c,p){super(c,p),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(c,p){const _=this.getDataset().data,w=this._cachedMeta;if(!1===this._parsing)w._parsed=_;else{let z,Q,O=ce=>+_[ce];if(fi(_[c])){const{key:ce="value"}=this._parsing;O=we=>+bs(_[we],ce)}for(z=c,Q=c+p;z"string"==typeof u&&u.endsWith("%")?parseFloat(u)/100:+u/d)(this.options.cutout,Q),1),we=this._getRingWeight(this.index),{circumference:Ke,rotation:_t}=this._getRotationExtents(),{ratioX:Et,ratioY:en,offsetX:an,offsetY:gn}=function _a(u,d,c){let p=1,_=1,w=0,O=0;if(dyn(Mi,z,Q,!0)?1:Math.max(Li,Li*c,gi,gi*c),en=(Mi,Li,gi)=>yn(Mi,z,Q,!0)?-1:Math.min(Li,Li*c,gi,gi*c),an=Et(0,ce,Ke),gn=Et(Sr,we,_t),Qn=en(Pt,ce,Ke),Jn=en(Pt+Sr,we,_t);p=(an-Qn)/2,_=(gn-Jn)/2,w=-(an+Qn)/2,O=-(gn+Jn)/2}return{ratioX:p,ratioY:_,offsetX:w,offsetY:O}}(_t,Ke,ce),Mi=Math.max(Math.min((_.width-z)/Et,(_.height-z)/en)/2,0),Li=xe(this.options.radius,Mi),Di=(Li-Math.max(Li*ce,0))/this._getVisibleDatasetWeightTotal();this.offsetX=an*Li,this.offsetY=gn*Li,w.total=this.calculateTotal(),this.outerRadius=Li-Di*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-Di*we,0),this.updateElements(O,0,O.length,c)}_circumference(c,p){const _=this.options,w=this._cachedMeta,O=this._getCircumference();return p&&_.animation.animateRotate||!this.chart.getDataVisibility(c)||null===w._parsed[c]||w.data[c].hidden?0:this.calculateCircumference(w._parsed[c]*O/ln)}updateElements(c,p,_,w){const O="reset"===w,z=this.chart,Q=z.chartArea,Ke=(Q.left+Q.right)/2,_t=(Q.top+Q.bottom)/2,Et=O&&z.options.animation.animateScale,en=Et?0:this.innerRadius,an=Et?0:this.outerRadius,{sharedOptions:gn,includeOptions:Qn}=this._getSharedOptions(p,w);let Mi,Jn=this._getRotation();for(Mi=0;Mi0&&!isNaN(c)?ln*(Math.abs(c)/p):0}getLabelAndValue(c){const _=this.chart,w=_.data.labels||[],O=Fo(this._cachedMeta._parsed[c],_.options.locale);return{label:w[c]||"",value:O}}getMaxBorderWidth(c){let p=0;const _=this.chart;let w,O,z,Q,ce;if(!c)for(w=0,O=_.data.datasets.length;wclass u extends Zs{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(c){const p=this._cachedMeta,{dataset:_,data:w=[],_dataset:O}=p,z=this.chart._animationsDisabled;let{start:Q,count:ce}=wo(p,w,z);this._drawStart=Q,this._drawCount=ce,Ra(p)&&(Q=0,ce=w.length),_._chart=this.chart,_._datasetIndex=this.index,_._decimated=!!O._decimated,_.points=w;const we=this.resolveDatasetElementOptions(c);this.options.showLine||(we.borderWidth=0),we.segment=this.options.segment,this.updateElement(_,void 0,{animated:!z,options:we},c),this.updateElements(w,Q,ce,c)}updateElements(c,p,_,w){const O="reset"===w,{iScale:z,vScale:Q,_stacked:ce,_dataset:we}=this._cachedMeta,{sharedOptions:Ke,includeOptions:_t}=this._getSharedOptions(p,w),Et=z.axis,en=Q.axis,{spanGaps:an,segment:gn}=this.options,Qn=Ri(an)?an:Number.POSITIVE_INFINITY,Jn=this.chart._animationsDisabled||O||"none"===w,Mi=p+_,Li=c.length;let gi=p>0&&this.getParsed(p-1);for(let Di=0;Di=Mi){Wi.skip=!0;continue}const Yr=this.getParsed(Di),Gs=Bn(Yr[en]),to=Wi[Et]=z.getPixelForValue(Yr[Et],Di),lo=Wi[en]=O||Gs?Q.getBasePixel():Q.getPixelForValue(ce?this.applyStack(Q,Yr,ce):Yr[en],Di);Wi.skip=isNaN(to)||isNaN(lo)||Gs,Wi.stop=Di>0&&Math.abs(Yr[Et]-gi[Et])>Qn,gn&&(Wi.parsed=Yr,Wi.raw=we.data[Di]),_t&&(Wi.options=Ke||this.resolveDataElementOptions(Di,vr.active?"active":w)),Jn||this.updateElement(vr,Di,Wi,w),gi=Yr}}getMaxOverflow(){const c=this._cachedMeta,p=c.dataset,_=p.options&&p.options.borderWidth||0,w=c.data||[];if(!w.length)return _;const O=w[0].size(this.resolveDataElementOptions(0)),z=w[w.length-1].size(this.resolveDataElementOptions(w.length-1));return Math.max(_,O,z)/2}draw(){const c=this._cachedMeta;c.dataset.updateControlPoints(this.chart.chartArea,c.iScale.axis),super.draw()}})(),Pc=(()=>class u extends Zs{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(c){const p=c.data;if(p.labels.length&&p.datasets.length){const{labels:{pointStyle:_,color:w}}=c.legend.options;return p.labels.map((O,z)=>{const ce=c.getDatasetMeta(0).controller.getStyle(z);return{text:O,fillStyle:ce.backgroundColor,strokeStyle:ce.borderColor,fontColor:w,lineWidth:ce.borderWidth,pointStyle:_,hidden:!c.getDataVisibility(z),index:z}})}return[]}},onClick(c,p,_){_.chart.toggleDataVisibility(p.index),_.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(c,p){super(c,p),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(c){const _=this.chart,w=_.data.labels||[],O=Fo(this._cachedMeta._parsed[c].r,_.options.locale);return{label:w[c]||"",value:O}}parseObjectData(c,p,_,w){return Sa.bind(this)(c,p,_,w)}update(c){const p=this._cachedMeta.data;this._updateRadius(),this.updateElements(p,0,p.length,c)}getMinMax(){const p={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((_,w)=>{const O=this.getParsed(w).r;!isNaN(O)&&this.chart.getDataVisibility(w)&&(Op.max&&(p.max=O))}),p}_updateRadius(){const c=this.chart,p=c.chartArea,_=c.options,w=Math.min(p.right-p.left,p.bottom-p.top),O=Math.max(w/2,0),Q=(O-Math.max(_.cutoutPercentage?O/100*_.cutoutPercentage:1,0))/c.getVisibleDatasetCount();this.outerRadius=O-Q*this.index,this.innerRadius=this.outerRadius-Q}updateElements(c,p,_,w){const O="reset"===w,z=this.chart,ce=z.options.animation,we=this._cachedMeta.rScale,Ke=we.xCenter,_t=we.yCenter,Et=we.getIndexAngle(0)-.5*Pt;let an,en=Et;const gn=360/this.countVisibleElements();for(an=0;an{!isNaN(this.getParsed(w).r)&&this.chart.getDataVisibility(w)&&p++}),p}_computeAngle(c,p,_){return this.chart.getDataVisibility(c)?Xe(this.resolveDataElementOptions(c,p).angle||_):0}})();var cr=Object.freeze({__proto__:null,BarController:xl,BubbleController:Xl,DoughnutController:cc,LineController:Hc,PieController:(()=>class u extends cc{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}})(),PolarAreaController:Pc,RadarController:(()=>class u extends Zs{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(c){const p=this._cachedMeta.vScale,_=this.getParsed(c);return{label:p.getLabels()[c],value:""+p.getLabelForValue(_[p.axis])}}parseObjectData(c,p,_,w){return Sa.bind(this)(c,p,_,w)}update(c){const p=this._cachedMeta,_=p.dataset,w=p.data||[],O=p.iScale.getLabels();if(_.points=w,"resize"!==c){const z=this.resolveDatasetElementOptions(c);this.options.showLine||(z.borderWidth=0),this.updateElement(_,void 0,{_loop:!0,_fullLoop:O.length===w.length,options:z},c)}this.updateElements(w,0,w.length,c)}updateElements(c,p,_,w){const O=this._cachedMeta.rScale,z="reset"===w;for(let Q=p;Qclass u extends Zs{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(c){const p=this._cachedMeta,_=this.chart.data.labels||[],{xScale:w,yScale:O}=p,z=this.getParsed(c),Q=w.getLabelForValue(z.x),ce=O.getLabelForValue(z.y);return{label:_[c]||"",value:"("+Q+", "+ce+")"}}update(c){const p=this._cachedMeta,{data:_=[]}=p,w=this.chart._animationsDisabled;let{start:O,count:z}=wo(p,_,w);if(this._drawStart=O,this._drawCount=z,Ra(p)&&(O=0,z=_.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:Q,_dataset:ce}=p;Q._chart=this.chart,Q._datasetIndex=this.index,Q._decimated=!!ce._decimated,Q.points=_;const we=this.resolveDatasetElementOptions(c);we.segment=this.options.segment,this.updateElement(Q,void 0,{animated:!w,options:we},c)}else this.datasetElementType&&(delete p.dataset,this.datasetElementType=!1);this.updateElements(_,O,z,c)}addElements(){const{showLine:c}=this.options;!this.datasetElementType&&c&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(c,p,_,w){const O="reset"===w,{iScale:z,vScale:Q,_stacked:ce,_dataset:we}=this._cachedMeta,Ke=this.resolveDataElementOptions(p,w),_t=this.getSharedOptions(Ke),Et=this.includeOptions(w,_t),en=z.axis,an=Q.axis,{spanGaps:gn,segment:Qn}=this.options,Jn=Ri(gn)?gn:Number.POSITIVE_INFINITY,Mi=this.chart._animationsDisabled||O||"none"===w;let Li=p>0&&this.getParsed(p-1);for(let gi=p;gi0&&Math.abs(vr[en]-Li[en])>Jn,Qn&&(Wi.parsed=vr,Wi.raw=we.data[gi]),Et&&(Wi.options=_t||this.resolveDataElementOptions(gi,Di.active?"active":w)),Mi||this.updateElement(Di,gi,Wi,w),Li=vr}this.updateSharedOptions(_t,w,Ke)}getMaxOverflow(){const c=this._cachedMeta,p=c.data||[];if(!this.options.showLine){let Q=0;for(let ce=p.length-1;ce>=0;--ce)Q=Math.max(Q,p[ce].size(this.resolveDataElementOptions(ce))/2);return Q>0&&Q}const _=c.dataset,w=_.options&&_.options.borderWidth||0;if(!p.length)return w;const O=p[0].size(this.resolveDataElementOptions(0)),z=p[p.length-1].size(this.resolveDataElementOptions(p.length-1));return Math.max(w,O,z)/2}})()});function Tl(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Bl{static override(d){Object.assign(Bl.prototype,d)}options;constructor(d){this.options=d||{}}init(){}formats(){return Tl()}parse(){return Tl()}format(){return Tl()}add(){return Tl()}diff(){return Tl()}startOf(){return Tl()}endOf(){return Tl()}}var Ac__date=Bl;function au(u,d,c,p){const{controller:_,data:w,_sorted:O}=u,z=_._cachedMeta.iScale;if(z&&d===z.axis&&"r"!==d&&O&&w.length){const Q=z._reversePixels?Hr:yi;if(!p)return Q(w,d,c);if(_._sharedOptions){const ce=w[0],we="function"==typeof ce.getRange&&ce.getRange(d);if(we){const Ke=Q(w,d,c-we),_t=Q(w,d,c+we);return{lo:Ke.lo,hi:_t.hi}}}}return{lo:0,hi:w.length-1}}function ic(u,d,c,p,_){const w=u.getSortedVisibleDatasetMetas(),O=c[d];for(let z=0,Q=w.length;z{Q[O](d[c],_)&&(w.push({element:Q,datasetIndex:ce,index:we}),z=z||Q.inRange(d.x,d.y,_))}),p&&!z?[]:w}var $c={evaluateInteractionItems:ic,modes:{index(u,d,c,p){const _=Xs(d,u),w=c.axis||"x",O=c.includeInvisible||!1,z=c.intersect?El(u,_,w,p,O):rc(u,_,w,!1,p,O),Q=[];return z.length?(u.getSortedVisibleDatasetMetas().forEach(ce=>{const we=z[0].index,Ke=ce.data[we];Ke&&!Ke.skip&&Q.push({element:Ke,datasetIndex:ce.index,index:we})}),Q):[]},dataset(u,d,c,p){const _=Xs(d,u),w=c.axis||"xy",O=c.includeInvisible||!1;let z=c.intersect?El(u,_,w,p,O):rc(u,_,w,!1,p,O);if(z.length>0){const Q=z[0].datasetIndex,ce=u.getDatasetMeta(Q).data;z=[];for(let we=0;weEl(u,Xs(d,u),c.axis||"xy",p,c.includeInvisible||!1),nearest:(u,d,c,p)=>rc(u,Xs(d,u),c.axis||"xy",c.intersect,p,c.includeInvisible||!1),x:(u,d,c,p)=>Vo(u,Xs(d,u),"x",c.intersect,p),y:(u,d,c,p)=>Vo(u,Xs(d,u),"y",c.intersect,p)}};const ii=["left","top","right","bottom"];function es(u,d){return u.filter(c=>c.pos===d)}function Ic(u,d){return u.filter(c=>-1===ii.indexOf(c.pos)&&c.box.axis===d)}function Ul(u,d){return u.sort((c,p)=>{const _=d?p:c,w=d?c:p;return _.weight===w.weight?_.index-w.index:_.weight-w.weight})}function Ea(u,d,c,p){return Math.max(u[c],d[c])+Math.max(u[p],d[p])}function wl(u,d){u.top=Math.max(u.top,d.top),u.left=Math.max(u.left,d.left),u.bottom=Math.max(u.bottom,d.bottom),u.right=Math.max(u.right,d.right)}function jc(u,d,c,p){const{pos:_,box:w}=c,O=u.maxPadding;if(!fi(_)){c.size&&(u[_]-=c.size);const Ke=p[c.stack]||{size:0,count:1};Ke.size=Math.max(Ke.size,c.horizontal?w.height:w.width),c.size=Ke.size/Ke.count,u[_]+=c.size}w.getPadding&&wl(O,w.getPadding());const z=Math.max(0,d.outerWidth-Ea(O,u,"left","right")),Q=Math.max(0,d.outerHeight-Ea(O,u,"top","bottom")),ce=z!==u.w,we=Q!==u.h;return u.w=z,u.h=Q,c.horizontal?{same:ce,other:we}:{same:we,other:ce}}function Fc(u,d){const c=d.maxPadding;return function p(_){const w={left:0,top:0,right:0,bottom:0};return _.forEach(O=>{w[O]=Math.max(d[O],c[O])}),w}(u?["left","right"]:["top","bottom"])}function sa(u,d,c,p){const _=[];let w,O,z,Q,ce,we;for(w=0,O=u.length,ce=0;wce.box.fullSize),!0),p=Ul(es(d,"left"),!0),_=Ul(es(d,"right")),w=Ul(es(d,"top"),!0),O=Ul(es(d,"bottom")),z=Ic(d,"x"),Q=Ic(d,"y");return{fullSize:c,leftAndTop:p.concat(w),rightAndBottom:_.concat(Q).concat(O).concat(z),chartArea:es(d,"chartArea"),vertical:p.concat(_).concat(Q),horizontal:w.concat(O).concat(z)}}(u.boxes),Q=z.vertical,ce=z.horizontal;xt(u.boxes,an=>{"function"==typeof an.beforeLayout&&an.beforeLayout()});const we=Q.reduce((an,gn)=>gn.box.options&&!1===gn.box.options.display?an:an+1,0)||1,Ke=Object.freeze({outerWidth:d,outerHeight:c,padding:_,availableWidth:w,availableHeight:O,vBoxMaxWidth:w/2/we,hBoxMaxHeight:O/2}),_t=Object.assign({},_);wl(_t,Rs(p));const Et=Object.assign({maxPadding:_t,w,h:O,x:_.left,y:_.top},_),en=function Al(u,d){const c=function Rc(u){const d={};for(const c of u){const{stack:p,pos:_,stackWeight:w}=c;if(!p||!ii.includes(_))continue;const O=d[p]||(d[p]={count:0,placed:0,weight:0,size:0});O.count++,O.weight+=w}return d}(u),{vBoxMaxWidth:p,hBoxMaxHeight:_}=d;let w,O,z;for(w=0,O=u.length;w{const gn=an.box;Object.assign(gn,u.chartArea),gn.update(Et.w,Et.h,{left:0,top:0,right:0,bottom:0})})}};class Ua{acquireContext(d,c){}releaseContext(d){return!1}addEventListener(d,c,p){}removeEventListener(d,c,p){}getDevicePixelRatio(){return 1}getMaximumSize(d,c,p,_){return c=Math.max(0,c||d.width),p=p||d.height,{width:c,height:Math.max(0,_?Math.floor(c/_):p)}}isAttached(d){return!0}updateConfig(d){}}class dc extends Ua{acquireContext(d){return d&&d.getContext&&d.getContext("2d")||null}updateConfig(d){d.options.animation=!1}}const he="$chartjs",jt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},L=u=>null===u||""===u,je=!!rl&&{passive:!0};function v(u,d,c){u&&u.canvas&&u.canvas.removeEventListener(d,c,je)}function W(u,d){for(const c of u)if(c===d||c.contains(d))return!0}function ue(u,d,c){const p=u.canvas,_=new MutationObserver(w=>{let O=!1;for(const z of w)O=O||W(z.addedNodes,p),O=O&&!W(z.removedNodes,p);O&&c()});return _.observe(document,{childList:!0,subtree:!0}),_}function be(u,d,c){const p=u.canvas,_=new MutationObserver(w=>{let O=!1;for(const z of w)O=O||W(z.removedNodes,p),O=O&&!W(z.addedNodes,p);O&&c()});return _.observe(document,{childList:!0,subtree:!0}),_}const et=new Map;let q=0;function U(){const u=window.devicePixelRatio;u!==q&&(q=u,et.forEach((d,c)=>{c.currentDevicePixelRatio!==u&&d()}))}function pe(u,d,c){const p=u.canvas,_=p&&Ne(p);if(!_)return;const w=ns((z,Q)=>{const ce=_.clientWidth;c(z,Q),ce<_.clientWidth&&c()},window),O=new ResizeObserver(z=>{const Q=z[0],ce=Q.contentRect.width,we=Q.contentRect.height;0===ce&&0===we||w(ce,we)});return O.observe(_),function Y(u,d){et.size||window.addEventListener("resize",U),et.set(u,d)}(u,w),O}function Ve(u,d,c){c&&c.disconnect(),"resize"===d&&function ne(u){et.delete(u),et.size||window.removeEventListener("resize",U)}(u)}function bt(u,d,c){const p=u.canvas,_=ns(w=>{null!==u.ctx&&c(function M(u,d){const c=jt[u.type]||u.type,{x:p,y:_}=Xs(u,d);return{type:c,chart:d,native:u,x:void 0!==p?p:null,y:void 0!==_?_:null}}(w,u))},u);return function E(u,d,c){u&&u.addEventListener(d,c,je)}(p,d,_),_}class It extends Ua{acquireContext(d,c){const p=d&&d.getContext&&d.getContext("2d");return p&&p.canvas===d?(function Ue(u,d){const c=u.style,p=u.getAttribute("height"),_=u.getAttribute("width");if(u[he]={initial:{height:p,width:_,style:{display:c.display,height:c.height,width:c.width}}},c.display=c.display||"block",c.boxSizing=c.boxSizing||"border-box",L(_)){const w=kc(u,"width");void 0!==w&&(u.width=w)}if(L(p))if(""===u.style.height)u.height=u.width/(d||2);else{const w=kc(u,"height");void 0!==w&&(u.height=w)}}(d,c),p):null}releaseContext(d){const c=d.canvas;if(!c[he])return!1;const p=c[he].initial;["height","width"].forEach(w=>{const O=p[w];Bn(O)?c.removeAttribute(w):c.setAttribute(w,O)});const _=p.style||{};return Object.keys(_).forEach(w=>{c.style[w]=_[w]}),c.width=c.width,delete c[he],!0}addEventListener(d,c,p){this.removeEventListener(d,c),(d.$proxies||(d.$proxies={}))[c]=({attach:ue,detach:be,resize:pe}[c]||bt)(d,c,p)}removeEventListener(d,c){const p=d.$proxies||(d.$proxies={}),_=p[c];_&&(({attach:Ve,detach:Ve,resize:Ve}[c]||v)(d,c,_),p[c]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(d,c,p,_){return function ga(u,d,c,p){const _=Ce(u),w=Yi(_,"margin"),O=ze(_.maxWidth,u,"clientWidth")||li,z=ze(_.maxHeight,u,"clientHeight")||li,Q=function Jo(u,d,c){let p,_;if(void 0===d||void 0===c){const w=u&&Ne(u);if(w){const O=w.getBoundingClientRect(),z=Ce(w),Q=Yi(z,"border","width"),ce=Yi(z,"padding");d=O.width-ce.width-Q.width,c=O.height-ce.height-Q.height,p=ze(z.maxWidth,w,"clientWidth"),_=ze(z.maxHeight,w,"clientHeight")}else d=u.clientWidth,c=u.clientHeight}return{width:d,height:c,maxWidth:p||li,maxHeight:_||li}}(u,d,c);let{width:ce,height:we}=Q;if("content-box"===_.boxSizing){const _t=Yi(_,"border","width"),Et=Yi(_,"padding");ce-=Et.width+_t.width,we-=Et.height+_t.height}return ce=Math.max(0,ce-w.width),we=Math.max(0,p?ce/p:we-w.height),ce=Qo(Math.min(ce,O,Q.maxWidth)),we=Qo(Math.min(we,z,Q.maxHeight)),ce&&!we&&(we=Qo(ce/2)),(void 0!==d||void 0!==c)&&p&&Q.height&&we>Q.height&&(we=Q.height,ce=Qo(Math.floor(we*p))),{width:ce,height:we}}(d,c,p,_)}isAttached(d){const c=d&&Ne(d);return!(!c||!c.isConnected)}}class Cn{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(d){const{x:c,y:p}=this.getProps(["x","y"],d);return{x:c,y:p}}hasValue(){return Ri(this.x)&&Ri(this.y)}getProps(d,c){const p=this.$animations;if(!c||!p)return this;const _={};return d.forEach(w=>{_[w]=p[w]&&p[w].active()?p[w]._to:this[w]}),_}}function wi(u,d,c,p,_){const w=ve(p,0),O=Math.min(ve(_,u.length),u.length);let Q,ce,we,z=0;for(c=Math.ceil(c),_&&(Q=_-p,c=Q/Math.floor(Q/c)),we=w;we<0;)z++,we=Math.round(w+z*c);for(ce=Math.max(w,0);ce"top"===d||"left"===d?u[d]+c:u[d]-c,ms=(u,d)=>Math.min(d||u,u);function ao(u,d){const c=[],p=u.length/d,_=u.length;let w=0;for(;w<_;w+=p)c.push(u[Math.floor(w)]);return c}function Xa(u,d,c){const p=u.ticks.length,_=Math.min(d,p-1),w=u._startPixel,O=u._endPixel,z=1e-6;let ce,Q=u.getPixelForTick(_);if(!(c&&(ce=1===p?Math.max(Q-w,O-Q):0===d?(u.getPixelForTick(1)-Q)/2:(Q-u.getPixelForTick(_-1))/2,Q+=_O+z)))return Q}function mo(u){return u.drawTicks?u.tickLength:0}function Zo(u,d){if(!u.display)return 0;const c=Mr(u.font,d),p=Rs(u.padding);return(xi(u.text)?u.text.length:1)*c.lineHeight+p.height}function hc(u,d,c){let p=To(u);return(c&&"right"!==d||!c&&"right"===d)&&(p=(u=>"left"===u?"right":"right"===u?"left":u)(p)),p}class _o extends Cn{constructor(d){super(),this.id=d.id,this.type=d.type,this.options=void 0,this.ctx=d.ctx,this.chart=d.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(d){this.options=d.setContext(this.getContext()),this.axis=d.axis,this._userMin=this.parse(d.min),this._userMax=this.parse(d.max),this._suggestedMin=this.parse(d.suggestedMin),this._suggestedMax=this.parse(d.suggestedMax)}parse(d,c){return d}getUserBounds(){let{_userMin:d,_userMax:c,_suggestedMin:p,_suggestedMax:_}=this;return d=Ot(d,Number.POSITIVE_INFINITY),c=Ot(c,Number.NEGATIVE_INFINITY),p=Ot(p,Number.POSITIVE_INFINITY),_=Ot(_,Number.NEGATIVE_INFINITY),{min:Ot(d,p),max:Ot(c,_),minDefined:Mt(d),maxDefined:Mt(c)}}getMinMax(d){let O,{min:c,max:p,minDefined:_,maxDefined:w}=this.getUserBounds();if(_&&w)return{min:c,max:p};const z=this.getMatchingVisibleMetas();for(let Q=0,ce=z.length;Qp?p:c,p=_&&c>p?c:p,{min:Ot(c,Ot(p,c)),max:Ot(p,Ot(c,p))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const d=this.chart.data;return this.options.labels||(this.isHorizontal()?d.xLabels:d.yLabels)||d.labels||[]}getLabelItems(d=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(d))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ye(this.options.beforeUpdate,[this])}update(d,c,p){const{beginAtZero:_,grace:w,ticks:O}=this.options,z=O.sampleSize;this.beforeUpdate(),this.maxWidth=d,this.maxHeight=c,this._margins=p=Object.assign({left:0,right:0,top:0,bottom:0},p),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+p.left+p.right:this.height+p.top+p.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function Ji(u,d,c){const{min:p,max:_}=u,w=xe(d,(_-p)/2),O=(z,Q)=>c&&0===z?0:z+Q;return{min:O(p,-Math.abs(w)),max:O(_,w)}}(this,w,_),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const Q=z_)return function hi(u,d,c,p){let O,_=0,w=c[0];for(p=Math.ceil(p),O=0;O_-w).pop(),d}(p);for(let O=0,z=w.length-1;O_)return Q}return Math.max(_,1)}(w,d,_);if(O>0){let Ke,_t;const Et=O>1?Math.round((Q-z)/(O-1)):null;for(wi(d,ce,we,Bn(Et)?0:z-Et,z),Ke=0,_t=O-1;Ke<_t;Ke++)wi(d,ce,we,w[Ke],w[Ke+1]);return wi(d,ce,we,Q,Bn(Et)?d.length:Q+Et),ce}return wi(d,ce,we),ce}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),Q&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let c,p,d=this.options.reverse;this.isHorizontal()?(c=this.left,p=this.right):(c=this.top,p=this.bottom,d=!d),this._startPixel=c,this._endPixel=p,this._reversePixels=d,this._length=p-c,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Ye(this.options.afterUpdate,[this])}beforeSetDimensions(){Ye(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Ye(this.options.afterSetDimensions,[this])}_callHooks(d){this.chart.notifyPlugins(d,this.getContext()),Ye(this.options[d],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Ye(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(d){const c=this.options.ticks;let p,_,w;for(p=0,_=d.length;p<_;p++)w=d[p],w.label=Ye(c.callback,[w.value,p,d],this)}afterTickToLabelConversion(){Ye(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ye(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const d=this.options,c=d.ticks,p=ms(this.ticks.length,d.ticks.maxTicksLimit),_=c.minRotation||0,w=c.maxRotation;let z,Q,ce,O=_;if(!this._isVisible()||!c.display||_>=w||p<=1||!this.isHorizontal())return void(this.labelRotation=_);const we=this._getLabelSizes(),Ke=we.widest.width,_t=we.highest.height,Et=Tn(this.chart.width-Ke,0,this.maxWidth);z=d.offset?this.maxWidth/p:Et/(p-1),Ke+6>z&&(z=Et/(p-(d.offset?.5:1)),Q=this.maxHeight-mo(d.grid)-c.padding-Zo(d.title,this.chart.options.font),ce=Math.sqrt(Ke*Ke+_t*_t),O=ke(Math.min(Math.asin(Tn((we.highest.height+6)/z,-1,1)),Math.asin(Tn(Q/ce,-1,1))-Math.asin(Tn(_t/ce,-1,1)))),O=Math.max(_,Math.min(w,O))),this.labelRotation=O}afterCalculateLabelRotation(){Ye(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ye(this.options.beforeFit,[this])}fit(){const d={width:0,height:0},{chart:c,options:{ticks:p,title:_,grid:w}}=this,O=this._isVisible(),z=this.isHorizontal();if(O){const Q=Zo(_,c.options.font);if(z?(d.width=this.maxWidth,d.height=mo(w)+Q):(d.height=this.maxHeight,d.width=mo(w)+Q),p.display&&this.ticks.length){const{first:ce,last:we,widest:Ke,highest:_t}=this._getLabelSizes(),Et=2*p.padding,en=Xe(this.labelRotation),an=Math.cos(en),gn=Math.sin(en);z?d.height=Math.min(this.maxHeight,d.height+(p.mirror?0:gn*Ke.width+an*_t.height)+Et):d.width=Math.min(this.maxWidth,d.width+(p.mirror?0:an*Ke.width+gn*_t.height)+Et),this._calculatePadding(ce,we,gn,an)}}this._handleMargins(),z?(this.width=this._length=c.width-this._margins.left-this._margins.right,this.height=d.height):(this.width=d.width,this.height=this._length=c.height-this._margins.top-this._margins.bottom)}_calculatePadding(d,c,p,_){const{ticks:{align:w,padding:O},position:z}=this.options,Q=0!==this.labelRotation,ce="top"!==z&&"x"===this.axis;if(this.isHorizontal()){const we=this.getPixelForTick(0)-this.left,Ke=this.right-this.getPixelForTick(this.ticks.length-1);let _t=0,Et=0;Q?ce?(_t=_*d.width,Et=p*c.height):(_t=p*d.height,Et=_*c.width):"start"===w?Et=c.width:"end"===w?_t=d.width:"inner"!==w&&(_t=d.width/2,Et=c.width/2),this.paddingLeft=Math.max((_t-we+O)*this.width/(this.width-we),0),this.paddingRight=Math.max((Et-Ke+O)*this.width/(this.width-Ke),0)}else{let we=c.height/2,Ke=d.height/2;"start"===w?(we=0,Ke=d.height):"end"===w&&(we=c.height,Ke=0),this.paddingTop=we+O,this.paddingBottom=Ke+O}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ye(this.options.afterFit,[this])}isHorizontal(){const{axis:d,position:c}=this.options;return"top"===c||"bottom"===c||"x"===d}isFullSize(){return this.options.fullSize}_convertTicksToLabels(d){let c,p;for(this.beforeTickToLabelConversion(),this.generateTickLabels(d),c=0,p=d.length;c{const p=c.gc,_=p.length/2;let w;if(_>d){for(w=0;w<_;++w)delete c.data[p[w]];p.splice(0,_)}})}(w,c);const Di=O.indexOf(ce),vr=z.indexOf(we),Wi=Yr=>({width:O[Yr]||0,height:z[Yr]||0});return{first:Wi(0),last:Wi(c-1),widest:Wi(Di),highest:Wi(vr),widths:O,heights:z}}getLabelForValue(d){return d}getPixelForValue(d,c){return NaN}getValueForPixel(d){}getPixelForTick(d){const c=this.ticks;return d<0||d>c.length-1?null:this.getPixelForValue(c[d].value)}getPixelForDecimal(d){this._reversePixels&&(d=1-d);const c=this._startPixel+d*this._length;return function pi(u){return Tn(u,-32768,32767)}(this._alignToPixels?ha(this.chart,c,0):c)}getDecimalForPixel(d){const c=(d-this._startPixel)/this._length;return this._reversePixels?1-c:c}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:d,max:c}=this;return d<0&&c<0?c:d>0&&c>0?d:0}getContext(d){const c=this.ticks||[];if(d>=0&&dz*_?z/p:Q/_:Q*_0}_computeGridLineItems(d){const c=this.axis,p=this.chart,_=this.options,{grid:w,position:O,border:z}=_,Q=w.offset,ce=this.isHorizontal(),Ke=this.ticks.length+(Q?1:0),_t=mo(w),Et=[],en=z.setContext(this.getContext()),an=en.display?en.width:0,gn=an/2,Qn=function(hl){return ha(p,hl,an)};let Jn,Mi,Li,gi,Di,vr,Wi,Yr,Gs,to,lo,wc;if("top"===O)Jn=Qn(this.bottom),vr=this.bottom-_t,Yr=Jn-gn,to=Qn(d.top)+gn,wc=d.bottom;else if("bottom"===O)Jn=Qn(this.top),to=d.top,wc=Qn(d.bottom)-gn,vr=Jn+gn,Yr=this.top+_t;else if("left"===O)Jn=Qn(this.right),Di=this.right-_t,Wi=Jn-gn,Gs=Qn(d.left)+gn,lo=d.right;else if("right"===O)Jn=Qn(this.left),Gs=d.left,lo=Qn(d.right)-gn,Di=Jn+gn,Wi=this.left+_t;else if("x"===c){if("center"===O)Jn=Qn((d.top+d.bottom)/2+.5);else if(fi(O)){const hl=Object.keys(O)[0];Jn=Qn(this.chart.scales[hl].getPixelForValue(O[hl]))}to=d.top,wc=d.bottom,vr=Jn+gn,Yr=vr+_t}else if("y"===c){if("center"===O)Jn=Qn((d.left+d.right)/2);else if(fi(O)){const hl=Object.keys(O)[0];Jn=Qn(this.chart.scales[hl].getPixelForValue(O[hl]))}Di=Jn-gn,Wi=Di-_t,Gs=d.left,lo=d.right}const Jc=ve(_.ticks.maxTicksLimit,Ke),Pa=Math.max(1,Math.ceil(Ke/Jc));for(Mi=0;Mi0&&(nh-=Cu/2)}Zh={left:nh,top:Rf,width:Cu+Ed.width,height:Pf+Ed.height,color:Pa.backdropColor}}gn.push({label:Li,font:Yr,textOffset:lo,options:{rotation:an,color:Gl,strokeColor:_u,strokeWidth:Mc,textAlign:Wh,textBaseline:wc,translation:[gi,Di],backdrop:Zh}})}return gn}_getXAxisLabelAlignment(){const{position:d,ticks:c}=this.options;if(-Xe(this.labelRotation))return"top"===d?"left":"right";let _="center";return"start"===c.align?_="left":"end"===c.align?_="right":"inner"===c.align&&(_="inner"),_}_getYAxisLabelAlignment(d){const{position:c,ticks:{crossAlign:p,mirror:_,padding:w}}=this.options,z=d+w,Q=this._getLabelSizes().widest.width;let ce,we;return"left"===c?_?(we=this.right+w,"near"===p?ce="left":"center"===p?(ce="center",we+=Q/2):(ce="right",we+=Q)):(we=this.right-z,"near"===p?ce="right":"center"===p?(ce="center",we-=Q/2):(ce="left",we=this.left)):"right"===c?_?(we=this.left+w,"near"===p?ce="right":"center"===p?(ce="center",we-=Q/2):(ce="left",we-=Q)):(we=this.left+z,"near"===p?ce="left":"center"===p?(ce="center",we+=Q/2):(ce="right",we=this.right)):ce="right",{textAlign:ce,x:we}}_computeLabelArea(){if(this.options.ticks.mirror)return;const d=this.chart,c=this.options.position;return"left"===c||"right"===c?{top:0,left:this.left,bottom:d.height,right:this.right}:"top"===c||"bottom"===c?{top:this.top,left:0,bottom:this.bottom,right:d.width}:void 0}drawBackground(){const{ctx:d,options:{backgroundColor:c},left:p,top:_,width:w,height:O}=this;c&&(d.save(),d.fillStyle=c,d.fillRect(p,_,w,O),d.restore())}getLineWidthForValue(d){const c=this.options.grid;if(!this._isVisible()||!c.display)return 0;const _=this.ticks.findIndex(w=>w.value===d);return _>=0?c.setContext(this.getContext(_)).lineWidth:0}drawGrid(d){const c=this.options.grid,p=this.ctx,_=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(d));let w,O;const z=(Q,ce,we)=>{!we.width||!we.color||(p.save(),p.lineWidth=we.width,p.strokeStyle=we.color,p.setLineDash(we.borderDash||[]),p.lineDashOffset=we.borderDashOffset,p.beginPath(),p.moveTo(Q.x,Q.y),p.lineTo(ce.x,ce.y),p.stroke(),p.restore())};if(c.display)for(w=0,O=_.length;w{this.drawBackground(),this.drawGrid(w),this.drawTitle()}},{z:_,draw:()=>{this.drawBorder()}},{z:c,draw:w=>{this.drawLabels(w)}}]:[{z:c,draw:w=>{this.draw(w)}}]}getMatchingVisibleMetas(d){const c=this.chart.getSortedVisibleDatasetMetas(),p=this.axis+"AxisID",_=[];let w,O;for(w=0,O=c.length;w{const p=c.split("."),_=p.pop(),w=[u].concat(p).join("."),O=d[c].split("."),z=O.pop(),Q=O.join(".");br.route(w,_,Q,z)})}(d,u.defaultRoutes),u.descriptors&&br.describe(d,u.descriptors)}(d,O,p),this.override&&br.override(d.id,d.overrides)),O}get(d){return this.items[d]}unregister(d){const c=this.items,p=d.id,_=this.scope;p in c&&delete c[p],_&&p in br[_]&&(delete br[_][p],this.override&&delete da[p])}}class kr{constructor(){this.controllers=new Is(Zs,"datasets",!0),this.elements=new Is(Cn,"elements"),this.plugins=new Is(Object,"plugins"),this.scales=new Is(_o,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...d){this._each("register",d)}remove(...d){this._each("unregister",d)}addControllers(...d){this._each("register",d,this.controllers)}addElements(...d){this._each("register",d,this.elements)}addPlugins(...d){this._each("register",d,this.plugins)}addScales(...d){this._each("register",d,this.scales)}getController(d){return this._get(d,this.controllers,"controller")}getElement(d){return this._get(d,this.elements,"element")}getPlugin(d){return this._get(d,this.plugins,"plugin")}getScale(d){return this._get(d,this.scales,"scale")}removeControllers(...d){this._each("unregister",d,this.controllers)}removeElements(...d){this._each("unregister",d,this.elements)}removePlugins(...d){this._each("unregister",d,this.plugins)}removeScales(...d){this._each("unregister",d,this.scales)}_each(d,c,p){[...c].forEach(_=>{const w=p||this._getRegistryForType(_);p||w.isForType(_)||w===this.plugins&&_.id?this._exec(d,w,_):xt(_,O=>{const z=p||this._getRegistryForType(O);this._exec(d,z,O)})})}_exec(d,c,p){const _=Do(d);Ye(p["before"+_],[],p),c[d](p),Ye(p["after"+_],[],p)}_getRegistryForType(d){for(let c=0;cw.filter(z=>!O.some(Q=>z.plugin.id===Q.plugin.id));this._notify(_(c,p),d,"stop"),this._notify(_(p,c),d,"start")}}function Hl(u,d){return d||!1!==u?!0===u?{}:u:null}function fs(u,{plugin:d,local:c},p,_){const w=u.pluginScopeKeys(d),O=u.getOptionScopes(p,w);return c&&d.defaults&&O.push(d.defaults),u.createResolver(O,_,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function aa(u,d){return((d.datasets||{})[u]||{}).indexAxis||d.indexAxis||(br.datasets[u]||{}).indexAxis||"x"}function qa(u){if("x"===u||"y"===u||"r"===u)return u}function zl(u){return"top"===u||"bottom"===u?"x":"left"===u||"right"===u?"y":void 0}function Dl(u,...d){if(qa(u))return u;for(const c of d){const p=c.axis||zl(c.position)||u.length>1&&qa(u[0].toLowerCase());if(p)return p}throw new Error(`Cannot determine type of '${u}' axis. Please provide 'axis' or 'position' option.`)}function sc(u,d,c){if(c[d+"AxisID"]===u)return{axis:d}}function R(u){const d=u.options||(u.options={});d.plugins=ve(d.plugins,{}),d.scales=function cs(u,d){const c=da[u.type]||{scales:{}},p=d.scales||{},_=aa(u.type,d),w=Object.create(null);return Object.keys(p).forEach(O=>{const z=p[O];if(!fi(z))return console.error(`Invalid scale configuration for scale: ${O}`);if(z._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${O}`);const Q=Dl(O,z,function yc(u,d){if(d.data&&d.data.datasets){const c=d.data.datasets.filter(p=>p.xAxisID===u||p.yAxisID===u);if(c.length)return sc(u,"x",c[0])||sc(u,"y",c[0])}return{}}(O,u),br.scales[z.type]),ce=function cl(u,d){return u===d?"_index_":"_value_"}(Q,_),we=c.scales||{};w[O]=ki(Object.create(null),[{axis:Q},z,we[Q],we[ce]])}),u.data.datasets.forEach(O=>{const z=O.type||u.type,Q=O.indexAxis||aa(z,d),we=(da[z]||{}).scales||{};Object.keys(we).forEach(Ke=>{const _t=function jl(u,d){let c=u;return"_index_"===u?c=d:"_value_"===u&&(c="x"===d?"y":"x"),c}(Ke,Q),Et=O[_t+"AxisID"]||_t;w[Et]=w[Et]||Object.create(null),ki(w[Et],[{axis:_t},p[Et],we[Ke]])})}),Object.keys(w).forEach(O=>{const z=w[O];ki(z,[br.scales[z.type],br.scale])}),w}(u,d)}function te(u){return(u=u||{}).datasets=u.datasets||[],u.labels=u.labels||[],u}const Pe=new Map,ft=new Set;function on(u,d){let c=Pe.get(u);return c||(c=d(),Pe.set(u,c),ft.add(c)),c}const Gn=(u,d,c)=>{const p=bs(d,c);void 0!==p&&u.add(p)};class Vi{constructor(d){this._config=function Ie(u){return(u=u||{}).data=te(u.data),R(u),u}(d),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(d){this._config.type=d}get data(){return this._config.data}set data(d){this._config.data=te(d)}get options(){return this._config.options}set options(d){this._config.options=d}get plugins(){return this._config.plugins}update(){const d=this._config;this.clearCache(),R(d)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(d){return on(d,()=>[[`datasets.${d}`,""]])}datasetAnimationScopeKeys(d,c){return on(`${d}.transition.${c}`,()=>[[`datasets.${d}.transitions.${c}`,`transitions.${c}`],[`datasets.${d}`,""]])}datasetElementScopeKeys(d,c){return on(`${d}-${c}`,()=>[[`datasets.${d}.elements.${c}`,`datasets.${d}`,`elements.${c}`,""]])}pluginScopeKeys(d){const c=d.id;return on(`${this.type}-plugin-${c}`,()=>[[`plugins.${c}`,...d.additionalOptionScopes||[]]])}_cachedScopes(d,c){const p=this._scopeCache;let _=p.get(d);return(!_||c)&&(_=new Map,p.set(d,_)),_}getOptionScopes(d,c,p){const{options:_,type:w}=this,O=this._cachedScopes(d,p),z=O.get(c);if(z)return z;const Q=new Set;c.forEach(we=>{d&&(Q.add(d),we.forEach(Ke=>Gn(Q,d,Ke))),we.forEach(Ke=>Gn(Q,_,Ke)),we.forEach(Ke=>Gn(Q,da[w]||{},Ke)),we.forEach(Ke=>Gn(Q,br,Ke)),we.forEach(Ke=>Gn(Q,Wa,Ke))});const ce=Array.from(Q);return 0===ce.length&&ce.push(Object.create(null)),ft.has(c)&&O.set(c,ce),ce}chartOptionScopes(){const{options:d,type:c}=this;return[d,da[c]||{},br.datasets[c]||{},{type:c},br,Wa]}resolveNamedOptions(d,c,p,_=[""]){const w={$shared:!0},{resolver:O,subPrefixes:z}=Pr(this._resolverCache,d,_);let Q=O;(function Sl(u,d){const{isScriptable:c,isIndexable:p}=Ia(u);for(const _ of d){const w=c(_),O=p(_),z=(O||w)&&u[_];if(w&&(Ls(z)||js(z))||O&&xi(z))return!0}return!1})(O,c)&&(w.$shared=!1,Q=Js(O,p=Ls(p)?p():p,this.createResolver(d,p,z)));for(const ce of c)w[ce]=Q[ce];return w}createResolver(d,c,p=[""],_){const{resolver:w}=Pr(this._resolverCache,d,p);return fi(c)?Js(w,c,void 0,_):w}}function Pr(u,d,c){let p=u.get(d);p||(p=new Map,u.set(d,p));const _=c.join();let w=p.get(_);return w||(w={resolver:Oo(d,c),subPrefixes:c.filter(z=>!z.toLowerCase().includes("hover"))},p.set(_,w)),w}const js=u=>fi(u)&&Object.getOwnPropertyNames(u).some(d=>Ls(u[d])),bc=["top","bottom","left","right","chartArea"];function eu(u,d){return"top"===u||"bottom"===u||-1===bc.indexOf(u)&&"x"===d}function Il(u,d){return function(c,p){return c[u]===p[u]?c[d]-p[d]:c[u]-p[u]}}function jf(u){const d=u.chart,c=d.options.animation;d.notifyPlugins("afterRender"),Ye(c&&c.onComplete,[u],d)}function zf(u){const d=u.chart,c=d.options.animation;Ye(c&&c.onProgress,[u],d)}function uh(u){return ya()&&"string"==typeof u?u=document.getElementById(u):u&&u.length&&(u=u[0]),u&&u.canvas&&(u=u.canvas),u}const Od={},Qh=u=>{const d=uh(u);return Object.values(Od).filter(c=>c.canvas===d).pop()};function dd(u,d,c){const p=Object.keys(u);for(const _ of p){const w=+_;if(w>=d){const O=u[_];delete u[_],(c>0||w>d)&&(u[w+c]=O)}}}function lu(u,d,c){return u.options.clip?u[c]:d[c]}let cu=(()=>class u{static defaults=br;static instances=Od;static overrides=da;static registry=Jr;static version="4.4.3";static getChart=Qh;static register(...c){Jr.add(...c),dh()}static unregister(...c){Jr.remove(...c),dh()}constructor(c,p){const _=this.config=new Vi(p),w=uh(c),O=Qh(w);if(O)throw new Error("Canvas is already in use. Chart with ID '"+O.id+"' must be destroyed before the canvas with ID '"+O.canvas.id+"' can be reused.");const z=_.createResolver(_.chartOptionScopes(),this.getContext());this.platform=new(_.platform||function Xt(u){return!ya()||typeof OffscreenCanvas<"u"&&u instanceof OffscreenCanvas?dc:It}(w)),this.platform.updateConfig(_);const Q=this.platform.acquireContext(w,z.aspectRatio),ce=Q&&Q.canvas,we=ce&&ce.height,Ke=ce&&ce.width;this.id=ir(),this.ctx=Q,this.canvas=ce,this.width=Ke,this.height=we,this._options=z,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Go,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function Nr(u,d){let c;return function(...p){return d?(clearTimeout(c),c=setTimeout(u,d,p)):u.apply(this,p),d}}(_t=>this.update(_t),z.resizeDelay||0),this._dataChanges=[],Od[this.id]=this,Q&&ce?(hs.listen(this,"complete",jf),hs.listen(this,"progress",zf),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:c,maintainAspectRatio:p},width:_,height:w,_aspectRatio:O}=this;return Bn(c)?p&&O?O:w?_/w:null:c}get data(){return this.config.data}set data(c){this.config.data=c}get options(){return this._options}set options(c){this.config.options=c}get registry(){return Jr}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Ts(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return as(this.canvas,this.ctx),this}stop(){return hs.stop(this),this}resize(c,p){hs.running(this)?this._resizeBeforeDraw={width:c,height:p}:this._resize(c,p)}_resize(c,p){const _=this.options,z=this.platform.getMaximumSize(this.canvas,c,p,_.maintainAspectRatio&&this.aspectRatio),Q=_.devicePixelRatio||this.platform.getDevicePixelRatio(),ce=this.width?"resize":"attach";this.width=z.width,this.height=z.height,this._aspectRatio=this.aspectRatio,Ts(this,Q,!0)&&(this.notifyPlugins("resize",{size:z}),Ye(_.onResize,[this,z],this),this.attached&&this._doResize(ce)&&this.render())}ensureScalesHaveIDs(){xt(this.options.scales||{},(_,w)=>{_.id=w})}buildOrUpdateScales(){const c=this.options,p=c.scales,_=this.scales,w=Object.keys(_).reduce((z,Q)=>(z[Q]=!1,z),{});let O=[];p&&(O=O.concat(Object.keys(p).map(z=>{const Q=p[z],ce=Dl(z,Q),we="r"===ce,Ke="x"===ce;return{options:Q,dposition:we?"chartArea":Ke?"bottom":"left",dtype:we?"radialLinear":Ke?"category":"linear"}}))),xt(O,z=>{const Q=z.options,ce=Q.id,we=Dl(ce,Q),Ke=ve(Q.type,z.dtype);(void 0===Q.position||eu(Q.position,we)!==eu(z.dposition))&&(Q.position=z.dposition),w[ce]=!0;let _t=null;ce in _&&_[ce].type===Ke?_t=_[ce]:(_t=new(Jr.getScale(Ke))({id:ce,type:Ke,ctx:this.ctx,chart:this}),_[_t.id]=_t),_t.init(Q,c)}),xt(w,(z,Q)=>{z||delete _[Q]}),xt(_,z=>{oo.configure(this,z,z.options),oo.addBox(this,z)})}_updateMetasets(){const c=this._metasets,p=this.data.datasets.length,_=c.length;if(c.sort((w,O)=>w.index-O.index),_>p){for(let w=p;w<_;++w)this._destroyDatasetMeta(w);c.splice(p,_-p)}this._sortedMetasets=c.slice(0).sort(Il("order","index"))}_removeUnreferencedMetasets(){const{_metasets:c,data:{datasets:p}}=this;c.length>p.length&&delete this._stacks,c.forEach((_,w)=>{0===p.filter(O=>O===_._dataset).length&&this._destroyDatasetMeta(w)})}buildOrUpdateControllers(){const c=[],p=this.data.datasets;let _,w;for(this._removeUnreferencedMetasets(),_=0,w=p.length;_{this.getDatasetMeta(p).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(c){const p=this.config;p.update();const _=this._options=p.createResolver(p.chartOptionScopes(),this.getContext()),w=this._animationsDisabled=!_.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:c,cancelable:!0}))return;const O=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let z=0;for(let we=0,Ke=this.data.datasets.length;we{we.reset()}),this._updateDatasets(c),this.notifyPlugins("afterUpdate",{mode:c}),this._layers.sort(Il("z","_idx"));const{_active:Q,_lastEvent:ce}=this;ce?this._eventHandler(ce,!0):Q.length&&this._updateHoverStyles(Q,Q,!0),this.render()}_updateScales(){xt(this.scales,c=>{oo.removeBox(this,c)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const c=this.options,p=new Set(Object.keys(this._listeners)),_=new Set(c.events);(!On(p,_)||!!this._responsiveListeners!==c.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:c}=this,p=this._getUniformDataChanges()||[];for(const{method:_,start:w,count:O}of p)dd(c,w,"_removeElements"===_?-O:O)}_getUniformDataChanges(){const c=this._dataChanges;if(!c||!c.length)return;this._dataChanges=[];const p=this.data.datasets.length,_=O=>new Set(c.filter(z=>z[0]===O).map((z,Q)=>Q+","+z.splice(1).join(","))),w=_(0);for(let O=1;OO.split(",")).map(O=>({method:O[1],start:+O[2],count:+O[3]}))}_updateLayout(c){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;oo.update(this,this.width,this.height,c);const p=this.chartArea,_=p.width<=0||p.height<=0;this._layers=[],xt(this.boxes,w=>{_&&"chartArea"===w.position||(w.configure&&w.configure(),this._layers.push(...w._layers()))},this),this._layers.forEach((w,O)=>{w._idx=O}),this.notifyPlugins("afterLayout")}_updateDatasets(c){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:c,cancelable:!0})){for(let p=0,_=this.data.datasets.length;p<_;++p)this.getDatasetMeta(p).controller.configure();for(let p=0,_=this.data.datasets.length;p<_;++p)this._updateDataset(p,Ls(c)?c({datasetIndex:p}):c);this.notifyPlugins("afterDatasetsUpdate",{mode:c})}}_updateDataset(c,p){const _=this.getDatasetMeta(c),w={meta:_,index:c,mode:p,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",w)&&(_.controller._update(p),w.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",w))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(hs.has(this)?this.attached&&!hs.running(this)&&hs.start(this):(this.draw(),jf({chart:this})))}draw(){let c;if(this._resizeBeforeDraw){const{width:_,height:w}=this._resizeBeforeDraw;this._resize(_,w),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const p=this._layers;for(c=0;c=0;--p)this._drawDataset(c[p]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(c){const p=this.ctx,_=c._clip,w=!_.disabled,O=function hd(u,d){const{xScale:c,yScale:p}=u;return c&&p?{left:lu(c,d,"left"),right:lu(c,d,"right"),top:lu(p,d,"top"),bottom:lu(p,d,"bottom")}:d}(c,this.chartArea),z={meta:c,index:c.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",z)&&(w&&_i(p,{left:!1===_.left?0:O.left-_.left,right:!1===_.right?this.width:O.right+_.right,top:!1===_.top?0:O.top-_.top,bottom:!1===_.bottom?this.height:O.bottom+_.bottom}),c.controller.draw(),w&&dr(p),z.cancelable=!1,this.notifyPlugins("afterDatasetDraw",z))}isPointInArea(c){return Fi(c,this.chartArea,this._minPadding)}getElementsAtEventForMode(c,p,_,w){const O=$c.modes[p];return"function"==typeof O?O(this,c,_,w):[]}getDatasetMeta(c){const p=this.data.datasets[c],_=this._metasets;let w=_.filter(O=>O&&O._dataset===p).pop();return w||(w={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:p&&p.order||0,index:c,_dataset:p,_parsed:[],_sorted:!1},_.push(w)),w}getContext(){return this.$context||(this.$context=uo(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(c){const p=this.data.datasets[c];if(!p)return!1;const _=this.getDatasetMeta(c);return"boolean"==typeof _.hidden?!_.hidden:!p.hidden}setDatasetVisibility(c,p){this.getDatasetMeta(c).hidden=!p}toggleDataVisibility(c){this._hiddenIndices[c]=!this._hiddenIndices[c]}getDataVisibility(c){return!this._hiddenIndices[c]}_updateVisibility(c,p,_){const w=_?"show":"hide",O=this.getDatasetMeta(c),z=O.controller._resolveAnimations(void 0,w);Ms(p)?(O.data[p].hidden=!_,this.update()):(this.setDatasetVisibility(c,_),z.update(O,{visible:_}),this.update(Q=>Q.datasetIndex===c?w:void 0))}hide(c,p){this._updateVisibility(c,p,!1)}show(c,p){this._updateVisibility(c,p,!0)}_destroyDatasetMeta(c){const p=this._metasets[c];p&&p.controller&&p.controller._destroy(),delete this._metasets[c]}_stop(){let c,p;for(this.stop(),hs.remove(this),c=0,p=this.data.datasets.length;c{p.addEventListener(this,O,z),c[O]=z},w=(O,z,Q)=>{O.offsetX=z,O.offsetY=Q,this._eventHandler(O)};xt(this.options.events,O=>_(O,w))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const c=this._responsiveListeners,p=this.platform,_=(ce,we)=>{p.addEventListener(this,ce,we),c[ce]=we},w=(ce,we)=>{c[ce]&&(p.removeEventListener(this,ce,we),delete c[ce])},O=(ce,we)=>{this.canvas&&this.resize(ce,we)};let z;const Q=()=>{w("attach",Q),this.attached=!0,this.resize(),_("resize",O),_("detach",z)};z=()=>{this.attached=!1,w("resize",O),this._stop(),this._resize(0,0),_("attach",Q)},p.isAttached(this.canvas)?Q():z()}unbindEvents(){xt(this._listeners,(c,p)=>{this.platform.removeEventListener(this,p,c)}),this._listeners={},xt(this._responsiveListeners,(c,p)=>{this.platform.removeEventListener(this,p,c)}),this._responsiveListeners=void 0}updateHoverStyle(c,p,_){const w=_?"set":"remove";let O,z,Q,ce;for("dataset"===p&&(O=this.getDatasetMeta(c[0].datasetIndex),O.controller["_"+w+"DatasetHoverStyle"]()),Q=0,ce=c.length;Q{const Q=this.getDatasetMeta(O);if(!Q)throw new Error("No dataset found at index "+O);return{datasetIndex:O,element:Q.data[z],index:z}});!cn(_,p)&&(this._active=_,this._lastEvent=null,this._updateHoverStyles(_,p))}notifyPlugins(c,p,_){return this._plugins.notify(this,c,p,_)}isPluginEnabled(c){return 1===this._plugins._cache.filter(p=>p.plugin.id===c).length}_updateHoverStyles(c,p,_){const w=this.options.hover,O=(ce,we)=>ce.filter(Ke=>!we.some(_t=>Ke.datasetIndex===_t.datasetIndex&&Ke.index===_t.index)),z=O(p,c),Q=_?c:O(c,p);z.length&&this.updateHoverStyle(z,w.mode,!1),Q.length&&w.mode&&this.updateHoverStyle(Q,w.mode,!0)}_eventHandler(c,p){const _={event:c,replay:p,cancelable:!0,inChartArea:this.isPointInArea(c)},w=z=>(z.options.events||this.options.events).includes(c.native.type);if(!1===this.notifyPlugins("beforeEvent",_,w))return;const O=this._handleEvent(c,p,_.inChartArea);return _.cancelable=!1,this.notifyPlugins("afterEvent",_,w),(O||_.changed)&&this.render(),this}_handleEvent(c,p,_){const{_active:w=[],options:O}=this,Q=this._getActiveElements(c,w,_,p),ce=function mr(u){return"mouseup"===u.type||"click"===u.type||"contextmenu"===u.type}(c),we=function Uu(u,d,c,p){return c&&"mouseout"!==u.type?p?d:u:null}(c,this._lastEvent,_,ce);_&&(this._lastEvent=null,Ye(O.onHover,[c,Q,this],this),ce&&Ye(O.onClick,[c,Q,this],this));const Ke=!cn(Q,w);return(Ke||p)&&(this._active=Q,this._updateHoverStyles(Q,w,p)),this._lastEvent=we,Ke}_getActiveElements(c,p,_,w){if("mouseout"===c.type)return[];if(!_)return p;const O=this.options.hover;return this.getElementsAtEventForMode(c,O.mode,O,w)}})();function dh(){return xt(cu.instances,u=>u._plugins.invalidate())}function Ld(u,d,c,p){return{x:c+u*Math.cos(d),y:p+u*Math.sin(d)}}function bu(u,d,c,p,_,w){const{x:O,y:z,startAngle:Q,pixelMargin:ce,innerRadius:we}=d,Ke=Math.max(d.outerRadius+p+c-ce,0),_t=we>0?we+p+c+ce:0;let Et=0;const en=_-Q;if(p){const Gl=((we>0?we-p:0)+(Ke>0?Ke-p:0))/2;Et=(en-(0!==Gl?en*Gl/(Gl+p):en))/2}const gn=(en-Math.max(.001,en*Ke-c/Pt)/Ke)/2,Qn=Q+gn+Et,Jn=_-gn-Et,{outerStart:Mi,outerEnd:Li,innerStart:gi,innerEnd:Di}=function tp(u,d,c,p){const _=function xc(u){return Xr(u,["outerStart","outerEnd","innerStart","innerEnd"])}(u.options.borderRadius),w=(c-d)/2,O=Math.min(w,p*d/2),z=Q=>{const ce=(c-Math.min(w,Q))*p/2;return Tn(Q,0,Math.min(w,ce))};return{outerStart:z(_.outerStart),outerEnd:z(_.outerEnd),innerStart:Tn(_.innerStart,0,O),innerEnd:Tn(_.innerEnd,0,O)}}(d,_t,Ke,Jn-Qn),vr=Ke-Mi,Wi=Ke-Li,Yr=Qn+Mi/vr,Gs=Jn-Li/Wi,to=_t+gi,lo=_t+Di,wc=Qn+gi/to,Jc=Jn-Di/lo;if(u.beginPath(),w){const Pa=(Yr+Gs)/2;if(u.arc(O,z,Ke,Yr,Pa),u.arc(O,z,Ke,Pa,Gs),Li>0){const Mc=Ld(Wi,Gs,O,z);u.arc(Mc.x,Mc.y,Li,Gs,Jn+Sr)}const hl=Ld(lo,Jn,O,z);if(u.lineTo(hl.x,hl.y),Di>0){const Mc=Ld(lo,Jc,O,z);u.arc(Mc.x,Mc.y,Di,Jn+Sr,Jc+Math.PI)}const Gl=(Jn-Di/_t+(Qn+gi/_t))/2;if(u.arc(O,z,_t,Jn-Di/_t,Gl,!0),u.arc(O,z,_t,Gl,Qn+gi/_t,!0),gi>0){const Mc=Ld(to,wc,O,z);u.arc(Mc.x,Mc.y,gi,wc+Math.PI,Qn-Sr)}const _u=Ld(vr,Qn,O,z);if(u.lineTo(_u.x,_u.y),Mi>0){const Mc=Ld(vr,Yr,O,z);u.arc(Mc.x,Mc.y,Mi,Qn-Sr,Yr)}}else{u.moveTo(O,z);const Pa=Math.cos(Yr)*Ke+O,hl=Math.sin(Yr)*Ke+z;u.lineTo(Pa,hl);const Gl=Math.cos(Gs)*Ke+O,_u=Math.sin(Gs)*Ke+z;u.lineTo(Gl,_u)}u.closePath()}function np(u,d,c=d){u.lineCap=ve(c.borderCapStyle,d.borderCapStyle),u.setLineDash(ve(c.borderDash,d.borderDash)),u.lineDashOffset=ve(c.borderDashOffset,d.borderDashOffset),u.lineJoin=ve(c.borderJoinStyle,d.borderJoinStyle),u.lineWidth=ve(c.borderWidth,d.borderWidth),u.strokeStyle=ve(c.borderColor,d.borderColor)}function gd(u,d,c){u.lineTo(c.x,c.y)}function Gf(u,d,c={}){const p=u.length,{start:_=0,end:w=p-1}=c,{start:O,end:z}=d,Q=Math.max(_,O),ce=Math.min(w,z);return{count:p,start:Q,loop:d.loop,ilen:cez&&w>z)?p+ce-Q:ce-Q}}function Wl(u,d,c,p){const{points:_,options:w}=d,{count:O,start:z,loop:Q,ilen:ce}=Gf(_,c,p),we=function Zf(u){return u.stepped?$r:u.tension||"monotone"===u.cubicInterpolationMode?Fr:gd}(w);let Et,en,an,{move:Ke=!0,reverse:_t}=p||{};for(Et=0;Et<=ce;++Et)en=_[(z+(_t?ce-Et:Et))%O],!en.skip&&(Ke?(u.moveTo(en.x,en.y),Ke=!1):we(u,an,en,_t,w.stepped),an=en);return Q&&(en=_[(z+(_t?ce:0))%O],we(u,an,en,_t,w.stepped)),!!Q}function Hu(u,d,c,p){const _=d.points,{count:w,start:O,ilen:z}=Gf(_,c,p),{move:Q=!0,reverse:ce}=p||{};let _t,Et,en,an,gn,Qn,we=0,Ke=0;const Jn=Li=>(O+(ce?z-Li:Li))%w,Mi=()=>{an!==gn&&(u.lineTo(we,gn),u.lineTo(we,an),u.lineTo(we,Qn))};for(Q&&(Et=_[Jn(0)],u.moveTo(Et.x,Et.y)),_t=0;_t<=z;++_t){if(Et=_[Jn(_t)],Et.skip)continue;const Li=Et.x,gi=Et.y,Di=0|Li;Di===en?(gign&&(gn=gi),we=(Ke*we+Li)/++Ke):(Mi(),u.lineTo(Li,gi),en=Di,Ke=0,an=gn=gi),Qn=gi}Mi()}function ju(u){const d=u.options;return u._decimated||u._loop||d.tension||"monotone"===d.cubicInterpolationMode||d.stepped||d.borderDash&&d.borderDash.length?Wl:Hu}const $f="function"==typeof Path2D;let xu=(()=>class u extends Cn{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:c=>"borderDash"!==c&&"fill"!==c};constructor(c){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,c&&Object.assign(this,c)}updateControlPoints(c,p){const _=this.options;!_.tension&&"monotone"!==_.cubicInterpolationMode||_.stepped||this._pointsUpdated||(_l(this._points,_,c,_.spanGaps?this._loop:this._fullLoop,p),this._pointsUpdated=!0)}set points(c){this._points=c,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function bl(u,d){const c=u.points,p=u.options.spanGaps,_=c.length;if(!_)return[];const w=!!u._loop,{start:O,end:z}=function Oc(u,d,c,p){let _=0,w=d-1;if(c&&!p)for(;__&&u[w%d].skip;)w--;return w%=d,{start:_,end:w}}(c,_,w,p);return function Cl(u,d,c,p){return p&&p.setContext&&c?function Ao(u,d,c,p){const _=u._chart.getContext(),w=Lc(u.options),{_datasetIndex:O,options:{spanGaps:z}}=u,Q=c.length,ce=[];let we=w,Ke=d[0].start,_t=Ke;function Et(en,an,gn,Qn){const Jn=z?-1:1;if(en!==an){for(en+=Q;c[en%Q].skip;)en-=Jn;for(;c[an%Q].skip;)an+=Jn;en%Q!=an%Q&&(ce.push({start:en%Q,end:an%Q,loop:gn,style:Qn}),we=Qn,Ke=an%Q)}}for(const en of d){Ke=z?Ke:en.start;let gn,an=c[Ke%Q];for(_t=Ke+1;_t<=en.end;_t++){const Qn=c[_t%Q];gn=Lc(p.setContext(uo(_,{type:"segment",p0:an,p1:Qn,p0DataIndex:(_t-1)%Q,p1DataIndex:_t%Q,datasetIndex:O}))),ol(gn,we)&&Et(Ke,_t-1,en.loop,we),an=Qn,we=gn}Ke<_t-1&&Et(Ke,_t-1,en.loop,we)}return ce}(u,d,c,p):d}(u,!0===p?[{start:O,end:z,loop:w}]:function sl(u,d,c,p){const _=u.length,w=[];let Q,O=d,z=u[d];for(Q=d+1;Q<=c;++Q){const ce=u[Q%_];ce.skip||ce.stop?z.skip||(w.push({start:d%_,end:(Q-1)%_,loop:p=!1}),d=O=ce.stop?Q:null):(O=Q,z.skip&&(d=Q)),z=ce}return null!==O&&w.push({start:d%_,end:O%_,loop:p}),w}(c,O,zclass u extends Cn{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(c){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,c&&Object.assign(this,c)}inRange(c,p,_){const w=this.options,{x:O,y:z}=this.getProps(["x","y"],_);return Math.pow(c-O,2)+Math.pow(p-z,2)"borderDash"!==d};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(d){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,d&&Object.assign(this,d)}inRange(d,c,p){const _=this.getProps(["x","y"],p),{angle:w,distance:O}=Ae(_,{x:d,y:c}),{startAngle:z,endAngle:Q,innerRadius:ce,outerRadius:we,circumference:Ke}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],p),_t=(this.options.spacing+this.options.borderWidth)/2,en=ve(Ke,Q-z)>=ln||yn(w,z,Q),an=nn(O,ce+_t,we+_t);return en&&an}getCenterPoint(d){const{x:c,y:p,startAngle:_,endAngle:w,innerRadius:O,outerRadius:z}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],d),{offset:Q,spacing:ce}=this.options,we=(_+w)/2,Ke=(O+z+ce+Q)/2;return{x:c+Math.cos(we)*Ke,y:p+Math.sin(we)*Ke}}tooltipPosition(d){return this.getCenterPoint(d)}draw(d){const{options:c,circumference:p}=this,_=(c.offset||0)/4,w=(c.spacing||0)/2,O=c.circular;if(this.pixelMargin="inner"===c.borderAlign?.33:0,this.fullCircles=p>ln?Math.floor(p/ln):0,0===p||this.innerRadius<0||this.outerRadius<0)return;d.save();const z=(this.startAngle+this.endAngle)/2;d.translate(Math.cos(z)*_,Math.sin(z)*_);const ce=_*(1-Math.sin(Math.min(Pt,p||0)));d.fillStyle=c.backgroundColor,d.strokeStyle=c.borderColor,function Vf(u,d,c,p,_){const{fullCircles:w,startAngle:O,circumference:z}=d;let Q=d.endAngle;if(w){bu(u,d,c,p,Q,_);for(let ce=0;ce_?(ce=_/Q,u.arc(w,O,Q,c+ce,p-ce,!0)):u.arc(w,O,_,c+Sr,p-Sr),u.closePath(),u.clip()}(u,d,en),w||(bu(u,d,c,p,en,_),u.stroke())}(d,this,ce,w,O),d.restore()}},BarElement:class rp extends Cn{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(d){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,d&&Object.assign(this,d)}draw(d){const{inflateAmount:c,options:{borderColor:p,backgroundColor:_}}=this,{inner:w,outer:O}=function Pd(u){const d=Jf(u),c=d.right-d.left,p=d.bottom-d.top,_=function fc(u,d,c){const _=u.borderSkipped,w=gr(u.options.borderWidth);return{t:Vu(_.top,w.top,0,c),r:Vu(_.right,w.right,0,d),b:Vu(_.bottom,w.bottom,0,c),l:Vu(_.left,w.left,0,d)}}(u,c/2,p/2),w=function ef(u,d,c){const{enableBorderRadius:p}=u.getProps(["enableBorderRadius"]),_=u.options.borderRadius,w=Us(_),O=Math.min(d,c),z=u.borderSkipped,Q=p||fi(_);return{topLeft:Vu(!Q||z.top||z.left,w.topLeft,0,O),topRight:Vu(!Q||z.top||z.right,w.topRight,0,O),bottomLeft:Vu(!Q||z.bottom||z.left,w.bottomLeft,0,O),bottomRight:Vu(!Q||z.bottom||z.right,w.bottomRight,0,O)}}(u,c/2,p/2);return{outer:{x:d.left,y:d.top,w:c,h:p,radius:w},inner:{x:d.left+_.l,y:d.top+_.t,w:c-_.l-_.r,h:p-_.t-_.b,radius:{topLeft:Math.max(0,w.topLeft-Math.max(_.t,_.l)),topRight:Math.max(0,w.topRight-Math.max(_.t,_.r)),bottomLeft:Math.max(0,w.bottomLeft-Math.max(_.b,_.l)),bottomRight:Math.max(0,w.bottomRight-Math.max(_.b,_.r))}}}}(this),z=function Qf(u){return u.topLeft||u.topRight||u.bottomLeft||u.bottomRight}(O.radius)?$o:ip;d.save(),(O.w!==w.w||O.h!==w.h)&&(d.beginPath(),z(d,tf(O,c,w)),d.clip(),z(d,tf(w,-c,O)),d.fillStyle=p,d.fill("evenodd")),d.beginPath(),z(d,tf(w,c)),d.fillStyle=_,d.fill(),d.restore()}inRange(d,c,p){return Tu(this,d,c,p)}inXRange(d,c){return Tu(this,d,null,c)}inYRange(d,c){return Tu(this,null,d,c)}getCenterPoint(d){const{x:c,y:p,base:_,horizontal:w}=this.getProps(["x","y","base","horizontal"],d);return{x:w?(c+_)/2:c,y:w?p:(p+_)/2}}getRange(d){return"x"===d?this.width/2:this.height/2}},LineElement:xu,PointElement:Rm});const nf=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],qf=nf.map(u=>u.replace("rgb(","rgba(").replace(")",", 0.5)"));function hh(u){return nf[u%nf.length]}function pd(u){return qf[u%qf.length]}function Eu(u){let d;for(d in u)if(u[d].borderColor||u[d].backgroundColor)return!0;return!1}var Fd={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(u,d,c){if(!c.enabled)return;const{data:{datasets:p},options:_}=u.config,{elements:w}=_;if(!c.forceOverride&&(Eu(p)||function gh(u){return u&&(u.borderColor||u.backgroundColor)}(_)||w&&Eu(w)))return;const O=function Nd(u){let d=0;return(c,p)=>{const _=u.getDatasetMeta(p).controller;_ instanceof cc?d=function Rd(u,d){return u.backgroundColor=u.data.map(()=>hh(d++)),d}(c,d):_ instanceof Pc?d=function fh(u,d){return u.backgroundColor=u.data.map(()=>pd(d++)),d}(c,d):_&&(d=function sp(u,d){return u.borderColor=hh(d),u.backgroundColor=pd(d),++d}(c,d))}}(u);p.forEach(O)}};function sf(u){if(u._decimated){const d=u._data;delete u._decimated,delete u._data,Object.defineProperty(u,"data",{configurable:!0,enumerable:!0,writable:!0,value:d})}}function mh(u){u.data.datasets.forEach(d=>{sf(d)})}var Yd={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(u,d,c)=>{if(!c.enabled)return void mh(u);const p=u.width;u.data.datasets.forEach((_,w)=>{const{_data:O,indexAxis:z}=_,Q=u.getDatasetMeta(w),ce=O||_.data;if("y"===Zr([z,u.options.indexAxis])||!Q.controller.supportsDecimation)return;const we=u.scales[Q.xAxisID];if("linear"!==we.type&&"time"!==we.type||u.options.parsing)return;let en,{start:Ke,count:_t}=function Wu(u,d){const c=d.length;let _,p=0;const{iScale:w}=u,{min:O,max:z,minDefined:Q,maxDefined:ce}=w.getUserBounds();return Q&&(p=Tn(yi(d,w.axis,O).lo,0,c-1)),_=ce?Tn(yi(d,w.axis,z).hi+1,p,c)-p:c-p,{start:p,count:_}}(Q,ce);if(_t<=(c.threshold||4*p))sf(_);else{switch(Bn(O)&&(_._data=ce,delete _.data,Object.defineProperty(_,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(an){this._data=an}})),c.algorithm){case"lttb":en=function ph(u,d,c,p,_){const w=_.samples||p;if(w>=c)return u.slice(d,d+c);const O=[],z=(c-2)/(w-2);let Q=0;const ce=d+c-1;let Ke,_t,Et,en,an,we=d;for(O[Q++]=u[we],Ke=0;KeEt&&(Et=en,_t=u[Jn],an=Jn);O[Q++]=_t,we=an}return O[Q++]=u[ce],O}(ce,Ke,_t,p,c);break;case"min-max":en=function rf(u,d,c,p){let O,z,Q,ce,we,Ke,_t,Et,en,an,_=0,w=0;const gn=[],Jn=u[d].x,Li=u[d+c-1].x-Jn;for(O=d;Oan&&(an=ce,_t=O),_=(w*_+z.x)/++w;else{const Di=O-1;if(!Bn(Ke)&&!Bn(_t)){const vr=Math.min(Ke,_t),Wi=Math.max(Ke,_t);vr!==Et&&vr!==Di&&gn.push({...u[vr],x:_}),Wi!==Et&&Wi!==Di&&gn.push({...u[Wi],x:_})}O>0&&Di!==Et&&gn.push(u[Di]),gn.push(z),we=gi,w=0,en=an=ce,Ke=_t=Et=O}}return gn}(ce,Ke,_t,p);break;default:throw new Error(`Unsupported decimation algorithm '${c.algorithm}'`)}_._decimated=en}})},destroy(u){mh(u)}};function _h(u,d,c,p){if(p)return;let _=d[u],w=c[u];return"angle"===u&&(_=Kt(_),w=Kt(w)),{property:u,start:_,end:w}}function af(u,d,c){for(;d>u;d--){const p=c[d];if(!isNaN(p.x)&&!isNaN(p.y))break}return d}function md(u,d,c,p){return u&&d?p(u[c],d[c]):u?u[c]:d?d[c]:0}function lf(u,d){let c=[],p=!1;return xi(u)?(p=!0,c=u):c=function Ch(u,d){const{x:c=null,y:p=null}=u||{},_=d.points,w=[];return d.segments.forEach(({start:O,end:z})=>{z=af(O,z,_);const Q=_[O],ce=_[z];null!==p?(w.push({x:Q.x,y:p}),w.push({x:ce.x,y:p})):null!==c&&(w.push({x:c,y:Q.y}),w.push({x:c,y:ce.y}))}),w}(u,d),c.length?new xu({points:c,options:{tension:0},_loop:p,_fullLoop:p}):null}function op(u){return u&&!1!==u.fill}function wu(u,d,c){let _=u[d].fill;const w=[d];let O;if(!c)return _;for(;!1!==_&&-1===w.indexOf(_);){if(!Mt(_))return _;if(O=u[_],!O)return!1;if(O.visible)return _;w.push(_),_=O.fill}return!1}function vh(u,d,c){const p=function Nm(u){const d=u.options,c=d.fill;let p=ve(c&&c.target,c);return void 0===p&&(p=!!d.backgroundColor),!1!==p&&null!==p&&(!0===p?"origin":p)}(u);if(fi(p))return!isNaN(p.value)&&p;let _=parseFloat(p);return Mt(_)&&Math.floor(_)===_?function tg(u,d,c,p){return("-"===u||"+"===u)&&(c=d+c),!(c===d||c<0||c>=p)&&c}(p[0],d,_,c):["origin","start","end","stack","shape"].indexOf(p)>=0&&p}function lp(u,d,c){const p=[];for(let _=0;_=0;--O){const z=_[O].$filler;z&&(z.line.updateControlPoints(w,z.axis),p&&z.fill&&rg(u.ctx,z,w))}},beforeDatasetsDraw(u,d,c){if("beforeDatasetsDraw"!==c.drawTime)return;const p=u.getSortedVisibleDatasetMetas();for(let _=p.length-1;_>=0;--_){const w=p[_].$filler;op(w)&&rg(u.ctx,w,u.chartArea)}},beforeDatasetDraw(u,d,c){const p=d.meta.$filler;!op(p)||"beforeDatasetDraw"!==c.drawTime||rg(u.ctx,p,u.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ff=(u,d)=>{let{boxHeight:c=d,boxWidth:p=d}=u;return u.usePointStyle&&(c=Math.min(c,d),p=u.pointStyleWidth||Math.min(p,d)),{boxWidth:p,boxHeight:c,itemHeight:Math.max(d,c)}};class Zu extends Cn{constructor(d){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=d.chart,this.options=d.options,this.ctx=d.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(d,c,p){this.maxWidth=d,this.maxHeight=c,this._margins=p,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const d=this.options.labels||{};let c=Ye(d.generateLabels,[this.chart],this)||[];d.filter&&(c=c.filter(p=>d.filter(p,this.chart.data))),d.sort&&(c=c.sort((p,_)=>d.sort(p,_,this.chart.data))),this.options.reverse&&c.reverse(),this.legendItems=c}fit(){const{options:d,ctx:c}=this;if(!d.display)return void(this.width=this.height=0);const p=d.labels,_=Mr(p.font),w=_.size,O=this._computeTitleHeight(),{boxWidth:z,itemHeight:Q}=ff(p,w);let ce,we;c.font=_.string,this.isHorizontal()?(ce=this.maxWidth,we=this._fitRows(O,w,z,Q)+10):(we=this.maxHeight,ce=this._fitCols(O,_,z,Q)+10),this.width=Math.min(ce,d.maxWidth||this.maxWidth),this.height=Math.min(we,d.maxHeight||this.maxHeight)}_fitRows(d,c,p,_){const{ctx:w,maxWidth:O,options:{labels:{padding:z}}}=this,Q=this.legendHitBoxes=[],ce=this.lineWidths=[0],we=_+z;let Ke=d;w.textAlign="left",w.textBaseline="middle";let _t=-1,Et=-we;return this.legendItems.forEach((en,an)=>{const gn=p+c/2+w.measureText(en.text).width;(0===an||ce[ce.length-1]+gn+2*z>O)&&(Ke+=we,ce[ce.length-(an>0?0:1)]=0,Et+=we,_t++),Q[an]={left:0,top:Et,row:_t,width:gn,height:_},ce[ce.length-1]+=gn+z}),Ke}_fitCols(d,c,p,_){const{ctx:w,maxHeight:O,options:{labels:{padding:z}}}=this,Q=this.legendHitBoxes=[],ce=this.columnSizes=[],we=O-d;let Ke=z,_t=0,Et=0,en=0,an=0;return this.legendItems.forEach((gn,Qn)=>{const{itemWidth:Jn,itemHeight:Mi}=function lg(u,d,c,p,_){const w=function cg(u,d,c,p){let _=u.text;return _&&"string"!=typeof _&&(_=_.reduce((w,O)=>w.length>O.length?w:O)),d+c.size/2+p.measureText(_).width}(p,u,d,c),O=function Ih(u,d,c){let p=u;return"string"!=typeof d.text&&(p=Hd(d,c)),p}(_,p,d.lineHeight);return{itemWidth:w,itemHeight:O}}(p,c,w,gn,_);Qn>0&&Et+Mi+2*z>we&&(Ke+=_t+z,ce.push({width:_t,height:Et}),en+=_t+z,an++,_t=Et=0),Q[Qn]={left:en,top:Et,col:an,width:Jn,height:Mi},_t=Math.max(_t,Jn),Et+=Mi+z}),Ke+=_t,ce.push({width:_t,height:Et}),Ke}adjustHitBoxes(){if(!this.options.display)return;const d=this._computeTitleHeight(),{legendHitBoxes:c,options:{align:p,labels:{padding:_},rtl:w}}=this,O=Fa(w,this.left,this.width);if(this.isHorizontal()){let z=0,Q=Bs(p,this.left+_,this.right-this.lineWidths[z]);for(const ce of c)z!==ce.row&&(z=ce.row,Q=Bs(p,this.left+_,this.right-this.lineWidths[z])),ce.top+=this.top+d+_,ce.left=O.leftForLtr(O.x(Q),ce.width),Q+=ce.width+_}else{let z=0,Q=Bs(p,this.top+d+_,this.bottom-this.columnSizes[z].height);for(const ce of c)ce.col!==z&&(z=ce.col,Q=Bs(p,this.top+d+_,this.bottom-this.columnSizes[z].height)),ce.top=Q,ce.left+=this.left+_,ce.left=O.leftForLtr(O.x(ce.left),ce.width),Q+=ce.height+_}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const d=this.ctx;_i(d,this),this._draw(),dr(d)}}_draw(){const{options:d,columnSizes:c,lineWidths:p,ctx:_}=this,{align:w,labels:O}=d,z=br.color,Q=Fa(d.rtl,this.left,this.width),ce=Mr(O.font),{padding:we}=O,Ke=ce.size,_t=Ke/2;let Et;this.drawTitle(),_.textAlign=Q.textAlign("left"),_.textBaseline="middle",_.lineWidth=.5,_.font=ce.string;const{boxWidth:en,boxHeight:an,itemHeight:gn}=ff(O,Ke),Mi=this.isHorizontal(),Li=this._computeTitleHeight();Et=Mi?{x:Bs(w,this.left+we,this.right-p[0]),y:this.top+we+Li,line:0}:{x:this.left+we,y:Bs(w,this.top+Li+we,this.bottom-c[0].height),line:0},so(this.ctx,d.textDirection);const gi=gn+we;this.legendItems.forEach((Di,vr)=>{_.strokeStyle=Di.fontColor,_.fillStyle=Di.fontColor;const Wi=_.measureText(Di.text).width,Yr=Q.textAlign(Di.textAlign||(Di.textAlign=O.textAlign)),Gs=en+_t+Wi;let to=Et.x,lo=Et.y;Q.setWidth(this.width),Mi?vr>0&&to+Gs+we>this.right&&(lo=Et.y+=gi,Et.line++,to=Et.x=Bs(w,this.left+we,this.right-p[Et.line])):vr>0&&lo+gi>this.bottom&&(to=Et.x=to+c[Et.line].width+we,Et.line++,lo=Et.y=Bs(w,this.top+Li+we,this.bottom-c[Et.line].height)),function(Di,vr,Wi){if(isNaN(en)||en<=0||isNaN(an)||an<0)return;_.save();const Yr=ve(Wi.lineWidth,1);if(_.fillStyle=ve(Wi.fillStyle,z),_.lineCap=ve(Wi.lineCap,"butt"),_.lineDashOffset=ve(Wi.lineDashOffset,0),_.lineJoin=ve(Wi.lineJoin,"miter"),_.lineWidth=Yr,_.strokeStyle=ve(Wi.strokeStyle,z),_.setLineDash(ve(Wi.lineDash,[])),O.usePointStyle){const Gs={radius:an*Math.SQRT2/2,pointStyle:Wi.pointStyle,rotation:Wi.rotation,borderWidth:Yr},to=Q.xPlus(Di,en/2);Ma(_,Gs,to,vr+_t,O.pointStyleWidth&&en)}else{const Gs=vr+Math.max((Ke-an)/2,0),to=Q.leftForLtr(Di,en),lo=Us(Wi.borderRadius);_.beginPath(),Object.values(lo).some(wc=>0!==wc)?$o(_,{x:to,y:Gs,w:en,h:an,radius:lo}):_.rect(to,Gs,en,an),_.fill(),0!==Yr&&_.stroke()}_.restore()}(Q.x(to),lo,Di),to=((u,d,c,p)=>u===(p?"left":"right")?c:"center"===u?(d+c)/2:d)(Yr,to+en+_t,Mi?to+Gs:this.right,d.rtl),function(Di,vr,Wi){os(_,Wi.text,Di,vr+gn/2,ce,{strikethrough:Wi.hidden,textAlign:Q.textAlign(Wi.textAlign)})}(Q.x(to),lo,Di),Mi?Et.x+=Gs+we:Et.y+="string"!=typeof Di.text?Hd(Di,ce.lineHeight)+we:gi}),Vs(this.ctx,d.textDirection)}drawTitle(){const d=this.options,c=d.title,p=Mr(c.font),_=Rs(c.padding);if(!c.display)return;const w=Fa(d.rtl,this.left,this.width),O=this.ctx,z=c.position,ce=_.top+p.size/2;let we,Ke=this.left,_t=this.width;if(this.isHorizontal())_t=Math.max(...this.lineWidths),we=this.top+ce,Ke=Bs(d.align,Ke,this.right-_t);else{const en=this.columnSizes.reduce((an,gn)=>Math.max(an,gn.height),0);we=ce+Bs(d.align,this.top,this.bottom-en-d.labels.padding-this._computeTitleHeight())}const Et=Bs(z,Ke,Ke+_t);O.textAlign=w.textAlign(To(z)),O.textBaseline="middle",O.strokeStyle=c.color,O.fillStyle=c.color,O.font=p.string,os(O,c.text,Et,we,p)}_computeTitleHeight(){const d=this.options.title,c=Mr(d.font),p=Rs(d.padding);return d.display?c.lineHeight+p.height:0}_getLegendItemAt(d,c){let p,_,w;if(nn(d,this.left,this.right)&&nn(c,this.top,this.bottom))for(w=this.legendHitBoxes,p=0;pnull!==u&&null!==d&&u.datasetIndex===d.datasetIndex&&u.index===d.index)(_,p);_&&!w&&Ye(c.onLeave,[d,_,this],this),this._hoveredItem=p,p&&!w&&Ye(c.onHover,[d,p,this],this)}else p&&Ye(c.onClick,[d,p,this],this)}}function Hd(u,d){return d*(u.text?u.text.length:0)}var hp={id:"legend",_element:Zu,start(u,d,c){const p=u.legend=new Zu({ctx:u.ctx,options:c,chart:u});oo.configure(u,p,c),oo.addBox(u,p)},stop(u){oo.removeBox(u,u.legend),delete u.legend},beforeUpdate(u,d,c){const p=u.legend;oo.configure(u,p,c),p.options=c},afterUpdate(u){const d=u.legend;d.buildLabels(),d.adjustHitBoxes()},afterEvent(u,d){d.replay||u.legend.handleEvent(d.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(u,d,c){const p=d.datasetIndex,_=c.chart;_.isDatasetVisible(p)?(_.hide(p),d.hidden=!0):(_.show(p),d.hidden=!1)},onHover:null,onLeave:null,labels:{color:u=>u.chart.options.color,boxWidth:40,padding:10,generateLabels(u){const d=u.data.datasets,{labels:{usePointStyle:c,pointStyle:p,textAlign:_,color:w,useBorderRadius:O,borderRadius:z}}=u.legend.options;return u._getSortedDatasetMetas().map(Q=>{const ce=Q.controller.getStyle(c?0:void 0),we=Rs(ce.borderWidth);return{text:d[Q.index].label,fillStyle:ce.backgroundColor,fontColor:w,hidden:!Q.visible,lineCap:ce.borderCapStyle,lineDash:ce.borderDash,lineDashOffset:ce.borderDashOffset,lineJoin:ce.borderJoinStyle,lineWidth:(we.width+we.height)/4,strokeStyle:ce.borderColor,pointStyle:p||ce.pointStyle,rotation:ce.rotation,textAlign:_||ce.textAlign,borderRadius:O&&(z||ce.borderRadius),datasetIndex:Q.index}},this)}},title:{color:u=>u.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:u=>!u.startsWith("on"),labels:{_scriptable:u=>!["generateLabels","filter","sort"].includes(u)}}};class gf extends Cn{constructor(d){super(),this.chart=d.chart,this.options=d.options,this.ctx=d.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(d,c){const p=this.options;if(this.left=0,this.top=0,!p.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=d,this.height=this.bottom=c;const _=xi(p.text)?p.text.length:1;this._padding=Rs(p.padding);const w=_*Mr(p.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=w:this.width=w}isHorizontal(){const d=this.options.position;return"top"===d||"bottom"===d}_drawArgs(d){const{top:c,left:p,bottom:_,right:w,options:O}=this,z=O.align;let ce,we,Ke,Q=0;return this.isHorizontal()?(we=Bs(z,p,w),Ke=c+d,ce=w-p):("left"===O.position?(we=p+d,Ke=Bs(z,_,c),Q=-.5*Pt):(we=w-d,Ke=Bs(z,c,_),Q=.5*Pt),ce=_-c),{titleX:we,titleY:Ke,maxWidth:ce,rotation:Q}}draw(){const d=this.ctx,c=this.options;if(!c.display)return;const p=Mr(c.font),w=p.lineHeight/2+this._padding.top,{titleX:O,titleY:z,maxWidth:Q,rotation:ce}=this._drawArgs(w);os(d,c.text,0,0,p,{color:c.color,maxWidth:Q,rotation:ce,textAlign:To(c.align),textBaseline:"middle",translation:[O,z]})}}var ug={id:"title",_element:gf,start(u,d,c){!function fp(u,d){const c=new gf({ctx:u.ctx,options:d,chart:u});oo.configure(u,c,d),oo.addBox(u,c),u.titleBlock=c}(u,c)},stop(u){oo.removeBox(u,u.titleBlock),delete u.titleBlock},beforeUpdate(u,d,c){const p=u.titleBlock;oo.configure(u,p,c),p.options=c},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const tu=new WeakMap;var dg={id:"subtitle",start(u,d,c){const p=new gf({ctx:u.ctx,options:c,chart:u});oo.configure(u,p,c),oo.addBox(u,p),tu.set(u,p)},stop(u){oo.removeBox(u,tu.get(u)),tu.delete(u)},beforeUpdate(u,d,c){const p=tu.get(u);oo.configure(u,p,c),p.options=c},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Me={average(u){if(!u.length)return!1;let d,c,p=new Set,_=0,w=0;for(d=0,c=u.length;dz+Q)/p.size,y:_/w}},nearest(u,d){if(!u.length)return!1;let w,O,z,c=d.x,p=d.y,_=Number.POSITIVE_INFINITY;for(w=0,O=u.length;w-1?u.split("\n"):u}function st(u,d){const{element:c,datasetIndex:p,index:_}=d,w=u.getDatasetMeta(p).controller,{label:O,value:z}=w.getLabelAndValue(_);return{chart:u,label:O,parsed:w.getParsed(_),raw:u.data.datasets[p].data[_],formattedValue:z,dataset:w.getDataset(),dataIndex:_,datasetIndex:p,element:c}}function At(u,d){const c=u.chart.ctx,{body:p,footer:_,title:w}=u,{boxWidth:O,boxHeight:z}=d,Q=Mr(d.bodyFont),ce=Mr(d.titleFont),we=Mr(d.footerFont),Ke=w.length,_t=_.length,Et=p.length,en=Rs(d.padding);let an=en.height,gn=0,Qn=p.reduce((Li,gi)=>Li+gi.before.length+gi.lines.length+gi.after.length,0);Qn+=u.beforeBody.length+u.afterBody.length,Ke&&(an+=Ke*ce.lineHeight+(Ke-1)*d.titleSpacing+d.titleMarginBottom),Qn&&(an+=Et*(d.displayColors?Math.max(z,Q.lineHeight):Q.lineHeight)+(Qn-Et)*Q.lineHeight+(Qn-1)*d.bodySpacing),_t&&(an+=d.footerMarginTop+_t*we.lineHeight+(_t-1)*d.footerSpacing);let Jn=0;const Mi=function(Li){gn=Math.max(gn,c.measureText(Li).width+Jn)};return c.save(),c.font=ce.string,xt(u.title,Mi),c.font=Q.string,xt(u.beforeBody.concat(u.afterBody),Mi),Jn=d.displayColors?O+2+d.boxPadding:0,xt(p,Li=>{xt(Li.before,Mi),xt(Li.lines,Mi),xt(Li.after,Mi)}),Jn=0,c.font=we.string,xt(u.footer,Mi),c.restore(),gn+=en.width,{width:gn,height:an}}function Xn(u,d,c,p){const{x:_,width:w}=c,{width:O,chartArea:{left:z,right:Q}}=u;let ce="center";return"center"===p?ce=_<=(z+Q)/2?"left":"right":_<=w/2?ce="left":_>=O-w/2&&(ce="right"),function Mn(u,d,c,p){const{x:_,width:w}=p,O=c.caretSize+c.caretPadding;if("left"===u&&_+w+O>d.width||"right"===u&&_-w-O<0)return!0}(ce,u,d,c)&&(ce="center"),ce}function Ai(u,d,c){const p=c.yAlign||d.yAlign||function fn(u,d){const{y:c,height:p}=d;return c

u.height-p/2?"bottom":"center"}(u,c);return{xAlign:c.xAlign||d.xAlign||Xn(u,d,c,p),yAlign:p}}function Os(u,d,c,p){const{caretSize:_,caretPadding:w,cornerRadius:O}=u,{xAlign:z,yAlign:Q}=c,ce=_+w,{topLeft:we,topRight:Ke,bottomLeft:_t,bottomRight:Et}=Us(O);let en=function nr(u,d){let{x:c,width:p}=u;return"right"===d?c-=p:"center"===d&&(c-=p/2),c}(d,z);const an=function Ni(u,d,c){let{y:p,height:_}=u;return"top"===d?p+=c:p-="bottom"===d?_+c:_/2,p}(d,Q,ce);return"center"===Q?"left"===z?en+=ce:"right"===z&&(en-=ce):"left"===z?en-=Math.max(we,_t)+_:"right"===z&&(en+=Math.max(Ke,Et)+_),{x:Tn(en,0,p.width-d.width),y:Tn(an,0,p.height-d.height)}}function Fs(u,d,c){const p=Rs(c.padding);return"center"===d?u.x+u.width/2:"right"===d?u.x+u.width-p.right:u.x+p.left}function ys(u){return Z([],le(u))}function qs(u,d){const c=d&&d.dataset&&d.dataset.tooltip&&d.dataset.tooltip.callbacks;return c?u.override(c):u}const Lo={beforeTitle:di,title(u){if(u.length>0){const d=u[0],c=d.chart.data.labels,p=c?c.length:0;if(this&&this.options&&"dataset"===this.options.mode)return d.dataset.label||"";if(d.label)return d.label;if(p>0&&d.dataIndex"u"?Lo[d].call(c,p):_}let ul=(()=>class u extends Cn{static positioners=Me;constructor(c){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=c.chart,this.options=c.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(c){this.options=c,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const c=this._cachedAnimations;if(c)return c;const p=this.chart,_=this.options.setContext(this.getContext()),w=_.enabled&&p.options.animation&&_.animations,O=new Io(this.chart,w);return w._cacheable&&(this._cachedAnimations=Object.freeze(O)),O}getContext(){return this.$context||(this.$context=function La(u,d,c){return uo(u,{tooltip:d,tooltipItems:c,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(c,p){const{callbacks:_}=p,w=eo(_,"beforeTitle",this,c),O=eo(_,"title",this,c),z=eo(_,"afterTitle",this,c);let Q=[];return Q=Z(Q,le(w)),Q=Z(Q,le(O)),Q=Z(Q,le(z)),Q}getBeforeBody(c,p){return ys(eo(p.callbacks,"beforeBody",this,c))}getBody(c,p){const{callbacks:_}=p,w=[];return xt(c,O=>{const z={before:[],lines:[],after:[]},Q=qs(_,O);Z(z.before,le(eo(Q,"beforeLabel",this,O))),Z(z.lines,eo(Q,"label",this,O)),Z(z.after,le(eo(Q,"afterLabel",this,O))),w.push(z)}),w}getAfterBody(c,p){return ys(eo(p.callbacks,"afterBody",this,c))}getFooter(c,p){const{callbacks:_}=p,w=eo(_,"beforeFooter",this,c),O=eo(_,"footer",this,c),z=eo(_,"afterFooter",this,c);let Q=[];return Q=Z(Q,le(w)),Q=Z(Q,le(O)),Q=Z(Q,le(z)),Q}_createItems(c){const p=this._active,_=this.chart.data,w=[],O=[],z=[];let ce,we,Q=[];for(ce=0,we=p.length;cec.filter(Ke,_t,Et,_))),c.itemSort&&(Q=Q.sort((Ke,_t)=>c.itemSort(Ke,_t,_))),xt(Q,Ke=>{const _t=qs(c.callbacks,Ke);w.push(eo(_t,"labelColor",this,Ke)),O.push(eo(_t,"labelPointStyle",this,Ke)),z.push(eo(_t,"labelTextColor",this,Ke))}),this.labelColors=w,this.labelPointStyles=O,this.labelTextColors=z,this.dataPoints=Q,Q}update(c,p){const _=this.options.setContext(this.getContext()),w=this._active;let O,z=[];if(w.length){const Q=Me[_.position].call(this,w,this._eventPosition);z=this._createItems(_),this.title=this.getTitle(z,_),this.beforeBody=this.getBeforeBody(z,_),this.body=this.getBody(z,_),this.afterBody=this.getAfterBody(z,_),this.footer=this.getFooter(z,_);const ce=this._size=At(this,_),we=Object.assign({},Q,ce),Ke=Ai(this.chart,_,we),_t=Os(_,we,Ke,this.chart);this.xAlign=Ke.xAlign,this.yAlign=Ke.yAlign,O={opacity:1,x:_t.x,y:_t.y,width:ce.width,height:ce.height,caretX:Q.x,caretY:Q.y}}else 0!==this.opacity&&(O={opacity:0});this._tooltipItems=z,this.$context=void 0,O&&this._resolveAnimations().update(this,O),c&&_.external&&_.external.call(this,{chart:this.chart,tooltip:this,replay:p})}drawCaret(c,p,_,w){const O=this.getCaretPosition(c,_,w);p.lineTo(O.x1,O.y1),p.lineTo(O.x2,O.y2),p.lineTo(O.x3,O.y3)}getCaretPosition(c,p,_){const{xAlign:w,yAlign:O}=this,{caretSize:z,cornerRadius:Q}=_,{topLeft:ce,topRight:we,bottomLeft:Ke,bottomRight:_t}=Us(Q),{x:Et,y:en}=c,{width:an,height:gn}=p;let Qn,Jn,Mi,Li,gi,Di;return"center"===O?(gi=en+gn/2,"left"===w?(Qn=Et,Jn=Qn-z,Li=gi+z,Di=gi-z):(Qn=Et+an,Jn=Qn+z,Li=gi-z,Di=gi+z),Mi=Qn):(Jn="left"===w?Et+Math.max(ce,Ke)+z:"right"===w?Et+an-Math.max(we,_t)-z:this.caretX,"top"===O?(Li=en,gi=Li-z,Qn=Jn-z,Mi=Jn+z):(Li=en+gn,gi=Li+z,Qn=Jn+z,Mi=Jn-z),Di=Li),{x1:Qn,x2:Jn,x3:Mi,y1:Li,y2:gi,y3:Di}}drawTitle(c,p,_){const w=this.title,O=w.length;let z,Q,ce;if(O){const we=Fa(_.rtl,this.x,this.width);for(c.x=Fs(this,_.titleAlign,_),p.textAlign=we.textAlign(_.titleAlign),p.textBaseline="middle",z=Mr(_.titleFont),Q=_.titleSpacing,p.fillStyle=_.titleColor,p.font=z.string,ce=0;ce0!==Mi)?(c.beginPath(),c.fillStyle=O.multiKeyBackground,$o(c,{x:gn,y:an,w:we,h:ce,radius:Jn}),c.fill(),c.stroke(),c.fillStyle=z.backgroundColor,c.beginPath(),$o(c,{x:Qn,y:an+1,w:we-2,h:ce-2,radius:Jn}),c.fill()):(c.fillStyle=O.multiKeyBackground,c.fillRect(gn,an,we,ce),c.strokeRect(gn,an,we,ce),c.fillStyle=z.backgroundColor,c.fillRect(Qn,an+1,we-2,ce-2))}c.fillStyle=this.labelTextColors[_]}drawBody(c,p,_){const{body:w}=this,{bodySpacing:O,bodyAlign:z,displayColors:Q,boxHeight:ce,boxWidth:we,boxPadding:Ke}=_,_t=Mr(_.bodyFont);let Et=_t.lineHeight,en=0;const an=Fa(_.rtl,this.x,this.width),gn=function(Yr){p.fillText(Yr,an.x(c.x+en),c.y+Et/2),c.y+=Et+O},Qn=an.textAlign(z);let Jn,Mi,Li,gi,Di,vr,Wi;for(p.textAlign=z,p.textBaseline="middle",p.font=_t.string,c.x=Fs(this,Qn,_),p.fillStyle=_.bodyColor,xt(this.beforeBody,gn),en=Q&&"right"!==Qn?"center"===z?we/2+Ke:we+2+Ke:0,gi=0,vr=w.length;gi0&&p.stroke()}_updateAnimationTarget(c){const p=this.chart,_=this.$animations,w=_&&_.x,O=_&&_.y;if(w||O){const z=Me[c.position].call(this,this._active,this._eventPosition);if(!z)return;const Q=this._size=At(this,c),ce=Object.assign({},z,this._size),we=Ai(p,c,ce),Ke=Os(c,ce,we,p);(w._to!==Ke.x||O._to!==Ke.y)&&(this.xAlign=we.xAlign,this.yAlign=we.yAlign,this.width=Q.width,this.height=Q.height,this.caretX=z.x,this.caretY=z.y,this._resolveAnimations().update(this,Ke))}}_willRender(){return!!this.opacity}draw(c){const p=this.options.setContext(this.getContext());let _=this.opacity;if(!_)return;this._updateAnimationTarget(p);const w={width:this.width,height:this.height},O={x:this.x,y:this.y};_=Math.abs(_)<.001?0:_;const z=Rs(p.padding);p.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(c.save(),c.globalAlpha=_,this.drawBackground(O,c,w,p),so(c,p.textDirection),O.y+=z.top,this.drawTitle(O,c,p),this.drawBody(O,c,p),this.drawFooter(O,c,p),Vs(c,p.textDirection),c.restore())}getActiveElements(){return this._active||[]}setActiveElements(c,p){const _=this._active,w=c.map(({datasetIndex:Q,index:ce})=>{const we=this.chart.getDatasetMeta(Q);if(!we)throw new Error("Cannot find a dataset at index "+Q);return{datasetIndex:Q,element:we.data[ce],index:ce}}),O=!cn(_,w),z=this._positionChanged(w,p);(O||z)&&(this._active=w,this._eventPosition=p,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(c,p,_=!0){if(p&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const w=this.options,O=this._active||[],z=this._getActiveElements(c,O,p,_),Q=this._positionChanged(z,c),ce=p||!cn(z,O)||Q;return ce&&(this._active=z,(w.enabled||w.external)&&(this._eventPosition={x:c.x,y:c.y},this.update(!0,p))),ce}_getActiveElements(c,p,_,w){const O=this.options;if("mouseout"===c.type)return[];if(!w)return p.filter(Q=>this.chart.data.datasets[Q.datasetIndex]&&void 0!==this.chart.getDatasetMeta(Q.datasetIndex).controller.getParsed(Q.index));const z=this.chart.getElementsAtEventForMode(c,O.mode,O,_);return O.reverse&&z.reverse(),z}_positionChanged(c,p){const{caretX:_,caretY:w,options:O}=this,z=Me[O.position].call(this,c,p);return!1!==z&&(_!==z.x||w!==z.y)}})();var kl={id:"tooltip",_element:ul,positioners:Me,afterInit(u,d,c){c&&(u.tooltip=new ul({chart:u,options:c}))},beforeUpdate(u,d,c){u.tooltip&&u.tooltip.initialize(c)},reset(u,d,c){u.tooltip&&u.tooltip.initialize(c)},afterDraw(u){const d=u.tooltip;if(d&&d._willRender()){const c={tooltip:d};if(!1===u.notifyPlugins("beforeTooltipDraw",{...c,cancelable:!0}))return;d.draw(u.ctx),u.notifyPlugins("afterTooltipDraw",c)}},afterEvent(u,d){u.tooltip&&u.tooltip.handleEvent(d.event,d.replay,d.inChartArea)&&(d.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(u,d)=>d.bodyFont.size,boxWidth:(u,d)=>d.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Lo},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:u=>"filter"!==u&&"itemSort"!==u&&"external"!==u,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},bo=Object.freeze({__proto__:null,Colors:Fd,Decimation:Yd,Filler:og,Legend:hp,SubTitle:dg,Title:ug,Tooltip:kl});function ua(u){const d=this.getLabels();return u>=0&&uclass u extends _o{static id="category";static defaults={ticks:{callback:ua}};constructor(c){super(c),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(c){const p=this._addedLabels;if(p.length){const _=this.getLabels();for(const{index:w,label:O}of p)_[w]===O&&_.splice(w,1);this._addedLabels=[]}super.init(c)}parse(c,p){if(Bn(c))return null;const _=this.getLabels();return((u,d)=>null===u?null:Tn(Math.round(u),0,d))(p=isFinite(p)&&_[p]===c?p:function ca(u,d,c,p){const _=u.indexOf(d);return-1===_?((u,d,c,p)=>("string"==typeof d?(c=u.push(d)-1,p.unshift({index:c,label:d})):isNaN(d)&&(c=null),c))(u,d,c,p):_!==u.lastIndexOf(d)?c:_}(_,c,ve(p,c),this._addedLabels),_.length-1)}determineDataLimits(){const{minDefined:c,maxDefined:p}=this.getUserBounds();let{min:_,max:w}=this.getMinMax(!0);"ticks"===this.options.bounds&&(c||(_=0),p||(w=this.getLabels().length-1)),this.min=_,this.max=w}buildTicks(){const c=this.min,p=this.max,_=this.options.offset,w=[];let O=this.getLabels();O=0===c&&p===O.length-1?O:O.slice(c,p+1),this._valueRange=Math.max(O.length-(_?0:1),1),this._startValue=this.min-(_?.5:0);for(let z=c;z<=p;z++)w.push({value:z});return w}getLabelForValue(c){return ua.call(this,c)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(c){return"number"!=typeof c&&(c=this.parse(c)),null===c?NaN:this.getPixelForDecimal((c-this._startValue)/this._valueRange)}getPixelForTick(c){const p=this.ticks;return c<0||c>p.length-1?null:this.getPixelForValue(p[c].value)}getValueForPixel(c){return Math.round(this._startValue+this.getDecimalForPixel(c)*this._valueRange)}getBasePixel(){return this.bottom}})();function tc(u,d,{horizontal:c,minRotation:p}){const _=Xe(p),w=(c?Math.sin(_):Math.cos(_))||.001;return Math.min(d/w,.75*d*(""+u).length)}class Tc extends _o{constructor(d){super(d),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(d,c){return Bn(d)||("number"==typeof d||d instanceof Number)&&!isFinite(+d)?null:+d}handleTickRangeOptions(){const{beginAtZero:d}=this.options,{minDefined:c,maxDefined:p}=this.getUserBounds();let{min:_,max:w}=this;const O=Q=>_=c?_:Q,z=Q=>w=p?w:Q;if(d){const Q=Bt(_),ce=Bt(w);Q<0&&ce<0?z(0):Q>0&&ce>0&&O(0)}if(_===w){let Q=0===w?1:Math.abs(.05*w);z(w+Q),d||O(_-Q)}this.min=_,this.max=w}getTickLimit(){const d=this.options.ticks;let _,{maxTicksLimit:c,stepSize:p}=d;return p?(_=Math.ceil(this.max/p)-Math.floor(this.min/p)+1,_>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${p} would result generating up to ${_} ticks. Limiting to 1000.`),_=1e3)):(_=this.computeTickLimit(),c=c||11),c&&(_=Math.min(c,_)),_}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const d=this.options,c=d.ticks;let p=this.getTickLimit();p=Math.max(2,p);const O=function Zl(u,d){const c=[],{bounds:_,step:w,min:O,max:z,precision:Q,count:ce,maxTicks:we,maxDigits:Ke,includeBounds:_t}=u,Et=w||1,en=we-1,{min:an,max:gn}=d,Qn=!Bn(O),Jn=!Bn(z),Mi=!Bn(ce),Li=(gn-an)/(Ke+1);let Di,vr,Wi,Yr,gi=mi((gn-an)/en/Et)*Et;if(gi<1e-14&&!Qn&&!Jn)return[{value:an},{value:gn}];Yr=Math.ceil(gn/gi)-Math.floor(an/gi),Yr>en&&(gi=mi(Yr*gi/en/Et)*Et),Bn(Q)||(Di=Math.pow(10,Q),gi=Math.ceil(gi*Di)/Di),"ticks"===_?(vr=Math.floor(an/gi)*gi,Wi=Math.ceil(gn/gi)*gi):(vr=an,Wi=gn),Qn&&Jn&&w&&function Ur(u,d){const c=Math.round(u);return c-d<=u&&c+d>=u}((z-O)/w,gi/1e3)?(Yr=Math.round(Math.min((z-O)/gi,we)),gi=(z-O)/Yr,vr=O,Wi=z):Mi?(vr=Qn?O:vr,Wi=Jn?z:Wi,Yr=ce-1,gi=(Wi-vr)/Yr):(Yr=(Wi-vr)/gi,Yr=bn(Yr,Math.round(Yr),gi/1e3)?Math.round(Yr):Math.ceil(Yr));const Gs=Math.max(ge(gi),ge(vr));Di=Math.pow(10,Bn(Q)?Gs:Q),vr=Math.round(vr*Di)/Di,Wi=Math.round(Wi*Di)/Di;let to=0;for(Qn&&(_t&&vr!==O?(c.push({value:O}),vrz)break;c.push({value:lo})}return Jn&&_t&&Wi!==z?c.length&&bn(c[c.length-1].value,z,tc(z,Li,u))?c[c.length-1].value=z:c.push({value:z}):(!Jn||Wi===z)&&c.push({value:Wi}),c}({maxTicks:p,bounds:d.bounds,min:d.min,max:d.max,precision:c.precision,step:c.stepSize,count:c.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:c.minRotation||0,includeBounds:!1!==c.includeBounds},this._range||this);return"ticks"===d.bounds&&mn(O,this,"value"),d.reverse?(O.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),O}configure(){const d=this.ticks;let c=this.min,p=this.max;if(super.configure(),this.options.offset&&d.length){const _=(p-c)/Math.max(d.length-1,1)/2;c-=_,p+=_}this._startValue=c,this._endValue=p,this._valueRange=p-c}getLabelForValue(d){return Fo(d,this.chart.options.locale,this.options.ticks.format)}}const pc=u=>Math.floor(Rt(u)),oc=(u,d)=>Math.pow(10,pc(u)+d);function mc(u){return u/Math.pow(10,pc(u))==1}function Yc(u,d,c){const p=Math.pow(10,c),_=Math.floor(u/p);return Math.ceil(d/p)-_}function jd(u){const d=u.ticks;if(d.display&&u.display){const c=Rs(d.backdropPadding);return ve(d.font&&d.font.size,br.font.size)+c.height}return 0}function zd(u,d,c){return c=xi(c)?c:[c],{w:gl(u,d.string,c),h:c.length*d.lineHeight}}function Ku(u,d,c,p,_){return u===p||u===_?{start:d-c/2,end:d+c/2}:u_?{start:d-c,end:d}:{start:d,end:d+c}}function pu(u,d,c,p,_){const w=Math.abs(Math.sin(c)),O=Math.abs(Math.cos(c));let z=0,Q=0;p.startd.r&&(z=(p.end-d.r)/w,u.r=Math.max(u.r,d.r+z)),_.startd.b&&(Q=(_.end-d.b)/O,u.b=Math.max(u.b,d.b+Q))}function Mu(u,d,c){const p=u.drawingArea,{extra:_,additionalAngle:w,padding:O,size:z}=c,Q=u.getPointPosition(d,p+_+O,w),ce=Math.round(ke(Kt(Q.angle+Sr))),we=function Vd(u,d,c){return 90===c||270===c?u-=d/2:(c>270||c<90)&&(u-=d),u}(Q.y,z.h,ce),Ke=function pf(u){return 0===u||180===u?"center":u<180?"left":"right"}(ce),_t=function hg(u,d,c){return"right"===c?u-=d:"center"===c&&(u-=d/2),u}(Q.x,z.w,Ke);return{visible:!0,x:Q.x,y:we,textAlign:Ke,left:_t,top:we,right:_t+z.w,bottom:we+z.h}}function _d(u,d){if(!d)return!0;const{left:c,top:p,right:_,bottom:w}=u;return!(Fi({x:c,y:p},d)||Fi({x:c,y:w},d)||Fi({x:_,y:p},d)||Fi({x:_,y:w},d))}function Cd(u,d,c){const{left:p,top:_,right:w,bottom:O}=c,{backdropColor:z}=d;if(!Bn(z)){const Q=Us(d.borderRadius),ce=Rs(d.backdropPadding);u.fillStyle=z;const we=p-ce.left,Ke=_-ce.top,_t=w-p+ce.width,Et=O-_+ce.height;Object.values(Q).some(en=>0!==en)?(u.beginPath(),$o(u,{x:we,y:Ke,w:_t,h:Et,radius:Q}),u.fill()):u.fillRect(we,Ke,_t,Et)}}function mf(u,d,c,p){const{ctx:_}=u;if(c)_.arc(u.xCenter,u.yCenter,d,0,ln);else{let w=u.getPointPosition(0,d);_.moveTo(w.x,w.y);for(let O=1;O=d?c[p]:c[_]]=!0}}else u[d]=!0}function Zd(u,d,c){const p=[],_={},w=d.length;let O,z;for(O=0;O=0&&(d[Q].major=!0);return d}(u,p,_,c):p}let du=(()=>class u extends _o{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(c){super(c),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(c,p={}){const _=c.time||(c.time={}),w=this._adapter=new Ac__date(c.adapters.date);w.init(p),ki(_.displayFormats,w.formats()),this._parseOpts={parser:_.parser,round:_.round,isoWeekday:_.isoWeekday},super.init(c),this._normalized=p.normalized}parse(c,p){return void 0===c?null:uu(this,c)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const c=this.options,p=this._adapter,_=c.time.unit||"day";let{min:w,max:O,minDefined:z,maxDefined:Q}=this.getUserBounds();function ce(we){!z&&!isNaN(we.min)&&(w=Math.min(w,we.min)),!Q&&!isNaN(we.max)&&(O=Math.max(O,we.max))}(!z||!Q)&&(ce(this._getLabelBounds()),("ticks"!==c.bounds||"labels"!==c.ticks.source)&&ce(this.getMinMax(!1))),w=Mt(w)&&!isNaN(w)?w:+p.startOf(Date.now(),_),O=Mt(O)&&!isNaN(O)?O:+p.endOf(Date.now(),_)+1,this.min=Math.min(w,O-1),this.max=Math.max(w+1,O)}_getLabelBounds(){const c=this.getLabelTimestamps();let p=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;return c.length&&(p=c[0],_=c[c.length-1]),{min:p,max:_}}buildTicks(){const c=this.options,p=c.time,_=c.ticks,w="labels"===_.source?this.getLabelTimestamps():this._generate();"ticks"===c.bounds&&w.length&&(this.min=this._userMin||w[0],this.max=this._userMax||w[w.length-1]);const O=this.min,Q=function ss(u,d,c){let p=0,_=u.length;for(;p<_&&u[p]p&&u[_-1]>c;)_--;return p>0||_=Ca.indexOf(c);w--){const O=Ca[w];if(Qu[O].common&&u._adapter.diff(_,p,O)>=d-1)return O}return Ca[c?Ca.indexOf(c):0]}(this,Q.length,p.minUnit,this.min,this.max)),this._majorUnit=_.major.enabled&&"year"!==this._unit?function Ad(u){for(let d=Ca.indexOf(u)+1,c=Ca.length;d+c.value))}initOffsets(c=[]){let w,O,p=0,_=0;this.options.offset&&c.length&&(w=this.getDecimalForValue(c[0]),p=1===c.length?1-w:(this.getDecimalForValue(c[1])-w)/2,O=this.getDecimalForValue(c[c.length-1]),_=1===c.length?O:(O-this.getDecimalForValue(c[c.length-2]))/2);const z=c.length<3?.5:.25;p=Tn(p,0,z),_=Tn(_,0,z),this._offsets={start:p,end:_,factor:1/(p+1+_)}}_generate(){const c=this._adapter,p=this.min,_=this.max,w=this.options,O=w.time,z=O.unit||Xu(O.minUnit,p,_,this._getLabelCapacity(p)),Q=ve(w.ticks.stepSize,1),ce="week"===z&&O.isoWeekday,we=Ri(ce)||!0===ce,Ke={};let Et,en,_t=p;if(we&&(_t=+c.startOf(_t,"isoWeek",ce)),_t=+c.startOf(_t,we?"day":z),c.diff(_,p,z)>1e5*Q)throw new Error(p+" and "+_+" are too far apart with stepSize of "+Q+" "+z);const an="data"===w.ticks.source&&this.getDataTimestamps();for(Et=_t,en=0;Et<_;Et=+c.add(Et,Q,z),en++)Wc(Ke,Et,an);return(Et===_||"ticks"===w.bounds||1===en)&&Wc(Ke,Et,an),Object.keys(Ke).sort(Vc).map(gn=>+gn)}getLabelForValue(c){const _=this.options.time;return this._adapter.format(c,_.tooltipFormat?_.tooltipFormat:_.displayFormats.datetime)}format(c,p){return this._adapter.format(c,p||this.options.time.displayFormats[this._unit])}_tickFormatFunction(c,p,_,w){const O=this.options,z=O.ticks.callback;if(z)return Ye(z,[c,p,_],this);const Q=O.time.displayFormats,ce=this._unit,we=this._majorUnit,_t=we&&Q[we],Et=_[p];return this._adapter.format(c,w||(we&&_t&&Et&&Et.major?_t:ce&&Q[ce]))}generateTickLabels(c){let p,_,w;for(p=0,_=c.length;p<_;++p)w=c[p],w.label=this._tickFormatFunction(w.value,p,c)}getDecimalForValue(c){return null===c?NaN:(c-this.min)/(this.max-this.min)}getPixelForValue(c){const p=this._offsets,_=this.getDecimalForValue(c);return this.getPixelForDecimal((p.start+_)*p.factor)}getValueForPixel(c){const p=this._offsets,_=this.getDecimalForPixel(c)/p.factor-p.end;return this.min+_*(this.max-this.min)}_getLabelSize(c){const p=this.options.ticks,_=this.ctx.measureText(c).width,w=Xe(this.isHorizontal()?p.maxRotation:p.minRotation),O=Math.cos(w),z=Math.sin(w),Q=this._resolveTickFontOptions(0).size;return{w:_*O+Q*z,h:_*z+Q*O}}_getLabelCapacity(c){const p=this.options.time,_=p.displayFormats,w=_[p.unit]||_.millisecond,O=this._tickFormatFunction(c,0,Zd(this,[c],this._majorUnit),w),z=this._getLabelSize(O),Q=Math.floor(this.isHorizontal()?this.width/z.w:this.height/z.h)-1;return Q>0?Q:1}getDataTimestamps(){let p,_,c=this._cache.data||[];if(c.length)return c;const w=this.getMatchingVisibleMetas();if(this._normalized&&w.length)return this._cache.data=w[0].controller.getAllParsedValues(this);for(p=0,_=w.length;p<_;++p)c=c.concat(w[p].controller.getAllParsedValues(this));return this._cache.data=this.normalize(c)}getLabelTimestamps(){const c=this._cache.labels||[];let p,_;if(c.length)return c;const w=this.getLabels();for(p=0,_=w.length;p<_;++p)c.push(uu(this,w[p]));return this._cache.labels=this._normalized?c:this.normalize(c)}normalize(c){return jr(c.sort(Vc))}})();function Su(u,d,c){let w,O,z,Q,p=0,_=u.length-1;c?(d>=u[p].pos&&d<=u[_].pos&&({lo:p,hi:_}=yi(u,"pos",d)),({pos:w,time:z}=u[p]),({pos:O,time:Q}=u[_])):(d>=u[p].time&&d<=u[_].time&&({lo:p,hi:_}=yi(u,"time",d)),({time:w,pos:z}=u[p]),({time:O,pos:Q}=u[_]));const ce=O-w;return ce?z+(Q-z)*(d-w)/ce:z}var Um=Object.freeze({__proto__:null,CategoryScale:ec,LinearScale:class gc extends Tc{static id="linear";static defaults={ticks:{callback:_s.formatters.numeric}};determineDataLimits(){const{min:d,max:c}=this.getMinMax(!0);this.min=Mt(d)?d:0,this.max=Mt(c)?c:1,this.handleTickRangeOptions()}computeTickLimit(){const d=this.isHorizontal(),c=d?this.width:this.height,p=Xe(this.options.ticks.minRotation),_=(d?Math.sin(p):Math.cos(p))||.001,w=this._resolveTickFontOptions(0);return Math.ceil(c/Math.min(40,w.lineHeight/_))}getPixelForValue(d){return null===d?NaN:this.getPixelForDecimal((d-this._startValue)/this._valueRange)}getValueForPixel(d){return this._startValue+this.getDecimalForPixel(d)*this._valueRange}},LogarithmicScale:class bh extends _o{static id="logarithmic";static defaults={ticks:{callback:_s.formatters.logarithmic,major:{enabled:!0}}};constructor(d){super(d),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(d,c){const p=Tc.prototype.parse.apply(this,[d,c]);if(0!==p)return Mt(p)&&p>0?p:null;this._zero=!0}determineDataLimits(){const{min:d,max:c}=this.getMinMax(!0);this.min=Mt(d)?Math.max(0,d):null,this.max=Mt(c)?Math.max(0,c):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Mt(this._userMin)&&(this.min=d===oc(this.min,0)?oc(this.min,-1):oc(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:d,maxDefined:c}=this.getUserBounds();let p=this.min,_=this.max;const w=z=>p=d?p:z,O=z=>_=c?_:z;p===_&&(p<=0?(w(1),O(10)):(w(oc(p,-1)),O(oc(_,1)))),p<=0&&w(oc(_,-1)),_<=0&&O(oc(p,1)),this.min=p,this.max=_}buildTicks(){const d=this.options,p=function $u(u,{min:d,max:c}){d=Ot(u.min,d);const p=[],_=pc(d);let w=function Gu(u,d){let p=pc(d-u);for(;Yc(u,d,p)>10;)p++;for(;Yc(u,d,p)<10;)p--;return Math.min(p,pc(u))}(d,c),O=w<0?Math.pow(10,Math.abs(w)):1;const z=Math.pow(10,w),Q=_>w?Math.pow(10,_):0,ce=Math.round((d-Q)*O)/O,we=Math.floor((d-Q)/z/10)*z*10;let Ke=Math.floor((ce-we)/Math.pow(10,w)),_t=Ot(u.min,Math.round((Q+we+Ke*Math.pow(10,w))*O)/O);for(;_t=10?Ke=Ke<15?15:20:Ke++,Ke>=20&&(w++,Ke=2,O=w>=0?1:O),_t=Math.round((Q+we+Ke*Math.pow(10,w))*O)/O;const Et=Ot(u.max,_t);return p.push({value:Et,major:mc(Et),significand:Ke}),p}({min:this._userMin,max:this._userMax},this);return"ticks"===d.bounds&&mn(p,this,"value"),d.reverse?(p.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),p}getLabelForValue(d){return void 0===d?"0":Fo(d,this.chart.options.locale,this.options.ticks.format)}configure(){const d=this.min;super.configure(),this._startValue=Rt(d),this._valueRange=Rt(this.max)-Rt(d)}getPixelForValue(d){return(void 0===d||0===d)&&(d=this.min),null===d||isNaN(d)?NaN:this.getPixelForDecimal(d===this.min?0:(Rt(d)-this._startValue)/this._valueRange)}getValueForPixel(d){const c=this.getDecimalForPixel(d);return Math.pow(10,this._startValue+c*this._valueRange)}},RadialLinearScale:class gp extends Tc{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:_s.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:d=>d,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(d){super(d),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const d=this._padding=Rs(jd(this.options)/2),c=this.width=this.maxWidth-d.width,p=this.height=this.maxHeight-d.height;this.xCenter=Math.floor(this.left+c/2+d.left),this.yCenter=Math.floor(this.top+p/2+d.top),this.drawingArea=Math.floor(Math.min(c,p)/2)}determineDataLimits(){const{min:d,max:c}=this.getMinMax(!1);this.min=Mt(d)&&!isNaN(d)?d:0,this.max=Mt(c)&&!isNaN(c)?c:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/jd(this.options))}generateTickLabels(d){Tc.prototype.generateTickLabels.call(this,d),this._pointLabels=this.getLabels().map((c,p)=>{const _=Ye(this.options.pointLabels.callback,[c,p],this);return _||0===_?_:""}).filter((c,p)=>this.chart.getDataVisibility(p))}fit(){const d=this.options;d.display&&d.pointLabels.display?function Ju(u){const d={l:u.left+u._padding.left,r:u.right-u._padding.right,t:u.top+u._padding.top,b:u.bottom-u._padding.bottom},c=Object.assign({},d),p=[],_=[],w=u._pointLabels.length,O=u.options.pointLabels,z=O.centerPointLabels?Pt/w:0;for(let Q=0;Q=0&&d=0;_--){const w=u._pointLabelItems[_];if(!w.visible)continue;const O=p.setContext(u.getPointLabelContext(_));Cd(c,O,w);const z=Mr(O.font),{x:Q,y:ce,textAlign:we}=w;os(c,u._pointLabels[_],Q,ce+z.lineHeight/2,z,{color:O.color,textAlign:we,textBaseline:"middle"})}}(this,O),_.display&&this.ticks.forEach((we,Ke)=>{if(0!==Ke||0===Ke&&this.min<0){Q=this.getDistanceFromCenterForValue(we.value);const _t=this.getContext(Ke),Et=_.setContext(_t),en=w.setContext(_t);!function Wd(u,d,c,p,_){const w=u.ctx,O=d.circular,{color:z,lineWidth:Q}=d;!O&&!p||!z||!Q||c<0||(w.save(),w.strokeStyle=z,w.lineWidth=Q,w.setLineDash(_.dash),w.lineDashOffset=_.dashOffset,w.beginPath(),mf(u,c,O,p),w.closePath(),w.stroke(),w.restore())}(this,Et,Q,O,en)}}),p.display){for(d.save(),z=O-1;z>=0;z--){const we=p.setContext(this.getPointLabelContext(z)),{color:Ke,lineWidth:_t}=we;!_t||!Ke||(d.lineWidth=_t,d.strokeStyle=Ke,d.setLineDash(we.borderDash),d.lineDashOffset=we.borderDashOffset,Q=this.getDistanceFromCenterForValue(c.ticks.reverse?this.min:this.max),ce=this.getPointPosition(z,Q),d.beginPath(),d.moveTo(this.xCenter,this.yCenter),d.lineTo(ce.x,ce.y),d.stroke())}d.restore()}}drawBorder(){}drawLabels(){const d=this.ctx,c=this.options,p=c.ticks;if(!p.display)return;const _=this.getIndexAngle(0);let w,O;d.save(),d.translate(this.xCenter,this.yCenter),d.rotate(_),d.textAlign="center",d.textBaseline="middle",this.ticks.forEach((z,Q)=>{if(0===Q&&this.min>=0&&!c.reverse)return;const ce=p.setContext(this.getContext(Q)),we=Mr(ce.font);if(w=this.getDistanceFromCenterForValue(this.ticks[Q].value),ce.showLabelBackdrop){d.font=we.string,O=d.measureText(z.label).width,d.fillStyle=ce.backdropColor;const Ke=Rs(ce.backdropPadding);d.fillRect(-O/2-Ke.left,-w-we.size/2-Ke.top,O+Ke.width,we.size+Ke.height)}os(d,z.label,0,-w,we,{color:ce.color,strokeColor:ce.textStrokeColor,strokeWidth:ce.textStrokeWidth})}),d.restore()}drawTitle(){}},TimeScale:du,TimeSeriesScale:class Bm extends du{static id="timeseries";static defaults=du.defaults;constructor(d){super(d),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const d=this._getTimestampsForTable(),c=this._table=this.buildLookupTable(d);this._minPos=Su(c,this.min),this._tableRange=Su(c,this.max)-this._minPos,super.initOffsets(d)}buildLookupTable(d){const{min:c,max:p}=this,_=[],w=[];let O,z,Q,ce,we;for(O=0,z=d.length;O=c&&ce<=p&&_.push(ce);if(_.length<2)return[{time:c,pos:0},{time:p,pos:1}];for(O=0,z=_.length;O_-w)}_getTimestampsForTable(){let d=this._cache.all||[];if(d.length)return d;const c=this.getDataTimestamps(),p=this.getLabelTimestamps();return d=c.length&&p.length?this.normalize(c.concat(p)):c.length?c:p,d=this._cache.all=d,d}getDecimalForValue(d){return(Su(this._table,d)-this._minPos)/this._tableRange}getValueForPixel(d){const c=this._offsets,p=this.getDecimalForPixel(d)/c.factor-c.end;return Su(this._table,p*this._tableRange+this._minPos,!0)}}});const fg=[cr,Xf,bo,Um],Gd=function y0(u,d){return u===d||u!=u&&d!=d},pg=function gg(u,d){for(var c=u.length;c--;)if(Gd(u[c][0],d))return c;return-1};var mg=Array.prototype.splice;function hu(u){var d=-1,c=null==u?0:u.length;for(this.clear();++d-1},hu.prototype.set=function Cf(u,d){var c=this.__data__,p=pg(c,u);return p<0?(++this.size,c.push([u,d])):c[p][1]=d,this};const $d=hu,Vm="object"==typeof global&&global&&global.Object===Object&&global;var qu="object"==typeof self&&self&&self.Object===Object&&self;const wh=Vm||qu||Function("return this")();var k0=wh.Symbol,Wm=Object.prototype,yv=Wm.hasOwnProperty,O0=Wm.toString,Mh=k0?k0.toStringTag:void 0;var N0=Object.prototype.toString;var Ig=k0?k0.toStringTag:void 0;const pp=function yg(u){return null==u?void 0===u?"[object Undefined]":"[object Null]":Ig&&Ig in Object(u)?function L0(u){var d=yv.call(u,Mh),c=u[Mh];try{u[Mh]=void 0;var p=!0}catch{}var _=O0.call(u);return p&&(d?u[Mh]=c:delete u[Mh]),_}(u):function Ag(u){return N0.call(u)}(u)},Dh=function bv(u){var d=typeof u;return null!=u&&("object"==d||"function"==d)},Cp=function Gm(u){if(!Dh(u))return!1;var d=pp(u);return"[object Function]"==d||"[object GeneratorFunction]"==d||"[object AsyncFunction]"==d||"[object Proxy]"==d};var u,F0=wh["__core-js_shared__"],$m=(u=/[^.]+$/.exec(F0&&F0.keys&&F0.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";var Ap=Function.prototype.toString;var Qm=/^\[object .+?Constructor\]$/,U0=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const bp=function Sh(u){return!(!Dh(u)||function Km(u){return!!$m&&$m in u}(u))&&(Cp(u)?U0:Qm).test(function Y0(u){if(null!=u){try{return Ap.call(u)}catch{}try{return u+""}catch{}}return""}(u))},Qd=function kh(u,d){var c=function H0(u,d){return u?.[d]}(u,d);return bp(c)?c:void 0},xp=Qd(wh,"Map"),Xd=Qd(Object,"create");var z0=Object.prototype.hasOwnProperty;var qd=Object.prototype.hasOwnProperty;function ku(u){var d=-1,c=null==u?0:u.length;for(this.clear();++d-1&&u%1==0&&u<=9007199254740991},Wp=function g_(u){return null!=u&&Vp(u.length)&&!Cp(u)};var m_="object"==typeof exports&&exports&&!exports.nodeType&&exports,dC=m_&&"object"==typeof module&&module&&!module.nodeType&&module,Sg=dC&&dC.exports===m_?wh.Buffer:void 0;const hC=(Sg?Sg.isBuffer:void 0)||function Bh(){return!1};var C_=Function.prototype.toString,fC=Object.prototype.hasOwnProperty,Gp=C_.call(Object);var el={};el["[object Float32Array]"]=el["[object Float64Array]"]=el["[object Int8Array]"]=el["[object Int16Array]"]=el["[object Int32Array]"]=el["[object Uint8Array]"]=el["[object Uint8ClampedArray]"]=el["[object Uint16Array]"]=el["[object Uint32Array]"]=!0,el["[object Arguments]"]=el["[object Array]"]=el["[object ArrayBuffer]"]=el["[object Boolean]"]=el["[object DataView]"]=el["[object Date]"]=el["[object Error]"]=el["[object Function]"]=el["[object Map]"]=el["[object Number]"]=el["[object Object]"]=el["[object RegExp]"]=el["[object Set]"]=el["[object String]"]=el["[object WeakMap]"]=!1;var qp="object"==typeof exports&&exports&&!exports.nodeType&&exports,Of=qp&&"object"==typeof module&&module&&!module.nodeType&&module,em=Of&&Of.exports===qp&&Vm.process,tm=function(){try{return Of&&Of.require&&Of.require("util").types||em&&em.binding&&em.binding("util")}catch{}}(),vC=tm&&tm.isTypedArray;const IC=vC?function Fg(u){return function(d){return u(d)}}(vC):function Qp(u){return Fh(u)&&Vp(u.length)&&!!el[pp(u)]},Yg=function Pv(u,d){if(("constructor"!==d||"function"!=typeof u[d])&&"__proto__"!=d)return u[d]};var Rv=Object.prototype.hasOwnProperty;const x_=function Bg(u,d,c){var p=u[d];(!Rv.call(u,d)||!Gd(p,c)||void 0===c&&!(d in u))&&nd(u,d,c)};var M_=/^(?:0|[1-9]\d*)$/;const th=function D_(u,d){var c=typeof u;return!!(d=d??9007199254740991)&&("number"==c||"symbol"!=c&&M_.test(u))&&u>-1&&u%1==0&&u0){if(++d>=800)return arguments[0]}else d=0;return u.apply(void 0,arguments)}}(OC);const YC=FC,BC=function cm(u,d){return YC(function DC(u,d,c){return d=F_(void 0===d?u.length-1:d,0),function(){for(var p=arguments,_=-1,w=F_(p.length-d,0),O=Array(w);++_1?c[_-1]:void 0,O=_>2?c[2]:void 0;for(w=u.length>3&&"function"==typeof w?(_--,w):void 0,O&&function UC(u,d,c){if(!Dh(c))return!1;var p=typeof d;return!!("number"==p?Wp(c)&&th(d,c.length):"string"==p&&d in c)&&Gd(c[d],u)}(c[0],c[1],O)&&(w=_<3?void 0:w,_=1),d=Object(d);++p<_;){var z=c[p];z&&u(d,z,p,w)}return d})}(function(u,d,c){wC(u,d,c)});const um=Pu,VC=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]],B_={plugins:{colors:{enabled:!1}},datasets:{line:{backgroundColor:u=>sd(Td(u.datasetIndex),.4),borderColor:u=>sd(Td(u.datasetIndex),1),pointBackgroundColor:u=>sd(Td(u.datasetIndex),1),pointBorderColor:"#fff"},bar:{backgroundColor:u=>sd(Td(u.datasetIndex),.6),borderColor:u=>sd(Td(u.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:u=>sd(Td(u.dataIndex),.6),borderColor:"#fff"},get pie(){return this.doughnut},polarArea:{backgroundColor:u=>sd(Td(u.dataIndex),.6),borderColor:u=>sd(Td(u.dataIndex),1)},get bubble(){return this.doughnut},get scatter(){return this.doughnut},get area(){return this.polarArea}}};function sd(u,d){return"rgba("+u.concat(d).join(",")+")"}function Vh(u,d){return Math.floor(Math.random()*(d-u+1))+u}function Td(u=0){return VC[u]||function dm(){return[Vh(0,255),Vh(0,255),Vh(0,255)]}()}let hm=(()=>{class u{constructor(){this.generateColors=!0}static#e=this.\u0275fac=function(p){return new(p||u)};static#t=this.\u0275prov=i.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();cu.register(...fg);let U_=(()=>{class u{constructor(c){c?.plugins&&cu.register(...c.plugins);const p=um(c?.generateColors?B_:{},c?.defaults||{});br.set(p)}static forRoot(c){return{ngModule:u,providers:[{provide:hm,useValue:c}]}}static#e=this.\u0275fac=function(p){return new(p||u)(i.LFG(hm,8))};static#t=this.\u0275mod=i.oAB({type:u});static#n=this.\u0275inj=i.cJS({})}return u})()},4575:(lt,_e,m)=>{"use strict";m.d(_e,{Q4:()=>Ee,c8:()=>gt,jk:()=>oe,mv:()=>Ge,s1:()=>ye});var i=m(755);const t=["move","copy","link"],A="application/x-dnd",a="application/json",y="Text";function C(Ze){return Ze.substr(0,A.length)===A}function b(Ze){if(Ze.dataTransfer){const Je=Ze.dataTransfer.types;if(!Je)return y;for(let tt=0;tt{class Ze{dndDraggable;dndEffectAllowed="copy";dndType;dndDraggingClass="dndDragging";dndDraggingSourceClass="dndDraggingSource";dndDraggableDisabledClass="dndDraggableDisabled";dndDragImageOffsetFunction=k;dndStart=new i.vpe;dndDrag=new i.vpe;dndEnd=new i.vpe;dndMoved=new i.vpe;dndCopied=new i.vpe;dndLinked=new i.vpe;dndCanceled=new i.vpe;draggable=!0;dndHandle;dndDragImageElementRef;dragImage;isDragStarted=!1;elementRef=(0,i.f3M)(i.SBq);renderer=(0,i.f3M)(i.Qsj);ngZone=(0,i.f3M)(i.R0b);set dndDisableIf(tt){this.draggable=!tt,this.draggable?this.renderer.removeClass(this.elementRef.nativeElement,this.dndDraggableDisabledClass):this.renderer.addClass(this.elementRef.nativeElement,this.dndDraggableDisabledClass)}set dndDisableDragIf(tt){this.dndDisableIf=tt}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{this.elementRef.nativeElement.addEventListener("drag",this.dragEventHandler)})}ngOnDestroy(){this.elementRef.nativeElement.removeEventListener("drag",this.dragEventHandler),this.isDragStarted&&Oe()}onDragStart(tt){if(!this.draggable)return!1;if(null!=this.dndHandle&&null==tt._dndUsingHandle)return tt.stopPropagation(),!1;(function me(Ze,Je,tt){X.isDragging=!0,X.dropEffect="none",X.effectAllowed=Je,X.type=tt,Ze.dataTransfer&&(Ze.dataTransfer.effectAllowed=Je)})(tt,this.dndEffectAllowed,this.dndType),this.isDragStarted=!0,function F(Ze,Je,tt){const Qe=A+(Je.type?"-"+Je.type:""),pt=JSON.stringify(Je);try{Ze.dataTransfer?.setData(Qe,pt)}catch{try{Ze.dataTransfer?.setData(a,pt)}catch{const nt=N(t,tt);Ze.dataTransfer&&(Ze.dataTransfer.effectAllowed=nt[0]),Ze.dataTransfer?.setData(y,pt)}}}(tt,{data:this.dndDraggable,type:this.dndType},J.effectAllowed),this.dragImage=this.determineDragImage(),this.renderer.addClass(this.dragImage,this.dndDraggingClass),(null!=this.dndDragImageElementRef||null!=tt._dndUsingHandle)&&function P(Ze,Je,tt){const Qe=tt(Ze,Je)||{x:0,y:0};Ze.dataTransfer.setDragImage(Je,Qe.x,Qe.y)}(tt,this.dragImage,this.dndDragImageOffsetFunction);const Qe=this.renderer.listen(this.elementRef.nativeElement,"drag",()=>{this.renderer.addClass(this.elementRef.nativeElement,this.dndDraggingSourceClass),Qe()});return this.dndStart.emit(tt),tt.stopPropagation(),setTimeout(()=>{this.renderer.setStyle(this.dragImage,"pointer-events","none")},100),!0}onDrag(tt){this.dndDrag.emit(tt)}onDragEnd(tt){if(!this.draggable||!this.isDragStarted)return;const Qe=J.dropEffect;let pt;switch(this.renderer.setStyle(this.dragImage,"pointer-events","unset"),Qe){case"copy":pt=this.dndCopied;break;case"link":pt=this.dndLinked;break;case"move":pt=this.dndMoved;break;default:pt=this.dndCanceled}pt.emit(tt),this.dndEnd.emit(tt),Oe(),this.isDragStarted=!1,this.renderer.removeClass(this.dragImage,this.dndDraggingClass),window.setTimeout(()=>{this.renderer.removeClass(this.elementRef.nativeElement,this.dndDraggingSourceClass)},0),tt.stopPropagation()}registerDragHandle(tt){this.dndHandle=tt}registerDragImage(tt){this.dndDragImageElementRef=tt}dragEventHandler=tt=>this.onDrag(tt);determineDragImage(){return typeof this.dndDragImageElementRef<"u"?this.dndDragImageElementRef.nativeElement:this.elementRef.nativeElement}static \u0275fac=function(Qe){return new(Qe||Ze)};static \u0275dir=i.lG2({type:Ze,selectors:[["","dndDraggable",""]],hostVars:1,hostBindings:function(Qe,pt){1&Qe&&i.NdJ("dragstart",function(Jt){return pt.onDragStart(Jt)})("dragend",function(Jt){return pt.onDragEnd(Jt)}),2&Qe&&i.uIk("draggable",pt.draggable)},inputs:{dndDraggable:"dndDraggable",dndEffectAllowed:"dndEffectAllowed",dndType:"dndType",dndDraggingClass:"dndDraggingClass",dndDraggingSourceClass:"dndDraggingSourceClass",dndDraggableDisabledClass:"dndDraggableDisabledClass",dndDragImageOffsetFunction:"dndDragImageOffsetFunction",dndDisableIf:"dndDisableIf",dndDisableDragIf:"dndDisableDragIf"},outputs:{dndStart:"dndStart",dndDrag:"dndDrag",dndEnd:"dndEnd",dndMoved:"dndMoved",dndCopied:"dndCopied",dndLinked:"dndLinked",dndCanceled:"dndCanceled"},standalone:!0})}return Ze})(),ye=(()=>{class Ze{elementRef;constructor(tt){this.elementRef=tt}ngOnInit(){this.elementRef.nativeElement.style.pointerEvents="none"}static \u0275fac=function(Qe){return new(Qe||Ze)(i.Y36(i.SBq))};static \u0275dir=i.lG2({type:Ze,selectors:[["","dndPlaceholderRef",""]],standalone:!0})}return Ze})(),Ee=(()=>{class Ze{ngZone;elementRef;renderer;dndDropzone="";dndEffectAllowed="uninitialized";dndAllowExternal=!1;dndHorizontal=!1;dndDragoverClass="dndDragover";dndDropzoneDisabledClass="dndDropzoneDisabled";dndDragover=new i.vpe;dndDrop=new i.vpe;dndPlaceholderRef;placeholder=null;disabled=!1;constructor(tt,Qe,pt){this.ngZone=tt,this.elementRef=Qe,this.renderer=pt}set dndDisableIf(tt){this.disabled=tt,this.disabled?this.renderer.addClass(this.elementRef.nativeElement,this.dndDropzoneDisabledClass):this.renderer.removeClass(this.elementRef.nativeElement,this.dndDropzoneDisabledClass)}set dndDisableDropIf(tt){this.dndDisableIf=tt}ngAfterViewInit(){this.placeholder=this.tryGetPlaceholder(),this.removePlaceholderFromDOM(),this.ngZone.runOutsideAngular(()=>{this.elementRef.nativeElement.addEventListener("dragenter",this.dragEnterEventHandler),this.elementRef.nativeElement.addEventListener("dragover",this.dragOverEventHandler),this.elementRef.nativeElement.addEventListener("dragleave",this.dragLeaveEventHandler)})}ngOnDestroy(){this.elementRef.nativeElement.removeEventListener("dragenter",this.dragEnterEventHandler),this.elementRef.nativeElement.removeEventListener("dragover",this.dragOverEventHandler),this.elementRef.nativeElement.removeEventListener("dragleave",this.dragLeaveEventHandler)}onDragEnter(tt){if(!0===tt._dndDropzoneActive)return void this.cleanupDragoverState();if(null==tt._dndDropzoneActive){const pt=document.elementFromPoint(tt.clientX,tt.clientY);this.elementRef.nativeElement.contains(pt)&&(tt._dndDropzoneActive=!0)}const Qe=K(tt);this.isDropAllowed(Qe)&&tt.preventDefault()}onDragOver(tt){if(tt.defaultPrevented)return;const Qe=K(tt);if(!this.isDropAllowed(Qe))return;this.checkAndUpdatePlaceholderPosition(tt);const pt=wt(tt,this.dndEffectAllowed);"none"!==pt?(tt.preventDefault(),Se(tt,pt),this.dndDragover.emit(tt),this.renderer.addClass(this.elementRef.nativeElement,this.dndDragoverClass)):this.cleanupDragoverState()}onDrop(tt){try{const Qe=K(tt);if(!this.isDropAllowed(Qe))return;const pt=function j(Ze,Je){const tt=b(Ze);return!0===Je?null!==tt&&C(tt)?JSON.parse(Ze.dataTransfer?.getData(tt)??"{}"):{}:null!==tt?JSON.parse(Ze.dataTransfer?.getData(tt)??"{}"):{}}(tt,V());if(!this.isDropAllowed(pt.type))return;tt.preventDefault();const Nt=wt(tt);if(Se(tt,Nt),"none"===Nt)return;const Jt=this.getPlaceholderIndex();if(-1===Jt)return;this.dndDrop.emit({event:tt,dropEffect:Nt,isExternal:V(),data:pt.data,index:Jt,type:Qe}),tt.stopPropagation()}finally{this.cleanupDragoverState()}}onDragLeave(tt){tt.preventDefault(),tt.stopPropagation(),null==tt._dndDropzoneActive&&this.elementRef.nativeElement.contains(tt.relatedTarget)?tt._dndDropzoneActive=!0:(this.cleanupDragoverState(),Se(tt,"none"))}dragEnterEventHandler=tt=>this.onDragEnter(tt);dragOverEventHandler=tt=>this.onDragOver(tt);dragLeaveEventHandler=tt=>this.onDragLeave(tt);isDropAllowed(tt){if(this.disabled||V()&&!this.dndAllowExternal)return!1;if(!this.dndDropzone||!tt)return!0;if(!Array.isArray(this.dndDropzone))throw new Error("dndDropzone: bound value to [dndDropzone] must be an array!");return-1!==this.dndDropzone.indexOf(tt)}tryGetPlaceholder(){return typeof this.dndPlaceholderRef<"u"?this.dndPlaceholderRef.elementRef.nativeElement:this.elementRef.nativeElement.querySelector("[dndPlaceholderRef]")}removePlaceholderFromDOM(){null!==this.placeholder&&null!==this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder)}checkAndUpdatePlaceholderPosition(tt){if(null===this.placeholder)return;this.placeholder.parentNode!==this.elementRef.nativeElement&&this.renderer.appendChild(this.elementRef.nativeElement,this.placeholder);const Qe=function x(Ze,Je){let tt=Je;for(;tt.parentNode!==Ze;){if(!tt.parentNode)return null;tt=tt.parentNode}return tt}(this.elementRef.nativeElement,tt.target);null!==Qe&&Qe!==this.placeholder&&(function H(Ze,Je,tt){const Qe=Je.getBoundingClientRect();return tt?Ze.clientX{class Ze{draggable=!0;dndDraggableDirective=(0,i.f3M)(oe);ngOnInit(){this.dndDraggableDirective.registerDragHandle(this)}onDragEvent(tt){tt._dndUsingHandle=!0}static \u0275fac=function(Qe){return new(Qe||Ze)};static \u0275dir=i.lG2({type:Ze,selectors:[["","dndHandle",""]],hostVars:1,hostBindings:function(Qe,pt){1&Qe&&i.NdJ("dragstart",function(Jt){return pt.onDragEvent(Jt)})("dragend",function(Jt){return pt.onDragEvent(Jt)}),2&Qe&&i.uIk("draggable",pt.draggable)},standalone:!0})}return Ze})(),gt=(()=>{class Ze{static \u0275fac=function(Qe){return new(Qe||Ze)};static \u0275mod=i.oAB({type:Ze});static \u0275inj=i.cJS({})}return Ze})()},3409:(lt,_e,m)=>{"use strict";m.d(_e,{Ry:()=>Bn,Rq:()=>fi});var i=m(755),t=m(1209),A=m(409),a=m(9342),y=m(2425),C=m(1570),b=m(5333),F=m(8634),j=m(6142),N=m(134),x=m(6974),k=m(1925);function me(Mt,Ot,ve,De){const xe=window&&!!window.document&&window.document.documentElement;let Ye=xe&&Ot?window:ve;if(Mt&&(Ye=Mt&&xe&&"string"==typeof Mt?function Oe(Mt,Ot,ve){return(ve?window.document:Ot).querySelector(Mt)}(Mt,ve.nativeElement,De):Mt,!Ye))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return Ye}function Se(Mt){return Mt&&!Mt.firstChange}const K={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},V={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"};class J{constructor(Ot=!0){this.vertical=Ot,this.propsMap=Ot?K:V}clientHeightKey(){return this.propsMap.clientHeight}offsetHeightKey(){return this.propsMap.offsetHeight}scrollHeightKey(){return this.propsMap.scrollHeight}pageYOffsetKey(){return this.propsMap.pageYOffset}offsetTopKey(){return this.propsMap.offsetTop}scrollTopKey(){return this.propsMap.scrollTop}topKey(){return this.propsMap.top}}function Ee(Mt){return["Window","global"].some(ve=>Object.prototype.toString.call(Mt).includes(ve))}function Ge(Mt,Ot){return Mt?Ot.document.documentElement:null}function gt(Mt,Ot){const ve=function Qe({container:Mt,isWindow:Ot,axis:ve}){const{offsetHeightKey:De,clientHeightKey:xe}=tt(ve);return pt(Mt,Ot,De,xe)}(Ot);return Ot.isWindow?function Ze(Mt,Ot,ve){const{axis:De,container:xe,isWindow:Ye}=ve,{offsetHeightKey:xt,clientHeightKey:cn}=tt(De),Kn=Mt+Jt(Ge(Ye,xe),De,Ye),An=pt(Ot.nativeElement,Ye,xt,cn),gs=function Nt(Mt,Ot,ve){const De=Ot.topKey();if(Mt.getBoundingClientRect)return Mt.getBoundingClientRect()[De]+Jt(Mt,Ot,ve)}(Ot.nativeElement,De,Ye)+An;return{height:Mt,scrolled:Kn,totalToScroll:gs,isWindow:Ye}}(ve,Mt,Ot):function Je(Mt,Ot,ve){const{axis:De,container:xe}=ve;return{height:Mt,scrolled:xe[De.scrollTopKey()],totalToScroll:xe[De.scrollHeightKey()],isWindow:!1}}(ve,0,Ot)}function tt(Mt){return{offsetHeightKey:Mt.offsetHeightKey(),clientHeightKey:Mt.clientHeightKey()}}function pt(Mt,Ot,ve,De){if(isNaN(Mt[ve])){const xe=Ge(Ot,Mt);return xe?xe[De]:0}return Mt[ve]}function Jt(Mt,Ot,ve){const De=Ot.pageYOffsetKey(),xe=Ot.scrollTopKey(),Ye=Ot.offsetTopKey();return isNaN(window.pageYOffset)?Ge(ve,Mt)[xe]:Mt.ownerDocument?Mt.ownerDocument.defaultView[De]:Mt[Ye]}function nt(Mt,Ot={down:0,up:0},ve){let De,xe;if(Mt.totalToScroll<=0)return!1;const Ye=Mt.isWindow?Mt.scrolled:Mt.height+Mt.scrolled;return ve?(De=(Mt.totalToScroll-Ye)/Mt.totalToScroll,xe=(Ot?.down?Ot.down:0)/10):(De=Mt.scrolled/(Mt.scrolled+(Mt.totalToScroll-Ye)),xe=(Ot?.up?Ot.up:0)/10),De<=xe}class xn{constructor({totalToScroll:Ot}){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},this.totalToScroll=Ot}updateScrollPosition(Ot){return this.lastScrollPosition=Ot}updateTotalToScroll(Ot){this.lastTotalToScroll!==Ot&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=Ot)}updateScroll(Ot,ve){this.updateScrollPosition(Ot),this.updateTotalToScroll(ve)}updateTriggeredFlag(Ot,ve){ve?this.triggered.down=Ot:this.triggered.up=Ot}isTriggeredScroll(Ot,ve){return ve?this.triggered.down===Ot:this.triggered.up===Ot}}function In(Mt){const{scrollContainer:Ot,scrollWindow:ve,element:De,fromRoot:xe}=Mt,Ye=function oe({windowElement:Mt,axis:Ot}){return function ye(Mt,Ot){const ve=Mt.isWindow||Ot&&!Ot.nativeElement?Ot:Ot.nativeElement;return{...Mt,container:ve}}({axis:Ot,isWindow:Ee(Mt)},Mt)}({axis:new J(!Mt.horizontal),windowElement:me(Ot,ve,De,xe)}),xt=new xn({totalToScroll:gt(De,Ye)}),Kn={up:Mt.upDistance,down:Mt.downDistance};return function dn(Mt){let Ot=(0,A.R)(Mt.container,"scroll");return Mt.throttle&&(Ot=Ot.pipe(function P(Mt,Ot=F.z,ve){const De=(0,k.H)(Mt,Ot);return function H(Mt,Ot){return(0,j.e)((ve,De)=>{const{leading:xe=!0,trailing:Ye=!1}=Ot??{};let xt=!1,cn=null,Kn=null,An=!1;const gs=()=>{Kn?.unsubscribe(),Kn=null,Ye&&(ta(),An&&De.complete())},Qt=()=>{Kn=null,An&&De.complete()},ki=Pi=>Kn=(0,x.Xf)(Mt(Pi)).subscribe((0,N.x)(De,gs,Qt)),ta=()=>{if(xt){xt=!1;const Pi=cn;cn=null,De.next(Pi),!An&&ki(Pi)}};ve.subscribe((0,N.x)(De,Pi=>{xt=!0,cn=Pi,(!Kn||Kn.closed)&&(xe?ta():ki(Pi))},()=>{An=!0,(!(Ye&&xt&&Kn)||Kn.closed)&&De.complete()}))})}(()=>De,ve)}(Mt.throttle,void 0,{leading:!0,trailing:!0}))),Ot}({container:Ye.container,throttle:Mt.throttle}).pipe((0,a.z)(()=>(0,t.of)(gt(De,Ye))),(0,y.U)(An=>function qn(Mt,Ot,ve){const{scrollDown:De,fire:xe}=function Ct(Mt,Ot,ve){const De=function ot(Mt,Ot){return Mtxt.updateScroll(An.scrolled,An.totalToScroll)),(0,b.h)(({fire:An,scrollDown:gs,stats:{totalToScroll:Qt}})=>function ae(Mt,Ot,ve){return!!(Mt&&Ot||!ve&&Ot)}(Mt.alwaysCallback,An,xt.isTriggeredScroll(Qt,gs))),(0,C.b)(({scrollDown:An,stats:{totalToScroll:gs}})=>{xt.updateTriggeredFlag(gs,An)}),(0,y.U)(ir))}const di={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function ir(Mt){const{scrollDown:Ot,stats:{scrolled:ve}}=Mt;return{type:Ot?di.DOWN:di.UP,payload:{currentScrollPosition:ve}}}let Bn=(()=>{class Mt{constructor(ve,De){this.element=ve,this.zone=De,this.scrolled=new i.vpe,this.scrolledUp=new i.vpe,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:ve,infiniteScrollDisabled:De,infiniteScrollDistance:xe}){const Ye=Se(ve),xt=Se(De),cn=Se(xe),Kn=!xt&&!this.infiniteScrollDisabled||xt&&!De.currentValue||cn;(Ye||xt||cn)&&(this.destroyScroller(),Kn&&this.setup())}setup(){(function wt(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=In({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(ve=>this.handleOnScroll(ve))})}handleOnScroll({type:ve,payload:De}){const xe=ve===di.DOWN?this.scrolled:this.scrolledUp;(function xi(Mt){return Mt.observed??Mt.observers.length>0})(xe)&&this.zone.run(()=>xe.emit(De))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}static#e=this.\u0275fac=function(De){return new(De||Mt)(i.Y36(i.SBq),i.Y36(i.R0b))};static#t=this.\u0275dir=i.lG2({type:Mt,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[i.TTD]})}return Mt})(),fi=(()=>{class Mt{static#e=this.\u0275fac=function(De){return new(De||Mt)};static#t=this.\u0275mod=i.oAB({type:Mt});static#n=this.\u0275inj=i.cJS({})}return Mt})()},900:(lt,_e,m)=>{"use strict";m.d(_e,{lF:()=>bn,JP:()=>Ri,Zy:()=>Bt});var i=m(755),t=m(8748),A=m(5047),a=m(1209),y=m(1925),C=m(4787),b=m(7376),F=m(8004),j=m(9414),N=m(3843),x=m(2425),H=m(1749),P=(m(6121),m(6733));let me={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const Se=/[&<>"']/,wt=new RegExp(Se.source,"g"),K=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,V=new RegExp(K.source,"g"),J={"&":"&","<":"<",">":">",'"':""","'":"'"},ae=mn=>J[mn];function oe(mn,Xe){if(Xe){if(Se.test(mn))return mn.replace(wt,ae)}else if(K.test(mn))return mn.replace(V,ae);return mn}const ye=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Ee(mn){return mn.replace(ye,(Xe,ke)=>"colon"===(ke=ke.toLowerCase())?":":"#"===ke.charAt(0)?"x"===ke.charAt(1)?String.fromCharCode(parseInt(ke.substring(2),16)):String.fromCharCode(+ke.substring(1)):"")}const Ge=/(^|[^\[])\^/g;function gt(mn,Xe){mn="string"==typeof mn?mn:mn.source,Xe=Xe||"";const ke={replace:(ge,Ae)=>(Ae=(Ae=Ae.source||Ae).replace(Ge,"$1"),mn=mn.replace(ge,Ae),ke),getRegex:()=>new RegExp(mn,Xe)};return ke}const Ze=/[^\w:]/g,Je=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function tt(mn,Xe,ke){if(mn){let ge;try{ge=decodeURIComponent(Ee(ke)).replace(Ze,"").toLowerCase()}catch{return null}if(0===ge.indexOf("javascript:")||0===ge.indexOf("vbscript:")||0===ge.indexOf("data:"))return null}Xe&&!Je.test(ke)&&(ke=function nt(mn,Xe){Qe[" "+mn]||(Qe[" "+mn]=pt.test(mn)?mn+"/":He(mn,"/",!0));const ke=-1===(mn=Qe[" "+mn]).indexOf(":");return"//"===Xe.substring(0,2)?ke?Xe:mn.replace(Nt,"$1")+Xe:"/"===Xe.charAt(0)?ke?Xe:mn.replace(Jt,"$1")+Xe:mn+Xe}(Xe,ke));try{ke=encodeURI(ke).replace(/%25/g,"%")}catch{return null}return ke}const Qe={},pt=/^[^:]+:\/*[^/]*$/,Nt=/^([^:]+:)[\s\S]*$/,Jt=/^([^:]+:\/*[^/]*)[\s\S]*$/,ot={exec:function(){}};function Ct(mn,Xe){const ge=mn.replace(/\|/g,(it,Ht,Kt)=>{let yn=!1,Tn=Ht;for(;--Tn>=0&&"\\"===Kt[Tn];)yn=!yn;return yn?"|":" |"}).split(/ \|/);let Ae=0;if(ge[0].trim()||ge.shift(),ge.length>0&&!ge[ge.length-1].trim()&&ge.pop(),ge.length>Xe)ge.splice(Xe);else for(;ge.length1;)1&Xe&&(ke+=mn),Xe>>=1,mn+=mn;return ke+mn}function yt(mn,Xe,ke,ge){const Ae=Xe.href,it=Xe.title?oe(Xe.title):null,Ht=mn[1].replace(/\\([\[\]])/g,"$1");if("!"!==mn[0].charAt(0)){ge.state.inLink=!0;const Kt={type:"link",raw:ke,href:Ae,title:it,text:Ht,tokens:ge.inlineTokens(Ht)};return ge.state.inLink=!1,Kt}return{type:"image",raw:ke,href:Ae,title:it,text:oe(Ht)}}class xn{constructor(Xe){this.options=Xe||me}space(Xe){const ke=this.rules.block.newline.exec(Xe);if(ke&&ke[0].length>0)return{type:"space",raw:ke[0]}}code(Xe){const ke=this.rules.block.code.exec(Xe);if(ke){const ge=ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:ke[0],codeBlockStyle:"indented",text:this.options.pedantic?ge:He(ge,"\n")}}}fences(Xe){const ke=this.rules.block.fences.exec(Xe);if(ke){const ge=ke[0],Ae=function Fn(mn,Xe){const ke=mn.match(/^(\s+)(?:```)/);if(null===ke)return Xe;const ge=ke[1];return Xe.split("\n").map(Ae=>{const it=Ae.match(/^\s+/);if(null===it)return Ae;const[Ht]=it;return Ht.length>=ge.length?Ae.slice(ge.length):Ae}).join("\n")}(ge,ke[3]||"");return{type:"code",raw:ge,lang:ke[2]?ke[2].trim().replace(this.rules.inline._escapes,"$1"):ke[2],text:Ae}}}heading(Xe){const ke=this.rules.block.heading.exec(Xe);if(ke){let ge=ke[2].trim();if(/#$/.test(ge)){const Ae=He(ge,"#");(this.options.pedantic||!Ae||/ $/.test(Ae))&&(ge=Ae.trim())}return{type:"heading",raw:ke[0],depth:ke[1].length,text:ge,tokens:this.lexer.inline(ge)}}}hr(Xe){const ke=this.rules.block.hr.exec(Xe);if(ke)return{type:"hr",raw:ke[0]}}blockquote(Xe){const ke=this.rules.block.blockquote.exec(Xe);if(ke){const ge=ke[0].replace(/^ *>[ \t]?/gm,""),Ae=this.lexer.state.top;this.lexer.state.top=!0;const it=this.lexer.blockTokens(ge);return this.lexer.state.top=Ae,{type:"blockquote",raw:ke[0],tokens:it,text:ge}}}list(Xe){let ke=this.rules.block.list.exec(Xe);if(ke){let ge,Ae,it,Ht,Kt,yn,Tn,pi,nn,Ti,yi,Hr,ss=ke[1].trim();const wr=ss.length>1,Ki={type:"list",raw:"",ordered:wr,start:wr?+ss.slice(0,-1):"",loose:!1,items:[]};ss=wr?`\\d{1,9}\\${ss.slice(-1)}`:`\\${ss}`,this.options.pedantic&&(ss=wr?ss:"[*+-]");const yr=new RegExp(`^( {0,3}${ss})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;Xe&&(Hr=!1,(ke=yr.exec(Xe))&&!this.rules.block.hr.test(Xe));){if(ge=ke[0],Xe=Xe.substring(ge.length),pi=ke[2].split("\n",1)[0].replace(/^\t+/,xs=>" ".repeat(3*xs.length)),nn=Xe.split("\n",1)[0],this.options.pedantic?(Ht=2,yi=pi.trimLeft()):(Ht=ke[2].search(/[^ ]/),Ht=Ht>4?1:Ht,yi=pi.slice(Ht),Ht+=ke[1].length),yn=!1,!pi&&/^ *$/.test(nn)&&(ge+=nn+"\n",Xe=Xe.substring(nn.length+1),Hr=!0),!Hr){const xs=new RegExp(`^ {0,${Math.min(3,Ht-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),Co=new RegExp(`^ {0,${Math.min(3,Ht-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ns=new RegExp(`^ {0,${Math.min(3,Ht-1)}}(?:\`\`\`|~~~)`),Nr=new RegExp(`^ {0,${Math.min(3,Ht-1)}}#`);for(;Xe&&(Ti=Xe.split("\n",1)[0],nn=Ti,this.options.pedantic&&(nn=nn.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(ns.test(nn)||Nr.test(nn)||xs.test(nn)||Co.test(Xe)));){if(nn.search(/[^ ]/)>=Ht||!nn.trim())yi+="\n"+nn.slice(Ht);else{if(yn||pi.search(/[^ ]/)>=4||ns.test(pi)||Nr.test(pi)||Co.test(pi))break;yi+="\n"+nn}!yn&&!nn.trim()&&(yn=!0),ge+=Ti+"\n",Xe=Xe.substring(Ti.length+1),pi=nn.slice(Ht)}}Ki.loose||(Tn?Ki.loose=!0:/\n *\n *$/.test(ge)&&(Tn=!0)),this.options.gfm&&(Ae=/^\[[ xX]\] /.exec(yi),Ae&&(it="[ ] "!==Ae[0],yi=yi.replace(/^\[[ xX]\] +/,""))),Ki.items.push({type:"list_item",raw:ge,task:!!Ae,checked:it,loose:!1,text:yi}),Ki.raw+=ge}Ki.items[Ki.items.length-1].raw=ge.trimRight(),Ki.items[Ki.items.length-1].text=yi.trimRight(),Ki.raw=Ki.raw.trimRight();const jr=Ki.items.length;for(Kt=0;Kt"space"===ns.type),Co=xs.length>0&&xs.some(ns=>/\n.*\n/.test(ns.raw));Ki.loose=Co}if(Ki.loose)for(Kt=0;Kt$/,"$1").replace(this.rules.inline._escapes,"$1"):"",it=ke[3]?ke[3].substring(1,ke[3].length-1).replace(this.rules.inline._escapes,"$1"):ke[3];return{type:"def",tag:ge,raw:ke[0],href:Ae,title:it}}}table(Xe){const ke=this.rules.block.table.exec(Xe);if(ke){const ge={type:"table",header:Ct(ke[1]).map(Ae=>({text:Ae})),align:ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:ke[3]&&ke[3].trim()?ke[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(ge.header.length===ge.align.length){ge.raw=ke[0];let it,Ht,Kt,yn,Ae=ge.align.length;for(it=0;it({text:Tn}));for(Ae=ge.header.length,Ht=0;Ht/i.test(ke[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(ke[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(ke[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:ke[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ke[0]):oe(ke[0]):ke[0]}}link(Xe){const ke=this.rules.inline.link.exec(Xe);if(ke){const ge=ke[2].trim();if(!this.options.pedantic&&/^$/.test(ge))return;const Ht=He(ge.slice(0,-1),"\\");if((ge.length-Ht.length)%2==0)return}else{const Ht=function mt(mn,Xe){if(-1===mn.indexOf(Xe[1]))return-1;const ke=mn.length;let ge=0,Ae=0;for(;Ae-1){const yn=(0===ke[0].indexOf("!")?5:4)+ke[1].length+Ht;ke[2]=ke[2].substring(0,Ht),ke[0]=ke[0].substring(0,yn).trim(),ke[3]=""}}let Ae=ke[2],it="";if(this.options.pedantic){const Ht=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Ae);Ht&&(Ae=Ht[1],it=Ht[3])}else it=ke[3]?ke[3].slice(1,-1):"";return Ae=Ae.trim(),/^$/.test(ge)?Ae.slice(1):Ae.slice(1,-1)),yt(ke,{href:Ae&&Ae.replace(this.rules.inline._escapes,"$1"),title:it&&it.replace(this.rules.inline._escapes,"$1")},ke[0],this.lexer)}}reflink(Xe,ke){let ge;if((ge=this.rules.inline.reflink.exec(Xe))||(ge=this.rules.inline.nolink.exec(Xe))){let Ae=(ge[2]||ge[1]).replace(/\s+/g," ");if(Ae=ke[Ae.toLowerCase()],!Ae){const it=ge[0].charAt(0);return{type:"text",raw:it,text:it}}return yt(ge,Ae,ge[0],this.lexer)}}emStrong(Xe,ke,ge=""){let Ae=this.rules.inline.emStrong.lDelim.exec(Xe);if(!Ae||Ae[3]&&ge.match(/[\p{L}\p{N}]/u))return;const it=Ae[1]||Ae[2]||"";if(!it||it&&(""===ge||this.rules.inline.punctuation.exec(ge))){const Ht=Ae[0].length-1;let Kt,yn,Tn=Ht,pi=0;const nn="*"===Ae[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(nn.lastIndex=0,ke=ke.slice(-1*Xe.length+Ht);null!=(Ae=nn.exec(ke));){if(Kt=Ae[1]||Ae[2]||Ae[3]||Ae[4]||Ae[5]||Ae[6],!Kt)continue;if(yn=Kt.length,Ae[3]||Ae[4]){Tn+=yn;continue}if((Ae[5]||Ae[6])&&Ht%3&&!((Ht+yn)%3)){pi+=yn;continue}if(Tn-=yn,Tn>0)continue;yn=Math.min(yn,yn+Tn+pi);const Ti=Xe.slice(0,Ht+Ae.index+(Ae[0].length-Kt.length)+yn);if(Math.min(Ht,yn)%2){const Hr=Ti.slice(1,-1);return{type:"em",raw:Ti,text:Hr,tokens:this.lexer.inlineTokens(Hr)}}const yi=Ti.slice(2,-2);return{type:"strong",raw:Ti,text:yi,tokens:this.lexer.inlineTokens(yi)}}}}codespan(Xe){const ke=this.rules.inline.code.exec(Xe);if(ke){let ge=ke[2].replace(/\n/g," ");const Ae=/[^ ]/.test(ge),it=/^ /.test(ge)&&/ $/.test(ge);return Ae&&it&&(ge=ge.substring(1,ge.length-1)),ge=oe(ge,!0),{type:"codespan",raw:ke[0],text:ge}}}br(Xe){const ke=this.rules.inline.br.exec(Xe);if(ke)return{type:"br",raw:ke[0]}}del(Xe){const ke=this.rules.inline.del.exec(Xe);if(ke)return{type:"del",raw:ke[0],text:ke[2],tokens:this.lexer.inlineTokens(ke[2])}}autolink(Xe,ke){const ge=this.rules.inline.autolink.exec(Xe);if(ge){let Ae,it;return"@"===ge[2]?(Ae=oe(this.options.mangle?ke(ge[1]):ge[1]),it="mailto:"+Ae):(Ae=oe(ge[1]),it=Ae),{type:"link",raw:ge[0],text:Ae,href:it,tokens:[{type:"text",raw:Ae,text:Ae}]}}}url(Xe,ke){let ge;if(ge=this.rules.inline.url.exec(Xe)){let Ae,it;if("@"===ge[2])Ae=oe(this.options.mangle?ke(ge[0]):ge[0]),it="mailto:"+Ae;else{let Ht;do{Ht=ge[0],ge[0]=this.rules.inline._backpedal.exec(ge[0])[0]}while(Ht!==ge[0]);Ae=oe(ge[0]),it="www."===ge[1]?"http://"+ge[0]:ge[0]}return{type:"link",raw:ge[0],text:Ae,href:it,tokens:[{type:"text",raw:Ae,text:Ae}]}}}inlineText(Xe,ke){const ge=this.rules.inline.text.exec(Xe);if(ge){let Ae;return Ae=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ge[0]):oe(ge[0]):ge[0]:oe(this.options.smartypants?ke(ge[0]):ge[0]),{type:"text",raw:ge[0],text:Ae}}}}const In={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ot,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};In.def=gt(In.def).replace("label",In._label).replace("title",In._title).getRegex(),In.bullet=/(?:[*+-]|\d{1,9}[.)])/,In.listItemStart=gt(/^( *)(bull) */).replace("bull",In.bullet).getRegex(),In.list=gt(In.list).replace(/bull/g,In.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+In.def.source+")").getRegex(),In._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",In._comment=/|$)/,In.html=gt(In.html,"i").replace("comment",In._comment).replace("tag",In._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),In.paragraph=gt(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.blockquote=gt(In.blockquote).replace("paragraph",In.paragraph).getRegex(),In.normal={...In},In.gfm={...In.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},In.gfm.table=gt(In.gfm.table).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.gfm.paragraph=gt(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",In.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.pedantic={...In.normal,html:gt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",In._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ot,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:gt(In.normal._paragraph).replace("hr",In.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",In.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const dn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ot,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ot,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(ge="x"+ge.toString(16)),Xe+="&#"+ge+";";return Xe}dn._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",dn.punctuation=gt(dn.punctuation).replace(/punctuation/g,dn._punctuation).getRegex(),dn.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,dn.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,dn._comment=gt(In._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),dn.emStrong.lDelim=gt(dn.emStrong.lDelim).replace(/punct/g,dn._punctuation).getRegex(),dn.emStrong.rDelimAst=gt(dn.emStrong.rDelimAst,"g").replace(/punct/g,dn._punctuation).getRegex(),dn.emStrong.rDelimUnd=gt(dn.emStrong.rDelimUnd,"g").replace(/punct/g,dn._punctuation).getRegex(),dn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,dn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,dn._email=/[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])?)+(?![-_])/,dn.autolink=gt(dn.autolink).replace("scheme",dn._scheme).replace("email",dn._email).getRegex(),dn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,dn.tag=gt(dn.tag).replace("comment",dn._comment).replace("attribute",dn._attribute).getRegex(),dn._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,dn._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,dn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,dn.link=gt(dn.link).replace("label",dn._label).replace("href",dn._href).replace("title",dn._title).getRegex(),dn.reflink=gt(dn.reflink).replace("label",dn._label).replace("ref",In._label).getRegex(),dn.nolink=gt(dn.nolink).replace("ref",In._label).getRegex(),dn.reflinkSearch=gt(dn.reflinkSearch,"g").replace("reflink",dn.reflink).replace("nolink",dn.nolink).getRegex(),dn.normal={...dn},dn.pedantic={...dn.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:gt(/^!?\[(label)\]\((.*?)\)/).replace("label",dn._label).getRegex(),reflink:gt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",dn._label).getRegex()},dn.gfm={...dn.normal,escape:gt(dn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\yn+" ".repeat(Tn.length));Xe;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(Kt=>!!(ge=Kt.call({lexer:this},Xe,ke))&&(Xe=Xe.substring(ge.raw.length),ke.push(ge),!0)))){if(ge=this.tokenizer.space(Xe)){Xe=Xe.substring(ge.raw.length),1===ge.raw.length&&ke.length>0?ke[ke.length-1].raw+="\n":ke.push(ge);continue}if(ge=this.tokenizer.code(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],!Ae||"paragraph"!==Ae.type&&"text"!==Ae.type?ke.push(ge):(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.text,this.inlineQueue[this.inlineQueue.length-1].src=Ae.text);continue}if(ge=this.tokenizer.fences(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.heading(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.hr(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.blockquote(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.list(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.html(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.def(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],!Ae||"paragraph"!==Ae.type&&"text"!==Ae.type?this.tokens.links[ge.tag]||(this.tokens.links[ge.tag]={href:ge.href,title:ge.title}):(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.raw,this.inlineQueue[this.inlineQueue.length-1].src=Ae.text);continue}if(ge=this.tokenizer.table(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.lheading(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(it=Xe,this.options.extensions&&this.options.extensions.startBlock){let Kt=1/0;const yn=Xe.slice(1);let Tn;this.options.extensions.startBlock.forEach(function(pi){Tn=pi.call({lexer:this},yn),"number"==typeof Tn&&Tn>=0&&(Kt=Math.min(Kt,Tn))}),Kt<1/0&&Kt>=0&&(it=Xe.substring(0,Kt+1))}if(this.state.top&&(ge=this.tokenizer.paragraph(it))){Ae=ke[ke.length-1],Ht&&"paragraph"===Ae.type?(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):ke.push(ge),Ht=it.length!==Xe.length,Xe=Xe.substring(ge.raw.length);continue}if(ge=this.tokenizer.text(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],Ae&&"text"===Ae.type?(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):ke.push(ge);continue}if(Xe){const Kt="Infinite loop on byte: "+Xe.charCodeAt(0);if(this.options.silent){console.error(Kt);break}throw new Error(Kt)}}return this.state.top=!0,ke}inline(Xe,ke=[]){return this.inlineQueue.push({src:Xe,tokens:ke}),ke}inlineTokens(Xe,ke=[]){let ge,Ae,it,Kt,yn,Tn,Ht=Xe;if(this.tokens.links){const pi=Object.keys(this.tokens.links);if(pi.length>0)for(;null!=(Kt=this.tokenizer.rules.inline.reflinkSearch.exec(Ht));)pi.includes(Kt[0].slice(Kt[0].lastIndexOf("[")+1,-1))&&(Ht=Ht.slice(0,Kt.index)+"["+hn("a",Kt[0].length-2)+"]"+Ht.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(Kt=this.tokenizer.rules.inline.blockSkip.exec(Ht));)Ht=Ht.slice(0,Kt.index)+"["+hn("a",Kt[0].length-2)+"]"+Ht.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(Kt=this.tokenizer.rules.inline.escapedEmSt.exec(Ht));)Ht=Ht.slice(0,Kt.index+Kt[0].length-2)+"++"+Ht.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;Xe;)if(yn||(Tn=""),yn=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(pi=>!!(ge=pi.call({lexer:this},Xe,ke))&&(Xe=Xe.substring(ge.raw.length),ke.push(ge),!0)))){if(ge=this.tokenizer.escape(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.tag(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],Ae&&"text"===ge.type&&"text"===Ae.type?(Ae.raw+=ge.raw,Ae.text+=ge.text):ke.push(ge);continue}if(ge=this.tokenizer.link(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.reflink(Xe,this.tokens.links)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],Ae&&"text"===ge.type&&"text"===Ae.type?(Ae.raw+=ge.raw,Ae.text+=ge.text):ke.push(ge);continue}if(ge=this.tokenizer.emStrong(Xe,Ht,Tn)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.codespan(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.br(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.del(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.autolink(Xe,di)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(!this.state.inLink&&(ge=this.tokenizer.url(Xe,di))){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(it=Xe,this.options.extensions&&this.options.extensions.startInline){let pi=1/0;const nn=Xe.slice(1);let Ti;this.options.extensions.startInline.forEach(function(yi){Ti=yi.call({lexer:this},nn),"number"==typeof Ti&&Ti>=0&&(pi=Math.min(pi,Ti))}),pi<1/0&&pi>=0&&(it=Xe.substring(0,pi+1))}if(ge=this.tokenizer.inlineText(it,qn)){Xe=Xe.substring(ge.raw.length),"_"!==ge.raw.slice(-1)&&(Tn=ge.raw.slice(-1)),yn=!0,Ae=ke[ke.length-1],Ae&&"text"===Ae.type?(Ae.raw+=ge.raw,Ae.text+=ge.text):ke.push(ge);continue}if(Xe){const pi="Infinite loop on byte: "+Xe.charCodeAt(0);if(this.options.silent){console.error(pi);break}throw new Error(pi)}}return ke}}class Bn{constructor(Xe){this.options=Xe||me}code(Xe,ke,ge){const Ae=(ke||"").match(/\S*/)[0];if(this.options.highlight){const it=this.options.highlight(Xe,Ae);null!=it&&it!==Xe&&(ge=!0,Xe=it)}return Xe=Xe.replace(/\n$/,"")+"\n",Ae?'

'+(ge?Xe:oe(Xe,!0))+"
\n":"
"+(ge?Xe:oe(Xe,!0))+"
\n"}blockquote(Xe){return`
\n${Xe}
\n`}html(Xe){return Xe}heading(Xe,ke,ge,Ae){return this.options.headerIds?`${Xe}\n`:`${Xe}\n`}hr(){return this.options.xhtml?"
\n":"
\n"}list(Xe,ke,ge){const Ae=ke?"ol":"ul";return"<"+Ae+(ke&&1!==ge?' start="'+ge+'"':"")+">\n"+Xe+"\n"}listitem(Xe){return`
  • ${Xe}
  • \n`}checkbox(Xe){return" "}paragraph(Xe){return`

    ${Xe}

    \n`}table(Xe,ke){return ke&&(ke=`${ke}`),"\n\n"+Xe+"\n"+ke+"
    \n"}tablerow(Xe){return`\n${Xe}\n`}tablecell(Xe,ke){const ge=ke.header?"th":"td";return(ke.align?`<${ge} align="${ke.align}">`:`<${ge}>`)+Xe+`\n`}strong(Xe){return`${Xe}`}em(Xe){return`${Xe}`}codespan(Xe){return`${Xe}`}br(){return this.options.xhtml?"
    ":"
    "}del(Xe){return`${Xe}`}link(Xe,ke,ge){if(null===(Xe=tt(this.options.sanitize,this.options.baseUrl,Xe)))return ge;let Ae='",Ae}image(Xe,ke,ge){if(null===(Xe=tt(this.options.sanitize,this.options.baseUrl,Xe)))return ge;let Ae=`${ge}":">",Ae}text(Xe){return Xe}}class xi{strong(Xe){return Xe}em(Xe){return Xe}codespan(Xe){return Xe}del(Xe){return Xe}html(Xe){return Xe}text(Xe){return Xe}link(Xe,ke,ge){return""+ge}image(Xe,ke,ge){return""+ge}br(){return""}}class fi{constructor(){this.seen={}}serialize(Xe){return Xe.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(Xe,ke){let ge=Xe,Ae=0;if(this.seen.hasOwnProperty(ge)){Ae=this.seen[Xe];do{Ae++,ge=Xe+"-"+Ae}while(this.seen.hasOwnProperty(ge))}return ke||(this.seen[Xe]=Ae,this.seen[ge]=0),ge}slug(Xe,ke={}){const ge=this.serialize(Xe);return this.getNextSafeSlug(ge,ke.dryrun)}}class Mt{constructor(Xe){this.options=Xe||me,this.options.renderer=this.options.renderer||new Bn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new xi,this.slugger=new fi}static parse(Xe,ke){return new Mt(ke).parse(Xe)}static parseInline(Xe,ke){return new Mt(ke).parseInline(Xe)}parse(Xe,ke=!0){let Ae,it,Ht,Kt,yn,Tn,pi,nn,Ti,yi,Hr,ss,wr,Ki,yr,jr,xs,Co,ns,ge="";const Nr=Xe.length;for(Ae=0;Ae0&&"paragraph"===yr.tokens[0].type?(yr.tokens[0].text=Co+" "+yr.tokens[0].text,yr.tokens[0].tokens&&yr.tokens[0].tokens.length>0&&"text"===yr.tokens[0].tokens[0].type&&(yr.tokens[0].tokens[0].text=Co+" "+yr.tokens[0].tokens[0].text)):yr.tokens.unshift({type:"text",text:Co}):Ki+=Co),Ki+=this.parse(yr.tokens,wr),Ti+=this.renderer.listitem(Ki,xs,jr);ge+=this.renderer.list(Ti,Hr,ss);continue;case"html":ge+=this.renderer.html(yi.text);continue;case"paragraph":ge+=this.renderer.paragraph(this.parseInline(yi.tokens));continue;case"text":for(Ti=yi.tokens?this.parseInline(yi.tokens):yi.text;Ae+1{"function"==typeof ge&&(Ae=ge,ge=null);const it={...ge},Ht=function ve(mn,Xe,ke){return ge=>{if(ge.message+="\nPlease report this to https://github.com/markedjs/marked.",mn){const Ae="

    An error occurred:

    "+oe(ge.message+"",!0)+"
    ";return Xe?Promise.resolve(Ae):ke?void ke(null,Ae):Ae}if(Xe)return Promise.reject(ge);if(!ke)throw ge;ke(ge)}}((ge={...xe.defaults,...it}).silent,ge.async,Ae);if(typeof ke>"u"||null===ke)return Ht(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof ke)return Ht(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(ke)+", string expected"));if(function vt(mn){mn&&mn.sanitize&&!mn.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(ge),ge.hooks&&(ge.hooks.options=ge),Ae){const Kt=ge.highlight;let yn;try{ge.hooks&&(ke=ge.hooks.preprocess(ke)),yn=mn(ke,ge)}catch(nn){return Ht(nn)}const Tn=function(nn){let Ti;if(!nn)try{ge.walkTokens&&xe.walkTokens(yn,ge.walkTokens),Ti=Xe(yn,ge),ge.hooks&&(Ti=ge.hooks.postprocess(Ti))}catch(yi){nn=yi}return ge.highlight=Kt,nn?Ht(nn):Ae(null,Ti)};if(!Kt||Kt.length<3||(delete ge.highlight,!yn.length))return Tn();let pi=0;return xe.walkTokens(yn,function(nn){"code"===nn.type&&(pi++,setTimeout(()=>{Kt(nn.text,nn.lang,function(Ti,yi){if(Ti)return Tn(Ti);null!=yi&&yi!==nn.text&&(nn.text=yi,nn.escaped=!0),pi--,0===pi&&Tn()})},0))}),void(0===pi&&Tn())}if(ge.async)return Promise.resolve(ge.hooks?ge.hooks.preprocess(ke):ke).then(Kt=>mn(Kt,ge)).then(Kt=>ge.walkTokens?Promise.all(xe.walkTokens(Kt,ge.walkTokens)).then(()=>Kt):Kt).then(Kt=>Xe(Kt,ge)).then(Kt=>ge.hooks?ge.hooks.postprocess(Kt):Kt).catch(Ht);try{ge.hooks&&(ke=ge.hooks.preprocess(ke));const Kt=mn(ke,ge);ge.walkTokens&&xe.walkTokens(Kt,ge.walkTokens);let yn=Xe(Kt,ge);return ge.hooks&&(yn=ge.hooks.postprocess(yn)),yn}catch(Kt){return Ht(Kt)}}}function xe(mn,Xe,ke){return De(ir.lex,Mt.parse)(mn,Xe,ke)}xe.options=xe.setOptions=function(mn){return function Oe(mn){me=mn}(xe.defaults={...xe.defaults,...mn}),xe},xe.getDefaults=function X(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},xe.defaults=me,xe.use=function(...mn){const Xe=xe.defaults.extensions||{renderers:{},childTokens:{}};mn.forEach(ke=>{const ge={...ke};if(ge.async=xe.defaults.async||ge.async||!1,ke.extensions&&(ke.extensions.forEach(Ae=>{if(!Ae.name)throw new Error("extension name required");if(Ae.renderer){const it=Xe.renderers[Ae.name];Xe.renderers[Ae.name]=it?function(...Ht){let Kt=Ae.renderer.apply(this,Ht);return!1===Kt&&(Kt=it.apply(this,Ht)),Kt}:Ae.renderer}if(Ae.tokenizer){if(!Ae.level||"block"!==Ae.level&&"inline"!==Ae.level)throw new Error("extension level must be 'block' or 'inline'");Xe[Ae.level]?Xe[Ae.level].unshift(Ae.tokenizer):Xe[Ae.level]=[Ae.tokenizer],Ae.start&&("block"===Ae.level?Xe.startBlock?Xe.startBlock.push(Ae.start):Xe.startBlock=[Ae.start]:"inline"===Ae.level&&(Xe.startInline?Xe.startInline.push(Ae.start):Xe.startInline=[Ae.start]))}Ae.childTokens&&(Xe.childTokens[Ae.name]=Ae.childTokens)}),ge.extensions=Xe),ke.renderer){const Ae=xe.defaults.renderer||new Bn;for(const it in ke.renderer){const Ht=Ae[it];Ae[it]=(...Kt)=>{let yn=ke.renderer[it].apply(Ae,Kt);return!1===yn&&(yn=Ht.apply(Ae,Kt)),yn}}ge.renderer=Ae}if(ke.tokenizer){const Ae=xe.defaults.tokenizer||new xn;for(const it in ke.tokenizer){const Ht=Ae[it];Ae[it]=(...Kt)=>{let yn=ke.tokenizer[it].apply(Ae,Kt);return!1===yn&&(yn=Ht.apply(Ae,Kt)),yn}}ge.tokenizer=Ae}if(ke.hooks){const Ae=xe.defaults.hooks||new Ot;for(const it in ke.hooks){const Ht=Ae[it];Ae[it]=Ot.passThroughHooks.has(it)?Kt=>{if(xe.defaults.async)return Promise.resolve(ke.hooks[it].call(Ae,Kt)).then(Tn=>Ht.call(Ae,Tn));const yn=ke.hooks[it].call(Ae,Kt);return Ht.call(Ae,yn)}:(...Kt)=>{let yn=ke.hooks[it].apply(Ae,Kt);return!1===yn&&(yn=Ht.apply(Ae,Kt)),yn}}ge.hooks=Ae}if(ke.walkTokens){const Ae=xe.defaults.walkTokens;ge.walkTokens=function(it){let Ht=[];return Ht.push(ke.walkTokens.call(this,it)),Ae&&(Ht=Ht.concat(Ae.call(this,it))),Ht}}xe.setOptions(ge)})},xe.walkTokens=function(mn,Xe){let ke=[];for(const ge of mn)switch(ke=ke.concat(Xe.call(xe,ge)),ge.type){case"table":for(const Ae of ge.header)ke=ke.concat(xe.walkTokens(Ae.tokens,Xe));for(const Ae of ge.rows)for(const it of Ae)ke=ke.concat(xe.walkTokens(it.tokens,Xe));break;case"list":ke=ke.concat(xe.walkTokens(ge.items,Xe));break;default:xe.defaults.extensions&&xe.defaults.extensions.childTokens&&xe.defaults.extensions.childTokens[ge.type]?xe.defaults.extensions.childTokens[ge.type].forEach(function(Ae){ke=ke.concat(xe.walkTokens(ge[Ae],Xe))}):ge.tokens&&(ke=ke.concat(xe.walkTokens(ge.tokens,Xe)))}return ke},xe.parseInline=De(ir.lexInline,Mt.parseInline),xe.Parser=Mt,xe.parser=Mt.parse,xe.Renderer=Bn,xe.TextRenderer=xi,xe.Lexer=ir,xe.lexer=ir.lex,xe.Tokenizer=xn,xe.Slugger=fi,xe.Hooks=Ot,xe.parse=xe;var ta=m(2939),Pi=m(3232);const co=["*"];let bs=(()=>{class mn{constructor(){this._buttonClick$=new t.x,this.copied$=this._buttonClick$.pipe((0,C.w)(()=>(0,A.T)((0,a.of)(!0),(0,y.H)(3e3).pipe((0,b.h)(!1)))),(0,F.x)(),(0,j.d)(1)),this.copiedText$=this.copied$.pipe((0,N.O)(!1),(0,x.U)(ke=>ke?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(ge){return new(ge||mn)};static#t=this.\u0275cmp=i.Xpm({type:mn,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(ge,Ae){1&ge&&(i.TgZ(0,"button",0),i.NdJ("click",function(){return Ae.onCopyToClipboardClick()}),i.ALo(1,"async"),i._uU(2),i.ALo(3,"async"),i.qZA()),2&ge&&(i.ekj("copied",i.lcZ(1,3,Ae.copied$)),i.xp6(2),i.Oqu(i.lcZ(3,5,Ae.copiedText$)))},dependencies:[P.Ov],encapsulation:2,changeDetection:0})}return mn})();class Do{}var mr=function(mn){return mn.CommandLine="command-line",mn.LineHighlight="line-highlight",mn.LineNumbers="line-numbers",mn}(mr||{});class Pt{}const sn=new i.OlP("SECURITY_CONTEXT");let Bt=(()=>{class mn{get options(){return this._options}set options(ke){this._options={...this.DEFAULT_MARKED_OPTIONS,...ke}}get renderer(){return this.options.renderer}set renderer(ke){this.options.renderer=ke}constructor(ke,ge,Ae,it,Ht,Kt){this.platform=ke,this.securityContext=ge,this.http=Ae,this.clipboardOptions=it,this.sanitizer=Kt,this.DEFAULT_MARKED_OPTIONS={renderer:new Bn},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:this.DEFAULT_MARKED_OPTIONS,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new t.x,this.reload$=this._reload$.asObservable(),this.options=Ht}parse(ke,ge=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:Ae,inline:it,emoji:Ht,mermaid:Kt,disableSanitizer:yn}=ge,Tn={...this.options,...ge.markedOptions};Kt&&(this.renderer=this.extendRenderer(Tn.renderer||new Bn));const pi=this.trimIndentation(ke),nn=Ae?this.decodeHtml(pi):pi,Ti=Ht?this.parseEmoji(nn):nn,yi=this.parseMarked(Ti,Tn,it);return(yn?yi:this.sanitizer.sanitize(this.securityContext,yi))||""}render(ke,ge=this.DEFAULT_RENDER_OPTIONS,Ae){const{clipboard:it,clipboardOptions:Ht,katex:Kt,katexOptions:yn,mermaid:Tn,mermaidOptions:pi}=ge;it&&this.renderClipboard(ke,Ae,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...Ht}),Kt&&this.renderKatex(ke,{...this.DEFAULT_KATEX_OPTIONS,...yn}),Tn&&this.renderMermaid(ke,{...this.DEFAULT_MERMAID_OPTIONS,...pi}),this.highlight(ke)}reload(){this._reload$.next()}getSource(ke){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(ke,{responseType:"text"}).pipe((0,x.U)(ge=>this.handleExtension(ke,ge)))}highlight(ke){if(!(0,P.NF)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;ke||(ke=document);const ge=ke.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(ge,Ae=>Ae.classList.add("language-none")),Prism.highlightAllUnder(ke)}decodeHtml(ke){if(!(0,P.NF)(this.platform))return ke;const ge=document.createElement("textarea");return ge.innerHTML=ke,ge.value}extendRenderer(ke){const ge=ke;if(!0===ge.\u0275NgxMarkdownRendererExtended)return ke;const Ae=ke.code;return ke.code=function(it,Ht,Kt){return"mermaid"===Ht?`
    ${it}
    `:Ae.call(this,it,Ht,Kt)},ge.\u0275NgxMarkdownRendererExtended=!0,ke}handleExtension(ke,ge){const Ae=ke.lastIndexOf("://"),it=Ae>-1?ke.substring(Ae+4):ke,Ht=it.lastIndexOf("/"),Kt=Ht>-1?it.substring(Ht+1).split("?")[0]:"",yn=Kt.lastIndexOf("."),Tn=yn>-1?Kt.substring(yn+1):"";return Tn&&"md"!==Tn?"```"+Tn+"\n"+ge+"\n```":ge}parseMarked(ke,ge,Ae=!1){return Ae?xe.parseInline(ke,ge):xe.parse(ke,ge)}parseEmoji(ke){if(!(0,P.NF)(this.platform))return ke;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(ke)}renderKatex(ke,ge){if((0,P.NF)(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(ke,ge)}}renderClipboard(ke,ge,Ae){if(!(0,P.NF)(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!ge)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:it,buttonTemplate:Ht}=Ae,Kt=ke.querySelectorAll("pre");for(let yn=0;ynnn.style.opacity="1",Tn.onmouseout=()=>nn.style.opacity="0",Ti=it?ge.createComponent(it).hostView:Ht?ge.createEmbeddedView(Ht):ge.createComponent(bs).hostView,Ti.rootNodes.forEach(Hr=>{Hr.onmouseover=()=>nn.style.opacity="1",nn.appendChild(Hr),yi=new ClipboardJS(Hr,{text:()=>Tn.innerText})}),Ti.onDestroy(()=>yi.destroy())}}renderMermaid(ke,ge=this.DEFAULT_MERMAID_OPTIONS){if(!(0,P.NF)(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.init>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const Ae=ke.querySelectorAll(".mermaid");0!==Ae.length&&(mermaid.initialize(ge),mermaid.init(Ae))}trimIndentation(ke){if(!ke)return"";let ge;return ke.split("\n").map(Ae=>{let it=ge;return Ae.length>0&&(it=isNaN(it)?Ae.search(/\S|$/):Math.min(Ae.search(/\S|$/),it)),isNaN(ge)&&(ge=it),it?Ae.substring(it):Ae}).join("\n")}static#e=this.\u0275fac=function(ge){return new(ge||mn)(i.LFG(i.Lbi),i.LFG(sn),i.LFG(ta.eN,8),i.LFG(Do,8),i.LFG(Pt,8),i.LFG(Pi.H7))};static#t=this.\u0275prov=i.Yz7({token:mn,factory:mn.\u0275fac})}return mn})(),bn=(()=>{class mn{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(ke){this._disableSanitizer=this.coerceBooleanProperty(ke)}get inline(){return this._inline}set inline(ke){this._inline=this.coerceBooleanProperty(ke)}get srcRelativeLink(){return this._srcRelativeLink}set srcRelativeLink(ke){this._srcRelativeLink=this.coerceBooleanProperty(ke)}get clipboard(){return this._clipboard}set clipboard(ke){this._clipboard=this.coerceBooleanProperty(ke)}get emoji(){return this._emoji}set emoji(ke){this._emoji=this.coerceBooleanProperty(ke)}get katex(){return this._katex}set katex(ke){this._katex=this.coerceBooleanProperty(ke)}get mermaid(){return this._mermaid}set mermaid(ke){this._mermaid=this.coerceBooleanProperty(ke)}get lineHighlight(){return this._lineHighlight}set lineHighlight(ke){this._lineHighlight=this.coerceBooleanProperty(ke)}get lineNumbers(){return this._lineNumbers}set lineNumbers(ke){this._lineNumbers=this.coerceBooleanProperty(ke)}get commandLine(){return this._commandLine}set commandLine(ke){this._commandLine=this.coerceBooleanProperty(ke)}constructor(ke,ge,Ae){this.element=ke,this.markdownService=ge,this.viewContainerRef=Ae,this.error=new i.vpe,this.load=new i.vpe,this.ready=new i.vpe,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this._srcRelativeLink=!1,this.destroyed$=new t.x}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe((0,H.R)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(ke,ge=!1){let Ae;this.src&&this.srcRelativeLink&&(Ae={baseUrl:new URL(this.src,location.origin).pathname});const Ht={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},Kt=this.markdownService.parse(ke,{decodeHtml:ge,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,markedOptions:Ae,disableSanitizer:this.disableSanitizer});this.element.nativeElement.innerHTML=Kt,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,Ht,this.viewContainerRef),this.ready.emit()}coerceBooleanProperty(ke){return null!=ke&&"false"!=`${String(ke)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:ke=>{this.render(ke),this.load.emit(ke)},error:ke=>this.error.emit(ke)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,mr.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,mr.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(ke,ge){const Ae=ke.querySelectorAll("pre");for(let it=0;it{const Kt=ge[Ht];if(Kt){const yn=this.toLispCase(Ht);Ae.item(it).setAttribute(yn,Kt.toString())}})}toLispCase(ke){const ge=ke.match(/([A-Z])/g);if(!ge)return ke;let Ae=ke.toString();for(let it=0,Ht=ge.length;it{class mn{static forRoot(ke){return{ngModule:mn,providers:[Bt,ke&&ke.loader||[],ke&&ke.clipboardOptions||[],ke&&ke.markedOptions||[],{provide:sn,useValue:ke&&null!=ke.sanitize?ke.sanitize:i.q3G.HTML}]}}static forChild(){return{ngModule:mn}}static#e=this.\u0275fac=function(ge){return new(ge||mn)};static#t=this.\u0275mod=i.oAB({type:mn});static#n=this.\u0275inj=i.cJS({imports:[P.ez]})}return mn})();var Ur;!function(mn){let Xe;var Ae;let ke,ge;(Ae=Xe=mn.SecurityLevel||(mn.SecurityLevel={})).Strict="strict",Ae.Loose="loose",Ae.Antiscript="antiscript",Ae.Sandbox="sandbox",function(Ae){Ae.Base="base",Ae.Forest="forest",Ae.Dark="dark",Ae.Default="default",Ae.Neutral="neutral"}(ke=mn.Theme||(mn.Theme={})),function(Ae){Ae[Ae.Debug=1]="Debug",Ae[Ae.Info=2]="Info",Ae[Ae.Warn=3]="Warn",Ae[Ae.Error=4]="Error",Ae[Ae.Fatal=5]="Fatal"}(ge=mn.LogLevel||(mn.LogLevel={}))}(Ur||(Ur={}))},2953:(lt,_e,m)=>{"use strict";m.d(_e,{KD:()=>H,Z6:()=>me,np:()=>X});var i=m(8239),t=m(755),A=m(6733),a=m(2133);const y=new t.OlP("ngx-mask config"),C=new t.OlP("new ngx-mask config"),b=new t.OlP("initial ngx-mask config"),F={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:Se=>Se,outputTransformFn:Se=>Se,maskFilled:new t.vpe,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},j=["Hh:m0:s0","Hh:m0","m0:s0"],N=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let x=(()=>{class Se{constructor(){this._config=(0,t.f3M)(y),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(K,V,J,ae)=>{let oe=[],ye="";if(Array.isArray(J)){const Je=new RegExp(J.map(tt=>"[\\^$.|?*+()".indexOf(tt)>=0?`\\${tt}`:tt).join("|"));oe=K.split(Je),ye=K.match(Je)?.[0]??""}else oe=K.split(J),ye=J;const Ee=oe.length>1?`${ye}${oe[1]}`:"";let Ge=oe[0]??"";const gt=this.separatorLimit.replace(/\s/g,"");gt&&+gt&&(Ge="-"===Ge[0]?`-${Ge.slice(1,Ge.length).slice(0,gt.length)}`:Ge.slice(0,gt.length));const Ze=/(\d+)(\d{3})/;for(;V&&Ze.test(Ge);)Ge=Ge.replace(Ze,"$1"+V+"$2");return void 0===ae?Ge+Ee:0===ae?Ge:Ge+Ee.substring(0,ae+1)},this.percentage=K=>{const V=K.replace(",","."),J=Number(V);return!isNaN(J)&&J>=0&&J<=100},this.getPrecision=K=>{const V=K.split(".");return V.length>1?Number(V[V.length-1]):1/0},this.checkAndRemoveSuffix=K=>{for(let V=this.suffix?.length-1;V>=0;V--){const J=this.suffix.substring(V,this.suffix?.length);if(K.includes(J)&&V!==this.suffix?.length-1&&(V-1<0||!K.includes(this.suffix.substring(V-1,this.suffix?.length))))return K.replace(J,"")}return K},this.checkInputPrecision=(K,V,J)=>{if(V<1/0){if(Array.isArray(J)){const Ee=J.find(Ge=>Ge!==this.thousandSeparator);J=Ee||J[0]}const ae=new RegExp(this._charToRegExpExpression(J)+`\\d{${V}}.*$`),oe=K.match(ae),ye=(oe&&oe[0]?.length)??0;ye-1>V&&(K=K.substring(0,K.length-(ye-1-V))),0===V&&this._compareOrIncludes(K[K.length-1],J,this.thousandSeparator)&&(K=K.substring(0,K.length-1))}return K}}applyMaskWithPattern(K,V){const[J,ae]=V;return this.customPattern=ae,this.applyMask(K,J)}applyMask(K,V,J=0,ae=!1,oe=!1,ye=(()=>{})){if(!V||"string"!=typeof K)return"";let Ee=0,Ge="",gt=!1,Ze=!1,Je=1,tt=!1;K.slice(0,this.prefix.length)===this.prefix&&(K=K.slice(this.prefix.length,K.length)),this.suffix&&K?.length>0&&(K=this.checkAndRemoveSuffix(K)),"("===K&&this.prefix&&(K="");const Qe=K.toString().split("");if(this.allowNegativeNumbers&&"-"===K.slice(Ee,Ee+1)&&(Ge+=K.slice(Ee,Ee+1)),"IP"===V){const Ct=K.split(".");this.ipError=this._validIP(Ct),V="099.099.099.099"}const pt=[];for(let Ct=0;Ct11?"00.000.000/0000-00":"000.000.000-00"),V.startsWith("percent")){if(K.match("[a-z]|[A-Z]")||K.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!oe){K=this._stripToDecimal(K);const mt=this.getPrecision(V);K=this.checkInputPrecision(K,mt,this.decimalMarker)}const Ct="string"==typeof this.decimalMarker?this.decimalMarker:".";if(K.indexOf(Ct)>0&&!this.percentage(K.substring(0,K.indexOf(Ct)))){let mt=K.substring(0,K.indexOf(Ct)-1);this.allowNegativeNumbers&&"-"===K.slice(Ee,Ee+1)&&!oe&&(mt=K.substring(0,K.indexOf(Ct))),K=`${mt}${K.substring(K.indexOf(Ct),K.length)}`}let He="";He=this.allowNegativeNumbers&&"-"===K.slice(Ee,Ee+1)?K.slice(Ee+1,Ee+K.length):K,Ge=this.percentage(He)?this._splitPercentZero(K):this._splitPercentZero(K.substring(0,K.length-1))}else if(V.startsWith("separator")){(K.match("[w\u0430-\u044f\u0410-\u042f]")||K.match("[\u0401\u0451\u0410-\u044f]")||K.match("[a-z]|[A-Z]")||K.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||K.match("[^A-Za-z0-9,]"))&&(K=this._stripToDecimal(K));const Ct=this.getPrecision(V),He=Array.isArray(this.decimalMarker)?".":this.decimalMarker;0===Ct?K=this.allowNegativeNumbers?K.length>2&&"-"===K[0]&&"0"===K[1]&&K[2]!==this.thousandSeparator&&","!==K[2]&&"."!==K[2]?"-"+K.slice(2,K.length):"0"===K[0]&&K.length>1&&K[1]!==this.thousandSeparator&&","!==K[1]&&"."!==K[1]?K.slice(1,K.length):K:K.length>1&&"0"===K[0]&&K[1]!==this.thousandSeparator&&","!==K[1]&&"."!==K[1]?K.slice(1,K.length):K:(K[0]===He&&K.length>1&&(K="0"+K.slice(0,K.length+1),this.plusOnePosition=!0),"0"===K[0]&&K[1]!==He&&K[1]!==this.thousandSeparator&&(K=K.length>1?K.slice(0,1)+He+K.slice(1,K.length+1):K,this.plusOnePosition=!0),this.allowNegativeNumbers&&"-"===K[0]&&(K[1]===He||"0"===K[1])&&(K=K[1]===He&&K.length>2?K.slice(0,1)+"0"+K.slice(1,K.length):"0"===K[1]&&K.length>2&&K[2]!==He?K.slice(0,2)+He+K.slice(2,K.length):K,this.plusOnePosition=!0)),oe&&("0"===K[0]&&K[1]===this.decimalMarker&&("0"===K[J]||K[J]===this.decimalMarker)&&(K=K.slice(2,K.length)),"-"===K[0]&&"0"===K[1]&&K[2]===this.decimalMarker&&("0"===K[J]||K[J]===this.decimalMarker)&&(K="-"+K.slice(3,K.length)),K=this._compareOrIncludes(K[K.length-1],this.decimalMarker,this.thousandSeparator)?K.slice(0,K.length-1):K);const mt=this._charToRegExpExpression(this.thousandSeparator);let vt='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(mt,"");if(Array.isArray(this.decimalMarker))for(const In of this.decimalMarker)vt=vt.replace(this._charToRegExpExpression(In),"");else vt=vt.replace(this._charToRegExpExpression(this.decimalMarker),"");const hn=new RegExp("["+vt+"]");K.match(hn)&&(K=K.substring(0,K.length-1));const yt=(K=this.checkInputPrecision(K,Ct,this.decimalMarker)).replace(new RegExp(mt,"g"),"");Ge=this._formatWithSeparators(yt,this.thousandSeparator,this.decimalMarker,Ct);const Fn=Ge.indexOf(",")-K.indexOf(","),xn=Ge.length-K.length;if(xn>0&&Ge[J]!==this.thousandSeparator){Ze=!0;let In=0;do{this._shift.add(J+In),In++}while(In0&&!(Ge.indexOf(",")>=J&&J>3)||!(Ge.indexOf(".")>=J&&J>3)&&xn<=0?(this._shift.clear(),Ze=!0,Je=xn,this._shift.add(J+=xn)):this._shift.clear()}else for(let Ct=0,He=Qe[0];Ct9:Number(He)>2)){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}if("h"===V[Ee]&&(this.apm?1===Ge.length&&Number(Ge)>1||"1"===Ge&&Number(He)>2||1===K.slice(Ee-1,Ee).length&&Number(K.slice(Ee-1,Ee))>2||"1"===K.slice(Ee-1,Ee)&&Number(He)>2:"2"===Ge&&Number(He)>3||("2"===Ge.slice(Ee-2,Ee)||"2"===Ge.slice(Ee-3,Ee)||"2"===Ge.slice(Ee-4,Ee)||"2"===Ge.slice(Ee-1,Ee))&&Number(He)>3&&Ee>10)){J+=1,Ee+=1,Ct--;continue}if(("m"===V[Ee]||"s"===V[Ee])&&Number(He)>5){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}const vt=31,hn=K[Ee],yt=K[Ee+1],Fn=K[Ee+2],xn=K[Ee-1],In=K[Ee-2],dn=K[Ee-3],qn=K.slice(Ee-3,Ee-1),di=K.slice(Ee-1,Ee+1),ir=K.slice(Ee,Ee+2),Bn=K.slice(Ee-2,Ee);if("d"===V[Ee]){const xi="M0"===V.slice(0,2),fi="M0"===V.slice(0,2)&&this.specialCharacters.includes(In);if(Number(He)>3&&this.leadZeroDateTime||!xi&&(Number(ir)>vt||Number(di)>vt||this.specialCharacters.includes(yt))||(fi?Number(di)>vt||!this.specialCharacters.includes(hn)&&this.specialCharacters.includes(Fn)||this.specialCharacters.includes(hn):Number(ir)>vt||this.specialCharacters.includes(yt))){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}}if("M"===V[Ee]){const fi=0===Ee&&(Number(He)>2||Number(ir)>12||this.specialCharacters.includes(yt)),Mt=V.slice(Ee+2,Ee+3),Ot=qn.includes(Mt)&&(this.specialCharacters.includes(In)&&Number(di)>12&&!this.specialCharacters.includes(hn)||this.specialCharacters.includes(hn)||this.specialCharacters.includes(dn)&&Number(Bn)>12&&!this.specialCharacters.includes(xn)||this.specialCharacters.includes(xn)),ve=Number(qn)<=vt&&!this.specialCharacters.includes(qn)&&this.specialCharacters.includes(xn)&&(Number(ir)>12||this.specialCharacters.includes(yt)),De=Number(ir)>12&&5===Ee||this.specialCharacters.includes(yt)&&5===Ee,xe=Number(qn)>vt&&!this.specialCharacters.includes(qn)&&!this.specialCharacters.includes(Bn)&&Number(Bn)>12,Ye=Number(qn)<=vt&&!this.specialCharacters.includes(qn)&&!this.specialCharacters.includes(xn)&&Number(di)>12;if(Number(He)>1&&this.leadZeroDateTime||fi||Ot||Ye||xe||ve||De&&!this.leadZeroDateTime){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}}Ge+=He,Ee++}else" "===He&&" "===V[Ee]||"/"===He&&"/"===V[Ee]?(Ge+=He,Ee++):-1!==this.specialCharacters.indexOf(V[Ee]??"")?(Ge+=V[Ee],Ee++,this._shiftStep(V,Ee,Qe.length),Ct--):"9"===V[Ee]&&this.showMaskTyped?this._shiftStep(V,Ee,Qe.length):this.patterns[V[Ee]??""]&&this.patterns[V[Ee]??""]?.optional?(Qe[Ee]&&"099.099.099.099"!==V&&"000.000.000-00"!==V&&"00.000.000/0000-00"!==V&&!V.match(/^9+\.0+$/)&&!this.patterns[V[Ee]??""]?.optional&&(Ge+=Qe[Ee]),V.includes("9*")&&V.includes("0*")&&Ee++,Ee++,Ct--):"*"===this.maskExpression[Ee+1]&&this._findSpecialChar(this.maskExpression[Ee+2]??"")&&this._findSpecialChar(He)===this.maskExpression[Ee+2]&>||"?"===this.maskExpression[Ee+1]&&this._findSpecialChar(this.maskExpression[Ee+2]??"")&&this._findSpecialChar(He)===this.maskExpression[Ee+2]&>?(Ee+=3,Ge+=He):this.showMaskTyped&&this.specialCharacters.indexOf(He)<0&&He!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(tt=!0)}Ge.length+1===V.length&&-1!==this.specialCharacters.indexOf(V[V.length-1]??"")&&(Ge+=V[V.length-1]);let Nt=J+1;for(;this._shift.has(Nt);)Je++,Nt++;let Jt=ae&&!V.startsWith("separator")?Ee:this._shift.has(J)?Je:0;tt&&Jt--,ye(Jt,Ze),Je<0&&this._shift.clear();let nt=!1;oe&&(nt=Qe.every(Ct=>this.specialCharacters.includes(Ct)));let ot=`${this.prefix}${nt?"":Ge}${this.showMaskTyped?"":this.suffix}`;if(0===Ge.length&&(ot=this.dropSpecialCharacters?`${Ge}`:`${this.prefix}${Ge}`),Ge.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(oe&&"-"===Ge)return"";ot=`-${this.prefix}${Ge.split("-").join("")}${this.suffix}`}return ot}_findDropSpecialChar(K){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(V=>V===K):this._findSpecialChar(K)}_findSpecialChar(K){return this.specialCharacters.find(V=>V===K)}_checkSymbolMask(K,V){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[V]?.pattern&&this.patterns[V]?.pattern.test(K))??!1}_stripToDecimal(K){return K.split("").filter((V,J)=>{const ae="string"==typeof this.decimalMarker?V===this.decimalMarker:this.decimalMarker.includes(V);return V.match("^-?\\d")||V===this.thousandSeparator||ae||"-"===V&&0===J&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(K){return K&&(" "===K?"\\s":"[\\^$.|?*+()".indexOf(K)>=0?`\\${K}`:K)}_shiftStep(K,V,J){const ae=/[*?]/g.test(K.slice(0,V))?J:V;this._shift.add(ae+this.prefix.length||0)}_compareOrIncludes(K,V,J){return Array.isArray(V)?V.filter(ae=>ae!==J).includes(K):K===V}_validIP(K){return!(4===K.length&&!K.some((V,J)=>K.length!==J+1?""===V||Number(V)>255:""===V||Number(V.substring(0,3))>255))}_splitPercentZero(K){const V=K.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:".");if(-1===V){const J=parseInt(K,10);return isNaN(J)?"":J.toString()}{const J=parseInt(K.substring(0,V),10),ae=K.substring(V+1),oe=isNaN(J)?"":J.toString();return""===oe?"":oe+("string"==typeof this.decimalMarker?this.decimalMarker:".")+ae}}static#e=this.\u0275fac=function(V){return new(V||Se)};static#t=this.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac})}return Se})(),H=(()=>{class Se extends x{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=K=>{},this._elementRef=(0,t.f3M)(t.SBq,{optional:!0}),this.document=(0,t.f3M)(A.K0),this._config=(0,t.f3M)(y),this._renderer=(0,t.f3M)(t.Qsj,{optional:!0})}applyMask(K,V,J=0,ae=!1,oe=!1,ye=(()=>{})){if(!V)return K!==this.actualValue?this.actualValue:K;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(K||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(K||"#")),!K&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown+this.suffix;const Ee=K&&"number"==typeof this.selStart?K[this.selStart]??"":"";let Ge="";if(void 0!==this.hiddenInput&&!this.writingValue){let tt=K&&1===K.length?K.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==K&&tt.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(K.length>tt.length?tt.splice(this.selStart,0,Ee):K.length!this._compareOrIncludes(tt,this.decimalMarker,this.thousandSeparator))),(gt||""===gt)&&(this._previousValue=this._currentValue,this._currentValue=gt,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&ae),this._emitValue&&this.formControlResult(gt),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?oe?this.hideInput(gt,this.maskExpression):this.hideInput(gt,this.maskExpression)+this.maskIsShown.slice(gt.length):gt;const Ze=gt.length,Je=this.prefix+this.maskIsShown+this.suffix;if(this.maskExpression.includes("H")){const tt=this._numberSkipedSymbols(gt);return gt+Je.slice(Ze+tt)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?gt+Je:gt+Je.slice(Ze)}_numberSkipedSymbols(K){const V=/(^|\D)(\d\D)/g;let J=V.exec(K),ae=0;for(;null!=J;)ae+=1,J=V.exec(K);return ae}applyValueChanges(K,V,J,ae=(()=>{})){const oe=this._elementRef?.nativeElement;oe&&(oe.value=this.applyMask(oe.value,this.maskExpression,K,V,J,ae),oe!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(K,V){return K.split("").map((J,ae)=>this.patterns&&this.patterns[V[ae]??""]&&this.patterns[V[ae]??""]?.symbol?this.patterns[V[ae]??""]?.symbol:J).join("")}getActualValue(K){const V=K.split("").filter((J,ae)=>{const oe=this.maskExpression[ae]??"";return this._checkSymbolMask(J,oe)||this.specialCharacters.includes(oe)&&J===oe});return V.join("")===K?V.join(""):K}shiftTypedSymbols(K){let V="";return(K&&K.split("").map((ae,oe)=>{if(this.specialCharacters.includes(K[oe+1]??"")&&K[oe+1]!==this.maskExpression[oe+1])return V=ae,K[oe+1];if(V.length){const ye=V;return V="",ye}return ae})||[]).join("")}numberToString(K){return!K&&0!==K||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(K).length>14?String(K):Number(K).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(K){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(K){if("IP"===this.maskExpression)return this._checkForIp(K);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(K)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const K=this._elementRef?.nativeElement;K&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==K.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([K,V]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,K,V))}checkDropSpecialCharAmount(K){return K.split("").filter(J=>this._findDropSpecialChar(J)).length}removeMask(K){return this._removeMask(this._removeSuffix(this._removePrefix(K)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(K){if("#"===K)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const V=[];for(let J=0;J3&&V.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:V.length>6&&V.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(K){const V=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,J=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===K)return V;const ae=[];for(let oe=0;oe3&&ae.length<=6?V.slice(ae.length+1,V.length):ae.length>6&&ae.length<=9?V.slice(ae.length+2,V.length):ae.length>9&&ae.length<11?V.slice(ae.length+3,V.length):11===ae.length?"":12===ae.length?J.slice(17===K.length?16:15,J.length):ae.length>12&&ae.length<=14?J.slice(ae.length+4,J.length):""}_getActiveElement(K=this.document){const V=K?.activeElement?.shadowRoot;return V?.activeElement?this._getActiveElement(V):K.activeElement}formControlResult(K){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(K)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(K)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===K?this._checkSymbols(this._removeSuffix(this._removePrefix(K))):K)))}_toNumber(K){if(!this.isNumberValue||""===K||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return K;if(String(K).length>16&&this.separatorLimit.length>14)return String(K);const V=Number(K);if(this.maskExpression.startsWith("separator")&&Number.isNaN(V)){const J=String(K).replace(",",".");return Number(J)}return Number.isNaN(V)?K:V}_removeMask(K,V){return this.maskExpression.startsWith("percent")&&K.includes(".")?K:K&&K.replace(this._regExpForRemove(V),"")}_removePrefix(K){return this.prefix?K&&K.replace(this.prefix,""):K}_removeSuffix(K){return this.suffix?K&&K.replace(this.suffix,""):K}_retrieveSeparatorValue(K){let V=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(J=>this.dropSpecialCharacters.includes(J)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&K.includes(" ")&&this.maskExpression.includes("*")&&(V=V.filter(J=>" "!==J)),this._removeMask(K,V)}_regExpForRemove(K){return new RegExp(K.map(V=>`\\${V}`).join("|"),"gi")}_replaceDecimalMarkerToDot(K){const V=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return K.replace(this._regExpForRemove(V),".")}_checkSymbols(K){if(""===K)return K;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(K=K.replace(",","."));const V=this._retrieveSeparatorPrecision(this.maskExpression),J=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(K));return this.isNumberValue&&V?K===this.decimalMarker?null:this.separatorLimit.length>14?String(J):this._checkPrecision(this.maskExpression,J):J}_checkPatternForSpace(){for(const K in this.patterns)if(this.patterns[K]&&this.patterns[K]?.hasOwnProperty("pattern")){const V=this.patterns[K]?.pattern.toString(),J=this.patterns[K]?.pattern;if(V?.includes(" ")&&J?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(K){const V=K.match(new RegExp("^separator\\.([^d]*)"));return V?Number(V[1]):null}_checkPrecision(K,V){const J=K.slice(10,11);return K.indexOf("2")>0||this.leadZero&&Number(J)>1?(","===this.decimalMarker&&this.leadZero&&(V=V.replace(",",".")),this.leadZero?Number(V).toFixed(Number(J)):Number(V).toFixed(2)):this.numberToString(V)}_repeatPatternSymbols(K){return K.match(/{[0-9]+}/)&&K.split("").reduce((V,J,ae)=>{if(this._start="{"===J?ae:this._start,"}"!==J)return this._findSpecialChar(J)?V+J:V;this._end=ae;const oe=Number(K.slice(this._start+1,this._end)),ye=new Array(oe+1).join(K[this._start-1]);if(K.slice(0,this._start).length>1&&K.includes("S")){const Ee=K.slice(0,this._start-1);return Ee.includes("{")?V+ye:Ee+V+ye}return V+ye},"")||K}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}static#e=this.\u0275fac=function(){let K;return function(J){return(K||(K=t.n5z(Se)))(J||Se)}}();static#t=this.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac})}return Se})();function k(){const Se=(0,t.f3M)(b),wt=(0,t.f3M)(C);return wt instanceof Function?{...Se,...wt()}:{...Se,...wt}}function X(Se){return(0,t.MR2)(function P(Se){return[{provide:C,useValue:Se},{provide:b,useValue:F},{provide:y,useFactory:k},H]}(Se))}let me=(()=>{class Se{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new t.vpe,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=(0,t.f3M)(A.K0),this._maskService=(0,t.f3M)(H,{self:!0}),this._config=(0,t.f3M)(y),this.onChange=K=>{},this.onTouch=()=>{}}ngOnChanges(K){const{maskExpression:V,specialCharacters:J,patterns:ae,prefix:oe,suffix:ye,thousandSeparator:Ee,decimalMarker:Ge,dropSpecialCharacters:gt,hiddenInput:Ze,showMaskTyped:Je,placeHolderCharacter:tt,shownMaskExpression:Qe,showTemplate:pt,clearIfNotMatch:Nt,validation:Jt,separatorLimit:nt,allowNegativeNumbers:ot,leadZeroDateTime:Ct,leadZero:He,triggerOnMaskChange:mt,apm:vt,inputTransformFn:hn,outputTransformFn:yt,keepCharacterPositions:Fn}=K;if(V&&(V.currentValue!==V.previousValue&&!V.firstChange&&(this._maskService.maskChanged=!0),V.currentValue&&V.currentValue.split("||").length>1?(this._maskExpressionArray=V.currentValue.split("||").sort((xn,In)=>xn.length-In.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=V.currentValue||"",this._maskService.maskExpression=this._maskValue)),J){if(!J.currentValue||!Array.isArray(J.currentValue))return;this._maskService.specialCharacters=J.currentValue||[]}ot&&(this._maskService.allowNegativeNumbers=ot.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(xn=>"-"!==xn))),ae&&ae.currentValue&&(this._maskService.patterns=ae.currentValue),vt&&vt.currentValue&&(this._maskService.apm=vt.currentValue),oe&&(this._maskService.prefix=oe.currentValue),ye&&(this._maskService.suffix=ye.currentValue),Ee&&(this._maskService.thousandSeparator=Ee.currentValue),Ge&&(this._maskService.decimalMarker=Ge.currentValue),gt&&(this._maskService.dropSpecialCharacters=gt.currentValue),Ze&&(this._maskService.hiddenInput=Ze.currentValue),Je&&(this._maskService.showMaskTyped=Je.currentValue,!1===Je.previousValue&&!0===Je.currentValue&&this._isFocused&&requestAnimationFrame(()=>{this._maskService._elementRef?.nativeElement.click()})),tt&&(this._maskService.placeHolderCharacter=tt.currentValue),Qe&&(this._maskService.shownMaskExpression=Qe.currentValue),pt&&(this._maskService.showTemplate=pt.currentValue),Nt&&(this._maskService.clearIfNotMatch=Nt.currentValue),Jt&&(this._maskService.validation=Jt.currentValue),nt&&(this._maskService.separatorLimit=nt.currentValue),Ct&&(this._maskService.leadZeroDateTime=Ct.currentValue),He&&(this._maskService.leadZero=He.currentValue),mt&&(this._maskService.triggerOnMaskChange=mt.currentValue),hn&&(this._maskService.inputTransformFn=hn.currentValue),yt&&(this._maskService.outputTransformFn=yt.currentValue),Fn&&(this._maskService.keepCharacterPositions=Fn.currentValue),this._applyMask()}validate({value:K}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(K);if(this._maskService.cpfCnpjError)return this._createValidationError(K);if(this._maskValue.startsWith("separator")||N.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(j.includes(this._maskValue))return this._validateTime(K);if(K&&K.toString().length>=1){let V=0;if(this._maskValue.startsWith("percent"))return null;for(const J in this._maskService.patterns)if(this._maskService.patterns[J]?.optional&&(this._maskValue.indexOf(J)!==this._maskValue.lastIndexOf(J)?V+=this._maskValue.split("").filter(oe=>oe===J).join("").length:-1!==this._maskValue.indexOf(J)&&V++,-1!==this._maskValue.indexOf(J)&&K.toString().length>=this._maskValue.indexOf(J)||V===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&K.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&K.toString().length1&&K.toString().length1){const oe=J[J.length-1];if(oe&&this._maskService.specialCharacters.includes(oe[0])&&String(K).includes(oe[0]??"")&&!this.dropSpecialCharacters){const ye=K.split(oe[0]);return ye[ye.length-1].length===oe.length-1?null:this._createValidationError(K)}return(oe&&!this._maskService.specialCharacters.includes(oe[0])||!oe||this._maskService.dropSpecialCharacters)&&K.length>=ae-1?null:this._createValidationError(K)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return K&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(K){(""===K||null==K)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(K){if(this._isComposing)return;const V=K.target,J=this._maskService.inputTransformFn(V.value);if("number"!==V.type)if("string"==typeof J||"number"==typeof J){if(V.value=J.toString(),this._inputValue=V.value,this._setMask(),!this._maskValue)return void this.onChange(V.value);let ae=1===V.selectionStart?V.selectionStart+this._maskService.prefix.length:V.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const Ge=V.value.slice(ae-1,ae),gt=this.prefix.length,Ze=this._maskService._checkSymbolMask(Ge,this._maskService.maskExpression[ae-1-gt]??""),Je=this._maskService._checkSymbolMask(Ge,this._maskService.maskExpression[ae+1-gt]??""),tt=this._maskService.selStart===this._maskService.selEnd,Qe=Number(this._maskService.selStart)-gt,pt=Number(this._maskService.selEnd)-gt;if("Backspace"===this._code)if(tt){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(ae-this.prefix.length,ae+1-this.prefix.length))&&tt)if(1===Qe&&this.prefix)this._maskService.actualValue=this.prefix+this._maskService.placeHolderCharacter+V.value.split(this.prefix).join("").split(this.suffix).join("")+this.suffix,ae-=1;else{const Nt=V.value.substring(0,ae),Jt=V.value.substring(ae);this._maskService.actualValue=Nt+this._maskService.placeHolderCharacter+Jt}}else this._maskService.actualValue=this._maskService.selStart===gt?this.prefix+this._maskService.maskIsShown.slice(0,pt)+this._inputValue.split(this.prefix).join(""):this._maskService.selStart===this._maskService.maskIsShown.length+gt?this._inputValue+this._maskService.maskIsShown.slice(Qe,pt):this.prefix+this._inputValue.split(this.prefix).join("").slice(0,Qe)+this._maskService.maskIsShown.slice(Qe,pt)+this._maskService.actualValue.slice(pt+gt,this._maskService.maskIsShown.length+gt)+this.suffix;"Backspace"!==this._code&&(Ze||Je||!tt?this._maskService.specialCharacters.includes(V.value.slice(ae,ae+1))&&Je&&!this._maskService.specialCharacters.includes(V.value.slice(ae+1,ae+2))?(this._maskService.actualValue=V.value.slice(0,ae-1)+V.value.slice(ae,ae+1)+Ge+V.value.slice(ae+2),ae+=1):Ze?this._maskService.actualValue=1===V.value.length&&1===ae?this.prefix+Ge+this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)+this.suffix:V.value.slice(0,ae-1)+Ge+V.value.slice(ae+1).split(this.suffix).join("")+this.suffix:this.prefix&&1===V.value.length&&ae-gt==1&&this._maskService._checkSymbolMask(V.value,this._maskService.maskExpression[ae-1-gt]??"")&&(this._maskService.actualValue=this.prefix+V.value+this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)+this.suffix):ae=Number(V.selectionStart)-1)}let oe=0,ye=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&ae<10){const Ge=this._inputValue.slice(ae-1,ae);V.value=this._inputValue.slice(0,ae-1)+Ge+this._inputValue.slice(ae+1)}if("d0/M0/0000"===this._maskService.maskExpression&&this.leadZeroDateTime&&(ae<3&&Number(V.value)>31&&Number(V.value)<40||5===ae&&Number(V.value.slice(3,5))>12)&&(ae+=2),"Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===V.value.slice(0,2)&&(V.value=V.value.slice(1,2)+V.value.slice(2,V.value.length)),V.value="00"===V.value?"0":V.value),this._maskService.applyValueChanges(ae,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(Ge,gt)=>{this._justPasted=!1,oe=Ge,ye=gt}),this._getActiveElement()!==V)return;this._maskService.plusOnePosition&&(ae+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length&&(ae="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(ae-1,ae))?ae-1:ae:1===V.selectionStart?V.selectionStart+this._maskService.prefix.length:V.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let Ee=this._position?this._inputValue.length+ae+oe:ae+("Backspace"!==this._code||ye?oe:0);Ee>this._getActualInputLength()&&(Ee=V.value===this._maskService.decimalMarker&&1===V.value.length?this._getActualInputLength()+1:this._getActualInputLength()),Ee<0&&(Ee=0),V.setSelectionRange(Ee,Ee),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof J);else{if(!this._maskValue)return void this.onChange(V.value);this._maskService.applyValueChanges(V.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(K){this._isComposing=!1,this._justPasted=!0,this.onInput(K)}onBlur(K){if(this._maskValue){const V=K.target;if(this.leadZero&&V.value.length>0&&"string"==typeof this.decimalMarker){const J=this._maskService.maskExpression,ae=Number(this._maskService.maskExpression.slice(J.length-1,J.length));if(ae>1){V.value=this.suffix?V.value.split(this.suffix).join(""):V.value;const oe=V.value.split(this.decimalMarker)[1];V.value=V.value.includes(this.decimalMarker)?V.value+"0".repeat(ae-oe.length)+this.suffix:V.value+this.decimalMarker+"0".repeat(ae)+this.suffix,this._maskService.actualValue=V.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(K){if(!this._maskValue)return;const V=K.target;null!==V&&null!==V.selectionStart&&V.selectionStart===V.selectionEnd&&V.selectionStart>this._maskService.prefix.length&&38!==K.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),V.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===V.value?(V.focus(),V.setSelectionRange(0,0)):V.selectionStart>this._maskService.actualValue.length&&V.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const oe=V&&(V.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:V.value);V&&V.value!==oe&&(V.value=oe),V&&"number"!==V.type&&(V.selectionStart||V.selectionEnd)<=this._maskService.prefix.length?V.selectionStart=this._maskService.prefix.length:V&&V.selectionEnd>this._getActualInputLength()&&(V.selectionEnd=this._getActualInputLength())}onKeyDown(K){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===K.key&&this.onCompositionEnd(K));this._code=K.code?K.code:K.key;const V=K.target;if(this._inputValue=V.value,this._setMask(),"number"!==V.type){if("ArrowUp"===K.key&&K.preventDefault(),"ArrowLeft"===K.key||"Backspace"===K.key||"Delete"===K.key){if("Backspace"===K.key&&0===V.value.length&&(V.selectionStart=V.selectionEnd),"Backspace"===K.key&&0!==V.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&V.selectionStart<=this.prefix.length)V.setSelectionRange(this.prefix.length,V.selectionEnd);else if(this._inputValue.length!==V.selectionStart&&1!==V.selectionStart)for(;this.specialCharacters.includes((this._inputValue[V.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&V.selectionStart>this.prefix.length||0===this.prefix.length);)V.setSelectionRange(V.selectionStart-1,V.selectionEnd);this.checkSelectionOnDeletion(V),this._maskService.prefix.length&&V.selectionStart<=this._maskService.prefix.length&&V.selectionEnd<=this._maskService.prefix.length&&K.preventDefault(),"Backspace"===K.key&&!V.readOnly&&0===V.selectionStart&&V.selectionEnd===V.value.length&&0!==V.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length{V._maskService.applyMask(J?.toString()??"",V._maskService.maskExpression)}),V._maskService.isNumberValue=!0}"string"!=typeof J&&(J=""),V._inputValue=J,V._setMask(),J&&V._maskService.maskExpression||V._maskService.maskExpression&&(V._maskService.prefix||V._maskService.showMaskTyped)?("function"!=typeof V.inputTransformFn&&(V._maskService.writingValue=!0),V._maskService.formElementProperty=["value",V._maskService.applyMask(J,V._maskService.maskExpression)],"function"!=typeof V.inputTransformFn&&(V._maskService.writingValue=!1)):V._maskService.formElementProperty=["value",J],V._inputValue=J}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof K)})()}registerOnChange(K){this._maskService.onChange=this.onChange=K}registerOnTouched(K){this.onTouch=K}_getActiveElement(K=this.document){const V=K?.activeElement?.shadowRoot;return V?.activeElement?this._getActiveElement(V):K.activeElement}checkSelectionOnDeletion(K){K.selectionStart=Math.min(Math.max(this.prefix.length,K.selectionStart),this._inputValue.length-this.suffix.length),K.selectionEnd=Math.min(Math.max(this.prefix.length,K.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(K){this._maskService.formElementProperty=["disabled",K]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(K){const V=this._maskValue.split("").filter(J=>":"!==J).length;return K&&(0==+(K[K.length-1]??-1)&&K.length{if(K.split("").some(J=>this._maskService.specialCharacters.includes(J))&&this._inputValue&&!K.includes("S")||K.includes("{")){const J=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(K)?.length;if(J)return this._maskValue=this.maskExpression=this._maskService.maskExpression=K.includes("{")?this._maskService._repeatPatternSymbols(K):K,J;{const ae=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=ae.includes("{")?this._maskService._repeatPatternSymbols(ae):ae}}else{const J=this._maskService.removeMask(this._inputValue)?.split("").every((ae,oe)=>{const ye=K.charAt(oe);return this._maskService._checkSymbolMask(ae,ye)});if(J)return this._maskValue=this.maskExpression=this._maskService.maskExpression=K,J}})}static#e=this.\u0275fac=function(V){return new(V||Se)};static#t=this.\u0275dir=t.lG2({type:Se,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(V,J){1&V&&t.NdJ("paste",function(){return J.onPaste()})("focus",function(oe){return J.onFocus(oe)})("ngModelChange",function(oe){return J.onModelChange(oe)})("input",function(oe){return J.onInput(oe)})("compositionstart",function(oe){return J.onCompositionStart(oe)})("compositionend",function(oe){return J.onCompositionEnd(oe)})("blur",function(oe){return J.onBlur(oe)})("click",function(oe){return J.onClick(oe)})("keydown",function(oe){return J.onKeyDown(oe)})},inputs:{maskExpression:["mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],standalone:!0,features:[t._Bn([{provide:a.JU,useExisting:Se,multi:!0},{provide:a.Cf,useExisting:Se,multi:!0},H]),t.TTD]})}return Se})()},6925:(lt,_e,m)=>{"use strict";m.d(_e,{KC:()=>Ps,kb:()=>Ds});var i=m(755),t=m(6733);function A(St){return null!=St&&"false"!=`${St}`}function a(St,En=0){return function y(St){return!isNaN(parseFloat(St))&&!isNaN(Number(St))}(St)?Number(St):En}var N=m(1570),x=m(8132),H=m(409),k=m(2425),P=m(5047),X=m(1749),me=m(4787),Oe=m(453),Se=m(1209),wt=m(8748),K=m(8004),V=m(54),J=m(902);const ae={schedule(St){let En=requestAnimationFrame,dt=cancelAnimationFrame;const{delegate:Tt}=ae;Tt&&(En=Tt.requestAnimationFrame,dt=Tt.cancelAnimationFrame);const un=En(Yn=>{dt=void 0,St(Yn)});return new J.w0(()=>dt?.(un))},requestAnimationFrame(...St){const{delegate:En}=ae;return(En?.requestAnimationFrame||requestAnimationFrame)(...St)},cancelAnimationFrame(...St){const{delegate:En}=ae;return(En?.cancelAnimationFrame||cancelAnimationFrame)(...St)},delegate:void 0};var ye=m(5804);const Ge=new class Ee extends ye.v{flush(En){this._active=!0;const dt=this._scheduled;this._scheduled=void 0;const{actions:Tt}=this;let un;En=En||Tt.shift();do{if(un=En.execute(En.state,En.delay))break}while((En=Tt[0])&&En.id===dt&&Tt.shift());if(this._active=!1,un){for(;(En=Tt[0])&&En.id===dt&&Tt.shift();)En.unsubscribe();throw un}}}(class oe extends V.o{constructor(En,dt){super(En,dt),this.scheduler=En,this.work=dt}requestAsyncId(En,dt,Tt=0){return null!==Tt&&Tt>0?super.requestAsyncId(En,dt,Tt):(En.actions.push(this),En._scheduled||(En._scheduled=ae.requestAnimationFrame(()=>En.flush(void 0))))}recycleAsyncId(En,dt,Tt=0){var un;if(null!=Tt?Tt>0:this.delay>0)return super.recycleAsyncId(En,dt,Tt);const{actions:Yn}=En;null!=dt&&(null===(un=Yn[Yn.length-1])||void 0===un?void 0:un.id)!==dt&&(ae.cancelAnimationFrame(dt),En._scheduled=void 0)}});var Ze=m(9342),Je=m(6424),tt=m(8634),Qe=m(6142),pt=m(134);function Nt(St,En=tt.z){return(0,Qe.e)((dt,Tt)=>{let un=null,Yn=null,Ui=null;const Gi=()=>{if(un){un.unsubscribe(),un=null;const us=Yn;Yn=null,Tt.next(us)}};function _r(){const us=Ui+St,So=En.now();if(So{Yn=us,Ui=En.now(),un||(un=En.schedule(_r,St),Tt.add(un))},()=>{Gi(),Tt.complete()},void 0,()=>{Yn=un=null}))})}var nt=m(5333),ot=m(6974),He=m(1925);const vt=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function hn(){return(0,i.f3M)(t.K0)}}),yt=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let qn,xn=(()=>{class St{constructor(dt){this.value="ltr",this.change=new i.vpe,dt&&(this.value=function Fn(St){const En=St?.toLowerCase()||"";return"auto"===En&&typeof navigator<"u"&&navigator?.language?yt.test(navigator.language)?"rtl":"ltr":"rtl"===En?"rtl":"ltr"}((dt.body?dt.body.dir:null)||(dt.documentElement?dt.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(vt,8))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();try{qn=typeof Intl<"u"&&Intl.v8BreakIterator}catch{qn=!1}let di=(()=>{class St{constructor(dt){this._platformId=dt,this.isBrowser=this._platformId?(0,t.NF)(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&&!qn)&&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}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(i.Lbi))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();var De=function(St){return St[St.NORMAL=0]="NORMAL",St[St.NEGATED=1]="NEGATED",St[St.INVERTED=2]="INVERTED",St}(De||{});let xe;function cn(){if("object"!=typeof document||!document)return De.NORMAL;if(null==xe){const St=document.createElement("div"),En=St.style;St.dir="rtl",En.width="1px",En.overflow="auto",En.visibility="hidden",En.pointerEvents="none",En.position="absolute";const dt=document.createElement("div"),Tt=dt.style;Tt.width="2px",Tt.height="1px",St.appendChild(dt),document.body.appendChild(St),xe=De.NORMAL,0===St.scrollLeft&&(St.scrollLeft=1,xe=0===St.scrollLeft?De.NEGATED:De.INVERTED),St.remove()}return xe}var Pi=m(1813),co=m(5116),bs=m(6293);const ln="function"==typeof Float32Array;function Yt(St,En){return 1-3*En+3*St}function li(St,En){return 3*En-6*St}function Qr(St){return 3*St}function Sr(St,En,dt){return((Yt(En,dt)*St+li(En,dt))*St+Qr(En))*St}function Pn(St,En,dt){return 3*Yt(En,dt)*St*St+2*li(En,dt)*St+Qr(En)}function Bt(St){return St}function bn(St,En,dt,Tt){if(!(0<=St&&St<=1&&0<=dt&&dt<=1))throw new Error("bezier x values must be in [0, 1] range");if(St===En&&dt===Tt)return Bt;let un=ln?new Float32Array(11):new Array(11);for(let Ui=0;Ui<11;++Ui)un[Ui]=Sr(.1*Ui,St,dt);return function(Gi){return 0===Gi?0:1===Gi?1:Sr(function Yn(Ui){let Gi=0,_r=1;for(;10!==_r&&un[_r]<=Ui;++_r)Gi+=.1;--_r;let Fo=Gi+(Ui-un[_r])/(un[_r+1]-un[_r])*.1,Ks=Pn(Fo,St,dt);return Ks>=.001?function Rt(St,En,dt,Tt){for(let un=0;un<4;++un){let Yn=Pn(En,dt,Tt);if(0===Yn)return En;En-=(Sr(En,dt,Tt)-St)/Yn}return En}(Ui,Fo,St,dt):0===Ks?Fo:function sn(St,En,dt,Tt,un){let Yn,Ui,Gi=0;do{Ui=En+(dt-En)/2,Yn=Sr(Ui,Tt,un)-St,Yn>0?dt=Ui:En=Ui}while(Math.abs(Yn)>1e-7&&++Gi<10);return Ui}(Ui,Gi,Gi+.1,St,dt)}(Gi),En,Tt)}}const mi=new i.OlP("SMOOTH_SCROLL_OPTIONS");let rr=(()=>{class St{get _w(){return this._document.defaultView}get _now(){return this._w.performance&&this._w.performance.now?this._w.performance.now.bind(this._w.performance):Date.now}constructor(dt,Tt,un){this._document=dt,this._platform=Tt,this._onGoingScrolls=new Map,this._defaultOptions={duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1},...un}}_scrollElement(dt,Tt,un){dt.scrollLeft=Tt,dt.scrollTop=un}_getElement(dt,Tt){return"string"==typeof dt?(Tt||this._document).querySelector(dt):function F(St){return St instanceof i.SBq?St.nativeElement:St}(dt)}_initSmoothScroll(dt){return this._onGoingScrolls.has(dt)&&this._onGoingScrolls.get(dt).next(),this._onGoingScrolls.set(dt,new wt.x).get(dt)}_isFinished(dt,Tt,un){return dt.currentX!==dt.x||dt.currentY!==dt.y||(Tt.next(),un(),!1)}_interrupted(dt,Tt){return(0,P.T)((0,H.R)(dt,"wheel",{passive:!0,capture:!0}),(0,H.R)(dt,"touchmove",{passive:!0,capture:!0}),Tt).pipe((0,Pi.q)(1))}_destroy(dt,Tt){Tt.complete(),this._onGoingScrolls.delete(dt)}_step(dt){return new x.y(Tt=>{let un=(this._now()-dt.startTime)/dt.duration;un=un>1?1:un;const Yn=dt.easing(un);dt.currentX=dt.startX+(dt.x-dt.startX)*Yn,dt.currentY=dt.startY+(dt.y-dt.startY)*Yn,this._scrollElement(dt.scrollable,dt.currentX,dt.currentY),Ge.schedule(()=>Tt.next(dt))})}_applyScrollToOptions(dt,Tt){if(!Tt.duration)return this._scrollElement(dt,Tt.left,Tt.top),Promise.resolve();const un=this._initSmoothScroll(dt),Yn={scrollable:dt,startTime:this._now(),startX:dt.scrollLeft,startY:dt.scrollTop,x:null==Tt.left?dt.scrollLeft:~~Tt.left,y:null==Tt.top?dt.scrollTop:~~Tt.top,duration:Tt.duration,easing:bn(Tt.easing.x1,Tt.easing.y1,Tt.easing.x2,Tt.easing.y2)};return new Promise(Ui=>{(0,Se.of)(null).pipe(function Or(St,En=1/0,dt){return En=(En||0)<1?1/0:En,(0,Qe.e)((Tt,un)=>(0,co.p)(Tt,un,St,En,void 0,!0,dt))}(()=>this._step(Yn).pipe(function Dr(St,En=!1){return(0,Qe.e)((dt,Tt)=>{let un=0;dt.subscribe((0,pt.x)(Tt,Yn=>{const Ui=St(Yn,un++);(Ui||En)&&Tt.next(Yn),!Ui&&Tt.complete()}))})}(Gi=>this._isFinished(Gi,un,Ui)))),(0,X.R)(this._interrupted(dt,un)),(0,bs.x)(()=>this._destroy(dt,un))).subscribe()})}scrollTo(dt,Tt){if((0,t.NF)(this._platform)){const un=this._getElement(dt),Yn="rtl"===getComputedStyle(un).direction,Ui=cn(),Gi={...this._defaultOptions,...Tt,left:null==Tt.left?Yn?Tt.end:Tt.start:Tt.left,right:null==Tt.right?Yn?Tt.start:Tt.end:Tt.right};return null!=Gi.bottom&&(Gi.top=un.scrollHeight-un.clientHeight-Gi.bottom),Yn&&0!==Ui?(null!=Gi.left&&(Gi.right=un.scrollWidth-un.clientWidth-Gi.left),2===Ui?Gi.left=Gi.right:1===Ui&&(Gi.left=Gi.right?-Gi.right:Gi.right)):null!=Gi.right&&(Gi.left=un.scrollWidth-un.clientWidth-Gi.right),this._applyScrollToOptions(un,Gi)}return Promise.resolve()}scrollToElement(dt,Tt,un={}){const Yn=this._getElement(dt),Ui=this._getElement(Tt,Yn),Gi={...un,left:Ui.offsetLeft+(un.left||0),top:Ui.offsetTop+(un.top||0)};return Ui?this.scrollTo(Yn,Gi):Promise.resolve()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(t.K0),i.LFG(i.Lbi),i.LFG(mi,8))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();const Ur=["scrollbarY"],mn=["scrollbarX"];function Xe(St,En){if(1&St&&i._UZ(0,"scrollbar-x",null,4),2&St){const dt=i.oxw(2);i.uIk("scrollable",dt.state.isHorizontallyScrollable)("fit",dt.state.verticalUsed)}}function ke(St,En){if(1&St&&i._UZ(0,"scrollbar-y",null,5),2&St){const dt=i.oxw(2);i.uIk("scrollable",dt.state.isVerticallyScrollable)("fit",dt.state.horizontalUsed)}}function ge(St,En){if(1&St&&(i.ynx(0),i.YNc(1,Xe,2,2,"scrollbar-x",3),i.YNc(2,ke,2,2,"scrollbar-y",3),i.BQk()),2&St){const dt=i.oxw();i.xp6(1),i.Q6J("ngIf",dt.state.horizontalUsed),i.xp6(1),i.Q6J("ngIf",dt.state.verticalUsed)}}const Ae=["*"];let it=(()=>{class St{constructor(dt){this.el=dt}set ngAttr(dt){for(const[Tt,un]of Object.entries(dt))this.el.nativeElement.setAttribute(Tt,un)}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","ngAttr",""]],inputs:{ngAttr:"ngAttr"},standalone:!0})}return St})();function Ht(St){return(0,N.b)(()=>{St.onselectstart=()=>!1})}function Kt(St){return(0,N.b)(()=>{St.onselectstart=null})}function yn(){return(0,N.b)(St=>St.stopPropagation())}function Tn(St,En){return St.clientX>=En.left&&St.clientX<=En.left+En.width&&St.clientY>=En.top&&St.clientY<=En.top+En.height}let pi=(()=>{class St{get clientHeight(){return this.nativeElement.clientHeight}get clientWidth(){return this.nativeElement.clientWidth}get scrollHeight(){return this.nativeElement.scrollHeight}get scrollWidth(){return this.nativeElement.scrollWidth}get scrollTop(){return this.nativeElement.scrollTop}get scrollLeft(){return this.nativeElement.scrollLeft}get scrollMaxX(){return this.scrollWidth-this.clientWidth}get scrollMaxY(){return this.scrollHeight-this.clientHeight}get contentHeight(){return this.contentWrapperElement?.clientHeight||0}get contentWidth(){return this.contentWrapperElement?.clientWidth||0}constructor(dt){this.viewPort=dt,this.nativeElement=dt.nativeElement}activatePointerEvents(dt,Tt){this.hovered=new x.y(un=>{const Yn=(0,H.R)(this.nativeElement,"mousemove",{passive:!0}),Ui=dt?Yn:Yn.pipe(yn()),Gi=(0,H.R)(this.nativeElement,"mouseleave",{passive:!0}).pipe((0,k.U)(()=>!1));(0,P.T)(Ui,Gi).pipe((0,N.b)(_r=>un.next(_r)),(0,X.R)(Tt)).subscribe()}),this.clicked=new x.y(un=>{const Yn=(0,H.R)(this.nativeElement,"mousedown",{passive:!0}).pipe((0,N.b)(Gi=>un.next(Gi))),Ui=(0,H.R)(this.nativeElement,"mouseup",{passive:!0}).pipe((0,N.b)(()=>un.next(!1)));Yn.pipe((0,me.w)(()=>Ui),(0,X.R)(Tt)).subscribe()})}setAsWrapper(){this.nativeElement.className="ng-native-scrollbar-hider ng-scroll-layer",this.nativeElement.firstElementChild&&(this.nativeElement.firstElementChild.className="ng-scroll-layer")}setAsViewport(dt){this.nativeElement.className+=` ng-native-scrollbar-hider ng-scroll-viewport ${dt}`,this.nativeElement.firstElementChild&&(this.contentWrapperElement=this.nativeElement.firstElementChild,this.contentWrapperElement.classList.add("ng-scroll-content"))}scrollYTo(dt){this.nativeElement.scrollTop=dt}scrollXTo(dt){this.nativeElement.scrollLeft=dt}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollViewport",""]],standalone:!0})}return St})(),nn=(()=>{class St{static#e=this.\u0275fac=function(Tt){return new(Tt||St)};static#t=this.\u0275dir=i.lG2({type:St})}return St})(),Ti=(()=>{class St{get clicked(){const dt=(0,H.R)(this.trackElement,"mousedown",{passive:!0}).pipe(yn(),Ht(this.document)),Tt=(0,H.R)(this.document,"mouseup",{passive:!0}).pipe(yn(),Kt(this.document),(0,me.w)(()=>Oe.E));return(0,P.T)(dt,Tt)}get clientRect(){return this.trackElement.getBoundingClientRect()}constructor(dt,Tt,un){this.cmp=dt,this.trackElement=Tt,this.document=un}onTrackClicked(dt,Tt,un){return(0,Se.of)(dt).pipe((0,k.U)(Yn=>Yn[this.pageProperty]),(0,k.U)(Yn=>(Yn-this.offset-Tt/2)/this.size*un),(0,N.b)(Yn=>{this.cmp.scrollTo({...this.mapToScrollToOption(Yn),duration:a(this.cmp.trackClickScrollDuration)})}))}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(HTMLElement),i.Y36(Document))};static#t=this.\u0275dir=i.lG2({type:St})}return St})(),yi=(()=>{class St extends Ti{get pageProperty(){return"pageX"}get offset(){return this.clientRect.left}get size(){return this.trackElement.clientWidth}constructor(dt,Tt,un){super(dt,Tt.nativeElement,un),this.cmp=dt,this.document=un}mapToScrollToOption(dt){return{left:dt}}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(i.SBq),i.Y36(t.K0))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarTrackX",""]],standalone:!0,features:[i.qOj]})}return St})(),Hr=(()=>{class St extends Ti{get pageProperty(){return"pageY"}get offset(){return this.clientRect.top}get size(){return this.trackElement.clientHeight}constructor(dt,Tt,un){super(dt,Tt.nativeElement,un),this.cmp=dt,this.document=un}mapToScrollToOption(dt){return{top:dt}}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(i.SBq),i.Y36(t.K0))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarTrackY",""]],standalone:!0,features:[i.qOj]})}return St})(),ss=(()=>{class St{get trackMax(){return this.track.size-this.size}get clientRect(){return this.thumbElement.getBoundingClientRect()}get clicked(){return(0,H.R)(this.thumbElement,"mousedown",{passive:!0}).pipe(yn())}constructor(dt,Tt,un,Yn){this.cmp=dt,this.track=Tt,this.thumbElement=un,this.document=Yn,this._dragging=new wt.x,this.dragging=this._dragging.pipe((0,K.x)())}update(){const dt=function wr(St,En,dt){return Math.max(~~(St/En*St),dt)}(this.track.size,this.viewportScrollSize,this.cmp.minThumbSize),Tt=function Ki(St,En,dt){return St*dt/En}(this.viewportScrollOffset,this.viewportScrollMax,this.trackMax);Ge.schedule(()=>this.updateStyles(this.handleDirection(Tt,this.trackMax),dt))}dragged(dt){let Tt,un;const Yn=(0,Se.of)(dt).pipe(Ht(this.document),(0,N.b)(()=>{Tt=this.trackMax,un=this.viewportScrollMax,this.setDragging(!0)})),Ui=(0,H.R)(this.document,"mousemove",{capture:!0,passive:!0}).pipe(yn()),Gi=(0,H.R)(this.document,"mouseup",{capture:!0}).pipe(yn(),Kt(this.document),(0,N.b)(()=>this.setDragging(!1)));return Yn.pipe((0,k.U)(_r=>_r[this.pageProperty]),(0,k.U)(_r=>_r-this.dragStartOffset),(0,Ze.z)(_r=>Ui.pipe((0,k.U)(us=>us[this.clientProperty]),(0,k.U)(us=>us-this.track.offset),(0,k.U)(us=>un*(us-_r)/Tt),(0,k.U)(us=>this.handleDrag(us,un)),(0,N.b)(us=>this.scrollTo(us)),(0,X.R)(Gi))))}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(Ti),i.Y36(HTMLElement),i.Y36(Document))};static#t=this.\u0275dir=i.lG2({type:St,outputs:{dragging:"dragging"}})}return St})(),yr=(()=>{class St extends ss{get clientProperty(){return"clientX"}get pageProperty(){return"pageX"}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}get viewportScrollOffset(){return this.cmp.viewport.scrollLeft}get viewportScrollMax(){return this.cmp.viewport.scrollMaxX}get dragStartOffset(){return this.clientRect.left+this.document.defaultView.pageXOffset||0}get size(){return this.thumbElement.clientWidth}constructor(dt,Tt,un,Yn,Ui){super(dt,Tt,un.nativeElement,Yn),this.cmp=dt,this.track=Tt,this.element=un,this.document=Yn,this.dir=Ui}updateStyles(dt,Tt){this.thumbElement.style.width=`${Tt}px`,this.thumbElement.style.transform=`translate3d(${dt}px, 0, 0)`}handleDrag(dt,Tt){if("rtl"===this.dir.value){if(1===this.cmp.manager.rtlScrollAxisType)return dt-Tt;if(2===this.cmp.manager.rtlScrollAxisType)return Tt-dt}return dt}handleDirection(dt,Tt){if("rtl"===this.dir.value){if(2===this.cmp.manager.rtlScrollAxisType)return-dt;if(0===this.cmp.manager.rtlScrollAxisType)return dt-Tt}return dt}setDragging(dt){this.cmp.setDragging({horizontalDragging:dt})}scrollTo(dt){this.cmp.viewport.scrollXTo(dt)}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(yi),i.Y36(i.SBq),i.Y36(t.K0),i.Y36(xn))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarThumbX",""]],standalone:!0,features:[i.qOj]})}return St})(),jr=(()=>{class St extends ss{get pageProperty(){return"pageY"}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}get viewportScrollOffset(){return this.cmp.viewport.scrollTop}get viewportScrollMax(){return this.cmp.viewport.scrollMaxY}get clientProperty(){return"clientY"}get dragStartOffset(){return this.clientRect.top+this.document.defaultView.pageYOffset||0}get size(){return this.thumbElement.clientHeight}constructor(dt,Tt,un,Yn){super(dt,Tt,un.nativeElement,Yn),this.cmp=dt,this.track=Tt,this.element=un,this.document=Yn}updateStyles(dt,Tt){this.thumbElement.style.height=`${Tt}px`,this.thumbElement.style.transform=`translate3d(0px, ${dt}px, 0)`}handleDrag(dt){return dt}handleDirection(dt){return dt}setDragging(dt){this.cmp.setDragging({verticalDragging:dt})}scrollTo(dt){this.cmp.viewport.scrollYTo(dt)}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(Hr),i.Y36(i.SBq),i.Y36(t.K0))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarThumbY",""]],standalone:!0,features:[i.qOj]})}return St})(),xs=(()=>{class St{constructor(dt,Tt,un,Yn,Ui){this.el=dt,this.cmp=Tt,this.platform=un,this.document=Yn,this.zone=Ui,this.destroyed=new wt.x}activatePointerEvents(){let dt,Tt,un;return"viewport"===this.cmp.pointerEventsMethod?(this.viewportTrackClicked=new wt.x,this.viewportThumbClicked=new wt.x,this.cmp.viewport.activatePointerEvents(this.cmp.viewportPropagateMouseMove,this.destroyed),dt=this.viewportThumbClicked,Tt=this.viewportTrackClicked,un=this.cmp.viewport.hovered.pipe((0,k.U)(Yn=>!!Yn&&Tn(Yn,this.el.getBoundingClientRect())),(0,K.x)(),(0,N.b)(Yn=>this.document.onselectstart=Yn?()=>!1:null)),this.cmp.viewport.clicked.pipe((0,N.b)(Yn=>{Yn?Tn(Yn,this.thumb.clientRect)?this.viewportThumbClicked.next(Yn):Tn(Yn,this.track.clientRect)&&(this.cmp.setClicked(!0),this.viewportTrackClicked.next(Yn)):this.cmp.setClicked(!1)}),(0,X.R)(this.destroyed)).subscribe()):(dt=this.thumb.clicked,Tt=this.track.clicked,un=this.hovered),(0,P.T)(un.pipe((0,N.b)(Yn=>this.setHovered(Yn))),dt.pipe((0,me.w)(Yn=>this.thumb.dragged(Yn))),Tt.pipe((0,me.w)(Yn=>this.track.onTrackClicked(Yn,this.thumb.size,this.viewportScrollSize))))}get hovered(){const dt=(0,H.R)(this.el,"mouseenter",{passive:!0}).pipe(yn(),(0,k.U)(()=>!0)),Tt=(0,H.R)(this.el,"mouseleave",{passive:!0}).pipe(yn(),(0,k.U)(()=>!1));return(0,P.T)(dt,Tt)}ngOnInit(){this.zone.runOutsideAngular(()=>{!(this.platform.IOS||this.platform.ANDROID)&&!this.cmp.pointerEventsDisabled&&this.activatePointerEvents().pipe((0,X.R)(this.destroyed)).subscribe(),(0,P.T)(this.cmp.scrolled,this.cmp.updated).pipe((0,N.b)(()=>this.thumb?.update()),(0,X.R)(this.destroyed)).subscribe()})}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.viewportThumbClicked&&this.viewportTrackClicked&&(this.viewportTrackClicked.complete(),this.viewportThumbClicked.complete())}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(HTMLElement),i.Y36(nn),i.Y36(di),i.Y36(Document),i.Y36(i.R0b))};static#t=this.\u0275dir=i.lG2({type:St})}return St})(),Co=(()=>{class St extends xs{get viewportScrollSize(){return this.cmp.viewport.scrollHeight}constructor(dt,Tt,un,Yn,Ui){super(dt.nativeElement,Tt,un,Yn,Ui),this.cmp=Tt,this.platform=un,this.document=Yn,this.zone=Ui}setHovered(dt){this.cmp.setHovered({verticalHovered:dt})}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(nn),i.Y36(di),i.Y36(t.K0),i.Y36(i.R0b))};static#t=this.\u0275cmp=i.Xpm({type:St,selectors:[["scrollbar-y"]],viewQuery:function(Tt,un){if(1&Tt&&(i.Gf(Hr,7),i.Gf(jr,7)),2&Tt){let Yn;i.iGM(Yn=i.CRH())&&(un.track=Yn.first),i.iGM(Yn=i.CRH())&&(un.thumb=Yn.first)}},hostVars:2,hostBindings:function(Tt,un){2&Tt&&i.ekj("scrollbar-control",!0)},standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:6,consts:[["scrollbarTrackY",""],["scrollbarThumbY",""]],template:function(Tt,un){1&Tt&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.qZA()),2&Tt&&(i.Gre("ng-scrollbar-track ",un.cmp.trackClass,""),i.xp6(1),i.Gre("ng-scrollbar-thumb ",un.cmp.thumbClass,""))},dependencies:[Hr,jr],styles:[".ng-scrollbar-wrapper>scrollbar-y.scrollbar-control{width:var(--vertical-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track{width:var(--vertical-scrollbar-size);height:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{height:0;width:100%} .ng-scrollbar-wrapper[verticalHovered=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[verticalDragging=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-y.scrollbar-control{top:0;bottom:0} .ng-scrollbar-wrapper[deactivated=false][dir=ltr]>scrollbar-y.scrollbar-control{right:0;left:unset} .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertAll]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertAll]>scrollbar-y.scrollbar-control{left:unset;right:0} .ng-scrollbar-wrapper[deactivated=false][track=all]>scrollbar-y.scrollbar-control[fit=true]{bottom:var(--scrollbar-total-size);top:0} .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertX]>scrollbar-y.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertAll]>scrollbar-y.scrollbar-control[fit=true]{top:var(--scrollbar-total-size);bottom:0}"],changeDetection:0})}return St})(),ns=(()=>{class St extends xs{get viewportScrollSize(){return this.cmp.viewport.scrollWidth}constructor(dt,Tt,un,Yn,Ui){super(dt.nativeElement,Tt,un,Yn,Ui),this.cmp=Tt,this.platform=un,this.document=Yn,this.zone=Ui}setHovered(dt){this.cmp.setHovered({horizontalHovered:dt})}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(nn),i.Y36(di),i.Y36(t.K0),i.Y36(i.R0b))};static#t=this.\u0275cmp=i.Xpm({type:St,selectors:[["scrollbar-x"]],viewQuery:function(Tt,un){if(1&Tt&&(i.Gf(yi,7),i.Gf(yr,7)),2&Tt){let Yn;i.iGM(Yn=i.CRH())&&(un.track=Yn.first),i.iGM(Yn=i.CRH())&&(un.thumb=Yn.first)}},hostVars:2,hostBindings:function(Tt,un){2&Tt&&i.ekj("scrollbar-control",!0)},standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:6,consts:[["scrollbarTrackX",""],["scrollbarThumbX",""]],template:function(Tt,un){1&Tt&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.qZA()),2&Tt&&(i.Gre("ng-scrollbar-track ",un.cmp.trackClass,""),i.xp6(1),i.Gre("ng-scrollbar-thumb ",un.cmp.thumbClass,""))},dependencies:[yi,yr],styles:[".ng-scrollbar-wrapper>scrollbar-x.scrollbar-control{height:var(--horizontal-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track{height:var(--horizontal-scrollbar-size);width:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{width:0;height:100%} .ng-scrollbar-wrapper[horizontalHovered=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[horizontalDragging=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-x.scrollbar-control{left:0;right:0;bottom:0;top:unset} .ng-scrollbar-wrapper[deactivated=false][position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0}"],changeDetection:0})}return St})();const Nr=new i.OlP("NG_SCROLLBAR_OPTIONS"),To={viewClass:"",trackClass:"",thumbClass:"",track:"vertical",appearance:"compact",visibility:"native",position:"native",pointerEventsMethod:"viewport",trackClickScrollDuration:300,minThumbSize:20,windowResizeDebounce:0,sensorDebounce:0,scrollAuditTime:0,viewportPropagateMouseMove:!0,autoHeightDisabled:!0,autoWidthDisabled:!0,sensorDisabled:!1,pointerEventsDisabled:!1};let Bs=(()=>{class St{constructor(dt){this.globalOptions=dt?{...To,...dt}:To,this.rtlScrollAxisType=cn()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(Nr,8))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),Eo=(()=>{class St{constructor(dt,Tt,un){this.document=dt,this.manager=Tt,this.platform=un,this._scrollbarSize=new Je.X(this.getNativeScrollbarSize()),this.scrollbarSize=this._scrollbarSize.asObservable(),un.isBrowser&&(0,H.R)(this.document.defaultView,"resize",{passive:!0}).pipe(Nt(this.manager.globalOptions.windowResizeDebounce),(0,k.U)(()=>this.getNativeScrollbarSize()),(0,K.x)(),(0,N.b)(Yn=>this._scrollbarSize.next(Yn))).subscribe()}getNativeScrollbarSize(){if(!this.platform.isBrowser)return 0;if(this.platform.IOS)return 6;const dt=this.document.createElement("div");dt.className="ng-scrollbar-measure",dt.style.left="0px",dt.style.overflow="scroll",dt.style.position="fixed",dt.style.top="-9999px",this.document.body.appendChild(dt);const Tt=dt.getBoundingClientRect().right;return this.document.body.removeChild(dt),Tt}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(t.K0),i.LFG(Bs),i.LFG(di))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),wo=(()=>{class St{constructor(dt,Tt,un){this.renderer=Tt,this.hideNativeScrollbar=un,this._subscriber=J.w0.EMPTY,this._subscriber=un.scrollbarSize.subscribe(Yn=>{this.renderer.setStyle(dt.nativeElement,"--native-scrollbar-size",`-${Yn}px`,i.JOm.DashCase)})}ngOnDestroy(){this._subscriber.unsubscribe()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Eo))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","hideNativeScrollbar",""]],standalone:!0})}return St})(),Ra=(()=>{class St{get debounce(){return this._debounce}set debounce(dt){this._debounce=a(dt),this._subscribe()}get disabled(){return this._disabled}set disabled(dt){this._disabled=A(dt),this._disabled?this._unsubscribe():this._subscribe()}constructor(dt,Tt,un){if(this.zone=dt,this.platform=Tt,this.scrollbar=un,this._disabled=!1,this._currentSubscription=null,this.event=new i.vpe,!un)throw new Error("[NgScrollbar Resize Sensor Directive]: Host element must be an NgScrollbar component.")}ngAfterContentInit(){!this._currentSubscription&&!this._disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){if(this._unsubscribe(),this.platform.isBrowser){const dt=new x.y(Tt=>{this._resizeObserver=new ResizeObserver(un=>Tt.next(un)),this._resizeObserver.observe(this.scrollbar.viewport.nativeElement),this.scrollbar.viewport.contentWrapperElement&&this._resizeObserver.observe(this.scrollbar.viewport.contentWrapperElement)});this.zone.runOutsideAngular(()=>{this._currentSubscription=(this._debounce?dt.pipe(Nt(this._debounce)):dt).subscribe(this.event)})}}_unsubscribe(){this._resizeObserver?.disconnect(),this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.R0b),i.Y36(di),i.Y36(nn))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","resizeSensor",""]],inputs:{debounce:["sensorDebounce","debounce"],disabled:["sensorDisabled","disabled"]},outputs:{event:"resizeSensor"},standalone:!0})}return St})(),Ps=(()=>{class St{get disabled(){return this._disabled}set disabled(dt){this._disabled=A(dt)}get sensorDisabled(){return this._sensorDisabled}set sensorDisabled(dt){this._sensorDisabled=A(dt)}get pointerEventsDisabled(){return this._pointerEventsDisabled}set pointerEventsDisabled(dt){this._pointerEventsDisabled=A(dt)}get viewportPropagateMouseMove(){return this._viewportPropagateMouseMove}set viewportPropagateMouseMove(dt){this._viewportPropagateMouseMove=A(dt)}get autoHeightDisabled(){return this._autoHeightDisabled}set autoHeightDisabled(dt){this._autoHeightDisabled=A(dt)}get autoWidthDisabled(){return this._autoWidthDisabled}set autoWidthDisabled(dt){this._autoWidthDisabled=A(dt)}get nativeElement(){return this.el.nativeElement}constructor(dt,Tt,un,Yn,Ui,Gi){this.el=dt,this.zone=Tt,this.changeDetectorRef=un,this.dir=Yn,this.smoothScroll=Ui,this.manager=Gi,this._disabled=!1,this._sensorDisabled=this.manager.globalOptions.sensorDisabled,this._pointerEventsDisabled=this.manager.globalOptions.pointerEventsDisabled,this._autoHeightDisabled=this.manager.globalOptions.autoHeightDisabled,this._autoWidthDisabled=this.manager.globalOptions.autoWidthDisabled,this._viewportPropagateMouseMove=this.manager.globalOptions.viewportPropagateMouseMove,this.viewClass=this.manager.globalOptions.viewClass,this.trackClass=this.manager.globalOptions.trackClass,this.thumbClass=this.manager.globalOptions.thumbClass,this.minThumbSize=this.manager.globalOptions.minThumbSize,this.trackClickScrollDuration=this.manager.globalOptions.trackClickScrollDuration,this.pointerEventsMethod=this.manager.globalOptions.pointerEventsMethod,this.track=this.manager.globalOptions.track,this.visibility=this.manager.globalOptions.visibility,this.appearance=this.manager.globalOptions.appearance,this.position=this.manager.globalOptions.position,this.sensorDebounce=this.manager.globalOptions.sensorDebounce,this.scrollAuditTime=this.manager.globalOptions.scrollAuditTime,this.updated=new i.vpe,this.state={},this.destroyed=new wt.x}updateState(){let dt=!1,Tt=!1,un=!1,Yn=!1;("all"===this.track||"vertical"===this.track)&&(un=this.viewport.scrollHeight>this.viewport.clientHeight,dt="always"===this.visibility||un),("all"===this.track||"horizontal"===this.track)&&(Yn=this.viewport.scrollWidth>this.viewport.clientWidth,Tt="always"===this.visibility||Yn),this.setState({position:this.position,track:this.track,appearance:this.appearance,visibility:this.visibility,deactivated:this.disabled,dir:this.dir.value,pointerEventsMethod:this.pointerEventsMethod,verticalUsed:dt,horizontalUsed:Tt,isVerticallyScrollable:un,isHorizontallyScrollable:Yn})}setState(dt){this.state={...this.state,...dt},this.changeDetectorRef.detectChanges()}getScrolledByDirection(dt){let Tt;return this.scrolled.pipe((0,N.b)(un=>Tt=un),(0,k.U)(un=>un.target[dt]),function Jt(){return(0,Qe.e)((St,En)=>{let dt,Tt=!1;St.subscribe((0,pt.x)(En,un=>{const Yn=dt;dt=un,Tt&&En.next([Yn,un]),Tt=!0}))})}(),(0,nt.h)(([un,Yn])=>un!==Yn),(0,k.U)(()=>Tt))}setHovered(dt){this.zone.run(()=>this.setState({...dt}))}setDragging(dt){this.zone.run(()=>this.setState({...dt}))}setClicked(dt){this.zone.run(()=>this.setState({scrollbarClicked:dt}))}ngOnInit(){this.zone.runOutsideAngular(()=>{this.customViewPort?(this.viewport=this.customViewPort,this.defaultViewPort.setAsWrapper()):this.viewport=this.defaultViewPort,this.viewport.setAsViewport(this.viewClass);let dt=(0,H.R)(this.viewport.nativeElement,"scroll",{passive:!0});dt=this.scrollAuditTime?dt.pipe(function mt(St,En=tt.z){return function Ct(St){return(0,Qe.e)((En,dt)=>{let Tt=!1,un=null,Yn=null,Ui=!1;const Gi=()=>{if(Yn?.unsubscribe(),Yn=null,Tt){Tt=!1;const us=un;un=null,dt.next(us)}Ui&&dt.complete()},_r=()=>{Yn=null,Ui&&dt.complete()};En.subscribe((0,pt.x)(dt,us=>{Tt=!0,un=us,Yn||(0,ot.Xf)(St(us)).subscribe(Yn=(0,pt.x)(dt,Gi,_r))},()=>{Ui=!0,(!Tt||!Yn||Yn.closed)&&dt.complete()}))})}(()=>(0,He.H)(St,En))}(this.scrollAuditTime)):dt,this.scrolled=dt.pipe((0,X.R)(this.destroyed)),this.verticalScrolled=this.getScrolledByDirection("scrollTop"),this.horizontalScrolled=this.getScrolledByDirection("scrollLeft")})}ngOnChanges(dt){this.viewport&&this.update()}ngAfterViewInit(){this.update(),this.dir.change.pipe((0,N.b)(()=>this.update()),(0,X.R)(this.destroyed)).subscribe()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}update(){this.autoHeightDisabled||this.updateHeight(),this.autoWidthDisabled||this.updateWidth(),this.updateState(),this.updated.next()}scrollTo(dt){return this.smoothScroll.scrollTo(this.viewport.nativeElement,dt)}scrollToElement(dt,Tt){return this.smoothScroll.scrollToElement(this.viewport.nativeElement,dt,Tt)}updateHeight(){this.nativeElement.style.height="standard"===this.appearance&&this.scrollbarX?`${this.viewport.contentHeight+this.scrollbarX.nativeElement.clientHeight}px`:`${this.viewport.contentHeight}px`}updateWidth(){this.nativeElement.style.width="standard"===this.appearance&&this.scrollbarY?`${this.viewport.contentWidth+this.scrollbarY.nativeElement.clientWidth}px`:`${this.viewport.contentWidth}px`}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(xn),i.Y36(rr),i.Y36(Bs))};static#t=this.\u0275cmp=i.Xpm({type:St,selectors:[["ng-scrollbar"]],contentQueries:function(Tt,un,Yn){if(1&Tt&&i.Suo(Yn,pi,7),2&Tt){let Ui;i.iGM(Ui=i.CRH())&&(un.customViewPort=Ui.first)}},viewQuery:function(Tt,un){if(1&Tt&&(i.Gf(Ur,5,i.SBq),i.Gf(mn,5,i.SBq),i.Gf(pi,7)),2&Tt){let Yn;i.iGM(Yn=i.CRH())&&(un.scrollbarY=Yn.first),i.iGM(Yn=i.CRH())&&(un.scrollbarX=Yn.first),i.iGM(Yn=i.CRH())&&(un.defaultViewPort=Yn.first)}},hostVars:2,hostBindings:function(Tt,un){2&Tt&&i.ekj("ng-scrollbar",!0)},inputs:{disabled:"disabled",sensorDisabled:"sensorDisabled",pointerEventsDisabled:"pointerEventsDisabled",viewportPropagateMouseMove:"viewportPropagateMouseMove",autoHeightDisabled:"autoHeightDisabled",autoWidthDisabled:"autoWidthDisabled",viewClass:"viewClass",trackClass:"trackClass",thumbClass:"thumbClass",minThumbSize:"minThumbSize",trackClickScrollDuration:"trackClickScrollDuration",pointerEventsMethod:"pointerEventsMethod",track:"track",visibility:"visibility",appearance:"appearance",position:"position",sensorDebounce:"sensorDebounce",scrollAuditTime:"scrollAuditTime"},outputs:{updated:"updated"},exportAs:["ngScrollbar"],standalone:!0,features:[i._Bn([{provide:nn,useExisting:St}]),i.TTD,i.jDz],ngContentSelectors:Ae,decls:6,vars:4,consts:[[1,"ng-scrollbar-wrapper",3,"ngAttr"],[1,"ng-scroll-viewport-wrapper",3,"sensorDebounce","sensorDisabled","resizeSensor"],["scrollViewport","","hideNativeScrollbar",""],[4,"ngIf"],["scrollbarX",""],["scrollbarY",""]],template:function(Tt,un){1&Tt&&(i.F$t(),i.TgZ(0,"div",0)(1,"div",1),i.NdJ("resizeSensor",function(){return un.update()}),i.TgZ(2,"div",2)(3,"div"),i.Hsn(4),i.qZA()()(),i.YNc(5,ge,3,2,"ng-container",3),i.qZA()),2&Tt&&(i.Q6J("ngAttr",un.state),i.xp6(1),i.Q6J("sensorDebounce",un.sensorDebounce)("sensorDisabled",un.sensorDisabled),i.xp6(4),i.Q6J("ngIf",!un.disabled))},dependencies:[t.O5,it,Ra,pi,wo,ns,Co],styles:[".ng-scrollbar-measure{scrollbar-width:none;-ms-overflow-style:none} .ng-scrollbar-measure::-webkit-scrollbar{display:none}[_nghost-%COMP%]{--scrollbar-border-radius: 7px;--scrollbar-padding: 4px;--scrollbar-track-color: transparent;--scrollbar-thumb-color: rgba(0, 0, 0, .2);--scrollbar-thumb-hover-color: var(--scrollbar-thumb-color);--scrollbar-size: 5px;--scrollbar-hover-size: var(--scrollbar-size);--scrollbar-overscroll-behavior: initial;--scrollbar-transition-duration: .4s;--scrollbar-transition-delay: .8s;--scrollbar-thumb-transition: height ease-out .15s, width ease-out .15s;--scrollbar-track-transition: height ease-out .15s, width ease-out .15s;display:block;position:relative;height:100%;max-height:100%;max-width:100%;box-sizing:content-box!important}[_nghost-%COMP%] > .ng-scrollbar-wrapper[_ngcontent-%COMP%]{--scrollbar-total-size: calc(var(--scrollbar-size) + var(--scrollbar-padding) * 2);--vertical-scrollbar-size: var(--scrollbar-size);--horizontal-scrollbar-size: var(--scrollbar-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalDragging=true][_ngcontent-%COMP%]{--vertical-scrollbar-size: var(--scrollbar-hover-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalDragging=true][_ngcontent-%COMP%]{--horizontal-scrollbar-size: var(--scrollbar-hover-size);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:0;bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:var(--scrollbar-total-size);bottom:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport::-webkit-scrollbar{display:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{bottom:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{left:0;right:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{right:0;left:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%] > .scrollbar-control[_ngcontent-%COMP%]{opacity:0;transition-property:opacity;transition-duration:var(--scrollbar-transition-duration);transition-delay:var(--scrollbar-transition-delay)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:hover > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:active > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:focus > .scrollbar-control[_ngcontent-%COMP%]{opacity:1;transition-duration:var(--scrollbar-transition-duration);transition-delay:0ms}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-x:auto;overflow-y:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow:auto}.ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{overflow:hidden}.ng-scroll-viewport[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;contain:strict;will-change:scroll-position;overscroll-behavior:var(--scrollbar-overscroll-behavior)} .ng-scroll-content{display:inline-block;min-width:100%}.ng-scrollbar-wrapper[_ngcontent-%COMP%], .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], .ng-scroll-layer[_ngcontent-%COMP%], .ng-scroll-viewport{position:absolute;inset:0}",".ng-scrollbar-wrapper[pointerEventsMethod=viewport]>.scrollbar-control{pointer-events:none} .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport{-webkit-user-select:none;-moz-user-select:none;user-select:none} .ng-scrollbar-wrapper>.scrollbar-control{position:absolute;display:flex;justify-content:center;align-items:center;transition:var(--scrollbar-track-transition)} .ng-scrollbar-wrapper>.scrollbar-control[scrollable=false] .ng-scrollbar-thumb{display:none} .ng-scrollbar-track{height:100%;width:100%;z-index:1;border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-track-color);overflow:hidden;transition:var(--scrollbar-track-transition);cursor:default} .ng-scrollbar-thumb{box-sizing:border-box;position:relative;border-radius:inherit;background-color:var(--scrollbar-thumb-color);transform:translateZ(0);transition:var(--scrollbar-thumb-transition)}"],changeDetection:0})}return St})(),Ds=(()=>{class St{static#e=this.\u0275fac=function(Tt){return new(Tt||St)};static#t=this.\u0275mod=i.oAB({type:St});static#n=this.\u0275inj=i.cJS({})}return St})()},9838:(lt,_e,m)=>{"use strict";m.d(_e,{$_:()=>Oe,F0:()=>k,Y:()=>V,b4:()=>X,h4:()=>me,iZ:()=>x,jx:()=>Se,m8:()=>wt,ws:()=>K});var i=m(755),t=m(8748),A=m(8393),a=m(6733);const y=["*"];let j=(()=>class J{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),x=(()=>{class J{filter(oe,ye,Ee,Ge,gt){let Ze=[];if(oe)for(let Je of oe)for(let tt of ye){let Qe=A.gb.resolveFieldData(Je,tt);if(this.filters[Ge](Qe,Ee,gt)){Ze.push(Je);break}}return Ze}filters={startsWith:(oe,ye,Ee)=>{if(null==ye||""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee);return A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee).slice(0,Ge.length)===Ge},contains:(oe,ye,Ee)=>{if(null==ye||"string"==typeof ye&&""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee);return-1!==A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee).indexOf(Ge)},notContains:(oe,ye,Ee)=>{if(null==ye||"string"==typeof ye&&""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee);return-1===A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee).indexOf(Ge)},endsWith:(oe,ye,Ee)=>{if(null==ye||""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee),gt=A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee);return-1!==gt.indexOf(Ge,gt.length-Ge.length)},equals:(oe,ye,Ee)=>null==ye||"string"==typeof ye&&""===ye.trim()||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()===ye.getTime():A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee)==A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee)),notEquals:(oe,ye,Ee)=>!(null==ye||"string"==typeof ye&&""===ye.trim()||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()===ye.getTime():A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee)==A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee))),in:(oe,ye)=>{if(null==ye||0===ye.length)return!0;for(let Ee=0;Eenull==ye||null==ye[0]||null==ye[1]||null!=oe&&(oe.getTime?ye[0].getTime()<=oe.getTime()&&oe.getTime()<=ye[1].getTime():ye[0]<=oe&&oe<=ye[1]),lt:(oe,ye,Ee)=>null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()<=ye.getTime():oe<=ye),gt:(oe,ye,Ee)=>null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()>ye.getTime():oe>ye),gte:(oe,ye,Ee)=>null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()>=ye.getTime():oe>=ye),is:(oe,ye,Ee)=>this.filters.equals(oe,ye,Ee),isNot:(oe,ye,Ee)=>this.filters.notEquals(oe,ye,Ee),before:(oe,ye,Ee)=>this.filters.lt(oe,ye,Ee),after:(oe,ye,Ee)=>this.filters.gt(oe,ye,Ee),dateIs:(oe,ye)=>null==ye||null!=oe&&oe.toDateString()===ye.toDateString(),dateIsNot:(oe,ye)=>null==ye||null!=oe&&oe.toDateString()!==ye.toDateString(),dateBefore:(oe,ye)=>null==ye||null!=oe&&oe.getTime()null==ye||null!=oe&&oe.getTime()>ye.getTime()};register(oe,ye){this.filters[oe]=ye}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),k=(()=>{class J{clickSource=new t.x;clickObservable=this.clickSource.asObservable();add(oe){oe&&this.clickSource.next(oe)}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),X=(()=>{class J{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[j.STARTS_WITH,j.CONTAINS,j.NOT_CONTAINS,j.ENDS_WITH,j.EQUALS,j.NOT_EQUALS],numeric:[j.EQUALS,j.NOT_EQUALS,j.LESS_THAN,j.LESS_THAN_OR_EQUAL_TO,j.GREATER_THAN,j.GREATER_THAN_OR_EQUAL_TO],date:[j.DATE_IS,j.DATE_IS_NOT,j.DATE_BEFORE,j.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new t.x;translationObserver=this.translationSource.asObservable();getTranslation(oe){return this.translation[oe]}setTranslation(oe){this.translation={...this.translation,...oe},this.translationSource.next(this.translation)}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),me=(()=>{class J{static \u0275fac=function(ye){return new(ye||J)};static \u0275cmp=i.Xpm({type:J,selectors:[["p-header"]],ngContentSelectors:y,decls:1,vars:0,template:function(ye,Ee){1&ye&&(i.F$t(),i.Hsn(0))},encapsulation:2})}return J})(),Oe=(()=>{class J{static \u0275fac=function(ye){return new(ye||J)};static \u0275cmp=i.Xpm({type:J,selectors:[["p-footer"]],ngContentSelectors:y,decls:1,vars:0,template:function(ye,Ee){1&ye&&(i.F$t(),i.Hsn(0))},encapsulation:2})}return J})(),Se=(()=>{class J{template;type;name;constructor(oe){this.template=oe}getType(){return this.name}static \u0275fac=function(ye){return new(ye||J)(i.Y36(i.Rgc))};static \u0275dir=i.lG2({type:J,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}})}return J})(),wt=(()=>{class J{static \u0275fac=function(ye){return new(ye||J)};static \u0275mod=i.oAB({type:J});static \u0275inj=i.cJS({imports:[a.ez]})}return J})(),K=(()=>class J{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage"})(),V=(()=>{class J{dragStartSource=new t.x;dragStopSource=new t.x;dragStart$=this.dragStartSource.asObservable();dragStop$=this.dragStopSource.asObservable();startDrag(oe){this.dragStartSource.next(oe)}stopDrag(oe){this.dragStopSource.next(oe)}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac})}return J})()},5315:(lt,_e,m)=>{"use strict";m.d(_e,{s:()=>a});var i=m(755),t=m(8393);const A=["*"];let a=(()=>{class y{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const b=t.gb.isEmpty(this.label);this.role=b?void 0:"img",this.ariaLabel=b?void 0:this.label,this.ariaHidden=b}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(F){return new(F||y)};static \u0275cmp=i.Xpm({type:y,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[i.jDz],ngContentSelectors:A,decls:1,vars:0,template:function(F,j){1&F&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0})}return y})()},2815:(lt,_e,m)=>{"use strict";m.d(_e,{V:()=>t,p:()=>i});let i=(()=>{class A{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(y,C){y&&C&&(y.classList?y.classList.add(C):y.className+=" "+C)}static addMultipleClasses(y,C){if(y&&C)if(y.classList){let b=C.trim().split(" ");for(let F=0;Fb.split(" ").forEach(F=>this.removeClass(y,F)))}static hasClass(y,C){return!(!y||!C)&&(y.classList?y.classList.contains(C):new RegExp("(^| )"+C+"( |$)","gi").test(y.className))}static siblings(y){return Array.prototype.filter.call(y.parentNode.children,function(C){return C!==y})}static find(y,C){return Array.from(y.querySelectorAll(C))}static findSingle(y,C){return this.isElement(y)?y.querySelector(C):null}static index(y){let C=y.parentNode.childNodes,b=0;for(var F=0;F{if(K)return"relative"===getComputedStyle(K).getPropertyValue("position")?K:b(K.parentElement)},F=y.offsetParent?{width:y.offsetWidth,height:y.offsetHeight}:this.getHiddenElementDimensions(y),j=C.offsetHeight,N=C.getBoundingClientRect(),x=this.getWindowScrollTop(),H=this.getWindowScrollLeft(),k=this.getViewport(),X=b(y)?.getBoundingClientRect()||{top:-1*x,left:-1*H};let me,Oe;N.top+j+F.height>k.height?(me=N.top-X.top-F.height,y.style.transformOrigin="bottom",N.top+me<0&&(me=-1*N.top)):(me=j+N.top-X.top,y.style.transformOrigin="top");const Se=N.left+F.width-k.width;Oe=F.width>k.width?-1*(N.left-X.left):Se>0?N.left-X.left-Se:N.left-X.left,y.style.top=me+"px",y.style.left=Oe+"px"}static absolutePosition(y,C){const b=y.offsetParent?{width:y.offsetWidth,height:y.offsetHeight}:this.getHiddenElementDimensions(y),F=b.height,j=b.width,N=C.offsetHeight,x=C.offsetWidth,H=C.getBoundingClientRect(),k=this.getWindowScrollTop(),P=this.getWindowScrollLeft(),X=this.getViewport();let me,Oe;H.top+N+F>X.height?(me=H.top+k-F,y.style.transformOrigin="bottom",me<0&&(me=k)):(me=N+H.top+k,y.style.transformOrigin="top"),Oe=H.left+j>X.width?Math.max(0,H.left+P+x-j):H.left+P,y.style.top=me+"px",y.style.left=Oe+"px"}static getParents(y,C=[]){return null===y.parentNode?C:this.getParents(y.parentNode,C.concat([y.parentNode]))}static getScrollableParents(y){let C=[];if(y){let b=this.getParents(y);const F=/(auto|scroll)/,j=N=>{let x=window.getComputedStyle(N,null);return F.test(x.getPropertyValue("overflow"))||F.test(x.getPropertyValue("overflowX"))||F.test(x.getPropertyValue("overflowY"))};for(let N of b){let x=1===N.nodeType&&N.dataset.scrollselectors;if(x){let H=x.split(",");for(let k of H){let P=this.findSingle(N,k);P&&j(P)&&C.push(P)}}9!==N.nodeType&&j(N)&&C.push(N)}}return C}static getHiddenElementOuterHeight(y){y.style.visibility="hidden",y.style.display="block";let C=y.offsetHeight;return y.style.display="none",y.style.visibility="visible",C}static getHiddenElementOuterWidth(y){y.style.visibility="hidden",y.style.display="block";let C=y.offsetWidth;return y.style.display="none",y.style.visibility="visible",C}static getHiddenElementDimensions(y){let C={};return y.style.visibility="hidden",y.style.display="block",C.width=y.offsetWidth,C.height=y.offsetHeight,y.style.display="none",y.style.visibility="visible",C}static scrollInView(y,C){let b=getComputedStyle(y).getPropertyValue("borderTopWidth"),F=b?parseFloat(b):0,j=getComputedStyle(y).getPropertyValue("paddingTop"),N=j?parseFloat(j):0,x=y.getBoundingClientRect(),k=C.getBoundingClientRect().top+document.body.scrollTop-(x.top+document.body.scrollTop)-F-N,P=y.scrollTop,X=y.clientHeight,me=this.getOuterHeight(C);k<0?y.scrollTop=P+k:k+me>X&&(y.scrollTop=P+k-X+me)}static fadeIn(y,C){y.style.opacity=0;let b=+new Date,F=0,j=function(){F=+y.style.opacity.replace(",",".")+((new Date).getTime()-b)/C,y.style.opacity=F,b=+new Date,+F<1&&(window.requestAnimationFrame&&requestAnimationFrame(j)||setTimeout(j,16))};j()}static fadeOut(y,C){var b=1,N=50/C;let x=setInterval(()=>{(b-=N)<=0&&(b=0,clearInterval(x)),y.style.opacity=b},50)}static getWindowScrollTop(){let y=document.documentElement;return(window.pageYOffset||y.scrollTop)-(y.clientTop||0)}static getWindowScrollLeft(){let y=document.documentElement;return(window.pageXOffset||y.scrollLeft)-(y.clientLeft||0)}static matches(y,C){var b=Element.prototype;return(b.matches||b.webkitMatchesSelector||b.mozMatchesSelector||b.msMatchesSelector||function(j){return-1!==[].indexOf.call(document.querySelectorAll(j),this)}).call(y,C)}static getOuterWidth(y,C){let b=y.offsetWidth;if(C){let F=getComputedStyle(y);b+=parseFloat(F.marginLeft)+parseFloat(F.marginRight)}return b}static getHorizontalPadding(y){let C=getComputedStyle(y);return parseFloat(C.paddingLeft)+parseFloat(C.paddingRight)}static getHorizontalMargin(y){let C=getComputedStyle(y);return parseFloat(C.marginLeft)+parseFloat(C.marginRight)}static innerWidth(y){let C=y.offsetWidth,b=getComputedStyle(y);return C+=parseFloat(b.paddingLeft)+parseFloat(b.paddingRight),C}static width(y){let C=y.offsetWidth,b=getComputedStyle(y);return C-=parseFloat(b.paddingLeft)+parseFloat(b.paddingRight),C}static getInnerHeight(y){let C=y.offsetHeight,b=getComputedStyle(y);return C+=parseFloat(b.paddingTop)+parseFloat(b.paddingBottom),C}static getOuterHeight(y,C){let b=y.offsetHeight;if(C){let F=getComputedStyle(y);b+=parseFloat(F.marginTop)+parseFloat(F.marginBottom)}return b}static getHeight(y){let C=y.offsetHeight,b=getComputedStyle(y);return C-=parseFloat(b.paddingTop)+parseFloat(b.paddingBottom)+parseFloat(b.borderTopWidth)+parseFloat(b.borderBottomWidth),C}static getWidth(y){let C=y.offsetWidth,b=getComputedStyle(y);return C-=parseFloat(b.paddingLeft)+parseFloat(b.paddingRight)+parseFloat(b.borderLeftWidth)+parseFloat(b.borderRightWidth),C}static getViewport(){let y=window,C=document,b=C.documentElement,F=C.getElementsByTagName("body")[0];return{width:y.innerWidth||b.clientWidth||F.clientWidth,height:y.innerHeight||b.clientHeight||F.clientHeight}}static getOffset(y){var C=y.getBoundingClientRect();return{top:C.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:C.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(y,C){let b=y.parentNode;if(!b)throw"Can't replace element";return b.replaceChild(C,y)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var y=window.navigator.userAgent;return y.indexOf("MSIE ")>0||(y.indexOf("Trident/")>0?(y.indexOf("rv:"),!0):y.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(y,C){if(this.isElement(C))C.appendChild(y);else{if(!(C&&C.el&&C.el.nativeElement))throw"Cannot append "+C+" to "+y;C.el.nativeElement.appendChild(y)}}static removeChild(y,C){if(this.isElement(C))C.removeChild(y);else{if(!C.el||!C.el.nativeElement)throw"Cannot remove "+y+" from "+C;C.el.nativeElement.removeChild(y)}}static removeElement(y){"remove"in Element.prototype?y.remove():y.parentNode.removeChild(y)}static isElement(y){return"object"==typeof HTMLElement?y instanceof HTMLElement:y&&"object"==typeof y&&null!==y&&1===y.nodeType&&"string"==typeof y.nodeName}static calculateScrollbarWidth(y){if(y){let C=getComputedStyle(y);return y.offsetWidth-y.clientWidth-parseFloat(C.borderLeftWidth)-parseFloat(C.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let C=document.createElement("div");C.className="p-scrollbar-measure",document.body.appendChild(C);let b=C.offsetWidth-C.clientWidth;return document.body.removeChild(C),this.calculatedScrollbarWidth=b,b}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let y=document.createElement("div");y.className="p-scrollbar-measure",document.body.appendChild(y);let C=y.offsetHeight-y.clientHeight;return document.body.removeChild(y),this.calculatedScrollbarWidth=C,C}static invokeElementMethod(y,C,b){y[C].apply(y,b)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let y=this.resolveUserAgent();this.browser={},y.browser&&(this.browser[y.browser]=!0,this.browser.version=y.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let y=navigator.userAgent.toLowerCase(),C=/(chrome)[ \/]([\w.]+)/.exec(y)||/(webkit)[ \/]([\w.]+)/.exec(y)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(y)||/(msie) ([\w.]+)/.exec(y)||y.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(y)||[];return{browser:C[1]||"",version:C[2]||"0"}}static isInteger(y){return Number.isInteger?Number.isInteger(y):"number"==typeof y&&isFinite(y)&&Math.floor(y)===y}static isHidden(y){return!y||null===y.offsetParent}static isVisible(y){return y&&null!=y.offsetParent}static isExist(y){return null!==y&&typeof y<"u"&&y.nodeName&&y.parentNode}static focus(y,C){y&&document.activeElement!==y&&y.focus(C)}static getFocusableElements(y,C=""){let b=this.find(y,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C}`),F=[];for(let j of b)"none"!=getComputedStyle(j).display&&"hidden"!=getComputedStyle(j).visibility&&F.push(j);return F}static getFirstFocusableElement(y,C){const b=this.getFocusableElements(y,C);return b.length>0?b[0]:null}static getLastFocusableElement(y,C){const b=this.getFocusableElements(y,C);return b.length>0?b[b.length-1]:null}static getNextFocusableElement(y,C=!1){const b=A.getFocusableElements(y);let F=0;if(b&&b.length>0){const j=b.indexOf(b[0].ownerDocument.activeElement);C?F=-1==j||0===j?b.length-1:j-1:-1!=j&&j!==b.length-1&&(F=j+1)}return b[F]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(y,C){if(!y)return null;switch(y){case"document":return document;case"window":return window;case"@next":return C?.nextElementSibling;case"@prev":return C?.previousElementSibling;case"@parent":return C?.parentElement;case"@grandparent":return C?.parentElement.parentElement;default:const b=typeof y;if("string"===b)return document.querySelector(y);if("object"===b&&y.hasOwnProperty("nativeElement"))return this.isExist(y.nativeElement)?y.nativeElement:void 0;const j=(N=y)&&N.constructor&&N.call&&N.apply?y():y;return j&&9===j.nodeType||this.isExist(j)?j:null}var N}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(y,C){if(y){const b=y.getAttribute(C);return isNaN(b)?"true"===b||"false"===b?"true"===b:b:+b}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(y="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,y)}static unblockBodyScroll(y="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,y)}}return A})();class t{element;listener;scrollableParents;constructor(a,y=(()=>{})){this.element=a,this.listener=y}bindScrollListener(){this.scrollableParents=i.getScrollableParents(this.element);for(let a=0;a{"use strict";m.d(_e,{n:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(F){return(C||(C=i.n5z(a)))(F||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["CheckIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(b,F){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(F.getClassNames()),i.uIk("aria-label",F.ariaLabel)("aria-hidden",F.ariaHidden)("role",F.role))},encapsulation:2})}return a})()},2285:(lt,_e,m)=>{"use strict";m.d(_e,{v:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(F){return(C||(C=i.n5z(a)))(F||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["ChevronDownIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(b,F){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(F.getClassNames()),i.uIk("aria-label",F.ariaLabel)("aria-hidden",F.ariaHidden)("role",F.role))},encapsulation:2})}return a})()},9202:(lt,_e,m)=>{"use strict";m.d(_e,{X:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(F){return(C||(C=i.n5z(a)))(F||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["ChevronRightIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(b,F){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(F.getClassNames()),i.uIk("aria-label",F.ariaLabel)("aria-hidden",F.ariaHidden)("role",F.role))},encapsulation:2})}return a})()},5785:(lt,_e,m)=>{"use strict";m.d(_e,{W:()=>a});var i=m(755),t=m(5315),A=m(8393);let a=(()=>{class y extends t.s{pathId;ngOnInit(){this.pathId="url(#"+(0,A.Th)()+")"}static \u0275fac=function(){let b;return function(j){return(b||(b=i.n5z(y)))(j||y)}}();static \u0275cmp=i.Xpm({type:y,selectors:[["SearchIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(F,j){1&F&&(i.O4$(),i.TgZ(0,"svg",0)(1,"g"),i._UZ(2,"path",1),i.qZA(),i.TgZ(3,"defs")(4,"clipPath",2),i._UZ(5,"rect",3),i.qZA()()()),2&F&&(i.Tol(j.getClassNames()),i.uIk("aria-label",j.ariaLabel)("aria-hidden",j.ariaHidden)("role",j.role),i.xp6(1),i.uIk("clip-path",j.pathId),i.xp6(3),i.Q6J("id",j.pathId))},encapsulation:2})}return y})()},7848:(lt,_e,m)=>{"use strict";m.d(_e,{L:()=>a});var i=m(755),t=m(5315),A=m(8393);let a=(()=>{class y extends t.s{pathId;ngOnInit(){this.pathId="url(#"+(0,A.Th)()+")"}static \u0275fac=function(){let b;return function(j){return(b||(b=i.n5z(y)))(j||y)}}();static \u0275cmp=i.Xpm({type:y,selectors:[["SpinnerIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(F,j){1&F&&(i.O4$(),i.TgZ(0,"svg",0)(1,"g"),i._UZ(2,"path",1),i.qZA(),i.TgZ(3,"defs")(4,"clipPath",2),i._UZ(5,"rect",3),i.qZA()()()),2&F&&(i.Tol(j.getClassNames()),i.uIk("aria-label",j.ariaLabel)("aria-hidden",j.ariaHidden)("role",j.role),i.xp6(1),i.uIk("clip-path",j.pathId),i.xp6(3),i.Q6J("id",j.pathId))},encapsulation:2})}return y})()},6929:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(F){return(C||(C=i.n5z(a)))(F||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["TimesIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(b,F){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(F.getClassNames()),i.uIk("aria-label",F.ariaLabel)("aria-hidden",F.ariaHidden)("role",F.role))},encapsulation:2})}return a})()},979:(lt,_e,m)=>{"use strict";m.d(_e,{U8:()=>ae,aV:()=>J});var i=m(2405),t=m(6733),A=m(755),a=m(2133),y=m(9838),C=m(2815),b=m(8393);const F=["overlay"],j=["content"];function N(oe,ye){1&oe&&A.GkF(0)}const x=function(oe,ye,Ee){return{showTransitionParams:oe,hideTransitionParams:ye,transform:Ee}},H=function(oe){return{value:"visible",params:oe}},k=function(oe){return{mode:oe}},P=function(oe){return{$implicit:oe}};function X(oe,ye){if(1&oe){const Ee=A.EpF();A.TgZ(0,"div",1,3),A.NdJ("click",function(gt){A.CHM(Ee);const Ze=A.oxw(2);return A.KtG(Ze.onOverlayContentClick(gt))})("@overlayContentAnimation.start",function(gt){A.CHM(Ee);const Ze=A.oxw(2);return A.KtG(Ze.onOverlayContentAnimationStart(gt))})("@overlayContentAnimation.done",function(gt){A.CHM(Ee);const Ze=A.oxw(2);return A.KtG(Ze.onOverlayContentAnimationDone(gt))}),A.Hsn(2),A.YNc(3,N,1,0,"ng-container",4),A.qZA()}if(2&oe){const Ee=A.oxw(2);A.Tol(Ee.contentStyleClass),A.Q6J("ngStyle",Ee.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",A.VKq(11,H,A.kEZ(7,x,Ee.showTransitionOptions,Ee.hideTransitionOptions,Ee.transformOptions[Ee.modal?Ee.overlayResponsiveDirection:"default"]))),A.xp6(3),A.Q6J("ngTemplateOutlet",Ee.contentTemplate)("ngTemplateOutletContext",A.VKq(15,P,A.VKq(13,k,Ee.overlayMode)))}}const me=function(oe,ye,Ee,Ge,gt,Ze,Je,tt,Qe,pt,Nt,Jt,nt,ot){return{"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":oe,"p-overlay-center":ye,"p-overlay-top":Ee,"p-overlay-top-start":Ge,"p-overlay-top-end":gt,"p-overlay-bottom":Ze,"p-overlay-bottom-start":Je,"p-overlay-bottom-end":tt,"p-overlay-left":Qe,"p-overlay-left-start":pt,"p-overlay-left-end":Nt,"p-overlay-right":Jt,"p-overlay-right-start":nt,"p-overlay-right-end":ot}};function Oe(oe,ye){if(1&oe){const Ee=A.EpF();A.TgZ(0,"div",1,2),A.NdJ("click",function(){A.CHM(Ee);const gt=A.oxw();return A.KtG(gt.onOverlayClick())}),A.YNc(2,X,4,17,"div",0),A.qZA()}if(2&oe){const Ee=A.oxw();A.Tol(Ee.styleClass),A.Q6J("ngStyle",Ee.style)("ngClass",A.rFY(5,me,[Ee.modal,Ee.modal&&"center"===Ee.overlayResponsiveDirection,Ee.modal&&"top"===Ee.overlayResponsiveDirection,Ee.modal&&"top-start"===Ee.overlayResponsiveDirection,Ee.modal&&"top-end"===Ee.overlayResponsiveDirection,Ee.modal&&"bottom"===Ee.overlayResponsiveDirection,Ee.modal&&"bottom-start"===Ee.overlayResponsiveDirection,Ee.modal&&"bottom-end"===Ee.overlayResponsiveDirection,Ee.modal&&"left"===Ee.overlayResponsiveDirection,Ee.modal&&"left-start"===Ee.overlayResponsiveDirection,Ee.modal&&"left-end"===Ee.overlayResponsiveDirection,Ee.modal&&"right"===Ee.overlayResponsiveDirection,Ee.modal&&"right-start"===Ee.overlayResponsiveDirection,Ee.modal&&"right-end"===Ee.overlayResponsiveDirection])),A.xp6(2),A.Q6J("ngIf",Ee.visible)}}const Se=["*"],wt={provide:a.JU,useExisting:(0,A.Gpc)(()=>J),multi:!0},K=(0,i.oQ)([(0,i.oB)({transform:"{{transform}}",opacity:0}),(0,i.jt)("{{showTransitionParams}}")]),V=(0,i.oQ)([(0,i.jt)("{{hideTransitionParams}}",(0,i.oB)({transform:"{{transform}}",opacity:0}))]);let J=(()=>{class oe{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(Ee){this._visible=Ee,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(Ee){this._mode=Ee}get style(){return b.gb.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(Ee){this._style=Ee}get styleClass(){return b.gb.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(Ee){this._styleClass=Ee}get contentStyle(){return b.gb.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(Ee){this._contentStyle=Ee}get contentStyleClass(){return b.gb.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(Ee){this._contentStyleClass=Ee}get target(){const Ee=this._target||this.overlayOptions?.target;return void 0===Ee?"@prev":Ee}set target(Ee){this._target=Ee}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(Ee){this._appendTo=Ee}get autoZIndex(){const Ee=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===Ee||Ee}set autoZIndex(Ee){this._autoZIndex=Ee}get baseZIndex(){const Ee=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===Ee?0:Ee}set baseZIndex(Ee){this._baseZIndex=Ee}get showTransitionOptions(){const Ee=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===Ee?".12s cubic-bezier(0, 0, 0.2, 1)":Ee}set showTransitionOptions(Ee){this._showTransitionOptions=Ee}get hideTransitionOptions(){const Ee=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===Ee?".1s linear":Ee}set hideTransitionOptions(Ee){this._hideTransitionOptions=Ee}get listener(){return this._listener||this.overlayOptions?.listener}set listener(Ee){this._listener=Ee}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(Ee){this._responsive=Ee}get options(){return this._options}set options(Ee){this._options=Ee}visibleChange=new A.vpe;onBeforeShow=new A.vpe;onShow=new A.vpe;onBeforeHide=new A.vpe;onHide=new A.vpe;onAnimationStart=new A.vpe;onAnimationDone=new A.vpe;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if((0,t.NF)(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return C.p.getTargetElement(this.target,this.el?.nativeElement)}constructor(Ee,Ge,gt,Ze,Je,tt,Qe,pt){this.document=Ee,this.platformId=Ge,this.el=gt,this.renderer=Ze,this.config=Je,this.overlayService=tt,this.cd=Qe,this.zone=pt,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(Ee=>{Ee.getType(),this.contentTemplate=Ee.template})}show(Ee,Ge=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:Ee||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),Ge&&C.p.focus(this.targetEl),this.modal&&C.p.addClass(this.document?.body,"p-overflow-hidden")}hide(Ee,Ge=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:Ee||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),Ge&&C.p.focus(this.targetEl),this.modal&&C.p.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&C.p.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(Ee){this._visible=Ee,this.visibleChange.emit(Ee)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(Ee){this.overlayService.add({originalEvent:Ee,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(Ee){switch(Ee.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&b.P9.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),C.p.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&C.p.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",Ee)}onOverlayContentAnimationDone(Ee){const Ge=this.overlayEl||Ee.element.parentElement;switch(Ee.toState){case"visible":this.show(Ge,!0),this.bindListeners();break;case"void":this.hide(Ge,!0),this.unbindListeners(),C.p.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),b.P9.clear(Ge),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",Ee)}handleEvents(Ee,Ge){this[Ee].emit(Ge),this.options&&this.options[Ee]&&this.options[Ee](Ge),this.config?.overlayOptions&&(this.config?.overlayOptions)[Ee]&&(this.config?.overlayOptions)[Ee](Ge)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new C.V(this.targetEl,Ee=>{(!this.listener||this.listener(Ee,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(Ee,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",Ee=>{const gt=!(this.targetEl&&(this.targetEl.isSameNode(Ee.target)||!this.isOverlayClicked&&this.targetEl.contains(Ee.target))||this.isOverlayContentClicked);(this.listener?this.listener(Ee,{type:"outside",mode:this.overlayMode,valid:3!==Ee.which&>}):gt)&&this.hide(Ee),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",Ee=>{(this.listener?this.listener(Ee,{type:"resize",mode:this.overlayMode,valid:!C.p.isTouchDevice()}):!C.p.isTouchDevice())&&this.hide(Ee,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",Ee=>{!1!==this.overlayOptions.hideOnEscape&&"Escape"===Ee.code&&(this.listener?this.listener(Ee,{type:"keydown",mode:this.overlayMode,valid:!C.p.isTouchDevice()}):!C.p.isTouchDevice())&&this.zone.run(()=>{this.hide(Ee,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(C.p.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),b.P9.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(Ge){return new(Ge||oe)(A.Y36(t.K0),A.Y36(A.Lbi),A.Y36(A.SBq),A.Y36(A.Qsj),A.Y36(y.b4),A.Y36(y.F0),A.Y36(A.sBO),A.Y36(A.R0b))};static \u0275cmp=A.Xpm({type:oe,selectors:[["p-overlay"]],contentQueries:function(Ge,gt,Ze){if(1&Ge&&A.Suo(Ze,y.jx,4),2&Ge){let Je;A.iGM(Je=A.CRH())&&(gt.templates=Je)}},viewQuery:function(Ge,gt){if(1&Ge&&(A.Gf(F,5),A.Gf(j,5)),2&Ge){let Ze;A.iGM(Ze=A.CRH())&&(gt.overlayViewChild=Ze.first),A.iGM(Ze=A.CRH())&&(gt.contentViewChild=Ze.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[A._Bn([wt])],ngContentSelectors:Se,decls:1,vars:1,consts:[[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"ngStyle","ngClass","click"],["overlay",""],["content",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Ge,gt){1&Ge&&(A.F$t(),A.YNc(0,Oe,3,20,"div",0)),2&Ge&&A.Q6J("ngIf",gt.modalVisible)},dependencies:[t.mk,t.O5,t.tP,t.PC],styles:["@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}\n"],encapsulation:2,data:{animation:[(0,i.X$)("overlayContentAnimation",[(0,i.eR)(":enter",[(0,i._7)(K)]),(0,i.eR)(":leave",[(0,i._7)(V)])])]},changeDetection:0})}return oe})(),ae=(()=>{class oe{static \u0275fac=function(Ge){return new(Ge||oe)};static \u0275mod=A.oAB({type:oe});static \u0275inj=A.cJS({imports:[t.ez,y.m8,y.m8]})}return oe})()},3148:(lt,_e,m)=>{"use strict";m.d(_e,{H:()=>y,T:()=>C});var i=m(6733),t=m(755),A=m(2815),a=m(9838);let y=(()=>{class b{document;platformId;renderer;el;zone;config;constructor(j,N,x,H,k,P){this.document=j,this.platformId=N,this.renderer=x,this.el=H,this.zone=k,this.config=P}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,i.NF)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(j){let N=this.getInk();if(!N||"none"===this.document.defaultView?.getComputedStyle(N,null).display)return;if(A.p.removeClass(N,"p-ink-active"),!A.p.getHeight(N)&&!A.p.getWidth(N)){let P=Math.max(A.p.getOuterWidth(this.el.nativeElement),A.p.getOuterHeight(this.el.nativeElement));N.style.height=P+"px",N.style.width=P+"px"}let x=A.p.getOffset(this.el.nativeElement),H=j.pageX-x.left+this.document.body.scrollTop-A.p.getWidth(N)/2,k=j.pageY-x.top+this.document.body.scrollLeft-A.p.getHeight(N)/2;this.renderer.setStyle(N,"top",k+"px"),this.renderer.setStyle(N,"left",H+"px"),A.p.addClass(N,"p-ink-active"),this.timeout=setTimeout(()=>{let P=this.getInk();P&&A.p.removeClass(P,"p-ink-active")},401)}getInk(){const j=this.el.nativeElement.children;for(let N=0;N{class b{static \u0275fac=function(N){return new(N||b)};static \u0275mod=t.oAB({type:b});static \u0275inj=t.cJS({imports:[i.ez]})}return b})()},8206:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>Jt,v:()=>nt});var i=m(6733),t=m(755),A=m(9838),a=m(2815),y=m(7848);const C=["element"],b=["content"];function F(ot,Ct){1&ot&&t.GkF(0)}const j=function(ot,Ct){return{$implicit:ot,options:Ct}};function N(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,F,1,0,"ng-container",7),t.BQk()),2&ot){const He=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",He.contentTemplate)("ngTemplateOutletContext",t.WLB(2,j,He.loadedItems,He.getContentOptions()))}}function x(ot,Ct){1&ot&&t.GkF(0)}function H(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,x,1,0,"ng-container",7),t.BQk()),2&ot){const He=Ct.$implicit,mt=Ct.index,vt=t.oxw(3);t.xp6(1),t.Q6J("ngTemplateOutlet",vt.itemTemplate)("ngTemplateOutletContext",t.WLB(2,j,He,vt.getOptions(mt)))}}const k=function(ot){return{"p-scroller-loading":ot}};function P(ot,Ct){if(1&ot&&(t.TgZ(0,"div",8,9),t.YNc(2,H,2,5,"ng-container",10),t.qZA()),2&ot){const He=t.oxw(2);t.Q6J("ngClass",t.VKq(5,k,He.d_loading))("ngStyle",He.contentStyle),t.uIk("data-pc-section","content"),t.xp6(2),t.Q6J("ngForOf",He.loadedItems)("ngForTrackBy",He._trackBy||He.index)}}function X(ot,Ct){if(1&ot&&t._UZ(0,"div",11),2&ot){const He=t.oxw(2);t.Q6J("ngStyle",He.spacerStyle),t.uIk("data-pc-section","spacer")}}function me(ot,Ct){1&ot&&t.GkF(0)}const Oe=function(ot){return{numCols:ot}},Se=function(ot){return{options:ot}};function wt(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,me,1,0,"ng-container",7),t.BQk()),2&ot){const He=Ct.index,mt=t.oxw(4);t.xp6(1),t.Q6J("ngTemplateOutlet",mt.loaderTemplate)("ngTemplateOutletContext",t.VKq(4,Se,mt.getLoaderOptions(He,mt.both&&t.VKq(2,Oe,mt._numItemsInViewport.cols))))}}function K(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,wt,2,6,"ng-container",14),t.BQk()),2&ot){const He=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",He.loaderArr)}}function V(ot,Ct){1&ot&&t.GkF(0)}const J=function(){return{styleClass:"p-scroller-loading-icon"}};function ae(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,V,1,0,"ng-container",7),t.BQk()),2&ot){const He=t.oxw(4);t.xp6(1),t.Q6J("ngTemplateOutlet",He.loaderIconTemplate)("ngTemplateOutletContext",t.VKq(3,Se,t.DdM(2,J)))}}function oe(ot,Ct){1&ot&&t._UZ(0,"SpinnerIcon",16),2&ot&&(t.Q6J("styleClass","p-scroller-loading-icon"),t.uIk("data-pc-section","loadingIcon"))}function ye(ot,Ct){if(1&ot&&(t.YNc(0,ae,2,5,"ng-container",0),t.YNc(1,oe,1,2,"ng-template",null,15,t.W1O)),2&ot){const He=t.MAs(2),mt=t.oxw(3);t.Q6J("ngIf",mt.loaderIconTemplate)("ngIfElse",He)}}const Ee=function(ot){return{"p-component-overlay":ot}};function Ge(ot,Ct){if(1&ot&&(t.TgZ(0,"div",12),t.YNc(1,K,2,1,"ng-container",0),t.YNc(2,ye,3,2,"ng-template",null,13,t.W1O),t.qZA()),2&ot){const He=t.MAs(3),mt=t.oxw(2);t.Q6J("ngClass",t.VKq(4,Ee,!mt.loaderTemplate)),t.uIk("data-pc-section","loader"),t.xp6(1),t.Q6J("ngIf",mt.loaderTemplate)("ngIfElse",He)}}const gt=function(ot,Ct,He){return{"p-scroller":!0,"p-scroller-inline":ot,"p-both-scroll":Ct,"p-horizontal-scroll":He}};function Ze(ot,Ct){if(1&ot){const He=t.EpF();t.ynx(0),t.TgZ(1,"div",2,3),t.NdJ("scroll",function(vt){t.CHM(He);const hn=t.oxw();return t.KtG(hn.onContainerScroll(vt))}),t.YNc(3,N,2,5,"ng-container",0),t.YNc(4,P,3,7,"ng-template",null,4,t.W1O),t.YNc(6,X,1,2,"div",5),t.YNc(7,Ge,4,6,"div",6),t.qZA(),t.BQk()}if(2&ot){const He=t.MAs(5),mt=t.oxw();t.xp6(1),t.Tol(mt._styleClass),t.Q6J("ngStyle",mt._style)("ngClass",t.kEZ(12,gt,mt.inline,mt.both,mt.horizontal)),t.uIk("id",mt._id)("tabindex",mt.tabindex)("data-pc-name","scroller")("data-pc-section","root"),t.xp6(2),t.Q6J("ngIf",mt.contentTemplate)("ngIfElse",He),t.xp6(3),t.Q6J("ngIf",mt._showSpacer),t.xp6(1),t.Q6J("ngIf",!mt.loaderDisabled&&mt._showLoader&&mt.d_loading)}}function Je(ot,Ct){1&ot&&t.GkF(0)}const tt=function(ot,Ct){return{rows:ot,columns:Ct}};function Qe(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,Je,1,0,"ng-container",7),t.BQk()),2&ot){const He=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",He.contentTemplate)("ngTemplateOutletContext",t.WLB(5,j,He.items,t.WLB(2,tt,He._items,He.loadedColumns)))}}function pt(ot,Ct){if(1&ot&&(t.Hsn(0),t.YNc(1,Qe,2,8,"ng-container",17)),2&ot){const He=t.oxw();t.xp6(1),t.Q6J("ngIf",He.contentTemplate)}}const Nt=["*"];let Jt=(()=>{class ot{document;platformId;renderer;cd;zone;get id(){return this._id}set id(He){this._id=He}get style(){return this._style}set style(He){this._style=He}get styleClass(){return this._styleClass}set styleClass(He){this._styleClass=He}get tabindex(){return this._tabindex}set tabindex(He){this._tabindex=He}get items(){return this._items}set items(He){this._items=He}get itemSize(){return this._itemSize}set itemSize(He){this._itemSize=He}get scrollHeight(){return this._scrollHeight}set scrollHeight(He){this._scrollHeight=He}get scrollWidth(){return this._scrollWidth}set scrollWidth(He){this._scrollWidth=He}get orientation(){return this._orientation}set orientation(He){this._orientation=He}get step(){return this._step}set step(He){this._step=He}get delay(){return this._delay}set delay(He){this._delay=He}get resizeDelay(){return this._resizeDelay}set resizeDelay(He){this._resizeDelay=He}get appendOnly(){return this._appendOnly}set appendOnly(He){this._appendOnly=He}get inline(){return this._inline}set inline(He){this._inline=He}get lazy(){return this._lazy}set lazy(He){this._lazy=He}get disabled(){return this._disabled}set disabled(He){this._disabled=He}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(He){this._loaderDisabled=He}get columns(){return this._columns}set columns(He){this._columns=He}get showSpacer(){return this._showSpacer}set showSpacer(He){this._showSpacer=He}get showLoader(){return this._showLoader}set showLoader(He){this._showLoader=He}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(He){this._numToleratedItems=He}get loading(){return this._loading}set loading(He){this._loading=He}get autoSize(){return this._autoSize}set autoSize(He){this._autoSize=He}get trackBy(){return this._trackBy}set trackBy(He){this._trackBy=He}get options(){return this._options}set options(He){this._options=He,He&&"object"==typeof He&&Object.entries(He).forEach(([mt,vt])=>this[`_${mt}`]!==vt&&(this[`_${mt}`]=vt))}onLazyLoad=new t.vpe;onScroll=new t.vpe;onScrollIndexChange=new t.vpe;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(He=>this._columns?He:He.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}constructor(He,mt,vt,hn,yt){this.document=He,this.platformId=mt,this.renderer=vt,this.cd=hn,this.zone=yt}ngOnInit(){this.setInitialState()}ngOnChanges(He){let mt=!1;if(He.loading){const{previousValue:vt,currentValue:hn}=He.loading;this.lazy&&vt!==hn&&hn!==this.d_loading&&(this.d_loading=hn,mt=!0)}if(He.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),He.numToleratedItems){const{previousValue:vt,currentValue:hn}=He.numToleratedItems;vt!==hn&&hn!==this.d_numToleratedItems&&(this.d_numToleratedItems=hn)}if(He.options){const{previousValue:vt,currentValue:hn}=He.options;this.lazy&&vt?.loading!==hn?.loading&&hn?.loading!==this.d_loading&&(this.d_loading=hn.loading,mt=!0),vt?.numToleratedItems!==hn?.numToleratedItems&&hn?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=hn.numToleratedItems)}this.initialized&&!mt&&(He.items?.previousValue?.length!==He.items?.currentValue?.length||He.itemSize||He.scrollHeight||He.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(He=>{switch(He.getType()){case"content":this.contentTemplate=He.template;break;case"item":default:this.itemTemplate=He.template;break;case"loader":this.loaderTemplate=He.template;break;case"loadericon":this.loaderIconTemplate=He.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){(0,i.NF)(this.platformId)&&a.p.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=a.p.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=a.p.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=a.p.getWidth(this.contentEl),this.defaultContentHeight=a.p.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(He){this.contentEl=He||this.contentViewChild?.nativeElement||a.p.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(He){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(He)}scrollToIndex(He,mt="auto"){const{numToleratedItems:vt}=this.calculateNumItems(),hn=this.getContentPosition(),yt=(dn=0,qn)=>dn<=qn?0:dn,Fn=(dn,qn,di)=>dn*qn+di,xn=(dn=0,qn=0)=>this.scrollTo({left:dn,top:qn,behavior:mt});let In=0;this.both?(In={rows:yt(He[0],vt[0]),cols:yt(He[1],vt[1])},xn(Fn(In.cols,this._itemSize[1],hn.left),Fn(In.rows,this._itemSize[0],hn.top))):(In=yt(He,vt),this.horizontal?xn(Fn(In,this._itemSize,hn.left),0):xn(0,Fn(In,this._itemSize,hn.top))),this.isRangeChanged=this.first!==In,this.first=In}scrollInView(He,mt,vt="auto"){if(mt){const{first:hn,viewport:yt}=this.getRenderedRange(),Fn=(dn=0,qn=0)=>this.scrollTo({left:dn,top:qn,behavior:vt}),In="to-end"===mt;if("to-start"===mt){if(this.both)yt.first.rows-hn.rows>He[0]?Fn(yt.first.cols*this._itemSize[1],(yt.first.rows-1)*this._itemSize[0]):yt.first.cols-hn.cols>He[1]&&Fn((yt.first.cols-1)*this._itemSize[1],yt.first.rows*this._itemSize[0]);else if(yt.first-hn>He){const dn=(yt.first-1)*this._itemSize;this.horizontal?Fn(dn,0):Fn(0,dn)}}else if(In)if(this.both)yt.last.rows-hn.rows<=He[0]+1?Fn(yt.first.cols*this._itemSize[1],(yt.first.rows+1)*this._itemSize[0]):yt.last.cols-hn.cols<=He[1]+1&&Fn((yt.first.cols+1)*this._itemSize[1],yt.first.rows*this._itemSize[0]);else if(yt.last-hn<=He+1){const dn=(yt.first+1)*this._itemSize;this.horizontal?Fn(dn,0):Fn(0,dn)}}else this.scrollToIndex(He,vt)}getRenderedRange(){const He=(hn,yt)=>Math.floor(hn/(yt||hn));let mt=this.first,vt=0;if(this.elementViewChild?.nativeElement){const{scrollTop:hn,scrollLeft:yt}=this.elementViewChild.nativeElement;this.both?(mt={rows:He(hn,this._itemSize[0]),cols:He(yt,this._itemSize[1])},vt={rows:mt.rows+this.numItemsInViewport.rows,cols:mt.cols+this.numItemsInViewport.cols}):(mt=He(this.horizontal?yt:hn,this._itemSize),vt=mt+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:mt,last:vt}}}calculateNumItems(){const He=this.getContentPosition(),mt=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-He.left:0)||0,vt=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-He.top:0)||0,hn=(In,dn)=>Math.ceil(In/(dn||In)),yt=In=>Math.ceil(In/2),Fn=this.both?{rows:hn(vt,this._itemSize[0]),cols:hn(mt,this._itemSize[1])}:hn(this.horizontal?mt:vt,this._itemSize);return{numItemsInViewport:Fn,numToleratedItems:this.d_numToleratedItems||(this.both?[yt(Fn.rows),yt(Fn.cols)]:yt(Fn))}}calculateOptions(){const{numItemsInViewport:He,numToleratedItems:mt}=this.calculateNumItems(),vt=(Fn,xn,In,dn=!1)=>this.getLast(Fn+xn+(FnArray.from({length:He.cols})):Array.from({length:He})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:hn.cols}:0:hn,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[He,mt]=[a.p.getWidth(this.contentEl),a.p.getHeight(this.contentEl)];He!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),mt!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[vt,hn]=[a.p.getWidth(this.elementViewChild.nativeElement),a.p.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=vtthis.elementViewChild.nativeElement.style[yt]=Fn;this.both||this.horizontal?(hn("height",vt),hn("width",mt)):hn("height",vt)}}setSpacerSize(){if(this._items){const He=this.getContentPosition(),mt=(vt,hn,yt,Fn=0)=>this.spacerStyle={...this.spacerStyle,[`${vt}`]:(hn||[]).length*yt+Fn+"px"};this.both?(mt("height",this._items,this._itemSize[0],He.y),mt("width",this._columns||this._items[1],this._itemSize[1],He.x)):this.horizontal?mt("width",this._columns||this._items,this._itemSize,He.x):mt("height",this._items,this._itemSize,He.y)}}setContentPosition(He){if(this.contentEl&&!this._appendOnly){const mt=He?He.first:this.first,vt=(yt,Fn)=>yt*Fn,hn=(yt=0,Fn=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${yt}px, ${Fn}px, 0)`};if(this.both)hn(vt(mt.cols,this._itemSize[1]),vt(mt.rows,this._itemSize[0]));else{const yt=vt(mt,this._itemSize);this.horizontal?hn(yt,0):hn(0,yt)}}}onScrollPositionChange(He){const mt=He.target,vt=this.getContentPosition(),hn=(fi,Mt)=>fi?fi>Mt?fi-Mt:fi:0,yt=(fi,Mt)=>Math.floor(fi/(Mt||fi)),Fn=(fi,Mt,Ot,ve,De,xe)=>fi<=De?De:xe?Ot-ve-De:Mt+De-1,xn=(fi,Mt,Ot,ve,De,xe,Ye)=>fi<=xe?0:Math.max(0,Ye?fiMt?Ot:fi-2*xe),In=(fi,Mt,Ot,ve,De,xe=!1)=>{let Ye=Mt+ve+2*De;return fi>=De&&(Ye+=De+1),this.getLast(Ye,xe)},dn=hn(mt.scrollTop,vt.top),qn=hn(mt.scrollLeft,vt.left);let di=this.both?{rows:0,cols:0}:0,ir=this.last,Bn=!1,xi=this.lastScrollPos;if(this.both){const fi=this.lastScrollPos.top<=dn,Mt=this.lastScrollPos.left<=qn;if(!this._appendOnly||this._appendOnly&&(fi||Mt)){const Ot={rows:yt(dn,this._itemSize[0]),cols:yt(qn,this._itemSize[1])},ve={rows:Fn(Ot.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],fi),cols:Fn(Ot.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],Mt)};di={rows:xn(Ot.rows,ve.rows,this.first.rows,0,0,this.d_numToleratedItems[0],fi),cols:xn(Ot.cols,ve.cols,this.first.cols,0,0,this.d_numToleratedItems[1],Mt)},ir={rows:In(Ot.rows,di.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:In(Ot.cols,di.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},Bn=di.rows!==this.first.rows||ir.rows!==this.last.rows||di.cols!==this.first.cols||ir.cols!==this.last.cols||this.isRangeChanged,xi={top:dn,left:qn}}}else{const fi=this.horizontal?qn:dn,Mt=this.lastScrollPos<=fi;if(!this._appendOnly||this._appendOnly&&Mt){const Ot=yt(fi,this._itemSize);di=xn(Ot,Fn(Ot,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,Mt),this.first,0,0,this.d_numToleratedItems,Mt),ir=In(Ot,di,0,this.numItemsInViewport,this.d_numToleratedItems),Bn=di!==this.first||ir!==this.last||this.isRangeChanged,xi=fi}}return{first:di,last:ir,isRangeChanged:Bn,scrollPos:xi}}onScrollChange(He){const{first:mt,last:vt,isRangeChanged:hn,scrollPos:yt}=this.onScrollPositionChange(He);if(hn){const Fn={first:mt,last:vt};if(this.setContentPosition(Fn),this.first=mt,this.last=vt,this.lastScrollPos=yt,this.handleEvents("onScrollIndexChange",Fn),this._lazy&&this.isPageChanged){const xn={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):mt,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:vt,this.items.length)};(this.lazyLoadState.first!==xn.first||this.lazyLoadState.last!==xn.last)&&this.handleEvents("onLazyLoad",xn),this.lazyLoadState=xn}}}onContainerScroll(He){if(this.handleEvents("onScroll",{originalEvent:He}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:mt}=this.onScrollPositionChange(He);(mt||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(He),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(He)}bindResizeListener(){(0,i.NF)(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const He=this.document.defaultView,mt=a.p.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(He,mt,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(a.p.isVisible(this.elementViewChild?.nativeElement)){const[He,mt]=[a.p.getWidth(this.elementViewChild?.nativeElement),a.p.getHeight(this.elementViewChild?.nativeElement)],[vt,hn]=[He!==this.defaultWidth,mt!==this.defaultHeight];(this.both?vt||hn:this.horizontal?vt:this.vertical&&hn)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=He,this.defaultHeight=mt,this.defaultContentWidth=a.p.getWidth(this.contentEl),this.defaultContentHeight=a.p.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(He,mt){return this.options&&this.options[He]?this.options[He](mt):this[He].emit(mt)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:He=>this.getOptions(He),loading:this.d_loading,getLoaderOptions:(He,mt)=>this.getLoaderOptions(He,mt),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(He){const mt=(this._items||[]).length,vt=this.both?this.first.rows+He:this.first+He;return{index:vt,count:mt,first:0===vt,last:vt===mt-1,even:vt%2==0,odd:vt%2!=0}}getLoaderOptions(He,mt){const vt=this.loaderArr.length;return{index:He,count:vt,first:0===He,last:He===vt-1,even:He%2==0,odd:He%2!=0,...mt}}static \u0275fac=function(mt){return new(mt||ot)(t.Y36(i.K0),t.Y36(t.Lbi),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(t.R0b))};static \u0275cmp=t.Xpm({type:ot,selectors:[["p-scroller"]],contentQueries:function(mt,vt,hn){if(1&mt&&t.Suo(hn,A.jx,4),2&mt){let yt;t.iGM(yt=t.CRH())&&(vt.templates=yt)}},viewQuery:function(mt,vt){if(1&mt&&(t.Gf(C,5),t.Gf(b,5)),2&mt){let hn;t.iGM(hn=t.CRH())&&(vt.elementViewChild=hn.first),t.iGM(hn=t.CRH())&&(vt.contentViewChild=hn.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[t.TTD],ngContentSelectors:Nt,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["disabledContainer",""],[3,"ngStyle","ngClass","scroll"],["element",""],["buildInContent",""],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],["content",""],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],["buildInLoader",""],[4,"ngFor","ngForOf"],["buildInLoaderIcon",""],[3,"styleClass"],[4,"ngIf"]],template:function(mt,vt){if(1&mt&&(t.F$t(),t.YNc(0,Ze,8,16,"ng-container",0),t.YNc(1,pt,2,1,"ng-template",null,1,t.W1O)),2&mt){const hn=t.MAs(2);t.Q6J("ngIf",!vt._disabled)("ngIfElse",hn)}},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,y.L]},styles:["@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}\n"],encapsulation:2})}return ot})(),nt=(()=>{class ot{static \u0275fac=function(mt){return new(mt||ot)};static \u0275mod=t.oAB({type:ot});static \u0275inj=t.cJS({imports:[i.ez,A.m8,y.L,A.m8]})}return ot})()},8393:(lt,_e,m)=>{"use strict";m.d(_e,{P9:()=>y,Th:()=>A,gb:()=>i});class i{static equals(b,F,j){return j?this.resolveFieldData(b,j)===this.resolveFieldData(F,j):this.equalsByValue(b,F)}static equalsByValue(b,F){if(b===F)return!0;if(b&&F&&"object"==typeof b&&"object"==typeof F){var x,H,k,j=Array.isArray(b),N=Array.isArray(F);if(j&&N){if((H=b.length)!=F.length)return!1;for(x=H;0!=x--;)if(!this.equalsByValue(b[x],F[x]))return!1;return!0}if(j!=N)return!1;var P=this.isDate(b),X=this.isDate(F);if(P!=X)return!1;if(P&&X)return b.getTime()==F.getTime();var me=b instanceof RegExp,Oe=F instanceof RegExp;if(me!=Oe)return!1;if(me&&Oe)return b.toString()==F.toString();var Se=Object.keys(b);if((H=Se.length)!==Object.keys(F).length)return!1;for(x=H;0!=x--;)if(!Object.prototype.hasOwnProperty.call(F,Se[x]))return!1;for(x=H;0!=x--;)if(!this.equalsByValue(b[k=Se[x]],F[k]))return!1;return!0}return b!=b&&F!=F}static resolveFieldData(b,F){if(b&&F){if(this.isFunction(F))return F(b);if(-1==F.indexOf("."))return b[F];{let j=F.split("."),N=b;for(let x=0,H=j.length;x=b.length&&(j%=b.length,F%=b.length),b.splice(j,0,b.splice(F,1)[0]))}static insertIntoOrderedArray(b,F,j,N){if(j.length>0){let x=!1;for(let H=0;HF){j.splice(H,0,b),x=!0;break}x||j.push(b)}else j.push(b)}static findIndexInList(b,F){let j=-1;if(F)for(let N=0;N-1&&(b=b.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),b}static isDate(b){return"[object Date]"===Object.prototype.toString.call(b)}static isEmpty(b){return null==b||""===b||Array.isArray(b)&&0===b.length||!this.isDate(b)&&"object"==typeof b&&0===Object.keys(b).length}static isNotEmpty(b){return!this.isEmpty(b)}static compare(b,F,j,N=1){let x=-1;const H=this.isEmpty(b),k=this.isEmpty(F);return x=H&&k?0:H?N:k?-N:"string"==typeof b&&"string"==typeof F?b.localeCompare(F,j,{numeric:!0}):bF?1:0,x}static sort(b,F,j=1,N,x=1){return(1===x?j:x)*i.compare(b,F,N,j)}static merge(b,F){if(null!=b||null!=F)return null!=b&&"object"!=typeof b||null!=F&&"object"!=typeof F?null!=b&&"string"!=typeof b||null!=F&&"string"!=typeof F?F||b:[b||"",F||""].join(" "):{...b||{},...F||{}}}static isPrintableCharacter(b=""){return this.isNotEmpty(b)&&1===b.length&&b.match(/\S| /)}static getItemValue(b,...F){return this.isFunction(b)?b(...F):b}static findLastIndex(b,F){let j=-1;if(this.isNotEmpty(b))try{j=b.findLastIndex(F)}catch{j=b.lastIndexOf([...b].reverse().find(F))}return j}static findLast(b,F){let j;if(this.isNotEmpty(b))try{j=b.findLast(F)}catch{j=[...b].reverse().find(F)}return j}}var t=0;function A(C="pn_id_"){return`${C}${++t}`}var y=function a(){let C=[];const N=x=>x&&parseInt(x.style.zIndex,10)||0;return{get:N,set:(x,H,k)=>{H&&(H.style.zIndex=String(((x,H)=>{let k=C.length>0?C[C.length-1]:{key:x,value:H},P=k.value+(k.key===x?0:H)+2;return C.push({key:x,value:P}),P})(x,k)))},clear:x=>{x&&((x=>{C=C.filter(H=>H.value!==x)})(N(x)),x.style.zIndex="")},getCurrent:()=>C.length>0?C[C.length-1].value:0}}()},8239:(lt,_e,m)=>{"use strict";function i(A,a,y,C,b,F,j){try{var N=A[F](j),x=N.value}catch(H){return void y(H)}N.done?a(x):Promise.resolve(x).then(C,b)}function t(A){return function(){var a=this,y=arguments;return new Promise(function(C,b){var F=A.apply(a,y);function j(x){i(F,C,b,j,N,"next",x)}function N(x){i(F,C,b,j,N,"throw",x)}j(void 0)})}}m.d(_e,{Z:()=>t})},4911:(lt,_e,m)=>{"use strict";function H(nt,ot,Ct,He){return new(Ct||(Ct=Promise))(function(vt,hn){function yt(In){try{xn(He.next(In))}catch(dn){hn(dn)}}function Fn(In){try{xn(He.throw(In))}catch(dn){hn(dn)}}function xn(In){In.done?vt(In.value):function mt(vt){return vt instanceof Ct?vt:new Ct(function(hn){hn(vt)})}(In.value).then(yt,Fn)}xn((He=He.apply(nt,ot||[])).next())})}function V(nt){return this instanceof V?(this.v=nt,this):new V(nt)}function J(nt,ot,Ct){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var mt,He=Ct.apply(nt,ot||[]),vt=[];return mt={},yt("next"),yt("throw"),yt("return",function hn(di){return function(ir){return Promise.resolve(ir).then(di,dn)}}),mt[Symbol.asyncIterator]=function(){return this},mt;function yt(di,ir){He[di]&&(mt[di]=function(Bn){return new Promise(function(xi,fi){vt.push([di,Bn,xi,fi])>1||Fn(di,Bn)})},ir&&(mt[di]=ir(mt[di])))}function Fn(di,ir){try{!function xn(di){di.value instanceof V?Promise.resolve(di.value.v).then(In,dn):qn(vt[0][2],di)}(He[di](ir))}catch(Bn){qn(vt[0][3],Bn)}}function In(di){Fn("next",di)}function dn(di){Fn("throw",di)}function qn(di,ir){di(ir),vt.shift(),vt.length&&Fn(vt[0][0],vt[0][1])}}function oe(nt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ct,ot=nt[Symbol.asyncIterator];return ot?ot.call(nt):(nt=function me(nt){var ot="function"==typeof Symbol&&Symbol.iterator,Ct=ot&&nt[ot],He=0;if(Ct)return Ct.call(nt);if(nt&&"number"==typeof nt.length)return{next:function(){return nt&&He>=nt.length&&(nt=void 0),{value:nt&&nt[He++],done:!nt}}};throw new TypeError(ot?"Object is not iterable.":"Symbol.iterator is not defined.")}(nt),Ct={},He("next"),He("throw"),He("return"),Ct[Symbol.asyncIterator]=function(){return this},Ct);function He(vt){Ct[vt]=nt[vt]&&function(hn){return new Promise(function(yt,Fn){!function mt(vt,hn,yt,Fn){Promise.resolve(Fn).then(function(xn){vt({value:xn,done:yt})},hn)}(yt,Fn,(hn=nt[vt](hn)).done,hn.value)})}}}m.d(_e,{FC:()=>J,KL:()=>oe,mG:()=>H,qq:()=>V}),"function"==typeof SuppressedError&&SuppressedError}},lt=>{lt(lt.s=8536)}]); \ No newline at end of file +(self.webpackChunkpetrvs=self.webpackChunkpetrvs||[]).push([[179],{8537:function(lt){lt.exports=function(){"use strict";const _e=new Map,m={set(E,v,M){_e.has(E)||_e.set(E,new Map);const W=_e.get(E);W.has(v)||0===W.size?W.set(v,M):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(W.keys())[0]}.`)},get:(E,v)=>_e.has(E)&&_e.get(E).get(v)||null,remove(E,v){if(!_e.has(E))return;const M=_e.get(E);M.delete(v),0===M.size&&_e.delete(E)}},i="transitionend",t=E=>(E&&window.CSS&&window.CSS.escape&&(E=E.replace(/#([^\s"#']+)/g,(v,M)=>`#${CSS.escape(M)}`)),E),A=E=>{E.dispatchEvent(new Event(i))},a=E=>!(!E||"object"!=typeof E)&&(void 0!==E.jquery&&(E=E[0]),void 0!==E.nodeType),y=E=>a(E)?E.jquery?E[0]:E:"string"==typeof E&&E.length>0?document.querySelector(t(E)):null,C=E=>{if(!a(E)||0===E.getClientRects().length)return!1;const v="visible"===getComputedStyle(E).getPropertyValue("visibility"),M=E.closest("details:not([open])");if(!M)return v;if(M!==E){const W=E.closest("summary");if(W&&W.parentNode!==M||null===W)return!1}return v},b=E=>!E||E.nodeType!==Node.ELEMENT_NODE||!!E.classList.contains("disabled")||(void 0!==E.disabled?E.disabled:E.hasAttribute("disabled")&&"false"!==E.getAttribute("disabled")),N=E=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof E.getRootNode){const v=E.getRootNode();return v instanceof ShadowRoot?v:null}return E instanceof ShadowRoot?E:E.parentNode?N(E.parentNode):null},j=()=>{},x=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,H=[],k=()=>"rtl"===document.documentElement.dir,P=E=>{var v;v=()=>{const M=x();if(M){const W=E.NAME,ue=M.fn[W];M.fn[W]=E.jQueryInterface,M.fn[W].Constructor=E,M.fn[W].noConflict=()=>(M.fn[W]=ue,E.jQueryInterface)}},"loading"===document.readyState?(H.length||document.addEventListener("DOMContentLoaded",()=>{for(const M of H)M()}),H.push(v)):v()},X=(E,v=[],M=E)=>"function"==typeof E?E(...v):M,me=(E,v,M=!0)=>{if(!M)return void X(E);const W=(et=>{if(!et)return 0;let{transitionDuration:q,transitionDelay:U}=window.getComputedStyle(et);const Y=Number.parseFloat(q),ne=Number.parseFloat(U);return Y||ne?(q=q.split(",")[0],U=U.split(",")[0],1e3*(Number.parseFloat(q)+Number.parseFloat(U))):0})(v)+5;let ue=!1;const be=({target:et})=>{et===v&&(ue=!0,v.removeEventListener(i,be),X(E))};v.addEventListener(i,be),setTimeout(()=>{ue||A(v)},W)},Oe=(E,v,M,W)=>{const ue=E.length;let be=E.indexOf(v);return-1===be?!M&&W?E[ue-1]:E[0]:(be+=M?1:-1,W&&(be=(be+ue)%ue),E[Math.max(0,Math.min(be,ue-1))])},Se=/[^.]*(?=\..*)\.|.*/,wt=/\..*/,K=/::\d+$/,V={};let J=1;const ae={mouseenter:"mouseover",mouseleave:"mouseout"},oe=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ye(E,v){return v&&`${v}::${J++}`||E.uidEvent||J++}function Ee(E){const v=ye(E);return E.uidEvent=v,V[v]=V[v]||{},V[v]}function Ge(E,v,M=null){return Object.values(E).find(W=>W.callable===v&&W.delegationSelector===M)}function gt(E,v,M){const W="string"==typeof v,ue=W?M:v||M;let be=Qe(E);return oe.has(be)||(be=E),[W,ue,be]}function Ze(E,v,M,W,ue){if("string"!=typeof v||!E)return;let[be,et,q]=gt(v,M,W);var It;v in ae&&(It=et,et=function(Xt){if(!Xt.relatedTarget||Xt.relatedTarget!==Xt.delegateTarget&&!Xt.delegateTarget.contains(Xt.relatedTarget))return It.call(this,Xt)});const U=Ee(E),Y=U[q]||(U[q]={}),ne=Ge(Y,et,be?M:null);if(ne)return void(ne.oneOff=ne.oneOff&&ue);const pe=ye(et,v.replace(Se,"")),Ve=be?function(bt,It,Xt){return function Cn(ni){const oi=bt.querySelectorAll(It);for(let{target:Ei}=ni;Ei&&Ei!==this;Ei=Ei.parentNode)for(const Hi of oi)if(Hi===Ei)return Nt(ni,{delegateTarget:Ei}),Cn.oneOff&&pt.off(bt,ni.type,It,Xt),Xt.apply(Ei,[ni])}}(E,M,et):function(bt,It){return function Xt(Cn){return Nt(Cn,{delegateTarget:bt}),Xt.oneOff&&pt.off(bt,Cn.type,It),It.apply(bt,[Cn])}}(E,et);Ve.delegationSelector=be?M:null,Ve.callable=et,Ve.oneOff=ue,Ve.uidEvent=pe,Y[pe]=Ve,E.addEventListener(q,Ve,be)}function Je(E,v,M,W,ue){const be=Ge(v[M],W,ue);be&&(E.removeEventListener(M,be,!!ue),delete v[M][be.uidEvent])}function tt(E,v,M,W){const ue=v[M]||{};for(const[be,et]of Object.entries(ue))be.includes(W)&&Je(E,v,M,et.callable,et.delegationSelector)}function Qe(E){return E=E.replace(wt,""),ae[E]||E}const pt={on(E,v,M,W){Ze(E,v,M,W,!1)},one(E,v,M,W){Ze(E,v,M,W,!0)},off(E,v,M,W){if("string"!=typeof v||!E)return;const[ue,be,et]=gt(v,M,W),q=et!==v,U=Ee(E),Y=U[et]||{},ne=v.startsWith(".");if(void 0===be){if(ne)for(const pe of Object.keys(U))tt(E,U,pe,v.slice(1));for(const[pe,Ve]of Object.entries(Y)){const bt=pe.replace(K,"");q&&!v.includes(bt)||Je(E,U,et,Ve.callable,Ve.delegationSelector)}}else{if(!Object.keys(Y).length)return;Je(E,U,et,be,ue?M:null)}},trigger(E,v,M){if("string"!=typeof v||!E)return null;const W=x();let ue=null,be=!0,et=!0,q=!1;v!==Qe(v)&&W&&(ue=W.Event(v,M),W(E).trigger(ue),be=!ue.isPropagationStopped(),et=!ue.isImmediatePropagationStopped(),q=ue.isDefaultPrevented());const U=Nt(new Event(v,{bubbles:be,cancelable:!0}),M);return q&&U.preventDefault(),et&&E.dispatchEvent(U),U.defaultPrevented&&ue&&ue.preventDefault(),U}};function Nt(E,v={}){for(const[M,W]of Object.entries(v))try{E[M]=W}catch{Object.defineProperty(E,M,{configurable:!0,get:()=>W})}return E}function Jt(E){if("true"===E)return!0;if("false"===E)return!1;if(E===Number(E).toString())return Number(E);if(""===E||"null"===E)return null;if("string"!=typeof E)return E;try{return JSON.parse(decodeURIComponent(E))}catch{return E}}function nt(E){return E.replace(/[A-Z]/g,v=>`-${v.toLowerCase()}`)}const ot={setDataAttribute(E,v,M){E.setAttribute(`data-bs-${nt(v)}`,M)},removeDataAttribute(E,v){E.removeAttribute(`data-bs-${nt(v)}`)},getDataAttributes(E){if(!E)return{};const v={},M=Object.keys(E.dataset).filter(W=>W.startsWith("bs")&&!W.startsWith("bsConfig"));for(const W of M){let ue=W.replace(/^bs/,"");ue=ue.charAt(0).toLowerCase()+ue.slice(1,ue.length),v[ue]=Jt(E.dataset[W])}return v},getDataAttribute:(E,v)=>Jt(E.getAttribute(`data-bs-${nt(v)}`))};class Ct{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(v){return v=this._mergeConfigObj(v),v=this._configAfterMerge(v),this._typeCheckConfig(v),v}_configAfterMerge(v){return v}_mergeConfigObj(v,M){const W=a(M)?ot.getDataAttribute(M,"config"):{};return{...this.constructor.Default,..."object"==typeof W?W:{},...a(M)?ot.getDataAttributes(M):{},..."object"==typeof v?v:{}}}_typeCheckConfig(v,M=this.constructor.DefaultType){for(const[ue,be]of Object.entries(M)){const et=v[ue],q=a(et)?"element":null==(W=et)?`${W}`:Object.prototype.toString.call(W).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(be).test(q))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${ue}" provided type "${q}" but expected type "${be}".`)}var W}}class He extends Ct{constructor(v,M){super(),(v=y(v))&&(this._element=v,this._config=this._getConfig(M),m.set(this._element,this.constructor.DATA_KEY,this))}dispose(){m.remove(this._element,this.constructor.DATA_KEY),pt.off(this._element,this.constructor.EVENT_KEY);for(const v of Object.getOwnPropertyNames(this))this[v]=null}_queueCallback(v,M,W=!0){me(v,M,W)}_getConfig(v){return v=this._mergeConfigObj(v,this._element),v=this._configAfterMerge(v),this._typeCheckConfig(v),v}static getInstance(v){return m.get(y(v),this.DATA_KEY)}static getOrCreateInstance(v,M={}){return this.getInstance(v)||new this(v,"object"==typeof M?M:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(v){return`${v}${this.EVENT_KEY}`}}const mt=E=>{let v=E.getAttribute("data-bs-target");if(!v||"#"===v){let M=E.getAttribute("href");if(!M||!M.includes("#")&&!M.startsWith("."))return null;M.includes("#")&&!M.startsWith("#")&&(M=`#${M.split("#")[1]}`),v=M&&"#"!==M?M.trim():null}return v?v.split(",").map(M=>t(M)).join(","):null},vt={find:(E,v=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(v,E)),findOne:(E,v=document.documentElement)=>Element.prototype.querySelector.call(v,E),children:(E,v)=>[].concat(...E.children).filter(M=>M.matches(v)),parents(E,v){const M=[];let W=E.parentNode.closest(v);for(;W;)M.push(W),W=W.parentNode.closest(v);return M},prev(E,v){let M=E.previousElementSibling;for(;M;){if(M.matches(v))return[M];M=M.previousElementSibling}return[]},next(E,v){let M=E.nextElementSibling;for(;M;){if(M.matches(v))return[M];M=M.nextElementSibling}return[]},focusableChildren(E){const v=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(M=>`${M}:not([tabindex^="-"])`).join(",");return this.find(v,E).filter(M=>!b(M)&&C(M))},getSelectorFromElement(E){const v=mt(E);return v&&vt.findOne(v)?v:null},getElementFromSelector(E){const v=mt(E);return v?vt.findOne(v):null},getMultipleElementsFromSelector(E){const v=mt(E);return v?vt.find(v):[]}},hn=(E,v="hide")=>{const W=E.NAME;pt.on(document,`click.dismiss${E.EVENT_KEY}`,`[data-bs-dismiss="${W}"]`,function(ue){if(["A","AREA"].includes(this.tagName)&&ue.preventDefault(),b(this))return;const be=vt.getElementFromSelector(this)||this.closest(`.${W}`);E.getOrCreateInstance(be)[v]()})},yt=".bs.alert",Fn=`close${yt}`,xn=`closed${yt}`;class In extends He{static get NAME(){return"alert"}close(){if(pt.trigger(this._element,Fn).defaultPrevented)return;this._element.classList.remove("show");const v=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,v)}_destroyElement(){this._element.remove(),pt.trigger(this._element,xn),this.dispose()}static jQueryInterface(v){return this.each(function(){const M=In.getOrCreateInstance(this);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v](this)}})}}hn(In,"close"),P(In);const dn='[data-bs-toggle="button"]';class qn extends He{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(v){return this.each(function(){const M=qn.getOrCreateInstance(this);"toggle"===v&&M[v]()})}}pt.on(document,"click.bs.button.data-api",dn,E=>{E.preventDefault();const v=E.target.closest(dn);qn.getOrCreateInstance(v).toggle()}),P(qn);const di=".bs.swipe",ir=`touchstart${di}`,Bn=`touchmove${di}`,xi=`touchend${di}`,fi=`pointerdown${di}`,Mt=`pointerup${di}`,Ot={endCallback:null,leftCallback:null,rightCallback:null},ve={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class De extends Ct{constructor(v,M){super(),this._element=v,v&&De.isSupported()&&(this._config=this._getConfig(M),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ot}static get DefaultType(){return ve}static get NAME(){return"swipe"}dispose(){pt.off(this._element,di)}_start(v){this._supportPointerEvents?this._eventIsPointerPenTouch(v)&&(this._deltaX=v.clientX):this._deltaX=v.touches[0].clientX}_end(v){this._eventIsPointerPenTouch(v)&&(this._deltaX=v.clientX-this._deltaX),this._handleSwipe(),X(this._config.endCallback)}_move(v){this._deltaX=v.touches&&v.touches.length>1?0:v.touches[0].clientX-this._deltaX}_handleSwipe(){const v=Math.abs(this._deltaX);if(v<=40)return;const M=v/this._deltaX;this._deltaX=0,M&&X(M>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(pt.on(this._element,fi,v=>this._start(v)),pt.on(this._element,Mt,v=>this._end(v)),this._element.classList.add("pointer-event")):(pt.on(this._element,ir,v=>this._start(v)),pt.on(this._element,Bn,v=>this._move(v)),pt.on(this._element,xi,v=>this._end(v)))}_eventIsPointerPenTouch(v){return this._supportPointerEvents&&("pen"===v.pointerType||"touch"===v.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const xe=".bs.carousel",Ye=".data-api",xt="next",cn="prev",Kn="left",An="right",gs=`slide${xe}`,Qt=`slid${xe}`,ki=`keydown${xe}`,ta=`mouseenter${xe}`,Pi=`mouseleave${xe}`,co=`dragstart${xe}`,Or=`load${xe}${Ye}`,Dr=`click${xe}${Ye}`,bs="carousel",Do="active",Ms=".active",Ls=".carousel-item",On=Ms+Ls,mr={ArrowLeft:An,ArrowRight:Kn},Pt={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ln={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Yt extends He{constructor(v,M){super(v,M),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=vt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===bs&&this.cycle()}static get Default(){return Pt}static get DefaultType(){return ln}static get NAME(){return"carousel"}next(){this._slide(xt)}nextWhenVisible(){!document.hidden&&C(this._element)&&this.next()}prev(){this._slide(cn)}pause(){this._isSliding&&A(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?pt.one(this._element,Qt,()=>this.cycle()):this.cycle())}to(v){const M=this._getItems();if(v>M.length-1||v<0)return;if(this._isSliding)return void pt.one(this._element,Qt,()=>this.to(v));const W=this._getItemIndex(this._getActive());W!==v&&this._slide(v>W?xt:cn,M[v])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(v){return v.defaultInterval=v.interval,v}_addEventListeners(){this._config.keyboard&&pt.on(this._element,ki,v=>this._keydown(v)),"hover"===this._config.pause&&(pt.on(this._element,ta,()=>this.pause()),pt.on(this._element,Pi,()=>this._maybeEnableCycle())),this._config.touch&&De.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const M of vt.find(".carousel-item img",this._element))pt.on(M,co,W=>W.preventDefault());this._swipeHelper=new De(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Kn)),rightCallback:()=>this._slide(this._directionToOrder(An)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(v){if(/input|textarea/i.test(v.target.tagName))return;const M=mr[v.key];M&&(v.preventDefault(),this._slide(this._directionToOrder(M)))}_getItemIndex(v){return this._getItems().indexOf(v)}_setActiveIndicatorElement(v){if(!this._indicatorsElement)return;const M=vt.findOne(Ms,this._indicatorsElement);M.classList.remove(Do),M.removeAttribute("aria-current");const W=vt.findOne(`[data-bs-slide-to="${v}"]`,this._indicatorsElement);W&&(W.classList.add(Do),W.setAttribute("aria-current","true"))}_updateInterval(){const v=this._activeElement||this._getActive();if(!v)return;const M=Number.parseInt(v.getAttribute("data-bs-interval"),10);this._config.interval=M||this._config.defaultInterval}_slide(v,M=null){if(this._isSliding)return;const W=this._getActive(),ue=v===xt,be=M||Oe(this._getItems(),W,ue,this._config.wrap);if(be===W)return;const et=this._getItemIndex(be),q=pe=>pt.trigger(this._element,pe,{relatedTarget:be,direction:this._orderToDirection(v),from:this._getItemIndex(W),to:et});if(q(gs).defaultPrevented||!W||!be)return;const U=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(et),this._activeElement=be;const Y=ue?"carousel-item-start":"carousel-item-end",ne=ue?"carousel-item-next":"carousel-item-prev";be.classList.add(ne),W.classList.add(Y),be.classList.add(Y),this._queueCallback(()=>{be.classList.remove(Y,ne),be.classList.add(Do),W.classList.remove(Do,ne,Y),this._isSliding=!1,q(Qt)},W,this._isAnimated()),U&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return vt.findOne(On,this._element)}_getItems(){return vt.find(Ls,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(v){return k()?v===Kn?cn:xt:v===Kn?xt:cn}_orderToDirection(v){return k()?v===cn?Kn:An:v===cn?An:Kn}static jQueryInterface(v){return this.each(function(){const M=Yt.getOrCreateInstance(this,v);if("number"!=typeof v){if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v]()}}else M.to(v)})}}pt.on(document,Dr,"[data-bs-slide], [data-bs-slide-to]",function(E){const v=vt.getElementFromSelector(this);if(!v||!v.classList.contains(bs))return;E.preventDefault();const M=Yt.getOrCreateInstance(v),W=this.getAttribute("data-bs-slide-to");return W?(M.to(W),void M._maybeEnableCycle()):"next"===ot.getDataAttribute(this,"slide")?(M.next(),void M._maybeEnableCycle()):(M.prev(),void M._maybeEnableCycle())}),pt.on(window,Or,()=>{const E=vt.find('[data-bs-ride="carousel"]');for(const v of E)Yt.getOrCreateInstance(v)}),P(Yt);const li=".bs.collapse",Qr=`show${li}`,Sr=`shown${li}`,Pn=`hide${li}`,sn=`hidden${li}`,Rt=`click${li}.data-api`,Bt="show",bn="collapse",mi="collapsing",rr=`:scope .${bn} .${bn}`,Ri='[data-bs-toggle="collapse"]',Ur={parent:null,toggle:!0},mn={parent:"(null|element)",toggle:"boolean"};class Xe extends He{constructor(v,M){super(v,M),this._isTransitioning=!1,this._triggerArray=[];const W=vt.find(Ri);for(const ue of W){const be=vt.getSelectorFromElement(ue),et=vt.find(be).filter(q=>q===this._element);null!==be&&et.length&&this._triggerArray.push(ue)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ur}static get DefaultType(){return mn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let v=[];if(this._config.parent&&(v=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(ue=>ue!==this._element).map(ue=>Xe.getOrCreateInstance(ue,{toggle:!1}))),v.length&&v[0]._isTransitioning||pt.trigger(this._element,Qr).defaultPrevented)return;for(const ue of v)ue.hide();const M=this._getDimension();this._element.classList.remove(bn),this._element.classList.add(mi),this._element.style[M]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const W=`scroll${M[0].toUpperCase()+M.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(mi),this._element.classList.add(bn,Bt),this._element.style[M]="",pt.trigger(this._element,Sr)},this._element,!0),this._element.style[M]=`${this._element[W]}px`}hide(){if(this._isTransitioning||!this._isShown()||pt.trigger(this._element,Pn).defaultPrevented)return;const v=this._getDimension();this._element.style[v]=`${this._element.getBoundingClientRect()[v]}px`,this._element.classList.add(mi),this._element.classList.remove(bn,Bt);for(const M of this._triggerArray){const W=vt.getElementFromSelector(M);W&&!this._isShown(W)&&this._addAriaAndCollapsedClass([M],!1)}this._isTransitioning=!0,this._element.style[v]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(mi),this._element.classList.add(bn),pt.trigger(this._element,sn)},this._element,!0)}_isShown(v=this._element){return v.classList.contains(Bt)}_configAfterMerge(v){return v.toggle=!!v.toggle,v.parent=y(v.parent),v}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const v=this._getFirstLevelChildren(Ri);for(const M of v){const W=vt.getElementFromSelector(M);W&&this._addAriaAndCollapsedClass([M],this._isShown(W))}}_getFirstLevelChildren(v){const M=vt.find(rr,this._config.parent);return vt.find(v,this._config.parent).filter(W=>!M.includes(W))}_addAriaAndCollapsedClass(v,M){if(v.length)for(const W of v)W.classList.toggle("collapsed",!M),W.setAttribute("aria-expanded",M)}static jQueryInterface(v){const M={};return"string"==typeof v&&/show|hide/.test(v)&&(M.toggle=!1),this.each(function(){const W=Xe.getOrCreateInstance(this,M);if("string"==typeof v){if(void 0===W[v])throw new TypeError(`No method named "${v}"`);W[v]()}})}}pt.on(document,Rt,Ri,function(E){("A"===E.target.tagName||E.delegateTarget&&"A"===E.delegateTarget.tagName)&&E.preventDefault();for(const v of vt.getMultipleElementsFromSelector(this))Xe.getOrCreateInstance(v,{toggle:!1}).toggle()}),P(Xe);var ke="top",ge="bottom",Ae="right",it="left",Ht="auto",Kt=[ke,ge,Ae,it],yn="start",Tn="end",pi="clippingParents",nn="viewport",Ti="popper",yi="reference",Hr=Kt.reduce(function(E,v){return E.concat([v+"-"+yn,v+"-"+Tn])},[]),ss=[].concat(Kt,[Ht]).reduce(function(E,v){return E.concat([v,v+"-"+yn,v+"-"+Tn])},[]),wr="beforeRead",yr="afterRead",jr="beforeMain",Co="afterMain",ns="beforeWrite",To="afterWrite",Bs=[wr,"read",yr,jr,"main",Co,ns,"write",To];function Eo(E){return E?(E.nodeName||"").toLowerCase():null}function wo(E){if(null==E)return window;if("[object Window]"!==E.toString()){var v=E.ownerDocument;return v&&v.defaultView||window}return E}function Ra(E){return E instanceof wo(E).Element||E instanceof Element}function Ps(E){return E instanceof wo(E).HTMLElement||E instanceof HTMLElement}function Ds(E){return typeof ShadowRoot<"u"&&(E instanceof wo(E).ShadowRoot||E instanceof ShadowRoot)}const St={name:"applyStyles",enabled:!0,phase:"write",fn:function(E){var v=E.state;Object.keys(v.elements).forEach(function(M){var W=v.styles[M]||{},ue=v.attributes[M]||{},be=v.elements[M];Ps(be)&&Eo(be)&&(Object.assign(be.style,W),Object.keys(ue).forEach(function(et){var q=ue[et];!1===q?be.removeAttribute(et):be.setAttribute(et,!0===q?"":q)}))})},effect:function(E){var v=E.state,M={popper:{position:v.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(v.elements.popper.style,M.popper),v.styles=M,v.elements.arrow&&Object.assign(v.elements.arrow.style,M.arrow),function(){Object.keys(v.elements).forEach(function(W){var ue=v.elements[W],be=v.attributes[W]||{},et=Object.keys(v.styles.hasOwnProperty(W)?v.styles[W]:M[W]).reduce(function(q,U){return q[U]="",q},{});Ps(ue)&&Eo(ue)&&(Object.assign(ue.style,et),Object.keys(be).forEach(function(q){ue.removeAttribute(q)}))})}},requires:["computeStyles"]};function En(E){return E.split("-")[0]}var dt=Math.max,Tt=Math.min,un=Math.round;function Yn(){var E=navigator.userAgentData;return null!=E&&E.brands&&Array.isArray(E.brands)?E.brands.map(function(v){return v.brand+"/"+v.version}).join(" "):navigator.userAgent}function Ui(){return!/^((?!chrome|android).)*safari/i.test(Yn())}function Gi(E,v,M){void 0===v&&(v=!1),void 0===M&&(M=!1);var W=E.getBoundingClientRect(),ue=1,be=1;v&&Ps(E)&&(ue=E.offsetWidth>0&&un(W.width)/E.offsetWidth||1,be=E.offsetHeight>0&&un(W.height)/E.offsetHeight||1);var et=(Ra(E)?wo(E):window).visualViewport,q=!Ui()&&M,U=(W.left+(q&&et?et.offsetLeft:0))/ue,Y=(W.top+(q&&et?et.offsetTop:0))/be,ne=W.width/ue,pe=W.height/be;return{width:ne,height:pe,top:Y,right:U+ne,bottom:Y+pe,left:U,x:U,y:Y}}function _r(E){var v=Gi(E),M=E.offsetWidth,W=E.offsetHeight;return Math.abs(v.width-M)<=1&&(M=v.width),Math.abs(v.height-W)<=1&&(W=v.height),{x:E.offsetLeft,y:E.offsetTop,width:M,height:W}}function us(E,v){var M=v.getRootNode&&v.getRootNode();if(E.contains(v))return!0;if(M&&Ds(M)){var W=v;do{if(W&&E.isSameNode(W))return!0;W=W.parentNode||W.host}while(W)}return!1}function So(E){return wo(E).getComputedStyle(E)}function Fo(E){return["table","td","th"].indexOf(Eo(E))>=0}function Ks(E){return((Ra(E)?E.ownerDocument:E.document)||window.document).documentElement}function na(E){return"html"===Eo(E)?E:E.assignedSlot||E.parentNode||(Ds(E)?E.host:null)||Ks(E)}function _s(E){return Ps(E)&&"fixed"!==So(E).position?E.offsetParent:null}function ko(E){for(var v=wo(E),M=_s(E);M&&Fo(M)&&"static"===So(M).position;)M=_s(M);return M&&("html"===Eo(M)||"body"===Eo(M)&&"static"===So(M).position)?v:M||function(W){var ue=/firefox/i.test(Yn());if(/Trident/i.test(Yn())&&Ps(W)&&"fixed"===So(W).position)return null;var be=na(W);for(Ds(be)&&(be=be.host);Ps(be)&&["html","body"].indexOf(Eo(be))<0;){var et=So(be);if("none"!==et.transform||"none"!==et.perspective||"paint"===et.contain||-1!==["transform","perspective"].indexOf(et.willChange)||ue&&"filter"===et.willChange||ue&&et.filter&&"none"!==et.filter)return be;be=be.parentNode}return null}(E)||v}function da(E){return["top","bottom"].indexOf(E)>=0?"x":"y"}function Wa(E,v,M){return dt(E,Tt(v,M))}function er(E){return Object.assign({},{top:0,right:0,bottom:0,left:0},E)}function Cr(E,v){return v.reduce(function(M,W){return M[W]=E,M},{})}const Ss={name:"arrow",enabled:!0,phase:"main",fn:function(E){var v,sr,Er,M=E.state,W=E.name,ue=E.options,be=M.elements.arrow,et=M.modifiersData.popperOffsets,q=En(M.placement),U=da(q),Y=[it,Ae].indexOf(q)>=0?"height":"width";if(be&&et){var ne=(Er=M,er("number"!=typeof(sr="function"==typeof(sr=ue.padding)?sr(Object.assign({},Er.rects,{placement:Er.placement})):sr)?sr:Cr(sr,Kt))),pe=_r(be),Ve="y"===U?ke:it,bt="y"===U?ge:Ae,It=M.rects.reference[Y]+M.rects.reference[U]-et[U]-M.rects.popper[Y],Xt=et[U]-M.rects.reference[U],Cn=ko(be),ni=Cn?"y"===U?Cn.clientHeight||0:Cn.clientWidth||0:0,hi=ni/2-pe[Y]/2+(It/2-Xt/2),wi=Wa(ne[Ve],hi,ni-pe[Y]-ne[bt]);M.modifiersData[W]=((v={})[U]=wi,v.centerOffset=wi-hi,v)}},effect:function(E){var v=E.state,M=E.options.element,W=void 0===M?"[data-popper-arrow]":M;null!=W&&("string"!=typeof W||(W=v.elements.popper.querySelector(W)))&&us(v.elements.popper,W)&&(v.elements.arrow=W)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function br(E){return E.split("-")[1]}var ds={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yo(E){var v,M=E.popper,W=E.popperRect,ue=E.placement,be=E.variation,et=E.offsets,q=E.position,U=E.gpuAcceleration,Y=E.adaptive,ne=E.roundOffsets,pe=E.isFixed,Ve=et.x,bt=void 0===Ve?0:Ve,It=et.y,Xt=void 0===It?0:It,Cn="function"==typeof ne?ne({x:bt,y:Xt}):{x:bt,y:Xt};bt=Cn.x,Xt=Cn.y;var ni=et.hasOwnProperty("x"),oi=et.hasOwnProperty("y"),Ei=it,Hi=ke,hi=window;if(Y){var wi=ko(M),Tr="clientHeight",sr="clientWidth";wi===wo(M)&&"static"!==So(wi=Ks(M)).position&&"absolute"===q&&(Tr="scrollHeight",sr="scrollWidth"),(ue===ke||(ue===it||ue===Ae)&&be===Tn)&&(Hi=ge,Xt-=(pe&&wi===hi&&hi.visualViewport?hi.visualViewport.height:wi[Tr])-W.height,Xt*=U?1:-1),ue!==it&&(ue!==ke&&ue!==ge||be!==Tn)||(Ei=Ae,bt-=(pe&&wi===hi&&hi.visualViewport?hi.visualViewport.width:wi[sr])-W.width,bt*=U?1:-1)}var Er,Xa,Wo,Zo,Ns,ms=Object.assign({position:q},Y&&ds),ao=!0===ne?(Xa={x:bt,y:Xt},Wo=wo(M),Zo=Xa.y,{x:un(Xa.x*(Ns=Wo.devicePixelRatio||1))/Ns||0,y:un(Zo*Ns)/Ns||0}):{x:bt,y:Xt};return bt=ao.x,Xt=ao.y,Object.assign({},ms,U?((Er={})[Hi]=oi?"0":"",Er[Ei]=ni?"0":"",Er.transform=(hi.devicePixelRatio||1)<=1?"translate("+bt+"px, "+Xt+"px)":"translate3d("+bt+"px, "+Xt+"px, 0)",Er):((v={})[Hi]=oi?Xt+"px":"",v[Ei]=ni?bt+"px":"",v.transform="",v))}const gl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(E){var v=E.state,M=E.options,W=M.gpuAcceleration,ue=void 0===W||W,be=M.adaptive,et=void 0===be||be,q=M.roundOffsets,U=void 0===q||q,Y={placement:En(v.placement),variation:br(v.placement),popper:v.elements.popper,popperRect:v.rects.popper,gpuAcceleration:ue,isFixed:"fixed"===v.options.strategy};null!=v.modifiersData.popperOffsets&&(v.styles.popper=Object.assign({},v.styles.popper,Yo(Object.assign({},Y,{offsets:v.modifiersData.popperOffsets,position:v.options.strategy,adaptive:et,roundOffsets:U})))),null!=v.modifiersData.arrow&&(v.styles.arrow=Object.assign({},v.styles.arrow,Yo(Object.assign({},Y,{offsets:v.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:U})))),v.attributes.popper=Object.assign({},v.attributes.popper,{"data-popper-placement":v.placement})},data:{}};var ha={passive:!0};const as={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(E){var v=E.state,M=E.instance,W=E.options,ue=W.scroll,be=void 0===ue||ue,et=W.resize,q=void 0===et||et,U=wo(v.elements.popper),Y=[].concat(v.scrollParents.reference,v.scrollParents.popper);return be&&Y.forEach(function(ne){ne.addEventListener("scroll",M.update,ha)}),q&&U.addEventListener("resize",M.update,ha),function(){be&&Y.forEach(function(ne){ne.removeEventListener("scroll",M.update,ha)}),q&&U.removeEventListener("resize",M.update,ha)}},data:{}};var Na={left:"right",right:"left",bottom:"top",top:"bottom"};function Ma(E){return E.replace(/left|right|bottom|top/g,function(v){return Na[v]})}var Fi={start:"end",end:"start"};function _i(E){return E.replace(/start|end/g,function(v){return Fi[v]})}function dr(E){var v=wo(E);return{scrollLeft:v.pageXOffset,scrollTop:v.pageYOffset}}function $r(E){return Gi(Ks(E)).left+dr(E).scrollLeft}function Fr(E){var v=So(E);return/auto|scroll|overlay|hidden/.test(v.overflow+v.overflowY+v.overflowX)}function Ho(E){return["html","body","#document"].indexOf(Eo(E))>=0?E.ownerDocument.body:Ps(E)&&Fr(E)?E:Ho(na(E))}function no(E,v){var M;void 0===v&&(v=[]);var W=Ho(E),ue=W===(null==(M=E.ownerDocument)?void 0:M.body),be=wo(W),et=ue?[be].concat(be.visualViewport||[],Fr(W)?W:[]):W,q=v.concat(et);return ue?q:q.concat(no(na(et)))}function Vr(E){return Object.assign({},E,{left:E.x,top:E.y,right:E.x+E.width,bottom:E.y+E.height})}function os(E,v,M){return v===nn?Vr(function(W,ue){var be=wo(W),et=Ks(W),q=be.visualViewport,U=et.clientWidth,Y=et.clientHeight,ne=0,pe=0;if(q){U=q.width,Y=q.height;var Ve=Ui();(Ve||!Ve&&"fixed"===ue)&&(ne=q.offsetLeft,pe=q.offsetTop)}return{width:U,height:Y,x:ne+$r(W),y:pe}}(E,M)):Ra(v)?((be=Gi(W=v,!1,"fixed"===M)).top=be.top+W.clientTop,be.left=be.left+W.clientLeft,be.bottom=be.top+W.clientHeight,be.right=be.left+W.clientWidth,be.width=W.clientWidth,be.height=W.clientHeight,be.x=be.left,be.y=be.top,be):Vr(function(W){var ue,be=Ks(W),et=dr(W),q=null==(ue=W.ownerDocument)?void 0:ue.body,U=dt(be.scrollWidth,be.clientWidth,q?q.scrollWidth:0,q?q.clientWidth:0),Y=dt(be.scrollHeight,be.clientHeight,q?q.scrollHeight:0,q?q.clientHeight:0),ne=-et.scrollLeft+$r(W),pe=-et.scrollTop;return"rtl"===So(q||be).direction&&(ne+=dt(be.clientWidth,q?q.clientWidth:0)-U),{width:U,height:Y,x:ne,y:pe}}(Ks(E)));var W,be}function $o(E){var v,M=E.reference,W=E.element,ue=E.placement,be=ue?En(ue):null,et=ue?br(ue):null,q=M.x+M.width/2-W.width/2,U=M.y+M.height/2-W.height/2;switch(be){case ke:v={x:q,y:M.y-W.height};break;case ge:v={x:q,y:M.y+M.height};break;case Ae:v={x:M.x+M.width,y:U};break;case it:v={x:M.x-W.width,y:U};break;default:v={x:M.x,y:M.y}}var Y=be?da(be):null;if(null!=Y){var ne="y"===Y?"height":"width";switch(et){case yn:v[Y]=v[Y]-(M[ne]/2-W[ne]/2);break;case Tn:v[Y]=v[Y]+(M[ne]/2-W[ne]/2)}}return v}function Ko(E,v){void 0===v&&(v={});var Wo,mo,Zo,Ns,Is,ll,tr,Va,hc,_o,W=v.placement,ue=void 0===W?E.placement:W,be=v.strategy,et=void 0===be?E.strategy:be,q=v.boundary,U=void 0===q?pi:q,Y=v.rootBoundary,ne=void 0===Y?nn:Y,pe=v.elementContext,Ve=void 0===pe?Ti:pe,bt=v.altBoundary,It=void 0!==bt&&bt,Xt=v.padding,Cn=void 0===Xt?0:Xt,ni=er("number"!=typeof Cn?Cn:Cr(Cn,Kt)),Ei=E.rects.popper,Hi=E.elements[It?Ve===Ti?yi:Ti:Ve],hi=(Wo=Ra(Hi)?Hi:Hi.contextElement||Ks(E.elements.popper),Zo=ne,Ns=et,Va="clippingParents"===(mo=U)?(ll=no(na(Is=Wo)),Ra(tr=["absolute","fixed"].indexOf(So(Is).position)>=0&&Ps(Is)?ko(Is):Is)?ll.filter(function(Ir){return Ra(Ir)&&us(Ir,tr)&&"body"!==Eo(Ir)}):[]):[].concat(mo),_o=(hc=[].concat(Va,[Zo])).reduce(function(Is,ll){var tr=os(Wo,ll,Ns);return Is.top=dt(tr.top,Is.top),Is.right=Tt(tr.right,Is.right),Is.bottom=Tt(tr.bottom,Is.bottom),Is.left=dt(tr.left,Is.left),Is},os(Wo,hc[0],Ns)),_o.width=_o.right-_o.left,_o.height=_o.bottom-_o.top,_o.x=_o.left,_o.y=_o.top,_o),wi=Gi(E.elements.reference),Tr=$o({reference:wi,element:Ei,strategy:"absolute",placement:ue}),sr=Vr(Object.assign({},Ei,Tr)),Er=Ve===Ti?sr:wi,ms={top:hi.top-Er.top+ni.top,bottom:Er.bottom-hi.bottom+ni.bottom,left:hi.left-Er.left+ni.left,right:Er.right-hi.right+ni.right},ao=E.modifiersData.offset;if(Ve===Ti&&ao){var Xa=ao[ue];Object.keys(ms).forEach(function(Wo){var mo=[Ae,ge].indexOf(Wo)>=0?1:-1,Zo=[ke,ge].indexOf(Wo)>=0?"y":"x";ms[Wo]+=Xa[Zo]*mo})}return ms}const Mo={name:"flip",enabled:!0,phase:"main",fn:function(E){var v=E.state,M=E.options,W=E.name;if(!v.modifiersData[W]._skip){for(var ue=M.mainAxis,be=void 0===ue||ue,et=M.altAxis,q=void 0===et||et,U=M.fallbackPlacements,Y=M.padding,ne=M.boundary,pe=M.rootBoundary,Ve=M.altBoundary,bt=M.flipVariations,It=void 0===bt||bt,Xt=M.allowedAutoPlacements,Cn=v.options.placement,ni=En(Cn),oi=U||(ni!==Cn&&It?function(Is){if(En(Is)===Ht)return[];var ll=Ma(Is);return[_i(Is),ll,_i(ll)]}(Cn):[Ma(Cn)]),Ei=[Cn].concat(oi).reduce(function(Is,ll){return Is.concat(En(ll)===Ht?function Rn(E,v){void 0===v&&(v={});var ue=v.boundary,be=v.rootBoundary,et=v.padding,q=v.flipVariations,U=v.allowedAutoPlacements,Y=void 0===U?ss:U,ne=br(v.placement),pe=ne?q?Hr:Hr.filter(function(It){return br(It)===ne}):Kt,Ve=pe.filter(function(It){return Y.indexOf(It)>=0});0===Ve.length&&(Ve=pe);var bt=Ve.reduce(function(It,Xt){return It[Xt]=Ko(E,{placement:Xt,boundary:ue,rootBoundary:be,padding:et})[En(Xt)],It},{});return Object.keys(bt).sort(function(It,Xt){return bt[It]-bt[Xt]})}(v,{placement:ll,boundary:ne,rootBoundary:pe,padding:Y,flipVariations:It,allowedAutoPlacements:Xt}):ll)},[]),Hi=v.rects.reference,hi=v.rects.popper,wi=new Map,Tr=!0,sr=Ei[0],Er=0;Er=0,mo=Wo?"width":"height",Zo=Ko(v,{placement:ms,boundary:ne,rootBoundary:pe,altBoundary:Ve,padding:Y}),Ns=Wo?Xa?Ae:it:Xa?ge:ke;Hi[mo]>hi[mo]&&(Ns=Ma(Ns));var Va=Ma(Ns),hc=[];if(be&&hc.push(Zo[ao]<=0),q&&hc.push(Zo[Ns]<=0,Zo[Va]<=0),hc.every(function(Is){return Is})){sr=ms,Tr=!1;break}wi.set(ms,hc)}if(Tr)for(var Ml=function(Is){var ll=Ei.find(function(tr){var Ir=wi.get(tr);if(Ir)return Ir.slice(0,Is).every(function(kr){return kr})});if(ll)return sr=ll,"break"},_o=It?3:1;_o>0&&"break"!==Ml(_o);_o--);v.placement!==sr&&(v.modifiersData[W]._skip=!0,v.placement=sr,v.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Aa(E,v,M){return void 0===M&&(M={x:0,y:0}),{top:E.top-v.height-M.y,right:E.right-v.width+M.x,bottom:E.bottom-v.height+M.y,left:E.left-v.width-M.x}}function Xr(E){return[ke,Ae,ge,it].some(function(v){return E[v]>=0})}const gr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(E){var v=E.state,M=E.name,W=v.rects.reference,ue=v.rects.popper,be=v.modifiersData.preventOverflow,et=Ko(v,{elementContext:"reference"}),q=Ko(v,{altBoundary:!0}),U=Aa(et,W),Y=Aa(q,ue,be),ne=Xr(U),pe=Xr(Y);v.modifiersData[M]={referenceClippingOffsets:U,popperEscapeOffsets:Y,isReferenceHidden:ne,hasPopperEscaped:pe},v.attributes.popper=Object.assign({},v.attributes.popper,{"data-popper-reference-hidden":ne,"data-popper-escaped":pe})}},Us={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(E){var v=E.state,W=E.name,ue=E.options.offset,be=void 0===ue?[0,0]:ue,et=ss.reduce(function(ne,pe){return ne[pe]=(bt=v.rects,It=be,Xt=En(Ve=pe),Cn=[it,ke].indexOf(Xt)>=0?-1:1,oi=(oi=(ni="function"==typeof It?It(Object.assign({},bt,{placement:Ve})):It)[0])||0,Ei=((Ei=ni[1])||0)*Cn,[it,Ae].indexOf(Xt)>=0?{x:Ei,y:oi}:{x:oi,y:Ei}),ne;var Ve,bt,It,Xt,Cn,ni,oi,Ei},{}),q=et[v.placement],Y=q.y;null!=v.modifiersData.popperOffsets&&(v.modifiersData.popperOffsets.x+=q.x,v.modifiersData.popperOffsets.y+=Y),v.modifiersData[W]=et}},Rs={name:"popperOffsets",enabled:!0,phase:"read",fn:function(E){var v=E.state;v.modifiersData[E.name]=$o({reference:v.rects.reference,element:v.rects.popper,strategy:"absolute",placement:v.placement})},data:{}},Mr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(E){var js,Sl,v=E.state,M=E.options,W=E.name,ue=M.mainAxis,be=void 0===ue||ue,et=M.altAxis,q=void 0!==et&&et,Ve=M.tether,bt=void 0===Ve||Ve,It=M.tetherOffset,Xt=void 0===It?0:It,Cn=Ko(v,{boundary:M.boundary,rootBoundary:M.rootBoundary,padding:M.padding,altBoundary:M.altBoundary}),ni=En(v.placement),oi=br(v.placement),Ei=!oi,Hi=da(ni),hi="x"===Hi?"y":"x",wi=v.modifiersData.popperOffsets,Tr=v.rects.reference,sr=v.rects.popper,Er="function"==typeof Xt?Xt(Object.assign({},v.rects,{placement:v.placement})):Xt,ms="number"==typeof Er?{mainAxis:Er,altAxis:Er}:Object.assign({mainAxis:0,altAxis:0},Er),ao=v.modifiersData.offset?v.modifiersData.offset[v.placement]:null,Xa={x:0,y:0};if(wi){if(be){var Wo,mo="y"===Hi?ke:it,Zo="y"===Hi?ge:Ae,Ns="y"===Hi?"height":"width",Va=wi[Hi],hc=Va+Cn[mo],Ml=Va-Cn[Zo],_o=bt?-sr[Ns]/2:0,Is=oi===yn?Tr[Ns]:sr[Ns],ll=oi===yn?-sr[Ns]:-Tr[Ns],tr=v.elements.arrow,Ir=bt&&tr?_r(tr):{width:0,height:0},kr=v.modifiersData["arrow#persistent"]?v.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Jr=kr[mo],Go=kr[Zo],oa=Wa(0,Tr[Ns],Ir[Ns]),Hl=Ei?Tr[Ns]/2-_o-oa-Jr-ms.mainAxis:Is-oa-Jr-ms.mainAxis,vs=Ei?-Tr[Ns]/2+_o+oa+Go+ms.mainAxis:ll+oa+Go+ms.mainAxis,fs=v.elements.arrow&&ko(v.elements.arrow),aa=fs?"y"===Hi?fs.clientTop||0:fs.clientLeft||0:0,jl=null!=(Wo=ao?.[Hi])?Wo:0,cl=Va+vs-jl,qa=Wa(bt?Tt(hc,Va+Hl-jl-aa):hc,Va,bt?dt(Ml,cl):Ml);wi[Hi]=qa,Xa[Hi]=qa-Va}if(q){var zl,yc=wi[hi],cs="y"===hi?"height":"width",R=yc+Cn["x"===Hi?ke:it],te=yc-Cn["x"===Hi?ge:Ae],Ie=-1!==[ke,it].indexOf(ni),Pe=null!=(zl=ao?.[hi])?zl:0,ft=Ie?R:yc-Tr[cs]-sr[cs]-Pe+ms.altAxis,on=Ie?yc+Tr[cs]+sr[cs]-Pe-ms.altAxis:te,Gn=bt&&Ie?(Sl=Wa(ft,yc,js=on))>js?js:Sl:Wa(bt?ft:R,yc,bt?on:te);wi[hi]=Gn,Xa[hi]=Gn-yc}v.modifiersData[W]=Xa}},requiresIfExists:["offset"]};function Zr(E,v,M){void 0===M&&(M=!1);var W,ue,pe,Ve,bt,It,be=Ps(v),et=Ps(v)&&(Ve=(pe=v).getBoundingClientRect(),bt=un(Ve.width)/pe.offsetWidth||1,It=un(Ve.height)/pe.offsetHeight||1,1!==bt||1!==It),q=Ks(v),U=Gi(E,et,M),Y={scrollLeft:0,scrollTop:0},ne={x:0,y:0};return(be||!be&&!M)&&(("body"!==Eo(v)||Fr(q))&&(Y=(W=v)!==wo(W)&&Ps(W)?{scrollLeft:(ue=W).scrollLeft,scrollTop:ue.scrollTop}:dr(W)),Ps(v)?((ne=Gi(v,!0)).x+=v.clientLeft,ne.y+=v.clientTop):q&&(ne.x=$r(q))),{x:U.left+Y.scrollLeft-ne.x,y:U.top+Y.scrollTop-ne.y,width:U.width,height:U.height}}function Ji(E){var v=new Map,M=new Set,W=[];function ue(be){M.add(be.name),[].concat(be.requires||[],be.requiresIfExists||[]).forEach(function(et){if(!M.has(et)){var q=v.get(et);q&&ue(q)}}),W.push(be)}return E.forEach(function(be){v.set(be.name,be)}),E.forEach(function(be){M.has(be.name)||ue(be)}),W}var uo={placement:"bottom",modifiers:[],strategy:"absolute"};function Oo(){for(var E=arguments.length,v=new Array(E),M=0;MNumber.parseInt(M,10)):"function"==typeof v?M=>v(M,this._element):v}_getPopperConfig(){const v={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(ot.setDataAttribute(this._menu,"popper","static"),v.modifiers=[{name:"applyStyles",enabled:!1}]),{...v,...X(this._config.popperConfig,[v])}}_selectMenuItem({key:v,target:M}){const W=vt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(ue=>C(ue));W.length&&Oe(W,M,v===tl,!W.includes(M)).focus()}static jQueryInterface(v){return this.each(function(){const M=ya.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v]()}})}static clearMenus(v){if(2===v.button||"keyup"===v.type&&"Tab"!==v.key)return;const M=vt.find(nl);for(const W of M){const ue=ya.getInstance(W);if(!ue||!1===ue._config.autoClose)continue;const be=v.composedPath(),et=be.includes(ue._menu);if(be.includes(ue._element)||"inside"===ue._config.autoClose&&!et||"outside"===ue._config.autoClose&&et||ue._menu.contains(v.target)&&("keyup"===v.type&&"Tab"===v.key||/input|select|option|textarea|form/i.test(v.target.tagName)))continue;const q={relatedTarget:ue._element};"click"===v.type&&(q.clickEvent=v),ue._completeHide(q)}}static dataApiKeydownHandler(v){const M=/input|textarea/i.test(v.target.tagName),W="Escape"===v.key,ue=[Pl,tl].includes(v.key);if(!ue&&!W||M&&!W)return;v.preventDefault();const be=this.matches(Sa)?this:vt.prev(this,Sa)[0]||vt.next(this,Sa)[0]||vt.findOne(Sa,v.delegateTarget.parentNode),et=ya.getOrCreateInstance(be);if(ue)return v.stopPropagation(),et.show(),void et._selectMenuItem(v);et._isShown()&&(v.stopPropagation(),et.hide(),be.focus())}}pt.on(document,Da,Sa,ya.dataApiKeydownHandler),pt.on(document,Da,ia,ya.dataApiKeydownHandler),pt.on(document,Hs,ya.clearMenus),pt.on(document,Za,ya.clearMenus),pt.on(document,Hs,Sa,function(E){E.preventDefault(),ya.getOrCreateInstance(this).toggle()}),P(ya);const Ne="backdrop",Ce=`mousedown.bs.${Ne}`,ut={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Zt={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Yi extends Ct{constructor(v){super(),this._config=this._getConfig(v),this._isAppended=!1,this._element=null}static get Default(){return ut}static get DefaultType(){return Zt}static get NAME(){return Ne}show(v){if(!this._config.isVisible)return void X(v);this._append();const M=this._getElement();M.classList.add("show"),this._emulateAnimation(()=>{X(v)})}hide(v){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),X(v)})):X(v)}dispose(){this._isAppended&&(pt.off(this._element,Ce),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const v=document.createElement("div");v.className=this._config.className,this._config.isAnimated&&v.classList.add("fade"),this._element=v}return this._element}_configAfterMerge(v){return v.rootElement=y(v.rootElement),v}_append(){if(this._isAppended)return;const v=this._getElement();this._config.rootElement.append(v),pt.on(v,Ce,()=>{X(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(v){me(v,this._getElement(),this._config.isAnimated)}}const lr=".bs.focustrap",ro=`focusin${lr}`,Xs=`keydown.tab${lr}`,Jo="backward",Qo={autofocus:!0,trapElement:null},ga={autofocus:"boolean",trapElement:"element"};class Ts extends Ct{constructor(v){super(),this._config=this._getConfig(v),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Qo}static get DefaultType(){return ga}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),pt.off(document,lr),pt.on(document,ro,v=>this._handleFocusin(v)),pt.on(document,Xs,v=>this._handleKeydown(v)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,pt.off(document,lr))}_handleFocusin(v){const{trapElement:M}=this._config;if(v.target===document||v.target===M||M.contains(v.target))return;const W=vt.focusableChildren(M);0===W.length?M.focus():this._lastTabNavDirection===Jo?W[W.length-1].focus():W[0].focus()}_handleKeydown(v){"Tab"===v.key&&(this._lastTabNavDirection=v.shiftKey?Jo:"forward")}}const rl=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",kc=".sticky-top",Cs="padding-right",Rl="margin-right";class pa{constructor(){this._element=document.body}getWidth(){const v=document.documentElement.clientWidth;return Math.abs(window.innerWidth-v)}hide(){const v=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Cs,M=>M+v),this._setElementAttributes(rl,Cs,M=>M+v),this._setElementAttributes(kc,Rl,M=>M-v)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Cs),this._resetElementAttributes(rl,Cs),this._resetElementAttributes(kc,Rl)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(v,M,W){const ue=this.getWidth();this._applyManipulationCallback(v,be=>{if(be!==this._element&&window.innerWidth>be.clientWidth+ue)return;this._saveInitialAttribute(be,M);const et=window.getComputedStyle(be).getPropertyValue(M);be.style.setProperty(M,`${W(Number.parseFloat(et))}px`)})}_saveInitialAttribute(v,M){const W=v.style.getPropertyValue(M);W&&ot.setDataAttribute(v,M,W)}_resetElementAttributes(v,M){this._applyManipulationCallback(v,W=>{const ue=ot.getDataAttribute(W,M);null!==ue?(ot.removeDataAttribute(W,M),W.style.setProperty(M,ue)):W.style.removeProperty(M)})}_applyManipulationCallback(v,M){if(a(v))M(v);else for(const W of vt.find(v,this._element))M(W)}}const ba=".bs.modal",Jl=`hide${ba}`,Fa=`hidePrevented${ba}`,so=`hidden${ba}`,Vs=`show${ba}`,Vn=`shown${ba}`,Ga=`resize${ba}`,ra=`click.dismiss${ba}`,ai=`mousedown.dismiss${ba}`,Nl=`keydown.dismiss${ba}`,Oc=`click${ba}.data-api`,sl="modal-open",Cl="modal-static",Ao={backdrop:!0,focus:!0,keyboard:!0},Lc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ol extends He{constructor(v,M){super(v,M),this._dialog=vt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new pa,this._addEventListeners()}static get Default(){return Ao}static get DefaultType(){return Lc}static get NAME(){return"modal"}toggle(v){return this._isShown?this.hide():this.show(v)}show(v){this._isShown||this._isTransitioning||pt.trigger(this._element,Vs,{relatedTarget:v}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sl),this._adjustDialog(),this._backdrop.show(()=>this._showElement(v)))}hide(){this._isShown&&!this._isTransitioning&&(pt.trigger(this._element,Jl).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){pt.off(window,ba),pt.off(this._dialog,ba),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Yi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ts({trapElement:this._element})}_showElement(v){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const M=vt.findOne(".modal-body",this._dialog);M&&(M.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,pt.trigger(this._element,Vn,{relatedTarget:v})},this._dialog,this._isAnimated())}_addEventListeners(){pt.on(this._element,Nl,v=>{"Escape"===v.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),pt.on(window,Ga,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),pt.on(this._element,ai,v=>{pt.one(this._element,ra,M=>{this._element===v.target&&this._element===M.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(sl),this._resetAdjustments(),this._scrollBar.reset(),pt.trigger(this._element,so)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(pt.trigger(this._element,Fa).defaultPrevented)return;const v=this._element.scrollHeight>document.documentElement.clientHeight,M=this._element.style.overflowY;"hidden"===M||this._element.classList.contains(Cl)||(v||(this._element.style.overflowY="hidden"),this._element.classList.add(Cl),this._queueCallback(()=>{this._element.classList.remove(Cl),this._queueCallback(()=>{this._element.style.overflowY=M},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const v=this._element.scrollHeight>document.documentElement.clientHeight,M=this._scrollBar.getWidth(),W=M>0;if(W&&!v){const ue=k()?"paddingLeft":"paddingRight";this._element.style[ue]=`${M}px`}if(!W&&v){const ue=k()?"paddingRight":"paddingLeft";this._element.style[ue]=`${M}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(v,M){return this.each(function(){const W=ol.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===W[v])throw new TypeError(`No method named "${v}"`);W[v](M)}})}}pt.on(document,Oc,'[data-bs-toggle="modal"]',function(E){const v=vt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&E.preventDefault(),pt.one(v,Vs,W=>{W.defaultPrevented||pt.one(v,so,()=>{C(this)&&this.focus()})});const M=vt.findOne(".modal.show");M&&ol.getInstance(M).hide(),ol.getOrCreateInstance(v).toggle(this)}),hn(ol),P(ol);const Xo=".bs.offcanvas",hs=".data-api",vl=`load${Xo}${hs}`,qo="showing",hr=".offcanvas.show",zo=`show${Xo}`,Wr=`shown${Xo}`,is=`hide${Xo}`,Ql=`hidePrevented${Xo}`,re=`hidden${Xo}`,qe=`resize${Xo}`,Te=`click${Xo}${hs}`,We=`keydown.dismiss${Xo}`,Ut={backdrop:!0,keyboard:!0,scroll:!1},Ln={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Hn extends He{constructor(v,M){super(v,M),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ut}static get DefaultType(){return Ln}static get NAME(){return"offcanvas"}toggle(v){return this._isShown?this.hide():this.show(v)}show(v){this._isShown||pt.trigger(this._element,zo,{relatedTarget:v}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new pa).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qo),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(qo),pt.trigger(this._element,Wr,{relatedTarget:v})},this._element,!0))}hide(){this._isShown&&(pt.trigger(this._element,is).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new pa).reset(),pt.trigger(this._element,re)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const v=!!this._config.backdrop;return new Yi({className:"offcanvas-backdrop",isVisible:v,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:v?()=>{"static"!==this._config.backdrop?this.hide():pt.trigger(this._element,Ql)}:null})}_initializeFocusTrap(){return new Ts({trapElement:this._element})}_addEventListeners(){pt.on(this._element,We,v=>{"Escape"===v.key&&(this._config.keyboard?this.hide():pt.trigger(this._element,Ql))})}static jQueryInterface(v){return this.each(function(){const M=Hn.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v](this)}})}}pt.on(document,Te,'[data-bs-toggle="offcanvas"]',function(E){const v=vt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&E.preventDefault(),b(this))return;pt.one(v,re,()=>{C(this)&&this.focus()});const M=vt.findOne(hr);M&&M!==v&&Hn.getInstance(M).hide(),Hn.getOrCreateInstance(v).toggle(this)}),pt.on(window,vl,()=>{for(const E of vt.find(hr))Hn.getOrCreateInstance(E).show()}),pt.on(window,qe,()=>{for(const E of vt.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(E).position&&Hn.getOrCreateInstance(E).hide()}),hn(Hn),P(Hn);const Si={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ps=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,ls=(E,v)=>{const M=E.nodeName.toLowerCase();return v.includes(M)?!ps.has(M)||!!qr.test(E.nodeValue):v.filter(W=>W instanceof RegExp).some(W=>W.test(M))},zr={allowList:Si,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
    "},Ws={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ks={entry:"(string|element|function|null)",selector:"(string|element)"};class rs extends Ct{constructor(v){super(),this._config=this._getConfig(v)}static get Default(){return zr}static get DefaultType(){return Ws}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(v=>this._resolvePossibleFunction(v)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(v){return this._checkContent(v),this._config.content={...this._config.content,...v},this}toHtml(){const v=document.createElement("div");v.innerHTML=this._maybeSanitize(this._config.template);for(const[ue,be]of Object.entries(this._config.content))this._setContent(v,be,ue);const M=v.children[0],W=this._resolvePossibleFunction(this._config.extraClass);return W&&M.classList.add(...W.split(" ")),M}_typeCheckConfig(v){super._typeCheckConfig(v),this._checkContent(v.content)}_checkContent(v){for(const[M,W]of Object.entries(v))super._typeCheckConfig({selector:M,entry:W},ks)}_setContent(v,M,W){const ue=vt.findOne(W,v);ue&&((M=this._resolvePossibleFunction(M))?a(M)?this._putElementInTemplate(y(M),ue):this._config.html?ue.innerHTML=this._maybeSanitize(M):ue.textContent=M:ue.remove())}_maybeSanitize(v){return this._config.sanitize?function(M,W,ue){if(!M.length)return M;if(ue&&"function"==typeof ue)return ue(M);const be=(new window.DOMParser).parseFromString(M,"text/html"),et=[].concat(...be.body.querySelectorAll("*"));for(const q of et){const U=q.nodeName.toLowerCase();if(!Object.keys(W).includes(U)){q.remove();continue}const Y=[].concat(...q.attributes),ne=[].concat(W["*"]||[],W[U]||[]);for(const pe of Y)ls(pe,ne)||q.removeAttribute(pe.nodeName)}return be.body.innerHTML}(v,this._config.allowList,this._config.sanitizeFn):v}_resolvePossibleFunction(v){return X(v,[this])}_putElementInTemplate(v,M){if(this._config.html)return M.innerHTML="",void M.append(v);M.textContent=v.textContent}}const ea=new Set(["sanitize","allowList","sanitizeFn"]),Zs="fade",xa="show",$a="hide.bs.modal",fo="hover",za="focus",Uc={AUTO:"auto",TOP:"top",RIGHT:k()?"left":"right",BOTTOM:"bottom",LEFT:k()?"right":"left"},Es={allowList:Si,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Vl={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Ka extends He{constructor(v,M){if(void 0===Kl)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(v,M),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Es}static get DefaultType(){return Vl}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),pt.off(this._element.closest(".modal"),$a,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const v=pt.trigger(this._element,this.constructor.eventName("show")),M=(N(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(v.defaultPrevented||!M)return;this._disposePopper();const W=this._getTipElement();this._element.setAttribute("aria-describedby",W.getAttribute("id"));const{container:ue}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(ue.append(W),pt.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(W),W.classList.add(xa),"ontouchstart"in document.documentElement)for(const be of[].concat(...document.body.children))pt.on(be,"mouseover",j);this._queueCallback(()=>{pt.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!pt.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(xa),"ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))pt.off(v,"mouseover",j);this._activeTrigger.click=!1,this._activeTrigger[za]=!1,this._activeTrigger[fo]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),pt.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(v){const M=this._getTemplateFactory(v).toHtml();if(!M)return null;M.classList.remove(Zs,xa),M.classList.add(`bs-${this.constructor.NAME}-auto`);const W=(ue=>{do{ue+=Math.floor(1e6*Math.random())}while(document.getElementById(ue));return ue})(this.constructor.NAME).toString();return M.setAttribute("id",W),this._isAnimated()&&M.classList.add(Zs),M}setContent(v){this._newContent=v,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(v){return this._templateFactory?this._templateFactory.changeContent(v):this._templateFactory=new rs({...this._config,content:v,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(v){return this.constructor.getOrCreateInstance(v.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zs)}_isShown(){return this.tip&&this.tip.classList.contains(xa)}_createPopper(v){const M=X(this._config.placement,[this,v,this._element]),W=Uc[M.toUpperCase()];return fa(this._element,v,this._getPopperConfig(W))}_getOffset(){const{offset:v}=this._config;return"string"==typeof v?v.split(",").map(M=>Number.parseInt(M,10)):"function"==typeof v?M=>v(M,this._element):v}_resolvePossibleFunction(v){return X(v,[this._element])}_getPopperConfig(v){const M={placement:v,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:W=>{this._getTipElement().setAttribute("data-popper-placement",W.state.placement)}}]};return{...M,...X(this._config.popperConfig,[M])}}_setListeners(){const v=this._config.trigger.split(" ");for(const M of v)if("click"===M)pt.on(this._element,this.constructor.eventName("click"),this._config.selector,W=>{this._initializeOnDelegatedTarget(W).toggle()});else if("manual"!==M){const W=this.constructor.eventName(M===fo?"mouseenter":"focusin"),ue=this.constructor.eventName(M===fo?"mouseleave":"focusout");pt.on(this._element,W,this._config.selector,be=>{const et=this._initializeOnDelegatedTarget(be);et._activeTrigger["focusin"===be.type?za:fo]=!0,et._enter()}),pt.on(this._element,ue,this._config.selector,be=>{const et=this._initializeOnDelegatedTarget(be);et._activeTrigger["focusout"===be.type?za:fo]=et._element.contains(be.relatedTarget),et._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},pt.on(this._element.closest(".modal"),$a,this._hideModalHandler)}_fixTitle(){const v=this._element.getAttribute("title");v&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",v),this._element.setAttribute("data-bs-original-title",v),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(v,M){clearTimeout(this._timeout),this._timeout=setTimeout(v,M)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(v){const M=ot.getDataAttributes(this._element);for(const W of Object.keys(M))ea.has(W)&&delete M[W];return v={...M,..."object"==typeof v&&v?v:{}},v=this._mergeConfigObj(v),v=this._configAfterMerge(v),this._typeCheckConfig(v),v}_configAfterMerge(v){return v.container=!1===v.container?document.body:y(v.container),"number"==typeof v.delay&&(v.delay={show:v.delay,hide:v.delay}),"number"==typeof v.title&&(v.title=v.title.toString()),"number"==typeof v.content&&(v.content=v.content.toString()),v}_getDelegateConfig(){const v={};for(const[M,W]of Object.entries(this._config))this.constructor.Default[M]!==W&&(v[M]=W);return v.selector=!1,v.trigger="manual",v}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(v){return this.each(function(){const M=Ka.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v]()}})}}P(Ka);const go={...Ka.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Fl={...Ka.DefaultType,content:"(null|string|element|function)"};class Ba extends Ka{static get Default(){return go}static get DefaultType(){return Fl}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(v){return this.each(function(){const M=Ba.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v]()}})}}P(Ba);const po=".bs.scrollspy",yo=`activate${po}`,ma=`click${po}`,xl=`load${po}.data-api`,Xl="active",_a="[href]",cc=".nav-link",Hc=`${cc}, .nav-item > ${cc}, .list-group-item`,Pc={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},uc={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ql extends He{constructor(v,M){super(v,M),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Pc}static get DefaultType(){return uc}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const v of this._observableSections.values())this._observer.observe(v)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(v){return v.target=y(v.target)||document.body,v.rootMargin=v.offset?`${v.offset}px 0px -30%`:v.rootMargin,"string"==typeof v.threshold&&(v.threshold=v.threshold.split(",").map(M=>Number.parseFloat(M))),v}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(pt.off(this._config.target,ma),pt.on(this._config.target,ma,_a,v=>{const M=this._observableSections.get(v.target.hash);if(M){v.preventDefault();const W=this._rootElement||window,ue=M.offsetTop-this._element.offsetTop;if(W.scrollTo)return void W.scrollTo({top:ue,behavior:"smooth"});W.scrollTop=ue}}))}_getNewObserver(){return new IntersectionObserver(M=>this._observerCallback(M),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(v){const M=et=>this._targetLinks.get(`#${et.target.id}`),W=et=>{this._previousScrollData.visibleEntryTop=et.target.offsetTop,this._process(M(et))},ue=(this._rootElement||document.documentElement).scrollTop,be=ue>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=ue;for(const et of v){if(!et.isIntersecting){this._activeTarget=null,this._clearActiveClass(M(et));continue}const q=et.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(be&&q){if(W(et),!ue)return}else be||q||W(et)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const v=vt.find(_a,this._config.target);for(const M of v){if(!M.hash||b(M))continue;const W=vt.findOne(decodeURI(M.hash),this._element);C(W)&&(this._targetLinks.set(decodeURI(M.hash),M),this._observableSections.set(M.hash,W))}}_process(v){this._activeTarget!==v&&(this._clearActiveClass(this._config.target),this._activeTarget=v,v.classList.add(Xl),this._activateParents(v),pt.trigger(this._element,yo,{relatedTarget:v}))}_activateParents(v){if(v.classList.contains("dropdown-item"))vt.findOne(".dropdown-toggle",v.closest(".dropdown")).classList.add(Xl);else for(const M of vt.parents(v,".nav, .list-group"))for(const W of vt.prev(M,Hc))W.classList.add(Xl)}_clearActiveClass(v){v.classList.remove(Xl);const M=vt.find(`${_a}.${Xl}`,v);for(const W of M)W.classList.remove(Xl)}static jQueryInterface(v){return this.each(function(){const M=ql.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v]()}})}}pt.on(window,xl,()=>{for(const E of vt.find('[data-bs-spy="scroll"]'))ql.getOrCreateInstance(E)}),P(ql);const Yl=".bs.tab",cr=`hide${Yl}`,Tl=`hidden${Yl}`,Bl=`show${Yl}`,Ac=`shown${Yl}`,au=`click${Yl}`,ic=`keydown${Yl}`,Zc=`load${Yl}`,El="ArrowLeft",Gc="ArrowRight",Ja="ArrowUp",rc="ArrowDown",Vo="Home",$c="End",ii="active",Ic="show",Ul=".dropdown-toggle",Ta=`:not(${Ul})`,Rc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Al=`.nav-link${Ta}, .list-group-item${Ta}, [role="tab"]${Ta}, ${Rc}`,Oa=`.${ii}[data-bs-toggle="tab"], .${ii}[data-bs-toggle="pill"], .${ii}[data-bs-toggle="list"]`;class Ea extends He{constructor(v){super(v),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),pt.on(this._element,ic,M=>this._keydown(M)))}static get NAME(){return"tab"}show(){const v=this._element;if(this._elemIsActive(v))return;const M=this._getActiveElem(),W=M?pt.trigger(M,cr,{relatedTarget:v}):null;pt.trigger(v,Bl,{relatedTarget:M}).defaultPrevented||W&&W.defaultPrevented||(this._deactivate(M,v),this._activate(v,M))}_activate(v,M){v&&(v.classList.add(ii),this._activate(vt.getElementFromSelector(v)),this._queueCallback(()=>{"tab"===v.getAttribute("role")?(v.removeAttribute("tabindex"),v.setAttribute("aria-selected",!0),this._toggleDropDown(v,!0),pt.trigger(v,Ac,{relatedTarget:M})):v.classList.add(Ic)},v,v.classList.contains("fade")))}_deactivate(v,M){v&&(v.classList.remove(ii),v.blur(),this._deactivate(vt.getElementFromSelector(v)),this._queueCallback(()=>{"tab"===v.getAttribute("role")?(v.setAttribute("aria-selected",!1),v.setAttribute("tabindex","-1"),this._toggleDropDown(v,!1),pt.trigger(v,Tl,{relatedTarget:M})):v.classList.remove(Ic)},v,v.classList.contains("fade")))}_keydown(v){if(![El,Gc,Ja,rc,Vo,$c].includes(v.key))return;v.stopPropagation(),v.preventDefault();const M=this._getChildren().filter(ue=>!b(ue));let W;if([Vo,$c].includes(v.key))W=M[v.key===Vo?0:M.length-1];else{const ue=[Gc,rc].includes(v.key);W=Oe(M,v.target,ue,!0)}W&&(W.focus({preventScroll:!0}),Ea.getOrCreateInstance(W).show())}_getChildren(){return vt.find(Al,this._parent)}_getActiveElem(){return this._getChildren().find(v=>this._elemIsActive(v))||null}_setInitialAttributes(v,M){this._setAttributeIfNotExists(v,"role","tablist");for(const W of M)this._setInitialAttributesOnChild(W)}_setInitialAttributesOnChild(v){v=this._getInnerElement(v);const M=this._elemIsActive(v),W=this._getOuterElement(v);v.setAttribute("aria-selected",M),W!==v&&this._setAttributeIfNotExists(W,"role","presentation"),M||v.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(v,"role","tab"),this._setInitialAttributesOnTargetPanel(v)}_setInitialAttributesOnTargetPanel(v){const M=vt.getElementFromSelector(v);M&&(this._setAttributeIfNotExists(M,"role","tabpanel"),v.id&&this._setAttributeIfNotExists(M,"aria-labelledby",`${v.id}`))}_toggleDropDown(v,M){const W=this._getOuterElement(v);if(!W.classList.contains("dropdown"))return;const ue=(be,et)=>{const q=vt.findOne(be,W);q&&q.classList.toggle(et,M)};ue(Ul,ii),ue(".dropdown-menu",Ic),W.setAttribute("aria-expanded",M)}_setAttributeIfNotExists(v,M,W){v.hasAttribute(M)||v.setAttribute(M,W)}_elemIsActive(v){return v.classList.contains(ii)}_getInnerElement(v){return v.matches(Al)?v:vt.findOne(Al,v)}_getOuterElement(v){return v.closest(".nav-item, .list-group-item")||v}static jQueryInterface(v){return this.each(function(){const M=Ea.getOrCreateInstance(this);if("string"==typeof v){if(void 0===M[v]||v.startsWith("_")||"constructor"===v)throw new TypeError(`No method named "${v}"`);M[v]()}})}}pt.on(document,au,Rc,function(E){["A","AREA"].includes(this.tagName)&&E.preventDefault(),b(this)||Ea.getOrCreateInstance(this).show()}),pt.on(window,Zc,()=>{for(const E of vt.find(Oa))Ea.getOrCreateInstance(E)}),P(Ea);const wl=".bs.toast",jc=`mouseover${wl}`,Nc=`mouseout${wl}`,Fc=`focusin${wl}`,sa=`focusout${wl}`,Qa=`hide${wl}`,Kr=`hidden${wl}`,oo=`show${wl}`,Ua=`shown${wl}`,he="show",jt="showing",L={animation:"boolean",autohide:"boolean",delay:"number"},Ue={animation:!0,autohide:!0,delay:5e3};class je extends He{constructor(v,M){super(v,M),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ue}static get DefaultType(){return L}static get NAME(){return"toast"}show(){pt.trigger(this._element,oo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(he,jt),this._queueCallback(()=>{this._element.classList.remove(jt),pt.trigger(this._element,Ua),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(pt.trigger(this._element,Qa).defaultPrevented||(this._element.classList.add(jt),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(jt,he),pt.trigger(this._element,Kr)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(he),super.dispose()}isShown(){return this._element.classList.contains(he)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(v,M){switch(v.type){case"mouseover":case"mouseout":this._hasMouseInteraction=M;break;case"focusin":case"focusout":this._hasKeyboardInteraction=M}if(M)return void this._clearTimeout();const W=v.relatedTarget;this._element===W||this._element.contains(W)||this._maybeScheduleHide()}_setListeners(){pt.on(this._element,jc,v=>this._onInteraction(v,!0)),pt.on(this._element,Nc,v=>this._onInteraction(v,!1)),pt.on(this._element,Fc,v=>this._onInteraction(v,!0)),pt.on(this._element,sa,v=>this._onInteraction(v,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(v){return this.each(function(){const M=je.getOrCreateInstance(this,v);if("string"==typeof v){if(void 0===M[v])throw new TypeError(`No method named "${v}"`);M[v](this)}})}}return hn(je),P(je),{Alert:In,Button:qn,Carousel:Yt,Collapse:Xe,Dropdown:ya,Modal:ol,Offcanvas:Hn,Popover:Ba,ScrollSpy:ql,Tab:Ea,Toast:je,Tooltip:Ka}}()},861:function(lt,_e,m){!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(A){return/^nm$/i.test(A)},meridiem:function(A,a,y){return A<12?y?"vm":"VM":y?"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(A){return A+(1===A||8===A||A>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},8847:function(lt,_e,m){!function(i){"use strict";var t=function(b){return 0===b?0:1===b?1:2===b?2:b%100>=3&&b%100<=10?3:b%100>=11?4:5},A={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"]},a=function(b){return function(N,j,F,x){var H=t(N),k=A[b][t(N)];return 2===H&&(k=k[j?0:1]),k.replace(/%d/i,N)}},y=["\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"];i.defineLocale("ar-dz",{months:y,monthsShort:y,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(b){return"\u0645"===b},meridiem:function(b,N,j){return b<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:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(b){return b.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(m(2866))},9832:function(lt,_e,m){!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}})}(m(2866))},7272:function(lt,_e,m){!function(i){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},A=function(N){return 0===N?0:1===N?1:2===N?2:N%100>=3&&N%100<=10?3:N%100>=11?4:5},a={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"]},y=function(N){return function(j,F,x,H){var k=A(j),P=a[N][A(j)];return 2===k&&(P=P[F?0:1]),P.replace(/%d/i,j)}},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"];i.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(N){return"\u0645"===N},meridiem:function(N,j,F){return N<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:y("s"),ss:y("s"),m:y("m"),mm:y("m"),h:y("h"),hh:y("h"),d:y("d"),dd:y("d"),M:y("M"),MM:y("M"),y:y("y"),yy:y("y")},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(j){return t[j]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(m(2866))},9508:function(lt,_e,m){!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\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:"\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}})}(m(2866))},2807:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};i.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".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(y){return"\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(C){return A[C]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(C){return A[C]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(m(2866))},393:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\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(y){return"\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(C){return A[C]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(m(2866))},7541:function(lt,_e,m){!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}})}(m(2866))},7279:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=function(j){return 0===j?0:1===j?1:2===j?2:j%100>=3&&j%100<=10?3:j%100>=11?4:5},y={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(j){return function(F,x,H,k){var P=a(F),X=y[j][a(F)];return 2===P&&(X=X[x?0:1]),X.replace(/%d/i,F)}},b=["\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:b,monthsShort:b,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(j){return"\u0645"===j},meridiem:function(j,F,x){return j<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(j){return j.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return A[F]}).replace(/\u060c/g,",")},postformat:function(j){return j.replace(/\d/g,function(F){return t[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(m(2866))},2986:function(lt,_e,m){!function(i){"use strict";var t={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:"bir ne\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(a){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(a)},meridiem:function(a,y,C){return a<4?"gec\u0259":a<12?"s\u0259h\u0259r":a<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(a){if(0===a)return a+"-\u0131nc\u0131";var y=a%10;return a+(t[y]||t[a%100-y]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},7112:function(lt,_e,m){!function(i){"use strict";function A(y,C,b){return"m"===b?C?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===b?C?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":y+" "+function t(y,C){var b=y.split("_");return C%10==1&&C%100!=11?b[0]:C%10>=2&&C%10<=4&&(C%100<10||C%100>=20)?b[1]:b[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"}[b],+y)}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:A,mm:A,h:A,hh:A,d:"\u0434\u0437\u0435\u043d\u044c",dd:A,M:"\u043c\u0435\u0441\u044f\u0446",MM:A,y:"\u0433\u043e\u0434",yy:A},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(y){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(y)},meridiem:function(y,C,b){return y<4?"\u043d\u043e\u0447\u044b":y<12?"\u0440\u0430\u043d\u0456\u0446\u044b":y<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(y,C){switch(C){case"M":case"d":case"DDD":case"w":case"W":return y%10!=2&&y%10!=3||y%100==12||y%100==13?y+"-\u044b":y+"-\u0456";case"D":return y+"-\u0433\u0430";default:return y}},week:{dow:1,doy:7}})}(m(2866))},6367:function(lt,_e,m){!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\u0443_\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"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\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\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\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(A){var a=A%10,y=A%100;return 0===A?A+"-\u0435\u0432":0===y?A+"-\u0435\u043d":y>10&&y<20?A+"-\u0442\u0438":1===a?A+"-\u0432\u0438":2===a?A+"-\u0440\u0438":7===a||8===a?A+"-\u043c\u0438":A+"-\u0442\u0438"},week:{dow:1,doy:7}})}(m(2866))},3316:function(lt,_e,m){!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}})}(m(2866))},6067:function(lt,_e,m){!function(i){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},A={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};i.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===C?y<4?y:y+12:"\u09ad\u09cb\u09b0"===C||"\u09b8\u0995\u09be\u09b2"===C?y:"\u09a6\u09c1\u09aa\u09c1\u09b0"===C?y>=3?y:y+12:"\u09ac\u09bf\u0995\u09be\u09b2"===C||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u09b0\u09be\u09a4":y<6?"\u09ad\u09cb\u09b0":y<12?"\u09b8\u0995\u09be\u09b2":y<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<18?"\u09ac\u09bf\u0995\u09be\u09b2":y<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(m(2866))},5815:function(lt,_e,m){!function(i){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},A={"\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\u09bf_\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\u09cd\u09b0\u09c1_\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_\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\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\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(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===C&&y>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===C&&y<5||"\u09ac\u09bf\u0995\u09be\u09b2"===C?y+12:y},meridiem:function(y,C,b){return y<4?"\u09b0\u09be\u09a4":y<10?"\u09b8\u0995\u09be\u09b2":y<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(m(2866))},4530:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},A={"\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\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,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_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".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(y){return y.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},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(y,C){return 12===y&&(y=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===C&&y>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===C&&y<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===C?y+12:y},meridiem:function(y,C,b){return y<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":y<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":y<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":y<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(m(2866))},9739:function(lt,_e,m){!function(i){"use strict";function t(X,me,Oe){return X+" "+function y(X,me){return 2===me?function C(X){var me={m:"v",b:"v",d:"z"};return void 0===me[X.charAt(0)]?X:me[X.charAt(0)]+X.substring(1)}(X):X}({mm:"munutenn",MM:"miz",dd:"devezh"}[Oe],X)}function a(X){return X>9?a(X%10):X}var b=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],N=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,k=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];i.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:k,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:k,monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function A(X){switch(a(X)){case 1:case 3:case 4:case 5:case 9:return X+" bloaz";default:return X+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(X){return X+(1===X?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(X){return"g.m."===X},meridiem:function(X,me,Oe){return X<12?"a.m.":"g.m."}})}(m(2866))},8445:function(lt,_e,m){!function(i){"use strict";function A(y,C,b){var N=y+" ";switch(b){case"ss":return N+(1===y?"sekunda":2===y||3===y||4===y?"sekunde":"sekundi");case"mm":return N+(1===y?"minuta":2===y||3===y||4===y?"minute":"minuta");case"h":return"jedan sat";case"hh":return N+(1===y?"sat":2===y||3===y||4===y?"sata":"sati");case"dd":return N+(1===y?"dan":"dana");case"MM":return N+(1===y?"mjesec":2===y||3===y||4===y?"mjeseca":"mjeseci");case"yy":return N+(1===y?"godina":2===y||3===y||4===y?"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:A,m:function t(y,C,b,N){if("m"===b)return C?"jedna minuta":N?"jednu minutu":"jedne minute"},mm:A,h:A,hh:A,d:"dan",dd:A,M:"mjesec",MM:A,y:"godinu",yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},7690:function(lt,_e,m){!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(A,a){var y=1===A?"r":2===A?"n":3===A?"r":4===A?"t":"\xe8";return("w"===a||"W"===a)&&(y="a"),A+y},week:{dow:1,doy:4}})}(m(2866))},8799:function(lt,_e,m){!function(i){"use strict";var t={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},A="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),a=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],y=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function C(j){return j>1&&j<5&&1!=~~(j/10)}function b(j,F,x,H){var k=j+" ";switch(x){case"s":return F||H?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return F||H?k+(C(j)?"sekundy":"sekund"):k+"sekundami";case"m":return F?"minuta":H?"minutu":"minutou";case"mm":return F||H?k+(C(j)?"minuty":"minut"):k+"minutami";case"h":return F?"hodina":H?"hodinu":"hodinou";case"hh":return F||H?k+(C(j)?"hodiny":"hodin"):k+"hodinami";case"d":return F||H?"den":"dnem";case"dd":return F||H?k+(C(j)?"dny":"dn\xed"):k+"dny";case"M":return F||H?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return F||H?k+(C(j)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):k+"m\u011bs\xedci";case"y":return F||H?"rok":"rokem";case"yy":return F||H?k+(C(j)?"roky":"let"):k+"lety"}}i.defineLocale("cs",{months:t,monthsShort:A,monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},8385:function(lt,_e,m){!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(A){return A+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(A)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(A)?"\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}})}(m(2866))},6212:function(lt,_e,m){!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(A){var y="";return A>20?y=40===A||50===A||60===A||80===A||100===A?"fed":"ain":A>0&&(y=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][A]),A+y},week:{dow:1,doy:4}})}(m(2866))},5782:function(lt,_e,m){!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}})}(m(2866))},1934:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var N={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return y?N[C][0]:N[C][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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},2863:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var N={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return y?N[C][0]:N[C][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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},7782:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var N={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return y?N[C][0]:N[C][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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},1146:function(lt,_e,m){!function(i){"use strict";var t=["\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"],A=["\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:t,monthsShort:t,weekdays:A,weekdaysShort:A,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(y){return"\u0789\u078a"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(m(2866))},9745:function(lt,_e,m){!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(a,y){return a?"string"==typeof y&&/D/.test(y.substring(0,y.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.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(a,y,C){return a>11?C?"\u03bc\u03bc":"\u039c\u039c":C?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(a){return"\u03bc"===(a+"").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(a,y){var C=this._calendarEl[a],b=y&&y.hours();return function t(a){return typeof Function<"u"&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}(C)&&(C=C.apply(y)),C.replace("{}",b%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}})}(m(2866))},1150:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:4}})}(m(2866))},2924:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(m(2866))},7406:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},9952:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},4772:function(lt,_e,m){!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",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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(m(2866))},1961:function(lt,_e,m){!function(i){"use strict";i.defineLocale("en-in",{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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:6}})}(m(2866))},4014:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},3332:function(lt,_e,m){!function(i){"use strict";i.defineLocale("en-sg",{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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},989:function(lt,_e,m){!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_mart_apr_maj_jun_jul_a\u016dg_sept_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:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(A){return"p"===A.charAt(0).toLowerCase()},meridiem:function(A,a,y){return A>11?y?"p.t.m.":"P.T.M.":y?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(m(2866))},6393:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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(b,N){return b?/-MMM-/.test(N)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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",w:"una semana",ww:"%d semanas",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}})}(m(2866))},2324:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,N){return b?/-MMM-/.test(N)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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",w:"una semana",ww:"%d semanas",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:4},invalidDate:"Fecha inv\xe1lida"})}(m(2866))},7641:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,N){return b?/-MMM-/.test(N)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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:"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",w:"una semana",ww:"%d semanas",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}})}(m(2866))},3209:function(lt,_e,m){!function(i){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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(b,N){return b?/-MMM-/.test(N)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,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:a,longMonthsParse:a,shortMonthsParse:a,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",w:"una semana",ww:"%d semanas",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},invalidDate:"Fecha inv\xe1lida"})}(m(2866))},6373:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var N={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[a+"sekundi",a+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[a+" minuti",a+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[a+" tunni",a+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[a+" kuu",a+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[a+" aasta",a+" aastat"]};return y?N[C][2]?N[C][2]:N[C][1]:b?N[C][0]:N[C][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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},1954:function(lt,_e,m){!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}})}(m(2866))},9289:function(lt,_e,m){!function(i){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},A={"\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(y){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(y)},meridiem:function(y,C,b){return y<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:"%d \u062b\u0627\u0646\u06cc\u0647",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(y){return y.replace(/[\u06f0-\u06f9]/g,function(C){return A[C]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(m(2866))},3381:function(lt,_e,m){!function(i){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),A=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function a(b,N,j,F){var x="";switch(j){case"s":return F?"muutaman sekunnin":"muutama sekunti";case"ss":x=F?"sekunnin":"sekuntia";break;case"m":return F?"minuutin":"minuutti";case"mm":x=F?"minuutin":"minuuttia";break;case"h":return F?"tunnin":"tunti";case"hh":x=F?"tunnin":"tuntia";break;case"d":return F?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":x=F?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return F?"kuukauden":"kuukausi";case"MM":x=F?"kuukauden":"kuukautta";break;case"y":return F?"vuoden":"vuosi";case"yy":x=F?"vuoden":"vuotta"}return function y(b,N){return b<10?N?A[b]:t[b]:b}(b,F)+" "+x}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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9031:function(lt,_e,m){!function(i){"use strict";i.defineLocale("fil",{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(A){return A},week:{dow:1,doy:4}})}(m(2866))},3571:function(lt,_e,m){!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 minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},7389:function(lt,_e,m){!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(A,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return A+(1===A?"er":"e");case"w":case"W":return A+(1===A?"re":"e")}}})}(m(2866))},7785:function(lt,_e,m){!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(A,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return A+(1===A?"er":"e");case"w":case"W":return A+(1===A?"re":"e")}},week:{dow:1,doy:4}})}(m(2866))},5515:function(lt,_e,m){!function(i){"use strict";var a=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,y=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];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("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,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",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(b,N){switch(N){case"D":return b+(1===b?"er":"");default:case"M":case"Q":case"DDD":case"d":return b+(1===b?"er":"e");case"w":case"W":return b+(1===b?"re":"e")}},week:{dow:1,doy:4}})}(m(2866))},1826:function(lt,_e,m){!function(i){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),A="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(y,C){return y?/-MMM-/.test(C)?A[y.month()]:t[y.month()]:t},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(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},6687:function(lt,_e,m){!function(i){"use strict";i.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(N){return N+(1===N?"d":N%10==2?"na":"mh")},week:{dow:1,doy:4}})}(m(2866))},8851:function(lt,_e,m){!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(N){return N+(1===N?"d":N%10==2?"na":"mh")},week:{dow:1,doy:4}})}(m(2866))},1637:function(lt,_e,m){!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(A){return 0===A.indexOf("un")?"n"+A:"en "+A},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}})}(m(2866))},1003:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var N={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[a+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",a+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[a+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",a+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[a+" \u0935\u0930\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[a+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",a+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[a+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",a+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[a+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return b?N[C][0]:N[C][1]}i.defineLocale("gom-deva",{months:{standalone:"\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\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\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("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\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:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(a,y){return"D"===y?a+"\u0935\u0947\u0930":a},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(a,y){return 12===a&&(a=0),"\u0930\u093e\u0924\u0940"===y?a<4?a:a+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===y?a:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===y?a>12?a:a+12:"\u0938\u093e\u0902\u091c\u0947"===y?a+12:void 0},meridiem:function(a,y,C){return a<4?"\u0930\u093e\u0924\u0940":a<12?"\u0938\u0915\u093e\u0933\u0940\u0902":a<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":a<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(m(2866))},4225:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var N={s:["thoddea sekondamni","thodde sekond"],ss:[a+" sekondamni",a+" sekond"],m:["eka mintan","ek minut"],mm:[a+" mintamni",a+" mintam"],h:["eka voran","ek vor"],hh:[a+" voramni",a+" voram"],d:["eka disan","ek dis"],dd:[a+" disamni",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineamni",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsamni",a+" vorsam"]};return b?N[C][0]:N[C][1]}i.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_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 Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,y){return"D"===y?a+"er":a},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(a,y){return 12===a&&(a=0),"rati"===y?a<4?a:a+12:"sokallim"===y?a:"donparam"===y?a>12?a:a+12:"sanje"===y?a+12:void 0},meridiem:function(a,y,C){return a<4?"rati":a<12?"sokallim":a<16?"donparam":a<20?"sanje":"rati"}})}(m(2866))},9360:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},A={"\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\u0ab9\u0ac7\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(y){return y.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0ab0\u0abe\u0aa4"===C?y<4?y:y+12:"\u0ab8\u0ab5\u0abe\u0ab0"===C?y:"\u0aac\u0aaa\u0acb\u0ab0"===C?y>=10?y:y+12:"\u0ab8\u0abe\u0a82\u0a9c"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u0ab0\u0abe\u0aa4":y<10?"\u0ab8\u0ab5\u0abe\u0ab0":y<17?"\u0aac\u0aaa\u0acb\u0ab0":y<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(m(2866))},7853:function(lt,_e,m){!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(A){return 2===A?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":A+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(A){return 2===A?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":A+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(A){return 2===A?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":A+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(A){return 2===A?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":A%10==0&&10!==A?A+" \u05e9\u05e0\u05d4":A+" \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(A){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(A)},meridiem:function(A,a,y){return A<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":A<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":A<12?y?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":A<18?y?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(m(2866))},5428:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},a=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];i.defineLocale("hi",{months:{format:"\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("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\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\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\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("_"),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"},monthsParse:a,longMonthsParse:a,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\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|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\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\.?)/i,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(b){return b.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(N){return A[N]})},postformat:function(b){return b.replace(/\d/g,function(N){return t[N]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(b,N){return 12===b&&(b=0),"\u0930\u093e\u0924"===N?b<4?b:b+12:"\u0938\u0941\u092c\u0939"===N?b:"\u0926\u094b\u092a\u0939\u0930"===N?b>=10?b:b+12:"\u0936\u093e\u092e"===N?b+12:void 0},meridiem:function(b,N,j){return b<4?"\u0930\u093e\u0924":b<10?"\u0938\u0941\u092c\u0939":b<17?"\u0926\u094b\u092a\u0939\u0930":b<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(m(2866))},1001:function(lt,_e,m){!function(i){"use strict";function t(a,y,C){var b=a+" ";switch(C){case"ss":return b+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"m":return y?"jedna minuta":"jedne minute";case"mm":return b+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return y?"jedan sat":"jednog sata";case"hh":return b+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return b+(1===a?"dan":"dana");case"MM":return b+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return b+(1===a?"godina":2===a||3===a||4===a?"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:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do 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:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},4579:function(lt,_e,m){!function(i){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function A(C,b,N,j){var F=C;switch(N){case"s":return j||b?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return F+(j||b)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(j||b?" perc":" perce");case"mm":return F+(j||b?" perc":" perce");case"h":return"egy"+(j||b?" \xf3ra":" \xf3r\xe1ja");case"hh":return F+(j||b?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(j||b?" nap":" napja");case"dd":return F+(j||b?" nap":" napja");case"M":return"egy"+(j||b?" h\xf3nap":" h\xf3napja");case"MM":return F+(j||b?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(j||b?" \xe9v":" \xe9ve");case"yy":return F+(j||b?" \xe9v":" \xe9ve")}return""}function a(C){return(C?"":"[m\xfalt] ")+"["+t[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("_"),monthsParseExact:!0,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(C){return"u"===C.charAt(1).toLowerCase()},meridiem:function(C,b,N){return C<12?!0===N?"de":"DE":!0===N?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9866:function(lt,_e,m){!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(A){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(A)},meridiem:function(A){return A<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":A<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":A<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(A,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===A?A+"-\u056b\u0576":A+"-\u0580\u0564";default:return A}},week:{dow:1,doy:7}})}(m(2866))},9689:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"pagi"===a?A:"siang"===a?A>=11?A:A+12:"sore"===a||"malam"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"pagi":A<15?"siang":A<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:0,doy:6}})}(m(2866))},2956:function(lt,_e,m){!function(i){"use strict";function t(y){return y%100==11||y%10!=1}function A(y,C,b,N){var j=y+" ";switch(b){case"s":return C||N?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(y)?j+(C||N?"sek\xfandur":"sek\xfandum"):j+"sek\xfanda";case"m":return C?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(y)?j+(C||N?"m\xedn\xfatur":"m\xedn\xfatum"):C?j+"m\xedn\xfata":j+"m\xedn\xfatu";case"hh":return t(y)?j+(C||N?"klukkustundir":"klukkustundum"):j+"klukkustund";case"d":return C?"dagur":N?"dag":"degi";case"dd":return t(y)?C?j+"dagar":j+(N?"daga":"d\xf6gum"):C?j+"dagur":j+(N?"dag":"degi");case"M":return C?"m\xe1nu\xf0ur":N?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(y)?C?j+"m\xe1nu\xf0ir":j+(N?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):C?j+"m\xe1nu\xf0ur":j+(N?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return C||N?"\xe1r":"\xe1ri";case"yy":return t(y)?j+(C||N?"\xe1r":"\xe1rum"):j+(C||N?"\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:A,ss:A,m:A,mm:A,h:"klukkustund",hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},6052:function(lt,_e,m){!function(i){"use strict";i.defineLocale("it-ch",{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(A){return(/^[0-9].+$/.test(A)?"tra":"in")+" "+A},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}})}(m(2866))},1557:function(lt,_e,m){!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:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",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",w:"una settimana",ww:"%d settimane",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}})}(m(2866))},1774:function(lt,_e,m){!function(i){"use strict";i.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(A,a){return"\u5143"===a[1]?1:parseInt(a[1]||A,10)},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(A){return"\u5348\u5f8c"===A},meridiem:function(A,a,y){return A<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(A){return A.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(A){return this.week()!==A.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(A,a){switch(a){case"y":return 1===A?"\u5143\u5e74":A+"\u5e74";case"d":case"D":case"DDD":return A+"\u65e5";default:return A}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(m(2866))},7631:function(lt,_e,m){!function(i){"use strict";i.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".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:/enjing|siyang|sonten|ndalu/,meridiemHour:function(A,a){return 12===A&&(A=0),"enjing"===a?A:"siyang"===a?A>=11?A:A+12:"sonten"===a||"ndalu"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"enjing":A<15?"siyang":A<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}})}(m(2866))},9968:function(lt,_e,m){!function(i){"use strict";i.defineLocale("ka",{months:"\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("_"),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:"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:"[\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(A){return A.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(a,y,C){return"\u10d8"===C?y+"\u10e8\u10d8":y+C+"\u10e8\u10d8"})},past:function(A){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(A)?A.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(A)?A.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):A},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(A){return 0===A?A:1===A?A+"-\u10da\u10d8":A<20||A<=100&&A%20==0||A%100==0?"\u10db\u10d4-"+A:A+"-\u10d4"},week:{dow:1,doy:7}})}(m(2866))},4916:function(lt,_e,m){!function(i){"use strict";var t={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(a){return a+(t[a]||t[a%10]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},2305:function(lt,_e,m){!function(i){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},A={"\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(y){return"\u179b\u17d2\u1784\u17b6\u1785"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},week:{dow:1,doy:4}})}(m(2866))},8994:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},A={"\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(y){return y.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},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(y,C){return 12===y&&(y=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===C?y<4?y:y+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===C?y:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===C?y>=10?y:y+12:"\u0cb8\u0c82\u0c9c\u0cc6"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":y<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":y<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":y<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(y){return y+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(m(2866))},3558:function(lt,_e,m){!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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\uc77c";case"M":return A+"\uc6d4";case"w":case"W":return A+"\uc8fc";default:return A}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(A){return"\uc624\ud6c4"===A},meridiem:function(A,a,y){return A<12?"\uc624\uc804":"\uc624\ud6c4"}})}(m(2866))},9529:function(lt,_e,m){!function(i){"use strict";function t(y,C,b,N){var j={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[y+" san\xeeye",y+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[y+" deq\xeeqe",y+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[y+" saet",y+" saetan"],d:["rojek","rojek\xea"],dd:[y+" roj",y+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[y+" hefte",y+" hefteyan"],M:["mehek","mehek\xea"],MM:[y+" meh",y+" mehan"],y:["salek","salek\xea"],yy:[y+" sal",y+" salan"]};return C?j[b][0]:j[b][1]}i.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(y,C,b){return y<12?b?"bn":"BN":b?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(y,C){var b=C.toLowerCase();return b.includes("w")||b.includes("m")?y+".":y+function A(y){var C=(y=""+y).substring(y.length-1),b=y.length>1?y.substring(y.length-2):"";return 12==b||13==b||"2"!=C&&"3"!=C&&"50"!=b&&"70"!=C&&"80"!=C?"\xea":"y\xea"}(y)},week:{dow:1,doy:4}})}(m(2866))},2243:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];i.defineLocale("ku",{months:a,monthsShort:a,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\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:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(C){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(C)},meridiem:function(C,b,N){return C<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(b){return A[b]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(b){return t[b]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(m(2866))},4638:function(lt,_e,m){!function(i){"use strict";var t={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\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\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(a){return a+(t[a]||t[a%10]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},4167:function(lt,_e,m){!function(i){"use strict";function t(b,N,j,F){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 N?x[j][0]:x[j][1]}function y(b){if(b=parseInt(b,10),isNaN(b))return!1;if(b<0)return!0;if(b<10)return 4<=b&&b<=7;if(b<100){var N=b%10;return y(0===N?b/10:N)}if(b<1e4){for(;b>=10;)b/=10;return y(b)}return y(b/=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 A(b){return y(b.substr(0,b.indexOf(" ")))?"a "+b:"an "+b},past:function a(b){return y(b.substr(0,b.indexOf(" ")))?"viru "+b:"virun "+b},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9897:function(lt,_e,m){!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(A){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===A},meridiem:function(A,a,y){return A<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(A){return"\u0e97\u0eb5\u0ec8"+A}})}(m(2866))},2543:function(lt,_e,m){!function(i){"use strict";var t={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 a(j,F,x,H){return F?C(x)[0]:H?C(x)[1]:C(x)[2]}function y(j){return j%10==0||j>10&&j<20}function C(j){return t[j].split("_")}function b(j,F,x,H){var k=j+" ";return 1===j?k+a(0,F,x[0],H):F?k+(y(j)?C(x)[1]:C(x)[0]):H?k+C(x)[1]:k+(y(j)?C(x)[1]:C(x)[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 A(j,F,x,H){return F?"kelios sekund\u0117s":H?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:b,m:a,mm:b,h:a,hh:b,d:a,dd:b,M:a,MM:b,y:a,yy:b},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(j){return j+"-oji"},week:{dow:1,doy:4}})}(m(2866))},5752:function(lt,_e,m){!function(i){"use strict";var t={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 A(N,j,F){return F?j%10==1&&j%100!=11?N[2]:N[3]:j%10==1&&j%100!=11?N[0]:N[1]}function a(N,j,F){return N+" "+A(t[F],N,j)}function y(N,j,F){return A(t[F],N,j)}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 C(N,j){return j?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:a,m:y,mm:a,h:y,hh:a,d:y,dd:a,M:y,MM:a,y,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},3350:function(lt,_e,m){!function(i){"use strict";var t={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(a,y){return 1===a?y[0]:a>=2&&a<=4?y[1]:y[2]},translate:function(a,y,C){var b=t.words[C];return 1===C.length?y?b[0]:b[1]:a+" "+t.correctGrammaticalCase(a,b)}};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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},4134:function(lt,_e,m){!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}})}(m(2866))},2177:function(lt,_e,m){!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:"\u0437\u0430 %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:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \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(A){var a=A%10,y=A%100;return 0===A?A+"-\u0435\u0432":0===y?A+"-\u0435\u043d":y>10&&y<20?A+"-\u0442\u0438":1===a?A+"-\u0432\u0438":2===a?A+"-\u0440\u0438":7===a||8===a?A+"-\u043c\u0438":A+"-\u0442\u0438"},week:{dow:1,doy:7}})}(m(2866))},8100:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&A>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?A+12:A},meridiem:function(A,a,y){return A<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":A<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":A<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":A<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(m(2866))},9571:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){switch(C){case"s":return y?"\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 a+(y?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return a+(y?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return a+(y?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return a+(y?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return a+(y?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return a+(y?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return a}}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(a){return"\u04ae\u0425"===a},meridiem:function(a,y,C){return a<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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(a,y){switch(y){case"d":case"D":case"DDD":return a+" \u04e9\u0434\u04e9\u0440";default:return a}}})}(m(2866))},3656:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function a(C,b,N,j){var F="";if(b)switch(N){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":F="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":F="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":F="%d \u0924\u093e\u0938";break;case"d":F="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":F="%d \u0926\u093f\u0935\u0938";break;case"M":F="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":F="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u0947"}else switch(N){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":F="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":F="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":F="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":F="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":F="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":F="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":F="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return F.replace(/%d/i,C)}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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(b){return A[b]})},postformat:function(C){return C.replace(/\d/g,function(b){return t[b]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(C,b){return 12===C&&(C=0),"\u092a\u0939\u093e\u091f\u0947"===b||"\u0938\u0915\u093e\u0933\u0940"===b?C:"\u0926\u0941\u092a\u093e\u0930\u0940"===b||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===b||"\u0930\u093e\u0924\u094d\u0930\u0940"===b?C>=12?C:C+12:void 0},meridiem:function(C,b,N){return C>=0&&C<6?"\u092a\u0939\u093e\u091f\u0947":C<12?"\u0938\u0915\u093e\u0933\u0940":C<17?"\u0926\u0941\u092a\u093e\u0930\u0940":C<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(m(2866))},1319:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"pagi"===a?A:"tengahari"===a?A>=11?A:A+12:"petang"===a||"malam"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"pagi":A<15?"tengahari":A<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}})}(m(2866))},848:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"pagi"===a?A:"tengahari"===a?A>=11?A:A+12:"petang"===a||"malam"===a?A+12:void 0},meridiem:function(A,a,y){return A<11?"pagi":A<15?"tengahari":A<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}})}(m(2866))},7029:function(lt,_e,m){!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}})}(m(2866))},6570:function(lt,_e,m){!function(i){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},A={"\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(y){return y.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},week:{dow:1,doy:4}})}(m(2866))},4819:function(lt,_e,m){!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_apr._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:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9576:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\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(y){return y.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0930\u093e\u0924\u093f"===C?y<4?y:y+12:"\u092c\u093f\u0939\u093e\u0928"===C?y:"\u0926\u093f\u0909\u0901\u0938\u094b"===C?y>=10?y:y+12:"\u0938\u093e\u0901\u091d"===C?y+12:void 0},meridiem:function(y,C,b){return y<3?"\u0930\u093e\u0924\u093f":y<12?"\u092c\u093f\u0939\u093e\u0928":y<16?"\u0926\u093f\u0909\u0901\u0938\u094b":y<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}})}(m(2866))},3475:function(lt,_e,m){!function(i){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),A="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^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],y=/^(januari|februari|maart|april|mei|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(b,N){return b?/-MMM-/.test(N)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},778:function(lt,_e,m){!function(i){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),A="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^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],y=/^(januari|februari|maart|april|mei|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(b,N){return b?/-MMM-/.test(N)?A[b.month()]:t[b.month()]:t},monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(m(2866))},1722:function(lt,_e,m){!function(i){"use strict";i.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,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",w:"ei veke",ww:"%d veker",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}})}(m(2866))},7467:function(lt,_e,m){!function(i){"use strict";i.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_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] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(A,a){var y=1===A?"r":2===A?"n":3===A?"r":4===A?"t":"\xe8";return("w"===a||"W"===a)&&(y="a"),A+y},week:{dow:1,doy:4}})}(m(2866))},4869:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},A={"\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(y){return y.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0a30\u0a3e\u0a24"===C?y<4?y:y+12:"\u0a38\u0a35\u0a47\u0a30"===C?y:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===C?y>=10?y:y+12:"\u0a38\u0a3c\u0a3e\u0a2e"===C?y+12:void 0},meridiem:function(y,C,b){return y<4?"\u0a30\u0a3e\u0a24":y<10?"\u0a38\u0a35\u0a47\u0a30":y<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":y<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(m(2866))},8357:function(lt,_e,m){!function(i){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),A="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),a=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function y(N){return N%10<5&&N%10>1&&~~(N/10)%10!=1}function C(N,j,F){var x=N+" ";switch(F){case"ss":return x+(y(N)?"sekundy":"sekund");case"m":return j?"minuta":"minut\u0119";case"mm":return x+(y(N)?"minuty":"minut");case"h":return j?"godzina":"godzin\u0119";case"hh":return x+(y(N)?"godziny":"godzin");case"ww":return x+(y(N)?"tygodnie":"tygodni");case"MM":return x+(y(N)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return x+(y(N)?"lata":"lat")}}i.defineLocale("pl",{months:function(N,j){return N?/D MMMM/.test(j)?A[N.month()]:t[N.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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:C,m:C,mm:C,h:C,hh:C,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:C,M:"miesi\u0105c",MM:C,y:"rok",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},9641:function(lt,_e,m){!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",invalidDate:"Data inv\xe1lida"})}(m(2866))},2768:function(lt,_e,m){!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",w:"uma semana",ww:"%d semanas",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}})}(m(2866))},8876:function(lt,_e,m){!function(i){"use strict";function t(a,y,C){var N=" ";return(a%100>=20||a>=100&&a%100==0)&&(N=" de "),a+N+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[C]}i.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._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:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(m(2866))},8663:function(lt,_e,m){!function(i){"use strict";function A(C,b,N){return"m"===N?b?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":C+" "+function t(C,b){var N=C.split("_");return b%10==1&&b%100!=11?N[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?N[1]:N[2]}({ss:b?"\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:b?"\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",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",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"}[N],+C)}var a=[/^\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:a,longMonthsParse:a,shortMonthsParse:a,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(C){if(C.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(C){if(C.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:A,m:A,mm:A,h:"\u0447\u0430\u0441",hh:A,d:"\u0434\u0435\u043d\u044c",dd:A,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:A,M:"\u043c\u0435\u0441\u044f\u0446",MM:A,y:"\u0433\u043e\u0434",yy:A},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(C)},meridiem:function(C,b,N){return C<4?"\u043d\u043e\u0447\u0438":C<12?"\u0443\u0442\u0440\u0430":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(C,b){switch(b){case"M":case"d":case"DDD":return C+"-\u0439";case"D":return C+"-\u0433\u043e";case"w":case"W":return C+"-\u044f";default:return C}},week:{dow:1,doy:4}})}(m(2866))},3727:function(lt,_e,m){!function(i){"use strict";var t=["\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"],A=["\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:t,monthsShort:t,weekdays:A,weekdaysShort:A,weekdaysMin:A,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(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(m(2866))},4051:function(lt,_e,m){!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}})}(m(2866))},8643:function(lt,_e,m){!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(A){return A+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(A){return"\u0db4.\u0dc0."===A||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===A},meridiem:function(A,a,y){return A>11?y?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":y?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(m(2866))},9616:function(lt,_e,m){!function(i){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),A="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function a(b){return b>1&&b<5}function y(b,N,j,F){var x=b+" ";switch(j){case"s":return N||F?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return N||F?x+(a(b)?"sekundy":"sek\xfand"):x+"sekundami";case"m":return N?"min\xfata":F?"min\xfatu":"min\xfatou";case"mm":return N||F?x+(a(b)?"min\xfaty":"min\xfat"):x+"min\xfatami";case"h":return N?"hodina":F?"hodinu":"hodinou";case"hh":return N||F?x+(a(b)?"hodiny":"hod\xedn"):x+"hodinami";case"d":return N||F?"de\u0148":"d\u0148om";case"dd":return N||F?x+(a(b)?"dni":"dn\xed"):x+"d\u0148ami";case"M":return N||F?"mesiac":"mesiacom";case"MM":return N||F?x+(a(b)?"mesiace":"mesiacov"):x+"mesiacmi";case"y":return N||F?"rok":"rokom";case"yy":return N||F?x+(a(b)?"roky":"rokov"):x+"rokmi"}}i.defineLocale("sk",{months:t,monthsShort:A,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:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},2423:function(lt,_e,m){!function(i){"use strict";function t(a,y,C,b){var N=a+" ";switch(C){case"s":return y||b?"nekaj sekund":"nekaj sekundami";case"ss":return N+(1===a?y?"sekundo":"sekundi":2===a?y||b?"sekundi":"sekundah":a<5?y||b?"sekunde":"sekundah":"sekund");case"m":return y?"ena minuta":"eno minuto";case"mm":return N+(1===a?y?"minuta":"minuto":2===a?y||b?"minuti":"minutama":a<5?y||b?"minute":"minutami":y||b?"minut":"minutami");case"h":return y?"ena ura":"eno uro";case"hh":return N+(1===a?y?"ura":"uro":2===a?y||b?"uri":"urama":a<5?y||b?"ure":"urami":y||b?"ur":"urami");case"d":return y||b?"en dan":"enim dnem";case"dd":return N+(1===a?y||b?"dan":"dnem":2===a?y||b?"dni":"dnevoma":y||b?"dni":"dnevi");case"M":return y||b?"en mesec":"enim mesecem";case"MM":return N+(1===a?y||b?"mesec":"mesecem":2===a?y||b?"meseca":"mesecema":a<5?y||b?"mesece":"meseci":y||b?"mesecev":"meseci");case"y":return y||b?"eno leto":"enim letom";case"yy":return N+(1===a?y||b?"leto":"letom":2===a?y||b?"leti":"letoma":a<5?y||b?"leta":"leti":y||b?"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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},5466:function(lt,_e,m){!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(A){return"M"===A.charAt(0)},meridiem:function(A,a,y){return A<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}})}(m(2866))},7449:function(lt,_e,m){!function(i){"use strict";var t={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\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(a,y){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?y[0]:y[1]:y[2]},translate:function(a,y,C,b){var j,N=t.words[C];return 1===C.length?"y"===C&&y?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":b||y?N[0]:N[1]:(j=t.correctGrammaticalCase(a,N),"yy"===C&&y&&"\u0433\u043e\u0434\u0438\u043d\u0443"===j?a+" \u0433\u043e\u0434\u0438\u043d\u0430":a+" "+j)}};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:"D. M. 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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},614:function(lt,_e,m){!function(i){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(a,y){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?y[0]:y[1]:y[2]},translate:function(a,y,C,b){var j,N=t.words[C];return 1===C.length?"y"===C&&y?"jedna godina":b||y?N[0]:N[1]:(j=t.correctGrammaticalCase(a,N),"yy"===C&&y&&"godinu"===j?a+" godina":a+" "+j)}};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:"D. M. 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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(m(2866))},82:function(lt,_e,m){!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(A,a,y){return A<11?"ekuseni":A<15?"emini":A<19?"entsambama":"ebusuku"},meridiemHour:function(A,a){return 12===A&&(A=0),"ekuseni"===a?A:"emini"===a?A>=11?A:A+12:"entsambama"===a||"ebusuku"===a?0===A?0:A+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(m(2866))},2689:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?":e":1===a||2===a?":a":":e")},week:{dow:1,doy:4}})}(m(2866))},6471:function(lt,_e,m){!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 A",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:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(m(2866))},4437:function(lt,_e,m){!function(i){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},A={"\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(y){return y+"\u0bb5\u0ba4\u0bc1"},preparse:function(y){return y.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(C){return A[C]})},postformat:function(y){return y.replace(/\d/g,function(C){return t[C]})},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(y,C,b){return y<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":y<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":y<10?" \u0b95\u0bbe\u0bb2\u0bc8":y<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":y<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":y<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(y,C){return 12===y&&(y=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===C?y<2?y:y+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===C||"\u0b95\u0bbe\u0bb2\u0bc8"===C||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===C&&y>=10?y:y+12},week:{dow:0,doy:6}})}(m(2866))},4512:function(lt,_e,m){!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\u0c41\u0c32\u0c48_\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\u0c41\u0c32\u0c48_\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(A,a){return 12===A&&(A=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?A<4?A:A+12:"\u0c09\u0c26\u0c2f\u0c02"===a?A:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?A>=10?A:A+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?A+12:void 0},meridiem:function(A,a,y){return A<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":A<10?"\u0c09\u0c26\u0c2f\u0c02":A<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":A<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(m(2866))},9434:function(lt,_e,m){!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:"segundu balun",ss:"segundu %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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},8765:function(lt,_e,m){!function(i){"use strict";var t={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:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\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:"[\u0424\u0430\u0440\u0434\u043e \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(a,y){return 12===a&&(a=0),"\u0448\u0430\u0431"===y?a<4?a:a+12:"\u0441\u0443\u0431\u04b3"===y?a:"\u0440\u04ef\u0437"===y?a>=11?a:a+12:"\u0431\u0435\u0433\u043e\u04b3"===y?a+12:void 0},meridiem:function(a,y,C){return a<4?"\u0448\u0430\u0431":a<11?"\u0441\u0443\u0431\u04b3":a<16?"\u0440\u04ef\u0437":a<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(a){return a+(t[a]||t[a%10]||t[a>=100?100:null])},week:{dow:1,doy:7}})}(m(2866))},2099:function(lt,_e,m){!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(A){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===A},meridiem:function(A,a,y){return A<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",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(m(2866))},9133:function(lt,_e,m){!function(i){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};i.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".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 sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(a,y){switch(y){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'unjy";var C=a%10;return a+(t[C]||t[a%100-C]||t[a>=100?100:null])}},week:{dow:1,doy:7}})}(m(2866))},7497:function(lt,_e,m){!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(A){return A},week:{dow:1,doy:4}})}(m(2866))},7086:function(lt,_e,m){!function(i){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function y(N,j,F,x){var H=function C(N){var j=Math.floor(N%1e3/100),F=Math.floor(N%100/10),x=N%10,H="";return j>0&&(H+=t[j]+"vatlh"),F>0&&(H+=(""!==H?" ":"")+t[F]+"maH"),x>0&&(H+=(""!==H?" ":"")+t[x]),""===H?"pagh":H}(N);switch(F){case"ss":return H+" lup";case"mm":return H+" tup";case"hh":return H+" rep";case"dd":return H+" jaj";case"MM":return H+" jar";case"yy":return H+" 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 A(N){var j=N;return-1!==N.indexOf("jaj")?j.slice(0,-3)+"leS":-1!==N.indexOf("jar")?j.slice(0,-3)+"waQ":-1!==N.indexOf("DIS")?j.slice(0,-3)+"nem":j+" pIq"},past:function a(N){var j=N;return-1!==N.indexOf("jaj")?j.slice(0,-3)+"Hu\u2019":-1!==N.indexOf("jar")?j.slice(0,-3)+"wen":-1!==N.indexOf("DIS")?j.slice(0,-3)+"ben":j+" ret"},s:"puS lup",ss:y,m:"wa\u2019 tup",mm:y,h:"wa\u2019 rep",hh:y,d:"wa\u2019 jaj",dd:y,M:"wa\u2019 jar",MM:y,y:"wa\u2019 DIS",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},1118:function(lt,_e,m){!function(i){"use strict";var t={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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(a,y,C){return a<12?C?"\xf6\xf6":"\xd6\xd6":C?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(a){return"\xf6s"===a||"\xd6S"===a},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",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(a,y){switch(y){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'\u0131nc\u0131";var C=a%10;return a+(t[C]||t[a%100-C]||t[a>=100?100:null])}},week:{dow:1,doy:7}})}(m(2866))},5781:function(lt,_e,m){!function(i){"use strict";function A(a,y,C,b){var N={s:["viensas secunds","'iensas secunds"],ss:[a+" secunds",a+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[a+" m\xeduts",a+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[a+" \xfeoras",a+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",a+" ars"]};return b||y?N[C][0]:N[C][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(a){return"d'o"===a.toLowerCase()},meridiem:function(a,y,C){return a>11?C?"d'o":"D'O":C?"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:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(m(2866))},4415:function(lt,_e,m){!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}})}(m(2866))},5982:function(lt,_e,m){!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}})}(m(2866))},5975:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a?A:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===a||"\u0643\u06d5\u0686"===a?A+12:A>=11?A:A+12},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":C<900?"\u0633\u06d5\u06be\u06d5\u0631":C<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":C<1230?"\u0686\u06c8\u0634":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return A+"-\u06be\u06d5\u067e\u062a\u06d5";default:return A}},preparse:function(A){return A.replace(/\u060c/g,",")},postformat:function(A){return A.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(m(2866))},3715:function(lt,_e,m){!function(i){"use strict";function A(b,N,j){return"m"===j?N?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===j?N?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":b+" "+function t(b,N){var j=b.split("_");return N%10==1&&N%100!=11?j[0]:N%10>=2&&N%10<=4&&(N%100<10||N%100>=20)?j[1]:j[2]}({ss:N?"\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:N?"\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:N?"\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"}[j],+b)}function y(b){return function(){return b+"\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 a(b,N){var j={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!0===b?j.nominative.slice(1,7).concat(j.nominative.slice(0,1)):b?j[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(N)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(N)?"genitive":"nominative"][b.day()]:j.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:y("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:y("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:y("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:y("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return y("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return y("[\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:A,m:A,mm:A,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:A,d:"\u0434\u0435\u043d\u044c",dd:A,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:A,y:"\u0440\u0456\u043a",yy:A},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(b){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(b)},meridiem:function(b,N,j){return b<4?"\u043d\u043e\u0447\u0456":b<12?"\u0440\u0430\u043d\u043a\u0443":b<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(b,N){switch(N){case"M":case"d":case"DDD":case"w":case"W":return b+"-\u0439";case"D":return b+"-\u0433\u043e";default:return b}},week:{dow:1,doy:7}})}(m(2866))},7307:function(lt,_e,m){!function(i){"use strict";var t=["\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"],A=["\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:t,monthsShort:t,weekdays:A,weekdaysShort:A,weekdaysMin:A,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(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,C,b){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(m(2866))},3397:function(lt,_e,m){!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}})}(m(2866))},5232:function(lt,_e,m){!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}})}(m(2866))},7842:function(lt,_e,m){!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:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".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(A){return/^ch$/i.test(A)},meridiem:function(A,a,y){return A<12?y?"sa":"SA":y?"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 tr\u01b0\u1edbc 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",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(A){return A},week:{dow:1,doy:4}})}(m(2866))},2490:function(lt,_e,m){!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(A){var a=A%10;return A+(1==~~(A%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(m(2866))},9348:function(lt,_e,m){!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}})}(m(2866))},5912:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:A>=11?A:A+12},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(A){return A.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(A){return this.week()!==A.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u5468";default:return A}},relativeTime:{future:"%s\u540e",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",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(m(2866))},6858:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e2d\u5348"===a?A>=11?A:A+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:void 0},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1200?"\u4e0a\u5348":1200===C?"\u4e2d\u5348":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},relativeTime:{future:"%s\u5f8c",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"}})}(m(2866))},719:function(lt,_e,m){!function(i){"use strict";i.defineLocale("zh-mo",{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:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e2d\u5348"===a?A>=11?A:A+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:void 0},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},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"}})}(m(2866))},3533:function(lt,_e,m){!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(A,a){return 12===A&&(A=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?A:"\u4e2d\u5348"===a?A>=11?A:A+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?A+12:void 0},meridiem:function(A,a,y){var C=100*A+a;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<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(A,a){switch(a){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},relativeTime:{future:"%s\u5f8c",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"}})}(m(2866))},2866:function(lt,_e,m){(lt=m.nmd(lt)).exports=function(){"use strict";var i,me;function t(){return i.apply(null,arguments)}function a(R){return R instanceof Array||"[object Array]"===Object.prototype.toString.call(R)}function y(R){return null!=R&&"[object Object]"===Object.prototype.toString.call(R)}function C(R,te){return Object.prototype.hasOwnProperty.call(R,te)}function b(R){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(R).length;var te;for(te in R)if(C(R,te))return!1;return!0}function N(R){return void 0===R}function j(R){return"number"==typeof R||"[object Number]"===Object.prototype.toString.call(R)}function F(R){return R instanceof Date||"[object Date]"===Object.prototype.toString.call(R)}function x(R,te){var Pe,Ie=[],ft=R.length;for(Pe=0;Pe>>0;for(Pe=0;Pe0)for(Ie=0;Ie=0?Ie?"+":"":"-")+Math.pow(10,Math.max(0,te-Pe.length)).toString().substr(1)+Pe}var nt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ot=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ct={},He={};function mt(R,te,Ie,Pe){var ft=Pe;"string"==typeof Pe&&(ft=function(){return this[Pe]()}),R&&(He[R]=ft),te&&(He[te[0]]=function(){return Jt(ft.apply(this,arguments),te[1],te[2])}),Ie&&(He[Ie]=function(){return this.localeData().ordinal(ft.apply(this,arguments),R)})}function vt(R){return R.match(/\[[\s\S]/)?R.replace(/^\[|\]$/g,""):R.replace(/\\/g,"")}function yt(R,te){return R.isValid()?(te=Fn(te,R.localeData()),Ct[te]=Ct[te]||function hn(R){var Ie,Pe,te=R.match(nt);for(Ie=0,Pe=te.length;Ie=0&&ot.test(R);)R=R.replace(ot,Pe),ot.lastIndex=0,Ie-=1;return R}var Ot={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ve(R){return"string"==typeof R?Ot[R]||Ot[R.toLowerCase()]:void 0}function De(R){var Ie,Pe,te={};for(Pe in R)C(R,Pe)&&(Ie=ve(Pe))&&(te[Ie]=R[Pe]);return te}var xe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var ln,xt=/\d/,cn=/\d\d/,Kn=/\d{3}/,An=/\d{4}/,gs=/[+-]?\d{6}/,Qt=/\d\d?/,ki=/\d\d\d\d?/,ta=/\d\d\d\d\d\d?/,Pi=/\d{1,3}/,co=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Dr=/\d+/,bs=/[+-]?\d+/,Do=/Z|[+-]\d\d:?\d\d/gi,Ms=/Z|[+-]\d\d(?::?\d\d)?/gi,On=/[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,mr=/^[1-9]\d?/,Pt=/^([1-9]\d|\d)/;function Yt(R,te,Ie){ln[R]=gt(te)?te:function(Pe,ft){return Pe&&Ie?Ie:te}}function li(R,te){return C(ln,R)?ln[R](te._strict,te._locale):new RegExp(function Qr(R){return Sr(R.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(te,Ie,Pe,ft,on){return Ie||Pe||ft||on}))}(R))}function Sr(R){return R.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Pn(R){return R<0?Math.ceil(R)||0:Math.floor(R)}function sn(R){var te=+R,Ie=0;return 0!==te&&isFinite(te)&&(Ie=Pn(te)),Ie}ln={};var Rt={};function Bt(R,te){var Ie,ft,Pe=te;for("string"==typeof R&&(R=[R]),j(te)&&(Pe=function(on,Gn){Gn[te]=sn(on)}),ft=R.length,Ie=0;Ie68?1900:2e3)};var wr,yn=pi("FullYear",!0);function pi(R,te){return function(Ie){return null!=Ie?(Ti(this,R,Ie),t.updateOffset(this,te),this):nn(this,R)}}function nn(R,te){if(!R.isValid())return NaN;var Ie=R._d,Pe=R._isUTC;switch(te){case"Milliseconds":return Pe?Ie.getUTCMilliseconds():Ie.getMilliseconds();case"Seconds":return Pe?Ie.getUTCSeconds():Ie.getSeconds();case"Minutes":return Pe?Ie.getUTCMinutes():Ie.getMinutes();case"Hours":return Pe?Ie.getUTCHours():Ie.getHours();case"Date":return Pe?Ie.getUTCDate():Ie.getDate();case"Day":return Pe?Ie.getUTCDay():Ie.getDay();case"Month":return Pe?Ie.getUTCMonth():Ie.getMonth();case"FullYear":return Pe?Ie.getUTCFullYear():Ie.getFullYear();default:return NaN}}function Ti(R,te,Ie){var Pe,ft,on,Gn,Vi;if(R.isValid()&&!isNaN(Ie)){switch(Pe=R._d,ft=R._isUTC,te){case"Milliseconds":return void(ft?Pe.setUTCMilliseconds(Ie):Pe.setMilliseconds(Ie));case"Seconds":return void(ft?Pe.setUTCSeconds(Ie):Pe.setSeconds(Ie));case"Minutes":return void(ft?Pe.setUTCMinutes(Ie):Pe.setMinutes(Ie));case"Hours":return void(ft?Pe.setUTCHours(Ie):Pe.setHours(Ie));case"Date":return void(ft?Pe.setUTCDate(Ie):Pe.setDate(Ie));case"FullYear":break;default:return}on=Ie,Gn=R.month(),Vi=29!==(Vi=R.date())||1!==Gn||rr(on)?Vi:28,ft?Pe.setUTCFullYear(on,Gn,Vi):Pe.setFullYear(on,Gn,Vi)}}function Ki(R,te){if(isNaN(R)||isNaN(te))return NaN;var Ie=function ss(R,te){return(R%te+te)%te}(te,12);return R+=(te-Ie)/12,1===Ie?rr(R)?29:28:31-Ie%7%2}wr=Array.prototype.indexOf?Array.prototype.indexOf:function(R){var te;for(te=0;te=0?(Vi=new Date(R+400,te,Ie,Pe,ft,on,Gn),isFinite(Vi.getFullYear())&&Vi.setFullYear(R)):Vi=new Date(R,te,Ie,Pe,ft,on,Gn),Vi}function Tt(R){var te,Ie;return R<100&&R>=0?((Ie=Array.prototype.slice.call(arguments))[0]=R+400,te=new Date(Date.UTC.apply(null,Ie)),isFinite(te.getUTCFullYear())&&te.setUTCFullYear(R)):te=new Date(Date.UTC.apply(null,arguments)),te}function un(R,te,Ie){var Pe=7+te-Ie;return-(7+Tt(R,0,Pe).getUTCDay()-te)%7+Pe-1}function Yn(R,te,Ie,Pe,ft){var Pr,js,Vi=1+7*(te-1)+(7+Ie-Pe)%7+un(R,Pe,ft);return Vi<=0?js=Kt(Pr=R-1)+Vi:Vi>Kt(R)?(Pr=R+1,js=Vi-Kt(R)):(Pr=R,js=Vi),{year:Pr,dayOfYear:js}}function Ui(R,te,Ie){var on,Gn,Pe=un(R.year(),te,Ie),ft=Math.floor((R.dayOfYear()-Pe-1)/7)+1;return ft<1?on=ft+Gi(Gn=R.year()-1,te,Ie):ft>Gi(R.year(),te,Ie)?(on=ft-Gi(R.year(),te,Ie),Gn=R.year()+1):(Gn=R.year(),on=ft),{week:on,year:Gn}}function Gi(R,te,Ie){var Pe=un(R,te,Ie),ft=un(R+1,te,Ie);return(Kt(R)-Pe+ft)/7}mt("w",["ww",2],"wo","week"),mt("W",["WW",2],"Wo","isoWeek"),Yt("w",Qt,mr),Yt("ww",Qt,cn),Yt("W",Qt,mr),Yt("WW",Qt,cn),bn(["w","ww","W","WW"],function(R,te,Ie,Pe){te[Pe.substr(0,1)]=sn(R)});function da(R,te){return R.slice(te,7).concat(R.slice(0,te))}mt("d",0,"do","day"),mt("dd",0,0,function(R){return this.localeData().weekdaysMin(this,R)}),mt("ddd",0,0,function(R){return this.localeData().weekdaysShort(this,R)}),mt("dddd",0,0,function(R){return this.localeData().weekdays(this,R)}),mt("e",0,0,"weekday"),mt("E",0,0,"isoWeekday"),Yt("d",Qt),Yt("e",Qt),Yt("E",Qt),Yt("dd",function(R,te){return te.weekdaysMinRegex(R)}),Yt("ddd",function(R,te){return te.weekdaysShortRegex(R)}),Yt("dddd",function(R,te){return te.weekdaysRegex(R)}),bn(["dd","ddd","dddd"],function(R,te,Ie,Pe){var ft=Ie._locale.weekdaysParse(R,Pe,Ie._strict);null!=ft?te.d=ft:X(Ie).invalidWeekday=R}),bn(["d","e","E"],function(R,te,Ie,Pe){te[Pe]=sn(R)});var Wa="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),er="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Cr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ss=On,br=On,ds=On;function as(R,te,Ie){var Pe,ft,on,Gn=R.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Pe=0;Pe<7;++Pe)on=k([2e3,1]).day(Pe),this._minWeekdaysParse[Pe]=this.weekdaysMin(on,"").toLocaleLowerCase(),this._shortWeekdaysParse[Pe]=this.weekdaysShort(on,"").toLocaleLowerCase(),this._weekdaysParse[Pe]=this.weekdays(on,"").toLocaleLowerCase();return Ie?"dddd"===te?-1!==(ft=wr.call(this._weekdaysParse,Gn))?ft:null:"ddd"===te?-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))?ft:null:-1!==(ft=wr.call(this._minWeekdaysParse,Gn))?ft:null:"dddd"===te?-1!==(ft=wr.call(this._weekdaysParse,Gn))||-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))||-1!==(ft=wr.call(this._minWeekdaysParse,Gn))?ft:null:"ddd"===te?-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))||-1!==(ft=wr.call(this._weekdaysParse,Gn))||-1!==(ft=wr.call(this._minWeekdaysParse,Gn))?ft:null:-1!==(ft=wr.call(this._minWeekdaysParse,Gn))||-1!==(ft=wr.call(this._weekdaysParse,Gn))||-1!==(ft=wr.call(this._shortWeekdaysParse,Gn))?ft:null}function Ho(){function R(Sl,zc){return zc.length-Sl.length}var on,Gn,Vi,Pr,js,te=[],Ie=[],Pe=[],ft=[];for(on=0;on<7;on++)Gn=k([2e3,1]).day(on),Vi=Sr(this.weekdaysMin(Gn,"")),Pr=Sr(this.weekdaysShort(Gn,"")),js=Sr(this.weekdays(Gn,"")),te.push(Vi),Ie.push(Pr),Pe.push(js),ft.push(Vi),ft.push(Pr),ft.push(js);te.sort(R),Ie.sort(R),Pe.sort(R),ft.sort(R),this._weekdaysRegex=new RegExp("^("+ft.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Pe.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ie.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+te.join("|")+")","i")}function no(){return this.hours()%12||12}function os(R,te){mt(R,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),te)})}function $o(R,te){return te._meridiemParse}mt("H",["HH",2],0,"hour"),mt("h",["hh",2],0,no),mt("k",["kk",2],0,function Vr(){return this.hours()||24}),mt("hmm",0,0,function(){return""+no.apply(this)+Jt(this.minutes(),2)}),mt("hmmss",0,0,function(){return""+no.apply(this)+Jt(this.minutes(),2)+Jt(this.seconds(),2)}),mt("Hmm",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)}),mt("Hmmss",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)+Jt(this.seconds(),2)}),os("a",!0),os("A",!1),Yt("a",$o),Yt("A",$o),Yt("H",Qt,Pt),Yt("h",Qt,mr),Yt("k",Qt,mr),Yt("HH",Qt,cn),Yt("hh",Qt,cn),Yt("kk",Qt,cn),Yt("hmm",ki),Yt("hmmss",ta),Yt("Hmm",ki),Yt("Hmmss",ta),Bt(["H","HH"],Xe),Bt(["k","kk"],function(R,te,Ie){var Pe=sn(R);te[Xe]=24===Pe?0:Pe}),Bt(["a","A"],function(R,te,Ie){Ie._isPm=Ie._locale.isPM(R),Ie._meridiem=R}),Bt(["h","hh"],function(R,te,Ie){te[Xe]=sn(R),X(Ie).bigHour=!0}),Bt("hmm",function(R,te,Ie){var Pe=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe)),X(Ie).bigHour=!0}),Bt("hmmss",function(R,te,Ie){var Pe=R.length-4,ft=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe,2)),te[ge]=sn(R.substr(ft)),X(Ie).bigHour=!0}),Bt("Hmm",function(R,te,Ie){var Pe=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe))}),Bt("Hmmss",function(R,te,Ie){var Pe=R.length-4,ft=R.length-2;te[Xe]=sn(R.substr(0,Pe)),te[ke]=sn(R.substr(Pe,2)),te[ge]=sn(R.substr(ft))});var Mo=pi("Hours",!0);var Rs,Xr={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:yr,monthsShort:jr,week:{dow:0,doy:6},weekdays:Wa,weekdaysMin:Cr,weekdaysShort:er,meridiemParse:/[ap]\.?m?\.?/i},gr={},Us={};function Mr(R,te){var Ie,Pe=Math.min(R.length,te.length);for(Ie=0;Ie0;){if(ft=Oo(on.slice(0,Ie).join("-")))return ft;if(Pe&&Pe.length>=Ie&&Mr(on,Pe)>=Ie-1)break;Ie--}te++}return Rs}(R)}function vo(R){var te,Ie=R._a;return Ie&&-2===X(R).overflow&&(te=Ie[Ur]<0||Ie[Ur]>11?Ur:Ie[mn]<1||Ie[mn]>Ki(Ie[Ri],Ie[Ur])?mn:Ie[Xe]<0||Ie[Xe]>24||24===Ie[Xe]&&(0!==Ie[ke]||0!==Ie[ge]||0!==Ie[Ae])?Xe:Ie[ke]<0||Ie[ke]>59?ke:Ie[ge]<0||Ie[ge]>59?ge:Ie[Ae]<0||Ie[Ae]>999?Ae:-1,X(R)._overflowDayOfYear&&(temn)&&(te=mn),X(R)._overflowWeeks&&-1===te&&(te=it),X(R)._overflowWeekday&&-1===te&&(te=Ht),X(R).overflow=te),R}var io=/^\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)?)?$/,Ci=/^\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)?)?$/,Pl=/Z|[+-]\d\d(?::?\d\d)?/,tl=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ho=[["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/]],pl=/^\/?Date\((-?\d+)/i,Lr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Qs={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(R){var te,Ie,on,Gn,Vi,Pr,Pe=R._i,ft=io.exec(Pe)||Ci.exec(Pe),js=tl.length,Sl=ho.length;if(ft){for(X(R).iso=!0,te=0,Ie=js;te7)&&(Pr=!0)):(on=R._locale._week.dow,Gn=R._locale._week.doy,js=Ui(Zt(),on,Gn),Ie=ka(te.gg,R._a[Ri],js.year),Pe=ka(te.w,js.week),null!=te.d?((ft=te.d)<0||ft>6)&&(Pr=!0):null!=te.e?(ft=te.e+on,(te.e<0||te.e>6)&&(Pr=!0)):ft=on),Pe<1||Pe>Gi(Ie,on,Gn)?X(R)._overflowWeeks=!0:null!=Pr?X(R)._overflowWeekday=!0:(Vi=Yn(Ie,Pe,ft,on,Gn),R._a[Ri]=Vi.year,R._dayOfYear=Vi.dayOfYear)}(R),null!=R._dayOfYear&&(Gn=ka(R._a[Ri],ft[Ri]),(R._dayOfYear>Kt(Gn)||0===R._dayOfYear)&&(X(R)._overflowDayOfYear=!0),Ie=Tt(Gn,0,R._dayOfYear),R._a[Ur]=Ie.getUTCMonth(),R._a[mn]=Ie.getUTCDate()),te=0;te<3&&null==R._a[te];++te)R._a[te]=Pe[te]=ft[te];for(;te<7;te++)R._a[te]=Pe[te]=null==R._a[te]?2===te?1:0:R._a[te];24===R._a[Xe]&&0===R._a[ke]&&0===R._a[ge]&&0===R._a[Ae]&&(R._nextDay=!0,R._a[Xe]=0),R._d=(R._useUTC?Tt:dt).apply(null,Pe),on=R._useUTC?R._d.getUTCDay():R._d.getDay(),null!=R._tzm&&R._d.setUTCMinutes(R._d.getUTCMinutes()-R._tzm),R._nextDay&&(R._a[Xe]=24),R._w&&typeof R._w.d<"u"&&R._w.d!==on&&(X(R).weekdayMismatch=!0)}}function il(R){if(R._f!==t.ISO_8601)if(R._f!==t.RFC_2822){R._a=[],X(R).empty=!0;var Ie,Pe,ft,on,Gn,js,Sl,te=""+R._i,Vi=te.length,Pr=0;for(Sl=(ft=Fn(R._f,R._locale).match(nt)||[]).length,Ie=0;Ie0&&X(R).unusedInput.push(Gn),te=te.slice(te.indexOf(Pe)+Pe.length),Pr+=Pe.length),He[on]?(Pe?X(R).empty=!1:X(R).unusedTokens.push(on),mi(on,Pe,R)):R._strict&&!Pe&&X(R).unusedTokens.push(on);X(R).charsLeftOver=Vi-Pr,te.length>0&&X(R).unusedInput.push(te),R._a[Xe]<=12&&!0===X(R).bigHour&&R._a[Xe]>0&&(X(R).bigHour=void 0),X(R).parsedDateParts=R._a.slice(0),X(R).meridiem=R._meridiem,R._a[Xe]=function As(R,te,Ie){var Pe;return null==Ie?te:null!=R.meridiemHour?R.meridiemHour(te,Ie):(null!=R.isPM&&((Pe=R.isPM(Ie))&&te<12&&(te+=12),!Pe&&12===te&&(te=0)),te)}(R._locale,R._a[Xe],R._meridiem),null!==(js=X(R).era)&&(R._a[Ri]=R._locale.erasConvertYear(js,R._a[Ri])),yl(R),vo(R)}else ia(R);else Hs(R)}function ze(R){var te=R._i,Ie=R._f;return R._locale=R._locale||fa(R._l),null===te||void 0===Ie&&""===te?Se({nullInput:!0}):("string"==typeof te&&(R._i=te=R._locale.preparse(te)),ae(te)?new J(vo(te)):(F(te)?R._d=te:a(Ie)?function _l(R){var te,Ie,Pe,ft,on,Gn,Vi=!1,Pr=R._f.length;if(0===Pr)return X(R).invalidFormat=!0,void(R._d=new Date(NaN));for(ft=0;ftthis?this:R:Se()});function ro(R,te){var Ie,Pe;if(1===te.length&&a(te[0])&&(te=te[0]),!te.length)return Zt();for(Ie=te[0],Pe=1;Pe=0?new Date(R+400,te,Ie)-po:new Date(R,te,Ie).valueOf()}function xl(R,te,Ie){return R<100&&R>=0?Date.UTC(R+400,te,Ie)-po:Date.UTC(R,te,Ie)}function es(R,te){return te.erasAbbrRegex(R)}function Rc(){var ft,on,Gn,Vi,Pr,R=[],te=[],Ie=[],Pe=[],js=this.eras();for(ft=0,on=js.length;ft(on=Gi(R,Pe,ft))&&(te=on),Qa.call(this,R,te,Ie,Pe,ft))}function Qa(R,te,Ie,Pe,ft){var on=Yn(R,te,Ie,Pe,ft),Gn=Tt(on.year,0,on.dayOfYear);return this.year(Gn.getUTCFullYear()),this.month(Gn.getUTCMonth()),this.date(Gn.getUTCDate()),this}mt("N",0,0,"eraAbbr"),mt("NN",0,0,"eraAbbr"),mt("NNN",0,0,"eraAbbr"),mt("NNNN",0,0,"eraName"),mt("NNNNN",0,0,"eraNarrow"),mt("y",["y",1],"yo","eraYear"),mt("y",["yy",2],0,"eraYear"),mt("y",["yyy",3],0,"eraYear"),mt("y",["yyyy",4],0,"eraYear"),Yt("N",es),Yt("NN",es),Yt("NNN",es),Yt("NNNN",function Ic(R,te){return te.erasNameRegex(R)}),Yt("NNNNN",function Ul(R,te){return te.erasNarrowRegex(R)}),Bt(["N","NN","NNN","NNNN","NNNNN"],function(R,te,Ie,Pe){var ft=Ie._locale.erasParse(R,Pe,Ie._strict);ft?X(Ie).era=ft:X(Ie).invalidEra=R}),Yt("y",Dr),Yt("yy",Dr),Yt("yyy",Dr),Yt("yyyy",Dr),Yt("yo",function Ta(R,te){return te._eraYearOrdinalRegex||Dr}),Bt(["y","yy","yyy","yyyy"],Ri),Bt(["yo"],function(R,te,Ie,Pe){var ft;Ie._locale._eraYearOrdinalRegex&&(ft=R.match(Ie._locale._eraYearOrdinalRegex)),te[Ri]=Ie._locale.eraYearOrdinalParse?Ie._locale.eraYearOrdinalParse(R,ft):parseInt(R,10)}),mt(0,["gg",2],0,function(){return this.weekYear()%100}),mt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Al("gggg","weekYear"),Al("ggggg","weekYear"),Al("GGGG","isoWeekYear"),Al("GGGGG","isoWeekYear"),Yt("G",bs),Yt("g",bs),Yt("GG",Qt,cn),Yt("gg",Qt,cn),Yt("GGGG",co,An),Yt("gggg",co,An),Yt("GGGGG",Or,gs),Yt("ggggg",Or,gs),bn(["gggg","ggggg","GGGG","GGGGG"],function(R,te,Ie,Pe){te[Pe.substr(0,2)]=sn(R)}),bn(["gg","GG"],function(R,te,Ie,Pe){te[Pe]=t.parseTwoDigitYear(R)}),mt("Q",0,"Qo","quarter"),Yt("Q",xt),Bt("Q",function(R,te){te[Ur]=3*(sn(R)-1)}),mt("D",["DD",2],"Do","date"),Yt("D",Qt,mr),Yt("DD",Qt,cn),Yt("Do",function(R,te){return R?te._dayOfMonthOrdinalParse||te._ordinalParse:te._dayOfMonthOrdinalParseLenient}),Bt(["D","DD"],mn),Bt("Do",function(R,te){te[mn]=sn(R.match(Qt)[0])});var oo=pi("Date",!0);mt("DDD",["DDDD",3],"DDDo","dayOfYear"),Yt("DDD",Pi),Yt("DDDD",Kn),Bt(["DDD","DDDD"],function(R,te,Ie){Ie._dayOfYear=sn(R)}),mt("m",["mm",2],0,"minute"),Yt("m",Qt,Pt),Yt("mm",Qt,cn),Bt(["m","mm"],ke);var dc=pi("Minutes",!1);mt("s",["ss",2],0,"second"),Yt("s",Qt,Pt),Yt("ss",Qt,cn),Bt(["s","ss"],ge);var jt,L,he=pi("Seconds",!1);for(mt("S",0,0,function(){return~~(this.millisecond()/100)}),mt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),mt(0,["SSS",3],0,"millisecond"),mt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),mt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),mt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),mt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),mt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),mt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Yt("S",Pi,xt),Yt("SS",Pi,cn),Yt("SSS",Pi,Kn),jt="SSSS";jt.length<=9;jt+="S")Yt(jt,Dr);function Ue(R,te){te[Ae]=sn(1e3*("0."+R))}for(jt="S";jt.length<=9;jt+="S")Bt(jt,Ue);L=pi("Milliseconds",!1),mt("z",0,0,"zoneAbbr"),mt("zz",0,0,"zoneName");var v=J.prototype;function ue(R){return R}v.add=Wr,v.calendar=function Ln(R,te){1===arguments.length&&(arguments[0]?re(arguments[0])?(R=arguments[0],te=void 0):function We(R){var ft,te=y(R)&&!b(R),Ie=!1,Pe=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(ft=0;ftIe.valueOf():Ie.valueOf()9999?yt(Ie,te?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):gt(Date.prototype.toISOString)?te?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",yt(Ie,"Z")):yt(Ie,te?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},v.inspect=function xa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var Ie,Pe,R="moment",te="";return this.isLocal()||(R=0===this.utcOffset()?"moment.utc":"moment.parseZone",te="Z"),Ie="["+R+'("]',Pe=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(Ie+Pe+"-MM-DD[T]HH:mm:ss.SSS"+te+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(v[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),v.toJSON=function Yl(){return this.isValid()?this.toISOString():null},v.toString=function ea(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},v.unix=function Hc(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function cc(){return this._d.valueOf()-6e4*(this._offset||0)},v.creationData=function Ac(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},v.eraName=function El(){var R,te,Ie,Pe=this.localeData().eras();for(R=0,te=Pe.length;Rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},v.isLocal=function Ao(){return!!this.isValid()&&!this._isUTC},v.isUtcOffset=function Lc(){return!!this.isValid()&&this._isUTC},v.isUtc=ol,v.isUTC=ol,v.zoneAbbr=function je(){return this._isUTC?"UTC":""},v.zoneName=function E(){return this._isUTC?"Coordinated Universal Time":""},v.dates=ye("dates accessor is deprecated. Use date instead.",oo),v.months=ye("months accessor is deprecated. Use month instead",Ra),v.years=ye("years accessor is deprecated. Use year instead",yn),v.zone=ye("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ra(R,te){return null!=R?("string"!=typeof R&&(R=-R),this.utcOffset(R,te),this):-this.utcOffset()}),v.isDSTShifted=ye("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Cl(){if(!N(this._isDSTShifted))return this._isDSTShifted;var te,R={};return V(R,this),(R=ze(R))._a?(te=R._isUTC?k(R._a):Zt(R._a),this._isDSTShifted=this.isValid()&&function ba(R,te,Ie){var Gn,Pe=Math.min(R.length,te.length),ft=Math.abs(R.length-te.length),on=0;for(Gn=0;Gn0):this._isDSTShifted=!1,this._isDSTShifted});var be=tt.prototype;function et(R,te,Ie,Pe){var ft=fa(),on=k().set(Pe,te);return ft[Ie](on,R)}function q(R,te,Ie){if(j(R)&&(te=R,R=void 0),R=R||"",null!=te)return et(R,te,Ie,"month");var Pe,ft=[];for(Pe=0;Pe<12;Pe++)ft[Pe]=et(R,Pe,Ie,"month");return ft}function U(R,te,Ie,Pe){"boolean"==typeof R?(j(te)&&(Ie=te,te=void 0),te=te||""):(Ie=te=R,R=!1,j(te)&&(Ie=te,te=void 0),te=te||"");var Gn,ft=fa(),on=R?ft._week.dow:0,Vi=[];if(null!=Ie)return et(te,(Ie+on)%7,Pe,"day");for(Gn=0;Gn<7;Gn++)Vi[Gn]=et(te,(Gn+on)%7,Pe,"day");return Vi}be.calendar=function Nt(R,te,Ie){var Pe=this._calendar[R]||this._calendar.sameElse;return gt(Pe)?Pe.call(te,Ie):Pe},be.longDateFormat=function In(R){var te=this._longDateFormat[R],Ie=this._longDateFormat[R.toUpperCase()];return te||!Ie?te:(this._longDateFormat[R]=Ie.match(nt).map(function(Pe){return"MMMM"===Pe||"MM"===Pe||"DD"===Pe||"dddd"===Pe?Pe.slice(1):Pe}).join(""),this._longDateFormat[R])},be.invalidDate=function qn(){return this._invalidDate},be.ordinal=function Bn(R){return this._ordinal.replace("%d",R)},be.preparse=ue,be.postformat=ue,be.relativeTime=function fi(R,te,Ie,Pe){var ft=this._relativeTime[Ie];return gt(ft)?ft(R,te,Ie,Pe):ft.replace(/%d/i,R)},be.pastFuture=function Mt(R,te){var Ie=this._relativeTime[R>0?"future":"past"];return gt(Ie)?Ie(te):Ie.replace(/%s/i,te)},be.set=function Ze(R){var te,Ie;for(Ie in R)C(R,Ie)&&(gt(te=R[Ie])?this[Ie]=te:this["_"+Ie]=te);this._config=R,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},be.eras=function au(R,te){var Ie,Pe,ft,on=this._eras||fa("en")._eras;for(Ie=0,Pe=on.length;Ie=0)return on[Pe]},be.erasConvertYear=function Zc(R,te){var Ie=R.since<=R.until?1:-1;return void 0===te?t(R.since).year():t(R.since).year()+(te-R.offset)*Ie},be.erasAbbrRegex=function $c(R){return C(this,"_erasAbbrRegex")||Rc.call(this),R?this._erasAbbrRegex:this._erasRegex},be.erasNameRegex=function Vo(R){return C(this,"_erasNameRegex")||Rc.call(this),R?this._erasNameRegex:this._erasRegex},be.erasNarrowRegex=function ii(R){return C(this,"_erasNarrowRegex")||Rc.call(this),R?this._erasNarrowRegex:this._erasRegex},be.months=function Nr(R,te){return R?a(this._months)?this._months[R.month()]:this._months[(this._months.isFormat||xs).test(te)?"format":"standalone"][R.month()]:a(this._months)?this._months:this._months.standalone},be.monthsShort=function To(R,te){return R?a(this._monthsShort)?this._monthsShort[R.month()]:this._monthsShort[xs.test(te)?"format":"standalone"][R.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},be.monthsParse=function Eo(R,te,Ie){var Pe,ft,on;if(this._monthsParseExact)return Bs.call(this,R,te,Ie);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Pe=0;Pe<12;Pe++){if(ft=k([2e3,Pe]),Ie&&!this._longMonthsParse[Pe]&&(this._longMonthsParse[Pe]=new RegExp("^"+this.months(ft,"").replace(".","")+"$","i"),this._shortMonthsParse[Pe]=new RegExp("^"+this.monthsShort(ft,"").replace(".","")+"$","i")),!Ie&&!this._monthsParse[Pe]&&(on="^"+this.months(ft,"")+"|^"+this.monthsShort(ft,""),this._monthsParse[Pe]=new RegExp(on.replace(".",""),"i")),Ie&&"MMMM"===te&&this._longMonthsParse[Pe].test(R))return Pe;if(Ie&&"MMM"===te&&this._shortMonthsParse[Pe].test(R))return Pe;if(!Ie&&this._monthsParse[Pe].test(R))return Pe}},be.monthsRegex=function St(R){return this._monthsParseExact?(C(this,"_monthsRegex")||En.call(this),R?this._monthsStrictRegex:this._monthsRegex):(C(this,"_monthsRegex")||(this._monthsRegex=ns),this._monthsStrictRegex&&R?this._monthsStrictRegex:this._monthsRegex)},be.monthsShortRegex=function Ds(R){return this._monthsParseExact?(C(this,"_monthsRegex")||En.call(this),R?this._monthsShortStrictRegex:this._monthsShortRegex):(C(this,"_monthsShortRegex")||(this._monthsShortRegex=Co),this._monthsShortStrictRegex&&R?this._monthsShortStrictRegex:this._monthsShortRegex)},be.week=function _r(R){return Ui(R,this._week.dow,this._week.doy).week},be.firstDayOfYear=function Fo(){return this._week.doy},be.firstDayOfWeek=function So(){return this._week.dow},be.weekdays=function Yo(R,te){var Ie=a(this._weekdays)?this._weekdays:this._weekdays[R&&!0!==R&&this._weekdays.isFormat.test(te)?"format":"standalone"];return!0===R?da(Ie,this._week.dow):R?Ie[R.day()]:Ie},be.weekdaysMin=function ha(R){return!0===R?da(this._weekdaysMin,this._week.dow):R?this._weekdaysMin[R.day()]:this._weekdaysMin},be.weekdaysShort=function gl(R){return!0===R?da(this._weekdaysShort,this._week.dow):R?this._weekdaysShort[R.day()]:this._weekdaysShort},be.weekdaysParse=function Na(R,te,Ie){var Pe,ft,on;if(this._weekdaysParseExact)return as.call(this,R,te,Ie);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Pe=0;Pe<7;Pe++){if(ft=k([2e3,1]).day(Pe),Ie&&!this._fullWeekdaysParse[Pe]&&(this._fullWeekdaysParse[Pe]=new RegExp("^"+this.weekdays(ft,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Pe]=new RegExp("^"+this.weekdaysShort(ft,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Pe]=new RegExp("^"+this.weekdaysMin(ft,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Pe]||(on="^"+this.weekdays(ft,"")+"|^"+this.weekdaysShort(ft,"")+"|^"+this.weekdaysMin(ft,""),this._weekdaysParse[Pe]=new RegExp(on.replace(".",""),"i")),Ie&&"dddd"===te&&this._fullWeekdaysParse[Pe].test(R))return Pe;if(Ie&&"ddd"===te&&this._shortWeekdaysParse[Pe].test(R))return Pe;if(Ie&&"dd"===te&&this._minWeekdaysParse[Pe].test(R))return Pe;if(!Ie&&this._weekdaysParse[Pe].test(R))return Pe}},be.weekdaysRegex=function dr(R){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Ho.call(this),R?this._weekdaysStrictRegex:this._weekdaysRegex):(C(this,"_weekdaysRegex")||(this._weekdaysRegex=Ss),this._weekdaysStrictRegex&&R?this._weekdaysStrictRegex:this._weekdaysRegex)},be.weekdaysShortRegex=function $r(R){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Ho.call(this),R?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(C(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=br),this._weekdaysShortStrictRegex&&R?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},be.weekdaysMinRegex=function Fr(R){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Ho.call(this),R?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(C(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ds),this._weekdaysMinStrictRegex&&R?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},be.isPM=function Ko(R){return"p"===(R+"").toLowerCase().charAt(0)},be.meridiem=function Aa(R,te,Ie){return R>11?Ie?"pm":"PM":Ie?"am":"AM"},Js("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(R){var te=R%10;return R+(1===sn(R%100/10)?"th":1===te?"st":2===te?"nd":3===te?"rd":"th")}}),t.lang=ye("moment.lang is deprecated. Use moment.locale instead.",Js),t.langData=ye("moment.langData is deprecated. Use moment.localeData instead.",fa);var It=Math.abs;function Cn(R,te,Ie,Pe){var ft=vl(te,Ie);return R._milliseconds+=Pe*ft._milliseconds,R._days+=Pe*ft._days,R._months+=Pe*ft._months,R._bubble()}function Ei(R){return R<0?Math.floor(R):Math.ceil(R)}function hi(R){return 4800*R/146097}function wi(R){return 146097*R/4800}function sr(R){return function(){return this.as(R)}}var Er=sr("ms"),ms=sr("s"),ao=sr("m"),Xa=sr("h"),Wo=sr("d"),mo=sr("w"),Zo=sr("M"),Ns=sr("Q"),Va=sr("y"),hc=Er;function Is(R){return function(){return this.isValid()?this._data[R]:NaN}}var ll=Is("milliseconds"),tr=Is("seconds"),Ir=Is("minutes"),kr=Is("hours"),Jr=Is("days"),Go=Is("months"),oa=Is("years");var vs=Math.round,fs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function aa(R,te,Ie,Pe,ft){return ft.relativeTime(te||1,!!Ie,R,Pe)}var Dl=Math.abs;function sc(R){return(R>0)-(R<0)||+R}function yc(){if(!this.isValid())return this.localeData().invalidDate();var Pe,ft,on,Gn,Pr,js,Sl,zc,R=Dl(this._milliseconds)/1e3,te=Dl(this._days),Ie=Dl(this._months),Vi=this.asSeconds();return Vi?(Pe=Pn(R/60),ft=Pn(Pe/60),R%=60,Pe%=60,on=Pn(Ie/12),Ie%=12,Gn=R?R.toFixed(3).replace(/\.?0+$/,""):"",Pr=Vi<0?"-":"",js=sc(this._months)!==sc(Vi)?"-":"",Sl=sc(this._days)!==sc(Vi)?"-":"",zc=sc(this._milliseconds)!==sc(Vi)?"-":"",Pr+"P"+(on?js+on+"Y":"")+(Ie?js+Ie+"M":"")+(te?Sl+te+"D":"")+(ft||Pe||R?"T":"")+(ft?zc+ft+"H":"")+(Pe?zc+Pe+"M":"")+(R?zc+Gn+"S":"")):"P0D"}var cs=Cs.prototype;return cs.isValid=function rl(){return this._isValid},cs.abs=function Xt(){var R=this._data;return this._milliseconds=It(this._milliseconds),this._days=It(this._days),this._months=It(this._months),R.milliseconds=It(R.milliseconds),R.seconds=It(R.seconds),R.minutes=It(R.minutes),R.hours=It(R.hours),R.months=It(R.months),R.years=It(R.years),this},cs.add=function ni(R,te){return Cn(this,R,te,1)},cs.subtract=function oi(R,te){return Cn(this,R,te,-1)},cs.as=function Tr(R){if(!this.isValid())return NaN;var te,Ie,Pe=this._milliseconds;if("month"===(R=ve(R))||"quarter"===R||"year"===R)switch(te=this._days+Pe/864e5,Ie=this._months+hi(te),R){case"month":return Ie;case"quarter":return Ie/3;case"year":return Ie/12}else switch(te=this._days+Math.round(wi(this._months)),R){case"week":return te/7+Pe/6048e5;case"day":return te+Pe/864e5;case"hour":return 24*te+Pe/36e5;case"minute":return 1440*te+Pe/6e4;case"second":return 86400*te+Pe/1e3;case"millisecond":return Math.floor(864e5*te)+Pe;default:throw new Error("Unknown unit "+R)}},cs.asMilliseconds=Er,cs.asSeconds=ms,cs.asMinutes=ao,cs.asHours=Xa,cs.asDays=Wo,cs.asWeeks=mo,cs.asMonths=Zo,cs.asQuarters=Ns,cs.asYears=Va,cs.valueOf=hc,cs._bubble=function Hi(){var ft,on,Gn,Vi,Pr,R=this._milliseconds,te=this._days,Ie=this._months,Pe=this._data;return R>=0&&te>=0&&Ie>=0||R<=0&&te<=0&&Ie<=0||(R+=864e5*Ei(wi(Ie)+te),te=0,Ie=0),Pe.milliseconds=R%1e3,ft=Pn(R/1e3),Pe.seconds=ft%60,on=Pn(ft/60),Pe.minutes=on%60,Gn=Pn(on/60),Pe.hours=Gn%24,te+=Pn(Gn/24),Ie+=Pr=Pn(hi(te)),te-=Ei(wi(Pr)),Vi=Pn(Ie/12),Ie%=12,Pe.days=te,Pe.months=Ie,Pe.years=Vi,this},cs.clone=function Ml(){return vl(this)},cs.get=function _o(R){return R=ve(R),this.isValid()?this[R+"s"]():NaN},cs.milliseconds=ll,cs.seconds=tr,cs.minutes=Ir,cs.hours=kr,cs.days=Jr,cs.weeks=function Hl(){return Pn(this.days()/7)},cs.months=Go,cs.years=oa,cs.humanize=function zl(R,te){if(!this.isValid())return this.localeData().invalidDate();var ft,on,Ie=!1,Pe=fs;return"object"==typeof R&&(te=R,R=!1),"boolean"==typeof R&&(Ie=R),"object"==typeof te&&(Pe=Object.assign({},fs,te),null!=te.s&&null==te.ss&&(Pe.ss=te.s-1)),on=function jl(R,te,Ie,Pe){var ft=vl(R).abs(),on=vs(ft.as("s")),Gn=vs(ft.as("m")),Vi=vs(ft.as("h")),Pr=vs(ft.as("d")),js=vs(ft.as("M")),Sl=vs(ft.as("w")),zc=vs(ft.as("y")),bc=on<=Ie.ss&&["s",on]||on0,bc[4]=Pe,aa.apply(null,bc)}(this,!Ie,Pe,ft=this.localeData()),Ie&&(on=ft.pastFuture(+this,on)),ft.postformat(on)},cs.toISOString=yc,cs.toString=yc,cs.toJSON=yc,cs.locale=Es,cs.localeData=Ka,cs.toIsoString=ye("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yc),cs.lang=Vl,mt("X",0,0,"unix"),mt("x",0,0,"valueOf"),Yt("x",bs),Yt("X",/[+-]?\d+(\.\d{1,3})?/),Bt("X",function(R,te,Ie){Ie._d=new Date(1e3*parseFloat(R))}),Bt("x",function(R,te,Ie){Ie._d=new Date(sn(R))}),t.version="2.30.1",function A(R){i=R}(Zt),t.fn=v,t.min=function Xs(){return ro("isBefore",[].slice.call(arguments,0))},t.max=function Jo(){return ro("isAfter",[].slice.call(arguments,0))},t.now=function(){return Date.now?Date.now():+new Date},t.utc=k,t.unix=function M(R){return Zt(1e3*R)},t.months=function Y(R,te){return q(R,te,"months")},t.isDate=F,t.locale=Js,t.invalid=Se,t.duration=vl,t.isMoment=ae,t.weekdays=function pe(R,te,Ie){return U(R,te,Ie,"weekdays")},t.parseZone=function W(){return Zt.apply(null,arguments).parseZone()},t.localeData=fa,t.isDuration=Rl,t.monthsShort=function ne(R,te){return q(R,te,"monthsShort")},t.weekdaysMin=function bt(R,te,Ie){return U(R,te,Ie,"weekdaysMin")},t.defineLocale=Ia,t.updateLocale=function xr(R,te){if(null!=te){var Ie,Pe,ft=Xr;null!=gr[R]&&null!=gr[R].parentLocale?gr[R].set(Je(gr[R]._config,te)):(null!=(Pe=Oo(R))&&(ft=Pe._config),te=Je(ft,te),null==Pe&&(te.abbr=R),(Ie=new tt(te)).parentLocale=gr[R],gr[R]=Ie),Js(R)}else null!=gr[R]&&(null!=gr[R].parentLocale?(gr[R]=gr[R].parentLocale,R===Js()&&Js(R)):null!=gr[R]&&delete gr[R]);return gr[R]},t.locales=function Kl(){return Qe(gr)},t.weekdaysShort=function Ve(R,te,Ie){return U(R,te,Ie,"weekdaysShort")},t.normalizeUnits=ve,t.relativeTimeRounding=function cl(R){return void 0===R?vs:"function"==typeof R&&(vs=R,!0)},t.relativeTimeThreshold=function qa(R,te){return void 0!==fs[R]&&(void 0===te?fs[R]:(fs[R]=te,"s"===R&&(fs.ss=te-1),!0))},t.calendarFormat=function Ut(R,te){var Ie=R.diff(te,"days",!0);return Ie<-6?"sameElse":Ie<-1?"lastWeek":Ie<0?"lastDay":Ie<1?"sameDay":Ie<2?"nextDay":Ie<7?"nextWeek":"sameElse"},t.prototype=v,t.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:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}()},6424:(lt,_e,m)=>{"use strict";m.d(_e,{X:()=>t});var i=m(8748);class t extends i.x{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const y=super._subscribe(a);return!y.closed&&a.next(this._value),y}getValue(){const{hasError:a,thrownError:y,_value:C}=this;if(a)throw y;return this._throwIfClosed(),C}next(a){super.next(this._value=a)}}},8132:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>N});var i=m(4676),t=m(902),A=m(9837),a=m(2222),y=m(9885),C=m(3649),b=m(1855);let N=(()=>{class H{constructor(P){P&&(this._subscribe=P)}lift(P){const X=new H;return X.source=this,X.operator=P,X}subscribe(P,X,me){const Oe=function x(H){return H&&H instanceof i.Lv||function F(H){return H&&(0,C.m)(H.next)&&(0,C.m)(H.error)&&(0,C.m)(H.complete)}(H)&&(0,t.Nn)(H)}(P)?P:new i.Hp(P,X,me);return(0,b.x)(()=>{const{operator:Se,source:wt}=this;Oe.add(Se?Se.call(Oe,wt):wt?this._subscribe(Oe):this._trySubscribe(Oe))}),Oe}_trySubscribe(P){try{return this._subscribe(P)}catch(X){P.error(X)}}forEach(P,X){return new(X=j(X))((me,Oe)=>{const Se=new i.Hp({next:wt=>{try{P(wt)}catch(K){Oe(K),Se.unsubscribe()}},error:Oe,complete:me});this.subscribe(Se)})}_subscribe(P){var X;return null===(X=this.source)||void 0===X?void 0:X.subscribe(P)}[A.L](){return this}pipe(...P){return(0,a.U)(P)(this)}toPromise(P){return new(P=j(P))((X,me)=>{let Oe;this.subscribe(Se=>Oe=Se,Se=>me(Se),()=>X(Oe))})}}return H.create=k=>new H(k),H})();function j(H){var k;return null!==(k=H??y.config.Promise)&&void 0!==k?k:Promise}},8748:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>b});var i=m(8132),t=m(902);const a=(0,m(9046).d)(j=>function(){j(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var y=m(801),C=m(1855);let b=(()=>{class j extends i.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(x){const H=new N(this,this);return H.operator=x,H}_throwIfClosed(){if(this.closed)throw new a}next(x){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const H of this.currentObservers)H.next(x)}})}error(x){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=x;const{observers:H}=this;for(;H.length;)H.shift().error(x)}})}complete(){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:x}=this;for(;x.length;)x.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var x;return(null===(x=this.observers)||void 0===x?void 0:x.length)>0}_trySubscribe(x){return this._throwIfClosed(),super._trySubscribe(x)}_subscribe(x){return this._throwIfClosed(),this._checkFinalizedStatuses(x),this._innerSubscribe(x)}_innerSubscribe(x){const{hasError:H,isStopped:k,observers:P}=this;return H||k?t.Lc:(this.currentObservers=null,P.push(x),new t.w0(()=>{this.currentObservers=null,(0,y.P)(P,x)}))}_checkFinalizedStatuses(x){const{hasError:H,thrownError:k,isStopped:P}=this;H?x.error(k):P&&x.complete()}asObservable(){const x=new i.y;return x.source=this,x}}return j.create=(F,x)=>new N(F,x),j})();class N extends b{constructor(F,x){super(),this.destination=F,this.source=x}next(F){var x,H;null===(H=null===(x=this.destination)||void 0===x?void 0:x.next)||void 0===H||H.call(x,F)}error(F){var x,H;null===(H=null===(x=this.destination)||void 0===x?void 0:x.error)||void 0===H||H.call(x,F)}complete(){var F,x;null===(x=null===(F=this.destination)||void 0===F?void 0:F.complete)||void 0===x||x.call(F)}_subscribe(F){var x,H;return null!==(H=null===(x=this.source)||void 0===x?void 0:x.subscribe(F))&&void 0!==H?H:t.Lc}}},4676:(lt,_e,m)=>{"use strict";m.d(_e,{Hp:()=>me,Lv:()=>H});var i=m(3649),t=m(902),A=m(9885),a=m(9102),y=m(6811);const C=j("C",void 0,void 0);function j(V,J,ae){return{kind:V,value:J,error:ae}}var F=m(3112),x=m(1855);class H extends t.w0{constructor(J){super(),this.isStopped=!1,J?(this.destination=J,(0,t.Nn)(J)&&J.add(this)):this.destination=K}static create(J,ae,oe){return new me(J,ae,oe)}next(J){this.isStopped?wt(function N(V){return j("N",V,void 0)}(J),this):this._next(J)}error(J){this.isStopped?wt(function b(V){return j("E",void 0,V)}(J),this):(this.isStopped=!0,this._error(J))}complete(){this.isStopped?wt(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(J){this.destination.next(J)}_error(J){try{this.destination.error(J)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k=Function.prototype.bind;function P(V,J){return k.call(V,J)}class X{constructor(J){this.partialObserver=J}next(J){const{partialObserver:ae}=this;if(ae.next)try{ae.next(J)}catch(oe){Oe(oe)}}error(J){const{partialObserver:ae}=this;if(ae.error)try{ae.error(J)}catch(oe){Oe(oe)}else Oe(J)}complete(){const{partialObserver:J}=this;if(J.complete)try{J.complete()}catch(ae){Oe(ae)}}}class me extends H{constructor(J,ae,oe){let ye;if(super(),(0,i.m)(J)||!J)ye={next:J??void 0,error:ae??void 0,complete:oe??void 0};else{let Ee;this&&A.config.useDeprecatedNextContext?(Ee=Object.create(J),Ee.unsubscribe=()=>this.unsubscribe(),ye={next:J.next&&P(J.next,Ee),error:J.error&&P(J.error,Ee),complete:J.complete&&P(J.complete,Ee)}):ye=J}this.destination=new X(ye)}}function Oe(V){A.config.useDeprecatedSynchronousErrorHandling?(0,x.O)(V):(0,a.h)(V)}function wt(V,J){const{onStoppedNotification:ae}=A.config;ae&&F.z.setTimeout(()=>ae(V,J))}const K={closed:!0,next:y.Z,error:function Se(V){throw V},complete:y.Z}},902:(lt,_e,m)=>{"use strict";m.d(_e,{Lc:()=>C,w0:()=>y,Nn:()=>b});var i=m(3649);const A=(0,m(9046).d)(j=>function(x){j(this),this.message=x?`${x.length} errors occurred during unsubscription:\n${x.map((H,k)=>`${k+1}) ${H.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=x});var a=m(801);class y{constructor(F){this.initialTeardown=F,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let F;if(!this.closed){this.closed=!0;const{_parentage:x}=this;if(x)if(this._parentage=null,Array.isArray(x))for(const P of x)P.remove(this);else x.remove(this);const{initialTeardown:H}=this;if((0,i.m)(H))try{H()}catch(P){F=P instanceof A?P.errors:[P]}const{_finalizers:k}=this;if(k){this._finalizers=null;for(const P of k)try{N(P)}catch(X){F=F??[],X instanceof A?F=[...F,...X.errors]:F.push(X)}}if(F)throw new A(F)}}add(F){var x;if(F&&F!==this)if(this.closed)N(F);else{if(F instanceof y){if(F.closed||F._hasParent(this))return;F._addParent(this)}(this._finalizers=null!==(x=this._finalizers)&&void 0!==x?x:[]).push(F)}}_hasParent(F){const{_parentage:x}=this;return x===F||Array.isArray(x)&&x.includes(F)}_addParent(F){const{_parentage:x}=this;this._parentage=Array.isArray(x)?(x.push(F),x):x?[x,F]:F}_removeParent(F){const{_parentage:x}=this;x===F?this._parentage=null:Array.isArray(x)&&(0,a.P)(x,F)}remove(F){const{_finalizers:x}=this;x&&(0,a.P)(x,F),F instanceof y&&F._removeParent(this)}}y.EMPTY=(()=>{const j=new y;return j.closed=!0,j})();const C=y.EMPTY;function b(j){return j instanceof y||j&&"closed"in j&&(0,i.m)(j.remove)&&(0,i.m)(j.add)&&(0,i.m)(j.unsubscribe)}function N(j){(0,i.m)(j)?j():j.unsubscribe()}},9885:(lt,_e,m)=>{"use strict";m.d(_e,{config:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5623:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>y});var i=m(2605),A=m(8197),a=m(3489);function y(...C){return function t(){return(0,i.J)(1)}()((0,a.D)(C,(0,A.yG)(C)))}},3562:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>A});var i=m(8132),t=m(6974);function A(a){return new i.y(y=>{(0,t.Xf)(a()).subscribe(y)})}},453:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>t});const t=new(m(8132).y)(y=>y.complete())},3489:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>oe});var i=m(6974),t=m(3224),A=m(6142),a=m(134);function y(ye,Ee=0){return(0,A.e)((Ge,gt)=>{Ge.subscribe((0,a.x)(gt,Ze=>(0,t.f)(gt,ye,()=>gt.next(Ze),Ee),()=>(0,t.f)(gt,ye,()=>gt.complete(),Ee),Ze=>(0,t.f)(gt,ye,()=>gt.error(Ze),Ee)))})}function C(ye,Ee=0){return(0,A.e)((Ge,gt)=>{gt.add(ye.schedule(()=>Ge.subscribe(gt),Ee))})}var j=m(8132),x=m(6818),H=m(3649);function P(ye,Ee){if(!ye)throw new Error("Iterable cannot be null");return new j.y(Ge=>{(0,t.f)(Ge,Ee,()=>{const gt=ye[Symbol.asyncIterator]();(0,t.f)(Ge,Ee,()=>{gt.next().then(Ze=>{Ze.done?Ge.complete():Ge.next(Ze.value)})},0,!0)})})}var X=m(8040),me=m(3913),Oe=m(3234),Se=m(8926),wt=m(3525),K=m(369),V=m(5994);function oe(ye,Ee){return Ee?function ae(ye,Ee){if(null!=ye){if((0,X.c)(ye))return function b(ye,Ee){return(0,i.Xf)(ye).pipe(C(Ee),y(Ee))}(ye,Ee);if((0,Oe.z)(ye))return function F(ye,Ee){return new j.y(Ge=>{let gt=0;return Ee.schedule(function(){gt===ye.length?Ge.complete():(Ge.next(ye[gt++]),Ge.closed||this.schedule())})})}(ye,Ee);if((0,me.t)(ye))return function N(ye,Ee){return(0,i.Xf)(ye).pipe(C(Ee),y(Ee))}(ye,Ee);if((0,wt.D)(ye))return P(ye,Ee);if((0,Se.T)(ye))return function k(ye,Ee){return new j.y(Ge=>{let gt;return(0,t.f)(Ge,Ee,()=>{gt=ye[x.h](),(0,t.f)(Ge,Ee,()=>{let Ze,Je;try{({value:Ze,done:Je}=gt.next())}catch(tt){return void Ge.error(tt)}Je?Ge.complete():Ge.next(Ze)},0,!0)}),()=>(0,H.m)(gt?.return)&>.return()})}(ye,Ee);if((0,V.L)(ye))return function J(ye,Ee){return P((0,V.Q)(ye),Ee)}(ye,Ee)}throw(0,K.z)(ye)}(ye,Ee):(0,i.Xf)(ye)}},409:(lt,_e,m)=>{"use strict";m.d(_e,{R:()=>F});var i=m(6974),t=m(8132),A=m(9342),a=m(3234),y=m(3649),C=m(5993);const b=["addListener","removeListener"],N=["addEventListener","removeEventListener"],j=["on","off"];function F(X,me,Oe,Se){if((0,y.m)(Oe)&&(Se=Oe,Oe=void 0),Se)return F(X,me,Oe).pipe((0,C.Z)(Se));const[wt,K]=function P(X){return(0,y.m)(X.addEventListener)&&(0,y.m)(X.removeEventListener)}(X)?N.map(V=>J=>X[V](me,J,Oe)):function H(X){return(0,y.m)(X.addListener)&&(0,y.m)(X.removeListener)}(X)?b.map(x(X,me)):function k(X){return(0,y.m)(X.on)&&(0,y.m)(X.off)}(X)?j.map(x(X,me)):[];if(!wt&&(0,a.z)(X))return(0,A.z)(V=>F(V,me,Oe))((0,i.Xf)(X));if(!wt)throw new TypeError("Invalid event target");return new t.y(V=>{const J=(...ae)=>V.next(1K(J)})}function x(X,me){return Oe=>Se=>X[Oe](me,Se)}},6974:(lt,_e,m)=>{"use strict";m.d(_e,{Xf:()=>k});var i=m(4911),t=m(3234),A=m(3913),a=m(8132),y=m(8040),C=m(3525),b=m(369),N=m(8926),j=m(5994),F=m(3649),x=m(9102),H=m(9837);function k(V){if(V instanceof a.y)return V;if(null!=V){if((0,y.c)(V))return function P(V){return new a.y(J=>{const ae=V[H.L]();if((0,F.m)(ae.subscribe))return ae.subscribe(J);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(V);if((0,t.z)(V))return function X(V){return new a.y(J=>{for(let ae=0;ae{V.then(ae=>{J.closed||(J.next(ae),J.complete())},ae=>J.error(ae)).then(null,x.h)})}(V);if((0,C.D)(V))return Se(V);if((0,N.T)(V))return function Oe(V){return new a.y(J=>{for(const ae of V)if(J.next(ae),J.closed)return;J.complete()})}(V);if((0,j.L)(V))return function wt(V){return Se((0,j.Q)(V))}(V)}throw(0,b.z)(V)}function Se(V){return new a.y(J=>{(function K(V,J){var ae,oe,ye,Ee;return(0,i.mG)(this,void 0,void 0,function*(){try{for(ae=(0,i.KL)(V);!(oe=yield ae.next()).done;)if(J.next(oe.value),J.closed)return}catch(Ge){ye={error:Ge}}finally{try{oe&&!oe.done&&(Ee=ae.return)&&(yield Ee.call(ae))}finally{if(ye)throw ye.error}}J.complete()})})(V,J).catch(ae=>J.error(ae))})}},5047:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>C});var i=m(2605),t=m(6974),A=m(453),a=m(8197),y=m(3489);function C(...b){const N=(0,a.yG)(b),j=(0,a._6)(b,1/0),F=b;return F.length?1===F.length?(0,t.Xf)(F[0]):(0,i.J)(j)((0,y.D)(F,N)):A.E}},1209:(lt,_e,m)=>{"use strict";m.d(_e,{of:()=>A});var i=m(8197),t=m(3489);function A(...a){const y=(0,i.yG)(a);return(0,t.D)(a,y)}},1960:(lt,_e,m)=>{"use strict";m.d(_e,{_:()=>A});var i=m(8132),t=m(3649);function A(a,y){const C=(0,t.m)(a)?a:()=>a,b=N=>N.error(C());return new i.y(y?N=>y.schedule(b,0,N):b)}},1925:(lt,_e,m)=>{"use strict";m.d(_e,{H:()=>y});var i=m(8132),t=m(8634),A=m(6943);function y(C=0,b,N=t.P){let j=-1;return null!=b&&((0,A.K)(b)?N=b:j=b),new i.y(F=>{let x=function a(C){return C instanceof Date&&!isNaN(C)}(C)?+C-N.now():C;x<0&&(x=0);let H=0;return N.schedule(function(){F.closed||(F.next(H++),0<=j?this.schedule(void 0,j):F.complete())},x)})}},134:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>t});var i=m(4676);function t(a,y,C,b,N){return new A(a,y,C,b,N)}class A extends i.Lv{constructor(y,C,b,N,j,F){super(y),this.onFinalize=j,this.shouldUnsubscribe=F,this._next=C?function(x){try{C(x)}catch(H){y.error(H)}}:super._next,this._error=N?function(x){try{N(x)}catch(H){y.error(H)}finally{this.unsubscribe()}}:super._error,this._complete=b?function(){try{b()}catch(x){y.error(x)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var y;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(y=this.onFinalize)||void 0===y||y.call(this))}}}},7560:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>a});var i=m(6974),t=m(134),A=m(6142);function a(y){return(0,A.e)((C,b)=>{let F,N=null,j=!1;N=C.subscribe((0,t.x)(b,void 0,void 0,x=>{F=(0,i.Xf)(y(x,a(y)(C))),N?(N.unsubscribe(),N=null,F.subscribe(b)):j=!0})),j&&(N.unsubscribe(),N=null,F.subscribe(b))})}},109:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>A});var i=m(9342),t=m(3649);function A(a,y){return(0,t.m)(y)?(0,i.z)(a,y,1):(0,i.z)(a,1)}},407:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>A});var i=m(6142),t=m(134);function A(a){return(0,i.e)((y,C)=>{let b=!1;y.subscribe((0,t.x)(C,N=>{b=!0,C.next(N)},()=>{b||C.next(a),C.complete()}))})}},4893:(lt,_e,m)=>{"use strict";m.d(_e,{g:()=>k});var i=m(8634),t=m(5623),A=m(1813),a=m(6142),y=m(134),C=m(6811),N=m(7376),j=m(9342),F=m(6974);function x(P,X){return X?me=>(0,t.z)(X.pipe((0,A.q)(1),function b(){return(0,a.e)((P,X)=>{P.subscribe((0,y.x)(X,C.Z))})}()),me.pipe(x(P))):(0,j.z)((me,Oe)=>(0,F.Xf)(P(me,Oe)).pipe((0,A.q)(1),(0,N.h)(me)))}var H=m(1925);function k(P,X=i.z){const me=(0,H.H)(P,X);return x(()=>me)}},8004:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>a});var i=m(9401),t=m(6142),A=m(134);function a(C,b=i.y){return C=C??y,(0,t.e)((N,j)=>{let F,x=!0;N.subscribe((0,A.x)(j,H=>{const k=b(H);(x||!C(F,k))&&(x=!1,F=k,j.next(H))}))})}function y(C,b){return C===b}},5333:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>A});var i=m(6142),t=m(134);function A(a,y){return(0,i.e)((C,b)=>{let N=0;C.subscribe((0,t.x)(b,j=>a.call(y,j,N++)&&b.next(j)))})}},6293:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>t});var i=m(6142);function t(A){return(0,i.e)((a,y)=>{try{a.subscribe(y)}finally{y.add(A)}})}},6121:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>b});var i=m(7998),t=m(5333),A=m(1813),a=m(407),y=m(6261),C=m(9401);function b(N,j){const F=arguments.length>=2;return x=>x.pipe(N?(0,t.h)((H,k)=>N(H,k,x)):C.y,(0,A.q)(1),F?(0,a.d)(j):(0,y.T)(()=>new i.K))}},2425:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>A});var i=m(6142),t=m(134);function A(a,y){return(0,i.e)((C,b)=>{let N=0;C.subscribe((0,t.x)(b,j=>{b.next(a.call(y,j,N++))}))})}},7376:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>t});var i=m(2425);function t(A){return(0,i.U)(()=>A)}},2605:(lt,_e,m)=>{"use strict";m.d(_e,{J:()=>A});var i=m(9342),t=m(9401);function A(a=1/0){return(0,i.z)(t.y,a)}},5116:(lt,_e,m)=>{"use strict";m.d(_e,{p:()=>a});var i=m(6974),t=m(3224),A=m(134);function a(y,C,b,N,j,F,x,H){const k=[];let P=0,X=0,me=!1;const Oe=()=>{me&&!k.length&&!P&&C.complete()},Se=K=>P{F&&C.next(K),P++;let V=!1;(0,i.Xf)(b(K,X++)).subscribe((0,A.x)(C,J=>{j?.(J),F?Se(J):C.next(J)},()=>{V=!0},void 0,()=>{if(V)try{for(P--;k.length&&Pwt(J)):wt(J)}Oe()}catch(J){C.error(J)}}))};return y.subscribe((0,A.x)(C,Se,()=>{me=!0,Oe()})),()=>{H?.()}}},9342:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>C});var i=m(2425),t=m(6974),A=m(6142),a=m(5116),y=m(3649);function C(b,N,j=1/0){return(0,y.m)(N)?C((F,x)=>(0,i.U)((H,k)=>N(F,H,x,k))((0,t.Xf)(b(F,x))),j):("number"==typeof N&&(j=N),(0,A.e)((F,x)=>(0,a.p)(F,x,b,j)))}},8557:(lt,_e,m)=>{"use strict";m.d(_e,{B:()=>y});var i=m(6974),t=m(8748),A=m(4676),a=m(6142);function y(b={}){const{connector:N=(()=>new t.x),resetOnError:j=!0,resetOnComplete:F=!0,resetOnRefCountZero:x=!0}=b;return H=>{let k,P,X,me=0,Oe=!1,Se=!1;const wt=()=>{P?.unsubscribe(),P=void 0},K=()=>{wt(),k=X=void 0,Oe=Se=!1},V=()=>{const J=k;K(),J?.unsubscribe()};return(0,a.e)((J,ae)=>{me++,!Se&&!Oe&&wt();const oe=X=X??N();ae.add(()=>{me--,0===me&&!Se&&!Oe&&(P=C(V,x))}),oe.subscribe(ae),!k&&me>0&&(k=new A.Hp({next:ye=>oe.next(ye),error:ye=>{Se=!0,wt(),P=C(K,j,ye),oe.error(ye)},complete:()=>{Oe=!0,wt(),P=C(K,F),oe.complete()}}),(0,i.Xf)(J).subscribe(k))})(H)}}function C(b,N,...j){if(!0===N)return void b();if(!1===N)return;const F=new A.Hp({next:()=>{F.unsubscribe(),b()}});return(0,i.Xf)(N(...j)).subscribe(F)}},9414:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>y});var i=m(8748),t=m(6406);class A extends i.x{constructor(b=1/0,N=1/0,j=t.l){super(),this._bufferSize=b,this._windowTime=N,this._timestampProvider=j,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=N===1/0,this._bufferSize=Math.max(1,b),this._windowTime=Math.max(1,N)}next(b){const{isStopped:N,_buffer:j,_infiniteTimeWindow:F,_timestampProvider:x,_windowTime:H}=this;N||(j.push(b),!F&&j.push(x.now()+H)),this._trimBuffer(),super.next(b)}_subscribe(b){this._throwIfClosed(),this._trimBuffer();const N=this._innerSubscribe(b),{_infiniteTimeWindow:j,_buffer:F}=this,x=F.slice();for(let H=0;Hnew A(j,b,N),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:F})}},3843:(lt,_e,m)=>{"use strict";m.d(_e,{O:()=>a});var i=m(5623),t=m(8197),A=m(6142);function a(...y){const C=(0,t.yG)(y);return(0,A.e)((b,N)=>{(C?(0,i.z)(y,b,C):(0,i.z)(y,b)).subscribe(N)})}},4787:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>a});var i=m(6974),t=m(6142),A=m(134);function a(y,C){return(0,t.e)((b,N)=>{let j=null,F=0,x=!1;const H=()=>x&&!j&&N.complete();b.subscribe((0,A.x)(N,k=>{j?.unsubscribe();let P=0;const X=F++;(0,i.Xf)(y(k,X)).subscribe(j=(0,A.x)(N,me=>N.next(C?C(k,me,X,P++):me),()=>{j=null,H()}))},()=>{x=!0,H()}))})}},1813:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>a});var i=m(453),t=m(6142),A=m(134);function a(y){return y<=0?()=>i.E:(0,t.e)((C,b)=>{let N=0;C.subscribe((0,A.x)(b,j=>{++N<=y&&(b.next(j),y<=N&&b.complete())}))})}},1749:(lt,_e,m)=>{"use strict";m.d(_e,{R:()=>y});var i=m(6142),t=m(134),A=m(6974),a=m(6811);function y(C){return(0,i.e)((b,N)=>{(0,A.Xf)(C).subscribe((0,t.x)(N,()=>N.complete(),a.Z)),!N.closed&&b.subscribe(N)})}},1570:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>y});var i=m(3649),t=m(6142),A=m(134),a=m(9401);function y(C,b,N){const j=(0,i.m)(C)||b||N?{next:C,error:b,complete:N}:C;return j?(0,t.e)((F,x)=>{var H;null===(H=j.subscribe)||void 0===H||H.call(j);let k=!0;F.subscribe((0,A.x)(x,P=>{var X;null===(X=j.next)||void 0===X||X.call(j,P),x.next(P)},()=>{var P;k=!1,null===(P=j.complete)||void 0===P||P.call(j),x.complete()},P=>{var X;k=!1,null===(X=j.error)||void 0===X||X.call(j,P),x.error(P)},()=>{var P,X;k&&(null===(P=j.unsubscribe)||void 0===P||P.call(j)),null===(X=j.finalize)||void 0===X||X.call(j)}))}):a.y}},6261:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>a});var i=m(7998),t=m(6142),A=m(134);function a(C=y){return(0,t.e)((b,N)=>{let j=!1;b.subscribe((0,A.x)(N,F=>{j=!0,N.next(F)},()=>j?N.complete():N.error(C())))})}function y(){return new i.K}},54:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>y});var i=m(902);class t extends i.w0{constructor(b,N){super()}schedule(b,N=0){return this}}const A={setInterval(C,b,...N){const{delegate:j}=A;return j?.setInterval?j.setInterval(C,b,...N):setInterval(C,b,...N)},clearInterval(C){const{delegate:b}=A;return(b?.clearInterval||clearInterval)(C)},delegate:void 0};var a=m(801);class y extends t{constructor(b,N){super(b,N),this.scheduler=b,this.work=N,this.pending=!1}schedule(b,N=0){var j;if(this.closed)return this;this.state=b;const F=this.id,x=this.scheduler;return null!=F&&(this.id=this.recycleAsyncId(x,F,N)),this.pending=!0,this.delay=N,this.id=null!==(j=this.id)&&void 0!==j?j:this.requestAsyncId(x,this.id,N),this}requestAsyncId(b,N,j=0){return A.setInterval(b.flush.bind(b,this),j)}recycleAsyncId(b,N,j=0){if(null!=j&&this.delay===j&&!1===this.pending)return N;null!=N&&A.clearInterval(N)}execute(b,N){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const j=this._execute(b,N);if(j)return j;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(b,N){let F,j=!1;try{this.work(b)}catch(x){j=!0,F=x||new Error("Scheduled action threw falsy error")}if(j)return this.unsubscribe(),F}unsubscribe(){if(!this.closed){const{id:b,scheduler:N}=this,{actions:j}=N;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.P)(j,this),null!=b&&(this.id=this.recycleAsyncId(N,b,null)),this.delay=null,super.unsubscribe()}}}},5804:(lt,_e,m)=>{"use strict";m.d(_e,{v:()=>A});var i=m(6406);class t{constructor(y,C=t.now){this.schedulerActionCtor=y,this.now=C}schedule(y,C=0,b){return new this.schedulerActionCtor(this,y).schedule(b,C)}}t.now=i.l.now;class A extends t{constructor(y,C=t.now){super(y,C),this.actions=[],this._active=!1}flush(y){const{actions:C}=this;if(this._active)return void C.push(y);let b;this._active=!0;do{if(b=y.execute(y.state,y.delay))break}while(y=C.shift());if(this._active=!1,b){for(;y=C.shift();)y.unsubscribe();throw b}}}},8634:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>a,z:()=>A});var i=m(54);const A=new(m(5804).v)(i.o),a=A},6406:(lt,_e,m)=>{"use strict";m.d(_e,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},3112:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>i});const i={setTimeout(t,A,...a){const{delegate:y}=i;return y?.setTimeout?y.setTimeout(t,A,...a):setTimeout(t,A,...a)},clearTimeout(t){const{delegate:A}=i;return(A?.clearTimeout||clearTimeout)(t)},delegate:void 0}},6818:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>t});const t=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},9837:(lt,_e,m)=>{"use strict";m.d(_e,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},7998:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>t});const t=(0,m(9046).d)(A=>function(){A(this),this.name="EmptyError",this.message="no elements in sequence"})},8197:(lt,_e,m)=>{"use strict";m.d(_e,{_6:()=>C,jO:()=>a,yG:()=>y});var i=m(3649),t=m(6943);function A(b){return b[b.length-1]}function a(b){return(0,i.m)(A(b))?b.pop():void 0}function y(b){return(0,t.K)(A(b))?b.pop():void 0}function C(b,N){return"number"==typeof A(b)?b.pop():N}},6632:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>y});const{isArray:i}=Array,{getPrototypeOf:t,prototype:A,keys:a}=Object;function y(b){if(1===b.length){const N=b[0];if(i(N))return{args:N,keys:null};if(function C(b){return b&&"object"==typeof b&&t(b)===A}(N)){const j=a(N);return{args:j.map(F=>N[F]),keys:j}}}return{args:b,keys:null}}},801:(lt,_e,m)=>{"use strict";function i(t,A){if(t){const a=t.indexOf(A);0<=a&&t.splice(a,1)}}m.d(_e,{P:()=>i})},9046:(lt,_e,m)=>{"use strict";function i(t){const a=t(y=>{Error.call(y),y.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}m.d(_e,{d:()=>i})},2713:(lt,_e,m)=>{"use strict";function i(t,A){return t.reduce((a,y,C)=>(a[y]=A[C],a),{})}m.d(_e,{n:()=>i})},1855:(lt,_e,m)=>{"use strict";m.d(_e,{O:()=>a,x:()=>A});var i=m(9885);let t=null;function A(y){if(i.config.useDeprecatedSynchronousErrorHandling){const C=!t;if(C&&(t={errorThrown:!1,error:null}),y(),C){const{errorThrown:b,error:N}=t;if(t=null,b)throw N}}else y()}function a(y){i.config.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=y)}},3224:(lt,_e,m)=>{"use strict";function i(t,A,a,y=0,C=!1){const b=A.schedule(function(){a(),C?t.add(this.schedule(null,y)):this.unsubscribe()},y);if(t.add(b),!C)return b}m.d(_e,{f:()=>i})},9401:(lt,_e,m)=>{"use strict";function i(t){return t}m.d(_e,{y:()=>i})},3234:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},3525:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>t});var i=m(3649);function t(A){return Symbol.asyncIterator&&(0,i.m)(A?.[Symbol.asyncIterator])}},3649:(lt,_e,m)=>{"use strict";function i(t){return"function"==typeof t}m.d(_e,{m:()=>i})},8040:(lt,_e,m)=>{"use strict";m.d(_e,{c:()=>A});var i=m(9837),t=m(3649);function A(a){return(0,t.m)(a[i.L])}},8926:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>A});var i=m(6818),t=m(3649);function A(a){return(0,t.m)(a?.[i.h])}},3913:(lt,_e,m)=>{"use strict";m.d(_e,{t:()=>t});var i=m(3649);function t(A){return(0,i.m)(A?.then)}},5994:(lt,_e,m)=>{"use strict";m.d(_e,{L:()=>a,Q:()=>A});var i=m(4911),t=m(3649);function A(y){return(0,i.FC)(this,arguments,function*(){const b=y.getReader();try{for(;;){const{value:N,done:j}=yield(0,i.qq)(b.read());if(j)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(N)}}finally{b.releaseLock()}})}function a(y){return(0,t.m)(y?.getReader)}},6943:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>t});var i=m(3649);function t(A){return A&&(0,i.m)(A.schedule)}},6142:(lt,_e,m)=>{"use strict";m.d(_e,{A:()=>t,e:()=>A});var i=m(3649);function t(a){return(0,i.m)(a?.lift)}function A(a){return y=>{if(t(y))return y.lift(function(C){try{return a(C,this)}catch(b){this.error(b)}});throw new TypeError("Unable to lift unknown Observable type")}}},5993:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>a});var i=m(2425);const{isArray:t}=Array;function a(y){return(0,i.U)(C=>function A(y,C){return t(C)?y(...C):y(C)}(y,C))}},6811:(lt,_e,m)=>{"use strict";function i(){}m.d(_e,{Z:()=>i})},2222:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>A,z:()=>t});var i=m(9401);function t(...a){return A(a)}function A(a){return 0===a.length?i.y:1===a.length?a[0]:function(C){return a.reduce((b,N)=>N(b),C)}}},9102:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>A});var i=m(9885),t=m(3112);function A(a){t.z.setTimeout(()=>{const{onUnhandledError:y}=i.config;if(!y)throw a;y(a)})}},369:(lt,_e,m)=>{"use strict";function i(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}m.d(_e,{z:()=>i})},9927:(lt,_e)=>{"use strict";var i=function(){function t(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}return t.hashStr=function(A,a){return void 0===a&&(a=!1),this.onePassHasher.start().appendStr(A).end(a)},t.hashAsciiStr=function(A,a){return void 0===a&&(a=!1),this.onePassHasher.start().appendAsciiStr(A).end(a)},t._hex=function(A){var C,b,N,j,a=t.hexChars,y=t.hexOut;for(j=0;j<4;j+=1)for(b=8*j,C=A[j],N=0;N<8;N+=2)y[b+1+N]=a.charAt(15&C),y[b+0+N]=a.charAt(15&(C>>>=4)),C>>>=4;return y.join("")},t._md5cycle=function(A,a){var y=A[0],C=A[1],b=A[2],N=A[3];C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&b|~C&N)+a[0]-680876936|0)<<7|y>>>25)+C|0)&C|~y&b)+a[1]-389564586|0)<<12|N>>>20)+y|0)&y|~N&C)+a[2]+606105819|0)<<17|b>>>15)+N|0)&N|~b&y)+a[3]-1044525330|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&b|~C&N)+a[4]-176418897|0)<<7|y>>>25)+C|0)&C|~y&b)+a[5]+1200080426|0)<<12|N>>>20)+y|0)&y|~N&C)+a[6]-1473231341|0)<<17|b>>>15)+N|0)&N|~b&y)+a[7]-45705983|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&b|~C&N)+a[8]+1770035416|0)<<7|y>>>25)+C|0)&C|~y&b)+a[9]-1958414417|0)<<12|N>>>20)+y|0)&y|~N&C)+a[10]-42063|0)<<17|b>>>15)+N|0)&N|~b&y)+a[11]-1990404162|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&b|~C&N)+a[12]+1804603682|0)<<7|y>>>25)+C|0)&C|~y&b)+a[13]-40341101|0)<<12|N>>>20)+y|0)&y|~N&C)+a[14]-1502002290|0)<<17|b>>>15)+N|0)&N|~b&y)+a[15]+1236535329|0)<<22|C>>>10)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&N|b&~N)+a[1]-165796510|0)<<5|y>>>27)+C|0)&b|C&~b)+a[6]-1069501632|0)<<9|N>>>23)+y|0)&C|y&~C)+a[11]+643717713|0)<<14|b>>>18)+N|0)&y|N&~y)+a[0]-373897302|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&N|b&~N)+a[5]-701558691|0)<<5|y>>>27)+C|0)&b|C&~b)+a[10]+38016083|0)<<9|N>>>23)+y|0)&C|y&~C)+a[15]-660478335|0)<<14|b>>>18)+N|0)&y|N&~y)+a[4]-405537848|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&N|b&~N)+a[9]+568446438|0)<<5|y>>>27)+C|0)&b|C&~b)+a[14]-1019803690|0)<<9|N>>>23)+y|0)&C|y&~C)+a[3]-187363961|0)<<14|b>>>18)+N|0)&y|N&~y)+a[8]+1163531501|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C&N|b&~N)+a[13]-1444681467|0)<<5|y>>>27)+C|0)&b|C&~b)+a[2]-51403784|0)<<9|N>>>23)+y|0)&C|y&~C)+a[7]+1735328473|0)<<14|b>>>18)+N|0)&y|N&~y)+a[12]-1926607734|0)<<20|C>>>12)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C^b^N)+a[5]-378558|0)<<4|y>>>28)+C|0)^C^b)+a[8]-2022574463|0)<<11|N>>>21)+y|0)^y^C)+a[11]+1839030562|0)<<16|b>>>16)+N|0)^N^y)+a[14]-35309556|0)<<23|C>>>9)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C^b^N)+a[1]-1530992060|0)<<4|y>>>28)+C|0)^C^b)+a[4]+1272893353|0)<<11|N>>>21)+y|0)^y^C)+a[7]-155497632|0)<<16|b>>>16)+N|0)^N^y)+a[10]-1094730640|0)<<23|C>>>9)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C^b^N)+a[13]+681279174|0)<<4|y>>>28)+C|0)^C^b)+a[0]-358537222|0)<<11|N>>>21)+y|0)^y^C)+a[3]-722521979|0)<<16|b>>>16)+N|0)^N^y)+a[6]+76029189|0)<<23|C>>>9)+b|0,C=((C+=((b=((b+=((N=((N+=((y=((y+=(C^b^N)+a[9]-640364487|0)<<4|y>>>28)+C|0)^C^b)+a[12]-421815835|0)<<11|N>>>21)+y|0)^y^C)+a[15]+530742520|0)<<16|b>>>16)+N|0)^N^y)+a[2]-995338651|0)<<23|C>>>9)+b|0,C=((C+=((N=((N+=(C^((y=((y+=(b^(C|~N))+a[0]-198630844|0)<<6|y>>>26)+C|0)|~b))+a[7]+1126891415|0)<<10|N>>>22)+y|0)^((b=((b+=(y^(N|~C))+a[14]-1416354905|0)<<15|b>>>17)+N|0)|~y))+a[5]-57434055|0)<<21|C>>>11)+b|0,C=((C+=((N=((N+=(C^((y=((y+=(b^(C|~N))+a[12]+1700485571|0)<<6|y>>>26)+C|0)|~b))+a[3]-1894986606|0)<<10|N>>>22)+y|0)^((b=((b+=(y^(N|~C))+a[10]-1051523|0)<<15|b>>>17)+N|0)|~y))+a[1]-2054922799|0)<<21|C>>>11)+b|0,C=((C+=((N=((N+=(C^((y=((y+=(b^(C|~N))+a[8]+1873313359|0)<<6|y>>>26)+C|0)|~b))+a[15]-30611744|0)<<10|N>>>22)+y|0)^((b=((b+=(y^(N|~C))+a[6]-1560198380|0)<<15|b>>>17)+N|0)|~y))+a[13]+1309151649|0)<<21|C>>>11)+b|0,C=((C+=((N=((N+=(C^((y=((y+=(b^(C|~N))+a[4]-145523070|0)<<6|y>>>26)+C|0)|~b))+a[11]-1120210379|0)<<10|N>>>22)+y|0)^((b=((b+=(y^(N|~C))+a[2]+718787259|0)<<15|b>>>17)+N|0)|~y))+a[9]-343485551|0)<<21|C>>>11)+b|0,A[0]=y+A[0]|0,A[1]=C+A[1]|0,A[2]=b+A[2]|0,A[3]=N+A[3]|0},t.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(t.stateIdentity),this},t.prototype.appendStr=function(A){var b,N,a=this._buffer8,y=this._buffer32,C=this._bufferLength;for(N=0;N>>6),a[C++]=63&b|128;else if(b<55296||b>56319)a[C++]=224+(b>>>12),a[C++]=b>>>6&63|128,a[C++]=63&b|128;else{if((b=1024*(b-55296)+(A.charCodeAt(++N)-56320)+65536)>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");a[C++]=240+(b>>>18),a[C++]=b>>>12&63|128,a[C++]=b>>>6&63|128,a[C++]=63&b|128}C>=64&&(this._dataLength+=64,t._md5cycle(this._state,y),C-=64,y[0]=y[16])}return this._bufferLength=C,this},t.prototype.appendAsciiStr=function(A){for(var b,a=this._buffer8,y=this._buffer32,C=this._bufferLength,N=0;;){for(b=Math.min(A.length-N,64-C);b--;)a[C++]=A.charCodeAt(N++);if(C<64)break;this._dataLength+=64,t._md5cycle(this._state,y),C=0}return this._bufferLength=C,this},t.prototype.appendByteArray=function(A){for(var b,a=this._buffer8,y=this._buffer32,C=this._bufferLength,N=0;;){for(b=Math.min(A.length-N,64-C);b--;)a[C++]=A[N++];if(C<64)break;this._dataLength+=64,t._md5cycle(this._state,y),C=0}return this._bufferLength=C,this},t.prototype.getState=function(){var A=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[A[0],A[1],A[2],A[3]]}},t.prototype.setState=function(A){var b,a=A.buffer,y=A.state,C=this._state;for(this._dataLength=A.length,this._bufferLength=A.buflen,C[0]=y[0],C[1]=y[1],C[2]=y[2],C[3]=y[3],b=0;b>2);this._dataLength+=a;var N=8*this._dataLength;if(y[a]=128,y[a+1]=y[a+2]=y[a+3]=0,C.set(t.buffer32Identity.subarray(b),b),a>55&&(t._md5cycle(this._state,C),C.set(t.buffer32Identity)),N<=4294967295)C[14]=N;else{var j=N.toString(16).match(/(.*?)(.{0,8})$/);if(null===j)return;var F=parseInt(j[2],16),x=parseInt(j[1],16)||0;C[14]=F,C[15]=x}return t._md5cycle(this._state,C),A?this._state:t._hex(this._state)},t.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),t.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.hexChars="0123456789abcdef",t.hexOut=[],t.onePassHasher=new t,t}();if(_e.V=i,"5d41402abc4b2a76b9719d911017c592"!==i.hashStr("hello"))throw new Error("Md5 self test failed.")},6401:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>Ot});var i=m(8239),t=m(755),A=m(5579),a=m(9084),y=m(2333),C=m(5545),b=m(1547),N=m(5908),j=m(2307),F=m(9193),x=m(9702),H=m(1508),k=m(2067),P=m(609);const X=["dialogs"];function me(ve,De){}function Oe(ve,De){1&ve&&(t.TgZ(0,"button",25),t._UZ(1,"span",26),t.qZA()),2&ve&&t.uIk("data-bs-toggle","collapse")("data-bs-target","#navbarSupportedContent")}function Se(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"div",31)(1,"button",32),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(3);return t.KtG(Kn.onRestoreClick(cn))}),t.TgZ(2,"span",33),t._UZ(3,"i"),t._uU(4),t.qZA()()()}if(2&ve){const xe=De.$implicit;t.xp6(3),t.Tol(xe.icon||"bi bi-window-stack"),t.xp6(1),t.hij(" ",xe.title||"Minimizado"," ")}}function wt(ve,De){if(1&ve&&(t.TgZ(0,"div",27),t._UZ(1,"div",28),t.TgZ(2,"div",29),t.YNc(3,Se,5,3,"div",30),t.qZA()()),2&ve){const xe=t.oxw(2);t.xp6(3),t.Q6J("ngForOf",xe.dialog.minimized)}}function K(ve,De){1&ve&&t._UZ(0,"div",28)}function V(ve,De){if(1&ve&&t._UZ(0,"i",44),2&ve){const xe=t.oxw().$implicit;t.Tol(xe.icon),t.s9C("title",xe.hint||xe.label||""),t.uIk("data-bs-toggle","tooltip")}}function J(ve,De){if(1&ve&&(t.TgZ(0,"button",45)(1,"span",46),t._uU(2,"Toggle Dropdown"),t.qZA()()),2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(4);t.Tol("btn dropdown-toggle dropdown-toggle-split "+(xe.color||"btn-outline-primary")),t.ekj("disabled",Ye.isButtonRunning(xe)),t.uIk("id",Ye.buttonId(xe))("data-bs-toggle","dropdown")}}function ae(ve,De){if(1&ve&&t._UZ(0,"i"),2&ve){const xe=t.oxw().$implicit;t.Tol(xe.icon)}}function oe(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li")(1,"a",49),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(6);return t.KtG(Kn.onToolbarButtonClick(cn))}),t.YNc(2,ae,1,2,"i",50),t._uU(3),t.qZA()()}if(2&ve){const xe=De.$implicit;t.xp6(2),t.Q6J("ngIf",null==xe.icon?null:xe.icon.length),t.xp6(1),t.hij(" ",xe.label||""," ")}}function ye(ve,De){if(1&ve&&(t.TgZ(0,"ul",47),t.YNc(1,oe,4,2,"li",48),t.qZA()),2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(4);t.ekj("dropdown-menu-end",xe.onClick),t.uIk("aria-labelledby",Ye.buttonId(xe)),t.xp6(1),t.Q6J("ngForOf",xe.items)}}function Ee(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"div",31)(1,"button",40),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(4);return t.KtG(Kn.onToolbarButtonClick(cn))}),t.YNc(2,V,1,4,"i",41),t._uU(3),t.qZA(),t.YNc(4,J,3,6,"button",42),t.YNc(5,ye,2,4,"ul",43),t.qZA()}if(2&ve){const xe=De.$implicit,Ye=t.oxw(4);t.xp6(1),t.Tol("btn "+(xe.color||"btn-outline-primary")),t.ekj("disabled",Ye.isButtonRunning(xe))("dropdown-toggle",xe.items&&!xe.onClick),t.uIk("id",(xe.onClick?"_":"")+Ye.buttonId(xe))("data-bs-toggle",xe.items&&!xe.onClick?"dropdown":void 0),t.xp6(1),t.Q6J("ngIf",null==xe.icon?null:xe.icon.length),t.xp6(1),t.hij(" ",xe.label||""," "),t.xp6(1),t.Q6J("ngIf",(null==xe.items?null:xe.items.length)&&xe.onClick),t.xp6(1),t.Q6J("ngIf",xe.items)}}function Ge(ve,De){if(1&ve&&(t.TgZ(0,"div",39),t.YNc(1,Ee,6,12,"div",30),t.qZA()),2&ve){const xe=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",xe.gb.toolbarButtons)}}function gt(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"a",63),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2).$implicit,cn=t.oxw(7);return t.KtG(cn.openModule(xt))}),t._UZ(1,"i"),t._uU(2),t.qZA()}if(2&ve){const xe=t.oxw(2).$implicit,Ye=t.oxw(7);t.Tol(Ye.menuItemClass("dropdown-item",xe)),t.xp6(1),t.Tol(xe.icon),t.xp6(1),t.hij(" ",xe.name," ")}}function Ze(ve,De){1&ve&&t._UZ(0,"hr",64)}function Je(ve,De){if(1&ve&&(t.TgZ(0,"li"),t.YNc(1,gt,3,5,"a",61),t.YNc(2,Ze,1,0,"ng-template",null,62,t.W1O),t.qZA()),2&ve){const xe=t.MAs(3),Ye=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf","-"!=Ye)("ngIfElse",xe)}}function tt(ve,De){if(1&ve&&(t.ynx(0),t.YNc(1,Je,4,2,"li",24),t.BQk()),2&ve){const xe=De.$implicit,Ye=t.oxw(7);t.xp6(1),t.Q6J("ngIf",xe&&(!(null!=xe.permition&&xe.permition.length)||Ye.auth.hasPermissionTo(xe.permition)))}}function Qe(ve,De){if(1&ve&&(t.TgZ(0,"ul",58)(1,"div",59)(2,"div",60),t.YNc(3,tt,2,1,"ng-container",48),t.qZA()()()),2&ve){const xe=t.oxw(2).$implicit;t.uIk("aria-labelledby",xe.id),t.xp6(3),t.Q6J("ngForOf",xe.menu)}}function pt(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",55)(1,"a",56),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw().$implicit,cn=t.oxw(4);return t.KtG(cn.openModule(xt))}),t._uU(2),t.qZA(),t.YNc(3,Qe,4,2,"ul",57),t.qZA()}if(2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(4);t.Q6J("ngClass",null!=xe.menu&&xe.menu.length?"dropdown":""),t.xp6(1),t.Tol(Ye.menuItemClass("nav-link"+(xe.route?"":" dropdown-toggle"),xe)),t.uIk("id",xe.id)("data-bs-target",null!=xe.menu&&xe.menu.length?"":".navbar-collapse.show")("data-bs-toggle",null!=xe.menu&&xe.menu.length?"dropdown":"collapse"),t.xp6(1),t.hij(" ",xe.name," "),t.xp6(1),t.Q6J("ngIf",!xe.route)}}function Nt(ve,De){if(1&ve&&(t.ynx(0),t.YNc(1,pt,4,8,"li",54),t.BQk()),2&ve){const xe=De.$implicit,Ye=t.oxw(4);t.xp6(1),t.Q6J("ngIf",xe&&(!(null!=xe.permition&&xe.permition.length)||Ye.auth.hasPermissionTo(xe.permition)))}}const Jt=function(){return["home"]},nt=function(ve){return{route:ve}};function ot(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"ul",51)(1,"li",52)(2,"a",53),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.gb.goHome())}),t._uU(3,"Home"),t.qZA()(),t.YNc(4,Nt,2,1,"ng-container",48),t.qZA()}if(2&ve){const xe=t.oxw(3);t.xp6(2),t.Tol(xe.menuItemClass("nav-link",t.VKq(4,nt,t.DdM(3,Jt)))),t.xp6(2),t.Q6J("ngForOf",xe.modulo)}}function Ct(ve,De){1&ve&&(t.TgZ(0,"div",65),t._UZ(1,"span",46),t.qZA())}function He(ve,De){if(1&ve&&(t.TgZ(0,"div",34),t.YNc(1,K,1,0,"div",35),t.YNc(2,Ge,2,1,"div",36),t.YNc(3,ot,5,6,"ul",37),t.YNc(4,Ct,2,0,"div",38),t.qZA()),2&ve){const xe=t.oxw(2);t.xp6(1),t.Q6J("ngIf",xe.gb.isToolbar||!xe.auth.logged),t.xp6(1),t.Q6J("ngIf",null==xe.gb.toolbarButtons?null:xe.gb.toolbarButtons.length),t.xp6(1),t.Q6J("ngIf",!xe.gb.isToolbar&&xe.auth.logged),t.xp6(1),t.Q6J("ngIf",xe.auth.logging)}}function mt(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",76),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw().$implicit,cn=t.oxw(3);return t.KtG(cn.gb.setContexto(xt.key))}),t.TgZ(1,"a",77),t._UZ(2,"i"),t._uU(3),t.qZA()()}if(2&ve){const xe=t.oxw().$implicit,Ye=t.oxw(3);t.xp6(1),t.ekj("active",(null==Ye.gb.contexto?null:Ye.gb.contexto.name)==xe.name),t.xp6(1),t.Tol(xe.icon),t.xp6(1),t.hij(" ",xe.name," ")}}function vt(ve,De){if(1&ve&&(t.ynx(0),t.YNc(1,mt,4,5,"li",75),t.BQk()),2&ve){const xe=De.$implicit,Ye=t.oxw(3);t.xp6(1),t.Q6J("ngIf",(null==Ye.gb.contexto?null:Ye.gb.contexto.key)!=xe.key&&Ye.auth.hasPermissionTo(xe.permition))}}function hn(ve,De){if(1&ve&&(t.TgZ(0,"li",66)(1,"a",67)(2,"span",68),t._uU(3),t._UZ(4,"i",69),t.qZA(),t.TgZ(5,"span",70),t._UZ(6,"i"),t.qZA()(),t.TgZ(7,"div",71)(8,"div",59)(9,"div",60)(10,"small",72),t._uU(11,"Escolha o m\xf3dulo que deseja usar"),t.qZA(),t._UZ(12,"div",73),t.TgZ(13,"ul",74),t.YNc(14,vt,2,1,"ng-container",48),t.qZA()()()()()),2&ve){const xe=t.oxw(2);t.xp6(1),t.uIk("data-bs-toggle","dropdown"),t.xp6(2),t.hij(" ",(null==xe.gb.contexto?null:xe.gb.contexto.name)||"Selecione..."," "),t.xp6(3),t.Tol(null==xe.gb.contexto?null:xe.gb.contexto.icon),t.xp6(8),t.Q6J("ngForOf",xe.menuContexto)}}function yt(ve,De){if(1&ve&&(t.TgZ(0,"span",78),t._uU(1),t.TgZ(2,"span",46),t._uU(3,"Mensagens n\xe3o lidas"),t.qZA()()),2&ve){const xe=t.oxw(2);t.xp6(1),t.hij(" ",xe.notificacao.naoLidas>9?"9+":xe.notificacao.naoLidas," ")}}function Fn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",52)(1,"a",105),t.NdJ("click",function(){const cn=t.CHM(xe).$implicit,Kn=t.oxw(4);return t.KtG(Kn.selecionaUnidade(cn.id))}),t._uU(2),t.qZA()()}if(2&ve){const xe=De.$implicit,Ye=t.oxw(4);t.xp6(1),t.ekj("active",xe.id==(null==Ye.auth.unidade?null:Ye.auth.unidade.id)),t.xp6(1),t.Oqu(xe.sigla)}}function xn(ve,De){if(1&ve&&(t.TgZ(0,"ul",74),t.YNc(1,Fn,3,3,"li",104),t.qZA()),2&ve){const xe=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",xe.unidades)}}function In(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",52)(1,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.go.navigate({route:["configuracoes","unidade",xt.auth.unidade.id,"edit"]},{root:!0,modal:!0}))}),t._UZ(2,"i",106),t._uU(3," Unidade "),t.qZA()()}}function dn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"li",52)(1,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.go.navigate({route:["configuracoes","unidade","",xt.auth.unidade.id,"integrante"]},{metadata:{unidade:xt.auth.unidade}}))}),t._UZ(2,"i",107),t._uU(3," Integrantes "),t.qZA()()}}function qn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"button",108),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.toolbarLogin())}),t._uU(1," Login\n"),t.qZA()}}function di(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"button",32),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(3);return t.KtG(xt.onCollapseContainerClick())}),t._UZ(1,"i",44),t.qZA()}if(2&ve){const xe=t.oxw(3);t.xp6(1),t.Tol("bi "+(xe.collapseContainer?"bi bi-plus":"bi bi-dash")),t.Q6J("title",xe.collapseContainer?"Expandir Petrvs":"Contrair Petrvs"),t.uIk("data-bs-toggle","tooltip")}}function ir(ve,De){if(1&ve){const xe=t.EpF();t.ynx(0),t.TgZ(1,"li",79)(2,"a",80),t._uU(3),t._UZ(4,"i",69),t.qZA(),t.TgZ(5,"div",81)(6,"div",59)(7,"div",82),t.YNc(8,xn,2,1,"ul",83),t.qZA()()()(),t.TgZ(9,"li",66)(10,"a",84)(11,"div",85),t._UZ(12,"profile-picture",86),t.qZA()(),t.TgZ(13,"div",87)(14,"div",59)(15,"div",88)(16,"div",89)(17,"div",90),t._UZ(18,"profile-picture",86),t.qZA(),t.TgZ(19,"h6",91),t._uU(20),t.qZA()()(),t.TgZ(21,"ul",92)(22,"li",52)(23,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2);return t.KtG(xt.go.navigate({route:["configuracoes","usuario",xt.auth.usuario.id,"edit"]},{root:!0,modal:!0}))}),t._UZ(24,"i",94),t._uU(25," Perfil "),t.qZA()(),t.TgZ(26,"li",52)(27,"a",93),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2);return t.KtG(xt.go.navigate({route:["configuracoes","preferencia","usuario",xt.auth.usuario.id]},{root:!0,modal:!0}))}),t._UZ(28,"i",95),t._uU(29," Prefer\xeancias "),t.qZA()(),t.YNc(30,In,4,0,"li",96),t.YNc(31,dn,4,0,"li",96),t.qZA(),t.TgZ(32,"div",97)(33,"div",98)(34,"li",99)(35,"a",100),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw(2);return t.KtG(xt.logout())}),t._UZ(36,"i",101),t._uU(37," Sair "),t.qZA()()()()()()(),t.YNc(38,qn,2,0,"button",102),t.YNc(39,di,2,4,"button",103),t.BQk()}if(2&ve){const xe=t.oxw(2);t.xp6(2),t.uIk("data-bs-toggle","dropdown"),t.xp6(1),t.hij(" ",null==xe.auth.unidade?null:xe.auth.unidade.sigla," "),t.xp6(5),t.Q6J("ngIf",null==xe.unidades?null:xe.unidades.length),t.xp6(2),t.uIk("data-bs-toggle","dropdown"),t.xp6(2),t.Q6J("url",xe.usuarioFoto)("hint",(null==xe.auth.usuario?null:xe.auth.usuario.nome)||"Usu\xe1rio desconhecido"),t.xp6(6),t.Q6J("url",xe.usuarioFoto)("hint",(null==xe.auth.usuario?null:xe.auth.usuario.nome)||"Usu\xe1rio desconhecido"),t.xp6(2),t.Oqu(xe.usuarioNome),t.xp6(10),t.Q6J("ngIf",xe.unidadeService.isGestorUnidade(xe.auth.unidade,!0)),t.xp6(1),t.Q6J("ngIf",xe.unidadeService.isGestorUnidade(xe.auth.unidade,!0)),t.xp6(7),t.Q6J("ngIf",xe.gb.isToolbar&&!xe.auth.logged&&xe.gb.requireLogged),t.xp6(1),t.Q6J("ngIf",xe.gb.isEmbedded&&xe.auth.logged&&!xe.gb.isToolbar)}}function Bn(ve,De){if(1&ve){const xe=t.EpF();t.TgZ(0,"nav",7)(1,"div",8),t.YNc(2,Oe,2,2,"button",9),t.TgZ(3,"a",10)(4,"div",11),t._UZ(5,"img",12),t.TgZ(6,"span",13),t._uU(7,"PETRVS"),t.qZA()()()(),t.YNc(8,wt,4,1,"div",14),t.YNc(9,He,5,4,"div",15),t.TgZ(10,"ul",16),t.YNc(11,hn,15,5,"li",17),t.TgZ(12,"li",18)(13,"a",19),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw();return t.KtG(xt.openModule({route:["suporte"]}))}),t._UZ(14,"i",20),t.qZA()(),t.TgZ(15,"li",18)(16,"a",21),t.NdJ("click",function(){t.CHM(xe);const xt=t.oxw();return t.KtG(xt.go.navigate({route:["uteis","notificacoes"]}))}),t._UZ(17,"i",22),t.YNc(18,yt,4,1,"span",23),t.qZA()(),t.YNc(19,ir,40,13,"ng-container",24),t.qZA()()}if(2&ve){const xe=t.oxw();t.ekj("fixed-top",!xe.gb.isEmbedded),t.xp6(2),t.Q6J("ngIf",!xe.gb.isToolbar),t.xp6(3),t.Q6J("src",xe.gb.getResourcePath("assets/images/icon_"+xe.gb.theme+".png"),t.LSH),t.xp6(3),t.Q6J("ngIf",xe.isMinimized),t.xp6(1),t.Q6J("ngIf",!xe.isMinimized),t.xp6(2),t.Q6J("ngIf",xe.utils.isDeveloper()),t.xp6(2),t.uIk("data-bs-toggle","tooltip"),t.xp6(5),t.Q6J("ngIf",xe.notificacao.naoLidas),t.xp6(1),t.Q6J("ngIf",!xe.auth.logging&&xe.auth.logged)}}function xi(ve,De){if(1&ve&&(t.TgZ(0,"div",109)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&ve){const xe=t.oxw();t.xp6(4),t.Oqu((xe.error||"").split("&")[0]),t.xp6(2),t.hij("",(xe.error||"").split("&")[1],"\n")}}function fi(ve,De){if(1&ve&&t._UZ(0,"top-alert",110),2&ve){const xe=De.$implicit;t.Q6J("id",xe.id)("close",xe.close)("message",xe.message)("closable",xe.closable)}}function Mt(ve,De){if(1&ve&&(t.TgZ(0,"footer",111)(1,"div",112)(2,"div")(3,"div",113)(4,"p",114)(5,"small",115),t._uU(6),t.qZA()()()(),t.TgZ(7,"div",116),t._UZ(8,"img",117)(9,"img",117),t.qZA()()()),2&ve){const xe=t.oxw();t.xp6(6),t.hij("Vers\xe3o: ",xe.gb.VERSAO_SYS," "),t.xp6(2),t.Q6J("src",xe.gb.getResourcePath("assets/images/logo_pgd_"+("light"!=xe.gb.theme?"light":"normal")+".png"),t.LSH),t.xp6(1),t.Q6J("src",xe.gb.getResourcePath("assets/images/logo_gov_"+("light"!=xe.gb.theme?"light":"normal")+".png"),t.LSH)}}let Ot=(()=>{class ve{constructor(xe){this.injector=xe,this.title="petrvs",this.error="",this.unidadeHora="",this.menuSchema={},this.menuToolbar=[],this.menuContexto=[],ve.instance=this,this.gb=xe.get(b.d),this.cdRef=xe.get(t.sBO),this.auth=xe.get(y.e),this.dialog=xe.get(C.x),this.lex=xe.get(N.E),this.router=xe.get(A.F0),this.route=xe.get(A.gz),this.go=xe.get(j.o),this.allPages=xe.get(a.T),this.utils=xe.get(F.f),this.lookup=xe.get(x.W),this.entity=xe.get(H.c),this.notificacao=xe.get(k.r),this.unidadeService=xe.get(P.Z),this.notificacao.heartbeat(),this.auth.app=this,this.lex.app=this,this.gb.app=this,this.gb.isEmbedded&&this.gb.initialRoute?.length&&this.go.navigate({route:this.gb.initialRoute}),this.lex.cdRef=this.cdRef,this.setMenuVars()}setMenuVars(){this.menuSchema={CIDADES:{name:this.lex.translate("Cidades"),permition:"MOD_CID",route:["cadastros","cidade"],icon:this.entity.getIcon("Cidade")},EIXOS_TEMATICOS:{name:this.lex.translate("Eixos Tem\xe1ticos"),permition:"MOD_EXTM",route:["cadastros","eixo-tematico"],icon:this.entity.getIcon("EixoTematico")},ENTREGAS:{name:this.lex.translate("Modelos de Entregas"),permition:"MOD_ENTRG",route:["cadastros","entrega"],icon:this.entity.getIcon("Entrega")},FERIADOS:{name:this.lex.translate("Feriados"),permition:"MOD_FER",route:["cadastros","feriado"],icon:this.entity.getIcon("Feriado")},MATERIAIS_SERVICOS:{name:this.lex.translate("Materiais e Servi\xe7os"),permition:"",route:["cadastros","material-servico"],icon:this.entity.getIcon("MaterialServico")},TEMPLATES:{name:this.lex.translate("Templates"),permition:"MOD_TEMP",route:["cadastros","templates"],icon:this.entity.getIcon("Template"),params:{modo:"listagem"}},TIPOS_TAREFAS:{name:this.lex.translate("Tipos de Tarefas"),permition:"MOD_TIPO_TRF",route:["cadastros","tipo-tarefa"],icon:this.entity.getIcon("TipoTarefa")},TIPOS_ATIVIDADES:{name:this.lex.translate("Tipos de Atividades"),permition:"MOD_TIPO_ATV",route:["cadastros","tipo-atividade"],icon:this.entity.getIcon("TipoAtividade")},TIPOS_AVALIACOES:{name:this.lex.translate("Tipos de Avalia\xe7\xe3o"),permition:"MOD_TIPO_AVAL",route:["cadastros","tipo-avaliacao"],icon:this.entity.getIcon("TipoAvaliacao")},TIPOS_DOCUMENTOS:{name:this.lex.translate("Tipos de Documento"),permition:"MOD_TIPO_DOC",route:["cadastros","tipo-documento"],icon:this.entity.getIcon("TipoDocumento")},TIPOS_JUSTIFICATIVAS:{name:this.lex.translate("Tipos de Justificativa"),permition:"MOD_TIPO_JUST",route:["cadastros","tipo-justificativa"],icon:this.entity.getIcon("TipoJustificativa")},TIPOS_MODALIDADES:{name:this.lex.translate("Tipos de Modalidade"),permition:"MOD_TIPO_MDL",route:["cadastros","tipo-modalidade"],icon:this.entity.getIcon("TipoModalidade")},TIPOS_MOTIVOS_AFASTAMENTOS:{name:this.lex.translate("Tipos de Motivo de Afastamento"),permition:"MOD_TIPO_MTV_AFT",route:["cadastros","tipo-motivo-afastamento"],icon:this.entity.getIcon("TipoMotivoAfastamento")},TIPOS_PROCESSOS:{name:this.lex.translate("Tipos de Processo"),permition:"MOD_TIPO_PROC",route:["cadastros","tipo-processo"],icon:this.entity.getIcon("TipoProcesso")},AFASTAMENTOS:{name:this.lex.translate("Afastamentos"),permition:"MOD_AFT",route:["gestao","afastamento"],icon:this.entity.getIcon("Afastamento")},OCORRENCIAS:{name:this.lex.translate("Ocorrencias"),permition:"MOD_OCOR",route:["gestao","ocorrencia"],icon:this.entity.getIcon("Ocorrencia")},CADEIAS_VALORES:{name:this.lex.translate("Cadeias de Valores"),permition:"MOD_CADV",route:["gestao","cadeia-valor"],icon:this.entity.getIcon("CadeiaValor")},ATIVIDADES:{name:this.lex.translate("Atividades"),permition:"MOD_ATV",route:["gestao","atividade"],icon:this.entity.getIcon("Atividade")},PLANEJAMENTOS_INSTITUCIONAIS:{name:this.lex.translate("Planejamentos Institucionais"),permition:"MOD_PLAN_INST",route:["gestao","planejamento"],icon:this.entity.getIcon("Planejamento")},PLANOS_ENTREGAS:{name:this.lex.translate("Planos de Entregas"),permition:"MOD_PENT",route:["gestao","plano-entrega"],icon:this.entity.getIcon("PlanoEntrega")},PLANOS_TRABALHOS:{name:this.lex.translate("Planos de Trabalho"),permition:"MOD_PTR",route:["gestao","plano-trabalho"],icon:this.entity.getIcon("PlanoTrabalho")},CONSOLIDACOES:{name:this.lex.translate("Consolida\xe7\xf5es"),permition:"MOD_PTR_CSLD",route:["gestao","plano-trabalho","consolidacao"],icon:this.entity.getIcon("PlanoTrabalhoConsolidacao")},PROGRAMAS_GESTAO:{name:this.lex.translate("Programas de Gest\xe3o"),permition:"MOD_PRGT",route:["gestao","programa"],icon:this.entity.getIcon("Programa")},HABILITACOES_PROGRAMA:{name:this.lex.translate("Habilita\xe7\xf5es"),permition:"MOD_PART",route:["gestao","programa","participantes"],icon:this.entity.getIcon("Programa")},PORTIFOLIOS:{name:this.lex.translate("Portif\xf3lios"),permition:"MOD_PROJ",route:["gestao","projeto"],icon:this.entity.getIcon("Projeto")},PROJETOS:{name:this.lex.translate("Projetos"),permition:"MOD_PROJ",route:["gestao","projeto"],icon:this.entity.getIcon("Projeto")},EXECUCAO_PLANOS_ENTREGAS:{name:this.lex.translate("Planos de Entregas"),permition:"MOD_PENT",route:["execucao","plano-entrega"],icon:this.entity.getIcon("PlanoEntrega"),params:{execucao:!0}},FORCAS_TRABALHOS_SERVIDORES:{name:"For\xe7a de Trabalho - Servidor",permition:"MOD_PTR_CONS",route:["relatorios","forca-de-trabalho","servidor"],icon:this.entity.getIcon("RelatorioServidor")},FORCAS_TRABALHOS_AREAS:{name:"For\xe7a de Trabalho - \xc1rea",permition:"MOD_PTR_CONS",route:["relatorios","forca-de-trabalho","area"],icon:this.entity.getIcon("RelatorioArea")},AVALIACAO_CONSOLIDACAO_PLANO_TRABALHO:{name:this.lex.translate("Consolida\xe7\xf5es"),permition:"MOD_PTR_CSLD_AVAL",route:["avaliacao","plano-trabalho","consolidacao","avaliacao"],icon:this.entity.getIcon("PlanoTrabalho")},AVALIACAO_PLANOS_ENTREGAS:{name:this.lex.translate("Planos de Entregas"),permition:"MOD_PENT_AVAL",route:["avaliacao","plano-entrega"],icon:this.entity.getIcon("PlanoEntrega"),params:{avaliacao:!0}},PREFERENCIAS:{name:"Prefer\xeancias",permition:"",route:["configuracoes","preferencia"],metadata:{root:!0,modal:!0},icon:this.entity.getIcon("Preferencia")},ENTIDADES:{name:this.lex.translate("Entidades"),permition:"MOD_CFG_ENTD",route:["configuracoes","entidade"],icon:this.entity.getIcon("Entidade")},UNIDADES:{name:this.lex.translate("Unidades"),permition:"MOD_CFG_UND",route:["configuracoes","unidade"],icon:this.entity.getIcon("Unidade")},USUARIOS:{name:this.lex.translate("Usu\xe1rios"),permition:"MOD_CFG_USER",route:["configuracoes","usuario"],icon:this.entity.getIcon("Usuario")},PERFIS:{name:this.lex.translate("Perfis"),permition:"MOD_CFG_PERFS",route:["configuracoes","perfil"],icon:this.entity.getIcon("Perfil")},SOBRE:{name:this.lex.translate("Sobre"),permition:"",route:["configuracoes","sobre"],icon:""},ROTINAS_INTEGRACAO:{name:"Rotina de Integra\xe7\xe3o",permition:"",route:["rotinas","integracao"],icon:this.entity.getIcon("Integracao")},LOGS_ALTERACOES:{name:"Log das Altera\xe7\xf5es",permition:"",route:["logs","change"],icon:this.entity.getIcon("Change")},LOGS_ERROS:{name:"Log dos Erros",permition:"",route:["logs","error"],icon:this.entity.getIcon("Error")},LOGS_TRAFEGOS:{name:"Log do Tr\xe1fego",permition:"",route:["logs","traffic"],icon:this.entity.getIcon("Traffic")},LOGS_TESTES_EXPEDIENTES:{name:"Teste Expediente",permition:"",route:["teste"],icon:this.entity.getIcon("Teste")},TESTE_CALCULA_DATATEMPO:{name:"Teste calculaDataTempo",permition:"",route:["teste","calcula-tempo"],icon:this.entity.getIcon("Teste")},CURRICULUM_CADASTRO_PESSOAL:{name:this.lex.translate("Dados Pessoais"),permition:"MOD_RX_CURR",route:["raiox","pessoal"],icon:"bi bi-file-person"},CURRICULUM_CADASTRO_PROFISSIONAL:{name:this.lex.translate("Dados Profissionais"),permition:"MOD_RX_CURR",route:["raiox","profissional"],icon:"fa fa-briefcase"},CURRICULUM_CADASTRO_ATRIBUTOS:{name:this.lex.translate("Atributos Comportamentais"),permition:"MOD_RX_CURR",route:["raiox","atributos"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_SOFTSKILLS:{name:this.lex.translate("Soft Skills"),permition:"MOD_RX_CURR",route:["raiox","teste"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_B5:{name:this.lex.translate("Big Five - B5"),permition:"MOD_RX_CURR",route:["raiox","big5"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_DASS:{name:this.lex.translate("DASS"),permition:"MOD_RX_CURR",route:["raiox","big5"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_SRQ20:{name:this.lex.translate("SRQ-20"),permition:"MOD_RX_CURR",route:["raiox","big5"],icon:"fa fa-brain"},CURRICULUM_CADASTRO_ATRIBUTOS_QVT:{name:this.lex.translate("QVT"),permition:"MOD_RX_CURR",route:["raiox","qvt"],icon:""},CURRICULUM_OPORTUNIDADES:{name:this.lex.translate("Oportunidades"),permition:"MOD_RX_OPO",route:["raiox"],icon:"bi bi-lightbulb-fill"},CURRICULUM_CADASTRO_AREAS_ATIVIDADES_EXTERNAS:{name:this.lex.translate("\xc1reas de Atividade Externa"),permition:"MOD_RX_OUT",route:["raiox","cadastros","area-atividade-externa"],icon:"bi bi-arrows-fullscreen"},CURRICULUM_CADASTRO_AREAS_CONHECIMENTO:{name:this.lex.translate("\xc1reas de Conhecimento"),permition:"MOD_RX_OUT",route:["raiox","cadastros","area-conhecimento"],icon:"bi bi-mortarboard"},CURRICULUM_CADASTRO_AREAS_TEMATICAS:{name:this.lex.translate("\xc1reas Tem\xe1ticas"),permition:"MOD_RX_OUT",route:["raiox","cadastros","area-tematica"],icon:"bi bi-box-arrow-in-down"},CURRICULUM_CADASTRO_CAPACIDADES_TECNICAS:{name:this.lex.translate("Capacidades T\xe9cnicas"),permition:"MOD_RX_OUT",route:["raiox","cadastros","capacidade-tecnica"],icon:"bi bi-arrows-angle-contract"},CURRICULUM_CADASTRO_CARGOS:{name:this.lex.translate("Cargos"),permition:"MOD_RX_OUT",route:["raiox","cadastros","cargo"],icon:"bi bi-person-badge"},CURRICULUM_CADASTRO_CENTROS_TREINAMENTO:{name:this.lex.translate("Centros de Treinamento"),permition:"MOD_RX_OUT",route:["raiox","cadastros","centro-treinamento"],icon:"bi bi-building-fill"},CURRICULUM_CADASTRO_CURSOS:{name:this.lex.translate("Cursos"),permition:"MOD_RX_OUT",route:["raiox","cadastros","curso"],icon:"bi bi-mortarboard-fill"},CURRICULUM_CADASTRO_FUNCAO:{name:this.lex.translate("Fun\xe7\xf5es"),permition:"MOD_RX_OUT",route:["raiox","cadastros","funcao"],icon:"bi bi-check-circle-fill"},CURRICULUM_CADASTRO_GRUPOS_ESPECIALIZADOS:{name:this.lex.translate("Grupos Especializados"),permition:"MOD_RX_OUT",route:["raiox","cadastros","grupo-especializado"],icon:"bi bi-check-circle"},CURRICULUM_CADASTRO_DISCIPLINAS:{name:this.lex.translate("Disciplina"),permition:"MOD_RX_OUT",route:["raiox","cadastros","disciplina"],icon:"bi bi-list-check"},CURRICULUM_CADASTRO_QUESTIONARIOS_PERGUNTAS:{name:this.lex.translate("Question\xe1rios"),permition:"MOD_RX_OUT",route:["raiox","cadastros","questionario"],icon:"bi bi-patch-question"},CURRICULUM_CADASTRO_QUESTIONARIOS_RESPOSTAS:{name:this.lex.translate("Respostas"),permition:"MOD_RX_OUT",route:["raiox","cadastros","questionario","reposta"],icon:"bi bi-list-task"},CURRICULUM_CADASTRO_QUESTIONARIOS_TESTE:{name:this.lex.translate("Testes"),permition:"MOD_RX_OUT",route:["raiox","cadastros","questionario","teste"],icon:"bi bi-list-task"},CURRICULUM_CADASTRO_TIPOS_CURSOS:{name:this.lex.translate("Tipos de Curso"),permition:"MOD_RX_OUT",route:["raiox","cadastros","tipo-curso"],icon:"bi bi-box-seam"},CURRICULUM_PESQUISA_ADM:{name:this.lex.translate("Ca\xe7a-talentos"),permition:"MOD_RX_OUT",route:["raiox","pesquisa-adm"],icon:"bi bi-binoculars"},CURRICULUM_PESQUISA_USR:{name:this.lex.translate("Usu\xe1rio"),permition:"MOD_RX_OUT",route:["raiox","pesquisa-usuario"],icon:"bi bi-search"},PAINEL:{name:"Painel",permition:"",route:["panel"],icon:""},AUDITORIA:{name:"Auditoria",permition:"",route:["configuracoes","sobre"],icon:""}},this.moduloGestao=[{name:this.lex.translate("Planejamento"),permition:"MENU_GESTAO_ACESSO",id:"navbarDropdownGestaoPlanejamento",menu:[this.menuSchema.PLANEJAMENTOS_INSTITUCIONAIS,this.menuSchema.CADEIAS_VALORES,this.menuSchema.PROGRAMAS_GESTAO,this.menuSchema.HABILITACOES_PROGRAMA,this.menuSchema.PLANOS_ENTREGAS,this.menuSchema.PLANOS_TRABALHOS].sort(this.orderMenu)},{name:this.lex.translate("Execu\xe7\xe3o"),permition:"MENU_GESTAO_ACESSO",id:"navbarDropdownGestaoExecucao",menu:[this.menuSchema.EXECUCAO_PLANOS_ENTREGAS,Object.assign({},this.menuSchema.CONSOLIDACOES,{params:{tab:"USUARIO"}}),this.menuSchema.OCORRENCIAS,this.menuSchema.AFASTAMENTOS,this.menuSchema.ATIVIDADES].sort(this.orderMenu)},{name:this.lex.translate("Avalia\xe7\xe3o"),permition:"MENU_GESTAO_ACESSO",id:"navbarDropdownGestaoAvaliacao",menu:[this.menuSchema.AVALIACAO_CONSOLIDACAO_PLANO_TRABALHO,this.menuSchema.AVALIACAO_PLANOS_ENTREGAS].sort(this.orderMenu)},{name:this.lex.translate("Gerenciamento"),permition:"MENU_CONFIG_ACESSO",id:"navbarDropdownGestaoGerencial",menu:[this.menuSchema.ENTIDADES,this.menuSchema.UNIDADES,this.menuSchema.USUARIOS,this.menuSchema.PERFIS].sort(this.orderMenu)},{name:this.lex.translate("Cadastros"),permition:"MENU_CAD_ACESSO",id:"navbarDropdownGestaoCadastros",menu:[this.menuSchema.EIXOS_TEMATICOS,this.menuSchema.ENTREGAS,this.menuSchema.TIPOS_AVALIACOES,this.menuSchema.TIPOS_ATIVIDADES,this.menuSchema.TIPOS_JUSTIFICATIVAS,this.menuSchema.TIPOS_MODALIDADES,this.menuSchema.TIPOS_MOTIVOS_AFASTAMENTOS,this.menuSchema.TIPOS_TAREFAS].sort(this.orderMenu)}],this.moduloExecucao=[Object.assign({},this.menuSchema.PLANOS_TRABALHOS,{metadata:{minha_unidade:!0}}),this.menuSchema.ATIVIDADES,Object.assign({},this.menuSchema.CONSOLIDACOES,{params:{tab:"UNIDADE"}}),this.menuSchema.OCORRENCIAS],this.moduloAdministrador=[{name:this.lex.translate("Cadastros"),permition:"MENU_CAD_ACESSO",id:"navbarDropdownCadastrosAdm",menu:[this.menuSchema.AFASTAMENTOS,this.menuSchema.CIDADES,this.menuSchema.EIXOS_TEMATICOS,this.menuSchema.ENTREGAS,this.menuSchema.FERIADOS,this.menuSchema.MATERIAIS_SERVICOS,this.menuSchema.OCORRENCIAS,this.menuSchema.TEMPLATES,this.menuSchema.TIPOS_ATIVIDADES,this.menuSchema.TIPOS_AVALIACOES,this.menuSchema.TIPOS_DOCUMENTOS,this.menuSchema.TIPOS_JUSTIFICATIVAS,this.menuSchema.TIPOS_MODALIDADES,this.menuSchema.TIPOS_MOTIVOS_AFASTAMENTOS,this.menuSchema.TIPOS_PROCESSOS,this.menuSchema.TIPOS_TAREFAS].sort(this.orderMenu)},{name:this.lex.translate("Gerenciamento"),permition:"MENU_CONFIG_ACESSO",id:"navbarDropdownGerencialAdm",menu:[this.menuSchema.ENTIDADES,this.menuSchema.UNIDADES,this.menuSchema.USUARIOS,this.menuSchema.PERFIS].sort(this.orderMenu)}],this.moduloDev=[{name:this.lex.translate("Manuten\xe7\xe3o"),permition:"MENU_DEV_ACESSO",id:"navbarDropdownDevManutencao",menu:[this.menuSchema.ROTINAS_INTEGRACAO,this.menuSchema.PAINEL]},{name:this.lex.translate("Logs e Auditorias"),permition:"MENU_DEV_ACESSO",id:"navbarDropdownDevLogs",menu:[this.menuSchema.LOGS_ALTERACOES,this.menuSchema.LOGS_ERROS,this.menuSchema.LOGS_TRAFEGOS]},{name:this.lex.translate("Testes"),permition:"MENU_DEV_ACESSO",id:"navbarDropdownDevTestes",menu:[this.menuSchema.LOGS_TESTES_EXPEDIENTES,this.menuSchema.TESTE_CALCULA_DATATEMPO]}],this.menuContexto=[{key:"GESTAO",permition:"CTXT_GEST",icon:"bi bi-clipboard-data",name:this.lex.translate("PGD"),menu:this.moduloGestao},{key:"EXECUCAO",permition:"CTXT_EXEC",icon:"bi bi-clipboard-data",name:this.lex.translate("PGD"),menu:this.moduloExecucao},{key:"ADMINISTRADOR",permition:"CTXT_ADM",icon:"bi bi-emoji-sunglasses",name:this.lex.translate("Administrador"),menu:this.moduloAdministrador},{key:"DEV",permition:"CTXT_DEV",icon:"bi bi-braces",name:this.lex.translate("Desenvolvedor"),menu:this.moduloDev}]}orderMenu(xe,Ye){return xe.nome"EXECUCAO"!==xt.key):Ye&&!xe&&(this.menuContexto=this.menuContexto.filter(xt=>"GESTAO"!==xt.key))}toolbarLogin(){this.go.navigate({route:["login"]},{modal:!0})}menuItemClass(xe,Ye){let xt=this.go.getRouteUrl().replace(/^\//,"");return Ye.menu?.find(cn=>!cn)&&console.log(Ye),xe+(Ye.route?.join("/")==xt||Ye.menu?.find(cn=>cn?.route?.join("/")==xt)?" fw-bold":"")}isButtonRunning(xe){return xe.running||!!xe.items?.find(Ye=>Ye.running)}buttonId(xe){return"button_"+this.utils.md5((xe.icon||"")+(xe.hint||"")+(xe.label||""))}openModule(xe){xe.route&&this.go.navigate({route:xe.route,params:xe.params},xe.metadata||{root:!0})}get unidades(){return this.auth.unidades||[]}get usuarioNome(){return this.utils.shortName(this.auth.usuario?.apelido.length?this.auth.usuario?.apelido:this.auth.usuario?.nome||"")}get usuarioFoto(){return this.gb.getResourcePath(this.auth.usuario?.url_foto||"assets/images/profile.png")}onCollapseContainerClick(){this.auth.usuarioConfig={ocultar_container_petrvs:!this.auth.usuario.config.ocultar_container_petrvs},this.cdRef.detectChanges()}get collapseContainer(){return this.gb.isEmbedded&&this.auth.logged&&!!this.auth.usuario?.config.ocultar_container_petrvs}onRestoreClick(xe){xe.restore()}selecionaUnidade(xe){this.auth.selecionaUnidade(xe,this.cdRef)}onToolbarButtonClick(xe){var Ye=this;return(0,i.Z)(function*(){try{xe.running=!0,Ye.cdRef.detectChanges(),xe.onClick&&(yield xe.onClick(xe))}finally{xe.running=!1,Ye.cdRef.detectChanges()}})()}get isMinimized(){return!!this.dialog.minimized?.length}logout(){this.auth.logOut()}static#e=this.\u0275fac=function(Ye){return new(Ye||ve)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:ve,selectors:[["app-root"]],viewQuery:function(Ye,xt){if(1&Ye&&t.Gf(X,5,t.s_b),2&Ye){let cn;t.iGM(cn=t.CRH())&&(xt.dialogs=cn.first)}},features:[t._Bn([{provide:"ID_GENERATOR_BASE",useFactory:(xe,Ye,xt)=>xt.onlyAlphanumeric(Ye.getRouteUrl()),deps:[ve,j.o,F.f]}])],decls:9,vars:6,consts:[[1,"d-flex","flex-column","h-100","petrvs"],["dialogs",""],["class","navbar navbar-expand-lg px-3 hidden-print",3,"fixed-top",4,"ngIf"],["class","alert alert-danger mt-2","role","alert",4,"ngIf"],[1,"content"],["type","alert",3,"id","close","message","closable",4,"ngFor","ngForOf"],["class","footer mt-auto",4,"ngIf"],[1,"navbar","navbar-expand-lg","px-3","hidden-print"],[1,"navbar-logo"],["class","navbar-toggler","type","button","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Abri menu",4,"ngIf"],["role","button",1,"navbar-brand"],[1,"d-flex","align-items-center"],["alt","Logo Petrvs","width","30",1,"d-inline-block","align-text-top",3,"src"],[1,"logo-text","ms-2","d-none","d-sm-block"],["class","collapse navbar-collapse","id","navbarSupportedContent",4,"ngIf"],["class","collapse navbar-collapse order-1 order-lg-0","id","navbarSupportedContent",4,"ngIf"],[1,"navbar-nav","navbar-nav-icons","flex-row","align-items-center","justify-content-end"],["class","nav-item dropdown",4,"ngIf"],[1,"nav-item","ms-3","ms-lg-2"],["role","button","data-bs-placement","top","title","Suporte Petrvs",1,"nav-link",3,"click"],[1,"bi","bi-question-lg"],["href","javascript:void(0)",1,"nav-link","position-relative",3,"click"],[1,"bi","bi-bell"],["class","position-absolute translate-middle badge rounded-pill bg-danger",4,"ngIf"],[4,"ngIf"],["type","button","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Abri menu",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"d-flex"],["role","group","aria-label","Janelas",1,"btn-group"],["class","btn-group","role","group",4,"ngFor","ngForOf"],["role","group",1,"btn-group"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"d-inline-block","text-truncate",2,"max-width","150px"],["id","navbarSupportedContent",1,"collapse","navbar-collapse","order-1","order-lg-0"],["class","d-flex",4,"ngIf"],["class","btn-group","role","group","aria-label","Op\xe7\xf5es",4,"ngIf"],["class","navbar-nav me-auto mb-2 mb-lg-0",4,"ngIf"],["width","25","class","spinner-border spinner-border-sm m-0 ms-2","role","status",4,"ngIf"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group"],["type","button","aria-expanded","false",3,"click"],["data-bs-placement","top",3,"class","title",4,"ngIf"],["type","button","aria-expanded","false","data-bs-reference","parent",3,"disabled","class",4,"ngIf"],["class","dropdown-menu",3,"dropdown-menu-end",4,"ngIf"],["data-bs-placement","top",3,"title"],["type","button","aria-expanded","false","data-bs-reference","parent"],[1,"visually-hidden"],[1,"dropdown-menu"],[4,"ngFor","ngForOf"],["role","button",1,"dropdown-item",3,"click"],[3,"class",4,"ngIf"],[1,"navbar-nav","me-auto","mb-2","mb-lg-0"],[1,"nav-item"],["aria-current","page","role","button",3,"click"],["class","nav-item",3,"ngClass",4,"ngIf"],[1,"nav-item",3,"ngClass"],["role","button","role","button","aria-expanded","false",3,"click"],["class","dropdown-menu navbar-dropdown-caret shadow border border-300 py-0",4,"ngIf"],[1,"dropdown-menu","navbar-dropdown-caret","shadow","border","border-300","py-0"],[1,"card","position-relative","border-0"],[1,"card-body","py-3","px-3"],["role","button",3,"class","click",4,"ngIf","ngIfElse"],["divider",""],["role","button",3,"click"],[1,"dropdown-divider"],["width","25","role","status",1,"spinner-border","spinner-border-sm","m-0","ms-2"],[1,"nav-item","dropdown"],["id","petrvs-context","href","#","role","button","aria-haspopup","true","aria-expanded","false","data-bs-auto-close","outside","title","M\xf3dulo",1,"nav-link"],[1,"d-none","d-md-block"],[1,"bi","bi-chevron-down","fs-6"],[1,"d-block","d-md-none"],["aria-labelledby","petrvs-context",1,"dropdown-menu","contextoDropdown","navbar-dropdown-caret","py-0","shadow","border","border-300"],[1,"texto-modulo"],[1,"divider"],[1,"nav","d-flex","flex-column"],["class","nav-item",3,"click",4,"ngIf"],[1,"nav-item",3,"click"],["role","button",1,"nav-link"],[1,"position-absolute","translate-middle","badge","rounded-pill","bg-danger"],[1,"nav-item","dropdown","ms-3","ms-lg-2"],["id","navbarDropdownBranch","href","#","role","button","aria-haspopup","true","data-bs-auto-close","outside","aria-expanded","false",1,"nav-link"],["aria-labelledby","navbarDropdownBranch","data-bs-popper","static",1,"dropdown-menu","dropdown-menu-end","navbar-dropdown-caret","py-0","shadow","border","border-300"],[1,"card-body","py-3","px-3","pb-0","overflow-auto","scrollbar",2,"height","20rem"],["class","nav d-flex flex-column",4,"ngIf"],["id","navbarDropdownUser","href","#!","role","button","data-bs-auto-close","outside","aria-haspopup","true","aria-expanded","false",1,"nav-link"],[1,""],[3,"url","hint"],["aria-labelledby","navbarDropdownUser",1,"dropdown-menu","dropdown-menu-end","navbar-dropdown-caret","py-0","dropdown-profile","shadow","border","border-300"],[1,"card-body","p-0"],[1,"text-center","pt-4","pb-3","avatar-info"],[1,"avatar","avatar-xl"],[1,"mt-2"],[1,"nav","d-flex","flex-column","mb-2","pb-1"],["role","button",1,"nav-link","px-3",3,"click"],[1,"bi","bi-person-circle"],[1,"bi","bi-gear"],["class","nav-item",4,"ngIf"],[1,"card-footer","p-0","border-top"],[1,"px-3","py-2"],[1,"nav-item","d-grid"],["role","button",1,"btn","btn-outline-secondary","btn-sm",3,"click"],[1,"bi","bi-arrow-bar-right"],["type","button","class","btn btn-outline-danger","role","button",3,"click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"click",4,"ngIf"],["class","nav-item",4,"ngFor","ngForOf"],["role","button",1,"nav-link",3,"click"],[1,"fa-unity","fab"],[1,"bi","bi-people"],["type","button","role","button",1,"btn","btn-outline-danger",3,"click"],["role","alert",1,"alert","alert-danger","mt-2"],["type","alert",3,"id","close","message","closable"],[1,"footer","mt-auto"],[1,"d-flex","justify-content-between"],[1,"d-flex","justify-content-between","align-items-center"],[1,"m-0"],[1,"text-primary"],[1,"logos"],[3,"src"]],template:function(Ye,xt){1&Ye&&(t.TgZ(0,"div",0),t.YNc(1,me,0,0,"ng-template",null,1,t.W1O),t.YNc(3,Bn,20,10,"nav",2),t.YNc(4,xi,7,2,"div",3),t.TgZ(5,"div",4),t.YNc(6,fi,1,4,"top-alert",5),t._UZ(7,"router-outlet"),t.qZA(),t.YNc(8,Mt,10,3,"footer",6),t.qZA()),2&Ye&&(t.xp6(3),t.Q6J("ngIf",xt.auth.logged),t.xp6(1),t.Q6J("ngIf",null==xt.error?null:xt.error.length),t.xp6(1),t.ekj("d-none",xt.gb.isToolbar||xt.collapseContainer),t.xp6(1),t.Q6J("ngForOf",xt.dialog.topAlerts),t.xp6(2),t.Q6J("ngIf",xt.auth.usuario&&!xt.gb.isEmbedded))},styles:[".app-container[_ngcontent-%COMP%]{text-decoration:none;width:100%;height:100%}.profile-photo[_ngcontent-%COMP%]{margin:-2px 2px}[_nghost-%COMP%] .export-excel-table{display:none}[_nghost-%COMP%]{height:100%}.fixed-top[_ngcontent-%COMP%]{position:fixed;top:0;right:0;left:0;z-index:1030}.navbar[_ngcontent-%COMP%]{box-shadow:none;border-bottom:1px solid var(--petrvs-navbar-vertical-border-color);background:var(--petrvs-navbar-top-bg-color)}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:absolute}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{color:var(--petrvs-nav-link-color);border-radius:var(--petrvs-btn-radius);font-weight:600;font-size:.9rem}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{background-color:var(--petrvs-nav-link-bg-hover)}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{background-color:var(--petrvs-nav-link-bg-active)}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{top:6px;font-size:.6rem}.navbar[_ngcontent-%COMP%] .navbar-nav-icons[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.2rem}.navbar[_ngcontent-%COMP%] .navbar-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{--bs-navbar-brand-font-size: 1rem;--bs-navbar-brand-color: var(--petrvs-navbar-brand-color);font-weight:600}.navbar[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:static}.navbar[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{border:none;padding-top:0rem;padding-bottom:0rem;margin-top:0}.navbar[_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%]{border:none;margin-right:.6125rem;--bs-navbar-toggler-padding-y: 0;--bs-navbar-toggler-padding-x: 0;--bs-navbar-toggler-focus-width: 0}.navbar[_ngcontent-%COMP%] .contextoDropdown[_ngcontent-%COMP%]{min-width:15rem}.navbar[_ngcontent-%COMP%] .contextoDropdown[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{height:1px;width:100%;display:block;background:var(--bs-nav-link-color);margin:6px 0}.navbar[_ngcontent-%COMP%] .contextoDropdown[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:.775em}.navbar[_ngcontent-%COMP%] .avatar-info[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:var(--bs-nav-link-color)}.submenu[_ngcontent-%COMP%]{list-style:none;padding-left:10px}.texto-modulo[_ngcontent-%COMP%]{color:var(--petrvs-nav-link-color)}.footer[_ngcontent-%COMP%]{background:var(--petrvs-navbar-top-bg-color);border-top:1px solid var(--petrvs-navbar-vertical-border-color);padding:5px}.footer[_ngcontent-%COMP%] .logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:30px;margin-right:20px}@media (min-width: 992px){.navbar-expand-lg[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:absolute}}@media (min-width: 1200px){.navbar-expand-xl[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:absolute}}.avatar[_ngcontent-%COMP%]{position:relative;display:inline-block;vertical-align:middle}"]})}return ve})()},58:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>N});var i=m(755),t=m(5736),A=m(5691);function a(j,F){1&j&&(i.TgZ(0,"div",3)(1,"div",4),i._UZ(2,"span",5),i.qZA()())}function y(j,F){if(1&j&&i._UZ(0,"section",7),2&j){const x=F.$implicit,H=F.index,k=i.oxw(2);i.Q6J("parentId",k.generatedId("accordion"))("selected",H==k.selectedIndex)("index",H)("item",x)("load",k.load)("template",k.template)("titleTemplate",k.titleTemplate)("accordion",k)}}function C(j,F){if(1&j&&(i.YNc(0,y,1,8,"section",6),i.Hsn(1)),2&j){const x=i.oxw();i.Q6J("ngForOf",x.items)}}const b=["*"];let N=(()=>{class j extends t.V{set active(x){this._active!=x&&(!x||this.items.find(H=>(H.id||H.key)==x))&&(this._active=x,this.cdRef.detectChanges())}get active(){return this._active}set loading(x){this._loading!=x&&(this._loading=x,this.cdRef.detectChanges())}get loading(){return this._loading}constructor(x){super(x),this.injector=x,this.items=[],this.selectedIndex=0,this._active=void 0,this._loading=!1,this.cdRef=x.get(i.sBO)}ngOnInit(){}ngAfterContentInit(){this.loadSections(),this.sectionsRef?.changes.subscribe(x=>this.loadSections()),null==this.active&&this.items.length&&(this.active=this.items[0].id||this.items[0].key)}loadSections(){this.sectionsRef?.forEach(x=>{})}static#e=this.\u0275fac=function(H){return new(H||j)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:j,selectors:[["accordion"]],contentQueries:function(H,k,P){if(1&H&&i.Suo(P,A.e,5),2&H){let X;i.iGM(X=i.CRH())&&(k.sectionsRef=X)}},inputs:{load:"load",items:"items",selectedIndex:"selectedIndex",template:"template",titleTemplate:"titleTemplate",active:"active",loading:"loading"},features:[i.qOj],ngContentSelectors:b,decls:4,vars:2,consts:[["id","generatedId('accordion')",1,"accordion"],["class","d-flex justify-content-center my-2",4,"ngIf","ngIfElse"],["sections",""],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[3,"parentId","selected","index","item","load","template","titleTemplate","accordion",4,"ngFor","ngForOf"],[3,"parentId","selected","index","item","load","template","titleTemplate","accordion"]],template:function(H,k){if(1&H&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,a,3,0,"div",1),i.YNc(2,C,2,1,"ng-template",null,2,i.W1O),i.qZA()),2&H){const P=i.MAs(3);i.xp6(1),i.Q6J("ngIf",k.loading)("ngIfElse",P)}}})}return j})()},5691:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>j});var i=m(8239),t=m(5736),A=m(755),a=m(6733);const y=function(F,x,H){return{item:F,data:x,accordion:H}};function C(F,x){if(1&F&&A.GkF(0,7),2&F){const H=A.oxw();A.Q6J("ngTemplateOutlet",H.titleTemplate)("ngTemplateOutletContext",A.kEZ(2,y,H.item,H.data,H.accordion))}}function b(F,x){1&F&&(A.TgZ(0,"div",8)(1,"div",9),A._UZ(2,"span",10),A.qZA()())}function N(F,x){if(1&F&&(A.TgZ(0,"div",11),A.GkF(1,7),A.qZA()),2&F){const H=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",H.template)("ngTemplateOutletContext",A.kEZ(2,y,H.item,H.data,H.accordion))}}let j=(()=>{class F extends t.V{constructor(H){super(H),this.injector=H,this.item=void 0,this.index=0,this.selected=!1,this.parentId=this.generatedId("accordion"),this.loading=!1,this.loaded=!1}ngOnInit(){}onClick(){var H=this;return(0,i.Z)(function*(){if(H.selected=!0,H.accordion&&(H.accordion.selectedIndex=H.index),H.load){H.loading=!0;try{H.cdRef.detectChanges(),H.data=yield H.load(H.item)}finally{H.loading=!1,H.cdRef.detectChanges()}}H.accordion?.cdRef.detectChanges()})()}static#e=this.\u0275fac=function(k){return new(k||F)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:F,selectors:[["section"]],inputs:{item:"item",load:"load",template:"template",titleTemplate:"titleTemplate",accordion:"accordion",index:"index",selected:"selected",parentId:"parentId"},features:[A.qOj],decls:7,vars:14,consts:[[1,"accordion-item","mb-3"],[1,"accordion-header"],["type","button","data-bs-toggle","collapse",1,"accordion-button",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[1,"accordion-collapse","collapse"],["class","d-flex justify-content-center my-2",4,"ngIf"],["class","accordion-body",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[1,"accordion-body"]],template:function(k,P){1&k&&(A.TgZ(0,"div",0)(1,"h2",1)(2,"button",2),A.NdJ("click",function(){return P.onClick()}),A.YNc(3,C,1,6,"ng-container",3),A.qZA()(),A.TgZ(4,"div",4),A.YNc(5,b,3,0,"div",5),A.YNc(6,N,2,6,"div",6),A.qZA()()),2&k&&(A.xp6(1),A.uIk("id",P.generatedId("heading"+P.index)),A.xp6(1),A.ekj("collapsed",!P.selected),A.uIk("data-bs-target","#"+P.generatedId("collapse"+P.index))("aria-expanded",P.selected?"true":"false")("aria-controls",P.generatedId("collapse"+P.index)),A.xp6(1),A.Q6J("ngIf",P.titleTemplate),A.xp6(1),A.ekj("show",P.selected),A.uIk("id",P.generatedId("collapse"+P.index))("aria-labelledby",P.generatedId("heading"+P.index))("data-bs-parent","#"+P.parentId),A.xp6(1),A.Q6J("ngIf",P.loading),A.xp6(1),A.Q6J("ngIf",P.selected&&P.template&&(!P.load||!P.loading)))},dependencies:[a.O5,a.tP]})}return F})()},5489:(lt,_e,m)=>{"use strict";m.d(_e,{F:()=>N});var i=m(5736),t=m(755),A=m(6733);function a(j,F){if(1&j&&t._UZ(0,"img",6),2&j){const x=t.oxw();t.Q6J("src",x.img,t.LSH)}}function y(j,F){if(1&j&&t._UZ(0,"i"),2&j){const x=t.oxw();t.Tol(x.icon)}}function C(j,F){if(1&j&&(t.TgZ(0,"span",7),t._uU(1),t.qZA()),2&j){const x=t.oxw();t.xp6(1),t.Oqu(x.textValue)}}const b=["*"];let N=(()=>{class j extends i.V{set badge(x){this._badge!=x&&(this._badge=x),this._badge.id=this._badge.id||this.generatedButtonId(this._badge)}get badge(){return this._badge}set lookup(x){this._lookup!=x&&(this._lookup=x),this.fromLookup()}get lookup(){return this._lookup}set click(x){this._badge.click!=x&&(this._badge.click=x)}get click(){return this._badge.click}set data(x){this._badge.data!=x&&(this._badge.data=x)}get data(){return this._badge.data}set hint(x){this._badge.hint!=x&&(this._badge.hint=x)}get hint(){return this._badge.hint}set icon(x){this._badge.icon!=x&&(this._badge.icon=x)}get icon(){return this._badge.icon}set img(x){this._badge.img!=x&&(this._badge.img=x)}get img(){return this._badge.img}set label(x){this._badge.label!=x&&(this._badge.label=x)}get label(){return this._badge.label}set textValue(x){this._badge.textValue!=x&&(this._badge.textValue=x)}get textValue(){return this._badge.textValue}set color(x){this._badge.color!=x&&(this._badge.color=x)}get color(){return this._badge.color}set class(x){this._badge.class!=x&&(this._badge.class=x)}get class(){return"badge "+(this.rounded?"rounded-pill ":"")+(this.maxWidth?"text-break text-wrap ":"")+this.getClassBgColor(this.color)+(this._badge.class?" "+this._badge.class:"")}set maxWidth(x){this._badge.maxWidth!=x&&(this._badge.maxWidth=x)}get maxWidth(){return this._badge.maxWidth||150}constructor(x){super(x),this.injector=x,this.rounded=!0,this._badge={}}ngOnInit(){}generatedBadgeId(x,H){return this.generatedId((x.label||x.hint||x.icon||"_badge")+(H||""))}onBadgeClick(x){this.click&&this.click(this.data)}fromLookup(){this._lookup&&(Object.assign(this._badge,{color:this._lookup.color,icon:this._lookup.icon,label:this._lookup.value,data:this._lookup}),this._badge.id=this.generatedButtonId(this._badge),this.detectChanges())}get style(){return this.getStyleBgColor(this.color)}static#e=this.\u0275fac=function(H){return new(H||j)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:j,selectors:[["badge"]],inputs:{badge:"badge",lookup:"lookup",click:"click",data:"data",hint:"hint",icon:"icon",img:"img",label:"label",textValue:"textValue",color:"color",class:"class",maxWidth:"maxWidth",rounded:"rounded"},features:[t.qOj],ngContentSelectors:b,decls:8,vars:13,consts:[["data-bs-toggle","tooltip","data-bs-placement","top",3,"id","title","click"],[1,"d-flex","align-items-center"],["width","15","height","15",3,"src",4,"ngIf"],[3,"class",4,"ngIf"],[1,"text-truncate","ms-1"],["class","textValue rounded-end-pill text-truncate",4,"ngIf"],["width","15","height","15",3,"src"],[1,"textValue","rounded-end-pill","text-truncate"]],template:function(H,k){1&H&&(t.F$t(),t.TgZ(0,"span",0),t.NdJ("click",function(X){return k.onBadgeClick(X)}),t.TgZ(1,"div",1),t.YNc(2,a,1,1,"img",2),t.YNc(3,y,1,2,"i",3),t.TgZ(4,"div",4),t._uU(5),t.qZA(),t.YNc(6,C,2,1,"span",5),t.Hsn(7),t.qZA()()),2&H&&(t.Akn(k.style),t.Tol(k.class+(k.textValue?" withTextValue":"")),t.Udp("max-width",k.maxWidth,"px"),t.Q6J("id",k.generatedId(k.label)+"_bedge")("title",k.hint||k.label),t.uIk("role",k.click?"button":void 0),t.xp6(2),t.Q6J("ngIf",null==k.img?null:k.img.length),t.xp6(1),t.Q6J("ngIf",null==k.icon?null:k.icon.length),t.xp6(2),t.Oqu(k.label||""),t.xp6(1),t.Q6J("ngIf",k.textValue))},dependencies:[A.O5]})}return j})()},5736:(lt,_e,m)=>{"use strict";m.d(_e,{V:()=>A});var i=m(755),t=m(9193);let A=(()=>{class a{getStyleBgColor(C){if(!Object.keys(this._bgColors).includes(C||"")){const b=C||"#000000";return`background-color: ${b}; color: ${this.util.contrastColor(b)};`}}getClassBgColor(C){return Object.keys(this._bgColors).includes(C||"")?this._bgColors[C].class:""}getClassButtonColor(C){return Object.keys(this._bgColors).includes(C||"")?"btn-outline-"+C:C}getClassBorderColor(C){return Object.keys(this._bgColors).includes(C||"")?"border-"+C:C}getHexColor(C){return Object.keys(this._bgColors).includes(C||"")?this._bgColors[C].hex:C}generatedId(C){let b=this.relativeId||C;return this._generatedId||(this._generatedId="ID_"+this.ID_GENERATOR_BASE),this._generatedId+(b?.length?"_"+this.util.onlyAlphanumeric(b):"")}generatedButtonId(C,b){return this.generatedId((C.id||C.label||C.hint||C.icon||"_button")+(b||""))}detectChanges(){this.viewInit?this.cdRef.detectChanges():this.cdRef.markForCheck()}constructor(C){this.injector=C,this.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,this.viewInit=!1,this._bgColors={primary:{class:"bg-primary ",hex:"#0d6efd"},secondary:{class:"bg-secondary ",hex:"#6c757d"},success:{class:"bg-success ",hex:"#198754"},danger:{class:"bg-danger ",hex:"#dc3545"},warning:{class:"bg-warning text-dark ",hex:"#212529"},info:{class:"bg-info text-dark ",hex:"#212529"},light:{class:"bg-light text-dark ",hex:"#f8f9fa"},dark:{class:"bg-dark ",hex:"#212529"},none:{class:"",hex:""}},this.cdRef=C.get(i.sBO),this.selfElement=C.get(i.SBq),this.util=C.get(t.f),this.selfElement.nativeElement.component=this,this.ID_GENERATOR_BASE=C.get("ID_GENERATOR_BASE")}ngAfterViewInit(){this.viewInit=!0}focus(){}static#e=this.\u0275fac=function(b){return new(b||a)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:a,factory:a.\u0275fac})}return a})()},2662:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>dc});var i=m(6733),t=m(2133),A=m(2953),a=m(755),y=m(9838),C=m(2815),b=m(3148),N=m(8206),j=m(8393),F=m(9705),x=m(2285),H=m(9202),k=m(5315);let P=(()=>{class he extends k.s{static \u0275fac=function(){let L;return function(je){return(L||(L=a.n5z(he)))(je||he)}}();static \u0275cmp=a.Xpm({type:he,selectors:[["MinusIcon"]],standalone:!0,features:[a.qOj,a.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(Ue,je){1&Ue&&(a.O4$(),a.TgZ(0,"svg",0),a._UZ(1,"path",1),a.qZA()),2&Ue&&(a.Tol(je.getClassNames()),a.uIk("aria-label",je.ariaLabel)("aria-hidden",je.ariaHidden)("role",je.role))},dependencies:[i.ez],encapsulation:2})}return he})(),X=(()=>{class he extends k.s{pathId;ngOnInit(){this.pathId="url(#"+(0,j.Th)()+")"}static \u0275fac=function(){let L;return function(je){return(L||(L=a.n5z(he)))(je||he)}}();static \u0275cmp=a.Xpm({type:he,selectors:[["PlusIcon"]],standalone:!0,features:[a.qOj,a.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(Ue,je){1&Ue&&(a.O4$(),a.TgZ(0,"svg",0)(1,"g"),a._UZ(2,"path",1),a.qZA(),a.TgZ(3,"defs")(4,"clipPath",2),a._UZ(5,"rect",3),a.qZA()()()),2&Ue&&(a.Tol(je.getClassNames()),a.uIk("aria-label",je.ariaLabel)("aria-hidden",je.ariaHidden)("role",je.role),a.xp6(1),a.uIk("clip-path",je.pathId),a.xp6(3),a.Q6J("id",je.pathId))},encapsulation:2})}return he})();var me=m(5785),Oe=m(7848);const Se=function(he){return{"p-treenode-droppoint-active":he}};function wt(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"li",4),a.NdJ("drop",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPoint(je,-1))})("dragover",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragOver(je))})("dragenter",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragEnter(je,-1))})("dragleave",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragLeave(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("ngClass",a.VKq(1,Se,L.draghoverPrev))}}function K(he,jt){1&he&&a._UZ(0,"ChevronRightIcon",14),2&he&&a.Q6J("styleClass","p-tree-toggler-icon")}function V(he,jt){1&he&&a._UZ(0,"ChevronDownIcon",14),2&he&&a.Q6J("styleClass","p-tree-toggler-icon")}function J(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,K,1,1,"ChevronRightIcon",13),a.YNc(2,V,1,1,"ChevronDownIcon",13),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngIf",!L.node.expanded),a.xp6(1),a.Q6J("ngIf",L.node.expanded)}}function ae(he,jt){}function oe(he,jt){1&he&&a.YNc(0,ae,0,0,"ng-template")}const ye=function(he){return{$implicit:he}};function Ee(he,jt){if(1&he&&(a.TgZ(0,"span",15),a.YNc(1,oe,1,0,null,16),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.togglerIconTemplate)("ngTemplateOutletContext",a.VKq(2,ye,L.node.expanded))}}function Ge(he,jt){1&he&&a._UZ(0,"CheckIcon",14),2&he&&a.Q6J("styleClass","p-checkbox-icon")}function gt(he,jt){1&he&&a._UZ(0,"MinusIcon",14),2&he&&a.Q6J("styleClass","p-checkbox-icon")}function Ze(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Ge,1,1,"CheckIcon",13),a.YNc(2,gt,1,1,"MinusIcon",13),a.BQk()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngIf",!L.node.partialSelected&&L.isSelected()),a.xp6(1),a.Q6J("ngIf",L.node.partialSelected)}}function Je(he,jt){}function tt(he,jt){1&he&&a.YNc(0,Je,0,0,"ng-template")}const Qe=function(he){return{"p-checkbox-disabled":he}},pt=function(he,jt){return{"p-highlight":he,"p-indeterminate":jt}},Nt=function(he,jt){return{$implicit:he,partialSelected:jt}};function Jt(he,jt){if(1&he&&(a.TgZ(0,"div",17)(1,"div",18),a.YNc(2,Ze,3,2,"ng-container",8),a.YNc(3,tt,1,0,null,16),a.qZA()()),2&he){const L=a.oxw(3);a.Q6J("ngClass",a.VKq(5,Qe,!1===L.node.selectable)),a.xp6(1),a.Q6J("ngClass",a.WLB(7,pt,L.isSelected(),L.node.partialSelected)),a.xp6(1),a.Q6J("ngIf",!L.tree.checkboxIconTemplate),a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.checkboxIconTemplate)("ngTemplateOutletContext",a.WLB(10,Nt,L.isSelected(),L.node.partialSelected))}}function nt(he,jt){if(1&he&&a._UZ(0,"span"),2&he){const L=a.oxw(3);a.Tol(L.getIcon())}}function ot(he,jt){if(1&he&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.AsE("",L.node.label," ",L.node.children?L.node.children.length:0,"")}}function Ct(he,jt){1&he&&a.GkF(0)}function He(he,jt){if(1&he&&(a.TgZ(0,"span"),a.YNc(1,Ct,1,0,"ng-container",16),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.getTemplateForNode(L.node))("ngTemplateOutletContext",a.VKq(2,ye,L.node))}}function mt(he,jt){if(1&he&&a._UZ(0,"p-treeNode",21),2&he){const L=jt.$implicit,Ue=jt.first,je=jt.last,E=jt.index,v=a.oxw(4);a.Q6J("node",L)("parentNode",v.node)("firstChild",Ue)("lastChild",je)("index",E)("itemSize",v.itemSize)("level",v.level+1)}}function vt(he,jt){if(1&he&&(a.TgZ(0,"ul",19),a.YNc(1,mt,1,7,"p-treeNode",20),a.qZA()),2&he){const L=a.oxw(3);a.Udp("display",L.node.expanded?"block":"none"),a.xp6(1),a.Q6J("ngForOf",L.node.children)("ngForTrackBy",L.tree.trackBy)}}const hn=function(he,jt){return["p-treenode",he,jt]},yt=function(he){return{height:he}},Fn=function(he,jt,L){return{"p-treenode-selectable":he,"p-treenode-dragover":jt,"p-highlight":L}};function xn(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"li",5),a.NdJ("keydown",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onKeyDown(je))}),a.TgZ(1,"div",6),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeClick(je))})("contextmenu",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeRightClick(je))})("touchend",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onNodeTouchEnd())})("drop",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNode(je))})("dragover",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNodeDragOver(je))})("dragenter",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNodeDragEnter(je))})("dragleave",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropNodeDragLeave(je))})("dragstart",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDragStart(je))})("dragend",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDragStop(je))}),a.TgZ(2,"button",7),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.toggle(je))}),a.YNc(3,J,3,2,"ng-container",8),a.YNc(4,Ee,2,4,"span",9),a.qZA(),a.YNc(5,Jt,4,13,"div",10),a.YNc(6,nt,1,2,"span",3),a.TgZ(7,"span",11),a.YNc(8,ot,2,2,"span",8),a.YNc(9,He,2,4,"span",8),a.qZA()(),a.YNc(10,vt,2,4,"ul",12),a.qZA()}if(2&he){const L=a.oxw(2);a.Akn(L.node.style),a.Q6J("ngClass",a.WLB(24,hn,L.node.styleClass||"",L.isLeaf()?"p-treenode-leaf":""))("ngStyle",a.VKq(27,yt,L.itemSize+"px")),a.uIk("aria-label",L.node.label)("aria-checked",L.ariaChecked)("aria-setsize",L.node.children?L.node.children.length:0)("aria-selected",L.ariaSelected)("aria-expanded",L.node.expanded)("aria-posinset",L.index+1)("aria-level",L.level)("tabindex",0===L.index?0:-1),a.xp6(1),a.Udp("padding-left",L.level*L.indentation+"rem"),a.Q6J("draggable",L.tree.draggableNodes)("ngClass",a.kEZ(29,Fn,L.tree.selectionMode&&!1!==L.node.selectable,L.draghoverNode,L.isSelected())),a.xp6(1),a.uIk("data-pc-section","toggler"),a.xp6(1),a.Q6J("ngIf",!L.tree.togglerIconTemplate),a.xp6(1),a.Q6J("ngIf",L.tree.togglerIconTemplate),a.xp6(1),a.Q6J("ngIf","checkbox"==L.tree.selectionMode),a.xp6(1),a.Q6J("ngIf",L.node.icon||L.node.expandedIcon||L.node.collapsedIcon),a.xp6(2),a.Q6J("ngIf",!L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",!L.tree.virtualScroll&&L.node.children&&L.node.expanded)}}function In(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"li",4),a.NdJ("drop",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPoint(je,1))})("dragover",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragOver(je))})("dragenter",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragEnter(je,1))})("dragleave",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onDropPointDragLeave(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("ngClass",a.VKq(1,Se,L.draghoverNext))}}const dn=function(he){return{"p-treenode-connector-line":he}};function qn(he,jt){if(1&he&&(a.TgZ(0,"td",27)(1,"table",28)(2,"tbody")(3,"tr"),a._UZ(4,"td",29),a.qZA(),a.TgZ(5,"tr"),a._UZ(6,"td",29),a.qZA()()()()),2&he){const L=a.oxw(3);a.xp6(4),a.Q6J("ngClass",a.VKq(2,dn,!L.firstChild)),a.xp6(2),a.Q6J("ngClass",a.VKq(4,dn,!L.lastChild))}}function di(he,jt){if(1&he&&a._UZ(0,"PlusIcon",32),2&he){const L=a.oxw(5);a.Q6J("styleClass","p-tree-toggler-icon")("ariaLabel",L.tree.togglerAriaLabel)}}function ir(he,jt){if(1&he&&a._UZ(0,"MinusIcon",32),2&he){const L=a.oxw(5);a.Q6J("styleClass","p-tree-toggler-icon")("ariaLabel",L.tree.togglerAriaLabel)}}function Bn(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,di,1,2,"PlusIcon",31),a.YNc(2,ir,1,2,"MinusIcon",31),a.BQk()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngIf",!L.node.expanded),a.xp6(1),a.Q6J("ngIf",L.node.expanded)}}function xi(he,jt){}function fi(he,jt){1&he&&a.YNc(0,xi,0,0,"ng-template")}function Mt(he,jt){if(1&he&&(a.TgZ(0,"span",15),a.YNc(1,fi,1,0,null,16),a.qZA()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.togglerIconTemplate)("ngTemplateOutletContext",a.VKq(2,ye,L.node.expanded))}}function Ot(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"span",30),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(3);return a.KtG(E.toggle(je))}),a.YNc(1,Bn,3,2,"ng-container",8),a.YNc(2,Mt,2,4,"span",9),a.qZA()}if(2&he){const L=a.oxw(3);a.Q6J("ngClass","p-tree-toggler"),a.xp6(1),a.Q6J("ngIf",!L.tree.togglerIconTemplate),a.xp6(1),a.Q6J("ngIf",L.tree.togglerIconTemplate)}}function ve(he,jt){if(1&he&&a._UZ(0,"span"),2&he){const L=a.oxw(3);a.Tol(L.getIcon())}}function De(he,jt){if(1&he&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Oqu(L.node.label)}}function xe(he,jt){1&he&&a.GkF(0)}function Ye(he,jt){if(1&he&&(a.TgZ(0,"span"),a.YNc(1,xe,1,0,"ng-container",16),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.tree.getTemplateForNode(L.node))("ngTemplateOutletContext",a.VKq(2,ye,L.node))}}function xt(he,jt){if(1&he&&a._UZ(0,"p-treeNode",36),2&he){const Ue=jt.first,je=jt.last;a.Q6J("node",jt.$implicit)("firstChild",Ue)("lastChild",je)}}function cn(he,jt){if(1&he&&(a.TgZ(0,"td",33)(1,"div",34),a.YNc(2,xt,1,3,"p-treeNode",35),a.qZA()()),2&he){const L=a.oxw(3);a.Udp("display",L.node.expanded?"table-cell":"none"),a.xp6(2),a.Q6J("ngForOf",L.node.children)("ngForTrackBy",L.tree.trackBy)}}const Kn=function(he){return{"p-treenode-collapsed":he}},An=function(he,jt){return{"p-treenode-selectable":he,"p-highlight":jt}};function gs(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"table")(1,"tbody")(2,"tr"),a.YNc(3,qn,7,6,"td",22),a.TgZ(4,"td",23)(5,"div",24),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeClick(je))})("contextmenu",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeRightClick(je))})("touchend",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onNodeTouchEnd())})("keydown",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onNodeKeydown(je))}),a.YNc(6,Ot,3,3,"span",25),a.YNc(7,ve,1,2,"span",3),a.TgZ(8,"span",11),a.YNc(9,De,2,1,"span",8),a.YNc(10,Ye,2,4,"span",8),a.qZA()()(),a.YNc(11,cn,3,4,"td",26),a.qZA()()()}if(2&he){const L=a.oxw(2);a.Tol(L.node.styleClass),a.xp6(3),a.Q6J("ngIf",!L.root),a.xp6(1),a.Q6J("ngClass",a.VKq(10,Kn,!L.node.expanded)),a.xp6(1),a.Q6J("ngClass",a.WLB(12,An,L.tree.selectionMode,L.isSelected())),a.xp6(1),a.Q6J("ngIf",!L.isLeaf()),a.xp6(1),a.Q6J("ngIf",L.node.icon||L.node.expandedIcon||L.node.collapsedIcon),a.xp6(2),a.Q6J("ngIf",!L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",L.tree.getTemplateForNode(L.node)),a.xp6(1),a.Q6J("ngIf",L.node.children&&L.node.expanded)}}function Qt(he,jt){if(1&he&&(a.YNc(0,wt,1,3,"li",1),a.YNc(1,xn,11,33,"li",2),a.YNc(2,In,1,3,"li",1),a.YNc(3,gs,12,15,"table",3)),2&he){const L=a.oxw();a.Q6J("ngIf",L.tree.droppableNodes),a.xp6(1),a.Q6J("ngIf",!L.tree.horizontal),a.xp6(1),a.Q6J("ngIf",L.tree.droppableNodes&&L.lastChild),a.xp6(1),a.Q6J("ngIf",L.tree.horizontal)}}const ki=["filter"],ta=["scroller"],Pi=["wrapper"];function co(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(3);a.Tol("p-tree-loading-icon pi-spin "+L.loadingIcon)}}function Or(he,jt){1&he&&a._UZ(0,"SpinnerIcon",13),2&he&&a.Q6J("spin",!0)("styleClass","p-tree-loading-icon")}function Dr(he,jt){}function bs(he,jt){1&he&&a.YNc(0,Dr,0,0,"ng-template")}function Do(he,jt){if(1&he&&(a.TgZ(0,"span",14),a.YNc(1,bs,1,0,null,4),a.qZA()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngTemplateOutlet",L.loadingIconTemplate)}}function Ms(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Or,1,2,"SpinnerIcon",11),a.YNc(2,Do,2,1,"span",12),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngIf",!L.loadingIconTemplate),a.xp6(1),a.Q6J("ngIf",L.loadingIconTemplate)}}function Ls(he,jt){if(1&he&&(a.TgZ(0,"div",9),a.YNc(1,co,1,2,"i",10),a.YNc(2,Ms,3,2,"ng-container",7),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",L.loadingIcon),a.xp6(1),a.Q6J("ngIf",!L.loadingIcon)}}function On(he,jt){1&he&&a.GkF(0)}function mr(he,jt){1&he&&a._UZ(0,"SearchIcon",20),2&he&&a.Q6J("styleClass","p-tree-filter-icon")}function Pt(he,jt){}function ln(he,jt){1&he&&a.YNc(0,Pt,0,0,"ng-template")}function Yt(he,jt){if(1&he&&(a.TgZ(0,"span",21),a.YNc(1,ln,1,0,null,4),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.filterIconTemplate)}}function li(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",15)(1,"input",16,17),a.NdJ("keydown.enter",function(je){return je.preventDefault()})("input",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E._filter(je.target.value))}),a.qZA(),a.YNc(3,mr,1,1,"SearchIcon",18),a.YNc(4,Yt,2,1,"span",19),a.qZA()}if(2&he){const L=a.oxw(2);a.xp6(1),a.uIk("placeholder",L.filterPlaceholder),a.xp6(2),a.Q6J("ngIf",!L.filterIconTemplate),a.xp6(1),a.Q6J("ngIf",L.filterIconTemplate)}}function Qr(he,jt){if(1&he&&a._UZ(0,"p-treeNode",28,29),2&he){const L=jt.$implicit,Ue=jt.first,je=jt.last,E=jt.index,v=a.oxw(2).options,M=a.oxw(3);a.Q6J("level",L.level)("rowNode",L)("node",L.node)("firstChild",Ue)("lastChild",je)("index",M.getIndex(v,E))("itemSize",v.itemSize)("indentation",M.indentation)}}function Sr(he,jt){if(1&he&&(a.TgZ(0,"ul",26),a.YNc(1,Qr,2,8,"p-treeNode",27),a.qZA()),2&he){const L=a.oxw(),Ue=L.options,je=L.$implicit,E=a.oxw(3);a.Akn(Ue.contentStyle),a.Q6J("ngClass",Ue.contentStyleClass),a.uIk("aria-label",E.ariaLabel)("aria-labelledby",E.ariaLabelledBy),a.xp6(1),a.Q6J("ngForOf",je)("ngForTrackBy",E.trackBy)}}function Pn(he,jt){1&he&&a.YNc(0,Sr,2,7,"ul",25),2&he&&a.Q6J("ngIf",jt.$implicit)}function sn(he,jt){1&he&&a.GkF(0)}const Rt=function(he){return{options:he}};function Bt(he,jt){if(1&he&&a.YNc(0,sn,1,0,"ng-container",31),2&he){const L=jt.options,Ue=a.oxw(4);a.Q6J("ngTemplateOutlet",Ue.loaderTemplate)("ngTemplateOutletContext",a.VKq(2,Rt,L))}}function bn(he,jt){1&he&&(a.ynx(0),a.YNc(1,Bt,1,4,"ng-template",30),a.BQk())}function mi(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"p-scroller",22,23),a.NdJ("onScroll",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onScroll.emit(je))})("onScrollIndexChange",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onScrollIndexChange.emit(je))})("onLazyLoad",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onLazyLoad.emit(je))}),a.YNc(2,Pn,1,1,"ng-template",24),a.YNc(3,bn,2,0,"ng-container",7),a.qZA()}if(2&he){const L=a.oxw(2);a.Akn(a.VKq(9,yt,"flex"!==L.scrollHeight?L.scrollHeight:void 0)),a.Q6J("items",L.serializedValue)("tabindex",-1)("scrollHeight","flex"!==L.scrollHeight?void 0:"100%")("itemSize",L.virtualScrollItemSize||L._virtualNodeHeight)("lazy",L.lazy)("options",L.virtualScrollOptions),a.xp6(3),a.Q6J("ngIf",L.loaderTemplate)}}function rr(he,jt){if(1&he&&a._UZ(0,"p-treeNode",37),2&he){const Ue=jt.first,je=jt.last,E=jt.index;a.Q6J("node",jt.$implicit)("firstChild",Ue)("lastChild",je)("index",E)("level",0)}}function Ri(he,jt){if(1&he&&(a.TgZ(0,"ul",35),a.YNc(1,rr,1,5,"p-treeNode",36),a.qZA()),2&he){const L=a.oxw(3);a.uIk("aria-label",L.ariaLabel)("aria-labelledby",L.ariaLabelledBy),a.xp6(1),a.Q6J("ngForOf",L.getRootNode())("ngForTrackBy",L.trackBy)}}function Ur(he,jt){if(1&he&&(a.ynx(0),a.TgZ(1,"div",32,33),a.YNc(3,Ri,2,4,"ul",34),a.qZA(),a.BQk()),2&he){const L=a.oxw(2);a.xp6(1),a.Udp("max-height",L.scrollHeight),a.xp6(2),a.Q6J("ngIf",L.getRootNode())}}function mn(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.hij(" ",L.emptyMessageLabel," ")}}function Xe(he,jt){1&he&&a.GkF(0,null,40)}function ke(he,jt){if(1&he&&(a.TgZ(0,"div",38),a.YNc(1,mn,2,1,"ng-container",39),a.YNc(2,Xe,2,0,"ng-container",4),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",!L.emptyMessageTemplate)("ngIfElse",L.emptyFilter),a.xp6(1),a.Q6J("ngTemplateOutlet",L.emptyMessageTemplate)}}function ge(he,jt){1&he&&a.GkF(0)}const Ae=function(he,jt,L,Ue){return{"p-tree p-component":!0,"p-tree-selectable":he,"p-treenode-dragover":jt,"p-tree-loading":L,"p-tree-flex-scrollable":Ue}};function it(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",2),a.NdJ("drop",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onDrop(je))})("dragover",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onDragOver(je))})("dragenter",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onDragEnter())})("dragleave",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onDragLeave(je))}),a.YNc(1,Ls,3,2,"div",3),a.YNc(2,On,1,0,"ng-container",4),a.YNc(3,li,5,3,"div",5),a.YNc(4,mi,4,11,"p-scroller",6),a.YNc(5,Ur,4,3,"ng-container",7),a.YNc(6,ke,3,3,"div",8),a.YNc(7,ge,1,0,"ng-container",4),a.qZA()}if(2&he){const L=a.oxw();a.Tol(L.styleClass),a.Q6J("ngClass",a.l5B(11,Ae,L.selectionMode,L.dragHover,L.loading,"flex"===L.scrollHeight))("ngStyle",L.style),a.xp6(1),a.Q6J("ngIf",L.loading),a.xp6(1),a.Q6J("ngTemplateOutlet",L.headerTemplate),a.xp6(1),a.Q6J("ngIf",L.filter),a.xp6(1),a.Q6J("ngIf",L.virtualScroll),a.xp6(1),a.Q6J("ngIf",!L.virtualScroll),a.xp6(1),a.Q6J("ngIf",!L.loading&&(null==L.getRootNode()||0===L.getRootNode().length)),a.xp6(1),a.Q6J("ngTemplateOutlet",L.footerTemplate)}}function Ht(he,jt){1&he&&a.GkF(0)}function Kt(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(3);a.Tol("p-tree-loading-icon pi-spin "+L.loadingIcon)}}function yn(he,jt){1&he&&a._UZ(0,"SpinnerIcon",13),2&he&&a.Q6J("spin",!0)("styleClass","p-tree-loading-icon")}function Tn(he,jt){}function pi(he,jt){1&he&&a.YNc(0,Tn,0,0,"ng-template")}function nn(he,jt){if(1&he&&(a.TgZ(0,"span",14),a.YNc(1,pi,1,0,null,4),a.qZA()),2&he){const L=a.oxw(4);a.xp6(1),a.Q6J("ngTemplateOutlet",L.loadingIconTemplate)}}function Ti(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,yn,1,2,"SpinnerIcon",11),a.YNc(2,nn,2,1,"span",12),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngIf",!L.loadingIconTemplate),a.xp6(1),a.Q6J("ngIf",L.loadingIconTemplate)}}function yi(he,jt){if(1&he&&(a.TgZ(0,"div",43),a.YNc(1,Kt,1,2,"i",10),a.YNc(2,Ti,3,2,"ng-container",7),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",L.loadingIcon),a.xp6(1),a.Q6J("ngIf",!L.loadingIcon)}}function Hr(he,jt){if(1&he&&(a.TgZ(0,"table"),a._UZ(1,"p-treeNode",44),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("node",L.value[0])("root",!0)}}function ss(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.hij(" ",L.emptyMessageLabel," ")}}function wr(he,jt){1&he&&a.GkF(0,null,40)}function Ki(he,jt){if(1&he&&(a.TgZ(0,"div",38),a.YNc(1,ss,2,1,"ng-container",39),a.YNc(2,wr,2,0,"ng-container",4),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngIf",!L.emptyMessageTemplate)("ngIfElse",L.emptyFilter),a.xp6(1),a.Q6J("ngTemplateOutlet",L.emptyMessageTemplate)}}function yr(he,jt){1&he&&a.GkF(0)}const jr=function(he){return{"p-tree p-tree-horizontal p-component":!0,"p-tree-selectable":he}};function xs(he,jt){if(1&he&&(a.TgZ(0,"div",41),a.YNc(1,Ht,1,0,"ng-container",4),a.YNc(2,yi,3,2,"div",42),a.YNc(3,Hr,2,2,"table",7),a.YNc(4,Ki,3,3,"div",8),a.YNc(5,yr,1,0,"ng-container",4),a.qZA()),2&he){const L=a.oxw();a.Tol(L.styleClass),a.Q6J("ngClass",a.VKq(9,jr,L.selectionMode))("ngStyle",L.style),a.xp6(1),a.Q6J("ngTemplateOutlet",L.headerTemplate),a.xp6(1),a.Q6J("ngIf",L.loading),a.xp6(1),a.Q6J("ngIf",L.value&&L.value[0]),a.xp6(1),a.Q6J("ngIf",!L.loading&&(null==L.getRootNode()||0===L.getRootNode().length)),a.xp6(1),a.Q6J("ngTemplateOutlet",L.footerTemplate)}}let Co=(()=>{class he{static ICON_CLASS="p-treenode-icon ";rowNode;node;parentNode;root;index;firstChild;lastChild;level;indentation;itemSize;tree;timeout;draghoverPrev;draghoverNext;draghoverNode;get ariaSelected(){return"single"===this.tree.selectionMode||"multiple"===this.tree.selectionMode?this.isSelected():void 0}get ariaChecked(){return"checkbox"===this.tree.selectionMode?this.isSelected():void 0}constructor(L){this.tree=L}ngOnInit(){this.node.parent=this.parentNode,this.parentNode&&(this.setAllNodesTabIndexes(),this.tree.syncNodeOption(this.node,this.tree.value,"parent",this.tree.getNodeWithKey(this.parentNode.key,this.tree.value)))}getIcon(){let L;return L=this.node.icon?this.node.icon:this.node.expanded&&this.node.children&&this.node.children?.length?this.node.expandedIcon:this.node.collapsedIcon,he.ICON_CLASS+" "+L}isLeaf(){return this.tree.isNodeLeaf(this.node)}toggle(L){this.node.expanded?this.collapse(L):this.expand(L),L.stopPropagation()}expand(L){this.node.expanded=!0,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeExpand.emit({originalEvent:L,node:this.node})}collapse(L){this.node.expanded=!1,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeCollapse.emit({originalEvent:L,node:this.node})}onNodeClick(L){this.tree.onNodeClick(L,this.node)}onNodeKeydown(L){"Enter"===L.key&&this.tree.onNodeClick(L,this.node)}onNodeTouchEnd(){this.tree.onNodeTouchEnd()}onNodeRightClick(L){this.tree.onNodeRightClick(L,this.node)}isSelected(){return this.tree.isSelected(this.node)}isSameNode(L){return L.currentTarget&&(L.currentTarget.isSameNode(L.target)||L.currentTarget.isSameNode(L.target.closest('[role="treeitem"]')))}onDropPoint(L,Ue){L.preventDefault();let je=this.tree.dragNode,M=this.tree.dragNodeTree!==this.tree||1===Ue||this.tree.dragNodeIndex!==this.index-1;if(this.tree.allowDrop(je,this.node,this.tree.dragNodeScope)&&M){let W={...this.createDropPointEventMetadata(Ue)};this.tree.validateDrop?this.tree.onNodeDrop.emit({originalEvent:L,dragNode:je,dropNode:this.node,index:this.index,accept:()=>{this.processPointDrop(W)}}):(this.processPointDrop(W),this.tree.onNodeDrop.emit({originalEvent:L,dragNode:je,dropNode:this.node,index:this.index}))}this.draghoverPrev=!1,this.draghoverNext=!1}processPointDrop(L){let Ue=L.dropNode.parent?L.dropNode.parent.children:this.tree.value;L.dragNodeSubNodes.splice(L.dragNodeIndex,1);let je=this.index;L.position<0?(je=L.dragNodeSubNodes===Ue?L.dragNodeIndex>L.index?L.index:L.index-1:L.index,Ue.splice(je,0,L.dragNode)):(je=Ue.length,Ue.push(L.dragNode)),this.tree.dragDropService.stopDrag({node:L.dragNode,subNodes:L.dropNode.parent?L.dropNode.parent.children:this.tree.value,index:L.dragNodeIndex})}createDropPointEventMetadata(L){return{dragNode:this.tree.dragNode,dragNodeIndex:this.tree.dragNodeIndex,dragNodeSubNodes:this.tree.dragNodeSubNodes,dropNode:this.node,index:this.index,position:L}}onDropPointDragOver(L){L.dataTransfer.dropEffect="move",L.preventDefault()}onDropPointDragEnter(L,Ue){this.tree.allowDrop(this.tree.dragNode,this.node,this.tree.dragNodeScope)&&(Ue<0?this.draghoverPrev=!0:this.draghoverNext=!0)}onDropPointDragLeave(L){this.draghoverPrev=!1,this.draghoverNext=!1}onDragStart(L){this.tree.draggableNodes&&!1!==this.node.draggable?(L.dataTransfer.setData("text","data"),this.tree.dragDropService.startDrag({tree:this,node:this.node,subNodes:this.node?.parent?this.node.parent.children:this.tree.value,index:this.index,scope:this.tree.draggableScope})):L.preventDefault()}onDragStop(L){this.tree.dragDropService.stopDrag({node:this.node,subNodes:this.node?.parent?this.node.parent.children:this.tree.value,index:this.index})}onDropNodeDragOver(L){L.dataTransfer.dropEffect="move",this.tree.droppableNodes&&(L.preventDefault(),L.stopPropagation())}onDropNode(L){if(this.tree.droppableNodes&&!1!==this.node?.droppable){let Ue=this.tree.dragNode;if(this.tree.allowDrop(Ue,this.node,this.tree.dragNodeScope)){let je={...this.createDropNodeEventMetadata()};this.tree.validateDrop?this.tree.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:this.node,index:this.index,accept:()=>{this.processNodeDrop(je)}}):(this.processNodeDrop(je),this.tree.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:this.node,index:this.index}))}}L.preventDefault(),L.stopPropagation(),this.draghoverNode=!1}createDropNodeEventMetadata(){return{dragNode:this.tree.dragNode,dragNodeIndex:this.tree.dragNodeIndex,dragNodeSubNodes:this.tree.dragNodeSubNodes,dropNode:this.node}}processNodeDrop(L){let Ue=L.dragNodeIndex;L.dragNodeSubNodes.splice(Ue,1),L.dropNode.children?L.dropNode.children.push(L.dragNode):L.dropNode.children=[L.dragNode],this.tree.dragDropService.stopDrag({node:L.dragNode,subNodes:L.dropNode.parent?L.dropNode.parent.children:this.tree.value,index:Ue})}onDropNodeDragEnter(L){this.tree.droppableNodes&&!1!==this.node?.droppable&&this.tree.allowDrop(this.tree.dragNode,this.node,this.tree.dragNodeScope)&&(this.draghoverNode=!0)}onDropNodeDragLeave(L){if(this.tree.droppableNodes){let Ue=L.currentTarget.getBoundingClientRect();(L.x>Ue.left+Ue.width||L.x=Math.floor(Ue.top+Ue.height)||L.y0)this.focusRowChange(Ue,je.children[0]);else if(Ue.parentElement.nextElementSibling)this.focusRowChange(Ue,Ue.parentElement.nextElementSibling);else{let E=this.findNextSiblingOfAncestor(Ue.parentElement);E&&this.focusRowChange(Ue,E)}L.preventDefault()}onArrowRight(L){!this.node?.expanded&&!this.tree.isNodeLeaf(this.node)&&(this.expand(L),L.currentTarget.tabIndex=-1,setTimeout(()=>{this.onArrowDown(L)},1)),L.preventDefault()}onArrowLeft(L){const Ue="toggler"===L.target.getAttribute("data-pc-section")?L.target.closest('[role="treeitem"]'):L.target;if(0===this.level&&!this.node?.expanded)return!1;if(this.node?.expanded)return void this.collapse(L);let je=this.getParentNodeElement(Ue.parentElement);je&&this.focusRowChange(L.currentTarget,je),L.preventDefault()}onEnter(L){this.tree.onNodeClick(L,this.node),this.setTabIndexForSelectionMode(L,this.tree.nodeTouched),L.preventDefault()}setAllNodesTabIndexes(){const L=C.p.find(this.tree.el.nativeElement,".p-treenode"),Ue=[...L].some(je=>"true"===je.getAttribute("aria-selected")||"true"===je.getAttribute("aria-checked"));[...L].forEach(je=>{je.tabIndex=-1}),Ue?[...L].filter(E=>"true"===E.getAttribute("aria-selected")||"true"===E.getAttribute("aria-checked"))[0].tabIndex=0:[...L][0].tabIndex=0}setTabIndexForSelectionMode(L,Ue){if(null!==this.tree.selectionMode){const je=[...C.p.find(this.tree.el.nativeElement,".p-treenode")];L.currentTarget.tabIndex=!1===Ue?-1:0,je.every(E=>-1===E.tabIndex)&&(je[0].tabIndex=0)}}findNextSiblingOfAncestor(L){let Ue=this.getParentNodeElement(L);return Ue?Ue.nextElementSibling?Ue.nextElementSibling:this.findNextSiblingOfAncestor(Ue):null}findLastVisibleDescendant(L){const je=Array.from(L.children).find(E=>C.p.hasClass(E,"p-treenode")).children[1];return je&&je.children.length>0?this.findLastVisibleDescendant(je.children[je.children.length-1]):L}getParentNodeElement(L){const Ue=L.parentElement?.parentElement?.parentElement;return"P-TREENODE"===Ue?.tagName?Ue:null}focusNode(L){this.tree.droppableNodes?L.children[1].focus():L.children[0].focus()}focusRowChange(L,Ue,je){L.tabIndex="-1",Ue.children[0].tabIndex="0",this.focusNode(je||Ue)}focusVirtualNode(){this.timeout=setTimeout(()=>{let L=C.p.findSingle(document.body,`[data-id="${this.node?.key??this.node?.data}"]`);C.p.focus(L)},1)}static \u0275fac=function(Ue){return new(Ue||he)(a.Y36((0,a.Gpc)(()=>ns)))};static \u0275cmp=a.Xpm({type:he,selectors:[["p-treeNode"]],hostAttrs:[1,"p-element"],hostVars:1,hostBindings:function(Ue,je){2&Ue&&a.uIk("role","treeitem")},inputs:{rowNode:"rowNode",node:"node",parentNode:"parentNode",root:"root",index:"index",firstChild:"firstChild",lastChild:"lastChild",level:"level",indentation:"indentation",itemSize:"itemSize"},decls:1,vars:1,consts:[[3,"ngIf"],["class","p-treenode-droppoint",3,"ngClass","drop","dragover","dragenter","dragleave",4,"ngIf"],["role","treeitem",3,"ngClass","ngStyle","style","keydown",4,"ngIf"],[3,"class",4,"ngIf"],[1,"p-treenode-droppoint",3,"ngClass","drop","dragover","dragenter","dragleave"],["role","treeitem",3,"ngClass","ngStyle","keydown"],[1,"p-treenode-content",3,"draggable","ngClass","click","contextmenu","touchend","drop","dragover","dragenter","dragleave","dragstart","dragend"],["type","button","pRipple","","tabindex","-1","aria-hidden","true",1,"p-tree-toggler","p-link",3,"click"],[4,"ngIf"],["class","p-tree-toggler-icon",4,"ngIf"],["class","p-checkbox p-component","aria-hidden","true",3,"ngClass",4,"ngIf"],[1,"p-treenode-label"],["class","p-treenode-children","style","display: none;","role","group",3,"display",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[1,"p-tree-toggler-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"p-checkbox","p-component",3,"ngClass"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],["role","group",1,"p-treenode-children",2,"display","none"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level"],["class","p-treenode-connector",4,"ngIf"],[1,"p-treenode",3,"ngClass"],["tabindex","0",1,"p-treenode-content",3,"ngClass","click","contextmenu","touchend","keydown"],[3,"ngClass","click",4,"ngIf"],["class","p-treenode-children-container",3,"display",4,"ngIf"],[1,"p-treenode-connector"],[1,"p-treenode-connector-table"],[3,"ngClass"],[3,"ngClass","click"],[3,"styleClass","ariaLabel",4,"ngIf"],[3,"styleClass","ariaLabel"],[1,"p-treenode-children-container"],[1,"p-treenode-children"],[3,"node","firstChild","lastChild",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild"]],template:function(Ue,je){1&Ue&&a.YNc(0,Qt,4,4,"ng-template",0),2&Ue&&a.Q6J("ngIf",je.node)},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,b.H,F.n,x.v,H.X,P,X,he]},encapsulation:2})}return he})(),ns=(()=>{class he{el;dragDropService;config;cd;value;selectionMode;selection;style;styleClass;contextMenu;layout="vertical";draggableScope;droppableScope;draggableNodes;droppableNodes;metaKeySelection=!0;propagateSelectionUp=!0;propagateSelectionDown=!0;loading;loadingIcon;emptyMessage="";ariaLabel;togglerAriaLabel;ariaLabelledBy;validateDrop;filter;filterBy="label";filterMode="lenient";filterPlaceholder;filteredNodes;filterLocale;scrollHeight;lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;indentation=1.5;_templateMap;trackBy=(L,Ue)=>Ue;_virtualNodeHeight;get virtualNodeHeight(){return this._virtualNodeHeight}set virtualNodeHeight(L){this._virtualNodeHeight=L,console.warn("The virtualNodeHeight property is deprecated, use virtualScrollItemSize property instead.")}selectionChange=new a.vpe;onNodeSelect=new a.vpe;onNodeUnselect=new a.vpe;onNodeExpand=new a.vpe;onNodeCollapse=new a.vpe;onNodeContextMenuSelect=new a.vpe;onNodeDrop=new a.vpe;onLazyLoad=new a.vpe;onScroll=new a.vpe;onScrollIndexChange=new a.vpe;onFilter=new a.vpe;templates;filterViewChild;scroller;wrapperViewChild;serializedValue;headerTemplate;footerTemplate;loaderTemplate;emptyMessageTemplate;togglerIconTemplate;checkboxIconTemplate;loadingIconTemplate;filterIconTemplate;nodeTouched;dragNodeTree;dragNode;dragNodeSubNodes;dragNodeIndex;dragNodeScope;dragHover;dragStartSubscription;dragStopSubscription;constructor(L,Ue,je,E){this.el=L,this.dragDropService=Ue,this.config=je,this.cd=E}ngOnInit(){this.droppableNodes&&(this.dragStartSubscription=this.dragDropService.dragStart$.subscribe(L=>{this.dragNodeTree=L.tree,this.dragNode=L.node,this.dragNodeSubNodes=L.subNodes,this.dragNodeIndex=L.index,this.dragNodeScope=L.scope}),this.dragStopSubscription=this.dragDropService.dragStop$.subscribe(L=>{this.dragNodeTree=null,this.dragNode=null,this.dragNodeSubNodes=null,this.dragNodeIndex=null,this.dragNodeScope=null,this.dragHover=!1}))}ngOnChanges(L){L.value&&this.updateSerializedValue()}get horizontal(){return"horizontal"==this.layout}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(y.ws.EMPTY_MESSAGE)}ngAfterContentInit(){this.templates.length&&(this._templateMap={}),this.templates.forEach(L=>{switch(L.getType()){case"header":this.headerTemplate=L.template;break;case"empty":this.emptyMessageTemplate=L.template;break;case"footer":this.footerTemplate=L.template;break;case"loader":this.loaderTemplate=L.template;break;case"togglericon":this.togglerIconTemplate=L.template;break;case"checkboxicon":this.checkboxIconTemplate=L.template;break;case"loadingicon":this.loadingIconTemplate=L.template;break;case"filtericon":this.filterIconTemplate=L.template;break;default:this._templateMap[L.name]=L.template}})}updateSerializedValue(){this.serializedValue=[],this.serializeNodes(null,this.getRootNode(),0,!0)}serializeNodes(L,Ue,je,E){if(Ue&&Ue.length)for(let v of Ue){v.parent=L;const M={node:v,parent:L,level:je,visible:E&&(!L||L.expanded)};this.serializedValue.push(M),M.visible&&v.expanded&&this.serializeNodes(v,v.children,je+1,M.visible)}}onNodeClick(L,Ue){let je=L.target;if(!C.p.hasClass(je,"p-tree-toggler")&&!C.p.hasClass(je,"p-tree-toggler-icon")){if(this.selectionMode){if(!1===Ue.selectable||this.hasFilteredNodes()&&!(Ue=this.getNodeWithKey(Ue.key,this.value)))return;let E=this.findIndexInSelection(Ue),v=E>=0;if(this.isCheckboxSelectionMode())v?(this.propagateSelectionDown?this.propagateDown(Ue,!1):this.selection=this.selection.filter((M,W)=>W!=E),this.propagateSelectionUp&&Ue.parent&&this.propagateUp(Ue.parent,!1),this.selectionChange.emit(this.selection),this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.propagateSelectionDown?this.propagateDown(Ue,!0):this.selection=[...this.selection||[],Ue],this.propagateSelectionUp&&Ue.parent&&this.propagateUp(Ue.parent,!0),this.selectionChange.emit(this.selection),this.onNodeSelect.emit({originalEvent:L,node:Ue}));else if(!this.nodeTouched&&this.metaKeySelection){let W=L.metaKey||L.ctrlKey;v&&W?(this.isSingleSelectionMode()?this.selectionChange.emit(null):(this.selection=this.selection.filter((ue,be)=>be!=E),this.selectionChange.emit(this.selection)),this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.isSingleSelectionMode()?this.selectionChange.emit(Ue):this.isMultipleSelectionMode()&&(this.selection=W&&this.selection||[],this.selection=[...this.selection,Ue],this.selectionChange.emit(this.selection)),this.onNodeSelect.emit({originalEvent:L,node:Ue}))}else this.isSingleSelectionMode()?v?(this.selection=null,this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.selection=Ue,this.onNodeSelect.emit({originalEvent:L,node:Ue})):v?(this.selection=this.selection.filter((W,ue)=>ue!=E),this.onNodeUnselect.emit({originalEvent:L,node:Ue})):(this.selection=[...this.selection||[],Ue],this.onNodeSelect.emit({originalEvent:L,node:Ue})),this.selectionChange.emit(this.selection)}this.nodeTouched=!1}}onNodeTouchEnd(){this.nodeTouched=!0}onNodeRightClick(L,Ue){if(this.contextMenu){let je=L.target;if(je.className&&0===je.className.indexOf("p-tree-toggler"))return;this.findIndexInSelection(Ue)>=0||(this.isSingleSelectionMode()?this.selectionChange.emit(Ue):this.selectionChange.emit([Ue])),this.contextMenu.show(L),this.onNodeContextMenuSelect.emit({originalEvent:L,node:Ue})}}findIndexInSelection(L){let Ue=-1;if(this.selectionMode&&this.selection)if(this.isSingleSelectionMode())Ue=this.selection.key&&this.selection.key===L.key||this.selection==L?0:-1;else for(let je=0;je=0&&(this.selection=this.selection.filter((W,ue)=>ue!=M))}L.partialSelected=!!(v||E>0&&E!=L.children.length)}this.syncNodeOption(L,this.filteredNodes,"partialSelected")}let je=L.parent;je&&this.propagateUp(je,Ue)}propagateDown(L,Ue){let je=this.findIndexInSelection(L);if(Ue&&-1==je?this.selection=[...this.selection||[],L]:!Ue&&je>-1&&(this.selection=this.selection.filter((E,v)=>v!=je)),L.partialSelected=!1,this.syncNodeOption(L,this.filteredNodes,"partialSelected"),L.children&&L.children.length)for(let E of L.children)this.propagateDown(E,Ue)}isSelected(L){return-1!=this.findIndexInSelection(L)}isSingleSelectionMode(){return this.selectionMode&&"single"==this.selectionMode}isMultipleSelectionMode(){return this.selectionMode&&"multiple"==this.selectionMode}isCheckboxSelectionMode(){return this.selectionMode&&"checkbox"==this.selectionMode}isNodeLeaf(L){return 0!=L.leaf&&!(L.children&&L.children.length)}getRootNode(){return this.filteredNodes?this.filteredNodes:this.value}getTemplateForNode(L){return this._templateMap?L.type?this._templateMap[L.type]:this._templateMap.default:null}onDragOver(L){this.droppableNodes&&(!this.value||0===this.value.length)&&(L.dataTransfer.dropEffect="move",L.preventDefault())}onDrop(L){if(this.droppableNodes&&(!this.value||0===this.value.length)){L.preventDefault();let Ue=this.dragNode;if(this.allowDrop(Ue,null,this.dragNodeScope)){let je=this.dragNodeIndex;this.value=this.value||[],this.validateDrop?this.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:null,index:je,accept:()=>{this.processTreeDrop(Ue,je)}}):(this.onNodeDrop.emit({originalEvent:L,dragNode:Ue,dropNode:null,index:je}),this.processTreeDrop(Ue,je))}}}processTreeDrop(L,Ue){this.dragNodeSubNodes.splice(Ue,1),this.value.push(L),this.dragDropService.stopDrag({node:L})}onDragEnter(){this.droppableNodes&&this.allowDrop(this.dragNode,null,this.dragNodeScope)&&(this.dragHover=!0)}onDragLeave(L){if(this.droppableNodes){let Ue=L.currentTarget.getBoundingClientRect();(L.x>Ue.left+Ue.width||L.xUe.top+Ue.height||L.y-1&&(M=!0);return(!M||v&&!this.isNodeLeaf(L))&&(M=this.findFilteredNodes(L,{searchFields:je,filterText:E,isStrictMode:v})||M),M}getIndex(L,Ue){const je=L.getItemOptions;return je?je(Ue).index:Ue}getBlockableElement(){return this.el.nativeElement.children[0]}ngOnDestroy(){this.dragStartSubscription&&this.dragStartSubscription.unsubscribe(),this.dragStopSubscription&&this.dragStopSubscription.unsubscribe()}static \u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.SBq),a.Y36(y.Y,8),a.Y36(y.b4),a.Y36(a.sBO))};static \u0275cmp=a.Xpm({type:he,selectors:[["p-tree"]],contentQueries:function(Ue,je,E){if(1&Ue&&a.Suo(E,y.jx,4),2&Ue){let v;a.iGM(v=a.CRH())&&(je.templates=v)}},viewQuery:function(Ue,je){if(1&Ue&&(a.Gf(ki,5),a.Gf(ta,5),a.Gf(Pi,5)),2&Ue){let E;a.iGM(E=a.CRH())&&(je.filterViewChild=E.first),a.iGM(E=a.CRH())&&(je.scroller=E.first),a.iGM(E=a.CRH())&&(je.wrapperViewChild=E.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",selectionMode:"selectionMode",selection:"selection",style:"style",styleClass:"styleClass",contextMenu:"contextMenu",layout:"layout",draggableScope:"draggableScope",droppableScope:"droppableScope",draggableNodes:"draggableNodes",droppableNodes:"droppableNodes",metaKeySelection:"metaKeySelection",propagateSelectionUp:"propagateSelectionUp",propagateSelectionDown:"propagateSelectionDown",loading:"loading",loadingIcon:"loadingIcon",emptyMessage:"emptyMessage",ariaLabel:"ariaLabel",togglerAriaLabel:"togglerAriaLabel",ariaLabelledBy:"ariaLabelledBy",validateDrop:"validateDrop",filter:"filter",filterBy:"filterBy",filterMode:"filterMode",filterPlaceholder:"filterPlaceholder",filteredNodes:"filteredNodes",filterLocale:"filterLocale",scrollHeight:"scrollHeight",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",indentation:"indentation",_templateMap:"_templateMap",trackBy:"trackBy",virtualNodeHeight:"virtualNodeHeight"},outputs:{selectionChange:"selectionChange",onNodeSelect:"onNodeSelect",onNodeUnselect:"onNodeUnselect",onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onNodeContextMenuSelect:"onNodeContextMenuSelect",onNodeDrop:"onNodeDrop",onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange",onFilter:"onFilter"},features:[a.TTD],decls:2,vars:2,consts:[[3,"ngClass","ngStyle","class","drop","dragover","dragenter","dragleave",4,"ngIf"],[3,"ngClass","ngStyle","class",4,"ngIf"],[3,"ngClass","ngStyle","drop","dragover","dragenter","dragleave"],["class","p-tree-loading-overlay p-component-overlay",4,"ngIf"],[4,"ngTemplateOutlet"],["class","p-tree-filter-container",4,"ngIf"],["styleClass","p-tree-wrapper",3,"items","tabindex","style","scrollHeight","itemSize","lazy","options","onScroll","onScrollIndexChange","onLazyLoad",4,"ngIf"],[4,"ngIf"],["class","p-tree-empty-message",4,"ngIf"],[1,"p-tree-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-tree-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-tree-loading-icon"],[1,"p-tree-filter-container"],["type","text","autocomplete","off",1,"p-tree-filter","p-inputtext","p-component",3,"keydown.enter","input"],["filter",""],[3,"styleClass",4,"ngIf"],["class","p-tree-filter-icon",4,"ngIf"],[3,"styleClass"],[1,"p-tree-filter-icon"],["styleClass","p-tree-wrapper",3,"items","tabindex","scrollHeight","itemSize","lazy","options","onScroll","onScrollIndexChange","onLazyLoad"],["scroller",""],["pTemplate","content"],["class","p-tree-container","role","tree",3,"ngClass","style",4,"ngIf"],["role","tree",1,"p-tree-container",3,"ngClass"],[3,"level","rowNode","node","firstChild","lastChild","index","itemSize","indentation",4,"ngFor","ngForOf","ngForTrackBy"],[3,"level","rowNode","node","firstChild","lastChild","index","itemSize","indentation"],["treeNode",""],["pTemplate","loader"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-tree-wrapper"],["wrapper",""],["class","p-tree-container","role","tree",4,"ngIf"],["role","tree",1,"p-tree-container"],[3,"node","firstChild","lastChild","index","level",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild","index","level"],[1,"p-tree-empty-message"],[4,"ngIf","ngIfElse"],["emptyFilter",""],[3,"ngClass","ngStyle"],["class","p-tree-loading-mask p-component-overlay",4,"ngIf"],[1,"p-tree-loading-mask","p-component-overlay"],[3,"node","root"]],template:function(Ue,je){1&Ue&&(a.YNc(0,it,8,16,"div",0),a.YNc(1,xs,6,11,"div",1)),2&Ue&&(a.Q6J("ngIf",!je.horizontal),a.xp6(1),a.Q6J("ngIf",je.horizontal))},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,y.jx,N.T,me.W,Oe.L,Co]},styles:["@layer primeng{.p-tree-container{margin:0;padding:0;list-style-type:none;overflow:auto}.p-treenode-children{margin:0;padding:0;list-style-type:none}.p-tree-wrapper{overflow:auto}.p-treenode-selectable{cursor:pointer;-webkit-user-select:none;user-select:none}.p-tree-toggler{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative;flex-shrink:0}.p-treenode-leaf>.p-treenode-content .p-tree-toggler{visibility:hidden}.p-treenode-content{display:flex;align-items:center}.p-tree-filter{width:100%}.p-tree-filter-container{position:relative;display:block;width:100%}.p-tree-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-tree-loading{position:relative;min-height:4rem}.p-tree .p-tree-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2}.p-tree-flex-scrollable{display:flex;flex:1;height:100%;flex-direction:column}.p-tree-flex-scrollable .p-tree-wrapper{flex:1}.p-tree .p-treenode-droppoint{height:4px;list-style-type:none}.p-tree .p-treenode-droppoint-active{border:0 none}.p-tree-horizontal{width:auto;padding-left:0;padding-right:0;overflow:auto}.p-tree.p-tree-horizontal table,.p-tree.p-tree-horizontal tr,.p-tree.p-tree-horizontal td{border-collapse:collapse;margin:0;padding:0;vertical-align:middle}.p-tree-horizontal .p-treenode-content{font-weight:400;padding:.4em 1em .4em .2em;display:flex;align-items:center}.p-tree-horizontal .p-treenode-parent .p-treenode-content{font-weight:400;white-space:nowrap}.p-tree.p-tree-horizontal .p-treenode{background:url(data:image/gif;base64,R0lGODlhAQABAIAAALGxsf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4xLWMwMzQgNDYuMjcyOTc2LCBTYXQgSmFuIDI3IDIwMDcgMjI6Mzc6MzcgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhhcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+CiAgICAgICAgIDx4YXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTMzwveGFwOkNyZWF0b3JUb29sPgogICAgICAgICA8eGFwOkNyZWF0ZURhdGU+MjAxMC0wMy0xMVQxMDoxNjo0MVo8L3hhcDpDcmVhdGVEYXRlPgogICAgICAgICA8eGFwOk1vZGlmeURhdGU+MjAxMC0wMy0xMVQxMjo0NDoxOVo8L3hhcDpNb2RpZnlEYXRlPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIj4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9naWY8L2RjOmZvcm1hdD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PAA6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQABwD/ACwAAAAAAQABAAACAkQBADs=) repeat-x scroll center center transparent;padding:.25rem 2.5rem}.p-tree.p-tree-horizontal .p-treenode.p-treenode-leaf,.p-tree.p-tree-horizontal .p-treenode.p-treenode-collapsed{padding-right:0}.p-tree.p-tree-horizontal .p-treenode-children{padding:0;margin:0}.p-tree.p-tree-horizontal .p-treenode-connector{width:1px}.p-tree.p-tree-horizontal .p-treenode-connector-table{height:100%;width:1px}.p-tree.p-tree-horizontal .p-treenode-connector-line{background:url(data:image/gif;base64,R0lGODlhAQABAIAAALGxsf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4xLWMwMzQgNDYuMjcyOTc2LCBTYXQgSmFuIDI3IDIwMDcgMjI6Mzc6MzcgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhhcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+CiAgICAgICAgIDx4YXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTMzwveGFwOkNyZWF0b3JUb29sPgogICAgICAgICA8eGFwOkNyZWF0ZURhdGU+MjAxMC0wMy0xMVQxMDoxNjo0MVo8L3hhcDpDcmVhdGVEYXRlPgogICAgICAgICA8eGFwOk1vZGlmeURhdGU+MjAxMC0wMy0xMVQxMjo0NDoxOVo8L3hhcDpNb2RpZnlEYXRlPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIj4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9naWY8L2RjOmZvcm1hdD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PAA6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQABwD/ACwAAAAAAQABAAACAkQBADs=) repeat-y scroll 0 0 transparent;width:1px}.p-tree.p-tree-horizontal table{height:0}.p-scroller .p-tree-container{overflow:visible}}\n"],encapsulation:2})}return he})(),Nr=(()=>{class he{static \u0275fac=function(Ue){return new(Ue||he)};static \u0275mod=a.oAB({type:he});static \u0275inj=a.cJS({imports:[i.ez,y.m8,b.T,N.v,F.n,x.v,H.X,P,me.W,Oe.L,X,y.m8,N.v]})}return he})();var To=m(6929),Bs=m(979);const Eo=["container"],wo=["focusInput"],Ra=["filter"],Ps=["tree"],Ds=["panel"],St=["overlay"],En=["firstHiddenFocusableEl"],dt=["lastHiddenFocusableEl"];function Tt(he,jt){1&he&&a.GkF(0)}const un=function(he,jt){return{$implicit:he,placeholder:jt}};function Yn(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Tt,1,0,"ng-container",16),a.BQk()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngTemplateOutlet",L.valueTemplate)("ngTemplateOutletContext",a.WLB(2,un,L.value,L.placeholder))}}function Ui(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(2);a.xp6(1),a.hij(" ",L.label||"empty"," ")}}function Gi(he,jt){if(1&he&&(a.TgZ(0,"div",19)(1,"span",20),a._uU(2),a.qZA()()),2&he){const L=jt.$implicit;a.xp6(2),a.Oqu(L.label)}}function _r(he,jt){if(1&he&&(a.ynx(0),a._uU(1),a.BQk()),2&he){const L=a.oxw(3);a.xp6(1),a.Oqu(L.placeholder||"empty")}}function us(he,jt){if(1&he&&(a.YNc(0,Gi,3,1,"div",18),a.YNc(1,_r,2,1,"ng-container",9)),2&he){const L=a.oxw(2);a.Q6J("ngForOf",L.value),a.xp6(1),a.Q6J("ngIf",L.emptyValue)}}function So(he,jt){if(1&he&&(a.YNc(0,Ui,2,1,"ng-container",7),a.YNc(1,us,2,2,"ng-template",null,17,a.W1O)),2&he){const L=a.MAs(2),Ue=a.oxw();a.Q6J("ngIf","comma"===Ue.display)("ngIfElse",L)}}function Fo(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"TimesIcon",23),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.clear(je))}),a.qZA()}2&he&&a.Q6J("styleClass","p-treeselect-clear-icon")}function Ks(he,jt){}function na(he,jt){1&he&&a.YNc(0,Ks,0,0,"ng-template")}function _s(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"span",24),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.clear(je))}),a.YNc(1,na,1,0,null,25),a.qZA()}if(2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngTemplateOutlet",L.clearIconTemplate)}}function ko(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Fo,1,1,"TimesIcon",21),a.YNc(2,_s,2,1,"span",22),a.BQk()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngIf",!L.clearIconTemplate),a.xp6(1),a.Q6J("ngIf",L.clearIconTemplate)}}function da(he,jt){1&he&&a._UZ(0,"ChevronDownIcon",26),2&he&&a.Q6J("styleClass","p-treeselect-trigger-icon")}function Wa(he,jt){}function er(he,jt){1&he&&a.YNc(0,Wa,0,0,"ng-template")}function Cr(he,jt){if(1&he&&(a.TgZ(0,"span",27),a.YNc(1,er,1,0,null,25),a.qZA()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngTemplateOutlet",L.triggerIconTemplate)}}function Ss(he,jt){1&he&&a.GkF(0)}function br(he,jt){1&he&&a._UZ(0,"SearchIcon",26),2&he&&a.Q6J("styleClass","p-treeselect-filter-icon")}function ds(he,jt){}function Yo(he,jt){1&he&&a.YNc(0,ds,0,0,"ng-template")}function gl(he,jt){if(1&he&&(a.TgZ(0,"span",43),a.YNc(1,Yo,1,0,null,25),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.filterIconTemplate)}}function ha(he,jt){1&he&&a._UZ(0,"TimesIcon")}function as(he,jt){}function Na(he,jt){1&he&&a.YNc(0,as,0,0,"ng-template")}function Ma(he,jt){if(1&he&&(a.TgZ(0,"span"),a.YNc(1,Na,1,0,null,25),a.qZA()),2&he){const L=a.oxw(3);a.xp6(1),a.Q6J("ngTemplateOutlet",L.closeIconTemplate)}}function Fi(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",37),a.NdJ("keydown.arrowdown",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onArrowDown(je))}),a.TgZ(1,"div",38)(2,"input",39,40),a.NdJ("keydown.enter",function(je){return je.preventDefault()})("input",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onFilterInput(je))}),a.qZA(),a.YNc(4,br,1,1,"SearchIcon",11),a.YNc(5,gl,2,1,"span",41),a.qZA(),a.TgZ(6,"button",42),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.hide())}),a.YNc(7,ha,1,0,"TimesIcon",9),a.YNc(8,Ma,2,1,"span",9),a.qZA()()}if(2&he){const L=a.oxw(2);a.xp6(2),a.Q6J("value",L.filterValue),a.uIk("placeholder",L.filterPlaceholder),a.xp6(2),a.Q6J("ngIf",!L.filterIconTemplate),a.xp6(1),a.Q6J("ngIf",L.filterIconTemplate),a.xp6(2),a.Q6J("ngIf",!L.closeIconTemplate),a.xp6(1),a.Q6J("ngIf",L.closeIconTemplate)}}function _i(he,jt){1&he&&a.GkF(0)}function dr(he,jt){if(1&he&&a.YNc(0,_i,1,0,"ng-container",25),2&he){const L=a.oxw(3);a.Q6J("ngTemplateOutlet",L.emptyTemplate)}}function $r(he,jt){1&he&&(a.ynx(0),a.YNc(1,dr,1,1,"ng-template",44),a.BQk())}function Fr(he,jt){1&he&&a.GkF(0)}const Ho=function(he){return{$implicit:he}};function no(he,jt){if(1&he&&a.YNc(0,Fr,1,0,"ng-container",16),2&he){const L=jt.$implicit,Ue=a.oxw(3);a.Q6J("ngTemplateOutlet",Ue.itemTogglerIconTemplate)("ngTemplateOutletContext",a.VKq(2,Ho,L))}}function Vr(he,jt){1&he&&a.YNc(0,no,1,4,"ng-template",45)}function os(he,jt){}function $o(he,jt){1&he&&a.YNc(0,os,0,0,"ng-template")}function Ko(he,jt){if(1&he&&a.YNc(0,$o,1,0,null,25),2&he){const L=a.oxw(3);a.Q6J("ngTemplateOutlet",L.itemCheckboxIconTemplate)}}function Rn(he,jt){1&he&&a.YNc(0,Ko,1,1,"ng-template",46)}function Mo(he,jt){1&he&&a.GkF(0)}function Aa(he,jt){if(1&he&&a.YNc(0,Mo,1,0,"ng-container",25),2&he){const L=a.oxw(3);a.Q6J("ngTemplateOutlet",L.itemLoadingIconTemplate)}}function Xr(he,jt){1&he&&a.YNc(0,Aa,1,1,"ng-template",47)}function gr(he,jt){1&he&&a.GkF(0)}const Us=function(he,jt){return{$implicit:he,options:jt}},Rs=function(he){return{"max-height":he}};function Mr(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",28,29)(2,"span",30,31),a.NdJ("focus",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onFirstHiddenFocus(je))}),a.qZA(),a.YNc(4,Ss,1,0,"ng-container",16),a.YNc(5,Fi,9,6,"div",32),a.TgZ(6,"div",33)(7,"p-tree",34,35),a.NdJ("selectionChange",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onSelectionChange(je))})("onNodeExpand",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.nodeExpand(je))})("onNodeCollapse",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.nodeCollapse(je))})("onNodeSelect",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onSelect(je))})("onNodeUnselect",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onUnselect(je))}),a.YNc(9,$r,2,0,"ng-container",9),a.YNc(10,Vr,1,0,null,9),a.YNc(11,Rn,1,0,null,9),a.YNc(12,Xr,1,0,null,9),a.qZA()(),a.YNc(13,gr,1,0,"ng-container",16),a.TgZ(14,"span",30,36),a.NdJ("focus",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onLastHiddenFocus(je))}),a.qZA()()}if(2&he){const L=a.oxw();a.Tol(L.panelStyleClass),a.Q6J("ngStyle",L.panelStyle)("ngClass",L.panelClass),a.xp6(2),a.uIk("aria-hidden","true")("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),a.xp6(2),a.Q6J("ngTemplateOutlet",L.headerTemplate)("ngTemplateOutletContext",a.WLB(35,Us,L.value,L.options)),a.xp6(1),a.Q6J("ngIf",L.filter),a.xp6(1),a.Q6J("ngStyle",a.VKq(38,Rs,L.scrollHeight)),a.xp6(1),a.Q6J("value",L.options)("propagateSelectionDown",L.propagateSelectionDown)("propagateSelectionUp",L.propagateSelectionUp)("selectionMode",L.selectionMode)("selection",L.value)("metaKeySelection",L.metaKeySelection)("emptyMessage",L.emptyMessage)("filterBy",L.filterBy)("filterMode",L.filterMode)("filterPlaceholder",L.filterPlaceholder)("filterLocale",L.filterLocale)("filteredNodes",L.filteredNodes)("_templateMap",L.templateMap),a.xp6(2),a.Q6J("ngIf",L.emptyTemplate),a.xp6(1),a.Q6J("ngIf",L.itemTogglerIconTemplate),a.xp6(1),a.Q6J("ngIf",L.itemCheckboxIconTemplate),a.xp6(1),a.Q6J("ngIf",L.itemLoadingIconTemplate),a.xp6(1),a.Q6J("ngTemplateOutlet",L.footerTemplate)("ngTemplateOutletContext",a.WLB(40,Us,L.value,L.options)),a.xp6(1),a.uIk("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Zr={provide:t.JU,useExisting:(0,a.Gpc)(()=>Ji),multi:!0};let Ji=(()=>{class he{config;cd;el;overlayService;inputId;scrollHeight="400px";disabled;metaKeySelection=!0;display="comma";selectionMode="single";tabindex="0";ariaLabel;ariaLabelledBy;placeholder;panelClass;panelStyle;panelStyleClass;containerStyle;containerStyleClass;labelStyle;labelStyleClass;overlayOptions;emptyMessage="";appendTo;filter=!1;filterBy="label";filterMode="lenient";filterPlaceholder;filterLocale;filterInputAutoFocus=!0;propagateSelectionDown=!0;propagateSelectionUp=!0;showClear=!1;resetFilterOnHide=!0;get options(){return this._options}set options(L){this._options=L,this.updateTreeState()}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(L){this._showTransitionOptions=L,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(L){this._hideTransitionOptions=L,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}onNodeExpand=new a.vpe;onNodeCollapse=new a.vpe;onShow=new a.vpe;onHide=new a.vpe;onClear=new a.vpe;onFilter=new a.vpe;onNodeUnselect=new a.vpe;onNodeSelect=new a.vpe;_showTransitionOptions;_hideTransitionOptions;templates;containerEl;focusInput;filterViewChild;treeViewChild;panelEl;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;filteredNodes;filterValue=null;serializedValue;valueTemplate;headerTemplate;emptyTemplate;footerTemplate;clearIconTemplate;triggerIconTemplate;filterIconTemplate;closeIconTemplate;itemTogglerIconTemplate;itemCheckboxIconTemplate;itemLoadingIconTemplate;focused;overlayVisible;selfChange;value;expandedNodes=[];_options;templateMap;onModelChange=()=>{};onModelTouched=()=>{};listId="";constructor(L,Ue,je,E){this.config=L,this.cd=Ue,this.el=je,this.overlayService=E}ngOnInit(){this.listId=(0,j.Th)()+"_list",this.updateTreeState()}ngAfterContentInit(){this.templates.length&&(this.templateMap={}),this.templates.forEach(L=>{switch(L.getType()){case"value":this.valueTemplate=L.template;break;case"header":this.headerTemplate=L.template;break;case"empty":this.emptyTemplate=L.template;break;case"footer":this.footerTemplate=L.template;break;case"clearicon":this.clearIconTemplate=L.template;break;case"triggericon":this.triggerIconTemplate=L.template;break;case"filtericon":this.filterIconTemplate=L.template;break;case"closeicon":this.closeIconTemplate=L.template;break;case"itemtogglericon":this.itemTogglerIconTemplate=L.template;break;case"itemcheckboxicon":this.itemCheckboxIconTemplate=L.template;break;case"itemloadingicon":this.itemLoadingIconTemplate=L.template;break;default:L.name?this.templateMap[L.name]=L.template:this.valueTemplate=L.template}})}onOverlayAnimationStart(L){if("visible"===L.toState)if(this.filter)j.gb.isNotEmpty(this.filterValue)&&this.treeViewChild?._filter(this.filterValue),this.filterInputAutoFocus&&this.filterViewChild?.nativeElement.focus();else{let Ue=C.p.getFocusableElements(this.panelEl.nativeElement);Ue&&Ue.length>0&&Ue[0].focus()}}onSelectionChange(L){this.value=L,this.onModelChange(this.value),this.cd.markForCheck()}onClick(L){this.disabled||!this.overlayViewChild?.el?.nativeElement?.contains(L.target)&&!C.p.hasClass(L.target,"p-treeselect-close")&&(this.overlayVisible?this.hide():this.show(),this.focusInput?.nativeElement.focus())}onKeyDown(L){switch(L.code){case"ArrowDown":this.overlayVisible||(this.show(),L.preventDefault()),this.onArrowDown(L),L.preventDefault();break;case"Space":case"Enter":this.overlayVisible||(this.show(),L.preventDefault());break;case"Escape":this.overlayVisible&&(this.hide(),this.focusInput?.nativeElement.focus(),L.preventDefault());break;case"Tab":this.onTabKey(L)}}onFilterInput(L){this.filterValue=L.target.value,this.treeViewChild?._filter(this.filterValue),this.onFilter.emit({originalEvent:L,filteredValue:this.treeViewChild?.filteredNodes})}onArrowDown(L){if(this.overlayVisible&&this.panelEl?.nativeElement){let Ue=C.p.getFocusableElements(this.panelEl.nativeElement,".p-treenode");Ue&&Ue.length>0&&Ue[0].focus(),L.preventDefault()}}onFirstHiddenFocus(L){const Ue=L.relatedTarget===this.focusInput?.nativeElement?C.p.getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;C.p.focus(Ue)}onLastHiddenFocus(L){const Ue=L.relatedTarget===this.focusInput?.nativeElement?C.p.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;C.p.focus(Ue)}show(){this.overlayVisible=!0}hide(L){this.overlayVisible=!1,this.resetFilter(),this.onHide.emit(L),this.cd.markForCheck()}clear(L){this.value=null,this.resetExpandedNodes(),this.resetPartialSelected(),this.onModelChange(this.value),this.onClear.emit(),L.stopPropagation()}checkValue(){return null!==this.value&&j.gb.isNotEmpty(this.value)}onTabKey(L,Ue=!1){Ue||(this.overlayVisible&&this.hasFocusableElements()?(C.p.focus(L.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),L.preventDefault()):this.overlayVisible&&this.hide(this.filter))}hasFocusableElements(){return C.p.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}resetFilter(){this.filter&&!this.resetFilterOnHide?(this.filteredNodes=this.treeViewChild?.filteredNodes,this.treeViewChild?.resetFilter()):this.filterValue=null}updateTreeState(){if(this.value){let L="single"===this.selectionMode?[this.value]:[...this.value];this.resetExpandedNodes(),this.resetPartialSelected(),L&&this.options&&this.updateTreeBranchState(null,null,L)}}updateTreeBranchState(L,Ue,je){if(L){if(this.isSelected(L)&&(this.expandPath(Ue),je.splice(je.indexOf(L),1)),je.length>0&&L.children)for(let E of L.children)this.updateTreeBranchState(E,[...Ue,L],je)}else for(let E of this.options)this.updateTreeBranchState(E,[],je)}expandPath(L){for(let Ue of L)Ue.expanded=!0;this.expandedNodes=[...L]}nodeExpand(L){this.onNodeExpand.emit(L),this.expandedNodes.push(L.node)}nodeCollapse(L){this.onNodeCollapse.emit(L),this.expandedNodes.splice(this.expandedNodes.indexOf(L.node),1)}resetExpandedNodes(){for(let L of this.expandedNodes)L.expanded=!1;this.expandedNodes=[]}resetPartialSelected(L=this.options){if(L)for(let Ue of L)Ue.partialSelected=!1,Ue.children&&Ue.children?.length>0&&this.resetPartialSelected(Ue.children)}findSelectedNodes(L,Ue,je){if(L){if(this.isSelected(L)&&(je.push(L),delete Ue[L.key]),Object.keys(Ue).length&&L.children)for(let E of L.children)this.findSelectedNodes(E,Ue,je)}else for(let E of this.options)this.findSelectedNodes(E,Ue,je)}isSelected(L){return-1!=this.findIndexInSelection(L)}findIndexInSelection(L){let Ue=-1;if(this.value)if("single"===this.selectionMode)Ue=this.value.key&&this.value.key===L.key||this.value==L?0:-1;else for(let je=0;jeUe.label).join(", "):"single"===this.selectionMode&&this.value?L.label:this.placeholder}static \u0275fac=function(Ue){return new(Ue||he)(a.Y36(y.b4),a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(y.F0))};static \u0275cmp=a.Xpm({type:he,selectors:[["p-treeSelect"]],contentQueries:function(Ue,je,E){if(1&Ue&&a.Suo(E,y.jx,4),2&Ue){let v;a.iGM(v=a.CRH())&&(je.templates=v)}},viewQuery:function(Ue,je){if(1&Ue&&(a.Gf(Eo,5),a.Gf(wo,5),a.Gf(Ra,5),a.Gf(Ps,5),a.Gf(Ds,5),a.Gf(St,5),a.Gf(En,5),a.Gf(dt,5)),2&Ue){let E;a.iGM(E=a.CRH())&&(je.containerEl=E.first),a.iGM(E=a.CRH())&&(je.focusInput=E.first),a.iGM(E=a.CRH())&&(je.filterViewChild=E.first),a.iGM(E=a.CRH())&&(je.treeViewChild=E.first),a.iGM(E=a.CRH())&&(je.panelEl=E.first),a.iGM(E=a.CRH())&&(je.overlayViewChild=E.first),a.iGM(E=a.CRH())&&(je.firstHiddenFocusableElementOnOverlay=E.first),a.iGM(E=a.CRH())&&(je.lastHiddenFocusableElementOnOverlay=E.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(Ue,je){2&Ue&&a.ekj("p-inputwrapper-filled",!je.emptyValue)("p-inputwrapper-focus",je.focused)("p-treeselect-clearable",je.showClear&&!je.disabled)},inputs:{inputId:"inputId",scrollHeight:"scrollHeight",disabled:"disabled",metaKeySelection:"metaKeySelection",display:"display",selectionMode:"selectionMode",tabindex:"tabindex",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",placeholder:"placeholder",panelClass:"panelClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",containerStyle:"containerStyle",containerStyleClass:"containerStyleClass",labelStyle:"labelStyle",labelStyleClass:"labelStyleClass",overlayOptions:"overlayOptions",emptyMessage:"emptyMessage",appendTo:"appendTo",filter:"filter",filterBy:"filterBy",filterMode:"filterMode",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",filterInputAutoFocus:"filterInputAutoFocus",propagateSelectionDown:"propagateSelectionDown",propagateSelectionUp:"propagateSelectionUp",showClear:"showClear",resetFilterOnHide:"resetFilterOnHide",options:"options",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onShow:"onShow",onHide:"onHide",onClear:"onClear",onFilter:"onFilter",onNodeUnselect:"onNodeUnselect",onNodeSelect:"onNodeSelect"},features:[a._Bn([Zr])],decls:17,vars:28,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["type","text","role","combobox","readonly","",3,"disabled","focus","blur","keydown"],["focusInput",""],[1,"p-treeselect-label-container"],[3,"ngClass","ngStyle"],[4,"ngIf","ngIfElse"],["defaultValueTemplate",""],[4,"ngIf"],["role","button","aria-haspopup","tree",1,"p-treeselect-trigger"],[3,"styleClass",4,"ngIf"],["class","p-treeselect-trigger-icon",4,"ngIf"],[3,"visible","options","target","appendTo","showTransitionOptions","hideTransitionOptions","visibleChange","onAnimationStart","onShow","onHide"],["overlay",""],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["chipsValueTemplate",""],["class","p-treeselect-token",4,"ngFor","ngForOf"],[1,"p-treeselect-token"],[1,"p-treeselect-token-label"],[3,"styleClass","click",4,"ngIf"],["class","p-treeselect-clear-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-treeselect-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[3,"styleClass"],[1,"p-treeselect-trigger-icon"],[1,"p-treeselect-panel","p-component",3,"ngStyle","ngClass"],["panel",""],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["firstHiddenFocusableEl",""],["class","p-treeselect-header",3,"keydown.arrowdown",4,"ngIf"],[1,"p-treeselect-items-wrapper",3,"ngStyle"],[3,"value","propagateSelectionDown","propagateSelectionUp","selectionMode","selection","metaKeySelection","emptyMessage","filterBy","filterMode","filterPlaceholder","filterLocale","filteredNodes","_templateMap","selectionChange","onNodeExpand","onNodeCollapse","onNodeSelect","onNodeUnselect"],["tree",""],["lastHiddenFocusableEl",""],[1,"p-treeselect-header",3,"keydown.arrowdown"],[1,"p-treeselect-filter-container"],["type","text","autocomplete","off",1,"p-treeselect-filter","p-inputtext","p-component",3,"value","keydown.enter","input"],["filter",""],["class","p-treeselect-filter-icon",4,"ngIf"],[1,"p-treeselect-close","p-link",3,"click"],[1,"p-treeselect-filter-icon"],["pTemplate","empty"],["pTemplate","togglericon"],["pTemplate","checkboxicon"],["pTemplate","loadingicon"]],template:function(Ue,je){if(1&Ue&&(a.TgZ(0,"div",0,1),a.NdJ("click",function(v){return je.onClick(v)}),a.TgZ(2,"div",2)(3,"input",3,4),a.NdJ("focus",function(){return je.onFocus()})("blur",function(){return je.onBlur()})("keydown",function(v){return je.onKeyDown(v)}),a.qZA()(),a.TgZ(5,"div",5)(6,"div",6),a.YNc(7,Yn,2,5,"ng-container",7),a.YNc(8,So,3,2,"ng-template",null,8,a.W1O),a.qZA(),a.YNc(10,ko,3,2,"ng-container",9),a.qZA(),a.TgZ(11,"div",10),a.YNc(12,da,1,1,"ChevronDownIcon",11),a.YNc(13,Cr,2,1,"span",12),a.qZA(),a.TgZ(14,"p-overlay",13,14),a.NdJ("visibleChange",function(v){return je.overlayVisible=v})("onAnimationStart",function(v){return je.onOverlayAnimationStart(v)})("onShow",function(v){return je.onShow.emit(v)})("onHide",function(v){return je.hide(v)}),a.YNc(16,Mr,16,43,"ng-template",15),a.qZA()()),2&Ue){const E=a.MAs(9);a.Tol(je.containerStyleClass),a.Q6J("ngClass",je.containerClass())("ngStyle",je.containerStyle),a.xp6(3),a.Q6J("disabled",je.disabled),a.uIk("id",je.inputId)("tabindex",je.disabled?-1:je.tabindex)("aria-controls",je.listId)("aria-haspopup","tree")("aria-expanded",je.overlayVisible)("aria-labelledby",je.ariaLabelledBy)("aria-label",je.ariaLabel||("p-emptylabel"===je.label?void 0:je.label)),a.xp6(3),a.Tol(je.labelStyleClass),a.Q6J("ngClass",je.labelClass())("ngStyle",je.labelStyle),a.xp6(1),a.Q6J("ngIf",je.valueTemplate)("ngIfElse",E),a.xp6(3),a.Q6J("ngIf",je.checkValue()&&!je.disabled&&je.showClear),a.xp6(1),a.uIk("aria-expanded",je.overlayVisible),a.xp6(1),a.Q6J("ngIf",!je.triggerIconTemplate),a.xp6(1),a.Q6J("ngIf",je.triggerIconTemplate),a.xp6(1),a.Q6J("visible",je.overlayVisible)("options",je.overlayOptions)("target","@parent")("appendTo",je.appendTo)("showTransitionOptions",je.showTransitionOptions)("hideTransitionOptions",je.hideTransitionOptions)}},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,Bs.aV,y.jx,ns,me.W,To.q,x.v]},styles:["@layer primeng{.p-treeselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-treeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-treeselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-treeselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-treeselect-label-empty{overflow:hidden;visibility:hidden}.p-treeselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-treeselect-items-wrapper{overflow:auto}.p-treeselect-header{display:flex;align-items:center;justify-content:space-between}.p-treeselect-filter-container{position:relative;flex:1 1 auto}.p-treeselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-treeselect-filter-container .p-inputtext{width:100%}.p-treeselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative;margin-left:auto}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-treeselect{display:flex}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-treeselect-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return he})(),uo=(()=>{class he{static \u0275fac=function(Ue){return new(Ue||he)};static \u0275mod=a.oAB({type:he});static \u0275inj=a.cJS({imports:[i.ez,Bs.U8,b.T,y.m8,Nr,me.W,To.q,x.v,Bs.U8,y.m8,Nr]})}return he})();var Oo=m(3150),Js=m(8239),Ia=m(2204);function xr(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.column.icon)}}function fa(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.orderClass)}}function Kl(he,jt){if(1&he&&(a.TgZ(0,"strong"),a._uU(1),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Oqu(L.column.title)}}function vo(he,jt){if(1&he&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Oqu(L.column.title)}}function io(he,jt){if(1&he&&a._UZ(0,"i",7),2&he){const L=a.oxw(2);a.s9C("title",L.column.titleHint)}}function Ci(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",3),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onOrderClick(je))}),a.YNc(1,xr,1,2,"i",4),a.YNc(2,fa,1,2,"i",4),a.YNc(3,Kl,2,1,"strong",5),a.YNc(4,vo,2,1,"span",5),a.YNc(5,io,1,1,"i",6),a.qZA()}if(2&he){const L=a.oxw();a.ekj("text-center",L.isAlign("center"))("text-end",L.isAlign("right")),a.Q6J("id",(null==L.grid?null:L.grid.getId(L.index.toString()))+"_title"),a.uIk("title",L.column.hint)("role",L.column.orderBy.length?"button":void 0),a.xp6(1),a.Q6J("ngIf",null==L.column.icon?null:L.column.icon.length),a.xp6(1),a.Q6J("ngIf",null==L.column.orderBy?null:L.column.orderBy.length),a.xp6(1),a.Q6J("ngIf",L.bold),a.xp6(1),a.Q6J("ngIf",!L.bold),a.xp6(1),a.Q6J("ngIf",null==L.column.titleHint?null:L.column.titleHint.length)}}function Pl(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.orderClass)}}const tl=function(he){return{header:he}};function ho(he,jt){if(1&he&&(a.TgZ(0,"div",8),a.YNc(1,Pl,1,2,"i",4),a.GkF(2,9),a.qZA()),2&he){const L=a.oxw();a.Q6J("id",(null==L.grid?null:L.grid.getId(L.index.toString()))+"_template"),a.xp6(1),a.Q6J("ngIf",null==L.column.orderBy?null:L.column.orderBy.length),a.xp6(1),a.Q6J("ngTemplateOutlet",L.column.titleTemplate)("ngTemplateOutletContext",a.VKq(4,tl,L))}}function pl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",10)(1,"button",11),a.NdJ("click",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onAddClick())}),a._UZ(2,"i",12),a.qZA()()}if(2&he){const L=a.oxw();a.xp6(1),a.Q6J("id",(null==L.grid?null:L.grid.getId(L.index.toString()))+"_add_button")("disabled",null==L.grid?null:L.grid.editing)}}let Lr=(()=>{class he{constructor(){this.column=new Ia.C,this.grid=void 0,this.index=0,this.bold=!0}ngOnInit(){}get orderClass(){const L=(this.grid?.orderBy||[]).find(Ue=>Ue[0]==this.column.orderBy);return L?"asc"==L[1]?"bi-sort-down":"bi-sort-up":"bi-chevron-expand"}isAlign(L){return this.column.align==L}onOrderClick(L){if(this.column.orderBy?.length&&this.grid&&this.grid.query){const Ue=(this.grid?.orderBy||[]).findIndex(E=>E[0]==this.column.orderBy),je=(this.grid?.orderBy||[]).find(E=>E[0]==this.column.orderBy)||[this.column.orderBy,void 0];this.grid.orderBy=L.ctrlKey||L.shiftKey?this.grid?.orderBy:(this.grid?.groupBy||[]).map(E=>[E.field,"asc"]),je[1]=je[1]?"asc"==je[1]?"desc":void 0:"asc",Ue>=0&&this.grid.orderBy.splice(Ue,1),je[1]&&this.grid.orderBy.push(je),this.grid.query.order(this.grid.orderBy||[])}}onAddClick(){var L=this;return(0,Js.Z)(function*(){L.grid.selectable&&!L.grid.isEditable?yield L.grid.addToolbarButtonClick():L.grid.onAddItem()})()}static#e=this.\u0275fac=function(Ue){return new(Ue||he)};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-header"]],inputs:{column:"column",grid:"grid",index:"index",bold:"bold"},decls:3,vars:3,consts:[["class","grid-header","data-bs-toggle","tooltip","data-bs-placement","top",3,"id","text-center","text-end","click",4,"ngIf"],[3,"id",4,"ngIf"],["class","w-100 text-end",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"grid-header",3,"id","click"],[3,"class",4,"ngIf"],[4,"ngIf"],["class","bi bi-info-circle label-info text-muted ms-1","data-bs-toggle","tooltip","data-bs-placement","top",3,"title",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted","ms-1",3,"title"],[3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"w-100","text-end"],["type","button",1,"btn","btn-outline-primary",3,"id","disabled","click"],[1,"bi","bi-plus-circle"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Ci,6,12,"div",0),a.YNc(1,ho,3,6,"div",1),a.YNc(2,pl,3,2,"div",2)),2&Ue&&(a.Q6J("ngIf",(null==je.column.title?null:je.column.title.length)||(null==je.column.icon?null:je.column.icon.length)),a.xp6(1),a.Q6J("ngIf",je.column.titleTemplate),a.xp6(1),a.Q6J("ngIf",!(null!=je.grid&&je.grid.isDisabled)&&(null==je.grid?null:je.grid.isEditableGridOptions(je.column))))},dependencies:[i.O5,i.tP],styles:[".grid-header[_ngcontent-%COMP%]{white-space:pre-line}"]})}return he})();var Qs=m(9702),Hs=m(9193),Da=m(8820),Za=m(1823),jo=m(8967),Sa=m(2392),nl=m(4508),ia=m(4495),lc=m(8877),ka=m(4603),ml=m(3085);const yl=function(he,jt,L,Ue){return{row:he,grid:jt,column:L,metadata:Ue}};function Bc(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.template)("ngTemplateOutletContext",a.l5B(2,yl,L.row,L.grid,L.column,L.grid.getMetadata(L.row)))}}function il(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.getIcon())}}function As(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,il,1,2,"i",1),a._uU(2),a.BQk()),2&he){const L=a.oxw();a.Tol(L.getClass()),a.xp6(1),a.Q6J("ngIf",L.hasIcon()),a.xp6(1),a.hij("",L.getColumnText(),"\n")}}const _l=function(he,jt,L){return{row:he,grid:jt,metadata:L}};function ya(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.editTemplate)("ngTemplateOutletContext",a.kEZ(2,_l,L.row,L.grid,L.grid.getMetadata(L.row)))}}function Ne(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.columnEditTemplate)("ngTemplateOutletContext",a.kEZ(2,_l,L.row,L.grid,L.grid.getMetadata(L.row)))}}function ze(he,jt){if(1&he&&a.GkF(0,5),2&he){const L=a.oxw(2);a.Q6J("ngTemplateOutlet",L.column.template)("ngTemplateOutletContext",a.kEZ(2,_l,L.row,L.grid,L.grid.getMetadata(L.row)))}}function Ce(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-search",14),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("dao",L.column.dao)}}function ut(he,jt){if(1&he&&a._UZ(0,"input-display",15),2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)}}function Zt(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-text",16),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("numbers",L.isType("number")?"":void 0)("size",12)("controlName",L.column.field)("stepValue",L.column.stepValue)("control",L.control),a.uIk("maxlength",250)}}function Yi(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-datetime",17),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("date",L.isType("date")?"":void 0)("time",L.isType("time")?"":void 0)("size",12)("controlName",L.column.field)("control",L.control)}}function lr(he,jt){if(1&he&&a._UZ(0,"input-radio",18),2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("items",L.column.items)}}function ro(he,jt){if(1&he&&a._UZ(0,"input-select",18),2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("items",L.column.items)}}function Xs(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-switch",19),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)}}function Jo(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-timer",20),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("size",12)("controlName",L.column.field)("control",L.control)("onlyHours",L.column.onlyHours)("onlyDays",L.column.onlyDays)}}function Qo(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"input-textarea",21),a.NdJ("change",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onChange(je))}),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("rows",3)("size",12)("controlName",L.column.field)("control",L.control),a.uIk("maxlength",250)}}const ga=function(){return["text","number"]},Ts=function(){return["datetime","date","time"]};function rl(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,ze,1,6,"ng-container",0),a.YNc(2,Ce,1,4,"input-search",6),a.YNc(3,ut,1,3,"input-display",7),a.YNc(4,Zt,1,6,"input-text",8),a.YNc(5,Yi,1,5,"input-datetime",9),a.YNc(6,lr,1,4,"input-radio",10),a.YNc(7,ro,1,4,"input-select",10),a.YNc(8,Xs,1,3,"input-switch",11),a.YNc(9,Jo,1,5,"input-timer",12),a.YNc(10,Qo,1,5,"input-textarea",13),a.BQk()),2&he){const L=a.oxw();a.xp6(1),a.Q6J("ngIf",L.isType("template")&&L.column.template),a.xp6(1),a.Q6J("ngIf",L.isType("search")),a.xp6(1),a.Q6J("ngIf",L.isType("display")),a.xp6(1),a.Q6J("ngIf",L.inType(a.DdM(10,ga))),a.xp6(1),a.Q6J("ngIf",L.inType(a.DdM(11,Ts))),a.xp6(1),a.Q6J("ngIf",L.isType("radio")),a.xp6(1),a.Q6J("ngIf",L.isType("select")),a.xp6(1),a.Q6J("ngIf",L.isType("switch")),a.xp6(1),a.Q6J("ngIf",L.isType("timer")),a.xp6(1),a.Q6J("ngIf",L.isType("textarea"))}}function kc(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"i",25),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(2);return a.KtG(E.onEdit(je))}),a.qZA()}}function Cs(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"i",28),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(3);return a.KtG(E.onSave(je))}),a.qZA()}if(2&he){const L=a.oxw(3);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_save")}}function Rl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"i",29),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw(3);return a.KtG(E.onCancel(je))}),a.qZA()}if(2&he){const L=a.oxw(3);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_cancel")}}function pa(he,jt){if(1&he&&(a.YNc(0,Cs,1,1,"i",26),a._UZ(1,"br"),a.YNc(2,Rl,1,1,"i",27)),2&he){const L=a.oxw(2);a.Q6J("ngIf",L.isEditing),a.xp6(2),a.Q6J("ngIf",L.isEditing)}}function ba(he,jt){if(1&he&&(a.TgZ(0,"div",22),a.YNc(1,kc,1,0,"i",23),a.YNc(2,pa,3,2,"ng-template",null,24,a.W1O),a.qZA()),2&he){const L=a.MAs(3),Ue=a.oxw();a.ekj("grid-column-editing",Ue.column.editing),a.xp6(1),a.Q6J("ngIf",!Ue.column.editing)("ngIfElse",L)}}function Jl(he,jt){1&he&&(a.TgZ(0,"div",30)(1,"div",31),a._UZ(2,"span",32),a.qZA()())}let Fa=(()=>{class he{constructor(L,Ue){this.lookup=L,this.util=Ue,this.column=new Ia.C,this.row=void 0,this.index=0,this.metadata={},this.saving=!1}ngOnInit(){}get control(){return this.grid?.form.controls[this.column.field]||void 0}isRowEditing(L){return this.row.id==(this.grid?.editing||{id:void 0}).id&&(!this.column.isColumnEditable(L)||this.column.metadata?.abrirEmEdicao)}get isEditing(){return this.row?.id==this.grid?.editingColumn?.id}isType(L){return this.column.isType(L)}inType(L){return this.column.inType(L)}getClass(){let L="center"==this.column.align?"text-center":"right"==this.column.align?"text-end":"";return this.column.inType(["select","radio"])&&this.column.items&&(L+=" "+this.lookup.getColor(this.column.items,this.row[this.column.field])),L.trim().replace(" ","%").length?L.trim().replace(" ","%"):void 0}onChange(L){this.column.onChange&&this.column.onChange(this.row,this.grid.form)}onEdit(L){var Ue=this;return(0,Js.Z)(function*(){Ue.column.editing=!0,Ue.grid.editingColumn=Ue.row,Ue.column.edit&&(yield Ue.column.edit(Ue.row))})()}onSave(L){var Ue=this;return(0,Js.Z)(function*(){let je=!0;Ue.saving=!0;try{Ue.column.save&&(je=yield Ue.column.save(Ue.row))}finally{Ue.saving=!1,je&&(Ue.grid.editingColumn=void 0,Ue.column.editing=!1)}})()}onCancel(L){this.column.editing=!1}hasIcon(){return this.column.isType("switch")&&this.row[this.column.field]||this.column.inType(["select","radio"])&&!!this.column.items&&!!this.lookup.getIcon(this.column.items,this.row[this.column.field])?.length}getIcon(){return this.column.isType("switch")?"bi bi-check":this.column.items?this.lookup.getIcon(this.column.items,this.row[this.column.field]):void 0}getColumnText(){let L="";return this.column.inType(["text","textarea","display"])?L=this.row[this.column.field]||"":this.column.isType("date")?L=this.util.getDateFormatted(this.row[this.column.field]):this.column.isType("datetime")?L=this.util.getDateTimeFormatted(this.row[this.column.field]):this.column.isType("number")?L=this.row[this.column.field]||"":this.column.isType("timer")?L=this.util.decimalToTimerFormated(this.row[this.column.field]||0,!0,24):this.column.inType(["select","radio"])&&(L=this.column.items?this.lookup.getValue(this.column.items,this.row[this.column.field]):this.row[this.column.field]),L}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(Qs.W),a.Y36(Hs.f))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-row"]],inputs:{column:"column",row:"row",grid:"grid",index:"index"},features:[a._Bn([],[{provide:t.gN,useExisting:t.sg}])],decls:7,vars:7,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"class",4,"ngIf"],[4,"ngIf"],["class","grid-column-editable-options",3,"grid-column-editing",4,"ngIf"],["class","text-center d-flex align-items-center justify-content-center grid-column-saving",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"size","controlName","control","dao","change",4,"ngIf"],[3,"size","controlName","control",4,"ngIf"],[3,"numbers","size","controlName","stepValue","control","change",4,"ngIf"],["noIcon","",3,"date","time","size","controlName","control","change",4,"ngIf"],[3,"size","controlName","control","items",4,"ngIf"],[3,"size","controlName","control","change",4,"ngIf"],[3,"size","controlName","control","onlyHours","onlyDays","change",4,"ngIf"],[3,"rows","size","controlName","control","change",4,"ngIf"],[3,"size","controlName","control","dao","change"],[3,"size","controlName","control"],[3,"numbers","size","controlName","stepValue","control","change"],["noIcon","",3,"date","time","size","controlName","control","change"],[3,"size","controlName","control","items"],[3,"size","controlName","control","change"],[3,"size","controlName","control","onlyHours","onlyDays","change"],[3,"rows","size","controlName","control","change"],[1,"grid-column-editable-options"],["role","button","class","bi bi-pencil-square",3,"click",4,"ngIf","ngIfElse"],["columnEditing",""],["role","button",1,"bi","bi-pencil-square",3,"click"],["class","bi bi-check-square","role","button",3,"id","click",4,"ngIf"],["class","bi bi-x-square","role","button",3,"id","click",4,"ngIf"],["role","button",1,"bi","bi-check-square",3,"id","click"],["role","button",1,"bi","bi-x-square",3,"id","click"],[1,"text-center","d-flex","align-items-center","justify-content-center","grid-column-saving"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Bc,1,7,"ng-container",0),a.YNc(1,As,3,4,"ng-container",1),a.YNc(2,ya,1,6,"ng-container",0),a.YNc(3,Ne,1,6,"ng-container",0),a.YNc(4,rl,11,12,"ng-container",2),a.YNc(5,ba,4,4,"div",3),a.YNc(6,Jl,3,0,"div",4)),2&Ue&&(a.Q6J("ngIf",!je.isRowEditing(je.row)&&(!je.column.editing||!je.isEditing)&&je.column.template),a.xp6(1),a.Q6J("ngIf",!(je.isRowEditing(je.row)||je.column.editing&&je.isEditing||je.column.template)),a.xp6(1),a.Q6J("ngIf",je.isRowEditing(je.row)&&je.column.editTemplate),a.xp6(1),a.Q6J("ngIf",je.column.editing&&je.isEditing&&je.column.columnEditTemplate),a.xp6(1),a.Q6J("ngIf",(je.isRowEditing(je.row)||je.column.editing&&je.isEditing)&&!je.column.editTemplate&&!je.column.columnEditTemplate),a.xp6(1),a.Q6J("ngIf",!je.isRowEditing(je.row)&&je.column.isColumnEditable(je.row)&&(!je.column.canEdit||je.column.canEdit(je.row))),a.xp6(1),a.Q6J("ngIf",je.column.isColumnEditable(je.row)&&je.isEditing&&je.saving))},dependencies:[i.O5,i.tP,Da.a,Za.B,jo.V,Sa.m,nl.Q,ia.k,lc.f,ka.p,ml.u],styles:[".grid-column-editable-options[_ngcontent-%COMP%]{display:inline;position:absolute;top:calc(50% - 10px);right:5px}.grid-column-saving[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;background-color:RGBA(200,200,200,.2)}"]})}return he})();var so=m(2307),Vs=m(5736);const Vn=["optionButton"];function Ga(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"button",7),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onMoveClick(!0))}),a._UZ(1,"i",8),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_up_button")}}function ra(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"button",9),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onMoveClick(!1))}),a._UZ(1,"i",10),a.qZA()}if(2&he){const L=a.oxw(2);a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_down_button")}}function ai(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw().$implicit;a.Tol(L.icon)}}function Nl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"button",11),a.NdJ("click",function(){const E=a.CHM(L).$implicit,v=a.oxw(2);return a.KtG(v.onButtonClick(E))}),a.YNc(1,ai,1,2,"i",12),a.qZA()}if(2&he){const L=jt.$implicit,Ue=a.oxw(2);a.Tol("column-option-button btn "+(Ue.getClassButtonColor(L.color)||"btn-outline-primary")),a.s9C("title",L.hint||L.label||""),a.Q6J("id",(null==Ue.grid?null:Ue.grid.getId("_"+Ue.index+"_"+Ue.row.id+"_"+L.icon))+"_button"),a.xp6(1),a.Q6J("ngIf",null==L.icon?null:L.icon.length)}}function Oc(he,jt){1&he&&a._UZ(0,"hr",21)}function sl(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2).$implicit;a.Tol(L.icon)}}function bl(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"a",22),a.NdJ("click",function(){a.CHM(L);const je=a.oxw().$implicit,E=a.oxw(3);return a.KtG(E.onButtonClick(je))}),a.YNc(1,sl,1,2,"i",12),a._uU(2),a.qZA()}if(2&he){const L=a.oxw().$implicit,Ue=a.oxw(3);a.Q6J("id",(null==Ue.grid?null:Ue.grid.getId("_"+Ue.index+"_"+Ue.row.id+"_"+L.label))+"_option"),a.xp6(1),a.Q6J("ngIf",null==L.icon?null:L.icon.length),a.xp6(1),a.hij(" ",L.label||""," ")}}function Cl(he,jt){if(1&he&&(a.TgZ(0,"li"),a.YNc(1,Oc,1,0,"hr",19),a.YNc(2,bl,3,3,"a",20),a.qZA()),2&he){const L=jt.$implicit;a.xp6(1),a.Q6J("ngIf",L.divider),a.xp6(1),a.Q6J("ngIf",!L.divider)}}function Ao(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",13)(1,"button",14,15),a.NdJ("click",function(){a.CHM(L);const je=a.oxw(2);return a.KtG(je.onOptionsClick())}),a._UZ(3,"i",16),a.qZA(),a.TgZ(4,"ul",17),a.YNc(5,Cl,3,2,"li",18),a.qZA()()}if(2&he){const L=a.oxw(2);a.Q6J("ngClass",L.lastRow?"dropup":""),a.xp6(1),a.Q6J("id","btnToolbarOptions"+L.randomId)("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_options_button"),a.xp6(3),a.uIk("aria-labelledby",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_options_button"),a.xp6(1),a.Q6J("ngForOf",L.optionsList)}}function Lc(he,jt){if(1&he&&(a.TgZ(0,"div",2),a.YNc(1,Ga,2,1,"button",3),a.YNc(2,ra,2,1,"button",4),a.YNc(3,Nl,2,5,"button",5),a.YNc(4,Ao,6,5,"div",6),a.qZA()),2&he){const L=a.oxw();a.ekj("invisible",null==L.grid?null:L.grid.editing),a.xp6(1),a.Q6J("ngIf",L.isUpDownButtons),a.xp6(1),a.Q6J("ngIf",L.isUpDownButtons),a.xp6(1),a.Q6J("ngForOf",L.allButtons),a.xp6(1),a.Q6J("ngIf",L.allOptions.length)}}function ol(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",2)(1,"button",23),a.NdJ("click",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onSaveClick())}),a._UZ(2,"i",24),a.qZA(),a.TgZ(3,"button",25),a.NdJ("click",function(){a.CHM(L);const je=a.oxw();return a.KtG(je.onCancelClick())}),a._UZ(4,"i",26),a.qZA()()}if(2&he){const L=a.oxw();a.xp6(1),a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_edit_button"),a.xp6(2),a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_cancel_button")}}let Xo=(()=>{class he extends Vs.V{constructor(L){super(L),this.injector=L,this.calcWidthChange=new a.vpe,this.index=0,this.column=new Ia.C,this.row=void 0,this.buttons=[],this.options=[],this.randomId=Math.round(1e3*Math.random()).toString(),this._hashButtons="",this._hashOptions="",this._allButtons=void 0,this._allOptions=void 0,this.lastRow=!1,this.go=L.get(so.o)}ngOnInit(){if(this.grid&&this.grid.items.length>1){const L=this.grid.items.slice(-1);this.lastRow=this.row.id==L[0].id}}onMoveClick(L){const Ue=this.grid.items,je=Ue?.findIndex(E=>E.id==this.row.id);if(je>=0){const E=Ue[je];L&&je>0?(Ue[je]=Ue[je-1],Ue[je-1]=E):!L&&je""==Ue||"object"!=typeof je&&"function"!=typeof je?je:"";return this.util.md5(JSON.stringify(this.row,L)+JSON.stringify(this.column.metadata,L))}get allButtons(){let L=this.calcHashChanges();if(!(this.isDeletedRow||this._allButtons&&this._hashButtons==L)){this._hashButtons=L;const Ue=this.dynamicButtons?this.dynamicButtons(this.row,this.column.metadata):[];this._allButtons=[...Ue,...this.buttons],this.recalcWith()}return this._allButtons}get allOptions(){let L=this.calcHashChanges();if(this.isDeletedRow&&(this.options=this.options?.filter(Ue=>"Logs"===Ue.label)),!this._allOptions||this._hashOptions!=L){this._hashOptions=L;const Ue=this.dynamicOptions?this.dynamicOptions(this.row,this.column.metadata):[];this._allOptions=[...Ue,...this.options||[]],this.recalcWith()}return this._allOptions}onOptionsClick(){this.cdRef.detectChanges()}onSaveClick(){this.grid.onSaveItem(this.row)}get optionsList(){return this.optionButton?.nativeElement.className.includes("show")?this.allOptions:[]}onCancelClick(){this.grid.onCancelItem()}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-options"]],viewQuery:function(Ue,je){if(1&Ue&&a.Gf(Vn,5),2&Ue){let E;a.iGM(E=a.CRH())&&(je.optionButton=E.first)}},inputs:{calcWidth:"calcWidth",index:"index",column:"column",row:"row",grid:"grid",upDownButtons:"upDownButtons",buttons:"buttons",dynamicButtons:"dynamicButtons",options:"options",dynamicOptions:"dynamicOptions"},outputs:{calcWidthChange:"calcWidthChange"},features:[a.qOj],decls:2,vars:2,consts:[["class","btn-group","role","group",3,"invisible",4,"ngIf"],["class","btn-group","role","group",4,"ngIf"],["role","group",1,"btn-group"],["type","button","class","column-option-button btn btn-outline-secondary","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para cima",3,"id","click",4,"ngIf"],["type","button","class","column-option-button btn btn-outline-secondary","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para baixo",3,"id","click",4,"ngIf"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top",3,"id","class","title","click",4,"ngFor","ngForOf"],["class","btn-group","role","group",3,"ngClass",4,"ngIf"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para cima",1,"column-option-button","btn","btn-outline-secondary",3,"id","click"],[1,"bi","bi-arrow-up"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Mover registro para baixo",1,"column-option-button","btn","btn-outline-secondary",3,"id","click"],[1,"bi","bi-arrow-down"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top",3,"id","title","click"],[3,"class",4,"ngIf"],["role","group",1,"btn-group",3,"ngClass"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"column-option-button","btn","btn-outline-secondary","dropdown-toggle",3,"id","click"],["optionButton",""],[1,"bi","bi-three-dots"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"],["type","button",1,"btn","btn-outline-primary",3,"id","click"],[1,"bi","bi-check-circle"],["type","button",1,"btn","btn-outline-danger",3,"id","click"],[1,"bi","bi-dash-circle"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Lc,5,6,"div",0),a.YNc(1,ol,5,2,"div",1)),2&Ue&&(a.Q6J("ngIf",!je.isRowEditing&&(!(null!=je.grid&&je.grid.selectable)||je.column.isAlways)),a.xp6(1),a.Q6J("ngIf",(null==je.grid?null:je.grid.editing)&&je.isRowEditing&&(!(null!=je.grid&&je.grid.sidePanel)||(null==je.grid||null==je.grid.sidePanel?null:je.grid.sidePanel.isNoToolbar))))},dependencies:[i.mk,i.sg,i.O5]})}return he})();var hs=m(5512),vl=m(7765),al=m(4040),qo=m(8544),Io=m(8935),hr=m(7819),zo=m(6848),Wr=m(52),is=m(2984),Ql=m(6384),re=m(4978),qe=m(3409),Te=m(8252);const We=function(he,jt){return{row:he,grid:jt}};function Ut(he,jt){if(1&he&&a.GkF(0,3),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.column.template)("ngTemplateOutletContext",a.WLB(2,We,L.row,L.grid))}}function Ln(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2);a.Tol(L.getIcon())}}function Hn(he,jt){if(1&he&&(a.ynx(0),a.YNc(1,Ln,1,2,"i",1),a._uU(2),a.BQk()),2&he){const L=a.oxw();a.Tol(L.getClass()),a.xp6(1),a.Q6J("ngIf",L.hasIcon()),a.xp6(1),a.hij("",L.getColumnText(),"\n")}}function Si(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"span",4)(1,"i",5),a.NdJ("click",function(je){a.CHM(L);const E=a.oxw();return a.KtG(E.onExpand(je))}),a.qZA()()}if(2&he){const L=a.oxw();a.xp6(1),a.Tol(L.getExpandIcon()),a.Q6J("id",(null==L.grid?null:L.grid.getId("_"+L.index+"_"+L.row.id))+"_expand")}}let ps=(()=>{class he extends Vs.V{set expanded(L){this._expanded!=L&&(this._expanded=L,this.viewInit&&(this.grid.expandedIds[this.row.id]=L))}get expanded(){return this._expanded}constructor(L){super(L),this.column=new Ia.C,this.row=void 0,this.index=0,this.toggleable=!0,this.saving=!1,this._expanded=!1,this.lookup=L.get(Qs.W)}ngOnInit(){}get control(){return this.grid?.form.controls[this.column.field]||void 0}getClass(){let L="center"==this.column.align?"text-center":"right"==this.column.align?"text-end":"";return L.trim().replace(" ","%").length?L.trim().replace(" ","%"):void 0}onExpand(L){this.expanded=!this.expanded,this.grid?.cdRef.detectChanges()}getExpandIcon(){return this.expanded?"bi bi-dash-square":"bi bi-plus-square"}hasIcon(){return this.column.isSubType("switch")&&this.row[this.column.field]||this.column.inSubType(["select","radio"])&&!!this.column.items&&!!this.lookup.getIcon(this.column.items,this.row[this.column.field])?.length}getIcon(){return this.column.isSubType("switch")?"bi bi-check":this.column.items?this.lookup.getIcon(this.column.items,this.row[this.column.field]):void 0}getColumnText(){let L="";return this.column.inSubType(["text","display"])?L=this.row[this.column.field]||"":this.column.isSubType("date")?L=this.grid.dao.getDateFormatted(this.row[this.column.field]):this.column.isSubType("datetime")?L=this.grid.dao.getDateTimeFormatted(this.row[this.column.field]):this.column.isSubType("number")?L=this.row[this.column.field]||"":this.column.isSubType("timer")?L=this.util.decimalToTimerFormated(this.row[this.column.field]||0,!0,24):this.column.inSubType(["select","radio"])&&(L=this.column.items?this.lookup.getValue(this.column.items,this.row[this.column.field]):this.row[this.column.field]),L}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["column-expand"]],inputs:{column:"column",row:"row",grid:"grid",index:"index",toggleable:"toggleable",expanded:"expanded"},features:[a._Bn([],[{provide:t.gN,useExisting:t.sg}]),a.qOj],decls:3,vars:3,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"class",4,"ngIf"],["class","d-block text-center",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"d-block","text-center"],["role","button",3,"id","click"]],template:function(Ue,je){1&Ue&&(a.YNc(0,Ut,1,5,"ng-container",0),a.YNc(1,Hn,3,4,"ng-container",1),a.YNc(2,Si,2,3,"span",2)),2&Ue&&(a.Q6J("ngIf",je.column.template),a.xp6(1),a.Q6J("ngIf",!je.column.template),a.xp6(1),a.Q6J("ngIf",je.toggleable))},dependencies:[i.O5,i.tP]})}return he})();var qr=m(8189),ls=m(4502),zr=m(6152);function Ws(he,jt){if(1&he&&a._UZ(0,"i",17),2&he){const L=a.oxw().$implicit;a.Tol(L.icon),a.uIk("title",L.hint||L.label||"")}}function ks(he,jt){1&he&&a._UZ(0,"hr",22)}function rs(he,jt){if(1&he&&a._UZ(0,"i"),2&he){const L=a.oxw(2).$implicit;a.Tol(L.icon)}}function ea(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"a",23),a.NdJ("click",function(){a.CHM(L);const je=a.oxw().$implicit,E=a.oxw(5);return a.KtG(E.onButtonClick(je))}),a.YNc(1,rs,1,2,"i",24),a._uU(2),a.qZA()}if(2&he){const L=a.oxw().$implicit,Ue=a.oxw(5);a.Q6J("id",Ue.generatedButtonId(L,"_option")),a.xp6(1),a.Q6J("ngIf",null==L.icon?null:L.icon.length),a.xp6(1),a.hij(" ",L.label||"","")}}function Zs(he,jt){if(1&he&&(a.TgZ(0,"li"),a.YNc(1,ks,1,0,"hr",20),a.YNc(2,ea,3,3,"a",21),a.qZA()),2&he){const L=jt.$implicit;a.xp6(1),a.Q6J("ngIf",L.divider),a.xp6(1),a.Q6J("ngIf",!L.divider)}}function xa(he,jt){if(1&he&&(a.TgZ(0,"ul",18),a.YNc(1,Zs,3,2,"li",19),a.qZA()),2&he){const L=a.oxw().$implicit,Ue=a.MAs(2),je=a.oxw(3);a.uIk("aria-labelledby",je.generatedButtonId(L)),a.xp6(1),a.Q6J("ngForOf",je.getButtonItems(Ue,L))}}function Ya(he,jt){if(1&he){const L=a.EpF();a.TgZ(0,"div",12)(1,"button",13,14),a.NdJ("click",function(){const E=a.CHM(L).$implicit,v=a.oxw(3);return a.KtG(v.onButtonClick(E))}),a.YNc(3,Ws,1,3,"i",15),a.qZA(),a.YNc(4,xa,2,2,"ul",16),a.qZA()}if(2&he){const L=jt.$implicit,Ue=a.oxw(3);a.xp6(1),a.Tol("btn btn-sm "+(L.color||"btn-outline-primary")),a.ekj("dropdown-toggle",Ue.hasButtonItems(L)),a.Q6J("id",Ue.generatedButtonId(L)),a.uIk("data-bs-toggle",Ue.hasButtonItems(L)?"dropdown":void 0),a.xp6(2),a.Q6J("ngIf",null==L.icon?null:L.icon.length),a.xp6(1),a.Q6J("ngIf",Ue.hasButtonItems(L))}}function $a(he,jt){if(1&he&&(a.TgZ(0,"div",10),a.YNc(1,Ya,5,8,"div",11),a.qZA()),2&he){const L=a.oxw(2);a.xp6(1),a.Q6J("ngForOf",L.menu)}}function fo(he,jt){if(1&he&&(a.TgZ(0,"div",7)(1,"div",3)(2,"h5",8),a._uU(3),a.qZA()(),a.YNc(4,$a,2,1,"div",9),a.qZA()),2&he){const L=a.oxw();a.xp6(3),a.Oqu(L.item.title||""),a.xp6(1),a.Q6J("ngIf",L.hasMenu)}}function za(he,jt){if(1&he&&(a.TgZ(0,"h6",25),a._uU(1),a.qZA()),2&he){const L=a.oxw();a.xp6(1),a.Oqu(L.item.subTitle)}}function Uc(he,jt){if(1&he&&(a.TgZ(0,"p",26),a._uU(1),a.qZA()),2&he){const L=a.oxw();a.xp6(1),a.Oqu(L.item.text)}}const Es=function(he,jt,L){return{card:he,context:jt,metadata:L}};function Vl(he,jt){if(1&he&&a.GkF(0,27),2&he){const L=a.oxw();a.Q6J("ngTemplateOutlet",L.template)("ngTemplateOutletContext",a.kEZ(2,Es,L.item,null==L.kanban?null:L.kanban.context,L.metadata))}}let Ka=(()=>{class he extends Vs.V{set template(L){this._template!=L&&(this._template=L)}get template(){return this._template||this.kanban?.template}set placeholderTemplate(L){this._placeholderTemplate!=L&&(this._placeholderTemplate=L)}get placeholderTemplate(){return this._placeholderTemplate||this.kanban?.placeholderTemplate}constructor(L){super(L),this.injector=L,this.class="draggable-card",this.metadata={},this.go=L.get(so.o)}ngOnInit(){}hasButtonItems(L){return!!L.items||!!L.dynamicItems}get hasMenu(){return!!this.item?.menu||!!this.item?.dynamicMenu}get menu(){return this.item?.dynamicMenu&&this.item?.dynamicMenu(this.item)||this.item?.menu||[]}get isUseCardData(){return null!=this.kanban?.useCardData}onButtonClick(L){L.route?this.go.navigate(L.route,L.metadata):L.onClick&&L.onClick(this.isUseCardData?this.item?.data:this.item,this.docker)}getButtonItems(L,Ue){return L.className.includes("show")&&(Ue.dynamicItems&&Ue.dynamicItems(this.item)||Ue.items)||[]}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["card"]],hostVars:2,hostBindings:function(Ue,je){2&Ue&&a.Tol(je.class)},inputs:{item:"item",docker:"docker",kanban:"kanban",template:"template",placeholderTemplate:"placeholderTemplate"},features:[a.qOj],decls:7,vars:4,consts:[[1,"card","border-secondary","my-1"],[1,"card-body"],["class","d-flex w-100",4,"ngIf"],[1,"flex-fill"],["class","card-subtitle mb-2 text-muted small ",4,"ngIf"],["class","card-text small",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[1,"d-flex","w-100"],[1,"card-title","small"],["class","btn-group card-buttons","role","group","aria-label","Op\xe7\xf5es",4,"ngIf"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group","card-buttons"],["class","btn-group","role","group",4,"ngFor","ngForOf"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"id","click"],["itemsButton",""],["data-bs-toggle","tooltip","data-bs-placement","top",3,"class",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"],[3,"class",4,"ngIf"],[1,"card-subtitle","mb-2","text-muted","small"],[1,"card-text","small"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Ue,je){1&Ue&&(a.TgZ(0,"div",0)(1,"div",1),a.YNc(2,fo,5,2,"div",2),a.TgZ(3,"div",3),a.YNc(4,za,2,1,"h6",4),a.YNc(5,Uc,2,1,"p",5),a.qZA(),a.YNc(6,Vl,1,6,"ng-container",6),a.qZA()()),2&Ue&&(a.xp6(2),a.Q6J("ngIf",je.item.title||je.hasMenu),a.xp6(2),a.Q6J("ngIf",je.item.subTitle),a.xp6(1),a.Q6J("ngIf",je.item.text),a.xp6(1),a.Q6J("ngIf",je.template))},dependencies:[i.sg,i.O5,i.tP],styles:[".card-buttons[_ngcontent-%COMP%]{height:-moz-fit-content!important;height:fit-content!important}"]})}return he})();var go=m(4575),Fl=m(1338),Ba=m(9224),po=m(5795),yo=m(409),ma=m(3562),xl=m(8748),Xl=m(1749),_a=m(1813),cc=m(7376),Hc=m(9414);function Pc(he,jt){}const uc=()=>{const he=typeof window<"u"?window:void 0;return he&&he.tinymce?he.tinymce:null};let ql=(()=>{class he{constructor(){this.onBeforePaste=new a.vpe,this.onBlur=new a.vpe,this.onClick=new a.vpe,this.onContextMenu=new a.vpe,this.onCopy=new a.vpe,this.onCut=new a.vpe,this.onDblclick=new a.vpe,this.onDrag=new a.vpe,this.onDragDrop=new a.vpe,this.onDragEnd=new a.vpe,this.onDragGesture=new a.vpe,this.onDragOver=new a.vpe,this.onDrop=new a.vpe,this.onFocus=new a.vpe,this.onFocusIn=new a.vpe,this.onFocusOut=new a.vpe,this.onKeyDown=new a.vpe,this.onKeyPress=new a.vpe,this.onKeyUp=new a.vpe,this.onMouseDown=new a.vpe,this.onMouseEnter=new a.vpe,this.onMouseLeave=new a.vpe,this.onMouseMove=new a.vpe,this.onMouseOut=new a.vpe,this.onMouseOver=new a.vpe,this.onMouseUp=new a.vpe,this.onPaste=new a.vpe,this.onSelectionChange=new a.vpe,this.onActivate=new a.vpe,this.onAddUndo=new a.vpe,this.onBeforeAddUndo=new a.vpe,this.onBeforeExecCommand=new a.vpe,this.onBeforeGetContent=new a.vpe,this.onBeforeRenderUI=new a.vpe,this.onBeforeSetContent=new a.vpe,this.onChange=new a.vpe,this.onClearUndos=new a.vpe,this.onDeactivate=new a.vpe,this.onDirty=new a.vpe,this.onExecCommand=new a.vpe,this.onGetContent=new a.vpe,this.onHide=new a.vpe,this.onInit=new a.vpe,this.onInitNgModel=new a.vpe,this.onLoadContent=new a.vpe,this.onNodeChange=new a.vpe,this.onPostProcess=new a.vpe,this.onPostRender=new a.vpe,this.onPreInit=new a.vpe,this.onPreProcess=new a.vpe,this.onProgressState=new a.vpe,this.onRedo=new a.vpe,this.onRemove=new a.vpe,this.onReset=new a.vpe,this.onResizeEditor=new a.vpe,this.onSaveContent=new a.vpe,this.onSetAttrib=new a.vpe,this.onObjectResizeStart=new a.vpe,this.onObjectResized=new a.vpe,this.onObjectSelected=new a.vpe,this.onSetContent=new a.vpe,this.onShow=new a.vpe,this.onSubmit=new a.vpe,this.onUndo=new a.vpe,this.onVisualAid=new a.vpe}}return he.\u0275fac=function(L){return new(L||he)},he.\u0275dir=a.lG2({type:he,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),he})();const Yl=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],cr=(he,jt,L)=>(0,yo.R)(he,jt).pipe((0,Xl.R)(L)),Ac=(he,jt)=>"string"==typeof he?he.split(",").map(L=>L.trim()):Array.isArray(he)?he:jt;let au=0;const Zc=he=>typeof he<"u"&&"textarea"===he.tagName.toLowerCase(),El=he=>typeof he>"u"||""===he?[]:Array.isArray(he)?he:he.split(" "),Gc=(he,jt)=>El(he).concat(El(jt)),Ja=()=>{},rc=he=>null==he,ii=(()=>{let he={script$:null};return{load:(Ue,je)=>he.script$||(he.script$=(0,ma.P)(()=>{const E=Ue.createElement("script");return E.referrerPolicy="origin",E.type="application/javascript",E.src=je,Ue.head.appendChild(E),(0,yo.R)(E,"load").pipe((0,_a.q)(1),(0,cc.h)(void 0))}).pipe((0,Hc.d)({bufferSize:1,refCount:!0}))),reinitialize:()=>{he={script$:null}}}})(),es=new a.OlP("TINYMCE_SCRIPT_SRC"),Ic={provide:t.JU,useExisting:(0,a.Gpc)(()=>Ul),multi:!0};let Ul=(()=>{class he extends ql{constructor(L,Ue,je,E){super(),this.platformId=je,this.tinymceScriptSrc=E,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=Ja,this.destroy$=new xl.x,this.initialise=()=>{const v={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:Gc(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:M=>{this._editor=M,cr(M,"init",this.destroy$).subscribe(()=>{this.initEditor(M)}),((he,jt,L)=>{(he=>{const jt=Ac(he.ignoreEvents,[]);return Ac(he.allowedEvents,Yl).filter(Ue=>Yl.includes(Ue)&&!jt.includes(Ue))})(he).forEach(je=>{const E=he[je];cr(jt,je.substring(2),L).subscribe(v=>{E.observers.length>0&&he.ngZone.run(()=>E.emit({event:v,editor:jt}))})})})(this,M,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(M)}};Zc(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{uc().init(v)})},this._elementRef=L,this.ngZone=Ue}set disabled(L){this._disabled=L,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(L?"readonly":"design"):this._editor.setMode(L?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(L){this._editor&&this._editor.initialized?this._editor.setContent(rc(L)?"":L):this.initialValue=null===L?void 0:L}registerOnChange(L){this.onChangeCallback=L}registerOnTouched(L){this.onTouchedCallback=L}setDisabledState(L){this.disabled=L}ngAfterViewInit(){(0,i.NF)(this.platformId)&&(this.id=this.id||(he=>{const L=(new Date).getTime(),Ue=Math.floor(1e9*Math.random());return au++,"tiny-angular_"+Ue+au+String(L)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==uc()?this.initialise():this._element&&this._element.ownerDocument&&ii.load(this._element.ownerDocument,this.getScriptSrc()).pipe((0,Xl.R)(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==uc()&&uc().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,Zc(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return rc(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(L){cr(L,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),cr(L,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(L))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{L.setContent(this.initialValue),L.getContent()!==this.initialValue&&this.emitOnChange(L),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(L)})}emitOnChange(L){this.onChangeCallback&&this.onChangeCallback(L.getContent({format:this.outputFormat}))}}return he.\u0275fac=function(L){return new(L||he)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.Lbi),a.Y36(es,8))},he.\u0275cmp=a.Xpm({type:he,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[a._Bn([Ic]),a.qOj,a.jDz],decls:1,vars:0,template:function(L,Ue){1&L&&a.YNc(0,Pc,0,0,"ng-template")},dependencies:[i.ez,t.u5],styles:["[_nghost-%COMP%]{display:block}"]}),he})(),Ta=(()=>{class he{}return he.\u0275fac=function(L){return new(L||he)},he.\u0275mod=a.oAB({type:he}),he.\u0275inj=a.cJS({imports:[Ul]}),he})();var Rc=m(1547),Al=m(58),Oa=m(5691);const Ea=["mainDiv"],wl=["wrapperDiv"],jc=function(he){return{height:he}},Nc=function(he,jt){return{"overflow-x":he,height:jt}},Fc=function(he,jt){return{width:he,height:jt}},sa=function(he){return{"overflow-x":he}},Qa=["*"];let Kr=(()=>{class he extends Vs.V{constructor(L){super(L),this.injector=L}ngOnInit(){let L=this.getWidth();this.nativeScrollBarHeight=L+"px",this.scrollBarElementHeight=L+1+"px"}ngAfterViewInit(){this.wrapper2scrollWidth=this.mainDiv.nativeElement.scrollWidth+"px",this.cdRef.detectChanges()}onWrapperScroll(){this.mainDiv.nativeElement.scrollLeft=this.wrapperDiv.nativeElement.scrollLeft}onMainScroll(){this.wrapperDiv.nativeElement.scrollLeft=this.mainDiv.nativeElement.scrollLeft}getWidth(){var L=document.createElement("div"),Ue=document.createElement("div");L.style.width="100%",L.style.height="200px",Ue.style.width="200px",Ue.style.height="150px",Ue.style.position="absolute",Ue.style.top="0",Ue.style.left="0",Ue.style.visibility="hidden",Ue.style.overflow="hidden",Ue.appendChild(L),document.body.appendChild(Ue);var je=L.offsetWidth;Ue.style.overflow="scroll";var E=Ue.clientWidth;return document.body.removeChild(Ue),je-E}static#e=this.\u0275fac=function(Ue){return new(Ue||he)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:he,selectors:[["double-scrollbar"]],viewQuery:function(Ue,je){if(1&Ue&&(a.Gf(Ea,5),a.Gf(wl,5)),2&Ue){let E;a.iGM(E=a.CRH())&&(je.mainDiv=E.first),a.iGM(E=a.CRH())&&(je.wrapperDiv=E.first)}},inputs:{doubleScrollBarHorizontal:"doubleScrollBarHorizontal"},features:[a.qOj],ngContentSelectors:Qa,decls:7,vars:14,consts:[[2,"overflow-y","hidden",3,"ngStyle"],[2,"overflow-y","hidden","position","relative","top","-1px",3,"ngStyle","scroll"],["wrapperDiv",""],[3,"ngStyle"],[3,"ngStyle","scroll"],["mainDiv",""]],template:function(Ue,je){1&Ue&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1,2),a.NdJ("scroll",function(){return je.onWrapperScroll()}),a._UZ(3,"div",3),a.qZA()(),a.TgZ(4,"div",4,5),a.NdJ("scroll",function(){return je.onMainScroll()}),a.Hsn(6),a.qZA()),2&Ue&&(a.Q6J("ngStyle",a.VKq(4,jc,je.nativeScrollBarHeight)),a.xp6(1),a.Q6J("ngStyle",a.WLB(6,Nc,"always"==je.doubleScrollBarHorizontal?"scroll":"auto",je.scrollBarElementHeight)),a.xp6(2),a.Q6J("ngStyle",a.WLB(9,Fc,je.wrapper2scrollWidth,je.scrollBarElementHeight)),a.xp6(1),a.Q6J("ngStyle",a.VKq(12,sa,"always"==je.doubleScrollBarHorizontal?"scroll":"auto")))},dependencies:[i.PC],encapsulation:2})}return he})();var oo=m(6925);const Ua=()=>({validation:!1});let dc=(()=>{class he{static#e=this.\u0275fac=function(Ue){return new(Ue||he)};static#t=this.\u0275mod=a.oAB({type:he});static#n=this.\u0275inj=a.cJS({providers:[{provide:es,useFactory:L=>L.baseURL+"/tinymce/tinymce.min.js",deps:[Rc.d]},(0,A.np)(Ua)],imports:[i.ez,Fl.vQ,qe.Rq,t.UX,t.u5,go.c8,Ta,oo.kb,Nr,uo]})}return he})();a.B6R(Oo.M,[i.sg,i.O5,i.tP,t._Y,t.JL,t.sg,Lr,Fa,Xo,hs.n,ps],[]),a.B6R(vl.z,[i.O5,t._Y,t.JL,t.sg,Da.a],[]),a.B6R(al.Q,[i.sg,i.O5,t._Y,t.JL,t.sg,hs.n],[]),a.B6R(Da.a,[i.O5,qo.h],[]),a.B6R(Za.B,[qo.h],[]),a.B6R(jo.V,[i.sg,i.O5,i.tP,qo.h],[]),a.B6R(Io.G,[i.O5,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(Sa.m,[i.O5,t.Fj,t.JJ,t.oH,A.Z6,qo.h],[]),a.B6R(nl.Q,[i.O5,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(ia.k,[i.O5,A.Z6,qo.h],[]),a.B6R(lc.f,[i.sg,i.O5,qo.h],[]),a.B6R(ka.p,[i.sg,i.O5,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(hr.p,[i.mk,i.sg,i.O5,qo.h],[]),a.B6R(zo.z,[i.sg,i.O5,t.YN,t.Kr,t.Fj,t.JJ,t.oH,qo.h],[]),a.B6R(ml.u,[i.O5,t._Y,t.Fj,t.wV,t.eT,t.JJ,t.JL,t.sg,t.u,qo.h],[]),a.B6R(Wr.i,[i.sg,qo.h],[]),a.B6R(is.d,[i.sg,i.O5,qo.h],[]),a.B6R(Te.Y,[i.sg,Lr,Fa],[]),a.B6R(qr.C,[i.sg,go.Q4,go.s1,ls.x,zr.m,Kr],[]),a.B6R(ls.x,[i.O5,go.jk,zr.m],[]),a.B6R(zr.m,[i.sg,i.O5,i.tP,go.jk,go.Q4,go.mv,go.s1,Ka],[]),a.B6R(Ba.l,[i.O5,t.Fj,t.JJ,t.oH,A.Z6,qo.h],[]),a.B6R(po.G,[i.sg,i.O5,t._Y,t.JJ,t.JL,t.sg,t.u,t.On,Ul,oo.KC,ns,Ji,qo.h,Sa.m,lc.f,ka.p,Ql.n,re.i,Ba.l],[]),a.B6R(Al.Z,[i.sg,i.O5,Oa.e],[])},3705:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>y});var i=m(755),t=m(6733);function A(C,b){if(1&C&&i._UZ(0,"div",2),2&C){const N=i.oxw();i.ekj("document-preview-margin",!N.isNoMargin),i.Q6J("innerHTML",N.html,i.oJD)}}function a(C,b){if(1&C&&(i.TgZ(0,"div",3)(1,"div",4),i._UZ(2,"i",5)(3,"br"),i.TgZ(4,"h5"),i._uU(5),i.qZA()()()),2&C){const N=i.oxw();i.ekj("document-preview-margin",!N.isNoMargin),i.xp6(5),i.Oqu(N.emptyDocumentMensage)}}let y=(()=>{class C{constructor(){}ngOnInit(){}get isNoMargin(){return null!=this.noMargin}static#e=this.\u0275fac=function(j){return new(j||C)};static#t=this.\u0275cmp=i.Xpm({type:C,selectors:[["document-preview"]],inputs:{html:"html",emptyDocumentMensage:"emptyDocumentMensage",noMargin:"noMargin"},decls:2,vars:2,consts:[["class","document-preview-paper",3,"innerHTML","document-preview-margin",4,"ngIf"],["class","document-preview-paper",3,"document-preview-margin",4,"ngIf"],[1,"document-preview-paper",3,"innerHTML"],[1,"document-preview-paper"],[1,"document-preview-no-document","d-block"],[1,"bi","bi-question-octagon",2,"font-size","2rem"]],template:function(j,F){1&j&&(i.YNc(0,A,1,3,"div",0),i.YNc(1,a,6,3,"div",1)),2&j&&(i.Q6J("ngIf",F.html),i.xp6(1),i.Q6J("ngIf",!F.html&&F.emptyDocumentMensage))},dependencies:[t.O5],styles:[".document-preview-paper[_ngcontent-%COMP%]{display:block;width:100%;min-height:300px}.document-preview-no-document[_ngcontent-%COMP%]{padding-top:100px;display:block;width:100%;text-align:center;display:inline;min-height:300px}"]})}return C})()},4040:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>mt});var i=m(2307),t=m(755),A=m(2133),a=m(3150),y=m(8935),C=m(6848),b=m(8544),N=m(4495),j=m(1823),F=m(7819),x=m(2984),H=m(8877),k=m(52),P=m(8967),X=m(4603),me=m(8820),Oe=m(2392),Se=m(4508),wt=m(3085),K=m(5736),V=m(5795),J=m(9224),ae=m(6733),oe=m(645),ye=m(8720),Ee=m(8748),Ge=m(1749),gt=m(5545);function Ze(vt,hn){if(1&vt&&t._UZ(0,"toolbar",6),2&vt){const yt=t.oxw();t.Q6J("title",yt.title)("buttons",yt.toolbarButtons)}}function Je(vt,hn){if(1&vt&&(t.TgZ(0,"div",7)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&vt){const yt=t.oxw();t.Q6J("id",yt.generatedId(yt.title)+"_error"),t.xp6(4),t.Oqu((yt.error||"").split("&")[0]),t.xp6(2),t.hij("",(yt.error||"").split("&")[1],"\n")}}function tt(vt,hn){1&vt&&(t.ynx(0),t.TgZ(1,"small"),t._uU(2," ("),t.TgZ(3,"span",8),t._uU(4,"\uff0a"),t.qZA(),t._uU(5,") Campos obrigat\xf3rios "),t.qZA(),t.BQk())}function Qe(vt,hn){if(1&vt&&t._UZ(0,"i"),2&vt){const yt=t.oxw().$implicit;t.Tol(yt.icon)}}function pt(vt,hn){if(1&vt){const yt=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){const In=t.CHM(yt).$implicit,dn=t.oxw(2);return t.KtG(dn.onButtonClick(In))}),t.YNc(1,Qe,1,2,"i",15),t._uU(2),t.qZA()}if(2&vt){const yt=hn.$implicit,Fn=t.oxw(2);t.Tol("btn "+(yt.color||"btn-outline-primary")),t.Q6J("id",Fn.generatedId(Fn.title+yt.label+yt.icon)+"_button"),t.xp6(1),t.Q6J("ngIf",null==yt.icon?null:yt.icon.length),t.xp6(1),t.hij(" ",yt.label||""," ")}}function Nt(vt,hn){1&vt&&t._UZ(0,"span",18)}function Jt(vt,hn){if(1&vt&&t._UZ(0,"i"),2&vt){const yt=t.oxw(3);t.Tol(yt.form.valid&&!yt.forceInvalid?"bi-check-circle":"bi-exclamation-circle")}}function nt(vt,hn){if(1&vt){const yt=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(yt);const xn=t.oxw(2);return t.KtG(xn.onSubmit())}),t.YNc(1,Nt,1,0,"span",17),t.YNc(2,Jt,1,2,"i",15),t._uU(3),t.qZA()}if(2&vt){const yt=t.oxw(2);t.Q6J("id",yt.generatedId(yt.title)+"_submit")("disabled",yt.submitting),t.xp6(1),t.Q6J("ngIf",yt.submitting),t.xp6(1),t.Q6J("ngIf",!yt.submitting),t.xp6(1),t.hij(" ",null!=yt.confirmLabel&&yt.confirmLabel.length?yt.confirmLabel:"Gravar"," ")}}function ot(vt,hn){if(1&vt){const yt=t.EpF();t.TgZ(0,"button",19),t.NdJ("click",function(){t.CHM(yt);const xn=t.oxw(2);return t.KtG(xn.onCancel())}),t._UZ(1,"i",20),t._uU(2),t.qZA()}if(2&vt){const yt=t.oxw(2);t.Q6J("id",yt.generatedId(yt.title)+"_cancel"),t.xp6(2),t.hij(" ",null!=yt.cancelLabel&&yt.cancelLabel.length?yt.cancelLabel:yt.disabled?"Fechar":"Cancelar"," ")}}function Ct(vt,hn){if(1&vt&&(t.TgZ(0,"div",9)(1,"div",10),t.YNc(2,pt,3,5,"button",11),t.YNc(3,nt,4,5,"button",12),t.YNc(4,ot,3,2,"button",13),t.qZA()()),2&vt){const yt=t.oxw();t.xp6(2),t.Q6J("ngForOf",yt.buttons),t.xp6(1),t.Q6J("ngIf",yt.hasSubmit&&!yt.disabled),t.xp6(1),t.Q6J("ngIf",yt.hasCancel)}}const He=["*"];let mt=(()=>{class vt extends K.V{set disabled(yt){this._disabled!=yt&&(this._disabled=yt,this.disableAll(yt))}get disabled(){return this._disabled}set error(yt){this._error=yt,this.submitting=!1}get error(){return this._error}get isNoButtons(){return void 0!==this.noButtons}get isNoMargin(){return void 0!==this.noMargin}constructor(yt,Fn,xn){super(yt),this.document=Fn,this.dialog=xn,this.disable=new t.vpe,this.submit=new t.vpe,this.cancel=new t.vpe,this.title="",this.buttons=[],this.toolbarButtons=[],this.withScroll=!0,this.forceInvalid=!1,this._disabled=!1,this.submitting=!1,this.unsubscribe$=new Ee.x,this.fb=yt.get(A.qu),this.go=yt.get(i.o),this.fh=yt.get(ye.k),this.dialog.modalClosed.pipe((0,Ge.R)(this.unsubscribe$)).subscribe(()=>{this.clearGridNoSaved()})}ngOnInit(){}get hasSubmit(){return!!this.submit.observers.length}get hasCancel(){return!!this.cancel.observers.length}ngAfterViewInit(){this.disabled&&this.disableAll(!0),this.setInititalFocus()}setInititalFocus(){if(this.initialFocus){for(const[yt,Fn]of Object.entries(this.form.controls))if(yt==this.initialFocus)for(const xn of this.components)if(xn.control==Fn){xn.focus();break}}else{const yt=Object.entries(this.form.controls)[0];if(yt)for(const Fn of this.components)if(Fn.control==yt[1]){Fn.focus();break}}}get components(){return[...this.grids?.toArray()||[],...this.inputContainers?.toArray()||[],...this.inputSwitchs?.toArray()||[],...this.inputDisplays?.toArray()||[],...this.inputSearchs?.toArray()||[],...this.inputButtons?.toArray()||[],...this.inputTexts?.toArray()||[],...this.inputNumbers?.toArray()||[],...this.inputTextareas?.toArray()||[],...this.inputDatetimes?.toArray()||[],...this.inputRadios?.toArray()||[],...this.inputSelects?.toArray()||[],...this.inputColors?.toArray()||[],...this.inputMultiselects?.toArray()||[],...this.inputTimers?.toArray()||[],...this.inputRates?.toArray()||[],...this.inputEditors?.toArray()||[],...this.inputMultitoggles?.toArray()||[]]}disableAll(yt){this.components?.forEach(Fn=>Fn.disabled=yt?"true":void 0),this.forms?.toArray()?.forEach(Fn=>Fn.disabled=yt),this.disable&&this.disable.emit(new Event("disabled"))}revalidate(){this.fh.revalidate(this.form)}onButtonClick(yt){yt.route?this.go.navigate(yt.route,yt.metadata):yt.onClick&&yt.onClick()}onSubmit(){this.revalidate(),this.form.valid?(this.submitting=!0,this.submit.emit(this)):(this.form.markAllAsTouched(),Object.entries(this.form.controls).forEach(([yt,Fn])=>{Fn.invalid&&console.log("Validate => "+yt,Fn.value,Fn.errors)}))}onCancel(){this.cancel.emit()}get anyRequired(){for(const yt of this.components)if(yt instanceof oe.M&&yt.isRequired)return!0;return!1}clearGridNoSaved(yt=this.form){this.removeAddStatusRecursively(yt.value)}removeAddStatusRecursively(yt){Array.isArray(yt)?yt.forEach(Fn=>{Fn&&"object"==typeof Fn&&this.removeAddStatusRecursively(Fn)}):null!==yt&&"object"==typeof yt&&Object.keys(yt).forEach(Fn=>{"_status"===Fn&&"ADD"===yt[Fn]?Object.keys(yt).length<=2&&(yt[Fn]="DELETE"):this.removeAddStatusRecursively(yt[Fn])})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Fn){return new(Fn||vt)(t.Y36(t.zs3),t.Y36(ae.K0),t.Y36(gt.x))};static#t=this.\u0275cmp=t.Xpm({type:vt,selectors:[["editable-form"]],contentQueries:function(Fn,xn,In){if(1&Fn&&(t.Suo(In,a.M,5),t.Suo(In,vt,5),t.Suo(In,b.h,5),t.Suo(In,me.a,5),t.Suo(In,j.B,5),t.Suo(In,P.V,5),t.Suo(In,y.G,5),t.Suo(In,Oe.m,5),t.Suo(In,J.l,5),t.Suo(In,Se.Q,5),t.Suo(In,N.k,5),t.Suo(In,H.f,5),t.Suo(In,X.p,5),t.Suo(In,C.z,5),t.Suo(In,F.p,5),t.Suo(In,wt.u,5),t.Suo(In,k.i,5),t.Suo(In,V.G,5),t.Suo(In,x.d,5)),2&Fn){let dn;t.iGM(dn=t.CRH())&&(xn.grids=dn),t.iGM(dn=t.CRH())&&(xn.forms=dn),t.iGM(dn=t.CRH())&&(xn.inputContainers=dn),t.iGM(dn=t.CRH())&&(xn.inputSwitchs=dn),t.iGM(dn=t.CRH())&&(xn.inputDisplays=dn),t.iGM(dn=t.CRH())&&(xn.inputSearchs=dn),t.iGM(dn=t.CRH())&&(xn.inputButtons=dn),t.iGM(dn=t.CRH())&&(xn.inputTexts=dn),t.iGM(dn=t.CRH())&&(xn.inputNumbers=dn),t.iGM(dn=t.CRH())&&(xn.inputTextareas=dn),t.iGM(dn=t.CRH())&&(xn.inputDatetimes=dn),t.iGM(dn=t.CRH())&&(xn.inputRadios=dn),t.iGM(dn=t.CRH())&&(xn.inputSelects=dn),t.iGM(dn=t.CRH())&&(xn.inputColors=dn),t.iGM(dn=t.CRH())&&(xn.inputMultiselects=dn),t.iGM(dn=t.CRH())&&(xn.inputTimers=dn),t.iGM(dn=t.CRH())&&(xn.inputRates=dn),t.iGM(dn=t.CRH())&&(xn.inputEditors=dn),t.iGM(dn=t.CRH())&&(xn.inputMultitoggles=dn)}},viewQuery:function(Fn,xn){if(1&Fn&&t.Gf(A.sg,5),2&Fn){let In;t.iGM(In=t.CRH())&&(xn.formDirective=In.first)}},inputs:{form:"form",title:"title",buttons:"buttons",toolbarButtons:"toolbarButtons",confirmLabel:"confirmLabel",cancelLabel:"cancelLabel",noButtons:"noButtons",noMargin:"noMargin",initialFocus:"initialFocus",withScroll:"withScroll",forceInvalid:"forceInvalid",disabled:"disabled"},outputs:{disable:"disable",submit:"submit",cancel:"cancel"},features:[t._Bn([{provide:A.sg,useFactory:yt=>{const Fn=new A.sg([],[]);return Fn.form=yt.form,yt.formDirective||Fn},deps:[vt]}]),t.qOj],ngContentSelectors:He,decls:7,vars:8,consts:[[3,"title","buttons",4,"ngIf"],["class","alert alert-danger mt-2 break-spaces","role","alert",3,"id",4,"ngIf"],[1,"px-2"],[1,"d-block",3,"id","formGroup"],[4,"ngIf"],["class","d-flex flex-row-reverse mt-3",4,"ngIf"],[3,"title","buttons"],["role","alert",1,"alert","alert-danger","mt-2","break-spaces",3,"id"],[1,"fs-6"],[1,"d-flex","flex-row-reverse","mt-3"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group","float-right"],["type","button",3,"id","class","click",4,"ngFor","ngForOf"],["type","button","class","btn btn-outline-success",3,"id","disabled","click",4,"ngIf"],["type","button","class","btn btn-outline-danger",3,"id","click",4,"ngIf"],["type","button",3,"id","click"],[3,"class",4,"ngIf"],["type","button",1,"btn","btn-outline-success",3,"id","disabled","click"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],["type","button",1,"btn","btn-outline-danger",3,"id","click"],[1,"bi","bi-dash-circle"]],template:function(Fn,xn){1&Fn&&(t.F$t(),t.YNc(0,Ze,1,2,"toolbar",0),t.YNc(1,Je,7,3,"div",1),t.TgZ(2,"div",2)(3,"form",3),t.Hsn(4),t.qZA()(),t.YNc(5,tt,6,0,"ng-container",4),t.YNc(6,Ct,5,3,"div",5)),2&Fn&&(t.Q6J("ngIf",xn.title.length||xn.toolbarButtons.length),t.xp6(1),t.Q6J("ngIf",null==xn.error?null:xn.error.length),t.xp6(2),t.Tol(xn.isNoMargin?"m-0 p-0":"mx-2 mt-2"),t.Q6J("id",xn.generatedId(xn.title)+"_form")("formGroup",xn.form),t.xp6(2),t.Q6J("ngIf",!xn.isNoButtons&&xn.anyRequired),t.xp6(1),t.Q6J("ngIf",!xn.isNoButtons))},styles:[".break-spaces[_ngcontent-%COMP%]{white-space:break-spaces}"]})}return vt})()},3351:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>t});var i=m(755);let t=(()=>{class A{constructor(){this.title="",this.type="display",this.field="",this.orderBy="",this.editable=!1,this.align="none",this.verticalAlign="bottom",this.minWidth=void 0,this.maxWidth=void 0,this.width=void 0}ngOnInit(){}static#e=this.\u0275fac=function(C){return new(C||A)};static#t=this.\u0275cmp=i.Xpm({type:A,selectors:[["column"]],inputs:{icon:"icon",hint:"hint",title:"title",titleHint:"titleHint",type:"type",field:"field",dao:"dao",orderBy:"orderBy",editable:"editable",template:"template",titleTemplate:"titleTemplate",editTemplate:"editTemplate",columnEditTemplate:"columnEditTemplate",expandTemplate:"expandTemplate",items:"items",onlyHours:"onlyHours",onlyDays:"onlyDays",buttons:"buttons",dynamicButtons:"dynamicButtons",options:"options",save:"save",edit:"edit",canEdit:"canEdit",dynamicOptions:"dynamicOptions",onEdit:"onEdit",onDelete:"onDelete",onChange:"onChange",upDownButtons:"upDownButtons",stepValue:"stepValue",align:"align",verticalAlign:"verticalAlign",minWidth:"minWidth",maxWidth:"maxWidth",width:"width",cellClass:"cellClass",always:"always",metadata:"metadata"},decls:0,vars:0,template:function(C,b){}})}return A})()},7224:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>a});var i=m(3351),t=m(755);const A=["*"];let a=(()=>{class y{constructor(){}ngOnInit(){}get columns(){return this.columnsRef?this.columnsRef.map(b=>b):[]}static#e=this.\u0275fac=function(N){return new(N||y)};static#t=this.\u0275cmp=t.Xpm({type:y,selectors:[["columns"]],contentQueries:function(N,j,F){if(1&N&&t.Suo(F,i.b,5),2&N){let x;t.iGM(x=t.CRH())&&(j.columnsRef=x)}},ngContentSelectors:A,decls:1,vars:0,template:function(N,j){1&N&&(t.F$t(),t.Hsn(0))}})}return y})()},7765:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>b});var i=m(755),t=m(2133),A=m(5736);function a(N,j){if(1&N){const F=i.EpF();i.TgZ(0,"div",11)(1,"input-switch",12),i.NdJ("change",function(H){i.CHM(F);const k=i.oxw(2);return i.KtG(k.onDeletedChange(H))}),i.qZA()()}if(2&N){const F=i.oxw(2);i.xp6(1),i.Q6J("size",4)("hostClass","mt-0")("control",F.deletedControl)}}function y(N,j){if(1&N){const F=i.EpF();i.TgZ(0,"div",3)(1,"div",4),i.YNc(2,a,2,3,"div",5),i.TgZ(3,"div",6)(4,"button",7),i.NdJ("click",function(){i.CHM(F);const H=i.oxw();return i.KtG(H.onButtonFilterClick())}),i._UZ(5,"i",8),i._uU(6," Filtrar "),i.qZA(),i.TgZ(7,"button",9),i.NdJ("click",function(){i.CHM(F);const H=i.oxw();return i.KtG(H.onButtonClearClick())}),i._UZ(8,"i",10),i._uU(9," Limpar "),i.qZA()()()()}if(2&N){const F=i.oxw();i.xp6(2),i.Q6J("ngIf",F.deleted),i.xp6(2),i.Q6J("id",F.getId("_filter_filtrar")),i.xp6(3),i.Q6J("id",F.getId("_filter_limpar"))}}const C=["*"];let b=(()=>{class N extends A.V{constructor(F){super(F),this.filterClear=new i.vpe,this.visible=!0,this.deleted=!1,this.collapsed=!0,this.deletedControl=new t.NI(!1)}ngOnInit(){}getId(F){return this.grid?.getId(F)||this.generatedId(F)}get isHidden(){return null!=this.hidden}get isNoButtons(){return void 0!==this.noButtons}toggle(){this.collapsed=!this.collapsed,this.collapseChange&&this.collapseChange(this.form)}onDeletedChange(F){this.onButtonFilterClick()}onButtonClearClick(){this.filterClear.emit(),this.form&&(this.clear?this.clear(this.form):this.form.reset(this.form.initialState),this.onButtonFilterClick())}onButtonFilterClick(){if(this.filter)this.filter(this.form);else{let F=this.submit?this.submit(this.form):void 0;F=F||this.grid?.queryOptions||this.queryOptions||{},F.deleted=!!this.deletedControl.value,(this.grid?.query||this.query).reload(F)}}static#e=this.\u0275fac=function(x){return new(x||N)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:N,selectors:[["filter"]],viewQuery:function(x,H){if(1&x&&i.Gf(t.sg,5),2&x){let k;i.iGM(k=i.CRH())&&(H.formDirective=k.first)}},inputs:{form:"form",filter:"filter",submit:"submit",clear:"clear",where:"where",collapseChange:"collapseChange",visible:"visible",deleted:"deleted",noButtons:"noButtons",collapsed:"collapsed",grid:"grid",query:"query",queryOptions:"queryOptions",hidden:"hidden"},outputs:{filterClear:"filterClear"},features:[i._Bn([{provide:t.sg,useFactory:F=>F.formDirective,deps:[N]}]),i.qOj],ngContentSelectors:C,decls:4,vars:2,consts:[[1,"container-fluid"],[1,"mt-2",3,"formGroup"],["class","d-flex flex-row-reverse mt-2",4,"ngIf"],[1,"d-flex","flex-row-reverse","mt-2"],[1,"flex-fill","d-flex","justify-content-end"],["class","me-2",4,"ngIf"],["role","group","aria-label","Grupo de bot\xf5es para filtrar e limpar filtro",1,"btn-group"],["type","button",1,"btn","btn-outline-success",3,"id","click"],[1,"bi","bi-filter-circle"],["type","button",1,"btn","btn-outline-danger",3,"id","click"],[1,"bi","bi-x-circle"],[1,"me-2"],["labelPosition","left","label","Mostrar os deletados",3,"size","hostClass","control","change"]],template:function(x,H){1&x&&(i.F$t(),i.TgZ(0,"div",0)(1,"form",1),i.Hsn(2),i.qZA(),i.YNc(3,y,10,3,"div",2),i.qZA()),2&x&&(i.xp6(1),i.Q6J("formGroup",H.form),i.xp6(2),i.Q6J("ngIf",!H.isNoButtons))},styles:[".container-fluid[_ngcontent-%COMP%]{border-bottom:1px solid var(--petrvs-navbar-vertical-border-color);padding-bottom:10px}"]})}return N})()},2204:(lt,_e,m)=>{"use strict";m.d(_e,{C:()=>i});class i{constructor(){this.title="",this.type="display",this.field="",this.orderBy="",this.editable=!1,this.items=[],this.editing=!1,this.align="none",this.verticalAlign="bottom",this.minWidth=void 0,this.maxWidth=void 0,this.width=void 0}isType(A){return(this.type+":").startsWith(A+":")}inType(A){return!!A.find(a=>(this.type+":").startsWith(a+":"))}isSubType(A){return(":"+this.type).endsWith(":"+A)}inSubType(A){return!!A.find(a=>(":"+this.type).endsWith(":"+a))}isColumnEditable(A){return!!this.save&&(!!A&&"boolean"!=typeof this.editable&&!!this.editable&&this.editable(A)||"boolean"==typeof this.editable&&(this.editable||!!this.columnEditTemplate))}get isAlways(){return null!=this.always}}},3150:(lt,_e,m)=>{"use strict";m.d(_e,{M:()=>fi});var i=m(8239),t=m(755),A=m(2133),a=m(6976),y=m(5545),C=m(2307),b=m(5736),N=m(5512),j=m(7224),F=m(7765),x=m(2204),H=m(2704),k=m(8252),P=m(4788),X=m(9230),me=m(2702);function Oe(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div",10)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&Mt){const ve=t.oxw();t.xp6(4),t.Oqu((ve.error||"").split("&")[0]),t.xp6(2),t.hij("",(ve.error||"").split("&")[1]," ")}}function Se(Mt,Ot){1&Mt&&(t.TgZ(0,"th",13),t._UZ(1,"i",14),t.qZA())}function wt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"th",15),t._UZ(1,"column-header",16),t.qZA()),2&Mt){const ve=Ot.$implicit,De=Ot.index,xe=t.oxw(2);t.Tol(ve.cellClass||""),t.Udp("width",ve.width,"px")("min-width",ve.minWidth,"px")("max-width",ve.maxWidth,"px")("vertical-align",ve.verticalAlign),t.ekj("grid-editable-options",xe.isEditableGridOptions(ve)),t.xp6(1),t.Q6J("column",ve)("index",De)("grid",xe.self)}}function K(Mt,Ot){if(1&Mt&&(t.TgZ(0,"thead")(1,"tr"),t.YNc(2,Se,2,0,"th",11),t.YNc(3,wt,2,15,"th",12),t.qZA()()),2&Mt){const ve=t.oxw();t.xp6(2),t.Q6J("ngIf",ve.multiselecting),t.xp6(1),t.Q6J("ngForOf",ve.columns)}}const V=function(Mt,Ot,ve){return{grid:Mt,separator:Ot,group:ve}};function J(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.Q6J("ngTemplateOutlet",De.groupTemplate)("ngTemplateOutletContext",t.kEZ(2,V,De,De.getGroupSeparator(ve),De.getGroupSeparator(ve).group))}}function ae(Mt,Ot){if(1&Mt&&(t.TgZ(0,"strong",24),t._uU(1),t.qZA()),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.xp6(1),t.Oqu(De.getGroupSeparator(ve).text)}}function oe(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr",19)(1,"td",20),t.YNc(2,J,1,6,"ng-container",21),t.YNc(3,ae,2,1,"strong",22),t.qZA()()),2&Mt){const ve=t.oxw(2);t.xp6(1),t.uIk("colspan",ve.columns.length),t.xp6(1),t.Q6J("ngIf",ve.groupTemplate),t.xp6(1),t.Q6J("ngIf",!ve.groupTemplate)}}function ye(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div",27)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&Mt){const ve=t.oxw(3);t.xp6(4),t.Oqu((ve.error||"").split("&")[0]),t.xp6(2),t.hij("",(ve.error||"").split("&")[1]," ")}}function Ee(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr",19)(1,"td",25),t.YNc(2,ye,7,2,"div",26),t.qZA()()),2&Mt){const ve=t.oxw(2);t.xp6(1),t.uIk("colspan",ve.columns.length),t.xp6(1),t.Q6J("ngIf",null==ve.error?null:ve.error.length)}}function Ge(Mt,Ot){if(1&Mt){const ve=t.EpF();t.TgZ(0,"input",33),t.NdJ("change",function(xe){t.CHM(ve);const Ye=t.oxw(3).$implicit,xt=t.oxw();return t.KtG(xt.onMultiselectChange(xe,Ye))}),t.qZA()}if(2&Mt){const ve=t.oxw(3).$implicit,De=t.oxw();t.uIk("checked",De.isMultiselectChecked(ve))}}function gt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"td",31),t.YNc(1,Ge,1,1,"input",32),t.qZA()),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.xp6(1),t.Q6J("ngIf",!De.canSelect||De.canSelect(ve))}}function Ze(Mt,Ot){if(1&Mt&&t._UZ(0,"column-row",37),2&Mt){const ve=t.oxw(),De=ve.index,xe=ve.$implicit,Ye=t.oxw(2).$implicit,xt=t.oxw();t.Q6J("index",De)("column",xe)("row",Ye)("grid",xt.self)}}function Je(Mt,Ot){if(1&Mt&&t._UZ(0,"column-expand",38),2&Mt){const ve=t.oxw(),De=ve.index,xe=ve.$implicit,Ye=t.oxw(2).$implicit,xt=t.oxw();t.Q6J("index",De)("toggleable",!xt.isNoToggleable)("expanded",!!xt.expandedIds[Ye.id])("column",xe)("row",Ye)("grid",xt.self)}}const tt=function(){return[]};function Qe(Mt,Ot){if(1&Mt){const ve=t.EpF();t.TgZ(0,"column-options",39),t.NdJ("calcWidthChange",function(xe){t.CHM(ve);const Ye=t.oxw().$implicit;return t.KtG(Ye.width=xe)}),t.qZA()}if(2&Mt){const ve=t.oxw(),De=ve.$implicit,xe=ve.index,Ye=t.oxw(2).$implicit,xt=t.oxw();t.Q6J("calcWidth",De.width)("index",xe)("column",De)("row",Ye)("grid",xt.self)("options",De.options)("buttons",De.buttons||t.DdM(10,tt))("dynamicOptions",De.dynamicOptions)("dynamicButtons",De.dynamicButtons)("upDownButtons",De.upDownButtons)}}const pt=function(){return["options","expand"]};function Nt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"td"),t.YNc(1,Ze,1,4,"column-row",34),t.YNc(2,Je,1,6,"column-expand",35),t.YNc(3,Qe,1,11,"column-options",36),t.qZA()),2&Mt){const ve=Ot.$implicit,De=t.oxw(2).$implicit,xe=t.oxw();t.Tol("grid-column "+(ve.cellClass||"")),t.Udp("width",ve.width,"px")("min-width",ve.minWidth,"px")("max-width",ve.maxWidth,"px"),t.ekj("text-center","center"==ve.align)("text-end","right"==ve.align)("grid-column-expanded",ve.isType("expand")&&!!xe.expandedIds[De.id])("grid-column-editing-options",ve.editing)("text-end",ve.isType("options")),t.xp6(1),t.Q6J("ngIf",!ve.inType(t.DdM(21,pt))),t.xp6(1),t.Q6J("ngIf",ve.isType("expand")),t.xp6(1),t.Q6J("ngIf",ve.isType("options")&&!xe.multiselecting)}}const Jt=function(){return{id:null}};function nt(Mt,Ot){if(1&Mt){const ve=t.EpF();t.TgZ(0,"tr",28),t.NdJ("click",function(xe){t.CHM(ve);const Ye=t.oxw().$implicit,xt=t.oxw();return t.KtG(xt.onRowClick(xe,Ye))}),t.YNc(1,gt,2,1,"td",29),t.YNc(2,Nt,4,22,"td",30),t.qZA()}if(2&Mt){const ve=t.oxw().$implicit,De=t.oxw();t.ekj("d-none","DELETE"==ve._status)("deleted_at",ve.deleted_at)("table-active",(ve||t.DdM(10,Jt)).id==(De.selected||t.DdM(11,Jt)).id),t.Q6J("id","row_"+(ve||t.DdM(12,Jt)).id),t.uIk("role",De.isSelectable?"button":void 0),t.xp6(1),t.Q6J("ngIf",De.multiselecting),t.xp6(1),t.Q6J("ngForOf",De.columns)}}const ot=function(Mt,Ot){return{row:Mt,grid:Ot}};function Ct(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2).$implicit,De=t.oxw();t.Q6J("ngTemplateOutlet",De.expandedColumn.expandTemplate)("ngTemplateOutletContext",t.WLB(2,ot,ve,De))}}function He(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr")(1,"td",40),t._uU(2,"\xa0"),t.qZA(),t.TgZ(3,"td",40),t.YNc(4,Ct,1,5,"ng-container",21),t.qZA()()),2&Mt){const ve=t.oxw(2);t.xp6(3),t.uIk("colspan",ve.columns.length-1),t.xp6(1),t.Q6J("ngIf",null==ve.expandedColumn?null:ve.expandedColumn.expandTemplate)}}function mt(Mt,Ot){if(1&Mt&&(t.ynx(0),t.YNc(1,oe,4,3,"tr",17),t.YNc(2,Ee,3,2,"tr",17),t.YNc(3,nt,3,13,"tr",18),t.YNc(4,He,5,2,"tr",6),t.BQk()),2&Mt){const ve=Ot.$implicit,De=t.oxw();t.xp6(1),t.Q6J("ngIf",!!De.getGroupSeparator(ve)),t.xp6(1),t.Q6J("ngIf",(null==De.error?null:De.error.length)&&(null==De.editing?null:De.editing.id)==ve.id),t.xp6(1),t.Q6J("ngIf",!De.isSeparator(ve)),t.xp6(1),t.Q6J("ngIf",De.isNoToggleable||!!De.expandedIds[ve.id])}}function vt(Mt,Ot){if(1&Mt&&(t.TgZ(0,"tr")(1,"td",19)(2,"div",41)(3,"div",42),t._UZ(4,"span",43),t.qZA()()()()),2&Mt){const ve=t.oxw();t.xp6(1),t.uIk("colspan",ve.columns.length)}}function hn(Mt,Ot){1&Mt&&t.Hsn(0,1,["*ngIf","paginationRef?.type == 'infinity'"])}function yt(Mt,Ot){if(1&Mt&&t._UZ(0,"toolbar",45),2&Mt){const ve=t.oxw(2);t.Q6J("title",ve.sidePanel.title)("buttons",ve.editing?ve.panelButtons:t.DdM(2,tt))}}const Fn=function(Mt,Ot,ve){return{row:Mt,grid:Ot,metadata:ve}};function xn(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2);t.Q6J("ngTemplateOutlet",ve.sidePanel.template)("ngTemplateOutletContext",t.kEZ(2,Fn,ve.selected,ve,ve.getMetadata(ve.selected)))}}function In(Mt,Ot){if(1&Mt&&t.GkF(0,23),2&Mt){const ve=t.oxw(2);t.Q6J("ngTemplateOutlet",ve.sidePanel.editTemplate)("ngTemplateOutletContext",t.kEZ(2,Fn,ve.selected,ve,ve.getMetadata(ve.selected)))}}function dn(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div"),t.YNc(1,yt,1,3,"toolbar",44),t.YNc(2,xn,1,6,"ng-container",21),t.YNc(3,In,1,6,"ng-container",21),t.qZA()),2&Mt){const ve=t.oxw();t.Tol(ve.classColPanel),t.xp6(1),t.Q6J("ngIf",!ve.sidePanel.isNoToolbar&&((null==ve.sidePanel.title?null:ve.sidePanel.title.length)||ve.editing)),t.xp6(1),t.Q6J("ngIf",!ve.editing&&ve.sidePanel.template),t.xp6(1),t.Q6J("ngIf",ve.editing&&ve.sidePanel.editTemplate)}}function qn(Mt,Ot){if(1&Mt&&(t.TgZ(0,"div",46),t._UZ(1,"i",47),t._uU(2),t.qZA()),2&Mt){const ve=t.oxw();t.ekj("d-block",ve.isInvalid()),t.xp6(2),t.hij(" ",ve.errorMessage()," ")}}function di(Mt,Ot){1&Mt&&t.Hsn(0,2,["*ngIf","paginationRef?.type == 'pages'"])}const ir=["*",[["pagination"]],[["pagination"]]],Bn=["*","pagination","pagination"];class xi{constructor(Ot){this.group=Ot,this.metadata=void 0}get text(){return this.group.map(Ot=>Ot.value).join(" - ")}}let fi=(()=>{class Mt extends b.V{get class(){return this.isNoMargin?"p-0 m-0":""}set title(ve){ve!=this._title&&(this._title=ve,this.toolbarRef&&(this.toolbarRef.title=ve))}get title(){return this._title}set hasAdd(ve){ve!==this._hasAdd&&(this._hasAdd=ve,this.reset())}get hasAdd(){return this._hasAdd}set hasEdit(ve){ve!==this._hasEdit&&(this._hasEdit=ve,this.reset())}get hasEdit(){return this._hasEdit}set hasDelete(ve){ve!==this._hasDelete&&(this._hasDelete=ve,this.reset())}get hasDelete(){return this._hasDelete}set disabled(ve){ve!=this._disabled&&(this._disabled=ve,this.reset())}get disabled(){return this._disabled}set query(ve){this._query=ve,this.paginationRef&&(this.paginationRef.query=ve,this.paginationRef.cdRef.detectChanges()),ve&&(this.list=ve.subject.asObservable())}get query(){return this._query}set list(ve){var De=this;this._list=ve,ve&&ve.subscribe(function(){var xe=(0,i.Z)(function*(Ye){De.loadList&&(yield De.loadList(Ye)),De.items=Ye,De.selected=void 0,De.cdRef.detectChanges()});return function(Ye){return xe.apply(this,arguments)}}(),xe=>this.error=xe.message||xe.toString())}get list(){return this._list}set items(ve){this._items=ve,this.isExpanded&&this.expandAll(),this.group(ve),this.control?.setValue(ve),this.cdRef.detectChanges()}get items(){return this.control?.value||this._items||[]}set visible(ve){this._visible=ve,this.cdRef.detectChanges()}get visible(){return this._visible}set loading(ve){this._loading=ve,this.cdRef.detectChanges()}get loading(){return this._loading}set error(ve){this._error=ve}get error(){return this._error}set exporting(ve){ve!=this._exporting&&(this._exporting=ve,ve?this.dialog.showSppinerOverlay("Exportando dados..."):this.dialog.closeSppinerOverlay())}get exporting(){return this._exporting}constructor(ve){var De;super(ve),De=this,this.injector=ve,this.select=new t.vpe,this.icon="",this.selectable=!1,this.labelAdd="Incluir",this.join=[],this.relatorios=[],this.form=new A.cw({}),this.hasReport=!0,this.scrollable=!1,this.controlName=null,this.control=void 0,this.minHeight=350,this.multiselectAllFields=[],this._loading=!1,this._hasAdd=!0,this._hasEdit=!0,this._hasDelete=!1,this._title="",this._visible=!0,this._exporting=!1,this.filterCollapsedOnMultiselect=!1,this.self=this,this.columns=[],this.toolbarButtons=[],this.adding=!1,this.multiselecting=!1,this.multiselected={},this.multiselectExtra=void 0,this.groupIds={_qtdRows:-1},this.expandedIds={},this.metadatas={},this.BUTTON_FILTER={icon:"bi bi-search",label:"Filtros",onClick:()=>this.filterRef?.toggle()},this.addToolbarButtonClick=(0,i.Z)(function*(){return yield De.add?De.isEditable&&De.hasToolbar?De.onAddItem():De.add():De.go.navigate(De.addRoute,De.addMetadata)}).bind(this),this.BUTTON_ADD={icon:"bi bi-plus-circle",color:"btn-outline-success",label:this.labelAdd,onClick:this.addToolbarButtonClick},this.BUTTON_REPORT={icon:"bi-file-earmark-spreadsheet",color:"btn-outline-info",label:"Exportar",onClick:()=>this.report()},this.BUTTON_EDIT={label:"Alterar",icon:"bi bi-pencil-square",hint:"Alterar",color:"btn-outline-info"},this.BUTTON_DELETE={label:"Excluir",icon:"bi bi-trash",hint:"Excluir",color:"btn-outline-danger"},this.BUTTON_MULTISELECT_SELECIONAR="Selecionar",this.BUTTON_MULTISELECT_CANCELAR_SELECAO="Cancelar sele\xe7\xe3o",this.BUTTON_MULTISELECT={label:"Selecionar",icon:"bi bi-ui-checks-grid",hint:"Excluir",toggle:!0,pressed:!1,color:"btn-outline-danger",onClick:this.onMultiselectClick.bind(this),items:[{label:"Todos",icon:"bi bi-grid-fill",hint:"Selecionar",color:"btn-outline-danger",onClick:this.onSelectAllClick.bind(this)},{label:"Nenhum",icon:"bi bi-grid",hint:"Selecionar",color:"btn-outline-danger",onClick:this.onUnselectAllClick.bind(this)}]},this.BUTTON_REPORTS={label:"Relat\xf3rios",icon:"bi bi-file-earmark-ruled",toggle:!0,pressed:!1,color:"btn-outline-info",onClick:this.onMultiselectClick.bind(this),items:[{label:"Exportar para Excel",icon:"bi bi-file-spreadsheet",hint:"Excel",color:"btn-outline-danger",onClick:this.report.bind(this)}]},this.panelButtons=[{id:"concluir_valid",label:"Concluir",icon:"bi-check-circle",color:"btn-outline-success",dynamicVisible:(()=>this.form.valid).bind(this),onClick:(()=>this.onSaveItem(this.editing)).bind(this)},{id:"concluir_invalid",label:"Concluir",icon:"bi-exclamation-circle",color:"btn-outline-success",dynamicVisible:(()=>!this.form.valid).bind(this),onClick:(()=>console.log(this.form.errors)).bind(this)},{id:"cancelar",label:"Cancelar",icon:"bi-dash-circle",color:"btn-outline-danger",onClick:this.onCancelItem.bind(this)}],this.go=this.injector.get(C.o),this.dialog=this.injector.get(y.x),this.dao=new a.B("",ve),this.templateDao=this.injector.get(X.w),this.documentoService=this.injector.get(me.t)}ngOnInit(){this.BUTTON_ADD.label=this.labelAdd,this.relatorios&&this.relatorios.forEach(ve=>{this.BUTTON_REPORTS.items?.find(xe=>xe.id===ve.key)||this.BUTTON_REPORTS.items?.push({label:ve.value,icon:"bi bi-file-pdf",hint:"Visualizar",id:ve.key,onClick:()=>this.buildReport(ve.key)})})}getId(ve){return this.generatedId("_grid_"+this.controlName+this.title+ve)}ngAfterContentInit(){this.loadColumns(),this.loadFilter(),this.loadReport(),this.loadToolbar(),this.loadPagination(),this.isMultiselectEnabled&&this.enableMultiselect(!0)}ngAfterViewInit(){this.init&&this.init(this)}reset(){this.columns=[],this.toolbarButtons=[],this.selected=void 0,this.editing=void 0,this.adding=!1,this.ngAfterContentInit()}queryInit(){this.query=this.dao?.query(this.queryOptions,{after:()=>this.cdRef.detectChanges()}),this.cdRef.detectChanges()}isSeparator(ve){return ve instanceof xi}get isExpanded(){return null!=this.expanded}get isNoHeader(){return null!=this.noHeader}get isNoToggleable(){return null!=this.noToggleable}get isNoMargin(){return null!=this.noMargin}get isLoading(){return this.query?.loading||this.loading}getGroupSeparator(ve){return this.groupBy&&this.groupIds._qtdRows!=this.items?.length&&this.group(this.items),ve instanceof xi?ve:this.groupIds[ve.id]}get isMultiselect(){return null!=this.multiselect}get isMultiselectEnabled(){return null!=this.multiselectEnabled}get isEditable(){return null!=this.editable}get isSelectable(){return this.selectable||!!this.sidePanel}confirm(){var ve=this;return(0,i.Z)(function*(){if(ve.editing)return yield ve.saveItem(ve.editing)})()}get hasToolbar(){return!!this.toolbarRef}get hasItems(){return!!this.control||!this.query}get isDisabled(){return void 0!==this.disabled}get queryOptions(){return{where:this.filterRef?.where&&this.filterRef?.form?this.filterRef?.where(this.filterRef.form):[],orderBy:[...(this.groupBy||[]).map(ve=>[ve.field,"asc"]),...this.orderBy||[]],join:this.join||[],limit:this.rowsLimit}}group(ve){if(this.groupBy&&ve?.length){let De="";this.groupIds={_qtdRows:ve.length};let xe=ve.filter(Ye=>!(Ye instanceof xi)).map(Ye=>Object.assign(Ye,{_group:this.groupBy.map(xt=>Object.assign({},xt,{value:this.util.getNested(Ye,xt.field)}))}));ve.splice(0,ve.length,...xe),this.query||ve.sort((Ye,xt)=>JSON.stringify(Ye._group)>JSON.stringify(xt._group)?1:JSON.stringify(Ye._group){this.documentoService.preview(xe)})}expand(ve){this.expandedIds[ve]=!0,this.cdRef.detectChanges()}expandAll(){this.items.forEach(ve=>this.expandedIds[ve.id]=!0)}refreshExpanded(ve){let De=this.expandedIds[ve];this.expandedIds[ve]=!1,this.cdRef.detectChanges(),this.expandedIds[ve]=De,this.cdRef.detectChanges()}refreshRows(){let ve=this._items;this._items=[],this.cdRef.detectChanges(),this._items=ve,this.cdRef.detectChanges()}refreshMultiselectToolbar(){this.toolbarRef&&(this.toolbarRef.buttons=this.multiselecting?[this.BUTTON_MULTISELECT,...this.multiselectMenu||[],...this.dynamicMultiselectMenu?this.dynamicMultiselectMenu(this.multiselected):[]]:[...this.initialButtons||[],...this.toolbarButtons])}enableMultiselect(ve){this.multiselecting=ve,this.multiselecting?(this.filterCollapsedOnMultiselect=!!this.filterRef?.collapsed,this.filterRef&&(this.filterRef.collapsed=!0),this.BUTTON_MULTISELECT.label=this.BUTTON_MULTISELECT_CANCELAR_SELECAO,this.refreshMultiselectToolbar(),this.BUTTON_MULTISELECT.badge=this.multiselectedCount?this.multiselectedCount.toString():void 0):(this.multiselected={},this.BUTTON_MULTISELECT.label=this.BUTTON_MULTISELECT_SELECIONAR,this.filterRef&&(this.filterRef.collapsed=this.filterCollapsedOnMultiselect),this.refreshMultiselectToolbar(),this.BUTTON_MULTISELECT.badge=void 0),this.cdRef.detectChanges()}onMultiselectClick(){this.enableMultiselect(!!this.BUTTON_MULTISELECT.pressed)}get multiselectedCount(){return Object.keys(this.multiselected).length}onSelectAllClick(){var ve=this;return(0,i.Z)(function*(){ve.BUTTON_MULTISELECT.pressed=!0,ve.multiselecting||ve.enableMultiselect(!0),ve.dialog.showSppinerOverlay("Obtendo informa\xe7\xf5es de todos os registros . . .");try{if(ve.items&&!ve.query)ve.multiselected={},ve.items.forEach(De=>ve.multiselected[De.id]=De);else if(ve.query){console.log(ve.multiselectAllFields);const De=yield ve.query.getAllIds(ve.multiselectAllFields);ve.multiselectExtra=De.extra;for(let xe of De.rows)ve.multiselected[xe.id]=xe}}finally{ve.dialog.closeSppinerOverlay()}ve.BUTTON_MULTISELECT.badge=ve.multiselectedCount?ve.multiselectedCount.toString():void 0,ve.refreshMultiselectToolbar(),ve.cdRef.detectChanges(),ve.multiselectChange&&ve.multiselectChange(ve.multiselected)})()}onUnselectAllClick(){this.clearMultiselect()}clearMultiselect(){this.multiselected={},this.BUTTON_MULTISELECT.badge=void 0,this.refreshMultiselectToolbar(),this.cdRef.detectChanges(),this.multiselectChange&&this.multiselectChange(this.multiselected)}isMultiselectChecked(ve){return this.multiselected.hasOwnProperty(ve.id)?"":void 0}get multiselectedList(){return Object.values(this.multiselected)||[]}onMultiselectChange(ve,De){ve.currentTarget.checked?this.multiselected.hasOwnProperty(De.id)||(this.multiselected[De.id]=De):this.multiselected.hasOwnProperty(De.id)&&delete this.multiselected[De.id],this.BUTTON_MULTISELECT.badge=this.multiselectedCount?this.multiselectedCount.toString():void 0,this.refreshMultiselectToolbar(),this.cdRef.detectChanges(),this.multiselectChange&&this.multiselectChange(this.multiselected)}setMultiselectSelectedItems(ve){ve.forEach(De=>this.multiselected[De.id]=De),this.BUTTON_MULTISELECT.badge=this.multiselectedCount?this.multiselectedCount.toString():void 0,this.refreshMultiselectToolbar(),this.cdRef.detectChanges()}loadFilter(){this.filterRef&&(this.filterRef.grid=this)}loadReport(){this.reportRef&&(this.reportRef.grid=this,this.hasReport&&this.toolbarButtons.push(this.BUTTON_REPORTS))}loadToolbar(){this.toolbarRef&&!this.isDisabled&&(this.initialButtons||(this.initialButtons=[...this.toolbarRef.buttons||[]]),this.isMultiselect&&this.toolbarButtons.push(this.BUTTON_MULTISELECT),this.hasAdd&&(this.addRoute||this.add)&&this.toolbarButtons.push(this.BUTTON_ADD),this.toolbarRef.buttons=[...this.initialButtons||[],...this.toolbarButtons],this.toolbarRef.icon=this.icon,this.toolbarRef.title=this.title)}loadPagination(){this.paginationRef&&(this.paginationRef.query=this.query,this.rowsLimit=this.paginationRef.rows)}isEditableGridOptions(ve){return"options"==ve.type&&(this.isEditable||this.isSelectable)&&this.hasAdd&&!this.hasToolbar}get expandedColumn(){return this.columns.find(ve=>ve.isType("expand"))}reloadFilter(){this.query?.reload(this.queryOptions)}showFilter(){this.filterRef&&(this.filterRef.collapsed=!1)}hideFilter(){this.filterRef&&(this.filterRef.collapsed=!0)}loadColumns(){this.columns=[],this.columnsRef?.columns.forEach(ve=>{const De="options"==ve.type;if(!De||!this.isDisabled){let xe=[];De&&this.hasEdit&&xe.push(Object.assign(this.BUTTON_EDIT,{onClick:this.isEditable&&!ve.onEdit?this.onEditItem.bind(this):ve.onEdit})),De&&this.hasDelete&&xe.push(Object.assign(this.BUTTON_DELETE,{onClick:this.isEditable&&!ve.onDelete?this.onDeleteItem.bind(this):ve.onDelete})),this.columns.push(Object.assign(new x.C,ve,{items:ve.items||[],buttons:"options"!=ve.type?void 0:ve.buttons||xe}))}})}onAddItem(){var ve=this;this.adding||(this.adding=!0,(0,i.Z)(function*(){ve.form.reset(ve.form.initialState);let De=ve.add?yield ve.add():ve.form.value;De?(!(De.id||"").length&&ve.hasItems&&(De.id=ve.dao?ve.dao.generateUuid():ve.util.md5()),ve.items.push(De),yield ve.edit(De)):ve.adding=!1}).bind(this)())}onEditItem(ve){var De=this;this.editing||(this.editing=ve,(0,i.Z)(function*(){yield De.edit(ve)}).bind(this)())}onDeleteItem(ve){var De=this;(0,i.Z)(function*(){const Ye=(De.remove?yield De.remove(ve):De.hasItems)?De.items.findIndex(xt=>xt.id==ve.id):-1;Ye>=0&&De.items.splice(Ye,1),De.group(De.items),De.selected=void 0,De.cdRef.detectChanges()}).bind(this)()}onCancelItem(){var ve=this;(0,i.Z)(function*(){ve.adding&&ve.items.splice(ve.items.findIndex(De=>!(De instanceof xi)&&De.id==(ve.editing||{id:void 0}).id),1),yield ve.endEdit()}).bind(this)()}onSaveItem(ve){var De=this;(0,i.Z)(function*(){yield De.saveItem(ve)}).bind(this)()}saveItem(ve){var De=this;return(0,i.Z)(function*(){if(De.form.valid){const xe=De.save?yield De.save(De.form,ve):De.form.value;if(xe){const Ye=(De.items.indexOf(ve)+1||De.items.findIndex(cn=>!(cn.id||"").length||cn.id==xe.id)+1)-1;let xt;Ye>=0?(xt=De.items[Ye],Object.assign(De.items[Ye],De.util.fillForm(xt,xe))):xe.id?.length&&(xt=xe,De.items.push(xe)),De.editing=xt,De.saveEnd&&De.saveEnd(xt)}!1!==xe&&(De.group(De.items),De.control?.setValue(De.items),De.cdRef.detectChanges(),yield De.endEdit())}else De.form.markAllAsTouched()})()}edit(ve){var De=this;return(0,i.Z)(function*(){De.isSelectable&&ve&&De.onRowClick(new Event("SelectByEdit"),ve),De.editing=ve,De.filterRef&&(De.filterRef.visible=!1),De.toolbarRef&&(De.toolbarRef.visible=!1),De.load?yield De.load(De.form,ve):De.form.patchValue(De.util.fillForm(De.form.value,ve)),De.cdRef.detectChanges(),document.getElementById("row_"+ve.id)?.scrollIntoView({block:"end",inline:"nearest",behavior:"smooth"})})()}endEdit(){var ve=this;return(0,i.Z)(function*(){const De=ve.editing?.id;ve.query&&ve.editing&&(yield ve.query.refreshId(ve.editing.id)),ve.editing=void 0,ve.adding=!1,ve.items=ve.items,ve.filterRef&&(ve.filterRef.visible=!0),ve.toolbarRef&&(ve.toolbarRef.visible=!0),ve.cdRef.detectChanges(),ve.isSelectable&&ve.onRowClick(new Event("SelectByEdit"),ve.items.find(xe=>xe.id==De)),ve.editEnd&&ve.editEnd(De)})()}onRowClick(ve,De){this.isSelectable&&(this.editing!=De&&this.onCancelItem(),this.selected=De,this.cdRef.detectChanges(),this.select&&this.select.emit(De))}selectById(ve){let De=this.items.find(xe=>xe.id==ve);return this.isSelectable&&De&&this.onRowClick(new Event("SelectById"),De),De}getMetadata(ve){return ve?.id?(this.metadatas[ve.id]||(this.metadatas[ve.id]={}),this.metadatas[ve.id]):{}}setMetadata(ve,De){ve.id&&(this.metadatas[ve.id]=De)}clearMetadata(){this.metadatas={},this.cdRef.detectChanges()}get classColTable(){return(this.sidePanel?"col-md-"+(12-this.sidePanel.size)+(this.sidePanel.isFullSizeOnEdit&&this.editing?" d-none":""):"col-md-12")+(this.isNoMargin?" p-0 m-0":"")}get classColPanel(){return"col-md-"+(this.sidePanel.isFullSizeOnEdit&&this.editing?12:this.sidePanel.size)}isInvalid(){return!!this.control?.invalid&&(this.control.dirty||this.control.touched)}hasError(){return!!this.control?.errors}errorMessage(){return this.control.errors?.errorMessage}static#e=this.\u0275fac=function(De){return new(De||Mt)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:Mt,selectors:[["grid"]],contentQueries:function(De,xe,Ye){if(1&De&&(t.Suo(Ye,j.a,5),t.Suo(Ye,k.Y,5),t.Suo(Ye,F.z,5),t.Suo(Ye,P.h,5),t.Suo(Ye,N.n,5),t.Suo(Ye,H.Q,5)),2&De){let xt;t.iGM(xt=t.CRH())&&(xe.columnsRef=xt.first),t.iGM(xt=t.CRH())&&(xe.reportRef=xt.first),t.iGM(xt=t.CRH())&&(xe.filterRef=xt.first),t.iGM(xt=t.CRH())&&(xe.sidePanel=xt.first),t.iGM(xt=t.CRH())&&(xe.toolbarRef=xt.first),t.iGM(xt=t.CRH())&&(xe.paginationRef=xt.first)}},viewQuery:function(De,xe){if(1&De&&t.Gf(A.sg,5),2&De){let Ye;t.iGM(Ye=t.CRH())&&(xe.formDirective=Ye.first)}},hostVars:2,hostBindings:function(De,xe){2&De&&t.Tol(xe.class)},inputs:{dao:"dao",icon:"icon",selectable:"selectable",loadList:"loadList",multiselectChange:"multiselectChange",init:"init",add:"add",load:"load",remove:"remove",save:"save",editEnd:"editEnd",saveEnd:"saveEnd",addRoute:"addRoute",addMetadata:"addMetadata",labelAdd:"labelAdd",orderBy:"orderBy",groupBy:"groupBy",join:"join",relatorios:"relatorios",form:"form",noHeader:"noHeader",noMargin:"noMargin",editable:"editable",hasReport:"hasReport",scrollable:"scrollable",controlName:"controlName",control:"control",expanded:"expanded",noToggleable:"noToggleable",minHeight:"minHeight",multiselect:"multiselect",multiselectEnabled:"multiselectEnabled",multiselectAllFields:"multiselectAllFields",canSelect:"canSelect",dynamicMultiselectMenu:"dynamicMultiselectMenu",multiselectMenu:"multiselectMenu",groupTemplate:"groupTemplate",title:"title",hasAdd:"hasAdd",hasEdit:"hasEdit",hasDelete:"hasDelete",disabled:"disabled",query:"query",list:"list",items:"items",visible:"visible",loading:"loading"},outputs:{select:"select"},features:[t._Bn([{provide:A.sg,useFactory:ve=>ve.formDirective,deps:[Mt]}]),t.qOj],ngContentSelectors:Bn,decls:16,vars:19,consts:[[1,"h-100","hidden-print"],["class","alert alert-danger mt-2","role","alert",4,"ngIf"],[1,"grid-list-container","h-100",3,"formGroup"],[1,"row","m-0","p-0","h-100"],[1,"table-responsive"],[1,"table"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"class",4,"ngIf"],["class","invalid-feedback",3,"d-block",4,"ngIf"],["role","alert",1,"alert","alert-danger","mt-2"],["class","grid-multiselect-header",4,"ngIf"],["scope","col",3,"class","grid-editable-options","width","min-width","max-width","vertical-align",4,"ngFor","ngForOf"],[1,"grid-multiselect-header"],[1,"bi","bi-card-checklist"],["scope","col"],[3,"column","index","grid"],["class","grid-no-hover",4,"ngIf"],[3,"id","d-none","deleted_at","table-active","click",4,"ngIf"],[1,"grid-no-hover"],[1,"grid-no-hover","px-0"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","grid-group-text px-2",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"grid-group-text","px-2"],[1,"grid-no-hover","px-0","border-0"],["class","alert alert-danger mt-2 mb-5","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-danger","mt-2","mb-5"],[3,"id","click"],["class","grid-multiselect-column",4,"ngIf"],[3,"class","text-center","text-end","grid-column-expanded","grid-column-editing-options","width","min-width","max-width",4,"ngFor","ngForOf"],[1,"grid-multiselect-column"],["class","form-check-input","type","checkbox","name","gird_multiselect_ids[]",3,"change",4,"ngIf"],["type","checkbox","name","gird_multiselect_ids[]",1,"form-check-input",3,"change"],[3,"index","column","row","grid",4,"ngIf"],[3,"index","toggleable","expanded","column","row","grid",4,"ngIf"],[3,"calcWidth","index","column","row","grid","options","buttons","dynamicOptions","dynamicButtons","upDownButtons","calcWidthChange",4,"ngIf"],[3,"index","column","row","grid"],[3,"index","toggleable","expanded","column","row","grid"],[3,"calcWidth","index","column","row","grid","options","buttons","dynamicOptions","dynamicButtons","upDownButtons","calcWidthChange"],[1,"grid-expanded-background"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[3,"title","buttons",4,"ngIf"],[3,"title","buttons"],[1,"invalid-feedback"],[1,"bi","bi-info-circle"]],template:function(De,xe){1&De&&(t.F$t(ir),t.TgZ(0,"div",0),t.YNc(1,Oe,7,2,"div",1),t.TgZ(2,"form",2)(3,"div",3)(4,"div"),t.Hsn(5),t.TgZ(6,"div",4)(7,"table",5),t.YNc(8,K,4,2,"thead",6),t.TgZ(9,"tbody"),t.YNc(10,mt,5,4,"ng-container",7),t.YNc(11,vt,5,1,"tr",6),t.YNc(12,hn,1,0,"ng-content",6),t.qZA()()()(),t.YNc(13,dn,4,5,"div",8),t.qZA()(),t.YNc(14,qn,3,3,"div",9),t.YNc(15,di,1,0,"ng-content",6),t.qZA()),2&De&&(t.ekj("grid-invisible",!xe.visible),t.xp6(1),t.Q6J("ngIf",(null==xe.error?null:xe.error.length)&&!xe.editing),t.xp6(1),t.Q6J("formGroup",xe.form),t.xp6(2),t.Tol(xe.classColTable),t.xp6(2),t.Udp("min-height",xe.minHeight+"px"),t.xp6(1),t.ekj("table-hover",xe.isSelectable)("scrollable",xe.scrollable),t.xp6(1),t.Q6J("ngIf",!xe.isNoHeader),t.xp6(2),t.Q6J("ngForOf",xe.items),t.xp6(1),t.Q6J("ngIf",xe.isLoading),t.xp6(1),t.Q6J("ngIf","infinity"==(null==xe.paginationRef?null:xe.paginationRef.type)),t.xp6(1),t.Q6J("ngIf",xe.sidePanel),t.xp6(1),t.Q6J("ngIf",xe.hasError()),t.xp6(1),t.Q6J("ngIf","pages"==(null==xe.paginationRef?null:xe.paginationRef.type)))},styles:[".grid-group-text[_ngcontent-%COMP%]{margin-left:0}.grid-editable-options[_ngcontent-%COMP%]{width:100px}.grid-no-hover[_ngcontent-%COMP%], .grid-no-hover[_ngcontent-%COMP%]:hover{background-color:var(--bs-body-bg)!important;filter:brightness(95%)!important;cursor:default}.grid-column[_ngcontent-%COMP%]{position:relative} .grid-column:hover .grid-column-editable-options{display:block} .grid-column .grid-column-editing{display:block!important;top:calc(50% - 25px)!important}.grid-column-editing-options[_ngcontent-%COMP%]{padding-right:25px!important}.grid-column-expanded[_ngcontent-%COMP%]{border-bottom:0px;background-color:var(--bs-body-bg)!important;filter:brightness(95%)!important}.grid-expanded-background[_ngcontent-%COMP%]{background-color:var(--bs-body-bg)!important;filter:brightness(95%)!important}.grid-multiselect-header[_ngcontent-%COMP%]{width:40px}.grid-invisible[_ngcontent-%COMP%]{display:none}"]})}return Mt})()},2704:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>b});var i=m(5736),t=m(755),A=m(6733),a=m(3409);function y(N,j){if(1&N){const F=t.EpF();t.TgZ(0,"div",2)(1,"div",3)(2,"button",4),t.NdJ("click",function(){t.CHM(F);const H=t.oxw();return t.KtG(H.paginaAnterior())}),t._UZ(3,"i",5),t._uU(4," ANTERIOR"),t.qZA(),t.TgZ(5,"button",4),t.NdJ("click",function(){t.CHM(F);const H=t.oxw();return t.KtG(H.proximaPagina())}),t._uU(6,"PR\xd3XIMA "),t._UZ(7,"i",6),t.qZA()()()}if(2&N){const F=t.oxw();t.xp6(2),t.Q6J("id",F.generatedId("_grid_anterior"))("disabled",!F.query.enablePrior),t.xp6(3),t.Q6J("id",F.generatedId("_grid_proxima"))("disabled",!F.query.enableNext)}}function C(N,j){if(1&N){const F=t.EpF();t.TgZ(0,"div",7),t.NdJ("scrolled",function(){t.CHM(F);const H=t.oxw();return t.KtG(H.onScroll())}),t.qZA()}2&N&&t.Q6J("infiniteScrollDistance",2)("infiniteScrollThrottle",50)}let b=(()=>{class N extends i.V{set query(F){this._query=F,this.query&&(this.query.cumulate="infinity"==this.type)}get query(){return this._query}set type(F){this._type=F,this.query&&(this.query.cumulate="infinity"==this.type)}get type(){return this._type}constructor(F){super(F),this.injector=F,this.rows=10,this._type="infinity"}ngOnInit(){this.query&&(this.query.cumulate="infinity"==this.type)}isType(F){return F==this.type}paginaAnterior(){this.query.priorPage()}proximaPagina(){this.query.nextPage()}onScroll(){this.query.nextPage()}static#e=this.\u0275fac=function(x){return new(x||N)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["pagination"]],inputs:{query:"query",rows:"rows",type:"type"},features:[t.qOj],decls:2,vars:2,consts:[["class","d-flex flex-row-reverse",4,"ngIf"],["class","search-results","infiniteScroll","",3,"infiniteScrollDistance","infiniteScrollThrottle","scrolled",4,"ngIf"],[1,"d-flex","flex-row-reverse"],["role","group","aria-label","Pagina\xe7\xe3o",1,"btn-group","float-right"],["type","button",1,"btn","btn-outline-info",3,"id","disabled","click"],[1,"bi-arrow-left-circle"],[1,"bi-arrow-right-circle"],["infiniteScroll","",1,"search-results",3,"infiniteScrollDistance","infiniteScrollThrottle","scrolled"]],template:function(x,H){1&x&&(t.YNc(0,y,8,4,"div",0),t.YNc(1,C,1,2,"div",1)),2&x&&(t.Q6J("ngIf",!!H.query&&H.isType("pages")),t.xp6(1),t.Q6J("ngIf",H.isType("infinity")))},dependencies:[A.O5,a.Ry]})}return N})()},8252:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>P});var i=m(8239),t=m(2133),A=m(3351),a=m(2204),y=m(755),C=m(9193),b=m(9437);const N=["tableExportExcel"];function j(X,me){if(1&X&&(y.TgZ(0,"tr")(1,"td"),y._uU(2),y.qZA()()),2&X){const Oe=me.$implicit,Se=y.oxw();y.xp6(1),y.uIk("colspan",Se.reportColumns.length),y.xp6(1),y.Oqu(Oe)}}function F(X,me){if(1&X&&(y.TgZ(0,"th"),y._UZ(1,"column-header",3),y.qZA()),2&X){const Oe=me.$implicit,Se=y.oxw();y.xp6(1),y.Q6J("column",Oe)("grid",Se.grid)}}function x(X,me){if(1&X&&(y.TgZ(0,"td"),y._UZ(1,"column-row",4),y.qZA()),2&X){const Oe=me.$implicit,Se=y.oxw().$implicit,wt=y.oxw();y.xp6(1),y.Q6J("column",Oe)("row",Se)("grid",wt.grid)}}function H(X,me){if(1&X&&(y.TgZ(0,"tr"),y.YNc(1,x,2,3,"td",2),y.qZA()),2&X){const Oe=y.oxw();y.xp6(1),y.Q6J("ngForOf",Oe.reportColumns)}}const k=["*"];let P=(()=>{class X{constructor(Oe,Se,wt){this.util=Oe,this.cdRef=Se,this.xlsx=wt,this.title="Relat\xf3rio",this.list=[],this.dataTime="",this.headers=[],this.reportColumns=[]}ngOnInit(){}get columns(){return this.columnsRef?this.columnsRef.map(Oe=>Oe):[]}reportExcel(){var Oe=this;return(0,i.Z)(function*(){Oe.grid.exporting=!0;try{Oe.reportColumns=Oe.columns.map(wt=>Object.assign(new a.C,wt)),Oe.dataTime=Oe.util.getDateTimeFormatted(new Date),Oe.headers=Oe.filterHeader?Oe.filterHeader(Oe.grid.filterRef?.form||new t.cw({})):[];const Se=yield Oe.grid.query.getAll();Oe.list=Se,Oe.cdRef.detectChanges(),Oe.xlsx.exportTable(Oe.title,"Relatorio",Oe.tableExportExcel)}finally{Oe.grid.exporting=!1}})()}static#e=this.\u0275fac=function(Se){return new(Se||X)(y.Y36(C.f),y.Y36(y.sBO),y.Y36(b.x))};static#t=this.\u0275cmp=y.Xpm({type:X,selectors:[["report"]],contentQueries:function(Se,wt,K){if(1&Se&&y.Suo(K,A.b,5),2&Se){let V;y.iGM(V=y.CRH())&&(wt.columnsRef=V)}},viewQuery:function(Se,wt){if(1&Se&&y.Gf(N,5),2&Se){let K;y.iGM(K=y.CRH())&&(wt.tableExportExcel=K.first)}},inputs:{title:"title",filterHeader:"filterHeader"},ngContentSelectors:k,decls:17,vars:7,consts:[[1,"export-excel-table"],["tableExportExcel",""],[4,"ngFor","ngForOf"],[3,"column","grid"],[3,"column","row","grid"]],template:function(Se,wt){1&Se&&(y.F$t(),y.Hsn(0),y.TgZ(1,"table",0,1)(3,"thead")(4,"tr")(5,"td"),y._uU(6),y.qZA(),y.TgZ(7,"td"),y._uU(8),y.qZA()(),y.YNc(9,j,3,2,"tr",2),y.TgZ(10,"tr")(11,"td"),y._uU(12,"\xa0"),y.qZA()(),y.TgZ(13,"tr"),y.YNc(14,F,2,2,"th",2),y.qZA()(),y.TgZ(15,"tbody"),y.YNc(16,H,2,1,"tr",2),y.qZA()()),2&Se&&(y.xp6(5),y.uIk("colspan",wt.reportColumns.length-1),y.xp6(1),y.hij(" ",wt.title," "),y.xp6(2),y.hij(" Data e Hora: ",wt.dataTime," "),y.xp6(1),y.Q6J("ngForOf",wt.headers),y.xp6(2),y.uIk("colspan",wt.reportColumns.length),y.xp6(3),y.Q6J("ngForOf",wt.reportColumns),y.xp6(2),y.Q6J("ngForOf",wt.list))}})}return X})()},4788:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>t});var i=m(755);let t=(()=>{class A{constructor(){this.title="",this.size=6}ngOnInit(){}get isFullSizeOnEdit(){return null!=this.fullSizeOnEdit}get isNoToolbar(){return null!=this.noToolbar}static#e=this.\u0275fac=function(C){return new(C||A)};static#t=this.\u0275cmp=i.Xpm({type:A,selectors:[["side-panel"]],inputs:{template:"template",editTemplate:"editTemplate",fullSizeOnEdit:"fullSizeOnEdit",noToolbar:"noToolbar",title:"title",size:"size"},decls:0,vars:0,template:function(C,b){}})}return A})()},645:(lt,_e,m)=>{"use strict";m.d(_e,{M:()=>a});var i=m(2133),t=m(5736),A=m(755);let a=(()=>{class y extends t.V{getValue(){return this.source&&this.path?this.util.getNested(this.source,this.path):this._value}setValue(b){this.source&&this.path?this.util.setNested(this.source,this.path,b):this._value=b}getSize(){return this._size}setSize(b){b!=this._size&&(this._size=b,this.class=this.class.replace(/col\-md\-[0-9]+/g,"col-md-"+b))}focus(){setTimeout(()=>{document.getElementById(this.inputElement?.nativeElement.id)?.focus()},1e3)}onEnterKeyDown(b){b.preventDefault();let N=b.srcElement;const j=document.querySelectorAll("input,select,button,textarea");for(var F=0;F0&&(this.class+=" "+this.hostClass+" col-md-"+this.size)}ngAfterViewInit(){super.ngAfterViewInit();try{this.formDirective=this.injector.get(i.sg)}catch{}this.form=this.form||this.formDirective?.form,this.isRequired&&(this.validators.push(this.requiredValidator.bind(this)),this.control.validator&&this.validators.push(this.control.validator),this.control.setValidators(this.proxyValidator.bind(this)),this.control?.updateValueAndValidity()),this.cdRef.detectChanges()}proxyValidator(b){for(let N of this.validators){let j=N(b);if(j)return j}return null}requiredValidator(b){return this.util.empty(b.value)?{errorMessage:"Obrigat\xf3rio"}:null}get isDisabled(){return null!=this.disabled}get isRequired(){return null!=this.required}get formControl(){return this.getControl()||this._fakeControl}getControl(){return this._control||(this.controlName?.length&&this.form?this.form.controls[this.controlName]:void 0)}isInvalid(){return!this.isDisabled&&(!this.control||this.control.invalid&&(this.control.dirty||this.control.touched))}hasError(){return!(!this.control||this.isDisabled||!this.control?.errors)}errorMessage(){return this.control.errors?.errorMessage}static#e=this.\u0275fac=function(N){return new(N||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac})}return y})()},8935:(lt,_e,m)=>{"use strict";m.d(_e,{G:()=>j});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(F,x){if(1&F){const H=i.EpF();i.TgZ(0,"input",4,5),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))}),i.qZA()}if(2&F){const H=i.oxw();i.ekj("text-uppercase","upper"==H.textCase)("text-lowercase","lower"==H.textCase)("is-invalid",H.isInvalid()),i.Q6J("type",H.isNumbers?"number":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("readonly",H.isDisabled||H.loading),i.uIk("value",H.isDisabled?H.control?H.control.value:H.value:void 0)("aria-describedby",H.generatedId(H.controlName)+"_button")("maxlength",H.maxLength?H.maxLength:void 0)}}function C(F,x){if(1&F&&i._UZ(0,"i"),2&F){const H=i.oxw(2);i.Tol(H.iconButton)}}function b(F,x){1&F&&(i.TgZ(0,"div",9),i._UZ(1,"span",10),i.qZA())}function N(F,x){if(1&F){const H=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onButtonClick(P))}),i.YNc(1,C,1,2,"i",7),i.YNc(2,b,2,0,"div",8),i.qZA()}if(2&F){const H=i.oxw();i.ekj("disabled",H.loading),i.Q6J("id",H.generatedId(H.controlName)+"_button"),i.xp6(1),i.Q6J("ngIf",!H.loading),i.xp6(1),i.Q6J("ngIf",H.loading)}}let j=(()=>{class F extends A.M{set value(H){this.formControl.setValue(H)}get value(){return this.formControl.value}set control(H){this._control=H}get control(){return this.getControl()}set size(H){this.setSize(H)}get size(){return this.getSize()}constructor(H){super(H),this.injector=H,this.class="form-group",this.buttonClick=new i.vpe,this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.textCase="",this.iconButton="bi-search"}get isNumbers(){return void 0!==this.numbers}ngOnInit(){super.ngOnInit()}onButtonClick(H){this.buttonClick&&this.buttonClick.emit(H)}onChange(H){this.change&&this.change.emit(H)}static#e=this.\u0275fac=function(k){return new(k||F)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:F,selectors:[["input-button"]],viewQuery:function(k,P){if(1&k&&i.Gf(a,5),2&k){let X;i.iGM(X=i.CRH())&&(P.inputElement=X.first)}},hostVars:2,hostBindings:function(k,P){2&k&&i.Tol(P.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",numbers:"numbers",textCase:"textCase",iconButton:"iconButton",form:"form",source:"source",path:"path",maxLength:"maxLength",required:"required",value:"value",control:"control",size:"size"},outputs:{buttonClick:"buttonClick",change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:4,vars:12,consts:[["required","",3,"labelPosition","labelClass","controlName","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","form-control",3,"type","text-uppercase","text-lowercase","formControl","id","is-invalid","readonly","change",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"id","disabled","click",4,"ngIf"],[1,"form-control",3,"type","formControl","id","readonly","change"],["inputElement",""],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],[3,"class",4,"ngIf"],["class","spinner-border spinner-border-sm","role","status",4,"ngIf"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"]],template:function(k,P){1&k&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,y,2,13,"input",2),i.YNc(3,N,3,5,"button",3),i.qZA()()),2&k&&(i.Q6J("labelPosition",P.labelPosition)("labelClass",P.labelClass)("controlName",P.controlName)("control",P.control)("loading",!1)("disabled",P.disabled)("label",P.label)("labelInfo",P.labelInfo)("icon",P.icon)("bold",P.bold),i.xp6(2),i.Q6J("ngIf",P.viewInit),i.xp6(1),i.Q6J("ngIf",!P.isDisabled))}})}return F})()},6848:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>F});var i=m(755),t=m(2133),A=m(9702),a=m(645);const y=["inputElement"];function C(x,H){if(1&x&&(i.TgZ(0,"option",9),i._uU(1),i.qZA()),2&x){const k=H.$implicit,P=i.oxw(2);i.Udp("background-color",P.getBackgroundColor(k.key))("color",P.getColor(k.key)),i.s9C("value",k.key),i.xp6(1),i.Oqu(k.value)}}function b(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"select",5,6),i.NdJ("change",function(X){i.CHM(k);const me=i.oxw();return i.KtG(me.onChange(X))}),i.YNc(2,C,2,6,"option",7),i.TgZ(3,"option",8),i._uU(4,"Personalizado"),i.qZA()()}if(2&x){const k=i.oxw();i.ekj("is-invalid",k.isInvalid()),i.Q6J("id",k.generatedId(k.controlName)),i.uIk("disabled",!!k.isDisabled||void 0),i.xp6(2),i.Q6J("ngForOf",k.cores),i.xp6(1),i.Udp("background-color",k.getBackgroundColor(k.value))("color",k.getColor(k.value))}}function N(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"input",10),i.NdJ("change",function(X){i.CHM(k);const me=i.oxw();return i.KtG(me.onChange(X))}),i.qZA()}if(2&x){const k=i.oxw();i.Q6J("id",k.generatedId(k.controlName)+"_color")("formControl",k.formControl)}}function j(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"input",11),i.NdJ("change",function(X){i.CHM(k);const me=i.oxw();return i.KtG(me.onChange(X))}),i.qZA()}if(2&x){const k=i.oxw();i.Q6J("id",k.generatedId(k.controlName)+"_color"),i.uIk("value",k.value)}}let F=(()=>{class x extends a.M{set control(k){this._control=k}get control(){return this.getControl()}set size(k){this.setSize(k)}get size(){return this.getSize()}constructor(k){super(k),this.injector=k,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-palette",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.lookup=k.get(A.W)}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit(),this.control?this.control.valueChanges.subscribe(k=>{this.select(k)}):this.select(this.value)}get isBackground(){return null!=this.background}get cores(){return this.palette||(this.isBackground?this.lookup.CORES_BACKGROUND:this.lookup.CORES)}select(k){if(this.value!=k){this.value=k;const P=document.getElementById(this.controlName);this.lookup.CORES.find(X=>X.key==this.value)?P&&(P.value=this.value):P&&(P.value=""),this.control?.setValue(this.value)}}onChange(k){this.select(k.target.value||"#000000"),this.change&&this.change.emit(k)}getColor(k){return this.isBackground?"#000000":k||"#000000"}getBackgroundColor(k){return this.isBackground?k||"#000000":void 0}static#e=this.\u0275fac=function(P){return new(P||x)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:x,selectors:[["input-color"]],viewQuery:function(P,X){if(1&P&&i.Gf(y,5),2&P){let me;i.iGM(me=i.CRH())&&(X.inputElement=me.first)}},hostVars:2,hostBindings:function(P,X){2&P&&i.Tol(X.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",palette:"palette",background:"background",value:"value",loading:"loading",form:"form",source:"source",path:"path",required:"required",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:5,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","form-control",3,"id","is-invalid","change",4,"ngIf"],["class","colorpicker","type","color",3,"id","formControl","change",4,"ngIf"],["class","colorpicker","type","color",3,"id","change",4,"ngIf"],[1,"form-control",3,"id","change"],["inputElement",""],[3,"value","background-color","color",4,"ngFor","ngForOf"],["value",""],[3,"value"],["type","color",1,"colorpicker",3,"id","formControl","change"],["type","color",1,"colorpicker",3,"id","change"]],template:function(P,X){1&P&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,b,5,9,"select",2),i.YNc(3,N,1,2,"input",3),i.YNc(4,j,1,2,"input",4),i.qZA()()),2&P&&(i.Q6J("labelPosition",X.labelPosition)("labelClass",X.labelClass)("controlName",X.controlName)("required",X.required)("control",X.control)("loading",X.loading)("disabled",X.disabled)("label",X.label)("labelInfo",X.labelInfo)("icon",X.icon)("bold",X.bold),i.xp6(2),i.Q6J("ngIf",X.viewInit),i.xp6(1),i.Q6J("ngIf",X.viewInit&&X.control),i.xp6(1),i.Q6J("ngIf",X.viewInit&&!X.control))},styles:[".colorpicker[_ngcontent-%COMP%]{height:auto;width:38px;cursor:pointer}"]})}return x})()},8544:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>P});var i=m(2133),t=m(645),A=m(755),a=m(6733);function y(X,me){if(1&X&&A._UZ(0,"i"),2&X){const Oe=A.oxw(2);A.Tol(Oe.icon)}}function C(X,me){1&X&&(A.TgZ(0,"span",9),A._uU(1,"*"),A.qZA())}function b(X,me){if(1&X&&A._UZ(0,"i",10),2&X){const Oe=A.oxw(2);A.uIk("data-bs-title",Oe.labelInfo)}}function N(X,me){if(1&X&&(A.TgZ(0,"label",4),A.YNc(1,y,1,2,"i",5),A.TgZ(2,"span",6),A._uU(3),A.YNc(4,C,2,0,"span",7),A.qZA(),A.YNc(5,b,1,1,"i",8),A.qZA()),2&X){const Oe=A.oxw();A.Tol(Oe.labelClass),A.ekj("radio",Oe.isRadio)("fw-bold",Oe.bold)("control-label",Oe.isRadio),A.s9C("for",Oe.controlName),A.xp6(1),A.Q6J("ngIf",Oe.icon.length),A.xp6(2),A.hij("",Oe.label," "),A.xp6(1),A.Q6J("ngIf",Oe.isRequired),A.xp6(1),A.Q6J("ngIf",Oe.labelInfo.length)}}function j(X,me){1&X&&(A.TgZ(0,"div",11),A._UZ(1,"span",12),A.qZA())}function F(X,me){1&X&&A.Hsn(0)}function x(X,me){if(1&X&&A._UZ(0,"i"),2&X){const Oe=A.oxw(2);A.Tol("bi "+Oe.errorMessageIcon)}}function H(X,me){if(1&X&&(A.TgZ(0,"div",13),A.YNc(1,x,1,2,"i",5),A._uU(2),A.qZA()),2&X){const Oe=A.oxw();A.ekj("d-block",Oe.isInvalid()),A.xp6(1),A.Q6J("ngIf",Oe.errorMessageIcon),A.xp6(1),A.hij(" ",Oe.errorMessage(),"\n")}}const k=["*"];let P=(()=>{class X extends t.M{set control(Oe){this._control=Oe}get control(){return this.getControl()}set size(Oe){this.setSize(Oe)}get size(){return this.getSize()}constructor(Oe){super(Oe),this.injector=Oe,this.class="",this.hostClass="mt-2",this.labelPosition="top",this.controlName=null,this.isRadio=!1,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(Se){return new(Se||X)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:X,selectors:[["input-container"]],hostVars:2,hostBindings:function(Se,wt){2&Se&&A.Tol(wt.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",isRadio:"isRadio",icon:"icon",label:"label",labelInfo:"labelInfo",required:"required",labelClass:"labelClass",bold:"bold",loading:"loading",errorMessageIcon:"errorMessageIcon",form:"form",source:"source",path:"path",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],ngContentSelectors:k,decls:5,vars:4,consts:[["class","d-flex align-items-center mb-1",3,"for","class","radio","fw-bold","control-label",4,"ngIf"],["class","spinner-border spinner-border-sm m-0","role","status",4,"ngIf","ngIfElse"],["content",""],["class","invalid-feedback",3,"d-block",4,"ngIf"],[1,"d-flex","align-items-center","mb-1",3,"for"],[3,"class",4,"ngIf"],[1,"mx-1"],["class","required-field",4,"ngIf"],["class","bi bi-info-circle label-info text-muted ms-auto","data-bs-toggle","tooltip","data-bs-placement","top",4,"ngIf"],[1,"required-field"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted","ms-auto"],["role","status",1,"spinner-border","spinner-border-sm","m-0"],[1,"visually-hidden"],[1,"invalid-feedback"]],template:function(Se,wt){if(1&Se&&(A.F$t(),A.YNc(0,N,6,13,"label",0),A.YNc(1,j,2,0,"div",1),A.YNc(2,F,1,0,"ng-template",null,2,A.W1O),A.YNc(4,H,3,4,"div",3)),2&Se){const K=A.MAs(3);A.Q6J("ngIf","top"==wt.labelPosition&&wt.label.length),A.xp6(1),A.Q6J("ngIf",wt.loading)("ngIfElse",K),A.xp6(3),A.Q6J("ngIf",wt.viewInit&&wt.hasError())}},dependencies:[a.O5],styles:["[_nghost-%COMP%]{position:relative;display:block}.label-info[_ngcontent-%COMP%]{cursor:help}.required-field[_ngcontent-%COMP%]{font-size:2rem;position:absolute;top:-11px}"]})}return X})()},4495:(lt,_e,m)=>{"use strict";m.d(_e,{k:()=>X});var i=m(755),t=m(2133),A=m(645),a=m(2866),y=m.n(a),C=m(9193);const b=["inputElement"],N=["dateInput"],j=["timeInput"];function F(me,Oe){if(1&me&&(i.TgZ(0,"span",6),i._uU(1),i.qZA()),2&me){const Se=i.oxw();i.xp6(1),i.Oqu(Se.prefix)}}function x(me,Oe){if(1&me&&(i.TgZ(0,"span",7),i._UZ(1,"i",8),i.qZA()),2&me){const Se=i.oxw();i.Q6J("id",Se.generatedId(Se.controlName)+"_icon")}}function H(me,Oe){if(1&me){const Se=i.EpF();i.TgZ(0,"input",9,10),i.NdJ("change",function(K){i.CHM(Se);const V=i.oxw();return i.KtG(V.onChangeDateTime(K))}),i.qZA()}if(2&me){const Se=i.oxw();i.ekj("no-indicator",Se.isNoIndicator)("firefox-date",Se.isFirefox)("is-invalid",Se.isInvalid()),i.Q6J("type",Se.isDate||Se.isFirefox||Se.isTime24hours?"date":"datetime-local")("id",Se.generatedId(Se.controlName)+"_date")("disabled",Se.isDisabled)("max",Se.maxDate)("min",Se.minDate),i.uIk("aria-describedby",Se.generatedId(Se.controlName)+"_icon")}}function k(me,Oe){if(1&me){const Se=i.EpF();i.TgZ(0,"input",11,12),i.NdJ("change",function(K){i.CHM(Se);const V=i.oxw();return i.KtG(V.onChangeDateTime(K))}),i.qZA()}if(2&me){const Se=i.oxw();i.ekj("no-indicator",Se.isNoIndicator)("is-invalid",Se.isInvalid()),i.Q6J("type",Se.isTime24hours?"text":"time")("id",Se.generatedId(Se.controlName)+"_time")("mask",Se.isTime24hours?"00:00":"")("showMaskTyped",!0)("disabled",Se.isDisabled)}}function P(me,Oe){if(1&me&&(i.TgZ(0,"span",6),i._uU(1),i.qZA()),2&me){const Se=i.oxw();i.xp6(1),i.Oqu(Se.sufix)}}let X=(()=>{class me extends A.M{set control(Se){this._control=Se}get control(){return this.getControl()}set size(Se){this.setSize(Se)}get size(){return this.getSize()}set date(Se){this._date!=Se&&(this._date=Se,this.detectChanges(),this.updateInputs())}get date(){return this._date}set time(Se){this._time!=Se&&(this._time=Se,this.detectChanges(),this.updateInputs())}get time(){return this._time}constructor(Se){super(Se),this.injector=Se,this.class="form-group",this.buttonClick=new i.vpe,this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-calendar-date",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.value="",this.util=Se.get(C.f)}get isDate(){return void 0!==this.date}get isTime(){return void 0!==this.time}get isTime24hours(){return void 0!==this.time24hours}get isNoIcon(){return void 0!==this.noIcon}get isNoIndicator(){return void 0!==this.noIndicator}ngOnInit(){super.ngOnInit(),this.minDate=y()().subtract(100,"years").format("YYYY-MM-DD").toString(),this.maxDate=y()().add(10,"years").format("YYYY-MM-DD").toString()}updateInputs(){this.viewInit&&(this.dateInput&&(this.dateInput.nativeElement.value=this.getDateValue()),this.hasTimeInput&&this.timeInput&&(this.timeInput.nativeElement.value=this.getTimeValue(),this.timeInput.nativeElement.dispatchEvent(new Event("input"))),this.cdRef.detectChanges())}get hasTimeInput(){return!this.isDate&&(this.isTime||this.isFirefox)}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(Se=>{this.value!=Se&&(this.value=Se,this.updateInputs())}),this.value=this.control.value),this.updateInputs()}onChangeDateTime(Se){const wt=this.dateInput?.nativeElement.value||"",K=this.timeInput?.nativeElement.value||"00:00:00";let V=this.value;try{if(V=this.isTime?K:new Date(wt+(wt.includes("T")?"":"T"+K)),this.isTime&&!this.util.isTimeValid(V)||!this.isTime&&!this.util.isDataValid(V))throw new Error("Data inv\xe1lida")}catch{V=null}finally{(!!V!=!!this.value||V?.toString()!=this.value?.toString())&&(this.value=V,this.control?.setValue(V,{emitEvent:!1}),this.change&&this.change.emit(Se),this.cdRef.detectChanges())}}getDateValue(){return this.value&&this.value instanceof Date?this.isFirefox||this.isDate?y()(this.value).format("YYYY-MM-DD"):y()(this.value).format("YYYY-MM-DDTHH:mm"):null}getTimeValue(){return this.value?this.value instanceof Date?y()(this.value).format("HH:mm"):this.util.isTimeValid(this.value)?this.value.substr(0,5):null:null}formattedDateTime(Se,wt=!1){return wt=!!wt||this.isDate,Se?y()(Se).format(wt?"DD/MM/YYYY":"DD/MM/YYYY HH:mm"):""}static#e=this.\u0275fac=function(wt){return new(wt||me)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:me,selectors:[["input-datetime"]],viewQuery:function(wt,K){if(1&wt&&(i.Gf(b,5),i.Gf(N,5),i.Gf(j,5)),2&wt){let V;i.iGM(V=i.CRH())&&(K.inputElement=V.first),i.iGM(V=i.CRH())&&(K.dateInput=V.first),i.iGM(V=i.CRH())&&(K.timeInput=V.first)}},hostVars:2,hostBindings:function(wt,K){2&wt&&i.Tol(K.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",prefix:"prefix",sufix:"sufix",time24hours:"time24hours",noIcon:"noIcon",noIndicator:"noIndicator",form:"form",source:"source",path:"path",value:"value",required:"required",control:"control",size:"size",date:"date",time:"time"},outputs:{buttonClick:"buttonClick",change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:7,vars:16,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","input-group-text",4,"ngIf"],["class","input-group-text",3,"id",4,"ngIf"],["class","form-control",3,"type","no-indicator","firefox-date","id","is-invalid","disabled","max","min","change",4,"ngIf"],["class","form-control firefox-time",3,"type","no-indicator","id","is-invalid","mask","showMaskTyped","disabled","change",4,"ngIf"],[1,"input-group-text"],[1,"input-group-text",3,"id"],[1,"bi","bi-calendar3"],[1,"form-control",3,"type","id","disabled","max","min","change"],["inputElement","","dateInput",""],[1,"form-control","firefox-time",3,"type","id","mask","showMaskTyped","disabled","change"],["timeInput",""]],template:function(wt,K){1&wt&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,F,2,1,"span",2),i.YNc(3,x,2,1,"span",3),i.YNc(4,H,3,12,"input",4),i.YNc(5,k,2,9,"input",5),i.YNc(6,P,2,1,"span",2),i.qZA()()),2&wt&&(i.Q6J("labelPosition",K.labelPosition)("labelClass",K.labelClass)("controlName",K.controlName)("required",K.required)("control",K.control)("loading",K.loading)("disabled",K.disabled)("label",K.label)("labelInfo",K.labelInfo)("icon",K.icon)("bold",K.bold),i.xp6(2),i.Q6J("ngIf",K.prefix),i.xp6(1),i.Q6J("ngIf",!K.isNoIcon),i.xp6(1),i.Q6J("ngIf",!K.isTime),i.xp6(1),i.Q6J("ngIf",K.hasTimeInput),i.xp6(1),i.Q6J("ngIf",K.sufix))},styles:[".firefox-date[_ngcontent-%COMP%]{flex:5!important}.firefox-time[_ngcontent-%COMP%]{flex:2!important}input[type=date][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{padding:0;margin:0}input[type=datetime-local][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{padding:0;margin:0}.no-indicator[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{display:none}"]})}return me})()},1823:(lt,_e,m)=>{"use strict";m.d(_e,{B:()=>y});var i=m(2133),t=m(645),A=m(755);const a=["inputElement"];let y=(()=>{class C extends t.M{set control(N){this._control=N}get control(){return this.getControl()}set size(N){this.setSize(N)}get size(){return this.getSize()}constructor(N){super(N),this.injector=N,this.class="form-group",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1}ngOnInit(){super.ngOnInit()}static#e=this.\u0275fac=function(j){return new(j||C)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:C,selectors:[["input-display"]],viewQuery:function(j,F){if(1&j&&A.Gf(a,5),2&j){let x;A.iGM(x=A.CRH())&&(F.inputElement=x.first)}},hostVars:2,hostBindings:function(j,F){2&j&&A.Tol(F.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",form:"form",source:"source",path:"path",required:"required",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],decls:3,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],["type","text",1,"form-control",3,"id","readonly"],["inputElement",""]],template:function(j,F){1&j&&(A.TgZ(0,"input-container",0),A._UZ(1,"input",1,2),A.qZA()),2&j&&(A.Q6J("labelPosition",F.labelPosition)("labelClass",F.labelClass)("controlName",F.controlName)("required",F.required)("control",F.control)("loading",F.loading)("disabled",F.disabled)("label",F.label)("labelInfo",F.labelInfo)("icon",F.icon)("bold",F.bold),A.xp6(1),A.Q6J("id",F.generatedId(F.controlName))("readonly",!0),A.uIk("value",F.control?F.control.value:F.value))}})}return C})()},5795:(lt,_e,m)=>{"use strict";m.d(_e,{G:()=>Ze});var i=m(8239),t=m(755),A=m(2133),a=m(5545),y=m(645),C=m(9367),b=m(9702);const N=["helpTemplate"],j=["addMacroTemplate"],F=["editor"],x=["inputElement"];function H(Je,tt){1&Je&&t._UZ(0,"input-text",38),2&Je&&t.Q6J("size",6)}function k(Je,tt){1&Je&&t._UZ(0,"input-number",39),2&Je&&t.Q6J("size",6)}function P(Je,tt){if(1&Je&&t._UZ(0,"input-select",40),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.listas)}}function X(Je,tt){if(1&Je&&t._UZ(0,"input-radio",41),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.lookup.LOGICOS)}}function me(Je,tt){if(1&Je){const Qe=t.EpF();t.TgZ(0,"div",42)(1,"label",43),t._uU(2,"Vari\xe1vel"),t.qZA(),t.TgZ(3,"div",44)(4,"p-treeSelect",45),t.NdJ("onNodeSelect",function(Nt){t.CHM(Qe);const Jt=t.oxw(2);return t.KtG(Jt.selectVariable(Nt,1))}),t.qZA()()()}if(2&Je){const Qe=t.oxw(2);t.xp6(4),t.Q6J("options",Qe.variaveis)}}function Oe(Je,tt){1&Je&&t._UZ(0,"input-text",46),2&Je&&t.Q6J("size",6)}function Se(Je,tt){1&Je&&t._UZ(0,"input-number",47),2&Je&&t.Q6J("size",6)}function wt(Je,tt){if(1&Je&&t._UZ(0,"input-select",48),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.listas)}}function K(Je,tt){if(1&Je&&t._UZ(0,"input-radio",49),2&Je){const Qe=t.oxw(2);t.Q6J("size",6)("items",Qe.lookup.LOGICOS)}}function V(Je,tt){if(1&Je){const Qe=t.EpF();t.TgZ(0,"div",42)(1,"label",43),t._uU(2,"Vari\xe1vel"),t.qZA(),t.TgZ(3,"div",44)(4,"p-treeSelect",50),t.NdJ("onNodeSelect",function(Nt){t.CHM(Qe);const Jt=t.oxw(2);return t.KtG(Jt.selectVariable(Nt,2))}),t.qZA()()()}if(2&Je){const Qe=t.oxw(2);t.xp6(4),t.Q6J("options",Qe.variaveis)}}function J(Je,tt){1&Je&&t._UZ(0,"input-text",51),2&Je&&t.Q6J("size",6)}function ae(Je,tt){1&Je&&t._UZ(0,"input-text",52),2&Je&&t.Q6J("size",6)}function oe(Je,tt){if(1&Je){const Qe=t.EpF();t._uU(0,' Funcionalidade em desenvolvimento. Utilize as instru\xe7\xf5es do bot\xe3o "Ajuda sobre como utilizar vari\xe1veis" para adicionar manualmente macros no template. '),t.TgZ(1,"tabs",4)(2,"tab",5)(3,"div",6)(4,"div",7)(5,"code"),t._uU(6),t.qZA()(),t.TgZ(7,"button",8),t.NdJ("click",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.insertVariable())}),t._uU(8,"Inserir"),t.qZA()(),t.TgZ(9,"ng-scrollbar",9)(10,"p-tree",10),t.NdJ("onNodeSelect",function(Nt){t.CHM(Qe);const Jt=t.oxw();return t.KtG(Jt.nodeSelect(Nt))}),t.qZA()()(),t.TgZ(11,"tab",11)(12,"form",12),t.NdJ("submit",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.insertOperator())}),t.TgZ(13,"div",13)(14,"div",14)(15,"div",6)(16,"div",7)(17,"code"),t._uU(18),t.qZA()(),t.TgZ(19,"button",15),t._uU(20,"Inserir"),t.qZA()()(),t.TgZ(21,"div",16)(22,"div",17)(23,"label",18),t._uU(24,"Valor Um"),t.qZA(),t.TgZ(25,"div",13)(26,"input-select",19),t.NdJ("change",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.changeTypeOperator(1))}),t.qZA(),t.YNc(27,H,1,1,"input-text",20),t.YNc(28,k,1,1,"input-number",21),t.YNc(29,P,1,2,"input-select",22),t.YNc(30,X,1,2,"input-radio",23),t.YNc(31,me,5,1,"div",24),t.qZA()()(),t._UZ(32,"input-select",25),t.TgZ(33,"div",26)(34,"div",17)(35,"label",18),t._uU(36,"Valor Dois"),t.qZA(),t.TgZ(37,"div",13)(38,"input-select",27),t.NdJ("change",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.changeTypeOperator(2))}),t.qZA(),t.YNc(39,Oe,1,1,"input-text",28),t.YNc(40,Se,1,1,"input-number",29),t.YNc(41,wt,1,2,"input-select",30),t.YNc(42,K,1,2,"input-radio",31),t.YNc(43,V,5,1,"div",24),t.qZA()()()()()(),t.TgZ(44,"tab",32)(45,"form",33),t.NdJ("ngSubmit",function(){t.CHM(Qe);const Nt=t.oxw();return t.KtG(Nt.insertBlockFor())}),t.TgZ(46,"div",13)(47,"div",14)(48,"div",6)(49,"div",7)(50,"code"),t._uU(51),t.qZA()(),t.TgZ(52,"button",15),t._uU(53,"Inserir"),t.qZA()()(),t._UZ(54,"input-radio",34),t.YNc(55,J,1,1,"input-text",35),t.YNc(56,ae,1,1,"input-text",36),t._UZ(57,"input-select",37),t.qZA()()()()}if(2&Je){const Qe=t.oxw();t.xp6(6),t.hij(" ",Qe.getVariableString()," "),t.xp6(1),t.Q6J("disabled",""==Qe.getVariableString()),t.xp6(3),t.Q6J("value",Qe.variaveis)("selection",Qe.selectedVariable),t.xp6(2),t.Q6J("formGroup",Qe.operatorForm),t.xp6(6),t.hij(" ",Qe.expressaoIf," "),t.xp6(1),t.Q6J("disabled",!Qe.operatorForm.valid),t.xp6(7),t.Q6J("size",6)("items",Qe.lookup.TIPO_OPERADOR),t.xp6(1),t.Q6J("ngIf","string"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","number"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","list"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","boolean"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("ngIf","variable"==Qe.tipoComparadorUm),t.xp6(1),t.Q6J("size",12)("items",Qe.lookup.OPERADOR),t.xp6(6),t.Q6J("size",6)("items",Qe.lookup.TIPO_OPERADOR),t.xp6(1),t.Q6J("ngIf","string"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","number"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","list"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","boolean"==Qe.tipoComparadorDois),t.xp6(1),t.Q6J("ngIf","variable"==Qe.tipoComparadorDois),t.xp6(2),t.Q6J("formGroup",Qe.blockForForm),t.xp6(6),t.hij(" ",Qe.expressaoFor," "),t.xp6(1),t.Q6J("disabled",!Qe.blockForForm.valid),t.xp6(2),t.Q6J("size",12)("items",Qe.lookup.LISTA_TIPO),t.xp6(1),t.Q6J("ngIf","variavel"==Qe.blockForForm.controls.tipo.value),t.xp6(1),t.Q6J("ngIf","indice"==Qe.blockForForm.controls.tipo.value),t.xp6(1),t.Q6J("size",6)("items",Qe.listas)}}function ye(Je,tt){if(1&Je&&(t.TgZ(0,"span")(1,"strong"),t._uU(2),t.qZA(),t._uU(3),t._UZ(4,"br"),t.qZA()),2&Je){const Qe=tt.$implicit;t.xp6(1),t.Udp("margin-left",10*Qe.level,"px"),t.xp6(1),t.hij("",Qe.variable,":"),t.xp6(1),t.hij(" ",Qe.label,"")}}function Ee(Je,tt){if(1&Je&&(t.TgZ(0,"tabs",4)(1,"tab",53)(2,"h2"),t._uU(3,"Conte\xfado din\xe2mico"),t.qZA(),t.TgZ(4,"p"),t._uU(5),t.qZA(),t.TgZ(6,"h3"),t._uU(7,"1. Vari\xe1vel"),t.qZA(),t.TgZ(8,"p"),t._uU(9,"Para renderizar o valor de uma vri\xe1vel ser\xe1 necess\xe1rio somente colocar o nome da vari\xe1vel dentro do chaves duplas:\xa0"),t.qZA(),t.TgZ(10,"p"),t._uU(11),t.qZA(),t.TgZ(12,"p"),t._uU(13,"O nome da vari\xe1vel dever\xe1 ser exatamente o disponibilizado pelo dataset (descri\xe7\xe3o da vari\xe1vel), inclusive as letras mai\xfasculas e min\xfasculas. Para valores pertencentes a uma lista dever\xe1 ser utilizado colchetes com o indice dentro (maiores detalhes ser\xe3o apresentados na sess\xe3o\xa0"),t.TgZ(14,"em"),t._uU(15,"3. Itera\xe7\xe3o de lista"),t.qZA(),t._uU(16,"). Caso deseje obter o n\xfamero de itens de uma lista dever\xe1 ser utilizado o [+]."),t.qZA(),t.TgZ(17,"p")(18,"strong"),t._uU(19,"1.1 Exemplos"),t.qZA()(),t.TgZ(20,"ul")(21,"li"),t._uU(22),t.qZA(),t.TgZ(23,"li"),t._uU(24),t.qZA(),t.TgZ(25,"li"),t._uU(26),t.qZA(),t.TgZ(27,"li"),t._uU(28),t.qZA()(),t.TgZ(29,"h2"),t._uU(30,"2. Condicional (if)"),t.qZA(),t.TgZ(31,"p"),t._uU(32,'As vezes pode ser necess\xe1rio apresentar um conte\xfado somente se uma condi\xe7\xe3o for aceita. Para isso basta colocar a condi\xe7\xe3o dentro de chaves duplas precedido de "if:", como demonstrado nos exemplos abaixo. Cada condi\xe7\xe3o dever\xe1 obrigatoriamente ter o "end-if" correspondente. A condi\xe7\xe3o dever\xe1 ser no formato OPERANDO OPERADOR OPERANDO, sendo que o OPERANDO pode ser qualquer express\xe3o semelhante a '),t.TgZ(33,"em"),t._uU(34,"1. Vari\xe1vel"),t.qZA(),t._uU(35,", j\xe1 o OPERADOR pode ser (sem os dois pontos):"),t.qZA(),t.TgZ(36,"ul")(37,"li"),t._uU(38,"=, ==: Se o valor \xe9 igual"),t.qZA(),t.TgZ(39,"li"),t._uU(40,"<: Se o valor \xe9 menor"),t.qZA(),t.TgZ(41,"li"),t._uU(42,"<=: Se o valor \xe9 menor ou igual"),t.qZA(),t.TgZ(43,"li"),t._uU(44,">: Se o valor \xe9 maior"),t.qZA(),t.TgZ(45,"li"),t._uU(46,">=: Se o valor \xe9 maior ou igual"),t.qZA(),t.TgZ(47,"li"),t._uU(48,"<>, !=: Se o valor \xe9 diferente"),t.qZA()(),t.TgZ(49,"p")(50,"strong"),t._uU(51,"2.1 Parametros"),t.qZA()(),t.TgZ(52,"ul")(53,"li"),t._uU(54,"\xa0drop=tag: Ir\xe1 remover a tag em que o comando est\xe1 dentro, sendo que tag representa a tag HTML que ser\xe1 removida. Por exemplo drop=tr ir\xe1 remover a tag que o comando est\xe1 dentro.\xa0"),t.qZA()(),t.TgZ(55,"p")(56,"strong"),t._uU(57,"2.2 Exemplos"),t.qZA()(),t.TgZ(58,"ul")(59,"li"),t._uU(60),t.qZA(),t.TgZ(61,"li"),t._uU(62),t.qZA(),t.TgZ(63,"li"),t._uU(64),t.qZA(),t.TgZ(65,"li"),t._uU(66),t._UZ(67,"br"),t.TgZ(68,"table",54)(69,"colgroup"),t._UZ(70,"col",55)(71,"col",55),t.qZA(),t.TgZ(72,"tbody")(73,"tr")(74,"td",56),t._uU(75,"Esta tabela ser\xe1 mostrado se status for cancelado"),t.qZA(),t.TgZ(76,"td",56),t._uU(77,"Qualquer coisa"),t.qZA()(),t.TgZ(78,"tr")(79,"td",56),t._uU(80,"Dentro do if poder\xe1 ter qualquer conte\xfado como tabelas, imagens, enumeradores"),t.qZA(),t.TgZ(81,"td",56),t._uU(82,"Outra coisa"),t.qZA()()()(),t._uU(83),t.qZA()(),t.TgZ(84,"h2"),t._uU(85,"3. Itera\xe7\xe3o de lista"),t.qZA(),t.TgZ(86,"p"),t._uU(87,'\xc9 poss\xedvel iterar listas utilizando o "for:" dentro de chaves duplas e a express\xe3o para itera\xe7\xe3o, assim como demonstrado nos exemplos abaixo. A vari\xe1vel da lista dever\xe1 ser acompanhada por colchetes, e dentro dos colchetes dever\xe1 ser informado qual crit\xe9rio de itera\xe7\xe3o e qual o nome da vari\xe1vel que ser\xe1 utilizado para indexar. Existem basicamente duas maneiras de iterar a lista:'),t.qZA(),t.TgZ(88,"p")(89,"strong"),t._uU(90,"3.1 Iterando lista utilizando indice"),t.qZA()(),t.TgZ(91,"p"),t._uU(92),t.qZA(),t.TgZ(93,"ul")(94,"li"),t._uU(95),t.qZA(),t.TgZ(96,"li"),t._uU(97),t.qZA()(),t.TgZ(98,"p")(99,"strong"),t._uU(100,"3.2 Iterando lista utilizando vari\xe1vel"),t.qZA()(),t.TgZ(101,"p"),t._uU(102),t.qZA(),t.TgZ(103,"p")(104,"strong"),t._uU(105,"3.3 Parametros"),t.qZA()(),t.TgZ(106,"ul")(107,"li"),t._uU(108,"\xa0drop=tag: Ir\xe1 remover a tag em que o comando est\xe1 dentro, sendo que tag representa a tag HTML que ser\xe1 removida. Por exemplo drop=tr ir\xe1 remover a tag que o comando est\xe1 dentro. Muito \xfatil para iterar itens em tabelas, onde ser\xe1 necess\xe1rio remover a linha que o comando do for est\xe1 dentro.\xa0"),t.qZA()(),t.TgZ(109,"p")(110,"strong"),t._uU(111,"3.4 Exemplos"),t.qZA()(),t.TgZ(112,"ul")(113,"li"),t._uU(114),t.qZA(),t.TgZ(115,"li"),t._uU(116),t.qZA(),t.TgZ(117,"li")(118,"table",54)(119,"colgroup"),t._UZ(120,"col",55)(121,"col",55),t.qZA(),t.TgZ(122,"tbody")(123,"tr")(124,"td",56),t._uU(125,"T\xedtulo 1"),t.qZA(),t.TgZ(126,"td",56),t._uU(127,"T\xedtulo 2"),t.qZA()(),t.TgZ(128,"tr")(129,"td",57),t._uU(130),t.qZA()(),t.TgZ(131,"tr")(132,"td",56),t._uU(133),t.qZA(),t.TgZ(134,"td",56),t._uU(135),t.qZA()(),t.TgZ(136,"tr")(137,"td",57),t._uU(138),t.qZA()()()()()()(),t.TgZ(139,"tab",58)(140,"h2"),t._uU(141,"Vari\xe1veis dispon\xedveis"),t.qZA(),t.YNc(142,ye,5,4,"span",59),t.qZA()()),2&Je){const Qe=t.oxw();t.xp6(5),t.AsE("O sistema permite renderizar conte\xfado din\xe2mico. Todo conte\xfado din\xe2mico ficar\xe1 dentro de chaves duplas: ","{{","EXPRESS\xc3O","}}",""),t.xp6(6),t.AsE("","{{","NOME_DA_VARIAVEL","}}",""),t.xp6(11),t.AsE("","{{","nome","}}",""),t.xp6(2),t.AsE("","{{","lista[+]","}}",""),t.xp6(2),t.AsE("","{{","lista[x].nome","}}",""),t.xp6(2),t.AsE("","{{","lista[x].sublista[y].quantidade","}}",""),t.xp6(32),t.HOy("","{{",'if:nome="Usu\xe1rio de Teste"',"}}","Mostrar somente quando for o Usu\xe1rio de Teste","{{","end-if","}}",""),t.xp6(2),t.HOy("","{{","if:lista[+]>0","}}","Ser\xe1 mostrado somente se a lista tiver ao menos um elemento","{{","end-if","}}",""),t.xp6(2),t.HOy("","{{","if:lista[x].ativo=true","}}","Ser\xe1 mostrado se a propriedade ativo da lista na posi\xe7\xe3o x estriver como true","{{","end-if","}}",""),t.xp6(2),t.AsE("","{{",'if:status="CANCELADO"',"}}",""),t.xp6(17),t.AsE(" ","{{","end-if","}}"," "),t.xp6(9),t.HOy("Para iterar a lista utilizando indice, ser\xe1 criado uma outra var\xedavel (que estar\xe1 dispon\xedvel somente dentro do ","{{","for:..","}}"," at\xe9 o respectivo ","{{","end-for","}}","). A itera\xe7\xe3o poder\xe1 ocorrer de forma acendente ou decendente e poder\xe1 ser disponibilizado tamb\xe9m uma vari\xe1vel de total de itens:"),t.xp6(3),t.HOy("","{{","for:lista[0..x..t]","}}",': lista \xe9 a vari\xe1vel do tipo lista, o valor zero significa que a itera\xe7\xe3o come\xe7ar\xe1 do item 0 (em todas as lista o primeiro elemento sempre ser\xe1 0), a vari\xe1vel x conter\xe1 o indice atual na itera\xe7\xe3o e por fim a vari\xe1vel t conter\xe1 o total de elementos da lista. O "..t" \xe9 opcional, podendo ficar ',"{{","for:lista[0..x]","}}",". Nesta configura\xe7\xe3o a itera\xe7\xe3o ser\xe1 acendente (do menor para o maior).\xa0"),t.xp6(2),t.HOy("","{{","for:lista[t..x..1]","}}",': lista \xe9 a vari\xe1vel do tipo lista, a vari\xe1vel t conter\xe1 o total de elementos da lista (o "..t" \xe9 opcional), a vari\xe1vel x conter\xe1 o indice atual na itera\xe7\xe3o e por fim o valor 1 significa que a itera\xe7\xe3o terminar\xe1 no item 1 (em todas as lista o primeiro elemento sempre ser\xe1 0), podendo ficar ',"{{","for:lista[x..1]","}}",". Nesta configura\xe7\xe3o a itera\xe7\xe3o ser\xe1 descendente (do maior para o menor).\xa0"),t.xp6(5),t.qoO(["A lista poder\xe1 ser iteranda utilizando uma outra vari\xe1vel como destino dos itens que est\xe3o sendo iterados (est\xe1 nova vari\xe1vel estar\xe1 dispon\xedvel somente dentro do contexto do ","{{","for:...","}}"," at\xe9 o respectivo ","{{","end-for","}}",", e ser\xe1 iterado sempre de forma acendente). O for ser\xe1 no seguinte modelo ","{{","for:lista[item]","}}",", onde lista representa a vari\xe1vel que ser\xe1 iterada, e item representa o item atual da lista que est\xe1 sendo iterada. A vari\xe1vel item estar\xe1 dispon\xedvel somente dentro do ","{{","for:..","}}"," at\xe9 ","{{","end-for","}}","."]),t.xp6(12),t.qoO(["","{{","for:lista[0..x..t]","}}"," Indice ","{{","x","}}"," de um total de ","{{","t","}}"," registros: ","{{","lista[x].nome","}}"," ","{{","end-for","}}",""]),t.xp6(2),t.gL8("","{{","for:lista[item]","}}"," registros: ","{{","item.nome","}}"," ","{{","end-for","}}",""),t.xp6(14),t.AsE("","{{","for:lista[item];drop=tr","}}",""),t.xp6(3),t.AsE("","{{","item.nome","}}",""),t.xp6(2),t.AsE("","{{","item.valor","}}",""),t.xp6(3),t.AsE("","{{","end-for;drop=tr","}}",""),t.xp6(4),t.Q6J("ngForOf",Qe.variables)}}const Ge=function(){return{standalone:!0}};function gt(Je,tt){if(1&Je){const Qe=t.EpF();t.TgZ(0,"editor",60,61),t.NdJ("ngModelChange",function(Nt){t.CHM(Qe);const Jt=t.oxw();return t.KtG(Jt.value=Nt)}),t.qZA()}if(2&Je){const Qe=t.oxw();t.Q6J("disabled",Qe.isDisabled)("ngModel",Qe.value)("ngModelOptions",t.DdM(6,Ge))("init",Qe.editorConfig)("plugins",Qe.plugins)("toolbar",Qe.toolbar)}}let Ze=(()=>{class Je extends y.M{set template(Qe){this._template!=Qe&&(this._template=Qe,this.viewInit&&this.updateEditor())}get template(){return this._template}set datasource(Qe){this._datasource!=Qe&&(this._datasource=Qe,this.viewInit&&this.updateEditor())}get datasource(){return this._datasource}set value(Qe){this.isEditingTemplate?this._editingTemplate=Qe:this._value!=Qe&&(this._value=Qe,this.valueChange.emit(this._value),this.control&&this.control.value!=this._value&&this.control.setValue(this._value),this.detectChanges())}get value(){return this.isEditingTemplate?this._editingTemplate:this._value}set control(Qe){this._control=Qe}get control(){return this.getControl()}set size(Qe){this.setSize(Qe)}get size(){return this.getSize()}get variables(){let Qe=[];const pt=(Nt,Jt,nt)=>{for(let ot of Nt)Qe.push({level:Jt,variable:nt+ot.field+("ARRAY"==ot.type?"[]":""),label:ot.label}),"ARRAY"==ot.type&&pt(ot.fields||[],Jt+1,"[]."),"OBJECT"==ot.type&&pt(ot.fields||[],Jt+1,".")};return pt(this.dataset||[],0,""),JSON.stringify(Qe)!=JSON.stringify(this._variables)&&(this._variables=Qe),Qe}constructor(Qe){var pt;super(Qe),pt=this,this.injector=Qe,this.class="form-group",this.valueChange=new t.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.canEditTemplate=!1,this.toolbars=["customEditTemplateButton","customDoneEditTemplateButton customCancelEditTemplateButton | customAddMacroTemplate customHelpTemplate | undo redo | bold italic underline strikethrough | fontselect fontsize formatselect | alignleft aligncenter alignright alignjustify | outdent indent | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | ltr rtl visualblocks code","customAddMacroTemplate customHelpTemplate | undo redo | customLockTemplate customUnlockTemplate | bold italic underline strikethrough | fontselect fontsize formatselect | alignleft aligncenter alignright alignjustify | outdent indent | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | ltr rtl visualblocks code","undo redo | bold italic underline strikethrough | fontselect fontsize formatselect | alignleft aligncenter alignright alignjustify | outdent indent | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | ltr rtl visualblocks code"],this.plugins="print preview paste importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists wordcount imagetools textpattern noneditable help charmap quickbars emoticons",this.editorConfig={imagetools_cors_hosts:["picsum.photos"],toolbar_sticky:!0,image_advtab:!0,menubar:!1,statusbar:!1,image_caption:!0,quickbars_selection_toolbar:"bold italic | quicklink h2 h3 blockquote quickimage quicktable",noneditable_noneditable_class:"mceNonEditable",toolbar_mode:"sliding",contextmenu:"link image imagetools table",fontsize_formats:"8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",table_class_list:[{title:"Sem classe",value:""},{title:"Padr\xe3o",value:"table table-sm"},{title:"Sem bordas",value:"table table-borderless table-sm"},{title:"Com bordas",value:"table table-sm table-bordered"},{title:"Zebrada",value:"table table-striped table-sm"}],setup:(Nt=>{this.editor=Nt,Nt.on("init",()=>{this.isDisabled&&Nt.mode.set("readonly")}),Nt.ui.registry.addButton("customDoneEditTemplateButton",{icon:"checkmark",text:"Concluir",tooltip:"Concluir edi\xe7\xe3o do template",onAction:Jt=>this.onDoneTemplateClick()}),Nt.ui.registry.addButton("customCancelEditTemplateButton",{icon:"close",text:"Cancelar",tooltip:"Cancelar edi\xe7\xe3o do template",onAction:Jt=>this.onCancelTemplateClick()}),Nt.ui.registry.addButton("customEditTemplateButton",{icon:"edit-block",text:"Editar",tooltip:"Editar template",onAction:Jt=>this.onEditTemplateClick()}),Nt.ui.registry.addButton("customAddMacroTemplate",{icon:"code-sample",tooltip:"Inserir macro (valores din\xe2micos)",onAction:Jt=>(0,i.Z)(function*(){return(yield pt.dialog.template({title:"Adicionar macro",modalWidth:500},pt.addMacroTemplate,[{label:"Fechar",color:"btn btn-outline-danger"}]).asPromise()).dialog.close()})()}),Nt.ui.registry.addButton("customHelpTemplate",{icon:"info",tooltip:"Ajuda sobre como utilizar vari\xe1veis",onAction:Jt=>(0,i.Z)(function*(){return(yield pt.dialog.template({title:"Ajuda sobre vari\xe1veis",modalWidth:800},pt.helpTemplate,[{label:"Fechar",color:"btn btn-outline-danger"}]).asPromise()).dialog.close()})()}),Nt.ui.registry.addButton("customLockTemplate",{icon:"lock",tooltip:"Bloqueia a regi\xe3o selecionada",onAction:Jt=>{let nt=Nt.selection.getContent({format:"html"}),ot=(new Date).getTime(),Ct=this.util.md5(""+nt+ot);Nt.execCommand("insertHTML",!1,'
    '+nt+"
    ")},onSetup:Jt=>{const nt=ot=>Jt.setEnabled("mceNonEditable"!=ot.element.className);return Nt.on("NodeChange",nt),ot=>Nt.off("NodeChange",nt)}}),Nt.ui.registry.addButton("customUnlockTemplate",{icon:"unlock",tooltip:"Desbloqueia a regi\xe3o selecionada",onAction:Jt=>{let He=Nt.selection.getContent({format:"html"}).replace(/^/,"").replace(/<\/div>$/,"");Nt.execCommand("insertHTML",!1,He)},onSetup:Jt=>{const nt=ot=>Jt.setEnabled("mceNonEditable"==ot.element.className);return Nt.on("NodeChange",nt),ot=>Nt.off("NodeChange",nt)}})}).bind(this)},this.listas=[],this.variaveis=[],this.tipoComparadorUm="",this.tipoComparadorDois="",this._variables=[],this.expressaoIf="{{if}}{{end-if}}",this.expressaoFor="{{for}}{{end-for}}",this.lookup=this.injector.get(b.W),this.dialog=Qe.get(a.x),this.templateService=Qe.get(C.E),this._value="",this.operatorForm=this.fb.group({operador:[""],comparadorUmTipo:["",[A.kI.required]],comparadorUmValor:[""],comparadorDoisTipo:["",[A.kI.required]],comparadorDoisValor:[""]},this.cdRef),this.blockForForm=this.fb.group({tipo:["indice"],variavel:["item"],variavelIndice:["x"],lista:["",[A.kI.required]]},this.cdRef)}validarVariaveis(Qe){const pt=Qe.get("tipo")?.value,Nt=Qe.get("variavel"),Jt=Qe.get("variavelIndice");"variavel"===pt?Nt?.setValidators([A.kI.required]):Nt?.clearValidators(),"indice"===pt?Jt?.setValidators([A.kI.required]):Jt?.clearValidators(),Nt?.updateValueAndValidity(),Jt?.updateValueAndValidity()}onEditTemplateClick(){this._editingTemplate=this.template,this.cdRef.detectChanges()}onDoneTemplateClick(){this.template=this._editingTemplate,this._editingTemplate=void 0,this.updateEditor(),this.cdRef.detectChanges()}onCancelTemplateClick(){this._editingTemplate=void 0,this.updateEditor(),this.cdRef.detectChanges()}get hasTemplate(){return null!=this.template}get hasDataset(){return null!=this.dataset}get toolbar(){return this.isEditingTemplate?this.toolbars[0]:this.hasTemplate&&this.canEditTemplate?this.toolbars[1]:this.hasDataset?this.toolbars[2]:this.hasTemplate||this.disabled?"":this.toolbars[3]}get isEditingTemplate(){return null!=this._editingTemplate}get isDisabled(){return null!=this.disabled||this.canEditTemplate&&null!=this.template&&!this.isEditingTemplate}updateEditor(Qe){this.value=null!=this.template&&null!=this.datasource?this.templateService.renderTemplate(this.template,this.datasource):Qe||"",this.cdRef.detectChanges()}ngOnInit(){super.ngOnInit(),this.dataset&&(this.variaveis=this.convertArrayToTreeNodes(this.dataset))}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(Qe=>{this.value!=Qe&&this.updateEditor(Qe)}),this.value=this.control.value),this.updateEditor(),this.operatorForm.valueChanges.subscribe(Qe=>{const pt=Qe.comparadorUmTipo,Nt=Qe.comparadorDoisTipo;let Jt="",nt="";"list"==pt&&(Jt=`${Qe.comparadorUmValor}[+]`),"string"==pt&&(Jt=`"${Qe.comparadorUmValor}"`),("number"==pt||"boolean"==pt)&&(Jt=`${Qe.comparadorUmValor}`),"variable"==pt&&(Jt=`${Qe.comparadorUmValor.data?.path}`),"list"==Nt&&(nt=`${Qe.comparadorDoisValor}[+]`),"string"==Nt&&(nt=`"${Qe.comparadorDoisValor}"`),("number"==Nt||"boolean"==Nt)&&(nt=`${Qe.comparadorDoisValor}`),"variable"==Nt&&(nt=`${Qe.comparadorDoisValor.data?.path}`),this.expressaoIf=`{{if:${Jt}${Qe.operador}${nt}}}{{end-if}}`}),this.blockForForm.valueChanges.subscribe(Qe=>{this.expressaoFor="indice"==Qe.tipo?`{{for:${Qe.lista}[0..${Qe.variavelIndice}..t]}} {{end-for}}`:`{{for:${Qe.lista}[${Qe.variavel}]}} {{end-for}}`})}getVariableString(){return this.selectedVariable?`{{${this.selectedVariable.data?.path}}}`:""}insertVariable(){this.editor?.insertContent(`{{${this.selectedVariable.data.path}}}`),this.dialog.close()}nodeSelect(Qe){this.selectedVariable=Qe.node}insertBlockFor(){this.editor?.insertContent(this.expressaoFor),this.dialog.close()}insertOperator(){this.editor?.insertContent(this.expressaoIf),this.dialog.close()}convertToTreeNode(Qe,pt){const Nt=pt?pt+"."+Qe.field:Qe.field,Jt={label:Qe.label,data:{path:Nt},type:Qe.type,children:[],selectable:Qe.type&&!["ARRAY","OBJECT"].includes(Qe.type)};return Qe.fields&&(Jt.children=this.convertArrayToTreeNodes(Qe.fields,Nt)),"ARRAY"===Qe.type&&this.listas.push({key:Qe.field,value:Qe.label}),Jt}convertArrayToTreeNodes(Qe,pt){return Qe.map(Nt=>this.convertToTreeNode(Nt,pt))}changeTypeOperator(Qe){1==Qe&&(this.tipoComparadorUm=this.operatorForm.controls.comparadorUmTipo.value),2==Qe&&(this.tipoComparadorDois=this.operatorForm.controls.comparadorDoisTipo.value),console.log(this.operatorForm.controls)}selectVariable(Qe,pt){1==pt&&this.operatorForm.controls.comparadorUmValor.patchValue(Qe.node),2==pt&&this.operatorForm.controls.comparadorDoisValor.patchValue(Qe.node)}static#e=this.\u0275fac=function(pt){return new(pt||Je)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:Je,selectors:[["input-editor"]],viewQuery:function(pt,Nt){if(1&pt&&(t.Gf(N,5),t.Gf(j,5),t.Gf(F,5),t.Gf(x,5)),2&pt){let Jt;t.iGM(Jt=t.CRH())&&(Nt.helpTemplate=Jt.first),t.iGM(Jt=t.CRH())&&(Nt.addMacroTemplate=Jt.first),t.iGM(Jt=t.CRH())&&(Nt.editorComponent=Jt.first),t.iGM(Jt=t.CRH())&&(Nt.inputElement=Jt.first)}},hostVars:2,hostBindings:function(pt,Nt){2&pt&&t.Tol(Nt.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",form:"form",source:"source",path:"path",canEditTemplate:"canEditTemplate",dataset:"dataset",required:"required",template:"template",datasource:"datasource",value:"value",control:"control",size:"size"},outputs:{valueChange:"valueChange"},features:[t._Bn([],[{provide:A.gN,useExisting:A.sg}]),t.qOj],decls:6,vars:11,consts:[["addMacroTemplate",""],["helpTemplate",""],[3,"labelPosition","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[3,"disabled","ngModel","ngModelOptions","init","plugins","toolbar","ngModelChange",4,"ngIf"],["display",""],["key","VARIAVEIS_DISPONIVEIS","label","Vari\xe1veis"],[1,"d-flex","align-items-center","my-2"],[1,"card","card-body","me-2"],[1,"btn","btn-success",3,"disabled","click"],["autoHeightDisabled","false",2,"max-height","400px"],["selectionMode","single",1,"w-full","md:w-30rem",3,"value","selection","onNodeSelect"],["key","OPERADORES","label","Operadores l\xf3gicos"],[3,"formGroup","submit"],[1,"row"],[1,"col-md-12"],["type","submit",1,"btn","btn-success",3,"disabled"],[1,"col-md-12","mb-3"],[1,"card","card-body"],[1,"form-label"],["controlName","comparadorUmTipo","label","Tipo",3,"size","items","change"],["controlName","comparadorUmValor","label","Texto",3,"size",4,"ngIf"],["controlName","comparadorUmValor","label","N\xfamero",3,"size",4,"ngIf"],["controlName","comparadorUmValor","label","Lista",3,"size","items",4,"ngIf"],["controlName","comparadorUmValor",3,"size","items",4,"ngIf"],["class","col-md-6",4,"ngIf"],["controlName","operador","label","Operador",3,"size","items"],[1,"col-md-12","my-3"],["controlName","comparadorDoisTipo","label","Tipo",3,"size","items","change"],["controlName","comparadorDoisValor","label","Texto",3,"size",4,"ngIf"],["controlName","comparadorDoisValor","label","N\xfamero",3,"size",4,"ngIf"],["controlName","comparadorDoisValor","label","Lista",3,"size","items",4,"ngIf"],["controlName","comparadorDoisValor",3,"size","items",4,"ngIf"],["key","BLOCOS","label","Blocos de c\xf3digo"],[3,"formGroup","ngSubmit"],["controlName","tipo","label","Tipo da lista",3,"size","items"],["controlName","variavel","label","Vari\xe1vel da lista",3,"size",4,"ngIf"],["controlName","variavelIndice","label","V\xe1riavel do \xedndice",3,"size",4,"ngIf"],["controlName","lista","label","Selecione a lista para iterar",3,"size","items"],["controlName","comparadorUmValor","label","Texto",3,"size"],["controlName","comparadorUmValor","label","N\xfamero",3,"size"],["controlName","comparadorUmValor","label","Lista",3,"size","items"],["controlName","comparadorUmValor",3,"size","items"],[1,"col-md-6"],[1,"d-block","mb-1"],[1,"d-block"],["containerStyleClass","w-full","formControlName","comparadorUmValor",1,"md:w-20rem","w-full",3,"options","onNodeSelect"],["controlName","comparadorDoisValor","label","Texto",3,"size"],["controlName","comparadorDoisValor","label","N\xfamero",3,"size"],["controlName","comparadorDoisValor","label","Lista",3,"size","items"],["controlName","comparadorDoisValor",3,"size","items"],["containerStyleClass","w-full","formControlName","comparadorDoisValor",1,"md:w-20rem","w-full",3,"options","onNodeSelect"],["controlName","variavel","label","Vari\xe1vel da lista",3,"size"],["controlName","variavelIndice","label","V\xe1riavel do \xedndice",3,"size"],["key","PRINCIPAL","label","Principal"],[2,"border","1px solid","width","100%"],[2,"width","50%"],[2,"border","1px solid"],["colspan","2",2,"border","1px solid"],["key","VARIAVEIS","label","Vari\xe1veis"],[4,"ngFor","ngForOf"],[3,"disabled","ngModel","ngModelOptions","init","plugins","toolbar","ngModelChange"],["editor",""]],template:function(pt,Nt){1&pt&&(t.YNc(0,oe,58,32,"ng-template",null,0,t.W1O),t.YNc(2,Ee,143,75,"ng-template",null,1,t.W1O),t.TgZ(4,"input-container",2),t.YNc(5,gt,2,7,"editor",3),t.qZA()),2&pt&&(t.xp6(4),t.Q6J("labelPosition",Nt.labelPosition)("controlName",Nt.controlName)("required",Nt.required)("control",Nt.control)("loading",Nt.loading)("disabled",Nt.disabled)("label",Nt.label)("labelInfo",Nt.labelInfo)("icon",Nt.icon)("bold",Nt.bold),t.xp6(1),t.Q6J("ngIf",Nt.viewInit))}})}return Je})()},1720:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>X});var i=m(8239),t=m(755),A=m(2133),a=m(645),y=m(6733),C=m(8544);const b=["inputElement"],N=["newInputLevel"];function j(me,Oe){if(1&me&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&me){const Se=t.oxw(2);t.xp6(1),t.Oqu(Se.separator)}}function F(me,Oe){if(1&me){const Se=t.EpF();t.TgZ(0,"input",7),t.NdJ("change",function(K){t.CHM(Se);const V=t.oxw().index,J=t.oxw();return t.KtG(J.onChange(K,V))}),t.qZA()}if(2&me){const Se=t.oxw(),wt=Se.$implicit,K=Se.index,V=t.oxw();t.Udp("width",V.inputWidth,"px"),t.ekj("input-level-invalid",!wt.valid),t.Q6J("type",V.type)("id",V.generatedId(V.controlName)+"_"+K)("readonly",V.isDisabled),t.uIk("min",wt.min)("max",wt.max)("value",wt.value)}}function x(me,Oe){if(1&me&&(t.ynx(0),t.YNc(1,j,2,1,"span",4),t.YNc(2,F,1,10,"input",5),t.BQk()),2&me){const Se=Oe.index,wt=t.oxw();t.xp6(1),t.Q6J("ngIf",Se>0),t.xp6(1),t.Q6J("ngIf",wt.viewInit)}}function H(me,Oe){if(1&me&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&me){const Se=t.oxw(2);t.xp6(1),t.Oqu(Se.separator)}}function k(me,Oe){if(1&me){const Se=t.EpF();t.TgZ(0,"input",7,8),t.NdJ("change",function(K){t.CHM(Se);const V=t.oxw(2);return t.KtG(V.onNewLevelChange(K))}),t.qZA()}if(2&me){const Se=t.oxw(2);t.Udp("width",Se.inputWidth,"px"),t.ekj("input-level-invalid",!Se.newLevel.valid),t.Q6J("type",Se.type)("id",Se.generatedId(Se.controlName)+"_new")("readonly",Se.isDisabled),t.uIk("min",Se.newLevel.min)("max",Se.newLevel.max)("value",Se.newLevel.value)}}function P(me,Oe){if(1&me&&(t.ynx(0),t.YNc(1,H,2,1,"span",4),t.YNc(2,k,2,10,"input",5),t.BQk()),2&me){const Se=t.oxw();t.xp6(1),t.Q6J("ngIf",Se.levels.length),t.xp6(1),t.Q6J("ngIf",Se.viewInit)}}let X=(()=>{class me extends a.M{set control(Se){this._control=Se}get control(){return this.getControl()}set size(Se){this.setSize(Se)}get size(){return this.getSize()}constructor(Se){super(Se),this.injector=Se,this.class="form-group",this.change=new t.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.inputWidth=50,this.loading=!1,this.type="number",this.separator=".",this.levels=[],this.newLevel={valid:!0}}controlChange(Se){this.levels=(Se||"").split(this.separator).filter(wt=>!this.isEmpty(wt)).map(wt=>Object.assign({},{value:wt,valid:!0})),this.checkValidate()}isEmpty(Se){return[void 0,"0","",0].includes(Se)}updateControl(){this.control&&this.control.setValue(this.levels.map(Se=>Se.value).join(this.separator))}get hasNewLevel(){return!0}checkValidate(){var Se=this;(0,i.Z)(function*(){for(let wt=0;wt{"use strict";m.d(_e,{p:()=>wt});var i=m(8239),t=m(2133),A=m(645),a=m(8967),y=m(4603),C=m(755);function b(K,V){if(1&K&&C._UZ(0,"i"),2&K){const J=C.oxw(2);C.Tol(J.icon)}}function N(K,V){if(1&K&&(C.TgZ(0,"h5",6),C.YNc(1,b,1,2,"i",7),C._uU(2),C.qZA()),2&K){const J=C.oxw();C.xp6(1),C.Q6J("ngIf",J.icon.length),C.xp6(1),C.hij(" ",J.label," ")}}function j(K,V){if(1&K&&C._UZ(0,"i"),2&K){const J=C.oxw(2).$implicit;C.Tol("multiselect-icon "+J.icon)}}function F(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"span",14),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2).$implicit,ye=C.oxw();return C.KtG(ye.onEdit(oe))}),C._UZ(1,"i",15),C.qZA()}}function x(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"span",16),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2).$implicit,ye=C.oxw();return C.KtG(ye.onDelete(oe))}),C._uU(1,"X"),C.qZA()}}function H(K,V){if(1&K&&(C.TgZ(0,"div",9)(1,"div",10),C.YNc(2,j,1,2,"i",7),C.TgZ(3,"div",11),C._uU(4),C.qZA(),C.YNc(5,F,2,0,"span",12),C.YNc(6,x,2,0,"span",13),C.qZA()()),2&K){const J=C.oxw().$implicit,ae=C.oxw();C.Udp("max-width","inline"==ae.multiselectStyle?ae.maxItemWidth:void 0,"px"),C.ekj("multiselect-item-row","rows"==ae.multiselectStyle),C.Q6J("id",ae.generatedId(ae.controlName)+"_button_"+J.key),C.uIk("title",J.value),C.xp6(1),C.Q6J("ngClass","rows"==ae.multiselectStyle?"justify-content-between":""),C.xp6(1),C.Q6J("ngIf",J.icon),C.xp6(1),C.Udp("color",ae.getHexColor(J.color)),C.ekj("muiltiselect-text-icon",J.icon),C.xp6(1),C.Oqu(J.value),C.xp6(1),C.Q6J("ngIf",!ae.isDisabled&&!ae.editing&&ae.canEdit),C.xp6(1),C.Q6J("ngIf",!ae.isDisabled&&!ae.editing)}}function k(K,V){if(1&K&&(C.ynx(0),C.YNc(1,H,7,15,"div",8),C.BQk()),2&K){const J=V.$implicit;C.xp6(1),C.Q6J("ngIf","DELETE"!=(null==J.data?null:J.data._status))}}function P(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"button",23),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2);return C.KtG(oe.onAddItemClick())}),C._UZ(1,"i",24),C.qZA()}if(2&K){const J=C.oxw(2);C.Q6J("id",J.generatedId(J.controlName)+"_add_button")}}function X(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"button",25),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2);return C.KtG(oe.onSaveItemClick())}),C._UZ(1,"i",26),C.qZA()}if(2&K){const J=C.oxw(2);C.Q6J("id",J.generatedId(J.controlName)+"_save_button")}}function me(K,V){if(1&K){const J=C.EpF();C.TgZ(0,"button",27),C.NdJ("click",function(){C.CHM(J);const oe=C.oxw(2);return C.KtG(oe.onCancelItemClick())}),C._UZ(1,"i",28),C.qZA()}if(2&K){const J=C.oxw(2);C.Q6J("id",J.generatedId(J.controlName)+"_cancel_button")}}function Oe(K,V){if(1&K&&(C.TgZ(0,"div",17)(1,"div",18),C.Hsn(2),C.qZA(),C.TgZ(3,"div",19),C.YNc(4,P,2,1,"button",20),C.YNc(5,X,2,1,"button",21),C.YNc(6,me,2,1,"button",22),C.qZA()()),2&K){const J=C.oxw();C.xp6(4),C.Q6J("ngIf",!J.editing),C.xp6(1),C.Q6J("ngIf",J.editing),C.xp6(1),C.Q6J("ngIf",J.editing)}}const Se=["*"];let wt=(()=>{class K extends A.M{set items(J){this._items=J,this.control?.setValue(J),this.detectChanges()}get items(){return this.control?.value||this._items||[]}set control(J){this._control=J}get control(){return this.getControl()}set size(J){this.setSize(J)}get size(){return this.getSize()}constructor(J){super(J),this.injector=J,this.class="form-group my-2",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.maxItemWidth=150,this.maxListHeight=0,this.multiselectStyle="rows",this.canEdit=!1,this.selectedItem=void 0}ngOnInit(){super.ngOnInit(),this.class=this.isNoBox?this.class.replace(" my-2",""):this.class}onEdit(J){var ae=this;return(0,i.Z)(function*(){ae.editing=J,ae.loadItemHandle&&(yield ae.loadItemHandle(J)),ae.cdRef.detectChanges()})()}onDelete(J){let ae=J.data?._status,oe=!this.deleteItemHandle||this.deleteItemHandle(J);oe&&this.items.splice(this.items.findIndex(ye=>ye.key==J.key),1),this.cdRef.detectChanges(),this.change&&(oe||ae!=J.data?._status)&&this.change()}get isNoForm(){return null!=this.noForm}get isNoBox(){return null!=this.noBox}onSaveItemClick(){var J=this;return(0,i.Z)(function*(){let ae;if(J.saveItemHandle&&(ae=yield J.saveItemHandle(J.editing)),J.addItemControl)if(J.addItemControl instanceof a.V&&J.addItemControl.selectedItem?.value){const oe=J.addItemControl;J.editing.key=oe.selectedItem.value,J.editing.value=oe.selectedItem.text,J.editing.data=oe.selectedEntity,ae=J.editing}else if(J.addItemControl instanceof y.p&&J.addItemControl.selectedItem?.key){const oe=J.addItemControl;J.editing.key=oe.selectedItem?.key,J.editing.value=oe.selectedItem?.value||"",J.editing.data=oe.selectedItem?.data,ae=J.editing}return ae&&J.endEdit(),ae})()}onCancelItemClick(){this.endEdit()}endEdit(){this.editing=void 0,this.clearItemForm?this.clearItemForm():this.addItemControl&&(this.addItemControl?.setValue(""),this.addItemControl?.control?.setValue("")),this.cdRef.detectChanges()}onAddItemClick(){var J=this;return(0,i.Z)(function*(){let ae;if(J.addItemHandle)ae=J.addItemHandle();else if(J.addItemAsyncHandle)ae=yield J.addItemAsyncHandle();else if(J.addItemControl)if(J.addItemControl instanceof a.V&&J.addItemControl.selectedItem?.value){const oe=J.addItemControl;ae={key:oe.selectedItem.value,value:oe.selectedItem.text,data:J.addItemControl.selectedEntity}}else if(J.addItemControl instanceof y.p&&J.addItemControl.selectedItem?.key){const oe=J.addItemControl;ae=Object.assign({},oe.items.find(ye=>ye.key==oe.selectedItem?.key))}ae&&(J._items||(J._items=[]),J.items.push(ae),J.items=J.items,J.clearItemForm&&J.clearItemForm(),J.cdRef.detectChanges(),J.change&&J.change())})()}static#e=this.\u0275fac=function(ae){return new(ae||K)(C.Y36(C.zs3))};static#t=this.\u0275cmp=C.Xpm({type:K,selectors:[["input-multiselect"]],hostVars:2,hostBindings:function(ae,oe){2&ae&&C.Tol(oe.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",noForm:"noForm",noBox:"noBox",loading:"loading",maxItemWidth:"maxItemWidth",maxListHeight:"maxListHeight",change:"change",deleteItemHandle:"deleteItemHandle",loadItemHandle:"loadItemHandle",saveItemHandle:"saveItemHandle",addItemHandle:"addItemHandle",addItemAsyncHandle:"addItemAsyncHandle",clearItemForm:"clearItemForm",addItemControl:"addItemControl",multiselectStyle:"multiselectStyle",form:"form",source:"source",path:"path",canEdit:"canEdit",required:"required",items:"items",control:"control",size:"size"},features:[C._Bn([],[{provide:t.gN,useExisting:t.sg}]),C.qOj],ngContentSelectors:Se,decls:8,vars:20,consts:[["errorMessageIcon","bi-info-circle",3,"labelPosition","labelClass","loading","disabled","controlName","required","control","label","labelInfo","icon","bold"],["class","card-header",4,"ngIf"],[1,"multiselect"],[1,"border","rounded","multiselect-list","px-1","d-flex","flex-wrap"],[4,"ngFor","ngForOf"],["class","multiselect-container d-flex align-items-end ",4,"ngIf"],[1,"card-header"],[3,"class",4,"ngIf"],["type","button","class","btn btn-light m-1 multiselect-item ","data-bs-toggle","tooltip",3,"id","multiselect-item-row","max-width",4,"ngIf"],["type","button","data-bs-toggle","tooltip",1,"btn","btn-light","m-1","multiselect-item",3,"id"],[1,"d-flex","align-items-center",3,"ngClass"],[1,"mx-1","text-start"],["class","badge bg-primary ms-1 multiselect-delete-button","role","button",3,"click",4,"ngIf"],["class","badge bg-danger ms-1 multiselect-delete-button","role","button",3,"click",4,"ngIf"],["role","button",1,"badge","bg-primary","ms-1","multiselect-delete-button",3,"click"],[1,"bi","bi-pencil-square"],["role","button",1,"badge","bg-danger","ms-1","multiselect-delete-button",3,"click"],[1,"multiselect-container","d-flex","align-items-end"],[1,"flex-grow-1","row"],[1,"btn-group","mx-2"],["type","button","class","btn btn-success","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",3,"id","click",4,"ngIf"],["type","button","class","btn btn-primary","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",3,"id","click",4,"ngIf"],["type","button","class","btn btn-danger","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",3,"id","click",4,"ngIf"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",1,"btn","btn-success",3,"id","click"],[1,"bi","bi-arrow-bar-up"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",1,"btn","btn-primary",3,"id","click"],[1,"bi","bi-check-circle"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",1,"btn","btn-danger",3,"id","click"],[1,"bi","bi-dash-circle"]],template:function(ae,oe){1&ae&&(C.F$t(),C.TgZ(0,"input-container",0)(1,"div"),C.YNc(2,N,3,2,"h5",1),C.TgZ(3,"div")(4,"div",2)(5,"div",3),C.YNc(6,k,2,1,"ng-container",4),C.qZA(),C.YNc(7,Oe,7,3,"div",5),C.qZA()()()()),2&ae&&(C.Q6J("labelPosition",oe.labelPosition)("labelClass",oe.labelClass)("loading",oe.loading)("disabled",oe.disabled)("controlName",oe.controlName)("required",oe.required)("control",oe.control)("label",oe.isNoBox?oe.label:"")("labelInfo",oe.labelInfo)("icon",oe.icon)("bold",oe.bold),C.xp6(1),C.ekj("card",!oe.isNoBox),C.xp6(1),C.Q6J("ngIf",(null==oe.label?null:oe.label.length)&&!oe.isNoBox),C.xp6(1),C.ekj("card-body",!oe.isNoBox),C.xp6(2),C.Udp("max-height",oe.maxListHeight>0?oe.maxListHeight:void 0,"px"),C.xp6(1),C.Q6J("ngForOf",oe.items),C.xp6(1),C.Q6J("ngIf",!oe.isDisabled&&!oe.isNoForm))},styles:[".multiselect[_ngcontent-%COMP%] .multiselect-list[_ngcontent-%COMP%]{overflow:auto}.multiselect[_ngcontent-%COMP%] .multiselect-icon[_ngcontent-%COMP%]{float:left;margin-right:3px}.multiselect[_ngcontent-%COMP%] .multiselect-item[_ngcontent-%COMP%]{cursor:default}.multiselect[_ngcontent-%COMP%] .multiselect-item-row[_ngcontent-%COMP%]{display:block;width:calc(100% - 8px)}.multiselect[_ngcontent-%COMP%] .multiselect-text[_ngcontent-%COMP%]{float:left;width:calc(100% - 28px);text-align:left}.multiselect[_ngcontent-%COMP%] .multiselect-has-edit[_ngcontent-%COMP%]{width:calc(100% - 58px)!important}.multiselect[_ngcontent-%COMP%] .muiltiselect-text-icon[_ngcontent-%COMP%]{width:calc(100% - 45px)!important}.multiselect[_ngcontent-%COMP%] .multiselect-delete-button[_ngcontent-%COMP%]{cursor:pointer;margin-top:2px}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%]{display:inline-table;width:100%}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%] .multiselect-container-buttons[_ngcontent-%COMP%]{display:table-cell;vertical-align:bottom;width:40px}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%] .multiselect-container-form[_ngcontent-%COMP%]{display:flex;width:auto}.multiselect[_ngcontent-%COMP%] .multiselect-container[_ngcontent-%COMP%] .multiselect-container-form-button[_ngcontent-%COMP%]{vertical-align:baseline!important}"]})}return K})()},2984:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>C});var i=m(2133),t=m(645),A=m(755);function a(b,N){if(1&b&&A._UZ(0,"i"),2&b){const j=A.oxw().$implicit;A.Tol(j.icon)}}function y(b,N){if(1&b){const j=A.EpF();A.TgZ(0,"button",3),A.NdJ("click",function(){const H=A.CHM(j).$implicit,k=A.oxw();return A.KtG(k.onButtonToggle(H))}),A.YNc(1,a,1,2,"i",4),A._uU(2),A.qZA()}if(2&b){const j=N.$implicit,F=A.oxw();A.Tol("m-1 btn "+F.classButton(j)),A.ekj("active",F.isChecked(j)),A.Q6J("id",F.generatedId(F.controlName)+"_"+j.key)("disabled",F.isDisabled?"true":void 0),A.xp6(1),A.Q6J("ngIf",j.icon),A.xp6(1),A.hij(" ",j.value," ")}}let C=(()=>{class b extends t.M{set value(j){JSON.stringify(this._value)!=JSON.stringify(j)&&(this._value=j,this.control?.setValue(this.value)),this.cdRef.markForCheck()}get value(){return this._value}set items(j){this._items=j||[],this.value=this.value.filter(F=>!!this._items?.find(x=>x.key==F.key)),this.cdRef.detectChanges()}get items(){return this._items}set control(j){this._control=j}get control(){return this.getControl()}set size(j){this.setSize(j)}get size(){return this.getSize()}constructor(j){super(j),this.injector=j,this.class="form-group",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this._items=[],this._value=[]}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){if(super.ngAfterViewInit(),this.control){const j=F=>{this.value=F?.filter(x=>!!this._items?.find(H=>H.key==x.key))||[]};this.control.valueChanges.subscribe(j),j(this.control.value)}}onButtonToggle(j){const F=this.value.findIndex(H=>H.key==j.key);let x=[...this.value];F>=0?x.splice(F,1):x.push(j),this.value=x}isChecked(j){return!!this.value.find(F=>F.key==j.key)}classButton(j){return this.isDisabled&&!this.isChecked(j)?"btn-outline-secundary":"btn-outline-primary"}static#e=this.\u0275fac=function(F){return new(F||b)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:b,selectors:[["input-multitoggle"]],hostVars:2,hostBindings:function(F,x){2&F&&A.Tol(x.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",form:"form",source:"source",path:"path",required:"required",value:"value",items:"items",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],decls:3,vars:13,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold","isRadio"],[1,"container-fluid","d-flex","justify-content-center","border","rounded","flex-wrap"],["type","button",3,"id","active","class","disabled","click",4,"ngFor","ngForOf"],["type","button",3,"id","disabled","click"],[3,"class",4,"ngIf"]],template:function(F,x){1&F&&(A.TgZ(0,"input-container",0)(1,"div",1),A.YNc(2,y,3,8,"button",2),A.qZA()()),2&F&&(A.Q6J("labelPosition",x.labelPosition)("labelClass",x.labelClass)("controlName",x.controlName)("required",x.required)("control",x.control)("loading",x.loading)("disabled",x.disabled)("label",x.label)("labelInfo",x.labelInfo)("icon",x.icon)("bold",x.bold)("isRadio",!0),A.xp6(2),A.Q6J("ngForOf",x.items))}})}return b})()},9224:(lt,_e,m)=>{"use strict";m.d(_e,{l:()=>j});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(F,x){if(1&F&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&F){const H=i.oxw();i.xp6(1),i.Oqu(H.prefix)}}function C(F,x){if(1&F){const H=i.EpF();i.TgZ(0,"input",6,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("blur",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.converteNumero(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&F){const H=i.oxw();i.ekj("is-invalid",H.isInvalid()),i.Q6J("type",H.isInteger?"number":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("value",H.control?void 0:H.value)}}function b(F,x){if(1&F){const H=i.EpF();i.TgZ(0,"input",8,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("blur",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.converteNumero(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&F){const H=i.oxw();i.ekj("is-invalid",H.isInvalid()),i.Q6J("type",H.isInteger?"number":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("mask",H.maskFormat)("dropSpecialCharacters",!1)("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("value",H.control?void 0:H.value)}}function N(F,x){if(1&F&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&F){const H=i.oxw();i.xp6(1),i.Oqu(H.sufix)}}let j=(()=>{class F extends A.M{set control(H){this._control=H}get control(){return this.getControl()}set currency(H){this._currency!=H&&(this._currency=H,null!=H&&(this.prefix="R$",this.decimals=2))}get currency(){return this._currency}set decimals(H){this._decimals!=H&&(this._decimals=H,this.maskFormat=H?"0*."+"0".repeat(H):"")}set size(H){this.setSize(H)}get size(){return this.getSize()}constructor(H){super(H),this.injector=H,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this._decimals=0}get isAllowNegative(){return null!=this.allowNegative}get isInteger(){return 0==this._decimals}ngOnInit(){super.ngOnInit()}onChange(H){this.change&&this.change.emit(H)}converteNumero(H){let k=H.target.value;k&&!isNaN(1*k)&&this.formControl.patchValue(1*(this.isInteger?parseInt(k):parseFloat(k)))}static#e=this.\u0275fac=function(k){return new(k||F)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:F,selectors:[["input-number"]],viewQuery:function(k,P){if(1&k&&i.Gf(a,5),2&k){let X;i.iGM(X=i.CRH())&&(P.inputElement=X.first)}},hostVars:2,hostBindings:function(k,P){2&k&&i.Tol(P.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",minValue:"minValue",maxValue:"maxValue",stepValue:"stepValue",prefix:"prefix",sufix:"sufix",form:"form",allowNegative:"allowNegative",source:"source",path:"path",required:"required",control:"control",currency:"currency",decimals:"decimals",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:6,vars:15,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","input-group-text",4,"ngIf"],["class","form-control text-end",3,"type","formControl","id","is-invalid","readonly","change","blur","keydown.enter",4,"ngIf"],["class","form-control text-end","thousandSeparator",".",3,"type","formControl","id","is-invalid","mask","dropSpecialCharacters","readonly","change","blur","keydown.enter",4,"ngIf"],[1,"input-group-text"],[1,"form-control","text-end",3,"type","formControl","id","readonly","change","blur","keydown.enter"],["inputElement",""],["thousandSeparator",".",1,"form-control","text-end",3,"type","formControl","id","mask","dropSpecialCharacters","readonly","change","blur","keydown.enter"]],template:function(k,P){1&k&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,y,2,1,"span",2),i.YNc(3,C,2,10,"input",3),i.YNc(4,b,2,12,"input",4),i.YNc(5,N,2,1,"span",2),i.qZA()()),2&k&&(i.Q6J("labelPosition",P.labelPosition)("labelClass",P.labelClass)("controlName",P.controlName)("required",P.required)("control",P.control)("loading",P.loading)("disabled",P.disabled)("label",P.label)("labelInfo",P.labelInfo)("icon",P.icon)("bold",P.bold),i.xp6(2),i.Q6J("ngIf",P.prefix),i.xp6(1),i.Q6J("ngIf",P.viewInit&&!P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.viewInit&&P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.sufix))},styles:["input[type=text][_ngcontent-%COMP%]:read-only, input[type=number][_ngcontent-%COMP%]:read-only, input[type=text][_ngcontent-%COMP%]:disabled, input[type=number][_ngcontent-%COMP%]:disabled{background-color:var(--bs-secondary-bg)}"]})}return F})()},8877:(lt,_e,m)=>{"use strict";m.d(_e,{f:()=>F});var i=m(2133),t=m(645),A=m(755);function a(x,H){if(1&x){const k=A.EpF();A.TgZ(0,"input",8),A.NdJ("change",function(X){A.CHM(k);const me=A.oxw(3);return A.KtG(me.onRadioChange(X))}),A.qZA()}if(2&x){const k=A.oxw().$implicit,P=A.oxw(2);A.Q6J("id",P.generatedId(P.controlName)+"_"+k.key)("disabled",P.disabled),A.uIk("name",P.generatedId(P.controlName))("value",k.key.toString())("checked",P.isChecked(k))}}function y(x,H){if(1&x&&A._UZ(0,"i"),2&x){const k=A.oxw().$implicit;A.Tol(k.icon)}}function C(x,H){if(1&x&&(A.ynx(0),A.YNc(1,a,1,5,"input",5),A.TgZ(2,"label",6),A.YNc(3,y,1,2,"i",7),A._uU(4),A.qZA(),A.BQk()),2&x){const k=H.$implicit,P=A.oxw(2);A.xp6(1),A.Q6J("ngIf",P.viewInit),A.xp6(1),A.ekj("label-input-invalid",P.isInvalid())("disabled",P.isDisabled),A.Q6J("title",k.hint),A.uIk("for",P.generatedId(P.controlName)+"_"+k.key)("data-bs-toggle",k.hint?"tooltip":void 0)("data-bs-placement",k.hint?"top":void 0),A.xp6(1),A.Q6J("ngIf",null==k.icon?null:k.icon.length),A.xp6(1),A.hij(" ",k.value," ")}}function b(x,H){if(1&x&&(A.TgZ(0,"div",3),A.YNc(1,C,5,11,"ng-container",4),A.qZA()),2&x){const k=A.oxw();A.xp6(1),A.Q6J("ngForOf",k.items)}}function N(x,H){if(1&x){const k=A.EpF();A.ynx(0),A.TgZ(1,"div",9)(2,"input",10),A.NdJ("change",function(X){A.CHM(k);const me=A.oxw(2);return A.KtG(me.onRadioChange(X))}),A.qZA(),A.TgZ(3,"label",11),A._uU(4),A.qZA()(),A.BQk()}if(2&x){const k=H.$implicit,P=A.oxw(2);A.xp6(1),A.ekj("form-check-inline",P.isInline),A.xp6(1),A.Q6J("id",P.generatedId(P.controlName)+"_"+k.key)("disabled",P.disabled),A.uIk("name",P.generatedId(P.controlName))("value",k.key.toString())("checked",P.isChecked(k)),A.xp6(1),A.uIk("for",P.generatedId(P.controlName)+"_"+k.key),A.xp6(1),A.Oqu(k.value)}}function j(x,H){if(1&x&&A.YNc(0,N,5,9,"ng-container",4),2&x){const k=A.oxw();A.Q6J("ngForOf",k.items)}}let F=(()=>{class x extends t.M{set value(k){if(k!=this._value){this._value=k,this.detectChanges();const P=document.getElementById(this.controlName+k);P&&(P.checked=!0)}}get value(){return this._value}set control(k){this._control=k}get control(){return this.getControl()}set size(k){this.setSize(k)}get size(){return this.getSize()}constructor(k){super(k),this.injector=k,this.class="form-group",this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-toggle-on",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.items=[],this._value=""}ngOnInit(){super.ngOnInit()}onRadioChange(k){const P=k.target,X=this.items.find(me=>me.key.toString()==P.value);this.control?.setValue(X?.key),this.change&&this.change(X?.key)}isChecked(k){return this.value==k.key?"":void 0}get isCircle(){return null!=this.circle}get isInline(){return null!=this.inline}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.value=this.control.value,this.control.valueChanges.subscribe(k=>{this.value=k}))}static#e=this.\u0275fac=function(P){return new(P||x)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:x,selectors:[["input-radio"]],hostVars:2,hostBindings:function(P,X){2&P&&A.Tol(X.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",items:"items",form:"form",source:"source",path:"path",required:"required",circle:"circle",inline:"inline",change:"change",value:"value",control:"control",size:"size"},features:[A._Bn([],[{provide:i.gN,useExisting:i.sg}]),A.qOj],decls:4,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold","isRadio"],["class","btn-group full-container-button-group","role","group",4,"ngIf","ngIfElse"],["inputCircle",""],["role","group",1,"btn-group","full-container-button-group"],[4,"ngFor","ngForOf"],["type","radio","class","btn-check","autocomplete","off",3,"id","disabled","change",4,"ngIf"],[1,"btn","petrvs","btn-outline-primary",3,"title"],[3,"class",4,"ngIf"],["type","radio","autocomplete","off",1,"btn-check",3,"id","disabled","change"],[1,"form-check"],["type","radio",1,"form-check-input",3,"id","disabled","change"],[1,"form-check-label"]],template:function(P,X){if(1&P&&(A.TgZ(0,"input-container",0),A.YNc(1,b,2,1,"div",1),A.YNc(2,j,1,1,"ng-template",null,2,A.W1O),A.qZA()),2&P){const me=A.MAs(3);A.Q6J("labelPosition",X.labelPosition)("labelClass",X.labelClass)("controlName",X.controlName)("required",X.required)("control",X.control)("loading",X.loading)("disabled",X.disabled)("label",X.label)("labelInfo",X.labelInfo)("icon",X.icon)("bold",X.bold)("isRadio",!0),A.xp6(1),A.Q6J("ngIf",!X.isCircle)("ngIfElse",me)}},styles:[".label-input-invalid[_ngcontent-%COMP%]{border-color:#dc3545}"]})}return x})()},52:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>y});var i=m(755),t=m(2133),A=m(645);function a(C,b){if(1&C){const N=i.EpF();i.TgZ(0,"i",3),i.NdJ("click",function(){const x=i.CHM(N).index,H=i.oxw();return i.KtG(H.onClick(x))}),i.qZA()}if(2&C){const N=b.index,j=i.oxw();i.Tol(j.startClass(N)),i.Udp("font-size",j.isSmall?.8:void 0,"rem"),i.Q6J("id",j.generatedId(j.controlName)+"_"+N),i.uIk("role",j.isDisabled?void 0:"button")}}let y=(()=>{class C extends A.M{set control(N){this._control=N}get control(){return this.getControl()}set max(N){this._max!=N&&(this._max=N,this.stars=Array(N).fill(!1),this.stars.map((j,F)=>this.stars[F]=Fthis.stars[F]=F{"use strict";m.d(_e,{V:()=>dg});var i={};m.r(i),m.d(i,{afterMain:()=>oe,afterRead:()=>V,afterWrite:()=>Ge,applyStyles:()=>nt,arrow:()=>Kn,auto:()=>j,basePlacements:()=>F,beforeMain:()=>J,beforeRead:()=>wt,beforeWrite:()=>ye,bottom:()=>C,clippingParents:()=>k,computeStyles:()=>Pi,createPopper:()=>Eo,createPopperBase:()=>To,createPopperLite:()=>Ra,detectOverflow:()=>mi,end:()=>H,eventListeners:()=>Dr,flip:()=>mn,hide:()=>Ae,left:()=>N,main:()=>ae,modifierPhases:()=>gt,offset:()=>Kt,placements:()=>Se,popper:()=>X,popperGenerator:()=>Nr,popperOffsets:()=>Tn,preventOverflow:()=>Ti,read:()=>K,reference:()=>me,right:()=>b,start:()=>x,top:()=>y,variationPlacements:()=>Oe,viewport:()=>P,write:()=>Ee});var t=m(8239),A=m(755),a=m(2133),y="top",C="bottom",b="right",N="left",j="auto",F=[y,C,b,N],x="start",H="end",k="clippingParents",P="viewport",X="popper",me="reference",Oe=F.reduce(function(Me,Z){return Me.concat([Z+"-"+x,Z+"-"+H])},[]),Se=[].concat(F,[j]).reduce(function(Me,Z){return Me.concat([Z,Z+"-"+x,Z+"-"+H])},[]),wt="beforeRead",K="read",V="afterRead",J="beforeMain",ae="main",oe="afterMain",ye="beforeWrite",Ee="write",Ge="afterWrite",gt=[wt,K,V,J,ae,oe,ye,Ee,Ge];function Ze(Me){return Me?(Me.nodeName||"").toLowerCase():null}function Je(Me){if(null==Me)return window;if("[object Window]"!==Me.toString()){var Z=Me.ownerDocument;return Z&&Z.defaultView||window}return Me}function tt(Me){return Me instanceof Je(Me).Element||Me instanceof Element}function Qe(Me){return Me instanceof Je(Me).HTMLElement||Me instanceof HTMLElement}function pt(Me){return!(typeof ShadowRoot>"u")&&(Me instanceof Je(Me).ShadowRoot||Me instanceof ShadowRoot)}const nt={name:"applyStyles",enabled:!0,phase:"write",fn:function Nt(Me){var Z=Me.state;Object.keys(Z.elements).forEach(function(le){var st=Z.styles[le]||{},At=Z.attributes[le]||{},fn=Z.elements[le];!Qe(fn)||!Ze(fn)||(Object.assign(fn.style,st),Object.keys(At).forEach(function(Mn){var Xn=At[Mn];!1===Xn?fn.removeAttribute(Mn):fn.setAttribute(Mn,!0===Xn?"":Xn)}))})},effect:function Jt(Me){var Z=Me.state,le={popper:{position:Z.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(Z.elements.popper.style,le.popper),Z.styles=le,Z.elements.arrow&&Object.assign(Z.elements.arrow.style,le.arrow),function(){Object.keys(Z.elements).forEach(function(st){var At=Z.elements[st],fn=Z.attributes[st]||{},Xn=Object.keys(Z.styles.hasOwnProperty(st)?Z.styles[st]:le[st]).reduce(function(Ai,nr){return Ai[nr]="",Ai},{});!Qe(At)||!Ze(At)||(Object.assign(At.style,Xn),Object.keys(fn).forEach(function(Ai){At.removeAttribute(Ai)}))})}},requires:["computeStyles"]};function ot(Me){return Me.split("-")[0]}var Ct=Math.max,He=Math.min,mt=Math.round;function vt(){var Me=navigator.userAgentData;return null!=Me&&Me.brands&&Array.isArray(Me.brands)?Me.brands.map(function(Z){return Z.brand+"/"+Z.version}).join(" "):navigator.userAgent}function hn(){return!/^((?!chrome|android).)*safari/i.test(vt())}function yt(Me,Z,le){void 0===Z&&(Z=!1),void 0===le&&(le=!1);var st=Me.getBoundingClientRect(),At=1,fn=1;Z&&Qe(Me)&&(At=Me.offsetWidth>0&&mt(st.width)/Me.offsetWidth||1,fn=Me.offsetHeight>0&&mt(st.height)/Me.offsetHeight||1);var Xn=(tt(Me)?Je(Me):window).visualViewport,Ai=!hn()&&le,nr=(st.left+(Ai&&Xn?Xn.offsetLeft:0))/At,Ni=(st.top+(Ai&&Xn?Xn.offsetTop:0))/fn,Os=st.width/At,Fs=st.height/fn;return{width:Os,height:Fs,top:Ni,right:nr+Os,bottom:Ni+Fs,left:nr,x:nr,y:Ni}}function Fn(Me){var Z=yt(Me),le=Me.offsetWidth,st=Me.offsetHeight;return Math.abs(Z.width-le)<=1&&(le=Z.width),Math.abs(Z.height-st)<=1&&(st=Z.height),{x:Me.offsetLeft,y:Me.offsetTop,width:le,height:st}}function xn(Me,Z){var le=Z.getRootNode&&Z.getRootNode();if(Me.contains(Z))return!0;if(le&&pt(le)){var st=Z;do{if(st&&Me.isSameNode(st))return!0;st=st.parentNode||st.host}while(st)}return!1}function In(Me){return Je(Me).getComputedStyle(Me)}function dn(Me){return["table","td","th"].indexOf(Ze(Me))>=0}function qn(Me){return((tt(Me)?Me.ownerDocument:Me.document)||window.document).documentElement}function di(Me){return"html"===Ze(Me)?Me:Me.assignedSlot||Me.parentNode||(pt(Me)?Me.host:null)||qn(Me)}function ir(Me){return Qe(Me)&&"fixed"!==In(Me).position?Me.offsetParent:null}function xi(Me){for(var Z=Je(Me),le=ir(Me);le&&dn(le)&&"static"===In(le).position;)le=ir(le);return le&&("html"===Ze(le)||"body"===Ze(le)&&"static"===In(le).position)?Z:le||function Bn(Me){var Z=/firefox/i.test(vt());if(/Trident/i.test(vt())&&Qe(Me)&&"fixed"===In(Me).position)return null;var At=di(Me);for(pt(At)&&(At=At.host);Qe(At)&&["html","body"].indexOf(Ze(At))<0;){var fn=In(At);if("none"!==fn.transform||"none"!==fn.perspective||"paint"===fn.contain||-1!==["transform","perspective"].indexOf(fn.willChange)||Z&&"filter"===fn.willChange||Z&&fn.filter&&"none"!==fn.filter)return At;At=At.parentNode}return null}(Me)||Z}function fi(Me){return["top","bottom"].indexOf(Me)>=0?"x":"y"}function Mt(Me,Z,le){return Ct(Me,He(Z,le))}function De(Me){return Object.assign({},{top:0,right:0,bottom:0,left:0},Me)}function xe(Me,Z){return Z.reduce(function(le,st){return le[st]=Me,le},{})}const Kn={name:"arrow",enabled:!0,phase:"main",fn:function xt(Me){var Z,le=Me.state,st=Me.name,At=Me.options,fn=le.elements.arrow,Mn=le.modifiersData.popperOffsets,Xn=ot(le.placement),Ai=fi(Xn),Ni=[N,b].indexOf(Xn)>=0?"height":"width";if(fn&&Mn){var Os=function(Z,le){return De("number"!=typeof(Z="function"==typeof Z?Z(Object.assign({},le.rects,{placement:le.placement})):Z)?Z:xe(Z,F))}(At.padding,le),Fs=Fn(fn),ys="y"===Ai?y:N,La="y"===Ai?C:b,qs=le.rects.reference[Ni]+le.rects.reference[Ai]-Mn[Ai]-le.rects.popper[Ni],Lo=Mn[Ai]-le.rects.reference[Ai],eo=xi(fn),ul=eo?"y"===Ai?eo.clientHeight||0:eo.clientWidth||0:0,ca=ul/2-Fs[Ni]/2+(qs/2-Lo/2),dl=Mt(Os[ys],ca,ul-Fs[Ni]-Os[La]);le.modifiersData[st]=((Z={})[Ai]=dl,Z.centerOffset=dl-ca,Z)}},effect:function cn(Me){var Z=Me.state,st=Me.options.element,At=void 0===st?"[data-popper-arrow]":st;null!=At&&("string"==typeof At&&!(At=Z.elements.popper.querySelector(At))||xn(Z.elements.popper,At)&&(Z.elements.arrow=At))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function An(Me){return Me.split("-")[1]}var gs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ki(Me){var Z,le=Me.popper,st=Me.popperRect,At=Me.placement,fn=Me.variation,Mn=Me.offsets,Xn=Me.position,Ai=Me.gpuAcceleration,nr=Me.adaptive,Ni=Me.roundOffsets,Os=Me.isFixed,Fs=Mn.x,ys=void 0===Fs?0:Fs,La=Mn.y,qs=void 0===La?0:La,Lo="function"==typeof Ni?Ni({x:ys,y:qs}):{x:ys,y:qs};ys=Lo.x,qs=Lo.y;var eo=Mn.hasOwnProperty("x"),ul=Mn.hasOwnProperty("y"),kl=N,bo=y,la=window;if(nr){var ca=xi(le),dl="clientHeight",ua="clientWidth";ca===Je(le)&&"static"!==In(ca=qn(le)).position&&"absolute"===Xn&&(dl="scrollHeight",ua="scrollWidth"),(At===y||(At===N||At===b)&&fn===H)&&(bo=C,qs-=(Os&&ca===la&&la.visualViewport?la.visualViewport.height:ca[dl])-st.height,qs*=Ai?1:-1),At!==N&&(At!==y&&At!==C||fn!==H)||(kl=b,ys-=(Os&&ca===la&&la.visualViewport?la.visualViewport.width:ca[ua])-st.width,ys*=Ai?1:-1)}var gc,tc=Object.assign({position:Xn},nr&&gs),Tc=!0===Ni?function Qt(Me,Z){var st=Me.y,At=Z.devicePixelRatio||1;return{x:mt(Me.x*At)/At||0,y:mt(st*At)/At||0}}({x:ys,y:qs},Je(le)):{x:ys,y:qs};return ys=Tc.x,qs=Tc.y,Object.assign({},tc,Ai?((gc={})[bo]=ul?"0":"",gc[kl]=eo?"0":"",gc.transform=(la.devicePixelRatio||1)<=1?"translate("+ys+"px, "+qs+"px)":"translate3d("+ys+"px, "+qs+"px, 0)",gc):((Z={})[bo]=ul?qs+"px":"",Z[kl]=eo?ys+"px":"",Z.transform="",Z))}const Pi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function ta(Me){var Z=Me.state,le=Me.options,st=le.gpuAcceleration,At=void 0===st||st,fn=le.adaptive,Mn=void 0===fn||fn,Xn=le.roundOffsets,Ai=void 0===Xn||Xn,nr={placement:ot(Z.placement),variation:An(Z.placement),popper:Z.elements.popper,popperRect:Z.rects.popper,gpuAcceleration:At,isFixed:"fixed"===Z.options.strategy};null!=Z.modifiersData.popperOffsets&&(Z.styles.popper=Object.assign({},Z.styles.popper,ki(Object.assign({},nr,{offsets:Z.modifiersData.popperOffsets,position:Z.options.strategy,adaptive:Mn,roundOffsets:Ai})))),null!=Z.modifiersData.arrow&&(Z.styles.arrow=Object.assign({},Z.styles.arrow,ki(Object.assign({},nr,{offsets:Z.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Ai})))),Z.attributes.popper=Object.assign({},Z.attributes.popper,{"data-popper-placement":Z.placement})},data:{}};var co={passive:!0};const Dr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Or(Me){var Z=Me.state,le=Me.instance,st=Me.options,At=st.scroll,fn=void 0===At||At,Mn=st.resize,Xn=void 0===Mn||Mn,Ai=Je(Z.elements.popper),nr=[].concat(Z.scrollParents.reference,Z.scrollParents.popper);return fn&&nr.forEach(function(Ni){Ni.addEventListener("scroll",le.update,co)}),Xn&&Ai.addEventListener("resize",le.update,co),function(){fn&&nr.forEach(function(Ni){Ni.removeEventListener("scroll",le.update,co)}),Xn&&Ai.removeEventListener("resize",le.update,co)}},data:{}};var bs={left:"right",right:"left",bottom:"top",top:"bottom"};function Do(Me){return Me.replace(/left|right|bottom|top/g,function(Z){return bs[Z]})}var Ms={start:"end",end:"start"};function Ls(Me){return Me.replace(/start|end/g,function(Z){return Ms[Z]})}function On(Me){var Z=Je(Me);return{scrollLeft:Z.pageXOffset,scrollTop:Z.pageYOffset}}function mr(Me){return yt(qn(Me)).left+On(Me).scrollLeft}function Yt(Me){var Z=In(Me);return/auto|scroll|overlay|hidden/.test(Z.overflow+Z.overflowY+Z.overflowX)}function li(Me){return["html","body","#document"].indexOf(Ze(Me))>=0?Me.ownerDocument.body:Qe(Me)&&Yt(Me)?Me:li(di(Me))}function Qr(Me,Z){var le;void 0===Z&&(Z=[]);var st=li(Me),At=st===(null==(le=Me.ownerDocument)?void 0:le.body),fn=Je(st),Mn=At?[fn].concat(fn.visualViewport||[],Yt(st)?st:[]):st,Xn=Z.concat(Mn);return At?Xn:Xn.concat(Qr(di(Mn)))}function Sr(Me){return Object.assign({},Me,{left:Me.x,top:Me.y,right:Me.x+Me.width,bottom:Me.y+Me.height})}function sn(Me,Z,le){return Z===P?Sr(function Pt(Me,Z){var le=Je(Me),st=qn(Me),At=le.visualViewport,fn=st.clientWidth,Mn=st.clientHeight,Xn=0,Ai=0;if(At){fn=At.width,Mn=At.height;var nr=hn();(nr||!nr&&"fixed"===Z)&&(Xn=At.offsetLeft,Ai=At.offsetTop)}return{width:fn,height:Mn,x:Xn+mr(Me),y:Ai}}(Me,le)):tt(Z)?function Pn(Me,Z){var le=yt(Me,!1,"fixed"===Z);return le.top=le.top+Me.clientTop,le.left=le.left+Me.clientLeft,le.bottom=le.top+Me.clientHeight,le.right=le.left+Me.clientWidth,le.width=Me.clientWidth,le.height=Me.clientHeight,le.x=le.left,le.y=le.top,le}(Z,le):Sr(function ln(Me){var Z,le=qn(Me),st=On(Me),At=null==(Z=Me.ownerDocument)?void 0:Z.body,fn=Ct(le.scrollWidth,le.clientWidth,At?At.scrollWidth:0,At?At.clientWidth:0),Mn=Ct(le.scrollHeight,le.clientHeight,At?At.scrollHeight:0,At?At.clientHeight:0),Xn=-st.scrollLeft+mr(Me),Ai=-st.scrollTop;return"rtl"===In(At||le).direction&&(Xn+=Ct(le.clientWidth,At?At.clientWidth:0)-fn),{width:fn,height:Mn,x:Xn,y:Ai}}(qn(Me)))}function bn(Me){var Ai,Z=Me.reference,le=Me.element,st=Me.placement,At=st?ot(st):null,fn=st?An(st):null,Mn=Z.x+Z.width/2-le.width/2,Xn=Z.y+Z.height/2-le.height/2;switch(At){case y:Ai={x:Mn,y:Z.y-le.height};break;case C:Ai={x:Mn,y:Z.y+Z.height};break;case b:Ai={x:Z.x+Z.width,y:Xn};break;case N:Ai={x:Z.x-le.width,y:Xn};break;default:Ai={x:Z.x,y:Z.y}}var nr=At?fi(At):null;if(null!=nr){var Ni="y"===nr?"height":"width";switch(fn){case x:Ai[nr]=Ai[nr]-(Z[Ni]/2-le[Ni]/2);break;case H:Ai[nr]=Ai[nr]+(Z[Ni]/2-le[Ni]/2)}}return Ai}function mi(Me,Z){void 0===Z&&(Z={});var st=Z.placement,At=void 0===st?Me.placement:st,fn=Z.strategy,Mn=void 0===fn?Me.strategy:fn,Xn=Z.boundary,Ai=void 0===Xn?k:Xn,nr=Z.rootBoundary,Ni=void 0===nr?P:nr,Os=Z.elementContext,Fs=void 0===Os?X:Os,ys=Z.altBoundary,La=void 0!==ys&&ys,qs=Z.padding,Lo=void 0===qs?0:qs,eo=De("number"!=typeof Lo?Lo:xe(Lo,F)),kl=Me.rects.popper,bo=Me.elements[La?Fs===X?me:X:Fs],la=function Bt(Me,Z,le,st){var At="clippingParents"===Z?function Rt(Me){var Z=Qr(di(Me)),st=["absolute","fixed"].indexOf(In(Me).position)>=0&&Qe(Me)?xi(Me):Me;return tt(st)?Z.filter(function(At){return tt(At)&&xn(At,st)&&"body"!==Ze(At)}):[]}(Me):[].concat(Z),fn=[].concat(At,[le]),Xn=fn.reduce(function(Ai,nr){var Ni=sn(Me,nr,st);return Ai.top=Ct(Ni.top,Ai.top),Ai.right=He(Ni.right,Ai.right),Ai.bottom=He(Ni.bottom,Ai.bottom),Ai.left=Ct(Ni.left,Ai.left),Ai},sn(Me,fn[0],st));return Xn.width=Xn.right-Xn.left,Xn.height=Xn.bottom-Xn.top,Xn.x=Xn.left,Xn.y=Xn.top,Xn}(tt(bo)?bo:bo.contextElement||qn(Me.elements.popper),Ai,Ni,Mn),ca=yt(Me.elements.reference),dl=bn({reference:ca,element:kl,strategy:"absolute",placement:At}),ua=Sr(Object.assign({},kl,dl)),ec=Fs===X?ua:ca,Zl={top:la.top-ec.top+eo.top,bottom:ec.bottom-la.bottom+eo.bottom,left:la.left-ec.left+eo.left,right:ec.right-la.right+eo.right},tc=Me.modifiersData.offset;if(Fs===X&&tc){var Tc=tc[At];Object.keys(Zl).forEach(function(gc){var pc=[b,C].indexOf(gc)>=0?1:-1,oc=[y,C].indexOf(gc)>=0?"y":"x";Zl[gc]+=Tc[oc]*pc})}return Zl}const mn={name:"flip",enabled:!0,phase:"main",fn:function Ur(Me){var Z=Me.state,le=Me.options,st=Me.name;if(!Z.modifiersData[st]._skip){for(var At=le.mainAxis,fn=void 0===At||At,Mn=le.altAxis,Xn=void 0===Mn||Mn,Ai=le.fallbackPlacements,nr=le.padding,Ni=le.boundary,Os=le.rootBoundary,Fs=le.altBoundary,ys=le.flipVariations,La=void 0===ys||ys,qs=le.allowedAutoPlacements,Lo=Z.options.placement,eo=ot(Lo),kl=Ai||(eo!==Lo&&La?function Ri(Me){if(ot(Me)===j)return[];var Z=Do(Me);return[Ls(Me),Z,Ls(Z)]}(Lo):[Do(Lo)]),bo=[Lo].concat(kl).reduce(function(Ju,pu){return Ju.concat(ot(pu)===j?function rr(Me,Z){void 0===Z&&(Z={});var At=Z.boundary,fn=Z.rootBoundary,Mn=Z.padding,Xn=Z.flipVariations,Ai=Z.allowedAutoPlacements,nr=void 0===Ai?Se:Ai,Ni=An(Z.placement),Os=Ni?Xn?Oe:Oe.filter(function(La){return An(La)===Ni}):F,Fs=Os.filter(function(La){return nr.indexOf(La)>=0});0===Fs.length&&(Fs=Os);var ys=Fs.reduce(function(La,qs){return La[qs]=mi(Me,{placement:qs,boundary:At,rootBoundary:fn,padding:Mn})[ot(qs)],La},{});return Object.keys(ys).sort(function(La,qs){return ys[La]-ys[qs]})}(Z,{placement:pu,boundary:Ni,rootBoundary:Os,padding:nr,flipVariations:La,allowedAutoPlacements:qs}):pu)},[]),la=Z.rects.reference,ca=Z.rects.popper,dl=new Map,ua=!0,ec=bo[0],Zl=0;Zl=0,oc=pc?"width":"height",mc=mi(Z,{placement:tc,boundary:Ni,rootBoundary:Os,altBoundary:Fs,padding:nr}),Yc=pc?gc?b:N:gc?C:y;la[oc]>ca[oc]&&(Yc=Do(Yc));var Gu=Do(Yc),$u=[];if(fn&&$u.push(mc[Tc]<=0),Xn&&$u.push(mc[Yc]<=0,mc[Gu]<=0),$u.every(function(Ju){return Ju})){ec=tc,ua=!1;break}dl.set(tc,$u)}if(ua)for(var jd=function(pu){var Mu=bo.find(function(_d){var mu=dl.get(_d);if(mu)return mu.slice(0,pu).every(function(pf){return pf})});if(Mu)return ec=Mu,"break"},zd=La?3:1;zd>0&&"break"!==jd(zd);zd--);Z.placement!==ec&&(Z.modifiersData[st]._skip=!0,Z.placement=ec,Z.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Xe(Me,Z,le){return void 0===le&&(le={x:0,y:0}),{top:Me.top-Z.height-le.y,right:Me.right-Z.width+le.x,bottom:Me.bottom-Z.height+le.y,left:Me.left-Z.width-le.x}}function ke(Me){return[y,b,C,N].some(function(Z){return Me[Z]>=0})}const Ae={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function ge(Me){var Z=Me.state,le=Me.name,st=Z.rects.reference,At=Z.rects.popper,fn=Z.modifiersData.preventOverflow,Mn=mi(Z,{elementContext:"reference"}),Xn=mi(Z,{altBoundary:!0}),Ai=Xe(Mn,st),nr=Xe(Xn,At,fn),Ni=ke(Ai),Os=ke(nr);Z.modifiersData[le]={referenceClippingOffsets:Ai,popperEscapeOffsets:nr,isReferenceHidden:Ni,hasPopperEscaped:Os},Z.attributes.popper=Object.assign({},Z.attributes.popper,{"data-popper-reference-hidden":Ni,"data-popper-escaped":Os})}},Kt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Ht(Me){var Z=Me.state,st=Me.name,At=Me.options.offset,fn=void 0===At?[0,0]:At,Mn=Se.reduce(function(Ni,Os){return Ni[Os]=function it(Me,Z,le){var st=ot(Me),At=[N,y].indexOf(st)>=0?-1:1,fn="function"==typeof le?le(Object.assign({},Z,{placement:Me})):le,Mn=fn[0],Xn=fn[1];return Mn=Mn||0,Xn=(Xn||0)*At,[N,b].indexOf(st)>=0?{x:Xn,y:Mn}:{x:Mn,y:Xn}}(Os,Z.rects,fn),Ni},{}),Xn=Mn[Z.placement],nr=Xn.y;null!=Z.modifiersData.popperOffsets&&(Z.modifiersData.popperOffsets.x+=Xn.x,Z.modifiersData.popperOffsets.y+=nr),Z.modifiersData[st]=Mn}},Tn={name:"popperOffsets",enabled:!0,phase:"read",fn:function yn(Me){var Z=Me.state;Z.modifiersData[Me.name]=bn({reference:Z.rects.reference,element:Z.rects.popper,strategy:"absolute",placement:Z.placement})},data:{}},Ti={name:"preventOverflow",enabled:!0,phase:"main",fn:function nn(Me){var Z=Me.state,le=Me.options,st=Me.name,At=le.mainAxis,fn=void 0===At||At,Mn=le.altAxis,Xn=void 0!==Mn&&Mn,Fs=le.tether,ys=void 0===Fs||Fs,La=le.tetherOffset,qs=void 0===La?0:La,Lo=mi(Z,{boundary:le.boundary,rootBoundary:le.rootBoundary,padding:le.padding,altBoundary:le.altBoundary}),eo=ot(Z.placement),ul=An(Z.placement),kl=!ul,bo=fi(eo),la=function pi(Me){return"x"===Me?"y":"x"}(bo),ca=Z.modifiersData.popperOffsets,dl=Z.rects.reference,ua=Z.rects.popper,ec="function"==typeof qs?qs(Object.assign({},Z.rects,{placement:Z.placement})):qs,Zl="number"==typeof ec?{mainAxis:ec,altAxis:ec}:Object.assign({mainAxis:0,altAxis:0},ec),tc=Z.modifiersData.offset?Z.modifiersData.offset[Z.placement]:null,Tc={x:0,y:0};if(ca){if(fn){var gc,pc="y"===bo?y:N,oc="y"===bo?C:b,mc="y"===bo?"height":"width",Yc=ca[bo],Gu=Yc+Lo[pc],$u=Yc-Lo[oc],bh=ys?-ua[mc]/2:0,jd=ul===x?dl[mc]:ua[mc],zd=ul===x?-ua[mc]:-dl[mc],Ku=Z.elements.arrow,Ju=ys&&Ku?Fn(Ku):{width:0,height:0},pu=Z.modifiersData["arrow#persistent"]?Z.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Mu=pu[pc],_d=pu[oc],mu=Mt(0,dl[mc],Ju[mc]),pf=kl?dl[mc]/2-bh-mu-Mu-Zl.mainAxis:jd-mu-Mu-Zl.mainAxis,hg=kl?-dl[mc]/2+bh+mu+_d+Zl.mainAxis:zd+mu+_d+Zl.mainAxis,Vd=Z.elements.arrow&&xi(Z.elements.arrow),Cd=Vd?"y"===bo?Vd.clientTop||0:Vd.clientLeft||0:0,Du=null!=(gc=tc?.[bo])?gc:0,Wd=Yc+hg-Du,_f=Mt(ys?He(Gu,Yc+pf-Du-Cd):Gu,Yc,ys?Ct($u,Wd):$u);ca[bo]=_f,Tc[bo]=_f-Yc}if(Xn){var gp,Vc=ca[la],uu="y"===la?"height":"width",Xu=Vc+Lo["x"===bo?y:N],vd=Vc-Lo["x"===bo?C:b],Ad=-1!==[y,N].indexOf(eo),Wc=null!=(gp=tc?.[la])?gp:0,Id=Ad?Xu:Vc-dl[uu]-ua[uu]-Wc+Zl.altAxis,Zd=Ad?Vc+dl[uu]+ua[uu]-Wc-Zl.altAxis:vd,du=ys&&Ad?function Ot(Me,Z,le){var st=Mt(Me,Z,le);return st>le?le:st}(Id,Vc,Zd):Mt(ys?Id:Xu,Vc,ys?Zd:vd);ca[la]=du,Tc[la]=du-Vc}Z.modifiersData[st]=Tc}},requiresIfExists:["offset"]};function wr(Me,Z,le){void 0===le&&(le=!1);var st=Qe(Z),At=Qe(Z)&&function ss(Me){var Z=Me.getBoundingClientRect(),le=mt(Z.width)/Me.offsetWidth||1,st=mt(Z.height)/Me.offsetHeight||1;return 1!==le||1!==st}(Z),fn=qn(Z),Mn=yt(Me,At,le),Xn={scrollLeft:0,scrollTop:0},Ai={x:0,y:0};return(st||!st&&!le)&&(("body"!==Ze(Z)||Yt(fn))&&(Xn=function Hr(Me){return Me!==Je(Me)&&Qe(Me)?function yi(Me){return{scrollLeft:Me.scrollLeft,scrollTop:Me.scrollTop}}(Me):On(Me)}(Z)),Qe(Z)?((Ai=yt(Z,!0)).x+=Z.clientLeft,Ai.y+=Z.clientTop):fn&&(Ai.x=mr(fn))),{x:Mn.left+Xn.scrollLeft-Ai.x,y:Mn.top+Xn.scrollTop-Ai.y,width:Mn.width,height:Mn.height}}function Ki(Me){var Z=new Map,le=new Set,st=[];function At(fn){le.add(fn.name),[].concat(fn.requires||[],fn.requiresIfExists||[]).forEach(function(Xn){if(!le.has(Xn)){var Ai=Z.get(Xn);Ai&&At(Ai)}}),st.push(fn)}return Me.forEach(function(fn){Z.set(fn.name,fn)}),Me.forEach(function(fn){le.has(fn.name)||At(fn)}),st}function jr(Me){var Z;return function(){return Z||(Z=new Promise(function(le){Promise.resolve().then(function(){Z=void 0,le(Me())})})),Z}}var Co={placement:"bottom",modifiers:[],strategy:"absolute"};function ns(){for(var Me=arguments.length,Z=new Array(Me),le=0;lePs.has(Me)&&Ps.get(Me).get(Z)||null,remove(Me,Z){if(!Ps.has(Me))return;const le=Ps.get(Me);le.delete(Z),0===le.size&&Ps.delete(Me)}},dt="transitionend",Tt=Me=>(Me&&window.CSS&&window.CSS.escape&&(Me=Me.replace(/#([^\s"#']+)/g,(Z,le)=>`#${CSS.escape(le)}`)),Me),Gi=Me=>{Me.dispatchEvent(new Event(dt))},_r=Me=>!(!Me||"object"!=typeof Me)&&(typeof Me.jquery<"u"&&(Me=Me[0]),typeof Me.nodeType<"u"),us=Me=>_r(Me)?Me.jquery?Me[0]:Me:"string"==typeof Me&&Me.length>0?document.querySelector(Tt(Me)):null,So=Me=>{if(!_r(Me)||0===Me.getClientRects().length)return!1;const Z="visible"===getComputedStyle(Me).getPropertyValue("visibility"),le=Me.closest("details:not([open])");if(!le)return Z;if(le!==Me){const st=Me.closest("summary");if(st&&st.parentNode!==le||null===st)return!1}return Z},Fo=Me=>!(Me&&Me.nodeType===Node.ELEMENT_NODE&&!Me.classList.contains("disabled"))||(typeof Me.disabled<"u"?Me.disabled:Me.hasAttribute("disabled")&&"false"!==Me.getAttribute("disabled")),Ks=Me=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof Me.getRootNode){const Z=Me.getRootNode();return Z instanceof ShadowRoot?Z:null}return Me instanceof ShadowRoot?Me:Me.parentNode?Ks(Me.parentNode):null},na=()=>{},ko=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,da=[],er=()=>"rtl"===document.documentElement.dir,Cr=Me=>{(Me=>{"loading"===document.readyState?(da.length||document.addEventListener("DOMContentLoaded",()=>{for(const Z of da)Z()}),da.push(Me)):Me()})(()=>{const Z=ko();if(Z){const le=Me.NAME,st=Z.fn[le];Z.fn[le]=Me.jQueryInterface,Z.fn[le].Constructor=Me,Z.fn[le].noConflict=()=>(Z.fn[le]=st,Me.jQueryInterface)}})},Ss=(Me,Z=[],le=Me)=>"function"==typeof Me?Me(...Z):le,br=(Me,Z,le=!0)=>{if(!le)return void Ss(Me);const At=(Me=>{if(!Me)return 0;let{transitionDuration:Z,transitionDelay:le}=window.getComputedStyle(Me);const st=Number.parseFloat(Z),At=Number.parseFloat(le);return st||At?(Z=Z.split(",")[0],le=le.split(",")[0],1e3*(Number.parseFloat(Z)+Number.parseFloat(le))):0})(Z)+5;let fn=!1;const Mn=({target:Xn})=>{Xn===Z&&(fn=!0,Z.removeEventListener(dt,Mn),Ss(Me))};Z.addEventListener(dt,Mn),setTimeout(()=>{fn||Gi(Z)},At)},ds=(Me,Z,le,st)=>{const At=Me.length;let fn=Me.indexOf(Z);return-1===fn?!le&&st?Me[At-1]:Me[0]:(fn+=le?1:-1,st&&(fn=(fn+At)%At),Me[Math.max(0,Math.min(fn,At-1))])},Yo=/[^.]*(?=\..*)\.|.*/,gl=/\..*/,ha=/::\d+$/,as={};let Na=1;const Ma={mouseenter:"mouseover",mouseleave:"mouseout"},Fi=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function _i(Me,Z){return Z&&`${Z}::${Na++}`||Me.uidEvent||Na++}function dr(Me){const Z=_i(Me);return Me.uidEvent=Z,as[Z]=as[Z]||{},as[Z]}function Ho(Me,Z,le=null){return Object.values(Me).find(st=>st.callable===Z&&st.delegationSelector===le)}function no(Me,Z,le){const st="string"==typeof Z,At=st?le:Z||le;let fn=Ko(Me);return Fi.has(fn)||(fn=Me),[st,At,fn]}function Vr(Me,Z,le,st,At){if("string"!=typeof Z||!Me)return;let[fn,Mn,Xn]=no(Z,le,st);var La;Z in Ma&&(La=Mn,Mn=function(qs){if(!qs.relatedTarget||qs.relatedTarget!==qs.delegateTarget&&!qs.delegateTarget.contains(qs.relatedTarget))return La.call(this,qs)});const Ai=dr(Me),nr=Ai[Xn]||(Ai[Xn]={}),Ni=Ho(nr,Mn,fn?le:null);if(Ni)return void(Ni.oneOff=Ni.oneOff&&At);const Os=_i(Mn,Z.replace(Yo,"")),Fs=fn?function Fr(Me,Z,le){return function st(At){const fn=Me.querySelectorAll(Z);for(let{target:Mn}=At;Mn&&Mn!==this;Mn=Mn.parentNode)for(const Xn of fn)if(Xn===Mn)return Mo(At,{delegateTarget:Mn}),st.oneOff&&Rn.off(Me,At.type,Z,le),le.apply(Mn,[At])}}(Me,le,Mn):function $r(Me,Z){return function le(st){return Mo(st,{delegateTarget:Me}),le.oneOff&&Rn.off(Me,st.type,Z),Z.apply(Me,[st])}}(Me,Mn);Fs.delegationSelector=fn?le:null,Fs.callable=Mn,Fs.oneOff=At,Fs.uidEvent=Os,nr[Os]=Fs,Me.addEventListener(Xn,Fs,fn)}function os(Me,Z,le,st,At){const fn=Ho(Z[le],st,At);fn&&(Me.removeEventListener(le,fn,!!At),delete Z[le][fn.uidEvent])}function $o(Me,Z,le,st){const At=Z[le]||{};for(const[fn,Mn]of Object.entries(At))fn.includes(st)&&os(Me,Z,le,Mn.callable,Mn.delegationSelector)}function Ko(Me){return Me=Me.replace(gl,""),Ma[Me]||Me}const Rn={on(Me,Z,le,st){Vr(Me,Z,le,st,!1)},one(Me,Z,le,st){Vr(Me,Z,le,st,!0)},off(Me,Z,le,st){if("string"!=typeof Z||!Me)return;const[At,fn,Mn]=no(Z,le,st),Xn=Mn!==Z,Ai=dr(Me),nr=Ai[Mn]||{},Ni=Z.startsWith(".");if(typeof fn<"u"){if(!Object.keys(nr).length)return;os(Me,Ai,Mn,fn,At?le:null)}else{if(Ni)for(const Os of Object.keys(Ai))$o(Me,Ai,Os,Z.slice(1));for(const[Os,Fs]of Object.entries(nr)){const ys=Os.replace(ha,"");(!Xn||Z.includes(ys))&&os(Me,Ai,Mn,Fs.callable,Fs.delegationSelector)}}},trigger(Me,Z,le){if("string"!=typeof Z||!Me)return null;const st=ko();let Mn=null,Xn=!0,Ai=!0,nr=!1;Z!==Ko(Z)&&st&&(Mn=st.Event(Z,le),st(Me).trigger(Mn),Xn=!Mn.isPropagationStopped(),Ai=!Mn.isImmediatePropagationStopped(),nr=Mn.isDefaultPrevented());const Ni=Mo(new Event(Z,{bubbles:Xn,cancelable:!0}),le);return nr&&Ni.preventDefault(),Ai&&Me.dispatchEvent(Ni),Ni.defaultPrevented&&Mn&&Mn.preventDefault(),Ni}};function Mo(Me,Z={}){for(const[le,st]of Object.entries(Z))try{Me[le]=st}catch{Object.defineProperty(Me,le,{configurable:!0,get:()=>st})}return Me}function Aa(Me){if("true"===Me)return!0;if("false"===Me)return!1;if(Me===Number(Me).toString())return Number(Me);if(""===Me||"null"===Me)return null;if("string"!=typeof Me)return Me;try{return JSON.parse(decodeURIComponent(Me))}catch{return Me}}function Xr(Me){return Me.replace(/[A-Z]/g,Z=>`-${Z.toLowerCase()}`)}const gr={setDataAttribute(Me,Z,le){Me.setAttribute(`data-bs-${Xr(Z)}`,le)},removeDataAttribute(Me,Z){Me.removeAttribute(`data-bs-${Xr(Z)}`)},getDataAttributes(Me){if(!Me)return{};const Z={},le=Object.keys(Me.dataset).filter(st=>st.startsWith("bs")&&!st.startsWith("bsConfig"));for(const st of le){let At=st.replace(/^bs/,"");At=At.charAt(0).toLowerCase()+At.slice(1,At.length),Z[At]=Aa(Me.dataset[st])}return Z},getDataAttribute:(Me,Z)=>Aa(Me.getAttribute(`data-bs-${Xr(Z)}`))};class Us{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(Z){return Z=this._mergeConfigObj(Z),Z=this._configAfterMerge(Z),this._typeCheckConfig(Z),Z}_configAfterMerge(Z){return Z}_mergeConfigObj(Z,le){const st=_r(le)?gr.getDataAttribute(le,"config"):{};return{...this.constructor.Default,..."object"==typeof st?st:{},..._r(le)?gr.getDataAttributes(le):{},..."object"==typeof Z?Z:{}}}_typeCheckConfig(Z,le=this.constructor.DefaultType){for(const[st,At]of Object.entries(le)){const fn=Z[st],Mn=_r(fn)?"element":null==(Me=fn)?`${Me}`:Object.prototype.toString.call(Me).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(At).test(Mn))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${st}" provided type "${Mn}" but expected type "${At}".`)}var Me}}class Mr extends Us{constructor(Z,le){super(),(Z=us(Z))&&(this._element=Z,this._config=this._getConfig(le),Ds.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ds.remove(this._element,this.constructor.DATA_KEY),Rn.off(this._element,this.constructor.EVENT_KEY);for(const Z of Object.getOwnPropertyNames(this))this[Z]=null}_queueCallback(Z,le,st=!0){br(Z,le,st)}_getConfig(Z){return Z=this._mergeConfigObj(Z,this._element),Z=this._configAfterMerge(Z),this._typeCheckConfig(Z),Z}static getInstance(Z){return Ds.get(us(Z),this.DATA_KEY)}static getOrCreateInstance(Z,le={}){return this.getInstance(Z)||new this(Z,"object"==typeof le?le:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(Z){return`${Z}${this.EVENT_KEY}`}}const Zr=Me=>{let Z=Me.getAttribute("data-bs-target");if(!Z||"#"===Z){let le=Me.getAttribute("href");if(!le||!le.includes("#")&&!le.startsWith("."))return null;le.includes("#")&&!le.startsWith("#")&&(le=`#${le.split("#")[1]}`),Z=le&&"#"!==le?le.trim():null}return Z?Z.split(",").map(le=>Tt(le)).join(","):null},Ji={find:(Me,Z=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(Z,Me)),findOne:(Me,Z=document.documentElement)=>Element.prototype.querySelector.call(Z,Me),children:(Me,Z)=>[].concat(...Me.children).filter(le=>le.matches(Z)),parents(Me,Z){const le=[];let st=Me.parentNode.closest(Z);for(;st;)le.push(st),st=st.parentNode.closest(Z);return le},prev(Me,Z){let le=Me.previousElementSibling;for(;le;){if(le.matches(Z))return[le];le=le.previousElementSibling}return[]},next(Me,Z){let le=Me.nextElementSibling;for(;le;){if(le.matches(Z))return[le];le=le.nextElementSibling}return[]},focusableChildren(Me){const Z=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(le=>`${le}:not([tabindex^="-"])`).join(",");return this.find(Z,Me).filter(le=>!Fo(le)&&So(le))},getSelectorFromElement(Me){const Z=Zr(Me);return Z&&Ji.findOne(Z)?Z:null},getElementFromSelector(Me){const Z=Zr(Me);return Z?Ji.findOne(Z):null},getMultipleElementsFromSelector(Me){const Z=Zr(Me);return Z?Ji.find(Z):[]}},uo=(Me,Z="hide")=>{const st=Me.NAME;Rn.on(document,`click.dismiss${Me.EVENT_KEY}`,`[data-bs-dismiss="${st}"]`,function(At){if(["A","AREA"].includes(this.tagName)&&At.preventDefault(),Fo(this))return;const fn=Ji.getElementFromSelector(this)||this.closest(`.${st}`);Me.getOrCreateInstance(fn)[Z]()})},Ia=".bs.alert",xr=`close${Ia}`,fa=`closed${Ia}`;class io extends Mr{static get NAME(){return"alert"}close(){if(Rn.trigger(this._element,xr).defaultPrevented)return;this._element.classList.remove("show");const le=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,le)}_destroyElement(){this._element.remove(),Rn.trigger(this._element,fa),this.dispose()}static jQueryInterface(Z){return this.each(function(){const le=io.getOrCreateInstance(this);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z](this)}})}}uo(io,"close"),Cr(io);const Lr='[data-bs-toggle="button"]';class Hs extends Mr{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(Z){return this.each(function(){const le=Hs.getOrCreateInstance(this);"toggle"===Z&&le[Z]()})}}Rn.on(document,"click.bs.button.data-api",Lr,Me=>{Me.preventDefault();const Z=Me.target.closest(Lr);Hs.getOrCreateInstance(Z).toggle()}),Cr(Hs);const Za=".bs.swipe",jo=`touchstart${Za}`,Sa=`touchmove${Za}`,nl=`touchend${Za}`,ia=`pointerdown${Za}`,lc=`pointerup${Za}`,il={endCallback:null,leftCallback:null,rightCallback:null},As={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class _l extends Us{constructor(Z,le){super(),this._element=Z,Z&&_l.isSupported()&&(this._config=this._getConfig(le),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return il}static get DefaultType(){return As}static get NAME(){return"swipe"}dispose(){Rn.off(this._element,Za)}_start(Z){this._supportPointerEvents?this._eventIsPointerPenTouch(Z)&&(this._deltaX=Z.clientX):this._deltaX=Z.touches[0].clientX}_end(Z){this._eventIsPointerPenTouch(Z)&&(this._deltaX=Z.clientX-this._deltaX),this._handleSwipe(),Ss(this._config.endCallback)}_move(Z){this._deltaX=Z.touches&&Z.touches.length>1?0:Z.touches[0].clientX-this._deltaX}_handleSwipe(){const Z=Math.abs(this._deltaX);if(Z<=40)return;const le=Z/this._deltaX;this._deltaX=0,le&&Ss(le>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Rn.on(this._element,ia,Z=>this._start(Z)),Rn.on(this._element,lc,Z=>this._end(Z)),this._element.classList.add("pointer-event")):(Rn.on(this._element,jo,Z=>this._start(Z)),Rn.on(this._element,Sa,Z=>this._move(Z)),Rn.on(this._element,nl,Z=>this._end(Z)))}_eventIsPointerPenTouch(Z){return this._supportPointerEvents&&("pen"===Z.pointerType||"touch"===Z.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ze=".bs.carousel",Ce=".data-api",lr="next",ro="prev",Xs="left",Jo="right",Qo=`slide${ze}`,ga=`slid${ze}`,Ts=`keydown${ze}`,rl=`mouseenter${ze}`,kc=`mouseleave${ze}`,Cs=`dragstart${ze}`,Rl=`load${ze}${Ce}`,pa=`click${ze}${Ce}`,ba="carousel",Jl="active",ra=".active",ai=".carousel-item",Nl=ra+ai,Ao={ArrowLeft:Jo,ArrowRight:Xs},Lc={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ol={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Xo extends Mr{constructor(Z,le){super(Z,le),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ji.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ba&&this.cycle()}static get Default(){return Lc}static get DefaultType(){return ol}static get NAME(){return"carousel"}next(){this._slide(lr)}nextWhenVisible(){!document.hidden&&So(this._element)&&this.next()}prev(){this._slide(ro)}pause(){this._isSliding&&Gi(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding)return void Rn.one(this._element,ga,()=>this.cycle());this.cycle()}}to(Z){const le=this._getItems();if(Z>le.length-1||Z<0)return;if(this._isSliding)return void Rn.one(this._element,ga,()=>this.to(Z));const st=this._getItemIndex(this._getActive());st!==Z&&this._slide(Z>st?lr:ro,le[Z])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(Z){return Z.defaultInterval=Z.interval,Z}_addEventListeners(){this._config.keyboard&&Rn.on(this._element,Ts,Z=>this._keydown(Z)),"hover"===this._config.pause&&(Rn.on(this._element,rl,()=>this.pause()),Rn.on(this._element,kc,()=>this._maybeEnableCycle())),this._config.touch&&_l.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const st of Ji.find(".carousel-item img",this._element))Rn.on(st,Cs,At=>At.preventDefault());this._swipeHelper=new _l(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Xs)),rightCallback:()=>this._slide(this._directionToOrder(Jo)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(Z){if(/input|textarea/i.test(Z.target.tagName))return;const le=Ao[Z.key];le&&(Z.preventDefault(),this._slide(this._directionToOrder(le)))}_getItemIndex(Z){return this._getItems().indexOf(Z)}_setActiveIndicatorElement(Z){if(!this._indicatorsElement)return;const le=Ji.findOne(ra,this._indicatorsElement);le.classList.remove(Jl),le.removeAttribute("aria-current");const st=Ji.findOne(`[data-bs-slide-to="${Z}"]`,this._indicatorsElement);st&&(st.classList.add(Jl),st.setAttribute("aria-current","true"))}_updateInterval(){const Z=this._activeElement||this._getActive();if(!Z)return;const le=Number.parseInt(Z.getAttribute("data-bs-interval"),10);this._config.interval=le||this._config.defaultInterval}_slide(Z,le=null){if(this._isSliding)return;const st=this._getActive(),At=Z===lr,fn=le||ds(this._getItems(),st,At,this._config.wrap);if(fn===st)return;const Mn=this._getItemIndex(fn),Xn=ys=>Rn.trigger(this._element,ys,{relatedTarget:fn,direction:this._orderToDirection(Z),from:this._getItemIndex(st),to:Mn});if(Xn(Qo).defaultPrevented||!st||!fn)return;const nr=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Mn),this._activeElement=fn;const Ni=At?"carousel-item-start":"carousel-item-end",Os=At?"carousel-item-next":"carousel-item-prev";fn.classList.add(Os),st.classList.add(Ni),fn.classList.add(Ni),this._queueCallback(()=>{fn.classList.remove(Ni,Os),fn.classList.add(Jl),st.classList.remove(Jl,Os,Ni),this._isSliding=!1,Xn(ga)},st,this._isAnimated()),nr&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Ji.findOne(Nl,this._element)}_getItems(){return Ji.find(ai,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(Z){return er()?Z===Xs?ro:lr:Z===Xs?lr:ro}_orderToDirection(Z){return er()?Z===ro?Xs:Jo:Z===ro?Jo:Xs}static jQueryInterface(Z){return this.each(function(){const le=Xo.getOrCreateInstance(this,Z);if("number"!=typeof Z){if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z]()}}else le.to(Z)})}}Rn.on(document,pa,"[data-bs-slide], [data-bs-slide-to]",function(Me){const Z=Ji.getElementFromSelector(this);if(!Z||!Z.classList.contains(ba))return;Me.preventDefault();const le=Xo.getOrCreateInstance(Z),st=this.getAttribute("data-bs-slide-to");return st?(le.to(st),void le._maybeEnableCycle()):"next"===gr.getDataAttribute(this,"slide")?(le.next(),void le._maybeEnableCycle()):(le.prev(),void le._maybeEnableCycle())}),Rn.on(window,Rl,()=>{const Me=Ji.find('[data-bs-ride="carousel"]');for(const Z of Me)Xo.getOrCreateInstance(Z)}),Cr(Xo);const al=".bs.collapse",Io=`show${al}`,hr=`shown${al}`,zo=`hide${al}`,Wr=`hidden${al}`,is=`click${al}.data-api`,Ql="show",re="collapse",qe="collapsing",We=`:scope .${re} .${re}`,ps='[data-bs-toggle="collapse"]',qr={parent:null,toggle:!0},ls={parent:"(null|element)",toggle:"boolean"};class zr extends Mr{constructor(Z,le){super(Z,le),this._isTransitioning=!1,this._triggerArray=[];const st=Ji.find(ps);for(const At of st){const fn=Ji.getSelectorFromElement(At),Mn=Ji.find(fn).filter(Xn=>Xn===this._element);null!==fn&&Mn.length&&this._triggerArray.push(At)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return qr}static get DefaultType(){return ls}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let Z=[];if(this._config.parent&&(Z=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(Xn=>Xn!==this._element).map(Xn=>zr.getOrCreateInstance(Xn,{toggle:!1}))),Z.length&&Z[0]._isTransitioning||Rn.trigger(this._element,Io).defaultPrevented)return;for(const Xn of Z)Xn.hide();const st=this._getDimension();this._element.classList.remove(re),this._element.classList.add(qe),this._element.style[st]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const Mn=`scroll${st[0].toUpperCase()+st.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(qe),this._element.classList.add(re,Ql),this._element.style[st]="",Rn.trigger(this._element,hr)},this._element,!0),this._element.style[st]=`${this._element[Mn]}px`}hide(){if(this._isTransitioning||!this._isShown()||Rn.trigger(this._element,zo).defaultPrevented)return;const le=this._getDimension();this._element.style[le]=`${this._element.getBoundingClientRect()[le]}px`,this._element.classList.add(qe),this._element.classList.remove(re,Ql);for(const At of this._triggerArray){const fn=Ji.getElementFromSelector(At);fn&&!this._isShown(fn)&&this._addAriaAndCollapsedClass([At],!1)}this._isTransitioning=!0,this._element.style[le]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(qe),this._element.classList.add(re),Rn.trigger(this._element,Wr)},this._element,!0)}_isShown(Z=this._element){return Z.classList.contains(Ql)}_configAfterMerge(Z){return Z.toggle=!!Z.toggle,Z.parent=us(Z.parent),Z}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const Z=this._getFirstLevelChildren(ps);for(const le of Z){const st=Ji.getElementFromSelector(le);st&&this._addAriaAndCollapsedClass([le],this._isShown(st))}}_getFirstLevelChildren(Z){const le=Ji.find(We,this._config.parent);return Ji.find(Z,this._config.parent).filter(st=>!le.includes(st))}_addAriaAndCollapsedClass(Z,le){if(Z.length)for(const st of Z)st.classList.toggle("collapsed",!le),st.setAttribute("aria-expanded",le)}static jQueryInterface(Z){const le={};return"string"==typeof Z&&/show|hide/.test(Z)&&(le.toggle=!1),this.each(function(){const st=zr.getOrCreateInstance(this,le);if("string"==typeof Z){if(typeof st[Z]>"u")throw new TypeError(`No method named "${Z}"`);st[Z]()}})}}Rn.on(document,is,ps,function(Me){("A"===Me.target.tagName||Me.delegateTarget&&"A"===Me.delegateTarget.tagName)&&Me.preventDefault();for(const Z of Ji.getMultipleElementsFromSelector(this))zr.getOrCreateInstance(Z,{toggle:!1}).toggle()}),Cr(zr);const Ws="dropdown",rs=".bs.dropdown",ea=".data-api",Ya="ArrowUp",$a="ArrowDown",za=`hide${rs}`,Uc=`hidden${rs}`,Es=`show${rs}`,Vl=`shown${rs}`,Ka=`click${rs}${ea}`,go=`keydown${rs}${ea}`,Fl=`keyup${rs}${ea}`,Ba="show",_a='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',cc=`${_a}.${Ba}`,Hc=".dropdown-menu",Yl=er()?"top-end":"top-start",cr=er()?"top-start":"top-end",Tl=er()?"bottom-end":"bottom-start",Bl=er()?"bottom-start":"bottom-end",Ac=er()?"left-start":"right-start",au=er()?"right-start":"left-start",El={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gc={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ja extends Mr{constructor(Z,le){super(Z,le),this._popper=null,this._parent=this._element.parentNode,this._menu=Ji.next(this._element,Hc)[0]||Ji.prev(this._element,Hc)[0]||Ji.findOne(Hc,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return El}static get DefaultType(){return Gc}static get NAME(){return Ws}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fo(this._element)||this._isShown())return;const Z={relatedTarget:this._element};if(!Rn.trigger(this._element,Es,Z).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const st of[].concat(...document.body.children))Rn.on(st,"mouseover",na);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ba),this._element.classList.add(Ba),Rn.trigger(this._element,Vl,Z)}}hide(){!Fo(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(Z){if(!Rn.trigger(this._element,za,Z).defaultPrevented){if("ontouchstart"in document.documentElement)for(const st of[].concat(...document.body.children))Rn.off(st,"mouseover",na);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ba),this._element.classList.remove(Ba),this._element.setAttribute("aria-expanded","false"),gr.removeDataAttribute(this._menu,"popper"),Rn.trigger(this._element,Uc,Z)}}_getConfig(Z){if("object"==typeof(Z=super._getConfig(Z)).reference&&!_r(Z.reference)&&"function"!=typeof Z.reference.getBoundingClientRect)throw new TypeError(`${Ws.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return Z}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let Z=this._element;"parent"===this._config.reference?Z=this._parent:_r(this._config.reference)?Z=us(this._config.reference):"object"==typeof this._config.reference&&(Z=this._config.reference);const le=this._getPopperConfig();this._popper=Eo(Z,this._menu,le)}_isShown(){return this._menu.classList.contains(Ba)}_getPlacement(){const Z=this._parent;if(Z.classList.contains("dropend"))return Ac;if(Z.classList.contains("dropstart"))return au;if(Z.classList.contains("dropup-center"))return"top";if(Z.classList.contains("dropdown-center"))return"bottom";const le="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return Z.classList.contains("dropup")?le?cr:Yl:le?Bl:Tl}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:Z}=this._config;return"string"==typeof Z?Z.split(",").map(le=>Number.parseInt(le,10)):"function"==typeof Z?le=>Z(le,this._element):Z}_getPopperConfig(){const Z={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(gr.setDataAttribute(this._menu,"popper","static"),Z.modifiers=[{name:"applyStyles",enabled:!1}]),{...Z,...Ss(this._config.popperConfig,[Z])}}_selectMenuItem({key:Z,target:le}){const st=Ji.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(At=>So(At));st.length&&ds(st,le,Z===$a,!st.includes(le)).focus()}static jQueryInterface(Z){return this.each(function(){const le=Ja.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z]()}})}static clearMenus(Z){if(2===Z.button||"keyup"===Z.type&&"Tab"!==Z.key)return;const le=Ji.find(cc);for(const st of le){const At=Ja.getInstance(st);if(!At||!1===At._config.autoClose)continue;const fn=Z.composedPath(),Mn=fn.includes(At._menu);if(fn.includes(At._element)||"inside"===At._config.autoClose&&!Mn||"outside"===At._config.autoClose&&Mn||At._menu.contains(Z.target)&&("keyup"===Z.type&&"Tab"===Z.key||/input|select|option|textarea|form/i.test(Z.target.tagName)))continue;const Xn={relatedTarget:At._element};"click"===Z.type&&(Xn.clickEvent=Z),At._completeHide(Xn)}}static dataApiKeydownHandler(Z){const le=/input|textarea/i.test(Z.target.tagName),st="Escape"===Z.key,At=[Ya,$a].includes(Z.key);if(!At&&!st||le&&!st)return;Z.preventDefault();const fn=this.matches(_a)?this:Ji.prev(this,_a)[0]||Ji.next(this,_a)[0]||Ji.findOne(_a,Z.delegateTarget.parentNode),Mn=Ja.getOrCreateInstance(fn);if(At)return Z.stopPropagation(),Mn.show(),void Mn._selectMenuItem(Z);Mn._isShown()&&(Z.stopPropagation(),Mn.hide(),fn.focus())}}Rn.on(document,go,_a,Ja.dataApiKeydownHandler),Rn.on(document,go,Hc,Ja.dataApiKeydownHandler),Rn.on(document,Ka,Ja.clearMenus),Rn.on(document,Fl,Ja.clearMenus),Rn.on(document,Ka,_a,function(Me){Me.preventDefault(),Ja.getOrCreateInstance(this).toggle()}),Cr(Ja);const rc="backdrop",ii=`mousedown.bs.${rc}`,es={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ic={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ul extends Us{constructor(Z){super(),this._config=this._getConfig(Z),this._isAppended=!1,this._element=null}static get Default(){return es}static get DefaultType(){return Ic}static get NAME(){return rc}show(Z){if(!this._config.isVisible)return void Ss(Z);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{Ss(Z)})}hide(Z){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),Ss(Z)})):Ss(Z)}dispose(){this._isAppended&&(Rn.off(this._element,ii),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const Z=document.createElement("div");Z.className=this._config.className,this._config.isAnimated&&Z.classList.add("fade"),this._element=Z}return this._element}_configAfterMerge(Z){return Z.rootElement=us(Z.rootElement),Z}_append(){if(this._isAppended)return;const Z=this._getElement();this._config.rootElement.append(Z),Rn.on(Z,ii,()=>{Ss(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(Z){br(Z,this._getElement(),this._config.isAnimated)}}const Al=".bs.focustrap",Oa=`focusin${Al}`,Ea=`keydown.tab${Al}`,Nc="backward",Fc={autofocus:!0,trapElement:null},sa={autofocus:"boolean",trapElement:"element"};class Qa extends Us{constructor(Z){super(),this._config=this._getConfig(Z),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Fc}static get DefaultType(){return sa}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Rn.off(document,Al),Rn.on(document,Oa,Z=>this._handleFocusin(Z)),Rn.on(document,Ea,Z=>this._handleKeydown(Z)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Rn.off(document,Al))}_handleFocusin(Z){const{trapElement:le}=this._config;if(Z.target===document||Z.target===le||le.contains(Z.target))return;const st=Ji.focusableChildren(le);0===st.length?le.focus():this._lastTabNavDirection===Nc?st[st.length-1].focus():st[0].focus()}_handleKeydown(Z){"Tab"===Z.key&&(this._lastTabNavDirection=Z.shiftKey?Nc:"forward")}}const Kr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oo=".sticky-top",Ua="padding-right",dc="margin-right";class he{constructor(){this._element=document.body}getWidth(){const Z=document.documentElement.clientWidth;return Math.abs(window.innerWidth-Z)}hide(){const Z=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ua,le=>le+Z),this._setElementAttributes(Kr,Ua,le=>le+Z),this._setElementAttributes(oo,dc,le=>le-Z)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ua),this._resetElementAttributes(Kr,Ua),this._resetElementAttributes(oo,dc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(Z,le,st){const At=this.getWidth();this._applyManipulationCallback(Z,Mn=>{if(Mn!==this._element&&window.innerWidth>Mn.clientWidth+At)return;this._saveInitialAttribute(Mn,le);const Xn=window.getComputedStyle(Mn).getPropertyValue(le);Mn.style.setProperty(le,`${st(Number.parseFloat(Xn))}px`)})}_saveInitialAttribute(Z,le){const st=Z.style.getPropertyValue(le);st&&gr.setDataAttribute(Z,le,st)}_resetElementAttributes(Z,le){this._applyManipulationCallback(Z,At=>{const fn=gr.getDataAttribute(At,le);null!==fn?(gr.removeDataAttribute(At,le),At.style.setProperty(le,fn)):At.style.removeProperty(le)})}_applyManipulationCallback(Z,le){if(_r(Z))le(Z);else for(const st of Ji.find(Z,this._element))le(st)}}const Ue=".bs.modal",v=`hide${Ue}`,M=`hidePrevented${Ue}`,W=`hidden${Ue}`,ue=`show${Ue}`,be=`shown${Ue}`,et=`resize${Ue}`,q=`click.dismiss${Ue}`,U=`mousedown.dismiss${Ue}`,Y=`keydown.dismiss${Ue}`,ne=`click${Ue}.data-api`,pe="modal-open",It="modal-static",Ei={backdrop:!0,focus:!0,keyboard:!0},Hi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class hi extends Mr{constructor(Z,le){super(Z,le),this._dialog=Ji.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new he,this._addEventListeners()}static get Default(){return Ei}static get DefaultType(){return Hi}static get NAME(){return"modal"}toggle(Z){return this._isShown?this.hide():this.show(Z)}show(Z){this._isShown||this._isTransitioning||Rn.trigger(this._element,ue,{relatedTarget:Z}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(pe),this._adjustDialog(),this._backdrop.show(()=>this._showElement(Z)))}hide(){!this._isShown||this._isTransitioning||Rn.trigger(this._element,v).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Rn.off(window,Ue),Rn.off(this._dialog,Ue),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ul({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Qa({trapElement:this._element})}_showElement(Z){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const le=Ji.findOne(".modal-body",this._dialog);le&&(le.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Rn.trigger(this._element,be,{relatedTarget:Z})},this._dialog,this._isAnimated())}_addEventListeners(){Rn.on(this._element,Y,Z=>{if("Escape"===Z.key){if(this._config.keyboard)return void this.hide();this._triggerBackdropTransition()}}),Rn.on(window,et,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Rn.on(this._element,U,Z=>{Rn.one(this._element,q,le=>{if(this._element===Z.target&&this._element===le.target){if("static"===this._config.backdrop)return void this._triggerBackdropTransition();this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(pe),this._resetAdjustments(),this._scrollBar.reset(),Rn.trigger(this._element,W)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Rn.trigger(this._element,M).defaultPrevented)return;const le=this._element.scrollHeight>document.documentElement.clientHeight,st=this._element.style.overflowY;"hidden"===st||this._element.classList.contains(It)||(le||(this._element.style.overflowY="hidden"),this._element.classList.add(It),this._queueCallback(()=>{this._element.classList.remove(It),this._queueCallback(()=>{this._element.style.overflowY=st},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const Z=this._element.scrollHeight>document.documentElement.clientHeight,le=this._scrollBar.getWidth(),st=le>0;if(st&&!Z){const At=er()?"paddingLeft":"paddingRight";this._element.style[At]=`${le}px`}if(!st&&Z){const At=er()?"paddingRight":"paddingLeft";this._element.style[At]=`${le}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(Z,le){return this.each(function(){const st=hi.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof st[Z]>"u")throw new TypeError(`No method named "${Z}"`);st[Z](le)}})}}Rn.on(document,ne,'[data-bs-toggle="modal"]',function(Me){const Z=Ji.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&Me.preventDefault(),Rn.one(Z,ue,At=>{At.defaultPrevented||Rn.one(Z,W,()=>{So(this)&&this.focus()})});const le=Ji.findOne(".modal.show");le&&hi.getInstance(le).hide(),hi.getOrCreateInstance(Z).toggle(this)}),uo(hi),Cr(hi);const sr=".bs.offcanvas",Er=".data-api",ms=`load${sr}${Er}`,Wo="showing",Ns=".offcanvas.show",Va=`show${sr}`,hc=`shown${sr}`,Ml=`hide${sr}`,_o=`hidePrevented${sr}`,Is=`hidden${sr}`,ll=`resize${sr}`,tr=`click${sr}${Er}`,Ir=`keydown.dismiss${sr}`,Jr={backdrop:!0,keyboard:!0,scroll:!1},Go={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class oa extends Mr{constructor(Z,le){super(Z,le),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Jr}static get DefaultType(){return Go}static get NAME(){return"offcanvas"}toggle(Z){return this._isShown?this.hide():this.show(Z)}show(Z){this._isShown||Rn.trigger(this._element,Va,{relatedTarget:Z}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new he).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Wo),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Wo),Rn.trigger(this._element,hc,{relatedTarget:Z})},this._element,!0))}hide(){this._isShown&&!Rn.trigger(this._element,Ml).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new he).reset(),Rn.trigger(this._element,Is)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const le=!!this._config.backdrop;return new Ul({className:"offcanvas-backdrop",isVisible:le,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:le?()=>{"static"!==this._config.backdrop?this.hide():Rn.trigger(this._element,_o)}:null})}_initializeFocusTrap(){return new Qa({trapElement:this._element})}_addEventListeners(){Rn.on(this._element,Ir,Z=>{if("Escape"===Z.key){if(this._config.keyboard)return void this.hide();Rn.trigger(this._element,_o)}})}static jQueryInterface(Z){return this.each(function(){const le=oa.getOrCreateInstance(this,Z);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z](this)}})}}Rn.on(document,tr,'[data-bs-toggle="offcanvas"]',function(Me){const Z=Ji.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&Me.preventDefault(),Fo(this))return;Rn.one(Z,Is,()=>{So(this)&&this.focus()});const le=Ji.findOne(Ns);le&&le!==Z&&oa.getInstance(le).hide(),oa.getOrCreateInstance(Z).toggle(this)}),Rn.on(window,ms,()=>{for(const Me of Ji.find(Ns))oa.getOrCreateInstance(Me).show()}),Rn.on(window,ll,()=>{for(const Me of Ji.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(Me).position&&oa.getOrCreateInstance(Me).hide()}),uo(oa),Cr(oa);const vs={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},fs=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),aa=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,jl=(Me,Z)=>{const le=Me.nodeName.toLowerCase();return Z.includes(le)?!fs.has(le)||!!aa.test(Me.nodeValue):Z.filter(st=>st instanceof RegExp).some(st=>st.test(le))},zl={allowList:vs,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
    "},Dl={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},sc={entry:"(string|element|function|null)",selector:"(string|element)"};class yc extends Us{constructor(Z){super(),this._config=this._getConfig(Z)}static get Default(){return zl}static get DefaultType(){return Dl}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(Z=>this._resolvePossibleFunction(Z)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(Z){return this._checkContent(Z),this._config.content={...this._config.content,...Z},this}toHtml(){const Z=document.createElement("div");Z.innerHTML=this._maybeSanitize(this._config.template);for(const[At,fn]of Object.entries(this._config.content))this._setContent(Z,fn,At);const le=Z.children[0],st=this._resolvePossibleFunction(this._config.extraClass);return st&&le.classList.add(...st.split(" ")),le}_typeCheckConfig(Z){super._typeCheckConfig(Z),this._checkContent(Z.content)}_checkContent(Z){for(const[le,st]of Object.entries(Z))super._typeCheckConfig({selector:le,entry:st},sc)}_setContent(Z,le,st){const At=Ji.findOne(st,Z);if(At){if(!(le=this._resolvePossibleFunction(le)))return void At.remove();if(_r(le))return void this._putElementInTemplate(us(le),At);if(this._config.html)return void(At.innerHTML=this._maybeSanitize(le));At.textContent=le}}_maybeSanitize(Z){return this._config.sanitize?function cl(Me,Z,le){if(!Me.length)return Me;if(le&&"function"==typeof le)return le(Me);const At=(new window.DOMParser).parseFromString(Me,"text/html"),fn=[].concat(...At.body.querySelectorAll("*"));for(const Mn of fn){const Xn=Mn.nodeName.toLowerCase();if(!Object.keys(Z).includes(Xn)){Mn.remove();continue}const Ai=[].concat(...Mn.attributes),nr=[].concat(Z["*"]||[],Z[Xn]||[]);for(const Ni of Ai)jl(Ni,nr)||Mn.removeAttribute(Ni.nodeName)}return At.body.innerHTML}(Z,this._config.allowList,this._config.sanitizeFn):Z}_resolvePossibleFunction(Z){return Ss(Z,[this])}_putElementInTemplate(Z,le){if(this._config.html)return le.innerHTML="",void le.append(Z);le.textContent=Z.textContent}}const R=new Set(["sanitize","allowList","sanitizeFn"]),te="fade",Pe="show",Gn="hide.bs.modal",Vi="hover",Pr="focus",Uu={AUTO:"auto",TOP:"top",RIGHT:er()?"left":"right",BOTTOM:"bottom",LEFT:er()?"right":"left"},lu={allowList:vs,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},hd={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class cu extends Mr{constructor(Z,le){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(Z,le),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lu}static get DefaultType(){return hd}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown())return void this._leave();this._enter()}}dispose(){clearTimeout(this._timeout),Rn.off(this._element.closest(".modal"),Gn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const Z=Rn.trigger(this._element,this.constructor.eventName("show")),st=(Ks(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(Z.defaultPrevented||!st)return;this._disposePopper();const At=this._getTipElement();this._element.setAttribute("aria-describedby",At.getAttribute("id"));const{container:fn}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(fn.append(At),Rn.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(At),At.classList.add(Pe),"ontouchstart"in document.documentElement)for(const Xn of[].concat(...document.body.children))Rn.on(Xn,"mouseover",na);this._queueCallback(()=>{Rn.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!Rn.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Pe),"ontouchstart"in document.documentElement)for(const At of[].concat(...document.body.children))Rn.off(At,"mouseover",na);this._activeTrigger.click=!1,this._activeTrigger[Pr]=!1,this._activeTrigger[Vi]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Rn.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(Z){const le=this._getTemplateFactory(Z).toHtml();if(!le)return null;le.classList.remove(te,Pe),le.classList.add(`bs-${this.constructor.NAME}-auto`);const st=(Me=>{do{Me+=Math.floor(1e6*Math.random())}while(document.getElementById(Me));return Me})(this.constructor.NAME).toString();return le.setAttribute("id",st),this._isAnimated()&&le.classList.add(te),le}setContent(Z){this._newContent=Z,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(Z){return this._templateFactory?this._templateFactory.changeContent(Z):this._templateFactory=new yc({...this._config,content:Z,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(Z){return this.constructor.getOrCreateInstance(Z.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(te)}_isShown(){return this.tip&&this.tip.classList.contains(Pe)}_createPopper(Z){const le=Ss(this._config.placement,[this,Z,this._element]),st=Uu[le.toUpperCase()];return Eo(this._element,Z,this._getPopperConfig(st))}_getOffset(){const{offset:Z}=this._config;return"string"==typeof Z?Z.split(",").map(le=>Number.parseInt(le,10)):"function"==typeof Z?le=>Z(le,this._element):Z}_resolvePossibleFunction(Z){return Ss(Z,[this._element])}_getPopperConfig(Z){const le={placement:Z,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:st=>{this._getTipElement().setAttribute("data-popper-placement",st.state.placement)}}]};return{...le,...Ss(this._config.popperConfig,[le])}}_setListeners(){const Z=this._config.trigger.split(" ");for(const le of Z)if("click"===le)Rn.on(this._element,this.constructor.eventName("click"),this._config.selector,st=>{this._initializeOnDelegatedTarget(st).toggle()});else if("manual"!==le){const st=this.constructor.eventName(le===Vi?"mouseenter":"focusin"),At=this.constructor.eventName(le===Vi?"mouseleave":"focusout");Rn.on(this._element,st,this._config.selector,fn=>{const Mn=this._initializeOnDelegatedTarget(fn);Mn._activeTrigger["focusin"===fn.type?Pr:Vi]=!0,Mn._enter()}),Rn.on(this._element,At,this._config.selector,fn=>{const Mn=this._initializeOnDelegatedTarget(fn);Mn._activeTrigger["focusout"===fn.type?Pr:Vi]=Mn._element.contains(fn.relatedTarget),Mn._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Rn.on(this._element.closest(".modal"),Gn,this._hideModalHandler)}_fixTitle(){const Z=this._element.getAttribute("title");Z&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",Z),this._element.setAttribute("data-bs-original-title",Z),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(Z,le){clearTimeout(this._timeout),this._timeout=setTimeout(Z,le)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(Z){const le=gr.getDataAttributes(this._element);for(const st of Object.keys(le))R.has(st)&&delete le[st];return Z={...le,..."object"==typeof Z&&Z?Z:{}},Z=this._mergeConfigObj(Z),Z=this._configAfterMerge(Z),this._typeCheckConfig(Z),Z}_configAfterMerge(Z){return Z.container=!1===Z.container?document.body:us(Z.container),"number"==typeof Z.delay&&(Z.delay={show:Z.delay,hide:Z.delay}),"number"==typeof Z.title&&(Z.title=Z.title.toString()),"number"==typeof Z.content&&(Z.content=Z.content.toString()),Z}_getDelegateConfig(){const Z={};for(const[le,st]of Object.entries(this._config))this.constructor.Default[le]!==st&&(Z[le]=st);return Z.selector=!1,Z.trigger="manual",Z}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(Z){return this.each(function(){const le=cu.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Cr(cu);const tp={...cu.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Ld={...cu.DefaultType,content:"(null|string|element|function)"};class bu extends cu{static get Default(){return tp}static get DefaultType(){return Ld}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(Z){return this.each(function(){const le=bu.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Cr(bu);const Wf=".bs.scrollspy",gd=`activate${Wf}`,Zf=`click${Wf}`,Gf=`load${Wf}.data-api`,Hu="active",Xh="[href]",zu=".nav-link",xu=`${zu}, .nav-item > ${zu}, .list-group-item`,Jf={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Vu={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class fc extends Mr{constructor(Z,le){super(Z,le),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Jf}static get DefaultType(){return Vu}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const Z of this._observableSections.values())this._observer.observe(Z)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(Z){return Z.target=us(Z.target)||document.body,Z.rootMargin=Z.offset?`${Z.offset}px 0px -30%`:Z.rootMargin,"string"==typeof Z.threshold&&(Z.threshold=Z.threshold.split(",").map(le=>Number.parseFloat(le))),Z}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Rn.off(this._config.target,Zf),Rn.on(this._config.target,Zf,Xh,Z=>{const le=this._observableSections.get(Z.target.hash);if(le){Z.preventDefault();const st=this._rootElement||window,At=le.offsetTop-this._element.offsetTop;if(st.scrollTo)return void st.scrollTo({top:At,behavior:"smooth"});st.scrollTop=At}}))}_getNewObserver(){return new IntersectionObserver(le=>this._observerCallback(le),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(Z){const le=Mn=>this._targetLinks.get(`#${Mn.target.id}`),st=Mn=>{this._previousScrollData.visibleEntryTop=Mn.target.offsetTop,this._process(le(Mn))},At=(this._rootElement||document.documentElement).scrollTop,fn=At>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=At;for(const Mn of Z){if(!Mn.isIntersecting){this._activeTarget=null,this._clearActiveClass(le(Mn));continue}const Xn=Mn.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(fn&&Xn){if(st(Mn),!At)return}else!fn&&!Xn&&st(Mn)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const Z=Ji.find(Xh,this._config.target);for(const le of Z){if(!le.hash||Fo(le))continue;const st=Ji.findOne(decodeURI(le.hash),this._element);So(st)&&(this._targetLinks.set(decodeURI(le.hash),le),this._observableSections.set(le.hash,st))}}_process(Z){this._activeTarget!==Z&&(this._clearActiveClass(this._config.target),this._activeTarget=Z,Z.classList.add(Hu),this._activateParents(Z),Rn.trigger(this._element,gd,{relatedTarget:Z}))}_activateParents(Z){if(Z.classList.contains("dropdown-item"))Ji.findOne(".dropdown-toggle",Z.closest(".dropdown")).classList.add(Hu);else for(const le of Ji.parents(Z,".nav, .list-group"))for(const st of Ji.prev(le,xu))st.classList.add(Hu)}_clearActiveClass(Z){Z.classList.remove(Hu);const le=Ji.find(`${Xh}.${Hu}`,Z);for(const st of le)st.classList.remove(Hu)}static jQueryInterface(Z){return this.each(function(){const le=fc.getOrCreateInstance(this,Z);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Rn.on(window,Gf,()=>{for(const Me of Ji.find('[data-bs-spy="scroll"]'))fc.getOrCreateInstance(Me)}),Cr(fc);const Tu=".bs.tab",Qf=`hide${Tu}`,ip=`hidden${Tu}`,tf=`show${Tu}`,rp=`shown${Tu}`,Xf=`click${Tu}`,nf=`keydown${Tu}`,qf=`load${Tu}`,hh="ArrowLeft",pd="ArrowRight",sp="ArrowUp",Rd="ArrowDown",fh="Home",Nd="End",Eu="active",Fd="show",rf=".dropdown-toggle",mh=`:not(${rf})`,_h='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ch=`.nav-link${mh}, .list-group-item${mh}, [role="tab"]${mh}, ${_h}`,af=`.${Eu}[data-bs-toggle="tab"], .${Eu}[data-bs-toggle="pill"], .${Eu}[data-bs-toggle="list"]`;class md extends Mr{constructor(Z){super(Z),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Rn.on(this._element,nf,le=>this._keydown(le)))}static get NAME(){return"tab"}show(){const Z=this._element;if(this._elemIsActive(Z))return;const le=this._getActiveElem(),st=le?Rn.trigger(le,Qf,{relatedTarget:Z}):null;Rn.trigger(Z,tf,{relatedTarget:le}).defaultPrevented||st&&st.defaultPrevented||(this._deactivate(le,Z),this._activate(Z,le))}_activate(Z,le){Z&&(Z.classList.add(Eu),this._activate(Ji.getElementFromSelector(Z)),this._queueCallback(()=>{"tab"===Z.getAttribute("role")?(Z.removeAttribute("tabindex"),Z.setAttribute("aria-selected",!0),this._toggleDropDown(Z,!0),Rn.trigger(Z,rp,{relatedTarget:le})):Z.classList.add(Fd)},Z,Z.classList.contains("fade")))}_deactivate(Z,le){Z&&(Z.classList.remove(Eu),Z.blur(),this._deactivate(Ji.getElementFromSelector(Z)),this._queueCallback(()=>{"tab"===Z.getAttribute("role")?(Z.setAttribute("aria-selected",!1),Z.setAttribute("tabindex","-1"),this._toggleDropDown(Z,!1),Rn.trigger(Z,ip,{relatedTarget:le})):Z.classList.remove(Fd)},Z,Z.classList.contains("fade")))}_keydown(Z){if(![hh,pd,sp,Rd,fh,Nd].includes(Z.key))return;Z.stopPropagation(),Z.preventDefault();const le=this._getChildren().filter(At=>!Fo(At));let st;if([fh,Nd].includes(Z.key))st=le[Z.key===fh?0:le.length-1];else{const At=[pd,Rd].includes(Z.key);st=ds(le,Z.target,At,!0)}st&&(st.focus({preventScroll:!0}),md.getOrCreateInstance(st).show())}_getChildren(){return Ji.find(Ch,this._parent)}_getActiveElem(){return this._getChildren().find(Z=>this._elemIsActive(Z))||null}_setInitialAttributes(Z,le){this._setAttributeIfNotExists(Z,"role","tablist");for(const st of le)this._setInitialAttributesOnChild(st)}_setInitialAttributesOnChild(Z){Z=this._getInnerElement(Z);const le=this._elemIsActive(Z),st=this._getOuterElement(Z);Z.setAttribute("aria-selected",le),st!==Z&&this._setAttributeIfNotExists(st,"role","presentation"),le||Z.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(Z,"role","tab"),this._setInitialAttributesOnTargetPanel(Z)}_setInitialAttributesOnTargetPanel(Z){const le=Ji.getElementFromSelector(Z);le&&(this._setAttributeIfNotExists(le,"role","tabpanel"),Z.id&&this._setAttributeIfNotExists(le,"aria-labelledby",`${Z.id}`))}_toggleDropDown(Z,le){const st=this._getOuterElement(Z);if(!st.classList.contains("dropdown"))return;const At=(fn,Mn)=>{const Xn=Ji.findOne(fn,st);Xn&&Xn.classList.toggle(Mn,le)};At(rf,Eu),At(".dropdown-menu",Fd),st.setAttribute("aria-expanded",le)}_setAttributeIfNotExists(Z,le,st){Z.hasAttribute(le)||Z.setAttribute(le,st)}_elemIsActive(Z){return Z.classList.contains(Eu)}_getInnerElement(Z){return Z.matches(Ch)?Z:Ji.findOne(Ch,Z)}_getOuterElement(Z){return Z.closest(".nav-item, .list-group-item")||Z}static jQueryInterface(Z){return this.each(function(){const le=md.getOrCreateInstance(this);if("string"==typeof Z){if(void 0===le[Z]||Z.startsWith("_")||"constructor"===Z)throw new TypeError(`No method named "${Z}"`);le[Z]()}})}}Rn.on(document,Xf,_h,function(Me){["A","AREA"].includes(this.tagName)&&Me.preventDefault(),!Fo(this)&&md.getOrCreateInstance(this).show()}),Rn.on(window,qf,()=>{for(const Me of Ji.find(af))md.getOrCreateInstance(Me)}),Cr(md);const wu=".bs.toast",vh=`mouseover${wu}`,tg=`mouseout${wu}`,ap=`focusin${wu}`,ng=`focusout${wu}`,Nm=`hide${wu}`,ig=`hidden${wu}`,Fm=`show${wu}`,lp=`shown${wu}`,cf="show",uf="showing",df={animation:"boolean",autohide:"boolean",delay:"number"},Ym={animation:!0,autohide:!0,delay:5e3};class hf extends Mr{constructor(Z,le){super(Z,le),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ym}static get DefaultType(){return df}static get NAME(){return"toast"}show(){Rn.trigger(this._element,Fm).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(cf,uf),this._queueCallback(()=>{this._element.classList.remove(uf),Rn.trigger(this._element,lp),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!Rn.trigger(this._element,Nm).defaultPrevented&&(this._element.classList.add(uf),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(uf,cf),Rn.trigger(this._element,ig)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(cf),super.dispose()}isShown(){return this._element.classList.contains(cf)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(Z,le){switch(Z.type){case"mouseover":case"mouseout":this._hasMouseInteraction=le;break;case"focusin":case"focusout":this._hasKeyboardInteraction=le}if(le)return void this._clearTimeout();const st=Z.relatedTarget;this._element===st||this._element.contains(st)||this._maybeScheduleHide()}_setListeners(){Rn.on(this._element,vh,Z=>this._onInteraction(Z,!0)),Rn.on(this._element,tg,Z=>this._onInteraction(Z,!1)),Rn.on(this._element,ap,Z=>this._onInteraction(Z,!0)),Rn.on(this._element,ng,Z=>this._onInteraction(Z,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(Z){return this.each(function(){const le=hf.getOrCreateInstance(this,Z);if("string"==typeof Z){if(typeof le[Z]>"u")throw new TypeError(`No method named "${Z}"`);le[Z](this)}})}}uo(hf),Cr(hf);var rg=m(2307),up=m(9193),dp=m(645),sg=m(1508);const Ah=["inputElement"];function Ud(Me,Z){1&Me&&A._UZ(0,"i",9)}function og(Me,Z){1&Me&&(A.TgZ(0,"div",10),A._UZ(1,"span",11),A.qZA())}function ff(Me,Z){if(1&Me&&(A.TgZ(0,"div",4),A._UZ(1,"input",5),A.TgZ(2,"button",6),A.YNc(3,Ud,1,0,"i",7),A.YNc(4,og,2,0,"div",8),A.qZA()()),2&Me){const le=A.oxw();A.Q6J("id",le.generatedId(le.controlName)+"_search_container"),A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)),A.uIk("placeholder",le.placeholder),A.xp6(2),A.Q6J("ngIf",!le.searching&&!le.loading),A.xp6(1),A.Q6J("ngIf",le.searching||le.loading)}}function ag(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"a",25),A.NdJ("click",function(){A.CHM(le);const At=A.oxw().$implicit,fn=A.oxw(2);return A.KtG(fn.onItemClick(At))}),A._uU(1),A.qZA()}if(2&Me){const le=A.oxw().$implicit,st=A.oxw(2);A.Q6J("id",st.getItemId(le)),A.xp6(1),A.Oqu(le.text)}}function Zu(Me,Z){if(1&Me&&(A.TgZ(0,"strong",26),A._uU(1),A.qZA()),2&Me){const le=A.oxw().$implicit;A.xp6(1),A.Oqu(le.text)}}function lg(Me,Z){if(1&Me&&(A.TgZ(0,"li"),A.YNc(1,ag,2,2,"a",23),A.YNc(2,Zu,2,1,"ng-template",null,24,A.W1O),A.qZA()),2&Me){const le=Z.$implicit,st=A.MAs(3),At=A.oxw(2);A.xp6(1),A.Q6J("ngIf",!At.isSeparator(le))("ngIfElse",st)}}function cg(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"button",27),A.NdJ("click",function(At){A.CHM(le);const fn=A.oxw(2);return A.KtG(fn.onDetailsClick(At))}),A._UZ(1,"i",28),A.qZA()}if(2&Me){const le=A.oxw(2);A.Q6J("id",le.generatedId(le.controlName)+"_details_button")("disabled",!le.selectedEntity||void 0)}}function Ih(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"button",29),A.NdJ("click",function(At){A.CHM(le);const fn=A.oxw(2);return A.KtG(fn.onAddClick(At))}),A._UZ(1,"i",30),A.qZA()}if(2&Me){const le=A.oxw(2);A.Q6J("id",le.generatedId(le.controlName)+"_route_button")}}function Hd(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"button",31),A.NdJ("click",function(){A.CHM(le);const At=A.oxw(2);return A.KtG(At.clear(!0,!1))}),A._UZ(1,"i",32),A.qZA()}}function yh(Me,Z){1&Me&&A._UZ(0,"i",33)}function hp(Me,Z){1&Me&&(A.TgZ(0,"div",10),A._UZ(1,"span",11),A.qZA())}function gf(Me,Z){if(1&Me){const le=A.EpF();A.TgZ(0,"div",12)(1,"div",4),A._UZ(2,"div",13),A.TgZ(3,"ul",14),A.YNc(4,lg,4,2,"li",15),A.qZA(),A.TgZ(5,"input",16,17),A.NdJ("keydown",function(At){A.CHM(le);const fn=A.oxw();return A.KtG(fn.onKeyDown(At))})("keyup",function(At){A.CHM(le);const fn=A.oxw();return A.KtG(fn.onKeyUp(At))}),A.qZA(),A.YNc(7,cg,2,2,"button",18),A.YNc(8,Ih,2,1,"button",19),A.YNc(9,Hd,2,0,"button",20),A.TgZ(10,"button",21),A.NdJ("click",function(At){A.CHM(le);const fn=A.oxw();return A.KtG(fn.onSelectClick(At))}),A.YNc(11,yh,1,0,"i",22),A.YNc(12,hp,2,0,"div",8),A.qZA()()()}if(2&Me){const le=A.oxw();A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)+"_search_container"),A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)+"_search_dropdown"),A.xp6(1),A.Udp("width",le.dropdownWidth,"px"),A.uIk("aria-labelledby",le.generatedId(le.controlName)+"_search_dropdown"),A.xp6(1),A.Q6J("ngForOf",le.items),A.xp6(1),A.ekj("search-text-invalid",!le.isTextValid),A.Q6J("id",le.generatedId(le.controlName)),A.uIk("readonly",le.isOnlySelect?"true":void 0)("placeholder",le.placeholder),A.xp6(2),A.Q6J("ngIf",le.isDetails),A.xp6(1),A.Q6J("ngIf",le.addRoute),A.xp6(1),A.Q6J("ngIf",le.selectedItem&&null==le.required),A.xp6(1),A.Q6J("id",le.generatedId(le.controlName)+"_select_button"),A.xp6(1),A.Q6J("ngIf",!le.searching&&!le.loading),A.xp6(1),A.Q6J("ngIf",le.searching||le.loading)}}const fp=function(Me){return{selected:Me}};function ug(Me,Z){if(1&Me&&(A.TgZ(0,"span",34),A.GkF(1,35),A.qZA()),2&Me){const le=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",le.displayTemplate)("ngTemplateOutletContext",A.VKq(2,fp,le.selectedItem))}}class tu{constructor(Z){this.groups=Z}get text(){return this.groups.map(Z=>Z.value).join(" - ")}}let dg=(()=>{class Me extends dp.M{set control(le){this._control=le}get control(){return this.getControl()}set size(le){this.setSize(le)}get size(){return this.getSize()}set disabled(le){le!=this._disabled&&(this._disabled=le,this.detectChanges(),this.dropdown?.toString(),this.selectedValue&&this.selectItem(this.selectedValue,!1,!1))}get disabled(){return this._disabled}set icon(le){le!=this._icon&&(this._icon=le)}get icon(){return typeof this._icon<"u"?this._icon:(this.dao?this.entities.getIcon(this.dao.collection):void 0)||""}set label(le){le!=this._label&&(this._label=le)}get label(){return typeof this._label<"u"?this._label:(this.dao?this.entities.getLabel(this.dao.collection):void 0)||""}set selectRoute(le){le!=this._selectRoute&&(this._selectRoute=le)}get selectRoute(){return typeof this._selectRoute<"u"?this._selectRoute:this.dao?this.entities.getSelectRoute(this.dao.collection):{route:[]}}get dropdown(){const le=document.getElementById(this.generatedId(this.controlName)+"_search_dropdown");return this._dropdown=this.isDisabled?void 0:this._dropdown||(le?new Ja(le):void 0),this._dropdown}constructor(le){super(le),this.injector=le,this.class="form-group",this.details=new A.vpe,this.select=new A.vpe,this.load=new A.vpe,this.change=new A.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.labelInfo="",this.bold=!1,this.loading=!1,this.value="",this.emptyValue="",this.placeholder="",this.dao=void 0,this.DEBOUNCE_TIMER=1e3,this.queryText="",this.timer=void 0,this.dropdownWidth=200,this.items=[],this.selectedItem=void 0,this.selectedValue=void 0,this.selectedEntity=void 0,this.searching=!1,this.entities=this.injector.get(sg.c),this.util=this.injector.get(up.f),this.go=le.get(rg.o)}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){var le=this;super.ngAfterViewInit(),this.control?.valueChanges.subscribe(function(){var st=(0,t.Z)(function*(At){le.selectedValue!=At&&(le.selectedValue=At,yield le.loadSearch())});return function(At){return st.apply(this,arguments)}}()),this.control?.setValue(this.control.value)}selectItem(le,st=!0,At=!0){const fn=this.items.find(Xn=>!(Xn instanceof tu)&&Xn.value==le),Mn=Xn=>{fn&&(fn.entity=Xn),this.selectedEntity=Xn,this.selectedItem=fn,this.select&&At&&this.select.emit(fn),this.change&&At&&this.change.emit(new Event("change"))};if(fn){const Xn=document.getElementById(this.generatedId(this.controlName));Xn&&(Xn.value=fn.text),this.selectedValue=fn.value,this.control?.setValue(this.selectedValue,{emitEvent:!1}),this.selectedEntity=void 0,this.selectedValue?.length&&(st?(this.loading=!0,this.dao?.getById(this.selectedValue,this.join).then(Mn).finally(()=>this.loading=!1)):Mn(fn.entity))}this.cdRef.detectChanges()}get isTextValid(){let le=!!this.selectedItem||!this.inputElement?.nativeElement.value?.length;if(this.control)if(le&&this.control.errors?.incorrect){let{incorrect:st,...At}=this.control.errors;this.control.setErrors(1==Object.entries(this.control.errors).length?null:At)}else if(!le&&!this.control.errors?.incorrect){let st=Object.assign(this.control.errors||{},{incorrect:!0});this.control.setErrors(st)}return le}onItemClick(le){this.selectItem(le.value)}onAddClick(le){var st=this;return(0,t.Z)(function*(){const At=st.addRoute;var fn;At.params=Object.assign(At.params||{},{modal:!0}),st.go.navigate(At,{modalClose:(fn=(0,t.Z)(function*(Mn){Mn?.length&&(st.control?.setValue(Mn,{emitEvent:!1}),yield st.loadSearch())}),function(Xn){return fn.apply(this,arguments)})})})()}onSelectClick(le){var st=this;return(0,t.Z)(function*(){return new Promise((At,fn)=>{if(st.selectRoute){const Mn=st.selectRoute;Mn.params=Object.assign(Mn.params||{},st.selectParams||{},{selectable:!0,modal:!0}),st.go.navigate(Mn,{metadata:st.metadata||{},modalClose:(Xn=(0,t.Z)(function*(Ai){Ai?.id?.length?(st.control?.setValue(Ai.id,{emitEvent:!1}),yield st.loadSearch(),At(Ai?.id)):fn("Nada foi selecionado")}),function(nr){return Xn.apply(this,arguments)})})}else fn("Rota de sele\xe7\xe3o inexistente");var Xn})})()}onKeyDown(le){["Enter","ArrowDown","ArrowUp"].indexOf(le.key)>=0&&("Enter"==le.key?(this.onEnterKeyDown(le),console.log("Enter")):"Esc"==le.key?console.log("Esc"):"ArrowDown"==le.key?console.log("Down"):"ArrowUp"==le.key&&console.log("Up"),le.preventDefault())}onKeyUp(le){this.typed(le.target.value)}typed(le){this.queryText!=le&&(this.queryText=le,this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.search(this.queryText)},this.DEBOUNCE_TIMER))}getItemId(le){return this.generatedId(this.controlName)+(le.hasOwnProperty("value")?"_item_"+le.value:"_sep_"+this.util.onlyAlphanumeric(le.groups.text))}isSeparator(le){return le instanceof tu}get isOnlySelect(){return null!=this.onlySelect}isDisplayOnlySelected(){return null!=this.displayOnlySelected}group(le){if(this.groupBy&&le.length){let st="";le=le.filter(At=>!(At instanceof tu));for(let At=0;AtObject.assign({},Mn,{value:le[At].order[Xn]}));st!=JSON.stringify(fn)&&(st=JSON.stringify(fn),le.splice(At,0,new tu(fn)))}}return le}search(le){this.searching=!0,this.control&&this.control.setValue(this.emptyValue,{emitEvent:!1}),this.clear(!1,!0,!1),this.dao?.searchText(le,this.fields,this.where,this.groupBy?.map(st=>[st.field,"asc"])).then(st=>{if(this.queryText==le){this.items=this.group(st);const At=document.getElementById(this.generatedId(this.controlName));if(At){const fn=getComputedStyle(At),Mn=At.offsetWidth+parseInt(fn.marginLeft)+parseInt(fn.marginRight);this.dropdownWidth=Mn||200}else this.dropdownWidth=200;this.cdRef.detectChanges(),this.items.length?this.dropdown?.show():this.dropdown?.hide()}}).finally(()=>{this.searching=!1})}get isDetails(){return void 0!==this.detailsButton}onDetailsClick(le){this.details&&this.selectedItem&&this.selectedEntity&&this.details.emit({...this.selectedItem,entity:this.selectedEntity})}clear(le=!0,st=!0,At=!0){this.items=[],this.selectedItem=void 0,this.selectedValue=void 0,this.selectedEntity=void 0,At&&this.inputElement&&(this.queryText=this.inputElement.nativeElement.value=""),le&&!this.isDisabled&&this.control&&this.control.setValue(this.emptyValue),this.change&&st&&this.change.emit(new Event("change")),this.cdRef.detectChanges()}isTypeSelectItem(le){return!!le.value&&!!le.text}loadSearch(le,st=!0){var At=this;return(0,t.Z)(function*(){let fn;if(At.clear(!1,st),le){const Mn="string"==typeof le?le:le.id||le.value;At.selectedValue=Mn,At.control?.setValue(Mn,{emitEvent:!1}),fn="object"==typeof le?le.id?At.dao?.entityToSelectItem(le,At.fields):le:void 0}if(At.control?.value?.length){At.searching=!0,At.cdRef.detectChanges();try{let Mn=fn||(yield At.dao?.searchKey(At.control?.value,At.fields,At.join));Mn&&(At.items=[Mn],At.selectItem(At.control?.value,!1,st))}finally{At.searching=!1}}})()}static#e=this.\u0275fac=function(st){return new(st||Me)(A.Y36(A.zs3))};static#t=this.\u0275cmp=A.Xpm({type:Me,selectors:[["input-search"]],viewQuery:function(st,At){if(1&st&&A.Gf(Ah,5),2&st){let fn;A.iGM(fn=A.CRH())&&(At.inputElement=fn.first)}},hostVars:2,hostBindings:function(st,At){2&st&&A.Tol(At.class)},inputs:{relativeId:"relativeId",hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",value:"value",emptyValue:"emptyValue",placeholder:"placeholder",fields:"fields",join:"join",groupBy:"groupBy",where:"where",metadata:"metadata",dao:"dao",detailsButton:"detailsButton",addRoute:"addRoute",selectParams:"selectParams",onlySelect:"onlySelect",form:"form",source:"source",path:"path",required:"required",displayOnlySelected:"displayOnlySelected",displayTemplate:"displayTemplate",control:"control",size:"size",disabled:"disabled",icon:"icon",label:"label",selectRoute:"selectRoute"},outputs:{details:"details",select:"select",load:"load",change:"change"},features:[A._Bn([],[{provide:a.gN,useExisting:a.sg}]),A.qOj],decls:4,vars:13,consts:[[3,"labelPosition","labelClass","controlName","required","control","disabled","label","labelInfo","icon","bold"],["class","input-group",3,"id",4,"ngIf"],["class","dropdown",4,"ngIf"],["class","m-2 d-block w-100 border border-secondary",4,"ngIf"],[1,"input-group",3,"id"],["type","text","readonly","",1,"form-control",3,"id"],["type","button","disabled","",1,"btn","btn-outline-secondary"],["class","bi bi-check",4,"ngIf"],["class","spinner-border spinner-border-sm","role","status",4,"ngIf"],[1,"bi","bi-check"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"],[1,"dropdown"],["data-bs-toggle","dropdown","aria-expanded","false",1,"dropdown_hidden",3,"id"],[1,"dropdown-menu"],[4,"ngFor","ngForOf"],["type","text","autocomplete","off","aria-expanded","false",1,"form-control",3,"id","keydown","keyup"],["inputElement",""],["class","btn btn-outline-secondary","type","button",3,"id","disabled","click",4,"ngIf"],["class","btn btn-outline-success","type","button",3,"id","click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"click",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],["class","bi bi-search",4,"ngIf"],["class","dropdown-item text-truncate","role","button",3,"id","click",4,"ngIf","ngIfElse"],["group",""],["role","button",1,"dropdown-item","text-truncate",3,"id","click"],[1,"search-group-text"],["type","button",1,"btn","btn-outline-secondary",3,"id","disabled","click"],[1,"bi","bi-info-circle"],["type","button",1,"btn","btn-outline-success",3,"id","click"],[1,"bi","bi-plus-circle"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"bi","bi-x"],[1,"bi","bi-search"],[1,"m-2","d-block","w-100","border","border-secondary"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(st,At){1&st&&(A.TgZ(0,"input-container",0),A.YNc(1,ff,5,5,"div",1),A.YNc(2,gf,13,17,"div",2),A.qZA(),A.YNc(3,ug,2,4,"span",3)),2&st&&(A.Q6J("labelPosition",At.labelPosition)("labelClass",At.labelClass)("controlName",At.controlName)("required",At.required)("control",At.control)("disabled",At.disabled)("label",At.label)("labelInfo",At.labelInfo)("icon",At.icon)("bold",At.bold),A.xp6(1),A.Q6J("ngIf",At.isDisabled),A.xp6(1),A.Q6J("ngIf",!At.isDisabled),A.xp6(1),A.Q6J("ngIf",At.displayTemplate&&(!At.isDisplayOnlySelected||At.selectedItem)))},styles:[".dropdown_hidden[_ngcontent-%COMP%]{width:0px;margin:0;padding:0;float:left}.search-group-text[_ngcontent-%COMP%]{margin-left:5px}.search-text-invalid[_ngcontent-%COMP%], .search-text-invalid[_ngcontent-%COMP%]:focus{color:red}"]})}return Me})()},4603:(lt,_e,m)=>{"use strict";m.d(_e,{p:()=>wt});var i=m(755),t=m(2133),A=m(2307),a=m(645);const y=["inputElement"],C=["dropdownButton"];function b(K,V){1&K&&(i.TgZ(0,"button",4)(1,"div",5),i._UZ(2,"span",6),i.qZA(),i._uU(3," carregando . . . "),i.qZA())}function N(K,V){if(1&K&&i._UZ(0,"i"),2&K){const J=i.oxw(2);i.Tol(J.current.icon)}}function j(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"input",20),i.NdJ("change",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onFilterChange())}),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("formControl",J.filterControl)("id",J.generatedId(J.controlName)+"_live")}}function F(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"li")(1,"a",21),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onItemClick(oe.itemNullButton))}),i._uU(2),i.qZA()()}if(2&K){const J=i.oxw(2);i.xp6(1),i.ekj("active",J.isActive(J.itemNullButton)),i.Q6J("id",J.generatedId(J.controlName)+"_item_null"),i.xp6(1),i.hij(" ",J.itemNullButton.value," ")}}function x(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"li")(1,"a",21),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onItemClick(oe.itemTodosButton))}),i._uU(2),i.qZA()()}if(2&K){const J=i.oxw(2);i.xp6(1),i.ekj("active",J.isActive(J.itemTodosButton)),i.Q6J("id",J.generatedId(J.controlName)+"_item_todos"),i.xp6(1),i.hij(" ",J.itemTodosButton.value," ")}}function H(K,V){if(1&K&&i._UZ(0,"i"),2&K){const J=i.oxw(2).$implicit;i.Tol(J.icon)}}function k(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"li")(1,"a",22),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw().$implicit,ye=i.oxw(2);return i.KtG(ye.onItemClick(oe))}),i.YNc(2,H,1,2,"i",11),i._uU(3),i.qZA()()}if(2&K){const J=i.oxw().$implicit,ae=i.oxw(2);i.xp6(1),i.Udp("color",ae.isNoColor?void 0:J.color||"#000000"),i.ekj("active",ae.isActive(ae.itemTodosButton)),i.Q6J("id",ae.generatedId(ae.controlName)+"_"+ae.getStringId(J.key)),i.xp6(1),i.Q6J("ngIf",!ae.isNoIcon&&J.icon),i.xp6(1),i.hij(" ",J.value," ")}}function P(K,V){if(1&K&&(i.ynx(0),i.YNc(1,k,4,7,"li",3),i.BQk()),2&K){const J=V.$implicit,ae=i.oxw(2);i.xp6(1),i.Q6J("ngIf",ae.itemVisible(J))}}function X(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"button",23),i.NdJ("click",function(oe){i.CHM(J);const ye=i.oxw(2);return i.KtG(ye.onAddClick(oe))}),i._UZ(1,"i",24),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("id",J.generatedId(J.controlName)+"_route_button")}}function me(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"button",25),i.NdJ("click",function(){i.CHM(J);const oe=i.oxw(2);return i.KtG(oe.onSearchClick(oe.searchRoute))}),i._UZ(1,"i"),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("id",J.generatedId(J.controlName)+"_search_button"),i.xp6(1),i.Tol(J.searchButtonIcon||"bi bi-search")}}function Oe(K,V){if(1&K){const J=i.EpF();i.TgZ(0,"button",26),i.NdJ("click",function(oe){i.CHM(J);const ye=i.oxw(2);return i.KtG(ye.onDetailsClick(oe))}),i._UZ(1,"i"),i.qZA()}if(2&K){const J=i.oxw(2);i.Q6J("id",J.generatedId(J.controlName)+"_details_button")("disabled",J.selectedItem?void 0:"true"),i.xp6(1),i.Tol(J.detailsButtonIcon||"bi-info-circle")}}function Se(K,V){if(1&K&&(i.ynx(0),i.TgZ(1,"div",7)(2,"div",8)(3,"button",9,10),i.YNc(5,N,1,2,"i",11),i.TgZ(6,"span",12),i._uU(7),i.qZA()(),i.TgZ(8,"div",13),i.YNc(9,j,1,2,"input",14),i.TgZ(10,"ul",15),i.YNc(11,F,3,4,"li",3),i.YNc(12,x,3,4,"li",3),i.YNc(13,P,2,1,"ng-container",16),i.qZA()()(),i.TgZ(14,"div"),i.YNc(15,X,2,1,"button",17),i.YNc(16,me,2,3,"button",18),i.YNc(17,Oe,2,4,"button",19),i.qZA()(),i.BQk()),2&K){const J=i.oxw();i.xp6(2),i.uIk("title",J.current.value),i.xp6(1),i.Udp("color",J.isNoColor?void 0:J.current.color||"#000000"),i.Q6J("id",J.generatedId(J.controlName))("disabled",J.isDisabled),i.xp6(2),i.Q6J("ngIf",!J.isNoIcon&&J.current.icon),i.xp6(1),i.ekj("input-select-label-icon",!J.isNoIcon&&J.current.icon),i.xp6(1),i.Oqu(J.current.value),i.xp6(1),i.Udp("width",J.dropdownWidth,"px"),i.uIk("aria-labelledby",J.generatedId(J.controlName)),i.xp6(1),i.Q6J("ngIf",J.isLiveSearch),i.xp6(1),i.Udp("max-height",J.listHeight,"px"),i.xp6(1),i.Q6J("ngIf",J.isNullable),i.xp6(1),i.Q6J("ngIf",J.isTodos),i.xp6(1),i.Q6J("ngForOf",J.items),i.xp6(2),i.Q6J("ngIf",J.addRoute&&J.dao),i.xp6(1),i.Q6J("ngIf",J.isSearch),i.xp6(1),i.Q6J("ngIf",J.isDetails)}}let wt=(()=>{class K extends a.M{set where(J){JSON.stringify(this._where)!=JSON.stringify(J)&&(this._where=J,this.loadItems())}get where(){return this._where}set itemTodos(J){this.itemTodosButton.value!=J&&(this.itemTodosButton.value=J)}get itemTodos(){return this.itemTodosButton.value}set itemNull(J){this.itemNullButton.value!=J&&(this.itemNullButton.value=J)}get itemNull(){return this.itemNullButton.value}set valueTodos(J){this.itemTodosButton.key!=J&&(this.itemTodosButton.key=J)}get valueTodos(){return this.itemTodosButton.key}set items(J){JSON.stringify(this._items)!=JSON.stringify(J)&&(this._items=J,this.setValue(this.currentValue),this.detectChanges())}get items(){return this._items}set control(J){this._control=J}get control(){return this.getControl()}set loading(J){this._loading!=J&&(this._loading=J,this.detectChanges())}get loading(){return this._loading}set size(J){this.setSize(J)}get size(){return this.getSize()}constructor(J){super(J),this.injector=J,this.class="form-group",this.change=new i.vpe,this.details=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.value=void 0,this.icon="bi bi-menu-button-wide",this.label="",this.labelInfo="",this.bold=!1,this.fields=[],this.dao=void 0,this.listHeight=200,this._items=[],this._loading=!1,this._where=void 0,this.filterControl=new t.NI(""),this.itemNullButton={key:null,value:" - "},this.itemTodosButton={key:void 0,value:""},this.itemDesconhecidoButton={key:"UNKNOW",value:""},this.go=J.get(A.o)}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>{this.dao&&this.loadItems(),this.control&&(this.control.valueChanges.subscribe(J=>this.setValue(J)),this.setValue(this.control.value))})}get isFullEntity(){return null!=this.fullEntity}get isNullable(){return null!=this.nullable}get isTodos(){return!!this.itemTodos?.length}get isNoIcon(){return null!=this.noIcon}get isNoColor(){return null!=this.noColor}get isLiveSearch(){return null!=this.liveSearch}get dropdownWidth(){return this.dropdownButton?.nativeElement.offsetWidth||10}isActive(J){return J.key==this.current.value}getStringId(J){return this.util.onlyAlphanumeric(JSON.stringify(J))}get currentValue(){return this.control?this.control.value:this.value}get current(){return this.isNullable&&null==this.currentValue?this.itemNullButton:this.isTodos&&this.currentValue==this.valueTodos?this.itemTodosButton:this.selectedItem?this.selectedItem:this.itemDesconhecidoButton}get selectedItem(){return this.items.find(J=>J.key==this.currentValue)}onFilterChange(){this.cdRef.detectChanges()}itemVisible(J){return(!this.filterControl.value?.length||new RegExp(this.filterControl.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i").test(J.value))&&(!this.filter?.length||this.filter.includes(J.key))}getSelectItemValue(J){return(this.fields.length?this.fields:this.dao?.inputSearchConfig.searchFields||[]).map(ae=>J[ae]).join(" - ")}loadItems(){this.loading=!0,this.detectChanges(),this.isFullEntity?this.dao?.query({where:this.where}).asPromise().then(J=>{this.loading=!1,this.items=J.map(ae=>({key:ae.id,value:this.getSelectItemValue(ae),data:ae}))||[]}):this.dao?.searchText("",this.fields.length?this.fields:void 0,this.where,this.orderBy).then(J=>{this.loading=!1,this.items=J.map(ae=>({key:ae.value,value:ae.text}))||[]})}get isDetails(){return void 0!==this.detailsButton}get isSearch(){return void 0!==this.searchButton}setValue(J){(this.control&&this.control.value!=J||this.value!=J)&&(this.value=J,this.control&&this.control.setValue(J),this.change&&this.change.emit(new Event("change")))}onDetailsClick(J){if(this.details&&(this.isNullable||typeof this.currentValue<"u")){const ae=this.items.find(oe=>oe.key==this.currentValue);this.details.emit({value:ae?.key,text:ae?.value||"",entity:ae?.data})}}onItemClick(J){this.setValue(J.key)}onAddClick(J){const ae=this.addRoute;ae.params=Object.assign(ae.params||{},{modal:!0}),this.go.navigate(this.addRoute,{modalClose:oe=>{oe?.length&&(this.control?.setValue(oe),this.loadItems())}})}onSearchClick(J){const ae=J;ae.params=Object.assign(ae?.params||{},{modal:!0}),this.go.navigate(J,{metadata:{selectable:!0},modalClose:oe=>{oe&&this.afterSearch&&this.afterSearch(oe)}})}static#e=this.\u0275fac=function(ae){return new(ae||K)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:K,selectors:[["input-select"]],viewQuery:function(ae,oe){if(1&ae&&(i.Gf(y,5),i.Gf(C,5)),2&ae){let ye;i.iGM(ye=i.CRH())&&(oe.inputElement=ye.first),i.iGM(ye=i.CRH())&&(oe.dropdownButton=ye.first)}},hostVars:2,hostBindings:function(ae,oe){2&ae&&i.Tol(oe.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",value:"value",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",fields:"fields",fullEntity:"fullEntity",dao:"dao",addRoute:"addRoute",searchRoute:"searchRoute",afterSearch:"afterSearch",form:"form",source:"source",path:"path",nullable:"nullable",noIcon:"noIcon",noColor:"noColor",liveSearch:"liveSearch",detailsButton:"detailsButton",detailsButtonIcon:"detailsButtonIcon",searchButton:"searchButton",searchButtonIcon:"searchButtonIcon",listHeight:"listHeight",prefix:"prefix",sufix:"sufix",required:"required",filter:"filter",orderBy:"orderBy",where:"where",itemTodos:"itemTodos",itemNull:"itemNull",valueTodos:"valueTodos",items:"items",control:"control",loading:"loading",size:"size"},outputs:{change:"change",details:"details"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:4,vars:12,consts:[[3,"labelPosition","labelClass","controlName","required","control","disabled","label","labelInfo","icon","bold"],[1,"input-group","dropdown"],["class","btn btn-light w-100","disabled","",4,"ngIf"],[4,"ngIf"],["disabled","",1,"btn","btn-light","w-100"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"],[1,"d-flex","w-100"],["data-bs-toggle","tooltip",1,"flex-grow-1","w-100"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-light","dropdown-toggle","w-100",3,"id","disabled"],["dropdownButton",""],[3,"class",4,"ngIf"],[1,"input-select-label","ms-1"],[1,"dropdown-menu","p-0"],["type","text","class","form-control","placeholder","Filtrar...",3,"formControl","id","change",4,"ngIf"],[1,"input-select-no-dots","p-0","m-0","input-select-list"],[4,"ngFor","ngForOf"],["class","btn btn-outline-success","type","button",3,"id","click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"id","click",4,"ngIf"],["class","btn btn-outline-secondary","type","button",3,"id","disabled","click",4,"ngIf"],["type","text","placeholder","Filtrar...",1,"form-control",3,"formControl","id","change"],[1,"dropdown-item",3,"id","click"],[1,"dropdown-item","text-wrap","text-break",3,"id","click"],["type","button",1,"btn","btn-outline-success",3,"id","click"],[1,"bi","bi-plus-circle"],["type","button",1,"btn","btn-outline-secondary",3,"id","click"],["type","button",1,"btn","btn-outline-secondary",3,"id","disabled","click"]],template:function(ae,oe){1&ae&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,b,4,0,"button",2),i.YNc(3,Se,18,21,"ng-container",3),i.qZA()()),2&ae&&(i.Q6J("labelPosition",oe.labelPosition)("labelClass",oe.labelClass)("controlName",oe.controlName)("required",oe.required)("control",oe.control)("disabled",oe.disabled)("label",oe.label)("labelInfo",oe.labelInfo)("icon",oe.icon)("bold",oe.bold),i.xp6(2),i.Q6J("ngIf",oe.loading),i.xp6(1),i.Q6J("ngIf",!oe.loading))},styles:[".input-select-no-dots[_ngcontent-%COMP%]{list-style-type:none}.input-select-list[_ngcontent-%COMP%]{overflow:overlay}.bootstrap-select[_ngcontent-%COMP%]{padding:0}.input-select-label[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:left;width:calc(100% - 15px);display:inline-block;line-height:1;max-width:350px}.input-select-label-icon[_ngcontent-%COMP%]{width:calc(100% - 30px)!important}"]})}return K})()},8820:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>Oe});var i=m(755),t=m(2133),A=m(645);const a=["checkbox"];function y(Se,wt){if(1&Se&&i._UZ(0,"i"),2&Se){const K=i.oxw(3);i.Tol(K.icon)}}function C(Se,wt){if(1&Se&&i._UZ(0,"i",8),2&Se){const K=i.oxw(3);i.s9C("title",K.labelInfo)}}function b(Se,wt){if(1&Se&&(i.TgZ(0,"label",6),i.YNc(1,y,1,2,"i",1),i._uU(2),i.YNc(3,C,1,1,"i",7),i.qZA()),2&Se){const K=i.oxw(2);i.ekj("me-3","small"==K.scale)("me-5","medium"==K.scale),i.s9C("for",K.generatedId(K.controlName)),i.xp6(1),i.Q6J("ngIf",K.icon.length),i.xp6(1),i.hij(" ",K.label," "),i.xp6(1),i.Q6J("ngIf",K.labelInfo.length)}}function N(Se,wt){if(1&Se){const K=i.EpF();i.TgZ(0,"input",9,10),i.NdJ("change",function(J){i.CHM(K);const ae=i.oxw(2);return i.KtG(ae.onChange(J))}),i.qZA()}if(2&Se){const K=i.oxw(2);i.Tol("form-check-input "+K.scaleClass),i.Q6J("id",K.generatedId(K.controlName)),i.uIk("disabled",!!K.isDisabled||void 0)}}function j(Se,wt){if(1&Se&&i._UZ(0,"i"),2&Se){const K=i.oxw(3);i.Tol(K.icon)}}function F(Se,wt){if(1&Se&&i._UZ(0,"i",8),2&Se){const K=i.oxw(3);i.s9C("title",K.labelInfo)}}function x(Se,wt){if(1&Se&&(i.TgZ(0,"label",11),i.YNc(1,j,1,2,"i",1),i._uU(2),i.YNc(3,F,1,1,"i",7),i.qZA()),2&Se){const K=i.oxw(2);i.s9C("for",K.generatedId(K.controlName)),i.xp6(1),i.Q6J("ngIf",K.icon.length),i.xp6(1),i.hij(" ",K.label," "),i.xp6(1),i.Q6J("ngIf",K.labelInfo.length)}}function H(Se,wt){if(1&Se&&(i.TgZ(0,"div"),i.YNc(1,b,4,8,"label",3),i.YNc(2,N,2,4,"input",4),i.YNc(3,x,4,4,"label",5),i.qZA()),2&Se){const K=i.oxw();i.Tol(K.containerClass),i.xp6(1),i.Q6J("ngIf","left"==K.labelPosition),i.xp6(1),i.Q6J("ngIf",K.viewInit),i.xp6(1),i.Q6J("ngIf","right"==K.labelPosition)}}function k(Se,wt){if(1&Se){const K=i.EpF();i.TgZ(0,"input",13,10),i.NdJ("change",function(J){i.CHM(K);const ae=i.oxw(2);return i.KtG(ae.onChange(J))}),i.qZA()}if(2&Se){const K=i.oxw(2);i.Q6J("id",K.generatedId(K.controlName)),i.uIk("disabled",!!K.isDisabled||void 0)}}function P(Se,wt){if(1&Se&&i._UZ(0,"i"),2&Se){const K=i.oxw(2);i.Tol(K.buttonIcon)}}function X(Se,wt){if(1&Se&&(i.ynx(0),i.YNc(1,k,2,2,"input",12),i.TgZ(2,"label"),i.YNc(3,P,1,2,"i",1),i._uU(4),i.qZA(),i.BQk()),2&Se){const K=i.oxw();i.xp6(1),i.Q6J("ngIf",K.viewInit),i.xp6(1),i.Tol("d-block btn "+(K.buttonColor||"btn-outline-success")),i.uIk("for",K.generatedId(K.controlName)),i.xp6(1),i.Q6J("ngIf",null==K.buttonIcon?null:K.buttonIcon.length),i.xp6(1),i.hij(" ",K.buttonCaption||""," ")}}const me=function(){return["right","left"]};let Oe=(()=>{class Se extends A.M{set value(K){this.setValue(K)}get value(){return this.getValue()}set control(K){this._control=K}get control(){return this.getControl()}set size(K){this.setSize(K)}get size(){return this.getSize()}constructor(K){super(K),this.injector=K,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this.scale="medium"}get scaleClass(){return"large"==this.scale?"switch-lg":"small"==this.scale?"switch-sm":"switch-md"}get containerClass(){return"form-check form-switch d-flex align-items-center"+("left"==this.labelPosition?" p-0 text-end justify-content-end me-2":"")}updateValue(K){this.value=K,this.checkbox&&(this.checkbox.nativeElement.checked=this.valueOn?this.valueOn==K:!!K)}ngAfterViewInit(){super.ngAfterViewInit(),this.control&&(this.control.valueChanges.subscribe(this.updateValue.bind(this)),this.value=this.control.value),this.updateValue(this.value)}get isButton(){return null!=this.button}onChange(K){const V=K.target.checked?this.valueOn||!0:this.valueOff||!1;this.control?.setValue(V),this.updateValue(V),this.change&&this.change.emit(K)}ngOnInit(){super.ngOnInit()}static#e=this.\u0275fac=function(V){return new(V||Se)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:Se,selectors:[["input-switch"]],viewQuery:function(V,J){if(1&V&&i.Gf(a,5),2&V){let ae;i.iGM(ae=i.CRH())&&(J.checkbox=ae.first)}},hostVars:2,hostBindings:function(V,J){2&V&&i.Tol(J.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",loading:"loading",form:"form",source:"source",path:"path",valueOn:"valueOn",valueOff:"valueOff",button:"button",buttonIcon:"buttonIcon",buttonColor:"buttonColor",buttonCaption:"buttonCaption",scale:"scale",required:"required",value:"value",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:3,vars:14,consts:[[3,"labelPosition","labelClass","controlName","required","control","disabled","label","labelInfo","icon","bold","hostClass"],[3,"class",4,"ngIf"],[4,"ngIf"],["class","form-check-label",3,"me-3","me-5","for",4,"ngIf"],["type","checkbox",3,"class","id","change",4,"ngIf"],["class","form-check-label ms-2",3,"for",4,"ngIf"],[1,"form-check-label",3,"for"],["class","bi bi-info-circle label-info text-muted","data-bs-toggle","tooltip","data-bs-placement","top",3,"title",4,"ngIf"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted",3,"title"],["type","checkbox",3,"id","change"],["checkbox",""],[1,"form-check-label","ms-2",3,"for"],["class","btn-check","type","checkbox",3,"id","change",4,"ngIf"],["type","checkbox",1,"btn-check",3,"id","change"]],template:function(V,J){1&V&&(i.TgZ(0,"input-container",0),i.YNc(1,H,4,5,"div",1),i.YNc(2,X,5,6,"ng-container",2),i.qZA()),2&V&&(i.Q6J("labelPosition",i.DdM(13,me).includes(J.labelPosition)?"none":J.labelPosition)("labelClass",J.labelClass)("controlName",J.controlName)("required",J.required)("control",J.control)("disabled",J.disabled)("label",J.label)("labelInfo",J.labelInfo)("icon",J.icon)("bold",J.bold)("hostClass",J.hostClass),i.xp6(1),i.Q6J("ngIf",!J.isButton),i.xp6(1),i.Q6J("ngIf",J.isButton))},styles:[".switch-md[type=checkbox][_ngcontent-%COMP%]{border-radius:1.5em!important;height:30px!important;width:60px!important}.switch-lg[type=checkbox][_ngcontent-%COMP%]{border-radius:1.5em!important;height:50px!important;width:100px!important}"]})}return Se})()},2392:(lt,_e,m)=>{"use strict";m.d(_e,{m:()=>j});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(F,x){if(1&F&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&F){const H=i.oxw();i.xp6(1),i.Oqu(H.prefix)}}function C(F,x){if(1&F){const H=i.EpF();i.TgZ(0,"input",6,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("keyup",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onKeyUp(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&F){const H=i.oxw();i.Gre("form-control ",H.hostClass,""),i.ekj("text-uppercase","upper"==H.textCase)("text-lowercase","lower"==H.textCase)("text-end",H.isNumbers||H.isRight)("is-invalid",H.isInvalid()),i.Q6J("type",H.isNumbers?"number":H.isPassword?"password":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("placeholder",null!=H.placeholder&&H.placeholder.length?H.placeholder:void 0)("value",H.control?void 0:H.value)("maxlength",H.maxLength?H.maxLength:void 0)}}function b(F,x){if(1&F){const H=i.EpF();i.TgZ(0,"input",8,7),i.NdJ("change",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onChange(P))})("keyup",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onKeyUp(P))})("keydown.enter",function(P){i.CHM(H);const X=i.oxw();return i.KtG(X.onEnterKeyDown(P))}),i.qZA()}if(2&F){const H=i.oxw();i.Gre("form-control ",H.hostClass,""),i.ekj("text-uppercase","upper"==H.textCase)("text-lowercase","lower"==H.textCase)("text-end",H.isNumbers||H.isRight)("is-invalid",H.isInvalid()),i.Q6J("type",H.isNumbers?"number":H.isPassword?"password":"text")("formControl",H.formControl)("id",H.generatedId(H.controlName))("mask",H.maskFormat)("dropSpecialCharacters",H.maskDropSpecialCharacters)("specialCharacters",H.maskSpecialCharacters)("readonly",H.isDisabled),i.uIk("min",H.minValue)("max",H.maxValue)("step",H.stepValue)("placeholder",null!=H.placeholder&&H.placeholder.length?H.placeholder:void 0)("value",H.control?void 0:H.value)("maxlength",H.maxLength?H.maxLength:250)}}function N(F,x){if(1&F&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&F){const H=i.oxw();i.xp6(1),i.Oqu(H.sufix)}}let j=(()=>{class F extends A.M{set control(H){this._control=H}get control(){return this.getControl()}set size(H){this.setSize(H)}get size(){return this.getSize()}constructor(H){super(H),this.injector=H,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-textarea-t",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.textCase="",this.maxLength=250,this.maskDropSpecialCharacters=!1,this.maskSpecialCharacters=["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"]}get isNumbers(){return void 0!==this.numbers}get isRight(){return void 0!==this.right}get isPassword(){return void 0!==this.password}ngOnInit(){super.ngOnInit()}onChange(H){this.change&&this.change.emit(H)}onKeyUp(H){let k=this.inputElement.nativeElement.value;this.buffer!=k&&(this.buffer=k,this.change&&this.change.emit(H))}static#e=this.\u0275fac=function(k){return new(k||F)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:F,selectors:[["input-text"]],viewQuery:function(k,P){if(1&k&&i.Gf(a,5),2&k){let X;i.iGM(X=i.CRH())&&(P.inputElement=X.first)}},hostVars:2,hostBindings:function(k,P){2&k&&i.Tol(P.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",numbers:"numbers",password:"password",textCase:"textCase",minValue:"minValue",maxValue:"maxValue",stepValue:"stepValue",prefix:"prefix",sufix:"sufix",form:"form",source:"source",path:"path",placeholder:"placeholder",maxLength:"maxLength",maskFormat:"maskFormat",right:"right",maskDropSpecialCharacters:"maskDropSpecialCharacters",required:"required",maskSpecialCharacters:"maskSpecialCharacters",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:6,vars:15,consts:[[3,"labelPosition","labelClass","required","controlName","control","loading","disabled","label","labelInfo","icon","bold"],[1,"input-group"],["class","input-group-text",4,"ngIf"],[3,"type","class","text-uppercase","text-lowercase","text-end","formControl","id","is-invalid","readonly","change","keyup","keydown.enter",4,"ngIf"],[3,"type","class","text-uppercase","text-lowercase","text-end","formControl","id","is-invalid","mask","dropSpecialCharacters","specialCharacters","readonly","change","keyup","keydown.enter",4,"ngIf"],[1,"input-group-text"],[3,"type","formControl","id","readonly","change","keyup","keydown.enter"],["inputElement",""],[3,"type","formControl","id","mask","dropSpecialCharacters","specialCharacters","readonly","change","keyup","keydown.enter"]],template:function(k,P){1&k&&(i.TgZ(0,"input-container",0)(1,"div",1),i.YNc(2,y,2,1,"span",2),i.YNc(3,C,2,21,"input",3),i.YNc(4,b,2,24,"input",4),i.YNc(5,N,2,1,"span",2),i.qZA()()),2&k&&(i.Q6J("labelPosition",P.labelPosition)("labelClass",P.labelClass)("required",P.required)("controlName",P.controlName)("control",P.control)("loading",P.loading)("disabled",P.disabled)("label",P.label)("labelInfo",P.labelInfo)("icon",P.icon)("bold",P.bold),i.xp6(2),i.Q6J("ngIf",P.prefix),i.xp6(1),i.Q6J("ngIf",P.viewInit&&!P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.viewInit&&P.maskFormat),i.xp6(1),i.Q6J("ngIf",P.sufix))},styles:["input[type=text][_ngcontent-%COMP%]:read-only, input[type=text][_ngcontent-%COMP%]:disabled{background-color:var(--bs-secondary-bg)}"]})}return F})()},4508:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>C});var i=m(755),t=m(2133),A=m(645);const a=["inputElement"];function y(b,N){if(1&b){const j=i.EpF();i.TgZ(0,"textarea",2,3),i.NdJ("change",function(x){i.CHM(j);const H=i.oxw();return i.KtG(H.onChange(x))})("keydown.enter",function(x){i.CHM(j);const H=i.oxw();return i.KtG(H.onEnterKeyDown(x))}),i.qZA()}if(2&b){const j=i.oxw();i.ekj("text-uppercase","upper"==j.textCase)("text-lowercase","lower"==j.textCase)("is-invalid",j.isInvalid()),i.Q6J("rows",j.rows)("formControl",j.formControl)("id",j.generatedId(j.controlName))("readonly",j.isDisabled),i.uIk("placeholder",null!=j.placeholder&&j.placeholder.length?j.placeholder:void 0)("value",j.control?void 0:j.value)}}let C=(()=>{class b extends A.M{set control(j){this._control=j}get control(){return this.getControl()}set size(j){this.setSize(j)}get size(){return this.getSize()}constructor(j){super(j),this.injector=j,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-textarea",this.label="",this.labelInfo="",this.bold=!1,this.value="",this.loading=!1,this.textCase="",this.rows=0}ngOnInit(){super.ngOnInit()}onChange(j){this.change&&this.change.emit(j)}static#e=this.\u0275fac=function(F){return new(F||b)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:b,selectors:[["input-textarea"]],viewQuery:function(F,x){if(1&F&&i.Gf(a,5),2&F){let H;i.iGM(H=i.CRH())&&(x.inputElement=H.first)}},hostVars:2,hostBindings:function(F,x){2&F&&i.Tol(x.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",loading:"loading",textCase:"textCase",rows:"rows",form:"form",source:"source",path:"path",placeholder:"placeholder",required:"required",control:"control",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:2,vars:12,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],["class","form-control",3,"rows","text-uppercase","text-lowercase","formControl","id","is-invalid","readonly","change","keydown.enter",4,"ngIf"],[1,"form-control",3,"rows","formControl","id","readonly","change","keydown.enter"],["inputElement",""]],template:function(F,x){1&F&&(i.TgZ(0,"input-container",0),i.YNc(1,y,2,12,"textarea",1),i.qZA()),2&F&&(i.Q6J("labelPosition",x.labelPosition)("labelClass",x.labelClass)("controlName",x.controlName)("required",x.required)("control",x.control)("loading",x.loading)("disabled",x.disabled)("label",x.label)("labelInfo",x.labelInfo)("icon",x.icon)("bold",x.bold),i.xp6(1),i.Q6J("ngIf",x.viewInit))},styles:["textarea[_ngcontent-%COMP%]:read-only, textarea[_ngcontent-%COMP%]:disabled{background-color:var(--bs-secondary-bg)}"]})}return b})()},3085:(lt,_e,m)=>{"use strict";m.d(_e,{u:()=>x});var i=m(755),t=m(2133),A=m(8720),a=m(9193),y=m(645);const C=["inputElement"];function b(H,k){if(1&H&&(i.TgZ(0,"div",7)(1,"label"),i._uU(2," Dias \xfateis "),i._UZ(3,"i",8),i.qZA(),i.TgZ(4,"div",9),i._UZ(5,"input",10),i.TgZ(6,"span",11),i._uU(7),i.qZA()()()),2&H){const P=i.oxw();i.xp6(1),i.uIk("for",P.generatedId(P.controlName)+"_group"),i.xp6(2),i.MGl("title","",P.hoursPerDay," horas di\xe1rias"),i.xp6(1),i.Q6J("id",P.generatedId(P.controlName)+"_group"),i.xp6(3),i.Oqu(P.getDaysInHours())}}function N(H,k){if(1&H&&(i.TgZ(0,"div",7)(1,"label"),i._uU(2,"Horas e Minutos"),i.qZA(),i.TgZ(3,"div",12),i._UZ(4,"input",13),i.TgZ(5,"span",11),i._uU(6,":"),i.qZA(),i._UZ(7,"input",14),i.qZA()()),2&H){const P=i.oxw();i.xp6(1),i.uIk("for",P.generatedId(P.controlName)+"_group_timer"),i.xp6(2),i.Q6J("id",P.generatedId(P.controlName)+"_group_timer")}}function j(H,k){if(1&H&&(i.TgZ(0,"div",7)(1,"label",15),i._uU(2,"Horas"),i.qZA(),i._UZ(3,"input",16),i.qZA()),2&H){const P=i.oxw();i.xp6(3),i.uIk("max",P.hoursPerDay)}}function F(H,k){1&H&&(i.TgZ(0,"div",7)(1,"label",17),i._uU(2,"Minutos"),i.qZA(),i._UZ(3,"input",18),i.qZA())}let x=(()=>{class H extends y.M{set control(P){this._control=P}get control(){return this.getControl()}set hoursPerDay(P){this._hoursPerDay=P,this.updateForm(this.value),this.detectChanges()}get hoursPerDay(){return this._hoursPerDay}set size(P){this.setSize(P)}get size(){return this.getSize()}constructor(P){super(P),this.injector=P,this.class="form-group",this.change=new i.vpe,this.hostClass="",this.labelPosition="top",this.controlName=null,this.icon="bi bi-clock",this.label="",this.labelInfo="",this.bold=!1,this.loading=!1,this._hoursPerDay=24,this.util=P.get(a.f),this.fh=P.get(A.k),this.formDropdown=this.fh.FormBuilder({days:{default:0},hours:{default:0},minutes:{default:0}})}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){if(super.ngAfterViewInit(),this.control){const P=X=>{this.updateValue(X),this.updateForm(X)};this.control.valueChanges.subscribe(P),P(this.control.value)}this.formDropdown.valueChanges.subscribe(P=>{const me=P.days*this.hoursPerDay+P.hours+Math.round(P.minutes*(100/60))/100;this.updateValue(Math.max(me,0))})}get isOnlyHours(){return void 0!==this.onlyHours}get isOnlyDays(){return void 0!==this.onlyDays}getDaysInHours(){const P=this.formDropdown.controls.days.value;return P?P*this.hoursPerDay+" horas":" - Nenhum - "}updateValue(P){this.value!=P&&(this.value=P,this.control&&this.control.value!=P&&this.control.setValue(P,{emitEvent:!1}),this.change&&this.change.emit(new Event("change")),this.cdRef.detectChanges())}updateForm(P){const X=P?this.util.decimalToTimer(P,this.isOnlyHours,this.hoursPerDay):{days:0,hours:0,minutes:0};JSON.stringify({days:this.formDropdown.controls.days.value,hours:this.formDropdown.controls.hours.value,minutes:this.formDropdown.controls.minutes.value})!=JSON.stringify(X)&&this.formDropdown.patchValue(X,{emitEvent:!1})}getButtonText(){return null!=this.value?this.util.decimalToTimerFormated(this.value,this.isOnlyHours,this.hoursPerDay):" - Vazio - "}static#e=this.\u0275fac=function(X){return new(X||H)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:H,selectors:[["input-timer"]],viewQuery:function(X,me){if(1&X&&i.Gf(C,5),2&X){let Oe;i.iGM(Oe=i.CRH())&&(me.inputElement=Oe.first)}},hostVars:2,hostBindings:function(X,me){2&X&&i.Tol(me.class)},inputs:{hostClass:"hostClass",labelPosition:"labelPosition",controlName:"controlName",disabled:"disabled",icon:"icon",label:"label",labelInfo:"labelInfo",labelClass:"labelClass",bold:"bold",value:"value",onlyHours:"onlyHours",onlyDays:"onlyDays",loading:"loading",form:"form",source:"source",path:"path",required:"required",control:"control",hoursPerDay:"hoursPerDay",size:"size"},outputs:{change:"change"},features:[i._Bn([],[{provide:t.gN,useExisting:t.sg}]),i.qOj],decls:11,vars:23,consts:[[3,"labelPosition","labelClass","controlName","required","control","loading","disabled","label","labelInfo","icon","bold"],[1,"dropdown","d-grid"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-outline-secondary","text-end"],["inputElement",""],[1,"dropdown-menu","timer-dropdown"],[1,"px-4","py-3",3,"formGroup"],["class","mb-3",4,"ngIf"],[1,"mb-3"],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info",3,"title"],[1,"input-group","mb-3",3,"id"],["type","number","formControlName","days","step","1",1,"form-control"],[1,"input-group-text"],[1,"input-group","col-6","mb-3",3,"id"],["type","number","formControlName","hours","step","1",1,"form-control"],["type","number","formControlName","minutes","step","1",1,"form-control"],["for","horas",1,"form-label"],["type","range","min","0","id","horas","formControlName","hours",1,"form-range"],["for","minutos",1,"form-label"],["type","range","min","0","max","59","id","minutos","formControlName","minutes",1,"form-range"]],template:function(X,me){1&X&&(i.TgZ(0,"input-container",0)(1,"div",1)(2,"button",2,3),i._uU(4),i.qZA(),i.TgZ(5,"div",4)(6,"form",5),i.YNc(7,b,8,4,"div",6),i.YNc(8,N,8,2,"div",6),i.YNc(9,j,4,1,"div",6),i.YNc(10,F,4,0,"div",6),i.qZA()()()()),2&X&&(i.Q6J("labelPosition",me.labelPosition)("labelClass",me.labelClass)("controlName",me.controlName)("required",me.required)("control",me.control)("loading",me.loading)("disabled",me.disabled)("label",me.label)("labelInfo",me.labelInfo)("icon",me.icon)("bold",me.bold),i.xp6(2),i.ekj("dropdown-toggle",!me.isDisabled)("disabled",me.isDisabled),i.uIk("id",me.generatedId(me.controlName)+"_timer_dropdown"),i.xp6(2),i.hij(" ",me.getButtonText()," "),i.xp6(1),i.uIk("aria-labelledby",me.generatedId(me.controlName)+"_timer_dropdown"),i.xp6(1),i.Q6J("formGroup",me.formDropdown),i.xp6(1),i.Q6J("ngIf",!me.isOnlyHours),i.xp6(1),i.Q6J("ngIf",!me.isOnlyDays),i.xp6(1),i.Q6J("ngIf",!me.isOnlyHours&&!me.isOnlyDays),i.xp6(1),i.Q6J("ngIf",!me.isOnlyDays))},styles:[".timer-dropdown[_ngcontent-%COMP%]{min-width:230px}"]})}return H})()},6152:(lt,_e,m)=>{"use strict";m.d(_e,{m:()=>pt});var i=m(8239),t=m(755),A=m(4502),a=m(9193),y=m(2307);const C=["docker"],b=function(Nt){return{docker:Nt}};function N(Nt,Jt){if(1&Nt&&t.GkF(0,11),2&Nt){const nt=t.oxw(2);t.Q6J("ngTemplateOutlet",nt.titleTemplate)("ngTemplateOutletContext",t.VKq(2,b,nt))}}function j(Nt,Jt){if(1&Nt&&t._UZ(0,"i"),2&Nt){const nt=t.oxw(2);t.Tol(nt.icon)}}function F(Nt,Jt){if(1&Nt&&(t.TgZ(0,"span",12),t._UZ(1,"i"),t._uU(2),t.qZA()),2&Nt){const nt=Jt.$implicit,ot=t.oxw(2);t.Akn(ot.getLabelStyle(nt)),t.xp6(1),t.Tol(nt.icon),t.xp6(1),t.hij(" ",nt.value," ")}}function x(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",7),t.YNc(1,N,1,4,"ng-container",8),t.YNc(2,j,1,2,"i",9),t._uU(3),t.YNc(4,F,3,5,"span",10),t.qZA()),2&Nt){const nt=t.oxw();t.xp6(1),t.Q6J("ngIf",nt.titleTemplate),t.xp6(1),t.Q6J("ngIf",null==nt.icon?null:nt.icon.length),t.xp6(1),t.hij(" ",nt.title," "),t.xp6(1),t.Q6J("ngForOf",nt.labels)}}function H(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw(2);return t.KtG(Ct.onEditClick())}),t._UZ(1,"i",17),t.qZA()}}function k(Nt,Jt){if(1&Nt&&t._UZ(0,"i",3),2&Nt){const nt=t.oxw().$implicit;t.Tol(nt.icon),t.Q6J("title",nt.hint)}}function P(Nt,Jt){1&Nt&&t._UZ(0,"hr",27)}function X(Nt,Jt){if(1&Nt&&t._UZ(0,"i"),2&Nt){const nt=t.oxw(2).$implicit;t.Tol(nt.icon)}}function me(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"a",28),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw().$implicit,He=t.oxw(4);return t.KtG(He.onButtonClick(Ct))}),t.YNc(1,X,1,2,"i",9),t._uU(2),t.qZA()}if(2&Nt){const nt=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",null==nt.icon?null:nt.icon.length),t.xp6(1),t.hij(" ",nt.label||"","")}}function Oe(Nt,Jt){if(1&Nt&&(t.TgZ(0,"li"),t.YNc(1,P,1,0,"hr",25),t.YNc(2,me,3,2,"a",26),t.qZA()),2&Nt){const nt=Jt.$implicit;t.xp6(1),t.Q6J("ngIf",nt.divider),t.xp6(1),t.Q6J("ngIf",!nt.divider)}}function Se(Nt,Jt){if(1&Nt&&(t.TgZ(0,"ul",23),t.YNc(1,Oe,3,2,"li",24),t.qZA()),2&Nt){const nt=t.oxw().$implicit,ot=t.MAs(2),Ct=t.oxw(2);t.uIk("aria-labelledby",Ct.buttonId(nt)),t.xp6(1),t.Q6J("ngForOf",Ct.getButtonItems(ot,nt))}}function wt(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"div",18)(1,"button",19,20),t.NdJ("click",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onButtonClick(He))}),t.YNc(3,k,1,3,"i",21),t._uU(4),t.qZA(),t.YNc(5,Se,2,2,"ul",22),t.qZA()}if(2&Nt){const nt=Jt.$implicit,ot=t.oxw(2);t.xp6(1),t.Tol("btn btn-sm "+(nt.color||"btn-outline-primary")),t.ekj("dropdown-toggle",ot.hasButtonItems(nt)),t.uIk("id",ot.buttonId(nt))("data-bs-toggle",ot.hasButtonItems(nt)?"dropdown":void 0),t.xp6(2),t.Q6J("ngIf",null==nt.icon?null:nt.icon.length),t.xp6(1),t.hij(" ",nt.label||""," "),t.xp6(1),t.Q6J("ngIf",ot.hasButtonItems(nt))}}function K(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",13),t.YNc(1,H,2,0,"button",14),t.YNc(2,wt,6,9,"div",15),t.qZA()),2&Nt){const nt=t.oxw();t.xp6(1),t.Q6J("ngIf",nt.isEditable&&!(null!=nt.kanban&&nt.kanban.editing)),t.xp6(1),t.Q6J("ngForOf",nt.menu)}}function V(Nt,Jt){if(1&Nt&&t.GkF(0,11),2&Nt){const nt=t.oxw(2);t.Q6J("ngTemplateOutlet",nt.editTemplate)("ngTemplateOutletContext",t.VKq(2,b,nt))}}function J(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",7),t.YNc(1,V,1,4,"ng-container",8),t.qZA()),2&Nt){const nt=t.oxw();t.xp6(1),t.Q6J("ngIf",nt.editTemplate)}}function ae(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"div",13)(1,"button",16),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw();return t.KtG(Ct.onSaveClick())}),t._UZ(2,"i",29),t.qZA(),t.TgZ(3,"button",30),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw();return t.KtG(Ct.onDeleteClick())}),t._UZ(4,"i",31),t.qZA(),t.TgZ(5,"button",32),t.NdJ("click",function(){t.CHM(nt);const Ct=t.oxw();return t.KtG(Ct.onCancelClick())}),t._UZ(6,"i",33),t.qZA()()}}function oe(Nt,Jt){1&Nt&&(t.TgZ(0,"div",40)(1,"div",41),t._UZ(2,"span",42),t.qZA()())}function ye(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",43)(1,"div",44),t._UZ(2,"i",45),t._uU(3," Vazio "),t.qZA()()),2&Nt){const nt=t.oxw(2);t.xp6(1),t.Udp("height",nt.emptyCardHeight)}}function Ee(Nt,Jt){if(1&Nt&&(t.TgZ(0,"div",44),t._uU(1,"..."),t.qZA()),2&Nt){const nt=t.oxw(2);t.Udp("height",nt.emptyCardHeight,"px")}}const Ge=function(){return{}};function gt(Nt,Jt){if(1&Nt&&t.GkF(0,11),2&Nt){const nt=t.oxw(2);t.Q6J("ngTemplateOutlet",nt.placeholderTemplate)("ngTemplateOutletContext",t.DdM(2,Ge))}}function Ze(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"card",46),t.NdJ("dndStart",function(Ct){const mt=t.CHM(nt).$implicit,vt=t.oxw(2);return t.KtG(vt.onDragStart(Ct,mt))})("dndCopied",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"copy"))})("dndLinked",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"link"))})("dndMoved",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"move"))})("dndCanceled",function(){const He=t.CHM(nt).$implicit,mt=t.oxw(2);return t.KtG(mt.onDragged(He,mt.cards,"none"))})("dndEnd",function(Ct){t.CHM(nt);const He=t.oxw(2);return t.KtG(He.onDragEnd(Ct))}),t.qZA()}if(2&Nt){const nt=Jt.$implicit,ot=t.oxw(2);t.Q6J("kanban",ot.kanban)("docker",ot)("item",nt)("template",ot.template)("dndDraggable",nt)("dndDisableIf",!1),t.uIk("id",nt.id)}}const Je=function(){return["card"]};function tt(Nt,Jt){if(1&Nt){const nt=t.EpF();t.TgZ(0,"div",34),t.NdJ("dndDrop",function(Ct){t.CHM(nt);const He=t.oxw();return t.KtG(He.onDrop(Ct,He.cards))}),t.Hsn(1),t.YNc(2,oe,3,0,"div",35),t.YNc(3,ye,4,2,"div",36),t.TgZ(4,"div",37),t.YNc(5,Ee,2,2,"div",38),t.YNc(6,gt,1,3,"ng-container",8),t.qZA(),t.YNc(7,Ze,1,7,"card",39),t.qZA()}if(2&Nt){const nt=t.oxw();t.Udp("min-height",nt.emptyCardHeight,"px"),t.Q6J("dndDropzone",t.DdM(9,Je))("dndDisableIf",nt.disableDropIf),t.xp6(2),t.Q6J("ngIf",null==nt.kanban?null:nt.kanban.loading),t.xp6(1),t.Q6J("ngIf",!(nt.cards.length||null!=nt.kanban&&nt.kanban.loading||null!=nt.kanban&&nt.kanban.dragItem)),t.xp6(2),t.Q6J("ngIf",!nt.placeholderTemplate),t.xp6(1),t.Q6J("ngIf",nt.placeholderTemplate),t.xp6(1),t.Q6J("ngForOf",nt.cards)}}const Qe=["*"];let pt=(()=>{class Nt{get class(){return"kanban-docker"+(this.collapse?" kanban-docker-collapsed":"")+(this.marginRight?" docker-margin-right":"")}set collapse(nt){nt!=this._collapse&&(this._collapse=nt,this.swimlane?.dockers&&(this.swimlane.width=this.swimlaneWidth,this.swimlane.cdRef.detectChanges()))}get collapse(){return this._collapse}get marginLeft(){return(this.swimlane?.dockers||[]).length>1&&!!this.swimlane?.dockers?.find(nt=>nt.collapse)&&this!=this.swimlane?.dockers?.get(0)}get marginRight(){return this.collapse&&(this.swimlane?.dockers||[]).length>1&&this==this.swimlane?.dockers?.last}set editing(nt){this._editing!=nt&&(this._editing=nt,this.kanban?.editingChange())}get editing(){return this._editing}set template(nt){this._template!=nt&&(this._template=nt)}get template(){return this._template||this.kanban?.template}set placeholderTemplate(nt){this._placeholderTemplate!=nt&&(this._placeholderTemplate=nt,this.cdRef.detectChanges())}get placeholderTemplate(){return this._placeholderTemplate||this.kanban?.placeholderTemplate}set kanban(nt){this._kanban!=nt&&(this._kanban=nt,this.cdRef.detectChanges())}get kanban(){return this._kanban}constructor(nt,ot,Ct,He,mt){this.swimlane=nt,this.cdRef=ot,this.util=Ct,this.go=He,this.renderer=mt,this.title="",this.cards=[],this.menu=[],this.labels=[],this.dropIf=vt=>!0,this.emptyCardHeight=65,this._editing=!1,this._collapse=!1}ngOnInit(){var nt=this;this.editing&&(0,i.Z)(function*(){yield nt.onEditClick()})()}ngAfterViewInit(){this.kanban?.editingChange(),this.swimlane&&(this.swimlane.width=this.swimlaneWidth),this.swimlane?.cdRef.detectChanges(),this.kanban?.cdRef.detectChanges()}get isEditable(){return null!=this.editable}get alone(){return!0}buttonId(nt){return"button_"+this.util.md5((nt.icon||"")+(nt.hint||"")+(nt.label||""))}onEditClick(){var nt=this;return(0,i.Z)(function*(){nt.edit&&(yield nt.edit(nt)),nt.editing=!0,nt.kanban?.cdRef.detectChanges()})()}onButtonClick(nt){nt.route?this.go.navigate(nt.route,nt.metadata):nt.onClick&&nt.onClick(this,this.swimlane)}onSaveClick(){var nt=this;return(0,i.Z)(function*(){nt.save&&(yield nt.save(nt))&&(nt.editing=!1,nt.kanban?.cdRef.detectChanges())})()}onDeleteClick(){var nt=this;return(0,i.Z)(function*(){nt.delete&&(yield nt.delete(nt)),nt.editing=!1,nt.kanban?.cdRef.detectChanges()})()}onCancelClick(){var nt=this;return(0,i.Z)(function*(){nt.cancel&&(yield nt.cancel(nt)),nt.editing=!1,nt.kanban?.cdRef.detectChanges()})()}onCollapseClick(){this.collapse=!this.collapse,this.kanban?.cdRef.detectChanges(),this.toggle&&this.toggle(this,this.collapse)}get swimlaneWidth(){const nt=this.swimlane?.dockers;return screen.width>575&&nt?.find(ot=>ot.collapse)?"max-content":"min-content"}get offsetWidth(){return this.docker?.nativeElement.offsetWidth||400}hasButtonItems(nt){return!!nt.items||!!nt.dynamicItems}getButtonItems(nt,ot){return nt.className.includes("show")&&(ot.dynamicItems&&ot.dynamicItems(this)||ot.items)||[]}onDragStart(nt,ot){this.kanban.dragItem=ot,this.cdRef.detectChanges()}get disableDropIf(){return this.kanban?.editing||!!this.kanban?.dragItem&&!this.dropIf(this.kanban.dragItem)}getLabelStyle(nt){const ot=nt.color||"#000000";return`background-color: ${ot}; color: ${this.util.contrastColor(ot)};`}onDragged(nt,ot,Ct){if(this.dragged)this.dragged(nt,ot,Ct);else if("move"===Ct){const He=ot.indexOf(nt);ot.splice(He,1)}}onDragEnd(nt){this.kanban.dragItem=void 0,this.cdRef.detectChanges()}onDrop(nt,ot){if(this.drop)this.drop(nt,ot);else if(ot&&("copy"===nt.dropEffect||"move"===nt.dropEffect)){let Ct=nt.index;typeof Ct>"u"&&(Ct=ot.length),ot.splice(Ct,0,nt.data)}}static#e=this.\u0275fac=function(ot){return new(ot||Nt)(t.Y36((0,t.Gpc)(()=>A.x)),t.Y36(t.sBO),t.Y36(a.f),t.Y36(y.o),t.Y36(t.Qsj))};static#t=this.\u0275cmp=t.Xpm({type:Nt,selectors:[["docker"]],viewQuery:function(ot,Ct){if(1&ot&&t.Gf(C,5),2&ot){let He;t.iGM(He=t.CRH())&&(Ct.docker=He.first)}},hostVars:2,hostBindings:function(ot,Ct){2&ot&&t.Tol(Ct.class)},inputs:{title:"title",key:"key",cards:"cards",menu:"menu",labels:"labels",editable:"editable",color:"color",colorStyle:"colorStyle",icon:"icon",toggle:"toggle",dragged:"dragged",drop:"drop",dropIf:"dropIf",edit:"edit",save:"save",cancel:"cancel",delete:"delete",emptyCardHeight:"emptyCardHeight",editTemplate:"editTemplate",titleTemplate:"titleTemplate",collapse:"collapse",editing:"editing",template:"template",placeholderTemplate:"placeholderTemplate"},ngContentSelectors:Qe,decls:10,vars:15,consts:[["docker",""],["dndHandle","",1,"card-header","d-flex","align-items-center","w-100","p-2"],["type","button",1,"btn","btn-sm","btn-outline-secondary","me-2",3,"click"],["data-bs-toggle","tooltip","data-bs-placement","top",3,"title"],["class","flex-fill",4,"ngIf"],["class","btn-group","role","group","aria-label","Op\xe7\xf5es",4,"ngIf"],["class","docker-fixed-size card-body p-0 px-1","dndEffectAllowed","move",3,"min-height","dndDropzone","dndDisableIf","dndDrop",4,"ngIf"],[1,"flex-fill"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"class",4,"ngIf"],["class","badge me-1","role","button",3,"style",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","button",1,"badge","me-1"],["role","group","aria-label","Op\xe7\xf5es",1,"btn-group"],["type","button","class","btn btn-sm btn-outline-primary",3,"click",4,"ngIf"],["class","btn-group","role","group",4,"ngFor","ngForOf"],["type","button",1,"btn","btn-sm","btn-outline-primary",3,"click"],["data-bs-toggle","tooltip","data-bs-placement","top","title","Editar",1,"bi","bi-gear"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"click"],["itemsButton",""],["data-bs-toggle","tooltip","data-bs-placement","top",3,"class","title",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"click"],[1,"bi","bi-check-circle"],["type","button",1,"btn","btn-sm","btn-outline-danger",3,"click"],[1,"bi","bi-trash"],["type","button",1,"btn","btn-sm","btn-outline-success",3,"click"],[1,"bi","bi-dash-circle"],["dndEffectAllowed","move",1,"docker-fixed-size","card-body","p-0","px-1",3,"dndDropzone","dndDisableIf","dndDrop"],["class","d-flex justify-content-center my-2",4,"ngIf"],["class","card my-1",4,"ngIf"],["dndPlaceholderRef","",1,"card","my-1"],["class","card-body align-middle text-center",3,"height",4,"ngIf"],["dndEffectAllowed","move","dndType","card",3,"kanban","docker","item","template","dndDraggable","dndDisableIf","dndStart","dndCopied","dndLinked","dndMoved","dndCanceled","dndEnd",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","my-2"],["role","status",1,"spinner-border"],[1,"visually-hidden"],[1,"card","my-1"],[1,"card-body","align-middle","text-center"],[1,"bi","bi-slash-circle"],["dndEffectAllowed","move","dndType","card",3,"kanban","docker","item","template","dndDraggable","dndDisableIf","dndStart","dndCopied","dndLinked","dndMoved","dndCanceled","dndEnd"]],template:function(ot,Ct){1&ot&&(t.F$t(),t.TgZ(0,"div",null,0)(2,"div",1)(3,"button",2),t.NdJ("click",function(){return Ct.onCollapseClick()}),t._UZ(4,"i",3),t.qZA(),t.YNc(5,x,5,4,"div",4),t.YNc(6,K,3,2,"div",5),t.YNc(7,J,2,1,"div",4),t.YNc(8,ae,7,0,"div",5),t.qZA(),t.YNc(9,tt,8,10,"div",6),t.qZA()),2&ot&&(t.Tol("docker card mb-3 "+(Ct.color||"border-primary")),t.ekj("docker-margin-left",Ct.marginLeft)("docker-collapsed",Ct.collapse&&Ct.alone),t.uIk("style",Ct.colorStyle,t.Ckj),t.xp6(4),t.Tol("bi "+(Ct.collapse?"bi bi-plus":"bi bi-dash")),t.Q6J("title",Ct.collapse?"Expandir lista":"Contrair lista"),t.xp6(1),t.Q6J("ngIf",!Ct.editing),t.xp6(1),t.Q6J("ngIf",!(null!=Ct.kanban&&Ct.kanban.editing||Ct.collapse||Ct.editing)),t.xp6(1),t.Q6J("ngIf",Ct.editing),t.xp6(1),t.Q6J("ngIf",Ct.editing),t.xp6(1),t.Q6J("ngIf",!Ct.collapse))},styles:[".dndDropzoneDisabled[_ngcontent-%COMP%]{cursor:no-drop}@media only screen and (min-width: 576px){.docker-collapsed[_ngcontent-%COMP%]{transform:translateY(50%) rotate(90deg);transform-origin:25px 25px;margin-top:-25px;min-width:400px}.docker-fixed-size[_ngcontent-%COMP%]{width:380px}.docker-margin-left[_ngcontent-%COMP%]{margin-left:20px}}.dndDraggingSource[_ngcontent-%COMP%]{display:none}"]})}return Nt})()},8189:(lt,_e,m)=>{"use strict";m.d(_e,{C:()=>j});var i=m(4893),t=m(4502),A=m(755);const a=["kanbanContainer"],y=function(){return[]};function C(F,x){if(1&F&&(A.TgZ(0,"swimlane",6),A._UZ(1,"docker",7),A.qZA()),2&F){const H=x.$implicit,k=x.index,P=A.oxw();A.Q6J("key","SL"+k)("kanban",P)("docker",H),A.xp6(1),A.Q6J("key",k)("editable",k>0?"true":void 0)("collapse",H.collapse)("editing",!!H.editing)("title",H.title||"")("editTemplate",P.dockerEditTemplate)("toggle",P.dockerToggle)("edit",P.dockerEdit)("save",P.dockerSave)("delete",P.dockerDelete)("cancel",P.dockerCancel)("colorStyle",P.dockerColorStyle?P.dockerColorStyle(H):void 0)("dragged",P.dockerDragged)("drop",P.dockerDrop)("labels",H.labels)("menu",H.menu||A.DdM(20,y))("cards",H.cards||A.DdM(21,y))}}const b=function(){return["swimlane"]},N=["*"];let j=(()=>{class F{set loading(H){this._loading!=H&&(this._loading=H,this.cdRef.detectChanges())}get loading(){return this._loading}set template(H){this._template!=H&&(this._template=H,this.cdRef.detectChanges())}get template(){return this._template}set placeholderTemplate(H){this._placeholderTemplate!=H&&(this._placeholderTemplate=H,this.cdRef.detectChanges())}get placeholderTemplate(){return this._placeholderTemplate}constructor(H){this.cdRef=H,this.dockers=[],this.dragSwimlanes=!0,this.editing=!1,this._loading=!1}ngOnInit(){}ngAfterViewInit(){this.broadcastKanban(this.swimlanes?.toArray()||[]),this.swimlanes?.changes.pipe((0,i.g)(0)).subscribe(()=>{this.broadcastKanban(this.swimlanes?.toArray()||[])})}refreshDoubleScrollbar(){}broadcastKanban(H){for(let k of H)k.kanban=this}editingChange(){this.editing=!!this.swimlanes?.some(H=>!!H.dockers?.some(k=>k.editing))}onSwimlaneDrop(H){const k=this.dockers.indexOf(this.swimlaneDragging.docker);this.swimlaneDrop&&this.swimlaneDrop(H,k)}static#e=this.\u0275fac=function(k){return new(k||F)(A.Y36(A.sBO))};static#t=this.\u0275cmp=A.Xpm({type:F,selectors:[["kanban"]],contentQueries:function(k,P,X){if(1&k&&A.Suo(X,t.x,5),2&k){let me;A.iGM(me=A.CRH())&&(P.swimlanes=me)}},viewQuery:function(k,P){if(1&k&&A.Gf(a,5),2&k){let X;A.iGM(X=A.CRH())&&(P.kanbanContainer=X.first)}},inputs:{swimlaneDragged:"swimlaneDragged",swimlaneDrop:"swimlaneDrop",dockerToggle:"dockerToggle",dockerEdit:"dockerEdit",dockerSave:"dockerSave",dockerCancel:"dockerCancel",dockerDelete:"dockerDelete",dockerDragged:"dockerDragged",dockerDrop:"dockerDrop",dockerColorStyle:"dockerColorStyle",dockerEditTemplate:"dockerEditTemplate",useCardData:"useCardData",context:"context",dockers:"dockers",dragSwimlanes:"dragSwimlanes",loading:"loading",template:"template",placeholderTemplate:"placeholderTemplate"},ngContentSelectors:N,decls:7,vars:6,consts:[["doubleScrollBarHorizontal","always",1,"d-block","mt-2"],["doubleScrollbar",""],["dndEffectAllowed","move",1,"kanban","d-flex","flex-column","flex-md-row","flex-nowrap","justify-content-start","text-dark","mt-2",2,"min-height","410px",3,"dndDropzone","dndHorizontal","dndDisableIf","dndDrop"],["kanbanContainer",""],["placeholder","","dndPlaceholderRef","",3,"kanban"],[3,"key","kanban","docker",4,"ngFor","ngForOf"],[3,"key","kanban","docker"],[3,"key","editable","collapse","editing","title","editTemplate","toggle","edit","save","delete","cancel","colorStyle","dragged","drop","labels","menu","cards"]],template:function(k,P){1&k&&(A.F$t(),A.TgZ(0,"double-scrollbar",0,1)(2,"div",2,3),A.NdJ("dndDrop",function(me){return P.onSwimlaneDrop(me)}),A._UZ(4,"swimlane",4),A.YNc(5,C,2,22,"swimlane",5),A.Hsn(6),A.qZA()()),2&k&&(A.xp6(2),A.Q6J("dndDropzone",A.DdM(5,b))("dndHorizontal",!0)("dndDisableIf",!P.dragSwimlanes),A.xp6(2),A.Q6J("kanban",P),A.xp6(1),A.Q6J("ngForOf",P.dockers))},styles:["[_nghost-%COMP%] .draggable-card{display:block}.kanban[_ngcontent-%COMP%]{height:100%}.dndDraggingSource[_ngcontent-%COMP%]{display:none}"]})}return F})()},4502:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>F});var i=m(4575),t=m(4893),A=m(6152),a=m(755);const y=["swimlane"];function C(x,H){if(1&x){const k=a.EpF();a.TgZ(0,"div",2,3),a.NdJ("dndStart",function(X){a.CHM(k);const me=a.oxw();return a.KtG(me.onDragStart(X))})("dndMoved",function(){a.CHM(k);const X=a.oxw();return a.KtG(X.onDragged(X.key,"move"))})("dndCanceled",function(){a.CHM(k);const X=a.oxw();return a.KtG(X.onDragged(X.key,"none"))})("dndEnd",function(X){a.CHM(k);const me=a.oxw();return a.KtG(me.onDragEnd(X))}),a.Hsn(2),a.qZA()}if(2&x){const k=a.oxw();a.Tol("container-sm swimlane-container swimlane-container-min-content"+k.widthAsClass),a.Udp("min-width",k.width?void 0:k.minWidth,"px")("width",k.widthAsNumber,"px"),a.Q6J("dndDraggable",k.key)("dndDisableIf",!(null!=k.kanban&&k.kanban.dragSwimlanes))}}const b=function(){return[]};function N(x,H){if(1&x&&(a.TgZ(0,"div",4),a._UZ(1,"docker",5),a.qZA()),2&x){const k=a.oxw();a.Udp("min-width",k.width?void 0:k.minWidth,"px")("width",k.width,"px"),a.xp6(1),a.Q6J("collapse",k.swimlaneDragging.collapse)("template",null==k.kanban?null:k.kanban.template)("title",k.swimlaneDragging.title||"")("colorStyle",null!=k.kanban&&k.kanban.dockerColorStyle?k.kanban.dockerColorStyle(k.swimlaneDragging):void 0)("labels",k.swimlaneDragging.labels)("menu",k.swimlaneDragging.menu||a.DdM(11,b))("cards",k.swimlaneDragging.cards||a.DdM(12,b))}}const j=["*"];let F=(()=>{class x{set kanban(k){this._kanban!=k&&(this._kanban=k,this.broadcastKanban(this.dockers?.toArray()||[]))}get kanban(){return this._kanban}constructor(k){this.cdRef=k,this.minWidth=400,this.width="min-content",this.key="SWIMLANE_ID_"+Math.round(1e3*Math.random())}ngOnInit(){}ngAfterViewInit(){this.broadcastKanban(this.dockers?.toArray()||[]),this.dockers?.changes.pipe((0,t.g)(0)).subscribe(()=>{this.broadcastKanban(this.dockers?.toArray()||[])})}get widthAsNumber(){return"number"==typeof this.width?this.width:void 0}get widthAsClass(){return"max-content"==this.width?" swimlane-container-max-content":""}get isPlaceholder(){return null!=this.placeholder}get swimlaneDragging(){return this.kanban?.swimlaneDragging?.docker}broadcastKanban(k){for(let P of k)P.kanban=this.kanban}get isDragging(){return this.kanban.swimlaneDragging?.key==this.key}onDragStart(k){this.kanban.swimlaneDragging=this}onDragged(k,P){this.kanban?.swimlaneDragged&&this.kanban?.swimlaneDragged(k,P)}onDragEnd(k){this.kanban.swimlaneDragging=void 0,this.kanban.cdRef.detectChanges()}static#e=this.\u0275fac=function(P){return new(P||x)(a.Y36(a.sBO))};static#t=this.\u0275cmp=a.Xpm({type:x,selectors:[["swimlane"]],contentQueries:function(P,X,me){if(1&P&&(a.Suo(me,i.jk,5),a.Suo(me,A.m,5)),2&P){let Oe;a.iGM(Oe=a.CRH())&&(X.dndDraggableRef=Oe.first),a.iGM(Oe=a.CRH())&&(X.dockers=Oe)}},viewQuery:function(P,X){if(1&P&&a.Gf(y,5),2&P){let me;a.iGM(me=a.CRH())&&(X.swimlane=me.first)}},inputs:{minWidth:"minWidth",width:"width",placeholder:"placeholder",docker:"docker",key:"key",kanban:"kanban"},features:[a._Bn([i.jk])],ngContentSelectors:j,decls:2,vars:2,consts:[["dndEffectAllowed","move","dndType","swimlane",3,"class","min-width","width","dndDraggable","dndDisableIf","dndStart","dndMoved","dndCanceled","dndEnd",4,"ngIf"],["class","container-sm",3,"min-width","width",4,"ngIf"],["dndEffectAllowed","move","dndType","swimlane",3,"dndDraggable","dndDisableIf","dndStart","dndMoved","dndCanceled","dndEnd"],["swimlane",""],[1,"container-sm"],[3,"collapse","template","title","colorStyle","labels","menu","cards"]],template:function(P,X){1&P&&(a.F$t(),a.YNc(0,C,3,8,"div",0),a.YNc(1,N,2,13,"div",1)),2&P&&(a.Q6J("ngIf",!X.isPlaceholder),a.xp6(1),a.Q6J("ngIf",X.isPlaceholder&&X.swimlaneDragging))},styles:[".dndDraggingSource[_ngcontent-%COMP%]{display:none}@media only screen and (min-width: 576px){.swimlane-container[_ngcontent-%COMP%]{width:max-content;padding:0;margin-left:10px;margin-right:10px}}.swimlane-container-min-content[_ngcontent-%COMP%]{width:min-content}.swimlane-container-max-content[_ngcontent-%COMP%]{width:max-content!important}@media only screen and (min-width: 576px){ .kanban-docker{display:block;float:left}}@media only screen and (min-width: 576px){ .docker-margin-right{margin-right:20px}}@media only screen and (min-width: 576px){ .kanban-docker-collapsed{width:50px}}@media only screen and (min-width: 576px){ .docker-margin-left{margin-left:20px}}"]})}return x})()},2729:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>A});var i=m(755),t=m(1547);let A=(()=>{class a{constructor(C){this.gb=C,this.size=25,this.url=this.gb.servidorURL+"/assets/images/profile.png",this.urlError=this.gb.servidorURL+"/assets/images/profile.png"}ngOnInit(){}get profileClass(){return(this.isThumbnail?"img-thumbnail ":"rounded-circle profile-photo ")+(this.class||"")}get isThumbnail(){return null!=this.thumbnail}onError(C){C.target.src=this.urlError}get resourceUrl(){return"string"==typeof this.url?this.url?.startsWith("http")?this.url:this.gb.getResourcePath(this.url||"assets/images/profile.png"):this.url}onClick(C){this.click&&this.click()}static#e=this.\u0275fac=function(b){return new(b||a)(i.Y36(t.d))};static#t=this.\u0275cmp=i.Xpm({type:a,selectors:[["profile-picture"]],inputs:{url:"url",urlError:"urlError",size:"size",hint:"hint",thumbnail:"thumbnail",class:"class",click:"click"},decls:1,vars:6,consts:[["data-bs-toggle","tooltip","data-bs-placement","top",3,"src","error","click"]],template:function(b,N){1&b&&(i.TgZ(0,"img",0),i.NdJ("error",function(F){return N.onError(F)})("click",function(F){return N.onClick(F)}),i.qZA()),2&b&&(i.Tol(N.profileClass),i.Q6J("src",N.resourceUrl,i.LSH),i.uIk("width",N.size)("height",N.size)("title",N.hint))},styles:[".profile-photo[_ngcontent-%COMP%]{margin:-2px 2px}.img-thumbnail[_ngcontent-%COMP%]{border-radius:0% 50% 50%;width:auto;max-width:120px;border-width:8px;border-style:solid;border-color:grayscale(60%);display:block;margin:auto}"]})}return a})()},5560:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>K});var i=m(755),t=m(5736),A=m(6733),a=m(2133);function y(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"input",10,11),i.NdJ("change",function(ye){i.CHM(ae);const Ee=i.oxw(3);return i.KtG(Ee.onChange(ye))}),i.qZA()}if(2&V){const ae=i.oxw(3);i.Q6J("formControl",ae.formControl)("id",ae.generatedId(ae.title))}}function C(V,J){if(1&V&&i._UZ(0,"i"),2&V){const ae=i.oxw(3);i.Tol(ae.icon)}}function b(V,J){if(1&V&&i._UZ(0,"i",12),2&V){const ae=i.oxw(3);i.s9C("title",ae.labelInfo)}}function N(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li",5),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.YNc(1,y,2,2,"input",6),i.YNc(2,C,1,2,"i",7),i.TgZ(3,"span",8),i._uU(4),i.qZA(),i.YNc(5,b,1,1,"i",9),i.qZA()}if(2&V){const ae=i.oxw(2);i.Tol("nav-item flex-fill"+(ae.control?" form-check form-switch":"")),i.uIk("role",ae.isCollapse?"button":void 0),i.xp6(1),i.Q6J("ngIf",ae.control),i.xp6(1),i.Q6J("ngIf",null==ae.icon?null:ae.icon.length),i.xp6(1),i.ekj("font-weight-bold",ae.bold)("small",ae.isSmall),i.xp6(1),i.Oqu(ae.title),i.xp6(1),i.Q6J("ngIf",null==ae.labelInfo?null:ae.labelInfo.length)}}function j(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",13),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onButtonClick())}),i.qZA(),i._uU(2),i.qZA()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol(ae.button.icon),i.s9C("title",ae.button.hint||ae.button.label||""),i.xp6(1),i.hij(" ",ae.button.label||""," ")}}function F(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",14),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.qZA()()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol("bi "+(ae.collapsed?"bi-arrow-down-circle":"bi-arrow-up-circle"))}}function x(V,J){if(1&V&&(i.TgZ(0,"ul",2),i.YNc(1,N,6,11,"li",3),i.YNc(2,j,3,4,"li",4),i.YNc(3,F,2,2,"li",4),i.qZA()),2&V){const ae=i.oxw();i.xp6(1),i.Q6J("ngIf",ae.title.length),i.xp6(1),i.Q6J("ngIf",ae.button),i.xp6(1),i.Q6J("ngIf",ae.isCollapse)}}function H(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"input",10,11),i.NdJ("change",function(ye){i.CHM(ae);const Ee=i.oxw(3);return i.KtG(Ee.onChange(ye))}),i.qZA()}if(2&V){const ae=i.oxw(3);i.Q6J("formControl",ae.formControl)("id",ae.generatedId(ae.title))}}function k(V,J){if(1&V&&i._UZ(0,"i"),2&V){const ae=i.oxw(3);i.Tol(ae.icon)}}function P(V,J){if(1&V&&i._UZ(0,"i",12),2&V){const ae=i.oxw(3);i.s9C("title",ae.labelInfo)}}function X(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li",16),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.YNc(1,H,2,2,"input",6),i.YNc(2,k,1,2,"i",7),i.TgZ(3,"span",8),i._uU(4),i.qZA(),i.YNc(5,P,1,1,"i",9),i.qZA()}if(2&V){const ae=i.oxw(2);i.uIk("role",ae.isCollapse?"button":void 0),i.xp6(1),i.Q6J("ngIf",ae.control),i.xp6(1),i.Q6J("ngIf",null==ae.icon?null:ae.icon.length),i.xp6(1),i.ekj("font-weight-bold",ae.bold)("small",ae.isSmall),i.xp6(1),i.Oqu(ae.title),i.xp6(1),i.Q6J("ngIf",null==ae.labelInfo?null:ae.labelInfo.length)}}function me(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",13),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onButtonClick())}),i.qZA(),i._uU(2),i.qZA()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol(ae.button.icon),i.s9C("title",ae.button.hint||ae.button.label||""),i.xp6(1),i.hij(" ",ae.button.label||""," ")}}function Oe(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"li")(1,"i",14),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw(2);return i.KtG(ye.onExpandClick())}),i.qZA()()}if(2&V){const ae=i.oxw(2);i.xp6(1),i.Tol("bi "+(ae.collapsed?"bi-arrow-up-circle":"bi-arrow-down-circle"))}}function Se(V,J){if(1&V&&(i.TgZ(0,"ul",2),i.YNc(1,X,6,9,"li",15),i.YNc(2,me,3,4,"li",4),i.YNc(3,Oe,2,2,"li",4),i.qZA()),2&V){const ae=i.oxw();i.xp6(1),i.Q6J("ngIf",ae.title.length),i.xp6(1),i.Q6J("ngIf",ae.button),i.xp6(1),i.Q6J("ngIf",ae.isCollapse)}}const wt=["*"];let K=(()=>{class V extends t.V{constructor(ae){super(ae),this.buttonClick=new i.vpe,this.change=new i.vpe,this.title="",this.bold=!1,this.icon=void 0,this.collapse=void 0,this.transparent=void 0,this.small=void 0,this.bottom=void 0,this.button=void 0,this.collapsed=!0,this.margin=0}get formControl(){return this.control}get isCollapse(){return void 0!==this.collapse}get isSmall(){return void 0!==this.small}get isCollapsed(){return this.isCollapse&&this.collapsed}get isTransparent(){return void 0!==this.transparent}get isBottom(){return void 0!==this.bottom}onButtonClick(){this.buttonClick&&this.buttonClick.emit()}onExpandClick(){this.isCollapse&&(this.collapsed=!this.collapsed,this.cdRef.detectChanges())}onChange(ae){this.change&&this.change.emit(ae)}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:V,selectors:[["separator"]],inputs:{title:"title",bold:"bold",icon:"icon",collapse:"collapse",transparent:"transparent",small:"small",bottom:"bottom",button:"button",collapsed:"collapsed",control:"control",labelInfo:"labelInfo",margin:"margin"},outputs:{buttonClick:"buttonClick",change:"change"},features:[i.qOj],ngContentSelectors:wt,decls:4,vars:8,consts:[["class","nav nav-tabs justify-content-end my-2",4,"ngIf"],[1,"row","g-0"],[1,"nav","nav-tabs","justify-content-end","my-2"],[3,"class","click",4,"ngIf"],[4,"ngIf"],[3,"click"],["class","form-check-input switch-sm","type","checkbox",3,"formControl","id","change",4,"ngIf"],[3,"class",4,"ngIf"],[1,"h6","ms-1"],["class","bi bi-info-circle label-info text-muted ms-1","data-bs-toggle","tooltip","data-bs-placement","top",3,"title",4,"ngIf"],["type","checkbox",1,"form-check-input","switch-sm",3,"formControl","id","change"],["checkbox",""],["data-bs-toggle","tooltip","data-bs-placement","top",1,"bi","bi-info-circle","label-info","text-muted","ms-1",3,"title"],["role","button","data-bs-toggle","tooltip","data-bs-placement","top",3,"title","click"],["role","button",3,"click"],["class","nav-item flex-fill",3,"click",4,"ngIf"],[1,"nav-item","flex-fill",3,"click"]],template:function(oe,ye){1&oe&&(i.F$t(),i.YNc(0,x,4,3,"ul",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,Se,4,3,"ul",0)),2&oe&&(i.Q6J("ngIf",!ye.isBottom),i.xp6(1),i.Tol(ye.margin?"pb-"+ye.margin:void 0),i.ekj("separator-background",!ye.isTransparent)("d-none",ye.isCollapsed),i.xp6(2),i.Q6J("ngIf",ye.isBottom))},dependencies:[A.O5,a.Wl,a.JJ,a.oH],styles:[".separator-background[_ngcontent-%COMP%]{background-color:var(--bs-body-bg)}@media print{[_nghost-%COMP%]{display:none!important}}"]})}return V})()},4978:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>b});var i=m(755),t=m(6733);const A=function(){return{}};function a(N,j){if(1&N&&i.GkF(0,3),2&N){const F=i.oxw(2);i.Q6J("ngTemplateOutlet",F.template)("ngTemplateOutletContext",i.DdM(2,A))}}function y(N,j){if(1&N&&(i.TgZ(0,"div",1),i.YNc(1,a,1,3,"ng-container",2),i.Hsn(2),i.qZA()),2&N){const F=i.oxw();i.ekj("d-none",!F.isActive),i.xp6(1),i.Q6J("ngIf",F.template)}}const C=["*"];let b=(()=>{class N{constructor(){this.label=""}get isActive(){return this.tabs?.active==this.key}ngOnInit(){}static#e=this.\u0275fac=function(x){return new(x||N)};static#t=this.\u0275cmp=i.Xpm({type:N,selectors:[["tab"]],inputs:{template:"template",key:"key",label:"label",icon:"icon"},ngContentSelectors:C,decls:1,vars:1,consts:[["class","my-2",3,"d-none",4,"ngIf"],[1,"my-2"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(x,H){1&x&&(i.F$t(),i.YNc(0,y,3,3,"div",0)),2&x&&i.Q6J("ngIf",(null==H.tabs?null:H.tabs.isDisplay)||H.isActive)},dependencies:[t.O5,t.tP]})}return N})()},6384:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>F});var i=m(755),t=m(5736),A=m(4978),a=m(6733);function y(x,H){if(1&x&&(i.TgZ(0,"li",4)(1,"span"),i._uU(2),i.qZA()()),2&x){const k=i.oxw(2);i.xp6(1),i.Tol(k.class_span),i.xp6(1),i.Oqu(k.title)}}function C(x,H){if(1&x&&i._UZ(0,"i"),2&x){const k=i.oxw().$implicit;i.Tol(k.icon)}}function b(x,H){if(1&x){const k=i.EpF();i.TgZ(0,"li",5)(1,"a",6),i.NdJ("click",function(){const me=i.CHM(k).$implicit,Oe=i.oxw(2);return i.KtG(Oe.onClick(me))}),i.YNc(2,C,1,2,"i",7),i._uU(3),i.qZA()()}if(2&x){const k=H.$implicit,P=i.oxw(2);i.xp6(1),i.ekj("active",k.key==P.active),i.xp6(1),i.Q6J("ngIf",k.icon),i.xp6(1),i.hij(" ",k.value," ")}}function N(x,H){if(1&x&&(i.TgZ(0,"ul",1),i.YNc(1,y,3,3,"li",2),i.YNc(2,b,4,4,"li",3),i.qZA()),2&x){const k=i.oxw();i.ekj("justify-content-end",k.isRight),i.xp6(1),i.Q6J("ngIf",k.title.length&&k.isRight),i.xp6(1),i.Q6J("ngForOf",k.items)}}const j=["*"];let F=(()=>{class x extends t.V{set active(k){if(this._active!=k){let P=this.items.find(X=>X.key==k);P&&(this._active=k,this.cdRef.detectChanges(),this.select&&P&&this.select(P))}}get active(){return this._active}constructor(k){super(k),this.injector=k,this.items=[],this.title="",this.class_span="h3",this._active=void 0,this.cdRef=k.get(i.sBO)}get isDisplay(){return null!=this.display}get isHidden(){return null!=this.hidden}get isRight(){return null!=this.right}ngOnInit(){}ngAfterContentInit(){this.loadTabs(),this.tabsRef?.changes.subscribe(k=>this.loadTabs()),null==this.active&&this.items.length&&(this.active=this.items[0].key)}loadTabs(){this.items.splice(0,this.items.length),this.tabsRef?.forEach(k=>{k.tabs=this,this.items.push({key:k.key,value:k.label,icon:k.icon})}),this.cdRef.detectChanges()}onClick(k){this.active=k.key}static#e=this.\u0275fac=function(P){return new(P||x)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:x,selectors:[["tabs"]],contentQueries:function(P,X,me){if(1&P&&i.Suo(me,A.i,5),2&P){let Oe;i.iGM(Oe=i.CRH())&&(X.tabsRef=Oe)}},inputs:{select:"select",items:"items",title:"title",class_span:"class_span",active:"active",display:"display",hidden:"hidden",right:"right",cdRef:"cdRef"},features:[i.qOj],ngContentSelectors:j,decls:2,vars:1,consts:[["class","nav nav-tabs",3,"justify-content-end",4,"ngIf"],[1,"nav","nav-tabs"],["class","nav-item flex-fill",3,"tab-title-left",4,"ngIf"],["class","nav-item",4,"ngFor","ngForOf"],[1,"nav-item","flex-fill",3,"tab-title-left"],[1,"nav-item"],["role","button",1,"nav-link",3,"click"],[3,"class",4,"ngIf"]],template:function(P,X){1&P&&(i.F$t(),i.YNc(0,N,3,4,"ul",0),i.Hsn(1)),2&P&&i.Q6J("ngIf",!X.isHidden)},dependencies:[a.sg,a.O5]})}return x})()},5512:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>Ee});var i=m(2307),t=m(5736),A=m(1547),a=m(755),y=m(6733);function C(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(3);a.Tol(Ze.icon)}}function b(Ge,gt){if(1&Ge&&(a.TgZ(0,"h3"),a.YNc(1,C,1,2,"i",7),a._uU(2),a.qZA()),2&Ge){const Ze=a.oxw(2);a.xp6(1),a.Q6J("ngIf",Ze.icon.length),a.xp6(1),a.hij(" ",Ze.title," ")}}function N(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(2).$implicit;a.Tol(Ze.icon)}}function j(Ge,gt){if(1&Ge&&a._UZ(0,"img",15),2&Ge){const Ze=a.oxw(2).$implicit,Je=a.oxw(2);a.Q6J("src",Je.gb.getResourcePath(Ze.img),a.LSH)}}function F(Ge,gt){if(1&Ge&&(a.TgZ(0,"span",16),a._uU(1),a.qZA()),2&Ge){const Ze=a.oxw(2).$implicit;a.xp6(1),a.Oqu(Ze.badge)}}function x(Ge,gt){if(1&Ge&&(a.TgZ(0,"button",17)(1,"span",18),a._uU(2,"V"),a.qZA()()),2&Ge){const Ze=a.oxw(2).$implicit,Je=a.oxw(2);a.Tol("btn dropdown-toggle dropdown-toggle-split "+(Ze.color||"btn-outline-primary")),a.uIk("id",Je.generatedButtonId(Ze)+"_dropdown")}}function H(Ge,gt){1&Ge&&a._UZ(0,"hr",22)}function k(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(2).$implicit;a.Tol(Ze.icon)}}function P(Ge,gt){if(1&Ge){const Ze=a.EpF();a.TgZ(0,"a",23),a.NdJ("click",function(){a.CHM(Ze);const tt=a.oxw().$implicit,Qe=a.oxw(5);return a.KtG(Qe.onButtonClick(tt))}),a.YNc(1,k,1,2,"i",7),a._uU(2),a.qZA()}if(2&Ge){const Ze=a.oxw().$implicit,Je=a.oxw(5);a.Q6J("id",Je.generatedButtonId(Ze,"_item")),a.xp6(1),a.Q6J("ngIf",null==Ze.icon?null:Ze.icon.length),a.xp6(1),a.hij(" ",Ze.label||"","")}}function X(Ge,gt){if(1&Ge&&(a.TgZ(0,"li"),a.YNc(1,H,1,0,"hr",20),a.YNc(2,P,3,3,"a",21),a.qZA()),2&Ge){const Ze=gt.$implicit;a.xp6(1),a.Q6J("ngIf",Ze.divider),a.xp6(1),a.Q6J("ngIf",!Ze.divider)}}function me(Ge,gt){if(1&Ge&&(a.TgZ(0,"ul",19),a.YNc(1,X,3,2,"li",5),a.qZA()),2&Ge){const Ze=a.oxw(2).$implicit,Je=a.oxw(2);a.uIk("aria-labelledby",Je.generatedButtonId(Ze)+(Ze.items&&Ze.toggle?"_dropdown":"")),a.xp6(1),a.Q6J("ngForOf",Ze.items)}}function Oe(Ge,gt){if(1&Ge){const Ze=a.EpF();a.TgZ(0,"div",8)(1,"button",9),a.NdJ("click",function(){a.CHM(Ze);const tt=a.oxw().$implicit,Qe=a.oxw(2);return a.KtG(Qe.onButtonClick(tt))}),a.YNc(2,N,1,2,"i",7),a.YNc(3,j,1,1,"img",10),a.TgZ(4,"span",11),a._uU(5),a.qZA(),a.YNc(6,F,2,1,"span",12),a.qZA(),a.YNc(7,x,3,3,"button",13),a.YNc(8,me,2,2,"ul",14),a.qZA()}if(2&Ge){const Ze=a.oxw().$implicit,Je=a.oxw(2);a.xp6(1),a.Tol("btn "+(Ze.color||"btn-outline-primary")),a.ekj("active",Je.buttonPressed(Ze))("dropdown-toggle",Ze.items&&!Ze.toggle),a.Q6J("id",Je.generatedButtonId(Ze))("disabled",Je.buttonDisabled(Ze)),a.uIk("data-bs-toggle",Ze.items&&!Ze.toggle?"dropdown":void 0),a.xp6(1),a.Q6J("ngIf",null==Ze.icon?null:Ze.icon.length),a.xp6(1),a.Q6J("ngIf",null==Ze.img?null:Ze.img.length),a.xp6(2),a.Oqu(Ze.label||""),a.xp6(1),a.Q6J("ngIf",null==Ze.badge?null:Ze.badge.length),a.xp6(1),a.Q6J("ngIf",Ze.items&&Ze.toggle),a.xp6(1),a.Q6J("ngIf",Ze.items)}}function Se(Ge,gt){if(1&Ge&&(a.ynx(0),a.YNc(1,Oe,9,15,"div",6),a.BQk()),2&Ge){const Ze=gt.$implicit;a.xp6(1),a.Q6J("ngIf",!Ze.dynamicVisible||Ze.dynamicVisible(Ze))}}function wt(Ge,gt){1&Ge&&a._UZ(0,"hr",22)}function K(Ge,gt){if(1&Ge&&a._UZ(0,"i"),2&Ge){const Ze=a.oxw(2).$implicit;a.Tol(Ze.icon)}}function V(Ge,gt){if(1&Ge){const Ze=a.EpF();a.TgZ(0,"a",23),a.NdJ("click",function(){a.CHM(Ze);const tt=a.oxw().$implicit,Qe=a.oxw(3);return a.KtG(Qe.onButtonClick(tt))}),a.YNc(1,K,1,2,"i",7),a._uU(2),a.qZA()}if(2&Ge){const Ze=a.oxw().$implicit,Je=a.oxw(3);a.Q6J("id",Je.generatedButtonId(Ze,"_option")),a.xp6(1),a.Q6J("ngIf",null==Ze.icon?null:Ze.icon.length),a.xp6(1),a.hij(" ",Ze.label||"","")}}function J(Ge,gt){if(1&Ge&&(a.TgZ(0,"li"),a.YNc(1,wt,1,0,"hr",20),a.YNc(2,V,3,3,"a",21),a.qZA()),2&Ge){const Ze=gt.$implicit;a.xp6(1),a.Q6J("ngIf",Ze.divider),a.xp6(1),a.Q6J("ngIf",!Ze.divider)}}function ae(Ge,gt){if(1&Ge&&(a.TgZ(0,"div",8)(1,"button",24),a._uU(2,"Op\xe7\xf5es"),a.qZA(),a.TgZ(3,"ul",19),a.YNc(4,J,3,2,"li",5),a.qZA()()),2&Ge){const Ze=a.oxw(2);a.xp6(1),a.Q6J("id",Ze.generatedId("_options")),a.xp6(2),a.uIk("aria-labelledby",Ze.generatedId("_options")),a.xp6(1),a.Q6J("ngForOf",Ze.options)}}function oe(Ge,gt){if(1&Ge&&(a.TgZ(0,"div",1),a.YNc(1,b,3,2,"h3",2),a.TgZ(2,"div",3),a.Hsn(3),a.qZA(),a.TgZ(4,"div",4),a.YNc(5,Se,2,1,"ng-container",5),a.YNc(6,ae,5,3,"div",6),a.qZA()()),2&Ge){const Ze=a.oxw();a.xp6(1),a.Q6J("ngIf",Ze.title.length),a.xp6(4),a.Q6J("ngForOf",Ze.buttons),a.xp6(1),a.Q6J("ngIf",Ze.options)}}const ye=["*"];let Ee=(()=>{class Ge extends t.V{get title(){return this._title}set title(Ze){this._title!=Ze&&(this._title=Ze,this.cdRef.detectChanges())}get buttons(){return this._buttons}set buttons(Ze){this._buttons=Ze,this.cdRef.detectChanges()}constructor(Ze){super(Ze),this.injector=Ze,this.icon="",this.visible=!0,this._title="",this.go=Ze.get(i.o),this.gb=Ze.get(A.d)}ngOnInit(){}buttonDisabled(Ze){return"function"==typeof Ze.disabled?Ze.disabled():!!Ze.disabled}buttonPressed(Ze){return!!Ze.toggle&&(Ze.pressed&&"boolean"!=typeof Ze.pressed?!!Ze.pressed(this):!!Ze.pressed)}onButtonClick(Ze){Ze.toggle&&"boolean"==typeof Ze.pressed&&(Ze.pressed=!Ze.pressed),Ze.route?this.go.navigate(Ze.route,Ze.metadata):Ze.onClick&&Ze.onClick(Ze),this.cdRef.detectChanges()}static#e=this.\u0275fac=function(Je){return new(Je||Ge)(a.Y36(a.zs3))};static#t=this.\u0275cmp=a.Xpm({type:Ge,selectors:[["toolbar"]],inputs:{icon:"icon",options:"options",visible:"visible",title:"title",buttons:"buttons"},features:[a.qOj],ngContentSelectors:ye,decls:1,vars:1,consts:[["class","d-flex flex-column flex-md-row justify-content-end align-items-center mt-2 hidden-print",4,"ngIf"],[1,"d-flex","flex-column","flex-md-row","justify-content-end","align-items-center","mt-2","hidden-print"],[4,"ngIf"],[1,"flex-fill","d-flex","justify-content-end"],["role","group","aria-label","Button group with nested dropdown",1,"btn-group","ms-auto"],[4,"ngFor","ngForOf"],["class","btn-group","role","group",4,"ngIf"],[3,"class",4,"ngIf"],["role","group",1,"btn-group"],["type","button","aria-expanded","false",3,"id","disabled","click"],["height","20",3,"src",4,"ngIf"],[1,"d-none","d-md-inline-block","ms-2"],["class","badge bg-primary ms-2",4,"ngIf"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",3,"class",4,"ngIf"],["class","dropdown-menu dropdown-menu-end",4,"ngIf"],["height","20",3,"src"],[1,"badge","bg-primary","ms-2"],["type","button","data-bs-toggle","dropdown","aria-expanded","false"],[1,"visually-hidden"],[1,"dropdown-menu","dropdown-menu-end"],["class","dropdown-divider",4,"ngIf"],["class","dropdown-item","role","button",3,"id","click",4,"ngIf"],[1,"dropdown-divider"],["role","button",1,"dropdown-item",3,"id","click"],["id","btnToolbarOptions","type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-outline-secondary","dropdown-toggle",3,"id"]],template:function(Je,tt){1&Je&&(a.F$t(),a.YNc(0,oe,7,3,"div",0)),2&Je&&a.Q6J("ngIf",tt.visible)},dependencies:[y.sg,y.O5],styles:["@media print{[_nghost-%COMP%]{display:none!important}}"]})}return Ge})()},933:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>C});var i=m(5736),t=m(755),A=m(6733);function a(b,N){if(1&b){const j=t.EpF();t.TgZ(0,"button",4),t.NdJ("click",function(x){t.CHM(j);const H=t.oxw(2);return t.KtG(H.onCloseClick(x))}),t.qZA()}if(2&b){const j=t.oxw(2);t.Q6J("id",j.generatedId("_message_close_button"))}}function y(b,N){if(1&b&&(t.TgZ(0,"div",1),t._UZ(1,"i"),t.TgZ(2,"span",2),t._uU(3),t.qZA(),t.YNc(4,a,1,1,"button",3),t.qZA()),2&b){const j=t.oxw();t.Tol(j.alertClass),t.xp6(1),t.Tol(j.iconClass),t.xp6(1),t.Q6J("id",j.generatedId("_message")),t.xp6(1),t.Oqu(j.message),t.xp6(1),t.Q6J("ngIf",j.isClosable)}}let C=(()=>{class b extends i.V{constructor(j){super(j),this.injector=j,this.type="alert",this.id=this.util.md5()}ngOnInit(){}get isClosable(){return null!=this.closable}get alertClass(){return"mt-2 alert alert-"+("alert"==this.type?"primary":"success"==this.type?"success":"warning"==this.type?"warning":"danger")+(this.isClosable?" alert-dismissible fade show":"")}get iconClass(){return"me-2 bi bi-"+("alert"==this.type?"info-circle-fill":"success"==this.type?"check-circle-fill":"warning"==this.type?"exclamation-circle-fill":"exclamation-triangle-fill")}onCloseClick(j){this.lastMessage=this.message,this.close&&this.close(this.id)}static#e=this.\u0275fac=function(F){return new(F||b)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:b,selectors:[["top-alert"]],inputs:{message:"message",type:"type",closable:"closable",id:"id",close:"close"},features:[t.qOj],decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],[3,"id"],["type","button","class","btn-close","data-dismiss","alert","aria-label","Close",3,"id","click",4,"ngIf"],["type","button","data-dismiss","alert","aria-label","Close",1,"btn-close",3,"id","click"]],template:function(F,x){1&F&&t.YNc(0,y,5,7,"div",0),2&F&&t.Q6J("ngIf",x.message!=x.lastMessage)},dependencies:[A.O5]})}return b})()},4561:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Afastamento",C),this.injector=C,this.inputSearchConfig.searchFields=["observacoes"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4971:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>x});var i=m(3101),t=m(9193),A=m(6976),a=m(1193),y=m(5754),C=m(2398),b=m(7511),N=m(6229),j=m(9478),F=m(755);let x=(()=>{class H extends A.B{constructor(P){super("Atividade",P),this.injector=P,this.inputSearchConfig.searchFields=["numero","descricao"]}prazo(P,X,me,Oe){return new Promise((Se,wt)=>{this.server.post("api/"+this.collection+"/prazo",{inicio_data:t.f.dateToIso8601(P),horas:X,carga_horaria:me,unidade_id:Oe}).subscribe(K=>{Se(t.f.iso8601ToDate(K?.date))},K=>wt(K))})}getAtividade(P){return this.getById(P,["pausas","unidade","tipo_atividade","comentarios.usuario","plano_trabalho.entregas.entrega:id,nome","plano_trabalho.tipo_modalidade","plano_trabalho.documento:id,metadados","usuario","usuario.afastamentos","usuario.planos_trabalho.tipo_modalidade","tarefas.tipo_tarefa","tarefas.comentarios.usuario"])}getHierarquia(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/hierarquia",{atividade_id:P}).subscribe(Oe=>{X(this.loadHierarquiaDados(Oe))},Oe=>{console.log("Erro ao montar a hierarquia da atividade!",Oe),X([])})})}loadHierarquiaDados(P){let X=P?.hierarquia;return X.planejamento=new a.Z(this.getRow(X.planejamento)),X.cadeiaValor=new j.y(this.getRow(X.cadeiaValor)),X.entregaPlanoTrabalho=new y.U(this.getRow(X.entregaPlanoTrabalho)),X.entregasPlanoEntrega=X.entregasPlanoEntrega?.map(me=>new C.O(Object.assign(this.getRow(me)))).reverse(),X.objetivos=X.objetivos?.map(me=>new b.i(Object.assign(this.getRow(me)))).reverse(),X.processos=X.processos?.map(me=>new N.q(Object.assign(this.getRow(me)))),X.atividade=new i.a(this.getRow(X.atividade)),X}iniciadas(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/iniciadas",{usuario_id:P}).subscribe(Oe=>{X(Oe?.iniciadas||[])},Oe=>me(Oe))})}iniciar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/iniciar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}concluir(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/concluir",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}pausar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/pausar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}reiniciar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/reiniciar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}cancelarInicio(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/cancelar-inicio",{id:P}).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}cancelarConclusao(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/cancelar-conclusao",{id:P}).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}prorrogar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/prorrogar",this.prepareToSave(P)).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}arquivar(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/arquivar",{id:P,arquivar:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}static#e=this.\u0275fac=function(X){return new(X||H)(F.LFG(F.zs3))};static#t=this.\u0275prov=F.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},949:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("AtividadeTarefa",C),this.injector=C}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9520:(lt,_e,m)=>{"use strict";m.d(_e,{m:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("CadeiaValor",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},7501:(lt,_e,m)=>{"use strict";m.d(_e,{k:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("CadeiaValorProcesso",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6994:(lt,_e,m)=>{"use strict";m.d(_e,{W:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Capacidade",C),this.injector=C}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8958:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Change",C),this.injector=C,this.inputSearchConfig.searchFields=["type","date_time","user_id","row_id","table_name"]}showTables(){return new Promise((C,b)=>{this.server.post("api/Petrvs/showTables",[]).subscribe(N=>{C(N.tabelas)},N=>{console.log("Erro ao buscar a lista das tabelas do banco de dados!",N),C([])})})}showResponsaveis(C){return console.log(C),new Promise((b,N)=>{this.server.post("api/Change/showResponsaveis",{usuario_ids:C}).subscribe(j=>{b(j.responsaveis)},j=>{console.log("Erro ao buscar a lista dos respons\xe1veis pelas altera\xe7\xf5es no Banco de Dados-!",j),b([])})})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},497:(lt,_e,m)=>{"use strict";m.d(_e,{l:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{dataset(C){return this.deepsFilter([{field:"codigo_ibge",label:"C\xf3digo"},{field:"nome",label:"Nome"},{field:"uf",label:"UF"}],C)}constructor(C){super("Cidade",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6976:(lt,_e,m)=>{"use strict";m.d(_e,{B:()=>wt});var C,i=m(8239),t=m(8748),A=m(1547),a=m(1454),y=m(9138),b=new Uint8Array(16);function N(){if(!C&&!(C=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return C(b)}const j=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var H=[],k=0;k<256;++k)H.push((k+256).toString(16).substr(1));const X=function P(K){var V=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,J=(H[K[V+0]]+H[K[V+1]]+H[K[V+2]]+H[K[V+3]]+"-"+H[K[V+4]]+H[K[V+5]]+"-"+H[K[V+6]]+H[K[V+7]]+"-"+H[K[V+8]]+H[K[V+9]]+"-"+H[K[V+10]]+H[K[V+11]]+H[K[V+12]]+H[K[V+13]]+H[K[V+14]]+H[K[V+15]]).toLowerCase();if(!function F(K){return"string"==typeof K&&j.test(K)}(J))throw TypeError("Stringified UUID is invalid");return J},Oe=function me(K,V,J){var ae=(K=K||{}).random||(K.rng||N)();if(ae[6]=15&ae[6]|64,ae[8]=63&ae[8]|128,V){J=J||0;for(var oe=0;oe<16;++oe)V[J+oe]=ae[oe];return V}return X(ae)};var Se=m(9193);class wt{get gb(){return this._gb=this._gb||this.injector.get(A.d),this._gb}get server(){return this._server=this._server||this.injector.get(a.N),this._server}get util(){return this._util=this._util||this.injector.get(Se.f),this._util}constructor(V,J){this.collection=V,this.injector=J,this.inputSearchConfig={searchFields:[]},this.PREFIX_URL="api"}datasource(V,J){return this.values(V,this.dataset(J))}dataset(V){return[]}values(V,J){return J.reduce((ae,oe)=>{const ye=typeof V[oe.field]>"u"||null==V[oe.field];return"OBJECT"!=oe.type||ye?"ARRAY"==oe.type&&Array.isArray(V[oe.field])?ae[oe.field]=V[oe.field].map(Ee=>this.values(Ee,oe.fields||[])):oe.type&&"VALUE"!=oe.type||ye?"TEMPLATE"!=oe.type||ye?"DATE"!=oe.type||ye?"DATETIME"!=oe.type||ye?"LAMBDA"==oe.type&&oe.lambda&&(ae[oe.field]=oe.lambda(V)):ae[oe.field]=this.util.getDateTimeFormatted(V[oe.field]):ae[oe.field]=this.util.getDateFormatted(V[oe.field]):ae[oe.field]=V[oe.field]:ae[oe.field]=oe.lookup&&oe.lookup.find(Ee=>Ee.key==V[oe.field])?.value||V[oe.field]:ae[oe.field]=this.values(V[oe.field],oe.fields||[]),ae},{})}deepsFilter(V,J){return(V=V.filter(ae=>typeof J>"u"||!["ARRAY","OBJECT"].includes(ae.type||"VALUE")||J?.includes(ae.field))).map(ae=>["ARRAY","OBJECT"].includes(ae.type||"VALUE")&&ae.dao?Object.assign(ae,{fields:ae.dao.dataset([])}):ae)}deep(V,J,ae,oe,ye){return typeof V>"u"||V.includes(J)?{field:J,label:ae,type:oe,fields:ye.dataset([])}:void 0}getSelectItemText(V){return this.inputSearchConfig.display?this.inputSearchConfig.display(V):(V||[]).join(" - ")}searchText(V,J,ae,oe){return new Promise((ye,Ee)=>{try{let Ge=J||this.inputSearchConfig.searchFields,gt=Ge.length>1&&V.indexOf(" - ")>0?V.substr(0,V.indexOf(" - ")):V;this.server.post(this.PREFIX_URL+"/"+this.collection+"/search-text",{collection:this.collection,query:gt,fields:Ge,orderBy:oe||[],where:ae||[]}).subscribe(Je=>{Je?.error?Ee(Je?.error):ye(Je?.values?.map(tt=>({value:tt[0],text:this.getSelectItemText(this.iso8601ToDate(tt[1])),order:tt[2]}))||[])},Je=>Ee(Je))}catch(Ge){Ee(Ge)}})}entityToSelectItem(V,J){const oe=this.getSelectItemText((J||this.inputSearchConfig.searchFields||[]).map(ye=>this.util.getNested(V,ye)||""));return{value:V.id,text:oe,entity:V}}searchKey(V,J,ae){return new Promise((oe,ye)=>{try{this.server.post(this.PREFIX_URL+"/"+this.collection+"/search-key",{collection:this.collection,key:V,fields:J||this.inputSearchConfig.searchFields,with:ae||[]}).subscribe(gt=>{let Ze=this.iso8601ToDate(gt?.value);oe({value:Ze.value,text:this.getSelectItemText(Ze.data),entity:Ze.entity})},gt=>ye(gt))}catch(Ee){ye(Ee)}})}getDownloadUrl(V){return new Promise((J,ae)=>{let oe=new FormData;oe.append("file",V),this.server.post(this.PREFIX_URL+"/"+this.collection+"/download-url",oe).subscribe(ye=>J(ye.url),ye=>ae(ye))})}uploadFile(V,J,ae){let oe=new FormData;return oe.append("file",ae,J),oe.append("name",J),oe.append("path",V),new Promise((ye,Ee)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/upload",oe).subscribe(Ge=>ye(Ge),Ge=>Ee(Ge))})}deleteFile(V){let J=new FormData;return J.append("file",V),new Promise((ae,oe)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/delete-file",J).subscribe(ye=>ae(ye),ye=>oe(ye))})}dataUrlToFile(V,J,ae){return(0,i.Z)(function*(){let ye=yield(yield fetch(V)).arrayBuffer();return new File([ye],J,{type:ae})})()}getDateFormatted(V){return this.util.getDateFormatted(V)}getTimeFormatted(V){return this.util.getTimeFormatted(V)}getDateTimeFormatted(V,J=" "){return this.util.getDateTimeFormatted(V,J)}validDateTime(V){return this.util.isDataValid(V)}generateUuid(){return Oe()}dateToIso8601(V){const J=ae=>{ae&&Object.entries(ae).forEach(([oe,ye])=>{ye instanceof Date?ae[oe]=Se.f.dateToIso8601(ye):Array.isArray(ye)?ye.forEach((Ee,Ge)=>{"object"==typeof Ee&&J(Ee)}):"object"==typeof ye&&J(ye)})};return V&&J(V),V}iso8601ToDate(V){const J=ae=>{ae&&Object.entries(ae).forEach(([oe,ye])=>{"string"==typeof ye&&Se.f.ISO8601_VALIDATE.test(ye)?ae[oe]=Se.f.iso8601ToDate(ye):Array.isArray(ye)?ye.forEach((Ee,Ge)=>{"object"==typeof Ee&&J(Ee)}):"object"==typeof ye&&J(ye)})};return V&&J(V),V}getById(V,J=[]){return new Promise((ae,oe)=>{V?.length?this.server.post(this.PREFIX_URL+"/"+this.collection+"/get-by-id",{id:V,with:J}).subscribe(ye=>{ae(ye.data?this.getRow(ye.data):null)},ye=>{ae(null)}):ae(null)})}getByIds(V){return new Promise((J,ae)=>{this.query({where:[["id","in",V]]},{resolve:J,reject:ae})})}mergeExtra(V,J){if(J?.merge){const ae=Object.keys(J.merge);for(let oe of V)for(let ye of ae)oe.hasOwnProperty(ye+"_id")&&J.merge[ye].hasOwnProperty(oe[ye+"_id"])&&(oe[ye]=J.merge[ye][oe[ye+"_id"]])}}getAllIds(V={},J){return new Promise((ae,oe)=>{try{this.server.post(this.PREFIX_URL+"/"+this.collection+"/get-all-ids",{where:wt.prepareWhere(V.where||[]),with:V.join||[],fields:J}).subscribe(Ee=>{if(Ee?.error)oe(Ee?.error);else{let Ge={rows:Ee?.rows||[],extra:Ee?.extra};this.mergeExtra(Ge.rows,Ge.extra),ae(Ge)}},Ee=>oe(Ee))}catch(ye){oe(ye)}})}getRow(V){return this.iso8601ToDate(V)}toPDF(V){if(V){const J=new Blob([V],{type:"application/pdf"});let ae=window.URL.createObjectURL(J);window.open(ae)}else console.error("Conte\xfado do PDF inv\xe1lido.")}getRawRow(V){return this.iso8601ToDate(V)}getRows(V,J){var ae=[];return V.rows?.length&&V.rows.forEach(oe=>{ae.push(this.getRow(oe))}),ae}static prepareWhere(V){for(const[J,ae]of V.entries())Array.isArray(ae)?wt.prepareWhere(ae):ae instanceof Date&&(V[J]=Se.f.dateToIso8601(ae));return V}intersectionWhere(V,J,ae,oe){return[[J,">=",ae],[V,"<=",oe]]}query(V={},J={}){return this.contextQuery(new y.f(this,this.collection,new t.x,V,J))}contextQuery(V){V.events.before&&V.events.before(),V.loading=!0,V.enablePrior=!1,V.enableNext=!1,(!V.cumulate||V.page<=1)&&V.subject.next(null);const J=this.server.post(this.PREFIX_URL+"/"+V.collection+"/query",{where:wt.prepareWhere(V.options.where||[]),orderBy:V.options.orderBy||[],limit:V.options.limit||0,with:V.options.join||[],deleted:V.options.deleted,page:V.page});return J.subscribe(ae=>{ae.error?V.subject.error(ae.error):(V.rows=V.cumulate&&V.rows?.length?V.rows:[],V.rows.push(...this.getRows(ae).filter(oe=>!V.rows.find(ye=>ye.id==oe.id))),V.extra=this.iso8601ToDate(ae.extra),V.enablePrior=V.page>1,V.enableNext=!!V.options.limit&&ae.count>(V.page-1)*V.options.limit+ae.rows.length,V.loading=!1,this.mergeExtra(V.rows,V.extra),V.subject.next(V.rows),V.events.resolve&&V.events.resolve(V.rows),V.events.after&&V.events.after())},ae=>{V.subject.error(ae),this.server.errorHandle(ae,J),V.events.reject&&V.events.reject(ae)}),V}nextPage(V){V.enableNext&&(V.page++,this.contextQuery(V))}priorPage(V){V.enablePrior&&(V.page--,this.contextQuery(V))}refresh(V){return V.rows=[],this.contextQuery(V).asPromise()}prepareToSave(V,J){let ae=V;return V instanceof Date?ae=Se.f.dateToIso8601(V):"object"==typeof V&&V&&(Array.isArray(V)?V.forEach((oe,ye)=>ae[ye]=this.prepareToSave(oe)):(ae=typeof J<"u"?{}:ae,Object.entries(V).forEach(([oe,ye])=>{try{let Ee=(J||[]).filter(Ze=>(Ze+".").substring(0,oe.length+1)==oe+"."),Ge=Ee.map(Ze=>Ze.substring(oe.length+1)).filter(Ze=>Ze.length),gt="object"==typeof ye&&!(ye instanceof Date);(!J||!gt||Ee.length)&&(ae[oe]="object"==typeof ye&&ye instanceof wt?void 0:this.prepareToSave(ye,Ge.length?Ge:void 0))}catch{console.log("Erro ao tentar atribuir valor a "+oe)}}))),ae}save(V,J=[],ae){return new Promise((oe,ye)=>{try{this.server.post(this.PREFIX_URL+"/"+this.collection+"/store",{entity:this.prepareToSave(V,ae),with:J}).subscribe(Ee=>{if(Ee.error)ye(Ee.error);else{var Ge=this.getRows(Ee);oe(Ge[0])}},Ee=>ye(Ee))}catch(Ee){ye(Ee)}})}update(V,J,ae=[]){return new Promise((oe,ye)=>{J.id&&delete J.id,this.server.post(this.PREFIX_URL+"/"+this.collection+"/update",{id:V,data:this.prepareToSave(J),with:ae}).subscribe(Ee=>{if(Ee.error)ye(Ee.error);else{var Ge=this.getRows(Ee);oe(Ge[0])}},Ee=>ye(Ee))})}updateJson(V,J,ae,oe=[]){return new Promise((ye,Ee)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/update-json",{id:V,field:J,data:ae,with:oe}).subscribe(Ge=>{if(Ge.error)Ee(Ge.error);else{var gt=this.getRows(Ge);ye(gt[0])}},Ge=>Ee(Ge))})}delete(V){return new Promise((J,ae)=>{this.server.post(this.PREFIX_URL+"/"+this.collection+"/destroy",{id:"string"==typeof V?V:V.id}).subscribe(oe=>{oe.error?ae(oe.error):J()},oe=>ae(oe))})}}},5026:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Documento",C),this.injector=C}documentoPendenteSei(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/pendente-sei",{id_documento:C}).subscribe(j=>{j.error?N(j.error):b(j?.data?this.getRow(j?.data):void 0)},j=>N(j))})}assinar(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/assinar",{documentos_ids:C}).subscribe(j=>{j.error&&N(j.error),b(j?.rows?this.getRows(j):void 0)},j=>N(j))})}gerarPDF(C){return new Promise((b,N)=>{this.server.getPDF("api/"+this.collection+"/gerarPDF",{documento_id:C}).subscribe(j=>{j.error?N(j.error):b(this.toPDF(j))},j=>N(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1240:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("EixoTematico",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5316:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>y});var i=m(497),t=m(6976),A=m(5255),a=m(755);let y=(()=>{class C extends t.B{constructor(N){super("Entidade",N),this.injector=N,this.usuarioDao=N.get(A.q),this.cidadeDao=N.get(i.l),this.inputSearchConfig.searchFields=["sigla","nome"]}dataset(N){return this.deepsFilter([{field:"sigla",label:"Sigla"},{field:"nome",label:"Nome"},{field:"gestor",label:"Gestor",fields:this.usuarioDao.dataset([])},{field:"gestores_substitutos",label:"Gestor substituto",fields:this.usuarioDao.dataset([]),type:"ARRAY"},{field:"cidade",label:"Cidade",dao:this.cidadeDao}],N)}generateApiKey(N){return new Promise((j,F)=>{this.server.post("api/"+this.collection+"/generate-api-key",{entidade_id:N}).subscribe(x=>{j(x?.api_public_key)},x=>F(x))})}static#e=this.\u0275fac=function(j){return new(j||C)(a.LFG(a.zs3))};static#t=this.\u0275prov=a.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},7465:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Entrega",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4317:(lt,_e,m)=>{"use strict";m.d(_e,{v:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Error",C),this.injector=C}showResponsaveis(){return new Promise((C,b)=>{this.server.post("api/Error/showResponsaveis",[]).subscribe(N=>{C(N.responsaveis)},N=>{console.log("Erro ao buscar a lista dos respons\xe1veis pelos registros de erros no Banco de Dados!",N),C([])})})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4972:(lt,_e,m)=>{"use strict";m.d(_e,{F:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Feriado",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},7909:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Integracao",C),this.injector=C,this.inputSearchConfig.searchFields=["usuario_id","data_execucao","atualizar_unidades","atualizar_servidores","atualizar_gestores"]}showResponsaveis(){return new Promise((C,b)=>{this.server.post("api/Integracao/showResponsaveis",[]).subscribe(N=>{C(N.responsaveis)},N=>{console.log("Erro ao buscar a lista dos respons\xe1veis pela execu\xe7\xe3o da Rotina de Integra\xe7\xe3o!",N),C([])})})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4166:(lt,_e,m)=>{"use strict";m.d(_e,{g:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("MaterialServico",C),this.injector=C,this.inputSearchConfig.searchFields=["codigo","referencia","descricao"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4999:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Notificacao",C),this.injector=C}naoLidas(){return new Promise((C,b)=>{this.server.post("api/"+this.collection+"/nao-lidas",{}).subscribe(N=>{C(N?.nao_lidas||0)},N=>b(N))})}marcarComoLido(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/marcar-como-lido",{destinatarios_ids:C}).subscribe(j=>{b(j?.marcadas_como_lido||0)},j=>N(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5034:(lt,_e,m)=>{"use strict";m.d(_e,{u:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Ocorrencia",C),this.injector=C}dataset(C){return this.deepsFilter([],C)}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5298:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Perfil",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5458:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Planejamento",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1058:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("PlanejamentoObjetivo",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9190:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("PlanoEntrega",C),this.injector=C,this.inputSearchConfig.searchFields=["numero","nome"]}arquivar(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/arquivar",{id:C.id,arquivar:C.arquivar}).subscribe(j=>{j.error?N(j.error):b(!!j?.success)},j=>N(j))})}avaliar(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/avaliar",{id:C.id,arquivar:C.arquivar}).subscribe(j=>{j.error?N(j.error):b(!!j?.success)},j=>N(j))})}cancelarAvaliacao(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/cancelar-avaliacao",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}cancelarConclusao(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/cancelar-conclusao",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}cancelarHomologacao(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/cancelar-homologacao",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}cancelarPlano(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/cancelar-plano",{id:C.id,justificativa:b,arquivar:C.arquivar}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}concluir(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/concluir",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}homologar(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/homologar",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}liberarHomologacao(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/liberar-homologacao",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}reativar(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/reativar",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}retirarHomologacao(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/retirar-homologacao",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}suspender(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/suspender",{id:C.id,justificativa:b}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}planosImpactadosPorAlteracaoEntrega(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/planos-impactados-por-alteracao-entrega",{entrega:C}).subscribe(j=>{j.error?N(j.error):b(j?.planos_trabalhos||[])},j=>N(j))})}permissaoIncluir(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/permissao-incluir",{unidade_id:C}).subscribe(j=>{j.error?N(j.error):b(!!j?.success)},j=>N(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1021:(lt,_e,m)=>{"use strict";m.d(_e,{K:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("PlanoEntregaEntrega",C),this.injector=C,this.inputSearchConfig.searchFields=["descricao","destinatario"]}dataset(C){return this.deepsFilter([{field:"descricao",label:"Descri\xe7\xe3o da entrega"},{field:"data_inicio",label:"Data in\xedcio"},{field:"data_fim",label:"Data fim"},{field:"homologado",label:"Se a entrega j\xe1 foi homologada"},{field:"progresso_esperado",label:"Percentual de progesso esperado da entrega"},{field:"progresso_realizado",label:"Percentual de progesso realizado da entrega"},{field:"destinatario",label:"Destinat\xe1rio da entrega"}],C)}hierarquia(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/hierarquia",{entrega_id:C}).subscribe(j=>{b(this.loadHierarquiaDados(j.hierarquia,C))},j=>{console.log("Erro ao montar a hierarquia da entrega!",j),b([])})})}loadHierarquiaDados(C,b){const N=this.mapHierarquia(C,b),j=C.filhos?C.filhos.flatMap(F=>this.loadHierarquiaDados(F,b)):[];return C.pai?[{...this.mapHierarquia(C.pai,b),children:[{...N,children:j}]}]:[{...N,children:j}]}mapHierarquia(C,b){return{label:C.descricao,key:C.id,data:C,expanded:!0,styleClass:b==C.id?"bg-primary text-white":"",children:[]}}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4539:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>x});var i=m(6976),t=m(3101),A=m(5754),a=m(4684),y=m(762),C=m(758),b=m(9373),N=m(4368);class j extends N.X{constructor(k){super(),this.data_inicio=new Date,this.data_fim=new Date,this.descricao="",this.usuario_id="",this.plano_trabalho_id=null,this.initialization(k)}}var F=m(755);let x=(()=>{class H extends i.B{constructor(P){super("PlanoTrabalhoConsolidacao",P),this.injector=P}dataset(P){return this.deepsFilter([],P)}loadConsolidacaoDados(P){let X=P?.dados;return X.programa=new C.i(this.getRow(X.programa)),X.planoTrabalho=new y.p(this.getRow(X.planoTrabalho)),X.planoTrabalho.entregas=(X.planoTrabalho.entregas||[]).map(me=>new A.U(this.getRow(me))),X.afastamentos=X.afastamentos.map(me=>new a.i(this.getRow(me))),X.atividades=X.atividades.map(me=>new t.a(Object.assign(this.getRow(me),{plano_trabalho:X.planoTrabalho}))),X.entregas=X.planoTrabalho.entregas,X.ocorrencias=X.ocorrencias.map(me=>new j(this.getRow(me))),X.comparecimentos=X.comparecimentos.map(me=>new b.V(this.getRow(me))),X}dadosConsolidacao(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/consolidacao-dados",{id:P}).subscribe(Oe=>{Oe?.error?me(Oe?.error):X(this.loadConsolidacaoDados(Oe))},Oe=>me(Oe))})}concluir(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/concluir",{id:P}).subscribe(Oe=>{Oe?.error?me(Oe?.error):X(this.loadConsolidacaoDados(Oe))},Oe=>me(Oe))})}cancelarConclusao(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/cancelar-conclusao",{id:P}).subscribe(Oe=>{Oe?.error?me(Oe?.error):X(this.loadConsolidacaoDados(Oe))},Oe=>me(Oe))})}static#e=this.\u0275fac=function(X){return new(X||H)(F.LFG(F.zs3))};static#t=this.\u0275prov=F.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},7744:(lt,_e,m)=>{"use strict";m.d(_e,{t:()=>x});var i=m(762),t=m(6976),A=m(6075),a=m(1214),y=m(5255),C=m(2214),b=m(9702),N=m(9173),j=m(758),F=m(755);let x=(()=>{class H extends t.B{constructor(P){super("PlanoTrabalho",P),this.injector=P,this.tipoModalidadeDao=P.get(A.D),this.unidadeDao=P.get(a.J),this.usuarioDao=P.get(y.q),this.programaDao=P.get(C.w),this.planoTrabalhoEntregaDao=P.get(N.w),this.lookup=P.get(b.W),this.inputSearchConfig.searchFields=["numero","data_inicio","data_fim","usuario.nome"],this.inputSearchConfig.display=X=>"#"+X[0]+": "+this.util.getDateFormatted(X[1])+" a "+this.util.getDateFormatted(X[2])+" - "+X[3]}dataset(P){return this.deepsFilter([{field:"carga_horaria",label:"Carga hor\xe1ria di\xe1ria"},{field:"tempo_total",label:"Tempo total do plano"},{field:"tempo_proporcional",label:"Tempo proporcional (descontando afastamentos)"},{field:"data_inicio",label:"Data inicial do plano",type:"DATETIME"},{field:"data_fim",label:"Data final do plano",type:"DATETIME"},{field:"tipo_modalidade",label:"Tipo de modalidade",fields:this.tipoModalidadeDao.dataset(),type:"OBJECT"},{field:"unidade",label:"Unidade",fields:this.unidadeDao.dataset(),type:"OBJECT"},{field:"usuario",label:"Usu\xe1rio",fields:this.usuarioDao.dataset(),type:"OBJECT"},{field:"programa",label:"Programa",fields:this.programaDao.dataset(),type:"OBJECT"},{field:"entregas",label:"Entregas",fields:this.planoTrabalhoEntregaDao.dataset(),type:"ARRAY"},{field:"criterios_avaliacao",label:"Crit\xe9rios de avalia\xe7\xe3o",fields:[{field:"value",label:"Crit\xe9rio"}],type:"ARRAY"}],P)}metadadosPlano(P,X,me){return new Promise((Oe,Se)=>{this.server.post("api/"+this.collection+"/metadados-plano",{plano_trabalho_id:P,inicioPeriodo:X,fimPeriodo:me}).subscribe(wt=>{Oe(wt?.metadadosPlano||[])},wt=>Se(wt))})}getByUsuario(P,X,me=null){return new Promise((Oe,Se)=>{this.server.post("api/"+this.collection+"/get-by-usuario",{usuario_id:P,arquivados:X,plano_trabalho_id:me}).subscribe(wt=>{if(wt?.error)Se(wt?.error);else{let K=wt?.dados;K.planos=K.planos.map(V=>new i.p(this.getRow(V))),K.programas=K.programas.map(V=>new j.i(this.getRow(V))),K.planos.forEach(V=>V.programa=K.programas.find(J=>J.id==V.programa_id)),Oe(K)}},wt=>Se(wt))})}arquivar(P){return new Promise((X,me)=>{this.server.post("api/"+this.collection+"/arquivar",{id:P.id,arquivar:P.arquivar}).subscribe(Oe=>{Oe.error?me(Oe.error):X(!!Oe?.success)},Oe=>me(Oe))})}ativar(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/ativar",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}cancelarAssinatura(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/cancelar-assinatura",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}cancelarPlano(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/cancelar-plano",{id:P.id,justificativa:X,arquivar:P.arquivar}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}enviarParaAssinatura(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/enviar-para-assinatura",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}reativar(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/reativar",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}suspender(P,X){return new Promise((me,Oe)=>{this.server.post("api/"+this.collection+"/suspender",{id:P.id,justificativa:X}).subscribe(Se=>{Se.error?Oe(Se.error):me(!!Se?.success)},Se=>Oe(Se))})}static#e=this.\u0275fac=function(X){return new(X||H)(F.LFG(F.zs3))};static#t=this.\u0275prov=F.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},9173:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>a});var i=m(6976),t=m(1021),A=m(755);let a=(()=>{class y extends i.B{constructor(b){super("PlanoTrabalhoEntrega",b),this.injector=b,this.programaEntregaEntregaDao=b.get(t.K)}dataset(b){return this.deepsFilter([{field:"descricao",label:"Descri\xe7\xe3o da entrega"},{field:"forca_trabalho",label:"Percentual da for\xe7a de trabalho"},{field:"orgao",label:"Org\xe3o externo vinculado a entrega"},{field:"meta",label:"Meta extipulada para a entrega"},{field:"entrega",label:"Entrega do plano de entrega",fields:this.programaEntregaEntregaDao.dataset(),type:"OBJECT"}],b)}static#e=this.\u0275fac=function(N){return new(N||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},2214:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Programa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}dataset(C){return this.deepsFilter([{field:"nome",label:"Nome"},{field:"normativa",label:"Normativa"},{field:"data_inicio",label:"Data in\xedcio"},{field:"data_fim",label:"Data t\xe9rmino"}],C)}concluir(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/concluir",{programa_id:C.id}).subscribe(j=>{j.error?N(j.error):b(!!j?.success)},j=>N(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1042:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>a});var i=m(6976),t=m(5255),A=m(755);let a=(()=>{class y extends i.B{constructor(b){super("ProgramaParticipante",b),this.injector=b,this.usuarioDao=b.get(t.q)}dataset(b){return this.deepsFilter([{field:"habilitado",label:"Habilitado"},{field:"usuario",label:"Usu\xe1rio",fields:this.usuarioDao.dataset(),type:"OBJECT"}],b)}quantidadePlanosTrabalhoAtivos(b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/quantidade-planos-trabalho-ativos",{ids:b}).subscribe(F=>{F.error?j(F.error):N(F.count)},F=>j(F))})}habilitar(b,N,j,F){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/habilitar",{participantes_ids:b,programa_id:N,habilitar:j,suspender_plano_trabalho:F}).subscribe(k=>{k.error?H(k.error):x(!!k?.success)},k=>H(k))})}notificar(b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/notificar",{participantes_ids:b.id,programa_id:b.programa_id,habilitado:b.habilitado}).subscribe(F=>{F.error?j(F.error):N(!!F?.success)},F=>j(F))})}static#e=this.\u0275fac=function(N){return new(N||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},9707:(lt,_e,m)=>{"use strict";m.d(_e,{P:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Projeto",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8325:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("ProjetoTarefa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9138:(lt,_e,m)=>{"use strict";m.d(_e,{f:()=>i});let i=(()=>{class t{static#e=this.DEFAULT_LIMIT=50;set loading(a){this._loading!=a&&(this._loading=a,this.onLoadingChange&&this.onLoadingChange(a))}get loading(){return this._loading}constructor(a,y,C,b={},N={}){this.dao=a,this.collection=y,this.subject=C,this.options=b,this.events=N,this.rows=[],this.cumulate=!1,this._loading=!1,this.page=1,this.count=0,this.enablePrior=!1,this.enableNext=!1}asPromise(){return new Promise((a,y)=>this.subject.asObservable().subscribe(a,y))}firstOrDefault(a=void 0){return new Promise((y,C)=>this.subject.asObservable().subscribe(b=>y(b?.length?b[0]:a),C))}order(a){this.options.orderBy=a,this.rows=[],this.refresh()}nextPage(){this.dao.nextPage(this)}priorPage(){this.dao.priorPage(this)}refresh(){return this.dao.refresh(this)}refreshId(a,y){let C=[...this.options.join||[],...y||[]];return this.loadingId=a,this.dao.getById(a,C||[]).then(b=>{const N=this.rows.findIndex(j=>j.id==a);return b&&(N>=0?this.rows[N]=b:this.rows.push(b),this.subject.next(this.rows)),b}).finally(()=>this.loadingId=void 0)}removeId(a){const y=this.rows.findIndex(C=>C.id==a);y>=0&&this.rows.splice(y,1),this.subject.next(this.rows)}reload(a){a&&(this.options=Object.assign(this.options,a)),this.page=1,this.count=0,this.enablePrior=!1,this.enableNext=!1,this.rows=[],this.dao.contextQuery(this)}getAll(){return new Promise((a,y)=>{const C=this.options?Object.keys(this.options).filter(b=>"limit"!=b).reduce((b,N)=>(b[N]=this.options[N],b),{}):void 0;this.dao.query(C,{resolve:a,reject:y})})}getAllIds(a=[]){const y=this.options?Object.keys(this.options).filter(C=>"limit"!=C).reduce((C,b)=>(C[b]=this.options[b],C),{}):void 0;return this.dao.getAllIds(y,a)}}return t})()},9230:(lt,_e,m)=>{"use strict";m.d(_e,{w:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("Template",C),this.injector=C,this.inputSearchConfig.searchFields=["titulo"]}getDataset(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/carrega-dataset",{codigo:b,especie:C}).subscribe(F=>{N(F?.dataset)},F=>j(F))})}getReport(C,b,N){return new Promise((j,F)=>{this.server.post("api/"+this.collection+"/gera-relatorio",{entidade:C,codigo:b,params:N||[]}).subscribe(x=>{j(x?.report)},x=>F(x))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},2981:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoAtividade",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},207:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoAvaliacao",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6150:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoCapacidade",C),this.injector=C,this.inputSearchConfig.searchFields=["descricao"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8340:(lt,_e,m)=>{"use strict";m.d(_e,{Q:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoDocumento",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}atualizar(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/atualizar",{lista:C}).subscribe(j=>{b(j?.success)},j=>N(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9055:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoJustificativa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},6075:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoModalidade",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}dataset(C){return this.deepsFilter([{field:"nome",label:"Nome"}],C)}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},4002:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoMotivoAfastamento",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},361:(lt,_e,m)=>{"use strict";m.d(_e,{n:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoProcesso",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}atualizar(C){return new Promise((b,N)=>{this.server.post("api/"+this.collection+"/atualizar",{lista:C}).subscribe(j=>{b(j?.success)},j=>N(j))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5213:(lt,_e,m)=>{"use strict";m.d(_e,{J:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("TipoTarefa",C),this.injector=C,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1214:(lt,_e,m)=>{"use strict";m.d(_e,{J:()=>b});var i=m(497),t=m(6976),A=m(5316),a=m(5255),y=m(9190),C=m(755);let b=(()=>{class N extends t.B{constructor(F){super("Unidade",F),this.injector=F,this.usuarioDao=F.get(a.q),this.entidadeDao=F.get(A.i),this.cidadeDao=F.get(i.l),this.planoEntregaDao=F.get(y.r),this.inputSearchConfig.searchFields=["codigo","sigla","nome"]}dataset(F){return this.deepsFilter([{field:"codigo",label:"C\xf3digo"},{field:"sigla",label:"Sigla"},{field:"nome",label:"Nome"},{field:"gestor",label:"Gestor",fields:this.usuarioDao.dataset([]),type:"OBJECT"},{field:"gestores_substitutos",label:"Gestor substituto",fields:this.usuarioDao.dataset([]),type:"ARRAY"},{field:"entidade",label:"Entidade",dao:this.entidadeDao},{field:"cidade",label:"Cidade",dao:this.cidadeDao},{field:"texto_complementar_plano",label:"Mensagem do Plano de trabalho",type:"TEMPLATE"}],F)}metadadosArea(F,x){return new Promise((H,k)=>{this.server.post("api/"+this.collection+"/metadados-area",{unidade_id:F,programa_id:x}).subscribe(P=>{H(P?.metadadosArea||[])},P=>k(P))})}dashboards(F,x,H){return new Promise((k,P)=>{F?.length&&x.length?this.server.post("api/"+this.collection+"/dashboards",{idsUnidades:F,programa_id:x,unidadesSubordinadas:H}).subscribe(X=>{k(X?.dashboards)},X=>P(X)):k(null)})}mesmaSigla(){return new Promise((F,x)=>{this.server.post("api/"+this.collection+"/mesma-sigla",{}).subscribe(H=>{F(H?.rows||[])},H=>x(H))})}unificar(F,x){return new Promise((H,k)=>{this.server.post("api/"+this.collection+"/unificar",{correspondencias:F,exclui:x}).subscribe(P=>{H(!!P?.success)},P=>k(P))})}inativar(F,x){return new Promise((H,k)=>{this.server.post("api/"+this.collection+"/inativar",{id:F,inativo:x}).subscribe(P=>{H(!!P?.success)},P=>k(P))})}subordinadas(F){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/subordinadas",{unidade_id:F}).subscribe(k=>{x(k?.subordinadas||[])},k=>H(k))})}hierarquiaUnidades(F){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/hierarquia",{unidade_id:F}).subscribe(k=>{x(k?.unidades||[])},k=>H(k))})}unidadesFilhas(F){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/filhas",{unidade_id:F}).subscribe(k=>{x(k?.unidades||[])},k=>H(k))})}unidadesSuperiores(F){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/linhaAscendente",{unidade_id:F}).subscribe(k=>{x(k?.linhaAscendente||[])},k=>H(k))})}lotados(F){return new Promise((x,H)=>{this.server.post("api/"+this.collection+"/lotados",{unidade_id:F}).subscribe(k=>{x(k?.usuarios||[])},k=>H(k))})}lookupTodasUnidades(){return new Promise((F,x)=>{this.server.post("api/Unidade/lookup-todas-unidades",{}).subscribe(H=>{F(H?.unidades||[])},H=>x(H))})}static#e=this.\u0275fac=function(x){return new(x||N)(C.LFG(C.zs3))};static#t=this.\u0275prov=C.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},8631:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>A});var i=m(6976),t=m(755);let A=(()=>{class a extends i.B{constructor(C){super("UnidadeIntegrante",C),this.injector=C,this.inputSearchConfig.searchFields=[]}carregarIntegrantes(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/carregar-integrantes",{unidade_id:C,usuario_id:b}).subscribe(F=>{N({integrantes:F?.rows||[]})},F=>j(F))})}salvarIntegrantes(C,b){return new Promise((N,j)=>{this.server.post("api/"+this.collection+"/salvar-integrantes",{integrantesConsolidados:C,metadata:b}).subscribe(F=>{F?.error?j(F.error):N(F?.data||null)},F=>j(F))})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5255:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>a});var i=m(9702),t=m(6976),A=m(755);let a=(()=>{class y extends t.B{constructor(b){super("Usuario",b),this.injector=b,this.lookup=b.get(i.W),this.inputSearchConfig.searchFields=["matricula","nome"]}dataset(b){return this.deepsFilter([{field:"nome",label:"Nome"},{field:"email",label:"E-mail"},{field:"cpf",label:"CPF"},{field:"matricula",label:"Matr\xedcula"},{field:"apelido",label:"Apelido"},{field:"telefone",label:"Telefone"},{field:"sexo",label:"Sexo",lookup:this.lookup.SEXO},{field:"situacao_funcional",label:"Situa\xe7\xe3o Funcional",lookup:this.lookup.USUARIO_SITUACAO_FUNCIONAL},{field:"texto_complementar_plano",label:"Mensagem do Plano de trabalho",type:"TEMPLATE"}],b)}calculaDataTempoUnidade(b,N,j,F,x,H,k){return new Promise((P,X)=>{this.server.post("api/Teste/calculaDataTempoUnidade",{inicio:b,fimOuTempo:N,cargaHoraria:j,unidade_id:F,tipo:x,pausas:H,afastamentos:k}).subscribe(me=>{P(me.data)},me=>{console.log("Erro no c\xe1lculo das Efemerides pelo servidor!",me),P(void 0)})})}static#e=this.\u0275fac=function(N){return new(N||y)(A.LFG(A.zs3))};static#t=this.\u0275prov=A.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},1391:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>C});var i=m(5579),t=m(2333),A=m(5545),a=m(1547),y=m(755);let C=(()=>{class b{get gb(){return this._gb=this._gb||this.injector.get(a.d),this._gb}get auth(){return this._auth=this._auth||this.injector.get(t.e),this._auth}get dialogs(){return this._dialogs=this._dialogs||this.injector.get(A.x),this._dialogs}get router(){return this._router=this._router||this.injector.get(i.F0),this._router}constructor(j){this.injector=j}canActivate(j,F){const x=!!this.auth.usuario;let H=x;return j.data.login?H=!x||this.router.parseUrl(this.gb.initialRoute.join("/")):!x&&this.gb.requireLogged?H=new Promise((k,P)=>{const X=me=>{if(me)k(!0);else if(this.gb.isToolbar)k(!this.gb.requireLogged);else{let Oe=this.router.parseUrl("/login");const Se=Object.entries(j.queryParams||{}).reduce((K,V)=>("idroute"!=V[0]&&(K[V[0]]=V[1]),K),{});let wt={route:j.url.map(K=>K.path),params:Se};Oe.queryParams={redirectTo:JSON.stringify(wt),noSession:!0},k(Oe)}};j.queryParams?.context&&this.gb.setContexto(j.queryParams?.context,!1),this.auth.authSession().then(X).catch(me=>X(!1))}):j.data.permission&&!this.auth.hasPermissionTo(j.data.permission)&&(this.dialogs.alert("Permiss\xe3o negada","O usu\xe1rio n\xe3o tem permiss\xe3o para acessar esse recurso"),H=!1),H}static#e=this.\u0275fac=function(F){return new(F||b)(y.LFG(y.zs3))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},9084:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>A});var i=m(922),t=m(755);let A=(()=>{class a extends i.x{constructor(C){super(C,"all_pages"),this.injector=C,this.ngOnInit()}getButtonTitle(C,b){return b?.length?"Sei n\xba "+b:C?.length?"Processo "+C:"Sem processo vinculado"}getDadosDocumento(C){return this.execute("getDadosDocumento",[C])}getDadosProcesso(C){return this.execute("getDadosProcesso",[C])}openDocumentoSei(C,b){window?.open(this.auth.entidade?.url_sei||this.gb.URL_SEI+"sei/controlador.php?acao=procedimento_trabalhar&id_procedimento="+C+(b?"&id_documento="+b:""),"_blank")?.focus()}visibilidadeMenuSei(C){return this.execute("visibilidadeMenuSei",[C])}getTiposProcessos(){return this.execute("getTiposProcessos",[])}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},922:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>N});var i=m(8239),t=m(2333),A=m(5545),a=m(1547),y=m(5908),C=m(2307),b=m(755);let N=(()=>{class j{constructor(x,H){this.injector=x,this.eventName=H,this.init=!1,this.autoId=0,this.timeout=6e4,this.executions=[],this.auth=x.get(t.e),this.go=x.get(C.o),this.gb=x.get(a.d),this.lex=x.get(y.E),this.dialog=x.get(A.x)}ngOnInit(){var x=this;this.gb.isEmbedded&&(document.addEventListener(this.eventName+":angular",function(){var H=(0,i.Z)(function*(k){const P=k.detail||{type:"unknow"};switch(P.source=P.source||"extension",P.type){case"return":case"error":const X=x.executions.findIndex(me=>me.id==P.id);if(X>=0){const me=x.executions[X];clearTimeout(me.timeout),P.error?me.reject(P.error):me.resolve(P.result),x.executions.splice(X,1)}break;case"call":try{const me=yield x[P.funct](...P.params);document.dispatchEvent(new CustomEvent(x.eventName+":"+P.source,{detail:{id:P.id,type:"return",source:"angular",result:me}}))}catch(me){document.dispatchEvent(new CustomEvent(x.eventName+":"+P.source,{detail:{id:P.id,source:"angular",type:"error",error:me||{message:"unknow"}}}))}break;case"init":x.init||(x.init=!0,x.initCallback&&x.initCallback(),document.dispatchEvent(new CustomEvent(x.eventName+":extension",{detail:{type:"init",source:"angular"}})))}});return function(k){return H.apply(this,arguments)}}()),document.dispatchEvent(new CustomEvent(this.eventName+":extension",{detail:{type:"init",source:"angular"}})))}execute(x,H,k="extension"){return new Promise((P,X)=>{const me=setTimeout(()=>{const Se=this.executions.findIndex(wt=>wt.id==Oe.id);Se>=0&&(this.executions.splice(Se,1),X({message:"timeout"}))},this.timeout),Oe={id:this.autoId++,type:"call",funct:x,source:"angular",params:H};this.executions.push({id:Oe.id,timeout:me,resolve:P,reject:X}),document.dispatchEvent(new CustomEvent(this.eventName+":"+k,{detail:Oe}))})}static#e=this.\u0275fac=function(H){return new(H||j)(b.LFG(b.zs3),b.LFG("inherited"))};static#t=this.\u0275prov=b.Yz7({token:j,factory:j.\u0275fac})}return j})()},4684:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.observacoes=null,this.data_inicio=new Date,this.data_fim=new Date,this.usuario_id="",this.tipo_motivo_afastamento_id="",this.initialization(a)}}},3101:(lt,_e,m)=>{"use strict";m.d(_e,{a:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.status_historico=[],this.numero=0,this.descricao="",this.data_distribuicao=new Date,this.tempo_planejado=0,this.carga_horaria=0,this.data_estipulada_entrega=new Date,this.data_inicio=null,this.data_entrega=null,this.esforco=0,this.tempo_despendido=null,this.data_arquivamento=null,this.status=null,this.etiquetas=[],this.checklist=[],this.prioridade=null,this.progresso=0,this.metadados=void 0,this.comentarios=[],this.pausas=[],this.tarefas=[],this.plano_trabalho_id=null,this.plano_trabalho_entrega_id=null,this.plano_trabalho_consolidacao_id=null,this.tipo_atividade_id=null,this.demandante_id="",this.usuario_id=null,this.unidade_id="",this.documento_requisicao_id=null,this.documento_entrega_id=null,this.reacoes=[],this.initialization(a)}}},4368:(lt,_e,m)=>{"use strict";m.d(_e,{X:()=>i});class i{constructor(){this.id="",this.created_at=new Date,this.updated_at=new Date,this.deleted_at=null}initialization(A){A&&Object.assign(this,A)}}},6229:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>t});var i=m(4368);class t extends i.X{find(a){throw new Error("Method not implemented.")}constructor(a){super(),this.path="",this.nome="",this.sequencia=0,this.cadeia_valor_id="",this.processo_pai_id=null,this.initialization(a)}}},9478:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.processos=[],this.data_inicio=new Date,this.data_fim=null,this.data_arquivamento=null,this.nome="",this.unidade_id="",this.entidade_id="",this.initialization(a)}}},39:(lt,_e,m)=>{"use strict";m.d(_e,{R:()=>t});var i=m(4368);class t extends i.X{constructor(){super(),this.user_id="",this.date_time="",this.table_name="",this.row_id="",this.type="",this.delta=[]}}},1597:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.texto="",this.path="",this.data_comentario=new Date,this.tipo="COMENTARIO",this.privacidade="PUBLICO",this.usuario_id="",this.comentario_id=null,this.atividade_id=null,this.atividade_tarefa_id=null,this.projeto_id=null,this.projeto_tarefa_id=null,this.plano_entrega_entrega_id=null,this.initialization(a)}}},9373:(lt,_e,m)=>{"use strict";m.d(_e,{V:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.data_comparecimento=new Date,this.detalhamento="",this.plano_trabalho_consolidacao_id="",this.unidade_id="",this.initialization(a)}}},3972:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>t});var i=m(4368);let t=(()=>{class A extends i.X{static#e=this.STATUS_GERADO="GERADO";static#t=this.STATUS_AGUARDANDO_SEI="GERADO";constructor(y){super(),this.assinaturas=[],this.numero=0,this.titulo="",this.tipo="HTML",this.especie="OUTRO",this.conteudo=null,this.metadados=null,this.link=null,this.status="GERADO",this.template=null,this.dataset=null,this.datasource=null,this.entidade_id=null,this.tipo_documento_id=null,this.tipo_processo_id=null,this.template_id=null,this.plano_trabalho_id=null,this.atividade_id=null,this.atividade_tarefa_id=null,this.initialization(y)}}return A})()},2469:(lt,_e,m)=>{"use strict";m.d(_e,{H:()=>a});var i=m(4368),t=m(2559),A=m(1340);class a extends i.X{constructor(C){super(),this.sigla="",this.nome="",this.abrangencia="NACIONAL",this.codigo_ibge=null,this.uf=null,this.carga_horaria_padrao=8,this.gravar_historico_processo=0,this.layout_formulario_atividade="COMPLETO",this.campos_ocultos_atividade=[],this.nomenclatura=[],this.url_sei="",this.notificacoes=new A.$,this.forma_contagem_carga_horaria="DIA",this.expediente=new t.z,this.gestor_id=null,this.gestor_substituto_id=null,this.cidade_id=null,this.tipo_modalidade_id=null,this.initialization(C)}}},2559:(lt,_e,m)=>{"use strict";m.d(_e,{z:()=>i});class i{constructor(A){this.domingo=[],this.segunda=[],this.terca=[],this.quarta=[],this.quinta=[],this.sexta=[],this.sabado=[],this.especial=[],A&&Object.assign(this,A)}}},3362:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.nome="",this.dia=1,this.mes=1,this.ano=null,this.recorrente=1,this.abrangencia="NACIONAL",this.codigo_ibge=null,this.entidade_id=null,this.cidade_id=null,this.uf=null,this.initialization(a)}}},1340:(lt,_e,m)=>{"use strict";m.d(_e,{$:()=>t,z:()=>A});var i=m(4368);class t{constructor(){this.enviar_petrvs=!0,this.enviar_email=!0,this.enviar_whatsapp=!0,this.nao_notificar=[]}}class A extends i.X{constructor(y){super(),this.codigo="UNKNOW",this.data_registro=new Date,this.mensagem="",this.numero=0,this.remetente_id=null,this.destinatarios=[],this.initialization(y)}}},7511:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.nome="",this.fundamentacao="",this.sequencia=0,this.path=null,this.integra_okr=!0,this.planejamento_id=null,this.eixo_tematico_id=null,this.objetivo_pai_id=null,this.objetivo_superior_id=null,this.initialization(a)}}},1193:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.data_arquivamento=null,this.data_inicio=new Date,this.data_fim=null,this.nome="",this.missao="",this.visao="",this.valores=[],this.resultados_institucionais=[],this.unidade_id=null,this.entidade_id=null,this.planejamento_superior_id=null,this.initialization(a)}}},2398:(lt,_e,m)=>{"use strict";m.d(_e,{O:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.objetivos=[],this.processos=[],this.data_inicio=new Date,this.data_fim=null,this.descricao="",this.descricao_meta="",this.descricao_entrega="",this.homologado=!1,this.meta={},this.realizado={},this.progresso_esperado=100,this.progresso_realizado=0,this.destinatario="",this.avaliacoes=[],this.comentarios=[],this.reacoes=[],this.etiquetas=[],this.checklist=[],this.entrega_id="",this.unidade_id="",this.entrega_pai_id=null,this.avaliacao_id=null,this.plano_entrega_id=null,this.initialization(a)}}},5754:(lt,_e,m)=>{"use strict";m.d(_e,{U:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.descricao="",this.orgao=null,this.forca_trabalho=1,this.plano_trabalho_id="",this.plano_entrega_entrega_id=null,this.reacoes=[],this.initialization(a)}}},762:(lt,_e,m)=>{"use strict";m.d(_e,{p:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.carga_horaria=0,this.tempo_total=0,this.tempo_proporcional=0,this.data_inicio=new Date,this.data_fim=new Date,this.status="INCLUIDO",this.forma_contagem_carga_horaria="DIA",this.metadados=void 0,this.arquivar=!1,this.entregas=[],this.documentos=[],this.atividades=[],this.status_historico=[],this.consolidacoes=[],this.assinaturasExigidas={participante:[],gestores_unidade_executora:[],gestores_unidade_lotacao:[],gestores_entidade:[]},this.jaAssinaramTCR={participante:[],gestores_unidade_executora:[],gestores_unidade_lotacao:[],gestores_entidade:[]},this.criterios_avaliacao=[],this.programa_id="",this.usuario_id="",this.unidade_id="",this.tipo_modalidade_id="",this.documento_id=null,this.initialization(a)}}},758:(lt,_e,m)=>{"use strict";m.d(_e,{i:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.nome="",this.normativa="",this.link_normativa="",this.link_autorizacao="",this.config=null,this.data_inicio=new Date,this.data_fim=new Date,this.termo_obrigatorio=!0,this.prazo_max_plano_entrega=365,this.periodicidade_consolidacao="MENSAL",this.periodicidade_valor=1,this.dias_tolerancia_consolidacao=10,this.dias_tolerancia_avaliacao=20,this.dias_tolerancia_recurso_avaliacao=10,this.nota_padrao_avaliacao=null,this.checklist_avaliacao_entregas_plano_entrega=[],this.checklist_avaliacao_entregas_plano_trabalho=[],this.registra_comparecimento=1,this.plano_trabalho_assinatura_participante=1,this.plano_trabalho_assinatura_gestor_lotacao=1,this.plano_trabalho_assinatura_gestor_unidade=1,this.plano_trabalho_assinatura_gestor_entidade=0,this.plano_trabalho_criterios_avaliacao=[],this.tipo_avaliacao_plano_trabalho_id="",this.tipo_avaliacao_plano_entrega_id="",this.tipo_justificativa_id=null,this.unidade_id="",this.unidade_autorizadora_id="",this.template_tcr_id=null,this.tipo_documento_tcr_id=null,this.initialization(a)}}},8409:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>t});var i=m(4368);class t extends i.X{constructor(a){super(),this.codigo=null,this.numero=0,this.especie="OUTRO",this.titulo="",this.conteudo="",this.dataset=[],this.entidade_id=null,this.unidade_id=null,this.initialization(a)}}},3937:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>A});var i=m(4368),t=m(1340);class A extends i.X{constructor(y){super(),this.gestor=null,this.gestores_substitutos=[],this.gestores_delegados=[],this.codigo="",this.sigla="",this.nome="",this.path="",this.atividades_arquivamento_automatico=0,this.distribuicao_forma_contagem_prazos="DIAS_UTEIS",this.entrega_forma_contagem_prazos="HORAS_UTEIS",this.notificacoes=new t.$,this.etiquetas=[],this.checklist=[],this.data_inativacao=null,this.instituidora=0,this.informal=1,this.expediente=null,this.texto_complementar_plano="",this.unidade_pai_id=null,this.entidade_id=null,this.cidade_id="",this.initialization(y)}}},6898:(lt,_e,m)=>{"use strict";m.d(_e,{b:()=>a,x:()=>A});var i=m(4368),t=m(1340);class A{constructor(){this.etiquetas=[],this.menu_contexto="EXECUCAO",this.ocultar_menu_sei=!0,this.ocultar_container_petrvs=!1,this.theme="light"}}class a extends i.X{constructor(C){super(),this.gerencias_substitutas=[],this.gerencias_delegadas=[],this.participacoes_programas=[],this.nome="",this.email="",this.cpf="",this.matricula=null,this.apelido="",this.telefone=null,this.data_nascimento=new Date,this.uf="DF",this.sexo=null,this.config=new A,this.notificacoes=new t.$,this.id_google=null,this.url_foto=null,this.situacao_funcional="ATIVO_PERMANENTE",this.texto_complementar_plano="",this.nome_jornada=null,this.cod_jornada=null,this.perfil_id="",this.initialization(C)}}},929:(lt,_e,m)=>{"use strict";m.d(_e,{_:()=>P});var i=m(755),t=m(2133),A=m(5579),a=m(9702),y=m(5545),C=m(1547),b=m(9193),N=m(5908),j=m(8720),F=m(2307),x=m(8748),H=m(2333),k=m(1508);let P=(()=>{class X{set loading(Oe){Oe?this._loading||this.dialog.showSppinerOverlay(this.mensagemCarregando):this.dialog.closeSppinerOverlay(),this._loading=Oe}get loading(){return this._loading}set submitting(Oe){Oe?(!this._submitting||!this.dialog.sppinerShowing)&&this.dialog.showSppinerOverlay(this.mensagemSalvando):this.dialog.closeSppinerOverlay(),this._submitting=Oe}get submitting(){return this._submitting}get MAX_LENGTH_TEXT(){return 65500}get MIN_LENGTH_TEXT(){return 10}set title(Oe){this._title!=Oe&&(this._title=Oe,this.titleSubscriber.next(Oe))}get title(){return this._title}set usuarioConfig(Oe){this.code.length&&(this.auth.usuarioConfig={[this.code]:Oe})}get usuarioConfig(){return Object.assign(this.defaultUsuarioConfig(),this.auth.usuarioConfig[this.code]||{})}constructor(Oe){this.injector=Oe,this.action="",this.modalInterface=!0,this.shown=!1,this.JSON=JSON,this.code="",this.titleSubscriber=new x.x,this._loading=!1,this._submitting=!1,this.OPTION_INFORMACOES={icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",hint:"Informa\xe7\xf5es",color:"btn-outline-info"},this.OPTION_ALTERAR={icon:"bi bi-pencil-square",label:"Alterar",hint:"Alterar",color:"btn-outline-warning"},this.OPTION_EXCLUIR={icon:"bi bi-trash",label:"Excluir",hint:"Excluir",color:"btn-outline-danger"},this.OPTION_LOGS={icon:"bi bi-list-ul",label:"Logs",hint:"Alterar",color:"btn-outline-secondary"},this.mensagemCarregando="Carregando...",this.mensagemSalvando="Salvando...",this.breadcrumbs=[],this.backRoute={route:["home"]},this.modalWidth=1e3,this.viewInit=!1,this.options=[],this._title="",this.error=Se=>{this.dialog.topAlert(Se)},this.lookup=this.injector.get(a.W),this.router=this.injector.get(A.F0),this.route=this.injector.get(A.gz),this.fb=this.injector.get(t.qu),this.fh=this.injector.get(j.k),this.gb=this.injector.get(C.d),this.cdRef=this.injector.get(i.sBO),this.dialog=this.injector.get(y.x),this.util=this.injector.get(b.f),this.go=this.injector.get(F.o),this.lex=this.injector.get(N.E),this.auth=this.injector.get(H.e),this.entityService=Oe.get(k.c)}ngOnInit(){this.snapshot=this.snapshot||this.modalRoute||this.route.snapshot,this.urlParams=this.snapshot.paramMap,this.queryParams=this.go.decodeParam(this.snapshot.queryParams),this.metadata=this.go.getMetadata(this.snapshot.queryParams.idroute),this.url=this.snapshot.url,this.snapshot.queryParams?.idroute?.length&&this.go.setDefaultBackRoute(this.snapshot.queryParams.idroute,this.backRoute)}get isModal(){return!!this.modalRoute}ngAfterViewInit(){!this.title?.length&&this.snapshot?.data?.title?.length&&(this.title=this.snapshot.data?.title),this.modalRoute||(this.shown=!0,this.onShow&&this.onShow()),document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(function(Se){let wt=new bootstrap.Tooltip(Se,{trigger:"hover"});Se.addEventListener("click",()=>{wt.hide()})}),this.cdRef.detectChanges(),this.viewInit=!0}saveUsuarioConfig(Oe){const Se=this.storeExtra?this.storeExtra():void 0;this.usuarioConfig=Object.assign(this.usuarioConfig||{},Se||{},Oe||{})}defaultUsuarioConfig(){return{}}addOption(Oe,Se){(!Se||this.auth.hasPermissionTo(Se))&&this.options.push(Oe)}isInvalid(Oe){return!Oe||Oe.invalid&&(Oe.dirty||Oe.touched)}hasError(Oe){return!!Oe&&!!Oe.errors}errorMessage(Oe){return Oe.errors?.errorMessage}getBackRoute(){return this.backRoute?this.backRoute:this.breadcrumbs.length?this.breadcrumbs[this.breadcrumbs.length-1]:{route:[]}}close(){this.go.back(void 0,this.backRoute)}static#e=this.\u0275fac=function(Se){return new(Se||X)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:X,factory:X.\u0275fac})}return X})()},1184:(lt,_e,m)=>{"use strict";m.d(_e,{F:()=>C});var i=m(8239),t=m(2133),A=m(929),a=m(2307),y=m(755);let C=(()=>{class b extends A._{constructor(j,F,x){super(j),this.injector=j,this.action="",this.join=[],this.mensagemSalvarSucesso="Registro salvo com sucesso!",this.mensagemCarregando="Carregando dados do formul\xe1rio...",this.mensagemSalvando="Salvando dados do formul\xe1rio...",this.error=H=>{this.editableForm&&(this.editableForm.error=H)},this.clearErros=()=>{this.editableForm&&(this.editableForm.error="")},this.dao=j.get(x)}ngOnInit(){super.ngOnInit();const j=(this.url?this.url[this.url.length-1]?.path:"")||"";this.action=["edit","consult"].includes(j)?j:"new",this.id="new"!=this.action?this.urlParams.get("id"):void 0}ngAfterViewInit(){super.ngAfterViewInit(),this.onInitializeData(),this.cdRef.detectChanges()}get isNew(){return"new"==this.action}get formDisabled(){return"consult"==this.action}checkFilled(j){return!j.find(F=>!this.form.controls[F].value?.length)}onInitializeData(){var j=this;(0,i.Z)(function*(){j.loading=!0;try{if(["edit","consult"].includes(j.action)){const F=yield j.dao.getById(j.id,j.join);j.entity=F,yield j.loadData(j.entity,j.form)}else yield j.initializeData(j.form)}catch(F){j.error("Erro ao carregar dados: "+F)}finally{j.loading=!1}"edit"==j.action&&j.titleEdit&&(j.title=j.titleEdit(j.entity))})()}onSaveData(){var j=this;return(0,i.Z)(function*(){const F=j;let x;if(j.formValidation)try{x=yield j.formValidation(j.form)}catch(H){x=H}if(j.form.valid&&!x){j.submitting=!0;try{let H=yield j.saveData(j.form.value);if(H){const k="boolean"==typeof H?j.entity?.id:H instanceof a.R?H.modalResult:(yield j.dao.save(H,j.join)).id;F.modalRoute?.queryParams?.idroute?.length&&F.go.setModalResult(F.modalRoute?.queryParams?.idroute,k),F.close()}}catch(H){F.error(H.message?H.message:H)}finally{F.submitting=!1}}else j.form.markAllAsTouched(),x&&j.error(x),Object.entries(j.form.controls).forEach(([H,k])=>{k.invalid&&console.log("Validate => "+H,k.value,k.errors)})})()}onCancel(){this.close()}getControlByName(j){return this.form.controls[j]}resetForm(j){j&&Object.keys(j.controls).forEach(F=>{const x=this.form?.get(F);if(console.log(typeof x),x instanceof t.cw)this.resetForm(x);else if(x instanceof t.Oe)for(;0!==x.length;)x.removeAt(0);else x?.reset()})}static#e=this.\u0275fac=function(F){return new(F||b)(y.LFG(y.zs3),y.LFG(y.DyG),y.LFG(y.DyG))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac})}return b})()},6298:(lt,_e,m)=>{"use strict";m.d(_e,{D:()=>C});var i=m(8239),t=m(2133),A=m(929),a=m(2307),y=m(755);let C=(()=>{class b extends A._{set control(j){this._control!=j&&(this._control=j)}get control(){return this._control}set entity(j){this._entity!=j&&(this._entity=j,this.fakeControl.setValue(this.entityToControl(j)),this.viewInit&&this.loadData(j,this.form))}get entity(){return this._entity}set noPersist(j){this._noPersist!=j&&(this._noPersist=j)}get noPersist(){return this._noPersist}constructor(j){super(j),this.injector=j,this.action="",this._entity=void 0,this._noPersist=void 0,this._control=void 0,this.fakeControl=new t.NI,this.join=[],this.entityToControl=F=>F,this.error=F=>{this.editableForm?this.editableForm.error=F:(window.scrollTo({top:0,behavior:"smooth"}),this.dialog.topAlert(F))},this.clearErros=()=>{this.editableForm&&(this.editableForm.error="")}}ngOnInit(){super.ngOnInit(),this.urlParams?.has("id")&&(this.entity_id=this.urlParams.get("id"),this.isNoPersist&&(this.entity=this.metadata?.entity))}ngAfterViewInit(){super.ngAfterViewInit(),this.onInitializeData(),this.cdRef.detectChanges()}get isNew(){return"new"==this.action}get isNoPersist(){return null!=this._noPersist||"NOPERSIST"==this.entity_id}get gridControl(){return this._control||this.fakeControl}get formDisabled(){return"consult"==this.action}loadData(j,F){}initializeData(j){}saveData(j){return(0,i.Z)(function*(){return!0})()}onInitializeData(){var j=this;this.entity_id?.length&&!this.isNoPersist&&(0,i.Z)(function*(){j.loading=!0;try{"new"==j.entity_id||j.isNew?yield j.initializeData(j.form):(j.entity=yield j.dao?.getById(j.entity_id,j.join),yield j.loadData(j.entity,j.form))}catch(F){j.error("Erro ao carregar dados: "+F)}finally{j.loading=!1}})()}onSaveData(){var j=this;return(0,i.Z)(function*(){j.submitting=!0;try{let F=yield j.saveData(j.form.value);if(F){const x=j.isNoPersist?j.entity:"boolean"==typeof F?F:F instanceof a.R?F.modalResult:yield j.dao?.update(j.entity.id,F,j.join);j.modalRoute?.queryParams?.idroute?.length&&j.go.setModalResult(j.modalRoute?.queryParams?.idroute,x),j.close()}}catch(F){j.error("Erro ao carregar dados: "+F)}finally{j.submitting=!1}})()}onCancel(){this.close()}getControlByName(j){return this.form.controls[j]}static#e=this.\u0275fac=function(F){return new(F||b)(y.LFG(y.zs3))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac})}return b})()},8509:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>C});var i=m(8239),t=m(929),A=m(9138),a=m(6401),y=m(755);let C=(()=>{class b extends t._{constructor(j,F,x){var H;super(j),H=this,this.injector=j,this.filterCollapsed=!0,this.join=[],this.rowsLimit=A.f.DEFAULT_LIMIT,this.selectable=!1,this.selectButtons=[{color:"btn-outline-success",label:"Selecionar",icon:"bi-check-circle",disabled:()=>!this.grid?.selected,onClick:()=>this.onSelect(this.grid.selected)},{color:"btn-outline-danger",label:"Cancelar",icon:"bi bi-dash-circle",onClick:()=>this.close()}],this.add=(0,i.Z)(function*(){H.go.navigate({route:H.addRoute||[...H.go.currentOrDefault.route,"new"],params:H.addParams},{filterSnapshot:void 0,querySnapshot:void 0,modalClose:k=>{k&&(H.refresh(),H.afterAdd&&H.afterAdd(k),H.dialog.topAlert("Registro inclu\xeddo com sucesso!",5e3))}})}),this.consult=function(){var k=(0,i.Z)(function*(P){H.go.navigate({route:[...H.go.currentOrDefault.route,P.id,"consult"]})});return function(P){return k.apply(this,arguments)}}(),this.showLogs=function(){var k=(0,i.Z)(function*(P){H.go.navigate({route:["logs","change",P.id,"consult"]})});return function(P){return k.apply(this,arguments)}}(),this.edit=function(){var k=(0,i.Z)(function*(P){H.go.navigate({route:[...H.go.currentOrDefault.route,P.id,"edit"]},{filterSnapshot:void 0,querySnapshot:void 0,modalClose:X=>{X&&(H.refresh(P.id),H.afterEdit&&H.afterEdit(X),H.dialog.topAlert("Registro alterado com sucesso!",5e3))}})});return function(P){return k.apply(this,arguments)}}(),this.delete=function(){var k=(0,i.Z)(function*(P){const X=H;H.dialog.confirm("Exclui ?","Deseja realmente excluir?").then(me=>{me&&H.dao.delete(P).then(function(){(X.grid.query||X.query).removeId(P.id),X.dialog.topAlert("Registro exclu\xeddo com sucesso!",5e3)}).catch(Oe=>{X.dialog.alert("Erro","Erro ao excluir: "+(Oe?.message?Oe?.message:Oe))})})});return function(P){return k.apply(this,arguments)}}(),this.error=k=>{this.grid&&(this.grid.error=k)},this.cancel=function(){var k=(0,i.Z)(function*(P){const X=H;H.dialog.confirm("Cancelar ?","Deseja realmente cancelar o registro?").then(me=>{me&&H.dao.delete(P).then(function(){(X.grid.query||X.query).removeId(P.id),X.dialog.topAlert("Registro cancelado com sucesso!",5e3)}).catch(Oe=>{X.dialog.alert("Erro","Erro ao cancelar: "+(Oe?.message?Oe?.message:Oe))})})});return function(P){return k.apply(this,arguments)}}(),this.dao=j.get(x),this.OPTION_INFORMACOES.onClick=this.consult.bind(this),this.OPTION_EXCLUIR.onClick=this.delete.bind(this),this.OPTION_LOGS.onClick=this.showLogs.bind(this)}saveUsuarioConfig(j){const F={filter:this.storeFilter?this.storeFilter(this.filter):void 0,filterCollapsed:this.filterCollapsed};super.saveUsuarioConfig(Object.assign(F,{orderBy:this.orderBy},j||{}))}filterSubmit(j){this.saveUsuarioConfig()}filterClear(j){this.saveUsuarioConfig()}filterCollapseChange(j){this.filterCollapsed=!!this.grid?.filterRef?.collapsed,this.saveUsuarioConfig()}static modalSelect(j){return new Promise((F,x)=>{if(this.selectRoute){const H={route:this.selectRoute.route,params:Object.assign(this.selectRoute.params||{},{selectable:!0,modal:!0},j)};a.y.instance.go.navigate(H,{modalClose:F.bind(this)})}else x("Rota de sele\xe7\xe3o indefinida")})}modalRefreshId(j){var F=this;return{modal:!0,modalClose:function(){var x=(0,i.Z)(function*(H){return F.refresh(j.id)});return function(H){return x.apply(this,arguments)}}().bind(this)}}modalRefresh(){var j=this;return{modal:!0,modalClose:function(){var F=(0,i.Z)(function*(x){return j.refresh()});return function(x){return F.apply(this,arguments)}}().bind(this)}}get queryOptions(){return{where:this.filterWhere&&this.filter?this.filterWhere(this.filter):[],orderBy:[...(this.groupBy||[]).map(j=>[j.field,"asc"]),...this.orderBy||[]],join:this.join||[],limit:this.rowsLimit}}onLoad(){this.grid?.queryInit(),this.grid||(this.query=this.dao?.query(this.queryOptions,{after:()=>this.cdRef.detectChanges()}))}ngOnInit(){super.ngOnInit(),this.selectable=!!this.queryParams?.selectable}ngAfterViewInit(){super.ngAfterViewInit(),this.usuarioConfig?.filter&&this.filter?.patchValue(this.usuarioConfig.filter,{emitEvent:!0}),null!=this.usuarioConfig?.filterCollapsed&&(this.filterCollapsed=this.usuarioConfig?.filterCollapsed,this.cdRef.detectChanges()),this.queryParams?.filter&&(this.loadFilterParams?this.loadFilterParams(this.queryParams?.filter,this.filter):this.filter?.patchValue(this.queryParams?.filter,{emitEvent:!0})),this.queryParams?.fixedFilter&&(this.fixedFilter=this.queryParams?.fixedFilter),this.selectable&&!this.title.startsWith("Selecionar ")&&(this.title="Selecionar "+this.title),this.onLoad()}refresh(j){return j?(this.grid?.query||this.query).refreshId(j):(this.grid?.query||this.query).refresh()}onSelect(j){const F=(this.modalRoute||this.snapshot)?.queryParams?.idroute;j&&!(j instanceof Event)&&F?.length&&(this.go.setModalResult(F,j),this.close())}static#e=this.\u0275fac=function(F){return new(F||b)(y.LFG(y.zs3),y.LFG(y.DyG),y.LFG(y.DyG))};static#t=this.\u0275prov=y.Yz7({token:b,factory:b.\u0275fac})}return b})()},5336:(lt,_e,m)=>{"use strict";m.r(_e),m.d(_e,{LogModule:()=>Mt});var i=m(6733),t=m(5579),A=m(1391),a=m(2314),y=m(8239),C=m(3150),b=m(8958),N=m(5255),j=m(1508),F=m(9084),x=m(39),H=m(8509),k=m(755),P=m(9437),X=m(7765),me=m(5512),Oe=m(2704),Se=m(4495),wt=m(4603),K=m(5489),V=m(5736);function J(Ot,ve){1&Ot&&k._UZ(0,"div",9)}function ae(Ot,ve){if(1&Ot&&(k.TgZ(0,"span",10),k._uU(1),k.qZA()),2&Ot){const De=k.oxw().$implicit;k.xp6(1),k.Oqu(De.description)}}function oe(Ot,ve){if(1&Ot&&(k.TgZ(0,"div",11),k._UZ(1,"json-viewer",12),k.qZA()),2&Ot){const De=k.oxw().$implicit,xe=k.oxw();k.xp6(1),k.Q6J("json",De.value)("expanded",xe.expanded)("depth",xe.depth)("_currentDepth",xe._currentDepth+1)}}const ye=function(Ot){return["segment",Ot]},Ee=function(Ot,ve){return{"segment-main":!0,expandable:Ot,expanded:ve}};function Ge(Ot,ve){if(1&Ot){const De=k.EpF();k.TgZ(0,"div",2)(1,"div",3),k.NdJ("click",function(){const xt=k.CHM(De).$implicit,cn=k.oxw();return k.KtG(cn.toggle(xt))}),k.YNc(2,J,1,0,"div",4),k.TgZ(3,"span",5),k._uU(4),k.qZA(),k.TgZ(5,"span",6),k._uU(6,": "),k.qZA(),k.YNc(7,ae,2,1,"span",7),k.qZA(),k.YNc(8,oe,2,4,"div",8),k.qZA()}if(2&Ot){const De=ve.$implicit,xe=k.oxw();k.Q6J("ngClass",k.VKq(6,ye,"segment-type-"+De.type)),k.xp6(1),k.Q6J("ngClass",k.WLB(8,Ee,xe.isExpandable(De),De.expanded)),k.xp6(1),k.Q6J("ngIf",xe.isExpandable(De)),k.xp6(2),k.Oqu(De.key),k.xp6(3),k.Q6J("ngIf",!De.expanded||!xe.isExpandable(De)),k.xp6(1),k.Q6J("ngIf",De.expanded&&xe.isExpandable(De))}}let gt=(()=>{class Ot extends V.V{constructor(){super(...arguments),this.expanded=!1,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],console.log(this.segments),this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(De=>{this.segments.push(this.parseKeyValue(De,this.json[De]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(De){return"object"===De.type||"array"===De.type}toggle(De){this.isExpandable(De)&&(De.expanded=!De.expanded)}parseKeyValue(De,xe){const Ye={key:De,value:xe,type:void 0,description:""+xe,expanded:this.isExpanded()};switch(typeof Ye.value){case"number":Ye.type="number";break;case"boolean":Ye.type="boolean";break;case"function":Ye.type="function";break;case"string":Ye.type="string",Ye.description='"'+Ye.value+'"';break;case"undefined":Ye.type="undefined",Ye.description="undefined";break;case"object":null===Ye.value?(Ye.type="null",Ye.description="null"):Array.isArray(Ye.value)?(Ye.type="array",Ye.description="Array["+Ye.value.length+"] "+JSON.stringify(Ye.value)):Ye.value instanceof Date?(Ye.type="date",Ye.description=this.util.getDateTimeFormatted(Ye.value," - ")):(Ye.type="object",Ye.description="Object "+JSON.stringify(Ye.value))}return Ye}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(De){const xe=new WeakMap;return function Ye(xt,cn){let Kn,An;return"object"!=typeof xt||null===xt||xt instanceof Boolean||xt instanceof Date||xt instanceof Number||xt instanceof RegExp||xt instanceof String?xt:(Kn=xe.get(xt),void 0!==Kn?{$ref:Kn}:(xe.set(xt,cn),Array.isArray(xt)?(An=[],xt.forEach(function(gs,Qt){An[Qt]=Ye(gs,cn+"["+Qt+"]")})):(An={},Object.keys(xt).forEach(function(gs){An[gs]=Ye(xt[gs],cn+"["+JSON.stringify(gs)+"]")})),An))}(De,"$")}static#e=this.\u0275fac=function(){let De;return function(Ye){return(De||(De=k.n5z(Ot)))(Ye||Ot)}}();static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[k.qOj,k.TTD],decls:2,vars:1,consts:[[1,"json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(xe,Ye){1&xe&&(k.TgZ(0,"div",0),k.YNc(1,Ge,9,11,"div",1),k.qZA()),2&xe&&(k.xp6(1),k.Q6J("ngForOf",Ye.segments))},dependencies:[i.mk,i.sg,i.O5,Ot],styles:['@charset "UTF-8";[_nghost-%COMP%]{height:100%}.json-viewer[_ngcontent-%COMP%]{font-family:var(--json-font-family, monospace);font-size:var(--json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--json-toggler, #787878)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--json-key, #c2920d)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--json-separator, #999)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--json-value, #000)}.json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-string, #FF6B6B)}.json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-number, #009688)}.json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-boolean, #B938A4)}.json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-date, #05668D)}.json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-array, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-object, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-function, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-null, #fff)}.json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--json-undefined, #fff)}.json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--json-null-bg, red)}.json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--json-undefined-key, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--json-undefined-key, #999)}.json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']})}return Ot})();const Ze=["selectResponsaveis"],Je=["relacao"];function tt(Ot,ve){if(1&Ot){const De=k.EpF();k.TgZ(0,"button",12),k.NdJ("click",function(){k.CHM(De);const Ye=k.oxw();return k.KtG(Ye.exportarCSV())}),k.TgZ(1,"i",13),k._uU(2," Exportar CSV"),k.qZA()()}}function Qe(Ot,ve){if(1&Ot&&(k.TgZ(0,"div",14)(1,"h2",15)(2,"button",16)(3,"div",17)(4,"span",18),k._uU(5),k.qZA(),k.TgZ(6,"span",19),k._UZ(7,"badge",20),k.qZA(),k.TgZ(8,"span",21),k._uU(9),k.qZA(),k.TgZ(10,"span",22),k._UZ(11,"badge",20),k.qZA()()()(),k.TgZ(12,"div",23)(13,"div",24),k._UZ(14,"json-viewer",25),k.qZA()()()),2&Ot){const De=ve.$implicit,xe=k.oxw();k.xp6(2),k.uIk("data-bs-toggle","collapse")("data-bs-target","#collapse_"+De.id)("aria-controls","collapse_"+De.id),k.xp6(3),k.Oqu(De._metadata.responsavel),k.xp6(2),k.Q6J("label",De.type)("color","DELETE"==De.type?"#910404":"#030521"),k.xp6(2),k.Oqu(De.table_name),k.xp6(2),k.Q6J("label",xe.util.getDateTimeFormatted(De.date_time))("color","#676789"),k.xp6(1),k.uIk("id","collapse_"+De.id)("data-bs-target","#accordionLogs"),k.xp6(2),k.Q6J("json",De.delta)}}let pt=(()=>{class Ot extends H.E{constructor(De,xe,Ye){super(De,x.R,b.D),this.injector=De,this.xlsx=Ye,this.toolbarButtons=[],this.responsaveis=[],this.relacoes=[],this.changes=[],this.filterWhere=xt=>{let cn=[],Kn=xt.value;return Kn.usuario_id?.length&&cn.push(["user_id","==","null"==Kn.usuario_id?null:Kn.usuario_id]),Kn.data_inicio&&cn.push(["date_time",">=",Kn.data_inicio]),Kn.data_fim&&cn.push(["date_time","<=",Kn.data_fim]),Kn.tabela&&cn.push(["table_name","==",Kn.tabela]),Kn.row_id_text&&cn.push(["row_id","==",Kn.row_id_text]),Kn.row_id_search&&!Kn.row_id_text&&cn.push(["row_id","==",Kn.row_id_search]),Kn.tipo?.length&&cn.push(["type","==",Kn.tipo]),cn},this.usuarioDao=De.get(N.q),this.entityService=De.get(j.c),this.allPages=De.get(F.T),this.title=this.lex.translate("Logs das Altera\xe7\xf5es"),this.filter=this.fh.FormBuilder({relacoes:{default:[]},usuario_id:{default:""},data_inicio:{default:""},data_fim:{default:""},tabela:{default:""},tipo:{default:""},row_id:{default:""},row_id_text:{default:""},row_id_search:{default:""}}),this.orderBy=[["id","desc"]]}ngOnInit(){super.ngOnInit(),this.filter?.controls.row_id_text.setValue(this.urlParams?.get("id"))}carregaResposaveis(De){this.selectResponsaveis.loading=!0,this.dao?.showResponsaveis(De).then(xe=>{this.responsaveis=xe.map(Ye=>({key:Ye.id,value:Ye.nome}))}).finally(()=>this.selectResponsaveis.loading=!1)}montaRelacoes(De){this.relacoes=De[0]._metadata.relacoes.map(xe=>({key:xe,value:xe}))}loadChanges(De){var xe=this;return(0,y.Z)(function*(){if(De){xe.changes=De;let Ye=xe.changes.map(xt=>xt.user_id);Ye=Array.from(new Set(Ye)),xe.carregaResposaveis(Ye),xe.changes.length>1&&xe.montaRelacoes(xe.changes)}})()}onRelacaoChange(De){const xe=De.target.value,Ye=this.filter?.controls.relacoes.value||[];if(Ye.includes(xe)){const xt=Ye.indexOf(xe);Ye.splice(xt,1)}else Ye.push(xe);this.filter?.controls.relacoes.setValue(Ye)}filterClear(De){De.controls.usuario_id.setValue(""),De.controls.data_inicio.setValue(""),De.controls.data_fim.setValue(""),De.controls.tabela.setValue(""),De.controls.tipo.setValue(""),De.controls.opcao_filtro.setValue("ID do registro"),super.filterClear(De)}exportarCSV(){const De=this.changes.map(xe=>({...xe,delta:JSON.stringify(xe.delta)}));this.xlsx.exportJSON("logs",De)}static#e=this.\u0275fac=function(xe){return new(xe||Ot)(k.Y36(k.zs3),k.Y36(b.D),k.Y36(P.x))};static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["app-change-list"]],viewQuery:function(xe,Ye){if(1&xe&&(k.Gf(C.M,5),k.Gf(Ze,5),k.Gf(Je,5)),2&xe){let xt;k.iGM(xt=k.CRH())&&(Ye.grid=xt.first),k.iGM(xt=k.CRH())&&(Ye.selectResponsaveis=xt.first),k.iGM(xt=k.CRH())&&(Ye.relacao=xt.first)}},features:[k.qOj],decls:14,vars:26,consts:[[3,"dao","hasEdit","title","orderBy","groupBy","join","loadList"],["class","btn btn-outline-info me-2",3,"click",4,"ngIf"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel pelo registro","controlName","usuario_id",3,"control","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio dos registros",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim dos registros",3,"size","control"],["label","Tipo","icon","bi bi-arrow-up-right-circle","controlName","tipo","itemTodos","Todos","valueTodos","",3,"size","control","items"],["id","accordionLogs",1,"accordion","mt-3"],["class","accordion-item",4,"ngFor","ngForOf"],[3,"rows"],[1,"btn","btn-outline-info","me-2",3,"click"],[1,"bi","bi-filetype-csv"],[1,"accordion-item"],[1,"accordion-header"],["type","button","aria-expanded","false",1,"accordion-button","collapsed"],[1,"d-flex","justify-content-start","align-items-center","m-0"],[1,"nome","me-2"],[1,"acao","me-2"],[3,"label","color"],[1,"tabela","me-2"],[1,"data"],[1,"accordion-collapse","collapse"],[1,"accordion-body"],[3,"json"]],template:function(xe,Ye){1&xe&&(k.TgZ(0,"grid",0)(1,"toolbar"),k.YNc(2,tt,3,0,"button",1),k.qZA(),k.TgZ(3,"filter",2)(4,"div",3),k._UZ(5,"input-select",4,5),k.qZA(),k.TgZ(7,"div",3),k._UZ(8,"input-datetime",6)(9,"input-datetime",7)(10,"input-select",8),k.qZA()(),k.TgZ(11,"div",9),k.YNc(12,Qe,15,12,"div",10),k.qZA(),k._UZ(13,"pagination",11),k.qZA()),2&xe&&(k.Q6J("dao",Ye.dao)("hasEdit",!1)("title",Ye.isModal?"":Ye.title)("orderBy",Ye.orderBy)("groupBy",Ye.groupBy)("join",Ye.join)("loadList",Ye.loadChanges.bind(Ye)),k.xp6(2),k.Q6J("ngIf",Ye.changes.length),k.xp6(1),k.Q6J("deleted",Ye.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Ye.filter)("where",Ye.filterWhere)("submit",Ye.filterSubmit.bind(Ye))("clear",Ye.filterClear.bind(Ye))("collapseChange",Ye.filterCollapseChange.bind(Ye))("collapsed",!Ye.selectable&&Ye.filterCollapsed),k.xp6(2),k.Q6J("control",Ye.filter.controls.usuario_id)("items",Ye.responsaveis),k.xp6(3),k.Q6J("size",4)("control",Ye.filter.controls.data_inicio),k.xp6(1),k.Q6J("size",4)("control",Ye.filter.controls.data_fim),k.xp6(1),k.Q6J("size",4)("control",Ye.filter.controls.tipo)("items",Ye.lookup.TIPO_LOG_CHANGE),k.xp6(2),k.Q6J("ngForOf",Ye.changes),k.xp6(1),k.Q6J("rows",Ye.rowsLimit))},dependencies:[i.sg,i.O5,C.M,X.z,me.n,Oe.Q,Se.k,wt.p,K.F,gt]})}return Ot})();var Nt=m(4040),Jt=m(4317),nt=m(4368);class ot extends nt.X{constructor(){super(),this.user=[],this.date_time="",this.message="",this.data="",this.trace="",this.type="ERROR"}}var Ct=m(1184),He=m(2392),mt=m(4508);let vt=(()=>{class Ot extends Ct.F{constructor(De){super(De,ot,Jt.v),this.injector=De,this.form=this.fh.FormBuilder({message:{default:""},data:{default:""},trace:{default:""},user_id:{default:""},user_email:{default:""},user_nome:{default:""},date_time:{default:null},type:{default:""}},this.cdRef)}ngOnInit(){super.ngOnInit()}loadData(De,xe){let Ye=Object.assign({},xe.value);xe.patchValue(this.util.fillForm(Ye,De))}initializeData(De){De.patchValue(new ot)}saveData(De){return new Promise((xe,Ye)=>{const xt=this.util.fill(new ot,this.entity);xe(this.util.fillForm(xt,this.form.value))})}static#e=this.\u0275fac=function(xe){return new(xe||Ot)(k.Y36(k.zs3))};static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["error-form"]],viewQuery:function(xe,Ye){if(1&xe&&k.Gf(Nt.Q,5),2&xe){let xt;k.iGM(xt=k.CRH())&&(Ye.editableForm=xt.first)}},features:[k.qOj],decls:15,vars:26,consts:[[3,"form","disabled","title","cancel"],[1,"row"],["label","Tipo de altera\xe7\xe3o","icon","bi bi-upc","controlName","type",3,"size","control"],["datetime","","label","Data do registro","controlName","date_time",3,"size","control"],["label","Respons\xe1vel pelo registro","icon","bi bi-upc","controlName","user_nome",3,"size","control"],["label","ID","icon","bi bi-upc","controlName","user_id",3,"size","control"],["label","E-mail","icon","bi bi-upc","controlName","user_email",3,"size","control"],["label","Mensagem","icon","bi bi-textarea-t","controlName","message",3,"size","rows","control"],["label","Dados","icon","bi bi-textarea-t","controlName","data",3,"size","rows","control"],["label","Trace","icon","bi bi-textarea-t","controlName","trace",3,"size","rows","control"]],template:function(xe,Ye){1&xe&&(k.TgZ(0,"editable-form",0),k.NdJ("cancel",function(){return Ye.onCancel()}),k.TgZ(1,"div",1)(2,"div",1),k._UZ(3,"input-text",2)(4,"input-datetime",3),k.qZA(),k.TgZ(5,"div",1),k._UZ(6,"input-text",4)(7,"input-text",5)(8,"input-text",6),k.qZA(),k.TgZ(9,"div",1),k._UZ(10,"input-textarea",7),k.qZA(),k.TgZ(11,"div",1),k._UZ(12,"input-textarea",8),k.qZA(),k.TgZ(13,"div",1),k._UZ(14,"input-textarea",9),k.qZA()()()),2&xe&&(k.Q6J("form",Ye.form)("disabled",!0)("title",Ye.isModal?"":Ye.title),k.xp6(3),k.Q6J("size",3)("control",Ye.form.controls.type),k.uIk("maxlength",250),k.xp6(1),k.Q6J("size",4)("control",Ye.form.controls.date_time),k.xp6(2),k.Q6J("size",4)("control",Ye.form.controls.user_nome),k.uIk("maxlength",250),k.xp6(1),k.Q6J("size",4)("control",Ye.form.controls.user_id),k.uIk("maxlength",250),k.xp6(1),k.Q6J("size",4)("control",Ye.form.controls.user_email),k.uIk("maxlength",250),k.xp6(2),k.Q6J("size",12)("rows",3)("control",Ye.form.controls.message),k.xp6(2),k.Q6J("size",12)("rows",3)("control",Ye.form.controls.data),k.xp6(2),k.Q6J("size",12)("rows",3)("control",Ye.form.controls.trace))},dependencies:[Nt.Q,He.m,mt.Q,Se.k]})}return Ot})();var hn=m(7224),yt=m(3351);function Fn(Ot,ve){if(1&Ot&&(k.TgZ(0,"span")(1,"small"),k._uU(2),k.qZA()()),2&Ot){const De=ve.row;k.xp6(2),k.Oqu(De.user&&De.user.nome||"")}}function xn(Ot,ve){if(1&Ot&&(k.TgZ(0,"span")(1,"small"),k._uU(2),k.qZA()()),2&Ot){const De=ve.row,xe=k.oxw();k.xp6(2),k.Oqu(xe.util.getDateTimeFormatted(De.date_time))}}function In(Ot,ve){if(1&Ot&&(k.TgZ(0,"span")(1,"small"),k._uU(2),k.qZA()()),2&Ot){const De=ve.row;k.xp6(2),k.Oqu(De.message.substr(0,200))}}function dn(Ot,ve){if(1&Ot&&k._UZ(0,"column",17),2&Ot){const De=k.oxw();k.Q6J("dynamicButtons",De.dynamicButtons.bind(De))}}const di=[{path:"change",component:pt,canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Logs das Altera\xe7\xf5es"}},{path:"change/:id/consult",component:pt,canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Log de Altera\xe7\xe3o",modal:!0}},{path:"error",component:(()=>{class Ot extends H.E{constructor(De,xe){super(De,ot,Jt.v),this.injector=De,this.responsaveis=[],this.filterWhere=Ye=>{let xt=[],cn=Ye.value;return cn.responsavel_id?.length&&xt.push(["user_id","==","null"==cn.responsavel_id?null:cn.responsavel_id]),cn.data_inicio&&xt.push(["date_time",">=",cn.data_inicio]),cn.data_fim&&xt.push(["date_time","<=",cn.data_fim]),cn.type?.length&&xt.push(["type","==",cn.type]),xt},this.usuarioDao=De.get(N.q),this.allPages=De.get(F.T),this.title=this.lex.translate("Logs dos Erros"),this.filter=this.fh.FormBuilder({type:{default:""},responsavel_id:{default:""},data_inicio:{default:null},data_fim:{default:null}}),this.orderBy=[["date_time","desc"]]}ngAfterViewInit(){var De=()=>super.ngAfterViewInit,xe=this;return(0,y.Z)(function*(){De().call(xe),xe.selectResponsaveis.loading=!0,xe.dao?.showResponsaveis().then(Ye=>{xe.responsaveis=Ye||[]}),xe.cdRef.detectChanges(),xe.selectResponsaveis.loading=!1})()}filterClear(De){De.controls.responsavel_id.setValue(""),De.controls.data_inicio.setValue(""),De.controls.data_fim.setValue(""),De.controls.type.setValue("")}dynamicButtons(De){let xe=[];return this.auth.hasPermissionTo("MOD_PENT")&&xe.push({icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",onClick:this.consult.bind(this)}),xe}static#e=this.\u0275fac=function(xe){return new(xe||Ot)(k.Y36(k.zs3),k.Y36(Jt.v))};static#t=this.\u0275cmp=k.Xpm({type:Ot,selectors:[["error-list"]],viewQuery:function(xe,Ye){if(1&xe&&(k.Gf(C.M,5),k.Gf(wt.p,5)),2&xe){let xt;k.iGM(xt=k.CRH())&&(Ye.grid=xt.first),k.iGM(xt=k.CRH())&&(Ye.selectResponsaveis=xt.first)}},features:[k.qOj],decls:22,vars:29,consts:[[3,"dao","hasEdit","title","orderBy"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel pelo registro","controlName","responsavel_id","itemTodos","Todos","valueTodos","",3,"control","size","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio da pesquisa",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim da pesquisa",3,"size","control"],["label","Tipo","icon","bi bi-arrow-up-right-circle","controlName","type","itemTodos","Todos","valueTodos","",3,"size","control","items"],["title","Respons\xe1vel","field","user",3,"width","template"],["columnUser",""],["title","Criado em","field","date_time",3,"width","template"],["columnDataCriacao",""],["title","Mensagem","field","message",3,"width","template"],["columnMessage",""],["title","Tipo","field","type"],["type","options",3,"dynamicButtons",4,"ngIf"],[3,"rows"],["type","options",3,"dynamicButtons"]],template:function(xe,Ye){if(1&xe&&(k.TgZ(0,"grid",0),k._UZ(1,"toolbar"),k.TgZ(2,"filter",1)(3,"div",2),k._UZ(4,"input-select",3,4)(6,"input-datetime",5)(7,"input-datetime",6)(8,"input-select",7),k.qZA()(),k.TgZ(9,"columns")(10,"column",8),k.YNc(11,Fn,3,1,"ng-template",null,9,k.W1O),k.qZA(),k.TgZ(13,"column",10),k.YNc(14,xn,3,1,"ng-template",null,11,k.W1O),k.qZA(),k.TgZ(16,"column",12),k.YNc(17,In,3,1,"ng-template",null,13,k.W1O),k.qZA(),k._UZ(19,"column",14),k.YNc(20,dn,1,1,"column",15),k.qZA(),k._UZ(21,"pagination",16),k.qZA()),2&xe){const xt=k.MAs(12),cn=k.MAs(15),Kn=k.MAs(18);k.Q6J("dao",Ye.dao)("hasEdit",!1)("title",Ye.isModal?"":Ye.title)("orderBy",Ye.orderBy),k.xp6(2),k.Q6J("deleted",Ye.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Ye.filter)("where",Ye.filterWhere)("submit",Ye.filterSubmit.bind(Ye))("clear",Ye.filterClear.bind(Ye))("collapseChange",Ye.filterCollapseChange.bind(Ye))("collapsed",!Ye.selectable&&Ye.filterCollapsed),k.xp6(2),k.Q6J("control",Ye.filter.controls.responsavel_id)("size",4)("items",Ye.responsaveis),k.xp6(2),k.Q6J("size",3)("control",Ye.filter.controls.data_inicio),k.xp6(1),k.Q6J("size",3)("control",Ye.filter.controls.data_fim),k.xp6(1),k.Q6J("size",2)("control",Ye.filter.controls.type)("items",Ye.lookup.TIPO_LOG_ERROR),k.xp6(2),k.Q6J("width",80)("template",xt),k.xp6(3),k.Q6J("width",80)("template",cn),k.xp6(3),k.Q6J("width",80)("template",Kn),k.xp6(4),k.Q6J("ngIf",!Ye.selectable),k.xp6(1),k.Q6J("rows",Ye.rowsLimit)}},dependencies:[i.O5,C.M,hn.a,yt.b,X.z,me.n,Oe.Q,Se.k,wt.p]})}return Ot})(),canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Logs dos Erros"}},{path:"error/:id/consult",component:vt,canActivate:[A.a],resolve:{config:a.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Log de Erro",modal:!0}}];let ir=(()=>{class Ot{static#e=this.\u0275fac=function(xe){return new(xe||Ot)};static#t=this.\u0275mod=k.oAB({type:Ot});static#n=this.\u0275inj=k.cJS({imports:[t.Bz.forChild(di),t.Bz]})}return Ot})();var Bn=m(2662),xi=m(2133),fi=m(900);let Mt=(()=>{class Ot{static#e=this.\u0275fac=function(xe){return new(xe||Ot)};static#t=this.\u0275mod=k.oAB({type:Ot});static#n=this.\u0275inj=k.cJS({imports:[i.ez,Bn.K,xi.UX,ir,fi.JP.forRoot()]})}return Ot})()},9179:(lt,_e,m)=>{"use strict";m.r(_e),m.d(_e,{RotinaModule:()=>ve});var i=m(6733),t=m(2662),A=m(2133),a=m(5579),y=m(1391),C=m(2314),b=m(4040),N=m(5316),j=m(7909),F=m(4368);class x extends F.X{constructor(){super(),this.data_execucao="",this.atualizar_unidades=!1,this.atualizar_servidores=!1,this.atualizar_gestores=!0,this.usar_arquivos_locais=!1,this.gravar_arquivos_locais=!1,this.usuario_id="",this.entidade_id=""}}var H=m(1184),k=m(553),P=m(755),X=m(8820),me=m(2392),Oe=m(4495),Se=m(5560);const wt=["entidade"],K=["usuario"];function V(De,xe){if(1&De&&(P.TgZ(0,"div",1),P._UZ(1,"input-text",13,14)(3,"input-text",15,16)(5,"input-datetime",17),P.qZA()),2&De){const Ye=P.oxw();P.xp6(1),P.Q6J("size",4)("control",Ye.form.controls.entidade_id),P.uIk("maxlength",250),P.xp6(2),P.Q6J("size",5)("control",Ye.form.controls.usuario_id),P.uIk("maxlength",250),P.xp6(2),P.Q6J("size",3)("control",Ye.form.controls.data_execucao)}}function J(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function ae(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function oe(De,xe){if(1&De&&(P.TgZ(0,"div",19)(1,"span")(2,"strong"),P._uU(3,"Falhas"),P.qZA()(),P.YNc(4,ae,2,1,"span",20),P.qZA()),2&De){const Ye=P.oxw(2);P.xp6(4),P.Q6J("ngForOf",Ye.falhas_unidades)}}function ye(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Ee(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Ge(De,xe){if(1&De&&(P.TgZ(0,"div",19)(1,"span")(2,"strong"),P._uU(3,"Falhas"),P.qZA()(),P.YNc(4,Ee,2,1,"span",20),P.qZA()),2&De){const Ye=P.oxw(2);P.xp6(4),P.Q6J("ngForOf",Ye.falhas_servidores)}}function gt(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Ze(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.$implicit,xt=xe.index;P.xp6(1),P.Oqu("["+(xt+1)+"] "+Ye)}}function Je(De,xe){if(1&De&&(P.TgZ(0,"div",19)(1,"span")(2,"strong"),P._uU(3,"Falhas"),P.qZA()(),P.YNc(4,Ze,2,1,"span",20),P.qZA()),2&De){const Ye=P.oxw(2);P.xp6(4),P.Q6J("ngForOf",Ye.falhas_gestores)}}function tt(De,xe){if(1&De&&(P.TgZ(0,"div",1)(1,"separator",18)(2,"div",1)(3,"span")(4,"strong"),P._uU(5,"Resultado"),P.qZA()(),P.TgZ(6,"span"),P._uU(7),P.qZA()(),P.TgZ(8,"div",19)(9,"span")(10,"strong"),P._uU(11,"Observa\xe7\xf5es"),P.qZA()(),P.YNc(12,J,2,1,"span",20),P.qZA(),P.YNc(13,oe,5,1,"div",21),P.qZA(),P.TgZ(14,"separator",22)(15,"div",1)(16,"span")(17,"strong"),P._uU(18,"Resultado"),P.qZA()(),P.TgZ(19,"span"),P._uU(20),P.qZA()(),P.TgZ(21,"div",19)(22,"span")(23,"strong"),P._uU(24,"Observa\xe7\xf5es"),P.qZA()(),P.YNc(25,ye,2,1,"span",20),P.qZA(),P.YNc(26,Ge,5,1,"div",21),P.qZA(),P.TgZ(27,"separator",23)(28,"div",1)(29,"span")(30,"strong"),P._uU(31,"Resultado"),P.qZA()(),P.TgZ(32,"span"),P._uU(33),P.qZA()(),P.TgZ(34,"div",19)(35,"span")(36,"strong"),P._uU(37,"Observa\xe7\xf5es"),P.qZA()(),P.YNc(38,gt,2,1,"span",20),P.qZA(),P.YNc(39,Je,5,1,"div",21),P.qZA()()),2&De){const Ye=P.oxw();P.xp6(1),P.Q6J("collapse","collapse"),P.xp6(6),P.Oqu(Ye.resultado_unidades),P.xp6(5),P.Q6J("ngForOf",Ye.obs_unidades),P.xp6(1),P.Q6J("ngIf",Ye.falhas_unidades.length>0),P.xp6(1),P.Q6J("collapse","collapse"),P.xp6(6),P.Oqu(Ye.resultado_servidores),P.xp6(5),P.Q6J("ngForOf",Ye.obs_servidores),P.xp6(1),P.Q6J("ngIf",Ye.falhas_servidores.length>0),P.xp6(1),P.Q6J("collapse","collapse"),P.xp6(6),P.Oqu(Ye.resultado_gestores),P.xp6(5),P.Q6J("ngForOf",Ye.obs_gestores),P.xp6(1),P.Q6J("ngIf",Ye.falhas_gestores.length>0)}}let Qe=(()=>{class De extends H.F{constructor(Ye,xt){super(Ye,x,j.a),this.injector=Ye,this.confirmLabel="Executar",this.production=!1,this.resultado_unidades="",this.obs_unidades=[],this.falhas_unidades=[],this.resultado_servidores="",this.obs_servidores=[],this.falhas_servidores=[],this.resultado_gestores="",this.obs_gestores=[],this.falhas_gestores=[],this.validate=(cn,Kn)=>{let An=null;return["entidade_id","usuario_id"].indexOf(Kn)>=0&&!cn.value?.length&&(An="Obrigat\xf3rio"),An},this.entidadeDao=Ye.get(N.i),this.form=this.fh.FormBuilder({atualizar_unidades:{default:!1},atualizar_servidores:{default:!1},atualizar_gestores:{default:!0},usar_arquivos_locais:{default:!1},gravar_arquivos_locais:{default:!1},entidade_id:{default:""},usuario_id:{default:""},data_execucao:{default:""},resultado:{default:""}},this.cdRef,this.validate),this.join=["entidade","usuario"]}loadData(Ye,xt){let cn=Object.assign({},xt.value);xt.patchValue(this.util.fillForm(cn,Ye)),this.preparaFormulario(Ye)}preparaFormulario(Ye){this.production=k.N.production,this.form.controls.entidade_id.setValue(Ye.id?Ye.entidade.nome:this.auth.unidade?.entidade_id),this.form.controls.usuario_id.setValue(Ye.id?Ye.usuario_id?Ye.usuario.nome:"Usu\xe1rio n\xe3o logado":this.auth.usuario.id),this.resultado_unidades=Ye.id?JSON.parse(Ye.resultado).unidades.Resultado:"",this.obs_unidades=Ye.id?JSON.parse(Ye.resultado).unidades.Observa\u00e7\u00f5es:[],this.falhas_unidades=Ye.id?JSON.parse(Ye.resultado).unidades.Falhas:[],this.resultado_servidores=Ye.id?JSON.parse(Ye.resultado).servidores.Resultado:"",this.obs_servidores=Ye.id?JSON.parse(Ye.resultado).servidores.Observa\u00e7\u00f5es:[],this.falhas_servidores=Ye.id?JSON.parse(Ye.resultado).servidores.Falhas:[],this.resultado_gestores=Ye.id?JSON.parse(Ye.resultado).gestores.Resultado:"",this.obs_gestores=Ye.id?JSON.parse(Ye.resultado).gestores.Observa\u00e7\u00f5es:[],this.falhas_gestores=Ye.id?JSON.parse(Ye.resultado).gestores.Falhas:[]}initializeData(Ye){this.loadData(new x,Ye)}saveData(Ye){return new Promise((xt,cn)=>{const Kn=this.util.fill(new x,this.entity);xt(this.util.fillForm(Kn,this.form.value))})}static#e=this.\u0275fac=function(xt){return new(xt||De)(P.Y36(P.zs3),P.Y36(j.a))};static#t=this.\u0275cmp=P.Xpm({type:De,selectors:[["app-integracao-form"]],viewQuery:function(xt,cn){if(1&xt&&(P.Gf(b.Q,5),P.Gf(wt,5),P.Gf(K,5)),2&xt){let Kn;P.iGM(Kn=P.CRH())&&(cn.editableForm=Kn.first),P.iGM(Kn=P.CRH())&&(cn.entidade=Kn.first),P.iGM(Kn=P.CRH())&&(cn.usuario=Kn.first)}},features:[P.qOj],decls:16,vars:21,consts:[[3,"form","disabled","title","confirmLabel","submit","cancel"],[1,"row"],["class","row",4,"ngIf"],[1,"mt-2",3,"title","collapse"],["title","Deve ser atualizado pela Rotina de Integra\xe7\xe3o:"],["labelPosition","right","label","Unidades","controlName","atualizar_unidades",3,"size","control"],["labelPosition","right","label","Servidores","controlName","atualizar_servidores",3,"size","control"],["labelPosition","right","label","Gestores","controlName","atualizar_gestores",3,"disabled","size","control"],[1,"row","mt-4"],["title","Com rela\xe7\xe3o aos dados atualizados...(*)"],[1,"badge","rounded-pill","bg-info","text-dark"],["labelPosition","right","label","Usar arquivos locais","controlName","usar_arquivos_locais","labelInfo","Selecione se os dados para atualiza\xe7\xe3o devem ser lidos de um arquivo local",3,"disabled","size","control"],["labelPosition","right","label","Gravar em arquivos locais","controlName","gravar_arquivos_locais","labelInfo","Selecione se os dados atualizados devem ser salvos em um arquivo local",3,"disabled","size","control"],["label","Entidade","icon","bi bi-upc","controlName","entidade_id",3,"size","control"],["entidade",""],["label","Usu\xe1rio","icon","bi bi-upc","controlName","usuario_id",3,"size","control"],["usuario",""],["datetime","","label","Execu\xe7\xe3o","icon","bi bi-calendar-date","controlName","data_execucao",3,"size","control"],["title","UNIDADES",1,"mt-2",3,"collapse"],[1,"row","mt-2"],[4,"ngFor","ngForOf"],["class","row mt-2",4,"ngIf"],["title","SERVIDORES",3,"collapse"],["title","GESTORES",3,"collapse"]],template:function(xt,cn){1&xt&&(P.TgZ(0,"editable-form",0),P.NdJ("submit",function(){return cn.onSaveData()})("cancel",function(){return cn.onCancel()}),P.TgZ(1,"div",1),P.YNc(2,V,6,8,"div",2),P.YNc(3,tt,40,12,"div",2),P.TgZ(4,"separator",3)(5,"div",1)(6,"separator",4),P._UZ(7,"input-switch",5)(8,"input-switch",6)(9,"input-switch",7),P.qZA()(),P.TgZ(10,"div",8)(11,"separator",9)(12,"span",10),P._uU(13,"(*) N\xe3o funciona em ambientes de Produ\xe7\xe3o / Homologa\xe7\xe3o"),P.qZA(),P._UZ(14,"input-switch",11)(15,"input-switch",12),P.qZA()()()()()),2&xt&&(P.Q6J("form",cn.form)("disabled",cn.formDisabled)("title",cn.isModal?"":cn.title)("confirmLabel",cn.confirmLabel),P.xp6(2),P.Q6J("ngIf",cn.formDisabled),P.xp6(1),P.Q6J("ngIf",cn.formDisabled),P.xp6(1),P.Q6J("title",cn.formDisabled?"Par\xe2metros utilizados":"")("collapse",cn.formDisabled?"collapse":void 0),P.xp6(3),P.Q6J("size",4)("control",cn.form.controls.atualizar_unidades),P.xp6(1),P.Q6J("size",4)("control",cn.form.controls.atualizar_servidores),P.xp6(1),P.Q6J("disabled",cn.util.isDeveloper()?void 0:"disabled")("size",4)("control",cn.form.controls.atualizar_gestores),P.xp6(5),P.Q6J("disabled",cn.production?"disabled":void 0)("size",4)("control",cn.form.controls.usar_arquivos_locais),P.xp6(1),P.Q6J("disabled",cn.production?"disabled":void 0)("size",4)("control",cn.form.controls.gravar_arquivos_locais))},dependencies:[i.sg,i.O5,b.Q,X.a,me.m,Oe.k,Se.N]})}return De})();var pt=m(3150),Nt=m(5255),Jt=m(9084),nt=m(8509),ot=m(7224),Ct=m(3351),He=m(7765),mt=m(5512),vt=m(2704),hn=m(4603);const yt=["selectResponsaveis"];function Fn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row;P.xp6(1),P.hij(" ",Ye.usuario?Ye.usuario.nome:"Usu\xe1rio n\xe3o logado"," ")}}function xn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getDateTimeFormatted(Ye.data_execucao))}}function In(De,xe){1&De&&(P._uU(0," Solic. altera\xe7\xe3o"),P._UZ(1,"br"),P._uU(2,"de Unidades "))}function dn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA(),P._UZ(2,"br")),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getBooleanFormatted(Ye.atualizar_unidades))}}function qn(De,xe){1&De&&(P._uU(0," Solic. altera\xe7\xe3o"),P._UZ(1,"br"),P._uU(2,"de Servidores "))}function di(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getBooleanFormatted(Ye.atualizar_servidores))}}function ir(De,xe){1&De&&(P._uU(0," Solic. altera\xe7\xe3o"),P._UZ(1,"br"),P._uU(2,"de Gestores "))}function Bn(De,xe){if(1&De&&(P.TgZ(0,"span"),P._uU(1),P.qZA()),2&De){const Ye=xe.row,xt=P.oxw();P.xp6(1),P.Oqu(xt.util.getBooleanFormatted(Ye.atualizar_gestores))}}function xi(De,xe){if(1&De&&P._UZ(0,"column",24),2&De){const Ye=P.oxw();P.Q6J("dynamicButtons",Ye.dynamicButtons.bind(Ye))}}const Mt=[{path:"integracao",component:(()=>{class De extends nt.E{constructor(Ye,xt){super(Ye,x,j.a),this.injector=Ye,this.toolbarButtons=[],this.responsaveis=[],this.labelAdd="Executar",this.filterWhere=cn=>{let Kn=[],An=cn.value;return An.usuario_id.length&&Kn.push(["usuario_id","==","null"==An.usuario_id?null:An.usuario_id]),An.data_inicio&&Kn.push(["data_execucao",">=",An.data_inicio]),An.data_fim&&Kn.push(["data_execucao","<=",An.data_fim]),An.atualizar_unidades&&Kn.push(["atualizar_unidades","==",An.atualizar_unidades]),An.atualizar_servidores&&Kn.push(["atualizar_servidores","==",An.atualizar_servidores]),An.atualizar_gestores&&Kn.push(["atualizar_gestores","==",An.atualizar_gestores]),Kn},this.allPages=Ye.get(Jt.T),this.usuarioDao=Ye.get(Nt.q),this.title=this.lex.translate("Rotinas de Integra\xe7\xe3o"),this.filter=this.fh.FormBuilder({usuario_id:{default:""},data_inicio:{default:""},data_fim:{default:""},atualizar_unidades:{default:""},atualizar_servidores:{default:""},atualizar_gestores:{default:""}}),this.orderBy=[["data_execucao","desc"]]}ngAfterViewInit(){super.ngAfterViewInit(),this.selectResponsaveis.loading=!0,this.dao?.showResponsaveis().then(Ye=>{this.responsaveis=Ye||[],this.cdRef.detectChanges()}).finally(()=>this.selectResponsaveis.loading=!1)}ngAfterViewChecked(){this.cdRef.detectChanges()}filterClear(Ye){Ye.controls.usuario_id.setValue(""),Ye.controls.data_inicio.setValue(""),Ye.controls.data_fim.setValue(""),Ye.controls.atualizar_unidades.setValue(""),Ye.controls.atualizar_servidores.setValue(""),Ye.controls.atualizar_gestores.setValue(""),super.filterClear(Ye)}dynamicButtons(Ye){let xt=[];return this.auth.hasPermissionTo("MOD_DEV_TUDO")&&xt.push({icon:"bi bi-info-circle",label:"Informa\xe7\xf5es",onClick:this.consult.bind(this)}),xt}static#e=this.\u0275fac=function(xt){return new(xt||De)(P.Y36(P.zs3),P.Y36(j.a))};static#t=this.\u0275cmp=P.Xpm({type:De,selectors:[["app-integracao-list"]],viewQuery:function(xt,cn){if(1&xt&&(P.Gf(pt.M,5),P.Gf(yt,5)),2&xt){let Kn;P.iGM(Kn=P.CRH())&&(cn.grid=Kn.first),P.iGM(Kn=P.CRH())&&(cn.selectResponsaveis=Kn.first)}},features:[P.qOj],decls:37,vars:40,consts:[[3,"dao","add","title","orderBy","groupBy","join","labelAdd","selectable","hasAdd","hasEdit","select"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Respons\xe1vel","controlName","usuario_id",3,"size","control","items"],["selectResponsaveis",""],["datetime","","label","In\xedcio","controlName","data_inicio","labelInfo","In\xedcio dos registros",3,"size","control"],["datetime","","label","Fim","controlName","data_fim","labelInfo","Fim dos registros",3,"size","control"],["title","Considerar integra\xe7\xf5es com a atualiza\xe7\xe3o solicitada: "],["scale","small","labelPosition","right","label","de Unidades","controlName","atualizar_unidades",3,"size","control"],["scale","small","labelPosition","right","label","de Servidores","controlName","atualizar_servidores",3,"size","control"],["scale","small","labelPosition","right","label","de Gestores","controlName","atualizar_gestores",3,"size","control"],["title","Respons\xe1vel",3,"template"],["columnResponsavel",""],["title","Executada em","orderBy","data_execucao",3,"template"],["columnDataExecucao",""],[3,"titleTemplate","template"],["titleUnidades",""],["columnUnidades",""],["titleServidores",""],["columnServidores",""],["titleGestores",""],["columnGestores",""],["type","options",3,"dynamicButtons",4,"ngIf"],[3,"rows"],["type","options",3,"dynamicButtons"]],template:function(xt,cn){if(1&xt&&(P.TgZ(0,"grid",0),P.NdJ("select",function(An){return cn.onSelect(An)}),P._UZ(1,"toolbar"),P.TgZ(2,"filter",1)(3,"div",2),P._UZ(4,"input-select",3,4)(6,"input-datetime",5)(7,"input-datetime",6),P.qZA(),P.TgZ(8,"div",2)(9,"separator",7),P._UZ(10,"input-switch",8)(11,"input-switch",9)(12,"input-switch",10),P.qZA()()(),P.TgZ(13,"columns")(14,"column",11),P.YNc(15,Fn,2,1,"ng-template",null,12,P.W1O),P.qZA(),P.TgZ(17,"column",13),P.YNc(18,xn,2,1,"ng-template",null,14,P.W1O),P.qZA(),P.TgZ(20,"column",15),P.YNc(21,In,3,0,"ng-template",null,16,P.W1O),P.YNc(23,dn,3,1,"ng-template",null,17,P.W1O),P.qZA(),P.TgZ(25,"column",15),P.YNc(26,qn,3,0,"ng-template",null,18,P.W1O),P.YNc(28,di,2,1,"ng-template",null,19,P.W1O),P.qZA(),P.TgZ(30,"column",15),P.YNc(31,ir,3,0,"ng-template",null,20,P.W1O),P.YNc(33,Bn,2,1,"ng-template",null,21,P.W1O),P.qZA(),P.YNc(35,xi,1,1,"column",22),P.qZA(),P._UZ(36,"pagination",23),P.qZA()),2&xt){const Kn=P.MAs(16),An=P.MAs(19),gs=P.MAs(22),Qt=P.MAs(24),ki=P.MAs(27),ta=P.MAs(29),Pi=P.MAs(32),co=P.MAs(34);P.Q6J("dao",cn.dao)("add",cn.add)("title",cn.isModal?"":cn.title)("orderBy",cn.orderBy)("groupBy",cn.groupBy)("join",cn.join)("labelAdd",cn.labelAdd)("selectable",cn.selectable)("hasAdd",cn.auth.hasPermissionTo("MOD_DEV_TUDO"))("hasEdit",!1),P.xp6(2),P.Q6J("deleted",cn.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",cn.filter)("where",cn.filterWhere)("submit",cn.filterSubmit.bind(cn))("clear",cn.filterClear.bind(cn))("collapseChange",cn.filterCollapseChange.bind(cn))("collapsed",!cn.selectable&&cn.filterCollapsed),P.xp6(2),P.Q6J("size",4)("control",cn.filter.controls.usuario_id)("items",cn.responsaveis),P.xp6(2),P.Q6J("size",3)("control",cn.filter.controls.data_inicio),P.xp6(1),P.Q6J("size",3)("control",cn.filter.controls.data_fim),P.xp6(3),P.Q6J("size",4)("control",cn.filter.controls.atualizar_unidades),P.xp6(1),P.Q6J("size",4)("control",cn.filter.controls.atualizar_servidores),P.xp6(1),P.Q6J("size",4)("control",cn.filter.controls.atualizar_gestores),P.xp6(2),P.Q6J("template",Kn),P.xp6(3),P.Q6J("template",An),P.xp6(3),P.Q6J("titleTemplate",gs)("template",Qt),P.xp6(5),P.Q6J("titleTemplate",ki)("template",ta),P.xp6(5),P.Q6J("titleTemplate",Pi)("template",co),P.xp6(5),P.Q6J("ngIf",!cn.selectable),P.xp6(1),P.Q6J("rows",cn.rowsLimit)}},dependencies:[i.O5,pt.M,ot.a,Ct.b,He.z,mt.n,vt.Q,X.a,Oe.k,hn.p,Se.N]})}return De})(),canActivate:[y.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Rotinas de Integra\xe7\xe3o"}},{path:"integracao/new",component:Qe,canActivate:[y.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Execu\xe7\xe3o de Rotina de Integra\xe7\xe3o",modal:!0}},{path:"integracao/:id/consult",component:Qe,canActivate:[y.a],resolve:{config:C.o},runGuardsAndResolvers:"always",data:{title:"Consulta a Rotina de Integra\xe7\xe3o",modal:!0}}];let Ot=(()=>{class De{static#e=this.\u0275fac=function(xt){return new(xt||De)};static#t=this.\u0275mod=P.oAB({type:De});static#n=this.\u0275inj=P.cJS({imports:[a.Bz.forChild(Mt),a.Bz]})}return De})(),ve=(()=>{class De{static#e=this.\u0275fac=function(xt){return new(xt||De)};static#t=this.\u0275mod=P.oAB({type:De});static#n=this.\u0275inj=P.cJS({imports:[i.ez,t.K,A.UX,Ot]})}return De})()},785:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>gt});var i=m(755),t=m(9193),A=m(9702),a=m(6733),y=m(5560);function C(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [DAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o da quantidade de dias que t\xeam ao menos um Afastamento [HA] ou uma Pausa [HP])"),i.qZA(),i._UZ(4,"br"),i.BQk())}function b(Ze,Je){if(1&Ze&&(i.ynx(0),i._uU(1," [DU]=[HU]/[CH] "),i.TgZ(2,"small"),i._uU(3,"(Dias \xfateis necess\xe1rios)"),i.qZA(),i._UZ(4,"br"),i.YNc(5,C,5,0,"ng-container",4),i._uU(6),i.BQk()),2&Ze){const tt=i.oxw(2);i.xp6(5),i.Q6J("ngIf",tt.partial),i.xp6(1),i.AsE(" [F]=[I]+[DU]",tt.partial?"+[DAP]":"","",tt.useCorridos?"":"+[FER]+[FDS]"," ")}}function N(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [HAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o das horas de afastamentos e/ou pausas)"),i.qZA(),i._UZ(4,"br"),i.BQk())}function j(Ze,Je){if(1&Ze&&(i._uU(0," [EX]=[HFE]-[HIE]-[TIN]"),i._UZ(1,"br"),i._uU(2," [HD]=MIN([EX], [CH]) "),i.TgZ(3,"small"),i._uU(4,"(Horas por dia, ser\xe1 o menor valor entre: [EX] e [CH])"),i.qZA(),i._UZ(5,"br"),i._uU(6," [IE]=[HFE]-[HD] "),i.TgZ(7,"small"),i._uU(8,"(In\xedcio do expediente para o servidor, para encerrar o dia exatamente no [HFE])"),i.qZA(),i._UZ(9,"br"),i._uU(10," [SHI]=[I]-[IE] "),i.TgZ(11,"small"),i._uU(12,"(Saldo inicial, horas a partir do in\xedcio do expediente [IE] at\xe9 a data e hora inicial [I])"),i.qZA(),i._UZ(13,"br"),i.YNc(14,N,5,0,"ng-container",4),i._uU(15),i.TgZ(16,"small"),i._uU(17,"(Quantidade de dias \xfateis necess\xe1rios, sendo arredondado sempre para cima, ex: 3.2 = 4)"),i.qZA(),i._UZ(18,"br"),i._uU(19),i.TgZ(20,"small"),i._uU(21,"(Saldo final, diferen\xe7a do [DF] que estamos buscando at\xe9 o final do expediente [HFE], em horas)"),i.qZA(),i._UZ(22,"br"),i._uU(23),i.TgZ(24,"small"),i._uU(25,"(Data e hor\xe1rio final at\xe9 o cumprimento das [HU])"),i.qZA(),i._UZ(26,"br")),2&Ze){const tt=i.oxw(2);i.xp6(14),i.Q6J("ngIf",tt.partial),i.xp6(1),i.hij(" [QDU]=([HU]",tt.partial?"+[HAP]":"","+[SHI])/[HD] "),i.xp6(4),i.hij(" [SHF]=([HD]*[QDU])-([HU]",tt.partial?"+[HAP]":"","+[SHI]) "),i.xp6(4),i.hij(" [DF]=[QDU]",tt.useCorridos?"":"+[FER]+[FDS]","+[HFE]-[SHF] ")}}function F(Ze,Je){if(1&Ze&&(i.TgZ(0,"div",7),i._UZ(1,"i",8),i._uU(2," A data final [F] \xe9 obtida atrav\xe9s do c\xe1lculo:"),i._UZ(3,"br")(4,"br"),i.YNc(5,b,7,3,"ng-container",1),i.YNc(6,j,27,4,"ng-template",null,9,i.W1O),i.qZA()),2&Ze){const tt=i.MAs(7),Qe=i.oxw();i.xp6(5),i.Q6J("ngIf",Qe.useDias)("ngIfElse",tt)}}function x(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [DAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o da quantidade de dias que t\xeam ao menos um Afastamento [HA] ou uma Pausa [HP])"),i.qZA(),i._UZ(4,"br"),i.BQk())}function H(Ze,Je){if(1&Ze&&(i.ynx(0),i._uU(1," [DC]=[F]-[I] "),i.YNc(2,x,5,0,"ng-container",4),i._uU(3),i.TgZ(4,"small"),i._uU(5,"(Dias \xfateis)"),i.qZA(),i._UZ(6,"br"),i._uU(7," [HU]=[CH]*[DU] "),i.BQk()),2&Ze){const tt=i.oxw(2);i.xp6(2),i.Q6J("ngIf",tt.partial),i.xp6(1),i.AsE(" [DU]=[DC]",tt.useCorridos?"":"-[FER]-[FDS]","",tt.partial?"-[DAP]":""," ")}}function k(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," [HAP]=[HA]+[HP]-([HA]\u2229[HP]) "),i.TgZ(2,"small"),i._uU(3,"(Uni\xe3o das horas de afastamentos e/ou pausas)"),i.qZA(),i._UZ(4,"br"),i.BQk())}function P(Ze,Je){if(1&Ze&&(i._uU(0," [EX]=[HFE]-[HIE]-[TIN]"),i._UZ(1,"br"),i._uU(2," [SHI]=[I]-[IE] "),i.TgZ(3,"small"),i._uU(4,"(Saldo inicial, horas a partir do in\xedcio do expediente [IE] at\xe9 a data e hora inicial [I])"),i.qZA(),i._UZ(5,"br"),i._uU(6," [SHF]=[HFE]-[F] "),i.TgZ(7,"small"),i._uU(8,"(Saldo final, horas a partir da data e hora final [F] at\xe9 o fim do expediente [HFE])"),i.qZA(),i._UZ(9,"br"),i.YNc(10,k,5,0,"ng-container",4),i._uU(11," [DU]=[DC](-[FER]-[FDS])"),i._UZ(12,"br"),i._uU(13)),2&Ze){const tt=i.oxw(2);i.xp6(10),i.Q6J("ngIf",tt.partial),i.xp6(3),i.hij(" [HU]=[CH]*[DU](-[SHI]-[SHF])",tt.partial?"-[HAP]":""," ")}}function X(Ze,Je){if(1&Ze&&(i.TgZ(0,"div",7),i._UZ(1,"i",8),i._uU(2," As horas s\xe3o obtidas atrav\xe9s do c\xe1lculo:"),i._UZ(3,"br")(4,"br"),i.YNc(5,H,8,3,"ng-container",1),i.YNc(6,P,14,2,"ng-template",null,10,i.W1O),i.qZA()),2&Ze){const tt=i.MAs(7),Qe=i.oxw();i.xp6(5),i.Q6J("ngIf",Qe.useDias)("ngIfElse",tt)}}function me(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," * O c\xe1lculo para dias corridos n\xe3o considera feriados nem fins de semana e levar\xe1 em considera\xe7\xe3o o expediente da unidade "),i.BQk())}function Oe(Ze,Je){if(1&Ze&&i.YNc(0,me,2,0,"ng-container",4),2&Ze){const tt=i.oxw(2);i.Q6J("ngIf",tt.useCorridos)}}function Se(Ze,Je){1&Ze&&i.YNc(0,Oe,1,1,"ng-template")}function wt(Ze,Je){1&Ze&&(i.ynx(0),i._uU(1," * O c\xe1lculo para horas corridas N\xc3O considera o expediente da unidade, APENAS leva em considera\xe7\xe3o afastamentos [HA] e pausas [HP] "),i.BQk())}function K(Ze,Je){if(1&Ze&&i.YNc(0,wt,2,0,"ng-container",4),2&Ze){const tt=i.oxw();i.Q6J("ngIf",tt.useCorridos)}}function V(Ze,Je){if(1&Ze&&(i.TgZ(0,"span",11),i._uU(1),i.qZA()),2&Ze){const tt=Je.$implicit;i.xp6(1),i.Oqu(tt)}}function J(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit,Qe=i.oxw(2);i.xp6(1),i.lnq(" De ",Qe.util.getDateTimeFormatted(tt.data_inicio)," at\xe9 ",Qe.util.getDateTimeFormatted(tt.data_fim)," - ",tt.observacoes,"")}}function ae(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit,Qe=i.oxw(2);i.xp6(1),i.AsE(" De ",Qe.util.getDateTimeFormatted(tt.data_inicio)," - ",tt.data_fim?"at\xe9 "+Qe.util.getDateTimeFormatted(tt.data_fim):"em aberto","")}}function oe(Ze,Je){if(1&Ze&&(i.ynx(0),i.TgZ(1,"strong"),i._uU(2),i.qZA(),i._UZ(3,"br"),i.YNc(4,J,3,3,"span",5),i.TgZ(5,"strong"),i._uU(6),i.qZA(),i._UZ(7,"br"),i.YNc(8,ae,3,2,"span",5),i.BQk()),2&Ze){const tt=i.oxw();i.xp6(2),i.hij("[HA] Afastamento(s) (",null==tt.efemerides||null==tt.efemerides.afastamentos?null:tt.efemerides.afastamentos.length,"):"),i.xp6(2),i.Q6J("ngForOf",tt.efemerides.afastamentos),i.xp6(2),i.hij("[HP] Pausa(s) (",null==tt.efemerides||null==tt.efemerides.pausas?null:tt.efemerides.pausas.length,"):"),i.xp6(2),i.Q6J("ngForOf",tt.efemerides.pausas)}}function ye(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit;i.xp6(1),i.AsE(" ",tt[0]," - ",tt[1],"")}}function Ee(Ze,Je){if(1&Ze&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&Ze){const tt=Je.$implicit;i.xp6(1),i.AsE(" ",tt[0]," - ",tt[1],"")}}function Ge(Ze,Je){if(1&Ze&&(i.TgZ(0,"span")(1,"b"),i._uU(2),i.qZA(),i._uU(3),i._UZ(4,"br"),i._uU(5),i._UZ(6,"br"),i._uU(7),i._UZ(8,"br")(9,"br"),i.qZA()),2&Ze){const tt=Je.$implicit,Qe=i.oxw();i.xp6(2),i.Oqu(tt.diaSemana),i.xp6(1),i.lnq(" - In\xedcio: ",Qe.util.getDateTimeFormatted(Qe.data(tt.tInicio))," - Fim: ",Qe.util.getDateTimeFormatted(Qe.data(tt.tFim))," - Total: ",+tt.hExpediente.toFixed(2),"h"),i.xp6(2),i.AsE(" Intervalos: Qde(",tt.intervalos.length,") - Total de horas(",Qe.totalHoras(tt.intervalos),"h)"),i.xp6(2),i.hij(" Qde. horas contabilizadas: ",+tt.hExpediente.toFixed(2)-Qe.totalHoras(tt.intervalos),"")}}let gt=(()=>{class Ze{constructor(tt,Qe){this.util=tt,this.lookup=Qe,this.partial=!0,this._expediente=[]}ngOnInit(){}get forma(){return this.efemerides?this.lookup.getValue(this.lookup.DIA_HORA_CORRIDOS_OU_UTEIS,this.efemerides.forma):"Desconhecido"}get expediente(){let Qe=this.lookup.DIA_SEMANA.map(pt=>this.efemerides?.expediente[pt.code]?.length?pt.value+": "+this.efemerides.expediente[pt.code].map(Nt=>Nt.inicio+" at\xe9 "+Nt.fim).join(", "):"").filter(pt=>pt.length);return this.efemerides?.expediente?.especial?.length&&Qe.push("Especial: "+this.efemerides.expediente.especial.map(pt=>this.util.getDateFormatted(pt.data)+" - "+pt.inicio+" at\xe9 "+pt.fim+(pt.sem?" (Sem expediente)":"")).join(", ")),JSON.stringify(this._expediente)!=JSON.stringify(Qe)&&(this._expediente=Qe),this._expediente}get useDias(){return["DIAS_UTEIS","DIAS_CORRIDOS"].includes(this.efemerides.forma)}get useCorridos(){return["DIAS_CORRIDOS","HORAS_CORRIDAS"].includes(this.efemerides.forma)}isoToFormatted(tt){return tt.substr(8,2)+"/"+tt.substr(5,2)+"/"+tt.substr(0,4)}get feriados(){return Object.entries(this.efemerides?.feriados||{}).map(tt=>[this.isoToFormatted(tt[0]),tt[1]])}get diasNaoUteis(){return Object.entries(this.efemerides?.diasNaoUteis||{}).map(tt=>[this.isoToFormatted(tt[0]),tt[1]])}data(tt){return new Date(tt)}totalHoras(tt){return+tt.reduce((Qe,pt)=>Qe+this.util.getHoursBetween(pt.start,pt.end),0).toFixed(2)}static#e=this.\u0275fac=function(Qe){return new(Qe||Ze)(i.Y36(t.f),i.Y36(A.W))};static#t=this.\u0275cmp=i.Xpm({type:Ze,selectors:[["calendar-efemerides"]],inputs:{efemerides:"efemerides",partial:"partial"},decls:49,vars:23,consts:[["class","mt-2 alert alert-primary","role","alert",4,"ngIf"],[4,"ngIf","ngIfElse"],["obsUseHoras",""],["class","ms-2 d-block",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],["collapse","","transparent","",3,"bold","title"],["role","alert",1,"mt-2","alert","alert-primary"],[1,"bi","bi-info-circle-fill"],["dataUseHoras",""],["tempoUseHoras",""],[1,"ms-2","d-block"]],template:function(Qe,pt){if(1&Qe&&(i.YNc(0,F,8,2,"div",0),i.YNc(1,X,8,2,"div",0),i.YNc(2,Se,1,0,null,1),i.YNc(3,K,1,1,"ng-template",null,2,i.W1O),i._UZ(5,"br"),i.TgZ(6,"strong"),i._uU(7,"[I] In\xedcio:"),i.qZA(),i._uU(8),i._UZ(9,"br"),i.TgZ(10,"strong"),i._uU(11,"[F] Fim:"),i.qZA(),i._uU(12),i._UZ(13,"br"),i.TgZ(14,"strong"),i._uU(15,"[DC] Dias corridos:"),i.qZA(),i._uU(16),i._UZ(17,"br"),i.TgZ(18,"strong"),i._uU(19),i.qZA(),i._uU(20),i._UZ(21,"br"),i.TgZ(22,"strong"),i._uU(23),i.qZA(),i._uU(24),i._UZ(25,"br"),i.TgZ(26,"strong"),i._uU(27,"[FC] Forma de c\xe1lculo:"),i.qZA(),i._uU(28),i._UZ(29,"br"),i.TgZ(30,"strong"),i._uU(31,"[CH] Carga hor\xe1ria:"),i.qZA(),i._uU(32),i._UZ(33,"br"),i.TgZ(34,"strong"),i._uU(35,"Expediente (nos dias da semana):"),i.qZA(),i._UZ(36,"br"),i.YNc(37,V,2,1,"span",3),i.YNc(38,oe,9,4,"ng-container",4),i.TgZ(39,"strong"),i._uU(40),i.qZA(),i._UZ(41,"br"),i.YNc(42,ye,3,2,"span",5),i.TgZ(43,"strong"),i._uU(44),i.qZA(),i._UZ(45,"br"),i.YNc(46,Ee,3,2,"span",5),i.TgZ(47,"separator",6),i.YNc(48,Ge,10,7,"span",5),i.qZA()),2&Qe){const Nt=i.MAs(4);i.Q6J("ngIf","DATA"==(null==pt.efemerides?null:pt.efemerides.resultado)),i.xp6(1),i.Q6J("ngIf","TEMPO"==(null==pt.efemerides?null:pt.efemerides.resultado)),i.xp6(1),i.Q6J("ngIf",pt.useDias)("ngIfElse",Nt),i.xp6(6),i.hij(" ",pt.util.getDateTimeFormatted(null==pt.efemerides?null:pt.efemerides.inicio),""),i.xp6(4),i.hij(" ",pt.util.getDateTimeFormatted(null==pt.efemerides?null:pt.efemerides.fim),""),i.xp6(4),i.hij(" ",null==pt.efemerides?null:pt.efemerides.dias_corridos,""),i.xp6(3),i.hij("[HU] Horas ",pt.useCorridos?"corridas":"\xfateis",":"),i.xp6(1),i.hij(" ",pt.util.decimalToTimerFormated(null==pt.efemerides?null:pt.efemerides.tempoUtil,!0),""),i.xp6(3),i.hij("[HNU] Horas ",pt.useCorridos?"n\xe3o contabilizadas":"n\xe3o \xfateis",":"),i.xp6(1),i.hij(" ",pt.util.decimalToTimerFormated(null==pt.efemerides?null:pt.efemerides.horasNaoUteis,!0),""),i.xp6(4),i.hij(" ",pt.forma,""),i.xp6(4),i.AsE(" ",pt.util.decimalToTimerFormated(null==pt.efemerides?null:pt.efemerides.cargaHoraria,!0),"",pt.useCorridos?" - Utilizada: 24h/dia":"",""),i.xp6(5),i.Q6J("ngForOf",pt.expediente),i.xp6(1),i.Q6J("ngIf",pt.partial),i.xp6(2),i.hij("[DNU] Dias n\xe3o \xfateis (",pt.diasNaoUteis.length,"):"),i.xp6(2),i.Q6J("ngForOf",pt.diasNaoUteis),i.xp6(2),i.hij("[FER] Feriado(s) (",pt.feriados.length,"):"),i.xp6(2),i.Q6J("ngForOf",pt.feriados),i.xp6(1),i.Q6J("bold",!0)("title","Detalhes dia-a-dia ("+(null==pt.efemerides||null==pt.efemerides.diasDetalhes?null:pt.efemerides.diasDetalhes.length)+"):"),i.xp6(1),i.Q6J("ngForOf",null==pt.efemerides?null:pt.efemerides.diasDetalhes)}},dependencies:[a.sg,a.O5,y.N]})}return Ze})()},4240:(lt,_e,m)=>{"use strict";m.d(_e,{y:()=>oe});var i=m(8239),t=m(3150),A=m(949),a=m(9707),y=m(2124),C=m(6298),b=m(8325),N=m(4971),j=m(1021),F=m(755),x=m(6733),H=m(7224),k=m(3351),P=m(4040),X=m(4508),me=m(4603),Oe=m(2729);const Se=["texto"],wt=["comentarios"];function K(ye,Ee){if(1&ye&&(F.TgZ(0,"td",15),F._uU(1,"\xa0"),F.qZA()),2&ye){const Ge=F.oxw().row,gt=F.oxw();F.Udp("width",20*gt.comentario.comentarioLevel(Ge).length,"px")}}function V(ye,Ee){if(1&ye&&(F.TgZ(0,"table",7)(1,"tr"),F.YNc(2,K,2,2,"td",8),F.TgZ(3,"td",9),F._UZ(4,"profile-picture",10)(5,"br"),F.qZA(),F.TgZ(6,"td",11),F._UZ(7,"span",12),F.TgZ(8,"h6",13),F._uU(9),F.TgZ(10,"span"),F._uU(11),F.qZA(),F.TgZ(12,"span"),F._uU(13),F.qZA(),F.TgZ(14,"span"),F._uU(15),F.qZA()(),F.TgZ(16,"p",14),F._uU(17),F.qZA()()()()),2&ye){const Ge=Ee.row,gt=F.oxw();F.xp6(2),F.Q6J("ngIf",gt.comentario.comentarioLevel(Ge).length>0),F.xp6(2),F.Q6J("url",null==Ge.usuario?null:Ge.usuario.url_foto)("hint",(null==Ge.usuario?null:Ge.usuario.nome)||"Desconhecido"),F.xp6(2),F.Udp("border-color",gt.util.getBackgroundColor(gt.comentario.comentarioLevel(Ge).length,20)),F.xp6(1),F.Udp("border-color",gt.util.getBackgroundColor(gt.comentario.comentarioLevel(Ge).length,20)),F.xp6(2),F.hij(" ",(null==Ge.usuario?null:Ge.usuario.nome)||"Desconhecido"," "),F.xp6(2),F.Oqu(gt.lookup.getValue(gt.lookup.COMENTARIO_TIPO,Ge.tipo)),F.xp6(2),F.Oqu(gt.lookup.getValue(gt.lookup.COMENTARIO_PRIVACIDADE,Ge.privacidade)),F.xp6(2),F.Oqu(gt.util.getDateTimeFormatted(Ge.comentario)),F.xp6(2),F.Oqu(Ge.texto)}}function J(ye,Ee){1&ye&&(F.ynx(0),F.TgZ(1,"span",25),F._uU(2,"\u2022"),F.qZA(),F._UZ(3,"br"),F.BQk())}function ae(ye,Ee){if(1&ye&&(F.TgZ(0,"div",16)(1,"div",17),F._UZ(2,"profile-picture",10)(3,"br"),F.YNc(4,J,4,0,"ng-container",18),F.qZA(),F.TgZ(5,"div",19),F._UZ(6,"input-textarea",20,21),F.qZA(),F.TgZ(8,"div",22)(9,"div",16),F._UZ(10,"input-select",23),F.qZA(),F.TgZ(11,"div",16),F._UZ(12,"input-select",24),F.qZA()()()),2&ye){const Ge=Ee.row,gt=F.oxw();F.xp6(2),F.Q6J("url",null==Ge.usuario?null:Ge.usuario.url_foto)("hint",(null==Ge.usuario?null:Ge.usuario.nome)||"Desconhecido"),F.xp6(2),F.Q6J("ngForOf",gt.comentario.comentarioLevel(Ge)),F.xp6(2),F.Q6J("size",12)("rows",3)("control",gt.formComentarios.controls.texto),F.xp6(4),F.Q6J("size",12)("control",gt.formComentarios.controls.tipo)("items",gt.comentarioTipos),F.xp6(2),F.Q6J("size",12)("control",gt.formComentarios.controls.privacidade)("items",gt.lookup.COMENTARIO_PRIVACIDADE)}}let oe=(()=>{class ye extends C.D{set control(Ge){this._control!=Ge&&(this._control=Ge,Ge&&this.comentario&&Ge.setValue(this.comentario.orderComentarios(Ge.value||[])))}get control(){return this._control}set entity(Ge){this._entity!=Ge&&(this._entity=Ge,Ge&&this.comentario&&(Ge.comentarios=this.comentario.orderComentarios(Ge.comentarios||[])),this.fakeControl.setValue(Ge?.comentarios))}get entity(){return this._entity}set origem(Ge){if(this._origem!=Ge){this._origem=Ge;const gt=["PROJETO","PROJETO_TAREFA"].includes(Ge||"")?["COMENTARIO","GERENCIAL","TECNICO"]:["COMENTARIO","TECNICO"];this.comentarioTipos=this.lookup.COMENTARIO_TIPO.filter(Ze=>gt.includes(Ze.key))}}get origem(){return this._origem}constructor(Ge){var gt;super(Ge),gt=this,this.injector=Ge,this.comentarioTipos=[],this._origem=void 0,this.validate=(Ze,Je)=>{let tt=null;return"texto"==Je&&!Ze.value?.length&&(tt="N\xe3o pode ser em branco"),tt},this.addComentario=(0,i.Z)(function*(){gt.comentario.newComentario(gt.gridControl,gt.comentarios)}),this.comentario=Ge.get(y.K),this.form=this.fh.FormBuilder({}),this.join=["comentarios.usuario"],this.formComentarios=this.fh.FormBuilder({texto:{default:""},tipo:{default:"COMENTARIO"},privacidade:{default:"PUBLICO"}},this.cdRef,this.validate)}ngOnInit(){switch(super.ngOnInit(),this.urlParams?.has("origem")&&(this.origem=this.urlParams.get("origem"),this.comentario_id=this.queryParams?.comentario_id),this.origem){case"ATIVIDADE":this.dao=this.injector.get(N.P);break;case"ATIVIDADE_TAREFA":this.dao=this.injector.get(A.n);break;case"PROJETO":this.dao=this.injector.get(a.P);break;case"PROJETO_TAREFA":this.dao=this.injector.get(b.z);break;case"PLANO_ENTREGA_ENTREGA":this.dao=this.injector.get(j.K)}}get isNoPersist(){return"NOPERSIST"==this.entity_id}get constrolOrItems(){return this.control||this.entity?.comentarios||[]}dynamicButtons(Ge){let gt=[];return Ge.usuario_id==this.auth.usuario?.id&>.push({icon:"bi bi-pencil-square",hint:"Alterar",color:"btn-outline-info",onClick:Je=>{this.grid.edit(Je)}}),gt.push({hint:"Responder",color:"btn-outline-success",icon:"bi bi-reply",onClick:Je=>{this.comentario.newComentario(this.gridControl,this.comentarios,Je)}}),gt}saveComentario(Ge,gt){var Ze=this;return(0,i.Z)(function*(){Object.assign(Ze.comentarios.editing,Ge.value)})()}loadComentario(Ge,gt){var Ze=this;return(0,i.Z)(function*(){Ze.formComentarios.controls.texto.setValue(gt.texto),Ze.formComentarios.controls.tipo.setValue(gt.tipo),Ze.formComentarios.controls.privacidade.setValue(gt.privacidade)})()}confirm(){this.comentarios?.confirm()}loadData(Ge,gt){const Ze=this.comentario_id?.length?(this.gridControl.value||[]).find(Je=>Je.id==this.comentario_id):void 0;this.comentario.newComentario(this.gridControl,this.comentarios,Ze),this.cdRef.detectChanges(),this.texto.focus()}saveData(){var Ge=this;return(0,i.Z)(function*(){return Ge.confirm(),{comentarios:Ge.gridControl.value}})()}static#e=this.\u0275fac=function(gt){return new(gt||ye)(F.Y36(F.zs3))};static#t=this.\u0275cmp=F.Xpm({type:ye,selectors:[["comentarios"]],viewQuery:function(gt,Ze){if(1>&&(F.Gf(t.M,5),F.Gf(Se,5),F.Gf(wt,5)),2>){let Je;F.iGM(Je=F.CRH())&&(Ze.grid=Je.first),F.iGM(Je=F.CRH())&&(Ze.texto=Je.first),F.iGM(Je=F.CRH())&&(Ze.comentarios=Je.first)}},inputs:{control:"control",entity:"entity",origem:"origem"},features:[F.qOj],decls:10,vars:12,consts:[[3,"form","noButtons","submit","cancel"],["editable","",3,"control","hasEdit","hasDelete","add","form","load","save"],["comentarios",""],["title","Coment\xe1rios",3,"template","editTemplate"],["mensagem",""],["mensagemEdit",""],["type","options",3,"dynamicButtons"],[1,"comentario-table"],["class","d-none d-md-table-cell",3,"width",4,"ngIf"],[1,"comentario-user","text-center"],[3,"url","hint"],[1,"comentario-container"],[1,"comentario-user-indicator"],[1,"comentario-message-title"],[1,"fw-light"],[1,"d-none","d-md-table-cell"],[1,"row"],[1,"col-md-1","comentario-user","text-center"],[4,"ngFor","ngForOf"],[1,"col-md-7"],["label","Mensagem","icon","bi bi-textarea-t","controlName","texto",3,"size","rows","control"],["texto",""],[1,"col-md-4"],["label","Tipo","icon","bi bi-braces","controlName","tipo",3,"size","control","items"],["label","privacidade","icon","bi bi-incognito","controlName","privacidade",3,"size","control","items"],[1,"comentario-level"]],template:function(gt,Ze){if(1>&&(F.TgZ(0,"editable-form",0),F.NdJ("submit",function(){return Ze.onSaveData()})("cancel",function(){return Ze.onCancel()}),F.TgZ(1,"grid",1,2)(3,"columns")(4,"column",3),F.YNc(5,V,18,12,"ng-template",null,4,F.W1O),F.YNc(7,ae,13,12,"ng-template",null,5,F.W1O),F.qZA(),F._UZ(9,"column",6),F.qZA()()()),2>){const Je=F.MAs(6),tt=F.MAs(8);F.Q6J("form",Ze.form)("noButtons",Ze.entity_id?void 0:"true"),F.xp6(1),F.Q6J("control",Ze.gridControl)("hasEdit",!1)("hasDelete",!1)("add",Ze.addComentario.bind(Ze))("form",Ze.formComentarios)("load",Ze.loadComentario.bind(Ze))("save",Ze.saveComentario.bind(Ze)),F.xp6(3),F.Q6J("template",Je)("editTemplate",tt),F.xp6(5),F.Q6J("dynamicButtons",Ze.dynamicButtons.bind(Ze))}},dependencies:[x.sg,x.O5,t.M,H.a,k.b,P.Q,X.Q,me.p,Oe.q],styles:['@charset "UTF-8";.comentario-table[_ngcontent-%COMP%]{width:100%}.comentario-user[_ngcontent-%COMP%]{width:50px;vertical-align:top;padding:8px}.comentario-container[_ngcontent-%COMP%]{padding-left:10px;width:auto;border-left:var(--bs-gray-400) 2px solid;position:relative}.comentario-user-indicator[_ngcontent-%COMP%]{content:"";position:absolute;width:0px;height:0px;top:0;left:-12px;border-top:.75rem solid var(--bs-gray-400);border-left:.75rem solid transparent}.comentario-level[_ngcontent-%COMP%]{color:var(--bs-gray)}.comentario-message-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.7em;color:var(--bs-gray)}.comentario-message-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:before{content:" \\2022 "}']})}return ye})()},2702:(lt,_e,m)=>{"use strict";m.d(_e,{t:()=>b});var i=m(755),t=m(5545),A=m(9367),a=m(9084),y=m(5026),C=m(2307);let b=(()=>{class N{constructor(F,x,H,k,P){this.dialog=F,this.templateService=x,this.allPages=H,this.documentoDao=k,this.go=P}preview(F){this.go.navigate({route:["uteis","documentos","preview",F.id]},{metadata:{documento:F}})}onLinkClick(F){"SEI"==F?.tipo?this.allPages.openDocumentoSei(F?.id_processo||0,F?.id_documento||0):"URL"==F?.tipo&&this.go.openNewTab(F?.url||"#")}onDocumentoClick(F){"LINK"==F.tipo&&F.link?this.onLinkClick(F.link):"HTML"==F.tipo&&this.preview(F)}documentoHint(F){return this.allPages.getButtonTitle(F.link?.numero_processo,F.link?.numero_documento)}sign(F){return new Promise((x,H)=>{this.go.navigate({route:["uteis","documentos","assinar"]},{metadata:{documentos:F},modalClose:x})})}static#e=this.\u0275fac=function(x){return new(x||N)(i.LFG(t.x),i.LFG(A.E),i.LFG(a.T),i.LFG(y.d),i.LFG(C.o))};static#t=this.\u0275prov=i.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},2504:(lt,_e,m)=>{"use strict";m.d(_e,{h:()=>wt});var i=m(755),t=m(2702),A=m(6733),a=m(5560),y=m(5489),C=m(2729);function b(K,V){if(1&K&&(i.TgZ(0,"small"),i._uU(1),i.qZA()),2&K){const J=i.oxw(3);i.xp6(1),i.hij("Sei n\xba ",null==J.documento||null==J.documento.link?null:J.documento.link.numero_documento,"")}}function N(K,V){if(1&K&&(i.ynx(0),i._uU(1),i._UZ(2,"br"),i.YNc(3,b,2,1,"small",4),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento||null==J.documento.link?null:J.documento.link.numero_processo)||J.emptyMessage,""),i.xp6(2),i.Q6J("ngIf",null==J.documento||null==J.documento.link||null==J.documento.link.numero_documento?null:J.documento.link.numero_documento.length)}}function j(K,V){if(1&K&&(i.ynx(0),i._uU(1),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento?null:J.documento.titulo)||J.emptyMessage," ")}}function F(K,V){if(1&K&&(i.ynx(0),i.TgZ(1,"span",6)(2,"small")(3,"strong"),i._uU(4),i.qZA(),i._uU(5),i.qZA()(),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.Udp("max-width",J.maxWidth,"px"),i.xp6(3),i.hij("#",null==J.documento?null:J.documento.numero,""),i.xp6(1),i.hij(" - ",(null==J.documento?null:J.documento.titulo)||J.emptyMessage,"")}}function x(K,V){if(1&K&&(i.ynx(0),i._uU(1),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento?null:J.documento.titulo)||J.emptyMessage," ")}}function H(K,V){if(1&K&&i._UZ(0,"profile-picture",10),2&K){const J=V.$implicit;i.Q6J("url",(null==J.usuario?null:J.usuario.url_foto)||"")("hint",(null==J.usuario?null:J.usuario.nome)||"Desconhecido")}}function k(K,V){if(1&K&&(i.TgZ(0,"separator",7)(1,"div",8),i.YNc(2,H,1,2,"profile-picture",9),i.qZA()()),2&K){const J=i.oxw(2);i.xp6(2),i.Q6J("ngForOf",J.documento.assinaturas)}}function P(K,V){if(1&K&&(i.TgZ(0,"badge",2)(1,"div",3),i.YNc(2,N,4,2,"ng-container",4),i.YNc(3,j,2,1,"ng-container",4),i.YNc(4,F,6,4,"ng-container",4),i.YNc(5,x,2,1,"ng-container",4),i.YNc(6,k,3,1,"separator",5),i.qZA()()),2&K){const J=i.oxw();i.Q6J("icon",J.icon)("color",J.color)("rounded",!J.isNoRounded)("data",J.documento)("click",J.documentoService.onDocumentoClick.bind(J.documentoService))("hint",J.documentoService.documentoHint(J.documento)),i.xp6(2),i.Q6J("ngIf",J.isLinkSei),i.xp6(1),i.Q6J("ngIf",J.isLinkUrl),i.xp6(1),i.Q6J("ngIf",J.isHtml),i.xp6(1),i.Q6J("ngIf",J.isPdf),i.xp6(1),i.Q6J("ngIf",J.isSignatures&&(null==J.documento||null==J.documento.assinaturas?null:J.documento.assinaturas.length))}}function X(K,V){if(1&K&&(i.TgZ(0,"small"),i._uU(1),i.qZA()),2&K){const J=i.oxw(3);i.xp6(1),i.hij("Sei n\xba ",null==J.documento.link?null:J.documento.link.numero_documento,"")}}function me(K,V){if(1&K&&(i.ynx(0),i._uU(1),i._UZ(2,"br"),i.YNc(3,X,2,1,"small",4),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",(null==J.documento.link?null:J.documento.link.numero_processo)||J.emptyMessage,""),i.xp6(2),i.Q6J("ngIf",null==J.documento||null==J.documento.link||null==J.documento.link.numero_documento?null:J.documento.link.numero_documento.length)}}function Oe(K,V){if(1&K&&(i.ynx(0),i._uU(1),i.BQk()),2&K){const J=i.oxw(2);i.xp6(1),i.hij(" ",J.documento.titulo||J.emptyMessage," ")}}function Se(K,V){if(1&K&&(i.TgZ(0,"badge",11),i.YNc(1,me,4,2,"ng-container",4),i.YNc(2,Oe,2,1,"ng-container",4),i.qZA()),2&K){const J=i.oxw();i.Tol("d-block"),i.Q6J("icon",J.linkIcon)("rounded",!1)("data",J.documento.link)("click",J.documentoService.onLinkClick.bind(J.documentoService))("hint",J.documentoService.documentoHint(J.documento)),i.xp6(1),i.Q6J("ngIf","SEI"==(null==J.documento||null==J.documento.link?null:J.documento.link.tipo)),i.xp6(1),i.Q6J("ngIf","URL"==(null==J.documento||null==J.documento.link?null:J.documento.link.tipo))}}let wt=(()=>{class K{constructor(J){this.documentoService=J,this.color="light"}get show(){return this.isOnlyLink&&(this.isLinkSei||this.isLinkUrl)||!this.isOnlyLink&&(!!this.documento||!!this.emptyMessage?.length)}get icon(){return this.isLinkUrl?"bi bi-link-45deg":this.isLinkSei?this.documento?.link?.numero_processo?.length?"bi bi-folder-symlink":"bi bi-x-lg":this.isPdf?"bi bi-file-earmark-pdf":"bi bi-filetype-html"}get linkIcon(){return"SEI"==this.documento?.link?.tipo?this.documento?.link?.numero_processo?.length?"bi bi-folder-symlink":"bi bi-x-lg":"bi bi-link-45deg"}get hasLink(){return["SEI","URL"].includes(this.documento?.link?.tipo||"")}get isLinkSei(){return"LINK"==this.documento?.tipo&&"SEI"==this.documento?.link?.tipo}get isLinkUrl(){return"LINK"==this.documento?.tipo&&"URL"==this.documento?.link?.tipo}get isHtml(){return"HTML"==this.documento?.tipo}get isPdf(){return"PDF"==this.documento?.tipo}get isSignatures(){return null!=this.signatures}get isNoRounded(){return null!=this.noRounded}get isWithLink(){return null!=this.withLink}get isOnlyLink(){return null!=this.onlyLink}static#e=this.\u0275fac=function(ae){return new(ae||K)(i.Y36(t.t))};static#t=this.\u0275cmp=i.Xpm({type:K,selectors:[["documentos-badge"]],inputs:{documento:"documento",emptyMessage:"emptyMessage",signatures:"signatures",maxWidth:"maxWidth",noRounded:"noRounded",withLink:"withLink",onlyLink:"onlyLink",color:"color"},decls:2,vars:2,consts:[[3,"icon","color","rounded","data","click","hint",4,"ngIf"],["color","warning",3,"class","icon","rounded","data","click","hint",4,"ngIf"],[3,"icon","color","rounded","data","click","hint"],[1,"d-flex","flex-column"],[4,"ngIf"],["transparent","",4,"ngIf"],[1,"text-wrap"],["transparent",""],[1,"d-flex","flex-wrap"],[3,"url","hint",4,"ngFor","ngForOf"],[3,"url","hint"],["color","warning",3,"icon","rounded","data","click","hint"]],template:function(ae,oe){1&ae&&(i.YNc(0,P,7,11,"badge",0),i.YNc(1,Se,3,9,"badge",1)),2&ae&&(i.Q6J("ngIf",oe.show),i.xp6(1),i.Q6J("ngIf",oe.documento&&!oe.isLinkSei&&!oe.isLinkUrl&&(oe.isWithLink||oe.isOnlyLink)&&oe.hasLink))},dependencies:[A.sg,A.O5,a.N,y.F,C.q],styles:[".doc[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:5px;padding:7px;max-width:200px}"]})}return K})()},6601:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>Ge});var i=m(8239),t=m(755),A=m(3150),a=m(5026),y=m(7744),C=m(3972),b=m(6298),N=m(9367),j=m(2702),F=m(6733),x=m(7224),H=m(3351),k=m(2392),P=m(5560),X=m(5489),me=m(2729),Oe=m(5795),Se=m(4788),wt=m(3705),K=m(2504);function V(gt,Ze){if(1>&&(t.TgZ(0,"h5"),t._uU(1),t.qZA(),t._UZ(2,"document-preview",8)),2>){const Je=Ze.row;t.xp6(1),t.Oqu((null==Je?null:Je.titulo)||"Preview do template"),t.xp6(1),t.Q6J("html",null==Je?null:Je.conteudo)}}function J(gt,Ze){if(1>&&(t.TgZ(0,"div",9),t._UZ(1,"input-text",10),t.qZA(),t.TgZ(2,"div"),t._UZ(3,"input-editor",11),t.qZA()),2>){const Je=t.oxw();t.xp6(1),t.Q6J("size",12)("control",Je.form.controls.titulo),t.uIk("maxlength",250),t.xp6(2),t.Q6J("size",12)("control",Je.form.controls.conteudo)("canEditTemplate",Je.canEdit)("template",Je.form.controls.template.value)("datasource",Je.form.controls.datasource.value)}}function ae(gt,Ze){if(1>&&t._UZ(0,"badge",14),2>){const Je=Ze.$implicit;t.Q6J("color",Je.color)("icon",Je.icon)("label",Je.value)}}function oe(gt,Ze){if(1>&&t._UZ(0,"profile-picture",20),2>){const Je=Ze.$implicit,tt=t.oxw(3);t.Q6J("url",null==Je.usuario?null:Je.usuario.url_foto)("hint",tt.util.apelidoOuNome(Je.usuario))}}function ye(gt,Ze){if(1>&&(t.TgZ(0,"separator",18),t.YNc(1,oe,1,2,"profile-picture",19),t.qZA()),2>){const Je=t.oxw().row;t.xp6(1),t.Q6J("ngForOf",Je.assinaturas)}}function Ee(gt,Ze){if(1>&&(t.TgZ(0,"div",9)(1,"strong"),t._uU(2),t.TgZ(3,"small"),t._uU(4),t.qZA()()(),t.TgZ(5,"div",9)(6,"small"),t._uU(7),t.qZA()(),t.TgZ(8,"div",9)(9,"div",12),t._UZ(10,"badge",13)(11,"badge",14),t.YNc(12,ae,1,3,"badge",15),t._UZ(13,"documentos-badge",16),t.YNc(14,ye,2,1,"separator",17),t.qZA()()),2>){const Je=Ze.row,tt=Ze.metadata,Qe=t.oxw();t.xp6(2),t.hij("#",Je.numero>0?Je.numero:"NOVO",""),t.xp6(2),t.hij(" \u2022 ",Qe.util.getDateTimeFormatted(Je.created_at),""),t.xp6(3),t.Oqu(Je.titulo),t.xp6(3),t.Q6J("color",Qe.lookup.getColor(Qe.lookup.DOCUMENTO_ESPECIE,Je.especie))("label",Qe.lookup.getValue(Qe.lookup.DOCUMENTO_ESPECIE,Je.especie)),t.xp6(1),t.Q6J("color",Qe.lookup.getColor(Qe.lookup.DOCUMENTO_STATUS,Je.status))("icon",Qe.lookup.getIcon(Qe.lookup.DOCUMENTO_STATUS,Je.status))("label",Qe.lookup.getValue(Qe.lookup.DOCUMENTO_STATUS,Je.status)),t.xp6(1),t.Q6J("ngForOf",Qe.extraTags(Qe.entity,Je,tt)),t.xp6(1),t.Q6J("documento",Je),t.xp6(1),t.Q6J("ngIf",null==Je.assinaturas?null:Je.assinaturas.length)}}let Ge=(()=>{class gt extends b.D{set entity(Je){super.entity=Je}get entity(){return super.entity}set noPersist(Je){super.noPersist=Je}get noPersist(){return super.noPersist}set datasource(Je){JSON.stringify(this._datasource)!=this.JSON.stringify(Je)&&(this._datasource=Je,this.grid?.editing?.assinaturas?.length||this.form.controls.datasource.setValue(Je),this.cdRef.detectChanges())}get datasource(){return this._datasource}set editingId(Je){this._editingId!=Je&&(this._editingId=Je,Je&&(this.action="edit",this.documentoId=Je,this.loadData(this.entity)))}get editingId(){return this._editingId}get items(){return this.gridControl.value||this.gridControl.setValue({documentos:[]}),this.gridControl.value.documentos||(this.gridControl.value.documentos=[]),this.gridControl.value.documentos}constructor(Je){super(Je),this.injector=Je,this.needSign=(tt,Qe)=>!0,this.extraTags=(tt,Qe,pt)=>[],this.especie="OUTRO",this.disabled=!1,this.canEditTemplate=!1,this.validate=(tt,Qe)=>{let pt=null;return"titulo"==Qe&&!tt?.value?.length&&(pt="Obrigat\xf3rio"),pt},this.cdRef=Je.get(t.sBO),this.documentoDao=Je.get(a.d),this.templateService=Je.get(N.E),this.documentoService=Je.get(j.t),this.modalWidth=1200,this.form=this.fh.FormBuilder({id:{default:""},tipo:{default:"HTML"},titulo:{default:""},conteudo:{default:""},link:{default:null},dataset:{default:void 0},datasource:{default:void 0},template:{default:void 0},template_id:{default:void 0}},this.cdRef,this.validate),this.join=["documentos.assinaturas.usuario"]}ngOnInit(){super.ngOnInit(),this.needSign=this.metadata?.needSign||this.needSign,this.extraTags=this.metadata?.extraTags||this.extraTags,this.especie=this.urlParams?.has("especie")?this.urlParams.get("especie"):this.metadata?.especie||this.especie,this.action=this.urlParams?.has("action")?this.urlParams.get("action")||"":this.action,this.documentoId=this.urlParams?.has("documentoId")?this.urlParams.get("documentoId")||void 0:this.documentoId,this.dataset=this.metadata?.dataset||this.dataset,this.datasource=this.metadata?.datasource||this.datasource,this.template=this.metadata?.template||this.template,this.tituloDefault=this.metadata?.titulo||this.tituloDefault,this.dao=["TCR"].includes(this.especie)?this.injector.get(y.t):void 0}loadData(Je,tt){this.entity=Je,this.viewInit&&!this.grid.editing&&!this.grid.adding&&("new"==this.action&&this.grid.onAddItem(),"edit"==this.action&&this.grid.onEditItem(this.grid.selectById(this.documentoId||"")))}initializeData(Je){this.entity=this.entity||{id:this.dao?.generateUuid(),documentos:[],documento_id:null},this.loadData(this.entity,this.form)}saveData(Je){var tt=this;return(0,i.Z)(function*(){return yield tt.grid?.confirm(),tt.entity})()}get canEdit(){const Je=this.grid?.selected;return this.canEditTemplate&&!Je?.assinaturas?.length&&"LINK"!=Je?.tipo}editEndDocumento(Je){}documentoDynamicButtons(Je){let tt=[];return!this.isNoPersist&&this.entity&&this.needSign(this.entity,Je)&&tt.push({hint:"Assinar",icon:"bi bi-pen",color:"secondary",onClick:this.signDocumento.bind(this)}),tt}signDocumento(Je){var tt=this;return(0,i.Z)(function*(){yield tt.documentoService.sign([Je]),tt.cdRef.detectChanges()})()}addDocumento(){var Je=this;return(0,i.Z)(function*(){return new C.U({id:Je.dao.generateUuid(),entidade_id:Je.auth.unidade?.entidade_id||null,tipo:"HTML",especie:Je.especie,link:null,_status:"ADD",titulo:Je.tituloDefault||"",dataset:Je.dataset||null,datasource:Je.datasource||null,template:Je.metadata?.template.conteudo,template_id:Je.metadata?.template.id,plano_trabalho_id:["TCR"].includes(Je.especie)?Je.entity.id:null})})()}loadDocumento(Je,tt){var Qe=this;return(0,i.Z)(function*(){const pt=tt;Qe.form.patchValue({id:pt?.id||"",tipo:pt?.tipo||"HTML",titulo:pt?.titulo||"",conteudo:pt?.conteudo||"",link:pt?.link,dataset:pt?.dataset,datasource:pt?.datasource,template:pt?.template,template_id:pt?.template_id}),Qe.cdRef.detectChanges()})()}removeDocumento(Je){var tt=this;return(0,i.Z)(function*(){return!!(yield tt.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(tt.isNoPersist?Je._status="DEL":yield tt.dao.delete(Je),!0)})()}saveDocumento(Je,tt){var Qe=this;return(0,i.Z)(function*(){let pt;if(Qe.form.markAllAsTouched(),Qe.form.valid){tt.titulo=Je.controls.titulo.value,tt.conteudo=Je.controls.conteudo.value,tt.dataset=Qe.templateService.prepareDatasetToSave(tt.dataset||[]),Qe.submitting=!0;try{pt=Qe.isNoPersist?tt:yield Qe.documentoDao.save(tt),Je.controls.id.setValue(pt.id),tt.id=pt.id}catch(Nt){Qe.error(Nt.message?Nt.message:Nt)}finally{Qe.submitting=!1}Qe.cdRef.detectChanges()}return pt})()}static#e=this.\u0275fac=function(tt){return new(tt||gt)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["documentos"]],viewQuery:function(tt,Qe){if(1&tt&&t.Gf(A.M,5),2&tt){let pt;t.iGM(pt=t.CRH())&&(Qe.grid=pt.first)}},inputs:{cdRef:"cdRef",entity:"entity",noPersist:"noPersist",needSign:"needSign",extraTags:"extraTags",especie:"especie",dataset:"dataset",disabled:"disabled",canEditTemplate:"canEditTemplate",template:"template",datasource:"datasource",editingId:"editingId"},features:[t.qOj],decls:12,vars:18,consts:[[3,"items","form","editable","selectable","add","load","remove","save","editEnd","hasAdd","hasEdit","hasDelete"],["gridDocumentos",""],["fullSizeOnEdit","",3,"size","noToolbar","template","editTemplate"],["panelDocumento",""],["panelDocumentoEdit",""],["title","#ID/Especie",3,"template"],["documentoTemplate",""],["type","options","always","",3,"dynamicButtons"],["emptyDocumentMensage","Nenhum documento selecionado",3,"html"],[1,"row"],["label","T\xedtulo",3,"size","control"],["label","Conte\xfado",3,"size","control","canEditTemplate","template","datasource"],[1,"col-12","text-wrap"],["icon","bi bi-hash",3,"color","label"],[3,"color","icon","label"],[3,"color","icon","label",4,"ngFor","ngForOf"],["onlyLink","",3,"documento"],["title","Assinaturas","small","","transparent","",4,"ngIf"],["title","Assinaturas","small","","transparent",""],[3,"url","hint",4,"ngFor","ngForOf"],[3,"url","hint"]],template:function(tt,Qe){if(1&tt&&(t.TgZ(0,"grid",0,1)(2,"side-panel",2),t.YNc(3,V,3,2,"ng-template",null,3,t.W1O),t.YNc(5,J,4,8,"ng-template",null,4,t.W1O),t.qZA(),t.TgZ(7,"columns")(8,"column",5),t.YNc(9,Ee,15,11,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(11,"column",7),t.qZA()()),2&tt){const pt=t.MAs(4),Nt=t.MAs(6),Jt=t.MAs(10);t.Q6J("items",Qe.items)("form",Qe.form)("editable",Qe.disabled?void 0:"true")("selectable",!0)("add",Qe.addDocumento.bind(Qe))("load",Qe.loadDocumento.bind(Qe))("remove",Qe.removeDocumento.bind(Qe))("save",Qe.saveDocumento.bind(Qe))("editEnd",Qe.editEndDocumento.bind(Qe))("hasAdd",!Qe.disabled)("hasEdit",Qe.canEdit)("hasDelete",!1),t.xp6(2),t.Q6J("size",8)("noToolbar",Qe.editingId?"true":void 0)("template",pt)("editTemplate",Nt),t.xp6(6),t.Q6J("template",Jt),t.xp6(3),t.Q6J("dynamicButtons",Qe.documentoDynamicButtons.bind(Qe))}},dependencies:[F.sg,F.O5,A.M,x.a,H.b,k.m,P.N,X.F,me.q,Oe.G,Se.h,wt.a,K.h]})}return gt})()},2067:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>C});var i=m(755),t=m(2333),A=m(5545),a=m(4999),y=m(2307);let C=(()=>{class b{constructor(j,F,x,H,k){this.auth=j,this.dialog=F,this.notificacaoService=x,this.notificacaoDao=H,this.go=k,this.naoLidas=0}updateNaoLidas(){this.auth.usuario&&(this.naoLidas=this.auth.usuario.notificacoes_destinatario?.length||0)}heartbeat(){this.updateNaoLidas(),this.intervalId||(this.intervalId=setInterval(this.updateNaoLidas.bind(this),6e4))}details(j){this.dialog.html({title:"Pre-visualiza\xe7\xe3o do documento",modalWidth:1e3},j.entity.conteudo,[])}dataset(j){return[]}titulo(j){return""}hint(j){return""}static#e=this.\u0275fac=function(F){return new(F||b)(i.LFG(t.e),i.LFG(A.x),i.LFG(a.r),i.LFG(a.r),i.LFG(y.o))};static#t=this.\u0275prov=i.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},2739:(lt,_e,m)=>{"use strict";m.d(_e,{Y:()=>x,y:()=>H});var i=m(8239),t=m(755),A=m(3150),a=m(6298),y=m(9367),C=m(1340);function b(k,P){if(1&k){const X=t.EpF();t.TgZ(0,"input-switch",6),t.NdJ("change",function(){t.CHM(X);const Oe=t.oxw();return t.KtG(Oe.updateNotificacoes())}),t.qZA()}2&k&&t.Q6J("size",4)}function N(k,P){if(1&k){const X=t.EpF();t.TgZ(0,"input-switch",7),t.NdJ("change",function(){t.CHM(X);const Oe=t.oxw();return t.KtG(Oe.updateNotificacoes())}),t.qZA()}2&k&&t.Q6J("size",4)}function j(k,P){if(1&k){const X=t.EpF();t.TgZ(0,"input-switch",8),t.NdJ("change",function(){t.CHM(X);const Oe=t.oxw();return t.KtG(Oe.updateNotificacoes())}),t.qZA()}2&k&&t.Q6J("size",4)}function F(k,P){if(1&k&&(t.TgZ(0,"separator",9),t._UZ(1,"notificacoes-template",10),t.qZA()),2&k){const X=t.oxw();t.xp6(1),t.Q6J("entity",X.entity)("source",X.source)("unidadeId",X.unidadeId)("entidadeId",X.entidadeId)("cdRef",X.cdRef)}}class x{constructor(P){this.codigo="",this.notifica=!0,this.descricao="",Object.assign(this,P||{})}}let H=(()=>{class k extends a.D{set entity(X){super.entity=X}get entity(){return super.entity}constructor(X){super(X),this.injector=X,this.disabled=!1,this.notificar=[],this.source=[],this.loadingNotificacoes=!1,this.cdRef=X.get(t.sBO),this.templateService=X.get(y.E),this.code="MOD_NOTF_CONF",this.title="Notifica\xe7\xf5es",this.form=this.fh.FormBuilder({enviar_petrvs:{default:!0},enviar_email:{default:!0},enviar_whatsapp:{default:!0}})}ngOnInit(){super.ngOnInit(),this.entidadeId=this.entidadeId||this.queryParams?.entidadeId,this.unidadeId=this.unidadeId||this.queryParams?.unidadeId}ngAfterViewInit(){super.ngAfterViewInit(),this.loadNotificacoes(this.entity)}loadNotificacoes(X){var me=this;(0,i.Z)(function*(){me.loadingNotificacoes=!0,me.cdRef.detectChanges();try{me.source=yield me.templateService.loadNotificacoes(me.entidadeId,me.unidadeId),me.notificar=me.templateService.buildNotificar(me.entity?.notificacoes||new C.$);let Oe=Object.assign({},me.form.value);me.form.patchValue(me.util.fillForm(Oe,X.notificacoes))}finally{me.loadingNotificacoes=!1,me.cdRef.detectChanges()}})()}saveData(X){var me=this;return(0,i.Z)(function*(){return me.entity.notificacoes_templates=me.entity.notificacoes_templates?.filter(Oe=>!!Oe._status),me.util.fillForm(me.entity.notificacoes,me.form.value),me.entity})()}updateNotificacoes(){this.entity.notificacoes.enviar_petrvs=this.form.controls.enviar_email.value,this.entity.notificacoes.enviar_email=this.form.controls.enviar_email.value,this.entity.notificacoes.enviar_whatsapp=this.form.controls.enviar_whatsapp.value,this.entity.notificacoes.nao_notificar=this.notificar.filter(X=>!X.notifica).map(X=>X.codigo)}static#e=this.\u0275fac=function(me){return new(me||k)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["notificacoes-config"]],viewQuery:function(me,Oe){if(1&me&&t.Gf(A.M,5),2&me){let Se;t.iGM(Se=t.CRH())&&(Oe.grid=Se.first)}},inputs:{cdRef:"cdRef",entity:"entity",entidadeId:"entidadeId",unidadeId:"unidadeId",disabled:"disabled"},features:[t.qOj],decls:6,vars:7,consts:[["noButtons","",3,"form","disabled","withScroll"],["transparent","","title","Formas de notifica\xe7\xe3o"],["scale","small","icon","bi bi-bell","labelPosition","right","label","Notificar no Petrvs","controlName","enviar_petrvs",3,"size","change",4,"ngIf"],["scale","small","icon","bi bi-envelope-at","labelPosition","right","label","Notificar por e-mail","controlName","enviar_email",3,"size","change",4,"ngIf"],["scale","small","icon","bi bi-whatsapp","labelPosition","right","label","Notificar por Whatsapp","controlName","enviar_whatsapp",3,"size","change",4,"ngIf"],["title","Templates e habilita\xe7\xe3o de notifica\xe7\xf5es",4,"ngIf"],["scale","small","icon","bi bi-bell","labelPosition","right","label","Notificar no Petrvs","controlName","enviar_petrvs",3,"size","change"],["scale","small","icon","bi bi-envelope-at","labelPosition","right","label","Notificar por e-mail","controlName","enviar_email",3,"size","change"],["scale","small","icon","bi bi-whatsapp","labelPosition","right","label","Notificar por Whatsapp","controlName","enviar_whatsapp",3,"size","change"],["title","Templates e habilita\xe7\xe3o de notifica\xe7\xf5es"],[3,"entity","source","unidadeId","entidadeId","cdRef"]],template:function(me,Oe){1&me&&(t.TgZ(0,"editable-form",0)(1,"separator",1),t.YNc(2,b,1,1,"input-switch",2),t.YNc(3,N,1,1,"input-switch",3),t.YNc(4,j,1,1,"input-switch",4),t.qZA(),t.YNc(5,F,2,5,"separator",5),t.qZA()),2&me&&(t.Q6J("form",Oe.form)("disabled",Oe.disabled)("withScroll",!1),t.xp6(2),t.Q6J("ngIf",Oe.templateService.notifica.petrvs),t.xp6(1),t.Q6J("ngIf",Oe.templateService.notifica.email),t.xp6(1),t.Q6J("ngIf",Oe.templateService.notifica.whatsapp),t.xp6(1),t.Q6J("ngIf",Oe.viewInit))}})}return k})()},9367:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>F});var i=m(8239),t=m(8409),A=m(2739),a=m(755),y=m(7744),C=m(9230),b=m(2333),N=m(5545),j=m(9193);let F=(()=>{class x{static#e=this.OPEN_TAG="{{";static#t=this.CLOSE_TAG="}}";static#n=this.EXPRESSION_BOOLEAN=/^(true|false)$/;static#i=this.EXPRESSION_NUMBER=/^[0-9,\.]+$/;static#r=this.EXPRESSION_STRING=/^".*"$/;static#s=this.EXPRESSION_VAR=/^[a-zA-z]\w*?((\.\w+?)|(\[\+\])|(\[(\d+?|[a-zA-z]\w*?)\]))*$/;static#o=this.EXPRESSION_IF=/^if:(".*"|true|false|([0-9,\.]+)|([a-zA-z]\w*?((\.\w+?)|(\[\+\])|(\[(\d+?|[a-zA-z]\w*?)\]))*))(\s*)(=|==|\>|\>=|\<|\<=|\<\>|\!=)(\s*)(".*"|true|false|([0-9,\.]+)|([a-zA-z]\w*?((\.\w+?)|(\[\+\])|(\[(\d+?|[a-zA-z]\w*?)\]))*))(;.+?\=.+?)*$/;static#a=this.EXPRESSION_FOR=/^for:([a-zA-z]\w*?((\.\w+?)|(\[(\d+?|[a-zA-z]\w*?)\]))*)\[((\d+\.\.[a-zA-Z]\w*?(\.\.[a-zA-Z]\w*?)?)|(([a-zA-Z]\w*?\.\.)?[a-zA-Z]\w*?\.\.\d+)|([a-zA-Z]\w*?))\](;.+?\=.+?)*$/;static#l=this.STATEMENT_FOR=/^for:(?([a-zA-z]\w*?((\.\w+?)|(\[(\d+?|[a-zA-z]\w*?)\]))*))\[(((?\w+?)\.\.(?\w*?)(\.\.(?\w+?))?)|(%(?\w+?)%))\](?(;.+?\=.+?)*)$/;static#c=this.STATEMENT_IF=/^if:(?.+?)(\s*)(?=|==|\>|\>=|\<|\<=|\<\>|\!=)(\s*)(?.+?)(?(;.+?\=.+?)*)$/;static#u=this.STATEMENT_FOR_WITHOUT_PARS=/^(?for:\w+\[.+\])/;static#d=this.PARAMETER_DROP="drop";constructor(k,P,X,me,Oe){this.planoTrabalhoDao=k,this.templateDao=P,this.auth=X,this.dialog=me,this.util=Oe,this.notificacoes=[],this.notifica={petrvs:!1,email:!1,whatsapp:!1}}selectRoute(k,P){return Object.assign({route:["uteis","templates",k]},P?.length?{params:{selectId:P}}:{})}details(k){this.dialog.html({title:"Pre-visualiza\xe7\xe3o do documento",modalWidth:1e3},k.entity.conteudo,[])}dataset(k,P){var X=this;return(0,i.Z)(function*(){let me=[];return["TCR"].includes(k)?me=yield X.planoTrabalhoDao.dataset():"NOTIFICACAO"==k?me=(yield X.notificacoes.find(Oe=>Oe.codigo==P)?.dataset)||[]:"RELATORIO"==k&&(me=yield X.templateDao.getDataset("REPORT",P)),me})()}titulo(k){return"TCR"==k?"Termo de ci\xeancia e responsabilidade":""}template(k,P){}prepareDatasetToSave(k){let P=[];for(let X of k){let{dao:me,...Oe}=X;(["OBJECT","ARRAY"].includes(Oe.type||"")||Oe.fields?.length)&&(Oe.fields=this.prepareDatasetToSave(Oe.fields||[])),P.push(Oe)}return P}loadNotificacoes(k,P){var X=this;return(0,i.Z)(function*(){let me=[];if(k||P||!X.notificacoes?.length){let Oe=[["especie","==","NOTIFICACAO"]];Oe.push(k?.length?["entidade_id","==",k]:P?.length?["unidade_id","==",P]:["id","==",null]);let Se=X.templateDao.query({where:Oe,orderBy:[],join:[],limit:void 0});me=yield Se.asPromise(),X.notificacoes=Se.extra?.notificacoes?.sort((wt,K)=>wt.codigo(Oe.codigo||"")<(Se.codigo||"")?-1:1)||[]),X})()}buildItems(k,P,X){return this.notificacoes.map(me=>{let Oe=P?.find(K=>K.codigo==me.codigo),Se=k.filter(K=>K.codigo==me.codigo&&K.id!=Oe?.id).reduce((K,V)=>K&&K.unidade_id?.length?K:V,void 0),wt=("DELETE"!=Oe?._status?Oe:void 0)||Se||new t.Y({id:me.codigo,conteudo:me.template,especie:"NOTIFICACAO",codigo:me.codigo,titulo:me.descricao,dataset:me.dataset,entidade_id:null,unidade_id:null});return Object.assign(wt,{_metadata:{notificar:!(X||[]).includes(me.codigo)}})})}buildNotificar(k){return this.notificacoes.map(P=>new A.Y({codigo:P.codigo,descricao:P.descricao,notifica:!(k.nao_notificar||[]).includes(P.codigo)}))}getStrRegEx(k){return k?"string"==typeof k?k.split("").map(P=>"<>/\\{}[]()-?*.!~".includes(P)?"\\"+P:P).join(""):k.toString().replace(/^\//,"").replace(/\/.*?$/,""):""}tagSplit(k,P,X){let me=K=>"^(?[\\s\\S]*?)(?"+this.getStrRegEx(K.before)+"[\\s\\t\\n]*)(?"+this.getStrRegEx(K.tag)+")(?[\\s\\t\\n]*"+this.getStrRegEx(K.after)+")(?[\\s\\S]*?)$",Oe=me("string"==typeof P?{tag:P}:P),Se=me("string"==typeof X?{tag:X}:X),wt=k.match(new RegExp(Oe))?.groups;if(wt){let K=wt.AFTER.match(new RegExp(Se))?.groups;if(K)return{before:wt.BEFORE,start:{before:wt.START,tag:wt.TAG,after:wt.END},content:K.BEFORE,end:{before:K.STERT,tag:K.TAG,after:K.END},after:K.AFTER}}}getExpressionValue(k,P){return k=k.replace("[+]",".length"),k.match(/\[\w+\]/g)?.map(X=>X.replace(/^\[/,"").replace(/\]$/,"")).forEach(X=>k=k.replace("["+X+"]","["+this.getExpressionValue(X,P).toString()+"]")),k.toLowerCase().match(x.EXPRESSION_BOOLEAN)?"true"==k.toLowerCase():k.match(x.EXPRESSION_STRING)?k.replace(/^\"/,"").replace(/\"$/,""):k.match(x.EXPRESSION_NUMBER)?+k:k.match(x.EXPRESSION_VAR)?this.util.getNested(P,k):void 0}bondaryTag(k,P,X){let me=k.before.match(new RegExp("(?[\\s\\S]*)(?"+P+")")),Oe=k.after.match(new RegExp("(?"+X+")(?[\\s\\S]*)"));k.start.before=me?.groups?.CONTENT||"",k.before=me?.groups?.BEFORE||"",k.after=Oe?.groups?.AFTER||"",k.end.after=Oe?.groups?.CONTENT||""}evaluateOperator(k,P,X){switch(P){case"==":case"=":return k==X;case"<>":case"!=":return k!=X;case">":return k>X;case">=":return k>=X;case"<":return k=0?-1:1,!Oe)return Se.before=me+Se.before,Se;k=Se.after,me+=Se.before+Se.start.tag+Se.content+Se.end.tag}}processParamDrop(k,P){let X=[],me=(P?.replace(/^;/,"")||"").split(";").reduce((Oe,Se)=>(X=Se.split("="),Oe[X[0]]=X[1],Oe),{});k&&me.drop&&me.drop.match(/^\w+$/)&&(this.bondaryTag(k,"<"+me.drop+">[\\s\\S]*?$","^[\\s\\S]*?<\\/"+me.drop+">"),k.start.before="",k.end.after="")}renderTemplate(k,P){let X,me=null,Oe=k,Se="";for(;X=this.tagSplit(Oe,x.OPEN_TAG,x.CLOSE_TAG);){try{if(X.content.match(x.EXPRESSION_VAR)){let wt=(this.getExpressionValue(X.content,P)+"").replace(/^undefined$/,"");X.content=this.renderTemplate(wt,P)}else if(X.content.match(x.EXPRESSION_IF)){me=X.content.match(x.STATEMENT_IF);let wt=this.getExpressionValue(me?.groups?.EXP_A||"",P),K=this.getExpressionValue(me?.groups?.EXP_B||"",P),V=this.evaluateOperator(wt,me?.groups?.OPER||"",K);this.processParamDrop(X,me?.groups?.PARS);let J=this.splitEndTag(X.after,"if:","end-if");if(!J)throw new Error("o if n\xe3o possui um repectivo end-if");this.processParamDrop(J,J.content?.replace(/^;/,"")),X.content=V?this.renderTemplate(J.before,P):"",X.after=J.after}else if(X.content.match(x.EXPRESSION_FOR)){me=X.content.match(x.STATEMENT_FOR),this.processParamDrop(X,me?.groups?.PARS);let wt=this.splitEndTag(X.after,"for:","end-for");if(!wt)throw new Error("o for n\xe3o possui um repectivo end-for");{if(this.processParamDrop(wt,wt.content?.replace(/^;/,"")),X.content="",X.after=wt.after,P[me?.groups?.EACH||me?.groups?.INDEX||""])throw new Error("Vari\xe1vel de contexto j\xe1 existe no contexto atual");let K=this.getExpressionValue(me?.groups?.EXP||"",P),V=!!me?.groups?.EACH?.match(/^[a-zA-Z]\w+$/),J=V||!!me?.groups?.START?.match(/^\d+$/),oe=V||J?K.length:+me.groups.END;for(let ye=V?0:J?+me.groups.START:K.length;J?yeoe;J?ye++:ye--){let Ee=K[ye],Ge=Object.assign({},P);if(V)Ge[me.groups.EACH]=Ee;else{let gt=J&&me?.groups?.END?me.groups.END:!J&&me?.groups?.START?me.groups.START:void 0;gt&&(Ge[gt]=K.length),Ge[me.groups.INDEX]=ye}X.content+=this.renderTemplate(wt.before,Ge)}}}}catch{X.content="(ERRO)"}finally{X.start.tag="",X.end.tag=""}Se+=X.before+(X.start.before||"")+X.start.tag+(X.start.after||"")+X.content+(X.end.before||"")+X.end.tag+(X.end.after||""),Oe=X.after}return Se+=Oe,Se}static#h=this.\u0275fac=function(P){return new(P||x)(a.LFG(y.t),a.LFG(C.w),a.LFG(b.e),a.LFG(N.x),a.LFG(j.f))};static#f=this.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},2864:(lt,_e,m)=>{"use strict";m.r(_e),m.d(_e,{UteisModule:()=>Ls});var i=m(6733),t=m(2662),A=m(5579),a=m(1391),y=m(2314),C=m(4240),b=m(8239),N=m(4040),j=m(5026),F=m(6298),x=m(755),H=m(2392),k=m(8877);function P(On,mr){if(1&On&&(x.TgZ(0,"div",1),x._UZ(1,"input-text",4),x.qZA()),2&On){const Pt=x.oxw();x.xp6(1),x.Q6J("size",12)("control",Pt.form.controls.confirmacao),x.uIk("maxlength",250)}}function X(On,mr){1&On&&(x.TgZ(0,"div",1)(1,"h5"),x._uU(2,"Em desenvolvimento"),x.qZA()())}let me=(()=>{class On extends F.D{constructor(Pt){super(Pt),this.injector=Pt,this.textoConfirmar="confirmo",this.documentos=[],this.TIPO_ASSINATURA=[{key:"ELETRONICA",value:"Assinatura Elet\xf4nica"},{key:"DIGITAL",value:"Assinatura Digital"}],this.isProcessandoClique=!1,this.validate=(ln,Yt)=>{let li=null;return"ELETRONICA"==this.form?.controls.tipo.value&&"confirmacao"==Yt&&ln.value.toLowerCase()!=this.textoConfirmar.toLowerCase()?li="Valor dever\xe1 ser "+this.textoConfirmar:"DIGITAL"==this.form?.controls.tipo.value&&"certificado_id"==Yt&&!ln.value?.length&&(li="Obrigat\xf3rio selecionar um certificado"),li},this.documentoDao=Pt.get(j.d),this.modalWidth=450,this.form=this.fh.FormBuilder({tipo:{default:"ELETRONICA"},confirmacao:{default:""},certificado_id:{default:null}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit(),this.documentos=this.metadata?.documentos}onAssinarClick(){var Pt=this;return(0,b.Z)(function*(){if(!Pt.isProcessandoClique){Pt.isProcessandoClique=!0,Pt.dialog.showSppinerOverlay("Assinando . . .");try{let ln=yield Pt.documentoDao.assinar(Pt.documentos.map(Yt=>Yt.id));ln?.forEach(Yt=>{const li=Pt.documentos.find(Qr=>Qr.id==Yt.id);li&&(li.assinaturas=Yt.assinaturas)}),Pt.go.setModalResult(Pt.modalRoute?.queryParams?.idroute,ln),Pt.close()}catch(ln){Pt.error(ln?.error.message||ln?.message||ln||"Erro desconhecido")}finally{Pt.dialog.closeSppinerOverlay(),Pt.isProcessandoClique=!1}}})()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["app-assinar"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(N.Q,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.editableForm=li.first)}},features:[x.qOj],decls:6,vars:6,consts:[["confirmLabel","Assinar",3,"form","submit","cancel"],[1,"row"],["controlName","tipo",3,"size","control","items"],["class","row",4,"ngIf"],["label","Digite a palavra CONFIRMO para prosseguir","icon","bi bi-hand-thumbs-up","controlName","confirmacao",3,"size","control"]],template:function(ln,Yt){1&ln&&(x.TgZ(0,"editable-form",0),x.NdJ("submit",function(){return Yt.onAssinarClick()})("cancel",function(){return Yt.onCancel()}),x.TgZ(1,"div",1)(2,"div",1),x._UZ(3,"input-radio",2),x.qZA(),x.YNc(4,P,2,3,"div",3),x.YNc(5,X,3,0,"div",3),x.qZA()()),2&ln&&(x.Q6J("form",Yt.form),x.xp6(3),x.Q6J("size",12)("control",Yt.form.controls.tipo)("items",Yt.TIPO_ASSINATURA),x.xp6(1),x.Q6J("ngIf","ELETRONICA"==Yt.form.controls.tipo.value),x.xp6(1),x.Q6J("ngIf","DIGITAL"==Yt.form.controls.tipo.value))},dependencies:[i.O5,N.Q,H.m,k.f]})}return On})();var Oe=m(6601),Se=m(8409),wt=m(9230),K=m(3150),V=m(8509),J=m(9367),ae=m(7224),oe=m(3351),ye=m(7765),Ee=m(5512),Ge=m(2704),gt=m(5489),Ze=m(5795),Je=m(4788),tt=m(3705);function Qe(On,mr){1&On&&x._UZ(0,"toolbar")}function pt(On,mr){if(1&On&&(x.TgZ(0,"h5"),x._uU(1),x.qZA(),x._UZ(2,"document-preview",11)),2&On){const Pt=mr.row;x.xp6(1),x.Oqu((null==Pt?null:Pt.titulo)||"Preview do template"),x.xp6(1),x.Q6J("html",null==Pt?null:Pt.conteudo)}}function Nt(On,mr){if(1&On&&(x.TgZ(0,"div",12),x._UZ(1,"input-text",13)(2,"input-text",14),x.qZA(),x.TgZ(3,"div"),x._UZ(4,"input-editor",15),x.qZA()),2&On){const Pt=x.oxw();x.xp6(1),x.Q6J("size",2)("control",Pt.form.controls.codigo),x.uIk("maxlength",250),x.xp6(1),x.Q6J("size",10)("control",Pt.form.controls.titulo),x.uIk("maxlength",250),x.xp6(2),x.Q6J("size",12)("dataset",Pt.dataset)("control",Pt.form.controls.conteudo)}}function Jt(On,mr){if(1&On&&x._UZ(0,"badge",19),2&On){const Pt=x.oxw().row;x.Q6J("label",Pt.codigo)}}function nt(On,mr){if(1&On&&(x.TgZ(0,"small"),x._uU(1),x.qZA(),x._UZ(2,"br")(3,"badge",16)(4,"badge",17),x.YNc(5,Jt,1,1,"badge",18)),2&On){const Pt=mr.row,ln=x.oxw();x.xp6(1),x.Oqu(Pt.titulo),x.xp6(2),x.Q6J("label",Pt.numero),x.xp6(1),x.Q6J("icon",ln.lookup.getIcon(ln.lookup.TEMPLATE_ESPECIE,Pt.especie))("label",ln.lookup.getValue(ln.lookup.TEMPLATE_ESPECIE,Pt.especie))("color",ln.lookup.getColor(ln.lookup.TEMPLATE_ESPECIE,Pt.especie)),x.xp6(1),x.Q6J("ngIf",null==Pt.codigo?null:Pt.codigo.length)}}function ot(On,mr){if(1&On&&x._UZ(0,"toolbar",20),2&On){const Pt=x.oxw();x.Q6J("buttons",Pt.selectButtons)}}let Ct=(()=>{class On extends V.E{constructor(Pt){super(Pt,Se.Y,wt.w),this.injector=Pt,this.filterWhere=ln=>[["especie","==",this.especie]],this.templateService=Pt.get(J.E),this.code="MOD_TEMP",this.modalWidth=1200,this.filter=this.fh.FormBuilder({}),this.form=this.fh.FormBuilder({codigo:{default:""},titulo:{default:""},conteudo:{default:""}})}onGridLoad(Pt){this.selectId&&Pt?.find(ln=>ln.id==this.selectId)&&this.grid.selectById(this.selectId)}ngOnInit(){var Pt=()=>super.ngOnInit,ln=this;return(0,b.Z)(function*(){Pt().call(ln),ln.especie=ln.urlParams?.has("especie")?ln.urlParams.get("especie"):ln.metadata?.especie||ln.especie||"OUTRO",ln.dataset=ln.dataset||(yield ln.templateService.dataset(ln.especie)),ln.title=ln.lookup.getValue(ln.lookup.TEMPLATE_ESPECIE,ln.especie),ln.selectId=ln.queryParams?.selectId})()}onTemplateSelect(Pt){const ln=Pt||void 0;this.form.patchValue({codigo:ln?.codigo||"",titulo:ln?.titulo||"",conteudo:ln?.conteudo||""}),this.cdRef.detectChanges()}addTemplate(){var Pt=this;return(0,b.Z)(function*(){return new Se.Y({codigo:"",conteudo:"",especie:Pt.especie,dataset:Pt.dataset,titulo:Pt.templateService.titulo(Pt.especie)})})()}loadTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){Pt.controls.codigo.setValue(ln.codigo),Pt.controls.titulo.setValue(ln.titulo),Pt.controls.conteudo.setValue(ln.conteudo),Yt.cdRef.detectChanges()})()}removeTemplate(Pt){var ln=this;return(0,b.Z)(function*(){return!!(yield ln.dialog.confirm("Exclui ?","Deseja realmente excluir?"))&&(yield ln.dao.delete(Pt),!0)})()}saveTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){let li;if(Yt.form.markAllAsTouched(),Yt.form.valid){ln.codigo=Pt.controls.codigo.value,ln.titulo=Pt.controls.titulo.value,ln.conteudo=Pt.controls.conteudo.value,ln.dataset=Yt.templateService.prepareDatasetToSave(Yt.dataset||[]),Yt.submitting=!0;try{li=yield Yt.dao.save(ln,Yt.join)}catch(Qr){Yt.error(Qr.message?Qr.message:Qr)}finally{Yt.submitting=!1}Yt.cdRef.detectChanges()}return li})()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["app-templates"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(K.M,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.grid=li.first)}},inputs:{especie:"especie",dataset:"dataset"},features:[x.qOj],decls:15,vars:29,consts:[["editable","",3,"dao","form","title","orderBy","groupBy","join","selectable","add","load","remove","save","hasAdd","hasEdit","hasDelete","loadList"],[4,"ngIf"],["hidden","",3,"deleted","form","where","submit","clear","collapseChange","collapsed"],["fullSizeOnEdit","",3,"size","template","editTemplate"],["panelTemplate",""],["panelTemplateEdit",""],["title","Template",3,"template"],["columnTemplate",""],["type","options","always",""],[3,"rows"],[3,"buttons",4,"ngIf"],["emptyDocumentMensage","Nenhum template selecionado",3,"html"],[1,"row"],["label","C\xf3digo",3,"size","control"],["label","T\xedtulo",3,"size","control"],["label","Preview do template",3,"size","dataset","control"],["icon","bi bi-hash","color","light",3,"label"],[3,"icon","label","color"],["icon","bi bi-tag",3,"label",4,"ngIf"],["icon","bi bi-tag",3,"label"],[3,"buttons"]],template:function(ln,Yt){if(1&ln&&(x.TgZ(0,"grid",0),x.YNc(1,Qe,1,0,"toolbar",1),x._UZ(2,"filter",2),x.TgZ(3,"side-panel",3),x.YNc(4,pt,3,2,"ng-template",null,4,x.W1O),x.YNc(6,Nt,5,9,"ng-template",null,5,x.W1O),x.qZA(),x.TgZ(8,"columns")(9,"column",6),x.YNc(10,nt,6,6,"ng-template",null,7,x.W1O),x.qZA(),x._UZ(12,"column",8),x.qZA(),x._UZ(13,"pagination",9),x.qZA(),x.YNc(14,ot,1,1,"toolbar",10)),2&ln){const li=x.MAs(5),Qr=x.MAs(7),Sr=x.MAs(11);x.Q6J("dao",Yt.dao)("form",Yt.form)("title",Yt.isModal?"":Yt.title)("orderBy",Yt.orderBy)("groupBy",Yt.groupBy)("join",Yt.join)("selectable",Yt.selectable)("add",Yt.addTemplate.bind(Yt))("load",Yt.loadTemplate.bind(Yt))("remove",Yt.removeTemplate.bind(Yt))("save",Yt.saveTemplate.bind(Yt))("hasAdd",!0)("hasEdit",!0)("hasDelete",!0)("loadList",Yt.onGridLoad.bind(Yt)),x.xp6(1),x.Q6J("ngIf",!Yt.selectable),x.xp6(1),x.Q6J("deleted",Yt.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Yt.filter)("where",Yt.filterWhere)("submit",Yt.filterSubmit.bind(Yt))("clear",Yt.filterClear.bind(Yt))("collapseChange",Yt.filterCollapseChange.bind(Yt))("collapsed",!Yt.selectable&&Yt.filterCollapsed),x.xp6(1),x.Q6J("size",8)("template",li)("editTemplate",Qr),x.xp6(6),x.Q6J("template",Sr),x.xp6(4),x.Q6J("rows",Yt.rowsLimit),x.xp6(1),x.Q6J("ngIf",Yt.selectable&&!(null!=Yt.grid&&Yt.grid.editing))}},dependencies:[i.O5,K.M,ae.a,oe.b,ye.z,Ee.n,Ge.Q,H.m,gt.F,Ze.G,Je.h,tt.a]})}return On})();var He=m(1340),mt=m(4999),vt=m(2067),hn=m(8820),yt=m(4495);function Fn(On,mr){if(1&On&&(x.TgZ(0,"div",3)(1,"strong"),x._uU(2),x.TgZ(3,"small"),x._uU(4),x.qZA()()(),x.TgZ(5,"div",3)(6,"div",11),x._uU(7),x.qZA()()),2&On){const Pt=mr.row,ln=x.oxw();x.xp6(2),x.hij("#",Pt.numero,""),x.xp6(2),x.hij(" \u2022 ",ln.util.getDateTimeFormatted(Pt.data_registro),""),x.xp6(3),x.hij(" ",Pt.mensagem," ")}}function xn(On,mr){if(1&On&&x._UZ(0,"badge",17),2&On){const Pt=x.oxw().$implicit;x.Q6J("label",Pt.data_leitura?"Lido":"N\xe3o lido")}}function In(On,mr){if(1&On&&x._UZ(0,"badge",18),2&On){const Pt=x.oxw().$implicit;x.Q6J("label",Pt.data_leitura?"Lido":"N\xe3o lido")}}function dn(On,mr){if(1&On&&x._UZ(0,"badge",19),2&On){const Pt=x.oxw().$implicit;x.Q6J("label",Pt.data_leitura?"Lido":"N\xe3o lido")}}function qn(On,mr){if(1&On&&(x.ynx(0),x.YNc(1,xn,1,1,"badge",14),x.YNc(2,In,1,1,"badge",15),x.YNc(3,dn,1,1,"badge",16),x.BQk()),2&On){const Pt=mr.$implicit;x.xp6(1),x.Q6J("ngIf","PETRVS"==Pt.tipo),x.xp6(1),x.Q6J("ngIf","EMAIL"==Pt.tipo),x.xp6(1),x.Q6J("ngIf","WHATSAPP"==Pt.tipo)}}function di(On,mr){if(1&On&&(x.TgZ(0,"div",12),x.YNc(1,qn,4,3,"ng-container",13),x.qZA()),2&On){const Pt=mr.row;x.xp6(1),x.Q6J("ngForOf",Pt.destinatarios)}}let ir=(()=>{class On extends V.E{constructor(Pt){super(Pt,He.z,mt.r),this.injector=Pt,this.toolbarButtons=[{icon:"bi bi-check-all",label:"Lido",color:"btn-outline-success",hint:"Marcar todas as notifica\xe7\xf5es como lido",onClick:this.onLidoClick.bind(this)}],this.filterWhere=ln=>{let Yt=[],li=ln.value;return Yt.push(["usuario_id","==",this.auth.usuario.id]),li.todas&&Yt.push(["todas","==",!0]),this.util.isDataValid(li.data_inicio)&&Yt.push(["data_registro",">=",li.data_inicio]),this.util.isDataValid(li.data_fim)&&Yt.push(["data_registro","<=",li.data_fim]),Yt},this.notificacaoService=Pt.get(vt.r),this.modalWidth=700,this.join=["destinatarios"],this.title=this.lex.translate("Notifica\xe7\xf5es"),this.filter=this.fh.FormBuilder({todas:{default:!1},data_inicio:{default:void 0},data_fim:{default:void 0}})}filterClear(Pt){Pt.controls.todas.setValue(!1),Pt.controls.data_inicio.setValue(void 0),Pt.controls.data_fim.setValue(void 0),super.filterClear(Pt)}onLidoClick(){let Pt=(this.grid?.items||[]).reduce((ln,Yt)=>(ln.push(...Yt.destinatarios.filter(li=>!li.data_leitura).map(li=>li.id)),ln),[]);this.dao.marcarComoLido(Pt).then(ln=>{this.grid.reloadFilter(),this.auth.usuario&&(this.auth.usuario.notificacoes_destinatario=[]),this.notificacaoService.updateNaoLidas()})}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["notificacoes"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(K.M,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.grid=li.first)}},features:[x.qOj],decls:14,vars:23,consts:[[3,"dao","hasAdd","hasEdit","hasDelete","orderBy","groupBy","join"],[3,"buttons"],[3,"deleted","form","where","submit","clear","collapseChange","collapsed"],[1,"row"],["label","Todas","controlName","todas","labelInfo","Todas as notifica\xe7\xf5es incluindo as j\xe1 lidas",3,"size","control"],["label","In\xedcio","controlName","data_inicio","labelInfo","Data in\xedcio",3,"size","control"],["label","Fim","controlName","data_fim","labelInfo","Data fim",3,"size","control"],["title","Mensagens",3,"template"],["mensagemTemplate",""],["title","Envios",3,"template"],["formatoTemplate",""],[1,"col-12","text-wrap"],[1,"text-wrap"],[4,"ngFor","ngForOf"],["img","assets/images/logo_24x24.png","hint","PETRVS",3,"label",4,"ngIf"],["icon","bi bi-envelope-at","hint","E-mail",3,"label",4,"ngIf"],["icon","bi bi-whatsapp","hint","WhatsApp",3,"label",4,"ngIf"],["img","assets/images/logo_24x24.png","hint","PETRVS",3,"label"],["icon","bi bi-envelope-at","hint","E-mail",3,"label"],["icon","bi bi-whatsapp","hint","WhatsApp",3,"label"]],template:function(ln,Yt){if(1&ln&&(x.TgZ(0,"grid",0),x._UZ(1,"toolbar",1),x.TgZ(2,"filter",2)(3,"div",3),x._UZ(4,"input-switch",4)(5,"input-datetime",5)(6,"input-datetime",6),x.qZA()(),x.TgZ(7,"columns")(8,"column",7),x.YNc(9,Fn,8,3,"ng-template",null,8,x.W1O),x.qZA(),x.TgZ(11,"column",9),x.YNc(12,di,2,1,"ng-template",null,10,x.W1O),x.qZA()()()),2&ln){const li=x.MAs(10),Qr=x.MAs(13);x.Q6J("dao",Yt.dao)("hasAdd",!1)("hasEdit",!1)("hasDelete",!1)("orderBy",Yt.orderBy)("groupBy",Yt.groupBy)("join",Yt.join),x.xp6(1),x.Q6J("buttons",Yt.toolbarButtons),x.xp6(1),x.Q6J("deleted",Yt.auth.hasPermissionTo("MOD_AUDIT_DEL"))("form",Yt.filter)("where",Yt.filterWhere)("submit",Yt.filterSubmit.bind(Yt))("clear",Yt.filterClear.bind(Yt))("collapseChange",Yt.filterCollapseChange.bind(Yt))("collapsed",Yt.filterCollapsed),x.xp6(2),x.Q6J("size",2)("control",Yt.filter.controls.todas),x.xp6(1),x.Q6J("size",5)("control",Yt.filter.controls.data_inicio),x.xp6(1),x.Q6J("size",5)("control",Yt.filter.controls.data_fim),x.xp6(2),x.Q6J("template",li),x.xp6(3),x.Q6J("template",Qr)}},dependencies:[i.sg,i.O5,K.M,ae.a,oe.b,ye.z,Ee.n,hn.a,yt.k,gt.F]})}return On})();var Bn=m(9702);let xi=(()=>{class On{getItem(Pt){return this.itens[Pt]}constructor(Pt){this.lookup=Pt,this.itens={PlanoTrabalho:this.lookup.PLANO_TRABALHO_STATUS,PlanoEntrega:this.lookup.PLANO_ENTREGA_STATUS,Atividade:this.lookup.ATIVIDADE_STATUS,Consolidacao:this.lookup.CONSOLIDACAO_STATUS}}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.LFG(Bn.W))};static#t=this.\u0275prov=x.Yz7({token:On,factory:On.\u0275fac,providedIn:"root"})}return On})();var fi=m(4508),Mt=m(4603);function Ot(On,mr){1&On&&x._UZ(0,"input-textarea",5),2&On&&x.Q6J("size",12)("rows",3)}const ve=function(){return[]};let De=(()=>{class On extends F.D{constructor(Pt){super(Pt),this.injector=Pt,this.novoStatus="",this.tipo="",this._exigeJustificativa=!1,this.validate=(ln,Yt)=>{let li=null,Qr=ln.value?.trim().length;return"justificativa"==Yt&&this._exigeJustificativa&&(Qr?(Qrthis.MAX_LENGTH_TEXT&&(li="Conte\xfado ("+Qr+" caracteres) excede o comprimento m\xe1ximo: "+this.MAX_LENGTH_TEXT+".")):li="Obrigat\xf3rio"),li},this.statusService=Pt.get(xi),this.lookup=Pt.get(Bn.W),this.modalWidth=450,this.form=this.fh.FormBuilder({justificativa:{default:""},novo_status:{default:null}},this.cdRef,this.validate)}ngOnInit(){super.ngOnInit(),this.tipo=this.metadata?.tipo,this.entity=this.metadata?.entity||this.entity,this._exigeJustificativa=this.metadata?.exigeJustificativa||this._exigeJustificativa,this.novoStatus=this.metadata?.novoStatus||this.novoStatus,this.novoStatus.length&&this.form?.controls.novo_status?.setValue(this.novoStatus)}onSubmitClick(){var Pt=this;return(0,b.Z)(function*(){if(Pt.metadata.onClick){Pt.loading=!0;try{let ln=yield Pt.metadata.onClick(Pt.entity,Pt.form?.controls.justificativa.value);Pt.go.setModalResult(Pt.modalRoute?.queryParams?.idroute,ln),Pt.close()}catch(ln){Pt.error(ln?.message||ln?.error||ln||"Erro desconhecido")}finally{Pt.loading=!1}}})()}get exigeJustificativa(){if(this._exigeJustificativa)return!0;let Pt=this.lookup.getData(this.statusService.getItem(this.tipo),this.form?.controls.novo_status?.value);return this._exigeJustificativa=(Pt?.justificar||[]).includes(this.entity?.status),this._exigeJustificativa}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["app-status"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(N.Q,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.editableForm=li.first)}},features:[x.qOj],decls:6,vars:6,consts:[["confirmLabel","Confirmar",3,"form","submit","cancel"],[1,"row"],[1,"row","mb-4"],["label","Novo status","icon","","controlName","novo_status",3,"size","items","disabled"],["label","Justificativa","controlName","justificativa",3,"size","rows",4,"ngIf"],["label","Justificativa","controlName","justificativa",3,"size","rows"]],template:function(ln,Yt){1&ln&&(x.TgZ(0,"editable-form",0),x.NdJ("submit",function(){return Yt.onSubmitClick()})("cancel",function(){return Yt.onCancel()}),x.TgZ(1,"div",1)(2,"div",2),x._UZ(3,"input-select",3),x.qZA(),x.TgZ(4,"div",1),x.YNc(5,Ot,1,2,"input-textarea",4),x.qZA()()()),2&ln&&(x.Q6J("form",Yt.form),x.xp6(3),x.Q6J("size",12)("items",Yt.statusService.getItem(Yt.tipo)||x.DdM(5,ve))("disabled",Yt.novoStatus.length?"true":void 0),x.xp6(2),x.Q6J("ngIf",Yt.exigeJustificativa))},dependencies:[i.O5,N.Q,fi.Q,Mt.p]})}return On})();var xe=m(5560),Ye=m(933);function xt(On,mr){1&On&&x._UZ(0,"top-alert",3)}function cn(On,mr){if(1&On&&x._UZ(0,"document-preview",4),2&On){const Pt=x.oxw();x.Q6J("html",(null==Pt.documento?null:Pt.documento.conteudo)||"")}}const Kn=function(){return["HTML","REPORT"]},gs=[{path:"comentarios/:origem/:id/new",component:C.y,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Coment\xe1rios",modal:!0}},{path:"documentos/assinar",component:me,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Assinar",modal:!0}},{path:"documentos/preview/:documentoId",component:(()=>{class On extends F.D{constructor(Pt){super(Pt),this.injector=Pt,this.documentoSalvo=!1,this.buttons=[{icon:"bi bi-floppy",hint:"Salvar documento",color:"btn-outline-info border-0",onClick:()=>this.salvarParaUsuario(),id:"salvarDocumento"},{icon:"bi bi-printer",hint:"Imprimir",color:"btn-outline-secondary border-0",onClick:()=>this.imprimir()},{icon:"bi bi-envelope-at",hint:"Enviar E-mail",color:"btn-outline-warning border-0"},{icon:"bi bi-file-earmark-pdf",hint:"Exportar PDF",color:"btn-outline-danger border-0",onClick:()=>this.geraPDF()},{icon:"bi bi-whatsapp",hint:"Enviar WhatsApp",color:"btn-outline-success border-0"},{img:"assets/images/sei_icon.png",hint:"Enviar SEI",color:"btn-outline-primary border-0"}],this.validate=(ln,Yt)=>null,this.documentoDao=Pt.get(j.d),this.modalWidth=1e3,this.form=this.fh.FormBuilder({conteudo:{default:""}},this.cdRef,this.validate)}ngOnInit(){var Pt=this;super.ngOnInit(),(0,b.Z)(function*(){Pt.loading=!0;try{if(Pt.documentoId=Pt.documentoId||Pt.metadata?.documentoId||Pt.urlParams?.get("documentoId"),Pt.documento=Pt.documento||Pt.metadata?.documento||(yield Pt.dao.getById(Pt.documentoId)),Pt.documento?.assinaturas?.length){let ln="


    Assinatura(s):
    ";Pt.documento?.assinaturas.forEach(Yt=>{ln+=`

    ${Yt.usuario?.nome}

    ${Pt.util.getDateTimeFormatted(Yt.data_assinatura)}
    ${Yt.assinatura}
    `}),ln+="
    ",Pt.documento.conteudo?.includes(ln)||(Pt.documento.conteudo=Pt.documento.conteudo?.concat(ln)||null)}Pt.cdRef.detectChanges()}finally{Pt.loading=!1}})()}salvarParaUsuario(){this.documento&&this.documentoDao.update(this.documento.id,{usuario_id:this.auth.usuario?.id}).then(Pt=>{this.documentoSalvo=!0;const ln=this.buttons.find(Yt=>"salvarDocumento"==Yt.id);ln&&(ln.disabled=!0)})}geraPDF(){this.documento&&this.documentoDao.gerarPDF(this.documento.id).then(Pt=>{})}imprimir(){window.print()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["documentos-preview"]],inputs:{documentoId:"documentoId",documento:"documento"},features:[x.qOj],decls:4,vars:5,consts:[[3,"title","buttons"],["type","success","message","Documento foi salvo com sucesso!",4,"ngIf"],["emptysDocumentMensage","Vazio",3,"html",4,"ngIf"],["type","success","message","Documento foi salvo com sucesso!"],["emptysDocumentMensage","Vazio",3,"html"]],template:function(ln,Yt){1&ln&&(x._UZ(0,"toolbar",0),x.YNc(1,xt,1,0,"top-alert",1),x._UZ(2,"separator"),x.YNc(3,cn,1,1,"document-preview",2)),2&ln&&(x.Q6J("title",(null==Yt.documento?null:Yt.documento.titulo)||"")("buttons",Yt.buttons),x.xp6(1),x.Q6J("ngIf",Yt.documentoSalvo),x.xp6(2),x.Q6J("ngIf",(null==Yt.documento?null:Yt.documento.tipo)&&x.DdM(4,Kn).includes(Yt.documento.tipo)))},dependencies:[i.O5,Ee.n,xe.N,Ye.o,tt.a]})}return On})(),canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Preview",modal:!0}},{path:"documentos/:especie/:id",component:Oe.N,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Documentos",modal:!0}},{path:"documentos/:especie/:id/:action",component:Oe.N,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Documentos",modal:!0}},{path:"documentos/:especie/:id/:action/:documentoId",component:Oe.N,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Documentos",modal:!0}},{path:"status",component:De,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Altera\xe7\xe3o de Status",modal:!0}},{path:"notificacoes",component:ir,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Notifica\xe7\xf5es",modal:!0}},{path:"templates/:especie",component:Ct,canActivate:[a.a],resolve:{config:y.o},runGuardsAndResolvers:"always",data:{title:"Templates",modal:!0}}];let Qt=(()=>{class On{static#e=this.\u0275fac=function(ln){return new(ln||On)};static#t=this.\u0275mod=x.oAB({type:On});static#n=this.\u0275inj=x.cJS({imports:[A.Bz.forChild(gs),A.Bz]})}return On})();var ki=m(2739);function ta(On,mr){if(1&On&&(x.TgZ(0,"div",8)(1,"h5",9),x._uU(2),x.qZA(),x._UZ(3,"hr")(4,"document-preview",10),x.qZA()),2&On){const Pt=mr.row;x.xp6(2),x.Oqu((null==Pt?null:Pt.titulo)||"Preview do template"),x.xp6(2),x.Q6J("html",null==Pt?null:Pt.conteudo)}}function Pi(On,mr){if(1&On&&(x.TgZ(0,"div",11),x._UZ(1,"input-text",12)(2,"input-text",13),x.qZA(),x.TgZ(3,"div"),x._UZ(4,"input-editor",14),x.qZA()),2&On){const Pt=x.oxw(2);x.xp6(1),x.Q6J("size",2)("control",Pt.form.controls.codigo),x.uIk("maxlength",250),x.xp6(1),x.Q6J("size",10)("control",Pt.form.controls.titulo),x.uIk("maxlength",250),x.xp6(2),x.Q6J("size",12)("dataset",Pt.dataset)("control",Pt.form.controls.conteudo)}}function co(On,mr){if(1&On&&x._UZ(0,"badge",21),2&On){const Pt=x.oxw().row;x.Q6J("label",Pt.codigo)}}function Or(On,mr){if(1&On&&x._UZ(0,"badge",22),2&On){const Pt=x.oxw(3);x.Q6J("icon",Pt.entityService.getIcon("Entidade"))("label",Pt.lex.translate("Entidade"))}}function Dr(On,mr){if(1&On&&x._UZ(0,"badge",23),2&On){const Pt=x.oxw(3);x.Q6J("icon",Pt.entityService.getIcon("Unidade"))("label",Pt.lex.translate("Unidade"))}}function bs(On,mr){if(1&On){const Pt=x.EpF();x.TgZ(0,"div",11)(1,"div",15)(2,"input-switch",16),x.NdJ("change",function(){const li=x.CHM(Pt).row,Qr=x.oxw(2);return x.KtG(Qr.onNotificarChange(li))}),x.qZA()(),x.TgZ(3,"div",17)(4,"small"),x._uU(5),x.qZA()()(),x.YNc(6,co,1,1,"badge",18),x.YNc(7,Or,1,2,"badge",19),x.YNc(8,Dr,1,2,"badge",20)}if(2&On){const Pt=mr.row;x.xp6(2),x.Q6J("size",12)("source",Pt._metadata),x.xp6(3),x.Oqu(Pt.titulo),x.xp6(1),x.Q6J("ngIf",null==Pt.codigo?null:Pt.codigo.length),x.xp6(1),x.Q6J("ngIf",null==Pt.entidade_id?null:Pt.entidade_id.length),x.xp6(1),x.Q6J("ngIf",null==Pt.unidade_id?null:Pt.unidade_id.length)}}function Do(On,mr){if(1&On&&(x.TgZ(0,"grid",1)(1,"side-panel",2),x.YNc(2,ta,5,2,"ng-template",null,3,x.W1O),x.YNc(4,Pi,5,9,"ng-template",null,4,x.W1O),x.qZA(),x.TgZ(6,"columns")(7,"column",5),x.YNc(8,bs,9,6,"ng-template",null,6,x.W1O),x.qZA(),x._UZ(10,"column",7),x.qZA()()),2&On){const Pt=x.MAs(3),ln=x.MAs(5),Yt=x.MAs(9),li=x.oxw();x.Q6J("items",li.items)("form",li.form)("title",li.isModal?"":li.title)("orderBy",li.orderBy)("groupBy",li.groupBy)("join",li.join)("selectable",!0)("load",li.loadTemplate.bind(li))("remove",li.removeTemplate.bind(li))("save",li.saveTemplate.bind(li))("hasAdd",!1)("hasEdit",!1)("hasDelete",!1),x.xp6(1),x.Q6J("size",8)("template",Pt)("editTemplate",ln),x.xp6(6),x.Q6J("template",Yt),x.xp6(3),x.Q6J("dynamicButtons",li.dynamicButtons.bind(li))}}let Ms=(()=>{class On extends F.D{set entity(Pt){super.entity=Pt}get entity(){return super.entity}set source(Pt){this._source!=Pt&&(this._source=Pt,this.items=this.templateService.buildItems(this.source,this.entity?.notificacoes_templates||[],this.entity?.notificacoes?.nao_notificar),this.cdRef.detectChanges())}get source(){return this._source}constructor(Pt){super(Pt),this.injector=Pt,this.items=[],this._source=[],this.cdRef=Pt.get(x.sBO),this.dao=Pt.get(wt.w),this.templateService=Pt.get(J.E),this.code="MOD_NOTF_TEMP",this.form=this.fh.FormBuilder({codigo:{default:""},titulo:{default:""},conteudo:{default:""}})}dynamicButtons(Pt){let ln=[],Yt=this.unidadeId?.length&&this.unidadeId==Pt.unidade_id||this.entidadeId?.length&&this.entidadeId==Pt.entidade_id;return(this.unidadeId?.length||this.entidadeId?.length)&&ln.push({hint:"Alterar",icon:"bi bi-pencil-square",color:"btn-outline-info",onClick:this.grid?.onEditItem.bind(this.grid)}),Yt&&ln.push({hint:"Limpar",icon:"bi bi-x-circle",color:"btn-outline-danger",onClick:this.grid?.onDeleteItem.bind(this.grid)}),ln}loadTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){Yt.dataset=yield Yt.templateService.dataset("NOTIFICACAO",ln.codigo),Pt.controls.codigo.setValue(ln.codigo),Pt.controls.titulo.setValue(ln.titulo),Pt.controls.conteudo.setValue(ln.conteudo),Yt.cdRef.detectChanges()})()}removeTemplate(Pt){var ln=this;return(0,b.Z)(function*(){let Yt=ln.entity.notificacoes_templates?.find(li=>li.id==Pt.id);return Yt&&(Yt._status="DELETE",ln.items=ln.templateService.buildItems(ln.source,ln.entity.notificacoes_templates||[],ln.entity?.notificacoes?.nao_notificar),ln.cdRef.detectChanges()),!1})()}onNotificarChange(Pt){Pt._metadata?.notificar||this.entity?.notificacoes?.nao_notificar?.includes(Pt.codigo)?Pt._metadata?.notificar&&this.entity?.notificacoes?.nao_notificar?.includes(Pt.codigo)&&this.entity?.notificacoes?.nao_notificar?.splice(this.entity?.notificacoes?.nao_notificar?.indexOf(Pt.codigo),1):this.entity?.notificacoes?.nao_notificar?.push(Pt.codigo)}saveTemplate(Pt,ln){var Yt=this;return(0,b.Z)(function*(){if(Yt.form.markAllAsTouched(),Yt.form.valid)if(Yt.unidadeId?.length&&Yt.unidadeId==ln.unidade_id||Yt.entidadeId?.length&&Yt.entidadeId==ln.entidade_id)ln.codigo=Pt.controls.codigo.value,ln.titulo=Pt.controls.titulo.value,ln.conteudo=Pt.controls.conteudo.value,ln.dataset=Yt.dataset,ln._status="ADD"==ln._status?"ADD":"EDIT";else{let Sr=new Se.Y({id:Yt.dao.generateUuid(),codigo:Pt.controls.codigo.value,titulo:Pt.controls.titulo.value,conteudo:Pt.controls.conteudo.value,dataset:Yt.dataset,especie:"NOTIFICACAO",entidade_id:Yt.entidadeId||null,unidade_id:Yt.unidadeId||null,_status:"ADD",_metadata:{notificar:!0}});Yt.entity.notificacoes_templates=Yt.entity.notificacoes_templates||[],Yt.entity.notificacoes_templates.push(Sr),Yt.entity.notificacoes?.nao_notificar?.includes(Sr.codigo)&&Yt.entity.notificacoes?.nao_notificar?.splice(Yt.entity.notificacoes?.nao_notificar?.indexOf(Sr.codigo),1),Yt.items=Yt.templateService.buildItems(Yt.source,Yt.entity.notificacoes_templates||[],Yt.entity?.notificacoes?.nao_notificar),Yt.cdRef.detectChanges()}})()}static#e=this.\u0275fac=function(ln){return new(ln||On)(x.Y36(x.zs3))};static#t=this.\u0275cmp=x.Xpm({type:On,selectors:[["notificacoes-template"]],viewQuery:function(ln,Yt){if(1&ln&&x.Gf(K.M,5),2&ln){let li;x.iGM(li=x.CRH())&&(Yt.grid=li.first)}},inputs:{cdRef:"cdRef",entity:"entity",entidadeId:"entidadeId",unidadeId:"unidadeId",source:"source"},features:[x.qOj],decls:1,vars:1,consts:[["editable","",3,"items","form","title","orderBy","groupBy","join","selectable","load","remove","save","hasAdd","hasEdit","hasDelete",4,"ngIf"],["editable","",3,"items","form","title","orderBy","groupBy","join","selectable","load","remove","save","hasAdd","hasEdit","hasDelete"],["fullSizeOnEdit","",3,"size","template","editTemplate"],["panelTemplate",""],["panelTemplateEdit",""],["title","Template",3,"template"],["columnTemplate",""],["type","options","always","",3,"dynamicButtons"],[1,"h-100","ps-3","contentTemplte"],[1,"pt-3","m-0"],["emptyDocumentMensage","Nenhum template selecionado",3,"html"],[1,"row"],["label","C\xf3digo",3,"size","control"],["label","T\xedtulo",3,"size","control"],["label","Preview do template",3,"size","dataset","control"],[1,"col-md-2"],["scale","small","path","notificar",3,"size","source","change"],[1,"col-md-10"],["color","light","icon","bi bi-tag",3,"label",4,"ngIf"],["color","primary",3,"icon","label",4,"ngIf"],["color","success",3,"icon","label",4,"ngIf"],["color","light","icon","bi bi-tag",3,"label"],["color","primary",3,"icon","label"],["color","success",3,"icon","label"]],template:function(ln,Yt){1&ln&&x.YNc(0,Do,11,18,"grid",0),2&ln&&x.Q6J("ngIf",Yt.viewInit)},dependencies:[i.O5,K.M,ae.a,oe.b,hn.a,H.m,gt.F,Ze.G,Je.h,tt.a],styles:[".contentTemplte[_ngcontent-%COMP%]{border-left:1px solid #e3e3e3}"]})}return On})(),Ls=(()=>{class On{static#e=this.\u0275fac=function(ln){return new(ln||On)};static#t=this.\u0275mod=x.oAB({type:On});static#n=this.\u0275inj=x.cJS({imports:[i.ez,t.K,Qt]})}return On})();x.B6R(ki.y,[i.O5,N.Q,hn.a,xe.N,Ms],[])},2314:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>b});var i=m(1209),t=m(453),A=m(5545),a=m(1547),y=m(2307),C=m(755);let b=(()=>{class N{get gb(){return this._gb=this._gb||this.injector.get(a.d),this._gb}get go(){return this._go=this._go||this.injector.get(y.o),this._go}get dialog(){return this._dialog=this._dialog||this.injector.get(A.x),this._dialog}constructor(F){this.injector=F}resolve(F,x){let H=(0,i.of)(!0),k=!1;return F.queryParams?.idroute?.length&&(!this.go.first&&(F.data.modal&&this.gb.useModals||F.queryParams?.modal)&&(this.dialog.modal(F),k=!0,H=t.E),this.go.config(F.queryParams?.idroute,{title:F.data.title,modal:k,path:F.pathFromRoot.map(P=>P.routeConfig?.path||"").join("/")})),H}static#e=this.\u0275fac=function(x){return new(x||N)(C.LFG(C.zs3))};static#t=this.\u0275prov=C.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},7457:(lt,_e,m)=>{"use strict";m.d(_e,{r:()=>A});var i=m(1454),t=m(755);let A=(()=>{class a{get server(){return this._server=this._server||this.injector.get(i.N),this._server}constructor(C){this.injector=C}isAuthenticated(){return this.server.get("api/panel-login-check").toPromise().then(C=>{if(C&&void 0!==C.authenticated)return C.authenticated;throw new Error("Resposta inv\xe1lida do servidor")}).catch(C=>(console.error("Erro ao verificar autentica\xe7\xe3o:",C),!1))}loginPanel(C,b){return this.server.post("api/panel-login",{email:C,password:b}).toPromise().then(N=>N)}detailUser(){return this.server.get("api/panel-login-detail").toPromise().then(C=>{if(C)return C;throw new Error("Resposta inv\xe1lida do servidor")}).catch(C=>(console.error("Erro ao verificar autentica\xe7\xe3o:",C),!1))}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},2333:(lt,_e,m)=>{"use strict";m.d(_e,{e:()=>V});var i=m(8239),t=m(3937),A=m(6898),a=m(5545),y=m(1547),C=m(504),b=m(2307),N=m(1454),j=m(2866),F=m.n(j),x=m(5579),H=m(6551),k=m(5908),P=m(9193),X=m(5255),me=m(2469),Oe=m(1214),Se=m(2067),wt=m(609),K=m(755);let V=(()=>{class J{get logging(){return this._logging}set logging(oe){oe!=this._logging&&(this._logging=oe,this.gb.isEmbedded||(oe?this.dialogs.showSppinerOverlay("Logando . . .",6e4):this.dialogs.closeSppinerOverlay()))}set apiToken(oe){this._apiToken=oe}get apiToken(){return typeof MD_MULTIAGENCIA_PETRVS_SESSION_TOKEN<"u"?MD_MULTIAGENCIA_PETRVS_SESSION_TOKEN:this._apiToken}get server(){return this._server=this._server||this.injector.get(N.N),this._server}get lex(){return this._lex=this._lex||this.injector.get(k.E),this._lex}get gb(){return this._gb=this._gb||this.injector.get(y.d),this._gb}get util(){return this._util=this._util||this.injector.get(P.f),this._util}get go(){return this._go=this._go||this.injector.get(b.o),this._go}get googleApi(){return this._googleApi=this._googleApi||this.injector.get(C.q),this._googleApi}get dialogs(){return this._dialogs=this._dialogs||this.injector.get(a.x),this._dialogs}get route(){return this._route=this._route||this.injector.get(x.gz),this._route}get calendar(){return this._calendar=this._calendar||this.injector.get(H.o),this._calendar}get usuarioDao(){return this._usuarioDao=this._usuarioDao||this.injector.get(X.q),this._usuarioDao}get unidadeDao(){return this._unidadeDao=this._unidadeDao||this.injector.get(Oe.J),this._unidadeDao}get notificacao(){return this._notificacao=this._notificacao||this.injector.get(Se.r),this._notificacao}get unidadeService(){return this._unidade=this._unidade||this.injector.get(wt.Z),this._unidade}set usuarioConfig(oe){this.updateUsuarioConfig(this.usuario.id,oe)}get usuarioConfig(){const oe=new A.x;return this.util.assign(oe,this.usuario?.config||{})}constructor(oe){this.injector=oe,this.logged=!1,this.capacidades=[],this._apiToken=void 0,this._logging=!1}success(oe,ye){this.app.go.navigate(ye||{route:this.app.gb.initialRoute})}fail(oe){this.app.go.navigate({route:["login"],params:{error:oe?.error||oe?.message||oe}})}leave(){this.app.go.navigate({route:["login"]})}get unidadeHora(){return F()(this.hora).format("HH:mm")}get hora(){let oe=new Date;if(this.unidade?.cidade){const ye=this.gb.horarioDelta.servidor.getTime()-this.gb.horarioDelta.local.getTime(),Ee=60*(this.unidade.cidade.timezone+Math.abs(this.unidade.cidade.timezone))*60*1e3;oe.setTime(oe.getTime()+Ee+ye)}return oe}registerPopupLoginResultListener(){window.addEventListener("message",oe=>{"COMPLETAR_LOGIN"==oe?.data&&(this.dialogs.closeSppinerOverlay(),this.authSession().then(ye=>{ye&&this.success(this.usuario,{route:["home"]})}))},!1)}updateUsuarioConfig(oe,ye){return this.usuario?.id==oe&&(this.usuario.config=this.util.assign(this.usuario.config,ye)),this.usuarioDao.updateJson(oe,"config",ye)}updateUsuarioNotificacoes(oe,ye){return this.usuario?.id==oe&&(this.usuario.notificacoes=this.util.assign(this.usuario.notificacoes,ye)),this.usuarioDao.updateJson(oe,"notificacoes",ye)}registerEntity(oe){oe?(this.entidade=Object.assign(new me.H,oe),this.lex.loadVocabulary(this.entidade.nomenclatura||[])):this.entidade=void 0}registerUser(oe,ye){if(oe){let Ee=[];this.usuario=Object.assign(new A.b,oe),this.capacidades=this.usuario?.perfil?.capacidades?.filter(Ge=>null==Ge.deleted_at).map(Ge=>Ge.tipo_capacidade?.codigo||"")||[],this.kind=this.kind,this.logged=!0,this.unidades=this.usuario?.areas_trabalho?.map(Ge=>Ge.unidade)||[],this.unidade=this.usuario?.config.unidade_id&&this.unidades.find(Ge=>Ge.id===this.usuario?.config.unidade_id)?this.unidades.find(Ge=>Ge.id===this.usuario?.config.unidade_id):this.usuario?.areas_trabalho?.find(Ge=>Ge.atribuicoes?.find(gt=>"LOTADO"==gt.atribuicao))?.unidade,this.unidade&&this.calendar.loadFeriadosCadastrados(this.unidade.id),ye?.length&&localStorage.setItem("petrvs_api_token",ye),this.hasPermissionTo("CTXT_GEST")&&Ee.push("GESTAO"),this.hasPermissionTo("CTXT_EXEC")&&Ee.push("EXECUCAO"),this.hasPermissionTo("CTXT_DEV")&&Ee.push("DEV"),this.hasPermissionTo("CTXT_ADM")&&Ee.push("ADMINISTRADOR"),this.hasPermissionTo("CTXT_RX")&&Ee.push("RAIOX"),Ee.includes(this.usuario?.config.menu_contexto)||(this.gb.contexto=this.app?.menuContexto.find(Ge=>Ge.key===this.usuario?.config.menu_contexto)),this.gb.setContexto(Ee[0]),this.notificacao.updateNaoLidas()}else this.usuario=void 0,this.kind=void 0,this.logged=!1,this.unidades=void 0;this.logging=!1}hasPermissionTo(oe){const ye="string"==typeof oe?[oe]:oe;for(let Ee of ye)if("string"==typeof Ee&&this.capacidades.includes(Ee)||Array.isArray(Ee)&&Ee.reduce((Ge,gt)=>Ge&&this.capacidades.includes(gt),!0))return!0;return!1}get routerTo(){let oe=this.route.snapshot?.queryParams?.redirectTo?JSON.parse(this.route.snapshot?.queryParams?.redirectTo):{route:this.gb.initialRoute};return"login"==oe.route[0]&&(oe={route:this.gb.initialRoute}),oe}authAzure(){this.dialogs.showSppinerOverlay("Logando...",3e5),this.go.openPopup(this.gb.servidorURL+"/web/login-azure-redirect?entidade="+encodeURI(this.gb.ENTIDADE))}authLoginUnicoBackEnd(){this.dialogs.showSppinerOverlay("Logando...",3e5),this.go.openPopup(this.gb.servidorURL+"/web/login-govbr-redirect?entidade="+encodeURI(this.gb.ENTIDADE))}authUserPassword(oe,ye,Ee){return this.logIn("USERPASSWORD","login-user-password",{entidade:this.gb.ENTIDADE,email:oe,password:ye},Ee)}authDprfSeguranca(oe,ye,Ee,Ge){return this.logIn("DPRFSEGURANCA","login-institucional",{entidade:this.gb.ENTIDADE,cpf:oe,senha:ye,token:Ee},Ge)}authGoogle(oe,ye){return this.logIn("GOOGLE","login-google-token",{entidade:this.gb.ENTIDADE,token:oe},ye)}authLoginUnico(oe,ye,Ee){return this.logIn("LOGINUNICO","login-unico",{entidade:this.gb.ENTIDADE,code:oe,state:ye},Ee)}authSession(){return this._apiToken=localStorage.getItem("petrvs_api_token")||void 0,this.logIn("SESSION","login-session",{})}logIn(oe,ye,Ee,Ge){let gt=this.gb.isExtension?"EXTENSION":this.gb.isSeiModule?"SEI":"BROWSER",Ze=()=>this.server.post((this.gb.isEmbedded?"api/":"web/")+ye,{...Ee,device_name:gt}).toPromise().then(Je=>{if(Je?.error)throw new Error(Je?.error);return this.kind=Je?.kind||oe,this.apiToken=Je.token,this.registerEntity(Je.entidade),this.registerUser(Je.usuario,this.apiToken),this.app?.setMenuVars(),Je.horario_servidor?.length&&(this.gb.horarioDelta.servidor=P.f.iso8601ToDate(Je.horario_servidor),this.gb.horarioDelta.local=new Date),this.success&&"SESSION"!=oe&&this.success(this.usuario,Ge),this.gb.refresh&&this.gb.refresh(),!0}).catch(Je=>(this.registerUser(void 0),this.fail&&"SESSION"!=oe&&this.fail(Je?.message||Je?.error||Je.toString()),this.gb.refresh&&this.gb.refresh(),!1));return this.logging=!0,this.gb.isEmbedded?Ze():this.server.get("sanctum/csrf-cookie").toPromise().then(Ze)}logOut(){var oe=this;return(0,i.Z)(function*(){try{oe.logging=!0,yield oe.server.get((oe.gb.isEmbedded?"api/":"web/")+"logout").toPromise();const ye=()=>{localStorage.removeItem("petrvs_api_token"),oe.registerUser(void 0),oe.leave&&oe.leave(),oe.gb.refresh&&oe.gb.refresh()};oe.gb.hasGoogleLogin&&oe.gb.loginGoogleClientId?.length&&"GOOGLE"==oe.kind&&(yield oe.googleApi.initialize(),yield oe.googleApi.signOut()),ye(),oe.logging=!1}catch(ye){console.error("Ocorreu um erro durante o logout:",ye)}finally{oe.logging=!1}})()}selecionaUnidade(oe,ye){return this.unidades?.find(Ee=>Ee.id==oe)?(this.unidade=void 0,ye?.detectChanges(),this.server.post("api/seleciona-unidade",{unidade_id:oe}).toPromise().then(Ee=>(Ee?.unidade&&(this.unidade=Object.assign(new t.b,Ee?.unidade),this.calendar.loadFeriadosCadastrados(this.unidade.id),this.unidade.entidade&&this.lex.loadVocabulary(this.unidade.entidade.nomenclatura||[])),ye?.detectChanges(),this.unidade)).catch(Ee=>{this.dialogs.alert("Erro","N\xe3o foi poss\xedvel selecionar a unidade!")})):Promise.resolve(void 0)}hasLotacao(oe){return this.usuario.areas_trabalho?.find(ye=>ye.unidade_id==oe)}isGestorAlgumaAreaTrabalho(oe=!0){return!!this.unidades?.filter(ye=>this.unidadeService.isGestorUnidade(ye,oe)).length}unidadeGestor(){return this.unidades?.find(oe=>this.unidadeService.isGestorUnidade(oe))}get lotacao(){return this.usuario?.areas_trabalho?.find(oe=>oe.atribuicoes?.find(ye=>"LOTADO"==ye.atribuicao))?.unidade}get gestoresLotacao(){let oe=this.lotacao,ye=[];return oe?.gestor?.usuario&&ye.push(oe?.gestor?.usuario),oe?.gestores_substitutos.length&&(oe?.gestores_substitutos.map(Ee=>Ee.usuario)).forEach(Ee=>ye.push(Ee)),ye}isLotacaoUsuario(oe=null){let ye=oe||this.unidade;return this.usuario?.areas_trabalho?.find(Ge=>Ge.atribuicoes?.find(gt=>"LOTADO"==gt.atribuicao))?.unidade?.id==ye.id}isIntegrante(oe,ye){let Ee=this.usuario?.unidades_integrantes?.find(Ge=>Ge.unidade_id==ye);return!!Ee&&Ee.atribuicoes.map(Ge=>Ge.atribuicao).includes(oe)}isLotadoNaLinhaAscendente(oe){let ye=!1;return this.usuario.areas_trabalho?.map(Ee=>Ee.unidade_id).forEach(Ee=>{oe.path.split("/").slice(1).includes(Ee)&&(ye=!0)}),ye}isGestorLinhaAscendente(oe){let ye=!1,Ee=this.usuario?.gerencias_substitutas?.map(Ze=>Ze.unidade_id)||[],gt=[...this.usuario?.gerencias_delegadas?.map(Ze=>Ze.unidade_id)||[],...Ee];return this.usuario?.gerencia_titular?.unidade?.id&>.push(this.usuario?.gerencia_titular.unidade_id),gt.forEach(Ze=>{oe.path&&oe.path.split("/").slice(1).includes(Ze)&&(ye=!0)}),!1}loginPanel(oe,ye){return this.server.post("api/panel-login",{user:oe,password:ye}).toPromise().then(Ee=>Ee)}static#e=this.\u0275fac=function(ye){return new(ye||J)(K.LFG(K.zs3))};static#t=this.\u0275prov=K.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})()},6551:(lt,_e,m)=>{"use strict";m.d(_e,{o:()=>F});var i=m(2866),t=m.n(i),A=m(2559),a=m(2333),y=m(1547),C=m(9702),b=m(1454),N=m(9193),j=m(755);let F=(()=>{class x{get gb(){return this._gb=this._gb||this.injector.get(y.d),this._gb}get server(){return this._server=this._server||this.injector.get(b.N),this._server}get util(){return this._util=this._util||this.injector.get(N.f),this._util}get auth(){return this._auth=this._auth||this.injector.get(a.e),this._auth}get lookup(){return this._lookup=this._lookup||this.injector.get(C.W),this._lookup}constructor(k){this.injector=k,this.feriadosCadastrados={},this.feriadosReligiosos={}}easter(k=void 0){const P=(k=k||(new Date).getFullYear())%19,X=Math.floor(k/100),me=(X-Math.floor(X/4)-Math.floor((8*X+13)/25)+19*P+15)%30,Oe=me-Math.floor(me/28)*(1-Math.floor(29/(me+1))*Math.floor((21-P)/11)),wt=Oe-(k+Math.floor(k/4)+Oe+2-X+Math.floor(X/4))%7,K=3+Math.floor((wt+40)/44),V=wt+28-31*Math.floor(K/4);return new Date(k,K,V,0,0,0,0)}loadFeriadosReligiosos(k){const P=this.easter(k),X=P.getDate(),me=P.getMonth()-1,Oe=P.getFullYear();let Se={};return Se[t()(new Date(Oe,me,X-48,0,0,0,0)).format("YYYY-MM-DD")]="2\xaa-feira Carnaval",Se[t()(new Date(Oe,me,X-47,0,0,0,0)).format("YYYY-MM-DD")]="3\xaa-feira Carnaval",Se[t()(new Date(Oe,me,X-2,0,0,0,0)).format("YYYY-MM-DD")]="6\xaa-feira Santa",Se[t()(new Date(Oe,me,X,0,0,0,0)).format("YYYY-MM-DD")]="P\xe1scoa",Se[t()(new Date(Oe,me,X+60,0,0,0,0)).format("YYYY-MM-DD")]="Corpus Christi",Se}loadFeriadosCadastrados(k){return new Promise((P,X)=>{this.feriadosCadastrados[k]?P(this.feriadosCadastrados[k]):this.server.post("api/Calendario/feriados-cadastrados",{unidade_id:k}).subscribe(me=>{this.feriadosCadastrados[k]=me.feriados,P(this.feriadosCadastrados[k])},me=>X(me))})}produtividade(k,P){return Math.round(k/P*1e4)/100}isFeriadoCadastrado(k,P){let X=P.id?this.feriadosCadastrados[P.id]:P;if(X){const me=t()(k).format("YYYY-MM-DD");return X[me]||X["0000"+me.substr(-6)]}throw new Error("Lista de feriados da unidade n\xe3o carregada no sistema.")}isFeriadoReligioso(k){const P=t()(k).format("YYYY-MM-DD"),X=k.getFullYear().toString();return this.feriadosReligiosos[X]||(this.feriadosReligiosos[X]=this.loadFeriadosReligiosos(k.getFullYear())),this.feriadosReligiosos[X][P]}isFinalSemana(k){return 6==k.getDay()?"S\xe1bado":0==k.getDay()?"Domingo":void 0}nestedExpediente(k){return k.expediente||k.entidade?.expediente||this.auth.entidade?.expediente||new A.z}expedienteMedio(k){if(k){const P=(Oe,Se)=>Oe+(this.util.getStrTimeHours(Se.fim)-this.util.getStrTimeHours(Se.inicio));let X=this.nestedExpediente(k),me=[X.domingo.reduce(P,0),X.segunda.reduce(P,0),X.terca.reduce(P,0),X.quarta.reduce(P,0),X.quinta.reduce(P,0),X.sexta.reduce(P,0),X.sabado.reduce(P,0),X.domingo.reduce(P,0)].filter(Oe=>Oe>0);return me.reduce((Oe,Se)=>Oe+Se,0)/me.length}return 24}prazo(k,P,X,me,Oe){const Se=this.feriadosCadastrados[me.id]||[],wt="DISTRIBUICAO"==Oe?me.distribuicao_forma_contagem_prazos:me.entrega_forma_contagem_prazos,K=this.nestedExpediente(me);return this.calculaDataTempo(k,P,wt,X,K,Se).fim}horasUteis(k,P,X,me,Oe,Se,wt){const K=this.feriadosCadastrados[me.id]||[],V="DISTRIBUICAO"==Oe?me.distribuicao_forma_contagem_prazos:me.entrega_forma_contagem_prazos,J=this.nestedExpediente(me);return this.util.round(this.calculaDataTempo(k,P,V,X,J,K,Se,wt).tempoUtil,2)}horasAtraso(k,P){return this.util.round(this.calculaDataTempo(k,this.auth.hora,"HORAS_CORRIDAS",24).tempoUtil,2)}horasAdiantado(k,P,X,me){const Oe=this.nestedExpediente(me);return this.util.round(this.calculaDataTempo(k,P,me.entrega_forma_contagem_prazos,X,Oe).tempoUtil,2)}calculaDataTempoUnidade(k,P,X,me,Oe,Se,wt){let K=this.feriadosCadastrados[me.id]||[];K.length||(this.loadFeriadosCadastrados(me.id),K=this.feriadosCadastrados[me.id]||[]);const V="DISTRIBUICAO"==Oe?me.distribuicao_forma_contagem_prazos:me.entrega_forma_contagem_prazos,J=this.nestedExpediente(me);return this.calculaDataTempo(k,P,V,X,J,K,Se,wt)}calculaDataTempo(k,P,X,me,Oe,Se,wt,K){const V="DIAS_CORRIDOS"==X||"HORAS_CORRIDAS"==X,J="DIAS_CORRIDOS"==X||"DIAS_UTEIS"==X,ae="number"==typeof P,oe=this.util.daystamp(k),ye=ae?oe:this.util.daystamp(P);if(!Oe&&!V)throw new Error("Expediente n\xe3o informado");Oe=V?void 0:Oe;const Ee=(Qe,pt)=>{let Nt=[];for(let Jt of K||[]){const nt=this.util.intersection([{start:Qe,end:pt},{start:Jt.data_inicio.getTime(),end:Jt.data_fim.getTime()}]);nt&&nt.start!=nt.end&&(Nt.push(nt),tt.afastamentos.includes(Jt)||tt.afastamentos.push(Jt))}return Nt},Ge=(Qe,pt)=>{let Nt=[];for(let Jt of wt||[]){const nt=this.util.intersection([{start:Qe,end:pt},{start:Jt.data_inicio.getTime(),end:Jt.data_fim?.getTime()||pt}]);nt&&(Nt.push(nt),tt.pausas.includes(Jt)||tt.pausas.push(Jt))}return Nt},gt=(Qe,pt)=>{const Nt=this.lookup.getCode(this.lookup.DIA_SEMANA,Je.getDay()),Jt=this.lookup.getValue(this.lookup.DIA_SEMANA,Je.getDay()),nt=this.util.setStrTime(Je,Qe||"00:00").getTime(),ot=this.util.setStrTime(Je,pt||"24:00").getTime();let Ct={diaSemana:Nt,diaLiteral:Jt,tInicio:nt,tFim:ot,hExpediente:this.util.getHoursBetween(nt,ot),intervalos:[]};if(Oe){const He=t()(Je).format("YYYY-MM-DD"),mt=Oe.especial.filter(hn=>t()(hn.data).format("YYYY-MM-DD")==He),vt=[...Oe[Nt],...mt.filter(hn=>!hn.sem)].sort((hn,yt)=>this.util.getStrTimeHours(hn.inicio)-this.util.getStrTimeHours(yt.inicio));if(tt.expediente[Nt]=Oe[Nt],tt.expediente.especial.push(...mt),vt.length){let hn;Ct.tInicio=Math.max(nt,this.util.setStrTime(Je,vt[0].inicio).getTime()),Ct.tFim=Math.min(ot,Math.max(this.util.setStrTime(Je,vt[0].fim).getTime(),Ct.tInicio));for(let yt of vt){const Fn=this.util.setStrTime(Je,yt.inicio).getTime(),xn=this.util.setStrTime(Je,yt.fim).getTime();nt!!yt.sem).forEach(yt=>Ct.intervalos.push({start:this.util.setStrTime(Je,yt.inicio).getTime(),end:this.util.setStrTime(Je,yt.fim).getTime()})),Ct.intervalos=this.util.union(Ct.intervalos),Ct.intervalos=Ct.intervalos.filter(yt=>yt.start<=Ct.tFim&&yt.end>=Ct.tInicio).map(yt=>Object.assign(yt,{start:Math.max(yt.start,Ct.tInicio),end:Math.min(yt.end,Ct.tFim)}))}else Ct.tInicio=0,Ct.tFim=0,Ct.hExpediente=0}return Ct};let Ze=ae?P:0,Je=new Date(k.getTime()),tt={resultado:ae?"DATA":"TEMPO",dias_corridos:0,inicio:k,fim:ae?new Date(k.getTime()):P,tempoUtil:ae?P:0,forma:X,horasNaoUteis:0,cargaHoraria:me||24,expediente:new A.z,afastamentos:[],pausas:[],feriados:{},diasNaoUteis:{},diasDetalhes:[]};for(me="HORAS_CORRIDAS"==X?24:tt.cargaHoraria;ae?this.util.round(Ze,2)>0:this.util.daystamp(Je)<=ye;){const Qe=this.util.daystamp(Je)==oe,pt=this.util.daystamp(Je)==ye,Nt=t()(Je).format("YYYY-MM-DD"),ot=gt(J||!Qe?void 0:this.util.getTimeFormatted(k),J||!pt||ae?void 0:this.util.getTimeFormatted(P)),Ct=Ee(ot.tInicio,ot.tFim),He=Ge(ot.tInicio,ot.tFim),mt=V?void 0:this.isFeriadoCadastrado(Je,Se||{}),vt=V?void 0:this.isFeriadoReligioso(Je);V||(mt&&(tt.feriados[Nt]=mt),vt&&(tt.feriados[Nt]=vt));const hn=V?[]:this.util.union([...Ct,...He,...ot.intervalos]),yt=hn.reduce((xn,In)=>xn+this.util.getHoursBetween(In.start,In.end),0),Fn=V||!mt&&!vt&&ot.hExpediente>yt;if(Fn||(tt.diasNaoUteis[Nt]=[ot.diaLiteral,mt,vt].filter(xn=>xn?.length).join(", ")),J)Fn&&(V||!Ct.length&&!He.length)?ae?(Ze-=me,tt.fim=new Date(ot.tFim)):tt.tempoUtil+=me:tt.horasNaoUteis+=me;else if(Fn){let xn=Math.min(ot.hExpediente-yt,me,ae?Ze:24);if(xn)if(ae){Ze-=xn;const In=hn.reduce((dn,qn)=>{const di=this.util.getHoursBetween(dn,qn.start);return di{"use strict";m.d(_e,{K:()=>C});var i=m(1597),t=m(755),A=m(9193),a=m(2333),y=m(4971);let C=(()=>{class b{constructor(j,F,x){this.util=j,this.auth=F,this.dao=x}comentarioLevel(j){return(j.path||"").split("").filter(F=>"/"==F)}orderComentarios(j){return j?.sort((x,H)=>{if(x.path=x.path||"",H.path=H.path||"",x.path==H.path)return x.data_comentario.getTime()Se.id==(k[X.length]||x.id)&&Se.id!=H.id)||x).data_comentario.getTime(),Oe=(j.find(Se=>Se.id==(P[X.length]||H.id)&&Se.id!=x.id)||H).data_comentario.getTime();return me==Oe?0:me{"use strict";m.d(_e,{x:()=>K});var i=m(755),t=m(1547),A=m(2307),a=m(9193),y=m(6733),C=m(3705);const b=["body"];function N(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"i",13),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw();return i.KtG(ye.openNewBrowserTab())}),i.qZA()}}function j(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"button",14),i.NdJ("click",function(){i.CHM(ae);const ye=i.oxw();return i.KtG(ye.minimize())}),i.qZA()}}function F(V,J){if(1&V&&i._UZ(0,"document-preview",15),2&V){const ae=i.oxw();i.Q6J("html",ae.html)}}function x(V,J){}function H(V,J){if(1&V&&i.GkF(0,16),2&V){const ae=i.oxw();i.Q6J("ngTemplateOutlet",ae.template)("ngTemplateOutletContext",ae.templateContext)}}function k(V,J){if(1&V&&i._UZ(0,"i"),2&V){const ae=i.oxw().$implicit;i.Tol(ae.icon)}}function P(V,J){if(1&V){const ae=i.EpF();i.TgZ(0,"button",19),i.NdJ("click",function(){const Ee=i.CHM(ae).$implicit,Ge=i.oxw(2);return i.KtG(Ge.buttonClick(Ee))}),i.YNc(1,k,1,2,"i",20),i._uU(2),i.qZA()}if(2&V){const ae=J.$implicit;i.Tol("btn "+(ae.color||"btn-primary")),i.xp6(1),i.Q6J("ngIf",ae.icon),i.xp6(1),i.hij(" ",ae.label," ")}}function X(V,J){if(1&V&&(i.TgZ(0,"div",17),i.YNc(1,P,3,4,"button",18),i.qZA()),2&V){const ae=i.oxw();i.xp6(1),i.Q6J("ngForOf",ae.buttons)}}let me=(()=>{class V{set message(ae){this._message!=ae&&(this._message=ae,this.cdRef.detectChanges())}get message(){return this._message}set title(ae){this._title!=ae&&(this._title=ae,this.cdRef.detectChanges())}get title(){return this._title}get factory(){return this._factory=this._factory||this.injector.get(i._Vd),this._factory}get cdRef(){return this._cdRef=this._cdRef||this.injector.get(i.sBO),this._cdRef}get go(){return this._go=this._go||this.injector.get(A.o),this._go}get gb(){return this._gb=this._gb||this.injector.get(t.d),this._gb}constructor(ae){this.injector=ae,this.onClose=new i.vpe,this.onButtonClick=new i.vpe,this.buttons=[],this.modalWidth=500,this.minimized=!1,this._title="",this._message="",this.id="dialog"+(new Date).getTime()}ngOnInit(){}minimize(){this.minimized=!0,this.dialogs?.minimized.push(this),this.gb.refresh&&this.gb.refresh(),this.bootstapModal.hide()}restore(){const ae=this.dialogs.minimized.indexOf(this);ae>=0&&(this.minimized=!1,this.dialogs?.minimized.splice(ae,1),this.gb.refresh&&this.gb.refresh(),this.bootstapModal.show())}get bootstapModal(){if(!this.modal){const ae=document.getElementById(this.id);this.modal=new bootstrap.Modal(ae,{backdrop:"static",keyboard:!1}),ae.addEventListener("hidden.bs.modal",oe=>{this.minimized||this.hide()}),ae.addEventListener("shown.bs.modal",oe=>{const ye=this.modalBodyRef?.instance;ye&&(ye.shown=!0,ye.onShow&&ye?.onShow(),this.cdRef.detectChanges())})}return this.modal}hide(){let ae=this.dialogs.dialogs.findIndex(ye=>ye.id==this.id);ae>=0&&this.dialogs.dialogs.splice(ae,1),this.route&&this.go.back(this.route.queryParams?.idroute),this.onClose&&this.onClose.emit(),this.componentRef?.destroy();const oe=this.componentRef?.instance.modalBodyRef?.instance;oe&&oe.form&&this.dialogs?.modalClosed.next()}ngAfterViewInit(){if(this.route&&this.route.component){const oe=this.factory.resolveComponentFactory(this.route.component);if(this.route.data.title?.length&&(this.title=this.route.data.title),this.modalBodyRef=this.body.createComponent(oe),"modalInterface"in this.modalBodyRef.instance){const ye=this.modalBodyRef.instance;ye.modalRoute=this.route,this.modalWidth=parseInt(this.route.queryParams?.modalWidth||ye.modalWidth),ye.titleSubscriber.subscribe(Ee=>{this.title=Ee,this.cdRef.detectChanges()}),ye.title?.length&&(this.title=ye.title),this.cdRef.detectChanges()}else this.template&&(this.modalWidth=600,this.cdRef.detectChanges())}this.bootstapModal.show(),this.zIndexRefresh()}zIndexRefresh(){document.querySelectorAll(".modal").forEach((ae,oe)=>{ae.style.zIndex=""+1055*(oe+1)}),document.querySelectorAll(".modal-backdrop").forEach((ae,oe)=>{ae.style.zIndex=""+1050*(oe+1)})}show(){this.bootstapModal.show()}close(ae=!0){ae||(this.route=void 0),this.bootstapModal.hide()}buttonClick(ae){this.onButtonClick?.emit(ae)}openNewBrowserTab(){this.go.openNewBrowserTab(this.route)}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:V,selectors:[["app-dialog"]],viewQuery:function(oe,ye){if(1&oe&&i.Gf(b,5,i.s_b),2&oe){let Ee;i.iGM(Ee=i.CRH())&&(ye.body=Ee.first)}},inputs:{message:"message",title:"title"},outputs:{onClose:"onClose",onButtonClick:"onButtonClick"},features:[i._Bn([{provide:"ID_GENERATOR_BASE",useFactory:(ae,oe,ye)=>ye.onlyAlphanumeric(oe.getStackRouteUrl()),deps:[V,A.o,a.f]}])],decls:16,vars:16,consts:[["data-bs-backdrop","static","data-bs-keyboard","false","tabindex","-1","aria-hidden","true","data-bs-focus","false",1,"modal","fade",3,"id"],[1,"modal-dialog"],[1,"modal-content"],[1,"modal-header","hidden-print"],["class","bi bi-box-arrow-up-right me-2","role","button",3,"click",4,"ngIf"],[1,"modal-title","break-title",3,"id"],["type","button","class","btn-close btn-minimize","data-bs-dismiss","modal","aria-label","Minimize",3,"click",4,"ngIf"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body"],["noMargin","",3,"html",4,"ngIf"],["body",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","modal-footer hidden-print",4,"ngIf"],["role","button",1,"bi","bi-box-arrow-up-right","me-2",3,"click"],["type","button","data-bs-dismiss","modal","aria-label","Minimize",1,"btn-close","btn-minimize",3,"click"],["noMargin","",3,"html"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"modal-footer","hidden-print"],["type","button",3,"class","click",4,"ngFor","ngForOf"],["type","button",3,"click"],[3,"class",4,"ngIf"]],template:function(oe,ye){1&oe&&(i.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),i.YNc(4,N,1,0,"i",4),i.TgZ(5,"h5",5),i._uU(6),i.qZA(),i.YNc(7,j,1,0,"button",6),i._UZ(8,"button",7),i.qZA(),i.TgZ(9,"div",8),i.YNc(10,F,1,1,"document-preview",9),i.YNc(11,x,0,0,"ng-template",null,10,i.W1O),i.YNc(13,H,1,2,"ng-container",11),i._uU(14),i.qZA(),i.YNc(15,X,2,1,"div",12),i.qZA()()()),2&oe&&(i.Q6J("id",ye.id),i.uIk("aria-labelledby",ye.id+"Label"),i.xp6(1),i.Udp("max-width",ye.modalWidth,"px"),i.xp6(3),i.Q6J("ngIf",ye.route),i.xp6(1),i.Udp("max-width",ye.modalWidth-100,"px"),i.Q6J("id",ye.id+"Label"),i.xp6(1),i.Oqu(ye.title),i.xp6(1),i.Q6J("ngIf",ye.gb.isToolbar),i.xp6(1),i.ekj("btn-no-left-margin",ye.gb.isEmbedded),i.xp6(2),i.Q6J("ngIf",null==ye.html?null:ye.html.length),i.xp6(3),i.Q6J("ngIf",ye.template),i.xp6(1),i.hij(" ",ye.message," "),i.xp6(1),i.Q6J("ngIf",ye.buttons.length))},dependencies:[y.sg,y.O5,y.tP,C.a],styles:[".btn-minimize[_ngcontent-%COMP%]{background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg viewBox='0 0 16 16' width='16' height='16' fill='%23000' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1.937' y='13.255' width='11.785' height='0.969' style='stroke: rgb(0, 0, 0);'/%3E%3C/svg%3E\")!important}.btn-no-left-margin[_ngcontent-%COMP%]{margin-left:0!important}.break-title[_ngcontent-%COMP%]{word-break:break-all}"]})}return V})(),Oe=(()=>{class V{get cdRef(){return this._cdRef=this._cdRef||this.injector.get(i.sBO),this._cdRef}constructor(ae){this.injector=ae,this.message="",this.show=!1}ngOnInit(){}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.Y36(i.zs3))};static#t=this.\u0275cmp=i.Xpm({type:V,selectors:[["app-spinner-overlay"]],inputs:{message:"message",show:"show"},decls:5,vars:5,consts:[[1,"overlay"],[1,"spanner"],[1,"loader"]],template:function(oe,ye){1&oe&&(i._UZ(0,"div",0),i.TgZ(1,"div",1),i._UZ(2,"div",2),i.TgZ(3,"p"),i._uU(4),i.qZA()()),2&oe&&(i.ekj("show",ye.show),i.xp6(1),i.ekj("show",ye.show),i.xp6(3),i.Oqu(ye.message))},styles:['.spanner[_ngcontent-%COMP%]{position:fixed;left:0;width:100%;display:block;text-align:center;height:300px;color:#fff;top:50%;transform:translateY(-50%);z-index:200000;visibility:hidden}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);visibility:hidden;z-index:199999}.loader[_ngcontent-%COMP%], .loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{border-radius:50%;width:2.5em;height:2.5em;animation-fill-mode:both;animation:_ngcontent-%COMP%_load7 1.8s infinite ease-in-out}.loader[_ngcontent-%COMP%]{color:#fff;font-size:10px;margin:80px auto;position:relative;text-indent:-9999em;transform:translateZ(0);animation-delay:-.16s}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0}.loader[_ngcontent-%COMP%]:before{left:-3.5em;animation-delay:-.32s}.loader[_ngcontent-%COMP%]:after{left:3.5em}@keyframes _ngcontent-%COMP%_load7{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em}}.show[_ngcontent-%COMP%]{visibility:visible}.spanner[_ngcontent-%COMP%], .overlay[_ngcontent-%COMP%]{opacity:0;transition:all .3s}.spanner.show[_ngcontent-%COMP%], .overlay.show[_ngcontent-%COMP%]{opacity:1}']})}return V})();var Se=m(8748);class wt{constructor(J,ae){this.dialog=J,this.result=ae}asPromise(){return this.result}}let K=(()=>{class V{get factory(){return this._factory=this._factory||this.injector.get(i._Vd),this._factory}get utils(){return this._utils=this._utils||this.injector.get(a.f),this._utils}constructor(ae){this.injector=ae,this.dialogs=[],this.minimized=[],this.topAlerts=[],this.modalClosed=new Se.x}createDialogView(){const ae=this.factory.resolveComponentFactory(me),ye=this.container.createComponent(ae);return this.dialogs.push(ye.instance),ye.instance.componentRef=ye,ye.instance.dialogs=this,ye}createSpinnerView(){const ae=this.factory.resolveComponentFactory(Oe);return this.spinnerRef=this.container.createComponent(ae),this.spinnerRef}restore(ae){ae.restore()}topAlert(ae,oe){const ye=this.utils.md5(),Ee=gt=>{const Ze=this.topAlerts.findIndex(Je=>Je.id==gt);Ze>=0&&this.topAlerts.splice(Ze,1),this.cdRef?.detectChanges()};this.topAlerts.push({id:ye,message:ae,closable:oe?void 0:"true",timer:oe,setTimer:oe?setTimeout((()=>{Ee(ye)}).bind(this),oe):void 0,close:Ee.bind(this)})}alert(ae,oe){const Ee=this.createDialogView().instance;return Ee.title=ae,Ee.message=oe,Ee.buttons=[{label:"Ok"}],Ee.cdRef.detectChanges(),this.cdRef?.detectChanges(),new Promise((Ge,gt)=>{Ee.onButtonClick.subscribe(Ze=>{Ee.close(),Ge()})})}confirm(ae,oe,ye){const Ge=this.createDialogView().instance;return Ge.title=ae,Ge.message=oe,Ge.buttons=ye||[{label:"Ok",value:!0,color:"btn-success"},{label:"Cancelar",value:!1,color:"btn-danger"}],Ge.cdRef.detectChanges(),this.cdRef?.detectChanges(),new Promise((gt,Ze)=>{Ge.onButtonClick.subscribe(Je=>{Ge.close(),gt(Je.value)})})}choose(ae,oe,ye){const Ge=this.createDialogView().instance;return Ge.title=ae,Ge.message=oe,Ge.buttons=ye,Ge.cdRef.detectChanges(),this.cdRef?.detectChanges(),new Promise((gt,Ze)=>{Ge.onButtonClick.subscribe(Je=>{Ge.close(),gt(Je)})})}template(ae,oe,ye,Ee){const gt=this.createDialogView().instance;return gt.title=ae.title||"",gt.modalWidth=ae.modalWidth||gt.modalWidth,gt.template=oe,gt.templateContext=Ee,gt.buttons=ye,gt.cdRef.detectChanges(),this.cdRef?.detectChanges(),new wt(gt,new Promise((Ze,Je)=>{gt.onButtonClick.subscribe(tt=>{Ze({button:tt,dialog:gt})})}))}html(ae,oe,ye=[]){const Ge=this.createDialogView().instance;return Ge.title=ae.title||"",Ge.modalWidth=ae.modalWidth||Ge.modalWidth,Ge.html=oe,Ge.buttons=ye,Ge.cdRef.detectChanges(),this.cdRef?.detectChanges(),new wt(Ge,new Promise((gt,Ze)=>{Ge.onButtonClick.subscribe(Je=>{gt({button:Je,dialog:Ge})})}))}modal(ae){this.createDialogView().instance.route=ae}closeAll(){this.dialogs.map(ae=>ae.close()),this.dialogs=[]}detectChanges(){this.dialogs.forEach(ae=>ae.cdRef.detectChanges())}showing(ae){return!!this.dialogs.find(oe=>oe.route?.queryParams?.idroute==ae)}close(ae,oe=!0){(ae?this.dialogs.find(Ee=>Ee.route?.queryParams?.idroute==ae):this.dialogs[this.dialogs.length-1])?.close(oe)}showSppinerOverlay(ae,oe){this.spinnerRef||this.createSpinnerView(),this.spinnerRef.instance.message=ae,this.spinnerRef.instance.show=!0,this.spinnerRef.instance.cdRef.detectChanges(),this.cdRef?.detectChanges(),oe&&(this.sppinerTimeout=setTimeout(()=>{this.closeSppinerOverlay()},oe))}closeSppinerOverlay(){this.spinnerRef&&(this.sppinerTimeout&&clearTimeout(this.sppinerTimeout),this.sppinerTimeout=void 0,this.spinnerRef.instance.show=!1,this.cdRef?.detectChanges())}get sppinerShowing(){return!!this.spinnerRef?.instance.show}static#e=this.\u0275fac=function(oe){return new(oe||V)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})()},1508:(lt,_e,m)=>{"use strict";m.d(_e,{c:()=>Kn});var i=m(4561),t=m(5908),A=m(5255),a=m(1214),y=m(5298),C=m(5316),b=m(9707),N=m(7744),j=m(5213),F=m(2214),x=m(4972),H=m(497),k=m(4166),P=m(2981),X=m(207),me=m(8340),Oe=m(9055),Se=m(6075),wt=m(4002),K=m(361),V=m(9230),J=m(9520),ae=m(6994),oe=m(949),ye=m(5026),Ee=m(1240),Ge=m(7465),gt=m(7909),Ze=m(5458),Je=m(1058),tt=m(9190),Qe=m(1021),pt=m(1042),Nt=m(6976),Jt=m(755);let nt=(()=>{class An extends Nt.B{constructor(Qt){super("ProjetoAlocacao",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["descricao"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),ot=(()=>{class An extends Nt.B{constructor(Qt){super("ProjetoRegra",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Ct=(()=>{class An extends Nt.B{constructor(Qt){super("ProjetoRecurso",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})();var He=m(8325);let mt=(()=>{class An extends Nt.B{constructor(Qt){super("TipoAvaliacaoJustificativa",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})();var vt=m(6150),hn=m(8631),yt=m(7501),Fn=m(8958),xn=m(4317);let In=(()=>{class An extends Nt.B{constructor(Qt){super("Traffic",Qt),this.injector=Qt}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),dn=(()=>{class An extends Nt.B{constructor(Qt){super("AreaConhecimento",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),qn=(()=>{class An extends Nt.B{constructor(Qt){super("TipoCurso",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),di=(()=>{class An extends Nt.B{constructor(Qt){super("CentroTreinamento",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),ir=(()=>{class An extends Nt.B{constructor(Qt){super("Funcao",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Bn=(()=>{class An extends Nt.B{constructor(Qt){super("GrupoEspecializado",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),xi=(()=>{class An extends Nt.B{constructor(Qt){super("PlanoEntregaEntregaObjetivo",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["objetivo.nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),fi=(()=>{class An extends Nt.B{constructor(Qt){super("PlanoEntregaEntregaProcesso",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["processo.nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Mt=(()=>{class An extends Nt.B{constructor(Qt){super("Cargo",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Ot=(()=>{class An extends Nt.B{constructor(Qt){super("AreaAtividadeExterna",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),ve=(()=>{class An extends Nt.B{constructor(Qt){super("AreaTematica",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),De=(()=>{class An extends Nt.B{constructor(Qt){super("CapacidadeTecnica",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})();var xe=m(4971),Ye=m(4539),xt=m(5034);let cn=(()=>{class An extends Nt.B{constructor(Qt){super("Disciplina",Qt),this.injector=Qt,this.inputSearchConfig.searchFields=["sigla","nome"]}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})(),Kn=(()=>{class An{constructor(Qt){this.injector=Qt,this.lex=Qt.get(t.E),this.list=[{collection:"Adesao",icon:"bi bi-universal-access-circle",label:"Ades\xe3o"},{collection:"Afastamento",codigo:"MOD_AFT",table:"afastamentos",campo:"observacoes",icon:"bi bi-toggle-off",dao:Qt.get(i.e),label:"Afastamento",selectRoute:{route:["gestao","afastamento"]}},{collection:"AreaAtividadeExterna",codigo:"MOD_RX_CURR",table:"areas_atividades_externas",campo:"nome",icon:"bi bi-box-arrow-in-down",dao:Qt.get(Ot),label:"\xc1rea Atividade Externa ",selectRoute:{route:["raiox","cadastros","area-atividade-externa"]}},{collection:"AreaConhecimento",codigo:"MOD_RX_CURR",table:"areas_conhecimentos",campo:"nome_area",icon:"bi bi-mortarboard",dao:Qt.get(dn),label:"Area do Conhecimento",selectRoute:{route:["raiox","cadastros","area-conhecimento"]}},{collection:"AreaTematica",codigo:"MOD_RX_CURR",table:"areas_tematicas",campo:"nome",icon:"bi bi-mortarboard",dao:Qt.get(ve),label:"Area do Conhecimento",selectRoute:{route:["raiox","cadastros","area-tematica"]}},{collection:"Atividade",codigo:"MOD_ATV",table:"atividades",campo:"descricao",icon:"bi bi-activity",dao:Qt.get(xe.P),label:"Atividade",selectRoute:{route:["gestao","atividade"]}},{collection:"AtividadeTarefa",table:"atividades_tarefas",campo:"atividade_id",icon:"",dao:Qt.get(oe.n),label:"Tarefa da Atividade"},{collection:"CadeiaValor",codigo:"MOD_CADV",table:"cadeias_valores",campo:"nome",icon:"bi bi-bar-chart-steps",dao:Qt.get(J.m),label:"Cadeia de Valor",selectRoute:{route:["gestao","cadeia-valor"]}},{collection:"CadeiaValorProcesso",table:"cadeias_valores_processos",campo:"nome",icon:"",dao:Qt.get(yt.k),label:"Processo da Cadeia de Valor",selectRoute:{route:["gestao","cadeia-valor","processoList"]}},{collection:"Capacidade",table:"capacidades",campo:"tipo_capacidade_id",icon:"",dao:Qt.get(ae.W),label:"Capacidade"},{collection:"CapacidadeTecnica",codigo:"MOD_RX_CURR",table:"capacidades_tecnicas",campo:"nome",icon:"bi bi-arrows-angle-contract",dao:Qt.get(De),label:"Capacidade T\xe9cnica",selectRoute:{route:["raiox","cadastros","capacidade-tecnica"]}},{collection:"Cargo",codigo:"MOD_RX_CURR",table:"cargos",campo:"nome",icon:"bi bi-person-badge",dao:Qt.get(Mt),label:"Cargo",selectRoute:{route:["raiox","cadastros","cargo"]}},{collection:"Change",table:"changes",campo:"row_id",icon:"bi bi-filter-square",dao:Qt.get(Fn.D),label:"Log de Altera\xe7\xe3o",selectRoute:{route:["logs","change"]}},{collection:"CentroTreinamento",codigo:"MOD_RX_CURR",table:"centros_treinamentos",campo:"nome",icon:"bi bi-building-fill",dao:Qt.get(di),label:"Centro de Treinamento",selectRoute:{route:["raiox","cadastros","centro-treinamento"]}},{collection:"Cidade",codigo:"MOD_CID",table:"cidades",campo:"nome",icon:"bi bi-building",dao:Qt.get(H.l),label:"Cidade",selectRoute:{route:["cadastros","cidade"]}},{collection:"Documento",table:"documentos",campo:"numero",icon:"",dao:Qt.get(ye.d),label:"Documento"},{collection:"EixoTematico",codigo:"MOD_EXTM",table:"eixos_tematicos",campo:"nome",icon:"bi bi-gear",dao:Qt.get(Ee.e),label:"Eixo Tem\xe1tico",selectRoute:{route:["cadastros","eixo-tematico"]}},{collection:"Entidade",codigo:"MOD_ENTD",table:"entidades",campo:"nome",icon:"bi bi-bookmark-heart",dao:Qt.get(C.i),label:"Entidade",selectRoute:{route:["configuracoes","entidade"]}},{collection:"Entrega",codigo:"MOD_ENTRG",table:"entregas",campo:"nome",icon:"bi bi-list-check",dao:Qt.get(Ge.y),label:"Entrega",selectRoute:{route:["cadastros","entrega"]}},{collection:"Error",table:"errors",campo:"type",icon:"bi bi-bug",dao:Qt.get(xn.v),label:"Log de Erro",selectRoute:{route:["logs","error"]}},{collection:"Feriado",codigo:"MOD_FER",table:"feriados",campo:"nome",icon:"bi bi-emoji-sunglasses",dao:Qt.get(x.F),label:"Feriado",selectRoute:{route:["cadastros","feriado"]}},{collection:"Funcao",codigo:"MOD_RX_CURR",table:"funcoes",campo:"nome",icon:"bi bi-check-circle-fill",dao:Qt.get(ir),label:"Fun\xe7\xe3o",selectRoute:{route:["raiox","cadastros","funcao"]}},{collection:"GrupoEspecializado",codigo:"MOD_RX_CURR",table:"grupos_especializados",campo:"nome",icon:"bi bi-check-circle",dao:Qt.get(Bn),label:"Grupos Especializados",selectRoute:{route:["raiox","cadastros","grupo-especializado"]}},{collection:"Integracao",table:"integracoes",campo:"usuario_id",icon:"bi bi-pencil-square",dao:Qt.get(gt.a),label:"Integra\xe7\xe3o"},{collection:"Disciplina",codigo:"MOD_RX_CURR",table:"disciplinas",campo:"nome",icon:"bi bi-list-check",dao:Qt.get(cn),label:"Disciplinas",selectRoute:{route:["raiox","cadastros","disciplina"]}},{collection:"MaterialServico",codigo:"MOD_MATSRV",table:"materiais_servicos",campo:"descricao",icon:"bi bi-list-check",dao:Qt.get(k.g),label:"Material/Servi\xe7o",selectRoute:{route:["cadastros","material-servico"]}},{collection:"Perfil",codigo:"MOD_PERF",table:"perfis",campo:"nome",icon:"bi bi-fingerprint",dao:Qt.get(y.r),label:"Perfil",selectRoute:{route:["configuracoes","perfil"]}},{collection:"Ocorrencia",codigo:"MOD_OCOR",table:"ocorrencias",campo:"descricao",icon:"bi bi-exclamation-diamond",dao:Qt.get(xt.u),label:"Ocorr\xeancia",selectRoute:{route:["gestao","ocorrencia"]}},{collection:"Planejamento",codigo:"MOD_PLAN_INST",table:"planejamentos",campo:"nome",icon:"bi bi-journals",dao:Qt.get(Ze.U),label:"Planejamento Institucional",selectRoute:{route:["gestao","planejamento"]}},{collection:"PlanejamentoObjetivo",table:"planejamentos_objetivos",campo:"nome",icon:"bi bi-bullseye",dao:Qt.get(Je.e),label:"Objetivo do Planejamento",selectRoute:{route:["gestao","planejamento","objetivoList"]}},{collection:"PlanoTrabalho",codigo:"MOD_PTR",table:"planos_trabalhos",campo:"numero",icon:"bi bi-list-stars",dao:Qt.get(N.t),label:"Plano de Trabalho",selectRoute:{route:["gestao","plano-trabalho"]}},{collection:"PlanoTrabalhoConsolidacao",codigo:"MOD_PTR_CSLD",table:"planos_trabalhos_consolidacoes",icon:"bi bi-clipboard-check",dao:Qt.get(Ye.E),label:"Consolida\xe7\xf5es",selectRoute:{route:["gestao","plano-trabalho","consolidacao"]}},{collection:"PlanoEntrega",codigo:"MOD_PENT",table:"planos_entregas",campo:"nome",icon:"bi bi-list-columns-reverse",dao:Qt.get(tt.r),label:"Plano de Entrega",selectRoute:{route:["gestao","plano-entrega"]}},{collection:"PlanoEntregaEntrega",codigo:"MOD_PENT_ENTR",table:"planos_entregas_entregas",campo:"descricao",icon:"bi bi-list-check",dao:Qt.get(Qe.K),label:"Entrega do Plano de Entrega",selectRoute:{route:["gestao","plano-entrega","entrega-list"]}},{collection:"PlanoEntregaObjetivo",codigo:"MOD_PENT_OBJ",table:"planos_entregas_objetivos",campo:"descricao",icon:"",dao:Qt.get(xi),label:"Objetivo do Plano de Entrega"},{collection:"PlanoEntregaProcesso",codigo:"MOD_PENT_PRO",table:"planos_entregas_processos",campo:"descricao",icon:"",dao:Qt.get(fi),label:"Processo do Plano de Entrega"},{collection:"Preferencia",icon:"bi bi-person-fill-gear",label:"Prefer\xeancia"},{collection:"Programa",codigo:"MOD_PRGT",table:"programas",campo:"nome",icon:"bi bi-graph-up-arrow",dao:Qt.get(F.w),label:"Programa de Gest\xe3o",selectRoute:{route:["gestao","programa"]}},{collection:"ProgramaParticipante",table:"programas_participantes",campo:"usuario_id",icon:"",dao:Qt.get(pt.U),label:"Participante do Programa"},{collection:"Projeto",codigo:"MOD_PROJ",table:"projetos",campo:"nome",icon:"bi bi-diagram-2",dao:Qt.get(b.P),label:"Projeto",selectRoute:{route:["gestao","projeto"]}},{collection:"ProjetoAlocacao",table:"projetos_alocacoes",campo:"descricao",icon:"",dao:Qt.get(nt),label:"Aloca\xe7\xe3o"},{collection:"ProjetoRecurso",table:"projetos_recursos",campo:"nome",icon:"",dao:Qt.get(Ct),label:"Recurso"},{collection:"ProjetoRegra",table:"projetos_regras",campo:"nome",icon:"",dao:Qt.get(ot),label:"Regra"},{collection:"ProjetoTarefa",table:"projetos_tarefas",campo:"nome",icon:"",dao:Qt.get(He.z),label:"Tarefa do Projeto"},{collection:"RelatorioArea",icon:"bi bi-diagram-3-fill",label:"\xc1rea"},{collection:"RelatorioServidor",icon:"bi bi-file-person",label:"Servidor"},{collection:"TipoTarefa",table:"tipos_tarefas",campo:"nome",icon:"bi bi-boxes",dao:Qt.get(j.J),label:"Tipo de Tarefa",selectRoute:{route:["cadastros","tipo-tarefa"]}},{collection:"Template",codigo:"MOD_TEMP",table:"templates",campo:"titulo",icon:"bi bi-archive",dao:Qt.get(V.w),label:"Template",selectRoute:{route:["cadastros","template"]}},{collection:"Teste",icon:"bi bi-clipboard-check",label:"Teste"},{collection:"TipoAtividade",codigo:"MOD_TIPO_ATV",table:"tipos_atividades",campo:"nome",icon:"bi bi-clipboard-pulse",dao:Qt.get(P.Y),label:"Tipo de Atividade",selectRoute:{route:["cadastros","tipo-atividade"]}},{collection:"TipoAvaliacao",codigo:"MOD_TIPO_AVAL",table:"tipos_avaliacoes",campo:"nome",icon:"bi bi-question-square",dao:Qt.get(X.r),label:"Tipo de Avalia\xe7\xe3o",selectRoute:{route:["cadastros","tipo-avaliacao"]}},{collection:"TipoAvaliacaoJustificativa",table:"tipos_avaliacoes_justificativas",campo:"tipo_avaliacao_id",icon:"",dao:Qt.get(mt),label:"Justificativa do Tipo de Avalia\xe7\xe3o"},{collection:"TipoCapacidade",codigo:"MOD_TIPO_CAP",table:"tipos_capacidades",campo:"descricao",icon:"",dao:Qt.get(vt.r),label:"Tipo de Capacidade"},{collection:"TipoCurso",codigo:"MOD_RX_CURR",table:"tipos_cursos",campo:"nome",icon:"bi bi-box2",dao:Qt.get(qn),label:"Tipo de Curso",selectRoute:{route:["raiox","cadastros","tipo-curso"]}},{collection:"TipoDocumento",codigo:"MOD_TIPO_DOC",table:"tipos_documentos",campo:"nome",icon:"bi bi-files",dao:Qt.get(me.Q),label:"Tipo de Documento",selectRoute:{route:["cadastros","tipo-documento"]}},{collection:"TipoJustificativa",codigo:"MOD_TIPO_JUST",table:"tipos_justificativas",campo:"nome",icon:"bi bi-window-stack",dao:Qt.get(Oe.i),label:"Tipo de Justificativa",selectRoute:{route:["cadastros","tipo-justificativa"]}},{collection:"TipoModalidade",codigo:"MOD_TIPO_MDL",table:"tipos_modalidades",campo:"nome",icon:"bi bi-bar-chart-steps",dao:Qt.get(Se.D),label:"Tipo de Modalidade",selectRoute:{route:["cadastros","tipo-modalidade"]}},{collection:"TipoMotivoAfastamento",codigo:"MOD_TIPO_MTV_AFT",table:"tipos_motivos_afastamentos",campo:"nome",icon:"bi bi-list-ol",dao:Qt.get(wt.n),label:this.lex.translate("Motivo de Afastamento"),selectRoute:{route:["cadastros","tipo-motivo-afastamento"]}},{collection:"TipoProcesso",codigo:"MOD_TIPO_PROC",table:"tipos_processos",campo:"nome",icon:"bi bi-folder-check",dao:Qt.get(K.n),label:"Tipo de Processo",selectRoute:{route:["cadastros","tipo-processo"]}},{collection:"Traffic",table:"traffic",campo:"url",icon:"bi bi-stoplights",dao:Qt.get(In),label:"Log de Tr\xe1fego",selectRoute:{route:["logs","traffic"]}},{collection:"Unidade",codigo:"MOD_UND",table:"unidades",campo:"nome",icon:"fa-unity fab",dao:Qt.get(a.J),label:"Unidade",selectRoute:{route:["configuracoes","unidade"]}},{collection:"UnidadeIntegrante",table:"unidades_integrantes",campo:"atribuicao",icon:"",dao:Qt.get(hn.o),label:"Integrante da Unidade"},{collection:"Usuario",codigo:"MOD_USER",table:"usuarios",campo:"nome",icon:"bi bi-people",dao:Qt.get(A.q),label:"Usu\xe1rio",selectRoute:{route:["configuracoes","usuario"]}}]}getDao(Qt){return this.list.find(ki=>ki.collection==Qt)?.dao}getLabel(Qt){let ki=this.list.find(ta=>ta.collection==Qt);return ki?this.lex.translate(ki.label):""}getIcon(Qt){return this.list.find(ki=>ki.collection==Qt)?.icon||""}getCampo(Qt){return this.list.find(ki=>ki.collection==Qt)?.campo}getTable(Qt){return this.list.find(ki=>ki.collection==Qt)?.table}getSelectRoute(Qt){return this.list.find(ki=>ki.collection==Qt)?.selectRoute||{route:[]}}static#e=this.\u0275fac=function(ki){return new(ki||An)(Jt.LFG(Jt.zs3))};static#t=this.\u0275prov=Jt.Yz7({token:An,factory:An.\u0275fac,providedIn:"root"})}return An})()},9437:(lt,_e,m)=>{"use strict";m.d(_e,{x:()=>Y1});var i={version:"0.18.5"},t=1200,A=1252,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],y={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},C=function(e){-1!=a.indexOf(e)&&(A=y[0]=e)},N=function(e){t=e,C(e)};var me,P=function(s){return String.fromCharCode(s)},X=function(s){return String.fromCharCode(s)},Se=null,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function V(e){for(var s="",r=0,h=0,f=0,T=0,D=0,B=0,ee=0,se=0;se>2,D=(3&r)<<4|(h=e.charCodeAt(se++))>>4,B=(15&h)<<2|(f=e.charCodeAt(se++))>>6,ee=63&f,isNaN(h)?B=ee=64:isNaN(f)&&(ee=64),s+=K.charAt(T)+K.charAt(D)+K.charAt(B)+K.charAt(ee);return s}function J(e){var s="",T=0,D=0,B=0,ee=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var se=0;se>4),64!==(B=K.indexOf(e.charAt(se++)))&&(s+=String.fromCharCode((15&D)<<4|B>>2)),64!==(ee=K.indexOf(e.charAt(se++)))&&(s+=String.fromCharCode((3&B)<<6|ee));return s}var ae=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),oe=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(s,r){return r?new Buffer(s,r):new Buffer(s)}:Buffer.from.bind(Buffer)}return function(){}}();function ye(e){return ae?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Ee(e){return ae?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Ge=function(s){return ae?oe(s,"binary"):s.split("").map(function(r){return 255&r.charCodeAt(0)})};function gt(e){if(typeof ArrayBuffer>"u")return Ge(e);for(var s=new ArrayBuffer(e.length),r=new Uint8Array(s),h=0;h!=e.length;++h)r[h]=255&e.charCodeAt(h);return s}function Ze(e){if(Array.isArray(e))return e.map(function(h){return String.fromCharCode(h)}).join("");for(var s=[],r=0;r=0;)s+=e.charAt(r--);return s}function ot(e,s){var r=""+e;return r.length>=s?r:un("0",s-r.length)+r}function Ct(e,s){var r=""+e;return r.length>=s?r:un(" ",s-r.length)+r}function He(e,s){var r=""+e;return r.length>=s?r:r+un(" ",s-r.length)}var hn=Math.pow(2,32);function yt(e,s){return e>hn||e<-hn?function mt(e,s){var r=""+Math.round(e);return r.length>=s?r:un("0",s-r.length)+r}(e,s):function vt(e,s){var r=""+e;return r.length>=s?r:un("0",s-r.length)+r}(Math.round(e),s)}function Fn(e,s){return e.length>=7+(s=s||0)&&103==(32|e.charCodeAt(s))&&101==(32|e.charCodeAt(s+1))&&110==(32|e.charCodeAt(s+2))&&101==(32|e.charCodeAt(s+3))&&114==(32|e.charCodeAt(s+4))&&97==(32|e.charCodeAt(s+5))&&108==(32|e.charCodeAt(s+6))}var xn=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],In=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]],qn={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},di={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},ir={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Bn(e,s,r){for(var h=e<0?-1:1,f=e*h,T=0,D=1,B=0,ee=1,se=0,de=0,Fe=Math.floor(f);ses&&(se>s?(de=ee,B=T):(de=se,B=D)),!r)return[0,h*B,de];var Be=Math.floor(h*B/de);return[Be,h*B-Be*de,de]}function xi(e,s,r){if(e>2958465||e<0)return null;var h=0|e,f=Math.floor(86400*(e-h)),T=0,D=[],B={D:h,T:f,u:86400*(e-h)-f,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(B.u)<1e-6&&(B.u=0),s&&s.date1904&&(h+=1462),B.u>.9999&&(B.u=0,86400==++f&&(B.T=f=0,++h,++B.D)),60===h)D=r?[1317,10,29]:[1900,2,29],T=3;else if(0===h)D=r?[1317,8,29]:[1900,1,0],T=6;else{h>60&&--h;var ee=new Date(1900,0,1);ee.setDate(ee.getDate()+h-1),D=[ee.getFullYear(),ee.getMonth()+1,ee.getDate()],T=ee.getDay(),h<60&&(T=(T+6)%7),r&&(T=function An(e,s){s[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}(ee,D))}return B.y=D[0],B.m=D[1],B.d=D[2],B.S=f%60,f=Math.floor(f/60),B.M=f%60,f=Math.floor(f/60),B.H=f,B.q=T,B}var fi=new Date(1899,11,31,0,0,0),Mt=fi.getTime(),Ot=new Date(1900,2,1,0,0,0);function ve(e,s){var r=e.getTime();return s?r-=1262304e5:e>=Ot&&(r+=864e5),(r-(Mt+6e4*(e.getTimezoneOffset()-fi.getTimezoneOffset())))/864e5}function De(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Kn(e,s){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):function cn(e){var r,s=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return r=s>=-4&&s<=-1?e.toPrecision(10+s):Math.abs(s)<=9?function Ye(e){var s=e<0?12:11,r=De(e.toFixed(12));return r.length<=s||(r=e.toPrecision(10)).length<=s?r:e.toExponential(5)}(e):10===s?e.toFixed(10).substr(0,12):function xt(e){var s=De(e.toFixed(11));return s.length>(e<0?12:11)||"0"===s||"-0"===s?e.toPrecision(6):s}(e),De(function xe(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(r.toUpperCase()))}(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Xe(14,ve(e,s&&s.date1904),s)}throw new Error("unsupported value in General format: "+e)}function gs(e,s,r,h){var ee,f="",T=0,D=0,B=r.y,se=0;switch(e){case 98:B=r.y+543;case 121:switch(s.length){case 1:case 2:ee=B%100,se=2;break;default:ee=B%1e4,se=4}break;case 109:switch(s.length){case 1:case 2:ee=r.m,se=s.length;break;case 3:return In[r.m-1][1];case 5:return In[r.m-1][0];default:return In[r.m-1][2]}break;case 100:switch(s.length){case 1:case 2:ee=r.d,se=s.length;break;case 3:return xn[r.q][0];default:return xn[r.q][1]}break;case 104:switch(s.length){case 1:case 2:ee=1+(r.H+11)%12,se=s.length;break;default:throw"bad hour format: "+s}break;case 72:switch(s.length){case 1:case 2:ee=r.H,se=s.length;break;default:throw"bad hour format: "+s}break;case 77:switch(s.length){case 1:case 2:ee=r.M,se=s.length;break;default:throw"bad minute format: "+s}break;case 115:if("s"!=s&&"ss"!=s&&".0"!=s&&".00"!=s&&".000"!=s)throw"bad second format: "+s;return 0!==r.u||"s"!=s&&"ss"!=s?(D=h>=2?3===h?1e3:100:1===h?10:1,(T=Math.round(D*(r.S+r.u)))>=60*D&&(T=0),"s"===s?0===T?"0":""+T/D:(f=ot(T,2+h),"ss"===s?f.substr(0,2):"."+f.substr(2,s.length-1))):ot(r.S,s.length);case 90:switch(s){case"[h]":case"[hh]":ee=24*r.D+r.H;break;case"[m]":case"[mm]":ee=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":ee=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+s}se=3===s.length?1:2;break;case 101:ee=B,se=1}return se>0?ot(ee,se):""}function Qt(e){if(e.length<=3)return e;for(var r=e.length%3,h=e.substr(0,r);r!=e.length;r+=3)h+=(h.length>0?",":"")+e.substr(r,3);return h}var ki=/%/g;function co(e,s){var r,h=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==s)return"0.0E+0";if(s<0)return"-"+co(e,-s);var f=e.indexOf(".");-1===f&&(f=e.indexOf("E"));var T=Math.floor(Math.log(s)*Math.LOG10E)%f;if(T<0&&(T+=f),-1===(r=(s/Math.pow(10,T)).toPrecision(h+1+(f+T)%f)).indexOf("e")){var D=Math.floor(Math.log(s)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(D-r.length+T):r+="E+"+(D-T);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,f)+"."+r.substr(2+f)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(B,ee,se,de){return ee+se+de.substr(0,(f+T)%f)+"."+de.substr(T)+"E"})}else r=s.toExponential(h);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var Or=/# (\?+)( ?)\/( ?)(\d+)/,Do=/^#*0*\.([0#]+)/,Ms=/\).*[0#]/,Ls=/\(###\) ###\\?-####/;function On(e){for(var r,s="",h=0;h!=e.length;++h)switch(r=e.charCodeAt(h)){case 35:break;case 63:s+=" ";break;case 48:s+="0";break;default:s+=String.fromCharCode(r)}return s}function mr(e,s){var r=Math.pow(10,s);return""+Math.round(e*r)/r}function Pt(e,s){var r=e-Math.floor(e),h=Math.pow(10,s);return s<(""+Math.round(r*h)).length?0:Math.round(r*h)}function li(e,s,r){if(40===e.charCodeAt(0)&&!s.match(Ms)){var h=s.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?li("n",h,r):"("+li("n",h,-r)+")"}if(44===s.charCodeAt(s.length-1))return function Pi(e,s,r){for(var h=s.length-1;44===s.charCodeAt(h-1);)--h;return Rt(e,s.substr(0,h),r/Math.pow(10,3*(s.length-h)))}(e,s,r);if(-1!==s.indexOf("%"))return function ta(e,s,r){var h=s.replace(ki,""),f=s.length-h.length;return Rt(e,h,r*Math.pow(10,2*f))+un("%",f)}(e,s,r);if(-1!==s.indexOf("E"))return co(s,r);if(36===s.charCodeAt(0))return"$"+li(e,s.substr(" "==s.charAt(1)?2:1),r);var f,T,D,B,ee=Math.abs(r),se=r<0?"-":"";if(s.match(/^00+$/))return se+yt(ee,s.length);if(s.match(/^[#?]+$/))return"0"===(f=yt(r,0))&&(f=""),f.length>s.length?f:On(s.substr(0,s.length-f.length))+f;if(T=s.match(Or))return function Dr(e,s,r){var h=parseInt(e[4],10),f=Math.round(s*h),T=Math.floor(f/h),D=f-T*h,B=h;return r+(0===T?"":""+T)+" "+(0===D?un(" ",e[1].length+1+e[4].length):Ct(D,e[1].length)+e[2]+"/"+e[3]+ot(B,e[4].length))}(T,ee,se);if(s.match(/^#+0+$/))return se+yt(ee,s.length-s.indexOf("0"));if(T=s.match(Do))return f=mr(r,T[1].length).replace(/^([^\.]+)$/,"$1."+On(T[1])).replace(/\.$/,"."+On(T[1])).replace(/\.(\d*)$/,function(rt,Re){return"."+Re+un("0",On(T[1]).length-Re.length)}),-1!==s.indexOf("0.")?f:f.replace(/^0\./,".");if(s=s.replace(/^#+([0.])/,"$1"),T=s.match(/^(0*)\.(#*)$/))return se+mr(ee,T[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,T[1].length?"0.":".");if(T=s.match(/^#{1,3},##0(\.?)$/))return se+Qt(yt(ee,0));if(T=s.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+li(e,s,-r):Qt(""+(Math.floor(r)+function ln(e,s){return s<(""+Math.round((e-Math.floor(e))*Math.pow(10,s))).length?1:0}(r,T[1].length)))+"."+ot(Pt(r,T[1].length),T[1].length);if(T=s.match(/^#,#*,#0/))return li(e,s.replace(/^#,#*,/,""),r);if(T=s.match(/^([0#]+)(\\?-([0#]+))+$/))return f=nt(li(e,s.replace(/[\\-]/g,""),r)),D=0,nt(nt(s.replace(/\\/g,"")).replace(/[0#]/g,function(rt){return D-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(rt){return"00,"+(rt.length<3?ot(0,3-rt.length):"")+rt})+"."+ot(D,T[1].length);switch(s){case"###,##0.00":return li(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var $e=Qt(yt(ee,0));return"0"!==$e?se+$e:"";case"###,###.00":return li(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return li(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+s+"|")}function Pn(e,s){var r,h=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==s)return"0.0E+0";if(s<0)return"-"+Pn(e,-s);var f=e.indexOf(".");-1===f&&(f=e.indexOf("E"));var T=Math.floor(Math.log(s)*Math.LOG10E)%f;if(T<0&&(T+=f),!(r=(s/Math.pow(10,T)).toPrecision(h+1+(f+T)%f)).match(/[Ee]/)){var D=Math.floor(Math.log(s)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(D-r.length+T):r+="E+"+(D-T),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(B,ee,se,de){return ee+se+de.substr(0,(f+T)%f)+"."+de.substr(T)+"E"})}else r=s.toExponential(h);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function sn(e,s,r){if(40===e.charCodeAt(0)&&!s.match(Ms)){var h=s.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?sn("n",h,r):"("+sn("n",h,-r)+")"}if(44===s.charCodeAt(s.length-1))return function Qr(e,s,r){for(var h=s.length-1;44===s.charCodeAt(h-1);)--h;return Rt(e,s.substr(0,h),r/Math.pow(10,3*(s.length-h)))}(e,s,r);if(-1!==s.indexOf("%"))return function Sr(e,s,r){var h=s.replace(ki,""),f=s.length-h.length;return Rt(e,h,r*Math.pow(10,2*f))+un("%",f)}(e,s,r);if(-1!==s.indexOf("E"))return Pn(s,r);if(36===s.charCodeAt(0))return"$"+sn(e,s.substr(" "==s.charAt(1)?2:1),r);var f,T,D,B,ee=Math.abs(r),se=r<0?"-":"";if(s.match(/^00+$/))return se+ot(ee,s.length);if(s.match(/^[#?]+$/))return f=""+r,0===r&&(f=""),f.length>s.length?f:On(s.substr(0,s.length-f.length))+f;if(T=s.match(Or))return function bs(e,s,r){return r+(0===s?"":""+s)+un(" ",e[1].length+2+e[4].length)}(T,ee,se);if(s.match(/^#+0+$/))return se+ot(ee,s.length-s.indexOf("0"));if(T=s.match(Do))return f=(f=(""+r).replace(/^([^\.]+)$/,"$1."+On(T[1])).replace(/\.$/,"."+On(T[1]))).replace(/\.(\d*)$/,function(rt,Re){return"."+Re+un("0",On(T[1]).length-Re.length)}),-1!==s.indexOf("0.")?f:f.replace(/^0\./,".");if(s=s.replace(/^#+([0.])/,"$1"),T=s.match(/^(0*)\.(#*)$/))return se+(""+ee).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,T[1].length?"0.":".");if(T=s.match(/^#{1,3},##0(\.?)$/))return se+Qt(""+ee);if(T=s.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+sn(e,s,-r):Qt(""+r)+"."+un("0",T[1].length);if(T=s.match(/^#,#*,#0/))return sn(e,s.replace(/^#,#*,/,""),r);if(T=s.match(/^([0#]+)(\\?-([0#]+))+$/))return f=nt(sn(e,s.replace(/[\\-]/g,""),r)),D=0,nt(nt(s.replace(/\\/g,"")).replace(/[0#]/g,function(rt){return D-1||"\\"==r&&"-"==e.charAt(s+1)&&"0#".indexOf(e.charAt(s+2))>-1););break;case"?":for(;e.charAt(++s)===r;);break;case"*":++s,(" "==e.charAt(s)||"*"==e.charAt(s))&&++s;break;case"(":case")":++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;s-1;);break;default:++s}return!1}var Ri=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ur(e,s){if(null==s)return!1;var r=parseFloat(s[2]);switch(s[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function Xe(e,s,r){null==r&&(r={});var h="";switch(typeof e){case"string":h="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(h=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:qn)[e])&&(h=r.table&&r.table[di[e]]||qn[di[e]]),null==h&&(h=ir[e]||"General")}if(Fn(h,0))return Kn(s,r);s instanceof Date&&(s=ve(s,r.date1904));var f=function mn(e,s){var r=function Bt(e){for(var s=[],r=!1,h=0,f=0;h-1&&--h,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof s)return[4,4===r.length||f>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=f>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=f>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=f>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var T=s>0?r[0]:s<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[h,T];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var D=r[0].match(Ri),B=r[1].match(Ri);return Ur(s,D)?[h,r[0]]:Ur(s,B)?[h,r[1]]:[h,r[null!=D&&null!=B?2:1]]}return[h,T]}(h,s);if(Fn(f[1]))return Kn(s,r);if(!0===s)s="TRUE";else if(!1===s)s="FALSE";else if(""===s||null==s)return"";return function rr(e,s,r,h){for(var se,de,Fe,f=[],T="",D=0,B="",ee="t",Be="H";D=12?"P":"A"),Re.t="T",Be="h",D+=3):"AM/PM"===e.substr(D,5).toUpperCase()?(null!=se&&(Re.v=se.H>=12?"PM":"AM"),Re.t="T",D+=5,Be="h"):"\u4e0a\u5348/\u4e0b\u5348"===e.substr(D,5).toUpperCase()?(null!=se&&(Re.v=se.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),Re.t="T",D+=5,Be="h"):(Re.t="t",++D),null==se&&"T"===Re.t)return"";f[f.length]=Re,ee=B;break;case"[":for(T=B;"]"!==e.charAt(D++)&&D-1&&(T=(T.match(/\$([^-\[\]]*)/)||[])[1]||"$",mi(e)||(f[f.length]={t:"t",v:T}));break;case".":if(null!=se){for(T=B;++D-1;)T+=B;f[f.length]={t:"n",v:T};break;case"?":for(T=B;e.charAt(++D)===B;)T+=B;f[f.length]={t:B,v:T},ee=B;break;case"*":++D,(" "==e.charAt(D)||"*"==e.charAt(D))&&++D;break;case"(":case")":f[f.length]={t:1===h?"t":B,v:B},++D;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(T=B;D-1;)T+=e.charAt(D);f[f.length]={t:"D",v:T};break;case" ":f[f.length]={t:B,v:B},++D;break;case"$":f[f.length]={t:"t",v:"$"},++D;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(B))throw new Error("unrecognized character "+B+" in "+e);f[f.length]={t:"t",v:B},++D}var Vt,at=0,zt=0;for(D=f.length-1,ee="t";D>=0;--D)switch(f[D].t){case"h":case"H":f[D].t=Be,ee="h",at<1&&(at=1);break;case"s":(Vt=f[D].v.match(/\.0+$/))&&(zt=Math.max(zt,Vt[0].length-1)),at<3&&(at=3);case"d":case"y":case"M":case"e":ee=f[D].t;break;case"m":"s"===ee&&(f[D].t="M",at<2&&(at=2));break;case"X":break;case"Z":at<1&&f[D].v.match(/[Hh]/)&&(at=1),at<2&&f[D].v.match(/[Mm]/)&&(at=2),at<3&&f[D].v.match(/[Ss]/)&&(at=3)}switch(at){case 0:break;case 1:se.u>=.5&&(se.u=0,++se.S),se.S>=60&&(se.S=0,++se.M),se.M>=60&&(se.M=0,++se.H);break;case 2:se.u>=.5&&(se.u=0,++se.S),se.S>=60&&(se.S=0,++se.M)}var wn,kt="";for(D=0;D0){40==kt.charCodeAt(0)?(ei=s<0&&45===kt.charCodeAt(0)?-s:s,rn=Rt("n",kt,ei)):(rn=Rt("n",kt,ei=s<0&&h>1?-s:s),ei<0&&f[0]&&"t"==f[0].t&&(rn=rn.substr(1),f[0].v="-"+f[0].v)),wn=rn.length-1;var Nn=f.length;for(D=0;D-1){Nn=D;break}var Sn=f.length;if(Nn===f.length&&-1===rn.indexOf("E")){for(D=f.length-1;D>=0;--D)null==f[D]||-1==="n?".indexOf(f[D].t)||(wn>=f[D].v.length-1?f[D].v=rn.substr(1+(wn-=f[D].v.length),f[D].v.length):wn<0?f[D].v="":(f[D].v=rn.substr(0,wn+1),wn=-1),f[D].t="t",Sn=D);wn>=0&&Sn=0;--D)if(null!=f[D]&&-1!=="n?".indexOf(f[D].t)){for(de=f[D].v.indexOf(".")>-1&&D===Nn?f[D].v.indexOf(".")-1:f[D].v.length-1,Un=f[D].v.substr(de+1);de>=0;--de)wn>=0&&("0"===f[D].v.charAt(de)||"#"===f[D].v.charAt(de))&&(Un=rn.charAt(wn--)+Un);f[D].v=Un,f[D].t="t",Sn=D}for(wn>=0&&Sn-1&&D===Nn?f[D].v.indexOf(".")+1:0,Un=f[D].v.substr(0,de);de-1&&(f[D].v=Rt(f[D].t,f[D].v,ei=h>1&&s<0&&D>0&&"-"===f[D-1].v?-s:s),f[D].t="t");var ti="";for(D=0;D!==f.length;++D)null!=f[D]&&(ti+=f[D].v);return ti}(f[1],s,r,f[0])}function ke(e,s){if("number"!=typeof s){s=+s||-1;for(var r=0;r<392;++r)if(null!=qn[r]){if(qn[r]==e){s=r;break}}else s<0&&(s=r);s<0&&(s=391)}return qn[s]=e,s}function ge(e){for(var s=0;392!=s;++s)void 0!==e[s]&&ke(e[s],s)}function Ae(){qn=function dn(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',e}()}var Kt=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,pi=function(){var e={version:"1.2.0"},r=function s(){for(var rn=0,Nn=new Array(256),Sn=0;256!=Sn;++Sn)Nn[Sn]=rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=1&(rn=Sn)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1)?-306674912^rn>>>1:rn>>>1;return typeof Int32Array<"u"?new Int32Array(Nn):Nn}(),f=function h(rn){var Nn=0,Sn=0,ti=0,ri=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(ti=0;256!=ti;++ti)ri[ti]=rn[ti];for(ti=0;256!=ti;++ti)for(Sn=rn[ti],Nn=256+ti;Nn<4096;Nn+=256)Sn=ri[Nn]=Sn>>>8^rn[255&Sn];var kn=[];for(ti=1;16!=ti;++ti)kn[ti-1]=typeof Int32Array<"u"?ri.subarray(256*ti,256*ti+256):ri.slice(256*ti,256*ti+256);return kn}(r),T=f[0],D=f[1],B=f[2],ee=f[3],se=f[4],de=f[5],Fe=f[6],Be=f[7],$e=f[8],rt=f[9],Re=f[10],at=f[11],zt=f[12],Vt=f[13],kt=f[14];return e.table=r,e.bstr=function wn(rn,Nn){for(var Sn=-1^Nn,ti=0,ri=rn.length;ti>>8^r[255&(Sn^rn.charCodeAt(ti++))];return~Sn},e.buf=function Un(rn,Nn){for(var Sn=-1^Nn,ti=rn.length-15,ri=0;ri>8&255]^zt[rn[ri++]^Sn>>16&255]^at[rn[ri++]^Sn>>>24]^Re[rn[ri++]]^rt[rn[ri++]]^$e[rn[ri++]]^Be[rn[ri++]]^Fe[rn[ri++]]^de[rn[ri++]]^se[rn[ri++]]^ee[rn[ri++]]^B[rn[ri++]]^D[rn[ri++]]^T[rn[ri++]]^r[rn[ri++]];for(ti+=15;ri>>8^r[255&(Sn^rn[ri++])];return~Sn},e.str=function ei(rn,Nn){for(var Sn=-1^Nn,ti=0,ri=rn.length,kn=0,$i=0;ti>>8^r[255&(Sn^kn)]:kn<2048?Sn=(Sn=Sn>>>8^r[255&(Sn^(192|kn>>6&31))])>>>8^r[255&(Sn^(128|63&kn))]:kn>=55296&&kn<57344?(kn=64+(1023&kn),$i=1023&rn.charCodeAt(ti++),Sn=(Sn=(Sn=(Sn=Sn>>>8^r[255&(Sn^(240|kn>>8&7))])>>>8^r[255&(Sn^(128|kn>>2&63))])>>>8^r[255&(Sn^(128|$i>>6&15|(3&kn)<<4))])>>>8^r[255&(Sn^(128|63&$i))]):Sn=(Sn=(Sn=Sn>>>8^r[255&(Sn^(224|kn>>12&15))])>>>8^r[255&(Sn^(128|kn>>6&63))])>>>8^r[255&(Sn^(128|63&kn))];return~Sn},e}(),nn=function(){var ee,s={};function h(ht){if("/"==ht.charAt(ht.length-1))return-1===ht.slice(0,-1).indexOf("/")?ht:h(ht.slice(0,-1));var Wt=ht.lastIndexOf("/");return-1===Wt?ht:ht.slice(0,Wt+1)}function f(ht){if("/"==ht.charAt(ht.length-1))return f(ht.slice(0,-1));var Wt=ht.lastIndexOf("/");return-1===Wt?ht:ht.slice(Wt+1)}function T(ht,Wt){"string"==typeof Wt&&(Wt=new Date(Wt));var Dt=Wt.getHours();Dt=(Dt=Dt<<6|Wt.getMinutes())<<5|Wt.getSeconds()>>>1,ht.write_shift(2,Dt);var Lt=Wt.getFullYear()-1980;Lt=(Lt=Lt<<4|Wt.getMonth()+1)<<5|Wt.getDate(),ht.write_shift(2,Lt)}function B(ht){so(ht,0);for(var Wt={},Dt=0;ht.l<=ht.length-4;){var Lt=ht.read_shift(2),Gt=ht.read_shift(2),$t=ht.l+Gt,jn={};21589===Lt&&(1&(Dt=ht.read_shift(1))&&(jn.mtime=ht.read_shift(4)),Gt>5&&(2&Dt&&(jn.atime=ht.read_shift(4)),4&Dt&&(jn.ctime=ht.read_shift(4))),jn.mtime&&(jn.mt=new Date(1e3*jn.mtime))),ht.l=$t,Wt[Lt]=jn}return Wt}function se(){return ee||(ee={})}function de(ht,Wt){if(80==ht[0]&&75==ht[1])return MA(ht,Wt);if(109==(32|ht[0])&&105==(32|ht[1]))return function W1(ht,Wt){if("mime-version:"!=pr(ht.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var Dt=Wt&&Wt.root||"",Lt=(ae&&Buffer.isBuffer(ht)?ht.toString("binary"):pr(ht)).split("\r\n"),Gt=0,$t="";for(Gt=0;Gt0&&(Dt=(Dt=Dt.slice(0,Dt.length-1)).slice(0,Dt.lastIndexOf("/")+1),$t.slice(0,Dt.length)!=Dt););var jn=(Lt[1]||"").match(/boundary="(.*?)"/);if(!jn)throw new Error("MAD cannot find boundary");var si="--"+(jn[1]||""),$n={FileIndex:[],FullPaths:[]};rn($n);var Bi,Xi=0;for(Gt=0;Gt=Gt&&(Xi-=Gt),!jn[Xi]){Wn=[];var qi=[];for(Bi=Xi;Bi>=0;){qi[Bi]=!0,jn[Bi]=!0,si[si.length]=Bi,Wn.push(ht[Bi]);var ar=Dt[Math.floor(4*Bi/Lt)];if(Lt<4+(Rr=4*Bi&zn))throw new Error("FAT boundary crossed: "+Bi+" 4 "+Lt);if(!ht[ar]||qi[Bi=rl(ht[ar],Rr)])break}$t[Xi]={nodes:si,data:Sa([Wn])}}return $t}($s,jn,zn,Lt);Ll[jn].name="!Directory",Gt>0&&si!==$i&&(Ll[si].name="!MiniFAT"),Ll[zn[0]].name="!FAT",Ll.fat_addrs=zn,Ll.ssz=Lt;var ac=[],Iu=[],Om=[];(function kt(ht,Wt,Dt,Lt,Gt,$t,jn,si){for(var Rr,Wn=0,zn=Lt.length?2:0,$n=Wt[ht].data,Bi=0,Xi=0;Bi<$n.length;Bi+=128){var qi=$n.slice(Bi,Bi+128);so(qi,64),Xi=qi.read_shift(2),Rr=ia(qi,0,Xi-zn),Lt.push(Rr);var ar={name:Rr,type:qi.read_shift(1),color:qi.read_shift(1),L:qi.read_shift(4,"i"),R:qi.read_shift(4,"i"),C:qi.read_shift(4,"i"),clsid:qi.read_shift(16),state:qi.read_shift(4,"i"),start:0,size:0};0!==qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)&&(ar.ct=wn(qi,qi.l-8)),0!==qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)+qi.read_shift(2)&&(ar.mt=wn(qi,qi.l-8)),ar.start=qi.read_shift(4,"i"),ar.size=qi.read_shift(4,"i"),ar.size<0&&ar.start<0&&(ar.size=ar.type=0,ar.start=$i,ar.name=""),5===ar.type?(Wn=ar.start,Gt>0&&Wn!==$i&&(Wt[Wn].name="!StreamData")):ar.size>=4096?(ar.storage="fat",void 0===Wt[ar.start]&&(Wt[ar.start]=zt(Dt,ar.start,Wt.fat_addrs,Wt.ssz)),Wt[ar.start].name=ar.name,ar.content=Wt[ar.start].data.slice(0,ar.size)):(ar.storage="minifat",ar.size<0?ar.size=0:Wn!==$i&&ar.start!==$i&&Wt[Wn]&&(ar.content=Re(ar,Wt[Wn].data,(Wt[si]||{}).data))),ar.content&&so(ar.content,0),$t[Rr]=ar,jn.push(ar)}})(jn,Ll,$s,ac,Gt,{},Iu,si),function rt(ht,Wt,Dt){for(var Lt=0,Gt=0,$t=0,jn=0,si=0,Wn=Dt.length,zn=[],$n=[];Lt0&&jn>=0;)$t.push(Wt.slice(jn*kn,jn*kn+kn)),Gt-=kn,jn=rl(Dt,4*jn);return 0===$t.length?Vn(0):Qe($t).slice(0,ht.size)}function at(ht,Wt,Dt,Lt,Gt){var $t=$i;if(ht===$i){if(0!==Wt)throw new Error("DIFAT chain shorter than expected")}else if(-1!==ht){var jn=Dt[ht],si=(Lt>>>2)-1;if(!jn)return;for(var Wn=0;Wn=0;){Gt[Wn]=!0,$t[$t.length]=Wn,jn.push(ht[Wn]);var $n=Dt[Math.floor(4*Wn/Lt)];if(Lt<4+(zn=4*Wn&si))throw new Error("FAT boundary crossed: "+Wn+" 4 "+Lt);if(!ht[$n])break;Wn=rl(ht[$n],zn)}return{nodes:$t,data:Sa([jn])}}function wn(ht,Wt){return new Date(1e3*(Ts(ht,Wt+4)/1e7*Math.pow(2,32)+Ts(ht,Wt)/1e7-11644473600))}function rn(ht,Wt){var Dt=Wt||{},Lt=Dt.root||"Root Entry";if(ht.FullPaths||(ht.FullPaths=[]),ht.FileIndex||(ht.FileIndex=[]),ht.FullPaths.length!==ht.FileIndex.length)throw new Error("inconsistent CFB structure");0===ht.FullPaths.length&&(ht.FullPaths[0]=Lt+"/",ht.FileIndex[0]={name:Lt,type:5}),Dt.CLSID&&(ht.FileIndex[0].clsid=Dt.CLSID),function Nn(ht){var Wt="\x01Sh33tJ5";if(!nn.find(ht,"/"+Wt)){var Dt=Vn(4);Dt[0]=55,Dt[1]=Dt[3]=50,Dt[2]=54,ht.FileIndex.push({name:Wt,type:2,content:Dt,size:4,L:69,R:69,C:69}),ht.FullPaths.push(ht.FullPaths[0]+Wt),Sn(ht)}}(ht)}function Sn(ht,Wt){rn(ht);for(var Dt=!1,Lt=!1,Gt=ht.FullPaths.length-1;Gt>=0;--Gt){var $t=ht.FileIndex[Gt];switch($t.type){case 0:Lt?Dt=!0:(ht.FileIndex.pop(),ht.FullPaths.pop());break;case 1:case 2:case 5:Lt=!0,isNaN($t.R*$t.L*$t.C)&&(Dt=!0),$t.R>-1&&$t.L>-1&&$t.R==$t.L&&(Dt=!0);break;default:Dt=!0}}if(Dt||Wt){var jn=new Date(1987,1,19),si=0,Wn=Object.create?Object.create(null):{},zn=[];for(Gt=0;Gt1?1:-1,Bi.size=0,Bi.type=5;else if("/"==Xi.slice(-1)){for(si=Gt+1;si=zn.length?-1:si,si=Gt+1;si=zn.length?-1:si,Bi.type=1}else h(ht.FullPaths[Gt+1]||"")==h(Xi)&&(Bi.R=Gt+1),Bi.type=2}}}function ti(ht,Wt){var Dt=Wt||{};if("mad"==Dt.fileType)return function SA(ht,Wt){for(var Dt=Wt||{},Lt=Dt.boundary||"SheetJS",Gt=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(Lt="------="+Lt).slice(2)+'"',"","",""],$t=ht.FullPaths[0],jn=$t,si=ht.FileIndex[0],Wn=1;Wn=32&&Rr<128&&++Bi;var ar=Bi>=4*Xi/5;Gt.push(Lt),Gt.push("Content-Location: "+(Dt.root||"file:///C:/SheetJS/")+jn),Gt.push("Content-Transfer-Encoding: "+(ar?"quoted-printable":"base64")),Gt.push("Content-Type: "+j1(si,jn)),Gt.push(""),Gt.push(ar?z1($n):DA($n))}return Gt.push(Lt+"--\r\n"),Gt.join("\r\n")}(ht,Dt);if("zip"===(Sn(ht),Dt.fileType))return function H1(ht,Wt){var Dt=Wt||{},Lt=[],Gt=[],$t=Vn(1),jn=Dt.compression?8:0,si=0,zn=0,$n=0,Bi=0,Xi=0,Rr=ht.FullPaths[0],qi=Rr,ar=ht.FileIndex[0],$s=[],Ll=0;for(zn=1;zn0&&(ou<4096?qi+=ou+63>>6:ar+=ou+511>>9)}}for(var ac=Rr.FullPaths.length+3>>2,Om=qi+127>>7,qg=(qi+7>>3)+ar+ac+Om,Uf=qg+127>>7,gv=Uf<=109?0:Math.ceil((Uf-109)/127);qg+Uf+gv+127>>7>Uf;)gv=++Uf<=109?0:Math.ceil((Uf-109)/127);var ch=[1,gv,Uf,Om,ac,ar,qi,0];return Rr.FileIndex[0].size=qi<<6,ch[7]=(Rr.FileIndex[0].start=ch[0]+ch[1]+ch[2]+ch[3]+ch[4]+ch[5])+(ch[6]+7>>3),ch}(ht),Gt=Vn(Lt[7]<<9),$t=0,jn=0;for($t=0;$t<8;++$t)Gt.write_shift(1,Qi[$t]);for($t=0;$t<8;++$t)Gt.write_shift(2,0);for(Gt.write_shift(2,62),Gt.write_shift(2,3),Gt.write_shift(2,65534),Gt.write_shift(2,9),Gt.write_shift(2,6),$t=0;$t<3;++$t)Gt.write_shift(2,0);for(Gt.write_shift(4,0),Gt.write_shift(4,Lt[2]),Gt.write_shift(4,Lt[0]+Lt[1]+Lt[2]+Lt[3]-1),Gt.write_shift(4,0),Gt.write_shift(4,4096),Gt.write_shift(4,Lt[3]?Lt[0]+Lt[1]+Lt[2]-1:$i),Gt.write_shift(4,Lt[3]),Gt.write_shift(-4,Lt[1]?Lt[0]-1:$i),Gt.write_shift(4,Lt[1]),$t=0;$t<109;++$t)Gt.write_shift(-4,$t>9));for(si(Lt[6]+7>>3);511&Gt.l;)Gt.write_shift(-4,Gr.ENDOFCHAIN);for(jn=$t=0,Wn=0;Wn=4096)&&($n.start=jn,si(zn+63>>6));for(;511&Gt.l;)Gt.write_shift(-4,Gr.ENDOFCHAIN);for($t=0;$t=4096)if(Gt.l=$n.start+1<<9,ae&&Buffer.isBuffer($n.content))$n.content.copy(Gt,Gt.l,0,$n.size),Gt.l+=$n.size+511&-512;else{for(Wn=0;Wn<$n.size;++Wn)Gt.write_shift(1,$n.content[Wn]);for(;511&Wn;++Wn)Gt.write_shift(1,0)}for($t=1;$t0&&$n.size<4096)if(ae&&Buffer.isBuffer($n.content))$n.content.copy(Gt,Gt.l,0,$n.size),Gt.l+=$n.size+63&-64;else{for(Wn=0;Wn<$n.size;++Wn)Gt.write_shift(1,$n.content[Wn]);for(;63&Wn;++Wn)Gt.write_shift(1,0)}if(ae)Gt.l=Gt.length;else for(;Gt.l>16|Wt>>8|Wt));function qt(ht,Wt){var Dt=Ii[255&ht];return Wt<=8?Dt>>>8-Wt:(Dt=Dt<<8|Ii[ht>>8&255],Wt<=16?Dt>>>16-Wt:(Dt=Dt<<8|Ii[ht>>16&255])>>>24-Wt)}function Ha(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=6?0:ht[Lt+1]<<8))>>>Dt&3}function Ro(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=5?0:ht[Lt+1]<<8))>>>Dt&7}function Bo(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=3?0:ht[Lt+1]<<8))>>>Dt&31}function or(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=1?0:ht[Lt+1]<<8))>>>Dt&127}function Ol(ht,Wt,Dt){var Lt=7&Wt,Gt=Wt>>>3,jn=ht[Gt]>>>Lt;return Dt<8-Lt||(jn|=ht[Gt+1]<<8-Lt,Dt<16-Lt)||(jn|=ht[Gt+2]<<16-Lt,Dt<24-Lt)||(jn|=ht[Gt+3]<<24-Lt),jn&(1<>>3;return Lt<=5?ht[Gt]|=(7&Dt)<>8-Lt),Wt+3}function Sd(ht,Wt,Dt){return ht[Wt>>>3]|=Dt=(1&Dt)<<(7&Wt),Wt+1}function rh(ht,Wt,Dt){var Gt=Wt>>>3;return ht[Gt]|=255&(Dt<<=7&Wt),ht[Gt+1]=Dt>>>=8,Wt+8}function Qg(ht,Wt,Dt){var Gt=Wt>>>3;return ht[Gt]|=255&(Dt<<=7&Wt),ht[Gt+1]=255&(Dt>>>=8),ht[Gt+2]=Dt>>>8,Wt+16}function sh(ht,Wt){var Dt=ht.length,Lt=2*Dt>Wt?2*Dt:Wt+5,Gt=0;if(Dt>=Wt)return ht;if(ae){var $t=Ee(Lt);if(ht.copy)ht.copy($t);else for(;Gt>Lt-Bi,jn=(1<=0;--jn)Wt[si|jn<0;)Wn[Wn.l++]=si[zn++]}return Wn.l}(Wn,zn):function jn(si,Wn){for(var zn=0,$n=0,Bi=Zi?new Uint16Array(32768):[];$n0;)Wn[Wn.l++]=si[$n++];zn=8*Wn.l}else{zn=Fu(Wn,zn,+($n+Xi==si.length)+2);for(var Rr=0;Xi-- >0;){var qi=si[$n],ar=-1,$s=0;if((ar=Bi[Rr=32767&(Rr<<5^qi)])&&((ar|=-32768&$n)>$n&&(ar-=32768),ar<$n))for(;si[ar+$s]==si[$n+$s]&&$s<250;)++$s;if($s>2){(qi=Gt[$s])<=22?zn=rh(Wn,zn,Ii[qi+1]>>1)-1:(rh(Wn,zn,3),rh(Wn,zn+=5,Ii[qi-23]>>5),zn+=3);var Ll=qi<8?0:qi-4>>2;Ll>0&&(Qg(Wn,zn,$s-ui[qi]),zn+=Ll),zn=rh(Wn,zn,Ii[qi=Wt[$n-ar]]>>3),zn-=3;var ou=qi<4?0:qi-2>>1;ou>0&&(Qg(Wn,zn,$n-ar-ur[qi]),zn+=ou);for(var ac=0;ac<$s;++ac)Bi[Rr]=32767&$n,Rr=32767&(Rr<<5^si[$n]),++$n;Xi-=$s-1}else qi<=143?qi+=48:zn=Sd(Wn,zn,1),zn=rh(Wn,zn,Ii[qi]),Bi[Rr]=32767&$n,++$n}zn=rh(Wn,zn,0)-1}}return Wn.l=(zn+7)/8|0,Wn.l}(Wn,zn)}}();function Uo(ht){var Wt=Vn(50+Math.floor(1.1*ht.length)),Dt=lh(ht,Wt);return Wt.slice(0,Dt)}var Cc=Zi?new Uint16Array(32768):gu(32768),ud=Zi?new Uint16Array(32768):gu(32768),vc=Zi?new Uint16Array(128):gu(128),kd=1,TA=1;function B1(ht,Wt){var Dt=Bo(ht,Wt)+257,Lt=Bo(ht,Wt+=5)+1,Gt=function ja(ht,Wt){var Dt=7&Wt,Lt=Wt>>>3;return(ht[Lt]|(Dt<=4?0:ht[Lt+1]<<8))>>>Dt&15}(ht,Wt+=5)+4;Wt+=4;for(var $t=0,jn=Zi?new Uint8Array(19):gu(19),si=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Wn=1,zn=Zi?new Uint8Array(8):gu(8),$n=Zi?new Uint8Array(8):gu(8),Bi=jn.length,Xi=0;Xi>8-qi;for(var ar=(1<<7-qi)-1;ar>=0;--ar)vc[Rr|ar<>>=3){case 16:for($t=3+Ha(ht,Wt),Wt+=2,Rr=$s[$s.length-1];$t-- >0;)$s.push(Rr);break;case 17:for($t=3+Ro(ht,Wt),Wt+=3;$t-- >0;)$s.push(0);break;case 18:for($t=11+or(ht,Wt),Wt+=7;$t-- >0;)$s.push(0);break;default:$s.push(Rr),Wn>>0,si=0,Wn=0;!(1&Lt);)if(Lt=Ro(ht,Dt),Dt+=3,Lt>>>1)for(Lt>>1==1?(si=9,Wn=5):(Dt=B1(ht,Dt),si=kd,Wn=TA);;){!Wt&&jn<$t+32767&&(jn=(Gt=sh(Gt,$t+32767)).length);var $n=Ol(ht,Dt,si),Bi=Lt>>>1==1?ah[$n]:Cc[$n];if(Dt+=15&Bi,(Bi>>>=4)>>>8&255){if(256==Bi)break;var Xi=(Bi-=257)<8?0:Bi-4>>2;Xi>5&&(Xi=0);var Rr=$t+ui[Bi];Xi>0&&(Rr+=Ol(ht,Dt,Xi),Dt+=Xi),$n=Ol(ht,Dt,Wn),Dt+=15&(Bi=Lt>>>1==1?Sm[$n]:ud[$n]);var qi=(Bi>>>=4)<4?0:Bi-2>>1,ar=ur[Bi];for(qi>0&&(ar+=Ol(ht,Dt,qi),Dt+=qi),!Wt&&jn>>3]|ht[1+(Dt>>>3)]<<8;if(Dt+=32,zn>0)for(!Wt&&jn<$t+zn&&(jn=(Gt=sh(Gt,$t+zn)).length);zn-- >0;)Gt[$t++]=ht[Dt>>>3],Dt+=8}return Wt?[Gt,Dt+7>>>3]:[Gt.slice(0,$t),Dt+7>>>3]}(ht.slice(ht.l||0),Wt);return ht.l+=Lt[1],Lt[0]}function wA(ht,Wt){if(!ht)throw new Error(Wt);typeof console<"u"&&console.error(Wt)}function MA(ht,Wt){var Dt=ht;so(Dt,0);var $t={FileIndex:[],FullPaths:[]};rn($t,{root:Wt.root});for(var jn=Dt.length-4;(80!=Dt[jn]||75!=Dt[jn+1]||5!=Dt[jn+2]||6!=Dt[jn+3])&&jn>=0;)--jn;Dt.l=jn+4,Dt.l+=4;var si=Dt.read_shift(2);Dt.l+=6;var Wn=Dt.read_shift(4);for(Dt.l=Wn,jn=0;jn>>=5);Dt>>>=4,Lt.setMilliseconds(0),Lt.setFullYear(Dt+1980),Lt.setMonth($t-1),Lt.setDate(Gt);var jn=31&Wt,si=63&(Wt>>>=5);return Lt.setHours(Wt>>>=6),Lt.setMinutes(si),Lt.setSeconds(jn<<1),Lt}(ht);if(8257&$t)throw new Error("Unsupported ZIP encryption");ht.read_shift(4);for(var zn=ht.read_shift(4),$n=ht.read_shift(4),Bi=ht.read_shift(2),Xi=ht.read_shift(2),Rr="",qi=0;qi"u")throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function ss(e,s,r){if(typeof Ti<"u"&&Ti.writeFileSync)return r?Ti.writeFileSync(e,s,r):Ti.writeFileSync(e,s);if(typeof Deno<"u"){if(r&&"string"==typeof s)switch(r){case"utf8":s=new TextEncoder(r).encode(s);break;case"binary":s=gt(s);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,s)}var h="utf8"==r?Ji(s):s;if(typeof IE_SaveFile<"u")return IE_SaveFile(h,e);if(typeof Blob<"u"){var f=new Blob([Hr(h)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(f,e);if(typeof saveAs<"u")return saveAs(f,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var T=URL.createObjectURL(f);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(T)},6e4),chrome.downloads.download({url:T,filename:e,saveAs:!0});var D=document.createElement("a");if(null!=D.download)return D.download=e,D.href=T,document.body.appendChild(D),D.click(),document.body.removeChild(D),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(T)},6e4),T}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var B=File(e);return B.open("w"),B.encoding="binary",Array.isArray(s)&&(s=Ze(s)),B.write(s),B.close(),s}catch(ee){if(!ee.message||!ee.message.match(/onstruct/))throw ee}throw new Error("cannot save file "+e)}function Ki(e){for(var s=Object.keys(e),r=[],h=0;h0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):s<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==Ds.getFullYear()&&!isNaN(r.getFullYear())){var h=r.getFullYear();return e.indexOf(""+h)>-1||r.setFullYear(r.getFullYear()+100),r}var f=e.match(/\d+/g)||["2017","2","19","0","0","0"],T=new Date(+f[0],+f[1]-1,+f[2],+f[3]||0,+f[4]||0,+f[5]||0);return e.indexOf("Z")>-1&&(T=new Date(T.getTime()-60*T.getTimezoneOffset()*1e3)),T}function dt(e,s){if(ae&&Buffer.isBuffer(e)){if(s){if(255==e[0]&&254==e[1])return Ji(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Ji(function H(e){for(var s=[],r=0;r>1;++r)s[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return s.join("")}(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(s){if(255==e[0]&&254==e[1])return Ji(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Ji(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"\u20ac":"\x80","\u201a":"\x82",\u0192:"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87",\u02c6:"\x88","\u2030":"\x89",\u0160:"\x8a","\u2039":"\x8b",\u0152:"\x8c",\u017d:"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99",\u0161:"\x9a","\u203a":"\x9b",\u0153:"\x9c",\u017e:"\x9e",\u0178:"\x9f"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,function(T){return r[T]||T})}catch{}for(var h=[],f=0;f!=e.length;++f)h.push(String.fromCharCode(e[f]));return h.join("")}function Tt(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var s={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(s[r]=Tt(e[r]));return s}function un(e,s){for(var r="";r.length3&&-1==Ui.indexOf(D))return r}else if(D.match(/[a-z]/))return r;return h<0||h>8099?r:(f>0||T>1)&&101!=h?s:e.match(/[^-0-9:,\/\\]/)?r:s}function er(e,s,r){if(e.FullPaths){var h;if("string"==typeof r)return h=ae?oe(r):function pt(e){for(var s=[],r=0,h=e.length+250,f=ye(e.length+255),T=0;T>6&31,f[r++]=128|63&D;else if(D>=55296&&D<57344){D=64+(1023&D);var B=1023&e.charCodeAt(++T);f[r++]=240|D>>8&7,f[r++]=128|D>>2&63,f[r++]=128|B>>6&15|(3&D)<<4,f[r++]=128|63&B}else f[r++]=224|D>>12&15,f[r++]=128|D>>6&63,f[r++]=128|63&D;r>h&&(s.push(f.slice(0,r)),r=0,f=ye(65535),h=65530)}return s.push(f.slice(0,r)),Qe(s)}(r),nn.utils.cfb_add(e,s,h);nn.utils.cfb_add(e,s,r)}else e.file(s,r)}function Cr(){return nn.utils.cfb_new()}var ds='\r\n',$r=jr({""":'"',"'":"'",">":">","<":"<","&":"&"}),Ho=/[&<>'"]/g,no=/[\u0000-\u0008\u000b-\u001f]/g;function Vr(e){return(e+"").replace(Ho,function(r){return $r[r]}).replace(no,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function os(e){return Vr(e).replace(/ /g,"_x0020_")}var $o=/[\u0000-\u001f]/g;function Ko(e){return(e+"").replace(Ho,function(r){return $r[r]}).replace(/\n/g,"
    ").replace($o,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function gr(e){for(var s="",r=0,h=0,f=0,T=0,D=0,B=0;r191&&h<224?(D=(31&h)<<6,D|=63&f,s+=String.fromCharCode(D)):(T=e.charCodeAt(r++),h<240?s+=String.fromCharCode((15&h)<<12|(63&f)<<6|63&T):(B=((7&h)<<18|(63&f)<<12|(63&T)<<6|63&(D=e.charCodeAt(r++)))-65536,s+=String.fromCharCode(55296+(B>>>10&1023)),s+=String.fromCharCode(56320+(1023&B)))));return s}function Us(e){var r,h,B,s=ye(2*e.length),f=1,T=0,D=0;for(h=0;h>>10&1023),r=56320+(1023&r)),0!==D&&(s[T++]=255&D,s[T++]=D>>>8,D=0),s[T++]=r%256,s[T++]=r>>>8;return s.slice(0,T).toString("ucs2")}function Rs(e){return oe(e,"binary").toString("utf8")}var Mr="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",Zr=ae&&(Rs(Mr)==gr(Mr)&&Rs||Us(Mr)==gr(Mr)&&Us)||gr,Ji=ae?function(e){return oe(e,"utf8").toString("binary")}:function(e){for(var s=[],r=0,h=0,f=0;r>6))),s.push(String.fromCharCode(128+(63&h)));break;case h>=55296&&h<57344:h-=55296,f=e.charCodeAt(r++)-56320+(h<<10),s.push(String.fromCharCode(240+(f>>18&7))),s.push(String.fromCharCode(144+(f>>12&63))),s.push(String.fromCharCode(128+(f>>6&63))),s.push(String.fromCharCode(128+(63&f)));break;default:s.push(String.fromCharCode(224+(h>>12))),s.push(String.fromCharCode(128+(h>>6&63))),s.push(String.fromCharCode(128+(63&h)))}return s.join("")},Oo=function(){var e=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(s){return[new RegExp("&"+s[0]+";","ig"),s[1]]});return function(r){for(var h=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),f=0;f"+s+""}function io(e){return Ki(e).map(function(s){return" "+s+'="'+e[s]+'"'}).join("")}function Ci(e,s,r){return"<"+e+(null!=r?io(r):"")+(null!=s?(s.match(Kl)?' xml:space="preserve"':"")+">"+s+""}function Pl(e,s){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(s)throw r}return""}var Lr={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Qs=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Hs={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"},jo=function(e){for(var s=[],h=0;h0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(s){return Buffer.isBuffer(s)?s:oe(s)})):jo(e)}:jo,nl=function(e,s,r){for(var h=[],f=s;f0?yl(e,s+4,s+4+r-1):""},il=Bc,As=function(e,s){var r=Ts(e,s);return r>0?yl(e,s+4,s+4+r-1):""},_l=As,ya=function(e,s){var r=2*Ts(e,s);return r>0?yl(e,s+4,s+4+r-1):""},Ne=ya,ze=function(s,r){var h=Ts(s,r);return h>0?ia(s,r+4,r+4+h):""},Ce=ze,ut=function(e,s){var r=Ts(e,s);return r>0?yl(e,s+4,s+4+r):""},Zt=ut,Yi=function(e,s){return function Da(e,s){for(var r=1-2*(e[s+7]>>>7),h=((127&e[s+7])<<4)+(e[s+6]>>>4&15),f=15&e[s+6],T=5;T>=0;--T)f=256*f+e[s+T];return 2047==h?0==f?r*(1/0):NaN:(0==h?h=-1022:(h-=1023,f+=Math.pow(2,52)),r*Math.pow(2,h-52)*f)}(e,s)},lr=Yi,ro=function(s){return Array.isArray(s)||typeof Uint8Array<"u"&&s instanceof Uint8Array};ae&&(il=function(s,r){if(!Buffer.isBuffer(s))return Bc(s,r);var h=s.readUInt32LE(r);return h>0?s.toString("utf8",r+4,r+4+h-1):""},_l=function(s,r){if(!Buffer.isBuffer(s))return As(s,r);var h=s.readUInt32LE(r);return h>0?s.toString("utf8",r+4,r+4+h-1):""},Ne=function(s,r){if(!Buffer.isBuffer(s))return ya(s,r);var h=2*s.readUInt32LE(r);return s.toString("utf16le",r+4,r+4+h-1)},Ce=function(s,r){if(!Buffer.isBuffer(s))return ze(s,r);var h=s.readUInt32LE(r);return s.toString("utf16le",r+4,r+4+h)},Zt=function(s,r){if(!Buffer.isBuffer(s))return ut(s,r);var h=s.readUInt32LE(r);return s.toString("utf8",r+4,r+4+h)},lr=function(s,r){return Buffer.isBuffer(s)?s.readDoubleLE(r):Yi(s,r)},ro=function(s){return Buffer.isBuffer(s)||Array.isArray(s)||typeof Uint8Array<"u"&&s instanceof Uint8Array}),typeof me<"u"&&function Xs(){ia=function(e,s,r){return me.utils.decode(1200,e.slice(s,r)).replace(Nt,"")},yl=function(e,s,r){return me.utils.decode(65001,e.slice(s,r))},il=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(A,e.slice(s+4,s+4+r-1)):""},_l=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(t,e.slice(s+4,s+4+r-1)):""},Ne=function(e,s){var r=2*Ts(e,s);return r>0?me.utils.decode(1200,e.slice(s+4,s+4+r-1)):""},Ce=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(1200,e.slice(s+4,s+4+r)):""},Zt=function(e,s){var r=Ts(e,s);return r>0?me.utils.decode(65001,e.slice(s+4,s+4+r)):""}}();var Jo=function(e,s){return e[s]},Qo=function(e,s){return 256*e[s+1]+e[s]},ga=function(e,s){var r=256*e[s+1]+e[s];return r<32768?r:-1*(65535-r+1)},Ts=function(e,s){return e[s+3]*(1<<24)+(e[s+2]<<16)+(e[s+1]<<8)+e[s]},rl=function(e,s){return e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s]},kc=function(e,s){return e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]};function Cs(e,s){var h,f,D,B,ee,se,r="",T=[];switch(s){case"dbcs":if(se=this.l,ae&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(ee=0;ee0?rl:kc)(this,this.l),this.l+=4,h);case 8:case-8:if("f"===s)return f=8==e?lr(this,this.l):lr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,f;e=8;case 16:r=ka(this,this.l,e)}}return this.l+=e,r}var Rl=function(e,s,r){e[r]=255&s,e[r+1]=s>>>8&255,e[r+2]=s>>>16&255,e[r+3]=s>>>24&255},pa=function(e,s,r){e[r]=255&s,e[r+1]=s>>8&255,e[r+2]=s>>16&255,e[r+3]=s>>24&255},ba=function(e,s,r){e[r]=255&s,e[r+1]=s>>>8&255};function Jl(e,s,r){var h=0,f=0;if("dbcs"===r){for(f=0;f!=s.length;++f)ba(this,s.charCodeAt(f),this.l+2*f);h=2*s.length}else if("sbcs"===r){if(typeof me<"u"&&874==A)for(f=0;f!=s.length;++f){var T=me.utils.encode(A,s.charAt(f));this[this.l+f]=T[0]}else for(s=s.replace(/[^\x00-\x7F]/g,"_"),f=0;f!=s.length;++f)this[this.l+f]=255&s.charCodeAt(f);h=s.length}else{if("hex"===r){for(;f>8}for(;this.l>>=8);break;case 3:h=3,this[this.l]=255&s,this[this.l+1]=255&(s>>>=8),this[this.l+2]=255&(s>>>=8);break;case 4:h=4,Rl(this,s,this.l);break;case 8:if(h=8,"f"===r){!function Za(e,s,r){var h=(s<0||1/s==-1/0?1:0)<<7,f=0,T=0,D=h?-s:s;isFinite(D)?0==D?f=T=0:(f=Math.floor(Math.log(D)/Math.LN2),T=D*Math.pow(2,52-f),f<=-1023&&(!isFinite(T)||T>4|h}(this,s,this.l);break}case 16:break;case-4:h=4,pa(this,s,this.l)}}return this.l+=h,this}function Fa(e,s){var r=ka(this,this.l,e.length>>1);if(r!==e)throw new Error(s+"Expected "+e+" saw "+r);this.l+=e.length>>1}function so(e,s){e.l=s,e.read_shift=Cs,e.chk=Fa,e.write_shift=Jl}function Vs(e,s){e.l+=s}function Vn(e){var s=ye(e);return so(s,0),s}function ra(){var e=[],s=ae?256:2048,r=function(se){var de=Vn(se);return so(de,0),de},h=r(s),f=function(){h&&(h.length>h.l&&((h=h.slice(0,h.l)).l=h.length),h.length>0&&e.push(h),h=null)},T=function(se){return h&&se=128?1:0)+1,h>=128&&++T,h>=16384&&++T,h>=2097152&&++T;var D=e.next(T);f<=127?D.write_shift(1,f):(D.write_shift(1,128+(127&f)),D.write_shift(1,f>>7));for(var B=0;4!=B;++B){if(!(h>=128)){D.write_shift(1,h);break}D.write_shift(1,128+(127&h)),h>>=7}h>0&&ro(r)&&e.push(r)}}function Nl(e,s,r){var h=Tt(e);if(s.s?(h.cRel&&(h.c+=s.s.c),h.rRel&&(h.r+=s.s.r)):(h.cRel&&(h.c+=s.c),h.rRel&&(h.r+=s.r)),!r||r.biff<12){for(;h.c>=256;)h.c-=256;for(;h.r>=65536;)h.r-=65536}return h}function Oc(e,s,r){var h=Tt(e);return h.s=Nl(h.s,s.s,r),h.e=Nl(h.e,s.s,r),h}function sl(e,s){if(e.cRel&&e.c<0)for(e=Tt(e);e.c<0;)e.c+=s>8?16384:256;if(e.rRel&&e.r<0)for(e=Tt(e);e.r<0;)e.r+=s>8?1048576:s>5?65536:16384;var r=hr(e);return!e.cRel&&null!=e.cRel&&(r=function vl(e){return e.replace(/^([A-Z])/,"$$$1")}(r)),!e.rRel&&null!=e.rRel&&(r=function Lc(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function bl(e,s){return 0!=e.s.r||e.s.rRel||e.e.r!=(s.biff>=12?1048575:s.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(s.biff>=12?16383:255)||e.e.cRel?sl(e.s,s.biff)+":"+sl(e.e,s.biff):(e.s.rRel?"":"$")+Ao(e.s.r)+":"+(e.e.rRel?"":"$")+Ao(e.e.r):(e.s.cRel?"":"$")+hs(e.s.c)+":"+(e.e.cRel?"":"$")+hs(e.e.c)}function Cl(e){return parseInt(function ol(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function Ao(e){return""+(e+1)}function Xo(e){for(var s=function al(e){return e.replace(/^\$([A-Z])/,"$1")}(e),r=0,h=0;h!==s.length;++h)r=26*r+s.charCodeAt(h)-64;return r-1}function hs(e){if(e<0)throw new Error("invalid column "+e);var s="";for(++e;e;e=Math.floor((e-1)/26))s=String.fromCharCode((e-1)%26+65)+s;return s}function Io(e){for(var s=0,r=0,h=0;h=48&&f<=57?s=10*s+(f-48):f>=65&&f<=90&&(r=26*r+(f-64))}return{c:r-1,r:s-1}}function hr(e){for(var s=e.c+1,r="";s;s=(s-1)/26|0)r=String.fromCharCode((s-1)%26+65)+r;return r+(e.r+1)}function zo(e){var s=e.indexOf(":");return-1==s?{s:Io(e),e:Io(e)}:{s:Io(e.slice(0,s)),e:Io(e.slice(s+1))}}function Wr(e,s){return typeof s>"u"||"number"==typeof s?Wr(e.s,e.e):("string"!=typeof e&&(e=hr(e)),"string"!=typeof s&&(s=hr(s)),e==s?e:e+":"+s)}function is(e){var s={s:{c:0,r:0},e:{c:0,r:0}},r=0,h=0,f=0,T=e.length;for(r=0;h26);++h)r=26*r+f;for(s.s.c=--r,r=0;h9);++h)r=10*r+f;if(s.s.r=--r,h===T||10!=f)return s.e.c=s.s.c,s.e.r=s.s.r,s;for(++h,r=0;h!=T&&!((f=e.charCodeAt(h)-64)<1||f>26);++h)r=26*r+f;for(s.e.c=--r,r=0;h!=T&&!((f=e.charCodeAt(h)-48)<0||f>9);++h)r=10*r+f;return s.e.r=--r,s}function re(e,s,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Ea[e.v]||e.v:function Ql(e,s){var r="d"==e.t&&s instanceof Date;if(null!=e.z)try{return e.w=Xe(e.z,r?Nr(s):s)}catch{}try{return e.w=Xe((e.XF||{}).numFmtId||(r?14:0),r?Nr(s):s)}catch{return""+s}}(e,null==s?e.v:s))}function qe(e,s){var r=s&&s.sheet?s.sheet:"Sheet1",h={};return h[r]=e,{SheetNames:[r],Sheets:h}}function Te(e,s,r){var h=r||{},f=e?Array.isArray(e):h.dense;null!=Se&&null==f&&(f=Se);var T=e||(f?[]:{}),D=0,B=0;if(T&&null!=h.origin){if("number"==typeof h.origin)D=h.origin;else{var ee="string"==typeof h.origin?Io(h.origin):h.origin;D=ee.r,B=ee.c}T["!ref"]||(T["!ref"]="A1:A1")}var se={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(T["!ref"]){var de=is(T["!ref"]);se.s.c=de.s.c,se.s.r=de.s.r,se.e.c=Math.max(se.e.c,de.e.c),se.e.r=Math.max(se.e.r,de.e.r),-1==D&&(se.e.r=D=de.e.r+1)}for(var Fe=0;Fe!=s.length;++Fe)if(s[Fe]){if(!Array.isArray(s[Fe]))throw new Error("aoa_to_sheet expects an array of arrays");for(var Be=0;Be!=s[Fe].length;++Be)if(!(typeof s[Fe][Be]>"u")){var $e={v:s[Fe][Be]},rt=D+Fe,Re=B+Be;if(se.s.r>rt&&(se.s.r=rt),se.s.c>Re&&(se.s.c=Re),se.e.r0&&s.write_shift(0,e,"dbcs"),r?s.slice(0,s.l):s}function ps(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function ls(e,s){var r=e.l,h=e.read_shift(1),f=Hn(e),T=[],D={t:f,h:f};if(1&h){for(var B=e.read_shift(4),ee=0;ee!=B;++ee)T.push(ps(e));D.r=T}else D.r=[{ich:0,ifnt:0}];return e.l=r+s,D}var Ws=ls;function rs(e){var s=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:s,iStyleRef:r}}function ea(e,s){return null==s&&(s=Vn(8)),s.write_shift(-4,e.c),s.write_shift(3,e.iStyleRef||e.s),s.write_shift(1,0),s}function Zs(e){var s=e.read_shift(2);return s+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:s}}function xa(e,s){return null==s&&(s=Vn(4)),s.write_shift(3,e.iStyleRef||e.s),s.write_shift(1,0),s}var Ya=Hn,$a=Si;function fo(e){var s=e.read_shift(4);return 0===s||4294967295===s?"":e.read_shift(s,"dbcs")}function za(e,s){var r=!1;return null==s&&(r=!0,s=Vn(127)),s.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&s.write_shift(0,e,"dbcs"),r?s.slice(0,s.l):s}var Uc=Hn,Es=fo,Vl=za;function Ka(e){var s=e.slice(e.l,e.l+4),r=1&s[0],h=2&s[0];e.l+=4;var f=0===h?lr([0,0,0,0,252&s[0],s[1],s[2],s[3]],0):rl(s,0)>>2;return r?f/100:f}function go(e,s){null==s&&(s=Vn(4));var r=0,h=0,f=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?h=1:f==(0|f)&&f>=-(1<<29)&&f<1<<29&&(h=1,r=1),!h)throw new Error("unsupported RkNumber "+e);s.write_shift(-4,((r?f:e)<<2)+(r+2))}function Fl(e){var s={s:{},e:{}};return s.s.r=e.read_shift(4),s.e.r=e.read_shift(4),s.s.c=e.read_shift(4),s.e.c=e.read_shift(4),s}var po=Fl,yo=function Ba(e,s){return s||(s=Vn(16)),s.write_shift(4,e.s.r),s.write_shift(4,e.e.r),s.write_shift(4,e.s.c),s.write_shift(4,e.e.c),s};function ma(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function xl(e,s){return(s||Vn(8)).write_shift(8,e,"f")}function _a(e,s){if(s||(s=Vn(8)),!e||e.auto)return s.write_shift(4,0),s.write_shift(4,0),s;null!=e.index?(s.write_shift(1,2),s.write_shift(1,e.index)):null!=e.theme?(s.write_shift(1,6),s.write_shift(1,e.theme)):(s.write_shift(1,5),s.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),s.write_shift(2,r),e.rgb&&null==e.theme){var h=e.rgb||"FFFFFF";"number"==typeof h&&(h=("000000"+h.toString(16)).slice(-6)),s.write_shift(1,parseInt(h.slice(0,2),16)),s.write_shift(1,parseInt(h.slice(2,4),16)),s.write_shift(1,parseInt(h.slice(4,6),16)),s.write_shift(1,255)}else s.write_shift(2,0),s.write_shift(1,0),s.write_shift(1,0);return s}var es={1:{n:"CodePage",t:2},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Ic={1:{n:"CodePage",t:2},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function Rc(e){return e.map(function(s){return[s>>16&255,s>>8&255,255&s]})}var Oa=Tt(Rc([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Ea={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},jc={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Nc={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Qa(e,s){var f,r=function Co(e){for(var s=[],r=Ki(e),h=0;h!==r.length;++h)null==s[e[r[h]]]&&(s[e[r[h]]]=[]),s[e[r[h]]].push(r[h]);return s}(jc),h=[];h[h.length]=ds,h[h.length]=Ci("Types",null,{xmlns:Lr.CT,"xmlns:xsd":Lr.xsd,"xmlns:xsi":Lr.xsi}),h=h.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(ee){return Ci("Default",null,{Extension:ee[0],ContentType:ee[1]})}));var T=function(ee){e[ee]&&e[ee].length>0&&(h[h.length]=Ci("Override",null,{PartName:("/"==(f=e[ee][0])[0]?"":"/")+f,ContentType:Nc[ee][s.bookType]||Nc[ee].xlsx}))},D=function(ee){(e[ee]||[]).forEach(function(se){h[h.length]=Ci("Override",null,{PartName:("/"==se[0]?"":"/")+se,ContentType:Nc[ee][s.bookType]||Nc[ee].xlsx})})},B=function(ee){(e[ee]||[]).forEach(function(se){h[h.length]=Ci("Override",null,{PartName:("/"==se[0]?"":"/")+se,ContentType:r[ee][0]})})};return T("workbooks"),D("sheets"),D("charts"),B("themes"),["strs","styles"].forEach(T),["coreprops","extprops","custprops"].forEach(B),B("vba"),B("comments"),B("threadedcomments"),B("drawings"),D("metadata"),B("people"),h.length>2&&(h[h.length]="",h[1]=h[1].replace("/>",">")),h.join("")}var Kr={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function oo(e){var s=e.lastIndexOf("/");return e.slice(0,s+1)+"_rels/"+e.slice(s+1)+".rels"}function dc(e){var s=[ds,Ci("Relationships",null,{xmlns:Lr.RELS})];return Ki(e["!id"]).forEach(function(r){s[s.length]=Ci("Relationship",null,e["!id"][r])}),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function he(e,s,r,h,f,T){if(f||(f={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),s<0)for(s=e["!idx"];e["!id"]["rId"+s];++s);if(e["!idx"]=s+1,f.Id="rId"+s,f.Type=h,f.Target=r,T?f.TargetMode=T:[Kr.HLINK,Kr.XPATH,Kr.XMISS].indexOf(f.Type)>-1&&(f.TargetMode="External"),e["!id"][f.Id])throw new Error("Cannot rewrite rId "+s);return e["!id"][f.Id]=f,e[("/"+f.Target).replace("//","/")]=f,s}function je(e,s,r){return[' \n',' \n'," \n"].join("")}function E(e,s){return[' \n',' \n'," \n"].join("")}function M(){return'SheetJS '+i.version+""}var W=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function et(e,s,r,h,f){null!=f[e]||null==s||""===s||(f[e]=s,s=Vr(s),h[h.length]=r?Ci(e,s,r):vo(e,s))}function q(e,s){var r=s||{},h=[ds,Ci("cp:coreProperties",null,{"xmlns:cp":Lr.CORE_PROPS,"xmlns:dc":Lr.dc,"xmlns:dcterms":Lr.dcterms,"xmlns:dcmitype":Lr.dcmitype,"xmlns:xsi":Lr.xsi})],f={};if(!e&&!r.Props)return h.join("");e&&(null!=e.CreatedDate&&et("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:Pl(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},h,f),null!=e.ModifiedDate&&et("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:Pl(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},h,f));for(var T=0;T!=W.length;++T){var D=W[T],B=r.Props&&null!=r.Props[D[1]]?r.Props[D[1]]:e?e[D[1]]:null;!0===B?B="1":!1===B?B="0":"number"==typeof B&&(B=String(B)),null!=B&&et(D[0],B,null,h,f)}return h.length>2&&(h[h.length]="",h[1]=h[1].replace("/>",">")),h.join("")}var U=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],Y=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Ve(e){var s=[],r=Ci;return e||(e={}),e.Application="SheetJS",s[s.length]=ds,s[s.length]=Ci("Properties",null,{xmlns:Lr.EXT_PROPS,"xmlns:vt":Lr.vt}),U.forEach(function(h){if(void 0!==e[h[1]]){var f;switch(h[2]){case"string":f=Vr(String(e[h[1]]));break;case"bool":f=e[h[1]]?"true":"false"}void 0!==f&&(s[s.length]=r(h[0],f))}}),s[s.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),s[s.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(h){return""+Vr(h)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function Xt(e){var s=[ds,Ci("Properties",null,{xmlns:Lr.CUST_PROPS,"xmlns:vt":Lr.vt})];if(!e)return s.join("");var r=1;return Ki(e).forEach(function(f){++r,s[s.length]=Ci("property",function tl(e,s){switch(typeof e){case"string":var r=Ci("vt:lpwstr",Vr(e));return s&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return Ci((0|e)==e?"vt:i4":"vt:r8",Vr(String(e)));case"boolean":return Ci("vt:bool",e?"true":"false")}if(e instanceof Date)return Ci("vt:filetime",Pl(e));throw new Error("Unable to serialize "+e)}(e[f],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Vr(f)})}),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}var Cn={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function _o(e,s){var r=Vn(4),h=Vn(4);switch(r.write_shift(4,80==e?31:e),e){case 3:h.write_shift(-4,s);break;case 5:(h=Vn(8)).write_shift(8,s,"f");break;case 11:h.write_shift(4,s?1:0);break;case 64:h=function wi(e){var r=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,h=r%Math.pow(2,32),f=(r-h)/Math.pow(2,32);f*=1e7;var T=(h*=1e7)/Math.pow(2,32)|0;T>0&&(h%=Math.pow(2,32),f+=T);var D=Vn(8);return D.write_shift(4,h),D.write_shift(4,f),D}(s);break;case 31:case 80:for((h=Vn(4+2*(s.length+1)+(s.length%2?0:2))).write_shift(4,s.length+1),h.write_shift(0,s,"dbcs");h.l!=h.length;)h.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+s)}return Qe([r,h])}var ll=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function tr(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Ir(e,s,r){var h=Vn(8),f=[],T=[],D=8,B=0,ee=Vn(8),se=Vn(8);if(ee.write_shift(4,2),ee.write_shift(4,1200),se.write_shift(4,1),T.push(ee),f.push(se),D+=8+ee.length,!s){(se=Vn(8)).write_shift(4,0),f.unshift(se);var de=[Vn(4)];for(de[0].write_shift(4,e.length),B=0;B-1||Y.indexOf(e[B][0])>-1)&&null!=e[B][1]){var Be=e[B][1],$e=0;if(s){var rt=r[$e=+s[e[B][0]]];if("version"==rt.p&&"string"==typeof Be){var Re=Be.split(".");Be=(+Re[0]<<16)+(+Re[1]||0)}ee=_o(rt.t,Be)}else{var at=tr(Be);-1==at&&(at=31,Be=String(Be)),ee=_o(at,Be)}T.push(ee),(se=Vn(8)).write_shift(4,s?$e:2+B),f.push(se),D+=8+ee.length}var zt=8*(T.length+1);for(B=0;B=12?2:1),f="sbcs-cont",T=t;r&&r.biff>=8&&(t=1200),r&&8!=r.biff?12==r.biff&&(f="wstr"):e.read_shift(1)&&(f="dbcs-cont"),r.biff>=2&&r.biff<=5&&(f="cpstr");var B=h?e.read_shift(h,f):"";return t=T,B}function yc(e){var s=e.t||"",h=Vn(3);h.write_shift(2,s.length),h.write_shift(1,1);var f=Vn(2*s.length);return f.write_shift(2*s.length,s,"utf16le"),Qe([h,f])}function Ie(e,s,r){return r||(r=Vn(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Pr(e,s){s||(s=Vn(6+2*e.length)),s.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(h.charAt(0)){case"#":T=28;break;case".":T&=-3}s.write_shift(4,2),s.write_shift(4,T);var D=[8,6815827,6619237,4849780,83];for(r=0;r-1?h.slice(0,f):h;for(s.write_shift(4,2*(B.length+1)),r=0;r-1?h.slice(f+1):"",s)}else{for(D="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2;return[e.read_shift(h),e.read_shift(h,"i"),e.read_shift(h,"i")]}function dd(e){var s=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(2),r:s},e:{c:e.read_shift(2),r}}}function Uu(e,s){return s||(s=Vn(8)),s.write_shift(2,e.s.r),s.write_shift(2,e.e.r),s.write_shift(2,e.s.c),s.write_shift(2,e.e.c),s}function Vf(e,s,r){var h=1536,f=16;switch(r.bookType){case"biff8":case"xla":break;case"biff5":h=1280,f=8;break;case"biff4":h=4,f=6;break;case"biff3":h=3,f=6;break;case"biff2":h=2,f=4;break;default:throw new Error("unsupported BIFF version")}var T=Vn(f);return T.write_shift(2,h),T.write_shift(2,s),f>4&&T.write_shift(2,29282),f>6&&T.write_shift(2,1997),f>8&&(T.write_shift(2,49161),T.write_shift(2,1),T.write_shift(2,1798),T.write_shift(2,0)),T}function Gf(e,s){var r=!s||s.biff>=8?2:1,h=Vn(8+r*e.name.length);h.write_shift(4,e.pos),h.write_shift(1,e.hs||0),h.write_shift(1,e.dt),h.write_shift(1,e.name.length),s.biff>=8&&h.write_shift(1,1),h.write_shift(r*e.name.length,e.name,s.biff<8?"sbcs":"utf16le");var f=h.slice(0,h.l);return f.l=h.l,f}function tf(e,s,r,h){var f=r&&5==r.biff;h||(h=Vn(f?3+s.length:5+2*s.length)),h.write_shift(2,e),h.write_shift(f?1:2,s.length),f||h.write_shift(1,1),h.write_shift((f?1:2)*s.length,s,f?"sbcs":"utf16le");var T=h.length>h.l?h.slice(0,h.l):h;return null==T.l&&(T.l=T.length),T}function fh(e,s,r,h){var f=r&&5==r.biff;h||(h=Vn(f?16:20)),h.write_shift(2,0),e.style?(h.write_shift(2,e.numFmtId||0),h.write_shift(2,65524)):(h.write_shift(2,e.numFmtId||0),h.write_shift(2,s<<4));var T=0;return e.numFmtId>0&&f&&(T|=1024),h.write_shift(4,T),h.write_shift(4,0),f||h.write_shift(4,0),h.write_shift(2,0),h}function cp(e){var s=Vn(24),r=Io(e[0]);s.write_shift(2,r.r),s.write_shift(2,r.r),s.write_shift(2,r.c),s.write_shift(2,r.c);for(var h="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),f=0;f<16;++f)s.write_shift(1,parseInt(h[f],16));return Qe([s,Sl(e[1])])}function cf(e){var s=e[1].Tooltip,r=Vn(10+2*(s.length+1));r.write_shift(2,2048);var h=Io(e[0]);r.write_shift(2,h.r),r.write_shift(2,h.r),r.write_shift(2,h.c),r.write_shift(2,h.c);for(var f=0;f1048576&&(Re=1e6),2!=Fe&&(at=de.read_shift(2));var zt=de.read_shift(2),Vt=ee.codepage||1252;2!=Fe&&(de.l+=16,de.read_shift(1),0!==de[de.l]&&(Vt=e[de[de.l]]),de.l+=1,de.l+=2),rt&&(de.l+=36);for(var kt=[],wn={},Un=Math.min(de.length,2==Fe?521:at-10-($e?264:0)),ei=rt?32:11;de.l0;)if(42!==de[de.l])for(++de.l,se[++rn]=[],Nn=0,Nn=0;Nn!=kt.length;++Nn){var Sn=de.slice(de.l,de.l+kt[Nn].len);de.l+=kt[Nn].len,so(Sn,0);var ti=me.utils.decode(Vt,Sn);switch(kt[Nn].type){case"C":ti.trim().length&&(se[rn][Nn]=ti.replace(/\s+$/,""));break;case"D":se[rn][Nn]=8===ti.length?new Date(+ti.slice(0,4),+ti.slice(4,6)-1,+ti.slice(6,8)):ti;break;case"F":se[rn][Nn]=parseFloat(ti.trim());break;case"+":case"I":se[rn][Nn]=rt?2147483648^Sn.read_shift(-4,"i"):Sn.read_shift(4,"i");break;case"L":switch(ti.trim().toUpperCase()){case"Y":case"T":se[rn][Nn]=!0;break;case"N":case"F":se[rn][Nn]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+ti+"|")}break;case"M":if(!Be)throw new Error("DBF Unexpected MEMO for type "+Fe.toString(16));se[rn][Nn]="##MEMO##"+(rt?parseInt(ti.trim(),10):Sn.read_shift(4));break;case"N":(ti=ti.replace(/\u0000/g,"").trim())&&"."!=ti&&(se[rn][Nn]=+ti||0);break;case"@":se[rn][Nn]=new Date(Sn.read_shift(-8,"f")-621356832e5);break;case"T":se[rn][Nn]=new Date(864e5*(Sn.read_shift(4)-2440588)+Sn.read_shift(4));break;case"Y":se[rn][Nn]=Sn.read_shift(4,"i")/1e4+Sn.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":se[rn][Nn]=-Sn.read_shift(-8,"f");break;case"B":if($e&&8==kt[Nn].len){se[rn][Nn]=Sn.read_shift(8,"f");break}case"G":case"P":Sn.l+=kt[Nn].len;break;case"0":if("_NullFlags"===kt[Nn].name)break;default:throw new Error("DBF Unsupported data type "+kt[Nn].type)}}else de.l+=zt;if(2!=Fe&&de.l=0&&N(+se.codepage),"string"==se.type)throw new Error("Cannot write DBF to JS string");var de=ra(),Fe=wm(B,{header:1,raw:!0,cellDates:!0}),Be=Fe[0],$e=Fe.slice(1),rt=B["!cols"]||[],Re=0,at=0,zt=0,Vt=1;for(Re=0;Re250&&(Sn=250),"C"==(Nn=((rt[Re]||{}).DBF||{}).type)&&rt[Re].DBF.len>Sn&&(Sn=rt[Re].DBF.len),"B"==rn&&"N"==Nn&&(rn="N",ei[Re]=rt[Re].DBF.dec,Sn=rt[Re].DBF.len),Un[Re]="C"==rn||"N"==Nn?Sn:T[rn]||0,Vt+=Un[Re],wn[Re]=rn}else wn[Re]="?"}var ri=de.next(32);for(ri.write_shift(4,318902576),ri.write_shift(4,$e.length),ri.write_shift(2,296+32*zt),ri.write_shift(2,Vt),Re=0;Re<4;++Re)ri.write_shift(4,0);for(ri.write_shift(4,0|(+s[A]||3)<<8),Re=0,at=0;Re":190,"?":191,"{":223},s=new RegExp("\x1bN("+Ki(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(Be,$e){var rt=e[$e];return"number"==typeof rt?X(rt):rt},h=function(Be,$e,rt){var Re=$e.charCodeAt(0)-32<<4|rt.charCodeAt(0)-48;return 59==Re?Be:X(Re)};function T(Be,$e){var ri,rt=Be.split(/[\n\r]+/),Re=-1,at=-1,zt=0,Vt=0,kt=[],wn=[],Un=null,ei={},rn=[],Nn=[],Sn=[],ti=0;for(+$e.codepage>=0&&N(+$e.codepage);zt!==rt.length;++zt){ti=0;var Qi,kn=rt[zt].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,h).replace(s,r),$i=kn.replace(/;;/g,"\0").split(";").map(function(pn){return pn.replace(/\u0000/g,";")});if(kn.length>0)switch($i[0]){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==$i[1].charAt(0)&&wn.push(kn.slice(3).replace(/;;/g,";"));break;case"C":var Br=!1,Gr=!1,Po=!1,pr=!1,ws=-1,bi=-1;for(Vt=1;Vt<$i.length;++Vt)switch($i[Vt].charAt(0)){case"A":case"G":break;case"X":at=parseInt($i[Vt].slice(1))-1,Gr=!0;break;case"Y":for(Re=parseInt($i[Vt].slice(1))-1,Gr||(at=0),ri=kt.length;ri<=Re;++ri)kt[ri]=[];break;case"K":'"'===(Qi=$i[Vt].slice(1)).charAt(0)?Qi=Qi.slice(1,Qi.length-1):"TRUE"===Qi?Qi=!0:"FALSE"===Qi?Qi=!1:isNaN(Yn(Qi))?isNaN(Gi(Qi).getDate())||(Qi=En(Qi)):(Qi=Yn(Qi),null!==Un&&mi(Un)&&(Qi=wo(Qi))),typeof me<"u"&&"string"==typeof Qi&&"string"!=($e||{}).type&&($e||{}).codepage&&(Qi=me.utils.decode($e.codepage,Qi)),Br=!0;break;case"E":pr=!0;var tn=td($i[Vt].slice(1),{r:Re,c:at});kt[Re][at]=[kt[Re][at],tn];break;case"S":Po=!0,kt[Re][at]=[kt[Re][at],"S5S"];break;case"R":ws=parseInt($i[Vt].slice(1))-1;break;case"C":bi=parseInt($i[Vt].slice(1))-1;break;default:if($e&&$e.WTF)throw new Error("SYLK bad record "+kn)}if(Br&&(kt[Re][at]&&2==kt[Re][at].length?kt[Re][at][0]=Qi:kt[Re][at]=Qi,Un=null),Po){if(pr)throw new Error("SYLK shared formula cannot have own formula");var Zn=ws>-1&&kt[ws][bi];if(!Zn||!Zn[1])throw new Error("SYLK shared formula cannot find base");kt[Re][at][1]=ku(Zn[1],{r:Re-ws,c:at-bi})}break;case"F":var _n=0;for(Vt=1;Vt<$i.length;++Vt)switch($i[Vt].charAt(0)){case"X":at=parseInt($i[Vt].slice(1))-1,++_n;break;case"Y":for(Re=parseInt($i[Vt].slice(1))-1,ri=kt.length;ri<=Re;++ri)kt[ri]=[];break;case"M":ti=parseInt($i[Vt].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":Un=wn[parseInt($i[Vt].slice(1))];break;case"W":for(Sn=$i[Vt].slice(1).split(" "),ri=parseInt(Sn[0],10);ri<=parseInt(Sn[1],10);++ri)ti=parseInt(Sn[2],10),Nn[ri-1]=0===ti?{hidden:!0}:{wch:ti},Wc(Nn[ri-1]);break;case"C":Nn[at=parseInt($i[Vt].slice(1))-1]||(Nn[at]={});break;case"R":rn[Re=parseInt($i[Vt].slice(1))-1]||(rn[Re]={}),ti>0?(rn[Re].hpt=ti,rn[Re].hpx=Su(ti)):0===ti&&(rn[Re].hidden=!0);break;default:if($e&&$e.WTF)throw new Error("SYLK bad record "+kn)}_n<1&&(Un=null);break;default:if($e&&$e.WTF)throw new Error("SYLK bad record "+kn)}}return rn.length>0&&(ei["!rows"]=rn),Nn.length>0&&(ei["!cols"]=Nn),$e&&$e.sheetRows&&(kt=kt.slice(0,$e.sheetRows)),[kt,ei]}function D(Be,$e){var rt=function f(Be,$e){switch($e.type){case"base64":return T(J(Be),$e);case"binary":return T(Be,$e);case"buffer":return T(ae&&Buffer.isBuffer(Be)?Be.toString("binary"):Ze(Be),$e);case"array":return T(dt(Be),$e)}throw new Error("Unrecognized type "+$e.type)}(Be,$e),at=rt[1],zt=We(rt[0],$e);return Ki(at).forEach(function(Vt){zt[Vt]=at[Vt]}),zt}function ee(Be,$e,rt,Re){var at="C;Y"+(rt+1)+";X"+(Re+1)+";K";switch(Be.t){case"n":at+=Be.v||0,Be.f&&!Be.F&&(at+=";E"+Af(Be.f,{r:rt,c:Re}));break;case"b":at+=Be.v?"TRUE":"FALSE";break;case"e":at+=Be.w||Be.v;break;case"d":at+='"'+(Be.w||Be.v)+'"';break;case"s":at+='"'+Be.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return at}return e["|"]=254,{to_workbook:function B(Be,$e){return qe(D(Be,$e),$e)},to_sheet:D,from_sheet:function Fe(Be,$e){var zt,rt=["ID;PWXL;N;E"],Re=[],at=is(Be["!ref"]),Vt=Array.isArray(Be),kt="\r\n";rt.push("P;PGeneral"),rt.push("F;P0;DG0G8;M255"),Be["!cols"]&&function se(Be,$e){$e.forEach(function(rt,Re){var at="F;W"+(Re+1)+" "+(Re+1)+" ";rt.hidden?at+="0":("number"==typeof rt.width&&!rt.wpx&&(rt.wpx=Vc(rt.width)),"number"==typeof rt.wpx&&!rt.wch&&(rt.wch=uu(rt.wpx)),"number"==typeof rt.wch&&(at+=Math.round(rt.wch)))," "!=at.charAt(at.length-1)&&Be.push(at)})}(rt,Be["!cols"]),Be["!rows"]&&function de(Be,$e){$e.forEach(function(rt,Re){var at="F;";rt.hidden?at+="M0;":rt.hpt?at+="M"+20*rt.hpt+";":rt.hpx&&(at+="M"+20*du(rt.hpx)+";"),at.length>2&&Be.push(at+"R"+(Re+1))})}(rt,Be["!rows"]),rt.push("B;Y"+(at.e.r-at.s.r+1)+";X"+(at.e.c-at.s.c+1)+";D"+[at.s.c,at.s.r,at.e.c,at.e.r].join(" "));for(var wn=at.s.r;wn<=at.e.r;++wn)for(var Un=at.s.c;Un<=at.e.c;++Un){var ei=hr({r:wn,c:Un});(zt=Vt?(Be[wn]||[])[Un]:Be[ei])&&(null!=zt.v||zt.f&&!zt.F)&&Re.push(ee(zt,0,wn,Un))}return rt.join(kt)+kt+Re.join(kt)+kt+"E"+kt}}}(),Me=function(){function s(T,D){for(var B=T.split("\n"),ee=-1,se=-1,de=0,Fe=[];de!==B.length;++de)if("BOT"!==B[de].trim()){if(!(ee<0)){for(var Be=B[de].trim().split(","),$e=Be[0],rt=Be[1],Re=B[++de]||"";1&(Re.match(/["]/g)||[]).length&&de=0||de.indexOf(",")>=0||de.indexOf(";")>=0?function T(de,Fe){var Be=Fe||{},$e="";null!=Se&&null==Be.dense&&(Be.dense=Se);var rt=Be.dense?[]:{},Re={s:{c:0,r:0},e:{c:0,r:0}};"sep="==de.slice(0,4)?13==de.charCodeAt(5)&&10==de.charCodeAt(6)?($e=de.charAt(4),de=de.slice(7)):13==de.charCodeAt(5)||10==de.charCodeAt(5)?($e=de.charAt(4),de=de.slice(6)):$e=f(de.slice(0,1024)):$e=Be&&Be.FS?Be.FS:f(de.slice(0,1024));var at=0,zt=0,Vt=0,kt=0,wn=0,Un=$e.charCodeAt(0),ei=!1,rn=0,Nn=de.charCodeAt(0);de=de.replace(/\r\n/gm,"\n");var Sn=null!=Be.dateNF?function yn(e){var s="number"==typeof e?qn[e]:e;return s=s.replace(Kt,"(\\d+)"),new RegExp("^"+s+"$")}(Be.dateNF):null;function ti(){var ri=de.slice(kt,wn),kn={};if('"'==ri.charAt(0)&&'"'==ri.charAt(ri.length-1)&&(ri=ri.slice(1,-1).replace(/""/g,'"')),0===ri.length)kn.t="z";else if(Be.raw)kn.t="s",kn.v=ri;else if(0===ri.trim().length)kn.t="s",kn.v=ri;else if(61==ri.charCodeAt(0))34==ri.charCodeAt(1)&&34==ri.charCodeAt(ri.length-1)?(kn.t="s",kn.v=ri.slice(2,-1).replace(/""/g,'"')):function Oh(e){return 1!=e.length}(ri)?(kn.t="n",kn.f=ri.slice(1)):(kn.t="s",kn.v=ri);else if("TRUE"==ri)kn.t="b",kn.v=!0;else if("FALSE"==ri)kn.t="b",kn.v=!1;else if(isNaN(Vt=Yn(ri)))if(!isNaN(Gi(ri).getDate())||Sn&&ri.match(Sn)){kn.z=Be.dateNF||qn[14];var $i=0;Sn&&ri.match(Sn)&&(ri=function Tn(e,s,r){var h=-1,f=-1,T=-1,D=-1,B=-1,ee=-1;(s.match(Kt)||[]).forEach(function(Fe,Be){var $e=parseInt(r[Be+1],10);switch(Fe.toLowerCase().charAt(0)){case"y":h=$e;break;case"d":T=$e;break;case"h":D=$e;break;case"s":ee=$e;break;case"m":D>=0?B=$e:f=$e}}),ee>=0&&-1==B&&f>=0&&(B=f,f=-1);var se=(""+(h>=0?h:(new Date).getFullYear())).slice(-4)+"-"+("00"+(f>=1?f:1)).slice(-2)+"-"+("00"+(T>=1?T:1)).slice(-2);7==se.length&&(se="0"+se),8==se.length&&(se="20"+se);var de=("00"+(D>=0?D:0)).slice(-2)+":"+("00"+(B>=0?B:0)).slice(-2)+":"+("00"+(ee>=0?ee:0)).slice(-2);return-1==D&&-1==B&&-1==ee?se:-1==h&&-1==f&&-1==T?de:se+"T"+de}(0,Be.dateNF,ri.match(Sn)||[]),$i=1),Be.cellDates?(kn.t="d",kn.v=En(ri,$i)):(kn.t="n",kn.v=Nr(En(ri,$i))),!1!==Be.cellText&&(kn.w=Xe(kn.z,kn.v instanceof Date?Nr(kn.v):kn.v)),Be.cellNF||delete kn.z}else kn.t="s",kn.v=ri;else kn.t="n",!1!==Be.cellText&&(kn.w=ri),kn.v=Vt;if("z"==kn.t||(Be.dense?(rt[at]||(rt[at]=[]),rt[at][zt]=kn):rt[hr({c:zt,r:at})]=kn),Nn=de.charCodeAt(kt=wn+1),Re.e.c0&&ti(),rt["!ref"]=Wr(Re),rt}(de,Fe):We(function s(de,Fe){var Be=Fe||{},$e=[];if(!de||0===de.length)return $e;for(var rt=de.split(/[\r\n]/),Re=rt.length-1;Re>=0&&0===rt[Re].length;)--Re;for(var at=10,zt=0,Vt=0;Vt<=Re;++Vt)-1==(zt=rt[Vt].indexOf(" "))?zt=rt[Vt].length:zt++,at=Math.max(at,zt);for(Vt=0;Vt<=Re;++Vt){$e[Vt]=[];var kt=0;for(e(rt[Vt].slice(0,at).trim(),$e,Vt,kt,Be),kt=1;kt<=(rt[Vt].length-at)/10+1;++kt)e(rt[Vt].slice(at+10*(kt-1),at+10*kt).trim(),$e,Vt,kt,Be)}return Be.sheetRows&&($e=$e.slice(0,Be.sheetRows)),$e}(de,Fe),Fe)}function B(de,Fe){var Be="",$e="string"==Fe.type?[0,0,0,0]:function xm(e,s){var r="";switch((s||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=J(e.slice(0,12));break;case"binary":r=e;break;default:throw new Error("Unrecognized type "+(s&&s.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}(de,Fe);switch(Fe.type){case"base64":Be=J(de);break;case"binary":case"string":Be=de;break;case"buffer":Be=65001==Fe.codepage?de.toString("utf8"):Fe.codepage&&typeof me<"u"?me.utils.decode(Fe.codepage,de):ae&&Buffer.isBuffer(de)?de.toString("binary"):Ze(de);break;case"array":Be=dt(de);break;default:throw new Error("Unrecognized type "+Fe.type)}return 239==$e[0]&&187==$e[1]&&191==$e[2]?Be=Zr(Be.slice(3)):"string"!=Fe.type&&"buffer"!=Fe.type&&65001==Fe.codepage?Be=Zr(Be):"binary"==Fe.type&&typeof me<"u"&&Fe.codepage&&(Be=me.utils.decode(Fe.codepage,me.utils.encode(28591,Be))),"socialcalc:version:"==Be.slice(0,19)?Z.to_sheet("string"==Fe.type?Be:Zr(Be),Fe):D(Be,Fe)}return{to_workbook:function ee(de,Fe){return qe(B(de,Fe),Fe)},to_sheet:B,from_sheet:function se(de){for(var $e,Fe=[],Be=is(de["!ref"]),rt=Array.isArray(de),Re=Be.s.r;Re<=Be.e.r;++Re){for(var at=[],zt=Be.s.c;zt<=Be.e.c;++zt){var Vt=hr({r:Re,c:zt});if(($e=rt?(de[Re]||[])[zt]:de[Vt])&&null!=$e.v){for(var kt=($e.w||(re($e),$e.w)||"").slice(0,10);kt.length<10;)kt+=" ";at.push(kt+(0===zt?" ":""))}else at.push(" ")}Fe.push(at.join(""))}return Fe.join("\n")}}}(),At=function(){function e(tn,Zn,_n){if(tn){so(tn,tn.l||0);for(var pn=_n.Enum||ws;tn.l=16&&5==tn[14]&&108===tn[15])throw new Error("Unsupported Works 3 for Mac file");if(2==tn[2])_n.Enum=ws,e(tn,function(or,Ol,Fu){switch(Fu){case 0:_n.vers=or,or>=4096&&(_n.qpro=!0);break;case 6:qt=or;break;case 204:or&&(ur=or);break;case 222:ur=or;break;case 15:case 51:_n.qpro||(or[1].v=or[1].v.slice(1));case 13:case 14:case 16:14==Fu&&112==(112&or[2])&&(15&or[2])>1&&(15&or[2])<15&&(or[1].z=_n.dateNF||qn[14],_n.cellDates&&(or[1].t="d",or[1].v=wo(or[1].v))),_n.qpro&&or[3]>ji&&(pn["!ref"]=Wr(qt),Zi[ui]=pn,Ii.push(ui),pn=_n.dense?[]:{},qt={s:{r:0,c:0},e:{r:0,c:0}},ji=or[3],ui=ur||"Sheet"+(ji+1),ur="");var Sd=_n.dense?(pn[or[0].r]||[])[or[0].c]:pn[hr(or[0])];if(Sd){Sd.t=or[1].t,Sd.v=or[1].v,null!=or[1].z&&(Sd.z=or[1].z),null!=or[1].f&&(Sd.f=or[1].f);break}_n.dense?(pn[or[0].r]||(pn[or[0].r]=[]),pn[or[0].r][or[0].c]=or[1]):pn[hr(or[0])]=or[1]}},_n);else{if(26!=tn[2]&&14!=tn[2])throw new Error("Unrecognized LOTUS BOF "+tn[2]);_n.Enum=bi,14==tn[2]&&(_n.qpro=!0,tn.l=0),e(tn,function(or,Ol,Fu){switch(Fu){case 204:ui=or;break;case 22:or[1].v=or[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(or[3]>ji&&(pn["!ref"]=Wr(qt),Zi[ui]=pn,Ii.push(ui),pn=_n.dense?[]:{},qt={s:{r:0,c:0},e:{r:0,c:0}},ui="Sheet"+((ji=or[3])+1)),Ha>0&&or[0].r>=Ha)break;_n.dense?(pn[or[0].r]||(pn[or[0].r]=[]),pn[or[0].r][or[0].c]=or[1]):pn[hr(or[0])]=or[1],qt.e.c=128?95:ur)}return pn.write_shift(1,0),pn}function $e(tn,Zn,_n){var pn=Vn(7);return pn.write_shift(1,255),pn.write_shift(2,Zn),pn.write_shift(2,tn),pn.write_shift(2,_n,"i"),pn}function Re(tn,Zn,_n){var pn=Vn(13);return pn.write_shift(1,255),pn.write_shift(2,Zn),pn.write_shift(2,tn),pn.write_shift(8,_n,"f"),pn}function zt(tn,Zn,_n){var pn=32768&Zn;return Zn=(pn?tn:0)+((Zn&=-32769)>=8192?Zn-16384:Zn),(pn?"":"$")+(_n?hs(Zn):Ao(Zn))}var Vt={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},kt=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function Un(tn){var Zn=[{c:0,r:0},{t:"n",v:0},0];return Zn[0].r=tn.read_shift(2),Zn[3]=tn[tn.l++],Zn[0].c=tn[tn.l++],Zn}function rn(tn,Zn,_n,pn){var ui=Vn(6+pn.length);ui.write_shift(2,tn),ui.write_shift(1,_n),ui.write_shift(1,Zn),ui.write_shift(1,39);for(var ur=0;ur=128?95:ji)}return ui.write_shift(1,0),ui}function Sn(tn,Zn){var _n=Un(tn),pn=tn.read_shift(4),ui=tn.read_shift(4),ur=tn.read_shift(2);if(65535==ur)return 0===pn&&3221225472===ui?(_n[1].t="e",_n[1].v=15):0===pn&&3489660928===ui?(_n[1].t="e",_n[1].v=42):_n[1].v=0,_n;var ji=32768&ur;return ur=(32767&ur)-16446,_n[1].v=(1-2*ji)*(ui*Math.pow(2,ur+32)+pn*Math.pow(2,ur)),_n}function ti(tn,Zn,_n,pn){var ui=Vn(14);if(ui.write_shift(2,tn),ui.write_shift(1,_n),ui.write_shift(1,Zn),0==pn)return ui.write_shift(4,0),ui.write_shift(4,0),ui.write_shift(2,65535),ui;var ur=0,ji=0,Ii=0;return pn<0&&(ur=1,pn=-pn),ji=0|Math.log2(pn),2147483648&(Ii=(pn/=Math.pow(2,ji-31))>>>0)||(++ji,Ii=(pn/=2)>>>0),pn-=Ii,Ii|=2147483648,Ii>>>=0,pn*=Math.pow(2,32),ui.write_shift(4,pn>>>0),ui.write_shift(4,Ii),ui.write_shift(2,ji+=16383+(ur?32768:0)),ui}function $i(tn,Zn){var _n=Un(tn),pn=tn.read_shift(8,"f");return _n[1].v=pn,_n}function Qi(tn,Zn){return 0==tn[tn.l+Zn-1]?tn.read_shift(Zn,"cstr"):""}function pr(tn,Zn){var _n=Vn(5+tn.length);_n.write_shift(2,14e3),_n.write_shift(2,Zn);for(var pn=0;pn127?95:ui}return _n[_n.l++]=0,_n}var ws={0:{n:"BOF",f:aa},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function B(tn,Zn,_n){var pn={s:{c:0,r:0},e:{c:0,r:0}};return 8==Zn&&_n.qpro?(pn.s.c=tn.read_shift(1),tn.l++,pn.s.r=tn.read_shift(2),pn.e.c=tn.read_shift(1),tn.l++,pn.e.r=tn.read_shift(2),pn):(pn.s.c=tn.read_shift(2),pn.s.r=tn.read_shift(2),12==Zn&&_n.qpro&&(tn.l+=2),pn.e.c=tn.read_shift(2),pn.e.r=tn.read_shift(2),12==Zn&&_n.qpro&&(tn.l+=2),65535==pn.s.c&&(pn.s.c=pn.e.c=pn.s.r=pn.e.r=0),pn)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function Be(tn,Zn,_n){var pn=se(tn,0,_n);return pn[1].v=tn.read_shift(2,"i"),pn}},14:{n:"NUMBER",f:function rt(tn,Zn,_n){var pn=se(tn,0,_n);return pn[1].v=tn.read_shift(8,"f"),pn}},15:{n:"LABEL",f:de},16:{n:"FORMULA",f:function at(tn,Zn,_n){var pn=tn.l+Zn,ui=se(tn,0,_n);if(ui[1].v=tn.read_shift(8,"f"),_n.qpro)tn.l=pn;else{var ur=tn.read_shift(2);(function wn(tn,Zn){so(tn,0);for(var _n=[],pn=0,ui="",ur="",ji="",Zi="";tn.l_n.length)return void console.error("WK1 bad formula parse 0x"+Ii.toString(16)+":|"+_n.join("|")+"|");var Ro=_n.slice(-pn);_n.length-=pn,_n.push(Vt[Ii][0]+"("+Ro.join(",")+")")}}}1==_n.length?Zn[1].f=""+_n[0]:console.error("WK1 bad formula parse |"+_n.join("|")+"|")})(tn.slice(tn.l,tn.l+ur),ui),tn.l+=ur}return ui}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:de},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:Qi},222:{n:"SHEETNAMELP",f:function Br(tn,Zn){var _n=tn[tn.l++];_n>Zn-1&&(_n=Zn-1);for(var pn="";pn.length<_n;)pn+=String.fromCharCode(tn[tn.l++]);return pn}},65535:{n:""}},bi={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function ei(tn,Zn){var _n=Un(tn);return _n[1].t="s",_n[1].v=tn.read_shift(Zn-4,"cstr"),_n}},23:{n:"NUMBER17",f:Sn},24:{n:"NUMBER18",f:function Nn(tn,Zn){var _n=Un(tn);_n[1].v=tn.read_shift(2);var pn=_n[1].v>>1;if(1&_n[1].v)switch(7&pn){case 0:pn=5e3*(pn>>3);break;case 1:pn=500*(pn>>3);break;case 2:pn=(pn>>3)/20;break;case 3:pn=(pn>>3)/200;break;case 4:pn=(pn>>3)/2e3;break;case 5:pn=(pn>>3)/2e4;break;case 6:pn=(pn>>3)/16;break;case 7:pn=(pn>>3)/64}return _n[1].v=pn,_n}},25:{n:"FORMULA19",f:function ri(tn,Zn){var _n=Sn(tn);return tn.l+=Zn-14,_n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function Po(tn,Zn){for(var _n={},pn=tn.l+Zn;tn.l>6,_n}},38:{n:"??"},39:{n:"NUMBER27",f:$i},40:{n:"FORMULA28",f:function Ar(tn,Zn){var _n=$i(tn);return tn.l+=Zn-10,_n}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:Qi},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function Gr(tn,Zn,_n){if(_n.qpro&&!(Zn<21)){var pn=tn.read_shift(1);return tn.l+=17,tn.l+=1,tn.l+=2,[pn,tn.read_shift(Zn-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function h(tn,Zn){var _n=Zn||{};if(+_n.codepage>=0&&N(+_n.codepage),"string"==_n.type)throw new Error("Cannot write WK1 to JS string");var pn=ra(),ui=is(tn["!ref"]),ur=Array.isArray(tn),ji=[];zi(pn,0,function T(tn){var Zn=Vn(2);return Zn.write_shift(2,tn),Zn}(1030)),zi(pn,6,function ee(tn){var Zn=Vn(8);return Zn.write_shift(2,tn.s.c),Zn.write_shift(2,tn.s.r),Zn.write_shift(2,tn.e.c),Zn.write_shift(2,tn.e.r),Zn}(ui));for(var Zi=Math.min(ui.e.r,8191),Ii=ui.s.r;Ii<=Zi;++Ii)for(var xo=Ao(Ii),qt=ui.s.c;qt<=ui.e.c;++qt){Ii===ui.s.r&&(ji[qt]=hs(qt));var Ro=ur?(tn[Ii]||[])[qt]:tn[ji[qt]+xo];Ro&&"z"!=Ro.t&&("n"==Ro.t?(0|Ro.v)==Ro.v&&Ro.v>=-32768&&Ro.v<=32767?zi(pn,13,$e(Ii,qt,Ro.v)):zi(pn,14,Re(Ii,qt,Ro.v)):zi(pn,15,Fe(Ii,qt,re(Ro).slice(0,239))))}return zi(pn,1),pn.end()},book_to_wk3:function f(tn,Zn){var _n=Zn||{};if(+_n.codepage>=0&&N(+_n.codepage),"string"==_n.type)throw new Error("Cannot write WK3 to JS string");var pn=ra();zi(pn,0,function D(tn){var Zn=Vn(26);Zn.write_shift(2,4096),Zn.write_shift(2,4),Zn.write_shift(4,0);for(var _n=0,pn=0,ui=0,ur=0;ur8191&&(_n=8191),Zn.write_shift(2,_n),Zn.write_shift(1,ui),Zn.write_shift(1,pn),Zn.write_shift(2,0),Zn.write_shift(2,0),Zn.write_shift(1,1),Zn.write_shift(1,2),Zn.write_shift(4,0),Zn.write_shift(4,0),Zn}(tn));for(var ui=0,ur=0;ui";f.r?T+=f.r:(T+=""),r[r.length]=T+=""}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var la=function zr(e,s){var r=!1;return null==s&&(r=!0,s=Vn(15+4*e.t.length)),s.write_shift(1,0),Si(e.t,s),r?s.slice(0,s.l):s};function ca(e){var s=ra();ai(s,159,function bo(e,s){return s||(s=Vn(8)),s.write_shift(4,e.Count),s.write_shift(4,e.Unique),s}(e));for(var r=0;r=0;--T)s=((16384&s?1:0)|s<<1&32767)^r[T];return 52811^s}var hg=function(){function e(f,T){switch(T.type){case"base64":return s(J(f),T);case"binary":return s(f,T);case"buffer":return s(ae&&Buffer.isBuffer(f)?f.toString("binary"):Ze(f),T);case"array":return s(dt(f),T)}throw new Error("Unrecognized type "+T.type)}function s(f,T){var B=(T||{}).dense?[]:{},ee=f.match(/\\trowd.*?\\row\b/g);if(!ee.length)throw new Error("RTF missing table");var se={s:{c:0,r:0},e:{c:0,r:ee.length-1}};return ee.forEach(function(de,Fe){Array.isArray(B)&&(B[Fe]=[]);for(var rt,Be=/\\\w+\b/g,$e=0,Re=-1;rt=Be.exec(de);){if("\\cell"===rt[0]){var at=de.slice($e,Be.lastIndex-rt[0].length);if(" "==at[0]&&(at=at.slice(1)),++Re,at.length){var zt={v:at,t:"s"};Array.isArray(B)?B[Fe][Re]=zt:B[hr({r:Fe,c:Re})]=zt}}$e=Be.lastIndex}Re>se.e.c&&(se.e.c=Re)}),B["!ref"]=Wr(se),B}return{to_workbook:function r(f,T){return qe(e(f,T),T)},to_sheet:e,from_sheet:function h(f){for(var B,T=["{\\rtf1\\ansi"],D=is(f["!ref"]),ee=Array.isArray(f),se=D.s.r;se<=D.e.r;++se){T.push("\\trowd\\trautofit1");for(var de=D.s.c;de<=D.e.c;++de)T.push("\\cellx"+(de+1));for(T.push("\\pard\\intbl"),de=D.s.c;de<=D.e.c;++de){var Fe=hr({r:se,c:de});(B=ee?(f[se]||[])[de]:f[Fe])&&(null!=B.v||B.f&&!B.F)&&(T.push(" "+(B.w||(re(B),B.w))),T.push("\\cell"))}T.push("\\pard\\intbl\\row")}return T.join("")+"}"}}}();function Cd(e){for(var s=0,r=1;3!=s;++s)r=256*r+(e[s]>255?255:e[s]<0?0:e[s]);return r.toString(16).toUpperCase().slice(1)}var Ca=6;function Vc(e){return Math.floor((e+Math.round(128/Ca)/256)*Ca)}function uu(e){return Math.floor((e-5)/Ca*100+.5)/100}function Xu(e){return Math.round((e*Ca+5)/Ca*256)/256}function Wc(e){e.width?(e.wpx=Vc(e.width),e.wch=uu(e.wpx),e.MDW=Ca):e.wpx?(e.wch=uu(e.wpx),e.width=Xu(e.wch),e.MDW=Ca):"number"==typeof e.wch&&(e.width=Xu(e.wch),e.wpx=Vc(e.width),e.MDW=Ca),e.customWidth&&delete e.customWidth}var Zd=96;function du(e){return 96*e/Zd}function Su(e){return e*Zd/96}function _g(e,s){var h,r=[ds,Ci("styleSheet",null,{xmlns:Qs[0],"xmlns:vt":Lr.vt})];return e.SSF&&null!=(h=function y0(e){var s=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var h=r[0];h<=r[1];++h)null!=e[h]&&(s[s.length]=Ci("numFmt",null,{numFmtId:h,formatCode:Vr(e[h])}))}),1===s.length?"":(s[s.length]="",s[0]=Ci("numFmts",null,{count:s.length-2}).replace("/>",">"),s.join(""))}(e.SSF))&&(r[r.length]=h),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(h=function Hm(e){var s=[];return s[s.length]=Ci("cellXfs",null),e.forEach(function(r){s[s.length]=Ci("xf",null,r)}),s[s.length]="",2===s.length?"":(s[0]=Ci("cellXfs",null,{count:s.length-2}).replace("/>",">"),s.join(""))}(s.cellXfs))&&(r[r.length]=h),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function b0(e,s,r){r||(r=Vn(6+4*s.length)),r.write_shift(2,e),Si(s,r);var h=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),h}var Cf,T0=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],E0=Vs;function hu(e,s){s||(s=Vn(84)),Cf||(Cf=jr(T0));var r=Cf[e.patternType];null==r&&(r=40),s.write_shift(4,r);var h=0;if(40!=r)for(_a({auto:1},s),_a({auto:1},s);h<12;++h)s.write_shift(4,0);else{for(;h<4;++h)s.write_shift(4,0);for(;h<12;++h)s.write_shift(4,0)}return s.length>s.l?s.slice(0,s.l):s}function Cg(e,s,r){return r||(r=Vn(16)),r.write_shift(2,s||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Th(e,s){return s||(s=Vn(10)),s.write_shift(1,0),s.write_shift(1,0),s.write_shift(4,0),s.write_shift(4,0),s}var jm=Vs;function O0(e,s){var r=ra();return ai(r,278),function D0(e,s){if(s){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(h){for(var f=h[0];f<=h[1];++f)null!=s[f]&&++r}),0!=r&&(ai(e,615,Ln(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(h){for(var f=h[0];f<=h[1];++f)null!=s[f]&&ai(e,44,b0(f,s[f]))}),ai(e,616))}}(r,e.SSF),function S0(e){ai(e,611,Ln(1)),ai(e,43,function Iv(e,s){s||(s=Vn(153)),s.write_shift(2,20*e.sz),function Hc(e,s){s||(s=Vn(2)),s.write_shift(1,(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0)),s.write_shift(1,0)}(e,s),s.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),s.write_shift(2,r),s.write_shift(1,e.underline||0),s.write_shift(1,e.family||0),s.write_shift(1,e.charset||0),s.write_shift(1,0),_a(e.color,s);var h=0;return"major"==e.scheme&&(h=1),"minor"==e.scheme&&(h=2),s.write_shift(1,h),Si(e.name,s),s.length>s.l?s.slice(0,s.l):s}({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),ai(e,612)}(r),function Vm(e){ai(e,603,Ln(2)),ai(e,45,hu({patternType:"none"})),ai(e,45,hu({patternType:"gray125"})),ai(e,604)}(r),function qu(e){ai(e,613,Ln(1)),ai(e,46,function zm(e,s){return s||(s=Vn(51)),s.write_shift(1,0),Th(0,s),Th(0,s),Th(0,s),Th(0,s),Th(0,s),s.length>s.l?s.slice(0,s.l):s}()),ai(e,614)}(r),function Eh(e){ai(e,626,Ln(1)),ai(e,47,Cg({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),ai(e,627)}(r),function wh(e,s){ai(e,617,Ln(s.length)),s.forEach(function(r){ai(e,47,Cg(r,0))}),ai(e,618)}(r,s.cellXfs),function k0(e){ai(e,619,Ln(1)),ai(e,48,function Kd(e,s){return s||(s=Vn(52)),s.write_shift(4,e.xfId),s.write_shift(2,1),s.write_shift(1,+e.builtinId),s.write_shift(1,0),za(e.name||"",s),s.length>s.l?s.slice(0,s.l):s}({xfId:0,builtinId:0,name:"Normal"})),ai(e,620)}(r),function vg(e){ai(e,505,Ln(0)),ai(e,506)}(r),function Wm(e){ai(e,508,function w0(e,s,r){var h=Vn(2052);return h.write_shift(4,e),za(s,h),za(r,h),h.length>h.l?h.slice(0,h.l):h}(0,"TableStyleMedium9","PivotStyleMedium4")),ai(e,509)}(r),ai(r,279),r.end()}function yg(e,s){if(s&&s.themeXLSX)return s.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[ds];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function Y0(){var e=ra();return ai(e,332),ai(e,334,Ln(1)),ai(e,335,function F0(e){var s=Vn(12+2*e.name.length);return s.write_shift(4,e.flags),s.write_shift(4,e.version),Si(e.name,s),s.slice(0,s.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),ai(e,336),ai(e,339,function Km(e,s){var r=Vn(8+2*s.length);return r.write_shift(4,e),Si(s,r),r.slice(0,r.l)}(1,"XLDAPR")),ai(e,52),ai(e,35,Ln(514)),ai(e,4096,Ln(0)),ai(e,4097,jl(1)),ai(e,36),ai(e,53),ai(e,340),ai(e,337,function Jm(e,s){var r=Vn(8);return r.write_shift(4,e),r.write_shift(4,s?1:0),r}(1,!0)),ai(e,51,function $m(e){var s=Vn(4+8*e.length);s.write_shift(4,e.length);for(var r=0;r\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),e.join("")}var Sh=1024;function bp(e,s){for(var r=[21600,21600],h=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),f=[Ci("xml",null,{"xmlns:v":Hs.v,"xmlns:o":Hs.o,"xmlns:x":Hs.x,"xmlns:mv":Hs.mv}).replace(/\/>/,">"),Ci("o:shapelayout",Ci("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Ci("v:shapetype",[Ci("v:stroke",null,{joinstyle:"miter"}),Ci("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:h})];Sh<1e3*e;)Sh+=1e3;return s.forEach(function(T){var D=Io(T[0]),B={color2:"#BEFF82",type:"gradient"};"gradient"==B.type&&(B.angle="-180");var ee="gradient"==B.type?Ci("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,se=Ci("v:fill",ee,B);++Sh,f=f.concat(["",se,Ci("v:shadow",null,{on:"t",obscured:"t"}),Ci("v:path",null,{"o:connecttype":"none"}),'
    ','',"","",vo("x:Anchor",[D.c+1,0,D.r+1,0,D.c+3,20,D.r+5,20].join(",")),vo("x:AutoFill","False"),vo("x:Row",String(D.r)),vo("x:Column",String(D.c)),T[1].hidden?"":"","",""])}),f.push(""),f.join("")}function kh(e){var s=[ds,Ci("comments",null,{xmlns:Qs[0]})],r=[];return s.push(""),e.forEach(function(h){h[1].forEach(function(f){var T=Vr(f.a);-1==r.indexOf(T)&&(r.push(T),s.push(""+T+"")),f.T&&f.ID&&-1==r.indexOf("tc="+f.ID)&&(r.push("tc="+f.ID),s.push("tc="+f.ID+""))})}),0==r.length&&(r.push("SheetJ5"),s.push("SheetJ5")),s.push(""),s.push(""),e.forEach(function(h){var f=0,T=[];if(h[1][0]&&h[1][0].T&&h[1][0].ID?f=r.indexOf("tc="+h[1][0].ID):h[1].forEach(function(ee){ee.a&&(f=r.indexOf(Vr(ee.a))),T.push(ee.t||"")}),s.push(''),T.length<=1)s.push(vo("t",Vr(T[0]||"")));else{for(var D="Comment:\n "+T[0]+"\n",B=1;B")}),s.push(""),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function qm(e,s,r){var h=[ds,Ci("ThreadedComments",null,{xmlns:Lr.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(f){var T="";(f[1]||[]).forEach(function(D,B){if(D.T){D.a&&-1==s.indexOf(D.a)&&s.push(D.a);var ee={ref:f[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==B?T=ee.id:ee.parentId=T,D.ID=ee.id,D.a&&(ee.personId="{54EE7950-7262-4200-6969-"+("000000000000"+s.indexOf(D.a)).slice(-12)+"}"),h.push(Ci("threadedComment",vo("text",D.t||""),ee))}else delete D.ID})}),h.push(""),h.join("")}var e_=Hn;function Mv(e){var s=ra(),r=[];return ai(s,628),ai(s,630),e.forEach(function(h){h[1].forEach(function(f){r.indexOf(f.a)>-1||(r.push(f.a.slice(0,54)),ai(s,632,function t_(e){return Si(e.slice(0,54))}(f.a)))})}),ai(s,631),ai(s,633),e.forEach(function(h){h[1].forEach(function(f){f.iauthor=r.indexOf(f.a);var T={s:Io(h[0]),e:Io(h[0])};ai(s,635,function j0(e,s){return null==s&&(s=Vn(36)),s.write_shift(4,e[1].iauthor),yo(e[0],s),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,0),s}([T,f])),f.t&&f.t.length>0&&ai(s,637,function ks(e,s){var r=!1;return null==s&&(r=!0,s=Vn(23+4*e.t.length)),s.write_shift(1,1),Si(e.t,s),s.write_shift(4,1),function qr(e,s){s||(s=Vn(4)),s.write_shift(2,e.ich||0),s.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},s),r?s.slice(0,s.l):s}(f)),ai(s,636),delete f.iauthor})}),ai(s,634),ai(s,629),s.end()}var Mp=["xlsb","xlsm","xlam","biff8","xla"],td=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,s={r:0,c:0};function r(h,f,T,D){var B=!1,ee=!1;0==T.length?ee=!0:"["==T.charAt(0)&&(ee=!0,T=T.slice(1,-1)),0==D.length?B=!0:"["==D.charAt(0)&&(B=!0,D=D.slice(1,-1));var se=T.length>0?0|parseInt(T,10):0,de=D.length>0?0|parseInt(D,10):0;return B?de+=s.c:--de,ee?se+=s.r:--se,f+(B?"":"$")+hs(de)+(ee?"":"$")+Ao(se)}return function(f,T){return s=T,f.replace(e,r)}}(),Sp=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Af=function(){return function(s,r){return s.replace(Sp,function(h,f,T,D,B,ee){var se=Xo(D)-(T?0:r.c),de=Cl(ee)-(B?0:r.r);return f+"R"+(0==de?"":B?de+1:"["+de+"]")+"C"+(0==se?"":T?se+1:"["+se+"]")})}}();function ku(e,s){return e.replace(Sp,function(r,h,f,T,D,B){return h+("$"==f?f+T:hs(Xo(T)+s.c))+("$"==D?D+B:Ao(Cl(B)+s.r))})}function nc(e){e.l+=1}function yd(e,s){var r=e.read_shift(1==s?1:2);return[16383&r,r>>14&1,r>>15&1]}function kp(e,s,r){var h=2;if(r){if(r.biff>=2&&r.biff<=5)return Lu(e);12==r.biff&&(h=4)}var f=e.read_shift(h),T=e.read_shift(h),D=yd(e,2),B=yd(e,2);return{s:{r:f,c:D[0],cRel:D[1],rRel:D[2]},e:{r:T,c:B[0],cRel:B[1],rRel:B[2]}}}function Lu(e){var s=yd(e,2),r=yd(e,2),h=e.read_shift(1),f=e.read_shift(1);return{s:{r:s[0],c:h,cRel:s[1],rRel:s[2]},e:{r:r[0],c:f,cRel:r[1],rRel:r[2]}}}function r_(e,s,r){if(r&&r.biff>=2&&r.biff<=5)return function Z0(e){var s=yd(e,2),r=e.read_shift(1);return{r:s[0],c:r,cRel:s[1],rRel:s[2]}}(e);var h=e.read_shift(r&&12==r.biff?4:2),f=yd(e,2);return{r:h,c:f[0],cRel:f[1],rRel:f[2]}}function Op(e){var s=e.read_shift(2),r=e.read_shift(2);return{r:s,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Q0(e){var s=1&e[e.l+1];return e.l+=4,[s,1]}function nd(e){return[e.read_shift(1),e.read_shift(1)]}function Yp(e,s){var r=[e.read_shift(1)];if(12==s)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=function vs(e,s){return 1===e.read_shift(s)}(e,1)?"TRUE":"FALSE",12!=s&&(e.l+=7);break;case 37:case 16:r[1]=Ea[e[e.l]],e.l+=12==s?4:8;break;case 0:e.l+=8;break;case 1:r[1]=ma(e);break;case 2:r[1]=function te(e,s,r){if(r.biff>5)return function R(e,s,r){var h=e.read_shift(r&&2==r.biff?1:2);return 0===h?(e.l++,""):function cs(e,s,r){if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(s,"cpstr");if(r.biff>=12)return e.read_shift(s,"dbcs-cont")}var f=e.read_shift(1);return e.read_shift(s,0===f?"sbcs-cont":"dbcs-cont")}(e,h,r)}(e,0,r);var h=e.read_shift(1);return 0===h?(e.l++,""):e.read_shift(h,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}(e,0,{biff:s>0&&s<8?2:s});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function c_(e,s,r){for(var h=e.read_shift(12==r.biff?4:2),f=[],T=0;T!=h;++T)f.push((12==r.biff?po:dd)(e,8));return f}function tC(e,s,r){var h=0,f=0;12==r.biff?(h=e.read_shift(4),f=e.read_shift(4)):(f=1+e.read_shift(1),h=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--h,0==--f&&(f=256));for(var T=0,D=[];T!=h&&(D[T]=[]);++T)for(var B=0;B!=f;++B)D[T][B]=Yp(e,r.biff);return D}function Nh(e,s,r){return e.l+=2,[Op(e)]}function Up(e){return e.l+=6,[]}function Fh(e){return e.l+=2,[aa(e),1&e.read_shift(2)]}var aC=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],g_={1:{n:"PtgExp",f:function wg(e,s,r){return e.l++,r&&12==r.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Vs},3:{n:"PtgAdd",f:nc},4:{n:"PtgSub",f:nc},5:{n:"PtgMul",f:nc},6:{n:"PtgDiv",f:nc},7:{n:"PtgPower",f:nc},8:{n:"PtgConcat",f:nc},9:{n:"PtgLt",f:nc},10:{n:"PtgLe",f:nc},11:{n:"PtgEq",f:nc},12:{n:"PtgGe",f:nc},13:{n:"PtgGt",f:nc},14:{n:"PtgNe",f:nc},15:{n:"PtgIsect",f:nc},16:{n:"PtgUnion",f:nc},17:{n:"PtgRange",f:nc},18:{n:"PtgUplus",f:nc},19:{n:"PtgUminus",f:nc},20:{n:"PtgPercent",f:nc},21:{n:"PtgParen",f:nc},22:{n:"PtgMissArg",f:nc},23:{n:"PtgStr",f:function l_(e,s,r){return e.l++,Dl(e,0,r)}},26:{n:"PtgSheet",f:function cC(e,s,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function Df(e,s,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function Rh(e){return e.l++,Ea[e.read_shift(1)]}},29:{n:"PtgBool",f:function a_(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function q0(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function eC(e){return e.l++,ma(e)}},32:{n:"PtgArray",f:function J0(e,s,r){var h=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[h]}},33:{n:"PtgFunc",f:function Fp(e,s,r){var h=(96&e[e.l])>>5;e.l+=1;var f=e.read_shift(r&&r.biff<=3?1:2);return[pC[f],Lg[f],h]}},34:{n:"PtgFuncVar",f:function Eg(e,s,r){var h=e[e.l++],f=e.read_shift(1),T=r&&r.biff<=3?[88==h?-1:0,e.read_shift(1)]:function Tf(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[f,(0===T[0]?Lg:gC)[T[1]]]}},35:{n:"PtgName",f:function nC(e,s,r){var h=e.read_shift(1)>>>5&3,T=e.read_shift(!r||r.biff>=8?4:2);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[h,0,T]}},36:{n:"PtgRef",f:function xf(e,s,r){var h=(96&e[e.l])>>5;return e.l+=1,[h,r_(e,0,r)]}},37:{n:"PtgArea",f:function o_(e,s,r){return[(96&e[e.l++])>>5,kp(e,0,r)]}},38:{n:"PtgMemArea",f:function Ef(e,s,r){var h=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[h,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Vs},40:{n:"PtgMemNoMem",f:Vs},41:{n:"PtgMemFunc",f:function Bp(e,s,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function rC(e,s,r){var h=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[h]}},43:{n:"PtgAreaErr",f:function If(e,s,r){var h=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[h]}},44:{n:"PtgRefN",f:function Np(e,s,r){var h=(96&e[e.l])>>5;e.l+=1;var f=function s_(e,s,r){var h=r&&r.biff?r.biff:8;if(h>=2&&h<=5)return function G0(e){var s=e.read_shift(2),r=e.read_shift(1),h=(32768&s)>>15,f=(16384&s)>>14;return s&=16383,1==h&&s>=8192&&(s-=16384),1==f&&r>=128&&(r-=256),{r:s,c:r,cRel:f,rRel:h}}(e);var f=e.read_shift(h>=12?4:2),T=e.read_shift(2),D=(16384&T)>>14,B=(32768&T)>>15;if(T&=16383,1==B)for(;f>524287;)f-=1048576;if(1==D)for(;T>8191;)T-=16384;return{r:f,c:T,cRel:D,rRel:B}}(e,0,r);return[h,f]}},45:{n:"PtgAreaN",f:function K0(e,s,r){var h=(96&e[e.l++])>>5,f=function W0(e,s,r){if(r.biff<8)return Lu(e);var h=e.read_shift(12==r.biff?4:2),f=e.read_shift(12==r.biff?4:2),T=yd(e,2),D=yd(e,2);return{s:{r:h,c:T[0],cRel:T[1],rRel:T[2]},e:{r:f,c:D[0],cRel:D[1],rRel:D[2]}}}(e,0,r);return[h,f]}},46:{n:"PtgMemAreaN",f:function Ov(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function zp(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function Sv(e,s,r){return 5==r.biff?function iC(e){var s=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var h=e.read_shift(2);return e.l+=12,[s,r,h]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function Ph(e,s,r){var h=(96&e[e.l])>>5;e.l+=1;var f=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[h,f,r_(e,0,r)]}},59:{n:"PtgArea3d",f:function Lp(e,s,r){var h=(96&e[e.l++])>>5,f=e.read_shift(2,"i");if(r&&5===r.biff)e.l+=12;return[h,f,kp(e,0,r)]}},60:{n:"PtgRefErr3d",f:function u_(e,s,r){var h=(96&e[e.l++])>>5,f=e.read_shift(2),T=4;if(r)switch(r.biff){case 5:T=15;break;case 12:T=6}return e.l+=T,[h,f]}},61:{n:"PtgAreaErr3d",f:function $0(e,s,r){var h=(96&e[e.l++])>>5,f=e.read_shift(2),T=8;if(r)switch(r.biff){case 5:e.l+=12,T=6;break;case 12:T=12}return e.l+=T,[h,f]}},255:{}},Wp={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},p_={1:{n:"PtgElfLel",f:Fh},2:{n:"PtgElfRw",f:Nh},3:{n:"PtgElfCol",f:Nh},6:{n:"PtgElfRwV",f:Nh},7:{n:"PtgElfColV",f:Nh},10:{n:"PtgElfRadical",f:Nh},11:{n:"PtgElfRadicalS",f:Up},13:{n:"PtgElfColS",f:Up},15:{n:"PtgElfColSV",f:Up},16:{n:"PtgElfRadicalLel",f:Fh},25:{n:"PtgList",f:function lC(e){e.l+=2;var s=e.read_shift(2),r=e.read_shift(2),h=e.read_shift(4),f=e.read_shift(2),T=e.read_shift(2);return{ixti:s,coltype:3&r,rt:aC[r>>2&31],idx:h,c:f,C:T}}},29:{n:"PtgSxName",f:function Dg(e){return e.l+=2,[e.read_shift(4)]}},255:{}},uC={0:{n:"PtgAttrNoop",f:function Vp(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function Pp(e,s,r){var h=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[h]}},2:{n:"PtgAttrIf",f:function X0(e,s,r){var h=255&e[e.l+1]?1:0;return e.l+=2,[h,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function yf(e,s,r){e.l+=2;for(var h=e.read_shift(r&&2==r.biff?1:2),f=[],T=0;T<=h;++T)f.push(e.read_shift(r&&2==r.biff?1:2));return f}},8:{n:"PtgAttrGoto",f:function Tg(e,s,r){var h=255&e[e.l+1]?1:0;return e.l+=2,[h,e.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function Dv(e,s,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Q0},33:{n:"PtgAttrBaxcel",f:Q0},64:{n:"PtgAttrSpace",f:function Rp(e){return e.read_shift(2),nd(e)}},65:{n:"PtgAttrSpaceSemi",f:function bf(e){return e.read_shift(2),nd(e)}},128:{n:"PtgAttrIfError",f:function Lh(e){var s=255&e[e.l+1]?1:0;return e.l+=2,[s,e.read_shift(2)]}},255:{}};function Bh(e,s,r,h){if(h.biff<8)return Vs(e,s);for(var f=e.l+s,T=[],D=0;D!==r.length;++D)switch(r[D][0]){case"PtgArray":r[D][1]=tC(e,0,h),T.push(r[D][1]);break;case"PtgMemArea":r[D][2]=c_(e,0,h),T.push(r[D][2]);break;case"PtgExp":h&&12==h.biff&&(r[D][1][1]=e.read_shift(4),T.push(r[D][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[D][0]}return 0!=(s=f-e.l)&&T.push(Vs(e,s)),T}function m_(e){for(var s=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Sg(e,s,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[s]))return e.SheetNames[s];if(!e.XTI)return"SH33TJSERR6";var h=e.XTI[s];if(r.biff<8)return s>1e4&&(s-=65536),s<0&&(s=-s),0==s?"":e.XTI[s-1];if(!h)return"SH33TJSERR1";var f="";if(r.biff>8)switch(e[h[0]][0]){case 357:return f=-1==h[1]?"#REF":e.SheetNames[h[1]],h[1]==h[2]?f:f+":"+e.SheetNames[h[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[h[0]][0];default:return"SH33TJSSRC"+e[h[0]][0]}switch(e[h[0]][0][0]){case 1025:return f=-1==h[1]?"#REF":e.SheetNames[h[1]]||"SH33TJSERR3",h[1]==h[2]?f:f+":"+e.SheetNames[h[2]];case 14849:return e[h[0]].slice(1).map(function(T){return T.Name}).join(";;");default:return e[h[0]][0][3]?(f=-1==h[1]?"#REF":e[h[0]][0][3][h[1]]||"SH33TJSERR4",h[1]==h[2]?f:f+":"+e[h[0]][0][3][h[2]]):"SH33TJSERR2"}}function fu(e,s,r){var h=Sg(e,s,r);return"#REF"==h?h:function __(e,s){if(!(e||s&&s.biff<=5&&s.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(h,r)}function Ec(e,s,r,h,f){var ee,se,de,$e,T=f&&f.biff||8,D={s:{c:0,r:0},e:{c:0,r:0}},B=[],Fe=0,Be=0,rt="";if(!e[0]||!e[0][0])return"";for(var Re=-1,at="",zt=0,Vt=e[0].length;zt=0){switch(e[0][Re][1][0]){case 0:at=un(" ",e[0][Re][1][1]);break;case 1:at=un("\r",e[0][Re][1][1]);break;default:if(at="",f.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][Re][1][0])}se+=at,Re=-1}B.push(se+dC[kt[0]]+ee);break;case"PtgIsect":ee=B.pop(),se=B.pop(),B.push(se+" "+ee);break;case"PtgUnion":ee=B.pop(),se=B.pop(),B.push(se+","+ee);break;case"PtgRange":ee=B.pop(),se=B.pop(),B.push(se+":"+ee);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":de=Nl(kt[1][1],D,f),B.push(sl(de,T));break;case"PtgRefN":de=r?Nl(kt[1][1],r,f):kt[1][1],B.push(sl(de,T));break;case"PtgRef3d":Fe=kt[1][1],de=Nl(kt[1][2],D,f),rt=fu(h,Fe,f),B.push(rt+"!"+sl(de,T));break;case"PtgFunc":case"PtgFuncVar":var Un=kt[1][0],ei=kt[1][1];Un||(Un=0);var rn=0==(Un&=127)?[]:B.slice(-Un);B.length-=Un,"User"===ei&&(ei=rn.shift()),B.push(ei+"("+rn.join(",")+")");break;case"PtgBool":B.push(kt[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":B.push(kt[1]);break;case"PtgNum":B.push(String(kt[1]));break;case"PtgStr":B.push('"'+kt[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":$e=Oc(kt[1][1],r?{s:r}:D,f),B.push(bl($e,f));break;case"PtgArea":$e=Oc(kt[1][1],D,f),B.push(bl($e,f));break;case"PtgArea3d":$e=kt[1][2],rt=fu(h,Fe=kt[1][1],f),B.push(rt+"!"+bl($e,f));break;case"PtgAttrSum":B.push("SUM("+B.pop()+")");break;case"PtgName":var Nn=(h.names||[])[(Be=kt[1][2])-1]||(h[0]||[])[Be],Sn=Nn?Nn.Name:"SH33TJSNAME"+String(Be);Sn&&"_xlfn."==Sn.slice(0,6)&&!f.xlfn&&(Sn=Sn.slice(6)),B.push(Sn);break;case"PtgNameX":var ri,ti=kt[1][1];if(Be=kt[1][2],!(f.biff<=5)){var kn="";if(14849==((h[ti]||[])[0]||[])[0]||(1025==((h[ti]||[])[0]||[])[0]?h[ti][Be]&&h[ti][Be].itab>0&&(kn=h.SheetNames[h[ti][Be].itab-1]+"!"):kn=h.SheetNames[Be-1]+"!"),h[ti]&&h[ti][Be])kn+=h[ti][Be].Name;else if(h[0]&&h[0][Be])kn+=h[0][Be].Name;else{var $i=(Sg(h,ti,f)||"").split(";;");$i[Be-1]?kn=$i[Be-1]:kn+="SH33TJSERRX"}B.push(kn);break}ti<0&&(ti=-ti),h[ti]&&(ri=h[ti][Be]),ri||(ri={Name:"SH33TJSERRY"}),B.push(ri.Name);break;case"PtgParen":var Ar="(",Qi=")";if(Re>=0){switch(at="",e[0][Re][1][0]){case 2:Ar=un(" ",e[0][Re][1][1])+Ar;break;case 3:Ar=un("\r",e[0][Re][1][1])+Ar;break;case 4:Qi=un(" ",e[0][Re][1][1])+Qi;break;case 5:Qi=un("\r",e[0][Re][1][1])+Qi;break;default:if(f.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][Re][1][0])}Re=-1}B.push(Ar+B.pop()+Qi);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":B.push("#REF!");break;case"PtgExp":var Br={c:r.c,r:r.r};if(h.sharedf[hr(de={c:kt[1][1],r:kt[1][0]})]){var Gr=h.sharedf[hr(de)];B.push(Ec(Gr,0,Br,h,f))}else{var Po=!1;for(ee=0;ee!=h.arrayf.length;++ee)if(!(de.c<(se=h.arrayf[ee])[0].s.c||de.c>se[0].e.c||de.rse[0].e.r)){B.push(Ec(se[1],0,Br,h,f)),Po=!0;break}Po||B.push(kt[1])}break;case"PtgArray":B.push("{"+m_(kt[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":Re=zt;break;case"PtgMissArg":B.push("");break;case"PtgList":B.push("Table"+kt[1].idx+"[#"+kt[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(kt))}if(3!=f.biff&&Re>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][zt][0])){var ws=!0;switch((kt=e[0][Re])[1][0]){case 4:ws=!1;case 0:at=un(" ",kt[1][1]);break;case 5:ws=!1;case 1:at=un("\r",kt[1][1]);break;default:if(at="",f.WTF)throw new Error("Unexpected PtgAttrSpaceType "+kt[1][0])}B.push((ws?at:"")+B.pop()+(ws?"":at)),Re=-1}}if(B.length>1&&f.WTF)throw new Error("bad formula stack");return B[0]}function nu(e,s,r){var h=e.read_shift(4),f=function Sf(e,s,r){for(var f,T,h=e.l+s,D=[];h!=e.l;)s=h-e.l,f=g_[T=e[e.l]]||g_[Wp[T]],(24===T||25===T)&&(f=(24===T?p_:uC)[e[e.l+1]]),f&&f.f?D.push([f.n,f.f(e,s,r)]):Vs(e,s);return D}(e,h,r),T=e.read_shift(4);return[f,T>0?Bh(e,T,f,r):null]}var v_=nu,Og=nu,Lv=nu,_c=nu,gC={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Lg={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},pC={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Kp(e){return("of:="+e.replace(Sp,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function I_(e){return e.replace(/\./,"!")}var Uh=typeof Map<"u";function Jp(e,s,r){var h=0,f=e.length;if(r){if(Uh?r.has(s):Object.prototype.hasOwnProperty.call(r,s))for(var T=Uh?r.get(s):r[s];h-1?(r.width=Xu(h),r.customWidth=1):null!=s.width&&(r.width=s.width),s.hidden&&(r.hidden=!0),null!=s.level&&(r.outlineLevel=r.level=s.level),r}function xd(e,s){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==s&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function id(e,s,r){var h=r.revssf[null!=s.z?s.z:"General"],f=60,T=e.length;if(null==h&&r.ssf)for(;f<392;++f)if(null==r.ssf[f]){ke(s.z,f),r.ssf[f]=s.z,r.revssf[s.z]=h=f;break}for(f=0;f!=T;++f)if(e[f].numFmtId===h)return f;return e[T]={numFmtId:h,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},T}function rd(e,s,r){if(e&&e["!ref"]){var h=is(e["!ref"]);if(h.e.c"u"&&(e.z=qn[14]);break;default:f=e.v}var B=vo("v",Vr(f)),ee={r:s},se=id(h.cellXfs,e,h);switch(0!==se&&(ee.s=se),e.t){case"n":case"z":break;case"d":ee.t="d";break;case"b":ee.t="b";break;case"e":ee.t="e";break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(h&&h.bookSST){B=vo("v",""+Jp(h.Strings,e.v,h.revStrings)),ee.t="s";break}ee.t="str"}if(e.t!=T&&(e.t=T,e.v=D),"string"==typeof e.f&&e.f){var de=e.F&&e.F.slice(0,s.length)==s?{t:"array",ref:e.F}:null;B=Ci("f",Vr(e.f),de)+(null!=e.v?B:"")}return e.l&&r["!links"].push([s,e.l]),e.D&&(ee.cm=1),Ci("c",B,ee)}function im(e,s,r,h){var D,f=[ds,Ci("worksheet",null,{xmlns:Qs[0],"xmlns:r":Lr.r})],B="",ee=r.Sheets[r.SheetNames[e]];null==ee&&(ee={});var se=ee["!ref"]||"A1",de=is(se);if(de.e.c>16383||de.e.r>1048575){if(s.WTF)throw new Error("Range "+se+" exceeds format limit A1:XFD1048576");de.e.c=Math.min(de.e.c,16383),de.e.r=Math.min(de.e.c,1048575),se=Wr(de)}h||(h={}),ee["!comments"]=[];var Fe=[];(function vC(e,s,r,h,f){var T=!1,D={},B=null;if("xlsx"!==h.bookType&&s.vbaraw){var ee=s.SheetNames[r];try{s.Workbook&&(ee=s.Workbook.Sheets[r].CodeName||ee)}catch{}T=!0,D.codeName=Ji(Vr(ee))}if(e&&e["!outline"]){var se={summaryBelow:1,summaryRight:1};e["!outline"].above&&(se.summaryBelow=0),e["!outline"].left&&(se.summaryRight=0),B=(B||"")+Ci("outlinePr",null,se)}!T&&!B||(f[f.length]=Ci("sheetPr",B,D))})(ee,r,e,s,f),f[f.length]=Ci("dimension",null,{ref:se}),f[f.length]=function Ys(e,s,r,h){var f={workbookViewId:"0"};return(((h||{}).Workbook||{}).Views||[])[0]&&(f.rightToLeft=h.Workbook.Views[0].RTL?"1":"0"),Ci("sheetViews",Ci("sheetView",null,f),{})}(0,0,0,r),s.sheetFormat&&(f[f.length]=Ci("sheetFormatPr",null,{defaultRowHeight:s.sheetFormat.defaultRowHeight||"16",baseColWidth:s.sheetFormat.baseColWidth||"10",outlineLevelRow:s.sheetFormat.outlineLevelRow||"7"})),null!=ee["!cols"]&&ee["!cols"].length>0&&(f[f.length]=function x_(e,s){for(var h,r=[""],f=0;f!=s.length;++f)(h=s[f])&&(r[r.length]=Ci("col",null,Ng(f,h)));return r[r.length]="",r.join("")}(0,ee["!cols"])),f[D=f.length]="",ee["!links"]=[],null!=ee["!ref"]&&(B=function th(e,s,r,h){var ee,at,f=[],T=[],D=is(e["!ref"]),B="",se="",de=[],Fe=0,Be=0,$e=e["!rows"],rt=Array.isArray(e),Re={r:se},zt=-1;for(Be=D.s.c;Be<=D.e.c;++Be)de[Be]=hs(Be);for(Fe=D.s.r;Fe<=D.e.r;++Fe){for(T=[],se=Ao(Fe),Be=D.s.c;Be<=D.e.c;++Be){ee=de[Be]+se;var Vt=rt?(e[Fe]||[])[Be]:e[ee];void 0!==Vt&&null!=(B=M_(Vt,ee,e,s))&&T.push(B)}(T.length>0||$e&&$e[Fe])&&(Re={r:se},$e&&$e[Fe]&&((at=$e[Fe]).hidden&&(Re.hidden=1),zt=-1,at.hpx?zt=du(at.hpx):at.hpt&&(zt=at.hpt),zt>-1&&(Re.ht=zt,Re.customHeight=1),at.level&&(Re.outlineLevel=at.level)),f[f.length]=Ci("row",T.join(""),Re))}if($e)for(;Fe<$e.length;++Fe)$e&&$e[Fe]&&(Re={r:Fe+1},(at=$e[Fe]).hidden&&(Re.hidden=1),zt=-1,at.hpx?zt=du(at.hpx):at.hpt&&(zt=at.hpt),zt>-1&&(Re.ht=zt,Re.customHeight=1),at.level&&(Re.outlineLevel=at.level),f[f.length]=Ci("row","",Re));return f.join("")}(ee,s),B.length>0&&(f[f.length]=B)),f.length>D+1&&(f[f.length]="",f[D]=f[D].replace("/>",">")),ee["!protect"]&&(f[f.length]=function Pv(e){var s={sheet:1};return AC.forEach(function(r){null!=e[r]&&e[r]&&(s[r]="1")}),IC.forEach(function(r){null!=e[r]&&!e[r]&&(s[r]="0")}),e.password&&(s.password=Ku(e.password).toString(16).toUpperCase()),Ci("sheetProtection",null,s)}(ee["!protect"])),null!=ee["!autofilter"]&&(f[f.length]=function yC(e,s,r,h){var f="string"==typeof e.ref?e.ref:Wr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var T=r.Workbook.Names,D=zo(f);D.s.r==D.e.r&&(D.e.r=zo(s["!ref"]).e.r,f=Wr(D));for(var B=0;B0&&(f[f.length]=function em(e){if(0===e.length)return"";for(var s='',r=0;r!=e.length;++r)s+='';return s+""}(ee["!merges"]));var $e,Be=-1,rt=-1;return ee["!links"].length>0&&(f[f.length]="",ee["!links"].forEach(function(Re){Re[1].Target&&($e={ref:Re[0]},"#"!=Re[1].Target.charAt(0)&&(rt=he(h,-1,Vr(Re[1].Target).replace(/#.*$/,""),Kr.HLINK),$e["r:id"]="rId"+rt),(Be=Re[1].Target.indexOf("#"))>-1&&($e.location=Vr(Re[1].Target.slice(Be+1))),Re[1].Tooltip&&($e.tooltip=Vr(Re[1].Tooltip)),f[f.length]=Ci("hyperlink",null,$e))}),f[f.length]=""),delete ee["!links"],null!=ee["!margins"]&&(f[f.length]=function Rv(e){return xd(e),Ci("pageMargins",null,e)}(ee["!margins"])),(!s||s.ignoreEC||null==s.ignoreEC)&&(f[f.length]=vo("ignoredErrors",Ci("ignoredError",null,{numberStoredAsText:1,sqref:se}))),Fe.length>0&&(rt=he(h,-1,"../drawings/drawing"+(e+1)+".xml",Kr.DRAW),f[f.length]=Ci("drawing",null,{"r:id":"rId"+rt}),ee["!drawing"]=Fe),ee["!comments"].length>0&&(rt=he(h,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Kr.VML),f[f.length]=Ci("legacyDrawing",null,{"r:id":"rId"+rt}),ee["!legacy"]=rt),f.length>1&&(f[f.length]="",f[1]=f[1].replace("/>",">")),f.join("")}function zh(e,s,r,h){var f=function Ug(e,s,r){var h=Vn(145),f=(r["!rows"]||[])[e]||{};h.write_shift(4,e),h.write_shift(4,0);var T=320;f.hpx?T=20*du(f.hpx):f.hpt&&(T=20*f.hpt),h.write_shift(2,T),h.write_shift(1,0);var D=0;f.level&&(D|=f.level),f.hidden&&(D|=16),(f.hpx||f.hpt)&&(D|=32),h.write_shift(1,D),h.write_shift(1,0);var B=0,ee=h.l;h.l+=4;for(var se={r:e,c:0},de=0;de<16;++de)if(!(s.s.c>de+1<<10||s.e.ch.l?h.slice(0,h.l):h}(h,r,s);(f.length>17||(s["!rows"]||[])[h])&&ai(e,0,f)}var rm=po,Lf=yo;var Pu=po,um=yo,Td=["left","right","top","bottom","header","footer"];function z(e,s,r,h,f,T,D){if(void 0===s.v)return!1;var B="";switch(s.t){case"b":B=s.v?"1":"0";break;case"d":(s=Tt(s)).z=s.z||qn[14],s.v=Nr(En(s.v)),s.t="n";break;case"n":case"e":B=""+s.v;break;default:B=s.v}var ee={r,c:h};switch(ee.s=id(f.cellXfs,s,f),s.l&&T["!links"].push([hr(ee),s.l]),s.c&&T["!comments"].push([hr(ee),s.c]),s.t){case"s":case"str":return f.bookSST?(B=Jp(f.Strings,s.v,f.revStrings),ee.t="s",ee.v=B,D?ai(e,18,function iu(e,s,r){return null==r&&(r=Vn(8)),xa(s,r),r.write_shift(4,s.v),r}(0,ee)):ai(e,7,function F_(e,s,r){return null==r&&(r=Vn(12)),ea(s,r),r.write_shift(4,s.v),r}(0,ee))):(ee.t="str",D?ai(e,17,function BC(e,s,r){return null==r&&(r=Vn(8+4*e.v.length)),xa(s,r),Si(e.v,r),r.length>r.l?r.slice(0,r.l):r}(s,ee)):ai(e,6,function YC(e,s,r){return null==r&&(r=Vn(12+4*e.v.length)),ea(s,r),Si(e.v,r),r.length>r.l?r.slice(0,r.l):r}(s,ee))),!0;case"n":return s.v==(0|s.v)&&s.v>-1e3&&s.v<1e3?D?ai(e,13,function RC(e,s,r){return null==r&&(r=Vn(8)),xa(s,r),go(e.v,r),r}(s,ee)):ai(e,2,function LC(e,s,r){return null==r&&(r=Vn(12)),ea(s,r),go(e.v,r),r}(s,ee)):D?ai(e,16,function lm(e,s,r){return null==r&&(r=Vn(12)),xa(s,r),xl(e.v,r),r}(s,ee)):ai(e,5,function kC(e,s,r){return null==r&&(r=Vn(16)),ea(s,r),xl(e.v,r),r}(s,ee)),!0;case"b":return ee.t="b",D?ai(e,15,function L_(e,s,r){return null==r&&(r=Vn(5)),xa(s,r),r.write_shift(1,e.v?1:0),r}(s,ee)):ai(e,4,function EC(e,s,r){return null==r&&(r=Vn(9)),ea(s,r),r.write_shift(1,e.v?1:0),r}(s,ee)),!0;case"e":return ee.t="e",D?ai(e,14,function R_(e,s,r){return null==r&&(r=Vn(8)),xa(s,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}(s,ee)):ai(e,3,function MC(e,s,r){return null==r&&(r=Vn(9)),ea(s,r),r.write_shift(1,e.v),r}(s,ee)),!0}return D?ai(e,12,function xC(e,s,r){return null==r&&(r=Vn(4)),xa(s,r)}(0,ee)):ai(e,1,function k_(e,s,r){return null==r&&(r=Vn(8)),ea(s,r)}(0,ee)),!0}function Jn(e,s,r,h){var f=ra(),T=r.SheetNames[e],D=r.Sheets[T]||{},B=T;try{r&&r.Workbook&&(B=r.Workbook.Sheets[e].CodeName||B)}catch{}var ee=is(D["!ref"]||"A1");if(ee.e.c>16383||ee.e.r>1048575){if(s.WTF)throw new Error("Range "+(D["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");ee.e.c=Math.min(ee.e.c,16383),ee.e.r=Math.min(ee.e.c,1048575)}return D["!links"]=[],D["!comments"]=[],ai(f,129),(r.vbaraw||D["!outline"])&&ai(f,147,function om(e,s,r){null==r&&(r=Vn(84+4*e.length));var h=192;s&&(s.above&&(h&=-65),s.left&&(h&=-129)),r.write_shift(1,h);for(var f=1;f<3;++f)r.write_shift(1,0);return _a({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),$a(e,r),r.slice(0,r.l)}(B,D["!outline"])),ai(f,148,Lf(ee)),function an(e,s,r){ai(e,133),ai(e,137,function d(e,s,r){null==r&&(r=Vn(30));var h=924;return(((s||{}).Views||[])[0]||{}).RTL&&(h|=32),r.write_shift(2,h),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}(0,r)),ai(e,138),ai(e,134)}(f,0,r.Workbook),function we(e,s){!s||!s["!cols"]||(ai(e,390),s["!cols"].forEach(function(r,h){r&&ai(e,60,function dm(e,s,r){null==r&&(r=Vn(18));var h=Ng(e,s);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(h.width||10)),r.write_shift(4,0);var f=0;return s.hidden&&(f|=1),"number"==typeof h.width&&(f|=2),s.level&&(f|=s.level<<8),r.write_shift(2,f),r}(h,r))}),ai(e,391))}(f,D),function Q(e,s,r,h){var f=is(s["!ref"]||"A1"),D="",B=[];ai(e,145);var ee=Array.isArray(s),se=f.e.r;s["!rows"]&&(se=Math.max(f.e.r,s["!rows"].length-1));for(var de=f.s.r;de<=se;++de){D=Ao(de),zh(e,s,f,de);var Fe=!1;if(de<=f.e.r)for(var Be=f.s.c;Be<=f.e.c;++Be){de===f.s.r&&(B[Be]=hs(Be));var $e=ee?(s[de]||[])[Be]:s[B[Be]+D];Fe=!!$e&&z(e,$e,de,Be,h,s,Fe)}}ai(e,146)}(f,D,0,s),function Qn(e,s){s["!protect"]&&ai(e,535,function p(e,s){return null==s&&(s=Vn(66)),s.write_shift(2,e.password?Ku(e.password):0),s.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){s.write_shift(4,r[1]?null==e[r[0]]||e[r[0]]?0:1:null!=e[r[0]]&&e[r[0]]?0:1)}),s}(s["!protect"]))}(f,D),function en(e,s,r,h){if(s["!autofilter"]){var f=s["!autofilter"],T="string"==typeof f.ref?f.ref:Wr(f.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var D=r.Workbook.Names,B=zo(T);B.s.r==B.e.r&&(B.e.r=zo(s["!ref"]).e.r,T=Wr(B));for(var ee=0;ee0){var f=he(h,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Kr.VML);ai(e,551,Vl("rId"+f)),s["!legacy"]=f}}(f,D,e,h),ai(f,130),f.end()}var Gs=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],_u="][*?/\\".split("");function Mc(e,s){if(e.length>31){if(s)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return _u.forEach(function(h){if(-1!=e.indexOf(h)){if(!s)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function Cu(e){var s=[ds];s[s.length]=Ci("workbook",null,{xmlns:Qs[0],"xmlns:r":Lr.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,h={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Gs.forEach(function(B){null!=e.Workbook.WBProps[B[0]]&&e.Workbook.WBProps[B[0]]!=B[1]&&(h[B[0]]=e.Workbook.WBProps[B[0]])}),e.Workbook.WBProps.CodeName&&(h.codeName=e.Workbook.WBProps.CodeName,delete h.CodeName)),s[s.length]=Ci("workbookPr",null,h);var f=e.Workbook&&e.Workbook.Sheets||[],T=0;if(f&&f[0]&&f[0].Hidden){for(s[s.length]="",T=0;T!=e.SheetNames.length&&f[T]&&f[T].Hidden;++T);T==e.SheetNames.length&&(T=0),s[s.length]='',s[s.length]=""}for(s[s.length]="",T=0;T!=e.SheetNames.length;++T){var D={name:Vr(e.SheetNames[T].slice(0,31))};if(D.sheetId=""+(T+1),D["r:id"]="rId"+(T+1),f[T])switch(f[T].Hidden){case 1:D.state="hidden";break;case 2:D.state="veryHidden"}s[s.length]=Ci("sheet",null,D)}return s[s.length]="",r&&(s[s.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(B){var ee={name:B.Name};B.Comment&&(ee.comment=B.Comment),null!=B.Sheet&&(ee.localSheetId=""+B.Sheet),B.Hidden&&(ee.hidden="1"),B.Ref&&(s[s.length]=Ci("definedName",Vr(B.Ref),ee))}),s[s.length]=""),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function nh(e,s){return s||(s=Vn(127)),s.write_shift(4,e.Hidden),s.write_shift(4,e.iTabID),Vl(e.strRelID,s),Si(e.name.slice(0,31),s),s.length>s.l?s.slice(0,s.l):s}function Uv(e,s){var r=ra();return ai(r,131),ai(r,128,function Bv(e,s){s||(s=Vn(127));for(var r=0;4!=r;++r)s.write_shift(4,0);return Si("SheetJS",s),Si(i.version,s),Si(i.version,s),Si("7262",s),s.length>s.l?s.slice(0,s.l):s}()),ai(r,153,function zA(e,s){s||(s=Vn(72));var r=0;return e&&e.filterPrivacy&&(r|=8),s.write_shift(4,r),s.write_shift(4,0),$a(e&&e.CodeName||"ThisWorkbook",s),s.slice(0,s.l)}(e.Workbook&&e.Workbook.WBProps||null)),function DI(e,s){if(s.Workbook&&s.Workbook.Sheets){for(var r=s.Workbook.Sheets,h=0,f=-1,T=-1;hf||(ai(e,135),ai(e,158,function GA(e,s){return s||(s=Vn(29)),s.write_shift(-4,0),s.write_shift(-4,460),s.write_shift(4,28800),s.write_shift(4,17600),s.write_shift(4,500),s.write_shift(4,e),s.write_shift(4,e),s.write_shift(1,120),s.length>s.l?s.slice(0,s.l):s}(f)),ai(e,136))}}(r,e),function Yv(e,s){ai(e,143);for(var r=0;r!=s.SheetNames.length;++r)ai(e,156,nh({Hidden:s.Workbook&&s.Workbook.Sheets&&s.Workbook.Sheets[r]&&s.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:s.SheetNames[r]}));ai(e,144)}(r,e),ai(r,132),r.end()}function ZC(e,s,r,h,f){return(".bin"===s.slice(-4)?Jn:im)(e,r,h,f)}function Vg(e,s,r){return(".bin"===s.slice(-4)?Mv:kh)(e,r)}function XA(e){return Ci("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Af(e.Ref,{r:0,c:0})})}function LI(e,s,r,h,f,T,D){if(!e||null==e.v&&null==e.f)return"";var B={};if(e.f&&(B["ss:Formula"]="="+Vr(Af(e.f,D))),e.F&&e.F.slice(0,s.length)==s){var ee=Io(e.F.slice(s.length+1));B["ss:ArrayRange"]="RC:R"+(ee.r==D.r?"":"["+(ee.r-D.r)+"]")+"C"+(ee.c==D.c?"":"["+(ee.c-D.c)+"]")}if(e.l&&e.l.Target&&(B["ss:HRef"]=Vr(e.l.Target),e.l.Tooltip&&(B["x:HRefScreenTip"]=Vr(e.l.Tooltip))),r["!merges"])for(var se=r["!merges"],de=0;de!=se.length;++de)se[de].s.c!=D.c||se[de].s.r!=D.r||(se[de].e.c>se[de].s.c&&(B["ss:MergeAcross"]=se[de].e.c-se[de].s.c),se[de].e.r>se[de].s.r&&(B["ss:MergeDown"]=se[de].e.r-se[de].s.r));var Fe="",Be="";switch(e.t){case"z":if(!h.sheetStubs)return"";break;case"n":Fe="Number",Be=String(e.v);break;case"b":Fe="Boolean",Be=e.v?"1":"0";break;case"e":Fe="Error",Be=Ea[e.v];break;case"d":Fe="DateTime",Be=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||qn[14]);break;case"s":Fe="String",Be=function Rn(e){return(e+"").replace(Ho,function(r){return $r[r]}).replace($o,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}(e.v||"")}var $e=id(h.cellXfs,e,h);B["ss:StyleID"]="s"+(21+$e),B["ss:Index"]=D.c+1;var Re="z"==e.t?"":''+(null!=e.v?Be:"")+"";return(e.c||[]).length>0&&(Re+=function t1(e){return e.map(function(s){var r=function Aa(e){return e.replace(/(\r\n|[\r\n])/g," ")}(s.t||""),h=Ci("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Ci("Comment",h,{"ss:Author":s.a})}).join("")}(e.c)),Ci("Cell",Re,B)}function n1(e,s){var r='"}function r1(e,s,r){var h=[],T=r.Sheets[r.SheetNames[e]],D=T?function e1(e,s,r,h){if(!e||!((h||{}).Workbook||{}).Names)return"";for(var f=h.Workbook.Names,T=[],D=0;D0&&h.push(""+D+""),D=T?function i1(e,s,r,h){if(!e["!ref"])return"";var f=is(e["!ref"]),T=e["!merges"]||[],D=0,B=[];e["!cols"]&&e["!cols"].forEach(function(at,zt){Wc(at);var Vt=!!at.width,kt=Ng(zt,at),wn={"ss:Index":zt+1};Vt&&(wn["ss:Width"]=Vc(kt.width)),at.hidden&&(wn["ss:Hidden"]="1"),B.push(Ci("Column",null,wn))});for(var ee=Array.isArray(e),se=f.s.r;se<=f.e.r;++se){for(var de=[n1(se,(e["!rows"]||[])[se])],Fe=f.s.c;Fe<=f.e.c;++Fe){var Be=!1;for(D=0;D!=T.length;++D)if(!(T[D].s.c>Fe||T[D].s.r>se||T[D].e.c"),de.length>2&&B.push(de.join(""))}return B.join("")}(T,s):"",D.length>0&&h.push(""+D+"
    "),h.push(function OI(e,s,r,h){if(!e)return"";var f=[];if(e["!margins"]&&(f.push(""),e["!margins"].header&&f.push(Ci("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&f.push(Ci("Footer",null,{"x:Margin":e["!margins"].footer})),f.push(Ci("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),f.push("")),h&&h.Workbook&&h.Workbook.Sheets&&h.Workbook.Sheets[r])if(h.Workbook.Sheets[r].Hidden)f.push(Ci("Visible",1==h.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var T=0;T")}return((((h||{}).Workbook||{}).Views||[])[0]||{}).RTL&&f.push(""),e["!protect"]&&(f.push(vo("ProtectContents","True")),e["!protect"].objects&&f.push(vo("ProtectObjects","True")),e["!protect"].scenarios&&f.push(vo("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null!=e["!protect"].selectUnlockedCells&&!e["!protect"].selectUnlockedCells&&f.push(vo("EnableSelection","UnlockedCells")):f.push(vo("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(D){e["!protect"][D[0]]&&f.push("<"+D[1]+"/>")})),0==f.length?"":Ci("WorksheetOptions",f.join(""),{xmlns:Hs.x})}(T,0,e,r)),h.join("")}function $C(e,s){s||(s={}),e.SSF||(e.SSF=Tt(qn)),e.SSF&&(Ae(),ge(e.SSF),s.revssf=xs(e.SSF),s.revssf[e.SSF[65535]]=0,s.ssf=e.SSF,s.cellXfs=[],id(s.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(function GC(e,s){var r=[];return e.Props&&r.push(function Ei(e,s){var r=[];return Ki(Cn).map(function(h){for(var f=0;f'+f.join("")+""}(e.Props,e.Custprops)),r.join("")}(e,s)),r.push(""),r.push(""),r.push("");for(var h=0;h'];return s.cellXfs.forEach(function(h,f){var T=[];T.push(Ci("NumberFormat",null,{"ss:Format":Vr(qn[h.numFmtId])}));var D={"ss:ID":"s"+(21+f)};r.push(Ci("Style",T.join(""),D))}),Ci("Styles",r.join(""))}(0,s),r[3]=function qA(e){if(!((e||{}).Workbook||{}).Names)return"";for(var s=e.Workbook.Names,r=[],h=0;h0&&(h.family=B);var ee=e.read_shift(1);switch(ee>0&&(h.charset=ee),e.l++,h.color=function Xl(e){var s={},h=e.read_shift(1)>>>1,f=e.read_shift(1),T=e.read_shift(2,"i"),D=e.read_shift(1),B=e.read_shift(1),ee=e.read_shift(1);switch(e.l++,h){case 0:s.auto=1;break;case 1:s.index=f;var se=Oa[f];se&&(s.rgb=Cd(se));break;case 2:s.rgb=Cd([D,B,ee]);break;case 3:s.theme=f}return 0!=T&&(s.tint=T>0?T/32767:T/32768),s}(e),e.read_shift(1)){case 1:h.scheme="major";break;case 2:h.scheme="minor"}return h.name=Hn(e),h}},44:{f:function xh(e,s){return[e.read_shift(2),Hn(e)]}},45:{f:E0},46:{f:jm},47:{f:function $d(e,s){var r=e.l+s,h=e.read_shift(2),f=e.read_shift(2);return e.l=r,{ixfe:h,numFmtId:f}}},48:{},49:{f:function Ut(e){return e.read_shift(4,"i")}},50:{},51:{f:function vp(e){for(var s=[],r=e.read_shift(4);r-- >0;)s.push([e.read_shift(4),e.read_shift(4)]);return s}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:function up(e,s,r){if(!r.cellStyles)return Vs(e,s);var h=r&&r.biff>=12?4:2,f=e.read_shift(h),T=e.read_shift(h),D=e.read_shift(h),B=e.read_shift(h),ee=e.read_shift(2);2==h&&(e.l+=2);var se={s:f,e:T,w:D,ixfe:B,flags:ee};return(r.biff>=5||!r.biff)&&(se.level=ee>>8&7),se}},62:{f:function NC(e){return[rs(e),ls(e),"is"]}},63:{f:function yp(e){var s={};s.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),s.r=hr(r);var h=e.read_shift(1);return 2&h&&(s.l="1"),8&h&&(s.a="1"),s}},64:{f:function _(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Vs,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function u(e){var s=e.read_shift(2);return e.l+=28,{RTL:32&s}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function sm(e,s){var r={},h=e[e.l];return++e.l,r.above=!(64&h),r.left=!(128&h),e.l+=18,r.name=Ya(e,s-19),r}},148:{f:rm,p:16},151:{f:function B_(){}},152:{},153:{f:function jA(e,s){var r={},h=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var f=s>8?Hn(e):"";return f.length>0&&(r.CodeName=f),r.autoCompressPictures=!!(65536&h),r.backupFile=!!(64&h),r.checkCompatibility=!!(4096&h),r.date1904=!!(1&h),r.filterPrivacy=!!(8&h),r.hidePivotFieldList=!!(1024&h),r.promptedSolutions=!!(16&h),r.publishItems=!!(2048&h),r.refreshAllConnections=!!(262144&h),r.saveExternalLinkValues=!!(128&h),r.showBorderUnselectedTables=!!(4&h),r.showInkAnnotation=!!(32&h),r.showObjects=["all","placeholders","none"][h>>13&3],r.showPivotChartFilter=!!(32768&h),r.updateLinks=["userSet","never","always"][h>>8&3],r}},154:{},155:{},156:{f:function Rf(e,s){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Es(e,s-8),r.name=Hn(e),r}},157:{},158:{},159:{T:1,f:function ul(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:po},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Pu},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function Cp(e,s){return{flags:e.read_shift(4),version:e.read_shift(4),name:Hn(e)}}},336:{T:-1},337:{f:function bg(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Es},357:{},358:{},359:{},360:{T:1},361:{},362:{f:function _h(e,s,r){if(r.biff<8)return function Ch(e,s,r){3==e[e.l+1]&&e[e.l]++;var h=Dl(e,0,r);return 3==h.charCodeAt(0)?h.slice(1):h}(e,0,r);for(var h=[],f=e.l+s,T=e.read_shift(r.biff>8?4:2);0!=T--;)h.push(uh(e,0,r));if(e.l!=f)throw new Error("Bad ExternSheet: "+e.l+" != "+f);return h}},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function sd(e,s,r){var h=e.l+s,f=Fl(e),T=e.read_shift(1),D=[f];if(D[2]=T,r.cellFormula){var B=v_(e,h-e.l,r);D[1]=B}else e.l=h;return D}},427:{f:function Vh(e,s,r){var h=e.l+s,T=[po(e,16)];if(r.cellFormula){var D=_c(e,h-e.l,r);T[1]=D,e.l=h}else e.l=h;return T}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function hm(e){var s={};return Td.forEach(function(r){s[r]=ma(e)}),s}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function S_(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function zC(e,s){var r=e.l+s,h=po(e,16),f=fo(e),T=Hn(e),D=Hn(e),B=Hn(e);e.l=r;var ee={rfx:h,relId:f,loc:T,display:B};return D&&(ee.Tooltip=D),ee}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Es},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:e_},633:{T:1},634:{T:-1},635:{T:1,f:function Xd(e){var s={};s.iauthor=e.read_shift(4);var r=po(e,16);return s.rfx=r.s,s.ref=hr(r.s),e.l+=16,s}},636:{T:-1},637:{f:Ws},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function vr(e,s){return e.l+=10,{name:Hn(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function w(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function zi(e,s,r,h){var f=s;if(!isNaN(f)){var T=h||(r||[]).length||0,D=e.next(4);D.write_shift(2,f),D.write_shift(2,T),T>0&&ro(r)&&e.push(r)}}function G_(e,s,r){return e||(e=Vn(7)),e.write_shift(2,s),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function JC(e,s,r,h){if(null!=s.v)switch(s.t){case"d":case"n":var f="d"==s.t?Nr(En(s.v)):s.v;return void(f==(0|f)&&f>=0&&f<65536?zi(e,2,function yh(e,s,r){var h=Vn(9);return G_(h,e,s),h.write_shift(2,r),h}(r,h,f)):zi(e,3,function Ih(e,s,r){var h=Vn(15);return G_(h,e,s),h.write_shift(8,r,"f"),h}(r,h,f)));case"b":case"e":return void zi(e,5,function a1(e,s,r,h){var f=Vn(9);return G_(f,e,s),zl(r,h||"b",f),f}(r,h,s.v,s.t));case"s":case"str":return void zi(e,4,function l1(e,s,r){var h=Vn(8+2*r.length);return G_(h,e,s),h.write_shift(1,r.length),h.write_shift(r.length,r,"sbcs"),h.l255||$e.e.r>=rt){if(s.WTF)throw new Error("Range "+(T["!ref"]||"A1")+" exceeds format limit A1:IV16384");$e.e.c=Math.min($e.e.c,255),$e.e.r=Math.min($e.e.c,rt-1)}zi(h,2057,Vf(0,16,s)),zi(h,13,jl(1)),zi(h,12,jl(100)),zi(h,15,fs(!0)),zi(h,17,fs(!1)),zi(h,16,xl(.001)),zi(h,95,fs(!0)),zi(h,42,fs(!1)),zi(h,43,fs(!1)),zi(h,130,jl(1)),zi(h,128,function Eu(e){var s=Vn(8);return s.write_shift(4,0),s.write_shift(2,e[0]?e[0]+1:0),s.write_shift(2,e[1]?e[1]+1:0),s}([0,0])),zi(h,131,fs(!1)),zi(h,132,fs(!1)),se&&function h1(e,s){if(s){var r=0;s.forEach(function(h,f){++r<=256&&h&&zi(e,125,function dp(e,s){var r=Vn(12);r.write_shift(2,s),r.write_shift(2,s),r.write_shift(2,256*e.width),r.write_shift(2,0);var h=0;return e.hidden&&(h|=1),r.write_shift(1,h),r.write_shift(1,h=e.level||0),r.write_shift(2,0),r}(Ng(f,h),f))})}}(h,T["!cols"]),zi(h,512,function nf(e,s){var r=8!=s.biff&&s.biff?2:4,h=Vn(2*r+6);return h.write_shift(r,e.s.r),h.write_shift(r,e.e.r+1),h.write_shift(2,e.s.c),h.write_shift(2,e.e.c+1),h.write_shift(2,0),h}($e,s)),se&&(T["!links"]=[]);for(var Re=$e.s.r;Re<=$e.e.r;++Re){Fe=Ao(Re);for(var at=$e.s.c;at<=$e.e.c;++at){Re===$e.s.r&&(Be[at]=hs(at)),de=Be[at]+Fe;var zt=ee?(T[Re]||[])[at]:T[de];zt&&(f1(h,zt,Re,at,s),se&&zt.l&&T["!links"].push([de,zt.l]))}}var Vt=B.CodeName||B.name||f;return se&&zi(h,574,function Rm(e){var s=Vn(18),r=1718;return e&&e.RTL&&(r|=64),s.write_shift(2,r),s.write_shift(4,0),s.write_shift(4,64),s.write_shift(4,0),s.write_shift(4,0),s}((D.Views||[])[0])),se&&(T["!merges"]||[]).length&&zi(h,229,function ap(e){var s=Vn(2+8*e.length);s.write_shift(2,e.length);for(var r=0;r255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}var T=s||{};switch(T.biff||2){case 8:case 5:return function QC(e,s){var r=s||{},h=[];e&&!e.SSF&&(e.SSF=Tt(qn)),e&&e.SSF&&(Ae(),ge(e.SSF),r.revssf=xs(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,n0(r),r.cellXfs=[],id(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var f=0;f255||T.e.r>16383){if(h.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:IV16384");T.e.c=Math.min(T.e.c,255),T.e.r=Math.min(T.e.c,16383),D=Wr(T)}for(var se=T.s.r;se<=T.e.r;++se){B=Ao(se);for(var de=T.s.c;de<=T.e.c;++de){se===T.s.r&&(ee[de]=hs(de)),D=ee[de]+B;var Fe=f?(s[se]||[])[de]:s[D];Fe&&JC(e,Fe,se,de)}}}(h,e.Sheets[e.SheetNames[f]],0,r),zi(h,10),h.end()}(e,s)}throw new Error("invalid type "+T.bookType+" for BIFF")}function Am(e,s,r,h){for(var f=e["!merges"]||[],T=[],D=s.s.c;D<=s.e.c;++D){for(var B=0,ee=0,se=0;ser||f[se].s.c>D||f[se].e.r1&&($e.rowspan=B),ee>1&&($e.colspan=ee),h.editable?Be=''+Be+"":Fe&&($e["data-t"]=Fe&&Fe.t||"z",null!=Fe.v&&($e["data-v"]=Fe.v),null!=Fe.z&&($e["data-z"]=Fe.z),Fe.l&&"#"!=(Fe.l.Target||"#").charAt(0)&&(Be='
    '+Be+"")),$e.id=(h.id||"sjs")+"-"+de,T.push(Ci("td",Be,$e))}}return""+T.join("")+""}var Im='SheetJS Table Export',K_="";function rA(e,s){var r=s||{},f=null!=r.footer?r.footer:K_,T=[null!=r.header?r.header:Im],D=zo(e["!ref"]);r.dense=Array.isArray(e),T.push(function iA(e,s,r){return[].join("")+""}(0,0,r));for(var B=D.s.r;B<=D.e.r;++B)T.push(Am(e,D,B,r));return T.push(""+f),T.join("")}function sA(e,s,r){var h=r||{};null!=Se&&(h.dense=Se);var f=0,T=0;if(null!=h.origin)if("number"==typeof h.origin)f=h.origin;else{var D="string"==typeof h.origin?Io(h.origin):h.origin;f=D.r,T=D.c}var B=s.getElementsByTagName("tr"),ee=Math.min(h.sheetRows||1e7,B.length),se={s:{r:0,c:0},e:{r:f,c:T}};if(e["!ref"]){var de=zo(e["!ref"]);se.s.r=Math.min(se.s.r,de.s.r),se.s.c=Math.min(se.s.c,de.s.c),se.e.r=Math.max(se.e.r,de.e.r),se.e.c=Math.max(se.e.c,de.e.c),-1==f&&(se.e.r=f=de.e.r+1)}var Fe=[],Be=0,$e=e["!rows"]||(e["!rows"]=[]),rt=0,Re=0,at=0,zt=0,Vt=0,kt=0;for(e["!cols"]||(e["!cols"]=[]);rt1||kt>1)&&Fe.push({s:{r:Re+f,c:zt+T},e:{r:Re+f+(Vt||1)-1,c:zt+T+(kt||1)-1}});var ti={t:"s",v:rn},ri=ei.getAttribute("data-t")||ei.getAttribute("t")||"";null!=rn&&(0==rn.length?ti.t=ri||"z":h.raw||0==rn.trim().length||"s"==ri||("TRUE"===rn?ti={t:"b",v:!0}:"FALSE"===rn?ti={t:"b",v:!1}:isNaN(Yn(rn))?isNaN(Gi(rn).getDate())||(ti={t:"d",v:En(rn)},h.cellDates||(ti={t:"n",v:Nr(ti.v)}),ti.z=h.dateNF||qn[14]):ti={t:"n",v:Yn(rn)})),void 0===ti.z&&null!=Nn&&(ti.z=Nn);var kn="",$i=ei.getElementsByTagName("A");if($i&&$i.length)for(var Ar=0;Ar<$i.length&&(!$i[Ar].hasAttribute("href")||"#"==(kn=$i[Ar].getAttribute("href")).charAt(0));++Ar);kn&&"#"!=kn.charAt(0)&&(ti.l={Target:kn}),h.dense?(e[Re+f]||(e[Re+f]=[]),e[Re+f][zt+T]=ti):e[hr({c:zt+T,r:Re+f})]=ti,se.e.c=ee&&(e["!fullref"]=Wr((se.e.r=B.length-rt+Re-1+f,se))),e}function ym(e,s){return sA((s||{}).dense?[]:{},e,s)}function Q_(e){var s="",r=function oA(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return r&&(s=r(e).getPropertyValue("display")),s||(s=e.style&&e.style.display),"none"===s}var ev=function(){var e=["",'',"",'',"",'',"",""].join(""),s=""+e+"";return function(){return ds+s}}(),tv=function(){var e=function(T){return Vr(T).replace(/ +/g,function(D){return''}).replace(/\t/g,"").replace(/\n/g,"
    ").replace(/^ /,"").replace(/ $/,"")},s=" \n",h=function(T,D,B){var ee=[];ee.push(' \n');var se=0,de=0,Fe=zo(T["!ref"]||"A1"),Be=T["!merges"]||[],$e=0,rt=Array.isArray(T);if(T["!cols"])for(de=0;de<=Fe.e.c;++de)ee.push(" \n");var at=T["!rows"]||[];for(se=0;se\n");for(;se<=Fe.e.r;++se){for(ee.push(" \n"),de=0;dede||Be[$e].s.r>se||Be[$e].e.c\n");else{var wn=hr({r:se,c:de}),Un=rt?(T[se]||[])[de]:T[wn];if(Un&&Un.f&&(Vt["table:formula"]=Vr(Kp(Un.f)),Un.F&&Un.F.slice(0,wn.length)==wn)){var ei=zo(Un.F);Vt["table:number-matrix-columns-spanned"]=ei.e.c-ei.s.c+1,Vt["table:number-matrix-rows-spanned"]=ei.e.r-ei.s.r+1}if(Un){switch(Un.t){case"b":kt=Un.v?"TRUE":"FALSE",Vt["office:value-type"]="boolean",Vt["office:boolean-value"]=Un.v?"true":"false";break;case"n":kt=Un.w||String(Un.v||0),Vt["office:value-type"]="float",Vt["office:value"]=Un.v||0;break;case"s":case"str":kt=null==Un.v?"":Un.v,Vt["office:value-type"]="string";break;case"d":kt=Un.w||En(Un.v).toISOString(),Vt["office:value-type"]="date",Vt["office:date-value"]=En(Un.v).toISOString(),Vt["table:style-name"]="ce1";break;default:ee.push(s);continue}var rn=e(kt);if(Un.l&&Un.l.Target){var Nn=Un.l.Target;"#"!=(Nn="#"==Nn.charAt(0)?"#"+I_(Nn.slice(1)):Nn).charAt(0)&&!Nn.match(/^\w+:/)&&(Nn="../"+Nn),rn=Ci("text:a",rn,{"xlink:href":Nn.replace(/&/g,"&")})}ee.push(" "+Ci("table:table-cell",Ci("text:p",rn,{}),Vt)+"\n")}else ee.push(s)}}ee.push(" \n")}return ee.push(" \n"),ee.join("")};return function(D,B){var ee=[ds],se=io({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),de=io({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==B.bookType?(ee.push("\n"),ee.push(M().replace(/office:document-meta/g,"office:meta"))):ee.push("\n"),function(T,D){T.push(" \n"),T.push(' \n'),T.push(' \n'),T.push(" /\n"),T.push(' \n'),T.push(" /\n"),T.push(" \n"),T.push(" \n");var B=0;D.SheetNames.map(function(se){return D.Sheets[se]}).forEach(function(se){if(se&&se["!cols"])for(var de=0;de\n'),T.push(' \n'),T.push(" \n"),++B}});var ee=0;D.SheetNames.map(function(se){return D.Sheets[se]}).forEach(function(se){if(se&&se["!rows"])for(var de=0;de\n'),T.push(' \n'),T.push(" \n"),++ee}}),T.push(' \n'),T.push(' \n'),T.push(" \n"),T.push(' \n'),T.push(" \n")}(ee,D),ee.push(" \n"),ee.push(" \n");for(var Fe=0;Fe!=D.SheetNames.length;++Fe)ee.push(h(D.Sheets[D.SheetNames[Fe]],D,Fe));return ee.push(" \n"),ee.push(" \n"),ee.push("fods"==B.bookType?"":""),ee.join("")}}();function lA(e,s){if("fods"==s.bookType)return tv(e,s);var r=Cr(),h="",f=[],T=[];return er(r,h="mimetype","application/vnd.oasis.opendocument.spreadsheet"),er(r,h="content.xml",tv(e,s)),f.push([h,"text/xml"]),T.push([h,"ContentFile"]),er(r,h="styles.xml",ev(e,s)),f.push([h,"text/xml"]),T.push([h,"StylesFile"]),er(r,h="meta.xml",ds+M()),f.push([h,"text/xml"]),T.push([h,"MetadataFile"]),er(r,h="manifest.rdf",function v(e){var s=[ds];s.push('\n');for(var r=0;r!=e.length;++r)s.push(je(e[r][0],e[r][1])),s.push(E("",e[r][0]));return s.push(je("","Document","pkg")),s.push(""),s.join("")}(T)),f.push([h,"application/rdf+xml"]),er(r,h="META-INF/manifest.xml",function Ue(e){var s=[ds];s.push('\n'),s.push(' \n');for(var r=0;r\n');return s.push(""),s.join("")}(f)),r}function $h(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function cA(e){return typeof TextEncoder<"u"?(new TextEncoder).encode(e):Ge(Ji(e))}function Kh(e){var s=e.reduce(function(f,T){return f+T.length},0),r=new Uint8Array(s),h=0;return e.forEach(function(f){r.set(f,h),h+=f.length}),r}function Jh(e,s){var r=s?s[0]:0,h=127&e[r];e:if(e[r++]>=128&&(h|=(127&e[r])<<7,e[r++]<128||(h|=(127&e[r])<<14,e[r++]<128)||(h|=(127&e[r])<<21,e[r++]<128)||(h+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)||(h+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)||(h+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)))break e;return s&&(s[0]=r),h}function wa(e){var s=new Uint8Array(7);s[0]=127&e;var r=1;e:if(e>127){if(s[r-1]|=128,s[r]=e>>7&127,++r,e<=16383||(s[r-1]|=128,s[r]=e>>14&127,++r,e<=2097151)||(s[r-1]|=128,s[r]=e>>21&127,++r,e<=268435455)||(s[r-1]|=128,s[r]=e/256>>>21&127,++r,e<=34359738367)||(s[r-1]|=128,s[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;s[r-1]|=128,s[r]=e/16777216>>>21&127,++r}return s.slice(0,r)}function $l(e){var s=0,r=127&e[s];e:if(e[s++]>=128){if(r|=(127&e[s])<<7,e[s++]<128||(r|=(127&e[s])<<14,e[s++]<128)||(r|=(127&e[s])<<21,e[s++]<128))break e;r|=(127&e[s])<<28}return r}function va(e){for(var s=[],r=[0];r[0]=128;);B=e.slice(ee,r[0]);break;case 5:B=e.slice(r[0],r[0]+(D=4)),r[0]+=D;break;case 1:B=e.slice(r[0],r[0]+(D=8)),r[0]+=D;break;case 2:D=Jh(e,r),B=e.slice(r[0],r[0]+D),r[0]+=D;break;default:throw new Error("PB Type ".concat(T," for Field ").concat(f," at offset ").concat(h))}var se={data:B,type:T};null==s[f]?s[f]=[se]:s[f].push(se)}return s}function Dc(e){var s=[];return e.forEach(function(r,h){r.forEach(function(f){f.data&&(s.push(wa(8*h+f.type)),2==f.type&&s.push(wa(f.data.length)),s.push(f.data))})}),Kh(s)}function vu(e){for(var s,r=[],h=[0];h[0]>>0>0),r.push(D)}return r}function Bf(e){var s=[];return e.forEach(function(r){var h=[];h[1]=[{data:wa(r.id),type:0}],h[2]=[],null!=r.merge&&(h[3]=[{data:wa(+!!r.merge),type:0}]);var f=[];r.messages.forEach(function(D){f.push(D.data),D.meta[3]=[{type:0,data:wa(D.data.length)}],h[2].push({data:Dc(D.meta),type:2})});var T=Dc(h);s.push(wa(T.length)),s.push(T),f.forEach(function(D){return s.push(D)})}),Kh(s)}function hA(e,s){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],h=Jh(s,r),f=[];r[0]>2&7),ee=(224&s[r[0]++])<<3,ee|=s[r[0]++]):(se=1+(s[r[0]++]>>2),2==T?(ee=s[r[0]]|s[r[0]+1]<<8,r[0]+=2):(ee=(s[r[0]]|s[r[0]+1]<<8|s[r[0]+2]<<16|s[r[0]+3]<<24)>>>0,r[0]+=4)),f=[Kh(f)],0==ee)throw new Error("Invalid offset 0");if(ee>f[0].length)throw new Error("Invalid offset beyond length");if(se>=ee)for(f.push(f[0].slice(-ee)),se-=ee;se>=f[f.length-1].length;)f.push(f[f.length-1]),se-=f[f.length-1].length;f.push(f[0].slice(-ee,-ee+se))}else{var D=s[r[0]++]>>2;if(D<60)++D;else{var B=D-59;D=s[r[0]],B>1&&(D|=s[r[0]+1]<<8),B>2&&(D|=s[r[0]+2]<<16),B>3&&(D|=s[r[0]+3]<<24),D>>>=0,D++,r[0]+=B}f.push(s.slice(r[0],r[0]+D)),r[0]+=D}}var de=Kh(f);if(de.length!=h)throw new Error("Unexpected length: ".concat(de.length," != ").concat(h));return de}function ru(e){for(var s=[],r=0;r>8&255]))):h<=16777216?(D+=4,s.push(new Uint8Array([248,h-1&255,h-1>>8&255,h-1>>16&255]))):h<=4294967296&&(D+=5,s.push(new Uint8Array([252,h-1&255,h-1>>8&255,h-1>>16&255,h-1>>>24&255]))),s.push(e.slice(r,r+h)),D+=h,f[0]=0,f[1]=255&D,f[2]=D>>8&255,f[3]=D>>16&255,r+=h}return Kh(s)}function bm(e,s){var r=new Uint8Array(32),h=$h(r),f=12,T=0;switch(r[0]=5,e.t){case"n":r[1]=2,function iv(e,s,r){var h=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,f=r/Math.pow(10,h-6176);e[s+15]|=h>>7,e[s+14]|=(127&h)<<1;for(var T=0;f>=1;++T,f/=256)e[s+T]=255&f;e[s+15]|=r>=0?0:128}(r,f,e.v),T|=1,f+=16;break;case"b":r[1]=6,h.setFloat64(f,e.v?1:0,!0),T|=2,f+=8;break;case"s":if(-1==s.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,h.setUint32(f,s.indexOf(e.v),!0),T|=8,f+=4;break;default:throw"unsupported cell type "+e.t}return h.setUint32(8,T,!0),r.slice(0,f)}function ih(e,s){var r=new Uint8Array(32),h=$h(r),f=12,T=0;switch(r[0]=3,e.t){case"n":r[2]=2,h.setFloat64(f,e.v,!0),T|=32,f+=8;break;case"b":r[2]=6,h.setFloat64(f,e.v?1:0,!0),T|=32,f+=8;break;case"s":if(-1==s.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,h.setUint32(f,s.indexOf(e.v),!0),T|=16,f+=4;break;default:throw"unsupported cell type "+e.t}return h.setUint32(4,T,!0),r.slice(0,f)}function qc(e){return Jh(va(e)[1][0].data)}function y1(e,s,r){var h,f,T,D;if(null==(h=e[6])||!h[0]||null==(f=e[7])||!f[0])throw"Mutation only works on post-BNC storages!";if((null==(D=null==(T=e[8])?void 0:T[0])?void 0:D.data)&&$l(e[8][0].data)>0)throw"Math only works with normal offsets";for(var ee=0,se=$h(e[7][0].data),de=0,Fe=[],Be=$h(e[4][0].data),$e=0,rt=[],Re=0;Re1&&console.error("The Numbers writer currently writes only the first table");var h=zo(r["!ref"]);h.s.r=h.s.c=0;var f=!1;h.e.c>9&&(f=!0,h.e.c=9),h.e.r>49&&(f=!0,h.e.r=49),f&&console.error("The Numbers writer is currently limited to ".concat(Wr(h)));var T=wm(r,{range:h,header:1}),D=["~Sh33tJ5~"];T.forEach(function(_n){return _n.forEach(function(pn){"string"==typeof pn&&D.push(pn)})});var B={},ee=[],se=nn.read(s.numbers,{type:"base64"});se.FileIndex.map(function(_n,pn){return[_n,se.FullPaths[pn]]}).forEach(function(_n){var pn=_n[0],ui=_n[1];2==pn.type&&pn.name.match(/\.iwa/)&&vu(ru(pn.content)).forEach(function(Ii){ee.push(Ii.id),B[Ii.id]={deps:[],location:ui,type:$l(Ii.messages[0].meta[1][0].data)}})}),ee.sort(function(_n,pn){return _n-pn});var de=ee.filter(function(_n){return _n>1}).map(function(_n){return[_n,wa(_n)]});se.FileIndex.map(function(_n,pn){return[_n,se.FullPaths[pn]]}).forEach(function(_n){var pn=_n[0];pn.name.match(/\.iwa/)&&vu(ru(pn.content)).forEach(function(ji){ji.messages.forEach(function(Zi){de.forEach(function(Ii){ji.messages.some(function(xo){return 11006!=$l(xo.meta[1][0].data)&&function uA(e,s){e:for(var r=0;r<=e.length-s.length;++r){for(var h=0;h-1,f={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};n0(s=s||{});var T=Cr(),D="",B=0;if(s.cellXfs=[],id(s.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),er(T,D="docProps/core.xml",q(e.Props,s)),f.coreprops.push(D),he(s.rels,2,D,Kr.CORE_PROPS),D="docProps/app.xml",!e.Props||!e.Props.SheetNames)if(e.Workbook&&e.Workbook.Sheets){for(var ee=[],se=0;se0&&(er(T,D="docProps/custom.xml",Xt(e.Custprops)),f.custprops.push(D),he(s.rels,4,D,Kr.CUST_PROPS)),B=1;B<=e.SheetNames.length;++B){var de={"!id":{}},Fe=e.Sheets[e.SheetNames[B-1]];if(er(T,D="xl/worksheets/sheet"+B+"."+r,ZC(B-1,D,s,e,de)),f.sheets.push(D),he(s.wbrels,-1,"worksheets/sheet"+B+"."+r,Kr.WS[0]),Fe){var $e=Fe["!comments"],rt=!1,Re="";$e&&$e.length>0&&(er(T,Re="xl/comments"+B+"."+r,Vg($e,Re,s)),f.comments.push(Re),he(de,-1,"../comments"+B+"."+r,Kr.CMNT),rt=!0),Fe["!legacy"]&&rt&&er(T,"xl/drawings/vmlDrawing"+B+".vml",bp(B,Fe["!comments"])),delete Fe["!comments"],delete Fe["!legacy"]}de["!id"].rId1&&er(T,oo(D),dc(de))}return null!=s.Strings&&s.Strings.length>0&&(er(T,D="xl/sharedStrings."+r,function zg(e,s,r){return(".bin"===s.slice(-4)?ca:eo)(e,r)}(s.Strings,D,s)),f.strs.push(D),he(s.wbrels,-1,"sharedStrings."+r,Kr.SST)),er(T,D="xl/workbook."+r,function Ru(e,s,r){return(".bin"===s.slice(-4)?Uv:Cu)(e,r)}(e,D,s)),f.workbooks.push(D),he(s.rels,1,D,Kr.WB),er(T,D="xl/theme/theme1.xml",yg(e.Themes,s)),f.themes.push(D),he(s.wbrels,-1,"theme/theme1.xml",Kr.THEME),er(T,D="xl/styles."+r,function jg(e,s,r){return(".bin"===s.slice(-4)?O0:_g)(e,r)}(e,D,s)),f.styles.push(D),he(s.wbrels,-1,"styles."+r,Kr.STY),e.vbaraw&&h&&(er(T,D="xl/vbaProject.bin",e.vbaraw),f.vba.push(D),he(s.wbrels,-1,"vbaProject.bin",Kr.VBA)),er(T,D="xl/metadata."+r,function Wg(e){return(".bin"===e.slice(-4)?Y0:Ip)()}(D)),f.metadata.push(D),he(s.wbrels,-1,"metadata."+r,Kr.XLMETA),er(T,"[Content_Types].xml",Qa(f,s)),er(T,"_rels/.rels",dc(s.rels)),er(T,"xl/_rels/workbook."+r+".rels",dc(s.wbrels)),delete s.revssf,delete s.ssf,T}(e,s):function r0(e,s){Sh=1024,e&&!e.SSF&&(e.SSF=Tt(qn)),e&&e.SSF&&(Ae(),ge(e.SSF),s.revssf=xs(e.SSF),s.revssf[e.SSF[65535]]=0,s.ssf=e.SSF),s.rels={},s.wbrels={},s.Strings=[],s.Strings.Count=0,s.Strings.Unique=0,Uh?s.revStrings=new Map:(s.revStrings={},s.revStrings.foo=[],delete s.revStrings.foo);var r="xml",h=Mp.indexOf(s.bookType)>-1,f={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};n0(s=s||{});var T=Cr(),D="",B=0;if(s.cellXfs=[],id(s.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),er(T,D="docProps/core.xml",q(e.Props,s)),f.coreprops.push(D),he(s.rels,2,D,Kr.CORE_PROPS),D="docProps/app.xml",!e.Props||!e.Props.SheetNames)if(e.Workbook&&e.Workbook.Sheets){for(var ee=[],se=0;se0&&(er(T,D="docProps/custom.xml",Xt(e.Custprops)),f.custprops.push(D),he(s.rels,4,D,Kr.CUST_PROPS));var de=["SheetJ5"];for(s.tcid=0,B=1;B<=e.SheetNames.length;++B){var Fe={"!id":{}},Be=e.Sheets[e.SheetNames[B-1]];if(er(T,D="xl/worksheets/sheet"+B+"."+r,im(B-1,s,e,Fe)),f.sheets.push(D),he(s.wbrels,-1,"worksheets/sheet"+B+"."+r,Kr.WS[0]),Be){var rt=Be["!comments"],Re=!1,at="";if(rt&&rt.length>0){var zt=!1;rt.forEach(function(Vt){Vt[1].forEach(function(kt){1==kt.T&&(zt=!0)})}),zt&&(er(T,at="xl/threadedComments/threadedComment"+B+"."+r,qm(rt,de,s)),f.threadedcomments.push(at),he(Fe,-1,"../threadedComments/threadedComment"+B+"."+r,Kr.TCMNT)),er(T,at="xl/comments"+B+"."+r,kh(rt)),f.comments.push(at),he(Fe,-1,"../comments"+B+"."+r,Kr.CMNT),Re=!0}Be["!legacy"]&&Re&&er(T,"xl/drawings/vmlDrawing"+B+".vml",bp(B,Be["!comments"])),delete Be["!comments"],delete Be["!legacy"]}Fe["!id"].rId1&&er(T,oo(D),dc(Fe))}return null!=s.Strings&&s.Strings.length>0&&(er(T,D="xl/sharedStrings."+r,eo(s.Strings,s)),f.strs.push(D),he(s.wbrels,-1,"sharedStrings."+r,Kr.SST)),er(T,D="xl/workbook."+r,Cu(e)),f.workbooks.push(D),he(s.rels,1,D,Kr.WB),er(T,D="xl/theme/theme1.xml",yg(e.Themes,s)),f.themes.push(D),he(s.wbrels,-1,"theme/theme1.xml",Kr.THEME),er(T,D="xl/styles."+r,_g(e,s)),f.styles.push(D),he(s.wbrels,-1,"styles."+r,Kr.STY),e.vbaraw&&h&&(er(T,D="xl/vbaProject.bin",e.vbaraw),f.vba.push(D),he(s.wbrels,-1,"vbaProject.bin",Kr.VBA)),er(T,D="xl/metadata."+r,Ip()),f.metadata.push(D),he(s.wbrels,-1,"metadata."+r,Kr.XLMETA),de.length>1&&(er(T,D="xl/persons/person.xml",function Tp(e){var s=[ds,Ci("personList",null,{xmlns:Lr.TCMNT,"xmlns:x":Qs[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,h){s.push(Ci("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+h).slice(-12)+"}",userId:r,providerId:"None"}))}),s.push(""),s.join("")}(de)),f.people.push(D),he(s.wbrels,-1,"persons/person.xml",Kr.PEOPLE)),er(T,"[Content_Types].xml",Qa(f,s)),er(T,"_rels/.rels",dc(s.rels)),er(T,"xl/_rels/workbook.xml.rels",dc(s.wbrels)),delete s.revssf,delete s.ssf,T}(e,s)}function CA(e,s){switch(s.type){case"base64":case"binary":break;case"buffer":case"array":s.type="";break;case"file":return ss(s.file,nn.write(e,{type:ae?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+s.bookType+"' files");default:throw new Error("Unrecognized type "+s.type)}return nn.write(e,s)}function Dd(e,s,r){r||(r="");var h=r+e;switch(s.type){case"base64":return V(Ji(h));case"binary":return Ji(h);case"string":return e;case"file":return ss(s.file,h,"utf8");case"buffer":return ae?oe(h,"utf8"):typeof TextEncoder<"u"?(new TextEncoder).encode(h):Dd(h,{type:"binary"}).split("").map(function(f){return f.charCodeAt(0)})}throw new Error("Unrecognized type "+s.type)}function l0(e,s){switch(s.type){case"string":case"base64":case"binary":for(var r="",h=0;h22)throw new Error("Bad Code Name: Worksheet"+D)}})}(e.SheetNames,e.Workbook&&e.Workbook.Sheets||[],!!e.vbaraw);for(var r=0;r-1||Y.indexOf(f[T][0])>-1||null!=f[T][1]&&se.push(f[T]);h.length&&nn.utils.cfb_add(s,"/\x05SummaryInformation",Jr(h,mm.SI,ee,Ic)),(r.length||se.length)&&nn.utils.cfb_add(s,"/\x05DocumentSummaryInformation",Jr(r,mm.DSI,B,es,se.length?se:null,mm.UDI))}(e,h),8==r.biff&&e.vbaraw&&function wp(e,s){s.FullPaths.forEach(function(r,h){if(0!=h){var f=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==f.slice(-1)&&nn.utils.cfb_add(e,f,s.FileIndex[h].content)}})}(h,nn.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),h}(e,r),r)}(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function w1(e,s){var r=Tt(s||{});return function a0(e,s){var r={},h=ae?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(s.compression&&(r.compression="DEFLATE"),s.password)r.type=h;else switch(s.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+s.bookType+"' files");case"buffer":case"file":r.type=h;break;default:throw new Error("Unrecognized type "+s.type)}var f=e.FullPaths?nn.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!s.compression}):e.generate(r);if(typeof Deno<"u"&&"string"==typeof f){if("binary"==s.type||"base64"==s.type)return f;f=new Uint8Array(gt(f))}return s.password&&typeof encrypt_agile<"u"?CA(encrypt_agile(f,s.password),s):"file"===s.type?ss(s.file,f):"string"==s.type?Zr(f):f}(_A(e,r),r)}(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Em(e,s,r){var h=r||{};return h.type="file",h.file=s,function u0(e){if(!e.bookType){var r=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();r.match(/^\.[a-z]+$/)&&(e.bookType=r.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}(h),c0(e,h)}function lv(e,s,r,h,f,T,D,B){var ee=Ao(r),se=B.defval,de=B.raw||!Object.prototype.hasOwnProperty.call(B,"raw"),Fe=!0,Be=1===f?[]:{};if(1!==f)if(Object.defineProperty)try{Object.defineProperty(Be,"__rowNum__",{value:r,enumerable:!1})}catch{Be.__rowNum__=r}else Be.__rowNum__=r;if(!D||e[r])for(var $e=s.s.c;$e<=s.e.c;++$e){var rt=D?e[r][$e]:e[h[$e]+ee];if(void 0!==rt&&void 0!==rt.t){var Re=rt.v;switch(rt.t){case"z":if(null==Re)break;continue;case"e":Re=0==Re?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+rt.t)}if(null!=T[$e]){if(null==Re)if("e"==rt.t&&null===Re)Be[T[$e]]=null;else if(void 0!==se)Be[T[$e]]=se;else{if(!de||null!==Re)continue;Be[T[$e]]=null}else Be[T[$e]]=de&&("n"!==rt.t||"n"===rt.t&&!1!==B.rawNumbers)?Re:re(rt,Re,B);null!=Re&&(Fe=!1)}}else{if(void 0===se)continue;null!=T[$e]&&(Be[T[$e]]=se)}}return{row:Be,isempty:Fe}}function wm(e,s){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},h=0,f=1,T=[],D=0,B="",ee={s:{r:0,c:0},e:{r:0,c:0}},se=s||{},de=null!=se.range?se.range:e["!ref"];switch(1===se.header?h=1:"A"===se.header?h=2:Array.isArray(se.header)?h=3:null==se.header&&(h=0),typeof de){case"string":ee=is(de);break;case"number":(ee=is(e["!ref"])).s.r=de;break;default:ee=de}h>0&&(f=0);var Fe=Ao(ee.s.r),Be=[],$e=[],rt=0,Re=0,at=Array.isArray(e),zt=ee.s.r,Vt=0,kt={};at&&!e[zt]&&(e[zt]=[]);var wn=se.skipHidden&&e["!cols"]||[],Un=se.skipHidden&&e["!rows"]||[];for(Vt=ee.s.c;Vt<=ee.e.c;++Vt)if(!(wn[Vt]||{}).hidden)switch(Be[Vt]=hs(Vt),r=at?e[zt][Vt]:e[Be[Vt]+Fe],h){case 1:T[Vt]=Vt-ee.s.c;break;case 2:T[Vt]=Be[Vt];break;case 3:T[Vt]=se.header[Vt-ee.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),B=D=re(r,null,se),Re=kt[D]||0){do{B=D+"_"+Re++}while(kt[B]);kt[D]=Re,kt[B]=1}else kt[D]=1;T[Vt]=B}for(zt=ee.s.r+f;zt<=ee.e.r;++zt)if(!(Un[zt]||{}).hidden){var ei=lv(e,ee,zt,Be,h,T,at,se);(!1===ei.isempty||(1===h?!1!==se.blankrows:se.blankrows))&&($e[rt++]=ei.row)}return $e.length=rt,$e}var IA=/"/g;function yA(e,s,r,h,f,T,D,B){for(var ee=!0,se=[],de="",Fe=Ao(r),Be=s.s.c;Be<=s.e.c;++Be)if(h[Be]){var $e=B.dense?(e[r]||[])[Be]:e[h[Be]+Fe];if(null==$e)de="";else if(null!=$e.v){ee=!1,de=""+(B.rawNumbers&&"n"==$e.t?$e.v:re($e,null,B));for(var rt=0,Re=0;rt!==de.length;++rt)if((Re=de.charCodeAt(rt))===f||Re===T||34===Re||B.forceQuotes){de='"'+de.replace(IA,'""')+'"';break}"ID"==de&&(de='"ID"')}else null==$e.f||$e.F?de="":(ee=!1,(de="="+$e.f).indexOf(",")>=0&&(de='"'+de.replace(IA,'""')+'"'));se.push(de)}return!1===B.blankrows&&ee?null:se.join(D)}function Mm(e,s){var r=[],h=s??{};if(null==e||null==e["!ref"])return"";var f=is(e["!ref"]),T=void 0!==h.FS?h.FS:",",D=T.charCodeAt(0),B=void 0!==h.RS?h.RS:"\n",ee=B.charCodeAt(0),se=new RegExp(("|"==T?"\\|":T)+"+$"),de="",Fe=[];h.dense=Array.isArray(e);for(var Be=h.skipHidden&&e["!cols"]||[],$e=h.skipHidden&&e["!rows"]||[],rt=f.s.c;rt<=f.e.c;++rt)(Be[rt]||{}).hidden||(Fe[rt]=hs(rt));for(var Re=0,at=f.s.r;at<=f.e.r;++at)($e[at]||{}).hidden||null!=(de=yA(e,f,at,Fe,D,ee,T,h))&&(h.strip&&(de=de.replace(se,"")),(de||!1!==h.blankrows)&&r.push((Re++?B:"")+de));return delete h.dense,r.join("")}function Dm(e,s){s||(s={}),s.FS="\t",s.RS="\n";var r=Mm(e,s);if(typeof me>"u"||"string"==s.type)return r;var h=me.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+h}function d0(e,s,r){var h=r||{},f=+!h.skipHeader,T=e||{},D=0,B=0;if(T&&null!=h.origin)if("number"==typeof h.origin)D=h.origin;else{var ee="string"==typeof h.origin?Io(h.origin):h.origin;D=ee.r,B=ee.c}var se,de={s:{c:0,r:0},e:{c:B,r:D+s.length-1+f}};if(T["!ref"]){var Fe=is(T["!ref"]);de.e.c=Math.max(de.e.c,Fe.e.c),de.e.r=Math.max(de.e.r,Fe.e.r),-1==D&&(de.e.r=(D=Fe.e.r+1)+s.length-1+f)}else-1==D&&(D=0,de.e.r=s.length-1+f);var Be=h.header||[],$e=0;s.forEach(function(Re,at){Ki(Re).forEach(function(zt){-1==($e=Be.indexOf(zt))&&(Be[$e=Be.length]=zt);var Vt=Re[zt],kt="z",wn="",Un=hr({c:B+$e,r:D+at+f});se=Kg(T,Un),!Vt||"object"!=typeof Vt||Vt instanceof Date?("number"==typeof Vt?kt="n":"boolean"==typeof Vt?kt="b":"string"==typeof Vt?kt="s":Vt instanceof Date?(kt="d",h.cellDates||(kt="n",Vt=Nr(Vt)),wn=h.dateNF||qn[14]):null===Vt&&h.nullError&&(kt="e",Vt=0),se?(se.t=kt,se.v=Vt,delete se.w,delete se.R,wn&&(se.z=wn)):T[Un]=se={t:kt,v:Vt},wn&&(se.z=wn)):T[Un]=Vt})}),de.e.c=Math.max(de.e.c,B+Be.length-1);var rt=Ao(D);if(f)for($e=0;$e=65535)throw new Error("Too many worksheets");if(h&&e.SheetNames.indexOf(r)>=0){var T=r.match(/(^.*?)(\d+)$/);f=T&&+T[2]||0;var D=T&&T[1]||r;for(++f;f<=65535&&-1!=e.SheetNames.indexOf(r=D+f);++f);}if(Mc(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=s,r},book_set_sheet_visibility:function hv(e,s,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var h=function dv(e,s){if("number"==typeof s){if(s>=0&&e.SheetNames.length>s)return s;throw new Error("Cannot find sheet # "+s)}if("string"==typeof s){var r=e.SheetNames.indexOf(s);if(r>-1)return r;throw new Error("Cannot find sheet name |"+s+"|")}throw new Error("Cannot find sheet |"+s+"|")}(e,s);switch(e.Workbook.Sheets[h]||(e.Workbook.Sheets[h]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[h].Hidden=r},cell_set_number_format:function bA(e,s){return e.z=s,e},cell_set_hyperlink:xA,cell_set_internal_link:function S1(e,s,r){return xA(e,"#"+s,r)},cell_add_comment:function k1(e,s,r){e.c||(e.c=[]),e.c.push({t:s,a:r||"SheetJS"})},sheet_set_array_formula:function O1(e,s,r,h){for(var f="string"!=typeof s?s:is(s),T="string"==typeof s?s:Wr(s),D=f.s.r;D<=f.e.r;++D)for(var B=f.s.c;B<=f.e.c;++B){var ee=Kg(e,D,B);ee.t="n",ee.F=T,delete ee.v,D==f.s.r&&B==f.s.c&&(ee.f=r,h&&(ee.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},F1=m(755);let Y1=(()=>{class e{constructor(){}exportTable(r,h,f){const T=Jg.table_to_sheet(f.nativeElement),D=Jg.book_new();Jg.book_append_sheet(D,T,h),Em(D,r+".xlsx")}exportJSON(r,h){const f=Jg.json_to_sheet(h),T=Jg.book_new();Jg.book_append_sheet(T,f,"Dates"),Em(T,r+".xlsx",{compression:!0})}static#e=this.\u0275fac=function(h){return new(h||e)};static#t=this.\u0275prov=F1.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},8720:(lt,_e,m)=>{"use strict";m.d(_e,{k:()=>A});var i=m(2133),t=m(755);let A=(()=>{class a{get fb(){return this._fb=this._fb||this.injector.get(i.qu),this._fb}constructor(C){this.injector=C}FormBuilder(C,b,N,j){let F={},x={};return Object.entries(C).forEach(([H,k])=>{const P=k.async?{asyncValidators:this.asyncValidate(H,b,j),updateOn:"blur"}:this.validate(H,b,N);F[H]=[k.default,P],x[H]=k.default,k.values&&k.values.forEach(X=>{const me=k.async?{asyncValidators:this.asyncValidate(H+"$"+X.key,b,j),updateOn:"blur"}:this.validate(H+"$"+X.key,b,N);F[H+"$"+X.key]=[k.default.indexOf(X.key)>=0,me]})}),Object.assign(this.fb.group(F),{initialState:x})}validate(C,b,N){return j=>{let F=N?N(j,C):null;return b?.markForCheck(),F?{errorMessage:F}:null}}revalidate(C){C.markAllAsTouched(),Object.values(C.controls||{}).forEach(b=>b.updateValueAndValidity({emitEvent:!1}))}asyncValidate(C,b,N){return j=>new Promise((F,x)=>{N?N(j,C).then(H=>{b?.markForCheck(),F(H?{errorMessage:H}:null)}):F(null)})}static#e=this.\u0275fac=function(b){return new(b||a)(t.LFG(t.zs3))};static#t=this.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},1547:(lt,_e,m)=>{"use strict";m.d(_e,{d:()=>b});var i=m(3232),t=m(553),A=m(6733),a=m(2333),y=m(2307),C=m(755);let b=(()=>{class N{set toolbarButtons(F){this._toolbarButtons=F,this.refresh&&this.refresh()}get toolbarButtons(){return this._toolbarButtons}constructor(F,x){this.document=F,this.injector=x,this.VERSAO_DB=1,this.VERSAO_SYS=t.N.versao,this.URL_SEI="https://sei.prf.gov.br/",this.IMAGES=t.N.images,this.ENTIDADE=t.N.entidade||"",this.ENV=t.N.env||"",this.SUPPORT_URL=t.N.suporte||"",this.urlBuffer={},this._toolbarButtons=[],this.horarioDelta={servidor:new Date,local:new Date},this.auth=x.get(a.e),this.go=x.get(y.o)}refresh(){document.getElementsByTagName("html")[0].setAttribute("data-bs-theme",this.theme);const F=this.document.getElementById("primeng-thme");F&&(F.href=this.theme+".css"),this.app.cdRef.detectChanges()}setContexto(F,x=!0){if(this.contexto?.key!=F){let H=this.app.menuContexto.find(k=>k.key==F);(!this.auth.usuario||!H?.permition||this.auth.capacidades.includes(H.permition))&&(this.contexto=H),this.contexto&&x&&this.goHome(),this.app.cdRef.detectChanges()}this.auth.usuario&&this.auth.usuarioConfig.menu_contexto!=this.contexto?.key&&(this.auth.usuarioConfig={menu_contexto:this.contexto?.key||""})}goHome(){this.go.navigate({route:["home",this.contexto.key.toLowerCase()]})}get isEmbedded(){return this.isExtension||this.isSeiModule}get isExtension(){return typeof IS_PETRVS_EXTENSION<"u"&&!!IS_PETRVS_EXTENSION||typeof PETRVS_IS_EXTENSION<"u"&&!!PETRVS_IS_EXTENSION}get isSeiModule(){return typeof PETRVS_IS_SEI_MODULE<"u"&&!!PETRVS_IS_SEI_MODULE}is(F){return t.N.entidade==F}get baseURL(){const F=typeof MD_MULTIAGENCIA_PETRVS_URL<"u"?MD_MULTIAGENCIA_PETRVS_URL:typeof EXTENSION_BASE_URL<"u"?EXTENSION_BASE_URL:typeof PETRVS_BASE_URL<"u"?PETRVS_BASE_URL:void 0,x=this.isEmbedded?F:this.servidorURL;return x.endsWith("/")?x:x+"/"}get servidorURL(){const F=typeof PETRVS_SERVIDOR_URL<"u"?PETRVS_SERVIDOR_URL:typeof EXTENSION_SERVIDOR_URL<"u"?EXTENSION_SERVIDOR_URL:"";return this.isExtension&&F.length?F:(t.N.https?"https://":"http://")+t.N.host}get isToolbar(){const F=typeof PETRVS_EXTENSION_TOOLBAR<"u"?PETRVS_EXTENSION_TOOLBAR:typeof PETRVS_TOOLBAR<"u"&&PETRVS_TOOLBAR;return!!this.isEmbedded&&F}get initialRoute(){const F=typeof PETRVS_EXTENSION_ROUTE<"u"?PETRVS_EXTENSION_ROUTE:typeof PETRVS_ROUTE<"u"?PETRVS_ROUTE:"/home",x=this.isEmbedded?F:this.contexto?"/home/"+this.contexto.key.toLowerCase():"/home";return x.substring(x.startsWith("/")?1:0).split("/")}get requireLogged(){const F=typeof PETRVS_EXTENSION_LOGGED<"u"?PETRVS_EXTENSION_LOGGED:!(typeof PETRVS_LOGGED<"u")||PETRVS_LOGGED;return!this.isEmbedded||F}get useModals(){return!0}get sanitizer(){return this._sanitizer=this._sanitizer||this.injector.get(i.H7),this._sanitizer}getResourcePath(F){const x="URL_"+encodeURI(F),H=!!F.match(/\/?assets\//);return this.isEmbedded&&!this.urlBuffer[x]&&(this.urlBuffer[x]=this.sanitizer.bypassSecurityTrustResourceUrl((H?this.baseURL:this.servidorURL+"/")+F)),this.isEmbedded?this.urlBuffer[x]:H||F.startsWith("http")?F:this.servidorURL+"/"+F}get isFirefox(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}get loginGoogleClientId(){return t.N.login.google_client_id||""}get hasGoogleLogin(){return 1==t.N.login.gsuit}get hasAzureLogin(){return 1==t.N.login.azure}get hasUserPasswordLogin(){return 1==t.N.login.user_password}get hasFirebaseLogin(){return 1==t.N.login.firebase}get hasInstitucionalLogin(){return 1==t.N.login.institucional}get hasLoginUnicoLogin(){return 1==t.N.login.login_unico}get theme(){return this.auth.usuarioConfig.theme||"light"}get edicao(){return t.N.edicao}static#e=this.\u0275fac=function(x){return new(x||N)(C.LFG(A.K0),C.LFG(C.zs3))};static#t=this.\u0275prov=C.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},504:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>F});var i=m(8239),t=m(755),A=m(6424),a=m(5333);function y(H){return(0,a.h)((k,P)=>H<=P)}var C=m(1813),b=m(9193),N=m(2333),j=m(1547);let F=(()=>{class H{constructor(P,X,me){this.utilService=P,this.auth=X,this.gb=me,this.changeUser=new t.vpe,this._socialUser=new A.X(null),this._accessToken=new A.X(null),this._receivedAccessToken=new t.vpe,this._socialUser.pipe(y(1)).subscribe(this.changeUser),this._accessToken.pipe(y(1)).subscribe(this._receivedAccessToken)}initialize(P){return new Promise((X,me)=>{try{this.utilService.loadScript("https://accounts.google.com/gsi/client").onload=()=>{H.retrieveSocialUser(),google.accounts.id.initialize({client_id:this.gb.loginGoogleClientId,ux_mode:"popup",autoLogin:P,cancel_on_tap_outside:!0,oneTapEnabled:!0,callback:({credential:wt})=>{this.auth.authGoogle(wt).then(K=>{const V=this.createSocialUser(wt);this._socialUser.next(V),H.persistSocialUser(V)})}}),X(google.accounts.id)}}catch(Oe){me(Oe)}})}signOut(){var P=this;return(0,i.Z)(function*(){google.accounts.id.disableAutoSelect(),P._socialUser.next(null),H.clearSocialUser()})()}refreshToken(){return new Promise((P,X)=>{const me=H.retrieveSocialUser();null!==me&&this._socialUser.next(me),this._socialUser?.value?google.accounts.id.revoke(this._socialUser?.value?.id,Oe=>{Oe?.error?X(Oe.error):P(this._socialUser.value)}):X("Nenhum usu\xe1rio")})}getLoginStatus(){return new Promise((P,X)=>{let me=H.retrieveSocialUser();null!==me&&this._socialUser.next(me),this._socialUser.value?P(this._socialUser.value):X("No user is currently logged in with Google")})}createSocialUser(P){const X=new x;X.idToken=P;const me=this.decodeJwt(P);return X.id=me.sub,X.name=me.name,X.email=me.email,X}getAccessToken(){return new Promise((P,X)=>{this._tokenClient?(this._tokenClient.requestAccessToken({hint:this._socialUser.value?.email}),this._receivedAccessToken.pipe((0,C.q)(1)).subscribe(P)):X(this._socialUser.value?"No token client was instantiated, you should specify some scopes.":"You should be logged-in first.")})}revokeAccessToken(){return new Promise((P,X)=>{this._tokenClient?this._accessToken.value?google.accounts.oauth2.revoke(this._accessToken.value,()=>{this._accessToken.next(null),P()}):X("No access token to revoke"):X("No token client was instantiated, you should specify some scopes.")})}signIn(){return Promise.reject('You should not call this method directly for Google, use "" wrapper or generate the button yourself with "google.accounts.id.renderButton()" (https://developers.google.com/identity/gsi/web/guides/display-button#javascript)')}decodeJwt(P){const me=P.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),Oe=decodeURIComponent(window.atob(me).split("").map(function(Se){return"%"+("00"+Se.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(Oe)}static persistSocialUser(P){localStorage.setItem("google_socialUser",JSON.stringify(P))}static retrieveSocialUser(){let P=localStorage.getItem("google_socialUser");return null===P?null:JSON.parse(P)}static clearSocialUser(){localStorage.removeItem("google_socialUser")}static#e=this.\u0275fac=function(X){return new(X||H)(t.LFG(b.f),t.LFG(N.e),t.LFG(j.d))};static#t=this.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();class x{}},5908:(lt,_e,m)=>{"use strict";m.d(_e,{E:()=>t});var i=m(755);let t=(()=>{class A{constructor(y){this.injector=y,this.PREPOSITIONS_MALE=["o","os","ao","aos","do","dos","dum","duns","no","nos","um","num","uns","nuns","pelo","pelos"],this.PREPOSITIONS_FEMALE=["a","as","\xe0","\xe0s","da","das","duma","dumas","na","nas","uma","numa","umas","numas","pela","pelas"],this.defaults={adesao:{single:"ades\xe3o",plural:"ades\xf5es",female:!0},administrador:{single:"administrador",plural:"administradores",female:!1},afastamento:{single:"afastamento",plural:"afastamentos",female:!1},"\xe1rea de trabalho":{single:"\xe1rea de trabalho",plural:"\xe1reas de trabalho",female:!0},"area do conhecimento":{single:"area do conhecimento",plural:"areas dos conhecimentos",female:!0},atividade:{single:"atividade",plural:"atividades",female:!1},atribui\u00e7\u00e3o:{single:"atribui\xe7\xe3o",plural:"atribui\xe7\xf5es",female:!0},avalia\u00e7\u00e3o:{single:"avalia\xe7\xe3o",plural:"avalia\xe7\xf5es",female:!0},cadastro:{single:"cadastro",plural:"cadastros",female:!1},cadeiaValor:{single:"cadeia de valor",plural:"cadeias de valor",female:!0},capacidade:{single:"capacidade",plural:"capacidades",female:!0},chefe:{single:"chefe",plural:"chefes",female:!0},cidade:{single:"cidade",plural:"cidades",female:!0},consolida\u00e7\u00e3o:{single:"consolida\xe7\xe3o",plural:"consolida\xe7\xf5es",female:!1},"data de distribui\xe7\xe3o":{single:"data de distribui\xe7\xe3o",plural:"datas de distribui\xe7\xe3o",female:!0},"data de homologa\xe7\xe3o":{single:"data de homologa\xe7\xe3o",plural:"datas de homologa\xe7\xe3o",female:!0},demanda:{single:"demanda",plural:"demandas",female:!0},desabilitado:{single:"desabilitado",plural:"desabilitados",female:!1},desabilitar:{single:"desabilitar",plural:"desabilitar",female:!1},desenvolvedor:{single:"desenvolvedor",plural:"desenvolvedores",female:!1},documento:{single:"documento",plural:"documentos",female:!1},entidade:{single:"entidade",plural:"entidades",female:!0},entrega:{single:"entrega",plural:"entregas",female:!0},"eixo tem\xe1tico":{single:"eixo tem\xe1tico",plural:"eixos tem\xe1ticos",female:!1},execu\u00e7\u00e3o:{single:"execu\xe7\xe3o",plural:"execu\xe7\xf5es",female:!1},feriado:{single:"feriado",plural:"feriados",female:!1},gerenciamento:{single:"gerenciamento",plural:"gerenciamentos",female:!1},"inclus\xe3o de atividade":{single:"inclus\xe3o de atividade",plural:"inclus\xf5es de atividades",female:!1},habilita\u00e7\u00e3o:{single:"habilita\xe7\xe3o",plural:"habilita\xe7\xf5es",female:!0},habilitado:{single:"habilitado",plural:"habilitados",female:!1},habilitar:{single:"habilitar",plural:"habilitar",female:!1},justificativa:{single:"justificativa",plural:"justificativas",female:!0},lota\u00e7\u00e3o:{single:"lota\xe7\xe3o",plural:"lota\xe7\xf5es",female:!0},"material e servi\xe7o":{single:"material e servi\xe7o",plural:"materiais e servi\xe7os",female:!1},modalidade:{single:"modalidade",plural:"modalidades",female:!0},"modelo de entrega":{single:"modelo de entrega",plural:"modelos de entregas",female:!1},"motivo de afastamento":{single:"motivo de afastamento",plural:"motivos de afastamento",female:!1},notifica\u00e7\u00e3o:{single:"notifica\xe7\xe3o",plural:"notifica\xe7\xf5es",female:!0},objetivo:{single:"objetivo",plural:"objetivos",female:!1},ocorr\u00eancia:{single:"ocorr\xeancia",plural:"ocorr\xeancias",female:!0},"pela unidade gestora":{single:"pela Unidade Gestora",plural:"pelas Unidades Gestoras",female:!0},perfil:{single:"perfil",plural:"perfis",female:!1},"perfil do menu":{single:"perfil do menu",plural:"perfis do menu",female:!1},planejamento:{single:"planejamento",plural:"planejamentos",female:!1},"planejamento institucional":{single:"planejamento institucional",plural:"planejamentos institucionais",female:!1},"plano de trabalho":{single:"plano de trabalho",plural:"planos de trabalho",female:!1},"plano de entrega":{single:"plano de entrega",plural:"planos de entrega",female:!1},"ponto de controle":{single:"ponto de controle",plural:"pontos de controle",female:!1},"ponto eletr\xf4nico":{single:"ponto eletr\xf4nico",plural:"pontos eletr\xf4nicos",female:!1},"prazo de distribui\xe7\xe3o":{single:"prazo de distribui\xe7\xe3o",plural:"prazos de distribui\xe7\xe3o",female:!1},"prazo de entrega":{single:"prazo de entrega",plural:"prazos de entrega",female:!1},"prazo recalculado":{single:"prazo recalculado",plural:"prazos recalculados",female:!1},processo:{single:"processo",plural:"processos",female:!1},produtividade:{single:"produtividade",plural:"produtividades",female:!0},programa:{single:"programa",plural:"programas",female:!1},"programa de gest\xe3o":{single:"programa de gest\xe3o",plural:"programas de gest\xe3o",female:!1},projeto:{single:"projeto",plural:"projetos",female:!1},requisi\u00e7\u00e3o:{single:"requisi\xe7\xe3o",plural:"requisi\xe7\xf5es",female:!0},respons\u00e1vel:{single:"respons\xe1vel",plural:"respons\xe1veis",female:!1},"resultado institucional":{single:"resultado institucional",plural:"resultados institucionais",female:!1},"rotina de integra\xe7\xe3o":{single:"rotina de integra\xe7\xe3o",plural:"rotinas de integra\xe7\xe3o",female:!0},servidor:{single:"servidor",plural:"servidores",female:!1},tarefa:{single:"tarefa",plural:"tarefas",female:!0},"tarefa da atividade":{single:"tarefa da atividade",plural:"tarefas da atividade",female:!0},tcr:{single:"tcr",plural:"tcrs",female:!1},"termo de ci\xeancia e responsabilidade":{single:"termo de ci\xeancia e responsabilidade",plural:"termos de ci\xeancia e responsabilidade",female:!1},"tempo estimado":{single:"tempo estimado",plural:"tempos estimados",female:!1},"tempo pactuado":{single:"tempo pactuado",plural:"tempos pactuados",female:!1},"tempo planejado":{single:"tempo planejado",plural:"tempos planejados",female:!1},template:{single:"template",plural:"templates",female:!1},termo:{single:"termo",plural:"termos",female:!1},"texto complementar":{single:"texto complementar",plural:"textos complementares",female:!1},"tipo de indicador":{single:"tipo de indicador",plural:"tipos de indicadores",female:!1},"tipo de atividade":{single:"tipo de atividade",plural:"tipos de atividades",female:!1},"tipo de capacidade":{single:"tipo de capacidade",plural:"tipos de capacidades",female:!1},"tipo de meta":{single:"tipo de meta",plural:"tipos de metas",female:!1},unidade:{single:"unidade",plural:"unidades",female:!0},usuario:{single:"usu\xe1rio",plural:"usu\xe1rios",female:!1},"valor institucional":{single:"valor institucional",plural:"valores institucionais",female:!1},"tipo de avalia\xe7\xe3o do registro de execu\xe7\xe3o do plano de trabalho":{single:"Tipo de avalia\xe7\xe3o do registro de execu\xe7\xe3o do plano de trabalho",plural:"Tipos de avalia\xe7\xf5es do registro de execu\xe7\xe3o do plano de trabalho",female:!1}},this.plurals={},this.vocabulary={},this.vocabulary=this.defaults,Object.entries(this.defaults).forEach(C=>this.plurals[C[1].plural]=C[0])}loadVocabulary(y){let C={};Object.entries(this.defaults).forEach(([b,N])=>{const j=y?.find(F=>F.nome==b);C[b]=j?{single:j.singular,plural:j.plural,female:j.feminino}:N}),this.vocabulary=C,this.update&&this.update(),this.cdRef?.detectChanges()}update(){this.app.setMenuVars()}noun(y,C=!1,b=!1){const N=y.toLowerCase();var j="";if(this.vocabulary[N]){const F=y[0]==y[0].toUpperCase()&&y[1]!=y[1].toUpperCase(),x=y==y.toUpperCase(),H=C?this.vocabulary[N].plural:this.vocabulary[N].single,k=H.split(" "),P=k.length>1;j=k[0][0].toUpperCase()+k[0].substring(1)+(P?" "+(2==k.length?k[1][0].toUpperCase()+k[1].substring(1):k[1]+" "+k[2][0].toUpperCase()+k[2].substring(1)):"");const X=b?C?this.vocabulary[N].female?" das ":" dos ":this.vocabulary[N].female?" da ":" do ":"";return x?(X+H).toUpperCase():F?X+j:X+H}return y}translate(y){let b=/^(\s*)(o\s|a\s|os\s|as\s|um\s|uma\s|uns\s|umas\s|ao\s|\xe0\s|aos\s|\xe0s\s|do\s|da\s|dos\s|das\s|dum\s|duma\s|duns\s|dumas\s|no\s|na\s|nos\s|nas\s|num\s|numa\s|nuns\s|numas\s|pelo\s|pela\s|pelos\s|pelas|)(.*)$/i.exec(y),N=b?b[1]:"",j=b?b[2].trim().replace(" ","%"):"",F=b?b[3]:"",x=this.plurals[F.toLowerCase()],H=(x||F).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),k=(x||F).toLowerCase(),P=this.defaults[H]?this.defaults[H]:this.defaults[k]?this.defaults[k]:null,X=this.vocabulary[H]?this.vocabulary[H]:this.vocabulary[k]?this.vocabulary[k]:null;return P&&(P.single!=X.single||P.plural!=X.plural)&&(j?.length&&!["de","em","por"].includes(j.toLowerCase())&&P.female!==X.female&&(j=this.keepCase(j,P.female?this.PREPOSITIONS_MALE[this.PREPOSITIONS_FEMALE.indexOf(j.toLowerCase())]:this.PREPOSITIONS_FEMALE[this.PREPOSITIONS_MALE.indexOf(j.toLowerCase())])),F=this.keepCase(F,x?X.plural:X.single)),N+(j?.length?j+" ":"")+F}keepCase(y,C){const b=y[0]==y[0].toUpperCase()&&y.length>1&&y[1]!=y[1].toUpperCase();return y==y.toUpperCase()?C.toUpperCase():b?C.split(" ").map(j=>this.PREPOSITIONS_MALE.includes(j)||this.PREPOSITIONS_FEMALE.includes(j)?j:j[0].toUpperCase()+j.substring(1)).join(" "):C}static#e=this.\u0275fac=function(C){return new(C||A)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},9702:(lt,_e,m)=>{"use strict";m.d(_e,{W:()=>t});var i=m(755);let t=(()=>{class A{constructor(y){this.injector=y,this.EDICOES=[{key:"PRF",value:"PRF"},{key:"MGI",value:"MGI"}],this.SIMNAO=[{key:1,value:"Sim"},{key:0,value:"N\xe3o"}],this.TODOSSIMNAO=[{key:"",value:"Todos"},{key:"S",value:"Sim"},{key:"N",value:"N\xe3o"}],this.FORMATO_HORA=[{key:1,value:"Horas"},{key:0,value:"Dias"}],this.SEXO=[{key:"MASCULINO",value:"Masculino"},{key:"FEMININO",value:"Feminino"}],this.TIPO_INDICADOR=[{key:"QUANTIDADE",value:"Quantidade"},{key:"VALOR",value:"Valor"},{key:"PORCENTAGEM",value:"Porcentagem"},{key:"QUALITATIVO",value:"Qualitativo"}],this.TIPO_LAYOUT=[{key:"COMPLETO",value:"Completo"},{key:"SIMPLIFICADO",value:"Simplificado"}],this.TIPO_CONTAGEM=[{key:"DISTRIBUICAO",value:"DISTRIBUI\xc7\xc3O"},{key:"ENTREGA",value:"ENTREGA"}],this.COMENTARIO_PRIVACIDADE=[{key:"PUBLICO",value:"P\xfablico"},{key:"PRIVADO",value:"Privado"}],this.TIPO_RELATORIO_PRODUTIVIDADE_INDIVIDUAL=[{key:"POR_PERIODO",value:"Por Per\xedodo"},{key:"POR_PLANO",value:"Por Plano de Trabalho"}],this.COMENTARIO_TIPO=[{key:"COMENTARIO",value:"Coment\xe1rio",icon:"bi bi-chat-left-quote"},{key:"TECNICO",value:"T\xe9cnico",icon:"bi bi-chat-left-text"},{key:"GERENCIAL",value:"Gerencial",icon:"bi bi-clipboard2-pulse"},{key:"AVALIACAO",value:"Avalia\xe7\xe3o",icon:"bi bi-check2-circle"},{key:"TAREFA",value:"Tarefa",icon:"bi bi-envelope-exclamation"},{key:"ATIVIDADE",value:"Atividade",icon:"bi bi-envelope-exclamation"}],this.REACAO_TIPO=[{key:"like",value:"Curti",icon:"like"},{key:"love",value:"Amei",icon:"love"},{key:"care",value:"For\xe7a",icon:"care"},{key:"haha",value:"Haha",icon:"haha"},{key:"wow",value:"Uau",icon:"wow"},{key:"sad",value:"Triste",icon:"sad"},{key:"angry",value:"Grr",icon:"angry"}],this.USUARIO_SITUACAO_FUNCIONAL=[{key:"ATIVO_PERMANENTE",value:"Ativo permanente"},{key:"APOSENTADO",value:"Aposentado"},{key:"CEDIDO/REQUISITADO",value:"Cedido/Requisitado"},{key:"NOMEADO_CARGO_COMISSIONADO",value:"Nomeado em Cargo Comissionado"},{key:"SEM_VINCULO",value:"Sem v\xednculo"},{key:"TABELISTA(ESP/EMERG)",value:"Tabelista(ESP/EMERG)"},{key:"NATUREZA_ESPECIAL",value:"Natureza especial"},{key:"ATIVO_EM_OUTRO_ORGAO",value:"Ativo em outro \xf3rg\xe3o"},{key:"REDISTRIBUIDO",value:"Redistribu\xeddo"},{key:"ATIVO_TRANSITORIO",value:"Ativo transit\xf3rio"},{key:"EXCEDENTE_A_LOTACAO",value:"Excedente \xe0 lota\xe7\xe3o"},{key:"EM_DISPONIBILIDADE",value:"Em disponibilidade"},{key:"REQUISITADO_DE_OUTROS_ORGAOS",value:"Requisitado de outros \xf3rg\xe3os"},{key:"INSTITUIDOR_PENSAO",value:"Instituidor de pens\xe3o"},{key:"REQUISITADO_MILITAR_FORCAS_ARMADAS",value:"Requisitado militar - For\xe7as Armadas"},{key:"APOSENTADO_TCU733/94",value:"Aposentado TCU733/94"},{key:"EXERCICIO_DESCENTRALIZADO_CARREIRA",value:"Exerc\xedcio descentralizado de carreira"},{key:"EXERCICIO_PROVISORIO",value:"Exerc\xedcio provis\xf3rio"},{key:"CELETISTA",value:"Celetista"},{key:"ATIVO_PERMANENTE_LEI_8878/94",value:"Ativo permanente Lei 8878/94"},{key:"ANISTIADO_ADCT_CF",value:"Anistiado ADCT CF"},{key:"CELETISTA/EMPREGADO",value:"Celetista/Empregado"},{key:"CLT_ANS_DECISAO_JUDICIAL",value:"CLT Anistiado decis\xe3o judicial"},{key:"CLT_ANS_JUDICIAL_CEDIDO",value:"CLT Anistiado judicial cedido"},{key:"CLT_APOS_COMPLEMENTO",value:"CLT Aposentado complemento"},{key:"CLT_APOS_DECISAO_JUDICIAL",value:"CLT Aposentado decis\xe3o judicial"},{key:"INST_PS_DECISAO_JUDICIAL",value:"Instituidor de pens\xe3o decis\xe3o judicial"},{key:"EMPREGO_PUBLICO",value:"Emprego p\xfablico"},{key:"REFORMA_CBM/PM",value:"Reforma CBM/PM"},{key:"RESERVA_CBM/PM",value:"Reserva CBM/PM"},{key:"REQUISITADO_MILITAR_GDF",value:"Requisitado militar GDF"},{key:"ANISTIADO_PUBLICO_L10559",value:"Anistiado p\xfablico L10559"},{key:"ANISTIADO_PRIVADO_L10559",value:"Anistiado privado L10559"},{key:"ATIVO_DECISAO_JUDICIAL",value:"Ativo decis\xe3o judicial"},{key:"CONTRATO_TEMPORARIO",value:"Contrato tempor\xe1rio"},{key:"COLAB_PCCTAE_E_MAGISTERIO",value:"Colaborador PCCTAE e Magist\xe9rio"},{key:"COLABORADOR_ICT",value:"Colaborador ICT"},{key:"CLT_ANS_DEC_6657/08",value:"CLT Anistiado Decreto 6657/08"},{key:"EXERCICIO_7_ART93_8112",value:"Exerc\xedcio \xa77\xb0 Art.93 Lei 8112"},{key:"CEDIDO_SUS/LEI_8270",value:"Cedido SUS Lei 8270"},{key:"INST_ANIST_PUBLICO",value:"Instituidor anistiado p\xfablico"},{key:"INST_ANIST_PRIVADO",value:"Instituidor anistiado privado"},{key:"CELETISTA_DECISAO_JUDICIAL",value:"Celetista decis\xe3o judicial"},{key:"CONTRATO_TEMPORARIO_CLT",value:"Contrato tempor\xe1rio CLT"},{key:"EMPREGO_PCC/EX-TERRITORIO",value:"Emprego PCC/Ex-Territ\xf3rio"},{key:"EXC_INDISCIPLINA",value:"Exc. indisciplina"},{key:"CONTRATO_PROFESSOR_SUBSTITUTO",value:"Contrato Professor Substituto"},{key:"ESTAGIARIO",value:"Estagi\xe1rio"},{key:"ESTAGIARIO_SIGEPE",value:"Estagi\xe1rio SIGEPE"},{key:"RESIDENCIA_E_PMM",value:"Resid\xeancia e PMM"},{key:"APOSENTADO_TEMPORARIRIO",value:"Aposentado tempor\xe1rio"},{key:"CEDIDO_DF_ESTADO_MUNICIPIO",value:"Cedido DF Estado Mun\xedcipio"},{key:"EXERC_DESCEN_CDT",value:"Exerc\xedcio descentralizado CDT"},{key:"EXERC_LEI_13681/18",value:"Exerc\xedcio lei 13681/18"},{key:"PENSIONISTA",value:"Pensionista"},{key:"BENEFICIARIO_PENSAO",value:"Benefici\xe1rio de pens\xe3o"},{key:"QE/MRE_CEDIDO",value:"QE/MRE Cedido"},{key:"QUADRO_ESPEC_QE/MRE",value:"Quadro ESPEC QE/MRE"},{key:"DESCONHECIDO",value:"Desconhecido"}],this.ATIVIDADE_STATUS=[{key:"INCLUIDO",value:"N\xe3o iniciado",icon:"bi bi-stop-circle",color:"warning"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-play-circle",color:"info"},{key:"PAUSADO",value:"Pausado",icon:"bi bi-sign-stop",color:"danger"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-check-circle",color:"primary"}],this.ATIVIDADE_STATUS_COM_ARQUIVADAS=[{key:"INCLUIDO",value:"N\xe3o iniciado",icon:"bi bi-stop-circle",color:"warning"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-play-circle",color:"info"},{key:"PAUSADO",value:"Pausado",icon:"bi bi-sign-stop",color:"danger"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-check-circle",color:"primary"},{key:"NAOCONCLUIDO",value:"N\xe3o conclu\xeddo",icon:"bi bi-play-circle",color:"info"},{key:"ARQUIVADO",value:"Arquivado",icon:"bi bi-inboxes",color:"secondary"}],this.DOCUMENTO_STATUS=[{key:"GERADO",value:"Gerado",icon:"bi bi-file-earmark-check",color:"success"},{key:"AGUARDANDO_SEI",value:"Aguardando SEI",icon:"bi bi-hourglass-split",color:"warning"}],this.DOCUMENTO_ESPECIE=[{key:"SEI",value:"Documento SEI",icon:"bi bi-exclamation",color:"primary"},{key:"TCR",value:"TCR",icon:"bi bi-file-medical-fill",color:"success"},{key:"OUTRO",value:"Outro",icon:"bi bi-question-circle",color:"danger"},{key:"NOTIFICACAO",value:"Notifica\xe7\xe3o",icon:"bi bi-bell",color:"info"},{key:"RELATORIO",value:"Relat\xf3rio",icon:"bi bi-file",color:"secondary"}],this.UNIDADE_INTEGRANTE_TIPO=[{key:"COLABORADOR",value:"Servidor Vinculado",icon:"bi bi-person-add",color:"secondary"},{key:"GESTOR",value:"Chefe",icon:"bi bi-star-fill",color:"primary"},{key:"GESTOR_DELEGADO",value:"Servidor Delegado",icon:"bi bi-star-fill",color:"danger"},{key:"GESTOR_SUBSTITUTO",value:"Chefe Substituto",icon:"bi bi-star-half",color:"primary"},{key:"LOTADO",value:"Lotado",icon:"bi bi-file-person",color:"dark"}],this.TEMPLATE_ESPECIE=this.DOCUMENTO_ESPECIE,this.DIA_HORA_CORRIDOS_OU_UTEIS=[{key:"HORAS_CORRIDAS",value:"Horas Corridas"},{key:"DIAS_CORRIDOS",value:"Dias Corridos"},{key:"HORAS_UTEIS",value:"Horas \xdateis"},{key:"DIAS_UTEIS",value:"Dias \xdateis"}],this.ORIGENS_ENTREGAS_PLANO_TRABALHO=[{key:"PROPRIA_UNIDADE",value:"Pr\xf3pria Unidade",color:"success"},{key:"OUTRA_UNIDADE",value:"Outra Unidade",color:"primary"},{key:"OUTRO_ORGAO",value:"Outro \xd3rg\xe3o/Entidade",color:"warning"},{key:"SEM_ENTREGA",value:"N\xe3o vinculadas a entregas",color:"info"}],this.HORAS_CORRIDAS_OU_UTEIS=[{key:"HORAS_CORRIDAS",value:"Horas Corridas"},{key:"HORAS_UTEIS",value:"Horas \xdateis"}],this.DIA_OU_HORA=[{key:"HORAS",value:"Horas"},{key:"DIAS",value:"Dias"}],this.ABRANGENCIA=[{key:"NACIONAL",value:"Nacional"},{key:"ESTADUAL",value:"Estadual/Distrital"},{key:"MUNICIPAL",value:"Municipal"}],this.TIPODIA=[{key:"MES",value:"Dia do M\xeas"},{key:"SEMANA",value:"Dia da Semana"}],this.NOTA=[{key:0,value:"0"},{key:1,value:"1"},{key:2,value:"2"},{key:3,value:"3"},{key:4,value:"4"},{key:5,value:"5"},{key:6,value:"6"},{key:7,value:"7"},{key:8,value:"8"},{key:9,value:"9"},{key:10,value:"10"}],this.TIMEZONE=[{key:-2,value:"FNT Noronha (UTC -2)"},{key:-3,value:"BRT Bras\xedlia (UTC -3)"},{key:-4,value:"AMT Amaz\xf4nia (UTC -4)"},{key:-5,value:"ACT Acre (UTC -5)"}],this.CORES=[{key:"#0d6efd",value:"Azul",color:"#0d6efd"},{key:"#6610f2",value:"Indigo",color:"#6610f2"},{key:"#6f42c1",value:"Roxo",color:"#6f42c1"},{key:"#d63384",value:"Rosa",color:"#d63384"},{key:"#dc3545",value:"Vermelho",color:"#dc3545"},{key:"#fd7e14",value:"Laranja",color:"#fd7e14"},{key:"#ffc107",value:"Amarelo",color:"#ffc107"},{key:"#198754",value:"Verde",color:"#198754"},{key:"#0dcaf0",value:"Ciano",color:"#0dcaf0"},{key:"#6c757d",value:"Cinza",color:"#6c757d"},{key:"#343a40",value:"Preto",color:"#343a40"}],this.CORES_BACKGROUND=[{key:"#FAEDCD",value:"Bege",color:"#FAEDCD"},{key:"#E9EDC9",value:"Verde Claro",color:"#E9EDC9"},{key:"#F1F7B5",value:"Verde Lima",color:"#F1F7B5"},{key:"#B9F3FC",value:"Azul Claro",color:"#B9F3FC"},{key:"#AEE2FF",value:"Azul M\xe9dio",color:"#AEE2FF"},{key:"#FFD4B2",value:"Laranja",color:"#FFD4B2"},{key:"#FFD1D1",value:"Rosa",color:"#FFD1D1"},{key:"#D0C9C0",value:"Cinza",color:"#D0C9C0"},{key:"#D7E9F7",value:"Azul",color:"#D7E9F7"},{key:"#DBE4C6",value:"Verde",color:"#DBE4C6"},{key:"#FFEB99",value:"Amarelo",color:"#FFEB99"}],this.ICONES=[{key:"bi bi-award",value:"Medalha",icon:"bi bi-award"},{key:"bi bi-bell",value:"Sino",icon:"bi bi-bell"},{key:"bi bi-alarm",value:"Alarme",icon:"bi bi-alarm"},{key:"bi bi-archive",value:"Arquivo",icon:"bi bi-archive"},{key:"bi bi-asterisk",value:"Asterisco",icon:"bi bi-asterisk"},{key:"bi bi-bar-chart",value:"Grafico",icon:"bi bi-bar-chart"},{key:"bi bi-bell-slash",value:"Silencioso",icon:"bi bi-bell-slash"},{key:"bi bi-book",value:"Livro",icon:"bi bi-book"},{key:"bi bi-brightness-high",value:"Sol",icon:"bi bi-brightness-high"},{key:"bi bi-brightness-alt-high",value:"Amanhecer",icon:"bi bi-brightness-alt-high"},{key:"bi bi-brush",value:"Pincel",icon:"bi bi-brush"},{key:"bi bi-calculator",value:"Calculadora",icon:"bi bi-calculator"},{key:"bi bi-calendar-date",value:"Calend\xe1rio",icon:"bi bi-calendar-date"},{key:"bi bi-bug",value:"Bug",icon:"bi bi-bug"},{key:"bi bi-building",value:"Edif\xedcios",icon:"bi bi-building"},{key:"bi bi-camera-fill",value:"C\xe2mera",icon:"bi bi-camera-fill"},{key:"bi bi-camera-reels",value:"Filmadora",icon:"bi bi-camera-reels"},{key:"bi bi-camera-video-off",value:"C\xe2mera OFF",icon:"bi bi-camera-video-off"},{key:"bi bi-card-checklist",value:"Checklist",icon:"bi bi-card-checklist"},{key:"bi bi-card-image",value:"Imagem",icon:"bi bi-card-image"},{key:"bi bi-card-list",value:"Lista",icon:"bi bi-card-list"},{key:"bi bi-cart3",value:"Carrinho",icon:"bi bi-cart3"},{key:"bi bi-cash",value:"Dinheiro",icon:"bi bi-cash"},{key:"bi bi-chat",value:"Bal\xe3o de Fala (Vazio)",icon:"bi bi-chat"},{key:"bi bi-chat-dots",value:"Bal\xe3o de Fala (...)",icon:"bi bi-chat-dots"},{key:"bi bi-check-circle",value:"Check",icon:"bi bi-check-circle"},{key:"bi bi-clock",value:"Rel\xf3gio",icon:"bi bi-clock"},{key:"bi bi-clock-history",value:"Rel\xf3gio Ativo",icon:"bi bi-clock-history"},{key:"bi bi-cloud",value:"Nuvem",icon:"bi bi-cloud"},{key:"bi bi-cone-striped",value:"Cone",icon:"bi bi-cone-striped"},{key:"bi bi-diagram-3",value:"Diagrama",icon:"bi bi-diagram-3"},{key:"bi bi-emoji-smile",value:"Emoji Sorrindo",icon:"bi bi-emoji-smile"},{key:"bi bi-emoji-neutral",value:"Emoji Neutro",icon:"bi bi-emoji-neutral"},{key:"bi bi-emoji-frown",value:"Emoji Triste",icon:"bi bi-emoji-frown"},{key:"bi bi-envelope",value:"Envelope",icon:"bi bi-envelope"},{key:"bi bi-eye",value:"Olho",icon:"bi bi-eye"},{key:"bi bi-folder",value:"Pasta",icon:"bi bi-folder"},{key:"bi bi-gear",value:"Configura\xe7\xf5es",icon:"bi bi-gear"},{key:"bi bi-gift",value:"Presente",icon:"bi bi-gift"},{key:"bi bi-hand-thumbs-up",value:"Positivo",icon:"bi bi-hand-thumbs-up"},{key:"bi bi-hand-thumbs-down",value:"Negativo",icon:"bi bi-hand-thumbs-down"},{key:"bi bi-heart",value:"Cora\xe7\xe3o",icon:"bi bi-heart"},{key:"bi bi-house",value:"Home",icon:"bi bi-house"},{key:"bi bi-info-circle",value:"Informa\xe7\xe3o",icon:"bi bi-info-circle"},{key:"bi bi-moon-stars",value:"Noite",icon:"bi bi-moon-stars"},{key:"bi bi-person-circle",value:"Perfil",icon:"bi bi-person-circle"},{key:"bi bi-printer",value:"Impressora",icon:"bi bi-printer"},{key:"bi bi-reply",value:"Retorno",icon:"bi bi-reply"},{key:"bi bi-search",value:"Lupa de Pesquisa",icon:"bi bi-search"},{key:"bi bi-trash",value:"Lixeira",icon:"bi bi-trash"},{key:"bi bi-trophy",value:"Tr\xf3feu",icon:"bi bi-trophy"},{key:"far fa-frown-open",value:"Emoji triste boca aberta",icon:"far fa-frown-open"},{key:"fas fa-frown-open",value:"Emoji triste solido",icon:"fas fa-frown-open"},{key:"fas fa-frown",value:"Emoji triste solido",icon:"fas fa-frown"},{key:"far fa-frown",value:"Emoji triste vazado",icon:"far fa-frown"},{key:"fas fa-smile",value:"Emoji sorrindo solido",icon:"fas fa-smile"},{key:"far fa-smile",value:"Emoji sorrindo vazado",icon:"far fa-smile"},{key:"far fa-smile-wink",value:"Emoji piscando vazado",icon:"far fa-smile-wink"},{key:"fas fa-smile-wink",value:"Emoji piscando solido",icon:"fas fa-smile-wink"},{key:"far fa-sad-cry",value:"Emoji chorando vazado",icon:"far fa-sad-cry"},{key:"fas fa-sad-cry",value:"Emoji chorando solido",icon:"fas fa-sad-cry"},{key:"far fa-meh",value:"Emoji neutro vazado",icon:"far fa-meh"},{key:"fas fa-meh",value:"Emoji neutro solido",icon:"fas fa-meh"},{key:"far fa-grin-stars",value:"Emoji sorrindo estrela no olho vazado",icon:"far fa-grin-stars"},{key:"fas fa-grin-stars",value:"Emoji sorrindo estrela no olho solido",icon:"fas fa-grin-stars"},{key:"far fa-angry",value:"Emoji bravo vazado",icon:"far fa-angry"},{key:"fas fa-angry",value:"Emoji bravo solido",icon:"fas fa-angry"},{key:"far fa-surprise",value:"Emoji surpreso vazado",icon:"far fa-surprise"},{key:"fas fa-surprise",value:"Emoji surpreso solido",icon:"fas fa-surprise"},{key:"far fa-tired",value:"Emoji cansado vazado",icon:"far fa-tired"},{key:"fas fa-tired",value:"Emoji cansado solido",icon:"fas fa-tired"},{key:"far fa-sad-tear",value:"Emoji triste 1 l\xe1grima",icon:"far fa-sad-tear"},{key:"fas fa-sad-tear",value:"Emoji triste 1 l\xe1grima solido",icon:"fas fa-sad-tear"},{key:"far fa-smile-beam",value:"Emoji sorriso vazado",icon:"far fa-smile-beam"},{key:"fas fa-smile-beam",value:"Emoji sorriso solido",icon:"fas fa-smile-beam"},{key:"far fa-laugh-beam",value:"Emoji gargalhada",icon:"far fa-laugh-beam"},{key:"fas fa-laugh-beam",value:"Emoji gargalhada solido",icon:"fas fa-laugh-beam"},{key:"far fa-grin",value:"Emoji sorriso",icon:"far fa-grin"},{key:"fas fa-grin",value:"Emoji sorriso solido",icon:"fas fa-grin"},{key:"fa-solid fa-chart-pie",value:"Grafico de Pizza solido",icon:"fas fa-chart-pie"},{key:"fa-solid fa-chart-bar",value:"Grafico de barra vertical",icon:"fas fa-chart-bar"},{key:"fa-solid fa-chart-line",value:"Grafico de linha",icon:"fas fa-chart-line"},{key:"fa-regular fa-comment",value:"Balao vazado",icon:"far fa-comment"},{key:"fa-solid fa-comment",value:"Balao solido",icon:"fas fa-comment"},{key:"fa-regular fa-comment-dots",value:"Balao vazado com ponto",icon:"far fa-comment-dots"},{key:"fa-solid fa-comment-dots",value:"Balao solido com ponto",icon:"fas fa-comment-dots"},{key:"fa-regular fa-comments",value:"2 Baloes vazados",icon:"far fa-comments"},{key:"fa-solid fa-comments",value:"2 Baloes solidos",icon:"fas fa-comments"},{key:"fa-regular fa-message",value:"Balao retangular vazado",icon:"far fa-comment-alt"},{key:"fa-solid fa-message",value:"Balao retangular solido",icon:"fas fa-comment-alt"},{key:"fa-regular fa-handshake",value:"Aperto de mao vazado",icon:"far fa-handshake"},{key:"fa-solid fa-handshake",value:"Aperto de mao solido",icon:"fas fa-handshake"},{key:"fa-solid fa-arrow-down",value:"Seta para baixo",icon:"fas fa-arrow-down"},{key:"fa-solid fa-arrow-down-long",value:"Seta para baixo longa",icon:"fas fa-long-arrow-alt-down"},{key:"fa-solid fa-arrow-left",value:"Seta para esquerda",icon:"fas fa-arrow-left"},{key:"fa-solid fa-arrow-left-long",value:"Seta para esquerda longa",icon:"fas fa-long-arrow-alt-left"},{key:"fa-solid fa-arrow-right",value:"Seta para direita",icon:"fas fa-arrow-right"},{key:"fa-solid fa-arrow-right-long",value:"Seta para direita longa",icon:"fas fa-long-arrow-alt-right"},{key:"fa-solid fa-arrow-up",value:"Seta para cima",icon:"fas fa-arrow-up"},{key:"fa-solid fa-arrow-up-long",value:"Seta para cima longa",icon:"fas fa-long-arrow-alt-up"},{key:"fa-solid fa-check",value:"Check",icon:"fas fa-check"},{key:"fa-solid fa-check-double",value:"Check duplo",icon:"fas fa-check-double"},{key:"fa-regular fa-circle-check",value:" Circulo com check vazado",icon:"far fa-check-circle"},{key:"fa-solid fa-circle-check",value:"Circulo com check solido",icon:"fas fa-check-circle"},{key:"fa-regular fa-square-check",value:" Quadrado com check vazado",icon:"far fa-check-square"},{key:"fa-solid fa-square-check",value:"Quadrado com check solido",icon:"fas fa-check-square"},{key:"fa-solid fa-clipboard-check",value:"Check de prancheta",icon:"fas fa-clipboard-check"},{key:"fa-solid fa-user-check",value:"Check de usuario solido",icon:"fas fa-user-check"},{key:"fa-solid fa-filter",value:"Filtro solido",icon:"fas fa-filter"},{key:"fa-light fa-arrow-down-a-z",value:"Filtro A-Z seta para baixo",icon:"fas fa-sort-alpha-down"},{key:"fa-light fa-arrow-up-a-z",value:"Filtro A-Z seta para cima",icon:"fas fa-sort-alpha-up"},{key:"fa-light fa-arrow-down-1-9",value:"Filtro 1-9 seta para baixo",icon:"fas fa-sort-numeric-down"},{key:"fa-light fa-arrow-up-1-9",value:"Filtro 1-9 seta para cima",icon:"fas fa-sort-numeric-up"},{key:"fa-regular fa-file",value:" Arquivo Folha vazado",icon:"far fa-file"},{key:"fa-solid fa-file",value:"Arquivo Folha solido",icon:"fas fa-file"},{key:"fa-thin fa-folder-open",value:" Pasta vazado",icon:"far fa-folder-open"},{key:"fa-solid fa-folder-open",value:"Pasta solido",icon:"fas fa-folder-open"},{key:"fa-light fa-calendar-days",value:"Calendario",icon:"far fa-calendar-alt"}],this.NUMERO_SEMANA=[{key:1,value:"1\xaa"},{key:2,value:"2\xaa"},{key:3,value:"3\xaa"},{key:4,value:"4\xaa"},{key:5,value:"5\xaa"}],this.UF=[{key:"AC",code:"01",value:"Acre"},{key:"AL",code:"02",value:"Alagoas"},{key:"AP",code:"04",value:"Amap\xe1"},{key:"AM",code:"03",value:"Amazonas"},{key:"BA",code:"05",value:"Bahia"},{key:"CE",code:"06",value:"Cear\xe1"},{key:"DF",code:"07",value:"Distrito Federal"},{key:"ES",code:"08",value:"Esp\xedrito Santo"},{key:"GO",code:"09",value:"Goi\xe1s"},{key:"MA",code:"10",value:"Maranh\xe3o"},{key:"MT",code:"13",value:"Mato Grosso"},{key:"MS",code:"12",value:"Mato Grosso do Sul"},{key:"MG",code:"11",value:"Minas Gerais"},{key:"PA",code:"14",value:"Par\xe1"},{key:"PB",code:"15",value:"Para\xedba"},{key:"PR",code:"18",value:"Paran\xe1"},{key:"PE",code:"16",value:"Pernambuco"},{key:"PI",code:"17",value:"Piau\xed"},{key:"RJ",code:"19",value:"Rio de Janeiro"},{key:"RN",code:"20",value:"Rio Grande do Norte"},{key:"RS",code:"23",value:"Rio Grande do Sul"},{key:"RO",code:"21",value:"Rond\xf4nia"},{key:"RR",code:"22",value:"Roraima"},{key:"SC",code:"24",value:"Santa Catarina"},{key:"SP",code:"26",value:"S\xe3o Paulo"},{key:"SE",code:"25",value:"Sergipe"},{key:"TO",code:"27",value:"Tocantins"}],this.TIPO_CIDADE=[{key:"MUNICIPIO",value:"Munic\xedpio"},{key:"DISTRITO",value:"Distrito"},{key:"CAPITAL",value:"Capital"}],this.DIA_SEMANA=[{key:0,code:"domingo",value:"Domingo"},{key:1,code:"segunda",value:"Segunda-feira"},{key:2,code:"terca",value:"Ter\xe7a-feira"},{key:3,code:"quarta",value:"Quarta-feira"},{key:4,code:"quinta",value:"Quinta-feira"},{key:5,code:"sexta",value:"Sexta-feira"},{key:6,code:"sabado",value:"S\xe1bado"}],this.DIA_MES=[{key:1,value:"1"},{key:2,value:"2"},{key:3,value:"3"},{key:4,value:"4"},{key:5,value:"5"},{key:6,value:"6"},{key:7,value:"7"},{key:8,value:"8"},{key:9,value:"9"},{key:10,value:"10"},{key:11,value:"11"},{key:12,value:"12"},{key:13,value:"13"},{key:14,value:"14"},{key:15,value:"15"},{key:16,value:"16"},{key:17,value:"17"},{key:18,value:"18"},{key:19,value:"19"},{key:20,value:"20"},{key:21,value:"21"},{key:22,value:"22"},{key:23,value:"23"},{key:24,value:"24"},{key:25,value:"25"},{key:26,value:"26"},{key:27,value:"27"},{key:28,value:"28"},{key:29,value:"29"},{key:30,value:"30"},{key:31,value:"31"}],this.MESES=[{key:1,value:"Janeiro"},{key:2,value:"Fevereiro"},{key:3,value:"Mar\xe7o"},{key:4,value:"Abril"},{key:5,value:"Maio"},{key:6,value:"Junho"},{key:7,value:"Julho"},{key:8,value:"Agosto"},{key:9,value:"Setembro"},{key:10,value:"Outubro"},{key:11,value:"Novembro"},{key:12,value:"Dezembro"}],this.TIPO_CARGA_HORARIA=[{key:"DIA",icon:"bi bi-calendar3-event",value:"Horas por dia"},{key:"DIA",icon:"bi bi-calendar3-week",value:"Horas por semana"},{key:"DIA",icon:"bi bi-calendar3",value:"Horas por m\xeas"}],this.MATERIAL_SERVICO_TIPO=[{key:"MATERIAL",icon:"bi bi-box-seam",value:"Material"},{key:"SERVICO",icon:"bi bi-tools",value:"Servi\xe7o"}],this.MATERIAL_SERVICO_UNIDADE=[{key:"UNIDADE",value:"Unidade"},{key:"CAIXA",value:"Caixa"},{key:"METRO",value:"Metro"},{key:"KILO",value:"Quilo"},{key:"LITRO",value:"Litro"},{key:"DUZIA",value:"D\xfazia"},{key:"MONETARIO",value:"Monet\xe1rio"},{key:"HORAS",value:"Horas"},{key:"DIAS",value:"Dias"},{key:"PACOTE",value:"Pacote"}],this.PROJETO_STATUS=[{key:"PLANEJADO",value:"Planejado",icon:"bi bi-bar-chart-steps",color:"bg-primary"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-collection-play",color:"bg-success"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-calendar2-check",color:"bg-dark"},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-pause-btn",color:"bg-warning text-dark"},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"bg-danger"}],this.CONSOLIDACAO_STATUS=[{key:"INCLUIDO",value:"Incluido",icon:"bi bi-pencil-square",color:"secondary"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-clipboard2-check",color:"primary"},{key:"AVALIADO",value:"Avaliado",icon:"bi bi-star",color:"info"}],this.PERIODICIDADE_CONSOLIDACAO=[{key:"DIAS",value:"Dias"},{key:"SEMANAL",value:"Semanal"},{key:"QUINZENAL",value:"Quinzenal"},{key:"MENSAL",value:"Mensal"},{key:"BIMESTRAL",value:"Bimestral"},{key:"TRIMESTRAL",value:"Trimestral"},{key:"SEMESTRAL",value:"Semestral"}],this.TIPO_AVALIACAO_TIPO=[{key:"QUALITATIVO",value:"Qualitativo (conceitual)"},{key:"QUANTITATIVO",value:"Quantitativo (valor)"}],this.ADESAO_STATUS=[{key:"SOLICITADO",value:"Solicitado",color:"bg-primary"},{key:"HOMOLOGADO",value:"Homologado",color:"bg-success"},{key:"CANCELADO",value:"Cancelado",color:"bg-danger"}],this.PROJETO_TAREFA_STATUS=[{key:"PLANEJADO",value:"Planejado",icon:"bi bi-bar-chart-steps",color:"primary"},{key:"INICIADO",value:"Iniciado",icon:"bi bi-collection-play",color:"success"},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-calendar2-check",color:"secondary"},{key:"FALHO",value:"Falho",icon:"bi bi-question-octagon",color:"danger"},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-pause-btn",color:"warning"},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"danger"},{key:"AGUARDANDO",value:"Aguardando",icon:"bi bi-pause-fill",color:"light"}],this.TIPO_LOG_CHANGE=[{key:"ADD",value:"ADD"},{key:"EDIT",value:"EDIT"},{key:"SOFT_DELETE",value:"SOFT_DELETE"},{key:"DELETE",value:"DELETE"}],this.TIPO_LOG_ERROR=[{key:"ERROR",value:"ERROR"},{key:"FRONT-ERROR",value:"FRONT-ERROR"},{key:"FRONT-WARNING",value:"FRONT-WARNING"},{key:"WARNING",value:"WARNING"}],this.PROJETO_TIPO_RECURSOS=[{key:"HUMANO",value:"Humano",icon:"bi bi-people-fill",color:"primary"},{key:"DEPARTAMENTO",value:"Departamento",icon:"bi bi-house-gear-fill",color:"success"},{key:"MATERIAL",value:"Material",icon:"bi bi-boxes",color:"info"},{key:"SERVI\xc7O",value:"Servi\xe7o",icon:"bi bi-tools",color:"warning"},{key:"CUSTO",value:"Custo",icon:"bi bi-currency-exchange",color:"danger"}],this.PLANO_ENTREGA_STATUS=[{key:"INCLUIDO",value:"Inclu\xeddo",icon:"bi bi-pencil-square",color:"secondary",data:{justificar:["HOMOLOGANDO"]}},{key:"HOMOLOGANDO",value:"Aguardando homologa\xe7\xe3o",icon:"bi bi-clock",color:"warning",data:{justificar:["ATIVO"]}},{key:"ATIVO",value:"Em execu\xe7\xe3o",icon:"bi bi-caret-right",color:"success",data:{justificar:["CONCLUIDO"]}},{key:"CONCLUIDO",value:"Conclu\xeddo",icon:"bi bi-clipboard2-check",color:"primary",data:{justificar:["AVALIADO"]}},{key:"AVALIADO",value:"Avaliado",icon:"bi bi-star",color:"info",data:{justificar:[]}},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-sign-stop",color:"dark",data:{justificar:[]}},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"danger",data:{justificar:[]}}],this.PLANO_TRABALHO_STATUS=[{key:"INCLUIDO",value:"Inclu\xeddo",icon:"bi bi-pencil-square",color:"secondary",data:{justificar:["AGUARDANDO_ASSINATURA"]}},{key:"AGUARDANDO_ASSINATURA",value:"Aguardando assinatura",icon:"bi bi-clock",color:"warning",data:{justificar:[]}},{key:"ATIVO",value:"Aprovado",icon:"bi bi-check2-circle",color:"success",data:{justificar:[]}},{key:"CONCLUIDO",value:"Executado",icon:"bi bi-clipboard2-check",color:"primary",data:{justificar:[]}},{key:"AVALIADO",value:"Avaliado",icon:"bi bi-star",color:"info",data:{justificar:[]}},{key:"SUSPENSO",value:"Suspenso",icon:"bi bi-sign-stop",color:"dark",data:{justificar:[]}},{key:"CANCELADO",value:"Cancelado",icon:"bi bi-x-square",color:"danger",data:{justificar:[]}}],this.PROJETO_PERFIS=[{key:"ESCRITORIO",value:"Escrit\xf3rio",icon:"bi bi-house-gear",data:["DEPARTAMENTO"]},{key:"GERENTE",value:"Gerente",icon:"bi bi-person-gear",data:["HUMANO"]},{key:"ACESSAR",value:"Acessar o projeto",icon:"bi bi-unlock",data:["HUMANO","DEPARTAMENTO"]}],this.IDIOMAS=[{key:"ALEMAO",value:"Alem\xe3o"},{key:"ARABE",value:"\xc1rabe"},{key:"ARGELINO",value:"Argelino"},{key:"AZERI",value:"Azeri"},{key:"BENGALI",value:"Bengali"},{key:"CHINES",value:"Chin\xeas"},{key:"COREANO",value:"Coreano"},{key:"EGIPCIO",value:"Eg\xedpcio"},{key:"ESPANHOL",value:"Espanhol"},{key:"FRANCES",value:"Frances"},{key:"INDI",value:"indi"},{key:"HOLANDES",value:"Holand\xeas"},{key:"INDONESIO",value:"Indon\xe9sio"},{key:"INGLES",value:"Ingl\xeas"},{key:"IORUBA",value:"Iorub\xe1"},{key:"ITALIANO",value:"Italiano"},{key:"JAPONES",value:"Japon\xeas"},{key:"JAVANES",value:"Javan\xeas"},{key:"MALAIO",value:"Malaio"},{key:"MALAIOB",value:"Malaio/Bahasa"},{key:"MARATA",value:"Marata"},{key:"PERSA ",value:"Persa"},{key:"PUNJABI ",value:"Punjabi"},{key:"ROMENO",value:"Romeno"},{key:"RUSSO",value:"Russo"},{key:"SUAILI",value:"Sua\xedli"},{key:"TAILANDES",value:"Tailandes"},{key:"TAMIL ",value:"T\xe2mil"},{key:"TELUGU",value:"Telugu"},{key:"TURCO",value:"Turco"},{key:"UCRANIANO",value:"Ucraniano"},{key:"URDU",value:"Urdu"},{key:"VIETNAMITA",value:"Vietnamita"}],this.NIVEL_IDIOMA=[{key:"BASICO",value:"B\xe1sico"},{key:"INTERMEDIARIO",value:"Intermedi\xe1rio"},{key:"AVANCADO",value:"Avan\xe7ado"},{key:"FLUENTE",value:"Fluente"}],this.ESTADO_CIVIL=[{key:"CASADO",value:"Casado"},{key:"DIVORCIADO",value:"Divorciado"},{key:"SOLTEIRO",value:"Solteiro"},{key:"SEPARADO",value:"Separado"},{key:"VIUVO",value:"Vi\xfavo"},{key:"UNIAO",value:"Uni\xe3o Est\xe1vel"},{key:"OUTRO",value:"Outro"}],this.COR_RACA=[{key:"BRANCA",value:"Branca"},{key:"PRETA",value:"Preta"},{key:"PARDA",value:"Parda"},{key:"INDIGENA",value:"Indigena"},{key:"AMARELA",value:"Amarela"}],this.TIPO_DISCRIMINACAO=[{key:"SOCIAL",value:"Social"},{key:"RACIAL",value:"Racial"},{key:"RELIGIOSA",value:"Religiosa"},{key:"SEXUAL",value:"Sexual"},{key:"POLITICA",value:"Politica"}],this.ESCOLARIDADE=[{key:"ESCOLARIDADE_FUNDAMENTAL",value:"Ensino Fundamental"},{key:"ESCOLARIDADE_MEDIO",value:"Ensino M\xe9dio"},{key:"ESCOLARIDADE_SUPERIOR",value:"Ensino Superior"},{key:"ESCOLARIDADE_ESPECIAL",value:"Especializa\xe7\xe3o"},{key:"ESCOLARIDADE_MESTRADO",value:"Mestrado"},{key:"ESCOLARIDADE_DOUTORADO",value:"Doutorado"},{key:"ESCOLARIDADE_POS_DOUTORADO",value:"P\xf3s Doutorado"}],this.TITULOS_CURSOS=[{key:"GRAD_TEC",value:"Tecn\xf3logo"},{key:"GRAD_BAC",value:"Bacharelado"},{key:"GRAD_LIC",value:"Licenciatura"},{key:"ESPECIAL",value:"Especializa\xe7\xe3o"},{key:"MESTRADO",value:"Mestrado"},{key:"DOUTORADO",value:"Doutorado"},{key:"POS_DOUTORADO",value:"P\xf3s Doutorado"}],this.TITULOS_CURSOS_INST=[{key:"INSTITUCIONAL",value:"Institucional"},{key:"GRAD_TEC",value:"Tecn\xf3logo"},{key:"GRAD_BAC",value:"Bacharelado"},{key:"GRAD_LIC",value:"Licenciatura"},{key:"ESPECIAL",value:"Especializa\xe7\xe3o"},{key:"MESTRADO",value:"Mestrado"},{key:"DOUTORADO",value:"Doutorado"},{key:"POS_DOUTORADO",value:"P\xf3s Doutorado"}],this.CARGOS_PRF=[{key:"PRF",value:"PRF"},{key:"ADM",value:"Agente Administrativo"}],this.SITUACAO_FUNCIONAL=[{key:"CONCURSADO_E",value:"Concursado Efetivo"},{key:"CONCURSADO_T",value:"Consursado Tempor\xe1rio"},{key:"TERCEIRIZADO",value:"Colaborador de empresa terceirizada"},{key:"ESTAGIARIO",value:"Estagi\xe1rio"}],this.PG_PRF=[{key:"PRESENCIAL",value:"Presencial"},{key:"TELETRABALHO_PARCIAL",value:"Teletrabalho parcial"},{key:"TELETRABALHO_INTEGRAL",value:"Teletrabalho integral"}],this.QUESTIONARIO_TIPO=[{key:"INTERNO",value:"Interno"},{key:"PERSONALIZADO",value:"Personalizado"},{key:"ANONIMO",value:"An\xf4nimo"}],this.QUESTIONARIO_PERGUNTA_TIPO=[{key:"SELECT",value:"\xdanica Escolha"},{key:"MULTI_SELECT",value:"Multipla Escolha"},{key:"TEXT",value:"Texto Livre"},{key:"RATE",value:"Classifica\xe7\xe3o"},{key:"SWITCH",value:"Sim/N\xe3o"},{key:"RADIO",value:"\xdanica Escolha"},{key:"NUMBER",value:"Num\xe9rica"},{key:"SEARCH",value:"Pesquisa"},{key:"EMOJI",value:"Emojis"},{key:"TEXT_AREA",value:"Caixa de Texto"},{key:"TIMER",value:"Tempo"},{key:"DATE_TIME",value:"Data/Hora"},{key:"RADIO_BUTTON",value:"Bot\xf5es"},{key:"RADIO_INLINE",value:"\xdanica Escolha"},{key:"CHECK",value:"M\xfaltipla Escolha"}],this.SOFT_SKILLS=[{key:"COMUNICACAO",value:"Comunica\xe7\xe3o"},{key:"LIDERANCA",value:"Lideran\xe7a"},{key:"RESOLUCAO",value:"Resolu\xe7\xe3o de problemas"},{key:"CRIATIVIDADE",value:"Criatividade e curiosidade"},{key:"PENSAMENTO",value:"Pensamento cr\xedtico"},{key:"HABILIDADES",value:"Habilidades com pessoas e equipes"},{key:"ADAPTABILIDADE",value:"Adaptabilidade e resili\xeancia"},{key:"ETICA",value:"\xc9tica"}],this.ATRIBUTOS_COMPORTAMENTAIS=[{key:"EXTROVERSAO",value:"Extrovers\xe3o"},{key:"AGRADABILIDADE",value:"Agradabilidade"},{key:"CONSCIENCIOSIDADE",value:"Conscienciosidade"},{key:"EMOCIONAL",value:"Estabilidade Emocional"},{key:"ABERTURA",value:"Abertura"}],this.THEMES=[{key:"light",value:"Branco (light)"},{key:"blue",value:"Azul (oxford)"},{key:"dark",value:"Preto (dark)"}],this.TIPO_INTEGRACAO=[{key:"NENHUMA",value:"Nenhuma"},{key:"SIAPE",value:"Siape-WS"},{key:"API",value:"API"}],this.GOV_BR_ENV=[{key:"staging",value:"Teste"},{key:"production",value:"Produ\xe7\xe3o"}],this.EXISTE_PAGADOR=[{key:"A",value:"V\xednculos ativos sem ocorr\xeancia de exclus\xe3o"},{key:"B",value:"Todos os v\xednculos"}],this.TIPO_VINCULO=[{key:"A",value:"Ativos em exerc\xedcio no \xf3rg\xe3o"},{key:"B",value:"Ativos e aposentados"},{key:"C",value:"Ativos, aposentados e pensionistas"}],this.LOGICOS=[{key:!0,value:"Verdadeiro"},{key:!1,value:"Falso"}],this.TIPO_OPERADOR=[{key:"number",value:"N\xfamero"},{key:"string",value:"Texto"},{key:"boolean",value:"L\xf3gico"},{key:"variable",value:"Vari\xe1vel"},{key:"list",value:"Lista"}],this.OPERADOR=[{key:"==",value:"\xc9 igual"},{key:"<",value:"\xc9 menor"},{key:"<=",value:"\xc9 menor ou igual"},{key:">",value:"\xc9 maior"},{key:">=",value:"\xc9 maior ou igual"},{key:"<>",value:"\xc9 diferente"}],this.LISTA_TIPO=[{key:"indice",value:"Lista utilizando \xedndice"},{key:"variavel",value:"Lista utilizando vari\xe1vel"}],this.CALCULO=[{key:"ACRESCIMO",value:"Adiciona"},{key:"DECRESCIMO",value:"Subtrai"}]}getLookup(y,C){return y.find(b=>b.key==C)}getCode(y,C){return y.find(b=>b.key==C)?.code||""}getValue(y,C){return y.find(b=>b.key==C)?.value||""}getColor(y,C){return y.find(b=>b.key==C)?.color||""}getIcon(y,C){return y.find(b=>b.key==C)?.icon||""}getData(y,C){return y?.find(b=>b.key==C)?.data}uniqueLookupItem(y){let C=[];return y.forEach(b=>{C.find(N=>N.key==b.key)||C.push(b)}),C}ordenarLookupItem(y){return y.sort((C,b)=>C.value{"use strict";m.d(_e,{R:()=>C,o:()=>b});var i=m(755),t=m(5579),A=m(9927),a=m(5545),y=m(1547);class C{constructor(j){this.modalResult=j}}let b=(()=>{class N{get ngZone(){return this._ngZone=this._ngZone||this.injector.get(i.R0b),this._ngZone}get router(){return this._router=this._router||this.injector.get(t.F0),this._router}get dialogs(){return this._dialogs=this._dialogs||this.injector.get(a.x),this._dialogs}get gb(){return this._gb=this._gb||this.injector.get(y.d),this._gb}constructor(F){this.injector=F,this.ROOT_ROUTE=["home"],this.routes=[]}encodeParam(F){for(let[x,H]of Object.entries(F))["function","object"].includes(typeof H)&&(F["_$"+x+"$_"]=JSON.stringify(H),Array.isArray(H)&&(F[x]="[object Array]"))}decodeParam(F){if(F){let x={};for(let[H,k]of Object.entries(F))if("string"==typeof k&&k.startsWith("[object")&&F["_$"+H+"$_"]){const P=JSON.parse(F["_$"+H+"$_"]);switch(k){case"[object Object]":case"[object Function]":case"[object Array]":case"[object RegExp]":x[H]=P;break;case"[object Date]":x[H]=new Date(P);break;default:x[H]=k}}else/_\$.*\$_$/g.test(H)||(x[H]=k);return x}return F}navigate(F,x){F.params=Object.assign(F.params||{},{context:this.gb.contexto?.key,idroute:A.V.hashStr(this.currentOrDefault.route.join("")+F.route.join(""))}),F.params.modal=x?.modal||F.params.modal,x?.modalWidth&&(F.params.modalWidth=x?.modalWidth),this.encodeParam(F.params);let H=Object.assign(x||{},{id:F.params.idroute,context:F.params.context,source:this.current,destination:F,modal:F.params?.modal,modalClose:x?.modalClose});return H.root&&this.clearRoutes(),this.routes.push(H),this.ngZone.run(()=>this.router.navigate(F.route,{queryParams:F.params}))}getMetadata(F){return this.routes.find(x=>x.id==F)?.metadata}getRouteUrl(){return this.router.url.split("?")[0]}getStackRouteUrl(){return this.routes.map(F=>F.path||F.destination?.route.join("/")||"").join(";")}clearRoutes(){this.routes=[],this.dialogs.closeAll()}get first(){return!this.routes.length}back(F,x){if(!this.routes.length)return this.ngZone.run(()=>this.router.navigate(x?.route||this.ROOT_ROUTE,{queryParams:x?.params}));{if(F?.length&&this.routes[this.routes.length-1].id!=F)return;let H=this.routes.pop();if(H.modal)this.dialogs.close(H.id,!1),H.modalClose&&H.modalClose(H?.modalResult);else if(H.back)return this.clearRoutes(),this.ngZone.run(()=>this.router.navigate(H.back.route,{queryParams:H.back.params}));if(!H.modal){if(H.source)return this.ngZone.run(()=>this.router.navigate(H.source.route,{queryParams:H.source.params}));if(H.default)return this.ngZone.run(()=>this.router.navigate(H.default.route,{queryParams:H.default.params}))}}return null}get current(){return this.routes.length?this.routes[this.routes.length-1].destination:void 0}get currentOrDefault(){return this.current||{route:this.router.url.split("?")[0].split("/")}}config(F,x){let H=this.routes.find(k=>k.id==F);H&&(x.title&&(H.title=x.title),x.modal&&(H.modal=x.modal),x.path&&(H.path=x.path))}setModalResult(F,x){let H=this.routes.find(k=>k.id==F);H&&(H.modalResult=x)}getModalResult(F,x){return this.routes.find(H=>H.id==F)?.modalResult}setDefaultBackRoute(F,x){let H=this.routes.find(k=>k.id==F);H&&(H.default=x)}isActivePath(F){return this.router.url.toLowerCase().startsWith("string"==typeof F?F:"/"+F.join("/"))}link(F){return F}params(F){return F}openNewBrowserTab(F){if(F){let x=this.gb.servidorURL+"#"+F.pathFromRoot.map(H=>H.url.map(k=>k.path).join("/")).join("/");x+=F.queryParamMap.keys.length>0?"?"+F.queryParamMap.keys.map(H=>F.queryParamMap.getAll(H).map(k=>H+"="+k).join("&")).join("&"):"",window?.open(x,"_blank")?.focus()}}openNewTab(F){window.open(F,"_blank")?.focus()}openPopup(F,x=500,H=600){window.open(F,"targetWindow","toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width="+x+", height="+H)?.focus()}refresh(){const F=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([F])})}static#e=this.\u0275fac=function(x){return new(x||N)(i.LFG(i.zs3))};static#t=this.\u0275prov=i.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},1454:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>N});var i=m(2939),t=m(1960),A=m(8748),a=m(7560),y=m(2333),C=m(1547),b=m(755);let N=(()=>{class j{static#e=this.BATCH_TIMEOUT=5e3;get auth(){return this._auth=this._auth||this.injector.get(y.e),this._auth}get http(){return this._http=this._http||this.injector.get(i.eN),this._http}get gb(){return this._gb=this._gb||this.injector.get(C.d),this._gb}get tokenExtractor(){return this._tokenExtractor=this._tokenExtractor||this.injector.get(i.YS),this._tokenExtractor}constructor(x){this.injector=x}startBatch(x=!0,H=!1){if(!H&&typeof this.batch<"u")throw new Error("Already exists a batch started");this.batch={sameTransaction:x,actions:[]},this._batchTimeout=setTimeout(()=>{this.endBatch()},j.BATCH_TIMEOUT)}endBatch(){if(typeof this.batch>"u")throw new Error("Batch not started");let x={sameTransaction:this.batch.sameTransaction,actions:this.batch.actions.map(P=>Object.assign({},{route:P.route,method:P.method,data:P.data}))},H=this.batch;this.batch=void 0,clearTimeout(this._batchTimeout);let k=this.http.post(this.gb.servidorURL+"/api/batch",x,this.requestOptions());return k.pipe((0,a.K)((P,X)=>(H.actions.map(Oe=>Oe.response).forEach((Oe,Se)=>{Oe.error(P)}),this.errorHandle(P,X)))),k.subscribe(P=>{H.actions.map(me=>me.response).forEach((me,Oe)=>{me.next(P.error?P:P.returns[Oe]),me.complete()})}),k}errorHandle(x,H){return x instanceof i.UA&&[419,401].includes(x.status)&&this.auth.logOut(),(0,t._)(x)}requestOptions(){let x={withCredentials:!0,headers:{}},H={};if(this.gb.isEmbedded&&this.auth.apiToken?.length)x.headers.Authorization="Bearer "+this.auth.apiToken;else{let k=this.tokenExtractor.getToken();null!==k&&(x.headers["X-XSRF-TOKEN"]=k)}return H.version=this.gb.VERSAO_DB,this.auth.unidade&&(H.unidade_id=this.auth.unidade.id),x.headers["X-PETRVS"]=btoa(JSON.stringify(H)),x.headers["X-ENTIDADE"]=this.gb.ENTIDADE,x}get(x){let H;if(typeof this.batch<"u"){let k={route:this.gb.servidorURL+"/"+x,method:"GET",data:null,response:new A.x};this.batch.actions.push(k),H=k.response.asObservable()}else H=this.http.get(this.gb.servidorURL+"/"+x,this.requestOptions()),H.pipe((0,a.K)(this.errorHandle.bind(this)));return H}post(x,H){let k;if(typeof this.batch<"u"){let P={route:this.gb.servidorURL+"/"+x,method:"POST",data:H,response:new A.x};this.batch.actions.push(P),k=P.response.asObservable()}else k=this.http.post(this.gb.servidorURL+"/"+x,H,this.requestOptions()),k.pipe((0,a.K)(this.errorHandle.bind(this)));return k}delete(x,H){let k=this.requestOptions();return k.params=H,this.http.delete(this.gb.servidorURL+"/"+x,k)}getSvg(x){let H=this.http.get(x,{responseType:"text"});return H.pipe((0,a.K)(this.errorHandle.bind(this))),H}getPDF(x,H){let k=this.requestOptions();return k=this.addCustomHeaders(k),this.http.get(this.gb.servidorURL+"/"+x,{...k,params:H,responseType:"blob"})}addCustomHeaders(x){return x.headers["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",x.headers.Accept="application/pdf",x}static#t=this.\u0275fac=function(H){return new(H||j)(b.LFG(b.zs3))};static#n=this.\u0275prov=b.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},609:(lt,_e,m)=>{"use strict";m.d(_e,{Z:()=>a});var i=m(8239),t=m(755),A=m(2333);let a=(()=>{class y{constructor(b){this.auth=b,this.unidade=[]}getAllUnidades(){var b=this;return(0,i.Z)(function*(){b.unidadeDao?.query().getAll().then(N=>(b.unidade=N.map(j=>Object.assign({},{key:j.id,value:j.sigla})),b.unidade))})()}isGestorUnidade(b=null,N=!0){let j=null==b?this.auth.unidade?.id||null:"string"==typeof b?b:b.id,F=this.auth.unidades?.find(H=>H.id==j),x=[F?.gestor?.usuario_id,...F?.gestores_substitutos?.map(H=>H.usuario_id)||[]];return N&&x.push(...F?.gestores_delegados?.map(H=>H.usuario_id)||[]),!!j&&!!F&&x.includes(this.auth.usuario.id)}isGestorUnidadeSuperior(b){let N=[];return N.push(b.unidade_pai?.gestor?.usuario_id),N.push(...b.unidade_pai?.gestores_substitutos?.map(j=>j.usuario_id)??[]),N.includes(this.auth.usuario.id)}isGestorTitularUnidade(b=null){let N=null==b?this.auth.unidade?.id||null:"string"==typeof b?b:b.id,j=this.auth.unidades?.find(x=>x.id==N);return!!N&&!!j&&[j?.gestor?.usuario_id].includes(this.auth.usuario.id)}isGestorUnidadePlano(b,N){let j=[];return j.push(b.gestor?.usuario_id),j.push(...b.gestores_substitutos?.map(F=>F.usuario_id)??[]),j.includes(N)}static#e=this.\u0275fac=function(N){return new(N||y)(t.LFG(A.e))};static#t=this.\u0275prov=t.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},9193:(lt,_e,m)=>{"use strict";m.d(_e,{f:()=>N});var i=m(9927),t=m(2866),A=m.n(t),a=m(2953),y=m(6733),C=m(2333),b=m(755);let N=(()=>{class j{static#e=this.ISO8601_VALIDATE=/^[0-9]{4}-((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|[12][0-9]))((T|\s)(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9])(:(0[0-9]|[1-5][0-9])(\.([0-9]{3}|[0-9]{6}))?)?)?Z?$/;static#t=this.ISO8601_FORMAT="YYYY-MM-DDTHH:mm:ss";static#n=this.TIME_VALIDATE=/^(([01][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?)|(24:00(:00)?)$/;constructor(x,H,k){this.injector=x,this.document=H,this.maskService=x.get(a.KD),this.auth=x.get(C.e),this.maskService.thousandSeparator=".",this.renderer=k.createRenderer(null,null)}copyToClipboard(x){const H=document.createElement("textarea");H.style.position="fixed",H.style.left="0",H.style.top="0",H.style.opacity="0",H.value=x,document.body.appendChild(H),H.focus(),H.select(),document.execCommand("copy"),document.body.removeChild(H)}clone(x){if("object"==typeof x){if(Array.isArray(x))return x.map(H=>this.clone(H));if(x instanceof Date)return new Date(x.getTime());if(typeof x>"u")return;{if(null==x)return null;let H={};for(let[k,P]of Object.entries(x))H[k]=this.clone(P);return H}}return x}round(x,H){const k=Math.pow(10,H);return Math.round((x+Number.EPSILON)*k)/k}avg(x){for(var H=0,k=0,P=x.length;Hk.length).reduce((k,P)=>k&&k[Array.isArray(k)&&!isNaN(+P)?parseInt(P):P],x)}setNested(x,H,k){let P=H.replace("[",".").replace("]",".").replace(/^\./g,"").split("."),X=P.pop(),me=P.reduce((Oe,Se)=>Oe[Array.isArray(Oe)?parseInt(Se):Se],x);me&&X&&(me[X]=k)}validateLookupItem(x,H){let k=!0;return H.indexOf(x)<0?x.forEach(P=>{(P.key==H||"d41d8cd98f00b204e9800998ecf8427e"==H)&&(k=!1)}):"d41d8cd98f00b204e9800998ecf8427e"==H&&(k=!1),k}commonBegin(x,H){let k=[],P=Array.isArray(x)?x:x.split(""),X=Array.isArray(H)?H:H.split("");const me=Math.min(P.length,X.length);for(let Oe=0;OeOe>=Se.length-2&&me).map(me=>+me),X=(me,Oe)=>10*(me=>H.filter((Oe,Se,wt)=>Se+Oe))(Oe).reduce((Se,wt,K)=>Se+wt*(me-K),0)%11%10;return!(X(10,2)!==k[0]||X(11,1)!==k[1])}validarEmail(x){return/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(x)}onlyNumbers(x){return x?[...x].filter(H=>/[0-9]/.test(H)).join(""):""}onlyAlphanumeric(x){return x.replace(/[^a-z0-9]/gi,"")}fill(x,H){return x&&(Object.keys(x).forEach(k=>{H&&H[k]&&Array.isArray(H[k])?((!Array.isArray(x[k])||typeof x[k]>"u")&&(x[k]=[]),x[k].push(...H[k])):!("object"==typeof x[k]&&H&&typeof H[k]<"u"&&H[k])||x[k]instanceof Date||H[k]instanceof Date?H&&typeof H[k]<"u"&&(x[k]=H[k]):x[k]=this.fill(x[k],H[k])}),H&&H._status&&(x._status=H._status)),x}assign(x,H){if(x){const k=Object.keys(x);k.forEach(P=>{Array.isArray(x[P])&&H&&H[P]&&Array.isArray(H[P])?x[P]=[...H[P]]:!("object"==typeof x[P]&&H&&typeof H[P]<"u"&&H[P])||x[P]instanceof Date||H[P]instanceof Date?H&&typeof H[P]<"u"&&(x[P]=H[P]):x[P]=this.assign(x[P],H[P])}),Object.entries(H||{}).forEach(([P,X])=>{k.includes(P)||(x[P]=X)})}return x}getParameters(x){return"function"==typeof x?new RegExp("(?:"+x.name+"\\s*|^)\\s*\\((.*?)\\)").exec(x.toString().replace(/\n/g,""))[1].replace(/\/\*.*?\*\//g,"").replace(/ /g,""):[]}mergeArrayOfObject(x,H,k,P=!0,X,me,Oe){const Se=X&&this.getParameters(X).length>1;for(let wt of H){let K=x.find(V=>"string"==typeof k?V[k]==wt[k]:k(V,wt));if(K)me?me(K,wt):Se?X("EDIT",K,wt):Object.assign(K,wt);else{let V=X?Se?X("ADD",void 0,wt):X(wt):wt;V&&x.push(V)}}if(P)for(let wt=0;wt"string"==typeof k?V[k]==K[k]:k(K,V))||(Oe?Oe(K):!Se||X("DELETE",K))&&(x.splice(wt,1),wt--)}return x}writeToFile(x,H){var k=document.createElement("a");k.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(H)),k.setAttribute("download",x),k.style.display="none",document.body.appendChild(k),k.click(),document.body.removeChild(k)}md5(x){return i.V.hashStr(x||Math.random().toString())}fillForm(x,H){return x&&H&&Object.keys(x).forEach(k=>{if(typeof H[k]<"u")x[k]=H[k];else if(k.indexOf("_")>0&&typeof H[k.substr(0,k.indexOf("_"))]<"u"){let P=H[k.substr(0,k.indexOf("_"))];P&&typeof P[k.substr(k.indexOf("_")+1)]<"u"&&(x[k]=P[k.substr(k.indexOf("_")+1)])}else if(k.indexOf("$")>0){const P=k.substr(0,k.indexOf("$")),X=k.substr(k.indexOf("$")+1);x[k]=H[P]?.indexOf(X)>=0}else"object"==typeof x[k]&&typeof H[k]<"u"&&(Array.isArray(x[k])?x[k]=Object.entries(H).filter(([P,X])=>P.startsWith(k)&&X).map(([P,X])=>P)||[]:Object.keys(x[k]).forEach(P=>{typeof H[k+"_"+P]<"u"&&(x[k][P]=H[k+"_"+P])}))}),x}empty(x){return null==x||null==x||("string"==typeof x?!x.length:"object"==typeof x&&x instanceof Date&&("function"!=typeof x.getMonth||x<=new Date(0)))}deepEach(x,H,k=!1,P=[]){if(x)for(let[X,me]of Array.isArray(x)?x.entries():Object.entries(x)){let Oe=[...P,X],Se=H(me,X,x,Oe);k&&null==Se&&(Array.isArray(x),delete x[X]),Se&&this.deepEach(Se,H,k,Oe)}}removeAcentos(x){return[...x].map(P=>{let X="\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\u0154\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff\u0155".indexOf(P);return X>=0?"AAAAAAACEEEEIIIIDNOOOOOOUUUUYRsBaaaaaaaceeeeiiiionoooooouuuuybyr"[X]:P}).join("")}textHash(x){return this.md5(this.removeAcentos(x.toLowerCase()))}apelidoOuNome(x,H=!1){const k=x?.apelido?.length?x.apelido:x?.nome||"";return k&&H?this.capitalCase(k):k}shortName(x){let H=x.replace(/\s\s+/g," ").split(" "),k="";for(let P of H)k+=k.length<5?" "+P[0].toUpperCase()+P.substring(1).toLowerCase():"";return k.trim().replace(" ","%")}capitalCase(x){return x.toLowerCase().replace(/(^\w|\.\w|\s\w)/g,H=>H.toUpperCase())}contrastColor(x){const H=this.colorHexToRGB(x);return.299*H.r+.587*H.g+.114*H.b>186?"#000000":"#ffffff"}colorHexToRGB(x){const H="#"===x.charAt(0)?x.substring(1,7):x;return{r:parseInt(H.substring(0,2),16),g:parseInt(H.substring(2,4),16),b:parseInt(H.substring(4,6),16)}}getBackgroundColor(x=0,H=20,k=51,P=62,X=51){const me=[];for(let Oe=0;Oe<=H;Oe++)me.push(`hsl(${Oe*k/H}, ${P}%, ${X}%)`);return me[H-x%(H+1)]}getRandomColor(){let H="#";for(let k=0;k<6;k++)H+="0123456789ABCDEF"[Math.floor(16*Math.random())];return H}isTimeValid(x){return j.TIME_VALIDATE.test(x)}isDataValid(x){const H=x&&"string"==typeof x?new Date(x):x;return!!H&&(A()(H).isValid()||"[object Date]"===Object.prototype.toString.call(H)&&!isNaN(H))}isDeveloper(){return 0==this.auth.usuario?.perfil?.nivel}decimalToTimer(x,H=!1,k=24){const P=H?Math.trunc(x):Math.trunc(x)%k,X=Math.round(x%1*60);return{days:H?0:Math.trunc(x-P)/k,hours:P,minutes:X}}decimalToTimerFormated(x,H=!1,k=24){let P="";if(void 0!==x){const X=this.decimalToTimer(x,H,k);P+=X.days?X.days+(1==X.days?" dia":" dias"):"",P+=X.hours?(X.days?", ":"")+this.strZero(X.hours,2)+"h":"",P+=X.minutes?(X.days&&!X.hours?", ":"")+this.strZero(X.minutes,2)+"min":"",P+=P.length?"":" - Zero - "}return P}between(x,H){const k="number"==typeof H.start?H.start:H.start.getTime(),P="number"==typeof H.end?H.end:H.end.getTime();return(x="number"==typeof x?x:x.getTime())>=k&&x<=P}asDate(x,H=null){return x instanceof Date?H=x:"number"==typeof x?H=new Date(x):"string"==typeof x&&A()(x).isValid()&&(H=A()(x).toDate()),H}asTimestamp(x,H=-1){return this.asDate(x)?.getTime()||H}asDateInterval(x){return{start:x.start instanceof Date?x.start:new Date(x.start),end:x.end instanceof Date?x.end:new Date(x.end)}}asTimeInterval(x){return{start:x.start instanceof Date?x.start.getTime():x.start,end:x.end instanceof Date?x.end.getTime():x.end}}intersection(x){const H=x[0]?.start instanceof Date;let k;if(x.length>1){k=this.asTimeInterval(x[0]);for(let P=1;P=X.start&&k.start<=X.end?{start:Math.max(k.start,X.start),end:Math.min(k.end,X.end)}:void 0}}return k&&H?this.asDateInterval(k):k}union(x){if(x.length<2)return x;{const H=x[0]?.start instanceof Date;let k=x.map(X=>this.asTimeInterval(X)),P=[];P.push(k[0]),k.shift();for(let X=0;X=k[me].start&&P[X].start<=k[me].end&&(P[X]={start:Math.min(P[X].start,k[me].start),end:Math.max(P[X].end,k[me].end)},k.splice(me,1),me=-1);k.length&&(P.push(k[0]),k.shift())}return H?P.map(X=>this.asDateInterval(X)):P}}merge(x,H,k){let P=[...x||[]];return(H||[]).forEach(X=>{P.find(me=>k(me,X))||P.push(X)}),P}getDateFormatted(x){return x?A()(x).format("DD/MM/YYYY"):""}getBooleanFormatted(x){return 0==x?"n\xe3o":"sim"}getTimeFormatted(x){return x?A()(x).format("HH:mm"):""}getTimeFormattedUSA(x){return x?A()(x).format("YYYY-MM-DD HH:mm:ss"):""}getDateTimeFormatted(x,H=" "){return x?x instanceof Date||"string"==typeof x&&x.match(j.ISO8601_VALIDATE)?this.getDateFormatted(x)+H+this.getTimeFormatted(x):JSON.stringify(x):""}static dateToIso8601(x){return A()(x).format(j.ISO8601_FORMAT)}static iso8601ToDate(x){return new Date(x.match(/.+[\sT]\d\d:\d\d(:\d\d)?(\.\d+Z)?$/)?x:x+"T00:00:00")}timestamp(x){const H=6e4*x.getTimezoneOffset();return Math.floor((x.getTime()-H)/1e3)}daystamp(x){const H=6e4*x.getTimezoneOffset();return Math.floor((x.getTime()-H)/864e5)}setTime(x,H,k,P){const X=new Date(x.getTime());return X.setHours(H,k,P),X}setStrTime(x,H){const k=H.split(":").map(P=>parseInt(P));return this.setTime(x,k[0]||0,k[1]||0,k[2]||0)}getTimeHours(x){const H=6e4*(new Date).getTimezoneOffset(),k=x instanceof Date?x:new Date(0==x?"0":x+H);return k.getHours()+k.getMinutes()/60+k.getSeconds()/3600}secondsToTimer(x){return{hours:Math.floor(x/3600),minutes:Math.floor(x%3600/60),secounds:Math.floor(x%3600%60)}}getHoursBetween(x,H){const k=Math.floor(((H instanceof Date?H.getTime():H)-(x instanceof Date?x.getTime():x))/1e3),P=this.secondsToTimer(k);return P.hours+P.minutes/60+P.secounds/3600}getStrTimeHours(x){const H=x.split(":").map(k=>parseInt(k));return H[0]+(H[1]||0)/60+(H[2]||0)/3600}addTimeHours(x,H){let k=new Date(x.getTime());return k.setTime(k.getTime()+60*H*60*1e3),k}startOfDay(x){return this.setTime(x,0,0,0)}endOfDay(x){return this.setTime(x,23,59,59)}minDate(...x){return x.reduce(function(H,k){return H&&k?H.getTime()k.getTime()?H:k:H||k})}loadScript(x){const H=this.renderer.createElement("script");return H.type="text/javascript",H.src=x,this.renderer.appendChild(this.document.body,H),H}clearControl(x,H=null){x.setValue(H),x.setErrors(null),x.markAsUntouched()}array_diff(x,H){return x.filter(k=>!H.includes(k))}array_diff_simm(x,H){let k=[...new Set([...x,...H])],P=x.filter(X=>H.includes(X));return this.array_diff(k,P)}uniqueArray(x){return x.filter((H,k)=>x.indexOf(H)===k)}decodeUnicode(x){return x.replace(/\\u[\dA-F]{4}/gi,function(H){return String.fromCharCode(parseInt(H.replace(/\\u/g,""),16))})}static#i=this.\u0275fac=function(H){return new(H||j)(b.LFG(b.zs3),b.LFG(y.K0),b.LFG(b.FYo))};static#r=this.\u0275prov=b.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},553:(lt,_e,m)=>{"use strict";m.d(_e,{N:()=>j});const i=typeof chrome<"u"?chrome:typeof browser<"u"?browser:void 0,t={api_url:i?.runtime?.getURL?i.runtime.getURL(""):"",app_env:"local",suporte_url:"https://suporte.prf.gov.br",entidade:"PRF",logo_url:"logo_vertical.png",versao:"1.0.0",edicao:"MGI",login:{google_client_id:"",gsuit:!0,azure:!0,institucional:!0,firebase:!1,user_password:!0}},A=typeof PETRVS_GLOBAL_CONFIG<"u"?PETRVS_GLOBAL_CONFIG:t,a=typeof EXTENSION_BASE_URL<"u"?EXTENSION_BASE_URL:typeof PETRVS_BASE_URL<"u"?PETRVS_BASE_URL:void 0,C=(typeof EXTENSION_SERVIDOR_URL<"u"?EXTENSION_SERVIDOR_URL:typeof PETRVS_SERVIDOR_URL<"u"?PETRVS_SERVIDOR_URL:void 0)||a||A.api_url,j={production:!0,host:C.replace(/^https?:\/\//,"").replace(/\/$/,""),https:C.startsWith("https"),env:A?.app_env||"local",suporte:A?.suporte_url||"https://suporte.prf.gov.br",entidade:A?.entidade||"PRF",images:{login:A?.logo_url||"logo.png"},versao:A?.versao||"1.0.0",edicao:A?.edicao||"MGI",login:A?.login||{google_client_id:A?.google_client_id||"",gsuit:!0,azure:!0,institucional:!0,firebase:!1,user_password:!0,login_unico:!0}}},8536:(lt,_e,m)=>{"use strict";var i=m(3232),t=m(755),A=m(2939),a=m(2133),y=m(1338),C=m(5579),b=m(1391),N=m(929);let j=(()=>{class q extends N._{constructor(Y){super(Y),this.injector=Y}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-config"]],features:[t.qOj],decls:2,vars:0,template:function(ne,pe){1&ne&&(t.TgZ(0,"p"),t._uU(1,"config works!"),t.qZA())}})}return q})(),F=(()=>{class q{constructor(){}ngOnInit(){this.bc=new BroadcastChannel("petrvs_login_popup"),this.bc?.postMessage("COMPLETAR_LOGIN"),setTimeout(()=>window.close(),1e3)}static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-login-retorno"]],decls:2,vars:0,template:function(ne,pe){1&ne&&(t.TgZ(0,"p"),t._uU(1,"login-retorno works!"),t.qZA())}})}return q})();var x=m(8239),H=m(8748),k=m(6733),P=m(1547),X=m(2307),me=m(2333),Oe=m(9193),Se=m(8720),wt=m(504),K=m(5545);let V=(()=>{class q{constructor(Y){this.http=Y}getBuildInfo(){return this.http.get("/assets/build-info.json")}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(A.eN))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})();var J=m(2392);function ae(q,U){if(1&q&&(t.TgZ(0,"div",28)(1,"span")(2,"u")(3,"strong"),t._uU(4),t.qZA()()(),t._UZ(5,"br"),t._uU(6),t.qZA()),2&q){const Y=t.oxw();t.xp6(4),t.Oqu((Y.error||"").split("&")[0]),t.xp6(2),t.hij("",(Y.error||"").split("&")[1]," ")}}function oe(q,U){1&q&&(t.TgZ(0,"div",16),t._UZ(1,"div",29),t.qZA())}function ye(q,U){1&q&&(t.TgZ(0,"div",30),t._UZ(1,"div",31),t.TgZ(2,"div",32),t._uU(3,"ou"),t.qZA(),t._UZ(4,"div",31),t.qZA())}function Ee(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"div",33)(1,"button",34),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw();return t.KtG(pe.signInLoginUnicoBackEnd())}),t._uU(2," Entrar com "),t.TgZ(3,"span"),t._uU(4,"gov.br"),t.qZA()()()}}function Ge(q,U){1&q&&(t.TgZ(0,"div",30),t._UZ(1,"div",31),t.TgZ(2,"div",32),t._uU(3,"ou"),t.qZA(),t._UZ(4,"div",31),t.qZA())}function gt(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"a",39),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw(2);return t.KtG(pe.signInAzure())}),t._UZ(1,"img",40),t._uU(2," Microsoft (Login Institucional) "),t.qZA()}if(2&q){const Y=t.oxw(2);t.xp6(1),t.Q6J("src",Y.globals.getResourcePath("assets/images/microsoft_logo.png"),t.LSH)}}function Ze(q,U){1&q&&(t.TgZ(0,"div",41),t._UZ(1,"span",42),t.qZA())}function Je(q,U){if(1&q&&(t.TgZ(0,"div",16)(1,"div",35)(2,"div",36),t.YNc(3,gt,3,1,"a",37),t.YNc(4,Ze,2,0,"div",38),t.qZA()()()),2&q){const Y=t.oxw();t.xp6(3),t.Q6J("ngIf",!Y.auth.logging),t.xp6(1),t.Q6J("ngIf",Y.auth.logging)}}function tt(q,U){1&q&&(t.TgZ(0,"div",30),t._UZ(1,"div",31),t.TgZ(2,"div",32),t._uU(3,"ou"),t.qZA(),t._UZ(4,"div",31),t.qZA())}function Qe(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"div",43)(1,"div",44)(2,"a",39),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw();return t.KtG(pe.showDprfSeguranca())}),t._UZ(3,"img",45),t._uU(4," DPRF-Seguran\xe7a "),t.qZA()()()}if(2&q){const Y=t.oxw();t.xp6(3),t.Q6J("src",Y.globals.getResourcePath("assets/images/prf.ico"),t.LSH)}}function pt(q,U){if(1&q){const Y=t.EpF();t.TgZ(0,"form",47)(1,"div",48),t._UZ(2,"input-text",49),t.qZA(),t.TgZ(3,"div",48),t._UZ(4,"input-text",50),t.qZA(),t.TgZ(5,"div",48),t._UZ(6,"input-text",51),t.qZA(),t.TgZ(7,"div",52)(8,"div",53)(9,"button",54),t.NdJ("click",function(){t.CHM(Y);const pe=t.oxw(2);return t.KtG(pe.signInDprfSeguranca())}),t._uU(10," Logar com DPRF "),t.qZA()()()()}if(2&q){const Y=t.oxw(2);t.Q6J("formGroup",Y.login),t.xp6(2),t.uIk("maxlength",15),t.xp6(2),t.uIk("maxlength",250)}}function Nt(q,U){if(1&q&&t.YNc(0,pt,11,3,"form",46),2&q){const Y=t.oxw();t.Q6J("ngIf",Y.globals.hasInstitucionalLogin)}}function Jt(q,U){if(1&q&&(t.TgZ(0,"div",24)(1,"p",25),t._uU(2),t.qZA(),t.TgZ(3,"p",25),t._uU(4),t.qZA()()),2&q){const Y=t.oxw();t.xp6(2),t.hij("Build Data: ",Y.buildInfo.build_date,""),t.xp6(2),t.hij("Build N\xfamero: ",Y.buildInfo.build_number,"")}}let nt=(()=>{class q{constructor(Y,ne,pe,Ve,bt,It,Xt,Cn,ni,oi,Ei,Hi,hi,wi){this.globals=Y,this.go=ne,this.router=pe,this.cdRef=Ve,this.route=bt,this.auth=It,this.util=Xt,this.fh=Cn,this.formBuilder=ni,this.googleApi=oi,this.dialog=Ei,this.ngZone=Hi,this.buildInfoService=hi,this.document=wi,this.buttonDprfSeguranca=!0,this.error="",this.modalInterface=!0,this.modalWidth=400,this.noSession=!1,this.titleSubscriber=new H.x,this.validate=(Tr,sr)=>{let Er=null;return["senha","token"].indexOf(sr)>=0&&!Tr.value?.length?Er="Obrigat\xf3rio":"usuario"==sr&&!this.util.validarCPF(Tr.value)&&(Er="Inv\xe1lido"),Er},this.closeModalIfSuccess=Tr=>{Tr&&this.modalRoute&&this.go.clearRoutes()},this.document.body.classList.add("login"),this.login=this.fh.FormBuilder({usuario:{default:""},senha:{default:""},token:{default:""}},this.cdRef,this.validate)}ngOnInit(){var Y=this;this.buildInfoService.getBuildInfo().subscribe(ne=>{this.buildInfo=ne,this.buildInfo.build_date=this.formatDate(this.buildInfo.build_date)}),this.titleSubscriber.next("Login Petrvs"),this.route.queryParams.subscribe(ne=>{if(this.error=ne.error?ne.error:"",ne.redirectTo){let pe=JSON.parse(ne.redirectTo);this.redirectTo="login"==pe.route[0]?pe:void 0}this.noSession=!!ne.noSession}),this.auth.registerPopupLoginResultListener(),(0,x.Z)(function*(){Y.globals.hasGoogleLogin&&(yield Y.googleApi.initialize(!0)).renderButton(document.getElementById("gbtn"),{size:"large",width:320});let ne=!1;if(Y.noSession||(ne=yield Y.auth.authSession()),ne)Y.auth.success&&Y.auth.success(Y.auth.usuario,Y.redirectTo);else if(Y.globals.hasGoogleLogin){var pe;try{pe=yield Y.googleApi.getLoginStatus()}catch{}pe?.idToken&&Y.auth.authGoogle(pe?.idToken)}})(),window.location.href.includes("pgdpetrvs.gestao.gov.br")&&(this.ambiente="Ambiente antigo")}openModal(Y){Y.route&&this.go.navigate({route:Y.route,params:Y.params},{title:"Suporte Petrvs"})}showDprfSeguranca(){this.buttonDprfSeguranca=!this.buttonDprfSeguranca}signInDprfSeguranca(){const Y=this.login.controls;this.login.markAllAsTouched(),this.login.valid?this.auth.authDprfSeguranca(this.util.onlyNumbers(Y.usuario.value),Y.senha.value,this.util.onlyNumbers(Y.token.value),this.redirectTo).then(this.closeModalIfSuccess):this.error="Verifique se est\xe1 correto:"+(Y.cpf.invalid?" CPF;":"")+(Y.password.invalid?" Senha;":"")+(Y.password.invalid?" Token;":"")}signInMicrosoft(){const Y=this.login.controls;this.login.valid?this.auth.authDprfSeguranca(Y.usuario.value,Y.senha.value,Y.token.value,this.redirectTo).then(this.closeModalIfSuccess):this.error="Verifique se est\xe1 correto:"+(Y.cpf.invalid?" CPF;":"")+(Y.password.invalid?" Senha;":"")+(Y.password.invalid?" Token;":"")}signInLoginUnico(){const Xt=btoa('{"entidade":"'+this.globals.ENTIDADE+'"}');window.location.href=`https://sso.staging.acesso.gov.br/authorize?response_type=code&client_id=pgd-pre.dth.api.gov.br&scope=openid+email+profile&redirect_uri=https://pgd-pre.dth.api.gov.br/#/login-unico&state=${Xt}&nonce=nonce&code_challenge=LwIDqJyJEGgdSQuwygHlkQDKsUXFz6jMIfkM_Jlv94w&code_challenge_method=S256`}signInAzure(){this.auth.authAzure()}signInLoginUnicoBackEnd(){this.auth.authLoginUnicoBackEnd()}ngOnDestroy(){this.document.body.classList.remove("login")}formatDate(Y){const ne=new Date(Y);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(ne)}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(P.d),t.Y36(X.o),t.Y36(C.F0),t.Y36(t.sBO),t.Y36(C.gz),t.Y36(me.e),t.Y36(Oe.f),t.Y36(Se.k),t.Y36(a.qu),t.Y36(wt.q),t.Y36(K.x),t.Y36(t.R0b),t.Y36(V),t.Y36(k.K0))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-login"]],decls:38,vars:16,consts:[[1,"d-flex","vh-100","g-0","bg-gray-100"],[1,"col-lg-6","position-relative","d-none","d-lg-block","bg-primary-subtle"],[1,"bg-holder",2,"background-image","url(../../../assets/images/intro_login.jpg)"],["data-bs-placement","top","title","Suporte Petrvs",1,"btn","btn-outline-primary","botao-suporte","rounded","btn-sm",3,"click"],[1,"bi","bi-headset"],[1,"d-flex","align-items-center","justify-content-center","h-100","g-0","px-4","px-sm-0"],[1,".col","col-sm-6","col-lg-7","col-xl-6"],["class","alert alert-danger mt-2 mb-5","role","alert",4,"ngIf"],[1,"text-center","mb-5","d-flex","align-items-center","justify-content-center"],["src","../assets/images/logo_pgd.png",1,"logo-pgd"],["alt","Petrvs",1,"logo-petrvs",3,"src"],[1,"text-center","mb-5"],[1,"fw-bold"],[1,"fw-medium"],[1,"fw-bold","text-danger"],[1,"text-center"],[1,"card-body"],["class","card-body",4,"ngIf"],["class","or-container",4,"ngIf"],["class","govbr",4,"ngIf"],["class","d-flex flex-column",4,"ngIf","ngIfElse"],["dprfSeguranca",""],[1,"logos"],["class","text-left mt-3 small text-muted",4,"ngIf"],[1,"text-left","mt-3","small","text-muted"],[1,"m-0"],[1,"text-primary"],["src","../assets/images/logo_gov.png"],["role","alert",1,"alert","alert-danger","mt-2","mb-5"],["id","gbtn"],[1,"or-container"],[1,"line-separator"],[1,"or-label"],[1,"govbr"],["type","button",1,"br-button","btn","btn-primary","rounded-pill","mt-3",3,"click"],[1,"row","mt-2"],[1,"col-md-12","d-flex","justify-content-center"],["class","btn btn-lg btn-google btn-outline",3,"click",4,"ngIf"],["class","spinner-border spinner-border-sm","role","status",4,"ngIf"],[1,"btn","btn-lg","btn-google","btn-outline",3,"click"],[3,"src"],["role","status",1,"spinner-border","spinner-border-sm"],[1,"visually-hidden"],[1,"d-flex","flex-column"],[1,""],["width","20","height","20",3,"src"],[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"form-group","form-primary","mb-2"],["controlName","usuario","maskFormat","000.000.000-00","placeholder","CPF"],["password","password","controlName","senha","placeholder","Senha"],["controlName","token","maskFormat","000000","placeholder","Token"],[1,"row"],[1,"col-md-12"],[1,"btn","btn-petrvs-blue","btn-md","rounded-1","btn-full","waves-effect","text-center","mb-2",3,"click"]],template:function(ne,pe){if(1&ne&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div")(4,"button",3),t.NdJ("click",function(){return pe.openModal({route:["suporte"]})}),t._UZ(5,"i",4),t.qZA(),t.TgZ(6,"div",5)(7,"div",6),t.YNc(8,ae,7,2,"div",7),t.TgZ(9,"div",8),t._UZ(10,"img",9)(11,"img",10),t.qZA(),t.TgZ(12,"div",11)(13,"h3",12),t._uU(14,"Acesso"),t.qZA(),t.TgZ(15,"p",13),t._uU(16,"Fa\xe7a login com seu e-mail institucional"),t.qZA()(),t.TgZ(17,"div",11)(18,"h4",14),t._uU(19),t.qZA()(),t.TgZ(20,"div",15)(21,"div",16),t.YNc(22,oe,2,0,"div",17),t.YNc(23,ye,5,0,"div",18),t.YNc(24,Ee,5,0,"div",19),t.YNc(25,Ge,5,0,"div",18),t.YNc(26,Je,5,2,"div",17),t.YNc(27,tt,5,0,"div",18),t.YNc(28,Qe,5,1,"div",20),t.YNc(29,Nt,1,1,"ng-template",null,21,t.W1O),t.qZA()()()(),t.TgZ(31,"div",22),t.YNc(32,Jt,5,2,"div",23),t.TgZ(33,"div",24)(34,"p",25)(35,"small",26),t._uU(36),t.qZA()()(),t._UZ(37,"img",27),t.qZA()()()),2&ne){const Ve=t.MAs(30);t.xp6(3),t.Tol("col-12 col-lg-6"),t.xp6(1),t.uIk("data-bs-toggle","tooltip"),t.xp6(4),t.Q6J("ngIf",null==pe.error?null:pe.error.length),t.xp6(3),t.Q6J("src",pe.globals.getResourcePath("assets/images/"+pe.globals.IMAGES.login),t.LSH),t.xp6(8),t.Oqu(pe.ambiente),t.xp6(3),t.Q6J("ngIf",pe.globals.hasGoogleLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasGoogleLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasLoginUnicoLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasLoginUnicoLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasAzureLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasAzureLogin),t.xp6(1),t.Q6J("ngIf",pe.globals.hasInstitucionalLogin&&pe.buttonDprfSeguranca)("ngIfElse",Ve),t.xp6(4),t.Q6J("ngIf",pe.buildInfo),t.xp6(4),t.hij("Vers\xe3o: ",pe.globals.VERSAO_SYS,"")}},dependencies:[k.O5,a._Y,a.JL,a.sg,J.m],styles:[".or-container[_ngcontent-%COMP%]{align-items:center;color:#ccc;display:flex;margin:10px 0}.line-separator[_ngcontent-%COMP%]{background-color:#ccc;flex-grow:5;height:1px}.or-label[_ngcontent-%COMP%]{flex-grow:1;margin:0 15px;text-align:center}.btn[_ngcontent-%COMP%]{border-radius:2px;font-size:15px;padding:10px 19px;cursor:pointer}.btn-full[_ngcontent-%COMP%]{width:100%}.btn-google[_ngcontent-%COMP%]{color:#545454;background-color:#fff;box-shadow:0 1px 2px 1px #ddd;max-width:320px;width:100%}.btn-md[_ngcontent-%COMP%]{padding:10px 16px;font-size:15px;line-height:23px}.btn-primary[_ngcontent-%COMP%]{background-color:#4099ff;border-color:#4099ff;color:#fff;cursor:pointer;transition:all ease-in .3s}.br-button[_ngcontent-%COMP%]{background-color:#1351b4;font-weight:500;width:320px;color:#fff;font-size:16.8px}.br-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:900;font-size:16.8px}.bg-holder[_ngcontent-%COMP%]{position:absolute;width:100%;min-height:100%;top:0;left:0;background-size:cover;background-position:center;overflow:hidden;will-change:transform,opacity,filter;backface-visibility:hidden;background-repeat:no-repeat;z-index:0}.login-logo[_ngcontent-%COMP%]{height:150px}.botao-suporte[_ngcontent-%COMP%]{position:absolute;right:10px;top:10px}.logos[_ngcontent-%COMP%]{position:absolute;z-index:2;padding:30px;display:flex;justify-content:space-between;flex-wrap:inherit;width:100%;bottom:0;right:0}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:50px}.logo-pgd[_ngcontent-%COMP%]{max-height:50px;margin-right:10px}.logo-petrvs[_ngcontent-%COMP%]{max-height:50px}"]})}return q})();var ot=m(4040),Ct=m(4002),He=m(1214),mt=m(5255),vt=m(6898),hn=m(6551),yt=m(1184),Fn=m(4971),xn=m(5512),In=m(8820),dn=m(8967),qn=m(4495),di=m(8877),ir=m(4603),Bn=m(3085),xi=m(5560),fi=m(9224),Mt=m(785);const Ot=["atividades"];function ve(q,U){if(1&q&&(t.TgZ(0,"div",22),t._uU(1),t.qZA()),2&q){const Y=t.oxw();t.xp6(1),t.Oqu(Y.erros)}}function De(q,U){if(1&q&&(t.TgZ(0,"div",23),t._UZ(1,"calendar-efemerides",24),t.qZA()),2&q){const Y=t.oxw();t.xp6(1),t.Q6J("efemerides",Y.efemeridesFrontEnd)}}function xe(q,U){if(1&q&&(t.TgZ(0,"div",23),t._UZ(1,"calendar-efemerides",24),t.qZA()),2&q){const Y=t.oxw();t.xp6(1),t.Q6J("efemerides",Y.efemeridesBackEnd)}}let Ye=(()=>{class q extends yt.F{constructor(Y){super(Y,vt.b,mt.q),this.injector=Y,this.atividades_usuario=[],this.disabled_datetime=!1,this.disabled_pausas=!1,this.disabled_afastamentos=!1,this.opcoes_calculo=[{key:0,value:"Data-fim"},{key:1,value:"Tempo"}],this.erros="",this.toolbarButtons=[{label:"Comparar calculaDataTempo",icon:"bi bi-backspace",onClick:()=>{let ne;if(this.formValidation)try{ne=this.formValidation(this.form)}catch(pe){ne=pe}if(this.form.valid&&!ne)try{this.compararFuncoes()}catch(pe){this.erros=pe}else this.form.markAllAsTouched(),ne&&(this.erros=ne),Object.entries(this.form.controls).forEach(([pe,Ve])=>{Ve.invalid&&console.log("Validate => "+pe,Ve.value,Ve.errors)})}}],this.validate=(ne,pe)=>{let Ve=null;return["unidade_id"].indexOf(pe)>=0&&!ne.value?.length&&(Ve="Obrigat\xf3rio"),["inicio"].indexOf(pe)>=0&&!this.util.isDataValid(ne.value)&&(Ve="Data inv\xe1lida!"),["carga_horaria"].indexOf(pe)>=0&&!ne.value&&(Ve="Valor n\xe3o pode ser zero!"),Ve},this.formValidation=ne=>this.util.isDataValid(this.form.controls.datafim_fimoutempo.value)||1!=this.form.controls.tipo_calculo.value?this.form.controls.tempo_fimoutempo.value||0!=this.form.controls.tipo_calculo.value?!this.form.controls.incluir_afastamentos.value&&!this.form.controls.incluir_pausas.value||this.form.controls.usuario_id.value?.length?void 0:"\xc9 necess\xe1rio escolher um Usu\xe1rio!":"Para calcular a data-fim, o campo TEMPO n\xe3o pode ser nulo!":"Para calcular o tempo, o campo DATA-FIM precisa ser v\xe1lido!",this.log("constructor"),this.calendar=Y.get(hn.o),this.unidadeDao=Y.get(He.J),this.usuarioDao=Y.get(mt.q),this.atividadeDao=Y.get(Fn.P),this.tipoMotivoAfastamentoDao=Y.get(Ct.n),this.form=this.fh.FormBuilder({data_inicio:{default:new Date("2023-01-01 09:00:00 -03:00")},tipo_calculo:{default:1},datafim_fimoutempo:{default:new Date("2023-02-15 09:00:00 -03:00")},tempo_fimoutempo:{default:0},carga_horaria:{default:8},unidade_id:{default:""},tipo:{default:"DISTRIBUICAO"},atividade_id:{default:""},usuario_id:{default:""},data_inicio_afastamento:{default:""},data_fim_afastamento:{default:""},tipo_motivo_afastamento_id:{default:""},incluir_pausas:{default:!1},incluir_afastamentos:{default:!1}},this.cdRef,this.validate),this.join=["atividades","afastamentos"]}loadData(Y,ne){}initializeData(Y){}saveData(Y){throw new Error("Method not implemented.")}onPausasChange(Y){this.disabled_pausas=!this.form.controls.incluir_pausas.value}onAfastamentosChange(Y){this.disabled_afastamentos=!this.form.controls.incluir_afastamentos.value}onTipoCalculoChange(Y){this.disabled_datetime=0==this.form.controls.tipo_calculo.value}onUsuarioSelect(){var Y=this;return(0,x.Z)(function*(){yield Y.dao.getById(Y.form.controls.usuario_id.value,Y.join).then(ne=>{Y.usuario=ne,ne?.atividades?.forEach(pe=>{Y.atividades_usuario.push({key:pe.id,value:pe.descricao||""})}),Y.atividades.items=Y.atividades_usuario,Y.cdRef.detectChanges()})})()}onAtividadeChange(Y){var ne=this;return(0,x.Z)(function*(){yield ne.atividadeDao.getById(ne.form.controls.atividade_id.value).then(pe=>{ne.atividade=pe})})()}compararFuncoes(){var Y=this;return(0,x.Z)(function*(){let ne=Y.form.controls.tipo_calculo.value,pe=Y.form.controls.inicio.value,Ve=pe.toString().substring(0,33),bt=Y.form.controls.datafim_fimoutempo.value,It=bt?bt.toString().substring(0,33):"",Xt=Y.form.controls.tempo_fimoutempo.value,Cn=Y.form.controls.carga_horaria.value,ni=yield Y.unidadeDao.getById(Y.form.controls.unidade_id.value,["entidade"]),oi=Y.form.controls.tipo.value,Ei=Y.form.controls.incluir_pausas.value?Y.atividade.pausas:[],Hi=Y.form.controls.incluir_afastamentos.value?Y.usuario.afastamentos??[]:[];Y.efemeridesFrontEnd=Y.calendar.calculaDataTempoUnidade(pe,ne?bt:Xt,Cn,ni,oi,Ei,Hi),yield Y.dao.calculaDataTempoUnidade(Ve,ne?It:Xt,Cn,ni.id,oi,Ei,Hi).then(hi=>{Y.efemeridesBackEnd=hi}),Y.preparaParaExibicao()})()}preparaParaExibicao(){this.efemeridesBackEnd.inicio=new Date(this.efemeridesBackEnd.inicio),this.efemeridesBackEnd.fim=new Date(this.efemeridesBackEnd.fim),this.efemeridesBackEnd?.afastamentos.forEach(ne=>ne.data_inicio=new Date(ne.data_inicio)),this.efemeridesBackEnd?.afastamentos.forEach(ne=>ne.data_fim=new Date(ne.data_fim)),this.efemeridesBackEnd?.diasDetalhes.forEach(ne=>ne.intervalos=Object.values(ne.intervalos))}log(Y){console.log(Y)}ngOnInit(){super.ngOnInit(),this.log("ngOnInit")}ngOnChanges(){}ngDoCheck(){}ngAfterContentInit(){this.log("ngAfterContentInit")}ngAfterContentChecked(){}ngAfterViewInit(){super.ngAfterViewInit(),this.log("ngAfterViewInit")}ngAfterViewChecked(){}ngOnDestroy(){this.log("ngOnDestroy")}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(t.zs3))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-teste-form"]],viewQuery:function(ne,pe){if(1&ne&&(t.Gf(ot.Q,5),t.Gf(Ot,5)),2&ne){let Ve;t.iGM(Ve=t.CRH())&&(pe.editableForm=Ve.first),t.iGM(Ve=t.CRH())&&(pe.atividades=Ve.first)}},features:[t.qOj,t.TTD],decls:27,vars:34,consts:[[3,"form","disabled","title"],["class","alert alert-danger mt-2 break-spaces","role","alert",4,"ngIf"],[1,"row"],["datetime","","label","In\xedcio","controlName","data_inicio",3,"size","control"],["label","C\xe1lculo desejado","controlName","tipo_calculo",3,"size","control","items","onChange"],["datetime","","label","Data-fim","controlName","datafim_fimoutempo",3,"size","disabled","control"],["onlyHours","","label","Tempo","icon","bi bi-clock","controlName","tempo_fimoutempo",3,"disabled","size","control"],["controlName","unidade_id",3,"size","dao"],["unidade",""],["numbers","","label","Carga hor\xe1ria","icon","bi bi-upc","controlName","carga_horaria",3,"size","control"],["label","Tipo Contagem","controlName","tipo",3,"size","control","items"],["controlName","usuario_id",3,"size","dao","select"],["usuario",""],["label","Incluir Afastamentos","controlName","incluir_afastamentos",3,"size","control","change"],["title","Pesquisa de Pausas"],["label","Incluir Pausas","controlName","incluir_pausas",3,"size","control","change"],["label","Atividade","controlName","atividade_id",3,"size","control","items","change"],["atividades",""],["title","Bot\xf5es para Testes"],[3,"buttons"],["title","Resultados"],["class","col-6",4,"ngIf"],["role","alert",1,"alert","alert-danger","mt-2","break-spaces"],[1,"col-6"],[3,"efemerides"]],template:function(ne,pe){1&ne&&(t.TgZ(0,"editable-form",0),t.YNc(1,ve,2,1,"div",1),t.TgZ(2,"div",2)(3,"div",2),t._UZ(4,"input-datetime",3),t.TgZ(5,"input-radio",4),t.NdJ("onChange",function(bt){return pe.onTipoCalculoChange(bt)}),t.qZA(),t._UZ(6,"input-datetime",5)(7,"input-timer",6),t.qZA(),t.TgZ(8,"div",2),t._UZ(9,"input-search",7,8)(11,"input-number",9)(12,"input-select",10),t.qZA(),t.TgZ(13,"div",2)(14,"input-search",11,12),t.NdJ("select",function(){return pe.onUsuarioSelect()}),t.qZA(),t.TgZ(16,"input-switch",13),t.NdJ("change",function(bt){return pe.onAfastamentosChange(bt)}),t.qZA()(),t.TgZ(17,"separator",14)(18,"div",2)(19,"input-switch",15),t.NdJ("change",function(bt){return pe.onPausasChange(bt)}),t.qZA(),t.TgZ(20,"input-select",16,17),t.NdJ("change",function(bt){return pe.onAtividadeChange(bt)}),t.qZA()()()(),t.TgZ(22,"separator",18),t._UZ(23,"toolbar",19),t.qZA()(),t.TgZ(24,"separator",20),t.YNc(25,De,2,1,"div",21),t.YNc(26,xe,2,1,"div",21),t.qZA()),2&ne&&(t.Q6J("form",pe.form)("disabled",!1)("title",pe.isModal?"":pe.title),t.xp6(1),t.Q6J("ngIf",null==pe.erros?null:pe.erros.length),t.xp6(3),t.Q6J("size",3)("control",pe.form.controls.data_inicio),t.xp6(1),t.Q6J("size",4)("control",pe.form.controls.tipo_calculo)("items",pe.opcoes_calculo),t.xp6(1),t.Q6J("size",3)("disabled",pe.disabled_datetime?"disabled":void 0)("control",pe.form.controls.datafim_fimoutempo),t.xp6(1),t.Q6J("disabled",pe.disabled_datetime?"disabled":void 0)("size",2)("control",pe.form.controls.tempo_fimoutempo),t.xp6(2),t.Q6J("size",7)("dao",pe.unidadeDao),t.xp6(2),t.Q6J("size",2)("control",pe.form.controls.carga_horaria),t.xp6(1),t.Q6J("size",3)("control",pe.form.controls.tipo)("items",pe.lookup.TIPO_CONTAGEM),t.xp6(2),t.Q6J("size",6)("dao",pe.usuarioDao),t.xp6(2),t.Q6J("size",2)("control",pe.form.controls.incluir_afastamentos),t.xp6(3),t.Q6J("size",2)("control",pe.form.controls.incluir_pausas),t.xp6(1),t.Q6J("size",6)("control",pe.form.controls.atividade_id)("items",pe.atividades_usuario),t.xp6(3),t.Q6J("buttons",pe.toolbarButtons),t.xp6(2),t.Q6J("ngIf",pe.efemeridesFrontEnd),t.xp6(1),t.Q6J("ngIf",pe.efemeridesBackEnd))},dependencies:[k.O5,xn.n,ot.Q,In.a,dn.V,qn.k,di.f,ir.p,Bn.u,xi.N,fi.l,Mt.Y]})}return q})();var xt=m(2866),cn=m.n(xt),Kn=m(2559),An=m(3362),gs=m(4684),Qt=m(5458),ki=m(9702),ta=m(1454),Pi=m(1720);function co(q,U){}function Or(q,U){}function Dr(q,U){}function bs(q,U){}function Do(q,U){}function Ms(q,U){1&q&&(t.TgZ(0,"button",28),t._UZ(1,"i",29),t.qZA())}function Ls(q,U){1&q&&(t.TgZ(0,"button",30),t._UZ(1,"i",31),t.qZA())}function On(q,U){1&q&&(t.TgZ(0,"button",32),t._UZ(1,"i",33),t.qZA())}const mr=function(){return[]};let Pt=(()=>{class q{constructor(Y,ne,pe,Ve,bt,It,Xt,Cn,ni){this.fh=Y,this.planejamentoDao=ne,this.usuarioDao=pe,this.lookup=Ve,this.util=bt,this.go=It,this.server=Xt,this.calendar=Cn,this.ID_GENERATOR_BASE=ni,this.items=[],this.disabled=!0,this.expediente=new Kn.z({domingo:[],segunda:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],terca:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],quarta:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],quinta:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],sexta:[{inicio:"08:00",fim:"12:00",data:null,sem:!1},{inicio:"14:00",fim:"18:00",data:null,sem:!1}],sabado:[],especial:[]}),this.naoIniciadas=[{id:"ni1",title:"N\xe3o iniciada 1",subTitle:"Texto n\xe3o iniciado 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"},{id:"ni2",title:"N\xe3o iniciada 2",subTitle:"Texto n\xe3o iniciado 2",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"},{id:"ni3",title:"N\xe3o iniciada 3",subTitle:"Texto n\xe3o iniciado 3",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.pausadas=[{id:"p1",title:"Pausada 1",subTitle:"Texto 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.iniciadas=[{id:"i1",title:"iniciada 1",subTitle:"Texto iniciado 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"},{id:"i2",title:"iniciada 2",subTitle:"Texto iniciado 2",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.concluidas=[],this.avaliadas=[{id:"a1",title:"avaliada 1",subTitle:"avaliado 1",text:"Mensagem do ticke, muito texto, outras coisa, teste, mensagem, mais mensagens"}],this.button_items=[{key:"1",value:"1",icon:"bi-heart-fill",color:"#107165",data:{label:"Stretchable Button Hover Effect"}},{key:"1",value:"1",icon:"bi-emoji-smile",color:"#2b1071",data:{label:"Embedded",selected:!0}},{key:"1",value:"1",icon:"bi-hand-thumbs-down",color:"#713710",data:{label:"Embed your icons within the HTML of your page"}},{key:"1",value:"1",icon:"bi-heart-fill",color:"#107165",data:{label:"Stretchable Button Hover Effect"}},{key:"1",value:"1",icon:"bi-emoji-smile",color:"#2b1071",data:{label:"Embedded",selected:!0}},{key:"1",value:"1",icon:"bi-hand-thumbs-down",color:"#713710",data:{label:"Embed your icons within the HTML of your page"}},{key:"1",value:"1",icon:"bi-heart-fill",color:"#107165",data:{label:"Stretchable Button Hover Effect"}},{key:"1",value:"1",icon:"bi-emoji-smile",color:"#2b1071",data:{label:"Embedded",selected:!0}},{key:"1",value:"1",icon:"bi-hand-thumbs-down",color:"#713710",data:{label:"Embed your icons within the HTML of your page"}}],this.calendarOptions={initialView:"dayGridMonth",events:[{title:"event 1",start:cn()().add(-1,"days").toDate(),end:cn()().add(1,"days").toDate()},{title:"event 2",start:cn()().add(1,"days").toDate(),end:cn()().add(5,"days").toDate()}]},this.dataset=[{field:"nome",label:"Usu\xe1rio: Nome"},{field:"numero",label:"Numero"},{field:"texto",label:"Texto"},{field:"boo",label:"Boolean"},{field:"atividades",label:"Atividades",type:"ARRAY",fields:[{field:"nome",label:"Nome"},{field:"valor",label:"Valor"}]}],this.datasource={nome:"Genisson Rodrigues Albuquerque",numero:10,texto:"Teste",boo:!0,atividades:[{nome:"atividade 1",valor:100,opcoes:[{nome:"opc 1"},{nome:"opc 2"}]},{nome:"atividade 2",valor:200,opcoes:[]},{nome:"atividade 3",valor:300,opcoes:[{nome:"opc 3"}]}]},this.textoEditor="",this.template='\n

    Este é o {{nome}}.

    \n

    {{if:texto="Teste"}}Texto \xe9 teste{{end-if}}{{if:numero!=10}}N\xfamero n\xe3o \xe9 10{{end-if}}

    \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ItemsExpenditureOp\xe7\xf5es
    {{for:atividades[0..x];drop=tr}}
    {{atividades[x].nome}}{{atividades[x].valor}}{{atividades[x].opcoes[0].nome}}{{for:atividades[x].opcoes[1..y]}}, {{atividades[x].opcoes[y].nome}}{{end-for}}
    {{end-for;drop=tr}}
    \n
    \n
    \natividades: {{atividades[0].nome}}{{for:atividades[0..y]}}, {{atividades[y].nome}}{{end-for}}\n ',this.buttons=[{label:"Calcular data fim",onClick:()=>{let oi=this.form.value;this.efemerides=this.calendar.calculaDataTempo(oi.data_inicio,oi.tempo,oi.forma,oi.carga_horaria,this.expediente,oi.feriados.map(Ei=>Ei.data),[],oi.afastamentos.map(Ei=>Ei.data))}},{label:"Calcular tempo",onClick:()=>{let oi=this.form.value;this.efemerides=this.calendar.calculaDataTempo(oi.data_inicio,oi.data_fim,oi.forma,oi.carga_horaria,this.expediente,oi.feriados.map(Ei=>Ei.data),[],oi.afastamentos.map(Ei=>Ei.data))}}],this.mapa=[],this.JSON=JSON,this.validateLevel=(oi,Ei,Hi)=>Ei.value%2==0,this.gridItems=[{id:this.util.md5(),campo1:"campo1-1",campo2:new Date,campo3:new Date,campo4:"campo4-1",campo5:!1},{id:this.util.md5(),campo1:"campo1-2",campo2:new Date,campo3:new Date,campo4:"campo4-2",campo5:!1},{id:this.util.md5(),campo1:"campo1-3",campo2:new Date,campo3:new Date,campo4:"campo4-3",campo5:!1},{id:this.util.md5(),campo1:"campo1-4",campo2:new Date,campo3:new Date,campo4:"campo4-4",campo5:!1},{id:this.util.md5(),campo1:"campo1-5",campo2:new Date,campo3:new Date,campo4:"campo4-5",campo5:!1}],this.form=Y.FormBuilder({editor:{default:this.textoEditor},template:{default:this.template},id:{default:""},level:{default:"2.4.6.8"},campo1:{default:""},campo2:{default:new Date},campo3:{default:new Date},campo4:{default:""},campo5:{default:!0},datetime:{default:new Date},forma:{default:""},tempo:{default:0},feriados:{default:[]},afastamentos:{default:[]},data_inicio:{default:new Date},data_fim:{default:new Date},carga_horaria:{default:24},dia:{default:0},mes:{default:0},ano:{default:0},data_inicio_afastamento:{default:new Date},data_fim_afastamento:{default:new Date},observacao:{default:""},nome:{default:""},rate:{default:2},horas:{default:150.5},label:{default:""},valor:{default:15.5},icon:{default:null},color:{default:null},multiselect:{default:[]}})}incDate(Y,ne){return(ne=ne||new Date).setDate(ne.getDate()+Y),ne}isHoras(){return["HORAS_CORRIDOS","HORAS_UTEIS"].includes(this.form.controls.forma.value)}openDocumentos(){this.go.navigate({route:["uteis","documentos"]},{metadata:{needSign:Y=>!0,extraTags:(Y,ne,pe)=>[],especie:"TCR",dataset:this.dataset,datasource:this.datasource,template:this.template,template_id:"ID"}})}ngOnInit(){this.planejamentoDao.getById("867c7768-9690-11ed-b4ae-0242ac130002",["objetivos.eixo_tematico","unidade","entidade"]).then(pe=>{let Ve=[];this.planejamento=pe||void 0,pe&&(Ve=(pe.objetivos?.reduce((It,Xt)=>(It.find(Cn=>Cn.id==Xt.eixo_tematico_id)||It.push(Xt.eixo_tematico),It),[])||[]).map(It=>({data:It,children:pe.objetivos?.filter(Xt=>Xt.eixo_tematico_id==It.id).map(Xt=>Object.assign({},{data:Xt}))}))),this.mapa=Ve}),this.server.startBatch();let Y=this.usuarioDao.query({limit:100}).asPromise(),ne=this.planejamentoDao.query({limit:100}).asPromise();this.server.endBatch(),Promise.all([Y,ne]).then(pe=>{console.log(pe[0]),console.log(pe[1])})}ngAfterViewInit(){}renderTemplate(){this.server.post("api/Template/teste",{}).subscribe(Y=>{console.log(Y)},Y=>console.log(Y))}addItemHandle(){let Y=this;return{key:Y.form.controls.label.value,value:Y.form.controls.label.value,color:Y.form.controls.color.value,icon:Y.form.controls.icon.value}}addFeriadoHandle(){let Y=this.form.value,ne=new An.Z({id:this.util.md5(),nome:Y.nome,dia:Y.dia,mes:Y.mes,ano:Y.ano||null,recorrente:Y.ano?0:1,abrangencia:"NACIONAL"});return{key:ne.id,value:ne.dia+"/"+ne.mes+"/"+ne.ano+" - "+ne.nome,data:ne}}addAfastamentoHandle(){let Y=this.form.value,ne=new gs.i({id:this.util.md5(),observacoes:Y.observacao,data_inicio:Y.data_inicio_afastamento,data_fim:Y.data_fim_afastamento});return{key:ne.id,value:this.util.getDateTimeFormatted(ne.data_inicio)+" at\xe9 "+this.util.getDateTimeFormatted(ne.data_fim)+" - "+ne.observacoes,data:ne}}dataChange(Y){console.log(cn()(this.form.controls.datetime.value).format(Oe.f.ISO8601_FORMAT))}onAddItem(){return{id:this.util.md5(),campo1:"Qualquer "+1e3*Math.random(),campo2:new Date,campo3:new Date,campo4:"Coisa Nova "+1e5*Math.random(),campo5:!1}}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(Se.k),t.Y36(Qt.U),t.Y36(mt.q),t.Y36(ki.W),t.Y36(Oe.f),t.Y36(X.o),t.Y36(ta.N),t.Y36(hn.o),t.Y36("ID_GENERATOR_BASE"))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-teste"]],decls:78,vars:10,consts:[["type","button",1,"btn","btn-primary",3,"click"],["objetivo",""],["unidade",""],["entregas",""],["metas",""],["atividades",""],[1,"table","okr"],["scope","col"],["rowspan","4",1,"azul"],["rowspan","3",1,"vermelho"],[1,"verde"],[1,"vazio"],[1,"rosa"],[1,"amarelo"],[1,"laranja"],["rowspan","3",1,"roxo"],["rowspan","2",1,"verde"],[1,"vermelho"],[3,"form"],[1,"d-flex"],[1,"flex-grow-1"],["controlName","level",3,"size","items"],[1,"btn-group"],["type","button","class","btn btn-success","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",4,"ngIf"],["type","button","class","btn btn-primary","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",4,"ngIf"],["type","button","class","btn btn-danger","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",4,"ngIf"],[1,"row"],["controlName","level",3,"size","validate"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Adicionar",1,"btn","btn-success"],[1,"bi","bi-arrow-bar-up"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Salvar",1,"btn","btn-primary"],[1,"bi","bi-check-circle"],["type","button","data-bs-toggle","tooltip","data-bs-placement","top","title","Cancelar",1,"btn","btn-danger"],[1,"bi","bi-dash-circle"]],template:function(ne,pe){1&ne&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return pe.renderTemplate()}),t._uU(1,"Primary"),t.qZA(),t.YNc(2,co,0,0,"ng-template",null,1,t.W1O),t.YNc(4,Or,0,0,"ng-template",null,2,t.W1O),t.YNc(6,Dr,0,0,"ng-template",null,3,t.W1O),t.YNc(8,bs,0,0,"ng-template",null,4,t.W1O),t.YNc(10,Do,0,0,"ng-template",null,5,t.W1O),t.TgZ(12,"table",6)(13,"thead")(14,"tr")(15,"th",7),t._uU(16,"O - Objetivo"),t.qZA(),t.TgZ(17,"th",7),t._uU(18,"Unidades"),t.qZA(),t.TgZ(19,"th",7),t._uU(20,"K - Entregas"),t.qZA(),t.TgZ(21,"th",7),t._uU(22,"R - Metas"),t.qZA(),t.TgZ(23,"th",7),t._uU(24,"Atividades"),t.qZA()()(),t.TgZ(25,"tbody")(26,"tr")(27,"td",8),t._uU(28,"Ser simples e \xe1gil"),t.qZA(),t.TgZ(29,"td",9),t._uU(30,"SETIC-PI"),t.qZA(),t.TgZ(31,"td",10),t._uU(32,"Utilizar o Petrvs"),t.qZA(),t.TgZ(33,"td",11),t._uU(34,"Frequentemente"),t.qZA()(),t.TgZ(35,"tr")(36,"td",12),t._uU(37,"Requisi\xe7\xe3o de servidores"),t.qZA(),t.TgZ(38,"td",11),t._uU(39,"6"),t.qZA()(),t.TgZ(40,"tr")(41,"td",13),t._uU(42,"Compra de equipamentos"),t.qZA(),t.TgZ(43,"td",11),t._uU(44,"2000"),t.qZA()(),t.TgZ(45,"tr")(46,"td",14),t._uU(47,"SUPEX"),t.qZA(),t._UZ(48,"td",11)(49,"td",11),t.qZA(),t.TgZ(50,"tr")(51,"td",15),t._uU(52,"Otimizar esfor\xe7os e recursos"),t.qZA(),t.TgZ(53,"td",16),t._uU(54,"DGP"),t.qZA(),t._UZ(55,"td",11)(56,"td",11),t.qZA(),t.TgZ(57,"tr"),t._UZ(58,"td",11)(59,"td",11),t.qZA(),t.TgZ(60,"tr")(61,"td",17),t._uU(62,"DIREX"),t.qZA(),t._UZ(63,"td",11)(64,"td",11),t.qZA()()(),t.TgZ(65,"editable-form",18)(66,"div",19)(67,"div",20),t._UZ(68,"input-select",21),t.qZA(),t.TgZ(69,"div",22),t.YNc(70,Ms,2,0,"button",23),t.YNc(71,Ls,2,0,"button",24),t.YNc(72,On,2,0,"button",25),t.qZA()(),t.TgZ(73,"div",26),t._UZ(74,"input-level",27),t.qZA()(),t._UZ(75,"br")(76,"br"),t._uU(77)),2&ne&&(t.xp6(65),t.Q6J("form",pe.form),t.xp6(3),t.Q6J("size",12)("items",t.DdM(9,mr)),t.xp6(2),t.Q6J("ngIf",!0),t.xp6(1),t.Q6J("ngIf",!1),t.xp6(1),t.Q6J("ngIf",!1),t.xp6(2),t.Q6J("size",12)("validate",pe.validateLevel),t.xp6(3),t.hij("\n",pe.form.controls.editor.value||""," "))},dependencies:[k.O5,ot.Q,ir.p,Pi.E],styles:[".eixo-tematico[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-o-transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.okr[_ngcontent-%COMP%]{border-spacing:2px}.okr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0px;border-right-width:5px;border-style:solid;vertical-align:middle}.okr[_ngcontent-%COMP%] .vazio[_ngcontent-%COMP%]{border-right-width:0px}.okr[_ngcontent-%COMP%] .azul[_ngcontent-%COMP%]{border-color:var(--blue-600)}.okr[_ngcontent-%COMP%] .verde[_ngcontent-%COMP%]{border-color:var(--green-600)}.okr[_ngcontent-%COMP%] .rosa[_ngcontent-%COMP%]{border-color:var(--pink-600)}.okr[_ngcontent-%COMP%] .vermelho[_ngcontent-%COMP%]{border-color:var(--red-600)}.okr[_ngcontent-%COMP%] .roxo[_ngcontent-%COMP%]{border-color:var(--purple-600)}.okr[_ngcontent-%COMP%] .laranja[_ngcontent-%COMP%]{border-color:var(--orange-600)}.okr[_ngcontent-%COMP%] .amarelo[_ngcontent-%COMP%]{border-color:var(--yellow-600)}"]})}return q})();var ln=m(2314);let Yt=(()=>{class q{constructor(Y,ne){this.auth=Y,this.route=ne,this.code="",this.state=""}ngOnInit(){this.route.queryParams.subscribe(Y=>{this.code=Y.code,this.state=Y.state}),this.code&&this.auth.authLoginUnico(this.code,this.state,this.redirectTo)}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(me.e),t.Y36(C.gz))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-login-unico"]],decls:1,vars:0,template:function(ne,pe){1&ne&&t._uU(0,"Redirecionando ...\n")}})}return q})();var li=m(7457);const Pn=[{path:"panel-login",component:(()=>{class q{constructor(Y,ne,pe,Ve){this.router=Y,this.authService=ne,this.fh=pe,this.formBuilder=Ve,this.login=this.fh.FormBuilder({email:{default:""},password:{default:""}})}loginPanel(){const Y=this.login.controls;this.authService.loginPanel(Y.email.value,Y.password.value).then(ne=>{ne?this.router.navigate(["/panel"]):alert("Credenciais inv\xe1lidas. Por favor, tente novamente.")}).catch(ne=>{alert("Erro durante o login:"+ne.error.error),console.error("Erro durante o login:",ne.error.error)})}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.Y36(C.F0),t.Y36(li.r),t.Y36(Se.k),t.Y36(a.qu))};static#t=this.\u0275cmp=t.Xpm({type:q,selectors:[["app-panel-login"]],decls:11,vars:3,consts:[[1,"login-container"],[1,"login-content"],[3,"formGroup"],[1,"form-group"],["controlName","email","placeholder","Email"],[1,"form-group","form-primary","mb-2"],["password","password","controlName","password","placeholder","Senha"],[1,"btn-login",3,"click"]],template:function(ne,pe){1&ne&&(t.TgZ(0,"div",0)(1,"div",1)(2,"h2"),t._uU(3,"Panel - Login"),t.qZA(),t.TgZ(4,"form",2)(5,"div",3),t._UZ(6,"input-text",4),t.qZA(),t.TgZ(7,"div",5),t._UZ(8,"input-text",6),t.qZA(),t.TgZ(9,"button",7),t.NdJ("click",function(){return pe.loginPanel()}),t._uU(10," Logar "),t.qZA()()()()),2&ne&&(t.xp6(4),t.Q6J("formGroup",pe.login),t.xp6(2),t.uIk("maxlength",250),t.xp6(2),t.uIk("maxlength",250))},dependencies:[J.m,a._Y,a.JL,a.sg],styles:['@charset "UTF-8";.login-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100vh}.login-content[_ngcontent-%COMP%]{max-width:400px;width:100%;padding:20px;border:1px solid #ccc;border-radius:5px;box-sizing:border-box}.form-group[_ngcontent-%COMP%]{margin-bottom:20px}label[_ngcontent-%COMP%]{display:block}input[type=email][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%]{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px;box-sizing:border-box}.btn-login[_ngcontent-%COMP%]{width:100%;padding:10px;background-color:#007bff;color:#fff;border:none;border-radius:5px;cursor:pointer}.btn-login[_ngcontent-%COMP%]:hover{background-color:#0056b3}@media (max-width: 768px){.login-content[_ngcontent-%COMP%]{max-width:90%}}@media (max-width: 576px){.login-content[_ngcontent-%COMP%]{padding:10px}}']})}return q})()},{path:"panel",loadChildren:()=>Promise.all([m.e(799),m.e(555)]).then(m.bind(m,9555)).then(q=>q.PanelModule),canActivate:[(()=>{class q{constructor(Y,ne){this.router=Y,this.auth=ne}canActivate(Y,ne){return this.auth.isAuthenticated().then(pe=>!!pe||(this.router.navigate(["/panel-login"]),!1))}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(C.F0),t.LFG(li.r))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()]},{path:"teste",component:Pt,resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Teste"}},{path:"teste/calcula-tempo",component:Ye,resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Teste - CalculaTempo"}},{path:"home",loadChildren:()=>Promise.all([m.e(592),m.e(159)]).then(m.bind(m,5159)).then(q=>q.HomeModule),canActivate:[b.a]},{path:"login",component:nt,canActivate:[b.a],resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Login Petrvs",login:!0}},{path:"login-retorno",component:F,data:{title:"Retorno de login",login:!0}},{path:"login-unico",component:Yt,data:{title:"Retorno de login"}},{path:"config",component:j,canActivate:[b.a],resolve:{config:ln.o},runGuardsAndResolvers:"always",data:{title:"Configura\xe7\xf5es",modal:!0}},{path:"suporte",loadChildren:()=>Promise.all([m.e(799),m.e(592),m.e(683)]).then(m.bind(m,2683)).then(q=>q.SuporteModule),resolve:{config:ln.o}},{path:"uteis",loadChildren:()=>Promise.resolve().then(m.bind(m,2864)).then(q=>q.UteisModule),canActivate:[b.a]},{path:"cadastros/cidade",loadChildren:()=>m.e(737).then(m.bind(m,4737)).then(q=>q.CidadeModule),canActivate:[b.a]},{path:"cadastros/entrega",loadChildren:()=>m.e(748).then(m.bind(m,5748)).then(q=>q.EntregaModule),canActivate:[b.a]},{path:"cadastros/eixo-tematico",loadChildren:()=>m.e(124).then(m.bind(m,124)).then(q=>q.EixoTematicoModule),canActivate:[b.a]},{path:"cadastros/feriado",loadChildren:()=>m.e(300).then(m.bind(m,9842)).then(q=>q.FeriadoModule),canActivate:[b.a]},{path:"cadastros/material-servico",loadChildren:()=>m.e(842).then(m.bind(m,7760)).then(q=>q.MaterialServicoModule),canActivate:[b.a]},{path:"cadastros/templates",loadChildren:()=>m.e(615).then(m.bind(m,5615)).then(q=>q.TemplateModule),canActivate:[b.a]},{path:"cadastros/tipo-tarefa",loadChildren:()=>m.e(750).then(m.bind(m,4750)).then(q=>q.TipoTarefaModule),canActivate:[b.a]},{path:"cadastros/tipo-atividade",loadChildren:()=>m.e(796).then(m.bind(m,5796)).then(q=>q.TipoAtividadeModule),canActivate:[b.a]},{path:"cadastros/tipo-avaliacao",loadChildren:()=>Promise.all([m.e(592),m.e(357)]).then(m.bind(m,3357)).then(q=>q.TipoAvaliacaoModule),canActivate:[b.a]},{path:"cadastros/tipo-documento",loadChildren:()=>m.e(644).then(m.bind(m,6644)).then(q=>q.TipoDocumentoModule),canActivate:[b.a]},{path:"cadastros/tipo-justificativa",loadChildren:()=>Promise.all([m.e(592),m.e(547)]).then(m.bind(m,3547)).then(q=>q.TipoJustificativaModule),canActivate:[b.a]},{path:"cadastros/tipo-modalidade",loadChildren:()=>m.e(928).then(m.bind(m,3928)).then(q=>q.TipoModalidadeModule),canActivate:[b.a]},{path:"cadastros/tipo-motivo-afastamento",loadChildren:()=>m.e(564).then(m.bind(m,1564)).then(q=>q.TipoMotivoAfastamentoModule),canActivate:[b.a]},{path:"cadastros/tipo-processo",loadChildren:()=>m.e(998).then(m.bind(m,1998)).then(q=>q.TipoProcessoModule),canActivate:[b.a]},{path:"gestao/afastamento",loadChildren:()=>m.e(314).then(m.bind(m,9314)).then(q=>q.AfastamentoModule),canActivate:[b.a]},{path:"gestao/programa",loadChildren:()=>Promise.all([m.e(592),m.e(667)]).then(m.bind(m,1667)).then(q=>q.ProgramaModule),canActivate:[b.a]},{path:"gestao/cadeia-valor",loadChildren:()=>Promise.all([m.e(625),m.e(32)]).then(m.bind(m,588)).then(q=>q.CadeiaValorModule),canActivate:[b.a]},{path:"gestao/atividade",loadChildren:()=>Promise.all([m.e(471),m.e(557),m.e(89),m.e(13)]).then(m.bind(m,9013)).then(q=>q.AtividadeModule),canActivate:[b.a]},{path:"gestao/planejamento",loadChildren:()=>Promise.all([m.e(24),m.e(108)]).then(m.bind(m,7024)).then(q=>q.PlanejamentoModule),canActivate:[b.a]},{path:"gestao/plano-trabalho",loadChildren:()=>Promise.all([m.e(471),m.e(557),m.e(89),m.e(13),m.e(997),m.e(38),m.e(592),m.e(970)]).then(m.bind(m,2970)).then(q=>q.PlanoTrabalhoModule),canActivate:[b.a]},{path:"gestao/plano-entrega",loadChildren:()=>Promise.all([m.e(471),m.e(89),m.e(24),m.e(625),m.e(38),m.e(592),m.e(837)]).then(m.bind(m,2837)).then(q=>q.PlanoEntregaModule),canActivate:[b.a]},{path:"gestao/desdobramento",loadChildren:()=>Promise.all([m.e(471),m.e(358)]).then(m.bind(m,4358)).then(q=>q.DesdobramentoModule),canActivate:[b.a]},{path:"execucao/plano-entrega",loadChildren:()=>Promise.all([m.e(471),m.e(89),m.e(24),m.e(625),m.e(38),m.e(592),m.e(837)]).then(m.bind(m,2837)).then(q=>q.PlanoEntregaModule),canActivate:[b.a]},{path:"avaliacao/plano-entrega",loadChildren:()=>Promise.all([m.e(471),m.e(89),m.e(24),m.e(625),m.e(38),m.e(592),m.e(837)]).then(m.bind(m,2837)).then(q=>q.PlanoEntregaModule),canActivate:[b.a]},{path:"avaliacao/plano-trabalho",loadChildren:()=>Promise.all([m.e(471),m.e(557),m.e(89),m.e(13),m.e(997),m.e(38),m.e(592),m.e(970)]).then(m.bind(m,2970)).then(q=>q.PlanoTrabalhoModule),canActivate:[b.a]},{path:"configuracoes/preferencia",loadChildren:()=>m.e(224).then(m.bind(m,6224)).then(q=>q.PreferenciaModule),canActivate:[b.a]},{path:"configuracoes/entidade",loadChildren:()=>Promise.all([m.e(592),m.e(526)]).then(m.bind(m,4526)).then(q=>q.EntidadeModule),canActivate:[b.a]},{path:"configuracoes/perfil",loadChildren:()=>m.e(105).then(m.bind(m,4105)).then(q=>q.PerfilModule),canActivate:[b.a]},{path:"configuracoes/unidade",loadChildren:()=>Promise.all([m.e(471),m.e(592),m.e(215)]).then(m.bind(m,2215)).then(q=>q.UnidadeModule),canActivate:[b.a]},{path:"configuracoes/usuario",loadChildren:()=>Promise.all([m.e(592),m.e(562)]).then(m.bind(m,5562)).then(q=>q.UsuarioModule),canActivate:[b.a]},{path:"listeners",loadChildren:()=>Promise.all([m.e(557),m.e(997),m.e(761)]).then(m.bind(m,3761)).then(q=>q.ListenersModule),canActivate:[b.a]},{path:"extension",loadChildren:()=>m.e(870).then(m.bind(m,3870)).then(q=>q.ExtensionModule)},{path:"logs",loadChildren:()=>Promise.resolve().then(m.bind(m,5336)).then(q=>q.LogModule),canActivate:[b.a]},{path:"rotinas",loadChildren:()=>Promise.resolve().then(m.bind(m,9179)).then(q=>q.RotinaModule),canActivate:[b.a]},{path:"",redirectTo:"login",pathMatch:"full"}];let sn=(()=>{class q{static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275mod=t.oAB({type:q});static#n=this.\u0275inj=t.cJS({imports:[C.Bz.forRoot(Pn,{useHash:!0}),C.Bz]})}return q})();var Rt=m(6401),Bt=m(2662),bn=m(2405);function rr(q){return new t.vHH(3e3,!1)}function Tt(q){switch(q.length){case 0:return new bn.ZN;case 1:return q[0];default:return new bn.ZE(q)}}function un(q,U,Y=new Map,ne=new Map){const pe=[],Ve=[];let bt=-1,It=null;if(U.forEach(Xt=>{const Cn=Xt.get("offset"),ni=Cn==bt,oi=ni&&It||new Map;Xt.forEach((Ei,Hi)=>{let hi=Hi,wi=Ei;if("offset"!==Hi)switch(hi=q.normalizePropertyName(hi,pe),wi){case bn.k1:wi=Y.get(Hi);break;case bn.l3:wi=ne.get(Hi);break;default:wi=q.normalizeStyleValue(Hi,hi,wi,pe)}oi.set(hi,wi)}),ni||Ve.push(oi),It=oi,bt=Cn}),pe.length)throw function Co(q){return new t.vHH(3502,!1)}();return Ve}function Yn(q,U,Y,ne){switch(U){case"start":q.onStart(()=>ne(Y&&Ui(Y,"start",q)));break;case"done":q.onDone(()=>ne(Y&&Ui(Y,"done",q)));break;case"destroy":q.onDestroy(()=>ne(Y&&Ui(Y,"destroy",q)))}}function Ui(q,U,Y){const Ve=Gi(q.element,q.triggerName,q.fromState,q.toState,U||q.phaseName,Y.totalTime??q.totalTime,!!Y.disabled),bt=q._data;return null!=bt&&(Ve._data=bt),Ve}function Gi(q,U,Y,ne,pe="",Ve=0,bt){return{element:q,triggerName:U,fromState:Y,toState:ne,phaseName:pe,totalTime:Ve,disabled:!!bt}}function _r(q,U,Y){let ne=q.get(U);return ne||q.set(U,ne=Y),ne}function us(q){const U=q.indexOf(":");return[q.substring(1,U),q.slice(U+1)]}const So=(()=>typeof document>"u"?null:document.documentElement)();function Fo(q){const U=q.parentNode||q.host||null;return U===So?null:U}let na=null,_s=!1;function er(q,U){for(;U;){if(U===q)return!0;U=Fo(U)}return!1}function Cr(q,U,Y){if(Y)return Array.from(q.querySelectorAll(U));const ne=q.querySelector(U);return ne?[ne]:[]}let br=(()=>{class q{validateStyleProperty(Y){return function ko(q){na||(na=function Wa(){return typeof document<"u"?document.body:null}()||{},_s=!!na.style&&"WebkitAppearance"in na.style);let U=!0;return na.style&&!function Ks(q){return"ebkit"==q.substring(1,6)}(q)&&(U=q in na.style,!U&&_s&&(U="Webkit"+q.charAt(0).toUpperCase()+q.slice(1)in na.style)),U}(Y)}matchesElement(Y,ne){return!1}containsElement(Y,ne){return er(Y,ne)}getParentElement(Y){return Fo(Y)}query(Y,ne,pe){return Cr(Y,ne,pe)}computeStyle(Y,ne,pe){return pe||""}animate(Y,ne,pe,Ve,bt,It=[],Xt){return new bn.ZN(pe,Ve)}static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})(),ds=(()=>{class q{static#e=this.NOOP=new br}return q})();const Yo=1e3,as="ng-enter",Na="ng-leave",Ma="ng-trigger",Fi=".ng-trigger",_i="ng-animating",dr=".ng-animating";function $r(q){if("number"==typeof q)return q;const U=q.match(/^(-?[\.\d]+)(m?s)/);return!U||U.length<2?0:Fr(parseFloat(U[1]),U[2])}function Fr(q,U){return"s"===U?q*Yo:q}function Ho(q,U,Y){return q.hasOwnProperty("duration")?q:function no(q,U,Y){let pe,Ve=0,bt="";if("string"==typeof q){const It=q.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===It)return U.push(rr()),{duration:0,delay:0,easing:""};pe=Fr(parseFloat(It[1]),It[2]);const Xt=It[3];null!=Xt&&(Ve=Fr(parseFloat(Xt),It[4]));const Cn=It[5];Cn&&(bt=Cn)}else pe=q;if(!Y){let It=!1,Xt=U.length;pe<0&&(U.push(function Ri(){return new t.vHH(3100,!1)}()),It=!0),Ve<0&&(U.push(function Ur(){return new t.vHH(3101,!1)}()),It=!0),It&&U.splice(Xt,0,rr())}return{duration:pe,delay:Ve,easing:bt}}(q,U,Y)}function Vr(q,U={}){return Object.keys(q).forEach(Y=>{U[Y]=q[Y]}),U}function os(q){const U=new Map;return Object.keys(q).forEach(Y=>{U.set(Y,q[Y])}),U}function Rn(q,U=new Map,Y){if(Y)for(let[ne,pe]of Y)U.set(ne,pe);for(let[ne,pe]of q)U.set(ne,pe);return U}function Mo(q,U,Y){U.forEach((ne,pe)=>{const Ve=uo(pe);Y&&!Y.has(pe)&&Y.set(pe,q.style[Ve]),q.style[Ve]=ne})}function Aa(q,U){U.forEach((Y,ne)=>{const pe=uo(ne);q.style[pe]=""})}function Xr(q){return Array.isArray(q)?1==q.length?q[0]:(0,bn.vP)(q):q}const Us=new RegExp("{{\\s*(.+?)\\s*}}","g");function Rs(q){let U=[];if("string"==typeof q){let Y;for(;Y=Us.exec(q);)U.push(Y[1]);Us.lastIndex=0}return U}function Mr(q,U,Y){const ne=q.toString(),pe=ne.replace(Us,(Ve,bt)=>{let It=U[bt];return null==It&&(Y.push(function Xe(q){return new t.vHH(3003,!1)}()),It=""),It.toString()});return pe==ne?q:pe}function Zr(q){const U=[];let Y=q.next();for(;!Y.done;)U.push(Y.value),Y=q.next();return U}const Ji=/-+([a-z0-9])/g;function uo(q){return q.replace(Ji,(...U)=>U[1].toUpperCase())}function xr(q,U,Y){switch(U.type){case 7:return q.visitTrigger(U,Y);case 0:return q.visitState(U,Y);case 1:return q.visitTransition(U,Y);case 2:return q.visitSequence(U,Y);case 3:return q.visitGroup(U,Y);case 4:return q.visitAnimate(U,Y);case 5:return q.visitKeyframes(U,Y);case 6:return q.visitStyle(U,Y);case 8:return q.visitReference(U,Y);case 9:return q.visitAnimateChild(U,Y);case 10:return q.visitAnimateRef(U,Y);case 11:return q.visitQuery(U,Y);case 12:return q.visitStagger(U,Y);default:throw function ke(q){return new t.vHH(3004,!1)}()}}function fa(q,U){return window.getComputedStyle(q)[U]}const ho="*";function pl(q,U){const Y=[];return"string"==typeof q?q.split(/\s*,\s*/).forEach(ne=>function Lr(q,U,Y){if(":"==q[0]){const Xt=function Qs(q,U){switch(q){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(Y,ne)=>parseFloat(ne)>parseFloat(Y);case":decrement":return(Y,ne)=>parseFloat(ne) *"}}(q,Y);if("function"==typeof Xt)return void U.push(Xt);q=Xt}const ne=q.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ne||ne.length<4)return Y.push(function wr(q){return new t.vHH(3015,!1)}()),U;const pe=ne[1],Ve=ne[2],bt=ne[3];U.push(Za(pe,bt));"<"==Ve[0]&&!(pe==ho&&bt==ho)&&U.push(Za(bt,pe))}(ne,Y,U)):Y.push(q),Y}const Hs=new Set(["true","1"]),Da=new Set(["false","0"]);function Za(q,U){const Y=Hs.has(q)||Da.has(q),ne=Hs.has(U)||Da.has(U);return(pe,Ve)=>{let bt=q==ho||q==pe,It=U==ho||U==Ve;return!bt&&Y&&"boolean"==typeof pe&&(bt=pe?Hs.has(q):Da.has(q)),!It&&ne&&"boolean"==typeof Ve&&(It=Ve?Hs.has(U):Da.has(U)),bt&&It}}const Sa=new RegExp("s*:selfs*,?","g");function nl(q,U,Y,ne){return new lc(q).build(U,Y,ne)}class lc{constructor(U){this._driver=U}build(U,Y,ne){const pe=new yl(Y);return this._resetContextStyleTimingState(pe),xr(this,Xr(U),pe)}_resetContextStyleTimingState(U){U.currentQuerySelector="",U.collectedStyles=new Map,U.collectedStyles.set("",new Map),U.currentTime=0}visitTrigger(U,Y){let ne=Y.queryCount=0,pe=Y.depCount=0;const Ve=[],bt=[];return"@"==U.name.charAt(0)&&Y.errors.push(function Ae(){return new t.vHH(3006,!1)}()),U.definitions.forEach(It=>{if(this._resetContextStyleTimingState(Y),0==It.type){const Xt=It,Cn=Xt.name;Cn.toString().split(/\s*,\s*/).forEach(ni=>{Xt.name=ni,Ve.push(this.visitState(Xt,Y))}),Xt.name=Cn}else if(1==It.type){const Xt=this.visitTransition(It,Y);ne+=Xt.queryCount,pe+=Xt.depCount,bt.push(Xt)}else Y.errors.push(function it(){return new t.vHH(3007,!1)}())}),{type:7,name:U.name,states:Ve,transitions:bt,queryCount:ne,depCount:pe,options:null}}visitState(U,Y){const ne=this.visitStyle(U.styles,Y),pe=U.options&&U.options.params||null;if(ne.containsDynamicStyles){const Ve=new Set,bt=pe||{};ne.styles.forEach(It=>{It instanceof Map&&It.forEach(Xt=>{Rs(Xt).forEach(Cn=>{bt.hasOwnProperty(Cn)||Ve.add(Cn)})})}),Ve.size&&(Zr(Ve.values()),Y.errors.push(function Ht(q,U){return new t.vHH(3008,!1)}()))}return{type:0,name:U.name,style:ne,options:pe?{params:pe}:null}}visitTransition(U,Y){Y.queryCount=0,Y.depCount=0;const ne=xr(this,Xr(U.animation),Y);return{type:1,matchers:pl(U.expr,Y.errors),animation:ne,queryCount:Y.queryCount,depCount:Y.depCount,options:As(U.options)}}visitSequence(U,Y){return{type:2,steps:U.steps.map(ne=>xr(this,ne,Y)),options:As(U.options)}}visitGroup(U,Y){const ne=Y.currentTime;let pe=0;const Ve=U.steps.map(bt=>{Y.currentTime=ne;const It=xr(this,bt,Y);return pe=Math.max(pe,Y.currentTime),It});return Y.currentTime=pe,{type:3,steps:Ve,options:As(U.options)}}visitAnimate(U,Y){const ne=function il(q,U){if(q.hasOwnProperty("duration"))return q;if("number"==typeof q)return _l(Ho(q,U).duration,0,"");const Y=q;if(Y.split(/\s+/).some(Ve=>"{"==Ve.charAt(0)&&"{"==Ve.charAt(1))){const Ve=_l(0,0,"");return Ve.dynamic=!0,Ve.strValue=Y,Ve}const pe=Ho(Y,U);return _l(pe.duration,pe.delay,pe.easing)}(U.timings,Y.errors);Y.currentAnimateTimings=ne;let pe,Ve=U.styles?U.styles:(0,bn.oB)({});if(5==Ve.type)pe=this.visitKeyframes(Ve,Y);else{let bt=U.styles,It=!1;if(!bt){It=!0;const Cn={};ne.easing&&(Cn.easing=ne.easing),bt=(0,bn.oB)(Cn)}Y.currentTime+=ne.duration+ne.delay;const Xt=this.visitStyle(bt,Y);Xt.isEmptyStep=It,pe=Xt}return Y.currentAnimateTimings=null,{type:4,timings:ne,style:pe,options:null}}visitStyle(U,Y){const ne=this._makeStyleAst(U,Y);return this._validateStyleAst(ne,Y),ne}_makeStyleAst(U,Y){const ne=[],pe=Array.isArray(U.styles)?U.styles:[U.styles];for(let It of pe)"string"==typeof It?It===bn.l3?ne.push(It):Y.errors.push(new t.vHH(3002,!1)):ne.push(os(It));let Ve=!1,bt=null;return ne.forEach(It=>{if(It instanceof Map&&(It.has("easing")&&(bt=It.get("easing"),It.delete("easing")),!Ve))for(let Xt of It.values())if(Xt.toString().indexOf("{{")>=0){Ve=!0;break}}),{type:6,styles:ne,easing:bt,offset:U.offset,containsDynamicStyles:Ve,options:null}}_validateStyleAst(U,Y){const ne=Y.currentAnimateTimings;let pe=Y.currentTime,Ve=Y.currentTime;ne&&Ve>0&&(Ve-=ne.duration+ne.delay),U.styles.forEach(bt=>{"string"!=typeof bt&&bt.forEach((It,Xt)=>{const Cn=Y.collectedStyles.get(Y.currentQuerySelector),ni=Cn.get(Xt);let oi=!0;ni&&(Ve!=pe&&Ve>=ni.startTime&&pe<=ni.endTime&&(Y.errors.push(function Tn(q,U,Y,ne,pe){return new t.vHH(3010,!1)}()),oi=!1),Ve=ni.startTime),oi&&Cn.set(Xt,{startTime:Ve,endTime:pe}),Y.options&&function gr(q,U,Y){const ne=U.params||{},pe=Rs(q);pe.length&&pe.forEach(Ve=>{ne.hasOwnProperty(Ve)||Y.push(function mn(q){return new t.vHH(3001,!1)}())})}(It,Y.options,Y.errors)})})}visitKeyframes(U,Y){const ne={type:5,styles:[],options:null};if(!Y.currentAnimateTimings)return Y.errors.push(function pi(){return new t.vHH(3011,!1)}()),ne;let Ve=0;const bt=[];let It=!1,Xt=!1,Cn=0;const ni=U.steps.map(sr=>{const Er=this._makeStyleAst(sr,Y);let ms=null!=Er.offset?Er.offset:function Bc(q){if("string"==typeof q)return null;let U=null;if(Array.isArray(q))q.forEach(Y=>{if(Y instanceof Map&&Y.has("offset")){const ne=Y;U=parseFloat(ne.get("offset")),ne.delete("offset")}});else if(q instanceof Map&&q.has("offset")){const Y=q;U=parseFloat(Y.get("offset")),Y.delete("offset")}return U}(Er.styles),ao=0;return null!=ms&&(Ve++,ao=Er.offset=ms),Xt=Xt||ao<0||ao>1,It=It||ao0&&Ve{const ms=Ei>0?Er==Hi?1:Ei*Er:bt[Er],ao=ms*Tr;Y.currentTime=hi+wi.delay+ao,wi.duration=ao,this._validateStyleAst(sr,Y),sr.offset=ms,ne.styles.push(sr)}),ne}visitReference(U,Y){return{type:8,animation:xr(this,Xr(U.animation),Y),options:As(U.options)}}visitAnimateChild(U,Y){return Y.depCount++,{type:9,options:As(U.options)}}visitAnimateRef(U,Y){return{type:10,animation:this.visitReference(U.animation,Y),options:As(U.options)}}visitQuery(U,Y){const ne=Y.currentQuerySelector,pe=U.options||{};Y.queryCount++,Y.currentQuery=U;const[Ve,bt]=function ka(q){const U=!!q.split(/\s*,\s*/).find(Y=>":self"==Y);return U&&(q=q.replace(Sa,"")),q=q.replace(/@\*/g,Fi).replace(/@\w+/g,Y=>Fi+"-"+Y.slice(1)).replace(/:animating/g,dr),[q,U]}(U.selector);Y.currentQuerySelector=ne.length?ne+" "+Ve:Ve,_r(Y.collectedStyles,Y.currentQuerySelector,new Map);const It=xr(this,Xr(U.animation),Y);return Y.currentQuery=null,Y.currentQuerySelector=ne,{type:11,selector:Ve,limit:pe.limit||0,optional:!!pe.optional,includeSelf:bt,animation:It,originalSelector:U.selector,options:As(U.options)}}visitStagger(U,Y){Y.currentQuery||Y.errors.push(function Hr(){return new t.vHH(3013,!1)}());const ne="full"===U.timings?{duration:0,delay:0,easing:"full"}:Ho(U.timings,Y.errors,!0);return{type:12,animation:xr(this,Xr(U.animation),Y),timings:ne,options:null}}}class yl{constructor(U){this.errors=U,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 As(q){return q?(q=Vr(q)).params&&(q.params=function ml(q){return q?Vr(q):null}(q.params)):q={},q}function _l(q,U,Y){return{duration:q,delay:U,easing:Y}}function ya(q,U,Y,ne,pe,Ve,bt=null,It=!1){return{type:1,element:q,keyframes:U,preStyleProps:Y,postStyleProps:ne,duration:pe,delay:Ve,totalTime:pe+Ve,easing:bt,subTimeline:It}}class Ne{constructor(){this._map=new Map}get(U){return this._map.get(U)||[]}append(U,Y){let ne=this._map.get(U);ne||this._map.set(U,ne=[]),ne.push(...Y)}has(U){return this._map.has(U)}clear(){this._map.clear()}}const ut=new RegExp(":enter","g"),Yi=new RegExp(":leave","g");function lr(q,U,Y,ne,pe,Ve=new Map,bt=new Map,It,Xt,Cn=[]){return(new ro).buildKeyframes(q,U,Y,ne,pe,Ve,bt,It,Xt,Cn)}class ro{buildKeyframes(U,Y,ne,pe,Ve,bt,It,Xt,Cn,ni=[]){Cn=Cn||new Ne;const oi=new Jo(U,Y,Cn,pe,Ve,ni,[]);oi.options=Xt;const Ei=Xt.delay?$r(Xt.delay):0;oi.currentTimeline.delayNextStep(Ei),oi.currentTimeline.setStyles([bt],null,oi.errors,Xt),xr(this,ne,oi);const Hi=oi.timelines.filter(hi=>hi.containsAnimation());if(Hi.length&&It.size){let hi;for(let wi=Hi.length-1;wi>=0;wi--){const Tr=Hi[wi];if(Tr.element===Y){hi=Tr;break}}hi&&!hi.allowOnlyTimelineStyles()&&hi.setStyles([It],null,oi.errors,Xt)}return Hi.length?Hi.map(hi=>hi.buildKeyframes()):[ya(Y,[],[],[],0,Ei,"",!1)]}visitTrigger(U,Y){}visitState(U,Y){}visitTransition(U,Y){}visitAnimateChild(U,Y){const ne=Y.subInstructions.get(Y.element);if(ne){const pe=Y.createSubContext(U.options),Ve=Y.currentTimeline.currentTime,bt=this._visitSubInstructions(ne,pe,pe.options);Ve!=bt&&Y.transformIntoNewTimeline(bt)}Y.previousNode=U}visitAnimateRef(U,Y){const ne=Y.createSubContext(U.options);ne.transformIntoNewTimeline(),this._applyAnimationRefDelays([U.options,U.animation.options],Y,ne),this.visitReference(U.animation,ne),Y.transformIntoNewTimeline(ne.currentTimeline.currentTime),Y.previousNode=U}_applyAnimationRefDelays(U,Y,ne){for(const pe of U){const Ve=pe?.delay;if(Ve){const bt="number"==typeof Ve?Ve:$r(Mr(Ve,pe?.params??{},Y.errors));ne.delayNextStep(bt)}}}_visitSubInstructions(U,Y,ne){let Ve=Y.currentTimeline.currentTime;const bt=null!=ne.duration?$r(ne.duration):null,It=null!=ne.delay?$r(ne.delay):null;return 0!==bt&&U.forEach(Xt=>{const Cn=Y.appendInstructionToTimeline(Xt,bt,It);Ve=Math.max(Ve,Cn.duration+Cn.delay)}),Ve}visitReference(U,Y){Y.updateOptions(U.options,!0),xr(this,U.animation,Y),Y.previousNode=U}visitSequence(U,Y){const ne=Y.subContextCount;let pe=Y;const Ve=U.options;if(Ve&&(Ve.params||Ve.delay)&&(pe=Y.createSubContext(Ve),pe.transformIntoNewTimeline(),null!=Ve.delay)){6==pe.previousNode.type&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=Xs);const bt=$r(Ve.delay);pe.delayNextStep(bt)}U.steps.length&&(U.steps.forEach(bt=>xr(this,bt,pe)),pe.currentTimeline.applyStylesToKeyframe(),pe.subContextCount>ne&&pe.transformIntoNewTimeline()),Y.previousNode=U}visitGroup(U,Y){const ne=[];let pe=Y.currentTimeline.currentTime;const Ve=U.options&&U.options.delay?$r(U.options.delay):0;U.steps.forEach(bt=>{const It=Y.createSubContext(U.options);Ve&&It.delayNextStep(Ve),xr(this,bt,It),pe=Math.max(pe,It.currentTimeline.currentTime),ne.push(It.currentTimeline)}),ne.forEach(bt=>Y.currentTimeline.mergeTimelineCollectedStyles(bt)),Y.transformIntoNewTimeline(pe),Y.previousNode=U}_visitTiming(U,Y){if(U.dynamic){const ne=U.strValue;return Ho(Y.params?Mr(ne,Y.params,Y.errors):ne,Y.errors)}return{duration:U.duration,delay:U.delay,easing:U.easing}}visitAnimate(U,Y){const ne=Y.currentAnimateTimings=this._visitTiming(U.timings,Y),pe=Y.currentTimeline;ne.delay&&(Y.incrementTime(ne.delay),pe.snapshotCurrentStyles());const Ve=U.style;5==Ve.type?this.visitKeyframes(Ve,Y):(Y.incrementTime(ne.duration),this.visitStyle(Ve,Y),pe.applyStylesToKeyframe()),Y.currentAnimateTimings=null,Y.previousNode=U}visitStyle(U,Y){const ne=Y.currentTimeline,pe=Y.currentAnimateTimings;!pe&&ne.hasCurrentStyleProperties()&&ne.forwardFrame();const Ve=pe&&pe.easing||U.easing;U.isEmptyStep?ne.applyEmptyStep(Ve):ne.setStyles(U.styles,Ve,Y.errors,Y.options),Y.previousNode=U}visitKeyframes(U,Y){const ne=Y.currentAnimateTimings,pe=Y.currentTimeline.duration,Ve=ne.duration,It=Y.createSubContext().currentTimeline;It.easing=ne.easing,U.styles.forEach(Xt=>{It.forwardTime((Xt.offset||0)*Ve),It.setStyles(Xt.styles,Xt.easing,Y.errors,Y.options),It.applyStylesToKeyframe()}),Y.currentTimeline.mergeTimelineCollectedStyles(It),Y.transformIntoNewTimeline(pe+Ve),Y.previousNode=U}visitQuery(U,Y){const ne=Y.currentTimeline.currentTime,pe=U.options||{},Ve=pe.delay?$r(pe.delay):0;Ve&&(6===Y.previousNode.type||0==ne&&Y.currentTimeline.hasCurrentStyleProperties())&&(Y.currentTimeline.snapshotCurrentStyles(),Y.previousNode=Xs);let bt=ne;const It=Y.invokeQuery(U.selector,U.originalSelector,U.limit,U.includeSelf,!!pe.optional,Y.errors);Y.currentQueryTotal=It.length;let Xt=null;It.forEach((Cn,ni)=>{Y.currentQueryIndex=ni;const oi=Y.createSubContext(U.options,Cn);Ve&&oi.delayNextStep(Ve),Cn===Y.element&&(Xt=oi.currentTimeline),xr(this,U.animation,oi),oi.currentTimeline.applyStylesToKeyframe(),bt=Math.max(bt,oi.currentTimeline.currentTime)}),Y.currentQueryIndex=0,Y.currentQueryTotal=0,Y.transformIntoNewTimeline(bt),Xt&&(Y.currentTimeline.mergeTimelineCollectedStyles(Xt),Y.currentTimeline.snapshotCurrentStyles()),Y.previousNode=U}visitStagger(U,Y){const ne=Y.parentContext,pe=Y.currentTimeline,Ve=U.timings,bt=Math.abs(Ve.duration),It=bt*(Y.currentQueryTotal-1);let Xt=bt*Y.currentQueryIndex;switch(Ve.duration<0?"reverse":Ve.easing){case"reverse":Xt=It-Xt;break;case"full":Xt=ne.currentStaggerTime}const ni=Y.currentTimeline;Xt&&ni.delayNextStep(Xt);const oi=ni.currentTime;xr(this,U.animation,Y),Y.previousNode=U,ne.currentStaggerTime=pe.currentTime-oi+(pe.startTime-ne.currentTimeline.startTime)}}const Xs={};class Jo{constructor(U,Y,ne,pe,Ve,bt,It,Xt){this._driver=U,this.element=Y,this.subInstructions=ne,this._enterClassName=pe,this._leaveClassName=Ve,this.errors=bt,this.timelines=It,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xs,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Xt||new Qo(this._driver,Y,0),It.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(U,Y){if(!U)return;const ne=U;let pe=this.options;null!=ne.duration&&(pe.duration=$r(ne.duration)),null!=ne.delay&&(pe.delay=$r(ne.delay));const Ve=ne.params;if(Ve){let bt=pe.params;bt||(bt=this.options.params={}),Object.keys(Ve).forEach(It=>{(!Y||!bt.hasOwnProperty(It))&&(bt[It]=Mr(Ve[It],bt,this.errors))})}}_copyOptions(){const U={};if(this.options){const Y=this.options.params;if(Y){const ne=U.params={};Object.keys(Y).forEach(pe=>{ne[pe]=Y[pe]})}}return U}createSubContext(U=null,Y,ne){const pe=Y||this.element,Ve=new Jo(this._driver,pe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pe,ne||0));return Ve.previousNode=this.previousNode,Ve.currentAnimateTimings=this.currentAnimateTimings,Ve.options=this._copyOptions(),Ve.updateOptions(U),Ve.currentQueryIndex=this.currentQueryIndex,Ve.currentQueryTotal=this.currentQueryTotal,Ve.parentContext=this,this.subContextCount++,Ve}transformIntoNewTimeline(U){return this.previousNode=Xs,this.currentTimeline=this.currentTimeline.fork(this.element,U),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(U,Y,ne){const pe={duration:Y??U.duration,delay:this.currentTimeline.currentTime+(ne??0)+U.delay,easing:""},Ve=new ga(this._driver,U.element,U.keyframes,U.preStyleProps,U.postStyleProps,pe,U.stretchStartingKeyframe);return this.timelines.push(Ve),pe}incrementTime(U){this.currentTimeline.forwardTime(this.currentTimeline.duration+U)}delayNextStep(U){U>0&&this.currentTimeline.delayNextStep(U)}invokeQuery(U,Y,ne,pe,Ve,bt){let It=[];if(pe&&It.push(this.element),U.length>0){U=(U=U.replace(ut,"."+this._enterClassName)).replace(Yi,"."+this._leaveClassName);let Cn=this._driver.query(this.element,U,1!=ne);0!==ne&&(Cn=ne<0?Cn.slice(Cn.length+ne,Cn.length):Cn.slice(0,ne)),It.push(...Cn)}return!Ve&&0==It.length&&bt.push(function ss(q){return new t.vHH(3014,!1)}()),It}}class Qo{constructor(U,Y,ne,pe){this._driver=U,this.element=Y,this.startTime=ne,this._elementTimelineStylesLookup=pe,this.duration=0,this.easing=null,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(Y),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(Y,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(U){const Y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||Y?(this.forwardTime(this.currentTime+U),Y&&this.snapshotCurrentStyles()):this.startTime+=U}fork(U,Y){return this.applyStylesToKeyframe(),new Qo(this._driver,U,Y||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(U){this.applyStylesToKeyframe(),this.duration=U,this._loadKeyframe()}_updateStyle(U,Y){this._localTimelineStyles.set(U,Y),this._globalTimelineStyles.set(U,Y),this._styleSummary.set(U,{time:this.currentTime,value:Y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(U){U&&this._previousKeyframe.set("easing",U);for(let[Y,ne]of this._globalTimelineStyles)this._backFill.set(Y,ne||bn.l3),this._currentKeyframe.set(Y,bn.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(U,Y,ne,pe){Y&&this._previousKeyframe.set("easing",Y);const Ve=pe&&pe.params||{},bt=function rl(q,U){const Y=new Map;let ne;return q.forEach(pe=>{if("*"===pe){ne=ne||U.keys();for(let Ve of ne)Y.set(Ve,bn.l3)}else Rn(pe,Y)}),Y}(U,this._globalTimelineStyles);for(let[It,Xt]of bt){const Cn=Mr(Xt,Ve,ne);this._pendingStyles.set(It,Cn),this._localTimelineStyles.has(It)||this._backFill.set(It,this._globalTimelineStyles.get(It)??bn.l3),this._updateStyle(It,Cn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((U,Y)=>{this._currentKeyframe.set(Y,U)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((U,Y)=>{this._currentKeyframe.has(Y)||this._currentKeyframe.set(Y,U)}))}snapshotCurrentStyles(){for(let[U,Y]of this._localTimelineStyles)this._pendingStyles.set(U,Y),this._updateStyle(U,Y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const U=[];for(let Y in this._currentKeyframe)U.push(Y);return U}mergeTimelineCollectedStyles(U){U._styleSummary.forEach((Y,ne)=>{const pe=this._styleSummary.get(ne);(!pe||Y.time>pe.time)&&this._updateStyle(ne,Y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const U=new Set,Y=new Set,ne=1===this._keyframes.size&&0===this.duration;let pe=[];this._keyframes.forEach((It,Xt)=>{const Cn=Rn(It,new Map,this._backFill);Cn.forEach((ni,oi)=>{ni===bn.k1?U.add(oi):ni===bn.l3&&Y.add(oi)}),ne||Cn.set("offset",Xt/this.duration),pe.push(Cn)});const Ve=U.size?Zr(U.values()):[],bt=Y.size?Zr(Y.values()):[];if(ne){const It=pe[0],Xt=new Map(It);It.set("offset",0),Xt.set("offset",1),pe=[It,Xt]}return ya(this.element,pe,Ve,bt,this.duration,this.startTime,this.easing,!1)}}class ga extends Qo{constructor(U,Y,ne,pe,Ve,bt,It=!1){super(U,Y,bt.delay),this.keyframes=ne,this.preStyleProps=pe,this.postStyleProps=Ve,this._stretchStartingKeyframe=It,this.timings={duration:bt.duration,delay:bt.delay,easing:bt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let U=this.keyframes,{delay:Y,duration:ne,easing:pe}=this.timings;if(this._stretchStartingKeyframe&&Y){const Ve=[],bt=ne+Y,It=Y/bt,Xt=Rn(U[0]);Xt.set("offset",0),Ve.push(Xt);const Cn=Rn(U[0]);Cn.set("offset",Ts(It)),Ve.push(Cn);const ni=U.length-1;for(let oi=1;oi<=ni;oi++){let Ei=Rn(U[oi]);const Hi=Ei.get("offset");Ei.set("offset",Ts((Y+Hi*ne)/bt)),Ve.push(Ei)}ne=bt,Y=0,pe="",U=Ve}return ya(this.element,U,this.preStyleProps,this.postStyleProps,ne,Y,pe,!0)}}function Ts(q,U=3){const Y=Math.pow(10,U-1);return Math.round(q*Y)/Y}class Cs{}const pa=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 ba extends Cs{normalizePropertyName(U,Y){return uo(U)}normalizeStyleValue(U,Y,ne,pe){let Ve="";const bt=ne.toString().trim();if(pa.has(Y)&&0!==ne&&"0"!==ne)if("number"==typeof ne)Ve="px";else{const It=ne.match(/^[+-]?[\d\.]+([a-z]*)$/);It&&0==It[1].length&&pe.push(function ge(q,U){return new t.vHH(3005,!1)}())}return bt+Ve}}function Jl(q,U,Y,ne,pe,Ve,bt,It,Xt,Cn,ni,oi,Ei){return{type:0,element:q,triggerName:U,isRemovalTransition:pe,fromState:Y,fromStyles:Ve,toState:ne,toStyles:bt,timelines:It,queriedElements:Xt,preStyleProps:Cn,postStyleProps:ni,totalTime:oi,errors:Ei}}const Fa={};class so{constructor(U,Y,ne){this._triggerName=U,this.ast=Y,this._stateStyles=ne}match(U,Y,ne,pe){return function Vn(q,U,Y,ne,pe){return q.some(Ve=>Ve(U,Y,ne,pe))}(this.ast.matchers,U,Y,ne,pe)}buildStyles(U,Y,ne){let pe=this._stateStyles.get("*");return void 0!==U&&(pe=this._stateStyles.get(U?.toString())||pe),pe?pe.buildStyles(Y,ne):new Map}build(U,Y,ne,pe,Ve,bt,It,Xt,Cn,ni){const oi=[],Ei=this.ast.options&&this.ast.options.params||Fa,hi=this.buildStyles(ne,It&&It.params||Fa,oi),wi=Xt&&Xt.params||Fa,Tr=this.buildStyles(pe,wi,oi),sr=new Set,Er=new Map,ms=new Map,ao="void"===pe,Xa={params:Ga(wi,Ei),delay:this.ast.options?.delay},Wo=ni?[]:lr(U,Y,this.ast.animation,Ve,bt,hi,Tr,Xa,Cn,oi);let mo=0;if(Wo.forEach(Ns=>{mo=Math.max(Ns.duration+Ns.delay,mo)}),oi.length)return Jl(Y,this._triggerName,ne,pe,ao,hi,Tr,[],[],Er,ms,mo,oi);Wo.forEach(Ns=>{const Va=Ns.element,hc=_r(Er,Va,new Set);Ns.preStyleProps.forEach(_o=>hc.add(_o));const Ml=_r(ms,Va,new Set);Ns.postStyleProps.forEach(_o=>Ml.add(_o)),Va!==Y&&sr.add(Va)});const Zo=Zr(sr.values());return Jl(Y,this._triggerName,ne,pe,ao,hi,Tr,Wo,Zo,Er,ms,mo)}}function Ga(q,U){const Y=Vr(U);for(const ne in q)q.hasOwnProperty(ne)&&null!=q[ne]&&(Y[ne]=q[ne]);return Y}class ra{constructor(U,Y,ne){this.styles=U,this.defaultParams=Y,this.normalizer=ne}buildStyles(U,Y){const ne=new Map,pe=Vr(this.defaultParams);return Object.keys(U).forEach(Ve=>{const bt=U[Ve];null!==bt&&(pe[Ve]=bt)}),this.styles.styles.forEach(Ve=>{"string"!=typeof Ve&&Ve.forEach((bt,It)=>{bt&&(bt=Mr(bt,pe,Y));const Xt=this.normalizer.normalizePropertyName(It,Y);bt=this.normalizer.normalizeStyleValue(It,Xt,bt,Y),ne.set(It,bt)})}),ne}}class Nl{constructor(U,Y,ne){this.name=U,this.ast=Y,this._normalizer=ne,this.transitionFactories=[],this.states=new Map,Y.states.forEach(pe=>{this.states.set(pe.name,new ra(pe.style,pe.options&&pe.options.params||{},ne))}),sl(this.states,"true","1"),sl(this.states,"false","0"),Y.transitions.forEach(pe=>{this.transitionFactories.push(new so(U,pe,this.states))}),this.fallbackTransition=function Oc(q,U,Y){return new so(q,{type:1,animation:{type:2,steps:[],options:null},matchers:[(bt,It)=>!0],options:null,queryCount:0,depCount:0},U)}(U,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(U,Y,ne,pe){return this.transitionFactories.find(bt=>bt.match(U,Y,ne,pe))||null}matchStyles(U,Y,ne){return this.fallbackTransition.buildStyles(U,Y,ne)}}function sl(q,U,Y){q.has(U)?q.has(Y)||q.set(Y,q.get(U)):q.has(Y)&&q.set(U,q.get(Y))}const bl=new Ne;class Cl{constructor(U,Y,ne){this.bodyNode=U,this._driver=Y,this._normalizer=ne,this._animations=new Map,this._playersById=new Map,this.players=[]}register(U,Y){const ne=[],Ve=nl(this._driver,Y,ne,[]);if(ne.length)throw function ns(q){return new t.vHH(3503,!1)}();this._animations.set(U,Ve)}_buildPlayer(U,Y,ne){const pe=U.element,Ve=un(this._normalizer,U.keyframes,Y,ne);return this._driver.animate(pe,Ve,U.duration,U.delay,U.easing,[],!0)}create(U,Y,ne={}){const pe=[],Ve=this._animations.get(U);let bt;const It=new Map;if(Ve?(bt=lr(this._driver,Y,Ve,as,Na,new Map,new Map,ne,bl,pe),bt.forEach(ni=>{const oi=_r(It,ni.element,new Map);ni.postStyleProps.forEach(Ei=>oi.set(Ei,null))})):(pe.push(function Nr(){return new t.vHH(3300,!1)}()),bt=[]),pe.length)throw function To(q){return new t.vHH(3504,!1)}();It.forEach((ni,oi)=>{ni.forEach((Ei,Hi)=>{ni.set(Hi,this._driver.computeStyle(oi,Hi,bn.l3))})});const Cn=Tt(bt.map(ni=>{const oi=It.get(ni.element);return this._buildPlayer(ni,new Map,oi)}));return this._playersById.set(U,Cn),Cn.onDestroy(()=>this.destroy(U)),this.players.push(Cn),Cn}destroy(U){const Y=this._getPlayer(U);Y.destroy(),this._playersById.delete(U);const ne=this.players.indexOf(Y);ne>=0&&this.players.splice(ne,1)}_getPlayer(U){const Y=this._playersById.get(U);if(!Y)throw function Bs(q){return new t.vHH(3301,!1)}();return Y}listen(U,Y,ne,pe){const Ve=Gi(Y,"","","");return Yn(this._getPlayer(U),ne,Ve,pe),()=>{}}command(U,Y,ne,pe){if("register"==ne)return void this.register(U,pe[0]);if("create"==ne)return void this.create(U,Y,pe[0]||{});const Ve=this._getPlayer(U);switch(ne){case"play":Ve.play();break;case"pause":Ve.pause();break;case"reset":Ve.reset();break;case"restart":Ve.restart();break;case"finish":Ve.finish();break;case"init":Ve.init();break;case"setPosition":Ve.setPosition(parseFloat(pe[0]));break;case"destroy":this.destroy(U)}}}const Ao="ng-animate-queued",ol="ng-animate-disabled",al=[],qo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Io={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},hr="__ng_removed";class zo{get params(){return this.options.params}constructor(U,Y=""){this.namespaceId=Y;const ne=U&&U.hasOwnProperty("value");if(this.value=function We(q){return q??null}(ne?U.value:U),ne){const Ve=Vr(U);delete Ve.value,this.options=Ve}else this.options={};this.options.params||(this.options.params={})}absorbOptions(U){const Y=U.params;if(Y){const ne=this.options.params;Object.keys(Y).forEach(pe=>{null==ne[pe]&&(ne[pe]=Y[pe])})}}}const Wr="void",is=new zo(Wr);class Ql{constructor(U,Y,ne){this.id=U,this.hostElement=Y,this._engine=ne,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+U,qr(Y,this._hostClassName)}listen(U,Y,ne,pe){if(!this._triggers.has(Y))throw function Eo(q,U){return new t.vHH(3302,!1)}();if(null==ne||0==ne.length)throw function wo(q){return new t.vHH(3303,!1)}();if(!function Ln(q){return"start"==q||"done"==q}(ne))throw function Ra(q,U){return new t.vHH(3400,!1)}();const Ve=_r(this._elementListeners,U,[]),bt={name:Y,phase:ne,callback:pe};Ve.push(bt);const It=_r(this._engine.statesByElement,U,new Map);return It.has(Y)||(qr(U,Ma),qr(U,Ma+"-"+Y),It.set(Y,is)),()=>{this._engine.afterFlush(()=>{const Xt=Ve.indexOf(bt);Xt>=0&&Ve.splice(Xt,1),this._triggers.has(Y)||It.delete(Y)})}}register(U,Y){return!this._triggers.has(U)&&(this._triggers.set(U,Y),!0)}_getTrigger(U){const Y=this._triggers.get(U);if(!Y)throw function Ps(q){return new t.vHH(3401,!1)}();return Y}trigger(U,Y,ne,pe=!0){const Ve=this._getTrigger(Y),bt=new qe(this.id,Y,U);let It=this._engine.statesByElement.get(U);It||(qr(U,Ma),qr(U,Ma+"-"+Y),this._engine.statesByElement.set(U,It=new Map));let Xt=It.get(Y);const Cn=new zo(ne,this.id);if(!(ne&&ne.hasOwnProperty("value"))&&Xt&&Cn.absorbOptions(Xt.options),It.set(Y,Cn),Xt||(Xt=is),Cn.value!==Wr&&Xt.value===Cn.value){if(!function rs(q,U){const Y=Object.keys(q),ne=Object.keys(U);if(Y.length!=ne.length)return!1;for(let pe=0;pe{Aa(U,Tr),Mo(U,sr)})}return}const Ei=_r(this._engine.playersByElement,U,[]);Ei.forEach(wi=>{wi.namespaceId==this.id&&wi.triggerName==Y&&wi.queued&&wi.destroy()});let Hi=Ve.matchTransition(Xt.value,Cn.value,U,Cn.params),hi=!1;if(!Hi){if(!pe)return;Hi=Ve.fallbackTransition,hi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:U,triggerName:Y,transition:Hi,fromState:Xt,toState:Cn,player:bt,isFallbackTransition:hi}),hi||(qr(U,Ao),bt.onStart(()=>{ls(U,Ao)})),bt.onDone(()=>{let wi=this.players.indexOf(bt);wi>=0&&this.players.splice(wi,1);const Tr=this._engine.playersByElement.get(U);if(Tr){let sr=Tr.indexOf(bt);sr>=0&&Tr.splice(sr,1)}}),this.players.push(bt),Ei.push(bt),bt}deregister(U){this._triggers.delete(U),this._engine.statesByElement.forEach(Y=>Y.delete(U)),this._elementListeners.forEach((Y,ne)=>{this._elementListeners.set(ne,Y.filter(pe=>pe.name!=U))})}clearElementCache(U){this._engine.statesByElement.delete(U),this._elementListeners.delete(U);const Y=this._engine.playersByElement.get(U);Y&&(Y.forEach(ne=>ne.destroy()),this._engine.playersByElement.delete(U))}_signalRemovalForInnerTriggers(U,Y){const ne=this._engine.driver.query(U,Fi,!0);ne.forEach(pe=>{if(pe[hr])return;const Ve=this._engine.fetchNamespacesByElement(pe);Ve.size?Ve.forEach(bt=>bt.triggerLeaveAnimation(pe,Y,!1,!0)):this.clearElementCache(pe)}),this._engine.afterFlushAnimationsDone(()=>ne.forEach(pe=>this.clearElementCache(pe)))}triggerLeaveAnimation(U,Y,ne,pe){const Ve=this._engine.statesByElement.get(U),bt=new Map;if(Ve){const It=[];if(Ve.forEach((Xt,Cn)=>{if(bt.set(Cn,Xt.value),this._triggers.has(Cn)){const ni=this.trigger(U,Cn,Wr,pe);ni&&It.push(ni)}}),It.length)return this._engine.markElementAsRemoved(this.id,U,!0,Y,bt),ne&&Tt(It).onDone(()=>this._engine.processLeaveNode(U)),!0}return!1}prepareLeaveAnimationListeners(U){const Y=this._elementListeners.get(U),ne=this._engine.statesByElement.get(U);if(Y&&ne){const pe=new Set;Y.forEach(Ve=>{const bt=Ve.name;if(pe.has(bt))return;pe.add(bt);const Xt=this._triggers.get(bt).fallbackTransition,Cn=ne.get(bt)||is,ni=new zo(Wr),oi=new qe(this.id,bt,U);this._engine.totalQueuedPlayers++,this._queue.push({element:U,triggerName:bt,transition:Xt,fromState:Cn,toState:ni,player:oi,isFallbackTransition:!0})})}}removeNode(U,Y){const ne=this._engine;if(U.childElementCount&&this._signalRemovalForInnerTriggers(U,Y),this.triggerLeaveAnimation(U,Y,!0))return;let pe=!1;if(ne.totalAnimations){const Ve=ne.players.length?ne.playersByQueriedElement.get(U):[];if(Ve&&Ve.length)pe=!0;else{let bt=U;for(;bt=bt.parentNode;)if(ne.statesByElement.get(bt)){pe=!0;break}}}if(this.prepareLeaveAnimationListeners(U),pe)ne.markElementAsRemoved(this.id,U,!1,Y);else{const Ve=U[hr];(!Ve||Ve===qo)&&(ne.afterFlush(()=>this.clearElementCache(U)),ne.destroyInnerAnimations(U),ne._onRemovalComplete(U,Y))}}insertNode(U,Y){qr(U,this._hostClassName)}drainQueuedTransitions(U){const Y=[];return this._queue.forEach(ne=>{const pe=ne.player;if(pe.destroyed)return;const Ve=ne.element,bt=this._elementListeners.get(Ve);bt&&bt.forEach(It=>{if(It.name==ne.triggerName){const Xt=Gi(Ve,ne.triggerName,ne.fromState.value,ne.toState.value);Xt._data=U,Yn(ne.player,It.phase,Xt,It.callback)}}),pe.markedForDestroy?this._engine.afterFlush(()=>{pe.destroy()}):Y.push(ne)}),this._queue=[],Y.sort((ne,pe)=>{const Ve=ne.transition.ast.depCount,bt=pe.transition.ast.depCount;return 0==Ve||0==bt?Ve-bt:this._engine.driver.containsElement(ne.element,pe.element)?1:-1})}destroy(U){this.players.forEach(Y=>Y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,U)}}class re{_onRemovalComplete(U,Y){this.onRemovalComplete(U,Y)}constructor(U,Y,ne){this.bodyNode=U,this.driver=Y,this._normalizer=ne,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=(pe,Ve)=>{}}get queuedPlayers(){const U=[];return this._namespaceList.forEach(Y=>{Y.players.forEach(ne=>{ne.queued&&U.push(ne)})}),U}createNamespace(U,Y){const ne=new Ql(U,Y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,Y)?this._balanceNamespaceList(ne,Y):(this.newHostElements.set(Y,ne),this.collectEnterElement(Y)),this._namespaceLookup[U]=ne}_balanceNamespaceList(U,Y){const ne=this._namespaceList,pe=this.namespacesByHostElement;if(ne.length-1>=0){let bt=!1,It=this.driver.getParentElement(Y);for(;It;){const Xt=pe.get(It);if(Xt){const Cn=ne.indexOf(Xt);ne.splice(Cn+1,0,U),bt=!0;break}It=this.driver.getParentElement(It)}bt||ne.unshift(U)}else ne.push(U);return pe.set(Y,U),U}register(U,Y){let ne=this._namespaceLookup[U];return ne||(ne=this.createNamespace(U,Y)),ne}registerTrigger(U,Y,ne){let pe=this._namespaceLookup[U];pe&&pe.register(Y,ne)&&this.totalAnimations++}destroy(U,Y){U&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ne=this._fetchNamespace(U);this.namespacesByHostElement.delete(ne.hostElement);const pe=this._namespaceList.indexOf(ne);pe>=0&&this._namespaceList.splice(pe,1),ne.destroy(Y),delete this._namespaceLookup[U]}))}_fetchNamespace(U){return this._namespaceLookup[U]}fetchNamespacesByElement(U){const Y=new Set,ne=this.statesByElement.get(U);if(ne)for(let pe of ne.values())if(pe.namespaceId){const Ve=this._fetchNamespace(pe.namespaceId);Ve&&Y.add(Ve)}return Y}trigger(U,Y,ne,pe){if(Ut(Y)){const Ve=this._fetchNamespace(U);if(Ve)return Ve.trigger(Y,ne,pe),!0}return!1}insertNode(U,Y,ne,pe){if(!Ut(Y))return;const Ve=Y[hr];if(Ve&&Ve.setForRemoval){Ve.setForRemoval=!1,Ve.setForMove=!0;const bt=this.collectedLeaveElements.indexOf(Y);bt>=0&&this.collectedLeaveElements.splice(bt,1)}if(U){const bt=this._fetchNamespace(U);bt&&bt.insertNode(Y,ne)}pe&&this.collectEnterElement(Y)}collectEnterElement(U){this.collectedEnterElements.push(U)}markElementAsDisabled(U,Y){Y?this.disabledNodes.has(U)||(this.disabledNodes.add(U),qr(U,ol)):this.disabledNodes.has(U)&&(this.disabledNodes.delete(U),ls(U,ol))}removeNode(U,Y,ne){if(Ut(Y)){const pe=U?this._fetchNamespace(U):null;pe?pe.removeNode(Y,ne):this.markElementAsRemoved(U,Y,!1,ne);const Ve=this.namespacesByHostElement.get(Y);Ve&&Ve.id!==U&&Ve.removeNode(Y,ne)}else this._onRemovalComplete(Y,ne)}markElementAsRemoved(U,Y,ne,pe,Ve){this.collectedLeaveElements.push(Y),Y[hr]={namespaceId:U,setForRemoval:pe,hasAnimation:ne,removedBeforeQueried:!1,previousTriggersValues:Ve}}listen(U,Y,ne,pe,Ve){return Ut(Y)?this._fetchNamespace(U).listen(Y,ne,pe,Ve):()=>{}}_buildInstruction(U,Y,ne,pe,Ve){return U.transition.build(this.driver,U.element,U.fromState.value,U.toState.value,ne,pe,U.fromState.options,U.toState.options,Y,Ve)}destroyInnerAnimations(U){let Y=this.driver.query(U,Fi,!0);Y.forEach(ne=>this.destroyActiveAnimationsForElement(ne)),0!=this.playersByQueriedElement.size&&(Y=this.driver.query(U,dr,!0),Y.forEach(ne=>this.finishActiveQueriedAnimationOnElement(ne)))}destroyActiveAnimationsForElement(U){const Y=this.playersByElement.get(U);Y&&Y.forEach(ne=>{ne.queued?ne.markedForDestroy=!0:ne.destroy()})}finishActiveQueriedAnimationOnElement(U){const Y=this.playersByQueriedElement.get(U);Y&&Y.forEach(ne=>ne.finish())}whenRenderingDone(){return new Promise(U=>{if(this.players.length)return Tt(this.players).onDone(()=>U());U()})}processLeaveNode(U){const Y=U[hr];if(Y&&Y.setForRemoval){if(U[hr]=qo,Y.namespaceId){this.destroyInnerAnimations(U);const ne=this._fetchNamespace(Y.namespaceId);ne&&ne.clearElementCache(U)}this._onRemovalComplete(U,Y.setForRemoval)}U.classList?.contains(ol)&&this.markElementAsDisabled(U,!1),this.driver.query(U,".ng-animate-disabled",!0).forEach(ne=>{this.markElementAsDisabled(ne,!1)})}flush(U=-1){let Y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ne,pe)=>this._balanceNamespaceList(ne,pe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ne=0;nene()),this._flushFns=[],this._whenQuietFns.length){const ne=this._whenQuietFns;this._whenQuietFns=[],Y.length?Tt(Y).onDone(()=>{ne.forEach(pe=>pe())}):ne.forEach(pe=>pe())}}reportError(U){throw function Ds(q){return new t.vHH(3402,!1)}()}_flushAnimations(U,Y){const ne=new Ne,pe=[],Ve=new Map,bt=[],It=new Map,Xt=new Map,Cn=new Map,ni=new Set;this.disabledNodes.forEach(tr=>{ni.add(tr);const Ir=this.driver.query(tr,".ng-animate-queued",!0);for(let kr=0;kr{const kr=as+wi++;hi.set(Ir,kr),tr.forEach(Jr=>qr(Jr,kr))});const Tr=[],sr=new Set,Er=new Set;for(let tr=0;trsr.add(Jr)):Er.add(Ir))}const ms=new Map,ao=ps(Ei,Array.from(sr));ao.forEach((tr,Ir)=>{const kr=Na+wi++;ms.set(Ir,kr),tr.forEach(Jr=>qr(Jr,kr))}),U.push(()=>{Hi.forEach((tr,Ir)=>{const kr=hi.get(Ir);tr.forEach(Jr=>ls(Jr,kr))}),ao.forEach((tr,Ir)=>{const kr=ms.get(Ir);tr.forEach(Jr=>ls(Jr,kr))}),Tr.forEach(tr=>{this.processLeaveNode(tr)})});const Xa=[],Wo=[];for(let tr=this._namespaceList.length-1;tr>=0;tr--)this._namespaceList[tr].drainQueuedTransitions(Y).forEach(kr=>{const Jr=kr.player,Go=kr.element;if(Xa.push(Jr),this.collectedEnterElements.length){const cl=Go[hr];if(cl&&cl.setForMove){if(cl.previousTriggersValues&&cl.previousTriggersValues.has(kr.triggerName)){const qa=cl.previousTriggersValues.get(kr.triggerName),zl=this.statesByElement.get(kr.element);if(zl&&zl.has(kr.triggerName)){const Dl=zl.get(kr.triggerName);Dl.value=qa,zl.set(kr.triggerName,Dl)}}return void Jr.destroy()}}const oa=!oi||!this.driver.containsElement(oi,Go),Hl=ms.get(Go),vs=hi.get(Go),fs=this._buildInstruction(kr,ne,vs,Hl,oa);if(fs.errors&&fs.errors.length)return void Wo.push(fs);if(oa)return Jr.onStart(()=>Aa(Go,fs.fromStyles)),Jr.onDestroy(()=>Mo(Go,fs.toStyles)),void pe.push(Jr);if(kr.isFallbackTransition)return Jr.onStart(()=>Aa(Go,fs.fromStyles)),Jr.onDestroy(()=>Mo(Go,fs.toStyles)),void pe.push(Jr);const aa=[];fs.timelines.forEach(cl=>{cl.stretchStartingKeyframe=!0,this.disabledNodes.has(cl.element)||aa.push(cl)}),fs.timelines=aa,ne.append(Go,fs.timelines),bt.push({instruction:fs,player:Jr,element:Go}),fs.queriedElements.forEach(cl=>_r(It,cl,[]).push(Jr)),fs.preStyleProps.forEach((cl,qa)=>{if(cl.size){let zl=Xt.get(qa);zl||Xt.set(qa,zl=new Set),cl.forEach((Dl,sc)=>zl.add(sc))}}),fs.postStyleProps.forEach((cl,qa)=>{let zl=Cn.get(qa);zl||Cn.set(qa,zl=new Set),cl.forEach((Dl,sc)=>zl.add(sc))})});if(Wo.length){const tr=[];Wo.forEach(Ir=>{tr.push(function En(q,U){return new t.vHH(3505,!1)}())}),Xa.forEach(Ir=>Ir.destroy()),this.reportError(tr)}const mo=new Map,Zo=new Map;bt.forEach(tr=>{const Ir=tr.element;ne.has(Ir)&&(Zo.set(Ir,Ir),this._beforeAnimationBuild(tr.player.namespaceId,tr.instruction,mo))}),pe.forEach(tr=>{const Ir=tr.element;this._getPreviousPlayers(Ir,!1,tr.namespaceId,tr.triggerName,null).forEach(Jr=>{_r(mo,Ir,[]).push(Jr),Jr.destroy()})});const Ns=Tr.filter(tr=>ea(tr,Xt,Cn)),Va=new Map;Si(Va,this.driver,Er,Cn,bn.l3).forEach(tr=>{ea(tr,Xt,Cn)&&Ns.push(tr)});const Ml=new Map;Hi.forEach((tr,Ir)=>{Si(Ml,this.driver,new Set(tr),Xt,bn.k1)}),Ns.forEach(tr=>{const Ir=Va.get(tr),kr=Ml.get(tr);Va.set(tr,new Map([...Ir?.entries()??[],...kr?.entries()??[]]))});const _o=[],Is=[],ll={};bt.forEach(tr=>{const{element:Ir,player:kr,instruction:Jr}=tr;if(ne.has(Ir)){if(ni.has(Ir))return kr.onDestroy(()=>Mo(Ir,Jr.toStyles)),kr.disabled=!0,kr.overrideTotalTime(Jr.totalTime),void pe.push(kr);let Go=ll;if(Zo.size>1){let Hl=Ir;const vs=[];for(;Hl=Hl.parentNode;){const fs=Zo.get(Hl);if(fs){Go=fs;break}vs.push(Hl)}vs.forEach(fs=>Zo.set(fs,Go))}const oa=this._buildAnimation(kr.namespaceId,Jr,mo,Ve,Ml,Va);if(kr.setRealPlayer(oa),Go===ll)_o.push(kr);else{const Hl=this.playersByElement.get(Go);Hl&&Hl.length&&(kr.parentPlayer=Tt(Hl)),pe.push(kr)}}else Aa(Ir,Jr.fromStyles),kr.onDestroy(()=>Mo(Ir,Jr.toStyles)),Is.push(kr),ni.has(Ir)&&pe.push(kr)}),Is.forEach(tr=>{const Ir=Ve.get(tr.element);if(Ir&&Ir.length){const kr=Tt(Ir);tr.setRealPlayer(kr)}}),pe.forEach(tr=>{tr.parentPlayer?tr.syncPlayerEvents(tr.parentPlayer):tr.destroy()});for(let tr=0;tr!oa.destroyed);Go.length?zr(this,Ir,Go):this.processLeaveNode(Ir)}return Tr.length=0,_o.forEach(tr=>{this.players.push(tr),tr.onDone(()=>{tr.destroy();const Ir=this.players.indexOf(tr);this.players.splice(Ir,1)}),tr.play()}),_o}afterFlush(U){this._flushFns.push(U)}afterFlushAnimationsDone(U){this._whenQuietFns.push(U)}_getPreviousPlayers(U,Y,ne,pe,Ve){let bt=[];if(Y){const It=this.playersByQueriedElement.get(U);It&&(bt=It)}else{const It=this.playersByElement.get(U);if(It){const Xt=!Ve||Ve==Wr;It.forEach(Cn=>{Cn.queued||!Xt&&Cn.triggerName!=pe||bt.push(Cn)})}}return(ne||pe)&&(bt=bt.filter(It=>!(ne&&ne!=It.namespaceId||pe&&pe!=It.triggerName))),bt}_beforeAnimationBuild(U,Y,ne){const Ve=Y.element,bt=Y.isRemovalTransition?void 0:U,It=Y.isRemovalTransition?void 0:Y.triggerName;for(const Xt of Y.timelines){const Cn=Xt.element,ni=Cn!==Ve,oi=_r(ne,Cn,[]);this._getPreviousPlayers(Cn,ni,bt,It,Y.toState).forEach(Hi=>{const hi=Hi.getRealPlayer();hi.beforeDestroy&&hi.beforeDestroy(),Hi.destroy(),oi.push(Hi)})}Aa(Ve,Y.fromStyles)}_buildAnimation(U,Y,ne,pe,Ve,bt){const It=Y.triggerName,Xt=Y.element,Cn=[],ni=new Set,oi=new Set,Ei=Y.timelines.map(hi=>{const wi=hi.element;ni.add(wi);const Tr=wi[hr];if(Tr&&Tr.removedBeforeQueried)return new bn.ZN(hi.duration,hi.delay);const sr=wi!==Xt,Er=function Ws(q){const U=[];return ks(q,U),U}((ne.get(wi)||al).map(mo=>mo.getRealPlayer())).filter(mo=>!!mo.element&&mo.element===wi),ms=Ve.get(wi),ao=bt.get(wi),Xa=un(this._normalizer,hi.keyframes,ms,ao),Wo=this._buildPlayer(hi,Xa,Er);if(hi.subTimeline&&pe&&oi.add(wi),sr){const mo=new qe(U,It,wi);mo.setRealPlayer(Wo),Cn.push(mo)}return Wo});Cn.forEach(hi=>{_r(this.playersByQueriedElement,hi.element,[]).push(hi),hi.onDone(()=>function Te(q,U,Y){let ne=q.get(U);if(ne){if(ne.length){const pe=ne.indexOf(Y);ne.splice(pe,1)}0==ne.length&&q.delete(U)}return ne}(this.playersByQueriedElement,hi.element,hi))}),ni.forEach(hi=>qr(hi,_i));const Hi=Tt(Ei);return Hi.onDestroy(()=>{ni.forEach(hi=>ls(hi,_i)),Mo(Xt,Y.toStyles)}),oi.forEach(hi=>{_r(pe,hi,[]).push(Hi)}),Hi}_buildPlayer(U,Y,ne){return Y.length>0?this.driver.animate(U.element,Y,U.duration,U.delay,U.easing,ne):new bn.ZN(U.duration,U.delay)}}class qe{constructor(U,Y,ne){this.namespaceId=U,this.triggerName=Y,this.element=ne,this._player=new bn.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(U){this._containsRealPlayer||(this._player=U,this._queuedCallbacks.forEach((Y,ne)=>{Y.forEach(pe=>Yn(U,ne,void 0,pe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(U.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(U){this.totalTime=U}syncPlayerEvents(U){const Y=this._player;Y.triggerCallback&&U.onStart(()=>Y.triggerCallback("start")),U.onDone(()=>this.finish()),U.onDestroy(()=>this.destroy())}_queueEvent(U,Y){_r(this._queuedCallbacks,U,[]).push(Y)}onDone(U){this.queued&&this._queueEvent("done",U),this._player.onDone(U)}onStart(U){this.queued&&this._queueEvent("start",U),this._player.onStart(U)}onDestroy(U){this.queued&&this._queueEvent("destroy",U),this._player.onDestroy(U)}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(U){this.queued||this._player.setPosition(U)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(U){const Y=this._player;Y.triggerCallback&&Y.triggerCallback(U)}}function Ut(q){return q&&1===q.nodeType}function Hn(q,U){const Y=q.style.display;return q.style.display=U??"none",Y}function Si(q,U,Y,ne,pe){const Ve=[];Y.forEach(Xt=>Ve.push(Hn(Xt)));const bt=[];ne.forEach((Xt,Cn)=>{const ni=new Map;Xt.forEach(oi=>{const Ei=U.computeStyle(Cn,oi,pe);ni.set(oi,Ei),(!Ei||0==Ei.length)&&(Cn[hr]=Io,bt.push(Cn))}),q.set(Cn,ni)});let It=0;return Y.forEach(Xt=>Hn(Xt,Ve[It++])),bt}function ps(q,U){const Y=new Map;if(q.forEach(It=>Y.set(It,[])),0==U.length)return Y;const pe=new Set(U),Ve=new Map;function bt(It){if(!It)return 1;let Xt=Ve.get(It);if(Xt)return Xt;const Cn=It.parentNode;return Xt=Y.has(Cn)?Cn:pe.has(Cn)?1:bt(Cn),Ve.set(It,Xt),Xt}return U.forEach(It=>{const Xt=bt(It);1!==Xt&&Y.get(Xt).push(It)}),Y}function qr(q,U){q.classList?.add(U)}function ls(q,U){q.classList?.remove(U)}function zr(q,U,Y){Tt(Y).onDone(()=>q.processLeaveNode(U))}function ks(q,U){for(let Y=0;Ype.add(Ve)):U.set(q,ne),Y.delete(q),!0}class Zs{constructor(U,Y,ne){this.bodyNode=U,this._driver=Y,this._normalizer=ne,this._triggerCache={},this.onRemovalComplete=(pe,Ve)=>{},this._transitionEngine=new re(U,Y,ne),this._timelineEngine=new Cl(U,Y,ne),this._transitionEngine.onRemovalComplete=(pe,Ve)=>this.onRemovalComplete(pe,Ve)}registerTrigger(U,Y,ne,pe,Ve){const bt=U+"-"+pe;let It=this._triggerCache[bt];if(!It){const Xt=[],ni=nl(this._driver,Ve,Xt,[]);if(Xt.length)throw function xs(q,U){return new t.vHH(3404,!1)}();It=function ai(q,U,Y){return new Nl(q,U,Y)}(pe,ni,this._normalizer),this._triggerCache[bt]=It}this._transitionEngine.registerTrigger(Y,pe,It)}register(U,Y){this._transitionEngine.register(U,Y)}destroy(U,Y){this._transitionEngine.destroy(U,Y)}onInsert(U,Y,ne,pe){this._transitionEngine.insertNode(U,Y,ne,pe)}onRemove(U,Y,ne){this._transitionEngine.removeNode(U,Y,ne)}disableAnimations(U,Y){this._transitionEngine.markElementAsDisabled(U,Y)}process(U,Y,ne,pe){if("@"==ne.charAt(0)){const[Ve,bt]=us(ne);this._timelineEngine.command(Ve,Y,bt,pe)}else this._transitionEngine.trigger(U,Y,ne,pe)}listen(U,Y,ne,pe,Ve){if("@"==ne.charAt(0)){const[bt,It]=us(ne);return this._timelineEngine.listen(bt,Y,It,Ve)}return this._transitionEngine.listen(U,Y,ne,pe,Ve)}flush(U=-1){this._transitionEngine.flush(U)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(U){this._transitionEngine.afterFlushAnimationsDone(U)}}let Ya=(()=>{class q{static#e=this.initialStylesByElement=new WeakMap;constructor(Y,ne,pe){this._element=Y,this._startStyles=ne,this._endStyles=pe,this._state=0;let Ve=q.initialStylesByElement.get(Y);Ve||q.initialStylesByElement.set(Y,Ve=new Map),this._initialStyles=Ve}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&&(q.initialStylesByElement.delete(this._element),this._startStyles&&(Aa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Aa(this._element,this._endStyles),this._endStyles=null),Mo(this._element,this._initialStyles),this._state=3)}}return q})();function $a(q){let U=null;return q.forEach((Y,ne)=>{(function fo(q){return"display"===q||"position"===q})(ne)&&(U=U||new Map,U.set(ne,Y))}),U}class za{constructor(U,Y,ne,pe){this.element=U,this.keyframes=Y,this.options=ne,this._specialStyles=pe,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=ne.duration,this._delay=ne.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const U=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,U,this.options),this._finalKeyframe=U.length?U[U.length-1]:new Map;const Y=()=>this._onFinish();this.domPlayer.addEventListener("finish",Y),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",Y)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(U){const Y=[];return U.forEach(ne=>{Y.push(Object.fromEntries(ne))}),Y}_triggerWebAnimation(U,Y,ne){return U.animate(this._convertKeyframesToObject(Y),ne)}onStart(U){this._originalOnStartFns.push(U),this._onStartFns.push(U)}onDone(U){this._originalOnDoneFns.push(U),this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(U=>U()),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(U=>U()),this._onDestroyFns=[])}setPosition(U){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=U*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const U=new Map;this.hasStarted()&&this._finalKeyframe.forEach((ne,pe)=>{"offset"!==pe&&U.set(pe,this._finished?ne:fa(this.element,pe))}),this.currentSnapshot=U}triggerCallback(U){const Y="start"===U?this._onStartFns:this._onDoneFns;Y.forEach(ne=>ne()),Y.length=0}}class Uc{validateStyleProperty(U){return!0}validateAnimatableStyleProperty(U){return!0}matchesElement(U,Y){return!1}containsElement(U,Y){return er(U,Y)}getParentElement(U){return Fo(U)}query(U,Y,ne){return Cr(U,Y,ne)}computeStyle(U,Y,ne){return window.getComputedStyle(U)[Y]}animate(U,Y,ne,pe,Ve,bt=[]){const Xt={duration:ne,delay:pe,fill:0==pe?"both":"forwards"};Ve&&(Xt.easing=Ve);const Cn=new Map,ni=bt.filter(Hi=>Hi instanceof za);(function Js(q,U){return 0===q||0===U})(ne,pe)&&ni.forEach(Hi=>{Hi.currentSnapshot.forEach((hi,wi)=>Cn.set(wi,hi))});let oi=function $o(q){return q.length?q[0]instanceof Map?q:q.map(U=>os(U)):[]}(Y).map(Hi=>Rn(Hi));oi=function Ia(q,U,Y){if(Y.size&&U.length){let ne=U[0],pe=[];if(Y.forEach((Ve,bt)=>{ne.has(bt)||pe.push(bt),ne.set(bt,Ve)}),pe.length)for(let Ve=1;Vebt.set(It,fa(q,It)))}}return U}(U,oi,Cn);const Ei=function xa(q,U){let Y=null,ne=null;return Array.isArray(U)&&U.length?(Y=$a(U[0]),U.length>1&&(ne=$a(U[U.length-1]))):U instanceof Map&&(Y=$a(U)),Y||ne?new Ya(q,Y,ne):null}(U,oi);return new za(U,oi,Xt,Ei)}}let Es=(()=>{class q extends bn._j{constructor(Y,ne){super(),this._nextAnimationId=0,this._renderer=Y.createRenderer(ne.body,{id:"0",encapsulation:t.ifc.None,styles:[],data:{animation:[]}})}build(Y){const ne=this._nextAnimationId.toString();this._nextAnimationId++;const pe=Array.isArray(Y)?(0,bn.vP)(Y):Y;return go(this._renderer,null,ne,"register",[pe]),new Vl(ne,this._renderer)}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(t.FYo),t.LFG(k.K0))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})();class Vl extends bn.LC{constructor(U,Y){super(),this._id=U,this._renderer=Y}create(U,Y){return new Ka(this._id,U,Y||{},this._renderer)}}class Ka{constructor(U,Y,ne,pe){this.id=U,this.element=Y,this._renderer=pe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ne)}_listen(U,Y){return this._renderer.listen(this.element,`@@${this.id}:${U}`,Y)}_command(U,...Y){return go(this._renderer,this.element,this.id,U,Y)}onDone(U){this._listen("done",U)}onStart(U){this._listen("start",U)}onDestroy(U){this._listen("destroy",U)}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(U){this._command("setPosition",U)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function go(q,U,Y,ne,pe){return q.setProperty(U,`@@${Y}:${ne}`,pe)}const Ba="@.disabled";let po=(()=>{class q{constructor(Y,ne,pe){this.delegate=Y,this.engine=ne,this._zone=pe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ne.onRemovalComplete=(Ve,bt)=>{const It=bt?.parentNode(Ve);It&&bt.removeChild(It,Ve)}}createRenderer(Y,ne){const Ve=this.delegate.createRenderer(Y,ne);if(!(Y&&ne&&ne.data&&ne.data.animation)){let ni=this._rendererCache.get(Ve);return ni||(ni=new yo("",Ve,this.engine,()=>this._rendererCache.delete(Ve)),this._rendererCache.set(Ve,ni)),ni}const bt=ne.id,It=ne.id+"-"+this._currentId;this._currentId++,this.engine.register(It,Y);const Xt=ni=>{Array.isArray(ni)?ni.forEach(Xt):this.engine.registerTrigger(bt,It,Y,ni.name,ni)};return ne.data.animation.forEach(Xt),new ma(this,It,Ve,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(Y,ne,pe){Y>=0&&Yne(pe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Ve=>{const[bt,It]=Ve;bt(It)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ne,pe]))}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()}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(t.FYo),t.LFG(Zs),t.LFG(t.R0b))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})();class yo{constructor(U,Y,ne,pe){this.namespaceId=U,this.delegate=Y,this.engine=ne,this._onDestroy=pe}get data(){return this.delegate.data}destroyNode(U){this.delegate.destroyNode?.(U)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(U,Y){return this.delegate.createElement(U,Y)}createComment(U){return this.delegate.createComment(U)}createText(U){return this.delegate.createText(U)}appendChild(U,Y){this.delegate.appendChild(U,Y),this.engine.onInsert(this.namespaceId,Y,U,!1)}insertBefore(U,Y,ne,pe=!0){this.delegate.insertBefore(U,Y,ne),this.engine.onInsert(this.namespaceId,Y,U,pe)}removeChild(U,Y,ne){this.engine.onRemove(this.namespaceId,Y,this.delegate)}selectRootElement(U,Y){return this.delegate.selectRootElement(U,Y)}parentNode(U){return this.delegate.parentNode(U)}nextSibling(U){return this.delegate.nextSibling(U)}setAttribute(U,Y,ne,pe){this.delegate.setAttribute(U,Y,ne,pe)}removeAttribute(U,Y,ne){this.delegate.removeAttribute(U,Y,ne)}addClass(U,Y){this.delegate.addClass(U,Y)}removeClass(U,Y){this.delegate.removeClass(U,Y)}setStyle(U,Y,ne,pe){this.delegate.setStyle(U,Y,ne,pe)}removeStyle(U,Y,ne){this.delegate.removeStyle(U,Y,ne)}setProperty(U,Y,ne){"@"==Y.charAt(0)&&Y==Ba?this.disableAnimations(U,!!ne):this.delegate.setProperty(U,Y,ne)}setValue(U,Y){this.delegate.setValue(U,Y)}listen(U,Y,ne){return this.delegate.listen(U,Y,ne)}disableAnimations(U,Y){this.engine.disableAnimations(U,Y)}}class ma extends yo{constructor(U,Y,ne,pe,Ve){super(Y,ne,pe,Ve),this.factory=U,this.namespaceId=Y}setProperty(U,Y,ne){"@"==Y.charAt(0)?"."==Y.charAt(1)&&Y==Ba?this.disableAnimations(U,ne=void 0===ne||!!ne):this.engine.process(this.namespaceId,U,Y.slice(1),ne):this.delegate.setProperty(U,Y,ne)}listen(U,Y,ne){if("@"==Y.charAt(0)){const pe=function xl(q){switch(q){case"body":return document.body;case"document":return document;case"window":return window;default:return q}}(U);let Ve=Y.slice(1),bt="";return"@"!=Ve.charAt(0)&&([Ve,bt]=function Xl(q){const U=q.indexOf(".");return[q.substring(0,U),q.slice(U+1)]}(Ve)),this.engine.listen(this.namespaceId,pe,Ve,bt,It=>{this.factory.scheduleListenerCallback(It._data||-1,ne,It)})}return this.delegate.listen(U,Y,ne)}}const Pc=[{provide:bn._j,useClass:Es},{provide:Cs,useFactory:function cc(){return new ba}},{provide:Zs,useClass:(()=>{class q extends Zs{constructor(Y,ne,pe,Ve){super(Y.body,ne,pe)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(ne){return new(ne||q)(t.LFG(k.K0),t.LFG(ds),t.LFG(Cs),t.LFG(t.z2F))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac})}return q})()},{provide:t.FYo,useFactory:function Hc(q,U,Y){return new po(q,U,Y)},deps:[i.se,Zs,t.R0b]}],uc=[{provide:ds,useFactory:()=>new Uc},{provide:t.QbO,useValue:"BrowserAnimations"},...Pc],ql=[{provide:ds,useClass:br},{provide:t.QbO,useValue:"NoopAnimations"},...Pc];let Yl=(()=>{class q{static withConfig(Y){return{ngModule:q,providers:Y.disableAnimations?ql:uc}}static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275mod=t.oAB({type:q});static#n=this.\u0275inj=t.cJS({providers:uc,imports:[i.b2]})}return q})();var Ac=m(5336),au=m(2864),ic=m(9179),Zc=m(6925),El=m(9838),Gc=m(6929),Ja=m(5315),rc=m(8393);let Vo=(()=>{class q extends Ja.s{pathId;ngOnInit(){this.pathId="url(#"+(0,rc.Th)()+")"}static \u0275fac=function(){let Y;return function(pe){return(Y||(Y=t.n5z(q)))(pe||q)}}();static \u0275cmp=t.Xpm({type:q,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[t.qOj,t.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(ne,pe){1&ne&&(t.O4$(),t.TgZ(0,"svg",0)(1,"g"),t._UZ(2,"path",1),t.qZA(),t.TgZ(3,"defs")(4,"clipPath",2),t._UZ(5,"rect",3),t.qZA()()()),2&ne&&(t.Tol(pe.getClassNames()),t.uIk("aria-label",pe.ariaLabel)("aria-hidden",pe.ariaHidden)("role",pe.role),t.xp6(1),t.uIk("clip-path",pe.pathId),t.xp6(3),t.Q6J("id",pe.pathId))},encapsulation:2})}return q})(),$c=(()=>{class q extends Ja.s{pathId;ngOnInit(){this.pathId="url(#"+(0,rc.Th)()+")"}static \u0275fac=function(){let Y;return function(pe){return(Y||(Y=t.n5z(q)))(pe||q)}}();static \u0275cmp=t.Xpm({type:q,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[t.qOj,t.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(ne,pe){1&ne&&(t.O4$(),t.TgZ(0,"svg",0)(1,"g"),t._UZ(2,"path",1),t.qZA(),t.TgZ(3,"defs")(4,"clipPath",2),t._UZ(5,"rect",3),t.qZA()()()),2&ne&&(t.Tol(pe.getClassNames()),t.uIk("aria-label",pe.ariaLabel)("aria-hidden",pe.ariaHidden)("role",pe.role),t.xp6(1),t.uIk("clip-path",pe.pathId),t.xp6(3),t.Q6J("id",pe.pathId))},encapsulation:2})}return q})();(0,bn.oQ)([(0,bn.oB)({transform:"{{transform}}",opacity:0}),(0,bn.jt)("{{transition}}",(0,bn.oB)({transform:"none",opacity:1}))]),(0,bn.oQ)([(0,bn.jt)("{{transition}}",(0,bn.oB)({transform:"{{transform}}",opacity:0}))]);let je=(()=>{class q{static \u0275fac=function(ne){return new(ne||q)};static \u0275mod=t.oAB({type:q});static \u0275inj=t.cJS({imports:[k.ez,Vo,$c,Gc.q,El.m8,El.m8]})}return q})();var M=m(933),W=m(2729);let ue=(()=>{class q{static#e=this.\u0275fac=function(ne){return new(ne||q)};static#t=this.\u0275mod=t.oAB({type:q,bootstrap:[Rt.y]});static#n=this.\u0275inj=t.cJS({imports:[i.b2,Yl,A.JF,a.UX,Bt.K,sn,y.vQ,au.UteisModule,Ac.LogModule,ic.RotinaModule,Zc.kb,je]})}return q})();t.B6R(Rt.y,[k.mk,k.sg,k.O5,M.o,W.q,C.lC],[]);var be=m(553);m(8537),be.N.production&&(0,t.G48)(),i.q6().bootstrapModule(ue).catch(q=>console.error(q))},6700:(lt,_e,m)=>{var i={"./af":861,"./af.js":861,"./ar":7279,"./ar-dz":8847,"./ar-dz.js":8847,"./ar-kw":9832,"./ar-kw.js":9832,"./ar-ly":7272,"./ar-ly.js":7272,"./ar-ma":9508,"./ar-ma.js":9508,"./ar-ps":2807,"./ar-ps.js":2807,"./ar-sa":393,"./ar-sa.js":393,"./ar-tn":7541,"./ar-tn.js":7541,"./ar.js":7279,"./az":2986,"./az.js":2986,"./be":7112,"./be.js":7112,"./bg":6367,"./bg.js":6367,"./bm":3316,"./bm.js":3316,"./bn":5815,"./bn-bd":6067,"./bn-bd.js":6067,"./bn.js":5815,"./bo":4530,"./bo.js":4530,"./br":9739,"./br.js":9739,"./bs":8445,"./bs.js":8445,"./ca":7690,"./ca.js":7690,"./cs":8799,"./cs.js":8799,"./cv":8385,"./cv.js":8385,"./cy":6212,"./cy.js":6212,"./da":5782,"./da.js":5782,"./de":7782,"./de-at":1934,"./de-at.js":1934,"./de-ch":2863,"./de-ch.js":2863,"./de.js":7782,"./dv":1146,"./dv.js":1146,"./el":9745,"./el.js":9745,"./en-au":1150,"./en-au.js":1150,"./en-ca":2924,"./en-ca.js":2924,"./en-gb":7406,"./en-gb.js":7406,"./en-ie":9952,"./en-ie.js":9952,"./en-il":4772,"./en-il.js":4772,"./en-in":1961,"./en-in.js":1961,"./en-nz":4014,"./en-nz.js":4014,"./en-sg":3332,"./en-sg.js":3332,"./eo":989,"./eo.js":989,"./es":3209,"./es-do":6393,"./es-do.js":6393,"./es-mx":2324,"./es-mx.js":2324,"./es-us":7641,"./es-us.js":7641,"./es.js":3209,"./et":6373,"./et.js":6373,"./eu":1954,"./eu.js":1954,"./fa":9289,"./fa.js":9289,"./fi":3381,"./fi.js":3381,"./fil":9031,"./fil.js":9031,"./fo":3571,"./fo.js":3571,"./fr":5515,"./fr-ca":7389,"./fr-ca.js":7389,"./fr-ch":7785,"./fr-ch.js":7785,"./fr.js":5515,"./fy":1826,"./fy.js":1826,"./ga":6687,"./ga.js":6687,"./gd":8851,"./gd.js":8851,"./gl":1637,"./gl.js":1637,"./gom-deva":1003,"./gom-deva.js":1003,"./gom-latn":4225,"./gom-latn.js":4225,"./gu":9360,"./gu.js":9360,"./he":7853,"./he.js":7853,"./hi":5428,"./hi.js":5428,"./hr":1001,"./hr.js":1001,"./hu":4579,"./hu.js":4579,"./hy-am":9866,"./hy-am.js":9866,"./id":9689,"./id.js":9689,"./is":2956,"./is.js":2956,"./it":1557,"./it-ch":6052,"./it-ch.js":6052,"./it.js":1557,"./ja":1774,"./ja.js":1774,"./jv":7631,"./jv.js":7631,"./ka":9968,"./ka.js":9968,"./kk":4916,"./kk.js":4916,"./km":2305,"./km.js":2305,"./kn":8994,"./kn.js":8994,"./ko":3558,"./ko.js":3558,"./ku":2243,"./ku-kmr":9529,"./ku-kmr.js":9529,"./ku.js":2243,"./ky":4638,"./ky.js":4638,"./lb":4167,"./lb.js":4167,"./lo":9897,"./lo.js":9897,"./lt":2543,"./lt.js":2543,"./lv":5752,"./lv.js":5752,"./me":3350,"./me.js":3350,"./mi":4134,"./mi.js":4134,"./mk":2177,"./mk.js":2177,"./ml":8100,"./ml.js":8100,"./mn":9571,"./mn.js":9571,"./mr":3656,"./mr.js":3656,"./ms":848,"./ms-my":1319,"./ms-my.js":1319,"./ms.js":848,"./mt":7029,"./mt.js":7029,"./my":6570,"./my.js":6570,"./nb":4819,"./nb.js":4819,"./ne":9576,"./ne.js":9576,"./nl":778,"./nl-be":3475,"./nl-be.js":3475,"./nl.js":778,"./nn":1722,"./nn.js":1722,"./oc-lnc":7467,"./oc-lnc.js":7467,"./pa-in":4869,"./pa-in.js":4869,"./pl":8357,"./pl.js":8357,"./pt":2768,"./pt-br":9641,"./pt-br.js":9641,"./pt.js":2768,"./ro":8876,"./ro.js":8876,"./ru":8663,"./ru.js":8663,"./sd":3727,"./sd.js":3727,"./se":4051,"./se.js":4051,"./si":8643,"./si.js":8643,"./sk":9616,"./sk.js":9616,"./sl":2423,"./sl.js":2423,"./sq":5466,"./sq.js":5466,"./sr":614,"./sr-cyrl":7449,"./sr-cyrl.js":7449,"./sr.js":614,"./ss":82,"./ss.js":82,"./sv":2689,"./sv.js":2689,"./sw":6471,"./sw.js":6471,"./ta":4437,"./ta.js":4437,"./te":4512,"./te.js":4512,"./tet":9434,"./tet.js":9434,"./tg":8765,"./tg.js":8765,"./th":2099,"./th.js":2099,"./tk":9133,"./tk.js":9133,"./tl-ph":7497,"./tl-ph.js":7497,"./tlh":7086,"./tlh.js":7086,"./tr":1118,"./tr.js":1118,"./tzl":5781,"./tzl.js":5781,"./tzm":5982,"./tzm-latn":4415,"./tzm-latn.js":4415,"./tzm.js":5982,"./ug-cn":5975,"./ug-cn.js":5975,"./uk":3715,"./uk.js":3715,"./ur":7307,"./ur.js":7307,"./uz":5232,"./uz-latn":3397,"./uz-latn.js":3397,"./uz.js":5232,"./vi":7842,"./vi.js":7842,"./x-pseudo":2490,"./x-pseudo.js":2490,"./yo":9348,"./yo.js":9348,"./zh-cn":5912,"./zh-cn.js":5912,"./zh-hk":6858,"./zh-hk.js":6858,"./zh-mo":719,"./zh-mo.js":719,"./zh-tw":3533,"./zh-tw.js":3533};function t(a){var y=A(a);return m(y)}function A(a){if(!m.o(i,a)){var y=new Error("Cannot find module '"+a+"'");throw y.code="MODULE_NOT_FOUND",y}return i[a]}t.keys=function(){return Object.keys(i)},t.resolve=A,lt.exports=t,t.id=6700},2405:(lt,_e,m)=>{"use strict";m.d(_e,{LC:()=>t,SB:()=>j,X$:()=>a,ZE:()=>Se,ZN:()=>Oe,_7:()=>P,_j:()=>i,eR:()=>x,jt:()=>y,k1:()=>wt,l3:()=>A,oB:()=>N,oQ:()=>H,vP:()=>b});class i{}class t{}const A="*";function a(K,V){return{type:7,name:K,definitions:V,options:{}}}function y(K,V=null){return{type:4,styles:V,timings:K}}function b(K,V=null){return{type:2,steps:K,options:V}}function N(K){return{type:6,styles:K,offset:null}}function j(K,V,J){return{type:0,name:K,styles:V,options:J}}function x(K,V,J=null){return{type:1,expr:K,animation:V,options:J}}function H(K,V=null){return{type:8,animation:K,options:V}}function P(K,V=null){return{type:10,animation:K,options:V}}class Oe{constructor(V=0,J=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=V+J}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._originalOnStartFns.push(V),this._onStartFns.push(V)}onDone(V){this._originalOnDoneFns.push(V),this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(V=>V()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const J="start"==V?this._onStartFns:this._onDoneFns;J.forEach(ae=>ae()),J.length=0}}class Se{constructor(V){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=V;let J=0,ae=0,oe=0;const ye=this.players.length;0==ye?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ee=>{Ee.onDone(()=>{++J==ye&&this._onFinish()}),Ee.onDestroy(()=>{++ae==ye&&this._onDestroy()}),Ee.onStart(()=>{++oe==ye&&this._onStart()})}),this.totalTime=this.players.reduce((Ee,Ge)=>Math.max(Ee,Ge.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this.players.forEach(V=>V.init())}onStart(V){this._onStartFns.push(V)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(V=>V()),this._onStartFns=[])}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(V=>V.play())}pause(){this.players.forEach(V=>V.pause())}restart(){this.players.forEach(V=>V.restart())}finish(){this._onFinish(),this.players.forEach(V=>V.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(V=>V.destroy()),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this.players.forEach(V=>V.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(V){const J=V*this.totalTime;this.players.forEach(ae=>{const oe=ae.totalTime?Math.min(1,J/ae.totalTime):1;ae.setPosition(oe)})}getPosition(){const V=this.players.reduce((J,ae)=>null===J||ae.totalTime>J.totalTime?ae:J,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const J="start"==V?this._onStartFns:this._onDoneFns;J.forEach(ae=>ae()),J.length=0}}const wt="!"},6733:(lt,_e,m)=>{"use strict";m.d(_e,{Do:()=>me,EM:()=>Rs,HT:()=>a,JF:()=>uo,K0:()=>C,Mx:()=>wr,NF:()=>Mo,O5:()=>Eo,Ov:()=>na,PC:()=>Yn,PM:()=>Aa,S$:()=>k,V_:()=>N,Ye:()=>Oe,b0:()=>X,bD:()=>os,ez:()=>Vr,mk:()=>jr,q:()=>A,sg:()=>Nr,tP:()=>Ui,w_:()=>y});var i=m(755);let t=null;function A(){return t}function a(re){t||(t=re)}class y{}const C=new i.OlP("DocumentToken");let b=(()=>{class re{historyGo(Te){throw new Error("Not implemented")}static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275prov=i.Yz7({token:re,factory:function(){return(0,i.f3M)(j)},providedIn:"platform"})}return re})();const N=new i.OlP("Location Initialized");let j=(()=>{class re extends b{constructor(){super(),this._doc=(0,i.f3M)(C),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(Te){const We=A().getGlobalEventTarget(this._doc,"window");return We.addEventListener("popstate",Te,!1),()=>We.removeEventListener("popstate",Te)}onHashChange(Te){const We=A().getGlobalEventTarget(this._doc,"window");return We.addEventListener("hashchange",Te,!1),()=>We.removeEventListener("hashchange",Te)}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(Te){this._location.pathname=Te}pushState(Te,We,Ut){this._history.pushState(Te,We,Ut)}replaceState(Te,We,Ut){this._history.replaceState(Te,We,Ut)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Te=0){this._history.go(Te)}getState(){return this._history.state}static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275prov=i.Yz7({token:re,factory:function(){return new re},providedIn:"platform"})}return re})();function F(re,qe){if(0==re.length)return qe;if(0==qe.length)return re;let Te=0;return re.endsWith("/")&&Te++,qe.startsWith("/")&&Te++,2==Te?re+qe.substring(1):1==Te?re+qe:re+"/"+qe}function x(re){const qe=re.match(/#|\?|$/),Te=qe&&qe.index||re.length;return re.slice(0,Te-("/"===re[Te-1]?1:0))+re.slice(Te)}function H(re){return re&&"?"!==re[0]?"?"+re:re}let k=(()=>{class re{historyGo(Te){throw new Error("Not implemented")}static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275prov=i.Yz7({token:re,factory:function(){return(0,i.f3M)(X)},providedIn:"root"})}return re})();const P=new i.OlP("appBaseHref");let X=(()=>{class re extends k{constructor(Te,We){super(),this._platformLocation=Te,this._removeListenerFns=[],this._baseHref=We??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}prepareExternalUrl(Te){return F(this._baseHref,Te)}path(Te=!1){const We=this._platformLocation.pathname+H(this._platformLocation.search),Ut=this._platformLocation.hash;return Ut&&Te?`${We}${Ut}`:We}pushState(Te,We,Ut,Ln){const Hn=this.prepareExternalUrl(Ut+H(Ln));this._platformLocation.pushState(Te,We,Hn)}replaceState(Te,We,Ut,Ln){const Hn=this.prepareExternalUrl(Ut+H(Ln));this._platformLocation.replaceState(Te,We,Hn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static#e=this.\u0275fac=function(We){return new(We||re)(i.LFG(b),i.LFG(P,8))};static#t=this.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})(),me=(()=>{class re extends k{constructor(Te,We){super(),this._platformLocation=Te,this._baseHref="",this._removeListenerFns=[],null!=We&&(this._baseHref=We)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}path(Te=!1){let We=this._platformLocation.hash;return null==We&&(We="#"),We.length>0?We.substring(1):We}prepareExternalUrl(Te){const We=F(this._baseHref,Te);return We.length>0?"#"+We:We}pushState(Te,We,Ut,Ln){let Hn=this.prepareExternalUrl(Ut+H(Ln));0==Hn.length&&(Hn=this._platformLocation.pathname),this._platformLocation.pushState(Te,We,Hn)}replaceState(Te,We,Ut,Ln){let Hn=this.prepareExternalUrl(Ut+H(Ln));0==Hn.length&&(Hn=this._platformLocation.pathname),this._platformLocation.replaceState(Te,We,Hn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static#e=this.\u0275fac=function(We){return new(We||re)(i.LFG(b),i.LFG(P,8))};static#t=this.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac})}return re})(),Oe=(()=>{class re{constructor(Te){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Te;const We=this._locationStrategy.getBaseHref();this._basePath=function V(re){if(new RegExp("^(https?:)?//").test(re)){const[,Te]=re.split(/\/\/[^\/]+/);return Te}return re}(x(K(We))),this._locationStrategy.onPopState(Ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ut.state,type:Ut.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Te=!1){return this.normalize(this._locationStrategy.path(Te))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Te,We=""){return this.path()==this.normalize(Te+H(We))}normalize(Te){return re.stripTrailingSlash(function wt(re,qe){if(!re||!qe.startsWith(re))return qe;const Te=qe.substring(re.length);return""===Te||["/",";","?","#"].includes(Te[0])?Te:qe}(this._basePath,K(Te)))}prepareExternalUrl(Te){return Te&&"/"!==Te[0]&&(Te="/"+Te),this._locationStrategy.prepareExternalUrl(Te)}go(Te,We="",Ut=null){this._locationStrategy.pushState(Ut,"",Te,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+H(We)),Ut)}replaceState(Te,We="",Ut=null){this._locationStrategy.replaceState(Ut,"",Te,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+H(We)),Ut)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Te=0){this._locationStrategy.historyGo?.(Te)}onUrlChange(Te){return this._urlChangeListeners.push(Te),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(We=>{this._notifyUrlChangeListeners(We.url,We.state)})),()=>{const We=this._urlChangeListeners.indexOf(Te);this._urlChangeListeners.splice(We,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Te="",We){this._urlChangeListeners.forEach(Ut=>Ut(Te,We))}subscribe(Te,We,Ut){return this._subject.subscribe({next:Te,error:We,complete:Ut})}static#e=this.normalizeQueryParams=H;static#t=this.joinWithSlash=F;static#n=this.stripTrailingSlash=x;static#i=this.\u0275fac=function(We){return new(We||re)(i.LFG(k))};static#r=this.\u0275prov=i.Yz7({token:re,factory:function(){return function Se(){return new Oe((0,i.LFG)(k))}()},providedIn:"root"})}return re})();function K(re){return re.replace(/\/index.html$/,"")}function wr(re,qe){qe=encodeURIComponent(qe);for(const Te of re.split(";")){const We=Te.indexOf("="),[Ut,Ln]=-1==We?[Te,""]:[Te.slice(0,We),Te.slice(We+1)];if(Ut.trim()===qe)return decodeURIComponent(Ln)}return null}const Ki=/\s+/,yr=[];let jr=(()=>{class re{constructor(Te,We,Ut,Ln){this._iterableDiffers=Te,this._keyValueDiffers=We,this._ngEl=Ut,this._renderer=Ln,this.initialClasses=yr,this.stateMap=new Map}set klass(Te){this.initialClasses=null!=Te?Te.trim().split(Ki):yr}set ngClass(Te){this.rawClass="string"==typeof Te?Te.trim().split(Ki):Te}ngDoCheck(){for(const We of this.initialClasses)this._updateState(We,!0);const Te=this.rawClass;if(Array.isArray(Te)||Te instanceof Set)for(const We of Te)this._updateState(We,!0);else if(null!=Te)for(const We of Object.keys(Te))this._updateState(We,!!Te[We]);this._applyStateDiff()}_updateState(Te,We){const Ut=this.stateMap.get(Te);void 0!==Ut?(Ut.enabled!==We&&(Ut.changed=!0,Ut.enabled=We),Ut.touched=!0):this.stateMap.set(Te,{enabled:We,changed:!0,touched:!0})}_applyStateDiff(){for(const Te of this.stateMap){const We=Te[0],Ut=Te[1];Ut.changed?(this._toggleClass(We,Ut.enabled),Ut.changed=!1):Ut.touched||(Ut.enabled&&this._toggleClass(We,!1),this.stateMap.delete(We)),Ut.touched=!1}}_toggleClass(Te,We){(Te=Te.trim()).length>0&&Te.split(Ki).forEach(Ut=>{We?this._renderer.addClass(this._ngEl.nativeElement,Ut):this._renderer.removeClass(this._ngEl.nativeElement,Ut)})}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return re})();class ns{constructor(qe,Te,We,Ut){this.$implicit=qe,this.ngForOf=Te,this.index=We,this.count=Ut}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 Nr=(()=>{class re{set ngForOf(Te){this._ngForOf=Te,this._ngForOfDirty=!0}set ngForTrackBy(Te){this._trackByFn=Te}get ngForTrackBy(){return this._trackByFn}constructor(Te,We,Ut){this._viewContainer=Te,this._template=We,this._differs=Ut,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Te){Te&&(this._template=Te)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Te=this._ngForOf;!this._differ&&Te&&(this._differ=this._differs.find(Te).create(this.ngForTrackBy))}if(this._differ){const Te=this._differ.diff(this._ngForOf);Te&&this._applyChanges(Te)}}_applyChanges(Te){const We=this._viewContainer;Te.forEachOperation((Ut,Ln,Hn)=>{if(null==Ut.previousIndex)We.createEmbeddedView(this._template,new ns(Ut.item,this._ngForOf,-1,-1),null===Hn?void 0:Hn);else if(null==Hn)We.remove(null===Ln?void 0:Ln);else if(null!==Ln){const Si=We.get(Ln);We.move(Si,Hn),To(Si,Ut)}});for(let Ut=0,Ln=We.length;Ut{To(We.get(Ut.currentIndex),Ut)})}static ngTemplateContextGuard(Te,We){return!0}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return re})();function To(re,qe){re.context.$implicit=qe.item}let Eo=(()=>{class re{constructor(Te,We){this._viewContainer=Te,this._context=new wo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=We}set ngIf(Te){this._context.$implicit=this._context.ngIf=Te,this._updateView()}set ngIfThen(Te){Ra("ngIfThen",Te),this._thenTemplateRef=Te,this._thenViewRef=null,this._updateView()}set ngIfElse(Te){Ra("ngIfElse",Te),this._elseTemplateRef=Te,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(Te,We){return!0}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.s_b),i.Y36(i.Rgc))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return re})();class wo{constructor(){this.$implicit=null,this.ngIf=null}}function Ra(re,qe){if(qe&&!qe.createEmbeddedView)throw new Error(`${re} must be a TemplateRef, but received '${(0,i.AaK)(qe)}'.`)}let Yn=(()=>{class re{constructor(Te,We,Ut){this._ngEl=Te,this._differs=We,this._renderer=Ut,this._ngStyle=null,this._differ=null}set ngStyle(Te){this._ngStyle=Te,!this._differ&&Te&&(this._differ=this._differs.find(Te).create())}ngDoCheck(){if(this._differ){const Te=this._differ.diff(this._ngStyle);Te&&this._applyChanges(Te)}}_setStyle(Te,We){const[Ut,Ln]=Te.split("."),Hn=-1===Ut.indexOf("-")?void 0:i.JOm.DashCase;null!=We?this._renderer.setStyle(this._ngEl.nativeElement,Ut,Ln?`${We}${Ln}`:We,Hn):this._renderer.removeStyle(this._ngEl.nativeElement,Ut,Hn)}_applyChanges(Te){Te.forEachRemovedItem(We=>this._setStyle(We.key,null)),Te.forEachAddedItem(We=>this._setStyle(We.key,We.currentValue)),Te.forEachChangedItem(We=>this._setStyle(We.key,We.currentValue))}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return re})(),Ui=(()=>{class re{constructor(Te){this._viewContainerRef=Te,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Te){if(Te.ngTemplateOutlet||Te.ngTemplateOutletInjector){const We=this._viewContainerRef;if(this._viewRef&&We.remove(We.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ut,ngTemplateOutletContext:Ln,ngTemplateOutletInjector:Hn}=this;this._viewRef=We.createEmbeddedView(Ut,Ln,Hn?{injector:Hn}:void 0)}else this._viewRef=null}else this._viewRef&&Te.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.s_b))};static#t=this.\u0275dir=i.lG2({type:re,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]})}return re})();class us{createSubscription(qe,Te){return(0,i.rg0)(()=>qe.subscribe({next:Te,error:We=>{throw We}}))}dispose(qe){(0,i.rg0)(()=>qe.unsubscribe())}}class So{createSubscription(qe,Te){return qe.then(Te,We=>{throw We})}dispose(qe){}}const Fo=new So,Ks=new us;let na=(()=>{class re{constructor(Te){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Te}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Te){return this._obj?Te!==this._obj?(this._dispose(),this.transform(Te)):this._latestValue:(Te&&this._subscribe(Te),this._latestValue)}_subscribe(Te){this._obj=Te,this._strategy=this._selectStrategy(Te),this._subscription=this._strategy.createSubscription(Te,We=>this._updateLatestValue(Te,We))}_selectStrategy(Te){if((0,i.QGY)(Te))return Fo;if((0,i.F4k)(Te))return Ks;throw function _r(re,qe){return new i.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Te,We){Te===this._obj&&(this._latestValue=We,this._ref.markForCheck())}static#e=this.\u0275fac=function(We){return new(We||re)(i.Y36(i.sBO,16))};static#t=this.\u0275pipe=i.Yjl({name:"async",type:re,pure:!1,standalone:!0})}return re})(),Vr=(()=>{class re{static#e=this.\u0275fac=function(We){return new(We||re)};static#t=this.\u0275mod=i.oAB({type:re});static#n=this.\u0275inj=i.cJS({})}return re})();const os="browser",$o="server";function Mo(re){return re===os}function Aa(re){return re===$o}let Rs=(()=>{class re{static#e=this.\u0275prov=(0,i.Yz7)({token:re,providedIn:"root",factory:()=>new Mr((0,i.LFG)(C),window)})}return re})();class Mr{constructor(qe,Te){this.document=qe,this.window=Te,this.offset=()=>[0,0]}setOffset(qe){this.offset=Array.isArray(qe)?()=>qe:qe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(qe){this.supportsScrolling()&&this.window.scrollTo(qe[0],qe[1])}scrollToAnchor(qe){if(!this.supportsScrolling())return;const Te=function Zr(re,qe){const Te=re.getElementById(qe)||re.getElementsByName(qe)[0];if(Te)return Te;if("function"==typeof re.createTreeWalker&&re.body&&"function"==typeof re.body.attachShadow){const We=re.createTreeWalker(re.body,NodeFilter.SHOW_ELEMENT);let Ut=We.currentNode;for(;Ut;){const Ln=Ut.shadowRoot;if(Ln){const Hn=Ln.getElementById(qe)||Ln.querySelector(`[name="${qe}"]`);if(Hn)return Hn}Ut=We.nextNode()}}return null}(this.document,qe);Te&&(this.scrollToElement(Te),Te.focus())}setHistoryScrollRestoration(qe){this.supportsScrolling()&&(this.window.history.scrollRestoration=qe)}scrollToElement(qe){const Te=qe.getBoundingClientRect(),We=Te.left+this.window.pageXOffset,Ut=Te.top+this.window.pageYOffset,Ln=this.offset();this.window.scrollTo(We-Ln[0],Ut-Ln[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class uo{}},2939:(lt,_e,m)=>{"use strict";m.d(_e,{JF:()=>Bt,UA:()=>Nt,YS:()=>Dr,eN:()=>nt});var i=m(755),t=m(1209),A=m(3489),a=m(8132),y=m(109),C=m(5333),b=m(2425),N=m(6293),j=m(4787),F=m(6733);class x{}class H{}class k{constructor(Ae){this.normalizedNames=new Map,this.lazyUpdate=null,Ae?"string"==typeof Ae?this.lazyInit=()=>{this.headers=new Map,Ae.split("\n").forEach(it=>{const Ht=it.indexOf(":");if(Ht>0){const Kt=it.slice(0,Ht),yn=Kt.toLowerCase(),Tn=it.slice(Ht+1).trim();this.maybeSetNormalizedName(Kt,yn),this.headers.has(yn)?this.headers.get(yn).push(Tn):this.headers.set(yn,[Tn])}})}:typeof Headers<"u"&&Ae instanceof Headers?(this.headers=new Map,Ae.forEach((it,Ht)=>{this.setHeaderEntries(Ht,it)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ae).forEach(([it,Ht])=>{this.setHeaderEntries(it,Ht)})}:this.headers=new Map}has(Ae){return this.init(),this.headers.has(Ae.toLowerCase())}get(Ae){this.init();const it=this.headers.get(Ae.toLowerCase());return it&&it.length>0?it[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ae){return this.init(),this.headers.get(Ae.toLowerCase())||null}append(Ae,it){return this.clone({name:Ae,value:it,op:"a"})}set(Ae,it){return this.clone({name:Ae,value:it,op:"s"})}delete(Ae,it){return this.clone({name:Ae,value:it,op:"d"})}maybeSetNormalizedName(Ae,it){this.normalizedNames.has(it)||this.normalizedNames.set(it,Ae)}init(){this.lazyInit&&(this.lazyInit instanceof k?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ae=>this.applyUpdate(Ae)),this.lazyUpdate=null))}copyFrom(Ae){Ae.init(),Array.from(Ae.headers.keys()).forEach(it=>{this.headers.set(it,Ae.headers.get(it)),this.normalizedNames.set(it,Ae.normalizedNames.get(it))})}clone(Ae){const it=new k;return it.lazyInit=this.lazyInit&&this.lazyInit instanceof k?this.lazyInit:this,it.lazyUpdate=(this.lazyUpdate||[]).concat([Ae]),it}applyUpdate(Ae){const it=Ae.name.toLowerCase();switch(Ae.op){case"a":case"s":let Ht=Ae.value;if("string"==typeof Ht&&(Ht=[Ht]),0===Ht.length)return;this.maybeSetNormalizedName(Ae.name,it);const Kt=("a"===Ae.op?this.headers.get(it):void 0)||[];Kt.push(...Ht),this.headers.set(it,Kt);break;case"d":const yn=Ae.value;if(yn){let Tn=this.headers.get(it);if(!Tn)return;Tn=Tn.filter(pi=>-1===yn.indexOf(pi)),0===Tn.length?(this.headers.delete(it),this.normalizedNames.delete(it)):this.headers.set(it,Tn)}else this.headers.delete(it),this.normalizedNames.delete(it)}}setHeaderEntries(Ae,it){const Ht=(Array.isArray(it)?it:[it]).map(yn=>yn.toString()),Kt=Ae.toLowerCase();this.headers.set(Kt,Ht),this.maybeSetNormalizedName(Ae,Kt)}forEach(Ae){this.init(),Array.from(this.normalizedNames.keys()).forEach(it=>Ae(this.normalizedNames.get(it),this.headers.get(it)))}}class X{encodeKey(Ae){return wt(Ae)}encodeValue(Ae){return wt(Ae)}decodeKey(Ae){return decodeURIComponent(Ae)}decodeValue(Ae){return decodeURIComponent(Ae)}}const Oe=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wt(ge){return encodeURIComponent(ge).replace(Oe,(Ae,it)=>Se[it]??Ae)}function K(ge){return`${ge}`}class V{constructor(Ae={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ae.encoder||new X,Ae.fromString){if(Ae.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function me(ge,Ae){const it=new Map;return ge.length>0&&ge.replace(/^\?/,"").split("&").forEach(Kt=>{const yn=Kt.indexOf("="),[Tn,pi]=-1==yn?[Ae.decodeKey(Kt),""]:[Ae.decodeKey(Kt.slice(0,yn)),Ae.decodeValue(Kt.slice(yn+1))],nn=it.get(Tn)||[];nn.push(pi),it.set(Tn,nn)}),it}(Ae.fromString,this.encoder)}else Ae.fromObject?(this.map=new Map,Object.keys(Ae.fromObject).forEach(it=>{const Ht=Ae.fromObject[it],Kt=Array.isArray(Ht)?Ht.map(K):[K(Ht)];this.map.set(it,Kt)})):this.map=null}has(Ae){return this.init(),this.map.has(Ae)}get(Ae){this.init();const it=this.map.get(Ae);return it?it[0]:null}getAll(Ae){return this.init(),this.map.get(Ae)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ae,it){return this.clone({param:Ae,value:it,op:"a"})}appendAll(Ae){const it=[];return Object.keys(Ae).forEach(Ht=>{const Kt=Ae[Ht];Array.isArray(Kt)?Kt.forEach(yn=>{it.push({param:Ht,value:yn,op:"a"})}):it.push({param:Ht,value:Kt,op:"a"})}),this.clone(it)}set(Ae,it){return this.clone({param:Ae,value:it,op:"s"})}delete(Ae,it){return this.clone({param:Ae,value:it,op:"d"})}toString(){return this.init(),this.keys().map(Ae=>{const it=this.encoder.encodeKey(Ae);return this.map.get(Ae).map(Ht=>it+"="+this.encoder.encodeValue(Ht)).join("&")}).filter(Ae=>""!==Ae).join("&")}clone(Ae){const it=new V({encoder:this.encoder});return it.cloneFrom=this.cloneFrom||this,it.updates=(this.updates||[]).concat(Ae),it}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ae=>this.map.set(Ae,this.cloneFrom.map.get(Ae))),this.updates.forEach(Ae=>{switch(Ae.op){case"a":case"s":const it=("a"===Ae.op?this.map.get(Ae.param):void 0)||[];it.push(K(Ae.value)),this.map.set(Ae.param,it);break;case"d":if(void 0===Ae.value){this.map.delete(Ae.param);break}{let Ht=this.map.get(Ae.param)||[];const Kt=Ht.indexOf(K(Ae.value));-1!==Kt&&Ht.splice(Kt,1),Ht.length>0?this.map.set(Ae.param,Ht):this.map.delete(Ae.param)}}}),this.cloneFrom=this.updates=null)}}class ae{constructor(){this.map=new Map}set(Ae,it){return this.map.set(Ae,it),this}get(Ae){return this.map.has(Ae)||this.map.set(Ae,Ae.defaultValue()),this.map.get(Ae)}delete(Ae){return this.map.delete(Ae),this}has(Ae){return this.map.has(Ae)}keys(){return this.map.keys()}}function ye(ge){return typeof ArrayBuffer<"u"&&ge instanceof ArrayBuffer}function Ee(ge){return typeof Blob<"u"&&ge instanceof Blob}function Ge(ge){return typeof FormData<"u"&&ge instanceof FormData}class Ze{constructor(Ae,it,Ht,Kt){let yn;if(this.url=it,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ae.toUpperCase(),function oe(ge){switch(ge){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Kt?(this.body=void 0!==Ht?Ht:null,yn=Kt):yn=Ht,yn&&(this.reportProgress=!!yn.reportProgress,this.withCredentials=!!yn.withCredentials,yn.responseType&&(this.responseType=yn.responseType),yn.headers&&(this.headers=yn.headers),yn.context&&(this.context=yn.context),yn.params&&(this.params=yn.params)),this.headers||(this.headers=new k),this.context||(this.context=new ae),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=it;else{const pi=it.indexOf("?");this.urlWithParams=it+(-1===pi?"?":piHr.set(ss,Ae.setHeaders[ss]),nn)),Ae.setParams&&(Ti=Object.keys(Ae.setParams).reduce((Hr,ss)=>Hr.set(ss,Ae.setParams[ss]),Ti)),new Ze(it,Ht,yn,{params:Ti,headers:nn,context:yi,reportProgress:pi,responseType:Kt,withCredentials:Tn})}}var Je=function(ge){return ge[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge}(Je||{});class tt{constructor(Ae,it=200,Ht="OK"){this.headers=Ae.headers||new k,this.status=void 0!==Ae.status?Ae.status:it,this.statusText=Ae.statusText||Ht,this.url=Ae.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends tt{constructor(Ae={}){super(Ae),this.type=Je.ResponseHeader}clone(Ae={}){return new Qe({headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class pt extends tt{constructor(Ae={}){super(Ae),this.type=Je.Response,this.body=void 0!==Ae.body?Ae.body:null}clone(Ae={}){return new pt({body:void 0!==Ae.body?Ae.body:this.body,headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class Nt extends tt{constructor(Ae){super(Ae,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ae.url||"(unknown url)"}`:`Http failure response for ${Ae.url||"(unknown url)"}: ${Ae.status} ${Ae.statusText}`,this.error=Ae.error||null}}function Jt(ge,Ae){return{body:Ae,headers:ge.headers,context:ge.context,observe:ge.observe,params:ge.params,reportProgress:ge.reportProgress,responseType:ge.responseType,withCredentials:ge.withCredentials}}let nt=(()=>{class ge{constructor(it){this.handler=it}request(it,Ht,Kt={}){let yn;if(it instanceof Ze)yn=it;else{let nn,Ti;nn=Kt.headers instanceof k?Kt.headers:new k(Kt.headers),Kt.params&&(Ti=Kt.params instanceof V?Kt.params:new V({fromObject:Kt.params})),yn=new Ze(it,Ht,void 0!==Kt.body?Kt.body:null,{headers:nn,context:Kt.context,params:Ti,reportProgress:Kt.reportProgress,responseType:Kt.responseType||"json",withCredentials:Kt.withCredentials})}const Tn=(0,t.of)(yn).pipe((0,y.b)(nn=>this.handler.handle(nn)));if(it instanceof Ze||"events"===Kt.observe)return Tn;const pi=Tn.pipe((0,C.h)(nn=>nn instanceof pt));switch(Kt.observe||"body"){case"body":switch(yn.responseType){case"arraybuffer":return pi.pipe((0,b.U)(nn=>{if(null!==nn.body&&!(nn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return nn.body}));case"blob":return pi.pipe((0,b.U)(nn=>{if(null!==nn.body&&!(nn.body instanceof Blob))throw new Error("Response is not a Blob.");return nn.body}));case"text":return pi.pipe((0,b.U)(nn=>{if(null!==nn.body&&"string"!=typeof nn.body)throw new Error("Response is not a string.");return nn.body}));default:return pi.pipe((0,b.U)(nn=>nn.body))}case"response":return pi;default:throw new Error(`Unreachable: unhandled observe type ${Kt.observe}}`)}}delete(it,Ht={}){return this.request("DELETE",it,Ht)}get(it,Ht={}){return this.request("GET",it,Ht)}head(it,Ht={}){return this.request("HEAD",it,Ht)}jsonp(it,Ht){return this.request("JSONP",it,{params:(new V).append(Ht,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(it,Ht={}){return this.request("OPTIONS",it,Ht)}patch(it,Ht,Kt={}){return this.request("PATCH",it,Jt(Kt,Ht))}post(it,Ht,Kt={}){return this.request("POST",it,Jt(Kt,Ht))}put(it,Ht,Kt={}){return this.request("PUT",it,Jt(Kt,Ht))}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(x))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();function Fn(ge,Ae){return Ae(ge)}function xn(ge,Ae){return(it,Ht)=>Ae.intercept(it,{handle:Kt=>ge(Kt,Ht)})}const dn=new i.OlP(""),qn=new i.OlP(""),di=new i.OlP("");function ir(){let ge=null;return(Ae,it)=>{null===ge&&(ge=((0,i.f3M)(dn,{optional:!0})??[]).reduceRight(xn,Fn));const Ht=(0,i.f3M)(i.HDt),Kt=Ht.add();return ge(Ae,it).pipe((0,N.x)(()=>Ht.remove(Kt)))}}let Bn=(()=>{class ge extends x{constructor(it,Ht){super(),this.backend=it,this.injector=Ht,this.chain=null,this.pendingTasks=(0,i.f3M)(i.HDt)}handle(it){if(null===this.chain){const Kt=Array.from(new Set([...this.injector.get(qn),...this.injector.get(di,[])]));this.chain=Kt.reduceRight((yn,Tn)=>function In(ge,Ae,it){return(Ht,Kt)=>it.runInContext(()=>Ae(Ht,yn=>ge(yn,Kt)))}(yn,Tn,this.injector),Fn)}const Ht=this.pendingTasks.add();return this.chain(it,Kt=>this.backend.handle(Kt)).pipe((0,N.x)(()=>this.pendingTasks.remove(Ht)))}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(H),i.LFG(i.lqb))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const An=/^\)\]\}',?\n/;let Qt=(()=>{class ge{constructor(it){this.xhrFactory=it}handle(it){if("JSONP"===it.method)throw new i.vHH(-2800,!1);const Ht=this.xhrFactory;return(Ht.\u0275loadImpl?(0,A.D)(Ht.\u0275loadImpl()):(0,t.of)(null)).pipe((0,j.w)(()=>new a.y(yn=>{const Tn=Ht.build();if(Tn.open(it.method,it.urlWithParams),it.withCredentials&&(Tn.withCredentials=!0),it.headers.forEach((yr,jr)=>Tn.setRequestHeader(yr,jr.join(","))),it.headers.has("Accept")||Tn.setRequestHeader("Accept","application/json, text/plain, */*"),!it.headers.has("Content-Type")){const yr=it.detectContentTypeHeader();null!==yr&&Tn.setRequestHeader("Content-Type",yr)}if(it.responseType){const yr=it.responseType.toLowerCase();Tn.responseType="json"!==yr?yr:"text"}const pi=it.serializeBody();let nn=null;const Ti=()=>{if(null!==nn)return nn;const yr=Tn.statusText||"OK",jr=new k(Tn.getAllResponseHeaders()),xs=function gs(ge){return"responseURL"in ge&&ge.responseURL?ge.responseURL:/^X-Request-URL:/m.test(ge.getAllResponseHeaders())?ge.getResponseHeader("X-Request-URL"):null}(Tn)||it.url;return nn=new Qe({headers:jr,status:Tn.status,statusText:yr,url:xs}),nn},yi=()=>{let{headers:yr,status:jr,statusText:xs,url:Co}=Ti(),ns=null;204!==jr&&(ns=typeof Tn.response>"u"?Tn.responseText:Tn.response),0===jr&&(jr=ns?200:0);let Nr=jr>=200&&jr<300;if("json"===it.responseType&&"string"==typeof ns){const To=ns;ns=ns.replace(An,"");try{ns=""!==ns?JSON.parse(ns):null}catch(Bs){ns=To,Nr&&(Nr=!1,ns={error:Bs,text:ns})}}Nr?(yn.next(new pt({body:ns,headers:yr,status:jr,statusText:xs,url:Co||void 0})),yn.complete()):yn.error(new Nt({error:ns,headers:yr,status:jr,statusText:xs,url:Co||void 0}))},Hr=yr=>{const{url:jr}=Ti(),xs=new Nt({error:yr,status:Tn.status||0,statusText:Tn.statusText||"Unknown Error",url:jr||void 0});yn.error(xs)};let ss=!1;const wr=yr=>{ss||(yn.next(Ti()),ss=!0);let jr={type:Je.DownloadProgress,loaded:yr.loaded};yr.lengthComputable&&(jr.total=yr.total),"text"===it.responseType&&Tn.responseText&&(jr.partialText=Tn.responseText),yn.next(jr)},Ki=yr=>{let jr={type:Je.UploadProgress,loaded:yr.loaded};yr.lengthComputable&&(jr.total=yr.total),yn.next(jr)};return Tn.addEventListener("load",yi),Tn.addEventListener("error",Hr),Tn.addEventListener("timeout",Hr),Tn.addEventListener("abort",Hr),it.reportProgress&&(Tn.addEventListener("progress",wr),null!==pi&&Tn.upload&&Tn.upload.addEventListener("progress",Ki)),Tn.send(pi),yn.next({type:Je.Sent}),()=>{Tn.removeEventListener("error",Hr),Tn.removeEventListener("abort",Hr),Tn.removeEventListener("load",yi),Tn.removeEventListener("timeout",Hr),it.reportProgress&&(Tn.removeEventListener("progress",wr),null!==pi&&Tn.upload&&Tn.upload.removeEventListener("progress",Ki)),Tn.readyState!==Tn.DONE&&Tn.abort()}})))}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(F.JF))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const ki=new i.OlP("XSRF_ENABLED"),Pi=new i.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Or=new i.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Dr{}let bs=(()=>{class ge{constructor(it,Ht,Kt){this.doc=it,this.platform=Ht,this.cookieName=Kt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const it=this.doc.cookie||"";return it!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,F.Mx)(it,this.cookieName),this.lastCookieString=it),this.lastToken}static#e=this.\u0275fac=function(Ht){return new(Ht||ge)(i.LFG(F.K0),i.LFG(i.Lbi),i.LFG(Pi))};static#t=this.\u0275prov=i.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();function Do(ge,Ae){const it=ge.url.toLowerCase();if(!(0,i.f3M)(ki)||"GET"===ge.method||"HEAD"===ge.method||it.startsWith("http://")||it.startsWith("https://"))return Ae(ge);const Ht=(0,i.f3M)(Dr).getToken(),Kt=(0,i.f3M)(Or);return null!=Ht&&!ge.headers.has(Kt)&&(ge=ge.clone({headers:ge.headers.set(Kt,Ht)})),Ae(ge)}var Ls=function(ge){return ge[ge.Interceptors=0]="Interceptors",ge[ge.LegacyInterceptors=1]="LegacyInterceptors",ge[ge.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ge[ge.NoXsrfProtection=3]="NoXsrfProtection",ge[ge.JsonpSupport=4]="JsonpSupport",ge[ge.RequestsMadeViaParent=5]="RequestsMadeViaParent",ge[ge.Fetch=6]="Fetch",ge}(Ls||{});function mr(...ge){const Ae=[nt,Qt,Bn,{provide:x,useExisting:Bn},{provide:H,useExisting:Qt},{provide:qn,useValue:Do,multi:!0},{provide:ki,useValue:!0},{provide:Dr,useClass:bs}];for(const it of ge)Ae.push(...it.\u0275providers);return(0,i.MR2)(Ae)}const ln=new i.OlP("LEGACY_INTERCEPTOR_FN");function Yt(){return function On(ge,Ae){return{\u0275kind:ge,\u0275providers:Ae}}(Ls.LegacyInterceptors,[{provide:ln,useFactory:ir},{provide:qn,useExisting:ln,multi:!0}])}let Bt=(()=>{class ge{static#e=this.\u0275fac=function(Ht){return new(Ht||ge)};static#t=this.\u0275mod=i.oAB({type:ge});static#n=this.\u0275inj=i.cJS({providers:[mr(Yt())]})}return ge})()},755:(lt,_e,m)=>{"use strict";m.d(_e,{$8M:()=>dd,$WT:()=>ds,$Z:()=>im,AFp:()=>s_,ALo:()=>cy,AaK:()=>H,Akn:()=>ad,AsE:()=>cv,B6R:()=>Fo,BQk:()=>J_,CHM:()=>Ic,CRH:()=>Ty,Ckj:()=>Qm,DdM:()=>XI,DyG:()=>Hu,EJc:()=>zx,EiD:()=>Jm,EpF:()=>XC,F$t:()=>nv,F4k:()=>qC,FYo:()=>jp,FiY:()=>Rd,Flj:()=>Lc,G48:()=>ET,Gf:()=>by,GfV:()=>Dg,GkF:()=>Q_,Gpc:()=>X,Gre:()=>bA,HDt:()=>$y,HOy:()=>uv,Hsn:()=>dA,JOm:()=>yh,JVY:()=>k0,JZr:()=>K,KtG:()=>Ul,L6k:()=>vg,LAX:()=>yv,LFG:()=>Ri,LSH:()=>yp,Lbi:()=>Lp,Lck:()=>Pb,MAs:()=>eA,MGl:()=>Jh,MMx:()=>VI,MR2:()=>Xd,NdJ:()=>ev,O4$:()=>Xt,Ojb:()=>K0,OlP:()=>Pi,Oqu:()=>Mm,P3R:()=>bp,PXZ:()=>CT,Q6J:()=>QC,QGY:()=>X_,QbO:()=>$0,Qsj:()=>oC,R0b:()=>_c,RDi:()=>E0,Rgc:()=>_v,SBq:()=>Mf,Sil:()=>Zx,Suo:()=>xy,TTD:()=>zr,TgZ:()=>Am,Tol:()=>av,Udp:()=>r0,VKq:()=>qI,VuI:()=>eE,W1O:()=>Dy,WLB:()=>ey,XFs:()=>Ye,Xpm:()=>So,Xq5:()=>Hv,Xts:()=>Qd,Y36:()=>th,YKP:()=>jI,YNc:()=>Qv,Yjl:()=>er,Yz7:()=>dn,Z0I:()=>Bn,ZZ4:()=>TI,_Bn:()=>HI,_UZ:()=>K_,_Vd:()=>wf,_c5:()=>jT,_uU:()=>lv,aQg:()=>EI,c2e:()=>Gy,cEC:()=>ce,cJS:()=>di,cg1:()=>kt,dDg:()=>gT,dqk:()=>Qt,eBb:()=>Wm,eFA:()=>rb,eJc:()=>cI,ekj:()=>xm,eoX:()=>eb,evT:()=>xd,f3M:()=>mn,g9A:()=>o_,gL8:()=>dv,h0i:()=>Lm,hGG:()=>zT,hYB:()=>wa,hij:()=>Dm,iGM:()=>yy,ifc:()=>Tn,ip1:()=>Zy,jDz:()=>WI,kEZ:()=>ty,kL8:()=>Un,l5B:()=>ny,lG2:()=>Wa,lcZ:()=>uy,lnq:()=>d0,lqb:()=>Ou,lri:()=>Xy,mCW:()=>Ag,n5z:()=>zf,oAB:()=>_s,oJD:()=>Ip,oxw:()=>uA,pB0:()=>O0,q3G:()=>Jd,qFp:()=>nE,qLn:()=>bd,qOj:()=>Ed,qZA:()=>Im,qoO:()=>hv,qzn:()=>Eh,rFY:()=>iy,rWj:()=>qy,rg0:()=>Ln,s9C:()=>iv,sBO:()=>wT,s_b:()=>PA,soG:()=>NA,tb:()=>vI,tdS:()=>Wr,tp0:()=>Nd,uIk:()=>ZC,vHH:()=>V,vpe:()=>nu,wAp:()=>Nn,xp6:()=>M_,ynx:()=>ym,z2F:()=>C0,z3N:()=>qu,zSh:()=>Dp,zs3:()=>fu});var i=m(8748),t=m(902),A=m(8132),a=m(5047),y=m(6424),C=m(1209),b=m(8557),N=m(4787),j=m(8004);function F(n){for(let o in n)if(n[o]===F)return o;throw Error("Could not find renamed property on target object.")}function x(n,o){for(const l in o)o.hasOwnProperty(l)&&!n.hasOwnProperty(l)&&(n[l]=o[l])}function H(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(H).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const o=n.toString();if(null==o)return""+o;const l=o.indexOf("\n");return-1===l?o:o.substring(0,l)}function k(n,o){return null==n||""===n?null===o?"":o:null==o||""===o?n:n+" "+o}const P=F({__forward_ref__:F});function X(n){return n.__forward_ref__=X,n.toString=function(){return H(this())},n}function me(n){return Oe(n)?n():n}function Oe(n){return"function"==typeof n&&n.hasOwnProperty(P)&&n.__forward_ref__===X}function Se(n){return n&&!!n.\u0275providers}const K="https://g.co/ng/security#xss";class V extends Error{constructor(o,l){super(function J(n,o){return`NG0${Math.abs(n)}${o?": "+o:""}`}(o,l)),this.code=o}}function ae(n){return"string"==typeof n?n:null==n?"":String(n)}function gt(n,o){throw new V(-201,!1)}function hn(n,o){null==n&&function yt(n,o,l,g){throw new Error(`ASSERTION ERROR: ${n}`+(null==g?"":` [Expected=> ${l} ${g} ${o} <=Actual]`))}(o,n,null,"!=")}function dn(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function di(n){return{providers:n.providers||[],imports:n.imports||[]}}function ir(n){return xi(n,Ot)||xi(n,De)}function Bn(n){return null!==ir(n)}function xi(n,o){return n.hasOwnProperty(o)?n[o]:null}function Mt(n){return n&&(n.hasOwnProperty(ve)||n.hasOwnProperty(xe))?n[ve]:null}const Ot=F({\u0275prov:F}),ve=F({\u0275inj:F}),De=F({ngInjectableDef:F}),xe=F({ngInjectorDef:F});var Ye=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(Ye||{});let xt;function cn(){return xt}function Kn(n){const o=xt;return xt=n,o}function An(n,o,l){const g=ir(n);return g&&"root"==g.providedIn?void 0===g.value?g.value=g.factory():g.value:l&Ye.Optional?null:void 0!==o?o:void gt(H(n))}const Qt=globalThis;class Pi{constructor(o,l){this._desc=o,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof l?this.__NG_ELEMENT_ID__=l:void 0!==l&&(this.\u0275prov=dn({token:this,providedIn:l.providedIn||"root",factory:l.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Yt={},li="__NG_DI_FLAG__",Qr="ngTempTokenPath",Pn=/\n/gm,Rt="__source";let Bt;function mi(n){const o=Bt;return Bt=n,o}function rr(n,o=Ye.Default){if(void 0===Bt)throw new V(-203,!1);return null===Bt?An(n,void 0,o):Bt.get(n,o&Ye.Optional?null:void 0,o)}function Ri(n,o=Ye.Default){return(cn()||rr)(me(n),o)}function mn(n,o=Ye.Default){return Ri(n,Xe(o))}function Xe(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function ke(n){const o=[];for(let l=0;lo){G=S-1;break}}}for(;SS?"":I[Ft+1].toLowerCase();const Dn=8&g?vn:null;if(Dn&&-1!==jr(Dn,Le,0)||2&g&&Le!==vn){if(Ds(g))return!1;G=!0}}}}else{if(!G&&!Ds(g)&&!Ds(fe))return!1;if(G&&Ds(fe))continue;G=!1,g=fe|1&g}}return Ds(g)||G}function Ds(n){return 0==(1&n)}function St(n,o,l,g){if(null===o)return-1;let I=0;if(g||!l){let S=!1;for(;I-1)for(l++;l0?'="'+ie+'"':"")+"]"}else 8&g?I+="."+G:4&g&&(I+=" "+G);else""!==I&&!Ds(G)&&(o+=Ui(S,I),I=""),g=G,S=S||!Ds(g);l++}return""!==I&&(o+=Ui(S,I)),o}function So(n){return Kt(()=>{const o=gl(n),l={...o,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===yn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Tn.Emulated,styles:n.styles||nn,_:null,schemas:n.schemas||null,tView:null,id:""};ha(l);const g=n.dependencies;return l.directiveDefs=as(g,!1),l.pipeDefs=as(g,!0),l.id=function Ma(n){let o=0;const l=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const I of l)o=Math.imul(31,o)+I.charCodeAt(0)<<0;return o+=2147483648,"c"+o}(l),l})}function Fo(n,o,l){const g=n.\u0275cmp;g.directiveDefs=as(o,!1),g.pipeDefs=as(l,!0)}function Ks(n){return Cr(n)||Ss(n)}function na(n){return null!==n}function _s(n){return Kt(()=>({type:n.type,bootstrap:n.bootstrap||nn,declarations:n.declarations||nn,imports:n.imports||nn,exports:n.exports||nn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function da(n,o){if(null==n)return pi;const l={};for(const g in n)if(n.hasOwnProperty(g)){let I=n[g],S=I;Array.isArray(I)&&(S=I[1],I=I[0]),l[I]=g,o&&(o[I]=S)}return l}function Wa(n){return Kt(()=>{const o=gl(n);return ha(o),o})}function er(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Cr(n){return n[Ti]||null}function Ss(n){return n[yi]||null}function br(n){return n[Hr]||null}function ds(n){const o=Cr(n)||Ss(n)||br(n);return null!==o&&o.standalone}function Yo(n,o){const l=n[ss]||null;if(!l&&!0===o)throw new Error(`Type ${H(n)} does not have '\u0275mod' property.`);return l}function gl(n){const o={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:o,inputTransforms:null,inputConfig:n.inputs||pi,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||nn,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:da(n.inputs,o),outputs:da(n.outputs)}}function ha(n){n.features?.forEach(o=>o(n))}function as(n,o){if(!n)return null;const l=o?br:Ks;return()=>("function"==typeof n?n():n).map(g=>l(g)).filter(na)}const Fi=0,_i=1,dr=2,$r=3,Fr=4,Ho=5,no=6,Vr=7,os=8,$o=9,Ko=10,Rn=11,Mo=12,Aa=13,Xr=14,gr=15,Us=16,Rs=17,Mr=18,Zr=19,Ji=20,uo=21,Oo=22,Js=23,Ia=24,xr=25,Kl=1,vo=2,io=7,Pl=9,ho=11;function Lr(n){return Array.isArray(n)&&"object"==typeof n[Kl]}function Qs(n){return Array.isArray(n)&&!0===n[Kl]}function Hs(n){return 0!=(4&n.flags)}function Da(n){return n.componentOffset>-1}function Za(n){return 1==(1&n.flags)}function jo(n){return!!n.template}function Sa(n){return 0!=(512&n[dr])}function ga(n,o){return n.hasOwnProperty(wr)?n[wr]:null}const Ts=Symbol("SIGNAL");function kc(n,o){return(null===n||"object"!=typeof n)&&Object.is(n,o)}let Cs=null,Rl=!1;function pa(n){const o=Cs;return Cs=n,o}const ba={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Jl(n){if(Rl)throw new Error("");if(null===Cs)return;const o=Cs.nextProducerIndex++;Cl(Cs),on.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function ai(n){Cl(n);for(let o=0;o0}function Cl(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function Ao(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function Lc(n,o){const l=Object.create(vl);l.computation=n,o?.equal&&(l.equal=o.equal);const g=()=>{if(Fa(l),Jl(l),l.value===hs)throw l.error;return l.value};return g[Ts]=l,g}const ol=Symbol("UNSET"),Xo=Symbol("COMPUTING"),hs=Symbol("ERRORED"),vl=(()=>({...ba,value:ol,dirty:!0,error:null,equal:kc,producerMustRecompute:n=>n.value===ol||n.value===Xo,producerRecomputeValue(n){if(n.value===Xo)throw new Error("Detected cycle in computations.");const o=n.value;n.value=Xo;const l=Ga(n);let g;try{g=n.computation()}catch(I){g=hs,n.error=I}finally{ra(n,l)}o!==ol&&o!==hs&&g!==hs&&n.equal(o,g)?n.value=o:(n.value=g,n.version++)}}))();let qo=function al(){throw new Error};function Io(){qo()}let zo=null;function Wr(n,o){const l=Object.create(Ql);function g(){return Jl(l),l.value}return l.value=n,o?.equal&&(l.equal=o.equal),g.set=qe,g.update=Te,g.mutate=We,g.asReadonly=Ut,g[Ts]=l,g}const Ql=(()=>({...ba,equal:kc,readonlyFn:void 0}))();function re(n){n.version++,so(n),zo?.()}function qe(n){const o=this[Ts];Vs()||Io(),o.equal(o.value,n)||(o.value=n,re(o))}function Te(n){Vs()||Io(),qe.call(this,n(this[Ts].value))}function We(n){const o=this[Ts];Vs()||Io(),n(o.value),re(o)}function Ut(){const n=this[Ts];if(void 0===n.readonlyFn){const o=()=>this();o[Ts]=n,n.readonlyFn=o}return n.readonlyFn}function Ln(n){const o=pa(null);try{return n()}finally{pa(o)}}const Si=()=>{},ps=(()=>({...ba,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule(n.ref)},hasRun:!1,cleanupFn:Si}))();class ls{constructor(o,l,g){this.previousValue=o,this.currentValue=l,this.firstChange=g}isFirstChange(){return this.firstChange}}function zr(){return Ws}function Ws(n){return n.type.prototype.ngOnChanges&&(n.setInput=rs),ks}function ks(){const n=Zs(this),o=n?.current;if(o){const l=n.previous;if(l===pi)n.previous=o;else for(let g in o)l[g]=o[g];n.current=null,this.ngOnChanges(o)}}function rs(n,o,l,g){const I=this.declaredInputs[l],S=Zs(n)||function xa(n,o){return n[ea]=o}(n,{previous:pi,current:null}),G=S.current||(S.current={}),ie=S.previous,fe=ie[I];G[I]=new ls(fe&&fe.currentValue,o,ie===pi),n[g]=o}zr.ngInherit=!0;const ea="__ngSimpleChanges__";function Zs(n){return n[ea]||null}const fo=function(n,o,l){},za="svg";function Es(n){for(;Array.isArray(n);)n=n[Fi];return n}function Ka(n,o){return Es(o[n])}function go(n,o){return Es(o[n.index])}function Ba(n,o){return n.data[o]}function po(n,o){return n[o]}function yo(n,o){const l=o[n];return Lr(l)?l:l[Fi]}function _a(n,o){return null==o?null:n[o]}function cc(n){n[Rs]=0}function Hc(n){1024&n[dr]||(n[dr]|=1024,uc(n,1))}function Pc(n){1024&n[dr]&&(n[dr]&=-1025,uc(n,-1))}function uc(n,o){let l=n[$r];if(null===l)return;l[Ho]+=o;let g=l;for(l=l[$r];null!==l&&(1===o&&1===g[Ho]||-1===o&&0===g[Ho]);)l[Ho]+=o,g=l,l=l[$r]}function ql(n,o){if(256==(256&n[dr]))throw new V(911,!1);null===n[uo]&&(n[uo]=[]),n[uo].push(o)}const cr={lFrame:et(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zc(){return cr.bindingsEnabled}function El(){return null!==cr.skipHydrationRootTNode}function ii(){return cr.lFrame.lView}function es(){return cr.lFrame.tView}function Ic(n){return cr.lFrame.contextLView=n,n[os]}function Ul(n){return cr.lFrame.contextLView=null,n}function Ta(){let n=Rc();for(;null!==n&&64===n.type;)n=n.parent;return n}function Rc(){return cr.lFrame.currentTNode}function Oa(n,o){const l=cr.lFrame;l.currentTNode=n,l.isParent=o}function Ea(){return cr.lFrame.isParent}function wl(){cr.lFrame.isParent=!1}function sa(){const n=cr.lFrame;let o=n.bindingRootIndex;return-1===o&&(o=n.bindingRootIndex=n.tView.bindingStartIndex),o}function Qa(){return cr.lFrame.bindingIndex}function Kr(n){return cr.lFrame.bindingIndex=n}function oo(){return cr.lFrame.bindingIndex++}function Ua(n){const o=cr.lFrame,l=o.bindingIndex;return o.bindingIndex=o.bindingIndex+n,l}function jt(n,o){const l=cr.lFrame;l.bindingIndex=l.bindingRootIndex=n,Ue(o)}function Ue(n){cr.lFrame.currentDirectiveIndex=n}function E(){return cr.lFrame.currentQueryIndex}function v(n){cr.lFrame.currentQueryIndex=n}function M(n){const o=n[_i];return 2===o.type?o.declTNode:1===o.type?n[no]:null}function W(n,o,l){if(l&Ye.SkipSelf){let I=o,S=n;for(;!(I=I.parent,null!==I||l&Ye.Host||(I=M(S),null===I||(S=S[Xr],10&I.type))););if(null===I)return!1;o=I,n=S}const g=cr.lFrame=be();return g.currentTNode=o,g.lView=n,!0}function ue(n){const o=be(),l=n[_i];cr.lFrame=o,o.currentTNode=l.firstChild,o.lView=n,o.tView=l,o.contextLView=n,o.bindingIndex=l.bindingStartIndex,o.inI18n=!1}function be(){const n=cr.lFrame,o=null===n?null:n.child;return null===o?et(n):o}function et(n){const o={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=o),o}function q(){const n=cr.lFrame;return cr.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const U=q;function Y(){const n=q();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 Ve(){return cr.lFrame.selectedIndex}function bt(n){cr.lFrame.selectedIndex=n}function It(){const n=cr.lFrame;return Ba(n.tView,n.selectedIndex)}function Xt(){cr.lFrame.currentNamespace=za}let Hi=!0;function hi(){return Hi}function wi(n){Hi=n}function sr(n,o){for(let l=o.directiveStart,g=o.directiveEnd;l=g)break}else o[fe]<0&&(n[Rs]+=65536),(ie>13>16&&(3&n[dr])===o&&(n[dr]+=8192,Wo(ie,S)):Wo(ie,S)}const Zo=-1;class Ns{constructor(o,l,g){this.factory=o,this.resolving=!1,this.canSeeViewProviders=l,this.injectImpl=g}}function kr(n){return n!==Zo}function Jr(n){return 32767&n}function oa(n,o){let l=function Go(n){return n>>16}(n),g=o;for(;l>0;)g=g[Xr],l--;return g}let Hl=!0;function vs(n){const o=Hl;return Hl=n,o}const aa=255,jl=5;let cl=0;const qa={};function Dl(n,o){const l=yc(n,o);if(-1!==l)return l;const g=o[_i];g.firstCreatePass&&(n.injectorIndex=o.length,sc(g.data,n),sc(o,null),sc(g.blueprint,null));const I=cs(n,o),S=n.injectorIndex;if(kr(I)){const G=Jr(I),ie=oa(I,o),fe=ie[_i].data;for(let Le=0;Le<8;Le++)o[S+Le]=ie[G+Le]|fe[G+Le]}return o[S+8]=I,S}function sc(n,o){n.push(0,0,0,0,0,0,0,0,o)}function yc(n,o){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===o[n.injectorIndex+8]?-1:n.injectorIndex}function cs(n,o){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let l=0,g=null,I=o;for(;null!==I;){if(g=Qh(I),null===g)return Zo;if(l++,I=I[Xr],-1!==g.injectorIndex)return g.injectorIndex|l<<16}return Zo}function R(n,o,l){!function zl(n,o,l){let g;"string"==typeof l?g=l.charCodeAt(0)||0:l.hasOwnProperty(Ki)&&(g=l[Ki]),null==g&&(g=l[Ki]=cl++);const I=g&aa;o.data[n+(I>>jl)]|=1<=0?o&aa:jf:o}(l);if("function"==typeof S){if(!W(o,n,g))return g&Ye.Host?Ie(I,0,g):Pe(o,l,g,I);try{let G;if(G=S(g),null!=G||g&Ye.Optional)return G;gt()}finally{U()}}else if("number"==typeof S){let G=null,ie=yc(n,o),fe=Zo,Le=g&Ye.Host?o[gr][no]:null;for((-1===ie||g&Ye.SkipSelf)&&(fe=-1===ie?cs(n,o):o[ie+8],fe!==Zo&&zc(g,!1)?(G=o[_i],ie=Jr(fe),o=oa(fe,o)):ie=-1);-1!==ie;){const ct=o[_i];if(Sl(S,ie,ct.data)){const Ft=Gn(ie,o,l,G,g,Le);if(Ft!==qa)return Ft}fe=o[ie+8],fe!==Zo&&zc(g,o[_i].data[ie+8]===Le)&&Sl(S,ie,o)?(G=ct,ie=Jr(fe),o=oa(fe,o)):ie=-1}}return I}function Gn(n,o,l,g,I,S){const G=o[_i],ie=G.data[n+8],ct=Vi(ie,G,l,null==g?Da(ie)&&Hl:g!=G&&0!=(3&ie.type),I&Ye.Host&&S===ie);return null!==ct?Pr(o,G,ct,ie):qa}function Vi(n,o,l,g,I){const S=n.providerIndexes,G=o.data,ie=1048575&S,fe=n.directiveStart,ct=S>>20,vn=I?ie+ct:n.directiveEnd;for(let Dn=g?ie:ie+ct;Dn=fe&&ci.type===l)return Dn}if(I){const Dn=G[fe];if(Dn&&jo(Dn)&&Dn.type===l)return fe}return null}function Pr(n,o,l,g){let I=n[l];const S=o.data;if(function Va(n){return n instanceof Ns}(I)){const G=I;G.resolving&&function ye(n,o){const l=o?`. Dependency path: ${o.join(" > ")} > ${n}`:"";throw new V(-200,`Circular dependency in DI detected for ${n}${l}`)}(function oe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():ae(n)}(S[l]));const ie=vs(G.canSeeViewProviders);G.resolving=!0;const Le=G.injectImpl?Kn(G.injectImpl):null;W(n,g,Ye.Default);try{I=n[l]=G.factory(void 0,S,n,g),o.firstCreatePass&&l>=g.directiveStart&&function Tr(n,o,l){const{ngOnChanges:g,ngOnInit:I,ngDoCheck:S}=o.type.prototype;if(g){const G=Ws(o);(l.preOrderHooks??=[]).push(n,G),(l.preOrderCheckHooks??=[]).push(n,G)}I&&(l.preOrderHooks??=[]).push(0-n,I),S&&((l.preOrderHooks??=[]).push(n,S),(l.preOrderCheckHooks??=[]).push(n,S))}(l,S[l],o)}finally{null!==Le&&Kn(Le),vs(ie),G.resolving=!1,U()}}return I}function Sl(n,o,l){return!!(l[o+(n>>jl)]&1<{const o=n.prototype.constructor,l=o[wr]||uh(o),g=Object.prototype;let I=Object.getPrototypeOf(n.prototype).constructor;for(;I&&I!==g;){const S=I[wr]||uh(I);if(S&&S!==l)return S;I=Object.getPrototypeOf(I)}return S=>new S})}function uh(n){return Oe(n)?()=>{const o=uh(me(n));return o&&o()}:ga(n)}function Qh(n){const o=n[_i],l=o.type;return 2===l?o.declTNode:1===l?n[no]:null}function dd(n){return function te(n,o){if("class"===o)return n.classes;if("style"===o)return n.styles;const l=n.attrs;if(l){const g=l.length;let I=0;for(;I{const g=function dh(n){return function(...l){if(n){const g=n(...l);for(const I in g)this[I]=g[I]}}}(o);function I(...S){if(this instanceof I)return g.apply(this,S),this;const G=new I(...S);return ie.annotation=G,ie;function ie(fe,Le,ct){const Ft=fe.hasOwnProperty(lu)?fe[lu]:Object.defineProperty(fe,lu,{value:[]})[lu];for(;Ft.length<=ct;)Ft.push(null);return(Ft[ct]=Ft[ct]||[]).push(G),fe}}return l&&(I.prototype=Object.create(l.prototype)),I.prototype.ngMetadataName=n,I.annotationCls=I,I})}const Hu=Function;function zu(n,o){n.forEach(l=>Array.isArray(l)?zu(l,o):o(l))}function $f(n,o,l){o>=n.length?n.push(l):n.splice(o,0,l)}function qh(n,o){return o>=n.length-1?n.pop():n.splice(o,1)[0]}function xu(n,o){const l=[];for(let g=0;g=0?n[1|g]=l:(g=~g,function Jf(n,o,l,g){let I=n.length;if(I==o)n.push(l,g);else if(1===I)n.push(g,n[0]),n[0]=l;else{for(I--,n.push(n[I-1],n[I]);I>o;)n[I]=n[I-2],I--;n[o]=l,n[o+1]=g}}(n,g,o,l)),g}function ef(n,o){const l=Pd(n,o);if(l>=0)return n[1|l]}function Pd(n,o){return function Qf(n,o,l){let g=0,I=n.length>>l;for(;I!==g;){const S=g+(I-g>>1),G=n[S<o?I=S:g=S+1}return~(I<|^->||--!>|)/g,fp="\u200b$1\u200b";const tu=new Map;let dg=0;const Ai="__ngContext__";function nr(n,o){Lr(o)?(n[Ai]=o[Zr],function Z(n){tu.set(n[Zr],n)}(o)):n[Ai]=o}let la;function ca(n,o){return la(n,o)}function ua(n){const o=n[$r];return Qs(o)?o[$r]:o}function tc(n){return gc(n[Mo])}function Tc(n){return gc(n[Fr])}function gc(n){for(;null!==n&&!Qs(n);)n=n[Fr];return n}function pc(n,o,l,g,I){if(null!=g){let S,G=!1;Qs(g)?S=g:Lr(g)&&(G=!0,g=g[Fi]);const ie=Es(g);0===n&&null!==l?null==I?mf(o,l,ie):Du(o,l,ie,I||null,!0):1===n&&null!==l?Du(o,l,ie,I||null,!0):2===n?function Su(n,o,l){const g=Qu(n,o);g&&function _f(n,o,l,g){n.removeChild(o,l,g)}(n,g,o,l)}(o,ie,G):3===n&&o.destroyNode(ie),null!=S&&function y0(n,o,l,g,I){const S=l[io];S!==Es(l)&&pc(o,n,g,S,I);for(let ie=ho;ieo.replace(gf,fp))}(o))}function Gu(n,o,l){return n.createElement(o,l)}function pu(n,o){const l=n[Pl],g=l.indexOf(o);Pc(o),l.splice(g,1)}function Mu(n,o){if(n.length<=ho)return;const l=ho+o,g=n[l];if(g){const I=g[Us];null!==I&&I!==n&&pu(I,g),o>0&&(n[l-1][Fr]=g[Fr]);const S=qh(n,ho+o);!function $u(n,o){fg(n,o,o[Rn],2,null,null),o[Fi]=null,o[no]=null}(g[_i],g);const G=S[Mr];null!==G&&G.detachView(S[_i]),g[$r]=null,g[Fr]=null,g[dr]&=-129}return g}function _d(n,o){if(!(256&o[dr])){const l=o[Rn];o[Js]&&Nl(o[Js]),o[Ia]&&Nl(o[Ia]),l.destroyNode&&fg(n,o,l,3,null,null),function zd(n){let o=n[Mo];if(!o)return mu(n[_i],n);for(;o;){let l=null;if(Lr(o))l=o[Mo];else{const g=o[ho];g&&(l=g)}if(!l){for(;o&&!o[Fr]&&o!==n;)Lr(o)&&mu(o[_i],o),o=o[$r];null===o&&(o=n),Lr(o)&&mu(o[_i],o),l=o&&o[Fr]}o=l}}(o)}}function mu(n,o){if(!(256&o[dr])){o[dr]&=-129,o[dr]|=256,function hg(n,o){let l;if(null!=n&&null!=(l=n.destroyHooks))for(let g=0;g=0?g[G]():g[-G].unsubscribe(),S+=2}else l[S].call(g[l[S+1]]);null!==g&&(o[Vr]=null);const I=o[uo];if(null!==I){o[uo]=null;for(let S=0;S-1){const{encapsulation:S}=n.data[g.directiveStart+I];if(S===Tn.None||S===Tn.Emulated)return null}return go(g,l)}}(n,o.parent,l)}function Du(n,o,l,g,I){n.insertBefore(o,l,g,I)}function mf(n,o,l){n.appendChild(o,l)}function Wd(n,o,l,g,I){null!==g?Du(n,o,l,g,I):mf(n,o,l)}function Qu(n,o){return n.parentNode(o)}function Vc(n,o,l){return Xu(n,o,l)}let vd,mg,Cf,$d,Xu=function uu(n,o,l){return 40&n.type?go(n,l):null};function Wc(n,o,l,g){const I=Vd(n,g,o),S=o[Rn],ie=Vc(g.parent||o[no],g,o);if(null!=I)if(Array.isArray(l))for(let fe=0;fen,createScript:n=>n,createScriptURL:n=>n})}catch{}return mg}()?.createHTML(n)||n}function E0(n){Cf=n}function hu(){if(void 0!==Cf)return Cf;if(typeof document<"u")return document;throw new V(210,!1)}function Cg(){if(void 0===$d&&($d=null,Qt.trustedTypes))try{$d=Qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return $d}function Th(n){return Cg()?.createHTML(n)||n}function zm(n){return Cg()?.createScriptURL(n)||n}class Kd{constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${K})`}}class w0 extends Kd{getTypeName(){return"HTML"}}class M0 extends Kd{getTypeName(){return"Style"}}class D0 extends Kd{getTypeName(){return"Script"}}class S0 extends Kd{getTypeName(){return"URL"}}class Vm extends Kd{getTypeName(){return"ResourceURL"}}function qu(n){return n instanceof Kd?n.changingThisBreaksApplicationSecurity:n}function Eh(n,o){const l=function wh(n){return n instanceof Kd&&n.getTypeName()||null}(n);if(null!=l&&l!==o){if("ResourceURL"===l&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${l} (see ${K})`)}return l===o}function k0(n){return new w0(n)}function vg(n){return new M0(n)}function Wm(n){return new D0(n)}function yv(n){return new S0(n)}function O0(n){return new Vm(n)}class L0{constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o=""+o;try{const l=(new window.DOMParser).parseFromString(xh(o),"text/html").body;return null===l?this.inertDocumentHelper.getInertBodyElement(o):(l.removeChild(l.firstChild),l)}catch{return null}}}class P0{constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const l=this.inertDocument.createElement("template");return l.innerHTML=xh(o),l}}const N0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ag(n){return(n=String(n)).match(N0)?n:"unsafe:"+n}function ed(n){const o={};for(const l of n.split(","))o[l]=!0;return o}function vf(...n){const o={};for(const l of n)for(const g in l)l.hasOwnProperty(g)&&(o[g]=!0);return o}const Zm=ed("area,br,col,hr,img,wbr"),Ig=ed("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yg=ed("rp,rt"),mp=vf(Zm,vf(Ig,ed("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")),vf(yg,ed("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")),vf(yg,Ig)),_p=ed("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gm=vf(_p,ed("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ed("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")),Cp=ed("script,style,template");class F0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(o){let l=o.firstChild,g=!0;for(;l;)if(l.nodeType===Node.ELEMENT_NODE?g=this.startElement(l):l.nodeType===Node.TEXT_NODE?this.chars(l.nodeValue):this.sanitizedSomething=!0,g&&l.firstChild)l=l.firstChild;else for(;l;){l.nodeType===Node.ELEMENT_NODE&&this.endElement(l);let I=this.checkClobberedElement(l,l.nextSibling);if(I){l=I;break}l=this.checkClobberedElement(l,l.parentNode)}return this.buf.join("")}startElement(o){const l=o.nodeName.toLowerCase();if(!mp.hasOwnProperty(l))return this.sanitizedSomething=!0,!Cp.hasOwnProperty(l);this.buf.push("<"),this.buf.push(l);const g=o.attributes;for(let I=0;I"),!0}endElement(o){const l=o.nodeName.toLowerCase();mp.hasOwnProperty(l)&&!Zm.hasOwnProperty(l)&&(this.buf.push(""))}chars(o){this.buf.push(Km(o))}checkClobberedElement(o,l){if(l&&(o.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${o.outerHTML}`);return l}}const vp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$m=/([^\#-~ |!])/g;function Km(n){return n.replace(/&/g,"&").replace(vp,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace($m,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(//g,">")}let bg;function Jm(n,o){let l=null;try{bg=bg||function Mh(n){const o=new P0(n);return function R0(){try{return!!(new window.DOMParser).parseFromString(xh(""),"text/html")}catch{return!1}}()?new L0(o):o}(n);let g=o?String(o):"";l=bg.getInertBodyElement(g);let I=5,S=g;do{if(0===I)throw new Error("Failed to sanitize html because the input is unstable");I--,g=S,S=l.innerHTML,l=bg.getInertBodyElement(g)}while(g!==S);return xh((new F0).sanitizeChildren(Ap(l)||l))}finally{if(l){const g=Ap(l)||l;for(;g.firstChild;)g.removeChild(g.firstChild)}}}function Ap(n){return"content"in n&&function Y0(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Jd=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Jd||{});function Ip(n){const o=kh();return o?Th(o.sanitize(Jd.HTML,n)||""):Eh(n,"HTML")?Th(qu(n)):Jm(hu(),ae(n))}function Qm(n){const o=kh();return o?o.sanitize(Jd.STYLE,n)||"":Eh(n,"Style")?qu(n):ae(n)}function yp(n){const o=kh();return o?o.sanitize(Jd.URL,n)||"":Eh(n,"URL")?qu(n):Ag(ae(n))}function Xm(n){const o=kh();if(o)return zm(o.sanitize(Jd.RESOURCE_URL,n)||"");if(Eh(n,"ResourceURL"))return zm(qu(n));throw new V(904,!1)}function bp(n,o,l){return function Sh(n,o){return"src"===o&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===o&&("base"===n||"link"===n)?Xm:yp}(o,l)(n)}function kh(){const n=ii();return n&&n[Ko].sanitizer}const Qd=new Pi("ENVIRONMENT_INITIALIZER"),qm=new Pi("INJECTOR",-1),xp=new Pi("INJECTOR_DEF_TYPES");class Tp{get(o,l=Yt){if(l===Yt){const g=new Error(`NullInjectorError: No provider for ${H(o)}!`);throw g.name="NullInjectorError",g}return l}}function Xd(n){return{\u0275providers:n}}function j0(...n){return{\u0275providers:e_(0,n),\u0275fromNgModule:!0}}function e_(n,...o){const l=[],g=new Set;let I;const S=G=>{l.push(G)};return zu(o,G=>{const ie=G;xg(ie,S,[],g)&&(I||=[],I.push(ie))}),void 0!==I&&t_(I,S),l}function t_(n,o){for(let l=0;l{o(S,g)})}}function xg(n,o,l,g){if(!(n=me(n)))return!1;let I=null,S=Mt(n);const G=!S&&Cr(n);if(S||G){if(G&&!G.standalone)return!1;I=n}else{const fe=n.ngModule;if(S=Mt(fe),!S)return!1;I=fe}const ie=g.has(I);if(G){if(ie)return!1;if(g.add(I),G.dependencies){const fe="function"==typeof G.dependencies?G.dependencies():G.dependencies;for(const Le of fe)xg(Le,o,l,g)}}else{if(!S)return!1;{if(null!=S.imports&&!ie){let Le;g.add(I);try{zu(S.imports,ct=>{xg(ct,o,l,g)&&(Le||=[],Le.push(ct))})}finally{}void 0!==Le&&t_(Le,o)}if(!ie){const Le=ga(I)||(()=>new I);o({provide:I,useFactory:Le,deps:nn},I),o({provide:xp,useValue:I,multi:!0},I),o({provide:Qd,useValue:()=>Ri(I),multi:!0},I)}const fe=S.providers;if(null!=fe&&!ie){const Le=n;Ep(fe,ct=>{o(ct,Le)})}}}return I!==n&&void 0!==n.providers}function Ep(n,o){for(let l of n)Se(l)&&(l=l.\u0275providers),Array.isArray(l)?Ep(l,o):o(l)}const z0=F({provide:String,useValue:F});function wp(n){return null!==n&&"object"==typeof n&&z0 in n}function qd(n){return"function"==typeof n}const Dp=new Pi("Set Injector scope."),td={},Sp={};let Af;function ku(){return void 0===Af&&(Af=new Tp),Af}class Ou{}class Oh extends Ou{get destroyed(){return this._destroyed}constructor(o,l,g,I){super(),this.parent=l,this.source=g,this.scopes=I,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Op(o,G=>this.processProvider(G)),this.records.set(qm,Lu(void 0,this)),I.has("environment")&&this.records.set(Ou,Lu(void 0,this));const S=this.records.get(Dp);null!=S&&"string"==typeof S.value&&this.scopes.add(S.value),this.injectorDefTypes=new Set(this.get(xp.multi,nn,Ye.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of o)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(o){return this.assertNotDestroyed(),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){this.assertNotDestroyed();const l=mi(this),g=Kn(void 0);try{return o()}finally{mi(l),Kn(g)}}get(o,l=Yt,g=Ye.Default){if(this.assertNotDestroyed(),o.hasOwnProperty(yr))return o[yr](this);g=Xe(g);const S=mi(this),G=Kn(void 0);try{if(!(g&Ye.SkipSelf)){let fe=this.records.get(o);if(void 0===fe){const Le=function Z0(n){return"function"==typeof n||"object"==typeof n&&n instanceof Pi}(o)&&ir(o);fe=Le&&this.injectableDefInScope(Le)?Lu(i_(o),td):null,this.records.set(o,fe)}if(null!=fe)return this.hydrate(o,fe)}return(g&Ye.Self?ku():this.parent).get(o,l=g&Ye.Optional&&l===Yt?null:l)}catch(ie){if("NullInjectorError"===ie.name){if((ie[Qr]=ie[Qr]||[]).unshift(H(o)),S)throw ie;return function it(n,o,l,g){const I=n[Qr];throw o[Rt]&&I.unshift(o[Rt]),n.message=function Ht(n,o,l,g=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let I=H(o);if(Array.isArray(o))I=o.map(H).join(" -> ");else if("object"==typeof o){let S=[];for(let G in o)if(o.hasOwnProperty(G)){let ie=o[G];S.push(G+":"+("string"==typeof ie?JSON.stringify(ie):H(ie)))}I=`{${S.join(", ")}}`}return`${l}${g?"("+g+")":""}[${I}]: ${n.replace(Pn,"\n ")}`}("\n"+n.message,I,l,g),n.ngTokenPath=I,n[Qr]=null,n}(ie,o,"R3InjectorError",this.source)}throw ie}finally{Kn(G),mi(S)}}resolveInjectorInitializers(){const o=mi(this),l=Kn(void 0);try{const I=this.get(Qd.multi,nn,Ye.Self);for(const S of I)S()}finally{mi(o),Kn(l)}}toString(){const o=[],l=this.records;for(const g of l.keys())o.push(H(g));return`R3Injector[${o.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new V(205,!1)}processProvider(o){let l=qd(o=me(o))?o:me(o&&o.provide);const g=function yd(n){return wp(n)?Lu(void 0,n.useValue):Lu(kp(n),td)}(o);if(qd(o)||!0!==o.multi)this.records.get(l);else{let I=this.records.get(l);I||(I=Lu(void 0,td,!0),I.factory=()=>ke(I.multi),this.records.set(l,I)),l=o,I.multi.push(o)}this.records.set(l,g)}hydrate(o,l){return l.value===td&&(l.value=Sp,l.value=l.factory()),"object"==typeof l.value&&l.value&&function r_(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(l.value)&&this._ngOnDestroyHooks.add(l.value),l.value}injectableDefInScope(o){if(!o.providedIn)return!1;const l=me(o.providedIn);return"string"==typeof l?"any"===l||this.scopes.has(l):this.injectorDefTypes.has(l)}removeOnDestroy(o){const l=this._onDestroyHooks.indexOf(o);-1!==l&&this._onDestroyHooks.splice(l,1)}}function i_(n){const o=ir(n),l=null!==o?o.factory:ga(n);if(null!==l)return l;if(n instanceof Pi)throw new V(204,!1);if(n instanceof Function)return function nc(n){const o=n.length;if(o>0)throw xu(o,"?"),new V(204,!1);const l=function fi(n){return n&&(n[Ot]||n[De])||null}(n);return null!==l?()=>l.factory(n):()=>new n}(n);throw new V(204,!1)}function kp(n,o,l){let g;if(qd(n)){const I=me(n);return ga(I)||i_(I)}if(wp(n))g=()=>me(n.useValue);else if(function n_(n){return!(!n||!n.useFactory)}(n))g=()=>n.useFactory(...ke(n.deps||[]));else if(function Mp(n){return!(!n||!n.useExisting)}(n))g=()=>Ri(me(n.useExisting));else{const I=me(n&&(n.useClass||n.provide));if(!function W0(n){return!!n.deps}(n))return ga(I)||i_(I);g=()=>new I(...ke(n.deps))}return g}function Lu(n,o,l=!1){return{factory:n,value:o,multi:l?[]:void 0}}function Op(n,o){for(const l of n)Array.isArray(l)?Op(l,o):l&&Se(l)?Op(l.\u0275providers,o):o(l)}const s_=new Pi("AppId",{providedIn:"root",factory:()=>G0}),G0="ng",o_=new Pi("Platform Initializer"),Lp=new Pi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),$0=new Pi("AnimationModuleType"),K0=new Pi("CSP nonce",{providedIn:"root",factory:()=>hu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let a_=(n,o,l)=>null;function Yp(n,o,l=!1){return a_(n,o,l)}class h_{}class Nh{}class sC{resolveComponentFactory(o){throw function Up(n){const o=Error(`No component factory found for ${H(n)}.`);return o.ngComponent=n,o}(o)}}let wf=(()=>{class n{static#e=this.NULL=new sC}return n})();function Fh(){return Yh(Ta(),ii())}function Yh(n,o){return new Mf(go(n,o))}let Mf=(()=>{class n{constructor(l){this.nativeElement=l}static#e=this.__NG_ELEMENT_ID__=Fh}return n})();function f_(n){return n instanceof Mf?n.nativeElement:n}class jp{}let oC=(()=>{class n{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function aC(){const n=ii(),l=yo(Ta().index,n);return(Lr(l)?l:n)[Rn]}()}return n})(),lC=(()=>{class n{static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:()=>null})}return n})();class Dg{constructor(o){this.full=o,this.major=o.split(".")[0],this.minor=o.split(".")[1],this.patch=o.split(".").slice(2).join(".")}}const cC=new Dg("16.2.12"),Df={};function __(n,o=null,l=null,g){const I=Sg(n,o,l,g);return I.resolveInjectorInitializers(),I}function Sg(n,o=null,l=null,g,I=new Set){const S=[l||nn,j0(n)];return g=g||("object"==typeof n?void 0:H(n)),new Oh(S,o||ku(),g||null,I)}let fu=(()=>{class n{static#e=this.THROW_IF_NOT_FOUND=Yt;static#t=this.NULL=new Tp;static create(l,g){if(Array.isArray(l))return __({name:""},g,l,"");{const I=l.name??"";return __({name:I},l.parent,l.providers,I)}}static#n=this.\u0275prov=dn({token:n,providedIn:"any",factory:()=>Ri(qm)});static#i=this.__NG_ELEMENT_ID__=-1}return n})();function Zp(n){return n.ngOriginalError}class bd{constructor(){this._console=console}handleError(o){const l=this._findOriginalError(o);this._console.error("ERROR",o),l&&this._console.error("ORIGINAL ERROR",l)}_findOriginalError(o){let l=o&&Zp(o);for(;l&&Zp(l);)l=Zp(l);return l||null}}let kg=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=fC;static#t=this.__NG_ENV_ID__=l=>l}return n})();class C_ extends kg{constructor(o){super(),this._lView=o}onDestroy(o){return ql(this._lView,o),()=>function Yl(n,o){if(null===n[uo])return;const l=n[uo].indexOf(o);-1!==l&&n[uo].splice(l,1)}(this._lView,o)}}function fC(){return new C_(ii())}function $p(n){return o=>{setTimeout(n,void 0,o)}}const nu=class Gp extends i.x{constructor(o=!1){super(),this.__isAsync=o}emit(o){super.next(o)}subscribe(o,l,g){let I=o,S=l||(()=>null),G=g;if(o&&"object"==typeof o){const fe=o;I=fe.next?.bind(fe),S=fe.error?.bind(fe),G=fe.complete?.bind(fe)}this.__isAsync&&(S=$p(S),I&&(I=$p(I)),G&&(G=$p(G)));const ie=super.subscribe({next:I,error:S,complete:G});return o instanceof t.w0&&o.add(ie),ie}};function v_(...n){}class _c{constructor({enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:g=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new nu(!1),this.onMicrotaskEmpty=new nu(!1),this.onStable=new nu(!1),this.onError=new nu(!1),typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const I=this;I._nesting=0,I._outer=I._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(I._inner=I._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(I._inner=I._inner.fork(Zone.longStackTraceZoneSpec)),I.shouldCoalesceEventChangeDetection=!g&&l,I.shouldCoalesceRunChangeDetection=g,I.lastRequestAnimationFrameId=-1,I.nativeRequestAnimationFrame=function Og(){const n="function"==typeof Qt.requestAnimationFrame;let o=Qt[n?"requestAnimationFrame":"setTimeout"],l=Qt[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&o&&l){const g=o[Zone.__symbol__("OriginalDelegate")];g&&(o=g);const I=l[Zone.__symbol__("OriginalDelegate")];I&&(l=I)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function A_(n){const o=()=>{!function pC(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Qt,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Kp(n),n.isCheckStableRunning=!0,Lg(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Kp(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(l,g,I,S,G,ie)=>{if(function Jp(n){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0].data?.__ignore_ng_zone__}(ie))return l.invokeTask(I,S,G,ie);try{return Pg(n),l.invokeTask(I,S,G,ie)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===S.type||n.shouldCoalesceRunChangeDetection)&&o(),I_(n)}},onInvoke:(l,g,I,S,G,ie,fe)=>{try{return Pg(n),l.invoke(I,S,G,ie,fe)}finally{n.shouldCoalesceRunChangeDetection&&o(),I_(n)}},onHasTask:(l,g,I,S)=>{l.hasTask(I,S),g===I&&("microTask"==S.change?(n._hasPendingMicrotasks=S.microTask,Kp(n),Lg(n)):"macroTask"==S.change&&(n.hasPendingMacrotasks=S.macroTask))},onHandleError:(l,g,I,S)=>(l.handleError(I,S),n.runOutsideAngular(()=>n.onError.emit(S)),!1)})}(I)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_c.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(_c.isInAngularZone())throw new V(909,!1)}run(o,l,g){return this._inner.run(o,l,g)}runTask(o,l,g,I){const S=this._inner,G=S.scheduleEventTask("NgZoneEvent: "+I,o,gC,v_,v_);try{return S.runTask(G,l,g)}finally{S.cancelTask(G)}}runGuarded(o,l,g){return this._inner.runGuarded(o,l,g)}runOutsideAngular(o){return this._outer.run(o)}}const gC={};function Lg(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Kp(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Pg(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function I_(n){n._nesting--,Lg(n)}class Rg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new nu,this.onMicrotaskEmpty=new nu,this.onStable=new nu,this.onError=new nu}run(o,l,g){return o.apply(l,g)}runGuarded(o,l,g){return o.apply(l,g)}runOutsideAngular(o){return o()}runTask(o,l,g,I){return o.apply(l,g)}}const eh=new Pi("",{providedIn:"root",factory:Uh});function Uh(){const n=mn(_c);let o=!0;const l=new A.y(I=>{o=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{I.next(o),I.complete()})}),g=new A.y(I=>{let S;n.runOutsideAngular(()=>{S=n.onStable.subscribe(()=>{_c.assertNotInAngularZone(),queueMicrotask(()=>{!o&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(o=!0,I.next(!0))})})});const G=n.onUnstable.subscribe(()=>{_c.assertInAngularZone(),o&&(o=!1,n.runOutsideAngular(()=>{I.next(!1)}))});return()=>{S.unsubscribe(),G.unsubscribe()}});return(0,a.T)(l,g.pipe((0,b.B)()))}function xd(n){return n.ownerDocument}function rd(n){return n instanceof Function?n():n}let Qp=(()=>{class n{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:()=>new n})}return n})();function kf(n){for(;n;){n[dr]|=64;const o=ua(n);if(Sa(n)&&!o)return n;n=o}return null}const qp=new Pi("",{providedIn:"root",factory:()=>!1});let Bg=null;function x_(n,o){return n[o]??w_()}function T_(n,o){const l=w_();l.producerNode?.length&&(n[o]=Bg,l.lView=n,Bg=E_())}const yC={...ba,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{kf(n.lView)},lView:null};function E_(){return Object.create(yC)}function w_(){return Bg??=E_(),Bg}const Ys={};function M_(n){D_(es(),ii(),Ve()+n,!1)}function D_(n,o,l,g){if(!g)if(3==(3&o[dr])){const S=n.preOrderCheckHooks;null!==S&&Er(o,S,l)}else{const S=n.preOrderHooks;null!==S&&ms(o,S,0,l)}bt(l)}function th(n,o=Ye.Default){const l=ii();return null===l?Ri(n,o):ft(Ta(),l,me(n),o)}function im(){throw new Error("invalid")}function Ug(n,o,l,g,I,S,G,ie,fe,Le,ct){const Ft=o.blueprint.slice();return Ft[Fi]=I,Ft[dr]=140|g,(null!==Le||n&&2048&n[dr])&&(Ft[dr]|=2048),cc(Ft),Ft[$r]=Ft[Xr]=n,Ft[os]=l,Ft[Ko]=G||n&&n[Ko],Ft[Rn]=ie||n&&n[Rn],Ft[$o]=fe||n&&n[$o]||null,Ft[no]=S,Ft[Zr]=function Me(){return dg++}(),Ft[Oo]=ct,Ft[Ji]=Le,Ft[gr]=2==o.type?n[gr]:Ft,Ft}function zh(n,o,l,g,I){let S=n.data[o];if(null===S)S=function rm(n,o,l,g,I){const S=Rc(),G=Ea(),fe=n.data[o]=function P_(n,o,l,g,I,S){let G=o?o.injectorIndex:-1,ie=0;return El()&&(ie|=128),{type:l,index:g,insertBeforeIndex:null,injectorIndex:G,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:ie,providerIndexes:0,value:I,attrs:S,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:o,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,G?S:S&&S.parent,l,o,g,I);return null===n.firstChild&&(n.firstChild=fe),null!==S&&(G?null==S.child&&null!==fe.parent&&(S.child=fe):null===S.next&&(S.next=fe,fe.prev=S)),fe}(n,o,l,g,I),function dc(){return cr.lFrame.inI18n}()&&(S.flags|=32);else if(64&S.type){S.type=l,S.value=g,S.attrs=I;const G=function Al(){const n=cr.lFrame,o=n.currentTNode;return n.isParent?o:o.parent}();S.injectorIndex=null===G?-1:G.injectorIndex}return Oa(S,!0),S}function Lf(n,o,l,g){if(0===l)return-1;const I=o.length;for(let S=0;Sxr&&D_(n,o,xr,!1),fo(ie?2:0,I);const Le=ie?S:null,ct=Ga(Le);try{null!==Le&&(Le.dirty=!1),l(g,I)}finally{ra(Le,ct)}}finally{ie&&null===o[Js]&&T_(o,Js),bt(G),fo(ie?3:1,I)}}function sm(n,o,l){if(Hs(o)){const g=pa(null);try{const S=o.directiveEnd;for(let G=o.directiveStart;Gnull;function R_(n,o,l,g){for(let I in n)if(n.hasOwnProperty(I)){l=null===l?{}:l;const S=n[I];null===g?N_(l,o,I,S):g.hasOwnProperty(I)&&N_(l,o,g[I],S)}return l}function N_(n,o,l,g){n.hasOwnProperty(l)?n[l].push(o,g):n[l]=[o,g]}function iu(n,o,l,g,I,S,G,ie){const fe=go(o,l);let ct,Le=o.inputs;!ie&&null!=Le&&(ct=Le[g])?(c(n,l,ct,g,I),Da(o)&&function SC(n,o){const l=yo(o,n);16&l[dr]||(l[dr]|=64)}(l,o.index)):3&o.type&&(g=function DC(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(g),I=null!=G?G(I,o.value||"",g):I,S.setProperty(fe,g,I))}function lm(n,o,l,g){if(Zc()){const I=null===g?null:{"":-1},S=function YC(n,o){const l=n.directiveRegistry;let g=null,I=null;if(l)for(let S=0;S0;){const l=n[--o];if("number"==typeof l&&l<0)return l}return 0})(G)!=ie&&G.push(ie),G.push(l,g,S)}}(n,o,g,Lf(n,l,I.hostVars,Ys),I)}function Pu(n,o,l,g,I,S){const G=go(n,o);!function um(n,o,l,g,I,S,G){if(null==S)n.removeAttribute(o,I,l);else{const ie=null==G?ae(S):G(S,g||"",I);n.setAttribute(o,I,ie,l)}}(o[Rn],G,S,n.value,l,g,I)}function Fv(n,o,l,g,I,S){const G=S[o];if(null!==G)for(let ie=0;ie{class n{constructor(){this.all=new Set,this.queue=new Map}create(l,g,I){const S=typeof Zone>"u"?null:Zone.current,G=function Hn(n,o,l){const g=Object.create(ps);l&&(g.consumerAllowSignalWrites=!0),g.fn=n,g.schedule=o;const I=G=>{g.cleanupFn=G};return g.ref={notify:()=>Vn(g),run:()=>{if(g.dirty=!1,g.hasRun&&!ai(g))return;g.hasRun=!0;const G=Ga(g);try{g.cleanupFn(),g.cleanupFn=Si,g.fn(I)}finally{ra(g,G)}},cleanup:()=>g.cleanupFn()},g.ref}(l,Le=>{this.all.has(Le)&&this.queue.set(Le,S)},I);let ie;this.all.add(G),G.notify();const fe=()=>{G.cleanup(),ie?.(),this.all.delete(G),this.queue.delete(G)};return ie=g?.onDestroy(fe),{destroy:fe}}flush(){if(0!==this.queue.size)for(const[l,g]of this.queue)this.queue.delete(l),g?g.run(()=>l.run()):l.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:()=>new n})}return n})();function ce(n,o){!o?.injector&&function zp(n){if(!cn()&&!function bn(){return Bt}())throw new V(-203,!1)}();const l=o?.injector??mn(fu),g=l.get(Q),I=!0!==o?.manualCleanup?l.get(kg):null;return g.create(n,I,!!o?.allowSignalWrites)}function we(n,o,l){let g=l?n.styles:null,I=l?n.classes:null,S=0;if(null!==o)for(let G=0;G0){Qn(n,1);const I=l.components;null!==I&&gi(n,I,1)}}function gi(n,o,l){for(let g=0;g-1&&(Mu(o,g),qh(l,g))}this._attachedToViewContainer=!1}_d(this._lView[_i],this._lView)}onDestroy(o){ql(this._lView,o)}markForCheck(){kf(this._cdRefInjectingView||this._lView)}detach(){this._lView[dr]&=-129}reattach(){this._lView[dr]|=128}detectChanges(){Et(this._lView[_i],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function jd(n,o){fg(n,o,o[Rn],2,null,null)}(this._lView[_i],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=o}}class vr extends Di{constructor(o){super(o),this._view=o}detectChanges(){const o=this._view;Et(o[_i],o,o[os],!1)}checkNoChanges(){}get context(){return null}}class Wi extends wf{constructor(o){super(),this.ngModule=o}resolveComponentFactory(o){const l=Cr(o);return new lo(l,this.ngModule)}}function Yr(n){const o=[];for(let l in n)n.hasOwnProperty(l)&&o.push({propName:n[l],templateName:l});return o}class to{constructor(o,l){this.injector=o,this.parentInjector=l}get(o,l,g){g=Xe(g);const I=this.injector.get(o,Df,g);return I!==Df||l===Df?I:this.parentInjector.get(o,l,g)}}class lo extends Nh{get inputs(){const o=this.componentDef,l=o.inputTransforms,g=Yr(o.inputs);if(null!==l)for(const I of g)l.hasOwnProperty(I.propName)&&(I.transform=l[I.propName]);return g}get outputs(){return Yr(this.componentDef.outputs)}constructor(o,l){super(),this.componentDef=o,this.ngModule=l,this.componentType=o.type,this.selector=function _r(n){return n.map(Gi).join(",")}(o.selectors),this.ngContentSelectors=o.ngContentSelectors?o.ngContentSelectors:[],this.isBoundToModule=!!l}create(o,l,g,I){let S=(I=I||this.ngModule)instanceof Ou?I:I?.injector;S&&null!==this.componentDef.getStandaloneInjector&&(S=this.componentDef.getStandaloneInjector(S)||S);const G=S?new to(o,S):o,ie=G.get(jp,null);if(null===ie)throw new V(407,!1);const Ft={rendererFactory:ie,sanitizer:G.get(lC,null),effectManager:G.get(Q,null),afterRenderEventManager:G.get(Qp,null)},vn=ie.createRenderer(null,this.componentDef),Dn=this.componentDef.selectors[0][0]||"div",ci=g?function TC(n,o,l,g){const S=g.get(qp,!1)||l===Tn.ShadowDom,G=n.selectRootElement(o,S);return function EC(n){O_(n)}(G),G}(vn,g,this.componentDef.encapsulation,G):Gu(vn,Dn,function Gs(n){const o=n.toLowerCase();return"svg"===o?za:"math"===o?"math":null}(Dn)),ts=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let vi=null;null!==ci&&(vi=Yp(ci,G,!0));const zs=Hg(0,null,null,1,0,null,null,null,null,null,null),No=Ug(null,zs,null,ts,null,null,Ft,vn,G,null,vi);let fl,Bu;ue(No);try{const Hf=this.componentDef;let v0,MI=null;Hf.findHostDirectiveDefs?(v0=[],MI=new Map,Hf.findHostDirectiveDefs(Hf,v0,MI),v0.push(Hf)):v0=[Hf];const iE=function Jc(n,o){const l=n[_i],g=xr;return n[g]=o,zh(l,g,2,"#host",null)}(No,ci),rE=function Pa(n,o,l,g,I,S,G){const ie=I[_i];!function hl(n,o,l,g){for(const I of n)o.mergedAttrs=Nr(o.mergedAttrs,I.hostAttrs);null!==o.mergedAttrs&&(we(o,o.mergedAttrs,!0),null!==l&&Hm(g,l,o))}(g,n,o,G);let fe=null;null!==o&&(fe=Yp(o,I[$o]));const Le=S.rendererFactory.createRenderer(o,l);let ct=16;l.signals?ct=4096:l.onPush&&(ct=64);const Ft=Ug(I,k_(l),null,ct,I[n.index],n,S,Le,null,null,fe);return ie.firstCreatePass&&cm(ie,n,g.length-1),Vh(I,Ft),I[n.index]=Ft}(iE,ci,Hf,v0,No,Ft,vn);Bu=Ba(zs,xr),ci&&function _u(n,o,l,g){if(g)xs(n,l,["ng-version",cC.full]);else{const{attrs:I,classes:S}=function us(n){const o=[],l=[];let g=1,I=2;for(;g0&&pg(n,l,S.join(" "))}}(vn,Hf,ci,g),void 0!==l&&function Mc(n,o,l){const g=n.projection=[];for(let I=0;I=0;g--){const I=n[g];I.hostVars=o+=I.hostVars,I.hostAttrs=Nr(I.hostAttrs,l=Nr(l,I.hostAttrs))}}(g)}function Cu(n){return n===pi?{}:n===nn?[]:n}function Rf(n,o){const l=n.viewQuery;n.viewQuery=l?(g,I)=>{o(g,I),l(g,I)}:o}function nh(n,o){const l=n.contentQueries;n.contentQueries=l?(g,I,S)=>{o(g,I,S),l(g,I,S)}:o}function jA(n,o){const l=n.hostBindings;n.hostBindings=l?(g,I)=>{o(g,I),l(g,I)}:o}function Hv(n){const o=n.inputConfig,l={};for(const g in o)if(o.hasOwnProperty(g)){const I=o[g];Array.isArray(I)&&I[2]&&(l[g]=I[2])}n.inputTransforms=l}function H_(n){return!!WC(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function WC(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function wd(n,o,l){return n[o]=l}function Qc(n,o,l){return!Object.is(n[o],l)&&(n[o]=l,!0)}function Nf(n,o,l,g){const I=Qc(n,o,l);return Qc(n,o+1,g)||I}function j_(n,o,l,g,I){const S=Nf(n,o,l,g);return Qc(n,o+2,I)||S}function Ru(n,o,l,g,I,S){const G=Nf(n,o,l,g);return Nf(n,o+2,I,S)||G}function ZC(n,o,l,g){const I=ii();return Qc(I,oo(),o)&&(es(),Pu(It(),I,n,o,l,g)),ZC}function jg(n,o,l,g){return Qc(n,oo(),l)?o+ae(l)+g:Ys}function zg(n,o,l,g,I,S){const ie=Nf(n,Qa(),l,I);return Ua(2),ie?o+ae(l)+g+ae(I)+S:Ys}function Qv(n,o,l,g,I,S,G,ie){const fe=ii(),Le=es(),ct=n+xr,Ft=Le.firstCreatePass?function d1(n,o,l,g,I,S,G,ie,fe){const Le=o.consts,ct=zh(o,n,4,G||null,_a(Le,ie));lm(o,l,ct,_a(Le,fe)),sr(o,ct);const Ft=ct.tView=Hg(2,ct,g,I,S,o.directiveRegistry,o.pipeRegistry,null,o.schemas,Le,null);return null!==o.queries&&(o.queries.template(o,ct),Ft.queries=o.queries.embeddedTView(ct)),ct}(ct,Le,fe,o,l,g,I,S,G):Le.data[ct];Oa(Ft,!1);const vn=Xv(Le,fe,Ft,n);hi()&&Wc(Le,fe,vn,Ft),nr(vn,fe),Vh(fe,fe[ct]=B_(vn,fe,vn,Ft)),Za(Ft)&&om(Le,fe,Ft),null!=G&&am(fe,Ft,ie)}let Xv=function qv(n,o,l,g){return wi(!0),o[Rn].createComment("")};function eA(n){return po(function jc(){return cr.lFrame.contextLView}(),xr+n)}function QC(n,o,l){const g=ii();return Qc(g,oo(),o)&&iu(es(),It(),g,n,o,g[Rn],l,!1),QC}function $_(n,o,l,g,I){const G=I?"class":"style";c(n,l,o.inputs[G],G,g)}function Am(n,o,l,g){const I=ii(),S=es(),G=xr+n,ie=I[Rn],fe=S.firstCreatePass?function tA(n,o,l,g,I,S){const G=o.consts,fe=zh(o,n,2,g,_a(G,I));return lm(o,l,fe,_a(G,S)),null!==fe.attrs&&we(fe,fe.attrs,!1),null!==fe.mergedAttrs&&we(fe,fe.mergedAttrs,!0),null!==o.queries&&o.queries.elementStart(o,fe),fe}(G,S,I,o,l,g):S.data[G],Le=nA(S,I,fe,ie,o,n);I[G]=Le;const ct=Za(fe);return Oa(fe,!0),Hm(ie,Le,fe),32!=(32&fe.flags)&&hi()&&Wc(S,I,Le,fe),0===function Ac(){return cr.lFrame.elementDepthCount}()&&nr(Le,I),function au(){cr.lFrame.elementDepthCount++}(),ct&&(om(S,I,fe),sm(S,fe,I)),null!==g&&am(I,fe),Am}function Im(){let n=Ta();Ea()?wl():(n=n.parent,Oa(n,!1));const o=n;(function Gc(n){return cr.skipHydrationRootTNode===n})(o)&&function $c(){cr.skipHydrationRootTNode=null}(),function ic(){cr.lFrame.elementDepthCount--}();const l=es();return l.firstCreatePass&&(sr(l,n),Hs(n)&&l.queries.elementEnd(n)),null!=o.classesWithoutHost&&function Is(n){return 0!=(8&n.flags)}(o)&&$_(l,o,ii(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function ll(n){return 0!=(16&n.flags)}(o)&&$_(l,o,ii(),o.stylesWithoutHost,!1),Im}function K_(n,o,l,g){return Am(n,o,l,g),Im(),K_}let nA=(n,o,l,g,I,S)=>(wi(!0),Gu(g,I,function Ei(){return cr.lFrame.currentNamespace}()));function ym(n,o,l){const g=ii(),I=es(),S=n+xr,G=I.firstCreatePass?function sA(n,o,l,g,I){const S=o.consts,G=_a(S,g),ie=zh(o,n,8,"ng-container",G);return null!==G&&we(ie,G,!0),lm(o,l,ie,_a(S,I)),null!==o.queries&&o.queries.elementStart(o,ie),ie}(S,I,g,o,l):I.data[S];Oa(G,!0);const ie=oA(I,g,G,n);return g[S]=ie,hi()&&Wc(I,g,ie,G),nr(ie,g),Za(G)&&(om(I,g,G),sm(I,G,g)),null!=l&&am(g,G),ym}function J_(){let n=Ta();const o=es();return Ea()?wl():(n=n.parent,Oa(n,!1)),o.firstCreatePass&&(sr(o,n),Hs(n)&&o.queries.elementEnd(n)),J_}function Q_(n,o,l){return ym(n,o,l),J_(),Q_}let oA=(n,o,l,g)=>(wi(!0),Yc(o[Rn],""));function XC(){return ii()}function X_(n){return!!n&&"function"==typeof n.then}function qC(n){return!!n&&"function"==typeof n.subscribe}function ev(n,o,l,g){const I=ii(),S=es(),G=Ta();return function $h(n,o,l,g,I,S,G){const ie=Za(g),Le=n.firstCreatePass&&U_(n),ct=o[os],Ft=hm(o);let vn=!0;if(3&g.type||G){const Oi=go(g,o),fr=G?G(Oi):Oi,ts=Ft.length,vi=G?No=>G(Es(No[g.index])):g.index;let zs=null;if(!G&&ie&&(zs=function lA(n,o,l,g){const I=n.cleanup;if(null!=I)for(let S=0;Sfe?ie[fe]:null}"string"==typeof G&&(S+=2)}return null}(n,o,I,g.index)),null!==zs)(zs.__ngLastListenerFn__||zs).__ngNextListenerFn__=S,zs.__ngLastListenerFn__=S,vn=!1;else{S=cA(g,o,ct,S,!1);const No=l.listen(fr,I,S);Ft.push(S,No),Le&&Le.push(I,vi,ts,ts+1)}}else S=cA(g,o,ct,S,!1);const Dn=g.outputs;let ci;if(vn&&null!==Dn&&(ci=Dn[I])){const Oi=ci.length;if(Oi)for(let fr=0;fr-1?yo(n.index,o):o);let fe=q_(o,l,g,G),Le=S.__ngNextListenerFn__;for(;Le;)fe=q_(o,l,Le,G)&&fe,Le=Le.__ngNextListenerFn__;return I&&!1===fe&&G.preventDefault(),fe}}function uA(n=1){return function ne(n){return(cr.lFrame.contextLView=function pe(n,o){for(;n>0;)o=o[Xr],n--;return o}(n,cr.lFrame.contextLView))[os]}(n)}function Kh(n,o){let l=null;const g=function dt(n){const o=n.attrs;if(null!=o){const l=o.indexOf(5);if(!(1&l))return o[l+1]}return null}(n);for(let I=0;I>17&32767}function bm(n){return 2|n}function ih(n){return(131068&n)>>2}function rv(n,o){return-131069&n|o<<2}function fA(n){return 1|n}function gA(n,o,l,g,I){const S=n[l+1],G=null===o;let ie=g?Au(S):ih(S),fe=!1;for(;0!==ie&&(!1===fe||G);){const ct=n[ie+1];I1(n[ie],o)&&(fe=!0,n[ie+1]=g?fA(ct):bm(ct)),ie=g?Au(ct):ih(ct)}fe&&(n[l+1]=g?bm(S):fA(S))}function I1(n,o){return null===n||null==o||(Array.isArray(n)?n[1]:n)===o||!(!Array.isArray(n)||"string"!=typeof o)&&Pd(n,o)>=0}const Sc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t0(n){return n.substring(Sc.key,Sc.keyEnd)}function y1(n){return n.substring(Sc.value,Sc.valueEnd)}function sv(n,o){const l=Sc.textEnd;return l===o?-1:(o=Sc.keyEnd=function x1(n,o,l){for(;o32;)o++;return o}(n,Sc.key=o,l),$g(n,o,l))}function n0(n,o){const l=Sc.textEnd;let g=Sc.key=$g(n,o,l);return l===g?-1:(g=Sc.keyEnd=function Nu(n,o,l){let g;for(;o=65&&(-33&g)<=90||g>=48&&g<=57);)o++;return o}(n,g,l),g=mA(n,g,l),g=Sc.value=$g(n,g,l),g=Sc.valueEnd=function T1(n,o,l){let g=-1,I=-1,S=-1,G=o,ie=G;for(;G32&&(ie=G),S=I,I=g,g=-33&fe}return ie}(n,g,l),mA(n,g,l))}function pA(n){Sc.key=0,Sc.keyEnd=0,Sc.value=0,Sc.valueEnd=0,Sc.textEnd=n.length}function $g(n,o,l){for(;o=0;l=n0(o,l))vA(n,t0(o),y1(o))}function av(n){cd(l0,Md,n,!0)}function Md(n,o){for(let l=function b1(n){return pA(n),sv(n,$g(n,0,Sc.textEnd))}(o);l>=0;l=sv(o,l))fc(n,t0(o),!0)}function ld(n,o,l,g){const I=ii(),S=es(),G=Ua(2);S.firstUpdatePass&&o0(S,n,G,g),o!==Ys&&Qc(I,G,o)&&c0(S,S.data[Ve()],I,I[Rn],n,I[G+1]=function FI(n,o){return null==n||""===n||("string"==typeof o?n+=o:"object"==typeof n&&(n=H(qu(n)))),n}(o,l),g,G)}function cd(n,o,l,g){const I=es(),S=Ua(2);I.firstUpdatePass&&o0(I,null,S,g);const G=ii();if(l!==Ys&&Qc(G,S,l)){const ie=I.data[Ve()];if(D1(ie,g)&&!s0(I,S)){let fe=g?ie.classesWithoutHost:ie.stylesWithoutHost;null!==fe&&(l=k(fe,l||"")),$_(I,ie,G,l,g)}else!function AA(n,o,l,g,I,S,G,ie){I===Ys&&(I=nn);let fe=0,Le=0,ct=0=n.expandoStartIndex}function o0(n,o,l,g){const I=n.data;if(null===I[l+1]){const S=I[Ve()],G=s0(n,l);D1(S,g)&&null===o&&!G&&(o=!1),o=function NI(n,o,l,g){const I=function je(n){const o=cr.lFrame.currentDirectiveIndex;return-1===o?null:n[o]}(n);let S=g?o.residualClasses:o.residualStyles;if(null===I)0===(g?o.classBindings:o.styleBindings)&&(l=Tm(l=a0(null,n,o,l,g),o.attrs,g),S=null);else{const G=o.directiveStylingLast;if(-1===G||n[G]!==I)if(l=a0(I,n,o,l,g),null===S){let fe=function CA(n,o,l){const g=l?o.classBindings:o.styleBindings;if(0!==ih(g))return n[Au(g)]}(n,o,g);void 0!==fe&&Array.isArray(fe)&&(fe=a0(null,n,o,fe[1],g),fe=Tm(fe,o.attrs,g),function w1(n,o,l,g){n[Au(l?o.classBindings:o.styleBindings)]=g}(n,o,g,fe))}else S=function M1(n,o,l){let g;const I=o.directiveEnd;for(let S=1+o.directiveStylingLast;S0)&&(Le=!0)):ct=l,I)if(0!==fe){const vn=Au(n[ie+1]);n[g+1]=ru(vn,ie),0!==vn&&(n[vn+1]=rv(n[vn+1],g)),n[ie+1]=function _1(n,o){return 131071&n|o<<17}(n[ie+1],g)}else n[g+1]=ru(ie,0),0!==ie&&(n[ie+1]=rv(n[ie+1],g)),ie=g;else n[g+1]=ru(fe,0),0===ie?ie=g:n[fe+1]=rv(n[fe+1],g),fe=g;Le&&(n[g+1]=bm(n[g+1])),gA(n,ct,g,!0),gA(n,ct,g,!1),function A1(n,o,l,g,I){const S=I?n.residualClasses:n.residualStyles;null!=S&&"string"==typeof o&&Pd(S,o)>=0&&(l[g+1]=fA(l[g+1]))}(o,ct,n,g,S),G=ru(ie,fe),S?o.classBindings=G:o.styleBindings=G}(I,S,o,l,G,g)}}function a0(n,o,l,g,I){let S=null;const G=l.directiveEnd;let ie=l.directiveStylingLast;for(-1===ie?ie=l.directiveStart:ie++;ie0;){const fe=n[I],Le=Array.isArray(fe),ct=Le?fe[1]:fe,Ft=null===ct;let vn=l[I+1];vn===Ys&&(vn=Ft?nn:void 0);let Dn=Ft?ef(vn,g):ct===g?vn:void 0;if(Le&&!Em(Dn)&&(Dn=ef(fe,g)),Em(Dn)&&(ie=Dn,G))return ie;const ci=n[I+1];I=G?Au(ci):ih(ci)}if(null!==o){let fe=S?o.residualClasses:o.residualStyles;null!=fe&&(ie=ef(fe,g))}return ie}function Em(n){return void 0!==n}function D1(n,o){return 0!=(n.flags&(o?8:16))}function lv(n,o=""){const l=ii(),g=es(),I=n+xr,S=g.firstCreatePass?zh(g,I,1,o,null):g.data[I],G=wm(g,l,S,o,n);l[I]=G,hi()&&Wc(g,l,G,S),Oa(S,!1)}let wm=(n,o,l,g,I)=>(wi(!0),function oc(n,o){return n.createText(o)}(o[Rn],g));function Mm(n){return Dm("",n,""),Mm}function Dm(n,o,l){const g=ii(),I=jg(g,n,o,l);return I!==Ys&&p(g,Ve(),I),Dm}function cv(n,o,l,g,I){const S=ii(),G=zg(S,n,o,l,g,I);return G!==Ys&&p(S,Ve(),G),cv}function d0(n,o,l,g,I,S,G){const ie=ii(),fe=function Vg(n,o,l,g,I,S,G,ie){const Le=j_(n,Qa(),l,I,G);return Ua(3),Le?o+ae(l)+g+ae(I)+S+ae(G)+ie:Ys}(ie,n,o,l,g,I,S,G);return fe!==Ys&&p(ie,Ve(),fe),d0}function uv(n,o,l,g,I,S,G,ie,fe){const Le=ii(),ct=function Wg(n,o,l,g,I,S,G,ie,fe,Le){const Ft=Ru(n,Qa(),l,I,G,fe);return Ua(4),Ft?o+ae(l)+g+ae(I)+S+ae(G)+ie+ae(fe)+Le:Ys}(Le,n,o,l,g,I,S,G,ie,fe);return ct!==Ys&&p(Le,Ve(),ct),uv}function dv(n,o,l,g,I,S,G,ie,fe,Le,ct,Ft,vn){const Dn=ii(),ci=function Yf(n,o,l,g,I,S,G,ie,fe,Le,ct,Ft,vn,Dn){const ci=Qa();let Oi=Ru(n,ci,l,I,G,fe);return Oi=Nf(n,ci+4,ct,vn)||Oi,Ua(6),Oi?o+ae(l)+g+ae(I)+S+ae(G)+ie+ae(fe)+Le+ae(ct)+Ft+ae(vn)+Dn:Ys}(Dn,n,o,l,g,I,S,G,ie,fe,Le,ct,Ft,vn);return ci!==Ys&&p(Dn,Ve(),ci),dv}function hv(n){const o=ii(),l=function gm(n,o){let l=!1,g=Qa();for(let S=1;S>20;if(qd(n)||!n.multi){const Dn=new Ns(Le,I,th),ci=Q1(fe,o,I?ct:ct+vn,Ft);-1===ci?(R(Dl(ie,G),S,fe),J1(S,n,o.length),o.push(fe),ie.directiveStart++,ie.directiveEnd++,I&&(ie.providerIndexes+=1048576),l.push(Dn),G.push(Dn)):(l[ci]=Dn,G[ci]=Dn)}else{const Dn=Q1(fe,o,ct+vn,Ft),ci=Q1(fe,o,ct,ct+vn),fr=ci>=0&&l[ci];if(I&&!fr||!I&&!(Dn>=0&&l[Dn])){R(Dl(ie,G),S,fe);const ts=function Lb(n,o,l,g,I){const S=new Ns(n,l,th);return S.multi=[],S.index=o,S.componentProviders=0,UI(S,I,g&&!l),S}(I?Ob:kb,l.length,I,g,Le);!I&&fr&&(l[ci].providerFactory=ts),J1(S,n,o.length,0),o.push(fe),ie.directiveStart++,ie.directiveEnd++,I&&(ie.providerIndexes+=1048576),l.push(ts),G.push(ts)}else J1(S,n,Dn>-1?Dn:ci,UI(l[I?ci:Dn],Le,!I&&g));!I&&g&&fr&&l[ci].componentProviders++}}}function J1(n,o,l,g){const I=qd(o),S=function V0(n){return!!n.useClass}(o);if(I||S){const fe=(S?me(o.useClass):o).prototype.ngOnDestroy;if(fe){const Le=n.destroyHooks||(n.destroyHooks=[]);if(!I&&o.multi){const ct=Le.indexOf(l);-1===ct?Le.push(l,[g,fe]):Le[ct+1].push(g,fe)}else Le.push(l,fe)}}}function UI(n,o,l){return l&&n.componentProviders++,n.multi.push(o)-1}function Q1(n,o,l,g){for(let I=l;I{l.providersResolver=(g,I)=>function Sb(n,o,l){const g=es();if(g.firstCreatePass){const I=jo(n);K1(l,g.data,g.blueprint,I,!0),K1(o,g.data,g.blueprint,I,!1)}}(g,I?I(n):n,o)}}class Lm{}class jI{}function Pb(n,o){return new q1(n,o??null,[])}class q1 extends Lm{constructor(o,l,g){super(),this._parent=l,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wi(this);const I=Yo(o);this._bootstrapComponents=rd(I.bootstrap),this._r3Injector=Sg(o,l,[{provide:Lm,useValue:this},{provide:wf,useValue:this.componentFactoryResolver},...g],H(o),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(o)}get injector(){return this._r3Injector}destroy(){const o=this._r3Injector;!o.destroyed&&o.destroy(),this.destroyCbs.forEach(l=>l()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class eI extends jI{constructor(o){super(),this.moduleType=o}create(o){return new q1(this.moduleType,o,[])}}class zI extends Lm{constructor(o){super(),this.componentFactoryResolver=new Wi(this),this.instance=null;const l=new Oh([...o.providers,{provide:Lm,useValue:this},{provide:wf,useValue:this.componentFactoryResolver}],o.parent||ku(),o.debugName,new Set(["environment"]));this.injector=l,o.runEnvironmentInitializers&&l.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function VI(n,o,l=null){return new zI({providers:n,parent:o,debugName:l,runEnvironmentInitializers:!0}).injector}let Nb=(()=>{class n{constructor(l){this._injector=l,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(l){if(!l.standalone)return null;if(!this.cachedInjectors.has(l)){const g=e_(0,l.type),I=g.length>0?VI([g],this._injector,`Standalone[${l.type.name}]`):null;this.cachedInjectors.set(l,I)}return this.cachedInjectors.get(l)}ngOnDestroy(){try{for(const l of this.cachedInjectors.values())null!==l&&l.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=dn({token:n,providedIn:"environment",factory:()=>new n(Ri(Ou))})}return n})();function WI(n){n.getStandaloneInjector=o=>o.get(Nb).getOrCreateStandaloneInjector(n)}function XI(n,o,l){const g=sa()+n,I=ii();return I[g]===Ys?wd(I,g,l?o.call(l):o()):function fm(n,o){return n[o]}(I,g)}function qI(n,o,l,g){return ry(ii(),sa(),n,o,l,g)}function ey(n,o,l,g,I){return function sy(n,o,l,g,I,S,G){const ie=o+l;return Nf(n,ie,I,S)?wd(n,ie+2,G?g.call(G,I,S):g(I,S)):pv(n,ie+2)}(ii(),sa(),n,o,l,g,I)}function ty(n,o,l,g,I,S){return function oy(n,o,l,g,I,S,G,ie){const fe=o+l;return j_(n,fe,I,S,G)?wd(n,fe+3,ie?g.call(ie,I,S,G):g(I,S,G)):pv(n,fe+3)}(ii(),sa(),n,o,l,g,I,S)}function ny(n,o,l,g,I,S,G){return function ay(n,o,l,g,I,S,G,ie,fe){const Le=o+l;return Ru(n,Le,I,S,G,ie)?wd(n,Le+4,fe?g.call(fe,I,S,G,ie):g(I,S,G,ie)):pv(n,Le+4)}(ii(),sa(),n,o,l,g,I,S,G)}function iy(n,o,l,g){return function ly(n,o,l,g,I,S){let G=o+l,ie=!1;for(let fe=0;fe=0;l--){const g=o[l];if(n===g.name)return g}}(o,l.pipeRegistry),l.data[I]=g,g.onDestroy&&(l.destroyHooks??=[]).push(I,g.onDestroy)):g=l.data[I];const S=g.factory||(g.factory=ga(g.type)),ie=Kn(th);try{const fe=vs(!1),Le=S();return vs(fe),function g1(n,o,l,g){l>=n.data.length&&(n.data[l]=null,n.blueprint[l]=null),o[l]=g}(l,ii(),I,Le),Le}finally{Kn(ie)}}function uy(n,o,l){const g=n+xr,I=ii(),S=po(I,g);return function mv(n,o){return n[_i].data[o].pure}(I,g)?ry(I,sa(),o,S.transform,l,S):S.transform(l)}function ex(){return this._results[Symbol.iterator]()}class nI{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new nu)}constructor(o=!1){this._emitDistinctChangesOnly=o,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const l=nI.prototype;l[Symbol.iterator]||(l[Symbol.iterator]=ex)}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,l){return this._results.reduce(o,l)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,l){const g=this;g.dirty=!1;const I=function Kc(n){return n.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function Xh(n,o,l){if(n.length!==o.length)return!1;for(let g=0;g0&&(l[I-1][Fr]=o),g{class n{static#e=this.__NG_ELEMENT_ID__=sx}return n})();const ix=_v,rx=class extends ix{constructor(o,l,g){super(),this._declarationLView=o,this._declarationTContainer=l,this.elementRef=g}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,l){return this.createEmbeddedViewImpl(o,l)}createEmbeddedViewImpl(o,l,g){const I=function tx(n,o,l,g){const I=o.tView,ie=Ug(n,I,l,4096&n[dr]?4096:16,null,o,null,null,null,g?.injector??null,g?.hydrationInfo??null);ie[Us]=n[o.index];const Le=n[Mr];return null!==Le&&(ie[Mr]=Le.createEmbeddedView(I)),O(I,ie,l),ie}(this._declarationLView,this._declarationTContainer,o,{injector:l,hydrationInfo:g});return new Di(I)}};function sx(){return OA(Ta(),ii())}function OA(n,o){return 4&n.type?new rx(o,n,Yh(n,o)):null}let PA=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=dx}return n})();function dx(){return _y(Ta(),ii())}const hx=PA,py=class extends hx{constructor(o,l,g){super(),this._lContainer=o,this._hostTNode=l,this._hostLView=g}get element(){return Yh(this._hostTNode,this._hostLView)}get injector(){return new Il(this._hostTNode,this._hostLView)}get parentInjector(){const o=cs(this._hostTNode,this._hostLView);if(kr(o)){const l=oa(o,this._hostLView),g=Jr(o);return new Il(l[_i].data[g+8],l)}return new Il(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const l=my(this._lContainer);return null!==l&&l[o]||null}get length(){return this._lContainer.length-ho}createEmbeddedView(o,l,g){let I,S;"number"==typeof g?I=g:null!=g&&(I=g.index,S=g.injector);const ie=o.createEmbeddedViewImpl(l||{},S,null);return this.insertImpl(ie,I,false),ie}createComponent(o,l,g,I,S){const G=o&&!function ju(n){return"function"==typeof n}(o);let ie;if(G)ie=l;else{const Oi=l||{};ie=Oi.index,g=Oi.injector,I=Oi.projectableNodes,S=Oi.environmentInjector||Oi.ngModuleRef}const fe=G?o:new lo(Cr(o)),Le=g||this.parentInjector;if(!S&&null==fe.ngModule){const fr=(G?Le:this.parentInjector).get(Ou,null);fr&&(S=fr)}Cr(fe.componentType??{});const Dn=fe.create(Le,I,null,S);return this.insertImpl(Dn.hostView,ie,false),Dn}insert(o,l){return this.insertImpl(o,l,!1)}insertImpl(o,l,g){const I=o._lView;if(function Xl(n){return Qs(n[$r])}(I)){const fe=this.indexOf(o);if(-1!==fe)this.detach(fe);else{const Le=I[$r],ct=new py(Le,Le[no],Le[$r]);ct.detach(ct.indexOf(o))}}const G=this._adjustIndex(l),ie=this._lContainer;return nx(ie,I,G,!g),o.attachToViewContainerRef(),$f(iI(ie),G,o),o}move(o,l){return this.insert(o,l)}indexOf(o){const l=my(this._lContainer);return null!==l?l.indexOf(o):-1}remove(o){const l=this._adjustIndex(o,-1),g=Mu(this._lContainer,l);g&&(qh(iI(this._lContainer),l),_d(g[_i],g))}detach(o){const l=this._adjustIndex(o,-1),g=Mu(this._lContainer,l);return g&&null!=qh(iI(this._lContainer),l)?new Di(g):null}_adjustIndex(o,l=0){return o??this.length+l}};function my(n){return n[8]}function iI(n){return n[8]||(n[8]=[])}function _y(n,o){let l;const g=o[n.index];return Qs(g)?l=g:(l=B_(g,o,null,n),o[n.index]=l,Vh(o,l)),Cy(l,o,n,g),new py(l,n,o)}let Cy=function vy(n,o,l,g){if(n[io])return;let I;I=8&l.type?Es(g):function fx(n,o){const l=n[Rn],g=l.createComment(""),I=go(o,n);return Du(l,Qu(l,I),g,function Ca(n,o){return n.nextSibling(o)}(l,I),!1),g}(o,l),n[io]=I};class rI{constructor(o){this.queryList=o,this.matches=null}clone(){return new rI(this.queryList)}setDirty(){this.queryList.setDirty()}}class sI{constructor(o=[]){this.queries=o}createEmbeddedView(o){const l=o.queries;if(null!==l){const g=null!==o.contentQueries?o.contentQueries[0]:l.length,I=[];for(let S=0;S0)g.push(G[ie/2]);else{const Le=S[ie+1],ct=o[-fe];for(let Ft=ho;Ft{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((l,g)=>{this.resolve=l,this.reject=g}),this.appInits=mn(Zy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const l=[];for(const I of this.appInits){const S=I();if(X_(S))l.push(S);else if(qC(S)){const G=new Promise((ie,fe)=>{S.subscribe({complete:ie,error:fe})});l.push(G)}}const g=()=>{this.done=!0,this.resolve()};Promise.all(l).then(()=>{g()}).catch(I=>{this.reject(I)}),0===l.length&&g(),this.initialized=!0}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Gy=(()=>{class n{log(l){console.log(l)}warn(l){console.warn(l)}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();const NA=new Pi("LocaleId",{providedIn:"root",factory:()=>mn(NA,Ye.Optional|Ye.SkipSelf)||function jx(){return typeof $localize<"u"&&$localize.locale||kn}()}),zx=new Pi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let $y=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new y.X(!1)}add(){this.hasPendingTasks.next(!0);const l=this.taskId++;return this.pendingTasks.add(l),l}remove(l){this.pendingTasks.delete(l),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class Wx{constructor(o,l){this.ngModuleFactory=o,this.componentFactories=l}}let Zx=(()=>{class n{compileModuleSync(l){return new eI(l)}compileModuleAsync(l){return Promise.resolve(this.compileModuleSync(l))}compileModuleAndAllComponentsSync(l){const g=this.compileModuleSync(l),S=rd(Yo(l).declarations).reduce((G,ie)=>{const fe=Cr(ie);return fe&&G.push(new lo(fe)),G},[]);return new Wx(g,S)}compileModuleAndAllComponentsAsync(l){return Promise.resolve(this.compileModuleAndAllComponentsSync(l))}clearCache(){}clearCacheFor(l){}getModuleId(l){}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Xy=new Pi(""),qy=new Pi("");let _I,gT=(()=>{class n{constructor(l,g,I){this._ngZone=l,this.registry=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,_I||(function pT(n){_I=n}(I),I.addToWindow(g)),this._watchAngularEvents(),l.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:()=>{_c.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let l=this._callbacks.pop();clearTimeout(l.timeoutId),l.doneCb(this._didWork)}this._didWork=!1});else{let l=this.getPendingTasks();this._callbacks=this._callbacks.filter(g=>!g.updateCb||!g.updateCb(l)||(clearTimeout(g.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(l=>({source:l.source,creationLocation:l.creationLocation,data:l.data})):[]}addCallback(l,g,I){let S=-1;g&&g>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(G=>G.timeoutId!==S),l(this._didWork,this.getPendingTasks())},g)),this._callbacks.push({doneCb:l,timeoutId:S,updateCb:I})}whenStable(l,g,I){if(I&&!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(l,g,I),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(l){this.registry.registerApplication(l,this)}unregisterApplication(l){this.registry.unregisterApplication(l)}findProviders(l,g,I){return[]}static#e=this.\u0275fac=function(g){return new(g||n)(Ri(_c),Ri(eb),Ri(qy))};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac})}return n})(),eb=(()=>{class n{constructor(){this._applications=new Map}registerApplication(l,g){this._applications.set(l,g)}unregisterApplication(l){this._applications.delete(l)}unregisterAllApplications(){this._applications.clear()}getTestability(l){return this._applications.get(l)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(l,g=!0){return _I?.findTestabilityInTree(this,l,g)??null}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),ep=null;const tb=new Pi("AllowMultipleToken"),CI=new Pi("PlatformDestroyListeners"),vI=new Pi("appBootstrapListener");class CT{constructor(o,l){this.name=o,this.token=l}}function rb(n,o,l=[]){const g=`Platform: ${o}`,I=new Pi(g);return(S=[])=>{let G=AI();if(!G||G.injector.get(tb,!1)){const ie=[...l,...S,{provide:I,useValue:!0}];n?n(ie):function vT(n){if(ep&&!ep.get(tb,!1))throw new V(400,!1);(function nb(){!function hr(n){qo=n}(()=>{throw new V(600,!1)})})(),ep=n;const o=n.get(ob);(function ib(n){n.get(o_,null)?.forEach(l=>l())})(n)}(function sb(n=[],o){return fu.create({name:o,providers:[{provide:Dp,useValue:"platform"},{provide:CI,useValue:new Set([()=>ep=null])},...n]})}(ie,g))}return function IT(n){const o=AI();if(!o)throw new V(401,!1);return o}()}}function AI(){return ep?.get(ob)??null}let ob=(()=>{class n{constructor(l){this._injector=l,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(l,g){const I=function yT(n="zone.js",o){return"noop"===n?new Rg:"zone.js"===n?new _c(o):n}(g?.ngZone,function ab(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:g?.ngZoneEventCoalescing,runCoalescing:g?.ngZoneRunCoalescing}));return I.run(()=>{const S=function Rb(n,o,l){return new q1(n,o,l)}(l.moduleType,this.injector,function hb(n){return[{provide:_c,useFactory:n},{provide:Qd,multi:!0,useFactory:()=>{const o=mn(xT,{optional:!0});return()=>o.initialize()}},{provide:db,useFactory:bT},{provide:eh,useFactory:Uh}]}(()=>I)),G=S.injector.get(bd,null);return I.runOutsideAngular(()=>{const ie=I.onError.subscribe({next:fe=>{G.handleError(fe)}});S.onDestroy(()=>{YA(this._modules,S),ie.unsubscribe()})}),function lb(n,o,l){try{const g=l();return X_(g)?g.catch(I=>{throw o.runOutsideAngular(()=>n.handleError(I)),I}):g}catch(g){throw o.runOutsideAngular(()=>n.handleError(g)),g}}(G,I,()=>{const ie=S.injector.get(gI);return ie.runInitializers(),ie.donePromise.then(()=>(function pr(n){hn(n,"Expected localeId to be defined"),"string"==typeof n&&(Po=n.toLowerCase().replace(/_/g,"-"))}(S.injector.get(NA,kn)||kn),this._moduleDoBootstrap(S),S))})})}bootstrapModule(l,g=[]){const I=cb({},g);return function mT(n,o,l){const g=new eI(l);return Promise.resolve(g)}(0,0,l).then(S=>this.bootstrapModuleFactory(S,I))}_moduleDoBootstrap(l){const g=l.injector.get(C0);if(l._bootstrapComponents.length>0)l._bootstrapComponents.forEach(I=>g.bootstrap(I));else{if(!l.instance.ngDoBootstrap)throw new V(-403,!1);l.instance.ngDoBootstrap(g)}this._modules.push(l)}onDestroy(l){this._destroyListeners.push(l)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new V(404,!1);this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g());const l=this._injector.get(CI,null);l&&(l.forEach(g=>g()),l.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(g){return new(g||n)(Ri(fu))};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function cb(n,o){return Array.isArray(o)?o.reduce(cb,n):{...n,...o}}let C0=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=mn(db),this.zoneIsStable=mn(eh),this.componentTypes=[],this.components=[],this.isStable=mn($y).hasPendingTasks.pipe((0,N.w)(l=>l?(0,C.of)(!1):this.zoneIsStable),(0,j.x)(),(0,b.B)()),this._injector=mn(Ou)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(l,g){const I=l instanceof Nh;if(!this._injector.get(gI).done)throw!I&&ds(l),new V(405,!1);let G;G=I?l:this._injector.get(wf).resolveComponentFactory(l),this.componentTypes.push(G.componentType);const ie=function _T(n){return n.isBoundToModule}(G)?void 0:this._injector.get(Lm),Le=G.create(fu.NULL,[],g||G.selector,ie),ct=Le.location.nativeElement,Ft=Le.injector.get(Xy,null);return Ft?.registerApplication(ct),Le.onDestroy(()=>{this.detachView(Le.hostView),YA(this.components,Le),Ft?.unregisterApplication(ct)}),this._loadComponent(Le),Le}tick(){if(this._runningTick)throw new V(101,!1);try{this._runningTick=!0;for(let l of this._views)l.detectChanges()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1}}attachView(l){const g=l;this._views.push(g),g.attachToAppRef(this)}detachView(l){const g=l;YA(this._views,g),g.detachFromAppRef()}_loadComponent(l){this.attachView(l.hostView),this.tick(),this.components.push(l);const g=this._injector.get(vI,[]);g.push(...this._bootstrapListeners),g.forEach(I=>I(l))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(l=>l()),this._views.slice().forEach(l=>l.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(l){return this._destroyListeners.push(l),()=>YA(this._destroyListeners,l)}destroy(){if(this._destroyed)throw new V(406,!1);const l=this._injector;l.destroy&&!l.destroyed&&l.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function YA(n,o){const l=n.indexOf(o);l>-1&&n.splice(l,1)}const db=new Pi("",{providedIn:"root",factory:()=>mn(bd).handleError.bind(void 0)});function bT(){const n=mn(_c),o=mn(bd);return l=>n.runOutsideAngular(()=>o.handleError(l))}let xT=(()=>{class n{constructor(){this.zone=mn(_c),this.applicationRef=mn(C0)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(g){return new(g||n)};static#t=this.\u0275prov=dn({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ET(){}let wT=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=MT}return n})();function MT(n){return function DT(n,o,l){if(Da(n)&&!l){const g=yo(n.index,o);return new Di(g,g)}return 47&n.type?new Di(o[gr],o):null}(Ta(),ii(),16==(16&n))}class mb{constructor(){}supports(o){return H_(o)}create(o){return new RT(o)}}const PT=(n,o)=>o;class RT{constructor(o){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=o||PT}forEachItem(o){let l;for(l=this._itHead;null!==l;l=l._next)o(l)}forEachOperation(o){let l=this._itHead,g=this._removalsHead,I=0,S=null;for(;l||g;){const G=!g||l&&l.currentIndex{G=this._trackByFn(I,ie),null!==l&&Object.is(l.trackById,G)?(g&&(l=this._verifyReinsertion(l,ie,G,I)),Object.is(l.item,ie)||this._addIdentityChange(l,ie)):(l=this._mismatch(l,ie,G,I),g=!0),l=l._next,I++}),this.length=I;return this._truncate(l),this.collection=o,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let o;for(o=this._previousItHead=this._itHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._additionsHead;null!==o;o=o._nextAdded)o.previousIndex=o.currentIndex;for(this._additionsHead=this._additionsTail=null,o=this._movesHead;null!==o;o=o._nextMoved)o.previousIndex=o.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(o,l,g,I){let S;return null===o?S=this._itTail:(S=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null))?(Object.is(o.item,l)||this._addIdentityChange(o,l),this._reinsertAfter(o,S,I)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(g,I))?(Object.is(o.item,l)||this._addIdentityChange(o,l),this._moveAfter(o,S,I)):o=this._addAfter(new NT(l,g),S,I),o}_verifyReinsertion(o,l,g,I){let S=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null);return null!==S?o=this._reinsertAfter(S,o._prev,I):o.currentIndex!=I&&(o.currentIndex=I,this._addToMoves(o,I)),o}_truncate(o){for(;null!==o;){const l=o._next;this._addToRemovals(this._unlink(o)),o=l}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(o,l,g){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const I=o._prevRemoved,S=o._nextRemoved;return null===I?this._removalsHead=S:I._nextRemoved=S,null===S?this._removalsTail=I:S._prevRemoved=I,this._insertAfter(o,l,g),this._addToMoves(o,g),o}_moveAfter(o,l,g){return this._unlink(o),this._insertAfter(o,l,g),this._addToMoves(o,g),o}_addAfter(o,l,g){return this._insertAfter(o,l,g),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,l,g){const I=null===l?this._itHead:l._next;return o._next=I,o._prev=l,null===I?this._itTail=o:I._prev=o,null===l?this._itHead=o:l._next=o,null===this._linkedRecords&&(this._linkedRecords=new _b),this._linkedRecords.put(o),o.currentIndex=g,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const l=o._prev,g=o._next;return null===l?this._itHead=g:l._next=g,null===g?this._itTail=l:g._prev=l,o}_addToMoves(o,l){return o.previousIndex===l||(this._movesTail=null===this._movesTail?this._movesHead=o:this._movesTail._nextMoved=o),o}_addToRemovals(o){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _b),this._unlinkedRecords.put(o),o.currentIndex=null,o._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=o,o._prevRemoved=null):(o._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=o),o}_addIdentityChange(o,l){return o.item=l,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=o:this._identityChangesTail._nextIdentityChange=o,o}}class NT{constructor(o,l){this.item=o,this.trackById=l,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 FT{constructor(){this._head=null,this._tail=null}add(o){null===this._head?(this._head=this._tail=o,o._nextDup=null,o._prevDup=null):(this._tail._nextDup=o,o._prevDup=this._tail,o._nextDup=null,this._tail=o)}get(o,l){let g;for(g=this._head;null!==g;g=g._nextDup)if((null===l||l<=g.currentIndex)&&Object.is(g.trackById,o))return g;return null}remove(o){const l=o._prevDup,g=o._nextDup;return null===l?this._head=g:l._nextDup=g,null===g?this._tail=l:g._prevDup=l,null===this._head}}class _b{constructor(){this.map=new Map}put(o){const l=o.trackById;let g=this.map.get(l);g||(g=new FT,this.map.set(l,g)),g.add(o)}get(o,l){const I=this.map.get(o);return I?I.get(o,l):null}remove(o){const l=o.trackById;return this.map.get(l).remove(o)&&this.map.delete(l),o}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Cb(n,o,l){const g=n.previousIndex;if(null===g)return g;let I=0;return l&&g{if(l&&l.key===I)this._maybeAddToChanges(l,g),this._appendAfter=l,l=l._next;else{const S=this._getOrCreateRecordForKey(I,g);l=this._insertBeforeOrAppend(l,S)}}),l){l._prev&&(l._prev._next=null),this._removalsHead=l;for(let g=l;null!==g;g=g._nextRemoved)g===this._mapHead&&(this._mapHead=null),this._records.delete(g.key),g._nextRemoved=g._next,g.previousValue=g.currentValue,g.currentValue=null,g._prev=null,g._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,l){if(o){const g=o._prev;return l._next=o,l._prev=g,o._prev=l,g&&(g._next=l),o===this._mapHead&&(this._mapHead=l),this._appendAfter=o,o}return this._appendAfter?(this._appendAfter._next=l,l._prev=this._appendAfter):this._mapHead=l,this._appendAfter=l,null}_getOrCreateRecordForKey(o,l){if(this._records.has(o)){const I=this._records.get(o);this._maybeAddToChanges(I,l);const S=I._prev,G=I._next;return S&&(S._next=G),G&&(G._prev=S),I._next=null,I._prev=null,I}const g=new BT(o);return this._records.set(o,g),g.currentValue=l,this._addToAdditions(g),g}_reset(){if(this.isDirty){let o;for(this._previousMapHead=this._mapHead,o=this._previousMapHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._changesHead;null!==o;o=o._nextChanged)o.previousValue=o.currentValue;for(o=this._additionsHead;null!=o;o=o._nextAdded)o.previousValue=o.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(o,l){Object.is(l,o.currentValue)||(o.previousValue=o.currentValue,o.currentValue=l,this._addToChanges(o))}_addToAdditions(o){null===this._additionsHead?this._additionsHead=this._additionsTail=o:(this._additionsTail._nextAdded=o,this._additionsTail=o)}_addToChanges(o){null===this._changesHead?this._changesHead=this._changesTail=o:(this._changesTail._nextChanged=o,this._changesTail=o)}_forEach(o,l){o instanceof Map?o.forEach(l):Object.keys(o).forEach(g=>l(o[g],g))}}class BT{constructor(o){this.key=o,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 Ab(){return new TI([new mb])}let TI=(()=>{class n{static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:Ab});constructor(l){this.factories=l}static create(l,g){if(null!=g){const I=g.factories.slice();l=l.concat(I)}return new n(l)}static extend(l){return{provide:n,useFactory:g=>n.create(l,g||Ab()),deps:[[n,new Nd,new Rd]]}}find(l){const g=this.factories.find(I=>I.supports(l));if(null!=g)return g;throw new V(901,!1)}}return n})();function Ib(){return new EI([new vb])}let EI=(()=>{class n{static#e=this.\u0275prov=dn({token:n,providedIn:"root",factory:Ib});constructor(l){this.factories=l}static create(l,g){if(g){const I=g.factories.slice();l=l.concat(I)}return new n(l)}static extend(l){return{provide:n,useFactory:g=>n.create(l,g||Ib()),deps:[[n,new Nd,new Rd]]}}find(l){const g=this.factories.find(I=>I.supports(l));if(g)return g;throw new V(901,!1)}}return n})();const jT=rb(null,"core",[]);let zT=(()=>{class n{constructor(l){}static#e=this.\u0275fac=function(g){return new(g||n)(Ri(C0))};static#t=this.\u0275mod=_s({type:n});static#n=this.\u0275inj=di({})}return n})();function eE(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function nE(n){const o=Cr(n);if(!o)return null;const l=new lo(o);return{get selector(){return l.selector},get type(){return l.componentType},get inputs(){return l.inputs},get outputs(){return l.outputs},get ngContentSelectors(){return l.ngContentSelectors},get isStandalone(){return o.standalone},get isSignal(){return o.signals}}}},2133:(lt,_e,m)=>{"use strict";m.d(_e,{Wl:()=>Oe,gN:()=>Ot,Fj:()=>V,Oe:()=>ia,qu:()=>yl,NI:()=>Tt,oH:()=>Ma,u:()=>os,cw:()=>Ri,sg:()=>_i,u5:()=>_l,nD:()=>Qs,Fd:()=>Ia,qQ:()=>fa,Cf:()=>oe,JU:()=>X,JJ:()=>xt,JL:()=>cn,On:()=>ko,YN:()=>Aa,wV:()=>er,eT:()=>ha,UX:()=>ya,Q7:()=>io,EJ:()=>Mo,kI:()=>Ge,_Y:()=>da,Kr:()=>Zr});var i=m(755),t=m(6733),A=m(3489),a=m(8132),y=m(6632),C=m(6974),b=m(8197),N=m(134),j=m(5993),F=m(2713),H=m(2425);let k=(()=>{class Ne{constructor(Ce,ut){this._renderer=Ce,this._elementRef=ut,this.onChange=Zt=>{},this.onTouched=()=>{}}setProperty(Ce,ut){this._renderer.setProperty(this._elementRef.nativeElement,Ce,ut)}registerOnTouched(Ce){this.onTouched=Ce}registerOnChange(Ce){this.onChange=Ce}setDisabledState(Ce){this.setProperty("disabled",Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.Qsj),i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:Ne})}return Ne})(),P=(()=>{class Ne extends k{static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,features:[i.qOj]})}return Ne})();const X=new i.OlP("NgValueAccessor"),me={provide:X,useExisting:(0,i.Gpc)(()=>Oe),multi:!0};let Oe=(()=>{class Ne extends P{writeValue(Ce){this.setProperty("checked",Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("change",function(lr){return Zt.onChange(lr.target.checked)})("blur",function(){return Zt.onTouched()})},features:[i._Bn([me]),i.qOj]})}return Ne})();const Se={provide:X,useExisting:(0,i.Gpc)(()=>V),multi:!0},K=new i.OlP("CompositionEventMode");let V=(()=>{class Ne extends k{constructor(Ce,ut,Zt){super(Ce,ut),this._compositionMode=Zt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function wt(){const Ne=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(Ne.toLowerCase())}())}writeValue(Ce){this.setProperty("value",Ce??"")}_handleInput(Ce){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ce)}_compositionStart(){this._composing=!0}_compositionEnd(Ce){this._composing=!1,this._compositionMode&&this.onChange(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(K,8))};static#t=this.\u0275dir=i.lG2({type:Ne,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(ut,Zt){1&ut&&i.NdJ("input",function(lr){return Zt._handleInput(lr.target.value)})("blur",function(){return Zt.onTouched()})("compositionstart",function(){return Zt._compositionStart()})("compositionend",function(lr){return Zt._compositionEnd(lr.target.value)})},features:[i._Bn([Se]),i.qOj]})}return Ne})();function J(Ne){return null==Ne||("string"==typeof Ne||Array.isArray(Ne))&&0===Ne.length}function ae(Ne){return null!=Ne&&"number"==typeof Ne.length}const oe=new i.OlP("NgValidators"),ye=new i.OlP("NgAsyncValidators"),Ee=/^(?=.{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 Ge{static min(ze){return gt(ze)}static max(ze){return Ze(ze)}static required(ze){return Je(ze)}static requiredTrue(ze){return function tt(Ne){return!0===Ne.value?null:{required:!0}}(ze)}static email(ze){return function Qe(Ne){return J(Ne.value)||Ee.test(Ne.value)?null:{email:!0}}(ze)}static minLength(ze){return function pt(Ne){return ze=>J(ze.value)||!ae(ze.value)?null:ze.value.length{if(J(ut.value))return null;const Zt=ut.value;return ze.test(Zt)?null:{pattern:{requiredPattern:Ce,actualValue:Zt}}}}(ze)}static nullValidator(ze){return null}static compose(ze){return yt(ze)}static composeAsync(ze){return xn(ze)}}function gt(Ne){return ze=>{if(J(ze.value)||J(Ne))return null;const Ce=parseFloat(ze.value);return!isNaN(Ce)&&Ce{if(J(ze.value)||J(Ne))return null;const Ce=parseFloat(ze.value);return!isNaN(Ce)&&Ce>Ne?{max:{max:Ne,actual:ze.value}}:null}}function Je(Ne){return J(Ne.value)?{required:!0}:null}function Nt(Ne){return ze=>ae(ze.value)&&ze.value.length>Ne?{maxlength:{requiredLength:Ne,actualLength:ze.value.length}}:null}function nt(Ne){return null}function ot(Ne){return null!=Ne}function Ct(Ne){return(0,i.QGY)(Ne)?(0,A.D)(Ne):Ne}function He(Ne){let ze={};return Ne.forEach(Ce=>{ze=null!=Ce?{...ze,...Ce}:ze}),0===Object.keys(ze).length?null:ze}function mt(Ne,ze){return ze.map(Ce=>Ce(Ne))}function hn(Ne){return Ne.map(ze=>function vt(Ne){return!Ne.validate}(ze)?ze:Ce=>ze.validate(Ce))}function yt(Ne){if(!Ne)return null;const ze=Ne.filter(ot);return 0==ze.length?null:function(Ce){return He(mt(Ce,ze))}}function Fn(Ne){return null!=Ne?yt(hn(Ne)):null}function xn(Ne){if(!Ne)return null;const ze=Ne.filter(ot);return 0==ze.length?null:function(Ce){return function x(...Ne){const ze=(0,b.jO)(Ne),{args:Ce,keys:ut}=(0,y.D)(Ne),Zt=new a.y(Yi=>{const{length:lr}=Ce;if(!lr)return void Yi.complete();const ro=new Array(lr);let Xs=lr,Jo=lr;for(let Qo=0;Qo{ga||(ga=!0,Jo--),ro[Qo]=Ts},()=>Xs--,void 0,()=>{(!Xs||!ga)&&(Jo||Yi.next(ut?(0,F.n)(ut,ro):ro),Yi.complete())}))}});return ze?Zt.pipe((0,j.Z)(ze)):Zt}(mt(Ce,ze).map(Ct)).pipe((0,H.U)(He))}}function In(Ne){return null!=Ne?xn(hn(Ne)):null}function dn(Ne,ze){return null===Ne?[ze]:Array.isArray(Ne)?[...Ne,ze]:[Ne,ze]}function qn(Ne){return Ne._rawValidators}function di(Ne){return Ne._rawAsyncValidators}function ir(Ne){return Ne?Array.isArray(Ne)?Ne:[Ne]:[]}function Bn(Ne,ze){return Array.isArray(Ne)?Ne.includes(ze):Ne===ze}function xi(Ne,ze){const Ce=ir(ze);return ir(Ne).forEach(Zt=>{Bn(Ce,Zt)||Ce.push(Zt)}),Ce}function fi(Ne,ze){return ir(ze).filter(Ce=>!Bn(Ne,Ce))}class Mt{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(ze){this._rawValidators=ze||[],this._composedValidatorFn=Fn(this._rawValidators)}_setAsyncValidators(ze){this._rawAsyncValidators=ze||[],this._composedAsyncValidatorFn=In(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ze){this._onDestroyCallbacks.push(ze)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ze=>ze()),this._onDestroyCallbacks=[]}reset(ze=void 0){this.control&&this.control.reset(ze)}hasError(ze,Ce){return!!this.control&&this.control.hasError(ze,Ce)}getError(ze,Ce){return this.control?this.control.getError(ze,Ce):null}}class Ot extends Mt{get formDirective(){return null}get path(){return null}}class ve extends Mt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class De{constructor(ze){this._cd=ze}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 xt=(()=>{class Ne extends De{constructor(Ce){super(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(ve,2))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ut,Zt){2&ut&&i.ekj("ng-untouched",Zt.isUntouched)("ng-touched",Zt.isTouched)("ng-pristine",Zt.isPristine)("ng-dirty",Zt.isDirty)("ng-valid",Zt.isValid)("ng-invalid",Zt.isInvalid)("ng-pending",Zt.isPending)},features:[i.qOj]})}return Ne})(),cn=(()=>{class Ne extends De{constructor(Ce){super(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(Ot,10))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ut,Zt){2&ut&&i.ekj("ng-untouched",Zt.isUntouched)("ng-touched",Zt.isTouched)("ng-pristine",Zt.isPristine)("ng-dirty",Zt.isDirty)("ng-valid",Zt.isValid)("ng-invalid",Zt.isInvalid)("ng-pending",Zt.isPending)("ng-submitted",Zt.isSubmitted)},features:[i.qOj]})}return Ne})();const ln="VALID",Yt="INVALID",li="PENDING",Qr="DISABLED";function Sr(Ne){return(Bt(Ne)?Ne.validators:Ne)||null}function sn(Ne,ze){return(Bt(ze)?ze.asyncValidators:Ne)||null}function Bt(Ne){return null!=Ne&&!Array.isArray(Ne)&&"object"==typeof Ne}function bn(Ne,ze,Ce){const ut=Ne.controls;if(!(ze?Object.keys(ut):ut).length)throw new i.vHH(1e3,"");if(!ut[Ce])throw new i.vHH(1001,"")}function mi(Ne,ze,Ce){Ne._forEachChild((ut,Zt)=>{if(void 0===Ce[Zt])throw new i.vHH(1002,"")})}class rr{constructor(ze,Ce){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ze),this._assignAsyncValidators(Ce)}get validator(){return this._composedValidatorFn}set validator(ze){this._rawValidators=this._composedValidatorFn=ze}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ze){this._rawAsyncValidators=this._composedAsyncValidatorFn=ze}get parent(){return this._parent}get valid(){return this.status===ln}get invalid(){return this.status===Yt}get pending(){return this.status==li}get disabled(){return this.status===Qr}get enabled(){return this.status!==Qr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ze){this._assignValidators(ze)}setAsyncValidators(ze){this._assignAsyncValidators(ze)}addValidators(ze){this.setValidators(xi(ze,this._rawValidators))}addAsyncValidators(ze){this.setAsyncValidators(xi(ze,this._rawAsyncValidators))}removeValidators(ze){this.setValidators(fi(ze,this._rawValidators))}removeAsyncValidators(ze){this.setAsyncValidators(fi(ze,this._rawAsyncValidators))}hasValidator(ze){return Bn(this._rawValidators,ze)}hasAsyncValidator(ze){return Bn(this._rawAsyncValidators,ze)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ze={}){this.touched=!0,this._parent&&!ze.onlySelf&&this._parent.markAsTouched(ze)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ze=>ze.markAllAsTouched())}markAsUntouched(ze={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ce=>{Ce.markAsUntouched({onlySelf:!0})}),this._parent&&!ze.onlySelf&&this._parent._updateTouched(ze)}markAsDirty(ze={}){this.pristine=!1,this._parent&&!ze.onlySelf&&this._parent.markAsDirty(ze)}markAsPristine(ze={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ce=>{Ce.markAsPristine({onlySelf:!0})}),this._parent&&!ze.onlySelf&&this._parent._updatePristine(ze)}markAsPending(ze={}){this.status=li,!1!==ze.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ze.onlySelf&&this._parent.markAsPending(ze)}disable(ze={}){const Ce=this._parentMarkedDirty(ze.onlySelf);this.status=Qr,this.errors=null,this._forEachChild(ut=>{ut.disable({...ze,onlySelf:!0})}),this._updateValue(),!1!==ze.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ze,skipPristineCheck:Ce}),this._onDisabledChange.forEach(ut=>ut(!0))}enable(ze={}){const Ce=this._parentMarkedDirty(ze.onlySelf);this.status=ln,this._forEachChild(ut=>{ut.enable({...ze,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ze.emitEvent}),this._updateAncestors({...ze,skipPristineCheck:Ce}),this._onDisabledChange.forEach(ut=>ut(!1))}_updateAncestors(ze){this._parent&&!ze.onlySelf&&(this._parent.updateValueAndValidity(ze),ze.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ze){this._parent=ze}getRawValue(){return this.value}updateValueAndValidity(ze={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ln||this.status===li)&&this._runAsyncValidator(ze.emitEvent)),!1!==ze.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ze.onlySelf&&this._parent.updateValueAndValidity(ze)}_updateTreeValidity(ze={emitEvent:!0}){this._forEachChild(Ce=>Ce._updateTreeValidity(ze)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ze.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Qr:ln}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ze){if(this.asyncValidator){this.status=li,this._hasOwnPendingAsyncValidator=!0;const Ce=Ct(this.asyncValidator(this));this._asyncValidationSubscription=Ce.subscribe(ut=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ut,{emitEvent:ze})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ze,Ce={}){this.errors=ze,this._updateControlsErrors(!1!==Ce.emitEvent)}get(ze){let Ce=ze;return null==Ce||(Array.isArray(Ce)||(Ce=Ce.split(".")),0===Ce.length)?null:Ce.reduce((ut,Zt)=>ut&&ut._find(Zt),this)}getError(ze,Ce){const ut=Ce?this.get(Ce):this;return ut&&ut.errors?ut.errors[ze]:null}hasError(ze,Ce){return!!this.getError(ze,Ce)}get root(){let ze=this;for(;ze._parent;)ze=ze._parent;return ze}_updateControlsErrors(ze){this.status=this._calculateStatus(),ze&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ze)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Qr:this.errors?Yt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(li)?li:this._anyControlsHaveStatus(Yt)?Yt:ln}_anyControlsHaveStatus(ze){return this._anyControls(Ce=>Ce.status===ze)}_anyControlsDirty(){return this._anyControls(ze=>ze.dirty)}_anyControlsTouched(){return this._anyControls(ze=>ze.touched)}_updatePristine(ze={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ze.onlySelf&&this._parent._updatePristine(ze)}_updateTouched(ze={}){this.touched=this._anyControlsTouched(),this._parent&&!ze.onlySelf&&this._parent._updateTouched(ze)}_registerOnCollectionChange(ze){this._onCollectionChange=ze}_setUpdateStrategy(ze){Bt(ze)&&null!=ze.updateOn&&(this._updateOn=ze.updateOn)}_parentMarkedDirty(ze){return!ze&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ze){return null}_assignValidators(ze){this._rawValidators=Array.isArray(ze)?ze.slice():ze,this._composedValidatorFn=function Pn(Ne){return Array.isArray(Ne)?Fn(Ne):Ne||null}(this._rawValidators)}_assignAsyncValidators(ze){this._rawAsyncValidators=Array.isArray(ze)?ze.slice():ze,this._composedAsyncValidatorFn=function Rt(Ne){return Array.isArray(Ne)?In(Ne):Ne||null}(this._rawAsyncValidators)}}class Ri extends rr{constructor(ze,Ce,ut){super(Sr(Ce),sn(ut,Ce)),this.controls=ze,this._initObservables(),this._setUpdateStrategy(Ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ze,Ce){return this.controls[ze]?this.controls[ze]:(this.controls[ze]=Ce,Ce.setParent(this),Ce._registerOnCollectionChange(this._onCollectionChange),Ce)}addControl(ze,Ce,ut={}){this.registerControl(ze,Ce),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}removeControl(ze,Ce={}){this.controls[ze]&&this.controls[ze]._registerOnCollectionChange(()=>{}),delete this.controls[ze],this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}setControl(ze,Ce,ut={}){this.controls[ze]&&this.controls[ze]._registerOnCollectionChange(()=>{}),delete this.controls[ze],Ce&&this.registerControl(ze,Ce),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}contains(ze){return this.controls.hasOwnProperty(ze)&&this.controls[ze].enabled}setValue(ze,Ce={}){mi(this,0,ze),Object.keys(ze).forEach(ut=>{bn(this,!0,ut),this.controls[ut].setValue(ze[ut],{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce)}patchValue(ze,Ce={}){null!=ze&&(Object.keys(ze).forEach(ut=>{const Zt=this.controls[ut];Zt&&Zt.patchValue(ze[ut],{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce))}reset(ze={},Ce={}){this._forEachChild((ut,Zt)=>{ut.reset(ze?ze[Zt]:null,{onlySelf:!0,emitEvent:Ce.emitEvent})}),this._updatePristine(Ce),this._updateTouched(Ce),this.updateValueAndValidity(Ce)}getRawValue(){return this._reduceChildren({},(ze,Ce,ut)=>(ze[ut]=Ce.getRawValue(),ze))}_syncPendingControls(){let ze=this._reduceChildren(!1,(Ce,ut)=>!!ut._syncPendingControls()||Ce);return ze&&this.updateValueAndValidity({onlySelf:!0}),ze}_forEachChild(ze){Object.keys(this.controls).forEach(Ce=>{const ut=this.controls[Ce];ut&&ze(ut,Ce)})}_setUpControls(){this._forEachChild(ze=>{ze.setParent(this),ze._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ze){for(const[Ce,ut]of Object.entries(this.controls))if(this.contains(Ce)&&ze(ut))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ce,ut,Zt)=>((ut.enabled||this.disabled)&&(Ce[Zt]=ut.value),Ce))}_reduceChildren(ze,Ce){let ut=ze;return this._forEachChild((Zt,Yi)=>{ut=Ce(ut,Zt,Yi)}),ut}_allControlsDisabled(){for(const ze of Object.keys(this.controls))if(this.controls[ze].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ze){return this.controls.hasOwnProperty(ze)?this.controls[ze]:null}}class Xe extends Ri{}const ge=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ae}),Ae="always";function it(Ne,ze){return[...ze.path,Ne]}function Ht(Ne,ze,Ce=Ae){pi(Ne,ze),ze.valueAccessor.writeValue(Ne.value),(Ne.disabled||"always"===Ce)&&ze.valueAccessor.setDisabledState?.(Ne.disabled),function Ti(Ne,ze){ze.valueAccessor.registerOnChange(Ce=>{Ne._pendingValue=Ce,Ne._pendingChange=!0,Ne._pendingDirty=!0,"change"===Ne.updateOn&&Hr(Ne,ze)})}(Ne,ze),function ss(Ne,ze){const Ce=(ut,Zt)=>{ze.valueAccessor.writeValue(ut),Zt&&ze.viewToModelUpdate(ut)};Ne.registerOnChange(Ce),ze._registerOnDestroy(()=>{Ne._unregisterOnChange(Ce)})}(Ne,ze),function yi(Ne,ze){ze.valueAccessor.registerOnTouched(()=>{Ne._pendingTouched=!0,"blur"===Ne.updateOn&&Ne._pendingChange&&Hr(Ne,ze),"submit"!==Ne.updateOn&&Ne.markAsTouched()})}(Ne,ze),function Tn(Ne,ze){if(ze.valueAccessor.setDisabledState){const Ce=ut=>{ze.valueAccessor.setDisabledState(ut)};Ne.registerOnDisabledChange(Ce),ze._registerOnDestroy(()=>{Ne._unregisterOnDisabledChange(Ce)})}}(Ne,ze)}function Kt(Ne,ze,Ce=!0){const ut=()=>{};ze.valueAccessor&&(ze.valueAccessor.registerOnChange(ut),ze.valueAccessor.registerOnTouched(ut)),nn(Ne,ze),Ne&&(ze._invokeOnDestroyCallbacks(),Ne._registerOnCollectionChange(()=>{}))}function yn(Ne,ze){Ne.forEach(Ce=>{Ce.registerOnValidatorChange&&Ce.registerOnValidatorChange(ze)})}function pi(Ne,ze){const Ce=qn(Ne);null!==ze.validator?Ne.setValidators(dn(Ce,ze.validator)):"function"==typeof Ce&&Ne.setValidators([Ce]);const ut=di(Ne);null!==ze.asyncValidator?Ne.setAsyncValidators(dn(ut,ze.asyncValidator)):"function"==typeof ut&&Ne.setAsyncValidators([ut]);const Zt=()=>Ne.updateValueAndValidity();yn(ze._rawValidators,Zt),yn(ze._rawAsyncValidators,Zt)}function nn(Ne,ze){let Ce=!1;if(null!==Ne){if(null!==ze.validator){const Zt=qn(Ne);if(Array.isArray(Zt)&&Zt.length>0){const Yi=Zt.filter(lr=>lr!==ze.validator);Yi.length!==Zt.length&&(Ce=!0,Ne.setValidators(Yi))}}if(null!==ze.asyncValidator){const Zt=di(Ne);if(Array.isArray(Zt)&&Zt.length>0){const Yi=Zt.filter(lr=>lr!==ze.asyncValidator);Yi.length!==Zt.length&&(Ce=!0,Ne.setAsyncValidators(Yi))}}}const ut=()=>{};return yn(ze._rawValidators,ut),yn(ze._rawAsyncValidators,ut),Ce}function Hr(Ne,ze){Ne._pendingDirty&&Ne.markAsDirty(),Ne.setValue(Ne._pendingValue,{emitModelToViewChange:!1}),ze.viewToModelUpdate(Ne._pendingValue),Ne._pendingChange=!1}function Nr(Ne,ze){if(!Ne.hasOwnProperty("model"))return!1;const Ce=Ne.model;return!!Ce.isFirstChange()||!Object.is(ze,Ce.currentValue)}function Eo(Ne,ze){if(!ze)return null;let Ce,ut,Zt;return Array.isArray(ze),ze.forEach(Yi=>{Yi.constructor===V?Ce=Yi:function To(Ne){return Object.getPrototypeOf(Ne.constructor)===P}(Yi)?ut=Yi:Zt=Yi}),Zt||ut||Ce||null}function En(Ne,ze){const Ce=Ne.indexOf(ze);Ce>-1&&Ne.splice(Ce,1)}function dt(Ne){return"object"==typeof Ne&&null!==Ne&&2===Object.keys(Ne).length&&"value"in Ne&&"disabled"in Ne}const Tt=class extends rr{constructor(ze=null,Ce,ut){super(Sr(Ce),sn(ut,Ce)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ze),this._setUpdateStrategy(Ce),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bt(Ce)&&(Ce.nonNullable||Ce.initialValueIsDefault)&&(this.defaultValue=dt(ze)?ze.value:ze)}setValue(ze,Ce={}){this.value=this._pendingValue=ze,this._onChange.length&&!1!==Ce.emitModelToViewChange&&this._onChange.forEach(ut=>ut(this.value,!1!==Ce.emitViewToModelChange)),this.updateValueAndValidity(Ce)}patchValue(ze,Ce={}){this.setValue(ze,Ce)}reset(ze=this.defaultValue,Ce={}){this._applyFormState(ze),this.markAsPristine(Ce),this.markAsUntouched(Ce),this.setValue(this.value,Ce),this._pendingChange=!1}_updateValue(){}_anyControls(ze){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ze){this._onChange.push(ze)}_unregisterOnChange(ze){En(this._onChange,ze)}registerOnDisabledChange(ze){this._onDisabledChange.push(ze)}_unregisterOnDisabledChange(ze){En(this._onDisabledChange,ze)}_forEachChild(ze){}_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(ze){dt(ze)?(this.value=this._pendingValue=ze.value,ze.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ze}},na={provide:ve,useExisting:(0,i.Gpc)(()=>ko)},_s=(()=>Promise.resolve())();let ko=(()=>{class Ne extends ve{constructor(Ce,ut,Zt,Yi,lr,ro){super(),this._changeDetectorRef=lr,this.callSetDisabledState=ro,this.control=new Tt,this._registered=!1,this.name="",this.update=new i.vpe,this._parent=Ce,this._setValidators(ut),this._setAsyncValidators(Zt),this.valueAccessor=Eo(0,Yi)}ngOnChanges(Ce){if(this._checkForErrors(),!this._registered||"name"in Ce){if(this._registered&&(this._checkName(),this.formDirective)){const ut=Ce.name.previousValue;this.formDirective.removeControl({name:ut,path:this._getPath(ut)})}this._setUpControl()}"isDisabled"in Ce&&this._updateDisabled(Ce),Nr(Ce,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Ce){this.viewModel=Ce,this.update.emit(Ce)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ht(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ce){_s.then(()=>{this.control.setValue(Ce,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ce){const ut=Ce.isDisabled.currentValue,Zt=0!==ut&&(0,i.VuI)(ut);_s.then(()=>{Zt&&!this.control.disabled?this.control.disable():!Zt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ce){return this._parent?it(Ce,this._parent):[Ce]}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(Ot,9),i.Y36(oe,10),i.Y36(ye,10),i.Y36(X,10),i.Y36(i.sBO,8),i.Y36(ge,8))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([na]),i.qOj,i.TTD]})}return Ne})(),da=(()=>{class Ne{static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Ne})();const Wa={provide:X,useExisting:(0,i.Gpc)(()=>er),multi:!0};let er=(()=>{class Ne extends P{writeValue(Ce){this.setProperty("value",Ce??"")}registerOnChange(Ce){this.onChange=ut=>{Ce(""==ut?null:parseFloat(ut))}}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("input",function(lr){return Zt.onChange(lr.target.value)})("blur",function(){return Zt.onTouched()})},features:[i._Bn([Wa]),i.qOj]})}return Ne})(),br=(()=>{class Ne{static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({})}return Ne})();const gl={provide:X,useExisting:(0,i.Gpc)(()=>ha),multi:!0};let ha=(()=>{class Ne extends P{writeValue(Ce){this.setProperty("value",parseFloat(Ce))}registerOnChange(Ce){this.onChange=ut=>{Ce(""==ut?null:parseFloat(ut))}}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("change",function(lr){return Zt.onChange(lr.target.value)})("input",function(lr){return Zt.onChange(lr.target.value)})("blur",function(){return Zt.onTouched()})},features:[i._Bn([gl]),i.qOj]})}return Ne})();const as=new i.OlP("NgModelWithFormControlWarning"),Na={provide:ve,useExisting:(0,i.Gpc)(()=>Ma)};let Ma=(()=>{class Ne extends ve{set isDisabled(Ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ce,ut,Zt,Yi,lr){super(),this._ngModelWarningConfig=Yi,this.callSetDisabledState=lr,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(Ce),this._setAsyncValidators(ut),this.valueAccessor=Eo(0,Zt)}ngOnChanges(Ce){if(this._isControlChanged(Ce)){const ut=Ce.form.previousValue;ut&&Kt(ut,this,!1),Ht(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Nr(Ce,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Kt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ce){this.viewModel=Ce,this.update.emit(Ce)}_isControlChanged(Ce){return Ce.hasOwnProperty("form")}static#t=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(oe,10),i.Y36(ye,10),i.Y36(X,10),i.Y36(as,8),i.Y36(ge,8))};static#n=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([Na]),i.qOj,i.TTD]})}return Ne})();const Fi={provide:Ot,useExisting:(0,i.Gpc)(()=>_i)};let _i=(()=>{class Ne extends Ot{constructor(Ce,ut,Zt){super(),this.callSetDisabledState=Zt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(Ce),this._setAsyncValidators(ut)}ngOnChanges(Ce){this._checkFormPresent(),Ce.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ce){const ut=this.form.get(Ce.path);return Ht(ut,Ce,this.callSetDisabledState),ut.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ce),ut}getControl(Ce){return this.form.get(Ce.path)}removeControl(Ce){Kt(Ce.control||null,Ce,!1),function wo(Ne,ze){const Ce=Ne.indexOf(ze);Ce>-1&&Ne.splice(Ce,1)}(this.directives,Ce)}addFormGroup(Ce){this._setUpFormContainer(Ce)}removeFormGroup(Ce){this._cleanUpFormContainer(Ce)}getFormGroup(Ce){return this.form.get(Ce.path)}addFormArray(Ce){this._setUpFormContainer(Ce)}removeFormArray(Ce){this._cleanUpFormContainer(Ce)}getFormArray(Ce){return this.form.get(Ce.path)}updateModel(Ce,ut){this.form.get(Ce.path).setValue(ut)}onSubmit(Ce){return this.submitted=!0,function Bs(Ne,ze){Ne._syncPendingControls(),ze.forEach(Ce=>{const ut=Ce.control;"submit"===ut.updateOn&&ut._pendingChange&&(Ce.viewToModelUpdate(ut._pendingValue),ut._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(Ce),"dialog"===Ce?.target?.method}onReset(){this.resetForm()}resetForm(Ce=void 0){this.form.reset(Ce),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ce=>{const ut=Ce.control,Zt=this.form.get(Ce.path);ut!==Zt&&(Kt(ut||null,Ce),(Ne=>Ne instanceof Tt)(Zt)&&(Ht(Zt,Ce,this.callSetDisabledState),Ce.control=Zt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ce){const ut=this.form.get(Ce.path);(function wr(Ne,ze){pi(Ne,ze)})(ut,Ce),ut.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ce){if(this.form){const ut=this.form.get(Ce.path);ut&&function Ki(Ne,ze){return nn(Ne,ze)}(ut,Ce)&&ut.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){pi(this.form,this),this._oldForm&&nn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(oe,10),i.Y36(ye,10),i.Y36(ge,8))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formGroup",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("submit",function(lr){return Zt.onSubmit(lr)})("reset",function(){return Zt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Fi]),i.qOj,i.TTD]})}return Ne})();const Vr={provide:ve,useExisting:(0,i.Gpc)(()=>os)};let os=(()=>{class Ne extends ve{set isDisabled(Ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ce,ut,Zt,Yi,lr){super(),this._ngModelWarningConfig=lr,this._added=!1,this.name=null,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=Ce,this._setValidators(ut),this._setAsyncValidators(Zt),this.valueAccessor=Eo(0,Yi)}ngOnChanges(Ce){this._added||this._setUpControl(),Nr(Ce,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ce){this.viewModel=Ce,this.update.emit(Ce)}get path(){return it(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}static#t=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(Ot,13),i.Y36(oe,10),i.Y36(ye,10),i.Y36(X,10),i.Y36(as,8))};static#n=this.\u0275dir=i.lG2({type:Ne,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Vr]),i.qOj,i.TTD]})}return Ne})();const $o={provide:X,useExisting:(0,i.Gpc)(()=>Mo),multi:!0};function Ko(Ne,ze){return null==Ne?`${ze}`:(ze&&"object"==typeof ze&&(ze="Object"),`${Ne}: ${ze}`.slice(0,50))}let Mo=(()=>{class Ne extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ce){this._compareWith=Ce}writeValue(Ce){this.value=Ce;const Zt=Ko(this._getOptionId(Ce),Ce);this.setProperty("value",Zt)}registerOnChange(Ce){this.onChange=ut=>{this.value=this._getOptionValue(ut),Ce(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Ce){for(const ut of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ut),Ce))return ut;return null}_getOptionValue(Ce){const ut=function Rn(Ne){return Ne.split(":")[0]}(Ce);return this._optionMap.has(ut)?this._optionMap.get(ut):Ce}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ut,Zt){1&ut&&i.NdJ("change",function(lr){return Zt.onChange(lr.target.value)})("blur",function(){return Zt.onTouched()})},inputs:{compareWith:"compareWith"},features:[i._Bn([$o]),i.qOj]})}return Ne})(),Aa=(()=>{class Ne{constructor(Ce,ut,Zt){this._element=Ce,this._renderer=ut,this._select=Zt,this._select&&(this.id=this._select._registerOption())}set ngValue(Ce){null!=this._select&&(this._select._optionMap.set(this.id,Ce),this._setElementValue(Ko(this.id,Ce)),this._select.writeValue(this._select.value))}set value(Ce){this._setElementValue(Ce),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Ce){this._renderer.setProperty(this._element.nativeElement,"value",Ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Mo,9))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ne})();const Xr={provide:X,useExisting:(0,i.Gpc)(()=>Mr),multi:!0};function gr(Ne,ze){return null==Ne?`${ze}`:("string"==typeof ze&&(ze=`'${ze}'`),ze&&"object"==typeof ze&&(ze="Object"),`${Ne}: ${ze}`.slice(0,50))}let Mr=(()=>{class Ne extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ce){this._compareWith=Ce}writeValue(Ce){let ut;if(this.value=Ce,Array.isArray(Ce)){const Zt=Ce.map(Yi=>this._getOptionId(Yi));ut=(Yi,lr)=>{Yi._setSelected(Zt.indexOf(lr.toString())>-1)}}else ut=(Zt,Yi)=>{Zt._setSelected(!1)};this._optionMap.forEach(ut)}registerOnChange(Ce){this.onChange=ut=>{const Zt=[],Yi=ut.selectedOptions;if(void 0!==Yi){const lr=Yi;for(let ro=0;ro{class Ne{constructor(Ce,ut,Zt){this._element=Ce,this._renderer=ut,this._select=Zt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Ce){null!=this._select&&(this._value=Ce,this._setElementValue(gr(this.id,Ce)),this._select.writeValue(this._select.value))}set value(Ce){this._select?(this._value=Ce,this._setElementValue(gr(this.id,Ce)),this._select.writeValue(this._select.value)):this._setElementValue(Ce)}_setElementValue(Ce){this._renderer.setProperty(this._element.nativeElement,"value",Ce)}_setSelected(Ce){this._renderer.setProperty(this._element.nativeElement,"selected",Ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ut){return new(ut||Ne)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Mr,9))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ne})();function uo(Ne){return"number"==typeof Ne?Ne:parseFloat(Ne)}let Oo=(()=>{class Ne{constructor(){this._validator=nt}ngOnChanges(Ce){if(this.inputName in Ce){const ut=this.normalizeInput(Ce[this.inputName].currentValue);this._enabled=this.enabled(ut),this._validator=this._enabled?this.createValidator(ut):nt,this._onChange&&this._onChange()}}validate(Ce){return this._validator(Ce)}registerOnValidatorChange(Ce){this._onChange=Ce}enabled(Ce){return null!=Ce}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275dir=i.lG2({type:Ne,features:[i.TTD]})}return Ne})();const Js={provide:oe,useExisting:(0,i.Gpc)(()=>Ia),multi:!0};let Ia=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ce=>uo(Ce),this.createValidator=Ce=>Ze(Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("max",Zt._enabled?Zt.max:null)},inputs:{max:"max"},features:[i._Bn([Js]),i.qOj]})}return Ne})();const xr={provide:oe,useExisting:(0,i.Gpc)(()=>fa),multi:!0};let fa=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ce=>uo(Ce),this.createValidator=Ce=>gt(Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("min",Zt._enabled?Zt.min:null)},inputs:{min:"min"},features:[i._Bn([xr]),i.qOj]})}return Ne})();const Kl={provide:oe,useExisting:(0,i.Gpc)(()=>io),multi:!0};let io=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=i.VuI,this.createValidator=Ce=>Je}enabled(Ce){return Ce}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("required",Zt._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([Kl]),i.qOj]})}return Ne})();const Lr={provide:oe,useExisting:(0,i.Gpc)(()=>Qs),multi:!0};let Qs=(()=>{class Ne extends Oo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Ce=>function Ji(Ne){return"number"==typeof Ne?Ne:parseInt(Ne,10)}(Ce),this.createValidator=Ce=>Nt(Ce)}static#e=this.\u0275fac=function(){let Ce;return function(Zt){return(Ce||(Ce=i.n5z(Ne)))(Zt||Ne)}}();static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ut,Zt){2&ut&&i.uIk("maxlength",Zt._enabled?Zt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([Lr]),i.qOj]})}return Ne})(),nl=(()=>{class Ne{static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[br]})}return Ne})();class ia extends rr{constructor(ze,Ce,ut){super(Sr(Ce),sn(ut,Ce)),this.controls=ze,this._initObservables(),this._setUpdateStrategy(Ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ze){return this.controls[this._adjustIndex(ze)]}push(ze,Ce={}){this.controls.push(ze),this._registerControl(ze),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}insert(ze,Ce,ut={}){this.controls.splice(ze,0,Ce),this._registerControl(Ce),this.updateValueAndValidity({emitEvent:ut.emitEvent})}removeAt(ze,Ce={}){let ut=this._adjustIndex(ze);ut<0&&(ut=0),this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),this.controls.splice(ut,1),this.updateValueAndValidity({emitEvent:Ce.emitEvent})}setControl(ze,Ce,ut={}){let Zt=this._adjustIndex(ze);Zt<0&&(Zt=0),this.controls[Zt]&&this.controls[Zt]._registerOnCollectionChange(()=>{}),this.controls.splice(Zt,1),Ce&&(this.controls.splice(Zt,0,Ce),this._registerControl(Ce)),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ze,Ce={}){mi(this,0,ze),ze.forEach((ut,Zt)=>{bn(this,!1,Zt),this.at(Zt).setValue(ut,{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce)}patchValue(ze,Ce={}){null!=ze&&(ze.forEach((ut,Zt)=>{this.at(Zt)&&this.at(Zt).patchValue(ut,{onlySelf:!0,emitEvent:Ce.emitEvent})}),this.updateValueAndValidity(Ce))}reset(ze=[],Ce={}){this._forEachChild((ut,Zt)=>{ut.reset(ze[Zt],{onlySelf:!0,emitEvent:Ce.emitEvent})}),this._updatePristine(Ce),this._updateTouched(Ce),this.updateValueAndValidity(Ce)}getRawValue(){return this.controls.map(ze=>ze.getRawValue())}clear(ze={}){this.controls.length<1||(this._forEachChild(Ce=>Ce._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ze.emitEvent}))}_adjustIndex(ze){return ze<0?ze+this.length:ze}_syncPendingControls(){let ze=this.controls.reduce((Ce,ut)=>!!ut._syncPendingControls()||Ce,!1);return ze&&this.updateValueAndValidity({onlySelf:!0}),ze}_forEachChild(ze){this.controls.forEach((Ce,ut)=>{ze(Ce,ut)})}_updateValue(){this.value=this.controls.filter(ze=>ze.enabled||this.disabled).map(ze=>ze.value)}_anyControls(ze){return this.controls.some(Ce=>Ce.enabled&&ze(Ce))}_setUpControls(){this._forEachChild(ze=>this._registerControl(ze))}_allControlsDisabled(){for(const ze of this.controls)if(ze.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ze){ze.setParent(this),ze._registerOnCollectionChange(this._onCollectionChange)}_find(ze){return this.at(ze)??null}}function ml(Ne){return!!Ne&&(void 0!==Ne.asyncValidators||void 0!==Ne.validators||void 0!==Ne.updateOn)}let yl=(()=>{class Ne{constructor(){this.useNonNullable=!1}get nonNullable(){const Ce=new Ne;return Ce.useNonNullable=!0,Ce}group(Ce,ut=null){const Zt=this._reduceControls(Ce);let Yi={};return ml(ut)?Yi=ut:null!==ut&&(Yi.validators=ut.validator,Yi.asyncValidators=ut.asyncValidator),new Ri(Zt,Yi)}record(Ce,ut=null){const Zt=this._reduceControls(Ce);return new Xe(Zt,ut)}control(Ce,ut,Zt){let Yi={};return this.useNonNullable?(ml(ut)?Yi=ut:(Yi.validators=ut,Yi.asyncValidators=Zt),new Tt(Ce,{...Yi,nonNullable:!0})):new Tt(Ce,ut,Zt)}array(Ce,ut,Zt){const Yi=Ce.map(lr=>this._createControl(lr));return new ia(Yi,ut,Zt)}_reduceControls(Ce){const ut={};return Object.keys(Ce).forEach(Zt=>{ut[Zt]=this._createControl(Ce[Zt])}),ut}_createControl(Ce){return Ce instanceof Tt||Ce instanceof rr?Ce:Array.isArray(Ce)?this.control(Ce[0],Ce.length>1?Ce[1]:null,Ce.length>2?Ce[2]:null):this.control(Ce)}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275prov=i.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),_l=(()=>{class Ne{static withConfig(Ce){return{ngModule:Ne,providers:[{provide:ge,useValue:Ce.callSetDisabledState??Ae}]}}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[nl]})}return Ne})(),ya=(()=>{class Ne{static withConfig(Ce){return{ngModule:Ne,providers:[{provide:as,useValue:Ce.warnOnNgModelWithFormControl??"always"},{provide:ge,useValue:Ce.callSetDisabledState??Ae}]}}static#e=this.\u0275fac=function(ut){return new(ut||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[nl]})}return Ne})()},3232:(lt,_e,m)=>{"use strict";m.d(_e,{Dx:()=>ve,H7:()=>Do,b2:()=>Bn,q6:()=>dn,se:()=>Ee});var i=m(755),t=m(6733);class A extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class a extends A{static makeCurrent(){(0,t.HT)(new a)}onAndCancel(sn,Rt,Bt){return sn.addEventListener(Rt,Bt),()=>{sn.removeEventListener(Rt,Bt)}}dispatchEvent(sn,Rt){sn.dispatchEvent(Rt)}remove(sn){sn.parentNode&&sn.parentNode.removeChild(sn)}createElement(sn,Rt){return(Rt=Rt||this.getDefaultDocument()).createElement(sn)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(sn){return sn.nodeType===Node.ELEMENT_NODE}isShadowRoot(sn){return sn instanceof DocumentFragment}getGlobalEventTarget(sn,Rt){return"window"===Rt?window:"document"===Rt?sn:"body"===Rt?sn.body:null}getBaseHref(sn){const Rt=function C(){return y=y||document.querySelector("base"),y?y.getAttribute("href"):null}();return null==Rt?null:function N(Pn){b=b||document.createElement("a"),b.setAttribute("href",Pn);const sn=b.pathname;return"/"===sn.charAt(0)?sn:`/${sn}`}(Rt)}resetBaseElement(){y=null}getUserAgent(){return window.navigator.userAgent}getCookie(sn){return(0,t.Mx)(document.cookie,sn)}}let b,y=null,F=(()=>{class Pn{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const x=new i.OlP("EventManagerPlugins");let H=(()=>{class Pn{constructor(Rt,Bt){this._zone=Bt,this._eventNameToPlugin=new Map,Rt.forEach(bn=>{bn.manager=this}),this._plugins=Rt.slice().reverse()}addEventListener(Rt,Bt,bn){return this._findPluginFor(Bt).addEventListener(Rt,Bt,bn)}getZone(){return this._zone}_findPluginFor(Rt){let Bt=this._eventNameToPlugin.get(Rt);if(Bt)return Bt;if(Bt=this._plugins.find(mi=>mi.supports(Rt)),!Bt)throw new i.vHH(5101,!1);return this._eventNameToPlugin.set(Rt,Bt),Bt}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(x),i.LFG(i.R0b))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();class k{constructor(sn){this._doc=sn}}const P="ng-app-id";let X=(()=>{class Pn{constructor(Rt,Bt,bn,mi={}){this.doc=Rt,this.appId=Bt,this.nonce=bn,this.platformId=mi,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,t.PM)(mi),this.resetHostNodes()}addStyles(Rt){for(const Bt of Rt)1===this.changeUsageCount(Bt,1)&&this.onStyleAdded(Bt)}removeStyles(Rt){for(const Bt of Rt)this.changeUsageCount(Bt,-1)<=0&&this.onStyleRemoved(Bt)}ngOnDestroy(){const Rt=this.styleNodesInDOM;Rt&&(Rt.forEach(Bt=>Bt.remove()),Rt.clear());for(const Bt of this.getAllStyles())this.onStyleRemoved(Bt);this.resetHostNodes()}addHost(Rt){this.hostNodes.add(Rt);for(const Bt of this.getAllStyles())this.addStyleToHost(Rt,Bt)}removeHost(Rt){this.hostNodes.delete(Rt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Rt){for(const Bt of this.hostNodes)this.addStyleToHost(Bt,Rt)}onStyleRemoved(Rt){const Bt=this.styleRef;Bt.get(Rt)?.elements?.forEach(bn=>bn.remove()),Bt.delete(Rt)}collectServerRenderedStyles(){const Rt=this.doc.head?.querySelectorAll(`style[${P}="${this.appId}"]`);if(Rt?.length){const Bt=new Map;return Rt.forEach(bn=>{null!=bn.textContent&&Bt.set(bn.textContent,bn)}),Bt}return null}changeUsageCount(Rt,Bt){const bn=this.styleRef;if(bn.has(Rt)){const mi=bn.get(Rt);return mi.usage+=Bt,mi.usage}return bn.set(Rt,{usage:Bt,elements:[]}),Bt}getStyleElement(Rt,Bt){const bn=this.styleNodesInDOM,mi=bn?.get(Bt);if(mi?.parentNode===Rt)return bn.delete(Bt),mi.removeAttribute(P),mi;{const rr=this.doc.createElement("style");return this.nonce&&rr.setAttribute("nonce",this.nonce),rr.textContent=Bt,this.platformIsServer&&rr.setAttribute(P,this.appId),rr}}addStyleToHost(Rt,Bt){const bn=this.getStyleElement(Rt,Bt);Rt.appendChild(bn);const mi=this.styleRef,rr=mi.get(Bt)?.elements;rr?rr.push(bn):mi.set(Bt,{elements:[bn],usage:1})}resetHostNodes(){const Rt=this.hostNodes;Rt.clear(),Rt.add(this.doc.head)}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0),i.LFG(i.AFp),i.LFG(i.Ojb,8),i.LFG(i.Lbi))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const me={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/"},Oe=/%COMP%/g,J=new i.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ye(Pn,sn){return sn.map(Rt=>Rt.replace(Oe,Pn))}let Ee=(()=>{class Pn{constructor(Rt,Bt,bn,mi,rr,Ri,Ur,mn=null){this.eventManager=Rt,this.sharedStylesHost=Bt,this.appId=bn,this.removeStylesOnCompDestroy=mi,this.doc=rr,this.platformId=Ri,this.ngZone=Ur,this.nonce=mn,this.rendererByCompId=new Map,this.platformIsServer=(0,t.PM)(Ri),this.defaultRenderer=new Ge(Rt,rr,Ur,this.platformIsServer)}createRenderer(Rt,Bt){if(!Rt||!Bt)return this.defaultRenderer;this.platformIsServer&&Bt.encapsulation===i.ifc.ShadowDom&&(Bt={...Bt,encapsulation:i.ifc.Emulated});const bn=this.getOrCreateRenderer(Rt,Bt);return bn instanceof pt?bn.applyToHost(Rt):bn instanceof Qe&&bn.applyStyles(),bn}getOrCreateRenderer(Rt,Bt){const bn=this.rendererByCompId;let mi=bn.get(Bt.id);if(!mi){const rr=this.doc,Ri=this.ngZone,Ur=this.eventManager,mn=this.sharedStylesHost,Xe=this.removeStylesOnCompDestroy,ke=this.platformIsServer;switch(Bt.encapsulation){case i.ifc.Emulated:mi=new pt(Ur,mn,Bt,this.appId,Xe,rr,Ri,ke);break;case i.ifc.ShadowDom:return new tt(Ur,mn,Rt,Bt,rr,Ri,this.nonce,ke);default:mi=new Qe(Ur,mn,Bt,Xe,rr,Ri,ke)}bn.set(Bt.id,mi)}return mi}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(H),i.LFG(X),i.LFG(i.AFp),i.LFG(J),i.LFG(t.K0),i.LFG(i.Lbi),i.LFG(i.R0b),i.LFG(i.Ojb))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();class Ge{constructor(sn,Rt,Bt,bn){this.eventManager=sn,this.doc=Rt,this.ngZone=Bt,this.platformIsServer=bn,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(sn,Rt){return Rt?this.doc.createElementNS(me[Rt]||Rt,sn):this.doc.createElement(sn)}createComment(sn){return this.doc.createComment(sn)}createText(sn){return this.doc.createTextNode(sn)}appendChild(sn,Rt){(Je(sn)?sn.content:sn).appendChild(Rt)}insertBefore(sn,Rt,Bt){sn&&(Je(sn)?sn.content:sn).insertBefore(Rt,Bt)}removeChild(sn,Rt){sn&&sn.removeChild(Rt)}selectRootElement(sn,Rt){let Bt="string"==typeof sn?this.doc.querySelector(sn):sn;if(!Bt)throw new i.vHH(-5104,!1);return Rt||(Bt.textContent=""),Bt}parentNode(sn){return sn.parentNode}nextSibling(sn){return sn.nextSibling}setAttribute(sn,Rt,Bt,bn){if(bn){Rt=bn+":"+Rt;const mi=me[bn];mi?sn.setAttributeNS(mi,Rt,Bt):sn.setAttribute(Rt,Bt)}else sn.setAttribute(Rt,Bt)}removeAttribute(sn,Rt,Bt){if(Bt){const bn=me[Bt];bn?sn.removeAttributeNS(bn,Rt):sn.removeAttribute(`${Bt}:${Rt}`)}else sn.removeAttribute(Rt)}addClass(sn,Rt){sn.classList.add(Rt)}removeClass(sn,Rt){sn.classList.remove(Rt)}setStyle(sn,Rt,Bt,bn){bn&(i.JOm.DashCase|i.JOm.Important)?sn.style.setProperty(Rt,Bt,bn&i.JOm.Important?"important":""):sn.style[Rt]=Bt}removeStyle(sn,Rt,Bt){Bt&i.JOm.DashCase?sn.style.removeProperty(Rt):sn.style[Rt]=""}setProperty(sn,Rt,Bt){sn[Rt]=Bt}setValue(sn,Rt){sn.nodeValue=Rt}listen(sn,Rt,Bt){if("string"==typeof sn&&!(sn=(0,t.q)().getGlobalEventTarget(this.doc,sn)))throw new Error(`Unsupported event target ${sn} for event ${Rt}`);return this.eventManager.addEventListener(sn,Rt,this.decoratePreventDefault(Bt))}decoratePreventDefault(sn){return Rt=>{if("__ngUnwrap__"===Rt)return sn;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>sn(Rt)):sn(Rt))&&Rt.preventDefault()}}}function Je(Pn){return"TEMPLATE"===Pn.tagName&&void 0!==Pn.content}class tt extends Ge{constructor(sn,Rt,Bt,bn,mi,rr,Ri,Ur){super(sn,mi,rr,Ur),this.sharedStylesHost=Rt,this.hostEl=Bt,this.shadowRoot=Bt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const mn=ye(bn.id,bn.styles);for(const Xe of mn){const ke=document.createElement("style");Ri&&ke.setAttribute("nonce",Ri),ke.textContent=Xe,this.shadowRoot.appendChild(ke)}}nodeOrShadowRoot(sn){return sn===this.hostEl?this.shadowRoot:sn}appendChild(sn,Rt){return super.appendChild(this.nodeOrShadowRoot(sn),Rt)}insertBefore(sn,Rt,Bt){return super.insertBefore(this.nodeOrShadowRoot(sn),Rt,Bt)}removeChild(sn,Rt){return super.removeChild(this.nodeOrShadowRoot(sn),Rt)}parentNode(sn){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(sn)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends Ge{constructor(sn,Rt,Bt,bn,mi,rr,Ri,Ur){super(sn,mi,rr,Ri),this.sharedStylesHost=Rt,this.removeStylesOnCompDestroy=bn,this.styles=Ur?ye(Ur,Bt.styles):Bt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class pt extends Qe{constructor(sn,Rt,Bt,bn,mi,rr,Ri,Ur){const mn=bn+"-"+Bt.id;super(sn,Rt,Bt,mi,rr,Ri,Ur,mn),this.contentAttr=function ae(Pn){return"_ngcontent-%COMP%".replace(Oe,Pn)}(mn),this.hostAttr=function oe(Pn){return"_nghost-%COMP%".replace(Oe,Pn)}(mn)}applyToHost(sn){this.applyStyles(),this.setAttribute(sn,this.hostAttr,"")}createElement(sn,Rt){const Bt=super.createElement(sn,Rt);return super.setAttribute(Bt,this.contentAttr,""),Bt}}let Nt=(()=>{class Pn extends k{constructor(Rt){super(Rt)}supports(Rt){return!0}addEventListener(Rt,Bt,bn){return Rt.addEventListener(Bt,bn,!1),()=>this.removeEventListener(Rt,Bt,bn)}removeEventListener(Rt,Bt,bn){return Rt.removeEventListener(Bt,bn)}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const Jt=["alt","control","meta","shift"],nt={"\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"},ot={alt:Pn=>Pn.altKey,control:Pn=>Pn.ctrlKey,meta:Pn=>Pn.metaKey,shift:Pn=>Pn.shiftKey};let Ct=(()=>{class Pn extends k{constructor(Rt){super(Rt)}supports(Rt){return null!=Pn.parseEventName(Rt)}addEventListener(Rt,Bt,bn){const mi=Pn.parseEventName(Bt),rr=Pn.eventCallback(mi.fullKey,bn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(Rt,mi.domEventName,rr))}static parseEventName(Rt){const Bt=Rt.toLowerCase().split("."),bn=Bt.shift();if(0===Bt.length||"keydown"!==bn&&"keyup"!==bn)return null;const mi=Pn._normalizeKey(Bt.pop());let rr="",Ri=Bt.indexOf("code");if(Ri>-1&&(Bt.splice(Ri,1),rr="code."),Jt.forEach(mn=>{const Xe=Bt.indexOf(mn);Xe>-1&&(Bt.splice(Xe,1),rr+=mn+".")}),rr+=mi,0!=Bt.length||0===mi.length)return null;const Ur={};return Ur.domEventName=bn,Ur.fullKey=rr,Ur}static matchEventFullKeyCode(Rt,Bt){let bn=nt[Rt.key]||Rt.key,mi="";return Bt.indexOf("code.")>-1&&(bn=Rt.code,mi="code."),!(null==bn||!bn)&&(bn=bn.toLowerCase()," "===bn?bn="space":"."===bn&&(bn="dot"),Jt.forEach(rr=>{rr!==bn&&(0,ot[rr])(Rt)&&(mi+=rr+".")}),mi+=bn,mi===Bt)}static eventCallback(Rt,Bt,bn){return mi=>{Pn.matchEventFullKeyCode(mi,Rt)&&bn.runGuarded(()=>Bt(mi))}}static _normalizeKey(Rt){return"esc"===Rt?"escape":Rt}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:Pn.\u0275fac})}return Pn})();const dn=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:t.bD},{provide:i.g9A,useValue:function yt(){a.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function xn(){return(0,i.RDi)(document),document},deps:[]}]),qn=new i.OlP(""),di=[{provide:i.rWj,useClass:class j{addToWindow(sn){i.dqk.getAngularTestability=(Bt,bn=!0)=>{const mi=sn.findTestabilityInTree(Bt,bn);if(null==mi)throw new i.vHH(5103,!1);return mi},i.dqk.getAllAngularTestabilities=()=>sn.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>sn.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(Bt=>{const bn=i.dqk.getAllAngularTestabilities();let mi=bn.length,rr=!1;const Ri=function(Ur){rr=rr||Ur,mi--,0==mi&&Bt(rr)};bn.forEach(Ur=>{Ur.whenStable(Ri)})})}findTestabilityInTree(sn,Rt,Bt){return null==Rt?null:sn.getTestability(Rt)??(Bt?(0,t.q)().isShadowRoot(Rt)?this.findTestabilityInTree(sn,Rt.host,!0):this.findTestabilityInTree(sn,Rt.parentElement,!0):null)}},deps:[]},{provide:i.lri,useClass:i.dDg,deps:[i.R0b,i.eoX,i.rWj]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b,i.eoX,i.rWj]}],ir=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Fn(){return new i.qLn},deps:[]},{provide:x,useClass:Nt,multi:!0,deps:[t.K0,i.R0b,i.Lbi]},{provide:x,useClass:Ct,multi:!0,deps:[t.K0]},Ee,X,H,{provide:i.FYo,useExisting:Ee},{provide:t.JF,useClass:F,deps:[]},[]];let Bn=(()=>{class Pn{constructor(Rt){}static withServerTransition(Rt){return{ngModule:Pn,providers:[{provide:i.AFp,useValue:Rt.appId}]}}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(qn,12))};static#t=this.\u0275mod=i.oAB({type:Pn});static#n=this.\u0275inj=i.cJS({providers:[...ir,...di],imports:[t.ez,i.hGG]})}return Pn})(),ve=(()=>{class Pn{constructor(Rt){this._doc=Rt}getTitle(){return this._doc.title}setTitle(Rt){this._doc.title=Rt||""}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:function(Bt){let bn=null;return bn=Bt?new Bt:function Ot(){return new ve((0,i.LFG)(t.K0))}(),bn},providedIn:"root"})}return Pn})();typeof window<"u"&&window;let Do=(()=>{class Pn{static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:function(Bt){let bn=null;return bn=Bt?new(Bt||Pn):i.LFG(Ls),bn},providedIn:"root"})}return Pn})(),Ls=(()=>{class Pn extends Do{constructor(Rt){super(),this._doc=Rt}sanitize(Rt,Bt){if(null==Bt)return null;switch(Rt){case i.q3G.NONE:return Bt;case i.q3G.HTML:return(0,i.qzn)(Bt,"HTML")?(0,i.z3N)(Bt):(0,i.EiD)(this._doc,String(Bt)).toString();case i.q3G.STYLE:return(0,i.qzn)(Bt,"Style")?(0,i.z3N)(Bt):Bt;case i.q3G.SCRIPT:if((0,i.qzn)(Bt,"Script"))return(0,i.z3N)(Bt);throw new i.vHH(5200,!1);case i.q3G.URL:return(0,i.qzn)(Bt,"URL")?(0,i.z3N)(Bt):(0,i.mCW)(String(Bt));case i.q3G.RESOURCE_URL:if((0,i.qzn)(Bt,"ResourceURL"))return(0,i.z3N)(Bt);throw new i.vHH(5201,!1);default:throw new i.vHH(5202,!1)}}bypassSecurityTrustHtml(Rt){return(0,i.JVY)(Rt)}bypassSecurityTrustStyle(Rt){return(0,i.L6k)(Rt)}bypassSecurityTrustScript(Rt){return(0,i.eBb)(Rt)}bypassSecurityTrustUrl(Rt){return(0,i.LAX)(Rt)}bypassSecurityTrustResourceUrl(Rt){return(0,i.pB0)(Rt)}static#e=this.\u0275fac=function(Bt){return new(Bt||Pn)(i.LFG(t.K0))};static#t=this.\u0275prov=i.Yz7({token:Pn,factory:function(Bt){let bn=null;return bn=Bt?new Bt:function Ms(Pn){return new Ls(Pn.get(t.K0))}(i.LFG(i.zs3)),bn},providedIn:"root"})}return Pn})()},5579:(lt,_e,m)=>{"use strict";m.d(_e,{gz:()=>dr,F0:()=>po,rH:()=>xl,Od:()=>Xl,Bz:()=>jc,lC:()=>Rn});var i=m(755),t=m(8132),A=m(3649),y=m(3489),C=m(1209),b=m(6424),N=m(6632),j=m(9401),F=m(5993),x=m(8197),H=m(2713),k=m(134),P=m(3224);function X(...E){const v=(0,x.yG)(E),M=(0,x.jO)(E),{args:W,keys:ue}=(0,N.D)(E);if(0===W.length)return(0,y.D)([],v);const be=new t.y(function me(E,v,M=j.y){return W=>{Oe(v,()=>{const{length:ue}=E,be=new Array(ue);let et=ue,q=ue;for(let U=0;U{const Y=(0,y.D)(E[U],v);let ne=!1;Y.subscribe((0,k.x)(W,pe=>{be[U]=pe,ne||(ne=!0,q--),q||W.next(M(be.slice()))},()=>{--et||W.complete()}))},W)},W)}}(W,v,ue?et=>(0,H.n)(ue,et):j.y));return M?be.pipe((0,F.Z)(M)):be}function Oe(E,v,M){E?(0,P.f)(M,E,v):v()}var Se=m(7998),wt=m(5623),K=m(3562),V=m(2222),J=m(1960),ae=m(453),oe=m(902),ye=m(6142);function Ee(){return(0,ye.e)((E,v)=>{let M=null;E._refCount++;const W=(0,k.x)(v,void 0,void 0,void 0,()=>{if(!E||E._refCount<=0||0<--E._refCount)return void(M=null);const ue=E._connection,be=M;M=null,ue&&(!be||ue===be)&&ue.unsubscribe(),v.unsubscribe()});E.subscribe(W),W.closed||(M=E.connect())})}class Ge extends t.y{constructor(v,M){super(),this.source=v,this.subjectFactory=M,this._subject=null,this._refCount=0,this._connection=null,(0,ye.A)(v)&&(this.lift=v.lift)}_subscribe(v){return this.getSubject().subscribe(v)}getSubject(){const v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:v}=this;this._subject=this._connection=null,v?.unsubscribe()}connect(){let v=this._connection;if(!v){v=this._connection=new oe.w0;const M=this.getSubject();v.add(this.source.subscribe((0,k.x)(M,void 0,()=>{this._teardown(),M.complete()},W=>{this._teardown(),M.error(W)},()=>this._teardown()))),v.closed&&(this._connection=null,v=oe.w0.EMPTY)}return v}refCount(){return Ee()(this)}}var gt=m(8748),Ze=m(6733),Je=m(2425),tt=m(4787),Qe=m(1813),pt=m(3843),Nt=m(5333),Jt=m(9342),nt=m(6121),ot=m(109),Ct=m(1570),He=m(7560);var hn=m(407);function yt(E){return E<=0?()=>ae.E:(0,ye.e)((v,M)=>{let W=[];v.subscribe((0,k.x)(M,ue=>{W.push(ue),E{for(const ue of W)M.next(ue);M.complete()},void 0,()=>{W=null}))})}var Fn=m(6261),In=m(7376),dn=m(6293),qn=m(1749),di=m(2605),ir=m(3232);const Bn="primary",xi=Symbol("RouteTitle");class fi{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const M=this.params[v];return Array.isArray(M)?M[0]:M}return null}getAll(v){if(this.has(v)){const M=this.params[v];return Array.isArray(M)?M:[M]}return[]}get keys(){return Object.keys(this.params)}}function Mt(E){return new fi(E)}function Ot(E,v,M){const W=M.path.split("/");if(W.length>E.length||"full"===M.pathMatch&&(v.hasChildren()||W.lengthW[be]===ue)}return E===v}function Ye(E){return E.length>0?E[E.length-1]:null}function xt(E){return function a(E){return!!E&&(E instanceof t.y||(0,A.m)(E.lift)&&(0,A.m)(E.subscribe))}(E)?E:(0,i.QGY)(E)?(0,y.D)(Promise.resolve(E)):(0,C.of)(E)}const cn={exact:function Qt(E,v,M){if(!Ms(E.segments,v.segments)||!co(E.segments,v.segments,M)||E.numberOfChildren!==v.numberOfChildren)return!1;for(const W in v.children)if(!E.children[W]||!Qt(E.children[W],v.children[W],M))return!1;return!0},subset:ta},Kn={exact:function gs(E,v){return De(E,v)},subset:function ki(E,v){return Object.keys(v).length<=Object.keys(E).length&&Object.keys(v).every(M=>xe(E[M],v[M]))},ignored:()=>!0};function An(E,v,M){return cn[M.paths](E.root,v.root,M.matrixParams)&&Kn[M.queryParams](E.queryParams,v.queryParams)&&!("exact"===M.fragment&&E.fragment!==v.fragment)}function ta(E,v,M){return Pi(E,v,v.segments,M)}function Pi(E,v,M,W){if(E.segments.length>M.length){const ue=E.segments.slice(0,M.length);return!(!Ms(ue,M)||v.hasChildren()||!co(ue,M,W))}if(E.segments.length===M.length){if(!Ms(E.segments,M)||!co(E.segments,M,W))return!1;for(const ue in v.children)if(!E.children[ue]||!ta(E.children[ue],v.children[ue],W))return!1;return!0}{const ue=M.slice(0,E.segments.length),be=M.slice(E.segments.length);return!!(Ms(E.segments,ue)&&co(E.segments,ue,W)&&E.children[Bn])&&Pi(E.children[Bn],v,be,W)}}function co(E,v,M){return v.every((W,ue)=>Kn[M](E[ue].parameters,W.parameters))}class Or{constructor(v=new Dr([],{}),M={},W=null){this.root=v,this.queryParams=M,this.fragment=W}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return Pt.serialize(this)}}class Dr{constructor(v,M){this.segments=v,this.children=M,this.parent=null,Object.values(M).forEach(W=>W.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ln(this)}}class bs{constructor(v,M){this.path=v,this.parameters=M}get parameterMap(){return this._parameterMap||(this._parameterMap=Mt(this.parameters)),this._parameterMap}toString(){return Bt(this)}}function Ms(E,v){return E.length===v.length&&E.every((M,W)=>M.path===v[W].path)}let On=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return new mr},providedIn:"root"})}return E})();class mr{parse(v){const M=new it(v);return new Or(M.parseRootSegment(),M.parseQueryParams(),M.parseFragment())}serialize(v){const M=`/${Yt(v.root,!0)}`,W=function mi(E){const v=Object.keys(E).map(M=>{const W=E[M];return Array.isArray(W)?W.map(ue=>`${Qr(M)}=${Qr(ue)}`).join("&"):`${Qr(M)}=${Qr(W)}`}).filter(M=>!!M);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${M}${W}${"string"==typeof v.fragment?`#${function Sr(E){return encodeURI(E)}(v.fragment)}`:""}`}}const Pt=new mr;function ln(E){return E.segments.map(v=>Bt(v)).join("/")}function Yt(E,v){if(!E.hasChildren())return ln(E);if(v){const M=E.children[Bn]?Yt(E.children[Bn],!1):"",W=[];return Object.entries(E.children).forEach(([ue,be])=>{ue!==Bn&&W.push(`${ue}:${Yt(be,!1)}`)}),W.length>0?`${M}(${W.join("//")})`:M}{const M=function Ls(E,v){let M=[];return Object.entries(E.children).forEach(([W,ue])=>{W===Bn&&(M=M.concat(v(ue,W)))}),Object.entries(E.children).forEach(([W,ue])=>{W!==Bn&&(M=M.concat(v(ue,W)))}),M}(E,(W,ue)=>ue===Bn?[Yt(E.children[Bn],!1)]:[`${ue}:${Yt(W,!1)}`]);return 1===Object.keys(E.children).length&&null!=E.children[Bn]?`${ln(E)}/${M[0]}`:`${ln(E)}/(${M.join("//")})`}}function li(E){return encodeURIComponent(E).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qr(E){return li(E).replace(/%3B/gi,";")}function Pn(E){return li(E).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function sn(E){return decodeURIComponent(E)}function Rt(E){return sn(E.replace(/\+/g,"%20"))}function Bt(E){return`${Pn(E.path)}${function bn(E){return Object.keys(E).map(v=>`;${Pn(v)}=${Pn(E[v])}`).join("")}(E.parameters)}`}const rr=/^[^\/()?;#]+/;function Ri(E){const v=E.match(rr);return v?v[0]:""}const Ur=/^[^\/()?;=#]+/,Xe=/^[^=?&#]+/,ge=/^[^&#]+/;class it{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dr([],{}):new Dr([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let M={};this.peekStartsWith("/(")&&(this.capture("/"),M=this.parseParens(!0));let W={};return this.peekStartsWith("(")&&(W=this.parseParens(!1)),(v.length>0||Object.keys(M).length>0)&&(W[Bn]=new Dr(v,M)),W}parseSegment(){const v=Ri(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new i.vHH(4009,!1);return this.capture(v),new bs(sn(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const M=function mn(E){const v=E.match(Ur);return v?v[0]:""}(this.remaining);if(!M)return;this.capture(M);let W="";if(this.consumeOptional("=")){const ue=Ri(this.remaining);ue&&(W=ue,this.capture(W))}v[sn(M)]=sn(W)}parseQueryParam(v){const M=function ke(E){const v=E.match(Xe);return v?v[0]:""}(this.remaining);if(!M)return;this.capture(M);let W="";if(this.consumeOptional("=")){const et=function Ae(E){const v=E.match(ge);return v?v[0]:""}(this.remaining);et&&(W=et,this.capture(W))}const ue=Rt(M),be=Rt(W);if(v.hasOwnProperty(ue)){let et=v[ue];Array.isArray(et)||(et=[et],v[ue]=et),et.push(be)}else v[ue]=be}parseParens(v){const M={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const W=Ri(this.remaining),ue=this.remaining[W.length];if("/"!==ue&&")"!==ue&&";"!==ue)throw new i.vHH(4010,!1);let be;W.indexOf(":")>-1?(be=W.slice(0,W.indexOf(":")),this.capture(be),this.capture(":")):v&&(be=Bn);const et=this.parseChildren();M[be]=1===Object.keys(et).length?et[Bn]:new Dr([],et),this.consumeOptional("//")}return M}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new i.vHH(4011,!1)}}function Ht(E){return E.segments.length>0?new Dr([],{[Bn]:E}):E}function Kt(E){const v={};for(const W of Object.keys(E.children)){const be=Kt(E.children[W]);if(W===Bn&&0===be.segments.length&&be.hasChildren())for(const[et,q]of Object.entries(be.children))v[et]=q;else(be.segments.length>0||be.hasChildren())&&(v[W]=be)}return function yn(E){if(1===E.numberOfChildren&&E.children[Bn]){const v=E.children[Bn];return new Dr(E.segments.concat(v.segments),v.children)}return E}(new Dr(E.segments,v))}function Tn(E){return E instanceof Or}function nn(E){let v;const ue=Ht(function M(be){const et={};for(const U of be.children){const Y=M(U);et[U.outlet]=Y}const q=new Dr(be.url,et);return be===E&&(v=q),q}(E.root));return v??ue}function Ti(E,v,M,W){let ue=E;for(;ue.parent;)ue=ue.parent;if(0===v.length)return ss(ue,ue,ue,M,W);const be=function yr(E){if("string"==typeof E[0]&&1===E.length&&"/"===E[0])return new Ki(!0,0,E);let v=0,M=!1;const W=E.reduce((ue,be,et)=>{if("object"==typeof be&&null!=be){if(be.outlets){const q={};return Object.entries(be.outlets).forEach(([U,Y])=>{q[U]="string"==typeof Y?Y.split("/"):Y}),[...ue,{outlets:q}]}if(be.segmentPath)return[...ue,be.segmentPath]}return"string"!=typeof be?[...ue,be]:0===et?(be.split("/").forEach((q,U)=>{0==U&&"."===q||(0==U&&""===q?M=!0:".."===q?v++:""!=q&&ue.push(q))}),ue):[...ue,be]},[]);return new Ki(M,v,W)}(v);if(be.toRoot())return ss(ue,ue,new Dr([],{}),M,W);const et=function xs(E,v,M){if(E.isAbsolute)return new jr(v,!0,0);if(!M)return new jr(v,!1,NaN);if(null===M.parent)return new jr(M,!0,0);const W=yi(E.commands[0])?0:1;return function Co(E,v,M){let W=E,ue=v,be=M;for(;be>ue;){if(be-=ue,W=W.parent,!W)throw new i.vHH(4005,!1);ue=W.segments.length}return new jr(W,!1,ue-be)}(M,M.segments.length-1+W,E.numberOfDoubleDots)}(be,ue,E),q=et.processChildren?To(et.segmentGroup,et.index,be.commands):Nr(et.segmentGroup,et.index,be.commands);return ss(ue,et.segmentGroup,q,M,W)}function yi(E){return"object"==typeof E&&null!=E&&!E.outlets&&!E.segmentPath}function Hr(E){return"object"==typeof E&&null!=E&&E.outlets}function ss(E,v,M,W,ue){let et,be={};W&&Object.entries(W).forEach(([U,Y])=>{be[U]=Array.isArray(Y)?Y.map(ne=>`${ne}`):`${Y}`}),et=E===v?M:wr(E,v,M);const q=Ht(Kt(et));return new Or(q,be,ue)}function wr(E,v,M){const W={};return Object.entries(E.children).forEach(([ue,be])=>{W[ue]=be===v?M:wr(be,v,M)}),new Dr(E.segments,W)}class Ki{constructor(v,M,W){if(this.isAbsolute=v,this.numberOfDoubleDots=M,this.commands=W,v&&W.length>0&&yi(W[0]))throw new i.vHH(4003,!1);const ue=W.find(Hr);if(ue&&ue!==Ye(W))throw new i.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class jr{constructor(v,M,W){this.segmentGroup=v,this.processChildren=M,this.index=W}}function Nr(E,v,M){if(E||(E=new Dr([],{})),0===E.segments.length&&E.hasChildren())return To(E,v,M);const W=function Bs(E,v,M){let W=0,ue=v;const be={match:!1,pathIndex:0,commandIndex:0};for(;ue=M.length)return be;const et=E.segments[ue],q=M[W];if(Hr(q))break;const U=`${q}`,Y=W0&&void 0===U)break;if(U&&Y&&"object"==typeof Y&&void 0===Y.outlets){if(!Ps(U,Y,et))return be;W+=2}else{if(!Ps(U,{},et))return be;W++}ue++}return{match:!0,pathIndex:ue,commandIndex:W}}(E,v,M),ue=M.slice(W.commandIndex);if(W.match&&W.pathIndexbe!==Bn)&&E.children[Bn]&&1===E.numberOfChildren&&0===E.children[Bn].segments.length){const be=To(E.children[Bn],v,M);return new Dr(E.segments,be.children)}return Object.entries(W).forEach(([be,et])=>{"string"==typeof et&&(et=[et]),null!==et&&(ue[be]=Nr(E.children[be],v,et))}),Object.entries(E.children).forEach(([be,et])=>{void 0===W[be]&&(ue[be]=et)}),new Dr(E.segments,ue)}}function Eo(E,v,M){const W=E.segments.slice(0,v);let ue=0;for(;ue{"string"==typeof W&&(W=[W]),null!==W&&(v[M]=Eo(new Dr([],{}),0,W))}),v}function Ra(E){const v={};return Object.entries(E).forEach(([M,W])=>v[M]=`${W}`),v}function Ps(E,v,M){return E==M.path&&De(v,M.parameters)}const Ds="imperative";class St{constructor(v,M){this.id=v,this.url=M}}class En extends St{constructor(v,M,W="imperative",ue=null){super(v,M),this.type=0,this.navigationTrigger=W,this.restoredState=ue}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dt extends St{constructor(v,M,W){super(v,M),this.urlAfterRedirects=W,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Tt extends St{constructor(v,M,W,ue){super(v,M),this.reason=W,this.code=ue,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class un extends St{constructor(v,M,W,ue){super(v,M),this.reason=W,this.code=ue,this.type=16}}class Yn extends St{constructor(v,M,W,ue){super(v,M),this.error=W,this.target=ue,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ui extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gi extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _r extends St{constructor(v,M,W,ue,be){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.shouldActivate=be,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class us extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class So extends St{constructor(v,M,W,ue){super(v,M),this.urlAfterRedirects=W,this.state=ue,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fo{constructor(v){this.route=v,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ks{constructor(v){this.route=v,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class na{constructor(v){this.snapshot=v,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _s{constructor(v){this.snapshot=v,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ko{constructor(v){this.snapshot=v,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class da{constructor(v){this.snapshot=v,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wa{constructor(v,M,W){this.routerEvent=v,this.position=M,this.anchor=W,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class er{}class Cr{constructor(v){this.url=v}}class br{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ds,this.attachRef=null}}let ds=(()=>{class E{constructor(){this.contexts=new Map}onChildOutletCreated(M,W){const ue=this.getOrCreateContext(M);ue.outlet=W,this.contexts.set(M,ue)}onChildOutletDestroyed(M){const W=this.getContext(M);W&&(W.outlet=null,W.attachRef=null)}onOutletDeactivated(){const M=this.contexts;return this.contexts=new Map,M}onOutletReAttached(M){this.contexts=M}getOrCreateContext(M){let W=this.getContext(M);return W||(W=new br,this.contexts.set(M,W)),W}getContext(M){return this.contexts.get(M)||null}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();class Yo{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const M=this.pathFromRoot(v);return M.length>1?M[M.length-2]:null}children(v){const M=gl(v,this._root);return M?M.children.map(W=>W.value):[]}firstChild(v){const M=gl(v,this._root);return M&&M.children.length>0?M.children[0].value:null}siblings(v){const M=ha(v,this._root);return M.length<2?[]:M[M.length-2].children.map(ue=>ue.value).filter(ue=>ue!==v)}pathFromRoot(v){return ha(v,this._root).map(M=>M.value)}}function gl(E,v){if(E===v.value)return v;for(const M of v.children){const W=gl(E,M);if(W)return W}return null}function ha(E,v){if(E===v.value)return[v];for(const M of v.children){const W=ha(E,M);if(W.length)return W.unshift(v),W}return[]}class as{constructor(v,M){this.value=v,this.children=M}toString(){return`TreeNode(${this.value})`}}function Na(E){const v={};return E&&E.children.forEach(M=>v[M.value.outlet]=M),v}class Ma extends Yo{constructor(v,M){super(v),this.snapshot=M,Vr(this,v)}toString(){return this.snapshot.toString()}}function Fi(E,v){const M=function _i(E,v){const et=new Ho([],{},{},"",{},Bn,v,null,{});return new no("",new as(et,[]))}(0,v),W=new b.X([new bs("",{})]),ue=new b.X({}),be=new b.X({}),et=new b.X({}),q=new b.X(""),U=new dr(W,ue,et,q,be,Bn,v,M.root);return U.snapshot=M.root,new Ma(new as(U,[]),M)}class dr{constructor(v,M,W,ue,be,et,q,U){this.urlSubject=v,this.paramsSubject=M,this.queryParamsSubject=W,this.fragmentSubject=ue,this.dataSubject=be,this.outlet=et,this.component=q,this._futureSnapshot=U,this.title=this.dataSubject?.pipe((0,Je.U)(Y=>Y[xi]))??(0,C.of)(void 0),this.url=v,this.params=M,this.queryParams=W,this.fragment=ue,this.data=be}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((0,Je.U)(v=>Mt(v)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Je.U)(v=>Mt(v)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $r(E,v="emptyOnly"){const M=E.pathFromRoot;let W=0;if("always"!==v)for(W=M.length-1;W>=1;){const ue=M[W],be=M[W-1];if(ue.routeConfig&&""===ue.routeConfig.path)W--;else{if(be.component)break;W--}}return function Fr(E){return E.reduce((v,M)=>({params:{...v.params,...M.params},data:{...v.data,...M.data},resolve:{...M.data,...v.resolve,...M.routeConfig?.data,...M._resolvedData}}),{params:{},data:{},resolve:{}})}(M.slice(W))}class Ho{get title(){return this.data?.[xi]}constructor(v,M,W,ue,be,et,q,U,Y){this.url=v,this.params=M,this.queryParams=W,this.fragment=ue,this.data=be,this.outlet=et,this.component=q,this.routeConfig=U,this._resolve=Y}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=Mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(W=>W.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class no extends Yo{constructor(v,M){super(M),this.url=v,Vr(this,M)}toString(){return os(this._root)}}function Vr(E,v){v.value._routerState=E,v.children.forEach(M=>Vr(E,M))}function os(E){const v=E.children.length>0?` { ${E.children.map(os).join(", ")} } `:"";return`${E.value}${v}`}function $o(E){if(E.snapshot){const v=E.snapshot,M=E._futureSnapshot;E.snapshot=M,De(v.queryParams,M.queryParams)||E.queryParamsSubject.next(M.queryParams),v.fragment!==M.fragment&&E.fragmentSubject.next(M.fragment),De(v.params,M.params)||E.paramsSubject.next(M.params),function ve(E,v){if(E.length!==v.length)return!1;for(let M=0;MDe(M.parameters,v[W].parameters))}(E.url,v.url);return M&&!(!E.parent!=!v.parent)&&(!E.parent||Ko(E.parent,v.parent))}let Rn=(()=>{class E{constructor(){this.activated=null,this._activatedRoute=null,this.name=Bn,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(ds),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb),this.inputBinder=(0,i.f3M)(Aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(M){if(M.name){const{firstChange:W,previousValue:ue}=M.name;if(W)return;this.isTrackedInParentContexts(ue)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ue)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(M){return this.parentContexts.getContext(M)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const M=this.parentContexts.getContext(this.name);M?.route&&(M.attachRef?this.attach(M.attachRef,M.route):this.activateWith(M.route,M.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,!1);this.location.detach();const M=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(M.instance),M}attach(M,W){this.activated=M,this._activatedRoute=W,this.location.insert(M.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(M.instance)}deactivate(){if(this.activated){const M=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(M)}}activateWith(M,W){if(this.isActivated)throw new i.vHH(4013,!1);this._activatedRoute=M;const ue=this.location,et=M.snapshot.component,q=this.parentContexts.getOrCreateContext(this.name).children,U=new Mo(M,q,ue.injector);this.activated=ue.createComponent(et,{index:ue.length,injector:U,environmentInjector:W??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275dir=i.lG2({type:E,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]})}return E})();class Mo{constructor(v,M,W){this.route=v,this.childContexts=M,this.parent=W}get(v,M){return v===dr?this.route:v===ds?this.childContexts:this.parent.get(v,M)}}const Aa=new i.OlP("");let Xr=(()=>{class E{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(M){this.unsubscribeFromRouteData(M),this.subscribeToRouteData(M)}unsubscribeFromRouteData(M){this.outletDataSubscriptions.get(M)?.unsubscribe(),this.outletDataSubscriptions.delete(M)}subscribeToRouteData(M){const{activatedRoute:W}=M,ue=X([W.queryParams,W.params,W.data]).pipe((0,tt.w)(([be,et,q],U)=>(q={...be,...et,...q},0===U?(0,C.of)(q):Promise.resolve(q)))).subscribe(be=>{if(!M.isActivated||!M.activatedComponentRef||M.activatedRoute!==W||null===W.component)return void this.unsubscribeFromRouteData(M);const et=(0,i.qFp)(W.component);if(et)for(const{templateName:q}of et.inputs)M.activatedComponentRef.setInput(q,be[q]);else this.unsubscribeFromRouteData(M)});this.outletDataSubscriptions.set(M,ue)}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac})}return E})();function Us(E,v,M){if(M&&E.shouldReuseRoute(v.value,M.value.snapshot)){const W=M.value;W._futureSnapshot=v.value;const ue=function Rs(E,v,M){return v.children.map(W=>{for(const ue of M.children)if(E.shouldReuseRoute(W.value,ue.value.snapshot))return Us(E,W,ue);return Us(E,W)})}(E,v,M);return new as(W,ue)}{if(E.shouldAttach(v.value)){const be=E.retrieve(v.value);if(null!==be){const et=be.route;return et.value._futureSnapshot=v.value,et.children=v.children.map(q=>Us(E,q)),et}}const W=function Mr(E){return new dr(new b.X(E.url),new b.X(E.params),new b.X(E.queryParams),new b.X(E.fragment),new b.X(E.data),E.outlet,E.component,E)}(v.value),ue=v.children.map(be=>Us(E,be));return new as(W,ue)}}const Zr="ngNavigationCancelingError";function Ji(E,v){const{redirectTo:M,navigationBehaviorOptions:W}=Tn(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,ue=uo(!1,0,v);return ue.url=M,ue.navigationBehaviorOptions=W,ue}function uo(E,v,M){const W=new Error("NavigationCancelingError: "+(E||""));return W[Zr]=!0,W.cancellationCode=v,M&&(W.url=M),W}function Js(E){return E&&E[Zr]}let Ia=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275cmp=i.Xpm({type:E,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(W,ue){1&W&&i._UZ(0,"router-outlet")},dependencies:[Rn],encapsulation:2})}return E})();function pl(E){const v=E.children&&E.children.map(pl),M=v?{...E,children:v}:{...E};return!M.component&&!M.loadComponent&&(v||M.loadChildren)&&M.outlet&&M.outlet!==Bn&&(M.component=Ia),M}function Lr(E){return E.outlet||Bn}function Hs(E){if(!E)return null;if(E.routeConfig?._injector)return E.routeConfig._injector;for(let v=E.parent;v;v=v.parent){const M=v.routeConfig;if(M?._loadedInjector)return M._loadedInjector;if(M?._injector)return M._injector}return null}class jo{constructor(v,M,W,ue,be){this.routeReuseStrategy=v,this.futureState=M,this.currState=W,this.forwardEvent=ue,this.inputBindingEnabled=be}activate(v){const M=this.futureState._root,W=this.currState?this.currState._root:null;this.deactivateChildRoutes(M,W,v),$o(this.futureState.root),this.activateChildRoutes(M,W,v)}deactivateChildRoutes(v,M,W){const ue=Na(M);v.children.forEach(be=>{const et=be.value.outlet;this.deactivateRoutes(be,ue[et],W),delete ue[et]}),Object.values(ue).forEach(be=>{this.deactivateRouteAndItsChildren(be,W)})}deactivateRoutes(v,M,W){const ue=v.value,be=M?M.value:null;if(ue===be)if(ue.component){const et=W.getContext(ue.outlet);et&&this.deactivateChildRoutes(v,M,et.children)}else this.deactivateChildRoutes(v,M,W);else be&&this.deactivateRouteAndItsChildren(M,W)}deactivateRouteAndItsChildren(v,M){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,M):this.deactivateRouteAndOutlet(v,M)}detachAndStoreRouteSubtree(v,M){const W=M.getContext(v.value.outlet),ue=W&&v.value.component?W.children:M,be=Na(v);for(const et of Object.keys(be))this.deactivateRouteAndItsChildren(be[et],ue);if(W&&W.outlet){const et=W.outlet.detach(),q=W.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:et,route:v,contexts:q})}}deactivateRouteAndOutlet(v,M){const W=M.getContext(v.value.outlet),ue=W&&v.value.component?W.children:M,be=Na(v);for(const et of Object.keys(be))this.deactivateRouteAndItsChildren(be[et],ue);W&&(W.outlet&&(W.outlet.deactivate(),W.children.onOutletDeactivated()),W.attachRef=null,W.route=null)}activateChildRoutes(v,M,W){const ue=Na(M);v.children.forEach(be=>{this.activateRoutes(be,ue[be.value.outlet],W),this.forwardEvent(new da(be.value.snapshot))}),v.children.length&&this.forwardEvent(new _s(v.value.snapshot))}activateRoutes(v,M,W){const ue=v.value,be=M?M.value:null;if($o(ue),ue===be)if(ue.component){const et=W.getOrCreateContext(ue.outlet);this.activateChildRoutes(v,M,et.children)}else this.activateChildRoutes(v,M,W);else if(ue.component){const et=W.getOrCreateContext(ue.outlet);if(this.routeReuseStrategy.shouldAttach(ue.snapshot)){const q=this.routeReuseStrategy.retrieve(ue.snapshot);this.routeReuseStrategy.store(ue.snapshot,null),et.children.onOutletReAttached(q.contexts),et.attachRef=q.componentRef,et.route=q.route.value,et.outlet&&et.outlet.attach(q.componentRef,q.route.value),$o(q.route.value),this.activateChildRoutes(v,null,et.children)}else{const q=Hs(ue.snapshot);et.attachRef=null,et.route=ue,et.injector=q,et.outlet&&et.outlet.activateWith(ue,et.injector),this.activateChildRoutes(v,null,et.children)}}else this.activateChildRoutes(v,null,W)}}class Sa{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class nl{constructor(v,M){this.component=v,this.route=M}}function ia(E,v,M){const W=E._root;return ml(W,v?v._root:null,M,[W.value])}function ka(E,v){const M=Symbol(),W=v.get(E,M);return W===M?"function"!=typeof E||(0,i.Z0I)(E)?v.get(E):E:W}function ml(E,v,M,W,ue={canDeactivateChecks:[],canActivateChecks:[]}){const be=Na(v);return E.children.forEach(et=>{(function yl(E,v,M,W,ue={canDeactivateChecks:[],canActivateChecks:[]}){const be=E.value,et=v?v.value:null,q=M?M.getContext(E.value.outlet):null;if(et&&be.routeConfig===et.routeConfig){const U=function Bc(E,v,M){if("function"==typeof M)return M(E,v);switch(M){case"pathParamsChange":return!Ms(E.url,v.url);case"pathParamsOrQueryParamsChange":return!Ms(E.url,v.url)||!De(E.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ko(E,v)||!De(E.queryParams,v.queryParams);default:return!Ko(E,v)}}(et,be,be.routeConfig.runGuardsAndResolvers);U?ue.canActivateChecks.push(new Sa(W)):(be.data=et.data,be._resolvedData=et._resolvedData),ml(E,v,be.component?q?q.children:null:M,W,ue),U&&q&&q.outlet&&q.outlet.isActivated&&ue.canDeactivateChecks.push(new nl(q.outlet.component,et))}else et&&il(v,q,ue),ue.canActivateChecks.push(new Sa(W)),ml(E,null,be.component?q?q.children:null:M,W,ue)})(et,be[et.value.outlet],M,W.concat([et.value]),ue),delete be[et.value.outlet]}),Object.entries(be).forEach(([et,q])=>il(q,M.getContext(et),ue)),ue}function il(E,v,M){const W=Na(E),ue=E.value;Object.entries(W).forEach(([be,et])=>{il(et,ue.component?v?v.children.getContext(be):null:v,M)}),M.canDeactivateChecks.push(new nl(ue.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,ue))}function As(E){return"function"==typeof E}function lr(E){return E instanceof Se.K||"EmptyError"===E?.name}const ro=Symbol("INITIAL_VALUE");function Xs(){return(0,tt.w)(E=>X(E.map(v=>v.pipe((0,Qe.q)(1),(0,pt.O)(ro)))).pipe((0,Je.U)(v=>{for(const M of v)if(!0!==M){if(M===ro)return ro;if(!1===M||M instanceof Or)return M}return!0}),(0,Nt.h)(v=>v!==ro),(0,Qe.q)(1)))}function ba(E){return(0,V.z)((0,Ct.b)(v=>{if(Tn(v))throw Ji(0,v)}),(0,Je.U)(v=>!0===v))}class Fa{constructor(v){this.segmentGroup=v||null}}class so{constructor(v){this.urlTree=v}}function Vs(E){return(0,J._)(new Fa(E))}function Vn(E){return(0,J._)(new so(E))}class ai{constructor(v,M){this.urlSerializer=v,this.urlTree=M}noMatchError(v){return new i.vHH(4002,!1)}lineralizeSegments(v,M){let W=[],ue=M.root;for(;;){if(W=W.concat(ue.segments),0===ue.numberOfChildren)return(0,C.of)(W);if(ue.numberOfChildren>1||!ue.children[Bn])return(0,J._)(new i.vHH(4e3,!1));ue=ue.children[Bn]}}applyRedirectCommands(v,M,W){return this.applyRedirectCreateUrlTree(M,this.urlSerializer.parse(M),v,W)}applyRedirectCreateUrlTree(v,M,W,ue){const be=this.createSegmentGroup(v,M.root,W,ue);return new Or(be,this.createQueryParams(M.queryParams,this.urlTree.queryParams),M.fragment)}createQueryParams(v,M){const W={};return Object.entries(v).forEach(([ue,be])=>{if("string"==typeof be&&be.startsWith(":")){const q=be.substring(1);W[ue]=M[q]}else W[ue]=be}),W}createSegmentGroup(v,M,W,ue){const be=this.createSegments(v,M.segments,W,ue);let et={};return Object.entries(M.children).forEach(([q,U])=>{et[q]=this.createSegmentGroup(v,U,W,ue)}),new Dr(be,et)}createSegments(v,M,W,ue){return M.map(be=>be.path.startsWith(":")?this.findPosParam(v,be,ue):this.findOrReturn(be,W))}findPosParam(v,M,W){const ue=W[M.path.substring(1)];if(!ue)throw new i.vHH(4001,!1);return ue}findOrReturn(v,M){let W=0;for(const ue of M){if(ue.path===v.path)return M.splice(W),ue;W++}return v}}const Nl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Oc(E,v,M,W,ue){const be=sl(E,v,M);return be.matched?(W=function xr(E,v){return E.providers&&!E._injector&&(E._injector=(0,i.MMx)(E.providers,v,`Route: ${E.path}`)),E._injector??v}(v,W),function Jl(E,v,M,W){const ue=v.canMatch;if(!ue||0===ue.length)return(0,C.of)(!0);const be=ue.map(et=>{const q=ka(et,E);return xt(function ut(E){return E&&As(E.canMatch)}(q)?q.canMatch(v,M):E.runInContext(()=>q(v,M)))});return(0,C.of)(be).pipe(Xs(),ba())}(W,v,M).pipe((0,Je.U)(et=>!0===et?be:{...Nl}))):(0,C.of)(be)}function sl(E,v,M){if(""===v.path)return"full"===v.pathMatch&&(E.hasChildren()||M.length>0)?{...Nl}:{matched:!0,consumedSegments:[],remainingSegments:M,parameters:{},positionalParamSegments:{}};const ue=(v.matcher||Ot)(M,E,v);if(!ue)return{...Nl};const be={};Object.entries(ue.posParams??{}).forEach(([q,U])=>{be[q]=U.path});const et=ue.consumed.length>0?{...be,...ue.consumed[ue.consumed.length-1].parameters}:be;return{matched:!0,consumedSegments:ue.consumed,remainingSegments:M.slice(ue.consumed.length),parameters:et,positionalParamSegments:ue.posParams??{}}}function bl(E,v,M,W){return M.length>0&&function Lc(E,v,M){return M.some(W=>Xo(E,v,W)&&Lr(W)!==Bn)}(E,M,W)?{segmentGroup:new Dr(v,Ao(W,new Dr(M,E.children))),slicedSegments:[]}:0===M.length&&function ol(E,v,M){return M.some(W=>Xo(E,v,W))}(E,M,W)?{segmentGroup:new Dr(E.segments,Cl(E,0,M,W,E.children)),slicedSegments:M}:{segmentGroup:new Dr(E.segments,E.children),slicedSegments:M}}function Cl(E,v,M,W,ue){const be={};for(const et of W)if(Xo(E,M,et)&&!ue[Lr(et)]){const q=new Dr([],{});be[Lr(et)]=q}return{...ue,...be}}function Ao(E,v){const M={};M[Bn]=v;for(const W of E)if(""===W.path&&Lr(W)!==Bn){const ue=new Dr([],{});M[Lr(W)]=ue}return M}function Xo(E,v,M){return(!(E.hasChildren()||v.length>0)||"full"!==M.pathMatch)&&""===M.path}class qo{constructor(v,M,W,ue,be,et,q){this.injector=v,this.configLoader=M,this.rootComponentType=W,this.config=ue,this.urlTree=be,this.paramsInheritanceStrategy=et,this.urlSerializer=q,this.allowRedirects=!0,this.applyRedirects=new ai(this.urlSerializer,this.urlTree)}noMatchError(v){return new i.vHH(4002,!1)}recognize(){const v=bl(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,v,Bn).pipe((0,He.K)(M=>{if(M instanceof so)return this.allowRedirects=!1,this.urlTree=M.urlTree,this.match(M.urlTree);throw M instanceof Fa?this.noMatchError(M):M}),(0,Je.U)(M=>{const W=new Ho([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Bn,this.rootComponentType,null,{}),ue=new as(W,M),be=new no("",ue),et=function pi(E,v,M=null,W=null){return Ti(nn(E),v,M,W)}(W,[],this.urlTree.queryParams,this.urlTree.fragment);return et.queryParams=this.urlTree.queryParams,be.url=this.urlSerializer.serialize(et),this.inheritParamsAndData(be._root),{state:be,tree:et}}))}match(v){return this.processSegmentGroup(this.injector,this.config,v.root,Bn).pipe((0,He.K)(W=>{throw W instanceof Fa?this.noMatchError(W):W}))}inheritParamsAndData(v){const M=v.value,W=$r(M,this.paramsInheritanceStrategy);M.params=Object.freeze(W.params),M.data=Object.freeze(W.data),v.children.forEach(ue=>this.inheritParamsAndData(ue))}processSegmentGroup(v,M,W,ue){return 0===W.segments.length&&W.hasChildren()?this.processChildren(v,M,W):this.processSegment(v,M,W,W.segments,ue,!0)}processChildren(v,M,W){const ue=[];for(const be of Object.keys(W.children))"primary"===be?ue.unshift(be):ue.push(be);return(0,y.D)(ue).pipe((0,ot.b)(be=>{const et=W.children[be],q=function Qs(E,v){const M=E.filter(W=>Lr(W)===v);return M.push(...E.filter(W=>Lr(W)!==v)),M}(M,be);return this.processSegmentGroup(v,q,et,be)}),function vt(E,v){return(0,ye.e)(function mt(E,v,M,W,ue){return(be,et)=>{let q=M,U=v,Y=0;be.subscribe((0,k.x)(et,ne=>{const pe=Y++;U=q?E(U,ne,pe):(q=!0,ne),W&&et.next(U)},ue&&(()=>{q&&et.next(U),et.complete()})))}}(E,v,arguments.length>=2,!0))}((be,et)=>(be.push(...et),be)),(0,hn.d)(null),function xn(E,v){const M=arguments.length>=2;return W=>W.pipe(E?(0,Nt.h)((ue,be)=>E(ue,be,W)):j.y,yt(1),M?(0,hn.d)(v):(0,Fn.T)(()=>new Se.K))}(),(0,Jt.z)(be=>{if(null===be)return Vs(W);const et=zo(be);return function Io(E){E.sort((v,M)=>v.value.outlet===Bn?-1:M.value.outlet===Bn?1:v.value.outlet.localeCompare(M.value.outlet))}(et),(0,C.of)(et)}))}processSegment(v,M,W,ue,be,et){return(0,y.D)(M).pipe((0,ot.b)(q=>this.processSegmentAgainstRoute(q._injector??v,M,q,W,ue,be,et).pipe((0,He.K)(U=>{if(U instanceof Fa)return(0,C.of)(null);throw U}))),(0,nt.P)(q=>!!q),(0,He.K)(q=>{if(lr(q))return function vl(E,v,M){return 0===v.length&&!E.children[M]}(W,ue,be)?(0,C.of)([]):Vs(W);throw q}))}processSegmentAgainstRoute(v,M,W,ue,be,et,q){return function hs(E,v,M,W){return!!(Lr(E)===W||W!==Bn&&Xo(v,M,E))&&("**"===E.path||sl(v,E,M).matched)}(W,ue,be,et)?void 0===W.redirectTo?this.matchSegmentAgainstRoute(v,ue,W,be,et,q):q&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(v,ue,M,W,be,et):Vs(ue):Vs(ue)}expandSegmentAgainstRouteUsingRedirect(v,M,W,ue,be,et){return"**"===ue.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(v,W,ue,et):this.expandRegularSegmentAgainstRouteUsingRedirect(v,M,W,ue,be,et)}expandWildCardWithParamsAgainstRouteUsingRedirect(v,M,W,ue){const be=this.applyRedirects.applyRedirectCommands([],W.redirectTo,{});return W.redirectTo.startsWith("/")?Vn(be):this.applyRedirects.lineralizeSegments(W,be).pipe((0,Jt.z)(et=>{const q=new Dr(et,{});return this.processSegment(v,M,q,et,ue,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(v,M,W,ue,be,et){const{matched:q,consumedSegments:U,remainingSegments:Y,positionalParamSegments:ne}=sl(M,ue,be);if(!q)return Vs(M);const pe=this.applyRedirects.applyRedirectCommands(U,ue.redirectTo,ne);return ue.redirectTo.startsWith("/")?Vn(pe):this.applyRedirects.lineralizeSegments(ue,pe).pipe((0,Jt.z)(Ve=>this.processSegment(v,W,M,Ve.concat(Y),et,!1)))}matchSegmentAgainstRoute(v,M,W,ue,be,et){let q;if("**"===W.path){const U=ue.length>0?Ye(ue).parameters:{},Y=new Ho(ue,U,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,is(W),Lr(W),W.component??W._loadedComponent??null,W,Ql(W));q=(0,C.of)({snapshot:Y,consumedSegments:[],remainingSegments:[]}),M.children={}}else q=Oc(M,W,ue,v).pipe((0,Je.U)(({matched:U,consumedSegments:Y,remainingSegments:ne,parameters:pe})=>U?{snapshot:new Ho(Y,pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,is(W),Lr(W),W.component??W._loadedComponent??null,W,Ql(W)),consumedSegments:Y,remainingSegments:ne}:null));return q.pipe((0,tt.w)(U=>null===U?Vs(M):this.getChildConfig(v=W._injector??v,W,ue).pipe((0,tt.w)(({routes:Y})=>{const ne=W._loadedInjector??v,{snapshot:pe,consumedSegments:Ve,remainingSegments:bt}=U,{segmentGroup:It,slicedSegments:Xt}=bl(M,Ve,bt,Y);if(0===Xt.length&&It.hasChildren())return this.processChildren(ne,Y,It).pipe((0,Je.U)(ni=>null===ni?null:[new as(pe,ni)]));if(0===Y.length&&0===Xt.length)return(0,C.of)([new as(pe,[])]);const Cn=Lr(W)===be;return this.processSegment(ne,Y,It,Xt,Cn?Bn:be,!0).pipe((0,Je.U)(ni=>[new as(pe,ni)]))}))))}getChildConfig(v,M,W){return M.children?(0,C.of)({routes:M.children,injector:v}):M.loadChildren?void 0!==M._loadedRoutes?(0,C.of)({routes:M._loadedRoutes,injector:M._loadedInjector}):function pa(E,v,M,W){const ue=v.canLoad;if(void 0===ue||0===ue.length)return(0,C.of)(!0);const be=ue.map(et=>{const q=ka(et,E);return xt(function ya(E){return E&&As(E.canLoad)}(q)?q.canLoad(v,M):E.runInContext(()=>q(v,M)))});return(0,C.of)(be).pipe(Xs(),ba())}(v,M,W).pipe((0,Jt.z)(ue=>ue?this.configLoader.loadChildren(v,M).pipe((0,Ct.b)(be=>{M._loadedRoutes=be.routes,M._loadedInjector=be.injector})):function ra(E){return(0,J._)(uo(!1,3))}())):(0,C.of)({routes:[],injector:v})}}function hr(E){const v=E.value.routeConfig;return v&&""===v.path}function zo(E){const v=[],M=new Set;for(const W of E){if(!hr(W)){v.push(W);continue}const ue=v.find(be=>W.value.routeConfig===be.value.routeConfig);void 0!==ue?(ue.children.push(...W.children),M.add(ue)):v.push(W)}for(const W of M){const ue=zo(W.children);v.push(new as(W.value,ue))}return v.filter(W=>!M.has(W))}function is(E){return E.data||{}}function Ql(E){return E.resolve||{}}function Hn(E){return"string"==typeof E.title||null===E.title}function Si(E){return(0,tt.w)(v=>{const M=E(v);return M?(0,y.D)(M).pipe((0,Je.U)(()=>v)):(0,C.of)(v)})}const ps=new i.OlP("ROUTES");let qr=(()=>{class E{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(M){if(this.componentLoaders.get(M))return this.componentLoaders.get(M);if(M._loadedComponent)return(0,C.of)(M._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(M);const W=xt(M.loadComponent()).pipe((0,Je.U)(Ws),(0,Ct.b)(be=>{this.onLoadEndListener&&this.onLoadEndListener(M),M._loadedComponent=be}),(0,dn.x)(()=>{this.componentLoaders.delete(M)})),ue=new Ge(W,()=>new gt.x).pipe(Ee());return this.componentLoaders.set(M,ue),ue}loadChildren(M,W){if(this.childrenLoaders.get(W))return this.childrenLoaders.get(W);if(W._loadedRoutes)return(0,C.of)({routes:W._loadedRoutes,injector:W._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(W);const be=function ls(E,v,M,W){return xt(E.loadChildren()).pipe((0,Je.U)(Ws),(0,Jt.z)(ue=>ue instanceof i.YKP||Array.isArray(ue)?(0,C.of)(ue):(0,y.D)(v.compileModuleAsync(ue))),(0,Je.U)(ue=>{W&&W(E);let be,et,q=!1;return Array.isArray(ue)?(et=ue,!0):(be=ue.create(M).injector,et=be.get(ps,[],{optional:!0,self:!0}).flat()),{routes:et.map(pl),injector:be}}))}(W,this.compiler,M,this.onLoadEndListener).pipe((0,dn.x)(()=>{this.childrenLoaders.delete(W)})),et=new Ge(be,()=>new gt.x).pipe(Ee());return this.childrenLoaders.set(W,et),et}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();function Ws(E){return function zr(E){return E&&"object"==typeof E&&"default"in E}(E)?E.default:E}let ks=(()=>{class E{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new gt.x,this.transitionAbortSubject=new gt.x,this.configLoader=(0,i.f3M)(qr),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(On),this.rootContexts=(0,i.f3M)(ds),this.inputBindingEnabled=null!==(0,i.f3M)(Aa,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,C.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ue=>this.events.next(new Ks(ue)),this.configLoader.onLoadStartListener=ue=>this.events.next(new Fo(ue))}complete(){this.transitions?.complete()}handleNavigationRequest(M){const W=++this.navigationId;this.transitions?.next({...this.transitions.value,...M,id:W})}setupNavigations(M,W,ue){return this.transitions=new b.X({id:0,currentUrlTree:W,currentRawUrl:W,currentBrowserUrl:W,extractedUrl:M.urlHandlingStrategy.extract(W),urlAfterRedirects:M.urlHandlingStrategy.extract(W),rawUrl:W,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ds,restoredState:null,currentSnapshot:ue.snapshot,targetSnapshot:null,currentRouterState:ue,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Nt.h)(be=>0!==be.id),(0,Je.U)(be=>({...be,extractedUrl:M.urlHandlingStrategy.extract(be.rawUrl)})),(0,tt.w)(be=>{this.currentTransition=be;let et=!1,q=!1;return(0,C.of)(be).pipe((0,Ct.b)(U=>{this.currentNavigation={id:U.id,initialUrl:U.rawUrl,extractedUrl:U.extractedUrl,trigger:U.source,extras:U.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,tt.w)(U=>{const Y=U.currentBrowserUrl.toString(),ne=!M.navigated||U.extractedUrl.toString()!==Y||Y!==U.currentUrlTree.toString();if(!ne&&"reload"!==(U.extras.onSameUrlNavigation??M.onSameUrlNavigation)){const Ve="";return this.events.next(new un(U.id,this.urlSerializer.serialize(U.rawUrl),Ve,0)),U.resolve(null),ae.E}if(M.urlHandlingStrategy.shouldProcessUrl(U.rawUrl))return(0,C.of)(U).pipe((0,tt.w)(Ve=>{const bt=this.transitions?.getValue();return this.events.next(new En(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),Ve.source,Ve.restoredState)),bt!==this.transitions?.getValue()?ae.E:Promise.resolve(Ve)}),function re(E,v,M,W,ue,be){return(0,Jt.z)(et=>function al(E,v,M,W,ue,be,et="emptyOnly"){return new qo(E,v,M,W,ue,et,be).recognize()}(E,v,M,W,et.extractedUrl,ue,be).pipe((0,Je.U)(({state:q,tree:U})=>({...et,targetSnapshot:q,urlAfterRedirects:U}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,M.config,this.urlSerializer,M.paramsInheritanceStrategy),(0,Ct.b)(Ve=>{be.targetSnapshot=Ve.targetSnapshot,be.urlAfterRedirects=Ve.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ve.urlAfterRedirects};const bt=new Ui(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(bt)}));if(ne&&M.urlHandlingStrategy.shouldProcessUrl(U.currentRawUrl)){const{id:Ve,extractedUrl:bt,source:It,restoredState:Xt,extras:Cn}=U,ni=new En(Ve,this.urlSerializer.serialize(bt),It,Xt);this.events.next(ni);const oi=Fi(0,this.rootComponentType).snapshot;return this.currentTransition=be={...U,targetSnapshot:oi,urlAfterRedirects:bt,extras:{...Cn,skipLocationChange:!1,replaceUrl:!1}},(0,C.of)(be)}{const Ve="";return this.events.next(new un(U.id,this.urlSerializer.serialize(U.extractedUrl),Ve,1)),U.resolve(null),ae.E}}),(0,Ct.b)(U=>{const Y=new Gi(U.id,this.urlSerializer.serialize(U.extractedUrl),this.urlSerializer.serialize(U.urlAfterRedirects),U.targetSnapshot);this.events.next(Y)}),(0,Je.U)(U=>(this.currentTransition=be={...U,guards:ia(U.targetSnapshot,U.currentSnapshot,this.rootContexts)},be)),function Jo(E,v){return(0,Jt.z)(M=>{const{targetSnapshot:W,currentSnapshot:ue,guards:{canActivateChecks:be,canDeactivateChecks:et}}=M;return 0===et.length&&0===be.length?(0,C.of)({...M,guardsResult:!0}):function Qo(E,v,M,W){return(0,y.D)(E).pipe((0,Jt.z)(ue=>function Rl(E,v,M,W,ue){const be=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!be||0===be.length)return(0,C.of)(!0);const et=be.map(q=>{const U=Hs(v)??ue,Y=ka(q,U);return xt(function Ce(E){return E&&As(E.canDeactivate)}(Y)?Y.canDeactivate(E,v,M,W):U.runInContext(()=>Y(E,v,M,W))).pipe((0,nt.P)())});return(0,C.of)(et).pipe(Xs())}(ue.component,ue.route,M,v,W)),(0,nt.P)(ue=>!0!==ue,!0))}(et,W,ue,E).pipe((0,Jt.z)(q=>q&&function _l(E){return"boolean"==typeof E}(q)?function ga(E,v,M,W){return(0,y.D)(v).pipe((0,ot.b)(ue=>(0,wt.z)(function rl(E,v){return null!==E&&v&&v(new na(E)),(0,C.of)(!0)}(ue.route.parent,W),function Ts(E,v){return null!==E&&v&&v(new ko(E)),(0,C.of)(!0)}(ue.route,W),function Cs(E,v,M){const W=v[v.length-1],be=v.slice(0,v.length-1).reverse().map(et=>function lc(E){const v=E.routeConfig?E.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:E,guards:v}:null}(et)).filter(et=>null!==et).map(et=>(0,K.P)(()=>{const q=et.guards.map(U=>{const Y=Hs(et.node)??M,ne=ka(U,Y);return xt(function ze(E){return E&&As(E.canActivateChild)}(ne)?ne.canActivateChild(W,E):Y.runInContext(()=>ne(W,E))).pipe((0,nt.P)())});return(0,C.of)(q).pipe(Xs())}));return(0,C.of)(be).pipe(Xs())}(E,ue.path,M),function kc(E,v,M){const W=v.routeConfig?v.routeConfig.canActivate:null;if(!W||0===W.length)return(0,C.of)(!0);const ue=W.map(be=>(0,K.P)(()=>{const et=Hs(v)??M,q=ka(be,et);return xt(function Ne(E){return E&&As(E.canActivate)}(q)?q.canActivate(v,E):et.runInContext(()=>q(v,E))).pipe((0,nt.P)())}));return(0,C.of)(ue).pipe(Xs())}(E,ue.route,M))),(0,nt.P)(ue=>!0!==ue,!0))}(W,be,E,v):(0,C.of)(q)),(0,Je.U)(q=>({...M,guardsResult:q})))})}(this.environmentInjector,U=>this.events.next(U)),(0,Ct.b)(U=>{if(be.guardsResult=U.guardsResult,Tn(U.guardsResult))throw Ji(0,U.guardsResult);const Y=new _r(U.id,this.urlSerializer.serialize(U.extractedUrl),this.urlSerializer.serialize(U.urlAfterRedirects),U.targetSnapshot,!!U.guardsResult);this.events.next(Y)}),(0,Nt.h)(U=>!!U.guardsResult||(this.cancelNavigationTransition(U,"",3),!1)),Si(U=>{if(U.guards.canActivateChecks.length)return(0,C.of)(U).pipe((0,Ct.b)(Y=>{const ne=new us(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot);this.events.next(ne)}),(0,tt.w)(Y=>{let ne=!1;return(0,C.of)(Y).pipe(function qe(E,v){return(0,Jt.z)(M=>{const{targetSnapshot:W,guards:{canActivateChecks:ue}}=M;if(!ue.length)return(0,C.of)(M);let be=0;return(0,y.D)(ue).pipe((0,ot.b)(et=>function Te(E,v,M,W){const ue=E.routeConfig,be=E._resolve;return void 0!==ue?.title&&!Hn(ue)&&(be[xi]=ue.title),function We(E,v,M,W){const ue=function Ut(E){return[...Object.keys(E),...Object.getOwnPropertySymbols(E)]}(E);if(0===ue.length)return(0,C.of)({});const be={};return(0,y.D)(ue).pipe((0,Jt.z)(et=>function Ln(E,v,M,W){const ue=Hs(v)??W,be=ka(E,ue);return xt(be.resolve?be.resolve(v,M):ue.runInContext(()=>be(v,M)))}(E[et],v,M,W).pipe((0,nt.P)(),(0,Ct.b)(q=>{be[et]=q}))),yt(1),(0,In.h)(be),(0,He.K)(et=>lr(et)?ae.E:(0,J._)(et)))}(be,E,v,W).pipe((0,Je.U)(et=>(E._resolvedData=et,E.data=$r(E,M).resolve,ue&&Hn(ue)&&(E.data[xi]=ue.title),null)))}(et.route,W,E,v)),(0,Ct.b)(()=>be++),yt(1),(0,Jt.z)(et=>be===ue.length?(0,C.of)(M):ae.E))})}(M.paramsInheritanceStrategy,this.environmentInjector),(0,Ct.b)({next:()=>ne=!0,complete:()=>{ne||this.cancelNavigationTransition(Y,"",2)}}))}),(0,Ct.b)(Y=>{const ne=new So(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot);this.events.next(ne)}))}),Si(U=>{const Y=ne=>{const pe=[];ne.routeConfig?.loadComponent&&!ne.routeConfig._loadedComponent&&pe.push(this.configLoader.loadComponent(ne.routeConfig).pipe((0,Ct.b)(Ve=>{ne.component=Ve}),(0,Je.U)(()=>{})));for(const Ve of ne.children)pe.push(...Y(Ve));return pe};return X(Y(U.targetSnapshot.root)).pipe((0,hn.d)(),(0,Qe.q)(1))}),Si(()=>this.afterPreactivation()),(0,Je.U)(U=>{const Y=function gr(E,v,M){const W=Us(E,v._root,M?M._root:void 0);return new Ma(W,v)}(M.routeReuseStrategy,U.targetSnapshot,U.currentRouterState);return this.currentTransition=be={...U,targetRouterState:Y},be}),(0,Ct.b)(()=>{this.events.next(new er)}),((E,v,M,W)=>(0,Je.U)(ue=>(new jo(v,ue.targetRouterState,ue.currentRouterState,M,W).activate(E),ue)))(this.rootContexts,M.routeReuseStrategy,U=>this.events.next(U),this.inputBindingEnabled),(0,Qe.q)(1),(0,Ct.b)({next:U=>{et=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new dt(U.id,this.urlSerializer.serialize(U.extractedUrl),this.urlSerializer.serialize(U.urlAfterRedirects))),M.titleStrategy?.updateTitle(U.targetRouterState.snapshot),U.resolve(!0)},complete:()=>{et=!0}}),(0,qn.R)(this.transitionAbortSubject.pipe((0,Ct.b)(U=>{throw U}))),(0,dn.x)(()=>{et||q||this.cancelNavigationTransition(be,"",1),this.currentNavigation?.id===be.id&&(this.currentNavigation=null)}),(0,He.K)(U=>{if(q=!0,Js(U))this.events.next(new Tt(be.id,this.urlSerializer.serialize(be.extractedUrl),U.message,U.cancellationCode)),function Oo(E){return Js(E)&&Tn(E.url)}(U)?this.events.next(new Cr(U.url)):be.resolve(!1);else{this.events.next(new Yn(be.id,this.urlSerializer.serialize(be.extractedUrl),U,be.targetSnapshot??void 0));try{be.resolve(M.errorHandler(U))}catch(Y){be.reject(Y)}}return ae.E}))}))}cancelNavigationTransition(M,W,ue){const be=new Tt(M.id,this.urlSerializer.serialize(M.extractedUrl),W,ue);this.events.next(be),M.resolve(!1)}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();function rs(E){return E!==Ds}let ea=(()=>{class E{buildTitle(M){let W,ue=M.root;for(;void 0!==ue;)W=this.getResolvedTitleForRoute(ue)??W,ue=ue.children.find(be=>be.outlet===Bn);return W}getResolvedTitleForRoute(M){return M.data[xi]}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return(0,i.f3M)(Zs)},providedIn:"root"})}return E})(),Zs=(()=>{class E extends ea{constructor(M){super(),this.title=M}updateTitle(M){const W=this.buildTitle(M);void 0!==W&&this.title.setTitle(W)}static#e=this.\u0275fac=function(W){return new(W||E)(i.LFG(ir.Dx))};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),xa=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return(0,i.f3M)($a)},providedIn:"root"})}return E})();class Ya{shouldDetach(v){return!1}store(v,M){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,M){return v.routeConfig===M.routeConfig}}let $a=(()=>{class E extends Ya{static#e=this.\u0275fac=function(){let M;return function(ue){return(M||(M=i.n5z(E)))(ue||E)}}();static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();const fo=new i.OlP("",{providedIn:"root",factory:()=>({})});let za=(()=>{class E{static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:function(){return(0,i.f3M)(Uc)},providedIn:"root"})}return E})(),Uc=(()=>{class E{shouldProcessUrl(M){return!0}extract(M){return M}merge(M,W){return M}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();var Es=function(E){return E[E.COMPLETE=0]="COMPLETE",E[E.FAILED=1]="FAILED",E[E.REDIRECTING=2]="REDIRECTING",E}(Es||{});function Vl(E,v){E.events.pipe((0,Nt.h)(M=>M instanceof dt||M instanceof Tt||M instanceof Yn||M instanceof un),(0,Je.U)(M=>M instanceof dt||M instanceof un?Es.COMPLETE:M instanceof Tt&&(0===M.code||1===M.code)?Es.REDIRECTING:Es.FAILED),(0,Nt.h)(M=>M!==Es.REDIRECTING),(0,Qe.q)(1)).subscribe(()=>{v()})}function Ka(E){throw E}function go(E,v,M){return v.parse("/")}const Fl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ba={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let po=(()=>{class E{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this._events=new gt.x,this.options=(0,i.f3M)(fo,{optional:!0})||{},this.pendingTasks=(0,i.f3M)(i.HDt),this.errorHandler=this.options.errorHandler||Ka,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||go,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(za),this.routeReuseStrategy=(0,i.f3M)(xa),this.titleStrategy=(0,i.f3M)(ea),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,i.f3M)(ps,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.f3M)(ks),this.urlSerializer=(0,i.f3M)(On),this.location=(0,i.f3M)(Ze.Ye),this.componentInputBindingEnabled=!!(0,i.f3M)(Aa,{optional:!0}),this.eventsSubscription=new oe.w0,this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Or,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Fi(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(M=>{this.lastSuccessfulId=M.id,this.currentPageId=this.browserPageId},M=>{this.console.warn(`Unhandled Navigation Error: ${M}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const M=this.navigationTransitions.events.subscribe(W=>{try{const{currentTransition:ue}=this.navigationTransitions;if(null===ue)return void(ma(W)&&this._events.next(W));if(W instanceof En)rs(ue.source)&&(this.browserUrlTree=ue.extractedUrl);else if(W instanceof un)this.rawUrlTree=ue.rawUrl;else if(W instanceof Ui){if("eager"===this.urlUpdateStrategy){if(!ue.extras.skipLocationChange){const be=this.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl);this.setBrowserUrl(be,ue)}this.browserUrlTree=ue.urlAfterRedirects}}else if(W instanceof er)this.currentUrlTree=ue.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl),this.routerState=ue.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ue.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ue),this.browserUrlTree=ue.urlAfterRedirects);else if(W instanceof Tt)0!==W.code&&1!==W.code&&(this.navigated=!0),(3===W.code||2===W.code)&&this.restoreHistory(ue);else if(W instanceof Cr){const be=this.urlHandlingStrategy.merge(W.url,ue.currentRawUrl),et={skipLocationChange:ue.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||rs(ue.source)};this.scheduleNavigation(be,Ds,null,et,{resolve:ue.resolve,reject:ue.reject,promise:ue.promise})}W instanceof Yn&&this.restoreHistory(ue,!0),W instanceof dt&&(this.navigated=!0),ma(W)&&this._events.next(W)}catch(ue){this.navigationTransitions.transitionAbortSubject.next(ue)}});this.eventsSubscription.add(M)}resetRootComponentType(M){this.routerState.root.component=M,this.navigationTransitions.rootComponentType=M}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const M=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ds,M)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(M=>{const W="popstate"===M.type?"popstate":"hashchange";"popstate"===W&&setTimeout(()=>{this.navigateToSyncWithBrowser(M.url,W,M.state)},0)}))}navigateToSyncWithBrowser(M,W,ue){const be={replaceUrl:!0},et=ue?.navigationId?ue:null;if(ue){const U={...ue};delete U.navigationId,delete U.\u0275routerPageId,0!==Object.keys(U).length&&(be.state=U)}const q=this.parseUrl(M);this.scheduleNavigation(q,W,et,be)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(M){this.config=M.map(pl),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(M,W={}){const{relativeTo:ue,queryParams:be,fragment:et,queryParamsHandling:q,preserveFragment:U}=W,Y=U?this.currentUrlTree.fragment:et;let pe,ne=null;switch(q){case"merge":ne={...this.currentUrlTree.queryParams,...be};break;case"preserve":ne=this.currentUrlTree.queryParams;break;default:ne=be||null}null!==ne&&(ne=this.removeEmptyProps(ne));try{pe=nn(ue?ue.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof M[0]||!M[0].startsWith("/"))&&(M=[]),pe=this.currentUrlTree.root}return Ti(pe,M,ne,Y??null)}navigateByUrl(M,W={skipLocationChange:!1}){const ue=Tn(M)?M:this.parseUrl(M),be=this.urlHandlingStrategy.merge(ue,this.rawUrlTree);return this.scheduleNavigation(be,Ds,null,W)}navigate(M,W={skipLocationChange:!1}){return function yo(E){for(let v=0;v{const be=M[ue];return null!=be&&(W[ue]=be),W},{})}scheduleNavigation(M,W,ue,be,et){if(this.disposed)return Promise.resolve(!1);let q,U,Y;et?(q=et.resolve,U=et.reject,Y=et.promise):Y=new Promise((pe,Ve)=>{q=pe,U=Ve});const ne=this.pendingTasks.add();return Vl(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ne))}),this.navigationTransitions.handleNavigationRequest({source:W,restoredState:ue,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:M,extras:be,resolve:q,reject:U,promise:Y,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Y.catch(pe=>Promise.reject(pe))}setBrowserUrl(M,W){const ue=this.urlSerializer.serialize(M);if(this.location.isCurrentPathEqualTo(ue)||W.extras.replaceUrl){const et={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId)};this.location.replaceState(ue,"",et)}else{const be={...W.extras.state,...this.generateNgRouterState(W.id,this.browserPageId+1)};this.location.go(ue,"",be)}}restoreHistory(M,W=!1){if("computed"===this.canceledNavigationResolution){const be=this.currentPageId-this.browserPageId;0!==be?this.location.historyGo(be):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===be&&(this.resetState(M),this.browserUrlTree=M.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(W&&this.resetState(M),this.resetUrlToCurrentUrlTree())}resetState(M){this.routerState=M.currentRouterState,this.currentUrlTree=M.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,M.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(M,W){return"computed"===this.canceledNavigationResolution?{navigationId:M,\u0275routerPageId:W}:{navigationId:M}}static#e=this.\u0275fac=function(W){return new(W||E)};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();function ma(E){return!(E instanceof er||E instanceof Cr)}let xl=(()=>{class E{constructor(M,W,ue,be,et,q){this.router=M,this.route=W,this.tabIndexAttribute=ue,this.renderer=be,this.el=et,this.locationStrategy=q,this.href=null,this.commands=null,this.onChanges=new gt.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const U=et.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===U||"area"===U,this.isAnchorElement?this.subscription=M.events.subscribe(Y=>{Y instanceof dt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(M){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",M)}ngOnChanges(M){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(M){null!=M?(this.commands=Array.isArray(M)?M:[M],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(M,W,ue,be,et){return!!(null===this.urlTree||this.isAnchorElement&&(0!==M||W||ue||be||et||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const M=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",M)}applyAttributeValue(M,W){const ue=this.renderer,be=this.el.nativeElement;null!==W?ue.setAttribute(be,M,W):ue.removeAttribute(be,M)}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})}static#e=this.\u0275fac=function(W){return new(W||E)(i.Y36(po),i.Y36(dr),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(Ze.S$))};static#t=this.\u0275dir=i.lG2({type:E,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(W,ue){1&W&&i.NdJ("click",function(et){return ue.onClick(et.button,et.ctrlKey,et.shiftKey,et.altKey,et.metaKey)}),2&W&&i.uIk("target",ue.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",i.VuI],replaceUrl:["replaceUrl","replaceUrl",i.VuI],routerLink:"routerLink"},standalone:!0,features:[i.Xq5,i.TTD]})}return E})(),Xl=(()=>{class E{get isActive(){return this._isActive}constructor(M,W,ue,be,et){this.router=M,this.element=W,this.renderer=ue,this.cdr=be,this.link=et,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.vpe,this.routerEventsSubscription=M.events.subscribe(q=>{q instanceof dt&&this.update()})}ngAfterContentInit(){(0,C.of)(this.links.changes,(0,C.of)(null)).pipe((0,di.J)()).subscribe(M=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const M=[...this.links.toArray(),this.link].filter(W=>!!W).map(W=>W.onChanges);this.linkInputChangesSubscription=(0,y.D)(M).pipe((0,di.J)()).subscribe(W=>{this._isActive!==this.isLinkActive(this.router)(W)&&this.update()})}set routerLinkActive(M){const W=Array.isArray(M)?M:M.split(" ");this.classes=W.filter(ue=>!!ue)}ngOnChanges(M){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const M=this.hasActiveLinks();this._isActive!==M&&(this._isActive=M,this.cdr.markForCheck(),this.classes.forEach(W=>{M?this.renderer.addClass(this.element.nativeElement,W):this.renderer.removeClass(this.element.nativeElement,W)}),M&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(M))})}isLinkActive(M){const W=function _a(E){return!!E.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ue=>!!ue.urlTree&&M.isActive(ue.urlTree,W)}hasActiveLinks(){const M=this.isLinkActive(this.router);return this.link&&M(this.link)||this.links.some(M)}static#e=this.\u0275fac=function(W){return new(W||E)(i.Y36(po),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(xl,8))};static#t=this.\u0275dir=i.lG2({type:E,selectors:[["","routerLinkActive",""]],contentQueries:function(W,ue,be){if(1&W&&i.Suo(be,xl,5),2&W){let et;i.iGM(et=i.CRH())&&(ue.links=et)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[i.TTD]})}return E})();class cc{}let uc=(()=>{class E{constructor(M,W,ue,be,et){this.router=M,this.injector=ue,this.preloadingStrategy=be,this.loader=et}setUpPreloading(){this.subscription=this.router.events.pipe((0,Nt.h)(M=>M instanceof dt),(0,ot.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(M,W){const ue=[];for(const be of W){be.providers&&!be._injector&&(be._injector=(0,i.MMx)(be.providers,M,`Route: ${be.path}`));const et=be._injector??M,q=be._loadedInjector??et;(be.loadChildren&&!be._loadedRoutes&&void 0===be.canLoad||be.loadComponent&&!be._loadedComponent)&&ue.push(this.preloadConfig(et,be)),(be.children||be._loadedRoutes)&&ue.push(this.processRoutes(q,be.children??be._loadedRoutes))}return(0,y.D)(ue).pipe((0,di.J)())}preloadConfig(M,W){return this.preloadingStrategy.preload(W,()=>{let ue;ue=W.loadChildren&&void 0===W.canLoad?this.loader.loadChildren(M,W):(0,C.of)(null);const be=ue.pipe((0,Jt.z)(et=>null===et?(0,C.of)(void 0):(W._loadedRoutes=et.routes,W._loadedInjector=et.injector,this.processRoutes(et.injector??M,et.routes))));if(W.loadComponent&&!W._loadedComponent){const et=this.loader.loadComponent(W);return(0,y.D)([be,et]).pipe((0,di.J)())}return be})}static#e=this.\u0275fac=function(W){return new(W||E)(i.LFG(po),i.LFG(i.Sil),i.LFG(i.lqb),i.LFG(cc),i.LFG(qr))};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();const ql=new i.OlP("");let Yl=(()=>{class E{constructor(M,W,ue,be,et={}){this.urlSerializer=M,this.transitions=W,this.viewportScroller=ue,this.zone=be,this.options=et,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},et.scrollPositionRestoration=et.scrollPositionRestoration||"disabled",et.anchorScrolling=et.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof En?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=M.navigationTrigger,this.restoredId=M.restoredState?M.restoredState.navigationId:0):M instanceof dt?(this.lastId=M.id,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.urlAfterRedirects).fragment)):M instanceof un&&0===M.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof Wa&&(M.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(M.position):M.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(M.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(M,W){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Wa(M,"popstate"===this.lastSource?this.store[this.restoredId]:null,W))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(W){i.$Z()};static#t=this.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac})}return E})();function Bl(E,v){return{\u0275kind:E,\u0275providers:v}}function El(){const E=(0,i.f3M)(i.zs3);return v=>{const M=E.get(i.z2F);if(v!==M.components[0])return;const W=E.get(po),ue=E.get(Gc);1===E.get(Ja)&&W.initialNavigation(),E.get(ii,null,i.XFs.Optional)?.setUpPreloading(),E.get(ql,null,i.XFs.Optional)?.init(),W.resetRootComponentType(M.componentTypes[0]),ue.closed||(ue.next(),ue.complete(),ue.unsubscribe())}}const Gc=new i.OlP("",{factory:()=>new gt.x}),Ja=new i.OlP("",{providedIn:"root",factory:()=>1}),ii=new i.OlP("");function es(E){return Bl(0,[{provide:ii,useExisting:uc},{provide:cc,useExisting:E}])}const Oa=new i.OlP("ROUTER_FORROOT_GUARD"),Ea=[Ze.Ye,{provide:On,useClass:mr},po,ds,{provide:dr,useFactory:function Tl(E){return E.routerState.root},deps:[po]},qr,[]];function wl(){return new i.PXZ("Router",po)}let jc=(()=>{class E{constructor(M){}static forRoot(M,W){return{ngModule:E,providers:[Ea,[],{provide:ps,multi:!0,useValue:M},{provide:Oa,useFactory:Qa,deps:[[po,new i.FiY,new i.tp0]]},{provide:fo,useValue:W||{}},W?.useHash?{provide:Ze.S$,useClass:Ze.Do}:{provide:Ze.S$,useClass:Ze.b0},{provide:ql,useFactory:()=>{const E=(0,i.f3M)(Ze.EM),v=(0,i.f3M)(i.R0b),M=(0,i.f3M)(fo),W=(0,i.f3M)(ks),ue=(0,i.f3M)(On);return M.scrollOffset&&E.setOffset(M.scrollOffset),new Yl(ue,W,E,v,M)}},W?.preloadingStrategy?es(W.preloadingStrategy).\u0275providers:[],{provide:i.PXZ,multi:!0,useFactory:wl},W?.initialNavigation?Kr(W):[],W?.bindToComponentInputs?Bl(8,[Xr,{provide:Aa,useExisting:Xr}]).\u0275providers:[],[{provide:oo,useFactory:El},{provide:i.tb,multi:!0,useExisting:oo}]]}}static forChild(M){return{ngModule:E,providers:[{provide:ps,multi:!0,useValue:M}]}}static#e=this.\u0275fac=function(W){return new(W||E)(i.LFG(Oa,8))};static#t=this.\u0275mod=i.oAB({type:E});static#n=this.\u0275inj=i.cJS({})}return E})();function Qa(E){return"guarded"}function Kr(E){return["disabled"===E.initialNavigation?Bl(3,[{provide:i.ip1,multi:!0,useFactory:()=>{const v=(0,i.f3M)(po);return()=>{v.setUpLocationChangeListener()}}},{provide:Ja,useValue:2}]).\u0275providers:[],"enabledBlocking"===E.initialNavigation?Bl(2,[{provide:Ja,useValue:0},{provide:i.ip1,multi:!0,deps:[i.zs3],useFactory:v=>{const M=v.get(Ze.V_,Promise.resolve());return()=>M.then(()=>new Promise(W=>{const ue=v.get(po),be=v.get(Gc);Vl(ue,()=>{W(!0)}),v.get(ks).afterPreactivation=()=>(W(!0),be.closed?(0,C.of)(void 0):be),ue.initialNavigation()}))}}]).\u0275providers:[]]}const oo=new i.OlP("")},1338:(lt,_e,m)=>{"use strict";m.d(_e,{vQ:()=>U_});var i=m(755);function t(u){return u+.5|0}const A=(u,d,c)=>Math.max(Math.min(u,c),d);function a(u){return A(t(2.55*u),0,255)}function C(u){return A(t(255*u),0,255)}function b(u){return A(t(u/2.55)/100,0,1)}function N(u){return A(t(100*u),0,100)}const j={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},F=[..."0123456789ABCDEF"],x=u=>F[15&u],H=u=>F[(240&u)>>4]+F[15&u],k=u=>(240&u)>>4==(15&u);const Se=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function wt(u,d,c){const p=d*Math.min(c,1-c),_=(w,O=(w+u/30)%12)=>c-p*Math.max(Math.min(O-3,9-O,1),-1);return[_(0),_(8),_(4)]}function K(u,d,c){const p=(_,w=(_+u/60)%6)=>c-c*d*Math.max(Math.min(w,4-w,1),0);return[p(5),p(3),p(1)]}function V(u,d,c){const p=wt(u,1,.5);let _;for(d+c>1&&(_=1/(d+c),d*=_,c*=_),_=0;_<3;_++)p[_]*=1-d-c,p[_]+=d;return p}function ae(u){const c=u.r/255,p=u.g/255,_=u.b/255,w=Math.max(c,p,_),O=Math.min(c,p,_),z=(w+O)/2;let Q,ce,we;return w!==O&&(we=w-O,ce=z>.5?we/(2-w-O):we/(w+O),Q=function J(u,d,c,p,_){return u===_?(d-c)/p+(du<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,vt=u=>u<=.04045?u/12.92:Math.pow((u+.055)/1.055,2.4);function yt(u,d,c){if(u){let p=ae(u);p[d]=Math.max(0,Math.min(p[d]+p[d]*c,0===d?360:1)),p=ye(p),u.r=p[0],u.g=p[1],u.b=p[2]}}function Fn(u,d){return u&&Object.assign(d||{},u)}function xn(u){var d={r:0,g:0,b:0,a:255};return Array.isArray(u)?u.length>=3&&(d={r:u[0],g:u[1],b:u[2],a:255},u.length>3&&(d.a=C(u[3]))):(d=Fn(u,{r:0,g:0,b:0,a:1})).a=C(d.a),d}function In(u){return"r"===u.charAt(0)?function Ct(u){const d=ot.exec(u);let p,_,w,c=255;if(d){if(d[7]!==p){const O=+d[7];c=d[8]?a(O):A(255*O,0,255)}return p=+d[1],_=+d[3],w=+d[5],p=255&(d[2]?a(p):A(p,0,255)),_=255&(d[4]?a(_):A(_,0,255)),w=255&(d[6]?a(w):A(w,0,255)),{r:p,g:_,b:w,a:c}}}(u):function Ze(u){const d=Se.exec(u);let p,c=255;if(!d)return;d[5]!==p&&(c=d[6]?a(+d[5]):C(+d[5]));const _=gt(+d[2]),w=+d[3]/100,O=+d[4]/100;return p="hwb"===d[1]?function Ee(u,d,c){return oe(V,u,d,c)}(_,w,O):"hsv"===d[1]?function Ge(u,d,c){return oe(K,u,d,c)}(_,w,O):ye(_,w,O),{r:p[0],g:p[1],b:p[2],a:c}}(u)}class dn{constructor(d){if(d instanceof dn)return d;const c=typeof d;let p;"object"===c?p=xn(d):"string"===c&&(p=function X(u){var c,d=u.length;return"#"===u[0]&&(4===d||5===d?c={r:255&17*j[u[1]],g:255&17*j[u[2]],b:255&17*j[u[3]],a:5===d?17*j[u[4]]:255}:(7===d||9===d)&&(c={r:j[u[1]]<<4|j[u[2]],g:j[u[3]]<<4|j[u[4]],b:j[u[5]]<<4|j[u[6]],a:9===d?j[u[7]]<<4|j[u[8]]:255})),c}(d)||function nt(u){Jt||(Jt=function Nt(){const u={},d=Object.keys(pt),c=Object.keys(Qe);let p,_,w,O,z;for(p=0;p>16&255,w>>8&255,255&w]}return u}(),Jt.transparent=[0,0,0,0]);const d=Jt[u.toLowerCase()];return d&&{r:d[0],g:d[1],b:d[2],a:4===d.length?d[3]:255}}(d)||In(d)),this._rgb=p,this._valid=!!p}get valid(){return this._valid}get rgb(){var d=Fn(this._rgb);return d&&(d.a=b(d.a)),d}set rgb(d){this._rgb=xn(d)}rgbString(){return this._valid?function He(u){return u&&(u.a<255?`rgba(${u.r}, ${u.g}, ${u.b}, ${b(u.a)})`:`rgb(${u.r}, ${u.g}, ${u.b})`)}(this._rgb):void 0}hexString(){return this._valid?function Oe(u){var d=(u=>k(u.r)&&k(u.g)&&k(u.b)&&k(u.a))(u)?x:H;return u?"#"+d(u.r)+d(u.g)+d(u.b)+((u,d)=>u<255?d(u):"")(u.a,d):void 0}(this._rgb):void 0}hslString(){return this._valid?function tt(u){if(!u)return;const d=ae(u),c=d[0],p=N(d[1]),_=N(d[2]);return u.a<255?`hsla(${c}, ${p}%, ${_}%, ${b(u.a)})`:`hsl(${c}, ${p}%, ${_}%)`}(this._rgb):void 0}mix(d,c){if(d){const p=this.rgb,_=d.rgb;let w;const O=c===w?.5:c,z=2*O-1,Q=p.a-_.a,ce=((z*Q==-1?z:(z+Q)/(1+z*Q))+1)/2;w=1-ce,p.r=255&ce*p.r+w*_.r+.5,p.g=255&ce*p.g+w*_.g+.5,p.b=255&ce*p.b+w*_.b+.5,p.a=O*p.a+(1-O)*_.a,this.rgb=p}return this}interpolate(d,c){return d&&(this._rgb=function hn(u,d,c){const p=vt(b(u.r)),_=vt(b(u.g)),w=vt(b(u.b));return{r:C(mt(p+c*(vt(b(d.r))-p))),g:C(mt(_+c*(vt(b(d.g))-_))),b:C(mt(w+c*(vt(b(d.b))-w))),a:u.a+c*(d.a-u.a)}}(this._rgb,d._rgb,c)),this}clone(){return new dn(this.rgb)}alpha(d){return this._rgb.a=C(d),this}clearer(d){return this._rgb.a*=1-d,this}greyscale(){const d=this._rgb,c=t(.3*d.r+.59*d.g+.11*d.b);return d.r=d.g=d.b=c,this}opaquer(d){return this._rgb.a*=1+d,this}negate(){const d=this._rgb;return d.r=255-d.r,d.g=255-d.g,d.b=255-d.b,this}lighten(d){return yt(this._rgb,2,d),this}darken(d){return yt(this._rgb,2,-d),this}saturate(d){return yt(this._rgb,1,d),this}desaturate(d){return yt(this._rgb,1,-d),this}rotate(d){return function Je(u,d){var c=ae(u);c[0]=gt(c[0]+d),c=ye(c),u.r=c[0],u.g=c[1],u.b=c[2]}(this._rgb,d),this}}function di(){}const ir=(()=>{let u=0;return()=>u++})();function Bn(u){return null===u||typeof u>"u"}function xi(u){if(Array.isArray&&Array.isArray(u))return!0;const d=Object.prototype.toString.call(u);return"[object"===d.slice(0,7)&&"Array]"===d.slice(-6)}function fi(u){return null!==u&&"[object Object]"===Object.prototype.toString.call(u)}function Mt(u){return("number"==typeof u||u instanceof Number)&&isFinite(+u)}function Ot(u,d){return Mt(u)?u:d}function ve(u,d){return typeof u>"u"?d:u}const xe=(u,d)=>"string"==typeof u&&u.endsWith("%")?parseFloat(u)/100*d:+u;function Ye(u,d,c){if(u&&"function"==typeof u.call)return u.apply(c,d)}function xt(u,d,c,p){let _,w,O;if(xi(u))if(w=u.length,p)for(_=w-1;_>=0;_--)d.call(c,u[_],_);else for(_=0;_u,x:u=>u.x,y:u=>u.y};function bs(u,d){return(co[d]||(co[d]=function Dr(u){const d=function Or(u){const d=u.split("."),c=[];let p="";for(const _ of d)p+=_,p.endsWith("\\")?p=p.slice(0,-1)+".":(c.push(p),p="");return c}(u);return c=>{for(const p of d){if(""===p)break;c=c&&c[p]}return c}}(d)))(u)}function Do(u){return u.charAt(0).toUpperCase()+u.slice(1)}const Ms=u=>typeof u<"u",Ls=u=>"function"==typeof u,On=(u,d)=>{if(u.size!==d.size)return!1;for(const c of u)if(!d.has(c))return!1;return!0},Pt=Math.PI,ln=2*Pt,Yt=ln+Pt,li=Number.POSITIVE_INFINITY,Qr=Pt/180,Sr=Pt/2,Pn=Pt/4,sn=2*Pt/3,Rt=Math.log10,Bt=Math.sign;function bn(u,d,c){return Math.abs(u-d)Q&&ce=Math.min(d,c)-p&&u<=Math.max(d,c)+p}function Ti(u,d,c){c=c||(O=>u[O]1;)w=_+p>>1,c(w)?_=w:p=w;return{lo:_,hi:p}}const yi=(u,d,c,p)=>Ti(u,c,p?_=>{const w=u[_][d];return wu[_][d]Ti(u,c,p=>u[p][d]>=c),wr=["push","pop","shift","splice","unshift"];function yr(u,d){const c=u._chartjs;if(!c)return;const p=c.listeners,_=p.indexOf(d);-1!==_&&p.splice(_,1),!(p.length>0)&&(wr.forEach(w=>{delete u[w]}),delete u._chartjs)}function jr(u){const d=new Set(u);return d.size===u.length?u:Array.from(d)}const Co=typeof window>"u"?function(u){return u()}:window.requestAnimationFrame;function ns(u,d){let c=[],p=!1;return function(..._){c=_,p||(p=!0,Co.call(window,()=>{p=!1,u.apply(d,c)}))}}const To=u=>"start"===u?"left":"end"===u?"right":"center",Bs=(u,d,c)=>"start"===u?d:"end"===u?c:(d+c)/2;function wo(u,d,c){const p=d.length;let _=0,w=p;if(u._sorted){const{iScale:O,_parsed:z}=u,Q=O.axis,{min:ce,max:we,minDefined:Ke,maxDefined:_t}=O.getUserBounds();Ke&&(_=Tn(Math.min(yi(z,Q,ce).lo,c?p:yi(d,Q,O.getPixelForValue(ce)).lo),0,p-1)),w=_t?Tn(Math.max(yi(z,O.axis,we,!0).hi+1,c?0:yi(d,Q,O.getPixelForValue(we),!0).hi+1),_,p)-_:p-_}return{start:_,count:w}}function Ra(u){const{xScale:d,yScale:c,_scaleRanges:p}=u,_={xmin:d.min,xmax:d.max,ymin:c.min,ymax:c.max};if(!p)return u._scaleRanges=_,!0;const w=p.xmin!==d.min||p.xmax!==d.max||p.ymin!==c.min||p.ymax!==c.max;return Object.assign(p,_),w}const Ps=u=>0===u||1===u,Ds=(u,d,c)=>-Math.pow(2,10*(u-=1))*Math.sin((u-d)*ln/c),St=(u,d,c)=>Math.pow(2,-10*u)*Math.sin((u-d)*ln/c)+1,En={linear:u=>u,easeInQuad:u=>u*u,easeOutQuad:u=>-u*(u-2),easeInOutQuad:u=>(u/=.5)<1?.5*u*u:-.5*(--u*(u-2)-1),easeInCubic:u=>u*u*u,easeOutCubic:u=>(u-=1)*u*u+1,easeInOutCubic:u=>(u/=.5)<1?.5*u*u*u:.5*((u-=2)*u*u+2),easeInQuart:u=>u*u*u*u,easeOutQuart:u=>-((u-=1)*u*u*u-1),easeInOutQuart:u=>(u/=.5)<1?.5*u*u*u*u:-.5*((u-=2)*u*u*u-2),easeInQuint:u=>u*u*u*u*u,easeOutQuint:u=>(u-=1)*u*u*u*u+1,easeInOutQuint:u=>(u/=.5)<1?.5*u*u*u*u*u:.5*((u-=2)*u*u*u*u+2),easeInSine:u=>1-Math.cos(u*Sr),easeOutSine:u=>Math.sin(u*Sr),easeInOutSine:u=>-.5*(Math.cos(Pt*u)-1),easeInExpo:u=>0===u?0:Math.pow(2,10*(u-1)),easeOutExpo:u=>1===u?1:1-Math.pow(2,-10*u),easeInOutExpo:u=>Ps(u)?u:u<.5?.5*Math.pow(2,10*(2*u-1)):.5*(2-Math.pow(2,-10*(2*u-1))),easeInCirc:u=>u>=1?u:-(Math.sqrt(1-u*u)-1),easeOutCirc:u=>Math.sqrt(1-(u-=1)*u),easeInOutCirc:u=>(u/=.5)<1?-.5*(Math.sqrt(1-u*u)-1):.5*(Math.sqrt(1-(u-=2)*u)+1),easeInElastic:u=>Ps(u)?u:Ds(u,.075,.3),easeOutElastic:u=>Ps(u)?u:St(u,.075,.3),easeInOutElastic:u=>Ps(u)?u:u<.5?.5*Ds(2*u,.1125,.45):.5+.5*St(2*u-1,.1125,.45),easeInBack:u=>u*u*(2.70158*u-1.70158),easeOutBack:u=>(u-=1)*u*(2.70158*u+1.70158)+1,easeInOutBack(u){let d=1.70158;return(u/=.5)<1?u*u*((1+(d*=1.525))*u-d)*.5:.5*((u-=2)*u*((1+(d*=1.525))*u+d)+2)},easeInBounce:u=>1-En.easeOutBounce(1-u),easeOutBounce:u=>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:u=>u<.5?.5*En.easeInBounce(2*u):.5*En.easeOutBounce(2*u-1)+.5};function dt(u){if(u&&"object"==typeof u){const d=u.toString();return"[object CanvasPattern]"===d||"[object CanvasGradient]"===d}return!1}function Tt(u){return dt(u)?u:new dn(u)}function un(u){return dt(u)?u:new dn(u).saturate(.5).darken(.1).hexString()}const Yn=["x","y","borderWidth","radius","tension"],Ui=["color","borderColor","backgroundColor"],us=new Map;function Fo(u,d,c){return function So(u,d){d=d||{};const c=u+JSON.stringify(d);let p=us.get(c);return p||(p=new Intl.NumberFormat(u,d),us.set(c,p)),p}(d,c).format(u)}const Ks={values:u=>xi(u)?u:""+u,numeric(u,d,c){if(0===u)return"0";const p=this.chart.options.locale;let _,w=u;if(c.length>1){const ce=Math.max(Math.abs(c[0].value),Math.abs(c[c.length-1].value));(ce<1e-4||ce>1e15)&&(_="scientific"),w=function na(u,d){let c=d.length>3?d[2].value-d[1].value:d[1].value-d[0].value;return Math.abs(c)>=1&&u!==Math.floor(u)&&(c=u-Math.floor(u)),c}(u,c)}const O=Rt(Math.abs(w)),z=isNaN(O)?1:Math.max(Math.min(-1*Math.floor(O),20),0),Q={notation:_,minimumFractionDigits:z,maximumFractionDigits:z};return Object.assign(Q,this.options.ticks.format),Fo(u,p,Q)},logarithmic(u,d,c){if(0===u)return"0";const p=c[d].significand||u/Math.pow(10,Math.floor(Rt(u)));return[1,2,3,5,10,15].includes(p)||d>.8*c.length?Ks.numeric.call(this,u,d,c):""}};var _s={formatters:Ks};const da=Object.create(null),Wa=Object.create(null);function er(u,d){if(!d)return u;const c=d.split(".");for(let p=0,_=c.length;p<_;++p){const w=c[p];u=u[w]||(u[w]=Object.create(null))}return u}function Cr(u,d,c){return"string"==typeof d?Qt(er(u,d),c):Qt(er(u,""),d)}class Ss{constructor(d,c){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=p=>p.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(p,_)=>un(_.backgroundColor),this.hoverBorderColor=(p,_)=>un(_.borderColor),this.hoverColor=(p,_)=>un(_.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(d),this.apply(c)}set(d,c){return Cr(this,d,c)}get(d){return er(this,d)}describe(d,c){return Cr(Wa,d,c)}override(d,c){return Cr(da,d,c)}route(d,c,p,_){const w=er(this,d),O=er(this,p),z="_"+c;Object.defineProperties(w,{[z]:{value:w[c],writable:!0},[c]:{enumerable:!0,get(){const Q=this[z],ce=O[_];return fi(Q)?Object.assign({},ce,Q):ve(Q,ce)},set(Q){this[z]=Q}}})}apply(d){d.forEach(c=>c(this))}}var br=new Ss({_scriptable:u=>!u.startsWith("on"),_indexable:u=>"events"!==u,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function Gi(u){u.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),u.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:d=>"onProgress"!==d&&"onComplete"!==d&&"fn"!==d}),u.set("animations",{colors:{type:"color",properties:Ui},numbers:{type:"number",properties:Yn}}),u.describe("animations",{_fallback:"animation"}),u.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:d=>0|d}}}})},function _r(u){u.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function ko(u){u.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(d,c)=>c.lineWidth,tickColor:(d,c)=>c.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:_s.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),u.route("scale.ticks","color","","color"),u.route("scale.grid","color","","borderColor"),u.route("scale.border","color","","borderColor"),u.route("scale.title","color","","color"),u.describe("scale",{_fallback:!1,_scriptable:d=>!d.startsWith("before")&&!d.startsWith("after")&&"callback"!==d&&"parser"!==d,_indexable:d=>"borderDash"!==d&&"tickBorderDash"!==d&&"dash"!==d}),u.describe("scales",{_fallback:"scale"}),u.describe("scale.ticks",{_scriptable:d=>"backdropPadding"!==d&&"callback"!==d,_indexable:d=>"backdropPadding"!==d})}]);function Yo(u,d,c,p,_){let w=d[_];return w||(w=d[_]=u.measureText(_).width,c.push(_)),w>p&&(p=w),p}function gl(u,d,c,p){let _=(p=p||{}).data=p.data||{},w=p.garbageCollect=p.garbageCollect||[];p.font!==d&&(_=p.data={},w=p.garbageCollect=[],p.font=d),u.save(),u.font=d;let O=0;const z=c.length;let Q,ce,we,Ke,_t;for(Q=0;Qc.length){for(Q=0;Q0&&u.stroke()}}function Fi(u,d,c){return c=c||.5,!d||u&&u.x>d.left-c&&u.xd.top-c&&u.y0&&""!==w.strokeColor;let Q,ce;for(u.save(),u.font=_.string,function Ho(u,d){d.translation&&u.translate(d.translation[0],d.translation[1]),Bn(d.rotation)||u.rotate(d.rotation),d.color&&(u.fillStyle=d.color),d.textAlign&&(u.textAlign=d.textAlign),d.textBaseline&&(u.textBaseline=d.textBaseline)}(u,w),Q=0;Q+u||0;function Xr(u,d){const c={},p=fi(d),_=p?Object.keys(d):d,w=fi(u)?p?O=>ve(u[O],u[d[O]]):O=>u[O]:()=>u;for(const O of _)c[O]=Aa(w(O));return c}function gr(u){return Xr(u,{top:"y",right:"x",bottom:"y",left:"x"})}function Us(u){return Xr(u,["topLeft","topRight","bottomLeft","bottomRight"])}function Rs(u){const d=gr(u);return d.width=d.left+d.right,d.height=d.top+d.bottom,d}function Mr(u,d){let c=ve((u=u||{}).size,(d=d||br.font).size);"string"==typeof c&&(c=parseInt(c,10));let p=ve(u.style,d.style);p&&!(""+p).match(Rn)&&(console.warn('Invalid font style specified: "'+p+'"'),p=void 0);const _={family:ve(u.family,d.family),lineHeight:Mo(ve(u.lineHeight,d.lineHeight),c),size:c,style:p,weight:ve(u.weight,d.weight),string:""};return _.string=function ds(u){return!u||Bn(u.size)||Bn(u.family)?null:(u.style?u.style+" ":"")+(u.weight?u.weight+" ":"")+u.size+"px "+u.family}(_),_}function Zr(u,d,c,p){let w,O,z,_=!0;for(w=0,O=u.length;wu[0])){const w=c||u;typeof p>"u"&&(p=Da("_fallback",u));const O={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:u,_rootScopes:w,_fallback:p,_getTarget:_,override:z=>Oo([z,...u],d,w,p)};return new Proxy(O,{deleteProperty:(z,Q)=>(delete z[Q],delete z._keys,delete u[0][Q],!0),get:(z,Q)=>Kl(z,Q,()=>function Hs(u,d,c,p){let _;for(const w of d)if(_=Da(xr(w,u),c),typeof _<"u")return fa(u,_)?pl(c,p,u,_):_}(Q,d,u,z)),getOwnPropertyDescriptor:(z,Q)=>Reflect.getOwnPropertyDescriptor(z._scopes[0],Q),getPrototypeOf:()=>Reflect.getPrototypeOf(u[0]),has:(z,Q)=>Za(z).includes(Q),ownKeys:z=>Za(z),set(z,Q,ce){const we=z._storage||(z._storage=_());return z[Q]=we[Q]=ce,delete z._keys,!0}})}function Js(u,d,c,p){const _={_cacheable:!1,_proxy:u,_context:d,_subProxy:c,_stack:new Set,_descriptors:Ia(u,p),setContext:w=>Js(u,w,c,p),override:w=>Js(u.override(w),d,c,p)};return new Proxy(_,{deleteProperty:(w,O)=>(delete w[O],delete u[O],!0),get:(w,O,z)=>Kl(w,O,()=>function vo(u,d,c){const{_proxy:p,_context:_,_subProxy:w,_descriptors:O}=u;let z=p[d];return Ls(z)&&O.isScriptable(d)&&(z=function io(u,d,c,p){const{_proxy:_,_context:w,_subProxy:O,_stack:z}=c;if(z.has(u))throw new Error("Recursion detected: "+Array.from(z).join("->")+"->"+u);z.add(u);let Q=d(w,O||p);return z.delete(u),fa(u,Q)&&(Q=pl(_._scopes,_,u,Q)),Q}(d,z,u,c)),xi(z)&&z.length&&(z=function Ci(u,d,c,p){const{_proxy:_,_context:w,_subProxy:O,_descriptors:z}=c;if(typeof w.index<"u"&&p(u))return d[w.index%d.length];if(fi(d[0])){const Q=d,ce=_._scopes.filter(we=>we!==Q);d=[];for(const we of Q){const Ke=pl(ce,_,u,we);d.push(Js(Ke,w,O&&O[u],z))}}return d}(d,z,u,O.isIndexable)),fa(d,z)&&(z=Js(z,_,w&&w[d],O)),z}(w,O,z)),getOwnPropertyDescriptor:(w,O)=>w._descriptors.allKeys?Reflect.has(u,O)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(u,O),getPrototypeOf:()=>Reflect.getPrototypeOf(u),has:(w,O)=>Reflect.has(u,O),ownKeys:()=>Reflect.ownKeys(u),set:(w,O,z)=>(u[O]=z,delete w[O],!0)})}function Ia(u,d={scriptable:!0,indexable:!0}){const{_scriptable:c=d.scriptable,_indexable:p=d.indexable,_allKeys:_=d.allKeys}=u;return{allKeys:_,scriptable:c,indexable:p,isScriptable:Ls(c)?c:()=>c,isIndexable:Ls(p)?p:()=>p}}const xr=(u,d)=>u?u+Do(d):d,fa=(u,d)=>fi(d)&&"adapters"!==u&&(null===Object.getPrototypeOf(d)||d.constructor===Object);function Kl(u,d,c){if(Object.prototype.hasOwnProperty.call(u,d)||"constructor"===d)return u[d];const p=c();return u[d]=p,p}function Pl(u,d,c){return Ls(u)?u(d,c):u}const tl=(u,d)=>!0===u?d:"string"==typeof u?bs(d,u):void 0;function ho(u,d,c,p,_){for(const w of d){const O=tl(c,w);if(O){u.add(O);const z=Pl(O._fallback,c,_);if(typeof z<"u"&&z!==c&&z!==p)return z}else if(!1===O&&typeof p<"u"&&c!==p)return null}return!1}function pl(u,d,c,p){const _=d._rootScopes,w=Pl(d._fallback,c,p),O=[...u,..._],z=new Set;z.add(p);let Q=Lr(z,O,c,w||c,p);return!(null===Q||typeof w<"u"&&w!==c&&(Q=Lr(z,O,w,Q,p),null===Q))&&Oo(Array.from(z),[""],_,w,()=>function Qs(u,d,c){const p=u._getTarget();d in p||(p[d]={});const _=p[d];return xi(_)&&fi(c)?c:_||{}}(d,c,p))}function Lr(u,d,c,p,_){for(;c;)c=ho(u,d,c,p,_);return c}function Da(u,d){for(const c of d){if(!c)continue;const p=c[u];if(typeof p<"u")return p}}function Za(u){let d=u._keys;return d||(d=u._keys=function jo(u){const d=new Set;for(const c of u)for(const p of Object.keys(c).filter(_=>!_.startsWith("_")))d.add(p);return Array.from(d)}(u._scopes)),d}function Sa(u,d,c,p){const{iScale:_}=u,{key:w="r"}=this._parsing,O=new Array(p);let z,Q,ce,we;for(z=0,Q=p;zd"x"===u?"y":"x";function ka(u,d,c,p){const _=u.skip?d:u,w=d,O=c.skip?d:c,z=it(w,_),Q=it(O,w);let ce=z/(z+Q),we=Q/(z+Q);ce=isNaN(ce)?0:ce,we=isNaN(we)?0:we;const Ke=p*ce,_t=p*we;return{previous:{x:w.x-Ke*(O.x-_.x),y:w.y-Ke*(O.y-_.y)},next:{x:w.x+_t*(O.x-_.x),y:w.y+_t*(O.y-_.y)}}}function il(u,d,c){return Math.max(Math.min(u,c),d)}function _l(u,d,c,p,_){let w,O,z,Q;if(d.spanGaps&&(u=u.filter(ce=>!ce.skip)),"monotone"===d.cubicInterpolationMode)!function Bc(u,d="x"){const c=lc(d),p=u.length,_=Array(p).fill(0),w=Array(p);let O,z,Q,ce=ia(u,0);for(O=0;Ou.ownerDocument.defaultView.getComputedStyle(u,null),Zt=["top","right","bottom","left"];function Yi(u,d,c){const p={};c=c?"-"+c:"";for(let _=0;_<4;_++){const w=Zt[_];p[w]=parseFloat(u[d+"-"+w+c])||0}return p.width=p.left+p.right,p.height=p.top+p.bottom,p}const lr=(u,d,c)=>(u>0||d>0)&&(!c||!c.shadowRoot);function Xs(u,d){if("native"in u)return u;const{canvas:c,currentDevicePixelRatio:p}=d,_=Ce(c),w="border-box"===_.boxSizing,O=Yi(_,"padding"),z=Yi(_,"border","width"),{x:Q,y:ce,box:we}=function ro(u,d){const c=u.touches,p=c&&c.length?c[0]:u,{offsetX:_,offsetY:w}=p;let z,Q,O=!1;if(lr(_,w,u.target))z=_,Q=w;else{const ce=d.getBoundingClientRect();z=p.clientX-ce.left,Q=p.clientY-ce.top,O=!0}return{x:z,y:Q,box:O}}(u,c),Ke=O.left+(we&&z.left),_t=O.top+(we&&z.top);let{width:Et,height:en}=d;return w&&(Et-=O.width+z.width,en-=O.height+z.height),{x:Math.round((Q-Ke)/Et*c.width/p),y:Math.round((ce-_t)/en*c.height/p)}}const Qo=u=>Math.round(10*u)/10;function Ts(u,d,c){const p=d||1,_=Math.floor(u.height*p),w=Math.floor(u.width*p);u.height=Math.floor(u.height),u.width=Math.floor(u.width);const O=u.canvas;return O.style&&(c||!O.style.height&&!O.style.width)&&(O.style.height=`${u.height}px`,O.style.width=`${u.width}px`),(u.currentDevicePixelRatio!==p||O.height!==_||O.width!==w)&&(u.currentDevicePixelRatio=p,O.height=_,O.width=w,u.ctx.setTransform(p,0,0,p,0,0),!0)}const rl=function(){let u=!1;try{const d={get passive(){return u=!0,!1}};ya()&&(window.addEventListener("test",null,d),window.removeEventListener("test",null,d))}catch{}return u}();function kc(u,d){const c=function ut(u,d){return Ce(u).getPropertyValue(d)}(u,d),p=c&&c.match(/^(\d+)(\.\d+)?px$/);return p?+p[1]:void 0}function Cs(u,d,c,p){return{x:u.x+c*(d.x-u.x),y:u.y+c*(d.y-u.y)}}function Rl(u,d,c,p){return{x:u.x+c*(d.x-u.x),y:"middle"===p?c<.5?u.y:d.y:"after"===p?c<1?u.y:d.y:c>0?d.y:u.y}}function pa(u,d,c,p){const _={x:u.cp2x,y:u.cp2y},w={x:d.cp1x,y:d.cp1y},O=Cs(u,_,c),z=Cs(_,w,c),Q=Cs(w,d,c),ce=Cs(O,z,c),we=Cs(z,Q,c);return Cs(ce,we,c)}function Fa(u,d,c){return u?function(u,d){return{x:c=>u+u+d-c,setWidth(c){d=c},textAlign:c=>"center"===c?c:"right"===c?"left":"right",xPlus:(c,p)=>c-p,leftForLtr:(c,p)=>c-p}}(d,c):{x:u=>u,setWidth(u){},textAlign:u=>u,xPlus:(u,d)=>u+d,leftForLtr:(u,d)=>u}}function so(u,d){let c,p;("ltr"===d||"rtl"===d)&&(c=u.canvas.style,p=[c.getPropertyValue("direction"),c.getPropertyPriority("direction")],c.setProperty("direction",d,"important"),u.prevTextDirection=p)}function Vs(u,d){void 0!==d&&(delete u.prevTextDirection,u.canvas.style.setProperty("direction",d[0],d[1]))}function Vn(u){return"angle"===u?{between:yn,compare:Ht,normalize:Kt}:{between:nn,compare:(d,c)=>d-c,normalize:d=>d}}function Ga({start:u,end:d,count:c,loop:p,style:_}){return{start:u%c,end:d%c,loop:p&&(d-u+1)%c==0,style:_}}function ai(u,d,c){if(!c)return[u];const{property:p,start:_,end:w}=c,O=d.length,{compare:z,between:Q,normalize:ce}=Vn(p),{start:we,end:Ke,loop:_t,style:Et}=function ra(u,d,c){const{property:p,start:_,end:w}=c,{between:O,normalize:z}=Vn(p),Q=d.length;let _t,Et,{start:ce,end:we,loop:Ke}=u;if(Ke){for(ce+=Q,we+=Q,_t=0,Et=Q;_tz({chart:d,initial:c.initial,numSteps:O,currentStep:Math.min(p-c.start,O)}))}_refresh(){this._request||(this._running=!0,this._request=Co.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(d=Date.now()){let c=0;this._charts.forEach((p,_)=>{if(!p.running||!p.items.length)return;const w=p.items;let Q,O=w.length-1,z=!1;for(;O>=0;--O)Q=w[O],Q._active?(Q._total>p.duration&&(p.duration=Q._total),Q.tick(d),z=!0):(w[O]=w[w.length-1],w.pop());z&&(_.draw(),this._notify(_,p,d,"progress")),w.length||(p.running=!1,this._notify(_,p,d,"complete"),p.initial=!1),c+=w.length}),this._lastDate=d,0===c&&(this._running=!1)}_getAnims(d){const c=this._charts;let p=c.get(d);return p||(p={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},c.set(d,p)),p}listen(d,c,p){this._getAnims(d).listeners[c].push(p)}add(d,c){!c||!c.length||this._getAnims(d).items.push(...c)}has(d){return this._getAnims(d).items.length>0}start(d){const c=this._charts.get(d);c&&(c.running=!0,c.start=Date.now(),c.duration=c.items.reduce((p,_)=>Math.max(p,_._duration),0),this._refresh())}running(d){if(!this._running)return!1;const c=this._charts.get(d);return!(!c||!c.running||!c.items.length)}stop(d){const c=this._charts.get(d);if(!c||!c.items.length)return;const p=c.items;let _=p.length-1;for(;_>=0;--_)p[_].cancel();c.items=[],this._notify(d,c,Date.now(),"complete")}remove(d){return this._charts.delete(d)}}var hs=new Xo;const vl="transparent",al={boolean:(u,d,c)=>c>.5?d:u,color(u,d,c){const p=Tt(u||vl),_=p.valid&&Tt(d||vl);return _&&_.valid?_.mix(p,c).hexString():d},number:(u,d,c)=>u+(d-u)*c};class qo{constructor(d,c,p,_){const w=c[p];_=Zr([d.to,_,w,d.from]);const O=Zr([d.from,w,_]);this._active=!0,this._fn=d.fn||al[d.type||typeof O],this._easing=En[d.easing]||En.linear,this._start=Math.floor(Date.now()+(d.delay||0)),this._duration=this._total=Math.floor(d.duration),this._loop=!!d.loop,this._target=c,this._prop=p,this._from=O,this._to=_,this._promises=void 0}active(){return this._active}update(d,c,p){if(this._active){this._notify(!1);const _=this._target[this._prop],w=p-this._start,O=this._duration-w;this._start=p,this._duration=Math.floor(Math.max(O,d.duration)),this._total+=w,this._loop=!!d.loop,this._to=Zr([d.to,c,_,d.from]),this._from=Zr([d.from,_,c])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(d){const c=d-this._start,p=this._duration,_=this._prop,w=this._from,O=this._loop,z=this._to;let Q;if(this._active=w!==z&&(O||c1?2-Q:Q,Q=this._easing(Math.min(1,Math.max(0,Q))),this._target[_]=this._fn(w,z,Q))}wait(){const d=this._promises||(this._promises=[]);return new Promise((c,p)=>{d.push({res:c,rej:p})})}_notify(d){const c=d?"res":"rej",p=this._promises||[];for(let _=0;_{const w=d[_];if(!fi(w))return;const O={};for(const z of c)O[z]=w[z];(xi(w.properties)&&w.properties||[_]).forEach(z=>{(z===_||!p.has(z))&&p.set(z,O)})})}_animateOptions(d,c){const p=c.options,_=function zo(u,d){if(!d)return;let c=u.options;if(c)return c.$shared&&(u.options=c=Object.assign({},c,{$shared:!1,$animations:{}})),c;u.options=d}(d,p);if(!_)return[];const w=this._createAnimations(_,p);return p.$shared&&function hr(u,d){const c=[],p=Object.keys(d);for(let _=0;_{d.options=p},()=>{}),w}_createAnimations(d,c){const p=this._properties,_=[],w=d.$animations||(d.$animations={}),O=Object.keys(c),z=Date.now();let Q;for(Q=O.length-1;Q>=0;--Q){const ce=O[Q];if("$"===ce.charAt(0))continue;if("options"===ce){_.push(...this._animateOptions(d,c));continue}const we=c[ce];let Ke=w[ce];const _t=p.get(ce);if(Ke){if(_t&&Ke.active()){Ke.update(_t,we,z);continue}Ke.cancel()}_t&&_t.duration?(w[ce]=Ke=new qo(_t,d,ce,we),_.push(Ke)):d[ce]=we}return _}update(d,c){if(0===this._properties.size)return void Object.assign(d,c);const p=this._createAnimations(d,c);return p.length?(hs.add(this._chart,p),!0):void 0}}function Wr(u,d){const c=u&&u.options||{},p=c.reverse,_=void 0===c.min?d:0,w=void 0===c.max?d:0;return{start:p?w:_,end:p?_:w}}function re(u,d){const c=[],p=u._getSortedDatasetMetas(d);let _,w;for(_=0,w=p.length;_0||!c&&w<0)return _.index}return null}function ps(u,d){const{chart:c,_cachedMeta:p}=u,_=c._stacks||(c._stacks={}),{iScale:w,vScale:O,index:z}=p,Q=w.axis,ce=O.axis,we=function Ut(u,d,c){return`${u.id}.${d.id}.${c.stack||c.type}`}(w,O,p),Ke=d.length;let _t;for(let Et=0;Etc[p].axis===d).shift()}function Ws(u,d){const c=u.controller.index,p=u.vScale&&u.vScale.axis;if(p){d=d||u._parsed;for(const _ of d){const w=_._stacks;if(!w||void 0===w[p]||void 0===w[p][c])return;delete w[p][c],void 0!==w[p]._visualValues&&void 0!==w[p]._visualValues[c]&&delete w[p]._visualValues[c]}}}const ks=u=>"reset"===u||"none"===u,rs=(u,d)=>d?u:Object.assign({},u);let Zs=(()=>class u{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(c,p){this.chart=c,this._ctx=c.ctx,this.index=p,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const c=this._cachedMeta;this.configure(),this.linkScales(),c._stacked=We(c.vScale,c),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(c){this.index!==c&&Ws(this._cachedMeta),this.index=c}linkScales(){const c=this.chart,p=this._cachedMeta,_=this.getDataset(),w=(_t,Et,en,an)=>"x"===_t?Et:"r"===_t?an:en,O=p.xAxisID=ve(_.xAxisID,qr(c,"x")),z=p.yAxisID=ve(_.yAxisID,qr(c,"y")),Q=p.rAxisID=ve(_.rAxisID,qr(c,"r")),ce=p.indexAxis,we=p.iAxisID=w(ce,O,z,Q),Ke=p.vAxisID=w(ce,z,O,Q);p.xScale=this.getScaleForId(O),p.yScale=this.getScaleForId(z),p.rScale=this.getScaleForId(Q),p.iScale=this.getScaleForId(we),p.vScale=this.getScaleForId(Ke)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(c){return this.chart.scales[c]}_getOtherScale(c){const p=this._cachedMeta;return c===p.iScale?p.vScale:p.iScale}reset(){this._update("reset")}_destroy(){const c=this._cachedMeta;this._data&&yr(this._data,this),c._stacked&&Ws(c)}_dataCheck(){const c=this.getDataset(),p=c.data||(c.data=[]),_=this._data;if(fi(p))this._data=function Te(u,d){const{iScale:c,vScale:p}=d,_="x"===c.axis?"x":"y",w="x"===p.axis?"x":"y",O=Object.keys(u),z=new Array(O.length);let Q,ce,we;for(Q=0,ce=O.length;Q{const p="_onData"+Do(c),_=u[c];Object.defineProperty(u,c,{configurable:!0,enumerable:!1,value(...w){const O=_.apply(this,w);return u._chartjs.listeners.forEach(z=>{"function"==typeof z[p]&&z[p](...w)}),O}})}))}(p,this),this._syncList=[],this._data=p}}addElements(){const c=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(c.dataset=new this.datasetElementType)}buildOrUpdateElements(c){const p=this._cachedMeta,_=this.getDataset();let w=!1;this._dataCheck();const O=p._stacked;p._stacked=We(p.vScale,p),p.stack!==_.stack&&(w=!0,Ws(p),p.stack=_.stack),this._resyncElements(c),(w||O!==p._stacked)&&ps(this,p._parsed)}configure(){const c=this.chart.config,p=c.datasetScopeKeys(this._type),_=c.getOptionScopes(this.getDataset(),p,!0);this.options=c.createResolver(_,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(c,p){const{_cachedMeta:_,_data:w}=this,{iScale:O,_stacked:z}=_,Q=O.axis;let Ke,_t,Et,ce=0===c&&p===w.length||_._sorted,we=c>0&&_._parsed[c-1];if(!1===this._parsing)_._parsed=w,_._sorted=!0,Et=w;else{Et=xi(w[c])?this.parseArrayData(_,w,c,p):fi(w[c])?this.parseObjectData(_,w,c,p):this.parsePrimitiveData(_,w,c,p);const en=()=>null===_t[Q]||we&&_t[Q]u&&!d.hidden&&d._stacked&&{keys:re(this.chart,!0),values:null})(p,_),we={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:Ke,max:_t}=function Ln(u){const{min:d,max:c,minDefined:p,maxDefined:_}=u.getUserBounds();return{min:p?d:Number.NEGATIVE_INFINITY,max:_?c:Number.POSITIVE_INFINITY}}(Q);let Et,en;function an(){en=w[Et];const gn=en[Q.axis];return!Mt(en[c.axis])||Ke>gn||_t=0;--Et)if(!an()){this.updateRangeFromParsed(we,c,en,ce);break}return we}getAllParsedValues(c){const p=this._cachedMeta._parsed,_=[];let w,O,z;for(w=0,O=p.length;w=0&&cthis.getContext(_,w,p),_t);return gn.$shared&&(gn.$shared=ce,O[z]=Object.freeze(rs(gn,ce))),gn}_resolveAnimations(c,p,_){const w=this.chart,O=this._cachedDataOpts,z=`animation-${p}`,Q=O[z];if(Q)return Q;let ce;if(!1!==w.options.animation){const Ke=this.chart.config,_t=Ke.datasetAnimationScopeKeys(this._type,p),Et=Ke.getOptionScopes(this.getDataset(),_t);ce=Ke.createResolver(Et,this.getContext(c,_,p))}const we=new Io(w,ce&&ce.animations);return ce&&ce._cacheable&&(O[z]=Object.freeze(we)),we}getSharedOptions(c){if(c.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},c))}includeOptions(c,p){return!p||ks(c)||this.chart._animationsDisabled}_getSharedOptions(c,p){const _=this.resolveDataElementOptions(c,p),w=this._sharedOptions,O=this.getSharedOptions(_),z=this.includeOptions(p,O)||O!==w;return this.updateSharedOptions(O,p,_),{sharedOptions:O,includeOptions:z}}updateElement(c,p,_,w){ks(w)?Object.assign(c,_):this._resolveAnimations(p,w).update(c,_)}updateSharedOptions(c,p,_){c&&!ks(p)&&this._resolveAnimations(void 0,p).update(c,_)}_setStyle(c,p,_,w){c.active=w;const O=this.getStyle(p,w);this._resolveAnimations(p,_,w).update(c,{options:!w&&this.getSharedOptions(O)||O})}removeHoverStyle(c,p,_){this._setStyle(c,_,"active",!1)}setHoverStyle(c,p,_){this._setStyle(c,_,"active",!0)}_removeDatasetHoverStyle(){const c=this._cachedMeta.dataset;c&&this._setStyle(c,void 0,"active",!1)}_setDatasetHoverStyle(){const c=this._cachedMeta.dataset;c&&this._setStyle(c,void 0,"active",!0)}_resyncElements(c){const p=this._data,_=this._cachedMeta.data;for(const[Q,ce,we]of this._syncList)this[Q](ce,we);this._syncList=[];const w=_.length,O=p.length,z=Math.min(O,w);z&&this.parse(0,z),O>w?this._insertElements(w,O-w,c):O{for(we.length+=p,Q=we.length-1;Q>=z;Q--)we[Q]=we[Q-p]};for(ce(O),Q=c;Q_-w))}return u._cache.$bar}(d,u.type);let _,w,O,z,p=d._length;const Q=()=>{32767===O||-32768===O||(Ms(z)&&(p=Math.min(p,Math.abs(O-z)||p)),z=O)};for(_=0,w=c.length;_Math.abs(z)&&(Q=z,ce=O),d[c.axis]=ce,d._custom={barStart:Q,barEnd:ce,start:_,end:w,min:O,max:z}}(u,d,c,p):d[c.axis]=c.parse(u,p),d}function Es(u,d,c,p){const _=u.iScale,w=u.vScale,O=_.getLabels(),z=_===w,Q=[];let ce,we,Ke,_t;for(ce=c,we=c+p;ceu.x,c="left",p="right"):(d=u.baseclass u extends Zs{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(c,p,_,w){return Es(c,p,_,w)}parseArrayData(c,p,_,w){return Es(c,p,_,w)}parseObjectData(c,p,_,w){const{iScale:O,vScale:z}=c,{xAxisKey:Q="x",yAxisKey:ce="y"}=this._parsing,we="x"===O.axis?Q:ce,Ke="x"===z.axis?Q:ce,_t=[];let Et,en,an,gn;for(Et=_,en=_+w;Etce.controller.options.grouped),O=_.options.stacked,z=[],Q=ce=>{const we=ce.controller.getParsed(p),Ke=we&&we[ce.vScale.axis];if(Bn(Ke)||isNaN(Ke))return!0};for(const ce of w)if((void 0===p||!Q(ce))&&((!1===O||-1===z.indexOf(ce.stack)||void 0===O&&void 0===ce.stack)&&z.push(ce.stack),ce.index===c))break;return z.length||z.push(void 0),z}_getStackCount(c){return this._getStacks(void 0,c).length}_getStackIndex(c,p,_){const w=this._getStacks(c,_),O=void 0!==p?w.indexOf(p):-1;return-1===O?w.length-1:O}_getRuler(){const c=this.options,p=this._cachedMeta,_=p.iScale,w=[];let O,z;for(O=0,z=p.data.length;O=c?1:-1)}(gn,p,Q)*z,_t===Q&&(Jn-=gn/2);const Mi=p.getPixelForDecimal(0),Li=p.getPixelForDecimal(1),gi=Math.min(Mi,Li),Di=Math.max(Mi,Li);Jn=Math.max(Math.min(Jn,Di),gi),an=Jn+gn,_&&!Ke&&(ce._stacks[p.axis]._visualValues[w]=p.getValueForPixel(an)-p.getValueForPixel(Jn))}if(Jn===p.getPixelForValue(Q)){const Mi=Bt(gn)*p.getLineWidthForValue(Q)/2;Jn+=Mi,gn-=Mi}return{size:gn,base:Jn,head:an,center:an+gn/2}}_calculateBarIndexPixels(c,p){const _=p.scale,w=this.options,O=w.skipNull,z=ve(w.maxBarThickness,1/0);let Q,ce;if(p.grouped){const we=O?this._getStackCount(c):p.stackCount,Ke="flex"===w.barThickness?function fo(u,d,c,p){const _=d.pixels,w=_[u];let O=u>0?_[u-1]:null,z=u<_.length-1?_[u+1]:null;const Q=c.categoryPercentage;null===O&&(O=w-(null===z?d.end-d.start:z-w)),null===z&&(z=w+w-O);const ce=w-(w-Math.min(O,z))/2*Q;return{chunk:Math.abs(z-O)/2*Q/p,ratio:c.barPercentage,start:ce}}(c,p,w,we):function $a(u,d,c,p){const _=c.barThickness;let w,O;return Bn(_)?(w=d.min*c.categoryPercentage,O=c.barPercentage):(w=_*p,O=1),{chunk:w/p,ratio:O,start:d.pixels[u]-w/2}}(c,p,w,we),_t=this._getStackIndex(this.index,this._cachedMeta.stack,O?c:void 0);Q=Ke.start+Ke.chunk*_t+Ke.chunk/2,ce=Math.min(z,Ke.chunk*Ke.ratio)}else Q=_.getPixelForValue(this.getParsed(c)[_.axis],c),ce=Math.min(z,p.min*p.ratio);return{base:Q-ce/2,head:Q+ce/2,center:Q,size:ce}}draw(){const c=this._cachedMeta,p=c.vScale,_=c.data,w=_.length;let O=0;for(;Oclass u extends Zs{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(c,p,_,w){const O=super.parsePrimitiveData(c,p,_,w);for(let z=0;z=0;--_)p=Math.max(p,c[_].size(this.resolveDataElementOptions(_))/2);return p>0&&p}getLabelAndValue(c){const p=this._cachedMeta,_=this.chart.data.labels||[],{xScale:w,yScale:O}=p,z=this.getParsed(c),Q=w.getLabelForValue(z.x),ce=O.getLabelForValue(z.y),we=z._custom;return{label:_[c]||"",value:"("+Q+", "+ce+(we?", "+we:"")+")"}}update(c){const p=this._cachedMeta.data;this.updateElements(p,0,p.length,c)}updateElements(c,p,_,w){const O="reset"===w,{iScale:z,vScale:Q}=this._cachedMeta,{sharedOptions:ce,includeOptions:we}=this._getSharedOptions(p,w),Ke=z.axis,_t=Q.axis;for(let Et=p;Etclass u extends Zs{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:c=>"spacing"!==c,_indexable:c=>"spacing"!==c&&!c.startsWith("borderDash")&&!c.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(c){const p=c.data;if(p.labels.length&&p.datasets.length){const{labels:{pointStyle:_,color:w}}=c.legend.options;return p.labels.map((O,z)=>{const ce=c.getDatasetMeta(0).controller.getStyle(z);return{text:O,fillStyle:ce.backgroundColor,strokeStyle:ce.borderColor,fontColor:w,lineWidth:ce.borderWidth,pointStyle:_,hidden:!c.getDataVisibility(z),index:z}})}return[]}},onClick(c,p,_){_.chart.toggleDataVisibility(p.index),_.chart.update()}}}};constructor(c,p){super(c,p),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(c,p){const _=this.getDataset().data,w=this._cachedMeta;if(!1===this._parsing)w._parsed=_;else{let z,Q,O=ce=>+_[ce];if(fi(_[c])){const{key:ce="value"}=this._parsing;O=we=>+bs(_[we],ce)}for(z=c,Q=c+p;z"string"==typeof u&&u.endsWith("%")?parseFloat(u)/100:+u/d)(this.options.cutout,Q),1),we=this._getRingWeight(this.index),{circumference:Ke,rotation:_t}=this._getRotationExtents(),{ratioX:Et,ratioY:en,offsetX:an,offsetY:gn}=function _a(u,d,c){let p=1,_=1,w=0,O=0;if(dyn(Mi,z,Q,!0)?1:Math.max(Li,Li*c,gi,gi*c),en=(Mi,Li,gi)=>yn(Mi,z,Q,!0)?-1:Math.min(Li,Li*c,gi,gi*c),an=Et(0,ce,Ke),gn=Et(Sr,we,_t),Qn=en(Pt,ce,Ke),Jn=en(Pt+Sr,we,_t);p=(an-Qn)/2,_=(gn-Jn)/2,w=-(an+Qn)/2,O=-(gn+Jn)/2}return{ratioX:p,ratioY:_,offsetX:w,offsetY:O}}(_t,Ke,ce),Mi=Math.max(Math.min((_.width-z)/Et,(_.height-z)/en)/2,0),Li=xe(this.options.radius,Mi),Di=(Li-Math.max(Li*ce,0))/this._getVisibleDatasetWeightTotal();this.offsetX=an*Li,this.offsetY=gn*Li,w.total=this.calculateTotal(),this.outerRadius=Li-Di*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-Di*we,0),this.updateElements(O,0,O.length,c)}_circumference(c,p){const _=this.options,w=this._cachedMeta,O=this._getCircumference();return p&&_.animation.animateRotate||!this.chart.getDataVisibility(c)||null===w._parsed[c]||w.data[c].hidden?0:this.calculateCircumference(w._parsed[c]*O/ln)}updateElements(c,p,_,w){const O="reset"===w,z=this.chart,Q=z.chartArea,Ke=(Q.left+Q.right)/2,_t=(Q.top+Q.bottom)/2,Et=O&&z.options.animation.animateScale,en=Et?0:this.innerRadius,an=Et?0:this.outerRadius,{sharedOptions:gn,includeOptions:Qn}=this._getSharedOptions(p,w);let Mi,Jn=this._getRotation();for(Mi=0;Mi0&&!isNaN(c)?ln*(Math.abs(c)/p):0}getLabelAndValue(c){const _=this.chart,w=_.data.labels||[],O=Fo(this._cachedMeta._parsed[c],_.options.locale);return{label:w[c]||"",value:O}}getMaxBorderWidth(c){let p=0;const _=this.chart;let w,O,z,Q,ce;if(!c)for(w=0,O=_.data.datasets.length;wclass u extends Zs{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(c){const p=this._cachedMeta,{dataset:_,data:w=[],_dataset:O}=p,z=this.chart._animationsDisabled;let{start:Q,count:ce}=wo(p,w,z);this._drawStart=Q,this._drawCount=ce,Ra(p)&&(Q=0,ce=w.length),_._chart=this.chart,_._datasetIndex=this.index,_._decimated=!!O._decimated,_.points=w;const we=this.resolveDatasetElementOptions(c);this.options.showLine||(we.borderWidth=0),we.segment=this.options.segment,this.updateElement(_,void 0,{animated:!z,options:we},c),this.updateElements(w,Q,ce,c)}updateElements(c,p,_,w){const O="reset"===w,{iScale:z,vScale:Q,_stacked:ce,_dataset:we}=this._cachedMeta,{sharedOptions:Ke,includeOptions:_t}=this._getSharedOptions(p,w),Et=z.axis,en=Q.axis,{spanGaps:an,segment:gn}=this.options,Qn=Ri(an)?an:Number.POSITIVE_INFINITY,Jn=this.chart._animationsDisabled||O||"none"===w,Mi=p+_,Li=c.length;let gi=p>0&&this.getParsed(p-1);for(let Di=0;Di=Mi){Wi.skip=!0;continue}const Yr=this.getParsed(Di),Gs=Bn(Yr[en]),to=Wi[Et]=z.getPixelForValue(Yr[Et],Di),lo=Wi[en]=O||Gs?Q.getBasePixel():Q.getPixelForValue(ce?this.applyStack(Q,Yr,ce):Yr[en],Di);Wi.skip=isNaN(to)||isNaN(lo)||Gs,Wi.stop=Di>0&&Math.abs(Yr[Et]-gi[Et])>Qn,gn&&(Wi.parsed=Yr,Wi.raw=we.data[Di]),_t&&(Wi.options=Ke||this.resolveDataElementOptions(Di,vr.active?"active":w)),Jn||this.updateElement(vr,Di,Wi,w),gi=Yr}}getMaxOverflow(){const c=this._cachedMeta,p=c.dataset,_=p.options&&p.options.borderWidth||0,w=c.data||[];if(!w.length)return _;const O=w[0].size(this.resolveDataElementOptions(0)),z=w[w.length-1].size(this.resolveDataElementOptions(w.length-1));return Math.max(_,O,z)/2}draw(){const c=this._cachedMeta;c.dataset.updateControlPoints(this.chart.chartArea,c.iScale.axis),super.draw()}})(),Pc=(()=>class u extends Zs{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(c){const p=c.data;if(p.labels.length&&p.datasets.length){const{labels:{pointStyle:_,color:w}}=c.legend.options;return p.labels.map((O,z)=>{const ce=c.getDatasetMeta(0).controller.getStyle(z);return{text:O,fillStyle:ce.backgroundColor,strokeStyle:ce.borderColor,fontColor:w,lineWidth:ce.borderWidth,pointStyle:_,hidden:!c.getDataVisibility(z),index:z}})}return[]}},onClick(c,p,_){_.chart.toggleDataVisibility(p.index),_.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(c,p){super(c,p),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(c){const _=this.chart,w=_.data.labels||[],O=Fo(this._cachedMeta._parsed[c].r,_.options.locale);return{label:w[c]||"",value:O}}parseObjectData(c,p,_,w){return Sa.bind(this)(c,p,_,w)}update(c){const p=this._cachedMeta.data;this._updateRadius(),this.updateElements(p,0,p.length,c)}getMinMax(){const p={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((_,w)=>{const O=this.getParsed(w).r;!isNaN(O)&&this.chart.getDataVisibility(w)&&(Op.max&&(p.max=O))}),p}_updateRadius(){const c=this.chart,p=c.chartArea,_=c.options,w=Math.min(p.right-p.left,p.bottom-p.top),O=Math.max(w/2,0),Q=(O-Math.max(_.cutoutPercentage?O/100*_.cutoutPercentage:1,0))/c.getVisibleDatasetCount();this.outerRadius=O-Q*this.index,this.innerRadius=this.outerRadius-Q}updateElements(c,p,_,w){const O="reset"===w,z=this.chart,ce=z.options.animation,we=this._cachedMeta.rScale,Ke=we.xCenter,_t=we.yCenter,Et=we.getIndexAngle(0)-.5*Pt;let an,en=Et;const gn=360/this.countVisibleElements();for(an=0;an{!isNaN(this.getParsed(w).r)&&this.chart.getDataVisibility(w)&&p++}),p}_computeAngle(c,p,_){return this.chart.getDataVisibility(c)?Xe(this.resolveDataElementOptions(c,p).angle||_):0}})();var cr=Object.freeze({__proto__:null,BarController:xl,BubbleController:Xl,DoughnutController:cc,LineController:Hc,PieController:(()=>class u extends cc{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}})(),PolarAreaController:Pc,RadarController:(()=>class u extends Zs{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(c){const p=this._cachedMeta.vScale,_=this.getParsed(c);return{label:p.getLabels()[c],value:""+p.getLabelForValue(_[p.axis])}}parseObjectData(c,p,_,w){return Sa.bind(this)(c,p,_,w)}update(c){const p=this._cachedMeta,_=p.dataset,w=p.data||[],O=p.iScale.getLabels();if(_.points=w,"resize"!==c){const z=this.resolveDatasetElementOptions(c);this.options.showLine||(z.borderWidth=0),this.updateElement(_,void 0,{_loop:!0,_fullLoop:O.length===w.length,options:z},c)}this.updateElements(w,0,w.length,c)}updateElements(c,p,_,w){const O=this._cachedMeta.rScale,z="reset"===w;for(let Q=p;Qclass u extends Zs{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(c){const p=this._cachedMeta,_=this.chart.data.labels||[],{xScale:w,yScale:O}=p,z=this.getParsed(c),Q=w.getLabelForValue(z.x),ce=O.getLabelForValue(z.y);return{label:_[c]||"",value:"("+Q+", "+ce+")"}}update(c){const p=this._cachedMeta,{data:_=[]}=p,w=this.chart._animationsDisabled;let{start:O,count:z}=wo(p,_,w);if(this._drawStart=O,this._drawCount=z,Ra(p)&&(O=0,z=_.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:Q,_dataset:ce}=p;Q._chart=this.chart,Q._datasetIndex=this.index,Q._decimated=!!ce._decimated,Q.points=_;const we=this.resolveDatasetElementOptions(c);we.segment=this.options.segment,this.updateElement(Q,void 0,{animated:!w,options:we},c)}else this.datasetElementType&&(delete p.dataset,this.datasetElementType=!1);this.updateElements(_,O,z,c)}addElements(){const{showLine:c}=this.options;!this.datasetElementType&&c&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(c,p,_,w){const O="reset"===w,{iScale:z,vScale:Q,_stacked:ce,_dataset:we}=this._cachedMeta,Ke=this.resolveDataElementOptions(p,w),_t=this.getSharedOptions(Ke),Et=this.includeOptions(w,_t),en=z.axis,an=Q.axis,{spanGaps:gn,segment:Qn}=this.options,Jn=Ri(gn)?gn:Number.POSITIVE_INFINITY,Mi=this.chart._animationsDisabled||O||"none"===w;let Li=p>0&&this.getParsed(p-1);for(let gi=p;gi0&&Math.abs(vr[en]-Li[en])>Jn,Qn&&(Wi.parsed=vr,Wi.raw=we.data[gi]),Et&&(Wi.options=_t||this.resolveDataElementOptions(gi,Di.active?"active":w)),Mi||this.updateElement(Di,gi,Wi,w),Li=vr}this.updateSharedOptions(_t,w,Ke)}getMaxOverflow(){const c=this._cachedMeta,p=c.data||[];if(!this.options.showLine){let Q=0;for(let ce=p.length-1;ce>=0;--ce)Q=Math.max(Q,p[ce].size(this.resolveDataElementOptions(ce))/2);return Q>0&&Q}const _=c.dataset,w=_.options&&_.options.borderWidth||0;if(!p.length)return w;const O=p[0].size(this.resolveDataElementOptions(0)),z=p[p.length-1].size(this.resolveDataElementOptions(p.length-1));return Math.max(w,O,z)/2}})()});function Tl(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Bl{static override(d){Object.assign(Bl.prototype,d)}options;constructor(d){this.options=d||{}}init(){}formats(){return Tl()}parse(){return Tl()}format(){return Tl()}add(){return Tl()}diff(){return Tl()}startOf(){return Tl()}endOf(){return Tl()}}var Ac__date=Bl;function au(u,d,c,p){const{controller:_,data:w,_sorted:O}=u,z=_._cachedMeta.iScale;if(z&&d===z.axis&&"r"!==d&&O&&w.length){const Q=z._reversePixels?Hr:yi;if(!p)return Q(w,d,c);if(_._sharedOptions){const ce=w[0],we="function"==typeof ce.getRange&&ce.getRange(d);if(we){const Ke=Q(w,d,c-we),_t=Q(w,d,c+we);return{lo:Ke.lo,hi:_t.hi}}}}return{lo:0,hi:w.length-1}}function ic(u,d,c,p,_){const w=u.getSortedVisibleDatasetMetas(),O=c[d];for(let z=0,Q=w.length;z{Q[O](d[c],_)&&(w.push({element:Q,datasetIndex:ce,index:we}),z=z||Q.inRange(d.x,d.y,_))}),p&&!z?[]:w}var $c={evaluateInteractionItems:ic,modes:{index(u,d,c,p){const _=Xs(d,u),w=c.axis||"x",O=c.includeInvisible||!1,z=c.intersect?El(u,_,w,p,O):rc(u,_,w,!1,p,O),Q=[];return z.length?(u.getSortedVisibleDatasetMetas().forEach(ce=>{const we=z[0].index,Ke=ce.data[we];Ke&&!Ke.skip&&Q.push({element:Ke,datasetIndex:ce.index,index:we})}),Q):[]},dataset(u,d,c,p){const _=Xs(d,u),w=c.axis||"xy",O=c.includeInvisible||!1;let z=c.intersect?El(u,_,w,p,O):rc(u,_,w,!1,p,O);if(z.length>0){const Q=z[0].datasetIndex,ce=u.getDatasetMeta(Q).data;z=[];for(let we=0;weEl(u,Xs(d,u),c.axis||"xy",p,c.includeInvisible||!1),nearest:(u,d,c,p)=>rc(u,Xs(d,u),c.axis||"xy",c.intersect,p,c.includeInvisible||!1),x:(u,d,c,p)=>Vo(u,Xs(d,u),"x",c.intersect,p),y:(u,d,c,p)=>Vo(u,Xs(d,u),"y",c.intersect,p)}};const ii=["left","top","right","bottom"];function es(u,d){return u.filter(c=>c.pos===d)}function Ic(u,d){return u.filter(c=>-1===ii.indexOf(c.pos)&&c.box.axis===d)}function Ul(u,d){return u.sort((c,p)=>{const _=d?p:c,w=d?c:p;return _.weight===w.weight?_.index-w.index:_.weight-w.weight})}function Ea(u,d,c,p){return Math.max(u[c],d[c])+Math.max(u[p],d[p])}function wl(u,d){u.top=Math.max(u.top,d.top),u.left=Math.max(u.left,d.left),u.bottom=Math.max(u.bottom,d.bottom),u.right=Math.max(u.right,d.right)}function jc(u,d,c,p){const{pos:_,box:w}=c,O=u.maxPadding;if(!fi(_)){c.size&&(u[_]-=c.size);const Ke=p[c.stack]||{size:0,count:1};Ke.size=Math.max(Ke.size,c.horizontal?w.height:w.width),c.size=Ke.size/Ke.count,u[_]+=c.size}w.getPadding&&wl(O,w.getPadding());const z=Math.max(0,d.outerWidth-Ea(O,u,"left","right")),Q=Math.max(0,d.outerHeight-Ea(O,u,"top","bottom")),ce=z!==u.w,we=Q!==u.h;return u.w=z,u.h=Q,c.horizontal?{same:ce,other:we}:{same:we,other:ce}}function Fc(u,d){const c=d.maxPadding;return function p(_){const w={left:0,top:0,right:0,bottom:0};return _.forEach(O=>{w[O]=Math.max(d[O],c[O])}),w}(u?["left","right"]:["top","bottom"])}function sa(u,d,c,p){const _=[];let w,O,z,Q,ce,we;for(w=0,O=u.length,ce=0;wce.box.fullSize),!0),p=Ul(es(d,"left"),!0),_=Ul(es(d,"right")),w=Ul(es(d,"top"),!0),O=Ul(es(d,"bottom")),z=Ic(d,"x"),Q=Ic(d,"y");return{fullSize:c,leftAndTop:p.concat(w),rightAndBottom:_.concat(Q).concat(O).concat(z),chartArea:es(d,"chartArea"),vertical:p.concat(_).concat(Q),horizontal:w.concat(O).concat(z)}}(u.boxes),Q=z.vertical,ce=z.horizontal;xt(u.boxes,an=>{"function"==typeof an.beforeLayout&&an.beforeLayout()});const we=Q.reduce((an,gn)=>gn.box.options&&!1===gn.box.options.display?an:an+1,0)||1,Ke=Object.freeze({outerWidth:d,outerHeight:c,padding:_,availableWidth:w,availableHeight:O,vBoxMaxWidth:w/2/we,hBoxMaxHeight:O/2}),_t=Object.assign({},_);wl(_t,Rs(p));const Et=Object.assign({maxPadding:_t,w,h:O,x:_.left,y:_.top},_),en=function Al(u,d){const c=function Rc(u){const d={};for(const c of u){const{stack:p,pos:_,stackWeight:w}=c;if(!p||!ii.includes(_))continue;const O=d[p]||(d[p]={count:0,placed:0,weight:0,size:0});O.count++,O.weight+=w}return d}(u),{vBoxMaxWidth:p,hBoxMaxHeight:_}=d;let w,O,z;for(w=0,O=u.length;w{const gn=an.box;Object.assign(gn,u.chartArea),gn.update(Et.w,Et.h,{left:0,top:0,right:0,bottom:0})})}};class Ua{acquireContext(d,c){}releaseContext(d){return!1}addEventListener(d,c,p){}removeEventListener(d,c,p){}getDevicePixelRatio(){return 1}getMaximumSize(d,c,p,_){return c=Math.max(0,c||d.width),p=p||d.height,{width:c,height:Math.max(0,_?Math.floor(c/_):p)}}isAttached(d){return!0}updateConfig(d){}}class dc extends Ua{acquireContext(d){return d&&d.getContext&&d.getContext("2d")||null}updateConfig(d){d.options.animation=!1}}const he="$chartjs",jt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},L=u=>null===u||""===u,je=!!rl&&{passive:!0};function v(u,d,c){u&&u.canvas&&u.canvas.removeEventListener(d,c,je)}function W(u,d){for(const c of u)if(c===d||c.contains(d))return!0}function ue(u,d,c){const p=u.canvas,_=new MutationObserver(w=>{let O=!1;for(const z of w)O=O||W(z.addedNodes,p),O=O&&!W(z.removedNodes,p);O&&c()});return _.observe(document,{childList:!0,subtree:!0}),_}function be(u,d,c){const p=u.canvas,_=new MutationObserver(w=>{let O=!1;for(const z of w)O=O||W(z.removedNodes,p),O=O&&!W(z.addedNodes,p);O&&c()});return _.observe(document,{childList:!0,subtree:!0}),_}const et=new Map;let q=0;function U(){const u=window.devicePixelRatio;u!==q&&(q=u,et.forEach((d,c)=>{c.currentDevicePixelRatio!==u&&d()}))}function pe(u,d,c){const p=u.canvas,_=p&&Ne(p);if(!_)return;const w=ns((z,Q)=>{const ce=_.clientWidth;c(z,Q),ce<_.clientWidth&&c()},window),O=new ResizeObserver(z=>{const Q=z[0],ce=Q.contentRect.width,we=Q.contentRect.height;0===ce&&0===we||w(ce,we)});return O.observe(_),function Y(u,d){et.size||window.addEventListener("resize",U),et.set(u,d)}(u,w),O}function Ve(u,d,c){c&&c.disconnect(),"resize"===d&&function ne(u){et.delete(u),et.size||window.removeEventListener("resize",U)}(u)}function bt(u,d,c){const p=u.canvas,_=ns(w=>{null!==u.ctx&&c(function M(u,d){const c=jt[u.type]||u.type,{x:p,y:_}=Xs(u,d);return{type:c,chart:d,native:u,x:void 0!==p?p:null,y:void 0!==_?_:null}}(w,u))},u);return function E(u,d,c){u&&u.addEventListener(d,c,je)}(p,d,_),_}class It extends Ua{acquireContext(d,c){const p=d&&d.getContext&&d.getContext("2d");return p&&p.canvas===d?(function Ue(u,d){const c=u.style,p=u.getAttribute("height"),_=u.getAttribute("width");if(u[he]={initial:{height:p,width:_,style:{display:c.display,height:c.height,width:c.width}}},c.display=c.display||"block",c.boxSizing=c.boxSizing||"border-box",L(_)){const w=kc(u,"width");void 0!==w&&(u.width=w)}if(L(p))if(""===u.style.height)u.height=u.width/(d||2);else{const w=kc(u,"height");void 0!==w&&(u.height=w)}}(d,c),p):null}releaseContext(d){const c=d.canvas;if(!c[he])return!1;const p=c[he].initial;["height","width"].forEach(w=>{const O=p[w];Bn(O)?c.removeAttribute(w):c.setAttribute(w,O)});const _=p.style||{};return Object.keys(_).forEach(w=>{c.style[w]=_[w]}),c.width=c.width,delete c[he],!0}addEventListener(d,c,p){this.removeEventListener(d,c),(d.$proxies||(d.$proxies={}))[c]=({attach:ue,detach:be,resize:pe}[c]||bt)(d,c,p)}removeEventListener(d,c){const p=d.$proxies||(d.$proxies={}),_=p[c];_&&(({attach:Ve,detach:Ve,resize:Ve}[c]||v)(d,c,_),p[c]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(d,c,p,_){return function ga(u,d,c,p){const _=Ce(u),w=Yi(_,"margin"),O=ze(_.maxWidth,u,"clientWidth")||li,z=ze(_.maxHeight,u,"clientHeight")||li,Q=function Jo(u,d,c){let p,_;if(void 0===d||void 0===c){const w=u&&Ne(u);if(w){const O=w.getBoundingClientRect(),z=Ce(w),Q=Yi(z,"border","width"),ce=Yi(z,"padding");d=O.width-ce.width-Q.width,c=O.height-ce.height-Q.height,p=ze(z.maxWidth,w,"clientWidth"),_=ze(z.maxHeight,w,"clientHeight")}else d=u.clientWidth,c=u.clientHeight}return{width:d,height:c,maxWidth:p||li,maxHeight:_||li}}(u,d,c);let{width:ce,height:we}=Q;if("content-box"===_.boxSizing){const _t=Yi(_,"border","width"),Et=Yi(_,"padding");ce-=Et.width+_t.width,we-=Et.height+_t.height}return ce=Math.max(0,ce-w.width),we=Math.max(0,p?ce/p:we-w.height),ce=Qo(Math.min(ce,O,Q.maxWidth)),we=Qo(Math.min(we,z,Q.maxHeight)),ce&&!we&&(we=Qo(ce/2)),(void 0!==d||void 0!==c)&&p&&Q.height&&we>Q.height&&(we=Q.height,ce=Qo(Math.floor(we*p))),{width:ce,height:we}}(d,c,p,_)}isAttached(d){const c=d&&Ne(d);return!(!c||!c.isConnected)}}class Cn{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(d){const{x:c,y:p}=this.getProps(["x","y"],d);return{x:c,y:p}}hasValue(){return Ri(this.x)&&Ri(this.y)}getProps(d,c){const p=this.$animations;if(!c||!p)return this;const _={};return d.forEach(w=>{_[w]=p[w]&&p[w].active()?p[w]._to:this[w]}),_}}function wi(u,d,c,p,_){const w=ve(p,0),O=Math.min(ve(_,u.length),u.length);let Q,ce,we,z=0;for(c=Math.ceil(c),_&&(Q=_-p,c=Q/Math.floor(Q/c)),we=w;we<0;)z++,we=Math.round(w+z*c);for(ce=Math.max(w,0);ce"top"===d||"left"===d?u[d]+c:u[d]-c,ms=(u,d)=>Math.min(d||u,u);function ao(u,d){const c=[],p=u.length/d,_=u.length;let w=0;for(;w<_;w+=p)c.push(u[Math.floor(w)]);return c}function Xa(u,d,c){const p=u.ticks.length,_=Math.min(d,p-1),w=u._startPixel,O=u._endPixel,z=1e-6;let ce,Q=u.getPixelForTick(_);if(!(c&&(ce=1===p?Math.max(Q-w,O-Q):0===d?(u.getPixelForTick(1)-Q)/2:(Q-u.getPixelForTick(_-1))/2,Q+=_O+z)))return Q}function mo(u){return u.drawTicks?u.tickLength:0}function Zo(u,d){if(!u.display)return 0;const c=Mr(u.font,d),p=Rs(u.padding);return(xi(u.text)?u.text.length:1)*c.lineHeight+p.height}function hc(u,d,c){let p=To(u);return(c&&"right"!==d||!c&&"right"===d)&&(p=(u=>"left"===u?"right":"right"===u?"left":u)(p)),p}class _o extends Cn{constructor(d){super(),this.id=d.id,this.type=d.type,this.options=void 0,this.ctx=d.ctx,this.chart=d.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(d){this.options=d.setContext(this.getContext()),this.axis=d.axis,this._userMin=this.parse(d.min),this._userMax=this.parse(d.max),this._suggestedMin=this.parse(d.suggestedMin),this._suggestedMax=this.parse(d.suggestedMax)}parse(d,c){return d}getUserBounds(){let{_userMin:d,_userMax:c,_suggestedMin:p,_suggestedMax:_}=this;return d=Ot(d,Number.POSITIVE_INFINITY),c=Ot(c,Number.NEGATIVE_INFINITY),p=Ot(p,Number.POSITIVE_INFINITY),_=Ot(_,Number.NEGATIVE_INFINITY),{min:Ot(d,p),max:Ot(c,_),minDefined:Mt(d),maxDefined:Mt(c)}}getMinMax(d){let O,{min:c,max:p,minDefined:_,maxDefined:w}=this.getUserBounds();if(_&&w)return{min:c,max:p};const z=this.getMatchingVisibleMetas();for(let Q=0,ce=z.length;Qp?p:c,p=_&&c>p?c:p,{min:Ot(c,Ot(p,c)),max:Ot(p,Ot(c,p))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const d=this.chart.data;return this.options.labels||(this.isHorizontal()?d.xLabels:d.yLabels)||d.labels||[]}getLabelItems(d=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(d))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ye(this.options.beforeUpdate,[this])}update(d,c,p){const{beginAtZero:_,grace:w,ticks:O}=this.options,z=O.sampleSize;this.beforeUpdate(),this.maxWidth=d,this.maxHeight=c,this._margins=p=Object.assign({left:0,right:0,top:0,bottom:0},p),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+p.left+p.right:this.height+p.top+p.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function Ji(u,d,c){const{min:p,max:_}=u,w=xe(d,(_-p)/2),O=(z,Q)=>c&&0===z?0:z+Q;return{min:O(p,-Math.abs(w)),max:O(_,w)}}(this,w,_),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const Q=z_)return function hi(u,d,c,p){let O,_=0,w=c[0];for(p=Math.ceil(p),O=0;O_-w).pop(),d}(p);for(let O=0,z=w.length-1;O_)return Q}return Math.max(_,1)}(w,d,_);if(O>0){let Ke,_t;const Et=O>1?Math.round((Q-z)/(O-1)):null;for(wi(d,ce,we,Bn(Et)?0:z-Et,z),Ke=0,_t=O-1;Ke<_t;Ke++)wi(d,ce,we,w[Ke],w[Ke+1]);return wi(d,ce,we,Q,Bn(Et)?d.length:Q+Et),ce}return wi(d,ce,we),ce}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),Q&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let c,p,d=this.options.reverse;this.isHorizontal()?(c=this.left,p=this.right):(c=this.top,p=this.bottom,d=!d),this._startPixel=c,this._endPixel=p,this._reversePixels=d,this._length=p-c,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Ye(this.options.afterUpdate,[this])}beforeSetDimensions(){Ye(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Ye(this.options.afterSetDimensions,[this])}_callHooks(d){this.chart.notifyPlugins(d,this.getContext()),Ye(this.options[d],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Ye(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(d){const c=this.options.ticks;let p,_,w;for(p=0,_=d.length;p<_;p++)w=d[p],w.label=Ye(c.callback,[w.value,p,d],this)}afterTickToLabelConversion(){Ye(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ye(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const d=this.options,c=d.ticks,p=ms(this.ticks.length,d.ticks.maxTicksLimit),_=c.minRotation||0,w=c.maxRotation;let z,Q,ce,O=_;if(!this._isVisible()||!c.display||_>=w||p<=1||!this.isHorizontal())return void(this.labelRotation=_);const we=this._getLabelSizes(),Ke=we.widest.width,_t=we.highest.height,Et=Tn(this.chart.width-Ke,0,this.maxWidth);z=d.offset?this.maxWidth/p:Et/(p-1),Ke+6>z&&(z=Et/(p-(d.offset?.5:1)),Q=this.maxHeight-mo(d.grid)-c.padding-Zo(d.title,this.chart.options.font),ce=Math.sqrt(Ke*Ke+_t*_t),O=ke(Math.min(Math.asin(Tn((we.highest.height+6)/z,-1,1)),Math.asin(Tn(Q/ce,-1,1))-Math.asin(Tn(_t/ce,-1,1)))),O=Math.max(_,Math.min(w,O))),this.labelRotation=O}afterCalculateLabelRotation(){Ye(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ye(this.options.beforeFit,[this])}fit(){const d={width:0,height:0},{chart:c,options:{ticks:p,title:_,grid:w}}=this,O=this._isVisible(),z=this.isHorizontal();if(O){const Q=Zo(_,c.options.font);if(z?(d.width=this.maxWidth,d.height=mo(w)+Q):(d.height=this.maxHeight,d.width=mo(w)+Q),p.display&&this.ticks.length){const{first:ce,last:we,widest:Ke,highest:_t}=this._getLabelSizes(),Et=2*p.padding,en=Xe(this.labelRotation),an=Math.cos(en),gn=Math.sin(en);z?d.height=Math.min(this.maxHeight,d.height+(p.mirror?0:gn*Ke.width+an*_t.height)+Et):d.width=Math.min(this.maxWidth,d.width+(p.mirror?0:an*Ke.width+gn*_t.height)+Et),this._calculatePadding(ce,we,gn,an)}}this._handleMargins(),z?(this.width=this._length=c.width-this._margins.left-this._margins.right,this.height=d.height):(this.width=d.width,this.height=this._length=c.height-this._margins.top-this._margins.bottom)}_calculatePadding(d,c,p,_){const{ticks:{align:w,padding:O},position:z}=this.options,Q=0!==this.labelRotation,ce="top"!==z&&"x"===this.axis;if(this.isHorizontal()){const we=this.getPixelForTick(0)-this.left,Ke=this.right-this.getPixelForTick(this.ticks.length-1);let _t=0,Et=0;Q?ce?(_t=_*d.width,Et=p*c.height):(_t=p*d.height,Et=_*c.width):"start"===w?Et=c.width:"end"===w?_t=d.width:"inner"!==w&&(_t=d.width/2,Et=c.width/2),this.paddingLeft=Math.max((_t-we+O)*this.width/(this.width-we),0),this.paddingRight=Math.max((Et-Ke+O)*this.width/(this.width-Ke),0)}else{let we=c.height/2,Ke=d.height/2;"start"===w?(we=0,Ke=d.height):"end"===w&&(we=c.height,Ke=0),this.paddingTop=we+O,this.paddingBottom=Ke+O}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ye(this.options.afterFit,[this])}isHorizontal(){const{axis:d,position:c}=this.options;return"top"===c||"bottom"===c||"x"===d}isFullSize(){return this.options.fullSize}_convertTicksToLabels(d){let c,p;for(this.beforeTickToLabelConversion(),this.generateTickLabels(d),c=0,p=d.length;c{const p=c.gc,_=p.length/2;let w;if(_>d){for(w=0;w<_;++w)delete c.data[p[w]];p.splice(0,_)}})}(w,c);const Di=O.indexOf(ce),vr=z.indexOf(we),Wi=Yr=>({width:O[Yr]||0,height:z[Yr]||0});return{first:Wi(0),last:Wi(c-1),widest:Wi(Di),highest:Wi(vr),widths:O,heights:z}}getLabelForValue(d){return d}getPixelForValue(d,c){return NaN}getValueForPixel(d){}getPixelForTick(d){const c=this.ticks;return d<0||d>c.length-1?null:this.getPixelForValue(c[d].value)}getPixelForDecimal(d){this._reversePixels&&(d=1-d);const c=this._startPixel+d*this._length;return function pi(u){return Tn(u,-32768,32767)}(this._alignToPixels?ha(this.chart,c,0):c)}getDecimalForPixel(d){const c=(d-this._startPixel)/this._length;return this._reversePixels?1-c:c}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:d,max:c}=this;return d<0&&c<0?c:d>0&&c>0?d:0}getContext(d){const c=this.ticks||[];if(d>=0&&dz*_?z/p:Q/_:Q*_0}_computeGridLineItems(d){const c=this.axis,p=this.chart,_=this.options,{grid:w,position:O,border:z}=_,Q=w.offset,ce=this.isHorizontal(),Ke=this.ticks.length+(Q?1:0),_t=mo(w),Et=[],en=z.setContext(this.getContext()),an=en.display?en.width:0,gn=an/2,Qn=function(hl){return ha(p,hl,an)};let Jn,Mi,Li,gi,Di,vr,Wi,Yr,Gs,to,lo,wc;if("top"===O)Jn=Qn(this.bottom),vr=this.bottom-_t,Yr=Jn-gn,to=Qn(d.top)+gn,wc=d.bottom;else if("bottom"===O)Jn=Qn(this.top),to=d.top,wc=Qn(d.bottom)-gn,vr=Jn+gn,Yr=this.top+_t;else if("left"===O)Jn=Qn(this.right),Di=this.right-_t,Wi=Jn-gn,Gs=Qn(d.left)+gn,lo=d.right;else if("right"===O)Jn=Qn(this.left),Gs=d.left,lo=Qn(d.right)-gn,Di=Jn+gn,Wi=this.left+_t;else if("x"===c){if("center"===O)Jn=Qn((d.top+d.bottom)/2+.5);else if(fi(O)){const hl=Object.keys(O)[0];Jn=Qn(this.chart.scales[hl].getPixelForValue(O[hl]))}to=d.top,wc=d.bottom,vr=Jn+gn,Yr=vr+_t}else if("y"===c){if("center"===O)Jn=Qn((d.left+d.right)/2);else if(fi(O)){const hl=Object.keys(O)[0];Jn=Qn(this.chart.scales[hl].getPixelForValue(O[hl]))}Di=Jn-gn,Wi=Di-_t,Gs=d.left,lo=d.right}const Jc=ve(_.ticks.maxTicksLimit,Ke),Pa=Math.max(1,Math.ceil(Ke/Jc));for(Mi=0;Mi0&&(nh-=Cu/2)}Zh={left:nh,top:Rf,width:Cu+Ed.width,height:Pf+Ed.height,color:Pa.backdropColor}}gn.push({label:Li,font:Yr,textOffset:lo,options:{rotation:an,color:Gl,strokeColor:_u,strokeWidth:Mc,textAlign:Wh,textBaseline:wc,translation:[gi,Di],backdrop:Zh}})}return gn}_getXAxisLabelAlignment(){const{position:d,ticks:c}=this.options;if(-Xe(this.labelRotation))return"top"===d?"left":"right";let _="center";return"start"===c.align?_="left":"end"===c.align?_="right":"inner"===c.align&&(_="inner"),_}_getYAxisLabelAlignment(d){const{position:c,ticks:{crossAlign:p,mirror:_,padding:w}}=this.options,z=d+w,Q=this._getLabelSizes().widest.width;let ce,we;return"left"===c?_?(we=this.right+w,"near"===p?ce="left":"center"===p?(ce="center",we+=Q/2):(ce="right",we+=Q)):(we=this.right-z,"near"===p?ce="right":"center"===p?(ce="center",we-=Q/2):(ce="left",we=this.left)):"right"===c?_?(we=this.left+w,"near"===p?ce="right":"center"===p?(ce="center",we-=Q/2):(ce="left",we-=Q)):(we=this.left+z,"near"===p?ce="left":"center"===p?(ce="center",we+=Q/2):(ce="right",we=this.right)):ce="right",{textAlign:ce,x:we}}_computeLabelArea(){if(this.options.ticks.mirror)return;const d=this.chart,c=this.options.position;return"left"===c||"right"===c?{top:0,left:this.left,bottom:d.height,right:this.right}:"top"===c||"bottom"===c?{top:this.top,left:0,bottom:this.bottom,right:d.width}:void 0}drawBackground(){const{ctx:d,options:{backgroundColor:c},left:p,top:_,width:w,height:O}=this;c&&(d.save(),d.fillStyle=c,d.fillRect(p,_,w,O),d.restore())}getLineWidthForValue(d){const c=this.options.grid;if(!this._isVisible()||!c.display)return 0;const _=this.ticks.findIndex(w=>w.value===d);return _>=0?c.setContext(this.getContext(_)).lineWidth:0}drawGrid(d){const c=this.options.grid,p=this.ctx,_=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(d));let w,O;const z=(Q,ce,we)=>{!we.width||!we.color||(p.save(),p.lineWidth=we.width,p.strokeStyle=we.color,p.setLineDash(we.borderDash||[]),p.lineDashOffset=we.borderDashOffset,p.beginPath(),p.moveTo(Q.x,Q.y),p.lineTo(ce.x,ce.y),p.stroke(),p.restore())};if(c.display)for(w=0,O=_.length;w{this.drawBackground(),this.drawGrid(w),this.drawTitle()}},{z:_,draw:()=>{this.drawBorder()}},{z:c,draw:w=>{this.drawLabels(w)}}]:[{z:c,draw:w=>{this.draw(w)}}]}getMatchingVisibleMetas(d){const c=this.chart.getSortedVisibleDatasetMetas(),p=this.axis+"AxisID",_=[];let w,O;for(w=0,O=c.length;w{const p=c.split("."),_=p.pop(),w=[u].concat(p).join("."),O=d[c].split("."),z=O.pop(),Q=O.join(".");br.route(w,_,Q,z)})}(d,u.defaultRoutes),u.descriptors&&br.describe(d,u.descriptors)}(d,O,p),this.override&&br.override(d.id,d.overrides)),O}get(d){return this.items[d]}unregister(d){const c=this.items,p=d.id,_=this.scope;p in c&&delete c[p],_&&p in br[_]&&(delete br[_][p],this.override&&delete da[p])}}class kr{constructor(){this.controllers=new Is(Zs,"datasets",!0),this.elements=new Is(Cn,"elements"),this.plugins=new Is(Object,"plugins"),this.scales=new Is(_o,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...d){this._each("register",d)}remove(...d){this._each("unregister",d)}addControllers(...d){this._each("register",d,this.controllers)}addElements(...d){this._each("register",d,this.elements)}addPlugins(...d){this._each("register",d,this.plugins)}addScales(...d){this._each("register",d,this.scales)}getController(d){return this._get(d,this.controllers,"controller")}getElement(d){return this._get(d,this.elements,"element")}getPlugin(d){return this._get(d,this.plugins,"plugin")}getScale(d){return this._get(d,this.scales,"scale")}removeControllers(...d){this._each("unregister",d,this.controllers)}removeElements(...d){this._each("unregister",d,this.elements)}removePlugins(...d){this._each("unregister",d,this.plugins)}removeScales(...d){this._each("unregister",d,this.scales)}_each(d,c,p){[...c].forEach(_=>{const w=p||this._getRegistryForType(_);p||w.isForType(_)||w===this.plugins&&_.id?this._exec(d,w,_):xt(_,O=>{const z=p||this._getRegistryForType(O);this._exec(d,z,O)})})}_exec(d,c,p){const _=Do(d);Ye(p["before"+_],[],p),c[d](p),Ye(p["after"+_],[],p)}_getRegistryForType(d){for(let c=0;cw.filter(z=>!O.some(Q=>z.plugin.id===Q.plugin.id));this._notify(_(c,p),d,"stop"),this._notify(_(p,c),d,"start")}}function Hl(u,d){return d||!1!==u?!0===u?{}:u:null}function fs(u,{plugin:d,local:c},p,_){const w=u.pluginScopeKeys(d),O=u.getOptionScopes(p,w);return c&&d.defaults&&O.push(d.defaults),u.createResolver(O,_,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function aa(u,d){return((d.datasets||{})[u]||{}).indexAxis||d.indexAxis||(br.datasets[u]||{}).indexAxis||"x"}function qa(u){if("x"===u||"y"===u||"r"===u)return u}function zl(u){return"top"===u||"bottom"===u?"x":"left"===u||"right"===u?"y":void 0}function Dl(u,...d){if(qa(u))return u;for(const c of d){const p=c.axis||zl(c.position)||u.length>1&&qa(u[0].toLowerCase());if(p)return p}throw new Error(`Cannot determine type of '${u}' axis. Please provide 'axis' or 'position' option.`)}function sc(u,d,c){if(c[d+"AxisID"]===u)return{axis:d}}function R(u){const d=u.options||(u.options={});d.plugins=ve(d.plugins,{}),d.scales=function cs(u,d){const c=da[u.type]||{scales:{}},p=d.scales||{},_=aa(u.type,d),w=Object.create(null);return Object.keys(p).forEach(O=>{const z=p[O];if(!fi(z))return console.error(`Invalid scale configuration for scale: ${O}`);if(z._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${O}`);const Q=Dl(O,z,function yc(u,d){if(d.data&&d.data.datasets){const c=d.data.datasets.filter(p=>p.xAxisID===u||p.yAxisID===u);if(c.length)return sc(u,"x",c[0])||sc(u,"y",c[0])}return{}}(O,u),br.scales[z.type]),ce=function cl(u,d){return u===d?"_index_":"_value_"}(Q,_),we=c.scales||{};w[O]=ki(Object.create(null),[{axis:Q},z,we[Q],we[ce]])}),u.data.datasets.forEach(O=>{const z=O.type||u.type,Q=O.indexAxis||aa(z,d),we=(da[z]||{}).scales||{};Object.keys(we).forEach(Ke=>{const _t=function jl(u,d){let c=u;return"_index_"===u?c=d:"_value_"===u&&(c="x"===d?"y":"x"),c}(Ke,Q),Et=O[_t+"AxisID"]||_t;w[Et]=w[Et]||Object.create(null),ki(w[Et],[{axis:_t},p[Et],we[Ke]])})}),Object.keys(w).forEach(O=>{const z=w[O];ki(z,[br.scales[z.type],br.scale])}),w}(u,d)}function te(u){return(u=u||{}).datasets=u.datasets||[],u.labels=u.labels||[],u}const Pe=new Map,ft=new Set;function on(u,d){let c=Pe.get(u);return c||(c=d(),Pe.set(u,c),ft.add(c)),c}const Gn=(u,d,c)=>{const p=bs(d,c);void 0!==p&&u.add(p)};class Vi{constructor(d){this._config=function Ie(u){return(u=u||{}).data=te(u.data),R(u),u}(d),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(d){this._config.type=d}get data(){return this._config.data}set data(d){this._config.data=te(d)}get options(){return this._config.options}set options(d){this._config.options=d}get plugins(){return this._config.plugins}update(){const d=this._config;this.clearCache(),R(d)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(d){return on(d,()=>[[`datasets.${d}`,""]])}datasetAnimationScopeKeys(d,c){return on(`${d}.transition.${c}`,()=>[[`datasets.${d}.transitions.${c}`,`transitions.${c}`],[`datasets.${d}`,""]])}datasetElementScopeKeys(d,c){return on(`${d}-${c}`,()=>[[`datasets.${d}.elements.${c}`,`datasets.${d}`,`elements.${c}`,""]])}pluginScopeKeys(d){const c=d.id;return on(`${this.type}-plugin-${c}`,()=>[[`plugins.${c}`,...d.additionalOptionScopes||[]]])}_cachedScopes(d,c){const p=this._scopeCache;let _=p.get(d);return(!_||c)&&(_=new Map,p.set(d,_)),_}getOptionScopes(d,c,p){const{options:_,type:w}=this,O=this._cachedScopes(d,p),z=O.get(c);if(z)return z;const Q=new Set;c.forEach(we=>{d&&(Q.add(d),we.forEach(Ke=>Gn(Q,d,Ke))),we.forEach(Ke=>Gn(Q,_,Ke)),we.forEach(Ke=>Gn(Q,da[w]||{},Ke)),we.forEach(Ke=>Gn(Q,br,Ke)),we.forEach(Ke=>Gn(Q,Wa,Ke))});const ce=Array.from(Q);return 0===ce.length&&ce.push(Object.create(null)),ft.has(c)&&O.set(c,ce),ce}chartOptionScopes(){const{options:d,type:c}=this;return[d,da[c]||{},br.datasets[c]||{},{type:c},br,Wa]}resolveNamedOptions(d,c,p,_=[""]){const w={$shared:!0},{resolver:O,subPrefixes:z}=Pr(this._resolverCache,d,_);let Q=O;(function Sl(u,d){const{isScriptable:c,isIndexable:p}=Ia(u);for(const _ of d){const w=c(_),O=p(_),z=(O||w)&&u[_];if(w&&(Ls(z)||js(z))||O&&xi(z))return!0}return!1})(O,c)&&(w.$shared=!1,Q=Js(O,p=Ls(p)?p():p,this.createResolver(d,p,z)));for(const ce of c)w[ce]=Q[ce];return w}createResolver(d,c,p=[""],_){const{resolver:w}=Pr(this._resolverCache,d,p);return fi(c)?Js(w,c,void 0,_):w}}function Pr(u,d,c){let p=u.get(d);p||(p=new Map,u.set(d,p));const _=c.join();let w=p.get(_);return w||(w={resolver:Oo(d,c),subPrefixes:c.filter(z=>!z.toLowerCase().includes("hover"))},p.set(_,w)),w}const js=u=>fi(u)&&Object.getOwnPropertyNames(u).some(d=>Ls(u[d])),bc=["top","bottom","left","right","chartArea"];function eu(u,d){return"top"===u||"bottom"===u||-1===bc.indexOf(u)&&"x"===d}function Il(u,d){return function(c,p){return c[u]===p[u]?c[d]-p[d]:c[u]-p[u]}}function jf(u){const d=u.chart,c=d.options.animation;d.notifyPlugins("afterRender"),Ye(c&&c.onComplete,[u],d)}function zf(u){const d=u.chart,c=d.options.animation;Ye(c&&c.onProgress,[u],d)}function uh(u){return ya()&&"string"==typeof u?u=document.getElementById(u):u&&u.length&&(u=u[0]),u&&u.canvas&&(u=u.canvas),u}const Od={},Qh=u=>{const d=uh(u);return Object.values(Od).filter(c=>c.canvas===d).pop()};function dd(u,d,c){const p=Object.keys(u);for(const _ of p){const w=+_;if(w>=d){const O=u[_];delete u[_],(c>0||w>d)&&(u[w+c]=O)}}}function lu(u,d,c){return u.options.clip?u[c]:d[c]}let cu=(()=>class u{static defaults=br;static instances=Od;static overrides=da;static registry=Jr;static version="4.4.3";static getChart=Qh;static register(...c){Jr.add(...c),dh()}static unregister(...c){Jr.remove(...c),dh()}constructor(c,p){const _=this.config=new Vi(p),w=uh(c),O=Qh(w);if(O)throw new Error("Canvas is already in use. Chart with ID '"+O.id+"' must be destroyed before the canvas with ID '"+O.canvas.id+"' can be reused.");const z=_.createResolver(_.chartOptionScopes(),this.getContext());this.platform=new(_.platform||function Xt(u){return!ya()||typeof OffscreenCanvas<"u"&&u instanceof OffscreenCanvas?dc:It}(w)),this.platform.updateConfig(_);const Q=this.platform.acquireContext(w,z.aspectRatio),ce=Q&&Q.canvas,we=ce&&ce.height,Ke=ce&&ce.width;this.id=ir(),this.ctx=Q,this.canvas=ce,this.width=Ke,this.height=we,this._options=z,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Go,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function Nr(u,d){let c;return function(...p){return d?(clearTimeout(c),c=setTimeout(u,d,p)):u.apply(this,p),d}}(_t=>this.update(_t),z.resizeDelay||0),this._dataChanges=[],Od[this.id]=this,Q&&ce?(hs.listen(this,"complete",jf),hs.listen(this,"progress",zf),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:c,maintainAspectRatio:p},width:_,height:w,_aspectRatio:O}=this;return Bn(c)?p&&O?O:w?_/w:null:c}get data(){return this.config.data}set data(c){this.config.data=c}get options(){return this._options}set options(c){this.config.options=c}get registry(){return Jr}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Ts(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return as(this.canvas,this.ctx),this}stop(){return hs.stop(this),this}resize(c,p){hs.running(this)?this._resizeBeforeDraw={width:c,height:p}:this._resize(c,p)}_resize(c,p){const _=this.options,z=this.platform.getMaximumSize(this.canvas,c,p,_.maintainAspectRatio&&this.aspectRatio),Q=_.devicePixelRatio||this.platform.getDevicePixelRatio(),ce=this.width?"resize":"attach";this.width=z.width,this.height=z.height,this._aspectRatio=this.aspectRatio,Ts(this,Q,!0)&&(this.notifyPlugins("resize",{size:z}),Ye(_.onResize,[this,z],this),this.attached&&this._doResize(ce)&&this.render())}ensureScalesHaveIDs(){xt(this.options.scales||{},(_,w)=>{_.id=w})}buildOrUpdateScales(){const c=this.options,p=c.scales,_=this.scales,w=Object.keys(_).reduce((z,Q)=>(z[Q]=!1,z),{});let O=[];p&&(O=O.concat(Object.keys(p).map(z=>{const Q=p[z],ce=Dl(z,Q),we="r"===ce,Ke="x"===ce;return{options:Q,dposition:we?"chartArea":Ke?"bottom":"left",dtype:we?"radialLinear":Ke?"category":"linear"}}))),xt(O,z=>{const Q=z.options,ce=Q.id,we=Dl(ce,Q),Ke=ve(Q.type,z.dtype);(void 0===Q.position||eu(Q.position,we)!==eu(z.dposition))&&(Q.position=z.dposition),w[ce]=!0;let _t=null;ce in _&&_[ce].type===Ke?_t=_[ce]:(_t=new(Jr.getScale(Ke))({id:ce,type:Ke,ctx:this.ctx,chart:this}),_[_t.id]=_t),_t.init(Q,c)}),xt(w,(z,Q)=>{z||delete _[Q]}),xt(_,z=>{oo.configure(this,z,z.options),oo.addBox(this,z)})}_updateMetasets(){const c=this._metasets,p=this.data.datasets.length,_=c.length;if(c.sort((w,O)=>w.index-O.index),_>p){for(let w=p;w<_;++w)this._destroyDatasetMeta(w);c.splice(p,_-p)}this._sortedMetasets=c.slice(0).sort(Il("order","index"))}_removeUnreferencedMetasets(){const{_metasets:c,data:{datasets:p}}=this;c.length>p.length&&delete this._stacks,c.forEach((_,w)=>{0===p.filter(O=>O===_._dataset).length&&this._destroyDatasetMeta(w)})}buildOrUpdateControllers(){const c=[],p=this.data.datasets;let _,w;for(this._removeUnreferencedMetasets(),_=0,w=p.length;_{this.getDatasetMeta(p).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(c){const p=this.config;p.update();const _=this._options=p.createResolver(p.chartOptionScopes(),this.getContext()),w=this._animationsDisabled=!_.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:c,cancelable:!0}))return;const O=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let z=0;for(let we=0,Ke=this.data.datasets.length;we{we.reset()}),this._updateDatasets(c),this.notifyPlugins("afterUpdate",{mode:c}),this._layers.sort(Il("z","_idx"));const{_active:Q,_lastEvent:ce}=this;ce?this._eventHandler(ce,!0):Q.length&&this._updateHoverStyles(Q,Q,!0),this.render()}_updateScales(){xt(this.scales,c=>{oo.removeBox(this,c)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const c=this.options,p=new Set(Object.keys(this._listeners)),_=new Set(c.events);(!On(p,_)||!!this._responsiveListeners!==c.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:c}=this,p=this._getUniformDataChanges()||[];for(const{method:_,start:w,count:O}of p)dd(c,w,"_removeElements"===_?-O:O)}_getUniformDataChanges(){const c=this._dataChanges;if(!c||!c.length)return;this._dataChanges=[];const p=this.data.datasets.length,_=O=>new Set(c.filter(z=>z[0]===O).map((z,Q)=>Q+","+z.splice(1).join(","))),w=_(0);for(let O=1;OO.split(",")).map(O=>({method:O[1],start:+O[2],count:+O[3]}))}_updateLayout(c){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;oo.update(this,this.width,this.height,c);const p=this.chartArea,_=p.width<=0||p.height<=0;this._layers=[],xt(this.boxes,w=>{_&&"chartArea"===w.position||(w.configure&&w.configure(),this._layers.push(...w._layers()))},this),this._layers.forEach((w,O)=>{w._idx=O}),this.notifyPlugins("afterLayout")}_updateDatasets(c){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:c,cancelable:!0})){for(let p=0,_=this.data.datasets.length;p<_;++p)this.getDatasetMeta(p).controller.configure();for(let p=0,_=this.data.datasets.length;p<_;++p)this._updateDataset(p,Ls(c)?c({datasetIndex:p}):c);this.notifyPlugins("afterDatasetsUpdate",{mode:c})}}_updateDataset(c,p){const _=this.getDatasetMeta(c),w={meta:_,index:c,mode:p,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",w)&&(_.controller._update(p),w.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",w))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(hs.has(this)?this.attached&&!hs.running(this)&&hs.start(this):(this.draw(),jf({chart:this})))}draw(){let c;if(this._resizeBeforeDraw){const{width:_,height:w}=this._resizeBeforeDraw;this._resize(_,w),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const p=this._layers;for(c=0;c=0;--p)this._drawDataset(c[p]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(c){const p=this.ctx,_=c._clip,w=!_.disabled,O=function hd(u,d){const{xScale:c,yScale:p}=u;return c&&p?{left:lu(c,d,"left"),right:lu(c,d,"right"),top:lu(p,d,"top"),bottom:lu(p,d,"bottom")}:d}(c,this.chartArea),z={meta:c,index:c.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",z)&&(w&&_i(p,{left:!1===_.left?0:O.left-_.left,right:!1===_.right?this.width:O.right+_.right,top:!1===_.top?0:O.top-_.top,bottom:!1===_.bottom?this.height:O.bottom+_.bottom}),c.controller.draw(),w&&dr(p),z.cancelable=!1,this.notifyPlugins("afterDatasetDraw",z))}isPointInArea(c){return Fi(c,this.chartArea,this._minPadding)}getElementsAtEventForMode(c,p,_,w){const O=$c.modes[p];return"function"==typeof O?O(this,c,_,w):[]}getDatasetMeta(c){const p=this.data.datasets[c],_=this._metasets;let w=_.filter(O=>O&&O._dataset===p).pop();return w||(w={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:p&&p.order||0,index:c,_dataset:p,_parsed:[],_sorted:!1},_.push(w)),w}getContext(){return this.$context||(this.$context=uo(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(c){const p=this.data.datasets[c];if(!p)return!1;const _=this.getDatasetMeta(c);return"boolean"==typeof _.hidden?!_.hidden:!p.hidden}setDatasetVisibility(c,p){this.getDatasetMeta(c).hidden=!p}toggleDataVisibility(c){this._hiddenIndices[c]=!this._hiddenIndices[c]}getDataVisibility(c){return!this._hiddenIndices[c]}_updateVisibility(c,p,_){const w=_?"show":"hide",O=this.getDatasetMeta(c),z=O.controller._resolveAnimations(void 0,w);Ms(p)?(O.data[p].hidden=!_,this.update()):(this.setDatasetVisibility(c,_),z.update(O,{visible:_}),this.update(Q=>Q.datasetIndex===c?w:void 0))}hide(c,p){this._updateVisibility(c,p,!1)}show(c,p){this._updateVisibility(c,p,!0)}_destroyDatasetMeta(c){const p=this._metasets[c];p&&p.controller&&p.controller._destroy(),delete this._metasets[c]}_stop(){let c,p;for(this.stop(),hs.remove(this),c=0,p=this.data.datasets.length;c{p.addEventListener(this,O,z),c[O]=z},w=(O,z,Q)=>{O.offsetX=z,O.offsetY=Q,this._eventHandler(O)};xt(this.options.events,O=>_(O,w))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const c=this._responsiveListeners,p=this.platform,_=(ce,we)=>{p.addEventListener(this,ce,we),c[ce]=we},w=(ce,we)=>{c[ce]&&(p.removeEventListener(this,ce,we),delete c[ce])},O=(ce,we)=>{this.canvas&&this.resize(ce,we)};let z;const Q=()=>{w("attach",Q),this.attached=!0,this.resize(),_("resize",O),_("detach",z)};z=()=>{this.attached=!1,w("resize",O),this._stop(),this._resize(0,0),_("attach",Q)},p.isAttached(this.canvas)?Q():z()}unbindEvents(){xt(this._listeners,(c,p)=>{this.platform.removeEventListener(this,p,c)}),this._listeners={},xt(this._responsiveListeners,(c,p)=>{this.platform.removeEventListener(this,p,c)}),this._responsiveListeners=void 0}updateHoverStyle(c,p,_){const w=_?"set":"remove";let O,z,Q,ce;for("dataset"===p&&(O=this.getDatasetMeta(c[0].datasetIndex),O.controller["_"+w+"DatasetHoverStyle"]()),Q=0,ce=c.length;Q{const Q=this.getDatasetMeta(O);if(!Q)throw new Error("No dataset found at index "+O);return{datasetIndex:O,element:Q.data[z],index:z}});!cn(_,p)&&(this._active=_,this._lastEvent=null,this._updateHoverStyles(_,p))}notifyPlugins(c,p,_){return this._plugins.notify(this,c,p,_)}isPluginEnabled(c){return 1===this._plugins._cache.filter(p=>p.plugin.id===c).length}_updateHoverStyles(c,p,_){const w=this.options.hover,O=(ce,we)=>ce.filter(Ke=>!we.some(_t=>Ke.datasetIndex===_t.datasetIndex&&Ke.index===_t.index)),z=O(p,c),Q=_?c:O(c,p);z.length&&this.updateHoverStyle(z,w.mode,!1),Q.length&&w.mode&&this.updateHoverStyle(Q,w.mode,!0)}_eventHandler(c,p){const _={event:c,replay:p,cancelable:!0,inChartArea:this.isPointInArea(c)},w=z=>(z.options.events||this.options.events).includes(c.native.type);if(!1===this.notifyPlugins("beforeEvent",_,w))return;const O=this._handleEvent(c,p,_.inChartArea);return _.cancelable=!1,this.notifyPlugins("afterEvent",_,w),(O||_.changed)&&this.render(),this}_handleEvent(c,p,_){const{_active:w=[],options:O}=this,Q=this._getActiveElements(c,w,_,p),ce=function mr(u){return"mouseup"===u.type||"click"===u.type||"contextmenu"===u.type}(c),we=function Uu(u,d,c,p){return c&&"mouseout"!==u.type?p?d:u:null}(c,this._lastEvent,_,ce);_&&(this._lastEvent=null,Ye(O.onHover,[c,Q,this],this),ce&&Ye(O.onClick,[c,Q,this],this));const Ke=!cn(Q,w);return(Ke||p)&&(this._active=Q,this._updateHoverStyles(Q,w,p)),this._lastEvent=we,Ke}_getActiveElements(c,p,_,w){if("mouseout"===c.type)return[];if(!_)return p;const O=this.options.hover;return this.getElementsAtEventForMode(c,O.mode,O,w)}})();function dh(){return xt(cu.instances,u=>u._plugins.invalidate())}function Ld(u,d,c,p){return{x:c+u*Math.cos(d),y:p+u*Math.sin(d)}}function bu(u,d,c,p,_,w){const{x:O,y:z,startAngle:Q,pixelMargin:ce,innerRadius:we}=d,Ke=Math.max(d.outerRadius+p+c-ce,0),_t=we>0?we+p+c+ce:0;let Et=0;const en=_-Q;if(p){const Gl=((we>0?we-p:0)+(Ke>0?Ke-p:0))/2;Et=(en-(0!==Gl?en*Gl/(Gl+p):en))/2}const gn=(en-Math.max(.001,en*Ke-c/Pt)/Ke)/2,Qn=Q+gn+Et,Jn=_-gn-Et,{outerStart:Mi,outerEnd:Li,innerStart:gi,innerEnd:Di}=function tp(u,d,c,p){const _=function xc(u){return Xr(u,["outerStart","outerEnd","innerStart","innerEnd"])}(u.options.borderRadius),w=(c-d)/2,O=Math.min(w,p*d/2),z=Q=>{const ce=(c-Math.min(w,Q))*p/2;return Tn(Q,0,Math.min(w,ce))};return{outerStart:z(_.outerStart),outerEnd:z(_.outerEnd),innerStart:Tn(_.innerStart,0,O),innerEnd:Tn(_.innerEnd,0,O)}}(d,_t,Ke,Jn-Qn),vr=Ke-Mi,Wi=Ke-Li,Yr=Qn+Mi/vr,Gs=Jn-Li/Wi,to=_t+gi,lo=_t+Di,wc=Qn+gi/to,Jc=Jn-Di/lo;if(u.beginPath(),w){const Pa=(Yr+Gs)/2;if(u.arc(O,z,Ke,Yr,Pa),u.arc(O,z,Ke,Pa,Gs),Li>0){const Mc=Ld(Wi,Gs,O,z);u.arc(Mc.x,Mc.y,Li,Gs,Jn+Sr)}const hl=Ld(lo,Jn,O,z);if(u.lineTo(hl.x,hl.y),Di>0){const Mc=Ld(lo,Jc,O,z);u.arc(Mc.x,Mc.y,Di,Jn+Sr,Jc+Math.PI)}const Gl=(Jn-Di/_t+(Qn+gi/_t))/2;if(u.arc(O,z,_t,Jn-Di/_t,Gl,!0),u.arc(O,z,_t,Gl,Qn+gi/_t,!0),gi>0){const Mc=Ld(to,wc,O,z);u.arc(Mc.x,Mc.y,gi,wc+Math.PI,Qn-Sr)}const _u=Ld(vr,Qn,O,z);if(u.lineTo(_u.x,_u.y),Mi>0){const Mc=Ld(vr,Yr,O,z);u.arc(Mc.x,Mc.y,Mi,Qn-Sr,Yr)}}else{u.moveTo(O,z);const Pa=Math.cos(Yr)*Ke+O,hl=Math.sin(Yr)*Ke+z;u.lineTo(Pa,hl);const Gl=Math.cos(Gs)*Ke+O,_u=Math.sin(Gs)*Ke+z;u.lineTo(Gl,_u)}u.closePath()}function np(u,d,c=d){u.lineCap=ve(c.borderCapStyle,d.borderCapStyle),u.setLineDash(ve(c.borderDash,d.borderDash)),u.lineDashOffset=ve(c.borderDashOffset,d.borderDashOffset),u.lineJoin=ve(c.borderJoinStyle,d.borderJoinStyle),u.lineWidth=ve(c.borderWidth,d.borderWidth),u.strokeStyle=ve(c.borderColor,d.borderColor)}function gd(u,d,c){u.lineTo(c.x,c.y)}function Gf(u,d,c={}){const p=u.length,{start:_=0,end:w=p-1}=c,{start:O,end:z}=d,Q=Math.max(_,O),ce=Math.min(w,z);return{count:p,start:Q,loop:d.loop,ilen:cez&&w>z)?p+ce-Q:ce-Q}}function Wl(u,d,c,p){const{points:_,options:w}=d,{count:O,start:z,loop:Q,ilen:ce}=Gf(_,c,p),we=function Zf(u){return u.stepped?$r:u.tension||"monotone"===u.cubicInterpolationMode?Fr:gd}(w);let Et,en,an,{move:Ke=!0,reverse:_t}=p||{};for(Et=0;Et<=ce;++Et)en=_[(z+(_t?ce-Et:Et))%O],!en.skip&&(Ke?(u.moveTo(en.x,en.y),Ke=!1):we(u,an,en,_t,w.stepped),an=en);return Q&&(en=_[(z+(_t?ce:0))%O],we(u,an,en,_t,w.stepped)),!!Q}function Hu(u,d,c,p){const _=d.points,{count:w,start:O,ilen:z}=Gf(_,c,p),{move:Q=!0,reverse:ce}=p||{};let _t,Et,en,an,gn,Qn,we=0,Ke=0;const Jn=Li=>(O+(ce?z-Li:Li))%w,Mi=()=>{an!==gn&&(u.lineTo(we,gn),u.lineTo(we,an),u.lineTo(we,Qn))};for(Q&&(Et=_[Jn(0)],u.moveTo(Et.x,Et.y)),_t=0;_t<=z;++_t){if(Et=_[Jn(_t)],Et.skip)continue;const Li=Et.x,gi=Et.y,Di=0|Li;Di===en?(gign&&(gn=gi),we=(Ke*we+Li)/++Ke):(Mi(),u.lineTo(Li,gi),en=Di,Ke=0,an=gn=gi),Qn=gi}Mi()}function ju(u){const d=u.options;return u._decimated||u._loop||d.tension||"monotone"===d.cubicInterpolationMode||d.stepped||d.borderDash&&d.borderDash.length?Wl:Hu}const $f="function"==typeof Path2D;let xu=(()=>class u extends Cn{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:c=>"borderDash"!==c&&"fill"!==c};constructor(c){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,c&&Object.assign(this,c)}updateControlPoints(c,p){const _=this.options;!_.tension&&"monotone"!==_.cubicInterpolationMode||_.stepped||this._pointsUpdated||(_l(this._points,_,c,_.spanGaps?this._loop:this._fullLoop,p),this._pointsUpdated=!0)}set points(c){this._points=c,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function bl(u,d){const c=u.points,p=u.options.spanGaps,_=c.length;if(!_)return[];const w=!!u._loop,{start:O,end:z}=function Oc(u,d,c,p){let _=0,w=d-1;if(c&&!p)for(;__&&u[w%d].skip;)w--;return w%=d,{start:_,end:w}}(c,_,w,p);return function Cl(u,d,c,p){return p&&p.setContext&&c?function Ao(u,d,c,p){const _=u._chart.getContext(),w=Lc(u.options),{_datasetIndex:O,options:{spanGaps:z}}=u,Q=c.length,ce=[];let we=w,Ke=d[0].start,_t=Ke;function Et(en,an,gn,Qn){const Jn=z?-1:1;if(en!==an){for(en+=Q;c[en%Q].skip;)en-=Jn;for(;c[an%Q].skip;)an+=Jn;en%Q!=an%Q&&(ce.push({start:en%Q,end:an%Q,loop:gn,style:Qn}),we=Qn,Ke=an%Q)}}for(const en of d){Ke=z?Ke:en.start;let gn,an=c[Ke%Q];for(_t=Ke+1;_t<=en.end;_t++){const Qn=c[_t%Q];gn=Lc(p.setContext(uo(_,{type:"segment",p0:an,p1:Qn,p0DataIndex:(_t-1)%Q,p1DataIndex:_t%Q,datasetIndex:O}))),ol(gn,we)&&Et(Ke,_t-1,en.loop,we),an=Qn,we=gn}Ke<_t-1&&Et(Ke,_t-1,en.loop,we)}return ce}(u,d,c,p):d}(u,!0===p?[{start:O,end:z,loop:w}]:function sl(u,d,c,p){const _=u.length,w=[];let Q,O=d,z=u[d];for(Q=d+1;Q<=c;++Q){const ce=u[Q%_];ce.skip||ce.stop?z.skip||(w.push({start:d%_,end:(Q-1)%_,loop:p=!1}),d=O=ce.stop?Q:null):(O=Q,z.skip&&(d=Q)),z=ce}return null!==O&&w.push({start:d%_,end:O%_,loop:p}),w}(c,O,zclass u extends Cn{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(c){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,c&&Object.assign(this,c)}inRange(c,p,_){const w=this.options,{x:O,y:z}=this.getProps(["x","y"],_);return Math.pow(c-O,2)+Math.pow(p-z,2)"borderDash"!==d};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(d){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,d&&Object.assign(this,d)}inRange(d,c,p){const _=this.getProps(["x","y"],p),{angle:w,distance:O}=Ae(_,{x:d,y:c}),{startAngle:z,endAngle:Q,innerRadius:ce,outerRadius:we,circumference:Ke}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],p),_t=(this.options.spacing+this.options.borderWidth)/2,en=ve(Ke,Q-z)>=ln||yn(w,z,Q),an=nn(O,ce+_t,we+_t);return en&&an}getCenterPoint(d){const{x:c,y:p,startAngle:_,endAngle:w,innerRadius:O,outerRadius:z}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],d),{offset:Q,spacing:ce}=this.options,we=(_+w)/2,Ke=(O+z+ce+Q)/2;return{x:c+Math.cos(we)*Ke,y:p+Math.sin(we)*Ke}}tooltipPosition(d){return this.getCenterPoint(d)}draw(d){const{options:c,circumference:p}=this,_=(c.offset||0)/4,w=(c.spacing||0)/2,O=c.circular;if(this.pixelMargin="inner"===c.borderAlign?.33:0,this.fullCircles=p>ln?Math.floor(p/ln):0,0===p||this.innerRadius<0||this.outerRadius<0)return;d.save();const z=(this.startAngle+this.endAngle)/2;d.translate(Math.cos(z)*_,Math.sin(z)*_);const ce=_*(1-Math.sin(Math.min(Pt,p||0)));d.fillStyle=c.backgroundColor,d.strokeStyle=c.borderColor,function Vf(u,d,c,p,_){const{fullCircles:w,startAngle:O,circumference:z}=d;let Q=d.endAngle;if(w){bu(u,d,c,p,Q,_);for(let ce=0;ce_?(ce=_/Q,u.arc(w,O,Q,c+ce,p-ce,!0)):u.arc(w,O,_,c+Sr,p-Sr),u.closePath(),u.clip()}(u,d,en),w||(bu(u,d,c,p,en,_),u.stroke())}(d,this,ce,w,O),d.restore()}},BarElement:class rp extends Cn{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(d){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,d&&Object.assign(this,d)}draw(d){const{inflateAmount:c,options:{borderColor:p,backgroundColor:_}}=this,{inner:w,outer:O}=function Pd(u){const d=Jf(u),c=d.right-d.left,p=d.bottom-d.top,_=function fc(u,d,c){const _=u.borderSkipped,w=gr(u.options.borderWidth);return{t:Vu(_.top,w.top,0,c),r:Vu(_.right,w.right,0,d),b:Vu(_.bottom,w.bottom,0,c),l:Vu(_.left,w.left,0,d)}}(u,c/2,p/2),w=function ef(u,d,c){const{enableBorderRadius:p}=u.getProps(["enableBorderRadius"]),_=u.options.borderRadius,w=Us(_),O=Math.min(d,c),z=u.borderSkipped,Q=p||fi(_);return{topLeft:Vu(!Q||z.top||z.left,w.topLeft,0,O),topRight:Vu(!Q||z.top||z.right,w.topRight,0,O),bottomLeft:Vu(!Q||z.bottom||z.left,w.bottomLeft,0,O),bottomRight:Vu(!Q||z.bottom||z.right,w.bottomRight,0,O)}}(u,c/2,p/2);return{outer:{x:d.left,y:d.top,w:c,h:p,radius:w},inner:{x:d.left+_.l,y:d.top+_.t,w:c-_.l-_.r,h:p-_.t-_.b,radius:{topLeft:Math.max(0,w.topLeft-Math.max(_.t,_.l)),topRight:Math.max(0,w.topRight-Math.max(_.t,_.r)),bottomLeft:Math.max(0,w.bottomLeft-Math.max(_.b,_.l)),bottomRight:Math.max(0,w.bottomRight-Math.max(_.b,_.r))}}}}(this),z=function Qf(u){return u.topLeft||u.topRight||u.bottomLeft||u.bottomRight}(O.radius)?$o:ip;d.save(),(O.w!==w.w||O.h!==w.h)&&(d.beginPath(),z(d,tf(O,c,w)),d.clip(),z(d,tf(w,-c,O)),d.fillStyle=p,d.fill("evenodd")),d.beginPath(),z(d,tf(w,c)),d.fillStyle=_,d.fill(),d.restore()}inRange(d,c,p){return Tu(this,d,c,p)}inXRange(d,c){return Tu(this,d,null,c)}inYRange(d,c){return Tu(this,null,d,c)}getCenterPoint(d){const{x:c,y:p,base:_,horizontal:w}=this.getProps(["x","y","base","horizontal"],d);return{x:w?(c+_)/2:c,y:w?p:(p+_)/2}}getRange(d){return"x"===d?this.width/2:this.height/2}},LineElement:xu,PointElement:Rm});const nf=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],qf=nf.map(u=>u.replace("rgb(","rgba(").replace(")",", 0.5)"));function hh(u){return nf[u%nf.length]}function pd(u){return qf[u%qf.length]}function Eu(u){let d;for(d in u)if(u[d].borderColor||u[d].backgroundColor)return!0;return!1}var Fd={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(u,d,c){if(!c.enabled)return;const{data:{datasets:p},options:_}=u.config,{elements:w}=_;if(!c.forceOverride&&(Eu(p)||function gh(u){return u&&(u.borderColor||u.backgroundColor)}(_)||w&&Eu(w)))return;const O=function Nd(u){let d=0;return(c,p)=>{const _=u.getDatasetMeta(p).controller;_ instanceof cc?d=function Rd(u,d){return u.backgroundColor=u.data.map(()=>hh(d++)),d}(c,d):_ instanceof Pc?d=function fh(u,d){return u.backgroundColor=u.data.map(()=>pd(d++)),d}(c,d):_&&(d=function sp(u,d){return u.borderColor=hh(d),u.backgroundColor=pd(d),++d}(c,d))}}(u);p.forEach(O)}};function sf(u){if(u._decimated){const d=u._data;delete u._decimated,delete u._data,Object.defineProperty(u,"data",{configurable:!0,enumerable:!0,writable:!0,value:d})}}function mh(u){u.data.datasets.forEach(d=>{sf(d)})}var Yd={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(u,d,c)=>{if(!c.enabled)return void mh(u);const p=u.width;u.data.datasets.forEach((_,w)=>{const{_data:O,indexAxis:z}=_,Q=u.getDatasetMeta(w),ce=O||_.data;if("y"===Zr([z,u.options.indexAxis])||!Q.controller.supportsDecimation)return;const we=u.scales[Q.xAxisID];if("linear"!==we.type&&"time"!==we.type||u.options.parsing)return;let en,{start:Ke,count:_t}=function Wu(u,d){const c=d.length;let _,p=0;const{iScale:w}=u,{min:O,max:z,minDefined:Q,maxDefined:ce}=w.getUserBounds();return Q&&(p=Tn(yi(d,w.axis,O).lo,0,c-1)),_=ce?Tn(yi(d,w.axis,z).hi+1,p,c)-p:c-p,{start:p,count:_}}(Q,ce);if(_t<=(c.threshold||4*p))sf(_);else{switch(Bn(O)&&(_._data=ce,delete _.data,Object.defineProperty(_,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(an){this._data=an}})),c.algorithm){case"lttb":en=function ph(u,d,c,p,_){const w=_.samples||p;if(w>=c)return u.slice(d,d+c);const O=[],z=(c-2)/(w-2);let Q=0;const ce=d+c-1;let Ke,_t,Et,en,an,we=d;for(O[Q++]=u[we],Ke=0;KeEt&&(Et=en,_t=u[Jn],an=Jn);O[Q++]=_t,we=an}return O[Q++]=u[ce],O}(ce,Ke,_t,p,c);break;case"min-max":en=function rf(u,d,c,p){let O,z,Q,ce,we,Ke,_t,Et,en,an,_=0,w=0;const gn=[],Jn=u[d].x,Li=u[d+c-1].x-Jn;for(O=d;Oan&&(an=ce,_t=O),_=(w*_+z.x)/++w;else{const Di=O-1;if(!Bn(Ke)&&!Bn(_t)){const vr=Math.min(Ke,_t),Wi=Math.max(Ke,_t);vr!==Et&&vr!==Di&&gn.push({...u[vr],x:_}),Wi!==Et&&Wi!==Di&&gn.push({...u[Wi],x:_})}O>0&&Di!==Et&&gn.push(u[Di]),gn.push(z),we=gi,w=0,en=an=ce,Ke=_t=Et=O}}return gn}(ce,Ke,_t,p);break;default:throw new Error(`Unsupported decimation algorithm '${c.algorithm}'`)}_._decimated=en}})},destroy(u){mh(u)}};function _h(u,d,c,p){if(p)return;let _=d[u],w=c[u];return"angle"===u&&(_=Kt(_),w=Kt(w)),{property:u,start:_,end:w}}function af(u,d,c){for(;d>u;d--){const p=c[d];if(!isNaN(p.x)&&!isNaN(p.y))break}return d}function md(u,d,c,p){return u&&d?p(u[c],d[c]):u?u[c]:d?d[c]:0}function lf(u,d){let c=[],p=!1;return xi(u)?(p=!0,c=u):c=function Ch(u,d){const{x:c=null,y:p=null}=u||{},_=d.points,w=[];return d.segments.forEach(({start:O,end:z})=>{z=af(O,z,_);const Q=_[O],ce=_[z];null!==p?(w.push({x:Q.x,y:p}),w.push({x:ce.x,y:p})):null!==c&&(w.push({x:c,y:Q.y}),w.push({x:c,y:ce.y}))}),w}(u,d),c.length?new xu({points:c,options:{tension:0},_loop:p,_fullLoop:p}):null}function op(u){return u&&!1!==u.fill}function wu(u,d,c){let _=u[d].fill;const w=[d];let O;if(!c)return _;for(;!1!==_&&-1===w.indexOf(_);){if(!Mt(_))return _;if(O=u[_],!O)return!1;if(O.visible)return _;w.push(_),_=O.fill}return!1}function vh(u,d,c){const p=function Nm(u){const d=u.options,c=d.fill;let p=ve(c&&c.target,c);return void 0===p&&(p=!!d.backgroundColor),!1!==p&&null!==p&&(!0===p?"origin":p)}(u);if(fi(p))return!isNaN(p.value)&&p;let _=parseFloat(p);return Mt(_)&&Math.floor(_)===_?function tg(u,d,c,p){return("-"===u||"+"===u)&&(c=d+c),!(c===d||c<0||c>=p)&&c}(p[0],d,_,c):["origin","start","end","stack","shape"].indexOf(p)>=0&&p}function lp(u,d,c){const p=[];for(let _=0;_=0;--O){const z=_[O].$filler;z&&(z.line.updateControlPoints(w,z.axis),p&&z.fill&&rg(u.ctx,z,w))}},beforeDatasetsDraw(u,d,c){if("beforeDatasetsDraw"!==c.drawTime)return;const p=u.getSortedVisibleDatasetMetas();for(let _=p.length-1;_>=0;--_){const w=p[_].$filler;op(w)&&rg(u.ctx,w,u.chartArea)}},beforeDatasetDraw(u,d,c){const p=d.meta.$filler;!op(p)||"beforeDatasetDraw"!==c.drawTime||rg(u.ctx,p,u.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ff=(u,d)=>{let{boxHeight:c=d,boxWidth:p=d}=u;return u.usePointStyle&&(c=Math.min(c,d),p=u.pointStyleWidth||Math.min(p,d)),{boxWidth:p,boxHeight:c,itemHeight:Math.max(d,c)}};class Zu extends Cn{constructor(d){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=d.chart,this.options=d.options,this.ctx=d.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(d,c,p){this.maxWidth=d,this.maxHeight=c,this._margins=p,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const d=this.options.labels||{};let c=Ye(d.generateLabels,[this.chart],this)||[];d.filter&&(c=c.filter(p=>d.filter(p,this.chart.data))),d.sort&&(c=c.sort((p,_)=>d.sort(p,_,this.chart.data))),this.options.reverse&&c.reverse(),this.legendItems=c}fit(){const{options:d,ctx:c}=this;if(!d.display)return void(this.width=this.height=0);const p=d.labels,_=Mr(p.font),w=_.size,O=this._computeTitleHeight(),{boxWidth:z,itemHeight:Q}=ff(p,w);let ce,we;c.font=_.string,this.isHorizontal()?(ce=this.maxWidth,we=this._fitRows(O,w,z,Q)+10):(we=this.maxHeight,ce=this._fitCols(O,_,z,Q)+10),this.width=Math.min(ce,d.maxWidth||this.maxWidth),this.height=Math.min(we,d.maxHeight||this.maxHeight)}_fitRows(d,c,p,_){const{ctx:w,maxWidth:O,options:{labels:{padding:z}}}=this,Q=this.legendHitBoxes=[],ce=this.lineWidths=[0],we=_+z;let Ke=d;w.textAlign="left",w.textBaseline="middle";let _t=-1,Et=-we;return this.legendItems.forEach((en,an)=>{const gn=p+c/2+w.measureText(en.text).width;(0===an||ce[ce.length-1]+gn+2*z>O)&&(Ke+=we,ce[ce.length-(an>0?0:1)]=0,Et+=we,_t++),Q[an]={left:0,top:Et,row:_t,width:gn,height:_},ce[ce.length-1]+=gn+z}),Ke}_fitCols(d,c,p,_){const{ctx:w,maxHeight:O,options:{labels:{padding:z}}}=this,Q=this.legendHitBoxes=[],ce=this.columnSizes=[],we=O-d;let Ke=z,_t=0,Et=0,en=0,an=0;return this.legendItems.forEach((gn,Qn)=>{const{itemWidth:Jn,itemHeight:Mi}=function lg(u,d,c,p,_){const w=function cg(u,d,c,p){let _=u.text;return _&&"string"!=typeof _&&(_=_.reduce((w,O)=>w.length>O.length?w:O)),d+c.size/2+p.measureText(_).width}(p,u,d,c),O=function Ih(u,d,c){let p=u;return"string"!=typeof d.text&&(p=Hd(d,c)),p}(_,p,d.lineHeight);return{itemWidth:w,itemHeight:O}}(p,c,w,gn,_);Qn>0&&Et+Mi+2*z>we&&(Ke+=_t+z,ce.push({width:_t,height:Et}),en+=_t+z,an++,_t=Et=0),Q[Qn]={left:en,top:Et,col:an,width:Jn,height:Mi},_t=Math.max(_t,Jn),Et+=Mi+z}),Ke+=_t,ce.push({width:_t,height:Et}),Ke}adjustHitBoxes(){if(!this.options.display)return;const d=this._computeTitleHeight(),{legendHitBoxes:c,options:{align:p,labels:{padding:_},rtl:w}}=this,O=Fa(w,this.left,this.width);if(this.isHorizontal()){let z=0,Q=Bs(p,this.left+_,this.right-this.lineWidths[z]);for(const ce of c)z!==ce.row&&(z=ce.row,Q=Bs(p,this.left+_,this.right-this.lineWidths[z])),ce.top+=this.top+d+_,ce.left=O.leftForLtr(O.x(Q),ce.width),Q+=ce.width+_}else{let z=0,Q=Bs(p,this.top+d+_,this.bottom-this.columnSizes[z].height);for(const ce of c)ce.col!==z&&(z=ce.col,Q=Bs(p,this.top+d+_,this.bottom-this.columnSizes[z].height)),ce.top=Q,ce.left+=this.left+_,ce.left=O.leftForLtr(O.x(ce.left),ce.width),Q+=ce.height+_}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const d=this.ctx;_i(d,this),this._draw(),dr(d)}}_draw(){const{options:d,columnSizes:c,lineWidths:p,ctx:_}=this,{align:w,labels:O}=d,z=br.color,Q=Fa(d.rtl,this.left,this.width),ce=Mr(O.font),{padding:we}=O,Ke=ce.size,_t=Ke/2;let Et;this.drawTitle(),_.textAlign=Q.textAlign("left"),_.textBaseline="middle",_.lineWidth=.5,_.font=ce.string;const{boxWidth:en,boxHeight:an,itemHeight:gn}=ff(O,Ke),Mi=this.isHorizontal(),Li=this._computeTitleHeight();Et=Mi?{x:Bs(w,this.left+we,this.right-p[0]),y:this.top+we+Li,line:0}:{x:this.left+we,y:Bs(w,this.top+Li+we,this.bottom-c[0].height),line:0},so(this.ctx,d.textDirection);const gi=gn+we;this.legendItems.forEach((Di,vr)=>{_.strokeStyle=Di.fontColor,_.fillStyle=Di.fontColor;const Wi=_.measureText(Di.text).width,Yr=Q.textAlign(Di.textAlign||(Di.textAlign=O.textAlign)),Gs=en+_t+Wi;let to=Et.x,lo=Et.y;Q.setWidth(this.width),Mi?vr>0&&to+Gs+we>this.right&&(lo=Et.y+=gi,Et.line++,to=Et.x=Bs(w,this.left+we,this.right-p[Et.line])):vr>0&&lo+gi>this.bottom&&(to=Et.x=to+c[Et.line].width+we,Et.line++,lo=Et.y=Bs(w,this.top+Li+we,this.bottom-c[Et.line].height)),function(Di,vr,Wi){if(isNaN(en)||en<=0||isNaN(an)||an<0)return;_.save();const Yr=ve(Wi.lineWidth,1);if(_.fillStyle=ve(Wi.fillStyle,z),_.lineCap=ve(Wi.lineCap,"butt"),_.lineDashOffset=ve(Wi.lineDashOffset,0),_.lineJoin=ve(Wi.lineJoin,"miter"),_.lineWidth=Yr,_.strokeStyle=ve(Wi.strokeStyle,z),_.setLineDash(ve(Wi.lineDash,[])),O.usePointStyle){const Gs={radius:an*Math.SQRT2/2,pointStyle:Wi.pointStyle,rotation:Wi.rotation,borderWidth:Yr},to=Q.xPlus(Di,en/2);Ma(_,Gs,to,vr+_t,O.pointStyleWidth&&en)}else{const Gs=vr+Math.max((Ke-an)/2,0),to=Q.leftForLtr(Di,en),lo=Us(Wi.borderRadius);_.beginPath(),Object.values(lo).some(wc=>0!==wc)?$o(_,{x:to,y:Gs,w:en,h:an,radius:lo}):_.rect(to,Gs,en,an),_.fill(),0!==Yr&&_.stroke()}_.restore()}(Q.x(to),lo,Di),to=((u,d,c,p)=>u===(p?"left":"right")?c:"center"===u?(d+c)/2:d)(Yr,to+en+_t,Mi?to+Gs:this.right,d.rtl),function(Di,vr,Wi){os(_,Wi.text,Di,vr+gn/2,ce,{strikethrough:Wi.hidden,textAlign:Q.textAlign(Wi.textAlign)})}(Q.x(to),lo,Di),Mi?Et.x+=Gs+we:Et.y+="string"!=typeof Di.text?Hd(Di,ce.lineHeight)+we:gi}),Vs(this.ctx,d.textDirection)}drawTitle(){const d=this.options,c=d.title,p=Mr(c.font),_=Rs(c.padding);if(!c.display)return;const w=Fa(d.rtl,this.left,this.width),O=this.ctx,z=c.position,ce=_.top+p.size/2;let we,Ke=this.left,_t=this.width;if(this.isHorizontal())_t=Math.max(...this.lineWidths),we=this.top+ce,Ke=Bs(d.align,Ke,this.right-_t);else{const en=this.columnSizes.reduce((an,gn)=>Math.max(an,gn.height),0);we=ce+Bs(d.align,this.top,this.bottom-en-d.labels.padding-this._computeTitleHeight())}const Et=Bs(z,Ke,Ke+_t);O.textAlign=w.textAlign(To(z)),O.textBaseline="middle",O.strokeStyle=c.color,O.fillStyle=c.color,O.font=p.string,os(O,c.text,Et,we,p)}_computeTitleHeight(){const d=this.options.title,c=Mr(d.font),p=Rs(d.padding);return d.display?c.lineHeight+p.height:0}_getLegendItemAt(d,c){let p,_,w;if(nn(d,this.left,this.right)&&nn(c,this.top,this.bottom))for(w=this.legendHitBoxes,p=0;pnull!==u&&null!==d&&u.datasetIndex===d.datasetIndex&&u.index===d.index)(_,p);_&&!w&&Ye(c.onLeave,[d,_,this],this),this._hoveredItem=p,p&&!w&&Ye(c.onHover,[d,p,this],this)}else p&&Ye(c.onClick,[d,p,this],this)}}function Hd(u,d){return d*(u.text?u.text.length:0)}var hp={id:"legend",_element:Zu,start(u,d,c){const p=u.legend=new Zu({ctx:u.ctx,options:c,chart:u});oo.configure(u,p,c),oo.addBox(u,p)},stop(u){oo.removeBox(u,u.legend),delete u.legend},beforeUpdate(u,d,c){const p=u.legend;oo.configure(u,p,c),p.options=c},afterUpdate(u){const d=u.legend;d.buildLabels(),d.adjustHitBoxes()},afterEvent(u,d){d.replay||u.legend.handleEvent(d.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(u,d,c){const p=d.datasetIndex,_=c.chart;_.isDatasetVisible(p)?(_.hide(p),d.hidden=!0):(_.show(p),d.hidden=!1)},onHover:null,onLeave:null,labels:{color:u=>u.chart.options.color,boxWidth:40,padding:10,generateLabels(u){const d=u.data.datasets,{labels:{usePointStyle:c,pointStyle:p,textAlign:_,color:w,useBorderRadius:O,borderRadius:z}}=u.legend.options;return u._getSortedDatasetMetas().map(Q=>{const ce=Q.controller.getStyle(c?0:void 0),we=Rs(ce.borderWidth);return{text:d[Q.index].label,fillStyle:ce.backgroundColor,fontColor:w,hidden:!Q.visible,lineCap:ce.borderCapStyle,lineDash:ce.borderDash,lineDashOffset:ce.borderDashOffset,lineJoin:ce.borderJoinStyle,lineWidth:(we.width+we.height)/4,strokeStyle:ce.borderColor,pointStyle:p||ce.pointStyle,rotation:ce.rotation,textAlign:_||ce.textAlign,borderRadius:O&&(z||ce.borderRadius),datasetIndex:Q.index}},this)}},title:{color:u=>u.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:u=>!u.startsWith("on"),labels:{_scriptable:u=>!["generateLabels","filter","sort"].includes(u)}}};class gf extends Cn{constructor(d){super(),this.chart=d.chart,this.options=d.options,this.ctx=d.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(d,c){const p=this.options;if(this.left=0,this.top=0,!p.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=d,this.height=this.bottom=c;const _=xi(p.text)?p.text.length:1;this._padding=Rs(p.padding);const w=_*Mr(p.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=w:this.width=w}isHorizontal(){const d=this.options.position;return"top"===d||"bottom"===d}_drawArgs(d){const{top:c,left:p,bottom:_,right:w,options:O}=this,z=O.align;let ce,we,Ke,Q=0;return this.isHorizontal()?(we=Bs(z,p,w),Ke=c+d,ce=w-p):("left"===O.position?(we=p+d,Ke=Bs(z,_,c),Q=-.5*Pt):(we=w-d,Ke=Bs(z,c,_),Q=.5*Pt),ce=_-c),{titleX:we,titleY:Ke,maxWidth:ce,rotation:Q}}draw(){const d=this.ctx,c=this.options;if(!c.display)return;const p=Mr(c.font),w=p.lineHeight/2+this._padding.top,{titleX:O,titleY:z,maxWidth:Q,rotation:ce}=this._drawArgs(w);os(d,c.text,0,0,p,{color:c.color,maxWidth:Q,rotation:ce,textAlign:To(c.align),textBaseline:"middle",translation:[O,z]})}}var ug={id:"title",_element:gf,start(u,d,c){!function fp(u,d){const c=new gf({ctx:u.ctx,options:d,chart:u});oo.configure(u,c,d),oo.addBox(u,c),u.titleBlock=c}(u,c)},stop(u){oo.removeBox(u,u.titleBlock),delete u.titleBlock},beforeUpdate(u,d,c){const p=u.titleBlock;oo.configure(u,p,c),p.options=c},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const tu=new WeakMap;var dg={id:"subtitle",start(u,d,c){const p=new gf({ctx:u.ctx,options:c,chart:u});oo.configure(u,p,c),oo.addBox(u,p),tu.set(u,p)},stop(u){oo.removeBox(u,tu.get(u)),tu.delete(u)},beforeUpdate(u,d,c){const p=tu.get(u);oo.configure(u,p,c),p.options=c},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Me={average(u){if(!u.length)return!1;let d,c,p=new Set,_=0,w=0;for(d=0,c=u.length;dz+Q)/p.size,y:_/w}},nearest(u,d){if(!u.length)return!1;let w,O,z,c=d.x,p=d.y,_=Number.POSITIVE_INFINITY;for(w=0,O=u.length;w-1?u.split("\n"):u}function st(u,d){const{element:c,datasetIndex:p,index:_}=d,w=u.getDatasetMeta(p).controller,{label:O,value:z}=w.getLabelAndValue(_);return{chart:u,label:O,parsed:w.getParsed(_),raw:u.data.datasets[p].data[_],formattedValue:z,dataset:w.getDataset(),dataIndex:_,datasetIndex:p,element:c}}function At(u,d){const c=u.chart.ctx,{body:p,footer:_,title:w}=u,{boxWidth:O,boxHeight:z}=d,Q=Mr(d.bodyFont),ce=Mr(d.titleFont),we=Mr(d.footerFont),Ke=w.length,_t=_.length,Et=p.length,en=Rs(d.padding);let an=en.height,gn=0,Qn=p.reduce((Li,gi)=>Li+gi.before.length+gi.lines.length+gi.after.length,0);Qn+=u.beforeBody.length+u.afterBody.length,Ke&&(an+=Ke*ce.lineHeight+(Ke-1)*d.titleSpacing+d.titleMarginBottom),Qn&&(an+=Et*(d.displayColors?Math.max(z,Q.lineHeight):Q.lineHeight)+(Qn-Et)*Q.lineHeight+(Qn-1)*d.bodySpacing),_t&&(an+=d.footerMarginTop+_t*we.lineHeight+(_t-1)*d.footerSpacing);let Jn=0;const Mi=function(Li){gn=Math.max(gn,c.measureText(Li).width+Jn)};return c.save(),c.font=ce.string,xt(u.title,Mi),c.font=Q.string,xt(u.beforeBody.concat(u.afterBody),Mi),Jn=d.displayColors?O+2+d.boxPadding:0,xt(p,Li=>{xt(Li.before,Mi),xt(Li.lines,Mi),xt(Li.after,Mi)}),Jn=0,c.font=we.string,xt(u.footer,Mi),c.restore(),gn+=en.width,{width:gn,height:an}}function Xn(u,d,c,p){const{x:_,width:w}=c,{width:O,chartArea:{left:z,right:Q}}=u;let ce="center";return"center"===p?ce=_<=(z+Q)/2?"left":"right":_<=w/2?ce="left":_>=O-w/2&&(ce="right"),function Mn(u,d,c,p){const{x:_,width:w}=p,O=c.caretSize+c.caretPadding;if("left"===u&&_+w+O>d.width||"right"===u&&_-w-O<0)return!0}(ce,u,d,c)&&(ce="center"),ce}function Ai(u,d,c){const p=c.yAlign||d.yAlign||function fn(u,d){const{y:c,height:p}=d;return c

    u.height-p/2?"bottom":"center"}(u,c);return{xAlign:c.xAlign||d.xAlign||Xn(u,d,c,p),yAlign:p}}function Os(u,d,c,p){const{caretSize:_,caretPadding:w,cornerRadius:O}=u,{xAlign:z,yAlign:Q}=c,ce=_+w,{topLeft:we,topRight:Ke,bottomLeft:_t,bottomRight:Et}=Us(O);let en=function nr(u,d){let{x:c,width:p}=u;return"right"===d?c-=p:"center"===d&&(c-=p/2),c}(d,z);const an=function Ni(u,d,c){let{y:p,height:_}=u;return"top"===d?p+=c:p-="bottom"===d?_+c:_/2,p}(d,Q,ce);return"center"===Q?"left"===z?en+=ce:"right"===z&&(en-=ce):"left"===z?en-=Math.max(we,_t)+_:"right"===z&&(en+=Math.max(Ke,Et)+_),{x:Tn(en,0,p.width-d.width),y:Tn(an,0,p.height-d.height)}}function Fs(u,d,c){const p=Rs(c.padding);return"center"===d?u.x+u.width/2:"right"===d?u.x+u.width-p.right:u.x+p.left}function ys(u){return Z([],le(u))}function qs(u,d){const c=d&&d.dataset&&d.dataset.tooltip&&d.dataset.tooltip.callbacks;return c?u.override(c):u}const Lo={beforeTitle:di,title(u){if(u.length>0){const d=u[0],c=d.chart.data.labels,p=c?c.length:0;if(this&&this.options&&"dataset"===this.options.mode)return d.dataset.label||"";if(d.label)return d.label;if(p>0&&d.dataIndex"u"?Lo[d].call(c,p):_}let ul=(()=>class u extends Cn{static positioners=Me;constructor(c){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=c.chart,this.options=c.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(c){this.options=c,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const c=this._cachedAnimations;if(c)return c;const p=this.chart,_=this.options.setContext(this.getContext()),w=_.enabled&&p.options.animation&&_.animations,O=new Io(this.chart,w);return w._cacheable&&(this._cachedAnimations=Object.freeze(O)),O}getContext(){return this.$context||(this.$context=function La(u,d,c){return uo(u,{tooltip:d,tooltipItems:c,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(c,p){const{callbacks:_}=p,w=eo(_,"beforeTitle",this,c),O=eo(_,"title",this,c),z=eo(_,"afterTitle",this,c);let Q=[];return Q=Z(Q,le(w)),Q=Z(Q,le(O)),Q=Z(Q,le(z)),Q}getBeforeBody(c,p){return ys(eo(p.callbacks,"beforeBody",this,c))}getBody(c,p){const{callbacks:_}=p,w=[];return xt(c,O=>{const z={before:[],lines:[],after:[]},Q=qs(_,O);Z(z.before,le(eo(Q,"beforeLabel",this,O))),Z(z.lines,eo(Q,"label",this,O)),Z(z.after,le(eo(Q,"afterLabel",this,O))),w.push(z)}),w}getAfterBody(c,p){return ys(eo(p.callbacks,"afterBody",this,c))}getFooter(c,p){const{callbacks:_}=p,w=eo(_,"beforeFooter",this,c),O=eo(_,"footer",this,c),z=eo(_,"afterFooter",this,c);let Q=[];return Q=Z(Q,le(w)),Q=Z(Q,le(O)),Q=Z(Q,le(z)),Q}_createItems(c){const p=this._active,_=this.chart.data,w=[],O=[],z=[];let ce,we,Q=[];for(ce=0,we=p.length;cec.filter(Ke,_t,Et,_))),c.itemSort&&(Q=Q.sort((Ke,_t)=>c.itemSort(Ke,_t,_))),xt(Q,Ke=>{const _t=qs(c.callbacks,Ke);w.push(eo(_t,"labelColor",this,Ke)),O.push(eo(_t,"labelPointStyle",this,Ke)),z.push(eo(_t,"labelTextColor",this,Ke))}),this.labelColors=w,this.labelPointStyles=O,this.labelTextColors=z,this.dataPoints=Q,Q}update(c,p){const _=this.options.setContext(this.getContext()),w=this._active;let O,z=[];if(w.length){const Q=Me[_.position].call(this,w,this._eventPosition);z=this._createItems(_),this.title=this.getTitle(z,_),this.beforeBody=this.getBeforeBody(z,_),this.body=this.getBody(z,_),this.afterBody=this.getAfterBody(z,_),this.footer=this.getFooter(z,_);const ce=this._size=At(this,_),we=Object.assign({},Q,ce),Ke=Ai(this.chart,_,we),_t=Os(_,we,Ke,this.chart);this.xAlign=Ke.xAlign,this.yAlign=Ke.yAlign,O={opacity:1,x:_t.x,y:_t.y,width:ce.width,height:ce.height,caretX:Q.x,caretY:Q.y}}else 0!==this.opacity&&(O={opacity:0});this._tooltipItems=z,this.$context=void 0,O&&this._resolveAnimations().update(this,O),c&&_.external&&_.external.call(this,{chart:this.chart,tooltip:this,replay:p})}drawCaret(c,p,_,w){const O=this.getCaretPosition(c,_,w);p.lineTo(O.x1,O.y1),p.lineTo(O.x2,O.y2),p.lineTo(O.x3,O.y3)}getCaretPosition(c,p,_){const{xAlign:w,yAlign:O}=this,{caretSize:z,cornerRadius:Q}=_,{topLeft:ce,topRight:we,bottomLeft:Ke,bottomRight:_t}=Us(Q),{x:Et,y:en}=c,{width:an,height:gn}=p;let Qn,Jn,Mi,Li,gi,Di;return"center"===O?(gi=en+gn/2,"left"===w?(Qn=Et,Jn=Qn-z,Li=gi+z,Di=gi-z):(Qn=Et+an,Jn=Qn+z,Li=gi-z,Di=gi+z),Mi=Qn):(Jn="left"===w?Et+Math.max(ce,Ke)+z:"right"===w?Et+an-Math.max(we,_t)-z:this.caretX,"top"===O?(Li=en,gi=Li-z,Qn=Jn-z,Mi=Jn+z):(Li=en+gn,gi=Li+z,Qn=Jn+z,Mi=Jn-z),Di=Li),{x1:Qn,x2:Jn,x3:Mi,y1:Li,y2:gi,y3:Di}}drawTitle(c,p,_){const w=this.title,O=w.length;let z,Q,ce;if(O){const we=Fa(_.rtl,this.x,this.width);for(c.x=Fs(this,_.titleAlign,_),p.textAlign=we.textAlign(_.titleAlign),p.textBaseline="middle",z=Mr(_.titleFont),Q=_.titleSpacing,p.fillStyle=_.titleColor,p.font=z.string,ce=0;ce0!==Mi)?(c.beginPath(),c.fillStyle=O.multiKeyBackground,$o(c,{x:gn,y:an,w:we,h:ce,radius:Jn}),c.fill(),c.stroke(),c.fillStyle=z.backgroundColor,c.beginPath(),$o(c,{x:Qn,y:an+1,w:we-2,h:ce-2,radius:Jn}),c.fill()):(c.fillStyle=O.multiKeyBackground,c.fillRect(gn,an,we,ce),c.strokeRect(gn,an,we,ce),c.fillStyle=z.backgroundColor,c.fillRect(Qn,an+1,we-2,ce-2))}c.fillStyle=this.labelTextColors[_]}drawBody(c,p,_){const{body:w}=this,{bodySpacing:O,bodyAlign:z,displayColors:Q,boxHeight:ce,boxWidth:we,boxPadding:Ke}=_,_t=Mr(_.bodyFont);let Et=_t.lineHeight,en=0;const an=Fa(_.rtl,this.x,this.width),gn=function(Yr){p.fillText(Yr,an.x(c.x+en),c.y+Et/2),c.y+=Et+O},Qn=an.textAlign(z);let Jn,Mi,Li,gi,Di,vr,Wi;for(p.textAlign=z,p.textBaseline="middle",p.font=_t.string,c.x=Fs(this,Qn,_),p.fillStyle=_.bodyColor,xt(this.beforeBody,gn),en=Q&&"right"!==Qn?"center"===z?we/2+Ke:we+2+Ke:0,gi=0,vr=w.length;gi0&&p.stroke()}_updateAnimationTarget(c){const p=this.chart,_=this.$animations,w=_&&_.x,O=_&&_.y;if(w||O){const z=Me[c.position].call(this,this._active,this._eventPosition);if(!z)return;const Q=this._size=At(this,c),ce=Object.assign({},z,this._size),we=Ai(p,c,ce),Ke=Os(c,ce,we,p);(w._to!==Ke.x||O._to!==Ke.y)&&(this.xAlign=we.xAlign,this.yAlign=we.yAlign,this.width=Q.width,this.height=Q.height,this.caretX=z.x,this.caretY=z.y,this._resolveAnimations().update(this,Ke))}}_willRender(){return!!this.opacity}draw(c){const p=this.options.setContext(this.getContext());let _=this.opacity;if(!_)return;this._updateAnimationTarget(p);const w={width:this.width,height:this.height},O={x:this.x,y:this.y};_=Math.abs(_)<.001?0:_;const z=Rs(p.padding);p.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(c.save(),c.globalAlpha=_,this.drawBackground(O,c,w,p),so(c,p.textDirection),O.y+=z.top,this.drawTitle(O,c,p),this.drawBody(O,c,p),this.drawFooter(O,c,p),Vs(c,p.textDirection),c.restore())}getActiveElements(){return this._active||[]}setActiveElements(c,p){const _=this._active,w=c.map(({datasetIndex:Q,index:ce})=>{const we=this.chart.getDatasetMeta(Q);if(!we)throw new Error("Cannot find a dataset at index "+Q);return{datasetIndex:Q,element:we.data[ce],index:ce}}),O=!cn(_,w),z=this._positionChanged(w,p);(O||z)&&(this._active=w,this._eventPosition=p,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(c,p,_=!0){if(p&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const w=this.options,O=this._active||[],z=this._getActiveElements(c,O,p,_),Q=this._positionChanged(z,c),ce=p||!cn(z,O)||Q;return ce&&(this._active=z,(w.enabled||w.external)&&(this._eventPosition={x:c.x,y:c.y},this.update(!0,p))),ce}_getActiveElements(c,p,_,w){const O=this.options;if("mouseout"===c.type)return[];if(!w)return p.filter(Q=>this.chart.data.datasets[Q.datasetIndex]&&void 0!==this.chart.getDatasetMeta(Q.datasetIndex).controller.getParsed(Q.index));const z=this.chart.getElementsAtEventForMode(c,O.mode,O,_);return O.reverse&&z.reverse(),z}_positionChanged(c,p){const{caretX:_,caretY:w,options:O}=this,z=Me[O.position].call(this,c,p);return!1!==z&&(_!==z.x||w!==z.y)}})();var kl={id:"tooltip",_element:ul,positioners:Me,afterInit(u,d,c){c&&(u.tooltip=new ul({chart:u,options:c}))},beforeUpdate(u,d,c){u.tooltip&&u.tooltip.initialize(c)},reset(u,d,c){u.tooltip&&u.tooltip.initialize(c)},afterDraw(u){const d=u.tooltip;if(d&&d._willRender()){const c={tooltip:d};if(!1===u.notifyPlugins("beforeTooltipDraw",{...c,cancelable:!0}))return;d.draw(u.ctx),u.notifyPlugins("afterTooltipDraw",c)}},afterEvent(u,d){u.tooltip&&u.tooltip.handleEvent(d.event,d.replay,d.inChartArea)&&(d.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(u,d)=>d.bodyFont.size,boxWidth:(u,d)=>d.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Lo},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:u=>"filter"!==u&&"itemSort"!==u&&"external"!==u,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},bo=Object.freeze({__proto__:null,Colors:Fd,Decimation:Yd,Filler:og,Legend:hp,SubTitle:dg,Title:ug,Tooltip:kl});function ua(u){const d=this.getLabels();return u>=0&&uclass u extends _o{static id="category";static defaults={ticks:{callback:ua}};constructor(c){super(c),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(c){const p=this._addedLabels;if(p.length){const _=this.getLabels();for(const{index:w,label:O}of p)_[w]===O&&_.splice(w,1);this._addedLabels=[]}super.init(c)}parse(c,p){if(Bn(c))return null;const _=this.getLabels();return((u,d)=>null===u?null:Tn(Math.round(u),0,d))(p=isFinite(p)&&_[p]===c?p:function ca(u,d,c,p){const _=u.indexOf(d);return-1===_?((u,d,c,p)=>("string"==typeof d?(c=u.push(d)-1,p.unshift({index:c,label:d})):isNaN(d)&&(c=null),c))(u,d,c,p):_!==u.lastIndexOf(d)?c:_}(_,c,ve(p,c),this._addedLabels),_.length-1)}determineDataLimits(){const{minDefined:c,maxDefined:p}=this.getUserBounds();let{min:_,max:w}=this.getMinMax(!0);"ticks"===this.options.bounds&&(c||(_=0),p||(w=this.getLabels().length-1)),this.min=_,this.max=w}buildTicks(){const c=this.min,p=this.max,_=this.options.offset,w=[];let O=this.getLabels();O=0===c&&p===O.length-1?O:O.slice(c,p+1),this._valueRange=Math.max(O.length-(_?0:1),1),this._startValue=this.min-(_?.5:0);for(let z=c;z<=p;z++)w.push({value:z});return w}getLabelForValue(c){return ua.call(this,c)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(c){return"number"!=typeof c&&(c=this.parse(c)),null===c?NaN:this.getPixelForDecimal((c-this._startValue)/this._valueRange)}getPixelForTick(c){const p=this.ticks;return c<0||c>p.length-1?null:this.getPixelForValue(p[c].value)}getValueForPixel(c){return Math.round(this._startValue+this.getDecimalForPixel(c)*this._valueRange)}getBasePixel(){return this.bottom}})();function tc(u,d,{horizontal:c,minRotation:p}){const _=Xe(p),w=(c?Math.sin(_):Math.cos(_))||.001;return Math.min(d/w,.75*d*(""+u).length)}class Tc extends _o{constructor(d){super(d),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(d,c){return Bn(d)||("number"==typeof d||d instanceof Number)&&!isFinite(+d)?null:+d}handleTickRangeOptions(){const{beginAtZero:d}=this.options,{minDefined:c,maxDefined:p}=this.getUserBounds();let{min:_,max:w}=this;const O=Q=>_=c?_:Q,z=Q=>w=p?w:Q;if(d){const Q=Bt(_),ce=Bt(w);Q<0&&ce<0?z(0):Q>0&&ce>0&&O(0)}if(_===w){let Q=0===w?1:Math.abs(.05*w);z(w+Q),d||O(_-Q)}this.min=_,this.max=w}getTickLimit(){const d=this.options.ticks;let _,{maxTicksLimit:c,stepSize:p}=d;return p?(_=Math.ceil(this.max/p)-Math.floor(this.min/p)+1,_>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${p} would result generating up to ${_} ticks. Limiting to 1000.`),_=1e3)):(_=this.computeTickLimit(),c=c||11),c&&(_=Math.min(c,_)),_}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const d=this.options,c=d.ticks;let p=this.getTickLimit();p=Math.max(2,p);const O=function Zl(u,d){const c=[],{bounds:_,step:w,min:O,max:z,precision:Q,count:ce,maxTicks:we,maxDigits:Ke,includeBounds:_t}=u,Et=w||1,en=we-1,{min:an,max:gn}=d,Qn=!Bn(O),Jn=!Bn(z),Mi=!Bn(ce),Li=(gn-an)/(Ke+1);let Di,vr,Wi,Yr,gi=mi((gn-an)/en/Et)*Et;if(gi<1e-14&&!Qn&&!Jn)return[{value:an},{value:gn}];Yr=Math.ceil(gn/gi)-Math.floor(an/gi),Yr>en&&(gi=mi(Yr*gi/en/Et)*Et),Bn(Q)||(Di=Math.pow(10,Q),gi=Math.ceil(gi*Di)/Di),"ticks"===_?(vr=Math.floor(an/gi)*gi,Wi=Math.ceil(gn/gi)*gi):(vr=an,Wi=gn),Qn&&Jn&&w&&function Ur(u,d){const c=Math.round(u);return c-d<=u&&c+d>=u}((z-O)/w,gi/1e3)?(Yr=Math.round(Math.min((z-O)/gi,we)),gi=(z-O)/Yr,vr=O,Wi=z):Mi?(vr=Qn?O:vr,Wi=Jn?z:Wi,Yr=ce-1,gi=(Wi-vr)/Yr):(Yr=(Wi-vr)/gi,Yr=bn(Yr,Math.round(Yr),gi/1e3)?Math.round(Yr):Math.ceil(Yr));const Gs=Math.max(ge(gi),ge(vr));Di=Math.pow(10,Bn(Q)?Gs:Q),vr=Math.round(vr*Di)/Di,Wi=Math.round(Wi*Di)/Di;let to=0;for(Qn&&(_t&&vr!==O?(c.push({value:O}),vrz)break;c.push({value:lo})}return Jn&&_t&&Wi!==z?c.length&&bn(c[c.length-1].value,z,tc(z,Li,u))?c[c.length-1].value=z:c.push({value:z}):(!Jn||Wi===z)&&c.push({value:Wi}),c}({maxTicks:p,bounds:d.bounds,min:d.min,max:d.max,precision:c.precision,step:c.stepSize,count:c.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:c.minRotation||0,includeBounds:!1!==c.includeBounds},this._range||this);return"ticks"===d.bounds&&mn(O,this,"value"),d.reverse?(O.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),O}configure(){const d=this.ticks;let c=this.min,p=this.max;if(super.configure(),this.options.offset&&d.length){const _=(p-c)/Math.max(d.length-1,1)/2;c-=_,p+=_}this._startValue=c,this._endValue=p,this._valueRange=p-c}getLabelForValue(d){return Fo(d,this.chart.options.locale,this.options.ticks.format)}}const pc=u=>Math.floor(Rt(u)),oc=(u,d)=>Math.pow(10,pc(u)+d);function mc(u){return u/Math.pow(10,pc(u))==1}function Yc(u,d,c){const p=Math.pow(10,c),_=Math.floor(u/p);return Math.ceil(d/p)-_}function jd(u){const d=u.ticks;if(d.display&&u.display){const c=Rs(d.backdropPadding);return ve(d.font&&d.font.size,br.font.size)+c.height}return 0}function zd(u,d,c){return c=xi(c)?c:[c],{w:gl(u,d.string,c),h:c.length*d.lineHeight}}function Ku(u,d,c,p,_){return u===p||u===_?{start:d-c/2,end:d+c/2}:u_?{start:d-c,end:d}:{start:d,end:d+c}}function pu(u,d,c,p,_){const w=Math.abs(Math.sin(c)),O=Math.abs(Math.cos(c));let z=0,Q=0;p.startd.r&&(z=(p.end-d.r)/w,u.r=Math.max(u.r,d.r+z)),_.startd.b&&(Q=(_.end-d.b)/O,u.b=Math.max(u.b,d.b+Q))}function Mu(u,d,c){const p=u.drawingArea,{extra:_,additionalAngle:w,padding:O,size:z}=c,Q=u.getPointPosition(d,p+_+O,w),ce=Math.round(ke(Kt(Q.angle+Sr))),we=function Vd(u,d,c){return 90===c||270===c?u-=d/2:(c>270||c<90)&&(u-=d),u}(Q.y,z.h,ce),Ke=function pf(u){return 0===u||180===u?"center":u<180?"left":"right"}(ce),_t=function hg(u,d,c){return"right"===c?u-=d:"center"===c&&(u-=d/2),u}(Q.x,z.w,Ke);return{visible:!0,x:Q.x,y:we,textAlign:Ke,left:_t,top:we,right:_t+z.w,bottom:we+z.h}}function _d(u,d){if(!d)return!0;const{left:c,top:p,right:_,bottom:w}=u;return!(Fi({x:c,y:p},d)||Fi({x:c,y:w},d)||Fi({x:_,y:p},d)||Fi({x:_,y:w},d))}function Cd(u,d,c){const{left:p,top:_,right:w,bottom:O}=c,{backdropColor:z}=d;if(!Bn(z)){const Q=Us(d.borderRadius),ce=Rs(d.backdropPadding);u.fillStyle=z;const we=p-ce.left,Ke=_-ce.top,_t=w-p+ce.width,Et=O-_+ce.height;Object.values(Q).some(en=>0!==en)?(u.beginPath(),$o(u,{x:we,y:Ke,w:_t,h:Et,radius:Q}),u.fill()):u.fillRect(we,Ke,_t,Et)}}function mf(u,d,c,p){const{ctx:_}=u;if(c)_.arc(u.xCenter,u.yCenter,d,0,ln);else{let w=u.getPointPosition(0,d);_.moveTo(w.x,w.y);for(let O=1;O=d?c[p]:c[_]]=!0}}else u[d]=!0}function Zd(u,d,c){const p=[],_={},w=d.length;let O,z;for(O=0;O=0&&(d[Q].major=!0);return d}(u,p,_,c):p}let du=(()=>class u extends _o{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(c){super(c),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(c,p={}){const _=c.time||(c.time={}),w=this._adapter=new Ac__date(c.adapters.date);w.init(p),ki(_.displayFormats,w.formats()),this._parseOpts={parser:_.parser,round:_.round,isoWeekday:_.isoWeekday},super.init(c),this._normalized=p.normalized}parse(c,p){return void 0===c?null:uu(this,c)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const c=this.options,p=this._adapter,_=c.time.unit||"day";let{min:w,max:O,minDefined:z,maxDefined:Q}=this.getUserBounds();function ce(we){!z&&!isNaN(we.min)&&(w=Math.min(w,we.min)),!Q&&!isNaN(we.max)&&(O=Math.max(O,we.max))}(!z||!Q)&&(ce(this._getLabelBounds()),("ticks"!==c.bounds||"labels"!==c.ticks.source)&&ce(this.getMinMax(!1))),w=Mt(w)&&!isNaN(w)?w:+p.startOf(Date.now(),_),O=Mt(O)&&!isNaN(O)?O:+p.endOf(Date.now(),_)+1,this.min=Math.min(w,O-1),this.max=Math.max(w+1,O)}_getLabelBounds(){const c=this.getLabelTimestamps();let p=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;return c.length&&(p=c[0],_=c[c.length-1]),{min:p,max:_}}buildTicks(){const c=this.options,p=c.time,_=c.ticks,w="labels"===_.source?this.getLabelTimestamps():this._generate();"ticks"===c.bounds&&w.length&&(this.min=this._userMin||w[0],this.max=this._userMax||w[w.length-1]);const O=this.min,Q=function ss(u,d,c){let p=0,_=u.length;for(;p<_&&u[p]p&&u[_-1]>c;)_--;return p>0||_=Ca.indexOf(c);w--){const O=Ca[w];if(Qu[O].common&&u._adapter.diff(_,p,O)>=d-1)return O}return Ca[c?Ca.indexOf(c):0]}(this,Q.length,p.minUnit,this.min,this.max)),this._majorUnit=_.major.enabled&&"year"!==this._unit?function Ad(u){for(let d=Ca.indexOf(u)+1,c=Ca.length;d+c.value))}initOffsets(c=[]){let w,O,p=0,_=0;this.options.offset&&c.length&&(w=this.getDecimalForValue(c[0]),p=1===c.length?1-w:(this.getDecimalForValue(c[1])-w)/2,O=this.getDecimalForValue(c[c.length-1]),_=1===c.length?O:(O-this.getDecimalForValue(c[c.length-2]))/2);const z=c.length<3?.5:.25;p=Tn(p,0,z),_=Tn(_,0,z),this._offsets={start:p,end:_,factor:1/(p+1+_)}}_generate(){const c=this._adapter,p=this.min,_=this.max,w=this.options,O=w.time,z=O.unit||Xu(O.minUnit,p,_,this._getLabelCapacity(p)),Q=ve(w.ticks.stepSize,1),ce="week"===z&&O.isoWeekday,we=Ri(ce)||!0===ce,Ke={};let Et,en,_t=p;if(we&&(_t=+c.startOf(_t,"isoWeek",ce)),_t=+c.startOf(_t,we?"day":z),c.diff(_,p,z)>1e5*Q)throw new Error(p+" and "+_+" are too far apart with stepSize of "+Q+" "+z);const an="data"===w.ticks.source&&this.getDataTimestamps();for(Et=_t,en=0;Et<_;Et=+c.add(Et,Q,z),en++)Wc(Ke,Et,an);return(Et===_||"ticks"===w.bounds||1===en)&&Wc(Ke,Et,an),Object.keys(Ke).sort(Vc).map(gn=>+gn)}getLabelForValue(c){const _=this.options.time;return this._adapter.format(c,_.tooltipFormat?_.tooltipFormat:_.displayFormats.datetime)}format(c,p){return this._adapter.format(c,p||this.options.time.displayFormats[this._unit])}_tickFormatFunction(c,p,_,w){const O=this.options,z=O.ticks.callback;if(z)return Ye(z,[c,p,_],this);const Q=O.time.displayFormats,ce=this._unit,we=this._majorUnit,_t=we&&Q[we],Et=_[p];return this._adapter.format(c,w||(we&&_t&&Et&&Et.major?_t:ce&&Q[ce]))}generateTickLabels(c){let p,_,w;for(p=0,_=c.length;p<_;++p)w=c[p],w.label=this._tickFormatFunction(w.value,p,c)}getDecimalForValue(c){return null===c?NaN:(c-this.min)/(this.max-this.min)}getPixelForValue(c){const p=this._offsets,_=this.getDecimalForValue(c);return this.getPixelForDecimal((p.start+_)*p.factor)}getValueForPixel(c){const p=this._offsets,_=this.getDecimalForPixel(c)/p.factor-p.end;return this.min+_*(this.max-this.min)}_getLabelSize(c){const p=this.options.ticks,_=this.ctx.measureText(c).width,w=Xe(this.isHorizontal()?p.maxRotation:p.minRotation),O=Math.cos(w),z=Math.sin(w),Q=this._resolveTickFontOptions(0).size;return{w:_*O+Q*z,h:_*z+Q*O}}_getLabelCapacity(c){const p=this.options.time,_=p.displayFormats,w=_[p.unit]||_.millisecond,O=this._tickFormatFunction(c,0,Zd(this,[c],this._majorUnit),w),z=this._getLabelSize(O),Q=Math.floor(this.isHorizontal()?this.width/z.w:this.height/z.h)-1;return Q>0?Q:1}getDataTimestamps(){let p,_,c=this._cache.data||[];if(c.length)return c;const w=this.getMatchingVisibleMetas();if(this._normalized&&w.length)return this._cache.data=w[0].controller.getAllParsedValues(this);for(p=0,_=w.length;p<_;++p)c=c.concat(w[p].controller.getAllParsedValues(this));return this._cache.data=this.normalize(c)}getLabelTimestamps(){const c=this._cache.labels||[];let p,_;if(c.length)return c;const w=this.getLabels();for(p=0,_=w.length;p<_;++p)c.push(uu(this,w[p]));return this._cache.labels=this._normalized?c:this.normalize(c)}normalize(c){return jr(c.sort(Vc))}})();function Su(u,d,c){let w,O,z,Q,p=0,_=u.length-1;c?(d>=u[p].pos&&d<=u[_].pos&&({lo:p,hi:_}=yi(u,"pos",d)),({pos:w,time:z}=u[p]),({pos:O,time:Q}=u[_])):(d>=u[p].time&&d<=u[_].time&&({lo:p,hi:_}=yi(u,"time",d)),({time:w,pos:z}=u[p]),({time:O,pos:Q}=u[_]));const ce=O-w;return ce?z+(Q-z)*(d-w)/ce:z}var Um=Object.freeze({__proto__:null,CategoryScale:ec,LinearScale:class gc extends Tc{static id="linear";static defaults={ticks:{callback:_s.formatters.numeric}};determineDataLimits(){const{min:d,max:c}=this.getMinMax(!0);this.min=Mt(d)?d:0,this.max=Mt(c)?c:1,this.handleTickRangeOptions()}computeTickLimit(){const d=this.isHorizontal(),c=d?this.width:this.height,p=Xe(this.options.ticks.minRotation),_=(d?Math.sin(p):Math.cos(p))||.001,w=this._resolveTickFontOptions(0);return Math.ceil(c/Math.min(40,w.lineHeight/_))}getPixelForValue(d){return null===d?NaN:this.getPixelForDecimal((d-this._startValue)/this._valueRange)}getValueForPixel(d){return this._startValue+this.getDecimalForPixel(d)*this._valueRange}},LogarithmicScale:class bh extends _o{static id="logarithmic";static defaults={ticks:{callback:_s.formatters.logarithmic,major:{enabled:!0}}};constructor(d){super(d),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(d,c){const p=Tc.prototype.parse.apply(this,[d,c]);if(0!==p)return Mt(p)&&p>0?p:null;this._zero=!0}determineDataLimits(){const{min:d,max:c}=this.getMinMax(!0);this.min=Mt(d)?Math.max(0,d):null,this.max=Mt(c)?Math.max(0,c):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Mt(this._userMin)&&(this.min=d===oc(this.min,0)?oc(this.min,-1):oc(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:d,maxDefined:c}=this.getUserBounds();let p=this.min,_=this.max;const w=z=>p=d?p:z,O=z=>_=c?_:z;p===_&&(p<=0?(w(1),O(10)):(w(oc(p,-1)),O(oc(_,1)))),p<=0&&w(oc(_,-1)),_<=0&&O(oc(p,1)),this.min=p,this.max=_}buildTicks(){const d=this.options,p=function $u(u,{min:d,max:c}){d=Ot(u.min,d);const p=[],_=pc(d);let w=function Gu(u,d){let p=pc(d-u);for(;Yc(u,d,p)>10;)p++;for(;Yc(u,d,p)<10;)p--;return Math.min(p,pc(u))}(d,c),O=w<0?Math.pow(10,Math.abs(w)):1;const z=Math.pow(10,w),Q=_>w?Math.pow(10,_):0,ce=Math.round((d-Q)*O)/O,we=Math.floor((d-Q)/z/10)*z*10;let Ke=Math.floor((ce-we)/Math.pow(10,w)),_t=Ot(u.min,Math.round((Q+we+Ke*Math.pow(10,w))*O)/O);for(;_t=10?Ke=Ke<15?15:20:Ke++,Ke>=20&&(w++,Ke=2,O=w>=0?1:O),_t=Math.round((Q+we+Ke*Math.pow(10,w))*O)/O;const Et=Ot(u.max,_t);return p.push({value:Et,major:mc(Et),significand:Ke}),p}({min:this._userMin,max:this._userMax},this);return"ticks"===d.bounds&&mn(p,this,"value"),d.reverse?(p.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),p}getLabelForValue(d){return void 0===d?"0":Fo(d,this.chart.options.locale,this.options.ticks.format)}configure(){const d=this.min;super.configure(),this._startValue=Rt(d),this._valueRange=Rt(this.max)-Rt(d)}getPixelForValue(d){return(void 0===d||0===d)&&(d=this.min),null===d||isNaN(d)?NaN:this.getPixelForDecimal(d===this.min?0:(Rt(d)-this._startValue)/this._valueRange)}getValueForPixel(d){const c=this.getDecimalForPixel(d);return Math.pow(10,this._startValue+c*this._valueRange)}},RadialLinearScale:class gp extends Tc{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:_s.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:d=>d,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(d){super(d),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const d=this._padding=Rs(jd(this.options)/2),c=this.width=this.maxWidth-d.width,p=this.height=this.maxHeight-d.height;this.xCenter=Math.floor(this.left+c/2+d.left),this.yCenter=Math.floor(this.top+p/2+d.top),this.drawingArea=Math.floor(Math.min(c,p)/2)}determineDataLimits(){const{min:d,max:c}=this.getMinMax(!1);this.min=Mt(d)&&!isNaN(d)?d:0,this.max=Mt(c)&&!isNaN(c)?c:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/jd(this.options))}generateTickLabels(d){Tc.prototype.generateTickLabels.call(this,d),this._pointLabels=this.getLabels().map((c,p)=>{const _=Ye(this.options.pointLabels.callback,[c,p],this);return _||0===_?_:""}).filter((c,p)=>this.chart.getDataVisibility(p))}fit(){const d=this.options;d.display&&d.pointLabels.display?function Ju(u){const d={l:u.left+u._padding.left,r:u.right-u._padding.right,t:u.top+u._padding.top,b:u.bottom-u._padding.bottom},c=Object.assign({},d),p=[],_=[],w=u._pointLabels.length,O=u.options.pointLabels,z=O.centerPointLabels?Pt/w:0;for(let Q=0;Q=0&&d=0;_--){const w=u._pointLabelItems[_];if(!w.visible)continue;const O=p.setContext(u.getPointLabelContext(_));Cd(c,O,w);const z=Mr(O.font),{x:Q,y:ce,textAlign:we}=w;os(c,u._pointLabels[_],Q,ce+z.lineHeight/2,z,{color:O.color,textAlign:we,textBaseline:"middle"})}}(this,O),_.display&&this.ticks.forEach((we,Ke)=>{if(0!==Ke||0===Ke&&this.min<0){Q=this.getDistanceFromCenterForValue(we.value);const _t=this.getContext(Ke),Et=_.setContext(_t),en=w.setContext(_t);!function Wd(u,d,c,p,_){const w=u.ctx,O=d.circular,{color:z,lineWidth:Q}=d;!O&&!p||!z||!Q||c<0||(w.save(),w.strokeStyle=z,w.lineWidth=Q,w.setLineDash(_.dash),w.lineDashOffset=_.dashOffset,w.beginPath(),mf(u,c,O,p),w.closePath(),w.stroke(),w.restore())}(this,Et,Q,O,en)}}),p.display){for(d.save(),z=O-1;z>=0;z--){const we=p.setContext(this.getPointLabelContext(z)),{color:Ke,lineWidth:_t}=we;!_t||!Ke||(d.lineWidth=_t,d.strokeStyle=Ke,d.setLineDash(we.borderDash),d.lineDashOffset=we.borderDashOffset,Q=this.getDistanceFromCenterForValue(c.ticks.reverse?this.min:this.max),ce=this.getPointPosition(z,Q),d.beginPath(),d.moveTo(this.xCenter,this.yCenter),d.lineTo(ce.x,ce.y),d.stroke())}d.restore()}}drawBorder(){}drawLabels(){const d=this.ctx,c=this.options,p=c.ticks;if(!p.display)return;const _=this.getIndexAngle(0);let w,O;d.save(),d.translate(this.xCenter,this.yCenter),d.rotate(_),d.textAlign="center",d.textBaseline="middle",this.ticks.forEach((z,Q)=>{if(0===Q&&this.min>=0&&!c.reverse)return;const ce=p.setContext(this.getContext(Q)),we=Mr(ce.font);if(w=this.getDistanceFromCenterForValue(this.ticks[Q].value),ce.showLabelBackdrop){d.font=we.string,O=d.measureText(z.label).width,d.fillStyle=ce.backdropColor;const Ke=Rs(ce.backdropPadding);d.fillRect(-O/2-Ke.left,-w-we.size/2-Ke.top,O+Ke.width,we.size+Ke.height)}os(d,z.label,0,-w,we,{color:ce.color,strokeColor:ce.textStrokeColor,strokeWidth:ce.textStrokeWidth})}),d.restore()}drawTitle(){}},TimeScale:du,TimeSeriesScale:class Bm extends du{static id="timeseries";static defaults=du.defaults;constructor(d){super(d),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const d=this._getTimestampsForTable(),c=this._table=this.buildLookupTable(d);this._minPos=Su(c,this.min),this._tableRange=Su(c,this.max)-this._minPos,super.initOffsets(d)}buildLookupTable(d){const{min:c,max:p}=this,_=[],w=[];let O,z,Q,ce,we;for(O=0,z=d.length;O=c&&ce<=p&&_.push(ce);if(_.length<2)return[{time:c,pos:0},{time:p,pos:1}];for(O=0,z=_.length;O_-w)}_getTimestampsForTable(){let d=this._cache.all||[];if(d.length)return d;const c=this.getDataTimestamps(),p=this.getLabelTimestamps();return d=c.length&&p.length?this.normalize(c.concat(p)):c.length?c:p,d=this._cache.all=d,d}getDecimalForValue(d){return(Su(this._table,d)-this._minPos)/this._tableRange}getValueForPixel(d){const c=this._offsets,p=this.getDecimalForPixel(d)/c.factor-c.end;return Su(this._table,p*this._tableRange+this._minPos,!0)}}});const fg=[cr,Xf,bo,Um],Gd=function y0(u,d){return u===d||u!=u&&d!=d},pg=function gg(u,d){for(var c=u.length;c--;)if(Gd(u[c][0],d))return c;return-1};var mg=Array.prototype.splice;function hu(u){var d=-1,c=null==u?0:u.length;for(this.clear();++d-1},hu.prototype.set=function Cf(u,d){var c=this.__data__,p=pg(c,u);return p<0?(++this.size,c.push([u,d])):c[p][1]=d,this};const $d=hu,Vm="object"==typeof global&&global&&global.Object===Object&&global;var qu="object"==typeof self&&self&&self.Object===Object&&self;const wh=Vm||qu||Function("return this")();var k0=wh.Symbol,Wm=Object.prototype,yv=Wm.hasOwnProperty,O0=Wm.toString,Mh=k0?k0.toStringTag:void 0;var N0=Object.prototype.toString;var Ig=k0?k0.toStringTag:void 0;const pp=function yg(u){return null==u?void 0===u?"[object Undefined]":"[object Null]":Ig&&Ig in Object(u)?function L0(u){var d=yv.call(u,Mh),c=u[Mh];try{u[Mh]=void 0;var p=!0}catch{}var _=O0.call(u);return p&&(d?u[Mh]=c:delete u[Mh]),_}(u):function Ag(u){return N0.call(u)}(u)},Dh=function bv(u){var d=typeof u;return null!=u&&("object"==d||"function"==d)},Cp=function Gm(u){if(!Dh(u))return!1;var d=pp(u);return"[object Function]"==d||"[object GeneratorFunction]"==d||"[object AsyncFunction]"==d||"[object Proxy]"==d};var u,F0=wh["__core-js_shared__"],$m=(u=/[^.]+$/.exec(F0&&F0.keys&&F0.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";var Ap=Function.prototype.toString;var Qm=/^\[object .+?Constructor\]$/,U0=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const bp=function Sh(u){return!(!Dh(u)||function Km(u){return!!$m&&$m in u}(u))&&(Cp(u)?U0:Qm).test(function Y0(u){if(null!=u){try{return Ap.call(u)}catch{}try{return u+""}catch{}}return""}(u))},Qd=function kh(u,d){var c=function H0(u,d){return u?.[d]}(u,d);return bp(c)?c:void 0},xp=Qd(wh,"Map"),Xd=Qd(Object,"create");var z0=Object.prototype.hasOwnProperty;var qd=Object.prototype.hasOwnProperty;function ku(u){var d=-1,c=null==u?0:u.length;for(this.clear();++d-1&&u%1==0&&u<=9007199254740991},Wp=function g_(u){return null!=u&&Vp(u.length)&&!Cp(u)};var m_="object"==typeof exports&&exports&&!exports.nodeType&&exports,dC=m_&&"object"==typeof module&&module&&!module.nodeType&&module,Sg=dC&&dC.exports===m_?wh.Buffer:void 0;const hC=(Sg?Sg.isBuffer:void 0)||function Bh(){return!1};var C_=Function.prototype.toString,fC=Object.prototype.hasOwnProperty,Gp=C_.call(Object);var el={};el["[object Float32Array]"]=el["[object Float64Array]"]=el["[object Int8Array]"]=el["[object Int16Array]"]=el["[object Int32Array]"]=el["[object Uint8Array]"]=el["[object Uint8ClampedArray]"]=el["[object Uint16Array]"]=el["[object Uint32Array]"]=!0,el["[object Arguments]"]=el["[object Array]"]=el["[object ArrayBuffer]"]=el["[object Boolean]"]=el["[object DataView]"]=el["[object Date]"]=el["[object Error]"]=el["[object Function]"]=el["[object Map]"]=el["[object Number]"]=el["[object Object]"]=el["[object RegExp]"]=el["[object Set]"]=el["[object String]"]=el["[object WeakMap]"]=!1;var qp="object"==typeof exports&&exports&&!exports.nodeType&&exports,Of=qp&&"object"==typeof module&&module&&!module.nodeType&&module,em=Of&&Of.exports===qp&&Vm.process,tm=function(){try{return Of&&Of.require&&Of.require("util").types||em&&em.binding&&em.binding("util")}catch{}}(),vC=tm&&tm.isTypedArray;const IC=vC?function Fg(u){return function(d){return u(d)}}(vC):function Qp(u){return Fh(u)&&Vp(u.length)&&!!el[pp(u)]},Yg=function Pv(u,d){if(("constructor"!==d||"function"!=typeof u[d])&&"__proto__"!=d)return u[d]};var Rv=Object.prototype.hasOwnProperty;const x_=function Bg(u,d,c){var p=u[d];(!Rv.call(u,d)||!Gd(p,c)||void 0===c&&!(d in u))&&nd(u,d,c)};var M_=/^(?:0|[1-9]\d*)$/;const th=function D_(u,d){var c=typeof u;return!!(d=d??9007199254740991)&&("number"==c||"symbol"!=c&&M_.test(u))&&u>-1&&u%1==0&&u0){if(++d>=800)return arguments[0]}else d=0;return u.apply(void 0,arguments)}}(OC);const YC=FC,BC=function cm(u,d){return YC(function DC(u,d,c){return d=F_(void 0===d?u.length-1:d,0),function(){for(var p=arguments,_=-1,w=F_(p.length-d,0),O=Array(w);++_1?c[_-1]:void 0,O=_>2?c[2]:void 0;for(w=u.length>3&&"function"==typeof w?(_--,w):void 0,O&&function UC(u,d,c){if(!Dh(c))return!1;var p=typeof d;return!!("number"==p?Wp(c)&&th(d,c.length):"string"==p&&d in c)&&Gd(c[d],u)}(c[0],c[1],O)&&(w=_<3?void 0:w,_=1),d=Object(d);++p<_;){var z=c[p];z&&u(d,z,p,w)}return d})}(function(u,d,c){wC(u,d,c)});const um=Pu,VC=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]],B_={plugins:{colors:{enabled:!1}},datasets:{line:{backgroundColor:u=>sd(Td(u.datasetIndex),.4),borderColor:u=>sd(Td(u.datasetIndex),1),pointBackgroundColor:u=>sd(Td(u.datasetIndex),1),pointBorderColor:"#fff"},bar:{backgroundColor:u=>sd(Td(u.datasetIndex),.6),borderColor:u=>sd(Td(u.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:u=>sd(Td(u.dataIndex),.6),borderColor:"#fff"},get pie(){return this.doughnut},polarArea:{backgroundColor:u=>sd(Td(u.dataIndex),.6),borderColor:u=>sd(Td(u.dataIndex),1)},get bubble(){return this.doughnut},get scatter(){return this.doughnut},get area(){return this.polarArea}}};function sd(u,d){return"rgba("+u.concat(d).join(",")+")"}function Vh(u,d){return Math.floor(Math.random()*(d-u+1))+u}function Td(u=0){return VC[u]||function dm(){return[Vh(0,255),Vh(0,255),Vh(0,255)]}()}let hm=(()=>{class u{constructor(){this.generateColors=!0}static#e=this.\u0275fac=function(p){return new(p||u)};static#t=this.\u0275prov=i.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();cu.register(...fg);let U_=(()=>{class u{constructor(c){c?.plugins&&cu.register(...c.plugins);const p=um(c?.generateColors?B_:{},c?.defaults||{});br.set(p)}static forRoot(c){return{ngModule:u,providers:[{provide:hm,useValue:c}]}}static#e=this.\u0275fac=function(p){return new(p||u)(i.LFG(hm,8))};static#t=this.\u0275mod=i.oAB({type:u});static#n=this.\u0275inj=i.cJS({})}return u})()},4575:(lt,_e,m)=>{"use strict";m.d(_e,{Q4:()=>Ee,c8:()=>gt,jk:()=>oe,mv:()=>Ge,s1:()=>ye});var i=m(755);const t=["move","copy","link"],A="application/x-dnd",a="application/json",y="Text";function C(Ze){return Ze.substr(0,A.length)===A}function b(Ze){if(Ze.dataTransfer){const Je=Ze.dataTransfer.types;if(!Je)return y;for(let tt=0;tt{class Ze{dndDraggable;dndEffectAllowed="copy";dndType;dndDraggingClass="dndDragging";dndDraggingSourceClass="dndDraggingSource";dndDraggableDisabledClass="dndDraggableDisabled";dndDragImageOffsetFunction=k;dndStart=new i.vpe;dndDrag=new i.vpe;dndEnd=new i.vpe;dndMoved=new i.vpe;dndCopied=new i.vpe;dndLinked=new i.vpe;dndCanceled=new i.vpe;draggable=!0;dndHandle;dndDragImageElementRef;dragImage;isDragStarted=!1;elementRef=(0,i.f3M)(i.SBq);renderer=(0,i.f3M)(i.Qsj);ngZone=(0,i.f3M)(i.R0b);set dndDisableIf(tt){this.draggable=!tt,this.draggable?this.renderer.removeClass(this.elementRef.nativeElement,this.dndDraggableDisabledClass):this.renderer.addClass(this.elementRef.nativeElement,this.dndDraggableDisabledClass)}set dndDisableDragIf(tt){this.dndDisableIf=tt}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{this.elementRef.nativeElement.addEventListener("drag",this.dragEventHandler)})}ngOnDestroy(){this.elementRef.nativeElement.removeEventListener("drag",this.dragEventHandler),this.isDragStarted&&Oe()}onDragStart(tt){if(!this.draggable)return!1;if(null!=this.dndHandle&&null==tt._dndUsingHandle)return tt.stopPropagation(),!1;(function me(Ze,Je,tt){X.isDragging=!0,X.dropEffect="none",X.effectAllowed=Je,X.type=tt,Ze.dataTransfer&&(Ze.dataTransfer.effectAllowed=Je)})(tt,this.dndEffectAllowed,this.dndType),this.isDragStarted=!0,function N(Ze,Je,tt){const Qe=A+(Je.type?"-"+Je.type:""),pt=JSON.stringify(Je);try{Ze.dataTransfer?.setData(Qe,pt)}catch{try{Ze.dataTransfer?.setData(a,pt)}catch{const nt=F(t,tt);Ze.dataTransfer&&(Ze.dataTransfer.effectAllowed=nt[0]),Ze.dataTransfer?.setData(y,pt)}}}(tt,{data:this.dndDraggable,type:this.dndType},J.effectAllowed),this.dragImage=this.determineDragImage(),this.renderer.addClass(this.dragImage,this.dndDraggingClass),(null!=this.dndDragImageElementRef||null!=tt._dndUsingHandle)&&function P(Ze,Je,tt){const Qe=tt(Ze,Je)||{x:0,y:0};Ze.dataTransfer.setDragImage(Je,Qe.x,Qe.y)}(tt,this.dragImage,this.dndDragImageOffsetFunction);const Qe=this.renderer.listen(this.elementRef.nativeElement,"drag",()=>{this.renderer.addClass(this.elementRef.nativeElement,this.dndDraggingSourceClass),Qe()});return this.dndStart.emit(tt),tt.stopPropagation(),setTimeout(()=>{this.renderer.setStyle(this.dragImage,"pointer-events","none")},100),!0}onDrag(tt){this.dndDrag.emit(tt)}onDragEnd(tt){if(!this.draggable||!this.isDragStarted)return;const Qe=J.dropEffect;let pt;switch(this.renderer.setStyle(this.dragImage,"pointer-events","unset"),Qe){case"copy":pt=this.dndCopied;break;case"link":pt=this.dndLinked;break;case"move":pt=this.dndMoved;break;default:pt=this.dndCanceled}pt.emit(tt),this.dndEnd.emit(tt),Oe(),this.isDragStarted=!1,this.renderer.removeClass(this.dragImage,this.dndDraggingClass),window.setTimeout(()=>{this.renderer.removeClass(this.elementRef.nativeElement,this.dndDraggingSourceClass)},0),tt.stopPropagation()}registerDragHandle(tt){this.dndHandle=tt}registerDragImage(tt){this.dndDragImageElementRef=tt}dragEventHandler=tt=>this.onDrag(tt);determineDragImage(){return typeof this.dndDragImageElementRef<"u"?this.dndDragImageElementRef.nativeElement:this.elementRef.nativeElement}static \u0275fac=function(Qe){return new(Qe||Ze)};static \u0275dir=i.lG2({type:Ze,selectors:[["","dndDraggable",""]],hostVars:1,hostBindings:function(Qe,pt){1&Qe&&i.NdJ("dragstart",function(Jt){return pt.onDragStart(Jt)})("dragend",function(Jt){return pt.onDragEnd(Jt)}),2&Qe&&i.uIk("draggable",pt.draggable)},inputs:{dndDraggable:"dndDraggable",dndEffectAllowed:"dndEffectAllowed",dndType:"dndType",dndDraggingClass:"dndDraggingClass",dndDraggingSourceClass:"dndDraggingSourceClass",dndDraggableDisabledClass:"dndDraggableDisabledClass",dndDragImageOffsetFunction:"dndDragImageOffsetFunction",dndDisableIf:"dndDisableIf",dndDisableDragIf:"dndDisableDragIf"},outputs:{dndStart:"dndStart",dndDrag:"dndDrag",dndEnd:"dndEnd",dndMoved:"dndMoved",dndCopied:"dndCopied",dndLinked:"dndLinked",dndCanceled:"dndCanceled"},standalone:!0})}return Ze})(),ye=(()=>{class Ze{elementRef;constructor(tt){this.elementRef=tt}ngOnInit(){this.elementRef.nativeElement.style.pointerEvents="none"}static \u0275fac=function(Qe){return new(Qe||Ze)(i.Y36(i.SBq))};static \u0275dir=i.lG2({type:Ze,selectors:[["","dndPlaceholderRef",""]],standalone:!0})}return Ze})(),Ee=(()=>{class Ze{ngZone;elementRef;renderer;dndDropzone="";dndEffectAllowed="uninitialized";dndAllowExternal=!1;dndHorizontal=!1;dndDragoverClass="dndDragover";dndDropzoneDisabledClass="dndDropzoneDisabled";dndDragover=new i.vpe;dndDrop=new i.vpe;dndPlaceholderRef;placeholder=null;disabled=!1;constructor(tt,Qe,pt){this.ngZone=tt,this.elementRef=Qe,this.renderer=pt}set dndDisableIf(tt){this.disabled=tt,this.disabled?this.renderer.addClass(this.elementRef.nativeElement,this.dndDropzoneDisabledClass):this.renderer.removeClass(this.elementRef.nativeElement,this.dndDropzoneDisabledClass)}set dndDisableDropIf(tt){this.dndDisableIf=tt}ngAfterViewInit(){this.placeholder=this.tryGetPlaceholder(),this.removePlaceholderFromDOM(),this.ngZone.runOutsideAngular(()=>{this.elementRef.nativeElement.addEventListener("dragenter",this.dragEnterEventHandler),this.elementRef.nativeElement.addEventListener("dragover",this.dragOverEventHandler),this.elementRef.nativeElement.addEventListener("dragleave",this.dragLeaveEventHandler)})}ngOnDestroy(){this.elementRef.nativeElement.removeEventListener("dragenter",this.dragEnterEventHandler),this.elementRef.nativeElement.removeEventListener("dragover",this.dragOverEventHandler),this.elementRef.nativeElement.removeEventListener("dragleave",this.dragLeaveEventHandler)}onDragEnter(tt){if(!0===tt._dndDropzoneActive)return void this.cleanupDragoverState();if(null==tt._dndDropzoneActive){const pt=document.elementFromPoint(tt.clientX,tt.clientY);this.elementRef.nativeElement.contains(pt)&&(tt._dndDropzoneActive=!0)}const Qe=K(tt);this.isDropAllowed(Qe)&&tt.preventDefault()}onDragOver(tt){if(tt.defaultPrevented)return;const Qe=K(tt);if(!this.isDropAllowed(Qe))return;this.checkAndUpdatePlaceholderPosition(tt);const pt=wt(tt,this.dndEffectAllowed);"none"!==pt?(tt.preventDefault(),Se(tt,pt),this.dndDragover.emit(tt),this.renderer.addClass(this.elementRef.nativeElement,this.dndDragoverClass)):this.cleanupDragoverState()}onDrop(tt){try{const Qe=K(tt);if(!this.isDropAllowed(Qe))return;const pt=function j(Ze,Je){const tt=b(Ze);return!0===Je?null!==tt&&C(tt)?JSON.parse(Ze.dataTransfer?.getData(tt)??"{}"):{}:null!==tt?JSON.parse(Ze.dataTransfer?.getData(tt)??"{}"):{}}(tt,V());if(!this.isDropAllowed(pt.type))return;tt.preventDefault();const Nt=wt(tt);if(Se(tt,Nt),"none"===Nt)return;const Jt=this.getPlaceholderIndex();if(-1===Jt)return;this.dndDrop.emit({event:tt,dropEffect:Nt,isExternal:V(),data:pt.data,index:Jt,type:Qe}),tt.stopPropagation()}finally{this.cleanupDragoverState()}}onDragLeave(tt){tt.preventDefault(),tt.stopPropagation(),null==tt._dndDropzoneActive&&this.elementRef.nativeElement.contains(tt.relatedTarget)?tt._dndDropzoneActive=!0:(this.cleanupDragoverState(),Se(tt,"none"))}dragEnterEventHandler=tt=>this.onDragEnter(tt);dragOverEventHandler=tt=>this.onDragOver(tt);dragLeaveEventHandler=tt=>this.onDragLeave(tt);isDropAllowed(tt){if(this.disabled||V()&&!this.dndAllowExternal)return!1;if(!this.dndDropzone||!tt)return!0;if(!Array.isArray(this.dndDropzone))throw new Error("dndDropzone: bound value to [dndDropzone] must be an array!");return-1!==this.dndDropzone.indexOf(tt)}tryGetPlaceholder(){return typeof this.dndPlaceholderRef<"u"?this.dndPlaceholderRef.elementRef.nativeElement:this.elementRef.nativeElement.querySelector("[dndPlaceholderRef]")}removePlaceholderFromDOM(){null!==this.placeholder&&null!==this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder)}checkAndUpdatePlaceholderPosition(tt){if(null===this.placeholder)return;this.placeholder.parentNode!==this.elementRef.nativeElement&&this.renderer.appendChild(this.elementRef.nativeElement,this.placeholder);const Qe=function x(Ze,Je){let tt=Je;for(;tt.parentNode!==Ze;){if(!tt.parentNode)return null;tt=tt.parentNode}return tt}(this.elementRef.nativeElement,tt.target);null!==Qe&&Qe!==this.placeholder&&(function H(Ze,Je,tt){const Qe=Je.getBoundingClientRect();return tt?Ze.clientX{class Ze{draggable=!0;dndDraggableDirective=(0,i.f3M)(oe);ngOnInit(){this.dndDraggableDirective.registerDragHandle(this)}onDragEvent(tt){tt._dndUsingHandle=!0}static \u0275fac=function(Qe){return new(Qe||Ze)};static \u0275dir=i.lG2({type:Ze,selectors:[["","dndHandle",""]],hostVars:1,hostBindings:function(Qe,pt){1&Qe&&i.NdJ("dragstart",function(Jt){return pt.onDragEvent(Jt)})("dragend",function(Jt){return pt.onDragEvent(Jt)}),2&Qe&&i.uIk("draggable",pt.draggable)},standalone:!0})}return Ze})(),gt=(()=>{class Ze{static \u0275fac=function(Qe){return new(Qe||Ze)};static \u0275mod=i.oAB({type:Ze});static \u0275inj=i.cJS({})}return Ze})()},3409:(lt,_e,m)=>{"use strict";m.d(_e,{Ry:()=>Bn,Rq:()=>fi});var i=m(755),t=m(1209),A=m(409),a=m(9342),y=m(2425),C=m(1570),b=m(5333),N=m(8634),j=m(6142),F=m(134),x=m(6974),k=m(1925);function me(Mt,Ot,ve,De){const xe=window&&!!window.document&&window.document.documentElement;let Ye=xe&&Ot?window:ve;if(Mt&&(Ye=Mt&&xe&&"string"==typeof Mt?function Oe(Mt,Ot,ve){return(ve?window.document:Ot).querySelector(Mt)}(Mt,ve.nativeElement,De):Mt,!Ye))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return Ye}function Se(Mt){return Mt&&!Mt.firstChange}const K={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},V={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"};class J{constructor(Ot=!0){this.vertical=Ot,this.propsMap=Ot?K:V}clientHeightKey(){return this.propsMap.clientHeight}offsetHeightKey(){return this.propsMap.offsetHeight}scrollHeightKey(){return this.propsMap.scrollHeight}pageYOffsetKey(){return this.propsMap.pageYOffset}offsetTopKey(){return this.propsMap.offsetTop}scrollTopKey(){return this.propsMap.scrollTop}topKey(){return this.propsMap.top}}function Ee(Mt){return["Window","global"].some(ve=>Object.prototype.toString.call(Mt).includes(ve))}function Ge(Mt,Ot){return Mt?Ot.document.documentElement:null}function gt(Mt,Ot){const ve=function Qe({container:Mt,isWindow:Ot,axis:ve}){const{offsetHeightKey:De,clientHeightKey:xe}=tt(ve);return pt(Mt,Ot,De,xe)}(Ot);return Ot.isWindow?function Ze(Mt,Ot,ve){const{axis:De,container:xe,isWindow:Ye}=ve,{offsetHeightKey:xt,clientHeightKey:cn}=tt(De),Kn=Mt+Jt(Ge(Ye,xe),De,Ye),An=pt(Ot.nativeElement,Ye,xt,cn),gs=function Nt(Mt,Ot,ve){const De=Ot.topKey();if(Mt.getBoundingClientRect)return Mt.getBoundingClientRect()[De]+Jt(Mt,Ot,ve)}(Ot.nativeElement,De,Ye)+An;return{height:Mt,scrolled:Kn,totalToScroll:gs,isWindow:Ye}}(ve,Mt,Ot):function Je(Mt,Ot,ve){const{axis:De,container:xe}=ve;return{height:Mt,scrolled:xe[De.scrollTopKey()],totalToScroll:xe[De.scrollHeightKey()],isWindow:!1}}(ve,0,Ot)}function tt(Mt){return{offsetHeightKey:Mt.offsetHeightKey(),clientHeightKey:Mt.clientHeightKey()}}function pt(Mt,Ot,ve,De){if(isNaN(Mt[ve])){const xe=Ge(Ot,Mt);return xe?xe[De]:0}return Mt[ve]}function Jt(Mt,Ot,ve){const De=Ot.pageYOffsetKey(),xe=Ot.scrollTopKey(),Ye=Ot.offsetTopKey();return isNaN(window.pageYOffset)?Ge(ve,Mt)[xe]:Mt.ownerDocument?Mt.ownerDocument.defaultView[De]:Mt[Ye]}function nt(Mt,Ot={down:0,up:0},ve){let De,xe;if(Mt.totalToScroll<=0)return!1;const Ye=Mt.isWindow?Mt.scrolled:Mt.height+Mt.scrolled;return ve?(De=(Mt.totalToScroll-Ye)/Mt.totalToScroll,xe=(Ot?.down?Ot.down:0)/10):(De=Mt.scrolled/(Mt.scrolled+(Mt.totalToScroll-Ye)),xe=(Ot?.up?Ot.up:0)/10),De<=xe}class xn{constructor({totalToScroll:Ot}){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},this.totalToScroll=Ot}updateScrollPosition(Ot){return this.lastScrollPosition=Ot}updateTotalToScroll(Ot){this.lastTotalToScroll!==Ot&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=Ot)}updateScroll(Ot,ve){this.updateScrollPosition(Ot),this.updateTotalToScroll(ve)}updateTriggeredFlag(Ot,ve){ve?this.triggered.down=Ot:this.triggered.up=Ot}isTriggeredScroll(Ot,ve){return ve?this.triggered.down===Ot:this.triggered.up===Ot}}function In(Mt){const{scrollContainer:Ot,scrollWindow:ve,element:De,fromRoot:xe}=Mt,Ye=function oe({windowElement:Mt,axis:Ot}){return function ye(Mt,Ot){const ve=Mt.isWindow||Ot&&!Ot.nativeElement?Ot:Ot.nativeElement;return{...Mt,container:ve}}({axis:Ot,isWindow:Ee(Mt)},Mt)}({axis:new J(!Mt.horizontal),windowElement:me(Ot,ve,De,xe)}),xt=new xn({totalToScroll:gt(De,Ye)}),Kn={up:Mt.upDistance,down:Mt.downDistance};return function dn(Mt){let Ot=(0,A.R)(Mt.container,"scroll");return Mt.throttle&&(Ot=Ot.pipe(function P(Mt,Ot=N.z,ve){const De=(0,k.H)(Mt,Ot);return function H(Mt,Ot){return(0,j.e)((ve,De)=>{const{leading:xe=!0,trailing:Ye=!1}=Ot??{};let xt=!1,cn=null,Kn=null,An=!1;const gs=()=>{Kn?.unsubscribe(),Kn=null,Ye&&(ta(),An&&De.complete())},Qt=()=>{Kn=null,An&&De.complete()},ki=Pi=>Kn=(0,x.Xf)(Mt(Pi)).subscribe((0,F.x)(De,gs,Qt)),ta=()=>{if(xt){xt=!1;const Pi=cn;cn=null,De.next(Pi),!An&&ki(Pi)}};ve.subscribe((0,F.x)(De,Pi=>{xt=!0,cn=Pi,(!Kn||Kn.closed)&&(xe?ta():ki(Pi))},()=>{An=!0,(!(Ye&&xt&&Kn)||Kn.closed)&&De.complete()}))})}(()=>De,ve)}(Mt.throttle,void 0,{leading:!0,trailing:!0}))),Ot}({container:Ye.container,throttle:Mt.throttle}).pipe((0,a.z)(()=>(0,t.of)(gt(De,Ye))),(0,y.U)(An=>function qn(Mt,Ot,ve){const{scrollDown:De,fire:xe}=function Ct(Mt,Ot,ve){const De=function ot(Mt,Ot){return Mtxt.updateScroll(An.scrolled,An.totalToScroll)),(0,b.h)(({fire:An,scrollDown:gs,stats:{totalToScroll:Qt}})=>function ae(Mt,Ot,ve){return!!(Mt&&Ot||!ve&&Ot)}(Mt.alwaysCallback,An,xt.isTriggeredScroll(Qt,gs))),(0,C.b)(({scrollDown:An,stats:{totalToScroll:gs}})=>{xt.updateTriggeredFlag(gs,An)}),(0,y.U)(ir))}const di={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function ir(Mt){const{scrollDown:Ot,stats:{scrolled:ve}}=Mt;return{type:Ot?di.DOWN:di.UP,payload:{currentScrollPosition:ve}}}let Bn=(()=>{class Mt{constructor(ve,De){this.element=ve,this.zone=De,this.scrolled=new i.vpe,this.scrolledUp=new i.vpe,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:ve,infiniteScrollDisabled:De,infiniteScrollDistance:xe}){const Ye=Se(ve),xt=Se(De),cn=Se(xe),Kn=!xt&&!this.infiniteScrollDisabled||xt&&!De.currentValue||cn;(Ye||xt||cn)&&(this.destroyScroller(),Kn&&this.setup())}setup(){(function wt(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=In({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(ve=>this.handleOnScroll(ve))})}handleOnScroll({type:ve,payload:De}){const xe=ve===di.DOWN?this.scrolled:this.scrolledUp;(function xi(Mt){return Mt.observed??Mt.observers.length>0})(xe)&&this.zone.run(()=>xe.emit(De))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}static#e=this.\u0275fac=function(De){return new(De||Mt)(i.Y36(i.SBq),i.Y36(i.R0b))};static#t=this.\u0275dir=i.lG2({type:Mt,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[i.TTD]})}return Mt})(),fi=(()=>{class Mt{static#e=this.\u0275fac=function(De){return new(De||Mt)};static#t=this.\u0275mod=i.oAB({type:Mt});static#n=this.\u0275inj=i.cJS({})}return Mt})()},900:(lt,_e,m)=>{"use strict";m.d(_e,{lF:()=>bn,JP:()=>Ri,Zy:()=>Bt});var i=m(755),t=m(8748),A=m(5047),a=m(1209),y=m(1925),C=m(4787),b=m(7376),N=m(8004),j=m(9414),F=m(3843),x=m(2425),H=m(1749),P=(m(6121),m(6733));let me={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const Se=/[&<>"']/,wt=new RegExp(Se.source,"g"),K=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,V=new RegExp(K.source,"g"),J={"&":"&","<":"<",">":">",'"':""","'":"'"},ae=mn=>J[mn];function oe(mn,Xe){if(Xe){if(Se.test(mn))return mn.replace(wt,ae)}else if(K.test(mn))return mn.replace(V,ae);return mn}const ye=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Ee(mn){return mn.replace(ye,(Xe,ke)=>"colon"===(ke=ke.toLowerCase())?":":"#"===ke.charAt(0)?"x"===ke.charAt(1)?String.fromCharCode(parseInt(ke.substring(2),16)):String.fromCharCode(+ke.substring(1)):"")}const Ge=/(^|[^\[])\^/g;function gt(mn,Xe){mn="string"==typeof mn?mn:mn.source,Xe=Xe||"";const ke={replace:(ge,Ae)=>(Ae=(Ae=Ae.source||Ae).replace(Ge,"$1"),mn=mn.replace(ge,Ae),ke),getRegex:()=>new RegExp(mn,Xe)};return ke}const Ze=/[^\w:]/g,Je=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function tt(mn,Xe,ke){if(mn){let ge;try{ge=decodeURIComponent(Ee(ke)).replace(Ze,"").toLowerCase()}catch{return null}if(0===ge.indexOf("javascript:")||0===ge.indexOf("vbscript:")||0===ge.indexOf("data:"))return null}Xe&&!Je.test(ke)&&(ke=function nt(mn,Xe){Qe[" "+mn]||(Qe[" "+mn]=pt.test(mn)?mn+"/":He(mn,"/",!0));const ke=-1===(mn=Qe[" "+mn]).indexOf(":");return"//"===Xe.substring(0,2)?ke?Xe:mn.replace(Nt,"$1")+Xe:"/"===Xe.charAt(0)?ke?Xe:mn.replace(Jt,"$1")+Xe:mn+Xe}(Xe,ke));try{ke=encodeURI(ke).replace(/%25/g,"%")}catch{return null}return ke}const Qe={},pt=/^[^:]+:\/*[^/]*$/,Nt=/^([^:]+:)[\s\S]*$/,Jt=/^([^:]+:\/*[^/]*)[\s\S]*$/,ot={exec:function(){}};function Ct(mn,Xe){const ge=mn.replace(/\|/g,(it,Ht,Kt)=>{let yn=!1,Tn=Ht;for(;--Tn>=0&&"\\"===Kt[Tn];)yn=!yn;return yn?"|":" |"}).split(/ \|/);let Ae=0;if(ge[0].trim()||ge.shift(),ge.length>0&&!ge[ge.length-1].trim()&&ge.pop(),ge.length>Xe)ge.splice(Xe);else for(;ge.length1;)1&Xe&&(ke+=mn),Xe>>=1,mn+=mn;return ke+mn}function yt(mn,Xe,ke,ge){const Ae=Xe.href,it=Xe.title?oe(Xe.title):null,Ht=mn[1].replace(/\\([\[\]])/g,"$1");if("!"!==mn[0].charAt(0)){ge.state.inLink=!0;const Kt={type:"link",raw:ke,href:Ae,title:it,text:Ht,tokens:ge.inlineTokens(Ht)};return ge.state.inLink=!1,Kt}return{type:"image",raw:ke,href:Ae,title:it,text:oe(Ht)}}class xn{constructor(Xe){this.options=Xe||me}space(Xe){const ke=this.rules.block.newline.exec(Xe);if(ke&&ke[0].length>0)return{type:"space",raw:ke[0]}}code(Xe){const ke=this.rules.block.code.exec(Xe);if(ke){const ge=ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:ke[0],codeBlockStyle:"indented",text:this.options.pedantic?ge:He(ge,"\n")}}}fences(Xe){const ke=this.rules.block.fences.exec(Xe);if(ke){const ge=ke[0],Ae=function Fn(mn,Xe){const ke=mn.match(/^(\s+)(?:```)/);if(null===ke)return Xe;const ge=ke[1];return Xe.split("\n").map(Ae=>{const it=Ae.match(/^\s+/);if(null===it)return Ae;const[Ht]=it;return Ht.length>=ge.length?Ae.slice(ge.length):Ae}).join("\n")}(ge,ke[3]||"");return{type:"code",raw:ge,lang:ke[2]?ke[2].trim().replace(this.rules.inline._escapes,"$1"):ke[2],text:Ae}}}heading(Xe){const ke=this.rules.block.heading.exec(Xe);if(ke){let ge=ke[2].trim();if(/#$/.test(ge)){const Ae=He(ge,"#");(this.options.pedantic||!Ae||/ $/.test(Ae))&&(ge=Ae.trim())}return{type:"heading",raw:ke[0],depth:ke[1].length,text:ge,tokens:this.lexer.inline(ge)}}}hr(Xe){const ke=this.rules.block.hr.exec(Xe);if(ke)return{type:"hr",raw:ke[0]}}blockquote(Xe){const ke=this.rules.block.blockquote.exec(Xe);if(ke){const ge=ke[0].replace(/^ *>[ \t]?/gm,""),Ae=this.lexer.state.top;this.lexer.state.top=!0;const it=this.lexer.blockTokens(ge);return this.lexer.state.top=Ae,{type:"blockquote",raw:ke[0],tokens:it,text:ge}}}list(Xe){let ke=this.rules.block.list.exec(Xe);if(ke){let ge,Ae,it,Ht,Kt,yn,Tn,pi,nn,Ti,yi,Hr,ss=ke[1].trim();const wr=ss.length>1,Ki={type:"list",raw:"",ordered:wr,start:wr?+ss.slice(0,-1):"",loose:!1,items:[]};ss=wr?`\\d{1,9}\\${ss.slice(-1)}`:`\\${ss}`,this.options.pedantic&&(ss=wr?ss:"[*+-]");const yr=new RegExp(`^( {0,3}${ss})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;Xe&&(Hr=!1,(ke=yr.exec(Xe))&&!this.rules.block.hr.test(Xe));){if(ge=ke[0],Xe=Xe.substring(ge.length),pi=ke[2].split("\n",1)[0].replace(/^\t+/,xs=>" ".repeat(3*xs.length)),nn=Xe.split("\n",1)[0],this.options.pedantic?(Ht=2,yi=pi.trimLeft()):(Ht=ke[2].search(/[^ ]/),Ht=Ht>4?1:Ht,yi=pi.slice(Ht),Ht+=ke[1].length),yn=!1,!pi&&/^ *$/.test(nn)&&(ge+=nn+"\n",Xe=Xe.substring(nn.length+1),Hr=!0),!Hr){const xs=new RegExp(`^ {0,${Math.min(3,Ht-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),Co=new RegExp(`^ {0,${Math.min(3,Ht-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),ns=new RegExp(`^ {0,${Math.min(3,Ht-1)}}(?:\`\`\`|~~~)`),Nr=new RegExp(`^ {0,${Math.min(3,Ht-1)}}#`);for(;Xe&&(Ti=Xe.split("\n",1)[0],nn=Ti,this.options.pedantic&&(nn=nn.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(ns.test(nn)||Nr.test(nn)||xs.test(nn)||Co.test(Xe)));){if(nn.search(/[^ ]/)>=Ht||!nn.trim())yi+="\n"+nn.slice(Ht);else{if(yn||pi.search(/[^ ]/)>=4||ns.test(pi)||Nr.test(pi)||Co.test(pi))break;yi+="\n"+nn}!yn&&!nn.trim()&&(yn=!0),ge+=Ti+"\n",Xe=Xe.substring(Ti.length+1),pi=nn.slice(Ht)}}Ki.loose||(Tn?Ki.loose=!0:/\n *\n *$/.test(ge)&&(Tn=!0)),this.options.gfm&&(Ae=/^\[[ xX]\] /.exec(yi),Ae&&(it="[ ] "!==Ae[0],yi=yi.replace(/^\[[ xX]\] +/,""))),Ki.items.push({type:"list_item",raw:ge,task:!!Ae,checked:it,loose:!1,text:yi}),Ki.raw+=ge}Ki.items[Ki.items.length-1].raw=ge.trimRight(),Ki.items[Ki.items.length-1].text=yi.trimRight(),Ki.raw=Ki.raw.trimRight();const jr=Ki.items.length;for(Kt=0;Kt"space"===ns.type),Co=xs.length>0&&xs.some(ns=>/\n.*\n/.test(ns.raw));Ki.loose=Co}if(Ki.loose)for(Kt=0;Kt$/,"$1").replace(this.rules.inline._escapes,"$1"):"",it=ke[3]?ke[3].substring(1,ke[3].length-1).replace(this.rules.inline._escapes,"$1"):ke[3];return{type:"def",tag:ge,raw:ke[0],href:Ae,title:it}}}table(Xe){const ke=this.rules.block.table.exec(Xe);if(ke){const ge={type:"table",header:Ct(ke[1]).map(Ae=>({text:Ae})),align:ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:ke[3]&&ke[3].trim()?ke[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(ge.header.length===ge.align.length){ge.raw=ke[0];let it,Ht,Kt,yn,Ae=ge.align.length;for(it=0;it({text:Tn}));for(Ae=ge.header.length,Ht=0;Ht/i.test(ke[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(ke[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(ke[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:ke[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ke[0]):oe(ke[0]):ke[0]}}link(Xe){const ke=this.rules.inline.link.exec(Xe);if(ke){const ge=ke[2].trim();if(!this.options.pedantic&&/^$/.test(ge))return;const Ht=He(ge.slice(0,-1),"\\");if((ge.length-Ht.length)%2==0)return}else{const Ht=function mt(mn,Xe){if(-1===mn.indexOf(Xe[1]))return-1;const ke=mn.length;let ge=0,Ae=0;for(;Ae-1){const yn=(0===ke[0].indexOf("!")?5:4)+ke[1].length+Ht;ke[2]=ke[2].substring(0,Ht),ke[0]=ke[0].substring(0,yn).trim(),ke[3]=""}}let Ae=ke[2],it="";if(this.options.pedantic){const Ht=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Ae);Ht&&(Ae=Ht[1],it=Ht[3])}else it=ke[3]?ke[3].slice(1,-1):"";return Ae=Ae.trim(),/^$/.test(ge)?Ae.slice(1):Ae.slice(1,-1)),yt(ke,{href:Ae&&Ae.replace(this.rules.inline._escapes,"$1"),title:it&&it.replace(this.rules.inline._escapes,"$1")},ke[0],this.lexer)}}reflink(Xe,ke){let ge;if((ge=this.rules.inline.reflink.exec(Xe))||(ge=this.rules.inline.nolink.exec(Xe))){let Ae=(ge[2]||ge[1]).replace(/\s+/g," ");if(Ae=ke[Ae.toLowerCase()],!Ae){const it=ge[0].charAt(0);return{type:"text",raw:it,text:it}}return yt(ge,Ae,ge[0],this.lexer)}}emStrong(Xe,ke,ge=""){let Ae=this.rules.inline.emStrong.lDelim.exec(Xe);if(!Ae||Ae[3]&&ge.match(/[\p{L}\p{N}]/u))return;const it=Ae[1]||Ae[2]||"";if(!it||it&&(""===ge||this.rules.inline.punctuation.exec(ge))){const Ht=Ae[0].length-1;let Kt,yn,Tn=Ht,pi=0;const nn="*"===Ae[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(nn.lastIndex=0,ke=ke.slice(-1*Xe.length+Ht);null!=(Ae=nn.exec(ke));){if(Kt=Ae[1]||Ae[2]||Ae[3]||Ae[4]||Ae[5]||Ae[6],!Kt)continue;if(yn=Kt.length,Ae[3]||Ae[4]){Tn+=yn;continue}if((Ae[5]||Ae[6])&&Ht%3&&!((Ht+yn)%3)){pi+=yn;continue}if(Tn-=yn,Tn>0)continue;yn=Math.min(yn,yn+Tn+pi);const Ti=Xe.slice(0,Ht+Ae.index+(Ae[0].length-Kt.length)+yn);if(Math.min(Ht,yn)%2){const Hr=Ti.slice(1,-1);return{type:"em",raw:Ti,text:Hr,tokens:this.lexer.inlineTokens(Hr)}}const yi=Ti.slice(2,-2);return{type:"strong",raw:Ti,text:yi,tokens:this.lexer.inlineTokens(yi)}}}}codespan(Xe){const ke=this.rules.inline.code.exec(Xe);if(ke){let ge=ke[2].replace(/\n/g," ");const Ae=/[^ ]/.test(ge),it=/^ /.test(ge)&&/ $/.test(ge);return Ae&&it&&(ge=ge.substring(1,ge.length-1)),ge=oe(ge,!0),{type:"codespan",raw:ke[0],text:ge}}}br(Xe){const ke=this.rules.inline.br.exec(Xe);if(ke)return{type:"br",raw:ke[0]}}del(Xe){const ke=this.rules.inline.del.exec(Xe);if(ke)return{type:"del",raw:ke[0],text:ke[2],tokens:this.lexer.inlineTokens(ke[2])}}autolink(Xe,ke){const ge=this.rules.inline.autolink.exec(Xe);if(ge){let Ae,it;return"@"===ge[2]?(Ae=oe(this.options.mangle?ke(ge[1]):ge[1]),it="mailto:"+Ae):(Ae=oe(ge[1]),it=Ae),{type:"link",raw:ge[0],text:Ae,href:it,tokens:[{type:"text",raw:Ae,text:Ae}]}}}url(Xe,ke){let ge;if(ge=this.rules.inline.url.exec(Xe)){let Ae,it;if("@"===ge[2])Ae=oe(this.options.mangle?ke(ge[0]):ge[0]),it="mailto:"+Ae;else{let Ht;do{Ht=ge[0],ge[0]=this.rules.inline._backpedal.exec(ge[0])[0]}while(Ht!==ge[0]);Ae=oe(ge[0]),it="www."===ge[1]?"http://"+ge[0]:ge[0]}return{type:"link",raw:ge[0],text:Ae,href:it,tokens:[{type:"text",raw:Ae,text:Ae}]}}}inlineText(Xe,ke){const ge=this.rules.inline.text.exec(Xe);if(ge){let Ae;return Ae=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ge[0]):oe(ge[0]):ge[0]:oe(this.options.smartypants?ke(ge[0]):ge[0]),{type:"text",raw:ge[0],text:Ae}}}}const In={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ot,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};In.def=gt(In.def).replace("label",In._label).replace("title",In._title).getRegex(),In.bullet=/(?:[*+-]|\d{1,9}[.)])/,In.listItemStart=gt(/^( *)(bull) */).replace("bull",In.bullet).getRegex(),In.list=gt(In.list).replace(/bull/g,In.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+In.def.source+")").getRegex(),In._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",In._comment=/|$)/,In.html=gt(In.html,"i").replace("comment",In._comment).replace("tag",In._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),In.paragraph=gt(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.blockquote=gt(In.blockquote).replace("paragraph",In.paragraph).getRegex(),In.normal={...In},In.gfm={...In.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},In.gfm.table=gt(In.gfm.table).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.gfm.paragraph=gt(In._paragraph).replace("hr",In.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",In.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",In._tag).getRegex(),In.pedantic={...In.normal,html:gt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",In._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ot,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:gt(In.normal._paragraph).replace("hr",In.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",In.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const dn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ot,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ot,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(ge="x"+ge.toString(16)),Xe+="&#"+ge+";";return Xe}dn._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",dn.punctuation=gt(dn.punctuation).replace(/punctuation/g,dn._punctuation).getRegex(),dn.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,dn.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,dn._comment=gt(In._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),dn.emStrong.lDelim=gt(dn.emStrong.lDelim).replace(/punct/g,dn._punctuation).getRegex(),dn.emStrong.rDelimAst=gt(dn.emStrong.rDelimAst,"g").replace(/punct/g,dn._punctuation).getRegex(),dn.emStrong.rDelimUnd=gt(dn.emStrong.rDelimUnd,"g").replace(/punct/g,dn._punctuation).getRegex(),dn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,dn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,dn._email=/[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])?)+(?![-_])/,dn.autolink=gt(dn.autolink).replace("scheme",dn._scheme).replace("email",dn._email).getRegex(),dn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,dn.tag=gt(dn.tag).replace("comment",dn._comment).replace("attribute",dn._attribute).getRegex(),dn._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,dn._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,dn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,dn.link=gt(dn.link).replace("label",dn._label).replace("href",dn._href).replace("title",dn._title).getRegex(),dn.reflink=gt(dn.reflink).replace("label",dn._label).replace("ref",In._label).getRegex(),dn.nolink=gt(dn.nolink).replace("ref",In._label).getRegex(),dn.reflinkSearch=gt(dn.reflinkSearch,"g").replace("reflink",dn.reflink).replace("nolink",dn.nolink).getRegex(),dn.normal={...dn},dn.pedantic={...dn.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:gt(/^!?\[(label)\]\((.*?)\)/).replace("label",dn._label).getRegex(),reflink:gt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",dn._label).getRegex()},dn.gfm={...dn.normal,escape:gt(dn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\yn+" ".repeat(Tn.length));Xe;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(Kt=>!!(ge=Kt.call({lexer:this},Xe,ke))&&(Xe=Xe.substring(ge.raw.length),ke.push(ge),!0)))){if(ge=this.tokenizer.space(Xe)){Xe=Xe.substring(ge.raw.length),1===ge.raw.length&&ke.length>0?ke[ke.length-1].raw+="\n":ke.push(ge);continue}if(ge=this.tokenizer.code(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],!Ae||"paragraph"!==Ae.type&&"text"!==Ae.type?ke.push(ge):(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.text,this.inlineQueue[this.inlineQueue.length-1].src=Ae.text);continue}if(ge=this.tokenizer.fences(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.heading(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.hr(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.blockquote(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.list(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.html(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.def(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],!Ae||"paragraph"!==Ae.type&&"text"!==Ae.type?this.tokens.links[ge.tag]||(this.tokens.links[ge.tag]={href:ge.href,title:ge.title}):(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.raw,this.inlineQueue[this.inlineQueue.length-1].src=Ae.text);continue}if(ge=this.tokenizer.table(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.lheading(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(it=Xe,this.options.extensions&&this.options.extensions.startBlock){let Kt=1/0;const yn=Xe.slice(1);let Tn;this.options.extensions.startBlock.forEach(function(pi){Tn=pi.call({lexer:this},yn),"number"==typeof Tn&&Tn>=0&&(Kt=Math.min(Kt,Tn))}),Kt<1/0&&Kt>=0&&(it=Xe.substring(0,Kt+1))}if(this.state.top&&(ge=this.tokenizer.paragraph(it))){Ae=ke[ke.length-1],Ht&&"paragraph"===Ae.type?(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):ke.push(ge),Ht=it.length!==Xe.length,Xe=Xe.substring(ge.raw.length);continue}if(ge=this.tokenizer.text(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],Ae&&"text"===Ae.type?(Ae.raw+="\n"+ge.raw,Ae.text+="\n"+ge.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ae.text):ke.push(ge);continue}if(Xe){const Kt="Infinite loop on byte: "+Xe.charCodeAt(0);if(this.options.silent){console.error(Kt);break}throw new Error(Kt)}}return this.state.top=!0,ke}inline(Xe,ke=[]){return this.inlineQueue.push({src:Xe,tokens:ke}),ke}inlineTokens(Xe,ke=[]){let ge,Ae,it,Kt,yn,Tn,Ht=Xe;if(this.tokens.links){const pi=Object.keys(this.tokens.links);if(pi.length>0)for(;null!=(Kt=this.tokenizer.rules.inline.reflinkSearch.exec(Ht));)pi.includes(Kt[0].slice(Kt[0].lastIndexOf("[")+1,-1))&&(Ht=Ht.slice(0,Kt.index)+"["+hn("a",Kt[0].length-2)+"]"+Ht.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(Kt=this.tokenizer.rules.inline.blockSkip.exec(Ht));)Ht=Ht.slice(0,Kt.index)+"["+hn("a",Kt[0].length-2)+"]"+Ht.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(Kt=this.tokenizer.rules.inline.escapedEmSt.exec(Ht));)Ht=Ht.slice(0,Kt.index+Kt[0].length-2)+"++"+Ht.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;Xe;)if(yn||(Tn=""),yn=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(pi=>!!(ge=pi.call({lexer:this},Xe,ke))&&(Xe=Xe.substring(ge.raw.length),ke.push(ge),!0)))){if(ge=this.tokenizer.escape(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.tag(Xe)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],Ae&&"text"===ge.type&&"text"===Ae.type?(Ae.raw+=ge.raw,Ae.text+=ge.text):ke.push(ge);continue}if(ge=this.tokenizer.link(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.reflink(Xe,this.tokens.links)){Xe=Xe.substring(ge.raw.length),Ae=ke[ke.length-1],Ae&&"text"===ge.type&&"text"===Ae.type?(Ae.raw+=ge.raw,Ae.text+=ge.text):ke.push(ge);continue}if(ge=this.tokenizer.emStrong(Xe,Ht,Tn)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.codespan(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.br(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.del(Xe)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(ge=this.tokenizer.autolink(Xe,di)){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(!this.state.inLink&&(ge=this.tokenizer.url(Xe,di))){Xe=Xe.substring(ge.raw.length),ke.push(ge);continue}if(it=Xe,this.options.extensions&&this.options.extensions.startInline){let pi=1/0;const nn=Xe.slice(1);let Ti;this.options.extensions.startInline.forEach(function(yi){Ti=yi.call({lexer:this},nn),"number"==typeof Ti&&Ti>=0&&(pi=Math.min(pi,Ti))}),pi<1/0&&pi>=0&&(it=Xe.substring(0,pi+1))}if(ge=this.tokenizer.inlineText(it,qn)){Xe=Xe.substring(ge.raw.length),"_"!==ge.raw.slice(-1)&&(Tn=ge.raw.slice(-1)),yn=!0,Ae=ke[ke.length-1],Ae&&"text"===Ae.type?(Ae.raw+=ge.raw,Ae.text+=ge.text):ke.push(ge);continue}if(Xe){const pi="Infinite loop on byte: "+Xe.charCodeAt(0);if(this.options.silent){console.error(pi);break}throw new Error(pi)}}return ke}}class Bn{constructor(Xe){this.options=Xe||me}code(Xe,ke,ge){const Ae=(ke||"").match(/\S*/)[0];if(this.options.highlight){const it=this.options.highlight(Xe,Ae);null!=it&&it!==Xe&&(ge=!0,Xe=it)}return Xe=Xe.replace(/\n$/,"")+"\n",Ae?'

    '+(ge?Xe:oe(Xe,!0))+"
    \n":"
    "+(ge?Xe:oe(Xe,!0))+"
    \n"}blockquote(Xe){return`
    \n${Xe}
    \n`}html(Xe){return Xe}heading(Xe,ke,ge,Ae){return this.options.headerIds?`${Xe}\n`:`${Xe}\n`}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(Xe,ke,ge){const Ae=ke?"ol":"ul";return"<"+Ae+(ke&&1!==ge?' start="'+ge+'"':"")+">\n"+Xe+"\n"}listitem(Xe){return`
  • ${Xe}
  • \n`}checkbox(Xe){return" "}paragraph(Xe){return`

    ${Xe}

    \n`}table(Xe,ke){return ke&&(ke=`${ke}`),"\n\n"+Xe+"\n"+ke+"
    \n"}tablerow(Xe){return`\n${Xe}\n`}tablecell(Xe,ke){const ge=ke.header?"th":"td";return(ke.align?`<${ge} align="${ke.align}">`:`<${ge}>`)+Xe+`\n`}strong(Xe){return`${Xe}`}em(Xe){return`${Xe}`}codespan(Xe){return`${Xe}`}br(){return this.options.xhtml?"
    ":"
    "}del(Xe){return`${Xe}`}link(Xe,ke,ge){if(null===(Xe=tt(this.options.sanitize,this.options.baseUrl,Xe)))return ge;let Ae='",Ae}image(Xe,ke,ge){if(null===(Xe=tt(this.options.sanitize,this.options.baseUrl,Xe)))return ge;let Ae=`${ge}":">",Ae}text(Xe){return Xe}}class xi{strong(Xe){return Xe}em(Xe){return Xe}codespan(Xe){return Xe}del(Xe){return Xe}html(Xe){return Xe}text(Xe){return Xe}link(Xe,ke,ge){return""+ge}image(Xe,ke,ge){return""+ge}br(){return""}}class fi{constructor(){this.seen={}}serialize(Xe){return Xe.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(Xe,ke){let ge=Xe,Ae=0;if(this.seen.hasOwnProperty(ge)){Ae=this.seen[Xe];do{Ae++,ge=Xe+"-"+Ae}while(this.seen.hasOwnProperty(ge))}return ke||(this.seen[Xe]=Ae,this.seen[ge]=0),ge}slug(Xe,ke={}){const ge=this.serialize(Xe);return this.getNextSafeSlug(ge,ke.dryrun)}}class Mt{constructor(Xe){this.options=Xe||me,this.options.renderer=this.options.renderer||new Bn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new xi,this.slugger=new fi}static parse(Xe,ke){return new Mt(ke).parse(Xe)}static parseInline(Xe,ke){return new Mt(ke).parseInline(Xe)}parse(Xe,ke=!0){let Ae,it,Ht,Kt,yn,Tn,pi,nn,Ti,yi,Hr,ss,wr,Ki,yr,jr,xs,Co,ns,ge="";const Nr=Xe.length;for(Ae=0;Ae0&&"paragraph"===yr.tokens[0].type?(yr.tokens[0].text=Co+" "+yr.tokens[0].text,yr.tokens[0].tokens&&yr.tokens[0].tokens.length>0&&"text"===yr.tokens[0].tokens[0].type&&(yr.tokens[0].tokens[0].text=Co+" "+yr.tokens[0].tokens[0].text)):yr.tokens.unshift({type:"text",text:Co}):Ki+=Co),Ki+=this.parse(yr.tokens,wr),Ti+=this.renderer.listitem(Ki,xs,jr);ge+=this.renderer.list(Ti,Hr,ss);continue;case"html":ge+=this.renderer.html(yi.text);continue;case"paragraph":ge+=this.renderer.paragraph(this.parseInline(yi.tokens));continue;case"text":for(Ti=yi.tokens?this.parseInline(yi.tokens):yi.text;Ae+1{"function"==typeof ge&&(Ae=ge,ge=null);const it={...ge},Ht=function ve(mn,Xe,ke){return ge=>{if(ge.message+="\nPlease report this to https://github.com/markedjs/marked.",mn){const Ae="

    An error occurred:

    "+oe(ge.message+"",!0)+"
    ";return Xe?Promise.resolve(Ae):ke?void ke(null,Ae):Ae}if(Xe)return Promise.reject(ge);if(!ke)throw ge;ke(ge)}}((ge={...xe.defaults,...it}).silent,ge.async,Ae);if(typeof ke>"u"||null===ke)return Ht(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof ke)return Ht(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(ke)+", string expected"));if(function vt(mn){mn&&mn.sanitize&&!mn.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(ge),ge.hooks&&(ge.hooks.options=ge),Ae){const Kt=ge.highlight;let yn;try{ge.hooks&&(ke=ge.hooks.preprocess(ke)),yn=mn(ke,ge)}catch(nn){return Ht(nn)}const Tn=function(nn){let Ti;if(!nn)try{ge.walkTokens&&xe.walkTokens(yn,ge.walkTokens),Ti=Xe(yn,ge),ge.hooks&&(Ti=ge.hooks.postprocess(Ti))}catch(yi){nn=yi}return ge.highlight=Kt,nn?Ht(nn):Ae(null,Ti)};if(!Kt||Kt.length<3||(delete ge.highlight,!yn.length))return Tn();let pi=0;return xe.walkTokens(yn,function(nn){"code"===nn.type&&(pi++,setTimeout(()=>{Kt(nn.text,nn.lang,function(Ti,yi){if(Ti)return Tn(Ti);null!=yi&&yi!==nn.text&&(nn.text=yi,nn.escaped=!0),pi--,0===pi&&Tn()})},0))}),void(0===pi&&Tn())}if(ge.async)return Promise.resolve(ge.hooks?ge.hooks.preprocess(ke):ke).then(Kt=>mn(Kt,ge)).then(Kt=>ge.walkTokens?Promise.all(xe.walkTokens(Kt,ge.walkTokens)).then(()=>Kt):Kt).then(Kt=>Xe(Kt,ge)).then(Kt=>ge.hooks?ge.hooks.postprocess(Kt):Kt).catch(Ht);try{ge.hooks&&(ke=ge.hooks.preprocess(ke));const Kt=mn(ke,ge);ge.walkTokens&&xe.walkTokens(Kt,ge.walkTokens);let yn=Xe(Kt,ge);return ge.hooks&&(yn=ge.hooks.postprocess(yn)),yn}catch(Kt){return Ht(Kt)}}}function xe(mn,Xe,ke){return De(ir.lex,Mt.parse)(mn,Xe,ke)}xe.options=xe.setOptions=function(mn){return function Oe(mn){me=mn}(xe.defaults={...xe.defaults,...mn}),xe},xe.getDefaults=function X(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},xe.defaults=me,xe.use=function(...mn){const Xe=xe.defaults.extensions||{renderers:{},childTokens:{}};mn.forEach(ke=>{const ge={...ke};if(ge.async=xe.defaults.async||ge.async||!1,ke.extensions&&(ke.extensions.forEach(Ae=>{if(!Ae.name)throw new Error("extension name required");if(Ae.renderer){const it=Xe.renderers[Ae.name];Xe.renderers[Ae.name]=it?function(...Ht){let Kt=Ae.renderer.apply(this,Ht);return!1===Kt&&(Kt=it.apply(this,Ht)),Kt}:Ae.renderer}if(Ae.tokenizer){if(!Ae.level||"block"!==Ae.level&&"inline"!==Ae.level)throw new Error("extension level must be 'block' or 'inline'");Xe[Ae.level]?Xe[Ae.level].unshift(Ae.tokenizer):Xe[Ae.level]=[Ae.tokenizer],Ae.start&&("block"===Ae.level?Xe.startBlock?Xe.startBlock.push(Ae.start):Xe.startBlock=[Ae.start]:"inline"===Ae.level&&(Xe.startInline?Xe.startInline.push(Ae.start):Xe.startInline=[Ae.start]))}Ae.childTokens&&(Xe.childTokens[Ae.name]=Ae.childTokens)}),ge.extensions=Xe),ke.renderer){const Ae=xe.defaults.renderer||new Bn;for(const it in ke.renderer){const Ht=Ae[it];Ae[it]=(...Kt)=>{let yn=ke.renderer[it].apply(Ae,Kt);return!1===yn&&(yn=Ht.apply(Ae,Kt)),yn}}ge.renderer=Ae}if(ke.tokenizer){const Ae=xe.defaults.tokenizer||new xn;for(const it in ke.tokenizer){const Ht=Ae[it];Ae[it]=(...Kt)=>{let yn=ke.tokenizer[it].apply(Ae,Kt);return!1===yn&&(yn=Ht.apply(Ae,Kt)),yn}}ge.tokenizer=Ae}if(ke.hooks){const Ae=xe.defaults.hooks||new Ot;for(const it in ke.hooks){const Ht=Ae[it];Ae[it]=Ot.passThroughHooks.has(it)?Kt=>{if(xe.defaults.async)return Promise.resolve(ke.hooks[it].call(Ae,Kt)).then(Tn=>Ht.call(Ae,Tn));const yn=ke.hooks[it].call(Ae,Kt);return Ht.call(Ae,yn)}:(...Kt)=>{let yn=ke.hooks[it].apply(Ae,Kt);return!1===yn&&(yn=Ht.apply(Ae,Kt)),yn}}ge.hooks=Ae}if(ke.walkTokens){const Ae=xe.defaults.walkTokens;ge.walkTokens=function(it){let Ht=[];return Ht.push(ke.walkTokens.call(this,it)),Ae&&(Ht=Ht.concat(Ae.call(this,it))),Ht}}xe.setOptions(ge)})},xe.walkTokens=function(mn,Xe){let ke=[];for(const ge of mn)switch(ke=ke.concat(Xe.call(xe,ge)),ge.type){case"table":for(const Ae of ge.header)ke=ke.concat(xe.walkTokens(Ae.tokens,Xe));for(const Ae of ge.rows)for(const it of Ae)ke=ke.concat(xe.walkTokens(it.tokens,Xe));break;case"list":ke=ke.concat(xe.walkTokens(ge.items,Xe));break;default:xe.defaults.extensions&&xe.defaults.extensions.childTokens&&xe.defaults.extensions.childTokens[ge.type]?xe.defaults.extensions.childTokens[ge.type].forEach(function(Ae){ke=ke.concat(xe.walkTokens(ge[Ae],Xe))}):ge.tokens&&(ke=ke.concat(xe.walkTokens(ge.tokens,Xe)))}return ke},xe.parseInline=De(ir.lexInline,Mt.parseInline),xe.Parser=Mt,xe.parser=Mt.parse,xe.Renderer=Bn,xe.TextRenderer=xi,xe.Lexer=ir,xe.lexer=ir.lex,xe.Tokenizer=xn,xe.Slugger=fi,xe.Hooks=Ot,xe.parse=xe;var ta=m(2939),Pi=m(3232);const co=["*"];let bs=(()=>{class mn{constructor(){this._buttonClick$=new t.x,this.copied$=this._buttonClick$.pipe((0,C.w)(()=>(0,A.T)((0,a.of)(!0),(0,y.H)(3e3).pipe((0,b.h)(!1)))),(0,N.x)(),(0,j.d)(1)),this.copiedText$=this.copied$.pipe((0,F.O)(!1),(0,x.U)(ke=>ke?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(ge){return new(ge||mn)};static#t=this.\u0275cmp=i.Xpm({type:mn,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(ge,Ae){1&ge&&(i.TgZ(0,"button",0),i.NdJ("click",function(){return Ae.onCopyToClipboardClick()}),i.ALo(1,"async"),i._uU(2),i.ALo(3,"async"),i.qZA()),2&ge&&(i.ekj("copied",i.lcZ(1,3,Ae.copied$)),i.xp6(2),i.Oqu(i.lcZ(3,5,Ae.copiedText$)))},dependencies:[P.Ov],encapsulation:2,changeDetection:0})}return mn})();class Do{}var mr=function(mn){return mn.CommandLine="command-line",mn.LineHighlight="line-highlight",mn.LineNumbers="line-numbers",mn}(mr||{});class Pt{}const sn=new i.OlP("SECURITY_CONTEXT");let Bt=(()=>{class mn{get options(){return this._options}set options(ke){this._options={...this.DEFAULT_MARKED_OPTIONS,...ke}}get renderer(){return this.options.renderer}set renderer(ke){this.options.renderer=ke}constructor(ke,ge,Ae,it,Ht,Kt){this.platform=ke,this.securityContext=ge,this.http=Ae,this.clipboardOptions=it,this.sanitizer=Kt,this.DEFAULT_MARKED_OPTIONS={renderer:new Bn},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:this.DEFAULT_MARKED_OPTIONS,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new t.x,this.reload$=this._reload$.asObservable(),this.options=Ht}parse(ke,ge=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:Ae,inline:it,emoji:Ht,mermaid:Kt,disableSanitizer:yn}=ge,Tn={...this.options,...ge.markedOptions};Kt&&(this.renderer=this.extendRenderer(Tn.renderer||new Bn));const pi=this.trimIndentation(ke),nn=Ae?this.decodeHtml(pi):pi,Ti=Ht?this.parseEmoji(nn):nn,yi=this.parseMarked(Ti,Tn,it);return(yn?yi:this.sanitizer.sanitize(this.securityContext,yi))||""}render(ke,ge=this.DEFAULT_RENDER_OPTIONS,Ae){const{clipboard:it,clipboardOptions:Ht,katex:Kt,katexOptions:yn,mermaid:Tn,mermaidOptions:pi}=ge;it&&this.renderClipboard(ke,Ae,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...Ht}),Kt&&this.renderKatex(ke,{...this.DEFAULT_KATEX_OPTIONS,...yn}),Tn&&this.renderMermaid(ke,{...this.DEFAULT_MERMAID_OPTIONS,...pi}),this.highlight(ke)}reload(){this._reload$.next()}getSource(ke){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(ke,{responseType:"text"}).pipe((0,x.U)(ge=>this.handleExtension(ke,ge)))}highlight(ke){if(!(0,P.NF)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;ke||(ke=document);const ge=ke.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(ge,Ae=>Ae.classList.add("language-none")),Prism.highlightAllUnder(ke)}decodeHtml(ke){if(!(0,P.NF)(this.platform))return ke;const ge=document.createElement("textarea");return ge.innerHTML=ke,ge.value}extendRenderer(ke){const ge=ke;if(!0===ge.\u0275NgxMarkdownRendererExtended)return ke;const Ae=ke.code;return ke.code=function(it,Ht,Kt){return"mermaid"===Ht?`
    ${it}
    `:Ae.call(this,it,Ht,Kt)},ge.\u0275NgxMarkdownRendererExtended=!0,ke}handleExtension(ke,ge){const Ae=ke.lastIndexOf("://"),it=Ae>-1?ke.substring(Ae+4):ke,Ht=it.lastIndexOf("/"),Kt=Ht>-1?it.substring(Ht+1).split("?")[0]:"",yn=Kt.lastIndexOf("."),Tn=yn>-1?Kt.substring(yn+1):"";return Tn&&"md"!==Tn?"```"+Tn+"\n"+ge+"\n```":ge}parseMarked(ke,ge,Ae=!1){return Ae?xe.parseInline(ke,ge):xe.parse(ke,ge)}parseEmoji(ke){if(!(0,P.NF)(this.platform))return ke;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(ke)}renderKatex(ke,ge){if((0,P.NF)(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(ke,ge)}}renderClipboard(ke,ge,Ae){if(!(0,P.NF)(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!ge)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:it,buttonTemplate:Ht}=Ae,Kt=ke.querySelectorAll("pre");for(let yn=0;ynnn.style.opacity="1",Tn.onmouseout=()=>nn.style.opacity="0",Ti=it?ge.createComponent(it).hostView:Ht?ge.createEmbeddedView(Ht):ge.createComponent(bs).hostView,Ti.rootNodes.forEach(Hr=>{Hr.onmouseover=()=>nn.style.opacity="1",nn.appendChild(Hr),yi=new ClipboardJS(Hr,{text:()=>Tn.innerText})}),Ti.onDestroy(()=>yi.destroy())}}renderMermaid(ke,ge=this.DEFAULT_MERMAID_OPTIONS){if(!(0,P.NF)(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.init>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const Ae=ke.querySelectorAll(".mermaid");0!==Ae.length&&(mermaid.initialize(ge),mermaid.init(Ae))}trimIndentation(ke){if(!ke)return"";let ge;return ke.split("\n").map(Ae=>{let it=ge;return Ae.length>0&&(it=isNaN(it)?Ae.search(/\S|$/):Math.min(Ae.search(/\S|$/),it)),isNaN(ge)&&(ge=it),it?Ae.substring(it):Ae}).join("\n")}static#e=this.\u0275fac=function(ge){return new(ge||mn)(i.LFG(i.Lbi),i.LFG(sn),i.LFG(ta.eN,8),i.LFG(Do,8),i.LFG(Pt,8),i.LFG(Pi.H7))};static#t=this.\u0275prov=i.Yz7({token:mn,factory:mn.\u0275fac})}return mn})(),bn=(()=>{class mn{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(ke){this._disableSanitizer=this.coerceBooleanProperty(ke)}get inline(){return this._inline}set inline(ke){this._inline=this.coerceBooleanProperty(ke)}get srcRelativeLink(){return this._srcRelativeLink}set srcRelativeLink(ke){this._srcRelativeLink=this.coerceBooleanProperty(ke)}get clipboard(){return this._clipboard}set clipboard(ke){this._clipboard=this.coerceBooleanProperty(ke)}get emoji(){return this._emoji}set emoji(ke){this._emoji=this.coerceBooleanProperty(ke)}get katex(){return this._katex}set katex(ke){this._katex=this.coerceBooleanProperty(ke)}get mermaid(){return this._mermaid}set mermaid(ke){this._mermaid=this.coerceBooleanProperty(ke)}get lineHighlight(){return this._lineHighlight}set lineHighlight(ke){this._lineHighlight=this.coerceBooleanProperty(ke)}get lineNumbers(){return this._lineNumbers}set lineNumbers(ke){this._lineNumbers=this.coerceBooleanProperty(ke)}get commandLine(){return this._commandLine}set commandLine(ke){this._commandLine=this.coerceBooleanProperty(ke)}constructor(ke,ge,Ae){this.element=ke,this.markdownService=ge,this.viewContainerRef=Ae,this.error=new i.vpe,this.load=new i.vpe,this.ready=new i.vpe,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this._srcRelativeLink=!1,this.destroyed$=new t.x}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe((0,H.R)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(ke,ge=!1){let Ae;this.src&&this.srcRelativeLink&&(Ae={baseUrl:new URL(this.src,location.origin).pathname});const Ht={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},Kt=this.markdownService.parse(ke,{decodeHtml:ge,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,markedOptions:Ae,disableSanitizer:this.disableSanitizer});this.element.nativeElement.innerHTML=Kt,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,Ht,this.viewContainerRef),this.ready.emit()}coerceBooleanProperty(ke){return null!=ke&&"false"!=`${String(ke)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:ke=>{this.render(ke),this.load.emit(ke)},error:ke=>this.error.emit(ke)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,mr.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,mr.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(ke,ge){const Ae=ke.querySelectorAll("pre");for(let it=0;it{const Kt=ge[Ht];if(Kt){const yn=this.toLispCase(Ht);Ae.item(it).setAttribute(yn,Kt.toString())}})}toLispCase(ke){const ge=ke.match(/([A-Z])/g);if(!ge)return ke;let Ae=ke.toString();for(let it=0,Ht=ge.length;it{class mn{static forRoot(ke){return{ngModule:mn,providers:[Bt,ke&&ke.loader||[],ke&&ke.clipboardOptions||[],ke&&ke.markedOptions||[],{provide:sn,useValue:ke&&null!=ke.sanitize?ke.sanitize:i.q3G.HTML}]}}static forChild(){return{ngModule:mn}}static#e=this.\u0275fac=function(ge){return new(ge||mn)};static#t=this.\u0275mod=i.oAB({type:mn});static#n=this.\u0275inj=i.cJS({imports:[P.ez]})}return mn})();var Ur;!function(mn){let Xe;var Ae;let ke,ge;(Ae=Xe=mn.SecurityLevel||(mn.SecurityLevel={})).Strict="strict",Ae.Loose="loose",Ae.Antiscript="antiscript",Ae.Sandbox="sandbox",function(Ae){Ae.Base="base",Ae.Forest="forest",Ae.Dark="dark",Ae.Default="default",Ae.Neutral="neutral"}(ke=mn.Theme||(mn.Theme={})),function(Ae){Ae[Ae.Debug=1]="Debug",Ae[Ae.Info=2]="Info",Ae[Ae.Warn=3]="Warn",Ae[Ae.Error=4]="Error",Ae[Ae.Fatal=5]="Fatal"}(ge=mn.LogLevel||(mn.LogLevel={}))}(Ur||(Ur={}))},2953:(lt,_e,m)=>{"use strict";m.d(_e,{KD:()=>H,Z6:()=>me,np:()=>X});var i=m(8239),t=m(755),A=m(6733),a=m(2133);const y=new t.OlP("ngx-mask config"),C=new t.OlP("new ngx-mask config"),b=new t.OlP("initial ngx-mask config"),N={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:Se=>Se,outputTransformFn:Se=>Se,maskFilled:new t.vpe,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},j=["Hh:m0:s0","Hh:m0","m0:s0"],F=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let x=(()=>{class Se{constructor(){this._config=(0,t.f3M)(y),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(K,V,J,ae)=>{let oe=[],ye="";if(Array.isArray(J)){const Je=new RegExp(J.map(tt=>"[\\^$.|?*+()".indexOf(tt)>=0?`\\${tt}`:tt).join("|"));oe=K.split(Je),ye=K.match(Je)?.[0]??""}else oe=K.split(J),ye=J;const Ee=oe.length>1?`${ye}${oe[1]}`:"";let Ge=oe[0]??"";const gt=this.separatorLimit.replace(/\s/g,"");gt&&+gt&&(Ge="-"===Ge[0]?`-${Ge.slice(1,Ge.length).slice(0,gt.length)}`:Ge.slice(0,gt.length));const Ze=/(\d+)(\d{3})/;for(;V&&Ze.test(Ge);)Ge=Ge.replace(Ze,"$1"+V+"$2");return void 0===ae?Ge+Ee:0===ae?Ge:Ge+Ee.substring(0,ae+1)},this.percentage=K=>{const V=K.replace(",","."),J=Number(V);return!isNaN(J)&&J>=0&&J<=100},this.getPrecision=K=>{const V=K.split(".");return V.length>1?Number(V[V.length-1]):1/0},this.checkAndRemoveSuffix=K=>{for(let V=this.suffix?.length-1;V>=0;V--){const J=this.suffix.substring(V,this.suffix?.length);if(K.includes(J)&&V!==this.suffix?.length-1&&(V-1<0||!K.includes(this.suffix.substring(V-1,this.suffix?.length))))return K.replace(J,"")}return K},this.checkInputPrecision=(K,V,J)=>{if(V<1/0){if(Array.isArray(J)){const Ee=J.find(Ge=>Ge!==this.thousandSeparator);J=Ee||J[0]}const ae=new RegExp(this._charToRegExpExpression(J)+`\\d{${V}}.*$`),oe=K.match(ae),ye=(oe&&oe[0]?.length)??0;ye-1>V&&(K=K.substring(0,K.length-(ye-1-V))),0===V&&this._compareOrIncludes(K[K.length-1],J,this.thousandSeparator)&&(K=K.substring(0,K.length-1))}return K}}applyMaskWithPattern(K,V){const[J,ae]=V;return this.customPattern=ae,this.applyMask(K,J)}applyMask(K,V,J=0,ae=!1,oe=!1,ye=(()=>{})){if(!V||"string"!=typeof K)return"";let Ee=0,Ge="",gt=!1,Ze=!1,Je=1,tt=!1;K.slice(0,this.prefix.length)===this.prefix&&(K=K.slice(this.prefix.length,K.length)),this.suffix&&K?.length>0&&(K=this.checkAndRemoveSuffix(K)),"("===K&&this.prefix&&(K="");const Qe=K.toString().split("");if(this.allowNegativeNumbers&&"-"===K.slice(Ee,Ee+1)&&(Ge+=K.slice(Ee,Ee+1)),"IP"===V){const Ct=K.split(".");this.ipError=this._validIP(Ct),V="099.099.099.099"}const pt=[];for(let Ct=0;Ct11?"00.000.000/0000-00":"000.000.000-00"),V.startsWith("percent")){if(K.match("[a-z]|[A-Z]")||K.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!oe){K=this._stripToDecimal(K);const mt=this.getPrecision(V);K=this.checkInputPrecision(K,mt,this.decimalMarker)}const Ct="string"==typeof this.decimalMarker?this.decimalMarker:".";if(K.indexOf(Ct)>0&&!this.percentage(K.substring(0,K.indexOf(Ct)))){let mt=K.substring(0,K.indexOf(Ct)-1);this.allowNegativeNumbers&&"-"===K.slice(Ee,Ee+1)&&!oe&&(mt=K.substring(0,K.indexOf(Ct))),K=`${mt}${K.substring(K.indexOf(Ct),K.length)}`}let He="";He=this.allowNegativeNumbers&&"-"===K.slice(Ee,Ee+1)?K.slice(Ee+1,Ee+K.length):K,Ge=this.percentage(He)?this._splitPercentZero(K):this._splitPercentZero(K.substring(0,K.length-1))}else if(V.startsWith("separator")){(K.match("[w\u0430-\u044f\u0410-\u042f]")||K.match("[\u0401\u0451\u0410-\u044f]")||K.match("[a-z]|[A-Z]")||K.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||K.match("[^A-Za-z0-9,]"))&&(K=this._stripToDecimal(K));const Ct=this.getPrecision(V),He=Array.isArray(this.decimalMarker)?".":this.decimalMarker;0===Ct?K=this.allowNegativeNumbers?K.length>2&&"-"===K[0]&&"0"===K[1]&&K[2]!==this.thousandSeparator&&","!==K[2]&&"."!==K[2]?"-"+K.slice(2,K.length):"0"===K[0]&&K.length>1&&K[1]!==this.thousandSeparator&&","!==K[1]&&"."!==K[1]?K.slice(1,K.length):K:K.length>1&&"0"===K[0]&&K[1]!==this.thousandSeparator&&","!==K[1]&&"."!==K[1]?K.slice(1,K.length):K:(K[0]===He&&K.length>1&&(K="0"+K.slice(0,K.length+1),this.plusOnePosition=!0),"0"===K[0]&&K[1]!==He&&K[1]!==this.thousandSeparator&&(K=K.length>1?K.slice(0,1)+He+K.slice(1,K.length+1):K,this.plusOnePosition=!0),this.allowNegativeNumbers&&"-"===K[0]&&(K[1]===He||"0"===K[1])&&(K=K[1]===He&&K.length>2?K.slice(0,1)+"0"+K.slice(1,K.length):"0"===K[1]&&K.length>2&&K[2]!==He?K.slice(0,2)+He+K.slice(2,K.length):K,this.plusOnePosition=!0)),oe&&("0"===K[0]&&K[1]===this.decimalMarker&&("0"===K[J]||K[J]===this.decimalMarker)&&(K=K.slice(2,K.length)),"-"===K[0]&&"0"===K[1]&&K[2]===this.decimalMarker&&("0"===K[J]||K[J]===this.decimalMarker)&&(K="-"+K.slice(3,K.length)),K=this._compareOrIncludes(K[K.length-1],this.decimalMarker,this.thousandSeparator)?K.slice(0,K.length-1):K);const mt=this._charToRegExpExpression(this.thousandSeparator);let vt='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(mt,"");if(Array.isArray(this.decimalMarker))for(const In of this.decimalMarker)vt=vt.replace(this._charToRegExpExpression(In),"");else vt=vt.replace(this._charToRegExpExpression(this.decimalMarker),"");const hn=new RegExp("["+vt+"]");K.match(hn)&&(K=K.substring(0,K.length-1));const yt=(K=this.checkInputPrecision(K,Ct,this.decimalMarker)).replace(new RegExp(mt,"g"),"");Ge=this._formatWithSeparators(yt,this.thousandSeparator,this.decimalMarker,Ct);const Fn=Ge.indexOf(",")-K.indexOf(","),xn=Ge.length-K.length;if(xn>0&&Ge[J]!==this.thousandSeparator){Ze=!0;let In=0;do{this._shift.add(J+In),In++}while(In0&&!(Ge.indexOf(",")>=J&&J>3)||!(Ge.indexOf(".")>=J&&J>3)&&xn<=0?(this._shift.clear(),Ze=!0,Je=xn,this._shift.add(J+=xn)):this._shift.clear()}else for(let Ct=0,He=Qe[0];Ct9:Number(He)>2)){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}if("h"===V[Ee]&&(this.apm?1===Ge.length&&Number(Ge)>1||"1"===Ge&&Number(He)>2||1===K.slice(Ee-1,Ee).length&&Number(K.slice(Ee-1,Ee))>2||"1"===K.slice(Ee-1,Ee)&&Number(He)>2:"2"===Ge&&Number(He)>3||("2"===Ge.slice(Ee-2,Ee)||"2"===Ge.slice(Ee-3,Ee)||"2"===Ge.slice(Ee-4,Ee)||"2"===Ge.slice(Ee-1,Ee))&&Number(He)>3&&Ee>10)){J+=1,Ee+=1,Ct--;continue}if(("m"===V[Ee]||"s"===V[Ee])&&Number(He)>5){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}const vt=31,hn=K[Ee],yt=K[Ee+1],Fn=K[Ee+2],xn=K[Ee-1],In=K[Ee-2],dn=K[Ee-3],qn=K.slice(Ee-3,Ee-1),di=K.slice(Ee-1,Ee+1),ir=K.slice(Ee,Ee+2),Bn=K.slice(Ee-2,Ee);if("d"===V[Ee]){const xi="M0"===V.slice(0,2),fi="M0"===V.slice(0,2)&&this.specialCharacters.includes(In);if(Number(He)>3&&this.leadZeroDateTime||!xi&&(Number(ir)>vt||Number(di)>vt||this.specialCharacters.includes(yt))||(fi?Number(di)>vt||!this.specialCharacters.includes(hn)&&this.specialCharacters.includes(Fn)||this.specialCharacters.includes(hn):Number(ir)>vt||this.specialCharacters.includes(yt))){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}}if("M"===V[Ee]){const fi=0===Ee&&(Number(He)>2||Number(ir)>12||this.specialCharacters.includes(yt)),Mt=V.slice(Ee+2,Ee+3),Ot=qn.includes(Mt)&&(this.specialCharacters.includes(In)&&Number(di)>12&&!this.specialCharacters.includes(hn)||this.specialCharacters.includes(hn)||this.specialCharacters.includes(dn)&&Number(Bn)>12&&!this.specialCharacters.includes(xn)||this.specialCharacters.includes(xn)),ve=Number(qn)<=vt&&!this.specialCharacters.includes(qn)&&this.specialCharacters.includes(xn)&&(Number(ir)>12||this.specialCharacters.includes(yt)),De=Number(ir)>12&&5===Ee||this.specialCharacters.includes(yt)&&5===Ee,xe=Number(qn)>vt&&!this.specialCharacters.includes(qn)&&!this.specialCharacters.includes(Bn)&&Number(Bn)>12,Ye=Number(qn)<=vt&&!this.specialCharacters.includes(qn)&&!this.specialCharacters.includes(xn)&&Number(di)>12;if(Number(He)>1&&this.leadZeroDateTime||fi||Ot||Ye||xe||ve||De&&!this.leadZeroDateTime){J=this.leadZeroDateTime?J:J+1,Ee+=1,this._shiftStep(V,Ee,Qe.length),Ct--,this.leadZeroDateTime&&(Ge+="0");continue}}Ge+=He,Ee++}else" "===He&&" "===V[Ee]||"/"===He&&"/"===V[Ee]?(Ge+=He,Ee++):-1!==this.specialCharacters.indexOf(V[Ee]??"")?(Ge+=V[Ee],Ee++,this._shiftStep(V,Ee,Qe.length),Ct--):"9"===V[Ee]&&this.showMaskTyped?this._shiftStep(V,Ee,Qe.length):this.patterns[V[Ee]??""]&&this.patterns[V[Ee]??""]?.optional?(Qe[Ee]&&"099.099.099.099"!==V&&"000.000.000-00"!==V&&"00.000.000/0000-00"!==V&&!V.match(/^9+\.0+$/)&&!this.patterns[V[Ee]??""]?.optional&&(Ge+=Qe[Ee]),V.includes("9*")&&V.includes("0*")&&Ee++,Ee++,Ct--):"*"===this.maskExpression[Ee+1]&&this._findSpecialChar(this.maskExpression[Ee+2]??"")&&this._findSpecialChar(He)===this.maskExpression[Ee+2]&>||"?"===this.maskExpression[Ee+1]&&this._findSpecialChar(this.maskExpression[Ee+2]??"")&&this._findSpecialChar(He)===this.maskExpression[Ee+2]&>?(Ee+=3,Ge+=He):this.showMaskTyped&&this.specialCharacters.indexOf(He)<0&&He!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(tt=!0)}Ge.length+1===V.length&&-1!==this.specialCharacters.indexOf(V[V.length-1]??"")&&(Ge+=V[V.length-1]);let Nt=J+1;for(;this._shift.has(Nt);)Je++,Nt++;let Jt=ae&&!V.startsWith("separator")?Ee:this._shift.has(J)?Je:0;tt&&Jt--,ye(Jt,Ze),Je<0&&this._shift.clear();let nt=!1;oe&&(nt=Qe.every(Ct=>this.specialCharacters.includes(Ct)));let ot=`${this.prefix}${nt?"":Ge}${this.showMaskTyped?"":this.suffix}`;if(0===Ge.length&&(ot=this.dropSpecialCharacters?`${Ge}`:`${this.prefix}${Ge}`),Ge.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(oe&&"-"===Ge)return"";ot=`-${this.prefix}${Ge.split("-").join("")}${this.suffix}`}return ot}_findDropSpecialChar(K){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(V=>V===K):this._findSpecialChar(K)}_findSpecialChar(K){return this.specialCharacters.find(V=>V===K)}_checkSymbolMask(K,V){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[V]?.pattern&&this.patterns[V]?.pattern.test(K))??!1}_stripToDecimal(K){return K.split("").filter((V,J)=>{const ae="string"==typeof this.decimalMarker?V===this.decimalMarker:this.decimalMarker.includes(V);return V.match("^-?\\d")||V===this.thousandSeparator||ae||"-"===V&&0===J&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(K){return K&&(" "===K?"\\s":"[\\^$.|?*+()".indexOf(K)>=0?`\\${K}`:K)}_shiftStep(K,V,J){const ae=/[*?]/g.test(K.slice(0,V))?J:V;this._shift.add(ae+this.prefix.length||0)}_compareOrIncludes(K,V,J){return Array.isArray(V)?V.filter(ae=>ae!==J).includes(K):K===V}_validIP(K){return!(4===K.length&&!K.some((V,J)=>K.length!==J+1?""===V||Number(V)>255:""===V||Number(V.substring(0,3))>255))}_splitPercentZero(K){const V=K.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:".");if(-1===V){const J=parseInt(K,10);return isNaN(J)?"":J.toString()}{const J=parseInt(K.substring(0,V),10),ae=K.substring(V+1),oe=isNaN(J)?"":J.toString();return""===oe?"":oe+("string"==typeof this.decimalMarker?this.decimalMarker:".")+ae}}static#e=this.\u0275fac=function(V){return new(V||Se)};static#t=this.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac})}return Se})(),H=(()=>{class Se extends x{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=K=>{},this._elementRef=(0,t.f3M)(t.SBq,{optional:!0}),this.document=(0,t.f3M)(A.K0),this._config=(0,t.f3M)(y),this._renderer=(0,t.f3M)(t.Qsj,{optional:!0})}applyMask(K,V,J=0,ae=!1,oe=!1,ye=(()=>{})){if(!V)return K!==this.actualValue?this.actualValue:K;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(K||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(K||"#")),!K&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown+this.suffix;const Ee=K&&"number"==typeof this.selStart?K[this.selStart]??"":"";let Ge="";if(void 0!==this.hiddenInput&&!this.writingValue){let tt=K&&1===K.length?K.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==K&&tt.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(K.length>tt.length?tt.splice(this.selStart,0,Ee):K.length!this._compareOrIncludes(tt,this.decimalMarker,this.thousandSeparator))),(gt||""===gt)&&(this._previousValue=this._currentValue,this._currentValue=gt,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&ae),this._emitValue&&this.formControlResult(gt),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?oe?this.hideInput(gt,this.maskExpression):this.hideInput(gt,this.maskExpression)+this.maskIsShown.slice(gt.length):gt;const Ze=gt.length,Je=this.prefix+this.maskIsShown+this.suffix;if(this.maskExpression.includes("H")){const tt=this._numberSkipedSymbols(gt);return gt+Je.slice(Ze+tt)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?gt+Je:gt+Je.slice(Ze)}_numberSkipedSymbols(K){const V=/(^|\D)(\d\D)/g;let J=V.exec(K),ae=0;for(;null!=J;)ae+=1,J=V.exec(K);return ae}applyValueChanges(K,V,J,ae=(()=>{})){const oe=this._elementRef?.nativeElement;oe&&(oe.value=this.applyMask(oe.value,this.maskExpression,K,V,J,ae),oe!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(K,V){return K.split("").map((J,ae)=>this.patterns&&this.patterns[V[ae]??""]&&this.patterns[V[ae]??""]?.symbol?this.patterns[V[ae]??""]?.symbol:J).join("")}getActualValue(K){const V=K.split("").filter((J,ae)=>{const oe=this.maskExpression[ae]??"";return this._checkSymbolMask(J,oe)||this.specialCharacters.includes(oe)&&J===oe});return V.join("")===K?V.join(""):K}shiftTypedSymbols(K){let V="";return(K&&K.split("").map((ae,oe)=>{if(this.specialCharacters.includes(K[oe+1]??"")&&K[oe+1]!==this.maskExpression[oe+1])return V=ae,K[oe+1];if(V.length){const ye=V;return V="",ye}return ae})||[]).join("")}numberToString(K){return!K&&0!==K||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(K).length>14?String(K):Number(K).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(K){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(K){if("IP"===this.maskExpression)return this._checkForIp(K);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(K)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const K=this._elementRef?.nativeElement;K&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==K.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([K,V]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,K,V))}checkDropSpecialCharAmount(K){return K.split("").filter(J=>this._findDropSpecialChar(J)).length}removeMask(K){return this._removeMask(this._removeSuffix(this._removePrefix(K)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(K){if("#"===K)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const V=[];for(let J=0;J3&&V.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:V.length>6&&V.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(K){const V=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,J=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===K)return V;const ae=[];for(let oe=0;oe3&&ae.length<=6?V.slice(ae.length+1,V.length):ae.length>6&&ae.length<=9?V.slice(ae.length+2,V.length):ae.length>9&&ae.length<11?V.slice(ae.length+3,V.length):11===ae.length?"":12===ae.length?J.slice(17===K.length?16:15,J.length):ae.length>12&&ae.length<=14?J.slice(ae.length+4,J.length):""}_getActiveElement(K=this.document){const V=K?.activeElement?.shadowRoot;return V?.activeElement?this._getActiveElement(V):K.activeElement}formControlResult(K){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(K)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(K)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===K?this._checkSymbols(this._removeSuffix(this._removePrefix(K))):K)))}_toNumber(K){if(!this.isNumberValue||""===K||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return K;if(String(K).length>16&&this.separatorLimit.length>14)return String(K);const V=Number(K);if(this.maskExpression.startsWith("separator")&&Number.isNaN(V)){const J=String(K).replace(",",".");return Number(J)}return Number.isNaN(V)?K:V}_removeMask(K,V){return this.maskExpression.startsWith("percent")&&K.includes(".")?K:K&&K.replace(this._regExpForRemove(V),"")}_removePrefix(K){return this.prefix?K&&K.replace(this.prefix,""):K}_removeSuffix(K){return this.suffix?K&&K.replace(this.suffix,""):K}_retrieveSeparatorValue(K){let V=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(J=>this.dropSpecialCharacters.includes(J)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&K.includes(" ")&&this.maskExpression.includes("*")&&(V=V.filter(J=>" "!==J)),this._removeMask(K,V)}_regExpForRemove(K){return new RegExp(K.map(V=>`\\${V}`).join("|"),"gi")}_replaceDecimalMarkerToDot(K){const V=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return K.replace(this._regExpForRemove(V),".")}_checkSymbols(K){if(""===K)return K;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(K=K.replace(",","."));const V=this._retrieveSeparatorPrecision(this.maskExpression),J=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(K));return this.isNumberValue&&V?K===this.decimalMarker?null:this.separatorLimit.length>14?String(J):this._checkPrecision(this.maskExpression,J):J}_checkPatternForSpace(){for(const K in this.patterns)if(this.patterns[K]&&this.patterns[K]?.hasOwnProperty("pattern")){const V=this.patterns[K]?.pattern.toString(),J=this.patterns[K]?.pattern;if(V?.includes(" ")&&J?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(K){const V=K.match(new RegExp("^separator\\.([^d]*)"));return V?Number(V[1]):null}_checkPrecision(K,V){const J=K.slice(10,11);return K.indexOf("2")>0||this.leadZero&&Number(J)>1?(","===this.decimalMarker&&this.leadZero&&(V=V.replace(",",".")),this.leadZero?Number(V).toFixed(Number(J)):Number(V).toFixed(2)):this.numberToString(V)}_repeatPatternSymbols(K){return K.match(/{[0-9]+}/)&&K.split("").reduce((V,J,ae)=>{if(this._start="{"===J?ae:this._start,"}"!==J)return this._findSpecialChar(J)?V+J:V;this._end=ae;const oe=Number(K.slice(this._start+1,this._end)),ye=new Array(oe+1).join(K[this._start-1]);if(K.slice(0,this._start).length>1&&K.includes("S")){const Ee=K.slice(0,this._start-1);return Ee.includes("{")?V+ye:Ee+V+ye}return V+ye},"")||K}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}static#e=this.\u0275fac=function(){let K;return function(J){return(K||(K=t.n5z(Se)))(J||Se)}}();static#t=this.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac})}return Se})();function k(){const Se=(0,t.f3M)(b),wt=(0,t.f3M)(C);return wt instanceof Function?{...Se,...wt()}:{...Se,...wt}}function X(Se){return(0,t.MR2)(function P(Se){return[{provide:C,useValue:Se},{provide:b,useValue:N},{provide:y,useFactory:k},H]}(Se))}let me=(()=>{class Se{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new t.vpe,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=(0,t.f3M)(A.K0),this._maskService=(0,t.f3M)(H,{self:!0}),this._config=(0,t.f3M)(y),this.onChange=K=>{},this.onTouch=()=>{}}ngOnChanges(K){const{maskExpression:V,specialCharacters:J,patterns:ae,prefix:oe,suffix:ye,thousandSeparator:Ee,decimalMarker:Ge,dropSpecialCharacters:gt,hiddenInput:Ze,showMaskTyped:Je,placeHolderCharacter:tt,shownMaskExpression:Qe,showTemplate:pt,clearIfNotMatch:Nt,validation:Jt,separatorLimit:nt,allowNegativeNumbers:ot,leadZeroDateTime:Ct,leadZero:He,triggerOnMaskChange:mt,apm:vt,inputTransformFn:hn,outputTransformFn:yt,keepCharacterPositions:Fn}=K;if(V&&(V.currentValue!==V.previousValue&&!V.firstChange&&(this._maskService.maskChanged=!0),V.currentValue&&V.currentValue.split("||").length>1?(this._maskExpressionArray=V.currentValue.split("||").sort((xn,In)=>xn.length-In.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=V.currentValue||"",this._maskService.maskExpression=this._maskValue)),J){if(!J.currentValue||!Array.isArray(J.currentValue))return;this._maskService.specialCharacters=J.currentValue||[]}ot&&(this._maskService.allowNegativeNumbers=ot.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(xn=>"-"!==xn))),ae&&ae.currentValue&&(this._maskService.patterns=ae.currentValue),vt&&vt.currentValue&&(this._maskService.apm=vt.currentValue),oe&&(this._maskService.prefix=oe.currentValue),ye&&(this._maskService.suffix=ye.currentValue),Ee&&(this._maskService.thousandSeparator=Ee.currentValue),Ge&&(this._maskService.decimalMarker=Ge.currentValue),gt&&(this._maskService.dropSpecialCharacters=gt.currentValue),Ze&&(this._maskService.hiddenInput=Ze.currentValue),Je&&(this._maskService.showMaskTyped=Je.currentValue,!1===Je.previousValue&&!0===Je.currentValue&&this._isFocused&&requestAnimationFrame(()=>{this._maskService._elementRef?.nativeElement.click()})),tt&&(this._maskService.placeHolderCharacter=tt.currentValue),Qe&&(this._maskService.shownMaskExpression=Qe.currentValue),pt&&(this._maskService.showTemplate=pt.currentValue),Nt&&(this._maskService.clearIfNotMatch=Nt.currentValue),Jt&&(this._maskService.validation=Jt.currentValue),nt&&(this._maskService.separatorLimit=nt.currentValue),Ct&&(this._maskService.leadZeroDateTime=Ct.currentValue),He&&(this._maskService.leadZero=He.currentValue),mt&&(this._maskService.triggerOnMaskChange=mt.currentValue),hn&&(this._maskService.inputTransformFn=hn.currentValue),yt&&(this._maskService.outputTransformFn=yt.currentValue),Fn&&(this._maskService.keepCharacterPositions=Fn.currentValue),this._applyMask()}validate({value:K}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(K);if(this._maskService.cpfCnpjError)return this._createValidationError(K);if(this._maskValue.startsWith("separator")||F.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(j.includes(this._maskValue))return this._validateTime(K);if(K&&K.toString().length>=1){let V=0;if(this._maskValue.startsWith("percent"))return null;for(const J in this._maskService.patterns)if(this._maskService.patterns[J]?.optional&&(this._maskValue.indexOf(J)!==this._maskValue.lastIndexOf(J)?V+=this._maskValue.split("").filter(oe=>oe===J).join("").length:-1!==this._maskValue.indexOf(J)&&V++,-1!==this._maskValue.indexOf(J)&&K.toString().length>=this._maskValue.indexOf(J)||V===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&K.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&K.toString().length1&&K.toString().length1){const oe=J[J.length-1];if(oe&&this._maskService.specialCharacters.includes(oe[0])&&String(K).includes(oe[0]??"")&&!this.dropSpecialCharacters){const ye=K.split(oe[0]);return ye[ye.length-1].length===oe.length-1?null:this._createValidationError(K)}return(oe&&!this._maskService.specialCharacters.includes(oe[0])||!oe||this._maskService.dropSpecialCharacters)&&K.length>=ae-1?null:this._createValidationError(K)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return K&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(K){(""===K||null==K)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(K){if(this._isComposing)return;const V=K.target,J=this._maskService.inputTransformFn(V.value);if("number"!==V.type)if("string"==typeof J||"number"==typeof J){if(V.value=J.toString(),this._inputValue=V.value,this._setMask(),!this._maskValue)return void this.onChange(V.value);let ae=1===V.selectionStart?V.selectionStart+this._maskService.prefix.length:V.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const Ge=V.value.slice(ae-1,ae),gt=this.prefix.length,Ze=this._maskService._checkSymbolMask(Ge,this._maskService.maskExpression[ae-1-gt]??""),Je=this._maskService._checkSymbolMask(Ge,this._maskService.maskExpression[ae+1-gt]??""),tt=this._maskService.selStart===this._maskService.selEnd,Qe=Number(this._maskService.selStart)-gt,pt=Number(this._maskService.selEnd)-gt;if("Backspace"===this._code)if(tt){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(ae-this.prefix.length,ae+1-this.prefix.length))&&tt)if(1===Qe&&this.prefix)this._maskService.actualValue=this.prefix+this._maskService.placeHolderCharacter+V.value.split(this.prefix).join("").split(this.suffix).join("")+this.suffix,ae-=1;else{const Nt=V.value.substring(0,ae),Jt=V.value.substring(ae);this._maskService.actualValue=Nt+this._maskService.placeHolderCharacter+Jt}}else this._maskService.actualValue=this._maskService.selStart===gt?this.prefix+this._maskService.maskIsShown.slice(0,pt)+this._inputValue.split(this.prefix).join(""):this._maskService.selStart===this._maskService.maskIsShown.length+gt?this._inputValue+this._maskService.maskIsShown.slice(Qe,pt):this.prefix+this._inputValue.split(this.prefix).join("").slice(0,Qe)+this._maskService.maskIsShown.slice(Qe,pt)+this._maskService.actualValue.slice(pt+gt,this._maskService.maskIsShown.length+gt)+this.suffix;"Backspace"!==this._code&&(Ze||Je||!tt?this._maskService.specialCharacters.includes(V.value.slice(ae,ae+1))&&Je&&!this._maskService.specialCharacters.includes(V.value.slice(ae+1,ae+2))?(this._maskService.actualValue=V.value.slice(0,ae-1)+V.value.slice(ae,ae+1)+Ge+V.value.slice(ae+2),ae+=1):Ze?this._maskService.actualValue=1===V.value.length&&1===ae?this.prefix+Ge+this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)+this.suffix:V.value.slice(0,ae-1)+Ge+V.value.slice(ae+1).split(this.suffix).join("")+this.suffix:this.prefix&&1===V.value.length&&ae-gt==1&&this._maskService._checkSymbolMask(V.value,this._maskService.maskExpression[ae-1-gt]??"")&&(this._maskService.actualValue=this.prefix+V.value+this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)+this.suffix):ae=Number(V.selectionStart)-1)}let oe=0,ye=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&ae<10){const Ge=this._inputValue.slice(ae-1,ae);V.value=this._inputValue.slice(0,ae-1)+Ge+this._inputValue.slice(ae+1)}if("d0/M0/0000"===this._maskService.maskExpression&&this.leadZeroDateTime&&(ae<3&&Number(V.value)>31&&Number(V.value)<40||5===ae&&Number(V.value.slice(3,5))>12)&&(ae+=2),"Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===V.value.slice(0,2)&&(V.value=V.value.slice(1,2)+V.value.slice(2,V.value.length)),V.value="00"===V.value?"0":V.value),this._maskService.applyValueChanges(ae,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(Ge,gt)=>{this._justPasted=!1,oe=Ge,ye=gt}),this._getActiveElement()!==V)return;this._maskService.plusOnePosition&&(ae+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length&&(ae="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(ae-1,ae))?ae-1:ae:1===V.selectionStart?V.selectionStart+this._maskService.prefix.length:V.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let Ee=this._position?this._inputValue.length+ae+oe:ae+("Backspace"!==this._code||ye?oe:0);Ee>this._getActualInputLength()&&(Ee=V.value===this._maskService.decimalMarker&&1===V.value.length?this._getActualInputLength()+1:this._getActualInputLength()),Ee<0&&(Ee=0),V.setSelectionRange(Ee,Ee),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof J);else{if(!this._maskValue)return void this.onChange(V.value);this._maskService.applyValueChanges(V.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(K){this._isComposing=!1,this._justPasted=!0,this.onInput(K)}onBlur(K){if(this._maskValue){const V=K.target;if(this.leadZero&&V.value.length>0&&"string"==typeof this.decimalMarker){const J=this._maskService.maskExpression,ae=Number(this._maskService.maskExpression.slice(J.length-1,J.length));if(ae>1){V.value=this.suffix?V.value.split(this.suffix).join(""):V.value;const oe=V.value.split(this.decimalMarker)[1];V.value=V.value.includes(this.decimalMarker)?V.value+"0".repeat(ae-oe.length)+this.suffix:V.value+this.decimalMarker+"0".repeat(ae)+this.suffix,this._maskService.actualValue=V.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(K){if(!this._maskValue)return;const V=K.target;null!==V&&null!==V.selectionStart&&V.selectionStart===V.selectionEnd&&V.selectionStart>this._maskService.prefix.length&&38!==K.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),V.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===V.value?(V.focus(),V.setSelectionRange(0,0)):V.selectionStart>this._maskService.actualValue.length&&V.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const oe=V&&(V.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:V.value);V&&V.value!==oe&&(V.value=oe),V&&"number"!==V.type&&(V.selectionStart||V.selectionEnd)<=this._maskService.prefix.length?V.selectionStart=this._maskService.prefix.length:V&&V.selectionEnd>this._getActualInputLength()&&(V.selectionEnd=this._getActualInputLength())}onKeyDown(K){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===K.key&&this.onCompositionEnd(K));this._code=K.code?K.code:K.key;const V=K.target;if(this._inputValue=V.value,this._setMask(),"number"!==V.type){if("ArrowUp"===K.key&&K.preventDefault(),"ArrowLeft"===K.key||"Backspace"===K.key||"Delete"===K.key){if("Backspace"===K.key&&0===V.value.length&&(V.selectionStart=V.selectionEnd),"Backspace"===K.key&&0!==V.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&V.selectionStart<=this.prefix.length)V.setSelectionRange(this.prefix.length,V.selectionEnd);else if(this._inputValue.length!==V.selectionStart&&1!==V.selectionStart)for(;this.specialCharacters.includes((this._inputValue[V.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&V.selectionStart>this.prefix.length||0===this.prefix.length);)V.setSelectionRange(V.selectionStart-1,V.selectionEnd);this.checkSelectionOnDeletion(V),this._maskService.prefix.length&&V.selectionStart<=this._maskService.prefix.length&&V.selectionEnd<=this._maskService.prefix.length&&K.preventDefault(),"Backspace"===K.key&&!V.readOnly&&0===V.selectionStart&&V.selectionEnd===V.value.length&&0!==V.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length{V._maskService.applyMask(J?.toString()??"",V._maskService.maskExpression)}),V._maskService.isNumberValue=!0}"string"!=typeof J&&(J=""),V._inputValue=J,V._setMask(),J&&V._maskService.maskExpression||V._maskService.maskExpression&&(V._maskService.prefix||V._maskService.showMaskTyped)?("function"!=typeof V.inputTransformFn&&(V._maskService.writingValue=!0),V._maskService.formElementProperty=["value",V._maskService.applyMask(J,V._maskService.maskExpression)],"function"!=typeof V.inputTransformFn&&(V._maskService.writingValue=!1)):V._maskService.formElementProperty=["value",J],V._inputValue=J}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof K)})()}registerOnChange(K){this._maskService.onChange=this.onChange=K}registerOnTouched(K){this.onTouch=K}_getActiveElement(K=this.document){const V=K?.activeElement?.shadowRoot;return V?.activeElement?this._getActiveElement(V):K.activeElement}checkSelectionOnDeletion(K){K.selectionStart=Math.min(Math.max(this.prefix.length,K.selectionStart),this._inputValue.length-this.suffix.length),K.selectionEnd=Math.min(Math.max(this.prefix.length,K.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(K){this._maskService.formElementProperty=["disabled",K]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(K){const V=this._maskValue.split("").filter(J=>":"!==J).length;return K&&(0==+(K[K.length-1]??-1)&&K.length{if(K.split("").some(J=>this._maskService.specialCharacters.includes(J))&&this._inputValue&&!K.includes("S")||K.includes("{")){const J=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(K)?.length;if(J)return this._maskValue=this.maskExpression=this._maskService.maskExpression=K.includes("{")?this._maskService._repeatPatternSymbols(K):K,J;{const ae=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=ae.includes("{")?this._maskService._repeatPatternSymbols(ae):ae}}else{const J=this._maskService.removeMask(this._inputValue)?.split("").every((ae,oe)=>{const ye=K.charAt(oe);return this._maskService._checkSymbolMask(ae,ye)});if(J)return this._maskValue=this.maskExpression=this._maskService.maskExpression=K,J}})}static#e=this.\u0275fac=function(V){return new(V||Se)};static#t=this.\u0275dir=t.lG2({type:Se,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(V,J){1&V&&t.NdJ("paste",function(){return J.onPaste()})("focus",function(oe){return J.onFocus(oe)})("ngModelChange",function(oe){return J.onModelChange(oe)})("input",function(oe){return J.onInput(oe)})("compositionstart",function(oe){return J.onCompositionStart(oe)})("compositionend",function(oe){return J.onCompositionEnd(oe)})("blur",function(oe){return J.onBlur(oe)})("click",function(oe){return J.onClick(oe)})("keydown",function(oe){return J.onKeyDown(oe)})},inputs:{maskExpression:["mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],standalone:!0,features:[t._Bn([{provide:a.JU,useExisting:Se,multi:!0},{provide:a.Cf,useExisting:Se,multi:!0},H]),t.TTD]})}return Se})()},6925:(lt,_e,m)=>{"use strict";m.d(_e,{KC:()=>Ps,kb:()=>Ds});var i=m(755),t=m(6733);function A(St){return null!=St&&"false"!=`${St}`}function a(St,En=0){return function y(St){return!isNaN(parseFloat(St))&&!isNaN(Number(St))}(St)?Number(St):En}var F=m(1570),x=m(8132),H=m(409),k=m(2425),P=m(5047),X=m(1749),me=m(4787),Oe=m(453),Se=m(1209),wt=m(8748),K=m(8004),V=m(54),J=m(902);const ae={schedule(St){let En=requestAnimationFrame,dt=cancelAnimationFrame;const{delegate:Tt}=ae;Tt&&(En=Tt.requestAnimationFrame,dt=Tt.cancelAnimationFrame);const un=En(Yn=>{dt=void 0,St(Yn)});return new J.w0(()=>dt?.(un))},requestAnimationFrame(...St){const{delegate:En}=ae;return(En?.requestAnimationFrame||requestAnimationFrame)(...St)},cancelAnimationFrame(...St){const{delegate:En}=ae;return(En?.cancelAnimationFrame||cancelAnimationFrame)(...St)},delegate:void 0};var ye=m(5804);const Ge=new class Ee extends ye.v{flush(En){this._active=!0;const dt=this._scheduled;this._scheduled=void 0;const{actions:Tt}=this;let un;En=En||Tt.shift();do{if(un=En.execute(En.state,En.delay))break}while((En=Tt[0])&&En.id===dt&&Tt.shift());if(this._active=!1,un){for(;(En=Tt[0])&&En.id===dt&&Tt.shift();)En.unsubscribe();throw un}}}(class oe extends V.o{constructor(En,dt){super(En,dt),this.scheduler=En,this.work=dt}requestAsyncId(En,dt,Tt=0){return null!==Tt&&Tt>0?super.requestAsyncId(En,dt,Tt):(En.actions.push(this),En._scheduled||(En._scheduled=ae.requestAnimationFrame(()=>En.flush(void 0))))}recycleAsyncId(En,dt,Tt=0){var un;if(null!=Tt?Tt>0:this.delay>0)return super.recycleAsyncId(En,dt,Tt);const{actions:Yn}=En;null!=dt&&(null===(un=Yn[Yn.length-1])||void 0===un?void 0:un.id)!==dt&&(ae.cancelAnimationFrame(dt),En._scheduled=void 0)}});var Ze=m(9342),Je=m(6424),tt=m(8634),Qe=m(6142),pt=m(134);function Nt(St,En=tt.z){return(0,Qe.e)((dt,Tt)=>{let un=null,Yn=null,Ui=null;const Gi=()=>{if(un){un.unsubscribe(),un=null;const us=Yn;Yn=null,Tt.next(us)}};function _r(){const us=Ui+St,So=En.now();if(So{Yn=us,Ui=En.now(),un||(un=En.schedule(_r,St),Tt.add(un))},()=>{Gi(),Tt.complete()},void 0,()=>{Yn=un=null}))})}var nt=m(5333),ot=m(6974),He=m(1925);const vt=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function hn(){return(0,i.f3M)(t.K0)}}),yt=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let qn,xn=(()=>{class St{constructor(dt){this.value="ltr",this.change=new i.vpe,dt&&(this.value=function Fn(St){const En=St?.toLowerCase()||"";return"auto"===En&&typeof navigator<"u"&&navigator?.language?yt.test(navigator.language)?"rtl":"ltr":"rtl"===En?"rtl":"ltr"}((dt.body?dt.body.dir:null)||(dt.documentElement?dt.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(vt,8))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();try{qn=typeof Intl<"u"&&Intl.v8BreakIterator}catch{qn=!1}let di=(()=>{class St{constructor(dt){this._platformId=dt,this.isBrowser=this._platformId?(0,t.NF)(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&&!qn)&&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}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(i.Lbi))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();var De=function(St){return St[St.NORMAL=0]="NORMAL",St[St.NEGATED=1]="NEGATED",St[St.INVERTED=2]="INVERTED",St}(De||{});let xe;function cn(){if("object"!=typeof document||!document)return De.NORMAL;if(null==xe){const St=document.createElement("div"),En=St.style;St.dir="rtl",En.width="1px",En.overflow="auto",En.visibility="hidden",En.pointerEvents="none",En.position="absolute";const dt=document.createElement("div"),Tt=dt.style;Tt.width="2px",Tt.height="1px",St.appendChild(dt),document.body.appendChild(St),xe=De.NORMAL,0===St.scrollLeft&&(St.scrollLeft=1,xe=0===St.scrollLeft?De.NEGATED:De.INVERTED),St.remove()}return xe}var Pi=m(1813),co=m(5116),bs=m(6293);const ln="function"==typeof Float32Array;function Yt(St,En){return 1-3*En+3*St}function li(St,En){return 3*En-6*St}function Qr(St){return 3*St}function Sr(St,En,dt){return((Yt(En,dt)*St+li(En,dt))*St+Qr(En))*St}function Pn(St,En,dt){return 3*Yt(En,dt)*St*St+2*li(En,dt)*St+Qr(En)}function Bt(St){return St}function bn(St,En,dt,Tt){if(!(0<=St&&St<=1&&0<=dt&&dt<=1))throw new Error("bezier x values must be in [0, 1] range");if(St===En&&dt===Tt)return Bt;let un=ln?new Float32Array(11):new Array(11);for(let Ui=0;Ui<11;++Ui)un[Ui]=Sr(.1*Ui,St,dt);return function(Gi){return 0===Gi?0:1===Gi?1:Sr(function Yn(Ui){let Gi=0,_r=1;for(;10!==_r&&un[_r]<=Ui;++_r)Gi+=.1;--_r;let Fo=Gi+(Ui-un[_r])/(un[_r+1]-un[_r])*.1,Ks=Pn(Fo,St,dt);return Ks>=.001?function Rt(St,En,dt,Tt){for(let un=0;un<4;++un){let Yn=Pn(En,dt,Tt);if(0===Yn)return En;En-=(Sr(En,dt,Tt)-St)/Yn}return En}(Ui,Fo,St,dt):0===Ks?Fo:function sn(St,En,dt,Tt,un){let Yn,Ui,Gi=0;do{Ui=En+(dt-En)/2,Yn=Sr(Ui,Tt,un)-St,Yn>0?dt=Ui:En=Ui}while(Math.abs(Yn)>1e-7&&++Gi<10);return Ui}(Ui,Gi,Gi+.1,St,dt)}(Gi),En,Tt)}}const mi=new i.OlP("SMOOTH_SCROLL_OPTIONS");let rr=(()=>{class St{get _w(){return this._document.defaultView}get _now(){return this._w.performance&&this._w.performance.now?this._w.performance.now.bind(this._w.performance):Date.now}constructor(dt,Tt,un){this._document=dt,this._platform=Tt,this._onGoingScrolls=new Map,this._defaultOptions={duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1},...un}}_scrollElement(dt,Tt,un){dt.scrollLeft=Tt,dt.scrollTop=un}_getElement(dt,Tt){return"string"==typeof dt?(Tt||this._document).querySelector(dt):function N(St){return St instanceof i.SBq?St.nativeElement:St}(dt)}_initSmoothScroll(dt){return this._onGoingScrolls.has(dt)&&this._onGoingScrolls.get(dt).next(),this._onGoingScrolls.set(dt,new wt.x).get(dt)}_isFinished(dt,Tt,un){return dt.currentX!==dt.x||dt.currentY!==dt.y||(Tt.next(),un(),!1)}_interrupted(dt,Tt){return(0,P.T)((0,H.R)(dt,"wheel",{passive:!0,capture:!0}),(0,H.R)(dt,"touchmove",{passive:!0,capture:!0}),Tt).pipe((0,Pi.q)(1))}_destroy(dt,Tt){Tt.complete(),this._onGoingScrolls.delete(dt)}_step(dt){return new x.y(Tt=>{let un=(this._now()-dt.startTime)/dt.duration;un=un>1?1:un;const Yn=dt.easing(un);dt.currentX=dt.startX+(dt.x-dt.startX)*Yn,dt.currentY=dt.startY+(dt.y-dt.startY)*Yn,this._scrollElement(dt.scrollable,dt.currentX,dt.currentY),Ge.schedule(()=>Tt.next(dt))})}_applyScrollToOptions(dt,Tt){if(!Tt.duration)return this._scrollElement(dt,Tt.left,Tt.top),Promise.resolve();const un=this._initSmoothScroll(dt),Yn={scrollable:dt,startTime:this._now(),startX:dt.scrollLeft,startY:dt.scrollTop,x:null==Tt.left?dt.scrollLeft:~~Tt.left,y:null==Tt.top?dt.scrollTop:~~Tt.top,duration:Tt.duration,easing:bn(Tt.easing.x1,Tt.easing.y1,Tt.easing.x2,Tt.easing.y2)};return new Promise(Ui=>{(0,Se.of)(null).pipe(function Or(St,En=1/0,dt){return En=(En||0)<1?1/0:En,(0,Qe.e)((Tt,un)=>(0,co.p)(Tt,un,St,En,void 0,!0,dt))}(()=>this._step(Yn).pipe(function Dr(St,En=!1){return(0,Qe.e)((dt,Tt)=>{let un=0;dt.subscribe((0,pt.x)(Tt,Yn=>{const Ui=St(Yn,un++);(Ui||En)&&Tt.next(Yn),!Ui&&Tt.complete()}))})}(Gi=>this._isFinished(Gi,un,Ui)))),(0,X.R)(this._interrupted(dt,un)),(0,bs.x)(()=>this._destroy(dt,un))).subscribe()})}scrollTo(dt,Tt){if((0,t.NF)(this._platform)){const un=this._getElement(dt),Yn="rtl"===getComputedStyle(un).direction,Ui=cn(),Gi={...this._defaultOptions,...Tt,left:null==Tt.left?Yn?Tt.end:Tt.start:Tt.left,right:null==Tt.right?Yn?Tt.start:Tt.end:Tt.right};return null!=Gi.bottom&&(Gi.top=un.scrollHeight-un.clientHeight-Gi.bottom),Yn&&0!==Ui?(null!=Gi.left&&(Gi.right=un.scrollWidth-un.clientWidth-Gi.left),2===Ui?Gi.left=Gi.right:1===Ui&&(Gi.left=Gi.right?-Gi.right:Gi.right)):null!=Gi.right&&(Gi.left=un.scrollWidth-un.clientWidth-Gi.right),this._applyScrollToOptions(un,Gi)}return Promise.resolve()}scrollToElement(dt,Tt,un={}){const Yn=this._getElement(dt),Ui=this._getElement(Tt,Yn),Gi={...un,left:Ui.offsetLeft+(un.left||0),top:Ui.offsetTop+(un.top||0)};return Ui?this.scrollTo(Yn,Gi):Promise.resolve()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(t.K0),i.LFG(i.Lbi),i.LFG(mi,8))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();const Ur=["scrollbarY"],mn=["scrollbarX"];function Xe(St,En){if(1&St&&i._UZ(0,"scrollbar-x",null,4),2&St){const dt=i.oxw(2);i.uIk("scrollable",dt.state.isHorizontallyScrollable)("fit",dt.state.verticalUsed)}}function ke(St,En){if(1&St&&i._UZ(0,"scrollbar-y",null,5),2&St){const dt=i.oxw(2);i.uIk("scrollable",dt.state.isVerticallyScrollable)("fit",dt.state.horizontalUsed)}}function ge(St,En){if(1&St&&(i.ynx(0),i.YNc(1,Xe,2,2,"scrollbar-x",3),i.YNc(2,ke,2,2,"scrollbar-y",3),i.BQk()),2&St){const dt=i.oxw();i.xp6(1),i.Q6J("ngIf",dt.state.horizontalUsed),i.xp6(1),i.Q6J("ngIf",dt.state.verticalUsed)}}const Ae=["*"];let it=(()=>{class St{constructor(dt){this.el=dt}set ngAttr(dt){for(const[Tt,un]of Object.entries(dt))this.el.nativeElement.setAttribute(Tt,un)}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","ngAttr",""]],inputs:{ngAttr:"ngAttr"},standalone:!0})}return St})();function Ht(St){return(0,F.b)(()=>{St.onselectstart=()=>!1})}function Kt(St){return(0,F.b)(()=>{St.onselectstart=null})}function yn(){return(0,F.b)(St=>St.stopPropagation())}function Tn(St,En){return St.clientX>=En.left&&St.clientX<=En.left+En.width&&St.clientY>=En.top&&St.clientY<=En.top+En.height}let pi=(()=>{class St{get clientHeight(){return this.nativeElement.clientHeight}get clientWidth(){return this.nativeElement.clientWidth}get scrollHeight(){return this.nativeElement.scrollHeight}get scrollWidth(){return this.nativeElement.scrollWidth}get scrollTop(){return this.nativeElement.scrollTop}get scrollLeft(){return this.nativeElement.scrollLeft}get scrollMaxX(){return this.scrollWidth-this.clientWidth}get scrollMaxY(){return this.scrollHeight-this.clientHeight}get contentHeight(){return this.contentWrapperElement?.clientHeight||0}get contentWidth(){return this.contentWrapperElement?.clientWidth||0}constructor(dt){this.viewPort=dt,this.nativeElement=dt.nativeElement}activatePointerEvents(dt,Tt){this.hovered=new x.y(un=>{const Yn=(0,H.R)(this.nativeElement,"mousemove",{passive:!0}),Ui=dt?Yn:Yn.pipe(yn()),Gi=(0,H.R)(this.nativeElement,"mouseleave",{passive:!0}).pipe((0,k.U)(()=>!1));(0,P.T)(Ui,Gi).pipe((0,F.b)(_r=>un.next(_r)),(0,X.R)(Tt)).subscribe()}),this.clicked=new x.y(un=>{const Yn=(0,H.R)(this.nativeElement,"mousedown",{passive:!0}).pipe((0,F.b)(Gi=>un.next(Gi))),Ui=(0,H.R)(this.nativeElement,"mouseup",{passive:!0}).pipe((0,F.b)(()=>un.next(!1)));Yn.pipe((0,me.w)(()=>Ui),(0,X.R)(Tt)).subscribe()})}setAsWrapper(){this.nativeElement.className="ng-native-scrollbar-hider ng-scroll-layer",this.nativeElement.firstElementChild&&(this.nativeElement.firstElementChild.className="ng-scroll-layer")}setAsViewport(dt){this.nativeElement.className+=` ng-native-scrollbar-hider ng-scroll-viewport ${dt}`,this.nativeElement.firstElementChild&&(this.contentWrapperElement=this.nativeElement.firstElementChild,this.contentWrapperElement.classList.add("ng-scroll-content"))}scrollYTo(dt){this.nativeElement.scrollTop=dt}scrollXTo(dt){this.nativeElement.scrollLeft=dt}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollViewport",""]],standalone:!0})}return St})(),nn=(()=>{class St{static#e=this.\u0275fac=function(Tt){return new(Tt||St)};static#t=this.\u0275dir=i.lG2({type:St})}return St})(),Ti=(()=>{class St{get clicked(){const dt=(0,H.R)(this.trackElement,"mousedown",{passive:!0}).pipe(yn(),Ht(this.document)),Tt=(0,H.R)(this.document,"mouseup",{passive:!0}).pipe(yn(),Kt(this.document),(0,me.w)(()=>Oe.E));return(0,P.T)(dt,Tt)}get clientRect(){return this.trackElement.getBoundingClientRect()}constructor(dt,Tt,un){this.cmp=dt,this.trackElement=Tt,this.document=un}onTrackClicked(dt,Tt,un){return(0,Se.of)(dt).pipe((0,k.U)(Yn=>Yn[this.pageProperty]),(0,k.U)(Yn=>(Yn-this.offset-Tt/2)/this.size*un),(0,F.b)(Yn=>{this.cmp.scrollTo({...this.mapToScrollToOption(Yn),duration:a(this.cmp.trackClickScrollDuration)})}))}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(HTMLElement),i.Y36(Document))};static#t=this.\u0275dir=i.lG2({type:St})}return St})(),yi=(()=>{class St extends Ti{get pageProperty(){return"pageX"}get offset(){return this.clientRect.left}get size(){return this.trackElement.clientWidth}constructor(dt,Tt,un){super(dt,Tt.nativeElement,un),this.cmp=dt,this.document=un}mapToScrollToOption(dt){return{left:dt}}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(i.SBq),i.Y36(t.K0))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarTrackX",""]],standalone:!0,features:[i.qOj]})}return St})(),Hr=(()=>{class St extends Ti{get pageProperty(){return"pageY"}get offset(){return this.clientRect.top}get size(){return this.trackElement.clientHeight}constructor(dt,Tt,un){super(dt,Tt.nativeElement,un),this.cmp=dt,this.document=un}mapToScrollToOption(dt){return{top:dt}}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(i.SBq),i.Y36(t.K0))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarTrackY",""]],standalone:!0,features:[i.qOj]})}return St})(),ss=(()=>{class St{get trackMax(){return this.track.size-this.size}get clientRect(){return this.thumbElement.getBoundingClientRect()}get clicked(){return(0,H.R)(this.thumbElement,"mousedown",{passive:!0}).pipe(yn())}constructor(dt,Tt,un,Yn){this.cmp=dt,this.track=Tt,this.thumbElement=un,this.document=Yn,this._dragging=new wt.x,this.dragging=this._dragging.pipe((0,K.x)())}update(){const dt=function wr(St,En,dt){return Math.max(~~(St/En*St),dt)}(this.track.size,this.viewportScrollSize,this.cmp.minThumbSize),Tt=function Ki(St,En,dt){return St*dt/En}(this.viewportScrollOffset,this.viewportScrollMax,this.trackMax);Ge.schedule(()=>this.updateStyles(this.handleDirection(Tt,this.trackMax),dt))}dragged(dt){let Tt,un;const Yn=(0,Se.of)(dt).pipe(Ht(this.document),(0,F.b)(()=>{Tt=this.trackMax,un=this.viewportScrollMax,this.setDragging(!0)})),Ui=(0,H.R)(this.document,"mousemove",{capture:!0,passive:!0}).pipe(yn()),Gi=(0,H.R)(this.document,"mouseup",{capture:!0}).pipe(yn(),Kt(this.document),(0,F.b)(()=>this.setDragging(!1)));return Yn.pipe((0,k.U)(_r=>_r[this.pageProperty]),(0,k.U)(_r=>_r-this.dragStartOffset),(0,Ze.z)(_r=>Ui.pipe((0,k.U)(us=>us[this.clientProperty]),(0,k.U)(us=>us-this.track.offset),(0,k.U)(us=>un*(us-_r)/Tt),(0,k.U)(us=>this.handleDrag(us,un)),(0,F.b)(us=>this.scrollTo(us)),(0,X.R)(Gi))))}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(Ti),i.Y36(HTMLElement),i.Y36(Document))};static#t=this.\u0275dir=i.lG2({type:St,outputs:{dragging:"dragging"}})}return St})(),yr=(()=>{class St extends ss{get clientProperty(){return"clientX"}get pageProperty(){return"pageX"}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}get viewportScrollOffset(){return this.cmp.viewport.scrollLeft}get viewportScrollMax(){return this.cmp.viewport.scrollMaxX}get dragStartOffset(){return this.clientRect.left+this.document.defaultView.pageXOffset||0}get size(){return this.thumbElement.clientWidth}constructor(dt,Tt,un,Yn,Ui){super(dt,Tt,un.nativeElement,Yn),this.cmp=dt,this.track=Tt,this.element=un,this.document=Yn,this.dir=Ui}updateStyles(dt,Tt){this.thumbElement.style.width=`${Tt}px`,this.thumbElement.style.transform=`translate3d(${dt}px, 0, 0)`}handleDrag(dt,Tt){if("rtl"===this.dir.value){if(1===this.cmp.manager.rtlScrollAxisType)return dt-Tt;if(2===this.cmp.manager.rtlScrollAxisType)return Tt-dt}return dt}handleDirection(dt,Tt){if("rtl"===this.dir.value){if(2===this.cmp.manager.rtlScrollAxisType)return-dt;if(0===this.cmp.manager.rtlScrollAxisType)return dt-Tt}return dt}setDragging(dt){this.cmp.setDragging({horizontalDragging:dt})}scrollTo(dt){this.cmp.viewport.scrollXTo(dt)}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(yi),i.Y36(i.SBq),i.Y36(t.K0),i.Y36(xn))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarThumbX",""]],standalone:!0,features:[i.qOj]})}return St})(),jr=(()=>{class St extends ss{get pageProperty(){return"pageY"}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}get viewportScrollOffset(){return this.cmp.viewport.scrollTop}get viewportScrollMax(){return this.cmp.viewport.scrollMaxY}get clientProperty(){return"clientY"}get dragStartOffset(){return this.clientRect.top+this.document.defaultView.pageYOffset||0}get size(){return this.thumbElement.clientHeight}constructor(dt,Tt,un,Yn){super(dt,Tt,un.nativeElement,Yn),this.cmp=dt,this.track=Tt,this.element=un,this.document=Yn}updateStyles(dt,Tt){this.thumbElement.style.height=`${Tt}px`,this.thumbElement.style.transform=`translate3d(0px, ${dt}px, 0)`}handleDrag(dt){return dt}handleDirection(dt){return dt}setDragging(dt){this.cmp.setDragging({verticalDragging:dt})}scrollTo(dt){this.cmp.viewport.scrollYTo(dt)}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(nn),i.Y36(Hr),i.Y36(i.SBq),i.Y36(t.K0))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","scrollbarThumbY",""]],standalone:!0,features:[i.qOj]})}return St})(),xs=(()=>{class St{constructor(dt,Tt,un,Yn,Ui){this.el=dt,this.cmp=Tt,this.platform=un,this.document=Yn,this.zone=Ui,this.destroyed=new wt.x}activatePointerEvents(){let dt,Tt,un;return"viewport"===this.cmp.pointerEventsMethod?(this.viewportTrackClicked=new wt.x,this.viewportThumbClicked=new wt.x,this.cmp.viewport.activatePointerEvents(this.cmp.viewportPropagateMouseMove,this.destroyed),dt=this.viewportThumbClicked,Tt=this.viewportTrackClicked,un=this.cmp.viewport.hovered.pipe((0,k.U)(Yn=>!!Yn&&Tn(Yn,this.el.getBoundingClientRect())),(0,K.x)(),(0,F.b)(Yn=>this.document.onselectstart=Yn?()=>!1:null)),this.cmp.viewport.clicked.pipe((0,F.b)(Yn=>{Yn?Tn(Yn,this.thumb.clientRect)?this.viewportThumbClicked.next(Yn):Tn(Yn,this.track.clientRect)&&(this.cmp.setClicked(!0),this.viewportTrackClicked.next(Yn)):this.cmp.setClicked(!1)}),(0,X.R)(this.destroyed)).subscribe()):(dt=this.thumb.clicked,Tt=this.track.clicked,un=this.hovered),(0,P.T)(un.pipe((0,F.b)(Yn=>this.setHovered(Yn))),dt.pipe((0,me.w)(Yn=>this.thumb.dragged(Yn))),Tt.pipe((0,me.w)(Yn=>this.track.onTrackClicked(Yn,this.thumb.size,this.viewportScrollSize))))}get hovered(){const dt=(0,H.R)(this.el,"mouseenter",{passive:!0}).pipe(yn(),(0,k.U)(()=>!0)),Tt=(0,H.R)(this.el,"mouseleave",{passive:!0}).pipe(yn(),(0,k.U)(()=>!1));return(0,P.T)(dt,Tt)}ngOnInit(){this.zone.runOutsideAngular(()=>{!(this.platform.IOS||this.platform.ANDROID)&&!this.cmp.pointerEventsDisabled&&this.activatePointerEvents().pipe((0,X.R)(this.destroyed)).subscribe(),(0,P.T)(this.cmp.scrolled,this.cmp.updated).pipe((0,F.b)(()=>this.thumb?.update()),(0,X.R)(this.destroyed)).subscribe()})}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.viewportThumbClicked&&this.viewportTrackClicked&&(this.viewportTrackClicked.complete(),this.viewportThumbClicked.complete())}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(HTMLElement),i.Y36(nn),i.Y36(di),i.Y36(Document),i.Y36(i.R0b))};static#t=this.\u0275dir=i.lG2({type:St})}return St})(),Co=(()=>{class St extends xs{get viewportScrollSize(){return this.cmp.viewport.scrollHeight}constructor(dt,Tt,un,Yn,Ui){super(dt.nativeElement,Tt,un,Yn,Ui),this.cmp=Tt,this.platform=un,this.document=Yn,this.zone=Ui}setHovered(dt){this.cmp.setHovered({verticalHovered:dt})}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(nn),i.Y36(di),i.Y36(t.K0),i.Y36(i.R0b))};static#t=this.\u0275cmp=i.Xpm({type:St,selectors:[["scrollbar-y"]],viewQuery:function(Tt,un){if(1&Tt&&(i.Gf(Hr,7),i.Gf(jr,7)),2&Tt){let Yn;i.iGM(Yn=i.CRH())&&(un.track=Yn.first),i.iGM(Yn=i.CRH())&&(un.thumb=Yn.first)}},hostVars:2,hostBindings:function(Tt,un){2&Tt&&i.ekj("scrollbar-control",!0)},standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:6,consts:[["scrollbarTrackY",""],["scrollbarThumbY",""]],template:function(Tt,un){1&Tt&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.qZA()),2&Tt&&(i.Gre("ng-scrollbar-track ",un.cmp.trackClass,""),i.xp6(1),i.Gre("ng-scrollbar-thumb ",un.cmp.thumbClass,""))},dependencies:[Hr,jr],styles:[".ng-scrollbar-wrapper>scrollbar-y.scrollbar-control{width:var(--vertical-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track{width:var(--vertical-scrollbar-size);height:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{height:0;width:100%} .ng-scrollbar-wrapper[verticalHovered=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[verticalDragging=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-y.scrollbar-control{top:0;bottom:0} .ng-scrollbar-wrapper[deactivated=false][dir=ltr]>scrollbar-y.scrollbar-control{right:0;left:unset} .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertAll]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertAll]>scrollbar-y.scrollbar-control{left:unset;right:0} .ng-scrollbar-wrapper[deactivated=false][track=all]>scrollbar-y.scrollbar-control[fit=true]{bottom:var(--scrollbar-total-size);top:0} .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertX]>scrollbar-y.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertAll]>scrollbar-y.scrollbar-control[fit=true]{top:var(--scrollbar-total-size);bottom:0}"],changeDetection:0})}return St})(),ns=(()=>{class St extends xs{get viewportScrollSize(){return this.cmp.viewport.scrollWidth}constructor(dt,Tt,un,Yn,Ui){super(dt.nativeElement,Tt,un,Yn,Ui),this.cmp=Tt,this.platform=un,this.document=Yn,this.zone=Ui}setHovered(dt){this.cmp.setHovered({horizontalHovered:dt})}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(nn),i.Y36(di),i.Y36(t.K0),i.Y36(i.R0b))};static#t=this.\u0275cmp=i.Xpm({type:St,selectors:[["scrollbar-x"]],viewQuery:function(Tt,un){if(1&Tt&&(i.Gf(yi,7),i.Gf(yr,7)),2&Tt){let Yn;i.iGM(Yn=i.CRH())&&(un.track=Yn.first),i.iGM(Yn=i.CRH())&&(un.thumb=Yn.first)}},hostVars:2,hostBindings:function(Tt,un){2&Tt&&i.ekj("scrollbar-control",!0)},standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:6,consts:[["scrollbarTrackX",""],["scrollbarThumbX",""]],template:function(Tt,un){1&Tt&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.qZA()),2&Tt&&(i.Gre("ng-scrollbar-track ",un.cmp.trackClass,""),i.xp6(1),i.Gre("ng-scrollbar-thumb ",un.cmp.thumbClass,""))},dependencies:[yi,yr],styles:[".ng-scrollbar-wrapper>scrollbar-x.scrollbar-control{height:var(--horizontal-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track{height:var(--horizontal-scrollbar-size);width:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{width:0;height:100%} .ng-scrollbar-wrapper[horizontalHovered=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[horizontalDragging=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-x.scrollbar-control{left:0;right:0;bottom:0;top:unset} .ng-scrollbar-wrapper[deactivated=false][position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0}"],changeDetection:0})}return St})();const Nr=new i.OlP("NG_SCROLLBAR_OPTIONS"),To={viewClass:"",trackClass:"",thumbClass:"",track:"vertical",appearance:"compact",visibility:"native",position:"native",pointerEventsMethod:"viewport",trackClickScrollDuration:300,minThumbSize:20,windowResizeDebounce:0,sensorDebounce:0,scrollAuditTime:0,viewportPropagateMouseMove:!0,autoHeightDisabled:!0,autoWidthDisabled:!0,sensorDisabled:!1,pointerEventsDisabled:!1};let Bs=(()=>{class St{constructor(dt){this.globalOptions=dt?{...To,...dt}:To,this.rtlScrollAxisType=cn()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(Nr,8))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),Eo=(()=>{class St{constructor(dt,Tt,un){this.document=dt,this.manager=Tt,this.platform=un,this._scrollbarSize=new Je.X(this.getNativeScrollbarSize()),this.scrollbarSize=this._scrollbarSize.asObservable(),un.isBrowser&&(0,H.R)(this.document.defaultView,"resize",{passive:!0}).pipe(Nt(this.manager.globalOptions.windowResizeDebounce),(0,k.U)(()=>this.getNativeScrollbarSize()),(0,K.x)(),(0,F.b)(Yn=>this._scrollbarSize.next(Yn))).subscribe()}getNativeScrollbarSize(){if(!this.platform.isBrowser)return 0;if(this.platform.IOS)return 6;const dt=this.document.createElement("div");dt.className="ng-scrollbar-measure",dt.style.left="0px",dt.style.overflow="scroll",dt.style.position="fixed",dt.style.top="-9999px",this.document.body.appendChild(dt);const Tt=dt.getBoundingClientRect().right;return this.document.body.removeChild(dt),Tt}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.LFG(t.K0),i.LFG(Bs),i.LFG(di))};static#t=this.\u0275prov=i.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})(),wo=(()=>{class St{constructor(dt,Tt,un){this.renderer=Tt,this.hideNativeScrollbar=un,this._subscriber=J.w0.EMPTY,this._subscriber=un.scrollbarSize.subscribe(Yn=>{this.renderer.setStyle(dt.nativeElement,"--native-scrollbar-size",`-${Yn}px`,i.JOm.DashCase)})}ngOnDestroy(){this._subscriber.unsubscribe()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Eo))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","hideNativeScrollbar",""]],standalone:!0})}return St})(),Ra=(()=>{class St{get debounce(){return this._debounce}set debounce(dt){this._debounce=a(dt),this._subscribe()}get disabled(){return this._disabled}set disabled(dt){this._disabled=A(dt),this._disabled?this._unsubscribe():this._subscribe()}constructor(dt,Tt,un){if(this.zone=dt,this.platform=Tt,this.scrollbar=un,this._disabled=!1,this._currentSubscription=null,this.event=new i.vpe,!un)throw new Error("[NgScrollbar Resize Sensor Directive]: Host element must be an NgScrollbar component.")}ngAfterContentInit(){!this._currentSubscription&&!this._disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){if(this._unsubscribe(),this.platform.isBrowser){const dt=new x.y(Tt=>{this._resizeObserver=new ResizeObserver(un=>Tt.next(un)),this._resizeObserver.observe(this.scrollbar.viewport.nativeElement),this.scrollbar.viewport.contentWrapperElement&&this._resizeObserver.observe(this.scrollbar.viewport.contentWrapperElement)});this.zone.runOutsideAngular(()=>{this._currentSubscription=(this._debounce?dt.pipe(Nt(this._debounce)):dt).subscribe(this.event)})}}_unsubscribe(){this._resizeObserver?.disconnect(),this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.R0b),i.Y36(di),i.Y36(nn))};static#t=this.\u0275dir=i.lG2({type:St,selectors:[["","resizeSensor",""]],inputs:{debounce:["sensorDebounce","debounce"],disabled:["sensorDisabled","disabled"]},outputs:{event:"resizeSensor"},standalone:!0})}return St})(),Ps=(()=>{class St{get disabled(){return this._disabled}set disabled(dt){this._disabled=A(dt)}get sensorDisabled(){return this._sensorDisabled}set sensorDisabled(dt){this._sensorDisabled=A(dt)}get pointerEventsDisabled(){return this._pointerEventsDisabled}set pointerEventsDisabled(dt){this._pointerEventsDisabled=A(dt)}get viewportPropagateMouseMove(){return this._viewportPropagateMouseMove}set viewportPropagateMouseMove(dt){this._viewportPropagateMouseMove=A(dt)}get autoHeightDisabled(){return this._autoHeightDisabled}set autoHeightDisabled(dt){this._autoHeightDisabled=A(dt)}get autoWidthDisabled(){return this._autoWidthDisabled}set autoWidthDisabled(dt){this._autoWidthDisabled=A(dt)}get nativeElement(){return this.el.nativeElement}constructor(dt,Tt,un,Yn,Ui,Gi){this.el=dt,this.zone=Tt,this.changeDetectorRef=un,this.dir=Yn,this.smoothScroll=Ui,this.manager=Gi,this._disabled=!1,this._sensorDisabled=this.manager.globalOptions.sensorDisabled,this._pointerEventsDisabled=this.manager.globalOptions.pointerEventsDisabled,this._autoHeightDisabled=this.manager.globalOptions.autoHeightDisabled,this._autoWidthDisabled=this.manager.globalOptions.autoWidthDisabled,this._viewportPropagateMouseMove=this.manager.globalOptions.viewportPropagateMouseMove,this.viewClass=this.manager.globalOptions.viewClass,this.trackClass=this.manager.globalOptions.trackClass,this.thumbClass=this.manager.globalOptions.thumbClass,this.minThumbSize=this.manager.globalOptions.minThumbSize,this.trackClickScrollDuration=this.manager.globalOptions.trackClickScrollDuration,this.pointerEventsMethod=this.manager.globalOptions.pointerEventsMethod,this.track=this.manager.globalOptions.track,this.visibility=this.manager.globalOptions.visibility,this.appearance=this.manager.globalOptions.appearance,this.position=this.manager.globalOptions.position,this.sensorDebounce=this.manager.globalOptions.sensorDebounce,this.scrollAuditTime=this.manager.globalOptions.scrollAuditTime,this.updated=new i.vpe,this.state={},this.destroyed=new wt.x}updateState(){let dt=!1,Tt=!1,un=!1,Yn=!1;("all"===this.track||"vertical"===this.track)&&(un=this.viewport.scrollHeight>this.viewport.clientHeight,dt="always"===this.visibility||un),("all"===this.track||"horizontal"===this.track)&&(Yn=this.viewport.scrollWidth>this.viewport.clientWidth,Tt="always"===this.visibility||Yn),this.setState({position:this.position,track:this.track,appearance:this.appearance,visibility:this.visibility,deactivated:this.disabled,dir:this.dir.value,pointerEventsMethod:this.pointerEventsMethod,verticalUsed:dt,horizontalUsed:Tt,isVerticallyScrollable:un,isHorizontallyScrollable:Yn})}setState(dt){this.state={...this.state,...dt},this.changeDetectorRef.detectChanges()}getScrolledByDirection(dt){let Tt;return this.scrolled.pipe((0,F.b)(un=>Tt=un),(0,k.U)(un=>un.target[dt]),function Jt(){return(0,Qe.e)((St,En)=>{let dt,Tt=!1;St.subscribe((0,pt.x)(En,un=>{const Yn=dt;dt=un,Tt&&En.next([Yn,un]),Tt=!0}))})}(),(0,nt.h)(([un,Yn])=>un!==Yn),(0,k.U)(()=>Tt))}setHovered(dt){this.zone.run(()=>this.setState({...dt}))}setDragging(dt){this.zone.run(()=>this.setState({...dt}))}setClicked(dt){this.zone.run(()=>this.setState({scrollbarClicked:dt}))}ngOnInit(){this.zone.runOutsideAngular(()=>{this.customViewPort?(this.viewport=this.customViewPort,this.defaultViewPort.setAsWrapper()):this.viewport=this.defaultViewPort,this.viewport.setAsViewport(this.viewClass);let dt=(0,H.R)(this.viewport.nativeElement,"scroll",{passive:!0});dt=this.scrollAuditTime?dt.pipe(function mt(St,En=tt.z){return function Ct(St){return(0,Qe.e)((En,dt)=>{let Tt=!1,un=null,Yn=null,Ui=!1;const Gi=()=>{if(Yn?.unsubscribe(),Yn=null,Tt){Tt=!1;const us=un;un=null,dt.next(us)}Ui&&dt.complete()},_r=()=>{Yn=null,Ui&&dt.complete()};En.subscribe((0,pt.x)(dt,us=>{Tt=!0,un=us,Yn||(0,ot.Xf)(St(us)).subscribe(Yn=(0,pt.x)(dt,Gi,_r))},()=>{Ui=!0,(!Tt||!Yn||Yn.closed)&&dt.complete()}))})}(()=>(0,He.H)(St,En))}(this.scrollAuditTime)):dt,this.scrolled=dt.pipe((0,X.R)(this.destroyed)),this.verticalScrolled=this.getScrolledByDirection("scrollTop"),this.horizontalScrolled=this.getScrolledByDirection("scrollLeft")})}ngOnChanges(dt){this.viewport&&this.update()}ngAfterViewInit(){this.update(),this.dir.change.pipe((0,F.b)(()=>this.update()),(0,X.R)(this.destroyed)).subscribe()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}update(){this.autoHeightDisabled||this.updateHeight(),this.autoWidthDisabled||this.updateWidth(),this.updateState(),this.updated.next()}scrollTo(dt){return this.smoothScroll.scrollTo(this.viewport.nativeElement,dt)}scrollToElement(dt,Tt){return this.smoothScroll.scrollToElement(this.viewport.nativeElement,dt,Tt)}updateHeight(){this.nativeElement.style.height="standard"===this.appearance&&this.scrollbarX?`${this.viewport.contentHeight+this.scrollbarX.nativeElement.clientHeight}px`:`${this.viewport.contentHeight}px`}updateWidth(){this.nativeElement.style.width="standard"===this.appearance&&this.scrollbarY?`${this.viewport.contentWidth+this.scrollbarY.nativeElement.clientWidth}px`:`${this.viewport.contentWidth}px`}static#e=this.\u0275fac=function(Tt){return new(Tt||St)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(xn),i.Y36(rr),i.Y36(Bs))};static#t=this.\u0275cmp=i.Xpm({type:St,selectors:[["ng-scrollbar"]],contentQueries:function(Tt,un,Yn){if(1&Tt&&i.Suo(Yn,pi,7),2&Tt){let Ui;i.iGM(Ui=i.CRH())&&(un.customViewPort=Ui.first)}},viewQuery:function(Tt,un){if(1&Tt&&(i.Gf(Ur,5,i.SBq),i.Gf(mn,5,i.SBq),i.Gf(pi,7)),2&Tt){let Yn;i.iGM(Yn=i.CRH())&&(un.scrollbarY=Yn.first),i.iGM(Yn=i.CRH())&&(un.scrollbarX=Yn.first),i.iGM(Yn=i.CRH())&&(un.defaultViewPort=Yn.first)}},hostVars:2,hostBindings:function(Tt,un){2&Tt&&i.ekj("ng-scrollbar",!0)},inputs:{disabled:"disabled",sensorDisabled:"sensorDisabled",pointerEventsDisabled:"pointerEventsDisabled",viewportPropagateMouseMove:"viewportPropagateMouseMove",autoHeightDisabled:"autoHeightDisabled",autoWidthDisabled:"autoWidthDisabled",viewClass:"viewClass",trackClass:"trackClass",thumbClass:"thumbClass",minThumbSize:"minThumbSize",trackClickScrollDuration:"trackClickScrollDuration",pointerEventsMethod:"pointerEventsMethod",track:"track",visibility:"visibility",appearance:"appearance",position:"position",sensorDebounce:"sensorDebounce",scrollAuditTime:"scrollAuditTime"},outputs:{updated:"updated"},exportAs:["ngScrollbar"],standalone:!0,features:[i._Bn([{provide:nn,useExisting:St}]),i.TTD,i.jDz],ngContentSelectors:Ae,decls:6,vars:4,consts:[[1,"ng-scrollbar-wrapper",3,"ngAttr"],[1,"ng-scroll-viewport-wrapper",3,"sensorDebounce","sensorDisabled","resizeSensor"],["scrollViewport","","hideNativeScrollbar",""],[4,"ngIf"],["scrollbarX",""],["scrollbarY",""]],template:function(Tt,un){1&Tt&&(i.F$t(),i.TgZ(0,"div",0)(1,"div",1),i.NdJ("resizeSensor",function(){return un.update()}),i.TgZ(2,"div",2)(3,"div"),i.Hsn(4),i.qZA()()(),i.YNc(5,ge,3,2,"ng-container",3),i.qZA()),2&Tt&&(i.Q6J("ngAttr",un.state),i.xp6(1),i.Q6J("sensorDebounce",un.sensorDebounce)("sensorDisabled",un.sensorDisabled),i.xp6(4),i.Q6J("ngIf",!un.disabled))},dependencies:[t.O5,it,Ra,pi,wo,ns,Co],styles:[".ng-scrollbar-measure{scrollbar-width:none;-ms-overflow-style:none} .ng-scrollbar-measure::-webkit-scrollbar{display:none}[_nghost-%COMP%]{--scrollbar-border-radius: 7px;--scrollbar-padding: 4px;--scrollbar-track-color: transparent;--scrollbar-thumb-color: rgba(0, 0, 0, .2);--scrollbar-thumb-hover-color: var(--scrollbar-thumb-color);--scrollbar-size: 5px;--scrollbar-hover-size: var(--scrollbar-size);--scrollbar-overscroll-behavior: initial;--scrollbar-transition-duration: .4s;--scrollbar-transition-delay: .8s;--scrollbar-thumb-transition: height ease-out .15s, width ease-out .15s;--scrollbar-track-transition: height ease-out .15s, width ease-out .15s;display:block;position:relative;height:100%;max-height:100%;max-width:100%;box-sizing:content-box!important}[_nghost-%COMP%] > .ng-scrollbar-wrapper[_ngcontent-%COMP%]{--scrollbar-total-size: calc(var(--scrollbar-size) + var(--scrollbar-padding) * 2);--vertical-scrollbar-size: var(--scrollbar-size);--horizontal-scrollbar-size: var(--scrollbar-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalDragging=true][_ngcontent-%COMP%]{--vertical-scrollbar-size: var(--scrollbar-hover-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalDragging=true][_ngcontent-%COMP%]{--horizontal-scrollbar-size: var(--scrollbar-hover-size);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:0;bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:var(--scrollbar-total-size);bottom:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport::-webkit-scrollbar{display:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{bottom:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{left:0;right:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{right:0;left:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%] > .scrollbar-control[_ngcontent-%COMP%]{opacity:0;transition-property:opacity;transition-duration:var(--scrollbar-transition-duration);transition-delay:var(--scrollbar-transition-delay)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:hover > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:active > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:focus > .scrollbar-control[_ngcontent-%COMP%]{opacity:1;transition-duration:var(--scrollbar-transition-duration);transition-delay:0ms}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-x:auto;overflow-y:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow:auto}.ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{overflow:hidden}.ng-scroll-viewport[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;contain:strict;will-change:scroll-position;overscroll-behavior:var(--scrollbar-overscroll-behavior)} .ng-scroll-content{display:inline-block;min-width:100%}.ng-scrollbar-wrapper[_ngcontent-%COMP%], .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], .ng-scroll-layer[_ngcontent-%COMP%], .ng-scroll-viewport{position:absolute;inset:0}",".ng-scrollbar-wrapper[pointerEventsMethod=viewport]>.scrollbar-control{pointer-events:none} .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport{-webkit-user-select:none;-moz-user-select:none;user-select:none} .ng-scrollbar-wrapper>.scrollbar-control{position:absolute;display:flex;justify-content:center;align-items:center;transition:var(--scrollbar-track-transition)} .ng-scrollbar-wrapper>.scrollbar-control[scrollable=false] .ng-scrollbar-thumb{display:none} .ng-scrollbar-track{height:100%;width:100%;z-index:1;border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-track-color);overflow:hidden;transition:var(--scrollbar-track-transition);cursor:default} .ng-scrollbar-thumb{box-sizing:border-box;position:relative;border-radius:inherit;background-color:var(--scrollbar-thumb-color);transform:translateZ(0);transition:var(--scrollbar-thumb-transition)}"],changeDetection:0})}return St})(),Ds=(()=>{class St{static#e=this.\u0275fac=function(Tt){return new(Tt||St)};static#t=this.\u0275mod=i.oAB({type:St});static#n=this.\u0275inj=i.cJS({})}return St})()},9838:(lt,_e,m)=>{"use strict";m.d(_e,{$_:()=>Oe,F0:()=>k,Y:()=>V,b4:()=>X,h4:()=>me,iZ:()=>x,jx:()=>Se,m8:()=>wt,ws:()=>K});var i=m(755),t=m(8748),A=m(8393),a=m(6733);const y=["*"];let j=(()=>class J{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),x=(()=>{class J{filter(oe,ye,Ee,Ge,gt){let Ze=[];if(oe)for(let Je of oe)for(let tt of ye){let Qe=A.gb.resolveFieldData(Je,tt);if(this.filters[Ge](Qe,Ee,gt)){Ze.push(Je);break}}return Ze}filters={startsWith:(oe,ye,Ee)=>{if(null==ye||""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee);return A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee).slice(0,Ge.length)===Ge},contains:(oe,ye,Ee)=>{if(null==ye||"string"==typeof ye&&""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee);return-1!==A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee).indexOf(Ge)},notContains:(oe,ye,Ee)=>{if(null==ye||"string"==typeof ye&&""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee);return-1===A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee).indexOf(Ge)},endsWith:(oe,ye,Ee)=>{if(null==ye||""===ye.trim())return!0;if(null==oe)return!1;let Ge=A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee),gt=A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee);return-1!==gt.indexOf(Ge,gt.length-Ge.length)},equals:(oe,ye,Ee)=>null==ye||"string"==typeof ye&&""===ye.trim()||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()===ye.getTime():A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee)==A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee)),notEquals:(oe,ye,Ee)=>!(null==ye||"string"==typeof ye&&""===ye.trim()||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()===ye.getTime():A.gb.removeAccents(oe.toString()).toLocaleLowerCase(Ee)==A.gb.removeAccents(ye.toString()).toLocaleLowerCase(Ee))),in:(oe,ye)=>{if(null==ye||0===ye.length)return!0;for(let Ee=0;Eenull==ye||null==ye[0]||null==ye[1]||null!=oe&&(oe.getTime?ye[0].getTime()<=oe.getTime()&&oe.getTime()<=ye[1].getTime():ye[0]<=oe&&oe<=ye[1]),lt:(oe,ye,Ee)=>null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()<=ye.getTime():oe<=ye),gt:(oe,ye,Ee)=>null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()>ye.getTime():oe>ye),gte:(oe,ye,Ee)=>null==ye||null!=oe&&(oe.getTime&&ye.getTime?oe.getTime()>=ye.getTime():oe>=ye),is:(oe,ye,Ee)=>this.filters.equals(oe,ye,Ee),isNot:(oe,ye,Ee)=>this.filters.notEquals(oe,ye,Ee),before:(oe,ye,Ee)=>this.filters.lt(oe,ye,Ee),after:(oe,ye,Ee)=>this.filters.gt(oe,ye,Ee),dateIs:(oe,ye)=>null==ye||null!=oe&&oe.toDateString()===ye.toDateString(),dateIsNot:(oe,ye)=>null==ye||null!=oe&&oe.toDateString()!==ye.toDateString(),dateBefore:(oe,ye)=>null==ye||null!=oe&&oe.getTime()null==ye||null!=oe&&oe.getTime()>ye.getTime()};register(oe,ye){this.filters[oe]=ye}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),k=(()=>{class J{clickSource=new t.x;clickObservable=this.clickSource.asObservable();add(oe){oe&&this.clickSource.next(oe)}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),X=(()=>{class J{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[j.STARTS_WITH,j.CONTAINS,j.NOT_CONTAINS,j.ENDS_WITH,j.EQUALS,j.NOT_EQUALS],numeric:[j.EQUALS,j.NOT_EQUALS,j.LESS_THAN,j.LESS_THAN_OR_EQUAL_TO,j.GREATER_THAN,j.GREATER_THAN_OR_EQUAL_TO],date:[j.DATE_IS,j.DATE_IS_NOT,j.DATE_BEFORE,j.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new t.x;translationObserver=this.translationSource.asObservable();getTranslation(oe){return this.translation[oe]}setTranslation(oe){this.translation={...this.translation,...oe},this.translationSource.next(this.translation)}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),me=(()=>{class J{static \u0275fac=function(ye){return new(ye||J)};static \u0275cmp=i.Xpm({type:J,selectors:[["p-header"]],ngContentSelectors:y,decls:1,vars:0,template:function(ye,Ee){1&ye&&(i.F$t(),i.Hsn(0))},encapsulation:2})}return J})(),Oe=(()=>{class J{static \u0275fac=function(ye){return new(ye||J)};static \u0275cmp=i.Xpm({type:J,selectors:[["p-footer"]],ngContentSelectors:y,decls:1,vars:0,template:function(ye,Ee){1&ye&&(i.F$t(),i.Hsn(0))},encapsulation:2})}return J})(),Se=(()=>{class J{template;type;name;constructor(oe){this.template=oe}getType(){return this.name}static \u0275fac=function(ye){return new(ye||J)(i.Y36(i.Rgc))};static \u0275dir=i.lG2({type:J,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}})}return J})(),wt=(()=>{class J{static \u0275fac=function(ye){return new(ye||J)};static \u0275mod=i.oAB({type:J});static \u0275inj=i.cJS({imports:[a.ez]})}return J})(),K=(()=>class J{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage"})(),V=(()=>{class J{dragStartSource=new t.x;dragStopSource=new t.x;dragStart$=this.dragStartSource.asObservable();dragStop$=this.dragStopSource.asObservable();startDrag(oe){this.dragStartSource.next(oe)}stopDrag(oe){this.dragStopSource.next(oe)}static \u0275fac=function(ye){return new(ye||J)};static \u0275prov=i.Yz7({token:J,factory:J.\u0275fac})}return J})()},5315:(lt,_e,m)=>{"use strict";m.d(_e,{s:()=>a});var i=m(755),t=m(8393);const A=["*"];let a=(()=>{class y{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const b=t.gb.isEmpty(this.label);this.role=b?void 0:"img",this.ariaLabel=b?void 0:this.label,this.ariaHidden=b}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(N){return new(N||y)};static \u0275cmp=i.Xpm({type:y,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[i.jDz],ngContentSelectors:A,decls:1,vars:0,template:function(N,j){1&N&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0})}return y})()},2815:(lt,_e,m)=>{"use strict";m.d(_e,{V:()=>t,p:()=>i});let i=(()=>{class A{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(y,C){y&&C&&(y.classList?y.classList.add(C):y.className+=" "+C)}static addMultipleClasses(y,C){if(y&&C)if(y.classList){let b=C.trim().split(" ");for(let N=0;Nb.split(" ").forEach(N=>this.removeClass(y,N)))}static hasClass(y,C){return!(!y||!C)&&(y.classList?y.classList.contains(C):new RegExp("(^| )"+C+"( |$)","gi").test(y.className))}static siblings(y){return Array.prototype.filter.call(y.parentNode.children,function(C){return C!==y})}static find(y,C){return Array.from(y.querySelectorAll(C))}static findSingle(y,C){return this.isElement(y)?y.querySelector(C):null}static index(y){let C=y.parentNode.childNodes,b=0;for(var N=0;N{if(K)return"relative"===getComputedStyle(K).getPropertyValue("position")?K:b(K.parentElement)},N=y.offsetParent?{width:y.offsetWidth,height:y.offsetHeight}:this.getHiddenElementDimensions(y),j=C.offsetHeight,F=C.getBoundingClientRect(),x=this.getWindowScrollTop(),H=this.getWindowScrollLeft(),k=this.getViewport(),X=b(y)?.getBoundingClientRect()||{top:-1*x,left:-1*H};let me,Oe;F.top+j+N.height>k.height?(me=F.top-X.top-N.height,y.style.transformOrigin="bottom",F.top+me<0&&(me=-1*F.top)):(me=j+F.top-X.top,y.style.transformOrigin="top");const Se=F.left+N.width-k.width;Oe=N.width>k.width?-1*(F.left-X.left):Se>0?F.left-X.left-Se:F.left-X.left,y.style.top=me+"px",y.style.left=Oe+"px"}static absolutePosition(y,C){const b=y.offsetParent?{width:y.offsetWidth,height:y.offsetHeight}:this.getHiddenElementDimensions(y),N=b.height,j=b.width,F=C.offsetHeight,x=C.offsetWidth,H=C.getBoundingClientRect(),k=this.getWindowScrollTop(),P=this.getWindowScrollLeft(),X=this.getViewport();let me,Oe;H.top+F+N>X.height?(me=H.top+k-N,y.style.transformOrigin="bottom",me<0&&(me=k)):(me=F+H.top+k,y.style.transformOrigin="top"),Oe=H.left+j>X.width?Math.max(0,H.left+P+x-j):H.left+P,y.style.top=me+"px",y.style.left=Oe+"px"}static getParents(y,C=[]){return null===y.parentNode?C:this.getParents(y.parentNode,C.concat([y.parentNode]))}static getScrollableParents(y){let C=[];if(y){let b=this.getParents(y);const N=/(auto|scroll)/,j=F=>{let x=window.getComputedStyle(F,null);return N.test(x.getPropertyValue("overflow"))||N.test(x.getPropertyValue("overflowX"))||N.test(x.getPropertyValue("overflowY"))};for(let F of b){let x=1===F.nodeType&&F.dataset.scrollselectors;if(x){let H=x.split(",");for(let k of H){let P=this.findSingle(F,k);P&&j(P)&&C.push(P)}}9!==F.nodeType&&j(F)&&C.push(F)}}return C}static getHiddenElementOuterHeight(y){y.style.visibility="hidden",y.style.display="block";let C=y.offsetHeight;return y.style.display="none",y.style.visibility="visible",C}static getHiddenElementOuterWidth(y){y.style.visibility="hidden",y.style.display="block";let C=y.offsetWidth;return y.style.display="none",y.style.visibility="visible",C}static getHiddenElementDimensions(y){let C={};return y.style.visibility="hidden",y.style.display="block",C.width=y.offsetWidth,C.height=y.offsetHeight,y.style.display="none",y.style.visibility="visible",C}static scrollInView(y,C){let b=getComputedStyle(y).getPropertyValue("borderTopWidth"),N=b?parseFloat(b):0,j=getComputedStyle(y).getPropertyValue("paddingTop"),F=j?parseFloat(j):0,x=y.getBoundingClientRect(),k=C.getBoundingClientRect().top+document.body.scrollTop-(x.top+document.body.scrollTop)-N-F,P=y.scrollTop,X=y.clientHeight,me=this.getOuterHeight(C);k<0?y.scrollTop=P+k:k+me>X&&(y.scrollTop=P+k-X+me)}static fadeIn(y,C){y.style.opacity=0;let b=+new Date,N=0,j=function(){N=+y.style.opacity.replace(",",".")+((new Date).getTime()-b)/C,y.style.opacity=N,b=+new Date,+N<1&&(window.requestAnimationFrame&&requestAnimationFrame(j)||setTimeout(j,16))};j()}static fadeOut(y,C){var b=1,F=50/C;let x=setInterval(()=>{(b-=F)<=0&&(b=0,clearInterval(x)),y.style.opacity=b},50)}static getWindowScrollTop(){let y=document.documentElement;return(window.pageYOffset||y.scrollTop)-(y.clientTop||0)}static getWindowScrollLeft(){let y=document.documentElement;return(window.pageXOffset||y.scrollLeft)-(y.clientLeft||0)}static matches(y,C){var b=Element.prototype;return(b.matches||b.webkitMatchesSelector||b.mozMatchesSelector||b.msMatchesSelector||function(j){return-1!==[].indexOf.call(document.querySelectorAll(j),this)}).call(y,C)}static getOuterWidth(y,C){let b=y.offsetWidth;if(C){let N=getComputedStyle(y);b+=parseFloat(N.marginLeft)+parseFloat(N.marginRight)}return b}static getHorizontalPadding(y){let C=getComputedStyle(y);return parseFloat(C.paddingLeft)+parseFloat(C.paddingRight)}static getHorizontalMargin(y){let C=getComputedStyle(y);return parseFloat(C.marginLeft)+parseFloat(C.marginRight)}static innerWidth(y){let C=y.offsetWidth,b=getComputedStyle(y);return C+=parseFloat(b.paddingLeft)+parseFloat(b.paddingRight),C}static width(y){let C=y.offsetWidth,b=getComputedStyle(y);return C-=parseFloat(b.paddingLeft)+parseFloat(b.paddingRight),C}static getInnerHeight(y){let C=y.offsetHeight,b=getComputedStyle(y);return C+=parseFloat(b.paddingTop)+parseFloat(b.paddingBottom),C}static getOuterHeight(y,C){let b=y.offsetHeight;if(C){let N=getComputedStyle(y);b+=parseFloat(N.marginTop)+parseFloat(N.marginBottom)}return b}static getHeight(y){let C=y.offsetHeight,b=getComputedStyle(y);return C-=parseFloat(b.paddingTop)+parseFloat(b.paddingBottom)+parseFloat(b.borderTopWidth)+parseFloat(b.borderBottomWidth),C}static getWidth(y){let C=y.offsetWidth,b=getComputedStyle(y);return C-=parseFloat(b.paddingLeft)+parseFloat(b.paddingRight)+parseFloat(b.borderLeftWidth)+parseFloat(b.borderRightWidth),C}static getViewport(){let y=window,C=document,b=C.documentElement,N=C.getElementsByTagName("body")[0];return{width:y.innerWidth||b.clientWidth||N.clientWidth,height:y.innerHeight||b.clientHeight||N.clientHeight}}static getOffset(y){var C=y.getBoundingClientRect();return{top:C.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:C.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(y,C){let b=y.parentNode;if(!b)throw"Can't replace element";return b.replaceChild(C,y)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var y=window.navigator.userAgent;return y.indexOf("MSIE ")>0||(y.indexOf("Trident/")>0?(y.indexOf("rv:"),!0):y.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(y,C){if(this.isElement(C))C.appendChild(y);else{if(!(C&&C.el&&C.el.nativeElement))throw"Cannot append "+C+" to "+y;C.el.nativeElement.appendChild(y)}}static removeChild(y,C){if(this.isElement(C))C.removeChild(y);else{if(!C.el||!C.el.nativeElement)throw"Cannot remove "+y+" from "+C;C.el.nativeElement.removeChild(y)}}static removeElement(y){"remove"in Element.prototype?y.remove():y.parentNode.removeChild(y)}static isElement(y){return"object"==typeof HTMLElement?y instanceof HTMLElement:y&&"object"==typeof y&&null!==y&&1===y.nodeType&&"string"==typeof y.nodeName}static calculateScrollbarWidth(y){if(y){let C=getComputedStyle(y);return y.offsetWidth-y.clientWidth-parseFloat(C.borderLeftWidth)-parseFloat(C.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let C=document.createElement("div");C.className="p-scrollbar-measure",document.body.appendChild(C);let b=C.offsetWidth-C.clientWidth;return document.body.removeChild(C),this.calculatedScrollbarWidth=b,b}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let y=document.createElement("div");y.className="p-scrollbar-measure",document.body.appendChild(y);let C=y.offsetHeight-y.clientHeight;return document.body.removeChild(y),this.calculatedScrollbarWidth=C,C}static invokeElementMethod(y,C,b){y[C].apply(y,b)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let y=this.resolveUserAgent();this.browser={},y.browser&&(this.browser[y.browser]=!0,this.browser.version=y.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let y=navigator.userAgent.toLowerCase(),C=/(chrome)[ \/]([\w.]+)/.exec(y)||/(webkit)[ \/]([\w.]+)/.exec(y)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(y)||/(msie) ([\w.]+)/.exec(y)||y.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(y)||[];return{browser:C[1]||"",version:C[2]||"0"}}static isInteger(y){return Number.isInteger?Number.isInteger(y):"number"==typeof y&&isFinite(y)&&Math.floor(y)===y}static isHidden(y){return!y||null===y.offsetParent}static isVisible(y){return y&&null!=y.offsetParent}static isExist(y){return null!==y&&typeof y<"u"&&y.nodeName&&y.parentNode}static focus(y,C){y&&document.activeElement!==y&&y.focus(C)}static getFocusableElements(y,C=""){let b=this.find(y,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${C}`),N=[];for(let j of b)"none"!=getComputedStyle(j).display&&"hidden"!=getComputedStyle(j).visibility&&N.push(j);return N}static getFirstFocusableElement(y,C){const b=this.getFocusableElements(y,C);return b.length>0?b[0]:null}static getLastFocusableElement(y,C){const b=this.getFocusableElements(y,C);return b.length>0?b[b.length-1]:null}static getNextFocusableElement(y,C=!1){const b=A.getFocusableElements(y);let N=0;if(b&&b.length>0){const j=b.indexOf(b[0].ownerDocument.activeElement);C?N=-1==j||0===j?b.length-1:j-1:-1!=j&&j!==b.length-1&&(N=j+1)}return b[N]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(y,C){if(!y)return null;switch(y){case"document":return document;case"window":return window;case"@next":return C?.nextElementSibling;case"@prev":return C?.previousElementSibling;case"@parent":return C?.parentElement;case"@grandparent":return C?.parentElement.parentElement;default:const b=typeof y;if("string"===b)return document.querySelector(y);if("object"===b&&y.hasOwnProperty("nativeElement"))return this.isExist(y.nativeElement)?y.nativeElement:void 0;const j=(F=y)&&F.constructor&&F.call&&F.apply?y():y;return j&&9===j.nodeType||this.isExist(j)?j:null}var F}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(y,C){if(y){const b=y.getAttribute(C);return isNaN(b)?"true"===b||"false"===b?"true"===b:b:+b}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(y="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,y)}static unblockBodyScroll(y="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,y)}}return A})();class t{element;listener;scrollableParents;constructor(a,y=(()=>{})){this.element=a,this.listener=y}bindScrollListener(){this.scrollableParents=i.getScrollableParents(this.element);for(let a=0;a{"use strict";m.d(_e,{n:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(N){return(C||(C=i.n5z(a)))(N||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["CheckIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(b,N){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(N.getClassNames()),i.uIk("aria-label",N.ariaLabel)("aria-hidden",N.ariaHidden)("role",N.role))},encapsulation:2})}return a})()},2285:(lt,_e,m)=>{"use strict";m.d(_e,{v:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(N){return(C||(C=i.n5z(a)))(N||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["ChevronDownIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(b,N){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(N.getClassNames()),i.uIk("aria-label",N.ariaLabel)("aria-hidden",N.ariaHidden)("role",N.role))},encapsulation:2})}return a})()},9202:(lt,_e,m)=>{"use strict";m.d(_e,{X:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(N){return(C||(C=i.n5z(a)))(N||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["ChevronRightIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(b,N){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(N.getClassNames()),i.uIk("aria-label",N.ariaLabel)("aria-hidden",N.ariaHidden)("role",N.role))},encapsulation:2})}return a})()},5785:(lt,_e,m)=>{"use strict";m.d(_e,{W:()=>a});var i=m(755),t=m(5315),A=m(8393);let a=(()=>{class y extends t.s{pathId;ngOnInit(){this.pathId="url(#"+(0,A.Th)()+")"}static \u0275fac=function(){let b;return function(j){return(b||(b=i.n5z(y)))(j||y)}}();static \u0275cmp=i.Xpm({type:y,selectors:[["SearchIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(N,j){1&N&&(i.O4$(),i.TgZ(0,"svg",0)(1,"g"),i._UZ(2,"path",1),i.qZA(),i.TgZ(3,"defs")(4,"clipPath",2),i._UZ(5,"rect",3),i.qZA()()()),2&N&&(i.Tol(j.getClassNames()),i.uIk("aria-label",j.ariaLabel)("aria-hidden",j.ariaHidden)("role",j.role),i.xp6(1),i.uIk("clip-path",j.pathId),i.xp6(3),i.Q6J("id",j.pathId))},encapsulation:2})}return y})()},7848:(lt,_e,m)=>{"use strict";m.d(_e,{L:()=>a});var i=m(755),t=m(5315),A=m(8393);let a=(()=>{class y extends t.s{pathId;ngOnInit(){this.pathId="url(#"+(0,A.Th)()+")"}static \u0275fac=function(){let b;return function(j){return(b||(b=i.n5z(y)))(j||y)}}();static \u0275cmp=i.Xpm({type:y,selectors:[["SpinnerIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(N,j){1&N&&(i.O4$(),i.TgZ(0,"svg",0)(1,"g"),i._UZ(2,"path",1),i.qZA(),i.TgZ(3,"defs")(4,"clipPath",2),i._UZ(5,"rect",3),i.qZA()()()),2&N&&(i.Tol(j.getClassNames()),i.uIk("aria-label",j.ariaLabel)("aria-hidden",j.ariaHidden)("role",j.role),i.xp6(1),i.uIk("clip-path",j.pathId),i.xp6(3),i.Q6J("id",j.pathId))},encapsulation:2})}return y})()},6929:(lt,_e,m)=>{"use strict";m.d(_e,{q:()=>A});var i=m(755),t=m(5315);let A=(()=>{class a extends t.s{static \u0275fac=function(){let C;return function(N){return(C||(C=i.n5z(a)))(N||a)}}();static \u0275cmp=i.Xpm({type:a,selectors:[["TimesIcon"]],standalone:!0,features:[i.qOj,i.jDz],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(b,N){1&b&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"path",1),i.qZA()),2&b&&(i.Tol(N.getClassNames()),i.uIk("aria-label",N.ariaLabel)("aria-hidden",N.ariaHidden)("role",N.role))},encapsulation:2})}return a})()},979:(lt,_e,m)=>{"use strict";m.d(_e,{U8:()=>ae,aV:()=>J});var i=m(2405),t=m(6733),A=m(755),a=m(2133),y=m(9838),C=m(2815),b=m(8393);const N=["overlay"],j=["content"];function F(oe,ye){1&oe&&A.GkF(0)}const x=function(oe,ye,Ee){return{showTransitionParams:oe,hideTransitionParams:ye,transform:Ee}},H=function(oe){return{value:"visible",params:oe}},k=function(oe){return{mode:oe}},P=function(oe){return{$implicit:oe}};function X(oe,ye){if(1&oe){const Ee=A.EpF();A.TgZ(0,"div",1,3),A.NdJ("click",function(gt){A.CHM(Ee);const Ze=A.oxw(2);return A.KtG(Ze.onOverlayContentClick(gt))})("@overlayContentAnimation.start",function(gt){A.CHM(Ee);const Ze=A.oxw(2);return A.KtG(Ze.onOverlayContentAnimationStart(gt))})("@overlayContentAnimation.done",function(gt){A.CHM(Ee);const Ze=A.oxw(2);return A.KtG(Ze.onOverlayContentAnimationDone(gt))}),A.Hsn(2),A.YNc(3,F,1,0,"ng-container",4),A.qZA()}if(2&oe){const Ee=A.oxw(2);A.Tol(Ee.contentStyleClass),A.Q6J("ngStyle",Ee.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",A.VKq(11,H,A.kEZ(7,x,Ee.showTransitionOptions,Ee.hideTransitionOptions,Ee.transformOptions[Ee.modal?Ee.overlayResponsiveDirection:"default"]))),A.xp6(3),A.Q6J("ngTemplateOutlet",Ee.contentTemplate)("ngTemplateOutletContext",A.VKq(15,P,A.VKq(13,k,Ee.overlayMode)))}}const me=function(oe,ye,Ee,Ge,gt,Ze,Je,tt,Qe,pt,Nt,Jt,nt,ot){return{"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":oe,"p-overlay-center":ye,"p-overlay-top":Ee,"p-overlay-top-start":Ge,"p-overlay-top-end":gt,"p-overlay-bottom":Ze,"p-overlay-bottom-start":Je,"p-overlay-bottom-end":tt,"p-overlay-left":Qe,"p-overlay-left-start":pt,"p-overlay-left-end":Nt,"p-overlay-right":Jt,"p-overlay-right-start":nt,"p-overlay-right-end":ot}};function Oe(oe,ye){if(1&oe){const Ee=A.EpF();A.TgZ(0,"div",1,2),A.NdJ("click",function(){A.CHM(Ee);const gt=A.oxw();return A.KtG(gt.onOverlayClick())}),A.YNc(2,X,4,17,"div",0),A.qZA()}if(2&oe){const Ee=A.oxw();A.Tol(Ee.styleClass),A.Q6J("ngStyle",Ee.style)("ngClass",A.rFY(5,me,[Ee.modal,Ee.modal&&"center"===Ee.overlayResponsiveDirection,Ee.modal&&"top"===Ee.overlayResponsiveDirection,Ee.modal&&"top-start"===Ee.overlayResponsiveDirection,Ee.modal&&"top-end"===Ee.overlayResponsiveDirection,Ee.modal&&"bottom"===Ee.overlayResponsiveDirection,Ee.modal&&"bottom-start"===Ee.overlayResponsiveDirection,Ee.modal&&"bottom-end"===Ee.overlayResponsiveDirection,Ee.modal&&"left"===Ee.overlayResponsiveDirection,Ee.modal&&"left-start"===Ee.overlayResponsiveDirection,Ee.modal&&"left-end"===Ee.overlayResponsiveDirection,Ee.modal&&"right"===Ee.overlayResponsiveDirection,Ee.modal&&"right-start"===Ee.overlayResponsiveDirection,Ee.modal&&"right-end"===Ee.overlayResponsiveDirection])),A.xp6(2),A.Q6J("ngIf",Ee.visible)}}const Se=["*"],wt={provide:a.JU,useExisting:(0,A.Gpc)(()=>J),multi:!0},K=(0,i.oQ)([(0,i.oB)({transform:"{{transform}}",opacity:0}),(0,i.jt)("{{showTransitionParams}}")]),V=(0,i.oQ)([(0,i.jt)("{{hideTransitionParams}}",(0,i.oB)({transform:"{{transform}}",opacity:0}))]);let J=(()=>{class oe{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(Ee){this._visible=Ee,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(Ee){this._mode=Ee}get style(){return b.gb.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(Ee){this._style=Ee}get styleClass(){return b.gb.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(Ee){this._styleClass=Ee}get contentStyle(){return b.gb.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(Ee){this._contentStyle=Ee}get contentStyleClass(){return b.gb.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(Ee){this._contentStyleClass=Ee}get target(){const Ee=this._target||this.overlayOptions?.target;return void 0===Ee?"@prev":Ee}set target(Ee){this._target=Ee}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(Ee){this._appendTo=Ee}get autoZIndex(){const Ee=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===Ee||Ee}set autoZIndex(Ee){this._autoZIndex=Ee}get baseZIndex(){const Ee=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===Ee?0:Ee}set baseZIndex(Ee){this._baseZIndex=Ee}get showTransitionOptions(){const Ee=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===Ee?".12s cubic-bezier(0, 0, 0.2, 1)":Ee}set showTransitionOptions(Ee){this._showTransitionOptions=Ee}get hideTransitionOptions(){const Ee=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===Ee?".1s linear":Ee}set hideTransitionOptions(Ee){this._hideTransitionOptions=Ee}get listener(){return this._listener||this.overlayOptions?.listener}set listener(Ee){this._listener=Ee}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(Ee){this._responsive=Ee}get options(){return this._options}set options(Ee){this._options=Ee}visibleChange=new A.vpe;onBeforeShow=new A.vpe;onShow=new A.vpe;onBeforeHide=new A.vpe;onHide=new A.vpe;onAnimationStart=new A.vpe;onAnimationDone=new A.vpe;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if((0,t.NF)(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return C.p.getTargetElement(this.target,this.el?.nativeElement)}constructor(Ee,Ge,gt,Ze,Je,tt,Qe,pt){this.document=Ee,this.platformId=Ge,this.el=gt,this.renderer=Ze,this.config=Je,this.overlayService=tt,this.cd=Qe,this.zone=pt,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(Ee=>{Ee.getType(),this.contentTemplate=Ee.template})}show(Ee,Ge=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:Ee||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),Ge&&C.p.focus(this.targetEl),this.modal&&C.p.addClass(this.document?.body,"p-overflow-hidden")}hide(Ee,Ge=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:Ee||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),Ge&&C.p.focus(this.targetEl),this.modal&&C.p.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&C.p.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(Ee){this._visible=Ee,this.visibleChange.emit(Ee)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(Ee){this.overlayService.add({originalEvent:Ee,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(Ee){switch(Ee.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&b.P9.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),C.p.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&C.p.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",Ee)}onOverlayContentAnimationDone(Ee){const Ge=this.overlayEl||Ee.element.parentElement;switch(Ee.toState){case"visible":this.show(Ge,!0),this.bindListeners();break;case"void":this.hide(Ge,!0),this.unbindListeners(),C.p.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),b.P9.clear(Ge),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",Ee)}handleEvents(Ee,Ge){this[Ee].emit(Ge),this.options&&this.options[Ee]&&this.options[Ee](Ge),this.config?.overlayOptions&&(this.config?.overlayOptions)[Ee]&&(this.config?.overlayOptions)[Ee](Ge)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new C.V(this.targetEl,Ee=>{(!this.listener||this.listener(Ee,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(Ee,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",Ee=>{const gt=!(this.targetEl&&(this.targetEl.isSameNode(Ee.target)||!this.isOverlayClicked&&this.targetEl.contains(Ee.target))||this.isOverlayContentClicked);(this.listener?this.listener(Ee,{type:"outside",mode:this.overlayMode,valid:3!==Ee.which&>}):gt)&&this.hide(Ee),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",Ee=>{(this.listener?this.listener(Ee,{type:"resize",mode:this.overlayMode,valid:!C.p.isTouchDevice()}):!C.p.isTouchDevice())&&this.hide(Ee,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",Ee=>{!1!==this.overlayOptions.hideOnEscape&&"Escape"===Ee.code&&(this.listener?this.listener(Ee,{type:"keydown",mode:this.overlayMode,valid:!C.p.isTouchDevice()}):!C.p.isTouchDevice())&&this.zone.run(()=>{this.hide(Ee,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(C.p.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),b.P9.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(Ge){return new(Ge||oe)(A.Y36(t.K0),A.Y36(A.Lbi),A.Y36(A.SBq),A.Y36(A.Qsj),A.Y36(y.b4),A.Y36(y.F0),A.Y36(A.sBO),A.Y36(A.R0b))};static \u0275cmp=A.Xpm({type:oe,selectors:[["p-overlay"]],contentQueries:function(Ge,gt,Ze){if(1&Ge&&A.Suo(Ze,y.jx,4),2&Ge){let Je;A.iGM(Je=A.CRH())&&(gt.templates=Je)}},viewQuery:function(Ge,gt){if(1&Ge&&(A.Gf(N,5),A.Gf(j,5)),2&Ge){let Ze;A.iGM(Ze=A.CRH())&&(gt.overlayViewChild=Ze.first),A.iGM(Ze=A.CRH())&&(gt.contentViewChild=Ze.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[A._Bn([wt])],ngContentSelectors:Se,decls:1,vars:1,consts:[[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"ngStyle","ngClass","click"],["overlay",""],["content",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Ge,gt){1&Ge&&(A.F$t(),A.YNc(0,Oe,3,20,"div",0)),2&Ge&&A.Q6J("ngIf",gt.modalVisible)},dependencies:[t.mk,t.O5,t.tP,t.PC],styles:["@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}\n"],encapsulation:2,data:{animation:[(0,i.X$)("overlayContentAnimation",[(0,i.eR)(":enter",[(0,i._7)(K)]),(0,i.eR)(":leave",[(0,i._7)(V)])])]},changeDetection:0})}return oe})(),ae=(()=>{class oe{static \u0275fac=function(Ge){return new(Ge||oe)};static \u0275mod=A.oAB({type:oe});static \u0275inj=A.cJS({imports:[t.ez,y.m8,y.m8]})}return oe})()},3148:(lt,_e,m)=>{"use strict";m.d(_e,{H:()=>y,T:()=>C});var i=m(6733),t=m(755),A=m(2815),a=m(9838);let y=(()=>{class b{document;platformId;renderer;el;zone;config;constructor(j,F,x,H,k,P){this.document=j,this.platformId=F,this.renderer=x,this.el=H,this.zone=k,this.config=P}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,i.NF)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(j){let F=this.getInk();if(!F||"none"===this.document.defaultView?.getComputedStyle(F,null).display)return;if(A.p.removeClass(F,"p-ink-active"),!A.p.getHeight(F)&&!A.p.getWidth(F)){let P=Math.max(A.p.getOuterWidth(this.el.nativeElement),A.p.getOuterHeight(this.el.nativeElement));F.style.height=P+"px",F.style.width=P+"px"}let x=A.p.getOffset(this.el.nativeElement),H=j.pageX-x.left+this.document.body.scrollTop-A.p.getWidth(F)/2,k=j.pageY-x.top+this.document.body.scrollLeft-A.p.getHeight(F)/2;this.renderer.setStyle(F,"top",k+"px"),this.renderer.setStyle(F,"left",H+"px"),A.p.addClass(F,"p-ink-active"),this.timeout=setTimeout(()=>{let P=this.getInk();P&&A.p.removeClass(P,"p-ink-active")},401)}getInk(){const j=this.el.nativeElement.children;for(let F=0;F{class b{static \u0275fac=function(F){return new(F||b)};static \u0275mod=t.oAB({type:b});static \u0275inj=t.cJS({imports:[i.ez]})}return b})()},8206:(lt,_e,m)=>{"use strict";m.d(_e,{T:()=>Jt,v:()=>nt});var i=m(6733),t=m(755),A=m(9838),a=m(2815),y=m(7848);const C=["element"],b=["content"];function N(ot,Ct){1&ot&&t.GkF(0)}const j=function(ot,Ct){return{$implicit:ot,options:Ct}};function F(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,N,1,0,"ng-container",7),t.BQk()),2&ot){const He=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",He.contentTemplate)("ngTemplateOutletContext",t.WLB(2,j,He.loadedItems,He.getContentOptions()))}}function x(ot,Ct){1&ot&&t.GkF(0)}function H(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,x,1,0,"ng-container",7),t.BQk()),2&ot){const He=Ct.$implicit,mt=Ct.index,vt=t.oxw(3);t.xp6(1),t.Q6J("ngTemplateOutlet",vt.itemTemplate)("ngTemplateOutletContext",t.WLB(2,j,He,vt.getOptions(mt)))}}const k=function(ot){return{"p-scroller-loading":ot}};function P(ot,Ct){if(1&ot&&(t.TgZ(0,"div",8,9),t.YNc(2,H,2,5,"ng-container",10),t.qZA()),2&ot){const He=t.oxw(2);t.Q6J("ngClass",t.VKq(5,k,He.d_loading))("ngStyle",He.contentStyle),t.uIk("data-pc-section","content"),t.xp6(2),t.Q6J("ngForOf",He.loadedItems)("ngForTrackBy",He._trackBy||He.index)}}function X(ot,Ct){if(1&ot&&t._UZ(0,"div",11),2&ot){const He=t.oxw(2);t.Q6J("ngStyle",He.spacerStyle),t.uIk("data-pc-section","spacer")}}function me(ot,Ct){1&ot&&t.GkF(0)}const Oe=function(ot){return{numCols:ot}},Se=function(ot){return{options:ot}};function wt(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,me,1,0,"ng-container",7),t.BQk()),2&ot){const He=Ct.index,mt=t.oxw(4);t.xp6(1),t.Q6J("ngTemplateOutlet",mt.loaderTemplate)("ngTemplateOutletContext",t.VKq(4,Se,mt.getLoaderOptions(He,mt.both&&t.VKq(2,Oe,mt._numItemsInViewport.cols))))}}function K(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,wt,2,6,"ng-container",14),t.BQk()),2&ot){const He=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",He.loaderArr)}}function V(ot,Ct){1&ot&&t.GkF(0)}const J=function(){return{styleClass:"p-scroller-loading-icon"}};function ae(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,V,1,0,"ng-container",7),t.BQk()),2&ot){const He=t.oxw(4);t.xp6(1),t.Q6J("ngTemplateOutlet",He.loaderIconTemplate)("ngTemplateOutletContext",t.VKq(3,Se,t.DdM(2,J)))}}function oe(ot,Ct){1&ot&&t._UZ(0,"SpinnerIcon",16),2&ot&&(t.Q6J("styleClass","p-scroller-loading-icon"),t.uIk("data-pc-section","loadingIcon"))}function ye(ot,Ct){if(1&ot&&(t.YNc(0,ae,2,5,"ng-container",0),t.YNc(1,oe,1,2,"ng-template",null,15,t.W1O)),2&ot){const He=t.MAs(2),mt=t.oxw(3);t.Q6J("ngIf",mt.loaderIconTemplate)("ngIfElse",He)}}const Ee=function(ot){return{"p-component-overlay":ot}};function Ge(ot,Ct){if(1&ot&&(t.TgZ(0,"div",12),t.YNc(1,K,2,1,"ng-container",0),t.YNc(2,ye,3,2,"ng-template",null,13,t.W1O),t.qZA()),2&ot){const He=t.MAs(3),mt=t.oxw(2);t.Q6J("ngClass",t.VKq(4,Ee,!mt.loaderTemplate)),t.uIk("data-pc-section","loader"),t.xp6(1),t.Q6J("ngIf",mt.loaderTemplate)("ngIfElse",He)}}const gt=function(ot,Ct,He){return{"p-scroller":!0,"p-scroller-inline":ot,"p-both-scroll":Ct,"p-horizontal-scroll":He}};function Ze(ot,Ct){if(1&ot){const He=t.EpF();t.ynx(0),t.TgZ(1,"div",2,3),t.NdJ("scroll",function(vt){t.CHM(He);const hn=t.oxw();return t.KtG(hn.onContainerScroll(vt))}),t.YNc(3,F,2,5,"ng-container",0),t.YNc(4,P,3,7,"ng-template",null,4,t.W1O),t.YNc(6,X,1,2,"div",5),t.YNc(7,Ge,4,6,"div",6),t.qZA(),t.BQk()}if(2&ot){const He=t.MAs(5),mt=t.oxw();t.xp6(1),t.Tol(mt._styleClass),t.Q6J("ngStyle",mt._style)("ngClass",t.kEZ(12,gt,mt.inline,mt.both,mt.horizontal)),t.uIk("id",mt._id)("tabindex",mt.tabindex)("data-pc-name","scroller")("data-pc-section","root"),t.xp6(2),t.Q6J("ngIf",mt.contentTemplate)("ngIfElse",He),t.xp6(3),t.Q6J("ngIf",mt._showSpacer),t.xp6(1),t.Q6J("ngIf",!mt.loaderDisabled&&mt._showLoader&&mt.d_loading)}}function Je(ot,Ct){1&ot&&t.GkF(0)}const tt=function(ot,Ct){return{rows:ot,columns:Ct}};function Qe(ot,Ct){if(1&ot&&(t.ynx(0),t.YNc(1,Je,1,0,"ng-container",7),t.BQk()),2&ot){const He=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",He.contentTemplate)("ngTemplateOutletContext",t.WLB(5,j,He.items,t.WLB(2,tt,He._items,He.loadedColumns)))}}function pt(ot,Ct){if(1&ot&&(t.Hsn(0),t.YNc(1,Qe,2,8,"ng-container",17)),2&ot){const He=t.oxw();t.xp6(1),t.Q6J("ngIf",He.contentTemplate)}}const Nt=["*"];let Jt=(()=>{class ot{document;platformId;renderer;cd;zone;get id(){return this._id}set id(He){this._id=He}get style(){return this._style}set style(He){this._style=He}get styleClass(){return this._styleClass}set styleClass(He){this._styleClass=He}get tabindex(){return this._tabindex}set tabindex(He){this._tabindex=He}get items(){return this._items}set items(He){this._items=He}get itemSize(){return this._itemSize}set itemSize(He){this._itemSize=He}get scrollHeight(){return this._scrollHeight}set scrollHeight(He){this._scrollHeight=He}get scrollWidth(){return this._scrollWidth}set scrollWidth(He){this._scrollWidth=He}get orientation(){return this._orientation}set orientation(He){this._orientation=He}get step(){return this._step}set step(He){this._step=He}get delay(){return this._delay}set delay(He){this._delay=He}get resizeDelay(){return this._resizeDelay}set resizeDelay(He){this._resizeDelay=He}get appendOnly(){return this._appendOnly}set appendOnly(He){this._appendOnly=He}get inline(){return this._inline}set inline(He){this._inline=He}get lazy(){return this._lazy}set lazy(He){this._lazy=He}get disabled(){return this._disabled}set disabled(He){this._disabled=He}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(He){this._loaderDisabled=He}get columns(){return this._columns}set columns(He){this._columns=He}get showSpacer(){return this._showSpacer}set showSpacer(He){this._showSpacer=He}get showLoader(){return this._showLoader}set showLoader(He){this._showLoader=He}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(He){this._numToleratedItems=He}get loading(){return this._loading}set loading(He){this._loading=He}get autoSize(){return this._autoSize}set autoSize(He){this._autoSize=He}get trackBy(){return this._trackBy}set trackBy(He){this._trackBy=He}get options(){return this._options}set options(He){this._options=He,He&&"object"==typeof He&&Object.entries(He).forEach(([mt,vt])=>this[`_${mt}`]!==vt&&(this[`_${mt}`]=vt))}onLazyLoad=new t.vpe;onScroll=new t.vpe;onScrollIndexChange=new t.vpe;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(He=>this._columns?He:He.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}constructor(He,mt,vt,hn,yt){this.document=He,this.platformId=mt,this.renderer=vt,this.cd=hn,this.zone=yt}ngOnInit(){this.setInitialState()}ngOnChanges(He){let mt=!1;if(He.loading){const{previousValue:vt,currentValue:hn}=He.loading;this.lazy&&vt!==hn&&hn!==this.d_loading&&(this.d_loading=hn,mt=!0)}if(He.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),He.numToleratedItems){const{previousValue:vt,currentValue:hn}=He.numToleratedItems;vt!==hn&&hn!==this.d_numToleratedItems&&(this.d_numToleratedItems=hn)}if(He.options){const{previousValue:vt,currentValue:hn}=He.options;this.lazy&&vt?.loading!==hn?.loading&&hn?.loading!==this.d_loading&&(this.d_loading=hn.loading,mt=!0),vt?.numToleratedItems!==hn?.numToleratedItems&&hn?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=hn.numToleratedItems)}this.initialized&&!mt&&(He.items?.previousValue?.length!==He.items?.currentValue?.length||He.itemSize||He.scrollHeight||He.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(He=>{switch(He.getType()){case"content":this.contentTemplate=He.template;break;case"item":default:this.itemTemplate=He.template;break;case"loader":this.loaderTemplate=He.template;break;case"loadericon":this.loaderIconTemplate=He.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){(0,i.NF)(this.platformId)&&a.p.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=a.p.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=a.p.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=a.p.getWidth(this.contentEl),this.defaultContentHeight=a.p.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(He){this.contentEl=He||this.contentViewChild?.nativeElement||a.p.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(He){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(He)}scrollToIndex(He,mt="auto"){const{numToleratedItems:vt}=this.calculateNumItems(),hn=this.getContentPosition(),yt=(dn=0,qn)=>dn<=qn?0:dn,Fn=(dn,qn,di)=>dn*qn+di,xn=(dn=0,qn=0)=>this.scrollTo({left:dn,top:qn,behavior:mt});let In=0;this.both?(In={rows:yt(He[0],vt[0]),cols:yt(He[1],vt[1])},xn(Fn(In.cols,this._itemSize[1],hn.left),Fn(In.rows,this._itemSize[0],hn.top))):(In=yt(He,vt),this.horizontal?xn(Fn(In,this._itemSize,hn.left),0):xn(0,Fn(In,this._itemSize,hn.top))),this.isRangeChanged=this.first!==In,this.first=In}scrollInView(He,mt,vt="auto"){if(mt){const{first:hn,viewport:yt}=this.getRenderedRange(),Fn=(dn=0,qn=0)=>this.scrollTo({left:dn,top:qn,behavior:vt}),In="to-end"===mt;if("to-start"===mt){if(this.both)yt.first.rows-hn.rows>He[0]?Fn(yt.first.cols*this._itemSize[1],(yt.first.rows-1)*this._itemSize[0]):yt.first.cols-hn.cols>He[1]&&Fn((yt.first.cols-1)*this._itemSize[1],yt.first.rows*this._itemSize[0]);else if(yt.first-hn>He){const dn=(yt.first-1)*this._itemSize;this.horizontal?Fn(dn,0):Fn(0,dn)}}else if(In)if(this.both)yt.last.rows-hn.rows<=He[0]+1?Fn(yt.first.cols*this._itemSize[1],(yt.first.rows+1)*this._itemSize[0]):yt.last.cols-hn.cols<=He[1]+1&&Fn((yt.first.cols+1)*this._itemSize[1],yt.first.rows*this._itemSize[0]);else if(yt.last-hn<=He+1){const dn=(yt.first+1)*this._itemSize;this.horizontal?Fn(dn,0):Fn(0,dn)}}else this.scrollToIndex(He,vt)}getRenderedRange(){const He=(hn,yt)=>Math.floor(hn/(yt||hn));let mt=this.first,vt=0;if(this.elementViewChild?.nativeElement){const{scrollTop:hn,scrollLeft:yt}=this.elementViewChild.nativeElement;this.both?(mt={rows:He(hn,this._itemSize[0]),cols:He(yt,this._itemSize[1])},vt={rows:mt.rows+this.numItemsInViewport.rows,cols:mt.cols+this.numItemsInViewport.cols}):(mt=He(this.horizontal?yt:hn,this._itemSize),vt=mt+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:mt,last:vt}}}calculateNumItems(){const He=this.getContentPosition(),mt=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-He.left:0)||0,vt=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-He.top:0)||0,hn=(In,dn)=>Math.ceil(In/(dn||In)),yt=In=>Math.ceil(In/2),Fn=this.both?{rows:hn(vt,this._itemSize[0]),cols:hn(mt,this._itemSize[1])}:hn(this.horizontal?mt:vt,this._itemSize);return{numItemsInViewport:Fn,numToleratedItems:this.d_numToleratedItems||(this.both?[yt(Fn.rows),yt(Fn.cols)]:yt(Fn))}}calculateOptions(){const{numItemsInViewport:He,numToleratedItems:mt}=this.calculateNumItems(),vt=(Fn,xn,In,dn=!1)=>this.getLast(Fn+xn+(FnArray.from({length:He.cols})):Array.from({length:He})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:hn.cols}:0:hn,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[He,mt]=[a.p.getWidth(this.contentEl),a.p.getHeight(this.contentEl)];He!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),mt!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[vt,hn]=[a.p.getWidth(this.elementViewChild.nativeElement),a.p.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=vtthis.elementViewChild.nativeElement.style[yt]=Fn;this.both||this.horizontal?(hn("height",vt),hn("width",mt)):hn("height",vt)}}setSpacerSize(){if(this._items){const He=this.getContentPosition(),mt=(vt,hn,yt,Fn=0)=>this.spacerStyle={...this.spacerStyle,[`${vt}`]:(hn||[]).length*yt+Fn+"px"};this.both?(mt("height",this._items,this._itemSize[0],He.y),mt("width",this._columns||this._items[1],this._itemSize[1],He.x)):this.horizontal?mt("width",this._columns||this._items,this._itemSize,He.x):mt("height",this._items,this._itemSize,He.y)}}setContentPosition(He){if(this.contentEl&&!this._appendOnly){const mt=He?He.first:this.first,vt=(yt,Fn)=>yt*Fn,hn=(yt=0,Fn=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${yt}px, ${Fn}px, 0)`};if(this.both)hn(vt(mt.cols,this._itemSize[1]),vt(mt.rows,this._itemSize[0]));else{const yt=vt(mt,this._itemSize);this.horizontal?hn(yt,0):hn(0,yt)}}}onScrollPositionChange(He){const mt=He.target,vt=this.getContentPosition(),hn=(fi,Mt)=>fi?fi>Mt?fi-Mt:fi:0,yt=(fi,Mt)=>Math.floor(fi/(Mt||fi)),Fn=(fi,Mt,Ot,ve,De,xe)=>fi<=De?De:xe?Ot-ve-De:Mt+De-1,xn=(fi,Mt,Ot,ve,De,xe,Ye)=>fi<=xe?0:Math.max(0,Ye?fiMt?Ot:fi-2*xe),In=(fi,Mt,Ot,ve,De,xe=!1)=>{let Ye=Mt+ve+2*De;return fi>=De&&(Ye+=De+1),this.getLast(Ye,xe)},dn=hn(mt.scrollTop,vt.top),qn=hn(mt.scrollLeft,vt.left);let di=this.both?{rows:0,cols:0}:0,ir=this.last,Bn=!1,xi=this.lastScrollPos;if(this.both){const fi=this.lastScrollPos.top<=dn,Mt=this.lastScrollPos.left<=qn;if(!this._appendOnly||this._appendOnly&&(fi||Mt)){const Ot={rows:yt(dn,this._itemSize[0]),cols:yt(qn,this._itemSize[1])},ve={rows:Fn(Ot.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],fi),cols:Fn(Ot.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],Mt)};di={rows:xn(Ot.rows,ve.rows,this.first.rows,0,0,this.d_numToleratedItems[0],fi),cols:xn(Ot.cols,ve.cols,this.first.cols,0,0,this.d_numToleratedItems[1],Mt)},ir={rows:In(Ot.rows,di.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:In(Ot.cols,di.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},Bn=di.rows!==this.first.rows||ir.rows!==this.last.rows||di.cols!==this.first.cols||ir.cols!==this.last.cols||this.isRangeChanged,xi={top:dn,left:qn}}}else{const fi=this.horizontal?qn:dn,Mt=this.lastScrollPos<=fi;if(!this._appendOnly||this._appendOnly&&Mt){const Ot=yt(fi,this._itemSize);di=xn(Ot,Fn(Ot,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,Mt),this.first,0,0,this.d_numToleratedItems,Mt),ir=In(Ot,di,0,this.numItemsInViewport,this.d_numToleratedItems),Bn=di!==this.first||ir!==this.last||this.isRangeChanged,xi=fi}}return{first:di,last:ir,isRangeChanged:Bn,scrollPos:xi}}onScrollChange(He){const{first:mt,last:vt,isRangeChanged:hn,scrollPos:yt}=this.onScrollPositionChange(He);if(hn){const Fn={first:mt,last:vt};if(this.setContentPosition(Fn),this.first=mt,this.last=vt,this.lastScrollPos=yt,this.handleEvents("onScrollIndexChange",Fn),this._lazy&&this.isPageChanged){const xn={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):mt,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:vt,this.items.length)};(this.lazyLoadState.first!==xn.first||this.lazyLoadState.last!==xn.last)&&this.handleEvents("onLazyLoad",xn),this.lazyLoadState=xn}}}onContainerScroll(He){if(this.handleEvents("onScroll",{originalEvent:He}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:mt}=this.onScrollPositionChange(He);(mt||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(He),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(He)}bindResizeListener(){(0,i.NF)(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const He=this.document.defaultView,mt=a.p.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(He,mt,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(a.p.isVisible(this.elementViewChild?.nativeElement)){const[He,mt]=[a.p.getWidth(this.elementViewChild?.nativeElement),a.p.getHeight(this.elementViewChild?.nativeElement)],[vt,hn]=[He!==this.defaultWidth,mt!==this.defaultHeight];(this.both?vt||hn:this.horizontal?vt:this.vertical&&hn)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=He,this.defaultHeight=mt,this.defaultContentWidth=a.p.getWidth(this.contentEl),this.defaultContentHeight=a.p.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(He,mt){return this.options&&this.options[He]?this.options[He](mt):this[He].emit(mt)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:He=>this.getOptions(He),loading:this.d_loading,getLoaderOptions:(He,mt)=>this.getLoaderOptions(He,mt),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(He){const mt=(this._items||[]).length,vt=this.both?this.first.rows+He:this.first+He;return{index:vt,count:mt,first:0===vt,last:vt===mt-1,even:vt%2==0,odd:vt%2!=0}}getLoaderOptions(He,mt){const vt=this.loaderArr.length;return{index:He,count:vt,first:0===He,last:He===vt-1,even:He%2==0,odd:He%2!=0,...mt}}static \u0275fac=function(mt){return new(mt||ot)(t.Y36(i.K0),t.Y36(t.Lbi),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(t.R0b))};static \u0275cmp=t.Xpm({type:ot,selectors:[["p-scroller"]],contentQueries:function(mt,vt,hn){if(1&mt&&t.Suo(hn,A.jx,4),2&mt){let yt;t.iGM(yt=t.CRH())&&(vt.templates=yt)}},viewQuery:function(mt,vt){if(1&mt&&(t.Gf(C,5),t.Gf(b,5)),2&mt){let hn;t.iGM(hn=t.CRH())&&(vt.elementViewChild=hn.first),t.iGM(hn=t.CRH())&&(vt.contentViewChild=hn.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[t.TTD],ngContentSelectors:Nt,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["disabledContainer",""],[3,"ngStyle","ngClass","scroll"],["element",""],["buildInContent",""],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],["content",""],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],["buildInLoader",""],[4,"ngFor","ngForOf"],["buildInLoaderIcon",""],[3,"styleClass"],[4,"ngIf"]],template:function(mt,vt){if(1&mt&&(t.F$t(),t.YNc(0,Ze,8,16,"ng-container",0),t.YNc(1,pt,2,1,"ng-template",null,1,t.W1O)),2&mt){const hn=t.MAs(2);t.Q6J("ngIf",!vt._disabled)("ngIfElse",hn)}},dependencies:function(){return[i.mk,i.sg,i.O5,i.tP,i.PC,y.L]},styles:["@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}\n"],encapsulation:2})}return ot})(),nt=(()=>{class ot{static \u0275fac=function(mt){return new(mt||ot)};static \u0275mod=t.oAB({type:ot});static \u0275inj=t.cJS({imports:[i.ez,A.m8,y.L,A.m8]})}return ot})()},8393:(lt,_e,m)=>{"use strict";m.d(_e,{P9:()=>y,Th:()=>A,gb:()=>i});class i{static equals(b,N,j){return j?this.resolveFieldData(b,j)===this.resolveFieldData(N,j):this.equalsByValue(b,N)}static equalsByValue(b,N){if(b===N)return!0;if(b&&N&&"object"==typeof b&&"object"==typeof N){var x,H,k,j=Array.isArray(b),F=Array.isArray(N);if(j&&F){if((H=b.length)!=N.length)return!1;for(x=H;0!=x--;)if(!this.equalsByValue(b[x],N[x]))return!1;return!0}if(j!=F)return!1;var P=this.isDate(b),X=this.isDate(N);if(P!=X)return!1;if(P&&X)return b.getTime()==N.getTime();var me=b instanceof RegExp,Oe=N instanceof RegExp;if(me!=Oe)return!1;if(me&&Oe)return b.toString()==N.toString();var Se=Object.keys(b);if((H=Se.length)!==Object.keys(N).length)return!1;for(x=H;0!=x--;)if(!Object.prototype.hasOwnProperty.call(N,Se[x]))return!1;for(x=H;0!=x--;)if(!this.equalsByValue(b[k=Se[x]],N[k]))return!1;return!0}return b!=b&&N!=N}static resolveFieldData(b,N){if(b&&N){if(this.isFunction(N))return N(b);if(-1==N.indexOf("."))return b[N];{let j=N.split("."),F=b;for(let x=0,H=j.length;x=b.length&&(j%=b.length,N%=b.length),b.splice(j,0,b.splice(N,1)[0]))}static insertIntoOrderedArray(b,N,j,F){if(j.length>0){let x=!1;for(let H=0;HN){j.splice(H,0,b),x=!0;break}x||j.push(b)}else j.push(b)}static findIndexInList(b,N){let j=-1;if(N)for(let F=0;F-1&&(b=b.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),b}static isDate(b){return"[object Date]"===Object.prototype.toString.call(b)}static isEmpty(b){return null==b||""===b||Array.isArray(b)&&0===b.length||!this.isDate(b)&&"object"==typeof b&&0===Object.keys(b).length}static isNotEmpty(b){return!this.isEmpty(b)}static compare(b,N,j,F=1){let x=-1;const H=this.isEmpty(b),k=this.isEmpty(N);return x=H&&k?0:H?F:k?-F:"string"==typeof b&&"string"==typeof N?b.localeCompare(N,j,{numeric:!0}):bN?1:0,x}static sort(b,N,j=1,F,x=1){return(1===x?j:x)*i.compare(b,N,F,j)}static merge(b,N){if(null!=b||null!=N)return null!=b&&"object"!=typeof b||null!=N&&"object"!=typeof N?null!=b&&"string"!=typeof b||null!=N&&"string"!=typeof N?N||b:[b||"",N||""].join(" "):{...b||{},...N||{}}}static isPrintableCharacter(b=""){return this.isNotEmpty(b)&&1===b.length&&b.match(/\S| /)}static getItemValue(b,...N){return this.isFunction(b)?b(...N):b}static findLastIndex(b,N){let j=-1;if(this.isNotEmpty(b))try{j=b.findLastIndex(N)}catch{j=b.lastIndexOf([...b].reverse().find(N))}return j}static findLast(b,N){let j;if(this.isNotEmpty(b))try{j=b.findLast(N)}catch{j=[...b].reverse().find(N)}return j}}var t=0;function A(C="pn_id_"){return`${C}${++t}`}var y=function a(){let C=[];const F=x=>x&&parseInt(x.style.zIndex,10)||0;return{get:F,set:(x,H,k)=>{H&&(H.style.zIndex=String(((x,H)=>{let k=C.length>0?C[C.length-1]:{key:x,value:H},P=k.value+(k.key===x?0:H)+2;return C.push({key:x,value:P}),P})(x,k)))},clear:x=>{x&&((x=>{C=C.filter(H=>H.value!==x)})(F(x)),x.style.zIndex="")},getCurrent:()=>C.length>0?C[C.length-1].value:0}}()},8239:(lt,_e,m)=>{"use strict";function i(A,a,y,C,b,N,j){try{var F=A[N](j),x=F.value}catch(H){return void y(H)}F.done?a(x):Promise.resolve(x).then(C,b)}function t(A){return function(){var a=this,y=arguments;return new Promise(function(C,b){var N=A.apply(a,y);function j(x){i(N,C,b,j,F,"next",x)}function F(x){i(N,C,b,j,F,"throw",x)}j(void 0)})}}m.d(_e,{Z:()=>t})},4911:(lt,_e,m)=>{"use strict";function H(nt,ot,Ct,He){return new(Ct||(Ct=Promise))(function(vt,hn){function yt(In){try{xn(He.next(In))}catch(dn){hn(dn)}}function Fn(In){try{xn(He.throw(In))}catch(dn){hn(dn)}}function xn(In){In.done?vt(In.value):function mt(vt){return vt instanceof Ct?vt:new Ct(function(hn){hn(vt)})}(In.value).then(yt,Fn)}xn((He=He.apply(nt,ot||[])).next())})}function V(nt){return this instanceof V?(this.v=nt,this):new V(nt)}function J(nt,ot,Ct){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var mt,He=Ct.apply(nt,ot||[]),vt=[];return mt={},yt("next"),yt("throw"),yt("return",function hn(di){return function(ir){return Promise.resolve(ir).then(di,dn)}}),mt[Symbol.asyncIterator]=function(){return this},mt;function yt(di,ir){He[di]&&(mt[di]=function(Bn){return new Promise(function(xi,fi){vt.push([di,Bn,xi,fi])>1||Fn(di,Bn)})},ir&&(mt[di]=ir(mt[di])))}function Fn(di,ir){try{!function xn(di){di.value instanceof V?Promise.resolve(di.value.v).then(In,dn):qn(vt[0][2],di)}(He[di](ir))}catch(Bn){qn(vt[0][3],Bn)}}function In(di){Fn("next",di)}function dn(di){Fn("throw",di)}function qn(di,ir){di(ir),vt.shift(),vt.length&&Fn(vt[0][0],vt[0][1])}}function oe(nt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ct,ot=nt[Symbol.asyncIterator];return ot?ot.call(nt):(nt=function me(nt){var ot="function"==typeof Symbol&&Symbol.iterator,Ct=ot&&nt[ot],He=0;if(Ct)return Ct.call(nt);if(nt&&"number"==typeof nt.length)return{next:function(){return nt&&He>=nt.length&&(nt=void 0),{value:nt&&nt[He++],done:!nt}}};throw new TypeError(ot?"Object is not iterable.":"Symbol.iterator is not defined.")}(nt),Ct={},He("next"),He("throw"),He("return"),Ct[Symbol.asyncIterator]=function(){return this},Ct);function He(vt){Ct[vt]=nt[vt]&&function(hn){return new Promise(function(yt,Fn){!function mt(vt,hn,yt,Fn){Promise.resolve(Fn).then(function(xn){vt({value:xn,done:yt})},hn)}(yt,Fn,(hn=nt[vt](hn)).done,hn.value)})}}}m.d(_e,{FC:()=>J,KL:()=>oe,mG:()=>H,qq:()=>V}),"function"==typeof SuppressedError&&SuppressedError}},lt=>{lt(lt.s=8536)}]); \ No newline at end of file diff --git a/back-end/routes/api.php b/back-end/routes/api.php index 2690717f1..01053827b 100644 --- a/back-end/routes/api.php +++ b/back-end/routes/api.php @@ -43,6 +43,7 @@ Route::post('/panel-login', [PainelUsuarioController::class, 'login']); Route::get('/panel-login-check', [PainelUsuarioController::class, 'checkAuthentication']); Route::get('/panel-login-detail', [PainelUsuarioController::class, 'detail']); +Route::get('/panel-logout', [PainelUsuarioController::class, 'logout']); Route::middleware(['panel'])->prefix('Seeder')->group(function () { Route::get('getAll', [SeederController::class, 'index']); diff --git a/back-end/routes/api_tenant.php b/back-end/routes/api_tenant.php index 3e7e7deed..b77f70f1f 100644 --- a/back-end/routes/api_tenant.php +++ b/back-end/routes/api_tenant.php @@ -81,7 +81,6 @@ use App\Http\Controllers\QuestionarioPreenchimentoController; use App\Http\Controllers\QuestionarioPerguntaController; use App\Http\Controllers\QuestionarioPerguntaRespostaController; -use App\Http\Controllers\PgdController; use App\Http\Controllers\JobAgendadoController; /* |-------------------------------------------------------------------------- @@ -114,9 +113,6 @@ function defaultRoutes($controllerClass, $capacidades = []) return ["OK"]; }); -/* PGD */ -Route::get('/exportar/dados', [PgdController::class, 'exportarDados']); -Route::get('/exportar/dados/job', [PgdController::class, 'exportarDadosJob']); /* Rotinas diárias */ diff --git a/front-end/postbuild.js b/front-end/postbuild.js index 485d13791..54a99659f 100644 --- a/front-end/postbuild.js +++ b/front-end/postbuild.js @@ -52,39 +52,39 @@ if (fs.existsSync(indexHtmlPath)) { } // Documentação -const origem = path.resolve(__dirname, '../resources/documentacao/'); -const destinoFrontEnd = path.resolve(__dirname, '../front-end/src/assets/documentacao/'); -const destinoBackEnd = path.resolve(__dirname, '../back-end/public/assets/documentacao/'); - -copiarDiretorio(origem, destinoFrontEnd); -copiarDiretorio(origem, destinoBackEnd); - -function copiarDiretorio(origem, destino) { - if (!fs.existsSync(origem)) { - console.error(`O diretório de origem '${origem}' não existe.`); - return; - } - try { - if (!fs.existsSync(destino)) { - fs.mkdirSync(destino, { recursive: true }); - } - const arquivosDiretorios = fs.readdirSync(origem); - for (const item of arquivosDiretorios) { - const origemItem = path.join(origem, item); - const destinoItem = path.join(destino, item); - const ehDiretorio = fs.statSync(origemItem).isDirectory(); - if (ehDiretorio) { - copiarDiretorio(origemItem, destinoItem); - } else { - fs.copyFileSync(origemItem, destinoItem); - console.log(`Arquivo '${origemItem}' copiado para '${destinoItem}'.`); - } - } - console.log(`Diretório '${origem}' copiado para '${destino}' com sucesso!`); - } catch (error) { - console.error(`Erro ao copiar '${origem}' para '${destino}': ${error.message}`); - } -} +// const origem = path.resolve(__dirname, '../resources/documentacao/'); +// const destinoFrontEnd = path.resolve(__dirname, '../front-end/src/assets/documentacao/'); +// const destinoBackEnd = path.resolve(__dirname, '../back-end/public/assets/documentacao/'); + +// copiarDiretorio(origem, destinoFrontEnd); +// copiarDiretorio(origem, destinoBackEnd); + +// function copiarDiretorio(origem, destino) { +// if (!fs.existsSync(origem)) { +// console.error(`O diretório de origem '${origem}' não existe.`); +// return; +// } +// try { +// if (!fs.existsSync(destino)) { +// fs.mkdirSync(destino, { recursive: true }); +// } +// const arquivosDiretorios = fs.readdirSync(origem); +// for (const item of arquivosDiretorios) { +// const origemItem = path.join(origem, item); +// const destinoItem = path.join(destino, item); +// const ehDiretorio = fs.statSync(origemItem).isDirectory(); +// if (ehDiretorio) { +// copiarDiretorio(origemItem, destinoItem); +// } else { +// fs.copyFileSync(origemItem, destinoItem); +// console.log(`Arquivo '${origemItem}' copiado para '${destinoItem}'.`); +// } +// } +// console.log(`Diretório '${origem}' copiado para '${destino}' com sucesso!`); +// } catch (error) { +// console.error(`Erro ao copiar '${origem}' para '${destino}': ${error.message}`); +// } +// } // Geração do build-info.json const buildInfo = { diff --git a/front-end/src/app.json b/front-end/src/app.json index 99885385a..5b59818c3 100644 --- a/front-end/src/app.json +++ b/front-end/src/app.json @@ -1,5 +1,5 @@ { - "version": "2.0.17", + "version": "2.1.0", "externalLibs": [ "https://apis.google.com/js/platform.js" ], diff --git a/front-end/src/app/app-routing.module.ts b/front-end/src/app/app-routing.module.ts index 3b9e661ff..704afd0cd 100644 --- a/front-end/src/app/app-routing.module.ts +++ b/front-end/src/app/app-routing.module.ts @@ -61,7 +61,7 @@ const routes: Routes = [ ]; @NgModule({ - imports: [RouterModule.forRoot(routes, { useHash: true })], + imports: [RouterModule.forRoot(routes, { useHash: false })], exports: [RouterModule] }) export class AppRoutingModule { } \ No newline at end of file diff --git a/front-end/src/app/guards/panel_admin.guard.ts b/front-end/src/app/guards/panel_admin.guard.ts new file mode 100644 index 000000000..ae1bdeb62 --- /dev/null +++ b/front-end/src/app/guards/panel_admin.guard.ts @@ -0,0 +1,23 @@ +import { Injectable } from "@angular/core"; +import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from "@angular/router"; +import { AuthPanelService } from "../services/auth-panel.service"; +import { Observable } from "rxjs"; + +@Injectable({ + providedIn: 'root', +}) +export class PanelAdminGuard implements CanActivate { + constructor(private router: Router, private auth: AuthPanelService) {} + + + canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | Promise | boolean { + return this.auth.detailUser().then((user: any) => { + if (user && user.nivel == 1) { + return true; + } else { + this.router.navigate(['/panel']); + return false; + } + }); + } +} \ No newline at end of file diff --git a/front-end/src/app/models/programa.model.ts b/front-end/src/app/models/programa.model.ts index 7ee3bd8d9..4910550f8 100644 --- a/front-end/src/app/models/programa.model.ts +++ b/front-end/src/app/models/programa.model.ts @@ -9,6 +9,7 @@ export type ProgramaPeriodicidadeConsolidacao = 'DIAS' | 'SEMANAL' | 'QUINZENAL' export class Programa extends Base { public unidade?: Unidade; + public unidade_autorizadora?: Unidade; public template_tcr?: Template; public tipo_avaliacao_plano_trabalho?: TipoAvaliacao; public tipo_avaliacao_plano_entrega?: TipoAvaliacao; @@ -17,6 +18,7 @@ export class Programa extends Base { public nome: string = ""; /* Nome do programa */ public normativa: string = ""; /* Normativa que regula o programa */ public link_normativa: string = ""; /* Link da Normativa que regula o programa */// + public link_autorizacao: string = ""; /* Link da Normativa que autoriza o programa */// public config: string | null = null; /* Configuração extra de programa */ public data_inicio: Date = new Date(); /* Data de início vigência */ public data_fim: Date = new Date(); /* Data de fim vigência */ @@ -41,6 +43,7 @@ export class Programa extends Base { public tipo_avaliacao_plano_entrega_id: string = ""; /* Tipo de avaliação do plano de entrega */ public tipo_justificativa_id: string | null = null; /* Tipo de justificativa, para quando o gestor não realizar a avaliação dentro do prazo */ public unidade_id: string = ""; /* Unidade vinculada ao programa */ + public unidade_autorizadora_id: string = ""; /* Unidade que autoriza o programa */ public template_tcr_id: string | null = null; /* Template do TCR */ public tipo_documento_tcr_id: string | null = null; /* Tipo de documento do TCR */ diff --git a/front-end/src/app/models/tenant.model.ts b/front-end/src/app/models/tenant.model.ts index a5f2e1e34..c1aa0f5c0 100644 --- a/front-end/src/app/models/tenant.model.ts +++ b/front-end/src/app/models/tenant.model.ts @@ -75,6 +75,8 @@ export class Tenant extends Base { public integracao_wso2_token_password:string = ""; public integracao_usuario_comum: string = ""; public integracao_usuario_chefe: string = ""; + public integracao_siape_conectagov_chave: string = ""; + public integracao_siape_conectagov_senha: string = ""; // SEI public modulo_sei_habilitado: boolean = false; public modulo_sei_private_key: string = ""; diff --git a/front-end/src/app/modules/base/page-form-base.ts b/front-end/src/app/modules/base/page-form-base.ts index f5e577bb4..d1550021a 100644 --- a/front-end/src/app/modules/base/page-form-base.ts +++ b/front-end/src/app/modules/base/page-form-base.ts @@ -35,7 +35,7 @@ export abstract class PageFormBase> ngOnInit() { super.ngOnInit(); const segment = (this.url ? this.url[this.url.length-1]?.path : "") || ""; - this.action = ["edit", "consult"].includes(segment) ? segment : "new"; + this.action = ["edit", "consult", "clone"].includes(segment) ? segment : "new"; this.id = this.action != "new" ? this.urlParams!.get("id")! : undefined; } @@ -57,7 +57,7 @@ export abstract class PageFormBase> return !controls.find(x => !this.form!.controls[x].value?.length); } - public abstract loadData(entity: M, form: FormGroup): Promise | void; + public abstract loadData(entity: M, form: FormGroup, action?: string): Promise | void; public abstract initializeData(form: FormGroup): Promise | void; @@ -67,10 +67,10 @@ export abstract class PageFormBase> (async () => { this.loading = true; try { - if (["edit", "consult"].includes(this.action)) { + if (["edit", "consult", "clone"].includes(this.action)) { const entity = await this.dao!.getById(this.id!, this.join); this.entity = entity!; - await this.loadData(this.entity, this.form!); + await this.loadData(this.entity, this.form!, this.action); } else { /* if (this.action == "new") */ await this.initializeData(this.form!); } diff --git a/front-end/src/app/modules/configuracoes/unidade/unidade-list-grid/unidade-list-grid.component.html b/front-end/src/app/modules/configuracoes/unidade/unidade-list-grid/unidade-list-grid.component.html index 257223ea8..c88e02b18 100644 --- a/front-end/src/app/modules/configuracoes/unidade/unidade-list-grid/unidade-list-grid.component.html +++ b/front-end/src/app/modules/configuracoes/unidade/unidade-list-grid/unidade-list-grid.component.html @@ -1,5 +1,5 @@

    {{title}}

    - +
    diff --git a/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-form/plano-entrega-form.component.ts b/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-form/plano-entrega-form.component.ts index 6496d65b6..d02cf1c2e 100644 --- a/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-form/plano-entrega-form.component.ts +++ b/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-form/plano-entrega-form.component.ts @@ -12,6 +12,7 @@ import { PlanoEntregaDaoService } from 'src/app/dao/plano-entrega-dao.service'; import { ProgramaDaoService, ProgramaMetadata } from 'src/app/dao/programa-dao.service'; import { UnidadeDaoService } from 'src/app/dao/unidade-dao.service'; import { IIndexable } from 'src/app/models/base.model'; +import { PlanoEntregaEntrega } from 'src/app/models/plano-entrega-entrega.model'; import { PlanoEntrega } from 'src/app/models/plano-entrega.model'; import { Programa } from 'src/app/models/programa.model'; import { Unidade } from 'src/app/models/unidade.model'; @@ -66,8 +67,7 @@ export class PlanoEntregaFormComponent extends PageFormBase { @@ -84,7 +84,7 @@ export class PlanoEntregaFormComponent extends PageFormBase { + public formValidation = (form?: FormGroup) => { const inicio = this.form?.controls.data_inicio.value; const fim = this.form?.controls.data_fim.value; const programa = this.programa?.selectedEntity as Programa; @@ -106,13 +106,31 @@ export class PlanoEntregaFormComponent extends PageFormBase { + entrega.id = this.planoEntregaDao.generateUuid(); + entrega.plano_entrega_id = null; + entrega._status = "ADD"; + entrega.progresso_realizado = 0; + return entrega as PlanoEntregaEntrega; + }); + } + let formValue = Object.assign({}, form.value); form.patchValue(this.util.fillForm(formValue, entity)); + if (action == 'clone') { + form.controls.data_inicio.setValue(""); + form.controls.data_fim.setValue(""); + } this.cdRef.detectChanges(); } - public async initializeData(form: FormGroup) { + public async initializeData(form: FormGroup) { this.entity = new PlanoEntrega(); this.entity.unidade_id = this.auth.unidade?.id || ""; this.entity.unidade = this.auth.unidade; @@ -123,7 +141,6 @@ export class PlanoEntregaFormComponent extends PageFormBase { return new Promise((resolve, reject) => { - let planoEntrega: PlanoEntrega = this.util.fill(new PlanoEntrega(), this.entity!); + let planoEntrega: PlanoEntrega = this.util.fill(new PlanoEntrega(), this.entity!); planoEntrega = this.util.fillForm(planoEntrega, this.form!.value); planoEntrega.entregas = planoEntrega.entregas?.filter(x => x._status) || []; resolve(planoEntrega); diff --git a/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list-entrega/plano-entrega-list-entrega.component.ts b/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list-entrega/plano-entrega-list-entrega.component.ts index f0be50b94..dad82e305 100644 --- a/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list-entrega/plano-entrega-list-entrega.component.ts +++ b/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list-entrega/plano-entrega-list-entrega.component.ts @@ -184,7 +184,7 @@ export class PlanoEntregaListEntregaComponent extends PageFrameBase { const btns = []; if(this.isDisabled) btns.push(Object.assign({ onClick: this.consult.bind(this) }, this.OPTION_INFORMACOES)); if(this.execucao) btns.push({ label: "Histórico de execução", icon: "bi bi-activity", color: 'btn-outline-info', onClick: this.showProgresso.bind(this) }); - btns.push({ label: "Detalhes", icon: "bi bi-eye", color: 'btn-outline-success', onClick: this.showDetalhes.bind(this) }); + if(!row._status) btns.push({ label: "Detalhes", icon: "bi bi-eye", color: 'btn-outline-success', onClick: this.showDetalhes.bind(this) }); return btns; } diff --git a/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list/plano-entrega-list.component.ts b/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list/plano-entrega-list.component.ts index 85f4f5a55..ef4ff210f 100644 --- a/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list/plano-entrega-list.component.ts +++ b/front-end/src/app/modules/gestao/plano-entrega/plano-entrega-list/plano-entrega-list.component.ts @@ -52,6 +52,7 @@ export class PlanoEntregaListComponent extends PageListBase { this.go.navigate({ route: ['gestao', 'plano-entrega', 'adesao'] }, { metadata: { planoEntrega: this.linha }, modalClose: (modalResult) => { this.refresh(); } }); }).bind(this) }; this.BOTAO_ADERIR_TOOLBAR = { label: "Aderir", disabled: !this.habilitarAdesaoToolbar, icon: this.entityService.getIcon("Adesao"), onClick: (() => { this.go.navigate({ route: ['gestao', 'plano-entrega', 'adesao'] }, { modalClose: (modalResult) => { this.refresh(); } }); }).bind(this) }; this.BOTAO_ALTERAR = { label: "Alterar", icon: "bi bi-pencil-square", color: "btn-outline-info", onClick: (planoEntrega: PlanoEntrega) => this.go.navigate({ route: ['gestao', 'plano-entrega', planoEntrega.id, 'edit'] }, this.modalRefreshId(planoEntrega)) }; + this.BOTAO_CLONAR = { label: "Clonar", icon: "bi bi-copy", color: "btn-outline-primary", onClick: (planoEntrega: PlanoEntrega) => this.go.navigate({ route: ['gestao', 'plano-entrega', planoEntrega.id, 'clone']}, this.modalRefreshId(planoEntrega)) }; this.BOTAO_ARQUIVAR = { label: "Arquivar", icon: "bi bi-inboxes", onClick: this.arquivar.bind(this) }; this.BOTAO_AVALIAR = { label: "Avaliar", icon: this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS, "AVALIADO"), color: this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS, "AVALIADO"), onClick: this.avaliar.bind(this) }; this.BOTAO_CANCELAR_PLANO = { label: "Cancelar plano", icon: this.lookup.getIcon(this.lookup.PLANO_ENTREGA_STATUS, "CANCELADO"), color: this.lookup.getColor(this.lookup.PLANO_ENTREGA_STATUS, "CANCELADO"), onClick: this.cancelarPlano.bind(this) }; @@ -136,7 +138,7 @@ export class PlanoEntregaListComponent extends PageListBase - +
    diff --git a/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-form/plano-trabalho-form.component.ts b/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-form/plano-trabalho-form.component.ts index 43530ef3b..1daaa5b81 100644 --- a/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-form/plano-trabalho-form.component.ts +++ b/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-form/plano-trabalho-form.component.ts @@ -32,6 +32,7 @@ import { TemplateDataset, TemplateService } from 'src/app/modules/uteis/template import { Template } from 'src/app/models/template.model'; import { UtilService } from 'src/app/services/util.service'; import moment from 'moment'; +import { PlanoTrabalhoEntrega } from 'src/app/models/plano-trabalho-entrega.model'; @Component({ selector: 'plano-trabalho-form', @@ -294,7 +295,19 @@ export class PlanoTrabalhoFormComponent extends PageFormBase { + entrega.id = this.documentoDao.generateUuid(); + entrega._status = "ADD"; + return entrega as PlanoTrabalhoEntrega; + }); + } + this.planoTrabalho = new PlanoTrabalho(entity); await Promise.all([ this.calendar.loadFeriadosCadastrados(entity.unidade_id), @@ -305,6 +318,10 @@ export class PlanoTrabalhoFormComponent extends PageFormBase x.id == entity.documento_id); if(documento) this._datasource = documento.datasource;*/ this.calculaTempos(); diff --git a/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-list/plano-trabalho-list.component.ts b/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-list/plano-trabalho-list.component.ts index d9d52f0db..d52ef6dec 100644 --- a/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-list/plano-trabalho-list.component.ts +++ b/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-list/plano-trabalho-list.component.ts @@ -55,6 +55,7 @@ export class PlanoTrabalhoListComponent extends PageListBase< public BOTAO_ARQUIVAR: ToolbarButton; public BOTAO_ASSINAR: ToolbarButton; public BOTAO_ATIVAR: ToolbarButton; + public BOTAO_CLONAR: ToolbarButton; public BOTAO_CANCELAR_ASSINATURA: ToolbarButton; public BOTAO_CANCELAR_PLANO: ToolbarButton; public BOTAO_DESARQUIVAR: ToolbarButton; @@ -242,6 +243,8 @@ export class PlanoTrabalhoListComponent extends PageListBase< ), onClick: this.suspender.bind(this), }; + this.BOTAO_CLONAR = { label: "Clonar", icon: "bi bi-copy", color: "btn-outline-primary", onClick: (planoTrabalho: PlanoTrabalho) => this.go.navigate({ route: ['gestao', 'plano-trabalho', planoTrabalho.id, 'clone'] }, this.modalRefreshId(planoTrabalho)) }; + this.botoes = [ this.BOTAO_ALTERAR, this.BOTAO_ARQUIVAR, @@ -257,6 +260,7 @@ export class PlanoTrabalhoListComponent extends PageListBase< this.BOTAO_CONSOLIDACOES, this.BOTAO_REATIVAR, this.BOTAO_SUSPENDER, + this.BOTAO_CLONAR ]; this.rowsLimit = 10; } @@ -689,6 +693,8 @@ export class PlanoTrabalhoListComponent extends PageListBase< return this.auth.hasPermissionTo("MOD_PTR"); case this.BOTAO_CONSOLIDACOES: return true; + case this.BOTAO_CLONAR: + return this.auth.hasPermissionTo("MOD_PTR_INCL"); } } } diff --git a/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-routing.module.ts b/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-routing.module.ts index 3f180998e..d4551061d 100644 --- a/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-routing.module.ts +++ b/front-end/src/app/modules/gestao/plano-trabalho/plano-trabalho-routing.module.ts @@ -24,6 +24,7 @@ const routes: Routes = [ { path: 'consolidacao/:usuarioId/:planoTrabalhoId', component: PlanoTrabalhoConsolidacaoListComponent, canActivate: [AuthGuard], resolve: { config: ConfigResolver }, runGuardsAndResolvers: 'always', data: { title: "Consolidações do Plano de Trabalho" } }, { path: 'consolidacao', component: PlanoTrabalhoConsolidacaoComponent, canActivate: [AuthGuard], resolve: { config: ConfigResolver }, runGuardsAndResolvers: 'always', data: { title: "Consolidações" } }, { path: ':id/edit', component: PlanoTrabalhoFormComponent, canActivate: [AuthGuard], resolve: { config: ConfigResolver }, runGuardsAndResolvers: 'always', data: { title: "Edição de Plano de Trabalho", modal: true } }, + { path: ':id/clone', component: PlanoTrabalhoFormComponent, canActivate: [AuthGuard], resolve: { config: ConfigResolver }, runGuardsAndResolvers: 'always', data: { title: "Clone de Plano de Trabalho", modal: true } }, { path: ':id/consult', component: PlanoTrabalhoFormComponent, canActivate: [AuthGuard], resolve: { config: ConfigResolver }, runGuardsAndResolvers: 'always', data: { title: "Consulta a Plano de Trabalho", modal: true } }, { path: 'entrega-list', component: PlanoTrabalhoListEntregaComponent, canActivate: [AuthGuard], resolve: { config: ConfigResolver }, runGuardsAndResolvers: 'always', data: { title: "Lista de Entregas do Plano de Trabalho", modal: true } }, ]; diff --git a/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.html b/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.html index 07778adc5..3a1ccd359 100644 --- a/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.html +++ b/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.html @@ -3,7 +3,8 @@
    - + +
    @@ -12,8 +13,8 @@
    - - + +
    diff --git a/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.ts b/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.ts index d297bff97..352dba730 100644 --- a/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.ts +++ b/front-end/src/app/modules/gestao/programa/programa-form/programa-form.component.ts @@ -46,9 +46,11 @@ export class ProgramaFormComponent extends PageFormBase { let result = null; - if (['nome', 'unidade_id', 'tipo_avaliacao_plano_trabalho_id', 'tipo_avaliacao_plano_entrega_id'].indexOf(controlName) >= 0 && !control.value?.length) { + if (['nome', 'unidade_autorizadora_id', 'unidade_id', 'tipo_avaliacao_plano_trabalho_id', 'tipo_avaliacao_plano_entrega_id'].indexOf(controlName) >= 0 && !control.value?.length) { result = "Obrigatório"; } else if (controlName == "prazo_max_plano_entrega" && parseInt(control.value || 0) > 99999) { result = "Inválido"; @@ -102,6 +104,8 @@ export class ProgramaFormComponent extends PageFormBase this.form?.controls.data_fim.value) { result = "A data do fim não pode ser anterior à data do inicio!"; + } else if(this.form?.controls.data_fim.value == this.form?.controls.data_inicio.value){ + result = "A data do fim não pode ser igual à data do inicio!"; } return result; } diff --git a/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.html b/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.html index 6a781b413..573dd66f2 100644 --- a/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.html +++ b/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.html @@ -4,6 +4,8 @@ + +
    diff --git a/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.ts b/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.ts index 34bd7ee43..92bba8ee6 100644 --- a/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.ts +++ b/front-end/src/app/modules/panel/panel-admins-form/panel-admins-form.component.ts @@ -39,6 +39,7 @@ export class PanelAdminsFormComponent extends PageFormBase
    - +
    +
    + + +
    - +
    diff --git a/front-end/src/app/modules/panel/panel-form/panel-form.component.ts b/front-end/src/app/modules/panel/panel-form/panel-form.component.ts index d189c6a78..8b0c1fe43 100644 --- a/front-end/src/app/modules/panel/panel-form/panel-form.component.ts +++ b/front-end/src/app/modules/panel/panel-form/panel-form.component.ts @@ -123,6 +123,8 @@ export class PanelFormComponent extends PageFormBase { integracao_wso2_token_password: { default: "" }, integracao_usuario_comum: { default: "Participante" }, integracao_usuario_chefe: { default: "Chefia de Unidade Executora" }, + integracao_siape_conectagov_chave: { default: "" }, + integracao_siape_conectagov_senha: { default: "" }, // SEI modulo_sei_habilitado: { default: false }, modulo_sei_private_key: { default: "" }, diff --git a/front-end/src/app/modules/panel/panel-job-agendados/panel-job-agendados.component.ts b/front-end/src/app/modules/panel/panel-job-agendados/panel-job-agendados.component.ts index c2f704d4a..f3034be9e 100644 --- a/front-end/src/app/modules/panel/panel-job-agendados/panel-job-agendados.component.ts +++ b/front-end/src/app/modules/panel/panel-job-agendados/panel-job-agendados.component.ts @@ -132,7 +132,7 @@ export class JobAgendadoComponent extends PageListBase private async LoadClassJobs() { try { const result = await this.jobAgendadoDao.getClassJobs(); - console.log(result); + if (result) { this.jobTypes = Object.keys(result.data).map(key => ({ value: key, diff --git a/front-end/src/app/modules/panel/panel-layout/panel-layout.component.html b/front-end/src/app/modules/panel/panel-layout/panel-layout.component.html index e67d63b50..689009f22 100644 --- a/front-end/src/app/modules/panel/panel-layout/panel-layout.component.html +++ b/front-end/src/app/modules/panel/panel-layout/panel-layout.component.html @@ -1,22 +1,23 @@ -
    diff --git a/front-end/src/app/services/auth-panel.service.ts b/front-end/src/app/services/auth-panel.service.ts index 9b7b4aa6e..ffa58d4b9 100644 --- a/front-end/src/app/services/auth-panel.service.ts +++ b/front-end/src/app/services/auth-panel.service.ts @@ -1,54 +1,72 @@ -import {Injectable, Injector} from '@angular/core'; +import {Injectable, Injector} from "@angular/core"; import {ServerService} from "./server.service"; @Injectable({ - providedIn: 'root' + providedIn: "root", }) export class AuthPanelService { + private _server?: ServerService; + public get server(): ServerService { + this._server = + this._server || this.injector.get(ServerService); + return this._server; + } - private _server?: ServerService; - public get server(): ServerService { - this._server = this._server || this.injector.get(ServerService); - return this._server; - }; + constructor(public injector: Injector) {} - constructor(public injector: Injector) { } + isAuthenticated(): Promise { + return this.server + .get("api/panel-login-check") + .toPromise() + .then((response) => { + if (response && response.authenticated !== undefined) { + return response.authenticated; + } else { + throw new Error("Resposta inválida do servidor"); + } + }) + .catch((error) => { + console.error("Erro ao verificar autenticação:", error); + return false; + }); + } - isAuthenticated(): Promise { - return this.server.get("api/panel-login-check") - .toPromise() - .then(response => { - if (response && response.authenticated !== undefined) { - return response.authenticated; - } else { - throw new Error("Resposta inválida do servidor"); - } - }) - .catch(error => { - console.error("Erro ao verificar autenticação:", error); - return false; - }); - } + public loginPanel(email: string, password: string) { + return this.server + .post("api/panel-login", {email: email, password: password}) + .toPromise() + .then((response) => { + return response; + }); + } - public loginPanel(email: string,password: string) { - return this.server.post("api/panel-login", { email: email,password: password }).toPromise().then(response => { - return response; - }); - } + public logout() { + return this.server + .get("api/panel-logout") + .toPromise() + .then((response) => { + return response; + }) + .catch((error) => { + console.error("Erro ao verificar autenticação:", error); + return false; + }); + } - public detailUser(){ - return this.server.get("api/panel-login-detail") - .toPromise() - .then(response => { - if (response) { - return response; - } else { - throw new Error("Resposta inválida do servidor"); - } - }) - .catch(error => { - console.error("Erro ao verificar autenticação:", error); - return false; - }); - } + public detailUser() { + return this.server + .get("api/panel-login-detail") + .toPromise() + .then((response) => { + if (response) { + return response; + } else { + throw new Error("Resposta inválida do servidor"); + } + }) + .catch((error) => { + console.error("Erro ao verificar autenticação:", error); + return false; + }); + } } diff --git a/front-end/src/app/services/lookup.service.ts b/front-end/src/app/services/lookup.service.ts index 27fed1daf..f26e31733 100644 --- a/front-end/src/app/services/lookup.service.ts +++ b/front-end/src/app/services/lookup.service.ts @@ -222,6 +222,7 @@ export class LookupService implements IIndexable { { key: 'GESTOR_DELEGADO', value: "Servidor Delegado", icon: "bi bi-star-fill", color: "danger" }, { key: 'GESTOR_SUBSTITUTO', value: "Chefe Substituto", icon: "bi bi-star-half", color: "primary" }, //{ key: 'HOMOLOGADOR_PLANO_ENTREGA', value: "Homologador (Planos de Entrega)", icon: "bi bi-check2-square", color: "success" }, + { key: 'CURADOR', value: "Curador", icon: "bi bi-person-badge-fill", color: "primary" }, { key: 'LOTADO', value: "Lotado", icon: "bi bi-file-person", color: "dark" } ]; @@ -832,8 +833,8 @@ export class LookupService implements IIndexable { public TIPO_INTEGRACAO: LookupItem[] = [ { key: 'NENHUMA', value: 'Nenhuma' }, //{ key: 'WSO2', value: 'Siape-PRF' }, - { key: 'SIAPE', value: 'Siape-WS' }, - { key: 'API', value: 'API' }, + { key: 'SIAPE', value: 'API Consulta SIAPE' }, + { key: 'API', value: 'API de envio de dados' }, ]; public GOV_BR_ENV: LookupItem[] = [ @@ -884,6 +885,12 @@ export class LookupService implements IIndexable { { 'key': 'DECRESCIMO', 'value': 'Subtrai' } ]; + public NIVEL_USUARIO_PAINEL: LookupItem[] = [ + { 'key': 1, 'value': 'Administrador geral' }, + { 'key': 2, 'value': 'Configurador' } + ]; + + public getLookup(itens: LookupItem[], key: any) { diff --git a/resources/Modelagem Petrvs20 b/resources/Modelagem Petrvs20 deleted file mode 100644 index 8a94f5da9..000000000 --- a/resources/Modelagem Petrvs20 +++ /dev/null @@ -1,120 +0,0 @@ -Cadastro Entregas (OK) - Nome - Indicador -*** Atividade (FALTA FAZER) - -Cadastro de Eixos Temáticos (Grupo de objetivos) (OK) - Nome - -*** PLANO ESTRATÉGICO - -Plano de Gestão/Entregas - Unidade (Setor) - Objetivos (Opcional) - Grupo-tematico Obj-estratégico - Ob1 ... - - - Ob2 ... - - - Entregas - Inicio Fim Indicador (vem do cadastro entrega) Metal geral Realizado Objetivos Pai - Ent1: 01/01/2022 - Quantidade 1000 200 Ob1, Ob1 - Ent2: 01/01/2022 30/12/2022 % 100 70 Ob2 - Ent3: 01/01/2022 30/12/2024 Qualitativo Excelente Bom - ... - Ponto de controle - [01/01/2023][30/01/2023]: - Entregas: - Indicador (vem do cadastro entrega) Meta Realizado - Ent1: Quantidade 100 90 - Ent3: Qualitativo Satisfatório Ruim - [01/02/2023][30/02/2023]: - Entregas: - Indicador (vem do cadastro entrega) Meta Realizado - Ent1: Quantidade 110 110 - Ent2: % 70 70 - Ent3: Qualitativo Excelente Bom - -Plano trabalho -Servidor: Genisson -Unidade (Setor): X - Plano de entregas - [01/01/2023] - [30/06/2023] - Programa de Gestão: PGD 2.0 (Mensal) - - Pontos de controle - [01/01/2023][30/01/2023]: - Entregas: - Meta Realizado Demanda - - Ent1: 10h 20h 0h - - Ent2: 10h 0h 0h - - Ent3: 10h 10h 0h - - Ent4: 10h 10h 0h - Nota: 8 - [01/02/2023][30/02/2023] - Entregas: - Meta Realizado Demanda - - Ent1: 10h 0h 0h - - Ent2: 10h 0h 0h - - Ent3: 10h 0h 0h - - Ent4: 10h 5h 0h - - Ent5: 0h 35h 0h - Nota: 8 - [01/03/2023][30/03/2023] - Entregas: - Meta Realizado Demanda - - Ent1: 10h 20h 20h - - Ent2: 10h 10h 10h - - Ent3: 10h 10h 10h - - Ent4: 10h 10h 10h - Nota: 8 - [01/04/2023][30/04/2023] - Entregas: - Meta Realizado Demanda - - Ent1: 10h 10h 10h - - Ent2: 10h 0h 0h - - Ent3: 10h 0h 0h - - Ent4: 10h 0h 0h - Horas de afastamento: 30h - Nota: 8 - [01/05/2023][30/05/2023] - Entregas: - - Ent1: 10h - - Ent2: 10h - - Ent3: 10h - - Ent4: 10h - Nota: 8 - [30/06/2023] - - -Demandas - [Plano de trabalho] -> [Plano de entrega] -> *[Entrega] - - - - - -Plano - Plano Atividades - Documentos - - - - - - -Exemplo: -PRF (plano gestao) - MAPA - Objetivos - Entragas - -DIREX (Plano entrega) - Entregas - -DGP (Plano entrega) - Entregas - -TIC (Plano gestao/entrega) - Reflete o PDTI - Objetivos - Entegas - -TIC-PI - Entregas - -Genisson - Entregas \ No newline at end of file diff --git a/resources/PETRVS.postman_collection.json b/resources/PETRVS.postman_collection.json deleted file mode 100644 index 4c744c85e..000000000 --- a/resources/PETRVS.postman_collection.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "info": { - "_postman_id": "bb7dcd6e-6a1d-4c6d-8d63-6a60146a3ebf", - "name": "PETRVS", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "4676344" - }, - "item": [ - { - "name": "http://localhost/api/integracao?unidades=true&servidores=false&entidade=52d78c7d-e0c1-422b-b094-2ca5958d5ac1", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "X-ENTIDADE", - "value": "PRF", - "type": "text" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [] - }, - "url": { - "raw": "http://localhost/api/integracao?unidades=true&servidores=true&entidade=52d78c7d-e0c1-422b-b094-2ca5958d5ac1", - "protocol": "http", - "host": [ - "localhost" - ], - "path": [ - "api", - "integracao" - ], - "query": [ - { - "key": "unidades", - "value": "true" - }, - { - "key": "servidores", - "value": "true" - }, - { - "key": "entidade", - "value": "52d78c7d-e0c1-422b-b094-2ca5958d5ac1" - } - ] - } - }, - "response": [] - } - ] -} \ No newline at end of file diff --git a/resources/certificados/Configurar o cacert.txt b/resources/certificados/Configurar o cacert.txt deleted file mode 100644 index 3dc1273da..000000000 --- a/resources/certificados/Configurar o cacert.txt +++ /dev/null @@ -1,9 +0,0 @@ -1- I downloaded the cacert.pem from https://curl.se/docs/caextract.html - -2- I copied the cert to /usr/local/etc/ssl/certs/cacert.pem - -3- I added this line to the php.ini: -openssl.cafile="/usr/local/etc/ssl/certs/cacert.pem" -curl.cainfo="/usr/local/etc/ssl/certs/cacert.pem" - -4- restart the server and done. \ No newline at end of file diff --git a/resources/certificados/cacert.pem b/resources/certificados/cacert.pem deleted file mode 100644 index 72b1a85ef..000000000 --- a/resources/certificados/cacert.pem +++ /dev/null @@ -1,3460 +0,0 @@ -## -## Bundle of CA Root Certificates -## -## Certificate data from Mozilla as of: Tue Jul 19 03:12:06 2022 GMT -## -## This is a bundle of X.509 certificates of public Certificate Authorities -## (CA). These were automatically extracted from Mozilla's root certificates -## file (certdata.txt). This file can be found in the mozilla source tree: -## https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt -## -## It contains the certificates in PEM format and therefore -## can be directly used with curl / libcurl / php_curl, or with -## an Apache+mod_ssl webserver for SSL client authentication. -## Just configure this file as the SSLCACertificateFile. -## -## Conversion done with mk-ca-bundle.pl version 1.29. -## SHA256: 9bf3799611fb58197f61d45e71ce3dc19f30e7dd73731915872ce5108a7bb066 -## - - -GlobalSign Root CA -================== ------BEGIN CERTIFICATE----- -MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkGA1UEBhMCQkUx -GTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jvb3QgQ0ExGzAZBgNVBAMTEkds -b2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAwMDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNV -BAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYD -VQQDExJHbG9iYWxTaWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDa -DuaZjc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavpxy0Sy6sc -THAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp1Wrjsok6Vjk4bwY8iGlb -Kk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdGsnUOhugZitVtbNV4FpWi6cgKOOvyJBNP -c1STE4U6G7weNLWLBYy5d4ux2x8gkasJU26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrX -gzT/LCrBbBlDSgeF59N89iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV -HRMBAf8EBTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0BAQUF -AAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOzyj1hTdNGCbM+w6Dj -Y1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE38NflNUVyRRBnMRddWQVDf9VMOyG -j/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymPAbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhH -hm4qxFYxldBniYUr+WymXUadDKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveC -X4XSQRjbgbMEHMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A== ------END CERTIFICATE----- - -Entrust.net Premium 2048 Secure Server CA -========================================= ------BEGIN CERTIFICATE----- -MIIEKjCCAxKgAwIBAgIEOGPe+DANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChMLRW50cnVzdC5u -ZXQxQDA+BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBpbmNvcnAuIGJ5IHJlZi4gKGxp -bWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNV -BAMTKkVudHJ1c3QubmV0IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw05OTEyMjQx -NzUwNTFaFw0yOTA3MjQxNDE1MTJaMIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5ldDFAMD4GA1UECxQ3 -d3d3LmVudHJ1c3QubmV0L0NQU18yMDQ4IGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTEl -MCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDEzMDEGA1UEAxMqRW50cnVzdC5u -ZXQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgKDIwNDgpMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEArU1LqRKGsuqjIAcVFmQqK0vRvwtKTY7tgHalZ7d4QMBzQshowNtTK91euHaYNZOL -Gp18EzoOH1u3Hs/lJBQesYGpjX24zGtLA/ECDNyrpUAkAH90lKGdCCmziAv1h3edVc3kw37XamSr -hRSGlVuXMlBvPci6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7xxGWC4LeksyZB2ZnuU4q941mVTXTzW -nLLPKQP5L6RQstRIzgUyVYr9smRMDuSYB3Xbf9+5CFVghTAp+XtIpGmG4zU/HoZdenoVve8AjhUi -VBcAkCaTvA5JaJG/+EfTnZVCwQ5N328mz8MYIWJmQ3DW1cAH4QIDAQABo0IwQDAOBgNVHQ8BAf8E -BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUVeSB0RGAvtiJuQijMfmhJAkWuXAwDQYJ -KoZIhvcNAQEFBQADggEBADubj1abMOdTmXx6eadNl9cZlZD7Bh/KM3xGY4+WZiT6QBshJ8rmcnPy -T/4xmf3IDExoU8aAghOY+rat2l098c5u9hURlIIM7j+VrxGrD9cv3h8Dj1csHsm7mhpElesYT6Yf -zX1XEC+bBAlahLVu2B064dae0Wx5XnkcFMXj0EyTO2U87d89vqbllRrDtRnDvV5bu/8j72gZyxKT -J1wDLW8w0B62GqzeWvfRqqgnpv55gcR5mTNXuhKwqeBCbJPKVt7+bYQLCIt+jerXmCHG8+c8eS9e -nNFMFY3h7CI3zJpDC5fcgJCNs2ebb0gIFVbPv/ErfF6adulZkMV8gzURZVE= ------END CERTIFICATE----- - -Baltimore CyberTrust Root -========================= ------BEGIN CERTIFICATE----- -MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJRTESMBAGA1UE -ChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYDVQQDExlCYWx0aW1vcmUgQ3li -ZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoXDTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMC -SUUxEjAQBgNVBAoTCUJhbHRpbW9yZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFs -dGltb3JlIEN5YmVyVHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKME -uyKrmD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjrIZ3AQSsB -UnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeKmpYcqWe4PwzV9/lSEy/C -G9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSuXmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9 -XbIGevOF6uvUA65ehD5f/xXtabz5OTZydc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjpr -l3RjM71oGDHweI12v/yejl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoI -VDaGezq1BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEB -BQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT929hkTI7gQCvlYpNRh -cL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3WgxjkzSswF07r51XgdIGn9w/xZchMB5 -hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsa -Y71k5h+3zvDyny67G7fyUIhzksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9H -RCwBXbsdtTLSR9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp ------END CERTIFICATE----- - -Entrust Root Certification Authority -==================================== ------BEGIN CERTIFICATE----- -MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMCVVMxFjAUBgNV -BAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0Lm5ldC9DUFMgaXMgaW5jb3Jw -b3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMWKGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsG -A1UEAxMkRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTEyNzIwMjM0 -MloXDTI2MTEyNzIwNTM0MlowgbAxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMu -MTkwNwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvQ1BTIGlzIGluY29ycG9yYXRlZCBieSByZWZlcmVu -Y2UxHzAdBgNVBAsTFihjKSAyMDA2IEVudHJ1c3QsIEluYy4xLTArBgNVBAMTJEVudHJ1c3QgUm9v -dCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -ALaVtkNC+sZtKm9I35RMOVcF7sN5EUFoNu3s/poBj6E4KPz3EEZmLk0eGrEaTsbRwJWIsMn/MYsz -A9u3g3s+IIRe7bJWKKf44LlAcTfFy0cOlypowCKVYhXbR9n10Cv/gkvJrT7eTNuQgFA/CYqEAOww -Cj0Yzfv9KlmaI5UXLEWeH25DeW0MXJj+SKfFI0dcXv1u5x609mhF0YaDW6KKjbHjKYD+JXGIrb68 -j6xSlkuqUY3kEzEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH+5pPi94DkZfs0Nw4pgHBN -rziGLp5/V6+eF67rHMsoIV+2HNjnogQi+dPa2MsCAwEAAaOBsDCBrTAOBgNVHQ8BAf8EBAMCAQYw -DwYDVR0TAQH/BAUwAwEB/zArBgNVHRAEJDAigA8yMDA2MTEyNzIwMjM0MlqBDzIwMjYxMTI3MjA1 -MzQyWjAfBgNVHSMEGDAWgBRokORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DH -hmak8fdLQ/uEvW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA -A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9tO1KzKtvn1ISM -Y/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6ZuaAGAT/3B+XxFNSRuzFVJ7yVTa -v52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTS -W3iDVuycNsMm4hH2Z0kdkquM++v/eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0 -tHuu2guQOHXvgR1m0vdXcDazv/wor3ElhVsT/h5/WrQ8 ------END CERTIFICATE----- - -Comodo AAA Services root -======================== ------BEGIN CERTIFICATE----- -MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS -R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg -TGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAw -MFoXDTI4MTIzMTIzNTk1OVowezELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hl -c3RlcjEQMA4GA1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNV -BAMMGEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQuaBtDFcCLNSS1UY8y2bmhG -C1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe3M/vg4aijJRPn2jymJBGhCfHdr/jzDUs -i14HZGWCwEiwqJH5YZ92IFCokcdmtet4YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszW -Y19zjNoFmag4qMsXeDZRrOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjH -Ypy+g8cmez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQUoBEK -Iz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wewYDVR0f -BHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20vQUFBQ2VydGlmaWNhdGVTZXJ2aWNl -cy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29tb2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2Vz -LmNybDANBgkqhkiG9w0BAQUFAAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm -7l3sAg9g1o1QGE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz -Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2G9w84FoVxp7Z -8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsil2D4kF501KKaU73yqWjgom7C -12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg== ------END CERTIFICATE----- - -QuoVadis Root CA 2 -================== ------BEGIN CERTIFICATE----- -MIIFtzCCA5+gAwIBAgICBQkwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQk0xGTAXBgNVBAoT -EFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMTElF1b1ZhZGlzIFJvb3QgQ0EgMjAeFw0wNjExMjQx -ODI3MDBaFw0zMTExMjQxODIzMzNaMEUxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBM -aW1pdGVkMRswGQYDVQQDExJRdW9WYWRpcyBSb290IENBIDIwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQCaGMpLlA0ALa8DKYrwD4HIrkwZhR0In6spRIXzL4GtMh6QRr+jhiYaHv5+HBg6 -XJxgFyo6dIMzMH1hVBHL7avg5tKifvVrbxi3Cgst/ek+7wrGsxDp3MJGF/hd/aTa/55JWpzmM+Yk -lvc/ulsrHHo1wtZn/qtmUIttKGAr79dgw8eTvI02kfN/+NsRE8Scd3bBrrcCaoF6qUWD4gXmuVbB -lDePSHFjIuwXZQeVikvfj8ZaCuWw419eaxGrDPmF60Tp+ARz8un+XJiM9XOva7R+zdRcAitMOeGy -lZUtQofX1bOQQ7dsE/He3fbE+Ik/0XX1ksOR1YqI0JDs3G3eicJlcZaLDQP9nL9bFqyS2+r+eXyt -66/3FsvbzSUr5R/7mp/iUcw6UwxI5g69ybR2BlLmEROFcmMDBOAENisgGQLodKcftslWZvB1Jdxn -wQ5hYIizPtGo/KPaHbDRsSNU30R2be1B2MGyIrZTHN81Hdyhdyox5C315eXbyOD/5YDXC2Og/zOh -D7osFRXql7PSorW+8oyWHhqPHWykYTe5hnMz15eWniN9gqRMgeKh0bpnX5UHoycR7hYQe7xFSkyy -BNKr79X9DFHOUGoIMfmR2gyPZFwDwzqLID9ujWc9Otb+fVuIyV77zGHcizN300QyNQliBJIWENie -J0f7OyHj+OsdWwIDAQABo4GwMIGtMA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgEGMB0GA1Ud -DgQWBBQahGK8SEwzJQTU7tD2A8QZRtGUazBuBgNVHSMEZzBlgBQahGK8SEwzJQTU7tD2A8QZRtGU -a6FJpEcwRTELMAkGA1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMT -ElF1b1ZhZGlzIFJvb3QgQ0EgMoICBQkwDQYJKoZIhvcNAQEFBQADggIBAD4KFk2fBluornFdLwUv -Z+YTRYPENvbzwCYMDbVHZF34tHLJRqUDGCdViXh9duqWNIAXINzng/iN/Ae42l9NLmeyhP3ZRPx3 -UIHmfLTJDQtyU/h2BwdBR5YM++CCJpNVjP4iH2BlfF/nJrP3MpCYUNQ3cVX2kiF495V5+vgtJodm -VjB3pjd4M1IQWK4/YY7yarHvGH5KWWPKjaJW1acvvFYfzznB4vsKqBUsfU16Y8Zsl0Q80m/DShcK -+JDSV6IZUaUtl0HaB0+pUNqQjZRG4T7wlP0QADj1O+hA4bRuVhogzG9Yje0uRY/W6ZM/57Es3zrW -IozchLsib9D45MY56QSIPMO661V6bYCZJPVsAfv4l7CUW+v90m/xd2gNNWQjrLhVoQPRTUIZ3Ph1 -WVaj+ahJefivDrkRoHy3au000LYmYjgahwz46P0u05B/B5EqHdZ+XIWDmbA4CD/pXvk1B+TJYm5X -f6dQlfe6yJvmjqIBxdZmv3lh8zwc4bmCXF2gw+nYSL0ZohEUGW6yhhtoPkg3Goi3XZZenMfvJ2II -4pEZXNLxId26F0KCl3GBUzGpn/Z9Yr9y4aOTHcyKJloJONDO1w2AFrR4pTqHTI2KpdVGl/IsELm8 -VCLAAVBpQ570su9t+Oza8eOx79+Rj1QqCyXBJhnEUhAFZdWCEOrCMc0u ------END CERTIFICATE----- - -QuoVadis Root CA 3 -================== ------BEGIN CERTIFICATE----- -MIIGnTCCBIWgAwIBAgICBcYwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQk0xGTAXBgNVBAoT -EFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMTElF1b1ZhZGlzIFJvb3QgQ0EgMzAeFw0wNjExMjQx -OTExMjNaFw0zMTExMjQxOTA2NDRaMEUxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBM -aW1pdGVkMRswGQYDVQQDExJRdW9WYWRpcyBSb290IENBIDMwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQDMV0IWVJzmmNPTTe7+7cefQzlKZbPoFog02w1ZkXTPkrgEQK0CSzGrvI2RaNgg -DhoB4hp7Thdd4oq3P5kazethq8Jlph+3t723j/z9cI8LoGe+AaJZz3HmDyl2/7FWeUUrH556VOij -KTVopAFPD6QuN+8bv+OPEKhyq1hX51SGyMnzW9os2l2ObjyjPtr7guXd8lyyBTNvijbO0BNO/79K -DDRMpsMhvVAEVeuxu537RR5kFd5VAYwCdrXLoT9CabwvvWhDFlaJKjdhkf2mrk7AyxRllDdLkgbv -BNDInIjbC3uBr7E9KsRlOni27tyAsdLTmZw67mtaa7ONt9XOnMK+pUsvFrGeaDsGb659n/je7Mwp -p5ijJUMv7/FfJuGITfhebtfZFG4ZM2mnO4SJk8RTVROhUXhA+LjJou57ulJCg54U7QVSWllWp5f8 -nT8KKdjcT5EOE7zelaTfi5m+rJsziO+1ga8bxiJTyPbH7pcUsMV8eFLI8M5ud2CEpukqdiDtWAEX -MJPpGovgc2PZapKUSU60rUqFxKMiMPwJ7Wgic6aIDFUhWMXhOp8q3crhkODZc6tsgLjoC2SToJyM -Gf+z0gzskSaHirOi4XCPLArlzW1oUevaPwV/izLmE1xr/l9A4iLItLRkT9a6fUg+qGkM17uGcclz -uD87nSVL2v9A6wIDAQABo4IBlTCCAZEwDwYDVR0TAQH/BAUwAwEB/zCB4QYDVR0gBIHZMIHWMIHT -BgkrBgEEAb5YAAMwgcUwgZMGCCsGAQUFBwICMIGGGoGDQW55IHVzZSBvZiB0aGlzIENlcnRpZmlj -YXRlIGNvbnN0aXR1dGVzIGFjY2VwdGFuY2Ugb2YgdGhlIFF1b1ZhZGlzIFJvb3QgQ0EgMyBDZXJ0 -aWZpY2F0ZSBQb2xpY3kgLyBDZXJ0aWZpY2F0aW9uIFByYWN0aWNlIFN0YXRlbWVudC4wLQYIKwYB -BQUHAgEWIWh0dHA6Ly93d3cucXVvdmFkaXNnbG9iYWwuY29tL2NwczALBgNVHQ8EBAMCAQYwHQYD -VR0OBBYEFPLAE+CCQz777i9nMpY1XNu4ywLQMG4GA1UdIwRnMGWAFPLAE+CCQz777i9nMpY1XNu4 -ywLQoUmkRzBFMQswCQYDVQQGEwJCTTEZMBcGA1UEChMQUXVvVmFkaXMgTGltaXRlZDEbMBkGA1UE -AxMSUXVvVmFkaXMgUm9vdCBDQSAzggIFxjANBgkqhkiG9w0BAQUFAAOCAgEAT62gLEz6wPJv92ZV -qyM07ucp2sNbtrCD2dDQ4iH782CnO11gUyeim/YIIirnv6By5ZwkajGxkHon24QRiSemd1o417+s -hvzuXYO8BsbRd2sPbSQvS3pspweWyuOEn62Iix2rFo1bZhfZFvSLgNLd+LJ2w/w4E6oM3kJpK27z -POuAJ9v1pkQNn1pVWQvVDVJIxa6f8i+AxeoyUDUSly7B4f/xI4hROJ/yZlZ25w9Rl6VSDE1JUZU2 -Pb+iSwwQHYaZTKrzchGT5Or2m9qoXadNt54CrnMAyNojA+j56hl0YgCUyyIgvpSnWbWCar6ZeXqp -8kokUvd0/bpO5qgdAm6xDYBEwa7TIzdfu4V8K5Iu6H6li92Z4b8nby1dqnuH/grdS/yO9SbkbnBC -bjPsMZ57k8HkyWkaPcBrTiJt7qtYTcbQQcEr6k8Sh17rRdhs9ZgC06DYVYoGmRmioHfRMJ6szHXu -g/WwYjnPbFfiTNKRCw51KBuav/0aQ/HKd/s7j2G4aSgWQgRecCocIdiP4b0jWy10QJLZYxkNc91p -vGJHvOB0K7Lrfb5BG7XARsWhIstfTsEokt4YutUqKLsRixeTmJlglFwjz1onl14LBQaTNx47aTbr -qZ5hHY8y2o4M1nQ+ewkk2gF3R8Q7zTSMmfXK4SVhM7JZG+Ju1zdXtg2pEto= ------END CERTIFICATE----- - -Security Communication Root CA -============================== ------BEGIN CERTIFICATE----- -MIIDWjCCAkKgAwIBAgIBADANBgkqhkiG9w0BAQUFADBQMQswCQYDVQQGEwJKUDEYMBYGA1UEChMP -U0VDT00gVHJ1c3QubmV0MScwJQYDVQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTEw -HhcNMDMwOTMwMDQyMDQ5WhcNMjMwOTMwMDQyMDQ5WjBQMQswCQYDVQQGEwJKUDEYMBYGA1UEChMP -U0VDT00gVHJ1c3QubmV0MScwJQYDVQQLEx5TZWN1cml0eSBDb21tdW5pY2F0aW9uIFJvb3RDQTEw -ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCzs/5/022x7xZ8V6UMbXaKL0u/ZPtM7orw -8yl89f/uKuDp6bpbZCKamm8sOiZpUQWZJtzVHGpxxpp9Hp3dfGzGjGdnSj74cbAZJ6kJDKaVv0uM -DPpVmDvY6CKhS3E4eayXkmmziX7qIWgGmBSWh9JhNrxtJ1aeV+7AwFb9Ms+k2Y7CI9eNqPPYJayX -5HA49LY6tJ07lyZDo6G8SVlyTCMwhwFY9k6+HGhWZq/NQV3Is00qVUarH9oe4kA92819uZKAnDfd -DJZkndwi92SL32HeFZRSFaB9UslLqCHJxrHty8OVYNEP8Ktw+N/LTX7s1vqr2b1/VPKl6Xn62dZ2 -JChzAgMBAAGjPzA9MB0GA1UdDgQWBBSgc0mZaNyFW2XjmygvV5+9M7wHSDALBgNVHQ8EBAMCAQYw -DwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAaECpqLvkT115swW1F7NgE+vGkl3g -0dNq/vu+m22/xwVtWSDEHPC32oRYAmP6SBbvT6UL90qY8j+eG61Ha2POCEfrUj94nK9NrvjVT8+a -mCoQQTlSxN3Zmw7vkwGusi7KaEIkQmywszo+zenaSMQVy+n5Bw+SUEmK3TGXX8npN6o7WWWXlDLJ -s58+OmJYxUmtYg5xpTKqL8aJdkNAExNnPaJUJRDL8Try2frbSVa7pv6nQTXD4IhhyYjH3zYQIphZ -6rBK+1YWc26sTfcioU+tHXotRSflMMFe8toTyyVCUZVHA4xsIcx0Qu1T/zOLjw9XARYvz6buyXAi -FL39vmwLAw== ------END CERTIFICATE----- - -XRamp Global CA Root -==================== ------BEGIN CERTIFICATE----- -MIIEMDCCAxigAwIBAgIQUJRs7Bjq1ZxN1ZfvdY+grTANBgkqhkiG9w0BAQUFADCBgjELMAkGA1UE -BhMCVVMxHjAcBgNVBAsTFXd3dy54cmFtcHNlY3VyaXR5LmNvbTEkMCIGA1UEChMbWFJhbXAgU2Vj -dXJpdHkgU2VydmljZXMgSW5jMS0wKwYDVQQDEyRYUmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkwHhcNMDQxMTAxMTcxNDA0WhcNMzUwMTAxMDUzNzE5WjCBgjELMAkGA1UEBhMCVVMx -HjAcBgNVBAsTFXd3dy54cmFtcHNlY3VyaXR5LmNvbTEkMCIGA1UEChMbWFJhbXAgU2VjdXJpdHkg -U2VydmljZXMgSW5jMS0wKwYDVQQDEyRYUmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3Jp -dHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCYJB69FbS638eMpSe2OAtp87ZOqCwu -IR1cRN8hXX4jdP5efrRKt6atH67gBhbim1vZZ3RrXYCPKZ2GG9mcDZhtdhAoWORlsH9KmHmf4MMx -foArtYzAQDsRhtDLooY2YKTVMIJt2W7QDxIEM5dfT2Fa8OT5kavnHTu86M/0ay00fOJIYRyO82FE -zG+gSqmUsE3a56k0enI4qEHMPJQRfevIpoy3hsvKMzvZPTeL+3o+hiznc9cKV6xkmxnr9A8ECIqs -AxcZZPRaJSKNNCyy9mgdEm3Tih4U2sSPpuIjhdV6Db1q4Ons7Be7QhtnqiXtRYMh/MHJfNViPvry -xS3T/dRlAgMBAAGjgZ8wgZwwEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud -EwEB/wQFMAMBAf8wHQYDVR0OBBYEFMZPoj0GY4QJnM5i5ASsjVy16bYbMDYGA1UdHwQvMC0wK6Ap -oCeGJWh0dHA6Ly9jcmwueHJhbXBzZWN1cml0eS5jb20vWEdDQS5jcmwwEAYJKwYBBAGCNxUBBAMC -AQEwDQYJKoZIhvcNAQEFBQADggEBAJEVOQMBG2f7Shz5CmBbodpNl2L5JFMn14JkTpAuw0kbK5rc -/Kh4ZzXxHfARvbdI4xD2Dd8/0sm2qlWkSLoC295ZLhVbO50WfUfXN+pfTXYSNrsf16GBBEYgoyxt -qZ4Bfj8pzgCT3/3JknOJiWSe5yvkHJEs0rnOfc5vMZnT5r7SHpDwCRR5XCOrTdLaIR9NmXmd4c8n -nxCbHIgNsIpkQTG4DmyQJKSbXHGPurt+HBvbaoAPIbzp26a3QPSyi6mx5O+aGtA9aZnuqCij4Tyz -8LIRnM98QObd50N9otg6tamN8jSZxNQQ4Qb9CYQQO+7ETPTsJ3xCwnR8gooJybQDJbw= ------END CERTIFICATE----- - -Go Daddy Class 2 CA -=================== ------BEGIN CERTIFICATE----- -MIIEADCCAuigAwIBAgIBADANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMY -VGhlIEdvIERhZGR5IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRp -ZmljYXRpb24gQXV0aG9yaXR5MB4XDTA0MDYyOTE3MDYyMFoXDTM0MDYyOTE3MDYyMFowYzELMAkG -A1UEBhMCVVMxITAfBgNVBAoTGFRoZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28g -RGFkZHkgQ2xhc3MgMiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASAwDQYJKoZIhvcNAQEBBQAD -ggENADCCAQgCggEBAN6d1+pXGEmhW+vXX0iG6r7d/+TvZxz0ZWizV3GgXne77ZtJ6XCAPVYYYwhv -2vLM0D9/AlQiVBDYsoHUwHU9S3/Hd8M+eKsaA7Ugay9qK7HFiH7Eux6wwdhFJ2+qN1j3hybX2C32 -qRe3H3I2TqYXP2WYktsqbl2i/ojgC95/5Y0V4evLOtXiEqITLdiOr18SPaAIBQi2XKVlOARFmR6j -YGB0xUGlcmIbYsUfb18aQr4CUWWoriMYavx4A6lNf4DD+qta/KFApMoZFv6yyO9ecw3ud72a9nmY -vLEHZ6IVDd2gWMZEewo+YihfukEHU1jPEX44dMX4/7VpkI+EdOqXG68CAQOjgcAwgb0wHQYDVR0O -BBYEFNLEsNKR1EwRcbNhyz2h/t2oatTjMIGNBgNVHSMEgYUwgYKAFNLEsNKR1EwRcbNhyz2h/t2o -atTjoWekZTBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYVGhlIEdvIERhZGR5IEdyb3VwLCBJbmMu -MTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggEAMAwG -A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wim -PQoZ+YeAEW5p5JYXMP80kWNyOO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKt -I3lpjbi2Tc7PTMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ -HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mERdEr/VxqHD3VI -Ls9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5CufReYNnyicsbkqWletNw+vHX/b -vZ8= ------END CERTIFICATE----- - -Starfield Class 2 CA -==================== ------BEGIN CERTIFICATE----- -MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzElMCMGA1UEChMc -U3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMpU3RhcmZpZWxkIENsYXNzIDIg -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQwNjI5MTczOTE2WhcNMzQwNjI5MTczOTE2WjBo -MQswCQYDVQQGEwJVUzElMCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAG -A1UECxMpU3RhcmZpZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEgMA0GCSqG -SIb3DQEBAQUAA4IBDQAwggEIAoIBAQC3Msj+6XGmBIWtDBFk385N78gDGIc/oav7PKaf8MOh2tTY -bitTkPskpD6E8J7oX+zlJ0T1KKY/e97gKvDIr1MvnsoFAZMej2YcOadN+lq2cwQlZut3f+dZxkqZ -JRRU6ybH838Z1TBwj6+wRir/resp7defqgSHo9T5iaU0X9tDkYI22WY8sbi5gv2cOj4QyDvvBmVm -epsZGD3/cVE8MC5fvj13c7JdBmzDI1aaK4UmkhynArPkPw2vCHmCuDY96pzTNbO8acr1zJ3o/WSN -F4Azbl5KXZnJHoe0nRrA1W4TNSNe35tfPe/W93bC6j67eA0cQmdrBNj41tpvi/JEoAGrAgEDo4HF -MIHCMB0GA1UdDgQWBBS/X7fRzt0fhvRbVazc1xDCDqmI5zCBkgYDVR0jBIGKMIGHgBS/X7fRzt0f -hvRbVazc1xDCDqmI56FspGowaDELMAkGA1UEBhMCVVMxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNo -bm9sb2dpZXMsIEluYy4xMjAwBgNVBAsTKVN0YXJmaWVsZCBDbGFzcyAyIENlcnRpZmljYXRpb24g -QXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAAWdP4id0ckaVaGs -afPzWdqbAYcaT1epoXkJKtv3L7IezMdeatiDh6GX70k1PncGQVhiv45YuApnP+yz3SFmH8lU+nLM -PUxA2IGvd56Deruix/U0F47ZEUD0/CwqTRV/p2JdLiXTAAsgGh1o+Re49L2L7ShZ3U0WixeDyLJl -xy16paq8U4Zt3VekyvggQQto8PT7dL5WXXp59fkdheMtlb71cZBDzI0fmgAKhynpVSJYACPq4xJD -KVtHCN2MQWplBqjlIapBtJUhlbl90TSrE9atvNziPTnNvT51cKEYWQPJIrSPnNVeKtelttQKbfi3 -QBFGmh95DmK/D5fs4C8fF5Q= ------END CERTIFICATE----- - -DigiCert Assured ID Root CA -=========================== ------BEGIN CERTIFICATE----- -MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQw -IgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzEx -MTEwMDAwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQL -ExB3d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0Ew -ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7cJpSIqvTO -9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYPmDI2dsze3Tyoou9q+yHy -UmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW -/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpy -oeb6pNnVFzF1roV9Iq4/AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whf -GHdPAgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRF -66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYunpyGd823IDzANBgkq -hkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRCdWKuh+vy1dneVrOfzM4UKLkNl2Bc -EkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTffwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38Fn -SbNd67IJKusm7Xi+fT8r87cmNW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i -8b5QZ7dsvfPxH2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe -+o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g== ------END CERTIFICATE----- - -DigiCert Global Root CA -======================= ------BEGIN CERTIFICATE----- -MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBhMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAw -HgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBDQTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAw -MDAwMDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3 -dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkq -hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsBCSDMAZOn -TjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97nh6Vfe63SKMI2tavegw5 -BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt43C/dxC//AH2hdmoRBBYMql1GNXRor5H -4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7PT19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y -7vrTC0LUq7dBMtoM1O/4gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQAB -o2MwYTAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbRTLtm -8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUwDQYJKoZIhvcNAQEF -BQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/EsrhMAtudXH/vTBH1jLuG2cenTnmCmr -EbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIt -tep3Sp+dWOIrWcBAI+0tKIJFPnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886 -UAb3LujEV0lsYSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk -CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4= ------END CERTIFICATE----- - -DigiCert High Assurance EV Root CA -================================== ------BEGIN CERTIFICATE----- -MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBsMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSsw -KQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5jZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAw -MFoXDTMxMTExMDAwMDAwMFowbDELMAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZ -MBcGA1UECxMQd3d3LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFu -Y2UgRVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm+9S75S0t -Mqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTWPNt0OKRKzE0lgvdKpVMS -OO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEMxChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3 -MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFBIk5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQ -NAQTXKFx01p8VdteZOE3hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUe -h10aUAsgEsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMB -Af8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaAFLE+w2kD+L9HAdSY -JhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3NecnzyIZgYIVyHbIUf4KmeqvxgydkAQ -V8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6zeM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFp -myPInngiK3BD41VHMWEZ71jFhS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkK -mNEVX58Svnw2Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe -vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep+OkuE6N36B9K ------END CERTIFICATE----- - -SwissSign Gold CA - G2 -====================== ------BEGIN CERTIFICATE----- -MIIFujCCA6KgAwIBAgIJALtAHEP1Xk+wMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNVBAYTAkNIMRUw -EwYDVQQKEwxTd2lzc1NpZ24gQUcxHzAdBgNVBAMTFlN3aXNzU2lnbiBHb2xkIENBIC0gRzIwHhcN -MDYxMDI1MDgzMDM1WhcNMzYxMDI1MDgzMDM1WjBFMQswCQYDVQQGEwJDSDEVMBMGA1UEChMMU3dp -c3NTaWduIEFHMR8wHQYDVQQDExZTd2lzc1NpZ24gR29sZCBDQSAtIEcyMIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEAr+TufoskDhJuqVAtFkQ7kpJcyrhdhJJCEyq8ZVeCQD5XJM1QiyUq -t2/876LQwB8CJEoTlo8jE+YoWACjR8cGp4QjK7u9lit/VcyLwVcfDmJlD909Vopz2q5+bbqBHH5C -jCA12UNNhPqE21Is8w4ndwtrvxEvcnifLtg+5hg3Wipy+dpikJKVyh+c6bM8K8vzARO/Ws/BtQpg -vd21mWRTuKCWs2/iJneRjOBiEAKfNA+k1ZIzUd6+jbqEemA8atufK+ze3gE/bk3lUIbLtK/tREDF -ylqM2tIrfKjuvqblCqoOpd8FUrdVxyJdMmqXl2MT28nbeTZ7hTpKxVKJ+STnnXepgv9VHKVxaSvR -AiTysybUa9oEVeXBCsdtMDeQKuSeFDNeFhdVxVu1yzSJkvGdJo+hB9TGsnhQ2wwMC3wLjEHXuend -jIj3o02yMszYF9rNt85mndT9Xv+9lz4pded+p2JYryU0pUHHPbwNUMoDAw8IWh+Vc3hiv69yFGkO -peUDDniOJihC8AcLYiAQZzlG+qkDzAQ4embvIIO1jEpWjpEA/I5cgt6IoMPiaG59je883WX0XaxR -7ySArqpWl2/5rX3aYT+YdzylkbYcjCbaZaIJbcHiVOO5ykxMgI93e2CaHt+28kgeDrpOVG2Y4OGi -GqJ3UM/EY5LsRxmd6+ZrzsECAwEAAaOBrDCBqTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw -AwEB/zAdBgNVHQ4EFgQUWyV7lqRlUX64OfPAeGZe6Drn8O4wHwYDVR0jBBgwFoAUWyV7lqRlUX64 -OfPAeGZe6Drn8O4wRgYDVR0gBD8wPTA7BglghXQBWQECAQEwLjAsBggrBgEFBQcCARYgaHR0cDov -L3JlcG9zaXRvcnkuc3dpc3NzaWduLmNvbS8wDQYJKoZIhvcNAQEFBQADggIBACe645R88a7A3hfm -5djV9VSwg/S7zV4Fe0+fdWavPOhWfvxyeDgD2StiGwC5+OlgzczOUYrHUDFu4Up+GC9pWbY9ZIEr -44OE5iKHjn3g7gKZYbge9LgriBIWhMIxkziWMaa5O1M/wySTVltpkuzFwbs4AOPsF6m43Md8AYOf -Mke6UiI0HTJ6CVanfCU2qT1L2sCCbwq7EsiHSycR+R4tx5M/nttfJmtS2S6K8RTGRI0Vqbe/vd6m -Gu6uLftIdxf+u+yvGPUqUfA5hJeVbG4bwyvEdGB5JbAKJ9/fXtI5z0V9QkvfsywexcZdylU6oJxp -mo/a77KwPJ+HbBIrZXAVUjEaJM9vMSNQH4xPjyPDdEFjHFWoFN0+4FFQz/EbMFYOkrCChdiDyyJk -vC24JdVUorgG6q2SpCSgwYa1ShNqR88uC1aVVMvOmttqtKay20EIhid392qgQmwLOM7XdVAyksLf -KzAiSNDVQTglXaTpXZ/GlHXQRf0wl0OPkKsKx4ZzYEppLd6leNcG2mqeSz53OiATIgHQv2ieY2Br -NU0LbbqhPcCT4H8js1WtciVORvnSFu+wZMEBnunKoGqYDs/YYPIvSbjkQuE4NRb0yG5P94FW6Lqj -viOvrv1vA+ACOzB2+httQc8Bsem4yWb02ybzOqR08kkkW8mw0FfB+j564ZfJ ------END CERTIFICATE----- - -SwissSign Silver CA - G2 -======================== ------BEGIN CERTIFICATE----- -MIIFvTCCA6WgAwIBAgIITxvUL1S7L0swDQYJKoZIhvcNAQEFBQAwRzELMAkGA1UEBhMCQ0gxFTAT -BgNVBAoTDFN3aXNzU2lnbiBBRzEhMB8GA1UEAxMYU3dpc3NTaWduIFNpbHZlciBDQSAtIEcyMB4X -DTA2MTAyNTA4MzI0NloXDTM2MTAyNTA4MzI0NlowRzELMAkGA1UEBhMCQ0gxFTATBgNVBAoTDFN3 -aXNzU2lnbiBBRzEhMB8GA1UEAxMYU3dpc3NTaWduIFNpbHZlciBDQSAtIEcyMIICIjANBgkqhkiG -9w0BAQEFAAOCAg8AMIICCgKCAgEAxPGHf9N4Mfc4yfjDmUO8x/e8N+dOcbpLj6VzHVxumK4DV644 -N0MvFz0fyM5oEMF4rhkDKxD6LHmD9ui5aLlV8gREpzn5/ASLHvGiTSf5YXu6t+WiE7brYT7QbNHm -+/pe7R20nqA1W6GSy/BJkv6FCgU+5tkL4k+73JU3/JHpMjUi0R86TieFnbAVlDLaYQ1HTWBCrpJH -6INaUFjpiou5XaHc3ZlKHzZnu0jkg7Y360g6rw9njxcH6ATK72oxh9TAtvmUcXtnZLi2kUpCe2Uu -MGoM9ZDulebyzYLs2aFK7PayS+VFheZteJMELpyCbTapxDFkH4aDCyr0NQp4yVXPQbBH6TCfmb5h -qAaEuSh6XzjZG6k4sIN/c8HDO0gqgg8hm7jMqDXDhBuDsz6+pJVpATqJAHgE2cn0mRmrVn5bi4Y5 -FZGkECwJMoBgs5PAKrYYC51+jUnyEEp/+dVGLxmSo5mnJqy7jDzmDrxHB9xzUfFwZC8I+bRHHTBs -ROopN4WSaGa8gzj+ezku01DwH/teYLappvonQfGbGHLy9YR0SslnxFSuSGTfjNFusB3hB48IHpmc -celM2KX3RxIfdNFRnobzwqIjQAtz20um53MGjMGg6cFZrEb65i/4z3GcRm25xBWNOHkDRUjvxF3X -CO6HOSKGsg0PWEP3calILv3q1h8CAwEAAaOBrDCBqTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/ -BAUwAwEB/zAdBgNVHQ4EFgQUF6DNweRBtjpbO8tFnb0cwpj6hlgwHwYDVR0jBBgwFoAUF6DNweRB -tjpbO8tFnb0cwpj6hlgwRgYDVR0gBD8wPTA7BglghXQBWQEDAQEwLjAsBggrBgEFBQcCARYgaHR0 -cDovL3JlcG9zaXRvcnkuc3dpc3NzaWduLmNvbS8wDQYJKoZIhvcNAQEFBQADggIBAHPGgeAn0i0P -4JUw4ppBf1AsX19iYamGamkYDHRJ1l2E6kFSGG9YrVBWIGrGvShpWJHckRE1qTodvBqlYJ7YH39F -kWnZfrt4csEGDyrOj4VwYaygzQu4OSlWhDJOhrs9xCrZ1x9y7v5RoSJBsXECYxqCsGKrXlcSH9/L -3XWgwF15kIwb4FDm3jH+mHtwX6WQ2K34ArZv02DdQEsixT2tOnqfGhpHkXkzuoLcMmkDlm4fS/Bx -/uNncqCxv1yL5PqZIseEuRuNI5c/7SXgz2W79WEE790eslpBIlqhn10s6FvJbakMDHiqYMZWjwFa -DGi8aRl5xB9+lwW/xekkUV7U1UtT7dkjWjYDZaPBA61BMPNGG4WQr2W11bHkFlt4dR2Xem1ZqSqP -e97Dh4kQmUlzeMg9vVE1dCrV8X5pGyq7O70luJpaPXJhkGaH7gzWTdQRdAtq/gsD/KNVV4n+Ssuu -WxcFyPKNIzFTONItaj+CuY0IavdeQXRuwxF+B6wpYJE/OMpXEA29MC/HpeZBoNquBYeaoKRlbEwJ -DIm6uNO5wJOKMPqN5ZprFQFOZ6raYlY+hAhm0sQ2fac+EPyI4NSA5QC9qvNOBqN6avlicuMJT+ub -DgEj8Z+7fNzcbBGXJbLytGMU0gYqZ4yD9c7qB9iaah7s5Aq7KkzrCWA5zspi2C5u ------END CERTIFICATE----- - -SecureTrust CA -============== ------BEGIN CERTIFICATE----- -MIIDuDCCAqCgAwIBAgIQDPCOXAgWpa1Cf/DrJxhZ0DANBgkqhkiG9w0BAQUFADBIMQswCQYDVQQG -EwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24xFzAVBgNVBAMTDlNlY3VyZVRy -dXN0IENBMB4XDTA2MTEwNzE5MzExOFoXDTI5MTIzMTE5NDA1NVowSDELMAkGA1UEBhMCVVMxIDAe -BgNVBAoTF1NlY3VyZVRydXN0IENvcnBvcmF0aW9uMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTCC -ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKukgeWVzfX2FI7CT8rU4niVWJxB4Q2ZQCQX -OZEzZum+4YOvYlyJ0fwkW2Gz4BERQRwdbvC4u/jep4G6pkjGnx29vo6pQT64lO0pGtSO0gMdA+9t -DWccV9cGrcrI9f4Or2YlSASWC12juhbDCE/RRvgUXPLIXgGZbf2IzIaowW8xQmxSPmjL8xk037uH -GFaAJsTQ3MBv396gwpEWoGQRS0S8Hvbn+mPeZqx2pHGj7DaUaHp3pLHnDi+BeuK1cobvomuL8A/b -01k/unK8RCSc43Oz969XL0Imnal0ugBS8kvNU3xHCzaFDmapCJcWNFfBZveA4+1wVMeT4C4oFVmH -ursCAwEAAaOBnTCBmjATBgkrBgEEAYI3FAIEBh4EAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/ -BAUwAwEB/zAdBgNVHQ4EFgQUQjK2FvoE/f5dS3rD/fdMQB1aQ68wNAYDVR0fBC0wKzApoCegJYYj -aHR0cDovL2NybC5zZWN1cmV0cnVzdC5jb20vU1RDQS5jcmwwEAYJKwYBBAGCNxUBBAMCAQAwDQYJ -KoZIhvcNAQEFBQADggEBADDtT0rhWDpSclu1pqNlGKa7UTt36Z3q059c4EVlew3KW+JwULKUBRSu -SceNQQcSc5R+DCMh/bwQf2AQWnL1mA6s7Ll/3XpvXdMc9P+IBWlCqQVxyLesJugutIxq/3HcuLHf -mbx8IVQr5Fiiu1cprp6poxkmD5kuCLDv/WnPmRoJjeOnnyvJNjR7JLN4TJUXpAYmHrZkUjZfYGfZ -nMUFdAvnZyPSCPyI6a6Lf+Ew9Dd+/cYy2i2eRDAwbO4H3tI0/NL/QPZL9GZGBlSm8jIKYyYwa5vR -3ItHuuG51WLQoqD0ZwV4KWMabwTW+MZMo5qxN7SN5ShLHZ4swrhovO0C7jE= ------END CERTIFICATE----- - -Secure Global CA -================ ------BEGIN CERTIFICATE----- -MIIDvDCCAqSgAwIBAgIQB1YipOjUiolN9BPI8PjqpTANBgkqhkiG9w0BAQUFADBKMQswCQYDVQQG -EwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24xGTAXBgNVBAMTEFNlY3VyZSBH -bG9iYWwgQ0EwHhcNMDYxMTA3MTk0MjI4WhcNMjkxMjMxMTk1MjA2WjBKMQswCQYDVQQGEwJVUzEg -MB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24xGTAXBgNVBAMTEFNlY3VyZSBHbG9iYWwg -Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvNS7YrGxVaQZx5RNoJLNP2MwhR/jx -YDiJiQPpvepeRlMJ3Fz1Wuj3RSoC6zFh1ykzTM7HfAo3fg+6MpjhHZevj8fcyTiW89sa/FHtaMbQ -bqR8JNGuQsiWUGMu4P51/pinX0kuleM5M2SOHqRfkNJnPLLZ/kG5VacJjnIFHovdRIWCQtBJwB1g -8NEXLJXr9qXBkqPFwqcIYA1gBBCWeZ4WNOaptvolRTnIHmX5k/Wq8VLcmZg9pYYaDDUz+kulBAYV -HDGA76oYa8J719rO+TMg1fW9ajMtgQT7sFzUnKPiXB3jqUJ1XnvUd+85VLrJChgbEplJL4hL/VBi -0XPnj3pDAgMBAAGjgZ0wgZowEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud -EwEB/wQFMAMBAf8wHQYDVR0OBBYEFK9EBMJBfkiD2045AuzshHrmzsmkMDQGA1UdHwQtMCswKaAn -oCWGI2h0dHA6Ly9jcmwuc2VjdXJldHJ1c3QuY29tL1NHQ0EuY3JsMBAGCSsGAQQBgjcVAQQDAgEA -MA0GCSqGSIb3DQEBBQUAA4IBAQBjGghAfaReUw132HquHw0LURYD7xh8yOOvaliTFGCRsoTciE6+ -OYo68+aCiV0BN7OrJKQVDpI1WkpEXk5X+nXOH0jOZvQ8QCaSmGwb7iRGDBezUqXbpZGRzzfTb+cn -CDpOGR86p1hcF895P4vkp9MmI50mD1hp/Ed+stCNi5O/KU9DaXR2Z0vPB4zmAve14bRDtUstFJ/5 -3CYNv6ZHdAbYiNE6KTCEztI5gGIbqMdXSbxqVVFnFUq+NQfk1XWYN3kwFNspnWzFacxHVaIw98xc -f8LDmBxrThaA63p4ZUWiABqvDA1VZDRIuJK58bRQKfJPIx/abKwfROHdI3hRW8cW ------END CERTIFICATE----- - -COMODO Certification Authority -============================== ------BEGIN CERTIFICATE----- -MIIEHTCCAwWgAwIBAgIQToEtioJl4AsC7j41AkblPTANBgkqhkiG9w0BAQUFADCBgTELMAkGA1UE -BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG -A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxJzAlBgNVBAMTHkNPTU9ETyBDZXJ0aWZpY2F0aW9uIEF1 -dGhvcml0eTAeFw0wNjEyMDEwMDAwMDBaFw0yOTEyMzEyMzU5NTlaMIGBMQswCQYDVQQGEwJHQjEb -MBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFD -T01PRE8gQ0EgTGltaXRlZDEnMCUGA1UEAxMeQ09NT0RPIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0ECLi3LjkRv3UcEbVASY06m/weaKXTuH -+7uIzg3jLz8GlvCiKVCZrts7oVewdFFxze1CkU1B/qnI2GqGd0S7WWaXUF601CxwRM/aN5VCaTww -xHGzUvAhTaHYujl8HJ6jJJ3ygxaYqhZ8Q5sVW7euNJH+1GImGEaaP+vB+fGQV+useg2L23IwambV -4EajcNxo2f8ESIl33rXp+2dtQem8Ob0y2WIC8bGoPW43nOIv4tOiJovGuFVDiOEjPqXSJDlqR6sA -1KGzqSX+DT+nHbrTUcELpNqsOO9VUCQFZUaTNE8tja3G1CEZ0o7KBWFxB3NH5YoZEr0ETc5OnKVI -rLsm9wIDAQABo4GOMIGLMB0GA1UdDgQWBBQLWOWLxkwVN6RAqTCpIb5HNlpW/zAOBgNVHQ8BAf8E -BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zBJBgNVHR8EQjBAMD6gPKA6hjhodHRwOi8vY3JsLmNvbW9k -b2NhLmNvbS9DT01PRE9DZXJ0aWZpY2F0aW9uQXV0aG9yaXR5LmNybDANBgkqhkiG9w0BAQUFAAOC -AQEAPpiem/Yb6dc5t3iuHXIYSdOH5EOC6z/JqvWote9VfCFSZfnVDeFs9D6Mk3ORLgLETgdxb8CP -OGEIqB6BCsAvIC9Bi5HcSEW88cbeunZrM8gALTFGTO3nnc+IlP8zwFboJIYmuNg4ON8qa90SzMc/ -RxdMosIGlgnW2/4/PEZB31jiVg88O8EckzXZOFKs7sjsLjBOlDW0JB9LeGna8gI4zJVSk/BwJVmc -IGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5ddBA6+C4OmF4O5MBKgxTMVBbkN -+8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IBZQ== ------END CERTIFICATE----- - -Network Solutions Certificate Authority -======================================= ------BEGIN CERTIFICATE----- -MIID5jCCAs6gAwIBAgIQV8szb8JcFuZHFhfjkDFo4DANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQG -EwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMuMTAwLgYDVQQDEydOZXR3b3Jr -IFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDYxMjAxMDAwMDAwWhcNMjkxMjMx -MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMu -MTAwLgYDVQQDEydOZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0G -CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkvH6SMG3G2I4rC7xGzuAnlt7e+foS0zwzc7MEL7xx -jOWftiJgPl9dzgn/ggwbmlFQGiaJ3dVhXRncEg8tCqJDXRfQNJIg6nPPOCwGJgl6cvf6UDL4wpPT -aaIjzkGxzOTVHzbRijr4jGPiFFlp7Q3Tf2vouAPlT2rlmGNpSAW+Lv8ztumXWWn4Zxmuk2GWRBXT -crA/vGp97Eh/jcOrqnErU2lBUzS1sLnFBgrEsEX1QV1uiUV7PTsmjHTC5dLRfbIR1PtYMiKagMnc -/Qzpf14Dl847ABSHJ3A4qY5usyd2mFHgBeMhqxrVhSI8KbWaFsWAqPS7azCPL0YCorEMIuDTAgMB -AAGjgZcwgZQwHQYDVR0OBBYEFCEwyfsA106Y2oeqKtCnLrFAMadMMA4GA1UdDwEB/wQEAwIBBjAP -BgNVHRMBAf8EBTADAQH/MFIGA1UdHwRLMEkwR6BFoEOGQWh0dHA6Ly9jcmwubmV0c29sc3NsLmNv -bS9OZXR3b3JrU29sdXRpb25zQ2VydGlmaWNhdGVBdXRob3JpdHkuY3JsMA0GCSqGSIb3DQEBBQUA -A4IBAQC7rkvnt1frf6ott3NHhWrB5KUd5Oc86fRZZXe1eltajSU24HqXLjjAV2CDmAaDn7l2em5Q -4LqILPxFzBiwmZVRDuwduIj/h1AcgsLj4DKAv6ALR8jDMe+ZZzKATxcheQxpXN5eNK4CtSbqUN9/ -GGUsyfJj4akH/nxxH2szJGoeBfcFaMBqEssuXmHLrijTfsK0ZpEmXzwuJF/LWA/rKOyvEZbz3Htv -wKeI8lN3s2Berq4o2jUsbzRF0ybh3uxbTydrFny9RAQYgrOJeRcQcT16ohZO9QHNpGxlaKFJdlxD -ydi8NmdspZS11My5vWo1ViHe2MPr+8ukYEywVaCge1ey ------END CERTIFICATE----- - -COMODO ECC Certification Authority -================================== ------BEGIN CERTIFICATE----- -MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTELMAkGA1UEBhMC -R0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE -ChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkwHhcNMDgwMzA2MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0Ix -GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR -Q09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRo -b3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSRFtSrYpn1PlILBs5BAH+X -4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0JcfRK9ChQtP6IHG4/bC8vCVlbpVsLM5ni -wz2J+Wos77LTBumjQjBAMB0GA1UdDgQWBBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BAf8E -BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEA7wNbeqy3eApyt4jf/7VG -FAkK+qDmfQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdvGDeA -U/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY= ------END CERTIFICATE----- - -Certigna -======== ------BEGIN CERTIFICATE----- -MIIDqDCCApCgAwIBAgIJAP7c4wEPyUj/MA0GCSqGSIb3DQEBBQUAMDQxCzAJBgNVBAYTAkZSMRIw -EAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hMB4XDTA3MDYyOTE1MTMwNVoXDTI3 -MDYyOTE1MTMwNVowNDELMAkGA1UEBhMCRlIxEjAQBgNVBAoMCURoaW15b3RpczERMA8GA1UEAwwI -Q2VydGlnbmEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIaPHJ1tazNHUmgh7stL7q -XOEm7RFHYeGifBZ4QCHkYJ5ayGPhxLGWkv8YbWkj4Sti993iNi+RB7lIzw7sebYs5zRLcAglozyH -GxnygQcPOJAZ0xH+hrTy0V4eHpbNgGzOOzGTtvKg0KmVEn2lmsxryIRWijOp5yIVUxbwzBfsV1/p -ogqYCd7jX5xv3EjjhQsVWqa6n6xI4wmy9/Qy3l40vhx4XUJbzg4ij02Q130yGLMLLGq/jj8UEYkg -DncUtT2UCIf3JR7VsmAA7G8qKCVuKj4YYxclPz5EIBb2JsglrgVKtOdjLPOMFlN+XPsRGgjBRmKf -Irjxwo1p3Po6WAbfAgMBAAGjgbwwgbkwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUGu3+QTmQ -tCRZvgHyUtVF9lo53BEwZAYDVR0jBF0wW4AUGu3+QTmQtCRZvgHyUtVF9lo53BGhOKQ2MDQxCzAJ -BgNVBAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hggkA/tzjAQ/J -SP8wDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzANBgkqhkiG9w0BAQUFAAOCAQEA -hQMeknH2Qq/ho2Ge6/PAD/Kl1NqV5ta+aDY9fm4fTIrv0Q8hbV6lUmPOEvjvKtpv6zf+EwLHyzs+ -ImvaYS5/1HI93TDhHkxAGYwP15zRgzB7mFncfca5DClMoTOi62c6ZYTTluLtdkVwj7Ur3vkj1klu -PBS1xp81HlDQwY9qcEQCYsuuHWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY -1gkIl2PlwS6wt0QmwCbAr1UwnjvVNioZBPRcHv/PLLf/0P2HQBHVESO7SMAhqaQoLf0V+LBOK/Qw -WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg== ------END CERTIFICATE----- - -ePKI Root Certification Authority -================================= ------BEGIN CERTIFICATE----- -MIIFsDCCA5igAwIBAgIQFci9ZUdcr7iXAF7kBtK8nTANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQG -EwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0ZC4xKjAoBgNVBAsMIWVQS0kg -Um9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNDEyMjAwMjMxMjdaFw0zNDEyMjAwMjMx -MjdaMF4xCzAJBgNVBAYTAlRXMSMwIQYDVQQKDBpDaHVuZ2h3YSBUZWxlY29tIENvLiwgTHRkLjEq -MCgGA1UECwwhZVBLSSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEA4SUP7o3biDN1Z82tH306Tm2d0y8U82N0ywEhajfqhFAHSyZbCUNs -IZ5qyNUD9WBpj8zwIuQf5/dqIjG3LBXy4P4AakP/h2XGtRrBp0xtInAhijHyl3SJCRImHJ7K2RKi -lTza6We/CKBk49ZCt0Xvl/T29de1ShUCWH2YWEtgvM3XDZoTM1PRYfl61dd4s5oz9wCGzh1NlDiv -qOx4UXCKXBCDUSH3ET00hl7lSM2XgYI1TBnsZfZrxQWh7kcT1rMhJ5QQCtkkO7q+RBNGMD+XPNjX -12ruOzjjK9SXDrkb5wdJfzcq+Xd4z1TtW0ado4AOkUPB1ltfFLqfpo0kR0BZv3I4sjZsN/+Z0V0O -WQqraffAsgRFelQArr5T9rXn4fg8ozHSqf4hUmTFpmfwdQcGlBSBVcYn5AGPF8Fqcde+S/uUWH1+ -ETOxQvdibBjWzwloPn9s9h6PYq2lY9sJpx8iQkEeb5mKPtf5P0B6ebClAZLSnT0IFaUQAS2zMnao -lQ2zepr7BxB4EW/hj8e6DyUadCrlHJhBmd8hh+iVBmoKs2pHdmX2Os+PYhcZewoozRrSgx4hxyy/ -vv9haLdnG7t4TY3OZ+XkwY63I2binZB1NJipNiuKmpS5nezMirH4JYlcWrYvjB9teSSnUmjDhDXi -Zo1jDiVN1Rmy5nk3pyKdVDECAwEAAaNqMGgwHQYDVR0OBBYEFB4M97Zn8uGSJglFwFU5Lnc/Qkqi -MAwGA1UdEwQFMAMBAf8wOQYEZyoHAAQxMC8wLQIBADAJBgUrDgMCGgUAMAcGBWcqAwAABBRFsMLH -ClZ87lt4DJX5GFPBphzYEDANBgkqhkiG9w0BAQUFAAOCAgEACbODU1kBPpVJufGBuvl2ICO1J2B0 -1GqZNF5sAFPZn/KmsSQHRGoqxqWOeBLoR9lYGxMqXnmbnwoqZ6YlPwZpVnPDimZI+ymBV3QGypzq -KOg4ZyYr8dW1P2WT+DZdjo2NQCCHGervJ8A9tDkPJXtoUHRVnAxZfVo9QZQlUgjgRywVMRnVvwdV -xrsStZf0X4OFunHB2WyBEXYKCrC/gpf36j36+uwtqSiUO1bd0lEursC9CBWMd1I0ltabrNMdjmEP -NXubrjlpC2JgQCA2j6/7Nu4tCEoduL+bXPjqpRugc6bY+G7gMwRfaKonh+3ZwZCc7b3jajWvY9+r -GNm65ulK6lCKD2GTHuItGeIwlDWSXQ62B68ZgI9HkFFLLk3dheLSClIKF5r8GrBQAuUBo2M3IUxE -xJtRmREOc5wGj1QupyheRDmHVi03vYVElOEMSyycw5KFNGHLD7ibSkNS/jQ6fbjpKdx2qcgw+BRx -gMYeNkh0IkFch4LoGHGLQYlE535YW6i4jRPpp2zDR+2zGp1iro2C6pSe3VkQw63d4k3jMdXH7Ojy -sP6SHhYKGvzZ8/gntsm+HbRsZJB/9OTEW9c3rkIO3aQab3yIVMUWbuF6aC74Or8NpDyJO3inTmOD -BCEIZ43ygknQW/2xzQ+DhNQ+IIX3Sj0rnP0qCglN6oH4EZw= ------END CERTIFICATE----- - -certSIGN ROOT CA -================ ------BEGIN CERTIFICATE----- -MIIDODCCAiCgAwIBAgIGIAYFFnACMA0GCSqGSIb3DQEBBQUAMDsxCzAJBgNVBAYTAlJPMREwDwYD -VQQKEwhjZXJ0U0lHTjEZMBcGA1UECxMQY2VydFNJR04gUk9PVCBDQTAeFw0wNjA3MDQxNzIwMDRa -Fw0zMTA3MDQxNzIwMDRaMDsxCzAJBgNVBAYTAlJPMREwDwYDVQQKEwhjZXJ0U0lHTjEZMBcGA1UE -CxMQY2VydFNJR04gUk9PVCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALczuX7I -JUqOtdu0KBuqV5Do0SLTZLrTk+jUrIZhQGpgV2hUhE28alQCBf/fm5oqrl0Hj0rDKH/v+yv6efHH -rfAQUySQi2bJqIirr1qjAOm+ukbuW3N7LBeCgV5iLKECZbO9xSsAfsT8AzNXDe3i+s5dRdY4zTW2 -ssHQnIFKquSyAVwdj1+ZxLGt24gh65AIgoDzMKND5pCCrlUoSe1b16kQOA7+j0xbm0bqQfWwCHTD -0IgztnzXdN/chNFDDnU5oSVAKOp4yw4sLjmdjItuFhwvJoIQ4uNllAoEwF73XVv4EOLQunpL+943 -AAAaWyjj0pxzPjKHmKHJUS/X3qwzs08CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8B -Af8EBAMCAcYwHQYDVR0OBBYEFOCMm9slSbPxfIbWskKHC9BroNnkMA0GCSqGSIb3DQEBBQUAA4IB -AQA+0hyJLjX8+HXd5n9liPRyTMks1zJO890ZeUe9jjtbkw9QSSQTaxQGcu8J06Gh40CEyecYMnQ8 -SG4Pn0vU9x7Tk4ZkVJdjclDVVc/6IJMCopvDI5NOFlV2oHB5bc0hH88vLbwZ44gx+FkagQnIl6Z0 -x2DEW8xXjrJ1/RsCCdtZb3KTafcxQdaIOL+Hsr0Wefmq5L6IJd1hJyMctTEHBDa0GpC9oHRxUIlt -vBTjD4au8as+x6AJzKNI0eDbZOeStc+vckNwi/nDhDwTqn6Sm1dTk/pwwpEOMfmbZ13pljheX7Nz -TogVZ96edhBiIL5VaZVDADlN9u6wWk5JRFRYX0KD ------END CERTIFICATE----- - -NetLock Arany (Class Gold) Főtanúsítvány -======================================== ------BEGIN CERTIFICATE----- -MIIEFTCCAv2gAwIBAgIGSUEs5AAQMA0GCSqGSIb3DQEBCwUAMIGnMQswCQYDVQQGEwJIVTERMA8G -A1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5ldExvY2sgS2Z0LjE3MDUGA1UECwwuVGFuw7pzw610 -dsOhbnlraWFkw7NrIChDZXJ0aWZpY2F0aW9uIFNlcnZpY2VzKTE1MDMGA1UEAwwsTmV0TG9jayBB -cmFueSAoQ2xhc3MgR29sZCkgRsWRdGFuw7pzw610dsOhbnkwHhcNMDgxMjExMTUwODIxWhcNMjgx -MjA2MTUwODIxWjCBpzELMAkGA1UEBhMCSFUxETAPBgNVBAcMCEJ1ZGFwZXN0MRUwEwYDVQQKDAxO -ZXRMb2NrIEtmdC4xNzA1BgNVBAsMLlRhbsO6c8OtdHbDoW55a2lhZMOzayAoQ2VydGlmaWNhdGlv -biBTZXJ2aWNlcykxNTAzBgNVBAMMLE5ldExvY2sgQXJhbnkgKENsYXNzIEdvbGQpIEbFkXRhbsO6 -c8OtdHbDoW55MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxCRec75LbRTDofTjl5Bu -0jBFHjzuZ9lk4BqKf8owyoPjIMHj9DrTlF8afFttvzBPhCf2nx9JvMaZCpDyD/V/Q4Q3Y1GLeqVw -/HpYzY6b7cNGbIRwXdrzAZAj/E4wqX7hJ2Pn7WQ8oLjJM2P+FpD/sLj916jAwJRDC7bVWaaeVtAk -H3B5r9s5VA1lddkVQZQBr17s9o3x/61k/iCa11zr/qYfCGSji3ZVrR47KGAuhyXoqq8fxmRGILdw -fzzeSNuWU7c5d+Qa4scWhHaXWy+7GRWF+GmF9ZmnqfI0p6m2pgP8b4Y9VHx2BJtr+UBdADTHLpl1 -neWIA6pN+APSQnbAGwIDAKiLo0UwQzASBgNVHRMBAf8ECDAGAQH/AgEEMA4GA1UdDwEB/wQEAwIB -BjAdBgNVHQ4EFgQUzPpnk/C2uNClwB7zU/2MU9+D15YwDQYJKoZIhvcNAQELBQADggEBAKt/7hwW -qZw8UQCgwBEIBaeZ5m8BiFRhbvG5GK1Krf6BQCOUL/t1fC8oS2IkgYIL9WHxHG64YTjrgfpioTta -YtOUZcTh5m2C+C8lcLIhJsFyUR+MLMOEkMNaj7rP9KdlpeuY0fsFskZ1FSNqb4VjMIDw1Z4fKRzC -bLBQWV2QWzuoDTDPv31/zvGdg73JRm4gpvlhUbohL3u+pRVjodSVh/GeufOJ8z2FuLjbvrW5Kfna -NwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2XjG4Kvte9nHfRCaexOYNkbQu -dZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E= ------END CERTIFICATE----- - -Hongkong Post Root CA 1 -======================= ------BEGIN CERTIFICATE----- -MIIDMDCCAhigAwIBAgICA+gwDQYJKoZIhvcNAQEFBQAwRzELMAkGA1UEBhMCSEsxFjAUBgNVBAoT -DUhvbmdrb25nIFBvc3QxIDAeBgNVBAMTF0hvbmdrb25nIFBvc3QgUm9vdCBDQSAxMB4XDTAzMDUx -NTA1MTMxNFoXDTIzMDUxNTA0NTIyOVowRzELMAkGA1UEBhMCSEsxFjAUBgNVBAoTDUhvbmdrb25n -IFBvc3QxIDAeBgNVBAMTF0hvbmdrb25nIFBvc3QgUm9vdCBDQSAxMIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEArP84tulmAknjorThkPlAj3n54r15/gK97iSSHSL22oVyaf7XPwnU3ZG1 -ApzQjVrhVcNQhrkpJsLj2aDxaQMoIIBFIi1WpztUlVYiWR8o3x8gPW2iNr4joLFutbEnPzlTCeqr -auh0ssJlXI6/fMN4hM2eFvz1Lk8gKgifd/PFHsSaUmYeSF7jEAaPIpjhZY4bXSNmO7ilMlHIhqqh -qZ5/dpTCpmy3QfDVyAY45tQM4vM7TG1QjMSDJ8EThFk9nnV0ttgCXjqQesBCNnLsak3c78QA3xMY -V18meMjWCnl3v/evt3a5pQuEF10Q6m/hq5URX208o1xNg1vysxmKgIsLhwIDAQABoyYwJDASBgNV -HRMBAf8ECDAGAQH/AgEDMA4GA1UdDwEB/wQEAwIBxjANBgkqhkiG9w0BAQUFAAOCAQEADkbVPK7i -h9legYsCmEEIjEy82tvuJxuC52pF7BaLT4Wg87JwvVqWuspube5Gi27nKi6Wsxkz67SfqLI37pio -l7Yutmcn1KZJ/RyTZXaeQi/cImyaT/JaFTmxcdcrUehtHJjA2Sr0oYJ71clBoiMBdDhViw+5Lmei -IAQ32pwL0xch4I+XeTRvhEgCIDMb5jREn5Fw9IBehEPCKdJsEhTkYY2sEJCehFC78JZvRZ+K88ps -T/oROhUVRsPNH4NbLUES7VBnQRM9IauUiqpOfMGx+6fWtScvl6tu4B3i0RwsH0Ti/L6RoZz71ilT -c4afU9hDDl3WY4JxHYB0yvbiAmvZWg== ------END CERTIFICATE----- - -SecureSign RootCA11 -=================== ------BEGIN CERTIFICATE----- -MIIDbTCCAlWgAwIBAgIBATANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQGEwJKUDErMCkGA1UEChMi -SmFwYW4gQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcywgSW5jLjEcMBoGA1UEAxMTU2VjdXJlU2lnbiBS -b290Q0ExMTAeFw0wOTA0MDgwNDU2NDdaFw0yOTA0MDgwNDU2NDdaMFgxCzAJBgNVBAYTAkpQMSsw -KQYDVQQKEyJKYXBhbiBDZXJ0aWZpY2F0aW9uIFNlcnZpY2VzLCBJbmMuMRwwGgYDVQQDExNTZWN1 -cmVTaWduIFJvb3RDQTExMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/XeqpRyQBTvL -TJszi1oURaTnkBbR31fSIRCkF/3frNYfp+TbfPfs37gD2pRY/V1yfIw/XwFndBWW4wI8h9uuywGO -wvNmxoVF9ALGOrVisq/6nL+k5tSAMJjzDbaTj6nU2DbysPyKyiyhFTOVMdrAG/LuYpmGYz+/3ZMq -g6h2uRMft85OQoWPIucuGvKVCbIFtUROd6EgvanyTgp9UK31BQ1FT0Zx/Sg+U/sE2C3XZR1KG/rP -O7AxmjVuyIsG0wCR8pQIZUyxNAYAeoni8McDWc/V1uinMrPmmECGxc0nEovMe863ETxiYAcjPitA -bpSACW22s293bzUIUPsCh8U+iQIDAQABo0IwQDAdBgNVHQ4EFgQUW/hNT7KlhtQ60vFjmqC+CfZX -t94wDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAKCh -OBZmLqdWHyGcBvod7bkixTgm2E5P7KN/ed5GIaGHd48HCJqypMWvDzKYC3xmKbabfSVSSUOrTC4r -bnpwrxYO4wJs+0LmGJ1F2FXI6Dvd5+H0LgscNFxsWEr7jIhQX5Ucv+2rIrVls4W6ng+4reV6G4pQ -Oh29Dbx7VFALuUKvVaAYga1lme++5Jy/xIWrQbJUb9wlze144o4MjQlJ3WN7WmmWAiGovVJZ6X01 -y8hSyn+B/tlr0/cR7SXf+Of5pPpyl4RTDaXQMhhRdlkUbA/r7F+AjHVDg8OFmP9Mni0N5HeDk061 -lgeLKBObjBmNQSdJQO7e5iNEOdyhIta6A/I= ------END CERTIFICATE----- - -Microsec e-Szigno Root CA 2009 -============================== ------BEGIN CERTIFICATE----- -MIIECjCCAvKgAwIBAgIJAMJ+QwRORz8ZMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYDVQQGEwJIVTER -MA8GA1UEBwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xJzAlBgNVBAMMHk1pY3Jv -c2VjIGUtU3ppZ25vIFJvb3QgQ0EgMjAwOTEfMB0GCSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5o -dTAeFw0wOTA2MTYxMTMwMThaFw0yOTEyMzAxMTMwMThaMIGCMQswCQYDVQQGEwJIVTERMA8GA1UE -BwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xJzAlBgNVBAMMHk1pY3Jvc2VjIGUt -U3ppZ25vIFJvb3QgQ0EgMjAwOTEfMB0GCSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5odTCCASIw -DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOn4j/NjrdqG2KfgQvvPkd6mJviZpWNwrZuuyjNA -fW2WbqEORO7hE52UQlKavXWFdCyoDh2Tthi3jCyoz/tccbna7P7ofo/kLx2yqHWH2Leh5TvPmUpG -0IMZfcChEhyVbUr02MelTTMuhTlAdX4UfIASmFDHQWe4oIBhVKZsTh/gnQ4H6cm6M+f+wFUoLAKA -pxn1ntxVUwOXewdI/5n7N4okxFnMUBBjjqqpGrCEGob5X7uxUG6k0QrM1XF+H6cbfPVTbiJfyyvm -1HxdrtbCxkzlBQHZ7Vf8wSN5/PrIJIOV87VqUQHQd9bpEqH5GoP7ghu5sJf0dgYzQ0mg/wu1+rUC -AwEAAaOBgDB+MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTLD8bf -QkPMPcu1SCOhGnqmKrs0aDAfBgNVHSMEGDAWgBTLD8bfQkPMPcu1SCOhGnqmKrs0aDAbBgNVHREE -FDASgRBpbmZvQGUtc3ppZ25vLmh1MA0GCSqGSIb3DQEBCwUAA4IBAQDJ0Q5eLtXMs3w+y/w9/w0o -lZMEyL/azXm4Q5DwpL7v8u8hmLzU1F0G9u5C7DBsoKqpyvGvivo/C3NqPuouQH4frlRheesuCDfX -I/OMn74dseGkddug4lQUsbocKaQY9hK6ohQU4zE1yED/t+AFdlfBHFny+L/k7SViXITwfn4fs775 -tyERzAMBVnCnEJIeGzSBHq2cGsMEPO0CYdYeBvNfOofyK/FFh+U9rNHHV4S9a67c2Pm2G2JwCz02 -yULyMtd6YebS2z3PyKnJm9zbWETXbzivf3jTo60adbocwTZ8jx5tHMN1Rq41Bab2XD0h7lbwyYIi -LXpUq3DDfSJlgnCW ------END CERTIFICATE----- - -GlobalSign Root CA - R3 -======================= ------BEGIN CERTIFICATE----- -MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xv -YmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2Jh -bFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxT -aWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2ln -bjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWt -iHL8RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsTgHeMCOFJ -0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmmKPZpO/bLyCiR5Z2KYVc3 -rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zdQQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjl -OCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZXriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2 -xmmFghcCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE -FI/wS3+oLkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZURUm7 -lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMpjjM5RcOO5LlXbKr8 -EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK6fBdRoyV3XpYKBovHd7NADdBj+1E -bddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQXmcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18 -YIvDQVETI53O9zJrlAGomecsMx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7r -kpeDMdmztcpHWD9f ------END CERTIFICATE----- - -Autoridad de Certificacion Firmaprofesional CIF A62634068 -========================================================= ------BEGIN CERTIFICATE----- -MIIGFDCCA/ygAwIBAgIIU+w77vuySF8wDQYJKoZIhvcNAQEFBQAwUTELMAkGA1UEBhMCRVMxQjBA -BgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2 -MjYzNDA2ODAeFw0wOTA1MjAwODM4MTVaFw0zMDEyMzEwODM4MTVaMFExCzAJBgNVBAYTAkVTMUIw -QAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBB -NjI2MzQwNjgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDD -Utd9thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQMcas9UX4P -B99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefGL9ItWY16Ck6WaVICqjaY -7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15iNA9wBj4gGFrO93IbJWyTdBSTo3OxDqqH -ECNZXyAFGUftaI6SEspd/NYrspI8IM/hX68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyI -plD9amML9ZMWGxmPsu2bm8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctX -MbScyJCyZ/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirjaEbsX -LZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/TKI8xWVvTyQKmtFLK -bpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSuewvF6NkBiDkal4ZkQdU7hwxu+g/GvUgU -vzlN1J5Bto+WHWOWk9mVBngxaJ43BjuAiUVhOSPHG0SjFeUc+JIwuwIDAQABo4HvMIHsMBIGA1Ud -EwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRlzeurNR4APn7VdMActHNH -DhpkLzCBpgYDVR0gBIGeMIGbMIGYBgRVHSAAMIGPMC8GCCsGAQUFBwIBFiNodHRwOi8vd3d3LmZp -cm1hcHJvZmVzaW9uYWwuY29tL2NwczBcBggrBgEFBQcCAjBQHk4AUABhAHMAZQBvACAAZABlACAA -bABhACAAQgBvAG4AYQBuAG8AdgBhACAANAA3ACAAQgBhAHIAYwBlAGwAbwBuAGEAIAAwADgAMAAx -ADcwDQYJKoZIhvcNAQEFBQADggIBABd9oPm03cXF661LJLWhAqvdpYhKsg9VSytXjDvlMd3+xDLx -51tkljYyGOylMnfX40S2wBEqgLk9am58m9Ot/MPWo+ZkKXzR4Tgegiv/J2Wv+xYVxC5xhOW1//qk -R71kMrv2JYSiJ0L1ILDCExARzRAVukKQKtJE4ZYm6zFIEv0q2skGz3QeqUvVhyj5eTSSPi5E6PaP -T481PyWzOdxjKpBrIF/EUhJOlywqrJ2X3kjyo2bbwtKDlaZmp54lD+kLM5FlClrD2VQS3a/DTg4f -Jl4N3LON7NWBcN7STyQF82xO9UxJZo3R/9ILJUFI/lGExkKvgATP0H5kSeTy36LssUzAKh3ntLFl -osS88Zj0qnAHY7S42jtM+kAiMFsRpvAFDsYCA0irhpuF3dvd6qJ2gHN99ZwExEWN57kci57q13XR -crHedUTnQn3iV2t93Jm8PYMo6oCTjcVMZcFwgbg4/EMxsvYDNEeyrPsiBsse3RdHHF9mudMaotoR -saS8I8nkvof/uZS2+F0gStRf571oe2XyFR7SOqkt6dhrJKyXWERHrVkY8SFlcN7ONGCoQPHzPKTD -KCOM/iczQ0CgFzzr6juwcqajuUpLXhZI9LK8yIySxZ2frHI2vDSANGupi5LAuBft7HZT9SQBjLMi -6Et8Vcad+qMUu2WFbm5PEn4KPJ2V ------END CERTIFICATE----- - -Izenpe.com -========== ------BEGIN CERTIFICATE----- -MIIF8TCCA9mgAwIBAgIQALC3WhZIX7/hy/WL1xnmfTANBgkqhkiG9w0BAQsFADA4MQswCQYDVQQG -EwJFUzEUMBIGA1UECgwLSVpFTlBFIFMuQS4xEzARBgNVBAMMCkl6ZW5wZS5jb20wHhcNMDcxMjEz -MTMwODI4WhcNMzcxMjEzMDgyNzI1WjA4MQswCQYDVQQGEwJFUzEUMBIGA1UECgwLSVpFTlBFIFMu -QS4xEzARBgNVBAMMCkl6ZW5wZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDJ -03rKDx6sp4boFmVqscIbRTJxldn+EFvMr+eleQGPicPK8lVx93e+d5TzcqQsRNiekpsUOqHnJJAK -ClaOxdgmlOHZSOEtPtoKct2jmRXagaKH9HtuJneJWK3W6wyyQXpzbm3benhB6QiIEn6HLmYRY2xU -+zydcsC8Lv/Ct90NduM61/e0aL6i9eOBbsFGb12N4E3GVFWJGjMxCrFXuaOKmMPsOzTFlUFpfnXC -PCDFYbpRR6AgkJOhkEvzTnyFRVSa0QUmQbC1TR0zvsQDyCV8wXDbO/QJLVQnSKwv4cSsPsjLkkxT -OTcj7NMB+eAJRE1NZMDhDVqHIrytG6P+JrUV86f8hBnp7KGItERphIPzidF0BqnMC9bC3ieFUCbK -F7jJeodWLBoBHmy+E60QrLUk9TiRodZL2vG70t5HtfG8gfZZa88ZU+mNFctKy6lvROUbQc/hhqfK -0GqfvEyNBjNaooXlkDWgYlwWTvDjovoDGrQscbNYLN57C9saD+veIR8GdwYDsMnvmfzAuU8Lhij+ -0rnq49qlw0dpEuDb8PYZi+17cNcC1u2HGCgsBCRMd+RIihrGO5rUD8r6ddIBQFqNeb+Lz0vPqhbB -leStTIo+F5HUsWLlguWABKQDfo2/2n+iD5dPDNMN+9fR5XJ+HMh3/1uaD7euBUbl8agW7EekFwID -AQABo4H2MIHzMIGwBgNVHREEgagwgaWBD2luZm9AaXplbnBlLmNvbaSBkTCBjjFHMEUGA1UECgw+ -SVpFTlBFIFMuQS4gLSBDSUYgQTAxMzM3MjYwLVJNZXJjLlZpdG9yaWEtR2FzdGVpeiBUMTA1NSBG -NjIgUzgxQzBBBgNVBAkMOkF2ZGEgZGVsIE1lZGl0ZXJyYW5lbyBFdG9yYmlkZWEgMTQgLSAwMTAx -MCBWaXRvcmlhLUdhc3RlaXowDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0O -BBYEFB0cZQ6o8iV7tJHP5LGx5r1VdGwFMA0GCSqGSIb3DQEBCwUAA4ICAQB4pgwWSp9MiDrAyw6l -Fn2fuUhfGI8NYjb2zRlrrKvV9pF9rnHzP7MOeIWblaQnIUdCSnxIOvVFfLMMjlF4rJUT3sb9fbga -kEyrkgPH7UIBzg/YsfqikuFgba56awmqxinuaElnMIAkejEWOVt+8Rwu3WwJrfIxwYJOubv5vr8q -hT/AQKM6WfxZSzwoJNu0FXWuDYi6LnPAvViH5ULy617uHjAimcs30cQhbIHsvm0m5hzkQiCeR7Cs -g1lwLDXWrzY0tM07+DKo7+N4ifuNRSzanLh+QBxh5z6ikixL8s36mLYp//Pye6kfLqCTVyvehQP5 -aTfLnnhqBbTFMXiJ7HqnheG5ezzevh55hM6fcA5ZwjUukCox2eRFekGkLhObNA5me0mrZJfQRsN5 -nXJQY6aYWwa9SG3YOYNw6DXwBdGqvOPbyALqfP2C2sJbUjWumDqtujWTI6cfSN01RpiyEGjkpTHC -ClguGYEQyVB1/OpaFs4R1+7vUIgtYf8/QnMFlEPVjjxOAToZpR9GTnfQXeWBIiGH/pR9hNiTrdZo -Q0iy2+tzJOeRf1SktoA+naM8THLCV8Sg1Mw4J87VBp6iSNnpn86CcDaTmjvfliHjWbcM2pE38P1Z -WrOZyGlsQyYBNWNgVYkDOnXYukrZVP/u3oDYLdE41V4tC5h9Pmzb/CaIxw== ------END CERTIFICATE----- - -Go Daddy Root Certificate Authority - G2 -======================================== ------BEGIN CERTIFICATE----- -MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoTEUdvRGFkZHkuY29tLCBJbmMu -MTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5 -MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgYMxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6 -b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjExMC8G -A1UEAxMoR28gRGFkZHkgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZI -hvcNAQEBBQADggEPADCCAQoCggEBAL9xYgjx+lk09xvJGKP3gElY6SKDE6bFIEMBO4Tx5oVJnyfq -9oQbTqC023CYxzIBsQU+B07u9PpPL1kwIuerGVZr4oAH/PMWdYA5UXvl+TW2dE6pjYIT5LY/qQOD -+qK+ihVqf94Lw7YZFAXK6sOoBJQ7RnwyDfMAZiLIjWltNowRGLfTshxgtDj6AozO091GB94KPutd -fMh8+7ArU6SSYmlRJQVhGkSBjCypQ5Yj36w6gZoOKcUcqeldHraenjAKOc7xiID7S13MMuyFYkMl -NAJWJwGRtDtwKj9useiciAF9n9T521NtYJ2/LOdYq7hfRvzOxBsDPAnrSTFcaUaz4EcCAwEAAaNC -MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFDqahQcQZyi27/a9 -BUFuIMGU2g/eMA0GCSqGSIb3DQEBCwUAA4IBAQCZ21151fmXWWcDYfF+OwYxdS2hII5PZYe096ac -vNjpL9DbWu7PdIxztDhC2gV7+AJ1uP2lsdeu9tfeE8tTEH6KRtGX+rcuKxGrkLAngPnon1rpN5+r -5N9ss4UXnT3ZJE95kTXWXwTrgIOrmgIttRD02JDHBHNA7XIloKmf7J6raBKZV8aPEjoJpL1E/QYV -N8Gb5DKj7Tjo2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO -LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI4uJEvlz36hz1 ------END CERTIFICATE----- - -Starfield Root Certificate Authority - G2 -========================================= ------BEGIN CERTIFICATE----- -MIID3TCCAsWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s -b2dpZXMsIEluYy4xMjAwBgNVBAMTKVN0YXJmaWVsZCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0 -eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgY8xCzAJBgNVBAYTAlVTMRAw -DgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFyZmllbGQg -VGVjaG5vbG9naWVzLCBJbmMuMTIwMAYDVQQDEylTdGFyZmllbGQgUm9vdCBDZXJ0aWZpY2F0ZSBB -dXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL3twQP89o/8ArFv -W59I2Z154qK3A2FWGMNHttfKPTUuiUP3oWmb3ooa/RMgnLRJdzIpVv257IzdIvpy3Cdhl+72WoTs -bhm5iSzchFvVdPtrX8WJpRBSiUZV9Lh1HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNk -N3mSwOxGXn/hbVNMYq/NHwtjuzqd+/x5AJhhdM8mgkBj87JyahkNmcrUDnXMN/uLicFZ8WJ/X7Nf -ZTD4p7dNdloedl40wOiWVpmKs/B/pM293DIxfJHP4F8R+GuqSVzRmZTRouNjWwl2tVZi4Ut0HZbU -JtQIBFnQmA4O5t78w+wfkPECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AQYwHQYDVR0OBBYEFHwMMh+n2TB/xH1oo2Kooc6rB1snMA0GCSqGSIb3DQEBCwUAA4IBAQARWfol -TwNvlJk7mh+ChTnUdgWUXuEok21iXQnCoKjUsHU48TRqneSfioYmUeYs0cYtbpUgSpIB7LiKZ3sx -4mcujJUDJi5DnUox9g61DLu34jd/IroAow57UvtruzvE03lRTs2Q9GcHGcg8RnoNAX3FWOdt5oUw -F5okxBDgBPfg8n/Uqgr/Qh037ZTlZFkSIHc40zI+OIF1lnP6aI+xy84fxez6nH7PfrHxBy22/L/K -pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1mMpYjn0q7pBZ -c2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0 ------END CERTIFICATE----- - -Starfield Services Root Certificate Authority - G2 -================================================== ------BEGIN CERTIFICATE----- -MIID7zCCAtegAwIBAgIBADANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s -b2dpZXMsIEluYy4xOzA5BgNVBAMTMlN0YXJmaWVsZCBTZXJ2aWNlcyBSb290IENlcnRpZmljYXRl -IEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgZgxCzAJBgNV -BAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxT -dGFyZmllbGQgVGVjaG5vbG9naWVzLCBJbmMuMTswOQYDVQQDEzJTdGFyZmllbGQgU2VydmljZXMg -Um9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBANUMOsQq+U7i9b4Zl1+OiFOxHz/Lz58gE20pOsgPfTz3a3Y4Y9k2YKibXlwAgLIvWX/2 -h/klQ4bnaRtSmpDhcePYLQ1Ob/bISdm28xpWriu2dBTrz/sm4xq6HZYuajtYlIlHVv8loJNwU4Pa -hHQUw2eeBGg6345AWh1KTs9DkTvnVtYAcMtS7nt9rjrnvDH5RfbCYM8TWQIrgMw0R9+53pBlbQLP -LJGmpufehRhJfGZOozptqbXuNC66DQO4M99H67FrjSXZm86B0UVGMpZwh94CDklDhbZsc7tk6mFB -rMnUVN+HL8cisibMn1lUaJ/8viovxFUcdUBgF4UCVTmLfwUCAwEAAaNCMEAwDwYDVR0TAQH/BAUw -AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJxfAN+qAdcwKziIorhtSpzyEZGDMA0GCSqG -SIb3DQEBCwUAA4IBAQBLNqaEd2ndOxmfZyMIbw5hyf2E3F/YNoHN2BtBLZ9g3ccaaNnRbobhiCPP -E95Dz+I0swSdHynVv/heyNXBve6SbzJ08pGCL72CQnqtKrcgfU28elUSwhXqvfdqlS5sdJ/PHLTy -xQGjhdByPq1zqwubdQxtRbeOlKyWN7Wg0I8VRw7j6IPdj/3vQQF3zCepYoUz8jcI73HPdwbeyBkd -iEDPfUYd/x7H4c7/I9vG+o1VTqkC50cRRj70/b17KSa7qWFiNyi2LSr2EIZkyXCn0q23KXB56jza -YyWf/Wi3MOxw+3WKt21gZ7IeyLnp2KhvAotnDU0mV3HaIPzBSlCNsSi6 ------END CERTIFICATE----- - -AffirmTrust Commercial -====================== ------BEGIN CERTIFICATE----- -MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UEBhMCVVMxFDAS -BgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBDb21tZXJjaWFsMB4XDTEw -MDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDELMAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmly -bVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6Eqdb -DuKPHx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yrba0F8PrV -C8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPALMeIrJmqbTFeurCA+ukV6 -BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1yHp52UKqK39c/s4mT6NmgTWvRLpUHhww -MmWd5jyTXlBOeuM61G7MGvv50jeuJCqrVwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNV -HQ4EFgQUnZPGU4teyq8/nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AQYwDQYJKoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYGXUPG -hi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNjvbz4YYCanrHOQnDi -qX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivtZ8SOyUOyXGsViQK8YvxO8rUzqrJv -0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9gN53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0kh -sUlHRUe072o0EclNmsxZt9YCnlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8= ------END CERTIFICATE----- - -AffirmTrust Networking -====================== ------BEGIN CERTIFICATE----- -MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UEBhMCVVMxFDAS -BgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBOZXR3b3JraW5nMB4XDTEw -MDEyOTE0MDgyNFoXDTMwMTIzMTE0MDgyNFowRDELMAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmly -bVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBOZXR3b3JraW5nMIIBIjANBgkqhkiG9w0BAQEF -AAOCAQ8AMIIBCgKCAQEAtITMMxcua5Rsa2FSoOujz3mUTOWUgJnLVWREZY9nZOIG41w3SfYvm4SE -Hi3yYJ0wTsyEheIszx6e/jarM3c1RNg1lho9Nuh6DtjVR6FqaYvZ/Ls6rnla1fTWcbuakCNrmreI -dIcMHl+5ni36q1Mr3Lt2PpNMCAiMHqIjHNRqrSK6mQEubWXLviRmVSRLQESxG9fhwoXA3hA/Pe24 -/PHxI1Pcv2WXb9n5QHGNfb2V1M6+oF4nI979ptAmDgAp6zxG8D1gvz9Q0twmQVGeFDdCBKNwV6gb -h+0t+nvujArjqWaJGctB+d1ENmHP4ndGyH329JKBNv3bNPFyfvMMFr20FQIDAQABo0IwQDAdBgNV -HQ4EFgQUBx/S55zawm6iQLSwelAQUHTEyL0wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AQYwDQYJKoZIhvcNAQEFBQADggEBAIlXshZ6qML91tmbmzTCnLQyFE2npN/svqe++EPbkTfOtDIu -UFUaNU52Q3Eg75N3ThVwLofDwR1t3Mu1J9QsVtFSUzpE0nPIxBsFZVpikpzuQY0x2+c06lkh1QF6 -12S4ZDnNye2v7UsDSKegmQGA3GWjNq5lWUhPgkvIZfFXHeVZLgo/bNjR9eUJtGxUAArgFU2HdW23 -WJZa3W3SAKD0m0i+wzekujbgfIeFlxoVot4uolu9rxj5kFDNcFn4J2dHy8egBzp90SxdbBk6ZrV9 -/ZFvgrG+CJPbFEfxojfHRZ48x3evZKiT3/Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9s= ------END CERTIFICATE----- - -AffirmTrust Premium -=================== ------BEGIN CERTIFICATE----- -MIIFRjCCAy6gAwIBAgIIbYwURrGmCu4wDQYJKoZIhvcNAQEMBQAwQTELMAkGA1UEBhMCVVMxFDAS -BgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVzdCBQcmVtaXVtMB4XDTEwMDEy -OTE0MTAzNloXDTQwMTIzMTE0MTAzNlowQTELMAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRy -dXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVzdCBQcmVtaXVtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A -MIICCgKCAgEAxBLfqV/+Qd3d9Z+K4/as4Tx4mrzY8H96oDMq3I0gW64tb+eT2TZwamjPjlGjhVtn -BKAQJG9dKILBl1fYSCkTtuG+kU3fhQxTGJoeJKJPj/CihQvL9Cl/0qRY7iZNyaqoe5rZ+jjeRFcV -5fiMyNlI4g0WJx0eyIOFJbe6qlVBzAMiSy2RjYvmia9mx+n/K+k8rNrSs8PhaJyJ+HoAVt70VZVs -+7pk3WKL3wt3MutizCaam7uqYoNMtAZ6MMgpv+0GTZe5HMQxK9VfvFMSF5yZVylmd2EhMQcuJUmd -GPLu8ytxjLW6OQdJd/zvLpKQBY0tL3d770O/Nbua2Plzpyzy0FfuKE4mX4+QaAkvuPjcBukumj5R -p9EixAqnOEhss/n/fauGV+O61oV4d7pD6kh/9ti+I20ev9E2bFhc8e6kGVQa9QPSdubhjL08s9NI -S+LI+H+SqHZGnEJlPqQewQcDWkYtuJfzt9WyVSHvutxMAJf7FJUnM7/oQ0dG0giZFmA7mn7S5u04 -6uwBHjxIVkkJx0w3AJ6IDsBz4W9m6XJHMD4Q5QsDyZpCAGzFlH5hxIrff4IaC1nEWTJ3s7xgaVY5 -/bQGeyzWZDbZvUjthB9+pSKPKrhC9IK31FOQeE4tGv2Bb0TXOwF0lkLgAOIua+rF7nKsu7/+6qqo -+Nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYEFJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB -/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByv -MiPIs0laUZx2KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg -Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B8OWycvpEgjNC -6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQMKSOyARiqcTtNd56l+0OOF6S -L5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK -+4w1IX2COPKpVJEZNZOUbWo6xbLQu4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmV -BtWVyuEklut89pMFu+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFg -IxpHYoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8GKa1qF60 -g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaORtGdFNrHF+QFlozEJLUb -zxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6eKeC2uAloGRwYQw== ------END CERTIFICATE----- - -AffirmTrust Premium ECC -======================= ------BEGIN CERTIFICATE----- -MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMCVVMxFDASBgNV -BAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQcmVtaXVtIEVDQzAeFw0xMDAx -MjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJBgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1U -cnVzdDEgMB4GA1UEAwwXQWZmaXJtVHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQA -IgNiAAQNMF4bFZ0D0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQ -N8O9ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0GA1UdDgQW -BBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAK -BggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/VsaobgxCd05DhT1wV/GzTjxi+zygk8N53X -57hG8f2h4nECMEJZh0PUUd+60wkyWs6Iflc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKM -eQ== ------END CERTIFICATE----- - -Certum Trusted Network CA -========================= ------BEGIN CERTIFICATE----- -MIIDuzCCAqOgAwIBAgIDBETAMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBMMSIwIAYDVQQK -ExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBUcnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDgxMDIy -MTIwNzM3WhcNMjkxMjMxMTIwNzM3WjB+MQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBU -ZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 -MSIwIAYDVQQDExlDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBMIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEA4/t9o3K6wvDJFIf1awFO4W5AB7ptJ11/91sts1rHUV+rpDKmYYe2bg+G0jAC -l/jXaVehGDldamR5xgFZrDwxSjh80gTSSyjoIF87B6LMTXPb865Px1bVWqeWifrzq2jUI4ZZJ88J -J7ysbnKDHDBy3+Ci6dLhdHUZvSqeexVUBBvXQzmtVSjF4hq79MDkrjhJM8x2hZ85RdKknvISjFH4 -fOQtf/WsX+sWn7Et0brMkUJ3TCXJkDhv2/DM+44el1k+1WBO5gUo7Ul5E0u6SNsv+XLTOcr+H9g0 -cvW0QM8xAcPs3hEtF10fuFDRXhmnad4HMyjKUJX5p1TLVIZQRan5SQIDAQABo0IwQDAPBgNVHRMB -Af8EBTADAQH/MB0GA1UdDgQWBBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNVHQ8BAf8EBAMCAQYw -DQYJKoZIhvcNAQEFBQADggEBAKaorSLOAT2mo/9i0Eidi15ysHhE49wcrwn9I0j6vSrEuVUEtRCj -jSfeC4Jj0O7eDDd5QVsisrCaQVymcODU0HfLI9MA4GxWL+FpDQ3Zqr8hgVDZBqWo/5U30Kr+4rP1 -mS1FhIrlQgnXdAIv94nYmem8J9RHjboNRhx3zxSkHLmkMcScKHQDNP8zGSal6Q10tz6XxnboJ5aj -Zt3hrvJBW8qYVoNzcOSGGtIxQbovvi0TWnZvTuhOgQ4/WwMioBK+ZlgRSssDxLQqKi2WF+A5VLxI -03YnnZotBqbJ7DnSq9ufmgsnAjUpsUCV5/nonFWIGUbWtzT1fs45mtk48VH3Tyw= ------END CERTIFICATE----- - -TWCA Root Certification Authority -================================= ------BEGIN CERTIFICATE----- -MIIDezCCAmOgAwIBAgIBATANBgkqhkiG9w0BAQUFADBfMQswCQYDVQQGEwJUVzESMBAGA1UECgwJ -VEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NBIFJvb3QgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkwHhcNMDgwODI4MDcyNDMzWhcNMzAxMjMxMTU1OTU5WjBfMQswCQYDVQQG -EwJUVzESMBAGA1UECgwJVEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NB -IFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK -AoIBAQCwfnK4pAOU5qfeCTiRShFAh6d8WWQUe7UREN3+v9XAu1bihSX0NXIP+FPQQeFEAcK0HMMx -QhZHhTMidrIKbw/lJVBPhYa+v5guEGcevhEFhgWQxFnQfHgQsIBct+HHK3XLfJ+utdGdIzdjp9xC -oi2SBBtQwXu4PhvJVgSLL1KbralW6cH/ralYhzC2gfeXRfwZVzsrb+RH9JlF/h3x+JejiB03HFyP -4HYlmlD4oFT/RJB2I9IyxsOrBr/8+7/zrX2SYgJbKdM1o5OaQ2RgXbL6Mv87BK9NQGr5x+PvI/1r -y+UPizgN7gr8/g+YnzAx3WxSZfmLgb4i4RxYA7qRG4kHAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIB -BjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqOFsmjd6LWvJPelSDGRjjCDWmujANBgkqhkiG -9w0BAQUFAAOCAQEAPNV3PdrfibqHDAhUaiBQkr6wQT25JmSDCi/oQMCXKCeCMErJk/9q56YAf4lC -mtYR5VPOL8zy2gXE/uJQxDqGfczafhAJO5I1KlOy/usrBdlsXebQ79NqZp4VKIV66IIArB6nCWlW -QtNoURi+VJq/REG6Sb4gumlc7rh3zc5sH62Dlhh9DrUUOYTxKOkto557HnpyWoOzeW/vtPzQCqVY -T0bf+215WfKEIlKuD8z7fDvnaspHYcN6+NOSBB+4IIThNlQWx0DeO4pz3N/GCUzf7Nr/1FNCocny -Yh0igzyXxfkZYiesZSLX0zzG5Y6yU8xJzrww/nsOM5D77dIUkR8Hrw== ------END CERTIFICATE----- - -Security Communication RootCA2 -============================== ------BEGIN CERTIFICATE----- -MIIDdzCCAl+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBdMQswCQYDVQQGEwJKUDElMCMGA1UEChMc -U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEnMCUGA1UECxMeU2VjdXJpdHkgQ29tbXVuaWNh -dGlvbiBSb290Q0EyMB4XDTA5MDUyOTA1MDAzOVoXDTI5MDUyOTA1MDAzOVowXTELMAkGA1UEBhMC -SlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xJzAlBgNVBAsTHlNlY3Vy -aXR5IENvbW11bmljYXRpb24gUm9vdENBMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -ANAVOVKxUrO6xVmCxF1SrjpDZYBLx/KWvNs2l9amZIyoXvDjChz335c9S672XewhtUGrzbl+dp++ -+T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVMVAX3NuRFg3sUZdbcDE3R -3n4MqzvEFb46VqZab3ZpUql6ucjrappdUtAtCms1FgkQhNBqyjoGADdH5H5XTz+L62e4iKrFvlNV -spHEfbmwhRkGeC7bYRr6hfVKkaHnFtWOojnflLhwHyg/i/xAXmODPIMqGplrz95Zajv8bxbXH/1K -EOtOghY6rCcMU/Gt1SSwawNQwS08Ft1ENCcadfsCAwEAAaNCMEAwHQYDVR0OBBYEFAqFqXdlBZh8 -QIH4D5csOPEK7DzPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEB -CwUAA4IBAQBMOqNErLlFsceTfsgLCkLfZOoc7llsCLqJX2rKSpWeeo8HxdpFcoJxDjrSzG+ntKEj -u/Ykn8sX/oymzsLS28yN/HH8AynBbF0zX2S2ZTuJbxh2ePXcokgfGT+Ok+vx+hfuzU7jBBJV1uXk -3fs+BXziHV7Gp7yXT2g69ekuCkO2r1dcYmh8t/2jioSgrGK+KwmHNPBqAbubKVY8/gA3zyNs8U6q -tnRGEmyR7jTV7JqR50S+kDFy1UkC9gLl9B/rfNmWVan/7Ir5mUf/NVoCqgTLiluHcSmRvaS0eg29 -mvVXIwAHIRc/SjnRBUkLp7Y3gaVdjKozXoEofKd9J+sAro03 ------END CERTIFICATE----- - -Actalis Authentication Root CA -============================== ------BEGIN CERTIFICATE----- -MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAM -BgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UE -AwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDky -MjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlz -IFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290 -IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJ -wkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZa -by/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6 -zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1f -YVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2 -oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8l -EfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7 -hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8 -EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5 -jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAaNjMGEwHQYDVR0OBBYEFFLY -iDrIn3hm7YnzezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbt -ifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQALe3KHwGCmSUyI -WOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70jsNjLiNmsGe+b7bAEzlgqqI0 -JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDzWochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKx -K3JCaKygvU5a2hi/a5iB0P2avl4VSM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+ -Xlff1ANATIGk0k9jpwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC -4yyXX04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+OkfcvHlXHo -2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7RK4X9p2jIugErsWx0Hbhz -lefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXem -OR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9 -vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg== ------END CERTIFICATE----- - -Buypass Class 2 Root CA -======================= ------BEGIN CERTIFICATE----- -MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMiBSb290IENBMB4X -DTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1owTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1 -eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1 -g1Lr6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPVL4O2fuPn -9Z6rYPnT8Z2SdIrkHJasW4DptfQxh6NR/Md+oW+OU3fUl8FVM5I+GC911K2GScuVr1QGbNgGE41b -/+EmGVnAJLqBcXmQRFBoJJRfuLMR8SlBYaNByyM21cHxMlAQTn/0hpPshNOOvEu/XAFOBz3cFIqU -CqTqc/sLUegTBxj6DvEr0VQVfTzh97QZQmdiXnfgolXsttlpF9U6r0TtSsWe5HonfOV116rLJeff -awrbD02TTqigzXsu8lkBarcNuAeBfos4GzjmCleZPe4h6KP1DBbdi+w0jpwqHAAVF41og9JwnxgI -zRFo1clrUs3ERo/ctfPYV3Me6ZQ5BL/T3jjetFPsaRyifsSP5BtwrfKi+fv3FmRmaZ9JUaLiFRhn -Bkp/1Wy1TbMz4GHrXb7pmA8y1x1LPC5aAVKRCfLf6o3YBkBjqhHk/sM3nhRSP/TizPJhk9H9Z2vX -Uq6/aKtAQ6BXNVN48FP4YUIHZMbXb5tMOA1jrGKvNouicwoN9SG9dKpN6nIDSdvHXx1iY8f93ZHs -M+71bbRuMGjeyNYmsHVee7QHIJihdjK4TWxPAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFMmAd+BikoL1RpzzuvdMw964o605MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsF -AAOCAgEAU18h9bqwOlI5LJKwbADJ784g7wbylp7ppHR/ehb8t/W2+xUbP6umwHJdELFx7rxP462s -A20ucS6vxOOto70MEae0/0qyexAQH6dXQbLArvQsWdZHEIjzIVEpMMpghq9Gqx3tOluwlN5E40EI -osHsHdb9T7bWR9AUC8rmyrV7d35BH16Dx7aMOZawP5aBQW9gkOLo+fsicdl9sz1Gv7SEr5AcD48S -aq/v7h56rgJKihcrdv6sVIkkLE8/trKnToyokZf7KcZ7XC25y2a2t6hbElGFtQl+Ynhw/qlqYLYd -DnkM/crqJIByw5c/8nerQyIKx+u2DISCLIBrQYoIwOula9+ZEsuK1V6ADJHgJgg2SMX6OBE1/yWD -LfJ6v9r9jv6ly0UsH8SIU653DtmadsWOLB2jutXsMq7Aqqz30XpN69QH4kj3Io6wpJ9qzo6ysmD0 -oyLQI+uUWnpp3Q+/QFesa1lQ2aOZ4W7+jQF5JyMV3pKdewlNWudLSDBaGOYKbeaP4NK75t98biGC -wWg5TbSYWGZizEqQXsP6JwSxeRV0mcy+rSDeJmAc61ZRpqPq5KM/p/9h3PFaTWwyI0PurKju7koS -CTxdccK+efrCh2gdC/1cacwG0Jp9VJkqyTkaGa9LKkPzY11aWOIv4x3kqdbQCtCev9eBCfHJxyYN -rJgWVqA= ------END CERTIFICATE----- - -Buypass Class 3 Root CA -======================= ------BEGIN CERTIFICATE----- -MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMyBSb290IENBMB4X -DTEwMTAyNjA4Mjg1OFoXDTQwMTAyNjA4Mjg1OFowTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1 -eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDMgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKXaCpUWUOOV8l6ddjEGMnqb8RB2uACatVI2zSRH -sJ8YZLya9vrVediQYkwiL944PdbgqOkcLNt4EemOaFEVcsfzM4fkoF0LXOBXByow9c3EN3coTRiR -5r/VUv1xLXA+58bEiuPwKAv0dpihi4dVsjoT/Lc+JzeOIuOoTyrvYLs9tznDDgFHmV0ST9tD+leh -7fmdvhFHJlsTmKtdFoqwNxxXnUX/iJY2v7vKB3tvh2PX0DJq1l1sDPGzbjniazEuOQAnFN44wOwZ -ZoYS6J1yFhNkUsepNxz9gjDthBgd9K5c/3ATAOux9TN6S9ZV+AWNS2mw9bMoNlwUxFFzTWsL8TQH -2xc519woe2v1n/MuwU8XKhDzzMro6/1rqy6any2CbgTUUgGTLT2G/H783+9CHaZr77kgxve9oKeV -/afmiSTYzIw0bOIjL9kSGiG5VZFvC5F5GQytQIgLcOJ60g7YaEi7ghM5EFjp2CoHxhLbWNvSO1UQ -RwUVZ2J+GGOmRj8JDlQyXr8NYnon74Do29lLBlo3WiXQCBJ31G8JUJc9yB3D34xFMFbG02SrZvPA -Xpacw8Tvw3xrizp5f7NJzz3iiZ+gMEuFuZyUJHmPfWupRWgPK9Dx2hzLabjKSWJtyNBjYt1gD1iq -j6G8BaVmos8bdrKEZLFMOVLAMLrwjEsCsLa3AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFEe4zf/lb+74suwvTg75JbCOPGvDMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsF -AAOCAgEAACAjQTUEkMJAYmDv4jVM1z+s4jSQuKFvdvoWFqRINyzpkMLyPPgKn9iB5btb2iUspKdV -cSQy9sgL8rxq+JOssgfCX5/bzMiKqr5qb+FJEMwx14C7u8jYog5kV+qi9cKpMRXSIGrs/CIBKM+G -uIAeqcwRpTzyFrNHnfzSgCHEy9BHcEGhyoMZCCxt8l13nIoUE9Q2HJLw5QY33KbmkJs4j1xrG0aG -Q0JfPgEHU1RdZX33inOhmlRaHylDFCfChQ+1iHsaO5S3HWCntZznKWlXWpuTekMwGwPXYshApqr8 -ZORK15FTAaggiG6cX0S5y2CBNOxv033aSF/rtJC8LakcC6wc1aJoIIAE1vyxjy+7SjENSoYc6+I2 -KSb12tjE8nVhz36udmNKekBlk4f4HoCMhuWG1o8O/FMsYOgWYRqiPkN7zTlgVGr18okmAWiDSKIz -6MkEkbIRNBE+6tBDGR8Dk5AM/1E9V/RBbuHLoL7ryWPNbczk+DaqaJ3tvV2XcEQNtg413OEMXbug -UZTLfhbrES+jkkXITHHZvMmZUldGL1DPvTVp9D0VzgalLA8+9oG6lLvDu79leNKGef9JOxqDDPDe -eOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq4/g7u9xN12TyUb7mqqta6THuBrxzvxNi -Cp/HuZc= ------END CERTIFICATE----- - -T-TeleSec GlobalRoot Class 3 -============================ ------BEGIN CERTIFICATE----- -MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoM -IlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBU -cnVzdCBDZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDMwHhcNMDgx -MDAxMTAyOTU2WhcNMzMxMDAxMjM1OTU5WjCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoMIlQtU3lz -dGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBD -ZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDMwggEiMA0GCSqGSIb3 -DQEBAQUAA4IBDwAwggEKAoIBAQC9dZPwYiJvJK7genasfb3ZJNW4t/zN8ELg63iIVl6bmlQdTQyK -9tPPcPRStdiTBONGhnFBSivwKixVA9ZIw+A5OO3yXDw/RLyTPWGrTs0NvvAgJ1gORH8EGoel15YU -NpDQSXuhdfsaa3Ox+M6pCSzyU9XDFES4hqX2iys52qMzVNn6chr3IhUciJFrf2blw2qAsCTz34ZF -iP0Zf3WHHx+xGwpzJFu5ZeAsVMhg02YXP+HMVDNzkQI6pn97djmiH5a2OK61yJN0HZ65tOVgnS9W -0eDrXltMEnAMbEQgqxHY9Bn20pxSN+f6tsIxO0rUFJmtxxr1XV/6B7h8DR/Wgx6zAgMBAAGjQjBA -MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBS1A/d2O2GCahKqGFPr -AyGUv/7OyjANBgkqhkiG9w0BAQsFAAOCAQEAVj3vlNW92nOyWL6ukK2YJ5f+AbGwUgC4TeQbIXQb -fsDuXmkqJa9c1h3a0nnJ85cp4IaH3gRZD/FZ1GSFS5mvJQQeyUapl96Cshtwn5z2r3Ex3XsFpSzT -ucpH9sry9uetuUg/vBa3wW306gmv7PO15wWeph6KU1HWk4HMdJP2udqmJQV0eVp+QD6CSyYRMG7h -P0HHRwA11fXT91Q+gT3aSWqas+8QPebrb9HIIkfLzM8BMZLZGOMivgkeGj5asuRrDFR6fUNOuIml -e9eiPZaGzPImNC1qkp2aGtAw4l1OBLBfiyB+d8E9lYLRRpo7PHi4b6HQDWSieB4pTpPDpFQUWw== ------END CERTIFICATE----- - -D-TRUST Root Class 3 CA 2 2009 -============================== ------BEGIN CERTIFICATE----- -MIIEMzCCAxugAwIBAgIDCYPzMA0GCSqGSIb3DQEBCwUAME0xCzAJBgNVBAYTAkRFMRUwEwYDVQQK -DAxELVRydXN0IEdtYkgxJzAlBgNVBAMMHkQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgMjAwOTAe -Fw0wOTExMDUwODM1NThaFw0yOTExMDUwODM1NThaME0xCzAJBgNVBAYTAkRFMRUwEwYDVQQKDAxE -LVRydXN0IEdtYkgxJzAlBgNVBAMMHkQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgMjAwOTCCASIw -DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANOySs96R+91myP6Oi/WUEWJNTrGa9v+2wBoqOAD -ER03UAifTUpolDWzU9GUY6cgVq/eUXjsKj3zSEhQPgrfRlWLJ23DEE0NkVJD2IfgXU42tSHKXzlA -BF9bfsyjxiupQB7ZNoTWSPOSHjRGICTBpFGOShrvUD9pXRl/RcPHAY9RySPocq60vFYJfxLLHLGv -KZAKyVXMD9O0Gu1HNVpK7ZxzBCHQqr0ME7UAyiZsxGsMlFqVlNpQmvH/pStmMaTJOKDfHR+4CS7z -p+hnUquVH+BGPtikw8paxTGA6Eian5Rp/hnd2HN8gcqW3o7tszIFZYQ05ub9VxC1X3a/L7AQDcUC -AwEAAaOCARowggEWMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFP3aFMSfMN4hvR5COfyrYyNJ -4PGEMA4GA1UdDwEB/wQEAwIBBjCB0wYDVR0fBIHLMIHIMIGAoH6gfIZ6bGRhcDovL2RpcmVjdG9y -eS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwUm9vdCUyMENsYXNzJTIwMyUyMENBJTIwMiUyMDIw -MDksTz1ELVRydXN0JTIwR21iSCxDPURFP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3QwQ6BBoD+G -PWh0dHA6Ly93d3cuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3Rfcm9vdF9jbGFzc18zX2NhXzJfMjAw -OS5jcmwwDQYJKoZIhvcNAQELBQADggEBAH+X2zDI36ScfSF6gHDOFBJpiBSVYEQBrLLpME+bUMJm -2H6NMLVwMeniacfzcNsgFYbQDfC+rAF1hM5+n02/t2A7nPPKHeJeaNijnZflQGDSNiH+0LS4F9p0 -o3/U37CYAqxva2ssJSRyoWXuJVrl5jLn8t+rSfrzkGkj2wTZ51xY/GXUl77M/C4KzCUqNQT4YJEV -dT1B/yMfGchs64JTBKbkTCJNjYy6zltz7GRUUG3RnFX7acM2w4y8PIWmawomDeCTmGCufsYkl4ph -X5GOZpIJhzbNi5stPvZR1FDUWSi9g/LMKHtThm3YJohw1+qRzT65ysCQblrGXnRl11z+o+I= ------END CERTIFICATE----- - -D-TRUST Root Class 3 CA 2 EV 2009 -================================= ------BEGIN CERTIFICATE----- -MIIEQzCCAyugAwIBAgIDCYP0MA0GCSqGSIb3DQEBCwUAMFAxCzAJBgNVBAYTAkRFMRUwEwYDVQQK -DAxELVRydXN0IEdtYkgxKjAoBgNVBAMMIUQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgRVYgMjAw -OTAeFw0wOTExMDUwODUwNDZaFw0yOTExMDUwODUwNDZaMFAxCzAJBgNVBAYTAkRFMRUwEwYDVQQK -DAxELVRydXN0IEdtYkgxKjAoBgNVBAMMIUQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgRVYgMjAw -OTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJnxhDRwui+3MKCOvXwEz75ivJn9gpfS -egpnljgJ9hBOlSJzmY3aFS3nBfwZcyK3jpgAvDw9rKFs+9Z5JUut8Mxk2og+KbgPCdM03TP1YtHh -zRnp7hhPTFiu4h7WDFsVWtg6uMQYZB7jM7K1iXdODL/ZlGsTl28So/6ZqQTMFexgaDbtCHu39b+T -7WYxg4zGcTSHThfqr4uRjRxWQa4iN1438h3Z0S0NL2lRp75mpoo6Kr3HGrHhFPC+Oh25z1uxav60 -sUYgovseO3Dvk5h9jHOW8sXvhXCtKSb8HgQ+HKDYD8tSg2J87otTlZCpV6LqYQXY+U3EJ/pure35 -11H3a6UCAwEAAaOCASQwggEgMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNOUikxiEyoZLsyv -cop9NteaHNxnMA4GA1UdDwEB/wQEAwIBBjCB3QYDVR0fBIHVMIHSMIGHoIGEoIGBhn9sZGFwOi8v -ZGlyZWN0b3J5LmQtdHJ1c3QubmV0L0NOPUQtVFJVU1QlMjBSb290JTIwQ2xhc3MlMjAzJTIwQ0El -MjAyJTIwRVYlMjAyMDA5LE89RC1UcnVzdCUyMEdtYkgsQz1ERT9jZXJ0aWZpY2F0ZXJldm9jYXRp -b25saXN0MEagRKBChkBodHRwOi8vd3d3LmQtdHJ1c3QubmV0L2NybC9kLXRydXN0X3Jvb3RfY2xh -c3NfM19jYV8yX2V2XzIwMDkuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQA07XtaPKSUiO8aEXUHL7P+ -PPoeUSbrh/Yp3uDx1MYkCenBz1UbtDDZzhr+BlGmFaQt77JLvyAoJUnRpjZ3NOhk31KxEcdzes05 -nsKtjHEh8lprr988TlWvsoRlFIm5d8sqMb7Po23Pb0iUMkZv53GMoKaEGTcH8gNFCSuGdXzfX2lX -ANtu2KZyIktQ1HWYVt+3GP9DQ1CuekR78HlR10M9p9OB0/DJT7naxpeG0ILD5EJt/rDiZE4OJudA -NCa1CInXCGNjOCd1HjPqbqjdn5lPdE2BiYBL3ZqXKVwvvoFBuYz/6n1gBp7N1z3TLqMVvKjmJuVv -w9y4AyHqnxbxLFS1 ------END CERTIFICATE----- - -CA Disig Root R2 -================ ------BEGIN CERTIFICATE----- -MIIFaTCCA1GgAwIBAgIJAJK4iNuwisFjMA0GCSqGSIb3DQEBCwUAMFIxCzAJBgNVBAYTAlNLMRMw -EQYDVQQHEwpCcmF0aXNsYXZhMRMwEQYDVQQKEwpEaXNpZyBhLnMuMRkwFwYDVQQDExBDQSBEaXNp -ZyBSb290IFIyMB4XDTEyMDcxOTA5MTUzMFoXDTQyMDcxOTA5MTUzMFowUjELMAkGA1UEBhMCU0sx -EzARBgNVBAcTCkJyYXRpc2xhdmExEzARBgNVBAoTCkRpc2lnIGEucy4xGTAXBgNVBAMTEENBIERp -c2lnIFJvb3QgUjIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCio8QACdaFXS1tFPbC -w3OeNcJxVX6B+6tGUODBfEl45qt5WDza/3wcn9iXAng+a0EE6UG9vgMsRfYvZNSrXaNHPWSb6Wia -xswbP7q+sos0Ai6YVRn8jG+qX9pMzk0DIaPY0jSTVpbLTAwAFjxfGs3Ix2ymrdMxp7zo5eFm1tL7 -A7RBZckQrg4FY8aAamkw/dLukO8NJ9+flXP04SXabBbeQTg06ov80egEFGEtQX6sx3dOy1FU+16S -GBsEWmjGycT6txOgmLcRK7fWV8x8nhfRyyX+hk4kLlYMeE2eARKmK6cBZW58Yh2EhN/qwGu1pSqV -g8NTEQxzHQuyRpDRQjrOQG6Vrf/GlK1ul4SOfW+eioANSW1z4nuSHsPzwfPrLgVv2RvPN3YEyLRa -5Beny912H9AZdugsBbPWnDTYltxhh5EF5EQIM8HauQhl1K6yNg3ruji6DOWbnuuNZt2Zz9aJQfYE -koopKW1rOhzndX0CcQ7zwOe9yxndnWCywmZgtrEE7snmhrmaZkCo5xHtgUUDi/ZnWejBBhG93c+A -Ak9lQHhcR1DIm+YfgXvkRKhbhZri3lrVx/k6RGZL5DJUfORsnLMOPReisjQS1n6yqEm70XooQL6i -Fh/f5DcfEXP7kAplQ6INfPgGAVUzfbANuPT1rqVCV3w2EYx7XsQDnYx5nQIDAQABo0IwQDAPBgNV -HRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUtZn4r7CU9eMg1gqtzk5WpC5u -Qu0wDQYJKoZIhvcNAQELBQADggIBACYGXnDnZTPIgm7ZnBc6G3pmsgH2eDtpXi/q/075KMOYKmFM -tCQSin1tERT3nLXK5ryeJ45MGcipvXrA1zYObYVybqjGom32+nNjf7xueQgcnYqfGopTpti72TVV -sRHFqQOzVju5hJMiXn7B9hJSi+osZ7z+Nkz1uM/Rs0mSO9MpDpkblvdhuDvEK7Z4bLQjb/D907Je -dR+Zlais9trhxTF7+9FGs9K8Z7RiVLoJ92Owk6Ka+elSLotgEqv89WBW7xBci8QaQtyDW2QOy7W8 -1k/BfDxujRNt+3vrMNDcTa/F1balTFtxyegxvug4BkihGuLq0t4SOVga/4AOgnXmt8kHbA7v/zjx -mHHEt38OFdAlab0inSvtBfZGR6ztwPDUO+Ls7pZbkBNOHlY667DvlruWIxG68kOGdGSVyCh13x01 -utI3gzhTODY7z2zp+WsO0PsE6E9312UBeIYMej4hYvF/Y3EMyZ9E26gnonW+boE+18DrG5gPcFw0 -sorMwIUY6256s/daoQe/qUKS82Ail+QUoQebTnbAjn39pCXHR+3/H3OszMOl6W8KjptlwlCFtaOg -UxLMVYdh84GuEEZhvUQhuMI9dM9+JDX6HAcOmz0iyu8xL4ysEr3vQCj8KWefshNPZiTEUxnpHikV -7+ZtsH8tZ/3zbBt1RqPlShfppNcL ------END CERTIFICATE----- - -ACCVRAIZ1 -========= ------BEGIN CERTIFICATE----- -MIIH0zCCBbugAwIBAgIIXsO3pkN/pOAwDQYJKoZIhvcNAQEFBQAwQjESMBAGA1UEAwwJQUNDVlJB -SVoxMRAwDgYDVQQLDAdQS0lBQ0NWMQ0wCwYDVQQKDARBQ0NWMQswCQYDVQQGEwJFUzAeFw0xMTA1 -MDUwOTM3MzdaFw0zMDEyMzEwOTM3MzdaMEIxEjAQBgNVBAMMCUFDQ1ZSQUlaMTEQMA4GA1UECwwH -UEtJQUNDVjENMAsGA1UECgwEQUNDVjELMAkGA1UEBhMCRVMwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQCbqau/YUqXry+XZpp0X9DZlv3P4uRm7x8fRzPCRKPfmt4ftVTdFXxpNRFvu8gM -jmoYHtiP2Ra8EEg2XPBjs5BaXCQ316PWywlxufEBcoSwfdtNgM3802/J+Nq2DoLSRYWoG2ioPej0 -RGy9ocLLA76MPhMAhN9KSMDjIgro6TenGEyxCQ0jVn8ETdkXhBilyNpAlHPrzg5XPAOBOp0KoVdD -aaxXbXmQeOW1tDvYvEyNKKGno6e6Ak4l0Squ7a4DIrhrIA8wKFSVf+DuzgpmndFALW4ir50awQUZ -0m/A8p/4e7MCQvtQqR0tkw8jq8bBD5L/0KIV9VMJcRz/RROE5iZe+OCIHAr8Fraocwa48GOEAqDG -WuzndN9wrqODJerWx5eHk6fGioozl2A3ED6XPm4pFdahD9GILBKfb6qkxkLrQaLjlUPTAYVtjrs7 -8yM2x/474KElB0iryYl0/wiPgL/AlmXz7uxLaL2diMMxs0Dx6M/2OLuc5NF/1OVYm3z61PMOm3WR -5LpSLhl+0fXNWhn8ugb2+1KoS5kE3fj5tItQo05iifCHJPqDQsGH+tUtKSpacXpkatcnYGMN285J -9Y0fkIkyF/hzQ7jSWpOGYdbhdQrqeWZ2iE9x6wQl1gpaepPluUsXQA+xtrn13k/c4LOsOxFwYIRK -Q26ZIMApcQrAZQIDAQABo4ICyzCCAscwfQYIKwYBBQUHAQEEcTBvMEwGCCsGAQUFBzAChkBodHRw -Oi8vd3d3LmFjY3YuZXMvZmlsZWFkbWluL0FyY2hpdm9zL2NlcnRpZmljYWRvcy9yYWl6YWNjdjEu -Y3J0MB8GCCsGAQUFBzABhhNodHRwOi8vb2NzcC5hY2N2LmVzMB0GA1UdDgQWBBTSh7Tj3zcnk1X2 -VuqB5TbMjB4/vTAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNKHtOPfNyeTVfZW6oHlNsyM -Hj+9MIIBcwYDVR0gBIIBajCCAWYwggFiBgRVHSAAMIIBWDCCASIGCCsGAQUFBwICMIIBFB6CARAA -QQB1AHQAbwByAGkAZABhAGQAIABkAGUAIABDAGUAcgB0AGkAZgBpAGMAYQBjAGkA8wBuACAAUgBh -AO0AegAgAGQAZQAgAGwAYQAgAEEAQwBDAFYAIAAoAEEAZwBlAG4AYwBpAGEAIABkAGUAIABUAGUA -YwBuAG8AbABvAGcA7QBhACAAeQAgAEMAZQByAHQAaQBmAGkAYwBhAGMAaQDzAG4AIABFAGwAZQBj -AHQAcgDzAG4AaQBjAGEALAAgAEMASQBGACAAUQA0ADYAMAAxADEANQA2AEUAKQAuACAAQwBQAFMA -IABlAG4AIABoAHQAdABwADoALwAvAHcAdwB3AC4AYQBjAGMAdgAuAGUAczAwBggrBgEFBQcCARYk -aHR0cDovL3d3dy5hY2N2LmVzL2xlZ2lzbGFjaW9uX2MuaHRtMFUGA1UdHwROMEwwSqBIoEaGRGh0 -dHA6Ly93d3cuYWNjdi5lcy9maWxlYWRtaW4vQXJjaGl2b3MvY2VydGlmaWNhZG9zL3JhaXphY2N2 -MV9kZXIuY3JsMA4GA1UdDwEB/wQEAwIBBjAXBgNVHREEEDAOgQxhY2N2QGFjY3YuZXMwDQYJKoZI -hvcNAQEFBQADggIBAJcxAp/n/UNnSEQU5CmH7UwoZtCPNdpNYbdKl02125DgBS4OxnnQ8pdpD70E -R9m+27Up2pvZrqmZ1dM8MJP1jaGo/AaNRPTKFpV8M9xii6g3+CfYCS0b78gUJyCpZET/LtZ1qmxN -YEAZSUNUY9rizLpm5U9EelvZaoErQNV/+QEnWCzI7UiRfD+mAM/EKXMRNt6GGT6d7hmKG9Ww7Y49 -nCrADdg9ZuM8Db3VlFzi4qc1GwQA9j9ajepDvV+JHanBsMyZ4k0ACtrJJ1vnE5Bc5PUzolVt3OAJ -TS+xJlsndQAJxGJ3KQhfnlmstn6tn1QwIgPBHnFk/vk4CpYY3QIUrCPLBhwepH2NDd4nQeit2hW3 -sCPdK6jT2iWH7ehVRE2I9DZ+hJp4rPcOVkkO1jMl1oRQQmwgEh0q1b688nCBpHBgvgW1m54ERL5h -I6zppSSMEYCUWqKiuUnSwdzRp+0xESyeGabu4VXhwOrPDYTkF7eifKXeVSUG7szAh1xA2syVP1Xg -Nce4hL60Xc16gwFy7ofmXx2utYXGJt/mwZrpHgJHnyqobalbz+xFd3+YJ5oyXSrjhO7FmGYvliAd -3djDJ9ew+f7Zfc3Qn48LFFhRny+Lwzgt3uiP1o2HpPVWQxaZLPSkVrQ0uGE3ycJYgBugl6H8WY3p -EfbRD0tVNEYqi4Y7 ------END CERTIFICATE----- - -TWCA Global Root CA -=================== ------BEGIN CERTIFICATE----- -MIIFQTCCAymgAwIBAgICDL4wDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVFcxEjAQBgNVBAoT -CVRBSVdBTi1DQTEQMA4GA1UECxMHUm9vdCBDQTEcMBoGA1UEAxMTVFdDQSBHbG9iYWwgUm9vdCBD -QTAeFw0xMjA2MjcwNjI4MzNaFw0zMDEyMzExNTU5NTlaMFExCzAJBgNVBAYTAlRXMRIwEAYDVQQK -EwlUQUlXQU4tQ0ExEDAOBgNVBAsTB1Jvb3QgQ0ExHDAaBgNVBAMTE1RXQ0EgR2xvYmFsIFJvb3Qg -Q0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCwBdvI64zEbooh745NnHEKH1Jw7W2C -nJfF10xORUnLQEK1EjRsGcJ0pDFfhQKX7EMzClPSnIyOt7h52yvVavKOZsTuKwEHktSz0ALfUPZV -r2YOy+BHYC8rMjk1Ujoog/h7FsYYuGLWRyWRzvAZEk2tY/XTP3VfKfChMBwqoJimFb3u/Rk28OKR -Q4/6ytYQJ0lM793B8YVwm8rqqFpD/G2Gb3PpN0Wp8DbHzIh1HrtsBv+baz4X7GGqcXzGHaL3SekV -tTzWoWH1EfcFbx39Eb7QMAfCKbAJTibc46KokWofwpFFiFzlmLhxpRUZyXx1EcxwdE8tmx2RRP1W -KKD+u4ZqyPpcC1jcxkt2yKsi2XMPpfRaAok/T54igu6idFMqPVMnaR1sjjIsZAAmY2E2TqNGtz99 -sy2sbZCilaLOz9qC5wc0GZbpuCGqKX6mOL6OKUohZnkfs8O1CWfe1tQHRvMq2uYiN2DLgbYPoA/p -yJV/v1WRBXrPPRXAb94JlAGD1zQbzECl8LibZ9WYkTunhHiVJqRaCPgrdLQABDzfuBSO6N+pjWxn -kjMdwLfS7JLIvgm/LCkFbwJrnu+8vyq8W8BQj0FwcYeyTbcEqYSjMq+u7msXi7Kx/mzhkIyIqJdI -zshNy/MGz19qCkKxHh53L46g5pIOBvwFItIm4TFRfTLcDwIDAQABoyMwITAOBgNVHQ8BAf8EBAMC -AQYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEAXzSBdu+WHdXltdkCY4QWwa6g -cFGn90xHNcgL1yg9iXHZqjNB6hQbbCEAwGxCGX6faVsgQt+i0trEfJdLjbDorMjupWkEmQqSpqsn -LhpNgb+E1HAerUf+/UqdM+DyucRFCCEK2mlpc3INvjT+lIutwx4116KD7+U4x6WFH6vPNOw/KP4M -8VeGTslV9xzU2KV9Bnpv1d8Q34FOIWWxtuEXeZVFBs5fzNxGiWNoRI2T9GRwoD2dKAXDOXC4Ynsg -/eTb6QihuJ49CcdP+yz4k3ZB3lLg4VfSnQO8d57+nile98FRYB/e2guyLXW3Q0iT5/Z5xoRdgFlg -lPx4mI88k1HtQJAH32RjJMtOcQWh15QaiDLxInQirqWm2BJpTGCjAu4r7NRjkgtevi92a6O2JryP -A9gK8kxkRr05YuWW6zRjESjMlfGt7+/cgFhI6Uu46mWs6fyAtbXIRfmswZ/ZuepiiI7E8UuDEq3m -i4TWnsLrgxifarsbJGAzcMzs9zLzXNl5fe+epP7JI8Mk7hWSsT2RTyaGvWZzJBPqpK5jwa19hAM8 -EHiGG3njxPPyBJUgriOCxLM6AGK/5jYk4Ve6xx6QddVfP5VhK8E7zeWzaGHQRiapIVJpLesux+t3 -zqY6tQMzT3bR51xUAV3LePTJDL/PEo4XLSNolOer/qmyKwbQBM0= ------END CERTIFICATE----- - -TeliaSonera Root CA v1 -====================== ------BEGIN CERTIFICATE----- -MIIFODCCAyCgAwIBAgIRAJW+FqD3LkbxezmCcvqLzZYwDQYJKoZIhvcNAQEFBQAwNzEUMBIGA1UE -CgwLVGVsaWFTb25lcmExHzAdBgNVBAMMFlRlbGlhU29uZXJhIFJvb3QgQ0EgdjEwHhcNMDcxMDE4 -MTIwMDUwWhcNMzIxMDE4MTIwMDUwWjA3MRQwEgYDVQQKDAtUZWxpYVNvbmVyYTEfMB0GA1UEAwwW -VGVsaWFTb25lcmEgUm9vdCBDQSB2MTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMK+ -6yfwIaPzaSZVfp3FVRaRXP3vIb9TgHot0pGMYzHw7CTww6XScnwQbfQ3t+XmfHnqjLWCi65ItqwA -3GV17CpNX8GH9SBlK4GoRz6JI5UwFpB/6FcHSOcZrr9FZ7E3GwYq/t75rH2D+1665I+XZ75Ljo1k -B1c4VWk0Nj0TSO9P4tNmHqTPGrdeNjPUtAa9GAH9d4RQAEX1jF3oI7x+/jXh7VB7qTCNGdMJjmhn -Xb88lxhTuylixcpecsHHltTbLaC0H2kD7OriUPEMPPCs81Mt8Bz17Ww5OXOAFshSsCPN4D7c3TxH -oLs1iuKYaIu+5b9y7tL6pe0S7fyYGKkmdtwoSxAgHNN/Fnct7W+A90m7UwW7XWjH1Mh1Fj+JWov3 -F0fUTPHSiXk+TT2YqGHeOh7S+F4D4MHJHIzTjU3TlTazN19jY5szFPAtJmtTfImMMsJu7D0hADnJ -oWjiUIMusDor8zagrC/kb2HCUQk5PotTubtn2txTuXZZNp1D5SDgPTJghSJRt8czu90VL6R4pgd7 -gUY2BIbdeTXHlSw7sKMXNeVzH7RcWe/a6hBle3rQf5+ztCo3O3CLm1u5K7fsslESl1MpWtTwEhDc -TwK7EpIvYtQ/aUN8Ddb8WHUBiJ1YFkveupD/RwGJBmr2X7KQarMCpgKIv7NHfirZ1fpoeDVNAgMB -AAGjPzA9MA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgEGMB0GA1UdDgQWBBTwj1k4ALP1j5qW -DNXr+nuqF+gTEjANBgkqhkiG9w0BAQUFAAOCAgEAvuRcYk4k9AwI//DTDGjkk0kiP0Qnb7tt3oNm -zqjMDfz1mgbldxSR651Be5kqhOX//CHBXfDkH1e3damhXwIm/9fH907eT/j3HEbAek9ALCI18Bmx -0GtnLLCo4MBANzX2hFxc469CeP6nyQ1Q6g2EdvZR74NTxnr/DlZJLo961gzmJ1TjTQpgcmLNkQfW -pb/ImWvtxBnmq0wROMVvMeJuScg/doAmAyYp4Db29iBT4xdwNBedY2gea+zDTYa4EzAvXUYNR0PV -G6pZDrlcjQZIrXSHX8f8MVRBE+LHIQ6e4B4N4cB7Q4WQxYpYxmUKeFfyxiMPAdkgS94P+5KFdSpc -c41teyWRyu5FrgZLAMzTsVlQ2jqIOylDRl6XK1TOU2+NSueW+r9xDkKLfP0ooNBIytrEgUy7onOT -JsjrDNYmiLbAJM+7vVvrdX3pCI6GMyx5dwlppYn8s3CQh3aP0yK7Qs69cwsgJirQmz1wHiRszYd2 -qReWt88NkvuOGKmYSdGe/mBEciG5Ge3C9THxOUiIkCR1VBatzvT4aRRkOfujuLpwQMcnHL/EVlP6 -Y2XQ8xwOFvVrhlhNGNTkDY6lnVuR3HYkUD/GKvvZt5y11ubQ2egZixVxSK236thZiNSQvxaz2ems -WWFUyBy6ysHK4bkgTI86k4mloMy/0/Z1pHWWbVY= ------END CERTIFICATE----- - -E-Tugra Certification Authority -=============================== ------BEGIN CERTIFICATE----- -MIIGSzCCBDOgAwIBAgIIamg+nFGby1MwDQYJKoZIhvcNAQELBQAwgbIxCzAJBgNVBAYTAlRSMQ8w -DQYDVQQHDAZBbmthcmExQDA+BgNVBAoMN0UtVHXEn3JhIEVCRyBCaWxpxZ9pbSBUZWtub2xvamls -ZXJpIHZlIEhpem1ldGxlcmkgQS7Fni4xJjAkBgNVBAsMHUUtVHVncmEgU2VydGlmaWthc3lvbiBN -ZXJrZXppMSgwJgYDVQQDDB9FLVR1Z3JhIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTEzMDMw -NTEyMDk0OFoXDTIzMDMwMzEyMDk0OFowgbIxCzAJBgNVBAYTAlRSMQ8wDQYDVQQHDAZBbmthcmEx -QDA+BgNVBAoMN0UtVHXEn3JhIEVCRyBCaWxpxZ9pbSBUZWtub2xvamlsZXJpIHZlIEhpem1ldGxl -cmkgQS7Fni4xJjAkBgNVBAsMHUUtVHVncmEgU2VydGlmaWthc3lvbiBNZXJrZXppMSgwJgYDVQQD -DB9FLVR1Z3JhIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A -MIICCgKCAgEA4vU/kwVRHoViVF56C/UYB4Oufq9899SKa6VjQzm5S/fDxmSJPZQuVIBSOTkHS0vd -hQd2h8y/L5VMzH2nPbxHD5hw+IyFHnSOkm0bQNGZDbt1bsipa5rAhDGvykPL6ys06I+XawGb1Q5K -CKpbknSFQ9OArqGIW66z6l7LFpp3RMih9lRozt6Plyu6W0ACDGQXwLWTzeHxE2bODHnv0ZEoq1+g -ElIwcxmOj+GMB6LDu0rw6h8VqO4lzKRG+Bsi77MOQ7osJLjFLFzUHPhdZL3Dk14opz8n8Y4e0ypQ -BaNV2cvnOVPAmJ6MVGKLJrD3fY185MaeZkJVgkfnsliNZvcHfC425lAcP9tDJMW/hkd5s3kc91r0 -E+xs+D/iWR+V7kI+ua2oMoVJl0b+SzGPWsutdEcf6ZG33ygEIqDUD13ieU/qbIWGvaimzuT6w+Gz -rt48Ue7LE3wBf4QOXVGUnhMMti6lTPk5cDZvlsouDERVxcr6XQKj39ZkjFqzAQqptQpHF//vkUAq -jqFGOjGY5RH8zLtJVor8udBhmm9lbObDyz51Sf6Pp+KJxWfXnUYTTjF2OySznhFlhqt/7x3U+Lzn -rFpct1pHXFXOVbQicVtbC/DP3KBhZOqp12gKY6fgDT+gr9Oq0n7vUaDmUStVkhUXU8u3Zg5mTPj5 -dUyQ5xJwx0UCAwEAAaNjMGEwHQYDVR0OBBYEFC7j27JJ0JxUeVz6Jyr+zE7S6E5UMA8GA1UdEwEB -/wQFMAMBAf8wHwYDVR0jBBgwFoAULuPbsknQnFR5XPonKv7MTtLoTlQwDgYDVR0PAQH/BAQDAgEG -MA0GCSqGSIb3DQEBCwUAA4ICAQAFNzr0TbdF4kV1JI+2d1LoHNgQk2Xz8lkGpD4eKexd0dCrfOAK -kEh47U6YA5n+KGCRHTAduGN8qOY1tfrTYXbm1gdLymmasoR6d5NFFxWfJNCYExL/u6Au/U5Mh/jO -XKqYGwXgAEZKgoClM4so3O0409/lPun++1ndYYRP0lSWE2ETPo+Aab6TR7U1Q9Jauz1c77NCR807 -VRMGsAnb/WP2OogKmW9+4c4bU2pEZiNRCHu8W1Ki/QY3OEBhj0qWuJA3+GbHeJAAFS6LrVE1Uweo -a2iu+U48BybNCAVwzDk/dr2l02cmAYamU9JgO3xDf1WKvJUawSg5TB9D0pH0clmKuVb8P7Sd2nCc -dlqMQ1DujjByTd//SffGqWfZbawCEeI6FiWnWAjLb1NBnEg4R2gz0dfHj9R0IdTDBZB6/86WiLEV -KV0jq9BgoRJP3vQXzTLlyb/IQ639Lo7xr+L0mPoSHyDYwKcMhcWQ9DstliaxLL5Mq+ux0orJ23gT -Dx4JnW2PAJ8C2sH6H3p6CcRK5ogql5+Ji/03X186zjhZhkuvcQu02PJwT58yE+Owp1fl2tpDy4Q0 -8ijE6m30Ku/Ba3ba+367hTzSU8JNvnHhRdH9I2cNE3X7z2VnIp2usAnRCf8dNL/+I5c30jn6PQ0G -C7TbO6Orb1wdtn7os4I07QZcJA== ------END CERTIFICATE----- - -T-TeleSec GlobalRoot Class 2 -============================ ------BEGIN CERTIFICATE----- -MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoM -IlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBU -cnVzdCBDZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDIwHhcNMDgx -MDAxMTA0MDE0WhcNMzMxMDAxMjM1OTU5WjCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoMIlQtU3lz -dGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBD -ZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDIwggEiMA0GCSqGSIb3 -DQEBAQUAA4IBDwAwggEKAoIBAQCqX9obX+hzkeXaXPSi5kfl82hVYAUdAqSzm1nzHoqvNK38DcLZ -SBnuaY/JIPwhqgcZ7bBcrGXHX+0CfHt8LRvWurmAwhiCFoT6ZrAIxlQjgeTNuUk/9k9uN0goOA/F -vudocP05l03Sx5iRUKrERLMjfTlH6VJi1hKTXrcxlkIF+3anHqP1wvzpesVsqXFP6st4vGCvx970 -2cu+fjOlbpSD8DT6IavqjnKgP6TeMFvvhk1qlVtDRKgQFRzlAVfFmPHmBiiRqiDFt1MmUUOyCxGV -WOHAD3bZwI18gfNycJ5v/hqO2V81xrJvNHy+SE/iWjnX2J14np+GPgNeGYtEotXHAgMBAAGjQjBA -MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBS/WSA2AHmgoCJrjNXy -YdK4LMuCSjANBgkqhkiG9w0BAQsFAAOCAQEAMQOiYQsfdOhyNsZt+U2e+iKo4YFWz827n+qrkRk4 -r6p8FU3ztqONpfSO9kSpp+ghla0+AGIWiPACuvxhI+YzmzB6azZie60EI4RYZeLbK4rnJVM3YlNf -vNoBYimipidx5joifsFvHZVwIEoHNN/q/xWA5brXethbdXwFeilHfkCoMRN3zUA7tFFHei4R40cR -3p1m0IvVVGb6g1XqfMIpiRvpb7PO4gWEyS8+eIVibslfwXhjdFjASBgMmTnrpMwatXlajRWc2BQN -9noHV8cigwUtPJslJj0Ys6lDfMjIq2SPDqO/nBudMNva0Bkuqjzx+zOAduTNrRlPBSeOE6Fuwg== ------END CERTIFICATE----- - -Atos TrustedRoot 2011 -===================== ------BEGIN CERTIFICATE----- -MIIDdzCCAl+gAwIBAgIIXDPLYixfszIwDQYJKoZIhvcNAQELBQAwPDEeMBwGA1UEAwwVQXRvcyBU -cnVzdGVkUm9vdCAyMDExMQ0wCwYDVQQKDARBdG9zMQswCQYDVQQGEwJERTAeFw0xMTA3MDcxNDU4 -MzBaFw0zMDEyMzEyMzU5NTlaMDwxHjAcBgNVBAMMFUF0b3MgVHJ1c3RlZFJvb3QgMjAxMTENMAsG -A1UECgwEQXRvczELMAkGA1UEBhMCREUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCV -hTuXbyo7LjvPpvMpNb7PGKw+qtn4TaA+Gke5vJrf8v7MPkfoepbCJI419KkM/IL9bcFyYie96mvr -54rMVD6QUM+A1JX76LWC1BTFtqlVJVfbsVD2sGBkWXppzwO3bw2+yj5vdHLqqjAqc2K+SZFhyBH+ -DgMq92og3AIVDV4VavzjgsG1xZ1kCWyjWZgHJ8cblithdHFsQ/H3NYkQ4J7sVaE3IqKHBAUsR320 -HLliKWYoyrfhk/WklAOZuXCFteZI6o1Q/NnezG8HDt0Lcp2AMBYHlT8oDv3FdU9T1nSatCQujgKR -z3bFmx5VdJx4IbHwLfELn8LVlhgf8FQieowHAgMBAAGjfTB7MB0GA1UdDgQWBBSnpQaxLKYJYO7R -l+lwrrw7GWzbITAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFKelBrEspglg7tGX6XCuvDsZ -bNshMBgGA1UdIAQRMA8wDQYLKwYBBAGwLQMEAQEwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEB -CwUAA4IBAQAmdzTblEiGKkGdLD4GkGDEjKwLVLgfuXvTBznk+j57sj1O7Z8jvZfza1zv7v1Apt+h -k6EKhqzvINB5Ab149xnYJDE0BAGmuhWawyfc2E8PzBhj/5kPDpFrdRbhIfzYJsdHt6bPWHJxfrrh -TZVHO8mvbaG0weyJ9rQPOLXiZNwlz6bb65pcmaHFCN795trV1lpFDMS3wrUU77QR/w4VtfX128a9 -61qn8FYiqTxlVMYVqL2Gns2Dlmh6cYGJ4Qvh6hEbaAjMaZ7snkGeRDImeuKHCnE96+RapNLbxc3G -3mB/ufNPRJLvKrcYPqcZ2Qt9sTdBQrC6YB3y/gkRsPCHe6ed ------END CERTIFICATE----- - -QuoVadis Root CA 1 G3 -===================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIUeFhfLq0sGUvjNwc1NBMotZbUZZMwDQYJKoZIhvcNAQELBQAwSDELMAkG -A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv -b3QgQ0EgMSBHMzAeFw0xMjAxMTIxNzI3NDRaFw00MjAxMTIxNzI3NDRaMEgxCzAJBgNVBAYTAkJN -MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDEg -RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCgvlAQjunybEC0BJyFuTHK3C3kEakE -PBtVwedYMB0ktMPvhd6MLOHBPd+C5k+tR4ds7FtJwUrVu4/sh6x/gpqG7D0DmVIB0jWerNrwU8lm -PNSsAgHaJNM7qAJGr6Qc4/hzWHa39g6QDbXwz8z6+cZM5cOGMAqNF34168Xfuw6cwI2H44g4hWf6 -Pser4BOcBRiYz5P1sZK0/CPTz9XEJ0ngnjybCKOLXSoh4Pw5qlPafX7PGglTvF0FBM+hSo+LdoIN -ofjSxxR3W5A2B4GbPgb6Ul5jxaYA/qXpUhtStZI5cgMJYr2wYBZupt0lwgNm3fME0UDiTouG9G/l -g6AnhF4EwfWQvTA9xO+oabw4m6SkltFi2mnAAZauy8RRNOoMqv8hjlmPSlzkYZqn0ukqeI1RPToV -7qJZjqlc3sX5kCLliEVx3ZGZbHqfPT2YfF72vhZooF6uCyP8Wg+qInYtyaEQHeTTRCOQiJ/GKubX -9ZqzWB4vMIkIG1SitZgj7Ah3HJVdYdHLiZxfokqRmu8hqkkWCKi9YSgxyXSthfbZxbGL0eUQMk1f -iyA6PEkfM4VZDdvLCXVDaXP7a3F98N/ETH3Goy7IlXnLc6KOTk0k+17kBL5yG6YnLUlamXrXXAkg -t3+UuU/xDRxeiEIbEbfnkduebPRq34wGmAOtzCjvpUfzUwIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUo5fW816iEOGrRZ88F2Q87gFwnMwwDQYJKoZI -hvcNAQELBQADggIBABj6W3X8PnrHX3fHyt/PX8MSxEBd1DKquGrX1RUVRpgjpeaQWxiZTOOtQqOC -MTaIzen7xASWSIsBx40Bz1szBpZGZnQdT+3Btrm0DWHMY37XLneMlhwqI2hrhVd2cDMT/uFPpiN3 -GPoajOi9ZcnPP/TJF9zrx7zABC4tRi9pZsMbj/7sPtPKlL92CiUNqXsCHKnQO18LwIE6PWThv6ct -Tr1NxNgpxiIY0MWscgKCP6o6ojoilzHdCGPDdRS5YCgtW2jgFqlmgiNR9etT2DGbe+m3nUvriBbP -+V04ikkwj+3x6xn0dxoxGE1nVGwvb2X52z3sIexe9PSLymBlVNFxZPT5pqOBMzYzcfCkeF9OrYMh -3jRJjehZrJ3ydlo28hP0r+AJx2EqbPfgna67hkooby7utHnNkDPDs3b69fBsnQGQ+p6Q9pxyz0fa -wx/kNSBT8lTR32GDpgLiJTjehTItXnOQUl1CxM49S+H5GYQd1aJQzEH7QRTDvdbJWqNjZgKAvQU6 -O0ec7AAmTPWIUb+oI38YB7AL7YsmoWTTYUrrXJ/es69nA7Mf3W1daWhpq1467HxpvMc7hU6eFbm0 -FU/DlXpY18ls6Wy58yljXrQs8C097Vpl4KlbQMJImYFtnh8GKjwStIsPm6Ik8KaN1nrgS7ZklmOV -hMJKzRwuJIczYOXD ------END CERTIFICATE----- - -QuoVadis Root CA 2 G3 -===================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIURFc0JFuBiZs18s64KztbpybwdSgwDQYJKoZIhvcNAQELBQAwSDELMAkG -A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv -b3QgQ0EgMiBHMzAeFw0xMjAxMTIxODU5MzJaFw00MjAxMTIxODU5MzJaMEgxCzAJBgNVBAYTAkJN -MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDIg -RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQChriWyARjcV4g/Ruv5r+LrI3HimtFh -ZiFfqq8nUeVuGxbULX1QsFN3vXg6YOJkApt8hpvWGo6t/x8Vf9WVHhLL5hSEBMHfNrMWn4rjyduY -NM7YMxcoRvynyfDStNVNCXJJ+fKH46nafaF9a7I6JaltUkSs+L5u+9ymc5GQYaYDFCDy54ejiK2t -oIz/pgslUiXnFgHVy7g1gQyjO/Dh4fxaXc6AcW34Sas+O7q414AB+6XrW7PFXmAqMaCvN+ggOp+o -MiwMzAkd056OXbxMmO7FGmh77FOm6RQ1o9/NgJ8MSPsc9PG/Srj61YxxSscfrf5BmrODXfKEVu+l -V0POKa2Mq1W/xPtbAd0jIaFYAI7D0GoT7RPjEiuA3GfmlbLNHiJuKvhB1PLKFAeNilUSxmn1uIZo -L1NesNKqIcGY5jDjZ1XHm26sGahVpkUG0CM62+tlXSoREfA7T8pt9DTEceT/AFr2XK4jYIVz8eQQ -sSWu1ZK7E8EM4DnatDlXtas1qnIhO4M15zHfeiFuuDIIfR0ykRVKYnLP43ehvNURG3YBZwjgQQvD -6xVu+KQZ2aKrr+InUlYrAoosFCT5v0ICvybIxo/gbjh9Uy3l7ZizlWNof/k19N+IxWA1ksB8aRxh -lRbQ694Lrz4EEEVlWFA4r0jyWbYW8jwNkALGcC4BrTwV1wIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU7edvdlq/YOxJW8ald7tyFnGbxD0wDQYJKoZI -hvcNAQELBQADggIBAJHfgD9DCX5xwvfrs4iP4VGyvD11+ShdyLyZm3tdquXK4Qr36LLTn91nMX66 -AarHakE7kNQIXLJgapDwyM4DYvmL7ftuKtwGTTwpD4kWilhMSA/ohGHqPHKmd+RCroijQ1h5fq7K -pVMNqT1wvSAZYaRsOPxDMuHBR//47PERIjKWnML2W2mWeyAMQ0GaW/ZZGYjeVYg3UQt4XAoeo0L9 -x52ID8DyeAIkVJOviYeIyUqAHerQbj5hLja7NQ4nlv1mNDthcnPxFlxHBlRJAHpYErAK74X9sbgz -dWqTHBLmYF5vHX/JHyPLhGGfHoJE+V+tYlUkmlKY7VHnoX6XOuYvHxHaU4AshZ6rNRDbIl9qxV6X -U/IyAgkwo1jwDQHVcsaxfGl7w/U2Rcxhbl5MlMVerugOXou/983g7aEOGzPuVBj+D77vfoRrQ+Nw -mNtddbINWQeFFSM51vHfqSYP1kjHs6Yi9TM3WpVHn3u6GBVv/9YUZINJ0gpnIdsPNWNgKCLjsZWD -zYWm3S8P52dSbrsvhXz1SnPnxT7AvSESBT/8twNJAlvIJebiVDj1eYeMHVOyToV7BjjHLPj4sHKN -JeV3UvQDHEimUF+IIDBu8oJDqz2XhOdT+yHBTw8imoa4WSr2Rz0ZiC3oheGe7IUIarFsNMkd7Egr -O3jtZsSOeWmD3n+M ------END CERTIFICATE----- - -QuoVadis Root CA 3 G3 -===================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIULvWbAiin23r/1aOp7r0DoM8Sah0wDQYJKoZIhvcNAQELBQAwSDELMAkG -A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv -b3QgQ0EgMyBHMzAeFw0xMjAxMTIyMDI2MzJaFw00MjAxMTIyMDI2MzJaMEgxCzAJBgNVBAYTAkJN -MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDMg -RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCzyw4QZ47qFJenMioKVjZ/aEzHs286 -IxSR/xl/pcqs7rN2nXrpixurazHb+gtTTK/FpRp5PIpM/6zfJd5O2YIyC0TeytuMrKNuFoM7pmRL -Mon7FhY4futD4tN0SsJiCnMK3UmzV9KwCoWdcTzeo8vAMvMBOSBDGzXRU7Ox7sWTaYI+FrUoRqHe -6okJ7UO4BUaKhvVZR74bbwEhELn9qdIoyhA5CcoTNs+cra1AdHkrAj80//ogaX3T7mH1urPnMNA3 -I4ZyYUUpSFlob3emLoG+B01vr87ERRORFHAGjx+f+IdpsQ7vw4kZ6+ocYfx6bIrc1gMLnia6Et3U -VDmrJqMz6nWB2i3ND0/kA9HvFZcba5DFApCTZgIhsUfei5pKgLlVj7WiL8DWM2fafsSntARE60f7 -5li59wzweyuxwHApw0BiLTtIadwjPEjrewl5qW3aqDCYz4ByA4imW0aucnl8CAMhZa634RylsSqi -Md5mBPfAdOhx3v89WcyWJhKLhZVXGqtrdQtEPREoPHtht+KPZ0/l7DxMYIBpVzgeAVuNVejH38DM -dyM0SXV89pgR6y3e7UEuFAUCf+D+IOs15xGsIs5XPd7JMG0QA4XN8f+MFrXBsj6IbGB/kE+V9/Yt -rQE5BwT6dYB9v0lQ7e/JxHwc64B+27bQ3RP+ydOc17KXqQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUxhfQvKjqAkPyGwaZXSuQILnXnOQwDQYJKoZI -hvcNAQELBQADggIBADRh2Va1EodVTd2jNTFGu6QHcrxfYWLopfsLN7E8trP6KZ1/AvWkyaiTt3px -KGmPc+FSkNrVvjrlt3ZqVoAh313m6Tqe5T72omnHKgqwGEfcIHB9UqM+WXzBusnIFUBhynLWcKzS -t/Ac5IYp8M7vaGPQtSCKFWGafoaYtMnCdvvMujAWzKNhxnQT5WvvoxXqA/4Ti2Tk08HS6IT7SdEQ -TXlm66r99I0xHnAUrdzeZxNMgRVhvLfZkXdxGYFgu/BYpbWcC/ePIlUnwEsBbTuZDdQdm2NnL9Du -DcpmvJRPpq3t/O5jrFc/ZSXPsoaP0Aj/uHYUbt7lJ+yreLVTubY/6CD50qi+YUbKh4yE8/nxoGib -Ih6BJpsQBJFxwAYf3KDTuVan45gtf4Od34wrnDKOMpTwATwiKp9Dwi7DmDkHOHv8XgBCH/MyJnmD -hPbl8MFREsALHgQjDFSlTC9JxUrRtm5gDWv8a4uFJGS3iQ6rJUdbPM9+Sb3H6QrG2vd+DhcI00iX -0HGS8A85PjRqHH3Y8iKuu2n0M7SmSFXRDw4m6Oy2Cy2nhTXN/VnIn9HNPlopNLk9hM6xZdRZkZFW -dSHBd575euFgndOtBBj0fOtek49TSiIp+EgrPk2GrFt/ywaZWWDYWGWVjUTR939+J399roD1B0y2 -PpxxVJkES/1Y+Zj0 ------END CERTIFICATE----- - -DigiCert Assured ID Root G2 -=========================== ------BEGIN CERTIFICATE----- -MIIDljCCAn6gAwIBAgIQC5McOtY5Z+pnI7/Dr5r0SzANBgkqhkiG9w0BAQsFADBlMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQw -IgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIwHhcNMTMwODAxMTIwMDAwWhcNMzgw -MTE1MTIwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQL -ExB3d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIw -ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ5ygvUj82ckmIkzTz+GoeMVSAn61UQbVH -35ao1K+ALbkKz3X9iaV9JPrjIgwrvJUXCzO/GU1BBpAAvQxNEP4HteccbiJVMWWXvdMX0h5i89vq -bFCMP4QMls+3ywPgym2hFEwbid3tALBSfK+RbLE4E9HpEgjAALAcKxHad3A2m67OeYfcgnDmCXRw -VWmvo2ifv922ebPynXApVfSr/5Vh88lAbx3RvpO704gqu52/clpWcTs/1PPRCv4o76Pu2ZmvA9OP -YLfykqGxvYmJHzDNw6YuYjOuFgJ3RFrngQo8p0Quebg/BLxcoIfhG69Rjs3sLPr4/m3wOnyqi+Rn -lTGNAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBTO -w0q5mVXyuNtgv6l+vVa1lzan1jANBgkqhkiG9w0BAQsFAAOCAQEAyqVVjOPIQW5pJ6d1Ee88hjZv -0p3GeDgdaZaikmkuOGybfQTUiaWxMTeKySHMq2zNixya1r9I0jJmwYrA8y8678Dj1JGG0VDjA9tz -d29KOVPt3ibHtX2vK0LRdWLjSisCx1BL4GnilmwORGYQRI+tBev4eaymG+g3NJ1TyWGqolKvSnAW -hsI6yLETcDbYz+70CjTVW0z9B5yiutkBclzzTcHdDrEcDcRjvq30FPuJ7KJBDkzMyFdA0G4Dqs0M -jomZmWzwPDCvON9vvKO+KSAnq3T/EyJ43pdSVR6DtVQgA+6uwE9W3jfMw3+qBCe703e4YtsXfJwo -IhNzbM8m9Yop5w== ------END CERTIFICATE----- - -DigiCert Assured ID Root G3 -=========================== ------BEGIN CERTIFICATE----- -MIICRjCCAc2gAwIBAgIQC6Fa+h3foLVJRK/NJKBs7DAKBggqhkjOPQQDAzBlMQswCQYDVQQGEwJV -UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQwIgYD -VQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1 -MTIwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 -d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwdjAQ -BgcqhkjOPQIBBgUrgQQAIgNiAAQZ57ysRGXtzbg/WPuNsVepRC0FFfLvC/8QdJ+1YlJfZn4f5dwb -RXkLzMZTCp2NXQLZqVneAlr2lSoOjThKiknGvMYDOAdfVdp+CW7if17QRSAPWXYQ1qAk8C3eNvJs -KTmjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBTL0L2p4ZgF -UaFNN6KDec6NHSrkhDAKBggqhkjOPQQDAwNnADBkAjAlpIFFAmsSS3V0T8gj43DydXLefInwz5Fy -YZ5eEJJZVrmDxxDnOOlYJjZ91eQ0hjkCMHw2U/Aw5WJjOpnitqM7mzT6HtoQknFekROn3aRukswy -1vUhZscv6pZjamVFkpUBtA== ------END CERTIFICATE----- - -DigiCert Global Root G2 -======================= ------BEGIN CERTIFICATE----- -MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBhMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAw -HgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBHMjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUx -MjAwMDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3 -dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkq -hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI2/Ou8jqJ -kTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx1x7e/dfgy5SDN67sH0NO -3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQq2EGnI/yuum06ZIya7XzV+hdG82MHauV -BJVJ8zUtluNJbd134/tJS7SsVQepj5WztCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyM -UNGPHgm+F6HmIcr9g+UQvIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQAB -o0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV5uNu -5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY1Yl9PMWLSn/pvtsr -F9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4NeF22d+mQrvHRAiGfzZ0JFrabA0U -WTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NGFdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBH -QRFXGU7Aj64GxJUTFy8bJZ918rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/ -iyK5S9kJRaTepLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl -MrY= ------END CERTIFICATE----- - -DigiCert Global Root G3 -======================= ------BEGIN CERTIFICATE----- -MIICPzCCAcWgAwIBAgIQBVVWvPJepDU1w6QP1atFcjAKBggqhkjOPQQDAzBhMQswCQYDVQQGEwJV -UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAwHgYD -VQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBHMzAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAw -MDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5k -aWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEczMHYwEAYHKoZIzj0C -AQYFK4EEACIDYgAE3afZu4q4C/sLfyHS8L6+c/MzXRq8NOrexpu80JX28MzQC7phW1FGfp4tn+6O -YwwX7Adw9c+ELkCDnOg/QW07rdOkFFk2eJ0DQ+4QE2xy3q6Ip6FrtUPOZ9wj/wMco+I+o0IwQDAP -BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUs9tIpPmhxdiuNkHMEWNp -Yim8S8YwCgYIKoZIzj0EAwMDaAAwZQIxAK288mw/EkrRLTnDCgmXc/SINoyIJ7vmiI1Qhadj+Z4y -3maTD/HMsQmP3Wyr+mt/oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34 -VOKa5Vt8sycX ------END CERTIFICATE----- - -DigiCert Trusted Root G4 -======================== ------BEGIN CERTIFICATE----- -MIIFkDCCA3igAwIBAgIQBZsbV56OITLiOQe9p3d1XDANBgkqhkiG9w0BAQwFADBiMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEw -HwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1 -MTIwMDAwWjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 -d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0G -CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/5pBzaN675F1KPDAiMGkz7MKnJS7JIT3yithZwuEp -pz1Yq3aaza57G4QNxDAf8xukOBbrVsaXbR2rsnnyyhHS5F/WBTxSD1Ifxp4VpX6+n6lXFllVcq9o -k3DCsrp1mWpzMpTREEQQLt+C8weE5nQ7bXHiLQwb7iDVySAdYyktzuxeTsiT+CFhmzTrBcZe7Fsa -vOvJz82sNEBfsXpm7nfISKhmV1efVFiODCu3T6cw2Vbuyntd463JT17lNecxy9qTXtyOj4DatpGY -QJB5w3jHtrHEtWoYOAMQjdjUN6QuBX2I9YI+EJFwq1WCQTLX2wRzKm6RAXwhTNS8rhsDdV14Ztk6 -MUSaM0C/CNdaSaTC5qmgZ92kJ7yhTzm1EVgX9yRcRo9k98FpiHaYdj1ZXUJ2h4mXaXpI8OCiEhtm -mnTK3kse5w5jrubU75KSOp493ADkRSWJtppEGSt+wJS00mFt6zPZxd9LBADMfRyVw4/3IbKyEbe7 -f/LVjHAsQWCqsWMYRJUadmJ+9oCw++hkpjPRiQfhvbfmQ6QYuKZ3AeEPlAwhHbJUKSWJbOUOUlFH -dL4mrLZBdd56rF+NP8m800ERElvlEFDrMcXKchYiCd98THU/Y+whX8QgUWtvsauGi0/C1kVfnSD8 -oR7FwI+isX4KJpn15GkvmB0t9dmpsh3lGwIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1Ud -DwEB/wQEAwIBhjAdBgNVHQ4EFgQU7NfjgtJxXWRM3y5nP+e6mK4cD08wDQYJKoZIhvcNAQEMBQAD -ggIBALth2X2pbL4XxJEbw6GiAI3jZGgPVs93rnD5/ZpKmbnJeFwMDF/k5hQpVgs2SV1EY+CtnJYY -ZhsjDT156W1r1lT40jzBQ0CuHVD1UvyQO7uYmWlrx8GnqGikJ9yd+SeuMIW59mdNOj6PWTkiU0Tr -yF0Dyu1Qen1iIQqAyHNm0aAFYF/opbSnr6j3bTWcfFqK1qI4mfN4i/RN0iAL3gTujJtHgXINwBQy -7zBZLq7gcfJW5GqXb5JQbZaNaHqasjYUegbyJLkJEVDXCLG4iXqEI2FCKeWjzaIgQdfRnGTZ6iah -ixTXTBmyUEFxPT9NcCOGDErcgdLMMpSEDQgJlxxPwO5rIHQw0uA5NBCFIRUBCOhVMt5xSdkoF1BN -5r5N0XWs0Mr7QbhDparTwwVETyw2m+L64kW4I1NsBm9nVX9GtUw/bihaeSbSpKhil9Ie4u1Ki7wb -/UdKDd9nZn6yW0HQO+T0O/QEY+nvwlQAUaCKKsnOeMzV6ocEGLPOr0mIr/OSmbaz5mEP0oUA51Aa -5BuVnRmhuZyxm7EAHu/QD09CbMkKvO5D+jpxpchNJqU1/YldvIViHTLSoCtU7ZpXwdv6EM8Zt4tK -G48BtieVU+i2iW1bvGjUI+iLUaJW+fCmgKDWHrO8Dw9TdSmq6hN35N6MgSGtBxBHEa2HPQfRdbzP -82Z+ ------END CERTIFICATE----- - -COMODO RSA Certification Authority -================================== ------BEGIN CERTIFICATE----- -MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCBhTELMAkGA1UE -BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG -A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwHhcNMTAwMTE5MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMC -R0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE -ChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCR6FSS0gpWsawNJN3Fz0Rn -dJkrN6N9I3AAcbxT38T6KhKPS38QVr2fcHK3YX/JSw8Xpz3jsARh7v8Rl8f0hj4K+j5c+ZPmNHrZ -FGvnnLOFoIJ6dq9xkNfs/Q36nGz637CC9BR++b7Epi9Pf5l/tfxnQ3K9DADWietrLNPtj5gcFKt+ -5eNu/Nio5JIk2kNrYrhV/erBvGy2i/MOjZrkm2xpmfh4SDBF1a3hDTxFYPwyllEnvGfDyi62a+pG -x8cgoLEfZd5ICLqkTqnyg0Y3hOvozIFIQ2dOciqbXL1MGyiKXCJ7tKuY2e7gUYPDCUZObT6Z+pUX -2nwzV0E8jVHtC7ZcryxjGt9XyD+86V3Em69FmeKjWiS0uqlWPc9vqv9JWL7wqP/0uK3pN/u6uPQL -OvnoQ0IeidiEyxPx2bvhiWC4jChWrBQdnArncevPDt09qZahSL0896+1DSJMwBGB7FY79tOi4lu3 -sgQiUpWAk2nojkxl8ZEDLXB0AuqLZxUpaVICu9ffUGpVRr+goyhhf3DQw6KqLCGqR84onAZFdr+C -GCe01a60y1Dma/RMhnEw6abfFobg2P9A3fvQQoh/ozM6LlweQRGBY84YcWsr7KaKtzFcOmpH4MN5 -WdYgGq/yapiqcrxXStJLnbsQ/LBMQeXtHT1eKJ2czL+zUdqnR+WEUwIDAQABo0IwQDAdBgNVHQ4E -FgQUu69+Aj36pvE8hI6t7jiY7NkyMtQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8w -DQYJKoZIhvcNAQEMBQADggIBAArx1UaEt65Ru2yyTUEUAJNMnMvlwFTPoCWOAvn9sKIN9SCYPBMt -rFaisNZ+EZLpLrqeLppysb0ZRGxhNaKatBYSaVqM4dc+pBroLwP0rmEdEBsqpIt6xf4FpuHA1sj+ -nq6PK7o9mfjYcwlYRm6mnPTXJ9OV2jeDchzTc+CiR5kDOF3VSXkAKRzH7JsgHAckaVd4sjn8OoSg -tZx8jb8uk2IntznaFxiuvTwJaP+EmzzV1gsD41eeFPfR60/IvYcjt7ZJQ3mFXLrrkguhxuhoqEwW -sRqZCuhTLJK7oQkYdQxlqHvLI7cawiiFwxv/0Cti76R7CZGYZ4wUAc1oBmpjIXUDgIiKboHGhfKp -pC3n9KUkEEeDys30jXlYsQab5xoq2Z0B15R97QNKyvDb6KkBPvVWmckejkk9u+UJueBPSZI9FoJA -zMxZxuY67RIuaTxslbH9qh17f4a+Hg4yRvv7E491f0yLS0Zj/gA0QHDBw7mh3aZw4gSzQbzpgJHq -ZJx64SIDqZxubw5lT2yHh17zbqD5daWbQOhTsiedSrnAdyGN/4fy3ryM7xfft0kL0fJuMAsaDk52 -7RH89elWsn2/x20Kk4yl0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7I -LaZRfyHBNVOFBkpdn627G190 ------END CERTIFICATE----- - -USERTrust RSA Certification Authority -===================================== ------BEGIN CERTIFICATE----- -MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkGA1UE -BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK -ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UE -BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK -ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCAEmUXNg7D2wiz -0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2j -Y0K2dvKpOyuR+OJv0OwWIJAJPuLodMkYtJHUYmTbf6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFn -RghRy4YUVD+8M/5+bJz/Fp0YvVGONaanZshyZ9shZrHUm3gDwFA66Mzw3LyeTP6vBZY1H1dat//O -+T23LLb2VN3I5xI6Ta5MirdcmrS3ID3KfyI0rn47aGYBROcBTkZTmzNg95S+UzeQc0PzMsNT79uq -/nROacdrjGCT3sTHDN/hMq7MkztReJVni+49Vv4M0GkPGw/zJSZrM233bkf6c0Plfg6lZrEpfDKE -Y1WJxA3Bk1QwGROs0303p+tdOmw1XNtB1xLaqUkL39iAigmTYo61Zs8liM2EuLE/pDkP2QKe6xJM -lXzzawWpXhaDzLhn4ugTncxbgtNMs+1b/97lc6wjOy0AvzVVdAlJ2ElYGn+SNuZRkg7zJn0cTRe8 -yexDJtC/QV9AqURE9JnnV4eeUB9XVKg+/XRjL7FQZQnmWEIuQxpMtPAlR1n6BB6T1CZGSlCBst6+ -eLf8ZxXhyVeEHg9j1uliutZfVS7qXMYoCAQlObgOK6nyTJccBz8NUvXt7y+CDwIDAQABo0IwQDAd -BgNVHQ4EFgQUU3m/WqorSs9UgOHYm8Cd8rIDZsswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF -MAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAFzUfA3P9wF9QZllDHPFUp/L+M+ZBn8b2kMVn54CVVeW -FPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KOVWKR82kV2LyI48SqC/3vqOlLVSoGIG1VeCkZ -7l8wXEskEVX/JJpuXior7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jRRa8YFWSQ -Eg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9spnFixdjQg3IM -8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwXtuhxkYzeSf7dNXGi -FSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZXHlKYC6SQK5MNyosycdi -yA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL39ZeatTXaw2ewh0qpKJ4jjv9c -J2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnuWih0hKWbt5DHDAff9Yk2dDLWKMGw -sAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gx -Q+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 ------END CERTIFICATE----- - -USERTrust ECC Certification Authority -===================================== ------BEGIN CERTIFICATE----- -MIICjzCCAhWgAwIBAgIQXIuZxVqUxdJxVt7NiYDMJjAKBggqhkjOPQQDAzCBiDELMAkGA1UEBhMC -VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU -aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMC -VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU -aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQarFRaqfloI+d61SRvU8Za2EurxtW2 -0eZzca7dnNYMYf3boIkDuAUU7FfO7l0/4iGzzvfUinngo4N+LZfQYcTxmdwlkWOrfzCjtHDix6Ez -nPO/LlxTsV+zfTJ/ijTjeXmjQjBAMB0GA1UdDgQWBBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAOBgNV -HQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjA2Z6EWCNzklwBB -HU6+4WMBzzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbWRNZu -9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg= ------END CERTIFICATE----- - -GlobalSign ECC Root CA - R5 -=========================== ------BEGIN CERTIFICATE----- -MIICHjCCAaSgAwIBAgIRYFlJ4CYuu1X5CneKcflK2GwwCgYIKoZIzj0EAwMwUDEkMCIGA1UECxMb -R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD -EwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoXDTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMb -R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD -EwpHbG9iYWxTaWduMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAER0UOlvt9Xb/pOdEh+J8LttV7HpI6 -SFkc8GIxLcB6KP4ap1yztsyX50XUWPrRd21DosCHZTQKH3rd6zwzocWdTaRvQZU4f8kehOvRnkmS -h5SHDDqFSmafnVmTTZdhBoZKo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAd -BgNVHQ4EFgQUPeYpSJvqB8ohREom3m7e0oPQn1kwCgYIKoZIzj0EAwMDaAAwZQIxAOVpEslu28Yx -uglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7 -yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3 ------END CERTIFICATE----- - -Staat der Nederlanden EV Root CA -================================ ------BEGIN CERTIFICATE----- -MIIFcDCCA1igAwIBAgIEAJiWjTANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJOTDEeMBwGA1UE -CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSkwJwYDVQQDDCBTdGFhdCBkZXIgTmVkZXJsYW5kZW4g -RVYgUm9vdCBDQTAeFw0xMDEyMDgxMTE5MjlaFw0yMjEyMDgxMTEwMjhaMFgxCzAJBgNVBAYTAk5M -MR4wHAYDVQQKDBVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xKTAnBgNVBAMMIFN0YWF0IGRlciBOZWRl -cmxhbmRlbiBFViBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA48d+ifkk -SzrSM4M1LGns3Amk41GoJSt5uAg94JG6hIXGhaTK5skuU6TJJB79VWZxXSzFYGgEt9nCUiY4iKTW -O0Cmws0/zZiTs1QUWJZV1VD+hq2kY39ch/aO5ieSZxeSAgMs3NZmdO3dZ//BYY1jTw+bbRcwJu+r -0h8QoPnFfxZpgQNH7R5ojXKhTbImxrpsX23Wr9GxE46prfNeaXUmGD5BKyF/7otdBwadQ8QpCiv8 -Kj6GyzyDOvnJDdrFmeK8eEEzduG/L13lpJhQDBXd4Pqcfzho0LKmeqfRMb1+ilgnQ7O6M5HTp5gV -XJrm0w912fxBmJc+qiXbj5IusHsMX/FjqTf5m3VpTCgmJdrV8hJwRVXj33NeN/UhbJCONVrJ0yPr -08C+eKxCKFhmpUZtcALXEPlLVPxdhkqHz3/KRawRWrUgUY0viEeXOcDPusBCAUCZSCELa6fS/ZbV -0b5GnUngC6agIk440ME8MLxwjyx1zNDFjFE7PZQIZCZhfbnDZY8UnCHQqv0XcgOPvZuM5l5Tnrmd -74K74bzickFbIZTTRTeU0d8JOV3nI6qaHcptqAqGhYqCvkIH1vI4gnPah1vlPNOePqc7nvQDs/nx -fRN0Av+7oeX6AHkcpmZBiFxgV6YuCcS6/ZrPpx9Aw7vMWgpVSzs4dlG4Y4uElBbmVvMCAwEAAaNC -MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFP6rAJCYniT8qcwa -ivsnuL8wbqg7MA0GCSqGSIb3DQEBCwUAA4ICAQDPdyxuVr5Os7aEAJSrR8kN0nbHhp8dB9O2tLsI -eK9p0gtJ3jPFrK3CiAJ9Brc1AsFgyb/E6JTe1NOpEyVa/m6irn0F3H3zbPB+po3u2dfOWBfoqSmu -c0iH55vKbimhZF8ZE/euBhD/UcabTVUlT5OZEAFTdfETzsemQUHSv4ilf0X8rLiltTMMgsT7B/Zq -5SWEXwbKwYY5EdtYzXc7LMJMD16a4/CrPmEbUCTCwPTxGfARKbalGAKb12NMcIxHowNDXLldRqAN -b/9Zjr7dn3LDWyvfjFvO5QxGbJKyCqNMVEIYFRIYvdr8unRu/8G2oGTYqV9Vrp9canaW2HNnh/tN -f1zuacpzEPuKqf2evTY4SUmH9A4U8OmHuD+nT3pajnnUk+S7aFKErGzp85hwVXIy+TSrK0m1zSBi -5Dp6Z2Orltxtrpfs/J92VoguZs9btsmksNcFuuEnL5O7Jiqik7Ab846+HUCjuTaPPoIaGl6I6lD4 -WeKDRikL40Rc4ZW2aZCaFG+XroHPaO+Zmr615+F/+PoTRxZMzG0IQOeLeG9QgkRQP2YGiqtDhFZK -DyAthg710tvSeopLzaXoTvFeJiUBWSOgftL2fiFX1ye8FVdMpEbB4IMeDExNH08GGeL5qPQ6gqGy -eUN51q1veieQA6TqJIc/2b3Z6fJfUEkc7uzXLg== ------END CERTIFICATE----- - -IdenTrust Commercial Root CA 1 -============================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIQCgFCgAAAAUUjyES1AAAAAjANBgkqhkiG9w0BAQsFADBKMQswCQYDVQQG -EwJVUzESMBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBS -b290IENBIDEwHhcNMTQwMTE2MTgxMjIzWhcNMzQwMTE2MTgxMjIzWjBKMQswCQYDVQQGEwJVUzES -MBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBSb290IENB -IDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCnUBneP5k91DNG8W9RYYKyqU+PZ4ld -hNlT3Qwo2dfw/66VQ3KZ+bVdfIrBQuExUHTRgQ18zZshq0PirK1ehm7zCYofWjK9ouuU+ehcCuz/ -mNKvcbO0U59Oh++SvL3sTzIwiEsXXlfEU8L2ApeN2WIrvyQfYo3fw7gpS0l4PJNgiCL8mdo2yMKi -1CxUAGc1bnO/AljwpN3lsKImesrgNqUZFvX9t++uP0D1bVoE/c40yiTcdCMbXTMTEl3EASX2MN0C -XZ/g1Ue9tOsbobtJSdifWwLziuQkkORiT0/Br4sOdBeo0XKIanoBScy0RnnGF7HamB4HWfp1IYVl -3ZBWzvurpWCdxJ35UrCLvYf5jysjCiN2O/cz4ckA82n5S6LgTrx+kzmEB/dEcH7+B1rlsazRGMzy -NeVJSQjKVsk9+w8YfYs7wRPCTY/JTw436R+hDmrfYi7LNQZReSzIJTj0+kuniVyc0uMNOYZKdHzV -WYfCP04MXFL0PfdSgvHqo6z9STQaKPNBiDoT7uje/5kdX7rL6B7yuVBgwDHTc+XvvqDtMwt0viAg -xGds8AgDelWAf0ZOlqf0Hj7h9tgJ4TNkK2PXMl6f+cB7D3hvl7yTmvmcEpB4eoCHFddydJxVdHix -uuFucAS6T6C6aMN7/zHwcz09lCqxC0EOoP5NiGVreTO01wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMC -AQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU7UQZwNPwBovupHu+QucmVMiONnYwDQYJKoZI -hvcNAQELBQADggIBAA2ukDL2pkt8RHYZYR4nKM1eVO8lvOMIkPkp165oCOGUAFjvLi5+U1KMtlwH -6oi6mYtQlNeCgN9hCQCTrQ0U5s7B8jeUeLBfnLOic7iPBZM4zY0+sLj7wM+x8uwtLRvM7Kqas6pg -ghstO8OEPVeKlh6cdbjTMM1gCIOQ045U8U1mwF10A0Cj7oV+wh93nAbowacYXVKV7cndJZ5t+qnt -ozo00Fl72u1Q8zW/7esUTTHHYPTa8Yec4kjixsU3+wYQ+nVZZjFHKdp2mhzpgq7vmrlR94gjmmmV -YjzlVYA211QC//G5Xc7UI2/YRYRKW2XviQzdFKcgyxilJbQN+QHwotL0AMh0jqEqSI5l2xPE4iUX -feu+h1sXIFRRk0pTAwvsXcoz7WL9RccvW9xYoIA55vrX/hMUpu09lEpCdNTDd1lzzY9GvlU47/ro -kTLql1gEIt44w8y8bckzOmoKaT+gyOpyj4xjhiO9bTyWnpXgSUyqorkqG5w2gXjtw+hG4iZZRHUe -2XWJUc0QhJ1hYMtd+ZciTY6Y5uN/9lu7rs3KSoFrXgvzUeF0K+l+J6fZmUlO+KWA2yUPHGNiiskz -Z2s8EIPGrd6ozRaOjfAHN3Gf8qv8QfXBi+wAN10J5U6A7/qxXDgGpRtK4dw4LTzcqx+QGtVKnO7R -cGzM7vRX+Bi6hG6H ------END CERTIFICATE----- - -IdenTrust Public Sector Root CA 1 -================================= ------BEGIN CERTIFICATE----- -MIIFZjCCA06gAwIBAgIQCgFCgAAAAUUjz0Z8AAAAAjANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQG -EwJVUzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3Rv -ciBSb290IENBIDEwHhcNMTQwMTE2MTc1MzMyWhcNMzQwMTE2MTc1MzMyWjBNMQswCQYDVQQGEwJV -UzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3RvciBS -b290IENBIDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2IpT8pEiv6EdrCvsnduTy -P4o7ekosMSqMjbCpwzFrqHd2hCa2rIFCDQjrVVi7evi8ZX3yoG2LqEfpYnYeEe4IFNGyRBb06tD6 -Hi9e28tzQa68ALBKK0CyrOE7S8ItneShm+waOh7wCLPQ5CQ1B5+ctMlSbdsHyo+1W/CD80/HLaXI -rcuVIKQxKFdYWuSNG5qrng0M8gozOSI5Cpcu81N3uURF/YTLNiCBWS2ab21ISGHKTN9T0a9SvESf -qy9rg3LvdYDaBjMbXcjaY8ZNzaxmMc3R3j6HEDbhuaR672BQssvKplbgN6+rNBM5Jeg5ZuSYeqoS -mJxZZoY+rfGwyj4GD3vwEUs3oERte8uojHH01bWRNszwFcYr3lEXsZdMUD2xlVl8BX0tIdUAvwFn -ol57plzy9yLxkA2T26pEUWbMfXYD62qoKjgZl3YNa4ph+bz27nb9cCvdKTz4Ch5bQhyLVi9VGxyh -LrXHFub4qjySjmm2AcG1hp2JDws4lFTo6tyePSW8Uybt1as5qsVATFSrsrTZ2fjXctscvG29ZV/v -iDUqZi/u9rNl8DONfJhBaUYPQxxp+pu10GFqzcpL2UyQRqsVWaFHVCkugyhfHMKiq3IXAAaOReyL -4jM9f9oZRORicsPfIsbyVtTdX5Vy7W1f90gDW/3FKqD2cyOEEBsB5wIDAQABo0IwQDAOBgNVHQ8B -Af8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU43HgntinQtnbcZFrlJPrw6PRFKMw -DQYJKoZIhvcNAQELBQADggIBAEf63QqwEZE4rU1d9+UOl1QZgkiHVIyqZJnYWv6IAcVYpZmxI1Qj -t2odIFflAWJBF9MJ23XLblSQdf4an4EKwt3X9wnQW3IV5B4Jaj0z8yGa5hV+rVHVDRDtfULAj+7A -mgjVQdZcDiFpboBhDhXAuM/FSRJSzL46zNQuOAXeNf0fb7iAaJg9TaDKQGXSc3z1i9kKlT/YPyNt -GtEqJBnZhbMX73huqVjRI9PHE+1yJX9dsXNw0H8GlwmEKYBhHfpe/3OsoOOJuBxxFcbeMX8S3OFt -m6/n6J91eEyrRjuazr8FGF1NFTwWmhlQBJqymm9li1JfPFgEKCXAZmExfrngdbkaqIHWchezxQMx -NRF4eKLg6TCMf4DfWN88uieW4oA0beOY02QnrEh+KHdcxiVhJfiFDGX6xDIvpZgF5PgLZxYWxoK4 -Mhn5+bl53B/N66+rDt0b20XkeucC4pVd/GnwU2lhlXV5C15V5jgclKlZM57IcXR5f1GJtshquDDI -ajjDbp7hNxbqBWJMWxJH7ae0s1hWx0nzfxJoCTFx8G34Tkf71oXuxVhAGaQdp/lLQzfcaFpPz+vC -ZHTetBXZ9FRUGi8c15dxVJCO2SCdUyt/q4/i6jC8UDfv8Ue1fXwsBOxonbRJRBD0ckscZOf85muQ -3Wl9af0AVqW3rLatt8o+Ae+c ------END CERTIFICATE----- - -Entrust Root Certification Authority - G2 -========================================= ------BEGIN CERTIFICATE----- -MIIEPjCCAyagAwIBAgIESlOMKDANBgkqhkiG9w0BAQsFADCBvjELMAkGA1UEBhMCVVMxFjAUBgNV -BAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVnYWwtdGVy -bXMxOTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ug -b25seTEyMDAGA1UEAxMpRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzIw -HhcNMDkwNzA3MTcyNTU0WhcNMzAxMjA3MTc1NTU0WjCBvjELMAkGA1UEBhMCVVMxFjAUBgNVBAoT -DUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVnYWwtdGVybXMx -OTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ugb25s -eTEyMDAGA1UEAxMpRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzIwggEi -MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6hLZy254Ma+KZ6TABp3bqMriVQRrJ2mFOWHLP -/vaCeb9zYQYKpSfYs1/TRU4cctZOMvJyig/3gxnQaoCAAEUesMfnmr8SVycco2gvCoe9amsOXmXz -HHfV1IWNcCG0szLni6LVhjkCsbjSR87kyUnEO6fe+1R9V77w6G7CebI6C1XiUJgWMhNcL3hWwcKU -s/Ja5CeanyTXxuzQmyWC48zCxEXFjJd6BmsqEZ+pCm5IO2/b1BEZQvePB7/1U1+cPvQXLOZprE4y -TGJ36rfo5bs0vBmLrpxR57d+tVOxMyLlbc9wPBr64ptntoP0jaWvYkxN4FisZDQSA/i2jZRjJKRx -AgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqciZ6 -0B7vfec7aVHUbI2fkBJmqzANBgkqhkiG9w0BAQsFAAOCAQEAeZ8dlsa2eT8ijYfThwMEYGprmi5Z -iXMRrEPR9RP/jTkrwPK9T3CMqS/qF8QLVJ7UG5aYMzyorWKiAHarWWluBh1+xLlEjZivEtRh2woZ -Rkfz6/djwUAFQKXSt/S1mja/qYh2iARVBCuch38aNzx+LaUa2NSJXsq9rD1s2G2v1fN2D807iDgi -nWyTmsQ9v4IbZT+mD12q/OWyFcq1rca8PdCE6OoGcrBNOTJ4vz4RnAuknZoh8/CbCzB428Hch0P+ -vGOaysXCHMnHjf87ElgI5rY97HosTvuDls4MPGmHVHOkc8KT/1EQrBVUAdj8BbGJoX90g5pJ19xO -e4pIb4tF9g== ------END CERTIFICATE----- - -Entrust Root Certification Authority - EC1 -========================================== ------BEGIN CERTIFICATE----- -MIIC+TCCAoCgAwIBAgINAKaLeSkAAAAAUNCR+TAKBggqhkjOPQQDAzCBvzELMAkGA1UEBhMCVVMx -FjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVn -YWwtdGVybXMxOTA3BgNVBAsTMChjKSAyMDEyIEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXpl -ZCB1c2Ugb25seTEzMDEGA1UEAxMqRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5 -IC0gRUMxMB4XDTEyMTIxODE1MjUzNloXDTM3MTIxODE1NTUzNlowgb8xCzAJBgNVBAYTAlVTMRYw -FAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3QubmV0L2xlZ2Fs -LXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxMiBFbnRydXN0LCBJbmMuIC0gZm9yIGF1dGhvcml6ZWQg -dXNlIG9ubHkxMzAxBgNVBAMTKkVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAt -IEVDMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABIQTydC6bUF74mzQ61VfZgIaJPRbiWlH47jCffHy -AsWfoPZb1YsGGYZPUxBtByQnoaD41UcZYUx9ypMn6nQM72+WCf5j7HBdNq1nd67JnXxVRDqiY1Ef -9eNi1KlHBz7MIKNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE -FLdj5xrdjekIplWDpOBqUEFlEUJJMAoGCCqGSM49BAMDA2cAMGQCMGF52OVCR98crlOZF7ZvHH3h -vxGU0QOIdeSNiaSKd0bebWHvAvX7td/M/k7//qnmpwIwW5nXhTcGtXsI/esni0qU+eH6p44mCOh8 -kmhtc9hvJqwhAriZtyZBWyVgrtBIGu4G ------END CERTIFICATE----- - -CFCA EV ROOT -============ ------BEGIN CERTIFICATE----- -MIIFjTCCA3WgAwIBAgIEGErM1jANBgkqhkiG9w0BAQsFADBWMQswCQYDVQQGEwJDTjEwMC4GA1UE -CgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQDDAxDRkNB -IEVWIFJPT1QwHhcNMTIwODA4MDMwNzAxWhcNMjkxMjMxMDMwNzAxWjBWMQswCQYDVQQGEwJDTjEw -MC4GA1UECgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQD -DAxDRkNBIEVWIFJPT1QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDXXWvNED8fBVnV -BU03sQ7smCuOFR36k0sXgiFxEFLXUWRwFsJVaU2OFW2fvwwbwuCjZ9YMrM8irq93VCpLTIpTUnrD -7i7es3ElweldPe6hL6P3KjzJIx1qqx2hp/Hz7KDVRM8Vz3IvHWOX6Jn5/ZOkVIBMUtRSqy5J35DN -uF++P96hyk0g1CXohClTt7GIH//62pCfCqktQT+x8Rgp7hZZLDRJGqgG16iI0gNyejLi6mhNbiyW -ZXvKWfry4t3uMCz7zEasxGPrb382KzRzEpR/38wmnvFyXVBlWY9ps4deMm/DGIq1lY+wejfeWkU7 -xzbh72fROdOXW3NiGUgthxwG+3SYIElz8AXSG7Ggo7cbcNOIabla1jj0Ytwli3i/+Oh+uFzJlU9f -py25IGvPa931DfSCt/SyZi4QKPaXWnuWFo8BGS1sbn85WAZkgwGDg8NNkt0yxoekN+kWzqotaK8K -gWU6cMGbrU1tVMoqLUuFG7OA5nBFDWteNfB/O7ic5ARwiRIlk9oKmSJgamNgTnYGmE69g60dWIol -hdLHZR4tjsbftsbhf4oEIRUpdPA+nJCdDC7xij5aqgwJHsfVPKPtl8MeNPo4+QgO48BdK4PRVmrJ -tqhUUy54Mmc9gn900PvhtgVguXDbjgv5E1hvcWAQUhC5wUEJ73IfZzF4/5YFjQIDAQABo2MwYTAf -BgNVHSMEGDAWgBTj/i39KNALtbq2osS/BqoFjJP7LzAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB -/wQEAwIBBjAdBgNVHQ4EFgQU4/4t/SjQC7W6tqLEvwaqBYyT+y8wDQYJKoZIhvcNAQELBQADggIB -ACXGumvrh8vegjmWPfBEp2uEcwPenStPuiB/vHiyz5ewG5zz13ku9Ui20vsXiObTej/tUxPQ4i9q -ecsAIyjmHjdXNYmEwnZPNDatZ8POQQaIxffu2Bq41gt/UP+TqhdLjOztUmCypAbqTuv0axn96/Ua -4CUqmtzHQTb3yHQFhDmVOdYLO6Qn+gjYXB74BGBSESgoA//vU2YApUo0FmZ8/Qmkrp5nGm9BC2sG -E5uPhnEFtC+NiWYzKXZUmhH4J/qyP5Hgzg0b8zAarb8iXRvTvyUFTeGSGn+ZnzxEk8rUQElsgIfX -BDrDMlI1Dlb4pd19xIsNER9Tyx6yF7Zod1rg1MvIB671Oi6ON7fQAUtDKXeMOZePglr4UeWJoBjn -aH9dCi77o0cOPaYjesYBx4/IXr9tgFa+iiS6M+qf4TIRnvHST4D2G0CvOJ4RUHlzEhLN5mydLIhy -PDCBBpEi6lmt2hkuIsKNuYyH4Ga8cyNfIWRjgEj1oDwYPZTISEEdQLpe/v5WOaHIz16eGWRGENoX -kbcFgKyLmZJ956LYBws2J+dIeWCKw9cTXPhyQN9Ky8+ZAAoACxGV2lZFA4gKn2fQ1XmxqI1AbQ3C -ekD6819kR5LLU7m7Wc5P/dAVUwHY3+vZ5nbv0CO7O6l5s9UCKc2Jo5YPSjXnTkLAdc0Hz+Ys63su ------END CERTIFICATE----- - -OISTE WISeKey Global Root GB CA -=============================== ------BEGIN CERTIFICATE----- -MIIDtTCCAp2gAwIBAgIQdrEgUnTwhYdGs/gjGvbCwDANBgkqhkiG9w0BAQsFADBtMQswCQYDVQQG -EwJDSDEQMA4GA1UEChMHV0lTZUtleTEiMCAGA1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNl -ZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9iYWwgUm9vdCBHQiBDQTAeFw0xNDEyMDExNTAw -MzJaFw0zOTEyMDExNTEwMzFaMG0xCzAJBgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYD -VQQLExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEds -b2JhbCBSb290IEdCIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Be3HEokKtaX -scriHvt9OO+Y9bI5mE4nuBFde9IllIiCFSZqGzG7qFshISvYD06fWvGxWuR51jIjK+FTzJlFXHtP -rby/h0oLS5daqPZI7H17Dc0hBt+eFf1Biki3IPShehtX1F1Q/7pn2COZH8g/497/b1t3sWtuuMlk -9+HKQUYOKXHQuSP8yYFfTvdv37+ErXNku7dCjmn21HYdfp2nuFeKUWdy19SouJVUQHMD9ur06/4o -Qnc/nSMbsrY9gBQHTC5P99UKFg29ZkM3fiNDecNAhvVMKdqOmq0NpQSHiB6F4+lT1ZvIiwNjeOvg -GUpuuy9rM2RYk61pv48b74JIxwIDAQABo1EwTzALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB -/zAdBgNVHQ4EFgQUNQ/INmNe4qPs+TtmFc5RUuORmj0wEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZI -hvcNAQELBQADggEBAEBM+4eymYGQfp3FsLAmzYh7KzKNbrghcViXfa43FK8+5/ea4n32cZiZBKpD -dHij40lhPnOMTZTg+XHEthYOU3gf1qKHLwI5gSk8rxWYITD+KJAAjNHhy/peyP34EEY7onhCkRd0 -VQreUGdNZtGn//3ZwLWoo4rOZvUPQ82nK1d7Y0Zqqi5S2PTt4W2tKZB4SLrhI6qjiey1q5bAtEui -HZeeevJuQHHfaPFlTc58Bd9TZaml8LGXBHAVRgOY1NK/VLSgWH1Sb9pWJmLU2NuJMW8c8CLC02Ic -Nc1MaRVUGpCY3useX8p3x8uOPUNpnJpY0CQ73xtAln41rYHHTnG6iBM= ------END CERTIFICATE----- - -SZAFIR ROOT CA2 -=============== ------BEGIN CERTIFICATE----- -MIIDcjCCAlqgAwIBAgIUPopdB+xV0jLVt+O2XwHrLdzk1uQwDQYJKoZIhvcNAQELBQAwUTELMAkG -A1UEBhMCUEwxKDAmBgNVBAoMH0tyYWpvd2EgSXpiYSBSb3psaWN6ZW5pb3dhIFMuQS4xGDAWBgNV -BAMMD1NaQUZJUiBST09UIENBMjAeFw0xNTEwMTkwNzQzMzBaFw0zNTEwMTkwNzQzMzBaMFExCzAJ -BgNVBAYTAlBMMSgwJgYDVQQKDB9LcmFqb3dhIEl6YmEgUm96bGljemVuaW93YSBTLkEuMRgwFgYD -VQQDDA9TWkFGSVIgUk9PVCBDQTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3vD5Q -qEvNQLXOYeeWyrSh2gwisPq1e3YAd4wLz32ohswmUeQgPYUM1ljj5/QqGJ3a0a4m7utT3PSQ1hNK -DJA8w/Ta0o4NkjrcsbH/ON7Dui1fgLkCvUqdGw+0w8LBZwPd3BucPbOw3gAeqDRHu5rr/gsUvTaE -2g0gv/pby6kWIK05YO4vdbbnl5z5Pv1+TW9NL++IDWr63fE9biCloBK0TXC5ztdyO4mTp4CEHCdJ -ckm1/zuVnsHMyAHs6A6KCpbns6aH5db5BSsNl0BwPLqsdVqc1U2dAgrSS5tmS0YHF2Wtn2yIANwi -ieDhZNRnvDF5YTy7ykHNXGoAyDw4jlivAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P -AQH/BAQDAgEGMB0GA1UdDgQWBBQuFqlKGLXLzPVvUPMjX/hd56zwyDANBgkqhkiG9w0BAQsFAAOC -AQEAtXP4A9xZWx126aMqe5Aosk3AM0+qmrHUuOQn/6mWmc5G4G18TKI4pAZw8PRBEew/R40/cof5 -O/2kbytTAOD/OblqBw7rHRz2onKQy4I9EYKL0rufKq8h5mOGnXkZ7/e7DDWQw4rtTw/1zBLZpD67 -oPwglV9PJi8RI4NOdQcPv5vRtB3pEAT+ymCPoky4rc/hkA/NrgrHXXu3UNLUYfrVFdvXn4dRVOul -4+vJhaAlIDf7js4MNIThPIGyd05DpYhfhmehPea0XGG2Ptv+tyjFogeutcrKjSoS75ftwjCkySp6 -+/NNIxuZMzSgLvWpCz/UXeHPhJ/iGcJfitYgHuNztw== ------END CERTIFICATE----- - -Certum Trusted Network CA 2 -=========================== ------BEGIN CERTIFICATE----- -MIIF0jCCA7qgAwIBAgIQIdbQSk8lD8kyN/yqXhKN6TANBgkqhkiG9w0BAQ0FADCBgDELMAkGA1UE -BhMCUEwxIjAgBgNVBAoTGVVuaXpldG8gVGVjaG5vbG9naWVzIFMuQS4xJzAlBgNVBAsTHkNlcnR1 -bSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEkMCIGA1UEAxMbQ2VydHVtIFRydXN0ZWQgTmV0d29y -ayBDQSAyMCIYDzIwMTExMDA2MDgzOTU2WhgPMjA0NjEwMDYwODM5NTZaMIGAMQswCQYDVQQGEwJQ -TDEiMCAGA1UEChMZVW5pemV0byBUZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENl -cnRpZmljYXRpb24gQXV0aG9yaXR5MSQwIgYDVQQDExtDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENB -IDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9+Xj45tWADGSdhhuWZGc/IjoedQF9 -7/tcZ4zJzFxrqZHmuULlIEub2pt7uZld2ZuAS9eEQCsn0+i6MLs+CRqnSZXvK0AkwpfHp+6bJe+o -CgCXhVqqndwpyeI1B+twTUrWwbNWuKFBOJvR+zF/j+Bf4bE/D44WSWDXBo0Y+aomEKsq09DRZ40b -Rr5HMNUuctHFY9rnY3lEfktjJImGLjQ/KUxSiyqnwOKRKIm5wFv5HdnnJ63/mgKXwcZQkpsCLL2p -uTRZCr+ESv/f/rOf69me4Jgj7KZrdxYq28ytOxykh9xGc14ZYmhFV+SQgkK7QtbwYeDBoz1mo130 -GO6IyY0XRSmZMnUCMe4pJshrAua1YkV/NxVaI2iJ1D7eTiew8EAMvE0Xy02isx7QBlrd9pPPV3WZ -9fqGGmd4s7+W/jTcvedSVuWz5XV710GRBdxdaeOVDUO5/IOWOZV7bIBaTxNyxtd9KXpEulKkKtVB -Rgkg/iKgtlswjbyJDNXXcPiHUv3a76xRLgezTv7QCdpw75j6VuZt27VXS9zlLCUVyJ4ueE742pye -hizKV/Ma5ciSixqClnrDvFASadgOWkaLOusm+iPJtrCBvkIApPjW/jAux9JG9uWOdf3yzLnQh1vM -BhBgu4M1t15n3kfsmUjxpKEV/q2MYo45VU85FrmxY53/twIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MB0GA1UdDgQWBBS2oVQ5AsOgP46KvPrU+Bym0ToO/TAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZI -hvcNAQENBQADggIBAHGlDs7k6b8/ONWJWsQCYftMxRQXLYtPU2sQF/xlhMcQSZDe28cmk4gmb3DW -Al45oPePq5a1pRNcgRRtDoGCERuKTsZPpd1iHkTfCVn0W3cLN+mLIMb4Ck4uWBzrM9DPhmDJ2vuA -L55MYIR4PSFk1vtBHxgP58l1cb29XN40hz5BsA72udY/CROWFC/emh1auVbONTqwX3BNXuMp8SMo -clm2q8KMZiYcdywmdjWLKKdpoPk79SPdhRB0yZADVpHnr7pH1BKXESLjokmUbOe3lEu6LaTaM4tM -pkT/WjzGHWTYtTHkpjx6qFcL2+1hGsvxznN3Y6SHb0xRONbkX8eftoEq5IVIeVheO/jbAoJnwTnb -w3RLPTYe+SmTiGhbqEQZIfCn6IENLOiTNrQ3ssqwGyZ6miUfmpqAnksqP/ujmv5zMnHCnsZy4Ypo -J/HkD7TETKVhk/iXEAcqMCWpuchxuO9ozC1+9eB+D4Kob7a6bINDd82Kkhehnlt4Fj1F4jNy3eFm -ypnTycUm/Q1oBEauttmbjL4ZvrHG8hnjXALKLNhvSgfZyTXaQHXyxKcZb55CEJh15pWLYLztxRLX -is7VmFxWlgPF7ncGNf/P5O4/E2Hu29othfDNrp2yGAlFw5Khchf8R7agCyzxxN5DaAhqXzvwdmP7 -zAYspsbiDrW5viSP ------END CERTIFICATE----- - -Hellenic Academic and Research Institutions RootCA 2015 -======================================================= ------BEGIN CERTIFICATE----- -MIIGCzCCA/OgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBpjELMAkGA1UEBhMCR1IxDzANBgNVBAcT -BkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0 -aW9ucyBDZXJ0LiBBdXRob3JpdHkxQDA+BgNVBAMTN0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNl -YXJjaCBJbnN0aXR1dGlvbnMgUm9vdENBIDIwMTUwHhcNMTUwNzA3MTAxMTIxWhcNNDAwNjMwMTAx -MTIxWjCBpjELMAkGA1UEBhMCR1IxDzANBgNVBAcTBkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMg -QWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9ucyBDZXJ0LiBBdXRob3JpdHkxQDA+BgNV -BAMTN0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgUm9vdENBIDIw -MTUwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDC+Kk/G4n8PDwEXT2QNrCROnk8Zlrv -bTkBSRq0t89/TSNTt5AA4xMqKKYx8ZEA4yjsriFBzh/a/X0SWwGDD7mwX5nh8hKDgE0GPt+sr+eh -iGsxr/CL0BgzuNtFajT0AoAkKAoCFZVedioNmToUW/bLy1O8E00BiDeUJRtCvCLYjqOWXjrZMts+ -6PAQZe104S+nfK8nNLspfZu2zwnI5dMK/IhlZXQK3HMcXM1AsRzUtoSMTFDPaI6oWa7CJ06CojXd -FPQf/7J31Ycvqm59JCfnxssm5uX+Zwdj2EUN3TpZZTlYepKZcj2chF6IIbjV9Cz82XBST3i4vTwr -i5WY9bPRaM8gFH5MXF/ni+X1NYEZN9cRCLdmvtNKzoNXADrDgfgXy5I2XdGj2HUb4Ysn6npIQf1F -GQatJ5lOwXBH3bWfgVMS5bGMSF0xQxfjjMZ6Y5ZLKTBOhE5iGV48zpeQpX8B653g+IuJ3SWYPZK2 -fu/Z8VFRfS0myGlZYeCsargqNhEEelC9MoS+L9xy1dcdFkfkR2YgP/SWxa+OAXqlD3pk9Q0Yh9mu -iNX6hME6wGkoLfINaFGq46V3xqSQDqE3izEjR8EJCOtu93ib14L8hCCZSRm2Ekax+0VVFqmjZayc -Bw/qa9wfLgZy7IaIEuQt218FL+TwA9MmM+eAws1CoRc0CwIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUcRVnyMjJvXVdctA4GGqd83EkVAswDQYJKoZI -hvcNAQELBQADggIBAHW7bVRLqhBYRjTyYtcWNl0IXtVsyIe9tC5G8jH4fOpCtZMWVdyhDBKg2mF+ -D1hYc2Ryx+hFjtyp8iY/xnmMsVMIM4GwVhO+5lFc2JsKT0ucVlMC6U/2DWDqTUJV6HwbISHTGzrM -d/K4kPFox/la/vot9L/J9UUbzjgQKjeKeaO04wlshYaT/4mWJ3iBj2fjRnRUjtkNaeJK9E10A/+y -d+2VZ5fkscWrv2oj6NSU4kQoYsRL4vDY4ilrGnB+JGGTe08DMiUNRSQrlrRGar9KC/eaj8GsGsVn -82800vpzY4zvFrCopEYq+OsS7HK07/grfoxSwIuEVPkvPuNVqNxmsdnhX9izjFk0WaSrT2y7Hxjb -davYy5LNlDhhDgcGH0tGEPEVvo2FXDtKK4F5D7Rpn0lQl033DlZdwJVqwjbDG2jJ9SrcR5q+ss7F -Jej6A7na+RZukYT1HCjI/CbM1xyQVqdfbzoEvM14iQuODy+jqk+iGxI9FghAD/FGTNeqewjBCvVt -J94Cj8rDtSvK6evIIVM4pcw72Hc3MKJP2W/R8kCtQXoXxdZKNYm3QdV8hn9VTYNKpXMgwDqvkPGa -JI7ZjnHKe7iG2rKPmT4dEw0SEe7Uq/DpFXYC5ODfqiAeW2GFZECpkJcNrVPSWh2HagCXZWK0vm9q -p/UsQu0yrbYhnr68 ------END CERTIFICATE----- - -Hellenic Academic and Research Institutions ECC RootCA 2015 -=========================================================== ------BEGIN CERTIFICATE----- -MIICwzCCAkqgAwIBAgIBADAKBggqhkjOPQQDAjCBqjELMAkGA1UEBhMCR1IxDzANBgNVBAcTBkF0 -aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9u -cyBDZXJ0LiBBdXRob3JpdHkxRDBCBgNVBAMTO0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJj -aCBJbnN0aXR1dGlvbnMgRUNDIFJvb3RDQSAyMDE1MB4XDTE1MDcwNzEwMzcxMloXDTQwMDYzMDEw -MzcxMlowgaoxCzAJBgNVBAYTAkdSMQ8wDQYDVQQHEwZBdGhlbnMxRDBCBgNVBAoTO0hlbGxlbmlj -IEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ2VydC4gQXV0aG9yaXR5MUQwQgYD -VQQDEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25zIEVDQyBSb290 -Q0EgMjAxNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABJKgQehLgoRc4vgxEZmGZE4JJS+dQS8KrjVP -dJWyUWRrjWvmP3CV8AVER6ZyOFB2lQJajq4onvktTpnvLEhvTCUp6NFxW98dwXU3tNf6e3pCnGoK -Vlp8aQuqgAkkbH7BRqNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0O -BBYEFLQiC4KZJAEOnLvkDv2/+5cgk5kqMAoGCCqGSM49BAMCA2cAMGQCMGfOFmI4oqxiRaeplSTA -GiecMjvAwNW6qef4BENThe5SId6d9SWDPp5YSy/XZxMOIQIwBeF1Ad5o7SofTUwJCA3sS61kFyjn -dc5FZXIhF8siQQ6ME5g4mlRtm8rifOoCWCKR ------END CERTIFICATE----- - -ISRG Root X1 -============ ------BEGIN CERTIFICATE----- -MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAwTzELMAkGA1UE -BhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2VhcmNoIEdyb3VwMRUwEwYDVQQD -EwxJU1JHIFJvb3QgWDEwHhcNMTUwNjA0MTEwNDM4WhcNMzUwNjA0MTEwNDM4WjBPMQswCQYDVQQG -EwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMT -DElTUkcgUm9vdCBYMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK3oJHP0FDfzm54r -Vygch77ct984kIxuPOZXoHj3dcKi/vVqbvYATyjb3miGbESTtrFj/RQSa78f0uoxmyF+0TM8ukj1 -3Xnfs7j/EvEhmkvBioZxaUpmZmyPfjxwv60pIgbz5MDmgK7iS4+3mX6UA5/TR5d8mUgjU+g4rk8K -b4Mu0UlXjIB0ttov0DiNewNwIRt18jA8+o+u3dpjq+sWT8KOEUt+zwvo/7V3LvSye0rgTBIlDHCN -Aymg4VMk7BPZ7hm/ELNKjD+Jo2FR3qyHB5T0Y3HsLuJvW5iB4YlcNHlsdu87kGJ55tukmi8mxdAQ -4Q7e2RCOFvu396j3x+UCB5iPNgiV5+I3lg02dZ77DnKxHZu8A/lJBdiB3QW0KtZB6awBdpUKD9jf -1b0SHzUvKBds0pjBqAlkd25HN7rOrFleaJ1/ctaJxQZBKT5ZPt0m9STJEadao0xAH0ahmbWnOlFu -hjuefXKnEgV4We0+UXgVCwOPjdAvBbI+e0ocS3MFEvzG6uBQE3xDk3SzynTnjh8BCNAw1FtxNrQH -usEwMFxIt4I7mKZ9YIqioymCzLq9gwQbooMDQaHWBfEbwrbwqHyGO0aoSCqI3Haadr8faqU9GY/r -OPNk3sgrDQoo//fb4hVC1CLQJ13hef4Y53CIrU7m2Ys6xt0nUW7/vGT1M0NPAgMBAAGjQjBAMA4G -A1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBR5tFnme7bl5AFzgAiIyBpY -9umbbjANBgkqhkiG9w0BAQsFAAOCAgEAVR9YqbyyqFDQDLHYGmkgJykIrGF1XIpu+ILlaS/V9lZL -ubhzEFnTIZd+50xx+7LSYK05qAvqFyFWhfFQDlnrzuBZ6brJFe+GnY+EgPbk6ZGQ3BebYhtF8GaV -0nxvwuo77x/Py9auJ/GpsMiu/X1+mvoiBOv/2X/qkSsisRcOj/KKNFtY2PwByVS5uCbMiogziUwt -hDyC3+6WVwW6LLv3xLfHTjuCvjHIInNzktHCgKQ5ORAzI4JMPJ+GslWYHb4phowim57iaztXOoJw -TdwJx4nLCgdNbOhdjsnvzqvHu7UrTkXWStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nx -e5AW0wdeRlN8NwdCjNPElpzVmbUq4JUagEiuTDkHzsxHpFKVK7q4+63SM1N95R1NbdWhscdCb+ZA -JzVcoyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq4RgqsahD -YVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPAmRGunUHBcnWEvgJBQl9n -JEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57demyPxgcYxn/eR44/KJ4EBs+lVDR3veyJ -m+kXQ99b21/+jh5Xos1AnX5iItreGCc= ------END CERTIFICATE----- - -AC RAIZ FNMT-RCM -================ ------BEGIN CERTIFICATE----- -MIIFgzCCA2ugAwIBAgIPXZONMGc2yAYdGsdUhGkHMA0GCSqGSIb3DQEBCwUAMDsxCzAJBgNVBAYT -AkVTMREwDwYDVQQKDAhGTk1ULVJDTTEZMBcGA1UECwwQQUMgUkFJWiBGTk1ULVJDTTAeFw0wODEw -MjkxNTU5NTZaFw0zMDAxMDEwMDAwMDBaMDsxCzAJBgNVBAYTAkVTMREwDwYDVQQKDAhGTk1ULVJD -TTEZMBcGA1UECwwQQUMgUkFJWiBGTk1ULVJDTTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC -ggIBALpxgHpMhm5/yBNtwMZ9HACXjywMI7sQmkCpGreHiPibVmr75nuOi5KOpyVdWRHbNi63URcf -qQgfBBckWKo3Shjf5TnUV/3XwSyRAZHiItQDwFj8d0fsjz50Q7qsNI1NOHZnjrDIbzAzWHFctPVr -btQBULgTfmxKo0nRIBnuvMApGGWn3v7v3QqQIecaZ5JCEJhfTzC8PhxFtBDXaEAUwED653cXeuYL -j2VbPNmaUtu1vZ5Gzz3rkQUCwJaydkxNEJY7kvqcfw+Z374jNUUeAlz+taibmSXaXvMiwzn15Cou -08YfxGyqxRxqAQVKL9LFwag0Jl1mpdICIfkYtwb1TplvqKtMUejPUBjFd8g5CSxJkjKZqLsXF3mw -WsXmo8RZZUc1g16p6DULmbvkzSDGm0oGObVo/CK67lWMK07q87Hj/LaZmtVC+nFNCM+HHmpxffnT -tOmlcYF7wk5HlqX2doWjKI/pgG6BU6VtX7hI+cL5NqYuSf+4lsKMB7ObiFj86xsc3i1w4peSMKGJ -47xVqCfWS+2QrYv6YyVZLag13cqXM7zlzced0ezvXg5KkAYmY6252TUtB7p2ZSysV4999AeU14EC -ll2jB0nVetBX+RvnU0Z1qrB5QstocQjpYL05ac70r8NWQMetUqIJ5G+GR4of6ygnXYMgrwTJbFaa -i0b1AgMBAAGjgYMwgYAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE -FPd9xf3E6Jobd2Sn9R2gzL+HYJptMD4GA1UdIAQ3MDUwMwYEVR0gADArMCkGCCsGAQUFBwIBFh1o -dHRwOi8vd3d3LmNlcnQuZm5tdC5lcy9kcGNzLzANBgkqhkiG9w0BAQsFAAOCAgEAB5BK3/MjTvDD -nFFlm5wioooMhfNzKWtN/gHiqQxjAb8EZ6WdmF/9ARP67Jpi6Yb+tmLSbkyU+8B1RXxlDPiyN8+s -D8+Nb/kZ94/sHvJwnvDKuO+3/3Y3dlv2bojzr2IyIpMNOmqOFGYMLVN0V2Ue1bLdI4E7pWYjJ2cJ -j+F3qkPNZVEI7VFY/uY5+ctHhKQV8Xa7pO6kO8Rf77IzlhEYt8llvhjho6Tc+hj507wTmzl6NLrT -Qfv6MooqtyuGC2mDOL7Nii4LcK2NJpLuHvUBKwrZ1pebbuCoGRw6IYsMHkCtA+fdZn71uSANA+iW -+YJF1DngoABd15jmfZ5nc8OaKveri6E6FO80vFIOiZiaBECEHX5FaZNXzuvO+FB8TxxuBEOb+dY7 -Ixjp6o7RTUaN8Tvkasq6+yO3m/qZASlaWFot4/nUbQ4mrcFuNLwy+AwF+mWj2zs3gyLp1txyM/1d -8iC9djwj2ij3+RvrWWTV3F9yfiD8zYm1kGdNYno/Tq0dwzn+evQoFt9B9kiABdcPUXmsEKvU7ANm -5mqwujGSQkBqvjrTcuFqN1W8rB2Vt2lh8kORdOag0wokRqEIr9baRRmW1FMdW4R58MD3R++Lj8UG -rp1MYp3/RgT408m2ECVAdf4WqslKYIYvuu8wd+RU4riEmViAqhOLUTpPSPaLtrM= ------END CERTIFICATE----- - -Amazon Root CA 1 -================ ------BEGIN CERTIFICATE----- -MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsFADA5MQswCQYD -VQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSAxMB4XDTE1 -MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpv -bjEZMBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBALJ4gHHKeNXjca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgH -FzZM9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qwIFAGbHrQ -gLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6VOujw5H5SNz/0egwLX0t -dHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L93FcXmn/6pUCyziKrlA4b9v7LWIbxcce -VOF34GfID5yHI9Y/QCB/IIDEgEw+OyQmjgSubJrIqg0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB -/zAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFIQYzIU07LwMlJQuCFmcx7IQTgoIMA0GCSqGSIb3 -DQEBCwUAA4IBAQCY8jdaQZChGsV2USggNiMOruYou6r4lK5IpDB/G/wkjUu0yKGX9rbxenDIU5PM -CCjjmCXPI6T53iHTfIUJrU6adTrCC2qJeHZERxhlbI1Bjjt/msv0tadQ1wUsN+gDS63pYaACbvXy -8MWy7Vu33PqUXHeeE6V/Uq2V8viTO96LXFvKWlJbYK8U90vvo/ufQJVtMVT8QtPHRh8jrdkPSHCa -2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2 -xJNDd2ZhwLnoQdeXeGADbkpyrqXRfboQnoZsG4q5WTP468SQvvG5 ------END CERTIFICATE----- - -Amazon Root CA 2 -================ ------BEGIN CERTIFICATE----- -MIIFQTCCAymgAwIBAgITBmyf0pY1hp8KD+WGePhbJruKNzANBgkqhkiG9w0BAQwFADA5MQswCQYD -VQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSAyMB4XDTE1 -MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpv -bjEZMBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC -ggIBAK2Wny2cSkxKgXlRmeyKy2tgURO8TW0G/LAIjd0ZEGrHJgw12MBvIITplLGbhQPDW9tK6Mj4 -kHbZW0/jTOgGNk3Mmqw9DJArktQGGWCsN0R5hYGCrVo34A3MnaZMUnbqQ523BNFQ9lXg1dKmSYXp -N+nKfq5clU1Imj+uIFptiJXZNLhSGkOQsL9sBbm2eLfq0OQ6PBJTYv9K8nu+NQWpEjTj82R0Yiw9 -AElaKP4yRLuH3WUnAnE72kr3H9rN9yFVkE8P7K6C4Z9r2UXTu/Bfh+08LDmG2j/e7HJV63mjrdvd -fLC6HM783k81ds8P+HgfajZRRidhW+mez/CiVX18JYpvL7TFz4QuK/0NURBs+18bvBt+xa47mAEx -kv8LV/SasrlX6avvDXbR8O70zoan4G7ptGmh32n2M8ZpLpcTnqWHsFcQgTfJU7O7f/aS0ZzQGPSS -btqDT6ZjmUyl+17vIWR6IF9sZIUVyzfpYgwLKhbcAS4y2j5L9Z469hdAlO+ekQiG+r5jqFoz7Mt0 -Q5X5bGlSNscpb/xVA1wf+5+9R+vnSUeVC06JIglJ4PVhHvG/LopyboBZ/1c6+XUyo05f7O0oYtlN -c/LMgRdg7c3r3NunysV+Ar3yVAhU/bQtCSwXVEqY0VThUWcI0u1ufm8/0i2BWSlmy5A5lREedCf+ -3euvAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSw -DPBMMPQFWAJI/TPlUq9LhONmUjANBgkqhkiG9w0BAQwFAAOCAgEAqqiAjw54o+Ci1M3m9Zh6O+oA -A7CXDpO8Wqj2LIxyh6mx/H9z/WNxeKWHWc8w4Q0QshNabYL1auaAn6AFC2jkR2vHat+2/XcycuUY -+gn0oJMsXdKMdYV2ZZAMA3m3MSNjrXiDCYZohMr/+c8mmpJ5581LxedhpxfL86kSk5Nrp+gvU5LE -YFiwzAJRGFuFjWJZY7attN6a+yb3ACfAXVU3dJnJUH/jWS5E4ywl7uxMMne0nxrpS10gxdr9HIcW -xkPo1LsmmkVwXqkLN1PiRnsn/eBG8om3zEK2yygmbtmlyTrIQRNg91CMFa6ybRoVGld45pIq2WWQ -gj9sAq+uEjonljYE1x2igGOpm/HlurR8FLBOybEfdF849lHqm/osohHUqS0nGkWxr7JOcQ3AWEbW -aQbLU8uz/mtBzUF+fUwPfHJ5elnNXkoOrJupmHN5fLT0zLm4BwyydFy4x2+IoZCn9Kr5v2c69BoV -Yh63n749sSmvZ6ES8lgQGVMDMBu4Gon2nL2XA46jCfMdiyHxtN/kHNGfZQIG6lzWE7OE76KlXIx3 -KadowGuuQNKotOrN8I1LOJwZmhsoVLiJkO/KdYE+HvJkJMcYr07/R54H9jVlpNMKVv/1F2Rs76gi -JUmTtt8AF9pYfl3uxRuw0dFfIRDH+fO6AgonB8Xx1sfT4PsJYGw= ------END CERTIFICATE----- - -Amazon Root CA 3 -================ ------BEGIN CERTIFICATE----- -MIIBtjCCAVugAwIBAgITBmyf1XSXNmY/Owua2eiedgPySjAKBggqhkjOPQQDAjA5MQswCQYDVQQG -EwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSAzMB4XDTE1MDUy -NjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZ -MBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgMzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCmXp8ZB -f8ANm+gBG1bG8lKlui2yEujSLtf6ycXYqm0fc4E7O5hrOXwzpcVOho6AF2hiRVd9RFgdszflZwjr -Zt6jQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSrttvXBp43 -rDCGB5Fwx5zEGbF4wDAKBggqhkjOPQQDAgNJADBGAiEA4IWSoxe3jfkrBqWTrBqYaGFy+uGh0Psc -eGCmQ5nFuMQCIQCcAu/xlJyzlvnrxir4tiz+OpAUFteMYyRIHN8wfdVoOw== ------END CERTIFICATE----- - -Amazon Root CA 4 -================ ------BEGIN CERTIFICATE----- -MIIB8jCCAXigAwIBAgITBmyf18G7EEwpQ+Vxe3ssyBrBDjAKBggqhkjOPQQDAzA5MQswCQYDVQQG -EwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSA0MB4XDTE1MDUy -NjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZ -MBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgNDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNKrijdPo1MN -/sGKe0uoe0ZLY7Bi9i0b2whxIdIA6GO9mif78DluXeo9pcmBqqNbIJhFXRbb/egQbeOc4OO9X4Ri -83BkM6DLJC9wuoihKqB1+IGuYgbEgds5bimwHvouXKNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNV -HQ8BAf8EBAMCAYYwHQYDVR0OBBYEFNPsxzplbszh2naaVvuc84ZtV+WBMAoGCCqGSM49BAMDA2gA -MGUCMDqLIfG9fhGt0O9Yli/W651+kI0rz2ZVwyzjKKlwCkcO8DdZEv8tmZQoTipPNU0zWgIxAOp1 -AE47xDqUEpHJWEadIRNyp4iciuRMStuW1KyLa2tJElMzrdfkviT8tQp21KW8EA== ------END CERTIFICATE----- - -TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1 -============================================= ------BEGIN CERTIFICATE----- -MIIEYzCCA0ugAwIBAgIBATANBgkqhkiG9w0BAQsFADCB0jELMAkGA1UEBhMCVFIxGDAWBgNVBAcT -D0dlYnplIC0gS29jYWVsaTFCMEAGA1UEChM5VHVya2l5ZSBCaWxpbXNlbCB2ZSBUZWtub2xvamlr -IEFyYXN0aXJtYSBLdXJ1bXUgLSBUVUJJVEFLMS0wKwYDVQQLEyRLYW11IFNlcnRpZmlrYXN5b24g -TWVya2V6aSAtIEthbXUgU00xNjA0BgNVBAMTLVRVQklUQUsgS2FtdSBTTSBTU0wgS29rIFNlcnRp -ZmlrYXNpIC0gU3VydW0gMTAeFw0xMzExMjUwODI1NTVaFw00MzEwMjUwODI1NTVaMIHSMQswCQYD -VQQGEwJUUjEYMBYGA1UEBxMPR2ViemUgLSBLb2NhZWxpMUIwQAYDVQQKEzlUdXJraXllIEJpbGlt -c2VsIHZlIFRla25vbG9qaWsgQXJhc3Rpcm1hIEt1cnVtdSAtIFRVQklUQUsxLTArBgNVBAsTJEth -bXUgU2VydGlmaWthc3lvbiBNZXJrZXppIC0gS2FtdSBTTTE2MDQGA1UEAxMtVFVCSVRBSyBLYW11 -IFNNIFNTTCBLb2sgU2VydGlmaWthc2kgLSBTdXJ1bSAxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEAr3UwM6q7a9OZLBI3hNmNe5eA027n/5tQlT6QlVZC1xl8JoSNkvoBHToP4mQ4t4y8 -6Ij5iySrLqP1N+RAjhgleYN1Hzv/bKjFxlb4tO2KRKOrbEz8HdDc72i9z+SqzvBV96I01INrN3wc -wv61A+xXzry0tcXtAA9TNypN9E8Mg/uGz8v+jE69h/mniyFXnHrfA2eJLJ2XYacQuFWQfw4tJzh0 -3+f92k4S400VIgLI4OD8D62K18lUUMw7D8oWgITQUVbDjlZ/iSIzL+aFCr2lqBs23tPcLG07xxO9 -WSMs5uWk99gL7eqQQESolbuT1dCANLZGeA4fAJNG4e7p+exPFwIDAQABo0IwQDAdBgNVHQ4EFgQU -ZT/HiobGPN08VFw1+DrtUgxHV8gwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJ -KoZIhvcNAQELBQADggEBACo/4fEyjq7hmFxLXs9rHmoJ0iKpEsdeV31zVmSAhHqT5Am5EM2fKifh -AHe+SMg1qIGf5LgsyX8OsNJLN13qudULXjS99HMpw+0mFZx+CFOKWI3QSyjfwbPfIPP54+M638yc -lNhOT8NrF7f3cuitZjO1JVOr4PhMqZ398g26rrnZqsZr+ZO7rqu4lzwDGrpDxpa5RXI4s6ehlj2R -e37AIVNMh+3yC1SVUZPVIqUNivGTDj5UDrDYyU7c8jEyVupk+eq1nRZmQnLzf9OxMUP8pI4X8W0j -q5Rm+K37DwhuJi1/FwcJsoz7UMCflo3Ptv0AnVoUmr8CRPXBwp8iXqIPoeM= ------END CERTIFICATE----- - -GDCA TrustAUTH R5 ROOT -====================== ------BEGIN CERTIFICATE----- -MIIFiDCCA3CgAwIBAgIIfQmX/vBH6nowDQYJKoZIhvcNAQELBQAwYjELMAkGA1UEBhMCQ04xMjAw -BgNVBAoMKUdVQU5HIERPTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZIENPLixMVEQuMR8wHQYDVQQD -DBZHRENBIFRydXN0QVVUSCBSNSBST09UMB4XDTE0MTEyNjA1MTMxNVoXDTQwMTIzMTE1NTk1OVow -YjELMAkGA1UEBhMCQ04xMjAwBgNVBAoMKUdVQU5HIERPTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZ -IENPLixMVEQuMR8wHQYDVQQDDBZHRENBIFRydXN0QVVUSCBSNSBST09UMIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEA2aMW8Mh0dHeb7zMNOwZ+Vfy1YI92hhJCfVZmPoiC7XJjDp6L3TQs -AlFRwxn9WVSEyfFrs0yw6ehGXTjGoqcuEVe6ghWinI9tsJlKCvLriXBjTnnEt1u9ol2x8kECK62p -OqPseQrsXzrj/e+APK00mxqriCZ7VqKChh/rNYmDf1+uKU49tm7srsHwJ5uu4/Ts765/94Y9cnrr -pftZTqfrlYwiOXnhLQiPzLyRuEH3FMEjqcOtmkVEs7LXLM3GKeJQEK5cy4KOFxg2fZfmiJqwTTQJ -9Cy5WmYqsBebnh52nUpmMUHfP/vFBu8btn4aRjb3ZGM74zkYI+dndRTVdVeSN72+ahsmUPI2JgaQ -xXABZG12ZuGR224HwGGALrIuL4xwp9E7PLOR5G62xDtw8mySlwnNR30YwPO7ng/Wi64HtloPzgsM -R6flPri9fcebNaBhlzpBdRfMK5Z3KpIhHtmVdiBnaM8Nvd/WHwlqmuLMc3GkL30SgLdTMEZeS1SZ -D2fJpcjyIMGC7J0R38IC+xo70e0gmu9lZJIQDSri3nDxGGeCjGHeuLzRL5z7D9Ar7Rt2ueQ5Vfj4 -oR24qoAATILnsn8JuLwwoC8N9VKejveSswoAHQBUlwbgsQfZxw9cZX08bVlX5O2ljelAU58VS6Bx -9hoh49pwBiFYFIeFd3mqgnkCAwEAAaNCMEAwHQYDVR0OBBYEFOLJQJ9NzuiaoXzPDj9lxSmIahlR -MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4ICAQDRSVfg -p8xoWLoBDysZzY2wYUWsEe1jUGn4H3++Fo/9nesLqjJHdtJnJO29fDMylyrHBYZmDRd9FBUb1Ov9 -H5r2XpdptxolpAqzkT9fNqyL7FeoPueBihhXOYV0GkLH6VsTX4/5COmSdI31R9KrO9b7eGZONn35 -6ZLpBN79SWP8bfsUcZNnL0dKt7n/HipzcEYwv1ryL3ml4Y0M2fmyYzeMN2WFcGpcWwlyua1jPLHd -+PwyvzeG5LuOmCd+uh8W4XAR8gPfJWIyJyYYMoSf/wA6E7qaTfRPuBRwIrHKK5DOKcFw9C+df/KQ -HtZa37dG/OaG+svgIHZ6uqbL9XzeYqWxi+7egmaKTjowHz+Ay60nugxe19CxVsp3cbK1daFQqUBD -F8Io2c9Si1vIY9RCPqAzekYu9wogRlR+ak8x8YF+QnQ4ZXMn7sZ8uI7XpTrXmKGcjBBV09tL7ECQ -8s1uV9JiDnxXk7Gnbc2dg7sq5+W2O3FYrf3RRbxake5TFW/TRQl1brqQXR4EzzffHqhmsYzmIGrv -/EhOdJhCrylvLmrH+33RZjEizIYAfmaDDEL0vTSSwxrqT8p+ck0LcIymSLumoRT2+1hEmRSuqguT -aaApJUqlyyvdimYHFngVV3Eb7PVHhPOeMTd61X8kreS8/f3MboPoDKi3QWwH3b08hpcv0g== ------END CERTIFICATE----- - -TrustCor RootCert CA-1 -====================== ------BEGIN CERTIFICATE----- -MIIEMDCCAxigAwIBAgIJANqb7HHzA7AZMA0GCSqGSIb3DQEBCwUAMIGkMQswCQYDVQQGEwJQQTEP -MA0GA1UECAwGUGFuYW1hMRQwEgYDVQQHDAtQYW5hbWEgQ2l0eTEkMCIGA1UECgwbVHJ1c3RDb3Ig -U3lzdGVtcyBTLiBkZSBSLkwuMScwJQYDVQQLDB5UcnVzdENvciBDZXJ0aWZpY2F0ZSBBdXRob3Jp -dHkxHzAdBgNVBAMMFlRydXN0Q29yIFJvb3RDZXJ0IENBLTEwHhcNMTYwMjA0MTIzMjE2WhcNMjkx -MjMxMTcyMzE2WjCBpDELMAkGA1UEBhMCUEExDzANBgNVBAgMBlBhbmFtYTEUMBIGA1UEBwwLUGFu -YW1hIENpdHkxJDAiBgNVBAoMG1RydXN0Q29yIFN5c3RlbXMgUy4gZGUgUi5MLjEnMCUGA1UECwwe -VHJ1c3RDb3IgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MR8wHQYDVQQDDBZUcnVzdENvciBSb290Q2Vy -dCBDQS0xMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv463leLCJhJrMxnHQFgKq1mq -jQCj/IDHUHuO1CAmujIS2CNUSSUQIpidRtLByZ5OGy4sDjjzGiVoHKZaBeYei0i/mJZ0PmnK6bV4 -pQa81QBeCQryJ3pS/C3Vseq0iWEk8xoT26nPUu0MJLq5nux+AHT6k61sKZKuUbS701e/s/OojZz0 -JEsq1pme9J7+wH5COucLlVPat2gOkEz7cD+PSiyU8ybdY2mplNgQTsVHCJCZGxdNuWxu72CVEY4h -gLW9oHPY0LJ3xEXqWib7ZnZ2+AYfYW0PVcWDtxBWcgYHpfOxGgMFZA6dWorWhnAbJN7+KIor0Gqw -/Hqi3LJ5DotlDwIDAQABo2MwYTAdBgNVHQ4EFgQU7mtJPHo/DeOxCbeKyKsZn3MzUOcwHwYDVR0j -BBgwFoAU7mtJPHo/DeOxCbeKyKsZn3MzUOcwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AYYwDQYJKoZIhvcNAQELBQADggEBACUY1JGPE+6PHh0RU9otRCkZoB5rMZ5NDp6tPVxBb5UrJKF5 -mDo4Nvu7Zp5I/5CQ7z3UuJu0h3U/IJvOcs+hVcFNZKIZBqEHMwwLKeXx6quj7LUKdJDHfXLy11yf -ke+Ri7fc7Waiz45mO7yfOgLgJ90WmMCV1Aqk5IGadZQ1nJBfiDcGrVmVCrDRZ9MZyonnMlo2HD6C -qFqTvsbQZJG2z9m2GM/bftJlo6bEjhcxwft+dtvTheNYsnd6djtsL1Ac59v2Z3kf9YKVmgenFK+P -3CghZwnS1k1aHBkcjndcw5QkPTJrS37UeJSDvjdNzl/HHk484IkzlQsPpTLWPFp5LBk= ------END CERTIFICATE----- - -TrustCor RootCert CA-2 -====================== ------BEGIN CERTIFICATE----- -MIIGLzCCBBegAwIBAgIIJaHfyjPLWQIwDQYJKoZIhvcNAQELBQAwgaQxCzAJBgNVBAYTAlBBMQ8w -DQYDVQQIDAZQYW5hbWExFDASBgNVBAcMC1BhbmFtYSBDaXR5MSQwIgYDVQQKDBtUcnVzdENvciBT -eXN0ZW1zIFMuIGRlIFIuTC4xJzAlBgNVBAsMHlRydXN0Q29yIENlcnRpZmljYXRlIEF1dGhvcml0 -eTEfMB0GA1UEAwwWVHJ1c3RDb3IgUm9vdENlcnQgQ0EtMjAeFw0xNjAyMDQxMjMyMjNaFw0zNDEy -MzExNzI2MzlaMIGkMQswCQYDVQQGEwJQQTEPMA0GA1UECAwGUGFuYW1hMRQwEgYDVQQHDAtQYW5h -bWEgQ2l0eTEkMCIGA1UECgwbVHJ1c3RDb3IgU3lzdGVtcyBTLiBkZSBSLkwuMScwJQYDVQQLDB5U -cnVzdENvciBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxHzAdBgNVBAMMFlRydXN0Q29yIFJvb3RDZXJ0 -IENBLTIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCnIG7CKqJiJJWQdsg4foDSq8Gb -ZQWU9MEKENUCrO2fk8eHyLAnK0IMPQo+QVqedd2NyuCb7GgypGmSaIwLgQ5WoD4a3SwlFIIvl9Nk -RvRUqdw6VC0xK5mC8tkq1+9xALgxpL56JAfDQiDyitSSBBtlVkxs1Pu2YVpHI7TYabS3OtB0PAx1 -oYxOdqHp2yqlO/rOsP9+aij9JxzIsekp8VduZLTQwRVtDr4uDkbIXvRR/u8OYzo7cbrPb1nKDOOb -XUm4TOJXsZiKQlecdu/vvdFoqNL0Cbt3Nb4lggjEFixEIFapRBF37120Hapeaz6LMvYHL1cEksr1 -/p3C6eizjkxLAjHZ5DxIgif3GIJ2SDpxsROhOdUuxTTCHWKF3wP+TfSvPd9cW436cOGlfifHhi5q -jxLGhF5DUVCcGZt45vz27Ud+ez1m7xMTiF88oWP7+ayHNZ/zgp6kPwqcMWmLmaSISo5uZk3vFsQP -eSghYA2FFn3XVDjxklb9tTNMg9zXEJ9L/cb4Qr26fHMC4P99zVvh1Kxhe1fVSntb1IVYJ12/+Ctg -rKAmrhQhJ8Z3mjOAPF5GP/fDsaOGM8boXg25NSyqRsGFAnWAoOsk+xWq5Gd/bnc/9ASKL3x74xdh -8N0JqSDIvgmk0H5Ew7IwSjiqqewYmgeCK9u4nBit2uBGF6zPXQIDAQABo2MwYTAdBgNVHQ4EFgQU -2f4hQG6UnrybPZx9mCAZ5YwwYrIwHwYDVR0jBBgwFoAU2f4hQG6UnrybPZx9mCAZ5YwwYrIwDwYD -VR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBAJ5Fngw7tu/h -Osh80QA9z+LqBrWyOrsGS2h60COXdKcs8AjYeVrXWoSK2BKaG9l9XE1wxaX5q+WjiYndAfrs3fnp -kpfbsEZC89NiqpX+MWcUaViQCqoL7jcjx1BRtPV+nuN79+TMQjItSQzL/0kMmx40/W5ulop5A7Zv -2wnL/V9lFDfhOPXzYRZY5LVtDQsEGz9QLX+zx3oaFoBg+Iof6Rsqxvm6ARppv9JYx1RXCI/hOWB3 -S6xZhBqI8d3LT3jX5+EzLfzuQfogsL7L9ziUwOHQhQ+77Sxzq+3+knYaZH9bDTMJBzN7Bj8RpFxw -PIXAz+OQqIN3+tvmxYxoZxBnpVIt8MSZj3+/0WvitUfW2dCFmU2Umw9Lje4AWkcdEQOsQRivh7dv -DDqPys/cA8GiCcjl/YBeyGBCARsaU1q7N6a3vLqE6R5sGtRk2tRD/pOLS/IseRYQ1JMLiI+h2IYU -RpFHmygk71dSTlxCnKr3Sewn6EAes6aJInKc9Q0ztFijMDvd1GpUk74aTfOTlPf8hAs/hCBcNANE -xdqtvArBAs8e5ZTZ845b2EzwnexhF7sUMlQMAimTHpKG9n/v55IFDlndmQguLvqcAFLTxWYp5KeX -RKQOKIETNcX2b2TmQcTVL8w0RSXPQQCWPUouwpaYT05KnJe32x+SMsj/D1Fu1uwJ ------END CERTIFICATE----- - -TrustCor ECA-1 -============== ------BEGIN CERTIFICATE----- -MIIEIDCCAwigAwIBAgIJAISCLF8cYtBAMA0GCSqGSIb3DQEBCwUAMIGcMQswCQYDVQQGEwJQQTEP -MA0GA1UECAwGUGFuYW1hMRQwEgYDVQQHDAtQYW5hbWEgQ2l0eTEkMCIGA1UECgwbVHJ1c3RDb3Ig -U3lzdGVtcyBTLiBkZSBSLkwuMScwJQYDVQQLDB5UcnVzdENvciBDZXJ0aWZpY2F0ZSBBdXRob3Jp -dHkxFzAVBgNVBAMMDlRydXN0Q29yIEVDQS0xMB4XDTE2MDIwNDEyMzIzM1oXDTI5MTIzMTE3Mjgw -N1owgZwxCzAJBgNVBAYTAlBBMQ8wDQYDVQQIDAZQYW5hbWExFDASBgNVBAcMC1BhbmFtYSBDaXR5 -MSQwIgYDVQQKDBtUcnVzdENvciBTeXN0ZW1zIFMuIGRlIFIuTC4xJzAlBgNVBAsMHlRydXN0Q29y -IENlcnRpZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOVHJ1c3RDb3IgRUNBLTEwggEiMA0GCSqG -SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPj+ARtZ+odnbb3w9U73NjKYKtR8aja+3+XzP4Q1HpGjOR -MRegdMTUpwHmspI+ap3tDvl0mEDTPwOABoJA6LHip1GnHYMma6ve+heRK9jGrB6xnhkB1Zem6g23 -xFUfJ3zSCNV2HykVh0A53ThFEXXQmqc04L/NyFIduUd+Dbi7xgz2c1cWWn5DkR9VOsZtRASqnKmc -p0yJF4OuowReUoCLHhIlERnXDH19MURB6tuvsBzvgdAsxZohmz3tQjtQJvLsznFhBmIhVE5/wZ0+ -fyCMgMsq2JdiyIMzkX2woloPV+g7zPIlstR8L+xNxqE6FXrntl019fZISjZFZtS6mFjBAgMBAAGj -YzBhMB0GA1UdDgQWBBREnkj1zG1I1KBLf/5ZJC+Dl5mahjAfBgNVHSMEGDAWgBREnkj1zG1I1KBL -f/5ZJC+Dl5mahjAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsF -AAOCAQEABT41XBVwm8nHc2FvcivUwo/yQ10CzsSUuZQRg2dd4mdsdXa/uwyqNsatR5Nj3B5+1t4u -/ukZMjgDfxT2AHMsWbEhBuH7rBiVDKP/mZb3Kyeb1STMHd3BOuCYRLDE5D53sXOpZCz2HAF8P11F -hcCF5yWPldwX8zyfGm6wyuMdKulMY/okYWLW2n62HGz1Ah3UKt1VkOsqEUc8Ll50soIipX1TH0Xs -J5F95yIW6MBoNtjG8U+ARDL54dHRHareqKucBK+tIA5kmE2la8BIWJZpTdwHjFGTot+fDz2LYLSC -jaoITmJF4PkL0uDgPFveXHEnJcLmA4GLEFPjx1WitJ/X5g== ------END CERTIFICATE----- - -SSL.com Root Certification Authority RSA -======================================== ------BEGIN CERTIFICATE----- -MIIF3TCCA8WgAwIBAgIIeyyb0xaAMpkwDQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMCVVMxDjAM -BgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9TU0wgQ29ycG9yYXRpb24x -MTAvBgNVBAMMKFNTTC5jb20gUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBSU0EwHhcNMTYw -MjEyMTczOTM5WhcNNDEwMjEyMTczOTM5WjB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMx -EDAOBgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8GA1UEAwwoU1NM -LmNvbSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFJTQTCCAiIwDQYJKoZIhvcNAQEBBQAD -ggIPADCCAgoCggIBAPkP3aMrfcvQKv7sZ4Wm5y4bunfh4/WvpOz6Sl2RxFdHaxh3a3by/ZPkPQ/C -Fp4LZsNWlJ4Xg4XOVu/yFv0AYvUiCVToZRdOQbngT0aXqhvIuG5iXmmxX9sqAn78bMrzQdjt0Oj8 -P2FI7bADFB0QDksZ4LtO7IZl/zbzXmcCC52GVWH9ejjt/uIZALdvoVBidXQ8oPrIJZK0bnoix/ge -oeOy3ZExqysdBP+lSgQ36YWkMyv94tZVNHwZpEpox7Ko07fKoZOI68GXvIz5HdkihCR0xwQ9aqkp -k8zruFvh/l8lqjRYyMEjVJ0bmBHDOJx+PYZspQ9AhnwC9FwCTyjLrnGfDzrIM/4RJTXq/LrFYD3Z -fBjVsqnTdXgDciLKOsMf7yzlLqn6niy2UUb9rwPW6mBo6oUWNmuF6R7As93EJNyAKoFBbZQ+yODJ -gUEAnl6/f8UImKIYLEJAs/lvOCdLToD0PYFH4Ih86hzOtXVcUS4cK38acijnALXRdMbX5J+tB5O2 -UzU1/Dfkw/ZdFr4hc96SCvigY2q8lpJqPvi8ZVWb3vUNiSYE/CUapiVpy8JtynziWV+XrOvvLsi8 -1xtZPCvM8hnIk2snYxnP/Okm+Mpxm3+T/jRnhE6Z6/yzeAkzcLpmpnbtG3PrGqUNxCITIJRWCk4s -bE6x/c+cCbqiM+2HAgMBAAGjYzBhMB0GA1UdDgQWBBTdBAkHovV6fVJTEpKV7jiAJQ2mWTAPBgNV -HRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFN0ECQei9Xp9UlMSkpXuOIAlDaZZMA4GA1UdDwEB/wQE -AwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAIBgRlCn7Jp0cHh5wYfGVcpNxJK1ok1iOMq8bs3AD/CUr -dIWQPXhq9LmLpZc7tRiRux6n+UBbkflVma8eEdBcHadm47GUBwwyOabqG7B52B2ccETjit3E+ZUf -ijhDPwGFpUenPUayvOUiaPd7nNgsPgohyC0zrL/FgZkxdMF1ccW+sfAjRfSda/wZY52jvATGGAsl -u1OJD7OAUN5F7kR/q5R4ZJjT9ijdh9hwZXT7DrkT66cPYakylszeu+1jTBi7qUD3oFRuIIhxdRjq -erQ0cuAjJ3dctpDqhiVAq+8zD8ufgr6iIPv2tS0a5sKFsXQP+8hlAqRSAUfdSSLBv9jra6x+3uxj -MxW3IwiPxg+NQVrdjsW5j+VFP3jbutIbQLH+cU0/4IGiul607BXgk90IH37hVZkLId6Tngr75qNJ -vTYw/ud3sqB1l7UtgYgXZSD32pAAn8lSzDLKNXz1PQ/YK9f1JmzJBjSWFupwWRoyeXkLtoh/D1JI -Pb9s2KJELtFOt3JY04kTlf5Eq/jXixtunLwsoFvVagCvXzfh1foQC5ichucmj87w7G6KVwuA406y -wKBjYZC6VWg3dGq2ktufoYYitmUnDuy2n0Jg5GfCtdpBC8TTi2EbvPofkSvXRAdeuims2cXp71NI -WuuA8ShYIc2wBlX7Jz9TkHCpBB5XJ7k= ------END CERTIFICATE----- - -SSL.com Root Certification Authority ECC -======================================== ------BEGIN CERTIFICATE----- -MIICjTCCAhSgAwIBAgIIdebfy8FoW6gwCgYIKoZIzj0EAwIwfDELMAkGA1UEBhMCVVMxDjAMBgNV -BAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9TU0wgQ29ycG9yYXRpb24xMTAv -BgNVBAMMKFNTTC5jb20gUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBFQ0MwHhcNMTYwMjEy -MTgxNDAzWhcNNDEwMjEyMTgxNDAzWjB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAO -BgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8GA1UEAwwoU1NMLmNv -bSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IEVDQzB2MBAGByqGSM49AgEGBSuBBAAiA2IA -BEVuqVDEpiM2nl8ojRfLliJkP9x6jh3MCLOicSS6jkm5BBtHllirLZXI7Z4INcgn64mMU1jrYor+ -8FsPazFSY0E7ic3s7LaNGdM0B9y7xgZ/wkWV7Mt/qCPgCemB+vNH06NjMGEwHQYDVR0OBBYEFILR -hXMw5zUE044CkvvlpNHEIejNMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUgtGFczDnNQTT -jgKS++Wk0cQh6M0wDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMCA2cAMGQCMG/n61kRpGDPYbCW -e+0F+S8Tkdzt5fxQaxFGRrMcIQBiu77D5+jNB5n5DQtdcj7EqgIwH7y6C+IwJPt8bYBVCpk+gA0z -5Wajs6O7pdWLjwkspl1+4vAHCGht0nxpbl/f5Wpl ------END CERTIFICATE----- - -SSL.com EV Root Certification Authority RSA R2 -============================================== ------BEGIN CERTIFICATE----- -MIIF6zCCA9OgAwIBAgIIVrYpzTS8ePYwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYTAlVTMQ4w -DAYDVQQIDAVUZXhhczEQMA4GA1UEBwwHSG91c3RvbjEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9u -MTcwNQYDVQQDDC5TU0wuY29tIEVWIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgUlNBIFIy -MB4XDTE3MDUzMTE4MTQzN1oXDTQyMDUzMDE4MTQzN1owgYIxCzAJBgNVBAYTAlVTMQ4wDAYDVQQI -DAVUZXhhczEQMA4GA1UEBwwHSG91c3RvbjEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMTcwNQYD -VQQDDC5TU0wuY29tIEVWIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgUlNBIFIyMIICIjAN -BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAjzZlQOHWTcDXtOlG2mvqM0fNTPl9fb69LT3w23jh -hqXZuglXaO1XPqDQCEGD5yhBJB/jchXQARr7XnAjssufOePPxU7Gkm0mxnu7s9onnQqG6YE3Bf7w -cXHswxzpY6IXFJ3vG2fThVUCAtZJycxa4bH3bzKfydQ7iEGonL3Lq9ttewkfokxykNorCPzPPFTO -Zw+oz12WGQvE43LrrdF9HSfvkusQv1vrO6/PgN3B0pYEW3p+pKk8OHakYo6gOV7qd89dAFmPZiw+ -B6KjBSYRaZfqhbcPlgtLyEDhULouisv3D5oi53+aNxPN8k0TayHRwMwi8qFG9kRpnMphNQcAb9Zh -CBHqurj26bNg5U257J8UZslXWNvNh2n4ioYSA0e/ZhN2rHd9NCSFg83XqpyQGp8hLH94t2S42Oim -9HizVcuE0jLEeK6jj2HdzghTreyI/BXkmg3mnxp3zkyPuBQVPWKchjgGAGYS5Fl2WlPAApiiECto -RHuOec4zSnaqW4EWG7WK2NAAe15itAnWhmMOpgWVSbooi4iTsjQc2KRVbrcc0N6ZVTsj9CLg+Slm -JuwgUHfbSguPvuUCYHBBXtSuUDkiFCbLsjtzdFVHB3mBOagwE0TlBIqulhMlQg+5U8Sb/M3kHN48 -+qvWBkofZ6aYMBzdLNvcGJVXZsb/XItW9XcCAwEAAaNjMGEwDwYDVR0TAQH/BAUwAwEB/zAfBgNV -HSMEGDAWgBT5YLvU49U09rj1BoAlp3PbRmmonjAdBgNVHQ4EFgQU+WC71OPVNPa49QaAJadz20Zp -qJ4wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4ICAQBWs47LCp1Jjr+kxJG7ZhcFUZh1 -++VQLHqe8RT6q9OKPv+RKY9ji9i0qVQBDb6Thi/5Sm3HXvVX+cpVHBK+Rw82xd9qt9t1wkclf7nx -Y/hoLVUE0fKNsKTPvDxeH3jnpaAgcLAExbf3cqfeIg29MyVGjGSSJuM+LmOW2puMPfgYCdcDzH2G -guDKBAdRUNf/ktUM79qGn5nX67evaOI5JpS6aLe/g9Pqemc9YmeuJeVy6OLk7K4S9ksrPJ/psEDz -OFSz/bdoyNrGj1E8svuR3Bznm53htw1yj+KkxKl4+esUrMZDBcJlOSgYAsOCsp0FvmXtll9ldDz7 -CTUue5wT/RsPXcdtgTpWD8w74a8CLyKsRspGPKAcTNZEtF4uXBVmCeEmKf7GUmG6sXP/wwyc5Wxq -lD8UykAWlYTzWamsX0xhk23RO8yilQwipmdnRC652dKKQbNmC1r7fSOl8hqw/96bg5Qu0T/fkreR -rwU7ZcegbLHNYhLDkBvjJc40vG93drEQw/cFGsDWr3RiSBd3kmmQYRzelYB0VI8YHMPzA9C/pEN1 -hlMYegouCRw2n5H9gooiS9EOUCXdywMMF8mDAAhONU2Ki+3wApRmLER/y5UnlhetCTCstnEXbosX -9hwJ1C07mKVx01QT2WDz9UtmT/rx7iASjbSsV7FFY6GsdqnC+w== ------END CERTIFICATE----- - -SSL.com EV Root Certification Authority ECC -=========================================== ------BEGIN CERTIFICATE----- -MIIClDCCAhqgAwIBAgIILCmcWxbtBZUwCgYIKoZIzj0EAwIwfzELMAkGA1UEBhMCVVMxDjAMBgNV -BAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9TU0wgQ29ycG9yYXRpb24xNDAy -BgNVBAMMK1NTTC5jb20gRVYgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBFQ0MwHhcNMTYw -MjEyMTgxNTIzWhcNNDEwMjEyMTgxNTIzWjB/MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMx -EDAOBgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjE0MDIGA1UEAwwrU1NM -LmNvbSBFViBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IEVDQzB2MBAGByqGSM49AgEGBSuB -BAAiA2IABKoSR5CYG/vvw0AHgyBO8TCCogbR8pKGYfL2IWjKAMTH6kMAVIbc/R/fALhBYlzccBYy -3h+Z1MzFB8gIH2EWB1E9fVwHU+M1OIzfzZ/ZLg1KthkuWnBaBu2+8KGwytAJKaNjMGEwHQYDVR0O -BBYEFFvKXuXe0oGqzagtZFG22XKbl+ZPMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUW8pe -5d7SgarNqC1kUbbZcpuX5k8wDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMCA2gAMGUCMQCK5kCJ -N+vp1RPZytRrJPOwPYdGWBrssd9v+1a6cGvHOMzosYxPD/fxZ3YOg9AeUY8CMD32IygmTMZgh5Mm -m7I1HrrW9zzRHM76JTymGoEVW/MSD2zuZYrJh6j5B+BimoxcSg== ------END CERTIFICATE----- - -GlobalSign Root CA - R6 -======================= ------BEGIN CERTIFICATE----- -MIIFgzCCA2ugAwIBAgIORea7A4Mzw4VlSOb/RVEwDQYJKoZIhvcNAQEMBQAwTDEgMB4GA1UECxMX -R2xvYmFsU2lnbiBSb290IENBIC0gUjYxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds -b2JhbFNpZ24wHhcNMTQxMjEwMDAwMDAwWhcNMzQxMjEwMDAwMDAwWjBMMSAwHgYDVQQLExdHbG9i -YWxTaWduIFJvb3QgQ0EgLSBSNjETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFs -U2lnbjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJUH6HPKZvnsFMp7PPcNCPG0RQss -grRIxutbPK6DuEGSMxSkb3/pKszGsIhrxbaJ0cay/xTOURQh7ErdG1rG1ofuTToVBu1kZguSgMpE -3nOUTvOniX9PeGMIyBJQbUJmL025eShNUhqKGoC3GYEOfsSKvGRMIRxDaNc9PIrFsmbVkJq3MQbF -vuJtMgamHvm566qjuL++gmNQ0PAYid/kD3n16qIfKtJwLnvnvJO7bVPiSHyMEAc4/2ayd2F+4OqM -PKq0pPbzlUoSB239jLKJz9CgYXfIWHSw1CM69106yqLbnQneXUQtkPGBzVeS+n68UARjNN9rkxi+ -azayOeSsJDa38O+2HBNXk7besvjihbdzorg1qkXy4J02oW9UivFyVm4uiMVRQkQVlO6jxTiWm05O -WgtH8wY2SXcwvHE35absIQh1/OZhFj931dmRl4QKbNQCTXTAFO39OfuD8l4UoQSwC+n+7o/hbguy -CLNhZglqsQY6ZZZZwPA1/cnaKI0aEYdwgQqomnUdnjqGBQCe24DWJfncBZ4nWUx2OVvq+aWh2IMP -0f/fMBH5hc8zSPXKbWQULHpYT9NLCEnFlWQaYw55PfWzjMpYrZxCRXluDocZXFSxZba/jJvcE+kN -b7gu3GduyYsRtYQUigAZcIN5kZeR1BonvzceMgfYFGM8KEyvAgMBAAGjYzBhMA4GA1UdDwEB/wQE -AwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSubAWjkxPioufi1xzWx/B/yGdToDAfBgNV -HSMEGDAWgBSubAWjkxPioufi1xzWx/B/yGdToDANBgkqhkiG9w0BAQwFAAOCAgEAgyXt6NH9lVLN -nsAEoJFp5lzQhN7craJP6Ed41mWYqVuoPId8AorRbrcWc+ZfwFSY1XS+wc3iEZGtIxg93eFyRJa0 -lV7Ae46ZeBZDE1ZXs6KzO7V33EByrKPrmzU+sQghoefEQzd5Mr6155wsTLxDKZmOMNOsIeDjHfrY -BzN2VAAiKrlNIC5waNrlU/yDXNOd8v9EDERm8tLjvUYAGm0CuiVdjaExUd1URhxN25mW7xocBFym -Fe944Hn+Xds+qkxV/ZoVqW/hpvvfcDDpw+5CRu3CkwWJ+n1jez/QcYF8AOiYrg54NMMl+68KnyBr -3TsTjxKM4kEaSHpzoHdpx7Zcf4LIHv5YGygrqGytXm3ABdJ7t+uA/iU3/gKbaKxCXcPu9czc8FB1 -0jZpnOZ7BN9uBmm23goJSFmH63sUYHpkqmlD75HHTOwY3WzvUy2MmeFe8nI+z1TIvWfspA9MRf/T -uTAjB0yPEL+GltmZWrSZVxykzLsViVO6LAUP5MSeGbEYNNVMnbrt9x+vJJUEeKgDu+6B5dpffItK -oZB0JaezPkvILFa9x8jvOOJckvB595yEunQtYQEgfn7R8k8HWV+LLUNS60YMlOH1Zkd5d9VUWx+t -JDfLRVpOoERIyNiwmcUVhAn21klJwGW45hpxbqCo8YLoRT5s1gLXCmeDBVrJpBA= ------END CERTIFICATE----- - -OISTE WISeKey Global Root GC CA -=============================== ------BEGIN CERTIFICATE----- -MIICaTCCAe+gAwIBAgIQISpWDK7aDKtARb8roi066jAKBggqhkjOPQQDAzBtMQswCQYDVQQGEwJD -SDEQMA4GA1UEChMHV0lTZUtleTEiMCAGA1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNlZDEo -MCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9iYWwgUm9vdCBHQyBDQTAeFw0xNzA1MDkwOTQ4MzRa -Fw00MjA1MDkwOTU4MzNaMG0xCzAJBgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYDVQQL -ExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEdsb2Jh -bCBSb290IEdDIENBMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETOlQwMYPchi82PG6s4nieUqjFqdr -VCTbUf/q9Akkwwsin8tqJ4KBDdLArzHkdIJuyiXZjHWd8dvQmqJLIX4Wp2OQ0jnUsYd4XxiWD1Ab -NTcPasbc2RNNpI6QN+a9WzGRo1QwUjAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAd -BgNVHQ4EFgQUSIcUrOPDnpBgOtfKie7TrYy0UGYwEAYJKwYBBAGCNxUBBAMCAQAwCgYIKoZIzj0E -AwMDaAAwZQIwJsdpW9zV57LnyAyMjMPdeYwbY9XJUpROTYJKcx6ygISpJcBMWm1JKWB4E+J+SOtk -AjEA2zQgMgj/mkkCtojeFK9dbJlxjRo/i9fgojaGHAeCOnZT/cKi7e97sIBPWA9LUzm9 ------END CERTIFICATE----- - -UCA Global G2 Root -================== ------BEGIN CERTIFICATE----- -MIIFRjCCAy6gAwIBAgIQXd+x2lqj7V2+WmUgZQOQ7zANBgkqhkiG9w0BAQsFADA9MQswCQYDVQQG -EwJDTjERMA8GA1UECgwIVW5pVHJ1c3QxGzAZBgNVBAMMElVDQSBHbG9iYWwgRzIgUm9vdDAeFw0x -NjAzMTEwMDAwMDBaFw00MDEyMzEwMDAwMDBaMD0xCzAJBgNVBAYTAkNOMREwDwYDVQQKDAhVbmlU -cnVzdDEbMBkGA1UEAwwSVUNBIEdsb2JhbCBHMiBSb290MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A -MIICCgKCAgEAxeYrb3zvJgUno4Ek2m/LAfmZmqkywiKHYUGRO8vDaBsGxUypK8FnFyIdK+35KYmT -oni9kmugow2ifsqTs6bRjDXVdfkX9s9FxeV67HeToI8jrg4aA3++1NDtLnurRiNb/yzmVHqUwCoV -8MmNsHo7JOHXaOIxPAYzRrZUEaalLyJUKlgNAQLx+hVRZ2zA+te2G3/RVogvGjqNO7uCEeBHANBS -h6v7hn4PJGtAnTRnvI3HLYZveT6OqTwXS3+wmeOwcWDcC/Vkw85DvG1xudLeJ1uK6NjGruFZfc8o -LTW4lVYa8bJYS7cSN8h8s+1LgOGN+jIjtm+3SJUIsUROhYw6AlQgL9+/V087OpAh18EmNVQg7Mc/ -R+zvWr9LesGtOxdQXGLYD0tK3Cv6brxzks3sx1DoQZbXqX5t2Okdj4q1uViSukqSKwxW/YDrCPBe -KW4bHAyvj5OJrdu9o54hyokZ7N+1wxrrFv54NkzWbtA+FxyQF2smuvt6L78RHBgOLXMDj6DlNaBa -4kx1HXHhOThTeEDMg5PXCp6dW4+K5OXgSORIskfNTip1KnvyIvbJvgmRlld6iIis7nCs+dwp4wwc -OxJORNanTrAmyPPZGpeRaOrvjUYG0lZFWJo8DA+DuAUlwznPO6Q0ibd5Ei9Hxeepl2n8pndntd97 -8XplFeRhVmUCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0O -BBYEFIHEjMz15DD/pQwIX4wVZyF0Ad/fMA0GCSqGSIb3DQEBCwUAA4ICAQATZSL1jiutROTL/7lo -5sOASD0Ee/ojL3rtNtqyzm325p7lX1iPyzcyochltq44PTUbPrw7tgTQvPlJ9Zv3hcU2tsu8+Mg5 -1eRfB70VVJd0ysrtT7q6ZHafgbiERUlMjW+i67HM0cOU2kTC5uLqGOiiHycFutfl1qnN3e92mI0A -Ds0b+gO3joBYDic/UvuUospeZcnWhNq5NXHzJsBPd+aBJ9J3O5oUb3n09tDh05S60FdRvScFDcH9 -yBIw7m+NESsIndTUv4BFFJqIRNow6rSn4+7vW4LVPtateJLbXDzz2K36uGt/xDYotgIVilQsnLAX -c47QN6MUPJiVAAwpBVueSUmxX8fjy88nZY41F7dXyDDZQVu5FLbowg+UMaeUmMxq67XhJ/UQqAHo -jhJi6IjMtX9Gl8CbEGY4GjZGXyJoPd/JxhMnq1MGrKI8hgZlb7F+sSlEmqO6SWkoaY/X5V+tBIZk -bxqgDMUIYs6Ao9Dz7GjevjPHF1t/gMRMTLGmhIrDO7gJzRSBuhjjVFc2/tsvfEehOjPI+Vg7RE+x -ygKJBJYoaMVLuCaJu9YzL1DV/pqJuhgyklTGW+Cd+V7lDSKb9triyCGyYiGqhkCyLmTTX8jjfhFn -RR8F/uOi77Oos/N9j/gMHyIfLXC0uAE0djAA5SN4p1bXUB+K+wb1whnw0A== ------END CERTIFICATE----- - -UCA Extended Validation Root -============================ ------BEGIN CERTIFICATE----- -MIIFWjCCA0KgAwIBAgIQT9Irj/VkyDOeTzRYZiNwYDANBgkqhkiG9w0BAQsFADBHMQswCQYDVQQG -EwJDTjERMA8GA1UECgwIVW5pVHJ1c3QxJTAjBgNVBAMMHFVDQSBFeHRlbmRlZCBWYWxpZGF0aW9u -IFJvb3QwHhcNMTUwMzEzMDAwMDAwWhcNMzgxMjMxMDAwMDAwWjBHMQswCQYDVQQGEwJDTjERMA8G -A1UECgwIVW5pVHJ1c3QxJTAjBgNVBAMMHFVDQSBFeHRlbmRlZCBWYWxpZGF0aW9uIFJvb3QwggIi -MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCpCQcoEwKwmeBkqh5DFnpzsZGgdT6o+uM4AHrs -iWogD4vFsJszA1qGxliG1cGFu0/GnEBNyr7uaZa4rYEwmnySBesFK5pI0Lh2PpbIILvSsPGP2KxF -Rv+qZ2C0d35qHzwaUnoEPQc8hQ2E0B92CvdqFN9y4zR8V05WAT558aopO2z6+I9tTcg1367r3CTu -eUWnhbYFiN6IXSV8l2RnCdm/WhUFhvMJHuxYMjMR83dksHYf5BA1FxvyDrFspCqjc/wJHx4yGVMR -59mzLC52LqGj3n5qiAno8geK+LLNEOfic0CTuwjRP+H8C5SzJe98ptfRr5//lpr1kXuYC3fUfugH -0mK1lTnj8/FtDw5lhIpjVMWAtuCeS31HJqcBCF3RiJ7XwzJE+oJKCmhUfzhTA8ykADNkUVkLo4KR -el7sFsLzKuZi2irbWWIQJUoqgQtHB0MGcIfS+pMRKXpITeuUx3BNr2fVUbGAIAEBtHoIppB/TuDv -B0GHr2qlXov7z1CymlSvw4m6WC31MJixNnI5fkkE/SmnTHnkBVfblLkWU41Gsx2VYVdWf6/wFlth -WG82UBEL2KwrlRYaDh8IzTY0ZRBiZtWAXxQgXy0MoHgKaNYs1+lvK9JKBZP8nm9rZ/+I8U6laUpS -NwXqxhaN0sSZ0YIrO7o1dfdRUVjzyAfd5LQDfwIDAQABo0IwQDAdBgNVHQ4EFgQU2XQ65DA9DfcS -3H5aBZ8eNJr34RQwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQEL -BQADggIBADaNl8xCFWQpN5smLNb7rhVpLGsaGvdftvkHTFnq88nIua7Mui563MD1sC3AO6+fcAUR -ap8lTwEpcOPlDOHqWnzcSbvBHiqB9RZLcpHIojG5qtr8nR/zXUACE/xOHAbKsxSQVBcZEhrxH9cM -aVr2cXj0lH2RC47skFSOvG+hTKv8dGT9cZr4QQehzZHkPJrgmzI5c6sq1WnIeJEmMX3ixzDx/BR4 -dxIOE/TdFpS/S2d7cFOFyrC78zhNLJA5wA3CXWvp4uXViI3WLL+rG761KIcSF3Ru/H38j9CHJrAb -+7lsq+KePRXBOy5nAliRn+/4Qh8st2j1da3Ptfb/EX3C8CSlrdP6oDyp+l3cpaDvRKS+1ujl5BOW -F3sGPjLtx7dCvHaj2GU4Kzg1USEODm8uNBNA4StnDG1KQTAYI1oyVZnJF+A83vbsea0rWBmirSwi -GpWOvpaQXUJXxPkUAzUrHC1RVwinOt4/5Mi0A3PCwSaAuwtCH60NryZy2sy+s6ODWA2CxR9GUeOc -GMyNm43sSet1UNWMKFnKdDTajAshqx7qG+XH/RU+wBeq+yNuJkbL+vmxcmtpzyKEC2IPrNkZAJSi -djzULZrtBJ4tBmIQN1IchXIbJ+XMxjHsN+xjWZsLHXbMfjKaiJUINlK73nZfdklJrX+9ZSCyycEr -dhh2n1ax ------END CERTIFICATE----- - -Certigna Root CA -================ ------BEGIN CERTIFICATE----- -MIIGWzCCBEOgAwIBAgIRAMrpG4nxVQMNo+ZBbcTjpuEwDQYJKoZIhvcNAQELBQAwWjELMAkGA1UE -BhMCRlIxEjAQBgNVBAoMCURoaW15b3RpczEcMBoGA1UECwwTMDAwMiA0ODE0NjMwODEwMDAzNjEZ -MBcGA1UEAwwQQ2VydGlnbmEgUm9vdCBDQTAeFw0xMzEwMDEwODMyMjdaFw0zMzEwMDEwODMyMjda -MFoxCzAJBgNVBAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxHDAaBgNVBAsMEzAwMDIgNDgxNDYz -MDgxMDAwMzYxGTAXBgNVBAMMEENlcnRpZ25hIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQDNGDllGlmx6mQWDoyUJJV8g9PFOSbcDO8WV43X2KyjQn+Cyu3NW9sOty3tRQgX -stmzy9YXUnIo245Onoq2C/mehJpNdt4iKVzSs9IGPjA5qXSjklYcoW9MCiBtnyN6tMbaLOQdLNyz -KNAT8kxOAkmhVECe5uUFoC2EyP+YbNDrihqECB63aCPuI9Vwzm1RaRDuoXrC0SIxwoKF0vJVdlB8 -JXrJhFwLrN1CTivngqIkicuQstDuI7pmTLtipPlTWmR7fJj6o0ieD5Wupxj0auwuA0Wv8HT4Ks16 -XdG+RCYyKfHx9WzMfgIhC59vpD++nVPiz32pLHxYGpfhPTc3GGYo0kDFUYqMwy3OU4gkWGQwFsWq -4NYKpkDfePb1BHxpE4S80dGnBs8B92jAqFe7OmGtBIyT46388NtEbVncSVmurJqZNjBBe3YzIoej -wpKGbvlw7q6Hh5UbxHq9MfPU0uWZ/75I7HX1eBYdpnDBfzwboZL7z8g81sWTCo/1VTp2lc5ZmIoJ -lXcymoO6LAQ6l73UL77XbJuiyn1tJslV1c/DeVIICZkHJC1kJWumIWmbat10TWuXekG9qxf5kBdI -jzb5LdXF2+6qhUVB+s06RbFo5jZMm5BX7CO5hwjCxAnxl4YqKE3idMDaxIzb3+KhF1nOJFl0Mdp/ -/TBt2dzhauH8XwIDAQABo4IBGjCCARYwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYw -HQYDVR0OBBYEFBiHVuBud+4kNTxOc5of1uHieX4rMB8GA1UdIwQYMBaAFBiHVuBud+4kNTxOc5of -1uHieX4rMEQGA1UdIAQ9MDswOQYEVR0gADAxMC8GCCsGAQUFBwIBFiNodHRwczovL3d3d3cuY2Vy -dGlnbmEuZnIvYXV0b3JpdGVzLzBtBgNVHR8EZjBkMC+gLaArhilodHRwOi8vY3JsLmNlcnRpZ25h -LmZyL2NlcnRpZ25hcm9vdGNhLmNybDAxoC+gLYYraHR0cDovL2NybC5kaGlteW90aXMuY29tL2Nl -cnRpZ25hcm9vdGNhLmNybDANBgkqhkiG9w0BAQsFAAOCAgEAlLieT/DjlQgi581oQfccVdV8AOIt -OoldaDgvUSILSo3L6btdPrtcPbEo/uRTVRPPoZAbAh1fZkYJMyjhDSSXcNMQH+pkV5a7XdrnxIxP -TGRGHVyH41neQtGbqH6mid2PHMkwgu07nM3A6RngatgCdTer9zQoKJHyBApPNeNgJgH60BGM+RFq -7q89w1DTj18zeTyGqHNFkIwgtnJzFyO+B2XleJINugHA64wcZr+shncBlA2c5uk5jR+mUYyZDDl3 -4bSb+hxnV29qao6pK0xXeXpXIs/NX2NGjVxZOob4Mkdio2cNGJHc+6Zr9UhhcyNZjgKnvETq9Emd -8VRY+WCv2hikLyhF3HqgiIZd8zvn/yk1gPxkQ5Tm4xxvvq0OKmOZK8l+hfZx6AYDlf7ej0gcWtSS -6Cvu5zHbugRqh5jnxV/vfaci9wHYTfmJ0A6aBVmknpjZbyvKcL5kwlWj9Omvw5Ip3IgWJJk8jSaY -tlu3zM63Nwf9JtmYhST/WSMDmu2dnajkXjjO11INb9I/bbEFa0nOipFGc/T2L/Coc3cOZayhjWZS -aX5LaAzHHjcng6WMxwLkFM1JAbBzs/3GkDpv0mztO+7skb6iQ12LAEpmJURw3kAP+HwV96LOPNde -E4yBFxgX0b3xdxA61GU5wSesVywlVP+i2k+KYTlerj1KjL0= ------END CERTIFICATE----- - -emSign Root CA - G1 -=================== ------BEGIN CERTIFICATE----- -MIIDlDCCAnygAwIBAgIKMfXkYgxsWO3W2DANBgkqhkiG9w0BAQsFADBnMQswCQYDVQQGEwJJTjET -MBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRl -ZDEcMBoGA1UEAxMTZW1TaWduIFJvb3QgQ0EgLSBHMTAeFw0xODAyMTgxODMwMDBaFw00MzAyMTgx -ODMwMDBaMGcxCzAJBgNVBAYTAklOMRMwEQYDVQQLEwplbVNpZ24gUEtJMSUwIwYDVQQKExxlTXVk -aHJhIFRlY2hub2xvZ2llcyBMaW1pdGVkMRwwGgYDVQQDExNlbVNpZ24gUm9vdCBDQSAtIEcxMIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk0u76WaK7p1b1TST0Bsew+eeuGQzf2N4aLTN -LnF115sgxk0pvLZoYIr3IZpWNVrzdr3YzZr/k1ZLpVkGoZM0Kd0WNHVO8oG0x5ZOrRkVUkr+PHB1 -cM2vK6sVmjM8qrOLqs1D/fXqcP/tzxE7lM5OMhbTI0Aqd7OvPAEsbO2ZLIvZTmmYsvePQbAyeGHW -DV/D+qJAkh1cF+ZwPjXnorfCYuKrpDhMtTk1b+oDafo6VGiFbdbyL0NVHpENDtjVaqSW0RM8LHhQ -6DqS0hdW5TUaQBw+jSztOd9C4INBdN+jzcKGYEho42kLVACL5HZpIQ15TjQIXhTCzLG3rdd8cIrH -hQIDAQABo0IwQDAdBgNVHQ4EFgQU++8Nhp6w492pufEhF38+/PB3KxowDgYDVR0PAQH/BAQDAgEG -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAFn/8oz1h31xPaOfG1vR2vjTnGs2 -vZupYeveFix0PZ7mddrXuqe8QhfnPZHr5X3dPpzxz5KsbEjMwiI/aTvFthUvozXGaCocV685743Q -NcMYDHsAVhzNixl03r4PEuDQqqE/AjSxcM6dGNYIAwlG7mDgfrbESQRRfXBgvKqy/3lyeqYdPV8q -+Mri/Tm3R7nrft8EI6/6nAYH6ftjk4BAtcZsCjEozgyfz7MjNYBBjWzEN3uBL4ChQEKF6dk4jeih -U80Bv2noWgbyRQuQ+q7hv53yrlc8pa6yVvSLZUDp/TGBLPQ5Cdjua6e0ph0VpZj3AYHYhX3zUVxx -iN66zB+Afko= ------END CERTIFICATE----- - -emSign ECC Root CA - G3 -======================= ------BEGIN CERTIFICATE----- -MIICTjCCAdOgAwIBAgIKPPYHqWhwDtqLhDAKBggqhkjOPQQDAzBrMQswCQYDVQQGEwJJTjETMBEG -A1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRlZDEg -MB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0gRzMwHhcNMTgwMjE4MTgzMDAwWhcNNDMwMjE4 -MTgzMDAwWjBrMQswCQYDVQQGEwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11 -ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0g -RzMwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQjpQy4LRL1KPOxst3iAhKAnjlfSU2fySU0WXTsuwYc -58Byr+iuL+FBVIcUqEqy6HyC5ltqtdyzdc6LBtCGI79G1Y4PPwT01xySfvalY8L1X44uT6EYGQIr -MgqCZH0Wk9GjQjBAMB0GA1UdDgQWBBR8XQKEE9TMipuBzhccLikenEhjQjAOBgNVHQ8BAf8EBAMC -AQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNpADBmAjEAvvNhzwIQHWSVB7gYboiFBS+D -CBeQyh+KTOgNG3qxrdWBCUfvO6wIBHxcmbHtRwfSAjEAnbpV/KlK6O3t5nYBQnvI+GDZjVGLVTv7 -jHvrZQnD+JbNR6iC8hZVdyR+EhCVBCyj ------END CERTIFICATE----- - -emSign Root CA - C1 -=================== ------BEGIN CERTIFICATE----- -MIIDczCCAlugAwIBAgILAK7PALrEzzL4Q7IwDQYJKoZIhvcNAQELBQAwVjELMAkGA1UEBhMCVVMx -EzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMRwwGgYDVQQDExNlbVNp -Z24gUm9vdCBDQSAtIEMxMB4XDTE4MDIxODE4MzAwMFoXDTQzMDIxODE4MzAwMFowVjELMAkGA1UE -BhMCVVMxEzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMRwwGgYDVQQD -ExNlbVNpZ24gUm9vdCBDQSAtIEMxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+up -ufGZBczYKCFK83M0UYRWEPWgTywS4/oTmifQz/l5GnRfHXk5/Fv4cI7gklL35CX5VIPZHdPIWoU/ -Xse2B+4+wM6ar6xWQio5JXDWv7V7Nq2s9nPczdcdioOl+yuQFTdrHCZH3DspVpNqs8FqOp099cGX -OFgFixwR4+S0uF2FHYP+eF8LRWgYSKVGczQ7/g/IdrvHGPMF0Ybzhe3nudkyrVWIzqa2kbBPrH4V -I5b2P/AgNBbeCsbEBEV5f6f9vtKppa+cxSMq9zwhbL2vj07FOrLzNBL834AaSaTUqZX3noleooms -lMuoaJuvimUnzYnu3Yy1aylwQ6BpC+S5DwIDAQABo0IwQDAdBgNVHQ4EFgQU/qHgcB4qAzlSWkK+ -XJGFehiqTbUwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQAD -ggEBAMJKVvoVIXsoounlHfv4LcQ5lkFMOycsxGwYFYDGrK9HWS8mC+M2sO87/kOXSTKZEhVb3xEp -/6tT+LvBeA+snFOvV71ojD1pM/CjoCNjO2RnIkSt1XHLVip4kqNPEjE2NuLe/gDEo2APJ62gsIq1 -NnpSob0n9CAnYuhNlCQT5AoE6TyrLshDCUrGYQTlSTR+08TI9Q/Aqum6VF7zYytPT1DU/rl7mYw9 -wC68AivTxEDkigcxHpvOJpkT+xHqmiIMERnHXhuBUDDIlhJu58tBf5E7oke3VIAb3ADMmpDqw8NQ -BmIMMMAVSKeoWXzhriKi4gp6D/piq1JM4fHfyr6DDUI= ------END CERTIFICATE----- - -emSign ECC Root CA - C3 -======================= ------BEGIN CERTIFICATE----- -MIICKzCCAbGgAwIBAgIKe3G2gla4EnycqDAKBggqhkjOPQQDAzBaMQswCQYDVQQGEwJVUzETMBEG -A1UECxMKZW1TaWduIFBLSTEUMBIGA1UEChMLZU11ZGhyYSBJbmMxIDAeBgNVBAMTF2VtU2lnbiBF -Q0MgUm9vdCBDQSAtIEMzMB4XDTE4MDIxODE4MzAwMFoXDTQzMDIxODE4MzAwMFowWjELMAkGA1UE -BhMCVVMxEzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMSAwHgYDVQQD -ExdlbVNpZ24gRUNDIFJvb3QgQ0EgLSBDMzB2MBAGByqGSM49AgEGBSuBBAAiA2IABP2lYa57JhAd -6bciMK4G9IGzsUJxlTm801Ljr6/58pc1kjZGDoeVjbk5Wum739D+yAdBPLtVb4OjavtisIGJAnB9 -SMVK4+kiVCJNk7tCDK93nCOmfddhEc5lx/h//vXyqaNCMEAwHQYDVR0OBBYEFPtaSNCAIEDyqOkA -B2kZd6fmw/TPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMDA2gA -MGUCMQC02C8Cif22TGK6Q04ThHK1rt0c3ta13FaPWEBaLd4gTCKDypOofu4SQMfWh0/434UCMBwU -ZOR8loMRnLDRWmFLpg9J0wD8ofzkpf9/rdcw0Md3f76BB1UwUCAU9Vc4CqgxUQ== ------END CERTIFICATE----- - -Hongkong Post Root CA 3 -======================= ------BEGIN CERTIFICATE----- -MIIFzzCCA7egAwIBAgIUCBZfikyl7ADJk0DfxMauI7gcWqQwDQYJKoZIhvcNAQELBQAwbzELMAkG -A1UEBhMCSEsxEjAQBgNVBAgTCUhvbmcgS29uZzESMBAGA1UEBxMJSG9uZyBLb25nMRYwFAYDVQQK -Ew1Ib25na29uZyBQb3N0MSAwHgYDVQQDExdIb25na29uZyBQb3N0IFJvb3QgQ0EgMzAeFw0xNzA2 -MDMwMjI5NDZaFw00MjA2MDMwMjI5NDZaMG8xCzAJBgNVBAYTAkhLMRIwEAYDVQQIEwlIb25nIEtv -bmcxEjAQBgNVBAcTCUhvbmcgS29uZzEWMBQGA1UEChMNSG9uZ2tvbmcgUG9zdDEgMB4GA1UEAxMX -SG9uZ2tvbmcgUG9zdCBSb290IENBIDMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCz -iNfqzg8gTr7m1gNt7ln8wlffKWihgw4+aMdoWJwcYEuJQwy51BWy7sFOdem1p+/l6TWZ5Mwc50tf -jTMwIDNT2aa71T4Tjukfh0mtUC1Qyhi+AViiE3CWu4mIVoBc+L0sPOFMV4i707mV78vH9toxdCim -5lSJ9UExyuUmGs2C4HDaOym71QP1mbpV9WTRYA6ziUm4ii8F0oRFKHyPaFASePwLtVPLwpgchKOe -sL4jpNrcyCse2m5FHomY2vkALgbpDDtw1VAliJnLzXNg99X/NWfFobxeq81KuEXryGgeDQ0URhLj -0mRiikKYvLTGCAj4/ahMZJx2Ab0vqWwzD9g/KLg8aQFChn5pwckGyuV6RmXpwtZQQS4/t+TtbNe/ -JgERohYpSms0BpDsE9K2+2p20jzt8NYt3eEV7KObLyzJPivkaTv/ciWxNoZbx39ri1UbSsUgYT2u -y1DhCDq+sI9jQVMwCFk8mB13umOResoQUGC/8Ne8lYePl8X+l2oBlKN8W4UdKjk60FSh0Tlxnf0h -+bV78OLgAo9uliQlLKAeLKjEiafv7ZkGL7YKTE/bosw3Gq9HhS2KX8Q0NEwA/RiTZxPRN+ZItIsG -xVd7GYYKecsAyVKvQv83j+GjHno9UKtjBucVtT+2RTeUN7F+8kjDf8V1/peNRY8apxpyKBpADwID -AQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAfBgNVHSMEGDAWgBQXnc0e -i9Y5K3DTXNSguB+wAPzFYTAdBgNVHQ4EFgQUF53NHovWOStw01zUoLgfsAD8xWEwDQYJKoZIhvcN -AQELBQADggIBAFbVe27mIgHSQpsY1Q7XZiNc4/6gx5LS6ZStS6LG7BJ8dNVI0lkUmcDrudHr9Egw -W62nV3OZqdPlt9EuWSRY3GguLmLYauRwCy0gUCCkMpXRAJi70/33MvJJrsZ64Ee+bs7Lo3I6LWld -y8joRTnU+kLBEUx3XZL7av9YROXrgZ6voJmtvqkBZss4HTzfQx/0TW60uhdG/H39h4F5ag0zD/ov -+BS5gLNdTaqX4fnkGMX41TiMJjz98iji7lpJiCzfeT2OnpA8vUFKOt1b9pq0zj8lMH8yfaIDlNDc -eqFS3m6TjRgm/VWsvY+b0s+v54Ysyx8Jb6NvqYTUc79NoXQbTiNg8swOqn+knEwlqLJmOzj/2ZQw -9nKEvmhVEA/GcywWaZMH/rFF7buiVWqw2rVKAiUnhde3t4ZEFolsgCs+l6mc1X5VTMbeRRAc6uk7 -nwNT7u56AQIWeNTowr5GdogTPyK7SBIdUgC0An4hGh6cJfTzPV4e0hz5sy229zdcxsshTrD3mUcY -hcErulWuBurQB7Lcq9CClnXO0lD+mefPL5/ndtFhKvshuzHQqp9HpLIiyhY6UFfEW0NnxWViA0kB -60PZ2Pierc+xYw5F9KBaLJstxabArahH9CdMOA0uG0k7UvToiIMrVCjU8jVStDKDYmlkDJGcn5fq -dBb9HxEGmpv0 ------END CERTIFICATE----- - -Entrust Root Certification Authority - G4 -========================================= ------BEGIN CERTIFICATE----- -MIIGSzCCBDOgAwIBAgIRANm1Q3+vqTkPAAAAAFVlrVgwDQYJKoZIhvcNAQELBQAwgb4xCzAJBgNV -BAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3Qu -bmV0L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxNSBFbnRydXN0LCBJbmMuIC0gZm9yIGF1 -dGhvcml6ZWQgdXNlIG9ubHkxMjAwBgNVBAMTKUVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1 -dGhvcml0eSAtIEc0MB4XDTE1MDUyNzExMTExNloXDTM3MTIyNzExNDExNlowgb4xCzAJBgNVBAYT -AlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3QubmV0 -L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxNSBFbnRydXN0LCBJbmMuIC0gZm9yIGF1dGhv -cml6ZWQgdXNlIG9ubHkxMjAwBgNVBAMTKUVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhv -cml0eSAtIEc0MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAsewsQu7i0TD/pZJH4i3D -umSXbcr3DbVZwbPLqGgZ2K+EbTBwXX7zLtJTmeH+H17ZSK9dE43b/2MzTdMAArzE+NEGCJR5WIoV -3imz/f3ET+iq4qA7ec2/a0My3dl0ELn39GjUu9CH1apLiipvKgS1sqbHoHrmSKvS0VnM1n4j5pds -8ELl3FFLFUHtSUrJ3hCX1nbB76W1NhSXNdh4IjVS70O92yfbYVaCNNzLiGAMC1rlLAHGVK/XqsEQ -e9IFWrhAnoanw5CGAlZSCXqc0ieCU0plUmr1POeo8pyvi73TDtTUXm6Hnmo9RR3RXRv06QqsYJn7 -ibT/mCzPfB3pAqoEmh643IhuJbNsZvc8kPNXwbMv9W3y+8qh+CmdRouzavbmZwe+LGcKKh9asj5X -xNMhIWNlUpEbsZmOeX7m640A2Vqq6nPopIICR5b+W45UYaPrL0swsIsjdXJ8ITzI9vF01Bx7owVV -7rtNOzK+mndmnqxpkCIHH2E6lr7lmk/MBTwoWdPBDFSoWWG9yHJM6Nyfh3+9nEg2XpWjDrk4JFX8 -dWbrAuMINClKxuMrLzOg2qOGpRKX/YAr2hRC45K9PvJdXmd0LhyIRyk0X+IyqJwlN4y6mACXi0mW -Hv0liqzc2thddG5msP9E36EYxr5ILzeUePiVSj9/E15dWf10hkNjc0kCAwEAAaNCMEAwDwYDVR0T -AQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJ84xFYjwznooHFs6FRM5Og6sb9n -MA0GCSqGSIb3DQEBCwUAA4ICAQAS5UKme4sPDORGpbZgQIeMJX6tuGguW8ZAdjwD+MlZ9POrYs4Q -jbRaZIxowLByQzTSGwv2LFPSypBLhmb8qoMi9IsabyZIrHZ3CL/FmFz0Jomee8O5ZDIBf9PD3Vht -7LGrhFV0d4QEJ1JrhkzO3bll/9bGXp+aEJlLdWr+aumXIOTkdnrG0CSqkM0gkLpHZPt/B7NTeLUK -YvJzQ85BK4FqLoUWlFPUa19yIqtRLULVAJyZv967lDtX/Zr1hstWO1uIAeV8KEsD+UmDfLJ/fOPt -jqF/YFOOVZ1QNBIPt5d7bIdKROf1beyAN/BYGW5KaHbwH5Lk6rWS02FREAutp9lfx1/cH6NcjKF+ -m7ee01ZvZl4HliDtC3T7Zk6LERXpgUl+b7DUUH8i119lAg2m9IUe2K4GS0qn0jFmwvjO5QimpAKW -RGhXxNUzzxkvFMSUHHuk2fCfDrGA4tGeEWSpiBE6doLlYsKA2KSD7ZPvfC+QsDJMlhVoSFLUmQjA -JOgc47OlIQ6SwJAfzyBfyjs4x7dtOvPmRLgOMWuIjnDrnBdSqEGULoe256YSxXXfW8AKbnuk5F6G -+TaU33fD6Q3AOfF5u0aOq0NZJ7cguyPpVkAh7DE9ZapD8j3fcEThuk0mEDuYn/PIjhs4ViFqUZPT -kcpG2om3PVODLAgfi49T3f+sHw== ------END CERTIFICATE----- - -Microsoft ECC Root Certificate Authority 2017 -============================================= ------BEGIN CERTIFICATE----- -MIICWTCCAd+gAwIBAgIQZvI9r4fei7FK6gxXMQHC7DAKBggqhkjOPQQDAzBlMQswCQYDVQQGEwJV -UzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNyb3NvZnQgRUND -IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwHhcNMTkxMjE4MjMwNjQ1WhcNNDIwNzE4 -MjMxNjA0WjBlMQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYw -NAYDVQQDEy1NaWNyb3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwdjAQ -BgcqhkjOPQIBBgUrgQQAIgNiAATUvD0CQnVBEyPNgASGAlEvaqiBYgtlzPbKnR5vSmZRogPZnZH6 -thaxjG7efM3beaYvzrvOcS/lpaso7GMEZpn4+vKTEAXhgShC48Zo9OYbhGBKia/teQ87zvH2RPUB -eMCjVDBSMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTIy5lycFIM -+Oa+sgRXKSrPQhDtNTAQBgkrBgEEAYI3FQEEAwIBADAKBggqhkjOPQQDAwNoADBlAjBY8k3qDPlf -Xu5gKcs68tvWMoQZP3zVL8KxzJOuULsJMsbG7X7JNpQS5GiFBqIb0C8CMQCZ6Ra0DvpWSNSkMBaR -eNtUjGUBiudQZsIxtzm6uBoiB078a1QWIP8rtedMDE2mT3M= ------END CERTIFICATE----- - -Microsoft RSA Root Certificate Authority 2017 -============================================= ------BEGIN CERTIFICATE----- -MIIFqDCCA5CgAwIBAgIQHtOXCV/YtLNHcB6qvn9FszANBgkqhkiG9w0BAQwFADBlMQswCQYDVQQG -EwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNyb3NvZnQg -UlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwHhcNMTkxMjE4MjI1MTIyWhcNNDIw -NzE4MjMwMDIzWjBlMQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u -MTYwNAYDVQQDEy1NaWNyb3NvZnQgUlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcw -ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKW76UM4wplZEWCpW9R2LBifOZNt9GkMml -7Xhqb0eRaPgnZ1AzHaGm++DlQ6OEAlcBXZxIQIJTELy/xztokLaCLeX0ZdDMbRnMlfl7rEqUrQ7e -S0MdhweSE5CAg2Q1OQT85elss7YfUJQ4ZVBcF0a5toW1HLUX6NZFndiyJrDKxHBKrmCk3bPZ7Pw7 -1VdyvD/IybLeS2v4I2wDwAW9lcfNcztmgGTjGqwu+UcF8ga2m3P1eDNbx6H7JyqhtJqRjJHTOoI+ -dkC0zVJhUXAoP8XFWvLJjEm7FFtNyP9nTUwSlq31/niol4fX/V4ggNyhSyL71Imtus5Hl0dVe49F -yGcohJUcaDDv70ngNXtk55iwlNpNhTs+VcQor1fznhPbRiefHqJeRIOkpcrVE7NLP8TjwuaGYaRS -MLl6IE9vDzhTyzMMEyuP1pq9KsgtsRx9S1HKR9FIJ3Jdh+vVReZIZZ2vUpC6W6IYZVcSn2i51BVr -lMRpIpj0M+Dt+VGOQVDJNE92kKz8OMHY4Xu54+OU4UZpyw4KUGsTuqwPN1q3ErWQgR5WrlcihtnJ -0tHXUeOrO8ZV/R4O03QK0dqq6mm4lyiPSMQH+FJDOvTKVTUssKZqwJz58oHhEmrARdlns87/I6KJ -ClTUFLkqqNfs+avNJVgyeY+QW5g5xAgGwax/Dj0ApQIDAQABo1QwUjAOBgNVHQ8BAf8EBAMCAYYw -DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUCctZf4aycI8awznjwNnpv7tNsiMwEAYJKwYBBAGC -NxUBBAMCAQAwDQYJKoZIhvcNAQEMBQADggIBAKyvPl3CEZaJjqPnktaXFbgToqZCLgLNFgVZJ8og -6Lq46BrsTaiXVq5lQ7GPAJtSzVXNUzltYkyLDVt8LkS/gxCP81OCgMNPOsduET/m4xaRhPtthH80 -dK2Jp86519efhGSSvpWhrQlTM93uCupKUY5vVau6tZRGrox/2KJQJWVggEbbMwSubLWYdFQl3JPk -+ONVFT24bcMKpBLBaYVu32TxU5nhSnUgnZUP5NbcA/FZGOhHibJXWpS2qdgXKxdJ5XbLwVaZOjex -/2kskZGT4d9Mozd2TaGf+G0eHdP67Pv0RR0Tbc/3WeUiJ3IrhvNXuzDtJE3cfVa7o7P4NHmJweDy -AmH3pvwPuxwXC65B2Xy9J6P9LjrRk5Sxcx0ki69bIImtt2dmefU6xqaWM/5TkshGsRGRxpl/j8nW -ZjEgQRCHLQzWwa80mMpkg/sTV9HB8Dx6jKXB/ZUhoHHBk2dxEuqPiAppGWSZI1b7rCoucL5mxAyE -7+WL85MB+GqQk2dLsmijtWKP6T+MejteD+eMuMZ87zf9dOLITzNy4ZQ5bb0Sr74MTnB8G2+NszKT -c0QWbej09+CVgI+WXTik9KveCjCHk9hNAHFiRSdLOkKEW39lt2c0Ui2cFmuqqNh7o0JMcccMyj6D -5KbvtwEwXlGjefVwaaZBRA+GsCyRxj3qrg+E ------END CERTIFICATE----- - -e-Szigno Root CA 2017 -===================== ------BEGIN CERTIFICATE----- -MIICQDCCAeWgAwIBAgIMAVRI7yH9l1kN9QQKMAoGCCqGSM49BAMCMHExCzAJBgNVBAYTAkhVMREw -DwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UECgwNTWljcm9zZWMgTHRkLjEXMBUGA1UEYQwOVkFUSFUt -MjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3ppZ25vIFJvb3QgQ0EgMjAxNzAeFw0xNzA4MjIxMjA3MDZa -Fw00MjA4MjIxMjA3MDZaMHExCzAJBgNVBAYTAkhVMREwDwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UE -CgwNTWljcm9zZWMgTHRkLjEXMBUGA1UEYQwOVkFUSFUtMjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3pp -Z25vIFJvb3QgQ0EgMjAxNzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJbcPYrYsHtvxie+RJCx -s1YVe45DJH0ahFnuY2iyxl6H0BVIHqiQrb1TotreOpCmYF9oMrWGQd+HWyx7xf58etqjYzBhMA8G -A1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSHERUI0arBeAyxr87GyZDv -vzAEwDAfBgNVHSMEGDAWgBSHERUI0arBeAyxr87GyZDvvzAEwDAKBggqhkjOPQQDAgNJADBGAiEA -tVfd14pVCzbhhkT61NlojbjcI4qKDdQvfepz7L9NbKgCIQDLpbQS+ue16M9+k/zzNY9vTlp8tLxO -svxyqltZ+efcMQ== ------END CERTIFICATE----- - -certSIGN Root CA G2 -=================== ------BEGIN CERTIFICATE----- -MIIFRzCCAy+gAwIBAgIJEQA0tk7GNi02MA0GCSqGSIb3DQEBCwUAMEExCzAJBgNVBAYTAlJPMRQw -EgYDVQQKEwtDRVJUU0lHTiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjAeFw0xNzAy -MDYwOTI3MzVaFw00MjAyMDYwOTI3MzVaMEExCzAJBgNVBAYTAlJPMRQwEgYDVQQKEwtDRVJUU0lH -TiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIP -ADCCAgoCggIBAMDFdRmRfUR0dIf+DjuW3NgBFszuY5HnC2/OOwppGnzC46+CjobXXo9X69MhWf05 -N0IwvlDqtg+piNguLWkh59E3GE59kdUWX2tbAMI5Qw02hVK5U2UPHULlj88F0+7cDBrZuIt4Imfk -abBoxTzkbFpG583H+u/E7Eu9aqSs/cwoUe+StCmrqzWaTOTECMYmzPhpn+Sc8CnTXPnGFiWeI8Mg -wT0PPzhAsP6CRDiqWhqKa2NYOLQV07YRaXseVO6MGiKscpc/I1mbySKEwQdPzH/iV8oScLumZfNp -dWO9lfsbl83kqK/20U6o2YpxJM02PbyWxPFsqa7lzw1uKA2wDrXKUXt4FMMgL3/7FFXhEZn91Qqh -ngLjYl/rNUssuHLoPj1PrCy7Lobio3aP5ZMqz6WryFyNSwb/EkaseMsUBzXgqd+L6a8VTxaJW732 -jcZZroiFDsGJ6x9nxUWO/203Nit4ZoORUSs9/1F3dmKh7Gc+PoGD4FapUB8fepmrY7+EF3fxDTvf -95xhszWYijqy7DwaNz9+j5LP2RIUZNoQAhVB/0/E6xyjyfqZ90bp4RjZsbgyLcsUDFDYg2WD7rlc -z8sFWkz6GZdr1l0T08JcVLwyc6B49fFtHsufpaafItzRUZ6CeWRgKRM+o/1Pcmqr4tTluCRVLERL -iohEnMqE0yo7AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1Ud -DgQWBBSCIS1mxteg4BXrzkwJd8RgnlRuAzANBgkqhkiG9w0BAQsFAAOCAgEAYN4auOfyYILVAzOB -ywaK8SJJ6ejqkX/GM15oGQOGO0MBzwdw5AgeZYWR5hEit/UCI46uuR59H35s5r0l1ZUa8gWmr4UC -b6741jH/JclKyMeKqdmfS0mbEVeZkkMR3rYzpMzXjWR91M08KCy0mpbqTfXERMQlqiCA2ClV9+BB -/AYm/7k29UMUA2Z44RGx2iBfRgB4ACGlHgAoYXhvqAEBj500mv/0OJD7uNGzcgbJceaBxXntC6Z5 -8hMLnPddDnskk7RI24Zf3lCGeOdA5jGokHZwYa+cNywRtYK3qq4kNFtyDGkNzVmf9nGvnAvRCjj5 -BiKDUyUM/FHE5r7iOZULJK2v0ZXkltd0ZGtxTgI8qoXzIKNDOXZbbFD+mpwUHmUUihW9o4JFWklW -atKcsWMy5WHgUyIOpwpJ6st+H6jiYoD2EEVSmAYY3qXNL3+q1Ok+CHLsIwMCPKaq2LxndD0UF/tU -Sxfj03k9bWtJySgOLnRQvwzZRjoQhsmnP+mg7H/rpXdYaXHmgwo38oZJar55CJD2AhZkPuXaTH4M -NMn5X7azKFGnpyuqSfqNZSlO42sTp5SjLVFteAxEy9/eCG/Oo2Sr05WE1LlSVHJ7liXMvGnjSG4N -0MedJ5qq+BOS3R7fY581qRY27Iy4g/Q9iY/NtBde17MXQRBdJ3NghVdJIgc= ------END CERTIFICATE----- - -Trustwave Global Certification Authority -======================================== ------BEGIN CERTIFICATE----- -MIIF2jCCA8KgAwIBAgIMBfcOhtpJ80Y1LrqyMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJV -UzERMA8GA1UECAwISWxsaW5vaXMxEDAOBgNVBAcMB0NoaWNhZ28xITAfBgNVBAoMGFRydXN0d2F2 -ZSBIb2xkaW5ncywgSW5jLjExMC8GA1UEAwwoVHJ1c3R3YXZlIEdsb2JhbCBDZXJ0aWZpY2F0aW9u -IEF1dGhvcml0eTAeFw0xNzA4MjMxOTM0MTJaFw00MjA4MjMxOTM0MTJaMIGIMQswCQYDVQQGEwJV -UzERMA8GA1UECAwISWxsaW5vaXMxEDAOBgNVBAcMB0NoaWNhZ28xITAfBgNVBAoMGFRydXN0d2F2 -ZSBIb2xkaW5ncywgSW5jLjExMC8GA1UEAwwoVHJ1c3R3YXZlIEdsb2JhbCBDZXJ0aWZpY2F0aW9u -IEF1dGhvcml0eTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALldUShLPDeS0YLOvR29 -zd24q88KPuFd5dyqCblXAj7mY2Hf8g+CY66j96xz0XznswuvCAAJWX/NKSqIk4cXGIDtiLK0thAf -LdZfVaITXdHG6wZWiYj+rDKd/VzDBcdu7oaJuogDnXIhhpCujwOl3J+IKMujkkkP7NAP4m1ET4Bq -stTnoApTAbqOl5F2brz81Ws25kCI1nsvXwXoLG0R8+eyvpJETNKXpP7ScoFDB5zpET71ixpZfR9o -WN0EACyW80OzfpgZdNmcc9kYvkHHNHnZ9GLCQ7mzJ7Aiy/k9UscwR7PJPrhq4ufogXBeQotPJqX+ -OsIgbrv4Fo7NDKm0G2x2EOFYeUY+VM6AqFcJNykbmROPDMjWLBz7BegIlT1lRtzuzWniTY+HKE40 -Cz7PFNm73bZQmq131BnW2hqIyE4bJ3XYsgjxroMwuREOzYfwhI0Vcnyh78zyiGG69Gm7DIwLdVcE -uE4qFC49DxweMqZiNu5m4iK4BUBjECLzMx10coos9TkpoNPnG4CELcU9402x/RpvumUHO1jsQkUm -+9jaJXLE9gCxInm943xZYkqcBW89zubWR2OZxiRvchLIrH+QtAuRcOi35hYQcRfO3gZPSEF9NUqj -ifLJS3tBEW1ntwiYTOURGa5CgNz7kAXU+FDKvuStx8KU1xad5hePrzb7AgMBAAGjQjBAMA8GA1Ud -EwEB/wQFMAMBAf8wHQYDVR0OBBYEFJngGWcNYtt2s9o9uFvo/ULSMQ6HMA4GA1UdDwEB/wQEAwIB -BjANBgkqhkiG9w0BAQsFAAOCAgEAmHNw4rDT7TnsTGDZqRKGFx6W0OhUKDtkLSGm+J1WE2pIPU/H -PinbbViDVD2HfSMF1OQc3Og4ZYbFdada2zUFvXfeuyk3QAUHw5RSn8pk3fEbK9xGChACMf1KaA0H -ZJDmHvUqoai7PF35owgLEQzxPy0QlG/+4jSHg9bP5Rs1bdID4bANqKCqRieCNqcVtgimQlRXtpla -4gt5kNdXElE1GYhBaCXUNxeEFfsBctyV3lImIJgm4nb1J2/6ADtKYdkNy1GTKv0WBpanI5ojSP5R -vbbEsLFUzt5sQa0WZ37b/TjNuThOssFgy50X31ieemKyJo90lZvkWx3SD92YHJtZuSPTMaCm/zjd -zyBP6VhWOmfD0faZmZ26NraAL4hHT4a/RDqA5Dccprrql5gR0IRiR2Qequ5AvzSxnI9O4fKSTx+O -856X3vOmeWqJcU9LJxdI/uz0UA9PSX3MReO9ekDFQdxhVicGaeVyQYHTtgGJoC86cnn+OjC/QezH -Yj6RS8fZMXZC+fc8Y+wmjHMMfRod6qh8h6jCJ3zhM0EPz8/8AKAigJ5Kp28AsEFFtyLKaEjFQqKu -3R3y4G5OBVixwJAWKqQ9EEC+j2Jjg6mcgn0tAumDMHzLJ8n9HmYAsC7TIS+OMxZsmO0QqAfWzJPP -29FpHOTKyeC2nOnOcXHebD8WpHk= ------END CERTIFICATE----- - -Trustwave Global ECC P256 Certification Authority -================================================= ------BEGIN CERTIFICATE----- -MIICYDCCAgegAwIBAgIMDWpfCD8oXD5Rld9dMAoGCCqGSM49BAMCMIGRMQswCQYDVQQGEwJVUzER -MA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0d2F2ZSBI -b2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDI1NiBDZXJ0aWZp -Y2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MjMxOTM1MTBaFw00MjA4MjMxOTM1MTBaMIGRMQswCQYD -VQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRy -dXN0d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDI1 -NiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH77bOYj -43MyCMpg5lOcunSNGLB4kFKA3TjASh3RqMyTpJcGOMoNFWLGjgEqZZ2q3zSRLoHB5DOSMcT9CTqm -P62jQzBBMA8GA1UdEwEB/wQFMAMBAf8wDwYDVR0PAQH/BAUDAwcGADAdBgNVHQ4EFgQUo0EGrJBt -0UrrdaVKEJmzsaGLSvcwCgYIKoZIzj0EAwIDRwAwRAIgB+ZU2g6gWrKuEZ+Hxbb/ad4lvvigtwjz -RM4q3wghDDcCIC0mA6AFvWvR9lz4ZcyGbbOcNEhjhAnFjXca4syc4XR7 ------END CERTIFICATE----- - -Trustwave Global ECC P384 Certification Authority -================================================= ------BEGIN CERTIFICATE----- -MIICnTCCAiSgAwIBAgIMCL2Fl2yZJ6SAaEc7MAoGCCqGSM49BAMDMIGRMQswCQYDVQQGEwJVUzER -MA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0d2F2ZSBI -b2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDM4NCBDZXJ0aWZp -Y2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MjMxOTM2NDNaFw00MjA4MjMxOTM2NDNaMIGRMQswCQYD -VQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRy -dXN0d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBFQ0MgUDM4 -NCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTB2MBAGByqGSM49AgEGBSuBBAAiA2IABGvaDXU1CDFH -Ba5FmVXxERMuSvgQMSOjfoPTfygIOiYaOs+Xgh+AtycJj9GOMMQKmw6sWASr9zZ9lCOkmwqKi6vr -/TklZvFe/oyujUF5nQlgziip04pt89ZF1PKYhDhloKNDMEEwDwYDVR0TAQH/BAUwAwEB/zAPBgNV -HQ8BAf8EBQMDBwYAMB0GA1UdDgQWBBRVqYSJ0sEyvRjLbKYHTsjnnb6CkDAKBggqhkjOPQQDAwNn -ADBkAjA3AZKXRRJ+oPM+rRk6ct30UJMDEr5E0k9BpIycnR+j9sKS50gU/k6bpZFXrsY3crsCMGcl -CrEMXu6pY5Jv5ZAL/mYiykf9ijH3g/56vxC+GCsej/YpHpRZ744hN8tRmKVuSw== ------END CERTIFICATE----- - -NAVER Global Root Certification Authority -========================================= ------BEGIN CERTIFICATE----- -MIIFojCCA4qgAwIBAgIUAZQwHqIL3fXFMyqxQ0Rx+NZQTQ0wDQYJKoZIhvcNAQEMBQAwaTELMAkG -A1UEBhMCS1IxJjAkBgNVBAoMHU5BVkVSIEJVU0lORVNTIFBMQVRGT1JNIENvcnAuMTIwMAYDVQQD -DClOQVZFUiBHbG9iYWwgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MTgwODU4 -NDJaFw0zNzA4MTgyMzU5NTlaMGkxCzAJBgNVBAYTAktSMSYwJAYDVQQKDB1OQVZFUiBCVVNJTkVT -UyBQTEFURk9STSBDb3JwLjEyMDAGA1UEAwwpTkFWRVIgR2xvYmFsIFJvb3QgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC21PGTXLVAiQqrDZBb -UGOukJR0F0Vy1ntlWilLp1agS7gvQnXp2XskWjFlqxcX0TM62RHcQDaH38dq6SZeWYp34+hInDEW -+j6RscrJo+KfziFTowI2MMtSAuXaMl3Dxeb57hHHi8lEHoSTGEq0n+USZGnQJoViAbbJAh2+g1G7 -XNr4rRVqmfeSVPc0W+m/6imBEtRTkZazkVrd/pBzKPswRrXKCAfHcXLJZtM0l/aM9BhK4dA9WkW2 -aacp+yPOiNgSnABIqKYPszuSjXEOdMWLyEz59JuOuDxp7W87UC9Y7cSw0BwbagzivESq2M0UXZR4 -Yb8ObtoqvC8MC3GmsxY/nOb5zJ9TNeIDoKAYv7vxvvTWjIcNQvcGufFt7QSUqP620wbGQGHfnZ3z -VHbOUzoBppJB7ASjjw2i1QnK1sua8e9DXcCrpUHPXFNwcMmIpi3Ua2FzUCaGYQ5fG8Ir4ozVu53B -A0K6lNpfqbDKzE0K70dpAy8i+/Eozr9dUGWokG2zdLAIx6yo0es+nPxdGoMuK8u180SdOqcXYZai -cdNwlhVNt0xz7hlcxVs+Qf6sdWA7G2POAN3aCJBitOUt7kinaxeZVL6HSuOpXgRM6xBtVNbv8ejy -YhbLgGvtPe31HzClrkvJE+2KAQHJuFFYwGY6sWZLxNUxAmLpdIQM201GLQIDAQABo0IwQDAdBgNV -HQ4EFgQU0p+I36HNLL3s9TsBAZMzJ7LrYEswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMB -Af8wDQYJKoZIhvcNAQEMBQADggIBADLKgLOdPVQG3dLSLvCkASELZ0jKbY7gyKoNqo0hV4/GPnrK -21HUUrPUloSlWGB/5QuOH/XcChWB5Tu2tyIvCZwTFrFsDDUIbatjcu3cvuzHV+YwIHHW1xDBE1UB -jCpD5EHxzzp6U5LOogMFDTjfArsQLtk70pt6wKGm+LUx5vR1yblTmXVHIloUFcd4G7ad6Qz4G3bx -hYTeodoS76TiEJd6eN4MUZeoIUCLhr0N8F5OSza7OyAfikJW4Qsav3vQIkMsRIz75Sq0bBwcupTg -E34h5prCy8VCZLQelHsIJchxzIdFV4XTnyliIoNRlwAYl3dqmJLJfGBs32x9SuRwTMKeuB330DTH -D8z7p/8Dvq1wkNoL3chtl1+afwkyQf3NosxabUzyqkn+Zvjp2DXrDige7kgvOtB5CTh8piKCk5XQ -A76+AqAF3SAi428diDRgxuYKuQl1C/AH6GmWNcf7I4GOODm4RStDeKLRLBT/DShycpWbXgnbiUSY -qqFJu3FS8r/2/yehNq+4tneI3TqkbZs0kNwUXTC/t+sX5Ie3cdCh13cV1ELX8vMxmV2b3RZtP+oG -I/hGoiLtk/bdmuYqh7GYVPEi92tF4+KOdh2ajcQGjTa3FPOdVGm3jjzVpG2Tgbet9r1ke8LJaDmg -kpzNNIaRkPpkUZ3+/uul9XXeifdy ------END CERTIFICATE----- - -AC RAIZ FNMT-RCM SERVIDORES SEGUROS -=================================== ------BEGIN CERTIFICATE----- -MIICbjCCAfOgAwIBAgIQYvYybOXE42hcG2LdnC6dlTAKBggqhkjOPQQDAzB4MQswCQYDVQQGEwJF -UzERMA8GA1UECgwIRk5NVC1SQ00xDjAMBgNVBAsMBUNlcmVzMRgwFgYDVQRhDA9WQVRFUy1RMjgy -NjAwNEoxLDAqBgNVBAMMI0FDIFJBSVogRk5NVC1SQ00gU0VSVklET1JFUyBTRUdVUk9TMB4XDTE4 -MTIyMDA5MzczM1oXDTQzMTIyMDA5MzczM1oweDELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQt -UkNNMQ4wDAYDVQQLDAVDZXJlczEYMBYGA1UEYQwPVkFURVMtUTI4MjYwMDRKMSwwKgYDVQQDDCNB -QyBSQUlaIEZOTVQtUkNNIFNFUlZJRE9SRVMgU0VHVVJPUzB2MBAGByqGSM49AgEGBSuBBAAiA2IA -BPa6V1PIyqvfNkpSIeSX0oNnnvBlUdBeh8dHsVnyV0ebAAKTRBdp20LHsbI6GA60XYyzZl2hNPk2 -LEnb80b8s0RpRBNm/dfF/a82Tc4DTQdxz69qBdKiQ1oKUm8BA06Oi6NCMEAwDwYDVR0TAQH/BAUw -AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFAG5L++/EYZg8k/QQW6rcx/n0m5JMAoGCCqG -SM49BAMDA2kAMGYCMQCuSuMrQMN0EfKVrRYj3k4MGuZdpSRea0R7/DjiT8ucRRcRTBQnJlU5dUoD -zBOQn5ICMQD6SmxgiHPz7riYYqnOK8LZiqZwMR2vsJRM60/G49HzYqc8/5MuB1xJAWdpEgJyv+c= ------END CERTIFICATE----- - -GlobalSign Root R46 -=================== ------BEGIN CERTIFICATE----- -MIIFWjCCA0KgAwIBAgISEdK7udcjGJ5AXwqdLdDfJWfRMA0GCSqGSIb3DQEBDAUAMEYxCzAJBgNV -BAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYDVQQDExNHbG9iYWxTaWduIFJv -b3QgUjQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMyMDAwMDAwMFowRjELMAkGA1UEBhMCQkUxGTAX -BgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExHDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBSNDYwggIi -MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCsrHQy6LNl5brtQyYdpokNRbopiLKkHWPd08Es -CVeJOaFV6Wc0dwxu5FUdUiXSE2te4R2pt32JMl8Nnp8semNgQB+msLZ4j5lUlghYruQGvGIFAha/ -r6gjA7aUD7xubMLL1aa7DOn2wQL7Id5m3RerdELv8HQvJfTqa1VbkNud316HCkD7rRlr+/fKYIje -2sGP1q7Vf9Q8g+7XFkyDRTNrJ9CG0Bwta/OrffGFqfUo0q3v84RLHIf8E6M6cqJaESvWJ3En7YEt -bWaBkoe0G1h6zD8K+kZPTXhc+CtI4wSEy132tGqzZfxCnlEmIyDLPRT5ge1lFgBPGmSXZgjPjHvj -K8Cd+RTyG/FWaha/LIWFzXg4mutCagI0GIMXTpRW+LaCtfOW3T3zvn8gdz57GSNrLNRyc0NXfeD4 -12lPFzYE+cCQYDdF3uYM2HSNrpyibXRdQr4G9dlkbgIQrImwTDsHTUB+JMWKmIJ5jqSngiCNI/on -ccnfxkF0oE32kRbcRoxfKWMxWXEM2G/CtjJ9++ZdU6Z+Ffy7dXxd7Pj2Fxzsx2sZy/N78CsHpdls -eVR2bJ0cpm4O6XkMqCNqo98bMDGfsVR7/mrLZqrcZdCinkqaByFrgY/bxFn63iLABJzjqls2k+g9 -vXqhnQt2sQvHnf3PmKgGwvgqo6GDoLclcqUC4wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYD -VR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA1yrc4GHqMywptWU4jaWSf8FmSwwDQYJKoZIhvcNAQEM -BQADggIBAHx47PYCLLtbfpIrXTncvtgdokIzTfnvpCo7RGkerNlFo048p9gkUbJUHJNOxO97k4Vg -JuoJSOD1u8fpaNK7ajFxzHmuEajwmf3lH7wvqMxX63bEIaZHU1VNaL8FpO7XJqti2kM3S+LGteWy -gxk6x9PbTZ4IevPuzz5i+6zoYMzRx6Fcg0XERczzF2sUyQQCPtIkpnnpHs6i58FZFZ8d4kuaPp92 -CC1r2LpXFNqD6v6MVenQTqnMdzGxRBF6XLE+0xRFFRhiJBPSy03OXIPBNvIQtQ6IbbjhVp+J3pZm -OUdkLG5NrmJ7v2B0GbhWrJKsFjLtrWhV/pi60zTe9Mlhww6G9kuEYO4Ne7UyWHmRVSyBQ7N0H3qq -JZ4d16GLuc1CLgSkZoNNiTW2bKg2SnkheCLQQrzRQDGQob4Ez8pn7fXwgNNgyYMqIgXQBztSvwye -qiv5u+YfjyW6hY0XHgL+XVAEV8/+LbzvXMAaq7afJMbfc2hIkCwU9D9SGuTSyxTDYWnP4vkYxboz -nxSjBF25cfe1lNj2M8FawTSLfJvdkzrnE6JwYZ+vj+vYxXX4M2bUdGc6N3ec592kD3ZDZopD8p/7 -DEJ4Y9HiD2971KE9dJeFt0g5QdYg/NA6s/rob8SKunE3vouXsXgxT7PntgMTzlSdriVZzH81Xwj3 -QEUxeCp6 ------END CERTIFICATE----- - -GlobalSign Root E46 -=================== ------BEGIN CERTIFICATE----- -MIICCzCCAZGgAwIBAgISEdK7ujNu1LzmJGjFDYQdmOhDMAoGCCqGSM49BAMDMEYxCzAJBgNVBAYT -AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYDVQQDExNHbG9iYWxTaWduIFJvb3Qg -RTQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMyMDAwMDAwMFowRjELMAkGA1UEBhMCQkUxGTAXBgNV -BAoTEEdsb2JhbFNpZ24gbnYtc2ExHDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBFNDYwdjAQBgcq -hkjOPQIBBgUrgQQAIgNiAAScDrHPt+ieUnd1NPqlRqetMhkytAepJ8qUuwzSChDH2omwlwxwEwkB -jtjqR+q+soArzfwoDdusvKSGN+1wCAB16pMLey5SnCNoIwZD7JIvU4Tb+0cUB+hflGddyXqBPCCj -QjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQxCpCPtsad0kRL -gLWi5h+xEk8blTAKBggqhkjOPQQDAwNoADBlAjEA31SQ7Zvvi5QCkxeCmb6zniz2C5GMn0oUsfZk -vLtoURMMA/cVi4RguYv/Uo7njLwcAjA8+RHUjE7AwWHCFUyqqx0LMV87HOIAl0Qx5v5zli/altP+ -CAezNIm8BZ/3Hobui3A= ------END CERTIFICATE----- - -GLOBALTRUST 2020 -================ ------BEGIN CERTIFICATE----- -MIIFgjCCA2qgAwIBAgILWku9WvtPilv6ZeUwDQYJKoZIhvcNAQELBQAwTTELMAkGA1UEBhMCQVQx -IzAhBgNVBAoTGmUtY29tbWVyY2UgbW9uaXRvcmluZyBHbWJIMRkwFwYDVQQDExBHTE9CQUxUUlVT -VCAyMDIwMB4XDTIwMDIxMDAwMDAwMFoXDTQwMDYxMDAwMDAwMFowTTELMAkGA1UEBhMCQVQxIzAh -BgNVBAoTGmUtY29tbWVyY2UgbW9uaXRvcmluZyBHbWJIMRkwFwYDVQQDExBHTE9CQUxUUlVTVCAy -MDIwMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAri5WrRsc7/aVj6B3GyvTY4+ETUWi -D59bRatZe1E0+eyLinjF3WuvvcTfk0Uev5E4C64OFudBc/jbu9G4UeDLgztzOG53ig9ZYybNpyrO -VPu44sB8R85gfD+yc/LAGbaKkoc1DZAoouQVBGM+uq/ufF7MpotQsjj3QWPKzv9pj2gOlTblzLmM -CcpL3TGQlsjMH/1WljTbjhzqLL6FLmPdqqmV0/0plRPwyJiT2S0WR5ARg6I6IqIoV6Lr/sCMKKCm -fecqQjuCgGOlYx8ZzHyyZqjC0203b+J+BlHZRYQfEs4kUmSFC0iAToexIiIwquuuvuAC4EDosEKA -A1GqtH6qRNdDYfOiaxaJSaSjpCuKAsR49GiKweR6NrFvG5Ybd0mN1MkGco/PU+PcF4UgStyYJ9OR -JitHHmkHr96i5OTUawuzXnzUJIBHKWk7buis/UDr2O1xcSvy6Fgd60GXIsUf1DnQJ4+H4xj04KlG -DfV0OoIu0G4skaMxXDtG6nsEEFZegB31pWXogvziB4xiRfUg3kZwhqG8k9MedKZssCz3AwyIDMvU -clOGvGBG85hqwvG/Q/lwIHfKN0F5VVJjjVsSn8VoxIidrPIwq7ejMZdnrY8XD2zHc+0klGvIg5rQ -mjdJBKuxFshsSUktq6HQjJLyQUp5ISXbY9e2nKd+Qmn7OmMCAwEAAaNjMGEwDwYDVR0TAQH/BAUw -AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFNwuH9FhN3nkq9XVsxJxaD1qaJwiMB8GA1Ud -IwQYMBaAFNwuH9FhN3nkq9XVsxJxaD1qaJwiMA0GCSqGSIb3DQEBCwUAA4ICAQCR8EICaEDuw2jA -VC/f7GLDw56KoDEoqoOOpFaWEhCGVrqXctJUMHytGdUdaG/7FELYjQ7ztdGl4wJCXtzoRlgHNQIw -4Lx0SsFDKv/bGtCwr2zD/cuz9X9tAy5ZVp0tLTWMstZDFyySCstd6IwPS3BD0IL/qMy/pJTAvoe9 -iuOTe8aPmxadJ2W8esVCgmxcB9CpwYhgROmYhRZf+I/KARDOJcP5YBugxZfD0yyIMaK9MOzQ0MAS -8cE54+X1+NZK3TTN+2/BT+MAi1bikvcoskJ3ciNnxz8RFbLEAwW+uxF7Cr+obuf/WEPPm2eggAe2 -HcqtbepBEX4tdJP7wry+UUTF72glJ4DjyKDUEuzZpTcdN3y0kcra1LGWge9oXHYQSa9+pTeAsRxS -vTOBTI/53WXZFM2KJVj04sWDpQmQ1GwUY7VA3+vA/MRYfg0UFodUJ25W5HCEuGwyEn6CMUO+1918 -oa2u1qsgEu8KwxCMSZY13At1XrFP1U80DhEgB3VDRemjEdqso5nCtnkn4rnvyOL2NSl6dPrFf4IF -YqYK6miyeUcGbvJXqBUzxvd4Sj1Ce2t+/vdG6tHrju+IaFvowdlxfv1k7/9nR4hYJS8+hge9+6jl -gqispdNpQ80xiEmEU5LAsTkbOYMBMMTyqfrQA71yN2BWHzZ8vTmR9W0Nv3vXkg== ------END CERTIFICATE----- - -ANF Secure Server Root CA -========================= ------BEGIN CERTIFICATE----- -MIIF7zCCA9egAwIBAgIIDdPjvGz5a7EwDQYJKoZIhvcNAQELBQAwgYQxEjAQBgNVBAUTCUc2MzI4 -NzUxMDELMAkGA1UEBhMCRVMxJzAlBgNVBAoTHkFORiBBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lv -bjEUMBIGA1UECxMLQU5GIENBIFJhaXoxIjAgBgNVBAMTGUFORiBTZWN1cmUgU2VydmVyIFJvb3Qg -Q0EwHhcNMTkwOTA0MTAwMDM4WhcNMzkwODMwMTAwMDM4WjCBhDESMBAGA1UEBRMJRzYzMjg3NTEw -MQswCQYDVQQGEwJFUzEnMCUGA1UEChMeQU5GIEF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uMRQw -EgYDVQQLEwtBTkYgQ0EgUmFpejEiMCAGA1UEAxMZQU5GIFNlY3VyZSBTZXJ2ZXIgUm9vdCBDQTCC -AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANvrayvmZFSVgpCjcqQZAZ2cC4Ffc0m6p6zz -BE57lgvsEeBbphzOG9INgxwruJ4dfkUyYA8H6XdYfp9qyGFOtibBTI3/TO80sh9l2Ll49a2pcbnv -T1gdpd50IJeh7WhM3pIXS7yr/2WanvtH2Vdy8wmhrnZEE26cLUQ5vPnHO6RYPUG9tMJJo8gN0pcv -B2VSAKduyK9o7PQUlrZXH1bDOZ8rbeTzPvY1ZNoMHKGESy9LS+IsJJ1tk0DrtSOOMspvRdOoiXse -zx76W0OLzc2oD2rKDF65nkeP8Nm2CgtYZRczuSPkdxl9y0oukntPLxB3sY0vaJxizOBQ+OyRp1RM -VwnVdmPF6GUe7m1qzwmd+nxPrWAI/VaZDxUse6mAq4xhj0oHdkLePfTdsiQzW7i1o0TJrH93PB0j -7IKppuLIBkwC/qxcmZkLLxCKpvR/1Yd0DVlJRfbwcVw5Kda/SiOL9V8BY9KHcyi1Swr1+KuCLH5z -JTIdC2MKF4EA/7Z2Xue0sUDKIbvVgFHlSFJnLNJhiQcND85Cd8BEc5xEUKDbEAotlRyBr+Qc5RQe -8TZBAQIvfXOn3kLMTOmJDVb3n5HUA8ZsyY/b2BzgQJhdZpmYgG4t/wHFzstGH6wCxkPmrqKEPMVO -Hj1tyRRM4y5Bu8o5vzY8KhmqQYdOpc5LMnndkEl/AgMBAAGjYzBhMB8GA1UdIwQYMBaAFJxf0Gxj -o1+TypOYCK2Mh6UsXME3MB0GA1UdDgQWBBScX9BsY6Nfk8qTmAitjIelLFzBNzAOBgNVHQ8BAf8E -BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEATh65isagmD9uw2nAalxJ -UqzLK114OMHVVISfk/CHGT0sZonrDUL8zPB1hT+L9IBdeeUXZ701guLyPI59WzbLWoAAKfLOKyzx -j6ptBZNscsdW699QIyjlRRA96Gejrw5VD5AJYu9LWaL2U/HANeQvwSS9eS9OICI7/RogsKQOLHDt -dD+4E5UGUcjohybKpFtqFiGS3XNgnhAY3jyB6ugYw3yJ8otQPr0R4hUDqDZ9MwFsSBXXiJCZBMXM -5gf0vPSQ7RPi6ovDj6MzD8EpTBNO2hVWcXNyglD2mjN8orGoGjR0ZVzO0eurU+AagNjqOknkJjCb -5RyKqKkVMoaZkgoQI1YS4PbOTOK7vtuNknMBZi9iPrJyJ0U27U1W45eZ/zo1PqVUSlJZS2Db7v54 -EX9K3BR5YLZrZAPbFYPhor72I5dQ8AkzNqdxliXzuUJ92zg/LFis6ELhDtjTO0wugumDLmsx2d1H -hk9tl5EuT+IocTUW0fJz/iUrB0ckYyfI+PbZa/wSMVYIwFNCr5zQM378BvAxRAMU8Vjq8moNqRGy -g77FGr8H6lnco4g175x2MjxNBiLOFeXdntiP2t7SxDnlF4HPOEfrf4htWRvfn0IUrn7PqLBmZdo3 -r5+qPeoott7VMVgWglvquxl1AnMaykgaIZOQCo6ThKd9OyMYkomgjaw= ------END CERTIFICATE----- - -Certum EC-384 CA -================ ------BEGIN CERTIFICATE----- -MIICZTCCAeugAwIBAgIQeI8nXIESUiClBNAt3bpz9DAKBggqhkjOPQQDAzB0MQswCQYDVQQGEwJQ -TDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2Vy -dGlmaWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMTEENlcnR1bSBFQy0zODQgQ0EwHhcNMTgwMzI2 -MDcyNDU0WhcNNDMwMzI2MDcyNDU0WjB0MQswCQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERh -dGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkx -GTAXBgNVBAMTEENlcnR1bSBFQy0zODQgQ0EwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATEKI6rGFtq -vm5kN2PkzeyrOvfMobgOgknXhimfoZTy42B4mIF4Bk3y7JoOV2CDn7TmFy8as10CW4kjPMIRBSqn -iBMY81CE1700LCeJVf/OTOffph8oxPBUw7l8t1Ot68KjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFI0GZnQkdjrzife81r1HfS+8EF9LMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNo -ADBlAjADVS2m5hjEfO/JUG7BJw+ch69u1RsIGL2SKcHvlJF40jocVYli5RsJHrpka/F2tNQCMQC0 -QoSZ/6vnnvuRlydd3LBbMHHOXjgaatkl5+r3YZJW+OraNsKHZZYuciUvf9/DE8k= ------END CERTIFICATE----- - -Certum Trusted Root CA -====================== ------BEGIN CERTIFICATE----- -MIIFwDCCA6igAwIBAgIQHr9ZULjJgDdMBvfrVU+17TANBgkqhkiG9w0BAQ0FADB6MQswCQYDVQQG -EwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0g -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkxHzAdBgNVBAMTFkNlcnR1bSBUcnVzdGVkIFJvb3QgQ0Ew -HhcNMTgwMzE2MTIxMDEzWhcNNDMwMzE2MTIxMDEzWjB6MQswCQYDVQQGEwJQTDEhMB8GA1UEChMY -QXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkxHzAdBgNVBAMTFkNlcnR1bSBUcnVzdGVkIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEB -AQUAA4ICDwAwggIKAoICAQDRLY67tzbqbTeRn06TpwXkKQMlzhyC93yZn0EGze2jusDbCSzBfN8p -fktlL5On1AFrAygYo9idBcEq2EXxkd7fO9CAAozPOA/qp1x4EaTByIVcJdPTsuclzxFUl6s1wB52 -HO8AU5853BSlLCIls3Jy/I2z5T4IHhQqNwuIPMqw9MjCoa68wb4pZ1Xi/K1ZXP69VyywkI3C7Te2 -fJmItdUDmj0VDT06qKhF8JVOJVkdzZhpu9PMMsmN74H+rX2Ju7pgE8pllWeg8xn2A1bUatMn4qGt -g/BKEiJ3HAVz4hlxQsDsdUaakFjgao4rpUYwBI4Zshfjvqm6f1bxJAPXsiEodg42MEx51UGamqi4 -NboMOvJEGyCI98Ul1z3G4z5D3Yf+xOr1Uz5MZf87Sst4WmsXXw3Hw09Omiqi7VdNIuJGmj8PkTQk -fVXjjJU30xrwCSss0smNtA0Aq2cpKNgB9RkEth2+dv5yXMSFytKAQd8FqKPVhJBPC/PgP5sZ0jeJ -P/J7UhyM9uH3PAeXjA6iWYEMspA90+NZRu0PqafegGtaqge2Gcu8V/OXIXoMsSt0Puvap2ctTMSY -njYJdmZm/Bo/6khUHL4wvYBQv3y1zgD2DGHZ5yQD4OMBgQ692IU0iL2yNqh7XAjlRICMb/gv1SHK -HRzQ+8S1h9E6Tsd2tTVItQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSM+xx1 -vALTn04uSNn5YFSqxLNP+jAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQENBQADggIBAEii1QAL -LtA/vBzVtVRJHlpr9OTy4EA34MwUe7nJ+jW1dReTagVphZzNTxl4WxmB82M+w85bj/UvXgF2Ez8s -ALnNllI5SW0ETsXpD4YN4fqzX4IS8TrOZgYkNCvozMrnadyHncI013nR03e4qllY/p0m+jiGPp2K -h2RX5Rc64vmNueMzeMGQ2Ljdt4NR5MTMI9UGfOZR0800McD2RrsLrfw9EAUqO0qRJe6M1ISHgCq8 -CYyqOhNf6DR5UMEQGfnTKB7U0VEwKbOukGfWHwpjscWpxkIxYxeU72nLL/qMFH3EQxiJ2fAyQOaA -4kZf5ePBAFmo+eggvIksDkc0C+pXwlM2/KfUrzHN/gLldfq5Jwn58/U7yn2fqSLLiMmq0Uc9Nneo -WWRrJ8/vJ8HjJLWG965+Mk2weWjROeiQWMODvA8s1pfrzgzhIMfatz7DP78v3DSk+yshzWePS/Tj -6tQ/50+6uaWTRRxmHyH6ZF5v4HaUMst19W7l9o/HuKTMqJZ9ZPskWkoDbGs4xugDQ5r3V7mzKWmT -OPQD8rv7gmsHINFSH5pkAnuYZttcTVoP0ISVoDwUQwbKytu4QTbaakRnh6+v40URFWkIsr4WOZck -bxJF0WddCajJFdr60qZfE2Efv4WstK2tBZQIgx51F9NxO5NQI1mg7TyRVJ12AMXDuDjb ------END CERTIFICATE----- - -TunTrust Root CA -================ ------BEGIN CERTIFICATE----- -MIIFszCCA5ugAwIBAgIUEwLV4kBMkkaGFmddtLu7sms+/BMwDQYJKoZIhvcNAQELBQAwYTELMAkG -A1UEBhMCVE4xNzA1BgNVBAoMLkFnZW5jZSBOYXRpb25hbGUgZGUgQ2VydGlmaWNhdGlvbiBFbGVj -dHJvbmlxdWUxGTAXBgNVBAMMEFR1blRydXN0IFJvb3QgQ0EwHhcNMTkwNDI2MDg1NzU2WhcNNDQw -NDI2MDg1NzU2WjBhMQswCQYDVQQGEwJUTjE3MDUGA1UECgwuQWdlbmNlIE5hdGlvbmFsZSBkZSBD -ZXJ0aWZpY2F0aW9uIEVsZWN0cm9uaXF1ZTEZMBcGA1UEAwwQVHVuVHJ1c3QgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMPN0/y9BFPdDCA61YguBUtB9YOCfvdZn56eY+hz -2vYGqU8ftPkLHzmMmiDQfgbU7DTZhrx1W4eI8NLZ1KMKsmwb60ksPqxd2JQDoOw05TDENX37Jk0b -bjBU2PWARZw5rZzJJQRNmpA+TkBuimvNKWfGzC3gdOgFVwpIUPp6Q9p+7FuaDmJ2/uqdHYVy7BG7 -NegfJ7/Boce7SBbdVtfMTqDhuazb1YMZGoXRlJfXyqNlC/M4+QKu3fZnz8k/9YosRxqZbwUN/dAd -gjH8KcwAWJeRTIAAHDOFli/LQcKLEITDCSSJH7UP2dl3RxiSlGBcx5kDPP73lad9UKGAwqmDrViW -VSHbhlnUr8a83YFuB9tgYv7sEG7aaAH0gxupPqJbI9dkxt/con3YS7qC0lH4Zr8GRuR5KiY2eY8f -Tpkdso8MDhz/yV3A/ZAQprE38806JG60hZC/gLkMjNWb1sjxVj8agIl6qeIbMlEsPvLfe/ZdeikZ -juXIvTZxi11Mwh0/rViizz1wTaZQmCXcI/m4WEEIcb9PuISgjwBUFfyRbVinljvrS5YnzWuioYas -DXxU5mZMZl+QviGaAkYt5IPCgLnPSz7ofzwB7I9ezX/SKEIBlYrilz0QIX32nRzFNKHsLA4KUiwS -VXAkPcvCFDVDXSdOvsC9qnyW5/yeYa1E0wCXAgMBAAGjYzBhMB0GA1UdDgQWBBQGmpsfU33x9aTI -04Y+oXNZtPdEITAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFAaamx9TffH1pMjThj6hc1m0 -90QhMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAqgVutt0Vyb+zxiD2BkewhpMl -0425yAA/l/VSJ4hxyXT968pk21vvHl26v9Hr7lxpuhbI87mP0zYuQEkHDVneixCwSQXi/5E/S7fd -Ao74gShczNxtr18UnH1YeA32gAm56Q6XKRm4t+v4FstVEuTGfbvE7Pi1HE4+Z7/FXxttbUcoqgRY -YdZ2vyJ/0Adqp2RT8JeNnYA/u8EH22Wv5psymsNUk8QcCMNE+3tjEUPRahphanltkE8pjkcFwRJp -adbGNjHh/PqAulxPxOu3Mqz4dWEX1xAZufHSCe96Qp1bWgvUxpVOKs7/B9dPfhgGiPEZtdmYu65x -xBzndFlY7wyJz4sfdZMaBBSSSFCp61cpABbjNhzI+L/wM9VBD8TMPN3pM0MBkRArHtG5Xc0yGYuP -jCB31yLEQtyEFpslbei0VXF/sHyz03FJuc9SpAQ/3D2gu68zngowYI7bnV2UqL1g52KAdoGDDIzM -MEZJ4gzSqK/rYXHv5yJiqfdcZGyfFoxnNidF9Ql7v/YQCvGwjVRDjAS6oz/v4jXH+XTgbzRB0L9z -ZVcg+ZtnemZoJE6AZb0QmQZZ8mWvuMZHu/2QeItBcy6vVR/cO5JyboTT0GFMDcx2V+IthSIVNg3r -AZ3r2OvEhJn7wAzMMujjd9qDRIueVSjAi1jTkD5OGwDxFa2DK5o= ------END CERTIFICATE----- - -HARICA TLS RSA Root CA 2021 -=========================== ------BEGIN CERTIFICATE----- -MIIFpDCCA4ygAwIBAgIQOcqTHO9D88aOk8f0ZIk4fjANBgkqhkiG9w0BAQsFADBsMQswCQYDVQQG -EwJHUjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9u -cyBDQTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBSU0EgUm9vdCBDQSAyMDIxMB4XDTIxMDIxOTEwNTUz -OFoXDTQ1MDIxMzEwNTUzN1owbDELMAkGA1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRl -bWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgUlNB -IFJvb3QgQ0EgMjAyMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAIvC569lmwVnlskN -JLnQDmT8zuIkGCyEf3dRywQRNrhe7Wlxp57kJQmXZ8FHws+RFjZiPTgE4VGC/6zStGndLuwRo0Xu -a2s7TL+MjaQenRG56Tj5eg4MmOIjHdFOY9TnuEFE+2uva9of08WRiFukiZLRgeaMOVig1mlDqa2Y -Ulhu2wr7a89o+uOkXjpFc5gH6l8Cct4MpbOfrqkdtx2z/IpZ525yZa31MJQjB/OCFks1mJxTuy/K -5FrZx40d/JiZ+yykgmvwKh+OC19xXFyuQnspiYHLA6OZyoieC0AJQTPb5lh6/a6ZcMBaD9YThnEv -dmn8kN3bLW7R8pv1GmuebxWMevBLKKAiOIAkbDakO/IwkfN4E8/BPzWr8R0RI7VDIp4BkrcYAuUR -0YLbFQDMYTfBKnya4dC6s1BG7oKsnTH4+yPiAwBIcKMJJnkVU2DzOFytOOqBAGMUuTNe3QvboEUH -GjMJ+E20pwKmafTCWQWIZYVWrkvL4N48fS0ayOn7H6NhStYqE613TBoYm5EPWNgGVMWX+Ko/IIqm -haZ39qb8HOLubpQzKoNQhArlT4b4UEV4AIHrW2jjJo3Me1xR9BQsQL4aYB16cmEdH2MtiKrOokWQ -CPxrvrNQKlr9qEgYRtaQQJKQCoReaDH46+0N0x3GfZkYVVYnZS6NRcUk7M7jAgMBAAGjQjBAMA8G -A1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFApII6ZgpJIKM+qTW8VX6iVNvRLuMA4GA1UdDwEB/wQE -AwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAPpBIqm5iFSVmewzVjIuJndftTgfvnNAUX15QvWiWkKQU -EapobQk1OUAJ2vQJLDSle1mESSmXdMgHHkdt8s4cUCbjnj1AUz/3f5Z2EMVGpdAgS1D0NTsY9FVq -QRtHBmg8uwkIYtlfVUKqrFOFrJVWNlar5AWMxajaH6NpvVMPxP/cyuN+8kyIhkdGGvMA9YCRotxD -QpSbIPDRzbLrLFPCU3hKTwSUQZqPJzLB5UkZv/HywouoCjkxKLR9YjYsTewfM7Z+d21+UPCfDtcR -j88YxeMn/ibvBZ3PzzfF0HvaO7AWhAw6k9a+F9sPPg4ZeAnHqQJyIkv3N3a6dcSFA1pj1bF1BcK5 -vZStjBWZp5N99sXzqnTPBIWUmAD04vnKJGW/4GKvyMX6ssmeVkjaef2WdhW+o45WxLM0/L5H9MG0 -qPzVMIho7suuyWPEdr6sOBjhXlzPrjoiUevRi7PzKzMHVIf6tLITe7pTBGIBnfHAT+7hOtSLIBD6 -Alfm78ELt5BGnBkpjNxvoEppaZS3JGWg/6w/zgH7IS79aPib8qXPMThcFarmlwDB31qlpzmq6YR/ -PFGoOtmUW4y/Twhx5duoXNTSpv4Ao8YWxw/ogM4cKGR0GQjTQuPOAF1/sdwTsOEFy9EgqoZ0njnn -kf3/W9b3raYvAwtt41dU63ZTGI0RmLo= ------END CERTIFICATE----- - -HARICA TLS ECC Root CA 2021 -=========================== ------BEGIN CERTIFICATE----- -MIICVDCCAdugAwIBAgIQZ3SdjXfYO2rbIvT/WeK/zjAKBggqhkjOPQQDAzBsMQswCQYDVQQGEwJH -UjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9ucyBD -QTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBFQ0MgUm9vdCBDQSAyMDIxMB4XDTIxMDIxOTExMDExMFoX -DTQ1MDIxMzExMDEwOVowbDELMAkGA1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRlbWlj -IGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgRUNDIFJv -b3QgQ0EgMjAyMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABDgI/rGgltJ6rK9JOtDA4MM7KKrxcm1l -AEeIhPyaJmuqS7psBAqIXhfyVYf8MLA04jRYVxqEU+kw2anylnTDUR9YSTHMmE5gEYd103KUkE+b -ECUqqHgtvpBBWJAVcqeht6NCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUyRtTgRL+BNUW -0aq8mm+3oJUZbsowDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMDA2cAMGQCMBHervjcToiwqfAi -rcJRQO9gcS3ujwLEXQNwSaSS6sUUiHCm0w2wqsosQJz76YJumgIwK0eaB8bRwoF8yguWGEEbo/Qw -CZ61IygNnxS2PFOiTAZpffpskcYqSUXm7LcT4Tps ------END CERTIFICATE----- - -Autoridad de Certificacion Firmaprofesional CIF A62634068 -========================================================= ------BEGIN CERTIFICATE----- -MIIGFDCCA/ygAwIBAgIIG3Dp0v+ubHEwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCRVMxQjBA -BgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2 -MjYzNDA2ODAeFw0xNDA5MjMxNTIyMDdaFw0zNjA1MDUxNTIyMDdaMFExCzAJBgNVBAYTAkVTMUIw -QAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBB -NjI2MzQwNjgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDD -Utd9thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQMcas9UX4P -B99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefGL9ItWY16Ck6WaVICqjaY -7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15iNA9wBj4gGFrO93IbJWyTdBSTo3OxDqqH -ECNZXyAFGUftaI6SEspd/NYrspI8IM/hX68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyI -plD9amML9ZMWGxmPsu2bm8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctX -MbScyJCyZ/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirjaEbsX -LZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/TKI8xWVvTyQKmtFLK -bpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSuewvF6NkBiDkal4ZkQdU7hwxu+g/GvUgU -vzlN1J5Bto+WHWOWk9mVBngxaJ43BjuAiUVhOSPHG0SjFeUc+JIwuwIDAQABo4HvMIHsMB0GA1Ud -DgQWBBRlzeurNR4APn7VdMActHNHDhpkLzASBgNVHRMBAf8ECDAGAQH/AgEBMIGmBgNVHSAEgZ4w -gZswgZgGBFUdIAAwgY8wLwYIKwYBBQUHAgEWI2h0dHA6Ly93d3cuZmlybWFwcm9mZXNpb25hbC5j -b20vY3BzMFwGCCsGAQUFBwICMFAeTgBQAGEAcwBlAG8AIABkAGUAIABsAGEAIABCAG8AbgBhAG4A -bwB2AGEAIAA0ADcAIABCAGEAcgBjAGUAbABvAG4AYQAgADAAOAAwADEANzAOBgNVHQ8BAf8EBAMC -AQYwDQYJKoZIhvcNAQELBQADggIBAHSHKAIrdx9miWTtj3QuRhy7qPj4Cx2Dtjqn6EWKB7fgPiDL -4QjbEwj4KKE1soCzC1HA01aajTNFSa9J8OA9B3pFE1r/yJfY0xgsfZb43aJlQ3CTkBW6kN/oGbDb -LIpgD7dvlAceHabJhfa9NPhAeGIQcDq+fUs5gakQ1JZBu/hfHAsdCPKxsIl68veg4MSPi3i1O1il -I45PVf42O+AMt8oqMEEgtIDNrvx2ZnOorm7hfNoD6JQg5iKj0B+QXSBTFCZX2lSX3xZEEAEeiGaP -cjiT3SC3NL7X8e5jjkd5KAb881lFJWAiMxujX6i6KtoaPc1A6ozuBRWV1aUsIC+nmCjuRfzxuIgA -LI9C2lHVnOUTaHFFQ4ueCyE8S1wF3BqfmI7avSKecs2tCsvMo2ebKHTEm9caPARYpoKdrcd7b/+A -lun4jWq9GJAd/0kakFI3ky88Al2CdgtR5xbHV/g4+afNmyJU72OwFW1TZQNKXkqgsqeOSQBZONXH -9IBk9W6VULgRfhVwOEqwf9DEMnDAGf/JOC0ULGb0QkTmVXYbgBVX/8Cnp6o5qtjTcNAuuuuUavpf -NIbnYrX9ivAwhZTJryQCL2/W3Wf+47BVTwSYT6RBVuKT0Gro1vP7ZeDOdcQxWQzugsgMYDNKGbqE -ZycPvEJdvSRUDewdcAZfpLz6IHxV ------END CERTIFICATE----- - -vTrus ECC Root CA -================= ------BEGIN CERTIFICATE----- -MIICDzCCAZWgAwIBAgIUbmq8WapTvpg5Z6LSa6Q75m0c1towCgYIKoZIzj0EAwMwRzELMAkGA1UE -BhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xGjAYBgNVBAMTEXZUcnVzIEVDQyBS -b290IENBMB4XDTE4MDczMTA3MjY0NFoXDTQzMDczMTA3MjY0NFowRzELMAkGA1UEBhMCQ04xHDAa -BgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xGjAYBgNVBAMTEXZUcnVzIEVDQyBSb290IENBMHYw -EAYHKoZIzj0CAQYFK4EEACIDYgAEZVBKrox5lkqqHAjDo6LN/llWQXf9JpRCux3NCNtzslt188+c -ToL0v/hhJoVs1oVbcnDS/dtitN9Ti72xRFhiQgnH+n9bEOf+QP3A2MMrMudwpremIFUde4BdS49n -TPEQo0IwQDAdBgNVHQ4EFgQUmDnNvtiyjPeyq+GtJK97fKHbH88wDwYDVR0TAQH/BAUwAwEB/zAO -BgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwMDaAAwZQIwV53dVvHH4+m4SVBrm2nDb+zDfSXkV5UT -QJtS0zvzQBm8JsctBp61ezaf9SXUY2sAAjEA6dPGnlaaKsyh2j/IZivTWJwghfqrkYpwcBE4YGQL -YgmRWAD5Tfs0aNoJrSEGGJTO ------END CERTIFICATE----- - -vTrus Root CA -============= ------BEGIN CERTIFICATE----- -MIIFVjCCAz6gAwIBAgIUQ+NxE9izWRRdt86M/TX9b7wFjUUwDQYJKoZIhvcNAQELBQAwQzELMAkG -A1UEBhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xFjAUBgNVBAMTDXZUcnVzIFJv -b3QgQ0EwHhcNMTgwNzMxMDcyNDA1WhcNNDMwNzMxMDcyNDA1WjBDMQswCQYDVQQGEwJDTjEcMBoG -A1UEChMTaVRydXNDaGluYSBDby4sTHRkLjEWMBQGA1UEAxMNdlRydXMgUm9vdCBDQTCCAiIwDQYJ -KoZIhvcNAQEBBQADggIPADCCAgoCggIBAL1VfGHTuB0EYgWgrmy3cLRB6ksDXhA/kFocizuwZots -SKYcIrrVQJLuM7IjWcmOvFjai57QGfIvWcaMY1q6n6MLsLOaXLoRuBLpDLvPbmyAhykUAyyNJJrI -ZIO1aqwTLDPxn9wsYTwaP3BVm60AUn/PBLn+NvqcwBauYv6WTEN+VRS+GrPSbcKvdmaVayqwlHeF -XgQPYh1jdfdr58tbmnDsPmcF8P4HCIDPKNsFxhQnL4Z98Cfe/+Z+M0jnCx5Y0ScrUw5XSmXX+6KA -YPxMvDVTAWqXcoKv8R1w6Jz1717CbMdHflqUhSZNO7rrTOiwCcJlwp2dCZtOtZcFrPUGoPc2BX70 -kLJrxLT5ZOrpGgrIDajtJ8nU57O5q4IikCc9Kuh8kO+8T/3iCiSn3mUkpF3qwHYw03dQ+A0Em5Q2 -AXPKBlim0zvc+gRGE1WKyURHuFE5Gi7oNOJ5y1lKCn+8pu8fA2dqWSslYpPZUxlmPCdiKYZNpGvu -/9ROutW04o5IWgAZCfEF2c6Rsffr6TlP9m8EQ5pV9T4FFL2/s1m02I4zhKOQUqqzApVg+QxMaPnu -1RcN+HFXtSXkKe5lXa/R7jwXC1pDxaWG6iSe4gUH3DRCEpHWOXSuTEGC2/KmSNGzm/MzqvOmwMVO -9fSddmPmAsYiS8GVP1BkLFTltvA8Kc9XAgMBAAGjQjBAMB0GA1UdDgQWBBRUYnBj8XWEQ1iO0RYg -scasGrz2iTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOC -AgEAKbqSSaet8PFww+SX8J+pJdVrnjT+5hpk9jprUrIQeBqfTNqK2uwcN1LgQkv7bHbKJAs5EhWd -nxEt/Hlk3ODg9d3gV8mlsnZwUKT+twpw1aA08XXXTUm6EdGz2OyC/+sOxL9kLX1jbhd47F18iMjr -jld22VkE+rxSH0Ws8HqA7Oxvdq6R2xCOBNyS36D25q5J08FsEhvMKar5CKXiNxTKsbhm7xqC5PD4 -8acWabfbqWE8n/Uxy+QARsIvdLGx14HuqCaVvIivTDUHKgLKeBRtRytAVunLKmChZwOgzoy8sHJn -xDHO2zTlJQNgJXtxmOTAGytfdELSS8VZCAeHvsXDf+eW2eHcKJfWjwXj9ZtOyh1QRwVTsMo554Wg -icEFOwE30z9J4nfrI8iIZjs9OXYhRvHsXyO466JmdXTBQPfYaJqT4i2pLr0cox7IdMakLXogqzu4 -sEb9b91fUlV1YvCXoHzXOP0l382gmxDPi7g4Xl7FtKYCNqEeXxzP4padKar9mK5S4fNBUvupLnKW -nyfjqnN9+BojZns7q2WwMgFLFT49ok8MKzWixtlnEjUwzXYuFrOZnk1PTi07NEPhmg4NpGaXutIc -SkwsKouLgU9xGqndXHt7CMUADTdA43x7VF8vhV929vensBxXVsFy6K2ir40zSbofitzmdHxghm+H -l3s= ------END CERTIFICATE----- - -ISRG Root X2 -============ ------BEGIN CERTIFICATE----- -MIICGzCCAaGgAwIBAgIQQdKd0XLq7qeAwSxs6S+HUjAKBggqhkjOPQQDAzBPMQswCQYDVQQGEwJV -UzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMTDElT -UkcgUm9vdCBYMjAeFw0yMDA5MDQwMDAwMDBaFw00MDA5MTcxNjAwMDBaME8xCzAJBgNVBAYTAlVT -MSkwJwYDVQQKEyBJbnRlcm5ldCBTZWN1cml0eSBSZXNlYXJjaCBHcm91cDEVMBMGA1UEAxMMSVNS -RyBSb290IFgyMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEzZvVn4CDCuwJSvMWSj5cz3es3mcFDR0H -ttwW+1qLFNvicWDEukWVEYmO6gbf9yoWHKS5xcUy4APgHoIYOIvXRdgKam7mAHf7AlF9ItgKbppb -d9/w+kHsOdx1ymgHDB/qo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNV -HQ4EFgQUfEKWrt5LSDv6kviejM9ti6lyN5UwCgYIKoZIzj0EAwMDaAAwZQIwe3lORlCEwkSHRhtF -cP9Ymd70/aTSVaYgLXTWNLxBo1BfASdWtL4ndQavEi51mI38AjEAi/V3bNTIZargCyzuFJ0nN6T5 -U6VR5CmD1/iQMVtCnwr1/q4AaOeMSQ+2b1tbFfLn ------END CERTIFICATE----- - -HiPKI Root CA - G1 -================== ------BEGIN CERTIFICATE----- -MIIFajCCA1KgAwIBAgIQLd2szmKXlKFD6LDNdmpeYDANBgkqhkiG9w0BAQsFADBPMQswCQYDVQQG -EwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0ZC4xGzAZBgNVBAMMEkhpUEtJ -IFJvb3QgQ0EgLSBHMTAeFw0xOTAyMjIwOTQ2MDRaFw0zNzEyMzExNTU5NTlaME8xCzAJBgNVBAYT -AlRXMSMwIQYDVQQKDBpDaHVuZ2h3YSBUZWxlY29tIENvLiwgTHRkLjEbMBkGA1UEAwwSSGlQS0kg -Um9vdCBDQSAtIEcxMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA9B5/UnMyDHPkvRN0 -o9QwqNCuS9i233VHZvR85zkEHmpwINJaR3JnVfSl6J3VHiGh8Ge6zCFovkRTv4354twvVcg3Px+k -wJyz5HdcoEb+d/oaoDjq7Zpy3iu9lFc6uux55199QmQ5eiY29yTw1S+6lZgRZq2XNdZ1AYDgr/SE -YYwNHl98h5ZeQa/rh+r4XfEuiAU+TCK72h8q3VJGZDnzQs7ZngyzsHeXZJzA9KMuH5UHsBffMNsA -GJZMoYFL3QRtU6M9/Aes1MU3guvklQgZKILSQjqj2FPseYlgSGDIcpJQ3AOPgz+yQlda22rpEZfd -hSi8MEyr48KxRURHH+CKFgeW0iEPU8DtqX7UTuybCeyvQqww1r/REEXgphaypcXTT3OUM3ECoWqj -1jOXTyFjHluP2cFeRXF3D4FdXyGarYPM+l7WjSNfGz1BryB1ZlpK9p/7qxj3ccC2HTHsOyDry+K4 -9a6SsvfhhEvyovKTmiKe0xRvNlS9H15ZFblzqMF8b3ti6RZsR1pl8w4Rm0bZ/W3c1pzAtH2lsN0/ -Vm+h+fbkEkj9Bn8SV7apI09bA8PgcSojt/ewsTu8mL3WmKgMa/aOEmem8rJY5AIJEzypuxC00jBF -8ez3ABHfZfjcK0NVvxaXxA/VLGGEqnKG/uY6fsI/fe78LxQ+5oXdUG+3Se0CAwEAAaNCMEAwDwYD -VR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU8ncX+l6o/vY9cdVouslGDDjYr7AwDgYDVR0PAQH/BAQD -AgGGMA0GCSqGSIb3DQEBCwUAA4ICAQBQUfB13HAE4/+qddRxosuej6ip0691x1TPOhwEmSKsxBHi -7zNKpiMdDg1H2DfHb680f0+BazVP6XKlMeJ45/dOlBhbQH3PayFUhuaVevvGyuqcSE5XCV0vrPSl -tJczWNWseanMX/mF+lLFjfiRFOs6DRfQUsJ748JzjkZ4Bjgs6FzaZsT0pPBWGTMpWmWSBUdGSquE -wx4noR8RkpkndZMPvDY7l1ePJlsMu5wP1G4wB9TcXzZoZjmDlicmisjEOf6aIW/Vcobpf2Lll07Q -JNBAsNB1CI69aO4I1258EHBGG3zgiLKecoaZAeO/n0kZtCW+VmWuF2PlHt/o/0elv+EmBYTksMCv -5wiZqAxeJoBF1PhoL5aPruJKHJwWDBNvOIf2u8g0X5IDUXlwpt/L9ZlNec1OvFefQ05rLisY+Gpz -jLrFNe85akEez3GoorKGB1s6yeHvP2UEgEcyRHCVTjFnanRbEEV16rCf0OY1/k6fi8wrkkVbbiVg -hUbN0aqwdmaTd5a+g744tiROJgvM7XpWGuDpWsZkrUx6AEhEL7lAuxM+vhV4nYWBSipX3tUZQ9rb -yltHhoMLP7YNdnhzeSJesYAfz77RP1YQmCuVh6EfnWQUYDksswBVLuT1sw5XxJFBAJw/6KXf6vb/ -yPCtbVKoF6ubYfwSUTXkJf2vqmqGOQ== ------END CERTIFICATE----- - -GlobalSign ECC Root CA - R4 -=========================== ------BEGIN CERTIFICATE----- -MIIB3DCCAYOgAwIBAgINAgPlfvU/k/2lCSGypjAKBggqhkjOPQQDAjBQMSQwIgYDVQQLExtHbG9i -YWxTaWduIEVDQyBSb290IENBIC0gUjQxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds -b2JhbFNpZ24wHhcNMTIxMTEzMDAwMDAwWhcNMzgwMTE5MDMxNDA3WjBQMSQwIgYDVQQLExtHbG9i -YWxTaWduIEVDQyBSb290IENBIC0gUjQxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds -b2JhbFNpZ24wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAS4xnnTj2wlDp8uORkcA6SumuU5BwkW -ymOxuYb4ilfBV85C+nOh92VC/x7BALJucw7/xyHlGKSq2XE/qNS5zowdo0IwQDAOBgNVHQ8BAf8E -BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUVLB7rUW44kB/+wpu+74zyTyjhNUwCgYI -KoZIzj0EAwIDRwAwRAIgIk90crlgr/HmnKAWBVBfw147bmF0774BxL4YSFlhgjICICadVGNA3jdg -UM/I2O2dgq43mLyjj0xMqTQrbO/7lZsm ------END CERTIFICATE----- - -GTS Root R1 -=========== ------BEGIN CERTIFICATE----- -MIIFVzCCAz+gAwIBAgINAgPlk28xsBNJiGuiFzANBgkqhkiG9w0BAQwFADBHMQswCQYDVQQGEwJV -UzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3Qg -UjEwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UE -ChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjEwggIiMA0G -CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2EQKLHuOhd5s73L+UPreVp0A8of2C+X0yBoJx9vaM -f/vo27xqLpeXo4xL+Sv2sfnOhB2x+cWX3u+58qPpvBKJXqeqUqv4IyfLpLGcY9vXmX7wCl7raKb0 -xlpHDU0QM+NOsROjyBhsS+z8CZDfnWQpJSMHobTSPS5g4M/SCYe7zUjwTcLCeoiKu7rPWRnWr4+w -B7CeMfGCwcDfLqZtbBkOtdh+JhpFAz2weaSUKK0PfyblqAj+lug8aJRT7oM6iCsVlgmy4HqMLnXW -nOunVmSPlk9orj2XwoSPwLxAwAtcvfaHszVsrBhQf4TgTM2S0yDpM7xSma8ytSmzJSq0SPly4cpk -9+aCEI3oncKKiPo4Zor8Y/kB+Xj9e1x3+naH+uzfsQ55lVe0vSbv1gHR6xYKu44LtcXFilWr06zq -kUspzBmkMiVOKvFlRNACzqrOSbTqn3yDsEB750Orp2yjj32JgfpMpf/VjsPOS+C12LOORc92wO1A -K/1TD7Cn1TsNsYqiA94xrcx36m97PtbfkSIS5r762DL8EGMUUXLeXdYWk70paDPvOmbsB4om3xPX -V2V4J95eSRQAogB/mqghtqmxlbCluQ0WEdrHbEg8QOB+DVrNVjzRlwW5y0vtOUucxD/SVRNuJLDW -cfr0wbrM7Rv1/oFB2ACYPTrIrnqYNxgFlQIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0T -AQH/BAUwAwEB/zAdBgNVHQ4EFgQU5K8rJnEaK0gnhS9SZizv8IkTcT4wDQYJKoZIhvcNAQEMBQAD -ggIBAJ+qQibbC5u+/x6Wki4+omVKapi6Ist9wTrYggoGxval3sBOh2Z5ofmmWJyq+bXmYOfg6LEe -QkEzCzc9zolwFcq1JKjPa7XSQCGYzyI0zzvFIoTgxQ6KfF2I5DUkzps+GlQebtuyh6f88/qBVRRi -ClmpIgUxPoLW7ttXNLwzldMXG+gnoot7TiYaelpkttGsN/H9oPM47HLwEXWdyzRSjeZ2axfG34ar -J45JK3VmgRAhpuo+9K4l/3wV3s6MJT/KYnAK9y8JZgfIPxz88NtFMN9iiMG1D53Dn0reWVlHxYci -NuaCp+0KueIHoI17eko8cdLiA6EfMgfdG+RCzgwARWGAtQsgWSl4vflVy2PFPEz0tv/bal8xa5me -LMFrUKTX5hgUvYU/Z6tGn6D/Qqc6f1zLXbBwHSs09dR2CQzreExZBfMzQsNhFRAbd03OIozUhfJF -fbdT6u9AWpQKXCBfTkBdYiJ23//OYb2MI3jSNwLgjt7RETeJ9r/tSQdirpLsQBqvFAnZ0E6yove+ -7u7Y/9waLd64NnHi/Hm3lCXRSHNboTXns5lndcEZOitHTtNCjv0xyBZm2tIMPNuzjsmhDYAPexZ3 -FL//2wmUspO8IFgV6dtxQ/PeEMMA3KgqlbbC1j+Qa3bbbP6MvPJwNQzcmRk13NfIRmPVNnGuV/u3 -gm3c ------END CERTIFICATE----- - -GTS Root R2 -=========== ------BEGIN CERTIFICATE----- -MIIFVzCCAz+gAwIBAgINAgPlrsWNBCUaqxElqjANBgkqhkiG9w0BAQwFADBHMQswCQYDVQQGEwJV -UzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3Qg -UjIwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UE -ChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjIwggIiMA0G -CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDO3v2m++zsFDQ8BwZabFn3GTXd98GdVarTzTukk3Lv -CvptnfbwhYBboUhSnznFt+4orO/LdmgUud+tAWyZH8QiHZ/+cnfgLFuv5AS/T3KgGjSY6Dlo7JUl -e3ah5mm5hRm9iYz+re026nO8/4Piy33B0s5Ks40FnotJk9/BW9BuXvAuMC6C/Pq8tBcKSOWIm8Wb -a96wyrQD8Nr0kLhlZPdcTK3ofmZemde4wj7I0BOdre7kRXuJVfeKH2JShBKzwkCX44ofR5GmdFrS -+LFjKBC4swm4VndAoiaYecb+3yXuPuWgf9RhD1FLPD+M2uFwdNjCaKH5wQzpoeJ/u1U8dgbuak7M -kogwTZq9TwtImoS1mKPV+3PBV2HdKFZ1E66HjucMUQkQdYhMvI35ezzUIkgfKtzra7tEscszcTJG -r61K8YzodDqs5xoic4DSMPclQsciOzsSrZYuxsN2B6ogtzVJV+mSSeh2FnIxZyuWfoqjx5RWIr9q -S34BIbIjMt/kmkRtWVtd9QCgHJvGeJeNkP+byKq0rxFROV7Z+2et1VsRnTKaG73VululycslaVNV -J1zgyjbLiGH7HrfQy+4W+9OmTN6SpdTi3/UGVN4unUu0kzCqgc7dGtxRcw1PcOnlthYhGXmy5okL -dWTK1au8CcEYof/UVKGFPP0UJAOyh9OktwIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0T -AQH/BAUwAwEB/zAdBgNVHQ4EFgQUu//KjiOfT5nK2+JopqUVJxce2Q4wDQYJKoZIhvcNAQEMBQAD -ggIBAB/Kzt3HvqGf2SdMC9wXmBFqiN495nFWcrKeGk6c1SuYJF2ba3uwM4IJvd8lRuqYnrYb/oM8 -0mJhwQTtzuDFycgTE1XnqGOtjHsB/ncw4c5omwX4Eu55MaBBRTUoCnGkJE+M3DyCB19m3H0Q/gxh -swWV7uGugQ+o+MePTagjAiZrHYNSVc61LwDKgEDg4XSsYPWHgJ2uNmSRXbBoGOqKYcl3qJfEycel -/FVL8/B/uWU9J2jQzGv6U53hkRrJXRqWbTKH7QMgyALOWr7Z6v2yTcQvG99fevX4i8buMTolUVVn -jWQye+mew4K6Ki3pHrTgSAai/GevHyICc/sgCq+dVEuhzf9gR7A/Xe8bVr2XIZYtCtFenTgCR2y5 -9PYjJbigapordwj6xLEokCZYCDzifqrXPW+6MYgKBesntaFJ7qBFVHvmJ2WZICGoo7z7GJa7Um8M -7YNRTOlZ4iBgxcJlkoKM8xAfDoqXvneCbT+PHV28SSe9zE8P4c52hgQjxcCMElv924SgJPFI/2R8 -0L5cFtHvma3AH/vLrrw4IgYmZNralw4/KBVEqE8AyvCazM90arQ+POuV7LXTWtiBmelDGDfrs7vR -WGJB82bSj6p4lVQgw1oudCvV0b4YacCs1aTPObpRhANl6WLAYv7YTVWW4tAR+kg0Eeye7QUd5MjW -HYbL ------END CERTIFICATE----- - -GTS Root R3 -=========== ------BEGIN CERTIFICATE----- -MIICCTCCAY6gAwIBAgINAgPluILrIPglJ209ZjAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEi -MCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMw -HhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZ -R29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMwdjAQBgcqhkjO -PQIBBgUrgQQAIgNiAAQfTzOHMymKoYTey8chWEGJ6ladK0uFxh1MJ7x/JlFyb+Kf1qPKzEUURout -736GjOyxfi//qXGdGIRFBEFVbivqJn+7kAHjSxm65FSWRQmx1WyRRK2EE46ajA2ADDL24CejQjBA -MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTB8Sa6oC2uhYHP0/Eq -Er24Cmf9vDAKBggqhkjOPQQDAwNpADBmAjEA9uEglRR7VKOQFhG/hMjqb2sXnh5GmCCbn9MN2azT -L818+FsuVbu/3ZL3pAzcMeGiAjEA/JdmZuVDFhOD3cffL74UOO0BzrEXGhF16b0DjyZ+hOXJYKaV -11RZt+cRLInUue4X ------END CERTIFICATE----- - -GTS Root R4 -=========== ------BEGIN CERTIFICATE----- -MIICCTCCAY6gAwIBAgINAgPlwGjvYxqccpBQUjAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEi -MCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQw -HhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZ -R29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwdjAQBgcqhkjO -PQIBBgUrgQQAIgNiAATzdHOnaItgrkO4NcWBMHtLSZ37wWHO5t5GvWvVYRg1rkDdc/eJkTBa6zzu -hXyiQHY7qca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvRHYqjQjBA -MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSATNbrdP9JNqPV2Py1 -PsVq8JQdjDAKBggqhkjOPQQDAwNpADBmAjEA6ED/g94D9J+uHXqnLrmvT/aDHQ4thQEd0dlq7A/C -r8deVl5c1RxYIigL9zC2L7F8AjEA8GE8p/SgguMh1YQdc4acLa/KNJvxn7kjNuK8YAOdgLOaVsjh -4rsUecrNIdSUtUlD ------END CERTIFICATE----- - -Telia Root CA v2 -================ ------BEGIN CERTIFICATE----- -MIIFdDCCA1ygAwIBAgIPAWdfJ9b+euPkrL4JWwWeMA0GCSqGSIb3DQEBCwUAMEQxCzAJBgNVBAYT -AkZJMRowGAYDVQQKDBFUZWxpYSBGaW5sYW5kIE95ajEZMBcGA1UEAwwQVGVsaWEgUm9vdCBDQSB2 -MjAeFw0xODExMjkxMTU1NTRaFw00MzExMjkxMTU1NTRaMEQxCzAJBgNVBAYTAkZJMRowGAYDVQQK -DBFUZWxpYSBGaW5sYW5kIE95ajEZMBcGA1UEAwwQVGVsaWEgUm9vdCBDQSB2MjCCAiIwDQYJKoZI -hvcNAQEBBQADggIPADCCAgoCggIBALLQPwe84nvQa5n44ndp586dpAO8gm2h/oFlH0wnrI4AuhZ7 -6zBqAMCzdGh+sq/H1WKzej9Qyow2RCRj0jbpDIX2Q3bVTKFgcmfiKDOlyzG4OiIjNLh9vVYiQJ3q -9HsDrWj8soFPmNB06o3lfc1jw6P23pLCWBnglrvFxKk9pXSW/q/5iaq9lRdU2HhE8Qx3FZLgmEKn -pNaqIJLNwaCzlrI6hEKNfdWV5Nbb6WLEWLN5xYzTNTODn3WhUidhOPFZPY5Q4L15POdslv5e2QJl -tI5c0BE0312/UqeBAMN/mUWZFdUXyApT7GPzmX3MaRKGwhfwAZ6/hLzRUssbkmbOpFPlob/E2wnW -5olWK8jjfN7j/4nlNW4o6GwLI1GpJQXrSPjdscr6bAhR77cYbETKJuFzxokGgeWKrLDiKca5JLNr -RBH0pUPCTEPlcDaMtjNXepUugqD0XBCzYYP2AgWGLnwtbNwDRm41k9V6lS/eINhbfpSQBGq6WT0E -BXWdN6IOLj3rwaRSg/7Qa9RmjtzG6RJOHSpXqhC8fF6CfaamyfItufUXJ63RDolUK5X6wK0dmBR4 -M0KGCqlztft0DbcbMBnEWg4cJ7faGND/isgFuvGqHKI3t+ZIpEYslOqodmJHixBTB0hXbOKSTbau -BcvcwUpej6w9GU7C7WB1K9vBykLVAgMBAAGjYzBhMB8GA1UdIwQYMBaAFHKs5DN5qkWH9v2sHZ7W -xy+G2CQ5MB0GA1UdDgQWBBRyrOQzeapFh/b9rB2e1scvhtgkOTAOBgNVHQ8BAf8EBAMCAQYwDwYD -VR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEAoDtZpwmUPjaE0n4vOaWWl/oRrfxn83EJ -8rKJhGdEr7nv7ZbsnGTbMjBvZ5qsfl+yqwE2foH65IRe0qw24GtixX1LDoJt0nZi0f6X+J8wfBj5 -tFJ3gh1229MdqfDBmgC9bXXYfef6xzijnHDoRnkDry5023X4blMMA8iZGok1GTzTyVR8qPAs5m4H -eW9q4ebqkYJpCh3DflminmtGFZhb069GHWLIzoBSSRE/yQQSwxN8PzuKlts8oB4KtItUsiRnDe+C -y748fdHif64W1lZYudogsYMVoe+KTTJvQS8TUoKU1xrBeKJR3Stwbbca+few4GeXVtt8YVMJAygC -QMez2P2ccGrGKMOF6eLtGpOg3kuYooQ+BXcBlj37tCAPnHICehIv1aO6UXivKitEZU61/Qrowc15 -h2Er3oBXRb9n8ZuRXqWk7FlIEA04x7D6w0RtBPV4UBySllva9bguulvP5fBqnUsvWHMtTy3EHD70 -sz+rFQ47GUGKpMFXEmZxTPpT41frYpUJnlTd0cI8Vzy9OK2YZLe4A5pTVmBds9hCG1xLEooc6+t9 -xnppxyd/pPiL8uSUZodL6ZQHCRJ5irLrdATczvREWeAWysUsWNc8e89ihmpQfTU2Zqf7N+cox9jQ -raVplI/owd8k+BsHMYeB2F326CjYSlKArBPuUBQemMc= ------END CERTIFICATE----- - -D-TRUST BR Root CA 1 2020 -========================= ------BEGIN CERTIFICATE----- -MIIC2zCCAmCgAwIBAgIQfMmPK4TX3+oPyWWa00tNljAKBggqhkjOPQQDAzBIMQswCQYDVQQGEwJE -RTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEJSIFJvb3QgQ0EgMSAy -MDIwMB4XDTIwMDIxMTA5NDUwMFoXDTM1MDIxMTA5NDQ1OVowSDELMAkGA1UEBhMCREUxFTATBgNV -BAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBCUiBSb290IENBIDEgMjAyMDB2MBAG -ByqGSM49AgEGBSuBBAAiA2IABMbLxyjR+4T1mu9CFCDhQ2tuda38KwOE1HaTJddZO0Flax7mNCq7 -dPYSzuht56vkPE4/RAiLzRZxy7+SmfSk1zxQVFKQhYN4lGdnoxwJGT11NIXe7WB9xwy0QVK5buXu -QqOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFHOREKv/VbNafAkl1bK6CKBrqx9t -MA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6gPKA6hjhodHRwOi8vY3JsLmQtdHJ1c3Qu -bmV0L2NybC9kLXRydXN0X2JyX3Jvb3RfY2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVj -dG9yeS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwQlIlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxP -PUQtVHJ1c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjOPQQD -AwNpADBmAjEAlJAtE/rhY/hhY+ithXhUkZy4kzg+GkHaQBZTQgjKL47xPoFWwKrY7RjEsK70Pvom -AjEA8yjixtsrmfu3Ubgko6SUeho/5jbiA1czijDLgsfWFBHVdWNbFJWcHwHP2NVypw87 ------END CERTIFICATE----- - -D-TRUST EV Root CA 1 2020 -========================= ------BEGIN CERTIFICATE----- -MIIC2zCCAmCgAwIBAgIQXwJB13qHfEwDo6yWjfv/0DAKBggqhkjOPQQDAzBIMQswCQYDVQQGEwJE -RTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEVWIFJvb3QgQ0EgMSAy -MDIwMB4XDTIwMDIxMTEwMDAwMFoXDTM1MDIxMTA5NTk1OVowSDELMAkGA1UEBhMCREUxFTATBgNV -BAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBFViBSb290IENBIDEgMjAyMDB2MBAG -ByqGSM49AgEGBSuBBAAiA2IABPEL3YZDIBnfl4XoIkqbz52Yv7QFJsnL46bSj8WeeHsxiamJrSc8 -ZRCC/N/DnU7wMyPE0jL1HLDfMxddxfCxivnvubcUyilKwg+pf3VlSSowZ/Rk99Yad9rDwpdhQntJ -raOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFH8QARY3OqQo5FD4pPfsazK2/umL -MA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6gPKA6hjhodHRwOi8vY3JsLmQtdHJ1c3Qu -bmV0L2NybC9kLXRydXN0X2V2X3Jvb3RfY2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVj -dG9yeS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwRVYlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxP -PUQtVHJ1c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjOPQQD -AwNpADBmAjEAyjzGKnXCXnViOTYAYFqLwZOZzNnbQTs7h5kXO9XMT8oi96CAy/m0sRtW9XLS/BnR -AjEAkfcwkz8QRitxpNA7RJvAKQIFskF3UfN5Wp6OFKBOQtJbgfM0agPnIjhQW+0ZT0MW ------END CERTIFICATE----- - -DigiCert TLS ECC P384 Root G5 -============================= ------BEGIN CERTIFICATE----- -MIICGTCCAZ+gAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJjAkBgNVBAMTHURpZ2lDZXJ0IFRMUyBFQ0MgUDM4 -NCBSb290IEc1MB4XDTIxMDExNTAwMDAwMFoXDTQ2MDExNDIzNTk1OVowTjELMAkGA1UEBhMCVVMx -FzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMuMSYwJAYDVQQDEx1EaWdpQ2VydCBUTFMgRUNDIFAzODQg -Um9vdCBHNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABMFEoc8Rl1Ca3iOCNQfN0MsYndLxf3c1Tzvd -lHJS7cI7+Oz6e2tYIOyZrsn8aLN1udsJ7MgT9U7GCh1mMEy7H0cKPGEQQil8pQgO4CLp0zVozptj -n4S1mU1YoI71VOeVyaNCMEAwHQYDVR0OBBYEFMFRRVBZqz7nLFr6ICISB4CIfBFqMA4GA1UdDwEB -/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMDA2gAMGUCMQCJao1H5+z8blUD2Wds -Jk6Dxv3J+ysTvLd6jLRl0mlpYxNjOyZQLgGheQaRnUi/wr4CMEfDFXuxoJGZSZOoPHzoRgaLLPIx -AJSdYsiJvRmEFOml+wG4DXZDjC5Ty3zfDBeWUA== ------END CERTIFICATE----- - -DigiCert TLS RSA4096 Root G5 -============================ ------BEGIN CERTIFICATE----- -MIIFZjCCA06gAwIBAgIQCPm0eKj6ftpqMzeJ3nzPijANBgkqhkiG9w0BAQwFADBNMQswCQYDVQQG -EwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJTAjBgNVBAMTHERpZ2lDZXJ0IFRMUyBSU0E0 -MDk2IFJvb3QgRzUwHhcNMjEwMTE1MDAwMDAwWhcNNDYwMTE0MjM1OTU5WjBNMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJTAjBgNVBAMTHERpZ2lDZXJ0IFRMUyBSU0E0MDk2 -IFJvb3QgRzUwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCz0PTJeRGd/fxmgefM1eS8 -7IE+ajWOLrfn3q/5B03PMJ3qCQuZvWxX2hhKuHisOjmopkisLnLlvevxGs3npAOpPxG02C+JFvuU -AT27L/gTBaF4HI4o4EXgg/RZG5Wzrn4DReW+wkL+7vI8toUTmDKdFqgpwgscONyfMXdcvyej/Ces -tyu9dJsXLfKB2l2w4SMXPohKEiPQ6s+d3gMXsUJKoBZMpG2T6T867jp8nVid9E6P/DsjyG244gXa -zOvswzH016cpVIDPRFtMbzCe88zdH5RDnU1/cHAN1DrRN/BsnZvAFJNY781BOHW8EwOVfH/jXOnV -DdXifBBiqmvwPXbzP6PosMH976pXTayGpxi0KcEsDr9kvimM2AItzVwv8n/vFfQMFawKsPHTDU9q -TXeXAaDxZre3zu/O7Oyldcqs4+Fj97ihBMi8ez9dLRYiVu1ISf6nL3kwJZu6ay0/nTvEF+cdLvvy -z6b84xQslpghjLSR6Rlgg/IwKwZzUNWYOwbpx4oMYIwo+FKbbuH2TbsGJJvXKyY//SovcfXWJL5/ -MZ4PbeiPT02jP/816t9JXkGPhvnxd3lLG7SjXi/7RgLQZhNeXoVPzthwiHvOAbWWl9fNff2C+MIk -wcoBOU+NosEUQB+cZtUMCUbW8tDRSHZWOkPLtgoRObqME2wGtZ7P6wIDAQABo0IwQDAdBgNVHQ4E -FgQUUTMc7TZArxfTJc1paPKvTiM+s0EwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8w -DQYJKoZIhvcNAQEMBQADggIBAGCmr1tfV9qJ20tQqcQjNSH/0GEwhJG3PxDPJY7Jv0Y02cEhJhxw -GXIeo8mH/qlDZJY6yFMECrZBu8RHANmfGBg7sg7zNOok992vIGCukihfNudd5N7HPNtQOa27PShN -lnx2xlv0wdsUpasZYgcYQF+Xkdycx6u1UQ3maVNVzDl92sURVXLFO4uJ+DQtpBflF+aZfTCIITfN -MBc9uPK8qHWgQ9w+iUuQrm0D4ByjoJYJu32jtyoQREtGBzRj7TG5BO6jm5qu5jF49OokYTurWGT/ -u4cnYiWB39yhL/btp/96j1EuMPikAdKFOV8BmZZvWltwGUb+hmA+rYAQCd05JS9Yf7vSdPD3Rh9G -OUrYU9DzLjtxpdRv/PNn5AeP3SYZ4Y1b+qOTEZvpyDrDVWiakuFSdjjo4bq9+0/V77PnSIMx8IIh -47a+p6tv75/fTM8BuGJqIz3nCU2AG3swpMPdB380vqQmsvZB6Akd4yCYqjdP//fx4ilwMUc/dNAU -FvohigLVigmUdy7yWSiLfFCSCmZ4OIN1xLVaqBHG5cGdZlXPU8Sv13WFqUITVuwhd4GTWgzqltlJ -yqEI8pc7bZsEGCREjnwB8twl2F6GmrE52/WRMmrRpnCKovfepEWFJqgejF0pW8hL2JpqA15w8oVP -bEtoL8pU9ozaMv7Da4M/OMZ+ ------END CERTIFICATE----- - -Certainly Root R1 -================= ------BEGIN CERTIFICATE----- -MIIFRzCCAy+gAwIBAgIRAI4P+UuQcWhlM1T01EQ5t+AwDQYJKoZIhvcNAQELBQAwPTELMAkGA1UE -BhMCVVMxEjAQBgNVBAoTCUNlcnRhaW5seTEaMBgGA1UEAxMRQ2VydGFpbmx5IFJvb3QgUjEwHhcN -MjEwNDAxMDAwMDAwWhcNNDYwNDAxMDAwMDAwWjA9MQswCQYDVQQGEwJVUzESMBAGA1UEChMJQ2Vy -dGFpbmx5MRowGAYDVQQDExFDZXJ0YWlubHkgUm9vdCBSMTCCAiIwDQYJKoZIhvcNAQEBBQADggIP -ADCCAgoCggIBANA21B/q3avk0bbm+yLA3RMNansiExyXPGhjZjKcA7WNpIGD2ngwEc/csiu+kr+O -5MQTvqRoTNoCaBZ0vrLdBORrKt03H2As2/X3oXyVtwxwhi7xOu9S98zTm/mLvg7fMbedaFySpvXl -8wo0tf97ouSHocavFwDvA5HtqRxOcT3Si2yJ9HiG5mpJoM610rCrm/b01C7jcvk2xusVtyWMOvwl -DbMicyF0yEqWYZL1LwsYpfSt4u5BvQF5+paMjRcCMLT5r3gajLQ2EBAHBXDQ9DGQilHFhiZ5shGI -XsXwClTNSaa/ApzSRKft43jvRl5tcdF5cBxGX1HpyTfcX35pe0HfNEXgO4T0oYoKNp43zGJS4YkN -KPl6I7ENPT2a/Z2B7yyQwHtETrtJ4A5KVpK8y7XdeReJkd5hiXSSqOMyhb5OhaRLWcsrxXiOcVTQ -AjeZjOVJ6uBUcqQRBi8LjMFbvrWhsFNunLhgkR9Za/kt9JQKl7XsxXYDVBtlUrpMklZRNaBA2Cnb -rlJ2Oy0wQJuK0EJWtLeIAaSHO1OWzaMWj/Nmqhexx2DgwUMFDO6bW2BvBlyHWyf5QBGenDPBt+U1 -VwV/J84XIIwc/PH72jEpSe31C4SnT8H2TsIonPru4K8H+zMReiFPCyEQtkA6qyI6BJyLm4SGcprS -p6XEtHWRqSsjAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1Ud -DgQWBBTgqj8ljZ9EXME66C6ud0yEPmcM9DANBgkqhkiG9w0BAQsFAAOCAgEAuVevuBLaV4OPaAsz -HQNTVfSVcOQrPbA56/qJYv331hgELyE03fFo8NWWWt7CgKPBjcZq91l3rhVkz1t5BXdm6ozTaw3d -8VkswTOlMIAVRQdFGjEitpIAq5lNOo93r6kiyi9jyhXWx8bwPWz8HA2YEGGeEaIi1wrykXprOQ4v -MMM2SZ/g6Q8CRFA3lFV96p/2O7qUpUzpvD5RtOjKkjZUbVwlKNrdrRT90+7iIgXr0PK3aBLXWopB -GsaSpVo7Y0VPv+E6dyIvXL9G+VoDhRNCX8reU9ditaY1BMJH/5n9hN9czulegChB8n3nHpDYT3Y+ -gjwN/KUD+nsa2UUeYNrEjvn8K8l7lcUq/6qJ34IxD3L/DCfXCh5WAFAeDJDBlrXYFIW7pw0WwfgH -JBu6haEaBQmAupVjyTrsJZ9/nbqkRxWbRHDxakvWOF5D8xh+UG7pWijmZeZ3Gzr9Hb4DJqPb1OG7 -fpYnKx3upPvaJVQTA945xsMfTZDsjxtK0hzthZU4UHlG1sGQUDGpXJpuHfUzVounmdLyyCwzk5Iw -x06MZTMQZBf9JBeW0Y3COmor6xOLRPIh80oat3df1+2IpHLlOR+Vnb5nwXARPbv0+Em34yaXOp/S -X3z7wJl8OSngex2/DaeP0ik0biQVy96QXr8axGbqwua6OV+KmalBWQewLK8= ------END CERTIFICATE----- - -Certainly Root E1 -================= ------BEGIN CERTIFICATE----- -MIIB9zCCAX2gAwIBAgIQBiUzsUcDMydc+Y2aub/M+DAKBggqhkjOPQQDAzA9MQswCQYDVQQGEwJV -UzESMBAGA1UEChMJQ2VydGFpbmx5MRowGAYDVQQDExFDZXJ0YWlubHkgUm9vdCBFMTAeFw0yMTA0 -MDEwMDAwMDBaFw00NjA0MDEwMDAwMDBaMD0xCzAJBgNVBAYTAlVTMRIwEAYDVQQKEwlDZXJ0YWlu -bHkxGjAYBgNVBAMTEUNlcnRhaW5seSBSb290IEUxMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3m/4 -fxzf7flHh4axpMCK+IKXgOqPyEpeKn2IaKcBYhSRJHpcnqMXfYqGITQYUBsQ3tA3SybHGWCA6TS9 -YBk2QNYphwk8kXr2vBMj3VlOBF7PyAIcGFPBMdjaIOlEjeR2o0IwQDAOBgNVHQ8BAf8EBAMCAQYw -DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU8ygYy2R17ikq6+2uI1g4hevIIgcwCgYIKoZIzj0E -AwMDaAAwZQIxALGOWiDDshliTd6wT99u0nCK8Z9+aozmut6Dacpps6kFtZaSF4fC0urQe87YQVt8 -rgIwRt7qy12a7DLCZRawTDBcMPPaTnOGBtjOiQRINzf43TNRnXCve1XYAS59BWQOhriR ------END CERTIFICATE----- - -E-Tugra Global Root CA RSA v3 -============================= ------BEGIN CERTIFICATE----- -MIIF8zCCA9ugAwIBAgIUDU3FzRYilZYIfrgLfxUGNPt5EDQwDQYJKoZIhvcNAQELBQAwgYAxCzAJ -BgNVBAYTAlRSMQ8wDQYDVQQHEwZBbmthcmExGTAXBgNVBAoTEEUtVHVncmEgRUJHIEEuUy4xHTAb -BgNVBAsTFEUtVHVncmEgVHJ1c3QgQ2VudGVyMSYwJAYDVQQDEx1FLVR1Z3JhIEdsb2JhbCBSb290 -IENBIFJTQSB2MzAeFw0yMDAzMTgwOTA3MTdaFw00NTAzMTIwOTA3MTdaMIGAMQswCQYDVQQGEwJU -UjEPMA0GA1UEBxMGQW5rYXJhMRkwFwYDVQQKExBFLVR1Z3JhIEVCRyBBLlMuMR0wGwYDVQQLExRF -LVR1Z3JhIFRydXN0IENlbnRlcjEmMCQGA1UEAxMdRS1UdWdyYSBHbG9iYWwgUm9vdCBDQSBSU0Eg -djMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCiZvCJt3J77gnJY9LTQ91ew6aEOErx -jYG7FL1H6EAX8z3DeEVypi6Q3po61CBxyryfHUuXCscxuj7X/iWpKo429NEvx7epXTPcMHD4QGxL -sqYxYdE0PD0xesevxKenhOGXpOhL9hd87jwH7eKKV9y2+/hDJVDqJ4GohryPUkqWOmAalrv9c/SF -/YP9f4RtNGx/ardLAQO/rWm31zLZ9Vdq6YaCPqVmMbMWPcLzJmAy01IesGykNz709a/r4d+ABs8q -QedmCeFLl+d3vSFtKbZnwy1+7dZ5ZdHPOrbRsV5WYVB6Ws5OUDGAA5hH5+QYfERaxqSzO8bGwzrw -bMOLyKSRBfP12baqBqG3q+Sx6iEUXIOk/P+2UNOMEiaZdnDpwA+mdPy70Bt4znKS4iicvObpCdg6 -04nmvi533wEKb5b25Y08TVJ2Glbhc34XrD2tbKNSEhhw5oBOM/J+JjKsBY04pOZ2PJ8QaQ5tndLB -eSBrW88zjdGUdjXnXVXHt6woq0bM5zshtQoK5EpZ3IE1S0SVEgpnpaH/WwAH0sDM+T/8nzPyAPiM -bIedBi3x7+PmBvrFZhNb/FAHnnGGstpvdDDPk1Po3CLW3iAfYY2jLqN4MpBs3KwytQXk9TwzDdbg -h3cXTJ2w2AmoDVf3RIXwyAS+XF1a4xeOVGNpf0l0ZAWMowIDAQABo2MwYTAPBgNVHRMBAf8EBTAD -AQH/MB8GA1UdIwQYMBaAFLK0ruYt9ybVqnUtdkvAG1Mh0EjvMB0GA1UdDgQWBBSytK7mLfcm1ap1 -LXZLwBtTIdBI7zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQELBQADggIBAImocn+M684uGMQQ -gC0QDP/7FM0E4BQ8Tpr7nym/Ip5XuYJzEmMmtcyQ6dIqKe6cLcwsmb5FJ+Sxce3kOJUxQfJ9emN4 -38o2Fi+CiJ+8EUdPdk3ILY7r3y18Tjvarvbj2l0Upq7ohUSdBm6O++96SmotKygY/r+QLHUWnw/q -ln0F7psTpURs+APQ3SPh/QMSEgj0GDSz4DcLdxEBSL9htLX4GdnLTeqjjO/98Aa1bZL0SmFQhO3s -SdPkvmjmLuMxC1QLGpLWgti2omU8ZgT5Vdps+9u1FGZNlIM7zR6mK7L+d0CGq+ffCsn99t2HVhjY -sCxVYJb6CH5SkPVLpi6HfMsg2wY+oF0Dd32iPBMbKaITVaA9FCKvb7jQmhty3QUBjYZgv6Rn7rWl -DdF/5horYmbDB7rnoEgcOMPpRfunf/ztAmgayncSd6YAVSgU7NbHEqIbZULpkejLPoeJVF3Zr52X -nGnnCv8PWniLYypMfUeUP95L6VPQMPHF9p5J3zugkaOj/s1YzOrfr28oO6Bpm4/srK4rVJ2bBLFH -IK+WEj5jlB0E5y67hscMmoi/dkfv97ALl2bSRM9gUgfh1SxKOidhd8rXj+eHDjD/DLsE4mHDosiX -YY60MGo8bcIHX0pzLz/5FooBZu+6kcpSV3uu1OYP3Qt6f4ueJiDPO++BcYNZ ------END CERTIFICATE----- - -E-Tugra Global Root CA ECC v3 -============================= ------BEGIN CERTIFICATE----- -MIICpTCCAiqgAwIBAgIUJkYZdzHhT28oNt45UYbm1JeIIsEwCgYIKoZIzj0EAwMwgYAxCzAJBgNV -BAYTAlRSMQ8wDQYDVQQHEwZBbmthcmExGTAXBgNVBAoTEEUtVHVncmEgRUJHIEEuUy4xHTAbBgNV -BAsTFEUtVHVncmEgVHJ1c3QgQ2VudGVyMSYwJAYDVQQDEx1FLVR1Z3JhIEdsb2JhbCBSb290IENB -IEVDQyB2MzAeFw0yMDAzMTgwOTQ2NThaFw00NTAzMTIwOTQ2NThaMIGAMQswCQYDVQQGEwJUUjEP -MA0GA1UEBxMGQW5rYXJhMRkwFwYDVQQKExBFLVR1Z3JhIEVCRyBBLlMuMR0wGwYDVQQLExRFLVR1 -Z3JhIFRydXN0IENlbnRlcjEmMCQGA1UEAxMdRS1UdWdyYSBHbG9iYWwgUm9vdCBDQSBFQ0MgdjMw -djAQBgcqhkjOPQIBBgUrgQQAIgNiAASOmCm/xxAeJ9urA8woLNheSBkQKczLWYHMjLiSF4mDKpL2 -w6QdTGLVn9agRtwcvHbB40fQWxPa56WzZkjnIZpKT4YKfWzqTTKACrJ6CZtpS5iB4i7sAnCWH/31 -Rs7K3IKjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU/4Ixcj75xGZsrTie0bBRiKWQ -zPUwHQYDVR0OBBYEFP+CMXI++cRmbK04ntGwUYilkMz1MA4GA1UdDwEB/wQEAwIBBjAKBggqhkjO -PQQDAwNpADBmAjEA5gVYaWHlLcoNy/EZCL3W/VGSGn5jVASQkZo1kTmZ+gepZpO6yGjUij/67W4W -Aie3AjEA3VoXK3YdZUKWpqxdinlW2Iob35reX8dQj7FbcQwm32pAAOwzkSFxvmjkI6TZraE3 ------END CERTIFICATE----- diff --git a/resources/certificados/client_secret_658610174073-2l3gapp369n09q7fabji01977hcpiipf.apps.googleusercontent.com.json b/resources/certificados/client_secret_658610174073-2l3gapp369n09q7fabji01977hcpiipf.apps.googleusercontent.com.json deleted file mode 100644 index 904d4e4bb..000000000 --- a/resources/certificados/client_secret_658610174073-2l3gapp369n09q7fabji01977hcpiipf.apps.googleusercontent.com.json +++ /dev/null @@ -1 +0,0 @@ -{"web":{"client_id":"658610174073-2l3gapp369n09q7fabji01977hcpiipf.apps.googleusercontent.com","project_id":"petrvs-login","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"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","javascript_origins":["https://sei.prf.gov.br","https://homologsei.prf.gov.br","http://localhost:4200","http://localhost"]}} \ No newline at end of file diff --git a/resources/certificados/server.crt b/resources/certificados/server.crt deleted file mode 100644 index 8e473e8a5..000000000 --- a/resources/certificados/server.crt +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIEKzCCAxOgAwIBAgIUK2YSn8OrSL8OOWgUmfa7DfHioyIwDQYJKoZIhvcNAQEL -BQAwgaQxCzAJBgNVBAYTAkJSMRMwEQYDVQQIDApQZXJuYW1idWNvMRIwEAYDVQQH -DAlQZXRyb2xpbmExEjAQBgNVBAoMCWxvY2FsaG9zdDEUMBIGA1UECwwLRGV2ZWxv -cG1lbnQxEjAQBgNVBAMMCWxvY2FsaG9zdDEuMCwGCSqGSIb3DQEJARYfZ2VuaXNz -b24uYWxidXF1ZXJxdWVAcHJmLmdvdi5icjAeFw0yMTExMTcyMzM3MzdaFw0yNDA4 -MTMyMzM3MzdaMIGkMQswCQYDVQQGEwJCUjETMBEGA1UECAwKUGVybmFtYnVjbzES -MBAGA1UEBwwJUGV0cm9saW5hMRIwEAYDVQQKDAlsb2NhbGhvc3QxFDASBgNVBAsM -C0RldmVsb3BtZW50MRIwEAYDVQQDDAlsb2NhbGhvc3QxLjAsBgkqhkiG9w0BCQEW -H2dlbmlzc29uLmFsYnVxdWVycXVlQHByZi5nb3YuYnIwggEiMA0GCSqGSIb3DQEB -AQUAA4IBDwAwggEKAoIBAQD9EaRrhAAaIyNyBfPqAP4lT4i3JE/5iYPMTM3ZFbNy -WV02wDLcflUTjI34tHY534gzPte+DNB2q8pR6gchdOqgtTvZocetgSQYKAl3zNaD -ymvVveqA0fYHWwcdMxgL7OFvpi6wWCxA+ec4pDfKQU48107ewLrsoAjMxVERaT37 -Ud8PyvdVlJhTXX08S7c0sivSuJL3Us9Ytd1QQdb5SeyMbZkBBu9pdKgAbHsTvqLM -WFBLRghVYB3lmdVR5KUYPt0ssS24kW5uKXzAEmROCXgNQsRAKobbLc0E2FHwVIuw -0ZWKttekICtEpE0idSVlZlyVyBD10//iVlTVKGXuuPh9AgMBAAGjUzBRMB0GA1Ud -DgQWBBQ0Hv8fkuUloG4WbWcAyUS193HkwTAfBgNVHSMEGDAWgBQ0Hv8fkuUloG4W -bWcAyUS193HkwTAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBf -7q1dfJg4SxL5/D37WmvCtV/erT4eoB9aeW+VdXjmR9I3TIip1GbEPVv32CxBYMWB -kguMD12UfQNbFOZDF4ikNL4mxUFFLjxytR3TfByJ6vh1V589kZZ4lRUObXVqN+8o -uBrv9+VfExMoAbbkfDalhFD9650l2HEaTvhD7reN6dBZ0muDYviHdaW5cLaV58h4 -npMYKvTVF5tqwZMsC+UDRMoYpocjScOZob38wzW7TTXxs5YJ1Y2lkyyghuwO/Nq4 -VIrWo4BTrdX29ThVrrHCY7AWt+GdaZGMclj6YePeWy9UYp9SnbSy/7enmrgOQsWM -FoEPEVH8/B2iKXLhoamE ------END CERTIFICATE----- diff --git a/resources/certificados/server.key b/resources/certificados/server.key deleted file mode 100644 index 1158a27aa..000000000 --- a/resources/certificados/server.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQD9EaRrhAAaIyNy -BfPqAP4lT4i3JE/5iYPMTM3ZFbNyWV02wDLcflUTjI34tHY534gzPte+DNB2q8pR -6gchdOqgtTvZocetgSQYKAl3zNaDymvVveqA0fYHWwcdMxgL7OFvpi6wWCxA+ec4 -pDfKQU48107ewLrsoAjMxVERaT37Ud8PyvdVlJhTXX08S7c0sivSuJL3Us9Ytd1Q -Qdb5SeyMbZkBBu9pdKgAbHsTvqLMWFBLRghVYB3lmdVR5KUYPt0ssS24kW5uKXzA -EmROCXgNQsRAKobbLc0E2FHwVIuw0ZWKttekICtEpE0idSVlZlyVyBD10//iVlTV -KGXuuPh9AgMBAAECggEBALx4byNDY3ATy0oX9NfJdX0EBqWefZEyQN3eNU//QW1f -8HPeIALmcyXj/7fBbmsbdqvzmWkI0hgPSNZInJbmI/ccAj7KpZMqIl97MdHu07PD -BRxiHEtkEv7XZCzy6G25NQuZkBv1DsA1XWZppsMSb9oP38U1dADWDreyG/YDkw2f -KIizKuTVKM4V+csLbURAIk/0ZYrrsyPA9tbyjX04RFTRP6zxLL8UFGY1DJmytcq+ -sm3cZ90DiQ4McK985shW0wcF9SGuOVVOGhtHCQmZ8h8WwGSpNMhBqc1li6I/LCvJ -4e6RyN97pjCHTGKA/OUEuN55yq7h9+t82WKdkRbnUmECgYEA/30kyQ1AhgIBIGdR -cwW1Qg/QqPG3Wnn5/mPacaPbtheZGoKdrDZ+mNM6HuAl+ZYlFBaH+FCCqwtUtM/H -DDCVfOAB4SI8YqvbXQgZkSPzRuoQqB5k5HwHCETBRfE5c8ReA7J0bdvnqRBBl2Lg -3spe4Gce3KqetgceFycaInbnxccCgYEA/ZNCVps94w2vZxtcEwH6Zy4pzhR0ZtDz -CPfaDNcvAyd3x7lcae1YOmz4BUQsnaTeMkeL+U+e2py6M/UOwJ0nElk5ydc6LO5d -0fV61lmcsn7qnLjyWz3CWL/XeLeBvJo4KnO+s+CeMNJWY8pVt1JNsiBhZ3CcxNr8 -INBigB6F/5sCgYEAgRFjh/4d3pUcpJYNW6JCk4ER1IdoLVj5pj4jmM1CrZb2TaI2 -rU1KX0I2Vmq+RHxJdwB66EMj/+zVehKNZ+cTXeZ8jJOTFfXj9/ejkuMqf2S3zXat -WZAerVqumProH0fQhuWcU/OH8Ky5thTJrUNm8s6llKzNSQAHf4LNfSO8qvkCgYEA -7zOAuq4K/Sqlsb/PZWbSTY7whKQrAepNuMIFgWNjx7fteAxVLt9kAQlWFbGv3K3v -pMJ1OiNvmI2L4QNkfTJB7z8YElzjVgstmafVzmoONRsgOeMFTCjAMnQV0Jxa2A0q -unEhDhHvZ+Ki99OgdCRBgqyk9az3VYO1n0a0BGPGx80CgYBpdW6OFcMQI7qZcTWf -8LSRUpnEVU8UDZ63+E+HUN9ZSaZ7c1o60HHO/dFquKyvKInyXPpW7vL05zdRMj3w -Ei8V1IQEdTKUEZ5pA+I7d9ppOBMQK0iT1YNPqa9qFIky8iG8Spc8NHTPZEDb8047 -BM3xVAIDdEXg2z02ZKQETcH1FA== ------END PRIVATE KEY----- diff --git a/resources/der/petrvs.mwb b/resources/der/petrvs.mwb deleted file mode 100644 index 015301fb4..000000000 Binary files a/resources/der/petrvs.mwb and /dev/null differ diff --git a/resources/diversos/laravel-a1-pdf-sign-2022-09-08.zip b/resources/diversos/laravel-a1-pdf-sign-2022-09-08.zip deleted file mode 100644 index 152feb54b..000000000 Binary files a/resources/diversos/laravel-a1-pdf-sign-2022-09-08.zip and /dev/null differ diff --git a/resources/docker/dev/docker-compose.yml b/resources/docker/dev/docker-compose.yml index b8b4ea073..fb081f3f0 100644 --- a/resources/docker/dev/docker-compose.yml +++ b/resources/docker/dev/docker-compose.yml @@ -75,6 +75,8 @@ services: context: . dockerfile: Dockerfile-php container_name: petrvs_queue + extra_hosts: + - "host.docker.internal:host-gateway" environment: - TZ=America/Bahia volumes: diff --git a/resources/documentacao/.vscode/settings.json b/resources/documentacao/.vscode/settings.json deleted file mode 100644 index 7a534ff9a..000000000 --- a/resources/documentacao/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "markdownlint.config": { - - } -} \ No newline at end of file diff --git a/resources/documentacao/configuracoes/entidade.md b/resources/documentacao/configuracoes/entidade.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/documentacao/configuracoes/integrante.md b/resources/documentacao/configuracoes/integrante.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/documentacao/configuracoes/perfil.md b/resources/documentacao/configuracoes/perfil.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/documentacao/configuracoes/preferencia.md b/resources/documentacao/configuracoes/preferencia.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/documentacao/configuracoes/unidade.md b/resources/documentacao/configuracoes/unidade.md deleted file mode 100644 index f25b03436..000000000 --- a/resources/documentacao/configuracoes/unidade.md +++ /dev/null @@ -1,44 +0,0 @@ -# Módulo: Unidades - -## Acessos - -~~~text - MOD_UND_CONS - Permite consultar Unidades - MOD_UND_EDT - Permite editar Unidade - MOD_UND_EDT_FRM - Permite editar unidades formais (SIAPE ou não) - MOD_UND_EXCL - Permite excluir Unidade - MOD_UND_INCL - Permite incluir Unidade - MOD_UND_INCL_FRM - Permite incluir unidades formais (SIAPE ou não) - MOD_UND_UNIR - Permite unificar Unidades - MOD_UND_TUDO - Permite consultar qualquer unidade independente de subordinação - MOD_UND_INATV - Permite inativar uma unidade - MOD_UND_INTG - Permite gerenciar integrantes da unidade - MOD_UND_INTG_INCL - Permite incluir integrantes da unidade - MOD_UND_INTG_EDT - Permite editar integrantes da unidade - MOD_UND_INTG_EXCL - Permite excluir integrantes da unidade -~~~ - -## REGRAS DE NEGÓCIO APLICADAS AS UNIDADES - -(RN_UND_A) Não poderá haver mais de uma unidade com a mesma sigla abaixo da mesma unidade-pai como ATIVA -(RN_UND_B) Não poderá haver mais de uma unidade com o mesmo código como ATIVA -(RN_UND_C) Permitir inserir unidades sem código, e na exportação para API considerar o mesmo código da primeira unidade superior com código -(RN_UND_D) Podem ser cadastradas e atualizadas automaticamente a partir da integração com o SIAPE, quando habilitado - -(RN_UND_E) Quando utilizando integração com o SIAPE, as unidades serão inativadas quando não constarem na lista de unidades vindas do SIAPE, exceto as que se enquadrarem na regra RN_UND_F -(RN_UND_F) Unidades cadastradas (com código vazio) devem permanecer ATIVO mesmo após a execução da rotina de integração com o SIAPE -(RN_UND_G) O gestor titular de uma unidade formal necessariamente precisa estar lotado nela -(RN_UND_H) Uma unidade informal não pode possuir vínculo de lotação com nenhum servidor -(RN_UND_I) Um mesmo usuário não pode ser gestor titular simultaneamente de mais de uma unidade formal -(RN_UND_J) Um mesmo usuário pode ser gestor titular simultaneamente de mais de uma unidade informal, inclusive se já for gestor titular de uma unidade formal -(RN_UND_K) Uma unidade, seja formal ou informal, só pode possuir, no máximo, um gestor titular, um gestor substituto, e um gestor delegado -(RN_UND_L) -(RN_UND_) -(RN_UND_) -(RN_UND_) -(RN_UND_) -(RN_UND_) -(RN_UND_) -(RN_UND_) - -## REGRAS DE INTERFACE diff --git a/resources/documentacao/configuracoes/usuario.md b/resources/documentacao/configuracoes/usuario.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/documentacao/geral/informacoes_complementares.md b/resources/documentacao/geral/informacoes_complementares.md deleted file mode 100644 index cf37cfbc5..000000000 --- a/resources/documentacao/geral/informacoes_complementares.md +++ /dev/null @@ -1,14 +0,0 @@ -# Informações Complementares - -## Lista de Atribuições - -~~~text - Avaliador de Planos de Entregas - Avaliador de Planos de Trabalho - Colaborador - Gestor - Gestor Delegado - Gestor Substituto - Homologador de Planos de Entregas - Lotado -~~~ diff --git a/resources/documentacao/gestao/atividade.md b/resources/documentacao/gestao/atividade.md deleted file mode 100644 index 94733ca08..000000000 --- a/resources/documentacao/gestao/atividade.md +++ /dev/null @@ -1,61 +0,0 @@ -# Módulo: Atividade - -## Acessos - -~~~text - MOD_ATV - Permite acessar item menu plano de trabalho - MOD_ATV_TIPO_ATV_VAZIO - Permite incluir atividade sem tipo de atividade - MOD_ATV_CONS - Permite consultar atividade - MOD_ATV_EDT - Permite editar atividade - MOD_ATV_EXCL - Permite excluir atividade - MOD_ATV_USU_EXT - Permite atribuir atividades a usuários de outra unidade - MOD_ATV_INCL - Permite incluir atividade - MOD_ATV_INICIO - Permite definir início atividade - MOD_ATV_RESP_INICIAR - Permite incluir responsável por atividade - MOD_ATV_TRF_INCL - Permite incluir tarefas dentro de atividades - MOD_ATV_TRF_EDT - Permite editar tarefas dentro de atividades - MOD_ATV_TRF_EXCL - Permite exluir tarefas dentro de atividades - MOD_ATV_TRF_CONS - Permite consultar tarefas dentro de atividades - MOD_ATV_CLONAR - Permite clonar atividades -~~~ - -## REGRAS DE NEGÓCIO APLICADAS AS ATIVIDADES - -1. (RN_ATV_1) Somente é permitido iniciar a atividade se o usuário responsável for o próprio usuário ou se tiver o MOD_ATV_USERS_INICIAR; -2. (RN_ATV_2) Para incluir/alterar atividades o usuário logado precisa ser lotado ou colaborar da unidade, ou a unidade ser subordinada hierarquicamente a dele; -3. (RN_ATV_3) O responsável pela atividade precisa ser lotado ou colaborar da unidade, ou o usuário logado possuir as capacidades MOD_ATV_EXT ou MOD_ATV_USERS_ATRIB; -4. (RN_ATV_4) Unidade da atividade deve obrigatoriamente ser a unidade do plano de trabalho (quando o plano for informado); -5. (RN_ATV_5) A atividade deverá ter perído compatível com o do plano de trabalho (Data de distribuição e Prazo de entrega devem estar dentro do período do plano de trabalho); -6. (RN_ATV_6) Somente será permitido iniciar a atividade dentro do período do plano de trabalho. - -## REGRAS CORRELACIONADAS - -1. (RN_CSLD_9) Se uma atividade for iniciada em uma outra consolidação anterior (CONCLUIDO ou AVALIADO), não poderá mais retroceder nem editar o inicio (Exemplo.: Retroceder de INICIADO para INCLUIDO, ou de CONCLUIDO para INICIADO); -2. (RN_CSLD_10) A atividade já iniciado so não pode pausar com data retroativa da última consolidação CONCLUIDO ou AVALIADO; -3. (RN_CSLD_12) Tarefas concluidas de atividades em consolidação CONCLUIDO ou AVALIADO não poderão mais ser alteradas/excluidas, nem Concluir ou Remover conclusão; -4. (RN_CSLD_13) Tarefas de atividades em consolidação CONCLUIDO ou AVALIADO não poderão mais ser alteradas/excluidas, somente a opção de Concluir ficará disponível; -5. (RN_CSLD_14) Não será possível lançar novas atividades em períodos já CONCLUIDO ou AVALIADO. - -## REGRAS DE INTERFACE - -2. (RI_ATV_1) Caso a entrega vinculada a atividade tenha período incompativel com a da atividade o usuário deverá ser alertado. - -## FLUXO DAS ATIVIDADE - -~~~text - -Inicia com INCLUIDO ao adicionar uma nota atividade diretamente pelo botão Incluir: - -* INCLUIDO, podendo ir para - - INICIADO: Ao clicar em iniciar a atividade -* INICIADO, podendo ir para: - - INCLUIDO: Caso cancele a inicialização - - PAUSADO: Caso adicione uma pausa - - CONCLUIDO: Caso conclua a atividade -* PAUSADO, podendo ir para: - - INCIADO: Caso reinicie a atividade -* CONCLUIDO, podendo ir para: - - INICIADO: Caso cancele a conclusão - - ARQUIVADO: Caso opte por arquivar - -~~~ \ No newline at end of file diff --git a/resources/documentacao/gestao/avaliacao.md b/resources/documentacao/gestao/avaliacao.md deleted file mode 100644 index 4cd2fc0e4..000000000 --- a/resources/documentacao/gestao/avaliacao.md +++ /dev/null @@ -1,34 +0,0 @@ -# Módulo: Avaliação (Consolidação do Plano de Trabalho e Plano de Entrega) - -## Acessos - -~~~text - MOD_PENT_AVAL - Permite avaliar planos de entregas das unidades imediatamente subordinadas - MOD_PENT_CANC_AVAL - Permite cancelar a avaliação dos planos de entregas das unidades imediatamente subordinadas - MOD_PENT_AVAL_SUBORD - Permite avaliar planos de entregas de todas as unidades subordinadas à sua unidade de lotação - MOD_PTR_CSLD_AVAL - Permite avaliar - MOD_PTR_CSLD_CANC_AVAL - Permite cancelar avaliação - MOD_PTR_CSLD_REC_AVAL - Permite recorrer da avaliação -~~~ - -## REGRAS DE NEGÓCIO APLICADAS AS AVALIAÇÕES DO PLANO DE TRABALHO E DO PLANO DE ENTREGA - -1. (RN_AVL_1) [PT;PE] A avaliação somente poderá ser realizada pelo superior imediatamente hierárquico ou por quem delegado através da atribuição de avaliador (no caso de consolidação o superior hierárquico é o gestor da unidade, substituto ou delegado, já para o plano de entrega o superior será o gestor, substituto ou delegado da unidade imediatamente superior). Deverá possuir tambem a capacidade MOD_PTR_CSLD_AVAL (consolidação do plano de trabalho), ou MOD_PENT_AVAL/MOD_PENT_AVAL_SUBORD (plano de entrega); -1. (RN_AVL_2) [PT] O usuário do plano de trabalho que possuir o acesso MOD_PTR_CSLD_REC_AVAL poderá recorrer da nota atribuida dentro do limites estabelecido pelo programa; -1. (RN_AVL_3) [PT] Após o recurso será realizado nova avaliação, podendo essa ser novamente recorrida dentro do mesmo prazo estabelecido no programa; -1. (RN_AVL_4) [PT] Somente será possível realizar avaliação de consolidação CONCLUIDO ou AVALIADO; -1. (RN_AVL_5) [PT] Ao realizar qualquer avaliação o status da consolidação deverá ir para AVALIADO; -1. (RN_AVL_6) [PT] Qualquer usuário capaz de avaliar tambem terá a capacidade de cancelar a avaliação; - -// Criar as regras de avaliação automática e colocar aqui - -## REGRAS DE INTERFACE - -1. (RI_AVL_1) [PT;PE] Caso a nota atribuida necessite de justificativa, será necessário selecionar ao menos uma justificativa no rol disponibilizado ou escrever no campo de justificativa -1. (RI_AVL_2) [PT;PE] O avaliador poderar optar por arquivar (as Atividades em caso de Plano de Trabalho, ou o próprio Plano de Entrega) após a avaliação - -## FLUXO DA AVALIAÇÃO - -~~~text - -~~~ diff --git a/resources/documentacao/gestao/cadeia_valor.md b/resources/documentacao/gestao/cadeia_valor.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/documentacao/gestao/ocorrencia.md b/resources/documentacao/gestao/ocorrencia.md deleted file mode 100644 index f60e6b884..000000000 --- a/resources/documentacao/gestao/ocorrencia.md +++ /dev/null @@ -1,21 +0,0 @@ -# Módulo: Atividade - -## Acessos - -~~~text - MOD_OCOR - Permite consultar ocorrência - MOD_OCOR_EDT - Permite editar ocorrência - MOD_OCOR_EXCL - Permite excluir ocorrência - MOD_OCOR_INCL - Permite incluir ocorrência -~~~ - -## REGRAS DE NEGÓCIO APLICADAS AS ATIVIDADES - -1. (RN_OCOR_1) Usuário do Plano de Trabalho deve obrigatoriamente ser o mesmo da ocorrência -2. (RN_OCOR_2) Ocorrência vinculada a plano de trabalho deverá ter algum perído coincidente com o do plano - -## REGRAS CORRELACIONADAS - -## REGRAS DE INTERFACE - -1. (RI_OCOR_1) A seleção de um plano de trabalho não é obrigatória, mas caso selecionado, o usuário do plano deverá ser o mesmo \ No newline at end of file diff --git a/resources/documentacao/gestao/planejamento_institucional.md b/resources/documentacao/gestao/planejamento_institucional.md deleted file mode 100644 index a7c890472..000000000 --- a/resources/documentacao/gestao/planejamento_institucional.md +++ /dev/null @@ -1,109 +0,0 @@ -# MÓDULO: PLANEJAMENTO INSTITUCIONAL - -## CAPACIDADES - -~~~text - MOD_PLAN_INST - MOD_PLAN_INST_CONS - MOD_PLAN_INST_INCL - MOD_PLAN_INST_INCL_UNID_INST - MOD_PLAN_INST_INCL_UNEX_LOTPRI - MOD_PLAN_INST_INCL_UNEX_QQLOT - MOD_PLAN_INST_INCL_UNEX_SUBORD - MOD_PLAN_INST_INCL_UNEX_QUALQUER - MOD_PLAN_INST_EDT - MOD_PLAN_INST_EXCL -~~~ - -## BANCO DE DADOS - -~~~text -Tabela: planejamentos - -Campos obrigatórios: - nome - missao - visao - valores - data_inicio - entidade_id - unidade_id -~~~ - -## REGRAS DE NEGÓCIO - -(RN_PLAN_INST_A) Para a criação de um planejamento institucional são informações obrigatórias: nome, missão, visão, data de início, data de fim, unidade responsável e ao menos um dos valores institucionais. -(RN_PLAN_INST_B) Não pode existir mais de um planejamento institucional para uma mesma unidade em um mesmo período de tempo. -(RN_PLAN_INST_C) Um Planejamento Institucional pode ser ou não vinculado ao planejamento institucional de uma unidade hierarquicamente superior. -(RN_PLAN_INST_D) Cada objetivo de um Planejamento Institucional deve estar associado a um eixo temático. -(RN_PLAN_INST_E) Um objetivo de um Planejamento Institucional pode agrupar outros objetivos do mesmo Planejamento (um objetivo pode ser objetivo-pai de outros, dentro do mesmo Planejamento). -(RN_PLAN_INST_F) Quando um objetivo de um Planejamento Institucional é pai de outros, todos os seus filhos estarão obrigatoriamente vinculados ao mesmo eixo temático do objetivo-pai. -(RN_PLAN_INST_G) Quando um Planejamento Institucional possui vínculo com um Planejamento Institucional Superior, os objetivos daquele podem estar ou não vinculados aos objetivos deste. -(RN_PLAN_INST_H) Quando um objetivo de um Planejamento Institucional está vinculado a um objetivo de um Planejamento Institucional superior, o eixo temático daquele pode ser diverso do eixo temático deste. - -(RN_PLAN_INST_) -(RN_PLAN_INST_) -(RN_PLAN_INST_) -(RN_PLAN_INST_) -(RN_PLAN_INST_) -(\**) é obrigatória a existência de ao menos um valor institucional -(\***) se o planejamento for de uma Unidade Executora, é obrigatória a definição do -planejamento superior ao qual ele está vinculado -## OBJETIVOS - -(RN_PLAN_INST_OBJ_A) Quando o Planejamento é de uma Unidade Executora é obrigatório associar cada um dos seus objetivos a um objetivo do Planejamento Institucional superior!" -## QUESTÕES PENDENTES - -- Definir se há ou não obrigatoriedade de um planejamento estar vinculado a outro superior. (vide RN_PLAN_INST_C) -- A data do início não pode ser maior que a data do fim; -- Permissão do usuário para criar Planejamentos para a Unidade Instituidora (MOD_PLAN_INST_INCL_UNID_INST); -- Permissão do usuário para criar Planejamentos para Unidades executoras quaisquer (MOD_PLAN_INST_INCL_UNEX_QUALQUER); -- Permissão do usuário para criar Planejamentos para Unidades executoras subordinadas (MOD_PLAN_INST_INCL_UNEX_SUBORD); -- Permissão do usuário para criar Planejamentos para qualquer Unidade executora das suas lotações (MOD_PLAN_INST_INCL_UNEX_QQLOT); - -- Permissão do usuário para criar Planejamentos para a Unidade executora de sua lotação principal (MOD_PLAN_INST_INCL_UNEX_LOTPRI); - - -- Tabela: planejamentos_objetivos - -~~~text - nome (*) // nome do objetivo - fundamentação (*) // justificativa para a existência do objetivo - path // IDs dos nós ascendentes separados por /, ou NULL caso seja um nó raiz - sequencia (*) // Sequência utilizada para ordenar os objetivos - (id/created_at/updated_at/deleted_at) - planejamento_id (*) // Planejamento ao qual se refere o objetivo - eixo_tematico_id (*) // Eixo temático ao qual se refere o objetivo - objetivo_superior_id (**) // Objetivo do planejamento superior ao qual está vinculado este objetivo, se for o caso - objetivo_pai_id // Objetivo pai do objetivo (se for um nós raiz, este campo será NULL) - - (*) campo obrigatório - (**) campo obrigatório somente se o planejamento for de uma Unidade Executora -~~~ - -### VALIDAÇÕES - -***** REVER ESSA REGRA: Quando o Planejamento é de uma Unidade Executora é obrigatório associar cada um dos seus objetivos a um objetivo do Planejamento Institucional superior! Se for assim, em um planejamento de unidade executora, não precisa ser exibido o campo eixo tematico -***** As datas de início e fim do planejamento da Unidade executora devem estar dentro do período do planejamento superior? -***** Quais unidades executoras devem aparecer na hora de escolher a unidade executora do planejamento? -***** Verificar: Na edição de um planejamento de uma unidade executora, o campo SELECIONE O PLANEJAMENTO SUPERIOR VINCULADO deve/não deve mais ser exibido, já que ele não pode ser alterado -***** No form de objetivos de planejamento não está aparecendo o nome do planejamento superior vinculado - -### Exemplo de grid - - Nome: Planejamento Institucional do Biênio 2023-2024 - Entidade: Unidade: - Missão: - Visão: - Valores: - Inicio: Fim: - - ------------------------------------------- - Objetivo ObjSuperior [ + ] - EIXO TEMATICO 1 -  Objetivo1         ObjSup1 -  Objetivo2         ObjSup4 - - EIXO TEMATICO 2 -  Objetivo1         ObjSup7 -  Objetivo2         ObjSup7 diff --git a/resources/documentacao/gestao/plano_entrega.md b/resources/documentacao/gestao/plano_entrega.md deleted file mode 100644 index 2d548f4d3..000000000 --- a/resources/documentacao/gestao/plano_entrega.md +++ /dev/null @@ -1,436 +0,0 @@ -# MÓDULO: Plano de Entregas - -## CAPACIDADES - -~~~text - MOD_PENT = Permite acesso ao menu e consultas do módulo Plano de Entregas. - MOD_PENT_INCL = Permite incluir planos de entregas. - MOD_PENT_EDT = Permite editar planos de entregas. - MOD_PENT_EXCL = Permite excluir planos de entregas. - MOD_PENT_CNC = Permite cancelar planos de entregas. - MOD_PENT_EDT_ATV_HOMOL = Permite editar planos de entregas que estejam no status ATIVO. O plano voltará ao status HOMOLOGANDO. - MOD_PENT_EDT_ATV_ATV = Permite editar planos de entregas que estejam no status ATIVO, mantendo-os neste status. - MOD_PENT_HOMOL = Permite homologar planos de entregas das Unidades imediatamente subordinadas à sua Unidade de lotação. - MOD_PENT_CANC_HOMOL = Permite cancelar a homologação dos planos de entregas das Unidades imediatamente subordinadas à sua Unidade de lotação. - MOD_PENT_AVAL = Permite avaliar planos de entregas das Unidades imediatamente subordinadas à sua Unidade de lotação. - MOD_PENT_AVAL_SUBORD = Permite avaliar planos de entregas de todas as Unidades subordinadas à sua Unidade de lotação. - MOD_PENT_CANC_AVAL = Permite cancelar a avaliação dos planos de entregas das Unidades imediatamente subordinadas à sua Unidade de lotação. - MOD_PENT_EDT_FLH = Permite alterar planos de entregas das Unidades imediatamente subordinadas à sua Unidade de lotação. - MOD_PENT_LIB_HOMOL = Permite liberar para homologação planos de entregas da sua Unidade de lotação. - MOD_PENT_RET_HOMOL = Permite retirar de homologação planos de entregas da sua Unidade de lotação. - MOD_PENT_CONC = Permite marcar como concluídos planos de entregas da sua Unidade de lotação. - MOD_PENT_CANC_CONCL = Permite cancelar a conclusão de planos de entregas da sua Unidade de lotação. - MOD_PENT_SUSP = Permite suspender planos de entregas da sua Unidade de lotação. - MOD_PENT_RTV = Permite reativar planos de entregas suspensos, desde que sejam da sua Unidade de lotação. - MOD_PENT_ARQ = Permite arquivar planos de entregas da sua Unidade de lotação. - MOD_PENT_QQR_UND = Permite Incluir/Editar planos de entregas de qualquer Unidade, desde que possua também as respectivas MOD_PENT_INCL/MOD_PENT_EDT (independente de qualquer outra condição). -~~~ - -## BANCO DE DADOS - -~~~text -Tabela: planos_entregas - -Campos obrigatórios: - numero - nome - data_inicio - status - Unidade_id - programa_id - criacao_usuario_id -~~~ - -## RESPONSABILIDADES - -``` -(PENT:TABELA_1) Atribuições do plano de entrega - -+ => Unidade superior -CF => Chefe -CS => Chefe Sub. -DL => Delegado -LC => Lotado/Colaborador - - Unidade Executora ---------------+---------------------- -Inclusão CF,CS,DL,CF+,CS+,DL+ -Edição CF,CS,DL,CF+,CS+,DL+ -Homologar CF+,CS+ -Avaliação CF+,CS+ -``` - -## REGRAS DE NEGÓCIO - -Consideremos a seguinte hierarquia: -Unidade A - Unidade B - Unidade C - Unidade D - Unidade E - Unidade F - Unidade G -Consideremos também que o Plano de Entregas é da Unidade B. - -- (RN_PENT_A) Quando um Plano de Entregas é criado adquire automaticamente o status INCLUIDO; -- (RN_PENT_B) O gestor (e delegado) de uma Unidade (B) e o gestor (e delegado) da sua Unidade-pai (A), podem iniciar a elaboração de Planos de Entrega para a Unidade B; -- (RN_PENT_C) O gestor da Unidade-pai (A) pode homologar e, se possuir a capacidade "MOD_PENT_EDT_FLH", alterar o Plano de Entregas de uma unidade-filha (B ou E) antes/depois de homologá-lo; -- (RN_PENT_D) Para ir para o status HOMOLOGANDO o Plano de Entregas deve ter ao menos uma entrega; -- (RN_PENT_E) Para ir para o status 'ATIVO', um Plano de Entregas precisa da Homologação do gestor da sua Unidade-pai (Unidade A); -- (RN_PENT_F) O gestor de uma Unidade deve poder visualizar os planos de entregas de todas as Unidades hierarquicamente a ele subordinadas [RN_PENT_V]; -- (RN_PENT_G) Uma vez homologado um Plano de Entregas, a Unidade do plano (Unidade B) está no Programa; -- (RN_PENT_H) Os planos de entregas vão gerar dados que serão enviados ao órgão central (aguardando a definição do formato); -- (RN_PENT_I) O participante poderá visualizar o Plano de Entregas de qualquer uma das suas áreas de trabalho. Área de Trabalho é qualquer unidade onde o participante esteja lotado ou tenha alguma atribuição a ela vinculada (ver [lista de atribuições possíveis](docs/geral/informacoes_complementares.md)); -- (~~RN_PENT_J~~) (REVOGADO) Uma Unidade de execução poderá ter mais de um Plano de Entregas com status 'HOMOLOGANDO' e 'ATIVO', desde que sejam para períodos diferentes; -- (RN_PENT_K) Após criado um Plano de Entregas, os seguintes campos não poderão mais ser alterados: unidade_id, programa_id; -- (RN_PENT_L) Vide Fluxo; -- (RN_PENT_M) Qualquer alteração, depois de o Plano de Entregas ser homologado, precisa ser notificada ao gestor da Unidade-pai (Unidade A) ou à pessoa que homologou. Essa comunicação sobre eventuais ajustes, não se aplica à Unidade Instituidora, ou seja, alterações realizadas em planos de entregas de unidades instituidoras não precisam ser notificadas à sua Unidade-pai; -- (RN_PENT_N) Vide Fluxo; -- (RN_PENT_O) Vide Fluxo; -- (RN_PENT_P) Vide Fluxo; -- (RN_PENT_Q) Quando um Plano de Entregas é cancelado, todas as suas entregas **** MODIFICADO: que não fazem parte de outros planos de entregas *** são canceladas, vindo a afetar as entregas dos planos de trabalho a elas relacionadas, tendo os mesmo efeitos da regra [RN_PTR_E]; -- (RN_PENT_R) Vide Fluxo; -- (RN_PENT_S) Vide Fluxo; -- (RN_PENT_T) Vide Fluxo; -- (RN_PENT_U) Vide Fluxo; -- (RN_PENT_V) Vide Fluxo; -- (RN_PENT_W) Vide Fluxo; -- (RN_PENT_X) Vide Fluxo; -- (RN_PENT_Y) Vide Fluxo; -- (RN_PENT_Z) Vide Fluxo; -- (RN_PENT_AA) Vide Fluxo; -- (RN_PENT_AB) Vide Fluxo; -- (RN_PENT_AC) Vide Fluxo; -- (RN_PENT_AD) Vide Fluxo; -- (RN_PENT_AE) Se a alteração for feita com o Plano de Entregas no status ATIVO e o usuário logado possuir a capacidade "MOD_PENT_EDT_ATV_HOMOL", o Plano de Entregas voltará ao status "HOMOLOGANDO"; -- (RN_PENT_AF) Se a alteração for feita com o Plano de Entregas no status ATIVO e o usuário logado possuir a capacidade "MOD_PENT_EDT_ATV_ATV", o Plano de Entregas permanecerá no status "ATIVO"; -- (RN_PENT_AG) A homologação do Plano de Entregas não se aplica à Unidade Instituidora, ou seja, os planos de entregas vinculados a unidades que sejam instituidoras não precisam ser homologados. -- (RN_PENT_AH) O plano de entrega vai para o status de AGUARDANDO_CANCELAMENTO, e só após a confimação pela chefia superior é que será realmente cancelado. Mas caso seja realizado o cancelamento diretamente pela chefia superior ele já cancela diretamente; *********** FALTA IMPLEMENTAR ******* - -## REGRAS VINCULADAS - -- (RN_PTR_E) O Plano de Trabalho precisará ser repactuado (retornar ao status de AGUARDANDO_ASSINATURA) quando houver quaisquer alterações no plano de entrega que impacte as entregas do plano de trabalho; (alterada a entrega ou cancelada); - -## FLUXOS (STATUS & AÇÕES) - -![Fig. 1 - Análise dos Fluxos dos Planos de Entrega](../imagens/fluxo_planos_entregas.jpg) - -~~~text -status possíveis: "INCLUIDO", "HOMOLOGANDO", "ATIVO", "CONCLUIDO", "AVALIADO", "SUSPENSO", "CANCELADO" -~~~ - -Ação: ALTERAR -> geralmente não muda o status do plano ('INCLUIDO','HOMOLOGANDO','ATIVO'), exceto no caso da regra RN_PENT_AE; - -- (RN_PENT_L) Condições para que um Plano de Entregas possa ser alterado: - - o Plano de Entregas precisa estar com o status INCLUIDO, HOMOLOGANDO ou ATIVO, e - - o usuário logado precisa possuir a capacidade "MOD_PENT_EDT", o Plano de Entregas precisa ser válido (ou seja, nem deletado, nem arquivado e com status diferente de 'CANCELADO'), e: - - estar com o status INCLUIDO ou HOMOLOGANDO, e o usuário logado precisa ser gestor (ou delegado) da Unidade do plano; ou - - o usuário logado precisa ser gestor (ou delegado) da Unidade-pai (Unidade A) da Unidade do plano (Unidade B) e possuir a capacidade "MOD_PENT_EDT_FLH" [RN_PENT_C]; ou - - o Plano de Entregas precisa estar com o status ATIVO, o usuário logado precisa atender os critírios da TABELA_1, e ele possuir a capacidade "MOD_PENT_EDT_ATV_HOMOL" [RN_PENT_AE] ou "MOD_PENT_EDT_ATV_ATV" [RN_PENT_AF]; ou - - o usuário possuir a capacidade "MOD_PENT_QQR_UND". (independente de qualquer outra condição); - -Ação: ARQUIVAR -> não muda o status do plano ('CONCLUIDO','AVALIADO'); - -- (RN_PENT_N) Condições para que um Plano de Entregas possa ser arquivado: - - o plano precisa estar com o status CONCLUIDO ou AVALIADO, não ter sido arquivado, e: - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou - - a Unidade do plano (Unidade B) precisa ser a Unidade de lotação do usuário logado e ele possuir a capacidade "MOD_PENT_ARQ"; - -Ação: AVALIAR -> o plano adquire o status de 'AVALIADO'; - -- (RN_PENT_O) Condições para que um Plano de Entregas possa ser avaliado: - - o plano precisa estar com o status CONCLUIDO, e: - - o usuário logado precisa ser gestor da Unidade-pai (Unidade A) da Unidade do plano (Unidade B), ou - - o usuário logado precisa possuir a atribuição de AVALIADOR DE PLANOS DE ENTREGAS para a Unidade do plano (Unidade B); ou - **** REMOVIDO: - a Unidade-pai (Unidade A) precisa ser a Unidade de lotação do usuário logado, e ele possuir a capacidade "MOD_PENT_AVAL"; ou **** - - o usuário logado precisa ser gestor de alguma Unidade da linha hierárquica ascendente da Unidade do plano (Unidade A e superiores), e possuir a capacidade "MOD_PENT_AVAL_SUBORD"; - ********************************- sugerir arquivamento automático (vide RI_PENT_A); (A IMPLEMENTAÇÃO DESTA REGRA DEPENDE DA IMPLEMENTAÇÃO DA AVALIAÇÃO DOS PLANOS DE ENTREGAS)** - -Ação: CANCELAR PLANO -> o plano adquire o status de 'CANCELADO'; - -- (RN_PENT_P) Condições para que um Plano de Entregas possa ser cancelado: - - o usuário logado precisa possuir a capacidade "MOD_PENT_CNC", o plano precisa estar em um dos seguintes status: INCLUIDO, HOMOLOGANDO e ATIVO; - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou - - o usuário logado precisa ser gestor da Unidade-pai do plano (Unidade A); - -Ação: CANCELAR AVALIAÇÃO -> o plano retorna ao status de 'CONCLUIDO'; - -- (RN_PENT_R) Condições para que um Plano de Entregas possa ter sua avaliação cancelada: - - o plano precisa estar com o status AVALIADO, e - - o usuário logado precisa ser gestor da Unidade-pai (Unidade A) da Unidade do plano (Unidade B), ou - **VER NO FRONT****************************- a Unidade-pai (Unidade A) precisa ser a Unidade de lotação do usuário logado, e ele possuir a capacidade "MOD_PENT_CANC_AVAL"; ou** - - possuir a atribuição de AVALIADOR DE PLANOS DE ENTREGAS para a Unidade do plano (Unidade B); - -Ação: CANCELAR CONCLUSÃO -> o plano retorna ao status de 'ATIVO'; - -- (RN_PENT_S) Condições para que um Plano de Entregas possa ter sua conclusão cancelada: - - o plano precisa estar com o status CONCLUIDO, e: - **VER NO FRONT***************************- o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou** - - a Unidade do plano (Unidade B) precisa ser sua Unidade de lotação e o usuário logado precisa possuir a capacidade "MOD_PENT_CANC_CONCL"; - -Ação: CANCELAR HOMOLOGAÇÃO -> o plano retorna ao status de 'HOMOLOGANDO'; - -- (RN_PENT_T) Condições para que um Plano de Entregas possa ter sua homologação cancelada: - - o plano precisa estar com o status ATIVO, e - - o usuário logado precisa ser gestor da Unidade-pai (Unidade A) da Unidade do plano (Unidade B), ou - - a Unidade-pai (Unidade A) precisa ser a Unidade de lotação do usuário logado, e ele possuir a capacidade "MOD_PENT_CANC_HOMOL"; ou - - o usuário logado precisa possuir a atribuição de HOMOLOGADOR DE PLANOS DE ENTREGAS para a Unidade-pai (Unidade A) da Unidade do plano (Unidade B); - -Ação: CONCLUIR -> o plano adquire o status de 'CONCLUIDO'; - -- (RN_PENT_U) Condições para que um Plano de Entregas possa ser concluído: - - o plano precisa estar com o status ATIVO, e: - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou - - a Unidade do plano (Unidade B) precisa ser sua Unidade de lotação e o usuário logado precisa possuir a capacidade "MOD_PENT_CONC"; - -Ação: CONSULTAR -> não muda o status do plano; - -- (RN_PENT_V) Condições para que um Plano de Entregas possa ser consultado: - - Possuir a capacidade "MOD_PENT" - - Atender as regras [RN_PENT_F] e [RN_PENT_I]; - -Ação: DESARQUIVAR -> o plano retorna ao status que estava quando foi arquivado ('CONCLUIDO','AVALIADO'); - -- (RN_PENT_W) Condições para que um Plano de Entregas possa ser desarquivado: - - o plano precisa estar arquivado, e: - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou - - a Unidade do plano (Unidade B) precisa ser a Unidade de lotação do usuário logado e ele possuir a capacidade "MOD_PENT_ARQ"; - -Ação: EXCLUIR -> não muda o status do plano; - -- (RN_PENT_X) Condições para que um Plano de Entregas possa ser excluído: - - o usuário logado precisa possuir a capacidade "MOD_PENT_EXCL", o plano precisa estar com o status INCLUIDO ou HOMOLOGANDO; e - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou - - a Unidade do plano (Unidade B) precisa ser a Unidade de lotação do usuário logado; - -Ação: HOMOLOGAR -> o plano adquire o status de 'ATIVO'; - -- (RN_PENT_Y) Condições para que um Plano de Entregas possa ser homologado: - - o plano precisa estar com o status HOMOLOGANDO, e: - - o usuário logado precisa ser gestor da Unidade-pai (Unidade A) da Unidade do plano (Unidade B); [RN_PENT_C] [RN_PENT_E], ou - - a Unidade-pai (Unidade A) for a Unidade de lotação do usuário logado e ele possuir a capacidade "MOD_PENT_HOMOL", ou - - A homologação do plano de entregas não se aplica à Unidade instituidora, ou seja, os planos de entregas vinculados a unidades que sejam instituidoras não precisam ser homologados (RN_PENT_AG). - -Ação: INSERIR/INCLUIR -> o plano adquire o status de 'INCLUIDO'; - -- (RN_PENT_Z) Condições para que um Plano de Entregas possa ser criado: - - o usuário logado precisa possuir a capacidade "MOD_PENT_INCL", e: - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou gestor da sua Unidade-pai (Unidade A)[RN_PENT_B]; ou - - o usuário precisa possuir também a capacidade "MOD_PENT_QQR_UND" (independente de qualquer outra condição); - -Ação: LIBERAR PARA HOMOLOGAÇÃO -> o plano adquire o status de 'HOMOLOGANDO'; - -- (RN_PENT_AA) Condições para que um Plano de Entregas possa ser liberado para homologação: - - o plano precisa estar com o status INCLUIDO, conter ao menos uma entrega [RN_PENT_D], e - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B); ou - - a Unidade do plano (Unidade B) precisa ser a Unidade de lotação do usuário logado, e este possuir a capacidade "MOD_PENT_LIB_HOMOL" - -Ação: RETIRAR DE HOMOLOGAÇÃO -> o plano retorna ao status de 'INCLUIDO'; - -- (RN_PENT_AB) Condições para que um Plano de Entregas possa ser retirado de homologação: - - o plano precisa estar com o status HOMOLOGANDO, e: - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B); ou - - a Unidade do plano (Unidade B) precisa ser a Unidade de lotação do usuário logado, e este possuir a capacidade "MOD_PENT_RET_HOMOL" - -Ação: REATIVAR -> o plano adquire novamente o status de 'ATIVO'; - -- (RN_PENT_AC) Condições para que um Plano de Entregas possa ser reativado: - - o plano precisa estar com o status SUSPENSO, e - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou - - a Unidade do plano (Unidade B) precisa ser a Unidade de lotação do usuário logado, e ele possuir a capacidade "MOD_PENT_RTV"; ou - - o usuário logado precisa ser gestor de alguma Unidade da linha hierárquica ascendente (Unidade A e superiores) da Unidade do plano (Unidade B); - -Ação: SUSPENDER -> o plano adquire o status de 'SUSPENSO'; - -- (RN_PENT_AD) Condições para que um Plano de Entregas possa ser suspenso: - - o plano precisa estar com o status ATIVO, e - - o usuário logado precisa ser gestor da Unidade do plano (Unidade B), ou - - a Unidade do plano (Unidade B) precisa ser a Unidade de lotação do usuário logado, e ele possuir a capacidade "MOD_PENT_SUSP"; ou - - o usuário logado precisa ser gestor de alguma Unidade da linha hierárquica ascendente (Unidade A e superiores) da Unidade do plano (Unidade B); - -## BOTÕES - -- 'Alterar'. Condições para ser exibido: vide RN_PENT_L; -- 'Arquivar'. Condições para ser exibido: vide RN_PENT_N; -- 'Avaliar'. Condições para ser exibido: vide RN_PENT_O; -- 'Cancelar'. Condições para ser exibido: vide RN_PENT_P; -- 'Cancelar Avaliação'. Condições para ser exibido: vide RN_PENT_R; -- 'Cancelar Conclusão'. Condições para ser exibido: vide RN_PENT_S; -- 'Cancelar Homologação'. Condições para ser exibido: vide RN_PENT_T; -- 'Concluir'. Condições para ser exibido: vide RN_PENT_U; -- 'Consultar'. Condições para ser exibido: vide RN_PENT_V; -- 'Desarquivar'. Condições para ser exibido: vide RN_PENT_W; -- 'Excluir'. Condições para ser exibido: vide RN_PENT_X; -- 'Homologar'. Condições para ser exibido: vide RN_PENT_Y; -- 'Liberar para Homologação'. Condições para ser exibido: vide RN_PENT_AA; -- 'Reativar'. Condições para ser exibido: vide RN_PENT_AC; -- 'Retirar de Homologação'. Condições para ser exibido: vide RN_PENT_AB; -- 'Suspender'. Condições para ser exibido: vide RN_PENT_AD; - -## REGRAS DE INTERFACE - -~~~text -- Estando no status "INCLUIDO" - - botões-padrão: - - 'Liberar para homologação'. Condições para ser exibido: vide RN_PENT_AA; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Liberar para Homologação'. Condições para ser exibido: vide RN_PENT_AA; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - 'Cancelar'. Condições para ser exibido: vide RN_PENT_P; - - 'Excluir'. Condições para ser exibido: vide RN_PENT_X; - - 'Alterar'. Condições para ser exibido: vide RN_PENT_L; - -- Estando no status "HOMOLOGANDO" - - botões-padrão: - - 'Homologar'. Condições para ser exibido: vide RN_PENT_Y; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Homologar'. Condições para ser exibido: vide RN_PENT_Y; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - 'Cancelar'. Condições para ser exibido: vide RN_PENT_P; - - 'Retirar de Homologação'. Condições para ser exibido: vide RN_PENT_AB; - - 'Excluir'. Condições para ser exibido: vide RN_PENT_X; - - 'Alterar'. Condições para ser exibido: vide RN_PENT_L; - -- Estando no status "ATIVO" - - botões-padrão: - - 'Concluir'. Condições para ser exibido: vide RN_PENT_U; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Concluir'. Condições para ser exibido: vide RN_PENT_U; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - 'Cancelar'. Condições para ser exibido: vide RN_PENT_P; - - 'Suspender'. Condições para ser exibido: vide RN_PENT_AD; - - 'Cancelar Homologação'. Condições para ser exibido: vide RN_PENT_T; - - 'Alterar'. Condições para ser exibido: vide RN_PENT_L; - -- Estando no status "CONCLUIDO" - - botões-padrão: - - 'Avaliar'. Condições para ser exibido: vide RN_PENT_O; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Avaliar'. Condições para ser exibido: vide RN_PENT_O; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - 'Cancelar'. Condições para ser exibido: vide RN_PENT_P; - - 'Arquivar'. Condições para ser exibido: vide RN_PENT_N; - - 'Cancelar Conclusão'. Condições para ser exibido: vide RN_PENT_S; - -- Estando no status "AVALIADO" - - botões-padrão: - - 'Arquivar'. Condições para ser exibido: vide RN_PENT_N; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Arquivar'. Condições para ser exibido: vide RN_PENT_N; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - 'Cancelar Avaliação'. Condições para ser exibido: vide RN_PENT_R; - -- Estando no status "SUSPENSO" - - botões-padrão: - - 'Reativar'. Condições para ser exibido: vide RN_PENT_AC; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Reativar'. Condições para ser exibido: vide RN_PENT_AC; - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - -- Estando no status "CANCELADO" - - botões-padrão: - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - -- Estando na condição de "ARQUIVADO" - - botões-padrão: - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - botões opcionais: - - 'Consultar'. Condições para ser exibido: vide RN_PENT_V; - - 'Desarquivar'. Condições para ser exibido: vide RN_PENT_W; -~~~ - -- (RI_PENT_A) Na janela de avaliar, já deixar o switch de arquivamento marcado, igual à janela de avaliação nas atividades (vide RN_PENT_); -- (RI_PENT_B) A consulta do grid retornará inicialmente os principais Planos de Entrega do usuário logado (a opção 'principais' já vem marcada), que são: - - os planos válidos das suas Áreas de Trabalho, e - - se ele for gestor, os planos ativos das Unidades-pai de onde ele é gestor; -- (RI_PENT_C) Por padrão, os planos de entregas retornados na listagem do grid são os que não foram arquivados nem cancelados. -- (RI_PENT_D) Na visualização de Avaliação, deverá trazer a unidade ao qual o usuário é gestor e todas as suas subordinadas imediatas. -- (RI_PENT_E) As entregas vinculadas de planos de entregas cancelados devem aparecer em vermelho e avisando que foram canceladas em seu plano de entregas. - -## QUESTÕES PENDENTES - -- Opções para o filtro: 'Incluir Unidades Superiores', 'Incluir Unidades Inferiores', 'Selecionar por Status' - -[Documentação para ENTREGAS DO Plano de Entregas](docs/gestao/plano_entrega_entrega.md) - -## EXEMPLOS DE GRIDS - -- exemplo 1 - -~~~text -Plano de Entregas - Unidade (Setor) - Planejamento_estrategico_id - Cadeia_valor_id - Entregas - Inicio Fim Indicador (vem do cadastro entrega) Meta geral Realizado Objetivos* Processos* Atividades* Cliente Hmg - Ent1: 01/01/2022 - Quantidade 1000 200 Ob1, Ob1 Proc1, Proc2 Tip.Ativ1, Tip.Atv2 uOrg1, uOrg2 S - Ent2: 01/01/2022 30/12/2022 % 100 70 Ob2 S - Ent3: 01/01/2022 30/12/2024 Qualitativo Excelente Bom S Ent4: 09/12/2022 30/12/2022 ... N -* Deverá haver pelo menos 1 -~~~ - -- exemplo 2 - -~~~text -Nome Data Inicio Data Fim -XXXXXXXXXXXXXXXXXXXXXXXXXXXX xx/xx/xxxx xx/xx/xxxx -Planejamento institucional Cadeia de valor -[XXXXXXXXXXXXXXXXXXXXXX (v)] [XXXXXXXXXXXXXXXXXXXXXX (v)] -Entregas ------------------------------------------------------------------------------------------ - Data Inicio Objetivos/ -Entrega Data Fim Indicador Meta geral Realizado Processos/Atividades Cliente Hmg --------+-----------+-----------+-----------+------------+----------------------+--------+----+----- -XXXXXX XX/XX/XXXX XXXXXXXXX 9999999 9999999 (XXXXX)(XXXX)(XXXXX) XXXXXXX (OK) -XXXXXX XX/XX/XXXX (XXX)(XXXXX) [...] - | Alterar | - | Excluir | - | Homologar| -~~~ - -## ASSUNTOS A SEREM DISCUTIDOS NO FUTURO - -Adesão a Planos de Entregas - -- (~~RN_PENT_2_1~~) (REVOGADO) Ao se criar um Plano de Entregas através da adesão ao da Unidade-pai, aquele adquire de imediato o status "HOMOLOGANDO"; -- (~~RN_PENT_2_2~~) (REVOGADO) A adesão a um Plano de Entregas da Unidade-pai precisa da homologação do gestor desta Unidade para ser ativado (ir para o status ATIVO); -- (~~RN_PENT_2_3~~) (REVOGADO) Só é possível aderir a um Plano de Entregas se este for da Unidade-pai e estiver ATIVO; -- (~~RN_PENT_2_4~~) (REVOGADO) O gestor de uma Unidade, e o gestor da sua Unidade-pai, podem realizar a adesão a um Plano de Entrega, ou seja, realizar a adesão do filho compulsoriamente; -- (~~RN_PENT_2_5~~) (REVOGADO) No caso de a adesão ser feita pelo gestor da Unidade-pai, o plano já adquire de imediato o status ATIVO; -- (~~RN_PENT_2_6~~) (REVOGADO) Se um Plano de Entregas for concluído/cancelado, e possuir planos vinculados, estes também serão concluídos/cancelados automaticamente; -- (~~RN_PENT_2_7~~) (REVOGADO) Em caso de adesão, os campos 'inicio', 'fim', 'planejamento_id', e 'cadeia_valor_id', deverão ser sempre iguais aos do plano-pai; portanto, quando um Plano de Entregas próprio sofrer alteração em um desses campos, todos os planos a ele vinculados deverão ser atualizados também; -- (~~RN_PENT_3_3~~) (REVOGADO) Se a Unidade A tem um plano de entrega próprio e a Unidade B aderiu ao plano de A, a Unidade C pode aderir ao plano de B e só a ele; (Hierarquia considerada: A -> B -> C) -- (~~RN_PENT_4_1~~) (REVOGADO) Ação: ADERIR (exclusivamente para planos vinculados) - . o usuário precisa possuir também a capacidade "MOD_PENT_QQR_UND"; ou - . o usuário logado precisa ser gestor da Unidade ou da sua Unidade-pai, ou uma destas ser sua Unidade de lotação e ele possuir a capacidade "MOD_PENT_ADR"; [RN_PENT_2_4] e - . a Unidade do plano-pai precisa ser a Unidade-pai da Unidade do plano vinculado, e o plano-pai precisa estar com o status ATIVO; [RN_PENT_2_3] [RN_PENT_3_3] e - . a Unidade não possua plano de entrega com o status ATIVO no mesmo período do plano ao qual está sendo feita a adesão; -- (~~RN_PENT_3_1~~) (REVOGADO) Quando um Plano de Entregaqs voltar no status, e possuir outros Planos de Entrega a ele vinculados, no status ATIVO, estes deverão ir para o status SUSPENSO; -- (~~RI_PENT_6~~) (REVOGADO) Na adesão a um Plano de Entregas: - . o input-search dos planos de entregas exibirá apenas os ativos da Unidade-pai da Unidade selecionada; - . a listagem dos planos de entregas não exibirá as opções de filtro. -- (~~RI_PENT_1~~) (REVOGADO) O botão Aderir, na toolbar, deverá ser exibido sempre, mas para ficar habilitado: - - o usuário logado precisa ser gestor da Unidade selecionada ou da sua Unidade-pai, ou uma destas ser sua Unidade de lotação e ele - possuir a capacidade "MOD_PENT_ADR" [RN_PENT_2_4]; e - - a Unidade-pai da Unidade selecionada precisa possuir plano de entrega com o status ATIVO, que já não tenha sido vinculado pela Unidade selecionada; -- (~~RI_PENT_2~~) (REVOGADO) O botão Aderir, nas linhas do grid, deverá aparecer num plano somente se: - - o plano estiver com o status Ativo; e - - a Unidade do plano for a Unidade-pai da Unidade selecionada pelo usuário; e - - se o usuário for Gestor da Unidade selecionada, ou ela for sua lotação e ele possuir a capacidade "MOD_PENT_ADR" ; e - - se a Unidade selecionada não possuir plano de entrega Ativo no mesmo período do plano em questão; - -Planos de Entrega sigilosos (Ainda não implementado) - -- Se o Plano de Entregas for integralmente sigiloso, só poderá ser visualizado pelo gestor da sua Unidade ou por quem tiver capacidade de acesso; -- Se o Plano de Entregas for parcialmente sigiloso, as entregas não sigilosas poderão ser visualizadas por quem puder visualizar o Plano de Entregas, mas as sigilosas só poderão ser visualizadas pelo gestor da sua Unidade e pelos servidores que as possuirem em seus respectivos Planos de Trabalho; -- Somente o gestor da Unidade do Plano de Entregas deve ser capaz de adicionar uma entrega sigilosa a um plano de trabalho; -- Um Plano de Entregas pode ser sigiloso, e nesse caso todas as suas entregas são automaticamente sigilosas, ou possuir apenas algumas de suas entregas como sigilosas (plano parcialmente sigiloso); - diff --git a/resources/documentacao/gestao/plano_entrega_entrega.md b/resources/documentacao/gestao/plano_entrega_entrega.md deleted file mode 100644 index a9dc58be3..000000000 --- a/resources/documentacao/gestao/plano_entrega_entrega.md +++ /dev/null @@ -1,44 +0,0 @@ -# Entregas do Plano de Entregas - -- Tabela: planos_entregas_entregas - -~~~text - inicio (*) - fim - descricao (*) - homologado (*) - meta (*) - realizado - progresso_esperado - progresso_realizado - destinatario - (id/created_at/updated_at/deleted_at) - plano_entrega_id (*) - entrega_id (*) - entrega_pai_id - unidade_id (*) - - (*) campo obrigatório -~~~ - -## Entregas de um Plano de Entregas - -(RN_PENT_ENT_A) As entregas incluídas/alteradas na criação/edição de um Plano de Entregas precisam estar dentro do prazo de execução de um plano de entregas; -(RN_PENT_ENT_B) Quando um Plano de Entregas for CANCELADO, suas entregas automaticamente também o serão; -(RN_PENT_ENT_C) A entregas de planos de entregas canceladas não poderão mais ser adicionadas novas atividades; -(RN_PENT_ENT_D) As alterações nas entregas de um plano de entregas devem ser tratadas como alterações do próprio plano, em termos de validações e consequências; -(RN_PENT_ENT_E) Se a alteração do período de uma entrega do plano de entregas afetar alguma entrega de plano de trabalho a ela vinculada, de modo que esta venha a perder total interseção com o novo período: - a. exibir alerta informando as entregas de plano de trabalho afetadas; - b. colher a decisão do usuário logado: continuar com a alteração ou desistir dela; - c. no caso de continuar, ... -(RN_PENT_ENT_) Na exclusão de uma entrega do plano de entregas, apenas marcá-la como cancelada caso ela já tenha sido utilizada, criando um novo TCR para os planos de trabalho afetados, e excluí-la de fato caso ainda não tenha sido utilizada em nenhum plano de trabalho; -(RN_PENT_ENT_) A inclusão de novas entregas em um plano de entregas não afeta as entregas dos planos de trabalho relacionados; - -## REGRAS DE INTERFACE - -1. (RI_ENT_PENT_1) O botão Aderir, na toolbar, deverá ser exibido sempre, mas para ficar habilitado: - - as abas de objetivos e processos na tela de inserção das entregas apenas serão exibidas se o usuário selecionar o planejamento e/ou a cadeia de valor na tela anterior ; - -## REGRAS A SEREM DISCUTIDAS - -- O gestor da unidade de execução **deverá também cadastrar, quando da elaboração do Plano de Entregas,** os tipos de "ocorrência" (ocorrências tradicionais, férias, cursos, etc) que não possuem meta, prazo ou cliente. Essas ocorrências poderão ser selecionadas pelos participantes quando da elaboração do plano de trabalho, com respectiva alocação, ao selecionar a opção: Não vinculada a entrega. diff --git a/resources/documentacao/gestao/plano_trabalho.md b/resources/documentacao/gestao/plano_trabalho.md deleted file mode 100644 index ea3496462..000000000 --- a/resources/documentacao/gestao/plano_trabalho.md +++ /dev/null @@ -1,372 +0,0 @@ -# MÓDULO: PLANO DE TRABALHO - -## CAPACIDADES - -~~~text - MOD_PTR - Permite acessar item menu Plano de Trabalho - MOD_PTR_EDT - Permite editar planos de trabalho - MOD_PTR_INCL - Permite incluir planos de trabalho - MOD_PTR_EDT_ATV - Permite editar planos de trabalho ativos - MOD_PTR_CNC - Permite cancelar planos de trabalho - MOD_PTR_USERS_INCL - Permite incluir planos de trabalho para usuários que não estão lotados na unidade executora - MOD_PTR_INTSC_DATA - Permite incluir plano de trabalho que possua período conflitante com outro já existente na mesma unidade/servidor -~~~ - -## RESPONSABILIDADES - -~~~text -(PTR:TABELA_1) - Tabela de responsabilidades do plano de trabalho - -+ => Unidade superior -- => Exceto o próprio participante -? => Habilitado no programa? -^ => Entidade (Orgão) -º => Lotação (do usuário do plano) -CF => Chefe -CS => Chefe Sub. -DL => Delegado -LC => Lotado/Colaborador - -Considerando sempre a unidade executora, caso possua cargo de chefia mas o plano seja pra outra -unidade executora, então será considerado como um participante (Lotado/Colaborador); -O ator sempre é referente ao "Usuário do Plano de Trabalho", e as responsabilidades são referentes -ao usuário que está logado (CF, CS, DL, LC). - ---------------+----------------+----------------------+------------------+------------------------- -Ação \ Ator | PT do Chefe | PT do Chefe Sub. | PT do Delegado | PT do Lotado/Colaborador ---------------+----------------+----------------------+------------------+------------------------- -Assinar | CF+,CS+,CF | CF,CS,CF^,CS^ | CF,CS,DL,CF^,CS^ | CF,CS,LC,CF^,CS^ -(TABELA_2) | CF^,CS^ | CFº,CSº,CFº+,CSº+ | CFº,CSº,CFº+,CSº+| CFº,CSº,CFº+,CSº+ ---------------+----------------+----------------------+------------------+------------------------- -Ativar | CF?,CF+,CS+ | CF,CS-,CS? | CF,CS,DL? | CF,CS,LC? ---------------+----------------+----------------------+------------------+------------------------- -Avaliar | CF+,CS+ | CF,CF+,CS+ | CF,CS | CF,CS ---------------+----------------+----------------------+------------------+------------------------- -Alterar | CF?,CF+,CS+ | CF,CS?,CF+,CS+ | CF,CS,DL? | CF,CS,DL,LC? ---------------+----------------+----------------------+------------------+------------------------- -Incluir | CF?,CF+,CS+ | CF,CS?,CF+,CS+ | CF,CS,DL? | CF,CS,DL,LC? ---------------+----------------+----------------------+------------------+------------------------- -Outros | CF,CS,DL | CF,CS,DL | CF,CS,DL | CF,CS,DL ---------------+----------------+----------------------+------------------+------------------------- - -~~~ - -## REGRAS DE NEGÓCIO - -- (RN_PTR_A) Quando um Plano de Trabalho é criado adquire automaticamente o status INCLUIDO; -- (RN_PTR_B) O Plano de Trabalho pode ser incluído pelo próprio servidor, se ele for "participante do programa" habilitado, ou pelas condições da TABELA_1; -- (RN_PTR_C) Quando o gestor da Unidade Executora criar o primeiro Plano de Trabalho para um servidor, este tornar-se-á automaticamente um participante habilitado; -- (RN_PTR_D) O Plano de Trabalho só vai para o status ATIVO quando atender os critérios de assinatura, que estarão definidos nas configurações do Programa; -- (RN_PTR_E) O Plano de Trabalho precisará ser repactuado (retornar ao status de AGUARDANDO_ASSINATURA) quando houver quaisquer alterações no plano de entrega que impacte as entregas do plano de trabalho; (alterada a entrega ou cancelada); -- (RN_PTR_F) Os planos de trabalho dos participantes contribuem direta ou indiretamente para o plano de entregas da unidade. Assim, um Plano de Trabalho será composto da divisão da carga horária disponível entre entregas da sua unidade, entregas de outra unidade, entregas de outro orgão, ou não vinculadas a entregas; -- (RN_PTR_G) Na criação/alteração de um Plano de Trabalho só podem ser criadas/alteradas entregas se vinculadas a entregas de planos de entregas não canceladas; -- (RN_PTR_H) Segundo as configurações do Programa de Gestão, no TCR poderá ser exigida a assinatura dos seguintes atores: participante, gestor da Unidade Executora, gestor da Unidade de Lotação e gestor da Unidade Instituidora, repeitado o definido na TABELA_3; entretanto, ainda segundo o Programa de Gestão, o TCR pode ser dispensável e, nesse caso, obviamente nenhuma assinatura será exigida; -- (RN_PTR_I) Quando a Unidade Executora não for a unidade de lotação do servidor, seu gestor imediato e seus substitutos devem ter acesso ao seu Plano de Trabalho (e à sua execução); -- (RN_PTR_J) Quando todas as consolidações de um Plano de Trabalho forem avaliadas, informar que este está também avaliado (não é um status); -- (RN_PTR_K) O Plano de Trabalho somente poderá ser cancelado se não houver nenhuma atividade e nenhum periodo consolidado. Os afastamentos e ocorrências continuam válidas no sistema, somente removendo o vinculo com a consolidação; -- (RN_PTR_L) Um Plano de Trabalho adquire o status 'CONCLUIDO' quando a sua última consolidação for avaliada; -- (RN_PTR_M) Vide Fluxo; -- (RN_PTR_N) Vide Fluxo; -- (RN_PTR_O) Vide FLuxo; -- (RN_PTR_P) Vide Fluxo; -- (RN_PTR_Q) Vide Fluxo; -- (RN_PTR_R) Vide Fluxo; -- (RN_PTR_S) Vide Fluxo; -- (RN_PTR_T) Vide Fluxo; -- (RN_PTR_U) Vide Fluxo; -- (RN_PTR_V) Vide Fluxo; -- (RN_PTR_W) Vide Fluxo; -- (RN_PTR_X) Vide Fluxo; -- (RN_PTR_Y) Para incluir um Plano de Trabalho para um participante, é necessário que este esteja LOTADO/COLABORADOR na unidade executora, a menos que este possua a capacidade MOD_PTR_USERS_INCL; -- (RN_PTR_AA) Um Plano de Trabalho não pode ser incluído/alterado se apresentar período conflitante com outro Plano de Trabalho já existente para a mesma unidade/servidor, a menos que o usuário logado possua a capacidade MOD_PTR_INTSC_DATA; -- (RN_PTR_AB) Um Plano de Trabalho não pode ser excluído; -- (RN_PTR_AC) Quando um participante tiver um plano de trabalho criado, ele se tornará automaticamente um COLABORADOR da sua unidade executora; -- (RN_PTR_AD) Após criado um plano de trabalho, a sua unidade e programa não podem mais ser alterados. -- (RN_PTR_AE) Após criado um plano de trabalho, o usuário do plano não poderá mais ser alterado. - -## FLUXOS (STATUS & AÇÕES) - -![Fig. 1 - Fluxos do Plano de Trabalho](../Imagens/Fluxos_Planos_Trabalhos.jpeg) - -~~~text -(PTR:TABELA_2) - Fluxos do plano para ir ao status de ATIVO - -Caso o participante seja o gestor da unidade executora ou gestor em sua unidade de lotação, então os atores "gestor executora" e -"gestor imediato" deverão seguir o descrito na TABELA_3. Caso contrário, deverá ser considerado somente o gestor tituluar e os substitutos. - -status possíveis = ['INCLUIDO', 'AGUARDANDO_ASSINATURA', 'ATIVO', 'CONCLUIDO', 'SUSPENSO', 'CANCELADO'] ------------------------------------------------------------------------------------------------------------------------------------ -obrigatoriedade | inclusão realizada | status | evento que | status | evento que | status -da assinatura | pelo | inicial | faz avançar | seguinte | faz avançar | seguinte ---------------------+-------------------------------------------------------------------------------------------------------------- - participante | participante | INCLUIDO | participante | AGUARDANDO | gestores assinam | ATIVO - gestor executora | | | assina o TCR | ASSINATURA | o TCR | - gestor imediato +-------------------------------------------------------------------------------------------------------------- - gestor entidade | gestor | INCLUIDO | gestor assina | AGUARDANDO | particip/gestor | ATIVO - | | | o TCR | ASSINATURA | assinam o TCR | ---------------------+-------------------------------------------------------------------------------------------------------------- - | participante | INCLUIDO | gestor/participante | ATIVO | | - | | | ativa o plano | | | - ninguém +-------------------------------------------------------------------------------------------------------------- - | gestor | INCLUIDO | gestor/participante | ATIVO | | - | | | ativa o plano | | | ---------------------+-------------------------------------------------------------------------------------------------------------- - | participante | INCLUIDO | participante | | | - | | | envia para | AGUARDANDO | gestores assinam | ATIVO - | | | assinatura do TCR | ASSINATURA | o TCR | - gestor(es) +-------------------------------------------------------------------------------------------------------------- - | gestor | INCLUIDO | gestor ativa (e assina) | ATIVO | | - | | | o plano | | | ---------------------+-------------------------------------------------------------------------------------------------------------- - | participante | INCLUIDO | participante | ATIVO | | - | | | ativa (e assina) o plano | | | - participante +-------------------------------------------------------------------------------------------------------------- - | gestor | INCLUIDO | gestor envia | | | - | | | para | AGUARDANDO | participante | ATIVO - | | | assinatura do TCR | ASSINATURA | assina o TCR | ---------------------+-------------------------------------------------------------------------------------------------------------- -~~~ - -~~~text -(PTR:TABELA_3) - Gestor da unidade executora e gestor imediato (para o participante, considerando sua atribuição) - -+ => Unidade superior -º => Lotação (do usuário do plano) -- => Exceto o próprio participante -CF => Chefe -CS => Chefe Sub. - - +---------------------------------------------------+-----------------------------------------------------+--------------- - Unidade Executora | Unidade de Lotação | Participante - +---------------+------------------+----------------+---------------+--------------------+----------------+ Sem - Chefe titular | Chefe substituto | Chefe delagado | Chefe titular | Chefe substituto | Chefe delagado | Chefia ------------------+---------------+------------------+----------------+---------------+--------------------+----------------+--------------- -gestor executora | CF+,CS+ | CF+,CS+,CF,CS- | CF,CS | | | | CF,CS ------------------+---------------+------------------+----------------+---------------+--------------------+----------------+--------------- -gestor imediato | | | | CFº+,CSº+ | CFº+,CSº+,CFº,CSº- | CFº,CSº | CFº,CSº ------------------+---------------+------------------+----------------+---------------+--------------------+----------------+--------------- -~~~ - -Ação: ALTERAR -> não muda o status do plano se ele estiver com o status 'INCLUIDO' ou 'AGUARDANDO_ASSINATURA', mas retorna ao status 'AGUARDANDO_ASSINATURA' se ele estiver no status 'ATIVO'; - -- (RN_PTR_M) Condições para que um Plano de Trabalho possa ser alterado: - - o usuário logado precisa possuir a capacidade "MOD_PTR_EDT", o Plano de Trabalho precisa ser válido (ou seja, nem deletado, nem arquivado, nem estar no status CANCELADO), e: - - estando com o status 'INCLUIDO' ou 'AGUARDANDO_ASSINATURA', o usuário logado precisa atender os critérios da ação Alterar da TABELA_1; - - estando com o status 'ATIVO', o usuário precisa possuir a capacidade MOD_PTR_EDT_ATV e atender os critérios da ação Alterar da TABELA_1; - - Após alterado, e no caso se exija assinaturas no TCR, o Plano de Trabalho precisa ser repactuado (novo TCR), e o plano retorna ao status 'AGUARDANDO_ASSINATURA'; - - A alteração não pode apresentar período conflitante com outro plano já existente para a mesma Unidade Executora e mesmo participante, ou o usuário logado possuir a capacidade MOD_PTR_INTSC_DATA (RN_PTR_AA) - -Ação: ARQUIVAR -> não muda o status do plano ('CONCLUIDO', 'CANCELADO'); - -- (RN_PTR_N) Condições para que um Plano de Trabalho possa ser arquivado: - - o plano precisa estar com o status CONCLUIDO ou CANCELADO, não ter sido arquivado, e: - - o usuário logado precisa ser o participante ou o gestor da Unidade Executora; - -Ação: ASSINAR -> pode manter-se em AGUARDANDO_ASSINATURA ou ir para ATIVO - -- (RN_PTR_O) Condições para que um Plano de Trabalho possa ser assinado: - - estar no status INCLUIDO ou AGUARDANDO_ASSINATURA, e - - o plano precisa possuir ao menos uma entrega, e - - o usuário logado precisa atender os critérios da ação Assinar da TABELA_1, e - - a assinatura do usuário logado precisa ser uma das exigidas pelo Programa de Gestão, respeitando a TABELA_3, e ele não ter ainda assinado; - - Enquanto faltar assinatura no TCR, o plano vai para o (ou permanece no) status de 'AGUARDANDO_ASSINATURA'. Quando o último assinar o TCR, o plano vai para o status 'ATIVO'; - -Ação: ATIVAR -> o plano vai para o status 'ATIVO'; - -- (RN_PTR_P) Condições para que um Plano de Trabalho possa ser ativado: - - o plano precisa estar no status 'INCLUIDO', e - - o usuário logado precisa respeitar a ação Ativar da TABELA_1, e - - nenhuma assinatura no TCR ser exigida pelo programa, e - - o plano de trabalho precisa ter ao menos uma entrega; - -Ação: CANCELAR ASSINATURA -> o plano permanece no status 'AGUARDANDO_ASSINATURA' ou retorna ao status 'INCLUIDO'; - -- (RN_PTR_Q) Condições para que um Plano de Trabalho possa ter uma assinatura cancelada: - - o plano precisa estar no status 'AGUARDANDO_ASSINATURA'; e - - o usuário logado precisa já ter assinado o TCR; - - Após o cancelamento da assinatura do usuário logado, se existir assinatura(s) de outro(s) usuário(s), o plano permanece no status 'AGUARDANDO_ASSINATURA'. Caso contrário, retrocessará para o status 'INCLUIDO'; - -Ação: CANCELAR PLANO -> o plano adquire o status de 'CANCELADO'; - -- (RN_PTR_R) Condições para que um Plano de Trabalho possa ser cancelado: - - o usuário logado precisa possuir a capacidade "MOD_PTR_CNC", e - - o plano precisa estar em um dos seguintes status: INCLUIDO, AGUARDANDO_ASSINATURA, ATIVO; e - - não possuir nenhuma atividade lançada e não possuir nenhuma consolidação CONCLUIDO/AVALIADO; [RN_PTR_K] - - o usuário logado precisa ser gestor da Unidade Executora; - -Ação: CONSULTAR -> não muda o status do plano; - -- (RN_PTR_S) Condições para que um Plano de Trabalho possa ser consultado: - - todos os participantes podem visualizar todos os planos de trabalho, desde que possuam a capacidade "MOD_PTR"; - -Ação: DESARQUIVAR -> o plano retorna ao status que estava quando foi arquivado ('CONCLUIDO'); - -- (RN_PTR_T) Condições para que um Plano de Trabalho possa ser desarquivado: - - o plano precisa estar arquivado, e: - - o usuário logado precisa ser o participante ou gestor da Unidade Executora; - -Ação: ENVIAR PARA ASSINATURA -> o plano vai para o status 'AGUARDANDO_ASSINATURA'; - -- (RN_PTR_U) Condições para que um Plano de Trabalho possa ser enviado para assinatura: - - o plano precisa estar com o status INCLUIDO; e - - o usuário logado precisa atender os critérios da ação Assinar da TABELA_1, e - - a assinatura do usuário logado não ser exigida, e caso seja, então ele já deve ter assinado o TCR (salvaguarda); e - - devem existir assinaturas exigíveis ainda pendentes; e - - o plano precisa possuir ao menos uma entrega. - -Ação: INSERIR/INCLUIR -> o plano adquire o status de 'INCLUIDO'; - -- (RN_PTR_V) Condições para que um Plano de Trabalho possa ser criado: - - o usuário logado precisa possuir a capacidade "MOD_PTR_INCL", e: - - o usuário logado precisa ser um participante do Programa, habilitado, ou atender aos critérios da TABELA_1; [RN_PTR_B]; e - - o participante do plano precisa ser LOTADO/COLABORADOR na unidade do plano, ou este deve possuir a capacidade MOD_PTR_USERS_INCL [RN_PTR_Y]; e - - o novo Plano de Trabalho não pode apresentar período conflitante com outro plano já existente para a mesma Unidade Executora e mesmo participante, ou o usuário logado possuir a capacidade MOD_PTR_INTSC_DATA [RN_PTR_AA] - -Ação: REATIVAR -> o plano adquire novamente o status de 'ATIVO'; - -- (RN_PTR_W) Condições para que um Plano de Trabalho possa ser reativado: - - o plano precisa estar com o status SUSPENSO, e - - o usuário logado precisa ser gestor da Unidade Executora; - -Ação: SUSPENDER -> o plano adquire o status de 'SUSPENSO'; - -- (RN_PTR_X) Condições para que um Plano de Trabalho possa ser suspenso: - - o plano precisa estar com o status ATIVO, e - - o usuário logado precisa ser gestor da Unidade Executora; - -## BOTÕES - -- 'Alterar'. Condições para ser exibido: vide RN_PTR_M; -- 'Arquivar'. Condições para ser exibido: vide RN_PTR_N; -- 'Assinar'. Condições para ser exibido: vide RN_PTR_O; -- 'Ativar'. Condições para ser exibido: vide RN_PTR_P; -- 'Cancelar assinatura'. Condições para ser exibido: vide RN_PTR_Q; -- 'Cancelar plano'. Condições para ser exibido: vide RN_PTR_R; -- 'Consultar'. Condições para ser exibido: vide RN_PTR_S; -- 'Desarquivar'. Condições para ser exibido: vide RN_PTR_T; -- 'Enviar para assinatura'. Condições para ser exibido: vide RN_PTR_U; -- 'Incluir'. Condições para ser exibido: vide RN_PTR_V; -- 'Reativar'. Condições para ser exibido: vide RN_PTR_W; -- 'Suspender'. Condições para ser exibido: vide RN_PTR_X; - -## REGRAS DE INTERFACE - -~~~text -- Estando no status "INCLUIDO" - - botões-padrão: - - 'Assinar'. Condições para ser exibido: vide RN_PTR_O; (quando for exigida apenas a assinatura do usuário logado no TCR) - - 'Ativar'. Condições para ser exibido: vide RN_PTR_P; (quando não for exigida nenhuma assinatura no TCR) - - 'Enviar para Assinatura'. Condições para ser exibido: vide RN_PTR_U; - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - botões opcionais: - - 'Alterar'. Condições para ser exibido: vide RN_PTR_M; - - 'Assinar'. Condições para ser exibido: vide RN_PTR_O; - - 'Ativar'. Condições para ser exibido: vide RN_PTR_P; - - 'Cancelar plano'. Condições para ser exibido: vide RN_PTR_R; - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - 'Enviar para assinatura'. Condições para ser exibido: vide RN_PTR_U; - -- Estando no status "AGUARDANDO_ASSINATURA" - - botões-padrão: - - 'Assinar'. Condições para ser exibido: vide RN_PTR_O; - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - botões opcionais: - - 'Alterar'. Condições para ser exibido: vide RN_PTR_M; - - 'Assinar'. Condições para ser exibido: vide RN_PTR_O; - - 'Cancelar assinatura'. Condições para ser exibido: vide RN_PTR_Q; - - 'Cancelar plano'. Condições para ser exibido: vide RN_PTR_R; - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - -- Estando no status "ATIVO" - - botões-padrão: - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - botões opcionais: - - 'Alterar'. Condições para ser exibido: vide RN_PTR_M; - - 'Cancelar plano'. Condições para ser exibido: vide RN_PTR_R; - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - 'Suspender'. Condições para ser exibido: vide RN_PTR_X; - -- Estando no status "CONCLUIDO" - - botões-padrão: - - 'Arquivar'. Condições para ser exibido: vide RN_PTR_N; - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - botões opcionais: - - 'Arquivar'. Condições para ser exibido: vide RN_PTR_N; - - 'Cancelar plano'. Condições para ser exibido: vide RN_PTR_R; - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - -- Estando no status "SUSPENSO" - - botões-padrão: - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - botões opcionais: - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - 'Reativar'. Condições para ser exibido: vide RN_PTR_W; - -- Estando no status "CANCELADO" - - botões-padrão: - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - botões opcionais: - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - -- Estando na condição de "ARQUIVADO" - - botões-padrão: - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - botões opcionais: - - 'Consultar'. Condições para ser exibido: vide RN_PTR_S; - - 'Desarquivar'. Condições para ser exibido: vide RN_PTR_T; -~~~ - -- No formulário de inclusão/edição de um Plano de Trabalho: - - (RI_PTR_A) se o usuário logado não for gestor da Unidade Executora, o inputSearch de usuário já vem preenchido com o seu nome e permanece bloqueado; - - (RI_PTR_B) os input-search de unidade, programa e usuario devem ficar desabilitados nas edições e habilitado apenas nas inclusões; - - (RI_PTR_C) Garante que, se não houver um interesse específico na data de arquivamento, só retornarão os planos de trabalho não arquivados. - - (RI_PTR_C) Data final do plano deve ser inicializada vazio para obrigar o usuário a preencher, e validar para que não seja menor que a data inicial. - -## REGRAS DE NEGÓCIO APLICADAS ÀS ENTREGAS DO PLANO DE TRABALHO - -(RN_PTR_ENT_) A distribuição dos percentuais de carga horária do participante deve atender a três categorias de atividades: aquelas vinculadas a entregas do Plano de Trabalho da unidade, aquelas não vinculadas a entregas mas que são do interesse da sua unidade organizacional, e por fim aquelas vinculadas a entregas de um Plano de Trabalho de outra unidade organizacional. -(RN_PTR_ENT_) As entregas de um Plano de Trabalho só podem ser vinculadas a entregas de Planos de Entregas homologados (vide RN_PTR_G) -(RN_PTR_ENT_) Toda atividade deve gerar uma entrega/resultado; - -## PENDENCIAS - -- Na regra RN_PTR_G verificar o que fazer com as entregas do plano de trabalho quando for excluída uma entrega do plano de entrega -- Na regra RN_PTR_J informar a quem e o que! Presa-se definir as notificações que serão enviadas, inclusive as obrigatórias da IN - -## IMPLEMENTAÇÃO DAS REGRAS - -``` -Regra Back-End Front-End --------------------------------------------- -RN_PTR_A Implementado Não aplicável -RN_PTR_B Implementado Não aplicável -RN_PTR_C Implementado Não aplicável -RN_PTR_D Implementado Não aplicável -RN_PTR_E Implementado Implementado -RN_PTR_F Não aplicável Não aplicável -RN_PTR_G Não aplicável Implementado -RN_PTR_H Implementado Não aplicável -RN_PTR_I Implementado Implementado -RN_PTR_J Pendente Não aplicável -RN_PTR_K Implementado Implementado -RN_PTR_L Implementado Não aplicável -RN_PTR_M Implementado Implementado -RN_PTR_N Implementado Implementado -RN_PTR_O Implementado Implementado -RN_PTR_P Implementado Implementado -RN_PTR_Q Implementado Implementado -RN_PTR_R Implementado Implementado -RN_PTR_S Implementado Implementado -RN_PTR_T Implementado Implementado -RN_PTR_U Implementado Implementado -RN_PTR_V Implementado Parcialmente (Impossível implementar completamente devido a necessidade de se conhecer a unidade e o período) -RN_PTR_W Implementado Implementado -RN_PTR_X Implementado Implementado -RN_PTR_Y Implementado Não aplicável -RN_PTR_AA Implementado Não aplicável -RN_PTR_AB Implementado Implementado -RN_PTR_AC Implementado Não aplicável -RN_PTR_AD Implementado Implementado -RN_PTR_AE Implementado Implementado - -``` \ No newline at end of file diff --git a/resources/documentacao/gestao/plano_trabalho.pdf b/resources/documentacao/gestao/plano_trabalho.pdf deleted file mode 100644 index 1031e5d1e..000000000 Binary files a/resources/documentacao/gestao/plano_trabalho.pdf and /dev/null differ diff --git a/resources/documentacao/gestao/plano_trabalho_consolidacao.md b/resources/documentacao/gestao/plano_trabalho_consolidacao.md deleted file mode 100644 index c97d22e9c..000000000 --- a/resources/documentacao/gestao/plano_trabalho_consolidacao.md +++ /dev/null @@ -1,55 +0,0 @@ -# Módulo: Consolidações do Plano de Trabalho - -## Acessos - -~~~text - MOD_PTR_CSLD - Módulo de consolidações do Plano de Trabalho - MOD_PTR_CSLD_EDT - Permite editar a consolidação do planos de trabalho - MOD_PTR_CSLD_EXCL - Permite excluir a consolidação do planos de trabalho - MOD_PTR_CSLD_INCL - Permite incluir a consolidação do planos de trabalho - MOD_PTR_CSLD_CONCL - Permite a conclusão da consolidação do planos de trabalho - MOD_PTR_CSLD_DES_CONCL - Permite desfazer conclusão da consolidação do planos de trabalho -~~~ - -## REGRAS DE NEGÓCIO APLICADAS AS CONSOLIDAÇÕES - -1. (RN_CSLD_1) Após criado ou alterado um plano de trabalho, os períodos de consolidação são automaticamente gerados ou recriados com base na periodicidade configurada no programa; -2. (RN_CSLD_2) O plano de trabalho somente poderá ser alterado: se a nova data de início não for superior a algum perído já CONCLUIDO ou AVALIADO, ou até o limite da primeira ~~ocorrência~~ ~~ou~~ atividade já lançados; e se a nova data de fim não for inferior a algum perído já CONCLUIDO ou AVALIADO, ou até o limite da última ~~ocorrência~~ ~~ou~~ atividade já lançados; -3. Caso o plano seja alterado: - 1. (~~RN_CSLD_3~~) (REVOGADO) Caso exista uma ocorrência que faça interseção no período e tenha data_fim maior que a calculada, a data_fim do período irá crescer; - 2. (RN_CSLD_4) Caso exista períodos iguais, o período existente será mantido (para este perído nada será feito, manterá a mesma ID); - 3. Se houver intersecção do período gerado com um existente que esteja com status CONCLUIDO ou AVALIADO: - 1. (RN_CSLD_5) Se as datas de início forem iguais o periodo existente será mantido; - 2. (RN_CSLD_6) Se as datas de início forem diferente, então será criado um novo perído entre o novo início e o início do período CONCLUIDO/AVALIADO, e o período CONCLUIDO/AVALIADO será mantido. - 4. (~~RN_CSLD_7~~) (REVOGADO) Ocorrências e Atividades devem ser transferiadas para os novos perídos. -4. (RN_CSLD_8) Após a data fim, e passado-se os dias determinado na Tolerância determinada no programa para lançamento da consolidação, o sistema automaticamente irá alterar o status de INCLUIDO para CONCLUIDO; -5. (RN_CSLD_9) Se uma atividade for iniciada em uma outra consolidação anterior (CONCLUIDO ou AVALIADO), não poderá mais retroceder nem editar o inicio (Exemplo.: Retroceder de INICIADO para INCLUIDO, ou de CONCLUIDO para INICIADO); -6. (RN_CSLD_10) A atividade já iniciado so não pode pausar com data retroativa da última consolidação CONCLUIDO ou AVALIADO; -7. (RN_CSLD_11) Não pode concluir a consolidação antes que a anterior não esteja concluida, e não pode retornar status da consolidação se a posterior estiver a frente (em status); -8. (RN_CSLD_12) Tarefas concluidas de atividades em consolidação CONCLUIDO ou AVALIADO não poderão mais ser alteradas/excluidas, nem Remover conclusão; -9. (RN_CSLD_13) Tarefas de atividades em consolidação CONCLUIDO ou AVALIADO não poderão mais ser alteradas/excluidas, somente a opção de Concluir ficará disponível; -10. (RN_CSLD_14) Não será possível lançar novas atividades em períodos já CONCLUIDO ou AVALIADO. -11. (RN_CSLD_15) Será considerado apenas as ocorrências (que tenha intersecção do período da consolidação) cujo plano de trabalho seja o mesmo da consolidação ou caso o plano de trabalho esteja em branco. (ocorrência não vinculada a plano de trabalho) -12. (RN_CSLD_16) A avaliação somente poderá ser realizado caso não exista período anterior ou o período anterior esteja AVALIADO, e respeitando os critérios da tabela [PTR:TABELA_1] - -## REGRAS DE INTERFACE - -1. (RI_CSLD_1) Após a data fim da consolidação, e estando dentro da Tolerância determinada no programa para lançamento da consolidação, o sistema deve avisar ao usuário no grid quantos dias restam para ele lançar as consolidações; -2. (RI_CSLD_2) Apenas será expansível (mostrando os períodos de consolidação) os planos de trabalho que não estiverem com status de "INCLUIDO"; -3. (RI_CSLD_3) Apenas será permitido realizar lançamentos para planos de trabalho "ATIVO"; -4. (RI_CSLD_4) Apenas será permitido realizar lançamentos para periodos de consolidação com status de "INCLUIDO"; -5. (RI_CSLD_5) Ao concluir a consolidação deixar somente o botão de consultar nas atividades. - -## FLUXO DOS PLANOS DE TRABALHO - -~~~text -* Inicia sempre no status INCLUIDO - - O usuário poderá lançar suas atividades; ocorrências; afastamentos, e então informar que os lançamentos foram concluídos alterando o status para CONCLUIDO - - Após passado a data fim mais a tolerância definida no programa, o status irá automaticamente para CONCLUIDO -* Entrando no status CONCLUIDO - - O usuário que tiver o acesso ao MOD_PTR_CSLD_DES_CONCL poderá retornar para o status de INCLUIDO, independente de extrapolado a tolerância, mas neste caso o sistema irá retornar para CONCLUIDO novamente já na próxima execução das RotinasDiarias (Provavelmente agendado para às 0h do dia seguinte) - - O Chefe do setor ou que tenha atribuição para avaliar planos na unidade poderá realizar a avaliação, e o status irá para AVALIADO -* Entrando no status AVALIADO - - Somente quem tem prerrogativas para avaliar, poderá retornar para o status de CONCLUIDO -~~~ - diff --git a/resources/documentacao/gestao/programa.md b/resources/documentacao/gestao/programa.md deleted file mode 100644 index 682737bf8..000000000 --- a/resources/documentacao/gestao/programa.md +++ /dev/null @@ -1,21 +0,0 @@ -# MÓDULO: Programas de gestão/Regramentos De Instituição do Pgd - -## CAPACIDADES - -~~~text - MOD_PRGT_EDT = Permite editar programas de gestão - MOD_PRGT_EXCL = Permite excluir programas de gestão - MOD_PRGT_INCL Permite incluir programas de gestão - MOD_PRGT_EXT = Permite visualizar todos os programas, independente da hierarquia de unidades -~~~ - -## REGRAS DE NEGÓCIO APLICADAS - -1. (RN_PRGT_1) Regra de Visualização de Programas - -### Objetivo -Garantir que apenas os programas associados à **primeira unidade instituidora identificada** sejam exibidos na listagem padrão. -### Detalhes - -- **Listagem Padrão:** Usuários visualizarão apenas os programas vinculados à primeira unidade instituidora encontrada. Isso visa a uma apresentação organizada e evita a sobrecarga de informações. -- **Exceção de Acesso:** Acesso ampliado para visualizar todos os programas é concedido aos usuários com a permissão `MOD_PRGT_EXT`. Destinado a perfis que necessitam de uma visão completa para gestão ou análise detalhada. diff --git a/resources/documentacao/gestao/projeto.md b/resources/documentacao/gestao/projeto.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/documentacao/imagens/fluxo_planos_entregas.jpg b/resources/documentacao/imagens/fluxo_planos_entregas.jpg deleted file mode 100644 index fefc34857..000000000 Binary files a/resources/documentacao/imagens/fluxo_planos_entregas.jpg and /dev/null differ diff --git a/resources/documentacao/imagens/fluxos_planos_trabalhos.jpeg b/resources/documentacao/imagens/fluxos_planos_trabalhos.jpeg deleted file mode 100644 index 71dfeb282..000000000 Binary files a/resources/documentacao/imagens/fluxos_planos_trabalhos.jpeg and /dev/null differ diff --git a/resources/documentacao/manual.md b/resources/documentacao/manual.md deleted file mode 100644 index 0afe14cdf..000000000 --- a/resources/documentacao/manual.md +++ /dev/null @@ -1,33 +0,0 @@ -# Petrvs - -## Visão geral do sistema - -- Planejamento Institucional - - Objetivos -- Cadeia de Valor - - Processos -- Programa - - Plano de Entregas - - Entregas - - Plano de Trabalho - - Atividades - - Tarefas -- Projetos - -## Módulos - -* [Planejamento Institucional](docs/gestao/planejamento_institucional.md) -* [Plano de Entrega](docs/gestao/plano_entrega.md) -* [Plano de Trabalho](docs/gestao/plano_trabalho.md) - -## Regra geral do sistema - -1) O usuário deve possuir no mínimo uma lotação para poder utilizar o sistema - -## Passo-a-passo para a instalação da versão 2.0 nas máquinas dos desenvolvedores - -1. criar o banco, com o comando: php artisan make:database -2. executar as migrations para o banco central, com o comando: php artisan migrate -3. levantar a aplicação, com o comando: npm start -4. fazer a chamada ao painel e criar a entidade, através da URL: localhost:4200/#/panel -5. rodar as primeiras seeds, com o comando: php artisan tenant:seed --class=DatabaseSeeder \ No newline at end of file diff --git a/resources/documentacao/menus.md b/resources/documentacao/menus.md deleted file mode 100644 index 66d80c61e..000000000 --- a/resources/documentacao/menus.md +++ /dev/null @@ -1,126 +0,0 @@ -# Menus - -## Menu Contexto - - Menu - * Sub Menu - -## Participante - - Planos de Trabalho - - Atividades - - Consolidações - - Afastamentos - -## Gestor - - Planejamento - * Cadeias de Valores - * Planejamentos Institucionais - * Planos de Entregas - * Planos de Trabalho - * Programas de Gestãp - - - Execução - * Atividades - * Afastamentos - * Planos de Entregas - * Consolidações - - - Avaliação - * Consolidações (Plano de Trabalho) - * Plano de Entregas - - - Gerenciamento - * Entidades - * Unidades - * Usuários - * Perfis - - - Cadastros - * Eixos Temáticos - * Entregas - * Tipos de Avaliação - * Tipos de Atividade - * Tipos de Justificativa - * Tipos de Modalidade - * Tipos de Motivo de Afastamento - * Tipos de Tarefa - -## Administrador - - Cadastros - * Afastamentos - * Cidades - * Eixos Temáticos - * Entregas - * Feriados - * Materiais e Serviços - * Templates - * Tipos de Atividade - * Tipos de Avaliação - * Tipos de Documento - * Tipos de Justificativa - * Tipos de Modalidade - * Tipos de Motivo de Afastamento - * Tipos de Processo - * Tipos de Tarefa - - - Gerenciamento - * Entidades - * Unidades - * Usuários - * Perfis - -## Desenvolvedor - - Manutenção - * Rotina de Integração - * Painel - - - Logs e Auditoria - * Log das Alterações - * Log dos Erros - * Log do Tráfego - - - Testes - * Teste Expediente - * Teste calculaDataTempo - - -## Ponto Eletrônico - -## Projetos - - Cadastros - * Materiais e Serviços - - - Gerencial - * Unidades - * Usuarios - - - Projetos - -## Raio X - - Cadastros - * Dados Pessoais - * Dados Profissionais - * Atributos Comportamentais - - - Oportunidades - * Oportunidades - - - Pesquisas - * Usuário - * Administrador - - - Questionários Dinâmicos - * Perguntas - * Respostas - - - Cadastros Gerais - * Áreas de Conhecimento - * Tipos de Cursos - * Cursos - * Matérias - * Centros de Treinamentos - * Cargos - * Funções - * Atividades Externas - * Áreas Temáticas - * Capacidades Técnicas - * Oportunidades diff --git a/resources/documentacao/modulo_sei/modulo_sei.md b/resources/documentacao/modulo_sei/modulo_sei.md deleted file mode 100644 index 1b90e51ab..000000000 --- a/resources/documentacao/modulo_sei/modulo_sei.md +++ /dev/null @@ -1,70 +0,0 @@ -# Integração do PETRVS com o SEI - -## Instalação -O conteúdo do diretório "sei-module" (Disponibilizado no pacote do sistema) deverá ser colocado dentro do diretório: -´´´ -[SEI_PATH]\src\sei\web\modulos\multiagencia\petrvs -´´´ -Descomentar, ou adicionar caso não exista, a referencia ao módulo Petrvs na lista de módulo (ConfiguracaoSEI > getArrConfiguracoes > SEI > Modulos) a serem carregados no arquivo de configuração do Sei (SEI_PATH\src\sei\config\ConfiguracaoSEI.php): -´´´ -'Modulos' => array( - 'MultiagenciaPetrvsIntegracao' => 'multiagencia/petrvs', -´´´ - -## Configuração -Toda configuração do módulo é feita em três partes: - -### Configuração no painel SaaS do Petrvs -Ao entrar no formulário de edição da entidade no painel SaaS, existe a aba "Módulo SEI". É necessário habilitar o módulo e gerar as chaves de comunicação. -A requisição de autenticação realizada no SEI irá enviar uma informação criptografada (utilizando a chave pública) para o endpoint do Petrvs (que irá descriptografas com a chave privada). -Deste modo o sigilo dessas chaves são fundamentais. Ao clicar no botão "Gerar", o Petrvs automaticamente gera um par dessas chaves, mas o usuário tem a opção de gerar um par manualmente utilizando -outro programa, como o OpenSSL por exemplo. Será necessário ainda copiar a chave pública para configurar no SEI (utilize o botão "Copiar"). - -### Configuração no SIP - -Inicialmente é necessário acessar o sistema SIP (com usuário que tenha privilégios) e incluir um novo recurso. Para isso acesse (Recursos > Novo Recurso), então preencha com os dados abaixo: -´´´ -Sistema: SEI -Nome: md_multiagencia_petrvs -Descrição: PETRVS - Plataforma Eletrônica de Trabalho e Visão Sistêmica -Caminho: controlador.php?acao=md_multiagencia_petrvs -´´´ -Ainda no SIP, será necessário adicionar um perfil (Perfis > Novo) com os seguintes dados: -´´´ -Sistema: SEI -Nome: MD_MULTIAGENCIA_PETRVS -Descrição: Perfil responsável por permitir o carregamento do módulo PETRVS -´´´ -Após a inclusão do perfil será necessário incluir o recurso no perfil, para isso clique em "Montar Perfil" (ícone "M" no grid dos perfis). Digite "md_multiagencia_petrvs" em Recurso e mande pesquisar, ao aparecer o recurso (que haviamos cadastrado a pouco), marque o checkbox e clique em Salvar. -Após isso deverá ser adicionado o perfil MD_MULTIAGENCIA_PETRVS aos usuários que deverão fazer uso do sistema. - -### Configuração no SEI - -Ao acessar o SEI (com usuário que tenha privilégios), será necessário cadastrar os parametros para o funcionamento do módulo (Infra > Parametros). Inclua os seguntes parametros: -´´´ -Nome: MD_MULTIAGENCIA_PETRVS_API_PUBLIC_KEY -Valor: {Colocar aqui o copiado do painel SaaS do Petrvs (chave pública)} - -Nome: MD_MULTIAGENCIA_PETRVS_ENTIDADE -Valor: {Por aqui a SIGLA do orgão cadastrada no painel SaaS} - -Nome: MD_MULTIAGENCIA_PETRVS_URL -Valor: {Por aqui o DOMÍNIO do orgão cadastrada no painel SaaS, incluindo o "https://", a porta apenas caso diferente de 80 ou 443, e sem a barra "/" no final. Representa o acesso ao front-end do Petrvs} - -Nome: MD_MULTIAGENCIA_PETRVS_URL_B2B_API -Valor: {Por aqui o endereço do endpoint (API) do Petrvs para o orgão cadastrada no painel SaaS, incluindo o "https://", a porta apenas caso diferente de 80 ou 443, e sem a barra "/" no final. Representa o back-end do Petrvs. Na ausência desse parâmetro o MD_MULTIAGENCIA_PETRVS_URL será utilizado em seu lugar. Esse parâmetro é útil quando a comunicação B2B SERVIDOR-SEI <-> SERVIDOR-PETRVS utilizar uma rota diferente (Ex.: http://localhost)} - -Nome: MD_MULTIAGENCIA_PETRVS_BACKEND -Valor: {Por aqui o endereço do endpoint (API) do Petrvs. Parâmetro opicional, utilizado somente se o back-end for servido por endereço diferente do front-end. Difere do MD_MULTIAGENCIA_PETRVS_URL_B2B_API pois nesse caso a requisição será feita pelo borwser através do front-end ao invés de ser uma comunicação B2B} - -´´´ -Um Exemplo dessa configuração é visto abaixo para o ambiente local (onde está sendo executado uma instância docker do Sei e outra instância docker como Petrvs em modo desenvolvimento): -´´´ -MD_MULTIAGENCIA_PETRVS_API_PUBLIC_KEY: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApTdtPJYz7Do... - -MD_MULTIAGENCIA_PETRVS_ENTIDADE: PRF - -MD_MULTIAGENCIA_PETRVS_URL: http://localhost - -MD_MULTIAGENCIA_PETRVS_URL_B2B_API: http://host.docker.internal -´´´ \ No newline at end of file diff --git "a/resources/documentos/20230110_IN_PGD_p\303\263s_revoga\303\247\303\243o .docx" "b/resources/documentos/20230110_IN_PGD_p\303\263s_revoga\303\247\303\243o .docx" deleted file mode 100644 index a89b4ac8a..000000000 Binary files "a/resources/documentos/20230110_IN_PGD_p\303\263s_revoga\303\247\303\243o .docx" and /dev/null differ diff --git a/resources/documentos/APF_PETRUS_Estimada.xlsx b/resources/documentos/APF_PETRUS_Estimada.xlsx deleted file mode 100644 index e16a3284c..000000000 Binary files a/resources/documentos/APF_PETRUS_Estimada.xlsx and /dev/null differ diff --git "a/resources/documentos/IN PGD -27-06 - Vers\303\243o Minuta (2).docx" "b/resources/documentos/IN PGD -27-06 - Vers\303\243o Minuta (2).docx" deleted file mode 100644 index 511f0caa6..000000000 Binary files "a/resources/documentos/IN PGD -27-06 - Vers\303\243o Minuta (2).docx" and /dev/null differ diff --git "a/resources/documentos/IN_PGD_p\303\263s_revoga\303\247\303\243o.pdf" "b/resources/documentos/IN_PGD_p\303\263s_revoga\303\247\303\243o.pdf" deleted file mode 100644 index e8439384b..000000000 Binary files "a/resources/documentos/IN_PGD_p\303\263s_revoga\303\247\303\243o.pdf" and /dev/null differ diff --git "a/resources/documentos/Integracao_SIAPE/Formul\303\241rio_Acesso_Webservice_-_N\303\255vel_\303\223rg\303\243o_-_v2.docx" "b/resources/documentos/Integracao_SIAPE/Formul\303\241rio_Acesso_Webservice_-_N\303\255vel_\303\223rg\303\243o_-_v2.docx" deleted file mode 100644 index e46231998..000000000 Binary files "a/resources/documentos/Integracao_SIAPE/Formul\303\241rio_Acesso_Webservice_-_N\303\255vel_\303\223rg\303\243o_-_v2.docx" and /dev/null differ diff --git a/resources/documentos/Integracao_SIAPE/ME - Manual_ws_siape_consultas_3.2.pdf b/resources/documentos/Integracao_SIAPE/ME - Manual_ws_siape_consultas_3.2.pdf deleted file mode 100644 index 9bda25a73..000000000 Binary files a/resources/documentos/Integracao_SIAPE/ME - Manual_ws_siape_consultas_3.2.pdf and /dev/null differ diff --git "a/resources/documentos/Integracao_SIAPE/PETRVS_PGD_2.0_-_INTEGRA\303\207\303\203O_COM_SIAPE.pdf" "b/resources/documentos/Integracao_SIAPE/PETRVS_PGD_2.0_-_INTEGRA\303\207\303\203O_COM_SIAPE.pdf" deleted file mode 100644 index 21d1d532e..000000000 Binary files "a/resources/documentos/Integracao_SIAPE/PETRVS_PGD_2.0_-_INTEGRA\303\207\303\203O_COM_SIAPE.pdf" and /dev/null differ diff --git "a/resources/documentos/Integracao_SIAPE/Solicita\303\247\303\243o_de_Ades\303\243o_ao_Conecta_-_v5.docx" "b/resources/documentos/Integracao_SIAPE/Solicita\303\247\303\243o_de_Ades\303\243o_ao_Conecta_-_v5.docx" deleted file mode 100644 index 4cf35b934..000000000 Binary files "a/resources/documentos/Integracao_SIAPE/Solicita\303\247\303\243o_de_Ades\303\243o_ao_Conecta_-_v5.docx" and /dev/null differ diff --git a/resources/documentos/Modulo_SUPER-BR/3 - SEI-Modulos-v4.0.pdf b/resources/documentos/Modulo_SUPER-BR/3 - SEI-Modulos-v4.0.pdf deleted file mode 100644 index 5cc4c4e9a..000000000 Binary files a/resources/documentos/Modulo_SUPER-BR/3 - SEI-Modulos-v4.0.pdf and /dev/null differ diff --git a/resources/documentos/Modulo_SUPER-BR/4 - SEI-WebServices-v4.0.pdf b/resources/documentos/Modulo_SUPER-BR/4 - SEI-WebServices-v4.0.pdf deleted file mode 100644 index d95f2e057..000000000 Binary files a/resources/documentos/Modulo_SUPER-BR/4 - SEI-WebServices-v4.0.pdf and /dev/null differ diff --git a/resources/documentos/Modulo_SUPER-BR/SUPER_Manual_Desenvolvimento_de_Modulos-2.pdf b/resources/documentos/Modulo_SUPER-BR/SUPER_Manual_Desenvolvimento_de_Modulos-2.pdf deleted file mode 100644 index ea059cffe..000000000 Binary files a/resources/documentos/Modulo_SUPER-BR/SUPER_Manual_Desenvolvimento_de_Modulos-2.pdf and /dev/null differ diff --git a/resources/documentos/PETRVS.pdf b/resources/documentos/PETRVS.pdf deleted file mode 100644 index de6e08049..000000000 Binary files a/resources/documentos/PETRVS.pdf and /dev/null differ diff --git a/resources/documentos/Sistema PGD 2.0[1].docx b/resources/documentos/Sistema PGD 2.0[1].docx deleted file mode 100644 index 43ec53dc2..000000000 Binary files a/resources/documentos/Sistema PGD 2.0[1].docx and /dev/null differ diff --git a/resources/documentos/Tabela 1 - Plano de Entregas.png b/resources/documentos/Tabela 1 - Plano de Entregas.png deleted file mode 100644 index c518eaee0..000000000 Binary files a/resources/documentos/Tabela 1 - Plano de Entregas.png and /dev/null differ diff --git "a/resources/documentos/Termo de Adesa\314\203o - PGR.pdf" "b/resources/documentos/Termo de Adesa\314\203o - PGR.pdf" deleted file mode 100644 index 463031e7f..000000000 Binary files "a/resources/documentos/Termo de Adesa\314\203o - PGR.pdf" and /dev/null differ diff --git "a/resources/documentos/Termo de Ades\303\243o - PGR.pdf" "b/resources/documentos/Termo de Ades\303\243o - PGR.pdf" deleted file mode 100644 index 463031e7f..000000000 Binary files "a/resources/documentos/Termo de Ades\303\243o - PGR.pdf" and /dev/null differ diff --git a/resources/documentos/pe_2020_2023_-resol-13-indicadores_metas_estrategicos_v5.pdf b/resources/documentos/pe_2020_2023_-resol-13-indicadores_metas_estrategicos_v5.pdf deleted file mode 100644 index c7391292b..000000000 Binary files a/resources/documentos/pe_2020_2023_-resol-13-indicadores_metas_estrategicos_v5.pdf and /dev/null differ diff --git a/resources/documentos/revista-estrategia-2022-v1.pdf b/resources/documentos/revista-estrategia-2022-v1.pdf deleted file mode 100644 index ea9b7ffca..000000000 Binary files a/resources/documentos/revista-estrategia-2022-v1.pdf and /dev/null differ diff --git a/resources/scripts/Generate_certificate.txt b/resources/scripts/Generate_certificate.txt deleted file mode 100644 index 53d9681fa..000000000 --- a/resources/scripts/Generate_certificate.txt +++ /dev/null @@ -1,4 +0,0 @@ -openssl.exe req -x509 -newkey rsa:2048 -keyout server.key -out server.crt -days 1000 -nodes - -no crhome: -chrome://flags/#allow-insecure-localhost \ No newline at end of file diff --git a/resources/scripts/Script_Instalacao_Sv_Petrvs.txt b/resources/scripts/Script_Instalacao_Sv_Petrvs.txt deleted file mode 100644 index 40ba86766..000000000 --- a/resources/scripts/Script_Instalacao_Sv_Petrvs.txt +++ /dev/null @@ -1,94 +0,0 @@ -[Instalação do MySQL] - -sudo yum update -sudo wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm -sudo rpm -Uvh mysql80-community-release-el7-3.noarch.rpm -sudo yum install mysql-server -sudo systemctl start mysqld -[OPICIONAL] sudo systemctl status mysqld -cd /var/log -sudo chmod o+rwx mysql -cd mysql -sudo grep 'password' mysqld.log -cd .. -sudo chmod o-rwx mysql -[OBS.: Verificar se a senha foi gerada em branco, caso não, utilizar a senha gerada] -mysql -uroot -p -[OBS.: Dar ENTER para passar a senha em branco, ou colocar a senha anotada] -ALTER USER 'root'@'localhost' IDENTIFIED BY 'SENHA'; -CREATE DATABASE prfpetrvs; -CREATE USER 'prfpetrvs'@'localhost' IDENTIFIED BY 'SENHA'; -CREATE USER 'prfpetrvs'@'%' IDENTIFIED BY 'SENHA'; -GRANT ALL PRIVILEGES ON prfpetrvs.* TO 'prfpetrvs'@'localhost'; -GRANT ALL PRIVILEGES ON prfpetrvs.* TO 'prfpetrvs'@'%'; -CREATE USER 'bipetrvs'@'localhost' IDENTIFIED BY 'SENHA'; -CREATE USER 'bipetrvs'@'%' IDENTIFIED BY 'SENHA'; -GRANT SELECT, SHOW VIEW ON prfpetrvs.* TO 'bipetrvs'@'localhost'; -GRANT SELECT, SHOW VIEW ON prfpetrvs.* TO 'bipetrvs'@'%'; -exit - -[Instalação do Apache] - -sudo yum update httpd -sudo yum install httpd -sudo systemctl start httpd -[OPICIONAL] sudo systemctl status httpd -sudo setsebool -P httpd_can_network_connect 1 - -setenforce 0 - -[Instalação do PHP] - -sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm -[OPICIONAL] sudo dnf module list php -sudo dnf module enable php:remi-8.0 -y -sudo dnf install php php-cli php-common php-opcache php-gd php-curl php-mysql -==> ficou assim "sudo dnf install --skip-broken php php-cli php-common php-opcache php-gd php-curl php-mysql" -sudo yum install php-zip wget unzip - -[Instalação do Composer] - -php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" -[## sem PRIVILEGIOS] php composer-setup.php --install-dir=/usr/local/bin --filename=composer -sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer - -[Instalação do GIT] - -sudo yum install git -sudo git config --global http.sslVerify "false" - -[Comando adicionais] -cd /var/www -sudo git clone https://github.com/Petrvs-App/back-end.git -cd back-end -sudo php /usr/local/bin/composer install -cd /etc/httpd/conf -sudo vi httpd.conf -[configurar o arquivos com as linhas] { - DocumentRoot "/var/www/back-end/public" - Timeout 600 - - ... - AllowOverride All - Order allow,deny - allow from all - RewriteEngine on - RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) - RewriteRule .* – [F] -} -sudo systemctl restart httpd -cd /var/www/back-end -[copiar aquivo .env aqui] -php artisan migrate -php artisan db:seed -sudo chown -R apache:apache storage -sudo chmod -R g+w storage -sudo semanage fcontext -a -t httpd_sys_rw_content_t /var/www/back-end/storage -sudo restorecon -v /var/www/back-end/storage -chcon -Rv --type=httpd_sys_rw_content_t /var/www/back-end/storage - -[Alterar configuração no php.ini] -max_execution_time = 1800 -max_input_time = 1800 - diff --git a/resources/scripts/gerar_deploy_producacao.sh b/resources/scripts/gerar_deploy_producacao.sh deleted file mode 100644 index 1e7633747..000000000 --- a/resources/scripts/gerar_deploy_producacao.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -cp -R ../../back-end petrvs -cd petrvs - -rm -rf .env -rm -rf .env.dev.template -rm -rf README.md -rm -rf .vscode -rm -rf php_sh.bat -rm -rf petrvs_php.sh -rm -rf create_group_user.sh - -chmod -R 777 storage -cd .. -rm -rf petrvs.tgz -tar -zcf petrvs.tgz petrvs/ -rm -rf petrvs